2026-03-15 17:21:35 +01:00
|
|
|
[project]
|
|
|
|
|
name = "kronos"
|
|
|
|
|
version = "0.1.0"
|
|
|
|
|
description = "Share events between services."
|
|
|
|
|
authors = [{ name = "Hackerspace Trójmiasto" }]
|
|
|
|
|
readme = "README.md"
|
2026-04-20 18:42:04 +00:00
|
|
|
license-files = ["LICENSE"]
|
2026-03-15 17:21:35 +01:00
|
|
|
|
|
|
|
|
requires-python = ">=3.13"
|
|
|
|
|
|
2026-04-20 18:42:04 +00:00
|
|
|
dependencies = [
|
|
|
|
|
"beautifulsoup4==4.13.4",
|
|
|
|
|
"brevo-python==1.1.2",
|
|
|
|
|
"bs4==0.0.2",
|
|
|
|
|
"cachetools==6.1.0",
|
|
|
|
|
"certifi==2025.4.26",
|
|
|
|
|
"charset-normalizer==3.4.2",
|
|
|
|
|
"cssselect==1.3.0",
|
|
|
|
|
"cssutils==2.11.1",
|
|
|
|
|
"discord.py==2.7.1",
|
2026-05-02 12:50:22 +02:00
|
|
|
"fastapi[standard]>=0.136.1",
|
2026-04-20 18:42:04 +00:00
|
|
|
"html5lib==1.1",
|
|
|
|
|
"idna==3.10",
|
2026-05-02 12:50:22 +02:00
|
|
|
"immichpy>=4.1.3",
|
2026-04-20 18:42:04 +00:00
|
|
|
"Jinja2==3.1.6",
|
|
|
|
|
"lxml==6.0.0",
|
|
|
|
|
"MarkupSafe==3.0.2",
|
|
|
|
|
"more-itertools==10.7.0",
|
|
|
|
|
"premailer==3.10.0",
|
|
|
|
|
"python-dateutil==2.9.0.post0",
|
|
|
|
|
"python-dotenv==1.1.1",
|
2026-05-03 18:39:04 +02:00
|
|
|
"pytz==2026.1.post1",
|
2026-04-20 18:42:04 +00:00
|
|
|
"requests==2.32.4",
|
|
|
|
|
"six==1.17.0",
|
|
|
|
|
"soupsieve==2.7",
|
|
|
|
|
"typing_extensions==4.14.0",
|
2026-05-02 12:50:22 +02:00
|
|
|
"typst>=0.14.8",
|
2026-04-20 18:42:04 +00:00
|
|
|
"urllib3==2.5.0",
|
|
|
|
|
"webencodings==0.5.1",
|
|
|
|
|
]
|
2026-03-15 17:21:35 +01:00
|
|
|
|
|
|
|
|
[dependency-groups]
|
|
|
|
|
dev = ["pre-commit", "pre-commit-hooks", "pytest", "ruff"]
|
|
|
|
|
|
|
|
|
|
[project.scripts]
|
|
|
|
|
kronos = "kronos.main:_main"
|
|
|
|
|
|
|
|
|
|
[tool.ruff]
|
|
|
|
|
exclude = [
|
2026-04-20 18:42:04 +00:00
|
|
|
".bzr",
|
|
|
|
|
".direnv",
|
|
|
|
|
".eggs",
|
|
|
|
|
".git",
|
|
|
|
|
".git-rewrite",
|
|
|
|
|
".hg",
|
|
|
|
|
".ipynb_checkpoints",
|
|
|
|
|
".mypy_cache",
|
|
|
|
|
".nox",
|
|
|
|
|
".pants.d",
|
|
|
|
|
".pyenv",
|
|
|
|
|
".pytest_cache",
|
|
|
|
|
".pytype",
|
|
|
|
|
".ruff_cache",
|
|
|
|
|
".svn",
|
|
|
|
|
".tox",
|
|
|
|
|
".venv",
|
|
|
|
|
".vscode",
|
|
|
|
|
"__pypackages__",
|
|
|
|
|
"_build",
|
|
|
|
|
"buck-out",
|
|
|
|
|
"build",
|
|
|
|
|
"dist",
|
|
|
|
|
"node_modules",
|
|
|
|
|
"site-packages",
|
|
|
|
|
"venv",
|
2026-03-15 17:21:35 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
line-length = 100
|
2026-04-20 18:42:04 +00:00
|
|
|
indent-width = 2
|
2026-03-15 17:21:35 +01:00
|
|
|
target-version = "py313"
|
|
|
|
|
|
|
|
|
|
[tool.ruff.lint]
|
|
|
|
|
select = [
|
2026-04-20 18:42:04 +00:00
|
|
|
# pycodestyle
|
|
|
|
|
"E",
|
|
|
|
|
"W",
|
|
|
|
|
# pyflakes
|
|
|
|
|
"F",
|
|
|
|
|
# pylint
|
|
|
|
|
"PL",
|
2026-03-15 17:21:35 +01:00
|
|
|
]
|
|
|
|
|
ignore = []
|
|
|
|
|
fixable = ["ALL"]
|
|
|
|
|
unfixable = []
|
|
|
|
|
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
|
|
|
|
|
|
|
|
|
|
[tool.ruff.format]
|
|
|
|
|
quote-style = "double"
|
|
|
|
|
indent-style = "space"
|
|
|
|
|
skip-magic-trailing-comma = false
|
|
|
|
|
line-ending = "auto"
|
|
|
|
|
docstring-code-format = false
|
|
|
|
|
docstring-code-line-length = "dynamic"
|