graspologic-native 1.2.2__tar.gz → 1.2.3__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.
Files changed (44) hide show
  1. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/Cargo.lock +7 -7
  2. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/PKG-INFO +1 -1
  3. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/pyo3/Cargo.toml +1 -1
  4. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/pyo3/src/lib.rs +3 -3
  5. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/pyo3/tests/test_leiden.py +1 -1
  6. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/pyo3/uv.lock +14 -2
  7. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/Cargo.toml +0 -0
  8. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/network_partitions/Cargo.toml +0 -0
  9. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/network_partitions/README.md +0 -0
  10. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/network_partitions/src/clustering.rs +0 -0
  11. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/network_partitions/src/errors.rs +0 -0
  12. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/network_partitions/src/leiden/full_network_clustering.rs +0 -0
  13. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/network_partitions/src/leiden/full_network_work_queue.rs +0 -0
  14. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/network_partitions/src/leiden/hierarchical.rs +0 -0
  15. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/network_partitions/src/leiden/leiden_clustering.rs +0 -0
  16. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/network_partitions/src/leiden/mod.rs +0 -0
  17. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/network_partitions/src/leiden/neighboring_clusters.rs +0 -0
  18. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/network_partitions/src/leiden/quality_value_increment.rs +0 -0
  19. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/network_partitions/src/leiden/subnetwork.rs +0 -0
  20. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/network_partitions/src/lib.rs +0 -0
  21. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/network_partitions/src/network/compact_network.rs +0 -0
  22. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/network_partitions/src/network/identifier.rs +0 -0
  23. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/network_partitions/src/network/labeled_network.rs +0 -0
  24. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/network_partitions/src/network/mod.rs +0 -0
  25. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/network_partitions/src/network/network.rs +0 -0
  26. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/network_partitions/src/network/network_builder.rs +0 -0
  27. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/network_partitions/src/network/networks.rs +0 -0
  28. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/network_partitions/src/network/prelude.rs +0 -0
  29. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/network_partitions/src/quality.rs +0 -0
  30. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/network_partitions/src/random_vector.rs +0 -0
  31. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/network_partitions/src/resolution.rs +0 -0
  32. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/network_partitions/src/safe_vectors.rs +0 -0
  33. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/network_partitions/tests/broken_org_graph.csv +0 -0
  34. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/network_partitions/tests/sbm_network.csv +0 -0
  35. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/network_partitions/tests/simple_org_graph.csv +0 -0
  36. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/network_partitions/tests/test_network.rs +0 -0
  37. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/pyo3/README.md +0 -0
  38. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/pyo3/graspologic_native.pyi +0 -0
  39. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/pyo3/py.typed +0 -0
  40. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/pyo3/requirements.txt +0 -0
  41. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/pyo3/src/errors.rs +0 -0
  42. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/pyo3/src/mediator.rs +0 -0
  43. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/packages/pyo3/tests/__init__.py +0 -0
  44. {graspologic_native-1.2.2 → graspologic_native-1.2.3}/pyproject.toml +0 -0
@@ -72,18 +72,18 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
72
72
 
73
73
  [[package]]
74
74
  name = "clap"
75
- version = "4.5.26"
75
+ version = "4.5.27"
76
76
  source = "registry+https://github.com/rust-lang/crates.io-index"
77
- checksum = "a8eb5e908ef3a6efbe1ed62520fb7287959888c88485abe072543190ecc66783"
77
+ checksum = "769b0145982b4b48713e01ec42d61614425f27b7058bda7180a3a41f30104796"
78
78
  dependencies = [
79
79
  "clap_builder",
80
80
  ]
81
81
 
82
82
  [[package]]
83
83
  name = "clap_builder"
84
- version = "4.5.26"
84
+ version = "4.5.27"
85
85
  source = "registry+https://github.com/rust-lang/crates.io-index"
86
- checksum = "96b01801b5fc6a0a232407abc821660c9c6d25a1cafc0d4f85f29fb8d9afc121"
86
+ checksum = "1b26884eb4b57140e4d2d93652abfa49498b938b3c9179f9fc487b0acc3edad7"
87
87
  dependencies = [
88
88
  "anstream",
89
89
  "anstyle",
@@ -126,7 +126,7 @@ dependencies = [
126
126
 
127
127
  [[package]]
128
128
  name = "graspologic_native"
129
- version = "1.2.2"
129
+ version = "1.2.3"
130
130
  dependencies = [
131
131
  "network_partitions",
132
132
  "pyo3",
@@ -341,9 +341,9 @@ checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
341
341
 
342
342
  [[package]]
343
343
  name = "unicode-ident"
344
- version = "1.0.14"
344
+ version = "1.0.15"
345
345
  source = "registry+https://github.com/rust-lang/crates.io-index"
346
- checksum = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83"
346
+ checksum = "11cd88e12b17c6494200a9c1b683a04fcac9573ed74cd1b62aeb2727c5592243"
347
347
 
348
348
  [[package]]
349
349
  name = "unindent"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: graspologic-native
3
- Version: 1.2.2
3
+ Version: 1.2.3
4
4
  Classifier: Development Status :: 5 - Production/Stable
5
5
  Classifier: License :: OSI Approved :: MIT License
6
6
  Classifier: Programming Language :: Python :: Implementation :: CPython
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "graspologic_native"
3
- version = "1.2.2"
3
+ version = "1.2.3"
4
4
  authors = ["daxpryce@microsoft.com"]
5
5
  edition = "2018"
6
6
  license = "MIT"
@@ -92,7 +92,7 @@ impl HierarchicalCluster {
92
92
  /// :raises ParameterRangeError: One of the parameters provided did not meet the requirements in the documentation.
93
93
  /// :raises UnsafeInducementError: An internal algorithm error. Please report with reproduction steps.
94
94
  #[pyfunction]
95
- #[pyo3(signature=(edges, /, starting_communities=None, resolution=1.0, randomness=0.001, iterations=1, use_modularity=true, seed=None, trials=1))]
95
+ #[pyo3(signature=(/, edges, starting_communities=None, resolution=1.0, randomness=0.001, iterations=1, use_modularity=true, seed=None, trials=1))]
96
96
  fn leiden(
97
97
  py: Python,
98
98
  edges: Vec<Edge>,
@@ -170,7 +170,7 @@ fn leiden(
170
170
  /// :raises ParameterRangeError: One of the parameters provided did not meet the requirements in the documentation.
171
171
  /// :raises UnsafeInducementError: An internal algorithm error. Please report with reproduction steps.
172
172
  #[pyfunction]
173
- #[pyo3(signature=(edges, /, starting_communities=None, resolution=1.0, randomness=0.001, iterations=1, use_modularity=true, max_cluster_size=1000, seed=None))]
173
+ #[pyo3(signature=(/, edges, starting_communities=None, resolution=1.0, randomness=0.001, iterations=1, use_modularity=true, max_cluster_size=1000, seed=None))]
174
174
  fn hierarchical_leiden(
175
175
  py: Python,
176
176
  edges: Vec<Edge>,
@@ -211,7 +211,7 @@ fn hierarchical_leiden(
211
211
  /// :return: The modularity of the community partitioning provided for the network.
212
212
  /// :rtype: float
213
213
  #[pyfunction]
214
- #[pyo3(signature=(edges, communities, /, resolution=1.0))]
214
+ #[pyo3(signature=(/, edges, communities, resolution=1.0))]
215
215
  fn modularity(
216
216
  py: Python,
217
217
  edges: Vec<Edge>,
@@ -19,7 +19,7 @@ def _get_edges(path):
19
19
  class TestLeiden(unittest.TestCase):
20
20
  def test_leiden(self):
21
21
  edges = _get_edges(sbm_graph)
22
- modularity, partitions = gcn.leiden(edges, seed=seed)
22
+ modularity, partitions = gcn.leiden(edges=edges, seed=seed)
23
23
 
24
24
  def test_reiterative_leiden(self):
25
25
  """
@@ -1,5 +1,17 @@
1
1
  version = 1
2
2
  requires-python = ">=3.8, <3.14"
3
+ resolution-markers = [
4
+ "python_full_version < '3.10' and sys_platform == 'win32'",
5
+ "(python_full_version == '3.10.*' and platform_system != 'Windows' and sys_platform == 'win32') or (python_full_version == '3.10.*' and platform_python_implementation == 'PyPy' and sys_platform == 'win32')",
6
+ "python_full_version == '3.11.*' and sys_platform == 'win32'",
7
+ "python_full_version >= '3.12' and sys_platform == 'win32'",
8
+ "python_full_version < '3.10' and sys_platform != 'win32'",
9
+ "(python_full_version == '3.10.*' and platform_system != 'Windows' and sys_platform != 'win32') or (python_full_version == '3.10.*' and platform_python_implementation == 'PyPy' and sys_platform != 'win32')",
10
+ "python_full_version == '3.11.*' and sys_platform != 'win32'",
11
+ "python_full_version >= '3.12' and sys_platform != 'win32'",
12
+ "python_full_version == '3.10.*' and platform_python_implementation != 'PyPy' and platform_system == 'Windows' and sys_platform == 'win32'",
13
+ "python_full_version == '3.10.*' and platform_python_implementation != 'PyPy' and platform_system == 'Windows' and sys_platform != 'win32'",
14
+ ]
3
15
 
4
16
  [[package]]
5
17
  name = "appnope"
@@ -57,7 +69,7 @@ wheels = [
57
69
 
58
70
  [[package]]
59
71
  name = "graspologic-native"
60
- version = "1.2.2"
72
+ version = "1.2.3"
61
73
  source = { editable = "." }
62
74
 
63
75
  [package.dev-dependencies]
@@ -145,7 +157,7 @@ name = "pexpect"
145
157
  version = "4.9.0"
146
158
  source = { registry = "https://pypi.org/simple" }
147
159
  dependencies = [
148
- { name = "ptyprocess" },
160
+ { name = "ptyprocess", marker = "sys_platform != 'win32'" },
149
161
  ]
150
162
  sdist = { url = "https://files.pythonhosted.org/packages/42/92/cc564bf6381ff43ce1f4d06852fc19a2f11d180f23dc32d9588bee2f149d/pexpect-4.9.0.tar.gz", hash = "sha256:ee7d41123f3c9911050ea2c2dac107568dc43b2d3b0c7557a33212c398ead30f", size = 166450 }
151
163
  wheels = [