types-array-api 1.1.4__tar.gz → 1.1.5__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.
- {types_array_api-1.1.4/src/types_array_api.egg-info → types_array_api-1.1.5}/PKG-INFO +2 -2
- {types_array_api-1.1.4 → types_array_api-1.1.5}/pyproject.toml +2 -2
- {types_array_api-1.1.4 → types_array_api-1.1.5}/src/array_api/_2022_12.py +1 -1
- {types_array_api-1.1.4 → types_array_api-1.1.5}/src/array_api/_2023_12.py +1 -1
- {types_array_api-1.1.4 → types_array_api-1.1.5}/src/array_api/_2024_12.py +2 -3
- types_array_api-1.1.5/src/array_api/__init__.py +1 -0
- {types_array_api-1.1.4 → types_array_api-1.1.5}/src/array_api/_draft.py +2 -3
- {types_array_api-1.1.4 → types_array_api-1.1.5}/src/array_api/cli/_main.py +1 -1
- {types_array_api-1.1.4 → types_array_api-1.1.5/src/types_array_api.egg-info}/PKG-INFO +2 -2
- types_array_api-1.1.4/src/array_api/__init__.py +0 -1
- {types_array_api-1.1.4 → types_array_api-1.1.5}/LICENSE +0 -0
- {types_array_api-1.1.4 → types_array_api-1.1.5}/LICENSE-MIT +0 -0
- {types_array_api-1.1.4 → types_array_api-1.1.5}/README.md +0 -0
- {types_array_api-1.1.4 → types_array_api-1.1.5}/setup.cfg +0 -0
- {types_array_api-1.1.4 → types_array_api-1.1.5}/setup.py +0 -0
- {types_array_api-1.1.4 → types_array_api-1.1.5}/src/array_api/__main__.py +0 -0
- {types_array_api-1.1.4 → types_array_api-1.1.5}/src/array_api/cli/__init__.py +0 -0
- {types_array_api-1.1.4 → types_array_api-1.1.5}/src/array_api/cli/cli.py +0 -0
- {types_array_api-1.1.4 → types_array_api-1.1.5}/src/array_api/py.typed +0 -0
- {types_array_api-1.1.4 → types_array_api-1.1.5}/src/array_api_compat/__init__.pyi +0 -0
- {types_array_api-1.1.4 → types_array_api-1.1.5}/src/types_array_api.egg-info/SOURCES.txt +0 -0
- {types_array_api-1.1.4 → types_array_api-1.1.5}/src/types_array_api.egg-info/dependency_links.txt +0 -0
- {types_array_api-1.1.4 → types_array_api-1.1.5}/src/types_array_api.egg-info/entry_points.txt +0 -0
- {types_array_api-1.1.4 → types_array_api-1.1.5}/src/types_array_api.egg-info/requires.txt +0 -0
- {types_array_api-1.1.4 → types_array_api-1.1.5}/src/types_array_api.egg-info/top_level.txt +0 -0
- {types_array_api-1.1.4 → types_array_api-1.1.5}/tests/test_cli.py +0 -0
- {types_array_api-1.1.4 → types_array_api-1.1.5}/tests/test_dunder_main.py +0 -0
- {types_array_api-1.1.4 → types_array_api-1.1.5}/tests/test_main.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: types-array-api
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.5
|
|
4
4
|
Summary: Typing for array API and array-api-compat
|
|
5
5
|
Author-email: 34j <34j.95a2p@simplelogin.com>
|
|
6
6
|
License-Expression: MIT AND Apache-2.0
|
|
@@ -18,7 +18,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
18
18
|
Classifier: Programming Language :: Python :: 3.12
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.13
|
|
20
20
|
Classifier: Topic :: Software Development :: Libraries
|
|
21
|
-
Requires-Python: >=3.
|
|
21
|
+
Requires-Python: >=3.12
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
23
|
License-File: LICENSE
|
|
24
24
|
License-File: LICENSE-MIT
|
|
@@ -4,14 +4,14 @@ requires = [ "setuptools" ]
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "types-array-api"
|
|
7
|
-
version = "1.1.
|
|
7
|
+
version = "1.1.5"
|
|
8
8
|
description = "Typing for array API and array-api-compat"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = "MIT AND Apache-2.0"
|
|
11
11
|
authors = [
|
|
12
12
|
{ name = "34j", email = "34j.95a2p@simplelogin.com" },
|
|
13
13
|
]
|
|
14
|
-
requires-python = ">=3.
|
|
14
|
+
requires-python = ">=3.12"
|
|
15
15
|
classifiers = [
|
|
16
16
|
"Development Status :: 2 - Pre-Alpha",
|
|
17
17
|
"Intended Audience :: Developers",
|
|
@@ -8,18 +8,17 @@ from types import EllipsisType as ellipsis
|
|
|
8
8
|
from typing import (
|
|
9
9
|
Any,
|
|
10
10
|
Literal,
|
|
11
|
-
Optional,
|
|
12
11
|
Protocol,
|
|
12
|
+
Self,
|
|
13
13
|
TypedDict,
|
|
14
14
|
runtime_checkable,
|
|
15
15
|
)
|
|
16
16
|
|
|
17
17
|
from typing_extensions import CapsuleType as PyCapsule
|
|
18
|
-
from typing_extensions import Self
|
|
19
18
|
|
|
20
19
|
inf = float("inf")
|
|
21
20
|
|
|
22
|
-
Capabilities = TypedDict("Capabilities", {"boolean indexing": bool, "data-dependent shapes": bool, "max rank":
|
|
21
|
+
Capabilities = TypedDict("Capabilities", {"boolean indexing": bool, "data-dependent shapes": bool, "max rank": int | None})
|
|
23
22
|
|
|
24
23
|
|
|
25
24
|
class DataTypes(TypedDict, total=False):
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.1.5"
|
|
@@ -8,18 +8,17 @@ from types import EllipsisType as ellipsis
|
|
|
8
8
|
from typing import (
|
|
9
9
|
Any,
|
|
10
10
|
Literal,
|
|
11
|
-
Optional,
|
|
12
11
|
Protocol,
|
|
12
|
+
Self,
|
|
13
13
|
TypedDict,
|
|
14
14
|
runtime_checkable,
|
|
15
15
|
)
|
|
16
16
|
|
|
17
17
|
from typing_extensions import CapsuleType as PyCapsule
|
|
18
|
-
from typing_extensions import Self
|
|
19
18
|
|
|
20
19
|
inf = float("inf")
|
|
21
20
|
|
|
22
|
-
Capabilities = TypedDict("Capabilities", {"boolean indexing": bool, "data-dependent shapes": bool, "max rank":
|
|
21
|
+
Capabilities = TypedDict("Capabilities", {"boolean indexing": bool, "data-dependent shapes": bool, "max rank": int | None})
|
|
23
22
|
|
|
24
23
|
|
|
25
24
|
class DataTypes(TypedDict, total=False):
|
|
@@ -251,7 +251,7 @@ def generate(body_module: dict[str, list[ast.stmt]], out_path: Path) -> None:
|
|
|
251
251
|
# Create Protocols with __call__, representing functions
|
|
252
252
|
for submodule, body in body_module.items():
|
|
253
253
|
for i, b in enumerate(body):
|
|
254
|
-
if isinstance(b,
|
|
254
|
+
if isinstance(b, ast.Import | ast.ImportFrom):
|
|
255
255
|
pass
|
|
256
256
|
elif isinstance(b, ast.FunctionDef):
|
|
257
257
|
# implemented in object rather than Namespace
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: types-array-api
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.5
|
|
4
4
|
Summary: Typing for array API and array-api-compat
|
|
5
5
|
Author-email: 34j <34j.95a2p@simplelogin.com>
|
|
6
6
|
License-Expression: MIT AND Apache-2.0
|
|
@@ -18,7 +18,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
18
18
|
Classifier: Programming Language :: Python :: 3.12
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.13
|
|
20
20
|
Classifier: Topic :: Software Development :: Libraries
|
|
21
|
-
Requires-Python: >=3.
|
|
21
|
+
Requires-Python: >=3.12
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
23
|
License-File: LICENSE
|
|
24
24
|
License-File: LICENSE-MIT
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.1.4"
|
|
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
|
{types_array_api-1.1.4 → types_array_api-1.1.5}/src/types_array_api.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{types_array_api-1.1.4 → types_array_api-1.1.5}/src/types_array_api.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|