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.1.tar.gz (45.0 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.1-py3-none-any.whl (61.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: omop_cdm-0.3.1.tar.gz
  • Upload date:
  • Size: 45.0 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.1.tar.gz
Algorithm Hash digest
SHA256 454127af6e1f8716505da907ce6eb250b33ae36625ec106d756dc81077bf3475
MD5 f4f4814cd9839f53103142c426d2ef01
BLAKE2b-256 cda01e0c128639f638e3b0ff4b7cd9dc674e08e02f4a873f527e572623590d61

See more details on using hashes here.

Provenance

The following attestation bundles were made for omop_cdm-0.3.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: omop_cdm-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 61.4 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ac472466a610b14fdedf8b8d359ba16ca0a0802277db41745d65d77a2b562143
MD5 c3cbb59b62d93943d4936b985c572a33
BLAKE2b-256 6fb7bfc31e985032edb7188ae48c9375bfe3f877717859a8fbc37d945e4e2e49

See more details on using hashes here.

Provenance

The following attestation bundles were made for omop_cdm-0.3.1-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