Some tools making life a little easier :)
Project description
sytk
Some tools making life a little easier :)
@admin
Apply for the administrator right for the decorated function.
@cache
Cache the {'func-params': return value} of the decorated functions. It is mainly used on functions calculating duplicate data.
@debug
- Show
parametersandreturn valueof the decorated function in a vivid color. - Meanwhile, in the same usage with
print(),d_print()is also available to show the debug information in functions decorated with@debug.
@print2log
- Redirect all the context printed by
print()into file named{file}_[{func}].log. - It can also catch Exception.
clean(path)
Delete code lines containing '@debug' and 'd_print'. It is used to turn projects into productions.
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sytk-0.1.0.tar.gz.
File metadata
- Download URL: sytk-0.1.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.0 importlib_metadata/3.7.3 packaging/20.9 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d3ef6c3ef2c21a37e3ffe9fbdc503650a1d2981a716fcf0bd0a626034ab9e7c
|
|
| MD5 |
26b1332557cdbf702da67e64f290c774
|
|
| BLAKE2b-256 |
8e26f82aa395662889711312d23c7dd7dd8d7b887051938c7a810a1c745d0379
|
File details
Details for the file sytk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: sytk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.0 importlib_metadata/3.7.3 packaging/20.9 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1234b2b579ac71f7f65c26d75858d777fac8cb42eb117309092f6b0a91abc961
|
|
| MD5 |
7b193b751f94da785c34688d6d12001e
|
|
| BLAKE2b-256 |
471fe0b13e392e72eebc069fed7fe27ff8cc58d5d30bc78e9d4829ffb16621d1
|