eval-type-backport
JSON →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.
Traffic · last 30 days ↑167% vs prev 7d
total hits 35
actors 7 distinct systems
last hit 1d ago GPTBot
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · VN · 🇩🇪 Germany
Resources
API endpoints
full doc /v1/registry/eval-type-backport
compatibility /v1/registry/eval-type-backport/compatibility