Unpy

Latest version: v0.3.0

Safety actively analyzes 723158 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.3.0

Unpy can now fully backport *any* valid Python 3.13 `.pyi` stub to Python 3.10

What's Changed
* cleanup the import-related code by jorenham in https://github.com/jorenham/unpy/pull/19
* detect illegal base classes by jorenham in https://github.com/jorenham/unpy/pull/20
* dedupe typevars, code cleanup, better newlines by jorenham in https://github.com/jorenham/unpy/pull/21
* bump development dependencies by jorenham in https://github.com/jorenham/unpy/pull/22
* `--diff` flag by jorenham in https://github.com/jorenham/unpy/pull/23
* bump `tox` to `4.20.0` by jorenham in https://github.com/jorenham/unpy/pull/24
* some of those "recommended community standards" by jorenham in https://github.com/jorenham/unpy/pull/25
* update development dependencies by jorenham in https://github.com/jorenham/unpy/pull/26
* something resembling a plan by jorenham in https://github.com/jorenham/unpy/pull/27
* basedmypy by jorenham in https://github.com/jorenham/unpy/pull/28
* Full rewrite of the import-management system by jorenham in https://github.com/jorenham/unpy/pull/29
* update development dependencies by jorenham in https://github.com/jorenham/unpy/pull/30
* Full rewrite of the type param code by jorenham in https://github.com/jorenham/unpy/pull/56
* improved readme and examples by jorenham in https://github.com/jorenham/unpy/pull/62
* fix broken `--target` by jorenham in https://github.com/jorenham/unpy/pull/63
* renaming of backported import references by jorenham in https://github.com/jorenham/unpy/pull/67
* backport `*Ts` to `Unpack[Ts]` for `python<3.11` by jorenham in https://github.com/jorenham/unpy/pull/69
* set the default target to 3.10 by jorenham in https://github.com/jorenham/unpy/pull/70
* bump basedpyright to 1.18.2 by jorenham in https://github.com/jorenham/unpy/pull/71
* update all backported import refs, backport more stdlib names by jorenham in https://github.com/jorenham/unpy/pull/73
* bump tox to 4.21 & use native toml config by jorenham in https://github.com/jorenham/unpy/pull/74
* improved `README.md` by jorenham in https://github.com/jorenham/unpy/pull/75
* explicitly disallow unsupported base classes by jorenham in https://github.com/jorenham/unpy/pull/77
* disallow quoted annotations, `__future__` imports, and runtime-only nodes by jorenham in https://github.com/jorenham/unpy/pull/78
* disallow module-level `__dir__` and `__getattr__` functions by jorenham in https://github.com/jorenham/unpy/pull/79
* backport nested `ClassVar` and `Final` on `python<3.13` by jorenham in https://github.com/jorenham/unpy/pull/80
* `basedpyright 1.18.3` and `uv 0.4.8` by jorenham in https://github.com/jorenham/unpy/pull/82
* backport `enum.StrEnum` as `str & enum.Enum` by jorenham in https://github.com/jorenham/unpy/pull/83
* private names for extracted typevar-likes by jorenham in https://github.com/jorenham/unpy/pull/85
* explicitly check for unsupported names by jorenham in https://github.com/jorenham/unpy/pull/87


**Full Changelog**: https://github.com/jorenham/unpy/compare/v0.2.1...v0.3.0

0.2.1

What's Changed
* Improved features section in `README.md` by jorenham in https://github.com/jorenham/unpy/pull/11
* fix `unpy.__main__` by jorenham in https://github.com/jorenham/unpy/pull/12
* merged the transformers by jorenham in https://github.com/jorenham/unpy/pull/13
* `unpy --version` and `unpy.__version__` by jorenham in https://github.com/jorenham/unpy/pull/14
* add a `--python` cli option by jorenham in https://github.com/jorenham/unpy/pull/15
* more testing and related bugfixes by jorenham in https://github.com/jorenham/unpy/pull/16
* tox by jorenham in https://github.com/jorenham/unpy/pull/17
* backport stdlib import of py313 and py312 to py311 by jorenham in https://github.com/jorenham/unpy/pull/18


**Full Changelog**: https://github.com/jorenham/unpy/compare/v0.2.0...v0.2.1

0.2.0

What's Changed
* add imports to `from typing[_extensions] import ...` by jorenham in https://github.com/jorenham/unpy/pull/1
* typer by jorenham in https://github.com/jorenham/unpy/pull/2
* insert new `from typing[_extensions] import ...` statements by jorenham in https://github.com/jorenham/unpy/pull/3
* something resembling docs by jorenham in https://github.com/jorenham/unpy/pull/4
* fix missing `TypeVar` import for `type {}` aliases by jorenham in https://github.com/jorenham/unpy/pull/5
* Complete PEP-695 backporting to Python 3.11 by jorenham in https://github.com/jorenham/unpy/pull/6
* basic `pytest` setup by jorenham in https://github.com/jorenham/unpy/pull/7
* fix alert in `README.md` by jorenham in https://github.com/jorenham/unpy/pull/8
* fix CI branch by jorenham in https://github.com/jorenham/unpy/pull/9
* `pythoff` -> `unpy` by jorenham in https://github.com/jorenham/unpy/pull/10


**Full Changelog**: https://github.com/jorenham/unpy/compare/v0.1.0...v0.2.0

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.