pythonic-fp-numpy 1.1.0__py3-none-any.whl → 6.0.0__py3-none-any.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.
@@ -13,7 +13,8 @@
13
13
  # limitations under the License.
14
14
 
15
15
  from abc import ABC, abstractmethod
16
- from enum import auto, Enum
16
+ from enum import Enum, auto
17
+
17
18
  import numpy as np
18
19
  import numpy.typing as npt
19
20
 
@@ -75,7 +76,7 @@ class HWrapNDArray(ABC):
75
76
 
76
77
  """
77
78
 
78
- __slots__ = '_ndarray', '_type', '_shape', '_hash'
79
+ __slots__ = '_hash', '_ndarray', '_shape', '_type'
79
80
 
80
81
  def __init__(self, ndarray: npt.NDArray[np.generic]) -> None:
81
82
  """
@@ -127,7 +128,7 @@ class HWrapNDArray(ABC):
127
128
  - Never make the underlying NDArray writable!!!
128
129
 
129
130
  """
130
- return np.array(self._ndarray)
131
+ return np.array(iter(self._ndarray))
131
132
 
132
133
  def __hash__(self) -> int:
133
134
  """
@@ -185,7 +186,7 @@ class HWrapNDArray(ABC):
185
186
  Return a copy of the wrapped NDArray.
186
187
 
187
188
  """
188
- return np.array(self._ndarray, copy=True)
189
+ return np.array(iter(self._ndarray), copy=True)
189
190
 
190
191
 
191
192
  class HWrapNDArrayNumber(HWrapNDArray):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pythonic-fp-numpy
3
- Version: 1.1.0
3
+ Version: 6.0.0
4
4
  Summary: FP tools for Numpy
5
5
  Keywords: numpy,ndarray,hashable,wrap
6
6
  Author-email: "Geoffrey R. Scheller" <geoffrey@scheller.com>
@@ -17,8 +17,8 @@ Classifier: Typing :: Typed
17
17
  License-File: LICENSE
18
18
  Requires-Dist: numpy>=2.3.4
19
19
  Project-URL: Changelog, https://github.com/grscheller/pythonic-fp-numpy/blob/main/CHANGELOG.md
20
- Project-URL: Documentation, https://grscheller.github.io/pythonic-fp-numpy/release/html/
21
- Project-URL: Homepage, https://grscheller.github.io/pythonic-fp/
20
+ Project-URL: Documentation, https://grscheller.github.io/pythonic-fp-numpy
21
+ Project-URL: Homepage, https://grscheller.github.io/pythonic-fp
22
22
  Project-URL: Source, https://github.com/grscheller/pythonic-fp-numpy
23
23
 
24
24
  # Pythonic FP - FP Numpy
@@ -28,13 +28,13 @@ Python package implementing functional programming tools for NumPy.
28
28
  PyPI project
29
29
  [pythonic-fp-numpy](https://pypi.org/project/pythonic-fp-numpy).
30
30
  Part of the
31
- [pythonic-fp](https://grscheller.github.io/pythonic-fp/)
31
+ [pythonic-fp](https://grscheller.github.io/pythonic-fp)
32
32
  PyPI projects.
33
33
 
34
34
  ## Documentation
35
35
 
36
36
  Documentation and other links for this project are hosted on
37
- [GitHub Pages](https://grscheller.github.io/pythonic-fp/projects/numpy.html).
37
+ [GitHub Pages](https://grscheller.github.io/pythonic-fp-numpy).
38
38
 
39
39
  ### Modules
40
40
 
@@ -0,0 +1,7 @@
1
+ pythonic_fp/numpy/__init__.py,sha256=dL-LF98cK5PId82_PBhTq9iTnfZthQkCq_jBTSKKBN0,964
2
+ pythonic_fp/numpy/hashable_wrapped_ndarray.py,sha256=9iIXhF5yDZV3fKijmJjqu1toc034zXcBmLfKbVgD2oA,10811
3
+ pythonic_fp/numpy/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ pythonic_fp_numpy-6.0.0.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
5
+ pythonic_fp_numpy-6.0.0.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
6
+ pythonic_fp_numpy-6.0.0.dist-info/METADATA,sha256=VsUSJqF_xxLDvEkq7_Qirb45uuDOOYr4N-UuL9-sQ3Q,1721
7
+ pythonic_fp_numpy-6.0.0.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- pythonic_fp/numpy/__init__.py,sha256=dL-LF98cK5PId82_PBhTq9iTnfZthQkCq_jBTSKKBN0,964
2
- pythonic_fp/numpy/hashable_wrapped_ndarray.py,sha256=Y8ZKHuD_Rw754fagc1cvTztgAwtt58uu58fY5If8HCI,10798
3
- pythonic_fp/numpy/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- pythonic_fp_numpy-1.1.0.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
5
- pythonic_fp_numpy-1.1.0.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
6
- pythonic_fp_numpy-1.1.0.dist-info/METADATA,sha256=LQspFOk_n9Hc_V8PKe_LWrq8vzLMH-lzJfebdEWK34E,1751
7
- pythonic_fp_numpy-1.1.0.dist-info/RECORD,,