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.1.tar.gz (2.9 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.1-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: selectpy-0.0.1.tar.gz
  • Upload date:
  • Size: 2.9 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.1.tar.gz
Algorithm Hash digest
SHA256 94016be63be1afb09d88beba7117a0a68f6eb15f7349cc0f9d5cd7fa7d69c553
MD5 2e0a52ef92ee677a3a2bf5e445474248
BLAKE2b-256 f60624530f07630fc298be5e5b056b14cf91d57b98803b70eeb41a214fdbd5d6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: selectpy-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bf253217c03d8e2d253d9170c1125494ed3cec4deb0bb3b5504e45aec121ccd9
MD5 97fdf06323c7ba64e5b850cf737bfdcb
BLAKE2b-256 2f46100d3ba791cbd7f343170b06cceb75337a31b322e1a4b67e2703bd2beb33

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