Add your description here
Project description
omop_semantics
omop_semantics is a Python library for defining and managing semantic conventions on top of OMOP CDM.
It lets you describe conventions in code
- which OMOP concepts you want to have on hand as named key concepts to improve ergonomics in analytic code,
- how they are grouped,
- what roles they play
- and provide profiles to render these targets uniformly into CDM tables.
The goal is to make these conventions explicit, versioned, and reusable, instead of being buried in code, SQL, or documentation. They are also extensible so that you can add opinionated layers on top of default specifications that may be relevant in a domain-specific context only.
Key ideas
-
Human-authored
Semantic rules and concept groups are written in YAML and validated with schemas. -
Portable
No database or graph store required. -
Versionable
Conventions can evolve over time and be tracked in git. -
Integrates with pipelines
Can drive ETL logic, validation, and documentation so they stay in sync.
Typical workflow
-
Define a schema
Describes what kinds of semantic objects and roles exist (e.g. staging, modifiers). -
Write YAML instances
Lists actual OMOP concepts and groups used in your project. -
Load a runtime registry
This gives you a programmatic API to query concepts, groups, and relationships. -
Use it in code
For validation, cohort logic, ETL constraints, or documentation.
When should you use this?
Use omop_semantics if you:
- have project-specific rules about which OMOP concepts are valid,
- need consistent concept groupings across ETL and analytics,
- want semantic conventions to be explicit, testable, and versioned,
- are working in domains like oncology where OMOP alone is too permissive.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file omop_semantics-0.1.11.tar.gz.
File metadata
- Download URL: omop_semantics-0.1.11.tar.gz
- Upload date:
- Size: 40.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7b4c2e0cb1b6acfa18ce66fbd625f27cae615483076c54cb28e76d98749648f
|
|
| MD5 |
b2cbd956947c1ac28607ed3966138350
|
|
| BLAKE2b-256 |
08af30e09446fb154379c4baaf9e41dcfcb3d29e4e33316547391442577e6f05
|
Provenance
The following attestation bundles were made for omop_semantics-0.1.11.tar.gz:
Publisher:
python-publish.yml on AustralianCancerDataNetwork/OMOP_Semantics
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
omop_semantics-0.1.11.tar.gz -
Subject digest:
b7b4c2e0cb1b6acfa18ce66fbd625f27cae615483076c54cb28e76d98749648f - Sigstore transparency entry: 980982947
- Sigstore integration time:
-
Permalink:
AustralianCancerDataNetwork/OMOP_Semantics@dac32e02ad615bc059961bb4ee05af36449c39c6 -
Branch / Tag:
refs/tags/0.1.11 - Owner: https://github.com/AustralianCancerDataNetwork
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@dac32e02ad615bc059961bb4ee05af36449c39c6 -
Trigger Event:
release
-
Statement type:
File details
Details for the file omop_semantics-0.1.11-py3-none-any.whl.
File metadata
- Download URL: omop_semantics-0.1.11-py3-none-any.whl
- Upload date:
- Size: 65.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d4611bc32e1e81c2504bdc5ca55bb4238d5ba9c0d3e5998ef8d95518a095ae7
|
|
| MD5 |
908fd3c8b953505ed08f5b1b78a340b2
|
|
| BLAKE2b-256 |
ee160c055899341674604d3c617b176f4dfc65bf561ace48598bca337b85ce28
|
Provenance
The following attestation bundles were made for omop_semantics-0.1.11-py3-none-any.whl:
Publisher:
python-publish.yml on AustralianCancerDataNetwork/OMOP_Semantics
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
omop_semantics-0.1.11-py3-none-any.whl -
Subject digest:
1d4611bc32e1e81c2504bdc5ca55bb4238d5ba9c0d3e5998ef8d95518a095ae7 - Sigstore transparency entry: 980982998
- Sigstore integration time:
-
Permalink:
AustralianCancerDataNetwork/OMOP_Semantics@dac32e02ad615bc059961bb4ee05af36449c39c6 -
Branch / Tag:
refs/tags/0.1.11 - Owner: https://github.com/AustralianCancerDataNetwork
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@dac32e02ad615bc059961bb4ee05af36449c39c6 -
Trigger Event:
release
-
Statement type: