Skip to content

Instantly share code, notes, and snippets.

View summer-liu's full-sized avatar

Tao Liu summer-liu

  • Beijing, China
View GitHub Profile
{
"_id": ObjectId,
"user": ObjectId,
"goal": Number,
"semester": String,
"publisher": String,
"location": String,
"gender": String,
"is_VIP": Boolean,
"VIP_type": String,
from pymongo import MongoClient
import math
import datetime
import calendar
import multiprocessing
import threading
NUM_OF_PROCESS = 6
NUM_OF_WORKERS = 10