title: How to on Import PEP8 the Package
body: <p>If I am importing a module from a 3rd party, but the syntax they use does not line up with mine, is there a good way to pep8 it?</p>
  
  <p>Example: I need to use a 3rd party module that I cannot edit and their naming convention isn't so great. </p>
  
  <p>Example:</p>
  
  <pre><code>thisIsABase_function(self,a,b)
  </code></pre>
  
  <p>I have some code that pepifies the name to pep8, but I was wondering how I can make the functions accessible by that new pep8 name?</p>
  
  <pre><code>def _pep8ify(name):
      """PEP8ify name"""
      import re
      if '.' in name:
          name = name[name.rfind('.') + 1:]
      if name[0].isdigit():
          name = "level_" + name
      name = name.replace(".", "_")
      if '_' in name:
          return name.lower()
      s1 = re.sub('(.)([A-Z][a-z]+)', r'\1_\2', name)
      return re.sub('([a-z0-9])([A-Z])', r'\1_\2', s1).lower()
  </code></pre>
  
  <p>Is there a way I can PEP8 these names on import?</p>