SDK Pythonico para o banco NoSQL mangadb – embedded, rápido e intuitivo
Project description
mangadb — Python SDK
SDK Pythonico, intuitivo e completo para o banco NoSQL mangadb.
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:
Clientantigo continua funcionando
Install
pip install mangadb
Docs
Documentacao completa em sdk.mangadb.dev
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mangadb_client_sdk-1.0.0.tar.gz
(35.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mangadb_client_sdk-1.0.0.tar.gz.
File metadata
- Download URL: mangadb_client_sdk-1.0.0.tar.gz
- Upload date:
- Size: 35.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97cedb76cf0bd2d7df270af6947cf8f82265f2e95ce002fbe65408e5bc1a0d04
|
|
| MD5 |
864b9c6090c068107dbbe11c5090e837
|
|
| BLAKE2b-256 |
8081f6ccbb4cb00a1499544f615d5f64b9d8f28fe353bd1c68a14f56948bf4fe
|
File details
Details for the file mangadb_client_sdk-1.0.0-py3-none-any.whl.
File metadata
- Download URL: mangadb_client_sdk-1.0.0-py3-none-any.whl
- Upload date:
- Size: 24.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7d3be5c10cfb3faa1f7c878ed493830be412b84b01fda0d3d189567e13dd00b
|
|
| MD5 |
b9f235fbc263be410489e82310c2e476
|
|
| BLAKE2b-256 |
ca03436608b4549b35b78e49d6eaf13d95ae4479d272aedd2c41eb0f86058498
|