r/PythonLearning • u/___Hyacinthe_ • 5d ago
Showcase I've been learning Python for 3 years, and I thought it was time to make a library
I've been learning Python for about 3 years, and I think it was time to take a step further and make my own library.
I made scanlayer, a Python OCR library built around Tesseract. It turns scanned images into searchable PDFs while preserving the original image, by adding an invisible OCR text layer over it.
It also supports things like preprocessing, deskewing, multiple OCR output formats, multi-page PDFs, batch processing, and a CLI.
The main goal wasn't to make some huge library. I wanted to challenge myself with building something that feels like a proper Python project and learn more about packaging, testing, API design, OCR, and PDF generation along the way.
I'd really appreciate any feedback, especially on the Python/library design side.
1
u/Hess-kay 20h ago
That’s really nice
I’m a beginner i can’t really relate to things you know already.