Python 5 Simple Rules For Building Great Python Packages 2013-09-16 Tomislav Vlahović Leave a comment Source 1. __init__.py is Only for Imports 2. Use __init__.py to Enforce Import Order 3. Use One Module to Define All Exceptions 4. Only Relative imports within the package 5. Keep Modules Small