semvec/pypi-packages huggingface dataset:
simple-colors 0.1.5
Colorful output in terminal
Keywords: terminal

# 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} ...]]
```
requests-dump2 0.2
dump requests' requests http message content to stderr or your custom file
Keywords: math

# Requests Dump

Dump `requests`' http requests message content to stderr or your custom file.

**You may consider use https://toolbelt.readthedocs.io/en/latest/dumputils.html instead**

## Usage

See `test.py`.

### Custom pretty

```
import requests
from requests_dump import pretty_request, pretty_response

req = requests.Request('POST', 'http://ip-api.com/json')
print(pretty_request(req))

res = requests.Session().send(req.prepare())
print(pretty_response(res))
```

## Inspired by

* https://github.com/requests/requests/issues/3013