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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: omop_cdm-0.1.0.tar.gz
  • Upload date:
  • Size: 45.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.0 CPython/3.10.3 Darwin/23.4.0

File hashes

Hashes for omop_cdm-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e322709917ee49769c99e227921e295fd47f23a4a2d87d23f90f5ecc700a3a3d
MD5 6130a5ebbd12ab1e1a43a76a934b32cf
BLAKE2b-256 37d47b3f708e300b2b42fb841e31f190e0dfe55555159d70bb6a636085010945

See more details on using hashes here.

File details

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

File metadata

  • Download URL: omop_cdm-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 60.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.0 CPython/3.10.3 Darwin/23.4.0

File hashes

Hashes for omop_cdm-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4e2becec5491932261d4500691bed9408c6d9b441f487866c0273d702a696dee
MD5 68ae5be49729e2f58c6398ebdc01f139
BLAKE2b-256 0ae4fbe678788ecb4fc43a2c32965b3f9a82bd3f6a3d6c9f69e356f7b7d1e8d7

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