from hat import rabbit
Joachim Jablon
Get your finest top hat and dive into the rabbit hole with me for a magic trick like only the best snakes can do: create Python modules out of thin air. We’ll import Python modules that don’t exist and yet, Presto, here they are.
Presented at PyConlineAU 2021, this talk explores both how the Python import machinery actually works, and how we can use it to make dynamic Python modules.
Sources:
- How the Python import system works, by Victor Skvortsov
- Python documentation
- Procrastinate, the project we speak about
- The migration magic which inspired this talk.