Skip to content

Commit

Permalink
[WIP] Add ArviZ installation guide [docs] (arviz-devs#1551)
Browse files Browse the repository at this point in the history
* ArviZ installation page for review

* Updated Installation.rst and index.md file in Getting Started documentation page

* Deleted the previous installation.rst file in the source folder

* Add link to Installation guide from home page. Update to Installation guide.

* update changelog

Co-authored-by: Oriol (ZBook) <[email protected]>
  • Loading branch information
2 people authored and utkarsh-maheshwari committed May 27, 2021
1 parent dc4a6f1 commit e9913ef
Show file tree
Hide file tree
Showing 4 changed files with 95 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

### Documentation
* Added "Label guide" page and API section for `arviz.labels` module ([1201](https://github.com/arviz-devs/arviz/pull/1201))
* Add "Installation guide" page to the documentation ([1551](https://github.com/arviz-devs/arviz/pull/1551))

## v0.11.2 (2021 Feb 21)
### New features
Expand Down
92 changes: 92 additions & 0 deletions doc/source/getting_started/Installation.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
##################
Installation guide
##################

This section provides detailed information about installing ArviZ. Most ArviZ
functionality is available with the basic requirements, but ArviZ also has optional
dependencies to further enhance the library. This guide will cover both basic and fully-fledged ArviZ installs and several installation methods.


******
Stable
******

ArviZ can be installed either using pip or conda-forge.

Using pip
=========

.. code:: bash
pip install arviz
Use the below pip command to install ArviZ with all of it's :ref:`Optional-dependencies`.

.. code:: bash
pip install arviz[all]
Using conda-forge
=================

.. code:: bash
conda install -c conda-forge arviz
.. _dev-version:

***********
Development
***********

If you want to install the latest development version of ArviZ, then you
may use

.. code:: bash
pip install git+https://github.com/arviz-devs/arviz
************
Dependencies
************

Required dependencies
=====================

The required dependencies for installing ArviZ are:

.. literalinclude:: ../../../requirements.txt

.. _Optional-dependencies:

Optional dependencies
=====================

The list of optional dependencies to further enhance ArviZ are.

.. literalinclude:: ../../../requirements-optional.txt


- Numba

Necessary to speed up the code computation. The installation details can be found
`here <https://numba.pydata.org/numba-doc/latest/user/installing.html>`_. Further details on enhanced functionality provided in ArviZ by Numba can be
`found here <https://arviz-devs.github.io/arviz/user_guide/Numba.html>`_.

- Bokeh

Necessary for creating advanced interactive visualisations. The Bokeh installation guide can be found `over here <http://docs.bokeh.org/en/dev/docs/first_steps/installation.html>`_.

- UltraJSON

If available, ArviZ makes use of faster ujson when :func:`arviz.from_json` is
invoked. UltraJSON can be either installed via `pip <https://pypi.org/project/ujson/>`_ or `conda <https://anaconda.org/anaconda/ujson>`_.

- Dask

Necessary to scale the packages and the surrounding ecosystem. The installation details can be found `at this link <https://docs.dask.org/en/latest/install.html>`_.




1 change: 1 addition & 0 deletions doc/source/getting_started/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# Getting Started

```{toctree}
Installation
Introduction
XarrayforArviZ
CreatingInferenceData
Expand Down
6 changes: 1 addition & 5 deletions doc/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,7 @@ Alternatively you can use conda-forge
conda install -c conda-forge arviz
For the latest (unstable) version

.. code:: bash
pip install git+https://github.com/arviz-devs/arviz
To install the latest development version of ArviZ, please check the :ref:`Installation guide <dev-version>` for details.

**Contributions** and **issue reports** are very welcome at `the github repository <https://github.com/arviz-devs/arviz>`_. We have a `contributing guide <https://github.com/arviz-devs/arviz/blob/main/CONTRIBUTING.md>`_ to help you through the process. If you have any doubts, please do not hesitate to contact us on `gitter <https://gitter.im/arviz-devs/community>`_.

Expand Down

0 comments on commit e9913ef

Please sign in to comment.