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', '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}]
{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}, --style {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.2-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: simple_colors-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.8 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 db317ca8473f55fb187f5927e5f07829224776612e69921f548f1e0214fd6ee2
MD5 4ded5f30759788bfbbf7205a527e9ca3
BLAKE2b-256 43191e6c5f8c8f3d1d04d83fec2262274d6df3f90108e7d0c34868fb7b4f619d

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