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 19
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-19.tar.gz | 7.9 kB | Details |
Release files / consoleprinter-19.tar.gz
| Download URL | consoleprinter-19.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
448edfe5bf3b0a42091753a6de7c1cf0dda2ee40cc3ad79ffc566740bd9c121e
|
|
BLAKE2b-256 checksum How to use checksums |
fab4b13251d690aceecdafdd18306d03bcc1cea4a8138dcf1f547bd5294cb8b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |