Skip to content
/ Picksy Public

Picksy. Python picker menu module with a simple search.

License

Notifications You must be signed in to change notification settings

hxii/Picksy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Picksy

Python picker module with a simple search.

Usage

from picksy import Picksy

options = {
  'thing': "This is the greatest thing!",
  'else': "This is different!",
  'blabla': "Only the best stuff"
}

message = "Select a thing!\n"

p = Picksy(options=options, message=message)

print(f"Your choice was {(p.get_choice())}")

Output:

>>> Your choice was blabla

Notes

  • Picksy will also accept a list type for the options argument, and will transform it into a dictionary automagically.
  • Picksy currently doesn't support multiple choice.

About

Picksy. Python picker menu module with a simple search.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published