Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yodas-1.0.1.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

yodas-1.0.1-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file yodas-1.0.1.tar.gz.

File metadata

  • Download URL: yodas-1.0.1.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

Hashes for yodas-1.0.1.tar.gz
Algorithm Hash digest
SHA256 198de055e160e4d37e41eded6f77e38191fda46a9e7a825158a1070db0d7ebb5
MD5 31c8c8c86f5052092acee314b6adf29b
BLAKE2b-256 3d93a1d8d17957879d223fef82170e780fabf6a1289a8bae137e4b5654b61559

See more details on using hashes here.

File details

Details for the file yodas-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: yodas-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 16.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.9

File hashes

Hashes for yodas-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9fae35c7648ffd056c6b2a82f0a4d49d8824eab490287384a80a9aadbe6f9912
MD5 97ed1a7f2a28ac50ed0c7499a7b44db9
BLAKE2b-256 ccd5411220532fd6320fd424db98861ab8af18833bbacfa3399270a4a005a438

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page