Skip to main content

python-nimsp

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)

Source distribution for nimsp 0.3.4
File Size Uploaded Provenance Actions
nimsp-0.3.4.tar.gz 3.9 kB Without provenance Details for nimsp-0.3.4.tar.gz

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

Security for nimsp 0.3.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page