This package includes some, for me, helpful small things.
Project description
Hi, this package can be used to shorten some commands from tkinter and colorama. As so,
Use :basepackage.module.pa(f for fore, b for back, s for style, with arguments: -colors: b = Black, r = Red, g = Green, y = Yellow, l = Blue, m = Magenta, c = Cyan, w = White -styles: d = dim, n = normal, b = bright -c, clear, reset or r to reset all colors and styles after printing the word. all in one argument, and the text in the second.
Use: -basepackage.module.defgeninf(): to get sys, node, release, version, machine, processor -basepackage.module.defbt(): to get bt.year, bt.month, bt.day, bt.hour, bt.minute, bt.second -basepackage.module.defcpucores(): to get pcores and lcores -basepackage.module.defcpufreq(): to get maxfreq, minfreq, curfreq -basepackage.module.defcpuusage(): to get cpuusge -basepackage.module.defmemory(): to get totmem,avamem,usdmem -basepackage.module.defswap(): to get totswap, avaswap, usdswap
Use: basepackage.module.error/help/info/askokcancel/askyesno/askyesnocancel/askretrycancel/askquestion(name, text) to get answer [short for tkinter messagebox]
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
Built Distribution
Hashes for basepackage-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fc8d335999705f693cb6a4bd691dd84f78464a7445850c6d5a453676e6d1bf5 |
|
MD5 | ffb2b1e9d8e233b8b48f48fc4e2132f8 |
|
BLAKE2b-256 | 5b620f1bc8357cfd3e3f5703ae204cda8811a093a3a533ef6d096bacb6b19f77 |