{ "info": { "author": "Daniel Lee", "author_email": "Daniel.Lee@dwd.de", "bugtrack_url": null, "classifiers": [], "description": "=====================\nAbout GeneralMarshall\n=====================\n\n``GeneralMarshall`` is a package for manipulating XML. It is comprised of an\nabstract class that should be subclassed for usage.\n\n*******\nLicense\n*******\n\n``GeneralMarshall`` is released under the GNU Greater Public License. Feel free\nto reuse or distribute it in any way you see fit. I would appreciate\n`being notified `_ if you use the library and/or have any\nfeature requests or suggestions.\n\n*****\nUsage\n*****\n\nThe class makes extensive use of an overriden ``__getattr__`` and\n``__setattr__`` in order to allow XML tag values to be set with a pythonic\nprogramming interface. In order to make this possible, the XML file's tag\nheirarchy must be defined in the subclass that implements ``GeneralMarshall``.\nThis is done by setting the private class attributes ``_namespace``,\n``_root_name``, ``_unique_tags``, ``_unique_tag_attributes`` and\n``_tag_hierarchy``.\n\nWhen the subclass knows the possible structure of XML files it should use, the\ninteraction can look like this::\n\n import general_marshall\n class MyXML(general_marshall.XML):\n ...\n \n # Load XML file\n xml_object = MyXML(\"file_name.xml\")\n # Print pretty printed XML to stdout\n print(xml_object)\n # Create empty XML object\n new_xml = MyXML()\n # Set a tag value, creating parent nodes if necessary\n new_xml.value = \"something\"\n # Export to file\n new_xml.export(\"output_file.xml\")\n \nAlthough ``lxml`` is used to interface with the XML file that is either read or\ncreated, not all of the functions that ``GeneralMarshall`` would profit from\n``lxml`` most are used in order to maintain compatibility with Python's builtin\n``xml`` library. This is due to the fact that ``GeneralMarshall`` is used in\nsome places where ``lxml`` is not available.\n\n**********\nVersioning\n**********\nVersion numbers are set using `Semantic Versioning `_.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/erget/GeneralMarshall", "keywords": null, "license": "GNU GPL", "maintainer": null, "maintainer_email": null, "name": "GeneralMarshall", "package_url": "https://pypi.org/project/GeneralMarshall/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/GeneralMarshall/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/erget/GeneralMarshall" }, "release_url": "https://pypi.org/project/GeneralMarshall/v1.0.3/", "requires_dist": null, "requires_python": null, "summary": "An XML marshalling and demartialling library", "version": "v1.0.3" }, "last_serial": 1842995, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "ad01fd01c3842c1d0cea6cb676ffc883", "sha256": "7be2e9bc33fc793e0a539ea336abe56513a6f04fa33ec7825775d29598d5b844" }, "downloads": -1, "filename": "GeneralMarshall-1.0.0.tar.gz", "has_sig": false, "md5_digest": "ad01fd01c3842c1d0cea6cb676ffc883", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4442, "upload_time": "2013-06-19T14:14:22", "url": "https://files.pythonhosted.org/packages/87/92/c0f255c2f01ea2981e614567a1e42622a1ca21e61358488e62049c7516c1/GeneralMarshall-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "b4af64ce824e67ede20313af8b0e1a1b", "sha256": "b059363a447814385e261f7912b624100741f548a118418f86968786b6ab4c6d" }, "downloads": -1, "filename": "GeneralMarshall-1.0.1.tar.gz", "has_sig": false, "md5_digest": "b4af64ce824e67ede20313af8b0e1a1b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4713, "upload_time": "2013-06-20T07:28:45", "url": "https://files.pythonhosted.org/packages/e4/8b/41fcfeef992239ecd8a95581335a22ad082121521eaf25adc8d27dc5f120/GeneralMarshall-1.0.1.tar.gz" } ], "v1.0.2": [ { "comment_text": "", "digests": { "md5": "13f58c18487712f3a7a1ea12f252d4f7", "sha256": "bcdc9e7d36918895483d241e6d1105a6397abeef337a72dcbd1d684ae9c1cb36" }, "downloads": -1, "filename": "GeneralMarshall-v1.0.2.tar.gz", "has_sig": false, "md5_digest": "13f58c18487712f3a7a1ea12f252d4f7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4580, "upload_time": "2013-07-30T13:57:30", "url": "https://files.pythonhosted.org/packages/ee/c7/e66627abad2587fe39bfbf13b2ecadb9089afb7184193885d351e6657a0d/GeneralMarshall-v1.0.2.tar.gz" } ], "v1.0.3": [ { "comment_text": "", "digests": { "md5": "74f0f214c7c8cbfcb694043358c06c66", "sha256": "924fcd0dd0bae7b16ca86f72499cafa3a3886ba11a3f872b451e12be469c3316" }, "downloads": -1, "filename": "GeneralMarshall-v1.0.3.tar.gz", "has_sig": false, "md5_digest": "74f0f214c7c8cbfcb694043358c06c66", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16183, "upload_time": "2015-12-02T09:33:06", "url": "https://files.pythonhosted.org/packages/c7/09/d040702b5141a976a50a39c03e7307d37bed38a2cde0c668f6ff048b7ce7/GeneralMarshall-v1.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "74f0f214c7c8cbfcb694043358c06c66", "sha256": "924fcd0dd0bae7b16ca86f72499cafa3a3886ba11a3f872b451e12be469c3316" }, "downloads": -1, "filename": "GeneralMarshall-v1.0.3.tar.gz", "has_sig": false, "md5_digest": "74f0f214c7c8cbfcb694043358c06c66", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16183, "upload_time": "2015-12-02T09:33:06", "url": "https://files.pythonhosted.org/packages/c7/09/d040702b5141a976a50a39c03e7307d37bed38a2cde0c668f6ff048b7ce7/GeneralMarshall-v1.0.3.tar.gz" } ] }