Skip to main content

DODIL Python SDK

Project description

DODIL Python SDK

The DODIL Python SDK lets you interact with DODIL services from Python.

Currently supported services:

  • VNG: multi-modal vector ingestion
  • VBase: vector database (Milvus-backed)

Install

pip install dodil

Quick start

Create a client using a service account:

from dodil import Client

c = Client(
    profile="staging",  # or "prod"
    service_account_id="...",
    service_account_secret="...",
)

VBase (connect + list collections):

from dodil import VBaseConfig

vbase = c.vbase.connect(
    VBaseConfig(
        host="vbase-db-<id>.infra.dodil.cloud",
        port=443,
        scheme="https",
        db_name="db_<id>",
    )
)

print(vbase.list_collections())

vbase.close()
c.close()

Documentation


Development

poetry install
pytest

Contributing

We welcome issues and pull requests.

–	Keep public APIs stable (prefer additive changes).
–	Maintain backward compatibility where possible.
-	Add tests for bug fixes and new features.
-	Format and lint before opening a PR.

Project conventions

-	Root client: Client
-	Services are accessed through handles (e.g. client.vng, client.vbase).
-	Bound service clients are created via .connect(...)

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

dodil-0.0.7.tar.gz (26.7 kB view details)

Uploaded Source

Built Distribution

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

dodil-0.0.7-py3-none-any.whl (33.3 kB view details)

Uploaded Python 3

File details

Details for the file dodil-0.0.7.tar.gz.

File metadata

  • Download URL: dodil-0.0.7.tar.gz
  • Upload date:
  • Size: 26.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.0 CPython/3.14.2 Darwin/25.2.0

File hashes

Hashes for dodil-0.0.7.tar.gz
Algorithm Hash digest
SHA256 bf4f840e90484e353df501d5f554be25c6702b99eb191ae1f828b2405f311384
MD5 c7010df2a9e629f8a170ffffe87d5ae5
BLAKE2b-256 dce3ab026725d232ba6c38cea411b22a845f975f23ae42b0fb51b294a92a55e2

See more details on using hashes here.

File details

Details for the file dodil-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: dodil-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 33.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.0 CPython/3.14.2 Darwin/25.2.0

File hashes

Hashes for dodil-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 b286721c5a16dc6d91eabb8bd1d421f7903475ce3177bc6364b6f950732383f7
MD5 74896f243ebe8656882470365dfa770d
BLAKE2b-256 b91b0c0228d4a3ed70874898cb3d51c7a6eaff7943ced05c2a3ddb8eeff605b8

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