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.3b20260424234036.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.

timeback_common-0.2.3b20260424234036-py3-none-any.whl (36.4 kB view details)

Uploaded Python 3

File details

Details for the file timeback_common-0.2.3b20260424234036.tar.gz.

File metadata

  • Download URL: timeback_common-0.2.3b20260424234036.tar.gz
  • Upload date:
  • Size: 42.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.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.2.3b20260424234036.tar.gz
Algorithm Hash digest
SHA256 1aebb5c5a2706158288f520087c8b1fb91c1249d659ac16749560b1d6fe29dab
MD5 6a10de5aa0e16ade7b0f51982d0841a7
BLAKE2b-256 14837b492bd888d996a0117fbdb6eb16665e9cd08423c55b27b8792854aa1dd4

See more details on using hashes here.

File details

Details for the file timeback_common-0.2.3b20260424234036-py3-none-any.whl.

File metadata

  • Download URL: timeback_common-0.2.3b20260424234036-py3-none-any.whl
  • Upload date:
  • Size: 36.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.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.2.3b20260424234036-py3-none-any.whl
Algorithm Hash digest
SHA256 9ce4835c2f9358f23642c39b582c447fe0e0f0067bfa6a2e9bf3f478a2724232
MD5 7ad5e9ad046e58f2eb9384a79093448e
BLAKE2b-256 4fd6b1c1b09286e9ee4657c95c9f7ee4736a1e3e17914b115bbf39975dfd4b9a

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