Skip to main content

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: Client antigo continua funcionando

Install

pip install mangadb

Docs

Documentacao completa em sdk.mangadb.dev

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

mangadb_client_sdk-1.0.0.tar.gz (35.0 kB view details)

Uploaded Source

Built Distribution

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

mangadb_client_sdk-1.0.0-py3-none-any.whl (24.9 kB view details)

Uploaded Python 3

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

Hashes for mangadb_client_sdk-1.0.0.tar.gz
Algorithm Hash digest
SHA256 97cedb76cf0bd2d7df270af6947cf8f82265f2e95ce002fbe65408e5bc1a0d04
MD5 864b9c6090c068107dbbe11c5090e837
BLAKE2b-256 8081f6ccbb4cb00a1499544f615d5f64b9d8f28fe353bd1c68a14f56948bf4fe

See more details on using hashes here.

File details

Details for the file mangadb_client_sdk-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mangadb_client_sdk-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f7d3be5c10cfb3faa1f7c878ed493830be412b84b01fda0d3d189567e13dd00b
MD5 b9f235fbc263be410489e82310c2e476
BLAKE2b-256 ca03436608b4549b35b78e49d6eaf13d95ae4479d272aedd2c41eb0f86058498

See more details on using hashes here.

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