Yodas

Latest version: v1.4.1

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

Scan your dependencies

1.4.0

-----
Adding more insight into the inner workings of `Menu`

1. Added `Menu.setLayout(layout)` which customises the appearance of the Menu
2. Changed `Menu.add(item)` to `Menu.append(item)`
3. Added new function `Menu.pop()`
4. Added new function `Menu.remove(item)`
5. Fixed format issue in `README`

1.3.1

-----
Adding return variables to all functions.

1. Majorly reformatted README.md
2. `Yoda.delete()` now returns `bool` depending on whether the operation was successful or not.
3. `Yoda.__setPath()` now returns `bool` if successful
4. `Yoda.write()` returns `bool`
5. `Menu.setExecute()` returns `bool`
6. `Menu.add()` returns `bool`

1.3.0

1. Major update to README.md
2. In Yoda() changed name of function `open()` to `__open()`
3. In Yoda() changed name of function `setPath()` to `__setPath()`
4. In Menu() added new function `setExecute()`

1.2.0

1. Added full support to store items other than functions
2. In Menu() added support to add new items after menu creation using Menu.add()
3. In Menu() moved code to add items to Menu.add()

1.1.1

1. Added support to create empty Yoda `Yoda("empty.json")` will create a JSON with `{}`
2. Fixed issue where even in empty Yoda files, it will ask for the details

1.1.0

1. Added support for string only menus
2. Changed Menu.show() to Menu.select()
3. Fixed issue where camelCaseSplit() wouldn't detect words with a length of 2
4. Fixed issue whereupon creating Yoda, it won't ask for details until contents() is called
5. Fixed issue in Yoda where if the path doesn't exist, Yoda will crash

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.