Tool for changing python print statements into logging module invocations. Automatically adds the appropriate imports.
Project description
use_logging
========================
Tool for changing python print statements into logging module invocations. Automatically adds the appropriate imports.
Implemented by wrapping lib2to3, hence some oddities.
Installation
------------------------
$ pip install use_logging
Example Useage
------------------------
$ use_logging -w my_project/*.py
Links
------------------------
https://docs.python.org/2/library/2to3.html
ToDo
------------------------
1. Any more tests?
1. Publish on pypi.
1. Rest of stuff in https://github.com/vitorbaptista/pyconuk_helloworld (bandit, manifest/+check)
========================
Tool for changing python print statements into logging module invocations. Automatically adds the appropriate imports.
Implemented by wrapping lib2to3, hence some oddities.
Installation
------------------------
$ pip install use_logging
Example Useage
------------------------
$ use_logging -w my_project/*.py
Links
------------------------
https://docs.python.org/2/library/2to3.html
ToDo
------------------------
1. Any more tests?
1. Publish on pypi.
1. Rest of stuff in https://github.com/vitorbaptista/pyconuk_helloworld (bandit, manifest/+check)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
use_logging-0.0.1.tar.gz
(6.3 kB
view hashes)
Built Distribution
Close
Hashes for use_logging-0.0.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e2d29c3f8ef5bcca2afe92769c867f44b25bc673ec81c3cce38d0b29de5b955 |
|
MD5 | 3d2218b1d1adc1a1fda4861c95f933bc |
|
BLAKE2b-256 | 1027c2ccebd839985fd2400238b007eaa18fc146a5d96bb9aaa166bb76b41929 |