Files
shared/packages/python-backend
Gabriel20xx c94f749430 fix: reformat config.py to match its declared 100-column line length
One line was wrapped as if for an 88-column budget, violating the
100-column ruff line-length this package declares in its own
pyproject.toml - ruff format (which respects that nested config)
correctly flagged it as unformatted.
2026-08-19 13:04:17 +02:00
..
2026-08-05 16:00:40 +02:00
2026-08-06 16:55:51 +02:00

gabriel20xx-shared-backend

Shared Python backend infrastructure for services using asyncpg:

  • validated DATABASE_URL and pool settings;
  • one async pool owner with ping and graceful shutdown;
  • bcrypt password and secure session-token helpers;
  • short-lived, one-time admin reset codes printed to the server console;
  • common account/session persistence for the single-admin or optional multi-user model.

HTTP framework adapters stay in each service. Install this package from the published index or directly from the shared repository with a subdirectory install during development:

pip install "git+https://repos.gfranz.ch/Gabriel20xx/shared@v0.1.0#subdirectory=packages/python-backend"