{"id":27491,"library":"types-boto3-textract","title":"types-boto3-textract","description":"Type annotations for the boto3 Textract service, generated by mypy-boto3-builder. Version 1.43.0 provides static type checking support for AWS Textract API calls. The package follows the boto3-stubs release cadence and is updated when boto3 service models change.","status":"active","version":"1.43.0","language":"python","source_language":"en","source_url":"https://github.com/youtype/mypy_boto3_builder","tags":["type-annotations","boto3","textract","aws","mypy"],"install":[{"cmd":"pip install types-boto3-textract","lang":"bash","label":"Install types-boto3-textract"}],"dependencies":[{"reason":"Runtime dependency required for type stubs to work","package":"boto3","optional":false},{"reason":"Needed for compatibility with Python <3.11","package":"typing-extensions","optional":true}],"imports":[{"wrong":"from mypy_boto3_textract.client import TextractClient","symbol":"TextractClient","correct":"from types_boto3_textract.client import TextractClient"}],"quickstart":{"code":"import boto3\nfrom mypy_boto3_textract import TextractClient\n\ndef analyze_document() -> None:\n    client: TextractClient = boto3.client('textract', region_name='us-east-1',\n                                           aws_access_key_id=os.environ.get('AWS_ACCESS_KEY_ID', ''),\n                                           aws_secret_access_key=os.environ.get('AWS_SECRET_ACCESS_KEY', ''))\n    # Example: Detect text in an S3 object\n    response = client.detect_document_text(\n        Document={'S3Object': {'Bucket': 'my-bucket', 'Name': 'my-doc.pdf'}}\n    )\n    for block in response['Blocks']:\n        if block['BlockType'] == 'LINE':\n            print(block['Text'])\n","lang":"python","description":"Minimal usage: create a typed Textract client and call detect_document_text."},"warnings":[{"fix":"Pin to a specific version if you need stability. Use `boto3-stubs` for all services instead of individual packages.","message":"Package is auto-generated; version numbers do not reflect the boto3 runtime version. They are sequential and can jump non-linearly.","severity":"gotcha","affected_versions":"all"},{"fix":"Upgrade to Python 3.9+ or use the last version that supported 3.8 (if available).","message":"Python 3.8 support was removed in version 8.12.0 of the builder (affects types-boto3-textract released after that date).","severity":"deprecated","affected_versions":">=1.43.0?"},{"fix":"Do not rely on autogenerated TypeDef names directly; use the module's public API or inspect the stubs after upgrading.","message":"TypeDef names for packed arguments changed in builder v8.9.0 (e.g., removed 'Request' suffix from some names). Code importing specific TypeDef names may break.","severity":"breaking","affected_versions":"depends on build date"}],"env_vars":null,"search_vec":"'1.43.0':19 'annot':6,49 'api':28 'aw':26,52 'boto3':3,9,16,35,43,50 'boto3-stubs':34 'builder':17 'cadenc':38 'call':29 'chang':46 'check':23 'follow':32 'generat':12 'model':45 'mypi':15,53 'mypy-boto3-builder':14 'packag':31 'provid':20 'releas':37 'servic':11,44 'static':21 'stub':36 'support':24 'textract':4,10,27,51 'type':2,5,22,48 'type-annot':47 'types-boto3-textract':1 'updat':41 'version':18","created_at":"2026-05-01T17:46:32.052562+00:00","updated_at":"2026-05-01T17:46:32.052562+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\n  File \"/tmp/tmp0wt7pucb/venv/lib/python3.12/site-packages/types_boto3_textract/__init__.py\", line 27, in <module>\n    from .client import TextractClient\n  File \"/tmp/tmp0wt7pucb/venv/lib/python3.12/site-packages/types_boto3_t"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/youtype/mypy_boto3_builder","docs":"https://youtype.github.io/types_boto3_docs/types_boto3_textract/","changelog":null,"pypi":"https://pypi.org/project/types-boto3-textract/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["type-stubs","aws"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":null}}