Skip to main content

Console regular expression editor

Project description

CI coveralls PyPI github

grexd

A console regular expression editor based on python's prompt-toolkit.

Installation

Releases

grexd can be installed via pypi:

pip install grexd

For nix users, it is also available as a flake.

Repository

We can also clone the github repository and install grexd from it with:

pip install .

We can also install it for the current user only by running instead:

pip install --user .

Development

grexd uses the standard python3 infra. To develop and test the module:

  • Clone the repository and go into the directory:
    git clone git@github.com:lpenz/grexd.git
    cd grexd
    
  • Use venv to create a local virtual environment with
    python -m venv venv
    
  • Activate the environment by running the shell-specific activate script in ./venv/bin/. For [fish], for instance, run:
    source ./venv/bin/activate.fish
    
  • Install grexd in "editable mode":
    pip install -e '.[test]'
    
  • To run the tests:
    pytest
    
    Or, to run the tests with coverage:
    pytest --cov
    
  • Finally, to exit the environment and clean it up:
    deactivate
    rm -rf venv
    

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

grexd-0.1.1.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

grexd-0.1.1-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file grexd-0.1.1.tar.gz.

File metadata

  • Download URL: grexd-0.1.1.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for grexd-0.1.1.tar.gz
Algorithm Hash digest
SHA256 57c7ef201d0927da6a8c86f718b0707671f604d7ee21f9ee89d94b652def2521
MD5 c9edeb2b002a4d77f62d67cc87d36049
BLAKE2b-256 039a11474a5b4610990abab262f105899bd9c58ef087668b9fbf2613cc7e65e2

See more details on using hashes here.

File details

Details for the file grexd-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: grexd-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for grexd-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 862a20f99e400dde27a5ce0cc7cb323f4f51899c382dd2d136352b36f128dba7
MD5 ba073f43e14a747029cec9f00421fabf
BLAKE2b-256 b64c8cba97a067ea9ba6b1fbdf29914a4542cd1ce957495982159be835660c27

See more details on using hashes here.

Supported by

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