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.2b20260326152502.tar.gz (42.0 kB view details)

Uploaded Source

Built Distribution

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

timeback_common-0.2.2b20260326152502-py3-none-any.whl (35.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: timeback_common-0.2.2b20260326152502.tar.gz
  • Upload date:
  • Size: 42.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.1 {"installer":{"name":"uv","version":"0.11.1","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.2b20260326152502.tar.gz
Algorithm Hash digest
SHA256 fe1c2387ea1598c3b48a1d1302c7ddef9c5eba8e390424aa03d44ab4f3c14d4f
MD5 c2c8e5d726ce8d7a04a005719953b5ed
BLAKE2b-256 c7a90832f1e6613f1ea9df174488319a7aac4c982644cd41bea7783fce5700a7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: timeback_common-0.2.2b20260326152502-py3-none-any.whl
  • Upload date:
  • Size: 35.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.1 {"installer":{"name":"uv","version":"0.11.1","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.2b20260326152502-py3-none-any.whl
Algorithm Hash digest
SHA256 e19b8fe55ec867264d98d143cbdaa89d6b1e096ea2b54cd46074e897705761dd
MD5 cfe569436c1a9a7ff8bfd84a0b1c70c5
BLAKE2b-256 b6b7e53dfc94a696d2186143fb50d7bcb048b2200a9bde66338b0decd34cb79c

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