Skip to main content

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

Project description

Get 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.

GitHub Actions

The functions in this module are also available through these GitHub Actions:

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-2.0.0.tar.gz (19.0 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-2.0.0-py3-none-any.whl (20.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for get_latest_version-2.0.0.tar.gz
Algorithm Hash digest
SHA256 ee0a0183030fbce23945a7faa86ad7433cbb84ce84a32c574f9747e4adc34936
MD5 6d1b24c805513c9871f0d39e3cd913b0
BLAKE2b-256 f92b37311db4dd0e78d6fc3a839a7977f631bcaf7fa62ead6baee0fa6b245230

See more details on using hashes here.

Provenance

The following attestation bundles were made for get_latest_version-2.0.0.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-2.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for get_latest_version-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d8af51bcc1246ae1922fce567707c02ccebc1639459143935386a9151e5527f7
MD5 dfdf6ae9e74045b952b8fd58d76b2fca
BLAKE2b-256 917eed6b6c96c0b42c2efed4d95a509fbcf87742e674af71bc8dcb5d61bd2198

See more details on using hashes here.

Provenance

The following attestation bundles were made for get_latest_version-2.0.0-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