{ "info": { "author": "David Glick, Groundwire", "author_email": "davidglick@groundwire.org", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python" ], "description": "Introduction\n============\n\n`collective.cicero` provides access to Azavea_'s `Cicero API`_ for performing\ngeography-based lookups of political data. It is designed for integration with\nPlone, but can be used in other contexts as well.\n\n.. _Azavea: http://www.azavea.com\n.. _`Cicero API`: http://www.azavea.com/products/cicero/api.aspx\n\nUsage\n-----\n\nAccess to the API is provided via the `call_cicero` method::\n\n call_cicero(service_name, method_name, *args, **kw)\n\n`service_name` is one of the `Cicero web services`_. Currently the only\nsupported option is 'ElectedOfficialQueryService'.\n\n`method_name` is one of the SOAP methods supported by the chosen service.\n\n`*args` and `**kw` are the additional parameters required by the chosen\nmethod. See the `Cicero API documentation`_ for details.\n\n.. _`Cicero web services`: http://www.azavea.com/Products/Cicero/API/CiceroWebServiceEndpoints.aspx\n.. _`Cicero API documentation`: http://cicero.azavea.com/Azavea_cicero_v2_docs/\n\nSettings\n--------\n\nThe Cicero credentials (username and password) are looked up via a\n`plone.registry`_-style IRegistry utility. In Plone, activating the\n`plone.app.registry`_ package followed by `collective.cicero` will set up a\nsuitable registry with the relevant settings available.\n\n.. _`plone.registry`: http://pypi.python.org/pypi/plone.registry\n.. _`plone.app.registry`: http://pypi.python.org/pypi/plone.app.registry\n\n\nTest Mode\n---------\n\nA `test mode` is supported. In test mode, canned responses will be loaded from\ndisk instead of actually querying Cicero.\n\nEnable test mode by setting the `CICERO_TEST` environment variable. If this\nvariable is present in the operating system environment, test mode will be used.\n\nFor test mode to work, the tests folder must contain a copy of the WSDL for the\nservice being tested, as well as a response file for the method being tested.\nResponses can be obtained by running in normal mode with suds configured to log\nat the debug level. A sample response for the GetOfficialsByAddress method of\nthe ElectedOfficialQueryService is included.\n\n\nChangelog\n=========\n\n1.1 (unreleased)\n------------------\n\n- Add a control panel for the Cicero settings, and make it validate the\n credentials when they are saved.\n [davisagli]\n\n- Set the socket timeout to something more reasonable.\n [davisagli]\n\n1.0 (2010-09-17)\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://svn.plone.org/svn/collective/collective.cicero/trunk", "keywords": "azavea cicero legislative lookup elected official soap zope plone", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "collective.cicero", "package_url": "https://pypi.org/project/collective.cicero/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/collective.cicero/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://svn.plone.org/svn/collective/collective.cicero/trunk" }, "release_url": "https://pypi.org/project/collective.cicero/1.1/", "requires_dist": null, "requires_python": null, "summary": "Provides access to Azavea's Cicero API for legistrative district matching and elected official info", "version": "1.1" }, "last_serial": 787695, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "9a554914deb79097294724d5d064e52d", "sha256": "92e684f741a4b6daaa2ff7025c8788278f5d240e689546d80006ce22f1244db9" }, "downloads": -1, "filename": "collective.cicero-1.0.zip", "has_sig": true, "md5_digest": "9a554914deb79097294724d5d064e52d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22144, "upload_time": "2010-09-18T02:51:26", "url": "https://files.pythonhosted.org/packages/ac/e0/88a37682a87359647d0d7b42510d9020f48288890a927a68680117bc4bab/collective.cicero-1.0.zip" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "c3ac3017a4229b9b64565bc9e24cd65e", "sha256": "209fb3e93b843cd91dcfff547e4113ad5877228780a3830d7c3f3d2f89e70b5b" }, "downloads": -1, "filename": "collective.cicero-1.1.zip", "has_sig": false, "md5_digest": "c3ac3017a4229b9b64565bc9e24cd65e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23254, "upload_time": "2011-08-29T02:05:21", "url": "https://files.pythonhosted.org/packages/b4/a1/75df76a94e1613c3d18bf9e42c73b192580e58af04b93bff20ac49386af3/collective.cicero-1.1.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c3ac3017a4229b9b64565bc9e24cd65e", "sha256": "209fb3e93b843cd91dcfff547e4113ad5877228780a3830d7c3f3d2f89e70b5b" }, "downloads": -1, "filename": "collective.cicero-1.1.zip", "has_sig": false, "md5_digest": "c3ac3017a4229b9b64565bc9e24cd65e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23254, "upload_time": "2011-08-29T02:05:21", "url": "https://files.pythonhosted.org/packages/b4/a1/75df76a94e1613c3d18bf9e42c73b192580e58af04b93bff20ac49386af3/collective.cicero-1.1.zip" } ] }