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.10.tar.gz
(11.5 kB
view details)
Built Distribution
puts-0.0.10-py3-none-any.whl
(12.1 kB
view details)
File details
Details for the file puts-0.0.10.tar.gz
.
File metadata
- Download URL: puts-0.0.10.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
e7f713637c2de68110fa5f7af55335ef61c6295f4de49b8cc8a60f354e8f3931
|
|
MD5 |
99b635309e92cb232ed20a86dadfa2d1
|
|
BLAKE2b-256 |
d2ace9a72603c110a61db7164feaf4f5393b1d8bc7ae6a10f5b22fcda1125a38
|
File details
Details for the file puts-0.0.10-py3-none-any.whl
.
File metadata
- Download URL: puts-0.0.10-py3-none-any.whl
- Upload date:
- Size: 12.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
13d26fde0e454545abc3db977f9b50a7628993535848f61546f43db1a95cdc80
|
|
MD5 |
42e636ebe4ac741090648c63324a8062
|
|
BLAKE2b-256 |
a8e8307ab9501d69da2bd1fb12884b398f090792a6851dcff95661ff06e50da6
|