Skip to main content

python toolbox

Project description

Tull - python toolkit

Working, well tested utilities to be shared, and duplicated over and over again.

One line logger

Print each call on a single line,
useful for monitoring and aggregation.
Supporting AWS Lambda logging.

100% coverage

General usage:

import tuul
_logger = tuul.one_line_logger.get_logger()
_logger.debug("this would be printed")
_logger = tuul.one_line_logger.get_logger()

import logging
_logger = tuul.one_line_logger.get_logger(logging_level=logging.INFO)
_logger.debug("no print would be made")"this would be printed")

Specific AWS loggers:

import tuul
_logger = tuul.one_line_logger.get_logger()

import logging
logging.getLogger("boto3").debug("no print would be made")

_logger = tuul.one_line_logger.get_logger(aws_logging_level=logging.DEBUG)
logging.getLogger("boto3").debug("this would be printed")


This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.



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

tuul-0.14.1.tar.gz (4.5 kB view hashes)

Uploaded source

Built Distribution

tuul-0.14.1-py2.py3-none-any.whl (4.1 kB view hashes)

Uploaded py2 py3

Supported by

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