Types
UTCDateTime
module-attribute
UTCDateTime = Annotated[datetime, AfterValidator(lambda dt: astimezone(utc))]
Datetime that's always in UTC.
CollectionOf
module-attribute
Type alias representing a union of list, tuple, and set.
OpenArchiveMode
module-attribute
OpenArchiveMode: TypeAlias = Literal['r', 'r:*', 'r:', 'r:gz', 'r:bz2', 'r:xz', 'w', 'w:', 'w:gz', 'w:bz2', 'w:xz', 'x', 'x:', 'x:', 'x:gz', 'x:bz2', 'x:xz', 'a', 'a:']
TreeStyle
module-attribute
TableStyle
module-attribute
TableStyle: TypeAlias = Literal['ascii', 'ascii2', 'ascii_double_head', 'square', 'square_double_head', 'minimal', 'minimal_heavy_head', 'minimal_double_head', 'simple', 'simple_head', 'simple_heavy', 'horizontals', 'rounded', 'heavy', 'heavy_edge', 'heavy_head', 'double', 'double_edge', 'markdown']