{"library":"greenback","type":"library","category":null,"description":"Greenback is a Python library that enables calling asynchronous code from a synchronous context within an active `asyncio` or `Trio` event loop. It bridges the gap between synchronous and asynchronous programming, allowing for gradual migration of codebases and interoperability with async-unaware libraries. The current version is 1.3.0, and it maintains a focused release cadence as a small, specialized utility built on `greenlet`.","language":"python","status":"active","version":"1.3.0","tags":["async","asyncio","trio","concurrency","greenlet","synchronous","bridge"],"last_verified":"Wed May 20","install":[{"cmd":"pip install greenback","imports":["import greenback","await greenback.ensure_portal()","greenback.await_(async_function())","greenback.with_portal_run_sync(sync_function)"]}],"homepage":null,"github":"https://github.com/oremanj/greenback","docs":null,"changelog":null,"pypi":"https://pypi.org/project/greenback/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":2,"avg_import_s":0.1,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/greenback/compatibility"}}