datus-storage-base
Abstract interfaces for Datus storage backends (vector & RDB).
This package provides the base classes and registries that all storage adapter implementations depend on:
BaseRdbBackend/RdbDatabase/RdbTable— relational database abstractionsBaseVectorBackend/VectorDatabase/VectorTable— vector database abstractionsFtsField/FtsSpec/FtsIndexStatus— backend-independent full-text search contractsRdbRegistry/VectorRegistry— entry-point-based backend discoveryBackendConfig— unified backend configuration- Condition AST (
eq,ne,gt,and_,or_, …) for portable query filters
Installation
pip install datus-storage-base
Usage
This package is not used directly. Install a concrete adapter (e.g. datus-storage-postgresql) which depends on this package automatically.
build_where() renders membership as native IN, keeping large retained-ID
lists shallow enough for LanceDB deletion. An empty list is always false, and
None in a membership list is an explicit IS NULL alternative. Negating the
condition preserves these semantics.
Tests
From the repository root:
pip install -e './datus-storage-base[dev,lancedb-test]'
pytest datus-storage-base/tests/unit datus-storage-base/tests/integration
The LanceDB regression runs deletion in a subprocess and checks retained IDs, stale records, model/datasource scope, and NULL handling. A native crash fails that test without terminating the pytest process.
License
Apache-2.0
Metadata
Release files for datus-storage-base 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| datus_storage_base-0.1.8.tar.gz | 14.9 kB | Without provenance | Details for datus_storage_base-0.1.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| datus_storage_base-0.1.8-py3-none-any.whl | Python 3 | none | any | Details for datus_storage_base-0.1.8-py3-none-any.whl |
Total release size: 33.6 kB
Release files / datus_storage_base-0.1.8.tar.gz
| Download URL | datus_storage_base-0.1.8.tar.gz |
|---|---|
| Size | 14.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7782fe37a7cb596503ab1d4fe6c9a1bea75faf0bc3b926fc042386983e566818
|
|
BLAKE2b-256 checksum How to use checksums |
356824625c2fb019991affe37ca20f426bda12a76cec75f8eb8ae9f79fef23c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.16
|
Release files / datus_storage_base-0.1.8-py3-none-any.whl
| Download URL | datus_storage_base-0.1.8-py3-none-any.whl |
|---|---|
| Size | 18.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9c4bf484a60d6726e4f70e02fb06f6728bc2ba94deb9d48ebbca26c716460508
|
|
BLAKE2b-256 checksum How to use checksums |
ab437c2f19a8b6fa83f85fc215b64a7397fbe41bf324315d94deff583a474d05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.16
|
Security for datus-storage-base 0.1.8
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.