Rencom Python SDK
Official Python SDK for the Rencom API.
Installation
pip install rencom
For x402 payment support:
pip install rencom[x402]
Quick Start
import asyncio
from rencom import AsyncRencomClient
async def main():
async with AsyncRencomClient(api_key="rn_...") as client:
# Search x402 resources
results = await client.x402.search("trading api")
for result in results.results:
print(f"{result.resource}: {result.description}")
# Search UCP products
products = await client.ucp.products.search("laptop case")
for product in products.products:
print(f"{product.title} - ${product.price.amount / 100:.2f}")
asyncio.run(main())
Authentication
Getting an API Key
- Visit https://api.rencom.ai/login
- Sign in with your email, Github or Google
- Generate an API key from your dashboard
Using Your API Key
The SDK supports multiple authentication methods:
API Key (recommended):
client = AsyncRencomClient(api_key="rn_...")
Environment Variable:
export RENCOM_API_KEY="rn_..."
client = AsyncRencomClient() # Auto-loads from environment
JWT Token:
client = AsyncRencomClient(jwt_token="eyJ...")
Features
- x402 resource search - discover APIs that accept blockchain payments
- UCP merchant discovery - find merchants and products on the Universal Commerce Protocol
- Fully typed with Pydantic models
- Built-in pagination support
- Async/await support via httpx
- Session tracking and analytics
Documentation
Full documentation coming soon.
See the examples/ directory for more usage examples.
Development
git clone https://github.com/rencom-ai/rencom-sdk-python.git
cd rencom-sdk-python
pip install -e ".[dev]"
Run tests:
pytest
The SDK auto-generates models from the OpenAPI specification:
python scripts/generate.py
Note: Files in rencom/_generated/ are auto-generated and should not be edited manually.
License
MIT License - see LICENSE for details.
Metadata
Release files for rencom 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rencom-0.1.5.tar.gz | 25.7 kB | With provenance | Details for rencom-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rencom-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for rencom-0.1.5-py3-none-any.whl |
Total release size: 51.0 kB
Release files / rencom-0.1.5.tar.gz
| Download URL | rencom-0.1.5.tar.gz |
|---|---|
| Size | 25.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6400b6ab9c470ae61be8d77488b0c71f5fad2ac914ceb66bd11fe9f50eca30c0
|
|
BLAKE2b-256 checksum How to use checksums |
48c8da0aa42f80c2069d88a2d2288cf12d27632175c3b84ce0ce94bac9b3d3a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 3, 2026.
Transparency logRelease files / rencom-0.1.5-py3-none-any.whl
| Download URL | rencom-0.1.5-py3-none-any.whl |
|---|---|
| Size | 25.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4d3d2ce64e66a32dcf1d47c200a0f7720ea488865ad357e1d463dbc0e87ce794
|
|
BLAKE2b-256 checksum How to use checksums |
cb42ec18fc7ff81dbeda8899a1f542a71ad392f2ab72aa52dde47df1c036f86d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 3, 2026.
Transparency logSecurity for rencom 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for rencom-0.1.5.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 3, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.