Skip to content

Commit

Permalink
refactored cfg.py, using dataclasses
Browse files Browse the repository at this point in the history
  • Loading branch information
Volker Lorrmann committed Oct 24, 2024
1 parent 178a69b commit 684e6eb
Show file tree
Hide file tree
Showing 6 changed files with 506 additions and 293 deletions.
1 change: 0 additions & 1 deletion .pdm-python

This file was deleted.

2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.12.2
3.12.5
75 changes: 38 additions & 37 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
[project]
authors = [{name = "Volker L.", email = "ligno.blades@gmail.com"}]
authors = [{ name = "Volker L.", email = "ligno.blades@gmail.com" }]
dependencies = [
"sf-hamilton[visualization]>=1.69.0",
"python-dotenv>=1.0.1",
"fsspec>=2024.5.0",
"pyyaml>=6.0.1",
"typer>=0.12.3",
"rich>=13.7.1",
"munch>=4.0.0",
"sf-hamilton-sdk>=0.5.2",
"dill>=0.3.8",
"sf-hamilton[visualization]>=1.69.0",
"python-dotenv>=1.0.1",
"fsspec>=2024.5.0",
"pyyaml>=6.0.1",
"typer>=0.12.3",
"rich>=13.7.1",
"munch>=4.0.0",
"sf-hamilton-sdk>=0.5.2",
"dill>=0.3.8",
]
description = "A simple workflow framework. Hamilton + APScheduler = FlowerPower"
keywords = [
"hamilton",
"workflow",
"pipeline",
"scheduler",
"apscheduler",
"dask",
"ray",
"hamilton",
"workflow",
"pipeline",
"scheduler",
"apscheduler",
"dask",
"ray",
]
name = "FlowerPower"
readme = "README.md"
Expand All @@ -36,11 +36,11 @@ mqtt = ["paho-mqtt>=2.1.0"]
ray = ["ray>=2.34.0"]
redis = ["redis>=5.0.4"]
scheduler = [
"aiosqlite>=0.20.0",
"greenlet>=3.0.3",
"asyncpg>=0.29.0",
"sqlalchemy>=2.0.30",
"apscheduler>=4.0.0a5", #"apscheduler @ git+https://github.com/agronholm/apscheduler",
"aiosqlite>=0.20.0",
"greenlet>=3.0.3",
"asyncpg>=0.29.0",
"sqlalchemy>=2.0.30",
"apscheduler>=4.0.0a5", #"apscheduler @ git+https://github.com/agronholm/apscheduler",
]
ui = ["sf-hamilton-ui>=0.0.11"]

Expand All @@ -50,14 +50,14 @@ requires = ["hatchling"]

[tool.rye]
dev-dependencies = [
"ipython>=8.24.0",
"isort>=5.13.2",
"pillow>=10.3.0",
"cloudpickle>=3.0.0",
"dill>=0.3.8",
"cbor2>=5.6.4",
"lxml>=5.3.0",
"msgspec>=0.18.6",
"ipython>=8.24.0",
"isort>=5.13.2",
"pillow>=10.3.0",
"cloudpickle>=3.0.0",
"dill>=0.3.8",
"cbor2>=5.6.4",
"lxml>=5.3.0",
"msgspec>=0.18.6",
]
#[tool.rye.scripts]
#flowerpower = {cmd = ["python", "-m", "flowerpower.cli"]}
Expand All @@ -69,13 +69,14 @@ allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/flowerpower"]


[tool.hatch.build.targets.sdist]
exclude = [
"tests",
"docs",
"examples",
"src/flowerpower.egg-info",
"src/flowerpower/__pycache__",
"docker",
".gitignore",
"tests",
"docs",
"examples",
"src/flowerpower.egg-info",
"src/flowerpower/__pycache__",
"docker",
".gitignore",
]
2 changes: 1 addition & 1 deletion requirements-dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ annotated-types==0.7.0
# via pydantic
anyio==4.4.0
# via apscheduler
apscheduler @ git+https://github.com/agronholm/apscheduler@8ed2b1babf6c7c173f2c8ed11b9417c891aa0dac
apscheduler==4.0.0a5
# via flowerpower
asgiref==3.8.1
# via django
Expand Down
2 changes: 1 addition & 1 deletion requirements.lock
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ annotated-types==0.7.0
# via pydantic
anyio==4.4.0
# via apscheduler
apscheduler @ git+https://github.com/agronholm/apscheduler@8ed2b1babf6c7c173f2c8ed11b9417c891aa0dac
apscheduler==4.0.0a5
# via flowerpower
asgiref==3.8.1
# via django
Expand Down
Loading

0 comments on commit 684e6eb

Please sign in to comment.