{"id":46269890,"url":"https://github.com/owainkenwayucl/tesserapy","last_synced_at":"2026-03-04T03:02:02.801Z","repository":{"id":325856126,"uuid":"1102598282","full_name":"owainkenwayucl/TesseraPy","owner":"owainkenwayucl","description":"Minimal Python bindings for Tesseract with CFFI","archived":false,"fork":false,"pushed_at":"2025-11-23T19:42:04.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-23T21:09:39.349Z","etag":null,"topics":["cffi","pillow","python3","tesseract-ocr"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/owainkenwayucl.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-23T18:40:00.000Z","updated_at":"2025-11-23T20:02:46.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/owainkenwayucl/TesseraPy","commit_stats":null,"previous_names":["owainkenwayucl/tesserapy"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/owainkenwayucl/TesseraPy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owainkenwayucl%2FTesseraPy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owainkenwayucl%2FTesseraPy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owainkenwayucl%2FTesseraPy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owainkenwayucl%2FTesseraPy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/owainkenwayucl","download_url":"https://codeload.github.com/owainkenwayucl/TesseraPy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owainkenwayucl%2FTesseraPy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30070479,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T01:03:42.280Z","status":"online","status_checked_at":"2026-03-04T02:00:07.464Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cffi","pillow","python3","tesseract-ocr"],"created_at":"2026-03-04T03:02:02.116Z","updated_at":"2026-03-04T03:02:02.792Z","avatar_url":"https://github.com/owainkenwayucl.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TesseraPy\n\nTesseraPy provides a minimal wrapper for HP/Google's Tesseract OCR library, making use of CFFI instead of running the `tesseract` executable like other Python wrappers.\n\nCurrently (v0.1.4), it is extremely minimal having a class called `tesseract` with a single method `get_text()` which takes a PIL image as an argument and returns the text in the image.\n\nSo e.g.\n\n```python\nimport TesseraPy\nfrom PIL import Image\n\ni = Image.open(\"test.png\")\nt = TesseraPy.tesseract()\ntxt = t.get_text(i)\nprint(txt)\n```\n\n## Installation\n\n```\npip install git+https://github.com/owainkenwayucl/TesseraPy\n```\n\nTo install a specific version, e.g. the first release, v0.1.4\n\n```\npip install git+https://github.com/owainkenwayucl/TesseraPy.git@v0.1.4\n```\n\n## Configuration\n\nYou can control where TesseraPy looks for the various parts of Tesseract with the following environment variable:\n\n* `TESSERACT_LIBRARY` - path to the Tesseract library - default: `/lib64/libtesseract.so.5.3.4`\n* `TESSERACT_DATA` - path to Tesseract data files - default: `/usr/share/tesseract/tessdata/`\n* `TESSERACT_ENCODING` - encoding - default: `utf-8`\n* `TESSERACT_LANGUAGE` - language - default: `eng`\n\nThe defaults are those of the development platform - AlmaLinux 10.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowainkenwayucl%2Ftesserapy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fowainkenwayucl%2Ftesserapy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowainkenwayucl%2Ftesserapy/lists"}