Did I find the right examples for you? yes no

All Samples(4)  |  Call(1)  |  Derive(0)  |  Import(3)

src/c/p/cpucoolerchart-0.1.dev2/cpucoolerchart/crawler.py   cpucoolerchart(Download)
                           DANAWA_ID_MAPPING)
from .extensions import db, cache
from .models import Maker, Heatsink, FanConfig, Measurement
 
 
    heatsink = Heatsink.query.find(**keys)
    if heatsink is None:
        heatsink = Heatsink(**data)
        db.session.add(heatsink)
        _log('debug', u'Added new heatsink: %s', heatsink.name)

src/c/p/cpucoolerchart-0.1.dev2/cpucoolerchart/views.py   cpucoolerchart(Download)
from .crawler import is_update_needed, update_data
from .extensions import db, cache, update_queue
from .models import Maker, Heatsink, FanConfig, Measurement
 
 

src/c/p/cpucoolerchart-0.1.dev2/cpucoolerchart/command.py   cpucoolerchart(Download)
from .crawler import update_data, print_danawa_results
from .extensions import db, cache, redis, update_queue
from .models import Maker, Heatsink, FanConfig, Measurement
from .views import export_data