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.7.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.7-py3-none-any.whl (25.6 kB view details)

Uploaded Python 3

File details

Details for the file moch-0.2.7.tar.gz.

File metadata

  • Download URL: moch-0.2.7.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for moch-0.2.7.tar.gz
Algorithm Hash digest
SHA256 a58c71884f450b1668584368f9fc485b02450db34efd0287ed050fc997a93d2e
MD5 49ce8ccdd5247694c36cb4837d0b541c
BLAKE2b-256 56d27a11db0dc65301249f2f8186dff341192d5a07a8415798b7021f8574f39b

See more details on using hashes here.

Provenance

The following attestation bundles were made for moch-0.2.7.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.7-py3-none-any.whl.

File metadata

  • Download URL: moch-0.2.7-py3-none-any.whl
  • Upload date:
  • Size: 25.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for moch-0.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 f5fa73e45c2ab096caa41e551407a0cc738ef39631b954ee05b990b34b098ce2
MD5 6e1be8887490793b20db374d015b1e23
BLAKE2b-256 472fdd5ac7d47fb219475c468f9b44e1dcef511c20e07dc4402bf8a121e19290

See more details on using hashes here.

Provenance

The following attestation bundles were made for moch-0.2.7-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