Shape, convert, summarize and analyse MIDOM deidentification Protocols
Project description
MIDOM Toolbox
Shape, convert, summarize and analyse MIDOM deidentification Protocols.
⚠️ Major version 0. Not feature complete. Still testing out the interface
- Works with MIDOM Protocols (https://pypi.org/project/midom/)
- Converts to CTP scripts
- Generates summaries
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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02faafae8007f7af29004ddc468e426e2281b0590849743087923917a10994d8
|
|
| MD5 |
c81283540b1cba703d317ceca1da98b1
|
|
| BLAKE2b-256 |
11cabab82146ad4ff7dd885cd2fc8a4485f250bb8370cee9effee53798742467
|
File details
Details for the file midomtoolbox-0.2.0-py3-none-any.whl.
File metadata
- Download URL: midomtoolbox-0.2.0-py3-none-any.whl
- Upload date:
- Size: 38.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b232337a2e6952829d4a363a80dc6863cc9e564a1912acf2e8636b2b8da40868
|
|
| MD5 |
de2c25c0decfc55d817628deb9525b00
|
|
| BLAKE2b-256 |
1fe7c389debca5fff6f3e5a0b7157633d6d3a256905f8fa116c161767fa01d22
|