Giter VIP home page Giter VIP logo

tech-skills-visualizer's Introduction

TSVis

Binder

Script uses data from StackOverflow to show relations between users and tags. Main dependencies:

Data

TSVis gathers Q&A threads with the tags provided by you. In next step, it collects all users who answered in those threads. Gathered data is used to build a list of tags for each user. StackOverflow provides information for particular user about tags he/she was active in and we use it to prepare list of relations: user -> tag. At final stage those relations are drawn on the graph in Graphistry.

Graphistry - sample result

Launching script

You need at least Python 3.7 to run it. Script takes list of tags (separated by semi-colon).

Installation steps

git clone [email protected]:data-hunters/tech-skills-visualizer.git
cd tech-skills-visualizer
pip3 install -r requirements.txt

Launching

It's just an example of running the script but it's better idea to put environment variables (especially GRAPHISTRY_PASSWD) to file and load it.

export PYTHONPATH="${PYTHONPATH}:."
export GRAPHISTRY_USER=<GRAPHISTRY_USER>
export GRAPHISTRY_PASSWD=<GRAPHISTRY_PASSWORD> 
# OPTIONAL: export STACK_API_KEY=<STACKEXCHANGE_API_KEY>
python3 tsvis/run.py --tags=bigdata --max-pages=10

Run python3 tsvis/run.py --help to check other options.

tech-skills-visualizer's People

Contributors

jc-a3s avatar l0kr avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

l0kr

tech-skills-visualizer's Issues

Add support for SO API keys

StackAPI provides option for passing API keys which increases usage limits. Keys could be passed with ENVs or YAML configuration.

Storing crawling results in files

We should store collected data in files for at least three reasons:

  1. Plotting graph again without crawling.
  2. Using gathered data for other purposes.
  3. Retrying the whole process when crawling is stopped (e.g. IP/account reached threshold).

Goal of this feature is to implement only storing functionality. We should use some popular format like JSON or/and CSV.

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.