Installation

Via pipenv or pip

To install py-stellar-sdk, use pipenv to install the module:

pipenv install stellar-sdk==2.8.1

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 clone the repository directly, and install it locally:

git clone https://github.com/StellarCN/py-stellar-base.git
cd py-stellar-base
git checkout 2.8.1
pip install .