Python client for the OpenGWAS genotype-phenotype map API
Project description
gpmappy
Python client for the OpenGWAS genotype-phenotype map API.
Install
Base install:
pip install gpmappy
Install with DataFrame support:
pip install "gpmappy[dataframe]"
Quick start
from gpmappy import GpmapClient
client = GpmapClient()
health = client.health_api()
print(health)
results = client.search_gpmap("haemoglobin")
print(results.head() if hasattr(results, "head") else results[:5])
Output behavior
- Table-like outputs return pandas DataFrames when pandas is installed.
- Without pandas, table-like outputs return
list[dict]. - Use
as_dataframe=Trueto require DataFrame output, oras_dataframe=Falseto force list output.
Resources
- Documentation: https://MRCIEU.github.io/gpmappy/
- Source: https://github.com/MRCIEU/gpmappy
- Issues: https://github.com/MRCIEU/gpmappy/issues
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gpmappy-0.1.1.tar.gz.
File metadata
- Download URL: gpmappy-0.1.1.tar.gz
- Upload date:
- Size: 24.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
184519678f26e396eff2850a59202c2aba50f7271adf3b08266fd79c94531d21
|
|
| MD5 |
dd31c077d4001d2bf74688b86fd1b571
|
|
| BLAKE2b-256 |
e1903af41d90dc458e2ac0b9642cf0640d674f4f22f1997b5099efcae3c64a55
|
Provenance
The following attestation bundles were made for gpmappy-0.1.1.tar.gz:
Publisher:
release.yml on MRCIEU/gpmappy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gpmappy-0.1.1.tar.gz -
Subject digest:
184519678f26e396eff2850a59202c2aba50f7271adf3b08266fd79c94531d21 - Sigstore transparency entry: 1188883075
- Sigstore integration time:
-
Permalink:
MRCIEU/gpmappy@441734227db642eb9254ca284917a70115e03009 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/MRCIEU
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@441734227db642eb9254ca284917a70115e03009 -
Trigger Event:
push
-
Statement type:
File details
Details for the file gpmappy-0.1.1-py3-none-any.whl.
File metadata
- Download URL: gpmappy-0.1.1-py3-none-any.whl
- Upload date:
- Size: 20.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4eeaed2b2b3651f83e1a31ff80a634f3df9e69c493b3beb88c4c0d419bf19d1a
|
|
| MD5 |
4b36ae876fda45859b7b97de60d987fb
|
|
| BLAKE2b-256 |
98ac15537f9e68117a6a9edd51abca3a038830a28564a6670882b692f936ec28
|
Provenance
The following attestation bundles were made for gpmappy-0.1.1-py3-none-any.whl:
Publisher:
release.yml on MRCIEU/gpmappy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gpmappy-0.1.1-py3-none-any.whl -
Subject digest:
4eeaed2b2b3651f83e1a31ff80a634f3df9e69c493b3beb88c4c0d419bf19d1a - Sigstore transparency entry: 1188883094
- Sigstore integration time:
-
Permalink:
MRCIEU/gpmappy@441734227db642eb9254ca284917a70115e03009 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/MRCIEU
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@441734227db642eb9254ca284917a70115e03009 -
Trigger Event:
push
-
Statement type: