First-party DuckDB backend plugin for codira
Project description
codira-backend-duckdb
First-party DuckDB backend plugin for codira.
This package adds a file-local DuckDB index backend that integrates with the
standard codira backend registry.
Install it with pip, not as a system dependency:
pip install codira-backend-duckdb
Repository-local editable install:
source .venv/bin/activate
pip install -e .
pip install -e packages/codira-backend-duckdb
Activate DuckDB for one repository instance:
export CODIRA_INDEX_BACKEND=duckdb
codira index
Verify activation and discovery:
codira plugins
CODIRA_INDEX_BACKEND=duckdb codira plugins
CODIRA_INDEX_BACKEND=duckdb codira sym helper --json
Operator model:
- one backend is active for one repository instance
- DuckDB uses
.codira/index.duckdbunder the repository storage root - core
codiraremains backend-neutral; this package owns DuckDB bootstrap and storage behavior
Good fit:
- local repository indexing
- larger exact-query and embedding inventories than the default SQLite path
- document-heavy or documentation-channel workloads where local analytical scans matter more than multi-client shared concurrency
Not the target:
- system-level DuckDB installation
- many active backends for the same repository at once
- remote shared-database deployment semantics
Package-local verification:
pytest -q packages/codira-backend-duckdb/tests
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file codira_backend_duckdb-1.40.0.tar.gz.
File metadata
- Download URL: codira_backend_duckdb-1.40.0.tar.gz
- Upload date:
- Size: 52.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36f5ec791a74c595b31bddde9733303492b272a4a968354cb403b408bc685b6e
|
|
| MD5 |
c394e5399200b548c51412301f4c41f9
|
|
| BLAKE2b-256 |
fc6844b27baaa4ab9f5732d43e434818d586befa172f85ac3dff81acbba68bc3
|
File details
Details for the file codira_backend_duckdb-1.40.0-py3-none-any.whl.
File metadata
- Download URL: codira_backend_duckdb-1.40.0-py3-none-any.whl
- Upload date:
- Size: 46.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5433be5623fd46b6155489ff2300c5de673a2561f2e364333b963910d4880827
|
|
| MD5 |
e48dee5d3266400ac9f9177116bdffd7
|
|
| BLAKE2b-256 |
a7584144a46faff1e5c0aad12942e35aac1ead8c1d8dc44102d38c46d172ad65
|