arviz 0.23.1__tar.gz → 1.0.0rc0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (204) hide show
  1. {arviz-0.23.1 → arviz-1.0.0rc0}/LICENSE +0 -1
  2. arviz-1.0.0rc0/PKG-INFO +182 -0
  3. arviz-1.0.0rc0/README.md +125 -0
  4. arviz-1.0.0rc0/pyproject.toml +92 -0
  5. arviz-1.0.0rc0/src/arviz/__init__.py +71 -0
  6. arviz-0.23.1/CHANGELOG.md +0 -830
  7. arviz-0.23.1/CODE_OF_CONDUCT.md +0 -50
  8. arviz-0.23.1/CONTRIBUTING.md +0 -25
  9. arviz-0.23.1/GOVERNANCE.md +0 -3
  10. arviz-0.23.1/MANIFEST.in +0 -9
  11. arviz-0.23.1/PKG-INFO +0 -263
  12. arviz-0.23.1/README.md +0 -203
  13. arviz-0.23.1/arviz/__init__.py +0 -376
  14. arviz-0.23.1/arviz/data/__init__.py +0 -55
  15. arviz-0.23.1/arviz/data/base.py +0 -596
  16. arviz-0.23.1/arviz/data/converters.py +0 -203
  17. arviz-0.23.1/arviz/data/datasets.py +0 -161
  18. arviz-0.23.1/arviz/data/example_data/code/radon/radon.json +0 -326
  19. arviz-0.23.1/arviz/data/example_data/data/centered_eight.nc +0 -0
  20. arviz-0.23.1/arviz/data/example_data/data/non_centered_eight.nc +0 -0
  21. arviz-0.23.1/arviz/data/example_data/data_local.json +0 -12
  22. arviz-0.23.1/arviz/data/example_data/data_remote.json +0 -58
  23. arviz-0.23.1/arviz/data/inference_data.py +0 -2386
  24. arviz-0.23.1/arviz/data/io_beanmachine.py +0 -112
  25. arviz-0.23.1/arviz/data/io_cmdstan.py +0 -1036
  26. arviz-0.23.1/arviz/data/io_cmdstanpy.py +0 -1233
  27. arviz-0.23.1/arviz/data/io_datatree.py +0 -23
  28. arviz-0.23.1/arviz/data/io_dict.py +0 -462
  29. arviz-0.23.1/arviz/data/io_emcee.py +0 -317
  30. arviz-0.23.1/arviz/data/io_json.py +0 -54
  31. arviz-0.23.1/arviz/data/io_netcdf.py +0 -68
  32. arviz-0.23.1/arviz/data/io_numpyro.py +0 -497
  33. arviz-0.23.1/arviz/data/io_pyjags.py +0 -378
  34. arviz-0.23.1/arviz/data/io_pyro.py +0 -333
  35. arviz-0.23.1/arviz/data/io_pystan.py +0 -1095
  36. arviz-0.23.1/arviz/data/io_zarr.py +0 -46
  37. arviz-0.23.1/arviz/data/utils.py +0 -139
  38. arviz-0.23.1/arviz/labels.py +0 -210
  39. arviz-0.23.1/arviz/plots/__init__.py +0 -61
  40. arviz-0.23.1/arviz/plots/autocorrplot.py +0 -171
  41. arviz-0.23.1/arviz/plots/backends/__init__.py +0 -223
  42. arviz-0.23.1/arviz/plots/backends/bokeh/__init__.py +0 -166
  43. arviz-0.23.1/arviz/plots/backends/bokeh/autocorrplot.py +0 -101
  44. arviz-0.23.1/arviz/plots/backends/bokeh/bfplot.py +0 -23
  45. arviz-0.23.1/arviz/plots/backends/bokeh/bpvplot.py +0 -193
  46. arviz-0.23.1/arviz/plots/backends/bokeh/compareplot.py +0 -167
  47. arviz-0.23.1/arviz/plots/backends/bokeh/densityplot.py +0 -239
  48. arviz-0.23.1/arviz/plots/backends/bokeh/distcomparisonplot.py +0 -23
  49. arviz-0.23.1/arviz/plots/backends/bokeh/distplot.py +0 -183
  50. arviz-0.23.1/arviz/plots/backends/bokeh/dotplot.py +0 -113
  51. arviz-0.23.1/arviz/plots/backends/bokeh/ecdfplot.py +0 -73
  52. arviz-0.23.1/arviz/plots/backends/bokeh/elpdplot.py +0 -203
  53. arviz-0.23.1/arviz/plots/backends/bokeh/energyplot.py +0 -155
  54. arviz-0.23.1/arviz/plots/backends/bokeh/essplot.py +0 -176
  55. arviz-0.23.1/arviz/plots/backends/bokeh/forestplot.py +0 -772
  56. arviz-0.23.1/arviz/plots/backends/bokeh/hdiplot.py +0 -54
  57. arviz-0.23.1/arviz/plots/backends/bokeh/kdeplot.py +0 -268
  58. arviz-0.23.1/arviz/plots/backends/bokeh/khatplot.py +0 -163
  59. arviz-0.23.1/arviz/plots/backends/bokeh/lmplot.py +0 -185
  60. arviz-0.23.1/arviz/plots/backends/bokeh/loopitplot.py +0 -211
  61. arviz-0.23.1/arviz/plots/backends/bokeh/mcseplot.py +0 -184
  62. arviz-0.23.1/arviz/plots/backends/bokeh/pairplot.py +0 -328
  63. arviz-0.23.1/arviz/plots/backends/bokeh/parallelplot.py +0 -81
  64. arviz-0.23.1/arviz/plots/backends/bokeh/posteriorplot.py +0 -324
  65. arviz-0.23.1/arviz/plots/backends/bokeh/ppcplot.py +0 -379
  66. arviz-0.23.1/arviz/plots/backends/bokeh/rankplot.py +0 -149
  67. arviz-0.23.1/arviz/plots/backends/bokeh/separationplot.py +0 -107
  68. arviz-0.23.1/arviz/plots/backends/bokeh/traceplot.py +0 -436
  69. arviz-0.23.1/arviz/plots/backends/bokeh/violinplot.py +0 -164
  70. arviz-0.23.1/arviz/plots/backends/matplotlib/__init__.py +0 -124
  71. arviz-0.23.1/arviz/plots/backends/matplotlib/autocorrplot.py +0 -72
  72. arviz-0.23.1/arviz/plots/backends/matplotlib/bfplot.py +0 -78
  73. arviz-0.23.1/arviz/plots/backends/matplotlib/bpvplot.py +0 -177
  74. arviz-0.23.1/arviz/plots/backends/matplotlib/compareplot.py +0 -135
  75. arviz-0.23.1/arviz/plots/backends/matplotlib/densityplot.py +0 -194
  76. arviz-0.23.1/arviz/plots/backends/matplotlib/distcomparisonplot.py +0 -119
  77. arviz-0.23.1/arviz/plots/backends/matplotlib/distplot.py +0 -178
  78. arviz-0.23.1/arviz/plots/backends/matplotlib/dotplot.py +0 -116
  79. arviz-0.23.1/arviz/plots/backends/matplotlib/ecdfplot.py +0 -70
  80. arviz-0.23.1/arviz/plots/backends/matplotlib/elpdplot.py +0 -189
  81. arviz-0.23.1/arviz/plots/backends/matplotlib/energyplot.py +0 -113
  82. arviz-0.23.1/arviz/plots/backends/matplotlib/essplot.py +0 -180
  83. arviz-0.23.1/arviz/plots/backends/matplotlib/forestplot.py +0 -656
  84. arviz-0.23.1/arviz/plots/backends/matplotlib/hdiplot.py +0 -48
  85. arviz-0.23.1/arviz/plots/backends/matplotlib/kdeplot.py +0 -177
  86. arviz-0.23.1/arviz/plots/backends/matplotlib/khatplot.py +0 -241
  87. arviz-0.23.1/arviz/plots/backends/matplotlib/lmplot.py +0 -149
  88. arviz-0.23.1/arviz/plots/backends/matplotlib/loopitplot.py +0 -144
  89. arviz-0.23.1/arviz/plots/backends/matplotlib/mcseplot.py +0 -161
  90. arviz-0.23.1/arviz/plots/backends/matplotlib/pairplot.py +0 -355
  91. arviz-0.23.1/arviz/plots/backends/matplotlib/parallelplot.py +0 -58
  92. arviz-0.23.1/arviz/plots/backends/matplotlib/posteriorplot.py +0 -348
  93. arviz-0.23.1/arviz/plots/backends/matplotlib/ppcplot.py +0 -478
  94. arviz-0.23.1/arviz/plots/backends/matplotlib/rankplot.py +0 -119
  95. arviz-0.23.1/arviz/plots/backends/matplotlib/separationplot.py +0 -97
  96. arviz-0.23.1/arviz/plots/backends/matplotlib/traceplot.py +0 -526
  97. arviz-0.23.1/arviz/plots/backends/matplotlib/tsplot.py +0 -121
  98. arviz-0.23.1/arviz/plots/backends/matplotlib/violinplot.py +0 -148
  99. arviz-0.23.1/arviz/plots/bfplot.py +0 -128
  100. arviz-0.23.1/arviz/plots/bpvplot.py +0 -308
  101. arviz-0.23.1/arviz/plots/compareplot.py +0 -177
  102. arviz-0.23.1/arviz/plots/densityplot.py +0 -284
  103. arviz-0.23.1/arviz/plots/distcomparisonplot.py +0 -197
  104. arviz-0.23.1/arviz/plots/distplot.py +0 -233
  105. arviz-0.23.1/arviz/plots/dotplot.py +0 -233
  106. arviz-0.23.1/arviz/plots/ecdfplot.py +0 -372
  107. arviz-0.23.1/arviz/plots/elpdplot.py +0 -174
  108. arviz-0.23.1/arviz/plots/energyplot.py +0 -147
  109. arviz-0.23.1/arviz/plots/essplot.py +0 -319
  110. arviz-0.23.1/arviz/plots/forestplot.py +0 -304
  111. arviz-0.23.1/arviz/plots/hdiplot.py +0 -211
  112. arviz-0.23.1/arviz/plots/kdeplot.py +0 -357
  113. arviz-0.23.1/arviz/plots/khatplot.py +0 -236
  114. arviz-0.23.1/arviz/plots/lmplot.py +0 -380
  115. arviz-0.23.1/arviz/plots/loopitplot.py +0 -224
  116. arviz-0.23.1/arviz/plots/mcseplot.py +0 -194
  117. arviz-0.23.1/arviz/plots/pairplot.py +0 -281
  118. arviz-0.23.1/arviz/plots/parallelplot.py +0 -204
  119. arviz-0.23.1/arviz/plots/plot_utils.py +0 -599
  120. arviz-0.23.1/arviz/plots/posteriorplot.py +0 -298
  121. arviz-0.23.1/arviz/plots/ppcplot.py +0 -369
  122. arviz-0.23.1/arviz/plots/rankplot.py +0 -232
  123. arviz-0.23.1/arviz/plots/separationplot.py +0 -167
  124. arviz-0.23.1/arviz/plots/styles/arviz-bluish.mplstyle +0 -1
  125. arviz-0.23.1/arviz/plots/styles/arviz-brownish.mplstyle +0 -1
  126. arviz-0.23.1/arviz/plots/styles/arviz-colors.mplstyle +0 -2
  127. arviz-0.23.1/arviz/plots/styles/arviz-cyanish.mplstyle +0 -1
  128. arviz-0.23.1/arviz/plots/styles/arviz-darkgrid.mplstyle +0 -40
  129. arviz-0.23.1/arviz/plots/styles/arviz-doc.mplstyle +0 -88
  130. arviz-0.23.1/arviz/plots/styles/arviz-docgrid.mplstyle +0 -88
  131. arviz-0.23.1/arviz/plots/styles/arviz-grayscale.mplstyle +0 -41
  132. arviz-0.23.1/arviz/plots/styles/arviz-greenish.mplstyle +0 -1
  133. arviz-0.23.1/arviz/plots/styles/arviz-orangish.mplstyle +0 -1
  134. arviz-0.23.1/arviz/plots/styles/arviz-plasmish.mplstyle +0 -1
  135. arviz-0.23.1/arviz/plots/styles/arviz-purplish.mplstyle +0 -1
  136. arviz-0.23.1/arviz/plots/styles/arviz-redish.mplstyle +0 -1
  137. arviz-0.23.1/arviz/plots/styles/arviz-royish.mplstyle +0 -1
  138. arviz-0.23.1/arviz/plots/styles/arviz-viridish.mplstyle +0 -1
  139. arviz-0.23.1/arviz/plots/styles/arviz-white.mplstyle +0 -40
  140. arviz-0.23.1/arviz/plots/styles/arviz-whitegrid.mplstyle +0 -40
  141. arviz-0.23.1/arviz/plots/traceplot.py +0 -273
  142. arviz-0.23.1/arviz/plots/tsplot.py +0 -440
  143. arviz-0.23.1/arviz/plots/violinplot.py +0 -192
  144. arviz-0.23.1/arviz/preview.py +0 -58
  145. arviz-0.23.1/arviz/py.typed +0 -0
  146. arviz-0.23.1/arviz/rcparams.py +0 -606
  147. arviz-0.23.1/arviz/sel_utils.py +0 -223
  148. arviz-0.23.1/arviz/static/css/style.css +0 -340
  149. arviz-0.23.1/arviz/static/html/icons-svg-inline.html +0 -15
  150. arviz-0.23.1/arviz/stats/__init__.py +0 -37
  151. arviz-0.23.1/arviz/stats/density_utils.py +0 -1013
  152. arviz-0.23.1/arviz/stats/diagnostics.py +0 -1013
  153. arviz-0.23.1/arviz/stats/ecdf_utils.py +0 -324
  154. arviz-0.23.1/arviz/stats/stats.py +0 -2422
  155. arviz-0.23.1/arviz/stats/stats_refitting.py +0 -119
  156. arviz-0.23.1/arviz/stats/stats_utils.py +0 -609
  157. arviz-0.23.1/arviz/tests/__init__.py +0 -1
  158. arviz-0.23.1/arviz/tests/base_tests/__init__.py +0 -1
  159. arviz-0.23.1/arviz/tests/base_tests/test_data.py +0 -1679
  160. arviz-0.23.1/arviz/tests/base_tests/test_data_zarr.py +0 -143
  161. arviz-0.23.1/arviz/tests/base_tests/test_diagnostics.py +0 -511
  162. arviz-0.23.1/arviz/tests/base_tests/test_diagnostics_numba.py +0 -87
  163. arviz-0.23.1/arviz/tests/base_tests/test_helpers.py +0 -18
  164. arviz-0.23.1/arviz/tests/base_tests/test_labels.py +0 -69
  165. arviz-0.23.1/arviz/tests/base_tests/test_plot_utils.py +0 -342
  166. arviz-0.23.1/arviz/tests/base_tests/test_plots_bokeh.py +0 -1288
  167. arviz-0.23.1/arviz/tests/base_tests/test_plots_matplotlib.py +0 -2197
  168. arviz-0.23.1/arviz/tests/base_tests/test_rcparams.py +0 -317
  169. arviz-0.23.1/arviz/tests/base_tests/test_stats.py +0 -925
  170. arviz-0.23.1/arviz/tests/base_tests/test_stats_ecdf_utils.py +0 -166
  171. arviz-0.23.1/arviz/tests/base_tests/test_stats_numba.py +0 -45
  172. arviz-0.23.1/arviz/tests/base_tests/test_stats_utils.py +0 -384
  173. arviz-0.23.1/arviz/tests/base_tests/test_utils.py +0 -376
  174. arviz-0.23.1/arviz/tests/base_tests/test_utils_numba.py +0 -87
  175. arviz-0.23.1/arviz/tests/conftest.py +0 -46
  176. arviz-0.23.1/arviz/tests/external_tests/__init__.py +0 -1
  177. arviz-0.23.1/arviz/tests/external_tests/test_data_beanmachine.py +0 -78
  178. arviz-0.23.1/arviz/tests/external_tests/test_data_cmdstan.py +0 -398
  179. arviz-0.23.1/arviz/tests/external_tests/test_data_cmdstanpy.py +0 -496
  180. arviz-0.23.1/arviz/tests/external_tests/test_data_emcee.py +0 -166
  181. arviz-0.23.1/arviz/tests/external_tests/test_data_numpyro.py +0 -434
  182. arviz-0.23.1/arviz/tests/external_tests/test_data_pyjags.py +0 -119
  183. arviz-0.23.1/arviz/tests/external_tests/test_data_pyro.py +0 -260
  184. arviz-0.23.1/arviz/tests/external_tests/test_data_pystan.py +0 -307
  185. arviz-0.23.1/arviz/tests/helpers.py +0 -677
  186. arviz-0.23.1/arviz/utils.py +0 -773
  187. arviz-0.23.1/arviz/wrappers/__init__.py +0 -13
  188. arviz-0.23.1/arviz/wrappers/base.py +0 -236
  189. arviz-0.23.1/arviz/wrappers/wrap_pymc.py +0 -36
  190. arviz-0.23.1/arviz/wrappers/wrap_stan.py +0 -148
  191. arviz-0.23.1/arviz.egg-info/PKG-INFO +0 -263
  192. arviz-0.23.1/arviz.egg-info/SOURCES.txt +0 -198
  193. arviz-0.23.1/arviz.egg-info/dependency_links.txt +0 -1
  194. arviz-0.23.1/arviz.egg-info/requires.txt +0 -27
  195. arviz-0.23.1/arviz.egg-info/top_level.txt +0 -1
  196. arviz-0.23.1/pyproject.toml +0 -15
  197. arviz-0.23.1/requirements-dev.txt +0 -11
  198. arviz-0.23.1/requirements-docs.txt +0 -18
  199. arviz-0.23.1/requirements-external.txt +0 -6
  200. arviz-0.23.1/requirements-optional.txt +0 -9
  201. arviz-0.23.1/requirements-test.txt +0 -6
  202. arviz-0.23.1/requirements.txt +0 -11
  203. arviz-0.23.1/setup.cfg +0 -4
  204. arviz-0.23.1/setup.py +0 -80
@@ -199,4 +199,3 @@
199
199
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
200
  See the License for the specific language governing permissions and
201
201
  limitations under the License.
202
-
@@ -0,0 +1,182 @@
1
+ Metadata-Version: 2.4
2
+ Name: arviz
3
+ Version: 1.0.0rc0
4
+ Summary: Expose features from _ArviZverse_ refactored packages together in the ``arviz`` namespace.
5
+ Author-email: ArviZ team <arvizdevs@gmail.com>
6
+ Requires-Python: >=3.12
7
+ Description-Content-Type: text/markdown
8
+ Classifier: Development Status :: 4 - Beta
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: Intended Audience :: Science/Research
11
+ Classifier: Intended Audience :: Education
12
+ Classifier: License :: OSI Approved :: Apache Software License
13
+ Classifier: Operating System :: OS Independent
14
+ Classifier: Programming Language :: Python
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Programming Language :: Python :: 3.13
18
+ Classifier: Programming Language :: Python :: 3.14
19
+ License-File: LICENSE
20
+ Requires-Dist: arviz_base >=0.7.0
21
+ Requires-Dist: arviz_stats[xarray] >=0.7.0
22
+ Requires-Dist: arviz_plots >=0.7.0
23
+ Requires-Dist: arviz_plots[bokeh] ; extra == "bokeh"
24
+ Requires-Dist: build ; extra == "check"
25
+ Requires-Dist: pre-commit ; extra == "check"
26
+ Requires-Dist: h5netcdf ; extra == "doc"
27
+ Requires-Dist: jupyter-sphinx ; extra == "doc"
28
+ Requires-Dist: matplotlib ; extra == "doc"
29
+ Requires-Dist: myst-parser[linkify] ; extra == "doc"
30
+ Requires-Dist: myst-nb ; extra == "doc"
31
+ Requires-Dist: pydata-sphinx-theme>=0.13 ; extra == "doc"
32
+ Requires-Dist: sphinx>=5 ; extra == "doc"
33
+ Requires-Dist: sphinx-copybutton ; extra == "doc"
34
+ Requires-Dist: sphinx-design ; extra == "doc"
35
+ Requires-Dist: sphinx-notfound-page ; extra == "doc"
36
+ Requires-Dist: sphinxcontrib-youtube ; extra == "doc"
37
+ Requires-Dist: arviz_base[h5netcdf] ; extra == "h5netcdf"
38
+ Requires-Dist: arviz_plots[matplotlib] ; extra == "matplotlib"
39
+ Requires-Dist: arviz_base[netcdf4] ; extra == "netcdf4"
40
+ Requires-Dist: arviz_plots[plotly] ; extra == "plotly"
41
+ Requires-Dist: pytest ; extra == "test"
42
+ Requires-Dist: arviz_base[zarr] ; extra == "zarr"
43
+ Project-URL: documentation, https://python.arviz.org
44
+ Project-URL: funding, https://opencollective.com/arviz
45
+ Project-URL: source, https://github.com/arviz-devs/arviz
46
+ Project-URL: tracker, https://github.com/arviz-devs/arviz/issues
47
+ Provides-Extra: bokeh
48
+ Provides-Extra: check
49
+ Provides-Extra: doc
50
+ Provides-Extra: h5netcdf
51
+ Provides-Extra: matplotlib
52
+ Provides-Extra: netcdf4
53
+ Provides-Extra: plotly
54
+ Provides-Extra: test
55
+ Provides-Extra: zarr
56
+
57
+ <img src="https://raw.githubusercontent.com/arviz-devs/arviz-project/main/arviz_logos/ArviZ.png#gh-light-mode-only" width=200></img>
58
+ <img src="https://raw.githubusercontent.com/arviz-devs/arviz-project/main/arviz_logos/ArviZ_white.png#gh-dark-mode-only" width=200></img>
59
+
60
+ [![PyPI version](https://badge.fury.io/py/arviz.svg)](https://badge.fury.io/py/arviz)
61
+ [![DOI](http://joss.theoj.org/papers/10.21105/joss.01143/status.svg)](https://doi.org/10.21105/joss.01143) [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.2540945.svg)](https://doi.org/10.5281/zenodo.2540945)
62
+ [![Powered by NumFOCUS](https://img.shields.io/badge/powered%20by-NumFOCUS-orange.svg?style=flat&colorA=E1523D&colorB=007D8A)](https://numfocus.org)
63
+
64
+ ArviZ (pronounced "AR-_vees_") is a Python package for exploratory analysis of Bayesian models. It includes functions for posterior analysis, data storage, model checking, comparison and diagnostics.
65
+
66
+ ### ArviZ in other languages
67
+ ArviZ also has a Julia wrapper available [ArviZ.jl](https://julia.arviz.org/).
68
+
69
+ ## Documentation
70
+
71
+ The ArviZ documentation can be found in the [official docs](https://python.arviz.org).
72
+ Here are some quick links for common scenarios:
73
+
74
+ * First time Bayesian modelers and ArviZ users: [EABM book](https://arviz-devs.github.io/EABM/)
75
+ * First time ArviZ users, already familiar with Bayesian modeling: [overview notebook](https://python.arviz.org/projects/plots/en/latest/tutorials/overview.html) or [example gallery](https://python.arviz.org/projects/plots/en/latest/gallery/index.html)
76
+ * ArviZ 0.x user: [migration guide](https://python.arviz.org/en/latest/user_guide/migration_guide.html)
77
+ * ArviZ-verse documentation:
78
+ - [arviz-base](https://python.arviz.org/projects/base/en/latest/)
79
+ - [arviz-stats](https://python.arviz.org/projects/stats/en/latest/)
80
+ - [arviz-plots](https://python.arviz.org/projects/plots/en/latest/)
81
+
82
+
83
+ ## Installation
84
+
85
+ ### Stable
86
+ ArviZ is available for installation from [PyPI](https://pypi.org/project/arviz/).
87
+ The latest stable version can be installed using pip:
88
+
89
+ ```
90
+ pip install "arviz[preview]"
91
+ ```
92
+
93
+ ArviZ is also available through [conda-forge](https://anaconda.org/conda-forge/arviz).
94
+
95
+ ```
96
+ conda install -c conda-forge arviz arviz-plots
97
+ ```
98
+
99
+ ### Development
100
+ The latest development version can be installed from the main branch using pip:
101
+
102
+ ```
103
+ pip install git+git://github.com/arviz-devs/arviz.git
104
+ ```
105
+
106
+ Another option is to clone the repository and install using git and setuptools:
107
+
108
+ ```
109
+ git clone https://github.com/arviz-devs/arviz.git
110
+ cd arviz
111
+ python setup.py install
112
+ ```
113
+
114
+ -------------------------------------------------------------------------------
115
+ ## [Gallery](https://python.arviz.org/en/latest/examples/index.html)
116
+
117
+ <p>
118
+ <table>
119
+ <tr>
120
+
121
+ <td>
122
+
123
+ [![plot_rank_dist example](./docs/source/_miniatures/plot_rank_dist.png)](https://arviz-plots.readthedocs.io/en/stable/api/generated/arviz_plots.plot_rank_dist.html)
124
+
125
+ </td>
126
+
127
+ <td>
128
+
129
+ [![plot_forest example with extra ESS column](./docs/source/_miniatures/plot_forest_ess.png)](https://arviz-plots.readthedocs.io/en/stable/api/generated/arviz_plots.plot_forest.html)
130
+
131
+ </td>
132
+
133
+ </tr>
134
+ </table>
135
+ <div>
136
+
137
+ <a href="https://python.arviz.org/projects/plots/en/latest/gallery/index.html">And more...</a>
138
+ </div>
139
+
140
+
141
+ ## Citation
142
+
143
+
144
+ If you use ArviZ and want to cite it please use [![DOI](http://joss.theoj.org/papers/10.21105/joss.01143/status.svg)](https://doi.org/10.21105/joss.01143)
145
+
146
+ Here is the citation in BibTeX format
147
+
148
+ ```
149
+ @article{arviz_2019,
150
+ doi = {10.21105/joss.01143},
151
+ url = {https://doi.org/10.21105/joss.01143},
152
+ year = {2019},
153
+ publisher = {The Open Journal},
154
+ volume = {4},
155
+ number = {33},
156
+ pages = {1143},
157
+ author = {Ravin Kumar and Colin Carroll and Ari Hartikainen and Osvaldo Martin},
158
+ title = {ArviZ a unified library for exploratory analysis of Bayesian models in Python},
159
+ journal = {Journal of Open Source Software}
160
+ }
161
+ ```
162
+
163
+
164
+ ## Contributions
165
+ ArviZ is a community project and welcomes contributions.
166
+ Additional information can be found in the [contributing guide](https://python.arviz.org/en/latest/contributing/index.html)
167
+
168
+
169
+ ## Code of Conduct
170
+ ArviZ wishes to maintain a positive community. Additional details
171
+ can be found in the [Code of Conduct](https://www.arviz.org/en/latest/CODE_OF_CONDUCT.html)
172
+
173
+ ## Donations
174
+ ArviZ is a non-profit project under NumFOCUS umbrella. If you want to support ArviZ financially, you can donate [here](https://numfocus.org/donate-to-arviz).
175
+
176
+ ## Sponsors and Institutional Partners
177
+ [![Aalto University](https://raw.githubusercontent.com/arviz-devs/arviz-project/refs/heads/main/cards/Aalto-black-text.png)](https://www.aalto.fi/en)
178
+ [![FCAI](https://raw.githubusercontent.com/arviz-devs/arviz-project/refs/heads/main/cards/FCAI.png)](https://fcai.fi/)
179
+ [![NumFOCUS](https://raw.githubusercontent.com/arviz-devs/arviz-project/refs/heads/main/sphinx/NumFocus.png)](https://numfocus.org)
180
+
181
+ [The ArviZ project website](https://www.arviz.org/en/latest/sponsors_partners.html) has more information about each sponsor and the support they provide.
182
+
@@ -0,0 +1,125 @@
1
+ <img src="https://raw.githubusercontent.com/arviz-devs/arviz-project/main/arviz_logos/ArviZ.png#gh-light-mode-only" width=200></img>
2
+ <img src="https://raw.githubusercontent.com/arviz-devs/arviz-project/main/arviz_logos/ArviZ_white.png#gh-dark-mode-only" width=200></img>
3
+
4
+ [![PyPI version](https://badge.fury.io/py/arviz.svg)](https://badge.fury.io/py/arviz)
5
+ [![DOI](http://joss.theoj.org/papers/10.21105/joss.01143/status.svg)](https://doi.org/10.21105/joss.01143) [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.2540945.svg)](https://doi.org/10.5281/zenodo.2540945)
6
+ [![Powered by NumFOCUS](https://img.shields.io/badge/powered%20by-NumFOCUS-orange.svg?style=flat&colorA=E1523D&colorB=007D8A)](https://numfocus.org)
7
+
8
+ ArviZ (pronounced "AR-_vees_") is a Python package for exploratory analysis of Bayesian models. It includes functions for posterior analysis, data storage, model checking, comparison and diagnostics.
9
+
10
+ ### ArviZ in other languages
11
+ ArviZ also has a Julia wrapper available [ArviZ.jl](https://julia.arviz.org/).
12
+
13
+ ## Documentation
14
+
15
+ The ArviZ documentation can be found in the [official docs](https://python.arviz.org).
16
+ Here are some quick links for common scenarios:
17
+
18
+ * First time Bayesian modelers and ArviZ users: [EABM book](https://arviz-devs.github.io/EABM/)
19
+ * First time ArviZ users, already familiar with Bayesian modeling: [overview notebook](https://python.arviz.org/projects/plots/en/latest/tutorials/overview.html) or [example gallery](https://python.arviz.org/projects/plots/en/latest/gallery/index.html)
20
+ * ArviZ 0.x user: [migration guide](https://python.arviz.org/en/latest/user_guide/migration_guide.html)
21
+ * ArviZ-verse documentation:
22
+ - [arviz-base](https://python.arviz.org/projects/base/en/latest/)
23
+ - [arviz-stats](https://python.arviz.org/projects/stats/en/latest/)
24
+ - [arviz-plots](https://python.arviz.org/projects/plots/en/latest/)
25
+
26
+
27
+ ## Installation
28
+
29
+ ### Stable
30
+ ArviZ is available for installation from [PyPI](https://pypi.org/project/arviz/).
31
+ The latest stable version can be installed using pip:
32
+
33
+ ```
34
+ pip install "arviz[preview]"
35
+ ```
36
+
37
+ ArviZ is also available through [conda-forge](https://anaconda.org/conda-forge/arviz).
38
+
39
+ ```
40
+ conda install -c conda-forge arviz arviz-plots
41
+ ```
42
+
43
+ ### Development
44
+ The latest development version can be installed from the main branch using pip:
45
+
46
+ ```
47
+ pip install git+git://github.com/arviz-devs/arviz.git
48
+ ```
49
+
50
+ Another option is to clone the repository and install using git and setuptools:
51
+
52
+ ```
53
+ git clone https://github.com/arviz-devs/arviz.git
54
+ cd arviz
55
+ python setup.py install
56
+ ```
57
+
58
+ -------------------------------------------------------------------------------
59
+ ## [Gallery](https://python.arviz.org/en/latest/examples/index.html)
60
+
61
+ <p>
62
+ <table>
63
+ <tr>
64
+
65
+ <td>
66
+
67
+ [![plot_rank_dist example](./docs/source/_miniatures/plot_rank_dist.png)](https://arviz-plots.readthedocs.io/en/stable/api/generated/arviz_plots.plot_rank_dist.html)
68
+
69
+ </td>
70
+
71
+ <td>
72
+
73
+ [![plot_forest example with extra ESS column](./docs/source/_miniatures/plot_forest_ess.png)](https://arviz-plots.readthedocs.io/en/stable/api/generated/arviz_plots.plot_forest.html)
74
+
75
+ </td>
76
+
77
+ </tr>
78
+ </table>
79
+ <div>
80
+
81
+ <a href="https://python.arviz.org/projects/plots/en/latest/gallery/index.html">And more...</a>
82
+ </div>
83
+
84
+
85
+ ## Citation
86
+
87
+
88
+ If you use ArviZ and want to cite it please use [![DOI](http://joss.theoj.org/papers/10.21105/joss.01143/status.svg)](https://doi.org/10.21105/joss.01143)
89
+
90
+ Here is the citation in BibTeX format
91
+
92
+ ```
93
+ @article{arviz_2019,
94
+ doi = {10.21105/joss.01143},
95
+ url = {https://doi.org/10.21105/joss.01143},
96
+ year = {2019},
97
+ publisher = {The Open Journal},
98
+ volume = {4},
99
+ number = {33},
100
+ pages = {1143},
101
+ author = {Ravin Kumar and Colin Carroll and Ari Hartikainen and Osvaldo Martin},
102
+ title = {ArviZ a unified library for exploratory analysis of Bayesian models in Python},
103
+ journal = {Journal of Open Source Software}
104
+ }
105
+ ```
106
+
107
+
108
+ ## Contributions
109
+ ArviZ is a community project and welcomes contributions.
110
+ Additional information can be found in the [contributing guide](https://python.arviz.org/en/latest/contributing/index.html)
111
+
112
+
113
+ ## Code of Conduct
114
+ ArviZ wishes to maintain a positive community. Additional details
115
+ can be found in the [Code of Conduct](https://www.arviz.org/en/latest/CODE_OF_CONDUCT.html)
116
+
117
+ ## Donations
118
+ ArviZ is a non-profit project under NumFOCUS umbrella. If you want to support ArviZ financially, you can donate [here](https://numfocus.org/donate-to-arviz).
119
+
120
+ ## Sponsors and Institutional Partners
121
+ [![Aalto University](https://raw.githubusercontent.com/arviz-devs/arviz-project/refs/heads/main/cards/Aalto-black-text.png)](https://www.aalto.fi/en)
122
+ [![FCAI](https://raw.githubusercontent.com/arviz-devs/arviz-project/refs/heads/main/cards/FCAI.png)](https://fcai.fi/)
123
+ [![NumFOCUS](https://raw.githubusercontent.com/arviz-devs/arviz-project/refs/heads/main/sphinx/NumFocus.png)](https://numfocus.org)
124
+
125
+ [The ArviZ project website](https://www.arviz.org/en/latest/sponsors_partners.html) has more information about each sponsor and the support they provide.
@@ -0,0 +1,92 @@
1
+ [build-system]
2
+ requires = ["flit_core >=3.4,<4"]
3
+ build-backend = "flit_core.buildapi"
4
+
5
+ [project]
6
+ name = "arviz"
7
+ readme = "README.md"
8
+ requires-python = ">=3.12"
9
+ license = {file = "LICENSE"}
10
+ authors = [
11
+ {name = "ArviZ team", email = "arvizdevs@gmail.com"}
12
+ ]
13
+ classifiers = [
14
+ "Development Status :: 4 - Beta",
15
+ "Intended Audience :: Developers",
16
+ "Intended Audience :: Science/Research",
17
+ "Intended Audience :: Education",
18
+ "License :: OSI Approved :: Apache Software License",
19
+ "Operating System :: OS Independent",
20
+ "Programming Language :: Python",
21
+ "Programming Language :: Python :: 3",
22
+ "Programming Language :: Python :: 3.12",
23
+ "Programming Language :: Python :: 3.13",
24
+ "Programming Language :: Python :: 3.14",
25
+ ]
26
+ dynamic = ["version", "description"]
27
+ dependencies = [
28
+ "arviz_base >=0.7.0",
29
+ "arviz_stats[xarray] >=0.7.0",
30
+ "arviz_plots >=0.7.0",
31
+ ]
32
+
33
+ [tool.flit.module]
34
+ name = "arviz"
35
+
36
+ [project.urls]
37
+ source = "https://github.com/arviz-devs/arviz"
38
+ tracker = "https://github.com/arviz-devs/arviz/issues"
39
+ documentation = "https://python.arviz.org"
40
+ funding = "https://opencollective.com/arviz"
41
+
42
+ [project.optional-dependencies]
43
+ # user facing optional blocks
44
+ netcdf4 = ["arviz_base[netcdf4]"]
45
+ h5netcdf = ["arviz_base[h5netcdf]"]
46
+ zarr = ["arviz_base[zarr]"]
47
+ matplotlib = ["arviz_plots[matplotlib]"]
48
+ bokeh = ["arviz_plots[bokeh]"]
49
+ plotly = ["arviz_plots[plotly]"]
50
+
51
+ # dev related blocks
52
+ doc = [
53
+ "h5netcdf",
54
+ "jupyter-sphinx",
55
+ "matplotlib",
56
+ "myst-parser[linkify]",
57
+ "myst-nb",
58
+ "pydata-sphinx-theme>=0.13",
59
+ "sphinx>=5",
60
+ "sphinx-copybutton",
61
+ "sphinx-design",
62
+ "sphinx-notfound-page",
63
+ "sphinxcontrib-youtube",
64
+ ]
65
+ test = ["pytest"]
66
+ check = ["build", "pre-commit"]
67
+
68
+ [tool.ruff]
69
+ line-length = 100
70
+
71
+ [tool.ruff.lint]
72
+ select = [
73
+ "F", # Pyflakes
74
+ "E", # Pycodestyle
75
+ "W", # Pycodestyle
76
+ "D", # pydocstyle
77
+ "NPY", # numpy specific rules
78
+ "UP", # pyupgrade
79
+ "I", # isort
80
+ "PL", # Pylint
81
+ "TID", # Absolute imports
82
+ ]
83
+
84
+ [tool.ruff.lint.per-file-ignores]
85
+ "src/arviz/__init__.py*" = ["I", "F401", "E402", "F403"]
86
+ "docs/source/**/*.ipynb" = ["D", "E", "F", "I", "NPY", "PL", "TID", "UP", "W"]
87
+ "docs/source/conf.py" = ["D"]
88
+ "tests/**/*" = ["D", "PLR2004", "TID252"]
89
+
90
+ [tool.pytest.ini_options]
91
+ filterwarnings = ["error"]
92
+ testpaths = ["tests"]
@@ -0,0 +1,71 @@
1
+ # pylint: disable=unused-import,unused-wildcard-import,wildcard-import,invalid-name
2
+ """Expose features from _ArviZverse_ refactored packages together in the ``arviz`` namespace."""
3
+
4
+ import logging
5
+ import re
6
+
7
+ _log = logging.getLogger(__name__)
8
+
9
+ info = ""
10
+
11
+ try:
12
+ from arviz_base import *
13
+ import arviz_base as base
14
+
15
+ _status = (
16
+ f"arviz_base {base.__version__} available, "
17
+ "exposing its functions as part of the `arviz` namespace"
18
+ )
19
+ _log.info(_status)
20
+ del base
21
+ except ModuleNotFoundError as err:
22
+ raise ImportError("arviz's dependency arviz_base is not installed", name="arviz") from err
23
+
24
+ info += _status + "\n"
25
+
26
+ try:
27
+ from arviz_stats import *
28
+ import arviz_stats as stats
29
+
30
+ # TODO: remove patch. 0.7 version of arviz-stats didn't expose the __version__ attribute
31
+ _status = (
32
+ f"arviz_stats {getattr(stats, '__version__', '0.7.0')} available, "
33
+ "exposing its functions as part of the `arviz` namespace"
34
+ )
35
+ _log.info(_status)
36
+ del stats
37
+ except ModuleNotFoundError as err:
38
+ raise ImportError("arviz's dependency arviz_stats is not installed", name="arviz") from err
39
+
40
+ info += _status + "\n"
41
+
42
+ try:
43
+ from arviz_plots import *
44
+ import arviz_plots as plots
45
+
46
+ _status = (
47
+ f"arviz_plots {plots.__version__} available, "
48
+ "exposing its functions as part of the `arviz` namespace"
49
+ )
50
+ _log.info(_status)
51
+ del plots
52
+ except ModuleNotFoundError as err:
53
+ raise ImportError("arviz's dependency arviz_plots is not installed", name="arviz") from err
54
+
55
+ info += _status
56
+
57
+ # define version last so it isn't overwritten by the respective attribute in the imported libraries
58
+ __version__ = "1.0.0rc0"
59
+
60
+ info = f"Status information for ArviZ {__version__}\n\n{info}"
61
+
62
+ pat = re.compile(r"arviz_(base|stats|plots)\s([0-9]+\.[0-9]+)")
63
+ matches = pat.findall(info)
64
+ if any(matches[0][1] != match[1] for match in matches[1:]):
65
+ raise ImportError(
66
+ "Versions of arviz-xyz packages don't match to the minor version. "
67
+ f"The versions found are: {matches}"
68
+ )
69
+
70
+ # clean namespace
71
+ del logging, matches, pat, re, _status