A set of made for CLI interfaces in Python
Project description
yodaTools
A group of tools I programmed that I use regularly. Public because why not, exists because I was tired of scrolling through repos to copy paste the same code again and again.
json
I use this sometimes, I am too lazy to explain it for now but it is simple
menu
This is a menu thing I wrote actually years ago, looking at the code for the menu now it is absolutely disgusting Any unhandled errors that occur will have a traceback tree the size of the distance between here and andromeda.
Like the latest commit I copied the menu code from was in March 2017.
One day I will optimise it and on that day you will get an unhandled ErectionError the size of the distance I mentioned earlier but in microns
Okay so I fixed it slightly Menu is now a class
options = [{"Quit": exit},
{"Menu 2": sample1}]
m = Menu(options, title="Main menu")
while True:
f = m.menu()
f()
Since I didn't want to copy git repos into other projects, I made a pip package
$ pip install yodas
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file yodas-1.0.2.tar.gz
.
File metadata
- Download URL: yodas-1.0.2.tar.gz
- Upload date:
- Size: 15.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f8eb55fa040d3e23116c6f73a5968e04fa2e6c19992044e36049300a4175276 |
|
MD5 | e857322da4d8cc8a3b5b1070a9cbdb1a |
|
BLAKE2b-256 | 33fbc82b3f49f32b71e334693fc1afedcbed46fa004723f708a73646ab3485b9 |
File details
Details for the file yodas-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: yodas-1.0.2-py3-none-any.whl
- Upload date:
- Size: 15.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24d3213cfcead89e0924e74d60538e5adc1cb673c4c4471017c98d4eb0bacef3 |
|
MD5 | acedb67ee92067e76a608e650de22ee8 |
|
BLAKE2b-256 | 1580e16094cb0c82a1001044053775f5bd07f1bbafad96375ee3a22c277acfad |