Skip to main content

XML to Ogl Object Model

Project description

CircleCI

CircleCI Maintenance

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.v10.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


Written by Humberto A. Sanchez II (C) 2023

Note

For all kind of problems, requests, enhancements, bug reports, etc., please drop me an e-mail.

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.

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

Uploaded Source

Built Distribution

untanglepyut-1.2.5-py3-none-any.whl (32.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: untanglepyut-1.2.5.tar.gz
  • Upload date:
  • Size: 29.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for untanglepyut-1.2.5.tar.gz
Algorithm Hash digest
SHA256 af823b92d922cf405eff9c33922b81420c52f35fbc2064220c9fb1577a1622a2
MD5 b5f6a3999c05ce3a8cd9b1f2a014051f
BLAKE2b-256 5d8ec475ebd84b941179b6fd0dafb315cf963dbc8774dc9568bd73a4ffa7abbc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: untanglepyut-1.2.5-py3-none-any.whl
  • Upload date:
  • Size: 32.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for untanglepyut-1.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8db768e569a79a9eb8908248630ee7bc0493dad8127b3651185ed0b4ff885e51
MD5 df621b9b8f74c50aa8a6b7591c951779
BLAKE2b-256 85d834160021c448372a40436e95132ab58cf4fb27c971f9de3211277267c3d3

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