Vertical menu widget for prompt-toolkit with optional fzf-inspired search
Project description
ptvertmenu
Vertical menu widget for prompt-toolkit with optional fzf-inspired search
Installation
Releases
ptvertmenu can be installed via pypi:
pip install ptvertmenu
For nix users, it is also available as a flake.
Repository
We can also clone the github repository and install ptvertmenu from it with:
pip install .
We can also install it for the current user only by running instead:
pip install --user .
Development
ptvertmenu 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/ptvertmenu.git cd ptvertmenu
- Use
venv
to create a local virtual environment withpython -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 ptvertmenu in "editable mode":
pip install -e '.[test]'
- To run the tests:
Or, to run the tests with coverage:pytest
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
ptvertmenu-0.1.0.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for ptvertmenu-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecb662211bb03f49002e12326a7efd7b4dcc5a18ec9e8b5290155e576821374a |
|
MD5 | 516dd76eda08ecac64fb15987a343993 |
|
BLAKE2b-256 | 67f819432c2d58888dd1da71afb1d292e878454c2e1841d4bc7fd8297fc05920 |