Skip to main content

A standard dataset in the OMOP (Observational Medical Outcomes Partnership) Common Data Model (CDM) for testing and demonstration purposes

Project description

pyeunomia

Eunomia is a standard dataset in the OMOP (Observational Medical Outcomes Partnership) Common Data Model (CDM) for testing and demonstration purposes. Eunomia is used for many of the exercises in the Book of OHDSI.

This library is just a simple wrapper for the SQLite Eunomia database.

Usage

The connect() method returns a SQL interface compliant with the DB-API 2.0 specification described by PEP 249.

import pyeunomia
conn = pyeunomia.Eunomia().connect()
cur = conn.execute("select count(*) from person")
cur.fetchone()
(2694,)
conn.close()

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

pyeunomia-0.1.0.tar.gz (8.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyeunomia-0.1.0-py3-none-any.whl (8.1 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyeunomia-0.1.0.tar.gz
  • Upload date:
  • Size: 8.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.12.4 CPython/3.10.12

File hashes

Hashes for pyeunomia-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5e60ea34b8b2413a9b4dec7016659af19331deee66dc03ea69e3d918c368e845
MD5 ee164d3fc40573b8c652135cc47b1354
BLAKE2b-256 ee81fe82bca57c436eadff28446bbbd051d3ab0a9a9083a925b9a599c39cba1a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyeunomia-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.12.4 CPython/3.10.12

File hashes

Hashes for pyeunomia-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9a350c5bd811e44e453cd2c48842a3e0b0b5b411edfa45c7545283f3ce5509ec
MD5 5d69f4175e90ae565db9cfe5b68591f8
BLAKE2b-256 0c2c0f2aaa4c69f913e9926dd054910c72eed46e09c33992aa25363cb98e1a22

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