.. _install:
************
Installation
************
Via pipenv or pip (Recommended)
===============================
To install py-stellar-base, use pipenv to install the module:
.. code-block:: bash
pipenv install stellar-base
If you're not using `pipenv `_, you should.
Otherwise, you can install it via plain old ``pip``. More on installing Python
and dependencies can be found over in the `Hitchhiker's Guide to Python
`_.
Via Source Code
===============
Please use the code on pypi whenever possible. The latest code may be unstable.
You can install it from source code via pip:
.. code-block:: bash
pip install git+git://github.com/StellarCN/py-stellar-base
And you can always clone `the repository `_ directly, and install it locally:
.. code-block:: bash
git clone git@github.com:StellarCN/py-stellar-base.git;
cd stellar_base;
pip install .