Metadata-Version: 2.4
Name: gabriel20xx-shared-backend
Version: 0.1.1
Summary: Shared PostgreSQL and authentication primitives for Python services.
License: MIT
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: asyncpg>=0.30
Requires-Dist: bcrypt>=4.2

# `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:

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