{"id":13795038,"url":"https://github.com/royreznik/rexi","last_synced_at":"2026-01-18T01:12:57.461Z","repository":{"id":220581634,"uuid":"751985100","full_name":"royreznik/rexi","owner":"royreznik","description":"Terminal UI for Regex Testing","archived":false,"fork":false,"pushed_at":"2024-08-28T19:51:59.000Z","size":431,"stargazers_count":309,"open_issues_count":6,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-29T23:19:38.612Z","etag":null,"topics":["python","regex","tui"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/royreznik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-02T18:59:39.000Z","updated_at":"2024-10-29T07:40:46.000Z","dependencies_parsed_at":"2024-02-09T10:47:14.103Z","dependency_job_id":"f1cf4d87-a4d2-4134-98ef-45788d63dc0e","html_url":"https://github.com/royreznik/rexi","commit_stats":null,"previous_names":["royreznik/rexi"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/royreznik%2Frexi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/royreznik%2Frexi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/royreznik%2Frexi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/royreznik%2Frexi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/royreznik","download_url":"https://codeload.github.com/royreznik/rexi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225157000,"owners_count":17429698,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","regex","tui"],"created_at":"2024-08-03T23:00:51.497Z","updated_at":"2026-01-18T01:12:52.434Z","avatar_url":"https://github.com/royreznik.png","language":"Python","funding_links":[],"categories":["Community"],"sub_categories":["Third Party Applications"],"readme":"\u003cp align=\"center\"\u003e\n     \u003ca\u003e\u003cimg src=\"https://github.com/royreznik/rexi/blob/master/docs/rexi.png\" alt=\"Rexi\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n     \u003ca href=\"https://github.com/royreznik/greps/actions/workflows/tests.yml\"\u003e\u003cimg src=\"https://github.com/royreznik/rexi/actions/workflows/tests.yml/badge.svg\" alt=\"Testing\"\u003e\u003c/a\u003e\n     \u003ca href=\"https://img.shields.io/github/license/royreznik/rexi\"\u003e\u003cimg src=\"https://img.shields.io/github/license/royreznik/rexi\" alt=\"License\"\u003e\u003c/a\u003e\n     \u003ca href=\"https://codecov.io/gh/royreznik/rexi\"\u003e\u003cimg src=\"https://codecov.io/gh/royreznik/rexi/graph/badge.svg?token=LOIYAMEI08\" alt=\"coverage\"\u003e\u003c/a\u003e\n     \u003ca href=\"https://pypi.org/project/rexi/\"\u003e\u003cimg src=\"https://img.shields.io/pypi/pyversions/rexi\" alt=\"versions\"\u003e\u003c/a\u003e\n     \u003cimg src=\"https://img.shields.io/badge/code%20style-black-black\" alt=\"style\"\u003e\n\u003c/p\u003e\n\n---\n\n`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.\nBuilt with Python and leveraging the `textual` library, `rexi` offers a user-friendly terminal UI to interactively work with regular expressions.\n![Demo](https://github.com/royreznik/rexi/blob/master/docs/demo.gif)\n\n## Features\n\n- **Interactive UI:** Built on top of the `textual` library, providing a clean and intuitive interface to work with.\n- **Regex Evaluation:** Supports evaluating regular expressions using either `match` or `finditer` modes, allowing users to select the most suitable method for their needs.\n- **Real-time Feedback:** Instantly see how your regular expression patterns match or find iterations over your input, enhancing learning and debugging experiences.\n- **Easy to Use:** Get started quickly with a simple command. `rexi` reads input directly from stdin, streamlining the process of testing regular expressions.\n\n\n# Installation\n```bash\npip install rexi\n```\n\n# Usage\n```bash\ncat /etc/hosts | rexi\n```\nOnce the UI is open, you can:\n\n1. **Write a Regex Pattern:** Enter your regex pattern in the designated input area.\n2. **Choose a Mode:** Select either `match` or `finditer` to apply your regex pattern.\n3. **View Results:** See the marked output based on your regex pattern and selected mode in real-time.\n\n## Contributing\n\nWe 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`.\n\n`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!\n\n\n## License\nThis project is licensed under the terms of the MIT license.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froyreznik%2Frexi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froyreznik%2Frexi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froyreznik%2Frexi/lists"}