Metadata-Version: 2.4
Name: mangadb-client-sdk
Version: 1.0.0
Summary: SDK Pythonico para o banco NoSQL mangadb – embedded, rápido e intuitivo
Project-URL: Homepage, https://github.com/marcosgabrielgomes110/mangadb
Project-URL: Documentation, https://github.com/marcosgabrielgomes110/mangadb/tree/main/sdk/python/docs
Project-URL: Source, https://github.com/marcosgabrielgomes110/mangadb
Author-email: Marcos Gabriel Gomes <marcosgabrielgomes110@gmail.com>
License: MIT
Requires-Python: >=3.10
Requires-Dist: httpx>=0.25
Provides-Extra: dev
Requires-Dist: httpx>=0.25; extra == 'dev'
Requires-Dist: pytest>=7; extra == 'dev'
Description-Content-Type: text/markdown

# mangadb — Python SDK

SDK Pythonico, intuitivo e completo para o banco NoSQL mangadb.

```python
from mangadb import Mangadb as mg

db = mg.connect(api_key="mdb_live_v1_...", host="localhost:8080")
users = db.database("app").collection("usuarios", schema=mg.schema(
    nome=str,
    email=mg.unique(str),
    idade=int,
    ativo=mg.default(True),
))

users.insert(nome="Alice", email="alice@mail.com", idade=30)
users.query.find(idade__gte=18).sort("nome").limit(10)
```

## Features

- **Simples**: kwargs insert, Django-style query operators
- **Schema opcional**: tipagem com `unique()`, `secret`, `default()`, etc.
- **ORM mode**: classes tipadas com `Model`
- **Async**: `AsyncMangadb.connect_async()` para asyncio/FastAPI
- **CLI integrado**: `python -m mangadb`
- **Bulk/aggregation**: operacoes em lote e pipeline fluente
- **Retrocompativel**: `Client` antigo continua funcionando

## Install

```bash
pip install mangadb
```

## Docs

Documentacao completa em [sdk.mangadb.dev](https://sdk.mangadb.dev)
