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.9.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: puts-0.0.9.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

Hashes for puts-0.0.9.tar.gz
Algorithm Hash digest
SHA256 c73709316577f80264a2511fb66d0c140d6c086a6b3e92598eb6e9771a22396e
MD5 fa56dcef6b320b2eb213fad01f4ebbcd
BLAKE2b-256 15bfd47886474696eefc12b353781bb5bf55155cd8e40ac774716b52b4a882f8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: puts-0.0.9-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

Hashes for puts-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 bae8f3b6f3fa4cd384be603fb1184811c3dd7b965bb56daef8f553c48eae592c
MD5 f6dd1489ec24a68e6f9777aec7c7fddc
BLAKE2b-256 48d842b5daf88100c76454714a7c70c8a73273ef2603e811da3a083b40872c6a

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