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.

Source Distribution

use_logging-0.0.1.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

use_logging-0.0.1-py2-none-any.whl (9.0 kB view details)

Uploaded Python 2

File details

Details for the file use_logging-0.0.1.tar.gz.

File metadata

  • Download URL: use_logging-0.0.1.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for use_logging-0.0.1.tar.gz
Algorithm Hash digest
SHA256 097c0a0aea3e865b3490d28293ea735e9e034c290f6221b51237d4beff74bf0d
MD5 6b92fbf497124292ec0dbe4c35dd327f
BLAKE2b-256 282e9974a5c98cd2a28c02f749c64c5a83e5c18919b009acb50da954307e4d17

See more details on using hashes here.

File details

Details for the file use_logging-0.0.1-py2-none-any.whl.

File metadata

File hashes

Hashes for use_logging-0.0.1-py2-none-any.whl
Algorithm Hash digest
SHA256 2e2d29c3f8ef5bcca2afe92769c867f44b25bc673ec81c3cce38d0b29de5b955
MD5 3d2218b1d1adc1a1fda4861c95f933bc
BLAKE2b-256 1027c2ccebd839985fd2400238b007eaa18fc146a5d96bb9aaa166bb76b41929

See more details on using hashes here.

Supported by

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