{ "info": { "author": "Martijn Faassen", "author_email": "info@infrae.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: BSD License", "License :: OSI Approved :: GNU General Public License (GPL)", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Text Processing :: Markup :: HTML", "Topic :: Text Processing :: Markup :: XML", "Topic :: Utilities" ], "description": "======\nSprout\n======\n\nThis is a common Python library which contains reusable components,\ndeveloped at Infrae.\n\nSprout, while mainly XML related, does not have a functional goal as\nsuch. Its goals instead are organizational:\n\n* Enable code reuse between projects, such as Silva and Infrae's\n topicmaps implementation\n\n* Allow us to write modern, pure Python code without external\n dependencies -- it only depends on the Python standard library.\n\n* Allow us to write solid code, covered by a large unit test\n suite. The lack of external dependencies and focus on modern code\n makes this easier.\n\nWhile Sprout's aim is mainly for use within Infrae at present, the\ncode inside should be general enough for use in your own projects as\nwell.\n\nSprout's focus is mainly currently XML related. It features:\n\n* ``sprout.saxext``, a library to make writing SAX-based code more\n easy.\n\n* ``htmlsubset``, a system to easily create HTML-ish subsets that are\n secure and robust to wrong user input.\n\n\nCode repository\n===============\n\nThe code for this extension can be found in Mercurial:\nhttps://hg.infrae.com/Sprout\n\nChanges\n=======\n\n1.1.1 (23/05/2013)\n------------------\n\n* Improve sprout.saxext xmlimport ``getData`` and ``clearData`` that\n wipe all data associated with the importer in one pass.\n\n1.1 (05/03/2013)\n----------------\n\nImprove sprout.saxext xmlimport and xmlexport classes:\n\n* To make available user-defined options to the handlers. Those\n options have to be defined with the help of ``registerOption``\n before being usuable.\n\n* To support work on temporary files and already opened files. This is\n more efficient on large import and export, and prevent to create\n large ``StringIO`` objects.\n\n\nEvery piece of code using those classes will need to be updated to\nwork with this new version.\n\n1.0.5 (03/09/2012)\n------------------\n\n* Add two misisng methods for prefix mapping on the handler, in order\n to follow the SAX handler.\n\n* The xmlexport handler takes now arguments and keyword arguments that\n it passes along to child handlers.\n\n1.0.4 (07/11/2011)\n------------------\n\n* Add a missing method characters to xmlexport handler, in order to\n follow the SAX protocol.\n\n1.0.3 (15/07/2010)\n------------------\n\n* Remove deprecated silvasubset,\n\n* Add support to register producers with adapters,\n\n* saxify as now a validate option to verify the validity of the incoming\n XML to work on before doing anything,\n\n* Update and clean tests.\n\n\n1.0.2 (03/11/2009)\n------------------\n\n* Fix thread safety in xml importer.\n\n1.0.1 (05/10/2009)\n------------------\n\n* Use builtin set instead of the deprecated sets module (when available).\n\n1.0 (25/09/2008)\n----------------\n\n* Package extension as an egg.\n\n0.9\n---\n\n* When title attributes are added to ```` tags, they are now\n recognized but nothing is done with them. Previously, the presence\n of a 'title' attribute corrupted the link.\n\n0.8\n---\n\n* no changes logged.\n\n0.7\n---\n\n* Added support for hex entities (e.g. `` `` for a non-breaking\n space) ``to html2sax``.\n\n* Added support for *limiting* HTML, taking safe, well-formed snippets\n out of larger HTML strings. Can deal with HTML that is not\n well-formed.\n\n0.6.2\n-----\n\n* set sprout up as a Python package in a much simpler, and less wrong\n way.\n\n0.6.1\n-----\n\n* ``sax2html`` handles empty attributes in HTML now, so that ```` gets turned into ````\n in those.\n\n* Allow optional filtering handler that events get passed through before\n import happens.\n \n0.5.1\n-----\n\n* In silva subset, treat ``\\n`` as ``
``.\n\n* In ``html2sax``, we're now making sure that any tags that cannot be\n singletons in HTML are kept open, by adding an extra space character\n event.\n\n0.5\n---\n\n* Initial public release.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://infrae.com/download/Sprout", "keywords": "html sax parser xml", "license": "BSD, GPL and PythonLicence", "maintainer": null, "maintainer_email": null, "name": "Sprout", "package_url": "https://pypi.org/project/Sprout/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/Sprout/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://infrae.com/download/Sprout" }, "release_url": "https://pypi.org/project/Sprout/1.1.1/", "requires_dist": null, "requires_python": null, "summary": "Common Python library which contains reusable components, developed at Infrae.", "version": "1.1.1" }, "last_serial": 945384, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "59c32698f18435cac611beb57d53988d", "sha256": "30849edc046bb0c383b3817a3fd8fafa7ca139b88a8fbea45db5397782db0696" }, "downloads": -1, "filename": "Sprout-1.0-py2.4.egg", "has_sig": false, "md5_digest": "59c32698f18435cac611beb57d53988d", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 84409, "upload_time": "2008-09-25T10:25:48", "url": "https://files.pythonhosted.org/packages/ea/19/64ee9f8dd01cda6c92fa1a717b1a605c54b0818ce9f0f506b7a957b2aa6f/Sprout-1.0-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "ce3e5522f316f24cf7f6a605c5e244e3", "sha256": "a0074b9c9a12a055062c581ab4716abd80224d75da042ec721b542ffb28bbf4b" }, "downloads": -1, "filename": "Sprout-1.0.tar.gz", "has_sig": false, "md5_digest": "ce3e5522f316f24cf7f6a605c5e244e3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 41771, "upload_time": "2008-09-25T10:25:03", "url": "https://files.pythonhosted.org/packages/5c/fb/1f557f7feb6e41ce35910f57e8ebdb0d035e121fce4debb81b43d64b50e3/Sprout-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "e6f2f0549aec2056eb5fe5669dc7c86f", "sha256": "9bc7cd3dfd484fb52d86090e20bb972c2f6de1b2312adfff7c6f1cee4b5a7f1e" }, "downloads": -1, "filename": "Sprout-1.0.1.tar.gz", "has_sig": false, "md5_digest": "e6f2f0549aec2056eb5fe5669dc7c86f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 42401, "upload_time": "2009-10-05T13:36:26", "url": "https://files.pythonhosted.org/packages/de/0f/e1149845406a73c5c153a34cf5b00ca2c490d44897d412ec8936613e06d1/Sprout-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "0e279942db0b32ec5ed422a25a90f776", "sha256": "4b264c26d01428912c701373bdfbe2d3175e836498e2c1fc4a64ffc814a76342" }, "downloads": -1, "filename": "Sprout-1.0.2.tar.gz", "has_sig": false, "md5_digest": "0e279942db0b32ec5ed422a25a90f776", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 42019, "upload_time": "2009-11-03T17:15:47", "url": "https://files.pythonhosted.org/packages/9e/e4/2725816ec2fa32af53b5fe7a8825f6b7e89f37aad90c0170dd876a92f595/Sprout-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "2b22c464773c6f9de0f643e38a018ac5", "sha256": "026a0bae39cc32f8467cd832d1c909a04ae5c8f6a9cc926e3094fd343f8d0bd9" }, "downloads": -1, "filename": "Sprout-1.0.3.tar.gz", "has_sig": false, "md5_digest": "2b22c464773c6f9de0f643e38a018ac5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 40364, "upload_time": "2010-07-15T16:16:23", "url": "https://files.pythonhosted.org/packages/5b/35/c55826afafafbd1f6ddea1af58d95e3da48a9b9f57212370046282d1c2ab/Sprout-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "855d662d75009a1bdd8b66b78ba9e61e", "sha256": "e34c4db9e0af0d5755b420819fd593e3bbe99afd54ff1cbad1ad8baf0f666c56" }, "downloads": -1, "filename": "Sprout-1.0.4.tar.gz", "has_sig": false, "md5_digest": "855d662d75009a1bdd8b66b78ba9e61e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 41083, "upload_time": "2011-11-07T12:14:29", "url": "https://files.pythonhosted.org/packages/0e/50/9fa645b37e9ed7a59ffccd2b8c83216f4f0d026e0b83328e4b2a6f71a3e6/Sprout-1.0.4.tar.gz" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "2510df3c82bd62047ad313eeddb3230a", "sha256": "5e517a6e9a0634bd52c376d82f15986c18eb1b7b5697db37155a796cecae046d" }, "downloads": -1, "filename": "Sprout-1.0.5.tar.gz", "has_sig": false, "md5_digest": "2510df3c82bd62047ad313eeddb3230a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 41544, "upload_time": "2012-09-03T14:11:28", "url": "https://files.pythonhosted.org/packages/a1/8a/805651043d8a0628a9720025ad5a71db5d3fa260f27150e400c27b633b2a/Sprout-1.0.5.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "abde990dce36de57347c4dcdaae1b10a", "sha256": "01e178fc17d243c224097d33d083498df78898cc3d928c54a98cf32c97704fe9" }, "downloads": -1, "filename": "Sprout-1.1.tar.gz", "has_sig": false, "md5_digest": "abde990dce36de57347c4dcdaae1b10a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 42875, "upload_time": "2013-03-05T16:52:34", "url": "https://files.pythonhosted.org/packages/3c/0f/e9c68b89c09d67a7fadf62ab429ada1f05d6437787c3a7d479932ce2703f/Sprout-1.1.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "854e170f5e731ff623eb6314c0122f69", "sha256": "ce00bb688780f9ff13e2a9877fb830ccf180089e4e2a41e2199b8176497c789d" }, "downloads": -1, "filename": "Sprout-1.1.1.tar.gz", "has_sig": false, "md5_digest": "854e170f5e731ff623eb6314c0122f69", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 43030, "upload_time": "2013-05-23T09:45:51", "url": "https://files.pythonhosted.org/packages/a0/f8/e7c1667a19f6ec974a37a2b368cb2db71a9dbe661af911e76a070c711c93/Sprout-1.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "854e170f5e731ff623eb6314c0122f69", "sha256": "ce00bb688780f9ff13e2a9877fb830ccf180089e4e2a41e2199b8176497c789d" }, "downloads": -1, "filename": "Sprout-1.1.1.tar.gz", "has_sig": false, "md5_digest": "854e170f5e731ff623eb6314c0122f69", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 43030, "upload_time": "2013-05-23T09:45:51", "url": "https://files.pythonhosted.org/packages/a0/f8/e7c1667a19f6ec974a37a2b368cb2db71a9dbe661af911e76a070c711c93/Sprout-1.1.1.tar.gz" } ] }