Typing Stubs for SciPy
Project description
scipy-stubs
Typing stubs for SciPy.
Installation
pip install scipy-stubs
Development Status
scipy._ |
ruff & flake8-pyi |
stubtest |
basedmypy |
basedpyright |
phase |
---|---|---|---|---|---|
_lib |
✔️ | ✔️ | ✔️ | ✔️ | 🌕 |
cluster |
✔️ | ✔️ | ✔️ | ✔️ | 🌕 |
constants |
✔️ | ✔️ | ✔️ | ✔️ | 🌝 |
datasets |
✔️ | ✔️ | ✔️ | ✔️ | 🌝 |
fft |
✔️ | ✔️ | ✔️ | ✔️ | 🌔 |
fftpack |
✔️ | ✔️ | ✔️ | ✔️ | 🌔 |
integrate |
✔️ | ✔️ | ✔️ | ✔️ | 🌔 |
interpolate |
✔️ | ✔️ | ✔️ | ✔️ | 🌓 |
io |
✔️ | ✔️ | ✔️ | ✔️ | 🌕 |
linalg |
✔️ | ✔️ | ✔️ | ✔️ | 🌕 |
misc |
✔️ | ✔️ | ✔️ | ✔️ | 🌕 |
ndimage |
✔️ | ✔️ | ✔️ | ✔️ | 🌕 |
odr |
✔️ | ✔️ | ✔️ | ✔️ | 🌕 |
optimize |
✔️ | ✔️ | ✔️ | ✔️ | 🌓 |
signal |
✔️ | ✔️ | ✔️ | ✔️ | 🌒 |
sparse |
✔️ | ✔️ | ✔️ | ✔️ | 🌒 |
spatial |
✔️ | ✔️ | ✔️ | ✔️ | 🌕 |
special |
✔️ | ✔️ | ✔️ | ✔️ | 🌓 |
stats |
✔️ | ✔️ | ✔️ | ✔️ | 🌕 |
Version Compatibility
Type-checkers
For validation and testing, scipy-stubs
primarily uses basedmypy
(a mypy
fork)
and basedpyright
(a pyright
fork).
They are in generally stricter than mypy
and pyright
, so you can assume compatibility with mypy
and pyright
as well.
But if you find that this isn't the case, then don't hesitate to open an issue or submit a pull request.
Required dependencies
The versioning scheme of scipy-stubs
includes the compatible scipy
version as {scipy_version}.{stubs_version}
.
Even though scipy-stubs
doesn't enforce an upper bound on the scipy
version, later scipy
versions aren't guaranteed to be
fully compatible.
Apart from scipy
's own dependencies, (e.g. numpy
), the only other required dependency is
optype
, which itself only depends on typing_extensions
.
The exact version requirements are specified in the pyproject.toml
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file scipy_stubs-1.14.1.2.tar.gz
.
File metadata
- Download URL: scipy_stubs-1.14.1.2.tar.gz
- Upload date:
- Size: 207.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.12.7 Linux/6.9.3-76060903-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25f76cc7643359b0700a01b93c1b8376526a358f57e299fae09c4ac400b31203 |
|
MD5 | 5b4908f75261a8943d655631246d50e6 |
|
BLAKE2b-256 | 10654543be71c5bb1959e5d0fee05f5a4359feca6c293af3e7e1b635ae559593 |
File details
Details for the file scipy_stubs-1.14.1.2-py3-none-any.whl
.
File metadata
- Download URL: scipy_stubs-1.14.1.2-py3-none-any.whl
- Upload date:
- Size: 358.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.12.7 Linux/6.9.3-76060903-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3afd67f5f82c3717a340c0b69ef4ce87d7691170f5cef8ee8b54e05946fe3448 |
|
MD5 | d1a6dd0caa363fd65b611c6f32fab7ea |
|
BLAKE2b-256 | 46c2bdcd413d83f9c70a580ef3d07fd4f7eb49ef539e3ae33603d62326d932c6 |