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 a Duckdb database created from the CSV export available in the exportToCsv function.

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.1.tar.gz (4.8 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.1-py3-none-any.whl (4.9 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyeunomia-0.1.1.tar.gz
  • Upload date:
  • Size: 4.8 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.1.tar.gz
Algorithm Hash digest
SHA256 08a6b319ff876a92d205e12691503c71e6e4d6ada522558d4d69eb90b06ad538
MD5 940a815eb7d402147bba4516d40f92ca
BLAKE2b-256 2e4786689e2096c9c78a4b96a1cdcb975d601653f706db505bc1d89cd9156f35

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyeunomia-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 24c2e7df73af6cb39f9720a0c92d7ea284fa434c0340e4f26d8ad0a75a779342
MD5 8c6df3baf3967579be5fe5ebb740a1bc
BLAKE2b-256 2ffeb613da1c3eacbc1dfadd0aedd7c70b224cb081bf77e2e7443433c4fb386b

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