Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore techniques for maintaining and evolving Python libraries without breaking user code in this 30-minute EuroPython Conference talk. Learn to identify and protect public interfaces, structure tests effectively, and leverage Python's language features for seamless updates. Discover strategies for managing backwards compatibility, communicating changes to users, and implementing Pythonic refactoring practices. Gain insights into topics such as function decorators, magic methods, and project management approaches that balance innovation with stability in library development.
Syllabus
Introduction
About Mark
Why stable interfaces
What are interfaces
Strict interfaces
Public modules
Documentation
Versioning
Keeper Changelog
Breaking Code
Deprecation
Good Engineering Practices
Dynamically Generated Values
Class Instantiation
Replace constructor with factory method
Fix global state in module
Replace module with object instance
Be aware
Exceptions
Assumptions
Monkeypatch
Taught by
EuroPython Conference