Installation¶
Via pipenv or pip (Recommended)¶
To install py-stellar-base, use pipenv to install the module, there are two packages here, please choose one of them:
pipenv install stellar-sdk
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:
pip install -U git+git://github.com/StellarCN/py-stellar-base
And you can always clone the repository directly, and install it locally:
git clone https://github.com/StellarCN/py-stellar-base.git
cd py-stellar-base
pip install .