Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(11)  |  Call(1)  |  Derive(4)  |  Import(6)

src/m/a/mapproxy-HEAD/mapproxy/cache/mbtiles.py   mapproxy(Download)
 
from mapproxy.image import ImageSource
from mapproxy.cache.base import TileCacheBase, FileBasedLocking, tile_buffer, CacheBackendError
from mapproxy.util.fs import ensure_directory
from mapproxy.util.lock import FileLock
        if len(coords) > 1000:
            # SQLite is limited to 1000 args
            raise CacheBackendError('cannot query SQLite for more than 333 tiles')
 
        if self.supports_timestamp:

src/m/a/mapproxy-HEAD/mapproxy/cache/riak.py   mapproxy(Download)
from mapproxy.image import ImageSource
from mapproxy.cache.tile import Tile
from mapproxy.cache.base import (
    TileCacheBase, FileBasedLocking,
    tile_buffer, CacheBackendError,)
class UnexpectedResponse(CacheBackendError):
    pass
 
class RiakCache(TileCacheBase, FileBasedLocking):
    def __init__(self, nodes, protocol, bucket, tile_grid, lock_dir, use_secondary_index=False):

src/m/a/MapProxy-1.6.0/mapproxy/cache/riak.py   MapProxy(Download)
from mapproxy.image import ImageSource
from mapproxy.cache.tile import Tile
from mapproxy.cache.base import (
    TileCacheBase, FileBasedLocking,
    tile_buffer, CacheBackendError,)
class UnexpectedResponse(CacheBackendError):
    pass
 
class RiakCache(TileCacheBase, FileBasedLocking):
    def __init__(self, nodes, protocol, bucket, tile_grid, lock_dir, use_secondary_index=False):

src/m/a/mapproxy-HEAD/mapproxy/cache/couchdb.py   mapproxy(Download)
 
from mapproxy.image import ImageSource
from mapproxy.cache.base import (
    TileCacheBase, FileBasedLocking,
    tile_buffer, CacheBackendError,)
class UnexpectedResponse(CacheBackendError):
    pass
 
class CouchDBCache(TileCacheBase, FileBasedLocking):
    def __init__(self, url, db_name, lock_dir,

src/m/a/MapProxy-1.6.0/mapproxy/cache/couchdb.py   MapProxy(Download)
 
from mapproxy.image import ImageSource
from mapproxy.cache.base import (
    TileCacheBase, FileBasedLocking,
    tile_buffer, CacheBackendError,)
class UnexpectedResponse(CacheBackendError):
    pass
 
class CouchDBCache(TileCacheBase, FileBasedLocking):
    def __init__(self, url, db_name, lock_dir,

src/m/a/mapproxy-HEAD/mapproxy/test/unit/test_cache_tile.py   mapproxy(Download)
from mapproxy.cache.file import FileCache
from mapproxy.cache.mbtiles import MBTilesCache, MBTilesLevelCache
from mapproxy.cache.base import CacheBackendError
from mapproxy.image import ImageSource
from mapproxy.image.opts import ImageOptions