Skip to main content

CollectionGraphQL service for exposing OMOP CDM records.

Project description

GraphQL service for exposing OMOP CDM records.

Exported scripts

  • load-omop-cdm-db-records

  • run-omop-cdm-graphql-app

Step 1 - Create Python virtual environment

python3 -m venv venv

Step 2 - Activate Python virtual environment

source venv/bin/activate

Step 3 - Install

pip install omop-cdm-graphql

Step 4 - Update the configuration file

---
port: 8081
url: http://localhost
database_file: /tmp/omop-cdm-graphql/omop-cdm-v1.db

Step 5 - Copy configuration file to launch directory

cp venv/lib/python3.10/site-packages/omop_cdm_graphql/conf/config.yaml .

Step 6 - Load the database

Run the loader to load mock records.

load-omop-cdm-db-records

Step 7 - Run the app

run-omop-cdm-graphql-app

Step 8 - Open browser

http://localhost:8080/graphql

References

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_graphql-0.2.0.tar.gz (15.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_graphql-0.2.0-py2.py3-none-any.whl (11.4 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: omop_cdm_graphql-0.2.0.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for omop_cdm_graphql-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a5fe1d93b05c1778eb64e3d3af9849421e3ad7356842abb9eae838816923abc2
MD5 0deb3da95712d8ea1b5a337c97f8f299
BLAKE2b-256 d90177a788b8de38149207d6b7c9a98229345e05755b79b08ec26318bc3c44be

See more details on using hashes here.

File details

Details for the file omop_cdm_graphql-0.2.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for omop_cdm_graphql-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 cb5ac90827ba1f13d80b003c7c415d329af903ec9a20e3a8315c5eb8c5fb15a9
MD5 39c39e445fc28fa0e123de78a6d5c369
BLAKE2b-256 d355541e8a8582093806eddad379594dc65430d7ef30fcc0cf6dd2e8cc96ef28

See more details on using hashes here.

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