Skip to main content

Some tools making life a little easier :)

Project description

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.

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.3.1.tar.gz (6.3 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.3.1-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sytk-0.3.1.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.3.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for sytk-0.3.1.tar.gz
Algorithm Hash digest
SHA256 fd4df01ff1bf80b58cea391ec1bf44a865008f9869c7d9ded66bc152237fcbe5
MD5 3fdd744639bdcea610f9b51847a1169f
BLAKE2b-256 fa0d1e07446ac651fc9d20e73e7925d90cba03a15acff4e8e1acb8815edda5bb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sytk-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.3.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for sytk-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6fc8691d975c17fb9bc6b1f58eb086e7140d0e6b7bd91b9abf3f0a73b9437a0f
MD5 b94221e91fb60b68a50dcc2a8b4a5457
BLAKE2b-256 65cb0449115ba19981a7bff5f520b7638ca4ad07d095edf080e0f2adb3eb4b6d

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