This is a repository with an example Python
setup of the Polylith Architecture using rye
.
Here you will find examples of code being shared between different kind of projects, and the developer tooling setup.
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