Module Import alias Import alias Import alias Import alias Import alias identifier ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Num ListLoad Dict body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num While BoolOpAnd UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr BoolOpOr CompareLtE AttributeLoad NameLoad attr Num CompareLt NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AugAssignAdd NameStore Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults vararg kwarg body Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str BinOpMult Num BinOpLShift Num Num Assign SubscriptStore NameLoad Index Str BinOpMult Num BinOpLShift Num Num Assign SubscriptStore NameLoad Index Str Num Assign SubscriptStore NameLoad Index Str Num For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Call NameLoad Str Str FunctionDef arguments args NameParam NameParam NameParam defaults vararg kwarg body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad Call NameLoad attr Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Dict Assign SubscriptStore NameLoad Index Str Dict Assign SubscriptStore NameLoad Index Str Dict Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListComp Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str comprehension NameStore Call AttributeLoad NameLoad attr Return Call NameLoad ListComp Call NameLoad NameLoad comprehension NameStore NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore BinOpAdd AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore BinOpSub Call NameLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str NameLoad If CompareLt NameLoad Num body Return TupleLoad NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Assign NameStore NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str handlers ExceptHandler type TupleLoad NameLoad NameLoad body Assign NameStore Dict Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Dict NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Dict SubscriptLoad NameLoad Index Str Dict Str Str Str Str Str NameLoad NameLoad SubscriptLoad NameLoad Index Str AttributeLoad AttributeLoad NameLoad attr attr Num If CompareNotIn Str SubscriptLoad AttributeLoad NameLoad attr Index Str body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Dict NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore IfExp CompareIn NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index NameLoad NameLoad If CompareEq SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Return Call NameLoad NameLoad BinOpMod Str NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Str AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad orelse Return Call NameLoad NameLoad BinOpMod Str NameLoad Return Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore IfExp CompareIn NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index NameLoad NameLoad If CompareEq SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str AttributeLoad AttributeLoad NameLoad attr attr body Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Str AttributeLoad AttributeLoad NameLoad attr attr Delete SubscriptDel SubscriptLoad NameLoad Index NameLoad Index Str Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Str NameLoad orelse Return Call NameLoad NameLoad BinOpMod Str NameLoad Return Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore BoolOpOr NameLoad Call NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str If UnaryOpNot NameLoad body Return Call NameLoad NameLoad BinOpMod Str NameLoad Assign NameStore BoolOpOr Call AttributeLoad NameLoad attr Str CompareIn Str NameLoad Assign NameStore Lambda arguments args defaults BoolOpAnd UnaryOpNot Call AttributeLoad NameLoad attr Str CompareIn Str NameLoad If NameLoad body If UnaryOpNot Call NameLoad body Return Call NameLoad NameLoad Str TryExcept body Assign NameStore NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Return Call NameLoad NameLoad AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Return TupleLoad NameLoad BinOpMod Str NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Dict Str Str Str NameLoad NameLoad NameLoad Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Dict NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Dict NameLoad Dict Str Str Str Str Str NameLoad NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num Return Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr NameLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body Expr Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Return Call NameLoad NameLoad Str Return Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore IfExp CompareIn NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index NameLoad NameLoad If NameLoad body If Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str body Return NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return ListComp NameLoad comprehension NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A os N/A uuid N/A logging N/A leveldb N/A ujson json shutil rmtree threading Thread Event leveldb LevelDBError env Environment constants OS_ERROR DATABASE_ERROR utils.snippets from_bytes_to_mo utils.patterns enum helpers.internals failure success N/A activity_logger N/A N/A logging getLogger activity_logger N/A errors_logger N/A N/A logging getLogger errors_logger Ocd N/A Thread N/A N/A Sometimes, you just want your program to have some
    obsessive compulsive disorder

    Source : http://pastebin.com/xNV7hx8h __init__ N/A N/A self interval function iterations args kwargs N/A 0 N/A N/A N/A N/A N/A N/A Thread __init__ self N/A N/A self interval interval N/A N/A self function function N/A N/A self iterations iterations N/A N/A self args args N/A N/A self kwargs kwargs N/A N/A self finished N/A Event N/A run N/A N/A self N/A N/A N/A count 0 N/A N/A N/A N/A N/A N/A self finished is_set N/A N/A N/A self iterations 0 N/A count N/A self iterations N/A N/A N/A N/A N/A self finished wait N/A self interval N/A N/A N/A N/A N/A self finished is_set N/A N/A N/A N/A self function N/A self args N/A self kwargs N/A count 1 N/A cancel N/A N/A self N/A N/A N/A N/A N/A N/A self finished set N/A N/A DatabaseOptions N/A dict N/A __init__ N/A N/A self N/A args kwargs N/A N/A N/A self N/A create_if_missing True N/A N/A self N/A error_if_exists False N/A N/A self N/A paranoid_checks False N/A N/A self N/A block_cache_size N/A 8 N/A 2 20 N/A N/A self N/A write_buffer_size N/A 2 N/A 2 20 N/A N/A self N/A block_size 4096 N/A N/A self N/A max_open_files 1000 N/A N/A key value N/A N/A kwargs iteritems N/A N/A N/A key self N/A N/A N/A self N/A key value N/A N/A DatabasesHandler N/A dict N/A N/A STATUSES N/A enum MOUNTED UNMOUNTED __init__ N/A N/A self store dest N/A args kwargs N/A N/A N/A self env N/A Environment N/A N/A self index N/A N/A N/A dict fromkeys name_to_uid N/A N/A N/A self index N/A name_to_uid N/A N/A N/A self N/A reverse_name_index N/A N/A N/A self N/A paths_index N/A N/A N/A self dest dest N/A N/A self store store N/A N/A self _global_cache_size None N/A N/A N/A self load N/A N/A N/A self mount default N/A global_cache_size N/A N/A self N/A N/A N/A store_datas N/A N/A self extract_store_datas N/A max_caches N/A N/A int N/A N/A db N/A options N/A block_cache_size N/A db N/A N/A store_datas itervalues N/A N/A sum N/A N/A from_bytes_to_mo x N/A x max_caches N/A property _disposable_cache N/A N/A self new_cache_size N/A N/A N/A next_cache_size N/A N/A self global_cache_size N/A from_bytes_to_mo new_cache_size N/A ratio N/A N/A int N/A N/A N/A self env N/A global N/A max_cache_size next_cache_size N/A N/A ratio 0 N/A N/A N/A False ratio N/A N/A True ratio N/A _get_db_connector N/A N/A self path N/A args kwargs N/A N/A connector None N/A N/A N/A connector N/A N/A leveldb LevelDB path args kwargs N/A N/A N/A LevelDBError N/A e N/A N/A N/A N/A errors_logger exception N/A e message N/A connector N/A extract_store_datas N/A N/A self N/A N/A N/A Retrieves database store from file

        If file doesn't exist, or is invalid json,
        and empty store is returned.

        Return
        ------
        store_datas, dict
         N/A N/A N/A store_datas N/A N/A json load N/A open N/A self store r N/A N/A N/A N/A IOError ValueError N/A N/A store_datas N/A N/A store_datas N/A load N/A N/A self N/A N/A N/A Loads databases from store file N/A store_datas N/A N/A self extract_store_datas N/A N/A db_name db_desc N/A N/A store_datas iteritems N/A N/A N/A N/A N/A N/A self index N/A name_to_uid update N/A db_name N/A db_desc N/A uid N/A N/A N/A self update N/A N/A db_desc N/A uid N/A connector name path status ref_count None db_name N/A db_desc N/A path N/A N/A self STATUSES UNMOUNTED 0 N/A N/A default N/A N/A self index N/A name_to_uid N/A N/A N/A N/A self add default N/A store_update N/A N/A self db_name db_desc N/A N/A N/A Updates the database store file db_name
        key, with db_desc value N/A store_datas N/A N/A self extract_store_datas N/A N/A N/A store_datas update N/A db_name db_desc N/A N/A N/A json dump store_datas N/A open N/A self store w N/A store_remove N/A N/A self db_name N/A N/A N/A Removes a database from store file N/A store_datas N/A N/A self extract_store_datas N/A N/A N/A store_datas pop db_name N/A N/A N/A json dump store_datas N/A open N/A self store w N/A mount N/A N/A self db_name N/A N/A N/A db_uid N/A N/A db_name N/A N/A self index N/A name_to_uid N/A N/A N/A self index N/A name_to_uid N/A db_name None N/A N/A N/A N/A self N/A db_uid N/A status N/A N/A self STATUSES UNMOUNTED N/A N/A db_path N/A N/A self N/A db_uid N/A path N/A connector N/A N/A self _get_db_connector db_path N/A N/A connector None N/A N/A N/A failure DATABASE_ERROR N/A Database %s could not be mounted db_path N/A N/A N/A self N/A db_uid N/A status N/A N/A self STATUSES MOUNTED N/A N/A N/A self N/A db_uid N/A connector N/A N/A leveldb LevelDB db_path N/A N/A N/A failure DATABASE_ERROR N/A Database %r already mounted db_name N/A N/A success N/A umount N/A N/A self db_name N/A N/A N/A db_uid N/A N/A db_name N/A N/A self index N/A name_to_uid N/A N/A N/A self index N/A name_to_uid N/A db_name None N/A N/A N/A N/A self N/A db_uid N/A status N/A N/A self STATUSES MOUNTED N/A N/A N/A N/A self N/A db_uid N/A status N/A N/A self STATUSES UNMOUNTED N/A N/A N/A self N/A db_uid N/A connector N/A N/A N/A self N/A db_uid N/A connector None N/A N/A N/A failure DATABASE_ERROR N/A Database %r already unmounted db_name N/A N/A success N/A add N/A N/A self db_name db_options N/A None N/A N/A Adds a db to the DatabasesHandler object, and sync it
        to the store file N/A db_options N/A db_options N/A DatabaseOptions N/A N/A cache_status ratio N/A N/A self _disposable_cache N/A db_options N/A block_cache_size N/A N/A cache_status N/A N/A N/A failure DATABASE_ERROR N/A Not enough disposable cache memory %d Mo missing ratio N/A db_name_is_path N/A N/A N/A db_name startswith . N/A / db_name N/A is_abspath N/A N/A N/A N/A N/A N/A N/A N/A db_name startswith . N/A / db_name N/A db_name_is_path N/A N/A N/A N/A is_abspath N/A N/A N/A failure DATABASE_ERROR Canno't create database from relative path N/A N/A N/A new_db_path db_name N/A N/A N/A N/A N/A os path exists new_db_path N/A N/A N/A N/A os mkdir new_db_path N/A N/A N/A OSError N/A e N/A N/A N/A failure OS_ERROR N/A e strerror N/A N/A new_db_path N/A N/A N/A os path join N/A self dest db_name N/A path new_db_path N/A connector N/A N/A self _get_db_connector path N/A N/A connector None N/A N/A N/A DATABASE_ERROR N/A Database %s could not be created path N/A uid N/A str N/A N/A uuid uuid4 N/A options db_options N/A N/A N/A self store_update db_name N/A path uid options path uid options N/A N/A N/A N/A N/A self index N/A name_to_uid update N/A db_name uid N/A N/A N/A self update N/A uid N/A connector name path status ref_count connector db_name path N/A N/A self STATUSES MOUNTED 0 N/A N/A success N/A drop N/A N/A self db_name N/A N/A N/A Drops a db from the DatabasesHandler, and sync it
        to store file N/A db_uid N/A N/A N/A N/A self index N/A name_to_uid pop db_name N/A db_path N/A N/A self N/A db_uid N/A path N/A N/A N/A self pop db_uid N/A N/A N/A self store_remove db_name N/A N/A N/A N/A rmtree db_path N/A N/A N/A OSError N/A N/A N/A failure DATABASE_ERROR Cannot drop db : %s, files not found N/A N/A success N/A exists N/A N/A self db_name N/A N/A N/A Checks if a database exists on disk N/A db_uid N/A N/A db_name N/A N/A self index N/A name_to_uid N/A N/A N/A self index N/A name_to_uid N/A db_name None N/A db_uid N/A N/A N/A N/A N/A os path exists N/A N/A self N/A db_uid N/A path N/A N/A True N/A N/A N/A N/A self drop db_name N/A False N/A list N/A N/A self N/A N/A N/A Lists all the DatabasesHandler known databases N/A N/A db_name N/A db_name N/A key N/A key N/A N/A N/A N/A self index N/A name_to_uid iterkeys N/A N/A self exists db_name N/A N/A