Plugins in python - how it is done
2026-07-17 , Conference Hall Complex (S4)

Have you ever wondered how popular tools like pytest or tox are able to discover and use plugins?
In this talk we will learn about entry-points in Python package metadata and how they enable plugin discovery.
We will review how some popular projects are using this mechanism to create their plugin systems.
After a walkthrough of the basics, we will explore how you can use this to create a plugin mechanism for your own project.
We will explore possible hook implementations and their advantages and disadvantages.
Finally we will learn how to make plugins discoverable on PyPi.


Expected audience expertise: Intermediate

I'm maintainer of the napari project (n-dimensional viewer written in python) and an assistant professor at the University of Warsaw.

In daily work on improving napari I focus on improving application in the context of performance and stability and improving the API for plugin creators to allow them to ship a better product.

At university I provide Python and data analysis classes.