rexi is a simple yet powerful CLI tool designed for developers, data scientists, and anyone interested in working with regular expressions directly from the terminal.
Built with Python and leveraging the textual library, rexi offers a user-friendly terminal UI to interactively work with regular expressions.
Features
- Interactive UI: Built on top of the
textuallibrary, providing a clean and intuitive interface to work with. - Regex Evaluation: Supports evaluating regular expressions using either
matchorfinditermodes, allowing users to select the most suitable method for their needs. - Real-time Feedback: Instantly see how your regular expression patterns match or find iterations over your input, enhancing learning and debugging experiences.
- Easy to Use: Get started quickly with a simple command.
rexireads input directly from stdin, streamlining the process of testing regular expressions.
Installation
pip install rexi
Usage
cat /etc/hosts | rexi
Once the UI is open, you can:
- Write a Regex Pattern: Enter your regex pattern in the designated input area.
- Choose a Mode: Select either
matchorfinditerto apply your regex pattern. - View Results: See the marked output based on your regex pattern and selected mode in real-time.
Contributing
We welcome contributions from the community! Whether it's adding new features, fixing bugs, or improving documentation, your help is appreciated. Please see our contribution guidelines for more information on how to contribute to rexi.
rexi is here to make working with regular expressions in the terminal an easy and interactive experience. Try it out and see how it can streamline your regex testing and learning process!
License
This project is licensed under the terms of the MIT license.
Metadata
Release files for rexi 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rexi-1.2.1.tar.gz | 6.1 kB | Without provenance | Details for rexi-1.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rexi-1.2.1-py3-none-any.whl | Python 3 | none | any | Details for rexi-1.2.1-py3-none-any.whl |
Total release size: 13.3 kB
Release files / rexi-1.2.1.tar.gz
| Download URL | rexi-1.2.1.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
307ce5efa4a921b472736f1334652b206a77eb1130528ee5995a45c0a5b1fe82
|
|
BLAKE2b-256 checksum How to use checksums |
79e1fb8f5b939f6d71012b173071a8a9791e7628f1f61491a46be1d009636378
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.11.13 Linux/6.11.0-1018-azure
|
Release files / rexi-1.2.1-py3-none-any.whl
| Download URL | rexi-1.2.1-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
60ba1098d48a83c0628381bac03f4979b124f86ba77b5f9e76de04bacdcc0ee8
|
|
BLAKE2b-256 checksum How to use checksums |
bfa91760518b503ebd5d09a0d950d8cbe7167ce7cee9a13027c460c78d3c57b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.11.13 Linux/6.11.0-1018-azure
|
Security for rexi 1.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.