cherrypy.lib package¶
Submodules¶
- cherrypy.lib.auth_basic module
- cherrypy.lib.auth_digest module
- cherrypy.lib.caching module
- cherrypy.lib.covercp module
- cherrypy.lib.cpstats module
- cherrypy.lib.cptools module
MonitoredHeaderMap
SessionAuth
SessionAuth._debug_message()
SessionAuth.anonymous()
SessionAuth.check_username_and_password()
SessionAuth.debug
SessionAuth.do_check()
SessionAuth.do_login()
SessionAuth.do_logout()
SessionAuth.login_screen()
SessionAuth.on_check()
SessionAuth.on_login()
SessionAuth.on_logout()
SessionAuth.run()
SessionAuth.session_key
accept()
allow()
autovary()
convert_params()
flatten()
ignore_headers()
log_hooks()
log_request_headers()
log_traceback()
proxy()
redirect()
referer()
response_headers()
session_auth()
trailing_slash()
validate_etags()
validate_since()
- cherrypy.lib.encoding module
- cherrypy.lib.gctools module
- cherrypy.lib.headers module
- cherrypy.lib.httputil module
- cherrypy.lib.jsontools module
- cherrypy.lib.locking module
- cherrypy.lib.profiler module
- cherrypy.lib.reprconf module
- Namespaces
Config
NamespaceSet
Parser
_Builder
_Builder._build_call35()
_Builder.astnode()
_Builder.build()
_Builder.build_Add()
_Builder.build_Attribute()
_Builder.build_BinOp()
_Builder.build_Call()
_Builder.build_Constant()
_Builder.build_Dict()
_Builder.build_Index()
_Builder.build_List()
_Builder.build_Mult()
_Builder.build_Name()
_Builder.build_NameConstant()
_Builder.build_NoneType()
_Builder.build_Num()
_Builder.build_Str()
_Builder.build_Subscript()
_Builder.build_Tuple()
_Builder.build_USub()
_Builder.build_UnaryOp()
attributes()
modules()
unrepr()
- cherrypy.lib.sessions module
- Locking sessions
- Expiring Sessions
- Session Fixation Protection
- Sharing Sessions
- Expiration Dates
FileSession
MemcachedSession
RamSession
Session
Session._id
Session._regenerate()
Session.clean_freq
Session.clean_thread
Session.clean_up()
Session.clear()
Session.debug
Session.delete()
Session.generate_id()
Session.get()
Session.id
Session.id_observers
Session.items()
Session.keys()
Session.load()
Session.loaded
Session.locked
Session.missing
Session.now()
Session.originalid
Session.pop()
Session.regenerate()
Session.regenerated
Session.save()
Session.setdefault()
Session.timeout
Session.update()
Session.values()
_add_MSIE_max_age_workaround()
close()
expire()
init()
save()
set_response_cookie()
- cherrypy.lib.static module
- cherrypy.lib.xmlrpcutil module
Module contents¶
CherryPy Library.
- class cherrypy.lib.file_generator(input, chunkSize=65536)[source]¶
Bases:
object
Yield the given input (a file object) in chunks (default 64k).
(Core)
- next()¶
Return next chunk of file.
- cherrypy.lib.file_generator_limited(fileobj, count, chunk_size=65536)[source]¶
Yield the given file object in chunks.
Stopps after
count
bytes has been emitted. Default chunk size is 64kB. (Core)
- cherrypy.lib.is_closable_iterator(obj)[source]¶
Detect if the given object is both closable and iterator.