reconnect moved files to git repo

This commit is contained in:
root
2025-08-01 04:33:03 -04:00
commit 5d3c35492d
23190 changed files with 4750716 additions and 0 deletions

View File

@ -0,0 +1,15 @@
BSD 3-Clause License
Copyright (c) 2019, Stan Developers and their Assignees
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

@ -0,0 +1,102 @@
Metadata-Version: 2.1
Name: cmdstanpy
Version: 1.2.5
Summary: Python interface to CmdStan
Author: Stan Dev Team
License: BSD-3-Clause
Project-URL: Homepage, https://github.com/stan-dev/cmdstanpy
Project-URL: Bug Tracker, https://github.com/stan-dev/cmdstanpy/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Science/Research
Classifier: Natural Language :: English
Classifier: Programming Language :: Python
Classifier: Topic :: Scientific/Engineering :: Information Analysis
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE.md
Requires-Dist: pandas
Requires-Dist: numpy>=1.21
Requires-Dist: tqdm
Requires-Dist: stanio<2.0.0,>=0.4.0
Provides-Extra: all
Requires-Dist: xarray; extra == "all"
Provides-Extra: test
Requires-Dist: flake8; extra == "test"
Requires-Dist: pylint; extra == "test"
Requires-Dist: pytest; extra == "test"
Requires-Dist: pytest-cov; extra == "test"
Requires-Dist: pytest-order; extra == "test"
Requires-Dist: mypy; extra == "test"
Requires-Dist: xarray; extra == "test"
Provides-Extra: docs
Requires-Dist: sphinx<6,>5; extra == "docs"
Requires-Dist: pydata-sphinx-theme<0.9; extra == "docs"
Requires-Dist: nbsphinx; extra == "docs"
Requires-Dist: ipython; extra == "docs"
Requires-Dist: ipykernel; extra == "docs"
Requires-Dist: ipywidgets; extra == "docs"
Requires-Dist: sphinx-copybutton; extra == "docs"
Requires-Dist: xarray; extra == "docs"
Requires-Dist: matplotlib; extra == "docs"
# CmdStanPy
[![codecov](https://codecov.io/gh/stan-dev/cmdstanpy/branch/master/graph/badge.svg)](https://codecov.io/gh/stan-dev/cmdstanpy)
CmdStanPy is a lightweight pure-Python interface to CmdStan which provides access to the Stan compiler and all inference algorithms. It supports both development and production workflows. Because model development and testing may require many iterations, the defaults favor development mode and therefore output files are stored on a temporary filesystem. Non-default options allow all aspects of a run to be specified so that scripts can be used to distributed analysis jobs across nodes and machines.
CmdStanPy is distributed via PyPi: https://pypi.org/project/cmdstanpy/
or Conda Forge: https://anaconda.org/conda-forge/cmdstanpy
### Goals
- Clean interface to Stan services so that CmdStanPy can keep up with Stan releases.
- Provide access to all CmdStan inference methods.
- Easy to install,
+ minimal Python library dependencies: numpy, pandas
+ Python code doesn't interface directly with c++, only calls compiled executables
- Modular - CmdStanPy produces a MCMC sample (or point estimate) from the posterior; other packages do analysis and visualization.
- Low memory overhead - by default, minimal memory used above that required by CmdStanPy; objects run CmdStan programs and track CmdStan input and output files.
### Source Repository
CmdStanPy and CmdStan are available from GitHub: https://github.com/stan-dev/cmdstanpy and https://github.com/stan-dev/cmdstan
### Docs
The latest release documentation is hosted on https://mc-stan.org/cmdstanpy, older release versions are available from readthedocs: https://cmdstanpy.readthedocs.io
### Licensing
The CmdStanPy, CmdStan, and the core Stan C++ code are licensed under new BSD.
### Example
```python
import os
from cmdstanpy import cmdstan_path, CmdStanModel
# specify locations of Stan program file and data
stan_file = os.path.join(cmdstan_path(), 'examples', 'bernoulli', 'bernoulli.stan')
data_file = os.path.join(cmdstan_path(), 'examples', 'bernoulli', 'bernoulli.data.json')
# instantiate a model; compiles the Stan program by default
model = CmdStanModel(stan_file=stan_file)
# obtain a posterior sample from the model conditioned on the data
fit = model.sample(chains=4, data=data_file)
# summarize the results (wraps CmdStan `bin/stansummary`):
fit.summary()
```

View File

@ -0,0 +1,61 @@
../../../bin/install_cmdstan,sha256=R8brp0OfHxOakqsNbTFMTmKkn7MDd30-N6NhSUF7Bqw,265
../../../bin/install_cxx_toolchain,sha256=xbLdxX1fRMlOlTSS6UaQZRhqB5gZ4DKSj-0crpgMezA,271
cmdstanpy-1.2.5.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
cmdstanpy-1.2.5.dist-info/LICENSE.md,sha256=idyB5B6vvYuD6l6IVtMLDi0q-IUMmhKkS5MnM8XgTvI,1526
cmdstanpy-1.2.5.dist-info/METADATA,sha256=0ScvA_iMXhi1MwJj_3dH1Dcm2w8unLHbv8K1Y7RtfV4,4050
cmdstanpy-1.2.5.dist-info/RECORD,,
cmdstanpy-1.2.5.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
cmdstanpy-1.2.5.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
cmdstanpy-1.2.5.dist-info/entry_points.txt,sha256=jMCL_dUqeodJmm8BtARyRkIvkL2m8AvIwpoduddo01Y,136
cmdstanpy-1.2.5.dist-info/top_level.txt,sha256=DymymE6zsANoee61D6GcZ9I2c9H2zrrgv12IP1Ob_nA,10
cmdstanpy/__init__.py,sha256=VA2CIWvIFkE9FXFUi0DXnAlIDpzuDXGn66lMOX13tv4,1290
cmdstanpy/__pycache__/__init__.cpython-311.pyc,,
cmdstanpy/__pycache__/_version.cpython-311.pyc,,
cmdstanpy/__pycache__/cmdstan_args.cpython-311.pyc,,
cmdstanpy/__pycache__/compilation.cpython-311.pyc,,
cmdstanpy/__pycache__/install_cmdstan.cpython-311.pyc,,
cmdstanpy/__pycache__/install_cxx_toolchain.cpython-311.pyc,,
cmdstanpy/__pycache__/model.cpython-311.pyc,,
cmdstanpy/__pycache__/progress.cpython-311.pyc,,
cmdstanpy/_version.py,sha256=zN4cqI6KhD4VXPuuWSYE-PKGpLSwPmM8qkOM-67JsyQ,42
cmdstanpy/cmdstan_args.py,sha256=rKpQrym_ltoa3Qa0mUJMR6jI1v4_mhjmtTd-jlX24ig,39752
cmdstanpy/compilation.py,sha256=rBTbFiTxautFRx_cWWdZN30h8W4iKsaVreBhBp3QYC4,20806
cmdstanpy/install_cmdstan.py,sha256=61mVVIC7Bggl1oC7EZvi914uc9tJmqfSTPYWUSE0X54,23553
cmdstanpy/install_cxx_toolchain.py,sha256=xNyxwUeYyM5vJjnxporefK77SsQUvvM78JeZnFQtKdI,11704
cmdstanpy/model.py,sha256=5HtQvSnmkVYOJVH7aekF9NKZQmUz8VzthqoxJYGkCyY,89664
cmdstanpy/progress.py,sha256=k5OQgEpUgh8p7VfMNX23uQcaoKuHA_mJ2XGOAKjUJyY,1317
cmdstanpy/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
cmdstanpy/stanfit/__init__.py,sha256=WxvdlTPU1XvxGOIqIF5OKR71O538TDGcBFBE_NLrgAg,10356
cmdstanpy/stanfit/__pycache__/__init__.cpython-311.pyc,,
cmdstanpy/stanfit/__pycache__/gq.cpython-311.pyc,,
cmdstanpy/stanfit/__pycache__/laplace.cpython-311.pyc,,
cmdstanpy/stanfit/__pycache__/mcmc.cpython-311.pyc,,
cmdstanpy/stanfit/__pycache__/metadata.cpython-311.pyc,,
cmdstanpy/stanfit/__pycache__/mle.cpython-311.pyc,,
cmdstanpy/stanfit/__pycache__/pathfinder.cpython-311.pyc,,
cmdstanpy/stanfit/__pycache__/runset.cpython-311.pyc,,
cmdstanpy/stanfit/__pycache__/vb.cpython-311.pyc,,
cmdstanpy/stanfit/gq.py,sha256=ppUEuOqA7bUnxuahKSqvJ80NB52dBoYVdetqIRpeloM,26049
cmdstanpy/stanfit/laplace.py,sha256=8St71_dKSQTFw7LKCUGxviGufiMAzlb4IZ2jZ1lcQBI,9618
cmdstanpy/stanfit/mcmc.py,sha256=l2sc4gjLm7cvCZNNgN4EPzMEVbbYc7Gu6vyJ1FtyMqg,31735
cmdstanpy/stanfit/metadata.py,sha256=kcQ5-shQ_F3RYAbguc5V_SzWP8KWi2pWrObxFLWpPjg,1596
cmdstanpy/stanfit/mle.py,sha256=aAk7M1cDhRI-6GRbdqqAcsVVReFhKxReUWSEllTADuM,10458
cmdstanpy/stanfit/pathfinder.py,sha256=Iz-JjZyDkJ8IGbZDr0_Tnjh0iEGlClNiB89sqFRVXn8,8322
cmdstanpy/stanfit/runset.py,sha256=0nD_Aq5Jyl6cID-MNWHS-ZFJ786osJR9NmJBqs7JcS0,10851
cmdstanpy/stanfit/vb.py,sha256=kJvjsUqy9O7pKWQoVaS0R4bh7DpBKk-aD1iq_QpSktA,8502
cmdstanpy/utils/__init__.py,sha256=irzAF4bKE-NNWoAJKKH0VNKPnFjUBsWkylfdzX6YYpo,3740
cmdstanpy/utils/__pycache__/__init__.cpython-311.pyc,,
cmdstanpy/utils/__pycache__/cmdstan.cpython-311.pyc,,
cmdstanpy/utils/__pycache__/command.cpython-311.pyc,,
cmdstanpy/utils/__pycache__/data_munging.cpython-311.pyc,,
cmdstanpy/utils/__pycache__/filesystem.cpython-311.pyc,,
cmdstanpy/utils/__pycache__/json.cpython-311.pyc,,
cmdstanpy/utils/__pycache__/logging.cpython-311.pyc,,
cmdstanpy/utils/__pycache__/stancsv.cpython-311.pyc,,
cmdstanpy/utils/cmdstan.py,sha256=uRHFVB955k_nFbR02DUpX-q9xVZzYqnKjjmMJD6L9xk,19196
cmdstanpy/utils/command.py,sha256=1nPeOI8Gn6r-WAb3TAe1mqweK-1K0aJRmMulYwdWxNk,3229
cmdstanpy/utils/data_munging.py,sha256=Gw764AKLIzWu9LvO-N7CgUjcIzUOnVANX6khkb-m1Gk,1245
cmdstanpy/utils/filesystem.py,sha256=t4HHG0IESmUVraF_WlSQs8JRzkGBKJUsj2gSCdt4UHQ,7099
cmdstanpy/utils/json.py,sha256=rFQwxTr4OCTUMhBAuCNLQY4rRrwY5m1c9ufw0081_XM,132
cmdstanpy/utils/logging.py,sha256=PipH_4YiZdoe5C9bTf5GEPhoI7zPHRx4VPe4AUCbHvw,699
cmdstanpy/utils/stancsv.py,sha256=oB1V4dvDgCywoADew39wrbTrSZVXZXvoq3xFUvsiOZ4,16455

View File

@ -0,0 +1,5 @@
Wheel-Version: 1.0
Generator: setuptools (75.6.0)
Root-Is-Purelib: true
Tag: py3-none-any

View File

@ -0,0 +1,3 @@
[console_scripts]
install_cmdstan = cmdstanpy.install_cmdstan:__main__
install_cxx_toolchain = cmdstanpy.install_cxx_toolchain:__main__

View File

@ -0,0 +1 @@
cmdstanpy