Home
A pyrig plugin that combines the pyrig-containers and pyrig-pypi plugins.
Overview
pyrig resolves each class's behaviour to the single most-derived (leaf) subclass found across all installed packages. When pyrig-containers and pyrig-pypi both extend some of the same pyrig classes, installing them together produces two competing leaves for that class that pyrig cannot disambiguate, and it raises an error.
This plugin resolves each such clash by providing a subclass that inherits from both sides, making it the one unambiguous leaf.
See the API Reference for the resolved classes.
Installation
uv add pyrig-containers-pypi --dev
This pulls in pyrig-containers and pyrig-pypi. With the package present,
pyrig runs cleanly with both plugins enabled and no extra configuration.