This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import md5 | |
import couchdb | |
import random | |
import sys | |
import couchdbkit | |
from datetime import datetime | |
count = int(sys.argv[1]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import md5 | |
import couchdb | |
import random | |
import sys | |
from datetime import datetime | |
count = int(sys.argv[1]); | |
couch = couchdb.Server() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import psycopg2 | |
import json | |
import md5 | |
import couchdb | |
import random | |
import sys | |
from datetime import datetime | |
conn_string= "host='localhost' dbname='postgres' user='ketulshah'" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import psycopg2 | |
import json | |
import md5 | |
import random | |
import sys | |
from datetime import datetime | |
conn_string= "host='localhost' dbname='postgres' user='ketulshah'" | |
conn= psycopg2.connect(conn_string) |