Skip to main content

chloedb: ChloeDB from Python

import chloedb runs a ChloeDB database in your process (chloedb.open, chloedb.Database), or talks to a running chloedb-server (chloedb.connect, chloedb.Client), with the same methods: insert, upsert, delete, import_file, query, sql, search, and table() for queries built from Python values instead of SQL text. A database in your process also answers with Arrow columns (query_arrow), which pyarrow, polars and pandas read without copying them.

# a release's prebuilt wheel (Linux glibc 2.28+, macOS 11+); no Rust needed
pip install chloedb
pip install ./chloedb-py          # or from source, from the repository's root; needs Rust

chloedb.serve() starts a chloedb-server on this machine and returns a client of it, which stops it when closed: pip install "chloedb[server]" installs the prebuilt server of the same release with the package (from 0.3.7).

import strata, ChloeDB's old name, imports the same package for a release, with a DeprecationWarning; release 0.1.0, from before the rename, was published as strata-db and imports as strata only.

import chloedb

db = chloedb.open("books.chloedb", schema={
    "table": "books", "key": "id",
    "fields": [
        {"name": "id", "type": "keyword"},
        {"name": "title", "type": "text"},
        {"name": "year", "type": "int"},
    ],
})
db.insert({"id": "b1", "title": "The river and the dragon", "year": 1999})
print(db.search("dragon").dicts())

from chloedb import col, bm25
for row in db.table().where(col("year") >= 1990).order_by(bm25("title", "dragon")).limit(5):
    print(row["title"])

Frames are lazy dataframes over tables, run where the data is (a build from source, with pyarrow: pip install "./chloedb-py[frame]"; release 0.1.0 has no frames):

import chloedb
from chloedb import col

shop = chloedb.connect("shop.chloedb")      # or a server: chloedb.connect("https://...")
(shop["orders"].filter(col("status") == "paid")
     .group_by("country").agg(revenue=col("amount").sum(), n=chloedb.len())
     .sort("revenue", descending=True).to_polars())

LangChain, LangGraph and LlamaIndex take ChloeDB as their vector store, checkpointer and memory store (chloedb.langchain, chloedb.langgraph, chloedb.llama_index, with the extras [langchain], [langgraph] and [llama-index]), and chloedb.dbapi is a DB-API 2.0 driver, for pandas.read_sql and other tools: see the frameworks page.

The guide is docs/chloedb/python.md, and frames have their own page. Tests: maturin develop --release && pytest tests in a virtualenv (the client tests use ../chloedb-server/target/release/chloedb-server, or $CHLOEDB_SERVER, and are skipped without it; the Kafka consumer's test needs a broker at $CHLOEDB_KAFKA, such as Redpanda in Docker, and confluent-kafka; the Arrow tests need pyarrow, and polars and pandas for theirs).

Metadata

Release files for chloedb 0.3.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for chloedb 0.3.7
File Actions
chloedb-0.3.7-cp310-abi3-manylinux_2_28_x86_64.whl CPython 3.10 abi3 Linux glibc 2.28+ x86-64 Details for chloedb-0.3.7-cp310-abi3-manylinux_2_28_x86_64.whl
chloedb-0.3.7-cp310-abi3-manylinux_2_28_aarch64.whl CPython 3.10 abi3 Linux glibc 2.28+ ARM64 Details for chloedb-0.3.7-cp310-abi3-manylinux_2_28_aarch64.whl
chloedb-0.3.7-cp310-abi3-macosx_11_0_x86_64.whl CPython 3.10 abi3 macOS 11.0+ x86-64 Details for chloedb-0.3.7-cp310-abi3-macosx_11_0_x86_64.whl
chloedb-0.3.7-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for chloedb-0.3.7-cp310-abi3-macosx_11_0_arm64.whl

Total release size: 133.1 MB

Release files / chloedb-0.3.7-cp310-abi3-manylinux_2_28_x86_64.whl

Download URL chloedb-0.3.7-cp310-abi3-manylinux_2_28_x86_64.whl
Size 34.6 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
2a5a7809edd22dc1fee213c4125fe7c04422977f8b41610c4ac8d438cfe301d6
BLAKE2b-256 checksum
How to use checksums
d241bb0da7fb9fc69d28d7723bdb87f3813f6adc666e1e5e4d8d3c88af8ed85f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Release files / chloedb-0.3.7-cp310-abi3-manylinux_2_28_aarch64.whl

Download URL chloedb-0.3.7-cp310-abi3-manylinux_2_28_aarch64.whl
Size 33.5 MB
Tags CPython 3.10 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
36fc7f2911a1df83941bd867b409a777ed6e8aaa8c4f81ee8f79f22efc4d9b70
BLAKE2b-256 checksum
How to use checksums
0bc6e459b0532e3fd31e3dd104d2c6937bff3d4f400c3fb17b658d6766e32ce4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Release files / chloedb-0.3.7-cp310-abi3-macosx_11_0_x86_64.whl

Download URL chloedb-0.3.7-cp310-abi3-macosx_11_0_x86_64.whl
Size 33.5 MB
Tags CPython 3.10 abi3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
b86f204bdb69530469673d5675afe69d051f86087febf684492b02d076d62152
BLAKE2b-256 checksum
How to use checksums
fbd123d2c9d52e7a6dece4acd8e6a0f87134c8510fe4eb667dd7cd9dd0e8d008
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Release files / chloedb-0.3.7-cp310-abi3-macosx_11_0_arm64.whl

Download URL chloedb-0.3.7-cp310-abi3-macosx_11_0_arm64.whl
Size 31.5 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
718325a3ac9fd3dd0d80d5325ffd33e63c25ddf14ddb10bd8a3448c7eb522ae7
BLAKE2b-256 checksum
How to use checksums
fcd823a918dd20a2aab03c4b9e2d5d3e0d4206943110a4ff857a07af026db3d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Security for chloedb 0.3.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for chloedb-0.3.7-cp310-abi3-manylinux_2_28_x86_64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page