A Python library for interacting with the National Institute on Money in State Politics API.
Released under a BSD-style license (see the LICENSE files for details).
python-nimsp is a project of Sunlight Labs (c) 2011. Written by Michael Stephens <mstephens@sunlightfoundation.com>.
Source: http://github.com/sunlightlabs/python-nimsp
Installation
To install from PyPI run
pip install nimsp
or
easy_install nimsp
To install from a source package run
python setup.py install
Example Usage
>>> from nimsp import nimsp >>> nimsp.apikey = 'YOUR_API_KEY' >>> corte = nimsp.candidates.list(state='tx', year=2008, candidate_name='Corte Jr, Frank')[0] >>> print "$%d" % corte.total_dollars $287372 >>> print corte.candidate_status Won
Metadata
Release files for nimsp 0.3.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nimsp-0.3.4.tar.gz | 3.9 kB | Details |
Release files / nimsp-0.3.4.tar.gz
| Download URL | nimsp-0.3.4.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
785d18ad6ef95c0fd5392788d869b8dcc3df5290a40e36821fed7454e3cb18e1
|
|
BLAKE2b-256 checksum How to use checksums |
ae10405cf16fa9f37e403c95a49b2b53bb08b47190ccf21bf6c486521e47d578
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |