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
MonitoredHeaderMapSessionAuthSessionAuth._debug_message()SessionAuth.anonymous()SessionAuth.check_username_and_password()SessionAuth.debugSessionAuth.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
ConfigNamespaceSetParser_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
FileSessionMemcachedSessionRamSessionSessionSession._idSession._regenerate()Session.clean_freqSession.clean_threadSession.clean_up()Session.clear()Session.debugSession.delete()Session.generate_id()Session.get()Session.idSession.id_observersSession.items()Session.keys()Session.load()Session.loadedSession.lockedSession.missingSession.now()Session.originalidSession.pop()Session.regenerate()Session.regeneratedSession.save()Session.setdefault()Session.timeoutSession.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:
objectYield 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
countbytes 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.