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
Release files for gpmappy 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gpmappy-0.1.1.tar.gz | 24.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gpmappy-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:44.7 kB
Release files / gpmappy-0.1.1.tar.gz
| Download URL | gpmappy-0.1.1.tar.gz |
|---|---|
| Size | 24.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
184519678f26e396eff2850a59202c2aba50f7271adf3b08266fd79c94531d21
|
|
BLAKE2b-256 checksum How to use checksums |
e1903af41d90dc458e2ac0b9642cf0640d674f4f22f1997b5099efcae3c64a55
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 27, 2026.
Transparency logRelease files / gpmappy-0.1.1-py3-none-any.whl
| Download URL | gpmappy-0.1.1-py3-none-any.whl |
|---|---|
| Size | 20.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4eeaed2b2b3651f83e1a31ff80a634f3df9e69c493b3beb88c4c0d419bf19d1a
|
|
BLAKE2b-256 checksum How to use checksums |
98ac15537f9e68117a6a9edd51abca3a038830a28564a6670882b692f936ec28
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 27, 2026.
Transparency log