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 details)

Uploaded Source

File details

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

File metadata

  • Download URL: banko-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 21dc46ab93f6feb58322fa2122c17ed1e670436705a189879bf2a26012dee36a
MD5 f2ecbd7b1b0bafade10e745ccde8f993
BLAKE2b-256 0b278e42ac83a0b30546db1ba280ec7d1aed6baa14aae460b7a90f940fbf9b5e

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