Language Versions
Local supporting tool for the Get Language Versions GitHub Action. It lives in Actions Toolbox so it sits next to that action. Install it on your machine, look up the same runtime versions the action would return, and copy the ones you want into the workflow.
The action remains the workflow step. This command prints a table of the flags you passed and the versions that matched. It does not replace lupaxa-actions-toolbox/get-language-versions.
Note: The action still writes JSON to
latest-versionsforfromJson. This command prints the same versions in a table.
Install
pip install lupaxa-language-versions
The first stable GitHub release publishes the package to PyPI.
Usage
language-versions python
language-versions python --min-version 3.11 --max-version 3.13
language-versions python --highest-only
The table lists the flags used, then the matching versions. --highest-only keeps a single version in that list.
┌──────────────────────┬─────────────────┐
│ Flag │ Value │
├──────────────────────┼─────────────────┤
│ language │ python │
│ min-version │ 3.11 │
│ max-version │ latest │
│ max-versions │ 0 (every match) │
│ include-prereleases │ no │
│ highest-only │ no │
│ remove-patch-version │ no │
│ use-head │ no │
├──────────────────────┴─────────────────┤
│ Versions (3) │
├────────────────────────────────────────┤
│ 3.11.9 │
│ 3.12.1 │
│ 3.13.0 │
└────────────────────────────────────────┘
The versions in that table are an example of the layout.
Invalid Input
An invalid argument prints one error line, then the help text. The error line is red in a terminal.
[ Error ] argument language: invalid choice: 'fish' (choose from go, node, nodejs, perl, php, python, ruby)
Check the versions locally, then keep the action in the workflow:
- uses: lupaxa-actions-toolbox/get-language-versions@master
id: get-versions
with:
language: "python"
min-version: "3.11"
language-versions python --min-version 3.11
Options
The flags match the action inputs.
| Option | Default | Meaning |
|---|---|---|
| language | go, node, nodejs, perl, php, python, or ruby. Required. | |
| --min-version | eol | Lowest major.minor. eol is the oldest supported release. all is every. |
| --max-version | latest | Highest major.minor, or latest for no upper bound. |
| --max-versions | 0 | 0 keeps every match. A positive number keeps that many newest versions. |
| --include-prereleases | off | Include prerelease versions. |
| --highest-only | off | Keep only the highest matching version. |
| --remove-patch-version | off | Print major.minor only. Cannot be combined with --include-prereleases. |
| --use-head | off | Read the default branch instead of the latest release. Ignored for PHP. |
Version Sources
The command reads the same lists as the action.
| Language | Setup Action | Version Source |
|---|---|---|
| Go | setup-go | go-versions |
| Node | setup-node | node-versions |
| Perl | setup-perl | actions-setup-perl |
| PHP | setup-php | phpreleases |
| Python | setup-python | python-versions |
| Ruby | setup-ruby | setup-ruby |
Metadata
Release files for lupaxa-language-versions 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lupaxa_language_versions-0.1.0.tar.gz | 8.7 kB | With provenance | Details for lupaxa_language_versions-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lupaxa_language_versions-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for lupaxa_language_versions-0.1.0-py3-none-any.whl |
Total release size: 19.0 kB
Release files / lupaxa_language_versions-0.1.0.tar.gz
| Download URL | lupaxa_language_versions-0.1.0.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
576e8e21d01ce2bfee8cb752fa1b467144cbd3943464fdbff00d081675cb5792
|
|
BLAKE2b-256 checksum How to use checksums |
47c24542d295c7d0f0b7ca97dc6a7b19b5d4238f3b15c0461611ce09154d6100
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.
Transparency logRelease files / lupaxa_language_versions-0.1.0-py3-none-any.whl
| Download URL | lupaxa_language_versions-0.1.0-py3-none-any.whl |
|---|---|
| Size | 10.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a9987903ad1f83cd6836fcfd905dfccce9925697b896d49abb489c6b1d0b70fd
|
|
BLAKE2b-256 checksum How to use checksums |
07f5195a903049db035da8fd123709ef73cbab7d0468b95375feb20a28ccddb3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.
Transparency logSecurity for lupaxa-language-versions 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for lupaxa_language_versions-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.