Skip to main content

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!


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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

moch-0.2.8.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

moch-0.2.8-py3-none-any.whl (25.6 kB view details)

Uploaded Python 3

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

Hashes for moch-0.2.8.tar.gz
Algorithm Hash digest
SHA256 556d44d28c22dcbe57498c9445c8a02f69b50f7ac515c71de11b3987bf39db4d
MD5 60399fb6805670b4e727fed097aba4c3
BLAKE2b-256 201b5e769e15db9eacc38874b98344fe0d87184c270b9160d2f9e7626c745bbd

See more details on using hashes here.

Provenance

The following attestation bundles were made for moch-0.2.8.tar.gz:

Publisher: release.yaml on dor1202/moch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for moch-0.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 c997d613f010942ec69217936b054f20f2f59888c56daaaf23dcf6d43ce21238
MD5 a65d781b2a75da0821cc38df0af1e42f
BLAKE2b-256 b5bf13a4d6466c4d109383480ae4d46cc315f892f2d871bd950dca9e223d402e

See more details on using hashes here.

Provenance

The following attestation bundles were made for moch-0.2.8-py3-none-any.whl:

Publisher: release.yaml on dor1202/moch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page