Skip to main content

Console printer with linenumbers, stacktraces, logging, conversions and coloring..

Project description

Console printer with linenumbers, stacktraces, logging, conversions and coloring.

Active8 BV Active8 (05-03-15) license: GNU-GPL2

install

pip install consoleprinter

contains

Utility functions for working with commandline applications. Logging Printing Exception parsing

usage

from consoleprinter import console

colors = ['black', 'blue', 'cyan', 'default', 'green', 'grey', 'magenta', 'orange', 'red', 'white', 'yellow']

for color in colors:
    console(color, color=color)

PyCharm

Console detects when run in PyCharm or Intellij, and adds links to the orinating line

if len(suite._tests) == 0:
    console_warning("Can't find tests, looked in test*.py")

`bash 2.48 | unittester.py:85 | == | Can't find tests, looked in test*.py | File "/Users/rabshakeh/workspace/unittester/unittester/unittester.py", line 85 (run_unit_test) | ==

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

consoleprinter-4.tar.gz (7.5 kB view details)

Uploaded Source

File details

Details for the file consoleprinter-4.tar.gz.

File metadata

  • Download URL: consoleprinter-4.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for consoleprinter-4.tar.gz
Algorithm Hash digest
SHA256 0935ac28f635fdd69723beb4fa49266e948edeffb9a7b743c8991db0ce157040
MD5 96a8c7156c0c2e0a986ba7da1be457ba
BLAKE2b-256 d1e01d14df7596a00c3ff82fbf2dad8a2bbc9134acfcab7b9369c8741ff8d9db

See more details on using hashes here.

Supported by

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