@@ -0,0 +1,951 @@
+import string%0Aimport random%0A%0A_global_args = %7B%7D%0A_charset = string.ascii_letters + string.digits%0A%0Adef get_global_arg(name):%0A    return _global_args.get(name, None)%0A%0Adef globals():%0A    return _global_args.keys()%0A%0Adef remove_global_arg(global_arg_name):%0A    global _global_args%0A    if global_arg_name is not None and global_arg_name in _global_args:%0A        del _global_args%5Bglobal_arg_name%5D%0A%0Adef set_global_arg(global_arg):%0A    name = _generate_global_arg_name()%0A    global _global_args%0A    _global_args%5Bname%5D = global_arg%0A    return name%0A%0Adef _generate_global_arg_name():%0A    while True:%0A        global_arg_name = _random_string(10, prefix='_tmp_global_arg')%0A        if global_arg_name not in _global_args:%0A            return global_arg_name%0A%0Adef _random_string(length, prefix='', suffix=''):%0A    return '%7B%7D%7B%7D%7B%7D'.format(%0A        prefix+'_' if prefix else '',%0A        ''.join(random.sample(_charset, length)),%0A        '_'+suffix if suffix else ''%0A    )%0A%0A

add global_manager module