semvec/pypi-packages huggingface dataset:
menkeyshow.conway 0.0.1
Python implementation of Conway's Game of Life

# Conway's Game_of_Life
Python implementation of [Conway's Game of Life](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life)

Conway's Game of Life is an automaton simulation with rather simple rules and a so called zero-player game.
After marking the status (alive/dead) of the cells, the programm simulates the life according to the following rules:

<ol>
<li>Any live cell with fewer than two live neighbours dies, as if by underpopulation.</li>
<li>Any live cell with two or three live neighbours lives on to the next generation.</li>
<li>Any live cell with more than three live neighbours dies, as if by overpopulation.</li>
<li>Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.</li>
</ol>


![](https://i.imgur.com/HLyO5s1.png)
tercolorpy-ammarsys 0.0.1
This is a simple package to print colored messages using ASCI to the terminal built with python 3.
Requires Python: >=3.6

# TColor

![Open Source? Yes!](https://badgen.net/badge/Open%20Source%20%3F/Yes%21/blue?icon=github)

[![made-with-python](https://img.shields.io/badge/Made%20with-Python-1f425f.svg)](https://www.python.org/)

This is a simple package to print colored messages using ASCI to the terminal built with python 3.

# Usage of TColor

To install this package use, 
```
pip install concolor
```

Usage of it is pretty straight-forward,
```py
from tcolor import prgb, pcolor, prainbow

print(prainbow('Hello'))
print(prgb('World', rgb=[255, 0, 0]))
print(pcolor('!', 'black'))
```

TColor has 3 main functions, 
- prainbow 
- prgb 
- pcolor

**prainbow** takes a single parameter which is text to return as rainbow

**prgb** takes 2 mandatory & 2 optional parameters. text (str), rgb (list) being mandatory and markup (list) & highlight 
(str) being optional. 
- text ; text to return
- rgb ; color of the text \[R, G, B]
- markup ; what markups to use on the text (see bellow)
- highlight ; color to highlight the text with

**pcolor** being same as prgb but instead of a rgb parameter it takes a color (see bellow for accepted ones)

# List of accepted values

    highlight_values = [
        'gray',
        'pink',
        'black',
        'yellow',
        'green',
        'blue',
        'red'
    ]

    color_values = [
        'pink',
        'blue',
        'cyan',
        'green',
        'yellow',
        'red',
        'black',
        'orange'
    ]

    text_markup_values = [
        'bold',
        'underline',
        'italic',
        'striked'
    ]

**RGB** parameter takes any values from 0 to 255.