Hi! This package can be used to shorten some commands from tkinter and colorama. As so,
import basepackage.module
Use: -basepackage.module.pa(arg1: f for fore, b for back, s for style, colors first characters each, but k for black and l for blue. d for dim, h for bright and n for normal, c or r or clear or reset to reset all style after printing the word. The word in arg2 will be printed) -basepackage.module.p(arg1: --- to reset style and to mark text behind, without --- only print text and do not reset.)
Use: -basepackage.module.geninf(): to get sys, node, release, version, machine, processor -basepackage.module.bt(): to get bt.year, bt.month, bt.day, bt.hour, bt.minute, bt.second -basepackage.module.cpucores(): to get pcores and lcores -basepackage.module.cpufreq(): to get maxfreq, minfreq, curfreq -basepackage.module.cpuusage(): to get cpuusge -basepackage.module.memory(): to get totmem,avamem,usdmem -basepackage.module.swap(): 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]
Use: basepackage.module.ptest(number to test if primenumber or not) to get n for not a primenumber and p for primenumber
Use: basepackage.module.rstrng(lenght) to get random string with digits, special characters and letters
This package was written on Linux Debian 10.2 with use of the GNOME Terminal, python 3.7.4 64-bit, base anaconda, and Visual Studio Code.
Metadata
Release files for basepackage 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| basepackage-0.1.1.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| basepackage-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.5 kB
Release files / basepackage-0.1.1.tar.gz
| Download URL | basepackage-0.1.1.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6e5806ddf323c8ab0769183145c31bf783117385c570552c9790348cad2bac7d
|
|
BLAKE2b-256 checksum How to use checksums |
171450a370d3ba6d867ff5850378552c8cbb3a184a2a6637c803f105085200f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.4
|
Release files / basepackage-0.1.1-py3-none-any.whl
| Download URL | basepackage-0.1.1-py3-none-any.whl |
|---|---|
| Size | 15.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6f300d6217a49570126cb74192028df77705cc1c45c777bacd05ae5279591762
|
|
BLAKE2b-256 checksum How to use checksums |
2c376fe256d19cc5bb3ebaa39543411a5cd3eef6f0df5ad3390c7a967504ae39
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.4
|