Reactive Resume Python SDK (rxresume-python)
An unofficial modern, type-safe Python API Client (SDK) for Reactive Resume v4.
It supports both synchronous (httpx.Client) and asynchronous (httpx.AsyncClient) clients, ensures fully typed request/response schemas using Pydantic v2, and maps API errors to clean, descriptive Python exceptions.
Features
- Dual client modes: Support for both sync and async APIs.
- Full API coverage: Integrated modules for Resume management, Job Applications tracking, AI Agent, AI Providers configurations, Global Statistics, and Feature Flags.
- Type safety: Fully typed models for all entities using Pydantic V2.
- Robust error handling: Raw API status errors are automatically parsed into specific exceptions (
AuthenticationError,NotFoundError, etc.). - Developer Experience (DX): Code-completion ready with clear typing and docstrings.
Architecture
graph TD
UserApp[User Application / Script] -->|Instantiates| SyncClient[RxResumeClient]
UserApp -->|Instantiates| AsyncClient[AsyncRxResumeClient]
subgraph "Service Modules (Sync & Async)"
SyncClient --> Auth[auth]
SyncClient --> Resumes[resumes]
SyncClient --> Stats[statistics]
SyncClient --> Agent[agent]
SyncClient --> AIProviders[ai_providers]
SyncClient --> Flags[flags]
SyncClient --> AI[ai]
SyncClient --> Applications[applications]
end
Auth -->|HTTP/REST Calls| Backend[Reactive Resume v4 API Backend]
Resumes -->|HTTP/REST Calls| Backend
Stats -->|HTTP/REST Calls| Backend
Agent -->|HTTP/REST Calls| Backend
AIProviders -->|HTTP/REST Calls| Backend
Flags -->|HTTP/REST Calls| Backend
AI -->|HTTP/REST Calls| Backend
Applications -->|HTTP/REST Calls| Backend
Capability Matrix
| Service Module | Sync | Async | Key Mapped Endpoints (Postman Collection) |
|---|---|---|---|
Resumes (client.resumes) |
Yes | Yes | List, Get, Create, Update, Delete, Import, Download PDF, Set/Verify/Remove Password, Duplicate, Lock, Version History, Public Resume, Statistics |
Applications (client.applications) |
Yes | Yes | List, Get, Create, Delete, List Tags, Pipeline Stats, Bulk Import |
Auth (client.auth) |
Yes | Yes | List Providers, Export Account, Delete Account |
Statistics (client.statistics) |
Yes | Yes | Users Count, GitHub Stars, Resumes Count (Global Stats) |
Agent (client.agent) |
Yes | Yes | List Threads, Create/Get/Delete Threads, Send Message, Stop Active Run, Resume Message Stream, Create/Delete Attachment, Revert Action |
AI Providers (client.ai_providers) |
Yes | Yes | List, Create, Update, Delete, Test saved AI providers |
AI Functions (client.ai) |
Yes | Yes | Parse PDF, Parse DOCX, Chat, Analyze Resume |
Feature Flags (client.flags) |
Yes | Yes | List Server-side Feature Flags |
Installation
Install the package via pip or your favorite package manager:
pip install rxresume-python
Quick Start
1. Asynchronous Client (FastAPI / Asynchronous Code)
import asyncio
from reactive_resume import AsyncRxResumeClient
from reactive_resume.models import ResumeImportData, Basics
async def main():
# Initialize the async client
async with AsyncRxResumeClient(base_url="https://rxresu.me", api_key="your_api_key") as client:
# Create a new resume
import_data = ResumeImportData(
title="Ata Can Yaymacı - Backend Engineer",
basics=Basics(
name="Ata Can Yaymacı",
headline="Backend Engineer",
email="ata@example.com",
phone="+905555555555",
website="https://example.com",
),
sections={},
)
try:
# Import/Create a new resume
new_resume = await client.resumes.import_resume(import_data)
print(f"Created resume: {new_resume.name} (ID: {new_resume.id})")
# Download the compiled PDF bytes
pdf_bytes = await client.resumes.download_pdf(new_resume.id)
print(f"Downloaded PDF: {len(pdf_bytes)} bytes")
except Exception as e:
print(f"An error occurred: {e}")
if __name__ == "__main__":
asyncio.run(main())
2. Synchronous Client
from reactive_resume import RxResumeClient
with RxResumeClient(base_url="https://rxresu.me", api_key="your_api_key") as client:
resumes = client.resumes.list()
for resume in resumes:
print(f"Resume: {resume.name} (Slug: {resume.slug})")
3. Advanced Features (AI Agent, Statistics, Applications)
with RxResumeClient(base_url="https://rxresu.me", api_key="your_api_key") as client:
# 1. Start a new AI Agent thread and send a message
thread = client.agent.create_thread()
response = client.agent.send_message(
thread["id"], "Suggest a professional summary for a software developer."
)
print(f"AI Suggestion: {response}")
# 2. Retrieve global resume platform metrics
users_count = client.statistics.get_users_count()
print(f"Platform Users: {users_count}")
# 3. List job applications
apps = client.applications.list()
for app in apps:
print(f"Job application: {app.company} - {app.position} ({app.stage})")
# 4. Check server-side feature flags
flags = client.flags.list()
print(f"Signups disabled: {flags.get('isSignupsDisabled')}")
Demo Web Application & Docker
A full-fledged Flask web application is included in the demo/ directory to demonstrate real-world SDK usage:
- Local Execution:
uv sync --extra demo && python demo/app.py - Docker Compose:
docker compose -f demo/docker-compose.yml up --build
For detailed setup instructions, check out the Demo README and Flask Demo Guide.
Error Handling
All client API calls map HTTP errors to specific exception classes:
from reactive_resume import RxResumeClient, AuthenticationError, NotFoundError
try:
with RxResumeClient(base_url="https://rxresu.me", api_key="wrong_key") as client:
client.resumes.list()
except AuthenticationError as e:
print(f"Auth error (Status {e.status_code}): {e}")
except NotFoundError as e:
print(f"Not found: {e}")
except Exception as e:
print(f"Generic error: {e}")
Development & Testing
-
Clone the repository:
git clone https://github.com/your-username/reactive-resume-api-client-py.git cd reactive-resume-api-client-py
-
Install dependencies:
python3 -m venv .venv source .venv/bin/activate pip install -e ".[dev]"
-
Run the tests:
pytest
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for rxresume-python 0.6.0
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 |
|---|---|---|---|---|
| rxresume_python-0.6.0.tar.gz | 16.8 kB | With provenance | Details for rxresume_python-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rxresume_python-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for rxresume_python-0.6.0-py3-none-any.whl |
Total release size: 37.5 kB
Release files / rxresume_python-0.6.0.tar.gz
| Download URL | rxresume_python-0.6.0.tar.gz |
|---|---|
| Size | 16.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e8b38f715630e7a0ff42207be1f33fea18a5d91099ec51859a13e86b78286384
|
|
BLAKE2b-256 checksum How to use checksums |
7adf8da81342473d0e26e1082c5f100d1c58cd7120635e9477b83b9cefe81127
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 25, 2026.
Transparency logRelease files / rxresume_python-0.6.0-py3-none-any.whl
| Download URL | rxresume_python-0.6.0-py3-none-any.whl |
|---|---|
| Size | 20.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
54d997a93a3a9ffd3b99be237775e53e8ac6a9a043066fbb2b1ab3f44771bcda
|
|
BLAKE2b-256 checksum How to use checksums |
93f3c956a2c58399f77cf6d0774629c4df7c09da275169e9dac9d1658c3c3574
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 25, 2026.
Transparency logSecurity for rxresume-python 0.6.0
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
All 2 files in this release have been uploaded with provenance metadata.
Attestation for rxresume_python-0.6.0.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 Aug 25, 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.