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

All Samples(8)  |  Call(4)  |  Derive(0)  |  Import(4)

src/m/a/MapProxy-1.6.0/mapproxy/config/loader.py   MapProxy(Download)
    def _mbtiles_cache(self, grid_conf, file_ext):
        from mapproxy.cache.mbtiles import MBTilesCache
 
        filename = self.conf['cache'].get('filename')
        if not filename:
 
        return MBTilesCache(
            mbfile_path,
            lock_dir=self.lock_dir(),
        )

src/m/a/mapproxy-HEAD/mapproxy/config/loader.py   mapproxy(Download)
    def _mbtiles_cache(self, grid_conf, file_ext):
        from mapproxy.cache.mbtiles import MBTilesCache
 
        filename = self.conf['cache'].get('filename')
        if not filename:
 
        return MBTilesCache(
            mbfile_path,
            lock_dir=self.lock_dir(),
        )

src/m/a/mapproxy-HEAD/mapproxy/test/unit/test_cache_tile.py   mapproxy(Download)
from mapproxy.cache.tile import Tile
from mapproxy.cache.file import FileCache
from mapproxy.cache.mbtiles import MBTilesCache, MBTilesLevelCache
from mapproxy.cache.base import CacheBackendError
from mapproxy.image import ImageSource
    def setup(self):
        TileCacheTestBase.setup(self)
        self.cache = MBTilesCache(os.path.join(self.cache_dir, 'tmp.mbtiles'))
 
    def test_load_empty_tileset(self):

src/m/a/MapProxy-1.6.0/mapproxy/test/unit/test_cache_tile.py   MapProxy(Download)
from mapproxy.cache.tile import Tile
from mapproxy.cache.file import FileCache
from mapproxy.cache.mbtiles import MBTilesCache
from mapproxy.image import ImageSource
from mapproxy.image.opts import ImageOptions
    def setup(self):
        TileCacheTestBase.setup(self)
        self.cache = MBTilesCache(os.path.join(self.cache_dir, 'tmp.mbtiles'))