Skip to main content

Python package to obtain the FEC data of current US senators.

Project description


codecov Release Documentation Status

Python package to obtain the FEC data of current US senators.


$ pip install -i senator_fec_data


This package returns data on U.S. Senators from the FEC API ( Users can obtain a dataset of the current senators and receive the FEC candidate ID associated with those senators. Users are able to search facts about senator FEC filings, visualize their FEC results, and even produce a full report on their senators.


  • bs4
  • os
  • requests
  • json
  • pandas as pd
  • matplotlib.pyplot
  • xml.etree.ElementTree


Find more information about this package and its use at ./senator_fec_data/Extended_Tutorial.


The official documentation is hosted on Read the Docs:


We welcome and recognize all contributions. You can see a list of current contributors in the contributors tab.


This package was created with Cookiecutter and the UBC-MDS/cookiecutter-ubc-mds project template, modified from the pyOpenSci/cookiecutter-pyopensci project template and the audreyr/cookiecutter-pypackage.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

senator_fec_data-0.1.0.tar.gz (10.2 kB view hashes)

Uploaded source

Built Distribution

senator_fec_data-0.1.0-py3-none-any.whl (10.6 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page