Skip to main content

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

fulcrumpro-0.2.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

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

fulcrumpro-0.2.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file fulcrumpro-0.2.0.tar.gz.

File metadata

  • Download URL: fulcrumpro-0.2.0.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for fulcrumpro-0.2.0.tar.gz
Algorithm Hash digest
SHA256 00f1d3039a69cebd0261fc851cc03e507f4e61319c4e81183a1a4afc7e579167
MD5 3c79a068ca324070e8a73c36c9a41277
BLAKE2b-256 df7c3d7fc75ca6e33cc63afa0af8ab9bc494c5989e25e49050fd3c9d0bf84986

See more details on using hashes here.

File details

Details for the file fulcrumpro-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: fulcrumpro-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for fulcrumpro-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3f3dd625580a2e97853bba38a5692f00a4f5648f2a2bec39247b1e4cfe39fc25
MD5 5ed60b65c8747e24e1fefc7ffc0e21ce
BLAKE2b-256 6447e8cf88f6011e858de8075bb2beb208289411c4670ad055613bf63dd05e3d

See more details on using hashes here.

Supported by

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