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
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
Metadata Files
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!?
- Website: https://bradmontgomery.net
- Repositories: 84
- Profile: https://github.com/bradmontgomery
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
Top Committers
| Name | 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
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
- Homepage: https://github.com/bradmontgomery/clog
- Documentation: https://clog.readthedocs.io/
- License: MIT
-
Latest release: 0.3.1
published almost 4 years ago
Rankings
Maintainers (1)
Dependencies
- black ==22.1.0
- isort ==5.10.1
- rich ==11.2.0
- twine ==3.8.0
- rich *