Skip to main content

GraphQL 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.3.0.tar.gz (15.4 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.3.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.3.0.tar.gz.

File metadata

  • Download URL: omop_cdm_graphql-0.3.0.tar.gz
  • Upload date:
  • Size: 15.4 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.3.0.tar.gz
Algorithm Hash digest
SHA256 04004a0518d60bad1b5c627b26193fde9df04ebd9ac32bbbc2cc51f5b944996a
MD5 c81a169db2044f950726afea86acecf2
BLAKE2b-256 e63a5a356863cd6ffcb9b7acc07b83d22047166b3fdfde84b145c2dbe10c678f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for omop_cdm_graphql-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a8d9731954231b506f2e9a4106f92b4a5c30400e35417f3442e835c7a18b2087
MD5 e5fae32a951a3e3965a5d0b0882f1c9c
BLAKE2b-256 fb7abc0c16d0b0d43483d26002884157c1fc534d3f2ff03f4f758f58edd01d99

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