![](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": null,
"name": "untanglepyut",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": "\"Humberto A. Sanchez II\" <Humbert.A.Sanchez.II@gmail.com>",
"keywords": "pyut, graphical shapes, python, xml",
"author": null,
"author_email": "\"Humberto A. Sanchez II\" <Humbert.A.Sanchez.II@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/ca/b8/dc8f165720624f75aac32a4e46404b0b884a4813cb1657d5477678344c73/untanglepyut-2.6.1.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.6.1",
"project_urls": {
"Repository": "https://github.com/hasii2011/untanglepyut"
},
"split_keywords": [
"pyut",
" graphical shapes",
" python",
" xml"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "455bfe5300c07a38d8f54f66f3addad34c98b89f12ef9aa7c7f0c7713285f9c7",
"md5": "f240a8d3363a598f32ef9abc4674e39b",
"sha256": "e86b5f80c45a868917078f4b2435d2c51dd479559ecf2cabc1db27792c758376"
},
"downloads": -1,
"filename": "untanglepyut-2.6.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f240a8d3363a598f32ef9abc4674e39b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 36195,
"upload_time": "2024-12-14T21:16:22",
"upload_time_iso_8601": "2024-12-14T21:16:22.607128Z",
"url": "https://files.pythonhosted.org/packages/45/5b/fe5300c07a38d8f54f66f3addad34c98b89f12ef9aa7c7f0c7713285f9c7/untanglepyut-2.6.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "cab8dc8f165720624f75aac32a4e46404b0b884a4813cb1657d5477678344c73",
"md5": "4582a7e3d8997888c975e1943e57cb7e",
"sha256": "712a23a5eb1b7f88985d82f4d31e5b69f3ca1bb5cce25ed85f3046a77b1ba24b"
},
"downloads": -1,
"filename": "untanglepyut-2.6.1.tar.gz",
"has_sig": false,
"md5_digest": "4582a7e3d8997888c975e1943e57cb7e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 31627,
"upload_time": "2024-12-14T21:16:25",
"upload_time_iso_8601": "2024-12-14T21:16:25.120441Z",
"url": "https://files.pythonhosted.org/packages/ca/b8/dc8f165720624f75aac32a4e46404b0b884a4813cb1657d5477678344c73/untanglepyut-2.6.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-14 21:16:25",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "hasii2011",
"github_project": "untanglepyut",
"travis_ci": true,
"coveralls": false,
"github_actions": false,
"circle": true,
"requirements": [
{
"name": "wheel",
"specs": [
[
"==",
"0.45.1"
]
]
},
{
"name": "setuptools",
"specs": [
[
"==",
"75.6.0"
]
]
},
{
"name": "twine",
"specs": [
[
"==",
"6.0.1"
]
]
},
{
"name": "build",
"specs": [
[
"==",
"1.2.2.post1"
]
]
},
{
"name": "html-testRunner",
"specs": [
[
"~=",
"1.2.1"
]
]
},
{
"name": "buildlackey",
"specs": [
[
"==",
"1.7.0"
]
]
},
{
"name": "mypy",
"specs": [
[
"==",
"1.13.0"
]
]
},
{
"name": "mypy-extensions",
"specs": [
[
">=",
"1.0.0"
]
]
},
{
"name": "typing_extensions",
"specs": [
[
"==",
"4.12.2"
]
]
},
{
"name": "untangle",
"specs": [
[
"==",
"1.2.1"
]
]
},
{
"name": "codeallybasic",
"specs": [
[
">=",
"1.7.0"
]
]
},
{
"name": "codeallyadvanced",
"specs": [
[
">=",
"1.3.2"
]
]
},
{
"name": "pyutmodelv2",
"specs": [
[
"==",
"2.2.0"
]
]
},
{
"name": "ogl",
"specs": [
[
">=",
"3.6.0"
]
]
}
],
"lcname": "untanglepyut"
}