{"id":34701769,"url":"https://github.com/hubmapconsortium/hubmap-api-py-client","last_synced_at":"2026-05-27T05:36:50.517Z","repository":{"id":42658414,"uuid":"322299486","full_name":"hubmapconsortium/hubmap-api-py-client","owner":"hubmapconsortium","description":"Python client for the Cells API","archived":false,"fork":false,"pushed_at":"2024-05-01T19:15:19.000Z","size":100,"stargazers_count":1,"open_issues_count":15,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-04-27T21:48:53.619Z","etag":null,"topics":["hidivelab","ot2od030545"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hubmapconsortium.png","metadata":{"files":{"readme":"README-Client.txt","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-17T13:14:52.000Z","updated_at":"2025-06-24T15:24:33.000Z","dependencies_parsed_at":"2024-05-01T03:33:45.836Z","dependency_job_id":"58fa1505-9f0c-4c34-b935-178e3319e0e2","html_url":"https://github.com/hubmapconsortium/hubmap-api-py-client","commit_stats":{"total_commits":62,"total_committers":4,"mean_commits":15.5,"dds":"0.17741935483870963","last_synced_commit":"d63febc2ca3a6318cfe656920830833e916f347c"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/hubmapconsortium/hubmap-api-py-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hubmapconsortium%2Fhubmap-api-py-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hubmapconsortium%2Fhubmap-api-py-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hubmapconsortium%2Fhubmap-api-py-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hubmapconsortium%2Fhubmap-api-py-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hubmapconsortium","download_url":"https://codeload.github.com/hubmapconsortium/hubmap-api-py-client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hubmapconsortium%2Fhubmap-api-py-client/sbom","scorecard":{"id":471956,"data":{"date":"2025-08-11","repo":{"name":"github.com/hubmapconsortium/hubmap-api-py-client","commit":"9d3f9b2db78a875fb34883aa3aafe7d9c3375152"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":5,"reason":"Found 17/30 approved changesets -- score normalized to 5","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/hubmapconsortium/hubmap-api-py-client/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/hubmapconsortium/hubmap-api-py-client/ci.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:23","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:24","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":4,"reason":"6 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2014-14 / GHSA-652x-xj99-gmcc","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2014-13 / GHSA-cfj3-7x9c-4p3h","Warn: Project is vulnerable to: PYSEC-2018-28 / GHSA-x84v-xcm2-53pg","Warn: Project is vulnerable to: PYSEC-2023-74 / GHSA-j8r2-6x86-q33q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 19 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T14:08:37.005Z","repository_id":42658414,"created_at":"2025-08-19T14:08:37.005Z","updated_at":"2025-08-19T14:08:37.005Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33553127,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-27T02:00:06.184Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hidivelab","ot2od030545"],"created_at":"2025-12-24T22:52:59.898Z","updated_at":"2026-05-27T05:36:50.508Z","avatar_url":"https://github.com/hubmapconsortium.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Help on class ExternalClient in hubmap_api_py_client:\n\nhubmap_api_py_client.Client = class ExternalClient(builtins.object)\n |  hubmap_api_py_client.Client(base_url)\n |  \n |  The Client provides methods for querying different entity types.\n |  The methods return ResultSets which can be combined with set operators,\n |  and then finally evaluated to get the actual data.\n |  \n |  Methods defined here:\n |  \n |  __init__(self, base_url)\n |      Initialize self.  See help(type(self)) for accurate signature.\n |  \n |  __repr__(self)\n |      Return repr(self).\n |  \n |  get_bounds(self, modality=None, var_id=None)\n |      Gets the minimum and maximum value for a given modality, or a given gene/protein in a given modality.\n |      Args:\n |          modality (str): Required. The data modality for which the maximum value will be returned.\n |              Must be one of ['atac', 'codex', 'rna'].\n |          var_id (str): Optional. A gene_symbol or protein_id.  If provided, the maximum value for that\n |              gene or protein in the specified modality will be returned\n |      \n |      Returns:\n |          dict\n |  \n |  select_cells lambda self, where=None, has=None, genomic_modality=None, logical_operator=None\n |      Select a set of cells. If no params are provided, selects the set of all cells.\n |      Otherwise, selects a set of cells filtered based on parameters supplied.\n |      \n |      Args:\n |          where (str): The type of entity for which identifiers are supplied as input to query\n |              Must be one of [\"cell\", \"gene\", \"protein\", \"organ\", \"dataset\"]\n |          has (List[str]): A list of entity identifiers (gene symbols, organ names, dataset UUIDS,\n |              etc) or expressions (i.e. \"Ki67 \u003e 1000) supplied as input to the query.\n |          genomic_modality (str): Modality to consider in quantitative queries.\n |              Required for queries in which \"where\" is \"gene\". Must be one of [\"rna\", \"atac\"].\n |          logical_operator (str): The logical operator applied to filters generated by elements of\n |              \"has\". Required for queries in which \"where\" is \"gene\" or \"protein\" and \"has\" contains\n |              more than one element. Must be one of [\"and\", \"or\"].\n |      \n |      Returns:\n |          ResultsSet\n |  \n |  select_celltypes lambda self, where=None, has=None\n |      Select a set of cell types. If no params are provided, selects the set of all cell types.\n |      Otherwise, selects a set of cell types filtered based on parameters supplied.\n |      \n |      Args:\n |          where (str): The type of entity for which identifiers are supplied as input to query\n |              Must be one of [\"celltype\", \"dataset\", \"organ\"].\n |          has (List[str]): A list of entity identifiers supplied as input to the query.\n |      \n |      Returns:\n |          ResultsSet\n |  \n |  select_clusters lambda self, where=None, has=None, genomic_modality=None, p_value=None, logical_operator=None\n |      Select a set of clusters. If no params are provided, selects the set of all clusters.\n |      Otherwise, selects a set of clusters filtered based on parameters supplied.\n |      \n |      Args:\n |          where (str): The type of entity for which identifiers are supplied as input to query.\n |              Must be one of [\"gene\", \"cluster\", \"dataset\"].\n |          has (List[str]): A list of entity identifiers (gene symbol, dataset uuid, etc) supplied\n |              as input to the query.\n |          genomic_modality (str): Modality to consider for quantitative queries.\n |              Required for queries in which \"where\" is \"gene\". Must be one of [\"rna\", \"atac\"].\n |          p_value (float): Threshold of significance applied to gene-cluster associations.\n |              Required for queries in which \"where\" is \"gene.\" Must be between 0 and 1.\n |          logical_operator (str): The logical operator applied to filters generated by elements of\n |              \"has.\" Required for queries in which \"where\" is \"gene\" and \"has\" contains\n |              more than one element. Must be one of [\"and\", \"or\"].\n |      \n |      Returns:\n |          ResultsSet\n |  \n |  select_datasets lambda self, where=None, has=None, genomic_modality=None, logical_operator=None, min_cell_percentage=None\n |      Select a set of datasets. If no params are provided, selects the set of all datasets.\n |      Otherwise, selects a set of datasets filtered based on parameters supplied.\n |      \n |      Args:\n |          where (str): The type of entity for which identifiers are supplied as input to query.\n |              Must be one of [\"dataset\", \"cell\", \"cluster\"].\n |          has (List[str]): A list of entity identifiers or expressions (dataset_uuids, etc) supplied as\n |              input to the query.\n |          genomic_modality (str): Modality to consider in quantitative queries.\n |              Required for queries in which \"where\" is \"gene\". Must be one of [\"rna\", \"atac\"].\n |          min_cell_percentage (float): Minimum percentage of cells which must satisfy the quantitative\n |              expression in \"has\"\n |      Returns:\n |          ResultsSet\n |  \n |  select_genes lambda self, where=None, has=None, genomic_modality=None, p_value=None, logical_operator=None\n |      Select a set of genes. If no params are provided, selects the set of all genes.\n |      Otherwise, selects a set of genes filtered based on parameters supplied.\n |          where (str): The type of entity for which identifiers are supplied as input to query\n |              Must be one of [\"gene\", \"organ\", \"cluster\"].\n |          has (List[str]): A list of entity identifiers (gene_symbols, organ_names, etc) supplied as\n |              input to the query.\n |          genomic_modality (str): Modality to consider for quantitative queries.\n |              Required for queries in which \"where\" is \"organ\" or \"cluster\".\n |              Must be one of [\"rna\", \"atac\"].\n |          p_value (float): Threshold of significance applied to gene-organ and gene-cluster\n |              associations. Required for queries in which \"where\" is \"organ\" or \"cluster.\"\n |              Must be between 0 and 1.\n |          logical_operator (str): The logical operator applied to filters generated by elements of\n |              \"has\". Required for queries in which \"where\" is \"organ\" or \"cluster\" and\n |              \"has\" contains more than one element. Must be one of [\"and\", \"or\"].\n |      \n |      Returns:\n |          ResultsSet\n |  \n |  select_organs lambda self, where=None, has=None, genomic_modality=None, p_value=None, logical_operator=None\n |      Select a set of organs. If no params are provided, selects the set of all organs.\n |      Otherwise, selects a set of organs filtered based on parameters supplied.\n |      \n |      Args:\n |          where (str): The type of entity for which identifiers are supplied as input to query\n |              Must be one of [\"gene\", \"organ\"].\n |          has (List[str]): A list of entity identifiers (gene_symbols, organ_names) supplied as input\n |              to the query.\n |          genomic_modality (str): Modality to consider for quantitative queries.\n |              Required for queries in which \"where\" is \"gene\". Must be one of [\"rna\", \"atac\"].\n |          p_value (float): Threshold of significance applied to gene-organ associations.\n |              Required for queries in which \"where\" is \"gene.\" Must be between 0 and 1.\n |          logical_operator (str): The logical operator applied to filters generated by elements of\n |              \"has\". Required for queries in which \"where\" is \"gene\" and \"has\" contains more than\n |              one element. Must be one of [\"and\", \"or\"].\n |      \n |      Returns:\n |          ResultsSet\n |  \n |  select_proteins lambda self, where=None, has=None\n |      Select a set of proteins. If no params are provided, selects the set of all proteins.\n |      Otherwise, selects a set of proteins filtered based on parameters supplied.\n |      \n |      Args:\n |          where (str): The type of entity for which identifiers are supplied as input to query\n |              Must be one of [\"protein\"].\n |          has (List[str]): A list of entity identifiers (protein ids) supplied as input to the query.\n |      \n |      Returns:\n |          ResultsSet\n |  \n |  ----------------------------------------------------------------------\n |  Data descriptors defined here:\n |  \n |  __dict__\n |      dictionary for instance variables (if defined)\n |  \n |  __weakref__\n |      list of weak references to the object (if defined)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhubmapconsortium%2Fhubmap-api-py-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhubmapconsortium%2Fhubmap-api-py-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhubmapconsortium%2Fhubmap-api-py-client/lists"}