/python-polylith-example-hatch

Example Polylith setup for Python and Hatch

Primary LanguagePythonMIT LicenseMIT

Python Polylith Example

This is a repository with an example Python setup of the Polylith Architecture using hatch. Here you will find examples of code being shared between different kind of projects, and the developer tooling setup.

Developer experience

Mypy

Have a look at the mypy.ini configuration file, to make Mypy work really well with this type of architecture.

[mypy]
mypy_path = components, bases
namespace_packages = True
explicit_package_bases = True

Have a look at this repository for more information and documentation: Python tools for the Polylith Architecture