Streamlined Data Transformation to OMOP
Carrot Transform automates data transformation processes and facilitates the standardisation of datasets to the OMOP vocabulary, simplifying the integration of diverse data sources.
Carrot Mapper is a webapp which allows the user to use the metadata (as output by WhiteRabbit) from a dataset to produce mapping rules to the OMOP standard, in the JSON format. These can be ingested by Carrot Transform to perform the mapping of the contents of the dataset to OMOP.
Carrot Transform transforms input data into tab separated variable files of standard OMOP tables, with concepts mapped according to the provided rules (generated from Carrot Mapper).
Quick Start for Developers
To have the project up and running, please follow the Quick Start Guide.
Release Procedure
To release a new version of carrot-transform follow these steps:
1. Prepare the repository
- First ensure that repository is clean and all required changes have been merged.
- Pull the latest changes from
mainwithgit pull origin main.
2. Create a release branch
- Now create a new feature branch name
release/v<NEW-VERSION>(e.g.release/v0.2.0).
3. Update the version number
- Use poetry to bump the version. For example, for a minor version update invoke:
poetry version minor
- Commit and push the changes (to the release feature branch):
NEW_VERSION=$(poetry version -s)
git add pyproject.toml
git commit -m "Bump version to $NEW_VERSION"
git push --set-upstream origin release/v$NEW_VERSION
4. Create pull request
- Open a pull request from
release/v$NEW_VERSIONtomainand await approval.
5. Merge and tag
- After approval merge the the feature branch to
main. - Checkout to
main, pull updates, and create a tag corresponding to the new version number.
git checkout main
git pull origin main
git tag -a "$NEW_VERSION" -m "Release $NEW_VERSION"
git push origin "$NEW_VERSION"
6. Create a release
- We must now link the tag to a release in the GitHub repository. To do this from the command line first install GitHub command line tools
ghand then invoke:
gh release create "$TAG" --title "$TAG" --notes "Release for $VERSION"
- Alternatively, follow the instructions in the GitHub documentation to manually create a release.
License
This repository's source code is available under the MIT license.
Metadata
Release files for carrot-transform 0.3.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| carrot_transform-0.3.4.tar.gz | 163.4 kB | With provenance | Details for carrot_transform-0.3.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| carrot_transform-0.3.4-py3-none-any.whl | Python 3 | none | any | Details for carrot_transform-0.3.4-py3-none-any.whl |
Total release size: 328.3 kB
Release files / carrot_transform-0.3.4.tar.gz
| Download URL | carrot_transform-0.3.4.tar.gz |
|---|---|
| Size | 163.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
120e93472eb5cea6e7013d3e54e3ba2cb23817d3001f9e15c86c5729b0376de8
|
|
BLAKE2b-256 checksum How to use checksums |
80ce819446ea881f9552a9582756782fb491c3f96dcd552a22587e9668317bb1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 7, 2025.
Transparency logRelease files / carrot_transform-0.3.4-py3-none-any.whl
| Download URL | carrot_transform-0.3.4-py3-none-any.whl |
|---|---|
| Size | 164.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
007a71abe2700577eb857c02f4993ab9ff31004342b9274ae302d2d34b6d4aa0
|
|
BLAKE2b-256 checksum How to use checksums |
c6ffd7a7d066397fa8c31bba870d456e06959bf8caebd15d88d762a0e2646fe9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 7, 2025.
Transparency logSecurity for carrot-transform 0.3.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for carrot_transform-0.3.4.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 7, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.