NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #2561 most downloaded on PyPI
Decompile python functions, from bytecode to source code!
Last release 11 months ago
13 Oct 2025
Release timing varies
gaps range from 9 days to 6 months
Most releases are documented
notes for 16 of 21 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
21 releases · first in 2023
One column per quarter.
bugfix for list extend with argval != 1 and add DEPYF_REMOVE_TEMP env var by @youkaichao in https://github.com/thuml/depyf/pull/87
Full Changelog: https://github.com/thuml/depyf/compare/v0.19.0...v0.20.0
Full Changelog: v0.19.0...v0.20.0
Add device to imports by @ProExpertProg in https://github.com/thuml/depyf/pull/82
patched_load_by_key_path by @nopperl in https://github.com/thuml/depyf/pull/81Full Changelog: https://github.com/thuml/depyf/compare/v0.18.0...v0.19.0
patched_load_by_key_path by @nopperl in #81Full Changelog: v0.18.0...v0.19.0
sync with new pytorch code by @youkaichao in https://github.com/thuml/depyf/pull/47
.gitignore for tests output by @zincnode in https://github.com/thuml/depyf/pull/71Full Changelog: https://github.com/thuml/depyf/compare/v0.17.0...v0.18.0
deal with none in patch by @youkaichao in https://github.com/thuml/depyf/pull/40
Full Changelog: https://github.com/thuml/depyf/compare/v0.16.0...v0.17.0
Full Changelog: v0.16.0...v0.17.0
improve guards information by @youkaichao in https://github.com/thuml/depyf/pull/30
Full Changelog: https://github.com/thuml/depyf/compare/v0.15.0...v0.16.0
Full Changelog: v0.15.0...v0.16.0
Nothing published for this version
Nothing published for this version
keep up-to-date with recent pytorch code like lazy graph module
keep up-to-date with recent pytorch code like lazy graph module
add support for robust if-else decompilcation
add support for robust if-else decompilcation
make the dumped source code much prettier, and add the documentation website.
make the dumped source code much prettier, and add the documentation website.
support debugging torch.compile
support debugging torch.compile
Debug torch.compile with your favorite debugger!
Debug torch.compile with your favorite debugger!
Nothing published for this version
Explain all the details of torch.compile to users in human-readable source code.
Explain all the details of torch.compile to users in human-readable source code.
Nothing published for this version
support pytorch hooks, add explain notebooks
support pytorch hooks, add explain notebooks
Nothing published for this version
The decompiler is tested against pytorch benchmark. For bytecode generated by pytorch, we decompile it to get source code, and compile the source code
The decompiler is tested against pytorch benchmark. For bytecode generated by pytorch, we decompile it to get source code, and compile the source code to get a new bytecode, run pytorch with the new bytecode.
Add support for simple for-while loops.
Add support for simple for-while loops.
We add support for a simple jump, used in __resume_at_xxx functions for pytorch dynamo.
We add support for a simple jump, used in __resume_at_xxx functions for pytorch dynamo.
Transform bytecode to source code, so that understanding python bytecode can be much easier. This is especially useful to understand pytorch 2.0 compi
Support python 3.7 - 3.11.
Transform bytecode to source code, so that understanding python bytecode can be much easier. This is especially useful to understand pytorch 2.0 compiler stack.
Your coding agent can read these notes before it upgrades. Set up the MCP server →