BigBrotherBot v1.9.0
System Development Information for the BigBrotherBot project.

b3::lib::beaker::util Namespace Reference

Classes

class  ThreadLocal
class  SyncDict
class  WeakValuedRegistry

Functions

def verify_directory
def deprecated
def encoded_path
def verify_options
def verify_rules
def coerce_session_params
def coerce_cache_params
def parse_cache_config_options
def func_namespace

Variables

tuple py3k = getattr(sys, 'py3kwarning', False)
tuple py24 = sys.version_info<(2,5)
tuple jython = sys.platform.startswith('java')
list __all__
 sha1 = None

Detailed Description

Beaker utilities

Function Documentation

def b3::lib::beaker::util::coerce_cache_params (   params)
def b3::lib::beaker::util::coerce_session_params (   params)
def b3::lib::beaker::util::deprecated (   message)
def b3::lib::beaker::util::encoded_path (   root,
  identifiers,
  extension = ".enc",
  depth = 3,
  digest_filenames = True 
)
Generate a unique file-accessible path from the given list of
identifiers starting at the given root directory.
def b3::lib::beaker::util::func_namespace (   func)
Generates a unique namespace for a function
def b3::lib::beaker::util::parse_cache_config_options (   config,
  include_defaults = True 
)
Parse configuration options and validate for use with the
CacheManager
def b3::lib::beaker::util::verify_directory (   dir)
verifies and creates a directory.  tries to
ignore collisions with other threads and processes.
def b3::lib::beaker::util::verify_options (   opt,
  types,
  error 
)
def b3::lib::beaker::util::verify_rules (   params,
  ruleset 
)

Variable Documentation

Initial value:
00001 ["ThreadLocal", "Registry", "WeakValuedRegistry", "SyncDict",
00002             "encoded_path", "verify_directory"]
tuple b3::lib::beaker::util::jython = sys.platform.startswith('java')
tuple b3::lib::beaker::util::py24 = sys.version_info<(2,5)
tuple b3::lib::beaker::util::py3k = getattr(sys, 'py3kwarning', False)
 All Classes Namespaces Files Functions Variables Properties