Closed fireclawthefox closed 6 months ago
Currently, the store collects information from PyPI via the pip command line interface.
A better way would be to call the json API provided by PyPI directly. https://warehouse.pypa.io/api-reference/json.html
Simply calling the GET /pypi/<project_name>/json will provide the necessary details in the Info > version field.
GET /pypi/<project_name>/json
Additionally to the version, other details like description could be used to propagate other fields in the store.
Currently, the store collects information from PyPI via the pip command line interface.
A better way would be to call the json API provided by PyPI directly. https://warehouse.pypa.io/api-reference/json.html
Simply calling the
GET /pypi/<project_name>/json
will provide the necessary details in the Info > version field.Additionally to the version, other details like description could be used to propagate other fields in the store.