Kas-Utils
My utility library with zero dependency
Functions
add_json
- Append new entry in array and write in json file
append
- Append texts to a file
bgtask
- Run task in background supressing output by setting stdout and stderr to devnull
cat
- A poor alternative of GNU/Linux 'cat' command returning file content
center_text
- Centers texts to terminal
clear
- Clear the screen and show logo
copy
- Copies files or folders
delete
- Delete files/folders if exist
extract
- Extract zip/tar/tgz files
generate_readme
- Geneated markdown with function name and docstring
get_docstrings
- Returns a dictionary of function name as key and docstring as value
get_toml_ver
- Grab version from toml file
get_ver
- Converts 1.2.3 to 123 for easy comparison
grep
- Another poor alternative of GNU/Linux 'grep' command for regex search
inst_module
- Try to install pip modules
installer
- Install package by shell command. Specify a package name if it is different than the executable
is_installed
- Check if a process is running by 'command -v' command. If it has a output exit_code will be 0 and package is already installed
is_json
- Check if a json is valid
is_online
- Checks for a valid internet connection
is_running
- Check if a process is running by 'pidof' command.If pidof has a output exit_code will be 0 and process is running
killer
- Kill processes by pid
lolcat
- Prints colorful texts
move
- Copies files or folders
pretty_print
- Print decorated file content
readable
- Bytes to KB, MB converter
rename
- Copies files or folders
sed
- Another poor alternative of GNU/Linux 'sed' command to replace and write
send_mail
- Send mail by smtp library
shell
- Run shell commands in python
sprint
- Print lines slowly
write
- Write texts to a file
Metadata
Release files for kasutils 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kasutils-0.0.2.tar.gz | 5.9 kB | Without provenance | Details for kasutils-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kasutils-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for kasutils-0.0.2-py3-none-any.whl |
Total release size: 15.1 kB
Release files / kasutils-0.0.2.tar.gz
| Download URL | kasutils-0.0.2.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0ac07d5af6c608055e7d25b7a748119fcd612d99c23ad32d3925d6723d876548
|
|
BLAKE2b-256 checksum How to use checksums |
ead4a2e6850a846b1e3bd8c4d00b03f849e5a9c5f30d25dc65f38b4d7f55af41
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.11.4 Linux/5.15.0-1040-azure
|
Release files / kasutils-0.0.2-py3-none-any.whl
| Download URL | kasutils-0.0.2-py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
76a89ea56e36ddcc110b6c65beb62e78abdb4139ccaadadc3411fb6e50374f77
|
|
BLAKE2b-256 checksum How to use checksums |
999d24f3cffbc6243d41a0a1dd5a042cfbcab38e899960181ea123d29618095d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.11.4 Linux/5.15.0-1040-azure
|
Security for kasutils 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.