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.6.tar.gz
(9.9 kB
view details)
Built Distribution
puts-0.0.6-py3-none-any.whl
(11.6 kB
view details)
File details
Details for the file puts-0.0.6.tar.gz
.
File metadata
- Download URL: puts-0.0.6.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.3.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
b8100c567f071b723b6b351311b6f73fcd24be3e014f65a5f9b5fb89e1689b48
|
|
MD5 |
aba87508b70cfceae9bcf5fdaa3323c7
|
|
BLAKE2b-256 |
d34bcc0ee5febb07ce074d94b14ffc2034826f5ec0e6c680afdda4f35535d7a6
|
File details
Details for the file puts-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: puts-0.0.6-py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.3.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
1fe543e55115ddb45676278a59d28907187fb7e65c2f03c36b63fa169c10b8c0
|
|
MD5 |
27a84fa5ed3544f797cbb6043c15ae5b
|
|
BLAKE2b-256 |
f6c35f806c527223d05565d93fa4a02e8a3e5b40e053eb4e9344e50323b8c74d
|