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.11.tar.gz
(11.6 kB
view details)
Built Distribution
puts-0.0.11-py3-none-any.whl
(12.2 kB
view details)
File details
Details for the file puts-0.0.11.tar.gz
.
File metadata
- Download URL: puts-0.0.11.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffcba236329acd7ac6877d2a503343f9ac3ab5512f551b6f2d2a6e43a188247f |
|
MD5 | 0da7865300a2964d673e6ba9444b7c6e |
|
BLAKE2b-256 | 1106b8212898832b9f398386a20b122230dda781953f7125a328fcb750aa143e |
File details
Details for the file puts-0.0.11-py3-none-any.whl
.
File metadata
- Download URL: puts-0.0.11-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb9067638bd7bcbf66b7715f48c2e4754324e095bc469ad35484312e158fcc90 |
|
MD5 | 298fb1365021dcac3af4f1072ea5e9dc |
|
BLAKE2b-256 | 6ba7c06a69a52394ec7b595c8ea763b9959eec786a71abb39d7f8e20188d9cb1 |