Skip to main content

A package for processing M11 protocol documents and converting them to USDM format

Project description

USDM4 M11 Protocol Package

A Python package for processing M11 protocol documents and converting them to USDM format.

Installation

pip install -e .

Or install the dependencies directly from the requirements.txt file:

pip install -r requirements.txt

This package uses a src-based layout, with the package code located in the src/usdm4_m11 directory.

Usage

from usdm4_m11 import M11Protocol

# Initialize the protocol processor
protocol = M11Protocol(filepath="path/to/m11_protocol.docx", system_name="YourSystem", system_version="1.0.0")

# Process the protocol
await protocol.process()

# Convert to USDM format
usdm_data = protocol.to_usdm()

Build

Build as a normal package

  • Build with python3 -m build --sdist --wheel
  • Upload to pypi.org using twine upload dist/*

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

usdm4_m11-0.3.1.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

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

usdm4_m11-0.3.1-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

Details for the file usdm4_m11-0.3.1.tar.gz.

File metadata

  • Download URL: usdm4_m11-0.3.1.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for usdm4_m11-0.3.1.tar.gz
Algorithm Hash digest
SHA256 5b0ecc21ed3fc330e31aaa974f7733051d42937b2aae8f3000c1f897dbaab9df
MD5 333da69b1c992fbb8ed392b052b98976
BLAKE2b-256 f6936604aaba1fc0a686aaf22166ca0fd60c5445287d852f3da1ae31ea4369fe

See more details on using hashes here.

File details

Details for the file usdm4_m11-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: usdm4_m11-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 16.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for usdm4_m11-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a39dc7d76e5696998d669549fee6c5c4b592cf8ddc6877bcc47d76e00db7dae8
MD5 b67e0c6c02edad9039be1cd32f9b7b52
BLAKE2b-256 f75e562da7c515d7ed38c7aa453946e7ebfcdec7b1f5ee1c5c70e519db5521c4

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