How to get the dependencies of a Python package?
It is sometimes useful to know what are the dependencies of a Python package. For example, when building a Docker image, you might want to know which versions of the dependencies to install.
Here you go:
$ curl https://pypi.org/pypi/${PACKAGE_NAME}/${PACKAGE_VERSION}/json | jq