Skip to main content

XML to Ogl Object Model

Project description

CircleCI

CircleCI Maintenance PyPI version

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.Types import Document
from untanglepyut.Types import DocumentTitle

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

from untanglepyut.UnTangler import UnTangler

fqFileName: str = 'MultiLinkDocument.xml'
untangler: UnTangler = UnTangler()

untangler.untangleFile(fqFileName=fqFileName)

document: Document = untangler.documents[DocumentTitle('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


Developer Notes

This project uses buildlackey for day to day development builds

Note

For all kind of problems, requests, enhancements, bug reports, etc., please drop me an e-mail. Written by Humberto A. Sanchez II (C) 2025


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.

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-2.7.0.tar.gz (33.2 kB view details)

Uploaded Source

Built Distribution

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

untanglepyut-2.7.0-py3-none-any.whl (37.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: untanglepyut-2.7.0.tar.gz
  • Upload date:
  • Size: 33.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for untanglepyut-2.7.0.tar.gz
Algorithm Hash digest
SHA256 1035cc9a9f004d3cc290d8f33964aacd7f27d282bbd09d71342babe2f7a19ef4
MD5 bd2227c2533681d1d0fbd3d824b365a0
BLAKE2b-256 16069c6df5bca9d7e17f3ae8df2002e276c487e1ac5fead782e1b4f9962110dc

See more details on using hashes here.

Provenance

The following attestation bundles were made for untanglepyut-2.7.0.tar.gz:

Publisher: python-publish.yml on hasii2011/untanglepyut

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: untanglepyut-2.7.0-py3-none-any.whl
  • Upload date:
  • Size: 37.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for untanglepyut-2.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 248980381071689d9c8e93deca4e29722545ebaba262c97d14e98efa36339565
MD5 99f77c8de82eecfc45aa07b3573a9c95
BLAKE2b-256 d5216cc719cf7e4bbf3a2b20fa2ab0b3b97eaabc5b148f0a2e454d7f4b5608df

See more details on using hashes here.

Provenance

The following attestation bundles were made for untanglepyut-2.7.0-py3-none-any.whl:

Publisher: python-publish.yml on hasii2011/untanglepyut

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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