Did I find the right examples for you? yes no

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)
Applies a list of python slicing specifications to a number to determine if
that number meets the specifications or not.

Typical Usage:
    >>> sp = location_slicer.SpecProcessor(['1','5','10:20','70:-1'], 'rec incl')
    >>> sp.spec_adjuster(loc_max=80)
    >>> sp.spec_evaluator(5)
    True
    >>> sp.spec_evaluator(0)
    False(more...)

src/d/a/DataGristle-HEAD/gristle/tests/test_location_slicer.py   DataGristle(Download)
 
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))))
import gristle.location_slicer  as mod
 
 

src/d/a/datagristle-0.56/gristle/tests/test_location_slicer.py   datagristle(Download)
 
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))))
import gristle.location_slicer  as mod