Skip to main content

SQLAlchemy ORM of the OHDSI OMOP CDM

Project description

omop-cdm

omop-cdm is a Python package that contains SQLAlchemy declarative table definitions of several versions of the OHDSI OMOP CDM.

Installation

omop-cdm requires Python >= 3.9.

Install from PyPI:

pip install omop-cdm

Usage

See User documentation

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 defintions for the following CDM versions:

Development

Setup steps

  • Make sure Poetry is installed.
  • Install the project and dependencies via poetry install.
  • Set up the pre-commit hook scripts via poetry run pre-commit install.

Nox sessions

Several developer actions (e.g. run tests, code format, lint) are available via nox sessions. For a complete list, run:

nox --list

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

omop_cdm-0.3.0.tar.gz (44.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

omop_cdm-0.3.0-py3-none-any.whl (61.2 kB view details)

Uploaded Python 3

File details

Details for the file omop_cdm-0.3.0.tar.gz.

File metadata

  • Download URL: omop_cdm-0.3.0.tar.gz
  • Upload date:
  • Size: 44.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for omop_cdm-0.3.0.tar.gz
Algorithm Hash digest
SHA256 b2c0435985092b90b550b6a45f1387134189e2ab7bf919569dbe6f69c33498b0
MD5 3947438a1a8203b5775fcc1637b19be4
BLAKE2b-256 d7819e639212edd59759a95baf1b76a5f8278682d150d95de97dfe589d312b5c

See more details on using hashes here.

Provenance

The following attestation bundles were made for omop_cdm-0.3.0.tar.gz:

Publisher: publish.yml on thehyve/omop-cdm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file omop_cdm-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: omop_cdm-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 61.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for omop_cdm-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e2111699903d8143249ba9a834792fbda4315d55d99f1729e793ea81131817db
MD5 c492d8f3fb382f9f82af8477f87fc8dd
BLAKE2b-256 949985aff3058087df2b6ed6729d4ed51cc03d80e8c61a20be5b4957a88361f0

See more details on using hashes here.

Provenance

The following attestation bundles were made for omop_cdm-0.3.0-py3-none-any.whl:

Publisher: publish.yml on thehyve/omop-cdm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page