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) | ==
Release files for consoleprinter 3
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-3.tar.gz | 7.5 kB | Details |
Release files / consoleprinter-3.tar.gz
| Download URL | consoleprinter-3.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bb723460d1ab8e07e9bd6130e54c6d9614c8b5b9df87306e664ce864601f4a19
|
|
BLAKE2b-256 checksum How to use checksums |
5055458acd8f7a6b23b9a7ae3721658621588c62e7ee36085cd7e7d8db650c2d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |