Python SDK for the Laddro Career API
Project description
laddro-career
Python SDK for the Laddro Career API.
Install
pip install laddro-career
Usage
from laddro_career import Laddro, TailorRequest
laddro = Laddro("laddro_live_...")
# List resumes
result = await laddro.resumes.list()
for resume in result.items:
print(resume.title)
# Tailor a resume
pdf = await laddro.tailor.run(TailorRequest(
position_name="Senior Frontend Engineer",
job_url="https://jobs.example.com/senior-frontend",
))
# Stream progress
async for event in await laddro.tailor.stream(TailorRequest(
position_name="Senior Frontend Engineer",
job_description="We are looking for...",
)):
if event.event == "progress":
print(event.data)
# Generate cover letter
pdf = await laddro.cover_letters.generate(GenerateCoverLetterRequest(
position_name="Product Manager",
job_url="https://jobs.example.com/pm",
))
# Export as PDF
from laddro_career import ExportRequest
pdf = await laddro.export.pdf(ExportRequest(
resume_id="abc-123",
template_id="GRAPHITE",
))
# Browse templates (no auth)
laddro = Laddro()
templates = await laddro.templates.list()
# Configure BYOK
from laddro_career import UpdateAISettingsRequest
await laddro.settings.update_model(UpdateAISettingsRequest(
provider="Anthropic",
model="claude-sonnet-4-20250514",
api_key="sk-ant-...",
))
File uploads
from pathlib import Path
pdf = await laddro.resumes.parse(
Path("./resume.pdf"),
template_id="GRAPHITE",
)
tailored = await laddro.tailor.upload(
Path("./resume.pdf"),
position_name="Backend Engineer",
job_url="https://jobs.example.com/backend",
)
Error handling
from laddro_career import LaddroAPIError, LaddroAuthError, LaddroUsageLimitError
try:
await laddro.tailor.run(request)
except LaddroUsageLimitError:
print("Buy more credits at docs.laddro.com")
except LaddroAuthError:
print("Invalid API key")
except LaddroAPIError as e:
print(f"Error {e.status}: {e}")
Links
- Laddro — AI-powered career tools
- API Reference — Interactive docs
- Documentation — Guides and tutorials
- GitHub — All SDKs and tools
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
laddro_career-0.1.0.tar.gz
(9.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file laddro_career-0.1.0.tar.gz.
File metadata
- Download URL: laddro_career-0.1.0.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e21112593c7a0282128309674ee9bf6a3ae609e34a6c4b5693a8e03c1a768e8e
|
|
| MD5 |
ecf7064d29afe894cda7525fab31968e
|
|
| BLAKE2b-256 |
4eb1cbc6be5c8d065c93a4537d0f699689c4a32980d99f374fb8a6f281f783eb
|
File details
Details for the file laddro_career-0.1.0-py3-none-any.whl.
File metadata
- Download URL: laddro_career-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf3fb9d4b30b64551d714a6d8b48f1a827e2d13748b32027830075f55f34d1ed
|
|
| MD5 |
39977cb9362efd7a4d1c03fee07c165e
|
|
| BLAKE2b-256 |
bdd0870890ce9a93abd8a9f2ac3035e902f1ca590e277e43bf13f175d96bb7c6
|