![](https://github.com/hasii2011/code-ally-basic/blob/master/developer/agpl-license-web-badge-version-2-256x48.png "AGPL")
[![CircleCI](https://dl.circleci.com/insights-snapshot/gh/hasii2011/untanglepyut/master/main/badge.svg?window=30d)](https://app.circleci.com/insights/github/hasii2011/untanglepyut/workflows/main/overview?branch=master&reporting-window=last-30-days&insights-snapshot=true)
[![CircleCI](https://dl.circleci.com/status-badge/img/gh/hasii2011/untanglepyut/tree/master.svg?style=shield)](https://dl.circleci.com/status-badge/redirect/gh/hasii2011/untanglepyut/tree/master)
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity)
[![PyPI version](https://badge.fury.io/py/untanglepyut.svg)](https://badge.fury.io/py/untanglepyut)
This project is intended to be used by [Pyut Plugin](https://github.com/hasii2011/pyutplugincore) developers to convert [Pyut](https://github.com/hasii2011/PyUt) XML files to the [Ogl Model](https://github.com/hasii2011/ogl) classes. These model classes can then be used by the Pyut UI to display as UML Diagrams.
------
Use as follows:
```python
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](https://github.com/hasii2011/untanglepyut/blob/master/docs/UntanglePyut.png)
___
## Developer Notes
This project uses [buildlackey](https://github.com/hasii2011/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 <a href="mailto:email@humberto.a.sanchez.ii@gmail.com?subject=Hello Humberto">Humberto A. Sanchez II</a> (C) 2023
---
I am concerned about GitHub's Copilot project
![](https://github.com/hasii2011/code-ally-basic/blob/master/developer/SillyGitHub.png)
I urge you to read about the
[Give up GitHub](https://GiveUpGitHub.org) campaign from
[the Software Freedom Conservancy](https://sfconservancy.org).
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.
Raw data
{
"_id": null,
"home_page": "",
"name": "untanglepyut",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "\"Humberto A. Sanchez II\" <Humbert.A.Sanchez.II@gmail.com>",
"keywords": "pyut,graphical shapes,python,xml",
"author": "",
"author_email": "\"Humberto A. Sanchez II\" <Humbert.A.Sanchez.II@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/8a/0b/f854dc3e7362ea901bb96d36d044a40d825cd112af46f049ac38f51ad132/untanglepyut-2.1.7.tar.gz",
"platform": null,
"description": "![](https://github.com/hasii2011/code-ally-basic/blob/master/developer/agpl-license-web-badge-version-2-256x48.png \"AGPL\")\n\n[![CircleCI](https://dl.circleci.com/insights-snapshot/gh/hasii2011/untanglepyut/master/main/badge.svg?window=30d)](https://app.circleci.com/insights/github/hasii2011/untanglepyut/workflows/main/overview?branch=master&reporting-window=last-30-days&insights-snapshot=true)\n\n[![CircleCI](https://dl.circleci.com/status-badge/img/gh/hasii2011/untanglepyut/tree/master.svg?style=shield)](https://dl.circleci.com/status-badge/redirect/gh/hasii2011/untanglepyut/tree/master)\n[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity)\n[![PyPI version](https://badge.fury.io/py/untanglepyut.svg)](https://badge.fury.io/py/untanglepyut)\n\nThis project is intended to be used by [Pyut Plugin](https://github.com/hasii2011/pyutplugincore) developers to convert [Pyut](https://github.com/hasii2011/PyUt) XML files to the [Ogl Model](https://github.com/hasii2011/ogl) classes. These model classes can then be used by the Pyut UI to display as UML Diagrams.\n\n------\n\nUse as follows:\n\n```python\nfrom untanglepyut.Types import Document\nfrom untanglepyut.Types import DocumentTitle\n\nfrom untanglepyut.Types import UntangledOglClasses\nfrom untanglepyut.Types import UntangledOglLinks\nfrom untanglepyut.Types import UntangledOglNotes\nfrom untanglepyut.Types import UntangledOglTexts\n\nfrom untanglepyut.UnTangler import UnTangler\n\nfqFileName: str = 'MultiLinkDocument.xml'\nuntangler: UnTangler = UnTangler()\n\nuntangler.untangleFile(fqFileName=fqFileName)\n\ndocument: Document = untangler.documents[DocumentTitle('Diagram-1')]\n\noglClasses: UntangledOglClasses = document.oglClasses\noglLinks: UntangledOglLinks = document.oglLinks\noglNotes: UntangledOglNotes = document.oglNotes\noglTexts: UntangledOglTexts = document.oglTexts\n\n```\n\n\n\nThe following is the UML diagram for the Pyut Untangler\n\n![UntanglePyut](https://github.com/hasii2011/untanglepyut/blob/master/docs/UntanglePyut.png)\n\n\n___\n\n## Developer Notes\nThis project uses [buildlackey](https://github.com/hasii2011/buildlackey) for day to day development builds\n\n\n## Note\nFor all kind of problems, requests, enhancements, bug reports, etc.,\nplease drop me an e-mail.\nWritten by <a href=\"mailto:email@humberto.a.sanchez.ii@gmail.com?subject=Hello Humberto\">Humberto A. Sanchez II</a> (C) 2023\n\n\n\n---\nI am concerned about GitHub's Copilot project\n\n![](https://github.com/hasii2011/code-ally-basic/blob/master/developer/SillyGitHub.png)\n\nI urge you to read about the\n[Give up GitHub](https://GiveUpGitHub.org) campaign from\n[the Software Freedom Conservancy](https://sfconservancy.org).\n\nWhile I do not advocate for all the issues listed there I do not like that\na company like Microsoft may profit from open source projects.\n\nI continue to use GitHub because it offers the services I need for free. But, I continue\nto monitor their terms of service.\n\nAny use of this project's code by GitHub Copilot, past or present, is done\nwithout my permission. I do not consent to GitHub's use of this project's\ncode in Copilot.\n",
"bugtrack_url": null,
"license": "GNU AFFERO GENERAL PUBLIC LICENSE",
"summary": "XML to Ogl Object Model",
"version": "2.1.7",
"project_urls": {
"Repository": "https://github.com/hasii2011/untanglepyut"
},
"split_keywords": [
"pyut",
"graphical shapes",
"python",
"xml"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3947f856bcc928202545a46f94433ca2ac79021643d34e2529a5d029f7b22f99",
"md5": "e2543724ecf38614b9ae231c6ee21123",
"sha256": "152567ee861c00380d2558b0d2ced5f9d5acf6e9e9ceb88d1e3d77b4128547f4"
},
"downloads": -1,
"filename": "untanglepyut-2.1.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e2543724ecf38614b9ae231c6ee21123",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 36010,
"upload_time": "2024-03-10T18:20:51",
"upload_time_iso_8601": "2024-03-10T18:20:51.738653Z",
"url": "https://files.pythonhosted.org/packages/39/47/f856bcc928202545a46f94433ca2ac79021643d34e2529a5d029f7b22f99/untanglepyut-2.1.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8a0bf854dc3e7362ea901bb96d36d044a40d825cd112af46f049ac38f51ad132",
"md5": "120b0b27cd7bf5733953ef4dd4ba2d64",
"sha256": "5ffb954815401a878b7c948efd59c0d14cbb13302a80802da6776beb31d308bd"
},
"downloads": -1,
"filename": "untanglepyut-2.1.7.tar.gz",
"has_sig": false,
"md5_digest": "120b0b27cd7bf5733953ef4dd4ba2d64",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 31315,
"upload_time": "2024-03-10T18:20:54",
"upload_time_iso_8601": "2024-03-10T18:20:54.031548Z",
"url": "https://files.pythonhosted.org/packages/8a/0b/f854dc3e7362ea901bb96d36d044a40d825cd112af46f049ac38f51ad132/untanglepyut-2.1.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-10 18:20:54",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "hasii2011",
"github_project": "untanglepyut",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"circle": true,
"requirements": [],
"lcname": "untanglepyut"
}