Skip to main content
https://github.com/jonathf/chaospy/raw/master/docs/_static/chaospy_logo.svg

circleci codecov readthedocs downloads pypi

Chaospy is a numerical toolbox designed for performing uncertainty quantification through polynomial chaos expansions and advanced Monte Carlo methods implemented in Python. It includes a comprehensive suite of tools for low-discrepancy sampling, quadrature creation, polynomial manipulations, and much more.

The philosophy behind chaospy is not to serve as a single solution for all uncertainty quantification challenges, but rather to provide specific tools that empower users to solve problems themselves. This approach accommodates well-established problems but also serves as a foundry for experimenting with new, emerging problems. Emphasis is placed on the following:

  • Focus on an easy-to-use interface that embraces the pythonic code style <https://docs.python-guide.org/writing/style/>.

  • Ensure the code is “composable,” meaning it’s designed so that users can easily and effectively modify parts of the code with their own solutions.

  • Strive to support a broad range of methods for uncertainty quantification where it makes sense to use chaospy.

  • Ensure that chaospy integrates well with a wide array of other projects, including numpy <https://numpy.org/>, scipy <https://scipy.org/>, scikit-learn <https://scikit-learn.org>, statsmodels <https://statsmodels.org/>, openturns <https://openturns.org/>, and gstools <https://geostat-framework.org/>, among others.

  • Contribute all code as open source to the community.

Installation

Installation is straightforward via pip:

pip install chaospy

Alternatively, if you prefer Conda:

conda install -c conda-forge chaospy

After installation, visit the documentation to learn how to use the toolbox.

Development

To install chaospy and its dependencies in developer mode:

pip install -e .[dev]

Testing

To run tests on your local system:

pytest --doctest-modules chaospy/ tests/ README.rst

Documentation

Ensure that pandoc is installed and available in your path to build the documentation.

From the docs/ directory, build the documentation locally using:

cd docs/
make html

Run make without arguments to view other build targets. The HTML documentation will be output to doc/.build/html.

Release files for chaospy 4.3.21

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for chaospy 4.3.21
File Size Uploaded
chaospy-4.3.21.tar.gz 169.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for chaospy 4.3.21
File Interpreter ABI Platform
chaospy-4.3.21-py3-none-any.whl Python 3 none any Details

Total release size: 423.8 kB

Release files / chaospy-4.3.21.tar.gz

Download URL chaospy-4.3.21.tar.gz
Size 169.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a7ab9bd376c5e956a5f263d5b481a0a596e49954531698cc169f0711851d5ae3
BLAKE2b-256 checksum
How to use checksums
b3e2b0bc736b4a2060b4b78448cc9e081e695c51360e73822634246e75818340
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.23

Release files / chaospy-4.3.21-py3-none-any.whl

Download URL chaospy-4.3.21-py3-none-any.whl
Size 254.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d68b7c54d316df7d9b6354489741043e8085a651696c227e785119b0ebaaf8a1
BLAKE2b-256 checksum
How to use checksums
b6857c5aaf5b00e8240fda374828c74ea5eb9e7819edb0472838625b026bcc70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.23

Release history Release notifications | RSS feed

This release

4.3.21 This release

2 release files

4.3.18

2 release files

4.3.17

2 release files

4.3.16

2 release files

4.3.15

2 release files

4.3.11

2 release files

4.3.10

2 release files

4.3.9

2 release files

4.3.8

2 release files

4.3.7

2 release files

4.3.6

2 release files

4.3.5

2 release files

4.3.4

2 release files

4.3.3

2 release files

4.3.2

2 release files

4.3.1

2 release files

4.2.7

2 release files

4.2.6

2 release files

4.2.5

2 release files

4.2.4

2 release files

4.2.3

2 release files

4.2.2

2 release files

4.2.1

2 release files

4.2.0

2 release files

4.1.1

2 release files

4.1.0

2 release files

4.0.2

2 release files

4.0.1

2 release files

4.0.0

2 release files

3.3.9

2 release files

3.3.8

2 release files

3.3.7

2 release files

3.3.6

2 release files

3.3.5

2 release files

3.3.4

2 release files

3.3.3

2 release files

3.3.2

2 release files

3.3.1

2 release files

3.3.0

2 release files

3.2.10

2 release files

3.2.9

2 release files

3.2.8

2 release files

3.2.7

2 release files

3.2.6

2 release files

3.2.5

2 release files

3.2.4

2 release files

3.2.3

2 release files

3.2.1

2 release files

3.2.0

2 release files

3.1.1

2 release files

3.1.0

2 release files

3.0.18

2 release files

3.0.16

2 release files

3.0.14

2 release files

3.0.13

2 release files

3.0.12

2 release files

3.0.11

2 release files

3.0.10

2 release files

3.0.9

2 release files

3.0.8

2 release files

3.0.7

2 release files

3.0.6

3 release files

3.0.5

2 release files

3.0.4

4 release files

3.0.3

2 release files

3.0.2

2 release files

3.0.0

2 release files

2.3.5

2 release files

2.3.4

2 release files

2.3.3

2 release files

2.3.2

2 release files

2.2.5

1 release file

2.2.4

1 release file

2.2.0

3 release files

2.1.1

5 release files

2.1

1 release file

2.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page