GithubHelp home page GithubHelp logo

bill-search's Introduction

bill-search

Command Line Tool for Searching Senate Resolution Bills in the 116th session that have a summary which matches a particular regular expression for bills in a supplied .zip file.

Installing Dependencies

These instructions assume that you are using Python 3 (3.7.4 to be exact).

Then, using pip, install the required libraries.

pip install -r requirements.txt

bill-search Examples

For help with the tool, use the help option:

python billsearch.py --help

Without any options, the tool can be used like this:

$ python billsearch.py "technology"
Searching through Data Engineering Deliverable - BILLSTATUS-116-sres.zip

Number of bills that match: 3

SRES 103
SRES 259
SRES 331

You can also specify the show_text option. Matching text will be underlined (though not shown in example below).

$ python billsearch.py "technology" --show_text
Searching through Data Engineering Deliverable - BILLSTATUS-116-sres.zip

Number of bills that match: 3

SRES 103
This resolution supports the designation of National Assistive Technology Awareness Day.  It also 
commends assistive technology specialists, program coordinators, organizations, and researchers for 
their assistance in helping people with disabilities to access such technology.

SRES 259
This resolution expresses the Senate's position that world leadership in the implementation of 
5G wireless technology is a national priority.

SRES 331
This resolution instructs Senate conferees on the conference committee for S. 1790 (National Defense 
Authorization Act for Fiscal Year 2020) to insist upon inclusion of the provisions of S. 2118 (Defending 
America's 5G Future Act), which relates to Huawei Technologies Co. Ltd. and technology from foreign adversaries.

Testing bill-search

You can run the unit tests with the following command:

python test_billsearch.py

bill-search's People

Contributors

nholeman avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.