Files
shared/packages/python-backend
Gabriel20xx 2093c39ed2
Lint / Lint (Node/Svelte) (push) Successful in 14s
Lint / Lint (Go) (push) Successful in 16s
Lint / Lint (Python) (push) Successful in 9s
Tests / Test (Node/Svelte) (push) Successful in 14s
Tests / Test (Go) (push) Successful in 18s
Tests / Test (Python) (push) Successful in 10s
fix: satisfy Ruff lint checks
2026-08-05 16:00:40 +02:00
..
2026-08-05 16:00:40 +02:00
2026-08-04 15:23:36 +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 SharedCode repository with a subdirectory install during development:

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