Dataclasses API for PyPI and other warehouses.
Available from PyPI:
pip install package-index
>>> from package_index import fetch_package
>>> package = fetch_package('package-index')
>>> print(package.info)
PackageInfo(name='package-index', author='mdrachuk', author_email='misha@drach.uk', bugtrack_url=None, classifiers=['De...
>>> print(package.versions)
{'1.0.0b0', '1.0.0b1'}