cobra-array 0.1.2__tar.gz → 0.1.3__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.
- {cobra_array-0.1.2/src/cobra_array.egg-info → cobra_array-0.1.3}/PKG-INFO +1 -1
- {cobra_array-0.1.2 → cobra_array-0.1.3}/src/cobra_array/__init__.py +2 -1
- {cobra_array-0.1.2 → cobra_array-0.1.3}/src/cobra_array/compat/__init__.py +1 -0
- {cobra_array-0.1.2 → cobra_array-0.1.3/src/cobra_array.egg-info}/PKG-INFO +1 -1
- {cobra_array-0.1.2 → cobra_array-0.1.3}/LICENSE +0 -0
- {cobra_array-0.1.2 → cobra_array-0.1.3}/README.md +0 -0
- {cobra_array-0.1.2 → cobra_array-0.1.3}/pyproject.toml +0 -0
- {cobra_array-0.1.2 → cobra_array-0.1.3}/setup.cfg +0 -0
- {cobra_array-0.1.2 → cobra_array-0.1.3}/src/cobra_array/_core.py +0 -0
- {cobra_array-0.1.2 → cobra_array-0.1.3}/src/cobra_array/_utils.py +0 -0
- {cobra_array-0.1.2 → cobra_array-0.1.3}/src/cobra_array/array_api.py +0 -0
- {cobra_array-0.1.2 → cobra_array-0.1.3}/src/cobra_array/compat/_array.py +0 -0
- {cobra_array-0.1.2 → cobra_array-0.1.3}/src/cobra_array/compat/_array.pyi +0 -0
- {cobra_array-0.1.2 → cobra_array-0.1.3}/src/cobra_array/compat/_base.py +0 -0
- {cobra_array-0.1.2 → cobra_array-0.1.3}/src/cobra_array/compat/_namespace.py +0 -0
- {cobra_array-0.1.2 → cobra_array-0.1.3}/src/cobra_array/compat/_namespace.pyi +0 -0
- {cobra_array-0.1.2 → cobra_array-0.1.3}/src/cobra_array/convert.py +0 -0
- {cobra_array-0.1.2 → cobra_array-0.1.3}/src/cobra_array/convert.pyi +0 -0
- {cobra_array-0.1.2 → cobra_array-0.1.3}/src/cobra_array/default.py +0 -0
- {cobra_array-0.1.2 → cobra_array-0.1.3}/src/cobra_array/exceptions.py +0 -0
- {cobra_array-0.1.2 → cobra_array-0.1.3}/src/cobra_array/types.py +0 -0
- {cobra_array-0.1.2 → cobra_array-0.1.3}/src/cobra_array.egg-info/SOURCES.txt +0 -0
- {cobra_array-0.1.2 → cobra_array-0.1.3}/src/cobra_array.egg-info/dependency_links.txt +0 -0
- {cobra_array-0.1.2 → cobra_array-0.1.3}/src/cobra_array.egg-info/requires.txt +0 -0
- {cobra_array-0.1.2 → cobra_array-0.1.3}/src/cobra_array.egg-info/top_level.txt +0 -0
- {cobra_array-0.1.2 → cobra_array-0.1.3}/tests/test_backend.py +0 -0
- {cobra_array-0.1.2 → cobra_array-0.1.3}/tests/test_compat.py +0 -0
- {cobra_array-0.1.2 → cobra_array-0.1.3}/tests/test_compat_namespace.py +0 -0
- {cobra_array-0.1.2 → cobra_array-0.1.3}/tests/test_convert.py +0 -0
- {cobra_array-0.1.2 → cobra_array-0.1.3}/tests/test_default.py +0 -0
- {cobra_array-0.1.2 → cobra_array-0.1.3}/tests/test_wrap.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cobra-array
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Summary: A backend-agnostic array utility library that unifies array conversion, context control, and cross-library operations across `NumPy`/`PyTorch`-style ecosystems.
|
|
5
5
|
Author-email: Zhen Tian <zhen.tian.cs@gmail.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/tinchen777/cobra-array.git
|
|
@@ -12,6 +12,7 @@ Modules
|
|
|
12
12
|
- :mod:`cobra_array.convert`: Utilities for converting between different array types and namespaces.
|
|
13
13
|
- :mod:`cobra_array.default`: Default utilities for array specifications and namespaces.
|
|
14
14
|
- :mod:`cobra_array.array_api`: Utilities for working with array namespaces and devices.
|
|
15
|
+
|
|
15
16
|
Functions
|
|
16
17
|
---------
|
|
17
18
|
- :func:`array_spec`: Get the array specification of an object.
|
|
@@ -83,7 +84,7 @@ from ._utils import (
|
|
|
83
84
|
)
|
|
84
85
|
|
|
85
86
|
__author__ = "Zhen Tian"
|
|
86
|
-
__version__ = "0.1.
|
|
87
|
+
__version__ = "0.1.3"
|
|
87
88
|
|
|
88
89
|
__all__ = [
|
|
89
90
|
"array_spec",
|
|
@@ -6,6 +6,7 @@ Functions
|
|
|
6
6
|
---------
|
|
7
7
|
- :func:`wrap_arraylike`: Wraps an array-like object in a :class:`CompatArray` array if it is an array API object.
|
|
8
8
|
- :func:`unwrap`: Unwraps a :class:`CompatArray` array to get the backend-specific array instance, or returns the object itself if it is not a :class:`CompatArray` array.
|
|
9
|
+
|
|
9
10
|
Classes
|
|
10
11
|
-------
|
|
11
12
|
- :class:`CompatArray`: A backend-agnostic array abstraction compliant with the `Python Array API standard`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cobra-array
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Summary: A backend-agnostic array utility library that unifies array conversion, context control, and cross-library operations across `NumPy`/`PyTorch`-style ecosystems.
|
|
5
5
|
Author-email: Zhen Tian <zhen.tian.cs@gmail.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/tinchen777/cobra-array.git
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|