Module Expr Str ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults Str body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict NameLoad Dict Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Return NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assert NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad NameLoad Slice Num Expr Call AttributeLoad NameLoad attr Num Str If CompareEq Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr Num Str Assign NameStore BinOpAdd Str Call AttributeLoad Str attr NameLoad Assign NameStore Call NameLoad NameLoad If BoolOpOr CompareEq NameLoad Num CompareEq NameLoad Dict body Return ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad TryExcept body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad Call NameLoad Call NameLoad NameLoad attr Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Return NameLoad handlers ExceptHandler type NameLoad body Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return Assign NameStore BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad keyword Dict Str NameLoad If BoolOpOr CompareEq NameLoad Num CompareEq NameLoad Dict body Assign AttributeStore NameLoad attr NameLoad Return Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Str Assign NameStore Num Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index NameLoad Dict Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore Call AttributeLoad NameLoad attr Str body TryExcept body If CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Str body Assign SubscriptStore SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index NameLoad Index NameLoad ListLoad Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index NameLoad Index NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str If CompareLtE NameLoad NameLoad body Return Expr Call NameLoad Call NameLoad NameLoad Assign NameStore SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num Assign SubscriptStore NameLoad Index Str BinOpAdd Str SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad Call AttributeLoad Call NameLoad SubscriptLoad NameLoad Index Str attr Str Str Expr Call NameLoad NameLoad TryExcept body Expr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num handlers ExceptHandler type NameLoad body Expr Call NameLoad Str Assign NameStore SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Str Str Assign NameStore SubscriptLoad NameLoad Slice Num Num Assign NameStore Str If CompareEq NameLoad Str body Assign NameStore Str orelse If CompareEq NameLoad Str body Assign NameStore Str orelse If CompareEq NameLoad Str body Assign NameStore Str orelse If CompareEq NameLoad Str body Assign NameStore Str orelse If CompareEq NameLoad Str body Assign NameStore Str orelse Assign NameStore Str Expr Call NameLoad NameLoad Assign NameStore AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num attr TryExcept body If CompareGtE Call NameLoad NameLoad Num body Assign NameStore BinOpAdd BinOpAdd SubscriptLoad NameLoad Index Num Str SubscriptLoad NameLoad Index Num orelse Assign NameStore SubscriptLoad NameLoad Index Num handlers ExceptHandler type NameLoad body If CompareEq NameLoad Str body Assign NameStore Str orelse Assign NameStore Str Expr Call NameLoad NameLoad Expr Call NameLoad Call AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num attr Assign NameStore Str Expr Call NameLoad NameLoad AugAssignAdd NameStore Num handlers ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Return Num If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr orelse Return Num Assign NameStore BinOpAdd Str NameLoad Assign NameStore Call NameLoad NameLoad keyword Dict Str NameLoad If BoolOpOr CompareEq NameLoad Num CompareEq NameLoad Dict body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Dict NameLoad Dict Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str If CompareEq NameLoad NameLoad body Assign NameStore ListLoad For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return AttributeLoad NameLoad attr orelse For NameStore Call NameLoad Num NameLoad body Assign NameStore BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad keyword Dict Str NameLoad If CompareEq NameLoad Num body Return Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Str Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad Dict Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore Call AttributeLoad NameLoad attr Str body TryExcept body If CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Str body Assign SubscriptStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad Index NameLoad ListLoad Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad Index NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str If CompareLtE NameLoad NameLoad body Return NameLoad Expr Call NameLoad Call NameLoad NameLoad Assign NameStore SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num Assign SubscriptStore NameLoad Index Str BinOpAdd Str SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad Call AttributeLoad Call NameLoad SubscriptLoad NameLoad Index Str attr Str Str Expr Call NameLoad NameLoad TryExcept body Expr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num handlers ExceptHandler type NameLoad body Expr Call NameLoad Str Assign NameStore SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Str Str Assign NameStore SubscriptLoad NameLoad Slice Num Num Assign NameStore Str If CompareEq NameLoad Str body Assign NameStore Str orelse If CompareEq NameLoad Str body Assign NameStore Str orelse If CompareEq NameLoad Str body Assign NameStore Str orelse If CompareEq NameLoad Str body Assign NameStore Str orelse If CompareEq NameLoad Str body Assign NameStore Str orelse Assign NameStore Str Expr Call NameLoad NameLoad Assign NameStore AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num attr TryExcept body If CompareGtE Call NameLoad NameLoad Num body Assign NameStore BinOpAdd BinOpAdd SubscriptLoad NameLoad Index Num Str SubscriptLoad NameLoad Index Num orelse Assign NameStore SubscriptLoad NameLoad Index Num handlers ExceptHandler type NameLoad body If CompareEq NameLoad Str body Assign NameStore Str orelse Assign NameStore Str Expr Call NameLoad NameLoad Expr Call NameLoad Call AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num attr Assign NameStore Str Expr Call NameLoad NameLoad AugAssignAdd NameStore Num handlers ExceptHandler type NameLoad body Pass Return NameLoad decorator_list decorator_list
N/A N/A 
    Copyright (c) 2015-2016 Raj Patel(raj454raj@gmail.com), StopStalk

    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    furnished to do so, subject to the following conditions:

    The above copyright notice and this permission notice shall be included in
    all copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    THE SOFTWARE.
 init * Profile N/A object N/A N/A 
        Class containing methods for retrieving
        submissions of user
     __init__ N/A N/A self handle N/A N/A N/A N/A self site CodeChef N/A N/A self handle handle N/A N/A self submissions N/A handle N/A N/A N/A self retrieve_failed False N/A parsetime N/A N/A time_str N/A N/A N/A 
            Try to parse any generalised time to
            standard format.
            For now used by Codechef
         N/A N/A N/A dt N/A N/A N/A datetime datetime strptime time_str %I:%M %p %d/%m/%y N/A dt N/A N/A N/A ValueError N/A N/A cal N/A N/A pdt Calendar N/A N/A dt flags N/A N/A cal parseDT time_str N/A flags N/A dt N/A staticmethod get_tags N/A N/A problem_link N/A N/A N/A url N/A N/A problem_link split / N/A url N/A url N/A 2 N/A N/A N/A url insert 1 api/contests N/A N/A N/A len url 4 N/A N/A N/A N/A url insert 2 PRACTICE N/A url N/A https:// N/A N/A / join url N/A response N/A get_request url N/A N/A N/A response -1 N/A response N/A N/A N/A N/A - N/A t N/A N/A response json N/A all_tags N/A N/A N/A N/A tags N/A t N/A tags N/A all_as N/A N/A N/A BeautifulSoup N/A str tags find_all a N/A i all_as N/A N/A N/A N/A all_tags append N/A N/A N/A N/A i contents N/A 0 strip N/A all_tags N/A N/A N/A KeyError N/A N/A all_tags N/A staticmethod parallelize_codechef N/A N/A self handle page last_retrieved N/A N/A N/A 
            Helper function for retrieving codechef submissions parallely
         N/A N/A self retrieve_failed N/A N/A N/A url N/A N/A N/A https://www.codechef.com/recent/user?user_handle= handle &page= N/A str page N/A tmp N/A get_request url headers N/A User-Agent user_agent N/A N/A N/A tmp -1 N/A tmp N/A N/A N/A N/A self retrieve_failed True N/A N/A d N/A N/A N/A ast literal_eval N/A tmp text N/A content N/A it 1 N/A N/A N/A N/A self submissions N/A handle N/A page N/A N/A x N/A N/A bs4 BeautifulSoup d N/A i N/A N/A x find_all tr N/A N/A N/A N/A N/A N/A N/A i N/A class N/A 0 kol N/A N/A N/A N/A N/A N/A self submissions N/A handle N/A page N/A it N/A N/A submission N/A N/A N/A N/A self submissions N/A handle N/A page N/A it N/A append N/A submission append N/A tos N/A N/A N/A N/A i contents N/A 0 contents N/A 0 N/A tos N/A str N/A N/A ast literal_eval N/A N/A N/A repr tos replace \ N/A tos N/A N/A self parsetime tos N/A curr N/A N/A time strptime N/A str tos %Y-%m-%d %H:%M:%S N/A N/A curr last_retrieved N/A N/A N/A N/A append N/A str tos N/A prob N/A N/A N/A N/A i contents N/A 1 contents N/A 0 N/A N/A prob N/A href N/A http://www.codechef.com N/A prob N/A href N/A problem_link N/A eval N/A N/A N/A repr N/A prob N/A href replace \ N/A N/A append problem_link N/A N/A N/A N/A append N/A N/A prob contents N/A 0 N/A N/A N/A IndexError N/A N/A N/A append N/A stat N/A N/A N/A N/A i contents N/A 2 contents N/A 0 N/A stat N/A N/A N/A stat find img N/A src N/A stat N/A N/A N/A repr stat replace \ N/A stat N/A stat N/A 7 -5 N/A st AC N/A N/A stat tick-icon N/A N/A st AC N/A N/A N/A stat cross-icon N/A N/A st WA N/A N/A N/A stat alert-icon N/A N/A st CE N/A N/A N/A stat runtime-error N/A N/A st RE N/A N/A N/A stat clock_error N/A N/A st TLE N/A N/A st OTH N/A N/A append st N/A pts N/A N/A N/A N/A N/A i contents N/A 2 contents N/A 0 contents N/A N/A N/A N/A N/A len pts 5 N/A N/A points N/A N/A N/A pts N/A 2 N/A pts N/A 4 N/A N/A points N/A pts N/A 2 N/A N/A N/A IndexError N/A N/A N/A st AC N/A N/A points 100 N/A N/A points 0 N/A N/A append points N/A N/A append N/A N/A N/A N/A N/A N/A i contents N/A 3 contents N/A 0 strip N/A view_link N/A N/A append view_link N/A it 1 N/A N/A N/A KeyError N/A N/A N/A get_submissions N/A N/A self last_retrieved N/A N/A N/A N/A self retrieve_failed N/A N/A -1 N/A N/A self handle N/A N/A handle N/A self handle N/A N/A -1 N/A user_url N/A http://www.codechef.com/recent/user?user_handle= handle N/A tmp N/A get_request user_url headers N/A User-Agent user_agent N/A N/A N/A tmp -1 N/A tmp N/A N/A N/A tmp N/A d N/A N/A ast literal_eval N/A tmp text N/A max_page N/A d N/A max_page N/A submissions N/A handle N/A N/A it 1 N/A tmp_const N/A N/A time strptime N/A current INITIAL_DATE %Y-%m-%d %H:%M:%S N/A N/A tmp_const last_retrieved N/A N/A threads N/A N/A i N/A xrange max_page N/A N/A N/A N/A threads append N/A N/A gevent spawn N/A self parallelize_codechef handle i last_retrieved N/A N/A N/A gevent joinall threads N/A N/A self submissions N/A N/A page N/A xrange 0 max_page N/A N/A user_url N/A N/A N/A http://www.codechef.com/recent/user?user_handle= handle &page= N/A str page N/A tmp N/A get_request user_url headers N/A User-Agent user_agent N/A N/A tmp -1 N/A N/A -1 N/A d N/A N/A N/A ast literal_eval N/A tmp text N/A content N/A N/A N/A submissions N/A handle N/A page N/A N/A x N/A N/A bs4 BeautifulSoup d N/A i N/A N/A x find_all tr N/A N/A N/A N/A N/A N/A N/A i N/A class N/A 0 kol N/A N/A N/A N/A N/A submissions N/A handle N/A page N/A it N/A N/A submission N/A N/A N/A submissions N/A handle N/A page N/A it N/A append N/A submission append N/A tos N/A N/A N/A N/A i contents N/A 0 contents N/A 0 N/A tos N/A str N/A N/A ast literal_eval N/A N/A N/A repr tos replace \ N/A tos N/A N/A self parsetime tos N/A curr N/A N/A time strptime N/A str tos %Y-%m-%d %H:%M:%S N/A N/A curr last_retrieved N/A N/A submissions N/A N/A append N/A str tos N/A prob N/A N/A N/A N/A i contents N/A 1 contents N/A 0 N/A N/A prob N/A href N/A http://www.codechef.com N/A prob N/A href N/A problem_link N/A eval N/A N/A N/A repr N/A prob N/A href replace \ N/A N/A append problem_link N/A N/A N/A N/A append N/A N/A prob contents N/A 0 N/A N/A N/A IndexError N/A N/A N/A append N/A stat N/A N/A N/A N/A i contents N/A 2 contents N/A 0 N/A stat N/A N/A N/A stat find img N/A src N/A stat N/A N/A N/A repr stat replace \ N/A stat N/A stat N/A 7 -5 N/A st AC N/A N/A stat tick-icon N/A N/A st AC N/A N/A N/A stat cross-icon N/A N/A st WA N/A N/A N/A stat alert-icon N/A N/A st CE N/A N/A N/A stat runtime-error N/A N/A st RE N/A N/A N/A stat clock_error N/A N/A st TLE N/A N/A st OTH N/A N/A append st N/A pts N/A N/A N/A N/A N/A i contents N/A 2 contents N/A 0 contents N/A N/A N/A N/A N/A len pts 5 N/A N/A points N/A N/A N/A pts N/A 2 N/A pts N/A 4 N/A N/A points N/A pts N/A 2 N/A N/A N/A IndexError N/A N/A N/A st AC N/A N/A points 100 N/A N/A points 0 N/A N/A append points N/A N/A append N/A N/A N/A N/A N/A N/A i contents N/A 3 contents N/A 0 strip N/A view_link N/A N/A append view_link N/A it 1 N/A N/A N/A KeyError N/A N/A N/A submissions N/A N/A