Write async. Get sync for free - Thom Lane @EuroPythonConference
Write async. Get sync for free - Thom Lane  @EuroPythonConference
Uploaded August 2026 | Updated September 2026, 2 weeks ago
[EuroPython 2026 - S4 on 2026-07-15]
🎀 *Write async. Get sync for free by Thom Lane*
πŸ”— https://ep2026.europython.eu/session/write-async-get-sync-for-free

πŸ“ Abstract:
When you write a Python library, you have a dilemma. Ship async-only? Ship blocking-only? Or write everything twice and watch both copies drift?

Synchronicity (github.com/modal-labs/synchronicity) removes this dilemma. Write your library once (in async) and get a blocking interface for free, while avoiding the boilerplate and limitations of `asyncio.run()` wrappers. We’ll talk through how to handle persistent connections, async generators, clean tracebacks, type hints and more.

We've used it in production at Modal for years, and it's fully open source. We hope it can save you from writing your own library twice!

---
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License: creativecommons.org/licenses/by-nc-sa/4.0
Write async. Get sync for free - Thom LaneFavorite Thing About EuroPython β€” Charalampos StratakisLanguage Summit Comes to EuroPython!Inside Python 3.15s JIT Optimizer - Ken JinArgs: Amazing or Approaching? - Evan KohilasFrom Pixels to Insights: Python for Earth Observation - ELENI TOKMAKTSIPyStories with Pydantic β€” Marcelo TrylesinskiCoding Dojos and Grand Pianos 🎹How Does It Feel To Represent Your Company At EuroPython - Jason from SnowflakeUpdate on the CPython JIT: What to expect in 3.15 - Diego RussoEuroPython 2026 - Lightning talks ⚑ FridayDeploying Python Web Apps in 2026 - Will Vincent
EuroPython Conference |

Write async. Get sync for free - Thom Lane

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER