Skip to main content

The Python release cycle in your terminal

Project description

Pirel

The Python release cycle in your terminal!

Package Version Python Version License

cli-example

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 pirel without a subcommand and you will get a table of all Python releases. But note that this is deprecated, i.e. please use pirel 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

pirel-0.3.0.tar.gz (425.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pirel-0.3.0-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file pirel-0.3.0.tar.gz.

File metadata

  • Download URL: pirel-0.3.0.tar.gz
  • Upload date:
  • Size: 425.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for pirel-0.3.0.tar.gz
Algorithm Hash digest
SHA256 25d811992eef26a96308bffbd1eee7819de5babb7228f679e23a526b8ce9534e
MD5 e2a4c744e3f2314783e0d763acac4006
BLAKE2b-256 1a9c96f3f51fac5e623efb68af0aca1e4771c6a524bc0186335185715f650a8b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pirel-0.3.0.tar.gz:

Publisher: publish.yml on RafaelWO/pirel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pirel-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: pirel-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for pirel-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2d8488648d8c7c33d98b1747d23c3b83d701354306be0b6a6dc6171d8b0c6615
MD5 d8c7b311b04575f71869d607987a932a
BLAKE2b-256 ca63d387900da06727e43d9dbd8226dcc58382071441608498e8b65f016f6a16

See more details on using hashes here.

Provenance

The following attestation bundles were made for pirel-0.3.0-py3-none-any.whl:

Publisher: publish.yml on RafaelWO/pirel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page