Skip to main content

Fuzzy-filtering menu widget for prompt-toolkit

Project description

CI coveralls PyPI

ptfuzzmenu

A fuzzy-filtering menu widget for prompt-toolkit

Installation

Releases

ptfuzzmenu can be installed via pypi:

pip install ptfuzzmenu

Repository

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

pip install .

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

pip install --user .

Development

ptfuzzmenu 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/ptfuzzmenu.git
    cd ptfuzzmenu
    
  • 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 ptfuzzmenu 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

ptfuzzmenu-0.1.1.tar.gz (6.5 kB view hashes)

Uploaded Source

Built Distribution

ptfuzzmenu-0.1.1-py3-none-any.whl (9.3 kB view hashes)

Uploaded Python 3

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