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) | ==
Release files for consoleprinter 21
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| consoleprinter-21.tar.gz | 8.4 kB | Details |
Release files / consoleprinter-21.tar.gz
| Download URL | consoleprinter-21.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
52e3fa8705c4d4f4afe66102724b7372af53556e3f46bc0d2d56acec5ee07454
|
|
BLAKE2b-256 checksum How to use checksums |
cd508d5d34a0ea7801fdd217302ab0d31e48d5730d85a67a7a8a36d099c54752
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |