Metadata-Version: 2.1
Name: sytk
Version: 0.2.0
Summary: Some tools making life a little easier :)
Home-page: https://github.com/universuen/sytk
Author: universuen
Author-email: universuen@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown

# ___sytk___
Some tools making life a little easier :)
## Classes
### EzParser
A simple html parser supporting recursive searching.
## Decorators
### @cache
Cache the `{'func-params': return value}` of the decorated functions. It is mainly used on functions calculating duplicate data.
### @debug
+ Show `parameters` and `return value` of 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.
## Functions
### clean(path)
Delete code lines containing '@debug' and 'd_print'. It is used to turn projects into productions.
### get_admin()
Get admin right for the script.

