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] [-p PR] [-V] [search]

CLI to open PEPs in your browser

positional arguments:
  search             PEP number, or Python version for its schedule (default:
                     None)

options:
  -h, --help         show this help message and exit
  -u URL, --url URL  Base URL for PEPs (default: https://peps.python.org)
  -p PR, --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/

Open the PEPs website

$ pep
https://peps.python.org/
$ pep --pr 2440
https://pep-previews--2440.org.readthedocs.build

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.3.0.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

pepotron-0.3.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pepotron-0.3.0.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12

File hashes

Hashes for pepotron-0.3.0.tar.gz
Algorithm Hash digest
SHA256 4f793cef49bcd33bb9ae381f00532db18a066fdec3fd28f0bccf4481e377da6c
MD5 e9e25170ff897816ceb28cc16de8be7c
BLAKE2b-256 3b4a78366b9476b9b77685af592f1222effe8208f0581db8714a5056655509bc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pepotron-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12

File hashes

Hashes for pepotron-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 70611fd385d4073ad6c107180bb805cd85454740eb6af4af42a80bb876bd6186
MD5 8ebf411ed64e32e41efd13bb9e060481
BLAKE2b-256 d1742ec439e2e398974b6ea06bea28c82189275cdd85a1186cc6cb77b5484778

See more details on using hashes here.

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