Skip to main content

goldenmatch-embed

PyPI Downloads Python

Local ONNX embedder for GoldenMatch SQL UDFs, shipped as a standalone abi3 wheel.

A thin PyO3 wrapper over the pyo3-free goldenembed Rust crate. GoldenEmbed.load(dir).embed([...]) runs the in-house char-n-gram featurizer plus an ONNX projection with no torch and no network access. All of the ort (onnxruntime) dependency is confined to this wheel so the rest of the suite (the pgrx Postgres extension, the DataFusion FFI surface) can keep linking goldenembed without embedding CPython.

from goldenmatch_embed import GoldenEmbed

model = GoldenEmbed.load("/path/to/saved/model")  # config.json + model.onnx
vecs = model.embed(["acme corp", "acme corporation"])  # list[list[float]]
print(model.dim)

This package is normally imported by the goldenmatch-duckdb embed UDF rather than used directly.

Metadata

Release files for goldenmatch-embed 0.2.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 goldenmatch-embed 0.2.0
File Size Uploaded Provenance Actions
goldenmatch_embed-0.2.0.tar.gz 134.2 kB Without provenance Details for goldenmatch_embed-0.2.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for goldenmatch-embed 0.2.0
File Actions
goldenmatch_embed-0.2.0-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details for goldenmatch_embed-0.2.0-cp311-abi3-win_amd64.whl
goldenmatch_embed-0.2.0-cp311-abi3-manylinux_2_28_x86_64.whl CPython 3.11 abi3 Linux glibc 2.28+ x86-64 Details for goldenmatch_embed-0.2.0-cp311-abi3-manylinux_2_28_x86_64.whl
goldenmatch_embed-0.2.0-cp311-abi3-manylinux_2_28_aarch64.whl CPython 3.11 abi3 Linux glibc 2.28+ ARM64 Details for goldenmatch_embed-0.2.0-cp311-abi3-manylinux_2_28_aarch64.whl
goldenmatch_embed-0.2.0-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details for goldenmatch_embed-0.2.0-cp311-abi3-macosx_11_0_arm64.whl

Total release size: 1.9 MB

Release files / goldenmatch_embed-0.2.0.tar.gz

Download URL goldenmatch_embed-0.2.0.tar.gz
Size 134.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a1bb51d4c49b257f49597caf91bcab83a8168b24b27908160a59575dcb0e0f6d
BLAKE2b-256 checksum
How to use checksums
888d7d165eaa1890da319ad4c9f8a4bb18b3d0051eab724d72db483984e72fdd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / goldenmatch_embed-0.2.0-cp311-abi3-win_amd64.whl

Download URL goldenmatch_embed-0.2.0-cp311-abi3-win_amd64.whl
Size 338.8 kB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
b4499f18c2fd131aab16f3c13e476840c57bfe83abccde69b766b58355d8bee2
BLAKE2b-256 checksum
How to use checksums
b18a85fc9e4285395a91ca83ca9d933c69c25b024d39c24156bd1e1e2e1bce56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / goldenmatch_embed-0.2.0-cp311-abi3-manylinux_2_28_x86_64.whl

Download URL goldenmatch_embed-0.2.0-cp311-abi3-manylinux_2_28_x86_64.whl
Size 489.2 kB
Tags CPython 3.11 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
1f5d457239d5221dfee14d3e6a1fd4c89df9fb53bb45ee6baca93b62d19e45d3
BLAKE2b-256 checksum
How to use checksums
c2ab846de1bdd407b5eded83cedda4e703d210e2e6a04d11523c0e7ea01f2a2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / goldenmatch_embed-0.2.0-cp311-abi3-manylinux_2_28_aarch64.whl

Download URL goldenmatch_embed-0.2.0-cp311-abi3-manylinux_2_28_aarch64.whl
Size 483.5 kB
Tags CPython 3.11 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
959970c9d8ee48b9519d3097051d0a9f6e4900af4b79561609a3648e4b4c1ab7
BLAKE2b-256 checksum
How to use checksums
9c606d282b42af12c84cd4c612e69722222ed591b21688340878a61f0862afb7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / goldenmatch_embed-0.2.0-cp311-abi3-macosx_11_0_arm64.whl

Download URL goldenmatch_embed-0.2.0-cp311-abi3-macosx_11_0_arm64.whl
Size 437.3 kB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
26fe084ef432442c398bf27a6424f0f9779169cd5dbd5f5a160720a384da3495
BLAKE2b-256 checksum
How to use checksums
81cfa8ae79b4b086058c45dfd57ce33a5ea1fe3837d2a38507064a9cd1d8a365
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Security for goldenmatch-embed 0.2.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.

Release history Release notifications | RSS feed

This release

0.2.0 This release

5 release files No provenance

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