Programmatic Python API Usage
Every command available from the command line utility is also available directly as function calls within Python.
To use the Python API,
import pdocs and then call the desired function call:
Every function is type hinted and takes and returns only builtin Python objects.
For a full definition of the API see the API reference documentation.