Skip to main content

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)


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for use-logging, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size use_logging-0.0.1-py2-none-any.whl (9.0 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size use_logging-0.0.1.tar.gz (6.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page