email.mime.base.MIMEBase:
Base class for MIME specializations.
web2py.gluon.tools.Mail.Attachment:
Email attachment
Arguments:
payload: path to file or file-like object with read() method
filename: name of the attachment stored in message; if set to
None, it will be fetched from payload path; file-like
object payload must have explicit filename specified
content_id: id of the attachment; automatically contained within
< and >
content_type: content type of the attachment; if set to None,
it will be fetched from filename using gluon.contenttype
module
encoding: encoding of all strings passed to this function (except
attachment body)
Content ID is used to identify attachments within the html body;
in example, attached image with content ID 'photo' may be used in
html message as a source of img tag <img src="cid:photo" />.
google.appengine.ext.db.Property
logging.Filterer:
A base class for loggers and handlers which allows them to share
common code.
logging.Handler:
Handler instances dispatch logging events to specific
destinations.
web2py.gluon.rocket.Worker:
The Worker class is a base class responsible for receiving
connections and (a subclass) will run an application to process the
the connection
web2py.gluon.validators.IS_DECIMAL_IN_RANGE:
Determine that the argument is (or can be represented as) a
Python Decimal, and that it falls within the specified inclusive
range.
web2py.gluon.validators.IS_URL:
Rejects a URL string if any of the following is true:
* The string is empty or None
* The string uses characters that are not allowed in a URL
* The string breaks any of the HTTP syntactic rules
* The URL scheme specified (if one is specified) is not 'http' or 'https'
* The top-level domain (if a host name is specified) does not exist
(These rules are based on RFC 2616: http://www.faqs.org/rfcs/rfc2616.html)
This function only checks the URL's syntax.
web2py.gluon.validators.IS_HTTP_URL:
Rejects a URL string if any of the following is true:
* The string is empty or None
* The string uses characters that are not allowed in a URL
* The string breaks any of the HTTP syntactic rules
* The URL scheme specified (if one is specified) is not 'http' or 'https'
* The top-level domain (if a host name is specified) does not exist
Based on RFC 2616: http://www.faqs.org/rfcs/rfc2616.html
This function only checks the URL's syntax.
web2py.gluon.validators.IS_IMAGE:
Checks if file uploaded through file input was saved in one of
selected image formats and has dimensions (width and height) within
given boundaries.
web2py.gluon.validators.IS_GENERIC_URL:
Rejects a URL string if any of the following is true:
* The string is empty or None
* The string uses characters that are not allowed in a URL
* The URL scheme specified (if one is specified) is not valid
Based on RFC 2396: http://www.faqs.org/rfcs/rfc2396.html
This function only checks the URL's syntax.
web2py.gluon.validators.IS_FLOAT_IN_RANGE:
Determine that the argument is (or can be represented as) a
float, and that it falls within the specified inclusive range.
web2py.gluon.contrib.pymysql.err.DataError:
Exception raised for errors that are due to problems with the
processed data like division by zero, numeric value out of range,
etc.
web2py.gluon.compileapp.mybuiltin:
NOTE could simple use a dict and populate it, NOTE not sure if
this changes things though if monkey patching import.....
web2py.gluon.dal.SQLALL:
Helper class providing a comma-separated string having all the
field names (prefixed by table name and '.')
web2py.gluon.dal.Row:
a dictionary that lets you do d['a'] as well as d.a this is only
used to store a Row
web2py.gluon.storage.Storage:
A Storage object is like a dictionary except `obj.foo` can be
used in addition to `obj['foo']`, and setting obj.foo = None
deletes item foo.
web2py.gluon.globals.Response:
defines the response object and the default values of its
members response.write( ) can be used to write in the output
html
web2py.gluon.sqlhtml.SQLFORM:
SQLFORM is used to map a table (and a current record) into an HTML form
given a SQLTable stored in db.table
generates an insert form::
SQLFORM(db.table)
generates an update form::
record=db.table[some_id]
SQLFORM(db.table, record)
generates an update with a delete button::
SQLFORM(db.table, record, deletable=True)
if record is an int::
record=db.table[record]
optional arguments:
:param fields: a list of fields that should be placed in the form,
default is all.
web2py.gluon.tools.PluginManager:
Plugin Manager is similar to a storage object but it is a single
level singleton this means that multiple instances within the same
thread share the same attributes Its constructor is also
special.
web2py.gluon.dal.Set:
a Set represents a set of records in the database,
the records are identified by the query=Query(...) object.
list:
list() -> new list list(sequence) -> new list initialized
from sequence's items