Build cards faster with our Python client library
Today we are launching a Python client library to help more developers build cards using the Lithic platform. This is our second library – we launched our first library in March in Node.js with Typescript.
These libraries reduce the time it takes to navigate and build with our API. That’s why we’re excited for this launch and are planning to continue expanding to other languages.
If you would like us to consider adding libraries in another programming language, send us a note at firstname.lastname@example.org.
Why we're launching a Python library
The Lithic Python library provides convenient access to the Lithic REST API from any Python 3.7+ application. It includes type definitions for all request params and response fields, and offers both synchronous and asynchronous clients.
How to use our Python Library for card issuing
You can use the client to execute a wide range of common operations like:
- Listing transactions and other resources with auto-pagination so you don’t have to query successive pages manually
- Automatic retries with a short exponential backoff
- Creating cards and accounts
- Adding funding sources
- Request timeouts
- Error handling
- Configuring custom URLs, proxies, and transports
Documentation for each method, request param, and response field are available in docstrings and will appear on hover in most modern editors.
If you would like to see type errors in VS Code to help catch bugs earlier, set python.analysis.typeCheckingMode to "basic".
To start using our client, install it via PIP.
pip install lithic
We’re releasing this Python library in beta. If you encounter any bugs or issues, please flag them by sending an email to email@example.com.