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.
Example use
>>> 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)]]))
+-+-+-+-+
| | |
+ +-+ +-+
| | | |
+ +-+-+ +
| | | |
+-+ +-+-+
| |
+-+-+-+
Example output
You can see some examples of images created using this package:
These files were created by the code in examples/make.py
How to cite this code:
@misc{pretty_poly,
author = {Jack Grahl},
title = {pretty_poly - a package for displaying polyomino tilings},
year = {2021},
howpublished = {\url{https://github.com/jwg4/pretty_poly}},
commit = {...}
}
Metadata
Release files for pretty_poly 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pretty_poly-0.6.0.tar.gz | 5.3 kB | Without provenance | Details for pretty_poly-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pretty_poly-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for pretty_poly-0.6.0-py3-none-any.whl |
Total release size: 13.2 kB
Release files / pretty_poly-0.6.0.tar.gz
| Download URL | pretty_poly-0.6.0.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9836538e774a9b552f7d6290cf5a4146cce20b902bf5bd404fe8743d45b96306
|
|
BLAKE2b-256 checksum How to use checksums |
cf463afbcb0d2167faaa876a554ce5c8a0c7913cf453ca8e98373c905b074bfa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.0.0 CPython/3.13.2 Windows/10
|
Release files / pretty_poly-0.6.0-py3-none-any.whl
| Download URL | pretty_poly-0.6.0-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
053deec70697071594432fa9e3d26b04ce4af87a45aaf24b53078fd6a685b08c
|
|
BLAKE2b-256 checksum How to use checksums |
8fca389495c8110382815c1978bafba9f39063dc444edd9d1acdfdaf63b41aa9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.0.0 CPython/3.13.2 Windows/10
|
Security for pretty_poly 0.6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.