Skip to main content

Python module to get the latest version for various package types.

Project description

Latest Version

Python module to get the latest version for various package types.

All package sources, except PyPI support passing a minimum and maximum version to constrain results.

Usage

pip install get_latest_version

Digest of current latest Ubuntu image

from get_latest_version.dockerhub import get_current_image_digest

print(get_current_image_digest(USERNAME, DOCKER_HUB_TOKEN, "ubuntu"))

Latest available version of the Nextcloud AIO image

from get_latest_version.dockerhub import get_latest_image_version

print(get_latest_image_version(USERNAME, DOCKER_HUB_TOKEN, "nextcloud"))

Latest version of Matrix Authentication Service based on GitHub Container Registry versions

from get_latest_version.github import get_latest_version_from_package

print(get_latest_version_from_package(GITHUB_PAT, "element-hq", "matrix-authentication-service"))

Latest version of the ComfyUI based on GitHub releases

from get_latest_version.github import get_latest_version_from_releases

print(get_latest_version_from_releases(GITHUB_PAT, "comfyanonymous", "ComfyUI"))

Latest version of the ComfyUI based on GitHub tags

from get_latest_version.github import get_latest_version_from_tags

print(get_latest_version_from_tags(GITHUB_PAT, "comfyanonymous", "ComfyUI"))

Latest version of the requests from on PyPI

from get_latest_version.pypi import get_current_module_version

print(get_current_module_version("requests"))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

get_latest_version-1.0.1.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

get_latest_version-1.0.1-py3-none-any.whl (19.4 kB view details)

Uploaded Python 3

File details

Details for the file get_latest_version-1.0.1.tar.gz.

File metadata

  • Download URL: get_latest_version-1.0.1.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for get_latest_version-1.0.1.tar.gz
Algorithm Hash digest
SHA256 30fc52e336989468449b9c5bb09aee60f001790a210b508bacc708acd1debc34
MD5 a036579a5999dd535f8491ec0d0b7388
BLAKE2b-256 8770584a846594fef29983af790054c0f0b105bd7a1299c24250c79940e434ab

See more details on using hashes here.

Provenance

The following attestation bundles were made for get_latest_version-1.0.1.tar.gz:

Publisher: release.yml on joepitt91/latest_version

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file get_latest_version-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for get_latest_version-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c41e61f96f868392be17ef860597c907feca8166b248db76c4b9588507d5f0dd
MD5 8af5373fdabbf517607d56015c94d493
BLAKE2b-256 d5f87b9178ea37c55676b10084d41c0b4e0fb4de8e14a34fdba26aa6f6326b3c

See more details on using hashes here.

Provenance

The following attestation bundles were made for get_latest_version-1.0.1-py3-none-any.whl:

Publisher: release.yml on joepitt91/latest_version

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page