Skip to main content

candle-embed

Lightweight pure-Rust BERT sentence embeddings for Python via Hugging Face Candle and tokenizers, shipped as a single cp311-abi3 wheel (Python 3.11+) with no onnxruntime and no PyTorch.

from candle_embed import TextEmbedding

model = TextEmbedding("BAAI/bge-small-en-v1.5")
vecs = list(model.embed(["Represent this sentence for searching relevant passages: payment"]))

Features

  • Drop-in TextEmbedding(model_name).embed(...) API compatible with fastembed
  • Automatic 1_Pooling/config.json (cls vs masked mean) and sentence_bert_config.json (max_seq_length) detection
  • Pure Rust CPU inference (candle-core + candle-transformers + tokenizers with fancy-regex) — zero C/OpenSSL/ONNX Runtime dependencies
  • Single cp311-abi3 wheel supporting Python 3.11–3.15+

Metadata

Release files for candle-embed 0.1.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 candle-embed 0.1.0
File Size Uploaded Provenance Actions
candle_embed-0.1.0.tar.gz 27.4 kB With provenance Details for candle_embed-0.1.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for candle-embed 0.1.0
File Actions
candle_embed-0.1.0-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details for candle_embed-0.1.0-cp311-abi3-win_amd64.whl
candle_embed-0.1.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.11 abi3 Linux glibc 2.17+ x86-64 Details for candle_embed-0.1.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
candle_embed-0.1.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.11 abi3 Linux glibc 2.17+ ARM64 Details for candle_embed-0.1.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
candle_embed-0.1.0-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details for candle_embed-0.1.0-cp311-abi3-macosx_11_0_arm64.whl
candle_embed-0.1.0-cp311-abi3-macosx_10_12_x86_64.whl CPython 3.11 abi3 macOS 10.12+ x86-64 Details for candle_embed-0.1.0-cp311-abi3-macosx_10_12_x86_64.whl

Total release size: 12.9 MB

Release files / candle_embed-0.1.0.tar.gz

Download URL candle_embed-0.1.0.tar.gz
Size 27.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7352ba419d72884b1aa2396cabd83a55661412be43a94cb884aae25ec46c87ae
BLAKE2b-256 checksum
How to use checksums
667261e53c225c415b11f90f9358464b65dd977567b54850e3a12c3f6a200d41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Release files / candle_embed-0.1.0-cp311-abi3-win_amd64.whl

Download URL candle_embed-0.1.0-cp311-abi3-win_amd64.whl
Size 2.3 MB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
d019953c82bebcfaddc2e407cb28ad08ee4a0450af13d8a11aa157b6664c94b8
BLAKE2b-256 checksum
How to use checksums
5f870b2db612e67b68e51b3ca5b5a680dd360f061a397101d457d01b95b643a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Release files / candle_embed-0.1.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL candle_embed-0.1.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 3.2 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
06d6f497afba14c491150b247cbcfaad31438f9dc6a1e314c796542ef399d61a
BLAKE2b-256 checksum
How to use checksums
0c810592266271057e100cadd9a35055aba6534837dfe157c2ca799f2f0784b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Release files / candle_embed-0.1.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL candle_embed-0.1.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 2.7 MB
Tags CPython 3.11 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
14ec77b9e61b8623f4affea7fca851e88cacc2dde44b26876a19806826f54c88
BLAKE2b-256 checksum
How to use checksums
635ea771cd4de43179ddc467ba93411044811112010ea0380be7a2a8e1733d2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Release files / candle_embed-0.1.0-cp311-abi3-macosx_11_0_arm64.whl

Download URL candle_embed-0.1.0-cp311-abi3-macosx_11_0_arm64.whl
Size 2.3 MB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
2afb7dd9600fe54c548b23e818f86859aad16c265c77757d5da6424bead97d5f
BLAKE2b-256 checksum
How to use checksums
ca45502c3f666edbd52b3a2f2b545d96fd77ea22477eeafc19435690e05df3ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Release files / candle_embed-0.1.0-cp311-abi3-macosx_10_12_x86_64.whl

Download URL candle_embed-0.1.0-cp311-abi3-macosx_10_12_x86_64.whl
Size 2.5 MB
Tags CPython 3.11 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
175da92406a61c0743668794feb9a74c51dc62da2377cdf6836edb1435457a0b
BLAKE2b-256 checksum
How to use checksums
46392021345477a273ebc0b35ccdd9094b48abc159526440a5d65ae740e3a2ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Security for candle-embed 0.1.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.

Full provenance

All 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for candle_embed-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

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.1.0 This release

6 release files Full 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