Module Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias alias alias FunctionDef arguments args NameParam defaults NameLoad body Assign NameStore BinOpBitAnd BinOpBitAnd BinOpBitAnd BinOpBitAnd Call NameLoad Str Str NameLoad Call NameLoad Str Str NameLoad Call NameLoad Str Str NameLoad Call NameLoad Str Str NameLoad Call NameLoad Str Str NameLoad Assign NameStore IfExp NameLoad BinOpBitAnd NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str Str NameLoad Assign NameStore Num Assign NameStore Num Assign NameStore Num For NameStore NameLoad body If AttributeLoad NameLoad attr body AugAssignAdd NameStore Num Assign NameStore ListComp Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Str comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad NameLoad body AugAssignAdd NameStore Num If Call NameLoad ListComp BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr comprehension NameStore NameLoad NameLoad body AugAssignAdd NameStore Num Return Dict Str Str Str NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Return Call AttributeLoad NameLoad attr Call NameLoad Str Str NameLoad decorator_list FunctionDef arguments args defaults body Return Call AttributeLoad NameLoad attr BinOpBitAnd BinOpBitAnd Call NameLoad Str Str NameLoad Call NameLoad Str Str NameLoad Call NameLoad Str Str NameLoad decorator_list FunctionDef arguments args NameParam defaults NameLoad body Assign NameStore BoolOpOr NameLoad Call NameLoad Return ListComp Call NameLoad Call AttributeLoad NameLoad attr NameLoad BinOpBitAnd Call NameLoad Str Str NameLoad Call NameLoad Str Str NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If NameLoad body AugAssignBitAnd NameStore Call NameLoad Str Str AttributeLoad NameLoad attr orelse Assign NameStore Call NameLoad Str Str AttributeLoad NameLoad attr Return Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad NameLoad body Assign NameStore BoolOpOr NameLoad Call NameLoad Return ListComp Call NameLoad NameLoad NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad ListComp NameLoad comprehension NameStore NameLoad CompareGtE NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign TupleStore NameStore NameStore TupleLoad Num Num For NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Str attr ListLoad Str AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call NameLoad NameLoad AugAssignAdd NameStore BoolOpOr NameLoad Num AugAssignAdd NameStore BoolOpOr NameLoad Num Return TupleLoad NameLoad NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad Str Str Assign NameStore ListLoad Call NameLoad Str NameLoad Call NameLoad Str Call NameLoad keyword Num Call NameLoad Str Call NameLoad keyword Num Call NameLoad Str Call NameLoad keyword Num Call NameLoad Str Call NameLoad keyword Num Assign NameStore ListLoad Num Num FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad IfExp AttributeLoad NameLoad attr Call NameLoad Str Str BinOpSub Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad Str attr NameLoad AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr BinOpBitAnd BinOpBitAnd Call NameLoad Str Str Str Call NameLoad Str Str NameLoad Call NameLoad Str Str NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr BinOpBitAnd BinOpBitAnd BinOpBitAnd Call NameLoad Str Str Str Call NameLoad Str Str NameLoad Call NameLoad Str Str NameLoad Call NameLoad Str Str NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr BinOpBitAnd BinOpBitAnd BinOpBitAnd Call NameLoad Str Str Str Call NameLoad Str Str NameLoad Call NameLoad Str Str NameLoad Call NameLoad Str Str NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr BinOpBitAnd BinOpBitAnd BinOpBitAnd Call NameLoad Str Str Str Call NameLoad Str Str NameLoad Call NameLoad Str Str NameLoad Call NameLoad Str Str NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Num Assign NameStore Num Assign NameStore Call NameLoad For NameStore NameLoad body For NameStore Call AttributeLoad NameLoad attr Call NameLoad Str Str NameLoad body For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Str attr ListLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad AugAssignAdd NameStore BoolOpOr NameLoad Num AugAssignAdd NameStore BoolOpOr NameLoad Num For NameStore Call AttributeLoad NameLoad attr BinOpBitAnd BinOpBitAnd Call NameLoad Str Str Str Call NameLoad Str Str NameLoad Call NameLoad Str Str NameLoad body For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Str attr ListLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad AugAssignAdd NameStore BoolOpOr NameLoad Num AugAssignAdd NameStore BoolOpOr NameLoad Num Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign TupleStore NameStore NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Call NameLoad Str Str NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign TupleStore NameStore NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Num Assign NameStore Call NameLoad NameLoad Num Assign NameStore ListLoad ListLoad Str NameLoad ListLoad Str NameLoad ListLoad Str NameLoad ListLoad Str NameLoad ListLoad Str NameLoad ListLoad Str NameLoad ListLoad Str NameLoad ListLoad Str Call AttributeLoad NameLoad attr ListLoad Str Call AttributeLoad NameLoad attr ListLoad Str SubscriptLoad NameLoad Index Str ListLoad Str SubscriptLoad NameLoad Index Str ListLoad Str SubscriptLoad NameLoad Index Str ListLoad Str SubscriptLoad NameLoad Index Str ListLoad Str Call AttributeLoad NameLoad attr ListLoad Str Call AttributeLoad NameLoad attr ListLoad Str NameLoad ListLoad Str NameLoad ListLoad Str NameLoad ListLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword ListLoad Str Str With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list If CompareEq NameLoad Str body Expr Call NameLoad Expr Call NameLoad
N/A N/A os N/A datetime N/A collections N/A tabulate modularodm Q dateutil.relativedelta relativedelta framework.analytics get_basic_counters website settings website.app init_app website.files.models OsfStorageFile website.files.models TrashedFileNode website.models User Node PrivateLink NodeLog website.addons.dropbox.model DropboxUserSettings scripts.analytics profile tabulate_emails tabulate_logs get_active_users N/A N/A extra N/A None N/A N/A query N/A N/A N/A N/A N/A Q is_registered eq True N/A Q password ne None N/A Q merged_by eq None N/A Q date_confirmed ne None N/A Q date_disabled  eq None N/A query N/A extra N/A query extra query N/A N/A N/A User find query N/A get_dropbox_metrics N/A N/A N/A N/A N/A queryset N/A N/A DropboxUserSettings find N/A Q deleted eq False N/A num_enabled 0 N/A num_authorized 0 N/A num_linked 0 N/A user_settings queryset N/A N/A N/A user_settings has_auth N/A N/A num_enabled 1 N/A node_settings_list N/A N/A N/A N/A N/A Node load guid get_addon dropbox N/A guid N/A N/A N/A user_settings oauth_grants keys N/A N/A any N/A N/A ns has_auth N/A ns node_settings_list ns N/A N/A num_authorized 1 N/A N/A any N/A N/A N/A ns complete N/A ns folder N/A ns node_settings_list ns N/A N/A num_linked 1 N/A N/A enabled authorized linked num_enabled num_authorized num_linked N/A get_private_links N/A N/A N/A N/A N/A N/A N/A PrivateLink find N/A Q is_deleted ne True N/A get_folders N/A N/A N/A N/A N/A N/A N/A Node find N/A N/A N/A Q is_collection eq True N/A Q is_bookmark_collection ne True N/A Q is_deleted ne True N/A count_user_nodes N/A N/A users N/A None N/A N/A users N/A users N/A get_active_users N/A N/A N/A len N/A N/A Node find_for_user user N/A N/A Q is_deleted eq False N/A Q is_collection ne True N/A user users N/A count_user_logs N/A N/A user query N/A None N/A N/A query N/A N/A query N/A Q user eq N/A user _id N/A N/A query N/A Q user eq N/A user _id N/A N/A N/A N/A N/A NodeLog find query count N/A count_users_logs N/A N/A users query N/A None None N/A N/A users N/A users N/A get_active_users N/A N/A N/A count_user_logs user query N/A user users N/A count_at_least N/A N/A counts at_least N/A N/A N/A N/A len N/A count N/A count counts N/A count at_least N/A count_file_downloads N/A N/A N/A N/A N/A N/A downloads_unique downloads_total N/A 0 0 N/A record N/A N/A OsfStorageFile find N/A N/A page N/A N/A : join N/A download N/A N/A record node _id N/A record _id N/A N/A unique total N/A get_basic_counters page N/A downloads_unique N/A unique 0 N/A downloads_total N/A total 0 N/A N/A downloads_unique downloads_total N/A N/A LogCounter N/A N/A collections namedtuple LogCounter N/A label delta N/A log_counters N/A N/A LogCounter total None N/A LogCounter last-3m N/A relativedelta months 3 N/A LogCounter last-1m N/A relativedelta months 1 N/A LogCounter last-1w N/A relativedelta weeks 1 N/A LogCounter last-1d N/A relativedelta days 1 N/A log_thresholds N/A 1 11 get_log_counts N/A N/A users N/A N/A N/A rows N/A N/A counter log_counters N/A N/A counts N/A count_users_logs users N/A N/A counter delta N/A Q date gte N/A N/A N/A N/A datetime datetime utcnow N/A counter delta None N/A threshold log_thresholds N/A N/A thresholded N/A count_at_least counts threshold N/A N/A N/A rows append N/A N/A N/A logs-gte-{0}-{1} format threshold N/A counter label thresholded N/A rows N/A get_projects N/A N/A N/A N/A N/A projects N/A N/A Node find N/A N/A N/A Q category eq project N/A Q is_deleted eq False N/A Q is_collection ne True N/A projects N/A get_projects_forked N/A N/A N/A N/A N/A projects_forked N/A list N/A N/A Node find N/A N/A N/A N/A Q category eq project N/A Q is_deleted eq False N/A Q is_collection ne True N/A Q is_fork eq True N/A projects_forked N/A get_projects_registered N/A N/A N/A N/A N/A projects_registered N/A N/A Node find N/A N/A N/A N/A Q category eq project N/A Q is_deleted eq False N/A Q is_collection ne True N/A Q is_registration eq True N/A projects_registered N/A get_projects_public N/A N/A N/A N/A N/A projects_public N/A N/A Node find N/A N/A N/A N/A Q category eq project N/A Q is_deleted eq False N/A Q is_collection ne True N/A Q is_public eq True N/A projects_public N/A get_number_downloads_unique_and_total N/A N/A N/A N/A N/A number_downloads_unique 0 N/A number_downloads_total 0 N/A projects N/A get_projects N/A project projects N/A N/A filenode N/A N/A OsfStorageFile find N/A Q node eq project N/A N/A N/A idx version N/A enumerate N/A filenode versions N/A N/A page N/A N/A : join N/A download N/A project _id N/A filenode _id N/A str idx N/A N/A unique total N/A get_basic_counters page N/A number_downloads_unique N/A unique 0 N/A number_downloads_total N/A total 0 N/A filenode N/A N/A TrashedFileNode find N/A N/A N/A Q provider eq osfstorage N/A Q node eq project N/A Q is_file eq True N/A N/A N/A idx version N/A enumerate N/A filenode versions N/A N/A page N/A N/A : join N/A download N/A project _id N/A filenode _id N/A str idx N/A N/A unique total N/A get_basic_counters page N/A number_downloads_total N/A total 0 N/A number_downloads_unique N/A unique 0 N/A N/A number_downloads_unique number_downloads_total N/A main N/A N/A N/A N/A N/A number_users N/A N/A N/A N/A User find count N/A projects N/A get_projects N/A projects_forked N/A get_projects_forked N/A projects_registered N/A get_projects_registered N/A number_projects N/A len projects N/A projects_public N/A get_projects_public N/A number_projects_public N/A N/A projects_public count N/A number_projects_forked N/A len projects_forked N/A number_projects_registered N/A len projects_registered N/A N/A number_downloads_unique number_downloads_total N/A get_number_downloads_unique_and_total N/A active_users N/A get_active_users N/A active_users_invited N/A get_active_users N/A Q is_invited eq True N/A dropbox_metrics N/A get_dropbox_metrics N/A extended_profile_counts N/A N/A profile get_profile_counts N/A private_links N/A get_private_links N/A folders N/A get_folders N/A N/A downloads_unique downloads_total N/A count_file_downloads N/A node_counts N/A count_user_nodes active_users N/A nodes_at_least_1 N/A count_at_least node_counts 1 N/A nodes_at_least_3 N/A count_at_least node_counts 3 N/A rows N/A N/A number_users number_users N/A number_projects number_projects N/A number_projects_public number_projects_public N/A number_projects_forked number_projects_forked N/A number_projects_registered number_projects_registered N/A number_downloads_total number_downloads_total N/A number_downloads_unique number_downloads_unique N/A active-users N/A N/A active_users count N/A active-users-invited N/A N/A active_users_invited count N/A dropbox-users-enabled N/A dropbox_metrics N/A enabled N/A dropbox-users-authorized N/A dropbox_metrics N/A authorized N/A dropbox-users-linked N/A dropbox_metrics N/A linked N/A profile-edits N/A extended_profile_counts N/A any N/A view-only-links N/A N/A private_links count N/A folders N/A N/A folders count N/A downloads-unique downloads_unique N/A downloads-total downloads_total N/A nodes-gte-1 nodes_at_least_1 N/A nodes-gte-3 nodes_at_least_3 N/A N/A N/A rows extend N/A get_log_counts active_users N/A table N/A N/A tabulate tabulate rows headers N/A label value N/A N/A open N/A N/A N/A os path join N/A settings ANALYTICS_PATH main.txt w fp N/A N/A N/A N/A fp write table N/A N/A N/A tabulate_emails main N/A N/A N/A tabulate_logs main N/A N/A N/A __name__ __main__ N/A N/A N/A init_app N/A N/A main