{ "info": { "author": "keul", "author_email": "luca@keul.it", "bugtrack_url": null, "classifiers": [ "Framework :: Plone", "Framework :: Zope3", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License (GPL)", "Programming Language :: Python" ], "description": "Introduction\n============\n\nQuickly export the content of a Plone registry configuration (defined by an interface) in a Python\nstructure compatible with JSON format:\n\n.. code-block:: python\n\n import json\n from collective.regjsonify.interfaces import IJSONifier\n from plone.registry.interfaces import IRegistry\n from zope.component import queryUtility\n \n registry = queryUtility(IRegistry)\n settings = registry.forInterface(IYouInterfaceSettings)\n python_data = IJSONifier(settings).json()\n json_data = json.dumps(python_data)\n\nExtending\n=========\n\nThe package came with a default set of know data types that cover common fields used in Plone registry.\nHowever this set can be not complete if you are using a not supported field type.\n\nDuring export operation unknown data are ignored.\n\nIf you want to export other types you must manually provide the proper ``IJSONFieldDumper`` adapter:\n\n.. code-block:: xml\n\n \n\nChangelog\n=========\n\n0.2.0 (2015-08-25)\n------------------\n\n- Recusively traverse all of the interface's parents attributes\n [keul]\n- Added an ``IObject`` field adapter. There's no more need that the\n persistent field implements another interface (see changes in tests).\n Also: custom IObject derived fields are now automatically supported.\n [keul]\n\n0.1.0 (2014-05-02)\n------------------\n\n- Initial release", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/keul/collective.regjsonify", "keywords": "plone registry json export", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "collective.regjsonify", "package_url": "https://pypi.org/project/collective.regjsonify/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/collective.regjsonify/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/keul/collective.regjsonify" }, "release_url": "https://pypi.org/project/collective.regjsonify/0.2.0/", "requires_dist": null, "requires_python": null, "summary": "Export Plone registry content to a JSON compatible Python structure", "version": "0.2.0" }, "last_serial": 3422862, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "96ce298b7a4e9c762094606afc169a8f", "sha256": "08bb13e223c5d457f008c605b455f653c2cf3ddd63443068afb9827a740bcc46" }, "downloads": -1, "filename": "collective.regjsonify-0.1.0.zip", "has_sig": false, "md5_digest": "96ce298b7a4e9c762094606afc169a8f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19726, "upload_time": "2014-05-02T12:55:23", "url": "https://files.pythonhosted.org/packages/28/32/7398e175f010666a578b28e2e2f664be805dba269fd8ef836f56419c3f62/collective.regjsonify-0.1.0.zip" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "ca00516dc5a16bd5fbe5ff153bc02e4f", "sha256": "687ab1ebc8419480cdf15ac2bccedaed849ae9ebc162eaf7f00a766998765f05" }, "downloads": -1, "filename": "collective.regjsonify-0.2.0.tar.gz", "has_sig": false, "md5_digest": "ca00516dc5a16bd5fbe5ff153bc02e4f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13550, "upload_time": "2015-08-25T10:28:58", "url": "https://files.pythonhosted.org/packages/8a/9a/7eaff56326caa3beab09f0139c5d76a7b60fc9aba174227a40c72329a783/collective.regjsonify-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ca00516dc5a16bd5fbe5ff153bc02e4f", "sha256": "687ab1ebc8419480cdf15ac2bccedaed849ae9ebc162eaf7f00a766998765f05" }, "downloads": -1, "filename": "collective.regjsonify-0.2.0.tar.gz", "has_sig": false, "md5_digest": "ca00516dc5a16bd5fbe5ff153bc02e4f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13550, "upload_time": "2015-08-25T10:28:58", "url": "https://files.pythonhosted.org/packages/8a/9a/7eaff56326caa3beab09f0139c5d76a7b60fc9aba174227a40c72329a783/collective.regjsonify-0.2.0.tar.gz" } ] }