Skip to main content

OpenITI mARkdown Parser

Project description

oimdp: OpenITI mARkdown Parser

This Python library will parse an OpenITI mARkdown document and return a python class representation of the document structures.


import oimdp

md_file = open("mARkdownfile", "r")
text =
parsed = oimdp.parse(text)

Parsed structure

Please see the docs, but here are some highlights:

Document API

content: a list of content structures

get_clean_text(): get the text stripped of markup

Content structures

Content classes contain an original value from the document and some extracted content such as a text string or a specific value.

Most other structures are listed in sequence (e.g. a Paragraph is followed by a Line).

Line objects and other line-level structures are divided in PhrasePart objects.

PhrasePart are phrase-level tags


Set up a virtual environment with venv

python3 -m venv .env

Activate the virtual environment

source .env/bin/activate


python install


With the environment activated:

python tests/

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

oimdp-1.0.0.tar.gz (7.0 kB view hashes)

Uploaded source

Built Distribution

oimdp-1.0.0-py3.8.egg (16.2 kB view hashes)

Uploaded 1 0 0

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page