Metadata-Version: 2.4
Name: stone-color
Version: 0.3.2
Summary: Minimal terminal colors, messages, tables, spinners, and progress bars
Author: aniko33
License: GPL-3.0-only
Keywords: color,cli,table,terminal,ansi,rgb,progress-bar
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Environment :: Console
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: author
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: requires-python
Dynamic: summary

<div align="center"> 
    
# Stone-Color
[Installation](#installation) - [Quick usage](#quick-usage) - [Docs](https://stone-color.readthedocs.io/en/latest/) - [Contributors](#contributors)

<img src=".img/logo.png" width=40%>
</div>

# Installation

Install the `stone-color` package from PyPI:

```
pip install stone-color
```

Add `-U` to upgrade it.

# Quick usage

```python
from stone_color.messages import printf

printf("Hello {#b71e1b}world{#reset}")
```

`printf` follows Python's `print` arguments and detects whether the destination
is a terminal. Pass `color=True` or `color=False` to override that choice.
Unknown `{#...}` tokens are left as literal text. The package also includes
message helpers, tables, alignment, a context-managed spinner, and a compact
progress bar.

```python
from stone_color import messages, processbar

messages.successf("Scan complete", color=False)
bar = processbar.ProgressBar(total=3, prefix="Files ")
bar.update()
bar.update()
bar.finish()
```

# [Docs](https://stone-color.readthedocs.io/en/latest/)

Go to [docs](https://stone-color.readthedocs.io/en/latest/)

# Contributors

<a href="https://github.com/aniko33/stone-color/graphs/contributors">
    <img src="https://contributors-img.web.app/image?repo=aniko33/stone-color">
</a>
