Skip to main content

Python client for generating Ex format model descriptions from MBF XML.

Project description

This program converts MBF XML to Ex format suitable for CMLibs-Zinc.

Install

pip install mbfxml2ex

Usage

mbfxml2exconverter /path/to/input.xml

For more information use the help:

mbfxml2exconverter --help

Developing

When developing install the required packages for running the tests with:

pip install .[test]

Then run the tests with:

nosetests

from the repository root directory.

To see the coverage statistics for the package run:

nosetests --with-coverage --cover-package=mbfxml2ex

For a nice HTML rendering of the coverage statistics run:

nosetests --with-coverage --cover-package=mbfxml2ex --cover-html

To view the HTML coverage output:

cd cover
python -m http.server 9432

Then, in a web browser navigate to http://localhost:9432

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

mbfxml2ex-0.6.0.tar.gz (18.6 kB view details)

Uploaded Source

File details

Details for the file mbfxml2ex-0.6.0.tar.gz.

File metadata

  • Download URL: mbfxml2ex-0.6.0.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.16

File hashes

Hashes for mbfxml2ex-0.6.0.tar.gz
Algorithm Hash digest
SHA256 afe1165e6b69ec352d944303c73a9b6241009ed11e8442bcfe1a16c6c49296eb
MD5 b7f715afe715af6da03c884a2b2517aa
BLAKE2b-256 cdb6fb58664a2d777a087b34ed94e90af478167163459213710d794b2c3aef8d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page