added full cli package and CI execution
Python Code Quality / python-code-quality (push) Successful in 55s
Hourly Energy Data Sync / sync-energy-data (push) Successful in 17s

This commit is contained in:
Brian Bjarke Jensen
2025-10-27 19:07:25 +01:00
parent bcf02b5714
commit aa6ec36878
22 changed files with 4197 additions and 49 deletions
+55
View File
@@ -0,0 +1,55 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "energy-consumption-ingester"
version = "0.1.0"
description = "Energy consumption data ingester for Eloverblik API with PostgreSQL storage"
readme = "README.md"
requires-python = ">=3.12"
authors = [
{name = "Brian Bjarke Jensen", email = "[email protected]"},
]
keywords = ["energy", "consumption", "eloverblik", "postgresql", "data"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"pydantic>=2.12.3",
"psycopg2-binary>=2.9.0",
]
[dependency-groups]
dev = [
"ipykernel>=7.0.1",
"python-dotenv>=1.0.0",
"pytest>=7.0.0",
"black>=23.0.0",
"flake8>=6.0.0",
"mypy>=1.0.0",
"ruff>=0.14.2",
"pyupgrade>=3.21.0",
"types-psycopg2>=2.9.21.20251012",
"pre-commit>=4.3.0",
]
[project.scripts]
energy-ingester = "energy_consumption_ingester.cli:main"
[tool.hatch.build.targets.wheel]
packages = ["src/energy_consumption_ingester"]
[tool.black]
line-length = 88
target-version = ['py312']
[tool.mypy]
python_version = "3.12"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true