clog

clog: pretty-printed, colorful output.

https://github.com/bradmontgomery/clog

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (5.0%) to scientific vocabulary

Keywords

color developer-tools pretty-print python
Last synced: 6 months ago · JSON representation

Repository

clog: pretty-printed, colorful output.

Basic Info
  • Host: GitHub
  • Owner: bradmontgomery
  • License: mit
  • Language: Python
  • Default Branch: main
  • Size: 14.6 KB
Statistics
  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • Open Issues: 1
  • Releases: 0
Topics
color developer-tools pretty-print python
Created over 11 years ago · Last pushed almost 2 years ago
Metadata Files
Readme License

README.md

clog

This project is now simply a shortcut for using rich.

If you want to save yourself a dependency, just use rich.

Usage

Pass any data into clog and it'll get pretty-printed.

>>> from clog import clog
>>> data = {'here': 'is some data'}
>>> clog(data)

You can also give it a title:

>>> clog(data, title="My Data")

Or change the color:

>>> clog(data, title="My Data", color="red")

Colors

This library uses rich under the hood, so it theoretically supports any color that rich supports.

Disclaimer

The clog function is now simply a wrapper around:

```python from rich.panel import Panel from rich.pretty import Pretty from rich import print

print(Panel(Pretty(msg), title=title, subtitle=subtitle, border_style=color)) ```

So, seriously... just use rich.

Owner

  • Name: Brad Montgomery
  • Login: bradmontgomery
  • Kind: user
  • Location: Memphis, TN
  • Company: Could be yours!?

I like Python, Data, Databases, the web and all the cool tech that connects systems together.

GitHub Events

Total
Last Year

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 22
  • Total Committers: 1
  • Avg Commits per committer: 22.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Brad Montgomery b****d@b****t 22
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 1
  • Total pull requests: 2
  • Average time to close issues: over 1 year
  • Average time to close pull requests: about 1 hour
  • Total issue authors: 1
  • Total pull request authors: 2
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 1
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • bradmontgomery (1)
Pull Request Authors
  • bradmontgomery (1)
  • dependabot[bot] (1)
Top Labels
Issue Labels
Pull Request Labels
dependencies (1)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 153 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 3
  • Total versions: 4
  • Total maintainers: 1
pypi.org: clog

pretty-print with color

  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 3
  • Downloads: 153 Last month
Rankings
Dependent repos count: 9.0%
Dependent packages count: 10.0%
Downloads: 17.6%
Average: 21.1%
Forks count: 29.8%
Stargazers count: 38.8%
Maintainers (1)
Last synced: 6 months ago

Dependencies

requirements.txt pypi
  • black ==22.1.0
  • isort ==5.10.1
  • rich ==11.2.0
  • twine ==3.8.0
setup.py pypi
  • rich *