Skip to main content
                       _    _____.
  _ __ ___   ___   ___| |__ \____|
 | '_ ` _ \ / _ \ / __| '_ \     |
 | | | | | | (_) | (__| | | |    |
 |_| |_| |_|\___/ \___|_| |_|    |

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!


Release License


Screenshots

  1. Match
  2. Substitution
  3. 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:

  1. Clone the repo

  2. 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.

Release files for moch 0.2.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for moch 0.2.8
File Size Uploaded
moch-0.2.8.tar.gz 12.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for moch 0.2.8
File Interpreter ABI Platform
moch-0.2.8-py3-none-any.whl Python 3 none any Details

Total release size: 37.8 kB

Release files / moch-0.2.8.tar.gz

Download URL moch-0.2.8.tar.gz
Size 12.2 kB
Tags Source
SHA-256 checksum
How to use checksums
556d44d28c22dcbe57498c9445c8a02f69b50f7ac515c71de11b3987bf39db4d
BLAKE2b-256 checksum
How to use checksums
201b5e769e15db9eacc38874b98344fe0d87184c270b9160d2f9e7626c745bbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.8

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 14, 2025.

Transparency log

Release files / moch-0.2.8-py3-none-any.whl

Download URL moch-0.2.8-py3-none-any.whl
Size 25.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c997d613f010942ec69217936b054f20f2f59888c56daaaf23dcf6d43ce21238
BLAKE2b-256 checksum
How to use checksums
b5bf13a4d6466c4d109383480ae4d46cc315f892f2d871bd950dca9e223d402e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.8

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 14, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.8 This release

2 release files

0.2.7

2 release files

0.2.6

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page