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

All Samples(66)  |  Call(0)  |  Derive(36)  |  Import(30)
base validator class

src/d/j/django-admin-report-HEAD/example/lib/reportlab/graphics/charts/axes.py   django-admin-report(Download)
"""
 
from reportlab.lib.validators import    isNumber, isNumberOrNone, isListOfStringsOrNone, isListOfNumbers, \
                                        isListOfNumbersOrNone, isColorOrNone, OneOf, isBoolean, SequenceOf, \
                                        isString, EitherOr, Validator, _SequenceTypes, NoneOr, isInstanceOf, \
class _isListOfDaysAndMonths(Validator):
    """This accepts and validates lists of strings like "31-Dec" i.e. dates
    of no particular year.  29 Feb is allowed.  These can be used
    for recurring dates.
    """

src/d/j/django-admin-report-HEAD/example/lib/reportlab/graphics/barcode/eanbc.py   django-admin-report(Download)
from reportlab.lib import colors
from reportlab.pdfbase.pdfmetrics import stringWidth
from reportlab.lib.validators import isNumber, isColor, isString, Validator, isBoolean
from reportlab.lib.attrmap import *
from reportlab.graphics.charts.areas import PlotArea
class isEan13String(Validator):
    def test(self,x):
        return type(x) is str and len(x)<=12 and len([c for c in x if c in "0123456789"])==12
isEan13String = isEan13String()
 
class isEan8String(Validator):
    def test(self,x):
        return type(x) is str and len(x)<=7 and len([c for c in x if c in "0123456789"])==7
isEan8String = isEan8String()
 

src/d/j/django-admin-report-HEAD/example/lib/reportlab/graphics/barcode/qr.py   django-admin-report(Download)
from reportlab.graphics.shapes import Group, Rect
from reportlab.lib import colors
from reportlab.lib.validators import isNumber, isColor, isString, Validator
from reportlab.lib.attrmap import *
from reportlab.graphics.charts.areas import PlotArea
from reportlab.lib.units import mm
 
class isLevel(Validator):

src/d/j/django-admin-report-HEAD/example/lib/reportlab/graphics/widgets/markers.py   django-admin-report(Download)
from reportlab.graphics.widgets.signsandsymbols import SmileyFace
from reportlab.graphics.widgetbase import Widget
from reportlab.lib.validators import isNumber, isColorOrNone, OneOf, Validator
from reportlab.lib.attrmap import AttrMap, AttrMapValue
from reportlab.lib.colors import black
class _isSymbol(Validator):
    def test(self,x):
        return hasattr(x,'__call__') or isinstance(x,Marker) or isinstance(x,Flag) \
                or (type(x)==ClassType and issubclass(x,Widget))
 

src/m/w/mwlib.ext-0.13.2/upstream-src/src/reportlab/graphics/charts/axes.py   mwlib.ext(Download)
"""
 
from reportlab.lib.validators import    isNumber, isNumberOrNone, isListOfStringsOrNone, isListOfNumbers, \
                                        isListOfNumbersOrNone, isColorOrNone, OneOf, isBoolean, SequenceOf, \
                                        isString, EitherOr, Validator, _SequenceTypes, NoneOr, isInstanceOf, \
class _isListOfDaysAndMonths(Validator):
    """This accepts and validates lists of strings like "31-Dec" i.e. dates
    of no particular year.  29 Feb is allowed.  These can be used
    for recurring dates.
    """

src/i/e/iellos-HEAD/lib/reportlab/graphics/charts/axes.py   iellos(Download)
"""
 
from reportlab.lib.validators import    isNumber, isNumberOrNone, isListOfStringsOrNone, isListOfNumbers, \
                                        isListOfNumbersOrNone, isColorOrNone, OneOf, isBoolean, SequenceOf, \
                                        isString, EitherOr, Validator, _SequenceTypes, NoneOr, isInstanceOf, \
class _isListOfDaysAndMonths(Validator):
    """This accepts and validates lists of strings like "31-Dec" i.e. dates
    of no particular year.  29 Feb is allowed.  These can be used
    for recurring dates.
    """

src/r/e/ReportLab-HEAD/src/reportlab/graphics/charts/axes.py   ReportLab(Download)
"""
 
from reportlab.lib.validators import    isNumber, isNumberOrNone, isListOfStringsOrNone, isListOfNumbers, \
                                        isListOfNumbersOrNone, isColorOrNone, OneOf, isBoolean, SequenceOf, \
                                        isString, EitherOr, Validator, _SequenceTypes, NoneOr, isInstanceOf, \
class _isListOfDaysAndMonths(Validator):
    """This accepts and validates lists of strings like "31-Dec" i.e. dates
    of no particular year.  29 Feb is allowed.  These can be used
    for recurring dates.
    """

src/r/e/reportlab-3.1.8/src/reportlab/graphics/charts/axes.py   reportlab(Download)
"""
 
from reportlab.lib.validators import    isNumber, isNumberOrNone, isListOfStringsOrNone, isListOfNumbers, \
                                        isListOfNumbersOrNone, isColorOrNone, OneOf, isBoolean, SequenceOf, \
                                        isString, EitherOr, Validator, NoneOr, isInstanceOf, \
class _isListOfDaysAndMonths(Validator):
    """This accepts and validates lists of strings like "31-Dec" i.e. dates
    of no particular year.  29 Feb is allowed.  These can be used
    for recurring dates.
    """

src/m/a/mangareader-to-ebook-HEAD/reportlab/graphics/charts/axes.py   mangareader-to-ebook(Download)
"""
 
from reportlab.lib.validators import    isNumber, isNumberOrNone, isListOfStringsOrNone, isListOfNumbers, \
                                        isListOfNumbersOrNone, isColorOrNone, OneOf, isBoolean, SequenceOf, \
                                        isString, EitherOr, Validator, _SequenceTypes, NoneOr, isInstanceOf, \
class _isListOfDaysAndMonths(Validator):
    """This accepts and validates lists of strings like "31-Dec" i.e. dates
    of no particular year.  29 Feb is allowed.  These can be used
    for recurring dates.
    """

src/d/i/digest-HEAD/lib/reportlab/graphics/charts/axes.py   digest(Download)
import string
 
from reportlab.lib.validators import    isNumber, isNumberOrNone, isListOfStringsOrNone, isListOfNumbers, \
                                        isListOfNumbersOrNone, isColorOrNone, OneOf, isBoolean, SequenceOf, \
                                        isString, EitherOr, Validator, _SequenceTypes, NoneOr, isInstanceOf
class _isListOfDaysAndMonths(Validator):
    """This accepts and validates lists of strings like "31-Dec" i.e. dates
    of no particular year.  29 Feb is allowed.  These can be used
    for recurring dates.
    """

  1 | 2 | 3  Next