Skip to main content

Shape, convert, summarize and analyse MIDOM deidentification Protocols

Project description

MIDOM Toolbox

CI PyPI PyPI - Python Version Code style: black Checked with mypy

Shape, convert, summarize and analyse MIDOM deidentification Protocols.

⚠️ Major version 0. Not feature complete. Still testing out the interface

installation

pip install midomtoolbox

usage

To take a MIDOM protocol json file and render to markup format:

from midom.components import Protocol    
from midomtoolbox.render import render_protocol

# load protocol
with open("/tmp/ctp_pipeline.json") as f:
    protocol = Protocol.model_validate_json(f.read())

# render
with open("/tmp/output.md", "w") as f:
    f.write(render_protocol(protocol))

For other examples, see /examples

planned features

  • Characterizes according to protocol taxonomy
  • Wizzard-based Protocol generation

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

midomtoolbox-0.2.0.tar.gz (39.1 kB view details)

Uploaded Source

Built Distribution

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

midomtoolbox-0.2.0-py3-none-any.whl (38.5 kB view details)

Uploaded Python 3

File details

Details for the file midomtoolbox-0.2.0.tar.gz.

File metadata

  • Download URL: midomtoolbox-0.2.0.tar.gz
  • Upload date:
  • Size: 39.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.22

File hashes

Hashes for midomtoolbox-0.2.0.tar.gz
Algorithm Hash digest
SHA256 02faafae8007f7af29004ddc468e426e2281b0590849743087923917a10994d8
MD5 c81283540b1cba703d317ceca1da98b1
BLAKE2b-256 11cabab82146ad4ff7dd885cd2fc8a4485f250bb8370cee9effee53798742467

See more details on using hashes here.

File details

Details for the file midomtoolbox-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for midomtoolbox-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b232337a2e6952829d4a363a80dc6863cc9e564a1912acf2e8636b2b8da40868
MD5 de2c25c0decfc55d817628deb9525b00
BLAKE2b-256 1fe7c389debca5fff6f3e5a0b7157633d6d3a256905f8fa116c161767fa01d22

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