I want to create a
example\__init__.py (Empty file)
example\user.py (Define the class `User`)
from example.user import User
Your approach is good and 100% Pythonic. Just make sure that you have proper comments in the modules you make.
You can refer this link for more information.