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.5.tar.gz (11.3 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.5-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: auth_db_neonix-0.1.5.tar.gz
  • Upload date:
  • Size: 11.3 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.5.tar.gz
Algorithm Hash digest
SHA256 7feeb27e65182a3a1a9c37e3170e7b1431ac8fddce9403b3d091b1d94e32af24
MD5 7b88a395f7c3e5fbea30391910f63c4e
BLAKE2b-256 09626bbc5a8326eb28064b45ed54046b5e44af423d2ad1db637e2affbeae9a60

See more details on using hashes here.

Provenance

The following attestation bundles were made for auth_db_neonix-0.1.5.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.5-py3-none-any.whl.

File metadata

  • Download URL: auth_db_neonix-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 15.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for auth_db_neonix-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 92fb5f0245e599fa3c008b852f28e1693205ccff2b94b5504bbf9942634178c4
MD5 ca5b1a4169bb4e9dca5dd8dd1de52df8
BLAKE2b-256 156c2080f2ac23613331ecd6c7461f44a7393843f46c56ce42e5543823499c42

See more details on using hashes here.

Provenance

The following attestation bundles were made for auth_db_neonix-0.1.5-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