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

seed = 42
algo = Algorithm2(seed)
rows = algo.generate()
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.2.tar.gz (14.7 kB view details)

Uploaded Source

File details

Details for the file banko-0.1.2.tar.gz.

File metadata

  • Download URL: banko-0.1.2.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.5

File hashes

Hashes for banko-0.1.2.tar.gz
Algorithm Hash digest
SHA256 0f3e5b1fde0c5897cbccaf267d796fb812735dcb61d3153100e3a321f7ca88ad
MD5 25dd8da93d9dda771733fdbe33377c38
BLAKE2b-256 d3be3967c58b1b864c1de78bc2531d72f526490edd6e431d3c77f77e3c85a7aa

See more details on using hashes here.

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