Skip to content

Add typing stubs for better type checking support #577

@inyutin

Description

@inyutin

Currently, pytesseract lacks type annotations, which prevents static type checkers like mypy from working properly and reduces IDE autocomplete quality.

Add type hints either:

  1. Inline in the source code (.py files)
  2. As separate stub files (.pyi) with a py.typed marker

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions