s3.utils

Module Contents

Classes

S3Keys(self,s3Bucket,prefix,chunkSize=1,srids=list,bbox=list,maxKeys=32000,imageFormat=”png”,lowRes=0,highRes=float) This class is used to generate chunks of keys, based on prefix key.

Functions

chunks(l,n)
getMaxChunkSize(nbProc,nbKeys,maxChunkSize=1000)
getKeysFromS3(s3Bucket,prefix,maxKeys)
getKeysTilingScheme(prefix,srids,bbox,imageFormat,lowRes,highRes)
chunks(l, n)
getMaxChunkSize(nbProc, nbKeys, maxChunkSize=1000)
getKeysFromS3(s3Bucket, prefix, maxKeys)
getKeysTilingScheme(prefix, srids, bbox, imageFormat, lowRes, highRes)
class S3Keys(s3Bucket, prefix, chunkSize=1, srids=list, bbox=list, maxKeys=32000, imageFormat="png", lowRes=0, highRes=float)

This class is used to generate chunks of keys, based on prefix key.

__init__(s3Bucket, prefix, chunkSize=1, srids=list, bbox=list, maxKeys=32000, imageFormat="png", lowRes=0, highRes=float)
__str__()
__iter__()
__len__()
chunk(chunkSize)
_iterKeys()
prefix()
chunkedKeys()
chunkSize()
maxKeys()