An open API service indexing awesome lists of open source software.

https://github.com/bhrutledge/ma-bill-sponsors

Map of sponsors of bills in the Massachusetts legislature
https://github.com/bhrutledge/ma-bill-sponsors

Last synced: 5 months ago
JSON representation

Map of sponsors of bills in the Massachusetts legislature

Awesome Lists containing this project

README

          

# Massachusetts Bill Sponsors

A Flask app that shows an interactive map and table of sponsors for bills in the Massachusetts legislature, using data scraped from [malegislature.gov](https://malegislature.gov/Bills/).

Written as a proof-of-concept in 2017.

## Developing

Install the dependencies:

```
$ python3 -m venv venv && source venv/bin/activate
$ pip install -U setuptools pip wheel
$ pip install -r requirements.txt
```

Set environment variables for Flask:

```
$ export FLASK_APP=ma_bill_sponsors.py
$ export FLASK_DEBUG=1
```

Run the development server:

```
$ flask run
```

Deploy to Heroku:

```
$ git push heroku
```

## TODO

- Rebuild map based on and
- Deploy via push to GitHub