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

All Samples(26)  |  Call(26)  |  Derive(0)  |  Import(0)

src/l/i/livestreamer-1.8.0/src/livestreamer/stream/hds.py   livestreamer(Download)
        cache = Cache(filename="stream.json")
        key = "akamaihd-player:" + pvswf
        cached = cache.get(key)
 
        headers = dict()

src/g/o/gotit-HEAD/addons/backup/zheng.py   gotit(Download)
    cache.set('url',url,500)
    while True:
        result = cache.get('url')
        if result is None:
            result = self.__get_base_url()

src/l/i/livestreamer-HEAD/src/livestreamer/stream/hds.py   livestreamer(Download)
        cache = Cache(filename="stream.json")
        key = "akamaihd-player:" + pvswf
        cached = cache.get(key)
 
        headers = dict()

src/f/l/Flask-OAuthlib-0.4.3/flask_oauthlib/contrib/oauth2.py   Flask-OAuthlib(Download)
    def get(client_id, code):
        """Gets the grant token with the configured cache system"""
        grant = Grant(cache, client_id=client_id, code=code)
        ret = cache.get(grant.key)
        if not ret:

src/f/l/flask-oauthlib-HEAD/flask_oauthlib/contrib/oauth2.py   flask-oauthlib(Download)
    def get(client_id, code):
        """Gets the grant token with the configured cache system"""
        grant = Grant(cache, client_id=client_id, code=code)
        ret = cache.get(grant.key)
        if not ret:

src/c/l/cloudi-0.5.7/cloudi/query.py   cloudi(Download)
    en_word = urllib2.quote(word)
    url = 'http://dict.qq.com/dict?q=' + en_word
    json_str = Cache.get(word)
    if not json_str:
        json_str = _wget(url)

src/w/i/wikidata-HEAD/wikivoyage/importer.py   wikidata(Download)
def getNextConflictNumber():
    if 'value' in cache:
        val = int(CACHE.get('value')) + 1
    else:
        val = 1