arraykit 0.6.0__tar.gz → 0.6.2__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 (27) hide show
  1. {arraykit-0.6.0/arraykit.egg-info → arraykit-0.6.2}/PKG-INFO +1 -1
  2. {arraykit-0.6.0 → arraykit-0.6.2}/README.rst +16 -0
  3. {arraykit-0.6.0 → arraykit-0.6.2/arraykit.egg-info}/PKG-INFO +1 -1
  4. {arraykit-0.6.0 → arraykit-0.6.2}/arraykit.egg-info/SOURCES.txt +2 -0
  5. {arraykit-0.6.0 → arraykit-0.6.2}/setup.py +1 -1
  6. {arraykit-0.6.0 → arraykit-0.6.2}/src/__init__.py +1 -0
  7. {arraykit-0.6.0 → arraykit-0.6.2}/src/__init__.pyi +2 -0
  8. {arraykit-0.6.0 → arraykit-0.6.2}/src/_arraykit.c +769 -313
  9. arraykit-0.6.2/test/test_nonzero_1d.py +101 -0
  10. arraykit-0.6.2/test/test_nonzero_1d_property.py +32 -0
  11. {arraykit-0.6.0 → arraykit-0.6.2}/test/test_tri_map.py +245 -9
  12. {arraykit-0.6.0 → arraykit-0.6.2}/LICENSE.txt +0 -0
  13. {arraykit-0.6.0 → arraykit-0.6.2}/MANIFEST.in +0 -0
  14. {arraykit-0.6.0 → arraykit-0.6.2}/arraykit.egg-info/dependency_links.txt +0 -0
  15. {arraykit-0.6.0 → arraykit-0.6.2}/arraykit.egg-info/requires.txt +0 -0
  16. {arraykit-0.6.0 → arraykit-0.6.2}/arraykit.egg-info/top_level.txt +0 -0
  17. {arraykit-0.6.0 → arraykit-0.6.2}/setup.cfg +0 -0
  18. {arraykit-0.6.0 → arraykit-0.6.2}/src/py.typed +0 -0
  19. {arraykit-0.6.0 → arraykit-0.6.2}/test/test_array_go.py +0 -0
  20. {arraykit-0.6.0 → arraykit-0.6.2}/test/test_block_index.py +0 -0
  21. {arraykit-0.6.0 → arraykit-0.6.2}/test/test_delimited_to_arrays.py +0 -0
  22. {arraykit-0.6.0 → arraykit-0.6.2}/test/test_delimited_to_arrays_integration.py +0 -0
  23. {arraykit-0.6.0 → arraykit-0.6.2}/test/test_delimited_to_arrays_property.py +0 -0
  24. {arraykit-0.6.0 → arraykit-0.6.2}/test/test_pyi.py +0 -0
  25. {arraykit-0.6.0 → arraykit-0.6.2}/test/test_split_after_count.py +0 -0
  26. {arraykit-0.6.0 → arraykit-0.6.2}/test/test_type_discovery.py +0 -0
  27. {arraykit-0.6.0 → arraykit-0.6.2}/test/test_util.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: arraykit
3
- Version: 0.6.0
3
+ Version: 0.6.2
4
4
  Summary: Array utilities for StaticFrame
5
5
  Home-page: https://github.com/static-frame/arraykit
6
6
  Author: Christopher Ariza, Brandt Bucher, Charles Burkland
@@ -37,6 +37,22 @@ ArrayKit requires the following:
37
37
  What is New in ArrayKit
38
38
  -------------------------
39
39
 
40
+ 0.6.2
41
+ ............
42
+
43
+ Extended ``nonzero_1d()`` to support non-contiguous arrays,
44
+
45
+ Optimizations to ``TriMap`` when mapping to object and flexible dtypes.
46
+
47
+
48
+ 0.6.1
49
+ ............
50
+
51
+ Enhancements and optimizations to ``TriMap``.
52
+
53
+ Added ``nonzero_1d()``.
54
+
55
+
40
56
  0.6.0
41
57
  ............
42
58
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: arraykit
3
- Version: 0.6.0
3
+ Version: 0.6.2
4
4
  Summary: Array utilities for StaticFrame
5
5
  Home-page: https://github.com/static-frame/arraykit
6
6
  Author: Christopher Ariza, Brandt Bucher, Charles Burkland
@@ -16,6 +16,8 @@ test/test_block_index.py
16
16
  test/test_delimited_to_arrays.py
17
17
  test/test_delimited_to_arrays_integration.py
18
18
  test/test_delimited_to_arrays_property.py
19
+ test/test_nonzero_1d.py
20
+ test/test_nonzero_1d_property.py
19
21
  test/test_pyi.py
20
22
  test/test_split_after_count.py
21
23
  test/test_tri_map.py
@@ -5,7 +5,7 @@ from setuptools import Extension # type: ignore
5
5
  from setuptools import setup
6
6
  from pathlib import Path
7
7
 
8
- AK_VERSION = '0.6.0'
8
+ AK_VERSION = '0.6.2'
9
9
 
10
10
  def get_long_description() -> str:
11
11
  return '''The ArrayKit library provides utilities for creating and transforming NumPy arrays, implementing performance-critical StaticFrame operations as Python C extensions.
@@ -28,3 +28,4 @@ from ._arraykit import count_iteration as count_iteration
28
28
  from ._arraykit import first_true_1d as first_true_1d
29
29
  from ._arraykit import first_true_2d as first_true_2d
30
30
  from ._arraykit import slice_to_ascending_slice as slice_to_ascending_slice
31
+ from ._arraykit import nonzero_1d as nonzero_1d
@@ -50,6 +50,7 @@ class TriMap:
50
50
  def register_one(self, src_from: int, dst_from: int) -> None: ...
51
51
  def register_unmatched_dst(self) -> None: ...
52
52
  def register_many(self, src_from: int, dst_from: np.ndarray) -> None: ...
53
+ def finalize(self) -> None: ...
53
54
  def is_many(self) -> bool: ...
54
55
  def src_no_fill(self) -> bool: ...
55
56
  def dst_no_fill(self) -> bool: ...
@@ -158,4 +159,5 @@ def get_new_indexers_and_screen(indexers: np.ndarray, positions: np.ndarray) ->
158
159
 
159
160
  def first_true_1d(__array: np.ndarray, *, forward: bool) -> int: ...
160
161
  def first_true_2d(__array: np.ndarray, *, forward: bool, axis: int) -> np.ndarray: ...
162
+ def nonzero_1d(__array: np.ndarray, /) -> np.ndarray: ...
161
163
  def slice_to_ascending_slice(__slice: slice, __size: int) -> slice: ...