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.6.tar.gz (26.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.6-py3-none-any.whl (32.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dodil-0.0.6.tar.gz
  • Upload date:
  • Size: 26.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.6.tar.gz
Algorithm Hash digest
SHA256 82aeaa73ee7a9110c47da85ac04edf3ac86455b3d7b93fcf648438c21148033c
MD5 f780b199a79a06d90dad377c092ea740
BLAKE2b-256 142ffadf266b00e9dbe9531f4e50c39471181e144822ff7eb3f4debb50a88f54

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dodil-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 32.5 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 3469335d216039682a3289f49dcd11842be611454e7f2405f14d6a8b3b409b52
MD5 c364790735f1810976609f3849305a50
BLAKE2b-256 6afb76fab331bea30c47da22bcf0bdaec9042a633bb577173c5e7e39865ac000

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