A fully customizable selection menu for python
Project description
SelectPy ( selectpy )
Selectpy is a simple python module to integrate a fully customizable select menu in your python projects.
How To Use
Installing The Module
pip install selectpy
Importing The Module in The Project
from selectpy import select
Adding The Select Menu And Getting The Result
ans = select(opts=["Option 1", "Option 2"],
msg="Choose an Option:",
c=">",
cursor_color="#ff0000",
selected_color="#ff0000",
unselected_color="#ffffff")
print(ans)
Output
Choose an Option:
> Option 1
Option 2
Option 1
Navigation For The Selection Menu:
-
Up Arrow
-
Down Arrow
-
Enter
-
Escape
-
Ctrl + C
Thats it!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file selectpy-0.0.2.tar.gz.
File metadata
- Download URL: selectpy-0.0.2.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e15adf706aa80ae476ae0d1f1d3dbf1d7711e0923c95ff8c1c45a2c804fa2eb0
|
|
| MD5 |
e4bb4a33e76d0b0b767b21e92f04841a
|
|
| BLAKE2b-256 |
a9cef7712164d28ba78236f3a665f8432608c22dc0cb54099a75d75624b63078
|
File details
Details for the file selectpy-0.0.2-py3-none-any.whl.
File metadata
- Download URL: selectpy-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1eaf641acd57b95a0657781679f3c9b2e7ce796cd50d2536c3295420b2923ddb
|
|
| MD5 |
6810c5f17ee2b8a626b20168e9a4b39d
|
|
| BLAKE2b-256 |
92ac652c4057a2bf937e0d95ea856bc04616e324de8b7e191a066b840786b7a5
|