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/f/e/feedplatform-HEAD/examples/python/loop.py   feedplatform(Download)
def init_config():
    from feedplatform.lib import collect_feed_data, store_feed_images
    config.configure(**{
        'DATABASE': 'sqlite:%s' % dbfile,
        'ADDINS': [

src/f/e/feedplatform-HEAD/tests/lib/feeds/images/test_store_feed_images.py   feedplatform(Download)
import tempfile
from os import path
from feedplatform import test as feedev
from feedplatform.lib import handle_feed_images, store_feed_images
from _image_test_utils import FeedWithImage, ValidPNGImage
def test_original_format():
    # handle_feed_images not specified, this tests the dependency
    ADDINS = [store_feed_images((tempdir, '%(model_id)s.%(extension)s'))]
 
    class TestImage(feedev.File):
def test_force_format():
    ADDINS = [handle_feed_images,
              store_feed_images((tempdir, '%(model_id)s.gif'), format='gif')]
 
    class TestImage(feedev.File):