Developer documentation

Documentation for developers/contributors of pytil.

The project follows a simple project structure and associated workflow. Please read its documentation.

Project decisions

API design

If it’s a path, expect a Path, not a str.

If extending a module from another project, e.g. pandas, use the same name as the module.

If a module is a collection of instances of something, give it a plural name, else make it singular. E.g. exceptions for a collection of Exception classes, but function for a set of related functions operating on functions.

API implementation

When importing things, they also are exported, we do not attempt to remedy this. E.g. import numpy as np in can be accessed with, but help or Sphinx documentation will not include them. We assume a user will not use anything not mentioned in the documentation.