MIT License

项目介绍

jonathf/chaospy 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 MIT License 许可证,目前获得 480 个 Star、86 次 Fork。

仓库全名
jonathf/chaospy
开源许可证
MIT License
Star 数
480
Fork 数
86
未关闭 Issue
57

README 摘要

.. image:: https://github.com/jonathf/chaospy/raw/master/docs/static/chaospylogo.svg :height: 200 px :width: 200 px :align: center circleci| |codecov| |readthedocs| |downloads| |pypi| :target: https://circleci.com/gh/jonathf/chaospy/tree/master :target: https://codecov.io/gh/jonathf/chaospy :target: https://pypistats.org/packages/chaospy :target: https://pypi.org/project/chaospy Documentation Interactive tutorials…

完整内容见 GitHub 原始 README 或本页 。

常见问题

chaospy 用什么语言开发?

主要使用 Python 编写,采用 MIT License 许可证,目前有 480 个 Star。

chaospy 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 chaospy 的源码?

可以直接克隆仓库:git clone https://github.com/jonathf/chaospy.git,默认分支为 master;安装与运行步骤见仓库 README。

chaospy 最近还在维护吗?

仓库最近一次更新为 2025年9月4日,当前有 57 个未关闭 Issue;Star 数为 480,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Chaospy - Toolbox for performing uncertainty quantification.

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

语言占比

Python

README

… image:: https://github.com/jonathf/chaospy/raw/master/docs/_static/chaospy_logo.svg :height: 200 px :width: 200 px :align: center

|circleci| |codecov| |readthedocs| |downloads| |pypi|

… |circleci| image:: https://img.shields.io/circleci/build/github/jonathf/chaospy/master :target: https://circleci.com/gh/jonathf/chaospy/tree/master … |codecov| image:: https://img.shields.io/codecov/c/github/jonathf/chaospy :target: https://codecov.io/gh/jonathf/chaospy … |readthedocs| image:: https://img.shields.io/readthedocs/chaospy :target: https://chaospy.readthedocs.io/en/master/?badge=master … |downloads| image:: https://img.shields.io/pypi/dm/chaospy :target: https://pypistats.org/packages/chaospy … |pypi| image:: https://img.shields.io/pypi/v/chaospy :target: https://pypi.org/project/chaospy

  • Documentation <https://chaospy.readthedocs.io/en/master>_
  • Interactive tutorials with Binder <https://mybinder.org/v2/gh/jonathf/chaospy/master?filepath=docs%2Fuser_guide>_
  • Code of conduct <https://github.com/jonathf/chaospy/blob/master/CODE_OF_CONDUCT.md>_
  • Contribution guideline <https://github.com/jonathf/chaospy/blob/master/CONTRIBUTING.md>_
  • Changelog <https://github.com/jonathf/chaospy/blob/master/CHANGELOG.md>_
  • License <https://github.com/jonathf/chaospy/blob/master/LICENCE.txt>_

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 <https://pypi.org/>_:

… code-block:: bash

pip install chaospy

Alternatively, if you prefer Conda <https://conda.io/>_:

… code-block:: bash

conda install -c conda-forge chaospy

After installation, visit the documentation <https://chaospy.readthedocs.io/en/master>_ to learn how to use the toolbox.

Development

To install chaospy and its dependencies in developer mode:

… code-block:: bash

pip install -e .[dev]

Testing

To run tests on your local system:

… code-block:: bash

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:

… code-block:: bash

cd docs/
make html

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

评论

暂无评论