Python API
The distribution contains two independent interfaces:
retractordb.client: pure-Python monitoring throughxqry, requiring a running server.retractordb.Engine,Storage,Descriptor: the optional compiled embedded API, running inside Python without a daemon or bus publication.
The embedded engine computes on a logical timeline and provides no real-time guarantees. NumPy arrays and windows copy engine results; DLPack shares the window array. PyTorch is optional and imported only when explicitly requested. Serialize calls on each engine and use DataLoader(num_workers=0).
Canonical documentation is maintained in Polish and synchronized in English:
| Topic | Polish | English |
|---|---|---|
| Installation | Python and Jupyter | Python and Jupyter |
| API, errors, storage ownership, complete example | API Python | Python API |
| Source builds and wheels | Python build | Python build |
| Colab acceptance and notebook smoke | Protocol | Protocol |
| Monitoring client | Monitoring API | Monitoring API |
Use an explicitly supplied compatible wheel file or direct HTTPS URL for the embedded library. This guide does not assume PyPI publication. pip install ./api/python installs the client only and replaces an existing wheel of the same distribution name, including _core; keep separate environments.
Handled core failures become RetractorDBError subclasses. InternalError taints the module until interpreter restart; an environment failure can stop the plan until recompilation. Failures in noexcept or destructors can still terminate the process. Standard name, index and conversion errors can use normal Python exceptions. See the API pages for the complete contract.
Notebooks in this directory:
- j0_storage.ipynb: offline descriptors and storage.
- j1_engine.ipynb: plan execution, NumPy, DLPack and recompilation.
- colab_quickstart.ipynb: wheel installation and optional CPU/CUDA training.
The binding links rdbembed and retractorcore, never the service library. Implementation history lives in the integration history. Build/test and commit policies remain in the repository's CLAUDE.md.
Metadata
Release files for retractordb 0.1.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 10.2 MB
Release files / retractordb-0.1.12-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | retractordb-0.1.12-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
511ca1401d9d0e268dd99f8ecfadbeb1e6f8c96ffce141c1a69891e87cffd287
|
|
BLAKE2b-256 checksum How to use checksums |
da3993233c943e3038741a8cda2e56c6cc1d66a6d7f72f747faec7e4834be3aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Release files / retractordb-0.1.12-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
| Download URL | retractordb-0.1.12-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.12 Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
6395043f2e00c98adb5f89a31948f460e5d8bf71451972211f1a052f18d82eef
|
|
BLAKE2b-256 checksum How to use checksums |
e4c49a698821d36875c2383fc47093ed2f301fdfcd1d25abe9e532f446a7b8bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Release files / retractordb-0.1.12-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | retractordb-0.1.12-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
cb716342686ccdea93fb39896244810af8679ff6a6c5949ff2ae3e738c61c690
|
|
BLAKE2b-256 checksum How to use checksums |
3e179e5fffa75c91cf0f7e0685fb4ddd0fd2db07d1804dddfcf1a6e1574a4014
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Release files / retractordb-0.1.12-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
| Download URL | retractordb-0.1.12-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.11 Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
89ad667b26677e9d19b6ae9bf53c04fd4a3ece55fd2800efc7043f87a1c38e8d
|
|
BLAKE2b-256 checksum How to use checksums |
a9d65321c3d578b254e862d3f4ab8b2fa17873d9a934b0112f15f9a5cc36ebc1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Release files / retractordb-0.1.12-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | retractordb-0.1.12-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
89bfd4fee3db1920c26bd914d4bbeaf699996aff6a08cc1945cc88c7d083fc80
|
|
BLAKE2b-256 checksum How to use checksums |
e50628363c4cae1eef4bd840139e0646cb5a2817985d46cf9dc300a7c7df50e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Release files / retractordb-0.1.12-cp310-cp310-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
| Download URL | retractordb-0.1.12-cp310-cp310-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.10 Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
33b9737636243515e71e6503923f76250f26da70021349f390f90fef8234a445
|
|
BLAKE2b-256 checksum How to use checksums |
7a2cd60ba3117bab37002d044405fe68c0ff68ac8dde47951ab836d30e38f1a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Security for retractordb 0.1.12
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.