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.0

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.0
File Size Uploaded Provenance Actions
okf_ingest-0.14.0.tar.gz 55.9 kB Without provenance Details for okf_ingest-0.14.0.tar.gz

Built distribution (wheel)

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

Total release size: 116.2 kB

Release files / okf_ingest-0.14.0.tar.gz

Download URL okf_ingest-0.14.0.tar.gz
Size 55.9 kB
Tags Source
SHA-256 checksum
How to use checksums
14c2f134a08f31270e35aa2dd0a2225bafe29bfe0931c1694250835f17e993c8
BLAKE2b-256 checksum
How to use checksums
4e3eb285301be010dbec6320d95cc573a1332fe0dad818b66d0e5a6f424db6b2
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.0-py3-none-any.whl

Download URL okf_ingest-0.14.0-py3-none-any.whl
Size 60.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e06e7d519d2a249bfcd2955eb9484022ba18de40971a9225620c62501d38c729
BLAKE2b-256 checksum
How to use checksums
d2a2b7e505106e5954b8f575e97c84f0ceee48f07fc78f8c6a4e4a5dbb7d045a
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.0

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