Skip to main content

Typing Stubs for SciPy

Project description

scipy-stubs

Typing stubs for SciPy.

scipy-stubs - PyPI scipy-stubs - Python Versions scipy-stubs - dependencies scipy-stubs - license

scipy-stubs - CI scipy-stubs - pre-commit scipy-stubs - basedmypy scipy-stubs - basedpyright scipy-stubs - ruff


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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scipy_stubs-1.14.1.3.tar.gz (213.9 kB view details)

Uploaded Source

Built Distribution

scipy_stubs-1.14.1.3-py3-none-any.whl (367.7 kB view details)

Uploaded Python 3

File details

Details for the file scipy_stubs-1.14.1.3.tar.gz.

File metadata

  • Download URL: scipy_stubs-1.14.1.3.tar.gz
  • Upload date:
  • Size: 213.9 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

Hashes for scipy_stubs-1.14.1.3.tar.gz
Algorithm Hash digest
SHA256 5859a835287624f2eaa4375c054057f24b1f642d357f6c6fbebef709df3df575
MD5 cddd1d09b647ec4cd60b3237355d0794
BLAKE2b-256 dbe0b7b469f0fe0fe21436e9a866b0cf7f9ab436918ec37a3d1ce16a7f79441f

See more details on using hashes here.

File details

Details for the file scipy_stubs-1.14.1.3-py3-none-any.whl.

File metadata

  • Download URL: scipy_stubs-1.14.1.3-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

Hashes for scipy_stubs-1.14.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 821e5bb5adbc758ab2933a758d6a40d97c532b62df0e2b054e9ab9dbd7421c6c
MD5 599ebddb992601f974502d105813fc70
BLAKE2b-256 550035c05caea48fef95a641135a06acd4829ca8a38aa2267fee2c778a119517

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page