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.2.tar.gz (17.8 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.2-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: get_latest_version-1.0.2.tar.gz
  • Upload date:
  • Size: 17.8 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.2.tar.gz
Algorithm Hash digest
SHA256 b921e297fb76f50cb0a777bfe4476df68f4e9d89c0ca45e25198bb56c2b07c87
MD5 6b26de9daee17d2d03bf240bc804562b
BLAKE2b-256 aeaa6bc84f3ae60f1b999659d6ec22a15721c2778fed0054700452f34a9ca103

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for get_latest_version-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7bfd9e7bf58e7f4ec25009b00f6c229005ac660857808dce7ee53397b4fbb505
MD5 dadb16140109328ac9a955afd2c52176
BLAKE2b-256 a0ef1b128e16b7213d973576e0b6699cf6739a147ec93084e1005f311e0679f1

See more details on using hashes here.

Provenance

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