gabriel20xx-shared-backend (0.1.1)

Published 2026-08-06 12:13:48 +02:00 by Gabriel20xx

Installation

pip install --index-url https://repos.gfranz.ch/api/packages/Gabriel20xx/pypi/simple/ --extra-index-url https://pypi.org/simple gabriel20xx-shared-backend

About this package

Shared PostgreSQL and authentication primitives for Python services.

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/shared@v0.1.0#subdirectory=packages/python-backend"

Requirements

Requires Python: >=3.10
Details
PyPI
2026-08-06 12:13:48 +02:00
0
MIT
16 KiB
Assets (2)
Versions (1) View all
0.1.1 2026-08-06