Skip to main content

Shared infrastructure for Timeback Python clients

Project description

timeback-common

Shared infrastructure for Timeback Python clients. Not published to PyPI.

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.0.tar.gz (36.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.1.0-py3-none-any.whl (30.9 kB view details)

Uploaded Python 3

File details

Details for the file timeback_common-0.1.0.tar.gz.

File metadata

  • Download URL: timeback_common-0.1.0.tar.gz
  • Upload date:
  • Size: 36.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","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.0.tar.gz
Algorithm Hash digest
SHA256 fd73c945cdc56157a9819d5ffafa6b80d6e3c4cb449af0133e076c3c5e838ac1
MD5 dde8d381b1cab0cc1d98ffba332f1510
BLAKE2b-256 01d6764c0ed85d66b9361ecd40b51cdcd59bb8be881a9ad91b8af0e82c70fa75

See more details on using hashes here.

File details

Details for the file timeback_common-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: timeback_common-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 30.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 647904847dc6126964096cec2b3fadab2d628180e4fe08a489ad9a40cf96fdbc
MD5 c5167299edebd46e39fb92f4ad5cd504
BLAKE2b-256 69b8375197f64c2360720d07e4c8e7841543709faffaf29f0e92ce2f0bc228ef

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