Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Swarmauri Logo

Discord

# Swarmauri Distance Cosine

This package is deprecated and will be removed from the active Swarmauri workspace by 0.12.0. Install it only as a compatibility shim while migrating away from the deprecated Distance contract.

Preferred Replacement

  • Preferred package: swarmauri_standard
  • Preferred import: swarmauri_standard.similarities.CosineSimilarity.CosineSimilarity
  • Vector-store replacement: swarmauri_standard.vector_stores.CosineSimilarityComparator.CosineSimilarityComparator

Compatibility Scope

  • Re-exports CosineDistance from swarmauri_standard.distances.
  • Emits a DeprecationWarning on import.
  • Remains compatible only with Swarmauri packages earlier than 0.10.0.

Migration Example

from swarmauri_standard.similarities.CosineSimilarity import CosineSimilarity

similarity = CosineSimilarity()
score = similarity.similarity([1.0, 0.0], [1.0, 0.0])

Legacy Installation

uv pip install swarmauri_distance_cosine
pip install swarmauri_distance_cosine

Metadata

Release files for swarmauri_distance_cosine 0.11.0.dev3

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

Source distribution (sdist)

Source distribution for swarmauri_distance_cosine 0.11.0.dev3
File Size Uploaded Provenance Actions
swarmauri_distance_cosine-0.11.0.dev3.tar.gz 2.1 kB Without provenance Details for swarmauri_distance_cosine-0.11.0.dev3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for swarmauri_distance_cosine 0.11.0.dev3
File Interpreter ABI Platform Actions
swarmauri_distance_cosine-0.11.0.dev3-py3-none-any.whl Python 3 none any Details for swarmauri_distance_cosine-0.11.0.dev3-py3-none-any.whl

Total release size: 5.1 kB

Release files / swarmauri_distance_cosine-0.11.0.dev3.tar.gz

Download URL swarmauri_distance_cosine-0.11.0.dev3.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
6454ff7a0d697524ac1be56d3937b7fa034b624f3dbe0c6f88a8ccac5cd2f73e
BLAKE2b-256 checksum
How to use checksums
e8909b602cb5d6da165ebbbd1212d383bf3299aeb1278b68a0b2afc5df08ebdf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / swarmauri_distance_cosine-0.11.0.dev3-py3-none-any.whl

Download URL swarmauri_distance_cosine-0.11.0.dev3-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d94b8ae02bf12bba457f03becad56a1c45e294464ae78fd2a7d853a33700cf5f
BLAKE2b-256 checksum
How to use checksums
5e5e917c6306a3b2c40836578a9a9aafda31489bc451ac29ddea5fdd624995fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for swarmauri_distance_cosine 0.11.0.dev3

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