$npx skillfedfor your agent

stellar-sdk

The Python Stellar SDK library provides APIs to build transactions and connect to Horizon and Stellar RPC server.

Worth itPyPI Python ModulesReleased Jul 2026179.8K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — stellar_sdk-15.0.0-py3-none-any.whl
v15.0.0 · released 2026-07-04 · Python <4.0,>=3.10 · 8 runtime deps: mnemonic, pydantic, pynacl, requests, requests-sse, toml, typing-extensions, xdrlib3

Yes. Stellar SDK is actively maintained (last commit 2026-07-27), has no known vulnerabilities, and provides a complete, well-documented interface to the Stellar blockchain. Low install friction, permissive licensing, and broad Python version support make it a solid choice for any Stellar-based Python project. Install with confidence if you need to interact with Stellar.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or higher; PyPy 3.11 is also supported.
  • Optional async support and Shamir backup require additional dependencies installed via extras.
  • Low friction install with a pure-Python wheel.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions—suitable for most projects that can comply with attribution and license disclosure requirements.

last release 2026-07-04 (41 days) · last repo commit 2026-07-27 · 368 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 179,787 downloads/mo, #10,162 on PyPI

Verify before relying

pip install stellar-sdk

from stellar_sdk import Keypair, Server, TransactionBuilder, Network, Asset

alice_keypair = Keypair.from_secret("SBFZCHU5645DOKRWYBXVOXY2ELGJKFRX6VGGPRYUWHQ7PMXXJNDZFMKD")
server = Server("https://horizon-testnet.stellar.org")
account = server.load_account(alice_keypair.public_key)
transaction = TransactionBuilder(
    source_account=account,
    network_passphrase=Network.TESTNET_NETWORK_PASSPHRASE,
    base_fee=100
).append_payment_op("GA7YNBW5CBTJZ3ZZOWX3ZNBKD6OE7A7IHUQVWMY62W2ZBG2SGZVOOPVH", Asset.native(), "10.25").build()
transaction.sign(alice_keypair)
response = server.submit_transaction(transaction)
  • Whether the package's type hints (Typing :: Typed classifier) cover all public APIs or only partial coverage
  • Performance characteristics when handling large transaction batches or high-frequency network queries
  • Compatibility details with Stellar RPC server versions beyond what the description states
Same gist for agents: .md · .json

What it is and what it does

Stellar SDK is a Python library for building applications on the Stellar blockchain network. It provides networking APIs to communicate with Horizon (Stellar's data API) and Stellar RPC servers, along with tools for constructing, signing, and submitting transactions. The package handles account management, transaction building with various operations (payments, trades, etc.), and network history queries.

The library is designed for developers building Stellar apps in Python and supports modern Python versions (3.10+) and PyPy 3.11. It depends on established packages like pydantic for validation, pynacl for cryptographic signing, requests for HTTP communication, and xdrlib3 for Stellar's data serialization format. Optional async support and Shamir backup functionality are available through extras.

Use it for

  • Build and submit payment transactions on the Stellar network from a Python application
  • Query account balances, transaction history, and network state via Horizon API
  • Create and manage Stellar keypairs and sign transactions for custody or trading workflows
  • Integrate Stellar blockchain functionality into a Python backend service or trading bot
  • Call Stellar Soroban smart contracts using generated Python bindings

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Stellar SDK is actively maintained (last commit 2026-07-27), has no known vulnerabilities, and provides a complete, well-documented interface to the Stellar blockchain. Low install friction, permissive licensing, and broad Python version support make it a solid choice for any Stellar-based Python project. Install with confidence if you need to interact with Stellar.

Install

stellar-sdk on PyPI

Before you install

Low friction install with a pure-Python wheel. Actively maintained with recent releases; last commit 2026-07-27. Requires Python 3.10+ or PyPy 3.11. Eight runtime dependencies are all established packages (pydantic, requests, pynacl, etc.), making the dependency tree straightforward.

Requires Python 3.10 or higher; PyPy 3.11 is also supported. Optional async support and Shamir backup require additional dependencies installed via extras.

License in practice

Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions—suitable for most projects that can comply with attribution and license disclosure requirements.

Quickstart

pip install stellar-sdk

from stellar_sdk import Keypair, Server, TransactionBuilder, Network, Asset

alice_keypair = Keypair.from_secret("SBFZCHU5645DOKRWYBXVOXY2ELGJKFRX6VGGPRYUWHQ7PMXXJNDZFMKD")
server = Server("https://horizon-testnet.stellar.org")
account = server.load_account(alice_keypair.public_key)
transaction = TransactionBuilder(
    source_account=account,
    network_passphrase=Network.TESTNET_NETWORK_PASSPHRASE,
    base_fee=100
).append_payment_op("GA7YNBW5CBTJZ3ZZOWX3ZNBKD6OE7A7IHUQVWMY62W2ZBG2SGZVOOPVH", Asset.native(), "10.25").build()
transaction.sign(alice_keypair)
response = server.submit_transaction(transaction)

Verify before relying

  • Whether the package's type hints (Typing :: Typed classifier) cover all public APIs or only partial coverage
  • Performance characteristics when handling large transaction batches or high-frequency network queries
  • Compatibility details with Stellar RPC server versions beyond what the description states

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release <4.0,>=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
8 packages
mnemonicpydanticpynaclrequestsrequests-ssetomltyping-extensionsxdrlib3
MaintenanceActively maintained 41 days since the last release
Last repo commit
First released
Downloads179,787 / month, #10,162 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

Evidence: stellar_sdk-15.0.0-py3-none-any.whl

Tags

Capabilities
stellar blockchain pythonbuild stellar transactionsstellar horizon clientxlm cryptocurrency sdkstellar soroban contractsdistributed exchange pythonstellar rpc server
Topics
blockchaincryptocurrencycryptography
PyPI keywords
stellar-sdkstellarstellar.orglumensxlmblockchaindistributed exchangecryptocurrencydexhorizonsorobansdextradingsorobansoroban-rpcstellar-rpc

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “stellar blockchain python”

  • stellar-sdkStellar SDK provides Python APIs to build and sign transactions,…
  • chia-rsProvides Python bindings to Rust crates for working with the Chia…
  • tonsdkLow-level Python library for interacting with the TON blockchain,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also web3 · solana · injective-py · cdp-sdk · etherscan-python · cosmpy · planetary-computer · aptos-sdk · hyperliquid-python-sdk · dune-client