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.8.

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.1.1.tar.gz (45.5 kB view details)

Uploaded Source

Built Distribution

omop_cdm-0.1.1-py3-none-any.whl (60.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: omop_cdm-0.1.1.tar.gz
  • Upload date:
  • Size: 45.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for omop_cdm-0.1.1.tar.gz
Algorithm Hash digest
SHA256 41e5db121946b8ce7dc12c579039b417402ac72ac08fbfc581d6ef08a0abdd37
MD5 6c6aed1ff2911cae4160242000a9954b
BLAKE2b-256 2fef63937b3a131661170932109ade75830d052b16424d25f69d51ef4799d36b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: omop_cdm-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 60.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for omop_cdm-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7d8f67c32fbf7e58c842d34ddd23c3c254b75d1cd920e277c5fc3716f727ec88
MD5 cf064e8e2476a4645ab5aec509634163
BLAKE2b-256 574d63d4c3b9240cfe0d9b585320831d2548687425252a5bfae591dde6d81112

See more details on using hashes here.

Supported by

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