Skip to main content

Library for generating banko plates

Project description

Banko

A small pure Python library for randomly generating Banko-plader (Danish), also known as Bingo plates in the UK.

Dependencies:

  • Python 3

How to install:

pip install banko

Usage:

from banko.algorithms import Algorithm2
from banko.render import render_ascii

algo = Algorithm2()
rows = algo.generate(seed=42)
print(render_ascii(rows))

Output:

1    21 30          73 80
     22    41    66 74 82
  18 28    43 58       86

Future work

Generate pretty images from array.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

banko-0.1.4.tar.gz (14.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page