Console printer with linenumbers, stacktraces, logging, conversions and coloring..
Project description
Console printer with linenumbers, stacktraces, logging, conversions and coloring.
Active8 BV erik@a8.nl (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
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
consoleprinter-3.tar.gz
(7.5 kB
view details)
File details
Details for the file consoleprinter-3.tar.gz
.
File metadata
- Download URL: consoleprinter-3.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb723460d1ab8e07e9bd6130e54c6d9614c8b5b9df87306e664ce864601f4a19 |
|
MD5 | e09e47329fd4a401cd2c6a1f00dca887 |
|
BLAKE2b-256 | 5055458acd8f7a6b23b9a7ae3721658621588c62e7ee36085cd7e7d8db650c2d |