Skip to content

MacMalainey/commentor.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Purpose:

This repo contains the files necessary to parse Python and all derivatives of C,
and return the amount of comments and lines of code contained in a file.

To Parse a File on your computer:

In the python folder, run "custom_parser.py <filename>"

To Scrape github:

First, generate an API key for github. Instructions can be found here:
    https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/

In the python folder, create a file named private.py. In this file create the following variable:
    GITHUB_API_KEY = "<Your_API_key_here>"

Now, run "scraper.py" to begin scrapping Github and Parsing files!

About

Hacked 2019 Hackathon Project!!! Visit http://commentor.github.io for a demo.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •