phenolrs 0.5.9__cp310-cp310-macosx_10_12_x86_64.whl → 0.5.10__cp310-cp310-macosx_10_12_x86_64.whl

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.

Potentially problematic release.


This version of phenolrs might be problematic. Click here for more details.

@@ -58,17 +58,17 @@ class NetworkXLoader:
58
58
  m = "edgeCollections must be non-empty if **load_adj_dict** or **load_coo** is True" # noqa
59
59
  raise PhenolError(m)
60
60
 
61
- if load_all_vertex_attributes and any(
62
- [len(entries) > 0 for entries in metagraph["vertexCollections"].values()]
63
- ):
64
- m = "load_all_vertex_attributes is True, but vertexCollections contain attributes" # noqa
65
- raise PhenolError(m)
66
-
67
- if load_all_edge_attributes and any(
68
- [len(entries) > 0 for entries in metagraph["edgeCollections"].values()]
69
- ):
70
- m = "load_all_edge_attributes is True, but edgeCollections contain attributes" # noqa
71
- raise PhenolError(m)
61
+ if load_all_vertex_attributes:
62
+ for entries in metagraph["vertexCollections"].values():
63
+ if len(entries) > 0:
64
+ m = f"load_all_vertex_attributes is True, but a vertexCollections entry contains attributes: {entries}" # noqa
65
+ raise PhenolError(m)
66
+
67
+ if load_all_edge_attributes:
68
+ for entries in metagraph["edgeCollections"].values():
69
+ if len(entries) > 0:
70
+ m = f"load_all_edge_attributes is True, but an edgeCollections entry contains attributes: {entries}" # noqa
71
+ raise PhenolError(m)
72
72
 
73
73
  if len(metagraph["edgeCollections"]) != 0 and not (load_coo or load_adj_dict):
74
74
  m = "load_coo and load_adj_dict cannot both be False if edgeCollections is non-empty" # noqa
Binary file
phenolrs/phenolrs.pyi CHANGED
@@ -1,8 +1,5 @@
1
1
  import typing
2
2
 
3
- import numpy as np
4
- import numpy.typing as npt
5
-
6
3
  from .networkx.typings import (
7
4
  ArangoIDtoIndex,
8
5
  DiGraphAdjDict,
@@ -1,14 +1,15 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: phenolrs
3
- Version: 0.5.9
3
+ Version: 0.5.10
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: Implementation :: CPython
6
6
  Classifier: Programming Language :: Python :: Implementation :: PyPy
7
7
  Classifier: Programming Language :: Python :: 3.10
8
8
  Classifier: Programming Language :: Python :: 3.11
9
9
  Classifier: Programming Language :: Python :: 3.12
10
+ Classifier: Programming Language :: Python :: 3.13
10
11
  Classifier: Typing :: Typed
11
- Requires-Dist: numpy ~=1.26
12
+ Requires-Dist: numpy
12
13
  Requires-Dist: python-arango
13
14
  Requires-Dist: pytest ; extra == 'tests'
14
15
  Requires-Dist: arango-datasets ; extra == 'tests'
@@ -1,15 +1,15 @@
1
- phenolrs-0.5.9.dist-info/METADATA,sha256=cXKS2tvUtK7gD2wYvsMdwRXEmgRRyvsWTY0irYfWN0g,1705
2
- phenolrs-0.5.9.dist-info/WHEEL,sha256=qrFzaM559QqopcH3RDBgfpxv2mBnw9XTk259yuOfINk,106
3
- phenolrs/networkx/typings.py,sha256=Ba2AjDeO58S7Bdng3G_f0OaZJt_mmHinhz2EvPdaVHQ,498
4
- phenolrs/networkx/__init__.py,sha256=2SwHyaUx3BYMKbrBUnalXrpTanWxc-pXpqdVBAPhNoo,49
5
- phenolrs/networkx/loader.py,sha256=uA_PwFMrpnN7YHz3ZWpnhvreFOiBJYwjOofA9StQ4tw,4909
6
- phenolrs/phenolrs.pyi,sha256=xcBlPMZ9VuT6NJtuYR1oZ292Aty9WD5emsXD0bcoGjs,1014
1
+ phenolrs-0.5.10.dist-info/METADATA,sha256=9dGGyo8qsBEJm5zRGcJy0bnoqL5msTr1PW8c61DO-40,1750
2
+ phenolrs-0.5.10.dist-info/WHEEL,sha256=Jz27loQYLc3iIsDk47spmATQc2pjInOBIvtVpNZa5w0,106
7
3
  phenolrs/__init__.py,sha256=TdOROaJrn0KqoirSKGruxJ_IRxh6z5nZgNq_Zz6JV5Y,262
8
- phenolrs/numpy/typings.py,sha256=wuVPioYcHM9kYiEJCE2Syp-co_xDzIP3kAcphAgdkBM,426
4
+ phenolrs/networkx/__init__.py,sha256=2SwHyaUx3BYMKbrBUnalXrpTanWxc-pXpqdVBAPhNoo,49
5
+ phenolrs/networkx/loader.py,sha256=admdwmU_u0jmvaWYLWWah13WXR7eWQezDwVfu1QSyB4,4984
6
+ phenolrs/networkx/typings.py,sha256=Ba2AjDeO58S7Bdng3G_f0OaZJt_mmHinhz2EvPdaVHQ,498
9
7
  phenolrs/numpy/__init__.py,sha256=bNT2IdoGroVPk5Q_MVNbypCJ1M03Wqtk68WO0hlcTho,46
10
8
  phenolrs/numpy/loader.py,sha256=t9xt4zWpoU_RLoqrEMVKCo5Av5sowEO4umv0BYZW738,4089
11
- phenolrs/pyg/typings.py,sha256=t666R_TKuYL3TlKYMr6LdzCFYzqTENCcRsh6HcXVFcM,126
9
+ phenolrs/numpy/typings.py,sha256=wuVPioYcHM9kYiEJCE2Syp-co_xDzIP3kAcphAgdkBM,426
10
+ phenolrs/phenolrs.cpython-310-darwin.so,sha256=qtkq2_xoFsMe29rtq8yIbbcqP6wvAegV1WsucDmfszU,5306052
11
+ phenolrs/phenolrs.pyi,sha256=iccRJhS8Sg92oZe2PL6JH2eJsMOSjsPxScH5etL0ELA,967
12
12
  phenolrs/pyg/__init__.py,sha256=MdVEJXdv2Dj_tC1_zv0FjSHHrgHxcwgWkOdcYAyh08g,44
13
13
  phenolrs/pyg/loader.py,sha256=XFEvbkJjpPs-okdG4ksa-U5VWo0mcw1BOYZvsGE6suE,6159
14
- phenolrs/phenolrs.cpython-310-darwin.so,sha256=BDeaGzBkvzrbG336Fdexl4lKMv8qbzCaSwAXLvE-OL4,5457740
15
- phenolrs-0.5.9.dist-info/RECORD,,
14
+ phenolrs/pyg/typings.py,sha256=t666R_TKuYL3TlKYMr6LdzCFYzqTENCcRsh6HcXVFcM,126
15
+ phenolrs-0.5.10.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: maturin (1.8.1)
2
+ Generator: maturin (1.8.6)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp310-cp310-macosx_10_12_x86_64