jorenham/unpy
Python stub backporter
This tool helps Python library maintainers who write type stubs to ensure their code works across different Python versions. It takes a Python Interface file (`.pyi`) written for a newer Python version (e.g., 3.13) and converts it into a version compatible with an older one (e.g., 3.10). This is useful for developers who want to provide modern type hints while still supporting users on earlier Python releases.
Available on PyPI.
Use this if you are a Python library maintainer or a developer creating type stubs and need to make your `.pyi` files compatible with older Python versions.
Not ideal if you are working with regular Python `.py` files, need to convert entire projects, or are looking for a stable, production-ready solution at this alpha stage.
Stars
9
Forks
—
Language
Python
License
BSD-3-Clause
Category
Last pushed
Jan 01, 2026
Commits (30d)
0
Dependencies
2
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/jorenham/unpy"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
inducer/cgen
C/C++ source generation from an AST
vil02/puzzle_generator
Generates python code representing a puzzle
westandskif/convtools
convtools is a specialized Python library for dynamic, declarative data transformations with...
numen31337/copy_with_extension
Auto-generate `copyWith` methods for your Dart classes.
finsberg/gotranx
Next generation ODE translator