Plugins using importlib to build self describing apis - Daniel Wallace
This talk was presented at PyBay2019 - 4th annual Bay Area Regional Python conference. See pybay.com for more details about PyBay and click SHOW MORE for more information about this talk. Description Api's all have a defined structure, they sometimes almost look like a file tree of actions. Use that similarity + a plugin system to model and organize your api. Abstract Discuss some the basics of using importlib being able to point to a file and import it even if it isn't a .py file Being able to walk a file directory tree and import files in sys.modules. Demonstrate how we are using importlib in some new api endpoints at plangrid to abstract and automate some of the more tedious stuff in Flask. Import modules using importlib and create new classes for each class that's name ends with Handler, and register them in the flask app. Import a whole directory and register all functions that begin with task_ as a celery task for the api to call. Show a more robust system for building plugins using a hub demonstrate a way to just load everything in your codebase into one plugin system make everything that was loaded available in a singleton that can be passed and used anywhere. About the speaker I began using learning python by solving problems on projecteuler.net, then automating the busy work I had while being a Linux Administrator for Rackspace. I have also worked on SaltStack, as an open source contributor and employee. Now I work for AutoDesk on the Plangrid Product. Sponsor Acknowledgement This and other PyBay2019 videos are via the help of our media partner AlphaVoice (https://www.alphavoice.io/)! #pybay #pybay2019 #python #python3 #gdb

Barry Warsaw - Get your resources faster, with importlib.resources - PyCon 2018

What happens when you import a module? - presented by Reuven M. Lerner

Zig 2026: No-AI Policy, $670K Foundation, Left GitHub & Why Zig Isn’t 1.0 - Andrew Kelley Explains

Pushing the limits of Python ML infra at Netflix - Ville Tuulos, Ravi Kiran Chirravuri, Savin Goyal

This Tool Replaces pip, Poetry, pyenv, and More (It’s Fast)

Why the Plugin Architecture Gives You CRAZY Flexibility
![Best of Deep House [2026] | Melodic House & Progressive Flow](https://i.ytimg.com/vi/Il-ZpBuC8tA/hqdefault.jpg?v=69905cf3&sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLD98tp8MTbT485EHZMDT_XMVi93ow)
Best of Deep House [2026] | Melodic House & Progressive Flow

Why OCaml

Travis Hathaway: Writing Plugin Friendly Python Applications

Python Multiprocessing Tutorial: Run Code in Parallel Using the Multiprocessing Module

As We May Program - Peter Norvig

Ibiza Summer Mix 2025 🍓 Best Of Tropical Deep House Music Chill Out Mix 2025 🍓 Chillout Lounge

Casey Muratori – The Big OOPs: Anatomy of a Thirty-five-year Mistake – BSC 2025

HOW TO: A Python tutorial for dynamically importing or adding modules

Python Plugin System: Load Modules Dynamically With "importlib"

lofi hip hop radio 📚 beats to relax/study to

Scaling Open Source Up and Down — Glyph Lefkowitz (PyBay 2025)

Creating Cython libraries for redistribution in a Python package

Tsvi Mostovicz - Designing a plugin architecture in Python

