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,
from basepackage.module import *
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.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21c12301fb9b04f57f95b0cc2d377af75f877048263ddb34d9e0eef5ad193006 |
|
MD5 | a93f825f3bb27ecf6cd788d628967e22 |
|
BLAKE2b-256 | eb51afc4e03bcffc1f480891d02cbdc79bbc404a82769c98fe4b5605beb0d5be |