def get_version():
    version = {}
    with open("bqueryd/version.py") as fp:
        exec (fp.read(), version)
    return version
def chunkstring(s, n):
    return [ s[i:i+n] for i in xrange(0, len(s), n) ]