Skip to main content

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 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.

clean(path)

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sytk-0.0.10.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sytk-0.0.10-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file sytk-0.0.10.tar.gz.

File metadata

  • Download URL: sytk-0.0.10.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2

File hashes

Hashes for sytk-0.0.10.tar.gz
Algorithm Hash digest
SHA256 068046c0ed318106a27d544be557ec0aa870c3f7d86e2746d351bb9ee1752f30
MD5 d04454bd6908aa283ba5029bb73c07ca
BLAKE2b-256 881181d4a7e27a4fcad40b6e3fa9d5bbe0dc6551bcdbc104c6e4780018951bac

See more details on using hashes here.

File details

Details for the file sytk-0.0.10-py3-none-any.whl.

File metadata

  • Download URL: sytk-0.0.10-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2

File hashes

Hashes for sytk-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 782e32f8c9fc11a9edb19f77e685b807084c07912a5d94694602a9fe7723bff1
MD5 a3a5d231cf54b35a971a7631e67bb27e
BLAKE2b-256 d3be4a016b08ed3b881c0b7f27f649f9c7eace9426a497391a8686faff28dc2d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page