omop-cdm
omop-cdm is a Python package that contains SQLAlchemy declarative table definitions of several versions of the OHDSI OMOP CDM.
It can be used for both data mapping and data analysis/exploration workflows.
Installation
omop-cdm requires Python >= 3.10.
Install from PyPI:
pip install omop-cdm
Usage
Supported databases
The omop-cdm table definitions are tested to be compatible with PostgreSQL.
Though not officially supported, omop-cdm doesn't use postgres-specific features of SQLAlchemy, so it can likely be used for other database types as well.
CDM versions
omop-cdm contains table definitions for the following CDM versions:
- CDM 5.5
- CDM 5.4
- CDM 5.3.1
- CDM 6.0.0 (not recommended)
Getting Involved
- Any bugs, issues or ideas for improvement can be submitted via the GitHub Issues page.
- If you are developing on the project, please see the contributing guide.
Metadata
Release files for omop-cdm 0.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| omop_cdm-0.7.0.tar.gz | 60.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| omop_cdm-0.7.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 143.9 kB
Release files / omop_cdm-0.7.0.tar.gz
| Download URL | omop_cdm-0.7.0.tar.gz |
|---|---|
| Size | 60.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5a9c00388d00c83ed32fd0ac868118489de24678f753870da5e3b63c0413cf0d
|
|
BLAKE2b-256 checksum How to use checksums |
be2b6bf6585b1a80a5e174c14bf0aaf4add7f41125472221c47ca7a13c15c852
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 1, 2026.
Transparency logRelease files / omop_cdm-0.7.0-py3-none-any.whl
| Download URL | omop_cdm-0.7.0-py3-none-any.whl |
|---|---|
| Size | 83.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6ecfd4642932f7e7baa9218f731ebf2781cb16805db3ff8910ff48abc3d05b10
|
|
BLAKE2b-256 checksum How to use checksums |
3fe8648414a90135acfc71276584ef1153bc29e4efbbc97d3e82aee0a5a00525
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 1, 2026.
Transparency log