title: Sibling package imports
body: <p>I've tried reading through questions about sibling imports and even the
  <a href="http://docs.python.org/tutorial/modules.html#intra-package-references" rel="noreferrer">package documentation</a>, but I've yet to find an answer.</p>
  
  <p>With the following structure:</p>
  
  <pre><code>├── LICENSE.md
  ├── README.md
  ├── api
  │   ├── __init__.py
  │   ├── api.py
  │   └── api_key.py
  ├── examples
  │   ├── __init__.py
  │   ├── example_one.py
  │   └── example_two.py
  └── tests
  │   ├── __init__.py
  │   └── test_one.py
  </code></pre>
  
  <p>How can the scripts in the  <code>examples</code> and <code>tests</code> directories import from the
  <code>api</code> module and be run from the commandline?</p>
  
  <p>Also, I'd like to avoid the ugly <code>sys.path.insert</code> hack for every file. Surely
  this can be done in Python, right?</p>