Metadata-Version: 2.1
Name: rich-grid
Version: 0.1.3
Summary: 
Author: uname-n
Author-email: git@defend.sh
Requires-Python: >=3.12,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: numpy (>=2.2.2,<3.0.0)
Requires-Dist: pydantic (>=2.10.5,<3.0.0)
Requires-Dist: rich (>=13.9.4,<14.0.0)
Description-Content-Type: text/markdown

# rich_grid 

## Installation
To install **rich_grid**, run the following command:
```bash
pip install rich_grid
```

## Quick Start
```python
from rich import print

grid = Grid(size=(21,21))

PLAYER = Cell(cell_value="@", cell_color="cornflower_blue", rgb_array_color=(100, 149, 237))
EMPTY = Cell(cell_value=" ", debug_value="#", debug_color="black", rgb_array_color=(0, 0, 0))

cells = [[
    EMPTY for _ in range(grid.width)
] for _ in range(grid.height)] 

cells[grid.height//2][grid.width//2]=PLAYER
scene = grid.render(cells, debug=True, mode="human")

print(scene)
```


