Need help with pire?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

128 Stars 1 Forks Other 33 Commits 1 Opened issues


Python Interactive Regular Expressions

Services available


Need anything else?

Contributors list

# 499,658
33 commits


Python Interactive Regular Expression

PIRE is an interactive command-line interface allowing you to edit regexes live and see how your changes match against the input you specify.

.. image:: :scale: 75% :alt: example usage :align: center


Through PyPI::

$ pip install pire

Or from the project root directory::

$ python install

CLI Usage

Use --help/-h to view info on the arguments::

$ pire --help

Run pire against a text file::

$ pire application.log

Regexes used will be cached to a file in the present directory named


Pass a custom newline-delimited file with regexes::

$ pire -r app.pire application.log

Pass multiple files::

$ pire -r app.pire application.log application.log.1 application.log.2


$ pire -r app.pire application.log*


.. image:: :scale: 75% :alt: hotkeys :align: center


:0.2.0: - added several hotkeys for navigation - improved performance :0.1.1: - fixed bug with missing regex.pire file and output display :0.1.0: - curses interface implemented :0.0.1: - Project created

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.