Package web :: Package web
[hide private]
[frames] | no frames]

Package web

source code

web.py: makes web apps (http://webpy.org)


Version: 0.34

Authors:
Aaron Swartz <me@aaronsw.com>, Anand Chitipothu <anandology@gmail.com>

License: public domain

Submodules [hide private]

Variables [hide private]
  __contributors__ = 'see http://webpy.org/changes'
  __package__ = 'web.web'
  config = <Storage {'debug': True, '__doc__': '\nA configuratio...
  ctx = <Storage {'__doc__': '\nA `storage` object containing va...
  iters = (<type 'list'>, <type 'tuple'>, <type 'set'>, <type 's...
  re_compile = memoize(re.compile)
Variables Details [hide private]

config

Value:
<Storage {'debug': True, '__doc__': '\nA configuration object for vari\
ous aspects of web.py.\n\n`debug`\n   : when True, enables reloading, \
disabled template caching and sets internalerror to debugerror.\n', 's\
ession_parameters': <Storage {'ignore_expiry': True, 'expired_message'\
: 'Session expired', 'timeout': 86400, 'ignore_change_ip': True, 'cook\
ie_domain': None, 'secret_key': 'fLjUfxqXtfNoIldA0A0J', 'cookie_name':\
 'webpy_session_id'}>}>

ctx

Value:
<Storage {'__doc__': '\nA `storage` object containing various informat\
ion about the request:\n  \n`environ` (aka `env`)\n   : A dictionary c\
ontaining the standard WSGI environment variables.\n\n`host`\n   : The\
 domain (`Host` header) requested by the user.\n\n`home`\n   : The bas\
e path for the application.\n\n`ip`\n   : The IP address of the reques\
ter.\n\n`method`\n   : The HTTP method used.\n\n`path`\n   : The path \
request.\n   \n`query`\n   : If there are no query arguments, the empt\
y string. Otherwise, a `?` followed\n     by the query string.\n\n`ful\
...

iters

Value:
(<type 'list'>, <type 'tuple'>, <type 'set'>, <type 'set'>)