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

All Samples(20)  |  Call(0)  |  Derive(18)  |  Import(2)
Base knife mixin.

src/k/n/knife-0.5.11/knife/lazy.py   knife(Download)
from stuf.iterable import count
 
from knife.base import SLOTS, KnifeMixin
from knife.mixins import (
    RepeatMixin, MapMixin, SliceMixin, ReduceMixin, FilterMixin, MathMixin,
class lazyknife(
    _LazyMixin, KnifeMixin, FilterMixin, MapMixin, ReduceMixin, OrderMixin,
    RepeatMixin, MathMixin, SliceMixin, CmpMixin,
):
 
class cmpknife(_LazyMixin, KnifeMixin, CmpMixin):
 
    '''
    Lazier evaluated comparing knife. Provides comparison operations for
    incoming things.
class filterknife(_LazyMixin, KnifeMixin, FilterMixin):
 
    '''
    Lazier evaluated filtering knife. Provides filtering operations for
    incoming things.
class mapknife(_LazyMixin, KnifeMixin, MapMixin):
 
    '''
    Lazier evaluated mapping knife. Provides `mapping <http://docs.python.org
    /library/functions.html#map>`_ operations for incoming things.

src/k/n/knife-0.5.11/knife/active.py   knife(Download)
from stuf.utils import loads, optimize, moptimize
 
from knife.base import KnifeMixin, SLOTS
from knife.mixins import (
    RepeatMixin, MapMixin, SliceMixin, ReduceMixin, FilterMixin, MathMixin,
class activeknife(
    _ActiveMixin, KnifeMixin, FilterMixin, MapMixin, ReduceMixin,
    OrderMixin, RepeatMixin, MathMixin, SliceMixin, CmpMixin,
):
 
class cmpknife(_ActiveMixin, KnifeMixin, CmpMixin):
 
    '''
    Actively evaluated comparing knife. Provides comparison operations for
    incoming things.
class filterknife(_ActiveMixin, KnifeMixin, FilterMixin):
 
    '''
    Actively evaluated filtering knife. Provides filtering operations for
    incoming things.
class mapknife(_ActiveMixin, KnifeMixin, MapMixin):
 
    '''
    Actively evaluated mapping knife. Provides `mapping <http://docs.python.org
    /library/functions.html#map>`_ operations for incoming things.