Skip to main content

Colorful output in terminal

Project description

# Simple Colors

Colorful output in terminal.

## Installation

```sh
pip install simple-colors
```

## Usage

```python
from simple_colors import *

print(green('hello'))
print(green('hello', 'bold'))
print(green('hello', ['bold', 'underlined']))
```

## Inlucded colors

* black
* red
* green
* yellow
* blue
* magenta
* cyan

## Included styles:

* bold
* bright
* dim
* italic
* underlined
* blink
* reverse

## CLI Usage

```
$ simple-colors -h
usage: simple-colors [-h]
[-s [{bright,bold,dim,italic,underlined,blink,reverse} [{bright,bold,dim,italic,underlined,blink,reverse} ...]]]
{black,red,green,yellow,blue,magenta,cyan} text

positional arguments:
{black,red,green,yellow,blue,magenta,cyan}
text text of file path

optional arguments:
-h, --help show this help message and exit
-s [{bright,bold,dim,italic,underlined,blink,reverse} [{bright,bold,dim,italic,underlined,blink,reverse} ...]], --style [{bright,bold,dim,italic,underlined,blink,reverse} [{bright,bold,dim,italic,underlined,blink,reverse} ...]]
```


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

simple_colors-0.1.4-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file simple_colors-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: simple_colors-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.1

File hashes

Hashes for simple_colors-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ecd8b1ad632f0feee3402df5f3939bd3476508c3b771626388ff773f302582b3
MD5 6388ae356c33b14c18abb2e58b41cfa9
BLAKE2b-256 1d3287e4520a183e78d4682673a685aa383b57601441eed2618febf06c6ed8e5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page