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" />.
imaplib.IMAP4_SSL:
IMAP4 client class over SSL connection
Instantiate with: IMAP4_SSL([host[, port[, keyfile[, certfile]]]])
host - host's name (default: localhost);
port - port number (default: standard IMAP4 SSL port).
imaplib.IMAP4_stream:
IMAP4 client class over a stream
Instantiate with: IMAP4_stream(command)
where "command" is a string that can be passed to os.popen2()
for more documentation see the docstring of the parent class IMAP4.
imaplib._Authenticator:
Private class to provide en/decoding for base64-based
authentication conversation.
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.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_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.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.compileapp.mybuiltin:
NOTE could simple use a dict and populate it, NOTE not sure if
this changes things though if monkey patching import.....
dict:
dict() -> new empty dictionary.
web2py.gluon.dal.DAL:
an instance of this class represents a database connection
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.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.rocket.Rocket:
The Rocket class is responsible for handling threads and
accepting and dispatching connections.
web2py.gluon.dal.IMAPAdapter:
IMAP server adapter
This class is intended as an interface with
email IMAP servers to perform simple queries in the
web2py DAL query syntax, so email read, search and
other related IMAP mail services (as those implemented
by brands like Google(r), and Yahoo!(r)
can be managed from web2py applications.
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.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.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.