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.2.0.tar.gz (45.5 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.2.0-py3-none-any.whl (60.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for omop_cdm-0.2.0.tar.gz
Algorithm Hash digest
SHA256 eda3b3b6ccd419b2823f7feefd65929d07c95716786b7f93d679d5fed64704b4
MD5 c8d64da1633bb124d5e3ad16953605aa
BLAKE2b-256 a7b0c97ef7555f0e56653747c7981d90a48dda4528775bfde76711e989cc8a19

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for omop_cdm-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ba42e2b37e0e84feed8ede3d09fc95cbc1484ffc1ba5f5d70b6ed5c1f9b19151
MD5 9d8ab8162aa236cdf834c758f95b599e
BLAKE2b-256 462405fbb33782916ef2e668f41f11e52593950881dfa2cdf3d48f8cb9ae5615

See more details on using hashes here.

Provenance

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