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

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

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'])
        api_mgr = FlickrAPIManager()
        img_mgr = FlickrImageManager(db_proxy=db_proxy, flickr_proxy=api_mgr)
        img_mgr.add_photo(images)
        self.LOGGER.info('Finding corresponding images on Flickr')

src/p/y/py2FaceR-0.1.1/src/py2facer/tests/flickr.py   py2FaceR(Download)
import unittest
from py2facer.lib import image, picasa
from py2facer.lib.flickr import FlickrContactManager, FlickrContact, DbProxy,\
    FlickrImageManager, FlickrImage
from py2facer.lib.utils import InvalidState
        self.flickr_api_mgr = FlickrApiMgrStub()
        self.db_proxy = DbProxy(db_url=tests.TESTDBURL % tests.DB_COUNTER)
        self.photomgr = FlickrImageManager(db_proxy=self.db_proxy)
 
    def tearDown(self):