Advent of Code OCR

Advent of Code OCR is a Python library that converts Advent of Code ASCII art letters to plain characters.

Put simply, it converts something like this to plain text:

 ██  ███   ██
█  █ █  █ █  █
█  █ ███  █
████ █  █ █
█  █ █  █ █  █
█  █ ███   ██

Total Downloads Supported Versions Testing Status Coverage GitHub last commit GitHub Repo stars

Installation

advent-of-code-ocr is available on PyPI. Install it with your preferred package manager:

$ uv add advent-of-code-ocr
$ pip install advent-of-code-ocr

advent-of-code-ocr officially supports Python 3.9+.

Advent of Code is a registered trademark of Eric K Wastl in the United States. This project is not affiliated with nor endorsed by Advent of Code.