Skip to main content

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

Release files for pydevtools 0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pydevtools 0.4
File Size Uploaded
pydevtools-0.4.tar.gz 2.0 kB Details

Release files / pydevtools-0.4.tar.gz

Download URL pydevtools-0.4.tar.gz
Size 2.0 kB
Tags Source
SHA-256 checksum
How to use checksums
04e4ca38004d5b839efe2b91fe47a8a1102b91743eee432e7aa5d529dd71da4e
BLAKE2b-256 checksum
How to use checksums
73069cda374a0db5cfd28f74ad92fbbf76ab43db3ef075ff79bbef019d0db7f9
Upload date
Uploaded using Trusted Publishing?
What is 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
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page