Metadata-Version: 2.1
Name: sytk
Version: 0.3.2
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
License-File: LICENSE

# ___sytk___

Some tools making life a little easier :)

## EzParser

A simple html parser supporting recursive searching.

## Logger

Pre-defined `logging.Logger`.

## @print2file

+ Redirect all the context printed by `print()` into file named `{file}-{func}.txt`.
+ It can also catch Exception.

## @timer

Just as the name implies.The return value of the decorated function will turn to `(return_value, duration)`.

## debug

### @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`.

### d_print()

same usage with `print()`.

### clean()

Delete code lines containing '@debug' and 'd_print'. It is used to turn projects into productions.

## hack

### get_admin()

Get admin right for the script.


