Files
shared/packages/python-backend
Gabriel20xx 90080a8425
Lint / Lint (Node/Svelte) (push) Successful in 17s
Lint / Lint (Go) (push) Successful in 19s
Lint / Lint (Python) (push) Successful in 9s
Tests / Test (Node/Svelte) (push) Successful in 13s
Tests / Test (Go) (push) Successful in 20s
Tests / Test (Python) (push) Successful in 10s
fix: use public SharedCode clone URL
2026-08-06 08:59:24 +02:00
..
2026-08-05 16:00:40 +02:00
2026-08-04 15:23:36 +02:00
2026-08-06 08:59:24 +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@v0.1.0#subdirectory=packages/python-backend"