Skip to main content

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()

Metadata

Release files for pyeunomia 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyeunomia 0.1.1
File Size Uploaded
pyeunomia-0.1.1.tar.gz 4.8 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyeunomia 0.1.1
File Interpreter ABI Platform
pyeunomia-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 9.7 MB

Release files / pyeunomia-0.1.1.tar.gz

Download URL pyeunomia-0.1.1.tar.gz
Size 4.8 MB
Tags Source
SHA-256 checksum
How to use checksums
08a6b319ff876a92d205e12691503c71e6e4d6ada522558d4d69eb90b06ad538
BLAKE2b-256 checksum
How to use checksums
2e4786689e2096c9c78a4b96a1cdcb975d601653f706db505bc1d89cd9156f35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.12.4 CPython/3.10.12

Release files / pyeunomia-0.1.1-py3-none-any.whl

Download URL pyeunomia-0.1.1-py3-none-any.whl
Size 4.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
24c2e7df73af6cb39f9720a0c92d7ea284fa434c0340e4f26d8ad0a75a779342
BLAKE2b-256 checksum
How to use checksums
2ffeb613da1c3eacbc1dfadd0aedd7c70b224cb081bf77e2e7443433c4fb386b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.12.4 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page