{"library":"trampoline","type":"library","category":null,"description":"The `trampoline` library (version 0.1.2) provides a simple and tiny yield-based implementation of the trampoline technique in Python. It allows recursive functions to overcome Python's recursion depth limit by converting them into generators that yield subsequent recursive calls, which are then driven by a central `trampoline` function. This enables virtually infinite recursion without exhausting the call stack. The library has not seen recent updates, with its last release in 2018.","language":"python","status":"maintenance","version":"0.1.2","tags":["recursion","tail-recursion","generator","trampoline","optimization","stack-overflow-prevention"],"last_verified":"Thu May 21","install":[{"cmd":"pip install trampoline","imports":["from trampoline import trampoline","from trampoline import TailCall"]}],"homepage":"https://gitlab.com/ferreum/trampoline","github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/trampoline/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.6,"avg_import_s":0,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/trampoline/compatibility"}}