Python Utility Tools
Project description
puts - Python Utility Tools
Python high-level helper classes and functions.
Install
- Prerequisite: Python 3.6+
pip install --upgrade puts
Usage
Logging with Colored Output
from puts import get_logger
logger = get_logger()
logger.debug("Hello world!")
logger.info("Hello world!")
logger.warning("Hello world!")
logger.error("Hello world!")
logger.critical("Hello world!")
Development
Set up dev environment
- clone this repo
$ git clone https://github.com/MarkHershey/puts.git
- go to project root
$ cd puts
- create virtual env for this project
$ python -m venv venv $ source venv/bin/activate $ pip install --upgrade pip wheel setuptools
- install this package in editable mode
$ pip install -e ".[dev]"
Run tests
$ pytest
Disclaimer
- This package is highly opinionated, it does not intend to cater to every use case.
- It is only intended for personal projects usage (for now).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
puts-0.0.7.tar.gz
(10.1 kB
view hashes)
Built Distribution
puts-0.0.7-py3-none-any.whl
(12.0 kB
view hashes)