Skip to main content

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


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 details)

Uploaded Source

Built Distribution

puts-0.0.7-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file puts-0.0.7.tar.gz.

File metadata

  • Download URL: puts-0.0.7.tar.gz
  • Upload date:
  • Size: 10.1 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

Hashes for puts-0.0.7.tar.gz
Algorithm Hash digest
SHA256 005a2d7b9bda617daa18a3132c4f9321aaf552ef2c8f081ca94b91a9b83de545
MD5 42c5a10588ebc73e03558510d85f86b6
BLAKE2b-256 11c0d3addbc5f59c218b6d5121e879a22c3d859a619b16bfba7cc35a32dc1e86

See more details on using hashes here.

File details

Details for the file puts-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: puts-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 12.0 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

Hashes for puts-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 7c3d7a75fb4e2f27206455d5d4e48ce284ff06e1f5238a5757dc5dc4e1f05751
MD5 4bb04bba315d4215c25e3a6d1463ce28
BLAKE2b-256 f39ea845be3ba83017479657760b6aa363cc31f0c82ebede1d5e454dcca9416c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page