pshah123 / Console Logging
Better, prettier commandline logging for Python--with colors! 👻
Stars: ✭ 111
Programming Languages
python
139335 projects - #7 most used programming language
Projects that are alternatives of or similar to Console Logging
console-logging
Better, prettier commandline logging for Python--with colors! 👻
Stars: ✭ 111 (+0%)
Mutual labels: console, commandline, color, colors
leeks.js
Simple ANSI styling for your terminal
Stars: ✭ 12 (-89.19%)
Mutual labels: console, color, colors
Zoya
Truly highly composable logging utility
Stars: ✭ 116 (+4.5%)
Mutual labels: logging, color, colors
concolor
Colouring template strings using tags with annotations 🎨
Stars: ✭ 35 (-68.47%)
Mutual labels: console, color, colors
log-utils
Basic logging utils: colors, symbols and timestamp.
Stars: ✭ 24 (-78.38%)
Mutual labels: console, color, colors
Chalk
🖍 Terminal string styling done right
Stars: ✭ 17,566 (+15725.23%)
Mutual labels: commandline, console, color
Crossline
A small, self-contained, zero-config, MIT licensed, cross-platform, readline and libedit replacement.
Stars: ✭ 53 (-52.25%)
Mutual labels: console, color
Rang
A Minimal, Header only Modern c++ library for terminal goodies 💄✨
Stars: ✭ 1,080 (+872.97%)
Mutual labels: console, color
Colorschemes.jl
colorschemes, colormaps, gradients, and palettes
Stars: ✭ 55 (-50.45%)
Mutual labels: color, colors
Colors
List of 256 color codes for Xterm including an example of the color, Xterm Name, Xterm Number, HEX, RGB and HSL code.
Stars: ✭ 73 (-34.23%)
Mutual labels: color, colors
Fliplog
fluent logging with verbose insight, colors, tables, emoji, filtering, spinners, progress bars, timestamps, capturing, stack traces, tracking, presets, & more...
Stars: ✭ 41 (-63.06%)
Mutual labels: logging, color
Node Draftlog
📜 Create updatable log lines into the terminal, and give life to your logs!
Stars: ✭ 1,117 (+906.31%)
Mutual labels: console, logging
Colorette
Easily set the color and style of text in the terminal.
Stars: ✭ 1,047 (+843.24%)
Mutual labels: console, colors
Crossterm
Cross platform terminal library rust
Stars: ✭ 1,023 (+821.62%)
Mutual labels: console, color
Materialdesigncolor
This project shows the color in material design
Stars: ✭ 55 (-50.45%)
Mutual labels: color, colors
Swiftline
Swiftline is a set of tools to help you create command line applications.
Stars: ✭ 1,156 (+941.44%)
Mutual labels: commandline, color
Chromephp
class for logging PHP variables to Google Chrome console
Stars: ✭ 1,339 (+1106.31%)
Mutual labels: console, logging
Yurnalist
An elegant console reporter, borrowed from Yarn
Stars: ✭ 88 (-20.72%)
Mutual labels: console, logging
console-logging
Better console logging for Python.
Find us on PyPi: https://pypi.python.org/pypi/console-logging
Getting Started
Dependencies
- Python 2.6+ or Python 3.5+
termcolor
Installation
pip install console-logging
If building from source: bash pipe
from inside this repo.
Usage
New:
from console_logging.console import Console
console = Console()
console.log("Hello world!")
Old:
from console_logging import console
console.log("Hello World!")
Exhaustive Reference
console.log("This is a log.")
console.error("This is an error.")
console.info("This is some neutral info.")
console.success("This is a success message.")
# If using the new usage:
console.setVerbosity(4) # verbosity from 1 - 5, in order:
'''
[1] Errors
[2] Successes
[3] Logs
[4] Info
[5] Secure
'''
console.mute() # shorthand for setVerbosity(0)
Example
For an exhaustive example, see tests/example.py
.
Credit
-
termcolor
module for colors
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].