Skip to main content

Python bindings to libfab (C), a reimplementation of fabulous

Project description

# tremendous

Powered by [libfab](https://github.com/rossdylan/libfab)

`tremendous` is a Python wrapper around `libfab`, a C library that acts like
fabulous. It makes dealing with terminal coloring easy for standard 16-color
terminals and extended 256-color environments.

```
from tremendous import green, red, bold

# every color is a function that wraps a string with terminal escape codes
print green("Hello, and welcome to computers")

# colors, backgrounds, and modifiers can be stacked
print bold(red("Bad things happened!"))

# 256 colors are available from tremendous.ext
from tremendous.ext import darkgreen
print darkgreen("Crisis averted"))
```

Project details


Download files

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

Source Distribution

tremendous-0.1.1.tar.gz (9.8 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page