Stellar Python SDK
py-stellar-base is a Python library for communicating with a Stellar Horizon server and Soroban-RPC server. It is used for building Stellar apps on Python. It supports Python 3.7+ as well as PyPy 3.7+.
a networking layer API for Horizon endpoints.
a networking layer API for Soroban-RPC server methods.
facilities for building and signing transactions, for communicating with a Stellar Horizon and Soroban-RPC instance, and for submitting transactions or querying network history.
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.).
- Generate Keypair
- Create Account
- Querying Horizon
- Building Transactions
- Creating a payment transaction
- Multi-signature account
Here you’ll find detailed documentation on specific functions, classes, and methods.
- API Documentation
- Call Builder
- Call Builder Async
- Soroban RPC Definitions
- Stellar Ecosystem Proposals
stellar-model allows you to parse the JSON returned by Stellar Horizon into the Python models, click here for more information.