{"library":"eval-type-backport","type":"library","category":null,"description":"Like `typing._eval_type`, this tiny package provides a replacement to support newer typing features (such as `X | Y` for unions from PEP 604 and `list[X]` for generic built-ins from PEP 585) in older Python versions (>=3.7). It allows libraries like Pydantic to maintain modern type hint syntax while supporting a wider range of Python environments. It is currently at version 0.3.1 and sees updates as needed for compatibility.","language":"python","status":"active","version":"0.3.1","tags":["typing","backport","type-hints","compatibility","python-versions","pydantic"],"last_verified":"Tue Jun 09","install":[{"cmd":"pip install eval-type-backport","imports":["from eval_type_backport import eval_type_backport"]}],"homepage":null,"github":"https://github.com/alexmojaki/eval_type_backport","docs":null,"changelog":null,"pypi":"https://pypi.org/project/eval-type-backport/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.5,"avg_import_s":0.02,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/eval-type-backport/compatibility"}}