okf (Python binding)
Python binding of okf-ingest — a unified ingestion tool for Open Knowledge Format (OKF) bundles. Validate a bundle, load it into a portable DuckDB catalog, and semantically search it.
pip install okf-ingest
okf validate ./bundle
okf ingest ./bundle --db catalog.duckdb
okf embed catalog.duckdb # uses local Ollama nomic-embed-text by default
okf rag catalog.duckdb --query "how is revenue computed?" -k 5
import okf
con, summary = okf.ingest("./bundle", db_path="catalog.duckdb")
okf.embed(con) # pluggable embedder
okf.rag_search(con, "revenue", k=5)
The catalog format is shared with the R binding (okf on CRAN-style install),
so you can ingest/embed in one language and query from the other. See the
project README and docs/ for the
full spec-conformance notes and architecture.
Metadata
Release files for okf-ingest 0.13.1
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 | |
|---|---|---|---|---|
| okf_ingest-0.13.1.tar.gz | 48.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| okf_ingest-0.13.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 100.1 kB
Release files / okf_ingest-0.13.1.tar.gz
| Download URL | okf_ingest-0.13.1.tar.gz |
|---|---|
| Size | 48.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7ffa4d715655d20622f05bdc6c5ec45b390dfbdf3a43d507b89de178f1bcc288
|
|
BLAKE2b-256 checksum How to use checksums |
315f6f4d9408ecade0a08b65a00efdfc910d023b80eb468ee9702c82d0198a14
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Release files / okf_ingest-0.13.1-py3-none-any.whl
| Download URL | okf_ingest-0.13.1-py3-none-any.whl |
|---|---|
| Size | 52.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
127adb2bdc15091260dc3d13f1b6b048783e163f136ce702ce8fa2a8659d11fc
|
|
BLAKE2b-256 checksum How to use checksums |
0f8808cab91761f403963ad0f7f39399b08dfc007a320954d378e9c414107cd1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Security for okf-ingest 0.13.1
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.