Skip to main content

XML to Ogl Object Model

Project description

Build Status Maintenance macOS

forthebadge made-with-python

This project is intended to be used by Pyut Plugin developers to convert Pyut XML files to the Ogl Model classes. These model classes can then be used by the Pyut UI to display as UML Diagrams.


Use as follows:

from untanglepyut.UnTangler import Document
from untanglepyut.UnTangler import UnTangler

from untanglepyut.Types import UntangledOglClasses
from untanglepyut.Types import UntangledOglLinks
from untanglepyut.Types import UntangledOglNotes
from untanglepyut.Types import UntangledOglTexts

untangler: UnTangler = UnTangler(fqFileName='MultiDocumentProject.xml')

document: Document = untangler.documents['Diagram-1']

oglClasses: UntangledOglClasses = document.oglClasses
oglLinks:   UntangledOglLinks   = document.oglLinks
oglNotes:   UntangledOglNotes   = document.oglNotes
oglTexts:   UntangledOglTexts   = document.oglTexts

The following is the UML diagram for the Pyut Untangler

UntanglePyut


Humberto's Modified Logo

I am concerned about GitHub's Copilot project

I urge you to read about the Give up GitHub campaign from the Software Freedom Conservancy.

While I do not advocate for all the issues listed there I do not like that a company like Microsoft may profit from open source projects.

I continue to use GitHub because it offers the services I need for free. But, I continue to monitor their terms of service.

Any use of this project's code by GitHub Copilot, past or present, is done without my permission. I do not consent to GitHub's use of this project's code in Copilot.

A repository owner may opt out of Copilot by changing Settings --> GitHub Copilot.

I have done so.

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

untanglepyut-0.5.0.tar.gz (27.2 kB view details)

Uploaded Source

Built Distribution

untanglepyut-0.5.0-py3-none-any.whl (29.3 kB view details)

Uploaded Python 3

File details

Details for the file untanglepyut-0.5.0.tar.gz.

File metadata

  • Download URL: untanglepyut-0.5.0.tar.gz
  • Upload date:
  • Size: 27.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for untanglepyut-0.5.0.tar.gz
Algorithm Hash digest
SHA256 c4c94d910e26122a6e010711c93276b345b69aeaa6d9e7a7f7593a1dc2115172
MD5 a0d9e96541574c05ff13f7dc8281f9f6
BLAKE2b-256 c9192e67a2cd8f534669b7a598533853d3126f5b7aeb80cd44da95b322f3422e

See more details on using hashes here.

File details

Details for the file untanglepyut-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: untanglepyut-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 29.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for untanglepyut-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1a406fbb97496955044dd05c32b70bbec8e1b96699cfe4c779981f0b13978a04
MD5 1d71da7985fae29a19ebc9439c927fa2
BLAKE2b-256 fd04865e936a83e23b81dfee5ee09216619ed66f0a2dc224fb9c93cd352a73c4

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