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-1.0.3.tar.gz (18.1 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.3-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: get_latest_version-1.0.3.tar.gz
  • Upload date:
  • Size: 18.1 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.3.tar.gz
Algorithm Hash digest
SHA256 6ea2a6c03829659d5d224f6fce7538c6d202a711b694aa29c84ec62d91b9da62
MD5 72af27413efa53baccd10dc1fb893963
BLAKE2b-256 909f7153b327d04eb9d54bbc86f1e261b93cff05e89893673fc3272760a5198e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for get_latest_version-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1cfa6677d310b492981fcd8833a0b037cef8b624486ba27507c35d1c9f255678
MD5 95c051379bccfd52d49da5c39bf49eff
BLAKE2b-256 571db4220976f5daf71984fc3d8772c3add0d11cdbffb717c106cec613f755cc

See more details on using hashes here.

Provenance

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