pypath.inputs.pharos.pharos_general§

pypath.inputs.pharos.pharos_general(query: str, variables: dict[str, bool] | None = None) dict[source]§

Query the NIH Pharos database by GraphQL.

Read about Pharos here: https://pharos.nih.gov/about

Parameters:
  • query – A GraphQL query.

  • variables – Variables to retrieve. A dict of variable names and boolean values.

Returns:

The JSON response parsed into a dict.