array-api-extra 0.2.0__tar.gz → 0.2.1.dev0__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.
- {array_api_extra-0.2.0 → array_api_extra-0.2.1.dev0}/.all-contributorsrc +22 -2
- {array_api_extra-0.2.0 → array_api_extra-0.2.1.dev0}/.github/workflows/ci.yml +3 -2
- {array_api_extra-0.2.0 → array_api_extra-0.2.1.dev0}/CONTRIBUTORS.md +13 -2
- {array_api_extra-0.2.0 → array_api_extra-0.2.1.dev0}/PKG-INFO +22 -2
- {array_api_extra-0.2.0 → array_api_extra-0.2.1.dev0}/README.md +20 -1
- array_api_extra-0.2.1.dev0/codecov.yml +4 -0
- {array_api_extra-0.2.0 → array_api_extra-0.2.1.dev0}/docs/api-reference.md +1 -0
- {array_api_extra-0.2.0 → array_api_extra-0.2.1.dev0}/docs/contributing.md +6 -1
- {array_api_extra-0.2.0 → array_api_extra-0.2.1.dev0}/docs/index.md +7 -1
- {array_api_extra-0.2.0 → array_api_extra-0.2.1.dev0}/pixi.lock +508 -327
- {array_api_extra-0.2.0 → array_api_extra-0.2.1.dev0}/pyproject.toml +23 -3
- {array_api_extra-0.2.0 → array_api_extra-0.2.1.dev0}/src/array_api_extra/__init__.py +4 -2
- {array_api_extra-0.2.0 → array_api_extra-0.2.1.dev0}/src/array_api_extra/_funcs.py +66 -9
- array_api_extra-0.2.1.dev0/src/array_api_extra/_lib/_compat.py +168 -0
- array_api_extra-0.2.1.dev0/src/array_api_extra/_lib/_typing.py +10 -0
- array_api_extra-0.2.1.dev0/src/array_api_extra/_lib/_utils.py +65 -0
- {array_api_extra-0.2.0 → array_api_extra-0.2.1.dev0}/tests/test_funcs.py +49 -13
- array_api_extra-0.2.1.dev0/tests/test_utils.py +24 -0
- {array_api_extra-0.2.0 → array_api_extra-0.2.1.dev0}/tests/test_version.py +1 -1
- array_api_extra-0.2.0/src/array_api_extra/_typing.py +0 -8
- {array_api_extra-0.2.0 → array_api_extra-0.2.1.dev0}/.gitattributes +0 -0
- {array_api_extra-0.2.0 → array_api_extra-0.2.1.dev0}/.github/dependabot.yml +0 -0
- {array_api_extra-0.2.0 → array_api_extra-0.2.1.dev0}/.github/workflows/cd.yml +0 -0
- {array_api_extra-0.2.0 → array_api_extra-0.2.1.dev0}/.github/workflows/dependabot-auto-merge.yml +0 -0
- {array_api_extra-0.2.0 → array_api_extra-0.2.1.dev0}/.github/workflows/docs-build.yml +0 -0
- {array_api_extra-0.2.0 → array_api_extra-0.2.1.dev0}/.github/workflows/docs-deploy.yml +0 -0
- {array_api_extra-0.2.0 → array_api_extra-0.2.1.dev0}/.gitignore +0 -0
- {array_api_extra-0.2.0 → array_api_extra-0.2.1.dev0}/.pre-commit-config.yaml +0 -0
- {array_api_extra-0.2.0 → array_api_extra-0.2.1.dev0}/LICENSE +0 -0
- {array_api_extra-0.2.0 → array_api_extra-0.2.1.dev0}/docs/conf.py +0 -0
- {array_api_extra-0.2.0 → array_api_extra-0.2.1.dev0}/docs/contributors.md +0 -0
- {array_api_extra-0.2.0 → array_api_extra-0.2.1.dev0}/docs/requirements.txt +0 -0
- {array_api_extra-0.2.0 → array_api_extra-0.2.1.dev0}/src/array_api_extra/py.typed +0 -0
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
"repoType": "github",
|
|
5
5
|
"repoHost": "https://github.com",
|
|
6
6
|
"files": [
|
|
7
|
-
"README.md",
|
|
7
|
+
"README.md",
|
|
8
|
+
"CONTRIBUTORS.md"
|
|
8
9
|
],
|
|
9
10
|
"imageSize": 100,
|
|
10
11
|
"commitType": "docs",
|
|
@@ -25,7 +26,8 @@
|
|
|
25
26
|
"maintenance",
|
|
26
27
|
"tool",
|
|
27
28
|
"test",
|
|
28
|
-
"bug"
|
|
29
|
+
"bug",
|
|
30
|
+
"platform"
|
|
29
31
|
]
|
|
30
32
|
},
|
|
31
33
|
{
|
|
@@ -143,6 +145,24 @@
|
|
|
143
145
|
"contributions": [
|
|
144
146
|
"code"
|
|
145
147
|
]
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"login": "OmarManzoor",
|
|
151
|
+
"name": "Omar Salman",
|
|
152
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/17495884?v=4",
|
|
153
|
+
"profile": "https://github.com/OmarManzoor",
|
|
154
|
+
"contributions": [
|
|
155
|
+
"code"
|
|
156
|
+
]
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"login": "ogrisel",
|
|
160
|
+
"name": "Olivier Grisel",
|
|
161
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/89061?v=4",
|
|
162
|
+
"profile": "https://ogrisel.com",
|
|
163
|
+
"contributions": [
|
|
164
|
+
"code"
|
|
165
|
+
]
|
|
146
166
|
}
|
|
147
167
|
]
|
|
148
168
|
}
|
|
@@ -34,10 +34,11 @@ jobs:
|
|
|
34
34
|
with:
|
|
35
35
|
pixi-version: v0.37.0
|
|
36
36
|
cache: true
|
|
37
|
-
- name: Run Pylint &
|
|
37
|
+
- name: Run Pylint, Mypy & Pyright
|
|
38
38
|
run: |
|
|
39
39
|
pixi run -e lint pylint
|
|
40
40
|
pixi run -e lint mypy
|
|
41
|
+
pixi run -e lint pyright
|
|
41
42
|
|
|
42
43
|
checks:
|
|
43
44
|
name: Check ${{ matrix.environment }}
|
|
@@ -64,6 +65,6 @@ jobs:
|
|
|
64
65
|
run: pixi run -e ${{ matrix.environment }} tests-ci
|
|
65
66
|
|
|
66
67
|
- name: Upload coverage report
|
|
67
|
-
uses: codecov/codecov-action@
|
|
68
|
+
uses: codecov/codecov-action@v5.0.7
|
|
68
69
|
with:
|
|
69
70
|
token: ${{ secrets.CODECOV_TOKEN }}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
# Contributors
|
|
2
|
+
|
|
3
|
+
This project exists thanks to the following contributors
|
|
4
|
+
([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
|
2
5
|
|
|
3
6
|
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
|
4
7
|
<!-- prettier-ignore-start -->
|
|
@@ -6,7 +9,7 @@
|
|
|
6
9
|
<table>
|
|
7
10
|
<tbody>
|
|
8
11
|
<tr>
|
|
9
|
-
<td align="center" valign="top" width="14.28%"><a href="https://lucascolley.github.io/"><img src="https://avatars.githubusercontent.com/u/51488791?v=4?s=100" width="100px;" alt="Lucas Colley"/><br /><sub><b>Lucas Colley</b></sub></a><br /><a href="https://github.com/data-apis/array-api-extra/commits?author=lucascolley" title="Code">💻</a> <a href="https://github.com/data-apis/array-api-extra/commits?author=lucascolley" title="Documentation">📖</a> <a href="#example-lucascolley" title="Examples">💡</a> <a href="#ideas-lucascolley" title="Ideas, Planning, & Feedback">🤔</a> <a href="#infra-lucascolley" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#maintenance-lucascolley" title="Maintenance">🚧</a> <a href="#tool-lucascolley" title="Tools">🔧</a> <a href="https://github.com/data-apis/array-api-extra/commits?author=lucascolley" title="Tests">⚠️</a> <a href="https://github.com/data-apis/array-api-extra/issues?q=author%3Alucascolley" title="Bug reports">🐛</a></td>
|
|
12
|
+
<td align="center" valign="top" width="14.28%"><a href="https://lucascolley.github.io/"><img src="https://avatars.githubusercontent.com/u/51488791?v=4?s=100" width="100px;" alt="Lucas Colley"/><br /><sub><b>Lucas Colley</b></sub></a><br /><a href="https://github.com/data-apis/array-api-extra/commits?author=lucascolley" title="Code">💻</a> <a href="https://github.com/data-apis/array-api-extra/commits?author=lucascolley" title="Documentation">📖</a> <a href="#example-lucascolley" title="Examples">💡</a> <a href="#ideas-lucascolley" title="Ideas, Planning, & Feedback">🤔</a> <a href="#infra-lucascolley" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#maintenance-lucascolley" title="Maintenance">🚧</a> <a href="#tool-lucascolley" title="Tools">🔧</a> <a href="https://github.com/data-apis/array-api-extra/commits?author=lucascolley" title="Tests">⚠️</a> <a href="https://github.com/data-apis/array-api-extra/issues?q=author%3Alucascolley" title="Bug reports">🐛</a> <a href="#platform-lucascolley" title="Packaging/porting to new platform">📦</a></td>
|
|
10
13
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/mdhaber"><img src="https://avatars.githubusercontent.com/u/6570539?v=4?s=100" width="100px;" alt="Matt Haberland"/><br /><sub><b>Matt Haberland</b></sub></a><br /><a href="https://github.com/data-apis/array-api-extra/commits?author=mdhaber" title="Code">💻</a> <a href="#ideas-mdhaber" title="Ideas, Planning, & Feedback">🤔</a></td>
|
|
11
14
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/j-bowhay"><img src="https://avatars.githubusercontent.com/u/60778417?v=4?s=100" width="100px;" alt="Jake Bowhay"/><br /><sub><b>Jake Bowhay</b></sub></a><br /><a href="https://github.com/data-apis/array-api-extra/commits?author=j-bowhay" title="Code">💻</a> <a href="https://github.com/data-apis/array-api-extra/pulls?q=is%3Apr+reviewed-by%3Aj-bowhay" title="Reviewed Pull Requests">👀</a></td>
|
|
12
15
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/asmeurer"><img src="https://avatars.githubusercontent.com/u/71486?v=4?s=100" width="100px;" alt="Aaron Meurer"/><br /><sub><b>Aaron Meurer</b></sub></a><br /><a href="https://github.com/data-apis/array-api-extra/pulls?q=is%3Apr+reviewed-by%3Aasmeurer" title="Reviewed Pull Requests">👀</a> <a href="#ideas-asmeurer" title="Ideas, Planning, & Feedback">🤔</a> <a href="#infra-asmeurer" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a></td>
|
|
@@ -21,6 +24,10 @@
|
|
|
21
24
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/izaid"><img src="https://avatars.githubusercontent.com/u/482179?v=4?s=100" width="100px;" alt="Irwin Zaid"/><br /><sub><b>Irwin Zaid</b></sub></a><br /><a href="#ideas-izaid" title="Ideas, Planning, & Feedback">🤔</a></td>
|
|
22
25
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/jakirkham"><img src="https://avatars.githubusercontent.com/u/3019665?v=4?s=100" width="100px;" alt="jakirkham"/><br /><sub><b>jakirkham</b></sub></a><br /><a href="https://github.com/data-apis/array-api-extra/commits?author=jakirkham" title="Code">💻</a> <a href="https://github.com/data-apis/array-api-extra/pulls?q=is%3Apr+reviewed-by%3Ajakirkham" title="Reviewed Pull Requests">👀</a></td>
|
|
23
26
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/tupui"><img src="https://avatars.githubusercontent.com/u/23188539?v=4?s=100" width="100px;" alt="Pamphile Roy"/><br /><sub><b>Pamphile Roy</b></sub></a><br /><a href="https://github.com/data-apis/array-api-extra/commits?author=tupui" title="Code">💻</a></td>
|
|
27
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/OmarManzoor"><img src="https://avatars.githubusercontent.com/u/17495884?v=4?s=100" width="100px;" alt="Omar Salman"/><br /><sub><b>Omar Salman</b></sub></a><br /><a href="https://github.com/data-apis/array-api-extra/commits?author=OmarManzoor" title="Code">💻</a></td>
|
|
28
|
+
</tr>
|
|
29
|
+
<tr>
|
|
30
|
+
<td align="center" valign="top" width="14.28%"><a href="https://ogrisel.com"><img src="https://avatars.githubusercontent.com/u/89061?v=4?s=100" width="100px;" alt="Olivier Grisel"/><br /><sub><b>Olivier Grisel</b></sub></a><br /><a href="https://github.com/data-apis/array-api-extra/commits?author=ogrisel" title="Code">💻</a></td>
|
|
24
31
|
</tr>
|
|
25
32
|
</tbody>
|
|
26
33
|
</table>
|
|
@@ -29,3 +36,7 @@
|
|
|
29
36
|
<!-- prettier-ignore-end -->
|
|
30
37
|
|
|
31
38
|
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
|
39
|
+
|
|
40
|
+
We follow the
|
|
41
|
+
[all-contributors](https://github.com/all-contributors/all-contributors)
|
|
42
|
+
specification. Contributions of any kind welcome!
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: array-api-extra
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.1.dev0
|
|
4
4
|
Summary: Extra array functions built on top of the array API standard.
|
|
5
5
|
Project-URL: Homepage, https://github.com/data-apis/array-api-extra
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/data-apis/array-api-extra/issues
|
|
@@ -41,6 +41,7 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
41
41
|
Classifier: Programming Language :: Python :: 3.13
|
|
42
42
|
Classifier: Typing :: Typed
|
|
43
43
|
Requires-Python: >=3.10
|
|
44
|
+
Requires-Dist: typing-extensions
|
|
44
45
|
Provides-Extra: docs
|
|
45
46
|
Requires-Dist: furo>=2023.08.17; extra == 'docs'
|
|
46
47
|
Requires-Dist: myst-parser>=0.13; extra == 'docs'
|
|
@@ -60,6 +61,8 @@ Description-Content-Type: text/markdown
|
|
|
60
61
|
[![docs - here!][docs-badge]][docs-link]
|
|
61
62
|
[](https://pixi.sh)
|
|
62
63
|
[](#contributors)
|
|
64
|
+
[](https://scientific-python.org/specs/)
|
|
65
|
+
[](https://codecov.io/github/data-apis/array-api-extra)
|
|
63
66
|
|
|
64
67
|
[![PyPI version][pypi-version]][pypi-link]
|
|
65
68
|
[![Conda-Forge][conda-badge]][conda-link]
|
|
@@ -84,15 +87,24 @@ Description-Content-Type: text/markdown
|
|
|
84
87
|
|
|
85
88
|
Extra array functions built on top of the array API standard.
|
|
86
89
|
|
|
90
|
+
Used by:
|
|
91
|
+
|
|
92
|
+
- [SciPy](https://github.com/scipy/scipy) - Fundamental algorithms for
|
|
93
|
+
scientific computing.
|
|
94
|
+
- ...
|
|
95
|
+
|
|
87
96
|
## Contributors
|
|
88
97
|
|
|
98
|
+
This project exists thanks to the following contributors
|
|
99
|
+
([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
|
100
|
+
|
|
89
101
|
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
|
90
102
|
<!-- prettier-ignore-start -->
|
|
91
103
|
<!-- markdownlint-disable -->
|
|
92
104
|
<table>
|
|
93
105
|
<tbody>
|
|
94
106
|
<tr>
|
|
95
|
-
<td align="center" valign="top" width="14.28%"><a href="https://lucascolley.github.io/"><img src="https://avatars.githubusercontent.com/u/51488791?v=4?s=100" width="100px;" alt="Lucas Colley"/><br /><sub><b>Lucas Colley</b></sub></a><br /><a href="https://github.com/data-apis/array-api-extra/commits?author=lucascolley" title="Code">💻</a> <a href="https://github.com/data-apis/array-api-extra/commits?author=lucascolley" title="Documentation">📖</a> <a href="#example-lucascolley" title="Examples">💡</a> <a href="#ideas-lucascolley" title="Ideas, Planning, & Feedback">🤔</a> <a href="#infra-lucascolley" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#maintenance-lucascolley" title="Maintenance">🚧</a> <a href="#tool-lucascolley" title="Tools">🔧</a> <a href="https://github.com/data-apis/array-api-extra/commits?author=lucascolley" title="Tests">⚠️</a> <a href="https://github.com/data-apis/array-api-extra/issues?q=author%3Alucascolley" title="Bug reports">🐛</a></td>
|
|
107
|
+
<td align="center" valign="top" width="14.28%"><a href="https://lucascolley.github.io/"><img src="https://avatars.githubusercontent.com/u/51488791?v=4?s=100" width="100px;" alt="Lucas Colley"/><br /><sub><b>Lucas Colley</b></sub></a><br /><a href="https://github.com/data-apis/array-api-extra/commits?author=lucascolley" title="Code">💻</a> <a href="https://github.com/data-apis/array-api-extra/commits?author=lucascolley" title="Documentation">📖</a> <a href="#example-lucascolley" title="Examples">💡</a> <a href="#ideas-lucascolley" title="Ideas, Planning, & Feedback">🤔</a> <a href="#infra-lucascolley" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#maintenance-lucascolley" title="Maintenance">🚧</a> <a href="#tool-lucascolley" title="Tools">🔧</a> <a href="https://github.com/data-apis/array-api-extra/commits?author=lucascolley" title="Tests">⚠️</a> <a href="https://github.com/data-apis/array-api-extra/issues?q=author%3Alucascolley" title="Bug reports">🐛</a> <a href="#platform-lucascolley" title="Packaging/porting to new platform">📦</a></td>
|
|
96
108
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/mdhaber"><img src="https://avatars.githubusercontent.com/u/6570539?v=4?s=100" width="100px;" alt="Matt Haberland"/><br /><sub><b>Matt Haberland</b></sub></a><br /><a href="https://github.com/data-apis/array-api-extra/commits?author=mdhaber" title="Code">💻</a> <a href="#ideas-mdhaber" title="Ideas, Planning, & Feedback">🤔</a></td>
|
|
97
109
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/j-bowhay"><img src="https://avatars.githubusercontent.com/u/60778417?v=4?s=100" width="100px;" alt="Jake Bowhay"/><br /><sub><b>Jake Bowhay</b></sub></a><br /><a href="https://github.com/data-apis/array-api-extra/commits?author=j-bowhay" title="Code">💻</a> <a href="https://github.com/data-apis/array-api-extra/pulls?q=is%3Apr+reviewed-by%3Aj-bowhay" title="Reviewed Pull Requests">👀</a></td>
|
|
98
110
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/asmeurer"><img src="https://avatars.githubusercontent.com/u/71486?v=4?s=100" width="100px;" alt="Aaron Meurer"/><br /><sub><b>Aaron Meurer</b></sub></a><br /><a href="https://github.com/data-apis/array-api-extra/pulls?q=is%3Apr+reviewed-by%3Aasmeurer" title="Reviewed Pull Requests">👀</a> <a href="#ideas-asmeurer" title="Ideas, Planning, & Feedback">🤔</a> <a href="#infra-asmeurer" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a></td>
|
|
@@ -107,6 +119,10 @@ Extra array functions built on top of the array API standard.
|
|
|
107
119
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/izaid"><img src="https://avatars.githubusercontent.com/u/482179?v=4?s=100" width="100px;" alt="Irwin Zaid"/><br /><sub><b>Irwin Zaid</b></sub></a><br /><a href="#ideas-izaid" title="Ideas, Planning, & Feedback">🤔</a></td>
|
|
108
120
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/jakirkham"><img src="https://avatars.githubusercontent.com/u/3019665?v=4?s=100" width="100px;" alt="jakirkham"/><br /><sub><b>jakirkham</b></sub></a><br /><a href="https://github.com/data-apis/array-api-extra/commits?author=jakirkham" title="Code">💻</a> <a href="https://github.com/data-apis/array-api-extra/pulls?q=is%3Apr+reviewed-by%3Ajakirkham" title="Reviewed Pull Requests">👀</a></td>
|
|
109
121
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/tupui"><img src="https://avatars.githubusercontent.com/u/23188539?v=4?s=100" width="100px;" alt="Pamphile Roy"/><br /><sub><b>Pamphile Roy</b></sub></a><br /><a href="https://github.com/data-apis/array-api-extra/commits?author=tupui" title="Code">💻</a></td>
|
|
122
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/OmarManzoor"><img src="https://avatars.githubusercontent.com/u/17495884?v=4?s=100" width="100px;" alt="Omar Salman"/><br /><sub><b>Omar Salman</b></sub></a><br /><a href="https://github.com/data-apis/array-api-extra/commits?author=OmarManzoor" title="Code">💻</a></td>
|
|
123
|
+
</tr>
|
|
124
|
+
<tr>
|
|
125
|
+
<td align="center" valign="top" width="14.28%"><a href="https://ogrisel.com"><img src="https://avatars.githubusercontent.com/u/89061?v=4?s=100" width="100px;" alt="Olivier Grisel"/><br /><sub><b>Olivier Grisel</b></sub></a><br /><a href="https://github.com/data-apis/array-api-extra/commits?author=ogrisel" title="Code">💻</a></td>
|
|
110
126
|
</tr>
|
|
111
127
|
</tbody>
|
|
112
128
|
</table>
|
|
@@ -115,3 +131,7 @@ Extra array functions built on top of the array API standard.
|
|
|
115
131
|
<!-- prettier-ignore-end -->
|
|
116
132
|
|
|
117
133
|
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
|
134
|
+
|
|
135
|
+
We follow the
|
|
136
|
+
[all-contributors](https://github.com/all-contributors/all-contributors)
|
|
137
|
+
specification. Contributions of any kind welcome!
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
[![docs - here!][docs-badge]][docs-link]
|
|
5
5
|
[](https://pixi.sh)
|
|
6
6
|
[](#contributors)
|
|
7
|
+
[](https://scientific-python.org/specs/)
|
|
8
|
+
[](https://codecov.io/github/data-apis/array-api-extra)
|
|
7
9
|
|
|
8
10
|
[![PyPI version][pypi-version]][pypi-link]
|
|
9
11
|
[![Conda-Forge][conda-badge]][conda-link]
|
|
@@ -28,15 +30,24 @@
|
|
|
28
30
|
|
|
29
31
|
Extra array functions built on top of the array API standard.
|
|
30
32
|
|
|
33
|
+
Used by:
|
|
34
|
+
|
|
35
|
+
- [SciPy](https://github.com/scipy/scipy) - Fundamental algorithms for
|
|
36
|
+
scientific computing.
|
|
37
|
+
- ...
|
|
38
|
+
|
|
31
39
|
## Contributors
|
|
32
40
|
|
|
41
|
+
This project exists thanks to the following contributors
|
|
42
|
+
([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
|
43
|
+
|
|
33
44
|
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
|
34
45
|
<!-- prettier-ignore-start -->
|
|
35
46
|
<!-- markdownlint-disable -->
|
|
36
47
|
<table>
|
|
37
48
|
<tbody>
|
|
38
49
|
<tr>
|
|
39
|
-
<td align="center" valign="top" width="14.28%"><a href="https://lucascolley.github.io/"><img src="https://avatars.githubusercontent.com/u/51488791?v=4?s=100" width="100px;" alt="Lucas Colley"/><br /><sub><b>Lucas Colley</b></sub></a><br /><a href="https://github.com/data-apis/array-api-extra/commits?author=lucascolley" title="Code">💻</a> <a href="https://github.com/data-apis/array-api-extra/commits?author=lucascolley" title="Documentation">📖</a> <a href="#example-lucascolley" title="Examples">💡</a> <a href="#ideas-lucascolley" title="Ideas, Planning, & Feedback">🤔</a> <a href="#infra-lucascolley" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#maintenance-lucascolley" title="Maintenance">🚧</a> <a href="#tool-lucascolley" title="Tools">🔧</a> <a href="https://github.com/data-apis/array-api-extra/commits?author=lucascolley" title="Tests">⚠️</a> <a href="https://github.com/data-apis/array-api-extra/issues?q=author%3Alucascolley" title="Bug reports">🐛</a></td>
|
|
50
|
+
<td align="center" valign="top" width="14.28%"><a href="https://lucascolley.github.io/"><img src="https://avatars.githubusercontent.com/u/51488791?v=4?s=100" width="100px;" alt="Lucas Colley"/><br /><sub><b>Lucas Colley</b></sub></a><br /><a href="https://github.com/data-apis/array-api-extra/commits?author=lucascolley" title="Code">💻</a> <a href="https://github.com/data-apis/array-api-extra/commits?author=lucascolley" title="Documentation">📖</a> <a href="#example-lucascolley" title="Examples">💡</a> <a href="#ideas-lucascolley" title="Ideas, Planning, & Feedback">🤔</a> <a href="#infra-lucascolley" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#maintenance-lucascolley" title="Maintenance">🚧</a> <a href="#tool-lucascolley" title="Tools">🔧</a> <a href="https://github.com/data-apis/array-api-extra/commits?author=lucascolley" title="Tests">⚠️</a> <a href="https://github.com/data-apis/array-api-extra/issues?q=author%3Alucascolley" title="Bug reports">🐛</a> <a href="#platform-lucascolley" title="Packaging/porting to new platform">📦</a></td>
|
|
40
51
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/mdhaber"><img src="https://avatars.githubusercontent.com/u/6570539?v=4?s=100" width="100px;" alt="Matt Haberland"/><br /><sub><b>Matt Haberland</b></sub></a><br /><a href="https://github.com/data-apis/array-api-extra/commits?author=mdhaber" title="Code">💻</a> <a href="#ideas-mdhaber" title="Ideas, Planning, & Feedback">🤔</a></td>
|
|
41
52
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/j-bowhay"><img src="https://avatars.githubusercontent.com/u/60778417?v=4?s=100" width="100px;" alt="Jake Bowhay"/><br /><sub><b>Jake Bowhay</b></sub></a><br /><a href="https://github.com/data-apis/array-api-extra/commits?author=j-bowhay" title="Code">💻</a> <a href="https://github.com/data-apis/array-api-extra/pulls?q=is%3Apr+reviewed-by%3Aj-bowhay" title="Reviewed Pull Requests">👀</a></td>
|
|
42
53
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/asmeurer"><img src="https://avatars.githubusercontent.com/u/71486?v=4?s=100" width="100px;" alt="Aaron Meurer"/><br /><sub><b>Aaron Meurer</b></sub></a><br /><a href="https://github.com/data-apis/array-api-extra/pulls?q=is%3Apr+reviewed-by%3Aasmeurer" title="Reviewed Pull Requests">👀</a> <a href="#ideas-asmeurer" title="Ideas, Planning, & Feedback">🤔</a> <a href="#infra-asmeurer" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a></td>
|
|
@@ -51,6 +62,10 @@ Extra array functions built on top of the array API standard.
|
|
|
51
62
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/izaid"><img src="https://avatars.githubusercontent.com/u/482179?v=4?s=100" width="100px;" alt="Irwin Zaid"/><br /><sub><b>Irwin Zaid</b></sub></a><br /><a href="#ideas-izaid" title="Ideas, Planning, & Feedback">🤔</a></td>
|
|
52
63
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/jakirkham"><img src="https://avatars.githubusercontent.com/u/3019665?v=4?s=100" width="100px;" alt="jakirkham"/><br /><sub><b>jakirkham</b></sub></a><br /><a href="https://github.com/data-apis/array-api-extra/commits?author=jakirkham" title="Code">💻</a> <a href="https://github.com/data-apis/array-api-extra/pulls?q=is%3Apr+reviewed-by%3Ajakirkham" title="Reviewed Pull Requests">👀</a></td>
|
|
53
64
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/tupui"><img src="https://avatars.githubusercontent.com/u/23188539?v=4?s=100" width="100px;" alt="Pamphile Roy"/><br /><sub><b>Pamphile Roy</b></sub></a><br /><a href="https://github.com/data-apis/array-api-extra/commits?author=tupui" title="Code">💻</a></td>
|
|
65
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/OmarManzoor"><img src="https://avatars.githubusercontent.com/u/17495884?v=4?s=100" width="100px;" alt="Omar Salman"/><br /><sub><b>Omar Salman</b></sub></a><br /><a href="https://github.com/data-apis/array-api-extra/commits?author=OmarManzoor" title="Code">💻</a></td>
|
|
66
|
+
</tr>
|
|
67
|
+
<tr>
|
|
68
|
+
<td align="center" valign="top" width="14.28%"><a href="https://ogrisel.com"><img src="https://avatars.githubusercontent.com/u/89061?v=4?s=100" width="100px;" alt="Olivier Grisel"/><br /><sub><b>Olivier Grisel</b></sub></a><br /><a href="https://github.com/data-apis/array-api-extra/commits?author=ogrisel" title="Code">💻</a></td>
|
|
54
69
|
</tr>
|
|
55
70
|
</tbody>
|
|
56
71
|
</table>
|
|
@@ -59,3 +74,7 @@ Extra array functions built on top of the array API standard.
|
|
|
59
74
|
<!-- prettier-ignore-end -->
|
|
60
75
|
|
|
61
76
|
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
|
77
|
+
|
|
78
|
+
We follow the
|
|
79
|
+
[all-contributors](https://github.com/all-contributors/all-contributors)
|
|
80
|
+
specification. Contributions of any kind welcome!
|
|
@@ -2,10 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Contributions are welcome from any "array-consuming" library contributors who
|
|
4
4
|
have found themselves writing private array-agnostic functions in the process of
|
|
5
|
-
converting code to consume the standard
|
|
5
|
+
converting code to consume the standard.
|
|
6
|
+
|
|
7
|
+
Thanks to [all contributors](contributors.md) so far!
|
|
6
8
|
|
|
7
9
|
## How to contribute a function
|
|
8
10
|
|
|
11
|
+
- [Open an issue](https://github.com/data-apis/array-api-extra/issues/new) to
|
|
12
|
+
propose the new function.
|
|
9
13
|
- Add the implementation of your function to `src/array_api_extra/_funcs.py`.
|
|
10
14
|
- Ensure that your function includes type annotations and a
|
|
11
15
|
[numpydoc-style docstring](https://numpydoc.readthedocs.io/en/latest/format.html).
|
|
@@ -75,6 +79,7 @@ pixi run ipython
|
|
|
75
79
|
pixi run pre-commit
|
|
76
80
|
pixi run pylint
|
|
77
81
|
pixi run mypy
|
|
82
|
+
pixi run pyright
|
|
78
83
|
```
|
|
79
84
|
|
|
80
85
|
Alternative environments are available with a subset of the dependencies and
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
```{toctree}
|
|
4
4
|
:maxdepth: 2
|
|
5
5
|
:hidden:
|
|
6
|
-
|
|
6
|
+
self
|
|
7
7
|
api-reference.md
|
|
8
8
|
contributing.md
|
|
9
9
|
contributors.md
|
|
@@ -19,6 +19,12 @@ tools which provide _extra_ functionality on top of the array API standard,
|
|
|
19
19
|
which other array-consuming libraries in a similar position have found useful
|
|
20
20
|
themselves.
|
|
21
21
|
|
|
22
|
+
It is currently used by:
|
|
23
|
+
|
|
24
|
+
- [SciPy](https://github.com/scipy/scipy) - Fundamental algorithms for
|
|
25
|
+
scientific computing.
|
|
26
|
+
- ...
|
|
27
|
+
|
|
22
28
|
(installation)=
|
|
23
29
|
|
|
24
30
|
## Installation
|