Skip to content

Instantly share code, notes, and snippets.

@detooley
detooley / buid_couch_db.py
Created January 10, 2022 23:02
Simple JSON to CouchDb
import json
import couchdb
user = "bob"
password = "isbad@chess"
couchserver = couchdb.Server("http://%s:%s@127.0.0.1:5984" % (user, password))
dbname = "nice_proposals"
if dbname in couchserver:
db = couchserver[dbname]
else:

Keybase proof

I hereby claim:

  • I am detooley on github.
  • I am detooley (https://keybase.io/detooley) on keybase.
  • I have a public key whose fingerprint is E73B 3BB7 72CE 689D 6D39 C91D DA61 0282 29F9 4EB0

To claim this, I am signing this object: