feat: Add initial Mobilizon => Discord sync (#1)

Closes #2 , #3

Co-authored-by: Piotr Gaczkowski <DoomHammerNG@gmail.com>
Reviewed-on: #1
Reviewed-by: leming leming <leming@hs3.pl>
This commit is contained in:
Piotr Gaczkowski 2026-04-20 18:42:04 +00:00
parent 246ef4c829
commit 2ec156422b
14 changed files with 742 additions and 57 deletions

View file

@ -4,11 +4,36 @@ version = "0.1.0"
description = "Share events between services."
authors = [{ name = "Hackerspace Trójmiasto" }]
readme = "README.md"
license = { file = "LICENSE" }
license-files = ["LICENSE"]
requires-python = ">=3.13"
dependencies = []
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",
"html5lib==1.1",
"idna==3.10",
"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",
"requests==2.32.4",
"six==1.17.0",
"soupsieve==2.7",
"typing_extensions==4.14.0",
"urllib3==2.5.0",
"webencodings==0.5.1",
]
[dependency-groups]
dev = ["pre-commit", "pre-commit-hooks", "pytest", "ruff"]
@ -18,47 +43,47 @@ kronos = "kronos.main:_main"
[tool.ruff]
exclude = [
".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",
".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",
]
line-length = 100
indent-width = 4
indent-width = 2
target-version = "py313"
[tool.ruff.lint]
select = [
# pycodestyle
"E",
"W",
# pyflakes
"F",
# pylint
"PL",
# pycodestyle
"E",
"W",
# pyflakes
"F",
# pylint
"PL",
]
ignore = []
fixable = ["ALL"]