An open API service indexing awesome lists of open source software.

https://github.com/developerstoolbox/get-language-versions

Fetch up-to-date data on the latest version(s) available on Github Actions for a given set of languages.
https://github.com/developerstoolbox/get-language-versions

languages pypi pypi-package python python-package versions wolfsoftware

Last synced: about 10 hours ago
JSON representation

Fetch up-to-date data on the latest version(s) available on Github Actions for a given set of languages.

Awesome Lists containing this project

README

          



DevelopersToolbox logo




Github Build Status


License


Created




Release


Released


Commits since release















## Overview

This is a command line version of our github action [get-language-versions](https://github.com/ActionsToolbox/get-language-versions).

This script will fetch up-to-date data on the latest version(s) available on Github Actions for a given set of languages. It does this by first
identifying the latest release (if the version source is in GitHub), and then extracting the information from the versions file of that latest release.

It will also compare this to the End-Of-Life (EOL) data for that language to ensure that you are not being given EOL versions (unless you specifically
as the tool to give them to you).

## Installation

```
pip install wolfsoftware.get-language-versions
```

## Supported Languages

- Go
- Node / NodeJS
- Perl
- Php
- Python
- Ruby
- Terraform

## Usage

```
usage: get-language-versions [-h] [-v] [-H] [-L] [-P] [-R] [-m MIN_VERSION] [-M MAX_VERSION] [-V MAX_VERSIONS] [-l {go,node,nodejs,perl,php,python,ruby,terraform}]

flags:
-h, --help Show this help message and exit.
-v, --version Show program's version number and exit.

optional flags:
-H, --highest-only Only return the highest version found. (default: False)
-L, --list-languages List the supported languages (default: False)
-P, --include-pre-releases
Include pre-release versions (default: False)
-R, --remove-patch-version
Strip the patch version from the returned versions. (default: False)

optional:
-m MIN_VERSION, --min-version MIN_VERSION
The minimum version to start from (default: EOL)
-M MAX_VERSION, --max-version MAX_VERSION
The maximum version to include (default: LATEST)
-V MAX_VERSIONS, --max-versions MAX_VERSIONS
The maximum number of versions to return (default: 0)

required:
-l {go,node,nodejs,perl,php,python,ruby,terraform}, --language {go,node,nodejs,perl,php,python,ruby,terraform}
The language to check. (default: None)
```