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"))
```
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
Release history Release notifications | RSS feed
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.0.1.tar.gz
(9.7 kB
view details)
File details
Details for the file tremendous-0.0.1.tar.gz
.
File metadata
- Download URL: tremendous-0.0.1.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e20fe25aa25c641bed2df99072bbd6c5c944f40b64cfa4bdbafc58901a0d97c |
|
MD5 | f9326ef584f222b5a271a72ad7e467ef |
|
BLAKE2b-256 | b44afd44d16fedf3e1450437d9a7424c0d5898a0f1516e501c21c3bc97977d12 |