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.1.12b20260303070340.tar.gz (41.0 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.1.12b20260303070340.tar.gz.

File metadata

  • Download URL: timeback_common-0.1.12b20260303070340.tar.gz
  • Upload date:
  • Size: 41.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","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.1.12b20260303070340.tar.gz
Algorithm Hash digest
SHA256 e571eea459a777b6daf551ef3c7e8eda0da66f6544ef78ffe72ed643ef7119da
MD5 7bf0299f5d81ebb7bf743c3876b05715
BLAKE2b-256 c14a34c5b63a18f36b573a22e53b6dcb183aba7abfc9a9b53eaffdbf2bd2b831

See more details on using hashes here.

File details

Details for the file timeback_common-0.1.12b20260303070340-py3-none-any.whl.

File metadata

  • Download URL: timeback_common-0.1.12b20260303070340-py3-none-any.whl
  • Upload date:
  • Size: 35.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","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.1.12b20260303070340-py3-none-any.whl
Algorithm Hash digest
SHA256 dbbd747a439c13582cc34fe5c1376b4855029aa2a64692479c4c20515b401617
MD5 0835d24aac1d7babd8f994d6600ac623
BLAKE2b-256 310dd0b0b2b23250d1b150d8974ed3214381c5fe62cc6759bc15565efb452522

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