-
get_version — Get the current installed comicbox version.
-
set_user_agent_context — Record how this process drives comicbox, for the outgoing User-Agent.
-
user_agent — Return the User-Agent for outgoing API requests.
comicbox.version¶
source module comicbox.version
Package name and version.
Functions
source get_version() → str
Get the current installed comicbox version.
source set_user_agent_context(entry_point: str, jobs: int | None = None, client: str | None = None) → None
Record how this process drives comicbox, for the outgoing User-Agent.
entry_point is "cli" or "lib"; jobs is the worker count a batch runs with; client names an embedding application.
Call before the first online request: API clients bake the header in at construction and are memoized per credential set, so a later change does not reach a session that already exists.
source user_agent() → str
Return the User-Agent for outgoing API requests.