code: def get_version(package):
      
      init_py = readfile(os.path.join(package, '__init__.py'))
      return re.search("__version__ = ['\"]([^'\"]+)['\"]", init_py).group(1)
docs: Return package version as listed in `__version__` in `init.py`.