Code Monkey home page Code Monkey logo

volunteerhub's Introduction

VolunteerHub

A hub to display data from different sources about volunteers on hasadna

This project creates a hub to centralize data about volunteers from:

  1. Google Forms
  2. Gmail conversations

and to display this data, grouped by user, in a convenient way.

gathering data from the different data sources happens in the etl.py

DESIGN

The etl.py module has an abstract Connector class. this is the base class for all datasources.

For each datasource there is an authentication phase, where login credentials are used to connect to it. Hence the get Credentials method

and there is a data gathering phase, hence the getData method

Each connector implemets these methods as suitable for the datasource, and there is a common way to work with all connectors

INSTALLATION:

This project is built and tested with python 2.7.12 Ubuntu 16.04 x64 bit To install the python packages, run the install.sh file on the main directory

In order to run this project properly, you would have to go to the API documentation pages, and follow the steps there to: Create a project in the Google Developers Console and turn on the API for it Create OAuth client ID credentials Download the credentials file Move it to the project direcrory and name it client_secret.json

the credentials file is per gmail account, and is excluded from the git repository for security reasons.

DOCUMENTATION:

sheets API documentation https://developers.google.com/sheets/quickstart/python

Gmail API documentation https://developers.google.com/gmail/api/quickstart/python

volunteerhub's People

Contributors

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