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.4.tar.gz
.
File metadata
- Download URL: scipy_stubs-1.14.1.4.tar.gz
- Upload date:
- Size: 214.0 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 | 215a2c9d865e355a5c5cc088ec6d87f489a584396256113d72d7d24cfb0e889c |
|
MD5 | a323a3f3b0aa345c70364460ebdd4966 |
|
BLAKE2b-256 | 7574432fbf4677c38351f5a2f4b23800d63a00333eb65382bd839907d62ea08d |
File details
Details for the file scipy_stubs-1.14.1.4-py3-none-any.whl
.
File metadata
- Download URL: scipy_stubs-1.14.1.4-py3-none-any.whl
- Upload date:
- Size: 367.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 | 137523d0eb4936ec249ddb01a3afd172ae8ad52cef9fddffc913a32a5f71c412 |
|
MD5 | a13717ddd6ee8f381d503e03ae711901 |
|
BLAKE2b-256 | 58dc80df791d316b9d190cfc2db1b3f9283751a18a1d72ee7123d480b2f09c67 |