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

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

src/p/y/py2FaceR-0.1.1/src/py2facer/commands/base.py   py2FaceR(Download)
 
from py2facer.lib import picasa, image
from py2facer.lib.flickr import FlickrImageManager, FlickrContactManager, \
    FlickrAPIManager, DbProxy
from py2facer.lib.utils import InvalidConfig
        db_proxy = DbProxy(db_url=self.cmd_config['db_url'])
        fcm = FlickrContactManager(db_proxy=db_proxy)
        fapi = FlickrAPIManager()
        self.LOGGER.info('Logging into flickr')
        fapi.login()
        iniparser.add_people_to_image(images)
        db_proxy = DbProxy(db_url=self.cmd_config['db_url'])
        api_mgr = FlickrAPIManager()
        img_mgr = FlickrImageManager(db_proxy=db_proxy, flickr_proxy=api_mgr)
        img_mgr.add_photo(images)