feat(agent): scaffold Python package for the accounting agent worker

This commit is contained in:
2026-08-23 16:41:18 -05:00
parent 9b36888b3a
commit 0284ab800a
5 changed files with 35 additions and 0 deletions
+4
View File
@@ -1,2 +1,6 @@
.env .env
*.log *.log
.venv/
__pycache__/
*.egg-info/
.pytest_cache/
+26
View File
@@ -0,0 +1,26 @@
[project]
name = "firefly-agent"
version = "0.1.0"
description = "Personal accounting agent worker for the Firefly III stack"
requires-python = ">=3.12"
dependencies = [
"apscheduler>=3.10,<4",
"httpx>=0.27",
"psycopg[binary]>=3.1",
]
[project.optional-dependencies]
dev = [
"pytest>=8",
"testcontainers[postgres]>=4",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/agent"]
[tool.pytest.ini_options]
testpaths = ["tests"]
+1
View File
@@ -0,0 +1 @@
__version__ = "0.1.0"
View File
+4
View File
@@ -0,0 +1,4 @@
def test_package_imports():
import agent
assert agent.__version__ == "0.1.0"