lithic
The official Python library for the lithic API
Decision gist · record as of 2026-08-14
Yes. This is the official Lithic SDK with active maintenance, low install friction, permissive licensing, no known vulnerabilities, and solid popularity. Install it if you need to integrate Lithic's card issuance or payment API into a Python application.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later and a valid Lithic API key set via LITHIC_API_KEY environment variable.
- Low friction installation with standard dependencies.
- Actively maintained with recent releases; repository shows consistent activity and no archived status.
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.
last release 2026-05-27 (79 days) · last repo commit 2026-08-14 · 52 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 97,609 downloads/mo, #13,142 on PyPI
Alternatives
Verify before relying
pip install lithic
import os
from lithic import Lithic
client = Lithic(api_key=os.environ.get("LITHIC_API_KEY"), environment="sandbox")
card = client.cards.create(type="SINGLE_USE")
print(card.token)- Whether the MCP Server integration is production-ready or still experimental.
- Performance characteristics when handling high-volume pagination across large result sets.
- Whether aiohttp backend provides measurable concurrency improvement for typical workloads.
What it is and what it does
Lithic is the official Python SDK for the Lithic card issuance and payment API. It wraps the REST API with full type annotations, offering both synchronous and asynchronous clients powered by httpx. The library handles authentication via environment variables, provides auto-paginating iterators for list operations, and includes webhook parsing and signature verification.
The package is designed for developers building payment and card management features. It includes typed request parameters and Pydantic response models, supports nested parameters as TypedDicts, and offers helper methods for serialization. An optional aiohttp backend is available for improved async concurrency, and webhook verification requires the optional standardwebhooks package.
Use it for
- Create and manage single-use or physical payment cards programmatically in a sandbox or production environment.
- Iterate through paginated card lists automatically without manually handling page cursors or successive requests.
- Parse and verify incoming webhook events from Lithic with signature validation for event-driven workflows.
- Build async-first payment applications using AsyncLithic with optional aiohttp for high-concurrency scenarios.
- Integrate card issuance into web frameworks with full type hints for IDE autocomplete and type checking.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
This is the official Lithic SDK with active maintenance, low install friction, permissive licensing, no known vulnerabilities, and solid popularity. Install it if you need to integrate Lithic's card issuance or payment API into a Python application.
Install
lithic on PyPI
Before you install
Low friction installation with standard dependencies. Actively maintained with recent releases; repository shows consistent activity and no archived status.
Requires Python 3.9 or later and a valid Lithic API key set via LITHIC_API_KEY environment variable.
License in practice
Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions—suitable for most projects.
Quickstart
pip install lithic
import os
from lithic import Lithic
client = Lithic(api_key=os.environ.get("LITHIC_API_KEY"), environment="sandbox")
card = client.cards.create(type="SINGLE_USE")
print(card.token)
Verify before relying
- Whether the MCP Server integration is production-ready or still experimental.
- Performance characteristics when handling high-volume pagination across large result sets.
- Whether aiohttp backend provides measurable concurrency improvement for typical workloads.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagesanyiodistrohttpxpydanticsniffiotyping-extensions |
| Maintenance | Actively maintained 79 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 97,609 / month, #13,142 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: OS IndependentOperating System :: POSIXOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python ModulesTyping :: Typed |
Evidence: lithic-0.125.0-py3-none-any.whl
Tags
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 › “lithic api client python”
- lithicProvides a typed Python client for the Lithic REST API, supporting…
- twentyc.rpcA client library for consuming 20c's RESTful API, built on top of the…
- codewords-clientA Python client library for the Codewords API with built-in FastAPI…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
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.
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.
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.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
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…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also hiddenlayer-sdk · modern-treasury · dodopayments · agentex-client · svix · llama-api-client · telnyx · orb-billing · composio-client · opencode-ai