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 :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :full_moon:
cluster :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :full_moon:
constants :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :full_moon_with_face:
datasets :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :full_moon_with_face:
fft :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :waxing_crescent_moon:
fftpack :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :waxing_gibbous_moon:
integrate :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :waxing_gibbous_moon:
interpolate :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :first_quarter_moon:
io :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :full_moon:
linalg :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :full_moon:
misc :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :full_moon:
ndimage :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :full_moon:
odr :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :full_moon:
optimize :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :first_quarter_moon:
signal :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :waxing_crescent_moon:
sparse :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :waxing_crescent_moon:
spatial :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :full_moon:
special :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :first_quarter_moon:
stats :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :waxing_gibbous_moon:

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.1.tar.gz (200.2 kB view hashes)

Uploaded Source

Built Distribution

scipy_stubs-1.14.1.1-py3-none-any.whl (350.3 kB view hashes)

Uploaded Python 3

Supported by

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