Metadata-Version: 2.1
Name: tuul
Version: 0.14.1
Summary: python toolbox
Home-page: https://github.com/daniel-balosh/tuul
Author: Daniel Balosh
Author-email: no@gmail.com
License: MIT license
Keywords: tuul
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3.5
Description-Content-Type: text/markdown

# 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")
_logger.info("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")

```




# Credits

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

Cookiecutter: https://github.com/audreyr/cookiecutter

`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage


