GithubHelp home page GithubHelp logo

irs-tax-form-scraper's Introduction

IRS Tax Forms Scraper

Two Python utility tools built to make it easier to find and download tax forms. The first utility tool takes in input from the command line on the specified tax form name(s) e.g. Form W-2, Form 1095-C and returns json data on the form number, form title, minimum year, and maximum year. The second utility tool takes in a tax form name and a range of years and downloads all of the PDF files in a subdirectory.

Usage

Our utility tools allows you to easily search for information regarding past IRS forms.

Follow along with the command line prompts!

Utility 1 Instructions

Enter the form names you're requesting (e.g. "W-2 W-3 1095-C"), space delimited!

Enter form names

Once you've entered the form names you're searching for, check the JSON data to see if the output is what is expected. If it looks right, enter "y" and the JSON data will be downloaded in your main directory as "data.json".

Show form data

Utility 2 Instructions

Enter the form name you want to download. Specify a range (note: ending year is the most recent year).

Enter form name

Your files will be downloaded in a subdirectory!

Subdirectory files

Setup

  1. Fork and clone this repo.
  2. Install dependencies: pip install -r requirements.txt
  3. Choose from one of two scripts that contain our two different utilities.
  4. Use python app.py to run utility 1 which generates JSON form data or use python get_pdf.py to run utility 2 which downloads pdf files into a subdirectory on a specified year range.
  5. Follow our command line guiding :)!

Technologies

Python Version: 3.9.5

Note: Refer to requirements.txt for a full list of dependencies used for this project.

MIT License

irs-tax-form-scraper's People

Contributors

kelvinlin97 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.