Skip to content

Cielquan/py-devtools-builtin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

py-devtools-builtin

Add devtools.debug() to python builtins

License

PyPI - Package latest release

PyPI - Supported Python Versions

PyPI - Supported Implementations

python-devtools is a tool with multiple debug functionality. As described in the docs you can add its toolset to the python builtins with a little trick. But instead of adding the import to sitecustomize.py or usercustomize.py you can also write it to a *.py file in the site-packages directory and also add a *.pth file which then imports the first file. This package does exactly that.

Simply install this package alongside devtools and you have its toolset available without an explicit import:

$ pip install devtools py-devtools-builtin

If you do not have devtools installed, py-devtools-builtin will install it for you.