Skip to main content

No project description provided

Project description

Python Devtools

Pydevtools is full of tools i have found to be useful for python3 development

This project is BIG fans of decorators. All tools in this project can be used by adding a decorator to a function

Getting started

Import

Importing is pretty straight forward simply add import pydevtools

Timer

Time any function in your code simply by adding the @pydevtools.optimize.timer(output_function) decorator The output_function variable is designed to be a logging function such as logging.debug Any function that accepts a single string as input can be used as an output_function

Get_calls

We have all been there. A complex piece of code where one function keeps breaking and you suspect it is because of something that calls it get_calls helps you find exactly what is breaking it by giving you the function that calls it and the arguments that calls it it can be applied to any function by using the @pydevtools.debug.get_calls(output_function) decorator The output_function argument can be any function that accepts a single string argument but is intented for a logging function or print

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

pydevtools-0.4.tar.gz (2.0 kB view details)

Uploaded Source

File details

Details for the file pydevtools-0.4.tar.gz.

File metadata

  • Download URL: pydevtools-0.4.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.15rc1

File hashes

Hashes for pydevtools-0.4.tar.gz
Algorithm Hash digest
SHA256 04e4ca38004d5b839efe2b91fe47a8a1102b91743eee432e7aa5d529dd71da4e
MD5 e3cf08d403a61014dd064a9cdec2caaf
BLAKE2b-256 73069cda374a0db5cfd28f74ad92fbbf76ab43db3ef075ff79bbef019d0db7f9

See more details on using hashes here.

Supported by

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