Skip to main content

Shared infrastructure for Timeback Python clients

Project description

timeback-common

Shared infrastructure for Timeback Python clients.

Installation

# pip
pip install timeback-common

# uv (add to a project)
uv add timeback-common

# uv (install into current environment)
uv pip install timeback-common
from timeback_common import BaseTransport, APIError, Paginator, where_to_filter

class MyTransport(BaseTransport):
    ENV_VAR_BASE_URL = "MY_SERVICE_BASE_URL"
    ENV_VAR_AUTH_URL = "MY_SERVICE_TOKEN_URL"
    ENV_VAR_CLIENT_ID = "MY_SERVICE_CLIENT_ID"
    ENV_VAR_CLIENT_SECRET = "MY_SERVICE_CLIENT_SECRET"

Components

Module Description
transport Base HTTP transport with OAuth2 client credentials
errors Shared exception hierarchy (APIError, NotFoundError, etc.)
pagination Async Paginator for list endpoints
filter where_to_filter() for type-safe filtering

Usage

This package is used internally by:

  • timeback-oneroster
  • timeback-caliper
  • timeback-edubridge
  • timeback-core

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

timeback_common-0.2.2b20260401010429.tar.gz (42.5 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file timeback_common-0.2.2b20260401010429.tar.gz.

File metadata

  • Download URL: timeback_common-0.2.2b20260401010429.tar.gz
  • Upload date:
  • Size: 42.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","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}

File hashes

Hashes for timeback_common-0.2.2b20260401010429.tar.gz
Algorithm Hash digest
SHA256 d11e3464320239eaeb23f6bc4ca7a61ad7ff32efc00ce962f37fc65307d9ecee
MD5 7037efc8ca3d1eab0260f1726edeb45a
BLAKE2b-256 473709d8e09db07a80babc2394b7bfed3d58f316c8c3ee5ddcdea2a972b0da1a

See more details on using hashes here.

File details

Details for the file timeback_common-0.2.2b20260401010429-py3-none-any.whl.

File metadata

  • Download URL: timeback_common-0.2.2b20260401010429-py3-none-any.whl
  • Upload date:
  • Size: 36.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","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}

File hashes

Hashes for timeback_common-0.2.2b20260401010429-py3-none-any.whl
Algorithm Hash digest
SHA256 0a6200acc2d8bcc39018c71b51363b8d499a59d4dea682c815a64705d39a6fba
MD5 0e492cbf2614010eb6676bfa42b3d6b0
BLAKE2b-256 b1dee6f133a75cd092f76555d691da3dbf3b3e81d17c7bed2f960cc204b5abb2

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