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
Release files for tuul 0.14.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tuul-0.14.1.tar.gz | 4.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tuul-0.14.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 8.7 kB
Release files / tuul-0.14.1.tar.gz
| Download URL | tuul-0.14.1.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a5314aa852f9f6054fd9dc3aa22fce8e8cda81383ca03c7d3b47c16fe060083a
|
|
BLAKE2b-256 checksum How to use checksums |
88b35110a20b10127b592b2b72b1dce7375a9e26dc90261d48869416e05ce31a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.7
|
Release files / tuul-0.14.1-py2.py3-none-any.whl
| Download URL | tuul-0.14.1-py2.py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
a367e3ebf857214dbdbeedbde75965b870f5f7492b41ad4e5255af81e72896a1
|
|
BLAKE2b-256 checksum How to use checksums |
0b6abaedba7cfec60eb34e187a82d640f4728cce29798c1eaa596ee29a94f363
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.7
|