title: How do I export a single function as a module in Python?
body: <p>I'm writing a module called <code>foo</code> that has many internal functions, but ultimately boils down to a single external function <code>foo()</code>. When using this module/function, I'd like to do</p>
  
  <pre><code>import foo
  foo(whatever)
  </code></pre>
  
  <p>instead of</p>
  
  <pre><code>from foo import foo
  foo(whatever)
  </code></pre>
  
  <p>Is this possible?</p>