Get the latest version of the specified python package name in the pypi.
Project description
get_pypi_latest_version
1. Install package by pypi.
$ pip install get_pypi_latest_version
2. Run by command line.
- Usage:
$ get_pypi_latest_version -h usage: get_pypi_latest_version [-h] package_name positional arguments: package_name The specified python package name. e.g. opencv-python. optional arguments: -h, --help show this help message and exit
- Example:
$ get_pypi_latest_version opencv-python # 4.7.0.72
3. Use by python script.
from get_pypi_latest_version import GetPyPiLatestVersion
obtainer = GetPyPiLatestVersion()
package_name = 'opencv-python'
latest_version = obtainer(package_name)
print(latest_version)
Reference
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for get_pypi_latest_version-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b5f98ff8d9137bbd53cb51971d536027508b349827e7ecdcbeba1f47319c326 |
|
MD5 | 43a58ba68a73a77f855e98abd6c4dc9b |
|
BLAKE2b-256 | 20aa2eac4e00f83e33a472d54cdfe8c0f87b06798b75cefe085b4177f348161c |