stats
Contact me
My Mail: semechkagent@gmail.com
News
Recently, the code was rewritten, but without using notepad. I was able to understand and get used to PyCharm, which means that refactoring and quick code writing functions became available to me. This has greatly simplified the work and revealed a lot of bugs in my code, which means that my code is far from perfect and I have something to strive for. In any case, I have fixed quite important flaws in my code and partially rewritten my code once again. It's easier for me to start from scratch than to redo ВЇ_(гѓ„)_/ВЇ
Modules
- ColorModule
- LoggerModule
- ExceptModule
- FileModule
- StringUtilModule
- TableBuildModule
- UtilsModule
- CustomShellModule
- DatabaseManageModule (working)
ColorModule
from NewLifeUtils.ColorModule import FGC, ACC
print(f'{FGC.RED}Red text')
print(f'{FGC.GREEN}Green text')
print(f'{ACC.UNDERLINE}UNDERLINE')
print(f'{ACC.RESET}No formating')
LoggerModule
from NewLifeUtils.LoggerModule import log, wrn, err, tip, rea
a = rea('input your data:')
log('My Event')
wrn('Something is wrong')
err('I broke something.')
tip('Tip #1, I recommend it to you...')
log('Event with tag', 'my tag')
ExceptModule
from NewLifeUtils.ExceptModule import except_print
try:
a = [1,2,3]
a[3]
except Exception as e:
except_print(e,"fatal", tb=True) #Not more working
StringUtilModule
from NewLifeUtils.StringUtilModule import screate,remove_csi
from NewLifeUtils.ColorModule import FGC, ACC
text = f'{FGC.RED}r{FGC.GREEN}g{FGC.BLUE}b{ACC.RESET}'
print(f'Original: {text}')
print('|'+screate(text, size=10, insert="r", filler_symbol=" ")+'| - right 10 (" ")')
print('|'+screate(text, size=10, insert="l", filler_symbol=" ")+'| - left 10 (" ")')
print('|'+screate(text, size=10, insert="l", filler_symbol="@")+'| - left 10 ("@")')
print(remove_csi(text))
TableBuildModule
from NewLifeUtils.TableBuildModule import *
data = [
"header", "header number 2", "num",
"data","tooooooooooooooooo long string", "123",
"data2", "small","15436"
]
table = create_table(3,[],data)
print(table)
*Translator used
Metadata
Release files for NewLifeUtils 5.2.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 | Provenance | Actions |
|---|---|---|---|---|
| NewLifeUtils-5.2.1.tar.gz | 9.8 kB | Without provenance | Details for NewLifeUtils-5.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| NewLifeUtils-5.2.1-py3-none-any.whl | Python 3 | none | any | Details for NewLifeUtils-5.2.1-py3-none-any.whl |
Total release size: 21.4 kB
Release files / NewLifeUtils-5.2.1.tar.gz
| Download URL | NewLifeUtils-5.2.1.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b59cf408f82afc6486c74074a424585fc8b161d347d489650ec73d5b08f8d3a8
|
|
BLAKE2b-256 checksum How to use checksums |
1d5459423ce9fda4a88268efa51c5339f7df93137edd7f4389e1f1beb5850e8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
|
Release files / NewLifeUtils-5.2.1-py3-none-any.whl
| Download URL | NewLifeUtils-5.2.1-py3-none-any.whl |
|---|---|
| Size | 11.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
03379c84590ad2898682417aba0fbf85dd2d1f60c3baf97153488815d61214ec
|
|
BLAKE2b-256 checksum How to use checksums |
28cc71c2823827f98d6a53b25d08573dfc160bbc7bc6e1bd92c4c17680a7bf3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
|
Security for NewLifeUtils 5.2.1
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.