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.5.tar.gz (16.0 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.5-py3-none-any.whl (21.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dodil-0.0.5.tar.gz
  • Upload date:
  • Size: 16.0 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.5.tar.gz
Algorithm Hash digest
SHA256 2a5c5c4004a34745d3ef09f5c08586f4c0e0d019280f7764e177e682a3e0da6e
MD5 a1ae6dc7e4076cdcbcbd6ca9a9f92b8f
BLAKE2b-256 0821701856d3fdfd87fbafa1e1ce48be0c085711ed9e0fb2cfcf0fec926dd0ca

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dodil-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 21.0 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 2357fcafc53d4a09dfc51444e59b9473c2ba35c7234f1de8af6b9094e80f5f1d
MD5 01a1c61f541b17c20e5680494a75a3a3
BLAKE2b-256 c39d0255a529f17f0ca2cf01f5847ebb4faddc54dfd557a6a8e8cc191b73289a

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