Skip to content

Latest commit

 

History

History
44 lines (24 loc) · 1.54 KB

README.md

File metadata and controls

44 lines (24 loc) · 1.54 KB

PepDocs

Read PEPs in your console

v0.3.0 Python versions Code style: black Checked with mypy Interrogate CircleCI

Installing PepDocs

PepDocs is available at PyPI. You can install it using Pip:

$ python -m pip install pepdocs

Using PepDocs

To read a PEP in your console, use the pep command line command:

$ pep 8

Use pep --help to see available options.

You can also call PepDocs from your own scripts. In that case, use pepdocs.get():

import pepdocs
pep8 = pepdocs.get(8)

Installing From Source

You can always download the latest version of PepDocs from GitHub. PepDocs uses Flit as a setup tool.

To install PepDocs from the downloaded source, run Flit:

$ python -m flit install --deps production

If you want to change and play with the PepDocs source code, you should install it in editable mode:

$ python -m flit install --symlink