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

All Samples(31)  |  Call(31)  |  Derive(0)  |  Import(0)

src/f/l/flashbake-HEAD/src/flashbake/plugins/weather.py   flashbake(Download)
    def __init__(self, plugin_spec):
        AbstractMessagePlugin.__init__(self, plugin_spec, True)
        self.define_property('city')
        self.define_property('units', required=False, default='imperial')
        self.share_property('tz', plugin_spec=timezone.PLUGIN_SPEC)

src/f/l/flashbake-0.27/src/flashbake/plugins/music.py   flashbake(Download)
    def __init__(self, plugin_spec):
        """ Add an optional property for specifying a different location for the
            Banshee database. """
        AbstractMessagePlugin.__init__(self, plugin_spec)
        self.define_property('db', default=os.path.join(os.path.expanduser('~'), '.config', 'banshee-1', 'banshee.db'))
        self.define_property('limit', int, default=3)
        self.define_property('last_played_format')
    def __init__(self, plugin_spec):
        AbstractMessagePlugin.__init__(self, plugin_spec)
        self.define_property('osascript')
 
    def init(self, config):

src/f/l/flashbake-HEAD/src/flashbake/plugins/music.py   flashbake(Download)
    def __init__(self, plugin_spec):
        """ Add an optional property for specifying a different location for the
            Banshee database. """
        AbstractMessagePlugin.__init__(self, plugin_spec)
        self.define_property('db', default=os.path.join(os.path.expanduser('~'), '.config', 'banshee-1', 'banshee.db'))
        self.define_property('limit', int, default=3)
        self.define_property('last_played_format')
    def __init__(self, plugin_spec):
        AbstractMessagePlugin.__init__(self, plugin_spec)
        self.define_property('osascript')
 
    def init(self, config):

src/f/l/flashbake-0.27/src/flashbake/plugins/microblog.py   flashbake(Download)
            'tweeted_on': {'path':'created_at', 'transform':utc_to_local}, \
        }
        self.define_property('user', required=True)
        self.define_property('limit', int, False, 5)
        self.define_property('optional_fields')

src/f/l/flashbake-0.27/src/flashbake/plugins/lastfm.py   flashbake(Download)
    def __init__(self, plugin_spec):
        AbstractMessagePlugin.__init__(self, plugin_spec, True)
        self.define_property('user_name', required=True)
        self.define_property('api_key', required=True)
        self.define_property('limit', int, False, 5)

src/f/l/flashbake-0.27/src/flashbake/plugins/feed.py   flashbake(Download)
    def __init__(self, plugin_spec):
        AbstractMessagePlugin.__init__(self, plugin_spec, True)
        self.define_property('url', required=True)
        self.define_property('author')
        self.define_property('limit', int, False, 5)

src/f/l/flashbake-HEAD/src/flashbake/plugins/microblog.py   flashbake(Download)
            'tweeted_on': {'path':'created_at', 'transform':utc_to_local}, \
        }
        self.define_property('user', required=True)
        self.define_property('limit', int, False, 5)
        self.define_property('optional_fields')

src/f/l/flashbake-HEAD/src/flashbake/plugins/lastfm.py   flashbake(Download)
    def __init__(self, plugin_spec):
        AbstractMessagePlugin.__init__(self, plugin_spec, True)
        self.define_property('user_name', required=True)
        self.define_property('api_key', required=True)
        self.define_property('limit', int, False, 5)

src/f/l/flashbake-HEAD/src/flashbake/plugins/feed.py   flashbake(Download)
    def __init__(self, plugin_spec):
        AbstractMessagePlugin.__init__(self, plugin_spec, True)
        self.define_property('url', required=True)
        self.define_property('author')
        self.define_property('limit', int, False, 5)

src/f/l/flashbake-0.27/src/flashbake/plugins/weather.py   flashbake(Download)
    def __init__(self, plugin_spec):
        AbstractMessagePlugin.__init__(self, plugin_spec, True)
        self.define_property('city')
        self.share_property('tz', plugin_spec=timezone.PLUGIN_SPEC)
        ## plugin uses location_location from Location plugin

  1 | 2  Next