lppn
| master | dev |
|---|---|
lppn, or Latest Python Patch Number, parses the Python FTP download page for the latest Python patch number of a given major and minor version. It can be used as a cli command or imported as a library. This was developped as a way to automate the download of the most recent python of an older, but still supported version.
Install
python3 -m venv venv
. venv/bin/activate
pip install lppn
Usage (python)
import lppn
major = 3
minor = 12
patch = lppn.get(major, minor)
print(f"{major}.{minor}.{patch}")
Usage (cli)
$ lppn -h
usage: lppn [-h] [-v] [-f] [-g MAJOR MINOR]
Print the latest Python patch number of a given major and minor version
options:
-h, --help show this help message and exit
-v, --version Print lppn version
-f, --full-version Print full python version
-g MAJOR MINOR, --get MAJOR MINOR
Major and minor python version e.g. 3 12
Metadata
Release files for lppn 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lppn-1.0.4.tar.gz | 11.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lppn-1.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.1 kB
Release files / lppn-1.0.4.tar.gz
| Download URL | lppn-1.0.4.tar.gz |
|---|---|
| Size | 11.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1769c939f4ae7e367871ca46addf1def76a563820e74d15394061312ca3e4c37
|
|
BLAKE2b-256 checksum How to use checksums |
83bf10c816fc3b66dd40be89ae3ff559eebe8b533bef4d3e92f4f11ed86fdcf5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / lppn-1.0.4-py3-none-any.whl
| Download URL | lppn-1.0.4-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3b6b9d222d6f886cb7d23f62c9b33e488f9646c1619f5e63df42f402452f30b3
|
|
BLAKE2b-256 checksum How to use checksums |
a7276795f4fdecf728d299dc87338fe495b92c33c0c586688fc6849bae39d43c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|