Skip to content

Configuration

Runtime settings (also configurable via TCEPEPY_* environment variables).

Config dataclass

Mutable global configuration for tcepepy.

Access the singleton via tcepepy.config and set attributes directly, e.g. tcepepy.config.verbose = True.

verbose class-attribute instance-attribute

verbose: bool = False

Print the final API URL (and request/response details) on each call.

progress class-attribute instance-attribute

progress: bool = True

Show progress / status messages.

cache_ttl class-attribute instance-attribute

cache_ttl: int = 3600

In-memory cache time-to-live, in seconds.