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.

@log

  • 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.5.tar.gz (2.8 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.5-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sytk-0.0.5.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.9

File hashes

Hashes for sytk-0.0.5.tar.gz
Algorithm Hash digest
SHA256 08f1b9e0d508d75a1ce8160b2d70308633e4f18e70eb02e66f91397cdb6deab2
MD5 c36c88fcac3df568fe323576f9db4d2e
BLAKE2b-256 c9809c59c88e985176c80e2b81095a15974a4bbc6fc5509a22f8ef6c59e694ba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sytk-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.9

File hashes

Hashes for sytk-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 37f9c64b8b31145d34b3364e76497ced9eb2c778e8b54fccb2c23f7a269b5cfe
MD5 739e4d90ac71319e063eddd3fcc0349b
BLAKE2b-256 b506972d57a3233d6d2aba961bb8a71ae86cec378a6f79fc698cb7373e737990

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