Skip to main content

Auro Utils is a utility package offering various practical supports for the Auromix application, such as enhanced logging capabilities and more.

Project description

auro_utils

Auro Utils is a utility package offering various practical supports for the Auromix application, such as enhanced logging capabilities and more.

Install

git clone https://github.com/Auromix/auro_utils
cd auro_utils
pip install -e .

Test

cd auro_utils
python3 -m pytest -v .

Usage

Following are some simplified examples of utilities offered by this package.

You can also find detailed examples in the examples folder.

cd auro_utils/examples

Logger

logger

Logger is a class that can be used to log messages to the console and to a file. It is a wrapper around loguru.

from auro_utils.loggers.logger import Logger
my_logger = Logger()
my_logger.log_info("This is a info log test.")

classic logger

Classic logger is a class that can be used to log messages to the console and to a file. It is a wrapper around the standard python logging module.

from auro_utils.loggers.logger_classic import Logger
my_logger = Logger()
my_logger.log_info("This is a info log test.")

Troubleshooting

ModuleNotFoundError

Make sure you have installed the package correctly. See Install section.

Want to uninstall

pip uninstall auro_utils

Contribute

Please refer to CONTRIBUTING.md for more information.

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

auro_utils-0.0.1.tar.gz (10.5 kB view hashes)

Uploaded Source

Built Distribution

auro_utils-0.0.1-py3-none-any.whl (11.2 kB view hashes)

Uploaded Python 3

Supported by

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