Interactive-buttons

Latest version: v3.5.0

Safety actively analyzes 685525 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

3.5.0

Added :
- Adding [`matrix`](https://github.com/mbcraft-exe/interactive_buttons#example-with-matrix_buttons-) function to display buttons matrix shaped.
py
mtrix = [[dict(), dict(), dict()],
[disct(), dict(), dict()]]

3.0.1

Added :
- Now to add buttons, you have to use `dict`.
python
buttons = [dict(name="Button 1", function=func1, args=("Hello !")),
dict(name="Button 2", function=func2)]

- [`column`](https://github.com/mbcraft-exe/interactive_buttons#example-with-column_buttons-) function added. [**DO NOT WORK ON EMULATED TERMINALS**](https://github.com/mbcraft-exe/interactive_buttons#%EF%B8%8F-warning--to-use-this-function-you-must-not-use-an-emulated-terminal).
- `SPACES` between linear buttons can now be defined.
python
Variables.SPACES = " " Default 5


STABLE

2.2.0

Fixed issues :
- When creating less than 3 buttons, the buttons made the error `list index out of range`.
- When creating more than 4 buttons, the selector went to the three first buttons.

Added :
- You can now defaultly get the output of the selected function.
![image_2023-10-08_230720380](https://github.com/mbcraft-exe/interactive_buttons/assets/75203091/d4f31019-5ead-40f4-b13a-0789c75c6ae4)

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.