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 _sqlite_cache(self, grid_conf, file_ext):
        from mapproxy.cache.mbtiles import MBTilesLevelCache
 
        cache_dir = self.conf.get('cache', {}).get('directory')
        if cache_dir:
 
        return MBTilesLevelCache(
            cache_dir,
            lock_dir=self.lock_dir(),
        )

src/m/a/mapproxy-HEAD/mapproxy/config/loader.py   mapproxy(Download)
    def _sqlite_cache(self, grid_conf, file_ext):
        from mapproxy.cache.mbtiles import MBTilesLevelCache
 
        cache_dir = self.conf.get('cache', {}).get('directory')
        if cache_dir:
 
        return MBTilesLevelCache(
            cache_dir,
            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 = MBTilesLevelCache(self.cache_dir)
 
    def test_level_files(self):

src/m/a/MapProxy-1.6.0/mapproxy/test/unit/test_cache_tile.py   MapProxy(Download)
from mapproxy.image import ImageSource
from mapproxy.image.opts import ImageOptions
from mapproxy.cache.mbtiles import MBTilesLevelCache
from mapproxy.test.image import create_tmp_image_buf, is_png
 
    def setup(self):
        TileCacheTestBase.setup(self)
        self.cache = MBTilesLevelCache(self.cache_dir)
 
    def test_level_files(self):