TUI to test and develop regexes
Project description
_ _____.
_ __ ___ ___ ___| |__ \____|
| '_ ` _ \ / _ \ / __| '_ \ |
| | | | | | (_) | (__| | | | |
|_| |_| |_|\___/ \___|_| |_| |
Moch - Python Regex CLI Tool!
Moch provides a terminal UI to test and develop regexes.
The aim of this project is to make it easier to test and develop regexes without having to leave the terminal or browse the web.
Note...
Moch is an idea of a frustrated developer who got the task of developing regexes and not by a big corporation with deep pockets.
It is a project that is being developed by a single person in their free time.
If you feel Moch makes your regex journey a bit easier, saves you time and makes you more productive, please consider sponsoring! Your donations will go a long way in keeping the project alive and beers in my fridge! 🍺
Thank you!
Screenshots
- Match
- Substitution
- Regex Options
Installation
-
Via Pypi
pip install moch
Starting Moch
moch
Building From Source
Moch is currently using Python v3.8.X or above. In order to build Moch from source you must:
-
Clone the repo
-
Build and run the executable
poetry run moch
Moch Compatibility Matrix
| Moch | python |
|---|---|
| LTS | "3.8", "3.9", "3.10", "3.11", "3.12" |
Contributors
Without the contributions from these fine folks, this project would be a total dud!
Known Issues
This is still work in progress! If something is broken or there's a feature that you want, please file an issue and if so inclined submit a PR!
Contributions Guideline
- File an issue first prior to submitting a PR!
- Ensure all exported items are properly commented
References
Big thanks to the following projects for their inspiration:
Without them, this project would not be possible.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file moch-0.2.8.tar.gz.
File metadata
- Download URL: moch-0.2.8.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
556d44d28c22dcbe57498c9445c8a02f69b50f7ac515c71de11b3987bf39db4d
|
|
| MD5 |
60399fb6805670b4e727fed097aba4c3
|
|
| BLAKE2b-256 |
201b5e769e15db9eacc38874b98344fe0d87184c270b9160d2f9e7626c745bbd
|
Provenance
The following attestation bundles were made for moch-0.2.8.tar.gz:
Publisher:
release.yaml on dor1202/moch
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
moch-0.2.8.tar.gz -
Subject digest:
556d44d28c22dcbe57498c9445c8a02f69b50f7ac515c71de11b3987bf39db4d - Sigstore transparency entry: 171307212
- Sigstore integration time:
-
Permalink:
dor1202/moch@c85eeeb9e59b23749048e8f45e4d3968edde9e2c -
Branch / Tag:
refs/tags/v0.2.8 - Owner: https://github.com/dor1202
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@c85eeeb9e59b23749048e8f45e4d3968edde9e2c -
Trigger Event:
push
-
Statement type:
File details
Details for the file moch-0.2.8-py3-none-any.whl.
File metadata
- Download URL: moch-0.2.8-py3-none-any.whl
- Upload date:
- Size: 25.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c997d613f010942ec69217936b054f20f2f59888c56daaaf23dcf6d43ce21238
|
|
| MD5 |
a65d781b2a75da0821cc38df0af1e42f
|
|
| BLAKE2b-256 |
b5bf13a4d6466c4d109383480ae4d46cc315f892f2d871bd950dca9e223d402e
|
Provenance
The following attestation bundles were made for moch-0.2.8-py3-none-any.whl:
Publisher:
release.yaml on dor1202/moch
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
moch-0.2.8-py3-none-any.whl -
Subject digest:
c997d613f010942ec69217936b054f20f2f59888c56daaaf23dcf6d43ce21238 - Sigstore transparency entry: 171307213
- Sigstore integration time:
-
Permalink:
dor1202/moch@c85eeeb9e59b23749048e8f45e4d3968edde9e2c -
Branch / Tag:
refs/tags/v0.2.8 - Owner: https://github.com/dor1202
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@c85eeeb9e59b23749048e8f45e4d3968edde9e2c -
Trigger Event:
push
-
Statement type: