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

All Samples(5)  |  Call(3)  |  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
            gcontacts.parse_xml(contacts_file)
        db_proxy = DbProxy(db_url=self.cmd_config['db_url'])
        fcm = FlickrContactManager(db_proxy=db_proxy)
        fapi = FlickrAPIManager()
        self.LOGGER.info('Logging into 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.picasa_contacts = picasa.ContactParser()
        self.db_proxy = DbProxy(db_url=tests.TESTDBURL % tests.DB_COUNTER)
        self.contactmgr = FlickrContactManager(db_proxy=self.db_proxy)
 
    def tearDown(self):
    def syncface(self, img):
        picasa_contacts = picasa.ContactParser()
        picasa_faceparser = picasa.FaceParser()
        contactmgr = FlickrContactManager(db_proxy=self.db_proxy)
        contact = picasa.Contact('bob', ['bob@gmail.com'], 'contact_hash')