Backward-compatibility shim. The real package is now vivarium-gbd-mapping.
Project description
** NOTE: This repository has been archived.**
The gbd_mapping package has been renamed and migrated into the vivarium-suite monorepo.
What changed
PyPI distribution: gbd_mapping -> vivarium-gbd-mapping
Import paths: - gbd_mapping -> vivarium.gbd_mapping - gbd_mapping_generator -> vivarium.gbd_mapping_generator
Source: ihmeuw/gbd_mapping (archived) -> ihmeuw/vivarium-suite (under libs/gbd-mapping/)
What this last release (v5.1.0) is
A backward-compatibility shim. It contains no code; installing it pulls in:
vivarium-gbd-mapping>=6.0.0 - the real implementation under the new import paths. Also provides the build_mapping console script.
vivarium-compat>=0.5.0 - an import hook that lets import gbd_mapping and import gbd_mapping_generator continue to work, emitting a DeprecationWarning. Update your imports before the hook is removed.
If you depend on a specific pre-rename version (e.g. gbd_mapping==5.0.4), pin to that version - those earlier releases still ship the original modules and continue to install standalone.
To migrate fully to the new package
Mapping of Global Burden of Disease (GBD) entities to their metadata.
There are two packages offered in this distribution. The first, the gbd_mapping_generator is a set of scripts that define templates and data gathering code used to produce the second, the gbd_mapping. The gbd_mapping_generator package will not function without access to the IHME cluster and some of our internally used data access libraries. Mapping updates are managed by an automated toolchain, so this shouldn’t be an issue.
The gbd_mapping is a programmatically accessible (and TAB-complete-able) set of mappings for GBD entities including:
Causes
Risks
Covariates
Etiologies
Sequelae
You can install gbd_mapping from PyPI with pip:
> pip install gbd_mapping
or build it from source with
> git clone https://github.com/ihmeuw/gbd_mapping.git
> cd gbd_mapping
> pip install .
Development and Mapping Generation
In order to generate or regenerate the mappings from data, you must have access to the Institute for Health Metrics and Evaluation cluster and internal PyPI server. Contact <collijk@uw.edu> if you need further instructions on that.
Given proper permissions, you can set up this library in development mode with
> git clone https://github.com/ihmeuw/gbd_mapping.git
> cd gbd_mapping
> pip install -e .['dev']
Check out the docs!
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 gbd_mapping-5.1.0.tar.gz.
File metadata
- Download URL: gbd_mapping-5.1.0.tar.gz
- Upload date:
- Size: 15.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2696b2b1f12c0e30802df1f2cf395d262d4c5777b4939d0ef8439da47a947ba
|
|
| MD5 |
50bb08e94ce90d8dfc3884028371a5ee
|
|
| BLAKE2b-256 |
da626914ab28ac6572e20639bbdfb740eff19df0b5ee8d6006e853a0c9c19f13
|
File details
Details for the file gbd_mapping-5.1.0-py3-none-any.whl.
File metadata
- Download URL: gbd_mapping-5.1.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
daa7f597eda18a7b93c6db78f030b5bdca399e78a0a2d3811cf82a989a68728b
|
|
| MD5 |
c56e6a2d0b8809f29d1a2e5da7d289ef
|
|
| BLAKE2b-256 |
17497e5cc2044f98ea1da26c475f921e49e528d8646fdabed109e401cbe9f93e
|