semvec/pypi-packages huggingface dataset:
colorizelib 1.0.2
A simple library to colorize your terminal
Requires Python: >=3.6

# Colorize.py

<div>
  <img src="https://media.discordapp.net/attachments/887158781832749086/1041802474782199818/Colorize_logo.png" width="500px" height="100px">
</div>

## What is it and what is it for

[Colorize.py](https://pypi.org/project/colorizelib/) is a very simple to use and understand python library. It allows you to color text in the terminal.
This library is inspired by the **[pycolor](https://github.com/wdrach/pycolor)** library

## instalation

```bash
pip install colorizelib
```

## Functions

| Function | Description |
| --- | --- |
| `colorize(text, foreground, style, background)` | Colorize the text with the foreground, style and background |
| `colorize_foreground(text, foreground)` | Colorize the text with the foreground |
| `colorize_style(text, style)` | Colorize the text with the style |
| `colorize_background(text, background)` | Colorize the text with the background |
| `colorize_rainbow(text, mode_type)` | Colorize the text with a rainbow |
| `get_color_list()` | Get the list of all colors |
| `get_color_name(color)` | Get the name of the color by number |
| `get_color_number(color)` | Get the number of the color by name |

## Exemples

```python
from colorize import colorize

print(colorize.colorize("Hello World", foreground="red", style="bold", background="blue"))
```
![result](https://media.discordapp.net/attachments/887158781832749086/1041831858494775396/image.png)

```python
from colorize import colorize

print(colorize.colorize("Hello World", foreground="blue"))
```
![result](https://media.discordapp.net/attachments/887158781832749086/1041832028854820974/image.png)

```python
from colorize import colorize

print(colorize.colorize_style("Hello World", "bold"))
```
![result](https://media.discordapp.net/attachments/887158781832749086/1041832167161991199/image.png)

```python
from colorize import colorize

print(colorize.colorize_rainbow("Hello World", "foreground"))
```
![result](https://media.discordapp.net/attachments/887158781832749086/1041833768442396733/image.png)

# Contributors

<a href="https://github.com/Bielgomes/Colorize.py/graphs/contributors">
  <img src="https://contrib.rocks/image?repo=Bielgomes/Colorize.py"/>
</a>

## How to Contributing

Open pull request 😎
dotnetz 0.1.4
An implementation of some .NET patterns in Python
Requires Python: >=3.6,<4.0

# dotnetz

> An implementation of some .NET patterns in Python

WARNING: This repo is in development. It was automatically generated with [mkpylib](https://github.com/shawwn/scrap/blob/master/mkpylib). If you're reading this message, it means that I use this repo for my own purposes right now. It might not do anything at all; the default functionality is `print('TODO')`.

If you really want to try it out, feel free. I recommend reading through the code and commit history to see if it does what you need, or [ask me](#contact) for status updates.

Stay tuned!

## Install

```
python3 -m pip install -U dotnetz
```

## Usage

```py
import dotnetz

print('TODO')
```

## License

MIT

## Contact

A library by [Shawn Presser](https://www.shawwn.com). If you found it useful, please consider [joining my patreon](https://www.patreon.com/shawwn)!

My Twitter DMs are always open; you should [send me one](https://twitter.com/theshawwn)! It's the best way to reach me, and I'm always happy to hear from you.

- Twitter: [@theshawwn](https://twitter.com/theshawwn)
- Patreon: [https://www.patreon.com/shawwn](https://www.patreon.com/shawwn)
- HN: [sillysaurusx](https://news.ycombinator.com/threads?id=sillysaurusx)
- Website: [shawwn.com](https://www.shawwn.com)