code: def get_version(module):
      
      init_py = open('{0}.py'.format(module)).read()
      return re.search("__version__ = ['\"]([^'\"]+)['\"]", init_py).group(1)
docs: Return package version as listed in `__version__`.