Skip to main content

Timeback SDK

Server-side SDK for integrating Timeback into Python web applications.

Installation

# pip
pip install timeback-sdk[fastapi]
pip install timeback-sdk[django]

# uv (add to a project)
uv add "timeback-sdk[fastapi]"
uv add "timeback-sdk[django]"

# uv (install into current environment)
uv pip install "timeback-sdk[fastapi]"
uv pip install "timeback-sdk[django]"

FastAPI

from fastapi import FastAPI
from timeback.fastapi import create_timeback_router

app = FastAPI()

timeback_router = create_timeback_router(
    env="staging",
    client_id="...",
    client_secret="...",
    identity={
        "mode": "sso",
        "client_id": "...",
        "client_secret": "...",
        "get_user": lambda req: get_session_user(req),
        "on_callback_success": lambda ctx: handle_sso_success(ctx),
    },
)

app.include_router(timeback_router, prefix="/api/timeback")

Django

# Coming soon

Metadata

Release files for timeback-sdk 0.4.0

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

Source distribution (sdist)

Source distribution for timeback-sdk 0.4.0
File Size Uploaded Provenance Actions
timeback_sdk-0.4.0.tar.gz 113.3 kB Without provenance Details for timeback_sdk-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for timeback-sdk 0.4.0
File Interpreter ABI Platform Actions
timeback_sdk-0.4.0-py3-none-any.whl Python 3 none any Details for timeback_sdk-0.4.0-py3-none-any.whl

Total release size: 221.6 kB

Release files / timeback_sdk-0.4.0.tar.gz

Download URL timeback_sdk-0.4.0.tar.gz
Size 113.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f1f9e01fbd22c80f32a135947ccb684a8a290a7a9e1793a1667e5fa47fc26839
BLAKE2b-256 checksum
How to use checksums
bcfc197f2f8da668eaa00ab231c116a8ebeb4c0f27d96241d4e292e8e5ed2134
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / timeback_sdk-0.4.0-py3-none-any.whl

Download URL timeback_sdk-0.4.0-py3-none-any.whl
Size 108.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8cdcd3fa35e8fc5730ce4855a8696630a4f8c90e3417a0ffa722745ab7c83308
BLAKE2b-256 checksum
How to use checksums
a3d1e1f5c0d62d74aafdaf04063f1676ede6fbbca5d4f36773e6e4432d6b5462
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for timeback-sdk 0.4.0

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.

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files No provenance

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