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.10b20260226174051.tar.gz (39.4 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.10b20260226174051-py3-none-any.whl (34.0 kB view details)

Uploaded Python 3

File details

Details for the file timeback_common-0.1.10b20260226174051.tar.gz.

File metadata

  • Download URL: timeback_common-0.1.10b20260226174051.tar.gz
  • Upload date:
  • Size: 39.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","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.10b20260226174051.tar.gz
Algorithm Hash digest
SHA256 a3e218a6c5067823b885d347726ad8a14485560033523c29e5c56f0e9aafd8b1
MD5 8eb9cee2b778f4d03280800a1f22896e
BLAKE2b-256 e8c5d2a4ff85c9bba458e845b939bbb4ffe7c3cfb8bf34624c750d4063e67ef7

See more details on using hashes here.

File details

Details for the file timeback_common-0.1.10b20260226174051-py3-none-any.whl.

File metadata

  • Download URL: timeback_common-0.1.10b20260226174051-py3-none-any.whl
  • Upload date:
  • Size: 34.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","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.10b20260226174051-py3-none-any.whl
Algorithm Hash digest
SHA256 04001a2ed9f2ba31bb608d23b79f3d281d717137564b9487dabd60239d44c027
MD5 8301ee4efb03feb566cd9bb7db1986c9
BLAKE2b-256 edbf48df0b086f1908524d5d1636a26863ea30b2568fb9bc80e3d118db6ae729

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