Skip to main content

CAMP Python SDK

Official Python client for CAMP — Career AI Model Platform — 7 career-native model families behind a standard chat-completions/embeddings request shape, plus live demo and media-generation endpoints.

Install

pip install careerstudiomax-camp

Quickstart

from camp import CampClient

client = CampClient(api_key="sk_live_your_key_here")

resp = client.chat_completions(
    model="careerlm-base",
    messages=[{"role": "user", "content": "Write a cover letter opener for a Senior PM role"}],
)
print(resp["choices"][0]["message"]["content"])

What you can do

Method Description
client.chat_completions(messages) Standard-format chat completions
client.chat_completions_stream(on_event, messages) Same, streamed
client.embeddings(input) Standard-format embeddings
client.models() List available models
client.score(content, type="cv") Structured scoring (CV, content)
client.embed(texts) Text embeddings (simplified)
client.agent_stream(on_event, task) Streaming agentic task execution

Deep reasoning

Pass reasoning=True to chat_completions() to raise the internal model's effort/complexity tier for that one call — useful for a genuinely hard question where the default fast path isn't giving you enough depth. Off by default, real added latency per call, no extra cost (it's still the same self-hosted model, just told to think harder — never escalates to an external provider).

resp = client.chat_completions(
    model="careerlm-base",
    messages=[{"role": "user", "content": "Compare 3 career paths for a mid-level backend engineer, with tradeoffs"}],
    reasoning=True,
)

Streaming

def on_chunk(event):
    print(event.get("text", ""), end="", flush=True)

client.chat_completions_stream(on_chunk, messages=[{"role": "user", "content": "Draft a resignation letter"}])

Errors

from camp import CampClient, CampError

try:
    client.score(cv_text)
except CampError as e:
    print(e.status, str(e))

Context manager

with CampClient(api_key="...") as client:
    ...

Full endpoint reference: camp.careerstudiomax.com/docs

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

careerstudiomax_camp-1.0.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

careerstudiomax_camp-1.0.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file careerstudiomax_camp-1.0.0.tar.gz.

File metadata

  • Download URL: careerstudiomax_camp-1.0.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for careerstudiomax_camp-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c3231e195239ca3871ee3de1ae37999f830f0f526108529a9951d47ffa22b262
MD5 c37029eba1c48d34fbadd5f05cd7bce1
BLAKE2b-256 2827ad98f81bec718587317c392a41d8f29fb48bf7ec225a3e1182b53ffd7ab3

See more details on using hashes here.

File details

Details for the file careerstudiomax_camp-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for careerstudiomax_camp-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d5377e8b7c2a1a5a7a002bd6091343228f3d3e79d799961eecbed620ea2c8af3
MD5 6655d56522c850a2fbf7aebf618db28c
BLAKE2b-256 6122923bad47130d7cc1d9ad1a55e5d7b64f450f4eb32d0107865ec83829a469

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page