title: Clean imports from packages in Python
body: <p>I have a following project structure:</p>
  
  <pre><code>project
  |----app.py
  |----package
       |---__init__.py
       |---module.py
       |---module2.py
       |---module3.py
       |---....
  </code></pre>
  
  <p>My <code>__init__.py</code> file currently is empty. In module.py I have a definition of a class:</p>
  
  <pre><code>class UsefulClass:
      ...
  </code></pre>
  
  <p>And in other modules similar definitions as well. My app.py looks like this:</p>
  
  <pre><code>#!/usr/bin/env python
  # -*- coding: utf-8 -*-
  
  from package.module import UsefulClass
  from package.module2 import UsefulClass2
  ...
  
  usefulclass = UsefulClass()
  usefulclass2 = UsefulClass2()
  ....
  </code></pre>
  
  <p>My question is: how can I replace this <code>from package.module... import UsefulClass</code> statements? Even now, I have only 4 modules defined and this imports starting to look ugly. Can I import them in <code>__init__.py</code> file and then just use <code>import package</code> in <code>app.py</code>? I have tried that and it gives me an error.</p>
  
  <p>I am looking for a clean and elegant solution.</p>