Skip to main content

CLI to open PEPs in your browser

Project description

pepotron

PyPI version Supported Python versions PyPI downloads Test codecov GitHub Code style: Black

CLI to open PEPs in your browser.

Installation

From PyPI

python3 -m pip install --upgrade pepotron

From source

git clone https://github.com/hugovk/pepotron
cd pepotron
pip install .

Usage

Help

$ pep --help
usage: pep [-h] [-u URL] [--pr PR] [-V] search

CLI to open PEPs in your browser

positional arguments:
  search             PEP number, or Python version for its schedule

options:
  -h, --help         show this help message and exit
  -u URL, --url URL  Base URL for PEPs (default: https://peps.python.org)
  --pr PR            Open preview for python/peps PR (default: None)
  -V, --version      show program's version number and exit

Open a PEP

$ pep 8
https://peps.python.org/pep-0008/

Open release schedule PEP for a Python version

$ pep 3.11
https://peps.python.org/pep-0664/

Open a build preview of a python/peps PR

$ pep 594 --pr 2440
https://pep-previews--2440.org.readthedocs.build/pep-0594/

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

pepotron-0.2.0.tar.gz (9.6 kB view hashes)

Uploaded Source

Built Distribution

pepotron-0.2.0-py3-none-any.whl (5.0 kB view hashes)

Uploaded Python 3

Supported by

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