AI, Data Science & Business Certificates from Google, IBM & Microsoft
Future-Proof Your Career: AI Manager Masterclass
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
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