Skip to main content

timecampus-sdk

Official Python SDK for Timecampus — a privacy-first AI time-intelligence platform on the Burdenoff platform.

Pre-launch notice: Timecampus is launching in 2026. This package is published ahead of general availability so integrators can build early. There is no live production service yet — join the waitlist at timecampus.com to get early access.

This SDK is a thin shell over burdenoff-sdk-libs. It mounts the shared platform modules plus the Timecampus domain module and a standalone sandbox module, and exposes them as one ergonomic, fully typed client.

Features

  • Async/await throughout, built on httpx
  • Dual-endpoint GraphQL client (workspace + global gateways)
  • 23 mounted modules: the shared generic set + timecampus + sandbox
  • Multiple auth flows: email/password, device code, PKCE, client credentials
  • Automatic token refresh
  • Typed error hierarchy
  • Full type hints with py.typed marker

Installation

pip install timecampus-sdk

# Development install
pip install -e ".[dev]"

Quick Start

import asyncio
from timecampus_sdk import TimecampusSDK


async def main():
    # Defaults to the shared Burdenoff production gateways. Override the
    # endpoints via environment variables or constructor args for local dev.
    sdk = TimecampusSDK()

    # Sign in with email/password
    await sdk.auth.sign_in(email="user@example.com", password="secret")

    # Timecampus-domain operations are nested under sdk.timecampus
    entries = await sdk.timecampus.time_entries.list()
    projects = await sdk.timecampus.projects.list()

    # Shared cross-product modules are mounted at the top level
    tags = await sdk.tags.list()

    await sdk.close()


asyncio.run(main())

Nested namespace

Per the platform mandate (no compatibility shim), every module surface is nested under its owning module. The Timecampus domain bundle keeps its sub-entities nested:

await sdk.timecampus.time_entries.list()
await sdk.timecampus.projects.list()
await sdk.timecampus.tasks.list()
await sdk.timecampus.approvals.list()
await sdk.timecampus.expenses.list()
await sdk.timecampus.meetings.list()
await sdk.timecampus.pomodoro.list()
await sdk.timecampus.focus_scores.list()

Modules

All methods are async. The following modules are mounted on the TimecampusSDK instance: auth, billing, channels, conversations, devportal, export, files, groups, health, integrations, notifications, organizations, products, rbac, sandbox, scheduler, security, store, support, tags, timecampus, tours, workspaces.

Configuration

from timecampus_sdk import TimecampusSDK

sdk = TimecampusSDK(
    workspace_endpoint="https://graphqlworkspaces.burdenoff.com/workspaces/graphql",
    global_endpoint="https://graphql.burdenoff.com/global/graphql",
    client_id="burdenoff_cli_timecampus",   # required for device-code/PKCE flows
    oidc_issuer=None,                        # derived from global_endpoint
    api_key=None,
    access_token=None,
    refresh_token=None,
    workspace_token=None,
    timeout=30.0,
    auto_refresh=True,
)

Endpoints are resolved in this order: constructor argument, product-prefixed environment variable (TIMECAMPUS_WORKSPACE_ENDPOINT, TIMECAMPUS_GLOBAL_ENDPOINT), generic environment variable (BURDENOFF_WORKSPACE_ENDPOINT, BURDENOFF_GLOBAL_ENDPOINT), and finally the production gateways.

Error Handling

from timecampus_sdk import (
    TimecampusError,
    AuthenticationError,
    AuthorizationError,
    NetworkError,
    ValidationError,
    RateLimitError,
    DeviceCodeExpiredError,
    DeviceCodeDeniedError,
)

try:
    await sdk.auth.sign_in(email="user@example.com", password="wrong")
except AuthenticationError:
    print("Invalid credentials")
except NetworkError:
    print("Could not reach the API")
except TimecampusError as e:
    print(f"SDK error: {e}")

Development

python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"

make format        # black + isort
make lint          # flake8
make type-check    # mypy (strict)
make test          # pytest
make sanity        # format-check + lint + type-check + test (cov>=80) + build

License

Proprietary — Copyright Burdenoff Consultancy Services Pvt. Ltd.

Support

Metadata

Release files for timecampus-sdk 2026.1124.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for timecampus-sdk 2026.1124.2
File Size Uploaded Provenance Actions
timecampus_sdk-2026.1124.2.tar.gz 15.2 kB Without provenance Details for timecampus_sdk-2026.1124.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for timecampus-sdk 2026.1124.2
File Interpreter ABI Platform Actions
timecampus_sdk-2026.1124.2-py3-none-any.whl Python 3 none any Details for timecampus_sdk-2026.1124.2-py3-none-any.whl

Total release size: 23.5 kB

Release files / timecampus_sdk-2026.1124.2.tar.gz

Download URL timecampus_sdk-2026.1124.2.tar.gz
Size 15.2 kB
Tags Source
SHA-256 checksum
How to use checksums
3502b1ffe7b3c3cf3911202ba5f3e85ed428d7c75133dc6e45069329043ac52a
BLAKE2b-256 checksum
How to use checksums
43e399caad88b2923e6c5408ecdcc8004cd7232a9da4323fa6981117b3957afd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Release files / timecampus_sdk-2026.1124.2-py3-none-any.whl

Download URL timecampus_sdk-2026.1124.2-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8bf34dbdedc82d4108f9909ee940ff56ca586cf886fef5eb8442979088dd5779
BLAKE2b-256 checksum
How to use checksums
fe307879ddfb3f6848a4befd605e32a0aae0acd04f89bedbf8a87c533fd6836b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Security for timecampus-sdk 2026.1124.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page