Skip to main content

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

basepackage-0.0.2.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

basepackage-0.0.2-py3-none-any.whl (15.4 kB view hashes)

Uploaded Python 3

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