Peplum is a terminal-based lookup manager for Python Enhancement
Proposals. It provides the ability to browse,
filter and search the metadata for all the PEPs available via the PEP
API.
Also, if you do have uv installed, you can simply use
uvx:
uvxpeplum
to run peplum.
Homebrew
The package is available via Homebrew. Use the following
commands to install:
brewtapdavep/homebrew
brewinstallpeplum
Running Peplum
Once you've installed Peplum using one of the above
methods, you can run the application using the peplum
command.
Command line options
Peplum has a number of command line options; they include:
-b, --bindings
Prints the application commands whose keyboard bindings can be modified,
giving the defaults too.
peplum--bindings
ChangeTheme - Change the application's theme
Default: f9
EditNotes - Edit the highlighted PEP's notes
Default: f2
Escape - Back up through the panes, right to left, or exit the app if the navigation pane has focus
Default: escape
FindPEP - Find and jump to a specific PEP
Default: p
Help - Show help for and information about the application
Default: f1, ?
Quit - Quit the application
Default: f10, ctrl+q
RedownloadPEPs - Redownload the list of PEPs
Default: ctrl+r
Search - Search for text anywhere in the PEPs
Default: /
SearchAuthor - Search for an author then filter by them
Default: u
SearchPythonVersion - Search for a Python version and then filter by it
Default: v
SearchStatus - Search for a PEP status and then filter by it
Default: s
SearchType - Search for a PEP type and then filter by it
Default: t
ShowAll - Clear any filters and show all PEPs
Default: a
SortByCreated - Sort PEPs by their created date
Default: 2
SortByNumber - Sort PEPs by their number
Default: 1
SortByTitle - Sort PEPs by their title
Default: 3
ToggleAuthorsSortOrder - Toggle the sort order of the authors in the navigation panel
Default: A
TogglePEPDetails - Toggle the display of the PEP details panel
Default: f3
TogglePythonVersionsSortOrder - Toggle the sort order of Python versions in the navigation panel
Default: V
ToggleSortOrder - Toggle the current sort order
Default: minus
ToggleStatusesSortOrder - Toggle the sort order of the statuses in the navigation panel
Default: S
ToggleTypesSortOrder - Toggle the sort order of types in the navigation panel
Default: T
ViewPEP - View the source of the currently-highlighted PEP
Default: f4
-h, --help
Prints the help for the peplum command.
peplum--help
usage: peplum [-h] [-v] [--license] [-b]
[-s {number,created,title,~number,~created,~title}] [-t THEME]
[pep]
The PEP lookup manager for your terminal.
positional arguments:
pep A PEP to highlight
options:
-h, --help show this help message and exit
-v, --version Show version information
--license, --licence Show license information
-b, --bindings List commands that can have their bindings changed
-s, --sort-by {number,created,title,~number,~created,~title}
Set the sort order for the PEPs; prefix with '~' for
reverse order
-t, --theme THEME Set the theme for the application (set to ? to list
available themes)
v0.6.0
Peplum - The PEP lookup manager for the terminal.
Copyright (C) 2025 Dave Pearson
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option)
any later version.
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
more details.
You should have received a copy of the GNU General Public License along with
this program. If not, see <https://www.gnu.org/licenses/>.
-t, --theme
Sets Peplum's theme; this overrides and changes any previous theme choice made
via the user interface.
To see a list of available themes use ? as the theme name:
When doing so, please do search past discussions and also issues current
and previous to make sure I've not
already dealt with this, or don't have your proposed change already flagged
as something to do.