Skip to main content

Tiny and minimalistic logging utility

Project description

Latest PyPI version

Tiny and minimalistic logging utility module.

Lode is designed to be used in the case where normally simple print statement style debugging would be useful, like checking whether or not a section of code is executed, but stdout or stderr has been robbed from you by something like a devilishly clever test framework. Rather than try to uncover which dark alleyway your calls to print end up, lode just outputs it to a friendly file.

Lode is tested and supported on python versions 2.6, 2.7, 3.2, 3.3 and 3.4.


Lode can be installed with pip:

$ pip install lode

Or from source:

$ git clone
$ cd lode
$ python install

Using this thing

For the most basic usage, just import lode and call the log function. Usage is largely the same as the print function, with it taking any number of positional arguments, formatting those to a string, and joining them together separated by spaces.

import lode; lode.log('hi there!')


Tests are stored the tests subdirectory of the main lode package. Set up lode for testing by running in the root directory of the git repository the following commands:

$ pip install -e .
$ pip install -r test-requirements.txt

Then run the tests:

$ py.test -v

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 lode, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size lode-0.3.0.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page