Metadata-Version: 2.1
Name: pretty-poly
Version: 0.3.1a0
Summary: Display polyominos and polyomino tilings in various pretty formats.
License: MIT
Author: Jack Grahl
Author-email: jack.grahl@gmail.com
Requires-Python: >=3.7,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: pypng (>=0.0.20,<0.0.21)
Description-Content-Type: text/markdown

# pretty_poly - a package for displaying polyomino tilings

This is a Python package for displaying polyomino tilings, expressed as lists of lists of (x, y) tuples, in various ways.


```
>>> from pretty_poly import make_ascii
>>> print(make_ascii([[(0, 0), (0, 1), (0, 2), (1, 1)], [(0, 3), (1, 3), (2, 3), (1, 2)], [(1, 0), (2, 0), (3, 0), (2, 1)], [(3, 1), (3, 2), (2, 2)]]))
+-+-+-+-+
| |     |
+ +-+ +-+
|   | | |
+ +-+-+ +
| | |   |
+-+ +-+-+
|     |
+-+-+-+

```

