untanglepyut


Nameuntanglepyut JSON
Version 2.7.0 PyPI version JSON
download
home_pageNone
SummaryXML to Ogl Object Model
upload_time2025-02-09 20:36:12
maintainerNone
docs_urlNone
authorNone
requires_pythonNone
licenseGNU AFFERO GENERAL PUBLIC LICENSE
keywords pyut graphical shapes python xml
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            ![](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](./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) 2025



---
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/16/06/9c6df5bca9d7e17f3ae8df2002e276c487e1ac5fead782e1b4f9962110dc/untanglepyut-2.7.0.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](./docs/UntanglePyut.png)\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) 2025\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 a 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 to monitor their terms of service.\n\nAny 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.\n",
    "bugtrack_url": null,
    "license": "GNU AFFERO GENERAL PUBLIC LICENSE",
    "summary": "XML to Ogl Object Model",
    "version": "2.7.0",
    "project_urls": {
        "Repository": "https://github.com/hasii2011/untanglepyut"
    },
    "split_keywords": [
        "pyut",
        " graphical shapes",
        " python",
        " xml"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "d5216cc719cf7e4bbf3a2b20fa2ab0b3b97eaabc5b148f0a2e454d7f4b5608df",
                "md5": "99f77c8de82eecfc45aa07b3573a9c95",
                "sha256": "248980381071689d9c8e93deca4e29722545ebaba262c97d14e98efa36339565"
            },
            "downloads": -1,
            "filename": "untanglepyut-2.7.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "99f77c8de82eecfc45aa07b3573a9c95",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 37734,
            "upload_time": "2025-02-09T20:36:10",
            "upload_time_iso_8601": "2025-02-09T20:36:10.850137Z",
            "url": "https://files.pythonhosted.org/packages/d5/21/6cc719cf7e4bbf3a2b20fa2ab0b3b97eaabc5b148f0a2e454d7f4b5608df/untanglepyut-2.7.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "16069c6df5bca9d7e17f3ae8df2002e276c487e1ac5fead782e1b4f9962110dc",
                "md5": "bd2227c2533681d1d0fbd3d824b365a0",
                "sha256": "1035cc9a9f004d3cc290d8f33964aacd7f27d282bbd09d71342babe2f7a19ef4"
            },
            "downloads": -1,
            "filename": "untanglepyut-2.7.0.tar.gz",
            "has_sig": false,
            "md5_digest": "bd2227c2533681d1d0fbd3d824b365a0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 33192,
            "upload_time": "2025-02-09T20:36:12",
            "upload_time_iso_8601": "2025-02-09T20:36:12.170433Z",
            "url": "https://files.pythonhosted.org/packages/16/06/9c6df5bca9d7e17f3ae8df2002e276c487e1ac5fead782e1b4f9962110dc/untanglepyut-2.7.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-02-09 20:36:12",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "hasii2011",
    "github_project": "untanglepyut",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": true,
    "circle": true,
    "lcname": "untanglepyut"
}
        
Elapsed time: 0.38404s