awkward-cpp 45__cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_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 awkward-cpp might be problematic. Click here for more details.

@@ -0,0 +1,22 @@
1
+ # BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE
2
+
3
+ from __future__ import annotations
4
+
5
+ import ctypes
6
+ import importlib.resources as importlib_resources
7
+ import platform
8
+
9
+ import awkward_cpp._kernel_signatures
10
+
11
+ if platform.system() == "Windows":
12
+ name = "awkward-cpu-kernels.dll"
13
+ elif platform.system() == "Darwin":
14
+ name = "libawkward-cpu-kernels.dylib"
15
+ else:
16
+ name = "libawkward-cpu-kernels.so"
17
+
18
+ libpath_ref = importlib_resources.files(awkward_cpp) / "lib" / name
19
+ with importlib_resources.as_file(libpath_ref) as libpath:
20
+ lib = ctypes.cdll.LoadLibrary(str(libpath))
21
+
22
+ kernel = awkward_cpp._kernel_signatures.by_signature(lib)
Binary file
@@ -0,0 +1,186 @@
1
+ # BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE
2
+
3
+ from __future__ import annotations
4
+
5
+ import ctypes
6
+ import importlib.resources as importlib_resources
7
+ import platform
8
+
9
+ if platform.system() == "Windows":
10
+ name = "awkward.dll"
11
+ elif platform.system() == "Darwin":
12
+ name = "libawkward.dylib"
13
+ else:
14
+ name = "libawkward.so"
15
+
16
+ libpath_ref = importlib_resources.files(__package__) / "lib" / name
17
+ with importlib_resources.as_file(libpath_ref) as libpath:
18
+ lib = ctypes.cdll.LoadLibrary(str(libpath))
19
+
20
+ # bool awkward_ArrayBuilder_length(void* arraybuilder,
21
+ # int64_t* result);
22
+ ArrayBuilder_length = lib.awkward_ArrayBuilder_length
23
+ ArrayBuilder_length.name = "ArrayBuilder.length"
24
+ ArrayBuilder_length.argtypes = [ctypes.c_voidp, ctypes.POINTER(ctypes.c_int64)]
25
+ ArrayBuilder_length.restype = ctypes.c_uint8
26
+
27
+ # bool awkward_ArrayBuilder_clear(void* arraybuilder);
28
+ ArrayBuilder_clear = lib.awkward_ArrayBuilder_clear
29
+ ArrayBuilder_clear.name = "ArrayBuilder.clear"
30
+ ArrayBuilder_clear.argtypes = [ctypes.c_voidp]
31
+ ArrayBuilder_clear.restype = ctypes.c_uint8
32
+
33
+ # bool awkward_ArrayBuilder_null(void* arraybuilder);
34
+ ArrayBuilder_null = lib.awkward_ArrayBuilder_null
35
+ ArrayBuilder_null.name = "ArrayBuilder.null"
36
+ ArrayBuilder_null.argtypes = [ctypes.c_voidp]
37
+ ArrayBuilder_null.restype = ctypes.c_uint8
38
+
39
+ # bool awkward_ArrayBuilder_boolean(void* arraybuilder,
40
+ # bool x);
41
+ ArrayBuilder_boolean = lib.awkward_ArrayBuilder_boolean
42
+ ArrayBuilder_boolean.name = "ArrayBuilder.boolean"
43
+ ArrayBuilder_boolean.argtypes = [ctypes.c_voidp, ctypes.c_uint8]
44
+ ArrayBuilder_boolean.restype = ctypes.c_uint8
45
+
46
+ # bool awkward_ArrayBuilder_integer(void* arraybuilder,
47
+ # int64_t x);
48
+ ArrayBuilder_integer = lib.awkward_ArrayBuilder_integer
49
+ ArrayBuilder_integer.name = "ArrayBuilder.integer"
50
+ ArrayBuilder_integer.argtypes = [ctypes.c_voidp, ctypes.c_int64]
51
+ ArrayBuilder_integer.restype = ctypes.c_uint8
52
+
53
+ # bool awkward_ArrayBuilder_real(void* arraybuilder,
54
+ # double x);
55
+ ArrayBuilder_real = lib.awkward_ArrayBuilder_real
56
+ ArrayBuilder_real.name = "ArrayBuilder.real"
57
+ ArrayBuilder_real.argtypes = [ctypes.c_voidp, ctypes.c_double]
58
+ ArrayBuilder_real.restype = ctypes.c_uint8
59
+
60
+ # bool awkward_ArrayBuilder_complex(void* arraybuilder,
61
+ # double real,
62
+ # double imag);
63
+ ArrayBuilder_complex = lib.awkward_ArrayBuilder_complex
64
+ ArrayBuilder_complex.name = "ArrayBuilder.complex"
65
+ ArrayBuilder_complex.argtypes = [ctypes.c_voidp, ctypes.c_double, ctypes.c_double]
66
+ ArrayBuilder_complex.restype = ctypes.c_uint8
67
+
68
+ # bool awkward_ArrayBuilder_datetime(void* arraybuilder,
69
+ # int64_t x,
70
+ # const char* unit);
71
+ ArrayBuilder_datetime = lib.awkward_ArrayBuilder_datetime
72
+ ArrayBuilder_datetime.name = "ArrayBuilder.datetime"
73
+ ArrayBuilder_datetime.argtypes = [ctypes.c_voidp, ctypes.c_int64, ctypes.c_voidp]
74
+ ArrayBuilder_datetime.restype = ctypes.c_uint8
75
+
76
+ # bool awkward_ArrayBuilder_timedelta(void* arraybuilder,
77
+ # int64_t x,
78
+ # const char* unit);
79
+ ArrayBuilder_timedelta = lib.awkward_ArrayBuilder_timedelta
80
+ ArrayBuilder_timedelta.name = "ArrayBuilder.timedelta"
81
+ ArrayBuilder_timedelta.argtypes = [ctypes.c_voidp, ctypes.c_int64, ctypes.c_voidp]
82
+ ArrayBuilder_timedelta.restype = ctypes.c_uint8
83
+
84
+ # bool awkward_ArrayBuilder_bytestring(void* arraybuilder,
85
+ # const char* unit);
86
+ ArrayBuilder_bytestring = lib.awkward_ArrayBuilder_bytestring
87
+ ArrayBuilder_bytestring.name = "ArrayBuilder.bytestring"
88
+ ArrayBuilder_bytestring.argtypes = [ctypes.c_voidp, ctypes.c_voidp]
89
+ ArrayBuilder_bytestring.restype = ctypes.c_uint8
90
+
91
+ # bool awkward_ArrayBuilder_bytestring_length(void* arraybuilder,
92
+ # const char* unit);
93
+ ArrayBuilder_bytestring_length = lib.awkward_ArrayBuilder_bytestring_length
94
+ ArrayBuilder_bytestring_length.name = "ArrayBuilder.bytestring_length"
95
+ ArrayBuilder_bytestring_length.argtypes = [
96
+ ctypes.c_voidp,
97
+ ctypes.c_voidp,
98
+ ctypes.c_int64,
99
+ ]
100
+ ArrayBuilder_bytestring_length.restype = ctypes.c_uint8
101
+
102
+ # bool awkward_ArrayBuilder_string(void* arraybuilder,
103
+ # const char* unit);
104
+ ArrayBuilder_string = lib.awkward_ArrayBuilder_string
105
+ ArrayBuilder_string.name = "ArrayBuilder.string"
106
+ ArrayBuilder_string.argtypes = [ctypes.c_voidp, ctypes.c_voidp]
107
+ ArrayBuilder_string.restype = ctypes.c_uint8
108
+
109
+ # bool awkward_ArrayBuilder_string_length(void* arraybuilder,
110
+ # const char* unit);
111
+ ArrayBuilder_string_length = lib.awkward_ArrayBuilder_string_length
112
+ ArrayBuilder_string_length.name = "ArrayBuilder.string_length"
113
+ ArrayBuilder_string_length.argtypes = [ctypes.c_voidp, ctypes.c_voidp, ctypes.c_int64]
114
+ ArrayBuilder_string_length.restype = ctypes.c_uint8
115
+
116
+ # bool awkward_ArrayBuilder_beginlist(void* arraybuilder);
117
+ ArrayBuilder_beginlist = lib.awkward_ArrayBuilder_beginlist
118
+ ArrayBuilder_beginlist.name = "ArrayBuilder.beginlist"
119
+ ArrayBuilder_beginlist.argtypes = [ctypes.c_voidp]
120
+ ArrayBuilder_beginlist.restype = ctypes.c_uint8
121
+
122
+ # bool awkward_ArrayBuilder_endlist(void* arraybuilder);
123
+ ArrayBuilder_endlist = lib.awkward_ArrayBuilder_endlist
124
+ ArrayBuilder_endlist.name = "ArrayBuilder.endlist"
125
+ ArrayBuilder_endlist.argtypes = [ctypes.c_voidp]
126
+ ArrayBuilder_endlist.restype = ctypes.c_uint8
127
+
128
+ # uint8_t awkward_ArrayBuilder_begintuple(void* arraybuilder,
129
+ # int64_t numfields);
130
+ ArrayBuilder_begintuple = lib.awkward_ArrayBuilder_begintuple
131
+ ArrayBuilder_begintuple.name = "ArrayBuilder.begintuple"
132
+ ArrayBuilder_begintuple.argtypes = [ctypes.c_voidp, ctypes.c_int64]
133
+ ArrayBuilder_begintuple.restype = ctypes.c_uint8
134
+
135
+ # uint8_t awkward_ArrayBuilder_index(void* arraybuilder,
136
+ # int64_t index);
137
+ ArrayBuilder_index = lib.awkward_ArrayBuilder_index
138
+ ArrayBuilder_index.name = "ArrayBuilder.index"
139
+ ArrayBuilder_index.argtypes = [ctypes.c_voidp, ctypes.c_int64]
140
+ ArrayBuilder_index.restype = ctypes.c_uint8
141
+
142
+ # uint8_t awkward_ArrayBuilder_endtuple(void* arraybuilder);
143
+ ArrayBuilder_endtuple = lib.awkward_ArrayBuilder_endtuple
144
+ ArrayBuilder_endtuple.name = "ArrayBuilder.endtuple"
145
+ ArrayBuilder_endtuple.argtypes = [ctypes.c_voidp]
146
+ ArrayBuilder_endtuple.restype = ctypes.c_uint8
147
+
148
+ # uint8_t awkward_ArrayBuilder_beginrecord(void* arraybuilder);
149
+ ArrayBuilder_beginrecord = lib.awkward_ArrayBuilder_beginrecord
150
+ ArrayBuilder_beginrecord.name = "ArrayBuilder.beginrecord"
151
+ ArrayBuilder_beginrecord.argtypes = [ctypes.c_voidp]
152
+ ArrayBuilder_beginrecord.restype = ctypes.c_uint8
153
+
154
+ # uint8_t awkward_ArrayBuilder_beginrecord_fast(void* arraybuilder,
155
+ # const char* name);
156
+ ArrayBuilder_beginrecord_fast = lib.awkward_ArrayBuilder_beginrecord_fast
157
+ ArrayBuilder_beginrecord_fast.name = "ArrayBuilder.beginrecord_fast"
158
+ ArrayBuilder_beginrecord_fast.argtypes = [ctypes.c_voidp, ctypes.c_voidp]
159
+ ArrayBuilder_beginrecord_fast.restype = ctypes.c_uint8
160
+
161
+ # uint8_t awkward_ArrayBuilder_beginrecord_check(void* arraybuilder,
162
+ # const char* name);
163
+ ArrayBuilder_beginrecord_check = lib.awkward_ArrayBuilder_beginrecord_check
164
+ ArrayBuilder_beginrecord_check.name = "ArrayBuilder.beginrecord_check"
165
+ ArrayBuilder_beginrecord_check.argtypes = [ctypes.c_voidp, ctypes.c_voidp]
166
+ ArrayBuilder_beginrecord_check.restype = ctypes.c_uint8
167
+
168
+ # uint8_t awkward_ArrayBuilder_field_fast(void* arraybuilder,
169
+ # const char* key);
170
+ ArrayBuilder_field_fast = lib.awkward_ArrayBuilder_field_fast
171
+ ArrayBuilder_field_fast.name = "ArrayBuilder.field_fast"
172
+ ArrayBuilder_field_fast.argtypes = [ctypes.c_voidp, ctypes.c_voidp]
173
+ ArrayBuilder_field_fast.restype = ctypes.c_uint8
174
+
175
+ # uint8_t awkward_ArrayBuilder_field_check(void* arraybuilder,
176
+ # const char* key);
177
+ ArrayBuilder_field_check = lib.awkward_ArrayBuilder_field_check
178
+ ArrayBuilder_field_check.name = "ArrayBuilder.field_check"
179
+ ArrayBuilder_field_check.argtypes = [ctypes.c_voidp, ctypes.c_voidp]
180
+ ArrayBuilder_field_check.restype = ctypes.c_uint8
181
+
182
+ # uint8_t awkward_ArrayBuilder_endrecord(void* arraybuilder);
183
+ ArrayBuilder_endrecord = lib.awkward_ArrayBuilder_endrecord
184
+ ArrayBuilder_endrecord.name = "ArrayBuilder.endrecord"
185
+ ArrayBuilder_endrecord.argtypes = [ctypes.c_voidp]
186
+ ArrayBuilder_endrecord.restype = ctypes.c_uint8
@@ -0,0 +1,43 @@
1
+ Metadata-Version: 2.1
2
+ Name: awkward_cpp
3
+ Version: 45
4
+ Summary: CPU kernels and compiled extensions for Awkward Array
5
+ Author-Email: Jim Pivarski <jpivarski@gmail.com>
6
+ Maintainer-Email: Scikit-HEP <scikit-hep-admins@googlegroups.com>
7
+ License: BSD-3-Clause
8
+ Classifier: Development Status :: 5 - Production/Stable
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: Intended Audience :: Information Technology
11
+ Classifier: Intended Audience :: Science/Research
12
+ Classifier: License :: OSI Approved :: BSD License
13
+ Classifier: Operating System :: MacOS :: MacOS X
14
+ Classifier: Operating System :: Microsoft :: Windows
15
+ Classifier: Operating System :: POSIX :: Linux
16
+ Classifier: Operating System :: Unix
17
+ Classifier: Programming Language :: Python
18
+ Classifier: Programming Language :: Python :: 3 :: Only
19
+ Classifier: Programming Language :: Python :: 3
20
+ Classifier: Programming Language :: Python :: 3.9
21
+ Classifier: Programming Language :: Python :: 3.10
22
+ Classifier: Programming Language :: Python :: 3.11
23
+ Classifier: Programming Language :: Python :: 3.12
24
+ Classifier: Topic :: Scientific/Engineering
25
+ Classifier: Topic :: Scientific/Engineering :: Information Analysis
26
+ Classifier: Topic :: Scientific/Engineering :: Mathematics
27
+ Classifier: Topic :: Scientific/Engineering :: Physics
28
+ Classifier: Topic :: Software Development
29
+ Classifier: Topic :: Utilities
30
+ Project-URL: Homepage, https://github.com/scikit-hep/awkward-1.0
31
+ Project-URL: Documentation, https://awkward-array.org
32
+ Project-URL: Source Code, https://github.com/scikit-hep/awkward-1.0
33
+ Project-URL: Bug Tracker, https://github.com/scikit-hep/awkward-1.0/issues
34
+ Project-URL: Discussions, https://github.com/scikit-hep/awkward-1.0/discussions
35
+ Project-URL: Chat, https://gitter.im/Scikit-HEP/awkward-array
36
+ Project-URL: Releases, https://github.com/scikit-hep/awkward-1.0/releases
37
+ Requires-Python: >=3.9
38
+ Requires-Dist: numpy>=1.18.0
39
+ Description-Content-Type: text/markdown
40
+
41
+ # `awkward-cpp`
42
+
43
+ `awkward-cpp` provides precompiled routines for the `awkward` package. It is not useful on its own, only as a dependency for `awkward `.
@@ -0,0 +1,11 @@
1
+ awkward_cpp/__init__.py,sha256=malu6jtLO0A1MbePF1n7_OHQ7TWYMMRJA9gcjpFsEAs,196
2
+ awkward_cpp/_kernel_signatures.py,sha256=VAtG1VJNq80QKlOVUBZQkk_RFeZ7Y_STE19EAMIvnXM,119666
3
+ awkward_cpp/cpu_kernels.py,sha256=tNi7C--EPxx3Vp98RTSrztvSdaxW80Ou4dVvGS9WluU,670
4
+ awkward_cpp/libawkward.py,sha256=nGvLxsZAuYKaxEMwAm4LnNrm1BPp9LDGTtBbFAd5Ccw,8616
5
+ awkward_cpp/lib/_ext.cpython-313t-x86_64-linux-gnu.so,sha256=DR78alMkyCZ5kwo6jw7HD2yYvgiYOgt7UERgSztoqsc,401816
6
+ awkward_cpp/lib/libawkward-cpu-kernels.so,sha256=o03gjcjPyIhg5qRmoXblVEoB38I1jHIrf_6vUAbudO0,641296
7
+ awkward_cpp/lib/libawkward.so,sha256=FJByuLWJ413pYKLWmmX2xagHyNgcUvoztS078lHEpvA,1095392
8
+ awkward_cpp-45.dist-info/METADATA,sha256=5tQlz8UFuWMfSUQ4ZmdpZ4b133s7DFRug4Hb04xzYWA,2069
9
+ awkward_cpp-45.dist-info/WHEEL,sha256=PTIDMDUjLf9Rjo9akkglAo-zL-Re0Ixolf_YGKb07u4,158
10
+ awkward_cpp-45.dist-info/RECORD,,
11
+ awkward_cpp-45.dist-info/licenses/LICENSE,sha256=8F5OAD_PpZAb4NOYgFqGU6oelSEEM-AOiaTFUoSRtOY,1520
@@ -0,0 +1,6 @@
1
+ Wheel-Version: 1.0
2
+ Generator: scikit-build-core 0.11.0
3
+ Root-Is-Purelib: false
4
+ Tag: cp313-cp313t-manylinux_2_17_x86_64
5
+ Tag: cp313-cp313t-manylinux2014_x86_64
6
+
@@ -0,0 +1,29 @@
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2019, Jim Pivarski
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions are met:
8
+
9
+ 1. Redistributions of source code must retain the above copyright notice, this
10
+ list of conditions and the following disclaimer.
11
+
12
+ 2. Redistributions in binary form must reproduce the above copyright notice,
13
+ this list of conditions and the following disclaimer in the documentation
14
+ and/or other materials provided with the distribution.
15
+
16
+ 3. Neither the name of the copyright holder nor the names of its
17
+ contributors may be used to endorse or promote products derived from
18
+ this software without specific prior written permission.
19
+
20
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.