Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 0.14.2 instead.

okf (Python binding)

Python binding of okf-ingest — a unified ingestion tool for Open Knowledge Format (OKF) bundles, spec v0.3. 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.14.1

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

Source distribution (sdist)

Source distribution for okf-ingest 0.14.1
File Size Uploaded Provenance Actions
okf_ingest-0.14.1.tar.gz 56.0 kB Without provenance Details for okf_ingest-0.14.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for okf-ingest 0.14.1
File Interpreter ABI Platform Actions
okf_ingest-0.14.1-py3-none-any.whl Python 3 none any Details for okf_ingest-0.14.1-py3-none-any.whl

Total release size: 116.4 kB

Release files / okf_ingest-0.14.1.tar.gz

Download URL okf_ingest-0.14.1.tar.gz
Size 56.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8cc317396ee7d8157ce014cf3af63c023f7841c479e3f1c343b902f7462d60ff
BLAKE2b-256 checksum
How to use checksums
3abcd2f55b88837684cb554e9e3262a2cc309ba14cc122a03361f79aa3ee3668
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.14.1-py3-none-any.whl

Download URL okf_ingest-0.14.1-py3-none-any.whl
Size 60.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fc74430b70eebfac8536fad64a2d34c2457f9b777d6a09f31dbd34ccc5298f21
BLAKE2b-256 checksum
How to use checksums
22eae13e0218d819dba8fa5e4c6f7e9db81fede29a97ed578031fe25e734df7d
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.14.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.

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