The Python release cycle in your terminal
Project description
Pirel
Installation
It is recommended to install Pirel as a globally available CLI tool via uv (or pipx, etc.).
This way you Pirel will show you the status of your active Python interpreter.
uv tool install pirel
OR
pipx install pirel
You can also install Pirel into a specific virtual environment.
pip install pirel
Not that in this case Pirel will only have access to the Python interpreter of this very virtual environment.
CLI Docs
Usage:
$ pirel [OPTIONS] COMMAND [ARGS]...
Options:
--no-cache: Clear cache before running-v, --verbose: Enable verbose logging; can be supplied multiple times to increase verbosity. [default: 0]--version: Dispay the version of pirel--install-completion: Install completion for the current shell.--show-completion: Show completion for the current shell, to copy it or customize the installation.--help: Show this message and exit.
Commands:
check: Shows release information about your active Python interpreter.guess: Prompts the user with a random question regarding Python releases.list: Lists all Python releases in a table.
pirel check
Shows release information about your active Python interpreter.
If the active version is end-of-life, the program exits with code 1. If no active Python interpreter is found, the program exits with code 2.
Usage:
$ pirel check [OPTIONS]
Options:
--help: Show this message and exit.
pirel guess
Prompts the user with a random question regarding Python releases.
For example, "When was Python 3.9 released?" or "Who was the release manager for Python 3.6?".
The history is stored in the user data directory.
Usage:
$ pirel guess [OPTIONS]
Options:
--help: Show this message and exit.
pirel list
Lists all Python releases in a table. Your active Python interpreter is highlighted.
Usage:
$ pirel list [OPTIONS]
Options:
--help: Show this message and exit.
[!NOTE] You can still invoke
pirelwithout a subcommand and you will get a table of all Python releases. But note that this is deprecated, i.e. please usepirel list.
Contributing
PRs are welcome! 🤗
This project uses uv to manage packaging. Please check the corresponding docs for installation instructions.
Before you commit any changes, please ensure that you have pre-commit
available on your system. Run pre-commit install to install the project's hooks.
Development
Generate Video Demo
To generate the video demo on the top, I used vhs.
If you change something in the "tape" file ./assets/cli_demo.tape run the following
command to update the GIF: vhs assets/cli_demo.tape
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pirel-0.4.1.tar.gz.
File metadata
- Download URL: pirel-0.4.1.tar.gz
- Upload date:
- Size: 432.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22d12dade8396315a7e1612ae23af33014e3aa452d24b65b404b50f27306e71b
|
|
| MD5 |
e6fac7d913fe34a3ed4fd9b372003397
|
|
| BLAKE2b-256 |
79e454732ced6aab4c40c15c4538fc9eb1b2d23176bf1e780ed115814e0fbc6e
|
Provenance
The following attestation bundles were made for pirel-0.4.1.tar.gz:
Publisher:
publish.yml on RafaelWO/pirel
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pirel-0.4.1.tar.gz -
Subject digest:
22d12dade8396315a7e1612ae23af33014e3aa452d24b65b404b50f27306e71b - Sigstore transparency entry: 1107719084
- Sigstore integration time:
-
Permalink:
RafaelWO/pirel@6e830729df304b5b95054e11512757b0560f0424 -
Branch / Tag:
refs/tags/0.4.1 - Owner: https://github.com/RafaelWO
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6e830729df304b5b95054e11512757b0560f0424 -
Trigger Event:
release
-
Statement type:
File details
Details for the file pirel-0.4.1-py3-none-any.whl.
File metadata
- Download URL: pirel-0.4.1-py3-none-any.whl
- Upload date:
- Size: 14.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a24ce9b305ec506c565de425f727ba02a2b6673e42122d23fb50d4622f587997
|
|
| MD5 |
24e78863a7f971975d41e663e08ca71b
|
|
| BLAKE2b-256 |
2757f5e3686a0c24ed0670ac202d18d3ae2531970826f5a5c4f2b3e770c5520b
|
Provenance
The following attestation bundles were made for pirel-0.4.1-py3-none-any.whl:
Publisher:
publish.yml on RafaelWO/pirel
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pirel-0.4.1-py3-none-any.whl -
Subject digest:
a24ce9b305ec506c565de425f727ba02a2b6673e42122d23fb50d4622f587997 - Sigstore transparency entry: 1107719085
- Sigstore integration time:
-
Permalink:
RafaelWO/pirel@6e830729df304b5b95054e11512757b0560f0424 -
Branch / Tag:
refs/tags/0.4.1 - Owner: https://github.com/RafaelWO
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6e830729df304b5b95054e11512757b0560f0424 -
Trigger Event:
release
-
Statement type: