arraykit 0.4.10__tar.gz → 0.5.0__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 (24) hide show
  1. {arraykit-0.4.10/arraykit.egg-info → arraykit-0.5.0}/PKG-INFO +11 -9
  2. {arraykit-0.4.10 → arraykit-0.5.0}/README.rst +15 -0
  3. {arraykit-0.4.10 → arraykit-0.5.0/arraykit.egg-info}/PKG-INFO +11 -9
  4. {arraykit-0.4.10 → arraykit-0.5.0}/arraykit.egg-info/SOURCES.txt +2 -0
  5. {arraykit-0.4.10 → arraykit-0.5.0}/setup.py +2 -2
  6. arraykit-0.5.0/src/__init__.pyi +140 -0
  7. arraykit-0.5.0/src/py.typed +0 -0
  8. {arraykit-0.4.10 → arraykit-0.5.0}/LICENSE.txt +0 -0
  9. {arraykit-0.4.10 → arraykit-0.5.0}/MANIFEST.in +0 -0
  10. {arraykit-0.4.10 → arraykit-0.5.0}/arraykit.egg-info/dependency_links.txt +0 -0
  11. {arraykit-0.4.10 → arraykit-0.5.0}/arraykit.egg-info/requires.txt +0 -0
  12. {arraykit-0.4.10 → arraykit-0.5.0}/arraykit.egg-info/top_level.txt +0 -0
  13. {arraykit-0.4.10 → arraykit-0.5.0}/setup.cfg +0 -0
  14. {arraykit-0.4.10 → arraykit-0.5.0}/src/__init__.py +0 -0
  15. {arraykit-0.4.10 → arraykit-0.5.0}/src/_arraykit.c +0 -0
  16. {arraykit-0.4.10 → arraykit-0.5.0}/test/test_array_go.py +0 -0
  17. {arraykit-0.4.10 → arraykit-0.5.0}/test/test_block_index.py +0 -0
  18. {arraykit-0.4.10 → arraykit-0.5.0}/test/test_delimited_to_arrays.py +0 -0
  19. {arraykit-0.4.10 → arraykit-0.5.0}/test/test_delimited_to_arrays_integration.py +0 -0
  20. {arraykit-0.4.10 → arraykit-0.5.0}/test/test_delimited_to_arrays_property.py +0 -0
  21. {arraykit-0.4.10 → arraykit-0.5.0}/test/test_pyi.py +0 -0
  22. {arraykit-0.4.10 → arraykit-0.5.0}/test/test_split_after_count.py +0 -0
  23. {arraykit-0.4.10 → arraykit-0.5.0}/test/test_type_discovery.py +0 -0
  24. {arraykit-0.4.10 → arraykit-0.5.0}/test/test_util.py +0 -0
@@ -1,18 +1,11 @@
1
- Metadata-Version: 1.2
1
+ Metadata-Version: 2.1
2
2
  Name: arraykit
3
- Version: 0.4.10
3
+ Version: 0.5.0
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
7
7
  License: MIT
8
- Description: The ArrayKit library provides utilities for creating and transforming NumPy arrays, implementing performance-critical StaticFrame operations as Python C extensions.
9
-
10
- Code: https://github.com/static-frame/arraykit
11
-
12
- Packages: https://pypi.org/project/arraykit
13
-
14
8
  Keywords: numpy array
15
- Platform: UNKNOWN
16
9
  Classifier: Development Status :: 5 - Production/Stable
17
10
  Classifier: Intended Audience :: Developers
18
11
  Classifier: Topic :: Software Development
@@ -24,4 +17,13 @@ Classifier: Programming Language :: Python :: 3.8
24
17
  Classifier: Programming Language :: Python :: 3.9
25
18
  Classifier: Programming Language :: Python :: 3.10
26
19
  Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
27
21
  Requires-Python: >=3.8
22
+ License-File: LICENSE.txt
23
+ Requires-Dist: numpy>=1.19.5
24
+
25
+ The ArrayKit library provides utilities for creating and transforming NumPy arrays, implementing performance-critical StaticFrame operations as Python C extensions.
26
+
27
+ Code: https://github.com/static-frame/arraykit
28
+
29
+ Packages: https://pypi.org/project/arraykit
@@ -37,6 +37,21 @@ ArrayKit requires the following:
37
37
  What is New in ArrayKit
38
38
  -------------------------
39
39
 
40
+
41
+ 0.5.0
42
+ ............
43
+
44
+ Now building wheels for 3.12.
45
+
46
+ Now building functional wheels for Mac OS ``arm64`` / Apple Silicon.
47
+
48
+
49
+ 0.4.11
50
+ ............
51
+
52
+ Updated types in ``pyi`` file.
53
+
54
+
40
55
  0.4.10
41
56
  ............
42
57
 
@@ -1,18 +1,11 @@
1
- Metadata-Version: 1.2
1
+ Metadata-Version: 2.1
2
2
  Name: arraykit
3
- Version: 0.4.10
3
+ Version: 0.5.0
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
7
7
  License: MIT
8
- Description: The ArrayKit library provides utilities for creating and transforming NumPy arrays, implementing performance-critical StaticFrame operations as Python C extensions.
9
-
10
- Code: https://github.com/static-frame/arraykit
11
-
12
- Packages: https://pypi.org/project/arraykit
13
-
14
8
  Keywords: numpy array
15
- Platform: UNKNOWN
16
9
  Classifier: Development Status :: 5 - Production/Stable
17
10
  Classifier: Intended Audience :: Developers
18
11
  Classifier: Topic :: Software Development
@@ -24,4 +17,13 @@ Classifier: Programming Language :: Python :: 3.8
24
17
  Classifier: Programming Language :: Python :: 3.9
25
18
  Classifier: Programming Language :: Python :: 3.10
26
19
  Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
27
21
  Requires-Python: >=3.8
22
+ License-File: LICENSE.txt
23
+ Requires-Dist: numpy>=1.19.5
24
+
25
+ The ArrayKit library provides utilities for creating and transforming NumPy arrays, implementing performance-critical StaticFrame operations as Python C extensions.
26
+
27
+ Code: https://github.com/static-frame/arraykit
28
+
29
+ Packages: https://pypi.org/project/arraykit
@@ -8,7 +8,9 @@ arraykit.egg-info/dependency_links.txt
8
8
  arraykit.egg-info/requires.txt
9
9
  arraykit.egg-info/top_level.txt
10
10
  src/__init__.py
11
+ src/__init__.pyi
11
12
  src/_arraykit.c
13
+ src/py.typed
12
14
  test/test_array_go.py
13
15
  test/test_block_index.py
14
16
  test/test_delimited_to_arrays.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.4.10'
8
+ AK_VERSION = '0.5.0'
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.
@@ -39,7 +39,6 @@ ak_extension = Extension(
39
39
  libraries=['npymath'], # not including mlib at this time
40
40
  )
41
41
 
42
-
43
42
  setup(
44
43
  name='arraykit',
45
44
  version=AK_VERSION,
@@ -63,6 +62,7 @@ setup(
63
62
  'Programming Language :: Python :: 3.9',
64
63
  'Programming Language :: Python :: 3.10',
65
64
  'Programming Language :: Python :: 3.11',
65
+ 'Programming Language :: Python :: 3.12',
66
66
  ],
67
67
  keywords='numpy array',
68
68
  packages=['arraykit'],
@@ -0,0 +1,140 @@
1
+ import typing as tp
2
+ import datetime
3
+
4
+ import numpy as np # type: ignore
5
+
6
+ _T = tp.TypeVar('_T')
7
+
8
+ __version__: str
9
+
10
+ _TLabel = tp.Union[
11
+ tp.Hashable,
12
+ int,
13
+ bool,
14
+ np.bool_,
15
+ np.integer,
16
+ float,
17
+ complex,
18
+ np.inexact,
19
+ str,
20
+ bytes,
21
+ None,
22
+ np.datetime64,
23
+ np.timedelta64,
24
+ datetime.date,
25
+ datetime.datetime,
26
+ tp.Tuple['_TLabel'],
27
+ ]
28
+
29
+ class ErrorInitTypeBlocks(RuntimeError):
30
+ def __init__(self, *args: tp.Any, **kwargs: tp.Any) -> None: ...
31
+ def with_traceback(self, tb: Exception) -> Exception: ...
32
+ def __setstate__(self) -> None: ...
33
+
34
+ class ArrayGO:
35
+
36
+ values: np.ndarray
37
+ def __init__(
38
+ self, iterable: tp.Iterable[object], *, own_iterable: bool = ...
39
+ ) -> None: ...
40
+ def __iter__(self) -> tp.Iterator[tp.Any]: ...
41
+ def __getitem__(self, __key: object) -> tp.Any: ...
42
+ def __len__(self) -> int: ...
43
+ def __getnewargs__(self) -> tp.Tuple[np.ndarray]: ...
44
+ def append(self, __value: object) -> None: ...
45
+ def copy(self: _T) -> _T: ...
46
+ def extend(self, __values: tp.Iterable[object]) -> None: ...
47
+
48
+ class BlockIndex:
49
+ shape: tp.Tuple[int, int]
50
+ dtype: np.dtype
51
+ rows: int
52
+ columns: int
53
+
54
+ def __init__(
55
+ block_count: int = 0,
56
+ row_count: int = -1,
57
+ bir_count: int = 0,
58
+ bir_capacity: int = 8,
59
+ bir_bytes: bytes = b'',
60
+ dtype: np.dtype = None,
61
+ ) -> None: ...
62
+ def register(self, __value: np.ndarray) -> bool: ...
63
+ def to_list(self,) -> tp.List[tp.Tuple[int, int]]: ...
64
+ def to_bytes(self,) -> bytes: ...
65
+ def copy(self,) -> 'BlockIndex': ...
66
+ def __len__(self,) -> int: ...
67
+ def __iter__(self,) -> tp.Iterator[tp.Tuple[int, int]]: ...
68
+ def __reversed__(self,) -> tp.Iterator[tp.Tuple[int, int]]: ...
69
+ def __getitem__(self, __key: int) -> tp.Tuple[int, int]: ...
70
+ def __getstate__(self,) -> tp.Tuple[int, int, int, int, bytes]: ...
71
+ def __setstate__(self, state: tp.Tuple[int, int, int, int, bytes]) -> None: ...
72
+ def get_block(self, __key: int) -> int: ...
73
+ def get_column(self, __key: int) -> int: ...
74
+ def iter_select(self,
75
+ __key: tp.Union[slice, np.ndarray, tp.List[int]],
76
+ ) -> tp.Iterator[tp.Tuple[int, int]]: ...
77
+ def iter_contiguous(self,
78
+ __key: tp.Union[slice, np.ndarray, tp.List[int]],
79
+ *,
80
+ ascending: bool = False,
81
+ reduce: bool = False,
82
+ ) -> tp.Iterator[tp.Tuple[int, tp.Union[slice, int]]]: ...
83
+ def iter_block(self) -> tp.Iterator[tp.Tuple[int, slice]]: ...
84
+
85
+ def iterable_str_to_array_1d(
86
+ iterable: tp.Iterable[str],
87
+ *,
88
+ dtype: tp.Optional[tp.Any] = None,
89
+ thousandschar: str = ',',
90
+ decimalchar: str = '.',
91
+ ) -> np.ndarray: ...
92
+
93
+ def delimited_to_arrays(
94
+ file_like: tp.Iterable[str],
95
+ *,
96
+ axis: int = 0,
97
+ dtypes: tp.Optional[tp.Callable[[int], tp.Any]] = None,
98
+ line_select: tp.Optional[tp.Callable[[int], bool]] = None,
99
+ delimiter: str = ',',
100
+ doublequote: bool = True,
101
+ escapechar: tp.Optional[str] = '',
102
+ quotechar: tp.Optional[str] = '"',
103
+ quoting: int = 0,
104
+ skipinitialspace: bool = False,
105
+ strict: bool = False,
106
+ thousandschar: str = ',',
107
+ decimalchar: str = '.',
108
+ ) -> tp.List[np.array]: ...
109
+
110
+ def split_after_count(
111
+ string: str,
112
+ *,
113
+ delimiter: str = ',',
114
+ count: int = 0,
115
+ doublequote: bool = True,
116
+ escapechar: tp.Optional[str] = '',
117
+ quotechar: tp.Optional[str] = '"',
118
+ quoting: int = 0,
119
+ strict: bool = False,
120
+ ) -> tp.Tuple[str, str]: ...
121
+
122
+ def count_iteration(__iterable: tp.Iterable) -> int: ...
123
+
124
+ def immutable_filter(__array: np.ndarray) -> np.ndarray: ...
125
+ def mloc(__array: np.ndarray) -> int: ...
126
+ def name_filter(__name: _TLabel) -> _TLabel: ...
127
+ def shape_filter(__array: np.ndarray) -> np.ndarray: ...
128
+ def column_2d_filter(__array: np.ndarray) -> np.ndarray: ...
129
+ def column_1d_filter(__array: np.ndarray) -> np.ndarray: ...
130
+ def row_1d_filter(__array: np.ndarray) -> np.ndarray: ...
131
+ def array_deepcopy(__array: np.ndarray, memo: tp.Optional[tp.Dict[int, tp.Any]]) -> np.ndarray: ...
132
+ def resolve_dtype(__d1: np.dtype, __d2: np.dtype) -> np.dtype: ...
133
+ def resolve_dtype_iter(__dtypes: tp.Iterable[np.dtype]) -> np.dtype: ...
134
+ def isna_element(__value: tp.Any, include_none: bool = True) -> bool: ...
135
+ def dtype_from_element(__value: tp.Optional[_TLabel]) -> np.dtype: ...
136
+ def get_new_indexers_and_screen(indexers: np.ndarray, positions: np.ndarray) -> tp.Tuple[np.ndarray, np.ndarray]: ...
137
+
138
+ def first_true_1d(__array: np.ndarray, *, forward: bool) -> int: ...
139
+ def first_true_2d(__array: np.ndarray, *, forward: bool, axis: int) -> np.ndarray: ...
140
+ def slice_to_ascending_slice(__slice: slice, __size: int) -> slice: ...
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes