/advent-of-code-ocr

A Python library to parse Advent of Code ASCII art

Primary LanguagePythonMIT LicenseMIT

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

Installation and usage

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+.

Read the documentation to learn how to use Advent of Code OCR.


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.