Module Expr Str Import alias Import alias Import alias ImportFrom alias ImportFrom alias Import alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body Pass Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Str ClassDef bases NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body If NameLoad body Return Call NameLoad BinOpFloorDiv BinOpSub NameLoad NameLoad BinOpSub NameLoad NameLoad orelse If UnaryOpNot NameLoad body Return Num orelse Return Call NameLoad BinOpFloorDiv NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body If NameLoad body Return BinOpAdd BinOpMod BinOpSub NameLoad NameLoad BinOpSub NameLoad NameLoad NameLoad orelse Return BinOpMod NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return SubscriptLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Index Num decorator_list Assign NameStore ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str NameLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str FunctionDef arguments args NameParam defaults body Assign NameStore Num If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore Str AugAssignAdd NameStore Num orelse Assign NameStore Str Assert CompareEq SubscriptLoad NameLoad Index NameLoad Str AugAssignAdd NameStore Num Assign NameStore Call NameLoad ListComp TupleLoad NameLoad Num comprehension TupleStore NameStore NameStore NameLoad For TupleStore NameStore NameStore NameLoad body If CompareEq SubscriptLoad NameLoad Index NameLoad Str body Raise Call NameLoad Str If CompareEq NameLoad Str body If CompareEq SubscriptLoad NameLoad Index NameLoad Str body AugAssignAdd NameStore Num If CompareEq NameLoad Call NameLoad NameLoad body Raise Call NameLoad Str orelse Raise Call NameLoad Str orelse TryExcept body Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Slice NameLoad attr NameLoad TryExcept body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad NameLoad handlers ExceptHandler type NameLoad body If CompareEq NameLoad Str body TryExcept body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad Str orelse Raise Call NameLoad Str Assign NameStore BinOpAdd BinOpAdd NameLoad NameLoad Num handlers ExceptHandler type NameLoad body Assign SubscriptStore NameLoad Index NameLoad Num If CompareEq NameLoad Call NameLoad NameLoad body Break Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore Call NameLoad NameLoad If CompareEq NameLoad Str body Assign NameStore BinOpAdd AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad NameLoad Num Num Assign NameStore Call NameLoad NameLoad Num Num Assign NameStore BinOpAdd BinOpAdd AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Assign NameStore BinOpAdd AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad NameLoad Num Assign NameStore Call NameLoad NameLoad Num Assign NameStore BinOpAdd BinOpAdd AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Assign NameStore Call NameLoad NameLoad Num Assign NameStore Call NameLoad NameLoad Num Assign NameStore BinOpAdd BinOpAdd AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Assign NameStore Call NameLoad NameLoad Num Assign NameStore Call NameLoad NameLoad Num If CompareGt SubscriptLoad NameLoad Index Str Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad orelse If CompareLt SubscriptLoad NameLoad Index Str Num body Assign NameStore Num orelse Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore BinOpAdd BinOpAdd NameLoad AttributeLoad NameLoad attr NameLoad While NameLoad body If CompareLt NameLoad Num body Pass orelse If CompareGt NameLoad Call NameLoad NameLoad NameLoad body AugAssignSub NameStore Call NameLoad NameLoad NameLoad Assign NameStore Num orelse Break Assign NameStore BinOpAdd NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Num Num AugAssignAdd NameStore Call NameLoad NameLoad Num Num Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Num Num Num orelse Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Num Num Num Num Num Num body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Return BinOpAdd Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Num Num Num Num Num Num body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Return BinOpSub Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Num Num Num Num Num Num NameLoad body Expr Str If UnaryOpNot NameLoad body Assign NameStore NameLoad Return Call AttributeLoad Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Num Num Num Num Num Num NameLoad body Expr Str Return Call AttributeLoad Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return BinOpAdd NameLoad Call NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot NameLoad body Return Num TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Print AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Raise Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd SubscriptLoad Call AttributeLoad NameLoad attr Index Num Str NameLoad Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults NameLoad body Return Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot NameLoad body Return NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return CompareLt Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot NameLoad body Return NameLoad orelse Return UnaryOpNot Call NameLoad NameLoad decorator_list Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return CompareGtE NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Return Call NameLoad Call AttributeLoad BinOpSub Call AttributeLoad NameLoad attr Call NameLoad Num Num Num attr decorator_list FunctionDef arguments args defaults body Return Call NameLoad BinOpMod Str Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Num Num Num Num Num Num body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Return Call NameLoad Call AttributeLoad BinOpSub NameLoad Call NameLoad Num Num Num attr decorator_list
N/A N/A 
Implements some usefull functions when dealing with validity of
different types of information.
 N/A calendar N/A sys N/A time datetime datetime datetime timedelta N/A re N/A N/A past.builtins basestring N/A N/A N/A ImportError N/A N/A N/A TIME_FORMAT %Y-%m-%dT%H:%M:%SZ N/A TIME_FORMAT_WITH_FRAGMENT N/A N/A re compile ^(\d{4,4}-\d{2,2}-\d{2,2}T\d{2,2}:\d{2,2}:\d{2,2})\.\d*Z$ TimeUtilError N/A Exception N/A N/A N/A f_quotient N/A N/A arg0 arg1 arg2 N/A 0 N/A N/A arg2 N/A N/A N/A int N/A N/A arg0 arg1 N/A arg2 arg1 N/A N/A N/A arg0 N/A N/A 0 N/A N/A N/A int N/A arg0 arg1 N/A modulo N/A N/A arg0 arg1 arg2 N/A 0 N/A N/A arg2 N/A N/A N/A N/A N/A arg0 arg1 N/A arg2 arg1 arg1 N/A N/A N/A arg0 arg1 N/A maximum_day_in_month_for N/A N/A year month N/A N/A N/A N/A N/A N/A calendar monthrange year month N/A 1 N/A N/A D_FORMAT N/A N/A Y tm_year N/A M tm_mon N/A D tm_mday N/A T None N/A H tm_hour N/A M tm_min N/A S tm_sec parse_duration N/A N/A duration N/A N/A N/A index 0 N/A N/A N/A duration N/A 0 - N/A N/A sign - N/A index 1 N/A N/A sign + N/A N/A N/A duration N/A index P N/A index 1 N/A dic N/A dict N/A N/A typ 0 N/A N/A code typ D_FORMAT N/A N/A code typ D_FORMAT N/A N/A N/A N/A duration N/A index - N/A N/A N/A TimeUtilError Negation not allowed on individual items N/A N/A code T N/A N/A N/A N/A duration N/A index T N/A N/A index 1 N/A N/A index N/A len duration N/A N/A N/A TimeUtilError Not allowed to end with 'T' N/A N/A N/A TimeUtilError Missing T N/A N/A N/A N/A mod N/A N/A N/A duration N/A index index code N/A N/A N/A N/A dic N/A typ N/A int N/A duration N/A index N/A index mod N/A N/A N/A ValueError N/A N/A N/A code S N/A N/A N/A N/A N/A dic N/A typ N/A float N/A duration N/A index N/A index mod N/A N/A N/A ValueError N/A N/A N/A TimeUtilError Not a float N/A N/A N/A TimeUtilError Fractions not allow on anything byt seconds N/A index N/A N/A mod index 1 N/A N/A N/A ValueError N/A N/A N/A dic N/A typ 0 N/A N/A index N/A len duration N/A N/A N/A N/A sign dic N/A add_duration N/A N/A tid duration N/A N/A N/A N/A sign dur N/A parse_duration duration N/A N/A sign + N/A N/A temp N/A N/A tid tm_mon N/A dur N/A tm_mon N/A month N/A modulo temp 1 13 N/A carry N/A f_quotient temp 1 13 N/A year N/A N/A N/A tid tm_year N/A dur N/A tm_year carry N/A temp N/A N/A tid tm_sec N/A dur N/A tm_sec N/A secs N/A modulo temp 60 N/A carry N/A f_quotient temp 60 N/A temp N/A N/A N/A tid tm_min N/A dur N/A tm_min carry N/A minutes N/A modulo temp 60 N/A carry N/A f_quotient temp 60 N/A temp N/A N/A N/A tid tm_hour N/A dur N/A tm_hour carry N/A hour N/A modulo temp 60 N/A carry N/A f_quotient temp 60 N/A N/A N/A dur N/A tm_mday N/A maximum_day_in_month_for year month N/A N/A temp_days N/A maximum_day_in_month_for year month N/A N/A N/A N/A dur N/A tm_mday 1 N/A N/A temp_days 1 N/A N/A temp_days N/A dur N/A tm_mday N/A days N/A N/A temp_days N/A tid tm_mday carry N/A True N/A N/A N/A days 1 N/A N/A N/A N/A N/A days N/A maximum_day_in_month_for year month N/A N/A days N/A maximum_day_in_month_for year month N/A carry 1 N/A N/A N/A temp N/A month carry N/A month N/A modulo temp 1 13 N/A year N/A f_quotient temp 1 13 N/A N/A N/A time localtime N/A N/A time mktime N/A year month days hour minutes secs 0 0 -1 N/A N/A N/A time_in_a_while N/A N/A days seconds microseconds milliseconds minutes hours weeks N/A 0 0 0 0 0 0 0 N/A N/A 
    format of timedelta::
        timedelta([days[, seconds[, microseconds[, milliseconds[,
        minutes[, hours[, weeks]]]]]]])

    :return: UTC time
     N/A delta N/A timedelta days seconds microseconds milliseconds minutes hours weeks N/A N/A N/A N/A datetime utcnow delta N/A time_a_while_ago N/A N/A days seconds microseconds milliseconds minutes hours weeks N/A 0 0 0 0 0 0 0 N/A N/A 
    format of timedelta::
        timedelta([days[, seconds[, microseconds[, milliseconds[,
        minutes[, hours[, weeks]]]]]]])
    :param days:
    :param seconds:
    :param microseconds:
    :param milliseconds:
    :param minutes:
    :param hours:
    :param weeks:
    :param time_format:
    :return: datetime instance
     N/A delta N/A timedelta days seconds microseconds milliseconds minutes hours weeks N/A N/A N/A N/A datetime utcnow delta N/A in_a_while N/A N/A days seconds microseconds milliseconds minutes hours weeks time_format N/A 0 0 0 0 0 0 0 TIME_FORMAT N/A N/A 
    :param days:
    :param seconds:
    :param microseconds:
    :param milliseconds:
    :param minutes:
    :param hours:
    :param weeks:
    :param time_format:
    :return: Formatet string
     N/A N/A time_format N/A N/A time_format TIME_FORMAT N/A N/A N/A N/A time_in_a_while days seconds microseconds milliseconds minutes hours weeks strftime time_format N/A a_while_ago N/A N/A days seconds microseconds milliseconds minutes hours weeks time_format N/A 0 0 0 0 0 0 0 TIME_FORMAT N/A N/A 

    :param days:
    :param seconds:
    :param microseconds:
    :param milliseconds:
    :param minutes:
    :param hours:
    :param weeks:
    :param time_format:
    :return: Formatet string
     N/A N/A N/A N/A time_a_while_ago days seconds microseconds milliseconds minutes hours weeks strftime time_format N/A shift_time N/A N/A dtime shift N/A N/A N/A  Adds/deletes an integer amount of seconds from a datetime specification

    :param dtime: The datatime specification
    :param shift: The wanted time shift (+/-)
    :return: A shifted datatime specification
     N/A N/A dtime N/A timedelta seconds shift N/A str_to_time N/A N/A timestr time_format N/A TIME_FORMAT N/A N/A 

    :param timestr:
    :param time_format:
    :return: UTC time
     N/A N/A timestr N/A N/A 0 N/A N/A N/A then N/A N/A time strptime timestr time_format N/A N/A N/A ValueError N/A N/A N/A N/A elem N/A N/A TIME_FORMAT_WITH_FRAGMENT match timestr N/A N/A N/A Exception N/A exc N/A N/A N/A sys stderr N/A Exception: %s on %s N/A exc timestr N/A N/A then N/A N/A time strptime N/A N/A N/A N/A elem groups N/A 0 Z TIME_FORMAT N/A N/A N/A time gmtime N/A N/A calendar timegm then N/A instant N/A N/A time_format N/A TIME_FORMAT N/A N/A N/A N/A time strftime time_format N/A N/A time gmtime N/A before N/A N/A point N/A N/A N/A  True if point datetime specification is before now  N/A N/A point N/A N/A True N/A N/A isinstance point basestring N/A N/A point N/A str_to_time point N/A N/A N/A isinstance point int N/A N/A point N/A N/A time gmtime point N/A N/A N/A N/A time gmtime point N/A after N/A N/A point N/A N/A N/A  True if point datetime specification is equal or after now  N/A N/A point N/A N/A True N/A N/A N/A N/A before point N/A N/A not_before after N/A not_on_or_after before N/A valid before later_than N/A N/A after before N/A N/A N/A  True if then is later or equal to that  N/A N/A isinstance after basestring N/A N/A after N/A str_to_time after N/A N/A N/A isinstance after int N/A N/A after N/A N/A time gmtime after N/A N/A isinstance before basestring N/A N/A before N/A str_to_time before N/A N/A N/A isinstance before int N/A N/A before N/A N/A time gmtime before N/A N/A after before N/A utc_time_sans_frac N/A N/A N/A N/A N/A N/A int N/A N/A N/A N/A N/A datetime utcnow N/A datetime 1970 1 1 total_seconds N/A time_sans_frac N/A N/A N/A N/A N/A N/A int N/A %d N/A N/A time time N/A epoch_in_a_while N/A N/A days seconds microseconds milliseconds minutes hours weeks N/A 0 0 0 0 0 0 0 N/A N/A 
    Return the number of seconds since epoch a while from now.

    :param days:
    :param seconds:
    :param microseconds:
    :param milliseconds:
    :param minutes:
    :param hours:
    :param weeks:
    :return: Seconds since epoch (1970-01-01)
     N/A dt N/A time_in_a_while days seconds microseconds milliseconds minutes hours weeks N/A N/A int N/A N/A N/A dt N/A datetime 1970 1 1 total_seconds N/A