Skip to main content

TUI to test and develop regexes

Project description

____________________________
 _ __ ___   ___   ___| |____
| '_ ` _ \ / _ \ / __| '_ \|
| | | | | | (_) | (__| | | |
|_| |_| |_|\___/ \___|_| |_|

Mochi - Python Regex CLI Tool!

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

Mochi 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 Mochi 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 mochi-re
    

Starting Mochi

moch

Building From Source

Mochi is currently using Python v3.8.X or above. In order to build Mochi from source you must:

  1. Clone the repo

  2. Build and run the executable

    poetry run moch
    

Mochi Compatibility Matrix

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: moch-0.2.6.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.6.tar.gz
Algorithm Hash digest
SHA256 67548e5c9552306f425f6611d99893d92bd8e38e49dd4113d49a4c6e702b8d74
MD5 d288e0c99032e8a0aafb879197ae4439
BLAKE2b-256 a9591af4c5d1ad4a858123adffe6e5ab0d1b187177c5b7922e1cd8f9b3ae7ca3

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: moch-0.2.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d4a9445f15127cc894dae4ee8ab280643c853bbf4c3e607b86aa14a47481b51e
MD5 05f5440a59b9bc4fc001db392b9bd29f
BLAKE2b-256 fb282b0f829c0ee846d302ea416ccbdbdb9619b26514a410d9b76d8831ded4a1

See more details on using hashes here.

Provenance

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