Skip to main content

embedding-utils

A lightweight Python library providing a convenient wrapper around Sentence Transformers for generating text embeddings with caching. Perfect for projects that need repeated embeddings of the same texts without re-computation, or that want a straightforward API for embedding-based similarity.

Features

  • Easy Embedding: Encode batches of texts into vector embeddings with a single method.
  • Built-in Caching: Prevents re-computation for texts previously embedded; saves and loads from disk.
  • Device Management: Optionally integrates with device-selector or falls back to CPU/GPU detection.
  • Cosine Similarity: Utility method to compute similarity between two embedding vectors.

Installation

pip install embedding-utils==0.1.4

Metadata

Release files for embedding-utils 0.1.4

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

Source distribution (sdist)

Source distribution for embedding-utils 0.1.4
File Size Uploaded Provenance Actions
embedding_utils-0.1.4.tar.gz 3.8 kB Without provenance Details for embedding_utils-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for embedding-utils 0.1.4
File Interpreter ABI Platform Actions
embedding_utils-0.1.4-py3-none-any.whl Python 3 none any Details for embedding_utils-0.1.4-py3-none-any.whl

Total release size: 7.6 kB

Release files / embedding_utils-0.1.4.tar.gz

Download URL embedding_utils-0.1.4.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c740ee79056fd7fca57091db5e306ba080a973b6e561394c73de26f8a72ae0e6
BLAKE2b-256 checksum
How to use checksums
f0d5f14903120e010004d27077e158510a670e62b09f8d63011f10d9bceea1c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.7

Release files / embedding_utils-0.1.4-py3-none-any.whl

Download URL embedding_utils-0.1.4-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c86aafff78e001c8eda4cb56c5b641759018ed6f1d4dbfdb15b5b81eb034b02b
BLAKE2b-256 checksum
How to use checksums
9f7453d829e22bcdc4c80c44bd47bf955759ad26ddd4b473c42151812b78e82b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.7

Security for embedding-utils 0.1.4

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

2 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