{"id":18011991,"url":"https://github.com/alanorth/safari-bingo-cards","last_synced_at":"2025-07-12T02:07:10.600Z","repository":{"id":224477880,"uuid":"763337421","full_name":"alanorth/safari-bingo-cards","owner":"alanorth","description":"Generate random wildlife bingo cards for safaris with data from Wikipedia","archived":false,"fork":false,"pushed_at":"2025-01-04T12:41:11.000Z","size":2320,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-02T12:49:56.963Z","etag":null,"topics":["africa","pyvips","safari","vips","wildlife"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alanorth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-26T05:17:56.000Z","updated_at":"2025-01-04T12:41:14.000Z","dependencies_parsed_at":"2024-03-01T15:27:11.439Z","dependency_job_id":"20f15889-50c0-4913-bfa8-67737b5b385b","html_url":"https://github.com/alanorth/safari-bingo-cards","commit_stats":null,"previous_names":["alanorth/safari-bingo-cards"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alanorth%2Fsafari-bingo-cards","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alanorth%2Fsafari-bingo-cards/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alanorth%2Fsafari-bingo-cards/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alanorth%2Fsafari-bingo-cards/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alanorth","download_url":"https://codeload.github.com/alanorth/safari-bingo-cards/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247189521,"owners_count":20898691,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["africa","pyvips","safari","vips","wildlife"],"created_at":"2024-10-30T03:14:00.046Z","updated_at":"2025-04-04T13:44:25.665Z","avatar_url":"https://github.com/alanorth.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Safari Bingo Cards\nFun proof of concept to generate random wildlife bingo cards for safaris with data from Wikipedia.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"600\" alt=\"Example bingo card showing a 4x4 grid of Sub-Saharan African wildlife\" src=\"example.jpg\"\u003e\n\u003c/p\u003e\n\n# Usage\nOnce the requirements are satisfied you can generate a card. By default it generates a 4x4 grid with 16 images:\n\n```console\n$ ./generate.py -i data/animals.csv -o out.jpg\n[INFO] Generated random sample of 32 animals...\n[INFO] \u003e Creating thumbnail for Helmeted guineafowl...\n[INFO] Generated card with a 4x4 grid of animals...\n[INFO] Wrote out.jpg\n```\n\nThe script will download the images from Wikipedia, generate thumbnails for the sampled animals, and output a bingo card as a JPEG file.\n\n# Requirements\nSet up a Python 3.10+ virtual environment and install the requirements:\n\n```console\n$ python3 -m .venv\n$ source .venv/bin/activate\n$ pip install -r requirements.txt\n```\n\n# TODO\n\n- Credit photographers — these photos are all some variation of CC-BY so we need to give attribution\n- Add filtering by region — the metadata already exists, though perhaps needs to be adjusted\n- Refactor — perhaps needs to be more object oriented\n- Make a web frontend — I can imagine a light frontend that would shuffle the images in realtime and allow generation of a number of cards\n\n# License\nThis work is licensed under the [GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html).\n\nThe license allows you to use and modify the work for personal and commercial purposes, but if you distribute the work you must provide users with a means to access the source code for the version you are distributing. Read more about the [GPLv3 at TL;DR Legal](https://tldrlegal.com/license/gnu-general-public-license-v3-(gpl-3)).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falanorth%2Fsafari-bingo-cards","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falanorth%2Fsafari-bingo-cards","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falanorth%2Fsafari-bingo-cards/lists"}