{"id":27167250,"url":"https://github.com/lfreleng-actions/pypi-version-check-action","last_synced_at":"2025-10-17T05:43:33.672Z","repository":{"id":282945797,"uuid":"949508005","full_name":"lfreleng-actions/pypi-version-check-action","owner":"lfreleng-actions","description":"Checks the Python package index for the presence of a package","archived":false,"fork":false,"pushed_at":"2025-04-07T18:16:15.000Z","size":28,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T19:28:36.163Z","etag":null,"topics":["pypi","python","release-automation","release-engineering"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lfreleng-actions.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-16T16:08:00.000Z","updated_at":"2025-03-25T11:33:32.000Z","dependencies_parsed_at":"2025-03-17T20:22:49.804Z","dependency_job_id":"80c4891d-280c-49ef-a6d1-98fefce91c5e","html_url":"https://github.com/lfreleng-actions/pypi-version-check-action","commit_stats":null,"previous_names":["lfreleng-actions/pypi-version-check-action"],"tags_count":1,"template":false,"template_full_name":"lfreleng-actions/actions-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfreleng-actions%2Fpypi-version-check-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfreleng-actions%2Fpypi-version-check-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfreleng-actions%2Fpypi-version-check-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfreleng-actions%2Fpypi-version-check-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lfreleng-actions","download_url":"https://codeload.github.com/lfreleng-actions/pypi-version-check-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247980805,"owners_count":21027804,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pypi","python","release-automation","release-engineering"],"created_at":"2025-04-09T04:51:25.483Z","updated_at":"2025-10-17T05:43:28.636Z","avatar_url":"https://github.com/lfreleng-actions.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\nSPDX-License-Identifier: Apache-2.0\nSPDX-FileCopyrightText: 2024 The Linux Foundation\n--\u003e\n\n# 📦 PyPI Package Check\n\nChecks the Python package index for the presence of a package (and\noptionally a specific release/version).\n\n## pypi-version-check-action\n\n## Usage Example\n\nPass the index query URL, along with Python package name and optionally the\npackage release/version to check.\n\n```yaml\n  - name: \"Checking package index for build/release\"\n    id: check-package-index\n    uses: lfreleng-actions/pypi-version-check-action@main\n    with:\n        index_url: \"https://pypi.org/simple\"\n        package_name: \"ITR\"\n        package_version: \"1.1.10\"\n```\n\nQuery URL examples:\n\n- PyPI \u003chttps://pypi.org/simple\u003e\n- TestPyPI \u003chttps://test.pypi.org/simple\u003e\n\n## Inputs\n\n\u003c!-- markdownlint-disable MD013 --\u003e\n\n| Variable Name   | Required | Default                   | Description                                  |\n| --------------- | -------- | ------------------------- | -------------------------------------------- |\n| PACKAGE_NAME    | True     |                           | Name of Python package to check              |\n| PACKAGE_VERSION | False    |                           | Optional release/version to check            |\n| INDEX_URL       | False    | \u003chttps://pypi.org/simple\u003e | The Python package index server URL to query |\n| PRE_RELEASE     | False    | False                     | Also checks pre-release/development versions |\n| EXIT_ON_FAIL    | False    | False                     | Set true to exit with error on failure       |\n\n\u003c!-- markdownlint-enable MD013 --\u003e\n\nNote: Leading \"v\" characters are automatically stripped, as the Python package\nindex uses purely numerical versioning.\n\n## Outputs\n\n\u003c!-- markdownlint-disable MD013 --\u003e\n\n| Variable Name | Mandatory | Description                                    |\n| ------------- | --------- | ---------------------------------------------- |\n| PACKAGE_MATCH | True      | Always reports the presence of the project     |\n| VERSION_MATCH | False     | Reports a match when specific version provided |\n\n\u003c!-- markdownlint-enable MD013 --\u003e\n\n## Implementation Details\n\nThis action uses the \"pip index\" command, which is an experimental command.\nIt may get removed/changed in a future release without prior warning.\n\nTo query development and pre-release packages, the action implementation uses\nthe \"--pre\" command-line flag to gather the required versioning information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flfreleng-actions%2Fpypi-version-check-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flfreleng-actions%2Fpypi-version-check-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flfreleng-actions%2Fpypi-version-check-action/lists"}