

def makeview(viewname):
    import base64, bz2
    from uuid import uuid4
    compressed = bz2.compress(sampleData())
    cellfriendly = base64.b64encode(mygid)
    mygid = uuid4()
    rowdict = {
        'sharelink': ('http://%s/v?k=%s&v=%s' % (globs.HOST, globs.DOCID, mygid)),
        'datestamp': datestamp(),
        'guid': mygid,
        'includecode': '<script src="http://js.cytoscape.org/js/cytoscape.min.js"></script>',
        'compresseddata': cellfriendly,
    }
    return ('made', rowdict)

dataset/ETHPy150Open miklevin/pipulate/common.py makeview/VarMisuse@37/45 `compressed`->`mygid`