Stellar Python SDK¶
Note
This branch is about v2, click here for the v1 branch. Thank you for your patience as we transition!
py-stellar-sdk is a Python library for communicating with a Stellar Horizon server. It is used for building Stellar apps on Python. It supports Python 3.6+ as well as PyPy 3.6+.
It provides:
- a networking layer API for Horizon endpoints.
- facilities for building and signing transactions, for communicating with a Stellar Horizon instance, and for submitting transactions or querying network history.
Quickstart¶
At the absolute basics, you’ll want to read up on Stellar’s Documentation Guides, as it contains a lot of information on the concepts used below (Transactions, Payments, Operations, KeyPairs, etc.).
API Documentation¶
Here you’ll find detailed documentation on specific functions, classes, and methods.
Links¶
- Document: https://stellar-sdk.readthedocs.io
- Code: https://github.com/StellarCN/py-stellar-base/tree/v2
- Docker: https://hub.docker.com/r/overcat/py-stellar-base
- Examples: https://github.com/StellarCN/py-stellar-base/blob/v2/examples
- Issue tracker: https://github.com/StellarCN/py-stellar-base/issues
- License: Apache License 2.0
- Releases: https://pypi.org/project/stellar-sdk/
Thanks¶
This document is based on Stellar JavaScript SDK documentation. Thank you to all the people who have already contributed to Stellar ecosystem!