Metadata-Version: 2.1
Name: pychoices
Version: 0.0.2
Summary: Small Python library for receiving choice input from user.
Home-page: https://github.com/brenodega28/pychoices
Author: Breno Gomes
Author-email: brenodega28@gmail.com
License: UNKNOWN
Description: # PyChoices
        A very small Python library for receiving choice input from your user.
        
        ## Installing
        ```bash
        pip3 install pychoices
        ```
        
        ## Quickstart
        ```python
        import pychoices
        
        result = pychoices.ask("Pizza", "Hamburguer", "Fries", label="Choose your favorite food!")
        
        print(result)
        #(0, "Pizza") or (1, "Hamburguer") or (2, "Fries")
        ```
        
        ## Reference
        <i>function</i> ask(*args, **kwargs)
        > args is the array of choices available for the user.
        > kwargs is a dictionary of options for customizing the ask function, the available options are:
        >> * <b>label</b>: a string that will be printed along with the choices
        >> * <b>color</b>: one of the options in the COLORS class, will be the color of the current activated option.
        
        <i>class</i> Colors
        >  Class holding some constant values of colors and styles for using in the ask function, the available colors are:
        >>* <b>HEADER</b>: Purple
        >>* <b>OKBLUE</b>: Blue
        >>* <b>OKGREEN</b>: Green
        >>* <b>WARNING</b>: Yellow
        >>* <b>FAIL</b>: Red
        >>* <b>BOLD</b>: Bold
        >>* <b>UNDERLINE</b>: Underlined
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
