Metadata-Version: 2.4
Name: auth_db_neonix
Version: 0.2.2
Summary: User auth, settings management, and local DB handling with Firebase and SQLite
Author-email: NeoNix <rittoone@gmail.com>
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: firebase_admin>=6.9.0
Requires-Dist: pydantic>=1.9.0
Requires-Dist: pandas>=2.0.0
Requires-Dist: cryptography>=45.0.4
Requires-Dist: fastapi>=0.115.12
Requires-Dist: python-dotenv>=1.1.0
Requires-Dist: Requests>=2.32.4
Provides-Extra: dev
Requires-Dist: pytest>=7.0; extra == "dev"
Requires-Dist: flake8>=5.0; extra == "dev"
Requires-Dist: black>=23.0; extra == "dev"
Requires-Dist: mypy>=1.5; extra == "dev"

# 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

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

### For Development

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

## 🔧 Usage

```python
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

```bash
pytest tests/
```

## 📁 Project Structure

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

## 📄 License

MIT License (see `LICENSE` file)
