Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

selectpy-0.0.4.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

selectpy-0.0.4-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file selectpy-0.0.4.tar.gz.

File metadata

  • Download URL: selectpy-0.0.4.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

Hashes for selectpy-0.0.4.tar.gz
Algorithm Hash digest
SHA256 fe873c968278519bfb039000b3bf5347421a3b4014b88f44a4183139b1d764bc
MD5 5875c065eb06b9d8a6938748efe32e3b
BLAKE2b-256 d545a6e5a6489b7d17e297ea95c6e48985c787b40cb4668644fbfef1d6ebffce

See more details on using hashes here.

File details

Details for the file selectpy-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: selectpy-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.2

File hashes

Hashes for selectpy-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5f126f579aa3ac6b7c4d94f71c5929f7c28e5179a40c88f0abf2a84d20b71b4a
MD5 65d85c5284aad24d10525b17a636db4a
BLAKE2b-256 98b28bd9ef149c255b1d42181be07d8ed3e478819570a4d8a04642466506fce5

See more details on using hashes here.

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