Skip to main content

Rencom Python SDK

Official Python SDK for the Rencom API.

PyPI Python Versions License

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

  1. Visit https://api.rencom.ai/login
  2. Sign in with your email, Github or Google
  3. 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.

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)

Source distribution for rencom 0.1.5
File Size Uploaded
rencom-0.1.5.tar.gz 25.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rencom 0.1.5
File Interpreter ABI Platform
rencom-0.1.5-py3-none-any.whl Python 3 none any Details

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 log

Release 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 log

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page