Skip to main content

Python SDK for EntDB tenant-sharded graph database

Project description

EntDB SDK

Python client library for EntDB — a tenant-sharded graph database with nodes and edges.

Install

pip install entdb-sdk

Quick Start

from entdb_sdk import DbClient, NodeTypeDef, field

# Define types
Task = NodeTypeDef(
    type_id=101,
    name="Task",
    fields=(
        field(1, "title", "str", required=True),
        field(2, "status", "enum", enum_values=("todo", "done")),
    ),
)

# Connect and create
async with DbClient("localhost:50051") as db:
    plan = db.atomic("tenant_1", "user:42")
    plan.create(Task, {"title": "My Task", "status": "todo"})
    result = await plan.commit()

License

MIT

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

entdb_sdk-1.7.0.tar.gz (71.5 kB view details)

Uploaded Source

Built Distribution

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

entdb_sdk-1.7.0-py3-none-any.whl (78.0 kB view details)

Uploaded Python 3

File details

Details for the file entdb_sdk-1.7.0.tar.gz.

File metadata

  • Download URL: entdb_sdk-1.7.0.tar.gz
  • Upload date:
  • Size: 71.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for entdb_sdk-1.7.0.tar.gz
Algorithm Hash digest
SHA256 5b4464cd000b10c0476642de02bac7ed45bdb352eba5447f3e13a5ee340a88dd
MD5 d88e0cf30665880264ee4122061d22e6
BLAKE2b-256 1252f12d8d26d1c9677c7258815b2e2507fbd51b77d14d220520c25b93ae40db

See more details on using hashes here.

Provenance

The following attestation bundles were made for entdb_sdk-1.7.0.tar.gz:

Publisher: release.yml on elloloop/tenant-shard-db

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file entdb_sdk-1.7.0-py3-none-any.whl.

File metadata

  • Download URL: entdb_sdk-1.7.0-py3-none-any.whl
  • Upload date:
  • Size: 78.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for entdb_sdk-1.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e567f2ea535afca28ef00d92f525b3d54a40bdd5373c5f0994f9ba7b8bb1da7a
MD5 fe3f3c01c1ec168a39f5a4085bab00a1
BLAKE2b-256 2010f3f18bd8086867621b19b344d2788162b10044a1be69eb3cba5474e0fd4e

See more details on using hashes here.

Provenance

The following attestation bundles were made for entdb_sdk-1.7.0-py3-none-any.whl:

Publisher: release.yml on elloloop/tenant-shard-db

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