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.
To install marbles with pip
pip install marbles
# -or-
pip install marbles.core
pip install marbles.mixins
If you need a copy of the source, you can clone the GitHub repository or download the tarball.
git clone https://github.com/twosigma/marbles.git
cd marbles
pip install .
curl -OL https://github.com/twosigma/marbles/tarball/master
tar xvzf /path/to/archive.tar.gz
cd marbles
pip install .