A lightweight Python SDK for the Fulcrum Pro API, built with `httpx`.
Project description
FulcrumPro
A lightweight Python SDK for the Fulcrum Pro API, built on httpx.
Installation
pip install fulcrumpro
Or with uv:
uv add fulcrumpro
Requirements
- Python 3.14+
Quick Start
from fulcrumpro import FulcrumPro
client = FulcrumPro(api_token="your-api-token")
job = client.jobs.get("6a0e5cad7c2e97225f8def9c")
print(job["name"])
Use as a context manager to ensure the underlying HTTP connection is closed:
with FulcrumPro(api_token="your-api-token") as client:
job = client.jobs.get("6a0e5cad7c2e97225f8def9c")
Authentication
All requests are authenticated with a Bearer token. Pass your API token when constructing the client:
client = FulcrumPro(api_token="your-api-token")
Resources
Jobs
# Get a job by ID
job = client.jobs.get("6a0e5cad7c2e97225f8def9c")
Error Handling
All non-2xx responses raise a FulcrumProError:
from fulcrumpro import FulcrumPro, FulcrumProError
client = FulcrumPro(api_token="your-api-token")
try:
job = client.jobs.get("nonexistent-id")
except FulcrumProError as e:
print(e.status_code) # e.g. 404
print(str(e)) # "FulcrumPro API error 404: not found"
Version History
See CHANGELOG.md.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 fulcrumpro-0.1.0.tar.gz.
File metadata
- Download URL: fulcrumpro-0.1.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd27e6b354feb73a4990ed29d1d5159719a7112a3b03ac8f6678719a8f4d66f1
|
|
| MD5 |
e181779c199f0595965a06e7462366b8
|
|
| BLAKE2b-256 |
c5dbda53777d01ede2136a38b85c580fa52aee2ce5cc185a8fa401e87ef6581c
|
File details
Details for the file fulcrumpro-0.1.0-py3-none-any.whl.
File metadata
- Download URL: fulcrumpro-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5293df3d3b9ade08233e45ccf7c7d2bc22fe950c6ae11f6c5b5dc29270a0605d
|
|
| MD5 |
054586339708c83e7ddc5157c7e9e7f2
|
|
| BLAKE2b-256 |
e4d9fff30554e210f2f7b0b5e40bb9a793e7d05f2b14c8623532f8f8c0c39e5f
|