{ "info": { "author": "Leon Matthews", "author_email": "python@lost.co.nz", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License (GPL)", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Text Processing :: Markup :: XML" ], "description": "====\nWDDX\n====\n\nA python decoder for the WDDX XML serialisation format.\n\nWDDX was an XML data serialisation format created in 1998, initially for the\nColdFusion server environment, then open-sourced. It has faded into history\nnow, having lost out to JSON, YAML, and native serialisation. According to\nits `Wikipedia article `_ WDDX was a\nprecursor to SOAP -- which may help explain some of the latter's\nbrain-damage...\n\nThis module is a straight-forward decoder for WDDX packets that I wrote\nwhile extracting the data from a PHP (which included early built-in support\nfor the format) project that had a home-brewed ORM.\n\nI have decoded many thousands of packets with it, YMMV.\n\nIt has good support for the parts of the WDDX standard that the PHP wddx\nfunctions actually use, but probably poor support of the full standard. It's\nimpossible to actually tell because the specification is no longer online!\nDNS entries for wddx.org expired in 2010, last year as I write this.\n\n\nExample\n=======\n\nThe API follows the example given by the json, pickle, and marshall modules.\nYou can see lots more examples in the test folder, including recursive\nsequence and mapping types.\n\n>>> import wddx\n>>> xml = \"\"\"\n... \n... \n... 3.1415926\n... \n... Hello, world\n... 42\n... 1998-06-12T04:32:12\n... \n... \n... \"\"\"\n>>> wddx.loads(xml)\n[3.1415926, None, 'Hello, world', 42, datetime.datetime(1998, 6, 12, 4, 32, 12)]\n\n\nTODO\n====\n\nThis module is by no means a full WDDX implementation. The format is\npractically dead -- at the time of writing the WDDX specification websites\nwere off-line. (Indeed, I wrote this module to help retire a legacy\ndata-storage engine written back when WDDX looked like a promising\ninterchange format.)\n\nBelow are the key deficiencies. I'm not planning on rectifying any of these\nmyself, they are documented here in case anybody else wants to take the module\nover...\n\n\nEncoding Support\n----------------\n\nThe world needs less WDDX packets, not more. I have resisted the temptation\nto write the missing dump() and dumps() functions, even though it might be\nfun to do so...\n\n\nDate-time Parsing\n-----------------\n\nParsing of date-time values is weak. WDDX represents date-time values using\nfull ISO 8601 encoding. This should be decoded using a full ISO 8601 parser,\nnot the fragile datetime.strptime() I used. There is no such parser in the\nstandard library, and I was loath to bring in an external dependency for\na field I wasn't using.\n\n\nNicities and Details\n--------------------\n\nI've only implemented enough of the WDDX specification to handle all of the\npackets I had. Partly because that was enough to 'stratch my itch', but\nmostly because I was unable to find a copy of the spec.\n\nFor example, I found a presentation online with a slide that mentions in\npassing that the WDDX string type can contain control characters in\nstrings, eg. . This feature, and probably many others, is\nentirely unsupported.", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/leon-matthews/wddx", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://lost.co.nz/", "keywords": null, "license": "LICENSE.txt", "maintainer": null, "maintainer_email": null, "name": "wddx", "package_url": "https://pypi.org/project/wddx/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/wddx/", "project_urls": { "Download": "https://github.com/leon-matthews/wddx", "Homepage": "http://lost.co.nz/" }, "release_url": "https://pypi.org/project/wddx/0.4.0/", "requires_dist": null, "requires_python": null, "summary": "A Python decoder for the WDDX XML serialisation format.", "version": "0.4.0" }, "last_serial": 801564, "releases": { "0.2.0": [], "0.3.0": [ { "comment_text": "", "digests": { "md5": "21d187230d3a3631fac1a6d4416420df", "sha256": "44a77f5566978ec455455c5ad4857d6378d112ae21754a0f899112a1303ac268" }, "downloads": -1, "filename": "wddx-0.3.0.tar.gz", "has_sig": false, "md5_digest": "21d187230d3a3631fac1a6d4416420df", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3525, "upload_time": "2011-08-03T22:11:18", "url": "https://files.pythonhosted.org/packages/db/43/fc0f478d88e3fded01efa03e3d6d60ad87a8a50c70b606e018a7ad449a44/wddx-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "b3665631dfcd9d0f69a307bbf3b0a91f", "sha256": "ee02ef09285f7d5326d4f18986df4d252087f315fd03457da8ead1c762342380" }, "downloads": -1, "filename": "wddx-0.3.1.tar.gz", "has_sig": false, "md5_digest": "b3665631dfcd9d0f69a307bbf3b0a91f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3559, "upload_time": "2011-08-03T22:16:53", "url": "https://files.pythonhosted.org/packages/a0/49/bc7c485ec80abd8ddb6c1fd9f93f1fdf8a9d3f5c61bebdf4c62cc086ec71/wddx-0.3.1.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "4759a2e3afd68317c806d46e86d60bb4", "sha256": "b1aa0c54d778fce0bd7a42f4961ee192cbb086e0f7a2515f4b6c0ed84a91038b" }, "downloads": -1, "filename": "wddx-0.4.0.tar.gz", "has_sig": false, "md5_digest": "4759a2e3afd68317c806d46e86d60bb4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3492, "upload_time": "2011-08-08T01:59:34", "url": "https://files.pythonhosted.org/packages/ae/48/e37ac555882b88472a716c893111962425083b5609f839c235876cc7a43f/wddx-0.4.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4759a2e3afd68317c806d46e86d60bb4", "sha256": "b1aa0c54d778fce0bd7a42f4961ee192cbb086e0f7a2515f4b6c0ed84a91038b" }, "downloads": -1, "filename": "wddx-0.4.0.tar.gz", "has_sig": false, "md5_digest": "4759a2e3afd68317c806d46e86d60bb4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3492, "upload_time": "2011-08-08T01:59:34", "url": "https://files.pythonhosted.org/packages/ae/48/e37ac555882b88472a716c893111962425083b5609f839c235876cc7a43f/wddx-0.4.0.tar.gz" } ] }