:mod:`geoform.form` =================== .. py:module:: geoform.form Module Contents --------------- .. py:class:: BBoxValidator Bounding-Box validator which succeeds if the bbox value has the format :attr:`minx,miny,maxx,maxy` and values are in range (``-180 <= x <=180``, ``-90 <= y <=90``). .. py:class:: RangeValidator Range validator which succeeds if the seperator is a dash, both numbers can be converted to ints and the min < max and min > 0 .. py:class:: LongitudeValidator Longitude validator to ensure any input values are between [-180,180] .. py:class:: LatitudeValidator Latitude validator to ensure any input values are between [-90,90] .. py:class:: LongitudeBoundaryValidator Longitude boundary validator to ensure input string is a tuple between [-180,180] .. py:class:: LatitudeBoundaryValidator Latitude boundary validator to ensure input string is a tuple between [-90,90] .. py:class:: TupleFloatValidator Float tuple validator .. py:class:: LonLatTupleValidator Longitude, Latitude tuple validator .. py:class:: URLValidator(allowed_schemes=None) URL validator which can configured with allowed URL schemes. .. py:class:: TextValidator(restricted_chars=None) .. py:class:: FileUploadValidator(storage,max_size) Runs all validators for file upload checks. .. py:class:: FileFormatAllowedValidator(storage) File format extension is allowed. https://pythonhosted.org/pyramid_storage/ .. py:class:: FileSizeLimitValidator(storage,max_size=2) File size limit validator. You can configure the maximum size by setting the max_size option to the maximum number of megabytes that you want to allow.