mutating/transfunctions
Say NO to Python fragmentation on sync and async
This library helps Python developers avoid rewriting similar code for both synchronous and asynchronous operations. You write a single "template" function that combines logic for different execution styles, and the library generates the specific synchronous, asynchronous, or generator functions you need. It's for Python developers working with modern applications that mix sync and async code.
198 stars. Available on PyPI.
Use this if you are a Python developer tired of duplicating large sections of code to support both synchronous and asynchronous versions of your functions.
Not ideal if your project does not use asynchronous programming (asyncio) or if you prefer to explicitly write out sync and async versions of your functions.
Stars
198
Forks
6
Language
Python
License
MIT
Category
Last pushed
Mar 20, 2026
Commits (30d)
0
Dependencies
3
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/mutating/transfunctions"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
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