Get the ``Distribution`` instance for the named package. :param distribution_name: The name of the distribution package as a string. :return: A ``Distribution`` instance (or subclass thereof).
(distribution_name: str)
| 952 | |
| 953 | |
| 954 | def distribution(distribution_name: str) -> Distribution: |
| 955 | """Get the ``Distribution`` instance for the named package. |
| 956 | |
| 957 | :param distribution_name: The name of the distribution package as a string. |
| 958 | :return: A ``Distribution`` instance (or subclass thereof). |
| 959 | """ |
| 960 | return Distribution.from_name(distribution_name) |
| 961 | |
| 962 | |
| 963 | def distributions(**kwargs) -> Iterable[Distribution]: |