API reference
Modules
A JSON-oriented API client depending only on the Python standard library. |
|
Build helpers: get information about Git repositories, transpile makrdown files. |
|
HTTP callback server, typically used for redirects of authorization flows. |
|
Polyfills for Django's Choices classes so that shared libraries may define choice models without depending on Django. |
|
Parse and convert lists and dicts. |
|
Define and run command-line interfaces. |
|
Extend ways to access ConfigParser sections. |
|
Information about the execution context: script path and name, user scopes, SID, etc. |
|
Flexible conversion of types. |
|
Write and read CSV using flexible format options. |
|
Generic database access and tools. |
|
Base abstraction to access different database backends. |
|
Implementation of base Db adapter for the MariaDB database backend. |
|
Implementation of base Db adapter for the MySQL database backend. |
|
Implementation of base Db adapter for the PostgreSQL database backend. |
|
Implementation of base Db adapter for the SQLite database backend. |
|
Implementation of base Db adapter for the Sql Server database backend. |
|
Load .env files and read environment handling type conversions and default values. |
|
Write and read Excel tables (requires zut[excel] extra: openpyxl defusedxml). |
|
Archivate files. |
|
Find geographical libraries. |
|
Encryption and decryption with GnuPG. |
|
Topological sort of dependency graphs |
|
Write and read JSON using extended encoder and decoder. |
|
Registration of locales and retrieval of information about locales. |
|
Configuration of logging and helpers for specific use cases. |
|
Resolve DNS with a timeout, check port status, determine proxy, etc. |
|
Parse and convert numbers. |
|
Manage passwords with GPG using pass file structure. |
|
Normalize and check paths, find paths to the root hierarchy, get default application directories. |
|
Track elapsed time and memory consumption (requires zut[perf] extra: psutil). |
|
Install PyPi dependencies with pip. |
|
Run processes and handle process errors (wrappers and extensions on stdlib's subprocess). |
|
Define and resolve secrets. |
|
Parse and transform SQL queries. |
|
Provide a polyfill for the tabulate function to handle simple cases. |
|
Console ANSI colors and live, interactive Console output. |
|
Manage UTF8 BOM, fix encoding issues, generate slugs, provide flexible filters. |
|
Parse and convert dates, times and time zones. |
|
Python typing helpers. |
|
Test runner wrapper and polyfills for unittest. |
|
Build and manipulate URLs. |