Installation

marbles can be installed from PyPI.

Note

We don’t care what tool you use (we’ll leave that to the Python Packaging Guide), but we do highly recommend that you only install marbles into a virtual environment.

marbles contains two namespace packages: marbles.core and marbles.mixins. You can install them together or separately. For example, if you don’t need any of the custom assertions in marbles.mixins, you can install and depend on marbles.core by itself.

pip

To install marbles with pip

pip install marbles
# -or-
pip install marbles.core
pip install marbles.mixins

conda

To install marbles with conda

conda install -c conda-forge marbles

Source

If you need a copy of the source, you can clone the GitHub repository or download the tarball.

GitHub

git clone https://github.com/twosigma/marbles.git
cd marbles
pip install .

Tarball

curl -OL https://github.com/twosigma/marbles/tarball/master
tar xvzf /path/to/archive.tar.gz
cd marbles
pip install .