Skip to content

Instantly share code, notes, and snippets.

View bismitaguha's full-sized avatar
:octocat:
Always learning

Bismita Guha bismitaguha

:octocat:
Always learning
View GitHub Profile
import subprocess
import os
import re
import csv
from sqlalchemy import create_engine
from sqlalchemy.sql import select, and_, case
from sqlalchemy import BigInteger, Boolean, Column, Date, DateTime, ForeignKey, Integer, LargeBinary, SmallInteger, String, Table, Text, text, update
from sqlalchemy.orm import relationship, sessionmaker
from sqlalchemy.ext.declarative import declarative_base

Bismita Guha - GSoC'20

About the Project

Open Source Programs (OSP) is an original project which I proposed to AnitaB.org Open Source during GSoC'20. The purpose of this project was to simplify the management work of the mentors and organizations. The goal is to make reviewing and notifying simpler, systematic and manageable. This will help in easy processing and hosting of applications and forms. The following features were to be covered during GSoC as a part of the MVP:

  • Building a Minimal Viable Product (MVP) as the first version of the application.
  • Digitalize student progress tracking
  • Automated updating of Progress Sheets along with the feature of manual editing
  • Complete APIs with CRUD views
  • Add Frontend to support APIs
  • Add relevant documentation and tests for the same.
  • [Detailed Timeline and deliverables](https://docs.google.com/document/d/1xl9F5kMZrKo4mNhnP0SKpk7WkQc8PLca1ym7EZMpjSc/
uploadFile = (file) => {
AWS.config.update({
region: 'ap-south-1',
accessKeyId: process.env.REACT_APP_AWSAccessKeyId,
secretAccessKey: process.env.REACT_APP_AWSSecretKey,
})
const send_file = file
file = file.split('.')
const params = {
ACL: 'public-read',
from rest_framework.response import Response
from osp.models import (
Choice, Checkbox, Dropdown,
Paragraph, ShortAnswer,
Date, Time, FileUpload
)
from osp.serializers.fields import (
ChoiceSerializer, CheckboxSerializer, DropdownSerializer,
ParagraphSerializer, ShortAnswerSerializer, ParagraphSerializer,
import { createStore } from 'redux'
import todoApp from './reducers'
const store = createStore(todoApp)
import { combineReducers } from 'redux'
import {
ADD_TODO,
TOGGLE_TODO,
SET_VISIBILITY_FILTER,
VisibilityFilters
} from './actions'
const { SHOW_ALL } = VisibilityFilters
function visibilityFilter(state = SHOW_ALL, action) {
/*
* action types
*/
export const ADD_TODO = 'ADD_TODO'
export const TOGGLE_TODO = 'TOGGLE_TODO'
export const SET_VISIBILITY_FILTER = 'SET_VISIBILITY_FILTER'
/*
* other constants
const listReducer = (state = initialState, action) => {
switch(action.type) {
case UPDATE_LIST:
return {
...state,
postobject: action.payload,
list: [...state.list.filter(
object => object.id !== action.payload.id
), action.payload]
};
const listReducer = (state = initialState, action) => {
switch(action.type) {
case DELETE_OBJECT:
return {
...state,
list: [...state.list.filter(
object => object.id !== action.payload
)]
};
default:
const listReducer = (state = initialState, action) => {
switch(action.type) {
case POST_LIST:
return {
...state,
postobject: action.payload,
list: [...state.list, action.payload]
};
default:
return state