swarmauri_distance_euclidean 0.11.0.dev2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,68 @@
1
+ Metadata-Version: 2.4
2
+ Name: swarmauri_distance_euclidean
3
+ Version: 0.11.0.dev2
4
+ Summary: Deprecated standalone compatibility package for euclidean distance.
5
+ License-Expression: Apache-2.0
6
+ Keywords: swarmauri,distance,deprecated,compatibility,euclidean
7
+ Author: Jacob Stewart
8
+ Author-email: jacob@swarmauri.com
9
+ Requires-Python: >=3.10,<3.15
10
+ Classifier: Development Status :: 7 - Inactive
11
+ Classifier: License :: OSI Approved :: Apache Software License
12
+ Classifier: Programming Language :: Python
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3 :: Only
15
+ Classifier: Programming Language :: Python :: 3.10
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Programming Language :: Python :: 3.13
19
+ Classifier: Programming Language :: Python :: 3.14
20
+ Requires-Dist: swarmauri_base (<0.10.0)
21
+ Requires-Dist: swarmauri_core (<0.10.0)
22
+ Requires-Dist: swarmauri_standard (<0.10.0)
23
+ Description-Content-Type: text/markdown
24
+
25
+ ![Swarmauri Logo](https://raw.githubusercontent.com/swarmauri/swarmauri-sdk/master/assets/swarmauri_sdk_brand.png)
26
+ <p align="center">
27
+ <a href="https://discord.gg/N4UpBuQv8T">
28
+ <img src="https://img.shields.io/badge/Discord-Join%20Chat-5865F2?logo=discord&logoColor=white" alt="Discord"/></a>
29
+ </p>
30
+ # Swarmauri Distance Euclidean
31
+
32
+ This package is deprecated and will be removed from the active Swarmauri workspace by `0.12.0`.
33
+ Install it only as a compatibility shim while migrating away from the deprecated `Distance` contract.
34
+
35
+ ## Preferred Replacement
36
+
37
+ - Preferred package: [swarmauri_standard](https://pypi.org/project/swarmauri_standard/)
38
+ - Preferred import: `swarmauri_standard.metrics.EuclideanMetric.EuclideanMetric`
39
+ - Vector-store replacement: `swarmauri_base.vector_stores.VectorStoreComparator.MetricVectorStoreComparator`
40
+
41
+ ## Compatibility Scope
42
+
43
+ - Re-exports `EuclideanDistance` from `swarmauri_standard.distances`.
44
+ - Emits a `DeprecationWarning` on import.
45
+ - Remains compatible only with Swarmauri packages earlier than `0.10.0`.
46
+
47
+ ## Migration Example
48
+
49
+ ```python
50
+ from swarmauri_standard.metrics.EuclideanMetric import EuclideanMetric
51
+
52
+ metric = EuclideanMetric()
53
+ distance = metric.distance([0.0, 0.0], [1.0, 1.0])
54
+ ```
55
+
56
+ ## Legacy Installation
57
+
58
+ ```bash
59
+ uv pip install swarmauri_distance_euclidean
60
+ ```
61
+
62
+ ```bash
63
+ pip install swarmauri_distance_euclidean
64
+ ```
65
+
66
+
67
+
68
+
@@ -0,0 +1,43 @@
1
+ ![Swarmauri Logo](https://raw.githubusercontent.com/swarmauri/swarmauri-sdk/master/assets/swarmauri_sdk_brand.png)
2
+ <p align="center">
3
+ <a href="https://discord.gg/N4UpBuQv8T">
4
+ <img src="https://img.shields.io/badge/Discord-Join%20Chat-5865F2?logo=discord&logoColor=white" alt="Discord"/></a>
5
+ </p>
6
+ # Swarmauri Distance Euclidean
7
+
8
+ This package is deprecated and will be removed from the active Swarmauri workspace by `0.12.0`.
9
+ Install it only as a compatibility shim while migrating away from the deprecated `Distance` contract.
10
+
11
+ ## Preferred Replacement
12
+
13
+ - Preferred package: [swarmauri_standard](https://pypi.org/project/swarmauri_standard/)
14
+ - Preferred import: `swarmauri_standard.metrics.EuclideanMetric.EuclideanMetric`
15
+ - Vector-store replacement: `swarmauri_base.vector_stores.VectorStoreComparator.MetricVectorStoreComparator`
16
+
17
+ ## Compatibility Scope
18
+
19
+ - Re-exports `EuclideanDistance` from `swarmauri_standard.distances`.
20
+ - Emits a `DeprecationWarning` on import.
21
+ - Remains compatible only with Swarmauri packages earlier than `0.10.0`.
22
+
23
+ ## Migration Example
24
+
25
+ ```python
26
+ from swarmauri_standard.metrics.EuclideanMetric import EuclideanMetric
27
+
28
+ metric = EuclideanMetric()
29
+ distance = metric.distance([0.0, 0.0], [1.0, 1.0])
30
+ ```
31
+
32
+ ## Legacy Installation
33
+
34
+ ```bash
35
+ uv pip install swarmauri_distance_euclidean
36
+ ```
37
+
38
+ ```bash
39
+ pip install swarmauri_distance_euclidean
40
+ ```
41
+
42
+
43
+
@@ -0,0 +1,56 @@
1
+ [project]
2
+ name = "swarmauri_distance_euclidean"
3
+ version = "0.11.0.dev2"
4
+ description = "Deprecated standalone compatibility package for euclidean distance."
5
+ license = "Apache-2.0"
6
+ readme = "README.md"
7
+ repository = "http://github.com/swarmauri/swarmauri-sdk"
8
+ requires-python = ">=3.10,<3.15"
9
+ classifiers = [
10
+ "Development Status :: 7 - Inactive",
11
+ "License :: OSI Approved :: Apache Software License",
12
+ "Programming Language :: Python",
13
+ "Programming Language :: Python :: 3",
14
+ "Programming Language :: Python :: 3 :: Only",
15
+ "Programming Language :: Python :: 3.10",
16
+ "Programming Language :: Python :: 3.11",
17
+ "Programming Language :: Python :: 3.12",
18
+ "Programming Language :: Python :: 3.13",
19
+ "Programming Language :: Python :: 3.14",
20
+ ]
21
+ authors = [{ name = "Jacob Stewart", email = "jacob@swarmauri.com" }]
22
+ dependencies = [
23
+ "swarmauri_core<0.10.0",
24
+ "swarmauri_base<0.10.0",
25
+ "swarmauri_standard<0.10.0",
26
+ ]
27
+ keywords = [
28
+ "swarmauri",
29
+ "distance",
30
+ "deprecated",
31
+ "compatibility",
32
+ "euclidean",
33
+ ]
34
+
35
+ [tool.uv.sources]
36
+ swarmauri_core = { workspace = true }
37
+ swarmauri_base = { workspace = true }
38
+ swarmauri_standard = { workspace = true }
39
+
40
+ [tool.pytest.ini_options]
41
+ norecursedirs = ["combined", "scripts"]
42
+ markers = [
43
+ "unit: Unit tests",
44
+ ]
45
+
46
+ [project.entry-points.'swarmauri.distances']
47
+ EuclideanDistance = "swarmauri_distance_euclidean:EuclideanDistance"
48
+
49
+ [build-system]
50
+ requires = ["poetry-core>=1.0.0"]
51
+ build-backend = "poetry.core.masonry.api"
52
+
53
+ [dependency-groups]
54
+ dev = [
55
+ "ruff>=0.9.9",
56
+ ]
@@ -0,0 +1,18 @@
1
+ import warnings
2
+
3
+ from swarmauri_standard.distances.EuclideanDistance import (
4
+ EuclideanDistance as _StandardEuclideanDistance,
5
+ )
6
+
7
+
8
+ class EuclideanDistance(_StandardEuclideanDistance):
9
+ def __init__(self, *args, **kwargs):
10
+ warnings.warn(
11
+ (
12
+ "EuclideanDistance is deprecated and will be removed from the "
13
+ "active workspace by v0.12.0."
14
+ ),
15
+ DeprecationWarning,
16
+ stacklevel=2,
17
+ )
18
+ super().__init__(*args, **kwargs)
@@ -0,0 +1,20 @@
1
+ from importlib.metadata import PackageNotFoundError, version
2
+ import warnings
3
+
4
+ from .EuclideanDistance import EuclideanDistance
5
+
6
+ warnings.warn(
7
+ (
8
+ "swarmauri_distance_euclidean is deprecated and will be "
9
+ "removed from the active workspace by v0.12.0."
10
+ ),
11
+ DeprecationWarning,
12
+ stacklevel=2,
13
+ )
14
+
15
+ try:
16
+ __version__ = version("swarmauri_distance_euclidean")
17
+ except PackageNotFoundError:
18
+ __version__ = "unknown"
19
+
20
+ __all__ = ["EuclideanDistance", "__version__"]