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.8.tar.gz
(11.4 kB
view details)
Built Distribution
puts-0.0.8-py3-none-any.whl
(12.0 kB
view details)
File details
Details for the file puts-0.0.8.tar.gz
.
File metadata
- Download URL: puts-0.0.8.tar.gz
- Upload date:
- Size: 11.4 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 |
786d138a9636b3dbeb56727cfb1775410f399b39519b73ae41c5a5eb6a4314d5
|
|
MD5 |
98085b911dfc47254a9781b31107fe21
|
|
BLAKE2b-256 |
3070c4e115739897c57e1d8e10d8a8fee28d818c3412e180d20b8383d0827a2c
|
File details
Details for the file puts-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: puts-0.0.8-py3-none-any.whl
- Upload date:
- Size: 12.0 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 |
ab4ac67b875dc630b93be0f2cef8b45fdf88b7864fa50f909431382b3d2341de
|
|
MD5 |
3f311728a4405112c1074bcfb9859844
|
|
BLAKE2b-256 |
5058379ca84acf1873f27b62da42884ad823c176b194918a3307a9cc79ad1be0
|