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 Manhattan

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.metrics.LpMetric.LpMetric
  • Migration note: use LpMetric(p=1) for Manhattan semantics.

Compatibility Scope

  • Re-exports ManhattanDistance 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.metrics.LpMetric import LpMetric

metric = LpMetric(p=1)
distance = metric.distance([0.0, 1.0], [2.0, 3.0])

Legacy Installation

uv pip install swarmauri_distance_manhattan
pip install swarmauri_distance_manhattan

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

swarmauri_distance_manhattan-0.11.0.dev5.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file swarmauri_distance_manhattan-0.11.0.dev5.tar.gz.

File metadata

  • Download URL: swarmauri_distance_manhattan-0.11.0.dev5.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","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}

File hashes

Hashes for swarmauri_distance_manhattan-0.11.0.dev5.tar.gz
Algorithm Hash digest
SHA256 6032516082bf4354125474133b894ff9222ce4dcdc7220e60e8a84f61518f1a4
MD5 5f73286d21822335bef669826895a2a6
BLAKE2b-256 a94b3ec6ddabaad66519cb5efa1647360ccbcc547678b227669bfc5596337cf5

See more details on using hashes here.

File details

Details for the file swarmauri_distance_manhattan-0.11.0.dev5-py3-none-any.whl.

File metadata

  • Download URL: swarmauri_distance_manhattan-0.11.0.dev5-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","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}

File hashes

Hashes for swarmauri_distance_manhattan-0.11.0.dev5-py3-none-any.whl
Algorithm Hash digest
SHA256 09de7118a592c1b491e5ebb23470d09c02490d01cf3daef0f4739304ddcab8d0
MD5 08a7fdb10aff672d531ceca8576bbbf9
BLAKE2b-256 e10b531a04236c7e754c5471eda805fcb96e8411f0345530abe4f1f2a9192259

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page