All Projects โ†’ cuuupid โ†’ console-logging

cuuupid / console-logging

Licence: other
Better, prettier commandline logging for Python--with colors! ๐Ÿ‘ป

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
Chalk
๐Ÿ– Terminal string styling done right
Stars: โœญ 17,566 (+15725.23%)
Mutual labels:  console, commandline, color
leeks.js
Simple ANSI styling for your terminal
Stars: โœญ 12 (-89.19%)
Mutual labels:  console, color, colors
log-utils
Basic logging utils: colors, symbols and timestamp.
Stars: โœญ 24 (-78.38%)
Mutual labels:  console, color, colors
concolor
Colouring template strings using tags with annotations ๐ŸŽจ
Stars: โœญ 35 (-68.47%)
Mutual labels:  console, color, colors
go-color
A lightweight, simple and cross-platform package to colorize text in terminals
Stars: โœญ 65 (-41.44%)
Mutual labels:  console, color
barecolor
A tiny JavaScript utility for printing colorful console messages.
Stars: โœญ 20 (-81.98%)
Mutual labels:  console, color
manakin
๐Ÿฆ Prime colors for your Node.js console โ€” quick & safe.
Stars: โœญ 29 (-73.87%)
Mutual labels:  console, color
yachalk
๐Ÿ–๏ธ Terminal string styling done right
Stars: โœญ 131 (+18.02%)
Mutual labels:  console, color
SwiftColorWheel
Delightful color picker wheel for iOS in Swift.
Stars: โœญ 37 (-66.67%)
Mutual labels:  color, colors
oof
Convenient, high-performance RGB color and position control for console output
Stars: โœญ 764 (+588.29%)
Mutual labels:  console, colors
ansiart2utf8
Processes legacy BBS-style ANSI art (ACiDDraw, PabloDraw, etc.) to UTF-8. Escape codes and line endings are processed for terminal friendliness.
Stars: โœญ 32 (-71.17%)
Mutual labels:  console, commandline
multi-brand-colors
Multi Brand Colors with support for CSS/CSS-Vars/SCSS/SASS/Stylus/LESS/JSON
Stars: โœญ 26 (-76.58%)
Mutual labels:  color, colors
colored-console
๐ŸŒˆ Add some color to your console >_
Stars: โœญ 74 (-33.33%)
Mutual labels:  console, color
strip-ansi-stream
Strip ANSI escape codes
Stars: โœญ 32 (-71.17%)
Mutual labels:  console, color
console-subscriber
Subscribe to the browser's console output.
Stars: โœญ 14 (-87.39%)
Mutual labels:  console, console-log
ansicolor
A JavaScript ANSI color/style management. ANSI parsing. ANSI to CSS. Small, clean, no dependencies.
Stars: โœญ 91 (-18.02%)
Mutual labels:  console, console-log
anypalette.js
๐ŸŽจ Read/write all color palette file formats โค๐Ÿงก๐Ÿ’›๐Ÿ’š๐Ÿ’™๐Ÿ’œ
Stars: โœญ 41 (-63.06%)
Mutual labels:  color, colors
Giotto
Theme manager for your app: apply styles to anything you want through a plist file
Stars: โœญ 18 (-83.78%)
Mutual labels:  color, colors
jsoncolor
Colorized JSON output for Go
Stars: โœญ 27 (-75.68%)
Mutual labels:  color, colors

console-logging

Codeship Status for pshah123/console-logging PyPI version Codacy Badge

Better console logging for Python.

Find us on PyPi: https://pypi.python.org/pypi/console-logging

Showcase

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].