code: def extract_version():
      
      with open('pdftools/__init__.py', 'r') as f:
          content = f.read()
  
      version_match = _version_re.search(content)
      version = str(ast.literal_eval(version_match.group(1)))
      return version
docs: Extract the version from the package.