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
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-16.tar.gz
(8.0 kB
view details)
File details
Details for the file consoleprinter-16.tar.gz
.
File metadata
- Download URL: consoleprinter-16.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65f8f996d0e39da4d9f642a2fba6e95802d1dc9d432f595fae4e7f428985f859 |
|
MD5 | 70be41634f419a74f896742fbf8cd52c |
|
BLAKE2b-256 | 9d7c59e2c540a85e296ef369059eeab589f9672da6c21c4e4e84eab0d44bed64 |