download_readme
- download_readme(version: str | int | float | VersionInfo | None = None, *, prefix: Sequence[str] | None = None, return_version: Literal[True] = False) VersionPathPair[source]
- download_readme(version: str | int | float | VersionInfo | None = None, *, prefix: Sequence[str] | None = None, return_version: Literal[False] = False) Path
Ensure the latest ChEMBL README.
- Parameters:
version – The version number of ChEMBL to get. If none specified, uses
latest()to look up the latest.prefix – The directory inside
pystowto usereturn_version – Should the version get returned? Turn this to true if you’re looking up the latest version and want to reduce redundant code.
- Returns:
If
return_versionis true, return a pair of the version and the local file path to the downloaded*.sdf.gzfile. Otherwise, just return the path.