{ "info": { "author": "Dieter Maurer", "author_email": "dieter@handshake.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Framework :: Zope", "Framework :: Zope2", "Framework :: Zope :: 4", "Intended Audience :: Developers", "License :: OSI Approved :: Zope Public License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Utilities" ], "description": "This package patches Zope's ``ZTUtils`` to enhance its ``make_query`` and\n``make_hidden_input`` functions. Those functions are used to pass values across\ntwo requests and allow the target request to get the value in approximately\nthe same way (e.g. in the same type) as it has been in the source request,\navoiding tedious fixups in the target request.\n\nThe standard Zope versions are quite limited. They support\n(binary) strings, integers, floats and ``DateTime.DateTime`` as\nelementary data types and lists and namespaces (i.e. something\nwith an ``items`` method) of those elemantary types for structured\nvalues.\n\nThis package replaces Zope's ``ZTUtils.Zope.complex_marshal`` by a variant\nthat correctly handles unicode and tuples. In addition, empty lists\n(and tuples) are retained. Tuples are marshalled as lists. This\npatch makes \"make_query\" and \"make_hidden_input\" more reliable.\n\nFrom version 1.1 on, the application can register extensions\nto support additional elementary data types or to support\npassing structured values which are more deeply nested. For details,\nplease see the docstrings of class ``Extension`` and the functions\n``register_extension`` and ``unregister_extension``.\n\nBy default, the extension framework is used to register\nan extension handling ``None`` values. Note that this changes\nthe behavior for ``None`` passing relative to pre 1.1 versions.\nUse ``unregister_extension(\"none\")`` to keep the old behavior.\n\nThe extension framework is used to define the function\n``register_json_extension``.\nIt uses JSON marshalling to represent subvalues in\nstructured data which are too deeply nested to be handled by\nbasic mashalling. Should you need customization\nfor the JSON marshalling, take the implementation of\n``register_json_extension`` as a blueprint for your own definition.\n\n\nVersion history\n===============\n\n2.0\n\n Python 3/Zope 4 compatibility\n\n1.1\n\n Extension framework to optionnaly support application specific\n handling of new data types and deeper data structures\n\n ``None`` is (by default) passed on as the object ``None`` not as\n the string ``\"None\"``.\n\n1.0\n\n Lets ``make_query`` and ``make_hidden_inputs``\n reliably handle unicode, tuples and empty lists.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/dm.zopepatches.ztutils", "keywords": "application development menu web", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "dm.zopepatches.ztutils", "package_url": "https://pypi.org/project/dm.zopepatches.ztutils/", "platform": "", "project_url": "https://pypi.org/project/dm.zopepatches.ztutils/", "project_urls": { "Homepage": "http://pypi.python.org/pypi/dm.zopepatches.ztutils" }, "release_url": "https://pypi.org/project/dm.zopepatches.ztutils/2.0/", "requires_dist": null, "requires_python": "", "summary": "Patches for Zope's ZTUtils in order to make 'make_query' and 'make_hidden_input* more flexible and more reliable.", "version": "2.0" }, "last_serial": 5186599, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "677a752bc57553cbed80b060414f12ac", "sha256": "6acaf5e553f0e9cfbbe529e2f18dfbfc8e15fba3e6fe187523b99f719780d156" }, "downloads": -1, "filename": "dm.zopepatches.ztutils-1.0.tar.gz", "has_sig": false, "md5_digest": "677a752bc57553cbed80b060414f12ac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2884, "upload_time": "2009-10-16T18:19:06", "url": "https://files.pythonhosted.org/packages/e8/63/6519c890be8de725e33eb9de76b5618891b3b8ab9659b3c88f8cea685d5e/dm.zopepatches.ztutils-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "345a12150affd05f0c484ab36d5f7541", "sha256": "bb81439c15279f4a74831327e569dc4e5384cdc0930e5471521675d451392003" }, "downloads": -1, "filename": "dm.zopepatches.ztutils-1.0.1.tar.gz", "has_sig": false, "md5_digest": "345a12150affd05f0c484ab36d5f7541", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3493, "upload_time": "2009-10-18T08:58:22", "url": "https://files.pythonhosted.org/packages/72/91/7a9c927894c8c501b500b10396a7fd31b0c932c0a2d1407d280fbc0038ed/dm.zopepatches.ztutils-1.0.1.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "6601c461198b537aec0ed1d667ac3a4b", "sha256": "3de010d5997f35e8dc463424f6fde87d30977736af0fcffa4c2471950cc6c653" }, "downloads": -1, "filename": "dm.zopepatches.ztutils-1.1.tar.gz", "has_sig": false, "md5_digest": "6601c461198b537aec0ed1d667ac3a4b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5912, "upload_time": "2015-12-12T19:58:46", "url": "https://files.pythonhosted.org/packages/83/ff/0061974ee0d47ad754093da50a5ddc67eecbc4da193dbae7851f364c26dd/dm.zopepatches.ztutils-1.1.tar.gz" } ], "2.0": [ { "comment_text": "", "digests": { "md5": "f7cf81d239cd240a6594638f6eaed2ce", "sha256": "9a204ece225d2617dce5028ec202010a8a7cb05faac7acd9d7eeddb68d983d0c" }, "downloads": -1, "filename": "dm.zopepatches.ztutils-2.0.tar.gz", "has_sig": false, "md5_digest": "f7cf81d239cd240a6594638f6eaed2ce", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5944, "upload_time": "2019-04-25T07:52:32", "url": "https://files.pythonhosted.org/packages/53/6e/00a139e9a29510b97a6a07132d68fc497c41f7784bd6386dead67724fffa/dm.zopepatches.ztutils-2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f7cf81d239cd240a6594638f6eaed2ce", "sha256": "9a204ece225d2617dce5028ec202010a8a7cb05faac7acd9d7eeddb68d983d0c" }, "downloads": -1, "filename": "dm.zopepatches.ztutils-2.0.tar.gz", "has_sig": false, "md5_digest": "f7cf81d239cd240a6594638f6eaed2ce", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5944, "upload_time": "2019-04-25T07:52:32", "url": "https://files.pythonhosted.org/packages/53/6e/00a139e9a29510b97a6a07132d68fc497c41f7784bd6386dead67724fffa/dm.zopepatches.ztutils-2.0.tar.gz" } ] }