Giter Site home page Giter Site logo

irsbuster's Introduction

Description

Simple IRS buster

Dependencies

  • python 3.5+
  • requests 2.25.1
  • beautifulsoup4 4.9.4
  • docopt 0.6.2

Installation

All dependencies can be installed using make:

  1. Go to root directory of the project
  2. Run make init

If you don't have make installed, run pip install -r requirements.txt instead

Usage

Usage:
    irsbuster.py stats (-n | --name) <name>
    irsbuster.py download [(-n | --name) <name>] [(-r | --range) <range>]

    Simple IRS buster.
    Order of arguments is important.

    irsbuster has two modes - stats and download.
    stats:
        Fetches data for form <name> and saves result to data/result.json.
        You can pass multiple form names e.g., irsbuster.py stats -n "Form-1, Form 2, Form_3"
    
    download:
        Downloads all form <name> PDFs within given <range>(string in format 'xxxx-yyyy')
        and saves them to data/<name>/ directory.

Arguments:
    <name>   Product Number of the form. If it contains spaces, then it must be enclosed in quotes(e.g., "Form W-2")
    <range>  Year range, string in format 'xxxx-yyyy' where xxxx is less than yyyy
 
Examples:
    irsbuster.py stats --name "Form W-2"
    irsbuster.py stats --name "Form W-2, Form W-2VI, Form W-2CA, Publ 1"
    irsbuster.py stats --name "Form W-2,Form W-2VI,Form W-2CA,Publ 1"
    irsbuster.py download --name "Form W-2" --range 2002-2013

irsbuster's People

Contributors

hadrizi avatar

Watchers

James Cloos avatar  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.