Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)
dict() -> new empty dictionary
dict(mapping) -> new dictionary initialized from a mapping object's
    (key, value) pairs
dict(iterable) -> new dictionary initialized as if via:
    d = {}
    for k, v in iterable:
        d[k] = v
dict(**kwargs) -> new dictionary initialized with the name=value pairs
    in the keyword argument list.  For example:  dict(one=1, two=2)

src/c/e/census-HEAD/dataprocessing/deploy_lookups.py   census(Download)
 
c = S3Connection()
bucket = c.get_bucket(config.S3_BUCKETS[ENVIRONMENT])
 
def push(state, slug, obj):

src/c/e/census-HEAD/dataprocessing/deploy_csv.py   census(Download)
    tokens = {'sumlev': sumlev, 'state': state_fips, 'table_id': table_id }
    c = S3Connection()
    bucket = c.get_bucket(config.S3_BUCKETS[ENVIRONMENT])
    k = Key(bucket)
    k.key = '%(state)s/all_%(sumlev)s_in_%(state)s.%(table_id)s.csv' % (tokens)

src/c/e/census-HEAD/dataprocessing/update_state_list.py   census(Download)
def update_state_list(environment, state, clear=False, remove=False):
    c = S3Connection()
    bucket = c.get_bucket(config.S3_BUCKETS[environment])
 
    k = Key(bucket)

src/c/e/census-HEAD/dataprocessing/make_state_public.py   census(Download)
 
c = S3Connection()
bucket = c.get_bucket(config.S3_BUCKETS[ENVIRONMENT])
 
for i, k in enumerate(bucket.list('%s/' % STATE_FIPS)):

src/c/e/census-HEAD/dataprocessing/deploy_labels.py   census(Download)
 
c = S3Connection()
bucket = c.get_bucket(config.S3_BUCKETS[ENVIRONMENT])
 
for dataset in collection.find():

src/c/e/census-HEAD/dataprocessing/deploy_data.py   census(Download)
 
c = S3Connection()
bucket = c.get_bucket(config.S3_BUCKETS[ENVIRONMENT])
 
for geography in collection.find():