Skip to main content

User auth, settings management, and local DB handling with Firebase and SQLite

Project description

auth-db-neonix

Authentication and settings management module for Python apps using Firebase for auth and SQLite for local data.

🚀 Features

  • 🔐 Firebase-based user authentication
  • 🔁 Cookie and session management
  • 💾 Firebase Firestore settings persistence
  • 🗄️ SQLite-based local data layer
  • 🧰 Pluggable architecture (DTOs, Services, Models)

📦 Installation

From GitHub

pip install git+https://github.com/NeoNix-Lab/neoquant-auth-manager.git

For Development

pip install "git+https://github.com/<your-username>/auth_db_neonix.git#egg=auth_db_neonix[dev]"

🔧 Usage

from auth_db_neonix import login_user, register_user, DataRetriever

user = register_user("you@example.com", "yourpassword")
cookie = login_user("you@example.com", "yourpassword")

data = DataRetriever.from_settings(user.uid, db_setting)

🧪 Run Tests

pytest tests/

📁 Project Structure

.
├── auth_db_neonix/
├── tests/
├── pyproject.toml
├── README.md
├── .gitignore
└── LICENSE

📄 License

MIT License (see LICENSE file)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

auth_db_neonix-0.1.63.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

auth_db_neonix-0.1.63-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

Details for the file auth_db_neonix-0.1.63.tar.gz.

File metadata

  • Download URL: auth_db_neonix-0.1.63.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for auth_db_neonix-0.1.63.tar.gz
Algorithm Hash digest
SHA256 6b685ffbd5b23b21cda8c2921322f1f0d803460f7d84960252257d53c932d8c5
MD5 4425a34f351ba30f723e3f0896bb15f4
BLAKE2b-256 88404c5235e8e8adac1998a8be9afcdecf8e75634bcfbab7100e54e9ede72aa5

See more details on using hashes here.

Provenance

The following attestation bundles were made for auth_db_neonix-0.1.63.tar.gz:

Publisher: python-publish.yml on NeoNix-Lab/neoquant-auth-manager

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file auth_db_neonix-0.1.63-py3-none-any.whl.

File metadata

File hashes

Hashes for auth_db_neonix-0.1.63-py3-none-any.whl
Algorithm Hash digest
SHA256 d420c7972e8bd65a5437cc629292a18b68ccd99da683a685bca8eecb3c30c3ff
MD5 4b33cb81e83b78fe39bfe8c8a9d4e983
BLAKE2b-256 94e1dc2d52eff27c0813ece792e9dfc99199c661a699788e74ea2e020f92210e

See more details on using hashes here.

Provenance

The following attestation bundles were made for auth_db_neonix-0.1.63-py3-none-any.whl:

Publisher: python-publish.yml on NeoNix-Lab/neoquant-auth-manager

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page