Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 2.71 KB

README.md

File metadata and controls

45 lines (36 loc) · 2.71 KB

GitGram

Applied Social Network Analysis

Hosted App has a bug due to which results never shows up for a user with high number of following or follow ups, Fixing will take time because of other projects rush work. Till then, hit it locally! or maybe try your luck!

Documentation

  • You may read from here
  • Also suggested to read code inside utils folder where file name does'nt start with util
    • I may be writing docs too quickly and very briefly ignoring code

Running web app locally

  • clone the repo locally
  • pip install -r requirements.txt
  • uvicorn server:app --reload

WebApp ScreenShots

image image image image image image image

Some Graphs SS

image image image image

PRs Welcomed for

  • Shift code to use GitHub API
  • Parallelize the code
  • Data cruching only once for complete analysis
  • Add/Fix link to repositories in suggessted repositories

Note:

  • Be patient because their is hell lot of scraping happening in behind
    • GitHub api crashes when sending data of someone with above 5k followers, and some bots are their trying to does the same
    • I can easily control that part with this approach, although later I will shift it to api usage and make it multi threaded
    • Time Complexity / Scraping for each analysis: ((followers + following) of followers) * ((followers + following) of following)
  • It's Suggested to run locally
  • Possible reason for heroku bug is request getting timeout, only effective way to handle this is to revamp the web app server code