Xrpl-py
xrpl-py is a client library for Python: ready-made code that lets a Python program work with the XRP Ledger. It is a pure Python library that uses native Python models and methods.
In plain words
With xrpl-py your Python code can connect to the XRP Ledger, get an account, look up information and submit transactions. The getting started tutorial builds a simple application that does the first three.
What you need
The tutorial asks for a basic understanding of Python and for Python 3.7 or later. It is meant for beginners and should take no longer than 30 minutes.
How it works
You connect through a client. The standard approach with xrpl-py is the JSON-RPC client. A WebSocket client is available too, but it requires asynchronous code throughout. For testing, the generate_faucet_wallet method creates and funds an account on the Testnet, a parallel network where the money has no real value. The account_info method then looks up that account.
Good to know
The answer to an account lookup gives the balance in drops. One drop is the smallest unit of XRP. News about updates to the Python library goes to the xrpl-announce mailing list.
Source: xrpl.org, xrpl.org, xrpl.org. Read 6 December 2026.
Zerpedia states what the source says, in plain words, and gives no opinion. How Zerpedia is made