Skip to main content

SQLAlchemy ORM of the OHDSI OMOP CDM

Project description

omop-cdm

tests PyPI Latest Release License

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

Releasing

omop-cdm uses semantic versioning.

Releases should be made from the main branch. Before creating a release on GitHub, make sure the CHANGELOG has been updated and the version number in pyproject.toml is correct.

Once the GitHub release has been made, the package will be automatically uploaded to PyPI (via the publish.yml workflow).

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.4.0.tar.gz (46.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.4.0-py3-none-any.whl (62.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for omop_cdm-0.4.0.tar.gz
Algorithm Hash digest
SHA256 c49c289caf9bc16b9e95ad352b83531c9274091ac1922b7c777242cf5d56a1d3
MD5 9b524b578b8d1ff45287ac3510007fd1
BLAKE2b-256 329016cbac952be1bf17100f6abe83f7465c45b5e0675658276a4e38ad060692

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for omop_cdm-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 011b9e300f60b31d9f013e52a6435d2c948ceafe0dca1f628dc6442f9f253b78
MD5 5ba0a3d898f681c4e8e2c14de64e080c
BLAKE2b-256 55c79957f09d3531d7c7a5f5dd3385f5ccfeb6f71d390ffcf8f7e938e7d7ee25

See more details on using hashes here.

Provenance

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