skip to navigation
skip to content

python-cicero 0.1.0

Python wrapper for Azavea's Cicero API

Python-Cicero provides a Pythonic “wrapper” to Azavea’s Cicero API for address-based legislative and non-legislative district matching, lookup of elected official contact information, and election events.

Note: Be sure to take a look at the project page on Github.

Installation / Setup

Use pip to install the library:

pip install python-cicero

If you anticipate making improvements/extensions and would like to document them, use the extras_require convention to also install the Pycco documentation generator as a dependency (see Documentation section below):

pip install python-cicero[‘docs’]

To make requests to the Cicero API, you will need a Cicero account. A free trial of the API is available by registering here. The process for purchasing additional API credits is described on the Cicero website.


There are a few ways to run the unit tests.

One option is to use the shell script in the root of the repository called Copy it using cp Edit to include your Cicero API username and password. Then, run the tests using ./

Another option is to edit the test/ file directly, adding your Cicero API credentials where indicated. Doing so will allow you to execute tests using nosetests (if you have the nose package installed), or using python test, or invoking the file itself.


Documentation, generated with Pycco, is available in the “docs” folder as HTML files. The filenames correspond to the appropriate module being documented.

For examples of the wrapper in use, see the file.


All of us at Azavea would be happy to help you get the most out of your Cicero API account. For questions about this wrapper, contact


python-cicero is licensed under the Apache 2.0 license. See LICENSE.txt for more details.


See a bug? Want to improve the docs or provide more examples? Thank you! Please open a pull-request with your improvements and we’ll work to respond to it in a timely manner.

File Type Py Version Uploaded on Size
python-cicero-0.1.0.tar.gz (md5) Source 2014-01-22 297KB
  • Downloads (All Versions):
  • 2 downloads in the last day
  • 20 downloads in the last week
  • 92 downloads in the last month