Hi? I am one of the maintainers of py-stellar-sdk.
py-stellar-sdk is a full featured Python library for communicating with a Stellar Horizon server.
Here are some examples of typical usage of this library:
1. Keypair Generation
# Random Key Generation
from stellar_base.keypair import Keypair
kp = Keypair.random()
# Multiple Key Generation
from stellar_base.utils import StellarMnemonic
sm = StellarMnemonic()
secret_phrase = sm.generate()
kp0 = Keypair.deterministic(secret_phrase, index=0)
kp1 = Keypair.deterministic(secret_phrase, index=1)
2. Payment
from stellar_base.builder import Builder
alice_seed = 'SB4675LMYLBWMKENDBAO6ZTVPLI6AISE3VZZDZASUFWW2T4MEGKX7NEI'
bob_address = 'GCRNOBFLTGLGSYOWCYINZA7JAAAZ5CXMSNM7QUYFYOHHIEZY4R6665MA'
builder = Builder(secret=alice_seed).append_payment_op(destination=bob_address, amount=100).add_text_memo("Hey, Stellar!")
builder.sign()
builder.submit()
3. Check Account
from stellar_base.address import Address
publickey = 'GDVDKQFP665JAO7A2LSHNLQIUNYNAAIGJ6FYJVMG4DT3YJQQJSRBLQDG'
address = Address(address=publickey) # address = Address(address=publickey,network='public') for livenet
address.get() # get the updated information
Github: https://github.com/StellarCN/py-stellar-base
Quick Start: https://github.com/StellarCN/py-stellar-base/blob/v0.2/README.md
All suggestions are welcome, you can create a issue here.
Happy Coding!