hexsha string | size int64 | ext string | lang string | max_stars_repo_path string | max_stars_repo_name string | max_stars_repo_head_hexsha string | max_stars_repo_licenses list | max_stars_count int64 | max_stars_repo_stars_event_min_datetime string | max_stars_repo_stars_event_max_datetime string | max_issues_repo_path string | max_issues_repo_name string | max_issues_repo_head_hexsha string | max_issues_repo_licenses list | max_issues_count int64 | max_issues_repo_issues_event_min_datetime string | max_issues_repo_issues_event_max_datetime string | max_forks_repo_path string | max_forks_repo_name string | max_forks_repo_head_hexsha string | max_forks_repo_licenses list | max_forks_count int64 | max_forks_repo_forks_event_min_datetime string | max_forks_repo_forks_event_max_datetime string | content string | avg_line_length float64 | max_line_length int64 | alphanum_fraction float64 | qsc_code_num_words_quality_signal int64 | qsc_code_num_chars_quality_signal float64 | qsc_code_mean_word_length_quality_signal float64 | qsc_code_frac_words_unique_quality_signal float64 | qsc_code_frac_chars_top_2grams_quality_signal float64 | qsc_code_frac_chars_top_3grams_quality_signal float64 | qsc_code_frac_chars_top_4grams_quality_signal float64 | qsc_code_frac_chars_dupe_5grams_quality_signal float64 | qsc_code_frac_chars_dupe_6grams_quality_signal float64 | qsc_code_frac_chars_dupe_7grams_quality_signal float64 | qsc_code_frac_chars_dupe_8grams_quality_signal float64 | qsc_code_frac_chars_dupe_9grams_quality_signal float64 | qsc_code_frac_chars_dupe_10grams_quality_signal float64 | qsc_code_frac_chars_replacement_symbols_quality_signal float64 | qsc_code_frac_chars_digital_quality_signal float64 | qsc_code_frac_chars_whitespace_quality_signal float64 | qsc_code_size_file_byte_quality_signal float64 | qsc_code_num_lines_quality_signal float64 | qsc_code_num_chars_line_max_quality_signal float64 | qsc_code_num_chars_line_mean_quality_signal float64 | qsc_code_frac_chars_alphabet_quality_signal float64 | qsc_code_frac_chars_comments_quality_signal float64 | qsc_code_cate_xml_start_quality_signal float64 | qsc_code_frac_lines_dupe_lines_quality_signal float64 | qsc_code_cate_autogen_quality_signal float64 | qsc_code_frac_lines_long_string_quality_signal float64 | qsc_code_frac_chars_string_length_quality_signal float64 | qsc_code_frac_chars_long_word_length_quality_signal float64 | qsc_code_frac_lines_string_concat_quality_signal float64 | qsc_code_cate_encoded_data_quality_signal float64 | qsc_code_frac_chars_hex_words_quality_signal float64 | qsc_code_frac_lines_prompt_comments_quality_signal float64 | qsc_code_frac_lines_assert_quality_signal float64 | qsc_codepython_cate_ast_quality_signal float64 | qsc_codepython_frac_lines_func_ratio_quality_signal float64 | qsc_codepython_cate_var_zero_quality_signal bool | qsc_codepython_frac_lines_pass_quality_signal float64 | qsc_codepython_frac_lines_import_quality_signal float64 | qsc_codepython_frac_lines_simplefunc_quality_signal float64 | qsc_codepython_score_lines_no_logic_quality_signal float64 | qsc_codepython_frac_lines_print_quality_signal float64 | qsc_code_num_words int64 | qsc_code_num_chars int64 | qsc_code_mean_word_length int64 | qsc_code_frac_words_unique null | qsc_code_frac_chars_top_2grams int64 | qsc_code_frac_chars_top_3grams int64 | qsc_code_frac_chars_top_4grams int64 | qsc_code_frac_chars_dupe_5grams int64 | qsc_code_frac_chars_dupe_6grams int64 | qsc_code_frac_chars_dupe_7grams int64 | qsc_code_frac_chars_dupe_8grams int64 | qsc_code_frac_chars_dupe_9grams int64 | qsc_code_frac_chars_dupe_10grams int64 | qsc_code_frac_chars_replacement_symbols int64 | qsc_code_frac_chars_digital int64 | qsc_code_frac_chars_whitespace int64 | qsc_code_size_file_byte int64 | qsc_code_num_lines int64 | qsc_code_num_chars_line_max int64 | qsc_code_num_chars_line_mean int64 | qsc_code_frac_chars_alphabet int64 | qsc_code_frac_chars_comments int64 | qsc_code_cate_xml_start int64 | qsc_code_frac_lines_dupe_lines int64 | qsc_code_cate_autogen int64 | qsc_code_frac_lines_long_string int64 | qsc_code_frac_chars_string_length int64 | qsc_code_frac_chars_long_word_length int64 | qsc_code_frac_lines_string_concat null | qsc_code_cate_encoded_data int64 | qsc_code_frac_chars_hex_words int64 | qsc_code_frac_lines_prompt_comments int64 | qsc_code_frac_lines_assert int64 | qsc_codepython_cate_ast int64 | qsc_codepython_frac_lines_func_ratio int64 | qsc_codepython_cate_var_zero int64 | qsc_codepython_frac_lines_pass int64 | qsc_codepython_frac_lines_import int64 | qsc_codepython_frac_lines_simplefunc int64 | qsc_codepython_score_lines_no_logic int64 | qsc_codepython_frac_lines_print int64 | effective string | hits int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bd99ae661649436c12fa8433f2890923b19e8aab | 512 | py | Python | dnacauldron/utils/__init__.py | Edinburgh-Genome-Foundry/DnaCauldron | ef1d525f2627163414b94e4fee05911634738bdf | [
"MIT"
] | 30 | 2018-05-09T14:59:03.000Z | 2022-01-08T19:00:23.000Z | dnacauldron/utils/__init__.py | e-tomato/DnaCauldron | 5208b962e15ff2091d65df1f9be3e429cc559e08 | [
"MIT"
] | 12 | 2018-07-04T12:34:57.000Z | 2021-12-16T11:53:13.000Z | dnacauldron/utils/__init__.py | e-tomato/DnaCauldron | 5208b962e15ff2091d65df1f9be3e429cc559e08 | [
"MIT"
] | 7 | 2017-12-13T14:33:18.000Z | 2021-03-01T08:08:57.000Z | from .utils import (
list_overhangs_from_record_annotations,
list_digestion_overhangs,
substitute_overhangs,
)
from .insert_parts_on_backbones import (
swap_donor_vector_part,
insert_parts_on_backbones,
record_contains_backbone,
BackboneChoice,
)
__all__ = [
"list_overhangs_from_record_annotations",
"list_digestion_overhangs",
"substitute_overhangs",
"swap_donor_vector_part",
"insert_parts_on_backbones",
"record_contains_backbone",
"BackboneChoice",
] | 24.380952 | 45 | 0.763672 | 54 | 512 | 6.555556 | 0.388889 | 0.110169 | 0.110169 | 0.186441 | 0.858757 | 0.858757 | 0.858757 | 0.858757 | 0.858757 | 0.858757 | 0 | 0 | 0.164063 | 512 | 21 | 46 | 24.380952 | 0.827103 | 0 | 0 | 0 | 0 | 0 | 0.325536 | 0.259259 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
bdded1f8a6a583feb8c6ab605bb9d3b2d22cbbac | 9,827 | py | Python | Sudo.py | Sheetal-pati/sudoku | 8eec142208f5241b5f3f2b07b84aecbc24d25d04 | [
"MIT"
] | 1 | 2018-10-08T14:17:04.000Z | 2018-10-08T14:17:04.000Z | Sudo.py | Sheetal-pati/Sudoku | 8eec142208f5241b5f3f2b07b84aecbc24d25d04 | [
"MIT"
] | null | null | null | Sudo.py | Sheetal-pati/Sudoku | 8eec142208f5241b5f3f2b07b84aecbc24d25d04 | [
"MIT"
] | null | null | null | import random
Sudo=[9][9]
Sudof=[9][9]
def Check_input(x,y,Sudo):
flag1=0
sub_x=0
sub_y=0
while (i<9):
if(Sudo[i][y]==value):
flag1=1
break
else:
i+=1
if(flag1==0):
while (j<9):
if(Sudo[x][j]==value):
flag1=1
break
else:
j+=1
if (flag1==0):
if(x==0||x==1||x==2):
if(y==0||y==1||y==2):
print("case 1")
while ((sub_x<3) && (flag1==0)):
sub_y=0
while (sub_y<3):
if(Sudo[sub_x][sub_y]==value):
flag1=1;
break
else:
sub_y+=1
sub_x+=1
if(flag1==0):
return 1
else:
return 0
if(y==3||y==4||y==5):
print("case 2")
while ((sub_x<3) && (flag1==0)):
sub_y=3
while ((sub_y<6)&&(sub_y>2)):
if(Sudo[sub_x][sub_y]==value):
flag1=1;
break
else:
sub_y+=1
sub_x+=1
if(flag1==0):
return 1
else:
return 0
if(y==6||y==7||y==8):
print("case 3")
while ((sub_x<3) && (flag1==0)):
sub_y=6
while ((sub_y<9)&&(sub_y>5)):
if(Sudo[sub_x][sub_y]==value):
flag1=1;
break
else:
sub_y+=1
sub_x+=1
if(flag1==0):
return 1
else:
return 0
if(x==3||x==4||x==5):
if(y==0||y==1||y==2):
print("case 4")
while ((sub_x>2) && (sub_x<6)&&(flag1==0)):
sub_y=0
while (sub_y<3):
if(Sudo[sub_x][sub_y]==value):
flag1=1;
break
else:
sub_y+=1
sub_x+=1
if(flag1==0):
return 1
else:
return 0
if(y==3||y==4||y==5):
print("case 5")
while ((sub_x>2) && (sub_x<6)&& (flag1==0)):
sub_y=3
while ((sub_y<6)&&(sub_y>2)):
if(Sudo[sub_x][sub_y]==value):
flag1=1;
break
else:
sub_y+=1
sub_x+=1
if(flag1==0):
return 1
else:
return 0
if(y==6||y==7||y==8):
print("case 6")
while ((sub_x>2) && (sub_x<6)&& (flag1==0)):
sub_y=6
while ((sub_y<9)&&(sub_y>5)):
if(Sudo[sub_x][sub_y]==value):
flag1=1;
break
else:
sub_y+=1
sub_x+=1
if(flag1==0):
return 1
else:
return 0
if(x==6||x==7||x==8):
if(y==0||y==1||y==2):
print("case 7")
while ((sub_x<9) && (sub_x>5)&& (flag1==0)):
sub_y=0
while (sub_y<3):
if(Sudo[sub_x][sub_y]==value):
flag1=1;
break
else:
sub_y+=1
sub_x+=1
if(flag1==0):
return 1
else:
return 0
if(y==3||y==4||y==5):
print("case 8")
while ((sub_x<9) && (sub_x>5)&& (flag1==0)):
sub_y=3
while ((sub_y<6)&&(sub_y>2)):
if(Sudo[sub_x][sub_y]==value):
flag1=1;
break
else:
sub_y+=1
sub_x+=1
if(flag1==0):
return 1
else:
return 0
if(y==6||y==7||y==8):
print("case 9")
while ((sub_x<9) && (sub_x>5)&& (flag1==0)):
sub_y=6
while ((sub_y<9)&&(sub_y>5)):
if(Sudo[sub_x][sub_y]==value):
flag1=1;
break
else:
sub_y+=1
sub_x+=1
if(flag1==0):
return 1
else:
return 0
def Easy():
num=random.randint(30,35)
i=0
j=0
count=0
while(count<num):
value=random.randint(0,10)
flag=0
while(flag==0):
x=random.randint(-1,9)
y=random.randint(-1,9)
flag=Check_input(x,y,Sudo)
def Medium():
num=random.randint(25,30)
i=0
j=0
count=0
while(count<num):
value=random.randint(0,10)
flag=0
while(flag==0):
x=random.randint(-1,9)
y=random.randint(-1,9)
flag=Check_input(x,y,Sudo)
def Hard():
num=random.randint(20,25)
i=0
j=0
count=0
while(count<num):
value=random.randint(0,10)
flag=0
while(flag==0):
x=random.randint(-1,9)
y=random.randint(-1,9)
flag=Check_input(x,y,Sudo)
def Expert():
num=random.randint(15,20)
i=0
j=0
count=0
while(count<num):
value=random.randint(0,10)
flag=0
while(flag==0):
x=random.randint(-1,9)
y=random.randint(-1,9)
flag=Check_input(x,y,Sudo)
if (flag==1):
Sudo[x][y]=value
break
else:
continue
def Check_Solution(Sudof):
i=0
count=0
while(i<9):
j=0
while(j<9):
count = Sudof[i][j].count(j)
if(count > 0):
break
j+=1
i+=1
if(count==0):
x=0
while(x<9):
y=0
while(y<9):
if(x==0||x==1||x==2):
if(y==0||y==1||y==2):
print("case 1")
while ((sub_x<3) && (flag1==0)):
sub_y=0
while (sub_y<3):
count=Sudo[sub_x][sub_y].count(sub_y)
if(count>0):
break
else:
sub_y+=1
if(count>0):
break
else:
sub_x+=1
if(y==3||y==4||y==5):
print("case 2")
while ((sub_x<3) && (flag1==0)):
sub_y=3
while ((sub_y<6)&&(sub_y>2)):
count=Sudo[sub_x][sub_y].count(sub_y)
if(count>0):
break
else:
sub_y+=1
if(count>0):
break
else:
sub_x+=1
if(y==6||y==7||y==8):
print("case 3")
while ((sub_x<3) && (flag1==0)):
sub_y=6
while ((sub_y<9)&&(sub_y>5)):
count=Sudo[sub_x][sub_y].count(sub_y)
if(count>0):
break
else:
sub_y+=1
if(count>0):
break
else:
sub_x+=1
if(x==3||x==4||x==5):
if(y==0||y==1||y==2):
print("case 4")
while ((sub_x>2) && (sub_x<6)&&(flag1==0)):
sub_y=0
while (sub_y<3):
count=Sudo[sub_x][sub_y].count(sub_y)
if(count>0):
break
else:
sub_y+=1
if(count>0):
break
else:
sub_x+=1
if(y==3||y==4||y==5):
print("case 5")
while ((sub_x>2) && (sub_x<6)&& (flag1==0)):
sub_y=3
while ((sub_y<6)&&(sub_y>2)):
count=Sudo[sub_x][sub_y].count(sub_y)
if(count>0):
break
else:
sub_y+=1
if(count>0):
break
else:
sub_x+=1
if(y==6||y==7||y==8):
print("case 6")
while ((sub_x>2) && (sub_x<6)&& (flag1==0)):
sub_y=6
while ((sub_y<9)&&(sub_y>5)):
count=Sudo[sub_x][sub_y].count(sub_y)
if(count>0):
break
else:
sub_y+=1
if(count>0):
break
else:
sub_x+=1
if(x==6||x==7||x==8):
if(y==0||y==1||y==2):
print("case 7")
while ((sub_x<9) && (sub_x>5)&& (flag1==0)):
sub_y=0
while (sub_y<3):
count=Sudo[sub_x][sub_y].count(sub_y)
if(count>0):
break
else:
sub_y+=1
if(count>0):
break
else:
sub_x+=1
if(y==3||y==4||y==5):
print("case 8")
while ((sub_x<9) && (sub_x>5)&& (flag1==0)):
sub_y=3
while ((sub_y<6)&&(sub_y>2)):
count=Sudo[sub_x][sub_y].count(sub_y)
if(count>0):
break
else:
sub_y+=1
if(count>0):
break
else:
sub_x+=1
if(y==6||y==7||y==8):
print("case 9")
while ((sub_x<9) && (sub_x>5)&& (flag1==0)):
sub_y=6
while ((sub_y<9)&&(sub_y>5)):
count=Sudo[sub_x][sub_y].count(sub_y)
if(count>0):
break
else:
sub_y+=1
if(count>0):
break
else:
sub_x+=1
if(count>0):break
else:
y+=1
if(count>0):break
else:
x+=1
if(count==0):
print("Congratulations! You won the game")
return True
if(count>0):
print("Oops! You lost the game. Try once More")
| 25.262211 | 68 | 0.351582 | 1,292 | 9,827 | 2.544892 | 0.044892 | 0.114355 | 0.09854 | 0.083029 | 0.875 | 0.857664 | 0.846715 | 0.840937 | 0.840937 | 0.840937 | 0 | 0.083051 | 0.490282 | 9,827 | 388 | 69 | 25.32732 | 0.573368 | 0 | 0 | 0.918478 | 0 | 0 | 0.018215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.002717 | null | null | 0.054348 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
da128e93f81e9ed734f5f57812a17822a26cb2f0 | 198,107 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ipv4_hsrp_oper.py | Maikor/ydk-py | b86c4a7c570ae3b2c5557d098420446df5de4929 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ipv4_hsrp_oper.py | Maikor/ydk-py | b86c4a7c570ae3b2c5557d098420446df5de4929 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ipv4_hsrp_oper.py | Maikor/ydk-py | b86c4a7c570ae3b2c5557d098420446df5de4929 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | """ Cisco_IOS_XR_ipv4_hsrp_oper
This module contains a collection of YANG definitions
for Cisco IOS\-XR ipv4\-hsrp package operational data.
This module contains definitions
for the following management objects\:
hsrp\: HSRP operational data
Copyright (c) 2013\-2018 by Cisco Systems, Inc.
All rights reserved.
"""
from collections import OrderedDict
from ydk.types import Entity, EntityPath, Identity, Enum, YType, YLeaf, YLeafList, YList, LeafDataList, Bits, Empty, Decimal64
from ydk.filters import YFilter
from ydk.errors import YError, YModelError
from ydk.errors.error_handler import handle_type_error as _handle_type_error
class HsrpBAf(Enum):
"""
HsrpBAf (Enum Class)
Hsrp b af
.. data:: ipv4 = 0
IPv4 Address Family
.. data:: ipv6 = 1
IPv6 Address Family
.. data:: count = 2
The number of supported address families
"""
ipv4 = Enum.YLeaf(0, "ipv4")
ipv6 = Enum.YLeaf(1, "ipv6")
count = Enum.YLeaf(2, "count")
class HsrpBfdSessionState(Enum):
"""
HsrpBfdSessionState (Enum Class)
Hsrp bfd session state
.. data:: bfd_state_none = 0
None
.. data:: bfd_state_inactive = 1
Inactive
.. data:: bfd_state_up = 2
Up
.. data:: bfd_state_down = 3
Down
"""
bfd_state_none = Enum.YLeaf(0, "bfd-state-none")
bfd_state_inactive = Enum.YLeaf(1, "bfd-state-inactive")
bfd_state_up = Enum.YLeaf(2, "bfd-state-up")
bfd_state_down = Enum.YLeaf(3, "bfd-state-down")
class HsrpStateChangeReason(Enum):
"""
HsrpStateChangeReason (Enum Class)
Hsrp state change reason
.. data:: state_change_bfd_down = 0
BFD session down
.. data:: state_change_vip_learnt = 1
Virtual IP learnt
.. data:: state_change_interface_ip = 2
Interface IP update
.. data:: state_change_delay_timer = 3
Delay timer expired
.. data:: state_change_startup = 4
Ready on startup
.. data:: state_change_shutdown = 5
HSRP shut down
.. data:: state_change_interface_up = 6
Interface Up update
.. data:: state_change_interface_down = 7
Interface Down update
.. data:: state_change_active_timer = 8
Active timer expired
.. data:: state_change_standby_timer = 9
Standby timer expired
.. data:: state_change_resign = 10
Resign received
.. data:: state_change_coup = 11
Coup received
.. data:: state_change_higher_priority_speak = 12
Higher priority speak received
.. data:: state_change_higher_priority_standby = 13
Higher priority standby received
.. data:: state_change_lower_priority_standby = 14
Lower priority standby received
.. data:: state_change_higher_priority_active = 15
Higher priority active received
.. data:: state_change_lower_priority_active = 16
Lower priority active received
.. data:: state_change_virtual_ip_configured = 17
Virtual IP configured
.. data:: state_change_virtual_ip_lost = 18
Virtual IP lost
.. data:: state_change_recovered_from_checkpoint = 19
Recovered from checkpoint
.. data:: state_change_mac_update = 20
MAC address update
.. data:: state_change_admin = 21
Forwarder Admin state change
.. data:: state_change_parent = 22
MGO parent change
.. data:: state_change_chkpt_update = 23
Checkpoint update from Primary HSRP instance
.. data:: state_change_issu_resync = 24
Resync following ISSU primary event
.. data:: state_change_reset_to_learn = 25
Reset to learn parameters
.. data:: state_change_max = 26
Maximum reason in enumeration
"""
state_change_bfd_down = Enum.YLeaf(0, "state-change-bfd-down")
state_change_vip_learnt = Enum.YLeaf(1, "state-change-vip-learnt")
state_change_interface_ip = Enum.YLeaf(2, "state-change-interface-ip")
state_change_delay_timer = Enum.YLeaf(3, "state-change-delay-timer")
state_change_startup = Enum.YLeaf(4, "state-change-startup")
state_change_shutdown = Enum.YLeaf(5, "state-change-shutdown")
state_change_interface_up = Enum.YLeaf(6, "state-change-interface-up")
state_change_interface_down = Enum.YLeaf(7, "state-change-interface-down")
state_change_active_timer = Enum.YLeaf(8, "state-change-active-timer")
state_change_standby_timer = Enum.YLeaf(9, "state-change-standby-timer")
state_change_resign = Enum.YLeaf(10, "state-change-resign")
state_change_coup = Enum.YLeaf(11, "state-change-coup")
state_change_higher_priority_speak = Enum.YLeaf(12, "state-change-higher-priority-speak")
state_change_higher_priority_standby = Enum.YLeaf(13, "state-change-higher-priority-standby")
state_change_lower_priority_standby = Enum.YLeaf(14, "state-change-lower-priority-standby")
state_change_higher_priority_active = Enum.YLeaf(15, "state-change-higher-priority-active")
state_change_lower_priority_active = Enum.YLeaf(16, "state-change-lower-priority-active")
state_change_virtual_ip_configured = Enum.YLeaf(17, "state-change-virtual-ip-configured")
state_change_virtual_ip_lost = Enum.YLeaf(18, "state-change-virtual-ip-lost")
state_change_recovered_from_checkpoint = Enum.YLeaf(19, "state-change-recovered-from-checkpoint")
state_change_mac_update = Enum.YLeaf(20, "state-change-mac-update")
state_change_admin = Enum.YLeaf(21, "state-change-admin")
state_change_parent = Enum.YLeaf(22, "state-change-parent")
state_change_chkpt_update = Enum.YLeaf(23, "state-change-chkpt-update")
state_change_issu_resync = Enum.YLeaf(24, "state-change-issu-resync")
state_change_reset_to_learn = Enum.YLeaf(25, "state-change-reset-to-learn")
state_change_max = Enum.YLeaf(26, "state-change-max")
class HsrpVmacState(Enum):
"""
HsrpVmacState (Enum Class)
Hsrp vmac state
.. data:: stored = 0
VMAC stored locally
.. data:: reserved = 1
VMAC reserved in mac table
.. data:: active = 2
VMAC active in mac table
.. data:: reserving = 3
VMAC not yet reserved in mac table
"""
stored = Enum.YLeaf(0, "stored")
reserved = Enum.YLeaf(1, "reserved")
active = Enum.YLeaf(2, "active")
reserving = Enum.YLeaf(3, "reserving")
class StandbyGrpState(Enum):
"""
StandbyGrpState (Enum Class)
Standby grp state
.. data:: state_initial = 1
Initial
.. data:: state_learn = 2
Learn
.. data:: state_listen = 3
Listen
.. data:: state_speak = 4
Speak
.. data:: state_standby = 5
Standby
.. data:: state_active = 6
Active
"""
state_initial = Enum.YLeaf(1, "state-initial")
state_learn = Enum.YLeaf(2, "state-learn")
state_listen = Enum.YLeaf(3, "state-listen")
state_speak = Enum.YLeaf(4, "state-speak")
state_standby = Enum.YLeaf(5, "state-standby")
state_active = Enum.YLeaf(6, "state-active")
class Hsrp(Entity):
"""
HSRP operational data
.. attribute:: ipv4
IPv4 HSRP information
**type**\: :py:class:`Ipv4 <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.Hsrp.Ipv4>`
.. attribute:: mgo_sessions
HSRP MGO session table
**type**\: :py:class:`MgoSessions <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.Hsrp.MgoSessions>`
.. attribute:: ipv6
IPv6 HSRP information
**type**\: :py:class:`Ipv6 <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.Hsrp.Ipv6>`
.. attribute:: bfd_sessions
The table of HSRP BFD Sessions
**type**\: :py:class:`BfdSessions <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.Hsrp.BfdSessions>`
.. attribute:: summary
HSRP summary statistics
**type**\: :py:class:`Summary <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.Hsrp.Summary>`
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp, self).__init__()
self._top_entity = None
self.yang_name = "hsrp"
self.yang_parent_name = "Cisco-IOS-XR-ipv4-hsrp-oper"
self.is_top_level_class = True
self.has_list_ancestor = False
self.ylist_key_names = []
self._child_classes = OrderedDict([("ipv4", ("ipv4", Hsrp.Ipv4)), ("mgo-sessions", ("mgo_sessions", Hsrp.MgoSessions)), ("ipv6", ("ipv6", Hsrp.Ipv6)), ("bfd-sessions", ("bfd_sessions", Hsrp.BfdSessions)), ("summary", ("summary", Hsrp.Summary))])
self._leafs = OrderedDict()
self.ipv4 = Hsrp.Ipv4()
self.ipv4.parent = self
self._children_name_map["ipv4"] = "ipv4"
self.mgo_sessions = Hsrp.MgoSessions()
self.mgo_sessions.parent = self
self._children_name_map["mgo_sessions"] = "mgo-sessions"
self.ipv6 = Hsrp.Ipv6()
self.ipv6.parent = self
self._children_name_map["ipv6"] = "ipv6"
self.bfd_sessions = Hsrp.BfdSessions()
self.bfd_sessions.parent = self
self._children_name_map["bfd_sessions"] = "bfd-sessions"
self.summary = Hsrp.Summary()
self.summary.parent = self
self._children_name_map["summary"] = "summary"
self._segment_path = lambda: "Cisco-IOS-XR-ipv4-hsrp-oper:hsrp"
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp, [], name, value)
class Ipv4(Entity):
"""
IPv4 HSRP information
.. attribute:: groups
The HSRP standby group table
**type**\: :py:class:`Groups <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.Hsrp.Ipv4.Groups>`
.. attribute:: tracked_interfaces
The HSRP tracked interfaces table
**type**\: :py:class:`TrackedInterfaces <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.Hsrp.Ipv4.TrackedInterfaces>`
.. attribute:: interfaces
The HSRP interface information table
**type**\: :py:class:`Interfaces <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.Hsrp.Ipv4.Interfaces>`
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp.Ipv4, self).__init__()
self.yang_name = "ipv4"
self.yang_parent_name = "hsrp"
self.is_top_level_class = False
self.has_list_ancestor = False
self.ylist_key_names = []
self._child_classes = OrderedDict([("groups", ("groups", Hsrp.Ipv4.Groups)), ("tracked-interfaces", ("tracked_interfaces", Hsrp.Ipv4.TrackedInterfaces)), ("interfaces", ("interfaces", Hsrp.Ipv4.Interfaces))])
self._leafs = OrderedDict()
self.groups = Hsrp.Ipv4.Groups()
self.groups.parent = self
self._children_name_map["groups"] = "groups"
self.tracked_interfaces = Hsrp.Ipv4.TrackedInterfaces()
self.tracked_interfaces.parent = self
self._children_name_map["tracked_interfaces"] = "tracked-interfaces"
self.interfaces = Hsrp.Ipv4.Interfaces()
self.interfaces.parent = self
self._children_name_map["interfaces"] = "interfaces"
self._segment_path = lambda: "ipv4"
self._absolute_path = lambda: "Cisco-IOS-XR-ipv4-hsrp-oper:hsrp/%s" % self._segment_path()
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp.Ipv4, [], name, value)
class Groups(Entity):
"""
The HSRP standby group table
.. attribute:: group
An HSRP standby group
**type**\: list of :py:class:`Group <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.Hsrp.Ipv4.Groups.Group>`
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp.Ipv4.Groups, self).__init__()
self.yang_name = "groups"
self.yang_parent_name = "ipv4"
self.is_top_level_class = False
self.has_list_ancestor = False
self.ylist_key_names = []
self._child_classes = OrderedDict([("group", ("group", Hsrp.Ipv4.Groups.Group))])
self._leafs = OrderedDict()
self.group = YList(self)
self._segment_path = lambda: "groups"
self._absolute_path = lambda: "Cisco-IOS-XR-ipv4-hsrp-oper:hsrp/ipv4/%s" % self._segment_path()
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp.Ipv4.Groups, [], name, value)
class Group(Entity):
"""
An HSRP standby group
.. attribute:: interface_name (key)
The interface name
**type**\: str
**pattern:** [a\-zA\-Z0\-9.\_/\-]+
.. attribute:: group_number (key)
The HSRP group number
**type**\: int
**range:** 0..4294967295
.. attribute:: resign_sent_time
Time last resign was sent
**type**\: :py:class:`ResignSentTime <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.Hsrp.Ipv4.Groups.Group.ResignSentTime>`
.. attribute:: resign_received_time
Time last resign was received
**type**\: :py:class:`ResignReceivedTime <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.Hsrp.Ipv4.Groups.Group.ResignReceivedTime>`
.. attribute:: coup_sent_time
Time last coup was sent
**type**\: :py:class:`CoupSentTime <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.Hsrp.Ipv4.Groups.Group.CoupSentTime>`
.. attribute:: coup_received_time
Time last coup was received
**type**\: :py:class:`CoupReceivedTime <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.Hsrp.Ipv4.Groups.Group.CoupReceivedTime>`
.. attribute:: statistics
HSRP Group statistics
**type**\: :py:class:`Statistics <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.Hsrp.Ipv4.Groups.Group.Statistics>`
.. attribute:: authentication_string
Authentication string
**type**\: str
**length:** 0..9
.. attribute:: virtual_mac_address
Virtual mac address
**type**\: str
**pattern:** [0\-9a\-fA\-F]{2}(\:[0\-9a\-fA\-F]{2}){5}
.. attribute:: hsrp_group_number
HSRP Group number
**type**\: int
**range:** 0..4294967295
.. attribute:: address_family
Address family
**type**\: :py:class:`HsrpBAf <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.HsrpBAf>`
.. attribute:: version
HSRP Protocol Version
**type**\: int
**range:** 0..255
.. attribute:: session_name
Session Name
**type**\: str
**length:** 0..16
.. attribute:: slaves
Number of slaves following state
**type**\: int
**range:** 0..4294967295
.. attribute:: is_slave
Group is a slave group
**type**\: bool
.. attribute:: followed_session_name
Followed Session Name
**type**\: str
**length:** 0..16
.. attribute:: configured_priority
Configured priority
**type**\: int
**range:** 0..255
.. attribute:: preempt_delay
Preempt delay time in seconds
**type**\: int
**range:** 0..4294967295
**units**\: second
.. attribute:: preempt_timer_secs
Preempt time remaining in seconds
**type**\: int
**range:** 0..4294967295
**units**\: second
.. attribute:: hello_time
Hellotime in msecs
**type**\: int
**range:** 0..4294967295
**units**\: millisecond
.. attribute:: hold_time
Holdtime in msecs
**type**\: int
**range:** 0..4294967295
**units**\: millisecond
.. attribute:: learned_hello_time
Learned hellotime in msecs
**type**\: int
**range:** 0..4294967295
**units**\: millisecond
.. attribute:: learned_hold_time
Learned holdtime in msecs
**type**\: int
**range:** 0..4294967295
**units**\: millisecond
.. attribute:: min_delay_time
Minimum delay time in msecs
**type**\: int
**range:** 0..4294967295
**units**\: millisecond
.. attribute:: reload_delay_time
Reload delay time in msecs
**type**\: int
**range:** 0..4294967295
**units**\: millisecond
.. attribute:: virtual_ip_address
Configured Virtual IPv4 address
**type**\: str
**pattern:** (([0\-9]\|[1\-9][0\-9]\|1[0\-9][0\-9]\|2[0\-4][0\-9]\|25[0\-5])\\.){3}([0\-9]\|[1\-9][0\-9]\|1[0\-9][0\-9]\|2[0\-4][0\-9]\|25[0\-5])(%[\\p{N}\\p{L}]+)?
.. attribute:: virtual_linklocal_ipv6_address
Virtual linklocal IPv6 address
**type**\: str
**pattern:** ((\:\|[0\-9a\-fA\-F]{0,4})\:)([0\-9a\-fA\-F]{0,4}\:){0,5}((([0\-9a\-fA\-F]{0,4}\:)?(\:\|[0\-9a\-fA\-F]{0,4}))\|(((25[0\-5]\|2[0\-4][0\-9]\|[01]?[0\-9]?[0\-9])\\.){3}(25[0\-5]\|2[0\-4][0\-9]\|[01]?[0\-9]?[0\-9])))(%[\\p{N}\\p{L}]+)?
.. attribute:: active_ip_address
Active router's IP address
**type**\: str
**pattern:** (([0\-9]\|[1\-9][0\-9]\|1[0\-9][0\-9]\|2[0\-4][0\-9]\|25[0\-5])\\.){3}([0\-9]\|[1\-9][0\-9]\|1[0\-9][0\-9]\|2[0\-4][0\-9]\|25[0\-5])(%[\\p{N}\\p{L}]+)?
.. attribute:: active_ipv6_address
Active router's IPv6 address
**type**\: str
**pattern:** ((\:\|[0\-9a\-fA\-F]{0,4})\:)([0\-9a\-fA\-F]{0,4}\:){0,5}((([0\-9a\-fA\-F]{0,4}\:)?(\:\|[0\-9a\-fA\-F]{0,4}))\|(((25[0\-5]\|2[0\-4][0\-9]\|[01]?[0\-9]?[0\-9])\\.){3}(25[0\-5]\|2[0\-4][0\-9]\|[01]?[0\-9]?[0\-9])))(%[\\p{N}\\p{L}]+)?
.. attribute:: active_mac_address
Active router's interface MAC address
**type**\: str
**pattern:** [0\-9a\-fA\-F]{2}(\:[0\-9a\-fA\-F]{2}){5}
.. attribute:: standby_ip_address
Standby router's IP address
**type**\: str
**pattern:** (([0\-9]\|[1\-9][0\-9]\|1[0\-9][0\-9]\|2[0\-4][0\-9]\|25[0\-5])\\.){3}([0\-9]\|[1\-9][0\-9]\|1[0\-9][0\-9]\|2[0\-4][0\-9]\|25[0\-5])(%[\\p{N}\\p{L}]+)?
.. attribute:: standby_ipv6_address
Standby router's IPv6 address
**type**\: str
**pattern:** ((\:\|[0\-9a\-fA\-F]{0,4})\:)([0\-9a\-fA\-F]{0,4}\:){0,5}((([0\-9a\-fA\-F]{0,4}\:)?(\:\|[0\-9a\-fA\-F]{0,4}))\|(((25[0\-5]\|2[0\-4][0\-9]\|[01]?[0\-9]?[0\-9])\\.){3}(25[0\-5]\|2[0\-4][0\-9]\|[01]?[0\-9]?[0\-9])))(%[\\p{N}\\p{L}]+)?
.. attribute:: standby_mac_address
Standby router's interface MAC address
**type**\: str
**pattern:** [0\-9a\-fA\-F]{2}(\:[0\-9a\-fA\-F]{2}){5}
.. attribute:: hsrp_router_state
HSRP router state
**type**\: :py:class:`StandbyGrpState <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.StandbyGrpState>`
.. attribute:: interface_name_xr
Interface Name
**type**\: str
**length:** 0..64
.. attribute:: interface
IM Interface
**type**\: str
**pattern:** [a\-zA\-Z0\-9.\_/\-]+
.. attribute:: router_priority
Priority of the router
**type**\: int
**range:** 0..255
.. attribute:: active_priority
Priority of the Active router
**type**\: int
**range:** 0..255
.. attribute:: active_timer_flag
Active timer running flag
**type**\: bool
.. attribute:: active_timer_secs
Active timer running time secs
**type**\: int
**range:** 0..4294967295
**units**\: second
.. attribute:: active_timer_msecs
Active timer running time msecs
**type**\: int
**range:** 0..4294967295
**units**\: millisecond
.. attribute:: standby_timer_flag
Standby timer running flag
**type**\: bool
.. attribute:: standby_timer_secs
Standby timer running time secs
**type**\: int
**range:** 0..4294967295
**units**\: second
.. attribute:: standby_timer_msecs
Standby timer running time msecs
**type**\: int
**range:** 0..4294967295
**units**\: millisecond
.. attribute:: hello_timer_flag
Hello timer running flag
**type**\: bool
.. attribute:: hello_timer_secs
Hello timer running time secs
**type**\: int
**range:** 0..4294967295
**units**\: second
.. attribute:: hello_timer_msecs
Hello timer running time msecs
**type**\: int
**range:** 0..4294967295
**units**\: millisecond
.. attribute:: delay_timer_flag
Delay timer running flag
**type**\: bool
.. attribute:: delay_timer_secs
Delay timer running time secs
**type**\: int
**range:** 0..4294967295
**units**\: second
.. attribute:: delay_timer_msecs
Delay timer running time msecs
**type**\: int
**range:** 0..4294967295
**units**\: millisecond
.. attribute:: current_state_timer_secs
Time in current state secs
**type**\: int
**range:** 0..4294967295
**units**\: second
.. attribute:: state_change_count
Number of state changes
**type**\: int
**range:** 0..4294967295
.. attribute:: tracked_interface_count
Number of tracked interfaces
**type**\: int
**range:** 0..4294967295
.. attribute:: tracked_interface_up_count
Number of tracked interfaces up
**type**\: int
**range:** 0..4294967295
.. attribute:: preempt_enabled
Preempt enabled
**type**\: bool
.. attribute:: use_configured_timers
Use configured timers
**type**\: bool
.. attribute:: use_configured_virtual_ip
Use configured virtual IP
**type**\: bool
.. attribute:: use_bia_configured
Use burnt in MAC address configured
**type**\: bool
.. attribute:: configured_timers
Non\-default timers are configured
**type**\: bool
.. attribute:: configured_mac_address
MAC address configured
**type**\: bool
.. attribute:: redirects_disabled
HSRP redirects disabled
**type**\: bool
.. attribute:: bfd_enabled
HSRP BFD fast failover
**type**\: bool
.. attribute:: bfd_interface
BFD Interface
**type**\: str
**pattern:** [a\-zA\-Z0\-9.\_/\-]+
.. attribute:: bfd_peer_ip_address
BFD Peer IP address
**type**\: str
**pattern:** (([0\-9]\|[1\-9][0\-9]\|1[0\-9][0\-9]\|2[0\-4][0\-9]\|25[0\-5])\\.){3}([0\-9]\|[1\-9][0\-9]\|1[0\-9][0\-9]\|2[0\-4][0\-9]\|25[0\-5])(%[\\p{N}\\p{L}]+)?
.. attribute:: bfd_peer_ipv6_address
BFD Peer IPv6 address
**type**\: str
**pattern:** ((\:\|[0\-9a\-fA\-F]{0,4})\:)([0\-9a\-fA\-F]{0,4}\:){0,5}((([0\-9a\-fA\-F]{0,4}\:)?(\:\|[0\-9a\-fA\-F]{0,4}))\|(((25[0\-5]\|2[0\-4][0\-9]\|[01]?[0\-9]?[0\-9])\\.){3}(25[0\-5]\|2[0\-4][0\-9]\|[01]?[0\-9]?[0\-9])))(%[\\p{N}\\p{L}]+)?
.. attribute:: bfd_session_state
BFD session state
**type**\: :py:class:`HsrpBfdSessionState <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.HsrpBfdSessionState>`
.. attribute:: bfd_interval
BFD packet send interval
**type**\: int
**range:** 0..4294967295
.. attribute:: bfd_multiplier
BFD multiplier
**type**\: int
**range:** 0..4294967295
.. attribute:: virtual_mac_address_state
Virtual mac address state
**type**\: :py:class:`HsrpVmacState <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.HsrpVmacState>`
.. attribute:: secondary_address
Secondary virtual IP addresses
**type**\: list of str
**pattern:** (([0\-9]\|[1\-9][0\-9]\|1[0\-9][0\-9]\|2[0\-4][0\-9]\|25[0\-5])\\.){3}([0\-9]\|[1\-9][0\-9]\|1[0\-9][0\-9]\|2[0\-4][0\-9]\|25[0\-5])(%[\\p{N}\\p{L}]+)?
.. attribute:: global_address
Global virtual IPv6 addresses
**type**\: list of :py:class:`GlobalAddress <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.Hsrp.Ipv4.Groups.Group.GlobalAddress>`
.. attribute:: state_change_history
State change history
**type**\: list of :py:class:`StateChangeHistory <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.Hsrp.Ipv4.Groups.Group.StateChangeHistory>`
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp.Ipv4.Groups.Group, self).__init__()
self.yang_name = "group"
self.yang_parent_name = "groups"
self.is_top_level_class = False
self.has_list_ancestor = False
self.ylist_key_names = ['interface_name','group_number']
self._child_classes = OrderedDict([("resign-sent-time", ("resign_sent_time", Hsrp.Ipv4.Groups.Group.ResignSentTime)), ("resign-received-time", ("resign_received_time", Hsrp.Ipv4.Groups.Group.ResignReceivedTime)), ("coup-sent-time", ("coup_sent_time", Hsrp.Ipv4.Groups.Group.CoupSentTime)), ("coup-received-time", ("coup_received_time", Hsrp.Ipv4.Groups.Group.CoupReceivedTime)), ("statistics", ("statistics", Hsrp.Ipv4.Groups.Group.Statistics)), ("global-address", ("global_address", Hsrp.Ipv4.Groups.Group.GlobalAddress)), ("state-change-history", ("state_change_history", Hsrp.Ipv4.Groups.Group.StateChangeHistory))])
self._leafs = OrderedDict([
('interface_name', (YLeaf(YType.str, 'interface-name'), ['str'])),
('group_number', (YLeaf(YType.uint32, 'group-number'), ['int'])),
('authentication_string', (YLeaf(YType.str, 'authentication-string'), ['str'])),
('virtual_mac_address', (YLeaf(YType.str, 'virtual-mac-address'), ['str'])),
('hsrp_group_number', (YLeaf(YType.uint32, 'hsrp-group-number'), ['int'])),
('address_family', (YLeaf(YType.enumeration, 'address-family'), [('ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper', 'HsrpBAf', '')])),
('version', (YLeaf(YType.uint8, 'version'), ['int'])),
('session_name', (YLeaf(YType.str, 'session-name'), ['str'])),
('slaves', (YLeaf(YType.uint32, 'slaves'), ['int'])),
('is_slave', (YLeaf(YType.boolean, 'is-slave'), ['bool'])),
('followed_session_name', (YLeaf(YType.str, 'followed-session-name'), ['str'])),
('configured_priority', (YLeaf(YType.uint8, 'configured-priority'), ['int'])),
('preempt_delay', (YLeaf(YType.uint32, 'preempt-delay'), ['int'])),
('preempt_timer_secs', (YLeaf(YType.uint32, 'preempt-timer-secs'), ['int'])),
('hello_time', (YLeaf(YType.uint32, 'hello-time'), ['int'])),
('hold_time', (YLeaf(YType.uint32, 'hold-time'), ['int'])),
('learned_hello_time', (YLeaf(YType.uint32, 'learned-hello-time'), ['int'])),
('learned_hold_time', (YLeaf(YType.uint32, 'learned-hold-time'), ['int'])),
('min_delay_time', (YLeaf(YType.uint32, 'min-delay-time'), ['int'])),
('reload_delay_time', (YLeaf(YType.uint32, 'reload-delay-time'), ['int'])),
('virtual_ip_address', (YLeaf(YType.str, 'virtual-ip-address'), ['str'])),
('virtual_linklocal_ipv6_address', (YLeaf(YType.str, 'virtual-linklocal-ipv6-address'), ['str'])),
('active_ip_address', (YLeaf(YType.str, 'active-ip-address'), ['str'])),
('active_ipv6_address', (YLeaf(YType.str, 'active-ipv6-address'), ['str'])),
('active_mac_address', (YLeaf(YType.str, 'active-mac-address'), ['str'])),
('standby_ip_address', (YLeaf(YType.str, 'standby-ip-address'), ['str'])),
('standby_ipv6_address', (YLeaf(YType.str, 'standby-ipv6-address'), ['str'])),
('standby_mac_address', (YLeaf(YType.str, 'standby-mac-address'), ['str'])),
('hsrp_router_state', (YLeaf(YType.enumeration, 'hsrp-router-state'), [('ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper', 'StandbyGrpState', '')])),
('interface_name_xr', (YLeaf(YType.str, 'interface-name-xr'), ['str'])),
('interface', (YLeaf(YType.str, 'interface'), ['str'])),
('router_priority', (YLeaf(YType.uint8, 'router-priority'), ['int'])),
('active_priority', (YLeaf(YType.uint8, 'active-priority'), ['int'])),
('active_timer_flag', (YLeaf(YType.boolean, 'active-timer-flag'), ['bool'])),
('active_timer_secs', (YLeaf(YType.uint32, 'active-timer-secs'), ['int'])),
('active_timer_msecs', (YLeaf(YType.uint32, 'active-timer-msecs'), ['int'])),
('standby_timer_flag', (YLeaf(YType.boolean, 'standby-timer-flag'), ['bool'])),
('standby_timer_secs', (YLeaf(YType.uint32, 'standby-timer-secs'), ['int'])),
('standby_timer_msecs', (YLeaf(YType.uint32, 'standby-timer-msecs'), ['int'])),
('hello_timer_flag', (YLeaf(YType.boolean, 'hello-timer-flag'), ['bool'])),
('hello_timer_secs', (YLeaf(YType.uint32, 'hello-timer-secs'), ['int'])),
('hello_timer_msecs', (YLeaf(YType.uint32, 'hello-timer-msecs'), ['int'])),
('delay_timer_flag', (YLeaf(YType.boolean, 'delay-timer-flag'), ['bool'])),
('delay_timer_secs', (YLeaf(YType.uint32, 'delay-timer-secs'), ['int'])),
('delay_timer_msecs', (YLeaf(YType.uint32, 'delay-timer-msecs'), ['int'])),
('current_state_timer_secs', (YLeaf(YType.uint32, 'current-state-timer-secs'), ['int'])),
('state_change_count', (YLeaf(YType.uint32, 'state-change-count'), ['int'])),
('tracked_interface_count', (YLeaf(YType.uint32, 'tracked-interface-count'), ['int'])),
('tracked_interface_up_count', (YLeaf(YType.uint32, 'tracked-interface-up-count'), ['int'])),
('preempt_enabled', (YLeaf(YType.boolean, 'preempt-enabled'), ['bool'])),
('use_configured_timers', (YLeaf(YType.boolean, 'use-configured-timers'), ['bool'])),
('use_configured_virtual_ip', (YLeaf(YType.boolean, 'use-configured-virtual-ip'), ['bool'])),
('use_bia_configured', (YLeaf(YType.boolean, 'use-bia-configured'), ['bool'])),
('configured_timers', (YLeaf(YType.boolean, 'configured-timers'), ['bool'])),
('configured_mac_address', (YLeaf(YType.boolean, 'configured-mac-address'), ['bool'])),
('redirects_disabled', (YLeaf(YType.boolean, 'redirects-disabled'), ['bool'])),
('bfd_enabled', (YLeaf(YType.boolean, 'bfd-enabled'), ['bool'])),
('bfd_interface', (YLeaf(YType.str, 'bfd-interface'), ['str'])),
('bfd_peer_ip_address', (YLeaf(YType.str, 'bfd-peer-ip-address'), ['str'])),
('bfd_peer_ipv6_address', (YLeaf(YType.str, 'bfd-peer-ipv6-address'), ['str'])),
('bfd_session_state', (YLeaf(YType.enumeration, 'bfd-session-state'), [('ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper', 'HsrpBfdSessionState', '')])),
('bfd_interval', (YLeaf(YType.uint32, 'bfd-interval'), ['int'])),
('bfd_multiplier', (YLeaf(YType.uint32, 'bfd-multiplier'), ['int'])),
('virtual_mac_address_state', (YLeaf(YType.enumeration, 'virtual-mac-address-state'), [('ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper', 'HsrpVmacState', '')])),
('secondary_address', (YLeafList(YType.str, 'secondary-address'), ['str'])),
])
self.interface_name = None
self.group_number = None
self.authentication_string = None
self.virtual_mac_address = None
self.hsrp_group_number = None
self.address_family = None
self.version = None
self.session_name = None
self.slaves = None
self.is_slave = None
self.followed_session_name = None
self.configured_priority = None
self.preempt_delay = None
self.preempt_timer_secs = None
self.hello_time = None
self.hold_time = None
self.learned_hello_time = None
self.learned_hold_time = None
self.min_delay_time = None
self.reload_delay_time = None
self.virtual_ip_address = None
self.virtual_linklocal_ipv6_address = None
self.active_ip_address = None
self.active_ipv6_address = None
self.active_mac_address = None
self.standby_ip_address = None
self.standby_ipv6_address = None
self.standby_mac_address = None
self.hsrp_router_state = None
self.interface_name_xr = None
self.interface = None
self.router_priority = None
self.active_priority = None
self.active_timer_flag = None
self.active_timer_secs = None
self.active_timer_msecs = None
self.standby_timer_flag = None
self.standby_timer_secs = None
self.standby_timer_msecs = None
self.hello_timer_flag = None
self.hello_timer_secs = None
self.hello_timer_msecs = None
self.delay_timer_flag = None
self.delay_timer_secs = None
self.delay_timer_msecs = None
self.current_state_timer_secs = None
self.state_change_count = None
self.tracked_interface_count = None
self.tracked_interface_up_count = None
self.preempt_enabled = None
self.use_configured_timers = None
self.use_configured_virtual_ip = None
self.use_bia_configured = None
self.configured_timers = None
self.configured_mac_address = None
self.redirects_disabled = None
self.bfd_enabled = None
self.bfd_interface = None
self.bfd_peer_ip_address = None
self.bfd_peer_ipv6_address = None
self.bfd_session_state = None
self.bfd_interval = None
self.bfd_multiplier = None
self.virtual_mac_address_state = None
self.secondary_address = []
self.resign_sent_time = Hsrp.Ipv4.Groups.Group.ResignSentTime()
self.resign_sent_time.parent = self
self._children_name_map["resign_sent_time"] = "resign-sent-time"
self.resign_received_time = Hsrp.Ipv4.Groups.Group.ResignReceivedTime()
self.resign_received_time.parent = self
self._children_name_map["resign_received_time"] = "resign-received-time"
self.coup_sent_time = Hsrp.Ipv4.Groups.Group.CoupSentTime()
self.coup_sent_time.parent = self
self._children_name_map["coup_sent_time"] = "coup-sent-time"
self.coup_received_time = Hsrp.Ipv4.Groups.Group.CoupReceivedTime()
self.coup_received_time.parent = self
self._children_name_map["coup_received_time"] = "coup-received-time"
self.statistics = Hsrp.Ipv4.Groups.Group.Statistics()
self.statistics.parent = self
self._children_name_map["statistics"] = "statistics"
self.global_address = YList(self)
self.state_change_history = YList(self)
self._segment_path = lambda: "group" + "[interface-name='" + str(self.interface_name) + "']" + "[group-number='" + str(self.group_number) + "']"
self._absolute_path = lambda: "Cisco-IOS-XR-ipv4-hsrp-oper:hsrp/ipv4/groups/%s" % self._segment_path()
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp.Ipv4.Groups.Group, ['interface_name', 'group_number', 'authentication_string', 'virtual_mac_address', 'hsrp_group_number', 'address_family', 'version', 'session_name', 'slaves', 'is_slave', 'followed_session_name', 'configured_priority', 'preempt_delay', 'preempt_timer_secs', 'hello_time', 'hold_time', 'learned_hello_time', 'learned_hold_time', 'min_delay_time', 'reload_delay_time', 'virtual_ip_address', 'virtual_linklocal_ipv6_address', 'active_ip_address', 'active_ipv6_address', 'active_mac_address', 'standby_ip_address', 'standby_ipv6_address', 'standby_mac_address', 'hsrp_router_state', 'interface_name_xr', 'interface', 'router_priority', 'active_priority', 'active_timer_flag', 'active_timer_secs', 'active_timer_msecs', 'standby_timer_flag', 'standby_timer_secs', 'standby_timer_msecs', 'hello_timer_flag', 'hello_timer_secs', 'hello_timer_msecs', 'delay_timer_flag', 'delay_timer_secs', 'delay_timer_msecs', 'current_state_timer_secs', 'state_change_count', 'tracked_interface_count', 'tracked_interface_up_count', 'preempt_enabled', 'use_configured_timers', 'use_configured_virtual_ip', 'use_bia_configured', 'configured_timers', 'configured_mac_address', 'redirects_disabled', 'bfd_enabled', 'bfd_interface', 'bfd_peer_ip_address', 'bfd_peer_ipv6_address', 'bfd_session_state', 'bfd_interval', 'bfd_multiplier', 'virtual_mac_address_state', 'secondary_address'], name, value)
class ResignSentTime(Entity):
"""
Time last resign was sent
.. attribute:: seconds
Seconds
**type**\: int
**range:** 0..4294967295
**units**\: second
.. attribute:: nanoseconds
Nanoseconds
**type**\: int
**range:** 0..4294967295
**units**\: nanosecond
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp.Ipv4.Groups.Group.ResignSentTime, self).__init__()
self.yang_name = "resign-sent-time"
self.yang_parent_name = "group"
self.is_top_level_class = False
self.has_list_ancestor = True
self.ylist_key_names = []
self._child_classes = OrderedDict([])
self._leafs = OrderedDict([
('seconds', (YLeaf(YType.uint32, 'seconds'), ['int'])),
('nanoseconds', (YLeaf(YType.uint32, 'nanoseconds'), ['int'])),
])
self.seconds = None
self.nanoseconds = None
self._segment_path = lambda: "resign-sent-time"
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp.Ipv4.Groups.Group.ResignSentTime, ['seconds', 'nanoseconds'], name, value)
class ResignReceivedTime(Entity):
"""
Time last resign was received
.. attribute:: seconds
Seconds
**type**\: int
**range:** 0..4294967295
**units**\: second
.. attribute:: nanoseconds
Nanoseconds
**type**\: int
**range:** 0..4294967295
**units**\: nanosecond
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp.Ipv4.Groups.Group.ResignReceivedTime, self).__init__()
self.yang_name = "resign-received-time"
self.yang_parent_name = "group"
self.is_top_level_class = False
self.has_list_ancestor = True
self.ylist_key_names = []
self._child_classes = OrderedDict([])
self._leafs = OrderedDict([
('seconds', (YLeaf(YType.uint32, 'seconds'), ['int'])),
('nanoseconds', (YLeaf(YType.uint32, 'nanoseconds'), ['int'])),
])
self.seconds = None
self.nanoseconds = None
self._segment_path = lambda: "resign-received-time"
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp.Ipv4.Groups.Group.ResignReceivedTime, ['seconds', 'nanoseconds'], name, value)
class CoupSentTime(Entity):
"""
Time last coup was sent
.. attribute:: seconds
Seconds
**type**\: int
**range:** 0..4294967295
**units**\: second
.. attribute:: nanoseconds
Nanoseconds
**type**\: int
**range:** 0..4294967295
**units**\: nanosecond
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp.Ipv4.Groups.Group.CoupSentTime, self).__init__()
self.yang_name = "coup-sent-time"
self.yang_parent_name = "group"
self.is_top_level_class = False
self.has_list_ancestor = True
self.ylist_key_names = []
self._child_classes = OrderedDict([])
self._leafs = OrderedDict([
('seconds', (YLeaf(YType.uint32, 'seconds'), ['int'])),
('nanoseconds', (YLeaf(YType.uint32, 'nanoseconds'), ['int'])),
])
self.seconds = None
self.nanoseconds = None
self._segment_path = lambda: "coup-sent-time"
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp.Ipv4.Groups.Group.CoupSentTime, ['seconds', 'nanoseconds'], name, value)
class CoupReceivedTime(Entity):
"""
Time last coup was received
.. attribute:: seconds
Seconds
**type**\: int
**range:** 0..4294967295
**units**\: second
.. attribute:: nanoseconds
Nanoseconds
**type**\: int
**range:** 0..4294967295
**units**\: nanosecond
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp.Ipv4.Groups.Group.CoupReceivedTime, self).__init__()
self.yang_name = "coup-received-time"
self.yang_parent_name = "group"
self.is_top_level_class = False
self.has_list_ancestor = True
self.ylist_key_names = []
self._child_classes = OrderedDict([])
self._leafs = OrderedDict([
('seconds', (YLeaf(YType.uint32, 'seconds'), ['int'])),
('nanoseconds', (YLeaf(YType.uint32, 'nanoseconds'), ['int'])),
])
self.seconds = None
self.nanoseconds = None
self._segment_path = lambda: "coup-received-time"
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp.Ipv4.Groups.Group.CoupReceivedTime, ['seconds', 'nanoseconds'], name, value)
class Statistics(Entity):
"""
HSRP Group statistics
.. attribute:: active_transitions
Number of transitions to Active State
**type**\: int
**range:** 0..4294967295
.. attribute:: standby_transitions
Number of transitions to Standby State
**type**\: int
**range:** 0..4294967295
.. attribute:: speak_transitions
Number of transitions to Speak State
**type**\: int
**range:** 0..4294967295
.. attribute:: listen_transitions
Number of transitions to Listen State
**type**\: int
**range:** 0..4294967295
.. attribute:: learn_transitions
Number of transitions to Learn State
**type**\: int
**range:** 0..4294967295
.. attribute:: init_transitions
Number of transitions to Init State
**type**\: int
**range:** 0..4294967295
.. attribute:: hello_packets_sent
Number of Hello Packets sent (NB\: Bundles only)
**type**\: int
**range:** 0..4294967295
.. attribute:: resign_packets_sent
Number of Resign Packets sent
**type**\: int
**range:** 0..4294967295
.. attribute:: coup_packets_sent
Number of Coup Packets sent
**type**\: int
**range:** 0..4294967295
.. attribute:: hello_packets_received
Number of Hello Packets received
**type**\: int
**range:** 0..4294967295
.. attribute:: resign_packets_received
Number of Resign Packets received
**type**\: int
**range:** 0..4294967295
.. attribute:: coup_packets_received
Number of Coup Packets received
**type**\: int
**range:** 0..4294967295
.. attribute:: auth_fail_received
Number of Packets received that failed authentication
**type**\: int
**range:** 0..4294967295
.. attribute:: invalid_timer_received
Number of packets received with invalid Hello Time value
**type**\: int
**range:** 0..4294967295
.. attribute:: mismatch_virtual_ip_address_received
Number of packets received with mismatching virtual IP address
**type**\: int
**range:** 0..4294967295
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp.Ipv4.Groups.Group.Statistics, self).__init__()
self.yang_name = "statistics"
self.yang_parent_name = "group"
self.is_top_level_class = False
self.has_list_ancestor = True
self.ylist_key_names = []
self._child_classes = OrderedDict([])
self._leafs = OrderedDict([
('active_transitions', (YLeaf(YType.uint32, 'active-transitions'), ['int'])),
('standby_transitions', (YLeaf(YType.uint32, 'standby-transitions'), ['int'])),
('speak_transitions', (YLeaf(YType.uint32, 'speak-transitions'), ['int'])),
('listen_transitions', (YLeaf(YType.uint32, 'listen-transitions'), ['int'])),
('learn_transitions', (YLeaf(YType.uint32, 'learn-transitions'), ['int'])),
('init_transitions', (YLeaf(YType.uint32, 'init-transitions'), ['int'])),
('hello_packets_sent', (YLeaf(YType.uint32, 'hello-packets-sent'), ['int'])),
('resign_packets_sent', (YLeaf(YType.uint32, 'resign-packets-sent'), ['int'])),
('coup_packets_sent', (YLeaf(YType.uint32, 'coup-packets-sent'), ['int'])),
('hello_packets_received', (YLeaf(YType.uint32, 'hello-packets-received'), ['int'])),
('resign_packets_received', (YLeaf(YType.uint32, 'resign-packets-received'), ['int'])),
('coup_packets_received', (YLeaf(YType.uint32, 'coup-packets-received'), ['int'])),
('auth_fail_received', (YLeaf(YType.uint32, 'auth-fail-received'), ['int'])),
('invalid_timer_received', (YLeaf(YType.uint32, 'invalid-timer-received'), ['int'])),
('mismatch_virtual_ip_address_received', (YLeaf(YType.uint32, 'mismatch-virtual-ip-address-received'), ['int'])),
])
self.active_transitions = None
self.standby_transitions = None
self.speak_transitions = None
self.listen_transitions = None
self.learn_transitions = None
self.init_transitions = None
self.hello_packets_sent = None
self.resign_packets_sent = None
self.coup_packets_sent = None
self.hello_packets_received = None
self.resign_packets_received = None
self.coup_packets_received = None
self.auth_fail_received = None
self.invalid_timer_received = None
self.mismatch_virtual_ip_address_received = None
self._segment_path = lambda: "statistics"
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp.Ipv4.Groups.Group.Statistics, ['active_transitions', 'standby_transitions', 'speak_transitions', 'listen_transitions', 'learn_transitions', 'init_transitions', 'hello_packets_sent', 'resign_packets_sent', 'coup_packets_sent', 'hello_packets_received', 'resign_packets_received', 'coup_packets_received', 'auth_fail_received', 'invalid_timer_received', 'mismatch_virtual_ip_address_received'], name, value)
class GlobalAddress(Entity):
"""
Global virtual IPv6 addresses
.. attribute:: ipv6_address
IPV6Address
**type**\: str
**pattern:** ((\:\|[0\-9a\-fA\-F]{0,4})\:)([0\-9a\-fA\-F]{0,4}\:){0,5}((([0\-9a\-fA\-F]{0,4}\:)?(\:\|[0\-9a\-fA\-F]{0,4}))\|(((25[0\-5]\|2[0\-4][0\-9]\|[01]?[0\-9]?[0\-9])\\.){3}(25[0\-5]\|2[0\-4][0\-9]\|[01]?[0\-9]?[0\-9])))(%[\\p{N}\\p{L}]+)?
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp.Ipv4.Groups.Group.GlobalAddress, self).__init__()
self.yang_name = "global-address"
self.yang_parent_name = "group"
self.is_top_level_class = False
self.has_list_ancestor = True
self.ylist_key_names = []
self._child_classes = OrderedDict([])
self._leafs = OrderedDict([
('ipv6_address', (YLeaf(YType.str, 'ipv6-address'), ['str'])),
])
self.ipv6_address = None
self._segment_path = lambda: "global-address"
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp.Ipv4.Groups.Group.GlobalAddress, ['ipv6_address'], name, value)
class StateChangeHistory(Entity):
"""
State change history
.. attribute:: time
Time of state change
**type**\: :py:class:`Time <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.Hsrp.Ipv4.Groups.Group.StateChangeHistory.Time>`
.. attribute:: old_state
Old State
**type**\: :py:class:`StandbyGrpState <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.StandbyGrpState>`
.. attribute:: new_state
New State
**type**\: :py:class:`StandbyGrpState <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.StandbyGrpState>`
.. attribute:: reason
Reason for state change
**type**\: :py:class:`HsrpStateChangeReason <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.HsrpStateChangeReason>`
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp.Ipv4.Groups.Group.StateChangeHistory, self).__init__()
self.yang_name = "state-change-history"
self.yang_parent_name = "group"
self.is_top_level_class = False
self.has_list_ancestor = True
self.ylist_key_names = []
self._child_classes = OrderedDict([("time", ("time", Hsrp.Ipv4.Groups.Group.StateChangeHistory.Time))])
self._leafs = OrderedDict([
('old_state', (YLeaf(YType.enumeration, 'old-state'), [('ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper', 'StandbyGrpState', '')])),
('new_state', (YLeaf(YType.enumeration, 'new-state'), [('ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper', 'StandbyGrpState', '')])),
('reason', (YLeaf(YType.enumeration, 'reason'), [('ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper', 'HsrpStateChangeReason', '')])),
])
self.old_state = None
self.new_state = None
self.reason = None
self.time = Hsrp.Ipv4.Groups.Group.StateChangeHistory.Time()
self.time.parent = self
self._children_name_map["time"] = "time"
self._segment_path = lambda: "state-change-history"
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp.Ipv4.Groups.Group.StateChangeHistory, ['old_state', 'new_state', 'reason'], name, value)
class Time(Entity):
"""
Time of state change
.. attribute:: seconds
Seconds
**type**\: int
**range:** 0..4294967295
**units**\: second
.. attribute:: nanoseconds
Nanoseconds
**type**\: int
**range:** 0..4294967295
**units**\: nanosecond
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp.Ipv4.Groups.Group.StateChangeHistory.Time, self).__init__()
self.yang_name = "time"
self.yang_parent_name = "state-change-history"
self.is_top_level_class = False
self.has_list_ancestor = True
self.ylist_key_names = []
self._child_classes = OrderedDict([])
self._leafs = OrderedDict([
('seconds', (YLeaf(YType.uint32, 'seconds'), ['int'])),
('nanoseconds', (YLeaf(YType.uint32, 'nanoseconds'), ['int'])),
])
self.seconds = None
self.nanoseconds = None
self._segment_path = lambda: "time"
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp.Ipv4.Groups.Group.StateChangeHistory.Time, ['seconds', 'nanoseconds'], name, value)
class TrackedInterfaces(Entity):
"""
The HSRP tracked interfaces table
.. attribute:: tracked_interface
An HSRP tracked interface entry
**type**\: list of :py:class:`TrackedInterface <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.Hsrp.Ipv4.TrackedInterfaces.TrackedInterface>`
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp.Ipv4.TrackedInterfaces, self).__init__()
self.yang_name = "tracked-interfaces"
self.yang_parent_name = "ipv4"
self.is_top_level_class = False
self.has_list_ancestor = False
self.ylist_key_names = []
self._child_classes = OrderedDict([("tracked-interface", ("tracked_interface", Hsrp.Ipv4.TrackedInterfaces.TrackedInterface))])
self._leafs = OrderedDict()
self.tracked_interface = YList(self)
self._segment_path = lambda: "tracked-interfaces"
self._absolute_path = lambda: "Cisco-IOS-XR-ipv4-hsrp-oper:hsrp/ipv4/%s" % self._segment_path()
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp.Ipv4.TrackedInterfaces, [], name, value)
class TrackedInterface(Entity):
"""
An HSRP tracked interface entry
.. attribute:: interface_name (key)
The interface name of the interface
**type**\: str
**pattern:** [a\-zA\-Z0\-9.\_/\-]+
.. attribute:: group_number (key)
The HSRP group number
**type**\: int
**range:** 0..4294967295
.. attribute:: tracked_interface_name (key)
The interface name of the interface being tracked
**type**\: str
**pattern:** [a\-zA\-Z0\-9.\_/\-]+
.. attribute:: interface
IM Interface
**type**\: str
**pattern:** [a\-zA\-Z0\-9.\_/\-]+
.. attribute:: hsrp_group_number
HSRP Group number
**type**\: int
**range:** 0..4294967295
.. attribute:: priority_decrement
Priority weighting
**type**\: int
**range:** 0..4294967295
.. attribute:: interface_up_flag
Interface up flag
**type**\: bool
.. attribute:: tracked_interface_name_xr
Tracked Interface Name
**type**\: str
**length:** 0..64
.. attribute:: is_object
Tracked Object Flag
**type**\: bool
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp.Ipv4.TrackedInterfaces.TrackedInterface, self).__init__()
self.yang_name = "tracked-interface"
self.yang_parent_name = "tracked-interfaces"
self.is_top_level_class = False
self.has_list_ancestor = False
self.ylist_key_names = ['interface_name','group_number','tracked_interface_name']
self._child_classes = OrderedDict([])
self._leafs = OrderedDict([
('interface_name', (YLeaf(YType.str, 'interface-name'), ['str'])),
('group_number', (YLeaf(YType.uint32, 'group-number'), ['int'])),
('tracked_interface_name', (YLeaf(YType.str, 'tracked-interface-name'), ['str'])),
('interface', (YLeaf(YType.str, 'interface'), ['str'])),
('hsrp_group_number', (YLeaf(YType.uint32, 'hsrp-group-number'), ['int'])),
('priority_decrement', (YLeaf(YType.uint32, 'priority-decrement'), ['int'])),
('interface_up_flag', (YLeaf(YType.boolean, 'interface-up-flag'), ['bool'])),
('tracked_interface_name_xr', (YLeaf(YType.str, 'tracked-interface-name-xr'), ['str'])),
('is_object', (YLeaf(YType.boolean, 'is-object'), ['bool'])),
])
self.interface_name = None
self.group_number = None
self.tracked_interface_name = None
self.interface = None
self.hsrp_group_number = None
self.priority_decrement = None
self.interface_up_flag = None
self.tracked_interface_name_xr = None
self.is_object = None
self._segment_path = lambda: "tracked-interface" + "[interface-name='" + str(self.interface_name) + "']" + "[group-number='" + str(self.group_number) + "']" + "[tracked-interface-name='" + str(self.tracked_interface_name) + "']"
self._absolute_path = lambda: "Cisco-IOS-XR-ipv4-hsrp-oper:hsrp/ipv4/tracked-interfaces/%s" % self._segment_path()
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp.Ipv4.TrackedInterfaces.TrackedInterface, ['interface_name', 'group_number', 'tracked_interface_name', 'interface', 'hsrp_group_number', 'priority_decrement', 'interface_up_flag', 'tracked_interface_name_xr', 'is_object'], name, value)
class Interfaces(Entity):
"""
The HSRP interface information table
.. attribute:: interface
A HSRP interface entry
**type**\: list of :py:class:`Interface <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.Hsrp.Ipv4.Interfaces.Interface>`
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp.Ipv4.Interfaces, self).__init__()
self.yang_name = "interfaces"
self.yang_parent_name = "ipv4"
self.is_top_level_class = False
self.has_list_ancestor = False
self.ylist_key_names = []
self._child_classes = OrderedDict([("interface", ("interface", Hsrp.Ipv4.Interfaces.Interface))])
self._leafs = OrderedDict()
self.interface = YList(self)
self._segment_path = lambda: "interfaces"
self._absolute_path = lambda: "Cisco-IOS-XR-ipv4-hsrp-oper:hsrp/ipv4/%s" % self._segment_path()
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp.Ipv4.Interfaces, [], name, value)
class Interface(Entity):
"""
A HSRP interface entry
.. attribute:: interface_name (key)
The interface name
**type**\: str
**pattern:** [a\-zA\-Z0\-9.\_/\-]+
.. attribute:: statistics
HSRP Interface Statistics
**type**\: :py:class:`Statistics <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.Hsrp.Ipv4.Interfaces.Interface.Statistics>`
.. attribute:: interface
IM Interface
**type**\: str
**pattern:** [a\-zA\-Z0\-9.\_/\-]+
.. attribute:: use_bia_flag
Use burnt in mac address flag
**type**\: bool
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp.Ipv4.Interfaces.Interface, self).__init__()
self.yang_name = "interface"
self.yang_parent_name = "interfaces"
self.is_top_level_class = False
self.has_list_ancestor = False
self.ylist_key_names = ['interface_name']
self._child_classes = OrderedDict([("statistics", ("statistics", Hsrp.Ipv4.Interfaces.Interface.Statistics))])
self._leafs = OrderedDict([
('interface_name', (YLeaf(YType.str, 'interface-name'), ['str'])),
('interface', (YLeaf(YType.str, 'interface'), ['str'])),
('use_bia_flag', (YLeaf(YType.boolean, 'use-bia-flag'), ['bool'])),
])
self.interface_name = None
self.interface = None
self.use_bia_flag = None
self.statistics = Hsrp.Ipv4.Interfaces.Interface.Statistics()
self.statistics.parent = self
self._children_name_map["statistics"] = "statistics"
self._segment_path = lambda: "interface" + "[interface-name='" + str(self.interface_name) + "']"
self._absolute_path = lambda: "Cisco-IOS-XR-ipv4-hsrp-oper:hsrp/ipv4/interfaces/%s" % self._segment_path()
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp.Ipv4.Interfaces.Interface, ['interface_name', 'interface', 'use_bia_flag'], name, value)
class Statistics(Entity):
"""
HSRP Interface Statistics
.. attribute:: advert_packets_sent
Number of advertisement packets sent
**type**\: int
**range:** 0..4294967295
.. attribute:: advert_packets_received
Number of advertisement packets received
**type**\: int
**range:** 0..4294967295
.. attribute:: long_packets_received
Number of packets received that were too Long
**type**\: int
**range:** 0..4294967295
.. attribute:: short_packets_received
Number of packets received that were too short
**type**\: int
**range:** 0..4294967295
.. attribute:: invalid_version_received
Number of packets received with invalid version
**type**\: int
**range:** 0..4294967295
.. attribute:: invalid_operation_code_received
Number of packets received with invalid operation code
**type**\: int
**range:** 0..4294967295
.. attribute:: unknown_group_received
Number of packets received for an unknown group id
**type**\: int
**range:** 0..4294967295
.. attribute:: inoperational_group_received
Number of packets received for an inoperational group
**type**\: int
**range:** 0..4294967295
.. attribute:: conflict_source_ip_address_received
Number of packets received from a conflicting Source IP address
**type**\: int
**range:** 0..4294967295
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp.Ipv4.Interfaces.Interface.Statistics, self).__init__()
self.yang_name = "statistics"
self.yang_parent_name = "interface"
self.is_top_level_class = False
self.has_list_ancestor = True
self.ylist_key_names = []
self._child_classes = OrderedDict([])
self._leafs = OrderedDict([
('advert_packets_sent', (YLeaf(YType.uint32, 'advert-packets-sent'), ['int'])),
('advert_packets_received', (YLeaf(YType.uint32, 'advert-packets-received'), ['int'])),
('long_packets_received', (YLeaf(YType.uint32, 'long-packets-received'), ['int'])),
('short_packets_received', (YLeaf(YType.uint32, 'short-packets-received'), ['int'])),
('invalid_version_received', (YLeaf(YType.uint32, 'invalid-version-received'), ['int'])),
('invalid_operation_code_received', (YLeaf(YType.uint32, 'invalid-operation-code-received'), ['int'])),
('unknown_group_received', (YLeaf(YType.uint32, 'unknown-group-received'), ['int'])),
('inoperational_group_received', (YLeaf(YType.uint32, 'inoperational-group-received'), ['int'])),
('conflict_source_ip_address_received', (YLeaf(YType.uint32, 'conflict-source-ip-address-received'), ['int'])),
])
self.advert_packets_sent = None
self.advert_packets_received = None
self.long_packets_received = None
self.short_packets_received = None
self.invalid_version_received = None
self.invalid_operation_code_received = None
self.unknown_group_received = None
self.inoperational_group_received = None
self.conflict_source_ip_address_received = None
self._segment_path = lambda: "statistics"
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp.Ipv4.Interfaces.Interface.Statistics, ['advert_packets_sent', 'advert_packets_received', 'long_packets_received', 'short_packets_received', 'invalid_version_received', 'invalid_operation_code_received', 'unknown_group_received', 'inoperational_group_received', 'conflict_source_ip_address_received'], name, value)
class MgoSessions(Entity):
"""
HSRP MGO session table
.. attribute:: mgo_session
HSRP MGO session
**type**\: list of :py:class:`MgoSession <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.Hsrp.MgoSessions.MgoSession>`
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp.MgoSessions, self).__init__()
self.yang_name = "mgo-sessions"
self.yang_parent_name = "hsrp"
self.is_top_level_class = False
self.has_list_ancestor = False
self.ylist_key_names = []
self._child_classes = OrderedDict([("mgo-session", ("mgo_session", Hsrp.MgoSessions.MgoSession))])
self._leafs = OrderedDict()
self.mgo_session = YList(self)
self._segment_path = lambda: "mgo-sessions"
self._absolute_path = lambda: "Cisco-IOS-XR-ipv4-hsrp-oper:hsrp/%s" % self._segment_path()
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp.MgoSessions, [], name, value)
class MgoSession(Entity):
"""
HSRP MGO session
.. attribute:: session_name (key)
HSRP MGO session name
**type**\: str
**pattern:** [\\w\\\-\\.\:,\_@#%$\\+=\\\|;]+
.. attribute:: primary_session_name
Session Name
**type**\: str
**length:** 0..16
.. attribute:: primary_session_interface
Interface of primary session
**type**\: str
**pattern:** [a\-zA\-Z0\-9.\_/\-]+
.. attribute:: primary_af_name
Address family of primary session
**type**\: :py:class:`HsrpBAf <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.HsrpBAf>`
.. attribute:: primary_session_number
Group number of primary session
**type**\: int
**range:** 0..4294967295
.. attribute:: primary_session_state
State of primary session
**type**\: :py:class:`StandbyGrpState <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.StandbyGrpState>`
.. attribute:: slave
List of slaves following this primary session
**type**\: list of :py:class:`Slave <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.Hsrp.MgoSessions.MgoSession.Slave>`
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp.MgoSessions.MgoSession, self).__init__()
self.yang_name = "mgo-session"
self.yang_parent_name = "mgo-sessions"
self.is_top_level_class = False
self.has_list_ancestor = False
self.ylist_key_names = ['session_name']
self._child_classes = OrderedDict([("slave", ("slave", Hsrp.MgoSessions.MgoSession.Slave))])
self._leafs = OrderedDict([
('session_name', (YLeaf(YType.str, 'session-name'), ['str'])),
('primary_session_name', (YLeaf(YType.str, 'primary-session-name'), ['str'])),
('primary_session_interface', (YLeaf(YType.str, 'primary-session-interface'), ['str'])),
('primary_af_name', (YLeaf(YType.enumeration, 'primary-af-name'), [('ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper', 'HsrpBAf', '')])),
('primary_session_number', (YLeaf(YType.uint32, 'primary-session-number'), ['int'])),
('primary_session_state', (YLeaf(YType.enumeration, 'primary-session-state'), [('ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper', 'StandbyGrpState', '')])),
])
self.session_name = None
self.primary_session_name = None
self.primary_session_interface = None
self.primary_af_name = None
self.primary_session_number = None
self.primary_session_state = None
self.slave = YList(self)
self._segment_path = lambda: "mgo-session" + "[session-name='" + str(self.session_name) + "']"
self._absolute_path = lambda: "Cisco-IOS-XR-ipv4-hsrp-oper:hsrp/mgo-sessions/%s" % self._segment_path()
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp.MgoSessions.MgoSession, ['session_name', 'primary_session_name', 'primary_session_interface', 'primary_af_name', 'primary_session_number', 'primary_session_state'], name, value)
class Slave(Entity):
"""
List of slaves following this primary session
.. attribute:: slave_group_interface
Interface of slave group
**type**\: str
**length:** 0..64
.. attribute:: slave_group_number
Group number of slave group
**type**\: int
**range:** 0..4294967295
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp.MgoSessions.MgoSession.Slave, self).__init__()
self.yang_name = "slave"
self.yang_parent_name = "mgo-session"
self.is_top_level_class = False
self.has_list_ancestor = True
self.ylist_key_names = []
self._child_classes = OrderedDict([])
self._leafs = OrderedDict([
('slave_group_interface', (YLeaf(YType.str, 'slave-group-interface'), ['str'])),
('slave_group_number', (YLeaf(YType.uint32, 'slave-group-number'), ['int'])),
])
self.slave_group_interface = None
self.slave_group_number = None
self._segment_path = lambda: "slave"
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp.MgoSessions.MgoSession.Slave, ['slave_group_interface', 'slave_group_number'], name, value)
class Ipv6(Entity):
"""
IPv6 HSRP information
.. attribute:: tracked_interfaces
The HSRP tracked interfaces table
**type**\: :py:class:`TrackedInterfaces <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.Hsrp.Ipv6.TrackedInterfaces>`
.. attribute:: groups
The HSRP standby group table
**type**\: :py:class:`Groups <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.Hsrp.Ipv6.Groups>`
.. attribute:: interfaces
The HSRP interface information table
**type**\: :py:class:`Interfaces <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.Hsrp.Ipv6.Interfaces>`
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp.Ipv6, self).__init__()
self.yang_name = "ipv6"
self.yang_parent_name = "hsrp"
self.is_top_level_class = False
self.has_list_ancestor = False
self.ylist_key_names = []
self._child_classes = OrderedDict([("tracked-interfaces", ("tracked_interfaces", Hsrp.Ipv6.TrackedInterfaces)), ("groups", ("groups", Hsrp.Ipv6.Groups)), ("interfaces", ("interfaces", Hsrp.Ipv6.Interfaces))])
self._leafs = OrderedDict()
self.tracked_interfaces = Hsrp.Ipv6.TrackedInterfaces()
self.tracked_interfaces.parent = self
self._children_name_map["tracked_interfaces"] = "tracked-interfaces"
self.groups = Hsrp.Ipv6.Groups()
self.groups.parent = self
self._children_name_map["groups"] = "groups"
self.interfaces = Hsrp.Ipv6.Interfaces()
self.interfaces.parent = self
self._children_name_map["interfaces"] = "interfaces"
self._segment_path = lambda: "ipv6"
self._absolute_path = lambda: "Cisco-IOS-XR-ipv4-hsrp-oper:hsrp/%s" % self._segment_path()
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp.Ipv6, [], name, value)
class TrackedInterfaces(Entity):
"""
The HSRP tracked interfaces table
.. attribute:: tracked_interface
An HSRP tracked interface entry
**type**\: list of :py:class:`TrackedInterface <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.Hsrp.Ipv6.TrackedInterfaces.TrackedInterface>`
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp.Ipv6.TrackedInterfaces, self).__init__()
self.yang_name = "tracked-interfaces"
self.yang_parent_name = "ipv6"
self.is_top_level_class = False
self.has_list_ancestor = False
self.ylist_key_names = []
self._child_classes = OrderedDict([("tracked-interface", ("tracked_interface", Hsrp.Ipv6.TrackedInterfaces.TrackedInterface))])
self._leafs = OrderedDict()
self.tracked_interface = YList(self)
self._segment_path = lambda: "tracked-interfaces"
self._absolute_path = lambda: "Cisco-IOS-XR-ipv4-hsrp-oper:hsrp/ipv6/%s" % self._segment_path()
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp.Ipv6.TrackedInterfaces, [], name, value)
class TrackedInterface(Entity):
"""
An HSRP tracked interface entry
.. attribute:: interface_name (key)
The interface name of the interface
**type**\: str
**pattern:** [a\-zA\-Z0\-9.\_/\-]+
.. attribute:: group_number (key)
The HSRP group number
**type**\: int
**range:** 0..4294967295
.. attribute:: tracked_interface_name (key)
The interface name of the interface being tracked
**type**\: str
**pattern:** [a\-zA\-Z0\-9.\_/\-]+
.. attribute:: interface
IM Interface
**type**\: str
**pattern:** [a\-zA\-Z0\-9.\_/\-]+
.. attribute:: hsrp_group_number
HSRP Group number
**type**\: int
**range:** 0..4294967295
.. attribute:: priority_decrement
Priority weighting
**type**\: int
**range:** 0..4294967295
.. attribute:: interface_up_flag
Interface up flag
**type**\: bool
.. attribute:: tracked_interface_name_xr
Tracked Interface Name
**type**\: str
**length:** 0..64
.. attribute:: is_object
Tracked Object Flag
**type**\: bool
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp.Ipv6.TrackedInterfaces.TrackedInterface, self).__init__()
self.yang_name = "tracked-interface"
self.yang_parent_name = "tracked-interfaces"
self.is_top_level_class = False
self.has_list_ancestor = False
self.ylist_key_names = ['interface_name','group_number','tracked_interface_name']
self._child_classes = OrderedDict([])
self._leafs = OrderedDict([
('interface_name', (YLeaf(YType.str, 'interface-name'), ['str'])),
('group_number', (YLeaf(YType.uint32, 'group-number'), ['int'])),
('tracked_interface_name', (YLeaf(YType.str, 'tracked-interface-name'), ['str'])),
('interface', (YLeaf(YType.str, 'interface'), ['str'])),
('hsrp_group_number', (YLeaf(YType.uint32, 'hsrp-group-number'), ['int'])),
('priority_decrement', (YLeaf(YType.uint32, 'priority-decrement'), ['int'])),
('interface_up_flag', (YLeaf(YType.boolean, 'interface-up-flag'), ['bool'])),
('tracked_interface_name_xr', (YLeaf(YType.str, 'tracked-interface-name-xr'), ['str'])),
('is_object', (YLeaf(YType.boolean, 'is-object'), ['bool'])),
])
self.interface_name = None
self.group_number = None
self.tracked_interface_name = None
self.interface = None
self.hsrp_group_number = None
self.priority_decrement = None
self.interface_up_flag = None
self.tracked_interface_name_xr = None
self.is_object = None
self._segment_path = lambda: "tracked-interface" + "[interface-name='" + str(self.interface_name) + "']" + "[group-number='" + str(self.group_number) + "']" + "[tracked-interface-name='" + str(self.tracked_interface_name) + "']"
self._absolute_path = lambda: "Cisco-IOS-XR-ipv4-hsrp-oper:hsrp/ipv6/tracked-interfaces/%s" % self._segment_path()
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp.Ipv6.TrackedInterfaces.TrackedInterface, ['interface_name', 'group_number', 'tracked_interface_name', 'interface', 'hsrp_group_number', 'priority_decrement', 'interface_up_flag', 'tracked_interface_name_xr', 'is_object'], name, value)
class Groups(Entity):
"""
The HSRP standby group table
.. attribute:: group
An HSRP standby group
**type**\: list of :py:class:`Group <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.Hsrp.Ipv6.Groups.Group>`
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp.Ipv6.Groups, self).__init__()
self.yang_name = "groups"
self.yang_parent_name = "ipv6"
self.is_top_level_class = False
self.has_list_ancestor = False
self.ylist_key_names = []
self._child_classes = OrderedDict([("group", ("group", Hsrp.Ipv6.Groups.Group))])
self._leafs = OrderedDict()
self.group = YList(self)
self._segment_path = lambda: "groups"
self._absolute_path = lambda: "Cisco-IOS-XR-ipv4-hsrp-oper:hsrp/ipv6/%s" % self._segment_path()
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp.Ipv6.Groups, [], name, value)
class Group(Entity):
"""
An HSRP standby group
.. attribute:: interface_name (key)
The interface name
**type**\: str
**pattern:** [a\-zA\-Z0\-9.\_/\-]+
.. attribute:: group_number (key)
The HSRP group number
**type**\: int
**range:** 0..4294967295
.. attribute:: resign_sent_time
Time last resign was sent
**type**\: :py:class:`ResignSentTime <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.Hsrp.Ipv6.Groups.Group.ResignSentTime>`
.. attribute:: resign_received_time
Time last resign was received
**type**\: :py:class:`ResignReceivedTime <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.Hsrp.Ipv6.Groups.Group.ResignReceivedTime>`
.. attribute:: coup_sent_time
Time last coup was sent
**type**\: :py:class:`CoupSentTime <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.Hsrp.Ipv6.Groups.Group.CoupSentTime>`
.. attribute:: coup_received_time
Time last coup was received
**type**\: :py:class:`CoupReceivedTime <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.Hsrp.Ipv6.Groups.Group.CoupReceivedTime>`
.. attribute:: statistics
HSRP Group statistics
**type**\: :py:class:`Statistics <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.Hsrp.Ipv6.Groups.Group.Statistics>`
.. attribute:: authentication_string
Authentication string
**type**\: str
**length:** 0..9
.. attribute:: virtual_mac_address
Virtual mac address
**type**\: str
**pattern:** [0\-9a\-fA\-F]{2}(\:[0\-9a\-fA\-F]{2}){5}
.. attribute:: hsrp_group_number
HSRP Group number
**type**\: int
**range:** 0..4294967295
.. attribute:: address_family
Address family
**type**\: :py:class:`HsrpBAf <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.HsrpBAf>`
.. attribute:: version
HSRP Protocol Version
**type**\: int
**range:** 0..255
.. attribute:: session_name
Session Name
**type**\: str
**length:** 0..16
.. attribute:: slaves
Number of slaves following state
**type**\: int
**range:** 0..4294967295
.. attribute:: is_slave
Group is a slave group
**type**\: bool
.. attribute:: followed_session_name
Followed Session Name
**type**\: str
**length:** 0..16
.. attribute:: configured_priority
Configured priority
**type**\: int
**range:** 0..255
.. attribute:: preempt_delay
Preempt delay time in seconds
**type**\: int
**range:** 0..4294967295
**units**\: second
.. attribute:: preempt_timer_secs
Preempt time remaining in seconds
**type**\: int
**range:** 0..4294967295
**units**\: second
.. attribute:: hello_time
Hellotime in msecs
**type**\: int
**range:** 0..4294967295
**units**\: millisecond
.. attribute:: hold_time
Holdtime in msecs
**type**\: int
**range:** 0..4294967295
**units**\: millisecond
.. attribute:: learned_hello_time
Learned hellotime in msecs
**type**\: int
**range:** 0..4294967295
**units**\: millisecond
.. attribute:: learned_hold_time
Learned holdtime in msecs
**type**\: int
**range:** 0..4294967295
**units**\: millisecond
.. attribute:: min_delay_time
Minimum delay time in msecs
**type**\: int
**range:** 0..4294967295
**units**\: millisecond
.. attribute:: reload_delay_time
Reload delay time in msecs
**type**\: int
**range:** 0..4294967295
**units**\: millisecond
.. attribute:: virtual_ip_address
Configured Virtual IPv4 address
**type**\: str
**pattern:** (([0\-9]\|[1\-9][0\-9]\|1[0\-9][0\-9]\|2[0\-4][0\-9]\|25[0\-5])\\.){3}([0\-9]\|[1\-9][0\-9]\|1[0\-9][0\-9]\|2[0\-4][0\-9]\|25[0\-5])(%[\\p{N}\\p{L}]+)?
.. attribute:: virtual_linklocal_ipv6_address
Virtual linklocal IPv6 address
**type**\: str
**pattern:** ((\:\|[0\-9a\-fA\-F]{0,4})\:)([0\-9a\-fA\-F]{0,4}\:){0,5}((([0\-9a\-fA\-F]{0,4}\:)?(\:\|[0\-9a\-fA\-F]{0,4}))\|(((25[0\-5]\|2[0\-4][0\-9]\|[01]?[0\-9]?[0\-9])\\.){3}(25[0\-5]\|2[0\-4][0\-9]\|[01]?[0\-9]?[0\-9])))(%[\\p{N}\\p{L}]+)?
.. attribute:: active_ip_address
Active router's IP address
**type**\: str
**pattern:** (([0\-9]\|[1\-9][0\-9]\|1[0\-9][0\-9]\|2[0\-4][0\-9]\|25[0\-5])\\.){3}([0\-9]\|[1\-9][0\-9]\|1[0\-9][0\-9]\|2[0\-4][0\-9]\|25[0\-5])(%[\\p{N}\\p{L}]+)?
.. attribute:: active_ipv6_address
Active router's IPv6 address
**type**\: str
**pattern:** ((\:\|[0\-9a\-fA\-F]{0,4})\:)([0\-9a\-fA\-F]{0,4}\:){0,5}((([0\-9a\-fA\-F]{0,4}\:)?(\:\|[0\-9a\-fA\-F]{0,4}))\|(((25[0\-5]\|2[0\-4][0\-9]\|[01]?[0\-9]?[0\-9])\\.){3}(25[0\-5]\|2[0\-4][0\-9]\|[01]?[0\-9]?[0\-9])))(%[\\p{N}\\p{L}]+)?
.. attribute:: active_mac_address
Active router's interface MAC address
**type**\: str
**pattern:** [0\-9a\-fA\-F]{2}(\:[0\-9a\-fA\-F]{2}){5}
.. attribute:: standby_ip_address
Standby router's IP address
**type**\: str
**pattern:** (([0\-9]\|[1\-9][0\-9]\|1[0\-9][0\-9]\|2[0\-4][0\-9]\|25[0\-5])\\.){3}([0\-9]\|[1\-9][0\-9]\|1[0\-9][0\-9]\|2[0\-4][0\-9]\|25[0\-5])(%[\\p{N}\\p{L}]+)?
.. attribute:: standby_ipv6_address
Standby router's IPv6 address
**type**\: str
**pattern:** ((\:\|[0\-9a\-fA\-F]{0,4})\:)([0\-9a\-fA\-F]{0,4}\:){0,5}((([0\-9a\-fA\-F]{0,4}\:)?(\:\|[0\-9a\-fA\-F]{0,4}))\|(((25[0\-5]\|2[0\-4][0\-9]\|[01]?[0\-9]?[0\-9])\\.){3}(25[0\-5]\|2[0\-4][0\-9]\|[01]?[0\-9]?[0\-9])))(%[\\p{N}\\p{L}]+)?
.. attribute:: standby_mac_address
Standby router's interface MAC address
**type**\: str
**pattern:** [0\-9a\-fA\-F]{2}(\:[0\-9a\-fA\-F]{2}){5}
.. attribute:: hsrp_router_state
HSRP router state
**type**\: :py:class:`StandbyGrpState <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.StandbyGrpState>`
.. attribute:: interface_name_xr
Interface Name
**type**\: str
**length:** 0..64
.. attribute:: interface
IM Interface
**type**\: str
**pattern:** [a\-zA\-Z0\-9.\_/\-]+
.. attribute:: router_priority
Priority of the router
**type**\: int
**range:** 0..255
.. attribute:: active_priority
Priority of the Active router
**type**\: int
**range:** 0..255
.. attribute:: active_timer_flag
Active timer running flag
**type**\: bool
.. attribute:: active_timer_secs
Active timer running time secs
**type**\: int
**range:** 0..4294967295
**units**\: second
.. attribute:: active_timer_msecs
Active timer running time msecs
**type**\: int
**range:** 0..4294967295
**units**\: millisecond
.. attribute:: standby_timer_flag
Standby timer running flag
**type**\: bool
.. attribute:: standby_timer_secs
Standby timer running time secs
**type**\: int
**range:** 0..4294967295
**units**\: second
.. attribute:: standby_timer_msecs
Standby timer running time msecs
**type**\: int
**range:** 0..4294967295
**units**\: millisecond
.. attribute:: hello_timer_flag
Hello timer running flag
**type**\: bool
.. attribute:: hello_timer_secs
Hello timer running time secs
**type**\: int
**range:** 0..4294967295
**units**\: second
.. attribute:: hello_timer_msecs
Hello timer running time msecs
**type**\: int
**range:** 0..4294967295
**units**\: millisecond
.. attribute:: delay_timer_flag
Delay timer running flag
**type**\: bool
.. attribute:: delay_timer_secs
Delay timer running time secs
**type**\: int
**range:** 0..4294967295
**units**\: second
.. attribute:: delay_timer_msecs
Delay timer running time msecs
**type**\: int
**range:** 0..4294967295
**units**\: millisecond
.. attribute:: current_state_timer_secs
Time in current state secs
**type**\: int
**range:** 0..4294967295
**units**\: second
.. attribute:: state_change_count
Number of state changes
**type**\: int
**range:** 0..4294967295
.. attribute:: tracked_interface_count
Number of tracked interfaces
**type**\: int
**range:** 0..4294967295
.. attribute:: tracked_interface_up_count
Number of tracked interfaces up
**type**\: int
**range:** 0..4294967295
.. attribute:: preempt_enabled
Preempt enabled
**type**\: bool
.. attribute:: use_configured_timers
Use configured timers
**type**\: bool
.. attribute:: use_configured_virtual_ip
Use configured virtual IP
**type**\: bool
.. attribute:: use_bia_configured
Use burnt in MAC address configured
**type**\: bool
.. attribute:: configured_timers
Non\-default timers are configured
**type**\: bool
.. attribute:: configured_mac_address
MAC address configured
**type**\: bool
.. attribute:: redirects_disabled
HSRP redirects disabled
**type**\: bool
.. attribute:: bfd_enabled
HSRP BFD fast failover
**type**\: bool
.. attribute:: bfd_interface
BFD Interface
**type**\: str
**pattern:** [a\-zA\-Z0\-9.\_/\-]+
.. attribute:: bfd_peer_ip_address
BFD Peer IP address
**type**\: str
**pattern:** (([0\-9]\|[1\-9][0\-9]\|1[0\-9][0\-9]\|2[0\-4][0\-9]\|25[0\-5])\\.){3}([0\-9]\|[1\-9][0\-9]\|1[0\-9][0\-9]\|2[0\-4][0\-9]\|25[0\-5])(%[\\p{N}\\p{L}]+)?
.. attribute:: bfd_peer_ipv6_address
BFD Peer IPv6 address
**type**\: str
**pattern:** ((\:\|[0\-9a\-fA\-F]{0,4})\:)([0\-9a\-fA\-F]{0,4}\:){0,5}((([0\-9a\-fA\-F]{0,4}\:)?(\:\|[0\-9a\-fA\-F]{0,4}))\|(((25[0\-5]\|2[0\-4][0\-9]\|[01]?[0\-9]?[0\-9])\\.){3}(25[0\-5]\|2[0\-4][0\-9]\|[01]?[0\-9]?[0\-9])))(%[\\p{N}\\p{L}]+)?
.. attribute:: bfd_session_state
BFD session state
**type**\: :py:class:`HsrpBfdSessionState <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.HsrpBfdSessionState>`
.. attribute:: bfd_interval
BFD packet send interval
**type**\: int
**range:** 0..4294967295
.. attribute:: bfd_multiplier
BFD multiplier
**type**\: int
**range:** 0..4294967295
.. attribute:: virtual_mac_address_state
Virtual mac address state
**type**\: :py:class:`HsrpVmacState <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.HsrpVmacState>`
.. attribute:: secondary_address
Secondary virtual IP addresses
**type**\: list of str
**pattern:** (([0\-9]\|[1\-9][0\-9]\|1[0\-9][0\-9]\|2[0\-4][0\-9]\|25[0\-5])\\.){3}([0\-9]\|[1\-9][0\-9]\|1[0\-9][0\-9]\|2[0\-4][0\-9]\|25[0\-5])(%[\\p{N}\\p{L}]+)?
.. attribute:: global_address
Global virtual IPv6 addresses
**type**\: list of :py:class:`GlobalAddress <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.Hsrp.Ipv6.Groups.Group.GlobalAddress>`
.. attribute:: state_change_history
State change history
**type**\: list of :py:class:`StateChangeHistory <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.Hsrp.Ipv6.Groups.Group.StateChangeHistory>`
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp.Ipv6.Groups.Group, self).__init__()
self.yang_name = "group"
self.yang_parent_name = "groups"
self.is_top_level_class = False
self.has_list_ancestor = False
self.ylist_key_names = ['interface_name','group_number']
self._child_classes = OrderedDict([("resign-sent-time", ("resign_sent_time", Hsrp.Ipv6.Groups.Group.ResignSentTime)), ("resign-received-time", ("resign_received_time", Hsrp.Ipv6.Groups.Group.ResignReceivedTime)), ("coup-sent-time", ("coup_sent_time", Hsrp.Ipv6.Groups.Group.CoupSentTime)), ("coup-received-time", ("coup_received_time", Hsrp.Ipv6.Groups.Group.CoupReceivedTime)), ("statistics", ("statistics", Hsrp.Ipv6.Groups.Group.Statistics)), ("global-address", ("global_address", Hsrp.Ipv6.Groups.Group.GlobalAddress)), ("state-change-history", ("state_change_history", Hsrp.Ipv6.Groups.Group.StateChangeHistory))])
self._leafs = OrderedDict([
('interface_name', (YLeaf(YType.str, 'interface-name'), ['str'])),
('group_number', (YLeaf(YType.uint32, 'group-number'), ['int'])),
('authentication_string', (YLeaf(YType.str, 'authentication-string'), ['str'])),
('virtual_mac_address', (YLeaf(YType.str, 'virtual-mac-address'), ['str'])),
('hsrp_group_number', (YLeaf(YType.uint32, 'hsrp-group-number'), ['int'])),
('address_family', (YLeaf(YType.enumeration, 'address-family'), [('ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper', 'HsrpBAf', '')])),
('version', (YLeaf(YType.uint8, 'version'), ['int'])),
('session_name', (YLeaf(YType.str, 'session-name'), ['str'])),
('slaves', (YLeaf(YType.uint32, 'slaves'), ['int'])),
('is_slave', (YLeaf(YType.boolean, 'is-slave'), ['bool'])),
('followed_session_name', (YLeaf(YType.str, 'followed-session-name'), ['str'])),
('configured_priority', (YLeaf(YType.uint8, 'configured-priority'), ['int'])),
('preempt_delay', (YLeaf(YType.uint32, 'preempt-delay'), ['int'])),
('preempt_timer_secs', (YLeaf(YType.uint32, 'preempt-timer-secs'), ['int'])),
('hello_time', (YLeaf(YType.uint32, 'hello-time'), ['int'])),
('hold_time', (YLeaf(YType.uint32, 'hold-time'), ['int'])),
('learned_hello_time', (YLeaf(YType.uint32, 'learned-hello-time'), ['int'])),
('learned_hold_time', (YLeaf(YType.uint32, 'learned-hold-time'), ['int'])),
('min_delay_time', (YLeaf(YType.uint32, 'min-delay-time'), ['int'])),
('reload_delay_time', (YLeaf(YType.uint32, 'reload-delay-time'), ['int'])),
('virtual_ip_address', (YLeaf(YType.str, 'virtual-ip-address'), ['str'])),
('virtual_linklocal_ipv6_address', (YLeaf(YType.str, 'virtual-linklocal-ipv6-address'), ['str'])),
('active_ip_address', (YLeaf(YType.str, 'active-ip-address'), ['str'])),
('active_ipv6_address', (YLeaf(YType.str, 'active-ipv6-address'), ['str'])),
('active_mac_address', (YLeaf(YType.str, 'active-mac-address'), ['str'])),
('standby_ip_address', (YLeaf(YType.str, 'standby-ip-address'), ['str'])),
('standby_ipv6_address', (YLeaf(YType.str, 'standby-ipv6-address'), ['str'])),
('standby_mac_address', (YLeaf(YType.str, 'standby-mac-address'), ['str'])),
('hsrp_router_state', (YLeaf(YType.enumeration, 'hsrp-router-state'), [('ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper', 'StandbyGrpState', '')])),
('interface_name_xr', (YLeaf(YType.str, 'interface-name-xr'), ['str'])),
('interface', (YLeaf(YType.str, 'interface'), ['str'])),
('router_priority', (YLeaf(YType.uint8, 'router-priority'), ['int'])),
('active_priority', (YLeaf(YType.uint8, 'active-priority'), ['int'])),
('active_timer_flag', (YLeaf(YType.boolean, 'active-timer-flag'), ['bool'])),
('active_timer_secs', (YLeaf(YType.uint32, 'active-timer-secs'), ['int'])),
('active_timer_msecs', (YLeaf(YType.uint32, 'active-timer-msecs'), ['int'])),
('standby_timer_flag', (YLeaf(YType.boolean, 'standby-timer-flag'), ['bool'])),
('standby_timer_secs', (YLeaf(YType.uint32, 'standby-timer-secs'), ['int'])),
('standby_timer_msecs', (YLeaf(YType.uint32, 'standby-timer-msecs'), ['int'])),
('hello_timer_flag', (YLeaf(YType.boolean, 'hello-timer-flag'), ['bool'])),
('hello_timer_secs', (YLeaf(YType.uint32, 'hello-timer-secs'), ['int'])),
('hello_timer_msecs', (YLeaf(YType.uint32, 'hello-timer-msecs'), ['int'])),
('delay_timer_flag', (YLeaf(YType.boolean, 'delay-timer-flag'), ['bool'])),
('delay_timer_secs', (YLeaf(YType.uint32, 'delay-timer-secs'), ['int'])),
('delay_timer_msecs', (YLeaf(YType.uint32, 'delay-timer-msecs'), ['int'])),
('current_state_timer_secs', (YLeaf(YType.uint32, 'current-state-timer-secs'), ['int'])),
('state_change_count', (YLeaf(YType.uint32, 'state-change-count'), ['int'])),
('tracked_interface_count', (YLeaf(YType.uint32, 'tracked-interface-count'), ['int'])),
('tracked_interface_up_count', (YLeaf(YType.uint32, 'tracked-interface-up-count'), ['int'])),
('preempt_enabled', (YLeaf(YType.boolean, 'preempt-enabled'), ['bool'])),
('use_configured_timers', (YLeaf(YType.boolean, 'use-configured-timers'), ['bool'])),
('use_configured_virtual_ip', (YLeaf(YType.boolean, 'use-configured-virtual-ip'), ['bool'])),
('use_bia_configured', (YLeaf(YType.boolean, 'use-bia-configured'), ['bool'])),
('configured_timers', (YLeaf(YType.boolean, 'configured-timers'), ['bool'])),
('configured_mac_address', (YLeaf(YType.boolean, 'configured-mac-address'), ['bool'])),
('redirects_disabled', (YLeaf(YType.boolean, 'redirects-disabled'), ['bool'])),
('bfd_enabled', (YLeaf(YType.boolean, 'bfd-enabled'), ['bool'])),
('bfd_interface', (YLeaf(YType.str, 'bfd-interface'), ['str'])),
('bfd_peer_ip_address', (YLeaf(YType.str, 'bfd-peer-ip-address'), ['str'])),
('bfd_peer_ipv6_address', (YLeaf(YType.str, 'bfd-peer-ipv6-address'), ['str'])),
('bfd_session_state', (YLeaf(YType.enumeration, 'bfd-session-state'), [('ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper', 'HsrpBfdSessionState', '')])),
('bfd_interval', (YLeaf(YType.uint32, 'bfd-interval'), ['int'])),
('bfd_multiplier', (YLeaf(YType.uint32, 'bfd-multiplier'), ['int'])),
('virtual_mac_address_state', (YLeaf(YType.enumeration, 'virtual-mac-address-state'), [('ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper', 'HsrpVmacState', '')])),
('secondary_address', (YLeafList(YType.str, 'secondary-address'), ['str'])),
])
self.interface_name = None
self.group_number = None
self.authentication_string = None
self.virtual_mac_address = None
self.hsrp_group_number = None
self.address_family = None
self.version = None
self.session_name = None
self.slaves = None
self.is_slave = None
self.followed_session_name = None
self.configured_priority = None
self.preempt_delay = None
self.preempt_timer_secs = None
self.hello_time = None
self.hold_time = None
self.learned_hello_time = None
self.learned_hold_time = None
self.min_delay_time = None
self.reload_delay_time = None
self.virtual_ip_address = None
self.virtual_linklocal_ipv6_address = None
self.active_ip_address = None
self.active_ipv6_address = None
self.active_mac_address = None
self.standby_ip_address = None
self.standby_ipv6_address = None
self.standby_mac_address = None
self.hsrp_router_state = None
self.interface_name_xr = None
self.interface = None
self.router_priority = None
self.active_priority = None
self.active_timer_flag = None
self.active_timer_secs = None
self.active_timer_msecs = None
self.standby_timer_flag = None
self.standby_timer_secs = None
self.standby_timer_msecs = None
self.hello_timer_flag = None
self.hello_timer_secs = None
self.hello_timer_msecs = None
self.delay_timer_flag = None
self.delay_timer_secs = None
self.delay_timer_msecs = None
self.current_state_timer_secs = None
self.state_change_count = None
self.tracked_interface_count = None
self.tracked_interface_up_count = None
self.preempt_enabled = None
self.use_configured_timers = None
self.use_configured_virtual_ip = None
self.use_bia_configured = None
self.configured_timers = None
self.configured_mac_address = None
self.redirects_disabled = None
self.bfd_enabled = None
self.bfd_interface = None
self.bfd_peer_ip_address = None
self.bfd_peer_ipv6_address = None
self.bfd_session_state = None
self.bfd_interval = None
self.bfd_multiplier = None
self.virtual_mac_address_state = None
self.secondary_address = []
self.resign_sent_time = Hsrp.Ipv6.Groups.Group.ResignSentTime()
self.resign_sent_time.parent = self
self._children_name_map["resign_sent_time"] = "resign-sent-time"
self.resign_received_time = Hsrp.Ipv6.Groups.Group.ResignReceivedTime()
self.resign_received_time.parent = self
self._children_name_map["resign_received_time"] = "resign-received-time"
self.coup_sent_time = Hsrp.Ipv6.Groups.Group.CoupSentTime()
self.coup_sent_time.parent = self
self._children_name_map["coup_sent_time"] = "coup-sent-time"
self.coup_received_time = Hsrp.Ipv6.Groups.Group.CoupReceivedTime()
self.coup_received_time.parent = self
self._children_name_map["coup_received_time"] = "coup-received-time"
self.statistics = Hsrp.Ipv6.Groups.Group.Statistics()
self.statistics.parent = self
self._children_name_map["statistics"] = "statistics"
self.global_address = YList(self)
self.state_change_history = YList(self)
self._segment_path = lambda: "group" + "[interface-name='" + str(self.interface_name) + "']" + "[group-number='" + str(self.group_number) + "']"
self._absolute_path = lambda: "Cisco-IOS-XR-ipv4-hsrp-oper:hsrp/ipv6/groups/%s" % self._segment_path()
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp.Ipv6.Groups.Group, ['interface_name', 'group_number', 'authentication_string', 'virtual_mac_address', 'hsrp_group_number', 'address_family', 'version', 'session_name', 'slaves', 'is_slave', 'followed_session_name', 'configured_priority', 'preempt_delay', 'preempt_timer_secs', 'hello_time', 'hold_time', 'learned_hello_time', 'learned_hold_time', 'min_delay_time', 'reload_delay_time', 'virtual_ip_address', 'virtual_linklocal_ipv6_address', 'active_ip_address', 'active_ipv6_address', 'active_mac_address', 'standby_ip_address', 'standby_ipv6_address', 'standby_mac_address', 'hsrp_router_state', 'interface_name_xr', 'interface', 'router_priority', 'active_priority', 'active_timer_flag', 'active_timer_secs', 'active_timer_msecs', 'standby_timer_flag', 'standby_timer_secs', 'standby_timer_msecs', 'hello_timer_flag', 'hello_timer_secs', 'hello_timer_msecs', 'delay_timer_flag', 'delay_timer_secs', 'delay_timer_msecs', 'current_state_timer_secs', 'state_change_count', 'tracked_interface_count', 'tracked_interface_up_count', 'preempt_enabled', 'use_configured_timers', 'use_configured_virtual_ip', 'use_bia_configured', 'configured_timers', 'configured_mac_address', 'redirects_disabled', 'bfd_enabled', 'bfd_interface', 'bfd_peer_ip_address', 'bfd_peer_ipv6_address', 'bfd_session_state', 'bfd_interval', 'bfd_multiplier', 'virtual_mac_address_state', 'secondary_address'], name, value)
class ResignSentTime(Entity):
"""
Time last resign was sent
.. attribute:: seconds
Seconds
**type**\: int
**range:** 0..4294967295
**units**\: second
.. attribute:: nanoseconds
Nanoseconds
**type**\: int
**range:** 0..4294967295
**units**\: nanosecond
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp.Ipv6.Groups.Group.ResignSentTime, self).__init__()
self.yang_name = "resign-sent-time"
self.yang_parent_name = "group"
self.is_top_level_class = False
self.has_list_ancestor = True
self.ylist_key_names = []
self._child_classes = OrderedDict([])
self._leafs = OrderedDict([
('seconds', (YLeaf(YType.uint32, 'seconds'), ['int'])),
('nanoseconds', (YLeaf(YType.uint32, 'nanoseconds'), ['int'])),
])
self.seconds = None
self.nanoseconds = None
self._segment_path = lambda: "resign-sent-time"
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp.Ipv6.Groups.Group.ResignSentTime, ['seconds', 'nanoseconds'], name, value)
class ResignReceivedTime(Entity):
"""
Time last resign was received
.. attribute:: seconds
Seconds
**type**\: int
**range:** 0..4294967295
**units**\: second
.. attribute:: nanoseconds
Nanoseconds
**type**\: int
**range:** 0..4294967295
**units**\: nanosecond
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp.Ipv6.Groups.Group.ResignReceivedTime, self).__init__()
self.yang_name = "resign-received-time"
self.yang_parent_name = "group"
self.is_top_level_class = False
self.has_list_ancestor = True
self.ylist_key_names = []
self._child_classes = OrderedDict([])
self._leafs = OrderedDict([
('seconds', (YLeaf(YType.uint32, 'seconds'), ['int'])),
('nanoseconds', (YLeaf(YType.uint32, 'nanoseconds'), ['int'])),
])
self.seconds = None
self.nanoseconds = None
self._segment_path = lambda: "resign-received-time"
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp.Ipv6.Groups.Group.ResignReceivedTime, ['seconds', 'nanoseconds'], name, value)
class CoupSentTime(Entity):
"""
Time last coup was sent
.. attribute:: seconds
Seconds
**type**\: int
**range:** 0..4294967295
**units**\: second
.. attribute:: nanoseconds
Nanoseconds
**type**\: int
**range:** 0..4294967295
**units**\: nanosecond
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp.Ipv6.Groups.Group.CoupSentTime, self).__init__()
self.yang_name = "coup-sent-time"
self.yang_parent_name = "group"
self.is_top_level_class = False
self.has_list_ancestor = True
self.ylist_key_names = []
self._child_classes = OrderedDict([])
self._leafs = OrderedDict([
('seconds', (YLeaf(YType.uint32, 'seconds'), ['int'])),
('nanoseconds', (YLeaf(YType.uint32, 'nanoseconds'), ['int'])),
])
self.seconds = None
self.nanoseconds = None
self._segment_path = lambda: "coup-sent-time"
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp.Ipv6.Groups.Group.CoupSentTime, ['seconds', 'nanoseconds'], name, value)
class CoupReceivedTime(Entity):
"""
Time last coup was received
.. attribute:: seconds
Seconds
**type**\: int
**range:** 0..4294967295
**units**\: second
.. attribute:: nanoseconds
Nanoseconds
**type**\: int
**range:** 0..4294967295
**units**\: nanosecond
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp.Ipv6.Groups.Group.CoupReceivedTime, self).__init__()
self.yang_name = "coup-received-time"
self.yang_parent_name = "group"
self.is_top_level_class = False
self.has_list_ancestor = True
self.ylist_key_names = []
self._child_classes = OrderedDict([])
self._leafs = OrderedDict([
('seconds', (YLeaf(YType.uint32, 'seconds'), ['int'])),
('nanoseconds', (YLeaf(YType.uint32, 'nanoseconds'), ['int'])),
])
self.seconds = None
self.nanoseconds = None
self._segment_path = lambda: "coup-received-time"
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp.Ipv6.Groups.Group.CoupReceivedTime, ['seconds', 'nanoseconds'], name, value)
class Statistics(Entity):
"""
HSRP Group statistics
.. attribute:: active_transitions
Number of transitions to Active State
**type**\: int
**range:** 0..4294967295
.. attribute:: standby_transitions
Number of transitions to Standby State
**type**\: int
**range:** 0..4294967295
.. attribute:: speak_transitions
Number of transitions to Speak State
**type**\: int
**range:** 0..4294967295
.. attribute:: listen_transitions
Number of transitions to Listen State
**type**\: int
**range:** 0..4294967295
.. attribute:: learn_transitions
Number of transitions to Learn State
**type**\: int
**range:** 0..4294967295
.. attribute:: init_transitions
Number of transitions to Init State
**type**\: int
**range:** 0..4294967295
.. attribute:: hello_packets_sent
Number of Hello Packets sent (NB\: Bundles only)
**type**\: int
**range:** 0..4294967295
.. attribute:: resign_packets_sent
Number of Resign Packets sent
**type**\: int
**range:** 0..4294967295
.. attribute:: coup_packets_sent
Number of Coup Packets sent
**type**\: int
**range:** 0..4294967295
.. attribute:: hello_packets_received
Number of Hello Packets received
**type**\: int
**range:** 0..4294967295
.. attribute:: resign_packets_received
Number of Resign Packets received
**type**\: int
**range:** 0..4294967295
.. attribute:: coup_packets_received
Number of Coup Packets received
**type**\: int
**range:** 0..4294967295
.. attribute:: auth_fail_received
Number of Packets received that failed authentication
**type**\: int
**range:** 0..4294967295
.. attribute:: invalid_timer_received
Number of packets received with invalid Hello Time value
**type**\: int
**range:** 0..4294967295
.. attribute:: mismatch_virtual_ip_address_received
Number of packets received with mismatching virtual IP address
**type**\: int
**range:** 0..4294967295
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp.Ipv6.Groups.Group.Statistics, self).__init__()
self.yang_name = "statistics"
self.yang_parent_name = "group"
self.is_top_level_class = False
self.has_list_ancestor = True
self.ylist_key_names = []
self._child_classes = OrderedDict([])
self._leafs = OrderedDict([
('active_transitions', (YLeaf(YType.uint32, 'active-transitions'), ['int'])),
('standby_transitions', (YLeaf(YType.uint32, 'standby-transitions'), ['int'])),
('speak_transitions', (YLeaf(YType.uint32, 'speak-transitions'), ['int'])),
('listen_transitions', (YLeaf(YType.uint32, 'listen-transitions'), ['int'])),
('learn_transitions', (YLeaf(YType.uint32, 'learn-transitions'), ['int'])),
('init_transitions', (YLeaf(YType.uint32, 'init-transitions'), ['int'])),
('hello_packets_sent', (YLeaf(YType.uint32, 'hello-packets-sent'), ['int'])),
('resign_packets_sent', (YLeaf(YType.uint32, 'resign-packets-sent'), ['int'])),
('coup_packets_sent', (YLeaf(YType.uint32, 'coup-packets-sent'), ['int'])),
('hello_packets_received', (YLeaf(YType.uint32, 'hello-packets-received'), ['int'])),
('resign_packets_received', (YLeaf(YType.uint32, 'resign-packets-received'), ['int'])),
('coup_packets_received', (YLeaf(YType.uint32, 'coup-packets-received'), ['int'])),
('auth_fail_received', (YLeaf(YType.uint32, 'auth-fail-received'), ['int'])),
('invalid_timer_received', (YLeaf(YType.uint32, 'invalid-timer-received'), ['int'])),
('mismatch_virtual_ip_address_received', (YLeaf(YType.uint32, 'mismatch-virtual-ip-address-received'), ['int'])),
])
self.active_transitions = None
self.standby_transitions = None
self.speak_transitions = None
self.listen_transitions = None
self.learn_transitions = None
self.init_transitions = None
self.hello_packets_sent = None
self.resign_packets_sent = None
self.coup_packets_sent = None
self.hello_packets_received = None
self.resign_packets_received = None
self.coup_packets_received = None
self.auth_fail_received = None
self.invalid_timer_received = None
self.mismatch_virtual_ip_address_received = None
self._segment_path = lambda: "statistics"
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp.Ipv6.Groups.Group.Statistics, ['active_transitions', 'standby_transitions', 'speak_transitions', 'listen_transitions', 'learn_transitions', 'init_transitions', 'hello_packets_sent', 'resign_packets_sent', 'coup_packets_sent', 'hello_packets_received', 'resign_packets_received', 'coup_packets_received', 'auth_fail_received', 'invalid_timer_received', 'mismatch_virtual_ip_address_received'], name, value)
class GlobalAddress(Entity):
"""
Global virtual IPv6 addresses
.. attribute:: ipv6_address
IPV6Address
**type**\: str
**pattern:** ((\:\|[0\-9a\-fA\-F]{0,4})\:)([0\-9a\-fA\-F]{0,4}\:){0,5}((([0\-9a\-fA\-F]{0,4}\:)?(\:\|[0\-9a\-fA\-F]{0,4}))\|(((25[0\-5]\|2[0\-4][0\-9]\|[01]?[0\-9]?[0\-9])\\.){3}(25[0\-5]\|2[0\-4][0\-9]\|[01]?[0\-9]?[0\-9])))(%[\\p{N}\\p{L}]+)?
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp.Ipv6.Groups.Group.GlobalAddress, self).__init__()
self.yang_name = "global-address"
self.yang_parent_name = "group"
self.is_top_level_class = False
self.has_list_ancestor = True
self.ylist_key_names = []
self._child_classes = OrderedDict([])
self._leafs = OrderedDict([
('ipv6_address', (YLeaf(YType.str, 'ipv6-address'), ['str'])),
])
self.ipv6_address = None
self._segment_path = lambda: "global-address"
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp.Ipv6.Groups.Group.GlobalAddress, ['ipv6_address'], name, value)
class StateChangeHistory(Entity):
"""
State change history
.. attribute:: time
Time of state change
**type**\: :py:class:`Time <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.Hsrp.Ipv6.Groups.Group.StateChangeHistory.Time>`
.. attribute:: old_state
Old State
**type**\: :py:class:`StandbyGrpState <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.StandbyGrpState>`
.. attribute:: new_state
New State
**type**\: :py:class:`StandbyGrpState <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.StandbyGrpState>`
.. attribute:: reason
Reason for state change
**type**\: :py:class:`HsrpStateChangeReason <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.HsrpStateChangeReason>`
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp.Ipv6.Groups.Group.StateChangeHistory, self).__init__()
self.yang_name = "state-change-history"
self.yang_parent_name = "group"
self.is_top_level_class = False
self.has_list_ancestor = True
self.ylist_key_names = []
self._child_classes = OrderedDict([("time", ("time", Hsrp.Ipv6.Groups.Group.StateChangeHistory.Time))])
self._leafs = OrderedDict([
('old_state', (YLeaf(YType.enumeration, 'old-state'), [('ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper', 'StandbyGrpState', '')])),
('new_state', (YLeaf(YType.enumeration, 'new-state'), [('ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper', 'StandbyGrpState', '')])),
('reason', (YLeaf(YType.enumeration, 'reason'), [('ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper', 'HsrpStateChangeReason', '')])),
])
self.old_state = None
self.new_state = None
self.reason = None
self.time = Hsrp.Ipv6.Groups.Group.StateChangeHistory.Time()
self.time.parent = self
self._children_name_map["time"] = "time"
self._segment_path = lambda: "state-change-history"
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp.Ipv6.Groups.Group.StateChangeHistory, ['old_state', 'new_state', 'reason'], name, value)
class Time(Entity):
"""
Time of state change
.. attribute:: seconds
Seconds
**type**\: int
**range:** 0..4294967295
**units**\: second
.. attribute:: nanoseconds
Nanoseconds
**type**\: int
**range:** 0..4294967295
**units**\: nanosecond
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp.Ipv6.Groups.Group.StateChangeHistory.Time, self).__init__()
self.yang_name = "time"
self.yang_parent_name = "state-change-history"
self.is_top_level_class = False
self.has_list_ancestor = True
self.ylist_key_names = []
self._child_classes = OrderedDict([])
self._leafs = OrderedDict([
('seconds', (YLeaf(YType.uint32, 'seconds'), ['int'])),
('nanoseconds', (YLeaf(YType.uint32, 'nanoseconds'), ['int'])),
])
self.seconds = None
self.nanoseconds = None
self._segment_path = lambda: "time"
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp.Ipv6.Groups.Group.StateChangeHistory.Time, ['seconds', 'nanoseconds'], name, value)
class Interfaces(Entity):
"""
The HSRP interface information table
.. attribute:: interface
A HSRP interface entry
**type**\: list of :py:class:`Interface <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.Hsrp.Ipv6.Interfaces.Interface>`
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp.Ipv6.Interfaces, self).__init__()
self.yang_name = "interfaces"
self.yang_parent_name = "ipv6"
self.is_top_level_class = False
self.has_list_ancestor = False
self.ylist_key_names = []
self._child_classes = OrderedDict([("interface", ("interface", Hsrp.Ipv6.Interfaces.Interface))])
self._leafs = OrderedDict()
self.interface = YList(self)
self._segment_path = lambda: "interfaces"
self._absolute_path = lambda: "Cisco-IOS-XR-ipv4-hsrp-oper:hsrp/ipv6/%s" % self._segment_path()
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp.Ipv6.Interfaces, [], name, value)
class Interface(Entity):
"""
A HSRP interface entry
.. attribute:: interface_name (key)
The interface name
**type**\: str
**pattern:** [a\-zA\-Z0\-9.\_/\-]+
.. attribute:: statistics
HSRP Interface Statistics
**type**\: :py:class:`Statistics <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.Hsrp.Ipv6.Interfaces.Interface.Statistics>`
.. attribute:: interface
IM Interface
**type**\: str
**pattern:** [a\-zA\-Z0\-9.\_/\-]+
.. attribute:: use_bia_flag
Use burnt in mac address flag
**type**\: bool
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp.Ipv6.Interfaces.Interface, self).__init__()
self.yang_name = "interface"
self.yang_parent_name = "interfaces"
self.is_top_level_class = False
self.has_list_ancestor = False
self.ylist_key_names = ['interface_name']
self._child_classes = OrderedDict([("statistics", ("statistics", Hsrp.Ipv6.Interfaces.Interface.Statistics))])
self._leafs = OrderedDict([
('interface_name', (YLeaf(YType.str, 'interface-name'), ['str'])),
('interface', (YLeaf(YType.str, 'interface'), ['str'])),
('use_bia_flag', (YLeaf(YType.boolean, 'use-bia-flag'), ['bool'])),
])
self.interface_name = None
self.interface = None
self.use_bia_flag = None
self.statistics = Hsrp.Ipv6.Interfaces.Interface.Statistics()
self.statistics.parent = self
self._children_name_map["statistics"] = "statistics"
self._segment_path = lambda: "interface" + "[interface-name='" + str(self.interface_name) + "']"
self._absolute_path = lambda: "Cisco-IOS-XR-ipv4-hsrp-oper:hsrp/ipv6/interfaces/%s" % self._segment_path()
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp.Ipv6.Interfaces.Interface, ['interface_name', 'interface', 'use_bia_flag'], name, value)
class Statistics(Entity):
"""
HSRP Interface Statistics
.. attribute:: advert_packets_sent
Number of advertisement packets sent
**type**\: int
**range:** 0..4294967295
.. attribute:: advert_packets_received
Number of advertisement packets received
**type**\: int
**range:** 0..4294967295
.. attribute:: long_packets_received
Number of packets received that were too Long
**type**\: int
**range:** 0..4294967295
.. attribute:: short_packets_received
Number of packets received that were too short
**type**\: int
**range:** 0..4294967295
.. attribute:: invalid_version_received
Number of packets received with invalid version
**type**\: int
**range:** 0..4294967295
.. attribute:: invalid_operation_code_received
Number of packets received with invalid operation code
**type**\: int
**range:** 0..4294967295
.. attribute:: unknown_group_received
Number of packets received for an unknown group id
**type**\: int
**range:** 0..4294967295
.. attribute:: inoperational_group_received
Number of packets received for an inoperational group
**type**\: int
**range:** 0..4294967295
.. attribute:: conflict_source_ip_address_received
Number of packets received from a conflicting Source IP address
**type**\: int
**range:** 0..4294967295
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp.Ipv6.Interfaces.Interface.Statistics, self).__init__()
self.yang_name = "statistics"
self.yang_parent_name = "interface"
self.is_top_level_class = False
self.has_list_ancestor = True
self.ylist_key_names = []
self._child_classes = OrderedDict([])
self._leafs = OrderedDict([
('advert_packets_sent', (YLeaf(YType.uint32, 'advert-packets-sent'), ['int'])),
('advert_packets_received', (YLeaf(YType.uint32, 'advert-packets-received'), ['int'])),
('long_packets_received', (YLeaf(YType.uint32, 'long-packets-received'), ['int'])),
('short_packets_received', (YLeaf(YType.uint32, 'short-packets-received'), ['int'])),
('invalid_version_received', (YLeaf(YType.uint32, 'invalid-version-received'), ['int'])),
('invalid_operation_code_received', (YLeaf(YType.uint32, 'invalid-operation-code-received'), ['int'])),
('unknown_group_received', (YLeaf(YType.uint32, 'unknown-group-received'), ['int'])),
('inoperational_group_received', (YLeaf(YType.uint32, 'inoperational-group-received'), ['int'])),
('conflict_source_ip_address_received', (YLeaf(YType.uint32, 'conflict-source-ip-address-received'), ['int'])),
])
self.advert_packets_sent = None
self.advert_packets_received = None
self.long_packets_received = None
self.short_packets_received = None
self.invalid_version_received = None
self.invalid_operation_code_received = None
self.unknown_group_received = None
self.inoperational_group_received = None
self.conflict_source_ip_address_received = None
self._segment_path = lambda: "statistics"
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp.Ipv6.Interfaces.Interface.Statistics, ['advert_packets_sent', 'advert_packets_received', 'long_packets_received', 'short_packets_received', 'invalid_version_received', 'invalid_operation_code_received', 'unknown_group_received', 'inoperational_group_received', 'conflict_source_ip_address_received'], name, value)
class BfdSessions(Entity):
"""
The table of HSRP BFD Sessions
.. attribute:: bfd_session
An HSRP BFD Session
**type**\: list of :py:class:`BfdSession <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.Hsrp.BfdSessions.BfdSession>`
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp.BfdSessions, self).__init__()
self.yang_name = "bfd-sessions"
self.yang_parent_name = "hsrp"
self.is_top_level_class = False
self.has_list_ancestor = False
self.ylist_key_names = []
self._child_classes = OrderedDict([("bfd-session", ("bfd_session", Hsrp.BfdSessions.BfdSession))])
self._leafs = OrderedDict()
self.bfd_session = YList(self)
self._segment_path = lambda: "bfd-sessions"
self._absolute_path = lambda: "Cisco-IOS-XR-ipv4-hsrp-oper:hsrp/%s" % self._segment_path()
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp.BfdSessions, [], name, value)
class BfdSession(Entity):
"""
An HSRP BFD Session
.. attribute:: interface_name (key)
The interface name
**type**\: str
**pattern:** [a\-zA\-Z0\-9.\_/\-]+
.. attribute:: ip_address (key)
Destination IP Address of BFD Session
**type**\: union of the below types:
**type**\: str
**pattern:** (([0\-9]\|[1\-9][0\-9]\|1[0\-9][0\-9]\|2[0\-4][0\-9]\|25[0\-5])\\.){3}([0\-9]\|[1\-9][0\-9]\|1[0\-9][0\-9]\|2[0\-4][0\-9]\|25[0\-5])(%[\\p{N}\\p{L}]+)?
**type**\: str
**pattern:** ((\:\|[0\-9a\-fA\-F]{0,4})\:)([0\-9a\-fA\-F]{0,4}\:){0,5}((([0\-9a\-fA\-F]{0,4}\:)?(\:\|[0\-9a\-fA\-F]{0,4}))\|(((25[0\-5]\|2[0\-4][0\-9]\|[01]?[0\-9]?[0\-9])\\.){3}(25[0\-5]\|2[0\-4][0\-9]\|[01]?[0\-9]?[0\-9])))(%[\\p{N}\\p{L}]+)?
.. attribute:: bfd_interface_name
BFD Interface Name
**type**\: str
**length:** 0..64
.. attribute:: session_address_family
Session Address family
**type**\: :py:class:`HsrpBAf <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.HsrpBAf>`
.. attribute:: destination_address
BFD destination address
**type**\: str
**pattern:** (([0\-9]\|[1\-9][0\-9]\|1[0\-9][0\-9]\|2[0\-4][0\-9]\|25[0\-5])\\.){3}([0\-9]\|[1\-9][0\-9]\|1[0\-9][0\-9]\|2[0\-4][0\-9]\|25[0\-5])(%[\\p{N}\\p{L}]+)?
.. attribute:: destination_ipv6_address
BFD IPv6 destination address
**type**\: str
**pattern:** ((\:\|[0\-9a\-fA\-F]{0,4})\:)([0\-9a\-fA\-F]{0,4}\:){0,5}((([0\-9a\-fA\-F]{0,4}\:)?(\:\|[0\-9a\-fA\-F]{0,4}))\|(((25[0\-5]\|2[0\-4][0\-9]\|[01]?[0\-9]?[0\-9])\\.){3}(25[0\-5]\|2[0\-4][0\-9]\|[01]?[0\-9]?[0\-9])))(%[\\p{N}\\p{L}]+)?
.. attribute:: bfd_session_state
BFD session state
**type**\: :py:class:`HsrpBfdSessionState <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.HsrpBfdSessionState>`
.. attribute:: bfd_interval
BFD packet send interval
**type**\: int
**range:** 0..4294967295
.. attribute:: bfd_multiplier
BFD multiplier
**type**\: int
**range:** 0..4294967295
.. attribute:: group
HSRP Groups tracking the BFD session
**type**\: list of :py:class:`Group <ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper.Hsrp.BfdSessions.BfdSession.Group>`
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp.BfdSessions.BfdSession, self).__init__()
self.yang_name = "bfd-session"
self.yang_parent_name = "bfd-sessions"
self.is_top_level_class = False
self.has_list_ancestor = False
self.ylist_key_names = ['interface_name','ip_address']
self._child_classes = OrderedDict([("group", ("group", Hsrp.BfdSessions.BfdSession.Group))])
self._leafs = OrderedDict([
('interface_name', (YLeaf(YType.str, 'interface-name'), ['str'])),
('ip_address', (YLeaf(YType.str, 'ip-address'), ['str','str'])),
('bfd_interface_name', (YLeaf(YType.str, 'bfd-interface-name'), ['str'])),
('session_address_family', (YLeaf(YType.enumeration, 'session-address-family'), [('ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper', 'HsrpBAf', '')])),
('destination_address', (YLeaf(YType.str, 'destination-address'), ['str'])),
('destination_ipv6_address', (YLeaf(YType.str, 'destination-ipv6-address'), ['str'])),
('bfd_session_state', (YLeaf(YType.enumeration, 'bfd-session-state'), [('ydk.models.cisco_ios_xr.Cisco_IOS_XR_ipv4_hsrp_oper', 'HsrpBfdSessionState', '')])),
('bfd_interval', (YLeaf(YType.uint32, 'bfd-interval'), ['int'])),
('bfd_multiplier', (YLeaf(YType.uint32, 'bfd-multiplier'), ['int'])),
])
self.interface_name = None
self.ip_address = None
self.bfd_interface_name = None
self.session_address_family = None
self.destination_address = None
self.destination_ipv6_address = None
self.bfd_session_state = None
self.bfd_interval = None
self.bfd_multiplier = None
self.group = YList(self)
self._segment_path = lambda: "bfd-session" + "[interface-name='" + str(self.interface_name) + "']" + "[ip-address='" + str(self.ip_address) + "']"
self._absolute_path = lambda: "Cisco-IOS-XR-ipv4-hsrp-oper:hsrp/bfd-sessions/%s" % self._segment_path()
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp.BfdSessions.BfdSession, ['interface_name', 'ip_address', 'bfd_interface_name', 'session_address_family', 'destination_address', 'destination_ipv6_address', 'bfd_session_state', 'bfd_interval', 'bfd_multiplier'], name, value)
class Group(Entity):
"""
HSRP Groups tracking the BFD session
.. attribute:: interface_name
Interface Name
**type**\: str
**length:** 0..64
.. attribute:: hsrp_group_number
HSRP Group number
**type**\: int
**range:** 0..4294967295
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp.BfdSessions.BfdSession.Group, self).__init__()
self.yang_name = "group"
self.yang_parent_name = "bfd-session"
self.is_top_level_class = False
self.has_list_ancestor = True
self.ylist_key_names = []
self._child_classes = OrderedDict([])
self._leafs = OrderedDict([
('interface_name', (YLeaf(YType.str, 'interface-name'), ['str'])),
('hsrp_group_number', (YLeaf(YType.uint32, 'hsrp-group-number'), ['int'])),
])
self.interface_name = None
self.hsrp_group_number = None
self._segment_path = lambda: "group"
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp.BfdSessions.BfdSession.Group, ['interface_name', 'hsrp_group_number'], name, value)
class Summary(Entity):
"""
HSRP summary statistics
.. attribute:: ipv4_sessions_active
Number of IPv4 sessions in ACTIVE state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv4_sessions_standby
Number of IPv4 sessions in STANDBY state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv4_sessions_speak
Number of IPv4 sessions in SPEAK state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv4_sessions_listen
Number of IPv4 sessions in LISTEN state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv4_sessions_learn
Number of IPv4 sessions in LEARN state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv4_sessions_init
Number of IPv4 sessions in INIT state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv4_slaves_active
Number of IPv4 slaves in ACTIVE state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv4_slaves_standby
Number of IPv4 slaves in STANDBY state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv4_slaves_speak
Number of IPv4 slaves in SPEAK state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv4_slaves_listen
Number of IPv4 slaves in LISTEN state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv4_slaves_learn
Number of IPv4 slaves in LEARN state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv4_slaves_init
Number of IPv4 slaves in INIT state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv4_virtual_ip_addresses_active_up
Number of UP IPv4 Virtual IP Addresses on groups in ACTIVE state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv4_virtual_ip_addresses_active_down
Number of DOWN IPv4 Virtual IP Addresses on groups in ACTIVE state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv4_virtual_ip_addresses_standby_up
Number of UP IPv4 Virtual IP Addresses on groups in STANDBY state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv4_virtual_ip_addresses_standby_down
Number of DOWN IPv4 Virtual IP Addresses on groups in STANDBY state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv4_virtual_ip_addresses_speak_up
Number of UP IPv4 Virtual IP Addresses on groups in SPEAK state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv4_virtual_ip_addresses_speak_down
Number of DOWN IPv4 Virtual IP Addresses on groups in SPEAK state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv4_virtual_ip_addresses_listen_up
Number of UP IPv4 Virtual IP Addresses on groups in LISTEN state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv4_virtual_ip_addresses_listen_down
Number of DOWN IPv4 Virtual IP Addresses on groups in LISTEN state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv4_virtual_ip_addresses_learn_up
Number of UP IPv4 Virtual IP Addresses on groups in LEARN state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv4_virtual_ip_addresses_learn_down
Number of DOWN IPv4 Virtual IP Addresses on groups in LEARN state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv4_virtual_ip_addresses_init_up
Number of UP IPv4 Virtual IP Addresses on groups in INIT state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv4_virtual_ip_addresses_init_down
Number of DOWN IPv4 Virtual IP Addresses on groups in INIT state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv6_sessions_active
Number of IPv6 sessions in ACTIVE state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv6_sessions_standby
Number of IPv6 sessions in STANDBY state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv6_sessions_speak
Number of IPv6 sessions in SPEAK state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv6_sessions_listen
Number of IPv6 sessions in LISTEN state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv6_sessions_learn
Number of IPv6 sessions in LEARN state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv6_sessions_init
Number of IPv6 sessions in INIT state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv6_slaves_active
Number of IPv6 slaves in ACTIVE state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv6_slaves_standby
Number of IPv6 slaves in STANDBY state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv6_slaves_speak
Number of IPv6 slaves in SPEAK state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv6_slaves_listen
Number of IPv6 slaves in LISTEN state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv6_slaves_learn
Number of IPv6 slaves in LEARN state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv6_slaves_init
Number of IPv6 slaves in INIT state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv6_virtual_ip_addresses_active_up
Number of UP IPv6 Virtual IP Addresses on groups in ACTIVE state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv6_virtual_ip_addresses_active_down
Number of DOWN IPv6 Virtual IP Addresses on groups in ACTIVE state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv6_virtual_ip_addresses_standby_up
Number of UP IPv6 Virtual IP Addresses on groups in STANDBY state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv6_virtual_ip_addresses_standby_down
Number of DOWN IPv6 Virtual IP Addresses on groups in STANDBY state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv6_virtual_ip_addresses_speak_up
Number of UP IPv6 Virtual IP Addresses on groups in SPEAK state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv6_virtual_ip_addresses_speak_down
Number of DOWN IPv6 Virtual IP Addresses on groups in SPEAK state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv6_virtual_ip_addresses_listen_up
Number of UP IPv6 Virtual IP Addresses on groups in LISTEN state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv6_virtual_ip_addresses_listen_down
Number of DOWN IPv6 Virtual IP Addresses on groups in LISTEN state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv6_virtual_ip_addresses_learn_up
Number of UP IPv6 Virtual IP Addresses on groups in LEARN state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv6_virtual_ip_addresses_learn_down
Number of DOWN IPv6 Virtual IP Addresses on groups in LEARN state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv6_virtual_ip_addresses_init_up
Number of UP IPv6 Virtual IP Addresses on groups in INIT state
**type**\: int
**range:** 0..4294967295
.. attribute:: ipv6_virtual_ip_addresses_init_down
Number of DOWN IPv6 Virtual IP Addresses on groups in INIT state
**type**\: int
**range:** 0..4294967295
.. attribute:: interfaces_ipv4_state_up
Number of HSRP interfaces with IPv4 caps in UP state
**type**\: int
**range:** 0..4294967295
.. attribute:: interfaces_ipv4_state_down
Number of HSRP interfaces with IPv4 caps in DOWN state
**type**\: int
**range:** 0..4294967295
.. attribute:: tracked_interfaces_ipv4_state_up
Number of tracked interfaces with IPv4 caps in UP state
**type**\: int
**range:** 0..4294967295
.. attribute:: tracked_interfaces_ipv4_state_down
Number of tracked interfaces with IPv4 caps in DOWN state
**type**\: int
**range:** 0..4294967295
.. attribute:: tracked_objects_up
Number of tracked objects in UP state
**type**\: int
**range:** 0..4294967295
.. attribute:: tracked_objects_down
Number of tracked objects in DOWN state
**type**\: int
**range:** 0..4294967295
.. attribute:: interfaces_ipv6_state_up
Number of HSRP interfaces with IPv6 caps in UP state
**type**\: int
**range:** 0..4294967295
.. attribute:: interfaces_ipv6_state_down
Number of HSRP interfaces with IPv6 caps in DOWN state
**type**\: int
**range:** 0..4294967295
.. attribute:: tracked_interfaces_ipv6_state_up
Number of tracked interfaces with IPv6 caps in UP state
**type**\: int
**range:** 0..4294967295
.. attribute:: tracked_interfaces_ipv6_state_down
Number of tracked interfaces with IPv6 caps in DOWN state
**type**\: int
**range:** 0..4294967295
.. attribute:: bfd_sessions_up
Number of HSRP BFD sessions in UP state
**type**\: int
**range:** 0..4294967295
.. attribute:: bfd_sessions_down
Number of HSRP BFD sessions in DOWN state
**type**\: int
**range:** 0..4294967295
.. attribute:: bfd_session_inactive
Number of HSRP BFD sessions in INACTIVE state
**type**\: int
**range:** 0..4294967295
"""
_prefix = 'ipv4-hsrp-oper'
_revision = '2017-09-07'
def __init__(self):
super(Hsrp.Summary, self).__init__()
self.yang_name = "summary"
self.yang_parent_name = "hsrp"
self.is_top_level_class = False
self.has_list_ancestor = False
self.ylist_key_names = []
self._child_classes = OrderedDict([])
self._leafs = OrderedDict([
('ipv4_sessions_active', (YLeaf(YType.uint32, 'ipv4-sessions-active'), ['int'])),
('ipv4_sessions_standby', (YLeaf(YType.uint32, 'ipv4-sessions-standby'), ['int'])),
('ipv4_sessions_speak', (YLeaf(YType.uint32, 'ipv4-sessions-speak'), ['int'])),
('ipv4_sessions_listen', (YLeaf(YType.uint32, 'ipv4-sessions-listen'), ['int'])),
('ipv4_sessions_learn', (YLeaf(YType.uint32, 'ipv4-sessions-learn'), ['int'])),
('ipv4_sessions_init', (YLeaf(YType.uint32, 'ipv4-sessions-init'), ['int'])),
('ipv4_slaves_active', (YLeaf(YType.uint32, 'ipv4-slaves-active'), ['int'])),
('ipv4_slaves_standby', (YLeaf(YType.uint32, 'ipv4-slaves-standby'), ['int'])),
('ipv4_slaves_speak', (YLeaf(YType.uint32, 'ipv4-slaves-speak'), ['int'])),
('ipv4_slaves_listen', (YLeaf(YType.uint32, 'ipv4-slaves-listen'), ['int'])),
('ipv4_slaves_learn', (YLeaf(YType.uint32, 'ipv4-slaves-learn'), ['int'])),
('ipv4_slaves_init', (YLeaf(YType.uint32, 'ipv4-slaves-init'), ['int'])),
('ipv4_virtual_ip_addresses_active_up', (YLeaf(YType.uint32, 'ipv4-virtual-ip-addresses-active-up'), ['int'])),
('ipv4_virtual_ip_addresses_active_down', (YLeaf(YType.uint32, 'ipv4-virtual-ip-addresses-active-down'), ['int'])),
('ipv4_virtual_ip_addresses_standby_up', (YLeaf(YType.uint32, 'ipv4-virtual-ip-addresses-standby-up'), ['int'])),
('ipv4_virtual_ip_addresses_standby_down', (YLeaf(YType.uint32, 'ipv4-virtual-ip-addresses-standby-down'), ['int'])),
('ipv4_virtual_ip_addresses_speak_up', (YLeaf(YType.uint32, 'ipv4-virtual-ip-addresses-speak-up'), ['int'])),
('ipv4_virtual_ip_addresses_speak_down', (YLeaf(YType.uint32, 'ipv4-virtual-ip-addresses-speak-down'), ['int'])),
('ipv4_virtual_ip_addresses_listen_up', (YLeaf(YType.uint32, 'ipv4-virtual-ip-addresses-listen-up'), ['int'])),
('ipv4_virtual_ip_addresses_listen_down', (YLeaf(YType.uint32, 'ipv4-virtual-ip-addresses-listen-down'), ['int'])),
('ipv4_virtual_ip_addresses_learn_up', (YLeaf(YType.uint32, 'ipv4-virtual-ip-addresses-learn-up'), ['int'])),
('ipv4_virtual_ip_addresses_learn_down', (YLeaf(YType.uint32, 'ipv4-virtual-ip-addresses-learn-down'), ['int'])),
('ipv4_virtual_ip_addresses_init_up', (YLeaf(YType.uint32, 'ipv4-virtual-ip-addresses-init-up'), ['int'])),
('ipv4_virtual_ip_addresses_init_down', (YLeaf(YType.uint32, 'ipv4-virtual-ip-addresses-init-down'), ['int'])),
('ipv6_sessions_active', (YLeaf(YType.uint32, 'ipv6-sessions-active'), ['int'])),
('ipv6_sessions_standby', (YLeaf(YType.uint32, 'ipv6-sessions-standby'), ['int'])),
('ipv6_sessions_speak', (YLeaf(YType.uint32, 'ipv6-sessions-speak'), ['int'])),
('ipv6_sessions_listen', (YLeaf(YType.uint32, 'ipv6-sessions-listen'), ['int'])),
('ipv6_sessions_learn', (YLeaf(YType.uint32, 'ipv6-sessions-learn'), ['int'])),
('ipv6_sessions_init', (YLeaf(YType.uint32, 'ipv6-sessions-init'), ['int'])),
('ipv6_slaves_active', (YLeaf(YType.uint32, 'ipv6-slaves-active'), ['int'])),
('ipv6_slaves_standby', (YLeaf(YType.uint32, 'ipv6-slaves-standby'), ['int'])),
('ipv6_slaves_speak', (YLeaf(YType.uint32, 'ipv6-slaves-speak'), ['int'])),
('ipv6_slaves_listen', (YLeaf(YType.uint32, 'ipv6-slaves-listen'), ['int'])),
('ipv6_slaves_learn', (YLeaf(YType.uint32, 'ipv6-slaves-learn'), ['int'])),
('ipv6_slaves_init', (YLeaf(YType.uint32, 'ipv6-slaves-init'), ['int'])),
('ipv6_virtual_ip_addresses_active_up', (YLeaf(YType.uint32, 'ipv6-virtual-ip-addresses-active-up'), ['int'])),
('ipv6_virtual_ip_addresses_active_down', (YLeaf(YType.uint32, 'ipv6-virtual-ip-addresses-active-down'), ['int'])),
('ipv6_virtual_ip_addresses_standby_up', (YLeaf(YType.uint32, 'ipv6-virtual-ip-addresses-standby-up'), ['int'])),
('ipv6_virtual_ip_addresses_standby_down', (YLeaf(YType.uint32, 'ipv6-virtual-ip-addresses-standby-down'), ['int'])),
('ipv6_virtual_ip_addresses_speak_up', (YLeaf(YType.uint32, 'ipv6-virtual-ip-addresses-speak-up'), ['int'])),
('ipv6_virtual_ip_addresses_speak_down', (YLeaf(YType.uint32, 'ipv6-virtual-ip-addresses-speak-down'), ['int'])),
('ipv6_virtual_ip_addresses_listen_up', (YLeaf(YType.uint32, 'ipv6-virtual-ip-addresses-listen-up'), ['int'])),
('ipv6_virtual_ip_addresses_listen_down', (YLeaf(YType.uint32, 'ipv6-virtual-ip-addresses-listen-down'), ['int'])),
('ipv6_virtual_ip_addresses_learn_up', (YLeaf(YType.uint32, 'ipv6-virtual-ip-addresses-learn-up'), ['int'])),
('ipv6_virtual_ip_addresses_learn_down', (YLeaf(YType.uint32, 'ipv6-virtual-ip-addresses-learn-down'), ['int'])),
('ipv6_virtual_ip_addresses_init_up', (YLeaf(YType.uint32, 'ipv6-virtual-ip-addresses-init-up'), ['int'])),
('ipv6_virtual_ip_addresses_init_down', (YLeaf(YType.uint32, 'ipv6-virtual-ip-addresses-init-down'), ['int'])),
('interfaces_ipv4_state_up', (YLeaf(YType.uint32, 'interfaces-ipv4-state-up'), ['int'])),
('interfaces_ipv4_state_down', (YLeaf(YType.uint32, 'interfaces-ipv4-state-down'), ['int'])),
('tracked_interfaces_ipv4_state_up', (YLeaf(YType.uint32, 'tracked-interfaces-ipv4-state-up'), ['int'])),
('tracked_interfaces_ipv4_state_down', (YLeaf(YType.uint32, 'tracked-interfaces-ipv4-state-down'), ['int'])),
('tracked_objects_up', (YLeaf(YType.uint32, 'tracked-objects-up'), ['int'])),
('tracked_objects_down', (YLeaf(YType.uint32, 'tracked-objects-down'), ['int'])),
('interfaces_ipv6_state_up', (YLeaf(YType.uint32, 'interfaces-ipv6-state-up'), ['int'])),
('interfaces_ipv6_state_down', (YLeaf(YType.uint32, 'interfaces-ipv6-state-down'), ['int'])),
('tracked_interfaces_ipv6_state_up', (YLeaf(YType.uint32, 'tracked-interfaces-ipv6-state-up'), ['int'])),
('tracked_interfaces_ipv6_state_down', (YLeaf(YType.uint32, 'tracked-interfaces-ipv6-state-down'), ['int'])),
('bfd_sessions_up', (YLeaf(YType.uint32, 'bfd-sessions-up'), ['int'])),
('bfd_sessions_down', (YLeaf(YType.uint32, 'bfd-sessions-down'), ['int'])),
('bfd_session_inactive', (YLeaf(YType.uint32, 'bfd-session-inactive'), ['int'])),
])
self.ipv4_sessions_active = None
self.ipv4_sessions_standby = None
self.ipv4_sessions_speak = None
self.ipv4_sessions_listen = None
self.ipv4_sessions_learn = None
self.ipv4_sessions_init = None
self.ipv4_slaves_active = None
self.ipv4_slaves_standby = None
self.ipv4_slaves_speak = None
self.ipv4_slaves_listen = None
self.ipv4_slaves_learn = None
self.ipv4_slaves_init = None
self.ipv4_virtual_ip_addresses_active_up = None
self.ipv4_virtual_ip_addresses_active_down = None
self.ipv4_virtual_ip_addresses_standby_up = None
self.ipv4_virtual_ip_addresses_standby_down = None
self.ipv4_virtual_ip_addresses_speak_up = None
self.ipv4_virtual_ip_addresses_speak_down = None
self.ipv4_virtual_ip_addresses_listen_up = None
self.ipv4_virtual_ip_addresses_listen_down = None
self.ipv4_virtual_ip_addresses_learn_up = None
self.ipv4_virtual_ip_addresses_learn_down = None
self.ipv4_virtual_ip_addresses_init_up = None
self.ipv4_virtual_ip_addresses_init_down = None
self.ipv6_sessions_active = None
self.ipv6_sessions_standby = None
self.ipv6_sessions_speak = None
self.ipv6_sessions_listen = None
self.ipv6_sessions_learn = None
self.ipv6_sessions_init = None
self.ipv6_slaves_active = None
self.ipv6_slaves_standby = None
self.ipv6_slaves_speak = None
self.ipv6_slaves_listen = None
self.ipv6_slaves_learn = None
self.ipv6_slaves_init = None
self.ipv6_virtual_ip_addresses_active_up = None
self.ipv6_virtual_ip_addresses_active_down = None
self.ipv6_virtual_ip_addresses_standby_up = None
self.ipv6_virtual_ip_addresses_standby_down = None
self.ipv6_virtual_ip_addresses_speak_up = None
self.ipv6_virtual_ip_addresses_speak_down = None
self.ipv6_virtual_ip_addresses_listen_up = None
self.ipv6_virtual_ip_addresses_listen_down = None
self.ipv6_virtual_ip_addresses_learn_up = None
self.ipv6_virtual_ip_addresses_learn_down = None
self.ipv6_virtual_ip_addresses_init_up = None
self.ipv6_virtual_ip_addresses_init_down = None
self.interfaces_ipv4_state_up = None
self.interfaces_ipv4_state_down = None
self.tracked_interfaces_ipv4_state_up = None
self.tracked_interfaces_ipv4_state_down = None
self.tracked_objects_up = None
self.tracked_objects_down = None
self.interfaces_ipv6_state_up = None
self.interfaces_ipv6_state_down = None
self.tracked_interfaces_ipv6_state_up = None
self.tracked_interfaces_ipv6_state_down = None
self.bfd_sessions_up = None
self.bfd_sessions_down = None
self.bfd_session_inactive = None
self._segment_path = lambda: "summary"
self._absolute_path = lambda: "Cisco-IOS-XR-ipv4-hsrp-oper:hsrp/%s" % self._segment_path()
self._is_frozen = True
def __setattr__(self, name, value):
self._perform_setattr(Hsrp.Summary, ['ipv4_sessions_active', 'ipv4_sessions_standby', 'ipv4_sessions_speak', 'ipv4_sessions_listen', 'ipv4_sessions_learn', 'ipv4_sessions_init', 'ipv4_slaves_active', 'ipv4_slaves_standby', 'ipv4_slaves_speak', 'ipv4_slaves_listen', 'ipv4_slaves_learn', 'ipv4_slaves_init', 'ipv4_virtual_ip_addresses_active_up', 'ipv4_virtual_ip_addresses_active_down', 'ipv4_virtual_ip_addresses_standby_up', 'ipv4_virtual_ip_addresses_standby_down', 'ipv4_virtual_ip_addresses_speak_up', 'ipv4_virtual_ip_addresses_speak_down', 'ipv4_virtual_ip_addresses_listen_up', 'ipv4_virtual_ip_addresses_listen_down', 'ipv4_virtual_ip_addresses_learn_up', 'ipv4_virtual_ip_addresses_learn_down', 'ipv4_virtual_ip_addresses_init_up', 'ipv4_virtual_ip_addresses_init_down', 'ipv6_sessions_active', 'ipv6_sessions_standby', 'ipv6_sessions_speak', 'ipv6_sessions_listen', 'ipv6_sessions_learn', 'ipv6_sessions_init', 'ipv6_slaves_active', 'ipv6_slaves_standby', 'ipv6_slaves_speak', 'ipv6_slaves_listen', 'ipv6_slaves_learn', 'ipv6_slaves_init', 'ipv6_virtual_ip_addresses_active_up', 'ipv6_virtual_ip_addresses_active_down', 'ipv6_virtual_ip_addresses_standby_up', 'ipv6_virtual_ip_addresses_standby_down', 'ipv6_virtual_ip_addresses_speak_up', 'ipv6_virtual_ip_addresses_speak_down', 'ipv6_virtual_ip_addresses_listen_up', 'ipv6_virtual_ip_addresses_listen_down', 'ipv6_virtual_ip_addresses_learn_up', 'ipv6_virtual_ip_addresses_learn_down', 'ipv6_virtual_ip_addresses_init_up', 'ipv6_virtual_ip_addresses_init_down', 'interfaces_ipv4_state_up', 'interfaces_ipv4_state_down', 'tracked_interfaces_ipv4_state_up', 'tracked_interfaces_ipv4_state_down', 'tracked_objects_up', 'tracked_objects_down', 'interfaces_ipv6_state_up', 'interfaces_ipv6_state_down', 'tracked_interfaces_ipv6_state_up', 'tracked_interfaces_ipv6_state_down', 'bfd_sessions_up', 'bfd_sessions_down', 'bfd_session_inactive'], name, value)
def clone_ptr(self):
self._top_entity = Hsrp()
return self._top_entity
| 42.787689 | 1,924 | 0.475208 | 18,021 | 198,107 | 4.960158 | 0.019255 | 0.027655 | 0.026581 | 0.028796 | 0.909651 | 0.870127 | 0.844295 | 0.823106 | 0.798573 | 0.794433 | 0 | 0.041546 | 0.403681 | 198,107 | 4,629 | 1,925 | 42.796932 | 0.715106 | 0.296951 | 0 | 0.735395 | 0 | 0.001375 | 0.239487 | 0.095416 | 0.003436 | 0 | 0 | 0 | 0 | 1 | 0.05567 | false | 0 | 0.003436 | 0 | 0.122337 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
da14f218acacd2667472e537c8dc43a84d2486e4 | 2,897 | py | Python | examples/python_stoch_dep/myLayers.py | Pastromhaug/caffe_v3 | f8ddbecc9fff1b3d6680c68b59c0353ec5785e80 | [
"BSD-2-Clause"
] | null | null | null | examples/python_stoch_dep/myLayers.py | Pastromhaug/caffe_v3 | f8ddbecc9fff1b3d6680c68b59c0353ec5785e80 | [
"BSD-2-Clause"
] | null | null | null | examples/python_stoch_dep/myLayers.py | Pastromhaug/caffe_v3 | f8ddbecc9fff1b3d6680c68b59c0353ec5785e80 | [
"BSD-2-Clause"
] | null | null | null | from caffe import layers as L, params as P
def conv_factory(bottom, ks, nout, stride=1, pad=0):
conv = L.Convolution(bottom, kernel_size=ks, stride=stride,
num_output=nout, pad=pad, bias_term=True, weight_filler=dict(type='msra'), bias_filler=dict(type='constant'))
batch_norm = L.BatchNorm(conv, in_place=True, param=[dict(lr_mult=0, decay_mult=0), dict(lr_mult=0, decay_mult=0), dict(lr_mult=0, decay_mult=0)])
scale = L.Scale(batch_norm, bias_term=True, in_place=True)
return scale
def conv_factory_relu(bottom, ks, nout, stride=1, pad=0):
conv = L.Convolution(bottom, kernel_size=ks, stride=stride,
num_output=nout, pad=pad, bias_term=True, weight_filler=dict(type='msra'), bias_filler=dict(type='constant'))
batch_norm = L.BatchNorm(conv, in_place=True, param=[dict(lr_mult=0, decay_mult=0), dict(lr_mult=0, decay_mult=0), dict(lr_mult=0, decay_mult=0)])
scale = L.Scale(batch_norm, bias_term=True, in_place=True)
relu = L.ReLU(scale, in_place=True)
return relu
#written by me
def residual_factory1(bottom, num_filter):
conv1 = conv_factory_relu(bottom, 3, num_filter, 1, 1)
conv2 = conv_factory(conv1, 3, num_filter, 1, 1)
addition = L.Eltwise(bottom, conv2, operation=P.Eltwise.SUM)
relu = L.ReLU(addition, in_place=True)
return relu
def residual_factory2(bottom, num_filter):
conv1 = conv_factory_relu(bottom, 3, num_filter, 1, 1)
conv2 = conv_factory(conv1, 3, num_filter, 1, 1)
addition = L.Python(bottom, conv2, module='resnet_oc', ntop=1, layer='RandAdd')
relu = L.ReLU(addition, in_place=True)
return relu
#written by me
def residual_factory_padding1(bottom, num_filter, stride, batch_size, feature_size):
conv1 = conv_factory_relu(bottom, ks=3, nout=num_filter, stride=stride, pad=1)
conv2 = conv_factory(conv1, ks=3, nout=num_filter, stride=1, pad=1)
pool1 = L.Pooling(bottom, pool=P.Pooling.AVE, kernel_size=2, stride=2)
padding = L.Input(input_param=dict(shape=dict(dim=[batch_size, num_filter/2, feature_size, feature_size])))
concate = L.Concat(pool1, padding, axis=1)
addition = L.Eltwise(concate, conv2, operation=P.Eltwise.SUM)
relu = L.ReLU(addition, in_place=True)
return relu
def residual_factory_padding2(bottom, num_filter, stride, batch_size, feature_size):
conv1 = conv_factory_relu(bottom, ks=3, nout=num_filter, stride=stride, pad=1)
conv2 = conv_factory(conv1, ks=3, nout=num_filter, stride=1, pad=1)
pool1 = L.Pooling(bottom, pool=P.Pooling.AVE, kernel_size=2, stride=2)
padding = L.Input(input_param=dict(shape=dict(dim=[batch_size, num_filter/2, feature_size, feature_size])))
concate = L.Concat(pool1, padding, axis=1)
addition = L.Python(concate, conv2, module='resnet_oc', ntop=1, layer='RandAdd')
relu = L.ReLU(addition, in_place=True)
return relu
| 54.660377 | 150 | 0.709355 | 465 | 2,897 | 4.230108 | 0.172043 | 0.064057 | 0.05033 | 0.033554 | 0.912049 | 0.904423 | 0.904423 | 0.904423 | 0.904423 | 0.904423 | 0 | 0.029436 | 0.155678 | 2,897 | 52 | 151 | 55.711538 | 0.774734 | 0.008975 | 0 | 0.704545 | 0 | 0 | 0.019519 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.136364 | false | 0 | 0.022727 | 0 | 0.295455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
da79e2b627cf7cd21703c8405d53d27434853063 | 164 | py | Python | cslansing/settings/test.py | cslansing/cslansing-com | 6cf8a2757ab58138dadaababbde279b81c39a08d | [
"MIT"
] | null | null | null | cslansing/settings/test.py | cslansing/cslansing-com | 6cf8a2757ab58138dadaababbde279b81c39a08d | [
"MIT"
] | null | null | null | cslansing/settings/test.py | cslansing/cslansing-com | 6cf8a2757ab58138dadaababbde279b81c39a08d | [
"MIT"
] | null | null | null | import os
import django
# print os.path.dirname(os.path.realpath(__file__))
print os.path.abspath('../../')
print os.path.dirname(os.path.realpath(django.__file__)) | 32.8 | 56 | 0.756098 | 25 | 164 | 4.64 | 0.36 | 0.258621 | 0.284483 | 0.310345 | 0.551724 | 0.551724 | 0.551724 | 0 | 0 | 0 | 0 | 0 | 0.060976 | 164 | 5 | 56 | 32.8 | 0.753247 | 0.29878 | 0 | 0 | 0 | 0 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 8 |
e5f56dfa252c2dfdec027dd89e01a0b8709523e9 | 122 | py | Python | neuropixels_data_sep_2020/known_recordings_uri.py | yger/neuropixels-data-sep-2020 | ffdfe7c3cdf35d3dc004a2c4c8d5d74904995e9a | [
"Apache-2.0"
] | null | null | null | neuropixels_data_sep_2020/known_recordings_uri.py | yger/neuropixels-data-sep-2020 | ffdfe7c3cdf35d3dc004a2c4c8d5d74904995e9a | [
"Apache-2.0"
] | null | null | null | neuropixels_data_sep_2020/known_recordings_uri.py | yger/neuropixels-data-sep-2020 | ffdfe7c3cdf35d3dc004a2c4c8d5d74904995e9a | [
"Apache-2.0"
] | null | null | null | KNOWN_RECORDINGS_URI = "sha1://f18a87b7f7a71142a58995c3521e2785db565e15/file.json" # auto-generated by prepare_datasets.py | 122 | 122 | 0.860656 | 13 | 122 | 7.846154 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258621 | 0.04918 | 122 | 1 | 122 | 122 | 0.62069 | 0.303279 | 0 | 0 | 1 | 0 | 0.678571 | 0.678571 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f916b43b1f2fe8ea42f4ab4052f408c0734783a5 | 29,283 | py | Python | ReqBlockListener.py | cvickery/dgw_processor | 777ab7a87705ea38f66812ef0814324f974dbc66 | [
"MIT"
] | 1 | 2021-03-30T23:03:52.000Z | 2021-03-30T23:03:52.000Z | ReqBlockListener.py | cvickery/dgw_processor | 777ab7a87705ea38f66812ef0814324f974dbc66 | [
"MIT"
] | 1 | 2021-07-29T03:20:58.000Z | 2022-02-01T14:24:26.000Z | ReqBlockListener.py | cvickery/dgw_processor | 777ab7a87705ea38f66812ef0814324f974dbc66 | [
"MIT"
] | null | null | null | # Generated from ReqBlock.g4 by ANTLR 4.9.3
from antlr4 import *
if __name__ is not None and "." in __name__:
from .ReqBlockParser import ReqBlockParser
else:
from ReqBlockParser import ReqBlockParser
# This class defines a complete listener for a parse tree produced by ReqBlockParser.
class ReqBlockListener(ParseTreeListener):
# Enter a parse tree produced by ReqBlockParser#req_block.
def enterReq_block(self, ctx:ReqBlockParser.Req_blockContext):
pass
# Exit a parse tree produced by ReqBlockParser#req_block.
def exitReq_block(self, ctx:ReqBlockParser.Req_blockContext):
pass
# Enter a parse tree produced by ReqBlockParser#header.
def enterHeader(self, ctx:ReqBlockParser.HeaderContext):
pass
# Exit a parse tree produced by ReqBlockParser#header.
def exitHeader(self, ctx:ReqBlockParser.HeaderContext):
pass
# Enter a parse tree produced by ReqBlockParser#body.
def enterBody(self, ctx:ReqBlockParser.BodyContext):
pass
# Exit a parse tree produced by ReqBlockParser#body.
def exitBody(self, ctx:ReqBlockParser.BodyContext):
pass
# Enter a parse tree produced by ReqBlockParser#course_list.
def enterCourse_list(self, ctx:ReqBlockParser.Course_listContext):
pass
# Exit a parse tree produced by ReqBlockParser#course_list.
def exitCourse_list(self, ctx:ReqBlockParser.Course_listContext):
pass
# Enter a parse tree produced by ReqBlockParser#full_course.
def enterFull_course(self, ctx:ReqBlockParser.Full_courseContext):
pass
# Exit a parse tree produced by ReqBlockParser#full_course.
def exitFull_course(self, ctx:ReqBlockParser.Full_courseContext):
pass
# Enter a parse tree produced by ReqBlockParser#course_item.
def enterCourse_item(self, ctx:ReqBlockParser.Course_itemContext):
pass
# Exit a parse tree produced by ReqBlockParser#course_item.
def exitCourse_item(self, ctx:ReqBlockParser.Course_itemContext):
pass
# Enter a parse tree produced by ReqBlockParser#and_list.
def enterAnd_list(self, ctx:ReqBlockParser.And_listContext):
pass
# Exit a parse tree produced by ReqBlockParser#and_list.
def exitAnd_list(self, ctx:ReqBlockParser.And_listContext):
pass
# Enter a parse tree produced by ReqBlockParser#or_list.
def enterOr_list(self, ctx:ReqBlockParser.Or_listContext):
pass
# Exit a parse tree produced by ReqBlockParser#or_list.
def exitOr_list(self, ctx:ReqBlockParser.Or_listContext):
pass
# Enter a parse tree produced by ReqBlockParser#except_list.
def enterExcept_list(self, ctx:ReqBlockParser.Except_listContext):
pass
# Exit a parse tree produced by ReqBlockParser#except_list.
def exitExcept_list(self, ctx:ReqBlockParser.Except_listContext):
pass
# Enter a parse tree produced by ReqBlockParser#include_list.
def enterInclude_list(self, ctx:ReqBlockParser.Include_listContext):
pass
# Exit a parse tree produced by ReqBlockParser#include_list.
def exitInclude_list(self, ctx:ReqBlockParser.Include_listContext):
pass
# Enter a parse tree produced by ReqBlockParser#catalog_number.
def enterCatalog_number(self, ctx:ReqBlockParser.Catalog_numberContext):
pass
# Exit a parse tree produced by ReqBlockParser#catalog_number.
def exitCatalog_number(self, ctx:ReqBlockParser.Catalog_numberContext):
pass
# Enter a parse tree produced by ReqBlockParser#discipline.
def enterDiscipline(self, ctx:ReqBlockParser.DisciplineContext):
pass
# Exit a parse tree produced by ReqBlockParser#discipline.
def exitDiscipline(self, ctx:ReqBlockParser.DisciplineContext):
pass
# Enter a parse tree produced by ReqBlockParser#course_list_body.
def enterCourse_list_body(self, ctx:ReqBlockParser.Course_list_bodyContext):
pass
# Exit a parse tree produced by ReqBlockParser#course_list_body.
def exitCourse_list_body(self, ctx:ReqBlockParser.Course_list_bodyContext):
pass
# Enter a parse tree produced by ReqBlockParser#course_list_rule.
def enterCourse_list_rule(self, ctx:ReqBlockParser.Course_list_ruleContext):
pass
# Exit a parse tree produced by ReqBlockParser#course_list_rule.
def exitCourse_list_rule(self, ctx:ReqBlockParser.Course_list_ruleContext):
pass
# Enter a parse tree produced by ReqBlockParser#qualifier.
def enterQualifier(self, ctx:ReqBlockParser.QualifierContext):
pass
# Exit a parse tree produced by ReqBlockParser#qualifier.
def exitQualifier(self, ctx:ReqBlockParser.QualifierContext):
pass
# Enter a parse tree produced by ReqBlockParser#begin_if.
def enterBegin_if(self, ctx:ReqBlockParser.Begin_ifContext):
pass
# Exit a parse tree produced by ReqBlockParser#begin_if.
def exitBegin_if(self, ctx:ReqBlockParser.Begin_ifContext):
pass
# Enter a parse tree produced by ReqBlockParser#end_if.
def enterEnd_if(self, ctx:ReqBlockParser.End_ifContext):
pass
# Exit a parse tree produced by ReqBlockParser#end_if.
def exitEnd_if(self, ctx:ReqBlockParser.End_ifContext):
pass
# Enter a parse tree produced by ReqBlockParser#header_conditional.
def enterHeader_conditional(self, ctx:ReqBlockParser.Header_conditionalContext):
pass
# Exit a parse tree produced by ReqBlockParser#header_conditional.
def exitHeader_conditional(self, ctx:ReqBlockParser.Header_conditionalContext):
pass
# Enter a parse tree produced by ReqBlockParser#header_else.
def enterHeader_else(self, ctx:ReqBlockParser.Header_elseContext):
pass
# Exit a parse tree produced by ReqBlockParser#header_else.
def exitHeader_else(self, ctx:ReqBlockParser.Header_elseContext):
pass
# Enter a parse tree produced by ReqBlockParser#header_rule_group.
def enterHeader_rule_group(self, ctx:ReqBlockParser.Header_rule_groupContext):
pass
# Exit a parse tree produced by ReqBlockParser#header_rule_group.
def exitHeader_rule_group(self, ctx:ReqBlockParser.Header_rule_groupContext):
pass
# Enter a parse tree produced by ReqBlockParser#header_rule.
def enterHeader_rule(self, ctx:ReqBlockParser.Header_ruleContext):
pass
# Exit a parse tree produced by ReqBlockParser#header_rule.
def exitHeader_rule(self, ctx:ReqBlockParser.Header_ruleContext):
pass
# Enter a parse tree produced by ReqBlockParser#body_conditional.
def enterBody_conditional(self, ctx:ReqBlockParser.Body_conditionalContext):
pass
# Exit a parse tree produced by ReqBlockParser#body_conditional.
def exitBody_conditional(self, ctx:ReqBlockParser.Body_conditionalContext):
pass
# Enter a parse tree produced by ReqBlockParser#body_else.
def enterBody_else(self, ctx:ReqBlockParser.Body_elseContext):
pass
# Exit a parse tree produced by ReqBlockParser#body_else.
def exitBody_else(self, ctx:ReqBlockParser.Body_elseContext):
pass
# Enter a parse tree produced by ReqBlockParser#body_rule_group.
def enterBody_rule_group(self, ctx:ReqBlockParser.Body_rule_groupContext):
pass
# Exit a parse tree produced by ReqBlockParser#body_rule_group.
def exitBody_rule_group(self, ctx:ReqBlockParser.Body_rule_groupContext):
pass
# Enter a parse tree produced by ReqBlockParser#body_rule.
def enterBody_rule(self, ctx:ReqBlockParser.Body_ruleContext):
pass
# Exit a parse tree produced by ReqBlockParser#body_rule.
def exitBody_rule(self, ctx:ReqBlockParser.Body_ruleContext):
pass
# Enter a parse tree produced by ReqBlockParser#group_requirement.
def enterGroup_requirement(self, ctx:ReqBlockParser.Group_requirementContext):
pass
# Exit a parse tree produced by ReqBlockParser#group_requirement.
def exitGroup_requirement(self, ctx:ReqBlockParser.Group_requirementContext):
pass
# Enter a parse tree produced by ReqBlockParser#groups.
def enterGroups(self, ctx:ReqBlockParser.GroupsContext):
pass
# Exit a parse tree produced by ReqBlockParser#groups.
def exitGroups(self, ctx:ReqBlockParser.GroupsContext):
pass
# Enter a parse tree produced by ReqBlockParser#group.
def enterGroup(self, ctx:ReqBlockParser.GroupContext):
pass
# Exit a parse tree produced by ReqBlockParser#group.
def exitGroup(self, ctx:ReqBlockParser.GroupContext):
pass
# Enter a parse tree produced by ReqBlockParser#subset.
def enterSubset(self, ctx:ReqBlockParser.SubsetContext):
pass
# Exit a parse tree produced by ReqBlockParser#subset.
def exitSubset(self, ctx:ReqBlockParser.SubsetContext):
pass
# Enter a parse tree produced by ReqBlockParser#block.
def enterBlock(self, ctx:ReqBlockParser.BlockContext):
pass
# Exit a parse tree produced by ReqBlockParser#block.
def exitBlock(self, ctx:ReqBlockParser.BlockContext):
pass
# Enter a parse tree produced by ReqBlockParser#blocktype.
def enterBlocktype(self, ctx:ReqBlockParser.BlocktypeContext):
pass
# Exit a parse tree produced by ReqBlockParser#blocktype.
def exitBlocktype(self, ctx:ReqBlockParser.BlocktypeContext):
pass
# Enter a parse tree produced by ReqBlockParser#allow_clause.
def enterAllow_clause(self, ctx:ReqBlockParser.Allow_clauseContext):
pass
# Exit a parse tree produced by ReqBlockParser#allow_clause.
def exitAllow_clause(self, ctx:ReqBlockParser.Allow_clauseContext):
pass
# Enter a parse tree produced by ReqBlockParser#header_class_credit.
def enterHeader_class_credit(self, ctx:ReqBlockParser.Header_class_creditContext):
pass
# Exit a parse tree produced by ReqBlockParser#header_class_credit.
def exitHeader_class_credit(self, ctx:ReqBlockParser.Header_class_creditContext):
pass
# Enter a parse tree produced by ReqBlockParser#body_class_credit.
def enterBody_class_credit(self, ctx:ReqBlockParser.Body_class_creditContext):
pass
# Exit a parse tree produced by ReqBlockParser#body_class_credit.
def exitBody_class_credit(self, ctx:ReqBlockParser.Body_class_creditContext):
pass
# Enter a parse tree produced by ReqBlockParser#header_lastres.
def enterHeader_lastres(self, ctx:ReqBlockParser.Header_lastresContext):
pass
# Exit a parse tree produced by ReqBlockParser#header_lastres.
def exitHeader_lastres(self, ctx:ReqBlockParser.Header_lastresContext):
pass
# Enter a parse tree produced by ReqBlockParser#header_maxclass.
def enterHeader_maxclass(self, ctx:ReqBlockParser.Header_maxclassContext):
pass
# Exit a parse tree produced by ReqBlockParser#header_maxclass.
def exitHeader_maxclass(self, ctx:ReqBlockParser.Header_maxclassContext):
pass
# Enter a parse tree produced by ReqBlockParser#header_maxcredit.
def enterHeader_maxcredit(self, ctx:ReqBlockParser.Header_maxcreditContext):
pass
# Exit a parse tree produced by ReqBlockParser#header_maxcredit.
def exitHeader_maxcredit(self, ctx:ReqBlockParser.Header_maxcreditContext):
pass
# Enter a parse tree produced by ReqBlockParser#header_maxpassfail.
def enterHeader_maxpassfail(self, ctx:ReqBlockParser.Header_maxpassfailContext):
pass
# Exit a parse tree produced by ReqBlockParser#header_maxpassfail.
def exitHeader_maxpassfail(self, ctx:ReqBlockParser.Header_maxpassfailContext):
pass
# Enter a parse tree produced by ReqBlockParser#header_maxperdisc.
def enterHeader_maxperdisc(self, ctx:ReqBlockParser.Header_maxperdiscContext):
pass
# Exit a parse tree produced by ReqBlockParser#header_maxperdisc.
def exitHeader_maxperdisc(self, ctx:ReqBlockParser.Header_maxperdiscContext):
pass
# Enter a parse tree produced by ReqBlockParser#header_maxterm.
def enterHeader_maxterm(self, ctx:ReqBlockParser.Header_maxtermContext):
pass
# Exit a parse tree produced by ReqBlockParser#header_maxterm.
def exitHeader_maxterm(self, ctx:ReqBlockParser.Header_maxtermContext):
pass
# Enter a parse tree produced by ReqBlockParser#header_maxtransfer.
def enterHeader_maxtransfer(self, ctx:ReqBlockParser.Header_maxtransferContext):
pass
# Exit a parse tree produced by ReqBlockParser#header_maxtransfer.
def exitHeader_maxtransfer(self, ctx:ReqBlockParser.Header_maxtransferContext):
pass
# Enter a parse tree produced by ReqBlockParser#header_minclass.
def enterHeader_minclass(self, ctx:ReqBlockParser.Header_minclassContext):
pass
# Exit a parse tree produced by ReqBlockParser#header_minclass.
def exitHeader_minclass(self, ctx:ReqBlockParser.Header_minclassContext):
pass
# Enter a parse tree produced by ReqBlockParser#header_mincredit.
def enterHeader_mincredit(self, ctx:ReqBlockParser.Header_mincreditContext):
pass
# Exit a parse tree produced by ReqBlockParser#header_mincredit.
def exitHeader_mincredit(self, ctx:ReqBlockParser.Header_mincreditContext):
pass
# Enter a parse tree produced by ReqBlockParser#header_mingpa.
def enterHeader_mingpa(self, ctx:ReqBlockParser.Header_mingpaContext):
pass
# Exit a parse tree produced by ReqBlockParser#header_mingpa.
def exitHeader_mingpa(self, ctx:ReqBlockParser.Header_mingpaContext):
pass
# Enter a parse tree produced by ReqBlockParser#header_mingrade.
def enterHeader_mingrade(self, ctx:ReqBlockParser.Header_mingradeContext):
pass
# Exit a parse tree produced by ReqBlockParser#header_mingrade.
def exitHeader_mingrade(self, ctx:ReqBlockParser.Header_mingradeContext):
pass
# Enter a parse tree produced by ReqBlockParser#header_minperdisc.
def enterHeader_minperdisc(self, ctx:ReqBlockParser.Header_minperdiscContext):
pass
# Exit a parse tree produced by ReqBlockParser#header_minperdisc.
def exitHeader_minperdisc(self, ctx:ReqBlockParser.Header_minperdiscContext):
pass
# Enter a parse tree produced by ReqBlockParser#header_minres.
def enterHeader_minres(self, ctx:ReqBlockParser.Header_minresContext):
pass
# Exit a parse tree produced by ReqBlockParser#header_minres.
def exitHeader_minres(self, ctx:ReqBlockParser.Header_minresContext):
pass
# Enter a parse tree produced by ReqBlockParser#header_minterm.
def enterHeader_minterm(self, ctx:ReqBlockParser.Header_mintermContext):
pass
# Exit a parse tree produced by ReqBlockParser#header_minterm.
def exitHeader_minterm(self, ctx:ReqBlockParser.Header_mintermContext):
pass
# Enter a parse tree produced by ReqBlockParser#header_share.
def enterHeader_share(self, ctx:ReqBlockParser.Header_shareContext):
pass
# Exit a parse tree produced by ReqBlockParser#header_share.
def exitHeader_share(self, ctx:ReqBlockParser.Header_shareContext):
pass
# Enter a parse tree produced by ReqBlockParser#allow.
def enterAllow(self, ctx:ReqBlockParser.AllowContext):
pass
# Exit a parse tree produced by ReqBlockParser#allow.
def exitAllow(self, ctx:ReqBlockParser.AllowContext):
pass
# Enter a parse tree produced by ReqBlockParser#area_end.
def enterArea_end(self, ctx:ReqBlockParser.Area_endContext):
pass
# Exit a parse tree produced by ReqBlockParser#area_end.
def exitArea_end(self, ctx:ReqBlockParser.Area_endContext):
pass
# Enter a parse tree produced by ReqBlockParser#area_start.
def enterArea_start(self, ctx:ReqBlockParser.Area_startContext):
pass
# Exit a parse tree produced by ReqBlockParser#area_start.
def exitArea_start(self, ctx:ReqBlockParser.Area_startContext):
pass
# Enter a parse tree produced by ReqBlockParser#class_or_credit.
def enterClass_or_credit(self, ctx:ReqBlockParser.Class_or_creditContext):
pass
# Exit a parse tree produced by ReqBlockParser#class_or_credit.
def exitClass_or_credit(self, ctx:ReqBlockParser.Class_or_creditContext):
pass
# Enter a parse tree produced by ReqBlockParser#copy_rules.
def enterCopy_rules(self, ctx:ReqBlockParser.Copy_rulesContext):
pass
# Exit a parse tree produced by ReqBlockParser#copy_rules.
def exitCopy_rules(self, ctx:ReqBlockParser.Copy_rulesContext):
pass
# Enter a parse tree produced by ReqBlockParser#display.
def enterDisplay(self, ctx:ReqBlockParser.DisplayContext):
pass
# Exit a parse tree produced by ReqBlockParser#display.
def exitDisplay(self, ctx:ReqBlockParser.DisplayContext):
pass
# Enter a parse tree produced by ReqBlockParser#header_tag.
def enterHeader_tag(self, ctx:ReqBlockParser.Header_tagContext):
pass
# Exit a parse tree produced by ReqBlockParser#header_tag.
def exitHeader_tag(self, ctx:ReqBlockParser.Header_tagContext):
pass
# Enter a parse tree produced by ReqBlockParser#header_label.
def enterHeader_label(self, ctx:ReqBlockParser.Header_labelContext):
pass
# Exit a parse tree produced by ReqBlockParser#header_label.
def exitHeader_label(self, ctx:ReqBlockParser.Header_labelContext):
pass
# Enter a parse tree produced by ReqBlockParser#label.
def enterLabel(self, ctx:ReqBlockParser.LabelContext):
pass
# Exit a parse tree produced by ReqBlockParser#label.
def exitLabel(self, ctx:ReqBlockParser.LabelContext):
pass
# Enter a parse tree produced by ReqBlockParser#lastres.
def enterLastres(self, ctx:ReqBlockParser.LastresContext):
pass
# Exit a parse tree produced by ReqBlockParser#lastres.
def exitLastres(self, ctx:ReqBlockParser.LastresContext):
pass
# Enter a parse tree produced by ReqBlockParser#maxclass.
def enterMaxclass(self, ctx:ReqBlockParser.MaxclassContext):
pass
# Exit a parse tree produced by ReqBlockParser#maxclass.
def exitMaxclass(self, ctx:ReqBlockParser.MaxclassContext):
pass
# Enter a parse tree produced by ReqBlockParser#maxcredit.
def enterMaxcredit(self, ctx:ReqBlockParser.MaxcreditContext):
pass
# Exit a parse tree produced by ReqBlockParser#maxcredit.
def exitMaxcredit(self, ctx:ReqBlockParser.MaxcreditContext):
pass
# Enter a parse tree produced by ReqBlockParser#maxpassfail.
def enterMaxpassfail(self, ctx:ReqBlockParser.MaxpassfailContext):
pass
# Exit a parse tree produced by ReqBlockParser#maxpassfail.
def exitMaxpassfail(self, ctx:ReqBlockParser.MaxpassfailContext):
pass
# Enter a parse tree produced by ReqBlockParser#maxperdisc.
def enterMaxperdisc(self, ctx:ReqBlockParser.MaxperdiscContext):
pass
# Exit a parse tree produced by ReqBlockParser#maxperdisc.
def exitMaxperdisc(self, ctx:ReqBlockParser.MaxperdiscContext):
pass
# Enter a parse tree produced by ReqBlockParser#maxspread.
def enterMaxspread(self, ctx:ReqBlockParser.MaxspreadContext):
pass
# Exit a parse tree produced by ReqBlockParser#maxspread.
def exitMaxspread(self, ctx:ReqBlockParser.MaxspreadContext):
pass
# Enter a parse tree produced by ReqBlockParser#maxterm.
def enterMaxterm(self, ctx:ReqBlockParser.MaxtermContext):
pass
# Exit a parse tree produced by ReqBlockParser#maxterm.
def exitMaxterm(self, ctx:ReqBlockParser.MaxtermContext):
pass
# Enter a parse tree produced by ReqBlockParser#maxtransfer.
def enterMaxtransfer(self, ctx:ReqBlockParser.MaxtransferContext):
pass
# Exit a parse tree produced by ReqBlockParser#maxtransfer.
def exitMaxtransfer(self, ctx:ReqBlockParser.MaxtransferContext):
pass
# Enter a parse tree produced by ReqBlockParser#minarea.
def enterMinarea(self, ctx:ReqBlockParser.MinareaContext):
pass
# Exit a parse tree produced by ReqBlockParser#minarea.
def exitMinarea(self, ctx:ReqBlockParser.MinareaContext):
pass
# Enter a parse tree produced by ReqBlockParser#minclass.
def enterMinclass(self, ctx:ReqBlockParser.MinclassContext):
pass
# Exit a parse tree produced by ReqBlockParser#minclass.
def exitMinclass(self, ctx:ReqBlockParser.MinclassContext):
pass
# Enter a parse tree produced by ReqBlockParser#mincredit.
def enterMincredit(self, ctx:ReqBlockParser.MincreditContext):
pass
# Exit a parse tree produced by ReqBlockParser#mincredit.
def exitMincredit(self, ctx:ReqBlockParser.MincreditContext):
pass
# Enter a parse tree produced by ReqBlockParser#mingpa.
def enterMingpa(self, ctx:ReqBlockParser.MingpaContext):
pass
# Exit a parse tree produced by ReqBlockParser#mingpa.
def exitMingpa(self, ctx:ReqBlockParser.MingpaContext):
pass
# Enter a parse tree produced by ReqBlockParser#mingrade.
def enterMingrade(self, ctx:ReqBlockParser.MingradeContext):
pass
# Exit a parse tree produced by ReqBlockParser#mingrade.
def exitMingrade(self, ctx:ReqBlockParser.MingradeContext):
pass
# Enter a parse tree produced by ReqBlockParser#minperdisc.
def enterMinperdisc(self, ctx:ReqBlockParser.MinperdiscContext):
pass
# Exit a parse tree produced by ReqBlockParser#minperdisc.
def exitMinperdisc(self, ctx:ReqBlockParser.MinperdiscContext):
pass
# Enter a parse tree produced by ReqBlockParser#minres.
def enterMinres(self, ctx:ReqBlockParser.MinresContext):
pass
# Exit a parse tree produced by ReqBlockParser#minres.
def exitMinres(self, ctx:ReqBlockParser.MinresContext):
pass
# Enter a parse tree produced by ReqBlockParser#minspread.
def enterMinspread(self, ctx:ReqBlockParser.MinspreadContext):
pass
# Exit a parse tree produced by ReqBlockParser#minspread.
def exitMinspread(self, ctx:ReqBlockParser.MinspreadContext):
pass
# Enter a parse tree produced by ReqBlockParser#minterm.
def enterMinterm(self, ctx:ReqBlockParser.MintermContext):
pass
# Exit a parse tree produced by ReqBlockParser#minterm.
def exitMinterm(self, ctx:ReqBlockParser.MintermContext):
pass
# Enter a parse tree produced by ReqBlockParser#noncourse.
def enterNoncourse(self, ctx:ReqBlockParser.NoncourseContext):
pass
# Exit a parse tree produced by ReqBlockParser#noncourse.
def exitNoncourse(self, ctx:ReqBlockParser.NoncourseContext):
pass
# Enter a parse tree produced by ReqBlockParser#num_classes.
def enterNum_classes(self, ctx:ReqBlockParser.Num_classesContext):
pass
# Exit a parse tree produced by ReqBlockParser#num_classes.
def exitNum_classes(self, ctx:ReqBlockParser.Num_classesContext):
pass
# Enter a parse tree produced by ReqBlockParser#num_credits.
def enterNum_credits(self, ctx:ReqBlockParser.Num_creditsContext):
pass
# Exit a parse tree produced by ReqBlockParser#num_credits.
def exitNum_credits(self, ctx:ReqBlockParser.Num_creditsContext):
pass
# Enter a parse tree produced by ReqBlockParser#nv_pair.
def enterNv_pair(self, ctx:ReqBlockParser.Nv_pairContext):
pass
# Exit a parse tree produced by ReqBlockParser#nv_pair.
def exitNv_pair(self, ctx:ReqBlockParser.Nv_pairContext):
pass
# Enter a parse tree produced by ReqBlockParser#optional.
def enterOptional(self, ctx:ReqBlockParser.OptionalContext):
pass
# Exit a parse tree produced by ReqBlockParser#optional.
def exitOptional(self, ctx:ReqBlockParser.OptionalContext):
pass
# Enter a parse tree produced by ReqBlockParser#proxy_advice.
def enterProxy_advice(self, ctx:ReqBlockParser.Proxy_adviceContext):
pass
# Exit a parse tree produced by ReqBlockParser#proxy_advice.
def exitProxy_advice(self, ctx:ReqBlockParser.Proxy_adviceContext):
pass
# Enter a parse tree produced by ReqBlockParser#pseudo.
def enterPseudo(self, ctx:ReqBlockParser.PseudoContext):
pass
# Exit a parse tree produced by ReqBlockParser#pseudo.
def exitPseudo(self, ctx:ReqBlockParser.PseudoContext):
pass
# Enter a parse tree produced by ReqBlockParser#remark.
def enterRemark(self, ctx:ReqBlockParser.RemarkContext):
pass
# Exit a parse tree produced by ReqBlockParser#remark.
def exitRemark(self, ctx:ReqBlockParser.RemarkContext):
pass
# Enter a parse tree produced by ReqBlockParser#rule_complete.
def enterRule_complete(self, ctx:ReqBlockParser.Rule_completeContext):
pass
# Exit a parse tree produced by ReqBlockParser#rule_complete.
def exitRule_complete(self, ctx:ReqBlockParser.Rule_completeContext):
pass
# Enter a parse tree produced by ReqBlockParser#rule_tag.
def enterRule_tag(self, ctx:ReqBlockParser.Rule_tagContext):
pass
# Exit a parse tree produced by ReqBlockParser#rule_tag.
def exitRule_tag(self, ctx:ReqBlockParser.Rule_tagContext):
pass
# Enter a parse tree produced by ReqBlockParser#samedisc.
def enterSamedisc(self, ctx:ReqBlockParser.SamediscContext):
pass
# Exit a parse tree produced by ReqBlockParser#samedisc.
def exitSamedisc(self, ctx:ReqBlockParser.SamediscContext):
pass
# Enter a parse tree produced by ReqBlockParser#share.
def enterShare(self, ctx:ReqBlockParser.ShareContext):
pass
# Exit a parse tree produced by ReqBlockParser#share.
def exitShare(self, ctx:ReqBlockParser.ShareContext):
pass
# Enter a parse tree produced by ReqBlockParser#standalone.
def enterStandalone(self, ctx:ReqBlockParser.StandaloneContext):
pass
# Exit a parse tree produced by ReqBlockParser#standalone.
def exitStandalone(self, ctx:ReqBlockParser.StandaloneContext):
pass
# Enter a parse tree produced by ReqBlockParser#string.
def enterString(self, ctx:ReqBlockParser.StringContext):
pass
# Exit a parse tree produced by ReqBlockParser#string.
def exitString(self, ctx:ReqBlockParser.StringContext):
pass
# Enter a parse tree produced by ReqBlockParser#symbol.
def enterSymbol(self, ctx:ReqBlockParser.SymbolContext):
pass
# Exit a parse tree produced by ReqBlockParser#symbol.
def exitSymbol(self, ctx:ReqBlockParser.SymbolContext):
pass
# Enter a parse tree produced by ReqBlockParser#tag.
def enterTag(self, ctx:ReqBlockParser.TagContext):
pass
# Exit a parse tree produced by ReqBlockParser#tag.
def exitTag(self, ctx:ReqBlockParser.TagContext):
pass
# Enter a parse tree produced by ReqBlockParser#under.
def enterUnder(self, ctx:ReqBlockParser.UnderContext):
pass
# Exit a parse tree produced by ReqBlockParser#under.
def exitUnder(self, ctx:ReqBlockParser.UnderContext):
pass
# Enter a parse tree produced by ReqBlockParser#with_clause.
def enterWith_clause(self, ctx:ReqBlockParser.With_clauseContext):
pass
# Exit a parse tree produced by ReqBlockParser#with_clause.
def exitWith_clause(self, ctx:ReqBlockParser.With_clauseContext):
pass
# Enter a parse tree produced by ReqBlockParser#expression.
def enterExpression(self, ctx:ReqBlockParser.ExpressionContext):
pass
# Exit a parse tree produced by ReqBlockParser#expression.
def exitExpression(self, ctx:ReqBlockParser.ExpressionContext):
pass
# Enter a parse tree produced by ReqBlockParser#logical_op.
def enterLogical_op(self, ctx:ReqBlockParser.Logical_opContext):
pass
# Exit a parse tree produced by ReqBlockParser#logical_op.
def exitLogical_op(self, ctx:ReqBlockParser.Logical_opContext):
pass
# Enter a parse tree produced by ReqBlockParser#relational_op.
def enterRelational_op(self, ctx:ReqBlockParser.Relational_opContext):
pass
# Exit a parse tree produced by ReqBlockParser#relational_op.
def exitRelational_op(self, ctx:ReqBlockParser.Relational_opContext):
pass
# Enter a parse tree produced by ReqBlockParser#list_or.
def enterList_or(self, ctx:ReqBlockParser.List_orContext):
pass
# Exit a parse tree produced by ReqBlockParser#list_or.
def exitList_or(self, ctx:ReqBlockParser.List_orContext):
pass
# Enter a parse tree produced by ReqBlockParser#list_and.
def enterList_and(self, ctx:ReqBlockParser.List_andContext):
pass
# Exit a parse tree produced by ReqBlockParser#list_and.
def exitList_and(self, ctx:ReqBlockParser.List_andContext):
pass
del ReqBlockParser | 32.755034 | 86 | 0.739815 | 3,371 | 29,283 | 6.310294 | 0.088698 | 0.055566 | 0.09261 | 0.166698 | 0.891454 | 0.78192 | 0.78192 | 0.612871 | 0.504231 | 0.062288 | 0 | 0.000213 | 0.199399 | 29,283 | 894 | 87 | 32.755034 | 0.90714 | 0.384831 | 0 | 0.491228 | 1 | 0 | 0.000057 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.491228 | false | 0.501253 | 0.007519 | 0 | 0.501253 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 8 |
00b432ec0aa47add6330bfaa72b5c1442c931873 | 29,940 | py | Python | tests/tools/test_set_nmmpmat.py | sphuber/aiida-fleur | df33e9a7b993a52c15a747a4ff23be3e19832b8d | [
"MIT"
] | null | null | null | tests/tools/test_set_nmmpmat.py | sphuber/aiida-fleur | df33e9a7b993a52c15a747a4ff23be3e19832b8d | [
"MIT"
] | null | null | null | tests/tools/test_set_nmmpmat.py | sphuber/aiida-fleur | df33e9a7b993a52c15a747a4ff23be3e19832b8d | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
'''Contains tests for the set_nmmpmat routine used for modifying the
density matrix for LDA+U calculations.'''
from __future__ import absolute_import
import os
import pytest
import aiida_fleur
import numpy as np
aiida_path = os.path.dirname(aiida_fleur.__file__)
TEST_INP_XML_PATH = os.path.join(aiida_path, '../tests/files/inpxml/GaAsMultiForceXML/inp.xml')
TEST_NMMPMAT_PATH = os.path.join(aiida_path, '../tests/files/n_mmp_mat/n_mmp_mat_GaAsMultiForceXML')
def test_set_nmmpmat_nofile(inpxml_etree):
"""Test setting of nmmpmat with no initial nmmpmat file given"""
from aiida_fleur.tools.set_nmmpmat import set_nmmpmat
etree = inpxml_etree(TEST_INP_XML_PATH)
correct_result = [
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 1.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 2.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 3.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 4.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 5.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 1.0000000000000 0.0000000000000 -2.0000000000000',
' 0.0000000000000 3.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 4.0000000000000 0.0000000000000 -5.0000000000000',
' 0.0000000000000 6.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 7.0000000000000 0.0000000000000 -8.0000000000000',
' 0.0000000000000 9.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000'
]
nmmp_lines = None
nmmp_lines = set_nmmpmat(etree, nmmp_lines, species_name='Ga-1', orbital=2, spin=1, occStates=[1, 2, 3, 4, 5])
nmmp_lines = set_nmmpmat(etree, nmmp_lines, 'As-2', orbital=1, spin=1, denmat=[[1, -2, 3], [4, -5, 6], [7, -8, 9]])
assert len(nmmp_lines) == len(correct_result)
for index, line in enumerate(nmmp_lines):
assert line == correct_result[index]
def test_set_nmmpmat_file(inpxml_etree):
"""Test setting of nmmpmat with initial nmmpmat file given"""
from aiida_fleur.tools.set_nmmpmat import set_nmmpmat
etree = inpxml_etree(TEST_INP_XML_PATH)
correct_result = [
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.2508689292278 0.0000000000000 0.0116095434683',
' -0.0116095434683 0.0000000000000 0.0164183738259 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0116095434683 0.0116095434683 0.2508689292278',
' 0.0000000000000 -0.0116095434683 0.0116095434683 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 -0.0164183738259 -0.0116095434683',
' -0.0116095434683 0.2508689292278 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 1.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 2.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 3.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 4.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 5.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 1.9974429541760 0.0000000000000 0.0002716144685 0.0001936327585 0.0003798727702',
' -0.0000470947957 0.0003292935780 -0.0001359536491 -0.0023058909977 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0002716144685 -0.0001936327585 1.9997488451737 0.0000000000000 -0.0002134837829',
' -0.0001663889872 0.0000000000000 0.0001356608195 0.0001359536491 -0.0003292935780 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0003798727702 0.0000470947957 -0.0002134837829 0.0001663889872 1.9951370631782',
' 0.0000000000000 -0.0001663889872 -0.0002134837829 -0.0003798727702 -0.0000470947957 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0003292935780 0.0001359536491 0.0000000000000 -0.0001356608195 -0.0001663889872',
' 0.0002134837829 1.9997488451737 0.0000000000000 0.0001936327585 0.0002716144685 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 -0.0023058909977 0.0000000000000 0.0001359536491 0.0003292935780 -0.0003798727702',
' 0.0000470947957 0.0001936327585 -0.0002716144685 1.9974429541760 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 1.0000000000000 0.0000000000000 -2.0000000000000',
' 0.0000000000000 3.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 4.0000000000000 0.0000000000000 -5.0000000000000',
' 0.0000000000000 6.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 7.0000000000000 0.0000000000000 -8.0000000000000',
' 0.0000000000000 9.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000'
]
with open(TEST_NMMPMAT_PATH, mode='r') as nmmpfile:
nmmp_lines = nmmpfile.read().split('\n')
nmmp_lines = set_nmmpmat(etree, nmmp_lines, species_name='Ga-1', orbital=2, spin=1, occStates=[1, 2, 3, 4, 5])
nmmp_lines = set_nmmpmat(etree, nmmp_lines, 'As-2', orbital=1, spin=1, denmat=[[1, -2, 3], [4, -5, 6], [7, -8, 9]])
assert len(nmmp_lines) == len(correct_result)
for index, line in enumerate(nmmp_lines):
assert line == correct_result[index]
def test_set_nmmpmat_file_get_wigner_matrix(inpxml_etree):
"""Test get_wigner_matrix by calling set_nmmpmat_file with theta, or phi != None"""
from aiida_fleur.tools.set_nmmpmat import set_nmmpmat
etree = inpxml_etree(TEST_INP_XML_PATH)
correct_result = [
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.5000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.5000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 1.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.5000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.5000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 1.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 -1.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 1.0000000000000 0.0000000000000',
' 0.0000000000000 1.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
' 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000',
]
nmmp_lines = None
nmmp_lines = set_nmmpmat(etree,
nmmp_lines,
species_name='Ga-1',
orbital=1,
spin=1,
occStates=[1, 0, 1],
theta=np.pi / 2.0)
nmmp_lines = set_nmmpmat(etree,
nmmp_lines,
'As-2',
orbital=1,
spin=1,
denmat=[[1, 0, 1], [0, 0, 0], [1, 0, 1]],
phi=np.pi / 4.0,
theta=np.pi / 2.0)
assert len(nmmp_lines) == len(correct_result)
for index, line in enumerate(nmmp_lines):
#Replace minus zero with plus zero
line = line.replace('-0.0000000000000', ' 0.0000000000000')
assert line == correct_result[index]
def test_validate_nmmpmat(inpxml_etree):
"""Test validation method of nmmpmat file together with inp.xml file"""
from aiida_fleur.tools.set_nmmpmat import set_nmmpmat, validate_nmmpmat
etree = inpxml_etree(TEST_INP_XML_PATH)
with open(TEST_NMMPMAT_PATH, mode='r') as nmmpfile:
nmmp_lines_orig = nmmpfile.read().split('\n')
validate_nmmpmat(etree, nmmp_lines_orig) #should not raise
#Test number of lines error
nmmp_lines = nmmp_lines_orig
nmmp_lines.append('0.0')
with pytest.raises(ValueError):
validate_nmmpmat(etree, nmmp_lines)
nmmp_lines.remove('0.0')
#Test invalid diagonal element error
nmmp_lines = nmmp_lines_orig
nmmp_lines = set_nmmpmat(etree, nmmp_lines, species_name='Ga-1', orbital=2, spin=1, occStates=[1, 2, 3, 4, 5])
nmmp_lines = set_nmmpmat(etree, nmmp_lines, 'As-2', orbital=1, spin=1, denmat=[[1, -2, 3], [4, -5, 6], [7, -8, 9]])
with pytest.raises(ValueError):
validate_nmmpmat(etree, nmmp_lines)
#Test invalid outsied value error
nmmp_lines = nmmp_lines_orig
nmmp_lines[
0] = ' 0.0000000000000 9.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000 0.0000000000000'
with pytest.raises(ValueError):
validate_nmmpmat(etree, nmmp_lines)
| 106.928571 | 155 | 0.643955 | 2,963 | 29,940 | 6.456632 | 0.044887 | 0.799854 | 1.504469 | 1.510428 | 0.950761 | 0.925461 | 0.921855 | 0.916366 | 0.905807 | 0.882494 | 0 | 0.776464 | 0.282498 | 29,940 | 279 | 156 | 107.311828 | 0.114096 | 0.017635 | 0 | 0.795918 | 0 | 0.689796 | 0.811321 | 0.00337 | 0 | 0 | 0 | 0 | 0.02449 | 1 | 0.016327 | false | 0 | 0.036735 | 0 | 0.053061 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 15 |
00cddeef44c48660c65fbf07d8ff76ca9ef9d3be | 33,243 | py | Python | tests/mat1213.py | perfidia/regexpgen | a7139219b69127c488efffb588e7ef4177a8ec89 | [
"MIT"
] | 2 | 2017-02-02T06:04:28.000Z | 2019-04-23T07:14:58.000Z | tests/mat1213.py | perfidia/regexpgen | a7139219b69127c488efffb588e7ef4177a8ec89 | [
"MIT"
] | null | null | null | tests/mat1213.py | perfidia/regexpgen | a7139219b69127c488efffb588e7ef4177a8ec89 | [
"MIT"
] | null | null | null | '''
Created on Mar 30, 2013
@author: Bartosz Alchimowicz
'''
import unittest
import re
import regexpgen
import itertools
class Test(unittest.TestCase):
def testPhase1Stage1(self):
# 06 March 2013: nnint %d %0d %0Xd
func = regexpgen.nnint
self.assertRaises(ValueError, func, "%d", 'a', 'a')
self.assertRaises(ValueError, func, "%0d", 'b', 'b')
self.assertRaises(ValueError, func, "%03d", 'c', 'c')
self.assertRaises(ValueError, func, "%0d", 21.1, 132)
self.assertRaises(ValueError, func, "%0d", 21, 132.1)
self.assertRaises(ValueError, func, "%0d", 21.1, 132.1)
self.assertRaises(ValueError, func, "%lf")
self.assertRaises(ValueError, func, "% d")
self.assertRaises(ValueError, func, "%dddd")
self.assertRaises(ValueError, func, "")
self.assertRaises(ValueError, func, None) # ISSUE 5
self.assertRaises(ValueError, func, None, None, None) # ISSUE 5
self.assertTrue (re.match(func("%d", None), "12"))
self.assertTrue (re.match(func("%d", None, 10), "10"))
self.assertFalse(re.match(func("%d", None, 10), "11"))
self.assertFalse(re.match(func("%d", 1, None), "-1"))
self.assertFalse(re.match(func("%d", 1, None), "0"))
self.assertTrue (re.match(func("%d", 1, None), "1"))
self.assertTrue (re.match(func("%d", None, None), "0"))
self.assertFalse(re.match(func("%d", None, None), "-1"))
self.assertFalse(re.match(func("%d"), "-100"))
self.assertFalse(re.match(func("%d"), "-1"))
self.assertTrue (re.match(func("%d"), "0"))
self.assertTrue (re.match(func("%d"), "1"))
self.assertTrue (re.match(func("%d"), "100"))
self.assertTrue (re.match(func("%d", 0, 100), "0"))
self.assertTrue (re.match(func("%d", 0, 100), "1"))
self.assertTrue (re.match(func("%d", 0, 100), "50"))
self.assertTrue (re.match(func("%d", 0, 100), "99"))
self.assertTrue (re.match(func("%d", 0, 100), "100"))
self.assertTrue (re.match(func("%d", 0, 100), "00"))
self.assertTrue (re.match(func("%d", 0, 100), "01"))
self.assertTrue (re.match(func("%d", 0, 100), "050"))
self.assertTrue (re.match(func("%d", 0, 100), "099"))
self.assertTrue (re.match(func("%d", 0, 100), "0100"))
self.assertFalse(re.match(func("%d", 0, 100), "-20"))
self.assertFalse(re.match(func("%d", 0, 100), "-1"))
self.assertFalse(re.match(func("%d", 0, 100), "101"))
self.assertFalse(re.match(func("%d", 0, 100), "1010"))
self.assertTrue (re.match(func("%0d", 0, 100), "0"))
self.assertTrue (re.match(func("%0d", 0, 100), "1"))
self.assertTrue (re.match(func("%0d", 0, 100), "50"))
self.assertTrue (re.match(func("%0d", 0, 100), "99"))
self.assertTrue (re.match(func("%0d", 0, 100), "100"))
self.assertFalse(re.match(func("%0d", 0, 100), "00"))
self.assertFalse(re.match(func("%0d", 0, 100), "01"))
self.assertFalse(re.match(func("%0d", 0, 100), "050"))
self.assertFalse(re.match(func("%0d", 0, 100), "099"))
self.assertFalse(re.match(func("%0d", 0, 100), "0100"))
self.assertFalse(re.match(func("%0d", 0, 100), "-20"))
self.assertFalse(re.match(func("%0d", 0, 100), "-1"))
self.assertFalse(re.match(func("%0d", 0, 100), "101"))
self.assertFalse(re.match(func("%0d", 0, 100), "1010"))
self.assertTrue (re.match(func("%03d", 0, 100), "000"))
self.assertTrue (re.match(func("%03d", 0, 100), "001"))
self.assertTrue (re.match(func("%03d", 0, 100), "050"))
self.assertTrue (re.match(func("%03d", 0, 100), "099"))
self.assertTrue (re.match(func("%03d", 0, 100), "100"))
self.assertFalse(re.match(func("%03d", 0, 100), "0000"))
self.assertFalse(re.match(func("%03d", 0, 100), "0001"))
self.assertFalse(re.match(func("%03d", 0, 100), "00050"))
self.assertFalse(re.match(func("%03d", 0, 100), "00099"))
self.assertFalse(re.match(func("%03d", 0, 100), "00100"))
self.assertFalse(re.match(func("%03d", 0, 100), "-20"))
self.assertFalse(re.match(func("%03d", 0, 100), "-1"))
self.assertFalse(re.match(func("%03d", 0, 100), "101"))
self.assertFalse(re.match(func("%03d", 0, 100), "1010"))
self.assertTrue(func("%d", 0, 10000))
self.assertTrue(func("%d", 100, 10000))
self.assertTrue(func("%0d", 0, 10000))
self.assertTrue(func("%0d", 100, 10000))
self.assertTrue(func("%03d", 0, 10000))
self.assertTrue(func("%03d", 100, 10000))
def testPhase1Stage2(self):
# 13 March 2013: integer %d %0d %0Xd
func = regexpgen.integer
self.assertRaises(ValueError, func, "%d", 'a', 'a')
self.assertRaises(ValueError, func, "%0d", 'b', 'b')
self.assertRaises(ValueError, func, "%03d", 'c', 'c')
self.assertRaises(ValueError, func, "%0d", 21.1, 132)
self.assertRaises(ValueError, func, "%0d", 21, 132.1)
self.assertRaises(ValueError, func, "%0d", 21.1, 132.1)
self.assertRaises(ValueError, func, "%lf")
self.assertRaises(ValueError, func, "% d")
self.assertRaises(ValueError, func, "%dddd")
self.assertRaises(ValueError, func, "%ad")
self.assertRaises(ValueError, func, "")
self.assertRaises(ValueError, func, None) # ISSUE 5
self.assertRaises(ValueError, func, None, None, None) # ISSUE 5
self.assertTrue (re.match(func("%d", None), "-1"))
self.assertTrue (re.match(func("%d", None), "0"))
self.assertTrue (re.match(func("%d", None), "1"))
self.assertTrue (re.match(func("%d", None, 10), "-10"))
self.assertTrue (re.match(func("%d", None, 10), "10"))
self.assertFalse(re.match(func("%d", None, 10), "11"))
self.assertFalse(re.match(func("%d", 1, None), "0"))
self.assertTrue (re.match(func("%d", 1, None), "1"))
self.assertTrue (re.match(func("%d", 1, None), "10"))
self.assertTrue (re.match(func("%d", None, None), "-10"))
self.assertTrue (re.match(func("%d", None, None), "10"))
self.assertTrue(re.match(func("%d"), "-100"))
self.assertTrue(re.match(func("%d"), "-1"))
self.assertTrue(re.match(func("%d"), "0"))
self.assertTrue(re.match(func("%d"), "1"))
self.assertTrue(re.match(func("%d"), "100"))
self.assertTrue (re.match(func("%d", 0, 100), "0"))
self.assertTrue (re.match(func("%d", 0, 100), "1"))
self.assertTrue (re.match(func("%d", 0, 100), "50"))
self.assertTrue (re.match(func("%d", 0, 100), "99"))
self.assertTrue (re.match(func("%d", 0, 100), "100"))
self.assertTrue (re.match(func("%d", 0, 100), "00"))
self.assertTrue (re.match(func("%d", 0, 100), "01"))
self.assertTrue (re.match(func("%d", 0, 100), "050"))
self.assertTrue (re.match(func("%d", 0, 100), "099"))
self.assertTrue (re.match(func("%d", 0, 100), "0100"))
self.assertFalse(re.match(func("%d", 0, 100), "-20"))
self.assertFalse(re.match(func("%d", 0, 100), "-1"))
self.assertFalse(re.match(func("%d", 0, 100), "101"))
self.assertFalse(re.match(func("%d", 0, 100), "1010"))
self.assertTrue (re.match(func("%0d", 0, 100), "0"))
self.assertTrue (re.match(func("%0d", 0, 100), "1"))
self.assertTrue (re.match(func("%0d", 0, 100), "50"))
self.assertTrue (re.match(func("%0d", 0, 100), "99"))
self.assertTrue (re.match(func("%0d", 0, 100), "100"))
self.assertFalse(re.match(func("%0d", 0, 100), "00"))
self.assertFalse(re.match(func("%0d", 0, 100), "01"))
self.assertFalse(re.match(func("%0d", 0, 100), "050"))
self.assertFalse(re.match(func("%0d", 0, 100), "099"))
self.assertFalse(re.match(func("%0d", 0, 100), "0100"))
self.assertFalse(re.match(func("%0d", 0, 100), "-20"))
self.assertFalse(re.match(func("%0d", 0, 100), "-1"))
self.assertFalse(re.match(func("%0d", 0, 100), "101"))
self.assertFalse(re.match(func("%0d", 0, 100), "1010"))
self.assertTrue (re.match(func("%03d", 0, 100), "000"))
self.assertTrue (re.match(func("%03d", 0, 100), "001"))
self.assertTrue (re.match(func("%03d", 0, 100), "050"))
self.assertTrue (re.match(func("%03d", 0, 100), "099"))
self.assertTrue (re.match(func("%03d", 0, 100), "100"))
self.assertFalse(re.match(func("%03d", 0, 100), "0000"))
self.assertFalse(re.match(func("%03d", 0, 100), "0001"))
self.assertFalse(re.match(func("%03d", 0, 100), "00050"))
self.assertFalse(re.match(func("%03d", 0, 100), "00099"))
self.assertFalse(re.match(func("%03d", 0, 100), "00100"))
self.assertFalse(re.match(func("%03d", 0, 100), "-20"))
self.assertFalse(re.match(func("%03d", 0, 100), "-1"))
self.assertFalse(re.match(func("%03d", 0, 100), "101"))
self.assertFalse(re.match(func("%03d", 0, 100), "1010"))
self.assertTrue (re.match(func("%d", -100, 10), "0"))
self.assertTrue (re.match(func("%d", -100, 10), "1"))
self.assertFalse(re.match(func("%d", -100, 10), "50"))
self.assertFalse(re.match(func("%d", -100, 10), "99"))
self.assertFalse(re.match(func("%d", -100, 10), "100"))
self.assertTrue (re.match(func("%d", -100, 10), "00"))
self.assertTrue (re.match(func("%d", -100, 10), "01"))
self.assertFalse(re.match(func("%d", -100, 10), "050"))
self.assertFalse(re.match(func("%d", -100, 10), "099"))
self.assertFalse(re.match(func("%d", -100, 10), "0100"))
self.assertTrue (re.match(func("%d", -100, 10), "-20"))
self.assertTrue (re.match(func("%d", -100, 10), "-1"))
self.assertFalse(re.match(func("%d", -100, 10), "101"))
self.assertFalse(re.match(func("%d", -100, 10), "1010"))
self.assertTrue (re.match(func("%0d", -100, 10), "0"))
self.assertTrue (re.match(func("%0d", -100, 10), "1"))
self.assertFalse(re.match(func("%0d", -100, 10), "50"))
self.assertFalse(re.match(func("%0d", -100, 10), "99"))
self.assertFalse(re.match(func("%0d", -100, 10), "100"))
self.assertFalse(re.match(func("%0d", -100, 10), "00"))
self.assertFalse(re.match(func("%0d", -100, 10), "01"))
self.assertFalse(re.match(func("%0d", -100, 10), "050"))
self.assertFalse(re.match(func("%0d", -100, 10), "099"))
self.assertFalse(re.match(func("%0d", -100, 10), "0100"))
self.assertTrue (re.match(func("%0d", -100, 10), "-20"))
self.assertTrue (re.match(func("%0d", -100, 10), "-1"))
self.assertFalse(re.match(func("%0d", -100, 10), "101"))
self.assertFalse(re.match(func("%0d", -100, 10), "1010"))
self.assertTrue (re.match(func("%03d", -100, 10), "000"))
self.assertTrue (re.match(func("%03d", -100, 10), "001"))
self.assertTrue (re.match(func("%03d", -100, 10), "010"))
self.assertFalse(re.match(func("%03d", -100, 10), "011"))
self.assertFalse(re.match(func("%03d", -100, 10), "050"))
self.assertFalse(re.match(func("%03d", -100, 10), "099"))
self.assertFalse(re.match(func("%03d", -100, 10), "100"))
self.assertFalse(re.match(func("%03d", -100, 10), "0000"))
self.assertFalse(re.match(func("%03d", -100, 10), "0001"))
self.assertFalse(re.match(func("%03d", -100, 10), "00050"))
self.assertFalse(re.match(func("%03d", -100, 10), "00099"))
self.assertFalse(re.match(func("%03d", -100, 10), "00100"))
self.assertTrue (re.match(func("%03d", -100, 10), "-020"))
self.assertTrue (re.match(func("%03d", -100, 10), "-001"))
self.assertTrue (re.match(func("%03d", -100, 10), "-100"))
self.assertFalse(re.match(func("%03d", -100, 10), "-20"))
self.assertFalse(re.match(func("%03d", -100, 10), "-1"))
self.assertFalse(re.match(func("%03d", -100, 10), "101"))
self.assertFalse(re.match(func("%03d", -100, 10), "-101"))
self.assertFalse(re.match(func("%03d", -100, 10), "1010"))
self.assertTrue(func("%d", 0, 10000))
self.assertTrue(func("%d", 100, 10000))
self.assertTrue(func("%0d", 0, 10000))
self.assertTrue(func("%0d", 100, 10000))
self.assertTrue(func("%03d", 0, 10000))
self.assertTrue(func("%03d", 100, 10000))
self.assertTrue (re.match(func("%d", 1, 1000), "0999"))
self.assertTrue (re.match(func('%0d', 1, 1000), "999"))
self.assertTrue (re.match(func('%04d', 0, 1000), "0101"))
self.assertTrue (re.match(func("%0d", -521, 132), "-521"))
self.assertFalse(re.match(func("%d", 1, 1000), ""))
self.assertFalse(re.match(func('%0d', 1, 1000), ""))
self.assertFalse(re.match(func('%04d', 0, 1000), ""))
self.assertFalse(re.match(func("%0d", -521, 132), ""))
self.assertFalse(re.match(func("%d", 100, 120), ""))
self.assertTrue (re.match(func("%d", 100, 120), "0100"))
self.assertFalse(re.match(func("%d", -100, 120), ""))
self.assertTrue (re.match(func("%d", -16298, 11423), "-000"))
self.assertFalse(re.match(func("%0d", -16298, 11423), "-000"))
self.assertTrue (re.match(func("%04d", -16298, 11423), "0001"))
self.assertRaises(ValueError, func, "%d", -1000.3, 1000)
def testPhase1Stage3(self):
# 20 March 2013: real %lf and %0lf
func = regexpgen.real
self.assertRaises(ValueError, func, "%lf", 'a', 'a')
self.assertRaises(ValueError, func, "%lf", 10, 10)
self.assertRaises(ValueError, func, None) # ISSUE 5
self.assertRaises(ValueError, func, None, None)
self.assertRaises(ValueError, func, None, None, None) # ISSUE 5
self.assertTrue (re.match(func("%lf", None), "10.01"))
self.assertTrue (re.match(func("%lf", None), "-10.01987"))
self.assertFalse(re.match(func("%lf", None), "10.0.0"))
self.assertTrue (re.match(func("%lf", None, 13.0), "12.999"))
self.assertTrue (re.match(func("%lf", None, 13.0), "13.000"))
self.assertFalse(re.match(func("%lf", None, 13.0), "13.001"))
self.assertTrue (re.match(func("%lf", 11.999), "11.9999"))
self.assertTrue (re.match(func("%lf", 11.999, None), "11.9999"))
self.assertTrue (re.match(func("%lf", 12.0, None), "12.000"))
self.assertTrue (re.match(func("%lf", 12.0, None), "12.001"))
self.assertTrue (re.match(func("%lf", None, None), "-0000.0001"))
self.assertTrue (re.match(func("%lf", -12.7, 23.5), "-0000.0001"))
self.assertTrue (re.match(func("%lf", -100.0, 100.0), "0.0"))
self.assertTrue (re.match(func("%lf", 0.0, 10.1), "0000.0000"))
self.assertTrue (re.match(func("%lf", -0.01, 1.5), "1.5")) # ISSUE 6
self.assertFalse(re.match(func("%lf", -0.01, 1.5), "1.51"))
self.assertTrue (re.match(func("%lf", -0.01, 1.512), "1.5"))
self.assertTrue (re.match(func("%lf", -0.01, 1.512), "1.512"))
self.assertFalse(re.match(func("%lf", -0.01, 1.512), "1.5121"))
self.assertTrue (re.match(func("%lf", -0.01, 1.50), "1.5"))
self.assertTrue (re.match(func("%lf", -102.0, 100.0), "100.0"))
self.assertFalse(re.match(func("%lf", 88.7653193745, 88.920716654), "88.0"))
self.assertTrue (re.match(func("%lf", 88.7653193745, 88.920716654), "88.9")) # ISSUE 14
self.assertTrue (re.match(func("%lf", 88.7653193745, 88.920716654), "88.92")) # ISSUE 14
self.assertTrue (re.match(func("%lf", 88.7653193745, 88.920716654), "88.920")) # ISSUE 14
self.assertTrue (re.match(func("%lf", 88.7653193745, 88.920716654), "88.9207")) # ISSUE 14
self.assertTrue (re.match(func("%lf", 88.7653193745, 88.920716654), "88.92071")) # ISSUE 14
self.assertTrue (re.match(func("%lf", 88.7653193745, 88.920716654), "88.920716")) # ISSUE 14
self.assertTrue (re.match(func("%lf", 88.7653193745, 88.920716654), "88.9207166")) # ISSUE 14
self.assertTrue (re.match(func("%lf", 88.7653193745, 88.920716654), "88.92071665")) # ISSUE 14
self.assertTrue (re.match(func("%lf", 88.7653193745, 88.920716654), "88.920716654"))
self.assertTrue (re.match(func("%lf", 88.7653193745, 88.920716654), "88.9207166540"))
self.assertTrue (re.match(func("%lf", 88.7653193745, 88.920716654), "88.92071665400"))
self.assertFalse(re.match(regexpgen.real("%0lf", 0.0, 10.11), "010.11"))
def testPhase2Stage1(self):
# 27 March 2013: real %0.Ylf and %.Ylf
func = regexpgen.real
self.assertRaises(ValueError, func, "%.1lf", 'a', 'a')
self.assertRaises(ValueError, func, "%2.2lf", 'b', 'b')
self.assertRaises(ValueError, func, "%.1lf", 10, 10)
self.assertRaises(ValueError, func, "%0.2lf", 'b', 'b')
self.assertRaises(ValueError, func, "%0.2lf", 13, -13)
self.assertTrue (re.match(func("%0.2lf", -12.7, 23.5), "-9.99"))
self.assertFalse(re.match(func("%0.2lf", -12.7, 23.5), "-9.99999"))
self.assertTrue (re.match(func("%0.2lf", -12.7, 23.5), "23.10"))
self.assertTrue (re.match(func("%0.1lf", -100.0, 100.0), "-100.0"))
self.assertTrue (re.match(func("%0.1lf", -100.0, 100.0), "100.0"))
self.assertFalse(re.match(func("%0.1lf", -100.0, 100.0), "-100.00"))
self.assertFalse(re.match(func("%0.1lf", -100.0, 100.0), "100.00"))
self.assertTrue (re.match(func("%0.2lf", 0.0, 10.11), "10.11"))
self.assertFalse(re.match(func("%0.2lf", 0.0, 10.11), "10.111"))
self.assertFalse(re.match(func("%0.2lf", 0.0, 10.11), "0010.10"))
self.assertTrue (re.match(func("%.2lf"), "0.11"))
self.assertTrue (re.match(func("%.2lf"), "11111.11"))
self.assertTrue (re.match(func("%.2lf"), "-123.11"))
self.assertTrue (re.match(func("%.2lf", 0.0, 10.11), "0.11"))
self.assertTrue (re.match(func("%.2lf", 0.0, 10.11), "10.11"))
self.assertFalse(re.match(func("%.2lf", 0.0, 10.11), "10.111"))
self.assertFalse(re.match(func("%.2lf", 0.0, 10.11), "10.12"))
self.assertFalse(re.match(func("%.2lf", 0.0, 10.11), "0.111"))
self.assertFalse(re.match(func("%.2lf", 0.0, 10.11), "111.11"))
self.assertFalse(re.match(func("%.2lf", 0.0, 10.11), "-0.111"))
self.assertTrue (re.match(regexpgen.concatenate([
('int', "%d", 100, 105),
('\.',),
('int', "%d", 250, 255),
('\.',),
('int', "%d", 122, 122),
('\.',),
('int', "%d", 0, 240)
]), "100.250.122.10"))
def testPhase2Stage2(self):
# move validation to RegexBuilder
from regexpgen.builder import RegexpBuilder
r = RegexpBuilder()
self.assertRaises(ValueError, r.createIntegerRegex, "%d", 'a', 'a')
self.assertRaises(ValueError, regexpgen.nnint, 1111) # ISSUE 12
self.assertRaises(ValueError, regexpgen.integer, 1111) # ISSUE 12
self.assertRaises(ValueError, regexpgen.real, 1111) # ISSUE 12
self.assertFalse(re.match(regexpgen.real("%lf"), "000-22.0")) # ISSUE 13
# 03 April 2013: real %X.Ylf
func = regexpgen.real
self.assertRaises(ValueError, func, "%2.2lf", 13, -13)
self.assertRaises(ValueError, func, "%2.2lf", None, -13)
self.assertRaises(ValueError, func, "%2.2lf", 13, None)
self.assertTrue (re.match(func("%2.2lf", 0.0, 10.11), "10.11"))
self.assertTrue (re.match(func("%2.2lf", 0.0, 10.11), "00010.11"))
self.assertFalse(re.match(func("%0lf", 0.0, 10.11), "00010.11"))
self.assertTrue (re.match(func("%0lf", 0.0, 10.11), "10.110"))
self.assertFalse(re.match(func("%0lf", 0.0, 10.11), "10.110001"))
def testPhase2Stage3(self):
# 10 April 2013: real %0X.Ylf
func = regexpgen.real
self.assertTrue (re.match(func("%06.3lf", 5.456, 98.123), "05.456"))
self.assertFalse (re.match(func("%06.3lf", 5.456, 98.123), "5.456"))
self.assertTrue (re.match(func("%05.2lf", 0.0, 10.11), "10.00"))
self.assertTrue (re.match(func("%05.2lf", 0.0, 10.11), "10.11"))
self.assertRaises(ValueError, func, "%02.2lf", 0.0, 10.11)
self.assertTrue (re.match(func("%010.2lf", 0.0, 100.11), "0000010.00"))
self.assertRaises(ValueError, func, "%00.2lf")
self.assertTrue (re.match(func("%010.2lf"), "0000010.00"))
self.assertFalse (re.match(func("%010.2lf"), "11.6"))
self.assertFalse (re.match(func("%012.10lf"), "1.6"))
self.assertTrue (re.match(func("%016.10lf"), "00001.0123456789"))
self.assertTrue (re.match(func("%016.10lf"), "15600001.0123456789"))
self.assertFalse (re.match(func("%016.10lf"), "15600001.0123456"))
self.assertTrue (re.match(func("%016.10lf", 10.0, 20.0), "00015.0123456789"))
self.assertFalse (re.match(func("%016.10lf", 10.0, 20.0), "000015.0123456789"))
def testPhase3Stage1(self):
# 18 April 2013: time
func = regexpgen.time
self.assertRaises(ValueError, func, None)
self.assertRaises(ValueError, func, None, None)
self.assertRaises(ValueError, func, None, None, None)
self.assertFalse (re.match(func("%H:%M"), "24:23"))
self.assertRaises(ValueError, func, "%H:%M", "12:24", "24:59")
self.assertRaises(ValueError, func, "%H:%M", "-00:24", "12:59")
self.assertRaises(ValueError, func, "%H:%M", "adsfa", "14:59")
self.assertRaises(ValueError, func, "%I:%M", "1:12", "11:59")
self.assertRaises(ValueError, func, "%I?%M?%p", "12:24am", "5:59 pm")
self.assertFalse (re.match(func("%I %M %p", "01 24 pm", "05 59 pm"), "01 23 pm"))
self.assertTrue (re.match(func("%I %M %p", "01 24 pm", "05 59 pm"), "01 24 pm"))
self.assertTrue (re.match(func("%I %M %p", "01 24 pm", "05 59 pm"), "02 19 pm"))
self.assertFalse (re.match(func("%I %M %p", "01 24 pm", "05 59 pm"), "02 99 pm"))
self.assertTrue (re.match(func("%I %M %p", "01 24 pm", "05 59 pm"), "05 59 pm"))
self.assertFalse (re.match(func("%I %M %p", "01 24 pm", "05 59 pm"), "06 00 pm"))
self.assertFalse (re.match(func("%I %M %p", "01 24 pm", "05 59 pm"), "01 50 am"))
self.assertFalse (re.match(func("%H:%M", "12:24", "17:59"), "12:23"))
self.assertTrue (re.match(func("%H:%M", "12:24", "17:59"), "12:24"))
self.assertTrue (re.match(func("%H:%M", "12:24", "17:59"), "17:59"))
self.assertTrue (re.match(func("%H:%M", "12:24", "17:59"), "12:24"))
self.assertFalse (re.match(func("%H:%M", "12:24", "17:59"), "18:00"))
self.assertTrue (re.match(func("%H:%M", maxV="17:59"), "00:00"))
self.assertTrue (re.match(func("%H:%M", maxV="17:59"), "12:00"))
self.assertFalse (re.match(func("%H[%M]%S", "12[24]12", "17[59]25"), "12[24]11"))
self.assertTrue (re.match(func("%H[%M]%S", "12[24]12", "17[59]25"), "12[24]12"))
self.assertTrue (re.match(func("%H[%M]%S", "12[24]12", "17[59]25"), "17[59]25"))
self.assertTrue (re.match(func("%H[%M]%S", "12[24]12", "17[59]25"), "12[24]12"))
self.assertFalse (re.match(func("%H[%M]%S", "12[24]12", "17[59]25"), "17[59]26"))
h = func("%H")
for i in xrange(0, 24):
self.assertTrue (re.match(h, "%02d" % i))
self.assertFalse (re.match(h, ""))
self.assertFalse (re.match(h, "25"))
m = func("%M")
for i in xrange(0, 60):
self.assertTrue (re.match(m, "%02d" % i))
s = func("%S")
for i in xrange(0, 60):
self.assertTrue (re.match(s, "%02d" % i))
self.assertFalse (re.match(h, "a"))
self.assertFalse (re.match(m, "b"))
self.assertFalse (re.match(s, "c"))
self.assertFalse (re.match(h, "-1"))
self.assertFalse (re.match(m, "-2"))
self.assertFalse (re.match(s, "3-"))
hm = func("%H{}%M")
for i in itertools.product(range(0, 24), range(0, 60)):
self.assertTrue (re.match(hm, "%02d{}%02d" % i))
self.assertFalse (re.match(hm, "24{}60"))
hm = func("%H{}%Mpp%S")
for i in itertools.product(range(0, 24), range(0, 60), range(0, 60)):
self.assertTrue (re.match(hm, "%02d{}%02dpp%02d" % i))
self.assertFalse (re.match(hm, "24{}60456789"))
def testPhase3Stage2(self):
def gen_date(from_Y = 1970, from_m = 1, from_d = 1):
Y = from_Y
for m in xrange(from_m, 13):
if m == 2:
if (Y % 4 == 0 and Y % 100 != 0) or (Y % 400 == 0):
if Y == from_Y and m == from_m:
for d in xrange(from_d, 30):
yield (Y, m, d)
else:
for d in xrange(1, 30):
yield (Y, m, d)
else:
if Y == from_Y and m == from_m:
for d in xrange(from_d, 29):
yield (Y, m, d)
else:
for d in xrange(1, 29):
yield (Y, m, d)
elif m in [1, 3, 5, 7, 8, 10, 12]:
if Y == from_Y and m == from_m:
for d in xrange(from_d, 32):
yield (Y, m, d)
else:
for d in xrange(1, 32):
yield (Y, m, d)
else:
if Y == from_Y and m == from_m:
for d in xrange(from_d, 31):
yield (Y, m, d)
else:
for d in xrange(1, 31):
yield (Y, m, d)
for Y, m in itertools.product(xrange(from_Y + 1, 2100), xrange(1, 13)):
if m == 2:
if (Y % 4 == 0 and Y % 100 != 0) or (Y % 400 == 0):
for d in xrange(1, 30):
yield (Y, m, d)
else:
for d in xrange(1, 29):
yield (Y, m, d)
elif m in [1, 3, 5, 7, 8, 10, 12]:
for d in xrange(1, 32):
yield (Y, m, d)
else:
for d in xrange(1, 31):
yield (Y, m, d)
# 24 April 2013: date
func = regexpgen.date
self.assertRaises(ValueError, func, None)
self.assertRaises(ValueError, func, None, None)
self.assertRaises(ValueError, func, None, None, None)
y = func("%Y")
for i in xrange(1970, 2100):
self.assertTrue (re.match(y, "%d" % i))
for i in [1, 12, 999, 1410, 1969, 2100, 2101]:
self.assertFalse (re.match(y, "%d" % i))
for i in ['', 'a']:
self.assertFalse (re.match(y, "%s" % i))
d = func("%d")
for i in xrange(1, 32):
self.assertTrue (re.match(d, "%02d" % i))
for i in [-1, 0, 32, 100]:
self.assertFalse (re.match(d, "%02d" % i))
for i in ['', 'a']:
self.assertFalse (re.match(d, "%s" % i))
m = func("%m")
for i in xrange(1, 13):
self.assertTrue (re.match(m, "%02d" % i))
for i in [-1, 0, 13, 14, 100]:
self.assertFalse (re.match(m, "%02d" % i))
for i in ['', 'm']:
self.assertFalse (re.match(m, "%s" % i))
self.assertFalse(re.match(func("%Y-%m-%d"), "%04d-%02d-%s" % (2010, 1, '--')))
self.assertFalse(re.match(func("%y-%m-%d"), "%02d-%02d-%s" % (10, 1, '-')))
###########
conf = [
(func("%Y-%m-%d"), func("%y-%m-%d"), "%04d-%02d-%02d", "%02d-%02d-%02d"),
(func("%Y+%m+%d"), func("%y+%m+%d"), "%04d+%02d+%02d", "%02d+%02d+%02d"),
(func("%Y %m %d"), func("%y %m %d"), "%04d %02d %02d", "%02d %02d %02d"),
(func("%Y la %m ka %d"), func("%y la %m ka %d"), "%04d la %02d ka %02d", "%02d la %02d ka %02d"),
]
for regexp_Ymd, regexp_ymd, fmt_Ymd, fmt_ymd in conf:
for Y, m in itertools.product(xrange(1970, 2100), xrange(1, 13)):
#print "(%4d, %02d, %02d)" % (Y, m, 0), y
y = Y - 2000 if Y >= 2000 else None
self.assertFalse(re.match(regexp_ymd, fmt_Ymd % (Y, m, 0))) # ISSUE #21
if m == 2:
if (Y % 4 == 0 and Y % 100 != 0) or (Y % 400 == 0):
for d in xrange(1, 30):
#print "(%4d, %02d, %02d)" % (Y, m, d), y
self.assertTrue(re.match(regexp_Ymd, fmt_Ymd % (Y, m, d)))
if y: self.assertTrue(re.match(regexp_ymd, fmt_ymd % (y, m, d))) # ISSUE 22
self.assertFalse(re.match(regexp_Ymd, fmt_Ymd % (Y, m, 31)))
if y: self.assertFalse(re.match(regexp_ymd, fmt_ymd % (y, m, 31))) # ISSUE 22
else:
for d in xrange(1, 29):
#print "(%4d, %02d, %02d)" % (Y, m, d), y
self.assertTrue(re.match(regexp_Ymd, fmt_Ymd % (Y, m, d)))
if y: self.assertTrue(re.match(regexp_ymd, fmt_ymd % (y, m, d))) # ISSUE 22
self.assertFalse(re.match(regexp_Ymd, fmt_Ymd % (Y, m, 29)))
self.assertFalse(re.match(regexp_Ymd, fmt_Ymd % (Y, m, 30)))
if y: self.assertFalse(re.match(regexp_ymd, fmt_ymd % (y, m, 29)))
if y: self.assertFalse(re.match(regexp_ymd, fmt_ymd % (y, m, 30)))
elif m in [1, 3, 5, 7, 8, 10, 12]:
for d in xrange(1, 32):
# (1971, 01, 31), (1971, 03, 31), (1971, 05, 31),
# (1971, 07, 31), (1971, 8, 31), (1971, 10, 31),
# (1971, 12, 31) - ISSUE #19
#print "(%4d, %02d, %02d)" % (Y, m, d), y
self.assertTrue(re.match(regexp_Ymd, fmt_Ymd % (Y, m, d)))
if y: self.assertTrue(re.match(regexp_ymd, fmt_ymd % (y, m, d))) # ISSUE 22
else:
for d in xrange(1, 31):
#print "(%4d, %02d, %02d)" % (Y, m, d), y
self.assertTrue(re.match(regexp_Ymd, fmt_Ymd % (Y, m, d)))
if y: self.assertTrue(re.match(regexp_ymd, fmt_ymd % (y, m, d))) # ISSUE 22
self.assertFalse(re.match(regexp_Ymd, fmt_Ymd % (Y, m, 31)))
if y: self.assertFalse(re.match(regexp_ymd, fmt_ymd % (y, m, 31)))
self.assertFalse(re.match(regexp_Ymd, fmt_Ymd % (Y, m, 32)))
if y: self.assertFalse(re.match(regexp_ymd, fmt_ymd % (y, m, 32)))
self.assertFalse(re.match(regexp_Ymd, fmt_Ymd % (2100, 1, 31)))
self.assertFalse(re.match(regexp_ymd, fmt_ymd % (100, 1, 31)))
##########
conf = [
(func("%m-%Y-%d"), func("%m-%y-%d"), "%02d-%04d-%02d", "%02d-%02d-%02d"),
(func("%m+%Y+%d"), func("%m+%y+%d"), "%02d+%04d+%02d", "%02d+%02d+%02d"),
(func("%m %Y %d"), func("%m %y %d"), "%02d %04d %02d", "%02d %02d %02d"),
(func("%m la %Y ka %d"), func("%m la %y ka %d"), "%02d la %04d ka %02d", "%02d la %02d ka %02d"),
]
for regexp_Ymd, regexp_ymd, fmt_Ymd, fmt_ymd in conf:
for Y, m in itertools.product(xrange(1970, 2100), xrange(1, 13)):
#print "(%4d, %02d, %02d)" % (Y, m, 0), y
y = Y - 2000 if Y >= 2000 else None
self.assertFalse(re.match(regexp_ymd, fmt_Ymd % (m, Y, 0))) # ISSUE #21
if m == 2:
if (Y % 4 == 0 and Y % 100 != 0) or (Y % 400 == 0):
for d in xrange(1, 30):
#print "(%4d, %02d, %02d)" % (Y, m, d), y
self.assertTrue(re.match(regexp_Ymd, fmt_Ymd % (m, Y, d)))
if y: self.assertTrue(re.match(regexp_ymd, fmt_ymd % (m, y, d))) # ISSUE 22
self.assertFalse(re.match(regexp_Ymd, fmt_Ymd % (m, Y, 31)))
if y: self.assertFalse(re.match(regexp_ymd, fmt_ymd % (m, y, 31))) # ISSUE 22
else:
for d in xrange(1, 29):
#print "(%4d, %02d, %02d)" % (Y, m, d), y
self.assertTrue(re.match(regexp_Ymd, fmt_Ymd % (m, Y, d)))
if y: self.assertTrue(re.match(regexp_ymd, fmt_ymd % (m, y, d))) # ISSUE 22
self.assertFalse(re.match(regexp_Ymd, fmt_Ymd % (m, Y, 29)))
self.assertFalse(re.match(regexp_Ymd, fmt_Ymd % (m, Y, 30)))
if y: self.assertFalse(re.match(regexp_ymd, fmt_ymd % (m, y, 29)))
if y: self.assertFalse(re.match(regexp_ymd, fmt_ymd % (m, y, 30)))
elif m in [1, 3, 5, 7, 8, 10, 12]:
for d in xrange(1, 32):
# (1971, 01, 31), (1971, 03, 31), (1971, 05, 31),
# (1971, 07, 31), (1971, 8, 31), (1971, 10, 31),
# (1971, 12, 31) - ISSUE #19
#print "(%4d, %02d, %02d)" % (Y, m, d), y
self.assertTrue(re.match(regexp_Ymd, fmt_Ymd % (m, Y, d)))
if y: self.assertTrue(re.match(regexp_ymd, fmt_ymd % (m, y, d))) # ISSUE 22
else:
for d in xrange(1, 31):
#print "(%4d, %02d, %02d)" % (Y, m, d), y
self.assertTrue(re.match(regexp_Ymd, fmt_Ymd % (m, Y, d)))
if y: self.assertTrue(re.match(regexp_ymd, fmt_ymd % (m, y, d))) # ISSUE 22
self.assertFalse(re.match(regexp_Ymd, fmt_Ymd % (m, Y, 31)))
if y: self.assertFalse(re.match(regexp_ymd, fmt_ymd % (m, y, 31)))
self.assertFalse(re.match(regexp_Ymd, fmt_Ymd % (m, Y, 32)))
if y: self.assertFalse(re.match(regexp_ymd, fmt_ymd % (m, y, 32)))
self.assertFalse(re.match(regexp_Ymd, fmt_Ymd % (1, 2100, 31)))
self.assertFalse(re.match(regexp_ymd, fmt_ymd % (1, 100, 31)))
##############
regexp_Ym = func("%Y-%m")
fmt_Ym = "%04d-%02d"
self.assertFalse(re.match(regexp_Ym, fmt_Ym % (1969, 1)))
self.assertFalse(re.match(regexp_Ym, fmt_Ym % (1970, 0)))
self.assertFalse(re.match(regexp_Ym, fmt_Ym % (1970, 13)))
for Y, m in itertools.product(xrange(1970, 2100), xrange(1, 13)):
self.assertTrue(re.match(regexp_Ym, fmt_Ym % (Y, m)))
self.assertFalse(re.match(regexp_Ym, fmt_Ym % (2100, 1)))
self.assertFalse(re.match(regexp_Ym, fmt_Ym % (2100, 0)))
self.assertFalse(re.match(regexp_Ym, fmt_Ym % (2100, 13)))
# range
for i in xrange(1970, 2100):
for j in xrange(i, 2100):
regexp = func("%Y", str(i), str(j))
self.assertFalse(re.match(regexp, "0"))
for k in xrange(i, j):
self.assertTrue(re.match(regexp, str(k)))
self.assertFalse(re.match(regexp, str(j + 1)))
for i in xrange(1, 13):
for j in xrange(i, 13):
regexp = func("%m", "%02d" % i, "%02d" % j)
self.assertFalse(re.match(regexp, "00"))
for k in xrange(i, j):
self.assertTrue(re.match(regexp, "%02d" % k))
self.assertFalse(re.match(regexp, "%02d" % (j + 1)))
for i in xrange(1, 32):
for j in xrange(i, 32):
regexp = func("%d", "%02d" % i, "%02d" % j)
self.assertFalse(re.match(regexp, "00"))
for k in xrange(i, j):
self.assertTrue(re.match(regexp, "%02d" % k))
self.assertFalse(re.match(regexp, "%02d" % (j + 1)))
def testPhase3Stage3(self):
# 8 May 2013: auto-detection, concatenate
# concatenate
self.assertTrue (re.match(regexpgen.concatenate([
('int', "%d", 100, 105),
('\.',),
('int', "%d", 250, 255),
('\.',),
('int', "%d", 122, 122),
('\.',),
('int', "%d", 0, 240)
]), "100.250.122.10"))
self.assertFalse(re.match(regexpgen.concatenate([
('int', "%d", 100, 105),
('\.',),
('int', "%d", 250, 255),
('\.',),
('int', "%d", 122, 122),
('\.',),
('int', "%d", 0, 240)
]), "99.250.122.10"))
self.assertTrue(re.match(regexpgen.concatenate([
('int', "%04d", 99, 105),
('\.',),
('int', "%d", 250, 255),
('\.',),
('int', "%d", 122, 122),
('\.',),
('int', "%d", 0, 240)
]), "0099.250.122.10"))
self.assertFalse(re.match(regexpgen.concatenate([
('int', "%04d", 99, 105),
('\.',),
('int', "%d", 250, 255),
('\.',),
('int', "%d", 122, 122),
('\.',),
('int', "%d", 0, 240)
]), "99.250.122.10"))
# auto
self.assertTrue (re.match(regexpgen.auto("%d", 1, None), "1"))
self.assertTrue (re.match(regexpgen.auto("%03d", 0, 100), "099"))
self.assertFalse (re.match(regexpgen.auto("%lf", -0.01, 1.5), "1.51"))
self.assertFalse (re.match(regexpgen.auto("%0.1lf", -100.0, 100.0), "-100.00"))
self.assertTrue (re.match(regexpgen.auto("%016.10lf"), "15600001.0123456789"))
self.assertFalse (re.match(regexpgen.auto("%H:%M"), "24:23"))
self.assertRaises(ValueError, regexpgen.auto, "%I?%M?%p", "12:24am", "5:59 pm")
if __name__ == "__main__":
#import sys;sys.argv = ['', 'Test.testName']
unittest.main()
| 41.973485 | 101 | 0.588334 | 5,288 | 33,243 | 3.673033 | 0.045197 | 0.130824 | 0.151779 | 0.209545 | 0.917881 | 0.894301 | 0.853988 | 0.787623 | 0.68769 | 0.645009 | 0 | 0.142826 | 0.161538 | 33,243 | 791 | 102 | 42.026549 | 0.554013 | 0.040279 | 0 | 0.494327 | 0 | 0 | 0.111929 | 0 | 0 | 0 | 0 | 0 | 0.700162 | 1 | 0.016207 | false | 0 | 0.008104 | 0 | 0.025932 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
00ce34d3fb345b644dff48fde2720a465e8b9097 | 569 | py | Python | tests/algorithms/quick_select_test.py | TylerYep/workshop | 69b19afc81c1b84b7f60723077670fb789b55744 | [
"MIT"
] | 1 | 2021-06-14T01:20:09.000Z | 2021-06-14T01:20:09.000Z | tests/algorithms/quick_select_test.py | TylerYep/workshop | 69b19afc81c1b84b7f60723077670fb789b55744 | [
"MIT"
] | null | null | null | tests/algorithms/quick_select_test.py | TylerYep/workshop | 69b19afc81c1b84b7f60723077670fb789b55744 | [
"MIT"
] | null | null | null | from cs.algorithms import quick_select
def test_quick_select() -> None:
assert quick_select([2, 4, 5, 7, 899, 54, 32], 5) == 54
assert quick_select([2, 4, 5, 7, 899, 54, 32], 1) == 4
assert quick_select([5, 4, 3, 2], 2) == 4
assert quick_select([3, 5, 7, 10, 2, 12], 3) == 7
assert quick_select([2, 1, 3, 4, 5], 2) == 3
assert quick_select([2, 1, 3, 4, 5], 0) == 1
assert quick_select([2, 1, 3, 4, 5], 4) == 5
assert quick_select([3, 2, 5, 6, 7, 8], 1) == 3
assert quick_select([25, 21, 98, 100, 76, 22, 43, 60, 89, 87], 3) == 43
| 37.933333 | 75 | 0.55536 | 111 | 569 | 2.738739 | 0.306306 | 0.398026 | 0.503289 | 0.296053 | 0.401316 | 0.401316 | 0.401316 | 0.401316 | 0.184211 | 0.184211 | 0 | 0.222738 | 0.242531 | 569 | 14 | 76 | 40.642857 | 0.482599 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.818182 | 1 | 0.090909 | true | 0 | 0.090909 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
00d0e783183b3a094dfecbe633b06bfa3b851444 | 9,100 | py | Python | src/markov.py | belerico/spqrisiko-abm | f586b687f99a3195a0b4bef0bb001c318f764255 | [
"Apache-2.0"
] | null | null | null | src/markov.py | belerico/spqrisiko-abm | f586b687f99a3195a0b4bef0bb001c318f764255 | [
"Apache-2.0"
] | 1 | 2021-04-30T22:08:14.000Z | 2021-04-30T22:08:14.000Z | src/markov.py | belerico/spqrisiko-abm | f586b687f99a3195a0b4bef0bb001c318f764255 | [
"Apache-2.0"
] | null | null | null | import os
import copy
import numpy
import pickle
from pandas import pandas
# Main reference: https://pdfs.semanticscholar.org/0146/d0d16ea44624c48e4cd7afd1646ed4e90c3d.pdf
""" Let p_ijk be the probability that the defender loses k armies throwing j dice with the attacker
throwing i dice.
The probs dict contains all those probabilities, so for example probs['11'][0] = 21/36 is the
probability that the defender loses 0 armies throwing 1 dice with the attacker throwing 1 dice """
probs = {
'11': [21/36, 5/12],
'12': [161/216, 55/216],
'13': [1071/1296, 225/1296],
'21': [91/216, 125/216],
'22': [581/1296, 35/108, 295/1296],
'23': [4816/7776, 1981/7776, 979/7776],
'31': [441/1296, 855/1296],
'32': [2275/7776, 2611/7776, 2890/7776],
'33': [17871/46656, 12348/46656, 10017/46656, 6420/46656]
}
def get_probabilities_combact_by_sea(A: int, D: int):
# A is the initial number of attacker's armies, while D is the defender's ones
""" Compute the absorbing and transient states.
In our case the absorbing states are all those states with a < d, where a and d represent
the actual attacker and defender armies during a battle respectively """
absorbing_states = []
transient_states = []
for a in range(0, A+1):
for d in range(0, D+1):
if a == 0 or d == 0:
absorbing_states.append((a,d))
else:
transient_states.append((a,d))
# Delete the (0,0) state
del absorbing_states[0]
""" Q = matrix of ordered transient states
R = matrix of ordered absorbing states """
Q = pandas.DataFrame(
0,
columns=transient_states,
index=pandas.MultiIndex.from_tuples(transient_states)
)
R = pandas.DataFrame(
0,
columns=absorbing_states,
index=pandas.MultiIndex.from_tuples(transient_states)
)
# Filling those matrices with the precomputed porbabilities
for a in range(1, A+1):
for d in range(1, D+1):
atta_dice = min(3,a)
defe_dice = min(3,d)
min_dice = min(atta_dice, defe_dice)
for k, prob in enumerate(probs[str(atta_dice) + '' + str(defe_dice)]):
try:
Q.loc[(a,d), (a-min_dice+k, d-k)] = prob
except KeyError:
R.loc[(a,d), (a-min_dice+k, d-k)] = prob
""" Remove all those absorbing states that contains only Oes, since they don't add
information for the final computation """
# R = R.loc[:, (R != 0).any(axis=0)]
# absorbing_states = [state for state in absorbing_states if state in R.columns.tolist()]
""" idx_col = 0
for a in range(1, A+1):
for d in range(a+1, D+1):
state = (a,d)
Q.drop(state, axis=0, inplace=True)
R.drop(state, axis=0, inplace=True)
if not R[state].isna().all():
col_to_move = Q[state]
Q.drop(state, axis=1, inplace=True)
R.insert(loc=idx_col, column=state, value=col_to_move)
idx_col += 1
else:
Q.drop(state, axis=1, inplace=True)
idx_col = 0
for state in Q.columns[~Q.isna().all()].tolist():
if state[0] < state[1]:
col_to_move = Q[state]
Q.drop(state, axis=0, inplace=True)
Q.drop(state, axis=1, inplace=True)
R.drop(state, axis=0, inplace=True)
R.insert(loc=idx_col, column=state, value=col_to_move)
idx_col += 1 """
# Theoretical computation: see the main reference
Q_mat = numpy.asmatrix(Q.to_numpy(), dtype=float)
R_mat = numpy.asmatrix(R.to_numpy(), dtype=float)
I_mat = numpy.eye(N=Q_mat.shape[0], M=Q_mat.shape[1])
F_mat = numpy.linalg.inv(I_mat - Q_mat) * R_mat
probs_atta_wins = F_mat[:, range(D, A+D)]\
.sum(axis=1)\
.reshape((1, F_mat.shape[0]))\
.tolist()[0]
# F = pandas.DataFrame(
# F_mat,
# columns=absorbing_states,
# index=pandas.MultiIndex.from_tuples(transient_states)
# )
atta_wins = numpy.zeros((A,D))
idx_probs_atta_wins = 0
for a in range(1, A+1):
for d in range(1, D+1):
atta_wins[a-1, d-1] = probs_atta_wins[idx_probs_atta_wins]
idx_probs_atta_wins += 1
return atta_wins
def get_probabilities_ground_combact(A: int, D: int):
# A is the initial number of attacker's armies, while D is the defender's ones
""" Compute the absorbing and transient states.
In our case the absorbing states are all those states with a < d, where a and d represent
the actual attacker and defender armies during a battle respectively """
absorbing_states = []
transient_states = []
idx_col = 0
for a in range(0, A+1):
for d in range(0, D+1):
atta_dice = min(3,a)
defe_dice = min(3,d)
if atta_dice >= defe_dice and a > 0 and d > 0:
transient_states.append((a,d))
else:
if a < d and a > 0 and d > 0:
absorbing_states.append((a,d))
else:
absorbing_states[idx_col:idx_col] = [(a,d)]
idx_col += 1
# Delete the (0,0) state
del absorbing_states[0]
""" Q = matrix of ordered transient states
R = matrix of ordered absorbing states """
Q = pandas.DataFrame(
0,
columns=transient_states,
index=pandas.MultiIndex.from_tuples(transient_states)
)
R = pandas.DataFrame(
0,
columns=absorbing_states,
index=pandas.MultiIndex.from_tuples(transient_states)
)
# Filling those matrices with the precomputed porbabilities
for a in range(1, A+1):
for d in range(1, D+1):
atta_dice = min(3,a)
defe_dice = min(3,d)
if atta_dice >= defe_dice:
min_dice = min(atta_dice, defe_dice)
for k, prob in enumerate(probs[str(atta_dice) + '' + str(defe_dice)]):
try:
Q.loc[(a,d), (a-min_dice+k, d-k)] = prob
except KeyError:
R.loc[(a,d), (a-min_dice+k, d-k)] = prob
""" Remove all those absorbing states that contains only Oes, since they don't add
information for the final computation """
# R = R.loc[:, (R != 0).any(axis=0)]
# absorbing_states = [state for state in absorbing_states if state in R.columns.tolist()]
""" idx_col = 0
for a in range(1, A+1):
for d in range(a+1, D+1):
state = (a,d)
Q.drop(state, axis=0, inplace=True)
R.drop(state, axis=0, inplace=True)
if not R[state].isna().all():
col_to_move = Q[state]
Q.drop(state, axis=1, inplace=True)
R.insert(loc=idx_col, column=state, value=col_to_move)
idx_col += 1
else:
Q.drop(state, axis=1, inplace=True)
idx_col = 0
for state in Q.columns[~Q.isna().all()].tolist():
if state[0] < state[1]:
col_to_move = Q[state]
Q.drop(state, axis=0, inplace=True)
Q.drop(state, axis=1, inplace=True)
R.drop(state, axis=0, inplace=True)
R.insert(loc=idx_col, column=state, value=col_to_move)
idx_col += 1 """
# Theoretical computation: see the main reference
Q_mat = numpy.asmatrix(Q.to_numpy(), dtype=float)
R_mat = numpy.asmatrix(R.to_numpy(), dtype=float)
I_mat = numpy.eye(N=Q_mat.shape[0], M=Q_mat.shape[1])
F_mat = numpy.linalg.inv(I_mat - Q_mat) * R_mat
probs_atta_wins = F_mat[:, range(D, A+D)]\
.sum(axis=1)\
.reshape((1, F_mat.shape[0]))\
.tolist()[0]
# F = pandas.DataFrame(
# F_mat,
# columns=absorbing_states,
# index=pandas.MultiIndex.from_tuples(transient_states)
# )
atta_wins = numpy.zeros((A,D))
idx_probs_atta_wins = 0
for a in range(1, A+1):
for d in range(1, D+1):
atta_dice = min(3,a)
defe_dice = min(3,d)
if atta_dice >= defe_dice:
atta_wins[a-1, d-1] = probs_atta_wins[idx_probs_atta_wins]
idx_probs_atta_wins += 1
return atta_wins
if __name__ == "__main__":
atta_wins_combact_by_sea = get_probabilities_combact_by_sea(150, 150)
atta_wins_combact = get_probabilities_ground_combact(150, 150)
if not os.path.exists('spqrisiko-abm/matrices'):
os.makedirs('spqrisiko-abm/matrices')
with open('spqrisiko-abm/matrices/atta_wins_combact_by_sea.pkl', 'wb') as f:
pickle.dump(atta_wins_combact_by_sea, f)
with open('spqrisiko-abm/matrices/atta_wins_combact.pkl', 'wb') as f:
pickle.dump(atta_wins_combact, f) | 36.693548 | 100 | 0.568681 | 1,310 | 9,100 | 3.80229 | 0.152672 | 0.035334 | 0.036539 | 0.028107 | 0.866292 | 0.828147 | 0.810881 | 0.809476 | 0.780566 | 0.767316 | 0 | 0.053531 | 0.312308 | 9,100 | 248 | 101 | 36.693548 | 0.74241 | 0.158462 | 0 | 0.706349 | 0 | 0 | 0.033124 | 0.027244 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015873 | false | 0 | 0.039683 | 0 | 0.071429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
97865a34844f71c67aed2b3d09577a253dce8aa9 | 17,749 | py | Python | source/EADtoSpreadsheet/func/unitdate.py | gwiedeman/eadmachine | f6c0c0f92fc20ab6dcf4962fda827b7adb4749d4 | [
"Unlicense"
] | 5 | 2016-01-25T15:27:12.000Z | 2021-08-17T22:31:48.000Z | source/EADtoSpreadsheet/func/unitdate.py | gwiedeman/eadmachine | f6c0c0f92fc20ab6dcf4962fda827b7adb4749d4 | [
"Unlicense"
] | null | null | null | source/EADtoSpreadsheet/func/unitdate.py | gwiedeman/eadmachine | f6c0c0f92fc20ab6dcf4962fda827b7adb4749d4 | [
"Unlicense"
] | null | null | null | #Module for <unitdate> both within the collection-level <did> and within lower components
def unitdate(did_root, CSheet, level, version):
if level == "collection":
# collection-level unitdate
Inclusive = "DateInclusive"
InclusiveNormal = "DateInclusiveNormal"
Bulk = "DateBulk"
BulkNormal = "DateBulkNormal"
elif level == "series":
# series-level unitdate
Inclusive = "SeriesDate"
InclusiveNormal = "SeriesDateNormal"
Bulk = "SeriesBulkDate"
BulkNormal = "SeriesBulkDateNormal"
if version == "ead2002":
if did_root.find('unittitle/unitdate') is None:
if did_root.find('unitdate') is None:
date_root = did_root
else:
date_root = did_root
else:
date_root = did_root.find('unittitle')
if date_root.find("unitdate[@type='bulk']") is None:
if date_root.find("unitdate[@type='inclusive']") is None:
if date_root.find("unitdate") is None:
pass
else:
CSheet.find(Inclusive).text = date_root.find('unitdate').text
if 'normal' in date_root.find('unitdate').attrib:
CSheet.find(InclusiveNormal).text = date_root.find('unitdate').attrib['normal']
else:
CSheet.find(Inclusive).text = date_root.find("unitdate[@type='inclusive']").text
if 'normal' in date_root.find("unitdate[@type='inclusive']").attrib:
CSheet.find(InclusiveNormal).text = date_root.find("unitdate[@type='inclusive']").attrib['normal']
else:
CSheet.find(Bulk).text = date_root.find("unitdate[@type='bulk']").text
if 'normal' in date_root.find("unitdate[@type='bulk']").attrib:
CSheet.find(BulkNormal).text = date_root.find("unitdate[@type='bulk']").attrib['normal']
if date_root.find("unitdate[@type='inclusive']") is None:
pass
else:
CSheet.find(Inclusive).text = date_root.find("unitdate[@type='inclusive']").text
if 'normal' in date_root.find("unitdate[@type='inclusive']").attrib:
CSheet.find(InclusiveNormal).text = date_root.find("unitdate[@type='inclusive']").attrib['normal']
else:
#EAD3
if did_root.find('unitdatestructured') is None:
if did_root.find('unitdate') is None:
pass
else:
if did_root.find("unitdate[@type='bulk']") is None:
if did_root.find("unitdate[@type='inclusive']") is None:
CSheet.find(Inclusive).text = did_root.find('unitdate').text
if 'normal' in did_root.find('unitdate').attrib:
CSheet.find(InclusiveNormal).text = did_root.find('unitdate').attrib['normal']
else:
CSheet.find(Inclusive).text = did_root.find("unitdate[@type='inclusive']").text
if 'normal' in did_root.find("unitdate[@type='inclusive']").attrib:
CSheet.find(InclusiveNormal).text = did_root.find("unitdate[@type='inclusive']").attrib['normal']
else:
CSheet.find(Bulk).text = did_root.find("unitdate[@type='bulk']").text
if 'normal' in did_root.find("unitdate[@type='bulk']").attrib:
CSheet.find(BulkNormal).text = did_root.find("unitdate[@type='bulk']").attrib['normal']
if did_root.find("unitdate[@type='inclusive']") is None:
pass
else:
CSheet.find(Inclusive).text = did_root.find("unitdate[@type='inclusive']").text
if 'normal' in did_root.find("unitdate[@type='inclusive']").attrib:
CSheet.find(InclusiveNormal).text = did_root.find("unitdate[@type='inclusive']").attrib['normal']
else:
#unitdatestructured
if did_root.find("unitdatestructured[@unitdatetype='bulk']") is None:
if did_root.find("unitdatestructured[@unitdatetype='inclusive']") is None:
if did_root.find("unitdatestructured/datesingle") is None:
if did_root.find("unitdatestructured/daterange") is None:
if did_root.find("unitdatestructured/dateset") is None:
pass
else:
for dateset in did_root.find("unitdatestructured/dateset"):
if dateset.tag == "datesingle":
if CSheet.find(Inclusive).text:
CSheet.find(Inclusive).text = CSheet.find(Inclusive).text + ", " + dateset.find("datesingle").text
if "standarddate" in dateset.find("datesingle").attrib:
CSheet.find(InclusiveNormal).text = CSheet.find(InclusiveNormal).text + ", " + dateset.find("datesingle").attrib['standarddate']
else:
CSheet.find(Inclusive).text = dateset.find("datesingle").text
if "standarddate" in dateset.find("datesingle").attrib:
CSheet.find(InclusiveNormal).text = dateset.find("datesingle").attrib['standarddate']
elif dateset.tag == "daterange":
if CSheet.find(Inclusive).text:
CSheet.find(Inclusive).text = CSheet.find(Inclusive).text + ", " + dateset.find("daterange/fromdate").text + "-" + dateset.find("daterange/todate").text
if "standarddate" in dateset.find("daterange/fromdate").attrib:
if "standarddate" in dateset.find("daterange/todate").attrib:
CSheet.find(InclusiveNormal).text = dateset.find("daterange/fromdate").attrib['standarddate'] + "/" + dateset.find("daterange/todate").attrib['standarddate']
else:
CSheet.find(InclusiveNormal).text = dateset.find("daterange/fromdate").attrib['standarddate']
else:
CSheet.find(Inclusive).text = dateset.find("daterange/fromdate").text + "-" + dateset.find("daterange/todate").text
if "standarddate" in dateset.find("daterange/fromdate").attrib:
if "standarddate" in dateset.find("daterange/todate").attrib:
CSheet.find(InclusiveNormal).text = CSheet.find(InclusiveNormal).text + ", " + dateset.find("daterange/fromdate").attrib['standarddate'] + "/" + dateset.find("daterange/todate").attrib['standarddate']
else:
CSheet.find(InclusiveNormal).text = CSheet.find(InclusiveNormal).text + ", " + dateset.find("daterange/fromdate").attrib['standarddate']
else:
CSheet.find(Inclusive).text = did_root.find("unitdatestructured/daterange/fromdate").text + "-" + did_root.find("unitdatestructured/daterange/todate").text
if "standarddate" in did_root.find("unitdatestructured/daterange/fromdate").attrib:
if "standarddate" in did_root.find("unitdatestructured/daterange/todate").attrib:
CSheet.find(InclusiveNormal).text = did_root.find("unitdatestructured/daterange/fromdate").attrib['standarddate'] + "/" + did_root.find("unitdatestructured/daterange/todate").attrib['standarddate']
else:
CSheet.find(InclusiveNormal).text = did_root.find("unitdatestructured/daterange/fromdate").attrib['standarddate']
else:
CSheet.find(Inclusive).text = did_root.find("unitdatestructured/datesingle").text
if "standarddate" in did_root.find("unitdatestructured/datesingle").attrib:
CSheet.find(InclusiveNormal).text = did_root.find("unitdatestructured/datesingle").attrib['standarddate']
else:
if did_root.find("unitdatestructured[@unitdatetype='inclusive']/datesingle") is None:
if did_root.find("unitdatestructured[@unitdatetype='inclusive']/daterange") is None:
if did_root.find("unitdatestructured[@unitdatetype='inclusive']/dateset") is None:
pass
else:
for dateset in did_root.find("unitdatestructured[@unitdatetype='inclusive']/dateset"):
if dateset.tag == "datesingle":
if CSheet.find(Inclusive).text:
CSheet.find(Inclusive).text = CSheet.find(Inclusive).text + ", " + dateset.find("datesingle").text
if "standarddate" in dateset.find("datesingle").attrib:
CSheet.find(InclusiveNormal).text = CSheet.find(InclusiveNormal).text + ", " + dateset.find("datesingle").attrib['standarddate']
else:
CSheet.find(Inclusive).text = dateset.find("datesingle").text
if "standarddate" in dateset.find("datesingle").attrib:
CSheet.find(InclusiveNormal).text = dateset.find("datesingle").attrib['standarddate']
elif dateset.tag == "daterange":
if CSheet.find(Inclusive).text:
CSheet.find(Inclusive).text = CSheet.find(Inclusive).text + ", " + dateset.find("daterange/fromdate").text + "-" + dateset.find("daterange/todate").text
if "standarddate" in dateset.find("daterange/fromdate").attrib:
if "standarddate" in dateset.find("daterange/todate").attrib:
CSheet.find(InclusiveNormal).text = dateset.find("daterange/fromdate").attrib['standarddate'] + "/" + dateset.find("daterange/todate").attrib['standarddate']
else:
CSheet.find(InclusiveNormal).text = dateset.find("daterange/fromdate").attrib['standarddate']
else:
CSheet.find(Inclusive).text = dateset.find("daterange/fromdate").text + "-" + dateset.find("daterange/todate").text
if "standarddate" in dateset.find("daterange/fromdate").attrib:
if "standarddate" in dateset.find("daterange/todate").attrib:
CSheet.find(InclusiveNormal).text = CSheet.find(InclusiveNormal).text + ", " + dateset.find("daterange/fromdate").attrib['standarddate'] + "/" + dateset.find("daterange/todate").attrib['standarddate']
else:
CSheet.find(InclusiveNormal).text = CSheet.find(InclusiveNormal).text + ", " + dateset.find("daterange/fromdate").attrib['standarddate']
else:
CSheet.find(Inclusive).text = did_root.find("unitdatestructured[@unitdatetype='inclusive']/daterange/fromdate").text + "-" + did_root.find("unitdatestructured[@unitdatetype='inclusive']/daterange/todate").text
if "standarddate" in did_root.find("unitdatestructured[@unitdatetype='inclusive']/daterange/fromdate").attrib:
if "standarddate" in did_root.find("unitdatestructured[@unitdatetype='inclusive']/daterange/todate").attrib:
CSheet.find(InclusiveNormal).text = did_root.find("unitdatestructured[@unitdatetype='inclusive']/daterange/fromdate").attrib['standarddate'] + "/" + did_root.find("unitdatestructured[@unitdatetype='inclusive']/daterange/todate").attrib['standarddate']
else:
CSheet.find(InclusiveNormal).text = did_root.find("unitdatestructured[@unitdatetype='inclusive']/daterange/fromdate").attrib['standarddate']
else:
CSheet.find(Inclusive).text = did_root.find("unitdatestructured[@unitdatetype='inclusive']/datesingle").text
if "standarddate" in did_root.find("unitdatestructured[@unitdatetype='inclusive']/datesingle").attrib:
CSheet.find(InclusiveNormal).text = did_root.find("unitdatestructured[@unitdatetype='inclusive']/datesingle").attrib['standarddate']
else:
#bulk unitdatestructured
if did_root.find("unitdatestructured[@unitdatetype='bulk']/datesingle") is None:
if did_root.find("unitdatestructured[@unitdatetype='bulk']/daterange") is None:
if did_root.find("unitdatestructured[@unitdatetype='bulk']/dateset") is None:
pass
else:
for dateset in did_root.find("unitdatestructured[@unitdatetype='bulk']/dateset"):
if dateset.tag == "datesingle":
if CSheet.find(Bulk).text:
CSheet.find(Bulk).text = CSheet.find(Bulk).text + ", " + dateset.find("datesingle").text
if "standarddate" in dateset.find("datesingle").attrib:
CSheet.find(BulkNormal).text = CSheet.find(BulkNormal).text + ", " + dateset.find("datesingle").attrib['standarddate']
else:
CSheet.find(Bulk).text = dateset.find("datesingle").text
if "standarddate" in dateset.find("datesingle").attrib:
CSheet.find(BulkNormal).text = dateset.find("datesingle").attrib['standarddate']
elif dateset.tag == "daterange":
if CSheet.find(Bulk).text:
CSheet.find(Bulk).text = CSheet.find(Bulk).text + ", " + dateset.find("daterange/fromdate").text + "-" + dateset.find("daterange/todate").text
if "standarddate" in dateset.find("daterange/fromdate").attrib:
if "standarddate" in dateset.find("daterange/todate").attrib:
CSheet.find(BulkNormal).text = dateset.find("daterange/fromdate").attrib['standarddate'] + "/" + dateset.find("daterange/todate").attrib['standarddate']
else:
CSheet.find(BulkNormal).text = dateset.find("daterange/fromdate").attrib['standarddate']
else:
CSheet.find(Bulk).text = dateset.find("daterange/fromdate").text + "-" + dateset.find("daterange/todate").text
if "standarddate" in dateset.find("daterange/fromdate").attrib:
if "standarddate" in dateset.find("daterange/todate").attrib:
CSheet.find(BulkNormal).text = CSheet.find(BulkNormal).text + ", " + dateset.find("daterange/fromdate").attrib['standarddate'] + "/" + dateset.find("daterange/todate").attrib['standarddate']
else:
CSheet.find(BulkNormal).text = CSheet.find(BulkNormal).text + ", " + dateset.find("daterange/fromdate").attrib['standarddate']
else:
CSheet.find(Bulk).text = did_root.find("unitdatestructured[@unitdatetype='bulk']/daterange/fromdate").text + "-" + did_root.find("unitdatestructured[@unitdatetype='bulk']/daterange/todate").text
if "standarddate" in did_root.find("unitdatestructured[@unitdatetype='bulk']/daterange/fromdate").attrib:
if "standarddate" in did_root.find("unitdatestructured[@unitdatetype='bulk']/daterange/todate").attrib:
CSheet.find(BulkNormal).text = did_root.find("unitdatestructured[@unitdatetype='bulk']/daterange/fromdate").attrib['standarddate'] + "/" + did_root.find("unitdatestructured[@unitdatetype='bulk']/daterange/todate").attrib['standarddate']
else:
CSheet.find(BulkNormal).text = did_root.find("unitdatestructured[@unitdatetype='bulk']/daterange/fromdate").attrib['standarddate']
else:
CSheet.find(Bulk).text = did_root.find("unitdatestructured[@unitdatetype='bulk']/datesingle").text
if "standarddate" in did_root.find("unitdatestructured[@unitdatetype='bulk']/datesingle").attrib:
CSheet.find(BulkNormal).text = did_root.find("unitdatestructured[@unitdatetype='bulk']/datesingle").attrib['standarddate']
if did_root.find("unitdatestructured[@unitdatetype='inclusive']") is None:
pass
else:
if did_root.find("unitdatestructured[@unitdatetype='inclusive']/datesingle") is None:
if did_root.find("unitdatestructured[@unitdatetype='inclusive']/daterange") is None:
if did_root.find("unitdatestructured[@unitdatetype='inclusive']/dateset") is None:
pass
else:
for dateset in did_root.find("unitdatestructured[@unitdatetype='inclusive']/dateset"):
if dateset.tag == "datesingle":
if CSheet.find(Inclusive).text:
CSheet.find(Inclusive).text = CSheet.find(Inclusive).text + ", " + dateset.find("datesingle").text
if "standarddate" in dateset.find("datesingle").attrib:
CSheet.find(InclusiveNormal).text = CSheet.find(InclusiveNormal).text + ", " + dateset.find("datesingle").attrib['standarddate']
else:
CSheet.find(Inclusive).text = dateset.find("datesingle").text
if "standarddate" in dateset.find("datesingle").attrib:
CSheet.find(InclusiveNormal).text = dateset.find("datesingle").attrib['standarddate']
elif dateset.tag == "daterange":
if CSheet.find(Inclusive).text:
CSheet.find(Inclusive).text = CSheet.find(InclusiveNormal).text + ", " + dateset.find("daterange/fromdate").text + "-" + dateset.find("daterange/todate").text
if "standarddate" in dateset.find("daterange/fromdate").attrib:
if "standarddate" in dateset.find("daterange/todate").attrib:
CSheet.find(InclusiveNormal).text = dateset.find("daterange/fromdate").attrib['standarddate'] + "/" + dateset.find("daterange/todate").attrib['standarddate']
else:
CSheet.find(InclusiveNormal).text = dateset.find("daterange/fromdate").attrib['standarddate']
else:
CSheet.find(Inclusive).text = dateset.find("daterange/fromdate").text + "-" + dateset.find("daterange/todate").text
if "standarddate" in dateset.find("daterange/fromdate").attrib:
if "standarddate" in dateset.find("daterange/todate").attrib:
CSheet.find(InclusiveNormal).text = CSheet.find(InclusiveNormal).text + ", " + dateset.find("daterange/fromdate").attrib['standarddate'] + "/" + dateset.find("daterange/todate").attrib['standarddate']
else:
CSheet.find(InclusiveNormal).text = CSheet.find(InclusiveNormal).text + ", " + dateset.find("daterange/fromdate").attrib['standarddate']
else:
CSheet.find(Inclusive).text = did_root.find("unitdatestructured[@unitdatetype='inclusive']/daterange/fromdate").text + "-" + did_root.find("unitdatestructured[@unitdatetype='inclusive']/daterange/todate").text
if "standarddate" in did_root.find("unitdatestructured[@unitdatetype='inclusive']/daterange/fromdate").attrib:
if "standarddate" in did_root.find("unitdatestructured[@unitdatetype='inclusive']/daterange/todate").attrib:
CSheet.find(InclusiveNormal).text = did_root.find("unitdatestructured[@unitdatetype='inclusive']/daterange/fromdate").attrib['standarddate'] + "/" + did_root.find("unitdatestructured[@unitdatetype='inclusive']/daterange/todate").attrib['standarddate']
else:
CSheet.find(InclusiveNormal).text = did_root.find("unitdatestructured[@unitdatetype='inclusive']/daterange/fromdate").attrib['standarddate']
else:
CSheet.find(Inclusive).text = did_root.find("unitdatestructured[@unitdatetype='inclusive']/datesingle").text
if "standarddate" in did_root.find("unitdatestructured[@unitdatetype='inclusive']/datesingle").attrib:
CSheet.find(InclusiveNormal).text = did_root.find("unitdatestructured[@unitdatetype='inclusive']/datesingle").attrib['standarddate'] | 72.741803 | 260 | 0.687813 | 1,898 | 17,749 | 6.37882 | 0.028451 | 0.085901 | 0.071777 | 0.143719 | 0.961427 | 0.958867 | 0.95705 | 0.947551 | 0.896341 | 0.827868 | 0 | 0.000332 | 0.152403 | 17,749 | 244 | 261 | 72.741803 | 0.80444 | 0.010198 | 0 | 0.721519 | 0 | 0 | 0.358481 | 0.204863 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004219 | false | 0.037975 | 0 | 0 | 0.004219 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c1a8103d6640bb6dcc22fdd214dd9c18787160f6 | 162 | py | Python | openslides/motion/slides.py | DerPate/OpenSlides | 2733a47d315fec9b8f3cb746fd5f3739be225d65 | [
"MIT"
] | 1 | 2015-03-22T02:07:23.000Z | 2015-03-22T02:07:23.000Z | openslides/motion/slides.py | frauenknecht/OpenSlides | 6521d6b095bca33dc0c5f09f59067551800ea1e3 | [
"MIT"
] | null | null | null | openslides/motion/slides.py | frauenknecht/OpenSlides | 6521d6b095bca33dc0c5f09f59067551800ea1e3 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from openslides.projector.api import register_slide_model
from .models import Motion
register_slide_model(Motion, 'motion/slide.html')
| 20.25 | 57 | 0.771605 | 22 | 162 | 5.5 | 0.636364 | 0.214876 | 0.297521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006944 | 0.111111 | 162 | 7 | 58 | 23.142857 | 0.833333 | 0.12963 | 0 | 0 | 0 | 0 | 0.122302 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
a9c09c601dbd785ac790f6eab2e156c566976a63 | 123 | py | Python | test_project/views.py | martey/django-wysiwyg | 24a60f6a21e0014136a526b350b54b735106b8a9 | [
"MIT"
] | 128 | 2015-01-04T04:26:21.000Z | 2022-02-22T00:20:43.000Z | test_project/views.py | vdboor/django-wysiwyg | f05866356d417309624ec4863acdebd2084b1bc2 | [
"MIT"
] | 12 | 2015-04-16T15:05:23.000Z | 2016-02-25T18:14:31.000Z | test_project/views.py | vdboor/django-wysiwyg | f05866356d417309624ec4863acdebd2084b1bc2 | [
"MIT"
] | 20 | 2015-01-14T20:27:09.000Z | 2021-01-18T00:01:29.000Z | from django.shortcuts import render_to_response
def basic_test(request):
return render_to_response("basic_test.html")
| 24.6 | 48 | 0.821138 | 18 | 123 | 5.277778 | 0.722222 | 0.168421 | 0.336842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105691 | 123 | 4 | 49 | 30.75 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
a9ff3c807983bacadaf28d3356a3bb58165bf2d4 | 11,622 | py | Python | jangan_yang_ini_bahaya.py | LimitQueenProject/bfilimit | 63199bcec4732773e646ac607b4ee2129a997b66 | [
"Apache-2.0"
] | 1 | 2020-09-16T08:33:04.000Z | 2020-09-16T08:33:04.000Z | jangan_yang_ini_bahaya.py | LimitQueenProject/bfilimit | 63199bcec4732773e646ac607b4ee2129a997b66 | [
"Apache-2.0"
] | null | null | null | jangan_yang_ini_bahaya.py | LimitQueenProject/bfilimit | 63199bcec4732773e646ac607b4ee2129a997b66 | [
"Apache-2.0"
] | null | null | null | #ngapa ig
import marshal
exec(marshal.loads('c\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x00@\x00\x00\x00s5\x01\x00\x00d\x00\x00d\x01\x00l\x00\x00m\x01\x00Z\x01\x00\x01d\x00\x00d\x02\x00l\x02\x00m\x03\x00Z\x03\x00\x01d\x00\x00d\x03\x00l\x04\x00m\x05\x00Z\x05\x00\x01d\x00\x00d\x04\x00l\x06\x00m\x07\x00Z\x07\x00\x01d\x00\x00d\x05\x00l\x08\x00m\t\x00Z\t\x00\x01d\x00\x00d\x06\x00l\n\x00m\x0b\x00Z\x0b\x00m\x0c\x00Z\x0c\x00\x01d\x00\x00d\x07\x00l\r\x00m\x0e\x00Z\x0e\x00m\x0f\x00Z\x0f\x00\x01d\x08\x00e\x10\x00f\x01\x00d\t\x00\x84\x00\x00\x83\x00\x00YZ\x11\x00d\n\x00\x84\x00\x00Z\x12\x00d\x0b\x00\x84\x00\x00Z\x13\x00e\x14\x00d\x0c\x00k\x02\x00r1\x01e\x15\x00e\t\x00\x83\x00\x00d\r\x00\x19\x83\x01\x00d\x0e\x00k\x00\x00r\xd8\x00d\x0f\x00GHe\x01\x00\x83\x00\x00\x01n\x00\x00e\x13\x00\x83\x00\x00Z\x16\x00e\x16\x00j\x17\x00Z\x17\x00e\x16\x00j\x18\x00Z\x18\x00e\x16\x00j\x19\x00Z\x19\x00e\x16\x00j\x1a\x00s\x0b\x01e\x1b\x00n\x03\x00e\x1c\x00Z\x1d\x00e\x11\x00e\x18\x00e\x0c\x00e\x17\x00\x19e\x19\x00e\x1d\x00\x83\x04\x00j\x1e\x00\x83\x00\x00\x01n\x00\x00d\x10\x00S(\x11\x00\x00\x00i\xff\xff\xff\xff(\x01\x00\x00\x00t\x04\x00\x00\x00exit(\x01\x00\x00\x00t\x06\x00\x00\x00exists(\x01\x00\x00\x00t\x06\x00\x00\x00Bruter(\x01\x00\x00\x00t\x07\x00\x00\x00Display(\x01\x00\x00\x00t\x0e\x00\x00\x00python_version(\x02\x00\x00\x00t\x0b\x00\x00\x00credentialst\x05\x00\x00\x00modes(\x02\x00\x00\x00t\x0e\x00\x00\x00ArgumentParsert\x11\x00\x00\x00ArgumentTypeErrort\x06\x00\x00\x00Enginec\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00B\x00\x00\x00sG\x00\x00\x00e\x00\x00Z\x01\x00d\x00\x00\x84\x00\x00Z\x02\x00d\x01\x00\x84\x00\x00Z\x03\x00d\x02\x00\x84\x00\x00Z\x04\x00d\x03\x00\x84\x00\x00Z\x05\x00d\x04\x00\x84\x00\x00Z\x06\x00d\x05\x00\x84\x00\x00Z\x07\x00d\x06\x00\x84\x00\x00Z\x08\x00RS(\x07\x00\x00\x00c\x05\x00\x00\x00\x05\x00\x00\x00\x03\x00\x00\x00C\x00\x00\x00sL\x00\x00\x00d\x00\x00|\x00\x00_\x01\x00t\x02\x00|\x00\x00_\x03\x00t\x04\x00|\x00\x00_\x05\x00|\x02\x00|\x00\x00_\x06\x00|\x01\x00|\x00\x00_\x07\x00|\x03\x00|\x00\x00_\x08\x00t\t\x00d\x01\x00|\x04\x00\x83\x00\x01|\x00\x00_\n\x00d\x00\x00S(\x02\x00\x00\x00Nt\x08\x00\x00\x00is_color(\x0b\x00\x00\x00t\x04\x00\x00\x00Nonet\x06\x00\x00\x00brutert\x05\x00\x00\x00Falset\x06\x00\x00\x00resumet\x04\x00\x00\x00Truet\x08\x00\x00\x00is_alivet\x07\x00\x00\x00threadst\x08\x00\x00\x00usernamet\r\x00\x00\x00passlist_pathR\x03\x00\x00\x00t\x07\x00\x00\x00display(\x05\x00\x00\x00t\x04\x00\x00\x00selfR\x12\x00\x00\x00R\x11\x00\x00\x00R\x13\x00\x00\x00R\n\x00\x00\x00(\x00\x00\x00\x00(\x00\x00\x00\x00s\x10\x00\x00\x00<Ahmad_Riswanto>t\x08\x00\x00\x00__init__\x10\x00\x00\x00s\x0e\x00\x00\x00\x00\x01\t\x01\t\x01\t\x01\t\x01\t\x01\t\x01c\x01\x00\x00\x00\x01\x00\x00\x00\x02\x00\x00\x00C\x00\x00\x00s\'\x00\x00\x00t\x00\x00|\x00\x00j\x01\x00\x83\x01\x00s#\x00|\x00\x00j\x02\x00j\x03\x00d\x01\x00\x83\x01\x00\x01t\x04\x00St\x05\x00S(\x02\x00\x00\x00Ns\x1d\x00\x00\x00Invalid path to password list(\x06\x00\x00\x00R\x01\x00\x00\x00R\x13\x00\x00\x00R\x14\x00\x00\x00t\x07\x00\x00\x00warningR\r\x00\x00\x00R\x0f\x00\x00\x00(\x01\x00\x00\x00R\x15\x00\x00\x00(\x00\x00\x00\x00(\x00\x00\x00\x00s\x10\x00\x00\x00<Ahmad_Riswanto>t\x14\x00\x00\x00passlist_path_exists\x19\x00\x00\x00s\x08\x00\x00\x00\x00\x01\x0f\x01\x10\x01\x04\x01c\x01\x00\x00\x00\x01\x00\x00\x00\x04\x00\x00\x00C\x00\x00\x00s"\x00\x00\x00t\x00\x00|\x00\x00j\x01\x00|\x00\x00j\x02\x00|\x00\x00j\x03\x00\x83\x03\x00|\x00\x00_\x04\x00d\x00\x00S(\x01\x00\x00\x00N(\x05\x00\x00\x00R\x02\x00\x00\x00R\x12\x00\x00\x00R\x11\x00\x00\x00R\x13\x00\x00\x00R\x0c\x00\x00\x00(\x01\x00\x00\x00R\x15\x00\x00\x00(\x00\x00\x00\x00(\x00\x00\x00\x00s\x10\x00\x00\x00<Ahmad_Riswanto>t\r\x00\x00\x00create_bruter\x1f\x00\x00\x00s\x08\x00\x00\x00\x00\x01\x03\x01\x06\x01\x06\x01c\x01\x00\x00\x00\x01\x00\x00\x00\x02\x00\x00\x00C\x00\x00\x00s\x10\x00\x00\x00|\x00\x00j\x00\x00j\x01\x00d\x01\x00\x83\x01\x00S(\x02\x00\x00\x00Ns,\x00\x00\x00Would you like to resume the attack? [y/n]: (\x02\x00\x00\x00R\x14\x00\x00\x00t\x06\x00\x00\x00prompt(\x01\x00\x00\x00R\x15\x00\x00\x00(\x00\x00\x00\x00(\x00\x00\x00\x00s\x10\x00\x00\x00<Ahmad_Riswanto>t\r\x00\x00\x00get_user_resp&\x00\x00\x00s\x02\x00\x00\x00\x00\x01c\x02\x00\x00\x00\x04\x00\x00\x00\x07\x00\x00\x00C\x00\x00\x00sD\x00\x00\x00t\x00\x00t\x01\x00d\x01\x00\x83\x02\x00\x8f/\x00}\x02\x00d\x02\x00j\x02\x00|\x00\x00j\x03\x00j\x04\x00\x83\x00\x00|\x01\x00\x83\x02\x00}\x03\x00|\x02\x00j\x05\x00|\x03\x00\x83\x01\x00\x01Wd\x00\x00QXd\x00\x00S(\x03\x00\x00\x00Nt\x02\x00\x00\x00ats\x1b\x00\x00\x00Username: {}\nPassword: {}\n\n(\x06\x00\x00\x00t\x04\x00\x00\x00openR\x05\x00\x00\x00t\x06\x00\x00\x00formatR\x12\x00\x00\x00t\x05\x00\x00\x00titlet\x05\x00\x00\x00write(\x04\x00\x00\x00R\x15\x00\x00\x00t\x08\x00\x00\x00passwordt\x01\x00\x00\x00ft\x04\x00\x00\x00data(\x00\x00\x00\x00(\x00\x00\x00\x00s\x10\x00\x00\x00<Ahmad_Riswanto>t\r\x00\x00\x00write_to_file)\x00\x00\x00s\x08\x00\x00\x00\x00\x01\x12\x01\x06\x01\x15\x01c\x01\x00\x00\x00\x02\x00\x00\x00\x05\x00\x00\x00C\x00\x00\x00sK\x01\x00\x00|\x00\x00j\x00\x00\x83\x00\x00s\x18\x00t\x01\x00|\x00\x00_\x02\x00n\x00\x00|\x00\x00j\x02\x00rG\x01|\x00\x00j\x03\x00\x83\x00\x00\x01x\x1d\x00|\x00\x00j\x02\x00rJ\x00|\x00\x00j\x04\x00j\x05\x00j\x06\x00\x0crJ\x00q.\x00W|\x00\x00j\x02\x00sX\x00d\x00\x00S|\x00\x00j\x04\x00j\x05\x00j\x06\x00j\x07\x00r\xcc\x00y\x10\x00|\x00\x00j\x08\x00\x83\x00\x00}\x01\x00Wn\x10\x00\x01\x01\x01t\x01\x00|\x00\x00_\x02\x00n\x01\x00X|\x01\x00r\xcc\x00|\x00\x00j\x02\x00r\xcc\x00|\x01\x00j\t\x00\x83\x00\x00j\n\x00\x83\x00\x00d\x01\x00k\x02\x00r\xc9\x00t\x0b\x00|\x00\x00j\x04\x00j\x05\x00_\x0c\x00q\xc9\x00q\xcc\x00n\x00\x00zj\x00y\x11\x00|\x00\x00j\x04\x00j\r\x00\x83\x00\x00\x01WnR\x00\x04t\x0e\x00k\n\x00r4\x01\x01\x01\x01|\x00\x00j\x04\x00j\x0f\x00\x83\x00\x00\x01|\x00\x00j\x04\x00j\x10\x00j\x11\x00|\x00\x00j\x04\x00j\x12\x00|\x00\x00j\x04\x00j\x05\x00j\x13\x00t\x14\x00|\x00\x00j\x04\x00j\x15\x00\x83\x01\x00\x83\x03\x00\x01n\x01\x00XWd\x00\x00|\x00\x00j\x0f\x00\x83\x00\x00\x01Xn\x00\x00d\x00\x00S(\x02\x00\x00\x00Nt\x01\x00\x00\x00y(\x16\x00\x00\x00R\x18\x00\x00\x00R\r\x00\x00\x00R\x10\x00\x00\x00R\x19\x00\x00\x00R\x0c\x00\x00\x00t\x10\x00\x00\x00password_managert\x07\x00\x00\x00sessionR\x01\x00\x00\x00R\x1b\x00\x00\x00t\x05\x00\x00\x00stript\x05\x00\x00\x00lowerR\x0f\x00\x00\x00R\x0e\x00\x00\x00t\x05\x00\x00\x00startt\x11\x00\x00\x00KeyboardInterruptt\x04\x00\x00\x00stopR\x14\x00\x00\x00t\x08\x00\x00\x00shutdownt\r\x00\x00\x00last_passwordt\x08\x00\x00\x00attemptst\x03\x00\x00\x00lent\x08\x00\x00\x00browsers(\x02\x00\x00\x00R\x15\x00\x00\x00t\x04\x00\x00\x00resp(\x00\x00\x00\x00(\x00\x00\x00\x00s\x10\x00\x00\x00<Ahmad_Riswanto>R*\x00\x00\x00/\x00\x00\x00s0\x00\x00\x00\x00\x01\x0c\x01\x0c\x02\t\x01\n\x02\x1c\x01\x04\x02\t\x01\x04\x02\x12\x01\x03\x01\x10\x01\x03\x01\r\x02\x0f\x01\x18\x01\x18\x02\x03\x00\x03\x01\x11\x01\r\x01\r\x01\x15\x01\'\x02c\x01\x00\x00\x00\x01\x00\x00\x00\x05\x00\x00\x00C\x00\x00\x00s\xdf\x00\x00\x00|\x00\x00j\x00\x00r\xdb\x00|\x00\x00j\x01\x00j\x02\x00\x83\x00\x00\x01t\x03\x00|\x00\x00_\x00\x00|\x00\x00j\x01\x00j\x04\x00j\x05\x00r\x82\x00|\x00\x00j\x01\x00j\x06\x00\x0cr\x82\x00|\x00\x00j\x01\x00j\x04\x00j\x07\x00\x0cr\x82\x00|\x00\x00j\x01\x00j\x08\x00j\t\x00|\x00\x00j\x01\x00j\n\x00|\x00\x00j\x01\x00j\x04\x00j\x0b\x00t\x0c\x00|\x00\x00j\x01\x00j\r\x00\x83\x01\x00\x83\x03\x00\x01n\x00\x00|\x00\x00j\x01\x00j\x06\x00r\xdb\x00|\x00\x00j\x0e\x00|\x00\x00j\x01\x00j\x0f\x00\x83\x01\x00\x01|\x00\x00j\x01\x00j\x08\x00j\x10\x00|\x00\x00j\x01\x00j\x0f\x00|\x00\x00j\x01\x00j\x04\x00j\x0b\x00t\x0c\x00|\x00\x00j\x01\x00j\r\x00\x83\x01\x00\x83\x03\x00\x01q\xdb\x00n\x00\x00d\x00\x00S(\x01\x00\x00\x00N(\x11\x00\x00\x00R\x10\x00\x00\x00R\x0c\x00\x00\x00R,\x00\x00\x00R\r\x00\x00\x00R&\x00\x00\x00t\x07\x00\x00\x00is_readt\x08\x00\x00\x00is_foundt\t\x00\x00\x00list_sizeR\x14\x00\x00\x00t\x0f\x00\x00\x00stats_not_foundR.\x00\x00\x00R/\x00\x00\x00R0\x00\x00\x00R1\x00\x00\x00R$\x00\x00\x00R!\x00\x00\x00t\x0b\x00\x00\x00stats_found(\x01\x00\x00\x00R\x15\x00\x00\x00(\x00\x00\x00\x00(\x00\x00\x00\x00s\x10\x00\x00\x00<Ahmad_Riswanto>R,\x00\x00\x00O\x00\x00\x00s\x14\x00\x00\x00\x00\x01\t\x02\r\x01\t\x02,\x01\x15\x01"\x02\x0c\x01\x13\x01\x15\x01(\t\x00\x00\x00t\x08\x00\x00\x00__name__t\n\x00\x00\x00__module__R\x16\x00\x00\x00R\x18\x00\x00\x00R\x19\x00\x00\x00R\x1b\x00\x00\x00R$\x00\x00\x00R*\x00\x00\x00R,\x00\x00\x00(\x00\x00\x00\x00(\x00\x00\x00\x00(\x00\x00\x00\x00s\x10\x00\x00\x00<Ahmad_Riswanto>R\t\x00\x00\x00\x0e\x00\x00\x00s\x0e\x00\x00\x00\x06\x02\t\t\t\x06\t\x07\t\x03\t\x06\t c\x01\x00\x00\x00\x01\x00\x00\x00\x02\x00\x00\x00C\x00\x00\x00sa\x00\x00\x00|\x00\x00j\x00\x00\x83\x00\x00s\x1b\x00t\x01\x00d\x01\x00\x83\x01\x00\x82\x01\x00n\x00\x00t\x02\x00|\x00\x00\x83\x01\x00}\x00\x00|\x00\x00d\x02\x00k\x04\x00rB\x00t\x01\x00d\x03\x00\x83\x01\x00\x82\x01\x00n\x00\x00|\x00\x00d\x04\x00k\x00\x00r]\x00t\x01\x00d\x05\x00\x83\x01\x00\x82\x01\x00n\x00\x00|\x00\x00S(\x06\x00\x00\x00Ns\x15\x00\x00\x00mode must be a numberi\x03\x00\x00\x00s\x17\x00\x00\x00maximum for a mode is 3i\x00\x00\x00\x00s\x17\x00\x00\x00minimum for a mode is 0(\x03\x00\x00\x00t\x07\x00\x00\x00isdigitR\x08\x00\x00\x00t\x03\x00\x00\x00int(\x01\x00\x00\x00t\x01\x00\x00\x00n(\x00\x00\x00\x00(\x00\x00\x00\x00s\x10\x00\x00\x00<Ahmad_Riswanto>t\t\x00\x00\x00valid_int_\x00\x00\x00s\x10\x00\x00\x00\x00\x01\x0c\x01\x0f\x02\x0c\x02\x0c\x01\x0f\x02\x0c\x01\x0f\x02c\x00\x00\x00\x00\x01\x00\x00\x00\t\x00\x00\x00C\x00\x00\x00s}\x00\x00\x00t\x00\x00\x83\x00\x00}\x00\x00|\x00\x00j\x01\x00d\x01\x00d\x02\x00d\x03\x00\x83\x01\x01\x01|\x00\x00j\x01\x00d\x04\x00d\x02\x00d\x05\x00\x83\x01\x01\x01|\x00\x00j\x01\x00d\x06\x00d\x07\x00d\x08\x00d\t\x00d\n\x00d\x0b\x00d\x02\x00d\x0c\x00\x83\x02\x03\x01|\x00\x00j\x01\x00d\r\x00d\x0e\x00d\x0f\x00d\x10\x00d\x11\x00t\x02\x00d\x02\x00d\x12\x00\x83\x02\x03\x01|\x00\x00j\x03\x00\x83\x00\x00S(\x13\x00\x00\x00NR\x12\x00\x00\x00t\x04\x00\x00\x00helps\x11\x00\x00\x00email or usernamet\x08\x00\x00\x00passlists\r\x00\x00\x00password lists\x03\x00\x00\x00-ncs\n\x00\x00\x00--no-colort\x04\x00\x00\x00destt\x05\x00\x00\x00colort\x06\x00\x00\x00actiont\n\x00\x00\x00store_trues\x0e\x00\x00\x00disable colorss\x02\x00\x00\x00-ms\x06\x00\x00\x00--modet\x07\x00\x00\x00defaulti\x02\x00\x00\x00t\x04\x00\x00\x00types;\x00\x00\x00modes: 0 => 32 bots; 1 => 16 bots; 2 => 8 bots; 3 => 4 bots(\x04\x00\x00\x00R\x07\x00\x00\x00t\x0c\x00\x00\x00add_argumentR=\x00\x00\x00t\n\x00\x00\x00parse_args(\x01\x00\x00\x00t\x04\x00\x00\x00args(\x00\x00\x00\x00(\x00\x00\x00\x00s\x10\x00\x00\x00<Ahmad_Riswanto>RH\x00\x00\x00n\x00\x00\x00s\x10\x00\x00\x00\x00\x01\t\x01\x13\x01\x13\x01\x15\x01\r\x01\x1b\x01\x07\x01t\x08\x00\x00\x00__main__i\x00\x00\x00\x00i\x03\x00\x00\x00s\x17\x00\x00\x00[!] Please use Python 3N(\x1f\x00\x00\x00t\x03\x00\x00\x00sysR\x00\x00\x00\x00t\x07\x00\x00\x00os.pathR\x01\x00\x00\x00t\n\x00\x00\x00lib.bruterR\x02\x00\x00\x00t\x0b\x00\x00\x00lib.displayR\x03\x00\x00\x00t\x08\x00\x00\x00platformR\x04\x00\x00\x00t\t\x00\x00\x00lib.constR\x05\x00\x00\x00R\x06\x00\x00\x00t\x08\x00\x00\x00argparseR\x07\x00\x00\x00R\x08\x00\x00\x00t\x06\x00\x00\x00objectR\t\x00\x00\x00R=\x00\x00\x00RH\x00\x00\x00R8\x00\x00\x00R;\x00\x00\x00t\t\x00\x00\x00arugmentst\x04\x00\x00\x00modeR\x12\x00\x00\x00R?\x00\x00\x00RA\x00\x00\x00R\x0f\x00\x00\x00R\r\x00\x00\x00R\n\x00\x00\x00R*\x00\x00\x00(\x00\x00\x00\x00(\x00\x00\x00\x00(\x00\x00\x00\x00s\x10\x00\x00\x00<Ahmad_Riswanto>t\x08\x00\x00\x00<module>\x05\x00\x00\x00s&\x00\x00\x00\x10\x01\x10\x01\x10\x01\x10\x01\x10\x01\x16\x01\x16\x03\x16Q\t\x0f\t\x0b\x0c\x02\x19\x01\x05\x01\n\x02\t\x01\t\x01\t\x01\t\x01\x15\x01'))
| 2,905.5 | 11,596 | 0.763122 | 2,582 | 11,622 | 3.410534 | 0.101859 | 0.391097 | 0.20645 | 0.14581 | 0.527481 | 0.46457 | 0.345106 | 0.232228 | 0.194754 | 0.156144 | 0 | 0.402715 | 0.004991 | 11,622 | 3 | 11,597 | 3,874 | 0.358786 | 0.000688 | 0 | 0 | 0 | 1 | 0.649358 | 0.644709 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 13 |
e75d04efef7be90fcc499b1f104379a7e23a8d40 | 112 | py | Python | addons/ohrms_loan_accounting/models/__init__.py | gleis44/stellwerk | 1fc4145eac6bbb76134ef9ebb22f2441a69d093f | [
"MIT"
] | null | null | null | addons/ohrms_loan_accounting/models/__init__.py | gleis44/stellwerk | 1fc4145eac6bbb76134ef9ebb22f2441a69d093f | [
"MIT"
] | null | null | null | addons/ohrms_loan_accounting/models/__init__.py | gleis44/stellwerk | 1fc4145eac6bbb76134ef9ebb22f2441a69d093f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from . import hr_loan_config
from . import hr_loan_acc
from . import account_move_line
| 18.666667 | 31 | 0.732143 | 18 | 112 | 4.222222 | 0.666667 | 0.394737 | 0.315789 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010638 | 0.160714 | 112 | 5 | 32 | 22.4 | 0.797872 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
e7c54e4ed1951f2b8311253d55b4f3374d60a5e5 | 164 | py | Python | bdo_tools/crafting/admin.py | zsommers/bdo_chronicle | 88c19b8e381dd7c88fd9429f08029a516ea221f5 | [
"MIT"
] | 1 | 2017-08-02T02:33:32.000Z | 2017-08-02T02:33:32.000Z | bdo_tools/crafting/admin.py | zsommers/bdo_chronicle | 88c19b8e381dd7c88fd9429f08029a516ea221f5 | [
"MIT"
] | 36 | 2016-03-25T07:43:46.000Z | 2019-03-27T00:21:44.000Z | bdo_tools/crafting/admin.py | zsommers/bdo_chronicle | 88c19b8e381dd7c88fd9429f08029a516ea221f5 | [
"MIT"
] | 1 | 2017-05-04T12:07:35.000Z | 2017-05-04T12:07:35.000Z | from django.contrib import admin
from . import models
admin.site.register(models.Material)
admin.site.register(models.Station)
admin.site.register(models.Recipe)
| 20.5 | 36 | 0.817073 | 23 | 164 | 5.826087 | 0.478261 | 0.201493 | 0.380597 | 0.514925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079268 | 164 | 7 | 37 | 23.428571 | 0.887417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
99c1f5953db0a8379904efcc5fd98c59db83ebc4 | 9,416 | py | Python | python/tests/structure.py | ray-pan-bci/convergdb | d12730d801200a0a084038dc214c23c2d8adf69b | [
"MIT"
] | 10 | 2018-04-19T16:09:11.000Z | 2020-04-15T03:43:28.000Z | python/tests/structure.py | ray-pan-bci/convergdb | d12730d801200a0a084038dc214c23c2d8adf69b | [
"MIT"
] | 13 | 2020-04-09T13:56:38.000Z | 2020-04-15T03:27:02.000Z | python/tests/structure.py | ray-pan-bci/convergdb | d12730d801200a0a084038dc214c23c2d8adf69b | [
"MIT"
] | 4 | 2018-08-31T09:15:27.000Z | 2020-04-28T01:24:17.000Z | import json
def structure_1():
return json.loads(
"""
{
"generators": [
"athena",
"glue",
"markdown_doc",
"html_doc",
"control_table"
],
"full_relation_name": "production.ecommerce.inventory.books",
"dsd": "ecommerce.inventory.books",
"environment": "production",
"domain_name": null,
"schema_name": null,
"relation_name": null,
"service_role": "",
"script_bucket": "convergdb-admin-e969ca618e222a58",
"temp_s3_location": null,
"storage_bucket": "convergdb-data-e969ca618e222a58/e969ca618e222a58/production.ecommerce.inventory.books",
"state_bucket": "convergdb-admin-e969ca618e222a58",
"storage_format": "parquet",
"source_relation_prefix": null,
"use_inventory": "true",
"inventory_source": "s3",
"etl_job_name": "nightly_batch",
"etl_job_schedule": "cron(0 0 * * ? *)",
"etl_job_dpu": 2,
"attributes": [
{
"name": "item_number",
"required": false,
"expression": "item_number",
"data_type": "integer",
"field_type": null,
"cast_type": "integer"
},
{
"name": "title",
"required": false,
"expression": "title",
"data_type": "varchar(100)",
"field_type": null,
"cast_type": "string"
},
{
"name": "author",
"required": false,
"expression": "author",
"data_type": "varchar(100)",
"field_type": null,
"cast_type": "string"
},
{
"name": "price",
"required": false,
"expression": "price",
"data_type": "numeric(10,2)",
"field_type": null,
"cast_type": "decimal(10,2)"
},
{
"name": "part_id",
"required": false,
"expression": "substring(md5(title),1,1)",
"data_type": "varchar(100)",
"field_type": null,
"cast_type": "string"
},
{
"name": "retail_markup",
"required": false,
"expression": "price * 0.25",
"data_type": "numeric(10,2)",
"field_type": null,
"cast_type": "decimal(10,2)"
},
{
"name": "source_file",
"required": false,
"expression": "convergdb_source_file_name",
"data_type": "varchar(100)",
"field_type": null,
"cast_type": "string"
}
],
"partitions": [
"part_id"
],
"relation_type": 1,
"source_dsd_name": "ecommerce.inventory.books_source",
"full_source_relation_name": "production.ecommerce.inventory.books_source",
"source_structure": {
"generators": [
"s3_source",
"markdown_doc",
"html_doc"
],
"dsd": "ecommerce.inventory.books_source",
"full_relation_name": "production.ecommerce.inventory.books_source",
"environment": "production",
"domain_name": null,
"schema_name": null,
"relation_name": null,
"storage_bucket": "demo-source-us-west-2.beyondsoft.us",
"storage_format": "json",
"inventory_table": "s3_inventory.production__ecommerce__inventory__books_source",
"streaming_inventory": "false",
"streaming_inventory_output_bucket": null,
"streaming_inventory_table": null,
"attributes": [
{
"name": "item_number",
"required": false,
"expression": null,
"data_type": "integer",
"field_type": null,
"cast_type": "integer"
},
{
"name": "title",
"required": false,
"expression": null,
"data_type": "varchar(100)",
"field_type": null,
"cast_type": "string"
},
{
"name": "author",
"required": false,
"expression": null,
"data_type": "varchar(100)",
"field_type": null,
"cast_type": "string"
},
{
"name": "price",
"required": false,
"expression": null,
"data_type": "numeric(10,2)",
"field_type": null,
"cast_type": "decimal(10,2)"
},
{
"name": "stock",
"required": true,
"expression": null,
"data_type": "integer",
"field_type": null,
"cast_type": "integer"
}
],
"partitions": [
],
"relation_type": 0,
"source_dsd_name": null,
"working_path": "/coding/demo/demo2"
},
"control_table": "convergdb_control_e969ca618e222a58.production__ecommerce__inventory__books",
"working_path": "/coding/demo/demo2",
"deployment_id": "e969ca618e222a58",
"region": "us-west-2",
"sns_topic": "arn:aws:sns:us-west-2:692977618922:convergdb-e969ca618e222a58",
"cloudwatch_namespace": "convergdb/e969ca618e222a58"
}
"""
)
def structure_2():
return json.loads(
"""
{
"generators": [
"athena",
"glue",
"markdown_doc",
"html_doc",
"control_table"
],
"full_relation_name": "production.ecommerce.inventory.books",
"dsd": "ecommerce.inventory.books",
"environment": "production",
"domain_name": null,
"schema_name": null,
"relation_name": null,
"service_role": "",
"script_bucket": "convergdb-admin-e969ca618e222a58",
"temp_s3_location": null,
"storage_bucket": "convergdb-data-e969ca618e222a58/e969ca618e222a58/production.ecommerce.inventory.books",
"state_bucket": "convergdb-admin-e969ca618e222a58",
"storage_format": "parquet",
"source_relation_prefix": null,
"use_inventory": "false",
"inventory_source": "streaming",
"etl_job_name": "nightly_batch",
"etl_job_schedule": "cron(0 0 * * ? *)",
"etl_job_dpu": 2,
"attributes": [
{
"name": "item_number",
"required": false,
"expression": "item_number",
"data_type": "integer",
"field_type": null,
"cast_type": "integer"
},
{
"name": "title",
"required": false,
"expression": "title",
"data_type": "varchar(100)",
"field_type": null,
"cast_type": "string"
},
{
"name": "author",
"required": false,
"expression": "author",
"data_type": "varchar(100)",
"field_type": null,
"cast_type": "string"
},
{
"name": "price",
"required": false,
"expression": "price",
"data_type": "numeric(10,2)",
"field_type": null,
"cast_type": "decimal(10,2)"
},
{
"name": "part_id",
"required": false,
"expression": "substring(md5(title),1,1)",
"data_type": "varchar(100)",
"field_type": null,
"cast_type": "string"
},
{
"name": "retail_markup",
"required": false,
"expression": "price * 0.25",
"data_type": "numeric(10,2)",
"field_type": null,
"cast_type": "decimal(10,2)"
},
{
"name": "source_file",
"required": false,
"expression": "convergdb_source_file_name",
"data_type": "varchar(100)",
"field_type": null,
"cast_type": "string"
}
],
"partitions": [
"part_id"
],
"relation_type": 1,
"source_dsd_name": "ecommerce.inventory.books_source",
"full_source_relation_name": "production.ecommerce.inventory.books_source",
"source_structure": {
"generators": [
"s3_source",
"markdown_doc",
"html_doc"
],
"dsd": "ecommerce.inventory.books_source",
"full_relation_name": "production.ecommerce.inventory.books_source",
"environment": "production",
"domain_name": null,
"schema_name": null,
"relation_name": null,
"storage_bucket": "demo-source-us-west-2.beyondsoft.us",
"storage_format": "json",
"inventory_table": "s3_inventory.production__ecommerce__inventory__books_source",
"streaming_inventory": "true",
"streaming_inventory_output_bucket": "streaming_inventory_bucket",
"streaming_inventory_table": "streaming_inventory_table",
"csv_header": "false",
"csv_separator": 124,
"csv_quote": 34,
"csv_null": 0,
"csv_escape": 92,
"csv_trim": "false",
"attributes": [
{
"name": "item_number",
"required": false,
"expression": null,
"data_type": "integer",
"field_type": null,
"cast_type": "integer"
},
{
"name": "title",
"required": false,
"expression": null,
"data_type": "varchar(100)",
"field_type": null,
"cast_type": "string"
},
{
"name": "author",
"required": false,
"expression": null,
"data_type": "varchar(100)",
"field_type": null,
"cast_type": "string"
},
{
"name": "publisher",
"required": false,
"expression": null,
"data_type": "varchar(100)",
"field_type": null,
"cast_type": "string"
},
{
"name": "genre",
"required": false,
"expression": null,
"data_type": "varchar(100)",
"field_type": null,
"cast_type": "string"
},
{
"name": "price",
"required": false,
"expression": null,
"data_type": "numeric(10,2)",
"field_type": null,
"cast_type": "decimal(10,2)"
}
],
"partitions": [
],
"relation_type": 0,
"source_dsd_name": null,
"working_path": "/coding/demo/demo2"
},
"control_table": "convergdb_control_e969ca618e222a58.production__ecommerce__inventory__books",
"working_path": "/coding/demo/demo2",
"deployment_id": "e969ca618e222a58",
"region": "us-west-2",
"sns_topic": "arn:aws:sns:us-west-2:692977618922:convergdb-e969ca618e222a58",
"cloudwatch_namespace": "convergdb/e969ca618e222a58"
}
"""
)
| 26.449438 | 108 | 0.576997 | 927 | 9,416 | 5.574973 | 0.122977 | 0.0387 | 0.062887 | 0.082237 | 0.930921 | 0.930921 | 0.930921 | 0.930921 | 0.930921 | 0.930921 | 0 | 0.046141 | 0.247345 | 9,416 | 355 | 109 | 26.523944 | 0.683082 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | true | 0 | 0.142857 | 0.285714 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 10 |
99e42e7d529dd12f30926ca5e1f519f50af063a5 | 3,194 | py | Python | server/lib/api/routes/gameAdmin.py | JWen00/UNSW-CompClub2019Summer-CTF | 3634529b91d984f5c654f8424438e27ac8821804 | [
"MIT"
] | 4 | 2019-06-28T21:41:22.000Z | 2020-09-29T12:52:28.000Z | server/lib/api/routes/gameAdmin.py | JWen00/UNSW-CompClub2019Summer-CTF | 3634529b91d984f5c654f8424438e27ac8821804 | [
"MIT"
] | 2 | 2019-11-05T08:39:34.000Z | 2020-08-18T07:37:19.000Z | server/lib/api/routes/gameAdmin.py | JWen00/UNSW-CompClub2019Summer-CTF | 3634529b91d984f5c654f8424438e27ac8821804 | [
"MIT"
] | 6 | 2019-06-10T05:22:09.000Z | 2020-07-24T14:54:35.000Z | from .. import routing, JSON
from tornado.web import authenticated, RequestHandler
from ...ctf import SQLMethod as ctfSQLMethod
from ...auth import SQLMethod as authSQLMethod
@routing.POST("/ctf/question/submit")
@authenticated
def questionSubmit(self: RequestHandler, args: dict):
if not self.current_user.isAdmin:
return self.finish(JSON.error("access denied"))
try:
result = ctfSQLMethod.questions.createQuestion(**args)
if result:
return self.finish(JSON.OK())
return self.finish(JSON.FALSE())
except Exception as e:
return self.finish(JSON.error("-1"))
@routing.POST("/ctf/question/edit")
@authenticated
def questionEdit(self: RequestHandler, args: dict):
if not self.current_user.isAdmin:
return self.finish(JSON.error("access denied"))
result = ctfSQLMethod.questions.editQuestion(**args)
if result:
return self.finish(JSON.OK())
return self.finish(JSON.FALSE())
@routing.POST("/ctf/question/editFlag")
@authenticated
def questionEditFlag(self: RequestHandler, args: dict):
if not self.current_user.isAdmin:
return self.finish(JSON.error("access denied"))
try:
result = ctfSQLMethod.questions.editQuestionFlag(**args)
if result:
return self.finish(JSON.OK())
return self.finish(JSON.FALSE())
except Exception:
return self.finish(JSON.error("-1"))
@routing.POST("/ctf/question/getFlag")
@authenticated
def questionGetFlag(self: RequestHandler, args: dict):
if not self.current_user.isAdmin:
return self.finish(JSON.error("access denied"))
result = ctfSQLMethod.questions.getFlag(**args)
if result:
return self.finish(JSON.data(result))
return self.finish(JSON.FALSE())
@routing.POST("/ctf/question/delete")
@authenticated
def questionDelete(self: RequestHandler, args: dict):
if not self.current_user.isAdmin:
return self.finish(JSON.error("access denied"))
result = ctfSQLMethod.questions.deleteQuestion(**args)
if result:
return self.finish(JSON.OK())
return self.finish(JSON.FALSE())
####
@routing.POST("/ctf/category/submit")
@authenticated
def categorySubmit(self: RequestHandler, args: dict):
if not self.current_user.isAdmin:
return self.finish(JSON.error("access denied"))
result = ctfSQLMethod.categories.createCategory(**args)
if result:
return self.finish(JSON.OK())
return self.finish(JSON.FALSE())
@routing.POST("/ctf/category/edit")
@authenticated
def categoryEdit(self: RequestHandler, args: dict):
if not self.current_user.isAdmin:
return self.finish(JSON.error("access denied"))
result = ctfSQLMethod.categories.editCategory(**args)
if result:
return self.finish(JSON.OK())
return self.finish(JSON.FALSE())
@routing.POST("/ctf/category/delete")
@authenticated
def categoryDelete(self: RequestHandler, args: dict):
if not self.current_user.isAdmin:
return self.finish(JSON.error("access denied"))
result = ctfSQLMethod.categories.deleteCategory(**args)
if result:
return self.finish(JSON.OK())
return self.finish(JSON.FALSE())
| 29.302752 | 64 | 0.696619 | 379 | 3,194 | 5.849604 | 0.163588 | 0.117276 | 0.187641 | 0.234551 | 0.747406 | 0.7447 | 0.7447 | 0.730266 | 0.730266 | 0.705458 | 0 | 0.000758 | 0.174076 | 3,194 | 108 | 65 | 29.574074 | 0.839651 | 0 | 0 | 0.621951 | 0 | 0 | 0.083699 | 0.01348 | 0 | 0 | 0 | 0 | 0 | 1 | 0.097561 | false | 0 | 0.04878 | 0 | 0.463415 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8228e45b6faba1e3afba113fdfa8cdde372bfd3f | 1,027 | py | Python | kiqpo/core/Button.py | bionic-py/Bionic | a54c85107a6a2aa9a9563b6b3e1f9bb64d63faa4 | [
"MIT"
] | 9 | 2021-10-31T03:38:16.000Z | 2021-12-17T00:03:36.000Z | kiqpo/core/Button.py | bionic-py/Bionic | a54c85107a6a2aa9a9563b6b3e1f9bb64d63faa4 | [
"MIT"
] | 12 | 2021-11-11T14:18:09.000Z | 2021-12-03T14:00:25.000Z | kiqpo/core/Button.py | kiqpo/kiqpo | a54c85107a6a2aa9a9563b6b3e1f9bb64d63faa4 | [
"MIT"
] | 3 | 2022-03-03T18:30:53.000Z | 2022-03-09T13:29:39.000Z | def Button(
style="",
label="",
Id="0",
onTap=""):
if onTap == "":
if style == "":
return f"""<button class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent" id='{Id}'><span class="mdc-button__label">{label}</span></button>"""
else:
return f"""<button style='{style}' class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent" id='{Id}'><span class="mdc-button__label">{label}</span></button>"""
else:
if style == "":
return f"""<button onclick='{onTap}'' class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent" id='{Id}'><span class="mdc-button__label">{label}</span></button>"""
else:
return f"""<button style='{style}' onclick='{onTap}' class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent" id='{Id}'><span class="mdc-button__label">{label}</span></button>"""
| 64.1875 | 225 | 0.6037 | 140 | 1,027 | 4.371429 | 0.15 | 0.176471 | 0.084967 | 0.111111 | 0.944444 | 0.879085 | 0.879085 | 0.879085 | 0.879085 | 0.879085 | 0 | 0.001183 | 0.177215 | 1,027 | 15 | 226 | 68.466667 | 0.723077 | 0 | 0 | 0.333333 | 0 | 0.266667 | 0.711782 | 0.190847 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
ec209688326ab10bea8400f88e503808eefef31a | 365 | py | Python | src/test/reverse_continue_start.py | heycam/rr | 66e58ff4d05d1b1ba2f281fb7a9d07fe4545445a | [
"MIT"
] | 1 | 2021-08-13T08:20:55.000Z | 2021-08-13T08:20:55.000Z | src/test/reverse_continue_start.py | heycam/rr | 66e58ff4d05d1b1ba2f281fb7a9d07fe4545445a | [
"MIT"
] | null | null | null | src/test/reverse_continue_start.py | heycam/rr | 66e58ff4d05d1b1ba2f281fb7a9d07fe4545445a | [
"MIT"
] | null | null | null | from rrutil import *
import re
send_gdb('reverse-cont')
expect_gdb('SIGTRAP')
send_gdb('reverse-cont')
expect_gdb('SIGTRAP')
send_gdb('reverse-stepi')
send_gdb('b main')
expect_gdb('Breakpoint 1')
send_gdb('c')
expect_gdb('Breakpoint 1')
send_gdb('reverse-cont')
expect_gdb('SIGTRAP')
send_gdb('reverse-stepi')
send_gdb('reverse-cont')
expect_gdb('SIGTRAP')
ok()
| 18.25 | 26 | 0.750685 | 57 | 365 | 4.561404 | 0.298246 | 0.215385 | 0.323077 | 0.276923 | 0.876923 | 0.876923 | 0.696154 | 0.592308 | 0.592308 | 0.592308 | 0 | 0.0059 | 0.071233 | 365 | 19 | 27 | 19.210526 | 0.761062 | 0 | 0 | 0.705882 | 0 | 0 | 0.364384 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.117647 | 0 | 0.117647 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ec3770a11b551b18d119b5ade3e2f31eef048616 | 1,788 | py | Python | base/game_object.py | SpazCode/pyrpg | bb0e35fb3bca394cd58dc12f71b7228e2a347c32 | [
"Apache-2.0"
] | null | null | null | base/game_object.py | SpazCode/pyrpg | bb0e35fb3bca394cd58dc12f71b7228e2a347c32 | [
"Apache-2.0"
] | null | null | null | base/game_object.py | SpazCode/pyrpg | bb0e35fb3bca394cd58dc12f71b7228e2a347c32 | [
"Apache-2.0"
] | null | null | null | from observable import Observable
from base import Vector2D
class GameObject(object):
"""
Interface for the base objects in a game.
"""
def __init__(self, pos: Vector2D = (0, 0), scale: Vector2D = (0, 0)):
self.event_handler = None
self.pos = pos
self.scale = scale
self.exists = True
# Game logic for this object that needs to be updated every frame.
def update(self):
pass
# Mark this object that is to be terminated.
def terminate(self):
self.exists = False
# How to Draw the object to the screen.
def draw(self, screen):
pass
# Event handler for the current game object.
def set_event_handler(self, event_handler: Observable):
self.event_handler = event_handler
# Update the registered event, trigger events in this method. This is called after the object is added to a scene.
def update_events(self):
pass
class UiObject(object):
"""
Interface for the base objects in the Ui.
"""
def __init__(self, pos: Vector2D = (0, 0)):
self.event_handler = None
self.pos = pos
self.exists = True
# Game logic for this object that needs to be updated every frame.
def update(self):
pass
# Mark this object that is to be terminated.
def terminate(self):
self.exists = False
# How to Draw the object to the screen.
def draw(self, screen):
pass
# Event handler for the current game object.
def set_event_handler(self, event_handler: Observable):
self.event_handler = event_handler
# Update the registered event, trigger events in this method. This is called after the object is added to a scene.
def update_events(self):
pass
| 26.686567 | 118 | 0.644855 | 247 | 1,788 | 4.578947 | 0.230769 | 0.127321 | 0.084881 | 0.037135 | 0.907162 | 0.907162 | 0.907162 | 0.813439 | 0.813439 | 0.813439 | 0 | 0.007819 | 0.284676 | 1,788 | 66 | 119 | 27.090909 | 0.876466 | 0.384787 | 0 | 0.787879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0.181818 | 0.060606 | 0 | 0.484848 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
6b93756231fb443cf0120d259593618ce04859fd | 489 | py | Python | tests/binomial_test.py | screambeard/latex2sympy | 2e1a277a159e5917ba30c36c87eebf319551f206 | [
"MIT"
] | 7 | 2019-03-22T19:48:24.000Z | 2021-12-01T00:06:25.000Z | tests/binomial_test.py | screambeard/latex2sympy | 2e1a277a159e5917ba30c36c87eebf319551f206 | [
"MIT"
] | null | null | null | tests/binomial_test.py | screambeard/latex2sympy | 2e1a277a159e5917ba30c36c87eebf319551f206 | [
"MIT"
] | 2 | 2019-05-16T18:30:17.000Z | 2020-05-08T05:08:10.000Z | from sympy import *
import sys
sys.path.append("..")
from process_latex import process_sympy
latex = "\\binom{16}{2}"
math = process_sympy(latex)
print("latex: %s to math: %s" %(latex,math))
latex = "\\binom{x}{y}"
math = process_sympy(latex)
print("latex: %s to math: %s" %(latex,math))
latex = "\\choose{x}{y}"
math = process_sympy(latex)
print("latex: %s to math: %s" %(latex,math))
latex = "\\choose{16}{2}"
math = process_sympy(latex)
print("latex: %s to math: %s" %(latex,math))
| 23.285714 | 44 | 0.656442 | 78 | 489 | 4.038462 | 0.230769 | 0.190476 | 0.269841 | 0.266667 | 0.726984 | 0.726984 | 0.726984 | 0.726984 | 0.726984 | 0.726984 | 0 | 0.014085 | 0.128834 | 489 | 20 | 45 | 24.45 | 0.725352 | 0 | 0 | 0.5 | 0 | 0 | 0.290389 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1875 | 0 | 0.1875 | 0.25 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d4317d66522a84aef043fb64cec7f1031dfdd9e3 | 151 | py | Python | interaction_prediction/DataPrep/__init__.py | david9dragon9/AIR | cbcb7cb74f4280596ede9d998f75f20c272843bd | [
"Apache-2.0"
] | 16 | 2021-06-20T17:01:46.000Z | 2021-12-16T19:04:42.000Z | interaction_prediction/DataPrep/__init__.py | david9dragon9/AIR | cbcb7cb74f4280596ede9d998f75f20c272843bd | [
"Apache-2.0"
] | 1 | 2022-03-03T08:49:40.000Z | 2022-03-04T03:24:09.000Z | interaction_prediction/DataPrep/__init__.py | david9dragon9/AIR | cbcb7cb74f4280596ede9d998f75f20c272843bd | [
"Apache-2.0"
] | 4 | 2021-08-18T13:36:42.000Z | 2022-03-04T06:03:44.000Z | from .process import process_train, process_validation, process_testing
__all__ = [
"process_train",
"process_validation",
"process_testing",
]
| 18.875 | 71 | 0.768212 | 16 | 151 | 6.625 | 0.4375 | 0.226415 | 0.358491 | 0.54717 | 0.811321 | 0.811321 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13245 | 151 | 7 | 72 | 21.571429 | 0.80916 | 0 | 0 | 0 | 0 | 0 | 0.304636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d4420293d27d294e4090eef2f31400b0ef36432a | 17,367 | py | Python | CryptographicFields/filters.py | Shahprogrammer/Django-CryptographicFields | e6617c8f6c74e1106f5d65ceb67ae9ec64d93586 | [
"BSD-3-Clause"
] | 12 | 2020-09-18T03:30:48.000Z | 2022-01-28T05:40:13.000Z | CryptographicFields/filters.py | Shahprogrammer/Django-CryptographicFields | e6617c8f6c74e1106f5d65ceb67ae9ec64d93586 | [
"BSD-3-Clause"
] | 6 | 2020-11-05T12:54:18.000Z | 2020-12-08T03:17:22.000Z | CryptographicFields/filters.py | Shahprogrammer/Django-CryptographicFields | e6617c8f6c74e1106f5d65ceb67ae9ec64d93586 | [
"BSD-3-Clause"
] | null | null | null | from datetime import datetime, date as date_, time as time_
from operator import attrgetter
from typing import Any, Callable, Tuple, Union
from django.db.models.query import QuerySet
from copy import deepcopy
def sort(queryset: QuerySet, lookup_function: Callable[[Union[str, int, float, datetime, date_, time_, Any], str, Any], bool], field_name: str, query: Any) -> QuerySet:
"""
Filters queryset
Filters queryset as per lookup provided by user &query provided by user
:param lookup_function: Functions that filters the data
:type lookup_function: Callable[[Union[str,int,float,datetime,date,time,Any],str,Any],bool]
:param queryset: Queryset generated by querying data
:type queryset: QuerySet
:param field_name: Name of the field which is to be filtered
:type field_name: str
:param query: Query for filtering the Queryset
:type query: Any
:return: QuerySet with Filtered Data
:rtype: QuerySet
"""
queryset = deepcopy(queryset)
setattr(queryset, '_result_cache', list(filter(lambda object: lookup_function(
query, field_name, object), queryset)))
return queryset
def order_by(queryset: QuerySet, field_name: Tuple[str, ...], reverse: bool = False) -> QuerySet:
"""
Order Queryset by the given field
Order the Queryset as per field_name given.It supports multiple level of odering
:param queryset: Queryset generated by querying data
:type queryset: QuerySet
:param field_name: Tuple with name of the field from higher priority to lower priority
:type field_name: Tuple
:param reverse: Type of ordering (Ascending|Descending), defaults to False
:type reverse: bool, optional
:return: QuerySet with Ordered Data
:rtype: QuerySet
"""
queryset = deepcopy(queryset)
setattr(queryset, '_result_cache', sorted(
queryset, key=attrgetter(*field_name), reverse=reverse))
return queryset
def startswith(query: str, field_name: str, object: Any) -> bool:
"""
Check if a string is Starts With the query (Case Sensitive)
"""
return str(getattr(object, field_name)).startswith(str(query))
def istartswith(query: str, field_name: str, object: Any) -> bool:
"""
Check if a string is Starts With the query (Not Case Sensitive)
"""
return str(getattr(object, field_name)).casefold().startswith(str(query).casefold())
def endswith(query: str, field_name: str, object: Any) -> bool:
"""
Check if a string is Ends With the query (Case Sensitive)
"""
return str(getattr(object, field_name)).endswith(str(query))
def iendswith(query: str, field_name: str, object: Any) -> bool:
"""
Check if a string is Ends With the query (Not Case Sensitive)
"""
return str(getattr(object, field_name)).casefold().endswith(str(query).casefold())
def contains(query: str, field_name: str, object: Any) -> bool:
"""
Check if query is in value of the object (Case Sensitive)
"""
return str(query) in str(getattr(object, field_name))
def icontains(query: str, field_name: str, object: Any) -> bool:
"""
Check if query is in value of the object (Not Case Sensitive)
"""
return str(query).casefold() in str(getattr(object, field_name)).casefold()
def gt(query: Union[int, float], field_name: str, object: Any) -> bool:
"""
Check if value of object is greater than value of query
"""
return float(getattr(object, field_name)) > float(query)
def gte(query: Union[int, float], field_name: str, object: Any) -> bool:
"""
Check if value of object is greater than or equal to value of query
"""
return float(getattr(object, field_name)) >= float(query)
def lt(query: Union[int, float], field_name: str, object: Any) -> bool:
"""
Check if value of object is less than value of query
"""
return float(getattr(object, field_name)) < float(query)
def lte(query: Union[int, float], field_name: str, object: Any) -> bool:
"""
Check if value of object is less than or equal to value of query
"""
return float(getattr(object, field_name)) <= float(query)
def range(query: Tuple[int, int], field_name: str, object: Any) -> bool:
"""
Check if value of object is in range of query
"""
return query[0] < getattr(object, field_name) < query[1]
def _datetime_gt(query: Union[int, Union[date_, datetime, time_]], value: Union[int, Union[date_, datetime, time_]]) -> bool:
return value > query
def _datetime_gte(query: Union[int, Union[date_, datetime, time_]], value: Union[int, Union[date_, datetime, time_]]) -> bool:
return value >= query
def _datetime_lt(query: Union[int, Union[date_, datetime, time_]], value: Union[int, Union[date_, datetime, time_]]) -> bool:
return value < query
def _datetime_lte(query: Union[int, Union[date_, datetime, time_]], value: Union[int, Union[date_, datetime, time_]]) -> bool:
return value <= query
def _datetime_range(query: Tuple[Union[int, Union[date_, datetime, time_]], Union[int, Union[date_, datetime, time_]]], value: Union[int, Union[date_, datetime, time_]]) -> bool:
return query[0] < value < query[1]
def date(query: Union[date_, datetime], field_name: str, object: Any) -> bool:
"""
Check if value of object is equal to query
"""
value = getattr(object, field_name)
query = query if type(query) == date_ else query.date()
value = value if type(value) == date_ else value.date()
return query == value
def date_lt(query: Union[date_, datetime], field_name: str, object: Any) -> bool:
"""
Check if value of object is less than value of query
"""
value = getattr(object, field_name)
query = query if type(query) == date_ else query.date()
value = value if type(value) == date_ else value.date()
return _datetime_lt(query, value)
def date_lte(query: Union[date_, datetime], field_name: str, object: Any) -> bool:
"""
Check if value of object is less than or equal to value of query
"""
value = getattr(object, field_name)
query = query if type(query) == date_ else query.date()
value = value if type(value) == date_ else value.date()
return _datetime_lte(query, value)
def date_gt(query: Union[date_, datetime], field_name: str, object: Any) -> bool:
"""
Check if value of object is greater than value of query
"""
value = getattr(object, field_name)
query = query if type(query) == date_ else query.date()
value = value if type(value) == date_ else value.date()
return _datetime_gt(query, value)
def date_gte(query: Union[date_, datetime], field_name: str, object: Any) -> bool:
"""
Check if value of object is greater than or equal to value of query
"""
value = getattr(object, field_name)
query = query if type(query) == date_ else query.date()
value = value if type(value) == date_ else value.date()
return _datetime_gte(query, value)
def date_range(query: Tuple[Union[date_, datetime], Union[date_, datetime]], field_name: str, object: Any) -> bool:
"""
Check if value of object is in range of query
"""
value = getattr(object, field_name)
query[0] = query[0] if type(query[0]) == date_ else query[0].date()
query[1] = query[1] if type(query[1]) == date_ else query[1].date()
value = value if type(value) == date_ else value.date()
return _datetime_range(query, value)
def year(query: int, field_name: str, object: Any) -> bool:
"""
Checks if value of object is equal to query
"""
return query == getattr(object, field_name).year
def year_lt(query: int, field_name: str, object: Any) -> bool:
"""
Check if value of object is less than value of query
"""
return _datetime_lt(query, getattr(object, field_name).year)
def year_lte(query: int, field_name: str, object: Any) -> bool:
"""
Check if value of object is less than or equal to value of query
"""
return _datetime_lte(query, getattr(object, field_name).year)
def year_gt(query: int, field_name: str, object: Any) -> bool:
"""
Check if value of object is greater than value of query
"""
return _datetime_gt(query, getattr(object, field_name).year)
def year_gte(query: int, field_name: str, object: Any) -> bool:
"""
Check if value of object is greater than or equal to value of query
"""
return _datetime_gte(query, getattr(object, field_name).year)
def year_range(query: Tuple[int, int], field_name: str, object: Any) -> bool:
"""
Check if value of object is in range of query
"""
return _datetime_range(query, getattr(object, field_name).year)
def month(query: int, field_name: str, object: Any) -> bool:
"""
Checks if value of object is equal to query
"""
return query == getattr(object, field_name).month
def month_lt(query: int, field_name: str, object: Any) -> bool:
"""
Check if value of object is less than value of query
"""
return _datetime_lt(query, getattr(object, field_name).month)
def month_lte(query: int, field_name: str, object: Any) -> bool:
"""
Check if value of object is less than or equal to value of query
"""
return _datetime_lte(query, getattr(object, field_name).month)
def month_gt(query: int, field_name: str, object: Any) -> bool:
"""
Check if value of object is greater than value of query
"""
return _datetime_gt(query, getattr(object, field_name).month)
def month_gte(query: int, field_name: str, object: Any) -> bool:
"""
Check if value of object is greater than or equal to value of query
"""
return _datetime_gte(query, getattr(object, field_name).month)
def month_range(query: Tuple[int, int], field_name: str, object: Any) -> bool:
"""
Check if value of object is in range of query
"""
return _datetime_range(query, getattr(object, field_name).month)
def day(query: int, field_name: str, object: Any) -> bool:
"""
Checks if value of object is equal to query
"""
return query == getattr(object, field_name).day
def day_lt(query: int, field_name: str, object: Any) -> bool:
"""
Check if value of object is less than value of query
"""
return _datetime_lt(query, getattr(object, field_name).day)
def day_lte(query: int, field_name: str, object: Any) -> bool:
"""
Check if value of object is less than or equal to value of query
"""
return _datetime_lte(query, getattr(object, field_name).day)
def day_gt(query: int, field_name: str, object: Any) -> bool:
"""
Check if value of object is greater than value of query
"""
return _datetime_gt(query, getattr(object, field_name).day)
def day_gte(query: int, field_name: str, object: Any) -> bool:
"""
Check if value of object is greater than or equal to value of query
"""
return _datetime_gte(query, getattr(object, field_name).day)
def day_range(query: Tuple[int, int], field_name: str, object: Any) -> bool:
"""
Check if value of object is in range of query
"""
return _datetime_range(query, getattr(object, field_name).day)
def time(query: Union[time_, datetime], field_name: str, object: Any) -> bool:
"""
Checks if value of object is equal to query
"""
value = getattr(object, field_name)
query = query if type(query) == time_ else query.time()
value = value if type(value) == time_ else value.time()
return query == value
def time_lt(query: Union[time_, datetime], field_name: str, object: Any) -> bool:
"""
Check if value of object is less than value of query
"""
value = getattr(object, field_name)
query = query if type(query) == time_ else query.time()
value = value if type(value) == time_ else value.time()
return _datetime_lt(query, value)
def time_lte(query: Union[time_, datetime], field_name: str, object: Any) -> bool:
"""
Check if value of object is less than or equal to value of query
"""
value = getattr(object, field_name)
query = query if type(query) == time_ else query.time()
value = value if type(value) == time_ else value.time()
return _datetime_lte(query, value)
def time_gt(query: Union[time_, datetime], field_name: str, object: Any) -> bool:
"""
Check if value of object is greater than value of query
"""
value = getattr(object, field_name)
query = query if type(query) == time_ else query.time()
value = value if type(value) == time_ else value.time()
return _datetime_gt(query, value)
def time_gte(query: Union[time_, datetime], field_name: str, object: Any) -> bool:
"""
Check if value of object is greater than or equal to value of query
"""
value = getattr(object, field_name)
query = query if type(query) == time_ else query.time()
value = value if type(value) == time_ else value.time()
return _datetime_gte(query, value)
def time_range(query: Tuple[Union[time_, datetime], Union[time_, datetime]], field_name: str, object: Any) -> bool:
"""
Check if value of object is in range of query
"""
value = getattr(object, field_name)
query[0] = query[0] if type(query[0]) == time_ else query[0].time()
query[1] = query[1] if type(query[1]) == time_ else query[1].time()
value = value if type(value) == time_ else value.time()
return _datetime_range(query, value)
def hour(query: int, field_name: str, object: Any) -> bool:
"""
Checks if value of object is equal to query
"""
return query == getattr(object, field_name).hour
def hour_lt(query: int, field_name: str, object: Any) -> bool:
"""
Check if value of object is less than value of query
"""
return _datetime_lt(query, getattr(object, field_name).hour)
def hour_lte(query: int, field_name: str, object: Any) -> bool:
"""
Check if value of object is less than or equal to value of query
"""
return _datetime_lte(query, getattr(object, field_name).hour)
def hour_gt(query: int, field_name: str, object: Any) -> bool:
"""
Check if value of object is greater than value of query
"""
return _datetime_gt(query, getattr(object, field_name).hour)
def hour_gte(query: int, field_name: str, object: Any) -> bool:
"""
Check if value of object is greater than or equal to value of query
"""
return _datetime_gte(query, getattr(object, field_name).hour)
def hour_range(query: Tuple[int, int], field_name: str, object: Any) -> bool:
"""
Check if value of object is in range of query
"""
return _datetime_range(query, getattr(object, field_name).hour)
def minute(query: int, field_name: str, object: Any) -> bool:
"""
Checks if value of object is equal to query
"""
return query == getattr(object, field_name).minute
def minute_lt(query: int, field_name: str, object: Any) -> bool:
"""
Check if value of object is less than value of query
"""
return _datetime_lt(query, getattr(object, field_name).minute)
def minute_lte(query: int, field_name: str, object: Any) -> bool:
"""
Check if value of object is less than or equal to value of query
"""
return _datetime_lte(query, getattr(object, field_name).minute)
def minute_gt(query: int, field_name: str, object: Any) -> bool:
"""
Check if value of object is greater than value of query
"""
return _datetime_gt(query, getattr(object, field_name).minute)
def minute_gte(query: int, field_name: str, object: Any) -> bool:
"""
Check if value of object is greater than or equal to value of query
"""
return _datetime_gte(query, getattr(object, field_name).minute)
def minute_range(query: Tuple[int, int], field_name: str, object: Any) -> bool:
"""
Check if value of object is in range of query
"""
return _datetime_range(query, getattr(object, field_name).minute)
def second(query: int, field_name: str, object: Any) -> bool:
"""
Checks if value of object is equal to query
"""
return query == getattr(object, field_name).second
def second_lt(query: int, field_name: str, object: Any) -> bool:
"""
Check if value of object is less than value of query
"""
return _datetime_lt(query, getattr(object, field_name).second)
def second_lte(query: int, field_name: str, object: Any) -> bool:
"""
Check if value of object is less than or equal to value of query
"""
return _datetime_lte(query, getattr(object, field_name).second)
def second_gt(query: int, field_name: str, object: Any) -> bool:
"""
Check if value of object is greater than value of query
"""
return _datetime_gt(query, getattr(object, field_name).second)
def second_gte(query: int, field_name: str, object: Any) -> bool:
"""
Check if value of object is greater than or equal to value of query
"""
return _datetime_gte(query, getattr(object, field_name).second)
def second_range(query: Tuple[int, int], field_name: str, object: Any) -> bool:
"""
Check if value of object is in range of query
"""
return _datetime_range(query, getattr(object, field_name).second)
def regex(query: Any, field_name: str, object: Any) -> bool:
"""
Checks if query pattern is present in value of object
"""
return bool(list(query.findall(str(getattr(object, field_name)))))
| 33.01711 | 178 | 0.673864 | 2,545 | 17,367 | 4.467191 | 0.048723 | 0.10212 | 0.065441 | 0.094995 | 0.866127 | 0.85654 | 0.834462 | 0.830416 | 0.790747 | 0.790747 | 0 | 0.001455 | 0.208729 | 17,367 | 525 | 179 | 33.08 | 0.825862 | 0.25013 | 0 | 0.273224 | 0 | 0 | 0.002165 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.36612 | false | 0 | 0.027322 | 0.027322 | 0.759563 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
d45be0e40c52252f4bc29b84afd25feb515e260f | 18,421 | py | Python | nova/tests/unit/objects/test_instance_numa_topology.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/tests/unit/objects/test_instance_numa_topology.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/tests/unit/objects/test_instance_numa_topology.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | 2 | 2017-07-20T17:31:34.000Z | 2020-07-24T02:42:19.000Z | begin_unit
comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may'
nl|'\n'
comment|'# not use this file except in compliance with the License. You may obtain'
nl|'\n'
comment|'# a copy of the License at'
nl|'\n'
comment|'#'
nl|'\n'
comment|'# http://www.apache.org/licenses/LICENSE-2.0'
nl|'\n'
comment|'#'
nl|'\n'
comment|'# Unless required by applicable law or agreed to in writing, software'
nl|'\n'
comment|'# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT'
nl|'\n'
comment|'# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the'
nl|'\n'
comment|'# License for the specific language governing permissions and limitations'
nl|'\n'
comment|'# under the License.'
nl|'\n'
nl|'\n'
name|'import'
name|'copy'
newline|'\n'
name|'import'
name|'uuid'
newline|'\n'
nl|'\n'
name|'import'
name|'mock'
newline|'\n'
name|'from'
name|'oslo_serialization'
name|'import'
name|'jsonutils'
newline|'\n'
nl|'\n'
name|'from'
name|'nova'
name|'import'
name|'exception'
newline|'\n'
name|'from'
name|'nova'
name|'import'
name|'objects'
newline|'\n'
name|'from'
name|'nova'
op|'.'
name|'objects'
name|'import'
name|'fields'
newline|'\n'
name|'from'
name|'nova'
op|'.'
name|'tests'
op|'.'
name|'unit'
op|'.'
name|'objects'
name|'import'
name|'test_objects'
newline|'\n'
nl|'\n'
DECL|variable|fake_instance_uuid
name|'fake_instance_uuid'
op|'='
name|'str'
op|'('
name|'uuid'
op|'.'
name|'uuid4'
op|'('
op|')'
op|')'
newline|'\n'
nl|'\n'
DECL|variable|fake_obj_numa_topology
name|'fake_obj_numa_topology'
op|'='
name|'objects'
op|'.'
name|'InstanceNUMATopology'
op|'('
nl|'\n'
DECL|variable|instance_uuid
name|'instance_uuid'
op|'='
name|'fake_instance_uuid'
op|','
nl|'\n'
DECL|variable|cells
name|'cells'
op|'='
op|'['
nl|'\n'
name|'objects'
op|'.'
name|'InstanceNUMACell'
op|'('
nl|'\n'
name|'id'
op|'='
number|'0'
op|','
name|'cpuset'
op|'='
name|'set'
op|'('
op|'['
number|'1'
op|','
number|'2'
op|']'
op|')'
op|','
name|'memory'
op|'='
number|'512'
op|','
name|'pagesize'
op|'='
number|'2048'
op|')'
op|','
nl|'\n'
name|'objects'
op|'.'
name|'InstanceNUMACell'
op|'('
nl|'\n'
name|'id'
op|'='
number|'1'
op|','
name|'cpuset'
op|'='
name|'set'
op|'('
op|'['
number|'3'
op|','
number|'4'
op|']'
op|')'
op|','
name|'memory'
op|'='
number|'512'
op|','
name|'pagesize'
op|'='
number|'2048'
op|')'
nl|'\n'
op|']'
op|')'
newline|'\n'
nl|'\n'
DECL|variable|fake_numa_topology
name|'fake_numa_topology'
op|'='
name|'fake_obj_numa_topology'
op|'.'
name|'_to_dict'
op|'('
op|')'
newline|'\n'
nl|'\n'
DECL|variable|fake_db_topology
name|'fake_db_topology'
op|'='
op|'{'
nl|'\n'
string|"'created_at'"
op|':'
name|'None'
op|','
nl|'\n'
string|"'updated_at'"
op|':'
name|'None'
op|','
nl|'\n'
string|"'deleted_at'"
op|':'
name|'None'
op|','
nl|'\n'
string|"'deleted'"
op|':'
number|'0'
op|','
nl|'\n'
string|"'id'"
op|':'
number|'1'
op|','
nl|'\n'
string|"'instance_uuid'"
op|':'
name|'fake_instance_uuid'
op|','
nl|'\n'
string|"'numa_topology'"
op|':'
name|'fake_obj_numa_topology'
op|'.'
name|'_to_json'
op|'('
op|')'
nl|'\n'
op|'}'
newline|'\n'
nl|'\n'
DECL|variable|fake_old_db_topology
name|'fake_old_db_topology'
op|'='
name|'dict'
op|'('
name|'fake_db_topology'
op|')'
comment|'# copy'
newline|'\n'
name|'fake_old_db_topology'
op|'['
string|"'numa_topology'"
op|']'
op|'='
name|'jsonutils'
op|'.'
name|'dumps'
op|'('
name|'fake_numa_topology'
op|')'
newline|'\n'
nl|'\n'
nl|'\n'
DECL|function|get_fake_obj_numa_topology
name|'def'
name|'get_fake_obj_numa_topology'
op|'('
name|'context'
op|')'
op|':'
newline|'\n'
indent|' '
name|'fake_obj_numa_topology_cpy'
op|'='
name|'fake_obj_numa_topology'
op|'.'
name|'obj_clone'
op|'('
op|')'
newline|'\n'
name|'fake_obj_numa_topology_cpy'
op|'.'
name|'_context'
op|'='
name|'context'
newline|'\n'
name|'return'
name|'fake_obj_numa_topology_cpy'
newline|'\n'
nl|'\n'
nl|'\n'
DECL|class|_TestInstanceNUMATopology
dedent|''
name|'class'
name|'_TestInstanceNUMATopology'
op|'('
name|'object'
op|')'
op|':'
newline|'\n'
indent|' '
op|'@'
name|'mock'
op|'.'
name|'patch'
op|'('
string|"'nova.db.instance_extra_update_by_uuid'"
op|')'
newline|'\n'
DECL|member|test_create
name|'def'
name|'test_create'
op|'('
name|'self'
op|','
name|'mock_update'
op|')'
op|':'
newline|'\n'
indent|' '
name|'topo_obj'
op|'='
name|'get_fake_obj_numa_topology'
op|'('
name|'self'
op|'.'
name|'context'
op|')'
newline|'\n'
name|'topo_obj'
op|'.'
name|'instance_uuid'
op|'='
name|'fake_db_topology'
op|'['
string|"'instance_uuid'"
op|']'
newline|'\n'
name|'topo_obj'
op|'.'
name|'create'
op|'('
op|')'
newline|'\n'
name|'self'
op|'.'
name|'assertEqual'
op|'('
number|'1'
op|','
name|'len'
op|'('
name|'mock_update'
op|'.'
name|'call_args_list'
op|')'
op|')'
newline|'\n'
nl|'\n'
dedent|''
op|'@'
name|'mock'
op|'.'
name|'patch'
op|'('
string|"'nova.db.instance_extra_update_by_uuid'"
op|')'
newline|'\n'
DECL|member|test_save
name|'def'
name|'test_save'
op|'('
name|'self'
op|','
name|'mock_update'
op|')'
op|':'
newline|'\n'
indent|' '
name|'topo_obj'
op|'='
name|'get_fake_obj_numa_topology'
op|'('
name|'self'
op|'.'
name|'context'
op|')'
newline|'\n'
name|'topo_obj'
op|'.'
name|'instance_uuid'
op|'='
name|'fake_db_topology'
op|'['
string|"'instance_uuid'"
op|']'
newline|'\n'
name|'topo_obj'
op|'.'
name|'_save'
op|'('
op|')'
newline|'\n'
name|'self'
op|'.'
name|'assertEqual'
op|'('
number|'1'
op|','
name|'len'
op|'('
name|'mock_update'
op|'.'
name|'call_args_list'
op|')'
op|')'
newline|'\n'
nl|'\n'
DECL|member|_test_get_by_instance_uuid
dedent|''
name|'def'
name|'_test_get_by_instance_uuid'
op|'('
name|'self'
op|')'
op|':'
newline|'\n'
indent|' '
name|'numa_topology'
op|'='
name|'objects'
op|'.'
name|'InstanceNUMATopology'
op|'.'
name|'get_by_instance_uuid'
op|'('
nl|'\n'
name|'self'
op|'.'
name|'context'
op|','
name|'fake_db_topology'
op|'['
string|"'instance_uuid'"
op|']'
op|')'
newline|'\n'
name|'self'
op|'.'
name|'assertEqual'
op|'('
name|'fake_db_topology'
op|'['
string|"'instance_uuid'"
op|']'
op|','
nl|'\n'
name|'numa_topology'
op|'.'
name|'instance_uuid'
op|')'
newline|'\n'
name|'for'
name|'obj_cell'
op|','
name|'topo_cell'
name|'in'
name|'zip'
op|'('
nl|'\n'
name|'numa_topology'
op|'.'
name|'cells'
op|','
name|'fake_obj_numa_topology'
op|'['
string|"'cells'"
op|']'
op|')'
op|':'
newline|'\n'
indent|' '
name|'self'
op|'.'
name|'assertIsInstance'
op|'('
name|'obj_cell'
op|','
name|'objects'
op|'.'
name|'InstanceNUMACell'
op|')'
newline|'\n'
name|'self'
op|'.'
name|'assertEqual'
op|'('
name|'topo_cell'
op|'.'
name|'id'
op|','
name|'obj_cell'
op|'.'
name|'id'
op|')'
newline|'\n'
name|'self'
op|'.'
name|'assertEqual'
op|'('
name|'topo_cell'
op|'.'
name|'cpuset'
op|','
name|'obj_cell'
op|'.'
name|'cpuset'
op|')'
newline|'\n'
name|'self'
op|'.'
name|'assertEqual'
op|'('
name|'topo_cell'
op|'.'
name|'memory'
op|','
name|'obj_cell'
op|'.'
name|'memory'
op|')'
newline|'\n'
name|'self'
op|'.'
name|'assertEqual'
op|'('
name|'topo_cell'
op|'.'
name|'pagesize'
op|','
name|'obj_cell'
op|'.'
name|'pagesize'
op|')'
newline|'\n'
nl|'\n'
dedent|''
dedent|''
op|'@'
name|'mock'
op|'.'
name|'patch'
op|'('
string|"'nova.db.instance_extra_get_by_instance_uuid'"
op|')'
newline|'\n'
DECL|member|test_get_by_instance_uuid
name|'def'
name|'test_get_by_instance_uuid'
op|'('
name|'self'
op|','
name|'mock_get'
op|')'
op|':'
newline|'\n'
indent|' '
name|'mock_get'
op|'.'
name|'return_value'
op|'='
name|'fake_db_topology'
newline|'\n'
name|'self'
op|'.'
name|'_test_get_by_instance_uuid'
op|'('
op|')'
newline|'\n'
nl|'\n'
dedent|''
op|'@'
name|'mock'
op|'.'
name|'patch'
op|'('
string|"'nova.db.instance_extra_get_by_instance_uuid'"
op|')'
newline|'\n'
DECL|member|test_get_by_instance_uuid_old
name|'def'
name|'test_get_by_instance_uuid_old'
op|'('
name|'self'
op|','
name|'mock_get'
op|')'
op|':'
newline|'\n'
indent|' '
name|'mock_get'
op|'.'
name|'return_value'
op|'='
name|'fake_old_db_topology'
newline|'\n'
name|'self'
op|'.'
name|'_test_get_by_instance_uuid'
op|'('
op|')'
newline|'\n'
nl|'\n'
dedent|''
op|'@'
name|'mock'
op|'.'
name|'patch'
op|'('
string|"'nova.db.instance_extra_get_by_instance_uuid'"
op|')'
newline|'\n'
DECL|member|test_get_by_instance_uuid_missing
name|'def'
name|'test_get_by_instance_uuid_missing'
op|'('
name|'self'
op|','
name|'mock_get'
op|')'
op|':'
newline|'\n'
indent|' '
name|'mock_get'
op|'.'
name|'return_value'
op|'='
name|'None'
newline|'\n'
name|'self'
op|'.'
name|'assertRaises'
op|'('
nl|'\n'
name|'exception'
op|'.'
name|'NumaTopologyNotFound'
op|','
nl|'\n'
name|'objects'
op|'.'
name|'InstanceNUMATopology'
op|'.'
name|'get_by_instance_uuid'
op|','
nl|'\n'
name|'self'
op|'.'
name|'context'
op|','
string|"'fake_uuid'"
op|')'
newline|'\n'
nl|'\n'
DECL|member|test_siblings
dedent|''
name|'def'
name|'test_siblings'
op|'('
name|'self'
op|')'
op|':'
newline|'\n'
indent|' '
name|'inst_cell'
op|'='
name|'objects'
op|'.'
name|'InstanceNUMACell'
op|'('
nl|'\n'
name|'cpuset'
op|'='
name|'set'
op|'('
op|'['
number|'0'
op|','
number|'1'
op|','
number|'2'
op|']'
op|')'
op|')'
newline|'\n'
name|'self'
op|'.'
name|'assertEqual'
op|'('
op|'['
op|']'
op|','
name|'inst_cell'
op|'.'
name|'siblings'
op|')'
newline|'\n'
nl|'\n'
name|'topo'
op|'='
name|'objects'
op|'.'
name|'VirtCPUTopology'
op|'('
name|'sockets'
op|'='
number|'1'
op|','
name|'cores'
op|'='
number|'3'
op|','
name|'threads'
op|'='
number|'0'
op|')'
newline|'\n'
name|'inst_cell'
op|'='
name|'objects'
op|'.'
name|'InstanceNUMACell'
op|'('
nl|'\n'
name|'cpuset'
op|'='
name|'set'
op|'('
op|'['
number|'0'
op|','
number|'1'
op|','
number|'2'
op|']'
op|')'
op|','
name|'cpu_topology'
op|'='
name|'topo'
op|')'
newline|'\n'
name|'self'
op|'.'
name|'assertEqual'
op|'('
op|'['
op|']'
op|','
name|'inst_cell'
op|'.'
name|'siblings'
op|')'
newline|'\n'
nl|'\n'
comment|'# One thread actually means no threads'
nl|'\n'
name|'topo'
op|'='
name|'objects'
op|'.'
name|'VirtCPUTopology'
op|'('
name|'sockets'
op|'='
number|'1'
op|','
name|'cores'
op|'='
number|'3'
op|','
name|'threads'
op|'='
number|'1'
op|')'
newline|'\n'
name|'inst_cell'
op|'='
name|'objects'
op|'.'
name|'InstanceNUMACell'
op|'('
nl|'\n'
name|'cpuset'
op|'='
name|'set'
op|'('
op|'['
number|'0'
op|','
number|'1'
op|','
number|'2'
op|']'
op|')'
op|','
name|'cpu_topology'
op|'='
name|'topo'
op|')'
newline|'\n'
name|'self'
op|'.'
name|'assertEqual'
op|'('
op|'['
op|']'
op|','
name|'inst_cell'
op|'.'
name|'siblings'
op|')'
newline|'\n'
nl|'\n'
name|'topo'
op|'='
name|'objects'
op|'.'
name|'VirtCPUTopology'
op|'('
name|'sockets'
op|'='
number|'1'
op|','
name|'cores'
op|'='
number|'2'
op|','
name|'threads'
op|'='
number|'2'
op|')'
newline|'\n'
name|'inst_cell'
op|'='
name|'objects'
op|'.'
name|'InstanceNUMACell'
op|'('
nl|'\n'
name|'cpuset'
op|'='
name|'set'
op|'('
op|'['
number|'0'
op|','
number|'1'
op|','
number|'2'
op|','
number|'3'
op|']'
op|')'
op|','
name|'cpu_topology'
op|'='
name|'topo'
op|')'
newline|'\n'
name|'self'
op|'.'
name|'assertEqual'
op|'('
op|'['
name|'set'
op|'('
op|'['
number|'0'
op|','
number|'1'
op|']'
op|')'
op|','
name|'set'
op|'('
op|'['
number|'2'
op|','
number|'3'
op|']'
op|')'
op|']'
op|','
name|'inst_cell'
op|'.'
name|'siblings'
op|')'
newline|'\n'
nl|'\n'
name|'topo'
op|'='
name|'objects'
op|'.'
name|'VirtCPUTopology'
op|'('
name|'sockets'
op|'='
number|'1'
op|','
name|'cores'
op|'='
number|'1'
op|','
name|'threads'
op|'='
number|'4'
op|')'
newline|'\n'
name|'inst_cell'
op|'='
name|'objects'
op|'.'
name|'InstanceNUMACell'
op|'('
nl|'\n'
name|'cpuset'
op|'='
name|'set'
op|'('
op|'['
number|'0'
op|','
number|'1'
op|','
number|'2'
op|','
number|'3'
op|']'
op|')'
op|','
name|'cpu_topology'
op|'='
name|'topo'
op|')'
newline|'\n'
name|'self'
op|'.'
name|'assertEqual'
op|'('
op|'['
name|'set'
op|'('
op|'['
number|'0'
op|','
number|'1'
op|','
number|'2'
op|','
number|'3'
op|']'
op|')'
op|']'
op|','
name|'inst_cell'
op|'.'
name|'siblings'
op|')'
newline|'\n'
nl|'\n'
DECL|member|test_pin
dedent|''
name|'def'
name|'test_pin'
op|'('
name|'self'
op|')'
op|':'
newline|'\n'
indent|' '
name|'inst_cell'
op|'='
name|'objects'
op|'.'
name|'InstanceNUMACell'
op|'('
name|'cpuset'
op|'='
name|'set'
op|'('
op|'['
number|'0'
op|','
number|'1'
op|','
number|'2'
op|','
number|'3'
op|']'
op|')'
op|','
nl|'\n'
name|'cpu_pinning'
op|'='
name|'None'
op|')'
newline|'\n'
name|'inst_cell'
op|'.'
name|'pin'
op|'('
number|'0'
op|','
number|'14'
op|')'
newline|'\n'
name|'self'
op|'.'
name|'assertEqual'
op|'('
op|'{'
number|'0'
op|':'
number|'14'
op|'}'
op|','
name|'inst_cell'
op|'.'
name|'cpu_pinning'
op|')'
newline|'\n'
name|'inst_cell'
op|'.'
name|'pin'
op|'('
number|'12'
op|','
number|'14'
op|')'
newline|'\n'
name|'self'
op|'.'
name|'assertEqual'
op|'('
op|'{'
number|'0'
op|':'
number|'14'
op|'}'
op|','
name|'inst_cell'
op|'.'
name|'cpu_pinning'
op|')'
newline|'\n'
name|'inst_cell'
op|'.'
name|'pin'
op|'('
number|'1'
op|','
number|'16'
op|')'
newline|'\n'
name|'self'
op|'.'
name|'assertEqual'
op|'('
op|'{'
number|'0'
op|':'
number|'14'
op|','
number|'1'
op|':'
number|'16'
op|'}'
op|','
name|'inst_cell'
op|'.'
name|'cpu_pinning'
op|')'
newline|'\n'
nl|'\n'
DECL|member|test_pin_vcpus
dedent|''
name|'def'
name|'test_pin_vcpus'
op|'('
name|'self'
op|')'
op|':'
newline|'\n'
indent|' '
name|'inst_cell'
op|'='
name|'objects'
op|'.'
name|'InstanceNUMACell'
op|'('
name|'cpuset'
op|'='
name|'set'
op|'('
op|'['
number|'0'
op|','
number|'1'
op|','
number|'2'
op|','
number|'3'
op|']'
op|')'
op|','
nl|'\n'
name|'cpu_pinning'
op|'='
name|'None'
op|')'
newline|'\n'
name|'inst_cell'
op|'.'
name|'pin_vcpus'
op|'('
op|'('
number|'0'
op|','
number|'14'
op|')'
op|','
op|'('
number|'1'
op|','
number|'15'
op|')'
op|','
op|'('
number|'2'
op|','
number|'16'
op|')'
op|','
op|'('
number|'3'
op|','
number|'17'
op|')'
op|')'
newline|'\n'
name|'self'
op|'.'
name|'assertEqual'
op|'('
op|'{'
number|'0'
op|':'
number|'14'
op|','
number|'1'
op|':'
number|'15'
op|','
number|'2'
op|':'
number|'16'
op|','
number|'3'
op|':'
number|'17'
op|'}'
op|','
name|'inst_cell'
op|'.'
name|'cpu_pinning'
op|')'
newline|'\n'
nl|'\n'
DECL|member|test_default_behavior
dedent|''
name|'def'
name|'test_default_behavior'
op|'('
name|'self'
op|')'
op|':'
newline|'\n'
indent|' '
name|'inst_cell'
op|'='
name|'objects'
op|'.'
name|'InstanceNUMACell'
op|'('
op|')'
newline|'\n'
name|'self'
op|'.'
name|'assertEqual'
op|'('
number|'0'
op|','
name|'len'
op|'('
name|'inst_cell'
op|'.'
name|'obj_get_changes'
op|'('
op|')'
op|')'
op|')'
newline|'\n'
nl|'\n'
DECL|member|test_cpu_pinning_requested_cell
dedent|''
name|'def'
name|'test_cpu_pinning_requested_cell'
op|'('
name|'self'
op|')'
op|':'
newline|'\n'
indent|' '
name|'inst_cell'
op|'='
name|'objects'
op|'.'
name|'InstanceNUMACell'
op|'('
name|'cpuset'
op|'='
name|'set'
op|'('
op|'['
number|'0'
op|','
number|'1'
op|','
number|'2'
op|','
number|'3'
op|']'
op|')'
op|','
nl|'\n'
name|'cpu_pinning'
op|'='
name|'None'
op|')'
newline|'\n'
name|'self'
op|'.'
name|'assertFalse'
op|'('
name|'inst_cell'
op|'.'
name|'cpu_pinning_requested'
op|')'
newline|'\n'
name|'inst_cell'
op|'.'
name|'cpu_policy'
op|'='
name|'fields'
op|'.'
name|'CPUAllocationPolicy'
op|'.'
name|'DEDICATED'
newline|'\n'
name|'self'
op|'.'
name|'assertTrue'
op|'('
name|'inst_cell'
op|'.'
name|'cpu_pinning_requested'
op|')'
newline|'\n'
nl|'\n'
DECL|member|test_cpu_pinning_requested
dedent|''
name|'def'
name|'test_cpu_pinning_requested'
op|'('
name|'self'
op|')'
op|':'
newline|'\n'
indent|' '
name|'fake_topo_obj'
op|'='
name|'copy'
op|'.'
name|'deepcopy'
op|'('
name|'fake_obj_numa_topology'
op|')'
newline|'\n'
name|'self'
op|'.'
name|'assertFalse'
op|'('
name|'fake_topo_obj'
op|'.'
name|'cpu_pinning_requested'
op|')'
newline|'\n'
name|'for'
name|'cell'
name|'in'
name|'fake_topo_obj'
op|'.'
name|'cells'
op|':'
newline|'\n'
indent|' '
name|'cell'
op|'.'
name|'cpu_policy'
op|'='
name|'fields'
op|'.'
name|'CPUAllocationPolicy'
op|'.'
name|'DEDICATED'
newline|'\n'
dedent|''
name|'self'
op|'.'
name|'assertTrue'
op|'('
name|'fake_topo_obj'
op|'.'
name|'cpu_pinning_requested'
op|')'
newline|'\n'
nl|'\n'
DECL|member|test_clear_host_pinning
dedent|''
name|'def'
name|'test_clear_host_pinning'
op|'('
name|'self'
op|')'
op|':'
newline|'\n'
indent|' '
name|'topo_obj'
op|'='
name|'get_fake_obj_numa_topology'
op|'('
name|'self'
op|'.'
name|'context'
op|')'
newline|'\n'
name|'topo_obj'
op|'.'
name|'cells'
op|'['
number|'0'
op|']'
op|'.'
name|'pin_vcpus'
op|'('
op|'('
number|'1'
op|','
number|'10'
op|')'
op|','
op|'('
number|'2'
op|','
number|'11'
op|')'
op|')'
newline|'\n'
name|'topo_obj'
op|'.'
name|'cells'
op|'['
number|'0'
op|']'
op|'.'
name|'id'
op|'='
number|'3'
newline|'\n'
name|'topo_obj'
op|'.'
name|'cells'
op|'['
number|'1'
op|']'
op|'.'
name|'pin_vcpus'
op|'('
op|'('
number|'3'
op|','
number|'0'
op|')'
op|','
op|'('
number|'4'
op|','
number|'1'
op|')'
op|')'
newline|'\n'
name|'topo_obj'
op|'.'
name|'cells'
op|'['
number|'1'
op|']'
op|'.'
name|'id'
op|'='
number|'0'
newline|'\n'
nl|'\n'
name|'topo_obj'
op|'.'
name|'clear_host_pinning'
op|'('
op|')'
newline|'\n'
nl|'\n'
name|'self'
op|'.'
name|'assertEqual'
op|'('
op|'{'
op|'}'
op|','
name|'topo_obj'
op|'.'
name|'cells'
op|'['
number|'0'
op|']'
op|'.'
name|'cpu_pinning'
op|')'
newline|'\n'
name|'self'
op|'.'
name|'assertEqual'
op|'('
op|'-'
number|'1'
op|','
name|'topo_obj'
op|'.'
name|'cells'
op|'['
number|'0'
op|']'
op|'.'
name|'id'
op|')'
newline|'\n'
name|'self'
op|'.'
name|'assertEqual'
op|'('
op|'{'
op|'}'
op|','
name|'topo_obj'
op|'.'
name|'cells'
op|'['
number|'1'
op|']'
op|'.'
name|'cpu_pinning'
op|')'
newline|'\n'
name|'self'
op|'.'
name|'assertEqual'
op|'('
op|'-'
number|'1'
op|','
name|'topo_obj'
op|'.'
name|'cells'
op|'['
number|'1'
op|']'
op|'.'
name|'id'
op|')'
newline|'\n'
nl|'\n'
nl|'\n'
dedent|''
dedent|''
name|'class'
name|'TestInstanceNUMATopology'
op|'('
name|'test_objects'
op|'.'
name|'_LocalTest'
op|','
nl|'\n'
DECL|class|TestInstanceNUMATopology
name|'_TestInstanceNUMATopology'
op|')'
op|':'
newline|'\n'
indent|' '
name|'pass'
newline|'\n'
nl|'\n'
nl|'\n'
dedent|''
name|'class'
name|'TestInstanceNUMATopologyRemote'
op|'('
name|'test_objects'
op|'.'
name|'_RemoteTest'
op|','
nl|'\n'
DECL|class|TestInstanceNUMATopologyRemote
name|'_TestInstanceNUMATopology'
op|')'
op|':'
newline|'\n'
indent|' '
name|'pass'
newline|'\n'
dedent|''
endmarker|''
end_unit
| 12.103154 | 88 | 0.60621 | 2,786 | 18,421 | 3.881192 | 0.066403 | 0.160363 | 0.081384 | 0.053084 | 0.86581 | 0.816147 | 0.754832 | 0.713123 | 0.652455 | 0.615 | 0 | 0.008835 | 0.096737 | 18,421 | 1,521 | 89 | 12.111111 | 0.641024 | 0 | 0 | 0.943458 | 0 | 0 | 0.348081 | 0.054612 | 0 | 0 | 0 | 0 | 0.017751 | 0 | null | null | 0.001315 | 0.00526 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d4831b88213426edeba24c8da7ef52f9ed99e051 | 142 | py | Python | src/flights/__init__.py | villoro/airflow_tasks | 81bd892744a9bbbf6e01903649b6c3786a955a5a | [
"MIT"
] | null | null | null | src/flights/__init__.py | villoro/airflow_tasks | 81bd892744a9bbbf6e01903649b6c3786a955a5a | [
"MIT"
] | 4 | 2020-10-09T15:59:09.000Z | 2020-11-18T08:34:44.000Z | src/flights/__init__.py | villoro/airflow_tasks | 81bd892744a9bbbf6e01903649b6c3786a955a5a | [
"MIT"
] | null | null | null | from . import constants
from . import process
from . import rapidapi
from .process import flights
from .process import merge_flights_history
| 20.285714 | 42 | 0.816901 | 19 | 142 | 6 | 0.421053 | 0.263158 | 0.298246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147887 | 142 | 6 | 43 | 23.666667 | 0.942149 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
2e0adf944dbd87dc8e3d89404254a7aea872cc6a | 20,273 | py | Python | code/CO2/main.py | quangmnh/Math-Modeling-Assignment-201 | 4adf292b076c545582dd7c3c9f4abf2509aaa895 | [
"MIT"
] | 4 | 2021-02-09T05:23:35.000Z | 2021-02-13T14:03:33.000Z | code/CO2/main.py | quangmnh/Math-Modeling-Assignment-201 | 4adf292b076c545582dd7c3c9f4abf2509aaa895 | [
"MIT"
] | null | null | null | code/CO2/main.py | quangmnh/Math-Modeling-Assignment-201 | 4adf292b076c545582dd7c3c9f4abf2509aaa895 | [
"MIT"
] | 1 | 2021-05-12T15:08:07.000Z | 2021-05-12T15:08:07.000Z | import init
import numpy as np
import matplotlib.pyplot as plt
import sys
sys.stdout = open("log.txt", "w")
list_CO2_air_euler = []
list_CO2_top_euler = []
list_CO2_air_rk4 = []
list_CO2_top_rk4 = []
list_real_CO2_air_data = []
list_err_euler = []
list_err_rk4 = []
list_MC_ext_air = []
list_MC_air_top_Air = []
list_MC_air_out = []
list_MC_air_can = []
list_MC_air_top_Top = []
list_MC_top_out = []
def randomU():
init.U_blow = np.random.uniform(0, 1)
init.U_pad = np.random.uniform(0, 1)
init.U_shscr = np.random.uniform(0, 1)
init.PAR_can = np.random.normal(100, 50)
def f_func(CO2_air, CO2_top, flag):
MC_blow_air = init.MC_blow_air(
init.eta_heatCO2,
init.U_blow,
init.P_blow,
init.A_flr
)
MC_ext_air = init.MC_ext_air(
init.U_extCO2,
init.phi_extCO2,
init.A_flr
)
MC_pad_air = init.MC_pad_air(
init.U_pad,
init.phi_pad,
init.A_flr,
init.CO2_out,
CO2_air
)
MC_air_can = init.MC_air_can(
init.M_CH2O,
init.h_Cbuf(init.C_buf, init.C_max_buf),
init.P(
init.J(
init.J_POT(
init.J_MAX_25can(init.LAI, init.J_MAX_25leaf),
init.Ej,
init.T_can,
init.T_25,
init.R,
init.S,
init.H
),
init.alpha,
init.PAR_can,
init.Theta
),
init.CO2_stom(
init.eta_CO2_air_stom,
CO2_air
),
init.Gamma(
init.J_MAX_25can(init.LAI, init.J_MAX_25leaf),
init.J_MAX_25leaf,
init.c_Gamma,
init.T_can
)
),
init.R_P(
init.P(
init.J(
init.J_POT(
init.J_MAX_25can(
init.LAI,
init.J_MAX_25leaf
),
init.Ej,
init.T_can,
init.T_25,
init.R,
init.S,
init.H
),
init.alpha,
init.PAR_can,
init.Theta
),
init.CO2_stom(
init.eta_CO2_air_stom,
CO2_air
),
init.Gamma(
init.J_MAX_25can(init.LAI, init.J_MAX_25leaf),
init.J_MAX_25leaf,
init.c_Gamma,
init.T_can
)
),
init.Gamma(
init.J_MAX_25can(init.LAI, init.J_MAX_25leaf),
init.J_MAX_25leaf,
init.c_Gamma,
init.T_can
),
init.CO2_stom(
init.eta_CO2_air_stom,
CO2_air
)
)
)
MC_air_top = init.MC_air_top(
init.f_thscr(
init.U_thscr,
init.K_thscr,
init.T_air,
init.T_top,
init.g,
init.rho_mean_air(
init.rho_air0,
init.g,
init.M_air,
init.h_elevation_mean_air,
init.T_air,
init.T_top,
init.R
),
init.rho_air(
init.rho_air0,
init.g,
init.M_air,
init.h_elevation,
init.T_air,
init.R
),
init.rho_top(
init.rho_air0,
init.g,
init.M_air,
init.h_elevation_top,
init.T_top,
init.R
)
),
CO2_air,
CO2_top
)
MC_air_out = init.MC_air_out(
init.f_vent_side(
init.eta_insscr(init.zeta_insscr),
init.f2_vent_side(
init.C_d(
init.C_d_Gh,
init.eta_shscrCd,
init.U_shscr
),
init.U_side,
init.A_side,
init.v_wind,
init.A_flr,
init.C_w(
init.C_w_Gh,
init.eta_shscrCw,
init.U_shscr
)
),
init.f_leakage(
init.c_leakage,
init.v_wind
),
init.U_thscr,
init.f_vent_roof_side(
init.C_d(
init.C_d_Gh,
init.eta_shscrCd,
init.U_shscr
),
init.A_flr,
init.U_roof,
init.U_side,
init.A_roof,
init.A_side,
init.g,
init.h_side_roof,
init.T_air,
init.T_out,
init.T_mean_air(init.T_air, init.T_out),
init.C_w(
init.C_w_Gh,
init.eta_shscrCw,
init.U_shscr
),
init.v_wind
),
init.eta_side(
init.U_roof,
init.U_side,
init.A_roof,
init.A_side
),
init.eta_roof(
init.U_roof,
init.U_side,
init.A_roof,
init.A_side
),
init.eta_roof_thr
),
init.f_vent_forced(
init.eta_insscr(init.zeta_insscr),
init.U_vent_forced,
init.phi_vent_forced,
init.A_flr
),
CO2_air,
init.CO2_out
)
if flag:
# print("MC_ext_air= ", MC_ext_air)
# print("MC_air_top= ", MC_air_top)
# print("MC_air_out= ", MC_air_out)
# print("MC_air_can= ", MC_air_can)
# print("Result= ", (MC_blow_air + MC_ext_air + MC_pad_air - MC_air_can - MC_air_top - MC_air_out) / init.cap_CO2_air)
# print("--------------------------")
list_MC_air_can.append(MC_air_can)
list_MC_air_top_Air.append(MC_air_top)
list_MC_air_out.append(MC_air_out)
list_MC_ext_air.append(MC_ext_air)
return (MC_blow_air + MC_ext_air + MC_pad_air - MC_air_can - MC_air_top - MC_air_out) / init.cap_CO2_air
def g_func(CO2_air, CO2_top, flag):
MC_air_top = init.MC_air_top(
init.f_thscr(
init.U_thscr,
init.K_thscr,
init.T_air,
init.T_top,
init.g,
init.rho_mean_air(
init.rho_air0,
init.g,
init.M_air,
init.h_elevation_mean_air,
init.T_air,
init.T_top,
init.R
),
init.rho_air(
init.rho_air0,
init.g,
init.M_air,
init.h_elevation,
init.T_air,
init.R
),
init.rho_top(
init.rho_air0,
init.g,
init.M_air,
init.h_elevation_top,
init.T_top,
init.R
)
),
CO2_air,
CO2_top
)
MC_top_out = init.MC_top_out(
init.f_vent_roof(
init.eta_insscr(init.zeta_insscr),
init.f2_vent_roof(
init.C_d(
init.C_d_Gh,
init.eta_shscrCd,
init.U_shscr
),
init.U_roof,
init.A_roof,
init.A_flr,
init.g,
init.h_roof,
init.T_air,
init.T_out,
init.T_mean_air(
init.T_air,
init.T_out
),
init.C_w(
init.C_w_Gh,
init.eta_shscrCw,
init.U_shscr
),
init.v_wind
),
init.f_leakage(
init.c_leakage,
init.v_wind
),
init.U_thscr,
init.f_vent_roof_side(
init.C_d(
init.C_d_Gh,
init.eta_shscrCd,
init.U_shscr
),
init.A_flr,
init.U_roof,
init.U_side,
init.A_roof,
init.A_side,
init.g,
init.h_side_roof,
init.T_air,
init.T_out,
init.T_mean_air(init.T_air, init.T_out),
init.C_w(
init.C_w_Gh,
init.eta_shscrCw,
init.U_shscr
),
init.v_wind
),
init.eta_roof(
init.U_roof,
init.U_side,
init.A_roof,
init.A_side
),
init.eta_roof_thr
),
CO2_top,
init.CO2_out
)
if flag:
# print("MC_air_top= ", MC_air_top)
# print("MC_top_out= ", MC_top_out)
# print("-------------------------")
list_MC_air_top_Top.append(MC_air_top)
list_MC_top_out.append(MC_top_out)
return (MC_air_top - MC_top_out) / init.cap_CO2_top
def dx(x0, y0, flag):
'''
Calculate the rate of change in CO2 concentration in greenhouse and top of greenhouse
:param x0: CO2-concentration of the greenhouse air at time start t
:param y0: CO2-concentration of the top greenhouse air at time start t
:param flag: To be used for printing result to log file and saving to data for plotting
'''
CO2_air = f_func(x0, y0, flag)
CO2_top = g_func(x0, y0, flag)
return CO2_air, CO2_top
def euler(dx, x0, y0, h, flag):
'''
Calculate the approximate value of CO2-concentration of the greenhouse air
and CO2-concentration of the top greenhouse air
:param dx: the callable function of the ODE system
:param x0: CO2-concentration of the greenhouse air at time start t
:param y0: CO2-concentration of the top greenhouse air at time start t
:param h: step approximation
:param flag: To be used for printing result to log file and saving to data for plotting
'''
Kx, Ky = dx(x0, y0, flag)
Kx = h * Kx
Ky = h * Ky
x0 = x0 + Kx
y0 = y0 + Ky
return x0, y0
def euler_loop(x0, y0, h, n):
'''
Calculate the approximate value of CO2-concentration of the greenhouse air
and CO2-concentration of the top greenhouse air at t + h, t + 2h, ..., t + n*h
:param x0: CO2-concentration of the greenhouse air at time start t
:param y0: CO2-concentration of the top greenhouse air at time start t
:param h: step approximation
:param n: the number of times you want to get data (means you can still get data after
n*h (minutes))
'''
print("------EULER RESULT------")
file_meteo = open("meteo.csv")
file_meteo.readline()
file_ghc = open("Greenhouse_climate.csv")
file_ghc.readline()
file_vip = open("vip.csv")
file_vip.readline()
CO2_air = x0
CO2_top = y0
step_next = 1
step = 0.1
n *= 300
i = 0
t0 = 0
getData = False
CO2_air_real_data = 427
while i < n:
if i // 300 >= step_next:
step_next += 1
line_meteo = file_meteo.readline()
line_ghc = file_ghc.readline()
line_vip = file_vip.readline()
elements_vip = line_vip.split(',')
while "NaN" in line_meteo or "NaN" in line_ghc or elements_vip[1] == "NaN":
line_meteo = file_meteo.readline()
line_ghc = file_ghc.readline()
line_vip = file_vip.readline()
elements_vip = line_vip.split(',')
elements_vip = line_vip.split(',')
elements_meteo = line_meteo.split(',')
elements_ghc = line_ghc.split(',')
init.v_wind = float(elements_meteo[10])
init.T_out = float(elements_meteo[8])
init.T_air = float(elements_ghc[9])
init.U_thscr = float(elements_ghc[3]) / 100
init.U_roof = (float(elements_ghc[10]) + float(elements_ghc[11])) / 200
init.T_can = init.T_air + 15
init.T_top = init.T_air + 1
if elements_vip[0] == "NaN":
init.U_extCO2 = np.random.uniform(0, 0.3)
elif init.convert_mgm3_to_ppm(CO2_air) < float(elements_vip[0]):
init.U_extCO2 = 1
else:
init.U_extCO2 = 0
CO2_air_real_data = float(elements_ghc[2])
getData = True
if getData:
randomU()
getData = False
CO2_air_step, CO2_top_step = euler(dx, CO2_air, CO2_top, step, getData)
CO2_air = CO2_air_step
CO2_top = CO2_top_step
if t0 % (h * 60) == 0:
print("CO2_real: ", CO2_air_real_data)
list_real_CO2_air_data.append(CO2_air_real_data)
err = abs(CO2_air_real_data - CO2_air)
list_err_euler.append(init.convert_mgm3_to_ppm(err))
list_CO2_air_euler.append(init.convert_mgm3_to_ppm(CO2_air))
list_CO2_top_euler.append(init.convert_mgm3_to_ppm(CO2_top))
print("CO2_air at t +", t0 // 60, "=", init.convert_mgm3_to_ppm(CO2_air))
print("CO2_air at t +", t0 // 60, "=", init.convert_mgm3_to_ppm(CO2_top))
print("------------------")
i += 1
t0 += 1
file_meteo.close()
file_ghc.close()
file_vip.close()
def rk4(dx, x0, y0, h, flag):
'''
Calculate the approximate value of CO2-concentration of the greenhouse air
and CO2-concentration of the top greenhouse air
:param dx: the callable function of the ODE system
:param x0: CO2-concentration of the greenhouse air at time start t
:param y0: CO2-concentration of the top greenhouse air at time start t
:param h: step approximation
:param flag: To be used for printing result to log file and saving to data for plotting
'''
K1x, K1y = dx(x0, y0, flag)
K1x = h * K1x
K1y = h * K1y
K2x, K2y = dx(x0 + K1x/2, y0 + K1y/2, flag)
K2x = h * K2x
K2y = h * K2y
K3x, K3y = dx(x0 + K2x/2, y0 + K2y/2, flag)
K3x = h * K3x
K3y = h * K3y
K4x, K4y = dx(x0 + K3x, y0 + K3y, flag)
K4x = h * K4x
K4y = h * K4y
Kx = (1 / 6) * (K1x + 2 * K2x + 2 * K3x + K4x)
x0 = x0 + Kx
Ky = (1 / 6) * (K1y + 2 * K2y + 2 * K3y + K4y)
y0 = y0 + Ky
return x0, y0
def rk4_loop(x0, y0, h, n):
'''
Calculate the approximate value of CO2-concentration of the greenhouse air
and CO2-concentration of the top greenhouse air at t + h, t + 2h, ..., t + n*h
:param x0: CO2-concentration of the greenhouse air at time start t
:param y0: CO2-concentration of the top greenhouse air at time start t
:param h: step approximation
:param n: the number of times you want to get data (means you can still get data after
n*h (minutes))
'''
print("------RUNGE-KUTTA 4 RESULT------")
file_meteo = open("meteo.csv")
file_meteo.readline()
file_ghc = open("Greenhouse_climate.csv")
file_ghc.readline()
file_vip = open("vip.csv")
file_vip.readline()
CO2_air = x0
CO2_top = y0
step_next = 1
step = 0.1
n *= 300
i = 0
t0 = 0
getData = False
CO2_air_real_data = 427
while i < n:
if i // 300 >= step_next:
step_next += 1
line_meteo = file_meteo.readline()
line_ghc = file_ghc.readline()
line_vip = file_vip.readline()
elements_vip = line_vip.split(',')
while "NaN" in line_meteo or "NaN" in line_ghc or elements_vip[1] == "NaN":
line_meteo = file_meteo.readline()
line_ghc = file_ghc.readline()
line_vip = file_vip.readline()
elements_vip = line_vip.split(',')
elements_vip = line_vip.split(',')
elements_meteo = line_meteo.split(',')
elements_ghc = line_ghc.split(',')
init.v_wind = float(elements_meteo[10])
init.T_out = float(elements_meteo[8])
init.T_air = float(elements_ghc[9])
init.U_thscr = float(elements_ghc[3]) / 100
init.U_roof = (float(elements_ghc[10]) + float(elements_ghc[11])) / 200
init.T_can = init.T_air + 15
init.T_top = init.T_air + 1
if elements_vip[0] == "NaN":
init.U_extCO2 = np.random.uniform(0, 0.3)
elif init.convert_mgm3_to_ppm(CO2_air) < float(elements_vip[0]):
init.U_extCO2 = 1
else:
init.U_extCO2 = 0
CO2_air_real_data = float(elements_ghc[2])
getData = True
if getData:
randomU()
getData = False
CO2_air_step, CO2_top_step = rk4(dx, CO2_air, CO2_top, step, getData)
CO2_air = CO2_air_step
CO2_top = CO2_top_step
if t0 % (h * 60) == 0:
print("CO2_real: ", CO2_air_real_data)
list_real_CO2_air_data.append(CO2_air_real_data)
err = abs(CO2_air_real_data - CO2_air)
list_err_rk4.append(init.convert_mgm3_to_ppm(err))
list_CO2_air_rk4.append(init.convert_mgm3_to_ppm(CO2_air))
list_CO2_top_rk4.append(init.convert_mgm3_to_ppm(CO2_top))
print("CO2_air at t +", t0 // 60, "=", init.convert_mgm3_to_ppm(CO2_air))
print("CO2_air at t +", t0 // 60, "=", init.convert_mgm3_to_ppm(CO2_top))
print("------------------")
i += 1
t0 += 1
file_meteo.close()
file_ghc.close()
file_vip.close()
CO2_air_0 = init.convert_ppm_to_mgm3(427)
CO2_top_0 = init.convert_ppm_to_mgm3(427)
# CO2_air_diff, CO2_top_diff = dx(CO2_air_0, CO2_top_0)
# print("CO2_air_diff =", init.convert_mgm3_to_ppm(CO2_air_diff))
# print("CO2_top_diff =", init.convert_mgm3_to_ppm(CO2_top_diff))
step = 5
n = 1000
# euler_loop(CO2_air_0, CO2_top_0, step, n)
rk4_loop(CO2_air_0, CO2_top_0, step, n)
err_mean = 0
for i in range(len(list_err_rk4)):
err_mean += list_err_rk4[i]
err_mean = err_mean / n
print("Err Mean= ", err_mean)
x_real = [i for i in range(n)]
plt.figure()
plt.title("Runge-Kutta Result")
plt.subplot(1, 2, 1)
plt.plot(x_real, list_real_CO2_air_data, label='CO2_real_data')
plt.plot(x_real, list_CO2_air_rk4, label='CO2_air')
plt.plot(x_real, list_CO2_top_rk4, label='CO2_top')
plt.legend()
plt.subplot(1, 2, 2)
plt.plot(x_real, list_err_rk4, label='Error')
plt.legend()
# plt.title("Euler Result")
# plt.subplot(1, 2, 1)
# plt.plot(x_real, list_real_CO2_air_data, label='CO2_real_data')
# plt.plot(x_real, list_CO2_air_euler, label='CO2_air')
# plt.plot(x_real, list_CO2_top_euler, label='CO2_top')
# plt.legend()
#
# plt.subplot(1, 2, 2)
# plt.plot(x_real, list_err_euler, label='Error')
# plt.legend()
plt.xlabel('Time')
plt.ylabel('CO2-concentration (ppm)')
plt.show()
| 29.638889 | 127 | 0.485868 | 2,609 | 20,273 | 3.471062 | 0.080874 | 0.045053 | 0.015901 | 0.04174 | 0.838229 | 0.814708 | 0.806427 | 0.773079 | 0.765349 | 0.745914 | 0 | 0.039993 | 0.417846 | 20,273 | 683 | 128 | 29.682284 | 0.727334 | 0.14655 | 0 | 0.735125 | 0 | 0 | 0.023093 | 0.002695 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015355 | false | 0 | 0.007678 | 0 | 0.03263 | 0.021113 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2e8e4be4761c5e8870c1bac20eff3d56d7609332 | 2,332 | py | Python | Latest/venv/Lib/site-packages/pyface/ui/qt4/util/tests/test_gui_test_assistant.py | adamcvj/SatelliteTracker | 49a8f26804422fdad6f330a5548e9f283d84a55d | [
"Apache-2.0"
] | 1 | 2022-01-09T20:04:31.000Z | 2022-01-09T20:04:31.000Z | Latest/venv/Lib/site-packages/pyface/ui/qt4/util/tests/test_gui_test_assistant.py | adamcvj/SatelliteTracker | 49a8f26804422fdad6f330a5548e9f283d84a55d | [
"Apache-2.0"
] | 1 | 2022-02-15T12:01:57.000Z | 2022-03-24T19:48:47.000Z | Latest/venv/Lib/site-packages/pyface/ui/qt4/util/tests/test_gui_test_assistant.py | adamcvj/SatelliteTracker | 49a8f26804422fdad6f330a5548e9f283d84a55d | [
"Apache-2.0"
] | null | null | null | import unittest
from pyface.ui.qt4.util.gui_test_assistant import \
GuiTestAssistant
from traits.api import Event, HasStrictTraits
class ExampleObject(HasStrictTraits):
""" Test class; target for test_event_loop_until_traits_change. """
spam = Event
eggs = Event
class TestGuiTestAssistant(GuiTestAssistant, unittest.TestCase):
def test_event_loop_until_traits_change_with_single_trait_success(self):
# event_loop_until_traits_change calls self.fail on timeout.
obj = ExampleObject()
# Successful case.
with self.event_loop_until_traits_change(obj, 'spam'):
obj.spam = True
def test_event_loop_until_traits_change_with_single_trait_failure(self):
# event_loop_until_traits_change calls self.fail on timeout.
obj = ExampleObject()
# Failing case.
with self.assertRaises(AssertionError):
with self.event_loop_until_traits_change(obj, 'spam',
timeout=0.1):
obj.eggs = True
def test_event_loop_until_traits_change_with_multiple_traits_success(self):
# event_loop_until_traits_change calls self.fail on timeout.
obj = ExampleObject()
with self.event_loop_until_traits_change(obj, 'spam', 'eggs'):
obj.spam = True
obj.eggs = True
def test_event_loop_until_traits_change_with_multiple_traits_failure(self):
# event_loop_until_traits_change calls self.fail on timeout.
obj = ExampleObject()
with self.assertRaises(AssertionError):
with self.event_loop_until_traits_change(obj, 'spam', 'eggs',
timeout=0.1):
obj.eggs = True
# event_loop_until_traits_change calls self.fail on timeout.
with self.assertRaises(AssertionError):
with self.event_loop_until_traits_change(obj, 'spam', 'eggs',
timeout=0.1):
obj.spam = True
def test_event_loop_until_traits_change_with_no_traits_success(self):
# event_loop_until_traits_change calls self.fail on timeout.
obj = ExampleObject()
# Successful case.
with self.event_loop_until_traits_change(obj):
pass
| 38.229508 | 79 | 0.653516 | 272 | 2,332 | 5.235294 | 0.180147 | 0.113764 | 0.176966 | 0.252809 | 0.814607 | 0.814607 | 0.781601 | 0.781601 | 0.781601 | 0.778792 | 0 | 0.004157 | 0.277873 | 2,332 | 60 | 80 | 38.866667 | 0.841449 | 0.198542 | 0 | 0.513514 | 0 | 0 | 0.01726 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 1 | 0.135135 | false | 0.027027 | 0.081081 | 0 | 0.324324 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
cf2287893fe837c6f07ab68c6738acc26bcf8ee4 | 126 | py | Python | screens/Screen.py | Paul-Lebranchu/TetrisPython | 50ae27c8588cbc3b81c3ec791b1271d6bf8bf0a2 | [
"CNRI-Python"
] | null | null | null | screens/Screen.py | Paul-Lebranchu/TetrisPython | 50ae27c8588cbc3b81c3ec791b1271d6bf8bf0a2 | [
"CNRI-Python"
] | null | null | null | screens/Screen.py | Paul-Lebranchu/TetrisPython | 50ae27c8588cbc3b81c3ec791b1271d6bf8bf0a2 | [
"CNRI-Python"
] | null | null | null | class Screen:
def __init__(self):
pass;
def render(self):
pass;
def update(self):
pass;
| 12.6 | 23 | 0.507937 | 14 | 126 | 4.285714 | 0.571429 | 0.4 | 0.366667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.388889 | 126 | 9 | 24 | 14 | 0.779221 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.428571 | 0 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
cf7525a19eafcb8cd22aa9fe3f7977ba8b8c0bbd | 4,847 | py | Python | graphene_federation/tests/test_provides.py | loft-orbital/graphene-federation | e3f14d7ba7ee94f58cec12ebcf0fd0139e9dcfa3 | [
"MIT"
] | 7 | 2021-06-03T14:04:50.000Z | 2021-12-22T12:21:17.000Z | graphene_federation/tests/test_provides.py | loft-orbital/graphene-federation | e3f14d7ba7ee94f58cec12ebcf0fd0139e9dcfa3 | [
"MIT"
] | 1 | 2022-01-24T13:18:19.000Z | 2022-01-28T10:28:07.000Z | graphene_federation/tests/test_provides.py | loft-orbital/graphene-federation | e3f14d7ba7ee94f58cec12ebcf0fd0139e9dcfa3 | [
"MIT"
] | 1 | 2021-06-10T11:47:30.000Z | 2021-06-10T11:47:30.000Z | from graphql import graphql
from graphene import Field, Int, ObjectType, String
from ..provides import provides
from ..main import build_schema
from ..extend import extend, external
def test_provides():
"""
https://www.apollographql.com/docs/federation/entities/#resolving-another-services-field-advanced
"""
@extend("sku")
class Product(ObjectType):
sku = external(String(required=True))
name = external(String())
weight = external(Int())
@provides
class InStockCount(ObjectType):
product = provides(Field(Product, required=True), fields="name")
quantity = Int(required=True)
class Query(ObjectType):
in_stock_count = Field(InStockCount)
schema = build_schema(query=Query)
assert (
str(schema)
== """schema {
query: Query
}
type InStockCount {
product: Product!
quantity: Int!
}
type Product {
sku: String!
name: String
weight: Int
}
type Query {
inStockCount: InStockCount
_entities(representations: [_Any]): [_Entity]
_service: _Service
}
scalar _Any
union _Entity = Product
type _Service {
sdl: String
}
"""
)
# Check the federation service schema definition language
query = """
query {
_service {
sdl
}
}
"""
result = graphql(schema, query)
assert not result.errors
assert (
result.data["_service"]["sdl"].strip()
== """
type InStockCount {
product: Product! @provides(fields: "name")
quantity: Int!
}
extend type Product @key(fields: "sku") {
sku: String! @external
name: String @external
weight: Int @external
}
type Query {
inStockCount: InStockCount
}
""".strip()
)
def test_provides_multiple_fields():
"""
https://www.apollographql.com/docs/federation/entities/#resolving-another-services-field-advanced
"""
@extend("sku")
class Product(ObjectType):
sku = external(String(required=True))
name = external(String())
weight = external(Int())
@provides
class InStockCount(ObjectType):
product = provides(Field(Product, required=True), fields="name weight")
quantity = Int(required=True)
class Query(ObjectType):
in_stock_count = Field(InStockCount)
schema = build_schema(query=Query)
assert (
str(schema)
== """schema {
query: Query
}
type InStockCount {
product: Product!
quantity: Int!
}
type Product {
sku: String!
name: String
weight: Int
}
type Query {
inStockCount: InStockCount
_entities(representations: [_Any]): [_Entity]
_service: _Service
}
scalar _Any
union _Entity = Product
type _Service {
sdl: String
}
"""
)
# Check the federation service schema definition language
query = """
query {
_service {
sdl
}
}
"""
result = graphql(schema, query)
assert not result.errors
assert (
result.data["_service"]["sdl"].strip()
== """
type InStockCount {
product: Product! @provides(fields: "name weight")
quantity: Int!
}
extend type Product @key(fields: "sku") {
sku: String! @external
name: String @external
weight: Int @external
}
type Query {
inStockCount: InStockCount
}
""".strip()
)
def test_provides_multiple_fields_as_list():
"""
https://www.apollographql.com/docs/federation/entities/#resolving-another-services-field-advanced
"""
@extend("sku")
class Product(ObjectType):
sku = external(String(required=True))
name = external(String())
weight = external(Int())
@provides
class InStockCount(ObjectType):
product = provides(Field(Product, required=True), fields=["name", "weight"])
quantity = Int(required=True)
class Query(ObjectType):
in_stock_count = Field(InStockCount)
schema = build_schema(query=Query)
assert (
str(schema)
== """schema {
query: Query
}
type InStockCount {
product: Product!
quantity: Int!
}
type Product {
sku: String!
name: String
weight: Int
}
type Query {
inStockCount: InStockCount
_entities(representations: [_Any]): [_Entity]
_service: _Service
}
scalar _Any
union _Entity = Product
type _Service {
sdl: String
}
"""
)
# Check the federation service schema definition language
query = """
query {
_service {
sdl
}
}
"""
result = graphql(schema, query)
assert not result.errors
assert (
result.data["_service"]["sdl"].strip()
== """
type InStockCount {
product: Product! @provides(fields: "name weight")
quantity: Int!
}
extend type Product @key(fields: "sku") {
sku: String! @external
name: String @external
weight: Int @external
}
type Query {
inStockCount: InStockCount
}
""".strip()
)
| 18.859922 | 101 | 0.631731 | 494 | 4,847 | 6.09919 | 0.129555 | 0.035845 | 0.031862 | 0.059741 | 0.944242 | 0.944242 | 0.944242 | 0.944242 | 0.944242 | 0.944242 | 0 | 0 | 0.246957 | 4,847 | 256 | 102 | 18.933594 | 0.825479 | 0.095317 | 0 | 0.76 | 0 | 0 | 0.470371 | 0.017985 | 0 | 0 | 0 | 0 | 0.045 | 1 | 0.015 | false | 0 | 0.025 | 0 | 0.175 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d8a4c277e424b9c0f5ab4a2c859e0df64070a658 | 67 | py | Python | tests/test_main.py | donilan/python-genthemall | b1a07b772bb95fe005224bb1d0d97b82992ba0f4 | [
"Apache-2.0"
] | 1 | 2015-02-26T08:46:09.000Z | 2015-02-26T08:46:09.000Z | tests/test_main.py | donilan/python-genthemall | b1a07b772bb95fe005224bb1d0d97b82992ba0f4 | [
"Apache-2.0"
] | null | null | null | tests/test_main.py | donilan/python-genthemall | b1a07b772bb95fe005224bb1d0d97b82992ba0f4 | [
"Apache-2.0"
] | null | null | null |
from nose.tools import ok_, eq_
def test_something():
pass
| 8.375 | 31 | 0.686567 | 10 | 67 | 4.3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238806 | 67 | 7 | 32 | 9.571429 | 0.843137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
d8c0845f3b55c598d9441571dfd1d8ad99404fb3 | 9,976 | py | Python | tests/train/test_consumers.py | beaulima/thelper | c389352c3541d18bb9d8255d6d3efe295ff1d71b | [
"Apache-2.0"
] | 17 | 2018-12-10T19:43:20.000Z | 2021-08-17T03:06:59.000Z | tests/train/test_consumers.py | beaulima/thelper | c389352c3541d18bb9d8255d6d3efe295ff1d71b | [
"Apache-2.0"
] | 16 | 2019-07-31T20:13:26.000Z | 2020-12-14T15:48:30.000Z | tests/train/test_consumers.py | beaulima/thelper | c389352c3541d18bb9d8255d6d3efe295ff1d71b | [
"Apache-2.0"
] | 10 | 2019-06-17T18:38:05.000Z | 2020-09-29T16:04:00.000Z | import os
import tempfile
import numpy as np
import torch
import thelper
test_save_path = ".pytest_cache"
def test_classif_logger():
# classification results are expected in 1D format; lets build some dummy data...
batch_size = 16
iter_count = 32
input_shape = (3, 32, 32)
class_count = 10
class_names = [str(i) for i in range(class_count)]
task = thelper.tasks.Classification(class_names, "input", "gt", ["idx"])
consumer_config = {"consumer": {
"type": "thelper.train.utils.ClassifLogger",
"params": {"top_k": 3, "report_count": 10,
"class_names": class_names, "log_keys": ["idx"]}
}}
consumers = thelper.train.create_consumers(consumer_config)
consumer = consumers["consumer"]
assert isinstance(consumer, thelper.train.utils.ClassifLogger)
assert consumer.top_k == 3
assert consumer.report_count == 10
assert consumer.class_names == class_names
assert consumer.report() is None
assert repr(consumer)
inputs, targets, preds = [], [], []
tot_idx = 0
for iter_idx in range(iter_count):
# set batch size to one for 'lingering' sample in last minibatch
curr_batch_size = batch_size if iter_idx < iter_count - 1 else 1
inputs.append(torch.randn((curr_batch_size, *input_shape)))
targets.append(torch.randint(low=0, high=class_count, size=(curr_batch_size, )))
preds.append(torch.rand((curr_batch_size, class_count)))
consumer.update(task, inputs[iter_idx], preds[iter_idx], targets[iter_idx],
{"idx": [tot_idx + idx for idx in range(curr_batch_size)]},
None, iter_idx, iter_count, 0, 1, test_save_path)
tot_idx += curr_batch_size
report = consumer.report()
assert report is not None and isinstance(report, str)
assert len(report.split("\n")) == 11 # 10 lines + header
assert "target_name,target_score,pred_1_name,pred_1_score,pred_2_name," \
"pred_2_score,pred_3_name,pred_3_score,idx" == report.split("\n")[0]
consumer.reset()
assert consumer.report() is None
consumer.class_names = None
tot_idx = 0
for iter_idx in range(iter_count):
consumer.update(task, inputs[iter_idx], preds[iter_idx], targets[iter_idx],
{"idx": [tot_idx + idx for idx in range(targets[iter_idx].shape[0])]},
None, iter_idx, iter_count, 0, 1, test_save_path)
tot_idx += targets[iter_idx].shape[0]
assert consumer.report() == report
def test_classif_report():
# classification results are expected in 1D format; lets build some dummy data...
batch_size = 16
iter_count = 32
input_shape = (3, 32, 32)
class_count = 10
class_names = [str(i) for i in range(class_count)]
task = thelper.tasks.Classification(class_names, "input", "gt", ["idx"])
consumer_config = {"consumer": {
"type": "thelper.train.utils.ClassifReport",
"params": {"class_names": class_names}
}}
consumers = thelper.train.create_consumers(consumer_config)
consumer = consumers["consumer"]
assert isinstance(consumer, thelper.train.utils.ClassifReport)
assert consumer.class_names == class_names
assert repr(consumer)
inputs, targets, preds = [], [], []
tot_idx = 0
for iter_idx in range(iter_count):
# set batch size to one for 'lingering' sample in last minibatch
curr_batch_size = batch_size if iter_idx < iter_count - 1 else 1
inputs.append(torch.randn((curr_batch_size, *input_shape)))
targets.append(torch.randint(low=0, high=class_count, size=(curr_batch_size, )))
preds.append(torch.rand((curr_batch_size, class_count)))
consumer.update(task, inputs[iter_idx], preds[iter_idx], targets[iter_idx],
{"idx": [tot_idx + idx for idx in range(curr_batch_size)]},
None, iter_idx, iter_count, 0, 1, test_save_path)
tot_idx += curr_batch_size
report = consumer.report()
assert report is not None and isinstance(report, str)
assert report.endswith(f"{tot_idx}\n") # should be total number of samples in last cell
consumer.reset()
consumer.class_names = None
tot_idx = 0
for iter_idx in range(iter_count):
consumer.update(task, inputs[iter_idx], preds[iter_idx], targets[iter_idx],
{"idx": [tot_idx + idx for idx in range(targets[iter_idx].shape[0])]},
None, iter_idx, iter_count, 0, 1, test_save_path)
tot_idx += targets[iter_idx].shape[0]
assert consumer.report() == report
def test_confmat():
# classification results are expected in 1D format; lets build some dummy data...
thelper.utils.set_matplotlib_agg() # to fix rendering bugs with some backends...
batch_size = 16
iter_count = 32
input_shape = (3, 32, 32)
class_count = 10
class_names = [str(i) for i in range(class_count)]
task = thelper.tasks.Classification(class_names, "input", "gt", ["idx"])
consumer_config = {"consumer": {
"type": "thelper.train.utils.ConfusionMatrix",
"params": {"class_names": class_names}
}}
consumers = thelper.train.create_consumers(consumer_config)
consumer = consumers["consumer"]
assert isinstance(consumer, thelper.train.utils.ConfusionMatrix)
assert consumer.class_names == class_names
assert consumer.report() is None
assert repr(consumer)
inputs, targets, preds = [], [], []
tot_idx = 0
for iter_idx in range(iter_count):
# set batch size to one for 'lingering' sample in last minibatch
curr_batch_size = batch_size if iter_idx < iter_count - 1 else 1
inputs.append(torch.randn((curr_batch_size, *input_shape)))
targets.append(torch.randint(low=0, high=class_count, size=(curr_batch_size, )))
preds.append(torch.rand((curr_batch_size, class_count)))
consumer.update(task, inputs[iter_idx], preds[iter_idx], targets[iter_idx],
{"idx": [tot_idx + idx for idx in range(curr_batch_size)]},
None, iter_idx, iter_count, 0, 1, test_save_path)
tot_idx += curr_batch_size
report = consumer.report()
assert report is not None and isinstance(report, str)
assert report.endswith(f"{tot_idx}\n") # should be total number of samples in last cell
render = consumer.render()
assert render is None or isinstance(render, np.ndarray)
consumer.reset()
assert consumer.report() is None
consumer.class_names = None
tot_idx = 0
for iter_idx in range(iter_count):
consumer.update(task, inputs[iter_idx], preds[iter_idx], targets[iter_idx],
{"idx": [tot_idx + idx for idx in range(targets[iter_idx].shape[0])]},
None, iter_idx, iter_count, 0, 1, test_save_path)
tot_idx += targets[iter_idx].shape[0]
assert consumer.report() == report
def test_segm_output_generator():
batch_size = 16
iter_count = 32
image_size = 32
input_shape = (3, image_size, image_size)
class_count = 10
class_names = [str(i) for i in range(class_count)]
task = thelper.tasks.Segmentation(class_names, "input", "map", ["idx"])
prefix = "unittest_"
ext = ".png"
color_map = {str(i): (i * 20, 255 - i * 20, 0) for i in range(class_count)}
consumer_config = {"consumer": {
"type": "thelper.train.utils.SegmOutputGenerator",
"params": {"prefix": prefix, "extension": ext, "format": "json",
"color_map": color_map, "class_names": class_names}
}}
consumers = thelper.train.create_consumers(consumer_config)
consumer = consumers["consumer"]
assert isinstance(consumer, thelper.train.utils.SegmOutputGenerator)
assert consumer.prefix == prefix
assert consumer.class_names == class_names
assert consumer.ext
assert repr(consumer)
inputs, targets, preds = [], [], []
tot_idx = 0
with tempfile.TemporaryDirectory() as tmp_dir:
for iter_idx in range(iter_count):
# set batch size to one for 'lingering' sample in last minibatch
curr_batch_size = batch_size if iter_idx < iter_count - 1 else 1
inputs.append(torch.randn((curr_batch_size, *input_shape)))
targets.append(torch.randint(low=0, high=class_count, size=(curr_batch_size, image_size, image_size)))
preds.append(torch.randint(low=0, high=class_count, size=(curr_batch_size, 1, image_size, image_size)))
consumer.update(task, inputs[iter_idx], preds[iter_idx], targets[iter_idx],
{"idx": [tot_idx + idx for idx in range(curr_batch_size)]},
None, iter_idx, iter_count, 0, 1, tmp_dir)
tot_idx += curr_batch_size
output_files = list(os.listdir(tmp_dir))
assert all(f.startswith(prefix) for f in output_files)
assert len(output_files) == tot_idx * 2 # pred/mask per image sample
report = consumer.report()
assert report is not None and isinstance(report, str)
assert report.count("color") == class_count
assert report.count("index") == class_count
assert report.count("label") == class_count
for _cls, _color in color_map.items():
assert int(_cls) in consumer.color_map
assert np.all(consumer.color_map.get(int(_cls)) == np.asarray(_color))
consumer.reset()
assert consumer.report() is None
consumer.class_names = None
tot_idx = 0
with tempfile.TemporaryDirectory() as tmp_dir:
for iter_idx in range(iter_count):
consumer.update(task, inputs[iter_idx], preds[iter_idx], targets[iter_idx],
{"idx": [tot_idx + idx for idx in range(targets[iter_idx].shape[0])]},
None, iter_idx, iter_count, 0, 1, tmp_dir)
tot_idx += targets[iter_idx].shape[0]
assert consumer.report() == report
| 47.279621 | 115 | 0.65407 | 1,352 | 9,976 | 4.605769 | 0.117604 | 0.058455 | 0.050104 | 0.030833 | 0.81805 | 0.807291 | 0.800385 | 0.78802 | 0.780312 | 0.77453 | 0 | 0.015234 | 0.230152 | 9,976 | 210 | 116 | 47.504762 | 0.795573 | 0.067562 | 0 | 0.744792 | 0 | 0 | 0.062978 | 0.02616 | 0 | 0 | 0 | 0 | 0.213542 | 1 | 0.020833 | false | 0 | 0.026042 | 0 | 0.046875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d8dbe6e488fd3eb35fb64cf8673781ff59aa6b32 | 350,894 | py | Python | ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/applibprofile/applibprofile.py | oferveur/ixnetwork_restpy | d28d12c7aa041b96a6538800d35889ea3d342412 | [
"MIT"
] | null | null | null | ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/applibprofile/applibprofile.py | oferveur/ixnetwork_restpy | d28d12c7aa041b96a6538800d35889ea3d342412 | [
"MIT"
] | null | null | null | ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/applibprofile/applibprofile.py | oferveur/ixnetwork_restpy | d28d12c7aa041b96a6538800d35889ea3d342412 | [
"MIT"
] | null | null | null | # MIT LICENSE
#
# Copyright 1997 - 2020 by IXIA Keysight
#
# 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.
from ixnetwork_restpy.base import Base
from ixnetwork_restpy.files import Files
class AppLibProfile(Base):
"""This object specifies the properties of the particular application traffic profile.
The AppLibProfile class encapsulates a list of appLibProfile resources that are managed by the user.
A list of resources can be retrieved from the server using the AppLibProfile.find() method.
The list can be managed by using the AppLibProfile.add() and AppLibProfile.remove() methods.
"""
__slots__ = ()
_SDM_NAME = 'appLibProfile'
_SDM_ATT_MAP = {
'AvailableFlows': 'availableFlows',
'ConfiguredFlows': 'configuredFlows',
'EnablePerIPStats': 'enablePerIPStats',
'ObjectiveDistribution': 'objectiveDistribution',
'ObjectiveType': 'objectiveType',
'ObjectiveValue': 'objectiveValue',
'TrafficState': 'trafficState',
}
def __init__(self, parent):
super(AppLibProfile, self).__init__(parent)
@property
def AppLibFlow(self):
"""
Returns
-------
- obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.traffic.trafficitem.applibprofile.applibflow.applibflow.AppLibFlow): An instance of the AppLibFlow class
Raises
------
- ServerError: The server has encountered an uncategorized error condition
"""
from ixnetwork_restpy.testplatform.sessions.ixnetwork.traffic.trafficitem.applibprofile.applibflow.applibflow import AppLibFlow
return AppLibFlow(self)
@property
def AvailableFlows(self):
"""
Returns
-------
- list(str[7SHIFTS_Manager_Access | 7SHIFTS_Quick_Schedule_Review | ActiveSync_Unencrypted | ADP_Login_Pages | AIM6_Chat | AIM6_File_Transfer | Airbnb | Alibaba_May_15 | Amazon_1302 | Amazon_EC2_API_Demo | Amazon_EC2_Create_Key_Pair_Flow | Amazon_EC2_Start_Instances_Flow | Amazon_GET_Home_Page | Amazon_S3_Retrieve_Objects_Flow | Amazon_Video | Android_Market_Search_View_and_Download | Angry_Birds_Friends_September_2015_Faceboo | Angry_Birds_Friends_September_2015_Play | AngryBirds_Friends_Sep_15_In_app_purchase | AOL_Instant_Messenger | AOL_Webmail | AOL_Webmail_Deprecated | Apache_Cassandra_DB | Apache_Cassandra_DB_Start_Up | Apache_Cassandra_DB_Start_Up_and_Registrat | AppleJuice | AppLine_Demo_Superflow | AppLine_Simple_Chat | Appogee_Quick_Calendar_Review | Appogee_Team_Manager_Access | Appointy_Manager_Access | Appointy_Quick_Schedule_Review | Ares_v2183042_Login_File_Download | Average_Web_Page_2011 | AWS_Console_Oct17 | AWS_EC2_Nov17 | AWS_S3_Oct17 | BACnet_IP_Read_File | BACnet_IP_Who_Has_I_Have_Object_Query | BACnet_IP_Who_Is_I_Am_Device_Discovery | BACnet_IP_Write_File | Baidu_Access_Network_of_Web_Portals_Feb_18 | Baidu_Search_Oct_16 | Baidu_Tieba_Jun_16_Access_a_Tieba | Baidu_Tieba_Jun_16_Login_and_Logout | Baidu_Tieba_Jun_16_Post_a_Thread | Bandwidth_BitTorrent_File_Download | Bandwidth_eDonkey | Bandwidth_HTTP | Bandwidth_HTTP_over_SCTP | Bandwidth_HTTP_over_SCTP_over_UDP | Bandwidth_IMAPv4 | Bandwidth_POP3 | Bandwidth_QUIC | Bandwidth_Radius | Bandwidth_Raw | Bandwidth_Telnet | Bandwidth_uTorrent_DHT_File_Download | BBC_iPlayer | BBC_iPlayer_Radio | BGP_IGP_Open_Advertise_Routes | BGP_IGP_Withdraw_Routes | Bing_Search | Bitcoin_Heartbeat | Bitcoin_Synchronization | Bitcoin_Transaction_Information | BitTorrent_Ares_v217_File_Download | BitTorrent_BitComet_v126_File_Download | BitTorrent_Blizzard_File_Download | BitTorrent_Cisco_EMIX | BitTorrent_Enterprise | BitTorrent_File_Download | BitTorrent_LimeWire_v5516_File_Download | BitTorrent_RMIX_5M | BitTorrent_Service_Provider | BitTorrent_Transmission_v222_File_Download | BitTorrent_v720_File_Download | BitTorrent_Vuse_v460_File_Download | BitTorrent_Xunlei_v716_File_Download | BlackBerry_Enterprise_Send_E_Mail | BlackBerry_Enterprise_Send_E_Mail_French | BlackBerry_Enterprise_Send_E_Mail_German | BlackBerry_Enterprise_Send_E_Mail_Italian | BlackBerry_Enterprise_Send_E_Mail_Japanese | BlackBerry_Enterprise_Send_E_Mail_Spanish | Blogspot_Aug_15 | Blogspot_Aug_15_Create_and_Publish_a_new_B | Blogspot_Aug_15_Delete_Blog | Box_Oct_17_Collaborate_on_Files | BuzzFeed_Nov_2016 | CandyCrush_Sep_15 | Capwap | Capwap_Configuration | Capwap_Echo | Certify_Jun_17 | Certify_Jun_17_Create_New_Report | Chargen_TCP | Chargen_UDP | Cisco_Spark_Send_File | Cisco_Spark_Text_Chat | Cisco_Spark_Video_Call | Citrix | Client_Receives_Audio_Data_from_Server_Usi | ClientSim_HTTP_Request_BMP | ClientSim_HTTP_Request_EXE | ClientSim_HTTP_Request_GIF | ClientSim_HTTP_Request_HTML | ClientSim_HTTP_Request_JPG | ClientSim_HTTP_Request_MP3 | ClientSim_HTTP_Request_PDF | ClientSim_HTTP_Request_PNG | ClientSim_HTTP_Request_RTF | ClientSim_HTTP_Request_WAV | ClientSim_HTTP_Slow_Headers | ClientSim_Microsoft_Smooth_Streaming_Play | Concur_Jan_17 | Confluence_Space_and_Page_Operations_Nov17 | Confluence_Space_Operations_Nov17 | Constrained_Application_Protocol_CoAP | Dailymotion_Aug_17 | Dailymotion_Aug_17_Play_A_Video | Dailymotion_Bandwidth | DailyMotion_Mar_15 | DailyMotion_Mar_15_Search_a_DailyMotion_vi | DailyMotion_Mar_15_Search_and_view_a_video | DailyMotion_Mar_15_Upload_a_video_to_Daily | Daytime_TCP | Daytime_UDP | DB2_Database | DCE_RPC | DCE_RPC_MAPI_Session | DCE_RPC_MAPI_with_File_Attachment | DDoS_SMBLoris | DDoS_SSL_HTTP_Post_Flood | DDoS_SSL_Key_Exchange_Flood | Diameter | Diameter_Rx_Interface | Diameter_S9a_Interface | Discard_TCP | Discord_Dec_17 | Discord_Dec_17_Chat | DNP3_Link_Status | DNP3_Read_Class_0_Data | DNP3_Read_Device_Attributes | DNP3_Time_Sync | DNP3_Unsolicited_Response | DNS | DNS_A_Truncated_Lookup | DNS_AAAA_Truncated_Lookup | DNS_SRV_LDAP_Lookup | DNSSEC_A_Record_Lookup | DocuSign_Access_Website_Dec17 | Doodle_July_2015_Create_poll | Doodle_July_2015_Invite_poll_participants | Doodle_July_2015_Participate_in_poll | Dropbox_Demo_Superflow | Dropbox_Initial_Client_Setup_and_Synchroni | Dropbox_Sync_Get_New_File | Dropbox_Sync_Upload_New_File | Duqu_Botnet | Ebay | eBay_Browse_and_Buy_Items_Feb_18 | Ebay_Jan_2015 | eBay_Manage_Personal_Account_Feb_18 | Ebay_Sign_In_Out_Jan_2015 | Echo_TCP | Echo_UDP | eDonkey_Data_Transfer | eDonkey_Upload | Equation_Group_Cisco_Exploit_Chain | Ethernet_IP_Connected | Ethernet_IP_Unconnected | Evergreen_AOL_Chat_AIM_Aug_17 | Evergreen_AOL_Chat_AIM_Aug_17_Receive_Mess | Evergreen_AOL_Chat_AIM_Aug_17_Send_Message | Evergreen_AOL_Chat_AIM_Jan_14 | Evergreen_AOL_Chat_AIM_Jan_14_Receive_Mess | Evergreen_AOL_Chat_AIM_Jan_14_Send_Message | Evergreen_AOL_Chat_AIM_Jul_17 | Evergreen_AOL_Chat_AIM_Jul_17_Receive_Mess | Evergreen_AOL_Chat_AIM_Jul_17_Send_Message | Evergreen_AOL_Chat_AIM_Jun_17 | Evergreen_AOL_Chat_AIM_Jun_17_Receive_Mess | Evergreen_AOL_Chat_AIM_Jun_17_Send_Message | Evergreen_AOL_Chat_AIM_May_17 | Evergreen_AOL_Chat_AIM_May_17_Receive_Mess | Evergreen_AOL_Chat_AIM_May_17_Send_Message | Evergreen_AOL_Chat_AIM_Sep_17 | Evergreen_AOL_Chat_AIM_Sep_17_Receive_Mess | Evergreen_AOL_Chat_AIM_Sep_17_Send_Message | Evergreen_AOL_Mail_Aug_17 | Evergreen_AOL_Mail_Aug_17_Send_Message | Evergreen_AOL_Mail_Aug_17_Send_Message_wit | Evergreen_AOL_Mail_Aug_17_View_Message | Evergreen_AOL_Mail_Aug_17_View_Message_wit | Evergreen_AOL_Mail_Dec_17 | Evergreen_AOL_Mail_Dec_17_Send_Message | Evergreen_AOL_Mail_Dec_17_Send_Message_wit | Evergreen_AOL_Mail_Dec_17_View_Message | Evergreen_AOL_Mail_Dec_17_View_Message_wit | Evergreen_AOL_Mail_Feb_18 | Evergreen_AOL_Mail_Feb_18_Send_Message | Evergreen_AOL_Mail_Feb_18_Send_Message_wit | Evergreen_AOL_Mail_Feb_18_View_Message | Evergreen_AOL_Mail_Feb_18_View_Message_wit | Evergreen_AOL_Mail_Jan_14 | Evergreen_AOL_Mail_Jan_14_Send_Message | Evergreen_AOL_Mail_Jan_14_Send_Message_wit | Evergreen_AOL_Mail_Jan_14_View_Message | Evergreen_AOL_Mail_Jan_14_View_Message_wit | Evergreen_AOL_Mail_Jan_18 | Evergreen_AOL_Mail_Jan_18_Send_Message | Evergreen_AOL_Mail_Jan_18_Send_Message_wit | Evergreen_AOL_Mail_Jan_18_View_Message | Evergreen_AOL_Mail_Jan_18_View_Message_wit | Evergreen_AOL_Mail_Jul_17 | Evergreen_AOL_Mail_Jul_17_Send_Message | Evergreen_AOL_Mail_Jul_17_Send_Message_wit | Evergreen_AOL_Mail_Jul_17_View_Message | Evergreen_AOL_Mail_Jul_17_View_Message_wit | Evergreen_AOL_Mail_Jun_17 | Evergreen_AOL_Mail_Jun_17_Send_Message | Evergreen_AOL_Mail_Jun_17_Send_Message_wit | Evergreen_AOL_Mail_Jun_17_View_Message | Evergreen_AOL_Mail_Jun_17_View_Message_wit | Evergreen_AOL_Mail_May_17 | Evergreen_AOL_Mail_May_17_Send_Message | Evergreen_AOL_Mail_May_17_Send_Message_wit | Evergreen_AOL_Mail_May_17_View_Message | Evergreen_AOL_Mail_May_17_View_Message_wit | Evergreen_AOL_Mail_Nov_17 | Evergreen_AOL_Mail_Nov_17_Send_Message | Evergreen_AOL_Mail_Nov_17_Send_Message_wit | Evergreen_AOL_Mail_Nov_17_View_Message | Evergreen_AOL_Mail_Nov_17_View_Message_wit | Evergreen_AOL_Mail_Oct_17 | Evergreen_AOL_Mail_Oct_17_Send_Message | Evergreen_AOL_Mail_Oct_17_Send_Message_wit | Evergreen_AOL_Mail_Oct_17_View_Message | Evergreen_AOL_Mail_Oct_17_View_Message_wit | Evergreen_AOL_Mail_Sep_17 | Evergreen_AOL_Mail_Sep_17_Send_Message | Evergreen_AOL_Mail_Sep_17_Send_Message_wit | Evergreen_AOL_Mail_Sep_17_View_Message | Evergreen_AOL_Mail_Sep_17_View_Message_wit | Evergreen_Facebook_Aug_17 | Evergreen_Facebook_Dec_17 | Evergreen_Facebook_Feb_18 | Evergreen_Facebook_Jan_14 | Evergreen_Facebook_Jan_18 | Evergreen_Facebook_Jul_17 | Evergreen_Facebook_Jun_17 | Evergreen_Facebook_May_17 | Evergreen_Facebook_Nov_17 | Evergreen_Facebook_Oct_17 | Evergreen_Facebook_Sep_17 | Evergreen_Gmail_Aug_17 | Evergreen_Gmail_Aug_17_Send_Message | Evergreen_Gmail_Aug_17_Send_Message_with_A | Evergreen_Gmail_Aug_17_View_Message | Evergreen_Gmail_Aug_17_View_Message_with_A | Evergreen_Gmail_Dec_17 | Evergreen_Gmail_Dec_17_Send_Message | Evergreen_Gmail_Dec_17_Send_Message_with_A | Evergreen_Gmail_Dec_17_View_Message | Evergreen_Gmail_Dec_17_View_Message_with_A | Evergreen_Gmail_Feb_18 | Evergreen_Gmail_Feb_18_Send_Message | Evergreen_Gmail_Feb_18_Send_Message_with_A | Evergreen_Gmail_Feb_18_View_Message | Evergreen_Gmail_Feb_18_View_Message_with_A | Evergreen_Gmail_Jan_18 | Evergreen_Gmail_Jan_18_Send_Message | Evergreen_Gmail_Jan_18_Send_Message_with_A | Evergreen_Gmail_Jan_18_View_Message | Evergreen_Gmail_Jan_18_View_Message_with_A | Evergreen_Gmail_Jul_17 | Evergreen_Gmail_Jul_17_Send_Message | Evergreen_Gmail_Jul_17_Send_Message_with_A | Evergreen_Gmail_Jul_17_View_Message | Evergreen_Gmail_Jul_17_View_Message_with_A | Evergreen_Gmail_Jun_17 | Evergreen_Gmail_Jun_17_Send_Message | Evergreen_Gmail_Jun_17_Send_Message_with_A | Evergreen_Gmail_Jun_17_View_Message | Evergreen_Gmail_Jun_17_View_Message_with_A | Evergreen_Gmail_May_17 | Evergreen_Gmail_May_17_Send_Message | Evergreen_Gmail_May_17_Send_Message_with_A | Evergreen_Gmail_May_17_View_Message | Evergreen_Gmail_May_17_View_Message_with_A | Evergreen_Gmail_Nov_17 | Evergreen_Gmail_Nov_17_Send_Message | Evergreen_Gmail_Nov_17_Send_Message_with_A | Evergreen_Gmail_Nov_17_View_Message | Evergreen_Gmail_Nov_17_View_Message_with_A | Evergreen_Gmail_Oct_17 | Evergreen_Gmail_Oct_17_Send_Message | Evergreen_Gmail_Oct_17_Send_Message_with_A | Evergreen_Gmail_Oct_17_View_Message | Evergreen_Gmail_Oct_17_View_Message_with_A | Evergreen_Gmail_Sep_17 | Evergreen_Gmail_Sep_17_Send_Message | Evergreen_Gmail_Sep_17_Send_Message_with_A | Evergreen_Gmail_Sep_17_View_Message | Evergreen_Gmail_Sep_17_View_Message_with_A | Evergreen_Rediffmail_Aug_17 | Evergreen_Rediffmail_Aug_17_Send_Message | Evergreen_Rediffmail_Aug_17_Send_Message_w | Evergreen_Rediffmail_Aug_17_View_Message | Evergreen_Rediffmail_Aug_17_View_Message_w | Evergreen_Rediffmail_Dec_17 | Evergreen_Rediffmail_Dec_17_Send_Message | Evergreen_Rediffmail_Dec_17_Send_Message_w | Evergreen_Rediffmail_Dec_17_View_Message | Evergreen_Rediffmail_Dec_17_View_Message_w | Evergreen_Rediffmail_Feb_18 | Evergreen_Rediffmail_Feb_18_Send_Message | Evergreen_Rediffmail_Feb_18_Send_Message_w | Evergreen_Rediffmail_Feb_18_View_Message | Evergreen_Rediffmail_Feb_18_View_Message_w | Evergreen_Rediffmail_Jan_18 | Evergreen_Rediffmail_Jan_18_Send_Message | Evergreen_Rediffmail_Jan_18_Send_Message_w | Evergreen_Rediffmail_Jan_18_View_Message | Evergreen_Rediffmail_Jan_18_View_Message_w | Evergreen_Rediffmail_Jul_17 | Evergreen_Rediffmail_Jul_17_Send_Message | Evergreen_Rediffmail_Jul_17_Send_Message_w | Evergreen_Rediffmail_Jul_17_View_Message | Evergreen_Rediffmail_Jul_17_View_Message_w | Evergreen_Rediffmail_Jun_17 | Evergreen_Rediffmail_Jun_17_Send_Message | Evergreen_Rediffmail_Jun_17_Send_Message_w | Evergreen_Rediffmail_Jun_17_View_Message | Evergreen_Rediffmail_Jun_17_View_Message_w | Evergreen_Rediffmail_May_17 | Evergreen_Rediffmail_May_17_Send_Message | Evergreen_Rediffmail_May_17_Send_Message_w | Evergreen_Rediffmail_May_17_View_Message | Evergreen_Rediffmail_May_17_View_Message_w | Evergreen_Rediffmail_Nov_17 | Evergreen_Rediffmail_Nov_17_Send_Message | Evergreen_Rediffmail_Nov_17_Send_Message_w | Evergreen_Rediffmail_Nov_17_View_Message | Evergreen_Rediffmail_Nov_17_View_Message_w | Evergreen_Rediffmail_Oct_17 | Evergreen_Rediffmail_Oct_17_Send_Message | Evergreen_Rediffmail_Oct_17_Send_Message_w | Evergreen_Rediffmail_Oct_17_View_Message | Evergreen_Rediffmail_Oct_17_View_Message_w | Evergreen_Rediffmail_Sep_17 | Evergreen_Rediffmail_Sep_17_Send_Message | Evergreen_Rediffmail_Sep_17_Send_Message_w | Evergreen_Rediffmail_Sep_17_View_Message | Evergreen_Rediffmail_Sep_17_View_Message_w | Evergreen_Twitter_Aug_17 | Evergreen_Twitter_Aug_17_Post_Status | Evergreen_Twitter_Aug_17_View_Home_Timelin | Evergreen_Twitter_Dec_17 | Evergreen_Twitter_Dec_17_Post_Status | Evergreen_Twitter_Dec_17_View_Home_Timelin | Evergreen_Twitter_Feb_18 | Evergreen_Twitter_Feb_18_Post_Status | Evergreen_Twitter_Feb_18_View_Home_Timelin | Evergreen_Twitter_Jan_18 | Evergreen_Twitter_Jan_18_Post_Status | Evergreen_Twitter_Jan_18_View_Home_Timelin | Evergreen_Twitter_Jul_17 | Evergreen_Twitter_Jul_17_Post_Status | Evergreen_Twitter_Jul_17_View_Home_Timelin | Evergreen_Twitter_Jun_17 | Evergreen_Twitter_Jun_17_Post_Status | Evergreen_Twitter_Jun_17_View_Home_Timelin | Evergreen_Twitter_May_17 | Evergreen_Twitter_May_17_Post_Status | Evergreen_Twitter_May_17_View_Home_Timelin | Evergreen_Twitter_Nov_17 | Evergreen_Twitter_Nov_17_Post_Status | Evergreen_Twitter_Nov_17_View_Home_Timelin | Evergreen_Twitter_Oct_17 | Evergreen_Twitter_Oct_17_Post_Status | Evergreen_Twitter_Oct_17_View_Home_Timelin | Evergreen_Twitter_Sep_17 | Evergreen_Twitter_Sep_17_Post_Status | Evergreen_Twitter_Sep_17_View_Home_Timelin | Evergreen_Web_ICQ_Aug_17 | Evergreen_Web_ICQ_Aug_17_Receive_Message | Evergreen_Web_ICQ_Aug_17_Send_Message | Evergreen_Web_ICQ_Dec_17 | Evergreen_Web_ICQ_Dec_17_Receive_Message | Evergreen_Web_ICQ_Dec_17_Send_Message | Evergreen_Web_ICQ_Feb_18 | Evergreen_Web_ICQ_Feb_18_Receive_Message | Evergreen_Web_ICQ_Feb_18_Send_Message | Evergreen_Web_ICQ_Jan_18 | Evergreen_Web_ICQ_Jan_18_Receive_Message | Evergreen_Web_ICQ_Jan_18_Send_Message | Evergreen_Web_ICQ_Jul_17 | Evergreen_Web_ICQ_Jul_17_Receive_Message | Evergreen_Web_ICQ_Jul_17_Send_Message | Evergreen_Web_ICQ_Jun_17 | Evergreen_Web_ICQ_Jun_17_Receive_Message | Evergreen_Web_ICQ_Jun_17_Send_Message | Evergreen_Web_ICQ_May_17 | Evergreen_Web_ICQ_May_17_Receive_Message | Evergreen_Web_ICQ_May_17_Send_Message | Evergreen_Web_ICQ_Nov_17 | Evergreen_Web_ICQ_Nov_17_Receive_Message | Evergreen_Web_ICQ_Nov_17_Send_Message | Evergreen_Web_ICQ_Oct_17 | Evergreen_Web_ICQ_Oct_17_Receive_Message | Evergreen_Web_ICQ_Oct_17_Send_Message | Evergreen_Web_ICQ_Sep_17 | Evergreen_Web_ICQ_Sep_17_Receive_Message | Evergreen_Web_ICQ_Sep_17_Send_Message | Evergreen_WindowsLiveMail_Aug_17 | Evergreen_WindowsLiveMail_Aug_17_Send_Mess | Evergreen_WindowsLiveMail_Aug_17_View_Mess | Evergreen_WindowsLiveMail_Dec_17 | Evergreen_WindowsLiveMail_Dec_17_Send_Mess | Evergreen_WindowsLiveMail_Dec_17_View_Mess | Evergreen_WindowsLiveMail_Feb_18 | Evergreen_WindowsLiveMail_Feb_18_Send_Mess | Evergreen_WindowsLiveMail_Feb_18_View_Mess | Evergreen_WindowsLiveMail_Jan_18 | Evergreen_WindowsLiveMail_Jan_18_Send_Mess | Evergreen_WindowsLiveMail_Jan_18_View_Mess | Evergreen_WindowsLiveMail_Jul_17 | Evergreen_WindowsLiveMail_Jul_17_Send_Mess | Evergreen_WindowsLiveMail_Jul_17_View_Mess | Evergreen_WindowsLiveMail_Jun_17 | Evergreen_WindowsLiveMail_Jun_17_Send_Mess | Evergreen_WindowsLiveMail_Jun_17_View_Mess | Evergreen_WindowsLiveMail_May_17 | Evergreen_WindowsLiveMail_May_17_Send_Mess | Evergreen_WindowsLiveMail_May_17_View_Mess | Evergreen_WindowsLiveMail_Nov_17 | Evergreen_WindowsLiveMail_Nov_17_Send_Mess | Evergreen_WindowsLiveMail_Nov_17_View_Mess | Evergreen_WindowsLiveMail_Oct_17 | Evergreen_WindowsLiveMail_Oct_17_Send_Mess | Evergreen_WindowsLiveMail_Oct_17_View_Mess | Evergreen_WindowsLiveMail_Sep_17 | Evergreen_WindowsLiveMail_Sep_17_Send_Mess | Evergreen_WindowsLiveMail_Sep_17_View_Mess | Evergreen_Yahoo_Chat_Aug_17 | Evergreen_Yahoo_Chat_Aug_17_Receive_Messag | Evergreen_Yahoo_Chat_Aug_17_Send_Message | Evergreen_Yahoo_Chat_Dec_17 | Evergreen_Yahoo_Chat_Dec_17_Receive_Messag | Evergreen_Yahoo_Chat_Dec_17_Send_Message | Evergreen_Yahoo_Chat_Feb_18 | Evergreen_Yahoo_Chat_Feb_18_Receive_Messag | Evergreen_Yahoo_Chat_Feb_18_Send_Message | Evergreen_Yahoo_Chat_Jan_18 | Evergreen_Yahoo_Chat_Jan_18_Receive_Messag | Evergreen_Yahoo_Chat_Jan_18_Send_Message | Evergreen_Yahoo_Chat_Jul_17 | Evergreen_Yahoo_Chat_Jul_17_Receive_Messag | Evergreen_Yahoo_Chat_Jul_17_Send_Message | Evergreen_Yahoo_Chat_Jun_17 | Evergreen_Yahoo_Chat_Jun_17_Receive_Messag | Evergreen_Yahoo_Chat_Jun_17_Send_Message | Evergreen_Yahoo_Chat_May_17 | Evergreen_Yahoo_Chat_May_17_Receive_Messag | Evergreen_Yahoo_Chat_May_17_Send_Message | Evergreen_Yahoo_Chat_Nov_17 | Evergreen_Yahoo_Chat_Nov_17_Receive_Messag | Evergreen_Yahoo_Chat_Nov_17_Send_Message | Evergreen_Yahoo_Chat_Sep_17 | Evergreen_Yahoo_Chat_Sep_17_Receive_Messag | Evergreen_Yahoo_Chat_Sep_17_Send_Message | Evergreen_Yahoo_Mail_Aug_17 | Evergreen_Yahoo_Mail_Aug_17_Send_Message | Evergreen_Yahoo_Mail_Aug_17_Send_Message_w | Evergreen_Yahoo_Mail_Aug_17_View_Message | Evergreen_Yahoo_Mail_Aug_17_View_Message_w | Evergreen_Yahoo_Mail_Dec_17 | Evergreen_Yahoo_Mail_Dec_17_Send_Message | Evergreen_Yahoo_Mail_Dec_17_Send_Message_w | Evergreen_Yahoo_Mail_Dec_17_View_Message | Evergreen_Yahoo_Mail_Dec_17_View_Message_w | Evergreen_Yahoo_Mail_Feb_18 | Evergreen_Yahoo_Mail_Feb_18_Send_Message | Evergreen_Yahoo_Mail_Feb_18_Send_Message_w | Evergreen_Yahoo_Mail_Feb_18_View_Message | Evergreen_Yahoo_Mail_Feb_18_View_Message_w | Evergreen_Yahoo_Mail_Jan_18 | Evergreen_Yahoo_Mail_Jan_18_Send_Message | Evergreen_Yahoo_Mail_Jan_18_Send_Message_w | Evergreen_Yahoo_Mail_Jan_18_View_Message | Evergreen_Yahoo_Mail_Jan_18_View_Message_w | Evergreen_Yahoo_Mail_Jul_14 | Evergreen_Yahoo_Mail_Jul_17 | Evergreen_Yahoo_Mail_Jul_17_Send_Message | Evergreen_Yahoo_Mail_Jul_17_Send_Message_w | Evergreen_Yahoo_Mail_Jul_17_View_Message | Evergreen_Yahoo_Mail_Jul_17_View_Message_w | Evergreen_Yahoo_Mail_Jun_17 | Evergreen_Yahoo_Mail_Jun_17_Send_Message | Evergreen_Yahoo_Mail_Jun_17_Send_Message_w | Evergreen_Yahoo_Mail_Jun_17_View_Message | Evergreen_Yahoo_Mail_Jun_17_View_Message_w | Evergreen_Yahoo_Mail_May_17 | Evergreen_Yahoo_Mail_May_17_Send_Message | Evergreen_Yahoo_Mail_May_17_Send_Message_w | Evergreen_Yahoo_Mail_May_17_View_Message | Evergreen_Yahoo_Mail_May_17_View_Message_w | Evergreen_Yahoo_Mail_Nov_17 | Evergreen_Yahoo_Mail_Nov_17_Send_Message | Evergreen_Yahoo_Mail_Nov_17_Send_Message_w | Evergreen_Yahoo_Mail_Nov_17_View_Message | Evergreen_Yahoo_Mail_Nov_17_View_Message_w | Evergreen_Yahoo_Mail_Oct_17 | Evergreen_Yahoo_Mail_Oct_17_Send_Message | Evergreen_Yahoo_Mail_Oct_17_Send_Message_w | Evergreen_Yahoo_Mail_Oct_17_View_Message | Evergreen_Yahoo_Mail_Oct_17_View_Message_w | Evergreen_Yahoo_Mail_Sep_17 | Evergreen_Yahoo_Mail_Sep_17_Send_Message | Evergreen_Yahoo_Mail_Sep_17_Send_Message_w | Evergreen_Yahoo_Mail_Sep_17_View_Message | Evergreen_Yahoo_Mail_Sep_17_View_Message_w | Evergreen_YahooGroups_Aug_17 | Evergreen_YahooGroups_Dec_17 | Evergreen_YahooGroups_Feb_18 | Evergreen_YahooGroups_Jan_14 | Evergreen_YahooGroups_Jan_18 | Evergreen_YahooGroups_Jul_17 | Evergreen_YahooGroups_Jun_17 | Evergreen_YahooGroups_May_17 | Evergreen_YahooGroups_Nov_17 | Evergreen_YahooGroups_Oct_17 | Evergreen_YahooGroups_Sep_17 | Evernote_Desktop_Aug_17 | Evernote_Desktop_Aug_17_Add_Note | Evernote_Desktop_Aug_17_Add_Note_with_Atta | Everquest_December_2015_Create_account | Everquest_December_2015_Download_and_insta | Everquest_December_2015_Open_game_and_logi | Exchange_Outlook_Receive_Mail | Exchange_Outlook_Send_Mail | Exchange_Outlook_Session_Start | Facebook | Facebook_Android | Facebook_Android_Chat_Session | Facebook_API | Facebook_Chrome | Facebook_GET_Home_Page | Facebook_iOS | Facebook_iOS_Chat_Session | Facebook_Japanese | Farmville | Financial_IMAPv4_Advanced | Financial_POP3_Advanced | Financial_SMB_Client_File_Download | Financial_SMBv2_File_Download | Financial_SMTP_Email | Finger | FIX_50SP2_Order_Session | FIX_50SP2_Session | FIX_Session | FIXT_Session | flame | Flash_Enterprise | Flickr | Flickr_Login | Fring | FTP | FTP_Active_mode | FTP_Cisco_EMIX | FTP_Enterprise | FW_HTTP_Audio | FW_HTTP_Text | FW_Images | FW_IPS_HTTP_1_7K | FW_IPS_HTTP_10K | FW_IPS_HTTP_10K_w_Delay | FW_IPS_HTTP_10Requests_Loop | FW_IPS_HTTP_21K | FW_IPS_HTTP_21K_w_Delay | FW_IPS_HTTP_4_5K | FW_IPS_HTTP_44K | FW_IPS_HTTP_Open | FW_Max_HTTP_TPS | FW_Small_Images | Gadu_Gadu_Unencrypted_IM | Giphy_Jan_17 | GMX_Mail_Aug_16 | GMX_Mail_Aug_16_Send_Message | GMX_Mail_Aug_16_Send_Message_with_Attachme | GMX_Mail_Aug_16_View_Message | GMX_Mail_Aug_16_View_Message_with_Attachme | GMX_Webmail | Gnutella | Gnutella_v06 | GoDaddy_Manage_Account_Details_and_Product | GoDaddy_Shop_for_Domain_Names_Nov17 | GoDaddy_Use_Website_Builder_Tool_Nov17 | Google_Analytics | Google_App_Engine | Google_App_Engine_Create_and_Deploy_App | Google_App_Engine_Test_App | Google_Cache | Google_Cache_Directly_Access_the_Cached_Ve | Google_Cache_Search_and_Access_Cached_Vers | Google_Calendar_Aug_14 | Google_Cloud_Storage | Google_Cloud_Storage_Registration | Google_Cloud_Storage_Tutorial | Google_Docs | Google_Docs_Create_Document_and_Download_a | Google_Docs_Edit_Document_and_Rename_it | Google_Drive_Aug_17 | Google_Drive_June_2014 | Google_Earth_Search | Google_Hangouts | Google_Hangouts_Phone_Call | Google_Hangouts_Text_Chat | Google_Hangouts_Video_Call | Google_Location_Services | Google_Mail | Google_Mail_Chinese | Google_Mail_French | Google_Mail_German | Google_Mail_GET_Index | Google_Mail_Italian | Google_Mail_Japanese | Google_Mail_Spanish | Google_Map_Search | Google_Photos_July_2017 | Google_Play_LTE_Mix | Google_Play_Sandvine_Bandwidth | Google_Play_Search_View_and_Download | Google_Plus_Jul_14 | Google_Safe_Browsing | Google_Search | Google_Search_GET_Home_Page | Google_Search_LTE_Mix | Google_Sheets_Oct_17 | Google_Slides_Sept_17 | Google_Voice_Actions | Google_Voice_Actions_Google_Search | Google_Voice_Actions_Phone_Options | GoogleEarthPro_Navigate_the_Globe_Feb_18 | Gopher | GoToMeeting_Mobile | GoToMeeting_Mobile_Join_Meeting | GoToMeeting_Mobile_Start_Meeting | GoToMeeting_Web_App | GSM_MAP_Authenticate_and_Update_GPRS_Locat | GSM_MAP_Send_Routing_Info_For_SM | GSM_MAP_Update_Location_Error | GTalk_Chat | GTalk_File_Transfer | GTalk_Login | GTalk_Voicecall | GTP_Simulated | GTPoIPSec_HTTP_LTE | GTPoIPSec_HTTP_Simple | GTPv2_C_Downlink_Data_Notification | GTPv2_C_Network_Initiated_Dedicated_Bearer | GTPv2_C_Release_Access_Bearers | GTPv2_C_UE_Initiated_Dedicated_Bearer_Supe | GTPv2_Simulated | GTPv2C_S1_S11_Session_Setup_and_Teardown_F | GTPv2C_S5_S8_Session_Setup_and_Teardown_Fl | Hadoop_JobTracker | HBO_Now_Bandwidth | HBO_Now_Desktop | HDFS_NameNode_RPC_List_Directory | Hotmail | Hotmail_Chinese | Hotmail_French | Hotmail_German | Hotmail_Italian | Hotmail_Japanese | Hotmail_Persian | Hotmail_Spanish | HTTP_302_Redirect | HTTP_302_Redirect_Juniper | HTTP_Audio | HTTP_Authenticated | HTTP_Compressed | HTTP_Enterprise | HTTP_Financial_ApacheFF | HTTP_Financial_ApacheIE | HTTP_Financial_IIS_FF | HTTP_Financial_IIS_IE | HTTP_Flash_Video | HTTP_Flash_Video_512k_Data | HTTP_Flash_Video_Service_Provider | HTTP_GET_English_Chrome23_Linux_to_Jetty_S | HTTP_GET_English_Chrome23_Linux_to_Lighttp | HTTP_GET_English_Chrome23_Linux_to_Microso | HTTP_GET_English_Chrome23_Linux_to_nginx_S | HTTP_GET_English_Chrome23_OS_X_to_Apache_S | HTTP_GET_English_Chrome23_OS_X_to_Jetty_Se | HTTP_GET_English_Chrome23_OS_X_to_Lighttpd | HTTP_GET_English_Chrome23_OS_X_to_Microsof | HTTP_GET_English_Chrome23_OS_X_to_nginx_Se | HTTP_GET_English_Chrome23_Windows_7_to_Apa | HTTP_GET_English_Chrome23_Windows_7_to_Jet | HTTP_GET_English_Chrome23_Windows_7_to_Lig | HTTP_GET_English_Chrome23_Windows_7_to_Mic | HTTP_GET_English_Chrome23_Windows_7_to_ngi | HTTP_GET_English_Chrome24_Linux_to_Jetty_S | HTTP_GET_English_Chrome24_Linux_to_Lighttp | HTTP_GET_English_Chrome24_Linux_to_Microso | HTTP_GET_English_Chrome24_Linux_to_nginx_S | HTTP_GET_English_Chrome24_OS_X_to_Apache_S | HTTP_GET_English_Chrome24_OS_X_to_Jetty_Se | HTTP_GET_English_Chrome24_OS_X_to_Lighttpd | HTTP_GET_English_Chrome24_OS_X_to_Microsof | HTTP_GET_English_Chrome24_OS_X_to_nginx_Se | HTTP_GET_English_Chrome24_Windows_7_to_Apa | HTTP_GET_English_Chrome24_Windows_7_to_Jet | HTTP_GET_English_Chrome24_Windows_7_to_Lig | HTTP_GET_English_Chrome24_Windows_7_to_Mic | HTTP_GET_English_Chrome24_Windows_7_to_ngi | HTTP_GET_English_Chrome25_Linux_to_Jetty_S | HTTP_GET_English_Chrome25_Linux_to_Lighttp | HTTP_GET_English_Chrome25_Linux_to_Microso | HTTP_GET_English_Chrome25_Linux_to_nginx_S | HTTP_GET_English_Chrome25_OS_X_to_Apache_S | HTTP_GET_English_Chrome25_OS_X_to_Jetty_Se | HTTP_GET_English_Chrome25_OS_X_to_Lighttpd | HTTP_GET_English_Chrome25_OS_X_to_Microsof | HTTP_GET_English_Chrome25_OS_X_to_nginx_Se | HTTP_GET_English_Chrome25_Windows_7_to_Apa | HTTP_GET_English_Chrome25_Windows_7_to_Jet | HTTP_GET_English_Chrome25_Windows_7_to_Lig | HTTP_GET_English_Chrome25_Windows_7_to_Mic | HTTP_GET_English_Chrome25_Windows_7_to_ngi | HTTP_GET_English_Firefox16_Linux_to_Apache | HTTP_GET_English_Firefox16_Linux_to_Lightt | HTTP_GET_English_Firefox16_Linux_to_Micros | HTTP_GET_English_Firefox16_OS_X_to_Jetty_S | HTTP_GET_English_Firefox16_OS_X_to_Lighttp | HTTP_GET_English_Firefox16_OS_X_to_Microso | HTTP_GET_English_Firefox16_OS_X_to_nginx_S | HTTP_GET_English_Firefox16_Windows_7_to_Ap | HTTP_GET_English_Firefox16_Windows_7_to_Je | HTTP_GET_English_Firefox16_Windows_7_to_Li | HTTP_GET_English_Firefox16_Windows_7_to_Mi | HTTP_GET_English_Firefox16_Windows_7_to_ng | HTTP_GET_English_Firefox17_Linux_to_Apache | HTTP_GET_English_Firefox17_Linux_to_Lightt | HTTP_GET_English_Firefox17_Linux_to_Micros | HTTP_GET_English_Firefox17_OS_X_to_Jetty_S | HTTP_GET_English_Firefox17_OS_X_to_Lighttp | HTTP_GET_English_Firefox17_OS_X_to_Microso | HTTP_GET_English_Firefox17_OS_X_to_nginx_S | HTTP_GET_English_Firefox17_Windows_7_to_Ap | HTTP_GET_English_Firefox17_Windows_7_to_Je | HTTP_GET_English_Firefox17_Windows_7_to_Li | HTTP_GET_English_Firefox17_Windows_7_to_Mi | HTTP_GET_English_Firefox17_Windows_7_to_ng | HTTP_GET_English_Firefox18_Linux_to_Apache | HTTP_GET_English_Firefox18_Linux_to_Lightt | HTTP_GET_English_Firefox18_Linux_to_Micros | HTTP_GET_English_Firefox18_OS_X_to_Jetty_S | HTTP_GET_English_Firefox18_OS_X_to_Lighttp | HTTP_GET_English_Firefox18_OS_X_to_Microso | HTTP_GET_English_Firefox18_OS_X_to_nginx_S | HTTP_GET_English_Firefox18_Windows_7_to_Ap | HTTP_GET_English_Firefox18_Windows_7_to_Je | HTTP_GET_English_Firefox18_Windows_7_to_Li | HTTP_GET_English_Firefox18_Windows_7_to_Mi | HTTP_GET_English_Firefox18_Windows_7_to_ng | HTTP_GET_English_Firefox19_Linux_to_Apache | HTTP_GET_English_Firefox19_Linux_to_Lightt | HTTP_GET_English_Firefox19_Linux_to_Micros | HTTP_GET_English_Firefox19_OS_X_to_Jetty_S | HTTP_GET_English_Firefox19_OS_X_to_Lighttp | HTTP_GET_English_Firefox19_OS_X_to_Microso | HTTP_GET_English_Firefox19_OS_X_to_nginx_S | HTTP_GET_English_Firefox19_Windows_7_to_Ap | HTTP_GET_English_Firefox19_Windows_7_to_Je | HTTP_GET_English_Firefox19_Windows_7_to_Li | HTTP_GET_English_Firefox19_Windows_7_to_Mi | HTTP_GET_English_Firefox19_Windows_7_to_ng | HTTP_GET_English_IE8_Windows_7_to_Apache_S | HTTP_GET_English_IE8_Windows_7_to_Jetty_Se | HTTP_GET_English_IE8_Windows_7_to_Lighttpd | HTTP_GET_English_IE8_Windows_7_to_Microsof | HTTP_GET_English_IE8_Windows_7_to_nginx_Se | HTTP_GET_English_IE9_Windows_7_to_Apache_S | HTTP_GET_English_IE9_Windows_7_to_Jetty_Se | HTTP_GET_English_IE9_Windows_7_to_Lighttpd | HTTP_GET_English_IE9_Windows_7_to_Microsof | HTTP_GET_English_IE9_Windows_7_to_nginx_Se | HTTP_GET_English_Opera11_Linux_to_Apache_S | HTTP_GET_English_Opera11_Linux_to_Jetty_Se | HTTP_GET_English_Opera11_Linux_to_Lighttpd | HTTP_GET_English_Opera11_Linux_to_Microsof | HTTP_GET_English_Opera11_Linux_to_nginx_Se | HTTP_GET_English_Opera11_OS_X_to_Apache_Se | HTTP_GET_English_Opera11_OS_X_to_Jetty_Ser | HTTP_GET_English_Opera11_OS_X_to_Microsoft | HTTP_GET_English_Opera11_OS_X_to_nginx_Ser | HTTP_GET_English_Opera11_Windows_7_to_Apac | HTTP_GET_English_Opera11_Windows_7_to_Jett | HTTP_GET_English_Opera11_Windows_7_to_Ligh | HTTP_GET_English_Opera11_Windows_7_to_Micr | HTTP_GET_English_Opera11_Windows_7_to_ngin | HTTP_GET_English_Opera12_Linux_to_Apache_S | HTTP_GET_English_Opera12_Linux_to_Jetty_Se | HTTP_GET_English_Opera12_Linux_to_Lighttpd | HTTP_GET_English_Opera12_Linux_to_Microsof | HTTP_GET_English_Opera12_Linux_to_nginx_Se | HTTP_GET_English_Opera12_OS_X_to_Apache_Se | HTTP_GET_English_Opera12_OS_X_to_Jetty_Ser | HTTP_GET_English_Opera12_OS_X_to_Microsoft | HTTP_GET_English_Opera12_OS_X_to_nginx_Ser | HTTP_GET_English_Opera12_Windows_7_to_Apac | HTTP_GET_English_Opera12_Windows_7_to_Jett | HTTP_GET_English_Opera12_Windows_7_to_Ligh | HTTP_GET_English_Opera12_Windows_7_to_Micr | HTTP_GET_English_Opera12_Windows_7_to_ngin | HTTP_GET_English_Safari5_OS_X_to_Apache_Se | HTTP_GET_English_Safari5_OS_X_to_Jetty_Ser | HTTP_GET_English_Safari5_OS_X_to_Microsoft | HTTP_GET_English_Safari5_OS_X_to_nginx_Ser | HTTP_GET_English_Safari5_Windows_7_to_Apac | HTTP_GET_English_Safari5_Windows_7_to_Jett | HTTP_GET_English_Safari5_Windows_7_to_Ligh | HTTP_GET_English_Safari5_Windows_7_to_Micr | HTTP_GET_English_Safari5_Windows_7_to_ngin | HTTP_GET_English_Safari6_OS_X_to_Apache_Se | HTTP_GET_English_Safari6_OS_X_to_Jetty_Ser | HTTP_GET_English_Safari6_OS_X_to_Microsoft | HTTP_GET_English_Safari6_OS_X_to_nginx_Ser | HTTP_GET_HTML5_Text_File | HTTP_GET_HTML5_Text_File_Deprecated | HTTP_GET_Text_File | HTTP_Live_Streaming | HTTP_Live_Streaming_HLS | HTTP_LTE_Mix | HTTP_Mobile_Europe | HTTP_Mobile_Europe_with_iPhone | HTTP_Mobile_North_America | HTTP_Mobile_North_America_with_iPhone | HTTP_NTLM_Authenticated | HTTP_Pages | HTTP_Persistent_Session | HTTP_Pipelining | HTTP_POST_PDF_File | HTTP_POST_Web_Login | HTTP_Progressive_Download | HTTP_Raw_Messages | HTTP_Redirect | HTTP_Request | HTTP_RMIX_130K | HTTP_RMIX_25K | HTTP_RMIX_30K | HTTP_Server_Requests | HTTP_Service_Provider | HTTP_Text | HTTP_Text_over_SCTP | HTTP_Text_over_SCTP_over_UDP | HTTP_VE_MAX_Bandwidth | HTTP_VE_MAX_Session | HTTP_Video | HTTPS_100k | HTTPS_10k | HTTPS_Dropbox_Simulated | HTTPS_LTE_Mix | HTTPS_Simulated_512k_Data | HTTPS_Simulated_Enterprise | HTTPS_Simulated_Facebook_Messenger | HTTPS_Simulated_LINE_Basic_Audio_Call | HTTPS_Simulated_LINE_Chat | HTTPS_Simulated_Service_Provider | Hulu_Bandwidth | Hulu_Desktop | iCloudWeb_Push_Notification_Service | ICQ | ICQ_75 | ICQ_76 | ICQ_77 | ICQ_7M | ICQ_80 | ICQ_80_Chinese | ICQ_80_French | ICQ_80_German | ICQ_80_Italian | ICQ_80_Japanese | ICQ_80_Persian | ICQ_80_Spanish | Ident | IEC104 | IMAP | IMAP_Cisco_EMIX | IMAP_LTE_Mix | IMAP_RMIX_16K | IMAP_RMIX_4K | IMAP_RMIX_90K | IMAPv4_Advanced | IMAPv4_Advanced_Chinese | IMAPv4_Advanced_French | IMAPv4_Advanced_German | IMAPv4_Advanced_Italian | IMAPv4_Advanced_Japanese | IMAPv4_Advanced_Persian | IMAPv4_Advanced_Spanish | iMessage_Send_File_Message | iMessage_Send_Text_Message | Inetd_Diagnostic_Services | Informix_Database | Instacart | Instacart_Login_Logout | Instagram_Bandwidth | Instagram_Nov_2014 | IPFIX | IPMI | IPP_Print_Request | IPS_HTTP_Audio | IPS_HTTP_Text | IPS_HTTP_Video | IPS_Images | IPS_Small_Images | IRC_Channel_Join_Chat | IRC_Login | IRC_Login_Auth | IRC_Login_Auth_Failure | IRC_Private_Chat | iSCSI_Read_and_Write | ITCH_NASDAQ_Trading | iTunes_Desktop_App_Store | iTunes_Desktop_App_Store_Feb18 | iTunes_Desktop_Music | iTunes_Mobile_App_Store | iTunes_Mobile_Music | Jabber_Chat | JIRA_Create_Issue | JIRA_List_Issues | Jira_Service_Desk_Help_Center_Issue_Oct17 | Jira_Service_Desk_Issue_Management_Oct17 | Jira_Service_Desk_Project_Management_Oct17 | KakaoTalk_Chat | Kodi_Sep_17_Install_Add_ons | Kodi_Sep_17_Play_Audio | Kodi_Sep_17_Play_Video | Laposte_Webmail_1307 | LDAP | LDAP_SASL_Auth | LinkedIn | Linkedin_1301 | LinkedIn_Dec17_Manage_Connections | LinkedIn_Dec17_Send_Message | Locky_Malware_Infection_Traffic | LPD | LTE_HTTP_Simple_ENB_MME_vs_SGW_PGW_IPV4_IP | Lync_2013_SIPe_Initiate_IM_Chat_Uncompress | Lync_Audio_Video | Mailru | Mailru_2013 | Manufacturing_Message_Specification_MMS | Manufacturing_Message_Specification_MMS_Wr | MAX_Bandwidth_HTTP | MAX_HTTP_Packets_Per_Second | MAX_Raw_Packets_Per_Second | Memcached_Set_and_Get_Key_Example | Memcached_Set_Get_Delete_operations | Meraki_Configure_Network_Nov17 | Meraki_Manage_MDM_Network_Nov17 | Meraki_Monitor_Devices_Nov17 | Message_Session_Relay_Protocol_MSRP | MGCP_Residential_Gateway_Connection_Deleti | Microsoft_Azure | Microsoft_Azure_Create_App | Microsoft_Azure_Sign_Up | Microsoft_OneDrive_Mar_15 | Microsoft_Smooth_Streaming_Play_Clips_with | Microsoft_Smooth_Streaming_Play_Fragments | Microsoft_Update | Minecraft_189_Login_Sequence_to_Multiplaye | Minecraft_189_Server_List_Ping | Mirai_Botnet_DNS_Flood_Attack | Mirai_Botnet_HTTP_Flood_Attack | Mirai_Botnet_UDP_Flood_Attack | Mirai_Botnet_UDP_Plain_Flood_Attack | Mirai_Botnet_Valve_Source_Engine_Query_Flo | MMS_MM1_WAP_HTTP | Modbus | Modbus_Examples | MongoDB_Demo_Super_Flow | MongoDB_Insert_Document | MongoDB_Shell_Connect_Disconnect | MongoDB_Update_Document | MQTT_Connect_and_PING_between_Publish | MQTT_Connect_and_Publish | MQTT_Connect_and_Subscribe_Publish | MS_SQL_Create | MS_SQL_Delete | MS_SQL_Drop | MS_SQL_Insert | MS_SQL_Server | MS_SQL_Server_Advanced | MS_SQL_Update | MS_SQL2012_Advanced | MS_SQL2012_Create_Table | MS_SQL2012_Delete | MS_SQL2012_Drop | MS_SQL2012_Insert | MS_SQL2012_Select | MS_SQL2012_TLS_Advanced | MS_SQL2012_TLS_Create_Table | MS_SQL2012_TLS_Delete | MS_SQL2012_TLS_Drop | MS_SQL2012_TLS_Insert | MS_SQL2012_TLS_Select | MS_SQL2012_TLS_Update | MS_SQL2012_Update | Mxit_Desktop_File_Transfer | Mxit_Desktop_Multiple_Status_Messages | Mxit_Messenger_For_Windows_PC | MySpace_HTTP_Flash_Video | MySQL_Database_Advanced | MySQL_Databse | NetBIOS_Session | Netflix_July_2017 | Netflix_Login_Logout_July_2017 | Netflix_Play_Movie_July_2017 | Netflix_Service_Provider | Netflow_V5 | Netflow_V7 | Netflow_V9 | Netflow_V9_Custom | Netflow_V9_IPv6 | NFS | Niconico_Nov_2013 | nntp | NTP_Synchronization | NTPv2 | NTPv2_Amplification | OCSP_over_HTTP_Multiple_OCSP_Requests | Office_365_Excel_Jul_15 | Office_365_Excel_Jul_15_Create_Workbook | Office_365_Excel_Jul_15_Open_Workbook | Office_365_Excel_Jul_17_Create_Workbook | Office_365_Excel_Jul_17_Open_Workbook | Office_365_OneNote_Jul_15 | Office_365_OneNote_Sep_17 | Office_365_OneNote_Sep_17_Create_and_Edit | Office_365_Outlook_Calendar_Jul_15 | Office_365_Outlook_Calendar_Jul_15_Create | Office_365_Outlook_Calendar_Jul_15_Search | Office_365_Outlook_Mail_Jun_15 | Office_365_Outlook_Mail_Jun_15_Send_Messag | Office_365_Outlook_Mail_Jun_15_View_Messag | Office_365_Outlook_People_Jul_15 | Office_365_Outlook_People_Jul_15_Create_an | Office_365_Outlook_People_Jul_15_Search_fo | Office_365_Outlook_Tasks_Jul_15 | Office_365_Outlook_Tasks_Jul_15_Create_and | Office_365_Outlook_Tasks_Jul_15_Mark_task | Office_365_Outlook_Tasks_Sep_17 | Office_365_Outlook_Tasks_Sep_17_Create_and | Office_365_Outlook_Tasks_Sep_17_Mark_task | Office_365_PowerPoint_Jul_15 | Office_365_PowerPoint_Jul_15_Create_Presen | Office_365_PowerPoint_Jul_15_Open_Presenta | Office_365_Sway_Jul_15 | Office_365_Sway_Jul_15_Configure | Office_365_Sway_Jul_15_Create_Presentation | Office_365_Sway_Jul_15_Edit_Presentation | Office_365_Sway_Jul_15_Preview_Presentatio | Office_365_Word_Jul_15 | Office_365_Word_Jul_17 | Office_365_Word_Jul_17_Create_File | Okazii_130125 | OPC_UA_Binary_Open_Secure_Channel | OPC_UA_Binary_Secure_Get_Endpoints_Respons | OPC_UA_Binary_with_Error_Message | OpenFlow_Demo_Superflow | OpenFlow_Switch_Startup_v10 | OpenStack_Swift_Demo_Super_Flow | Oracle_Database | Oracle_Database_Advanced | Oracle_Database_Create_Table | Oracle_Database_Delete | Oracle_Database_Drop_Table | Oracle_Database_Insert | Oracle_Database_Update | Oracle_Enterprise | OUCH41 | Outlook_Web_Access | Outlook_Web_Access_Chinese | Outlook_Web_Access_French | Outlook_Web_Access_German | Outlook_Web_Access_Italian | Outlook_Web_Access_Japanese | Outlook_Web_Access_Persian | Outlook_Web_Access_Spanish | OWAMP_Session | Pandora | Pandora_iPhone | Pandora_LTE_Mix | Pandora_Sandvine_Bandwidth | Paypal | PeerGuardian_Update | Perforce_Add_New_File | Perforce_Create_Changelist | Perforce_Submit_Changelist | Perforce_Sync_File | Perforce_Ticket_Based_Authentication | Pinterest_Jun17 | Pinterest_Photo_Upload_Jun17 | Pinterest_Search_and_Pin_Jun17 | POP3 | POP3_512 | POP3_Advanced | POP3_Chinese | POP3_French | POP3_German | POP3_Italian | POP3_Japanese | POP3_LTE_Mix | POP3_Persian | POP3_RMIX_16K | POP3_RMIX_4K | POP3_RMIX_90K | POP3_Spanish | PortMapper | POS_FIle_XFER_SMB2 | PostgreSQL | PostgreSQL_Create_Table | PostgreSQL_Delete | PostgreSQL_Drop_Table | PostgreSQL_Insert | PostgreSQL_Update | PPLive_Enterprise | PPTP_Establish_Session | QQ_IM_Chat | QUIC_Demo_Superflow | QUIC_Simple_HTTP_Stream | Quote_of_the_DayTCP | Quote_of_the_DayUDP | RADIUS | RADIUS_Access | RADIUS_Access_IPv6 | RADIUS_IPv4_and_IPv6 | RADIUS_IPv6 | Raw | Raw_25m_Data | Raw_Enterprise | Raw_Service_Provider | Reddit | Reddit_Account_Management_Feb_18 | Reddit_Browse_Content_Feb_18 | Remote_Desktop_Protocol | Resiliency_Sessions_per_Second | Rexec | RFB | RIP_v1 | RIPv2 | Rlogin | Rsh | RSS_Ixia_Feed | RSS_Multi_Feed | Rsync | RTMP | RTMP_Audio_Data_127K | RTMP_Audio_Data_1K | RTMP_Bandwidth | RTMP_Chunk | RTMP_Handshake | Rusers | S102 | S1AP_Authentication_Failure | S1AP_Authentication_Reject | S1AP_Handover_Preparation_Failure | S1AP_S1_Setup | S1AP_UE_Detach | S1AP_UE_Initial_Attach | S7comm_Advanced_Operations | S7comm_Block_List_Operations | S7comm_Download_Block | S7comm_Read_PLC_Status | S7comm_Read_Set_PLC_time | S7comm_Var_Service | Saavn_Music_February_2016 | Saavn_Music_February_2016_Log_In_and_Brows | Saavn_Music_February_2016_Play_Radio | Saavn_Music_February_2016_Play_Songs | Salesforce | Salesforce_Login_Logout | Sandvine_BlackBerry_Bandwidth | SAP | Seamless | Seamless_Login_Logout | ShareFile_Apr_17 | ShareFile_Apr_17_Upload_Download_File | SharePoint_Sep_2014 | Sina_Weibo_Feb_2014 | Sina_Weibo_Post_Feb_2014 | SIP_RTP_Voice_call_w_ENUM | SIP_Spoofed_Invite | Skype_1_minute_call | Skype_14_Call | Skype_14_Login | Skype_14_User_Search | Skype_V5_Sandvine_Bandwidth | Skype_V6_Instant_Messaging_Simple_Chat | SMB_Client_File_Download | SMB_Enterprise | SMB_Failed_Authentication | SMB_Null_Session | SMBv3_Encrypted_File_Download | SMBv3_Establish_Alternate_Channel | SMBv3_Secure_Negotiation | SMPP_Receive | SMPP_Transmit | SMTP_Authenticated_with_Verify | SMTP_Authentication_Failure | SMTP_Cisco_EMIX | SMTP_Email | SMTP_Email_Chinese | SMTP_Email_French | SMTP_Email_German | SMTP_Email_Italian | SMTP_Email_Japanese | SMTP_Email_Persian | SMTP_Email_Proxy_Support | SMTP_Email_Spanish | SMTP_Enterprise | SMTP_RMIX_16K | SMTP_RMIX_4K | SMTP_RMIX_90K | SMTPS | Snapchat_Bandwidth | Snapchat_May_2015 | Snapchat_May_2015_Send_Image | Snapchat_May_2015_Send_Movie | Snapdeal | Snapdeal_Add_items_to_cart | Snapdeal_Browse_website | SNMP | SNMPv1 | SNMPv2c | SNMPv3 | SOCKS_5_Connect_No_User_Authentication | SOCKS_5_Connect_with_User_Authentication | SopCast_P2P_Streaming | Soulseek_Search_and_Queue | SPDY_v2_Simple_GET_Request | SPDY_v2_Simple_POST_Request | SPDY_v2_Stream_Reset_CANCEL | SPDY_v2_Stream_Reset_FLOW_CONTROL_ERROR | SPDY_v2_Stream_Reset_INTERNAL_ERROR | SPDY_v2_Stream_Reset_INVALID_STREAM | SPDY_v2_Stream_Reset_PROTOCOL_ERROR | SPDY_v2_Stream_Reset_REFUSED_STREAM | SPDY_v2_Stream_Reset_UNSUPPORTED_VERSION | SQLMon | SSDP_M_SEARCH_Req_Resp_Unicast | SSH | SSH_Enterprise | Standard_Media_March_2016 | Standard_Media_March_2016_Print_Article | Standard_Media_March_2016_Recommend_and_Co | Standard_Media_March_2016_Share_Article | Steam_Login | STOMP_12 | STOMP_12_10_Backwards_Compatibility | STOMP_12_Error | SunRPC_BIND | Sybase_Database | Syslog | TACACS_Accounting | TACACS_Authentication | TACACS_Authorization | Telnet | Telnet_Failed_Login | The_Pirate_Bay_uTorrent_Download | The_Weather_Channel_Nov_2016 | Tinder | Tinder_Swiping | Tor_Directory_Listing | TR_069_Device_Initialization | TR_069_Firmware_Download | TR_069_Reboot | TUMe_Audio_Share | TUMe_IM | TUMe_Location_Share | TUMe_Photo_Share | TUMe_Register_Device | TvAnts_P2P_Streaming | TVUPlayer_P2P_Streaming | TWAMP_Session | Twitchtv | Twitter_RSS_Mobile | Uber_June_2015_Add_Location | Uber_June_2015_Registration | uTorrent_DHT_File_Download | VE_Max_Bandwidth_TLS1_2_AES_256_CBC_SHA | VE_Max_CC_TLS1_2_3DES_EDE_CBC_SHA | VE_Max_TPS_Superflow | VE_Max_TPS_TLS1_2_AES_256_CBC_SHA | VLC_HTTP_Flash_File_Streaming | VLC_HTTP_MPG_File_Streaming | VMware_VMotion | WAP_12 | WAP_20 | WebDAV | WebDAV_Errors | Webex | WebEx_Meeting | Webmail_Orange | WebSocket_Connection | WebSocket_Message_Generation | WebSocket_Ping_Pong | WhatsApp | WhatsApp_25MB | WhatsApp_Voice_Call | WHOIS | Wikipedia | Windows_Live_Mail | Windows_Live_Messenger_v16 | Windows_Live_Messenger_v16_Chinese | Windows_Live_Messenger_v16_French | Windows_Live_Messenger_v16_German | Windows_Live_Messenger_v16_Italian | Windows_Live_Messenger_v16_Japanese | Windows_Live_Messenger_v16_Persian | Windows_Live_Messenger_v16_Spanish | Windows_Live_MSN_Messenger_v15 | Winny | WORDPRESS_OCTOBER_2013_131016 | World_of_Warcraft | World_of_Warcraft_Patch_Update | WWW_File_Share_Pro_March_2016 | WWW_File_Share_Pro_March_2016_Download | WWW_File_Share_Pro_March_2016_Upload | Xbox_Facebook | Xbox_Live | Xbox_Zune_Video | XMPP_Facebook_Chat | XMPP_Jabber_Demo_Superflow | XMPP_Jabber_Demo_Superflow_with_PKCS7_Encr | XMPP_Jabber_Demo_Superflow_with_PKCS7_Sign | Xunlei_File_Download | Yahoo_HTTP_Flash_Video | Yahoo_IM_Voice_Chat_V10 | Yahoo_Mail | Yahoo_Mail_Chinese | Yahoo_Mail_French | Yahoo_Mail_German | Yahoo_Mail_Italian | Yahoo_Mail_Japanese | Yahoo_Mail_Persian | Yahoo_Mail_Spanish | Yahoo_Search | Yahoo_Search_GET_Home_Page | Yammer_Nov_2016 | Youtube_Bandwidth | YouTube_Music_Bandwidth | YouTube_Music_Play_Video | YouTube_September_2016 | YouTube_September_2016_Bandwidth | YouTube_September_2016_Browse_Sections | YouTube_September_2016_Play_Video | YouTube_Service_Provider | Zalo_VOIP | Zendesk_Nov17 | Zendesk_Nov17_Create_New_Ticket | ZeroAccess_botnet | ZeuS_Botnet]): (Read only) All available application library flows.
"""
return self._get_attribute(self._SDM_ATT_MAP['AvailableFlows'])
@property
def ConfiguredFlows(self):
"""
Returns
-------
- list(str[7SHIFTS_Manager_Access | 7SHIFTS_Quick_Schedule_Review | ActiveSync_Unencrypted | ADP_Login_Pages | AIM6_Chat | AIM6_File_Transfer | Airbnb | Alibaba_May_15 | Amazon_1302 | Amazon_EC2_API_Demo | Amazon_EC2_Create_Key_Pair_Flow | Amazon_EC2_Start_Instances_Flow | Amazon_GET_Home_Page | Amazon_S3_Retrieve_Objects_Flow | Amazon_Video | Android_Market_Search_View_and_Download | Angry_Birds_Friends_September_2015_Faceboo | Angry_Birds_Friends_September_2015_Play | AngryBirds_Friends_Sep_15_In_app_purchase | AOL_Instant_Messenger | AOL_Webmail | AOL_Webmail_Deprecated | Apache_Cassandra_DB | Apache_Cassandra_DB_Start_Up | Apache_Cassandra_DB_Start_Up_and_Registrat | AppleJuice | AppLine_Demo_Superflow | AppLine_Simple_Chat | Appogee_Quick_Calendar_Review | Appogee_Team_Manager_Access | Appointy_Manager_Access | Appointy_Quick_Schedule_Review | Ares_v2183042_Login_File_Download | Average_Web_Page_2011 | AWS_Console_Oct17 | AWS_EC2_Nov17 | AWS_S3_Oct17 | BACnet_IP_Read_File | BACnet_IP_Who_Has_I_Have_Object_Query | BACnet_IP_Who_Is_I_Am_Device_Discovery | BACnet_IP_Write_File | Baidu_Access_Network_of_Web_Portals_Feb_18 | Baidu_Search_Oct_16 | Baidu_Tieba_Jun_16_Access_a_Tieba | Baidu_Tieba_Jun_16_Login_and_Logout | Baidu_Tieba_Jun_16_Post_a_Thread | Bandwidth_BitTorrent_File_Download | Bandwidth_eDonkey | Bandwidth_HTTP | Bandwidth_HTTP_over_SCTP | Bandwidth_HTTP_over_SCTP_over_UDP | Bandwidth_IMAPv4 | Bandwidth_POP3 | Bandwidth_QUIC | Bandwidth_Radius | Bandwidth_Raw | Bandwidth_Telnet | Bandwidth_uTorrent_DHT_File_Download | BBC_iPlayer | BBC_iPlayer_Radio | BGP_IGP_Open_Advertise_Routes | BGP_IGP_Withdraw_Routes | Bing_Search | Bitcoin_Heartbeat | Bitcoin_Synchronization | Bitcoin_Transaction_Information | BitTorrent_Ares_v217_File_Download | BitTorrent_BitComet_v126_File_Download | BitTorrent_Blizzard_File_Download | BitTorrent_Cisco_EMIX | BitTorrent_Enterprise | BitTorrent_File_Download | BitTorrent_LimeWire_v5516_File_Download | BitTorrent_RMIX_5M | BitTorrent_Service_Provider | BitTorrent_Transmission_v222_File_Download | BitTorrent_v720_File_Download | BitTorrent_Vuse_v460_File_Download | BitTorrent_Xunlei_v716_File_Download | BlackBerry_Enterprise_Send_E_Mail | BlackBerry_Enterprise_Send_E_Mail_French | BlackBerry_Enterprise_Send_E_Mail_German | BlackBerry_Enterprise_Send_E_Mail_Italian | BlackBerry_Enterprise_Send_E_Mail_Japanese | BlackBerry_Enterprise_Send_E_Mail_Spanish | Blogspot_Aug_15 | Blogspot_Aug_15_Create_and_Publish_a_new_B | Blogspot_Aug_15_Delete_Blog | Box_Oct_17_Collaborate_on_Files | BuzzFeed_Nov_2016 | CandyCrush_Sep_15 | Capwap | Capwap_Configuration | Capwap_Echo | Certify_Jun_17 | Certify_Jun_17_Create_New_Report | Chargen_TCP | Chargen_UDP | Cisco_Spark_Send_File | Cisco_Spark_Text_Chat | Cisco_Spark_Video_Call | Citrix | Client_Receives_Audio_Data_from_Server_Usi | ClientSim_HTTP_Request_BMP | ClientSim_HTTP_Request_EXE | ClientSim_HTTP_Request_GIF | ClientSim_HTTP_Request_HTML | ClientSim_HTTP_Request_JPG | ClientSim_HTTP_Request_MP3 | ClientSim_HTTP_Request_PDF | ClientSim_HTTP_Request_PNG | ClientSim_HTTP_Request_RTF | ClientSim_HTTP_Request_WAV | ClientSim_HTTP_Slow_Headers | ClientSim_Microsoft_Smooth_Streaming_Play | Concur_Jan_17 | Confluence_Space_and_Page_Operations_Nov17 | Confluence_Space_Operations_Nov17 | Constrained_Application_Protocol_CoAP | Dailymotion_Aug_17 | Dailymotion_Aug_17_Play_A_Video | Dailymotion_Bandwidth | DailyMotion_Mar_15 | DailyMotion_Mar_15_Search_a_DailyMotion_vi | DailyMotion_Mar_15_Search_and_view_a_video | DailyMotion_Mar_15_Upload_a_video_to_Daily | Daytime_TCP | Daytime_UDP | DB2_Database | DCE_RPC | DCE_RPC_MAPI_Session | DCE_RPC_MAPI_with_File_Attachment | DDoS_SMBLoris | DDoS_SSL_HTTP_Post_Flood | DDoS_SSL_Key_Exchange_Flood | Diameter | Diameter_Rx_Interface | Diameter_S9a_Interface | Discard_TCP | Discord_Dec_17 | Discord_Dec_17_Chat | DNP3_Link_Status | DNP3_Read_Class_0_Data | DNP3_Read_Device_Attributes | DNP3_Time_Sync | DNP3_Unsolicited_Response | DNS | DNS_A_Truncated_Lookup | DNS_AAAA_Truncated_Lookup | DNS_SRV_LDAP_Lookup | DNSSEC_A_Record_Lookup | DocuSign_Access_Website_Dec17 | Doodle_July_2015_Create_poll | Doodle_July_2015_Invite_poll_participants | Doodle_July_2015_Participate_in_poll | Dropbox_Demo_Superflow | Dropbox_Initial_Client_Setup_and_Synchroni | Dropbox_Sync_Get_New_File | Dropbox_Sync_Upload_New_File | Duqu_Botnet | Ebay | eBay_Browse_and_Buy_Items_Feb_18 | Ebay_Jan_2015 | eBay_Manage_Personal_Account_Feb_18 | Ebay_Sign_In_Out_Jan_2015 | Echo_TCP | Echo_UDP | eDonkey_Data_Transfer | eDonkey_Upload | Equation_Group_Cisco_Exploit_Chain | Ethernet_IP_Connected | Ethernet_IP_Unconnected | Evergreen_AOL_Chat_AIM_Aug_17 | Evergreen_AOL_Chat_AIM_Aug_17_Receive_Mess | Evergreen_AOL_Chat_AIM_Aug_17_Send_Message | Evergreen_AOL_Chat_AIM_Jan_14 | Evergreen_AOL_Chat_AIM_Jan_14_Receive_Mess | Evergreen_AOL_Chat_AIM_Jan_14_Send_Message | Evergreen_AOL_Chat_AIM_Jul_17 | Evergreen_AOL_Chat_AIM_Jul_17_Receive_Mess | Evergreen_AOL_Chat_AIM_Jul_17_Send_Message | Evergreen_AOL_Chat_AIM_Jun_17 | Evergreen_AOL_Chat_AIM_Jun_17_Receive_Mess | Evergreen_AOL_Chat_AIM_Jun_17_Send_Message | Evergreen_AOL_Chat_AIM_May_17 | Evergreen_AOL_Chat_AIM_May_17_Receive_Mess | Evergreen_AOL_Chat_AIM_May_17_Send_Message | Evergreen_AOL_Chat_AIM_Sep_17 | Evergreen_AOL_Chat_AIM_Sep_17_Receive_Mess | Evergreen_AOL_Chat_AIM_Sep_17_Send_Message | Evergreen_AOL_Mail_Aug_17 | Evergreen_AOL_Mail_Aug_17_Send_Message | Evergreen_AOL_Mail_Aug_17_Send_Message_wit | Evergreen_AOL_Mail_Aug_17_View_Message | Evergreen_AOL_Mail_Aug_17_View_Message_wit | Evergreen_AOL_Mail_Dec_17 | Evergreen_AOL_Mail_Dec_17_Send_Message | Evergreen_AOL_Mail_Dec_17_Send_Message_wit | Evergreen_AOL_Mail_Dec_17_View_Message | Evergreen_AOL_Mail_Dec_17_View_Message_wit | Evergreen_AOL_Mail_Feb_18 | Evergreen_AOL_Mail_Feb_18_Send_Message | Evergreen_AOL_Mail_Feb_18_Send_Message_wit | Evergreen_AOL_Mail_Feb_18_View_Message | Evergreen_AOL_Mail_Feb_18_View_Message_wit | Evergreen_AOL_Mail_Jan_14 | Evergreen_AOL_Mail_Jan_14_Send_Message | Evergreen_AOL_Mail_Jan_14_Send_Message_wit | Evergreen_AOL_Mail_Jan_14_View_Message | Evergreen_AOL_Mail_Jan_14_View_Message_wit | Evergreen_AOL_Mail_Jan_18 | Evergreen_AOL_Mail_Jan_18_Send_Message | Evergreen_AOL_Mail_Jan_18_Send_Message_wit | Evergreen_AOL_Mail_Jan_18_View_Message | Evergreen_AOL_Mail_Jan_18_View_Message_wit | Evergreen_AOL_Mail_Jul_17 | Evergreen_AOL_Mail_Jul_17_Send_Message | Evergreen_AOL_Mail_Jul_17_Send_Message_wit | Evergreen_AOL_Mail_Jul_17_View_Message | Evergreen_AOL_Mail_Jul_17_View_Message_wit | Evergreen_AOL_Mail_Jun_17 | Evergreen_AOL_Mail_Jun_17_Send_Message | Evergreen_AOL_Mail_Jun_17_Send_Message_wit | Evergreen_AOL_Mail_Jun_17_View_Message | Evergreen_AOL_Mail_Jun_17_View_Message_wit | Evergreen_AOL_Mail_May_17 | Evergreen_AOL_Mail_May_17_Send_Message | Evergreen_AOL_Mail_May_17_Send_Message_wit | Evergreen_AOL_Mail_May_17_View_Message | Evergreen_AOL_Mail_May_17_View_Message_wit | Evergreen_AOL_Mail_Nov_17 | Evergreen_AOL_Mail_Nov_17_Send_Message | Evergreen_AOL_Mail_Nov_17_Send_Message_wit | Evergreen_AOL_Mail_Nov_17_View_Message | Evergreen_AOL_Mail_Nov_17_View_Message_wit | Evergreen_AOL_Mail_Oct_17 | Evergreen_AOL_Mail_Oct_17_Send_Message | Evergreen_AOL_Mail_Oct_17_Send_Message_wit | Evergreen_AOL_Mail_Oct_17_View_Message | Evergreen_AOL_Mail_Oct_17_View_Message_wit | Evergreen_AOL_Mail_Sep_17 | Evergreen_AOL_Mail_Sep_17_Send_Message | Evergreen_AOL_Mail_Sep_17_Send_Message_wit | Evergreen_AOL_Mail_Sep_17_View_Message | Evergreen_AOL_Mail_Sep_17_View_Message_wit | Evergreen_Facebook_Aug_17 | Evergreen_Facebook_Dec_17 | Evergreen_Facebook_Feb_18 | Evergreen_Facebook_Jan_14 | Evergreen_Facebook_Jan_18 | Evergreen_Facebook_Jul_17 | Evergreen_Facebook_Jun_17 | Evergreen_Facebook_May_17 | Evergreen_Facebook_Nov_17 | Evergreen_Facebook_Oct_17 | Evergreen_Facebook_Sep_17 | Evergreen_Gmail_Aug_17 | Evergreen_Gmail_Aug_17_Send_Message | Evergreen_Gmail_Aug_17_Send_Message_with_A | Evergreen_Gmail_Aug_17_View_Message | Evergreen_Gmail_Aug_17_View_Message_with_A | Evergreen_Gmail_Dec_17 | Evergreen_Gmail_Dec_17_Send_Message | Evergreen_Gmail_Dec_17_Send_Message_with_A | Evergreen_Gmail_Dec_17_View_Message | Evergreen_Gmail_Dec_17_View_Message_with_A | Evergreen_Gmail_Feb_18 | Evergreen_Gmail_Feb_18_Send_Message | Evergreen_Gmail_Feb_18_Send_Message_with_A | Evergreen_Gmail_Feb_18_View_Message | Evergreen_Gmail_Feb_18_View_Message_with_A | Evergreen_Gmail_Jan_18 | Evergreen_Gmail_Jan_18_Send_Message | Evergreen_Gmail_Jan_18_Send_Message_with_A | Evergreen_Gmail_Jan_18_View_Message | Evergreen_Gmail_Jan_18_View_Message_with_A | Evergreen_Gmail_Jul_17 | Evergreen_Gmail_Jul_17_Send_Message | Evergreen_Gmail_Jul_17_Send_Message_with_A | Evergreen_Gmail_Jul_17_View_Message | Evergreen_Gmail_Jul_17_View_Message_with_A | Evergreen_Gmail_Jun_17 | Evergreen_Gmail_Jun_17_Send_Message | Evergreen_Gmail_Jun_17_Send_Message_with_A | Evergreen_Gmail_Jun_17_View_Message | Evergreen_Gmail_Jun_17_View_Message_with_A | Evergreen_Gmail_May_17 | Evergreen_Gmail_May_17_Send_Message | Evergreen_Gmail_May_17_Send_Message_with_A | Evergreen_Gmail_May_17_View_Message | Evergreen_Gmail_May_17_View_Message_with_A | Evergreen_Gmail_Nov_17 | Evergreen_Gmail_Nov_17_Send_Message | Evergreen_Gmail_Nov_17_Send_Message_with_A | Evergreen_Gmail_Nov_17_View_Message | Evergreen_Gmail_Nov_17_View_Message_with_A | Evergreen_Gmail_Oct_17 | Evergreen_Gmail_Oct_17_Send_Message | Evergreen_Gmail_Oct_17_Send_Message_with_A | Evergreen_Gmail_Oct_17_View_Message | Evergreen_Gmail_Oct_17_View_Message_with_A | Evergreen_Gmail_Sep_17 | Evergreen_Gmail_Sep_17_Send_Message | Evergreen_Gmail_Sep_17_Send_Message_with_A | Evergreen_Gmail_Sep_17_View_Message | Evergreen_Gmail_Sep_17_View_Message_with_A | Evergreen_Rediffmail_Aug_17 | Evergreen_Rediffmail_Aug_17_Send_Message | Evergreen_Rediffmail_Aug_17_Send_Message_w | Evergreen_Rediffmail_Aug_17_View_Message | Evergreen_Rediffmail_Aug_17_View_Message_w | Evergreen_Rediffmail_Dec_17 | Evergreen_Rediffmail_Dec_17_Send_Message | Evergreen_Rediffmail_Dec_17_Send_Message_w | Evergreen_Rediffmail_Dec_17_View_Message | Evergreen_Rediffmail_Dec_17_View_Message_w | Evergreen_Rediffmail_Feb_18 | Evergreen_Rediffmail_Feb_18_Send_Message | Evergreen_Rediffmail_Feb_18_Send_Message_w | Evergreen_Rediffmail_Feb_18_View_Message | Evergreen_Rediffmail_Feb_18_View_Message_w | Evergreen_Rediffmail_Jan_18 | Evergreen_Rediffmail_Jan_18_Send_Message | Evergreen_Rediffmail_Jan_18_Send_Message_w | Evergreen_Rediffmail_Jan_18_View_Message | Evergreen_Rediffmail_Jan_18_View_Message_w | Evergreen_Rediffmail_Jul_17 | Evergreen_Rediffmail_Jul_17_Send_Message | Evergreen_Rediffmail_Jul_17_Send_Message_w | Evergreen_Rediffmail_Jul_17_View_Message | Evergreen_Rediffmail_Jul_17_View_Message_w | Evergreen_Rediffmail_Jun_17 | Evergreen_Rediffmail_Jun_17_Send_Message | Evergreen_Rediffmail_Jun_17_Send_Message_w | Evergreen_Rediffmail_Jun_17_View_Message | Evergreen_Rediffmail_Jun_17_View_Message_w | Evergreen_Rediffmail_May_17 | Evergreen_Rediffmail_May_17_Send_Message | Evergreen_Rediffmail_May_17_Send_Message_w | Evergreen_Rediffmail_May_17_View_Message | Evergreen_Rediffmail_May_17_View_Message_w | Evergreen_Rediffmail_Nov_17 | Evergreen_Rediffmail_Nov_17_Send_Message | Evergreen_Rediffmail_Nov_17_Send_Message_w | Evergreen_Rediffmail_Nov_17_View_Message | Evergreen_Rediffmail_Nov_17_View_Message_w | Evergreen_Rediffmail_Oct_17 | Evergreen_Rediffmail_Oct_17_Send_Message | Evergreen_Rediffmail_Oct_17_Send_Message_w | Evergreen_Rediffmail_Oct_17_View_Message | Evergreen_Rediffmail_Oct_17_View_Message_w | Evergreen_Rediffmail_Sep_17 | Evergreen_Rediffmail_Sep_17_Send_Message | Evergreen_Rediffmail_Sep_17_Send_Message_w | Evergreen_Rediffmail_Sep_17_View_Message | Evergreen_Rediffmail_Sep_17_View_Message_w | Evergreen_Twitter_Aug_17 | Evergreen_Twitter_Aug_17_Post_Status | Evergreen_Twitter_Aug_17_View_Home_Timelin | Evergreen_Twitter_Dec_17 | Evergreen_Twitter_Dec_17_Post_Status | Evergreen_Twitter_Dec_17_View_Home_Timelin | Evergreen_Twitter_Feb_18 | Evergreen_Twitter_Feb_18_Post_Status | Evergreen_Twitter_Feb_18_View_Home_Timelin | Evergreen_Twitter_Jan_18 | Evergreen_Twitter_Jan_18_Post_Status | Evergreen_Twitter_Jan_18_View_Home_Timelin | Evergreen_Twitter_Jul_17 | Evergreen_Twitter_Jul_17_Post_Status | Evergreen_Twitter_Jul_17_View_Home_Timelin | Evergreen_Twitter_Jun_17 | Evergreen_Twitter_Jun_17_Post_Status | Evergreen_Twitter_Jun_17_View_Home_Timelin | Evergreen_Twitter_May_17 | Evergreen_Twitter_May_17_Post_Status | Evergreen_Twitter_May_17_View_Home_Timelin | Evergreen_Twitter_Nov_17 | Evergreen_Twitter_Nov_17_Post_Status | Evergreen_Twitter_Nov_17_View_Home_Timelin | Evergreen_Twitter_Oct_17 | Evergreen_Twitter_Oct_17_Post_Status | Evergreen_Twitter_Oct_17_View_Home_Timelin | Evergreen_Twitter_Sep_17 | Evergreen_Twitter_Sep_17_Post_Status | Evergreen_Twitter_Sep_17_View_Home_Timelin | Evergreen_Web_ICQ_Aug_17 | Evergreen_Web_ICQ_Aug_17_Receive_Message | Evergreen_Web_ICQ_Aug_17_Send_Message | Evergreen_Web_ICQ_Dec_17 | Evergreen_Web_ICQ_Dec_17_Receive_Message | Evergreen_Web_ICQ_Dec_17_Send_Message | Evergreen_Web_ICQ_Feb_18 | Evergreen_Web_ICQ_Feb_18_Receive_Message | Evergreen_Web_ICQ_Feb_18_Send_Message | Evergreen_Web_ICQ_Jan_18 | Evergreen_Web_ICQ_Jan_18_Receive_Message | Evergreen_Web_ICQ_Jan_18_Send_Message | Evergreen_Web_ICQ_Jul_17 | Evergreen_Web_ICQ_Jul_17_Receive_Message | Evergreen_Web_ICQ_Jul_17_Send_Message | Evergreen_Web_ICQ_Jun_17 | Evergreen_Web_ICQ_Jun_17_Receive_Message | Evergreen_Web_ICQ_Jun_17_Send_Message | Evergreen_Web_ICQ_May_17 | Evergreen_Web_ICQ_May_17_Receive_Message | Evergreen_Web_ICQ_May_17_Send_Message | Evergreen_Web_ICQ_Nov_17 | Evergreen_Web_ICQ_Nov_17_Receive_Message | Evergreen_Web_ICQ_Nov_17_Send_Message | Evergreen_Web_ICQ_Oct_17 | Evergreen_Web_ICQ_Oct_17_Receive_Message | Evergreen_Web_ICQ_Oct_17_Send_Message | Evergreen_Web_ICQ_Sep_17 | Evergreen_Web_ICQ_Sep_17_Receive_Message | Evergreen_Web_ICQ_Sep_17_Send_Message | Evergreen_WindowsLiveMail_Aug_17 | Evergreen_WindowsLiveMail_Aug_17_Send_Mess | Evergreen_WindowsLiveMail_Aug_17_View_Mess | Evergreen_WindowsLiveMail_Dec_17 | Evergreen_WindowsLiveMail_Dec_17_Send_Mess | Evergreen_WindowsLiveMail_Dec_17_View_Mess | Evergreen_WindowsLiveMail_Feb_18 | Evergreen_WindowsLiveMail_Feb_18_Send_Mess | Evergreen_WindowsLiveMail_Feb_18_View_Mess | Evergreen_WindowsLiveMail_Jan_18 | Evergreen_WindowsLiveMail_Jan_18_Send_Mess | Evergreen_WindowsLiveMail_Jan_18_View_Mess | Evergreen_WindowsLiveMail_Jul_17 | Evergreen_WindowsLiveMail_Jul_17_Send_Mess | Evergreen_WindowsLiveMail_Jul_17_View_Mess | Evergreen_WindowsLiveMail_Jun_17 | Evergreen_WindowsLiveMail_Jun_17_Send_Mess | Evergreen_WindowsLiveMail_Jun_17_View_Mess | Evergreen_WindowsLiveMail_May_17 | Evergreen_WindowsLiveMail_May_17_Send_Mess | Evergreen_WindowsLiveMail_May_17_View_Mess | Evergreen_WindowsLiveMail_Nov_17 | Evergreen_WindowsLiveMail_Nov_17_Send_Mess | Evergreen_WindowsLiveMail_Nov_17_View_Mess | Evergreen_WindowsLiveMail_Oct_17 | Evergreen_WindowsLiveMail_Oct_17_Send_Mess | Evergreen_WindowsLiveMail_Oct_17_View_Mess | Evergreen_WindowsLiveMail_Sep_17 | Evergreen_WindowsLiveMail_Sep_17_Send_Mess | Evergreen_WindowsLiveMail_Sep_17_View_Mess | Evergreen_Yahoo_Chat_Aug_17 | Evergreen_Yahoo_Chat_Aug_17_Receive_Messag | Evergreen_Yahoo_Chat_Aug_17_Send_Message | Evergreen_Yahoo_Chat_Dec_17 | Evergreen_Yahoo_Chat_Dec_17_Receive_Messag | Evergreen_Yahoo_Chat_Dec_17_Send_Message | Evergreen_Yahoo_Chat_Feb_18 | Evergreen_Yahoo_Chat_Feb_18_Receive_Messag | Evergreen_Yahoo_Chat_Feb_18_Send_Message | Evergreen_Yahoo_Chat_Jan_18 | Evergreen_Yahoo_Chat_Jan_18_Receive_Messag | Evergreen_Yahoo_Chat_Jan_18_Send_Message | Evergreen_Yahoo_Chat_Jul_17 | Evergreen_Yahoo_Chat_Jul_17_Receive_Messag | Evergreen_Yahoo_Chat_Jul_17_Send_Message | Evergreen_Yahoo_Chat_Jun_17 | Evergreen_Yahoo_Chat_Jun_17_Receive_Messag | Evergreen_Yahoo_Chat_Jun_17_Send_Message | Evergreen_Yahoo_Chat_May_17 | Evergreen_Yahoo_Chat_May_17_Receive_Messag | Evergreen_Yahoo_Chat_May_17_Send_Message | Evergreen_Yahoo_Chat_Nov_17 | Evergreen_Yahoo_Chat_Nov_17_Receive_Messag | Evergreen_Yahoo_Chat_Nov_17_Send_Message | Evergreen_Yahoo_Chat_Sep_17 | Evergreen_Yahoo_Chat_Sep_17_Receive_Messag | Evergreen_Yahoo_Chat_Sep_17_Send_Message | Evergreen_Yahoo_Mail_Aug_17 | Evergreen_Yahoo_Mail_Aug_17_Send_Message | Evergreen_Yahoo_Mail_Aug_17_Send_Message_w | Evergreen_Yahoo_Mail_Aug_17_View_Message | Evergreen_Yahoo_Mail_Aug_17_View_Message_w | Evergreen_Yahoo_Mail_Dec_17 | Evergreen_Yahoo_Mail_Dec_17_Send_Message | Evergreen_Yahoo_Mail_Dec_17_Send_Message_w | Evergreen_Yahoo_Mail_Dec_17_View_Message | Evergreen_Yahoo_Mail_Dec_17_View_Message_w | Evergreen_Yahoo_Mail_Feb_18 | Evergreen_Yahoo_Mail_Feb_18_Send_Message | Evergreen_Yahoo_Mail_Feb_18_Send_Message_w | Evergreen_Yahoo_Mail_Feb_18_View_Message | Evergreen_Yahoo_Mail_Feb_18_View_Message_w | Evergreen_Yahoo_Mail_Jan_18 | Evergreen_Yahoo_Mail_Jan_18_Send_Message | Evergreen_Yahoo_Mail_Jan_18_Send_Message_w | Evergreen_Yahoo_Mail_Jan_18_View_Message | Evergreen_Yahoo_Mail_Jan_18_View_Message_w | Evergreen_Yahoo_Mail_Jul_14 | Evergreen_Yahoo_Mail_Jul_17 | Evergreen_Yahoo_Mail_Jul_17_Send_Message | Evergreen_Yahoo_Mail_Jul_17_Send_Message_w | Evergreen_Yahoo_Mail_Jul_17_View_Message | Evergreen_Yahoo_Mail_Jul_17_View_Message_w | Evergreen_Yahoo_Mail_Jun_17 | Evergreen_Yahoo_Mail_Jun_17_Send_Message | Evergreen_Yahoo_Mail_Jun_17_Send_Message_w | Evergreen_Yahoo_Mail_Jun_17_View_Message | Evergreen_Yahoo_Mail_Jun_17_View_Message_w | Evergreen_Yahoo_Mail_May_17 | Evergreen_Yahoo_Mail_May_17_Send_Message | Evergreen_Yahoo_Mail_May_17_Send_Message_w | Evergreen_Yahoo_Mail_May_17_View_Message | Evergreen_Yahoo_Mail_May_17_View_Message_w | Evergreen_Yahoo_Mail_Nov_17 | Evergreen_Yahoo_Mail_Nov_17_Send_Message | Evergreen_Yahoo_Mail_Nov_17_Send_Message_w | Evergreen_Yahoo_Mail_Nov_17_View_Message | Evergreen_Yahoo_Mail_Nov_17_View_Message_w | Evergreen_Yahoo_Mail_Oct_17 | Evergreen_Yahoo_Mail_Oct_17_Send_Message | Evergreen_Yahoo_Mail_Oct_17_Send_Message_w | Evergreen_Yahoo_Mail_Oct_17_View_Message | Evergreen_Yahoo_Mail_Oct_17_View_Message_w | Evergreen_Yahoo_Mail_Sep_17 | Evergreen_Yahoo_Mail_Sep_17_Send_Message | Evergreen_Yahoo_Mail_Sep_17_Send_Message_w | Evergreen_Yahoo_Mail_Sep_17_View_Message | Evergreen_Yahoo_Mail_Sep_17_View_Message_w | Evergreen_YahooGroups_Aug_17 | Evergreen_YahooGroups_Dec_17 | Evergreen_YahooGroups_Feb_18 | Evergreen_YahooGroups_Jan_14 | Evergreen_YahooGroups_Jan_18 | Evergreen_YahooGroups_Jul_17 | Evergreen_YahooGroups_Jun_17 | Evergreen_YahooGroups_May_17 | Evergreen_YahooGroups_Nov_17 | Evergreen_YahooGroups_Oct_17 | Evergreen_YahooGroups_Sep_17 | Evernote_Desktop_Aug_17 | Evernote_Desktop_Aug_17_Add_Note | Evernote_Desktop_Aug_17_Add_Note_with_Atta | Everquest_December_2015_Create_account | Everquest_December_2015_Download_and_insta | Everquest_December_2015_Open_game_and_logi | Exchange_Outlook_Receive_Mail | Exchange_Outlook_Send_Mail | Exchange_Outlook_Session_Start | Facebook | Facebook_Android | Facebook_Android_Chat_Session | Facebook_API | Facebook_Chrome | Facebook_GET_Home_Page | Facebook_iOS | Facebook_iOS_Chat_Session | Facebook_Japanese | Farmville | Financial_IMAPv4_Advanced | Financial_POP3_Advanced | Financial_SMB_Client_File_Download | Financial_SMBv2_File_Download | Financial_SMTP_Email | Finger | FIX_50SP2_Order_Session | FIX_50SP2_Session | FIX_Session | FIXT_Session | flame | Flash_Enterprise | Flickr | Flickr_Login | Fring | FTP | FTP_Active_mode | FTP_Cisco_EMIX | FTP_Enterprise | FW_HTTP_Audio | FW_HTTP_Text | FW_Images | FW_IPS_HTTP_1_7K | FW_IPS_HTTP_10K | FW_IPS_HTTP_10K_w_Delay | FW_IPS_HTTP_10Requests_Loop | FW_IPS_HTTP_21K | FW_IPS_HTTP_21K_w_Delay | FW_IPS_HTTP_4_5K | FW_IPS_HTTP_44K | FW_IPS_HTTP_Open | FW_Max_HTTP_TPS | FW_Small_Images | Gadu_Gadu_Unencrypted_IM | Giphy_Jan_17 | GMX_Mail_Aug_16 | GMX_Mail_Aug_16_Send_Message | GMX_Mail_Aug_16_Send_Message_with_Attachme | GMX_Mail_Aug_16_View_Message | GMX_Mail_Aug_16_View_Message_with_Attachme | GMX_Webmail | Gnutella | Gnutella_v06 | GoDaddy_Manage_Account_Details_and_Product | GoDaddy_Shop_for_Domain_Names_Nov17 | GoDaddy_Use_Website_Builder_Tool_Nov17 | Google_Analytics | Google_App_Engine | Google_App_Engine_Create_and_Deploy_App | Google_App_Engine_Test_App | Google_Cache | Google_Cache_Directly_Access_the_Cached_Ve | Google_Cache_Search_and_Access_Cached_Vers | Google_Calendar_Aug_14 | Google_Cloud_Storage | Google_Cloud_Storage_Registration | Google_Cloud_Storage_Tutorial | Google_Docs | Google_Docs_Create_Document_and_Download_a | Google_Docs_Edit_Document_and_Rename_it | Google_Drive_Aug_17 | Google_Drive_June_2014 | Google_Earth_Search | Google_Hangouts | Google_Hangouts_Phone_Call | Google_Hangouts_Text_Chat | Google_Hangouts_Video_Call | Google_Location_Services | Google_Mail | Google_Mail_Chinese | Google_Mail_French | Google_Mail_German | Google_Mail_GET_Index | Google_Mail_Italian | Google_Mail_Japanese | Google_Mail_Spanish | Google_Map_Search | Google_Photos_July_2017 | Google_Play_LTE_Mix | Google_Play_Sandvine_Bandwidth | Google_Play_Search_View_and_Download | Google_Plus_Jul_14 | Google_Safe_Browsing | Google_Search | Google_Search_GET_Home_Page | Google_Search_LTE_Mix | Google_Sheets_Oct_17 | Google_Slides_Sept_17 | Google_Voice_Actions | Google_Voice_Actions_Google_Search | Google_Voice_Actions_Phone_Options | GoogleEarthPro_Navigate_the_Globe_Feb_18 | Gopher | GoToMeeting_Mobile | GoToMeeting_Mobile_Join_Meeting | GoToMeeting_Mobile_Start_Meeting | GoToMeeting_Web_App | GSM_MAP_Authenticate_and_Update_GPRS_Locat | GSM_MAP_Send_Routing_Info_For_SM | GSM_MAP_Update_Location_Error | GTalk_Chat | GTalk_File_Transfer | GTalk_Login | GTalk_Voicecall | GTP_Simulated | GTPoIPSec_HTTP_LTE | GTPoIPSec_HTTP_Simple | GTPv2_C_Downlink_Data_Notification | GTPv2_C_Network_Initiated_Dedicated_Bearer | GTPv2_C_Release_Access_Bearers | GTPv2_C_UE_Initiated_Dedicated_Bearer_Supe | GTPv2_Simulated | GTPv2C_S1_S11_Session_Setup_and_Teardown_F | GTPv2C_S5_S8_Session_Setup_and_Teardown_Fl | Hadoop_JobTracker | HBO_Now_Bandwidth | HBO_Now_Desktop | HDFS_NameNode_RPC_List_Directory | Hotmail | Hotmail_Chinese | Hotmail_French | Hotmail_German | Hotmail_Italian | Hotmail_Japanese | Hotmail_Persian | Hotmail_Spanish | HTTP_302_Redirect | HTTP_302_Redirect_Juniper | HTTP_Audio | HTTP_Authenticated | HTTP_Compressed | HTTP_Enterprise | HTTP_Financial_ApacheFF | HTTP_Financial_ApacheIE | HTTP_Financial_IIS_FF | HTTP_Financial_IIS_IE | HTTP_Flash_Video | HTTP_Flash_Video_512k_Data | HTTP_Flash_Video_Service_Provider | HTTP_GET_English_Chrome23_Linux_to_Jetty_S | HTTP_GET_English_Chrome23_Linux_to_Lighttp | HTTP_GET_English_Chrome23_Linux_to_Microso | HTTP_GET_English_Chrome23_Linux_to_nginx_S | HTTP_GET_English_Chrome23_OS_X_to_Apache_S | HTTP_GET_English_Chrome23_OS_X_to_Jetty_Se | HTTP_GET_English_Chrome23_OS_X_to_Lighttpd | HTTP_GET_English_Chrome23_OS_X_to_Microsof | HTTP_GET_English_Chrome23_OS_X_to_nginx_Se | HTTP_GET_English_Chrome23_Windows_7_to_Apa | HTTP_GET_English_Chrome23_Windows_7_to_Jet | HTTP_GET_English_Chrome23_Windows_7_to_Lig | HTTP_GET_English_Chrome23_Windows_7_to_Mic | HTTP_GET_English_Chrome23_Windows_7_to_ngi | HTTP_GET_English_Chrome24_Linux_to_Jetty_S | HTTP_GET_English_Chrome24_Linux_to_Lighttp | HTTP_GET_English_Chrome24_Linux_to_Microso | HTTP_GET_English_Chrome24_Linux_to_nginx_S | HTTP_GET_English_Chrome24_OS_X_to_Apache_S | HTTP_GET_English_Chrome24_OS_X_to_Jetty_Se | HTTP_GET_English_Chrome24_OS_X_to_Lighttpd | HTTP_GET_English_Chrome24_OS_X_to_Microsof | HTTP_GET_English_Chrome24_OS_X_to_nginx_Se | HTTP_GET_English_Chrome24_Windows_7_to_Apa | HTTP_GET_English_Chrome24_Windows_7_to_Jet | HTTP_GET_English_Chrome24_Windows_7_to_Lig | HTTP_GET_English_Chrome24_Windows_7_to_Mic | HTTP_GET_English_Chrome24_Windows_7_to_ngi | HTTP_GET_English_Chrome25_Linux_to_Jetty_S | HTTP_GET_English_Chrome25_Linux_to_Lighttp | HTTP_GET_English_Chrome25_Linux_to_Microso | HTTP_GET_English_Chrome25_Linux_to_nginx_S | HTTP_GET_English_Chrome25_OS_X_to_Apache_S | HTTP_GET_English_Chrome25_OS_X_to_Jetty_Se | HTTP_GET_English_Chrome25_OS_X_to_Lighttpd | HTTP_GET_English_Chrome25_OS_X_to_Microsof | HTTP_GET_English_Chrome25_OS_X_to_nginx_Se | HTTP_GET_English_Chrome25_Windows_7_to_Apa | HTTP_GET_English_Chrome25_Windows_7_to_Jet | HTTP_GET_English_Chrome25_Windows_7_to_Lig | HTTP_GET_English_Chrome25_Windows_7_to_Mic | HTTP_GET_English_Chrome25_Windows_7_to_ngi | HTTP_GET_English_Firefox16_Linux_to_Apache | HTTP_GET_English_Firefox16_Linux_to_Lightt | HTTP_GET_English_Firefox16_Linux_to_Micros | HTTP_GET_English_Firefox16_OS_X_to_Jetty_S | HTTP_GET_English_Firefox16_OS_X_to_Lighttp | HTTP_GET_English_Firefox16_OS_X_to_Microso | HTTP_GET_English_Firefox16_OS_X_to_nginx_S | HTTP_GET_English_Firefox16_Windows_7_to_Ap | HTTP_GET_English_Firefox16_Windows_7_to_Je | HTTP_GET_English_Firefox16_Windows_7_to_Li | HTTP_GET_English_Firefox16_Windows_7_to_Mi | HTTP_GET_English_Firefox16_Windows_7_to_ng | HTTP_GET_English_Firefox17_Linux_to_Apache | HTTP_GET_English_Firefox17_Linux_to_Lightt | HTTP_GET_English_Firefox17_Linux_to_Micros | HTTP_GET_English_Firefox17_OS_X_to_Jetty_S | HTTP_GET_English_Firefox17_OS_X_to_Lighttp | HTTP_GET_English_Firefox17_OS_X_to_Microso | HTTP_GET_English_Firefox17_OS_X_to_nginx_S | HTTP_GET_English_Firefox17_Windows_7_to_Ap | HTTP_GET_English_Firefox17_Windows_7_to_Je | HTTP_GET_English_Firefox17_Windows_7_to_Li | HTTP_GET_English_Firefox17_Windows_7_to_Mi | HTTP_GET_English_Firefox17_Windows_7_to_ng | HTTP_GET_English_Firefox18_Linux_to_Apache | HTTP_GET_English_Firefox18_Linux_to_Lightt | HTTP_GET_English_Firefox18_Linux_to_Micros | HTTP_GET_English_Firefox18_OS_X_to_Jetty_S | HTTP_GET_English_Firefox18_OS_X_to_Lighttp | HTTP_GET_English_Firefox18_OS_X_to_Microso | HTTP_GET_English_Firefox18_OS_X_to_nginx_S | HTTP_GET_English_Firefox18_Windows_7_to_Ap | HTTP_GET_English_Firefox18_Windows_7_to_Je | HTTP_GET_English_Firefox18_Windows_7_to_Li | HTTP_GET_English_Firefox18_Windows_7_to_Mi | HTTP_GET_English_Firefox18_Windows_7_to_ng | HTTP_GET_English_Firefox19_Linux_to_Apache | HTTP_GET_English_Firefox19_Linux_to_Lightt | HTTP_GET_English_Firefox19_Linux_to_Micros | HTTP_GET_English_Firefox19_OS_X_to_Jetty_S | HTTP_GET_English_Firefox19_OS_X_to_Lighttp | HTTP_GET_English_Firefox19_OS_X_to_Microso | HTTP_GET_English_Firefox19_OS_X_to_nginx_S | HTTP_GET_English_Firefox19_Windows_7_to_Ap | HTTP_GET_English_Firefox19_Windows_7_to_Je | HTTP_GET_English_Firefox19_Windows_7_to_Li | HTTP_GET_English_Firefox19_Windows_7_to_Mi | HTTP_GET_English_Firefox19_Windows_7_to_ng | HTTP_GET_English_IE8_Windows_7_to_Apache_S | HTTP_GET_English_IE8_Windows_7_to_Jetty_Se | HTTP_GET_English_IE8_Windows_7_to_Lighttpd | HTTP_GET_English_IE8_Windows_7_to_Microsof | HTTP_GET_English_IE8_Windows_7_to_nginx_Se | HTTP_GET_English_IE9_Windows_7_to_Apache_S | HTTP_GET_English_IE9_Windows_7_to_Jetty_Se | HTTP_GET_English_IE9_Windows_7_to_Lighttpd | HTTP_GET_English_IE9_Windows_7_to_Microsof | HTTP_GET_English_IE9_Windows_7_to_nginx_Se | HTTP_GET_English_Opera11_Linux_to_Apache_S | HTTP_GET_English_Opera11_Linux_to_Jetty_Se | HTTP_GET_English_Opera11_Linux_to_Lighttpd | HTTP_GET_English_Opera11_Linux_to_Microsof | HTTP_GET_English_Opera11_Linux_to_nginx_Se | HTTP_GET_English_Opera11_OS_X_to_Apache_Se | HTTP_GET_English_Opera11_OS_X_to_Jetty_Ser | HTTP_GET_English_Opera11_OS_X_to_Microsoft | HTTP_GET_English_Opera11_OS_X_to_nginx_Ser | HTTP_GET_English_Opera11_Windows_7_to_Apac | HTTP_GET_English_Opera11_Windows_7_to_Jett | HTTP_GET_English_Opera11_Windows_7_to_Ligh | HTTP_GET_English_Opera11_Windows_7_to_Micr | HTTP_GET_English_Opera11_Windows_7_to_ngin | HTTP_GET_English_Opera12_Linux_to_Apache_S | HTTP_GET_English_Opera12_Linux_to_Jetty_Se | HTTP_GET_English_Opera12_Linux_to_Lighttpd | HTTP_GET_English_Opera12_Linux_to_Microsof | HTTP_GET_English_Opera12_Linux_to_nginx_Se | HTTP_GET_English_Opera12_OS_X_to_Apache_Se | HTTP_GET_English_Opera12_OS_X_to_Jetty_Ser | HTTP_GET_English_Opera12_OS_X_to_Microsoft | HTTP_GET_English_Opera12_OS_X_to_nginx_Ser | HTTP_GET_English_Opera12_Windows_7_to_Apac | HTTP_GET_English_Opera12_Windows_7_to_Jett | HTTP_GET_English_Opera12_Windows_7_to_Ligh | HTTP_GET_English_Opera12_Windows_7_to_Micr | HTTP_GET_English_Opera12_Windows_7_to_ngin | HTTP_GET_English_Safari5_OS_X_to_Apache_Se | HTTP_GET_English_Safari5_OS_X_to_Jetty_Ser | HTTP_GET_English_Safari5_OS_X_to_Microsoft | HTTP_GET_English_Safari5_OS_X_to_nginx_Ser | HTTP_GET_English_Safari5_Windows_7_to_Apac | HTTP_GET_English_Safari5_Windows_7_to_Jett | HTTP_GET_English_Safari5_Windows_7_to_Ligh | HTTP_GET_English_Safari5_Windows_7_to_Micr | HTTP_GET_English_Safari5_Windows_7_to_ngin | HTTP_GET_English_Safari6_OS_X_to_Apache_Se | HTTP_GET_English_Safari6_OS_X_to_Jetty_Ser | HTTP_GET_English_Safari6_OS_X_to_Microsoft | HTTP_GET_English_Safari6_OS_X_to_nginx_Ser | HTTP_GET_HTML5_Text_File | HTTP_GET_HTML5_Text_File_Deprecated | HTTP_GET_Text_File | HTTP_Live_Streaming | HTTP_Live_Streaming_HLS | HTTP_LTE_Mix | HTTP_Mobile_Europe | HTTP_Mobile_Europe_with_iPhone | HTTP_Mobile_North_America | HTTP_Mobile_North_America_with_iPhone | HTTP_NTLM_Authenticated | HTTP_Pages | HTTP_Persistent_Session | HTTP_Pipelining | HTTP_POST_PDF_File | HTTP_POST_Web_Login | HTTP_Progressive_Download | HTTP_Raw_Messages | HTTP_Redirect | HTTP_Request | HTTP_RMIX_130K | HTTP_RMIX_25K | HTTP_RMIX_30K | HTTP_Server_Requests | HTTP_Service_Provider | HTTP_Text | HTTP_Text_over_SCTP | HTTP_Text_over_SCTP_over_UDP | HTTP_VE_MAX_Bandwidth | HTTP_VE_MAX_Session | HTTP_Video | HTTPS_100k | HTTPS_10k | HTTPS_Dropbox_Simulated | HTTPS_LTE_Mix | HTTPS_Simulated_512k_Data | HTTPS_Simulated_Enterprise | HTTPS_Simulated_Facebook_Messenger | HTTPS_Simulated_LINE_Basic_Audio_Call | HTTPS_Simulated_LINE_Chat | HTTPS_Simulated_Service_Provider | Hulu_Bandwidth | Hulu_Desktop | iCloudWeb_Push_Notification_Service | ICQ | ICQ_75 | ICQ_76 | ICQ_77 | ICQ_7M | ICQ_80 | ICQ_80_Chinese | ICQ_80_French | ICQ_80_German | ICQ_80_Italian | ICQ_80_Japanese | ICQ_80_Persian | ICQ_80_Spanish | Ident | IEC104 | IMAP | IMAP_Cisco_EMIX | IMAP_LTE_Mix | IMAP_RMIX_16K | IMAP_RMIX_4K | IMAP_RMIX_90K | IMAPv4_Advanced | IMAPv4_Advanced_Chinese | IMAPv4_Advanced_French | IMAPv4_Advanced_German | IMAPv4_Advanced_Italian | IMAPv4_Advanced_Japanese | IMAPv4_Advanced_Persian | IMAPv4_Advanced_Spanish | iMessage_Send_File_Message | iMessage_Send_Text_Message | Inetd_Diagnostic_Services | Informix_Database | Instacart | Instacart_Login_Logout | Instagram_Bandwidth | Instagram_Nov_2014 | IPFIX | IPMI | IPP_Print_Request | IPS_HTTP_Audio | IPS_HTTP_Text | IPS_HTTP_Video | IPS_Images | IPS_Small_Images | IRC_Channel_Join_Chat | IRC_Login | IRC_Login_Auth | IRC_Login_Auth_Failure | IRC_Private_Chat | iSCSI_Read_and_Write | ITCH_NASDAQ_Trading | iTunes_Desktop_App_Store | iTunes_Desktop_App_Store_Feb18 | iTunes_Desktop_Music | iTunes_Mobile_App_Store | iTunes_Mobile_Music | Jabber_Chat | JIRA_Create_Issue | JIRA_List_Issues | Jira_Service_Desk_Help_Center_Issue_Oct17 | Jira_Service_Desk_Issue_Management_Oct17 | Jira_Service_Desk_Project_Management_Oct17 | KakaoTalk_Chat | Kodi_Sep_17_Install_Add_ons | Kodi_Sep_17_Play_Audio | Kodi_Sep_17_Play_Video | Laposte_Webmail_1307 | LDAP | LDAP_SASL_Auth | LinkedIn | Linkedin_1301 | LinkedIn_Dec17_Manage_Connections | LinkedIn_Dec17_Send_Message | Locky_Malware_Infection_Traffic | LPD | LTE_HTTP_Simple_ENB_MME_vs_SGW_PGW_IPV4_IP | Lync_2013_SIPe_Initiate_IM_Chat_Uncompress | Lync_Audio_Video | Mailru | Mailru_2013 | Manufacturing_Message_Specification_MMS | Manufacturing_Message_Specification_MMS_Wr | MAX_Bandwidth_HTTP | MAX_HTTP_Packets_Per_Second | MAX_Raw_Packets_Per_Second | Memcached_Set_and_Get_Key_Example | Memcached_Set_Get_Delete_operations | Meraki_Configure_Network_Nov17 | Meraki_Manage_MDM_Network_Nov17 | Meraki_Monitor_Devices_Nov17 | Message_Session_Relay_Protocol_MSRP | MGCP_Residential_Gateway_Connection_Deleti | Microsoft_Azure | Microsoft_Azure_Create_App | Microsoft_Azure_Sign_Up | Microsoft_OneDrive_Mar_15 | Microsoft_Smooth_Streaming_Play_Clips_with | Microsoft_Smooth_Streaming_Play_Fragments | Microsoft_Update | Minecraft_189_Login_Sequence_to_Multiplaye | Minecraft_189_Server_List_Ping | Mirai_Botnet_DNS_Flood_Attack | Mirai_Botnet_HTTP_Flood_Attack | Mirai_Botnet_UDP_Flood_Attack | Mirai_Botnet_UDP_Plain_Flood_Attack | Mirai_Botnet_Valve_Source_Engine_Query_Flo | MMS_MM1_WAP_HTTP | Modbus | Modbus_Examples | MongoDB_Demo_Super_Flow | MongoDB_Insert_Document | MongoDB_Shell_Connect_Disconnect | MongoDB_Update_Document | MQTT_Connect_and_PING_between_Publish | MQTT_Connect_and_Publish | MQTT_Connect_and_Subscribe_Publish | MS_SQL_Create | MS_SQL_Delete | MS_SQL_Drop | MS_SQL_Insert | MS_SQL_Server | MS_SQL_Server_Advanced | MS_SQL_Update | MS_SQL2012_Advanced | MS_SQL2012_Create_Table | MS_SQL2012_Delete | MS_SQL2012_Drop | MS_SQL2012_Insert | MS_SQL2012_Select | MS_SQL2012_TLS_Advanced | MS_SQL2012_TLS_Create_Table | MS_SQL2012_TLS_Delete | MS_SQL2012_TLS_Drop | MS_SQL2012_TLS_Insert | MS_SQL2012_TLS_Select | MS_SQL2012_TLS_Update | MS_SQL2012_Update | Mxit_Desktop_File_Transfer | Mxit_Desktop_Multiple_Status_Messages | Mxit_Messenger_For_Windows_PC | MySpace_HTTP_Flash_Video | MySQL_Database_Advanced | MySQL_Databse | NetBIOS_Session | Netflix_July_2017 | Netflix_Login_Logout_July_2017 | Netflix_Play_Movie_July_2017 | Netflix_Service_Provider | Netflow_V5 | Netflow_V7 | Netflow_V9 | Netflow_V9_Custom | Netflow_V9_IPv6 | NFS | Niconico_Nov_2013 | nntp | NTP_Synchronization | NTPv2 | NTPv2_Amplification | OCSP_over_HTTP_Multiple_OCSP_Requests | Office_365_Excel_Jul_15 | Office_365_Excel_Jul_15_Create_Workbook | Office_365_Excel_Jul_15_Open_Workbook | Office_365_Excel_Jul_17_Create_Workbook | Office_365_Excel_Jul_17_Open_Workbook | Office_365_OneNote_Jul_15 | Office_365_OneNote_Sep_17 | Office_365_OneNote_Sep_17_Create_and_Edit | Office_365_Outlook_Calendar_Jul_15 | Office_365_Outlook_Calendar_Jul_15_Create | Office_365_Outlook_Calendar_Jul_15_Search | Office_365_Outlook_Mail_Jun_15 | Office_365_Outlook_Mail_Jun_15_Send_Messag | Office_365_Outlook_Mail_Jun_15_View_Messag | Office_365_Outlook_People_Jul_15 | Office_365_Outlook_People_Jul_15_Create_an | Office_365_Outlook_People_Jul_15_Search_fo | Office_365_Outlook_Tasks_Jul_15 | Office_365_Outlook_Tasks_Jul_15_Create_and | Office_365_Outlook_Tasks_Jul_15_Mark_task | Office_365_Outlook_Tasks_Sep_17 | Office_365_Outlook_Tasks_Sep_17_Create_and | Office_365_Outlook_Tasks_Sep_17_Mark_task | Office_365_PowerPoint_Jul_15 | Office_365_PowerPoint_Jul_15_Create_Presen | Office_365_PowerPoint_Jul_15_Open_Presenta | Office_365_Sway_Jul_15 | Office_365_Sway_Jul_15_Configure | Office_365_Sway_Jul_15_Create_Presentation | Office_365_Sway_Jul_15_Edit_Presentation | Office_365_Sway_Jul_15_Preview_Presentatio | Office_365_Word_Jul_15 | Office_365_Word_Jul_17 | Office_365_Word_Jul_17_Create_File | Okazii_130125 | OPC_UA_Binary_Open_Secure_Channel | OPC_UA_Binary_Secure_Get_Endpoints_Respons | OPC_UA_Binary_with_Error_Message | OpenFlow_Demo_Superflow | OpenFlow_Switch_Startup_v10 | OpenStack_Swift_Demo_Super_Flow | Oracle_Database | Oracle_Database_Advanced | Oracle_Database_Create_Table | Oracle_Database_Delete | Oracle_Database_Drop_Table | Oracle_Database_Insert | Oracle_Database_Update | Oracle_Enterprise | OUCH41 | Outlook_Web_Access | Outlook_Web_Access_Chinese | Outlook_Web_Access_French | Outlook_Web_Access_German | Outlook_Web_Access_Italian | Outlook_Web_Access_Japanese | Outlook_Web_Access_Persian | Outlook_Web_Access_Spanish | OWAMP_Session | Pandora | Pandora_iPhone | Pandora_LTE_Mix | Pandora_Sandvine_Bandwidth | Paypal | PeerGuardian_Update | Perforce_Add_New_File | Perforce_Create_Changelist | Perforce_Submit_Changelist | Perforce_Sync_File | Perforce_Ticket_Based_Authentication | Pinterest_Jun17 | Pinterest_Photo_Upload_Jun17 | Pinterest_Search_and_Pin_Jun17 | POP3 | POP3_512 | POP3_Advanced | POP3_Chinese | POP3_French | POP3_German | POP3_Italian | POP3_Japanese | POP3_LTE_Mix | POP3_Persian | POP3_RMIX_16K | POP3_RMIX_4K | POP3_RMIX_90K | POP3_Spanish | PortMapper | POS_FIle_XFER_SMB2 | PostgreSQL | PostgreSQL_Create_Table | PostgreSQL_Delete | PostgreSQL_Drop_Table | PostgreSQL_Insert | PostgreSQL_Update | PPLive_Enterprise | PPTP_Establish_Session | QQ_IM_Chat | QUIC_Demo_Superflow | QUIC_Simple_HTTP_Stream | Quote_of_the_DayTCP | Quote_of_the_DayUDP | RADIUS | RADIUS_Access | RADIUS_Access_IPv6 | RADIUS_IPv4_and_IPv6 | RADIUS_IPv6 | Raw | Raw_25m_Data | Raw_Enterprise | Raw_Service_Provider | Reddit | Reddit_Account_Management_Feb_18 | Reddit_Browse_Content_Feb_18 | Remote_Desktop_Protocol | Resiliency_Sessions_per_Second | Rexec | RFB | RIP_v1 | RIPv2 | Rlogin | Rsh | RSS_Ixia_Feed | RSS_Multi_Feed | Rsync | RTMP | RTMP_Audio_Data_127K | RTMP_Audio_Data_1K | RTMP_Bandwidth | RTMP_Chunk | RTMP_Handshake | Rusers | S102 | S1AP_Authentication_Failure | S1AP_Authentication_Reject | S1AP_Handover_Preparation_Failure | S1AP_S1_Setup | S1AP_UE_Detach | S1AP_UE_Initial_Attach | S7comm_Advanced_Operations | S7comm_Block_List_Operations | S7comm_Download_Block | S7comm_Read_PLC_Status | S7comm_Read_Set_PLC_time | S7comm_Var_Service | Saavn_Music_February_2016 | Saavn_Music_February_2016_Log_In_and_Brows | Saavn_Music_February_2016_Play_Radio | Saavn_Music_February_2016_Play_Songs | Salesforce | Salesforce_Login_Logout | Sandvine_BlackBerry_Bandwidth | SAP | Seamless | Seamless_Login_Logout | ShareFile_Apr_17 | ShareFile_Apr_17_Upload_Download_File | SharePoint_Sep_2014 | Sina_Weibo_Feb_2014 | Sina_Weibo_Post_Feb_2014 | SIP_RTP_Voice_call_w_ENUM | SIP_Spoofed_Invite | Skype_1_minute_call | Skype_14_Call | Skype_14_Login | Skype_14_User_Search | Skype_V5_Sandvine_Bandwidth | Skype_V6_Instant_Messaging_Simple_Chat | SMB_Client_File_Download | SMB_Enterprise | SMB_Failed_Authentication | SMB_Null_Session | SMBv3_Encrypted_File_Download | SMBv3_Establish_Alternate_Channel | SMBv3_Secure_Negotiation | SMPP_Receive | SMPP_Transmit | SMTP_Authenticated_with_Verify | SMTP_Authentication_Failure | SMTP_Cisco_EMIX | SMTP_Email | SMTP_Email_Chinese | SMTP_Email_French | SMTP_Email_German | SMTP_Email_Italian | SMTP_Email_Japanese | SMTP_Email_Persian | SMTP_Email_Proxy_Support | SMTP_Email_Spanish | SMTP_Enterprise | SMTP_RMIX_16K | SMTP_RMIX_4K | SMTP_RMIX_90K | SMTPS | Snapchat_Bandwidth | Snapchat_May_2015 | Snapchat_May_2015_Send_Image | Snapchat_May_2015_Send_Movie | Snapdeal | Snapdeal_Add_items_to_cart | Snapdeal_Browse_website | SNMP | SNMPv1 | SNMPv2c | SNMPv3 | SOCKS_5_Connect_No_User_Authentication | SOCKS_5_Connect_with_User_Authentication | SopCast_P2P_Streaming | Soulseek_Search_and_Queue | SPDY_v2_Simple_GET_Request | SPDY_v2_Simple_POST_Request | SPDY_v2_Stream_Reset_CANCEL | SPDY_v2_Stream_Reset_FLOW_CONTROL_ERROR | SPDY_v2_Stream_Reset_INTERNAL_ERROR | SPDY_v2_Stream_Reset_INVALID_STREAM | SPDY_v2_Stream_Reset_PROTOCOL_ERROR | SPDY_v2_Stream_Reset_REFUSED_STREAM | SPDY_v2_Stream_Reset_UNSUPPORTED_VERSION | SQLMon | SSDP_M_SEARCH_Req_Resp_Unicast | SSH | SSH_Enterprise | Standard_Media_March_2016 | Standard_Media_March_2016_Print_Article | Standard_Media_March_2016_Recommend_and_Co | Standard_Media_March_2016_Share_Article | Steam_Login | STOMP_12 | STOMP_12_10_Backwards_Compatibility | STOMP_12_Error | SunRPC_BIND | Sybase_Database | Syslog | TACACS_Accounting | TACACS_Authentication | TACACS_Authorization | Telnet | Telnet_Failed_Login | The_Pirate_Bay_uTorrent_Download | The_Weather_Channel_Nov_2016 | Tinder | Tinder_Swiping | Tor_Directory_Listing | TR_069_Device_Initialization | TR_069_Firmware_Download | TR_069_Reboot | TUMe_Audio_Share | TUMe_IM | TUMe_Location_Share | TUMe_Photo_Share | TUMe_Register_Device | TvAnts_P2P_Streaming | TVUPlayer_P2P_Streaming | TWAMP_Session | Twitchtv | Twitter_RSS_Mobile | Uber_June_2015_Add_Location | Uber_June_2015_Registration | uTorrent_DHT_File_Download | VE_Max_Bandwidth_TLS1_2_AES_256_CBC_SHA | VE_Max_CC_TLS1_2_3DES_EDE_CBC_SHA | VE_Max_TPS_Superflow | VE_Max_TPS_TLS1_2_AES_256_CBC_SHA | VLC_HTTP_Flash_File_Streaming | VLC_HTTP_MPG_File_Streaming | VMware_VMotion | WAP_12 | WAP_20 | WebDAV | WebDAV_Errors | Webex | WebEx_Meeting | Webmail_Orange | WebSocket_Connection | WebSocket_Message_Generation | WebSocket_Ping_Pong | WhatsApp | WhatsApp_25MB | WhatsApp_Voice_Call | WHOIS | Wikipedia | Windows_Live_Mail | Windows_Live_Messenger_v16 | Windows_Live_Messenger_v16_Chinese | Windows_Live_Messenger_v16_French | Windows_Live_Messenger_v16_German | Windows_Live_Messenger_v16_Italian | Windows_Live_Messenger_v16_Japanese | Windows_Live_Messenger_v16_Persian | Windows_Live_Messenger_v16_Spanish | Windows_Live_MSN_Messenger_v15 | Winny | WORDPRESS_OCTOBER_2013_131016 | World_of_Warcraft | World_of_Warcraft_Patch_Update | WWW_File_Share_Pro_March_2016 | WWW_File_Share_Pro_March_2016_Download | WWW_File_Share_Pro_March_2016_Upload | Xbox_Facebook | Xbox_Live | Xbox_Zune_Video | XMPP_Facebook_Chat | XMPP_Jabber_Demo_Superflow | XMPP_Jabber_Demo_Superflow_with_PKCS7_Encr | XMPP_Jabber_Demo_Superflow_with_PKCS7_Sign | Xunlei_File_Download | Yahoo_HTTP_Flash_Video | Yahoo_IM_Voice_Chat_V10 | Yahoo_Mail | Yahoo_Mail_Chinese | Yahoo_Mail_French | Yahoo_Mail_German | Yahoo_Mail_Italian | Yahoo_Mail_Japanese | Yahoo_Mail_Persian | Yahoo_Mail_Spanish | Yahoo_Search | Yahoo_Search_GET_Home_Page | Yammer_Nov_2016 | Youtube_Bandwidth | YouTube_Music_Bandwidth | YouTube_Music_Play_Video | YouTube_September_2016 | YouTube_September_2016_Bandwidth | YouTube_September_2016_Browse_Sections | YouTube_September_2016_Play_Video | YouTube_Service_Provider | Zalo_VOIP | Zendesk_Nov17 | Zendesk_Nov17_Create_New_Ticket | ZeroAccess_botnet | ZeuS_Botnet]): Configured application library flows within profile.
"""
return self._get_attribute(self._SDM_ATT_MAP['ConfiguredFlows'])
@ConfiguredFlows.setter
def ConfiguredFlows(self, value):
self._set_attribute(self._SDM_ATT_MAP['ConfiguredFlows'], value)
@property
def EnablePerIPStats(self):
"""
Returns
-------
- bool: Enable Per IP Stats. When true then Per IP statistic drilldown is available.
"""
return self._get_attribute(self._SDM_ATT_MAP['EnablePerIPStats'])
@EnablePerIPStats.setter
def EnablePerIPStats(self, value):
self._set_attribute(self._SDM_ATT_MAP['EnablePerIPStats'], value)
@property
def ObjectiveDistribution(self):
"""
Returns
-------
- str(applyFullObjectiveToEachPort | splitObjectiveEvenlyAmongPorts): Objective distribution value.
"""
return self._get_attribute(self._SDM_ATT_MAP['ObjectiveDistribution'])
@ObjectiveDistribution.setter
def ObjectiveDistribution(self, value):
self._set_attribute(self._SDM_ATT_MAP['ObjectiveDistribution'], value)
@property
def ObjectiveType(self):
"""
Returns
-------
- str(simulatedUsers | throughputGbps | throughputKbps | throughputMbps): The objective type of the test.A Test Objective is the way the user sets the actual rate of the Application Library Traffic transmission.
"""
return self._get_attribute(self._SDM_ATT_MAP['ObjectiveType'])
@ObjectiveType.setter
def ObjectiveType(self, value):
self._set_attribute(self._SDM_ATT_MAP['ObjectiveType'], value)
@property
def ObjectiveValue(self):
"""
Returns
-------
- number: The absolute value of either simulated users or throughput in its measure unit.
"""
return self._get_attribute(self._SDM_ATT_MAP['ObjectiveValue'])
@ObjectiveValue.setter
def ObjectiveValue(self, value):
self._set_attribute(self._SDM_ATT_MAP['ObjectiveValue'], value)
@property
def TrafficState(self):
"""
Returns
-------
- str(Configured | Interim | Running | Unconfigured): (Read only) A read-only field which indicates the current state of the traffic item.
"""
return self._get_attribute(self._SDM_ATT_MAP['TrafficState'])
def update(self, ConfiguredFlows=None, EnablePerIPStats=None, ObjectiveDistribution=None, ObjectiveType=None, ObjectiveValue=None):
"""Updates appLibProfile resource on the server.
Args
----
- ConfiguredFlows (list(str[7SHIFTS_Manager_Access | 7SHIFTS_Quick_Schedule_Review | ActiveSync_Unencrypted | ADP_Login_Pages | AIM6_Chat | AIM6_File_Transfer | Airbnb | Alibaba_May_15 | Amazon_1302 | Amazon_EC2_API_Demo | Amazon_EC2_Create_Key_Pair_Flow | Amazon_EC2_Start_Instances_Flow | Amazon_GET_Home_Page | Amazon_S3_Retrieve_Objects_Flow | Amazon_Video | Android_Market_Search_View_and_Download | Angry_Birds_Friends_September_2015_Faceboo | Angry_Birds_Friends_September_2015_Play | AngryBirds_Friends_Sep_15_In_app_purchase | AOL_Instant_Messenger | AOL_Webmail | AOL_Webmail_Deprecated | Apache_Cassandra_DB | Apache_Cassandra_DB_Start_Up | Apache_Cassandra_DB_Start_Up_and_Registrat | AppleJuice | AppLine_Demo_Superflow | AppLine_Simple_Chat | Appogee_Quick_Calendar_Review | Appogee_Team_Manager_Access | Appointy_Manager_Access | Appointy_Quick_Schedule_Review | Ares_v2183042_Login_File_Download | Average_Web_Page_2011 | AWS_Console_Oct17 | AWS_EC2_Nov17 | AWS_S3_Oct17 | BACnet_IP_Read_File | BACnet_IP_Who_Has_I_Have_Object_Query | BACnet_IP_Who_Is_I_Am_Device_Discovery | BACnet_IP_Write_File | Baidu_Access_Network_of_Web_Portals_Feb_18 | Baidu_Search_Oct_16 | Baidu_Tieba_Jun_16_Access_a_Tieba | Baidu_Tieba_Jun_16_Login_and_Logout | Baidu_Tieba_Jun_16_Post_a_Thread | Bandwidth_BitTorrent_File_Download | Bandwidth_eDonkey | Bandwidth_HTTP | Bandwidth_HTTP_over_SCTP | Bandwidth_HTTP_over_SCTP_over_UDP | Bandwidth_IMAPv4 | Bandwidth_POP3 | Bandwidth_QUIC | Bandwidth_Radius | Bandwidth_Raw | Bandwidth_Telnet | Bandwidth_uTorrent_DHT_File_Download | BBC_iPlayer | BBC_iPlayer_Radio | BGP_IGP_Open_Advertise_Routes | BGP_IGP_Withdraw_Routes | Bing_Search | Bitcoin_Heartbeat | Bitcoin_Synchronization | Bitcoin_Transaction_Information | BitTorrent_Ares_v217_File_Download | BitTorrent_BitComet_v126_File_Download | BitTorrent_Blizzard_File_Download | BitTorrent_Cisco_EMIX | BitTorrent_Enterprise | BitTorrent_File_Download | BitTorrent_LimeWire_v5516_File_Download | BitTorrent_RMIX_5M | BitTorrent_Service_Provider | BitTorrent_Transmission_v222_File_Download | BitTorrent_v720_File_Download | BitTorrent_Vuse_v460_File_Download | BitTorrent_Xunlei_v716_File_Download | BlackBerry_Enterprise_Send_E_Mail | BlackBerry_Enterprise_Send_E_Mail_French | BlackBerry_Enterprise_Send_E_Mail_German | BlackBerry_Enterprise_Send_E_Mail_Italian | BlackBerry_Enterprise_Send_E_Mail_Japanese | BlackBerry_Enterprise_Send_E_Mail_Spanish | Blogspot_Aug_15 | Blogspot_Aug_15_Create_and_Publish_a_new_B | Blogspot_Aug_15_Delete_Blog | Box_Oct_17_Collaborate_on_Files | BuzzFeed_Nov_2016 | CandyCrush_Sep_15 | Capwap | Capwap_Configuration | Capwap_Echo | Certify_Jun_17 | Certify_Jun_17_Create_New_Report | Chargen_TCP | Chargen_UDP | Cisco_Spark_Send_File | Cisco_Spark_Text_Chat | Cisco_Spark_Video_Call | Citrix | Client_Receives_Audio_Data_from_Server_Usi | ClientSim_HTTP_Request_BMP | ClientSim_HTTP_Request_EXE | ClientSim_HTTP_Request_GIF | ClientSim_HTTP_Request_HTML | ClientSim_HTTP_Request_JPG | ClientSim_HTTP_Request_MP3 | ClientSim_HTTP_Request_PDF | ClientSim_HTTP_Request_PNG | ClientSim_HTTP_Request_RTF | ClientSim_HTTP_Request_WAV | ClientSim_HTTP_Slow_Headers | ClientSim_Microsoft_Smooth_Streaming_Play | Concur_Jan_17 | Confluence_Space_and_Page_Operations_Nov17 | Confluence_Space_Operations_Nov17 | Constrained_Application_Protocol_CoAP | Dailymotion_Aug_17 | Dailymotion_Aug_17_Play_A_Video | Dailymotion_Bandwidth | DailyMotion_Mar_15 | DailyMotion_Mar_15_Search_a_DailyMotion_vi | DailyMotion_Mar_15_Search_and_view_a_video | DailyMotion_Mar_15_Upload_a_video_to_Daily | Daytime_TCP | Daytime_UDP | DB2_Database | DCE_RPC | DCE_RPC_MAPI_Session | DCE_RPC_MAPI_with_File_Attachment | DDoS_SMBLoris | DDoS_SSL_HTTP_Post_Flood | DDoS_SSL_Key_Exchange_Flood | Diameter | Diameter_Rx_Interface | Diameter_S9a_Interface | Discard_TCP | Discord_Dec_17 | Discord_Dec_17_Chat | DNP3_Link_Status | DNP3_Read_Class_0_Data | DNP3_Read_Device_Attributes | DNP3_Time_Sync | DNP3_Unsolicited_Response | DNS | DNS_A_Truncated_Lookup | DNS_AAAA_Truncated_Lookup | DNS_SRV_LDAP_Lookup | DNSSEC_A_Record_Lookup | DocuSign_Access_Website_Dec17 | Doodle_July_2015_Create_poll | Doodle_July_2015_Invite_poll_participants | Doodle_July_2015_Participate_in_poll | Dropbox_Demo_Superflow | Dropbox_Initial_Client_Setup_and_Synchroni | Dropbox_Sync_Get_New_File | Dropbox_Sync_Upload_New_File | Duqu_Botnet | Ebay | eBay_Browse_and_Buy_Items_Feb_18 | Ebay_Jan_2015 | eBay_Manage_Personal_Account_Feb_18 | Ebay_Sign_In_Out_Jan_2015 | Echo_TCP | Echo_UDP | eDonkey_Data_Transfer | eDonkey_Upload | Equation_Group_Cisco_Exploit_Chain | Ethernet_IP_Connected | Ethernet_IP_Unconnected | Evergreen_AOL_Chat_AIM_Aug_17 | Evergreen_AOL_Chat_AIM_Aug_17_Receive_Mess | Evergreen_AOL_Chat_AIM_Aug_17_Send_Message | Evergreen_AOL_Chat_AIM_Jan_14 | Evergreen_AOL_Chat_AIM_Jan_14_Receive_Mess | Evergreen_AOL_Chat_AIM_Jan_14_Send_Message | Evergreen_AOL_Chat_AIM_Jul_17 | Evergreen_AOL_Chat_AIM_Jul_17_Receive_Mess | Evergreen_AOL_Chat_AIM_Jul_17_Send_Message | Evergreen_AOL_Chat_AIM_Jun_17 | Evergreen_AOL_Chat_AIM_Jun_17_Receive_Mess | Evergreen_AOL_Chat_AIM_Jun_17_Send_Message | Evergreen_AOL_Chat_AIM_May_17 | Evergreen_AOL_Chat_AIM_May_17_Receive_Mess | Evergreen_AOL_Chat_AIM_May_17_Send_Message | Evergreen_AOL_Chat_AIM_Sep_17 | Evergreen_AOL_Chat_AIM_Sep_17_Receive_Mess | Evergreen_AOL_Chat_AIM_Sep_17_Send_Message | Evergreen_AOL_Mail_Aug_17 | Evergreen_AOL_Mail_Aug_17_Send_Message | Evergreen_AOL_Mail_Aug_17_Send_Message_wit | Evergreen_AOL_Mail_Aug_17_View_Message | Evergreen_AOL_Mail_Aug_17_View_Message_wit | Evergreen_AOL_Mail_Dec_17 | Evergreen_AOL_Mail_Dec_17_Send_Message | Evergreen_AOL_Mail_Dec_17_Send_Message_wit | Evergreen_AOL_Mail_Dec_17_View_Message | Evergreen_AOL_Mail_Dec_17_View_Message_wit | Evergreen_AOL_Mail_Feb_18 | Evergreen_AOL_Mail_Feb_18_Send_Message | Evergreen_AOL_Mail_Feb_18_Send_Message_wit | Evergreen_AOL_Mail_Feb_18_View_Message | Evergreen_AOL_Mail_Feb_18_View_Message_wit | Evergreen_AOL_Mail_Jan_14 | Evergreen_AOL_Mail_Jan_14_Send_Message | Evergreen_AOL_Mail_Jan_14_Send_Message_wit | Evergreen_AOL_Mail_Jan_14_View_Message | Evergreen_AOL_Mail_Jan_14_View_Message_wit | Evergreen_AOL_Mail_Jan_18 | Evergreen_AOL_Mail_Jan_18_Send_Message | Evergreen_AOL_Mail_Jan_18_Send_Message_wit | Evergreen_AOL_Mail_Jan_18_View_Message | Evergreen_AOL_Mail_Jan_18_View_Message_wit | Evergreen_AOL_Mail_Jul_17 | Evergreen_AOL_Mail_Jul_17_Send_Message | Evergreen_AOL_Mail_Jul_17_Send_Message_wit | Evergreen_AOL_Mail_Jul_17_View_Message | Evergreen_AOL_Mail_Jul_17_View_Message_wit | Evergreen_AOL_Mail_Jun_17 | Evergreen_AOL_Mail_Jun_17_Send_Message | Evergreen_AOL_Mail_Jun_17_Send_Message_wit | Evergreen_AOL_Mail_Jun_17_View_Message | Evergreen_AOL_Mail_Jun_17_View_Message_wit | Evergreen_AOL_Mail_May_17 | Evergreen_AOL_Mail_May_17_Send_Message | Evergreen_AOL_Mail_May_17_Send_Message_wit | Evergreen_AOL_Mail_May_17_View_Message | Evergreen_AOL_Mail_May_17_View_Message_wit | Evergreen_AOL_Mail_Nov_17 | Evergreen_AOL_Mail_Nov_17_Send_Message | Evergreen_AOL_Mail_Nov_17_Send_Message_wit | Evergreen_AOL_Mail_Nov_17_View_Message | Evergreen_AOL_Mail_Nov_17_View_Message_wit | Evergreen_AOL_Mail_Oct_17 | Evergreen_AOL_Mail_Oct_17_Send_Message | Evergreen_AOL_Mail_Oct_17_Send_Message_wit | Evergreen_AOL_Mail_Oct_17_View_Message | Evergreen_AOL_Mail_Oct_17_View_Message_wit | Evergreen_AOL_Mail_Sep_17 | Evergreen_AOL_Mail_Sep_17_Send_Message | Evergreen_AOL_Mail_Sep_17_Send_Message_wit | Evergreen_AOL_Mail_Sep_17_View_Message | Evergreen_AOL_Mail_Sep_17_View_Message_wit | Evergreen_Facebook_Aug_17 | Evergreen_Facebook_Dec_17 | Evergreen_Facebook_Feb_18 | Evergreen_Facebook_Jan_14 | Evergreen_Facebook_Jan_18 | Evergreen_Facebook_Jul_17 | Evergreen_Facebook_Jun_17 | Evergreen_Facebook_May_17 | Evergreen_Facebook_Nov_17 | Evergreen_Facebook_Oct_17 | Evergreen_Facebook_Sep_17 | Evergreen_Gmail_Aug_17 | Evergreen_Gmail_Aug_17_Send_Message | Evergreen_Gmail_Aug_17_Send_Message_with_A | Evergreen_Gmail_Aug_17_View_Message | Evergreen_Gmail_Aug_17_View_Message_with_A | Evergreen_Gmail_Dec_17 | Evergreen_Gmail_Dec_17_Send_Message | Evergreen_Gmail_Dec_17_Send_Message_with_A | Evergreen_Gmail_Dec_17_View_Message | Evergreen_Gmail_Dec_17_View_Message_with_A | Evergreen_Gmail_Feb_18 | Evergreen_Gmail_Feb_18_Send_Message | Evergreen_Gmail_Feb_18_Send_Message_with_A | Evergreen_Gmail_Feb_18_View_Message | Evergreen_Gmail_Feb_18_View_Message_with_A | Evergreen_Gmail_Jan_18 | Evergreen_Gmail_Jan_18_Send_Message | Evergreen_Gmail_Jan_18_Send_Message_with_A | Evergreen_Gmail_Jan_18_View_Message | Evergreen_Gmail_Jan_18_View_Message_with_A | Evergreen_Gmail_Jul_17 | Evergreen_Gmail_Jul_17_Send_Message | Evergreen_Gmail_Jul_17_Send_Message_with_A | Evergreen_Gmail_Jul_17_View_Message | Evergreen_Gmail_Jul_17_View_Message_with_A | Evergreen_Gmail_Jun_17 | Evergreen_Gmail_Jun_17_Send_Message | Evergreen_Gmail_Jun_17_Send_Message_with_A | Evergreen_Gmail_Jun_17_View_Message | Evergreen_Gmail_Jun_17_View_Message_with_A | Evergreen_Gmail_May_17 | Evergreen_Gmail_May_17_Send_Message | Evergreen_Gmail_May_17_Send_Message_with_A | Evergreen_Gmail_May_17_View_Message | Evergreen_Gmail_May_17_View_Message_with_A | Evergreen_Gmail_Nov_17 | Evergreen_Gmail_Nov_17_Send_Message | Evergreen_Gmail_Nov_17_Send_Message_with_A | Evergreen_Gmail_Nov_17_View_Message | Evergreen_Gmail_Nov_17_View_Message_with_A | Evergreen_Gmail_Oct_17 | Evergreen_Gmail_Oct_17_Send_Message | Evergreen_Gmail_Oct_17_Send_Message_with_A | Evergreen_Gmail_Oct_17_View_Message | Evergreen_Gmail_Oct_17_View_Message_with_A | Evergreen_Gmail_Sep_17 | Evergreen_Gmail_Sep_17_Send_Message | Evergreen_Gmail_Sep_17_Send_Message_with_A | Evergreen_Gmail_Sep_17_View_Message | Evergreen_Gmail_Sep_17_View_Message_with_A | Evergreen_Rediffmail_Aug_17 | Evergreen_Rediffmail_Aug_17_Send_Message | Evergreen_Rediffmail_Aug_17_Send_Message_w | Evergreen_Rediffmail_Aug_17_View_Message | Evergreen_Rediffmail_Aug_17_View_Message_w | Evergreen_Rediffmail_Dec_17 | Evergreen_Rediffmail_Dec_17_Send_Message | Evergreen_Rediffmail_Dec_17_Send_Message_w | Evergreen_Rediffmail_Dec_17_View_Message | Evergreen_Rediffmail_Dec_17_View_Message_w | Evergreen_Rediffmail_Feb_18 | Evergreen_Rediffmail_Feb_18_Send_Message | Evergreen_Rediffmail_Feb_18_Send_Message_w | Evergreen_Rediffmail_Feb_18_View_Message | Evergreen_Rediffmail_Feb_18_View_Message_w | Evergreen_Rediffmail_Jan_18 | Evergreen_Rediffmail_Jan_18_Send_Message | Evergreen_Rediffmail_Jan_18_Send_Message_w | Evergreen_Rediffmail_Jan_18_View_Message | Evergreen_Rediffmail_Jan_18_View_Message_w | Evergreen_Rediffmail_Jul_17 | Evergreen_Rediffmail_Jul_17_Send_Message | Evergreen_Rediffmail_Jul_17_Send_Message_w | Evergreen_Rediffmail_Jul_17_View_Message | Evergreen_Rediffmail_Jul_17_View_Message_w | Evergreen_Rediffmail_Jun_17 | Evergreen_Rediffmail_Jun_17_Send_Message | Evergreen_Rediffmail_Jun_17_Send_Message_w | Evergreen_Rediffmail_Jun_17_View_Message | Evergreen_Rediffmail_Jun_17_View_Message_w | Evergreen_Rediffmail_May_17 | Evergreen_Rediffmail_May_17_Send_Message | Evergreen_Rediffmail_May_17_Send_Message_w | Evergreen_Rediffmail_May_17_View_Message | Evergreen_Rediffmail_May_17_View_Message_w | Evergreen_Rediffmail_Nov_17 | Evergreen_Rediffmail_Nov_17_Send_Message | Evergreen_Rediffmail_Nov_17_Send_Message_w | Evergreen_Rediffmail_Nov_17_View_Message | Evergreen_Rediffmail_Nov_17_View_Message_w | Evergreen_Rediffmail_Oct_17 | Evergreen_Rediffmail_Oct_17_Send_Message | Evergreen_Rediffmail_Oct_17_Send_Message_w | Evergreen_Rediffmail_Oct_17_View_Message | Evergreen_Rediffmail_Oct_17_View_Message_w | Evergreen_Rediffmail_Sep_17 | Evergreen_Rediffmail_Sep_17_Send_Message | Evergreen_Rediffmail_Sep_17_Send_Message_w | Evergreen_Rediffmail_Sep_17_View_Message | Evergreen_Rediffmail_Sep_17_View_Message_w | Evergreen_Twitter_Aug_17 | Evergreen_Twitter_Aug_17_Post_Status | Evergreen_Twitter_Aug_17_View_Home_Timelin | Evergreen_Twitter_Dec_17 | Evergreen_Twitter_Dec_17_Post_Status | Evergreen_Twitter_Dec_17_View_Home_Timelin | Evergreen_Twitter_Feb_18 | Evergreen_Twitter_Feb_18_Post_Status | Evergreen_Twitter_Feb_18_View_Home_Timelin | Evergreen_Twitter_Jan_18 | Evergreen_Twitter_Jan_18_Post_Status | Evergreen_Twitter_Jan_18_View_Home_Timelin | Evergreen_Twitter_Jul_17 | Evergreen_Twitter_Jul_17_Post_Status | Evergreen_Twitter_Jul_17_View_Home_Timelin | Evergreen_Twitter_Jun_17 | Evergreen_Twitter_Jun_17_Post_Status | Evergreen_Twitter_Jun_17_View_Home_Timelin | Evergreen_Twitter_May_17 | Evergreen_Twitter_May_17_Post_Status | Evergreen_Twitter_May_17_View_Home_Timelin | Evergreen_Twitter_Nov_17 | Evergreen_Twitter_Nov_17_Post_Status | Evergreen_Twitter_Nov_17_View_Home_Timelin | Evergreen_Twitter_Oct_17 | Evergreen_Twitter_Oct_17_Post_Status | Evergreen_Twitter_Oct_17_View_Home_Timelin | Evergreen_Twitter_Sep_17 | Evergreen_Twitter_Sep_17_Post_Status | Evergreen_Twitter_Sep_17_View_Home_Timelin | Evergreen_Web_ICQ_Aug_17 | Evergreen_Web_ICQ_Aug_17_Receive_Message | Evergreen_Web_ICQ_Aug_17_Send_Message | Evergreen_Web_ICQ_Dec_17 | Evergreen_Web_ICQ_Dec_17_Receive_Message | Evergreen_Web_ICQ_Dec_17_Send_Message | Evergreen_Web_ICQ_Feb_18 | Evergreen_Web_ICQ_Feb_18_Receive_Message | Evergreen_Web_ICQ_Feb_18_Send_Message | Evergreen_Web_ICQ_Jan_18 | Evergreen_Web_ICQ_Jan_18_Receive_Message | Evergreen_Web_ICQ_Jan_18_Send_Message | Evergreen_Web_ICQ_Jul_17 | Evergreen_Web_ICQ_Jul_17_Receive_Message | Evergreen_Web_ICQ_Jul_17_Send_Message | Evergreen_Web_ICQ_Jun_17 | Evergreen_Web_ICQ_Jun_17_Receive_Message | Evergreen_Web_ICQ_Jun_17_Send_Message | Evergreen_Web_ICQ_May_17 | Evergreen_Web_ICQ_May_17_Receive_Message | Evergreen_Web_ICQ_May_17_Send_Message | Evergreen_Web_ICQ_Nov_17 | Evergreen_Web_ICQ_Nov_17_Receive_Message | Evergreen_Web_ICQ_Nov_17_Send_Message | Evergreen_Web_ICQ_Oct_17 | Evergreen_Web_ICQ_Oct_17_Receive_Message | Evergreen_Web_ICQ_Oct_17_Send_Message | Evergreen_Web_ICQ_Sep_17 | Evergreen_Web_ICQ_Sep_17_Receive_Message | Evergreen_Web_ICQ_Sep_17_Send_Message | Evergreen_WindowsLiveMail_Aug_17 | Evergreen_WindowsLiveMail_Aug_17_Send_Mess | Evergreen_WindowsLiveMail_Aug_17_View_Mess | Evergreen_WindowsLiveMail_Dec_17 | Evergreen_WindowsLiveMail_Dec_17_Send_Mess | Evergreen_WindowsLiveMail_Dec_17_View_Mess | Evergreen_WindowsLiveMail_Feb_18 | Evergreen_WindowsLiveMail_Feb_18_Send_Mess | Evergreen_WindowsLiveMail_Feb_18_View_Mess | Evergreen_WindowsLiveMail_Jan_18 | Evergreen_WindowsLiveMail_Jan_18_Send_Mess | Evergreen_WindowsLiveMail_Jan_18_View_Mess | Evergreen_WindowsLiveMail_Jul_17 | Evergreen_WindowsLiveMail_Jul_17_Send_Mess | Evergreen_WindowsLiveMail_Jul_17_View_Mess | Evergreen_WindowsLiveMail_Jun_17 | Evergreen_WindowsLiveMail_Jun_17_Send_Mess | Evergreen_WindowsLiveMail_Jun_17_View_Mess | Evergreen_WindowsLiveMail_May_17 | Evergreen_WindowsLiveMail_May_17_Send_Mess | Evergreen_WindowsLiveMail_May_17_View_Mess | Evergreen_WindowsLiveMail_Nov_17 | Evergreen_WindowsLiveMail_Nov_17_Send_Mess | Evergreen_WindowsLiveMail_Nov_17_View_Mess | Evergreen_WindowsLiveMail_Oct_17 | Evergreen_WindowsLiveMail_Oct_17_Send_Mess | Evergreen_WindowsLiveMail_Oct_17_View_Mess | Evergreen_WindowsLiveMail_Sep_17 | Evergreen_WindowsLiveMail_Sep_17_Send_Mess | Evergreen_WindowsLiveMail_Sep_17_View_Mess | Evergreen_Yahoo_Chat_Aug_17 | Evergreen_Yahoo_Chat_Aug_17_Receive_Messag | Evergreen_Yahoo_Chat_Aug_17_Send_Message | Evergreen_Yahoo_Chat_Dec_17 | Evergreen_Yahoo_Chat_Dec_17_Receive_Messag | Evergreen_Yahoo_Chat_Dec_17_Send_Message | Evergreen_Yahoo_Chat_Feb_18 | Evergreen_Yahoo_Chat_Feb_18_Receive_Messag | Evergreen_Yahoo_Chat_Feb_18_Send_Message | Evergreen_Yahoo_Chat_Jan_18 | Evergreen_Yahoo_Chat_Jan_18_Receive_Messag | Evergreen_Yahoo_Chat_Jan_18_Send_Message | Evergreen_Yahoo_Chat_Jul_17 | Evergreen_Yahoo_Chat_Jul_17_Receive_Messag | Evergreen_Yahoo_Chat_Jul_17_Send_Message | Evergreen_Yahoo_Chat_Jun_17 | Evergreen_Yahoo_Chat_Jun_17_Receive_Messag | Evergreen_Yahoo_Chat_Jun_17_Send_Message | Evergreen_Yahoo_Chat_May_17 | Evergreen_Yahoo_Chat_May_17_Receive_Messag | Evergreen_Yahoo_Chat_May_17_Send_Message | Evergreen_Yahoo_Chat_Nov_17 | Evergreen_Yahoo_Chat_Nov_17_Receive_Messag | Evergreen_Yahoo_Chat_Nov_17_Send_Message | Evergreen_Yahoo_Chat_Sep_17 | Evergreen_Yahoo_Chat_Sep_17_Receive_Messag | Evergreen_Yahoo_Chat_Sep_17_Send_Message | Evergreen_Yahoo_Mail_Aug_17 | Evergreen_Yahoo_Mail_Aug_17_Send_Message | Evergreen_Yahoo_Mail_Aug_17_Send_Message_w | Evergreen_Yahoo_Mail_Aug_17_View_Message | Evergreen_Yahoo_Mail_Aug_17_View_Message_w | Evergreen_Yahoo_Mail_Dec_17 | Evergreen_Yahoo_Mail_Dec_17_Send_Message | Evergreen_Yahoo_Mail_Dec_17_Send_Message_w | Evergreen_Yahoo_Mail_Dec_17_View_Message | Evergreen_Yahoo_Mail_Dec_17_View_Message_w | Evergreen_Yahoo_Mail_Feb_18 | Evergreen_Yahoo_Mail_Feb_18_Send_Message | Evergreen_Yahoo_Mail_Feb_18_Send_Message_w | Evergreen_Yahoo_Mail_Feb_18_View_Message | Evergreen_Yahoo_Mail_Feb_18_View_Message_w | Evergreen_Yahoo_Mail_Jan_18 | Evergreen_Yahoo_Mail_Jan_18_Send_Message | Evergreen_Yahoo_Mail_Jan_18_Send_Message_w | Evergreen_Yahoo_Mail_Jan_18_View_Message | Evergreen_Yahoo_Mail_Jan_18_View_Message_w | Evergreen_Yahoo_Mail_Jul_14 | Evergreen_Yahoo_Mail_Jul_17 | Evergreen_Yahoo_Mail_Jul_17_Send_Message | Evergreen_Yahoo_Mail_Jul_17_Send_Message_w | Evergreen_Yahoo_Mail_Jul_17_View_Message | Evergreen_Yahoo_Mail_Jul_17_View_Message_w | Evergreen_Yahoo_Mail_Jun_17 | Evergreen_Yahoo_Mail_Jun_17_Send_Message | Evergreen_Yahoo_Mail_Jun_17_Send_Message_w | Evergreen_Yahoo_Mail_Jun_17_View_Message | Evergreen_Yahoo_Mail_Jun_17_View_Message_w | Evergreen_Yahoo_Mail_May_17 | Evergreen_Yahoo_Mail_May_17_Send_Message | Evergreen_Yahoo_Mail_May_17_Send_Message_w | Evergreen_Yahoo_Mail_May_17_View_Message | Evergreen_Yahoo_Mail_May_17_View_Message_w | Evergreen_Yahoo_Mail_Nov_17 | Evergreen_Yahoo_Mail_Nov_17_Send_Message | Evergreen_Yahoo_Mail_Nov_17_Send_Message_w | Evergreen_Yahoo_Mail_Nov_17_View_Message | Evergreen_Yahoo_Mail_Nov_17_View_Message_w | Evergreen_Yahoo_Mail_Oct_17 | Evergreen_Yahoo_Mail_Oct_17_Send_Message | Evergreen_Yahoo_Mail_Oct_17_Send_Message_w | Evergreen_Yahoo_Mail_Oct_17_View_Message | Evergreen_Yahoo_Mail_Oct_17_View_Message_w | Evergreen_Yahoo_Mail_Sep_17 | Evergreen_Yahoo_Mail_Sep_17_Send_Message | Evergreen_Yahoo_Mail_Sep_17_Send_Message_w | Evergreen_Yahoo_Mail_Sep_17_View_Message | Evergreen_Yahoo_Mail_Sep_17_View_Message_w | Evergreen_YahooGroups_Aug_17 | Evergreen_YahooGroups_Dec_17 | Evergreen_YahooGroups_Feb_18 | Evergreen_YahooGroups_Jan_14 | Evergreen_YahooGroups_Jan_18 | Evergreen_YahooGroups_Jul_17 | Evergreen_YahooGroups_Jun_17 | Evergreen_YahooGroups_May_17 | Evergreen_YahooGroups_Nov_17 | Evergreen_YahooGroups_Oct_17 | Evergreen_YahooGroups_Sep_17 | Evernote_Desktop_Aug_17 | Evernote_Desktop_Aug_17_Add_Note | Evernote_Desktop_Aug_17_Add_Note_with_Atta | Everquest_December_2015_Create_account | Everquest_December_2015_Download_and_insta | Everquest_December_2015_Open_game_and_logi | Exchange_Outlook_Receive_Mail | Exchange_Outlook_Send_Mail | Exchange_Outlook_Session_Start | Facebook | Facebook_Android | Facebook_Android_Chat_Session | Facebook_API | Facebook_Chrome | Facebook_GET_Home_Page | Facebook_iOS | Facebook_iOS_Chat_Session | Facebook_Japanese | Farmville | Financial_IMAPv4_Advanced | Financial_POP3_Advanced | Financial_SMB_Client_File_Download | Financial_SMBv2_File_Download | Financial_SMTP_Email | Finger | FIX_50SP2_Order_Session | FIX_50SP2_Session | FIX_Session | FIXT_Session | flame | Flash_Enterprise | Flickr | Flickr_Login | Fring | FTP | FTP_Active_mode | FTP_Cisco_EMIX | FTP_Enterprise | FW_HTTP_Audio | FW_HTTP_Text | FW_Images | FW_IPS_HTTP_1_7K | FW_IPS_HTTP_10K | FW_IPS_HTTP_10K_w_Delay | FW_IPS_HTTP_10Requests_Loop | FW_IPS_HTTP_21K | FW_IPS_HTTP_21K_w_Delay | FW_IPS_HTTP_4_5K | FW_IPS_HTTP_44K | FW_IPS_HTTP_Open | FW_Max_HTTP_TPS | FW_Small_Images | Gadu_Gadu_Unencrypted_IM | Giphy_Jan_17 | GMX_Mail_Aug_16 | GMX_Mail_Aug_16_Send_Message | GMX_Mail_Aug_16_Send_Message_with_Attachme | GMX_Mail_Aug_16_View_Message | GMX_Mail_Aug_16_View_Message_with_Attachme | GMX_Webmail | Gnutella | Gnutella_v06 | GoDaddy_Manage_Account_Details_and_Product | GoDaddy_Shop_for_Domain_Names_Nov17 | GoDaddy_Use_Website_Builder_Tool_Nov17 | Google_Analytics | Google_App_Engine | Google_App_Engine_Create_and_Deploy_App | Google_App_Engine_Test_App | Google_Cache | Google_Cache_Directly_Access_the_Cached_Ve | Google_Cache_Search_and_Access_Cached_Vers | Google_Calendar_Aug_14 | Google_Cloud_Storage | Google_Cloud_Storage_Registration | Google_Cloud_Storage_Tutorial | Google_Docs | Google_Docs_Create_Document_and_Download_a | Google_Docs_Edit_Document_and_Rename_it | Google_Drive_Aug_17 | Google_Drive_June_2014 | Google_Earth_Search | Google_Hangouts | Google_Hangouts_Phone_Call | Google_Hangouts_Text_Chat | Google_Hangouts_Video_Call | Google_Location_Services | Google_Mail | Google_Mail_Chinese | Google_Mail_French | Google_Mail_German | Google_Mail_GET_Index | Google_Mail_Italian | Google_Mail_Japanese | Google_Mail_Spanish | Google_Map_Search | Google_Photos_July_2017 | Google_Play_LTE_Mix | Google_Play_Sandvine_Bandwidth | Google_Play_Search_View_and_Download | Google_Plus_Jul_14 | Google_Safe_Browsing | Google_Search | Google_Search_GET_Home_Page | Google_Search_LTE_Mix | Google_Sheets_Oct_17 | Google_Slides_Sept_17 | Google_Voice_Actions | Google_Voice_Actions_Google_Search | Google_Voice_Actions_Phone_Options | GoogleEarthPro_Navigate_the_Globe_Feb_18 | Gopher | GoToMeeting_Mobile | GoToMeeting_Mobile_Join_Meeting | GoToMeeting_Mobile_Start_Meeting | GoToMeeting_Web_App | GSM_MAP_Authenticate_and_Update_GPRS_Locat | GSM_MAP_Send_Routing_Info_For_SM | GSM_MAP_Update_Location_Error | GTalk_Chat | GTalk_File_Transfer | GTalk_Login | GTalk_Voicecall | GTP_Simulated | GTPoIPSec_HTTP_LTE | GTPoIPSec_HTTP_Simple | GTPv2_C_Downlink_Data_Notification | GTPv2_C_Network_Initiated_Dedicated_Bearer | GTPv2_C_Release_Access_Bearers | GTPv2_C_UE_Initiated_Dedicated_Bearer_Supe | GTPv2_Simulated | GTPv2C_S1_S11_Session_Setup_and_Teardown_F | GTPv2C_S5_S8_Session_Setup_and_Teardown_Fl | Hadoop_JobTracker | HBO_Now_Bandwidth | HBO_Now_Desktop | HDFS_NameNode_RPC_List_Directory | Hotmail | Hotmail_Chinese | Hotmail_French | Hotmail_German | Hotmail_Italian | Hotmail_Japanese | Hotmail_Persian | Hotmail_Spanish | HTTP_302_Redirect | HTTP_302_Redirect_Juniper | HTTP_Audio | HTTP_Authenticated | HTTP_Compressed | HTTP_Enterprise | HTTP_Financial_ApacheFF | HTTP_Financial_ApacheIE | HTTP_Financial_IIS_FF | HTTP_Financial_IIS_IE | HTTP_Flash_Video | HTTP_Flash_Video_512k_Data | HTTP_Flash_Video_Service_Provider | HTTP_GET_English_Chrome23_Linux_to_Jetty_S | HTTP_GET_English_Chrome23_Linux_to_Lighttp | HTTP_GET_English_Chrome23_Linux_to_Microso | HTTP_GET_English_Chrome23_Linux_to_nginx_S | HTTP_GET_English_Chrome23_OS_X_to_Apache_S | HTTP_GET_English_Chrome23_OS_X_to_Jetty_Se | HTTP_GET_English_Chrome23_OS_X_to_Lighttpd | HTTP_GET_English_Chrome23_OS_X_to_Microsof | HTTP_GET_English_Chrome23_OS_X_to_nginx_Se | HTTP_GET_English_Chrome23_Windows_7_to_Apa | HTTP_GET_English_Chrome23_Windows_7_to_Jet | HTTP_GET_English_Chrome23_Windows_7_to_Lig | HTTP_GET_English_Chrome23_Windows_7_to_Mic | HTTP_GET_English_Chrome23_Windows_7_to_ngi | HTTP_GET_English_Chrome24_Linux_to_Jetty_S | HTTP_GET_English_Chrome24_Linux_to_Lighttp | HTTP_GET_English_Chrome24_Linux_to_Microso | HTTP_GET_English_Chrome24_Linux_to_nginx_S | HTTP_GET_English_Chrome24_OS_X_to_Apache_S | HTTP_GET_English_Chrome24_OS_X_to_Jetty_Se | HTTP_GET_English_Chrome24_OS_X_to_Lighttpd | HTTP_GET_English_Chrome24_OS_X_to_Microsof | HTTP_GET_English_Chrome24_OS_X_to_nginx_Se | HTTP_GET_English_Chrome24_Windows_7_to_Apa | HTTP_GET_English_Chrome24_Windows_7_to_Jet | HTTP_GET_English_Chrome24_Windows_7_to_Lig | HTTP_GET_English_Chrome24_Windows_7_to_Mic | HTTP_GET_English_Chrome24_Windows_7_to_ngi | HTTP_GET_English_Chrome25_Linux_to_Jetty_S | HTTP_GET_English_Chrome25_Linux_to_Lighttp | HTTP_GET_English_Chrome25_Linux_to_Microso | HTTP_GET_English_Chrome25_Linux_to_nginx_S | HTTP_GET_English_Chrome25_OS_X_to_Apache_S | HTTP_GET_English_Chrome25_OS_X_to_Jetty_Se | HTTP_GET_English_Chrome25_OS_X_to_Lighttpd | HTTP_GET_English_Chrome25_OS_X_to_Microsof | HTTP_GET_English_Chrome25_OS_X_to_nginx_Se | HTTP_GET_English_Chrome25_Windows_7_to_Apa | HTTP_GET_English_Chrome25_Windows_7_to_Jet | HTTP_GET_English_Chrome25_Windows_7_to_Lig | HTTP_GET_English_Chrome25_Windows_7_to_Mic | HTTP_GET_English_Chrome25_Windows_7_to_ngi | HTTP_GET_English_Firefox16_Linux_to_Apache | HTTP_GET_English_Firefox16_Linux_to_Lightt | HTTP_GET_English_Firefox16_Linux_to_Micros | HTTP_GET_English_Firefox16_OS_X_to_Jetty_S | HTTP_GET_English_Firefox16_OS_X_to_Lighttp | HTTP_GET_English_Firefox16_OS_X_to_Microso | HTTP_GET_English_Firefox16_OS_X_to_nginx_S | HTTP_GET_English_Firefox16_Windows_7_to_Ap | HTTP_GET_English_Firefox16_Windows_7_to_Je | HTTP_GET_English_Firefox16_Windows_7_to_Li | HTTP_GET_English_Firefox16_Windows_7_to_Mi | HTTP_GET_English_Firefox16_Windows_7_to_ng | HTTP_GET_English_Firefox17_Linux_to_Apache | HTTP_GET_English_Firefox17_Linux_to_Lightt | HTTP_GET_English_Firefox17_Linux_to_Micros | HTTP_GET_English_Firefox17_OS_X_to_Jetty_S | HTTP_GET_English_Firefox17_OS_X_to_Lighttp | HTTP_GET_English_Firefox17_OS_X_to_Microso | HTTP_GET_English_Firefox17_OS_X_to_nginx_S | HTTP_GET_English_Firefox17_Windows_7_to_Ap | HTTP_GET_English_Firefox17_Windows_7_to_Je | HTTP_GET_English_Firefox17_Windows_7_to_Li | HTTP_GET_English_Firefox17_Windows_7_to_Mi | HTTP_GET_English_Firefox17_Windows_7_to_ng | HTTP_GET_English_Firefox18_Linux_to_Apache | HTTP_GET_English_Firefox18_Linux_to_Lightt | HTTP_GET_English_Firefox18_Linux_to_Micros | HTTP_GET_English_Firefox18_OS_X_to_Jetty_S | HTTP_GET_English_Firefox18_OS_X_to_Lighttp | HTTP_GET_English_Firefox18_OS_X_to_Microso | HTTP_GET_English_Firefox18_OS_X_to_nginx_S | HTTP_GET_English_Firefox18_Windows_7_to_Ap | HTTP_GET_English_Firefox18_Windows_7_to_Je | HTTP_GET_English_Firefox18_Windows_7_to_Li | HTTP_GET_English_Firefox18_Windows_7_to_Mi | HTTP_GET_English_Firefox18_Windows_7_to_ng | HTTP_GET_English_Firefox19_Linux_to_Apache | HTTP_GET_English_Firefox19_Linux_to_Lightt | HTTP_GET_English_Firefox19_Linux_to_Micros | HTTP_GET_English_Firefox19_OS_X_to_Jetty_S | HTTP_GET_English_Firefox19_OS_X_to_Lighttp | HTTP_GET_English_Firefox19_OS_X_to_Microso | HTTP_GET_English_Firefox19_OS_X_to_nginx_S | HTTP_GET_English_Firefox19_Windows_7_to_Ap | HTTP_GET_English_Firefox19_Windows_7_to_Je | HTTP_GET_English_Firefox19_Windows_7_to_Li | HTTP_GET_English_Firefox19_Windows_7_to_Mi | HTTP_GET_English_Firefox19_Windows_7_to_ng | HTTP_GET_English_IE8_Windows_7_to_Apache_S | HTTP_GET_English_IE8_Windows_7_to_Jetty_Se | HTTP_GET_English_IE8_Windows_7_to_Lighttpd | HTTP_GET_English_IE8_Windows_7_to_Microsof | HTTP_GET_English_IE8_Windows_7_to_nginx_Se | HTTP_GET_English_IE9_Windows_7_to_Apache_S | HTTP_GET_English_IE9_Windows_7_to_Jetty_Se | HTTP_GET_English_IE9_Windows_7_to_Lighttpd | HTTP_GET_English_IE9_Windows_7_to_Microsof | HTTP_GET_English_IE9_Windows_7_to_nginx_Se | HTTP_GET_English_Opera11_Linux_to_Apache_S | HTTP_GET_English_Opera11_Linux_to_Jetty_Se | HTTP_GET_English_Opera11_Linux_to_Lighttpd | HTTP_GET_English_Opera11_Linux_to_Microsof | HTTP_GET_English_Opera11_Linux_to_nginx_Se | HTTP_GET_English_Opera11_OS_X_to_Apache_Se | HTTP_GET_English_Opera11_OS_X_to_Jetty_Ser | HTTP_GET_English_Opera11_OS_X_to_Microsoft | HTTP_GET_English_Opera11_OS_X_to_nginx_Ser | HTTP_GET_English_Opera11_Windows_7_to_Apac | HTTP_GET_English_Opera11_Windows_7_to_Jett | HTTP_GET_English_Opera11_Windows_7_to_Ligh | HTTP_GET_English_Opera11_Windows_7_to_Micr | HTTP_GET_English_Opera11_Windows_7_to_ngin | HTTP_GET_English_Opera12_Linux_to_Apache_S | HTTP_GET_English_Opera12_Linux_to_Jetty_Se | HTTP_GET_English_Opera12_Linux_to_Lighttpd | HTTP_GET_English_Opera12_Linux_to_Microsof | HTTP_GET_English_Opera12_Linux_to_nginx_Se | HTTP_GET_English_Opera12_OS_X_to_Apache_Se | HTTP_GET_English_Opera12_OS_X_to_Jetty_Ser | HTTP_GET_English_Opera12_OS_X_to_Microsoft | HTTP_GET_English_Opera12_OS_X_to_nginx_Ser | HTTP_GET_English_Opera12_Windows_7_to_Apac | HTTP_GET_English_Opera12_Windows_7_to_Jett | HTTP_GET_English_Opera12_Windows_7_to_Ligh | HTTP_GET_English_Opera12_Windows_7_to_Micr | HTTP_GET_English_Opera12_Windows_7_to_ngin | HTTP_GET_English_Safari5_OS_X_to_Apache_Se | HTTP_GET_English_Safari5_OS_X_to_Jetty_Ser | HTTP_GET_English_Safari5_OS_X_to_Microsoft | HTTP_GET_English_Safari5_OS_X_to_nginx_Ser | HTTP_GET_English_Safari5_Windows_7_to_Apac | HTTP_GET_English_Safari5_Windows_7_to_Jett | HTTP_GET_English_Safari5_Windows_7_to_Ligh | HTTP_GET_English_Safari5_Windows_7_to_Micr | HTTP_GET_English_Safari5_Windows_7_to_ngin | HTTP_GET_English_Safari6_OS_X_to_Apache_Se | HTTP_GET_English_Safari6_OS_X_to_Jetty_Ser | HTTP_GET_English_Safari6_OS_X_to_Microsoft | HTTP_GET_English_Safari6_OS_X_to_nginx_Ser | HTTP_GET_HTML5_Text_File | HTTP_GET_HTML5_Text_File_Deprecated | HTTP_GET_Text_File | HTTP_Live_Streaming | HTTP_Live_Streaming_HLS | HTTP_LTE_Mix | HTTP_Mobile_Europe | HTTP_Mobile_Europe_with_iPhone | HTTP_Mobile_North_America | HTTP_Mobile_North_America_with_iPhone | HTTP_NTLM_Authenticated | HTTP_Pages | HTTP_Persistent_Session | HTTP_Pipelining | HTTP_POST_PDF_File | HTTP_POST_Web_Login | HTTP_Progressive_Download | HTTP_Raw_Messages | HTTP_Redirect | HTTP_Request | HTTP_RMIX_130K | HTTP_RMIX_25K | HTTP_RMIX_30K | HTTP_Server_Requests | HTTP_Service_Provider | HTTP_Text | HTTP_Text_over_SCTP | HTTP_Text_over_SCTP_over_UDP | HTTP_VE_MAX_Bandwidth | HTTP_VE_MAX_Session | HTTP_Video | HTTPS_100k | HTTPS_10k | HTTPS_Dropbox_Simulated | HTTPS_LTE_Mix | HTTPS_Simulated_512k_Data | HTTPS_Simulated_Enterprise | HTTPS_Simulated_Facebook_Messenger | HTTPS_Simulated_LINE_Basic_Audio_Call | HTTPS_Simulated_LINE_Chat | HTTPS_Simulated_Service_Provider | Hulu_Bandwidth | Hulu_Desktop | iCloudWeb_Push_Notification_Service | ICQ | ICQ_75 | ICQ_76 | ICQ_77 | ICQ_7M | ICQ_80 | ICQ_80_Chinese | ICQ_80_French | ICQ_80_German | ICQ_80_Italian | ICQ_80_Japanese | ICQ_80_Persian | ICQ_80_Spanish | Ident | IEC104 | IMAP | IMAP_Cisco_EMIX | IMAP_LTE_Mix | IMAP_RMIX_16K | IMAP_RMIX_4K | IMAP_RMIX_90K | IMAPv4_Advanced | IMAPv4_Advanced_Chinese | IMAPv4_Advanced_French | IMAPv4_Advanced_German | IMAPv4_Advanced_Italian | IMAPv4_Advanced_Japanese | IMAPv4_Advanced_Persian | IMAPv4_Advanced_Spanish | iMessage_Send_File_Message | iMessage_Send_Text_Message | Inetd_Diagnostic_Services | Informix_Database | Instacart | Instacart_Login_Logout | Instagram_Bandwidth | Instagram_Nov_2014 | IPFIX | IPMI | IPP_Print_Request | IPS_HTTP_Audio | IPS_HTTP_Text | IPS_HTTP_Video | IPS_Images | IPS_Small_Images | IRC_Channel_Join_Chat | IRC_Login | IRC_Login_Auth | IRC_Login_Auth_Failure | IRC_Private_Chat | iSCSI_Read_and_Write | ITCH_NASDAQ_Trading | iTunes_Desktop_App_Store | iTunes_Desktop_App_Store_Feb18 | iTunes_Desktop_Music | iTunes_Mobile_App_Store | iTunes_Mobile_Music | Jabber_Chat | JIRA_Create_Issue | JIRA_List_Issues | Jira_Service_Desk_Help_Center_Issue_Oct17 | Jira_Service_Desk_Issue_Management_Oct17 | Jira_Service_Desk_Project_Management_Oct17 | KakaoTalk_Chat | Kodi_Sep_17_Install_Add_ons | Kodi_Sep_17_Play_Audio | Kodi_Sep_17_Play_Video | Laposte_Webmail_1307 | LDAP | LDAP_SASL_Auth | LinkedIn | Linkedin_1301 | LinkedIn_Dec17_Manage_Connections | LinkedIn_Dec17_Send_Message | Locky_Malware_Infection_Traffic | LPD | LTE_HTTP_Simple_ENB_MME_vs_SGW_PGW_IPV4_IP | Lync_2013_SIPe_Initiate_IM_Chat_Uncompress | Lync_Audio_Video | Mailru | Mailru_2013 | Manufacturing_Message_Specification_MMS | Manufacturing_Message_Specification_MMS_Wr | MAX_Bandwidth_HTTP | MAX_HTTP_Packets_Per_Second | MAX_Raw_Packets_Per_Second | Memcached_Set_and_Get_Key_Example | Memcached_Set_Get_Delete_operations | Meraki_Configure_Network_Nov17 | Meraki_Manage_MDM_Network_Nov17 | Meraki_Monitor_Devices_Nov17 | Message_Session_Relay_Protocol_MSRP | MGCP_Residential_Gateway_Connection_Deleti | Microsoft_Azure | Microsoft_Azure_Create_App | Microsoft_Azure_Sign_Up | Microsoft_OneDrive_Mar_15 | Microsoft_Smooth_Streaming_Play_Clips_with | Microsoft_Smooth_Streaming_Play_Fragments | Microsoft_Update | Minecraft_189_Login_Sequence_to_Multiplaye | Minecraft_189_Server_List_Ping | Mirai_Botnet_DNS_Flood_Attack | Mirai_Botnet_HTTP_Flood_Attack | Mirai_Botnet_UDP_Flood_Attack | Mirai_Botnet_UDP_Plain_Flood_Attack | Mirai_Botnet_Valve_Source_Engine_Query_Flo | MMS_MM1_WAP_HTTP | Modbus | Modbus_Examples | MongoDB_Demo_Super_Flow | MongoDB_Insert_Document | MongoDB_Shell_Connect_Disconnect | MongoDB_Update_Document | MQTT_Connect_and_PING_between_Publish | MQTT_Connect_and_Publish | MQTT_Connect_and_Subscribe_Publish | MS_SQL_Create | MS_SQL_Delete | MS_SQL_Drop | MS_SQL_Insert | MS_SQL_Server | MS_SQL_Server_Advanced | MS_SQL_Update | MS_SQL2012_Advanced | MS_SQL2012_Create_Table | MS_SQL2012_Delete | MS_SQL2012_Drop | MS_SQL2012_Insert | MS_SQL2012_Select | MS_SQL2012_TLS_Advanced | MS_SQL2012_TLS_Create_Table | MS_SQL2012_TLS_Delete | MS_SQL2012_TLS_Drop | MS_SQL2012_TLS_Insert | MS_SQL2012_TLS_Select | MS_SQL2012_TLS_Update | MS_SQL2012_Update | Mxit_Desktop_File_Transfer | Mxit_Desktop_Multiple_Status_Messages | Mxit_Messenger_For_Windows_PC | MySpace_HTTP_Flash_Video | MySQL_Database_Advanced | MySQL_Databse | NetBIOS_Session | Netflix_July_2017 | Netflix_Login_Logout_July_2017 | Netflix_Play_Movie_July_2017 | Netflix_Service_Provider | Netflow_V5 | Netflow_V7 | Netflow_V9 | Netflow_V9_Custom | Netflow_V9_IPv6 | NFS | Niconico_Nov_2013 | nntp | NTP_Synchronization | NTPv2 | NTPv2_Amplification | OCSP_over_HTTP_Multiple_OCSP_Requests | Office_365_Excel_Jul_15 | Office_365_Excel_Jul_15_Create_Workbook | Office_365_Excel_Jul_15_Open_Workbook | Office_365_Excel_Jul_17_Create_Workbook | Office_365_Excel_Jul_17_Open_Workbook | Office_365_OneNote_Jul_15 | Office_365_OneNote_Sep_17 | Office_365_OneNote_Sep_17_Create_and_Edit | Office_365_Outlook_Calendar_Jul_15 | Office_365_Outlook_Calendar_Jul_15_Create | Office_365_Outlook_Calendar_Jul_15_Search | Office_365_Outlook_Mail_Jun_15 | Office_365_Outlook_Mail_Jun_15_Send_Messag | Office_365_Outlook_Mail_Jun_15_View_Messag | Office_365_Outlook_People_Jul_15 | Office_365_Outlook_People_Jul_15_Create_an | Office_365_Outlook_People_Jul_15_Search_fo | Office_365_Outlook_Tasks_Jul_15 | Office_365_Outlook_Tasks_Jul_15_Create_and | Office_365_Outlook_Tasks_Jul_15_Mark_task | Office_365_Outlook_Tasks_Sep_17 | Office_365_Outlook_Tasks_Sep_17_Create_and | Office_365_Outlook_Tasks_Sep_17_Mark_task | Office_365_PowerPoint_Jul_15 | Office_365_PowerPoint_Jul_15_Create_Presen | Office_365_PowerPoint_Jul_15_Open_Presenta | Office_365_Sway_Jul_15 | Office_365_Sway_Jul_15_Configure | Office_365_Sway_Jul_15_Create_Presentation | Office_365_Sway_Jul_15_Edit_Presentation | Office_365_Sway_Jul_15_Preview_Presentatio | Office_365_Word_Jul_15 | Office_365_Word_Jul_17 | Office_365_Word_Jul_17_Create_File | Okazii_130125 | OPC_UA_Binary_Open_Secure_Channel | OPC_UA_Binary_Secure_Get_Endpoints_Respons | OPC_UA_Binary_with_Error_Message | OpenFlow_Demo_Superflow | OpenFlow_Switch_Startup_v10 | OpenStack_Swift_Demo_Super_Flow | Oracle_Database | Oracle_Database_Advanced | Oracle_Database_Create_Table | Oracle_Database_Delete | Oracle_Database_Drop_Table | Oracle_Database_Insert | Oracle_Database_Update | Oracle_Enterprise | OUCH41 | Outlook_Web_Access | Outlook_Web_Access_Chinese | Outlook_Web_Access_French | Outlook_Web_Access_German | Outlook_Web_Access_Italian | Outlook_Web_Access_Japanese | Outlook_Web_Access_Persian | Outlook_Web_Access_Spanish | OWAMP_Session | Pandora | Pandora_iPhone | Pandora_LTE_Mix | Pandora_Sandvine_Bandwidth | Paypal | PeerGuardian_Update | Perforce_Add_New_File | Perforce_Create_Changelist | Perforce_Submit_Changelist | Perforce_Sync_File | Perforce_Ticket_Based_Authentication | Pinterest_Jun17 | Pinterest_Photo_Upload_Jun17 | Pinterest_Search_and_Pin_Jun17 | POP3 | POP3_512 | POP3_Advanced | POP3_Chinese | POP3_French | POP3_German | POP3_Italian | POP3_Japanese | POP3_LTE_Mix | POP3_Persian | POP3_RMIX_16K | POP3_RMIX_4K | POP3_RMIX_90K | POP3_Spanish | PortMapper | POS_FIle_XFER_SMB2 | PostgreSQL | PostgreSQL_Create_Table | PostgreSQL_Delete | PostgreSQL_Drop_Table | PostgreSQL_Insert | PostgreSQL_Update | PPLive_Enterprise | PPTP_Establish_Session | QQ_IM_Chat | QUIC_Demo_Superflow | QUIC_Simple_HTTP_Stream | Quote_of_the_DayTCP | Quote_of_the_DayUDP | RADIUS | RADIUS_Access | RADIUS_Access_IPv6 | RADIUS_IPv4_and_IPv6 | RADIUS_IPv6 | Raw | Raw_25m_Data | Raw_Enterprise | Raw_Service_Provider | Reddit | Reddit_Account_Management_Feb_18 | Reddit_Browse_Content_Feb_18 | Remote_Desktop_Protocol | Resiliency_Sessions_per_Second | Rexec | RFB | RIP_v1 | RIPv2 | Rlogin | Rsh | RSS_Ixia_Feed | RSS_Multi_Feed | Rsync | RTMP | RTMP_Audio_Data_127K | RTMP_Audio_Data_1K | RTMP_Bandwidth | RTMP_Chunk | RTMP_Handshake | Rusers | S102 | S1AP_Authentication_Failure | S1AP_Authentication_Reject | S1AP_Handover_Preparation_Failure | S1AP_S1_Setup | S1AP_UE_Detach | S1AP_UE_Initial_Attach | S7comm_Advanced_Operations | S7comm_Block_List_Operations | S7comm_Download_Block | S7comm_Read_PLC_Status | S7comm_Read_Set_PLC_time | S7comm_Var_Service | Saavn_Music_February_2016 | Saavn_Music_February_2016_Log_In_and_Brows | Saavn_Music_February_2016_Play_Radio | Saavn_Music_February_2016_Play_Songs | Salesforce | Salesforce_Login_Logout | Sandvine_BlackBerry_Bandwidth | SAP | Seamless | Seamless_Login_Logout | ShareFile_Apr_17 | ShareFile_Apr_17_Upload_Download_File | SharePoint_Sep_2014 | Sina_Weibo_Feb_2014 | Sina_Weibo_Post_Feb_2014 | SIP_RTP_Voice_call_w_ENUM | SIP_Spoofed_Invite | Skype_1_minute_call | Skype_14_Call | Skype_14_Login | Skype_14_User_Search | Skype_V5_Sandvine_Bandwidth | Skype_V6_Instant_Messaging_Simple_Chat | SMB_Client_File_Download | SMB_Enterprise | SMB_Failed_Authentication | SMB_Null_Session | SMBv3_Encrypted_File_Download | SMBv3_Establish_Alternate_Channel | SMBv3_Secure_Negotiation | SMPP_Receive | SMPP_Transmit | SMTP_Authenticated_with_Verify | SMTP_Authentication_Failure | SMTP_Cisco_EMIX | SMTP_Email | SMTP_Email_Chinese | SMTP_Email_French | SMTP_Email_German | SMTP_Email_Italian | SMTP_Email_Japanese | SMTP_Email_Persian | SMTP_Email_Proxy_Support | SMTP_Email_Spanish | SMTP_Enterprise | SMTP_RMIX_16K | SMTP_RMIX_4K | SMTP_RMIX_90K | SMTPS | Snapchat_Bandwidth | Snapchat_May_2015 | Snapchat_May_2015_Send_Image | Snapchat_May_2015_Send_Movie | Snapdeal | Snapdeal_Add_items_to_cart | Snapdeal_Browse_website | SNMP | SNMPv1 | SNMPv2c | SNMPv3 | SOCKS_5_Connect_No_User_Authentication | SOCKS_5_Connect_with_User_Authentication | SopCast_P2P_Streaming | Soulseek_Search_and_Queue | SPDY_v2_Simple_GET_Request | SPDY_v2_Simple_POST_Request | SPDY_v2_Stream_Reset_CANCEL | SPDY_v2_Stream_Reset_FLOW_CONTROL_ERROR | SPDY_v2_Stream_Reset_INTERNAL_ERROR | SPDY_v2_Stream_Reset_INVALID_STREAM | SPDY_v2_Stream_Reset_PROTOCOL_ERROR | SPDY_v2_Stream_Reset_REFUSED_STREAM | SPDY_v2_Stream_Reset_UNSUPPORTED_VERSION | SQLMon | SSDP_M_SEARCH_Req_Resp_Unicast | SSH | SSH_Enterprise | Standard_Media_March_2016 | Standard_Media_March_2016_Print_Article | Standard_Media_March_2016_Recommend_and_Co | Standard_Media_March_2016_Share_Article | Steam_Login | STOMP_12 | STOMP_12_10_Backwards_Compatibility | STOMP_12_Error | SunRPC_BIND | Sybase_Database | Syslog | TACACS_Accounting | TACACS_Authentication | TACACS_Authorization | Telnet | Telnet_Failed_Login | The_Pirate_Bay_uTorrent_Download | The_Weather_Channel_Nov_2016 | Tinder | Tinder_Swiping | Tor_Directory_Listing | TR_069_Device_Initialization | TR_069_Firmware_Download | TR_069_Reboot | TUMe_Audio_Share | TUMe_IM | TUMe_Location_Share | TUMe_Photo_Share | TUMe_Register_Device | TvAnts_P2P_Streaming | TVUPlayer_P2P_Streaming | TWAMP_Session | Twitchtv | Twitter_RSS_Mobile | Uber_June_2015_Add_Location | Uber_June_2015_Registration | uTorrent_DHT_File_Download | VE_Max_Bandwidth_TLS1_2_AES_256_CBC_SHA | VE_Max_CC_TLS1_2_3DES_EDE_CBC_SHA | VE_Max_TPS_Superflow | VE_Max_TPS_TLS1_2_AES_256_CBC_SHA | VLC_HTTP_Flash_File_Streaming | VLC_HTTP_MPG_File_Streaming | VMware_VMotion | WAP_12 | WAP_20 | WebDAV | WebDAV_Errors | Webex | WebEx_Meeting | Webmail_Orange | WebSocket_Connection | WebSocket_Message_Generation | WebSocket_Ping_Pong | WhatsApp | WhatsApp_25MB | WhatsApp_Voice_Call | WHOIS | Wikipedia | Windows_Live_Mail | Windows_Live_Messenger_v16 | Windows_Live_Messenger_v16_Chinese | Windows_Live_Messenger_v16_French | Windows_Live_Messenger_v16_German | Windows_Live_Messenger_v16_Italian | Windows_Live_Messenger_v16_Japanese | Windows_Live_Messenger_v16_Persian | Windows_Live_Messenger_v16_Spanish | Windows_Live_MSN_Messenger_v15 | Winny | WORDPRESS_OCTOBER_2013_131016 | World_of_Warcraft | World_of_Warcraft_Patch_Update | WWW_File_Share_Pro_March_2016 | WWW_File_Share_Pro_March_2016_Download | WWW_File_Share_Pro_March_2016_Upload | Xbox_Facebook | Xbox_Live | Xbox_Zune_Video | XMPP_Facebook_Chat | XMPP_Jabber_Demo_Superflow | XMPP_Jabber_Demo_Superflow_with_PKCS7_Encr | XMPP_Jabber_Demo_Superflow_with_PKCS7_Sign | Xunlei_File_Download | Yahoo_HTTP_Flash_Video | Yahoo_IM_Voice_Chat_V10 | Yahoo_Mail | Yahoo_Mail_Chinese | Yahoo_Mail_French | Yahoo_Mail_German | Yahoo_Mail_Italian | Yahoo_Mail_Japanese | Yahoo_Mail_Persian | Yahoo_Mail_Spanish | Yahoo_Search | Yahoo_Search_GET_Home_Page | Yammer_Nov_2016 | Youtube_Bandwidth | YouTube_Music_Bandwidth | YouTube_Music_Play_Video | YouTube_September_2016 | YouTube_September_2016_Bandwidth | YouTube_September_2016_Browse_Sections | YouTube_September_2016_Play_Video | YouTube_Service_Provider | Zalo_VOIP | Zendesk_Nov17 | Zendesk_Nov17_Create_New_Ticket | ZeroAccess_botnet | ZeuS_Botnet])): Configured application library flows within profile.
- EnablePerIPStats (bool): Enable Per IP Stats. When true then Per IP statistic drilldown is available.
- ObjectiveDistribution (str(applyFullObjectiveToEachPort | splitObjectiveEvenlyAmongPorts)): Objective distribution value.
- ObjectiveType (str(simulatedUsers | throughputGbps | throughputKbps | throughputMbps)): The objective type of the test.A Test Objective is the way the user sets the actual rate of the Application Library Traffic transmission.
- ObjectiveValue (number): The absolute value of either simulated users or throughput in its measure unit.
Raises
------
- ServerError: The server has encountered an uncategorized error condition
"""
return self._update(self._map_locals(self._SDM_ATT_MAP, locals()))
def add(self, ConfiguredFlows=None, EnablePerIPStats=None, ObjectiveDistribution=None, ObjectiveType=None, ObjectiveValue=None):
"""Adds a new appLibProfile resource on the server and adds it to the container.
Args
----
- ConfiguredFlows (list(str[7SHIFTS_Manager_Access | 7SHIFTS_Quick_Schedule_Review | ActiveSync_Unencrypted | ADP_Login_Pages | AIM6_Chat | AIM6_File_Transfer | Airbnb | Alibaba_May_15 | Amazon_1302 | Amazon_EC2_API_Demo | Amazon_EC2_Create_Key_Pair_Flow | Amazon_EC2_Start_Instances_Flow | Amazon_GET_Home_Page | Amazon_S3_Retrieve_Objects_Flow | Amazon_Video | Android_Market_Search_View_and_Download | Angry_Birds_Friends_September_2015_Faceboo | Angry_Birds_Friends_September_2015_Play | AngryBirds_Friends_Sep_15_In_app_purchase | AOL_Instant_Messenger | AOL_Webmail | AOL_Webmail_Deprecated | Apache_Cassandra_DB | Apache_Cassandra_DB_Start_Up | Apache_Cassandra_DB_Start_Up_and_Registrat | AppleJuice | AppLine_Demo_Superflow | AppLine_Simple_Chat | Appogee_Quick_Calendar_Review | Appogee_Team_Manager_Access | Appointy_Manager_Access | Appointy_Quick_Schedule_Review | Ares_v2183042_Login_File_Download | Average_Web_Page_2011 | AWS_Console_Oct17 | AWS_EC2_Nov17 | AWS_S3_Oct17 | BACnet_IP_Read_File | BACnet_IP_Who_Has_I_Have_Object_Query | BACnet_IP_Who_Is_I_Am_Device_Discovery | BACnet_IP_Write_File | Baidu_Access_Network_of_Web_Portals_Feb_18 | Baidu_Search_Oct_16 | Baidu_Tieba_Jun_16_Access_a_Tieba | Baidu_Tieba_Jun_16_Login_and_Logout | Baidu_Tieba_Jun_16_Post_a_Thread | Bandwidth_BitTorrent_File_Download | Bandwidth_eDonkey | Bandwidth_HTTP | Bandwidth_HTTP_over_SCTP | Bandwidth_HTTP_over_SCTP_over_UDP | Bandwidth_IMAPv4 | Bandwidth_POP3 | Bandwidth_QUIC | Bandwidth_Radius | Bandwidth_Raw | Bandwidth_Telnet | Bandwidth_uTorrent_DHT_File_Download | BBC_iPlayer | BBC_iPlayer_Radio | BGP_IGP_Open_Advertise_Routes | BGP_IGP_Withdraw_Routes | Bing_Search | Bitcoin_Heartbeat | Bitcoin_Synchronization | Bitcoin_Transaction_Information | BitTorrent_Ares_v217_File_Download | BitTorrent_BitComet_v126_File_Download | BitTorrent_Blizzard_File_Download | BitTorrent_Cisco_EMIX | BitTorrent_Enterprise | BitTorrent_File_Download | BitTorrent_LimeWire_v5516_File_Download | BitTorrent_RMIX_5M | BitTorrent_Service_Provider | BitTorrent_Transmission_v222_File_Download | BitTorrent_v720_File_Download | BitTorrent_Vuse_v460_File_Download | BitTorrent_Xunlei_v716_File_Download | BlackBerry_Enterprise_Send_E_Mail | BlackBerry_Enterprise_Send_E_Mail_French | BlackBerry_Enterprise_Send_E_Mail_German | BlackBerry_Enterprise_Send_E_Mail_Italian | BlackBerry_Enterprise_Send_E_Mail_Japanese | BlackBerry_Enterprise_Send_E_Mail_Spanish | Blogspot_Aug_15 | Blogspot_Aug_15_Create_and_Publish_a_new_B | Blogspot_Aug_15_Delete_Blog | Box_Oct_17_Collaborate_on_Files | BuzzFeed_Nov_2016 | CandyCrush_Sep_15 | Capwap | Capwap_Configuration | Capwap_Echo | Certify_Jun_17 | Certify_Jun_17_Create_New_Report | Chargen_TCP | Chargen_UDP | Cisco_Spark_Send_File | Cisco_Spark_Text_Chat | Cisco_Spark_Video_Call | Citrix | Client_Receives_Audio_Data_from_Server_Usi | ClientSim_HTTP_Request_BMP | ClientSim_HTTP_Request_EXE | ClientSim_HTTP_Request_GIF | ClientSim_HTTP_Request_HTML | ClientSim_HTTP_Request_JPG | ClientSim_HTTP_Request_MP3 | ClientSim_HTTP_Request_PDF | ClientSim_HTTP_Request_PNG | ClientSim_HTTP_Request_RTF | ClientSim_HTTP_Request_WAV | ClientSim_HTTP_Slow_Headers | ClientSim_Microsoft_Smooth_Streaming_Play | Concur_Jan_17 | Confluence_Space_and_Page_Operations_Nov17 | Confluence_Space_Operations_Nov17 | Constrained_Application_Protocol_CoAP | Dailymotion_Aug_17 | Dailymotion_Aug_17_Play_A_Video | Dailymotion_Bandwidth | DailyMotion_Mar_15 | DailyMotion_Mar_15_Search_a_DailyMotion_vi | DailyMotion_Mar_15_Search_and_view_a_video | DailyMotion_Mar_15_Upload_a_video_to_Daily | Daytime_TCP | Daytime_UDP | DB2_Database | DCE_RPC | DCE_RPC_MAPI_Session | DCE_RPC_MAPI_with_File_Attachment | DDoS_SMBLoris | DDoS_SSL_HTTP_Post_Flood | DDoS_SSL_Key_Exchange_Flood | Diameter | Diameter_Rx_Interface | Diameter_S9a_Interface | Discard_TCP | Discord_Dec_17 | Discord_Dec_17_Chat | DNP3_Link_Status | DNP3_Read_Class_0_Data | DNP3_Read_Device_Attributes | DNP3_Time_Sync | DNP3_Unsolicited_Response | DNS | DNS_A_Truncated_Lookup | DNS_AAAA_Truncated_Lookup | DNS_SRV_LDAP_Lookup | DNSSEC_A_Record_Lookup | DocuSign_Access_Website_Dec17 | Doodle_July_2015_Create_poll | Doodle_July_2015_Invite_poll_participants | Doodle_July_2015_Participate_in_poll | Dropbox_Demo_Superflow | Dropbox_Initial_Client_Setup_and_Synchroni | Dropbox_Sync_Get_New_File | Dropbox_Sync_Upload_New_File | Duqu_Botnet | Ebay | eBay_Browse_and_Buy_Items_Feb_18 | Ebay_Jan_2015 | eBay_Manage_Personal_Account_Feb_18 | Ebay_Sign_In_Out_Jan_2015 | Echo_TCP | Echo_UDP | eDonkey_Data_Transfer | eDonkey_Upload | Equation_Group_Cisco_Exploit_Chain | Ethernet_IP_Connected | Ethernet_IP_Unconnected | Evergreen_AOL_Chat_AIM_Aug_17 | Evergreen_AOL_Chat_AIM_Aug_17_Receive_Mess | Evergreen_AOL_Chat_AIM_Aug_17_Send_Message | Evergreen_AOL_Chat_AIM_Jan_14 | Evergreen_AOL_Chat_AIM_Jan_14_Receive_Mess | Evergreen_AOL_Chat_AIM_Jan_14_Send_Message | Evergreen_AOL_Chat_AIM_Jul_17 | Evergreen_AOL_Chat_AIM_Jul_17_Receive_Mess | Evergreen_AOL_Chat_AIM_Jul_17_Send_Message | Evergreen_AOL_Chat_AIM_Jun_17 | Evergreen_AOL_Chat_AIM_Jun_17_Receive_Mess | Evergreen_AOL_Chat_AIM_Jun_17_Send_Message | Evergreen_AOL_Chat_AIM_May_17 | Evergreen_AOL_Chat_AIM_May_17_Receive_Mess | Evergreen_AOL_Chat_AIM_May_17_Send_Message | Evergreen_AOL_Chat_AIM_Sep_17 | Evergreen_AOL_Chat_AIM_Sep_17_Receive_Mess | Evergreen_AOL_Chat_AIM_Sep_17_Send_Message | Evergreen_AOL_Mail_Aug_17 | Evergreen_AOL_Mail_Aug_17_Send_Message | Evergreen_AOL_Mail_Aug_17_Send_Message_wit | Evergreen_AOL_Mail_Aug_17_View_Message | Evergreen_AOL_Mail_Aug_17_View_Message_wit | Evergreen_AOL_Mail_Dec_17 | Evergreen_AOL_Mail_Dec_17_Send_Message | Evergreen_AOL_Mail_Dec_17_Send_Message_wit | Evergreen_AOL_Mail_Dec_17_View_Message | Evergreen_AOL_Mail_Dec_17_View_Message_wit | Evergreen_AOL_Mail_Feb_18 | Evergreen_AOL_Mail_Feb_18_Send_Message | Evergreen_AOL_Mail_Feb_18_Send_Message_wit | Evergreen_AOL_Mail_Feb_18_View_Message | Evergreen_AOL_Mail_Feb_18_View_Message_wit | Evergreen_AOL_Mail_Jan_14 | Evergreen_AOL_Mail_Jan_14_Send_Message | Evergreen_AOL_Mail_Jan_14_Send_Message_wit | Evergreen_AOL_Mail_Jan_14_View_Message | Evergreen_AOL_Mail_Jan_14_View_Message_wit | Evergreen_AOL_Mail_Jan_18 | Evergreen_AOL_Mail_Jan_18_Send_Message | Evergreen_AOL_Mail_Jan_18_Send_Message_wit | Evergreen_AOL_Mail_Jan_18_View_Message | Evergreen_AOL_Mail_Jan_18_View_Message_wit | Evergreen_AOL_Mail_Jul_17 | Evergreen_AOL_Mail_Jul_17_Send_Message | Evergreen_AOL_Mail_Jul_17_Send_Message_wit | Evergreen_AOL_Mail_Jul_17_View_Message | Evergreen_AOL_Mail_Jul_17_View_Message_wit | Evergreen_AOL_Mail_Jun_17 | Evergreen_AOL_Mail_Jun_17_Send_Message | Evergreen_AOL_Mail_Jun_17_Send_Message_wit | Evergreen_AOL_Mail_Jun_17_View_Message | Evergreen_AOL_Mail_Jun_17_View_Message_wit | Evergreen_AOL_Mail_May_17 | Evergreen_AOL_Mail_May_17_Send_Message | Evergreen_AOL_Mail_May_17_Send_Message_wit | Evergreen_AOL_Mail_May_17_View_Message | Evergreen_AOL_Mail_May_17_View_Message_wit | Evergreen_AOL_Mail_Nov_17 | Evergreen_AOL_Mail_Nov_17_Send_Message | Evergreen_AOL_Mail_Nov_17_Send_Message_wit | Evergreen_AOL_Mail_Nov_17_View_Message | Evergreen_AOL_Mail_Nov_17_View_Message_wit | Evergreen_AOL_Mail_Oct_17 | Evergreen_AOL_Mail_Oct_17_Send_Message | Evergreen_AOL_Mail_Oct_17_Send_Message_wit | Evergreen_AOL_Mail_Oct_17_View_Message | Evergreen_AOL_Mail_Oct_17_View_Message_wit | Evergreen_AOL_Mail_Sep_17 | Evergreen_AOL_Mail_Sep_17_Send_Message | Evergreen_AOL_Mail_Sep_17_Send_Message_wit | Evergreen_AOL_Mail_Sep_17_View_Message | Evergreen_AOL_Mail_Sep_17_View_Message_wit | Evergreen_Facebook_Aug_17 | Evergreen_Facebook_Dec_17 | Evergreen_Facebook_Feb_18 | Evergreen_Facebook_Jan_14 | Evergreen_Facebook_Jan_18 | Evergreen_Facebook_Jul_17 | Evergreen_Facebook_Jun_17 | Evergreen_Facebook_May_17 | Evergreen_Facebook_Nov_17 | Evergreen_Facebook_Oct_17 | Evergreen_Facebook_Sep_17 | Evergreen_Gmail_Aug_17 | Evergreen_Gmail_Aug_17_Send_Message | Evergreen_Gmail_Aug_17_Send_Message_with_A | Evergreen_Gmail_Aug_17_View_Message | Evergreen_Gmail_Aug_17_View_Message_with_A | Evergreen_Gmail_Dec_17 | Evergreen_Gmail_Dec_17_Send_Message | Evergreen_Gmail_Dec_17_Send_Message_with_A | Evergreen_Gmail_Dec_17_View_Message | Evergreen_Gmail_Dec_17_View_Message_with_A | Evergreen_Gmail_Feb_18 | Evergreen_Gmail_Feb_18_Send_Message | Evergreen_Gmail_Feb_18_Send_Message_with_A | Evergreen_Gmail_Feb_18_View_Message | Evergreen_Gmail_Feb_18_View_Message_with_A | Evergreen_Gmail_Jan_18 | Evergreen_Gmail_Jan_18_Send_Message | Evergreen_Gmail_Jan_18_Send_Message_with_A | Evergreen_Gmail_Jan_18_View_Message | Evergreen_Gmail_Jan_18_View_Message_with_A | Evergreen_Gmail_Jul_17 | Evergreen_Gmail_Jul_17_Send_Message | Evergreen_Gmail_Jul_17_Send_Message_with_A | Evergreen_Gmail_Jul_17_View_Message | Evergreen_Gmail_Jul_17_View_Message_with_A | Evergreen_Gmail_Jun_17 | Evergreen_Gmail_Jun_17_Send_Message | Evergreen_Gmail_Jun_17_Send_Message_with_A | Evergreen_Gmail_Jun_17_View_Message | Evergreen_Gmail_Jun_17_View_Message_with_A | Evergreen_Gmail_May_17 | Evergreen_Gmail_May_17_Send_Message | Evergreen_Gmail_May_17_Send_Message_with_A | Evergreen_Gmail_May_17_View_Message | Evergreen_Gmail_May_17_View_Message_with_A | Evergreen_Gmail_Nov_17 | Evergreen_Gmail_Nov_17_Send_Message | Evergreen_Gmail_Nov_17_Send_Message_with_A | Evergreen_Gmail_Nov_17_View_Message | Evergreen_Gmail_Nov_17_View_Message_with_A | Evergreen_Gmail_Oct_17 | Evergreen_Gmail_Oct_17_Send_Message | Evergreen_Gmail_Oct_17_Send_Message_with_A | Evergreen_Gmail_Oct_17_View_Message | Evergreen_Gmail_Oct_17_View_Message_with_A | Evergreen_Gmail_Sep_17 | Evergreen_Gmail_Sep_17_Send_Message | Evergreen_Gmail_Sep_17_Send_Message_with_A | Evergreen_Gmail_Sep_17_View_Message | Evergreen_Gmail_Sep_17_View_Message_with_A | Evergreen_Rediffmail_Aug_17 | Evergreen_Rediffmail_Aug_17_Send_Message | Evergreen_Rediffmail_Aug_17_Send_Message_w | Evergreen_Rediffmail_Aug_17_View_Message | Evergreen_Rediffmail_Aug_17_View_Message_w | Evergreen_Rediffmail_Dec_17 | Evergreen_Rediffmail_Dec_17_Send_Message | Evergreen_Rediffmail_Dec_17_Send_Message_w | Evergreen_Rediffmail_Dec_17_View_Message | Evergreen_Rediffmail_Dec_17_View_Message_w | Evergreen_Rediffmail_Feb_18 | Evergreen_Rediffmail_Feb_18_Send_Message | Evergreen_Rediffmail_Feb_18_Send_Message_w | Evergreen_Rediffmail_Feb_18_View_Message | Evergreen_Rediffmail_Feb_18_View_Message_w | Evergreen_Rediffmail_Jan_18 | Evergreen_Rediffmail_Jan_18_Send_Message | Evergreen_Rediffmail_Jan_18_Send_Message_w | Evergreen_Rediffmail_Jan_18_View_Message | Evergreen_Rediffmail_Jan_18_View_Message_w | Evergreen_Rediffmail_Jul_17 | Evergreen_Rediffmail_Jul_17_Send_Message | Evergreen_Rediffmail_Jul_17_Send_Message_w | Evergreen_Rediffmail_Jul_17_View_Message | Evergreen_Rediffmail_Jul_17_View_Message_w | Evergreen_Rediffmail_Jun_17 | Evergreen_Rediffmail_Jun_17_Send_Message | Evergreen_Rediffmail_Jun_17_Send_Message_w | Evergreen_Rediffmail_Jun_17_View_Message | Evergreen_Rediffmail_Jun_17_View_Message_w | Evergreen_Rediffmail_May_17 | Evergreen_Rediffmail_May_17_Send_Message | Evergreen_Rediffmail_May_17_Send_Message_w | Evergreen_Rediffmail_May_17_View_Message | Evergreen_Rediffmail_May_17_View_Message_w | Evergreen_Rediffmail_Nov_17 | Evergreen_Rediffmail_Nov_17_Send_Message | Evergreen_Rediffmail_Nov_17_Send_Message_w | Evergreen_Rediffmail_Nov_17_View_Message | Evergreen_Rediffmail_Nov_17_View_Message_w | Evergreen_Rediffmail_Oct_17 | Evergreen_Rediffmail_Oct_17_Send_Message | Evergreen_Rediffmail_Oct_17_Send_Message_w | Evergreen_Rediffmail_Oct_17_View_Message | Evergreen_Rediffmail_Oct_17_View_Message_w | Evergreen_Rediffmail_Sep_17 | Evergreen_Rediffmail_Sep_17_Send_Message | Evergreen_Rediffmail_Sep_17_Send_Message_w | Evergreen_Rediffmail_Sep_17_View_Message | Evergreen_Rediffmail_Sep_17_View_Message_w | Evergreen_Twitter_Aug_17 | Evergreen_Twitter_Aug_17_Post_Status | Evergreen_Twitter_Aug_17_View_Home_Timelin | Evergreen_Twitter_Dec_17 | Evergreen_Twitter_Dec_17_Post_Status | Evergreen_Twitter_Dec_17_View_Home_Timelin | Evergreen_Twitter_Feb_18 | Evergreen_Twitter_Feb_18_Post_Status | Evergreen_Twitter_Feb_18_View_Home_Timelin | Evergreen_Twitter_Jan_18 | Evergreen_Twitter_Jan_18_Post_Status | Evergreen_Twitter_Jan_18_View_Home_Timelin | Evergreen_Twitter_Jul_17 | Evergreen_Twitter_Jul_17_Post_Status | Evergreen_Twitter_Jul_17_View_Home_Timelin | Evergreen_Twitter_Jun_17 | Evergreen_Twitter_Jun_17_Post_Status | Evergreen_Twitter_Jun_17_View_Home_Timelin | Evergreen_Twitter_May_17 | Evergreen_Twitter_May_17_Post_Status | Evergreen_Twitter_May_17_View_Home_Timelin | Evergreen_Twitter_Nov_17 | Evergreen_Twitter_Nov_17_Post_Status | Evergreen_Twitter_Nov_17_View_Home_Timelin | Evergreen_Twitter_Oct_17 | Evergreen_Twitter_Oct_17_Post_Status | Evergreen_Twitter_Oct_17_View_Home_Timelin | Evergreen_Twitter_Sep_17 | Evergreen_Twitter_Sep_17_Post_Status | Evergreen_Twitter_Sep_17_View_Home_Timelin | Evergreen_Web_ICQ_Aug_17 | Evergreen_Web_ICQ_Aug_17_Receive_Message | Evergreen_Web_ICQ_Aug_17_Send_Message | Evergreen_Web_ICQ_Dec_17 | Evergreen_Web_ICQ_Dec_17_Receive_Message | Evergreen_Web_ICQ_Dec_17_Send_Message | Evergreen_Web_ICQ_Feb_18 | Evergreen_Web_ICQ_Feb_18_Receive_Message | Evergreen_Web_ICQ_Feb_18_Send_Message | Evergreen_Web_ICQ_Jan_18 | Evergreen_Web_ICQ_Jan_18_Receive_Message | Evergreen_Web_ICQ_Jan_18_Send_Message | Evergreen_Web_ICQ_Jul_17 | Evergreen_Web_ICQ_Jul_17_Receive_Message | Evergreen_Web_ICQ_Jul_17_Send_Message | Evergreen_Web_ICQ_Jun_17 | Evergreen_Web_ICQ_Jun_17_Receive_Message | Evergreen_Web_ICQ_Jun_17_Send_Message | Evergreen_Web_ICQ_May_17 | Evergreen_Web_ICQ_May_17_Receive_Message | Evergreen_Web_ICQ_May_17_Send_Message | Evergreen_Web_ICQ_Nov_17 | Evergreen_Web_ICQ_Nov_17_Receive_Message | Evergreen_Web_ICQ_Nov_17_Send_Message | Evergreen_Web_ICQ_Oct_17 | Evergreen_Web_ICQ_Oct_17_Receive_Message | Evergreen_Web_ICQ_Oct_17_Send_Message | Evergreen_Web_ICQ_Sep_17 | Evergreen_Web_ICQ_Sep_17_Receive_Message | Evergreen_Web_ICQ_Sep_17_Send_Message | Evergreen_WindowsLiveMail_Aug_17 | Evergreen_WindowsLiveMail_Aug_17_Send_Mess | Evergreen_WindowsLiveMail_Aug_17_View_Mess | Evergreen_WindowsLiveMail_Dec_17 | Evergreen_WindowsLiveMail_Dec_17_Send_Mess | Evergreen_WindowsLiveMail_Dec_17_View_Mess | Evergreen_WindowsLiveMail_Feb_18 | Evergreen_WindowsLiveMail_Feb_18_Send_Mess | Evergreen_WindowsLiveMail_Feb_18_View_Mess | Evergreen_WindowsLiveMail_Jan_18 | Evergreen_WindowsLiveMail_Jan_18_Send_Mess | Evergreen_WindowsLiveMail_Jan_18_View_Mess | Evergreen_WindowsLiveMail_Jul_17 | Evergreen_WindowsLiveMail_Jul_17_Send_Mess | Evergreen_WindowsLiveMail_Jul_17_View_Mess | Evergreen_WindowsLiveMail_Jun_17 | Evergreen_WindowsLiveMail_Jun_17_Send_Mess | Evergreen_WindowsLiveMail_Jun_17_View_Mess | Evergreen_WindowsLiveMail_May_17 | Evergreen_WindowsLiveMail_May_17_Send_Mess | Evergreen_WindowsLiveMail_May_17_View_Mess | Evergreen_WindowsLiveMail_Nov_17 | Evergreen_WindowsLiveMail_Nov_17_Send_Mess | Evergreen_WindowsLiveMail_Nov_17_View_Mess | Evergreen_WindowsLiveMail_Oct_17 | Evergreen_WindowsLiveMail_Oct_17_Send_Mess | Evergreen_WindowsLiveMail_Oct_17_View_Mess | Evergreen_WindowsLiveMail_Sep_17 | Evergreen_WindowsLiveMail_Sep_17_Send_Mess | Evergreen_WindowsLiveMail_Sep_17_View_Mess | Evergreen_Yahoo_Chat_Aug_17 | Evergreen_Yahoo_Chat_Aug_17_Receive_Messag | Evergreen_Yahoo_Chat_Aug_17_Send_Message | Evergreen_Yahoo_Chat_Dec_17 | Evergreen_Yahoo_Chat_Dec_17_Receive_Messag | Evergreen_Yahoo_Chat_Dec_17_Send_Message | Evergreen_Yahoo_Chat_Feb_18 | Evergreen_Yahoo_Chat_Feb_18_Receive_Messag | Evergreen_Yahoo_Chat_Feb_18_Send_Message | Evergreen_Yahoo_Chat_Jan_18 | Evergreen_Yahoo_Chat_Jan_18_Receive_Messag | Evergreen_Yahoo_Chat_Jan_18_Send_Message | Evergreen_Yahoo_Chat_Jul_17 | Evergreen_Yahoo_Chat_Jul_17_Receive_Messag | Evergreen_Yahoo_Chat_Jul_17_Send_Message | Evergreen_Yahoo_Chat_Jun_17 | Evergreen_Yahoo_Chat_Jun_17_Receive_Messag | Evergreen_Yahoo_Chat_Jun_17_Send_Message | Evergreen_Yahoo_Chat_May_17 | Evergreen_Yahoo_Chat_May_17_Receive_Messag | Evergreen_Yahoo_Chat_May_17_Send_Message | Evergreen_Yahoo_Chat_Nov_17 | Evergreen_Yahoo_Chat_Nov_17_Receive_Messag | Evergreen_Yahoo_Chat_Nov_17_Send_Message | Evergreen_Yahoo_Chat_Sep_17 | Evergreen_Yahoo_Chat_Sep_17_Receive_Messag | Evergreen_Yahoo_Chat_Sep_17_Send_Message | Evergreen_Yahoo_Mail_Aug_17 | Evergreen_Yahoo_Mail_Aug_17_Send_Message | Evergreen_Yahoo_Mail_Aug_17_Send_Message_w | Evergreen_Yahoo_Mail_Aug_17_View_Message | Evergreen_Yahoo_Mail_Aug_17_View_Message_w | Evergreen_Yahoo_Mail_Dec_17 | Evergreen_Yahoo_Mail_Dec_17_Send_Message | Evergreen_Yahoo_Mail_Dec_17_Send_Message_w | Evergreen_Yahoo_Mail_Dec_17_View_Message | Evergreen_Yahoo_Mail_Dec_17_View_Message_w | Evergreen_Yahoo_Mail_Feb_18 | Evergreen_Yahoo_Mail_Feb_18_Send_Message | Evergreen_Yahoo_Mail_Feb_18_Send_Message_w | Evergreen_Yahoo_Mail_Feb_18_View_Message | Evergreen_Yahoo_Mail_Feb_18_View_Message_w | Evergreen_Yahoo_Mail_Jan_18 | Evergreen_Yahoo_Mail_Jan_18_Send_Message | Evergreen_Yahoo_Mail_Jan_18_Send_Message_w | Evergreen_Yahoo_Mail_Jan_18_View_Message | Evergreen_Yahoo_Mail_Jan_18_View_Message_w | Evergreen_Yahoo_Mail_Jul_14 | Evergreen_Yahoo_Mail_Jul_17 | Evergreen_Yahoo_Mail_Jul_17_Send_Message | Evergreen_Yahoo_Mail_Jul_17_Send_Message_w | Evergreen_Yahoo_Mail_Jul_17_View_Message | Evergreen_Yahoo_Mail_Jul_17_View_Message_w | Evergreen_Yahoo_Mail_Jun_17 | Evergreen_Yahoo_Mail_Jun_17_Send_Message | Evergreen_Yahoo_Mail_Jun_17_Send_Message_w | Evergreen_Yahoo_Mail_Jun_17_View_Message | Evergreen_Yahoo_Mail_Jun_17_View_Message_w | Evergreen_Yahoo_Mail_May_17 | Evergreen_Yahoo_Mail_May_17_Send_Message | Evergreen_Yahoo_Mail_May_17_Send_Message_w | Evergreen_Yahoo_Mail_May_17_View_Message | Evergreen_Yahoo_Mail_May_17_View_Message_w | Evergreen_Yahoo_Mail_Nov_17 | Evergreen_Yahoo_Mail_Nov_17_Send_Message | Evergreen_Yahoo_Mail_Nov_17_Send_Message_w | Evergreen_Yahoo_Mail_Nov_17_View_Message | Evergreen_Yahoo_Mail_Nov_17_View_Message_w | Evergreen_Yahoo_Mail_Oct_17 | Evergreen_Yahoo_Mail_Oct_17_Send_Message | Evergreen_Yahoo_Mail_Oct_17_Send_Message_w | Evergreen_Yahoo_Mail_Oct_17_View_Message | Evergreen_Yahoo_Mail_Oct_17_View_Message_w | Evergreen_Yahoo_Mail_Sep_17 | Evergreen_Yahoo_Mail_Sep_17_Send_Message | Evergreen_Yahoo_Mail_Sep_17_Send_Message_w | Evergreen_Yahoo_Mail_Sep_17_View_Message | Evergreen_Yahoo_Mail_Sep_17_View_Message_w | Evergreen_YahooGroups_Aug_17 | Evergreen_YahooGroups_Dec_17 | Evergreen_YahooGroups_Feb_18 | Evergreen_YahooGroups_Jan_14 | Evergreen_YahooGroups_Jan_18 | Evergreen_YahooGroups_Jul_17 | Evergreen_YahooGroups_Jun_17 | Evergreen_YahooGroups_May_17 | Evergreen_YahooGroups_Nov_17 | Evergreen_YahooGroups_Oct_17 | Evergreen_YahooGroups_Sep_17 | Evernote_Desktop_Aug_17 | Evernote_Desktop_Aug_17_Add_Note | Evernote_Desktop_Aug_17_Add_Note_with_Atta | Everquest_December_2015_Create_account | Everquest_December_2015_Download_and_insta | Everquest_December_2015_Open_game_and_logi | Exchange_Outlook_Receive_Mail | Exchange_Outlook_Send_Mail | Exchange_Outlook_Session_Start | Facebook | Facebook_Android | Facebook_Android_Chat_Session | Facebook_API | Facebook_Chrome | Facebook_GET_Home_Page | Facebook_iOS | Facebook_iOS_Chat_Session | Facebook_Japanese | Farmville | Financial_IMAPv4_Advanced | Financial_POP3_Advanced | Financial_SMB_Client_File_Download | Financial_SMBv2_File_Download | Financial_SMTP_Email | Finger | FIX_50SP2_Order_Session | FIX_50SP2_Session | FIX_Session | FIXT_Session | flame | Flash_Enterprise | Flickr | Flickr_Login | Fring | FTP | FTP_Active_mode | FTP_Cisco_EMIX | FTP_Enterprise | FW_HTTP_Audio | FW_HTTP_Text | FW_Images | FW_IPS_HTTP_1_7K | FW_IPS_HTTP_10K | FW_IPS_HTTP_10K_w_Delay | FW_IPS_HTTP_10Requests_Loop | FW_IPS_HTTP_21K | FW_IPS_HTTP_21K_w_Delay | FW_IPS_HTTP_4_5K | FW_IPS_HTTP_44K | FW_IPS_HTTP_Open | FW_Max_HTTP_TPS | FW_Small_Images | Gadu_Gadu_Unencrypted_IM | Giphy_Jan_17 | GMX_Mail_Aug_16 | GMX_Mail_Aug_16_Send_Message | GMX_Mail_Aug_16_Send_Message_with_Attachme | GMX_Mail_Aug_16_View_Message | GMX_Mail_Aug_16_View_Message_with_Attachme | GMX_Webmail | Gnutella | Gnutella_v06 | GoDaddy_Manage_Account_Details_and_Product | GoDaddy_Shop_for_Domain_Names_Nov17 | GoDaddy_Use_Website_Builder_Tool_Nov17 | Google_Analytics | Google_App_Engine | Google_App_Engine_Create_and_Deploy_App | Google_App_Engine_Test_App | Google_Cache | Google_Cache_Directly_Access_the_Cached_Ve | Google_Cache_Search_and_Access_Cached_Vers | Google_Calendar_Aug_14 | Google_Cloud_Storage | Google_Cloud_Storage_Registration | Google_Cloud_Storage_Tutorial | Google_Docs | Google_Docs_Create_Document_and_Download_a | Google_Docs_Edit_Document_and_Rename_it | Google_Drive_Aug_17 | Google_Drive_June_2014 | Google_Earth_Search | Google_Hangouts | Google_Hangouts_Phone_Call | Google_Hangouts_Text_Chat | Google_Hangouts_Video_Call | Google_Location_Services | Google_Mail | Google_Mail_Chinese | Google_Mail_French | Google_Mail_German | Google_Mail_GET_Index | Google_Mail_Italian | Google_Mail_Japanese | Google_Mail_Spanish | Google_Map_Search | Google_Photos_July_2017 | Google_Play_LTE_Mix | Google_Play_Sandvine_Bandwidth | Google_Play_Search_View_and_Download | Google_Plus_Jul_14 | Google_Safe_Browsing | Google_Search | Google_Search_GET_Home_Page | Google_Search_LTE_Mix | Google_Sheets_Oct_17 | Google_Slides_Sept_17 | Google_Voice_Actions | Google_Voice_Actions_Google_Search | Google_Voice_Actions_Phone_Options | GoogleEarthPro_Navigate_the_Globe_Feb_18 | Gopher | GoToMeeting_Mobile | GoToMeeting_Mobile_Join_Meeting | GoToMeeting_Mobile_Start_Meeting | GoToMeeting_Web_App | GSM_MAP_Authenticate_and_Update_GPRS_Locat | GSM_MAP_Send_Routing_Info_For_SM | GSM_MAP_Update_Location_Error | GTalk_Chat | GTalk_File_Transfer | GTalk_Login | GTalk_Voicecall | GTP_Simulated | GTPoIPSec_HTTP_LTE | GTPoIPSec_HTTP_Simple | GTPv2_C_Downlink_Data_Notification | GTPv2_C_Network_Initiated_Dedicated_Bearer | GTPv2_C_Release_Access_Bearers | GTPv2_C_UE_Initiated_Dedicated_Bearer_Supe | GTPv2_Simulated | GTPv2C_S1_S11_Session_Setup_and_Teardown_F | GTPv2C_S5_S8_Session_Setup_and_Teardown_Fl | Hadoop_JobTracker | HBO_Now_Bandwidth | HBO_Now_Desktop | HDFS_NameNode_RPC_List_Directory | Hotmail | Hotmail_Chinese | Hotmail_French | Hotmail_German | Hotmail_Italian | Hotmail_Japanese | Hotmail_Persian | Hotmail_Spanish | HTTP_302_Redirect | HTTP_302_Redirect_Juniper | HTTP_Audio | HTTP_Authenticated | HTTP_Compressed | HTTP_Enterprise | HTTP_Financial_ApacheFF | HTTP_Financial_ApacheIE | HTTP_Financial_IIS_FF | HTTP_Financial_IIS_IE | HTTP_Flash_Video | HTTP_Flash_Video_512k_Data | HTTP_Flash_Video_Service_Provider | HTTP_GET_English_Chrome23_Linux_to_Jetty_S | HTTP_GET_English_Chrome23_Linux_to_Lighttp | HTTP_GET_English_Chrome23_Linux_to_Microso | HTTP_GET_English_Chrome23_Linux_to_nginx_S | HTTP_GET_English_Chrome23_OS_X_to_Apache_S | HTTP_GET_English_Chrome23_OS_X_to_Jetty_Se | HTTP_GET_English_Chrome23_OS_X_to_Lighttpd | HTTP_GET_English_Chrome23_OS_X_to_Microsof | HTTP_GET_English_Chrome23_OS_X_to_nginx_Se | HTTP_GET_English_Chrome23_Windows_7_to_Apa | HTTP_GET_English_Chrome23_Windows_7_to_Jet | HTTP_GET_English_Chrome23_Windows_7_to_Lig | HTTP_GET_English_Chrome23_Windows_7_to_Mic | HTTP_GET_English_Chrome23_Windows_7_to_ngi | HTTP_GET_English_Chrome24_Linux_to_Jetty_S | HTTP_GET_English_Chrome24_Linux_to_Lighttp | HTTP_GET_English_Chrome24_Linux_to_Microso | HTTP_GET_English_Chrome24_Linux_to_nginx_S | HTTP_GET_English_Chrome24_OS_X_to_Apache_S | HTTP_GET_English_Chrome24_OS_X_to_Jetty_Se | HTTP_GET_English_Chrome24_OS_X_to_Lighttpd | HTTP_GET_English_Chrome24_OS_X_to_Microsof | HTTP_GET_English_Chrome24_OS_X_to_nginx_Se | HTTP_GET_English_Chrome24_Windows_7_to_Apa | HTTP_GET_English_Chrome24_Windows_7_to_Jet | HTTP_GET_English_Chrome24_Windows_7_to_Lig | HTTP_GET_English_Chrome24_Windows_7_to_Mic | HTTP_GET_English_Chrome24_Windows_7_to_ngi | HTTP_GET_English_Chrome25_Linux_to_Jetty_S | HTTP_GET_English_Chrome25_Linux_to_Lighttp | HTTP_GET_English_Chrome25_Linux_to_Microso | HTTP_GET_English_Chrome25_Linux_to_nginx_S | HTTP_GET_English_Chrome25_OS_X_to_Apache_S | HTTP_GET_English_Chrome25_OS_X_to_Jetty_Se | HTTP_GET_English_Chrome25_OS_X_to_Lighttpd | HTTP_GET_English_Chrome25_OS_X_to_Microsof | HTTP_GET_English_Chrome25_OS_X_to_nginx_Se | HTTP_GET_English_Chrome25_Windows_7_to_Apa | HTTP_GET_English_Chrome25_Windows_7_to_Jet | HTTP_GET_English_Chrome25_Windows_7_to_Lig | HTTP_GET_English_Chrome25_Windows_7_to_Mic | HTTP_GET_English_Chrome25_Windows_7_to_ngi | HTTP_GET_English_Firefox16_Linux_to_Apache | HTTP_GET_English_Firefox16_Linux_to_Lightt | HTTP_GET_English_Firefox16_Linux_to_Micros | HTTP_GET_English_Firefox16_OS_X_to_Jetty_S | HTTP_GET_English_Firefox16_OS_X_to_Lighttp | HTTP_GET_English_Firefox16_OS_X_to_Microso | HTTP_GET_English_Firefox16_OS_X_to_nginx_S | HTTP_GET_English_Firefox16_Windows_7_to_Ap | HTTP_GET_English_Firefox16_Windows_7_to_Je | HTTP_GET_English_Firefox16_Windows_7_to_Li | HTTP_GET_English_Firefox16_Windows_7_to_Mi | HTTP_GET_English_Firefox16_Windows_7_to_ng | HTTP_GET_English_Firefox17_Linux_to_Apache | HTTP_GET_English_Firefox17_Linux_to_Lightt | HTTP_GET_English_Firefox17_Linux_to_Micros | HTTP_GET_English_Firefox17_OS_X_to_Jetty_S | HTTP_GET_English_Firefox17_OS_X_to_Lighttp | HTTP_GET_English_Firefox17_OS_X_to_Microso | HTTP_GET_English_Firefox17_OS_X_to_nginx_S | HTTP_GET_English_Firefox17_Windows_7_to_Ap | HTTP_GET_English_Firefox17_Windows_7_to_Je | HTTP_GET_English_Firefox17_Windows_7_to_Li | HTTP_GET_English_Firefox17_Windows_7_to_Mi | HTTP_GET_English_Firefox17_Windows_7_to_ng | HTTP_GET_English_Firefox18_Linux_to_Apache | HTTP_GET_English_Firefox18_Linux_to_Lightt | HTTP_GET_English_Firefox18_Linux_to_Micros | HTTP_GET_English_Firefox18_OS_X_to_Jetty_S | HTTP_GET_English_Firefox18_OS_X_to_Lighttp | HTTP_GET_English_Firefox18_OS_X_to_Microso | HTTP_GET_English_Firefox18_OS_X_to_nginx_S | HTTP_GET_English_Firefox18_Windows_7_to_Ap | HTTP_GET_English_Firefox18_Windows_7_to_Je | HTTP_GET_English_Firefox18_Windows_7_to_Li | HTTP_GET_English_Firefox18_Windows_7_to_Mi | HTTP_GET_English_Firefox18_Windows_7_to_ng | HTTP_GET_English_Firefox19_Linux_to_Apache | HTTP_GET_English_Firefox19_Linux_to_Lightt | HTTP_GET_English_Firefox19_Linux_to_Micros | HTTP_GET_English_Firefox19_OS_X_to_Jetty_S | HTTP_GET_English_Firefox19_OS_X_to_Lighttp | HTTP_GET_English_Firefox19_OS_X_to_Microso | HTTP_GET_English_Firefox19_OS_X_to_nginx_S | HTTP_GET_English_Firefox19_Windows_7_to_Ap | HTTP_GET_English_Firefox19_Windows_7_to_Je | HTTP_GET_English_Firefox19_Windows_7_to_Li | HTTP_GET_English_Firefox19_Windows_7_to_Mi | HTTP_GET_English_Firefox19_Windows_7_to_ng | HTTP_GET_English_IE8_Windows_7_to_Apache_S | HTTP_GET_English_IE8_Windows_7_to_Jetty_Se | HTTP_GET_English_IE8_Windows_7_to_Lighttpd | HTTP_GET_English_IE8_Windows_7_to_Microsof | HTTP_GET_English_IE8_Windows_7_to_nginx_Se | HTTP_GET_English_IE9_Windows_7_to_Apache_S | HTTP_GET_English_IE9_Windows_7_to_Jetty_Se | HTTP_GET_English_IE9_Windows_7_to_Lighttpd | HTTP_GET_English_IE9_Windows_7_to_Microsof | HTTP_GET_English_IE9_Windows_7_to_nginx_Se | HTTP_GET_English_Opera11_Linux_to_Apache_S | HTTP_GET_English_Opera11_Linux_to_Jetty_Se | HTTP_GET_English_Opera11_Linux_to_Lighttpd | HTTP_GET_English_Opera11_Linux_to_Microsof | HTTP_GET_English_Opera11_Linux_to_nginx_Se | HTTP_GET_English_Opera11_OS_X_to_Apache_Se | HTTP_GET_English_Opera11_OS_X_to_Jetty_Ser | HTTP_GET_English_Opera11_OS_X_to_Microsoft | HTTP_GET_English_Opera11_OS_X_to_nginx_Ser | HTTP_GET_English_Opera11_Windows_7_to_Apac | HTTP_GET_English_Opera11_Windows_7_to_Jett | HTTP_GET_English_Opera11_Windows_7_to_Ligh | HTTP_GET_English_Opera11_Windows_7_to_Micr | HTTP_GET_English_Opera11_Windows_7_to_ngin | HTTP_GET_English_Opera12_Linux_to_Apache_S | HTTP_GET_English_Opera12_Linux_to_Jetty_Se | HTTP_GET_English_Opera12_Linux_to_Lighttpd | HTTP_GET_English_Opera12_Linux_to_Microsof | HTTP_GET_English_Opera12_Linux_to_nginx_Se | HTTP_GET_English_Opera12_OS_X_to_Apache_Se | HTTP_GET_English_Opera12_OS_X_to_Jetty_Ser | HTTP_GET_English_Opera12_OS_X_to_Microsoft | HTTP_GET_English_Opera12_OS_X_to_nginx_Ser | HTTP_GET_English_Opera12_Windows_7_to_Apac | HTTP_GET_English_Opera12_Windows_7_to_Jett | HTTP_GET_English_Opera12_Windows_7_to_Ligh | HTTP_GET_English_Opera12_Windows_7_to_Micr | HTTP_GET_English_Opera12_Windows_7_to_ngin | HTTP_GET_English_Safari5_OS_X_to_Apache_Se | HTTP_GET_English_Safari5_OS_X_to_Jetty_Ser | HTTP_GET_English_Safari5_OS_X_to_Microsoft | HTTP_GET_English_Safari5_OS_X_to_nginx_Ser | HTTP_GET_English_Safari5_Windows_7_to_Apac | HTTP_GET_English_Safari5_Windows_7_to_Jett | HTTP_GET_English_Safari5_Windows_7_to_Ligh | HTTP_GET_English_Safari5_Windows_7_to_Micr | HTTP_GET_English_Safari5_Windows_7_to_ngin | HTTP_GET_English_Safari6_OS_X_to_Apache_Se | HTTP_GET_English_Safari6_OS_X_to_Jetty_Ser | HTTP_GET_English_Safari6_OS_X_to_Microsoft | HTTP_GET_English_Safari6_OS_X_to_nginx_Ser | HTTP_GET_HTML5_Text_File | HTTP_GET_HTML5_Text_File_Deprecated | HTTP_GET_Text_File | HTTP_Live_Streaming | HTTP_Live_Streaming_HLS | HTTP_LTE_Mix | HTTP_Mobile_Europe | HTTP_Mobile_Europe_with_iPhone | HTTP_Mobile_North_America | HTTP_Mobile_North_America_with_iPhone | HTTP_NTLM_Authenticated | HTTP_Pages | HTTP_Persistent_Session | HTTP_Pipelining | HTTP_POST_PDF_File | HTTP_POST_Web_Login | HTTP_Progressive_Download | HTTP_Raw_Messages | HTTP_Redirect | HTTP_Request | HTTP_RMIX_130K | HTTP_RMIX_25K | HTTP_RMIX_30K | HTTP_Server_Requests | HTTP_Service_Provider | HTTP_Text | HTTP_Text_over_SCTP | HTTP_Text_over_SCTP_over_UDP | HTTP_VE_MAX_Bandwidth | HTTP_VE_MAX_Session | HTTP_Video | HTTPS_100k | HTTPS_10k | HTTPS_Dropbox_Simulated | HTTPS_LTE_Mix | HTTPS_Simulated_512k_Data | HTTPS_Simulated_Enterprise | HTTPS_Simulated_Facebook_Messenger | HTTPS_Simulated_LINE_Basic_Audio_Call | HTTPS_Simulated_LINE_Chat | HTTPS_Simulated_Service_Provider | Hulu_Bandwidth | Hulu_Desktop | iCloudWeb_Push_Notification_Service | ICQ | ICQ_75 | ICQ_76 | ICQ_77 | ICQ_7M | ICQ_80 | ICQ_80_Chinese | ICQ_80_French | ICQ_80_German | ICQ_80_Italian | ICQ_80_Japanese | ICQ_80_Persian | ICQ_80_Spanish | Ident | IEC104 | IMAP | IMAP_Cisco_EMIX | IMAP_LTE_Mix | IMAP_RMIX_16K | IMAP_RMIX_4K | IMAP_RMIX_90K | IMAPv4_Advanced | IMAPv4_Advanced_Chinese | IMAPv4_Advanced_French | IMAPv4_Advanced_German | IMAPv4_Advanced_Italian | IMAPv4_Advanced_Japanese | IMAPv4_Advanced_Persian | IMAPv4_Advanced_Spanish | iMessage_Send_File_Message | iMessage_Send_Text_Message | Inetd_Diagnostic_Services | Informix_Database | Instacart | Instacart_Login_Logout | Instagram_Bandwidth | Instagram_Nov_2014 | IPFIX | IPMI | IPP_Print_Request | IPS_HTTP_Audio | IPS_HTTP_Text | IPS_HTTP_Video | IPS_Images | IPS_Small_Images | IRC_Channel_Join_Chat | IRC_Login | IRC_Login_Auth | IRC_Login_Auth_Failure | IRC_Private_Chat | iSCSI_Read_and_Write | ITCH_NASDAQ_Trading | iTunes_Desktop_App_Store | iTunes_Desktop_App_Store_Feb18 | iTunes_Desktop_Music | iTunes_Mobile_App_Store | iTunes_Mobile_Music | Jabber_Chat | JIRA_Create_Issue | JIRA_List_Issues | Jira_Service_Desk_Help_Center_Issue_Oct17 | Jira_Service_Desk_Issue_Management_Oct17 | Jira_Service_Desk_Project_Management_Oct17 | KakaoTalk_Chat | Kodi_Sep_17_Install_Add_ons | Kodi_Sep_17_Play_Audio | Kodi_Sep_17_Play_Video | Laposte_Webmail_1307 | LDAP | LDAP_SASL_Auth | LinkedIn | Linkedin_1301 | LinkedIn_Dec17_Manage_Connections | LinkedIn_Dec17_Send_Message | Locky_Malware_Infection_Traffic | LPD | LTE_HTTP_Simple_ENB_MME_vs_SGW_PGW_IPV4_IP | Lync_2013_SIPe_Initiate_IM_Chat_Uncompress | Lync_Audio_Video | Mailru | Mailru_2013 | Manufacturing_Message_Specification_MMS | Manufacturing_Message_Specification_MMS_Wr | MAX_Bandwidth_HTTP | MAX_HTTP_Packets_Per_Second | MAX_Raw_Packets_Per_Second | Memcached_Set_and_Get_Key_Example | Memcached_Set_Get_Delete_operations | Meraki_Configure_Network_Nov17 | Meraki_Manage_MDM_Network_Nov17 | Meraki_Monitor_Devices_Nov17 | Message_Session_Relay_Protocol_MSRP | MGCP_Residential_Gateway_Connection_Deleti | Microsoft_Azure | Microsoft_Azure_Create_App | Microsoft_Azure_Sign_Up | Microsoft_OneDrive_Mar_15 | Microsoft_Smooth_Streaming_Play_Clips_with | Microsoft_Smooth_Streaming_Play_Fragments | Microsoft_Update | Minecraft_189_Login_Sequence_to_Multiplaye | Minecraft_189_Server_List_Ping | Mirai_Botnet_DNS_Flood_Attack | Mirai_Botnet_HTTP_Flood_Attack | Mirai_Botnet_UDP_Flood_Attack | Mirai_Botnet_UDP_Plain_Flood_Attack | Mirai_Botnet_Valve_Source_Engine_Query_Flo | MMS_MM1_WAP_HTTP | Modbus | Modbus_Examples | MongoDB_Demo_Super_Flow | MongoDB_Insert_Document | MongoDB_Shell_Connect_Disconnect | MongoDB_Update_Document | MQTT_Connect_and_PING_between_Publish | MQTT_Connect_and_Publish | MQTT_Connect_and_Subscribe_Publish | MS_SQL_Create | MS_SQL_Delete | MS_SQL_Drop | MS_SQL_Insert | MS_SQL_Server | MS_SQL_Server_Advanced | MS_SQL_Update | MS_SQL2012_Advanced | MS_SQL2012_Create_Table | MS_SQL2012_Delete | MS_SQL2012_Drop | MS_SQL2012_Insert | MS_SQL2012_Select | MS_SQL2012_TLS_Advanced | MS_SQL2012_TLS_Create_Table | MS_SQL2012_TLS_Delete | MS_SQL2012_TLS_Drop | MS_SQL2012_TLS_Insert | MS_SQL2012_TLS_Select | MS_SQL2012_TLS_Update | MS_SQL2012_Update | Mxit_Desktop_File_Transfer | Mxit_Desktop_Multiple_Status_Messages | Mxit_Messenger_For_Windows_PC | MySpace_HTTP_Flash_Video | MySQL_Database_Advanced | MySQL_Databse | NetBIOS_Session | Netflix_July_2017 | Netflix_Login_Logout_July_2017 | Netflix_Play_Movie_July_2017 | Netflix_Service_Provider | Netflow_V5 | Netflow_V7 | Netflow_V9 | Netflow_V9_Custom | Netflow_V9_IPv6 | NFS | Niconico_Nov_2013 | nntp | NTP_Synchronization | NTPv2 | NTPv2_Amplification | OCSP_over_HTTP_Multiple_OCSP_Requests | Office_365_Excel_Jul_15 | Office_365_Excel_Jul_15_Create_Workbook | Office_365_Excel_Jul_15_Open_Workbook | Office_365_Excel_Jul_17_Create_Workbook | Office_365_Excel_Jul_17_Open_Workbook | Office_365_OneNote_Jul_15 | Office_365_OneNote_Sep_17 | Office_365_OneNote_Sep_17_Create_and_Edit | Office_365_Outlook_Calendar_Jul_15 | Office_365_Outlook_Calendar_Jul_15_Create | Office_365_Outlook_Calendar_Jul_15_Search | Office_365_Outlook_Mail_Jun_15 | Office_365_Outlook_Mail_Jun_15_Send_Messag | Office_365_Outlook_Mail_Jun_15_View_Messag | Office_365_Outlook_People_Jul_15 | Office_365_Outlook_People_Jul_15_Create_an | Office_365_Outlook_People_Jul_15_Search_fo | Office_365_Outlook_Tasks_Jul_15 | Office_365_Outlook_Tasks_Jul_15_Create_and | Office_365_Outlook_Tasks_Jul_15_Mark_task | Office_365_Outlook_Tasks_Sep_17 | Office_365_Outlook_Tasks_Sep_17_Create_and | Office_365_Outlook_Tasks_Sep_17_Mark_task | Office_365_PowerPoint_Jul_15 | Office_365_PowerPoint_Jul_15_Create_Presen | Office_365_PowerPoint_Jul_15_Open_Presenta | Office_365_Sway_Jul_15 | Office_365_Sway_Jul_15_Configure | Office_365_Sway_Jul_15_Create_Presentation | Office_365_Sway_Jul_15_Edit_Presentation | Office_365_Sway_Jul_15_Preview_Presentatio | Office_365_Word_Jul_15 | Office_365_Word_Jul_17 | Office_365_Word_Jul_17_Create_File | Okazii_130125 | OPC_UA_Binary_Open_Secure_Channel | OPC_UA_Binary_Secure_Get_Endpoints_Respons | OPC_UA_Binary_with_Error_Message | OpenFlow_Demo_Superflow | OpenFlow_Switch_Startup_v10 | OpenStack_Swift_Demo_Super_Flow | Oracle_Database | Oracle_Database_Advanced | Oracle_Database_Create_Table | Oracle_Database_Delete | Oracle_Database_Drop_Table | Oracle_Database_Insert | Oracle_Database_Update | Oracle_Enterprise | OUCH41 | Outlook_Web_Access | Outlook_Web_Access_Chinese | Outlook_Web_Access_French | Outlook_Web_Access_German | Outlook_Web_Access_Italian | Outlook_Web_Access_Japanese | Outlook_Web_Access_Persian | Outlook_Web_Access_Spanish | OWAMP_Session | Pandora | Pandora_iPhone | Pandora_LTE_Mix | Pandora_Sandvine_Bandwidth | Paypal | PeerGuardian_Update | Perforce_Add_New_File | Perforce_Create_Changelist | Perforce_Submit_Changelist | Perforce_Sync_File | Perforce_Ticket_Based_Authentication | Pinterest_Jun17 | Pinterest_Photo_Upload_Jun17 | Pinterest_Search_and_Pin_Jun17 | POP3 | POP3_512 | POP3_Advanced | POP3_Chinese | POP3_French | POP3_German | POP3_Italian | POP3_Japanese | POP3_LTE_Mix | POP3_Persian | POP3_RMIX_16K | POP3_RMIX_4K | POP3_RMIX_90K | POP3_Spanish | PortMapper | POS_FIle_XFER_SMB2 | PostgreSQL | PostgreSQL_Create_Table | PostgreSQL_Delete | PostgreSQL_Drop_Table | PostgreSQL_Insert | PostgreSQL_Update | PPLive_Enterprise | PPTP_Establish_Session | QQ_IM_Chat | QUIC_Demo_Superflow | QUIC_Simple_HTTP_Stream | Quote_of_the_DayTCP | Quote_of_the_DayUDP | RADIUS | RADIUS_Access | RADIUS_Access_IPv6 | RADIUS_IPv4_and_IPv6 | RADIUS_IPv6 | Raw | Raw_25m_Data | Raw_Enterprise | Raw_Service_Provider | Reddit | Reddit_Account_Management_Feb_18 | Reddit_Browse_Content_Feb_18 | Remote_Desktop_Protocol | Resiliency_Sessions_per_Second | Rexec | RFB | RIP_v1 | RIPv2 | Rlogin | Rsh | RSS_Ixia_Feed | RSS_Multi_Feed | Rsync | RTMP | RTMP_Audio_Data_127K | RTMP_Audio_Data_1K | RTMP_Bandwidth | RTMP_Chunk | RTMP_Handshake | Rusers | S102 | S1AP_Authentication_Failure | S1AP_Authentication_Reject | S1AP_Handover_Preparation_Failure | S1AP_S1_Setup | S1AP_UE_Detach | S1AP_UE_Initial_Attach | S7comm_Advanced_Operations | S7comm_Block_List_Operations | S7comm_Download_Block | S7comm_Read_PLC_Status | S7comm_Read_Set_PLC_time | S7comm_Var_Service | Saavn_Music_February_2016 | Saavn_Music_February_2016_Log_In_and_Brows | Saavn_Music_February_2016_Play_Radio | Saavn_Music_February_2016_Play_Songs | Salesforce | Salesforce_Login_Logout | Sandvine_BlackBerry_Bandwidth | SAP | Seamless | Seamless_Login_Logout | ShareFile_Apr_17 | ShareFile_Apr_17_Upload_Download_File | SharePoint_Sep_2014 | Sina_Weibo_Feb_2014 | Sina_Weibo_Post_Feb_2014 | SIP_RTP_Voice_call_w_ENUM | SIP_Spoofed_Invite | Skype_1_minute_call | Skype_14_Call | Skype_14_Login | Skype_14_User_Search | Skype_V5_Sandvine_Bandwidth | Skype_V6_Instant_Messaging_Simple_Chat | SMB_Client_File_Download | SMB_Enterprise | SMB_Failed_Authentication | SMB_Null_Session | SMBv3_Encrypted_File_Download | SMBv3_Establish_Alternate_Channel | SMBv3_Secure_Negotiation | SMPP_Receive | SMPP_Transmit | SMTP_Authenticated_with_Verify | SMTP_Authentication_Failure | SMTP_Cisco_EMIX | SMTP_Email | SMTP_Email_Chinese | SMTP_Email_French | SMTP_Email_German | SMTP_Email_Italian | SMTP_Email_Japanese | SMTP_Email_Persian | SMTP_Email_Proxy_Support | SMTP_Email_Spanish | SMTP_Enterprise | SMTP_RMIX_16K | SMTP_RMIX_4K | SMTP_RMIX_90K | SMTPS | Snapchat_Bandwidth | Snapchat_May_2015 | Snapchat_May_2015_Send_Image | Snapchat_May_2015_Send_Movie | Snapdeal | Snapdeal_Add_items_to_cart | Snapdeal_Browse_website | SNMP | SNMPv1 | SNMPv2c | SNMPv3 | SOCKS_5_Connect_No_User_Authentication | SOCKS_5_Connect_with_User_Authentication | SopCast_P2P_Streaming | Soulseek_Search_and_Queue | SPDY_v2_Simple_GET_Request | SPDY_v2_Simple_POST_Request | SPDY_v2_Stream_Reset_CANCEL | SPDY_v2_Stream_Reset_FLOW_CONTROL_ERROR | SPDY_v2_Stream_Reset_INTERNAL_ERROR | SPDY_v2_Stream_Reset_INVALID_STREAM | SPDY_v2_Stream_Reset_PROTOCOL_ERROR | SPDY_v2_Stream_Reset_REFUSED_STREAM | SPDY_v2_Stream_Reset_UNSUPPORTED_VERSION | SQLMon | SSDP_M_SEARCH_Req_Resp_Unicast | SSH | SSH_Enterprise | Standard_Media_March_2016 | Standard_Media_March_2016_Print_Article | Standard_Media_March_2016_Recommend_and_Co | Standard_Media_March_2016_Share_Article | Steam_Login | STOMP_12 | STOMP_12_10_Backwards_Compatibility | STOMP_12_Error | SunRPC_BIND | Sybase_Database | Syslog | TACACS_Accounting | TACACS_Authentication | TACACS_Authorization | Telnet | Telnet_Failed_Login | The_Pirate_Bay_uTorrent_Download | The_Weather_Channel_Nov_2016 | Tinder | Tinder_Swiping | Tor_Directory_Listing | TR_069_Device_Initialization | TR_069_Firmware_Download | TR_069_Reboot | TUMe_Audio_Share | TUMe_IM | TUMe_Location_Share | TUMe_Photo_Share | TUMe_Register_Device | TvAnts_P2P_Streaming | TVUPlayer_P2P_Streaming | TWAMP_Session | Twitchtv | Twitter_RSS_Mobile | Uber_June_2015_Add_Location | Uber_June_2015_Registration | uTorrent_DHT_File_Download | VE_Max_Bandwidth_TLS1_2_AES_256_CBC_SHA | VE_Max_CC_TLS1_2_3DES_EDE_CBC_SHA | VE_Max_TPS_Superflow | VE_Max_TPS_TLS1_2_AES_256_CBC_SHA | VLC_HTTP_Flash_File_Streaming | VLC_HTTP_MPG_File_Streaming | VMware_VMotion | WAP_12 | WAP_20 | WebDAV | WebDAV_Errors | Webex | WebEx_Meeting | Webmail_Orange | WebSocket_Connection | WebSocket_Message_Generation | WebSocket_Ping_Pong | WhatsApp | WhatsApp_25MB | WhatsApp_Voice_Call | WHOIS | Wikipedia | Windows_Live_Mail | Windows_Live_Messenger_v16 | Windows_Live_Messenger_v16_Chinese | Windows_Live_Messenger_v16_French | Windows_Live_Messenger_v16_German | Windows_Live_Messenger_v16_Italian | Windows_Live_Messenger_v16_Japanese | Windows_Live_Messenger_v16_Persian | Windows_Live_Messenger_v16_Spanish | Windows_Live_MSN_Messenger_v15 | Winny | WORDPRESS_OCTOBER_2013_131016 | World_of_Warcraft | World_of_Warcraft_Patch_Update | WWW_File_Share_Pro_March_2016 | WWW_File_Share_Pro_March_2016_Download | WWW_File_Share_Pro_March_2016_Upload | Xbox_Facebook | Xbox_Live | Xbox_Zune_Video | XMPP_Facebook_Chat | XMPP_Jabber_Demo_Superflow | XMPP_Jabber_Demo_Superflow_with_PKCS7_Encr | XMPP_Jabber_Demo_Superflow_with_PKCS7_Sign | Xunlei_File_Download | Yahoo_HTTP_Flash_Video | Yahoo_IM_Voice_Chat_V10 | Yahoo_Mail | Yahoo_Mail_Chinese | Yahoo_Mail_French | Yahoo_Mail_German | Yahoo_Mail_Italian | Yahoo_Mail_Japanese | Yahoo_Mail_Persian | Yahoo_Mail_Spanish | Yahoo_Search | Yahoo_Search_GET_Home_Page | Yammer_Nov_2016 | Youtube_Bandwidth | YouTube_Music_Bandwidth | YouTube_Music_Play_Video | YouTube_September_2016 | YouTube_September_2016_Bandwidth | YouTube_September_2016_Browse_Sections | YouTube_September_2016_Play_Video | YouTube_Service_Provider | Zalo_VOIP | Zendesk_Nov17 | Zendesk_Nov17_Create_New_Ticket | ZeroAccess_botnet | ZeuS_Botnet])): Configured application library flows within profile.
- EnablePerIPStats (bool): Enable Per IP Stats. When true then Per IP statistic drilldown is available.
- ObjectiveDistribution (str(applyFullObjectiveToEachPort | splitObjectiveEvenlyAmongPorts)): Objective distribution value.
- ObjectiveType (str(simulatedUsers | throughputGbps | throughputKbps | throughputMbps)): The objective type of the test.A Test Objective is the way the user sets the actual rate of the Application Library Traffic transmission.
- ObjectiveValue (number): The absolute value of either simulated users or throughput in its measure unit.
Returns
-------
- self: This instance with all currently retrieved appLibProfile resources using find and the newly added appLibProfile resources available through an iterator or index
Raises
------
- ServerError: The server has encountered an uncategorized error condition
"""
return self._create(self._map_locals(self._SDM_ATT_MAP, locals()))
def remove(self):
"""Deletes all the contained appLibProfile resources in this instance from the server.
Raises
------
- NotFoundError: The requested resource does not exist on the server
- ServerError: The server has encountered an uncategorized error condition
"""
self._delete()
def find(self, AvailableFlows=None, ConfiguredFlows=None, EnablePerIPStats=None, ObjectiveDistribution=None, ObjectiveType=None, ObjectiveValue=None, TrafficState=None):
"""Finds and retrieves appLibProfile resources from the server.
All named parameters are evaluated on the server using regex. The named parameters can be used to selectively retrieve appLibProfile resources from the server.
To retrieve an exact match ensure the parameter value starts with ^ and ends with $
By default the find method takes no parameters and will retrieve all appLibProfile resources from the server.
Args
----
- AvailableFlows (list(str[7SHIFTS_Manager_Access | 7SHIFTS_Quick_Schedule_Review | ActiveSync_Unencrypted | ADP_Login_Pages | AIM6_Chat | AIM6_File_Transfer | Airbnb | Alibaba_May_15 | Amazon_1302 | Amazon_EC2_API_Demo | Amazon_EC2_Create_Key_Pair_Flow | Amazon_EC2_Start_Instances_Flow | Amazon_GET_Home_Page | Amazon_S3_Retrieve_Objects_Flow | Amazon_Video | Android_Market_Search_View_and_Download | Angry_Birds_Friends_September_2015_Faceboo | Angry_Birds_Friends_September_2015_Play | AngryBirds_Friends_Sep_15_In_app_purchase | AOL_Instant_Messenger | AOL_Webmail | AOL_Webmail_Deprecated | Apache_Cassandra_DB | Apache_Cassandra_DB_Start_Up | Apache_Cassandra_DB_Start_Up_and_Registrat | AppleJuice | AppLine_Demo_Superflow | AppLine_Simple_Chat | Appogee_Quick_Calendar_Review | Appogee_Team_Manager_Access | Appointy_Manager_Access | Appointy_Quick_Schedule_Review | Ares_v2183042_Login_File_Download | Average_Web_Page_2011 | AWS_Console_Oct17 | AWS_EC2_Nov17 | AWS_S3_Oct17 | BACnet_IP_Read_File | BACnet_IP_Who_Has_I_Have_Object_Query | BACnet_IP_Who_Is_I_Am_Device_Discovery | BACnet_IP_Write_File | Baidu_Access_Network_of_Web_Portals_Feb_18 | Baidu_Search_Oct_16 | Baidu_Tieba_Jun_16_Access_a_Tieba | Baidu_Tieba_Jun_16_Login_and_Logout | Baidu_Tieba_Jun_16_Post_a_Thread | Bandwidth_BitTorrent_File_Download | Bandwidth_eDonkey | Bandwidth_HTTP | Bandwidth_HTTP_over_SCTP | Bandwidth_HTTP_over_SCTP_over_UDP | Bandwidth_IMAPv4 | Bandwidth_POP3 | Bandwidth_QUIC | Bandwidth_Radius | Bandwidth_Raw | Bandwidth_Telnet | Bandwidth_uTorrent_DHT_File_Download | BBC_iPlayer | BBC_iPlayer_Radio | BGP_IGP_Open_Advertise_Routes | BGP_IGP_Withdraw_Routes | Bing_Search | Bitcoin_Heartbeat | Bitcoin_Synchronization | Bitcoin_Transaction_Information | BitTorrent_Ares_v217_File_Download | BitTorrent_BitComet_v126_File_Download | BitTorrent_Blizzard_File_Download | BitTorrent_Cisco_EMIX | BitTorrent_Enterprise | BitTorrent_File_Download | BitTorrent_LimeWire_v5516_File_Download | BitTorrent_RMIX_5M | BitTorrent_Service_Provider | BitTorrent_Transmission_v222_File_Download | BitTorrent_v720_File_Download | BitTorrent_Vuse_v460_File_Download | BitTorrent_Xunlei_v716_File_Download | BlackBerry_Enterprise_Send_E_Mail | BlackBerry_Enterprise_Send_E_Mail_French | BlackBerry_Enterprise_Send_E_Mail_German | BlackBerry_Enterprise_Send_E_Mail_Italian | BlackBerry_Enterprise_Send_E_Mail_Japanese | BlackBerry_Enterprise_Send_E_Mail_Spanish | Blogspot_Aug_15 | Blogspot_Aug_15_Create_and_Publish_a_new_B | Blogspot_Aug_15_Delete_Blog | Box_Oct_17_Collaborate_on_Files | BuzzFeed_Nov_2016 | CandyCrush_Sep_15 | Capwap | Capwap_Configuration | Capwap_Echo | Certify_Jun_17 | Certify_Jun_17_Create_New_Report | Chargen_TCP | Chargen_UDP | Cisco_Spark_Send_File | Cisco_Spark_Text_Chat | Cisco_Spark_Video_Call | Citrix | Client_Receives_Audio_Data_from_Server_Usi | ClientSim_HTTP_Request_BMP | ClientSim_HTTP_Request_EXE | ClientSim_HTTP_Request_GIF | ClientSim_HTTP_Request_HTML | ClientSim_HTTP_Request_JPG | ClientSim_HTTP_Request_MP3 | ClientSim_HTTP_Request_PDF | ClientSim_HTTP_Request_PNG | ClientSim_HTTP_Request_RTF | ClientSim_HTTP_Request_WAV | ClientSim_HTTP_Slow_Headers | ClientSim_Microsoft_Smooth_Streaming_Play | Concur_Jan_17 | Confluence_Space_and_Page_Operations_Nov17 | Confluence_Space_Operations_Nov17 | Constrained_Application_Protocol_CoAP | Dailymotion_Aug_17 | Dailymotion_Aug_17_Play_A_Video | Dailymotion_Bandwidth | DailyMotion_Mar_15 | DailyMotion_Mar_15_Search_a_DailyMotion_vi | DailyMotion_Mar_15_Search_and_view_a_video | DailyMotion_Mar_15_Upload_a_video_to_Daily | Daytime_TCP | Daytime_UDP | DB2_Database | DCE_RPC | DCE_RPC_MAPI_Session | DCE_RPC_MAPI_with_File_Attachment | DDoS_SMBLoris | DDoS_SSL_HTTP_Post_Flood | DDoS_SSL_Key_Exchange_Flood | Diameter | Diameter_Rx_Interface | Diameter_S9a_Interface | Discard_TCP | Discord_Dec_17 | Discord_Dec_17_Chat | DNP3_Link_Status | DNP3_Read_Class_0_Data | DNP3_Read_Device_Attributes | DNP3_Time_Sync | DNP3_Unsolicited_Response | DNS | DNS_A_Truncated_Lookup | DNS_AAAA_Truncated_Lookup | DNS_SRV_LDAP_Lookup | DNSSEC_A_Record_Lookup | DocuSign_Access_Website_Dec17 | Doodle_July_2015_Create_poll | Doodle_July_2015_Invite_poll_participants | Doodle_July_2015_Participate_in_poll | Dropbox_Demo_Superflow | Dropbox_Initial_Client_Setup_and_Synchroni | Dropbox_Sync_Get_New_File | Dropbox_Sync_Upload_New_File | Duqu_Botnet | Ebay | eBay_Browse_and_Buy_Items_Feb_18 | Ebay_Jan_2015 | eBay_Manage_Personal_Account_Feb_18 | Ebay_Sign_In_Out_Jan_2015 | Echo_TCP | Echo_UDP | eDonkey_Data_Transfer | eDonkey_Upload | Equation_Group_Cisco_Exploit_Chain | Ethernet_IP_Connected | Ethernet_IP_Unconnected | Evergreen_AOL_Chat_AIM_Aug_17 | Evergreen_AOL_Chat_AIM_Aug_17_Receive_Mess | Evergreen_AOL_Chat_AIM_Aug_17_Send_Message | Evergreen_AOL_Chat_AIM_Jan_14 | Evergreen_AOL_Chat_AIM_Jan_14_Receive_Mess | Evergreen_AOL_Chat_AIM_Jan_14_Send_Message | Evergreen_AOL_Chat_AIM_Jul_17 | Evergreen_AOL_Chat_AIM_Jul_17_Receive_Mess | Evergreen_AOL_Chat_AIM_Jul_17_Send_Message | Evergreen_AOL_Chat_AIM_Jun_17 | Evergreen_AOL_Chat_AIM_Jun_17_Receive_Mess | Evergreen_AOL_Chat_AIM_Jun_17_Send_Message | Evergreen_AOL_Chat_AIM_May_17 | Evergreen_AOL_Chat_AIM_May_17_Receive_Mess | Evergreen_AOL_Chat_AIM_May_17_Send_Message | Evergreen_AOL_Chat_AIM_Sep_17 | Evergreen_AOL_Chat_AIM_Sep_17_Receive_Mess | Evergreen_AOL_Chat_AIM_Sep_17_Send_Message | Evergreen_AOL_Mail_Aug_17 | Evergreen_AOL_Mail_Aug_17_Send_Message | Evergreen_AOL_Mail_Aug_17_Send_Message_wit | Evergreen_AOL_Mail_Aug_17_View_Message | Evergreen_AOL_Mail_Aug_17_View_Message_wit | Evergreen_AOL_Mail_Dec_17 | Evergreen_AOL_Mail_Dec_17_Send_Message | Evergreen_AOL_Mail_Dec_17_Send_Message_wit | Evergreen_AOL_Mail_Dec_17_View_Message | Evergreen_AOL_Mail_Dec_17_View_Message_wit | Evergreen_AOL_Mail_Feb_18 | Evergreen_AOL_Mail_Feb_18_Send_Message | Evergreen_AOL_Mail_Feb_18_Send_Message_wit | Evergreen_AOL_Mail_Feb_18_View_Message | Evergreen_AOL_Mail_Feb_18_View_Message_wit | Evergreen_AOL_Mail_Jan_14 | Evergreen_AOL_Mail_Jan_14_Send_Message | Evergreen_AOL_Mail_Jan_14_Send_Message_wit | Evergreen_AOL_Mail_Jan_14_View_Message | Evergreen_AOL_Mail_Jan_14_View_Message_wit | Evergreen_AOL_Mail_Jan_18 | Evergreen_AOL_Mail_Jan_18_Send_Message | Evergreen_AOL_Mail_Jan_18_Send_Message_wit | Evergreen_AOL_Mail_Jan_18_View_Message | Evergreen_AOL_Mail_Jan_18_View_Message_wit | Evergreen_AOL_Mail_Jul_17 | Evergreen_AOL_Mail_Jul_17_Send_Message | Evergreen_AOL_Mail_Jul_17_Send_Message_wit | Evergreen_AOL_Mail_Jul_17_View_Message | Evergreen_AOL_Mail_Jul_17_View_Message_wit | Evergreen_AOL_Mail_Jun_17 | Evergreen_AOL_Mail_Jun_17_Send_Message | Evergreen_AOL_Mail_Jun_17_Send_Message_wit | Evergreen_AOL_Mail_Jun_17_View_Message | Evergreen_AOL_Mail_Jun_17_View_Message_wit | Evergreen_AOL_Mail_May_17 | Evergreen_AOL_Mail_May_17_Send_Message | Evergreen_AOL_Mail_May_17_Send_Message_wit | Evergreen_AOL_Mail_May_17_View_Message | Evergreen_AOL_Mail_May_17_View_Message_wit | Evergreen_AOL_Mail_Nov_17 | Evergreen_AOL_Mail_Nov_17_Send_Message | Evergreen_AOL_Mail_Nov_17_Send_Message_wit | Evergreen_AOL_Mail_Nov_17_View_Message | Evergreen_AOL_Mail_Nov_17_View_Message_wit | Evergreen_AOL_Mail_Oct_17 | Evergreen_AOL_Mail_Oct_17_Send_Message | Evergreen_AOL_Mail_Oct_17_Send_Message_wit | Evergreen_AOL_Mail_Oct_17_View_Message | Evergreen_AOL_Mail_Oct_17_View_Message_wit | Evergreen_AOL_Mail_Sep_17 | Evergreen_AOL_Mail_Sep_17_Send_Message | Evergreen_AOL_Mail_Sep_17_Send_Message_wit | Evergreen_AOL_Mail_Sep_17_View_Message | Evergreen_AOL_Mail_Sep_17_View_Message_wit | Evergreen_Facebook_Aug_17 | Evergreen_Facebook_Dec_17 | Evergreen_Facebook_Feb_18 | Evergreen_Facebook_Jan_14 | Evergreen_Facebook_Jan_18 | Evergreen_Facebook_Jul_17 | Evergreen_Facebook_Jun_17 | Evergreen_Facebook_May_17 | Evergreen_Facebook_Nov_17 | Evergreen_Facebook_Oct_17 | Evergreen_Facebook_Sep_17 | Evergreen_Gmail_Aug_17 | Evergreen_Gmail_Aug_17_Send_Message | Evergreen_Gmail_Aug_17_Send_Message_with_A | Evergreen_Gmail_Aug_17_View_Message | Evergreen_Gmail_Aug_17_View_Message_with_A | Evergreen_Gmail_Dec_17 | Evergreen_Gmail_Dec_17_Send_Message | Evergreen_Gmail_Dec_17_Send_Message_with_A | Evergreen_Gmail_Dec_17_View_Message | Evergreen_Gmail_Dec_17_View_Message_with_A | Evergreen_Gmail_Feb_18 | Evergreen_Gmail_Feb_18_Send_Message | Evergreen_Gmail_Feb_18_Send_Message_with_A | Evergreen_Gmail_Feb_18_View_Message | Evergreen_Gmail_Feb_18_View_Message_with_A | Evergreen_Gmail_Jan_18 | Evergreen_Gmail_Jan_18_Send_Message | Evergreen_Gmail_Jan_18_Send_Message_with_A | Evergreen_Gmail_Jan_18_View_Message | Evergreen_Gmail_Jan_18_View_Message_with_A | Evergreen_Gmail_Jul_17 | Evergreen_Gmail_Jul_17_Send_Message | Evergreen_Gmail_Jul_17_Send_Message_with_A | Evergreen_Gmail_Jul_17_View_Message | Evergreen_Gmail_Jul_17_View_Message_with_A | Evergreen_Gmail_Jun_17 | Evergreen_Gmail_Jun_17_Send_Message | Evergreen_Gmail_Jun_17_Send_Message_with_A | Evergreen_Gmail_Jun_17_View_Message | Evergreen_Gmail_Jun_17_View_Message_with_A | Evergreen_Gmail_May_17 | Evergreen_Gmail_May_17_Send_Message | Evergreen_Gmail_May_17_Send_Message_with_A | Evergreen_Gmail_May_17_View_Message | Evergreen_Gmail_May_17_View_Message_with_A | Evergreen_Gmail_Nov_17 | Evergreen_Gmail_Nov_17_Send_Message | Evergreen_Gmail_Nov_17_Send_Message_with_A | Evergreen_Gmail_Nov_17_View_Message | Evergreen_Gmail_Nov_17_View_Message_with_A | Evergreen_Gmail_Oct_17 | Evergreen_Gmail_Oct_17_Send_Message | Evergreen_Gmail_Oct_17_Send_Message_with_A | Evergreen_Gmail_Oct_17_View_Message | Evergreen_Gmail_Oct_17_View_Message_with_A | Evergreen_Gmail_Sep_17 | Evergreen_Gmail_Sep_17_Send_Message | Evergreen_Gmail_Sep_17_Send_Message_with_A | Evergreen_Gmail_Sep_17_View_Message | Evergreen_Gmail_Sep_17_View_Message_with_A | Evergreen_Rediffmail_Aug_17 | Evergreen_Rediffmail_Aug_17_Send_Message | Evergreen_Rediffmail_Aug_17_Send_Message_w | Evergreen_Rediffmail_Aug_17_View_Message | Evergreen_Rediffmail_Aug_17_View_Message_w | Evergreen_Rediffmail_Dec_17 | Evergreen_Rediffmail_Dec_17_Send_Message | Evergreen_Rediffmail_Dec_17_Send_Message_w | Evergreen_Rediffmail_Dec_17_View_Message | Evergreen_Rediffmail_Dec_17_View_Message_w | Evergreen_Rediffmail_Feb_18 | Evergreen_Rediffmail_Feb_18_Send_Message | Evergreen_Rediffmail_Feb_18_Send_Message_w | Evergreen_Rediffmail_Feb_18_View_Message | Evergreen_Rediffmail_Feb_18_View_Message_w | Evergreen_Rediffmail_Jan_18 | Evergreen_Rediffmail_Jan_18_Send_Message | Evergreen_Rediffmail_Jan_18_Send_Message_w | Evergreen_Rediffmail_Jan_18_View_Message | Evergreen_Rediffmail_Jan_18_View_Message_w | Evergreen_Rediffmail_Jul_17 | Evergreen_Rediffmail_Jul_17_Send_Message | Evergreen_Rediffmail_Jul_17_Send_Message_w | Evergreen_Rediffmail_Jul_17_View_Message | Evergreen_Rediffmail_Jul_17_View_Message_w | Evergreen_Rediffmail_Jun_17 | Evergreen_Rediffmail_Jun_17_Send_Message | Evergreen_Rediffmail_Jun_17_Send_Message_w | Evergreen_Rediffmail_Jun_17_View_Message | Evergreen_Rediffmail_Jun_17_View_Message_w | Evergreen_Rediffmail_May_17 | Evergreen_Rediffmail_May_17_Send_Message | Evergreen_Rediffmail_May_17_Send_Message_w | Evergreen_Rediffmail_May_17_View_Message | Evergreen_Rediffmail_May_17_View_Message_w | Evergreen_Rediffmail_Nov_17 | Evergreen_Rediffmail_Nov_17_Send_Message | Evergreen_Rediffmail_Nov_17_Send_Message_w | Evergreen_Rediffmail_Nov_17_View_Message | Evergreen_Rediffmail_Nov_17_View_Message_w | Evergreen_Rediffmail_Oct_17 | Evergreen_Rediffmail_Oct_17_Send_Message | Evergreen_Rediffmail_Oct_17_Send_Message_w | Evergreen_Rediffmail_Oct_17_View_Message | Evergreen_Rediffmail_Oct_17_View_Message_w | Evergreen_Rediffmail_Sep_17 | Evergreen_Rediffmail_Sep_17_Send_Message | Evergreen_Rediffmail_Sep_17_Send_Message_w | Evergreen_Rediffmail_Sep_17_View_Message | Evergreen_Rediffmail_Sep_17_View_Message_w | Evergreen_Twitter_Aug_17 | Evergreen_Twitter_Aug_17_Post_Status | Evergreen_Twitter_Aug_17_View_Home_Timelin | Evergreen_Twitter_Dec_17 | Evergreen_Twitter_Dec_17_Post_Status | Evergreen_Twitter_Dec_17_View_Home_Timelin | Evergreen_Twitter_Feb_18 | Evergreen_Twitter_Feb_18_Post_Status | Evergreen_Twitter_Feb_18_View_Home_Timelin | Evergreen_Twitter_Jan_18 | Evergreen_Twitter_Jan_18_Post_Status | Evergreen_Twitter_Jan_18_View_Home_Timelin | Evergreen_Twitter_Jul_17 | Evergreen_Twitter_Jul_17_Post_Status | Evergreen_Twitter_Jul_17_View_Home_Timelin | Evergreen_Twitter_Jun_17 | Evergreen_Twitter_Jun_17_Post_Status | Evergreen_Twitter_Jun_17_View_Home_Timelin | Evergreen_Twitter_May_17 | Evergreen_Twitter_May_17_Post_Status | Evergreen_Twitter_May_17_View_Home_Timelin | Evergreen_Twitter_Nov_17 | Evergreen_Twitter_Nov_17_Post_Status | Evergreen_Twitter_Nov_17_View_Home_Timelin | Evergreen_Twitter_Oct_17 | Evergreen_Twitter_Oct_17_Post_Status | Evergreen_Twitter_Oct_17_View_Home_Timelin | Evergreen_Twitter_Sep_17 | Evergreen_Twitter_Sep_17_Post_Status | Evergreen_Twitter_Sep_17_View_Home_Timelin | Evergreen_Web_ICQ_Aug_17 | Evergreen_Web_ICQ_Aug_17_Receive_Message | Evergreen_Web_ICQ_Aug_17_Send_Message | Evergreen_Web_ICQ_Dec_17 | Evergreen_Web_ICQ_Dec_17_Receive_Message | Evergreen_Web_ICQ_Dec_17_Send_Message | Evergreen_Web_ICQ_Feb_18 | Evergreen_Web_ICQ_Feb_18_Receive_Message | Evergreen_Web_ICQ_Feb_18_Send_Message | Evergreen_Web_ICQ_Jan_18 | Evergreen_Web_ICQ_Jan_18_Receive_Message | Evergreen_Web_ICQ_Jan_18_Send_Message | Evergreen_Web_ICQ_Jul_17 | Evergreen_Web_ICQ_Jul_17_Receive_Message | Evergreen_Web_ICQ_Jul_17_Send_Message | Evergreen_Web_ICQ_Jun_17 | Evergreen_Web_ICQ_Jun_17_Receive_Message | Evergreen_Web_ICQ_Jun_17_Send_Message | Evergreen_Web_ICQ_May_17 | Evergreen_Web_ICQ_May_17_Receive_Message | Evergreen_Web_ICQ_May_17_Send_Message | Evergreen_Web_ICQ_Nov_17 | Evergreen_Web_ICQ_Nov_17_Receive_Message | Evergreen_Web_ICQ_Nov_17_Send_Message | Evergreen_Web_ICQ_Oct_17 | Evergreen_Web_ICQ_Oct_17_Receive_Message | Evergreen_Web_ICQ_Oct_17_Send_Message | Evergreen_Web_ICQ_Sep_17 | Evergreen_Web_ICQ_Sep_17_Receive_Message | Evergreen_Web_ICQ_Sep_17_Send_Message | Evergreen_WindowsLiveMail_Aug_17 | Evergreen_WindowsLiveMail_Aug_17_Send_Mess | Evergreen_WindowsLiveMail_Aug_17_View_Mess | Evergreen_WindowsLiveMail_Dec_17 | Evergreen_WindowsLiveMail_Dec_17_Send_Mess | Evergreen_WindowsLiveMail_Dec_17_View_Mess | Evergreen_WindowsLiveMail_Feb_18 | Evergreen_WindowsLiveMail_Feb_18_Send_Mess | Evergreen_WindowsLiveMail_Feb_18_View_Mess | Evergreen_WindowsLiveMail_Jan_18 | Evergreen_WindowsLiveMail_Jan_18_Send_Mess | Evergreen_WindowsLiveMail_Jan_18_View_Mess | Evergreen_WindowsLiveMail_Jul_17 | Evergreen_WindowsLiveMail_Jul_17_Send_Mess | Evergreen_WindowsLiveMail_Jul_17_View_Mess | Evergreen_WindowsLiveMail_Jun_17 | Evergreen_WindowsLiveMail_Jun_17_Send_Mess | Evergreen_WindowsLiveMail_Jun_17_View_Mess | Evergreen_WindowsLiveMail_May_17 | Evergreen_WindowsLiveMail_May_17_Send_Mess | Evergreen_WindowsLiveMail_May_17_View_Mess | Evergreen_WindowsLiveMail_Nov_17 | Evergreen_WindowsLiveMail_Nov_17_Send_Mess | Evergreen_WindowsLiveMail_Nov_17_View_Mess | Evergreen_WindowsLiveMail_Oct_17 | Evergreen_WindowsLiveMail_Oct_17_Send_Mess | Evergreen_WindowsLiveMail_Oct_17_View_Mess | Evergreen_WindowsLiveMail_Sep_17 | Evergreen_WindowsLiveMail_Sep_17_Send_Mess | Evergreen_WindowsLiveMail_Sep_17_View_Mess | Evergreen_Yahoo_Chat_Aug_17 | Evergreen_Yahoo_Chat_Aug_17_Receive_Messag | Evergreen_Yahoo_Chat_Aug_17_Send_Message | Evergreen_Yahoo_Chat_Dec_17 | Evergreen_Yahoo_Chat_Dec_17_Receive_Messag | Evergreen_Yahoo_Chat_Dec_17_Send_Message | Evergreen_Yahoo_Chat_Feb_18 | Evergreen_Yahoo_Chat_Feb_18_Receive_Messag | Evergreen_Yahoo_Chat_Feb_18_Send_Message | Evergreen_Yahoo_Chat_Jan_18 | Evergreen_Yahoo_Chat_Jan_18_Receive_Messag | Evergreen_Yahoo_Chat_Jan_18_Send_Message | Evergreen_Yahoo_Chat_Jul_17 | Evergreen_Yahoo_Chat_Jul_17_Receive_Messag | Evergreen_Yahoo_Chat_Jul_17_Send_Message | Evergreen_Yahoo_Chat_Jun_17 | Evergreen_Yahoo_Chat_Jun_17_Receive_Messag | Evergreen_Yahoo_Chat_Jun_17_Send_Message | Evergreen_Yahoo_Chat_May_17 | Evergreen_Yahoo_Chat_May_17_Receive_Messag | Evergreen_Yahoo_Chat_May_17_Send_Message | Evergreen_Yahoo_Chat_Nov_17 | Evergreen_Yahoo_Chat_Nov_17_Receive_Messag | Evergreen_Yahoo_Chat_Nov_17_Send_Message | Evergreen_Yahoo_Chat_Sep_17 | Evergreen_Yahoo_Chat_Sep_17_Receive_Messag | Evergreen_Yahoo_Chat_Sep_17_Send_Message | Evergreen_Yahoo_Mail_Aug_17 | Evergreen_Yahoo_Mail_Aug_17_Send_Message | Evergreen_Yahoo_Mail_Aug_17_Send_Message_w | Evergreen_Yahoo_Mail_Aug_17_View_Message | Evergreen_Yahoo_Mail_Aug_17_View_Message_w | Evergreen_Yahoo_Mail_Dec_17 | Evergreen_Yahoo_Mail_Dec_17_Send_Message | Evergreen_Yahoo_Mail_Dec_17_Send_Message_w | Evergreen_Yahoo_Mail_Dec_17_View_Message | Evergreen_Yahoo_Mail_Dec_17_View_Message_w | Evergreen_Yahoo_Mail_Feb_18 | Evergreen_Yahoo_Mail_Feb_18_Send_Message | Evergreen_Yahoo_Mail_Feb_18_Send_Message_w | Evergreen_Yahoo_Mail_Feb_18_View_Message | Evergreen_Yahoo_Mail_Feb_18_View_Message_w | Evergreen_Yahoo_Mail_Jan_18 | Evergreen_Yahoo_Mail_Jan_18_Send_Message | Evergreen_Yahoo_Mail_Jan_18_Send_Message_w | Evergreen_Yahoo_Mail_Jan_18_View_Message | Evergreen_Yahoo_Mail_Jan_18_View_Message_w | Evergreen_Yahoo_Mail_Jul_14 | Evergreen_Yahoo_Mail_Jul_17 | Evergreen_Yahoo_Mail_Jul_17_Send_Message | Evergreen_Yahoo_Mail_Jul_17_Send_Message_w | Evergreen_Yahoo_Mail_Jul_17_View_Message | Evergreen_Yahoo_Mail_Jul_17_View_Message_w | Evergreen_Yahoo_Mail_Jun_17 | Evergreen_Yahoo_Mail_Jun_17_Send_Message | Evergreen_Yahoo_Mail_Jun_17_Send_Message_w | Evergreen_Yahoo_Mail_Jun_17_View_Message | Evergreen_Yahoo_Mail_Jun_17_View_Message_w | Evergreen_Yahoo_Mail_May_17 | Evergreen_Yahoo_Mail_May_17_Send_Message | Evergreen_Yahoo_Mail_May_17_Send_Message_w | Evergreen_Yahoo_Mail_May_17_View_Message | Evergreen_Yahoo_Mail_May_17_View_Message_w | Evergreen_Yahoo_Mail_Nov_17 | Evergreen_Yahoo_Mail_Nov_17_Send_Message | Evergreen_Yahoo_Mail_Nov_17_Send_Message_w | Evergreen_Yahoo_Mail_Nov_17_View_Message | Evergreen_Yahoo_Mail_Nov_17_View_Message_w | Evergreen_Yahoo_Mail_Oct_17 | Evergreen_Yahoo_Mail_Oct_17_Send_Message | Evergreen_Yahoo_Mail_Oct_17_Send_Message_w | Evergreen_Yahoo_Mail_Oct_17_View_Message | Evergreen_Yahoo_Mail_Oct_17_View_Message_w | Evergreen_Yahoo_Mail_Sep_17 | Evergreen_Yahoo_Mail_Sep_17_Send_Message | Evergreen_Yahoo_Mail_Sep_17_Send_Message_w | Evergreen_Yahoo_Mail_Sep_17_View_Message | Evergreen_Yahoo_Mail_Sep_17_View_Message_w | Evergreen_YahooGroups_Aug_17 | Evergreen_YahooGroups_Dec_17 | Evergreen_YahooGroups_Feb_18 | Evergreen_YahooGroups_Jan_14 | Evergreen_YahooGroups_Jan_18 | Evergreen_YahooGroups_Jul_17 | Evergreen_YahooGroups_Jun_17 | Evergreen_YahooGroups_May_17 | Evergreen_YahooGroups_Nov_17 | Evergreen_YahooGroups_Oct_17 | Evergreen_YahooGroups_Sep_17 | Evernote_Desktop_Aug_17 | Evernote_Desktop_Aug_17_Add_Note | Evernote_Desktop_Aug_17_Add_Note_with_Atta | Everquest_December_2015_Create_account | Everquest_December_2015_Download_and_insta | Everquest_December_2015_Open_game_and_logi | Exchange_Outlook_Receive_Mail | Exchange_Outlook_Send_Mail | Exchange_Outlook_Session_Start | Facebook | Facebook_Android | Facebook_Android_Chat_Session | Facebook_API | Facebook_Chrome | Facebook_GET_Home_Page | Facebook_iOS | Facebook_iOS_Chat_Session | Facebook_Japanese | Farmville | Financial_IMAPv4_Advanced | Financial_POP3_Advanced | Financial_SMB_Client_File_Download | Financial_SMBv2_File_Download | Financial_SMTP_Email | Finger | FIX_50SP2_Order_Session | FIX_50SP2_Session | FIX_Session | FIXT_Session | flame | Flash_Enterprise | Flickr | Flickr_Login | Fring | FTP | FTP_Active_mode | FTP_Cisco_EMIX | FTP_Enterprise | FW_HTTP_Audio | FW_HTTP_Text | FW_Images | FW_IPS_HTTP_1_7K | FW_IPS_HTTP_10K | FW_IPS_HTTP_10K_w_Delay | FW_IPS_HTTP_10Requests_Loop | FW_IPS_HTTP_21K | FW_IPS_HTTP_21K_w_Delay | FW_IPS_HTTP_4_5K | FW_IPS_HTTP_44K | FW_IPS_HTTP_Open | FW_Max_HTTP_TPS | FW_Small_Images | Gadu_Gadu_Unencrypted_IM | Giphy_Jan_17 | GMX_Mail_Aug_16 | GMX_Mail_Aug_16_Send_Message | GMX_Mail_Aug_16_Send_Message_with_Attachme | GMX_Mail_Aug_16_View_Message | GMX_Mail_Aug_16_View_Message_with_Attachme | GMX_Webmail | Gnutella | Gnutella_v06 | GoDaddy_Manage_Account_Details_and_Product | GoDaddy_Shop_for_Domain_Names_Nov17 | GoDaddy_Use_Website_Builder_Tool_Nov17 | Google_Analytics | Google_App_Engine | Google_App_Engine_Create_and_Deploy_App | Google_App_Engine_Test_App | Google_Cache | Google_Cache_Directly_Access_the_Cached_Ve | Google_Cache_Search_and_Access_Cached_Vers | Google_Calendar_Aug_14 | Google_Cloud_Storage | Google_Cloud_Storage_Registration | Google_Cloud_Storage_Tutorial | Google_Docs | Google_Docs_Create_Document_and_Download_a | Google_Docs_Edit_Document_and_Rename_it | Google_Drive_Aug_17 | Google_Drive_June_2014 | Google_Earth_Search | Google_Hangouts | Google_Hangouts_Phone_Call | Google_Hangouts_Text_Chat | Google_Hangouts_Video_Call | Google_Location_Services | Google_Mail | Google_Mail_Chinese | Google_Mail_French | Google_Mail_German | Google_Mail_GET_Index | Google_Mail_Italian | Google_Mail_Japanese | Google_Mail_Spanish | Google_Map_Search | Google_Photos_July_2017 | Google_Play_LTE_Mix | Google_Play_Sandvine_Bandwidth | Google_Play_Search_View_and_Download | Google_Plus_Jul_14 | Google_Safe_Browsing | Google_Search | Google_Search_GET_Home_Page | Google_Search_LTE_Mix | Google_Sheets_Oct_17 | Google_Slides_Sept_17 | Google_Voice_Actions | Google_Voice_Actions_Google_Search | Google_Voice_Actions_Phone_Options | GoogleEarthPro_Navigate_the_Globe_Feb_18 | Gopher | GoToMeeting_Mobile | GoToMeeting_Mobile_Join_Meeting | GoToMeeting_Mobile_Start_Meeting | GoToMeeting_Web_App | GSM_MAP_Authenticate_and_Update_GPRS_Locat | GSM_MAP_Send_Routing_Info_For_SM | GSM_MAP_Update_Location_Error | GTalk_Chat | GTalk_File_Transfer | GTalk_Login | GTalk_Voicecall | GTP_Simulated | GTPoIPSec_HTTP_LTE | GTPoIPSec_HTTP_Simple | GTPv2_C_Downlink_Data_Notification | GTPv2_C_Network_Initiated_Dedicated_Bearer | GTPv2_C_Release_Access_Bearers | GTPv2_C_UE_Initiated_Dedicated_Bearer_Supe | GTPv2_Simulated | GTPv2C_S1_S11_Session_Setup_and_Teardown_F | GTPv2C_S5_S8_Session_Setup_and_Teardown_Fl | Hadoop_JobTracker | HBO_Now_Bandwidth | HBO_Now_Desktop | HDFS_NameNode_RPC_List_Directory | Hotmail | Hotmail_Chinese | Hotmail_French | Hotmail_German | Hotmail_Italian | Hotmail_Japanese | Hotmail_Persian | Hotmail_Spanish | HTTP_302_Redirect | HTTP_302_Redirect_Juniper | HTTP_Audio | HTTP_Authenticated | HTTP_Compressed | HTTP_Enterprise | HTTP_Financial_ApacheFF | HTTP_Financial_ApacheIE | HTTP_Financial_IIS_FF | HTTP_Financial_IIS_IE | HTTP_Flash_Video | HTTP_Flash_Video_512k_Data | HTTP_Flash_Video_Service_Provider | HTTP_GET_English_Chrome23_Linux_to_Jetty_S | HTTP_GET_English_Chrome23_Linux_to_Lighttp | HTTP_GET_English_Chrome23_Linux_to_Microso | HTTP_GET_English_Chrome23_Linux_to_nginx_S | HTTP_GET_English_Chrome23_OS_X_to_Apache_S | HTTP_GET_English_Chrome23_OS_X_to_Jetty_Se | HTTP_GET_English_Chrome23_OS_X_to_Lighttpd | HTTP_GET_English_Chrome23_OS_X_to_Microsof | HTTP_GET_English_Chrome23_OS_X_to_nginx_Se | HTTP_GET_English_Chrome23_Windows_7_to_Apa | HTTP_GET_English_Chrome23_Windows_7_to_Jet | HTTP_GET_English_Chrome23_Windows_7_to_Lig | HTTP_GET_English_Chrome23_Windows_7_to_Mic | HTTP_GET_English_Chrome23_Windows_7_to_ngi | HTTP_GET_English_Chrome24_Linux_to_Jetty_S | HTTP_GET_English_Chrome24_Linux_to_Lighttp | HTTP_GET_English_Chrome24_Linux_to_Microso | HTTP_GET_English_Chrome24_Linux_to_nginx_S | HTTP_GET_English_Chrome24_OS_X_to_Apache_S | HTTP_GET_English_Chrome24_OS_X_to_Jetty_Se | HTTP_GET_English_Chrome24_OS_X_to_Lighttpd | HTTP_GET_English_Chrome24_OS_X_to_Microsof | HTTP_GET_English_Chrome24_OS_X_to_nginx_Se | HTTP_GET_English_Chrome24_Windows_7_to_Apa | HTTP_GET_English_Chrome24_Windows_7_to_Jet | HTTP_GET_English_Chrome24_Windows_7_to_Lig | HTTP_GET_English_Chrome24_Windows_7_to_Mic | HTTP_GET_English_Chrome24_Windows_7_to_ngi | HTTP_GET_English_Chrome25_Linux_to_Jetty_S | HTTP_GET_English_Chrome25_Linux_to_Lighttp | HTTP_GET_English_Chrome25_Linux_to_Microso | HTTP_GET_English_Chrome25_Linux_to_nginx_S | HTTP_GET_English_Chrome25_OS_X_to_Apache_S | HTTP_GET_English_Chrome25_OS_X_to_Jetty_Se | HTTP_GET_English_Chrome25_OS_X_to_Lighttpd | HTTP_GET_English_Chrome25_OS_X_to_Microsof | HTTP_GET_English_Chrome25_OS_X_to_nginx_Se | HTTP_GET_English_Chrome25_Windows_7_to_Apa | HTTP_GET_English_Chrome25_Windows_7_to_Jet | HTTP_GET_English_Chrome25_Windows_7_to_Lig | HTTP_GET_English_Chrome25_Windows_7_to_Mic | HTTP_GET_English_Chrome25_Windows_7_to_ngi | HTTP_GET_English_Firefox16_Linux_to_Apache | HTTP_GET_English_Firefox16_Linux_to_Lightt | HTTP_GET_English_Firefox16_Linux_to_Micros | HTTP_GET_English_Firefox16_OS_X_to_Jetty_S | HTTP_GET_English_Firefox16_OS_X_to_Lighttp | HTTP_GET_English_Firefox16_OS_X_to_Microso | HTTP_GET_English_Firefox16_OS_X_to_nginx_S | HTTP_GET_English_Firefox16_Windows_7_to_Ap | HTTP_GET_English_Firefox16_Windows_7_to_Je | HTTP_GET_English_Firefox16_Windows_7_to_Li | HTTP_GET_English_Firefox16_Windows_7_to_Mi | HTTP_GET_English_Firefox16_Windows_7_to_ng | HTTP_GET_English_Firefox17_Linux_to_Apache | HTTP_GET_English_Firefox17_Linux_to_Lightt | HTTP_GET_English_Firefox17_Linux_to_Micros | HTTP_GET_English_Firefox17_OS_X_to_Jetty_S | HTTP_GET_English_Firefox17_OS_X_to_Lighttp | HTTP_GET_English_Firefox17_OS_X_to_Microso | HTTP_GET_English_Firefox17_OS_X_to_nginx_S | HTTP_GET_English_Firefox17_Windows_7_to_Ap | HTTP_GET_English_Firefox17_Windows_7_to_Je | HTTP_GET_English_Firefox17_Windows_7_to_Li | HTTP_GET_English_Firefox17_Windows_7_to_Mi | HTTP_GET_English_Firefox17_Windows_7_to_ng | HTTP_GET_English_Firefox18_Linux_to_Apache | HTTP_GET_English_Firefox18_Linux_to_Lightt | HTTP_GET_English_Firefox18_Linux_to_Micros | HTTP_GET_English_Firefox18_OS_X_to_Jetty_S | HTTP_GET_English_Firefox18_OS_X_to_Lighttp | HTTP_GET_English_Firefox18_OS_X_to_Microso | HTTP_GET_English_Firefox18_OS_X_to_nginx_S | HTTP_GET_English_Firefox18_Windows_7_to_Ap | HTTP_GET_English_Firefox18_Windows_7_to_Je | HTTP_GET_English_Firefox18_Windows_7_to_Li | HTTP_GET_English_Firefox18_Windows_7_to_Mi | HTTP_GET_English_Firefox18_Windows_7_to_ng | HTTP_GET_English_Firefox19_Linux_to_Apache | HTTP_GET_English_Firefox19_Linux_to_Lightt | HTTP_GET_English_Firefox19_Linux_to_Micros | HTTP_GET_English_Firefox19_OS_X_to_Jetty_S | HTTP_GET_English_Firefox19_OS_X_to_Lighttp | HTTP_GET_English_Firefox19_OS_X_to_Microso | HTTP_GET_English_Firefox19_OS_X_to_nginx_S | HTTP_GET_English_Firefox19_Windows_7_to_Ap | HTTP_GET_English_Firefox19_Windows_7_to_Je | HTTP_GET_English_Firefox19_Windows_7_to_Li | HTTP_GET_English_Firefox19_Windows_7_to_Mi | HTTP_GET_English_Firefox19_Windows_7_to_ng | HTTP_GET_English_IE8_Windows_7_to_Apache_S | HTTP_GET_English_IE8_Windows_7_to_Jetty_Se | HTTP_GET_English_IE8_Windows_7_to_Lighttpd | HTTP_GET_English_IE8_Windows_7_to_Microsof | HTTP_GET_English_IE8_Windows_7_to_nginx_Se | HTTP_GET_English_IE9_Windows_7_to_Apache_S | HTTP_GET_English_IE9_Windows_7_to_Jetty_Se | HTTP_GET_English_IE9_Windows_7_to_Lighttpd | HTTP_GET_English_IE9_Windows_7_to_Microsof | HTTP_GET_English_IE9_Windows_7_to_nginx_Se | HTTP_GET_English_Opera11_Linux_to_Apache_S | HTTP_GET_English_Opera11_Linux_to_Jetty_Se | HTTP_GET_English_Opera11_Linux_to_Lighttpd | HTTP_GET_English_Opera11_Linux_to_Microsof | HTTP_GET_English_Opera11_Linux_to_nginx_Se | HTTP_GET_English_Opera11_OS_X_to_Apache_Se | HTTP_GET_English_Opera11_OS_X_to_Jetty_Ser | HTTP_GET_English_Opera11_OS_X_to_Microsoft | HTTP_GET_English_Opera11_OS_X_to_nginx_Ser | HTTP_GET_English_Opera11_Windows_7_to_Apac | HTTP_GET_English_Opera11_Windows_7_to_Jett | HTTP_GET_English_Opera11_Windows_7_to_Ligh | HTTP_GET_English_Opera11_Windows_7_to_Micr | HTTP_GET_English_Opera11_Windows_7_to_ngin | HTTP_GET_English_Opera12_Linux_to_Apache_S | HTTP_GET_English_Opera12_Linux_to_Jetty_Se | HTTP_GET_English_Opera12_Linux_to_Lighttpd | HTTP_GET_English_Opera12_Linux_to_Microsof | HTTP_GET_English_Opera12_Linux_to_nginx_Se | HTTP_GET_English_Opera12_OS_X_to_Apache_Se | HTTP_GET_English_Opera12_OS_X_to_Jetty_Ser | HTTP_GET_English_Opera12_OS_X_to_Microsoft | HTTP_GET_English_Opera12_OS_X_to_nginx_Ser | HTTP_GET_English_Opera12_Windows_7_to_Apac | HTTP_GET_English_Opera12_Windows_7_to_Jett | HTTP_GET_English_Opera12_Windows_7_to_Ligh | HTTP_GET_English_Opera12_Windows_7_to_Micr | HTTP_GET_English_Opera12_Windows_7_to_ngin | HTTP_GET_English_Safari5_OS_X_to_Apache_Se | HTTP_GET_English_Safari5_OS_X_to_Jetty_Ser | HTTP_GET_English_Safari5_OS_X_to_Microsoft | HTTP_GET_English_Safari5_OS_X_to_nginx_Ser | HTTP_GET_English_Safari5_Windows_7_to_Apac | HTTP_GET_English_Safari5_Windows_7_to_Jett | HTTP_GET_English_Safari5_Windows_7_to_Ligh | HTTP_GET_English_Safari5_Windows_7_to_Micr | HTTP_GET_English_Safari5_Windows_7_to_ngin | HTTP_GET_English_Safari6_OS_X_to_Apache_Se | HTTP_GET_English_Safari6_OS_X_to_Jetty_Ser | HTTP_GET_English_Safari6_OS_X_to_Microsoft | HTTP_GET_English_Safari6_OS_X_to_nginx_Ser | HTTP_GET_HTML5_Text_File | HTTP_GET_HTML5_Text_File_Deprecated | HTTP_GET_Text_File | HTTP_Live_Streaming | HTTP_Live_Streaming_HLS | HTTP_LTE_Mix | HTTP_Mobile_Europe | HTTP_Mobile_Europe_with_iPhone | HTTP_Mobile_North_America | HTTP_Mobile_North_America_with_iPhone | HTTP_NTLM_Authenticated | HTTP_Pages | HTTP_Persistent_Session | HTTP_Pipelining | HTTP_POST_PDF_File | HTTP_POST_Web_Login | HTTP_Progressive_Download | HTTP_Raw_Messages | HTTP_Redirect | HTTP_Request | HTTP_RMIX_130K | HTTP_RMIX_25K | HTTP_RMIX_30K | HTTP_Server_Requests | HTTP_Service_Provider | HTTP_Text | HTTP_Text_over_SCTP | HTTP_Text_over_SCTP_over_UDP | HTTP_VE_MAX_Bandwidth | HTTP_VE_MAX_Session | HTTP_Video | HTTPS_100k | HTTPS_10k | HTTPS_Dropbox_Simulated | HTTPS_LTE_Mix | HTTPS_Simulated_512k_Data | HTTPS_Simulated_Enterprise | HTTPS_Simulated_Facebook_Messenger | HTTPS_Simulated_LINE_Basic_Audio_Call | HTTPS_Simulated_LINE_Chat | HTTPS_Simulated_Service_Provider | Hulu_Bandwidth | Hulu_Desktop | iCloudWeb_Push_Notification_Service | ICQ | ICQ_75 | ICQ_76 | ICQ_77 | ICQ_7M | ICQ_80 | ICQ_80_Chinese | ICQ_80_French | ICQ_80_German | ICQ_80_Italian | ICQ_80_Japanese | ICQ_80_Persian | ICQ_80_Spanish | Ident | IEC104 | IMAP | IMAP_Cisco_EMIX | IMAP_LTE_Mix | IMAP_RMIX_16K | IMAP_RMIX_4K | IMAP_RMIX_90K | IMAPv4_Advanced | IMAPv4_Advanced_Chinese | IMAPv4_Advanced_French | IMAPv4_Advanced_German | IMAPv4_Advanced_Italian | IMAPv4_Advanced_Japanese | IMAPv4_Advanced_Persian | IMAPv4_Advanced_Spanish | iMessage_Send_File_Message | iMessage_Send_Text_Message | Inetd_Diagnostic_Services | Informix_Database | Instacart | Instacart_Login_Logout | Instagram_Bandwidth | Instagram_Nov_2014 | IPFIX | IPMI | IPP_Print_Request | IPS_HTTP_Audio | IPS_HTTP_Text | IPS_HTTP_Video | IPS_Images | IPS_Small_Images | IRC_Channel_Join_Chat | IRC_Login | IRC_Login_Auth | IRC_Login_Auth_Failure | IRC_Private_Chat | iSCSI_Read_and_Write | ITCH_NASDAQ_Trading | iTunes_Desktop_App_Store | iTunes_Desktop_App_Store_Feb18 | iTunes_Desktop_Music | iTunes_Mobile_App_Store | iTunes_Mobile_Music | Jabber_Chat | JIRA_Create_Issue | JIRA_List_Issues | Jira_Service_Desk_Help_Center_Issue_Oct17 | Jira_Service_Desk_Issue_Management_Oct17 | Jira_Service_Desk_Project_Management_Oct17 | KakaoTalk_Chat | Kodi_Sep_17_Install_Add_ons | Kodi_Sep_17_Play_Audio | Kodi_Sep_17_Play_Video | Laposte_Webmail_1307 | LDAP | LDAP_SASL_Auth | LinkedIn | Linkedin_1301 | LinkedIn_Dec17_Manage_Connections | LinkedIn_Dec17_Send_Message | Locky_Malware_Infection_Traffic | LPD | LTE_HTTP_Simple_ENB_MME_vs_SGW_PGW_IPV4_IP | Lync_2013_SIPe_Initiate_IM_Chat_Uncompress | Lync_Audio_Video | Mailru | Mailru_2013 | Manufacturing_Message_Specification_MMS | Manufacturing_Message_Specification_MMS_Wr | MAX_Bandwidth_HTTP | MAX_HTTP_Packets_Per_Second | MAX_Raw_Packets_Per_Second | Memcached_Set_and_Get_Key_Example | Memcached_Set_Get_Delete_operations | Meraki_Configure_Network_Nov17 | Meraki_Manage_MDM_Network_Nov17 | Meraki_Monitor_Devices_Nov17 | Message_Session_Relay_Protocol_MSRP | MGCP_Residential_Gateway_Connection_Deleti | Microsoft_Azure | Microsoft_Azure_Create_App | Microsoft_Azure_Sign_Up | Microsoft_OneDrive_Mar_15 | Microsoft_Smooth_Streaming_Play_Clips_with | Microsoft_Smooth_Streaming_Play_Fragments | Microsoft_Update | Minecraft_189_Login_Sequence_to_Multiplaye | Minecraft_189_Server_List_Ping | Mirai_Botnet_DNS_Flood_Attack | Mirai_Botnet_HTTP_Flood_Attack | Mirai_Botnet_UDP_Flood_Attack | Mirai_Botnet_UDP_Plain_Flood_Attack | Mirai_Botnet_Valve_Source_Engine_Query_Flo | MMS_MM1_WAP_HTTP | Modbus | Modbus_Examples | MongoDB_Demo_Super_Flow | MongoDB_Insert_Document | MongoDB_Shell_Connect_Disconnect | MongoDB_Update_Document | MQTT_Connect_and_PING_between_Publish | MQTT_Connect_and_Publish | MQTT_Connect_and_Subscribe_Publish | MS_SQL_Create | MS_SQL_Delete | MS_SQL_Drop | MS_SQL_Insert | MS_SQL_Server | MS_SQL_Server_Advanced | MS_SQL_Update | MS_SQL2012_Advanced | MS_SQL2012_Create_Table | MS_SQL2012_Delete | MS_SQL2012_Drop | MS_SQL2012_Insert | MS_SQL2012_Select | MS_SQL2012_TLS_Advanced | MS_SQL2012_TLS_Create_Table | MS_SQL2012_TLS_Delete | MS_SQL2012_TLS_Drop | MS_SQL2012_TLS_Insert | MS_SQL2012_TLS_Select | MS_SQL2012_TLS_Update | MS_SQL2012_Update | Mxit_Desktop_File_Transfer | Mxit_Desktop_Multiple_Status_Messages | Mxit_Messenger_For_Windows_PC | MySpace_HTTP_Flash_Video | MySQL_Database_Advanced | MySQL_Databse | NetBIOS_Session | Netflix_July_2017 | Netflix_Login_Logout_July_2017 | Netflix_Play_Movie_July_2017 | Netflix_Service_Provider | Netflow_V5 | Netflow_V7 | Netflow_V9 | Netflow_V9_Custom | Netflow_V9_IPv6 | NFS | Niconico_Nov_2013 | nntp | NTP_Synchronization | NTPv2 | NTPv2_Amplification | OCSP_over_HTTP_Multiple_OCSP_Requests | Office_365_Excel_Jul_15 | Office_365_Excel_Jul_15_Create_Workbook | Office_365_Excel_Jul_15_Open_Workbook | Office_365_Excel_Jul_17_Create_Workbook | Office_365_Excel_Jul_17_Open_Workbook | Office_365_OneNote_Jul_15 | Office_365_OneNote_Sep_17 | Office_365_OneNote_Sep_17_Create_and_Edit | Office_365_Outlook_Calendar_Jul_15 | Office_365_Outlook_Calendar_Jul_15_Create | Office_365_Outlook_Calendar_Jul_15_Search | Office_365_Outlook_Mail_Jun_15 | Office_365_Outlook_Mail_Jun_15_Send_Messag | Office_365_Outlook_Mail_Jun_15_View_Messag | Office_365_Outlook_People_Jul_15 | Office_365_Outlook_People_Jul_15_Create_an | Office_365_Outlook_People_Jul_15_Search_fo | Office_365_Outlook_Tasks_Jul_15 | Office_365_Outlook_Tasks_Jul_15_Create_and | Office_365_Outlook_Tasks_Jul_15_Mark_task | Office_365_Outlook_Tasks_Sep_17 | Office_365_Outlook_Tasks_Sep_17_Create_and | Office_365_Outlook_Tasks_Sep_17_Mark_task | Office_365_PowerPoint_Jul_15 | Office_365_PowerPoint_Jul_15_Create_Presen | Office_365_PowerPoint_Jul_15_Open_Presenta | Office_365_Sway_Jul_15 | Office_365_Sway_Jul_15_Configure | Office_365_Sway_Jul_15_Create_Presentation | Office_365_Sway_Jul_15_Edit_Presentation | Office_365_Sway_Jul_15_Preview_Presentatio | Office_365_Word_Jul_15 | Office_365_Word_Jul_17 | Office_365_Word_Jul_17_Create_File | Okazii_130125 | OPC_UA_Binary_Open_Secure_Channel | OPC_UA_Binary_Secure_Get_Endpoints_Respons | OPC_UA_Binary_with_Error_Message | OpenFlow_Demo_Superflow | OpenFlow_Switch_Startup_v10 | OpenStack_Swift_Demo_Super_Flow | Oracle_Database | Oracle_Database_Advanced | Oracle_Database_Create_Table | Oracle_Database_Delete | Oracle_Database_Drop_Table | Oracle_Database_Insert | Oracle_Database_Update | Oracle_Enterprise | OUCH41 | Outlook_Web_Access | Outlook_Web_Access_Chinese | Outlook_Web_Access_French | Outlook_Web_Access_German | Outlook_Web_Access_Italian | Outlook_Web_Access_Japanese | Outlook_Web_Access_Persian | Outlook_Web_Access_Spanish | OWAMP_Session | Pandora | Pandora_iPhone | Pandora_LTE_Mix | Pandora_Sandvine_Bandwidth | Paypal | PeerGuardian_Update | Perforce_Add_New_File | Perforce_Create_Changelist | Perforce_Submit_Changelist | Perforce_Sync_File | Perforce_Ticket_Based_Authentication | Pinterest_Jun17 | Pinterest_Photo_Upload_Jun17 | Pinterest_Search_and_Pin_Jun17 | POP3 | POP3_512 | POP3_Advanced | POP3_Chinese | POP3_French | POP3_German | POP3_Italian | POP3_Japanese | POP3_LTE_Mix | POP3_Persian | POP3_RMIX_16K | POP3_RMIX_4K | POP3_RMIX_90K | POP3_Spanish | PortMapper | POS_FIle_XFER_SMB2 | PostgreSQL | PostgreSQL_Create_Table | PostgreSQL_Delete | PostgreSQL_Drop_Table | PostgreSQL_Insert | PostgreSQL_Update | PPLive_Enterprise | PPTP_Establish_Session | QQ_IM_Chat | QUIC_Demo_Superflow | QUIC_Simple_HTTP_Stream | Quote_of_the_DayTCP | Quote_of_the_DayUDP | RADIUS | RADIUS_Access | RADIUS_Access_IPv6 | RADIUS_IPv4_and_IPv6 | RADIUS_IPv6 | Raw | Raw_25m_Data | Raw_Enterprise | Raw_Service_Provider | Reddit | Reddit_Account_Management_Feb_18 | Reddit_Browse_Content_Feb_18 | Remote_Desktop_Protocol | Resiliency_Sessions_per_Second | Rexec | RFB | RIP_v1 | RIPv2 | Rlogin | Rsh | RSS_Ixia_Feed | RSS_Multi_Feed | Rsync | RTMP | RTMP_Audio_Data_127K | RTMP_Audio_Data_1K | RTMP_Bandwidth | RTMP_Chunk | RTMP_Handshake | Rusers | S102 | S1AP_Authentication_Failure | S1AP_Authentication_Reject | S1AP_Handover_Preparation_Failure | S1AP_S1_Setup | S1AP_UE_Detach | S1AP_UE_Initial_Attach | S7comm_Advanced_Operations | S7comm_Block_List_Operations | S7comm_Download_Block | S7comm_Read_PLC_Status | S7comm_Read_Set_PLC_time | S7comm_Var_Service | Saavn_Music_February_2016 | Saavn_Music_February_2016_Log_In_and_Brows | Saavn_Music_February_2016_Play_Radio | Saavn_Music_February_2016_Play_Songs | Salesforce | Salesforce_Login_Logout | Sandvine_BlackBerry_Bandwidth | SAP | Seamless | Seamless_Login_Logout | ShareFile_Apr_17 | ShareFile_Apr_17_Upload_Download_File | SharePoint_Sep_2014 | Sina_Weibo_Feb_2014 | Sina_Weibo_Post_Feb_2014 | SIP_RTP_Voice_call_w_ENUM | SIP_Spoofed_Invite | Skype_1_minute_call | Skype_14_Call | Skype_14_Login | Skype_14_User_Search | Skype_V5_Sandvine_Bandwidth | Skype_V6_Instant_Messaging_Simple_Chat | SMB_Client_File_Download | SMB_Enterprise | SMB_Failed_Authentication | SMB_Null_Session | SMBv3_Encrypted_File_Download | SMBv3_Establish_Alternate_Channel | SMBv3_Secure_Negotiation | SMPP_Receive | SMPP_Transmit | SMTP_Authenticated_with_Verify | SMTP_Authentication_Failure | SMTP_Cisco_EMIX | SMTP_Email | SMTP_Email_Chinese | SMTP_Email_French | SMTP_Email_German | SMTP_Email_Italian | SMTP_Email_Japanese | SMTP_Email_Persian | SMTP_Email_Proxy_Support | SMTP_Email_Spanish | SMTP_Enterprise | SMTP_RMIX_16K | SMTP_RMIX_4K | SMTP_RMIX_90K | SMTPS | Snapchat_Bandwidth | Snapchat_May_2015 | Snapchat_May_2015_Send_Image | Snapchat_May_2015_Send_Movie | Snapdeal | Snapdeal_Add_items_to_cart | Snapdeal_Browse_website | SNMP | SNMPv1 | SNMPv2c | SNMPv3 | SOCKS_5_Connect_No_User_Authentication | SOCKS_5_Connect_with_User_Authentication | SopCast_P2P_Streaming | Soulseek_Search_and_Queue | SPDY_v2_Simple_GET_Request | SPDY_v2_Simple_POST_Request | SPDY_v2_Stream_Reset_CANCEL | SPDY_v2_Stream_Reset_FLOW_CONTROL_ERROR | SPDY_v2_Stream_Reset_INTERNAL_ERROR | SPDY_v2_Stream_Reset_INVALID_STREAM | SPDY_v2_Stream_Reset_PROTOCOL_ERROR | SPDY_v2_Stream_Reset_REFUSED_STREAM | SPDY_v2_Stream_Reset_UNSUPPORTED_VERSION | SQLMon | SSDP_M_SEARCH_Req_Resp_Unicast | SSH | SSH_Enterprise | Standard_Media_March_2016 | Standard_Media_March_2016_Print_Article | Standard_Media_March_2016_Recommend_and_Co | Standard_Media_March_2016_Share_Article | Steam_Login | STOMP_12 | STOMP_12_10_Backwards_Compatibility | STOMP_12_Error | SunRPC_BIND | Sybase_Database | Syslog | TACACS_Accounting | TACACS_Authentication | TACACS_Authorization | Telnet | Telnet_Failed_Login | The_Pirate_Bay_uTorrent_Download | The_Weather_Channel_Nov_2016 | Tinder | Tinder_Swiping | Tor_Directory_Listing | TR_069_Device_Initialization | TR_069_Firmware_Download | TR_069_Reboot | TUMe_Audio_Share | TUMe_IM | TUMe_Location_Share | TUMe_Photo_Share | TUMe_Register_Device | TvAnts_P2P_Streaming | TVUPlayer_P2P_Streaming | TWAMP_Session | Twitchtv | Twitter_RSS_Mobile | Uber_June_2015_Add_Location | Uber_June_2015_Registration | uTorrent_DHT_File_Download | VE_Max_Bandwidth_TLS1_2_AES_256_CBC_SHA | VE_Max_CC_TLS1_2_3DES_EDE_CBC_SHA | VE_Max_TPS_Superflow | VE_Max_TPS_TLS1_2_AES_256_CBC_SHA | VLC_HTTP_Flash_File_Streaming | VLC_HTTP_MPG_File_Streaming | VMware_VMotion | WAP_12 | WAP_20 | WebDAV | WebDAV_Errors | Webex | WebEx_Meeting | Webmail_Orange | WebSocket_Connection | WebSocket_Message_Generation | WebSocket_Ping_Pong | WhatsApp | WhatsApp_25MB | WhatsApp_Voice_Call | WHOIS | Wikipedia | Windows_Live_Mail | Windows_Live_Messenger_v16 | Windows_Live_Messenger_v16_Chinese | Windows_Live_Messenger_v16_French | Windows_Live_Messenger_v16_German | Windows_Live_Messenger_v16_Italian | Windows_Live_Messenger_v16_Japanese | Windows_Live_Messenger_v16_Persian | Windows_Live_Messenger_v16_Spanish | Windows_Live_MSN_Messenger_v15 | Winny | WORDPRESS_OCTOBER_2013_131016 | World_of_Warcraft | World_of_Warcraft_Patch_Update | WWW_File_Share_Pro_March_2016 | WWW_File_Share_Pro_March_2016_Download | WWW_File_Share_Pro_March_2016_Upload | Xbox_Facebook | Xbox_Live | Xbox_Zune_Video | XMPP_Facebook_Chat | XMPP_Jabber_Demo_Superflow | XMPP_Jabber_Demo_Superflow_with_PKCS7_Encr | XMPP_Jabber_Demo_Superflow_with_PKCS7_Sign | Xunlei_File_Download | Yahoo_HTTP_Flash_Video | Yahoo_IM_Voice_Chat_V10 | Yahoo_Mail | Yahoo_Mail_Chinese | Yahoo_Mail_French | Yahoo_Mail_German | Yahoo_Mail_Italian | Yahoo_Mail_Japanese | Yahoo_Mail_Persian | Yahoo_Mail_Spanish | Yahoo_Search | Yahoo_Search_GET_Home_Page | Yammer_Nov_2016 | Youtube_Bandwidth | YouTube_Music_Bandwidth | YouTube_Music_Play_Video | YouTube_September_2016 | YouTube_September_2016_Bandwidth | YouTube_September_2016_Browse_Sections | YouTube_September_2016_Play_Video | YouTube_Service_Provider | Zalo_VOIP | Zendesk_Nov17 | Zendesk_Nov17_Create_New_Ticket | ZeroAccess_botnet | ZeuS_Botnet])): (Read only) All available application library flows.
- ConfiguredFlows (list(str[7SHIFTS_Manager_Access | 7SHIFTS_Quick_Schedule_Review | ActiveSync_Unencrypted | ADP_Login_Pages | AIM6_Chat | AIM6_File_Transfer | Airbnb | Alibaba_May_15 | Amazon_1302 | Amazon_EC2_API_Demo | Amazon_EC2_Create_Key_Pair_Flow | Amazon_EC2_Start_Instances_Flow | Amazon_GET_Home_Page | Amazon_S3_Retrieve_Objects_Flow | Amazon_Video | Android_Market_Search_View_and_Download | Angry_Birds_Friends_September_2015_Faceboo | Angry_Birds_Friends_September_2015_Play | AngryBirds_Friends_Sep_15_In_app_purchase | AOL_Instant_Messenger | AOL_Webmail | AOL_Webmail_Deprecated | Apache_Cassandra_DB | Apache_Cassandra_DB_Start_Up | Apache_Cassandra_DB_Start_Up_and_Registrat | AppleJuice | AppLine_Demo_Superflow | AppLine_Simple_Chat | Appogee_Quick_Calendar_Review | Appogee_Team_Manager_Access | Appointy_Manager_Access | Appointy_Quick_Schedule_Review | Ares_v2183042_Login_File_Download | Average_Web_Page_2011 | AWS_Console_Oct17 | AWS_EC2_Nov17 | AWS_S3_Oct17 | BACnet_IP_Read_File | BACnet_IP_Who_Has_I_Have_Object_Query | BACnet_IP_Who_Is_I_Am_Device_Discovery | BACnet_IP_Write_File | Baidu_Access_Network_of_Web_Portals_Feb_18 | Baidu_Search_Oct_16 | Baidu_Tieba_Jun_16_Access_a_Tieba | Baidu_Tieba_Jun_16_Login_and_Logout | Baidu_Tieba_Jun_16_Post_a_Thread | Bandwidth_BitTorrent_File_Download | Bandwidth_eDonkey | Bandwidth_HTTP | Bandwidth_HTTP_over_SCTP | Bandwidth_HTTP_over_SCTP_over_UDP | Bandwidth_IMAPv4 | Bandwidth_POP3 | Bandwidth_QUIC | Bandwidth_Radius | Bandwidth_Raw | Bandwidth_Telnet | Bandwidth_uTorrent_DHT_File_Download | BBC_iPlayer | BBC_iPlayer_Radio | BGP_IGP_Open_Advertise_Routes | BGP_IGP_Withdraw_Routes | Bing_Search | Bitcoin_Heartbeat | Bitcoin_Synchronization | Bitcoin_Transaction_Information | BitTorrent_Ares_v217_File_Download | BitTorrent_BitComet_v126_File_Download | BitTorrent_Blizzard_File_Download | BitTorrent_Cisco_EMIX | BitTorrent_Enterprise | BitTorrent_File_Download | BitTorrent_LimeWire_v5516_File_Download | BitTorrent_RMIX_5M | BitTorrent_Service_Provider | BitTorrent_Transmission_v222_File_Download | BitTorrent_v720_File_Download | BitTorrent_Vuse_v460_File_Download | BitTorrent_Xunlei_v716_File_Download | BlackBerry_Enterprise_Send_E_Mail | BlackBerry_Enterprise_Send_E_Mail_French | BlackBerry_Enterprise_Send_E_Mail_German | BlackBerry_Enterprise_Send_E_Mail_Italian | BlackBerry_Enterprise_Send_E_Mail_Japanese | BlackBerry_Enterprise_Send_E_Mail_Spanish | Blogspot_Aug_15 | Blogspot_Aug_15_Create_and_Publish_a_new_B | Blogspot_Aug_15_Delete_Blog | Box_Oct_17_Collaborate_on_Files | BuzzFeed_Nov_2016 | CandyCrush_Sep_15 | Capwap | Capwap_Configuration | Capwap_Echo | Certify_Jun_17 | Certify_Jun_17_Create_New_Report | Chargen_TCP | Chargen_UDP | Cisco_Spark_Send_File | Cisco_Spark_Text_Chat | Cisco_Spark_Video_Call | Citrix | Client_Receives_Audio_Data_from_Server_Usi | ClientSim_HTTP_Request_BMP | ClientSim_HTTP_Request_EXE | ClientSim_HTTP_Request_GIF | ClientSim_HTTP_Request_HTML | ClientSim_HTTP_Request_JPG | ClientSim_HTTP_Request_MP3 | ClientSim_HTTP_Request_PDF | ClientSim_HTTP_Request_PNG | ClientSim_HTTP_Request_RTF | ClientSim_HTTP_Request_WAV | ClientSim_HTTP_Slow_Headers | ClientSim_Microsoft_Smooth_Streaming_Play | Concur_Jan_17 | Confluence_Space_and_Page_Operations_Nov17 | Confluence_Space_Operations_Nov17 | Constrained_Application_Protocol_CoAP | Dailymotion_Aug_17 | Dailymotion_Aug_17_Play_A_Video | Dailymotion_Bandwidth | DailyMotion_Mar_15 | DailyMotion_Mar_15_Search_a_DailyMotion_vi | DailyMotion_Mar_15_Search_and_view_a_video | DailyMotion_Mar_15_Upload_a_video_to_Daily | Daytime_TCP | Daytime_UDP | DB2_Database | DCE_RPC | DCE_RPC_MAPI_Session | DCE_RPC_MAPI_with_File_Attachment | DDoS_SMBLoris | DDoS_SSL_HTTP_Post_Flood | DDoS_SSL_Key_Exchange_Flood | Diameter | Diameter_Rx_Interface | Diameter_S9a_Interface | Discard_TCP | Discord_Dec_17 | Discord_Dec_17_Chat | DNP3_Link_Status | DNP3_Read_Class_0_Data | DNP3_Read_Device_Attributes | DNP3_Time_Sync | DNP3_Unsolicited_Response | DNS | DNS_A_Truncated_Lookup | DNS_AAAA_Truncated_Lookup | DNS_SRV_LDAP_Lookup | DNSSEC_A_Record_Lookup | DocuSign_Access_Website_Dec17 | Doodle_July_2015_Create_poll | Doodle_July_2015_Invite_poll_participants | Doodle_July_2015_Participate_in_poll | Dropbox_Demo_Superflow | Dropbox_Initial_Client_Setup_and_Synchroni | Dropbox_Sync_Get_New_File | Dropbox_Sync_Upload_New_File | Duqu_Botnet | Ebay | eBay_Browse_and_Buy_Items_Feb_18 | Ebay_Jan_2015 | eBay_Manage_Personal_Account_Feb_18 | Ebay_Sign_In_Out_Jan_2015 | Echo_TCP | Echo_UDP | eDonkey_Data_Transfer | eDonkey_Upload | Equation_Group_Cisco_Exploit_Chain | Ethernet_IP_Connected | Ethernet_IP_Unconnected | Evergreen_AOL_Chat_AIM_Aug_17 | Evergreen_AOL_Chat_AIM_Aug_17_Receive_Mess | Evergreen_AOL_Chat_AIM_Aug_17_Send_Message | Evergreen_AOL_Chat_AIM_Jan_14 | Evergreen_AOL_Chat_AIM_Jan_14_Receive_Mess | Evergreen_AOL_Chat_AIM_Jan_14_Send_Message | Evergreen_AOL_Chat_AIM_Jul_17 | Evergreen_AOL_Chat_AIM_Jul_17_Receive_Mess | Evergreen_AOL_Chat_AIM_Jul_17_Send_Message | Evergreen_AOL_Chat_AIM_Jun_17 | Evergreen_AOL_Chat_AIM_Jun_17_Receive_Mess | Evergreen_AOL_Chat_AIM_Jun_17_Send_Message | Evergreen_AOL_Chat_AIM_May_17 | Evergreen_AOL_Chat_AIM_May_17_Receive_Mess | Evergreen_AOL_Chat_AIM_May_17_Send_Message | Evergreen_AOL_Chat_AIM_Sep_17 | Evergreen_AOL_Chat_AIM_Sep_17_Receive_Mess | Evergreen_AOL_Chat_AIM_Sep_17_Send_Message | Evergreen_AOL_Mail_Aug_17 | Evergreen_AOL_Mail_Aug_17_Send_Message | Evergreen_AOL_Mail_Aug_17_Send_Message_wit | Evergreen_AOL_Mail_Aug_17_View_Message | Evergreen_AOL_Mail_Aug_17_View_Message_wit | Evergreen_AOL_Mail_Dec_17 | Evergreen_AOL_Mail_Dec_17_Send_Message | Evergreen_AOL_Mail_Dec_17_Send_Message_wit | Evergreen_AOL_Mail_Dec_17_View_Message | Evergreen_AOL_Mail_Dec_17_View_Message_wit | Evergreen_AOL_Mail_Feb_18 | Evergreen_AOL_Mail_Feb_18_Send_Message | Evergreen_AOL_Mail_Feb_18_Send_Message_wit | Evergreen_AOL_Mail_Feb_18_View_Message | Evergreen_AOL_Mail_Feb_18_View_Message_wit | Evergreen_AOL_Mail_Jan_14 | Evergreen_AOL_Mail_Jan_14_Send_Message | Evergreen_AOL_Mail_Jan_14_Send_Message_wit | Evergreen_AOL_Mail_Jan_14_View_Message | Evergreen_AOL_Mail_Jan_14_View_Message_wit | Evergreen_AOL_Mail_Jan_18 | Evergreen_AOL_Mail_Jan_18_Send_Message | Evergreen_AOL_Mail_Jan_18_Send_Message_wit | Evergreen_AOL_Mail_Jan_18_View_Message | Evergreen_AOL_Mail_Jan_18_View_Message_wit | Evergreen_AOL_Mail_Jul_17 | Evergreen_AOL_Mail_Jul_17_Send_Message | Evergreen_AOL_Mail_Jul_17_Send_Message_wit | Evergreen_AOL_Mail_Jul_17_View_Message | Evergreen_AOL_Mail_Jul_17_View_Message_wit | Evergreen_AOL_Mail_Jun_17 | Evergreen_AOL_Mail_Jun_17_Send_Message | Evergreen_AOL_Mail_Jun_17_Send_Message_wit | Evergreen_AOL_Mail_Jun_17_View_Message | Evergreen_AOL_Mail_Jun_17_View_Message_wit | Evergreen_AOL_Mail_May_17 | Evergreen_AOL_Mail_May_17_Send_Message | Evergreen_AOL_Mail_May_17_Send_Message_wit | Evergreen_AOL_Mail_May_17_View_Message | Evergreen_AOL_Mail_May_17_View_Message_wit | Evergreen_AOL_Mail_Nov_17 | Evergreen_AOL_Mail_Nov_17_Send_Message | Evergreen_AOL_Mail_Nov_17_Send_Message_wit | Evergreen_AOL_Mail_Nov_17_View_Message | Evergreen_AOL_Mail_Nov_17_View_Message_wit | Evergreen_AOL_Mail_Oct_17 | Evergreen_AOL_Mail_Oct_17_Send_Message | Evergreen_AOL_Mail_Oct_17_Send_Message_wit | Evergreen_AOL_Mail_Oct_17_View_Message | Evergreen_AOL_Mail_Oct_17_View_Message_wit | Evergreen_AOL_Mail_Sep_17 | Evergreen_AOL_Mail_Sep_17_Send_Message | Evergreen_AOL_Mail_Sep_17_Send_Message_wit | Evergreen_AOL_Mail_Sep_17_View_Message | Evergreen_AOL_Mail_Sep_17_View_Message_wit | Evergreen_Facebook_Aug_17 | Evergreen_Facebook_Dec_17 | Evergreen_Facebook_Feb_18 | Evergreen_Facebook_Jan_14 | Evergreen_Facebook_Jan_18 | Evergreen_Facebook_Jul_17 | Evergreen_Facebook_Jun_17 | Evergreen_Facebook_May_17 | Evergreen_Facebook_Nov_17 | Evergreen_Facebook_Oct_17 | Evergreen_Facebook_Sep_17 | Evergreen_Gmail_Aug_17 | Evergreen_Gmail_Aug_17_Send_Message | Evergreen_Gmail_Aug_17_Send_Message_with_A | Evergreen_Gmail_Aug_17_View_Message | Evergreen_Gmail_Aug_17_View_Message_with_A | Evergreen_Gmail_Dec_17 | Evergreen_Gmail_Dec_17_Send_Message | Evergreen_Gmail_Dec_17_Send_Message_with_A | Evergreen_Gmail_Dec_17_View_Message | Evergreen_Gmail_Dec_17_View_Message_with_A | Evergreen_Gmail_Feb_18 | Evergreen_Gmail_Feb_18_Send_Message | Evergreen_Gmail_Feb_18_Send_Message_with_A | Evergreen_Gmail_Feb_18_View_Message | Evergreen_Gmail_Feb_18_View_Message_with_A | Evergreen_Gmail_Jan_18 | Evergreen_Gmail_Jan_18_Send_Message | Evergreen_Gmail_Jan_18_Send_Message_with_A | Evergreen_Gmail_Jan_18_View_Message | Evergreen_Gmail_Jan_18_View_Message_with_A | Evergreen_Gmail_Jul_17 | Evergreen_Gmail_Jul_17_Send_Message | Evergreen_Gmail_Jul_17_Send_Message_with_A | Evergreen_Gmail_Jul_17_View_Message | Evergreen_Gmail_Jul_17_View_Message_with_A | Evergreen_Gmail_Jun_17 | Evergreen_Gmail_Jun_17_Send_Message | Evergreen_Gmail_Jun_17_Send_Message_with_A | Evergreen_Gmail_Jun_17_View_Message | Evergreen_Gmail_Jun_17_View_Message_with_A | Evergreen_Gmail_May_17 | Evergreen_Gmail_May_17_Send_Message | Evergreen_Gmail_May_17_Send_Message_with_A | Evergreen_Gmail_May_17_View_Message | Evergreen_Gmail_May_17_View_Message_with_A | Evergreen_Gmail_Nov_17 | Evergreen_Gmail_Nov_17_Send_Message | Evergreen_Gmail_Nov_17_Send_Message_with_A | Evergreen_Gmail_Nov_17_View_Message | Evergreen_Gmail_Nov_17_View_Message_with_A | Evergreen_Gmail_Oct_17 | Evergreen_Gmail_Oct_17_Send_Message | Evergreen_Gmail_Oct_17_Send_Message_with_A | Evergreen_Gmail_Oct_17_View_Message | Evergreen_Gmail_Oct_17_View_Message_with_A | Evergreen_Gmail_Sep_17 | Evergreen_Gmail_Sep_17_Send_Message | Evergreen_Gmail_Sep_17_Send_Message_with_A | Evergreen_Gmail_Sep_17_View_Message | Evergreen_Gmail_Sep_17_View_Message_with_A | Evergreen_Rediffmail_Aug_17 | Evergreen_Rediffmail_Aug_17_Send_Message | Evergreen_Rediffmail_Aug_17_Send_Message_w | Evergreen_Rediffmail_Aug_17_View_Message | Evergreen_Rediffmail_Aug_17_View_Message_w | Evergreen_Rediffmail_Dec_17 | Evergreen_Rediffmail_Dec_17_Send_Message | Evergreen_Rediffmail_Dec_17_Send_Message_w | Evergreen_Rediffmail_Dec_17_View_Message | Evergreen_Rediffmail_Dec_17_View_Message_w | Evergreen_Rediffmail_Feb_18 | Evergreen_Rediffmail_Feb_18_Send_Message | Evergreen_Rediffmail_Feb_18_Send_Message_w | Evergreen_Rediffmail_Feb_18_View_Message | Evergreen_Rediffmail_Feb_18_View_Message_w | Evergreen_Rediffmail_Jan_18 | Evergreen_Rediffmail_Jan_18_Send_Message | Evergreen_Rediffmail_Jan_18_Send_Message_w | Evergreen_Rediffmail_Jan_18_View_Message | Evergreen_Rediffmail_Jan_18_View_Message_w | Evergreen_Rediffmail_Jul_17 | Evergreen_Rediffmail_Jul_17_Send_Message | Evergreen_Rediffmail_Jul_17_Send_Message_w | Evergreen_Rediffmail_Jul_17_View_Message | Evergreen_Rediffmail_Jul_17_View_Message_w | Evergreen_Rediffmail_Jun_17 | Evergreen_Rediffmail_Jun_17_Send_Message | Evergreen_Rediffmail_Jun_17_Send_Message_w | Evergreen_Rediffmail_Jun_17_View_Message | Evergreen_Rediffmail_Jun_17_View_Message_w | Evergreen_Rediffmail_May_17 | Evergreen_Rediffmail_May_17_Send_Message | Evergreen_Rediffmail_May_17_Send_Message_w | Evergreen_Rediffmail_May_17_View_Message | Evergreen_Rediffmail_May_17_View_Message_w | Evergreen_Rediffmail_Nov_17 | Evergreen_Rediffmail_Nov_17_Send_Message | Evergreen_Rediffmail_Nov_17_Send_Message_w | Evergreen_Rediffmail_Nov_17_View_Message | Evergreen_Rediffmail_Nov_17_View_Message_w | Evergreen_Rediffmail_Oct_17 | Evergreen_Rediffmail_Oct_17_Send_Message | Evergreen_Rediffmail_Oct_17_Send_Message_w | Evergreen_Rediffmail_Oct_17_View_Message | Evergreen_Rediffmail_Oct_17_View_Message_w | Evergreen_Rediffmail_Sep_17 | Evergreen_Rediffmail_Sep_17_Send_Message | Evergreen_Rediffmail_Sep_17_Send_Message_w | Evergreen_Rediffmail_Sep_17_View_Message | Evergreen_Rediffmail_Sep_17_View_Message_w | Evergreen_Twitter_Aug_17 | Evergreen_Twitter_Aug_17_Post_Status | Evergreen_Twitter_Aug_17_View_Home_Timelin | Evergreen_Twitter_Dec_17 | Evergreen_Twitter_Dec_17_Post_Status | Evergreen_Twitter_Dec_17_View_Home_Timelin | Evergreen_Twitter_Feb_18 | Evergreen_Twitter_Feb_18_Post_Status | Evergreen_Twitter_Feb_18_View_Home_Timelin | Evergreen_Twitter_Jan_18 | Evergreen_Twitter_Jan_18_Post_Status | Evergreen_Twitter_Jan_18_View_Home_Timelin | Evergreen_Twitter_Jul_17 | Evergreen_Twitter_Jul_17_Post_Status | Evergreen_Twitter_Jul_17_View_Home_Timelin | Evergreen_Twitter_Jun_17 | Evergreen_Twitter_Jun_17_Post_Status | Evergreen_Twitter_Jun_17_View_Home_Timelin | Evergreen_Twitter_May_17 | Evergreen_Twitter_May_17_Post_Status | Evergreen_Twitter_May_17_View_Home_Timelin | Evergreen_Twitter_Nov_17 | Evergreen_Twitter_Nov_17_Post_Status | Evergreen_Twitter_Nov_17_View_Home_Timelin | Evergreen_Twitter_Oct_17 | Evergreen_Twitter_Oct_17_Post_Status | Evergreen_Twitter_Oct_17_View_Home_Timelin | Evergreen_Twitter_Sep_17 | Evergreen_Twitter_Sep_17_Post_Status | Evergreen_Twitter_Sep_17_View_Home_Timelin | Evergreen_Web_ICQ_Aug_17 | Evergreen_Web_ICQ_Aug_17_Receive_Message | Evergreen_Web_ICQ_Aug_17_Send_Message | Evergreen_Web_ICQ_Dec_17 | Evergreen_Web_ICQ_Dec_17_Receive_Message | Evergreen_Web_ICQ_Dec_17_Send_Message | Evergreen_Web_ICQ_Feb_18 | Evergreen_Web_ICQ_Feb_18_Receive_Message | Evergreen_Web_ICQ_Feb_18_Send_Message | Evergreen_Web_ICQ_Jan_18 | Evergreen_Web_ICQ_Jan_18_Receive_Message | Evergreen_Web_ICQ_Jan_18_Send_Message | Evergreen_Web_ICQ_Jul_17 | Evergreen_Web_ICQ_Jul_17_Receive_Message | Evergreen_Web_ICQ_Jul_17_Send_Message | Evergreen_Web_ICQ_Jun_17 | Evergreen_Web_ICQ_Jun_17_Receive_Message | Evergreen_Web_ICQ_Jun_17_Send_Message | Evergreen_Web_ICQ_May_17 | Evergreen_Web_ICQ_May_17_Receive_Message | Evergreen_Web_ICQ_May_17_Send_Message | Evergreen_Web_ICQ_Nov_17 | Evergreen_Web_ICQ_Nov_17_Receive_Message | Evergreen_Web_ICQ_Nov_17_Send_Message | Evergreen_Web_ICQ_Oct_17 | Evergreen_Web_ICQ_Oct_17_Receive_Message | Evergreen_Web_ICQ_Oct_17_Send_Message | Evergreen_Web_ICQ_Sep_17 | Evergreen_Web_ICQ_Sep_17_Receive_Message | Evergreen_Web_ICQ_Sep_17_Send_Message | Evergreen_WindowsLiveMail_Aug_17 | Evergreen_WindowsLiveMail_Aug_17_Send_Mess | Evergreen_WindowsLiveMail_Aug_17_View_Mess | Evergreen_WindowsLiveMail_Dec_17 | Evergreen_WindowsLiveMail_Dec_17_Send_Mess | Evergreen_WindowsLiveMail_Dec_17_View_Mess | Evergreen_WindowsLiveMail_Feb_18 | Evergreen_WindowsLiveMail_Feb_18_Send_Mess | Evergreen_WindowsLiveMail_Feb_18_View_Mess | Evergreen_WindowsLiveMail_Jan_18 | Evergreen_WindowsLiveMail_Jan_18_Send_Mess | Evergreen_WindowsLiveMail_Jan_18_View_Mess | Evergreen_WindowsLiveMail_Jul_17 | Evergreen_WindowsLiveMail_Jul_17_Send_Mess | Evergreen_WindowsLiveMail_Jul_17_View_Mess | Evergreen_WindowsLiveMail_Jun_17 | Evergreen_WindowsLiveMail_Jun_17_Send_Mess | Evergreen_WindowsLiveMail_Jun_17_View_Mess | Evergreen_WindowsLiveMail_May_17 | Evergreen_WindowsLiveMail_May_17_Send_Mess | Evergreen_WindowsLiveMail_May_17_View_Mess | Evergreen_WindowsLiveMail_Nov_17 | Evergreen_WindowsLiveMail_Nov_17_Send_Mess | Evergreen_WindowsLiveMail_Nov_17_View_Mess | Evergreen_WindowsLiveMail_Oct_17 | Evergreen_WindowsLiveMail_Oct_17_Send_Mess | Evergreen_WindowsLiveMail_Oct_17_View_Mess | Evergreen_WindowsLiveMail_Sep_17 | Evergreen_WindowsLiveMail_Sep_17_Send_Mess | Evergreen_WindowsLiveMail_Sep_17_View_Mess | Evergreen_Yahoo_Chat_Aug_17 | Evergreen_Yahoo_Chat_Aug_17_Receive_Messag | Evergreen_Yahoo_Chat_Aug_17_Send_Message | Evergreen_Yahoo_Chat_Dec_17 | Evergreen_Yahoo_Chat_Dec_17_Receive_Messag | Evergreen_Yahoo_Chat_Dec_17_Send_Message | Evergreen_Yahoo_Chat_Feb_18 | Evergreen_Yahoo_Chat_Feb_18_Receive_Messag | Evergreen_Yahoo_Chat_Feb_18_Send_Message | Evergreen_Yahoo_Chat_Jan_18 | Evergreen_Yahoo_Chat_Jan_18_Receive_Messag | Evergreen_Yahoo_Chat_Jan_18_Send_Message | Evergreen_Yahoo_Chat_Jul_17 | Evergreen_Yahoo_Chat_Jul_17_Receive_Messag | Evergreen_Yahoo_Chat_Jul_17_Send_Message | Evergreen_Yahoo_Chat_Jun_17 | Evergreen_Yahoo_Chat_Jun_17_Receive_Messag | Evergreen_Yahoo_Chat_Jun_17_Send_Message | Evergreen_Yahoo_Chat_May_17 | Evergreen_Yahoo_Chat_May_17_Receive_Messag | Evergreen_Yahoo_Chat_May_17_Send_Message | Evergreen_Yahoo_Chat_Nov_17 | Evergreen_Yahoo_Chat_Nov_17_Receive_Messag | Evergreen_Yahoo_Chat_Nov_17_Send_Message | Evergreen_Yahoo_Chat_Sep_17 | Evergreen_Yahoo_Chat_Sep_17_Receive_Messag | Evergreen_Yahoo_Chat_Sep_17_Send_Message | Evergreen_Yahoo_Mail_Aug_17 | Evergreen_Yahoo_Mail_Aug_17_Send_Message | Evergreen_Yahoo_Mail_Aug_17_Send_Message_w | Evergreen_Yahoo_Mail_Aug_17_View_Message | Evergreen_Yahoo_Mail_Aug_17_View_Message_w | Evergreen_Yahoo_Mail_Dec_17 | Evergreen_Yahoo_Mail_Dec_17_Send_Message | Evergreen_Yahoo_Mail_Dec_17_Send_Message_w | Evergreen_Yahoo_Mail_Dec_17_View_Message | Evergreen_Yahoo_Mail_Dec_17_View_Message_w | Evergreen_Yahoo_Mail_Feb_18 | Evergreen_Yahoo_Mail_Feb_18_Send_Message | Evergreen_Yahoo_Mail_Feb_18_Send_Message_w | Evergreen_Yahoo_Mail_Feb_18_View_Message | Evergreen_Yahoo_Mail_Feb_18_View_Message_w | Evergreen_Yahoo_Mail_Jan_18 | Evergreen_Yahoo_Mail_Jan_18_Send_Message | Evergreen_Yahoo_Mail_Jan_18_Send_Message_w | Evergreen_Yahoo_Mail_Jan_18_View_Message | Evergreen_Yahoo_Mail_Jan_18_View_Message_w | Evergreen_Yahoo_Mail_Jul_14 | Evergreen_Yahoo_Mail_Jul_17 | Evergreen_Yahoo_Mail_Jul_17_Send_Message | Evergreen_Yahoo_Mail_Jul_17_Send_Message_w | Evergreen_Yahoo_Mail_Jul_17_View_Message | Evergreen_Yahoo_Mail_Jul_17_View_Message_w | Evergreen_Yahoo_Mail_Jun_17 | Evergreen_Yahoo_Mail_Jun_17_Send_Message | Evergreen_Yahoo_Mail_Jun_17_Send_Message_w | Evergreen_Yahoo_Mail_Jun_17_View_Message | Evergreen_Yahoo_Mail_Jun_17_View_Message_w | Evergreen_Yahoo_Mail_May_17 | Evergreen_Yahoo_Mail_May_17_Send_Message | Evergreen_Yahoo_Mail_May_17_Send_Message_w | Evergreen_Yahoo_Mail_May_17_View_Message | Evergreen_Yahoo_Mail_May_17_View_Message_w | Evergreen_Yahoo_Mail_Nov_17 | Evergreen_Yahoo_Mail_Nov_17_Send_Message | Evergreen_Yahoo_Mail_Nov_17_Send_Message_w | Evergreen_Yahoo_Mail_Nov_17_View_Message | Evergreen_Yahoo_Mail_Nov_17_View_Message_w | Evergreen_Yahoo_Mail_Oct_17 | Evergreen_Yahoo_Mail_Oct_17_Send_Message | Evergreen_Yahoo_Mail_Oct_17_Send_Message_w | Evergreen_Yahoo_Mail_Oct_17_View_Message | Evergreen_Yahoo_Mail_Oct_17_View_Message_w | Evergreen_Yahoo_Mail_Sep_17 | Evergreen_Yahoo_Mail_Sep_17_Send_Message | Evergreen_Yahoo_Mail_Sep_17_Send_Message_w | Evergreen_Yahoo_Mail_Sep_17_View_Message | Evergreen_Yahoo_Mail_Sep_17_View_Message_w | Evergreen_YahooGroups_Aug_17 | Evergreen_YahooGroups_Dec_17 | Evergreen_YahooGroups_Feb_18 | Evergreen_YahooGroups_Jan_14 | Evergreen_YahooGroups_Jan_18 | Evergreen_YahooGroups_Jul_17 | Evergreen_YahooGroups_Jun_17 | Evergreen_YahooGroups_May_17 | Evergreen_YahooGroups_Nov_17 | Evergreen_YahooGroups_Oct_17 | Evergreen_YahooGroups_Sep_17 | Evernote_Desktop_Aug_17 | Evernote_Desktop_Aug_17_Add_Note | Evernote_Desktop_Aug_17_Add_Note_with_Atta | Everquest_December_2015_Create_account | Everquest_December_2015_Download_and_insta | Everquest_December_2015_Open_game_and_logi | Exchange_Outlook_Receive_Mail | Exchange_Outlook_Send_Mail | Exchange_Outlook_Session_Start | Facebook | Facebook_Android | Facebook_Android_Chat_Session | Facebook_API | Facebook_Chrome | Facebook_GET_Home_Page | Facebook_iOS | Facebook_iOS_Chat_Session | Facebook_Japanese | Farmville | Financial_IMAPv4_Advanced | Financial_POP3_Advanced | Financial_SMB_Client_File_Download | Financial_SMBv2_File_Download | Financial_SMTP_Email | Finger | FIX_50SP2_Order_Session | FIX_50SP2_Session | FIX_Session | FIXT_Session | flame | Flash_Enterprise | Flickr | Flickr_Login | Fring | FTP | FTP_Active_mode | FTP_Cisco_EMIX | FTP_Enterprise | FW_HTTP_Audio | FW_HTTP_Text | FW_Images | FW_IPS_HTTP_1_7K | FW_IPS_HTTP_10K | FW_IPS_HTTP_10K_w_Delay | FW_IPS_HTTP_10Requests_Loop | FW_IPS_HTTP_21K | FW_IPS_HTTP_21K_w_Delay | FW_IPS_HTTP_4_5K | FW_IPS_HTTP_44K | FW_IPS_HTTP_Open | FW_Max_HTTP_TPS | FW_Small_Images | Gadu_Gadu_Unencrypted_IM | Giphy_Jan_17 | GMX_Mail_Aug_16 | GMX_Mail_Aug_16_Send_Message | GMX_Mail_Aug_16_Send_Message_with_Attachme | GMX_Mail_Aug_16_View_Message | GMX_Mail_Aug_16_View_Message_with_Attachme | GMX_Webmail | Gnutella | Gnutella_v06 | GoDaddy_Manage_Account_Details_and_Product | GoDaddy_Shop_for_Domain_Names_Nov17 | GoDaddy_Use_Website_Builder_Tool_Nov17 | Google_Analytics | Google_App_Engine | Google_App_Engine_Create_and_Deploy_App | Google_App_Engine_Test_App | Google_Cache | Google_Cache_Directly_Access_the_Cached_Ve | Google_Cache_Search_and_Access_Cached_Vers | Google_Calendar_Aug_14 | Google_Cloud_Storage | Google_Cloud_Storage_Registration | Google_Cloud_Storage_Tutorial | Google_Docs | Google_Docs_Create_Document_and_Download_a | Google_Docs_Edit_Document_and_Rename_it | Google_Drive_Aug_17 | Google_Drive_June_2014 | Google_Earth_Search | Google_Hangouts | Google_Hangouts_Phone_Call | Google_Hangouts_Text_Chat | Google_Hangouts_Video_Call | Google_Location_Services | Google_Mail | Google_Mail_Chinese | Google_Mail_French | Google_Mail_German | Google_Mail_GET_Index | Google_Mail_Italian | Google_Mail_Japanese | Google_Mail_Spanish | Google_Map_Search | Google_Photos_July_2017 | Google_Play_LTE_Mix | Google_Play_Sandvine_Bandwidth | Google_Play_Search_View_and_Download | Google_Plus_Jul_14 | Google_Safe_Browsing | Google_Search | Google_Search_GET_Home_Page | Google_Search_LTE_Mix | Google_Sheets_Oct_17 | Google_Slides_Sept_17 | Google_Voice_Actions | Google_Voice_Actions_Google_Search | Google_Voice_Actions_Phone_Options | GoogleEarthPro_Navigate_the_Globe_Feb_18 | Gopher | GoToMeeting_Mobile | GoToMeeting_Mobile_Join_Meeting | GoToMeeting_Mobile_Start_Meeting | GoToMeeting_Web_App | GSM_MAP_Authenticate_and_Update_GPRS_Locat | GSM_MAP_Send_Routing_Info_For_SM | GSM_MAP_Update_Location_Error | GTalk_Chat | GTalk_File_Transfer | GTalk_Login | GTalk_Voicecall | GTP_Simulated | GTPoIPSec_HTTP_LTE | GTPoIPSec_HTTP_Simple | GTPv2_C_Downlink_Data_Notification | GTPv2_C_Network_Initiated_Dedicated_Bearer | GTPv2_C_Release_Access_Bearers | GTPv2_C_UE_Initiated_Dedicated_Bearer_Supe | GTPv2_Simulated | GTPv2C_S1_S11_Session_Setup_and_Teardown_F | GTPv2C_S5_S8_Session_Setup_and_Teardown_Fl | Hadoop_JobTracker | HBO_Now_Bandwidth | HBO_Now_Desktop | HDFS_NameNode_RPC_List_Directory | Hotmail | Hotmail_Chinese | Hotmail_French | Hotmail_German | Hotmail_Italian | Hotmail_Japanese | Hotmail_Persian | Hotmail_Spanish | HTTP_302_Redirect | HTTP_302_Redirect_Juniper | HTTP_Audio | HTTP_Authenticated | HTTP_Compressed | HTTP_Enterprise | HTTP_Financial_ApacheFF | HTTP_Financial_ApacheIE | HTTP_Financial_IIS_FF | HTTP_Financial_IIS_IE | HTTP_Flash_Video | HTTP_Flash_Video_512k_Data | HTTP_Flash_Video_Service_Provider | HTTP_GET_English_Chrome23_Linux_to_Jetty_S | HTTP_GET_English_Chrome23_Linux_to_Lighttp | HTTP_GET_English_Chrome23_Linux_to_Microso | HTTP_GET_English_Chrome23_Linux_to_nginx_S | HTTP_GET_English_Chrome23_OS_X_to_Apache_S | HTTP_GET_English_Chrome23_OS_X_to_Jetty_Se | HTTP_GET_English_Chrome23_OS_X_to_Lighttpd | HTTP_GET_English_Chrome23_OS_X_to_Microsof | HTTP_GET_English_Chrome23_OS_X_to_nginx_Se | HTTP_GET_English_Chrome23_Windows_7_to_Apa | HTTP_GET_English_Chrome23_Windows_7_to_Jet | HTTP_GET_English_Chrome23_Windows_7_to_Lig | HTTP_GET_English_Chrome23_Windows_7_to_Mic | HTTP_GET_English_Chrome23_Windows_7_to_ngi | HTTP_GET_English_Chrome24_Linux_to_Jetty_S | HTTP_GET_English_Chrome24_Linux_to_Lighttp | HTTP_GET_English_Chrome24_Linux_to_Microso | HTTP_GET_English_Chrome24_Linux_to_nginx_S | HTTP_GET_English_Chrome24_OS_X_to_Apache_S | HTTP_GET_English_Chrome24_OS_X_to_Jetty_Se | HTTP_GET_English_Chrome24_OS_X_to_Lighttpd | HTTP_GET_English_Chrome24_OS_X_to_Microsof | HTTP_GET_English_Chrome24_OS_X_to_nginx_Se | HTTP_GET_English_Chrome24_Windows_7_to_Apa | HTTP_GET_English_Chrome24_Windows_7_to_Jet | HTTP_GET_English_Chrome24_Windows_7_to_Lig | HTTP_GET_English_Chrome24_Windows_7_to_Mic | HTTP_GET_English_Chrome24_Windows_7_to_ngi | HTTP_GET_English_Chrome25_Linux_to_Jetty_S | HTTP_GET_English_Chrome25_Linux_to_Lighttp | HTTP_GET_English_Chrome25_Linux_to_Microso | HTTP_GET_English_Chrome25_Linux_to_nginx_S | HTTP_GET_English_Chrome25_OS_X_to_Apache_S | HTTP_GET_English_Chrome25_OS_X_to_Jetty_Se | HTTP_GET_English_Chrome25_OS_X_to_Lighttpd | HTTP_GET_English_Chrome25_OS_X_to_Microsof | HTTP_GET_English_Chrome25_OS_X_to_nginx_Se | HTTP_GET_English_Chrome25_Windows_7_to_Apa | HTTP_GET_English_Chrome25_Windows_7_to_Jet | HTTP_GET_English_Chrome25_Windows_7_to_Lig | HTTP_GET_English_Chrome25_Windows_7_to_Mic | HTTP_GET_English_Chrome25_Windows_7_to_ngi | HTTP_GET_English_Firefox16_Linux_to_Apache | HTTP_GET_English_Firefox16_Linux_to_Lightt | HTTP_GET_English_Firefox16_Linux_to_Micros | HTTP_GET_English_Firefox16_OS_X_to_Jetty_S | HTTP_GET_English_Firefox16_OS_X_to_Lighttp | HTTP_GET_English_Firefox16_OS_X_to_Microso | HTTP_GET_English_Firefox16_OS_X_to_nginx_S | HTTP_GET_English_Firefox16_Windows_7_to_Ap | HTTP_GET_English_Firefox16_Windows_7_to_Je | HTTP_GET_English_Firefox16_Windows_7_to_Li | HTTP_GET_English_Firefox16_Windows_7_to_Mi | HTTP_GET_English_Firefox16_Windows_7_to_ng | HTTP_GET_English_Firefox17_Linux_to_Apache | HTTP_GET_English_Firefox17_Linux_to_Lightt | HTTP_GET_English_Firefox17_Linux_to_Micros | HTTP_GET_English_Firefox17_OS_X_to_Jetty_S | HTTP_GET_English_Firefox17_OS_X_to_Lighttp | HTTP_GET_English_Firefox17_OS_X_to_Microso | HTTP_GET_English_Firefox17_OS_X_to_nginx_S | HTTP_GET_English_Firefox17_Windows_7_to_Ap | HTTP_GET_English_Firefox17_Windows_7_to_Je | HTTP_GET_English_Firefox17_Windows_7_to_Li | HTTP_GET_English_Firefox17_Windows_7_to_Mi | HTTP_GET_English_Firefox17_Windows_7_to_ng | HTTP_GET_English_Firefox18_Linux_to_Apache | HTTP_GET_English_Firefox18_Linux_to_Lightt | HTTP_GET_English_Firefox18_Linux_to_Micros | HTTP_GET_English_Firefox18_OS_X_to_Jetty_S | HTTP_GET_English_Firefox18_OS_X_to_Lighttp | HTTP_GET_English_Firefox18_OS_X_to_Microso | HTTP_GET_English_Firefox18_OS_X_to_nginx_S | HTTP_GET_English_Firefox18_Windows_7_to_Ap | HTTP_GET_English_Firefox18_Windows_7_to_Je | HTTP_GET_English_Firefox18_Windows_7_to_Li | HTTP_GET_English_Firefox18_Windows_7_to_Mi | HTTP_GET_English_Firefox18_Windows_7_to_ng | HTTP_GET_English_Firefox19_Linux_to_Apache | HTTP_GET_English_Firefox19_Linux_to_Lightt | HTTP_GET_English_Firefox19_Linux_to_Micros | HTTP_GET_English_Firefox19_OS_X_to_Jetty_S | HTTP_GET_English_Firefox19_OS_X_to_Lighttp | HTTP_GET_English_Firefox19_OS_X_to_Microso | HTTP_GET_English_Firefox19_OS_X_to_nginx_S | HTTP_GET_English_Firefox19_Windows_7_to_Ap | HTTP_GET_English_Firefox19_Windows_7_to_Je | HTTP_GET_English_Firefox19_Windows_7_to_Li | HTTP_GET_English_Firefox19_Windows_7_to_Mi | HTTP_GET_English_Firefox19_Windows_7_to_ng | HTTP_GET_English_IE8_Windows_7_to_Apache_S | HTTP_GET_English_IE8_Windows_7_to_Jetty_Se | HTTP_GET_English_IE8_Windows_7_to_Lighttpd | HTTP_GET_English_IE8_Windows_7_to_Microsof | HTTP_GET_English_IE8_Windows_7_to_nginx_Se | HTTP_GET_English_IE9_Windows_7_to_Apache_S | HTTP_GET_English_IE9_Windows_7_to_Jetty_Se | HTTP_GET_English_IE9_Windows_7_to_Lighttpd | HTTP_GET_English_IE9_Windows_7_to_Microsof | HTTP_GET_English_IE9_Windows_7_to_nginx_Se | HTTP_GET_English_Opera11_Linux_to_Apache_S | HTTP_GET_English_Opera11_Linux_to_Jetty_Se | HTTP_GET_English_Opera11_Linux_to_Lighttpd | HTTP_GET_English_Opera11_Linux_to_Microsof | HTTP_GET_English_Opera11_Linux_to_nginx_Se | HTTP_GET_English_Opera11_OS_X_to_Apache_Se | HTTP_GET_English_Opera11_OS_X_to_Jetty_Ser | HTTP_GET_English_Opera11_OS_X_to_Microsoft | HTTP_GET_English_Opera11_OS_X_to_nginx_Ser | HTTP_GET_English_Opera11_Windows_7_to_Apac | HTTP_GET_English_Opera11_Windows_7_to_Jett | HTTP_GET_English_Opera11_Windows_7_to_Ligh | HTTP_GET_English_Opera11_Windows_7_to_Micr | HTTP_GET_English_Opera11_Windows_7_to_ngin | HTTP_GET_English_Opera12_Linux_to_Apache_S | HTTP_GET_English_Opera12_Linux_to_Jetty_Se | HTTP_GET_English_Opera12_Linux_to_Lighttpd | HTTP_GET_English_Opera12_Linux_to_Microsof | HTTP_GET_English_Opera12_Linux_to_nginx_Se | HTTP_GET_English_Opera12_OS_X_to_Apache_Se | HTTP_GET_English_Opera12_OS_X_to_Jetty_Ser | HTTP_GET_English_Opera12_OS_X_to_Microsoft | HTTP_GET_English_Opera12_OS_X_to_nginx_Ser | HTTP_GET_English_Opera12_Windows_7_to_Apac | HTTP_GET_English_Opera12_Windows_7_to_Jett | HTTP_GET_English_Opera12_Windows_7_to_Ligh | HTTP_GET_English_Opera12_Windows_7_to_Micr | HTTP_GET_English_Opera12_Windows_7_to_ngin | HTTP_GET_English_Safari5_OS_X_to_Apache_Se | HTTP_GET_English_Safari5_OS_X_to_Jetty_Ser | HTTP_GET_English_Safari5_OS_X_to_Microsoft | HTTP_GET_English_Safari5_OS_X_to_nginx_Ser | HTTP_GET_English_Safari5_Windows_7_to_Apac | HTTP_GET_English_Safari5_Windows_7_to_Jett | HTTP_GET_English_Safari5_Windows_7_to_Ligh | HTTP_GET_English_Safari5_Windows_7_to_Micr | HTTP_GET_English_Safari5_Windows_7_to_ngin | HTTP_GET_English_Safari6_OS_X_to_Apache_Se | HTTP_GET_English_Safari6_OS_X_to_Jetty_Ser | HTTP_GET_English_Safari6_OS_X_to_Microsoft | HTTP_GET_English_Safari6_OS_X_to_nginx_Ser | HTTP_GET_HTML5_Text_File | HTTP_GET_HTML5_Text_File_Deprecated | HTTP_GET_Text_File | HTTP_Live_Streaming | HTTP_Live_Streaming_HLS | HTTP_LTE_Mix | HTTP_Mobile_Europe | HTTP_Mobile_Europe_with_iPhone | HTTP_Mobile_North_America | HTTP_Mobile_North_America_with_iPhone | HTTP_NTLM_Authenticated | HTTP_Pages | HTTP_Persistent_Session | HTTP_Pipelining | HTTP_POST_PDF_File | HTTP_POST_Web_Login | HTTP_Progressive_Download | HTTP_Raw_Messages | HTTP_Redirect | HTTP_Request | HTTP_RMIX_130K | HTTP_RMIX_25K | HTTP_RMIX_30K | HTTP_Server_Requests | HTTP_Service_Provider | HTTP_Text | HTTP_Text_over_SCTP | HTTP_Text_over_SCTP_over_UDP | HTTP_VE_MAX_Bandwidth | HTTP_VE_MAX_Session | HTTP_Video | HTTPS_100k | HTTPS_10k | HTTPS_Dropbox_Simulated | HTTPS_LTE_Mix | HTTPS_Simulated_512k_Data | HTTPS_Simulated_Enterprise | HTTPS_Simulated_Facebook_Messenger | HTTPS_Simulated_LINE_Basic_Audio_Call | HTTPS_Simulated_LINE_Chat | HTTPS_Simulated_Service_Provider | Hulu_Bandwidth | Hulu_Desktop | iCloudWeb_Push_Notification_Service | ICQ | ICQ_75 | ICQ_76 | ICQ_77 | ICQ_7M | ICQ_80 | ICQ_80_Chinese | ICQ_80_French | ICQ_80_German | ICQ_80_Italian | ICQ_80_Japanese | ICQ_80_Persian | ICQ_80_Spanish | Ident | IEC104 | IMAP | IMAP_Cisco_EMIX | IMAP_LTE_Mix | IMAP_RMIX_16K | IMAP_RMIX_4K | IMAP_RMIX_90K | IMAPv4_Advanced | IMAPv4_Advanced_Chinese | IMAPv4_Advanced_French | IMAPv4_Advanced_German | IMAPv4_Advanced_Italian | IMAPv4_Advanced_Japanese | IMAPv4_Advanced_Persian | IMAPv4_Advanced_Spanish | iMessage_Send_File_Message | iMessage_Send_Text_Message | Inetd_Diagnostic_Services | Informix_Database | Instacart | Instacart_Login_Logout | Instagram_Bandwidth | Instagram_Nov_2014 | IPFIX | IPMI | IPP_Print_Request | IPS_HTTP_Audio | IPS_HTTP_Text | IPS_HTTP_Video | IPS_Images | IPS_Small_Images | IRC_Channel_Join_Chat | IRC_Login | IRC_Login_Auth | IRC_Login_Auth_Failure | IRC_Private_Chat | iSCSI_Read_and_Write | ITCH_NASDAQ_Trading | iTunes_Desktop_App_Store | iTunes_Desktop_App_Store_Feb18 | iTunes_Desktop_Music | iTunes_Mobile_App_Store | iTunes_Mobile_Music | Jabber_Chat | JIRA_Create_Issue | JIRA_List_Issues | Jira_Service_Desk_Help_Center_Issue_Oct17 | Jira_Service_Desk_Issue_Management_Oct17 | Jira_Service_Desk_Project_Management_Oct17 | KakaoTalk_Chat | Kodi_Sep_17_Install_Add_ons | Kodi_Sep_17_Play_Audio | Kodi_Sep_17_Play_Video | Laposte_Webmail_1307 | LDAP | LDAP_SASL_Auth | LinkedIn | Linkedin_1301 | LinkedIn_Dec17_Manage_Connections | LinkedIn_Dec17_Send_Message | Locky_Malware_Infection_Traffic | LPD | LTE_HTTP_Simple_ENB_MME_vs_SGW_PGW_IPV4_IP | Lync_2013_SIPe_Initiate_IM_Chat_Uncompress | Lync_Audio_Video | Mailru | Mailru_2013 | Manufacturing_Message_Specification_MMS | Manufacturing_Message_Specification_MMS_Wr | MAX_Bandwidth_HTTP | MAX_HTTP_Packets_Per_Second | MAX_Raw_Packets_Per_Second | Memcached_Set_and_Get_Key_Example | Memcached_Set_Get_Delete_operations | Meraki_Configure_Network_Nov17 | Meraki_Manage_MDM_Network_Nov17 | Meraki_Monitor_Devices_Nov17 | Message_Session_Relay_Protocol_MSRP | MGCP_Residential_Gateway_Connection_Deleti | Microsoft_Azure | Microsoft_Azure_Create_App | Microsoft_Azure_Sign_Up | Microsoft_OneDrive_Mar_15 | Microsoft_Smooth_Streaming_Play_Clips_with | Microsoft_Smooth_Streaming_Play_Fragments | Microsoft_Update | Minecraft_189_Login_Sequence_to_Multiplaye | Minecraft_189_Server_List_Ping | Mirai_Botnet_DNS_Flood_Attack | Mirai_Botnet_HTTP_Flood_Attack | Mirai_Botnet_UDP_Flood_Attack | Mirai_Botnet_UDP_Plain_Flood_Attack | Mirai_Botnet_Valve_Source_Engine_Query_Flo | MMS_MM1_WAP_HTTP | Modbus | Modbus_Examples | MongoDB_Demo_Super_Flow | MongoDB_Insert_Document | MongoDB_Shell_Connect_Disconnect | MongoDB_Update_Document | MQTT_Connect_and_PING_between_Publish | MQTT_Connect_and_Publish | MQTT_Connect_and_Subscribe_Publish | MS_SQL_Create | MS_SQL_Delete | MS_SQL_Drop | MS_SQL_Insert | MS_SQL_Server | MS_SQL_Server_Advanced | MS_SQL_Update | MS_SQL2012_Advanced | MS_SQL2012_Create_Table | MS_SQL2012_Delete | MS_SQL2012_Drop | MS_SQL2012_Insert | MS_SQL2012_Select | MS_SQL2012_TLS_Advanced | MS_SQL2012_TLS_Create_Table | MS_SQL2012_TLS_Delete | MS_SQL2012_TLS_Drop | MS_SQL2012_TLS_Insert | MS_SQL2012_TLS_Select | MS_SQL2012_TLS_Update | MS_SQL2012_Update | Mxit_Desktop_File_Transfer | Mxit_Desktop_Multiple_Status_Messages | Mxit_Messenger_For_Windows_PC | MySpace_HTTP_Flash_Video | MySQL_Database_Advanced | MySQL_Databse | NetBIOS_Session | Netflix_July_2017 | Netflix_Login_Logout_July_2017 | Netflix_Play_Movie_July_2017 | Netflix_Service_Provider | Netflow_V5 | Netflow_V7 | Netflow_V9 | Netflow_V9_Custom | Netflow_V9_IPv6 | NFS | Niconico_Nov_2013 | nntp | NTP_Synchronization | NTPv2 | NTPv2_Amplification | OCSP_over_HTTP_Multiple_OCSP_Requests | Office_365_Excel_Jul_15 | Office_365_Excel_Jul_15_Create_Workbook | Office_365_Excel_Jul_15_Open_Workbook | Office_365_Excel_Jul_17_Create_Workbook | Office_365_Excel_Jul_17_Open_Workbook | Office_365_OneNote_Jul_15 | Office_365_OneNote_Sep_17 | Office_365_OneNote_Sep_17_Create_and_Edit | Office_365_Outlook_Calendar_Jul_15 | Office_365_Outlook_Calendar_Jul_15_Create | Office_365_Outlook_Calendar_Jul_15_Search | Office_365_Outlook_Mail_Jun_15 | Office_365_Outlook_Mail_Jun_15_Send_Messag | Office_365_Outlook_Mail_Jun_15_View_Messag | Office_365_Outlook_People_Jul_15 | Office_365_Outlook_People_Jul_15_Create_an | Office_365_Outlook_People_Jul_15_Search_fo | Office_365_Outlook_Tasks_Jul_15 | Office_365_Outlook_Tasks_Jul_15_Create_and | Office_365_Outlook_Tasks_Jul_15_Mark_task | Office_365_Outlook_Tasks_Sep_17 | Office_365_Outlook_Tasks_Sep_17_Create_and | Office_365_Outlook_Tasks_Sep_17_Mark_task | Office_365_PowerPoint_Jul_15 | Office_365_PowerPoint_Jul_15_Create_Presen | Office_365_PowerPoint_Jul_15_Open_Presenta | Office_365_Sway_Jul_15 | Office_365_Sway_Jul_15_Configure | Office_365_Sway_Jul_15_Create_Presentation | Office_365_Sway_Jul_15_Edit_Presentation | Office_365_Sway_Jul_15_Preview_Presentatio | Office_365_Word_Jul_15 | Office_365_Word_Jul_17 | Office_365_Word_Jul_17_Create_File | Okazii_130125 | OPC_UA_Binary_Open_Secure_Channel | OPC_UA_Binary_Secure_Get_Endpoints_Respons | OPC_UA_Binary_with_Error_Message | OpenFlow_Demo_Superflow | OpenFlow_Switch_Startup_v10 | OpenStack_Swift_Demo_Super_Flow | Oracle_Database | Oracle_Database_Advanced | Oracle_Database_Create_Table | Oracle_Database_Delete | Oracle_Database_Drop_Table | Oracle_Database_Insert | Oracle_Database_Update | Oracle_Enterprise | OUCH41 | Outlook_Web_Access | Outlook_Web_Access_Chinese | Outlook_Web_Access_French | Outlook_Web_Access_German | Outlook_Web_Access_Italian | Outlook_Web_Access_Japanese | Outlook_Web_Access_Persian | Outlook_Web_Access_Spanish | OWAMP_Session | Pandora | Pandora_iPhone | Pandora_LTE_Mix | Pandora_Sandvine_Bandwidth | Paypal | PeerGuardian_Update | Perforce_Add_New_File | Perforce_Create_Changelist | Perforce_Submit_Changelist | Perforce_Sync_File | Perforce_Ticket_Based_Authentication | Pinterest_Jun17 | Pinterest_Photo_Upload_Jun17 | Pinterest_Search_and_Pin_Jun17 | POP3 | POP3_512 | POP3_Advanced | POP3_Chinese | POP3_French | POP3_German | POP3_Italian | POP3_Japanese | POP3_LTE_Mix | POP3_Persian | POP3_RMIX_16K | POP3_RMIX_4K | POP3_RMIX_90K | POP3_Spanish | PortMapper | POS_FIle_XFER_SMB2 | PostgreSQL | PostgreSQL_Create_Table | PostgreSQL_Delete | PostgreSQL_Drop_Table | PostgreSQL_Insert | PostgreSQL_Update | PPLive_Enterprise | PPTP_Establish_Session | QQ_IM_Chat | QUIC_Demo_Superflow | QUIC_Simple_HTTP_Stream | Quote_of_the_DayTCP | Quote_of_the_DayUDP | RADIUS | RADIUS_Access | RADIUS_Access_IPv6 | RADIUS_IPv4_and_IPv6 | RADIUS_IPv6 | Raw | Raw_25m_Data | Raw_Enterprise | Raw_Service_Provider | Reddit | Reddit_Account_Management_Feb_18 | Reddit_Browse_Content_Feb_18 | Remote_Desktop_Protocol | Resiliency_Sessions_per_Second | Rexec | RFB | RIP_v1 | RIPv2 | Rlogin | Rsh | RSS_Ixia_Feed | RSS_Multi_Feed | Rsync | RTMP | RTMP_Audio_Data_127K | RTMP_Audio_Data_1K | RTMP_Bandwidth | RTMP_Chunk | RTMP_Handshake | Rusers | S102 | S1AP_Authentication_Failure | S1AP_Authentication_Reject | S1AP_Handover_Preparation_Failure | S1AP_S1_Setup | S1AP_UE_Detach | S1AP_UE_Initial_Attach | S7comm_Advanced_Operations | S7comm_Block_List_Operations | S7comm_Download_Block | S7comm_Read_PLC_Status | S7comm_Read_Set_PLC_time | S7comm_Var_Service | Saavn_Music_February_2016 | Saavn_Music_February_2016_Log_In_and_Brows | Saavn_Music_February_2016_Play_Radio | Saavn_Music_February_2016_Play_Songs | Salesforce | Salesforce_Login_Logout | Sandvine_BlackBerry_Bandwidth | SAP | Seamless | Seamless_Login_Logout | ShareFile_Apr_17 | ShareFile_Apr_17_Upload_Download_File | SharePoint_Sep_2014 | Sina_Weibo_Feb_2014 | Sina_Weibo_Post_Feb_2014 | SIP_RTP_Voice_call_w_ENUM | SIP_Spoofed_Invite | Skype_1_minute_call | Skype_14_Call | Skype_14_Login | Skype_14_User_Search | Skype_V5_Sandvine_Bandwidth | Skype_V6_Instant_Messaging_Simple_Chat | SMB_Client_File_Download | SMB_Enterprise | SMB_Failed_Authentication | SMB_Null_Session | SMBv3_Encrypted_File_Download | SMBv3_Establish_Alternate_Channel | SMBv3_Secure_Negotiation | SMPP_Receive | SMPP_Transmit | SMTP_Authenticated_with_Verify | SMTP_Authentication_Failure | SMTP_Cisco_EMIX | SMTP_Email | SMTP_Email_Chinese | SMTP_Email_French | SMTP_Email_German | SMTP_Email_Italian | SMTP_Email_Japanese | SMTP_Email_Persian | SMTP_Email_Proxy_Support | SMTP_Email_Spanish | SMTP_Enterprise | SMTP_RMIX_16K | SMTP_RMIX_4K | SMTP_RMIX_90K | SMTPS | Snapchat_Bandwidth | Snapchat_May_2015 | Snapchat_May_2015_Send_Image | Snapchat_May_2015_Send_Movie | Snapdeal | Snapdeal_Add_items_to_cart | Snapdeal_Browse_website | SNMP | SNMPv1 | SNMPv2c | SNMPv3 | SOCKS_5_Connect_No_User_Authentication | SOCKS_5_Connect_with_User_Authentication | SopCast_P2P_Streaming | Soulseek_Search_and_Queue | SPDY_v2_Simple_GET_Request | SPDY_v2_Simple_POST_Request | SPDY_v2_Stream_Reset_CANCEL | SPDY_v2_Stream_Reset_FLOW_CONTROL_ERROR | SPDY_v2_Stream_Reset_INTERNAL_ERROR | SPDY_v2_Stream_Reset_INVALID_STREAM | SPDY_v2_Stream_Reset_PROTOCOL_ERROR | SPDY_v2_Stream_Reset_REFUSED_STREAM | SPDY_v2_Stream_Reset_UNSUPPORTED_VERSION | SQLMon | SSDP_M_SEARCH_Req_Resp_Unicast | SSH | SSH_Enterprise | Standard_Media_March_2016 | Standard_Media_March_2016_Print_Article | Standard_Media_March_2016_Recommend_and_Co | Standard_Media_March_2016_Share_Article | Steam_Login | STOMP_12 | STOMP_12_10_Backwards_Compatibility | STOMP_12_Error | SunRPC_BIND | Sybase_Database | Syslog | TACACS_Accounting | TACACS_Authentication | TACACS_Authorization | Telnet | Telnet_Failed_Login | The_Pirate_Bay_uTorrent_Download | The_Weather_Channel_Nov_2016 | Tinder | Tinder_Swiping | Tor_Directory_Listing | TR_069_Device_Initialization | TR_069_Firmware_Download | TR_069_Reboot | TUMe_Audio_Share | TUMe_IM | TUMe_Location_Share | TUMe_Photo_Share | TUMe_Register_Device | TvAnts_P2P_Streaming | TVUPlayer_P2P_Streaming | TWAMP_Session | Twitchtv | Twitter_RSS_Mobile | Uber_June_2015_Add_Location | Uber_June_2015_Registration | uTorrent_DHT_File_Download | VE_Max_Bandwidth_TLS1_2_AES_256_CBC_SHA | VE_Max_CC_TLS1_2_3DES_EDE_CBC_SHA | VE_Max_TPS_Superflow | VE_Max_TPS_TLS1_2_AES_256_CBC_SHA | VLC_HTTP_Flash_File_Streaming | VLC_HTTP_MPG_File_Streaming | VMware_VMotion | WAP_12 | WAP_20 | WebDAV | WebDAV_Errors | Webex | WebEx_Meeting | Webmail_Orange | WebSocket_Connection | WebSocket_Message_Generation | WebSocket_Ping_Pong | WhatsApp | WhatsApp_25MB | WhatsApp_Voice_Call | WHOIS | Wikipedia | Windows_Live_Mail | Windows_Live_Messenger_v16 | Windows_Live_Messenger_v16_Chinese | Windows_Live_Messenger_v16_French | Windows_Live_Messenger_v16_German | Windows_Live_Messenger_v16_Italian | Windows_Live_Messenger_v16_Japanese | Windows_Live_Messenger_v16_Persian | Windows_Live_Messenger_v16_Spanish | Windows_Live_MSN_Messenger_v15 | Winny | WORDPRESS_OCTOBER_2013_131016 | World_of_Warcraft | World_of_Warcraft_Patch_Update | WWW_File_Share_Pro_March_2016 | WWW_File_Share_Pro_March_2016_Download | WWW_File_Share_Pro_March_2016_Upload | Xbox_Facebook | Xbox_Live | Xbox_Zune_Video | XMPP_Facebook_Chat | XMPP_Jabber_Demo_Superflow | XMPP_Jabber_Demo_Superflow_with_PKCS7_Encr | XMPP_Jabber_Demo_Superflow_with_PKCS7_Sign | Xunlei_File_Download | Yahoo_HTTP_Flash_Video | Yahoo_IM_Voice_Chat_V10 | Yahoo_Mail | Yahoo_Mail_Chinese | Yahoo_Mail_French | Yahoo_Mail_German | Yahoo_Mail_Italian | Yahoo_Mail_Japanese | Yahoo_Mail_Persian | Yahoo_Mail_Spanish | Yahoo_Search | Yahoo_Search_GET_Home_Page | Yammer_Nov_2016 | Youtube_Bandwidth | YouTube_Music_Bandwidth | YouTube_Music_Play_Video | YouTube_September_2016 | YouTube_September_2016_Bandwidth | YouTube_September_2016_Browse_Sections | YouTube_September_2016_Play_Video | YouTube_Service_Provider | Zalo_VOIP | Zendesk_Nov17 | Zendesk_Nov17_Create_New_Ticket | ZeroAccess_botnet | ZeuS_Botnet])): Configured application library flows within profile.
- EnablePerIPStats (bool): Enable Per IP Stats. When true then Per IP statistic drilldown is available.
- ObjectiveDistribution (str(applyFullObjectiveToEachPort | splitObjectiveEvenlyAmongPorts)): Objective distribution value.
- ObjectiveType (str(simulatedUsers | throughputGbps | throughputKbps | throughputMbps)): The objective type of the test.A Test Objective is the way the user sets the actual rate of the Application Library Traffic transmission.
- ObjectiveValue (number): The absolute value of either simulated users or throughput in its measure unit.
- TrafficState (str(Configured | Interim | Running | Unconfigured)): (Read only) A read-only field which indicates the current state of the traffic item.
Returns
-------
- self: This instance with matching appLibProfile resources retrieved from the server available through an iterator or index
Raises
------
- ServerError: The server has encountered an uncategorized error condition
"""
return self._select(self._map_locals(self._SDM_ATT_MAP, locals()))
def read(self, href):
"""Retrieves a single instance of appLibProfile data from the server.
Args
----
- href (str): An href to the instance to be retrieved
Returns
-------
- self: This instance with the appLibProfile resources from the server available through an iterator or index
Raises
------
- NotFoundError: The requested resource does not exist on the server
- ServerError: The server has encountered an uncategorized error condition
"""
return self._read(href)
def AddAppLibraryFlow(self, *args, **kwargs):
"""Executes the addAppLibraryFlow operation on the server.
This exec adds a flow to an application traffic profile.
addAppLibraryFlow(Arg2=list)
----------------------------
- Arg2 (list(str[7SHIFTS_Manager_Access | 7SHIFTS_Quick_Schedule_Review | ActiveSync_Unencrypted | ADP_Login_Pages | AIM6_Chat | AIM6_File_Transfer | Airbnb | Alibaba_May_15 | Amazon_1302 | Amazon_EC2_API_Demo | Amazon_EC2_Create_Key_Pair_Flow | Amazon_EC2_Start_Instances_Flow | Amazon_GET_Home_Page | Amazon_S3_Retrieve_Objects_Flow | Amazon_Video | Android_Market_Search_View_and_Download | Angry_Birds_Friends_September_2015_Faceboo | Angry_Birds_Friends_September_2015_Play | AngryBirds_Friends_Sep_15_In_app_purchase | AOL_Instant_Messenger | AOL_Webmail | AOL_Webmail_Deprecated | Apache_Cassandra_DB | Apache_Cassandra_DB_Start_Up | Apache_Cassandra_DB_Start_Up_and_Registrat | AppleJuice | AppLine_Demo_Superflow | AppLine_Simple_Chat | Appogee_Quick_Calendar_Review | Appogee_Team_Manager_Access | Appointy_Manager_Access | Appointy_Quick_Schedule_Review | Ares_v2183042_Login_File_Download | Average_Web_Page_2011 | AWS_Console_Oct17 | AWS_EC2_Nov17 | AWS_S3_Oct17 | BACnet_IP_Read_File | BACnet_IP_Who_Has_I_Have_Object_Query | BACnet_IP_Who_Is_I_Am_Device_Discovery | BACnet_IP_Write_File | Baidu_Access_Network_of_Web_Portals_Feb_18 | Baidu_Search_Oct_16 | Baidu_Tieba_Jun_16_Access_a_Tieba | Baidu_Tieba_Jun_16_Login_and_Logout | Baidu_Tieba_Jun_16_Post_a_Thread | Bandwidth_BitTorrent_File_Download | Bandwidth_eDonkey | Bandwidth_HTTP | Bandwidth_HTTP_over_SCTP | Bandwidth_HTTP_over_SCTP_over_UDP | Bandwidth_IMAPv4 | Bandwidth_POP3 | Bandwidth_QUIC | Bandwidth_Radius | Bandwidth_Raw | Bandwidth_Telnet | Bandwidth_uTorrent_DHT_File_Download | BBC_iPlayer | BBC_iPlayer_Radio | BGP_IGP_Open_Advertise_Routes | BGP_IGP_Withdraw_Routes | Bing_Search | Bitcoin_Heartbeat | Bitcoin_Synchronization | Bitcoin_Transaction_Information | BitTorrent_Ares_v217_File_Download | BitTorrent_BitComet_v126_File_Download | BitTorrent_Blizzard_File_Download | BitTorrent_Cisco_EMIX | BitTorrent_Enterprise | BitTorrent_File_Download | BitTorrent_LimeWire_v5516_File_Download | BitTorrent_RMIX_5M | BitTorrent_Service_Provider | BitTorrent_Transmission_v222_File_Download | BitTorrent_v720_File_Download | BitTorrent_Vuse_v460_File_Download | BitTorrent_Xunlei_v716_File_Download | BlackBerry_Enterprise_Send_E_Mail | BlackBerry_Enterprise_Send_E_Mail_French | BlackBerry_Enterprise_Send_E_Mail_German | BlackBerry_Enterprise_Send_E_Mail_Italian | BlackBerry_Enterprise_Send_E_Mail_Japanese | BlackBerry_Enterprise_Send_E_Mail_Spanish | Blogspot_Aug_15 | Blogspot_Aug_15_Create_and_Publish_a_new_B | Blogspot_Aug_15_Delete_Blog | Box_Oct_17_Collaborate_on_Files | BuzzFeed_Nov_2016 | CandyCrush_Sep_15 | Capwap | Capwap_Configuration | Capwap_Echo | Certify_Jun_17 | Certify_Jun_17_Create_New_Report | Chargen_TCP | Chargen_UDP | Cisco_Spark_Send_File | Cisco_Spark_Text_Chat | Cisco_Spark_Video_Call | Citrix | Client_Receives_Audio_Data_from_Server_Usi | ClientSim_HTTP_Request_BMP | ClientSim_HTTP_Request_EXE | ClientSim_HTTP_Request_GIF | ClientSim_HTTP_Request_HTML | ClientSim_HTTP_Request_JPG | ClientSim_HTTP_Request_MP3 | ClientSim_HTTP_Request_PDF | ClientSim_HTTP_Request_PNG | ClientSim_HTTP_Request_RTF | ClientSim_HTTP_Request_WAV | ClientSim_HTTP_Slow_Headers | ClientSim_Microsoft_Smooth_Streaming_Play | Concur_Jan_17 | Confluence_Space_and_Page_Operations_Nov17 | Confluence_Space_Operations_Nov17 | Constrained_Application_Protocol_CoAP | Dailymotion_Aug_17 | Dailymotion_Aug_17_Play_A_Video | Dailymotion_Bandwidth | DailyMotion_Mar_15 | DailyMotion_Mar_15_Search_a_DailyMotion_vi | DailyMotion_Mar_15_Search_and_view_a_video | DailyMotion_Mar_15_Upload_a_video_to_Daily | Daytime_TCP | Daytime_UDP | DB2_Database | DCE_RPC | DCE_RPC_MAPI_Session | DCE_RPC_MAPI_with_File_Attachment | DDoS_SMBLoris | DDoS_SSL_HTTP_Post_Flood | DDoS_SSL_Key_Exchange_Flood | Diameter | Diameter_Rx_Interface | Diameter_S9a_Interface | Discard_TCP | Discord_Dec_17 | Discord_Dec_17_Chat | DNP3_Link_Status | DNP3_Read_Class_0_Data | DNP3_Read_Device_Attributes | DNP3_Time_Sync | DNP3_Unsolicited_Response | DNS | DNS_A_Truncated_Lookup | DNS_AAAA_Truncated_Lookup | DNS_SRV_LDAP_Lookup | DNSSEC_A_Record_Lookup | DocuSign_Access_Website_Dec17 | Doodle_July_2015_Create_poll | Doodle_July_2015_Invite_poll_participants | Doodle_July_2015_Participate_in_poll | Dropbox_Demo_Superflow | Dropbox_Initial_Client_Setup_and_Synchroni | Dropbox_Sync_Get_New_File | Dropbox_Sync_Upload_New_File | Duqu_Botnet | Ebay | eBay_Browse_and_Buy_Items_Feb_18 | Ebay_Jan_2015 | eBay_Manage_Personal_Account_Feb_18 | Ebay_Sign_In_Out_Jan_2015 | Echo_TCP | Echo_UDP | eDonkey_Data_Transfer | eDonkey_Upload | Equation_Group_Cisco_Exploit_Chain | Ethernet_IP_Connected | Ethernet_IP_Unconnected | Evergreen_AOL_Chat_AIM_Aug_17 | Evergreen_AOL_Chat_AIM_Aug_17_Receive_Mess | Evergreen_AOL_Chat_AIM_Aug_17_Send_Message | Evergreen_AOL_Chat_AIM_Jan_14 | Evergreen_AOL_Chat_AIM_Jan_14_Receive_Mess | Evergreen_AOL_Chat_AIM_Jan_14_Send_Message | Evergreen_AOL_Chat_AIM_Jul_17 | Evergreen_AOL_Chat_AIM_Jul_17_Receive_Mess | Evergreen_AOL_Chat_AIM_Jul_17_Send_Message | Evergreen_AOL_Chat_AIM_Jun_17 | Evergreen_AOL_Chat_AIM_Jun_17_Receive_Mess | Evergreen_AOL_Chat_AIM_Jun_17_Send_Message | Evergreen_AOL_Chat_AIM_May_17 | Evergreen_AOL_Chat_AIM_May_17_Receive_Mess | Evergreen_AOL_Chat_AIM_May_17_Send_Message | Evergreen_AOL_Chat_AIM_Sep_17 | Evergreen_AOL_Chat_AIM_Sep_17_Receive_Mess | Evergreen_AOL_Chat_AIM_Sep_17_Send_Message | Evergreen_AOL_Mail_Aug_17 | Evergreen_AOL_Mail_Aug_17_Send_Message | Evergreen_AOL_Mail_Aug_17_Send_Message_wit | Evergreen_AOL_Mail_Aug_17_View_Message | Evergreen_AOL_Mail_Aug_17_View_Message_wit | Evergreen_AOL_Mail_Dec_17 | Evergreen_AOL_Mail_Dec_17_Send_Message | Evergreen_AOL_Mail_Dec_17_Send_Message_wit | Evergreen_AOL_Mail_Dec_17_View_Message | Evergreen_AOL_Mail_Dec_17_View_Message_wit | Evergreen_AOL_Mail_Feb_18 | Evergreen_AOL_Mail_Feb_18_Send_Message | Evergreen_AOL_Mail_Feb_18_Send_Message_wit | Evergreen_AOL_Mail_Feb_18_View_Message | Evergreen_AOL_Mail_Feb_18_View_Message_wit | Evergreen_AOL_Mail_Jan_14 | Evergreen_AOL_Mail_Jan_14_Send_Message | Evergreen_AOL_Mail_Jan_14_Send_Message_wit | Evergreen_AOL_Mail_Jan_14_View_Message | Evergreen_AOL_Mail_Jan_14_View_Message_wit | Evergreen_AOL_Mail_Jan_18 | Evergreen_AOL_Mail_Jan_18_Send_Message | Evergreen_AOL_Mail_Jan_18_Send_Message_wit | Evergreen_AOL_Mail_Jan_18_View_Message | Evergreen_AOL_Mail_Jan_18_View_Message_wit | Evergreen_AOL_Mail_Jul_17 | Evergreen_AOL_Mail_Jul_17_Send_Message | Evergreen_AOL_Mail_Jul_17_Send_Message_wit | Evergreen_AOL_Mail_Jul_17_View_Message | Evergreen_AOL_Mail_Jul_17_View_Message_wit | Evergreen_AOL_Mail_Jun_17 | Evergreen_AOL_Mail_Jun_17_Send_Message | Evergreen_AOL_Mail_Jun_17_Send_Message_wit | Evergreen_AOL_Mail_Jun_17_View_Message | Evergreen_AOL_Mail_Jun_17_View_Message_wit | Evergreen_AOL_Mail_May_17 | Evergreen_AOL_Mail_May_17_Send_Message | Evergreen_AOL_Mail_May_17_Send_Message_wit | Evergreen_AOL_Mail_May_17_View_Message | Evergreen_AOL_Mail_May_17_View_Message_wit | Evergreen_AOL_Mail_Nov_17 | Evergreen_AOL_Mail_Nov_17_Send_Message | Evergreen_AOL_Mail_Nov_17_Send_Message_wit | Evergreen_AOL_Mail_Nov_17_View_Message | Evergreen_AOL_Mail_Nov_17_View_Message_wit | Evergreen_AOL_Mail_Oct_17 | Evergreen_AOL_Mail_Oct_17_Send_Message | Evergreen_AOL_Mail_Oct_17_Send_Message_wit | Evergreen_AOL_Mail_Oct_17_View_Message | Evergreen_AOL_Mail_Oct_17_View_Message_wit | Evergreen_AOL_Mail_Sep_17 | Evergreen_AOL_Mail_Sep_17_Send_Message | Evergreen_AOL_Mail_Sep_17_Send_Message_wit | Evergreen_AOL_Mail_Sep_17_View_Message | Evergreen_AOL_Mail_Sep_17_View_Message_wit | Evergreen_Facebook_Aug_17 | Evergreen_Facebook_Dec_17 | Evergreen_Facebook_Feb_18 | Evergreen_Facebook_Jan_14 | Evergreen_Facebook_Jan_18 | Evergreen_Facebook_Jul_17 | Evergreen_Facebook_Jun_17 | Evergreen_Facebook_May_17 | Evergreen_Facebook_Nov_17 | Evergreen_Facebook_Oct_17 | Evergreen_Facebook_Sep_17 | Evergreen_Gmail_Aug_17 | Evergreen_Gmail_Aug_17_Send_Message | Evergreen_Gmail_Aug_17_Send_Message_with_A | Evergreen_Gmail_Aug_17_View_Message | Evergreen_Gmail_Aug_17_View_Message_with_A | Evergreen_Gmail_Dec_17 | Evergreen_Gmail_Dec_17_Send_Message | Evergreen_Gmail_Dec_17_Send_Message_with_A | Evergreen_Gmail_Dec_17_View_Message | Evergreen_Gmail_Dec_17_View_Message_with_A | Evergreen_Gmail_Feb_18 | Evergreen_Gmail_Feb_18_Send_Message | Evergreen_Gmail_Feb_18_Send_Message_with_A | Evergreen_Gmail_Feb_18_View_Message | Evergreen_Gmail_Feb_18_View_Message_with_A | Evergreen_Gmail_Jan_18 | Evergreen_Gmail_Jan_18_Send_Message | Evergreen_Gmail_Jan_18_Send_Message_with_A | Evergreen_Gmail_Jan_18_View_Message | Evergreen_Gmail_Jan_18_View_Message_with_A | Evergreen_Gmail_Jul_17 | Evergreen_Gmail_Jul_17_Send_Message | Evergreen_Gmail_Jul_17_Send_Message_with_A | Evergreen_Gmail_Jul_17_View_Message | Evergreen_Gmail_Jul_17_View_Message_with_A | Evergreen_Gmail_Jun_17 | Evergreen_Gmail_Jun_17_Send_Message | Evergreen_Gmail_Jun_17_Send_Message_with_A | Evergreen_Gmail_Jun_17_View_Message | Evergreen_Gmail_Jun_17_View_Message_with_A | Evergreen_Gmail_May_17 | Evergreen_Gmail_May_17_Send_Message | Evergreen_Gmail_May_17_Send_Message_with_A | Evergreen_Gmail_May_17_View_Message | Evergreen_Gmail_May_17_View_Message_with_A | Evergreen_Gmail_Nov_17 | Evergreen_Gmail_Nov_17_Send_Message | Evergreen_Gmail_Nov_17_Send_Message_with_A | Evergreen_Gmail_Nov_17_View_Message | Evergreen_Gmail_Nov_17_View_Message_with_A | Evergreen_Gmail_Oct_17 | Evergreen_Gmail_Oct_17_Send_Message | Evergreen_Gmail_Oct_17_Send_Message_with_A | Evergreen_Gmail_Oct_17_View_Message | Evergreen_Gmail_Oct_17_View_Message_with_A | Evergreen_Gmail_Sep_17 | Evergreen_Gmail_Sep_17_Send_Message | Evergreen_Gmail_Sep_17_Send_Message_with_A | Evergreen_Gmail_Sep_17_View_Message | Evergreen_Gmail_Sep_17_View_Message_with_A | Evergreen_Rediffmail_Aug_17 | Evergreen_Rediffmail_Aug_17_Send_Message | Evergreen_Rediffmail_Aug_17_Send_Message_w | Evergreen_Rediffmail_Aug_17_View_Message | Evergreen_Rediffmail_Aug_17_View_Message_w | Evergreen_Rediffmail_Dec_17 | Evergreen_Rediffmail_Dec_17_Send_Message | Evergreen_Rediffmail_Dec_17_Send_Message_w | Evergreen_Rediffmail_Dec_17_View_Message | Evergreen_Rediffmail_Dec_17_View_Message_w | Evergreen_Rediffmail_Feb_18 | Evergreen_Rediffmail_Feb_18_Send_Message | Evergreen_Rediffmail_Feb_18_Send_Message_w | Evergreen_Rediffmail_Feb_18_View_Message | Evergreen_Rediffmail_Feb_18_View_Message_w | Evergreen_Rediffmail_Jan_18 | Evergreen_Rediffmail_Jan_18_Send_Message | Evergreen_Rediffmail_Jan_18_Send_Message_w | Evergreen_Rediffmail_Jan_18_View_Message | Evergreen_Rediffmail_Jan_18_View_Message_w | Evergreen_Rediffmail_Jul_17 | Evergreen_Rediffmail_Jul_17_Send_Message | Evergreen_Rediffmail_Jul_17_Send_Message_w | Evergreen_Rediffmail_Jul_17_View_Message | Evergreen_Rediffmail_Jul_17_View_Message_w | Evergreen_Rediffmail_Jun_17 | Evergreen_Rediffmail_Jun_17_Send_Message | Evergreen_Rediffmail_Jun_17_Send_Message_w | Evergreen_Rediffmail_Jun_17_View_Message | Evergreen_Rediffmail_Jun_17_View_Message_w | Evergreen_Rediffmail_May_17 | Evergreen_Rediffmail_May_17_Send_Message | Evergreen_Rediffmail_May_17_Send_Message_w | Evergreen_Rediffmail_May_17_View_Message | Evergreen_Rediffmail_May_17_View_Message_w | Evergreen_Rediffmail_Nov_17 | Evergreen_Rediffmail_Nov_17_Send_Message | Evergreen_Rediffmail_Nov_17_Send_Message_w | Evergreen_Rediffmail_Nov_17_View_Message | Evergreen_Rediffmail_Nov_17_View_Message_w | Evergreen_Rediffmail_Oct_17 | Evergreen_Rediffmail_Oct_17_Send_Message | Evergreen_Rediffmail_Oct_17_Send_Message_w | Evergreen_Rediffmail_Oct_17_View_Message | Evergreen_Rediffmail_Oct_17_View_Message_w | Evergreen_Rediffmail_Sep_17 | Evergreen_Rediffmail_Sep_17_Send_Message | Evergreen_Rediffmail_Sep_17_Send_Message_w | Evergreen_Rediffmail_Sep_17_View_Message | Evergreen_Rediffmail_Sep_17_View_Message_w | Evergreen_Twitter_Aug_17 | Evergreen_Twitter_Aug_17_Post_Status | Evergreen_Twitter_Aug_17_View_Home_Timelin | Evergreen_Twitter_Dec_17 | Evergreen_Twitter_Dec_17_Post_Status | Evergreen_Twitter_Dec_17_View_Home_Timelin | Evergreen_Twitter_Feb_18 | Evergreen_Twitter_Feb_18_Post_Status | Evergreen_Twitter_Feb_18_View_Home_Timelin | Evergreen_Twitter_Jan_18 | Evergreen_Twitter_Jan_18_Post_Status | Evergreen_Twitter_Jan_18_View_Home_Timelin | Evergreen_Twitter_Jul_17 | Evergreen_Twitter_Jul_17_Post_Status | Evergreen_Twitter_Jul_17_View_Home_Timelin | Evergreen_Twitter_Jun_17 | Evergreen_Twitter_Jun_17_Post_Status | Evergreen_Twitter_Jun_17_View_Home_Timelin | Evergreen_Twitter_May_17 | Evergreen_Twitter_May_17_Post_Status | Evergreen_Twitter_May_17_View_Home_Timelin | Evergreen_Twitter_Nov_17 | Evergreen_Twitter_Nov_17_Post_Status | Evergreen_Twitter_Nov_17_View_Home_Timelin | Evergreen_Twitter_Oct_17 | Evergreen_Twitter_Oct_17_Post_Status | Evergreen_Twitter_Oct_17_View_Home_Timelin | Evergreen_Twitter_Sep_17 | Evergreen_Twitter_Sep_17_Post_Status | Evergreen_Twitter_Sep_17_View_Home_Timelin | Evergreen_Web_ICQ_Aug_17 | Evergreen_Web_ICQ_Aug_17_Receive_Message | Evergreen_Web_ICQ_Aug_17_Send_Message | Evergreen_Web_ICQ_Dec_17 | Evergreen_Web_ICQ_Dec_17_Receive_Message | Evergreen_Web_ICQ_Dec_17_Send_Message | Evergreen_Web_ICQ_Feb_18 | Evergreen_Web_ICQ_Feb_18_Receive_Message | Evergreen_Web_ICQ_Feb_18_Send_Message | Evergreen_Web_ICQ_Jan_18 | Evergreen_Web_ICQ_Jan_18_Receive_Message | Evergreen_Web_ICQ_Jan_18_Send_Message | Evergreen_Web_ICQ_Jul_17 | Evergreen_Web_ICQ_Jul_17_Receive_Message | Evergreen_Web_ICQ_Jul_17_Send_Message | Evergreen_Web_ICQ_Jun_17 | Evergreen_Web_ICQ_Jun_17_Receive_Message | Evergreen_Web_ICQ_Jun_17_Send_Message | Evergreen_Web_ICQ_May_17 | Evergreen_Web_ICQ_May_17_Receive_Message | Evergreen_Web_ICQ_May_17_Send_Message | Evergreen_Web_ICQ_Nov_17 | Evergreen_Web_ICQ_Nov_17_Receive_Message | Evergreen_Web_ICQ_Nov_17_Send_Message | Evergreen_Web_ICQ_Oct_17 | Evergreen_Web_ICQ_Oct_17_Receive_Message | Evergreen_Web_ICQ_Oct_17_Send_Message | Evergreen_Web_ICQ_Sep_17 | Evergreen_Web_ICQ_Sep_17_Receive_Message | Evergreen_Web_ICQ_Sep_17_Send_Message | Evergreen_WindowsLiveMail_Aug_17 | Evergreen_WindowsLiveMail_Aug_17_Send_Mess | Evergreen_WindowsLiveMail_Aug_17_View_Mess | Evergreen_WindowsLiveMail_Dec_17 | Evergreen_WindowsLiveMail_Dec_17_Send_Mess | Evergreen_WindowsLiveMail_Dec_17_View_Mess | Evergreen_WindowsLiveMail_Feb_18 | Evergreen_WindowsLiveMail_Feb_18_Send_Mess | Evergreen_WindowsLiveMail_Feb_18_View_Mess | Evergreen_WindowsLiveMail_Jan_18 | Evergreen_WindowsLiveMail_Jan_18_Send_Mess | Evergreen_WindowsLiveMail_Jan_18_View_Mess | Evergreen_WindowsLiveMail_Jul_17 | Evergreen_WindowsLiveMail_Jul_17_Send_Mess | Evergreen_WindowsLiveMail_Jul_17_View_Mess | Evergreen_WindowsLiveMail_Jun_17 | Evergreen_WindowsLiveMail_Jun_17_Send_Mess | Evergreen_WindowsLiveMail_Jun_17_View_Mess | Evergreen_WindowsLiveMail_May_17 | Evergreen_WindowsLiveMail_May_17_Send_Mess | Evergreen_WindowsLiveMail_May_17_View_Mess | Evergreen_WindowsLiveMail_Nov_17 | Evergreen_WindowsLiveMail_Nov_17_Send_Mess | Evergreen_WindowsLiveMail_Nov_17_View_Mess | Evergreen_WindowsLiveMail_Oct_17 | Evergreen_WindowsLiveMail_Oct_17_Send_Mess | Evergreen_WindowsLiveMail_Oct_17_View_Mess | Evergreen_WindowsLiveMail_Sep_17 | Evergreen_WindowsLiveMail_Sep_17_Send_Mess | Evergreen_WindowsLiveMail_Sep_17_View_Mess | Evergreen_Yahoo_Chat_Aug_17 | Evergreen_Yahoo_Chat_Aug_17_Receive_Messag | Evergreen_Yahoo_Chat_Aug_17_Send_Message | Evergreen_Yahoo_Chat_Dec_17 | Evergreen_Yahoo_Chat_Dec_17_Receive_Messag | Evergreen_Yahoo_Chat_Dec_17_Send_Message | Evergreen_Yahoo_Chat_Feb_18 | Evergreen_Yahoo_Chat_Feb_18_Receive_Messag | Evergreen_Yahoo_Chat_Feb_18_Send_Message | Evergreen_Yahoo_Chat_Jan_18 | Evergreen_Yahoo_Chat_Jan_18_Receive_Messag | Evergreen_Yahoo_Chat_Jan_18_Send_Message | Evergreen_Yahoo_Chat_Jul_17 | Evergreen_Yahoo_Chat_Jul_17_Receive_Messag | Evergreen_Yahoo_Chat_Jul_17_Send_Message | Evergreen_Yahoo_Chat_Jun_17 | Evergreen_Yahoo_Chat_Jun_17_Receive_Messag | Evergreen_Yahoo_Chat_Jun_17_Send_Message | Evergreen_Yahoo_Chat_May_17 | Evergreen_Yahoo_Chat_May_17_Receive_Messag | Evergreen_Yahoo_Chat_May_17_Send_Message | Evergreen_Yahoo_Chat_Nov_17 | Evergreen_Yahoo_Chat_Nov_17_Receive_Messag | Evergreen_Yahoo_Chat_Nov_17_Send_Message | Evergreen_Yahoo_Chat_Sep_17 | Evergreen_Yahoo_Chat_Sep_17_Receive_Messag | Evergreen_Yahoo_Chat_Sep_17_Send_Message | Evergreen_Yahoo_Mail_Aug_17 | Evergreen_Yahoo_Mail_Aug_17_Send_Message | Evergreen_Yahoo_Mail_Aug_17_Send_Message_w | Evergreen_Yahoo_Mail_Aug_17_View_Message | Evergreen_Yahoo_Mail_Aug_17_View_Message_w | Evergreen_Yahoo_Mail_Dec_17 | Evergreen_Yahoo_Mail_Dec_17_Send_Message | Evergreen_Yahoo_Mail_Dec_17_Send_Message_w | Evergreen_Yahoo_Mail_Dec_17_View_Message | Evergreen_Yahoo_Mail_Dec_17_View_Message_w | Evergreen_Yahoo_Mail_Feb_18 | Evergreen_Yahoo_Mail_Feb_18_Send_Message | Evergreen_Yahoo_Mail_Feb_18_Send_Message_w | Evergreen_Yahoo_Mail_Feb_18_View_Message | Evergreen_Yahoo_Mail_Feb_18_View_Message_w | Evergreen_Yahoo_Mail_Jan_18 | Evergreen_Yahoo_Mail_Jan_18_Send_Message | Evergreen_Yahoo_Mail_Jan_18_Send_Message_w | Evergreen_Yahoo_Mail_Jan_18_View_Message | Evergreen_Yahoo_Mail_Jan_18_View_Message_w | Evergreen_Yahoo_Mail_Jul_14 | Evergreen_Yahoo_Mail_Jul_17 | Evergreen_Yahoo_Mail_Jul_17_Send_Message | Evergreen_Yahoo_Mail_Jul_17_Send_Message_w | Evergreen_Yahoo_Mail_Jul_17_View_Message | Evergreen_Yahoo_Mail_Jul_17_View_Message_w | Evergreen_Yahoo_Mail_Jun_17 | Evergreen_Yahoo_Mail_Jun_17_Send_Message | Evergreen_Yahoo_Mail_Jun_17_Send_Message_w | Evergreen_Yahoo_Mail_Jun_17_View_Message | Evergreen_Yahoo_Mail_Jun_17_View_Message_w | Evergreen_Yahoo_Mail_May_17 | Evergreen_Yahoo_Mail_May_17_Send_Message | Evergreen_Yahoo_Mail_May_17_Send_Message_w | Evergreen_Yahoo_Mail_May_17_View_Message | Evergreen_Yahoo_Mail_May_17_View_Message_w | Evergreen_Yahoo_Mail_Nov_17 | Evergreen_Yahoo_Mail_Nov_17_Send_Message | Evergreen_Yahoo_Mail_Nov_17_Send_Message_w | Evergreen_Yahoo_Mail_Nov_17_View_Message | Evergreen_Yahoo_Mail_Nov_17_View_Message_w | Evergreen_Yahoo_Mail_Oct_17 | Evergreen_Yahoo_Mail_Oct_17_Send_Message | Evergreen_Yahoo_Mail_Oct_17_Send_Message_w | Evergreen_Yahoo_Mail_Oct_17_View_Message | Evergreen_Yahoo_Mail_Oct_17_View_Message_w | Evergreen_Yahoo_Mail_Sep_17 | Evergreen_Yahoo_Mail_Sep_17_Send_Message | Evergreen_Yahoo_Mail_Sep_17_Send_Message_w | Evergreen_Yahoo_Mail_Sep_17_View_Message | Evergreen_Yahoo_Mail_Sep_17_View_Message_w | Evergreen_YahooGroups_Aug_17 | Evergreen_YahooGroups_Dec_17 | Evergreen_YahooGroups_Feb_18 | Evergreen_YahooGroups_Jan_14 | Evergreen_YahooGroups_Jan_18 | Evergreen_YahooGroups_Jul_17 | Evergreen_YahooGroups_Jun_17 | Evergreen_YahooGroups_May_17 | Evergreen_YahooGroups_Nov_17 | Evergreen_YahooGroups_Oct_17 | Evergreen_YahooGroups_Sep_17 | Evernote_Desktop_Aug_17 | Evernote_Desktop_Aug_17_Add_Note | Evernote_Desktop_Aug_17_Add_Note_with_Atta | Everquest_December_2015_Create_account | Everquest_December_2015_Download_and_insta | Everquest_December_2015_Open_game_and_logi | Exchange_Outlook_Receive_Mail | Exchange_Outlook_Send_Mail | Exchange_Outlook_Session_Start | Facebook | Facebook_Android | Facebook_Android_Chat_Session | Facebook_API | Facebook_Chrome | Facebook_GET_Home_Page | Facebook_iOS | Facebook_iOS_Chat_Session | Facebook_Japanese | Farmville | Financial_IMAPv4_Advanced | Financial_POP3_Advanced | Financial_SMB_Client_File_Download | Financial_SMBv2_File_Download | Financial_SMTP_Email | Finger | FIX_50SP2_Order_Session | FIX_50SP2_Session | FIX_Session | FIXT_Session | flame | Flash_Enterprise | Flickr | Flickr_Login | Fring | FTP | FTP_Active_mode | FTP_Cisco_EMIX | FTP_Enterprise | FW_HTTP_Audio | FW_HTTP_Text | FW_Images | FW_IPS_HTTP_1_7K | FW_IPS_HTTP_10K | FW_IPS_HTTP_10K_w_Delay | FW_IPS_HTTP_10Requests_Loop | FW_IPS_HTTP_21K | FW_IPS_HTTP_21K_w_Delay | FW_IPS_HTTP_4_5K | FW_IPS_HTTP_44K | FW_IPS_HTTP_Open | FW_Max_HTTP_TPS | FW_Small_Images | Gadu_Gadu_Unencrypted_IM | Giphy_Jan_17 | GMX_Mail_Aug_16 | GMX_Mail_Aug_16_Send_Message | GMX_Mail_Aug_16_Send_Message_with_Attachme | GMX_Mail_Aug_16_View_Message | GMX_Mail_Aug_16_View_Message_with_Attachme | GMX_Webmail | Gnutella | Gnutella_v06 | GoDaddy_Manage_Account_Details_and_Product | GoDaddy_Shop_for_Domain_Names_Nov17 | GoDaddy_Use_Website_Builder_Tool_Nov17 | Google_Analytics | Google_App_Engine | Google_App_Engine_Create_and_Deploy_App | Google_App_Engine_Test_App | Google_Cache | Google_Cache_Directly_Access_the_Cached_Ve | Google_Cache_Search_and_Access_Cached_Vers | Google_Calendar_Aug_14 | Google_Cloud_Storage | Google_Cloud_Storage_Registration | Google_Cloud_Storage_Tutorial | Google_Docs | Google_Docs_Create_Document_and_Download_a | Google_Docs_Edit_Document_and_Rename_it | Google_Drive_Aug_17 | Google_Drive_June_2014 | Google_Earth_Search | Google_Hangouts | Google_Hangouts_Phone_Call | Google_Hangouts_Text_Chat | Google_Hangouts_Video_Call | Google_Location_Services | Google_Mail | Google_Mail_Chinese | Google_Mail_French | Google_Mail_German | Google_Mail_GET_Index | Google_Mail_Italian | Google_Mail_Japanese | Google_Mail_Spanish | Google_Map_Search | Google_Photos_July_2017 | Google_Play_LTE_Mix | Google_Play_Sandvine_Bandwidth | Google_Play_Search_View_and_Download | Google_Plus_Jul_14 | Google_Safe_Browsing | Google_Search | Google_Search_GET_Home_Page | Google_Search_LTE_Mix | Google_Sheets_Oct_17 | Google_Slides_Sept_17 | Google_Voice_Actions | Google_Voice_Actions_Google_Search | Google_Voice_Actions_Phone_Options | GoogleEarthPro_Navigate_the_Globe_Feb_18 | Gopher | GoToMeeting_Mobile | GoToMeeting_Mobile_Join_Meeting | GoToMeeting_Mobile_Start_Meeting | GoToMeeting_Web_App | GSM_MAP_Authenticate_and_Update_GPRS_Locat | GSM_MAP_Send_Routing_Info_For_SM | GSM_MAP_Update_Location_Error | GTalk_Chat | GTalk_File_Transfer | GTalk_Login | GTalk_Voicecall | GTP_Simulated | GTPoIPSec_HTTP_LTE | GTPoIPSec_HTTP_Simple | GTPv2_C_Downlink_Data_Notification | GTPv2_C_Network_Initiated_Dedicated_Bearer | GTPv2_C_Release_Access_Bearers | GTPv2_C_UE_Initiated_Dedicated_Bearer_Supe | GTPv2_Simulated | GTPv2C_S1_S11_Session_Setup_and_Teardown_F | GTPv2C_S5_S8_Session_Setup_and_Teardown_Fl | Hadoop_JobTracker | HBO_Now_Bandwidth | HBO_Now_Desktop | HDFS_NameNode_RPC_List_Directory | Hotmail | Hotmail_Chinese | Hotmail_French | Hotmail_German | Hotmail_Italian | Hotmail_Japanese | Hotmail_Persian | Hotmail_Spanish | HTTP_302_Redirect | HTTP_302_Redirect_Juniper | HTTP_Audio | HTTP_Authenticated | HTTP_Compressed | HTTP_Enterprise | HTTP_Financial_ApacheFF | HTTP_Financial_ApacheIE | HTTP_Financial_IIS_FF | HTTP_Financial_IIS_IE | HTTP_Flash_Video | HTTP_Flash_Video_512k_Data | HTTP_Flash_Video_Service_Provider | HTTP_GET_English_Chrome23_Linux_to_Jetty_S | HTTP_GET_English_Chrome23_Linux_to_Lighttp | HTTP_GET_English_Chrome23_Linux_to_Microso | HTTP_GET_English_Chrome23_Linux_to_nginx_S | HTTP_GET_English_Chrome23_OS_X_to_Apache_S | HTTP_GET_English_Chrome23_OS_X_to_Jetty_Se | HTTP_GET_English_Chrome23_OS_X_to_Lighttpd | HTTP_GET_English_Chrome23_OS_X_to_Microsof | HTTP_GET_English_Chrome23_OS_X_to_nginx_Se | HTTP_GET_English_Chrome23_Windows_7_to_Apa | HTTP_GET_English_Chrome23_Windows_7_to_Jet | HTTP_GET_English_Chrome23_Windows_7_to_Lig | HTTP_GET_English_Chrome23_Windows_7_to_Mic | HTTP_GET_English_Chrome23_Windows_7_to_ngi | HTTP_GET_English_Chrome24_Linux_to_Jetty_S | HTTP_GET_English_Chrome24_Linux_to_Lighttp | HTTP_GET_English_Chrome24_Linux_to_Microso | HTTP_GET_English_Chrome24_Linux_to_nginx_S | HTTP_GET_English_Chrome24_OS_X_to_Apache_S | HTTP_GET_English_Chrome24_OS_X_to_Jetty_Se | HTTP_GET_English_Chrome24_OS_X_to_Lighttpd | HTTP_GET_English_Chrome24_OS_X_to_Microsof | HTTP_GET_English_Chrome24_OS_X_to_nginx_Se | HTTP_GET_English_Chrome24_Windows_7_to_Apa | HTTP_GET_English_Chrome24_Windows_7_to_Jet | HTTP_GET_English_Chrome24_Windows_7_to_Lig | HTTP_GET_English_Chrome24_Windows_7_to_Mic | HTTP_GET_English_Chrome24_Windows_7_to_ngi | HTTP_GET_English_Chrome25_Linux_to_Jetty_S | HTTP_GET_English_Chrome25_Linux_to_Lighttp | HTTP_GET_English_Chrome25_Linux_to_Microso | HTTP_GET_English_Chrome25_Linux_to_nginx_S | HTTP_GET_English_Chrome25_OS_X_to_Apache_S | HTTP_GET_English_Chrome25_OS_X_to_Jetty_Se | HTTP_GET_English_Chrome25_OS_X_to_Lighttpd | HTTP_GET_English_Chrome25_OS_X_to_Microsof | HTTP_GET_English_Chrome25_OS_X_to_nginx_Se | HTTP_GET_English_Chrome25_Windows_7_to_Apa | HTTP_GET_English_Chrome25_Windows_7_to_Jet | HTTP_GET_English_Chrome25_Windows_7_to_Lig | HTTP_GET_English_Chrome25_Windows_7_to_Mic | HTTP_GET_English_Chrome25_Windows_7_to_ngi | HTTP_GET_English_Firefox16_Linux_to_Apache | HTTP_GET_English_Firefox16_Linux_to_Lightt | HTTP_GET_English_Firefox16_Linux_to_Micros | HTTP_GET_English_Firefox16_OS_X_to_Jetty_S | HTTP_GET_English_Firefox16_OS_X_to_Lighttp | HTTP_GET_English_Firefox16_OS_X_to_Microso | HTTP_GET_English_Firefox16_OS_X_to_nginx_S | HTTP_GET_English_Firefox16_Windows_7_to_Ap | HTTP_GET_English_Firefox16_Windows_7_to_Je | HTTP_GET_English_Firefox16_Windows_7_to_Li | HTTP_GET_English_Firefox16_Windows_7_to_Mi | HTTP_GET_English_Firefox16_Windows_7_to_ng | HTTP_GET_English_Firefox17_Linux_to_Apache | HTTP_GET_English_Firefox17_Linux_to_Lightt | HTTP_GET_English_Firefox17_Linux_to_Micros | HTTP_GET_English_Firefox17_OS_X_to_Jetty_S | HTTP_GET_English_Firefox17_OS_X_to_Lighttp | HTTP_GET_English_Firefox17_OS_X_to_Microso | HTTP_GET_English_Firefox17_OS_X_to_nginx_S | HTTP_GET_English_Firefox17_Windows_7_to_Ap | HTTP_GET_English_Firefox17_Windows_7_to_Je | HTTP_GET_English_Firefox17_Windows_7_to_Li | HTTP_GET_English_Firefox17_Windows_7_to_Mi | HTTP_GET_English_Firefox17_Windows_7_to_ng | HTTP_GET_English_Firefox18_Linux_to_Apache | HTTP_GET_English_Firefox18_Linux_to_Lightt | HTTP_GET_English_Firefox18_Linux_to_Micros | HTTP_GET_English_Firefox18_OS_X_to_Jetty_S | HTTP_GET_English_Firefox18_OS_X_to_Lighttp | HTTP_GET_English_Firefox18_OS_X_to_Microso | HTTP_GET_English_Firefox18_OS_X_to_nginx_S | HTTP_GET_English_Firefox18_Windows_7_to_Ap | HTTP_GET_English_Firefox18_Windows_7_to_Je | HTTP_GET_English_Firefox18_Windows_7_to_Li | HTTP_GET_English_Firefox18_Windows_7_to_Mi | HTTP_GET_English_Firefox18_Windows_7_to_ng | HTTP_GET_English_Firefox19_Linux_to_Apache | HTTP_GET_English_Firefox19_Linux_to_Lightt | HTTP_GET_English_Firefox19_Linux_to_Micros | HTTP_GET_English_Firefox19_OS_X_to_Jetty_S | HTTP_GET_English_Firefox19_OS_X_to_Lighttp | HTTP_GET_English_Firefox19_OS_X_to_Microso | HTTP_GET_English_Firefox19_OS_X_to_nginx_S | HTTP_GET_English_Firefox19_Windows_7_to_Ap | HTTP_GET_English_Firefox19_Windows_7_to_Je | HTTP_GET_English_Firefox19_Windows_7_to_Li | HTTP_GET_English_Firefox19_Windows_7_to_Mi | HTTP_GET_English_Firefox19_Windows_7_to_ng | HTTP_GET_English_IE8_Windows_7_to_Apache_S | HTTP_GET_English_IE8_Windows_7_to_Jetty_Se | HTTP_GET_English_IE8_Windows_7_to_Lighttpd | HTTP_GET_English_IE8_Windows_7_to_Microsof | HTTP_GET_English_IE8_Windows_7_to_nginx_Se | HTTP_GET_English_IE9_Windows_7_to_Apache_S | HTTP_GET_English_IE9_Windows_7_to_Jetty_Se | HTTP_GET_English_IE9_Windows_7_to_Lighttpd | HTTP_GET_English_IE9_Windows_7_to_Microsof | HTTP_GET_English_IE9_Windows_7_to_nginx_Se | HTTP_GET_English_Opera11_Linux_to_Apache_S | HTTP_GET_English_Opera11_Linux_to_Jetty_Se | HTTP_GET_English_Opera11_Linux_to_Lighttpd | HTTP_GET_English_Opera11_Linux_to_Microsof | HTTP_GET_English_Opera11_Linux_to_nginx_Se | HTTP_GET_English_Opera11_OS_X_to_Apache_Se | HTTP_GET_English_Opera11_OS_X_to_Jetty_Ser | HTTP_GET_English_Opera11_OS_X_to_Microsoft | HTTP_GET_English_Opera11_OS_X_to_nginx_Ser | HTTP_GET_English_Opera11_Windows_7_to_Apac | HTTP_GET_English_Opera11_Windows_7_to_Jett | HTTP_GET_English_Opera11_Windows_7_to_Ligh | HTTP_GET_English_Opera11_Windows_7_to_Micr | HTTP_GET_English_Opera11_Windows_7_to_ngin | HTTP_GET_English_Opera12_Linux_to_Apache_S | HTTP_GET_English_Opera12_Linux_to_Jetty_Se | HTTP_GET_English_Opera12_Linux_to_Lighttpd | HTTP_GET_English_Opera12_Linux_to_Microsof | HTTP_GET_English_Opera12_Linux_to_nginx_Se | HTTP_GET_English_Opera12_OS_X_to_Apache_Se | HTTP_GET_English_Opera12_OS_X_to_Jetty_Ser | HTTP_GET_English_Opera12_OS_X_to_Microsoft | HTTP_GET_English_Opera12_OS_X_to_nginx_Ser | HTTP_GET_English_Opera12_Windows_7_to_Apac | HTTP_GET_English_Opera12_Windows_7_to_Jett | HTTP_GET_English_Opera12_Windows_7_to_Ligh | HTTP_GET_English_Opera12_Windows_7_to_Micr | HTTP_GET_English_Opera12_Windows_7_to_ngin | HTTP_GET_English_Safari5_OS_X_to_Apache_Se | HTTP_GET_English_Safari5_OS_X_to_Jetty_Ser | HTTP_GET_English_Safari5_OS_X_to_Microsoft | HTTP_GET_English_Safari5_OS_X_to_nginx_Ser | HTTP_GET_English_Safari5_Windows_7_to_Apac | HTTP_GET_English_Safari5_Windows_7_to_Jett | HTTP_GET_English_Safari5_Windows_7_to_Ligh | HTTP_GET_English_Safari5_Windows_7_to_Micr | HTTP_GET_English_Safari5_Windows_7_to_ngin | HTTP_GET_English_Safari6_OS_X_to_Apache_Se | HTTP_GET_English_Safari6_OS_X_to_Jetty_Ser | HTTP_GET_English_Safari6_OS_X_to_Microsoft | HTTP_GET_English_Safari6_OS_X_to_nginx_Ser | HTTP_GET_HTML5_Text_File | HTTP_GET_HTML5_Text_File_Deprecated | HTTP_GET_Text_File | HTTP_Live_Streaming | HTTP_Live_Streaming_HLS | HTTP_LTE_Mix | HTTP_Mobile_Europe | HTTP_Mobile_Europe_with_iPhone | HTTP_Mobile_North_America | HTTP_Mobile_North_America_with_iPhone | HTTP_NTLM_Authenticated | HTTP_Pages | HTTP_Persistent_Session | HTTP_Pipelining | HTTP_POST_PDF_File | HTTP_POST_Web_Login | HTTP_Progressive_Download | HTTP_Raw_Messages | HTTP_Redirect | HTTP_Request | HTTP_RMIX_130K | HTTP_RMIX_25K | HTTP_RMIX_30K | HTTP_Server_Requests | HTTP_Service_Provider | HTTP_Text | HTTP_Text_over_SCTP | HTTP_Text_over_SCTP_over_UDP | HTTP_VE_MAX_Bandwidth | HTTP_VE_MAX_Session | HTTP_Video | HTTPS_100k | HTTPS_10k | HTTPS_Dropbox_Simulated | HTTPS_LTE_Mix | HTTPS_Simulated_512k_Data | HTTPS_Simulated_Enterprise | HTTPS_Simulated_Facebook_Messenger | HTTPS_Simulated_LINE_Basic_Audio_Call | HTTPS_Simulated_LINE_Chat | HTTPS_Simulated_Service_Provider | Hulu_Bandwidth | Hulu_Desktop | iCloudWeb_Push_Notification_Service | ICQ | ICQ_75 | ICQ_76 | ICQ_77 | ICQ_7M | ICQ_80 | ICQ_80_Chinese | ICQ_80_French | ICQ_80_German | ICQ_80_Italian | ICQ_80_Japanese | ICQ_80_Persian | ICQ_80_Spanish | Ident | IEC104 | IMAP | IMAP_Cisco_EMIX | IMAP_LTE_Mix | IMAP_RMIX_16K | IMAP_RMIX_4K | IMAP_RMIX_90K | IMAPv4_Advanced | IMAPv4_Advanced_Chinese | IMAPv4_Advanced_French | IMAPv4_Advanced_German | IMAPv4_Advanced_Italian | IMAPv4_Advanced_Japanese | IMAPv4_Advanced_Persian | IMAPv4_Advanced_Spanish | iMessage_Send_File_Message | iMessage_Send_Text_Message | Inetd_Diagnostic_Services | Informix_Database | Instacart | Instacart_Login_Logout | Instagram_Bandwidth | Instagram_Nov_2014 | IPFIX | IPMI | IPP_Print_Request | IPS_HTTP_Audio | IPS_HTTP_Text | IPS_HTTP_Video | IPS_Images | IPS_Small_Images | IRC_Channel_Join_Chat | IRC_Login | IRC_Login_Auth | IRC_Login_Auth_Failure | IRC_Private_Chat | iSCSI_Read_and_Write | ITCH_NASDAQ_Trading | iTunes_Desktop_App_Store | iTunes_Desktop_App_Store_Feb18 | iTunes_Desktop_Music | iTunes_Mobile_App_Store | iTunes_Mobile_Music | Jabber_Chat | JIRA_Create_Issue | JIRA_List_Issues | Jira_Service_Desk_Help_Center_Issue_Oct17 | Jira_Service_Desk_Issue_Management_Oct17 | Jira_Service_Desk_Project_Management_Oct17 | KakaoTalk_Chat | Kodi_Sep_17_Install_Add_ons | Kodi_Sep_17_Play_Audio | Kodi_Sep_17_Play_Video | Laposte_Webmail_1307 | LDAP | LDAP_SASL_Auth | LinkedIn | Linkedin_1301 | LinkedIn_Dec17_Manage_Connections | LinkedIn_Dec17_Send_Message | Locky_Malware_Infection_Traffic | LPD | LTE_HTTP_Simple_ENB_MME_vs_SGW_PGW_IPV4_IP | Lync_2013_SIPe_Initiate_IM_Chat_Uncompress | Lync_Audio_Video | Mailru | Mailru_2013 | Manufacturing_Message_Specification_MMS | Manufacturing_Message_Specification_MMS_Wr | MAX_Bandwidth_HTTP | MAX_HTTP_Packets_Per_Second | MAX_Raw_Packets_Per_Second | Memcached_Set_and_Get_Key_Example | Memcached_Set_Get_Delete_operations | Meraki_Configure_Network_Nov17 | Meraki_Manage_MDM_Network_Nov17 | Meraki_Monitor_Devices_Nov17 | Message_Session_Relay_Protocol_MSRP | MGCP_Residential_Gateway_Connection_Deleti | Microsoft_Azure | Microsoft_Azure_Create_App | Microsoft_Azure_Sign_Up | Microsoft_OneDrive_Mar_15 | Microsoft_Smooth_Streaming_Play_Clips_with | Microsoft_Smooth_Streaming_Play_Fragments | Microsoft_Update | Minecraft_189_Login_Sequence_to_Multiplaye | Minecraft_189_Server_List_Ping | Mirai_Botnet_DNS_Flood_Attack | Mirai_Botnet_HTTP_Flood_Attack | Mirai_Botnet_UDP_Flood_Attack | Mirai_Botnet_UDP_Plain_Flood_Attack | Mirai_Botnet_Valve_Source_Engine_Query_Flo | MMS_MM1_WAP_HTTP | Modbus | Modbus_Examples | MongoDB_Demo_Super_Flow | MongoDB_Insert_Document | MongoDB_Shell_Connect_Disconnect | MongoDB_Update_Document | MQTT_Connect_and_PING_between_Publish | MQTT_Connect_and_Publish | MQTT_Connect_and_Subscribe_Publish | MS_SQL_Create | MS_SQL_Delete | MS_SQL_Drop | MS_SQL_Insert | MS_SQL_Server | MS_SQL_Server_Advanced | MS_SQL_Update | MS_SQL2012_Advanced | MS_SQL2012_Create_Table | MS_SQL2012_Delete | MS_SQL2012_Drop | MS_SQL2012_Insert | MS_SQL2012_Select | MS_SQL2012_TLS_Advanced | MS_SQL2012_TLS_Create_Table | MS_SQL2012_TLS_Delete | MS_SQL2012_TLS_Drop | MS_SQL2012_TLS_Insert | MS_SQL2012_TLS_Select | MS_SQL2012_TLS_Update | MS_SQL2012_Update | Mxit_Desktop_File_Transfer | Mxit_Desktop_Multiple_Status_Messages | Mxit_Messenger_For_Windows_PC | MySpace_HTTP_Flash_Video | MySQL_Database_Advanced | MySQL_Databse | NetBIOS_Session | Netflix_July_2017 | Netflix_Login_Logout_July_2017 | Netflix_Play_Movie_July_2017 | Netflix_Service_Provider | Netflow_V5 | Netflow_V7 | Netflow_V9 | Netflow_V9_Custom | Netflow_V9_IPv6 | NFS | Niconico_Nov_2013 | nntp | NTP_Synchronization | NTPv2 | NTPv2_Amplification | OCSP_over_HTTP_Multiple_OCSP_Requests | Office_365_Excel_Jul_15 | Office_365_Excel_Jul_15_Create_Workbook | Office_365_Excel_Jul_15_Open_Workbook | Office_365_Excel_Jul_17_Create_Workbook | Office_365_Excel_Jul_17_Open_Workbook | Office_365_OneNote_Jul_15 | Office_365_OneNote_Sep_17 | Office_365_OneNote_Sep_17_Create_and_Edit | Office_365_Outlook_Calendar_Jul_15 | Office_365_Outlook_Calendar_Jul_15_Create | Office_365_Outlook_Calendar_Jul_15_Search | Office_365_Outlook_Mail_Jun_15 | Office_365_Outlook_Mail_Jun_15_Send_Messag | Office_365_Outlook_Mail_Jun_15_View_Messag | Office_365_Outlook_People_Jul_15 | Office_365_Outlook_People_Jul_15_Create_an | Office_365_Outlook_People_Jul_15_Search_fo | Office_365_Outlook_Tasks_Jul_15 | Office_365_Outlook_Tasks_Jul_15_Create_and | Office_365_Outlook_Tasks_Jul_15_Mark_task | Office_365_Outlook_Tasks_Sep_17 | Office_365_Outlook_Tasks_Sep_17_Create_and | Office_365_Outlook_Tasks_Sep_17_Mark_task | Office_365_PowerPoint_Jul_15 | Office_365_PowerPoint_Jul_15_Create_Presen | Office_365_PowerPoint_Jul_15_Open_Presenta | Office_365_Sway_Jul_15 | Office_365_Sway_Jul_15_Configure | Office_365_Sway_Jul_15_Create_Presentation | Office_365_Sway_Jul_15_Edit_Presentation | Office_365_Sway_Jul_15_Preview_Presentatio | Office_365_Word_Jul_15 | Office_365_Word_Jul_17 | Office_365_Word_Jul_17_Create_File | Okazii_130125 | OPC_UA_Binary_Open_Secure_Channel | OPC_UA_Binary_Secure_Get_Endpoints_Respons | OPC_UA_Binary_with_Error_Message | OpenFlow_Demo_Superflow | OpenFlow_Switch_Startup_v10 | OpenStack_Swift_Demo_Super_Flow | Oracle_Database | Oracle_Database_Advanced | Oracle_Database_Create_Table | Oracle_Database_Delete | Oracle_Database_Drop_Table | Oracle_Database_Insert | Oracle_Database_Update | Oracle_Enterprise | OUCH41 | Outlook_Web_Access | Outlook_Web_Access_Chinese | Outlook_Web_Access_French | Outlook_Web_Access_German | Outlook_Web_Access_Italian | Outlook_Web_Access_Japanese | Outlook_Web_Access_Persian | Outlook_Web_Access_Spanish | OWAMP_Session | Pandora | Pandora_iPhone | Pandora_LTE_Mix | Pandora_Sandvine_Bandwidth | Paypal | PeerGuardian_Update | Perforce_Add_New_File | Perforce_Create_Changelist | Perforce_Submit_Changelist | Perforce_Sync_File | Perforce_Ticket_Based_Authentication | Pinterest_Jun17 | Pinterest_Photo_Upload_Jun17 | Pinterest_Search_and_Pin_Jun17 | POP3 | POP3_512 | POP3_Advanced | POP3_Chinese | POP3_French | POP3_German | POP3_Italian | POP3_Japanese | POP3_LTE_Mix | POP3_Persian | POP3_RMIX_16K | POP3_RMIX_4K | POP3_RMIX_90K | POP3_Spanish | PortMapper | POS_FIle_XFER_SMB2 | PostgreSQL | PostgreSQL_Create_Table | PostgreSQL_Delete | PostgreSQL_Drop_Table | PostgreSQL_Insert | PostgreSQL_Update | PPLive_Enterprise | PPTP_Establish_Session | QQ_IM_Chat | QUIC_Demo_Superflow | QUIC_Simple_HTTP_Stream | Quote_of_the_DayTCP | Quote_of_the_DayUDP | RADIUS | RADIUS_Access | RADIUS_Access_IPv6 | RADIUS_IPv4_and_IPv6 | RADIUS_IPv6 | Raw | Raw_25m_Data | Raw_Enterprise | Raw_Service_Provider | Reddit | Reddit_Account_Management_Feb_18 | Reddit_Browse_Content_Feb_18 | Remote_Desktop_Protocol | Resiliency_Sessions_per_Second | Rexec | RFB | RIP_v1 | RIPv2 | Rlogin | Rsh | RSS_Ixia_Feed | RSS_Multi_Feed | Rsync | RTMP | RTMP_Audio_Data_127K | RTMP_Audio_Data_1K | RTMP_Bandwidth | RTMP_Chunk | RTMP_Handshake | Rusers | S102 | S1AP_Authentication_Failure | S1AP_Authentication_Reject | S1AP_Handover_Preparation_Failure | S1AP_S1_Setup | S1AP_UE_Detach | S1AP_UE_Initial_Attach | S7comm_Advanced_Operations | S7comm_Block_List_Operations | S7comm_Download_Block | S7comm_Read_PLC_Status | S7comm_Read_Set_PLC_time | S7comm_Var_Service | Saavn_Music_February_2016 | Saavn_Music_February_2016_Log_In_and_Brows | Saavn_Music_February_2016_Play_Radio | Saavn_Music_February_2016_Play_Songs | Salesforce | Salesforce_Login_Logout | Sandvine_BlackBerry_Bandwidth | SAP | Seamless | Seamless_Login_Logout | ShareFile_Apr_17 | ShareFile_Apr_17_Upload_Download_File | SharePoint_Sep_2014 | Sina_Weibo_Feb_2014 | Sina_Weibo_Post_Feb_2014 | SIP_RTP_Voice_call_w_ENUM | SIP_Spoofed_Invite | Skype_1_minute_call | Skype_14_Call | Skype_14_Login | Skype_14_User_Search | Skype_V5_Sandvine_Bandwidth | Skype_V6_Instant_Messaging_Simple_Chat | SMB_Client_File_Download | SMB_Enterprise | SMB_Failed_Authentication | SMB_Null_Session | SMBv3_Encrypted_File_Download | SMBv3_Establish_Alternate_Channel | SMBv3_Secure_Negotiation | SMPP_Receive | SMPP_Transmit | SMTP_Authenticated_with_Verify | SMTP_Authentication_Failure | SMTP_Cisco_EMIX | SMTP_Email | SMTP_Email_Chinese | SMTP_Email_French | SMTP_Email_German | SMTP_Email_Italian | SMTP_Email_Japanese | SMTP_Email_Persian | SMTP_Email_Proxy_Support | SMTP_Email_Spanish | SMTP_Enterprise | SMTP_RMIX_16K | SMTP_RMIX_4K | SMTP_RMIX_90K | SMTPS | Snapchat_Bandwidth | Snapchat_May_2015 | Snapchat_May_2015_Send_Image | Snapchat_May_2015_Send_Movie | Snapdeal | Snapdeal_Add_items_to_cart | Snapdeal_Browse_website | SNMP | SNMPv1 | SNMPv2c | SNMPv3 | SOCKS_5_Connect_No_User_Authentication | SOCKS_5_Connect_with_User_Authentication | SopCast_P2P_Streaming | Soulseek_Search_and_Queue | SPDY_v2_Simple_GET_Request | SPDY_v2_Simple_POST_Request | SPDY_v2_Stream_Reset_CANCEL | SPDY_v2_Stream_Reset_FLOW_CONTROL_ERROR | SPDY_v2_Stream_Reset_INTERNAL_ERROR | SPDY_v2_Stream_Reset_INVALID_STREAM | SPDY_v2_Stream_Reset_PROTOCOL_ERROR | SPDY_v2_Stream_Reset_REFUSED_STREAM | SPDY_v2_Stream_Reset_UNSUPPORTED_VERSION | SQLMon | SSDP_M_SEARCH_Req_Resp_Unicast | SSH | SSH_Enterprise | Standard_Media_March_2016 | Standard_Media_March_2016_Print_Article | Standard_Media_March_2016_Recommend_and_Co | Standard_Media_March_2016_Share_Article | Steam_Login | STOMP_12 | STOMP_12_10_Backwards_Compatibility | STOMP_12_Error | SunRPC_BIND | Sybase_Database | Syslog | TACACS_Accounting | TACACS_Authentication | TACACS_Authorization | Telnet | Telnet_Failed_Login | The_Pirate_Bay_uTorrent_Download | The_Weather_Channel_Nov_2016 | Tinder | Tinder_Swiping | Tor_Directory_Listing | TR_069_Device_Initialization | TR_069_Firmware_Download | TR_069_Reboot | TUMe_Audio_Share | TUMe_IM | TUMe_Location_Share | TUMe_Photo_Share | TUMe_Register_Device | TvAnts_P2P_Streaming | TVUPlayer_P2P_Streaming | TWAMP_Session | Twitchtv | Twitter_RSS_Mobile | Uber_June_2015_Add_Location | Uber_June_2015_Registration | uTorrent_DHT_File_Download | VE_Max_Bandwidth_TLS1_2_AES_256_CBC_SHA | VE_Max_CC_TLS1_2_3DES_EDE_CBC_SHA | VE_Max_TPS_Superflow | VE_Max_TPS_TLS1_2_AES_256_CBC_SHA | VLC_HTTP_Flash_File_Streaming | VLC_HTTP_MPG_File_Streaming | VMware_VMotion | WAP_12 | WAP_20 | WebDAV | WebDAV_Errors | Webex | WebEx_Meeting | Webmail_Orange | WebSocket_Connection | WebSocket_Message_Generation | WebSocket_Ping_Pong | WhatsApp | WhatsApp_25MB | WhatsApp_Voice_Call | WHOIS | Wikipedia | Windows_Live_Mail | Windows_Live_Messenger_v16 | Windows_Live_Messenger_v16_Chinese | Windows_Live_Messenger_v16_French | Windows_Live_Messenger_v16_German | Windows_Live_Messenger_v16_Italian | Windows_Live_Messenger_v16_Japanese | Windows_Live_Messenger_v16_Persian | Windows_Live_Messenger_v16_Spanish | Windows_Live_MSN_Messenger_v15 | Winny | WORDPRESS_OCTOBER_2013_131016 | World_of_Warcraft | World_of_Warcraft_Patch_Update | WWW_File_Share_Pro_March_2016 | WWW_File_Share_Pro_March_2016_Download | WWW_File_Share_Pro_March_2016_Upload | Xbox_Facebook | Xbox_Live | Xbox_Zune_Video | XMPP_Facebook_Chat | XMPP_Jabber_Demo_Superflow | XMPP_Jabber_Demo_Superflow_with_PKCS7_Encr | XMPP_Jabber_Demo_Superflow_with_PKCS7_Sign | Xunlei_File_Download | Yahoo_HTTP_Flash_Video | Yahoo_IM_Voice_Chat_V10 | Yahoo_Mail | Yahoo_Mail_Chinese | Yahoo_Mail_French | Yahoo_Mail_German | Yahoo_Mail_Italian | Yahoo_Mail_Japanese | Yahoo_Mail_Persian | Yahoo_Mail_Spanish | Yahoo_Search | Yahoo_Search_GET_Home_Page | Yammer_Nov_2016 | Youtube_Bandwidth | YouTube_Music_Bandwidth | YouTube_Music_Play_Video | YouTube_September_2016 | YouTube_September_2016_Bandwidth | YouTube_September_2016_Browse_Sections | YouTube_September_2016_Play_Video | YouTube_Service_Provider | Zalo_VOIP | Zendesk_Nov17 | Zendesk_Nov17_Create_New_Ticket | ZeroAccess_botnet | ZeuS_Botnet])): This object specifies the flow(s) to be added.
Raises
------
- NotFoundError: The requested resource does not exist on the server
- ServerError: The server has encountered an uncategorized error condition
"""
payload = { "Arg1": self.href }
for i in range(len(args)): payload['Arg%s' % (i + 2)] = args[i]
for item in kwargs.items(): payload[item[0]] = item[1]
return self._execute('addAppLibraryFlow', payload=payload, response_object=None)
def AddAppLibraryFlowEx(self, *args, **kwargs):
"""Executes the addAppLibraryFlowEx operation on the server.
This exec adds a flow to an application traffic profile.
addAppLibraryFlowEx(Arg2=list)
------------------------------
- Arg2 (list(str)): This object specifies an array of the flow names to be added.
Raises
------
- NotFoundError: The requested resource does not exist on the server
- ServerError: The server has encountered an uncategorized error condition
"""
payload = { "Arg1": self.href }
for i in range(len(args)): payload['Arg%s' % (i + 2)] = args[i]
for item in kwargs.items(): payload[item[0]] = item[1]
return self._execute('addAppLibraryFlowEx', payload=payload, response_object=None)
def DistributeFlowsEvenly(self):
"""Executes the distributeFlowsEvenly operation on the server.
This exec distributes the percentage for each flow evenly.
Raises
------
- NotFoundError: The requested resource does not exist on the server
- ServerError: The server has encountered an uncategorized error condition
"""
payload = { "Arg1": self.href }
return self._execute('distributeFlowsEvenly', payload=payload, response_object=None)
def RemoveAppLibraryFlow(self, *args, **kwargs):
"""Executes the removeAppLibraryFlow operation on the server.
This exec removes a flow from an application traffic profile.
removeAppLibraryFlow(Arg2=list)
-------------------------------
- Arg2 (list(str[7SHIFTS_Manager_Access | 7SHIFTS_Quick_Schedule_Review | ActiveSync_Unencrypted | ADP_Login_Pages | AIM6_Chat | AIM6_File_Transfer | Airbnb | Alibaba_May_15 | Amazon_1302 | Amazon_EC2_API_Demo | Amazon_EC2_Create_Key_Pair_Flow | Amazon_EC2_Start_Instances_Flow | Amazon_GET_Home_Page | Amazon_S3_Retrieve_Objects_Flow | Amazon_Video | Android_Market_Search_View_and_Download | Angry_Birds_Friends_September_2015_Faceboo | Angry_Birds_Friends_September_2015_Play | AngryBirds_Friends_Sep_15_In_app_purchase | AOL_Instant_Messenger | AOL_Webmail | AOL_Webmail_Deprecated | Apache_Cassandra_DB | Apache_Cassandra_DB_Start_Up | Apache_Cassandra_DB_Start_Up_and_Registrat | AppleJuice | AppLine_Demo_Superflow | AppLine_Simple_Chat | Appogee_Quick_Calendar_Review | Appogee_Team_Manager_Access | Appointy_Manager_Access | Appointy_Quick_Schedule_Review | Ares_v2183042_Login_File_Download | Average_Web_Page_2011 | AWS_Console_Oct17 | AWS_EC2_Nov17 | AWS_S3_Oct17 | BACnet_IP_Read_File | BACnet_IP_Who_Has_I_Have_Object_Query | BACnet_IP_Who_Is_I_Am_Device_Discovery | BACnet_IP_Write_File | Baidu_Access_Network_of_Web_Portals_Feb_18 | Baidu_Search_Oct_16 | Baidu_Tieba_Jun_16_Access_a_Tieba | Baidu_Tieba_Jun_16_Login_and_Logout | Baidu_Tieba_Jun_16_Post_a_Thread | Bandwidth_BitTorrent_File_Download | Bandwidth_eDonkey | Bandwidth_HTTP | Bandwidth_HTTP_over_SCTP | Bandwidth_HTTP_over_SCTP_over_UDP | Bandwidth_IMAPv4 | Bandwidth_POP3 | Bandwidth_QUIC | Bandwidth_Radius | Bandwidth_Raw | Bandwidth_Telnet | Bandwidth_uTorrent_DHT_File_Download | BBC_iPlayer | BBC_iPlayer_Radio | BGP_IGP_Open_Advertise_Routes | BGP_IGP_Withdraw_Routes | Bing_Search | Bitcoin_Heartbeat | Bitcoin_Synchronization | Bitcoin_Transaction_Information | BitTorrent_Ares_v217_File_Download | BitTorrent_BitComet_v126_File_Download | BitTorrent_Blizzard_File_Download | BitTorrent_Cisco_EMIX | BitTorrent_Enterprise | BitTorrent_File_Download | BitTorrent_LimeWire_v5516_File_Download | BitTorrent_RMIX_5M | BitTorrent_Service_Provider | BitTorrent_Transmission_v222_File_Download | BitTorrent_v720_File_Download | BitTorrent_Vuse_v460_File_Download | BitTorrent_Xunlei_v716_File_Download | BlackBerry_Enterprise_Send_E_Mail | BlackBerry_Enterprise_Send_E_Mail_French | BlackBerry_Enterprise_Send_E_Mail_German | BlackBerry_Enterprise_Send_E_Mail_Italian | BlackBerry_Enterprise_Send_E_Mail_Japanese | BlackBerry_Enterprise_Send_E_Mail_Spanish | Blogspot_Aug_15 | Blogspot_Aug_15_Create_and_Publish_a_new_B | Blogspot_Aug_15_Delete_Blog | Box_Oct_17_Collaborate_on_Files | BuzzFeed_Nov_2016 | CandyCrush_Sep_15 | Capwap | Capwap_Configuration | Capwap_Echo | Certify_Jun_17 | Certify_Jun_17_Create_New_Report | Chargen_TCP | Chargen_UDP | Cisco_Spark_Send_File | Cisco_Spark_Text_Chat | Cisco_Spark_Video_Call | Citrix | Client_Receives_Audio_Data_from_Server_Usi | ClientSim_HTTP_Request_BMP | ClientSim_HTTP_Request_EXE | ClientSim_HTTP_Request_GIF | ClientSim_HTTP_Request_HTML | ClientSim_HTTP_Request_JPG | ClientSim_HTTP_Request_MP3 | ClientSim_HTTP_Request_PDF | ClientSim_HTTP_Request_PNG | ClientSim_HTTP_Request_RTF | ClientSim_HTTP_Request_WAV | ClientSim_HTTP_Slow_Headers | ClientSim_Microsoft_Smooth_Streaming_Play | Concur_Jan_17 | Confluence_Space_and_Page_Operations_Nov17 | Confluence_Space_Operations_Nov17 | Constrained_Application_Protocol_CoAP | Dailymotion_Aug_17 | Dailymotion_Aug_17_Play_A_Video | Dailymotion_Bandwidth | DailyMotion_Mar_15 | DailyMotion_Mar_15_Search_a_DailyMotion_vi | DailyMotion_Mar_15_Search_and_view_a_video | DailyMotion_Mar_15_Upload_a_video_to_Daily | Daytime_TCP | Daytime_UDP | DB2_Database | DCE_RPC | DCE_RPC_MAPI_Session | DCE_RPC_MAPI_with_File_Attachment | DDoS_SMBLoris | DDoS_SSL_HTTP_Post_Flood | DDoS_SSL_Key_Exchange_Flood | Diameter | Diameter_Rx_Interface | Diameter_S9a_Interface | Discard_TCP | Discord_Dec_17 | Discord_Dec_17_Chat | DNP3_Link_Status | DNP3_Read_Class_0_Data | DNP3_Read_Device_Attributes | DNP3_Time_Sync | DNP3_Unsolicited_Response | DNS | DNS_A_Truncated_Lookup | DNS_AAAA_Truncated_Lookup | DNS_SRV_LDAP_Lookup | DNSSEC_A_Record_Lookup | DocuSign_Access_Website_Dec17 | Doodle_July_2015_Create_poll | Doodle_July_2015_Invite_poll_participants | Doodle_July_2015_Participate_in_poll | Dropbox_Demo_Superflow | Dropbox_Initial_Client_Setup_and_Synchroni | Dropbox_Sync_Get_New_File | Dropbox_Sync_Upload_New_File | Duqu_Botnet | Ebay | eBay_Browse_and_Buy_Items_Feb_18 | Ebay_Jan_2015 | eBay_Manage_Personal_Account_Feb_18 | Ebay_Sign_In_Out_Jan_2015 | Echo_TCP | Echo_UDP | eDonkey_Data_Transfer | eDonkey_Upload | Equation_Group_Cisco_Exploit_Chain | Ethernet_IP_Connected | Ethernet_IP_Unconnected | Evergreen_AOL_Chat_AIM_Aug_17 | Evergreen_AOL_Chat_AIM_Aug_17_Receive_Mess | Evergreen_AOL_Chat_AIM_Aug_17_Send_Message | Evergreen_AOL_Chat_AIM_Jan_14 | Evergreen_AOL_Chat_AIM_Jan_14_Receive_Mess | Evergreen_AOL_Chat_AIM_Jan_14_Send_Message | Evergreen_AOL_Chat_AIM_Jul_17 | Evergreen_AOL_Chat_AIM_Jul_17_Receive_Mess | Evergreen_AOL_Chat_AIM_Jul_17_Send_Message | Evergreen_AOL_Chat_AIM_Jun_17 | Evergreen_AOL_Chat_AIM_Jun_17_Receive_Mess | Evergreen_AOL_Chat_AIM_Jun_17_Send_Message | Evergreen_AOL_Chat_AIM_May_17 | Evergreen_AOL_Chat_AIM_May_17_Receive_Mess | Evergreen_AOL_Chat_AIM_May_17_Send_Message | Evergreen_AOL_Chat_AIM_Sep_17 | Evergreen_AOL_Chat_AIM_Sep_17_Receive_Mess | Evergreen_AOL_Chat_AIM_Sep_17_Send_Message | Evergreen_AOL_Mail_Aug_17 | Evergreen_AOL_Mail_Aug_17_Send_Message | Evergreen_AOL_Mail_Aug_17_Send_Message_wit | Evergreen_AOL_Mail_Aug_17_View_Message | Evergreen_AOL_Mail_Aug_17_View_Message_wit | Evergreen_AOL_Mail_Dec_17 | Evergreen_AOL_Mail_Dec_17_Send_Message | Evergreen_AOL_Mail_Dec_17_Send_Message_wit | Evergreen_AOL_Mail_Dec_17_View_Message | Evergreen_AOL_Mail_Dec_17_View_Message_wit | Evergreen_AOL_Mail_Feb_18 | Evergreen_AOL_Mail_Feb_18_Send_Message | Evergreen_AOL_Mail_Feb_18_Send_Message_wit | Evergreen_AOL_Mail_Feb_18_View_Message | Evergreen_AOL_Mail_Feb_18_View_Message_wit | Evergreen_AOL_Mail_Jan_14 | Evergreen_AOL_Mail_Jan_14_Send_Message | Evergreen_AOL_Mail_Jan_14_Send_Message_wit | Evergreen_AOL_Mail_Jan_14_View_Message | Evergreen_AOL_Mail_Jan_14_View_Message_wit | Evergreen_AOL_Mail_Jan_18 | Evergreen_AOL_Mail_Jan_18_Send_Message | Evergreen_AOL_Mail_Jan_18_Send_Message_wit | Evergreen_AOL_Mail_Jan_18_View_Message | Evergreen_AOL_Mail_Jan_18_View_Message_wit | Evergreen_AOL_Mail_Jul_17 | Evergreen_AOL_Mail_Jul_17_Send_Message | Evergreen_AOL_Mail_Jul_17_Send_Message_wit | Evergreen_AOL_Mail_Jul_17_View_Message | Evergreen_AOL_Mail_Jul_17_View_Message_wit | Evergreen_AOL_Mail_Jun_17 | Evergreen_AOL_Mail_Jun_17_Send_Message | Evergreen_AOL_Mail_Jun_17_Send_Message_wit | Evergreen_AOL_Mail_Jun_17_View_Message | Evergreen_AOL_Mail_Jun_17_View_Message_wit | Evergreen_AOL_Mail_May_17 | Evergreen_AOL_Mail_May_17_Send_Message | Evergreen_AOL_Mail_May_17_Send_Message_wit | Evergreen_AOL_Mail_May_17_View_Message | Evergreen_AOL_Mail_May_17_View_Message_wit | Evergreen_AOL_Mail_Nov_17 | Evergreen_AOL_Mail_Nov_17_Send_Message | Evergreen_AOL_Mail_Nov_17_Send_Message_wit | Evergreen_AOL_Mail_Nov_17_View_Message | Evergreen_AOL_Mail_Nov_17_View_Message_wit | Evergreen_AOL_Mail_Oct_17 | Evergreen_AOL_Mail_Oct_17_Send_Message | Evergreen_AOL_Mail_Oct_17_Send_Message_wit | Evergreen_AOL_Mail_Oct_17_View_Message | Evergreen_AOL_Mail_Oct_17_View_Message_wit | Evergreen_AOL_Mail_Sep_17 | Evergreen_AOL_Mail_Sep_17_Send_Message | Evergreen_AOL_Mail_Sep_17_Send_Message_wit | Evergreen_AOL_Mail_Sep_17_View_Message | Evergreen_AOL_Mail_Sep_17_View_Message_wit | Evergreen_Facebook_Aug_17 | Evergreen_Facebook_Dec_17 | Evergreen_Facebook_Feb_18 | Evergreen_Facebook_Jan_14 | Evergreen_Facebook_Jan_18 | Evergreen_Facebook_Jul_17 | Evergreen_Facebook_Jun_17 | Evergreen_Facebook_May_17 | Evergreen_Facebook_Nov_17 | Evergreen_Facebook_Oct_17 | Evergreen_Facebook_Sep_17 | Evergreen_Gmail_Aug_17 | Evergreen_Gmail_Aug_17_Send_Message | Evergreen_Gmail_Aug_17_Send_Message_with_A | Evergreen_Gmail_Aug_17_View_Message | Evergreen_Gmail_Aug_17_View_Message_with_A | Evergreen_Gmail_Dec_17 | Evergreen_Gmail_Dec_17_Send_Message | Evergreen_Gmail_Dec_17_Send_Message_with_A | Evergreen_Gmail_Dec_17_View_Message | Evergreen_Gmail_Dec_17_View_Message_with_A | Evergreen_Gmail_Feb_18 | Evergreen_Gmail_Feb_18_Send_Message | Evergreen_Gmail_Feb_18_Send_Message_with_A | Evergreen_Gmail_Feb_18_View_Message | Evergreen_Gmail_Feb_18_View_Message_with_A | Evergreen_Gmail_Jan_18 | Evergreen_Gmail_Jan_18_Send_Message | Evergreen_Gmail_Jan_18_Send_Message_with_A | Evergreen_Gmail_Jan_18_View_Message | Evergreen_Gmail_Jan_18_View_Message_with_A | Evergreen_Gmail_Jul_17 | Evergreen_Gmail_Jul_17_Send_Message | Evergreen_Gmail_Jul_17_Send_Message_with_A | Evergreen_Gmail_Jul_17_View_Message | Evergreen_Gmail_Jul_17_View_Message_with_A | Evergreen_Gmail_Jun_17 | Evergreen_Gmail_Jun_17_Send_Message | Evergreen_Gmail_Jun_17_Send_Message_with_A | Evergreen_Gmail_Jun_17_View_Message | Evergreen_Gmail_Jun_17_View_Message_with_A | Evergreen_Gmail_May_17 | Evergreen_Gmail_May_17_Send_Message | Evergreen_Gmail_May_17_Send_Message_with_A | Evergreen_Gmail_May_17_View_Message | Evergreen_Gmail_May_17_View_Message_with_A | Evergreen_Gmail_Nov_17 | Evergreen_Gmail_Nov_17_Send_Message | Evergreen_Gmail_Nov_17_Send_Message_with_A | Evergreen_Gmail_Nov_17_View_Message | Evergreen_Gmail_Nov_17_View_Message_with_A | Evergreen_Gmail_Oct_17 | Evergreen_Gmail_Oct_17_Send_Message | Evergreen_Gmail_Oct_17_Send_Message_with_A | Evergreen_Gmail_Oct_17_View_Message | Evergreen_Gmail_Oct_17_View_Message_with_A | Evergreen_Gmail_Sep_17 | Evergreen_Gmail_Sep_17_Send_Message | Evergreen_Gmail_Sep_17_Send_Message_with_A | Evergreen_Gmail_Sep_17_View_Message | Evergreen_Gmail_Sep_17_View_Message_with_A | Evergreen_Rediffmail_Aug_17 | Evergreen_Rediffmail_Aug_17_Send_Message | Evergreen_Rediffmail_Aug_17_Send_Message_w | Evergreen_Rediffmail_Aug_17_View_Message | Evergreen_Rediffmail_Aug_17_View_Message_w | Evergreen_Rediffmail_Dec_17 | Evergreen_Rediffmail_Dec_17_Send_Message | Evergreen_Rediffmail_Dec_17_Send_Message_w | Evergreen_Rediffmail_Dec_17_View_Message | Evergreen_Rediffmail_Dec_17_View_Message_w | Evergreen_Rediffmail_Feb_18 | Evergreen_Rediffmail_Feb_18_Send_Message | Evergreen_Rediffmail_Feb_18_Send_Message_w | Evergreen_Rediffmail_Feb_18_View_Message | Evergreen_Rediffmail_Feb_18_View_Message_w | Evergreen_Rediffmail_Jan_18 | Evergreen_Rediffmail_Jan_18_Send_Message | Evergreen_Rediffmail_Jan_18_Send_Message_w | Evergreen_Rediffmail_Jan_18_View_Message | Evergreen_Rediffmail_Jan_18_View_Message_w | Evergreen_Rediffmail_Jul_17 | Evergreen_Rediffmail_Jul_17_Send_Message | Evergreen_Rediffmail_Jul_17_Send_Message_w | Evergreen_Rediffmail_Jul_17_View_Message | Evergreen_Rediffmail_Jul_17_View_Message_w | Evergreen_Rediffmail_Jun_17 | Evergreen_Rediffmail_Jun_17_Send_Message | Evergreen_Rediffmail_Jun_17_Send_Message_w | Evergreen_Rediffmail_Jun_17_View_Message | Evergreen_Rediffmail_Jun_17_View_Message_w | Evergreen_Rediffmail_May_17 | Evergreen_Rediffmail_May_17_Send_Message | Evergreen_Rediffmail_May_17_Send_Message_w | Evergreen_Rediffmail_May_17_View_Message | Evergreen_Rediffmail_May_17_View_Message_w | Evergreen_Rediffmail_Nov_17 | Evergreen_Rediffmail_Nov_17_Send_Message | Evergreen_Rediffmail_Nov_17_Send_Message_w | Evergreen_Rediffmail_Nov_17_View_Message | Evergreen_Rediffmail_Nov_17_View_Message_w | Evergreen_Rediffmail_Oct_17 | Evergreen_Rediffmail_Oct_17_Send_Message | Evergreen_Rediffmail_Oct_17_Send_Message_w | Evergreen_Rediffmail_Oct_17_View_Message | Evergreen_Rediffmail_Oct_17_View_Message_w | Evergreen_Rediffmail_Sep_17 | Evergreen_Rediffmail_Sep_17_Send_Message | Evergreen_Rediffmail_Sep_17_Send_Message_w | Evergreen_Rediffmail_Sep_17_View_Message | Evergreen_Rediffmail_Sep_17_View_Message_w | Evergreen_Twitter_Aug_17 | Evergreen_Twitter_Aug_17_Post_Status | Evergreen_Twitter_Aug_17_View_Home_Timelin | Evergreen_Twitter_Dec_17 | Evergreen_Twitter_Dec_17_Post_Status | Evergreen_Twitter_Dec_17_View_Home_Timelin | Evergreen_Twitter_Feb_18 | Evergreen_Twitter_Feb_18_Post_Status | Evergreen_Twitter_Feb_18_View_Home_Timelin | Evergreen_Twitter_Jan_18 | Evergreen_Twitter_Jan_18_Post_Status | Evergreen_Twitter_Jan_18_View_Home_Timelin | Evergreen_Twitter_Jul_17 | Evergreen_Twitter_Jul_17_Post_Status | Evergreen_Twitter_Jul_17_View_Home_Timelin | Evergreen_Twitter_Jun_17 | Evergreen_Twitter_Jun_17_Post_Status | Evergreen_Twitter_Jun_17_View_Home_Timelin | Evergreen_Twitter_May_17 | Evergreen_Twitter_May_17_Post_Status | Evergreen_Twitter_May_17_View_Home_Timelin | Evergreen_Twitter_Nov_17 | Evergreen_Twitter_Nov_17_Post_Status | Evergreen_Twitter_Nov_17_View_Home_Timelin | Evergreen_Twitter_Oct_17 | Evergreen_Twitter_Oct_17_Post_Status | Evergreen_Twitter_Oct_17_View_Home_Timelin | Evergreen_Twitter_Sep_17 | Evergreen_Twitter_Sep_17_Post_Status | Evergreen_Twitter_Sep_17_View_Home_Timelin | Evergreen_Web_ICQ_Aug_17 | Evergreen_Web_ICQ_Aug_17_Receive_Message | Evergreen_Web_ICQ_Aug_17_Send_Message | Evergreen_Web_ICQ_Dec_17 | Evergreen_Web_ICQ_Dec_17_Receive_Message | Evergreen_Web_ICQ_Dec_17_Send_Message | Evergreen_Web_ICQ_Feb_18 | Evergreen_Web_ICQ_Feb_18_Receive_Message | Evergreen_Web_ICQ_Feb_18_Send_Message | Evergreen_Web_ICQ_Jan_18 | Evergreen_Web_ICQ_Jan_18_Receive_Message | Evergreen_Web_ICQ_Jan_18_Send_Message | Evergreen_Web_ICQ_Jul_17 | Evergreen_Web_ICQ_Jul_17_Receive_Message | Evergreen_Web_ICQ_Jul_17_Send_Message | Evergreen_Web_ICQ_Jun_17 | Evergreen_Web_ICQ_Jun_17_Receive_Message | Evergreen_Web_ICQ_Jun_17_Send_Message | Evergreen_Web_ICQ_May_17 | Evergreen_Web_ICQ_May_17_Receive_Message | Evergreen_Web_ICQ_May_17_Send_Message | Evergreen_Web_ICQ_Nov_17 | Evergreen_Web_ICQ_Nov_17_Receive_Message | Evergreen_Web_ICQ_Nov_17_Send_Message | Evergreen_Web_ICQ_Oct_17 | Evergreen_Web_ICQ_Oct_17_Receive_Message | Evergreen_Web_ICQ_Oct_17_Send_Message | Evergreen_Web_ICQ_Sep_17 | Evergreen_Web_ICQ_Sep_17_Receive_Message | Evergreen_Web_ICQ_Sep_17_Send_Message | Evergreen_WindowsLiveMail_Aug_17 | Evergreen_WindowsLiveMail_Aug_17_Send_Mess | Evergreen_WindowsLiveMail_Aug_17_View_Mess | Evergreen_WindowsLiveMail_Dec_17 | Evergreen_WindowsLiveMail_Dec_17_Send_Mess | Evergreen_WindowsLiveMail_Dec_17_View_Mess | Evergreen_WindowsLiveMail_Feb_18 | Evergreen_WindowsLiveMail_Feb_18_Send_Mess | Evergreen_WindowsLiveMail_Feb_18_View_Mess | Evergreen_WindowsLiveMail_Jan_18 | Evergreen_WindowsLiveMail_Jan_18_Send_Mess | Evergreen_WindowsLiveMail_Jan_18_View_Mess | Evergreen_WindowsLiveMail_Jul_17 | Evergreen_WindowsLiveMail_Jul_17_Send_Mess | Evergreen_WindowsLiveMail_Jul_17_View_Mess | Evergreen_WindowsLiveMail_Jun_17 | Evergreen_WindowsLiveMail_Jun_17_Send_Mess | Evergreen_WindowsLiveMail_Jun_17_View_Mess | Evergreen_WindowsLiveMail_May_17 | Evergreen_WindowsLiveMail_May_17_Send_Mess | Evergreen_WindowsLiveMail_May_17_View_Mess | Evergreen_WindowsLiveMail_Nov_17 | Evergreen_WindowsLiveMail_Nov_17_Send_Mess | Evergreen_WindowsLiveMail_Nov_17_View_Mess | Evergreen_WindowsLiveMail_Oct_17 | Evergreen_WindowsLiveMail_Oct_17_Send_Mess | Evergreen_WindowsLiveMail_Oct_17_View_Mess | Evergreen_WindowsLiveMail_Sep_17 | Evergreen_WindowsLiveMail_Sep_17_Send_Mess | Evergreen_WindowsLiveMail_Sep_17_View_Mess | Evergreen_Yahoo_Chat_Aug_17 | Evergreen_Yahoo_Chat_Aug_17_Receive_Messag | Evergreen_Yahoo_Chat_Aug_17_Send_Message | Evergreen_Yahoo_Chat_Dec_17 | Evergreen_Yahoo_Chat_Dec_17_Receive_Messag | Evergreen_Yahoo_Chat_Dec_17_Send_Message | Evergreen_Yahoo_Chat_Feb_18 | Evergreen_Yahoo_Chat_Feb_18_Receive_Messag | Evergreen_Yahoo_Chat_Feb_18_Send_Message | Evergreen_Yahoo_Chat_Jan_18 | Evergreen_Yahoo_Chat_Jan_18_Receive_Messag | Evergreen_Yahoo_Chat_Jan_18_Send_Message | Evergreen_Yahoo_Chat_Jul_17 | Evergreen_Yahoo_Chat_Jul_17_Receive_Messag | Evergreen_Yahoo_Chat_Jul_17_Send_Message | Evergreen_Yahoo_Chat_Jun_17 | Evergreen_Yahoo_Chat_Jun_17_Receive_Messag | Evergreen_Yahoo_Chat_Jun_17_Send_Message | Evergreen_Yahoo_Chat_May_17 | Evergreen_Yahoo_Chat_May_17_Receive_Messag | Evergreen_Yahoo_Chat_May_17_Send_Message | Evergreen_Yahoo_Chat_Nov_17 | Evergreen_Yahoo_Chat_Nov_17_Receive_Messag | Evergreen_Yahoo_Chat_Nov_17_Send_Message | Evergreen_Yahoo_Chat_Sep_17 | Evergreen_Yahoo_Chat_Sep_17_Receive_Messag | Evergreen_Yahoo_Chat_Sep_17_Send_Message | Evergreen_Yahoo_Mail_Aug_17 | Evergreen_Yahoo_Mail_Aug_17_Send_Message | Evergreen_Yahoo_Mail_Aug_17_Send_Message_w | Evergreen_Yahoo_Mail_Aug_17_View_Message | Evergreen_Yahoo_Mail_Aug_17_View_Message_w | Evergreen_Yahoo_Mail_Dec_17 | Evergreen_Yahoo_Mail_Dec_17_Send_Message | Evergreen_Yahoo_Mail_Dec_17_Send_Message_w | Evergreen_Yahoo_Mail_Dec_17_View_Message | Evergreen_Yahoo_Mail_Dec_17_View_Message_w | Evergreen_Yahoo_Mail_Feb_18 | Evergreen_Yahoo_Mail_Feb_18_Send_Message | Evergreen_Yahoo_Mail_Feb_18_Send_Message_w | Evergreen_Yahoo_Mail_Feb_18_View_Message | Evergreen_Yahoo_Mail_Feb_18_View_Message_w | Evergreen_Yahoo_Mail_Jan_18 | Evergreen_Yahoo_Mail_Jan_18_Send_Message | Evergreen_Yahoo_Mail_Jan_18_Send_Message_w | Evergreen_Yahoo_Mail_Jan_18_View_Message | Evergreen_Yahoo_Mail_Jan_18_View_Message_w | Evergreen_Yahoo_Mail_Jul_14 | Evergreen_Yahoo_Mail_Jul_17 | Evergreen_Yahoo_Mail_Jul_17_Send_Message | Evergreen_Yahoo_Mail_Jul_17_Send_Message_w | Evergreen_Yahoo_Mail_Jul_17_View_Message | Evergreen_Yahoo_Mail_Jul_17_View_Message_w | Evergreen_Yahoo_Mail_Jun_17 | Evergreen_Yahoo_Mail_Jun_17_Send_Message | Evergreen_Yahoo_Mail_Jun_17_Send_Message_w | Evergreen_Yahoo_Mail_Jun_17_View_Message | Evergreen_Yahoo_Mail_Jun_17_View_Message_w | Evergreen_Yahoo_Mail_May_17 | Evergreen_Yahoo_Mail_May_17_Send_Message | Evergreen_Yahoo_Mail_May_17_Send_Message_w | Evergreen_Yahoo_Mail_May_17_View_Message | Evergreen_Yahoo_Mail_May_17_View_Message_w | Evergreen_Yahoo_Mail_Nov_17 | Evergreen_Yahoo_Mail_Nov_17_Send_Message | Evergreen_Yahoo_Mail_Nov_17_Send_Message_w | Evergreen_Yahoo_Mail_Nov_17_View_Message | Evergreen_Yahoo_Mail_Nov_17_View_Message_w | Evergreen_Yahoo_Mail_Oct_17 | Evergreen_Yahoo_Mail_Oct_17_Send_Message | Evergreen_Yahoo_Mail_Oct_17_Send_Message_w | Evergreen_Yahoo_Mail_Oct_17_View_Message | Evergreen_Yahoo_Mail_Oct_17_View_Message_w | Evergreen_Yahoo_Mail_Sep_17 | Evergreen_Yahoo_Mail_Sep_17_Send_Message | Evergreen_Yahoo_Mail_Sep_17_Send_Message_w | Evergreen_Yahoo_Mail_Sep_17_View_Message | Evergreen_Yahoo_Mail_Sep_17_View_Message_w | Evergreen_YahooGroups_Aug_17 | Evergreen_YahooGroups_Dec_17 | Evergreen_YahooGroups_Feb_18 | Evergreen_YahooGroups_Jan_14 | Evergreen_YahooGroups_Jan_18 | Evergreen_YahooGroups_Jul_17 | Evergreen_YahooGroups_Jun_17 | Evergreen_YahooGroups_May_17 | Evergreen_YahooGroups_Nov_17 | Evergreen_YahooGroups_Oct_17 | Evergreen_YahooGroups_Sep_17 | Evernote_Desktop_Aug_17 | Evernote_Desktop_Aug_17_Add_Note | Evernote_Desktop_Aug_17_Add_Note_with_Atta | Everquest_December_2015_Create_account | Everquest_December_2015_Download_and_insta | Everquest_December_2015_Open_game_and_logi | Exchange_Outlook_Receive_Mail | Exchange_Outlook_Send_Mail | Exchange_Outlook_Session_Start | Facebook | Facebook_Android | Facebook_Android_Chat_Session | Facebook_API | Facebook_Chrome | Facebook_GET_Home_Page | Facebook_iOS | Facebook_iOS_Chat_Session | Facebook_Japanese | Farmville | Financial_IMAPv4_Advanced | Financial_POP3_Advanced | Financial_SMB_Client_File_Download | Financial_SMBv2_File_Download | Financial_SMTP_Email | Finger | FIX_50SP2_Order_Session | FIX_50SP2_Session | FIX_Session | FIXT_Session | flame | Flash_Enterprise | Flickr | Flickr_Login | Fring | FTP | FTP_Active_mode | FTP_Cisco_EMIX | FTP_Enterprise | FW_HTTP_Audio | FW_HTTP_Text | FW_Images | FW_IPS_HTTP_1_7K | FW_IPS_HTTP_10K | FW_IPS_HTTP_10K_w_Delay | FW_IPS_HTTP_10Requests_Loop | FW_IPS_HTTP_21K | FW_IPS_HTTP_21K_w_Delay | FW_IPS_HTTP_4_5K | FW_IPS_HTTP_44K | FW_IPS_HTTP_Open | FW_Max_HTTP_TPS | FW_Small_Images | Gadu_Gadu_Unencrypted_IM | Giphy_Jan_17 | GMX_Mail_Aug_16 | GMX_Mail_Aug_16_Send_Message | GMX_Mail_Aug_16_Send_Message_with_Attachme | GMX_Mail_Aug_16_View_Message | GMX_Mail_Aug_16_View_Message_with_Attachme | GMX_Webmail | Gnutella | Gnutella_v06 | GoDaddy_Manage_Account_Details_and_Product | GoDaddy_Shop_for_Domain_Names_Nov17 | GoDaddy_Use_Website_Builder_Tool_Nov17 | Google_Analytics | Google_App_Engine | Google_App_Engine_Create_and_Deploy_App | Google_App_Engine_Test_App | Google_Cache | Google_Cache_Directly_Access_the_Cached_Ve | Google_Cache_Search_and_Access_Cached_Vers | Google_Calendar_Aug_14 | Google_Cloud_Storage | Google_Cloud_Storage_Registration | Google_Cloud_Storage_Tutorial | Google_Docs | Google_Docs_Create_Document_and_Download_a | Google_Docs_Edit_Document_and_Rename_it | Google_Drive_Aug_17 | Google_Drive_June_2014 | Google_Earth_Search | Google_Hangouts | Google_Hangouts_Phone_Call | Google_Hangouts_Text_Chat | Google_Hangouts_Video_Call | Google_Location_Services | Google_Mail | Google_Mail_Chinese | Google_Mail_French | Google_Mail_German | Google_Mail_GET_Index | Google_Mail_Italian | Google_Mail_Japanese | Google_Mail_Spanish | Google_Map_Search | Google_Photos_July_2017 | Google_Play_LTE_Mix | Google_Play_Sandvine_Bandwidth | Google_Play_Search_View_and_Download | Google_Plus_Jul_14 | Google_Safe_Browsing | Google_Search | Google_Search_GET_Home_Page | Google_Search_LTE_Mix | Google_Sheets_Oct_17 | Google_Slides_Sept_17 | Google_Voice_Actions | Google_Voice_Actions_Google_Search | Google_Voice_Actions_Phone_Options | GoogleEarthPro_Navigate_the_Globe_Feb_18 | Gopher | GoToMeeting_Mobile | GoToMeeting_Mobile_Join_Meeting | GoToMeeting_Mobile_Start_Meeting | GoToMeeting_Web_App | GSM_MAP_Authenticate_and_Update_GPRS_Locat | GSM_MAP_Send_Routing_Info_For_SM | GSM_MAP_Update_Location_Error | GTalk_Chat | GTalk_File_Transfer | GTalk_Login | GTalk_Voicecall | GTP_Simulated | GTPoIPSec_HTTP_LTE | GTPoIPSec_HTTP_Simple | GTPv2_C_Downlink_Data_Notification | GTPv2_C_Network_Initiated_Dedicated_Bearer | GTPv2_C_Release_Access_Bearers | GTPv2_C_UE_Initiated_Dedicated_Bearer_Supe | GTPv2_Simulated | GTPv2C_S1_S11_Session_Setup_and_Teardown_F | GTPv2C_S5_S8_Session_Setup_and_Teardown_Fl | Hadoop_JobTracker | HBO_Now_Bandwidth | HBO_Now_Desktop | HDFS_NameNode_RPC_List_Directory | Hotmail | Hotmail_Chinese | Hotmail_French | Hotmail_German | Hotmail_Italian | Hotmail_Japanese | Hotmail_Persian | Hotmail_Spanish | HTTP_302_Redirect | HTTP_302_Redirect_Juniper | HTTP_Audio | HTTP_Authenticated | HTTP_Compressed | HTTP_Enterprise | HTTP_Financial_ApacheFF | HTTP_Financial_ApacheIE | HTTP_Financial_IIS_FF | HTTP_Financial_IIS_IE | HTTP_Flash_Video | HTTP_Flash_Video_512k_Data | HTTP_Flash_Video_Service_Provider | HTTP_GET_English_Chrome23_Linux_to_Jetty_S | HTTP_GET_English_Chrome23_Linux_to_Lighttp | HTTP_GET_English_Chrome23_Linux_to_Microso | HTTP_GET_English_Chrome23_Linux_to_nginx_S | HTTP_GET_English_Chrome23_OS_X_to_Apache_S | HTTP_GET_English_Chrome23_OS_X_to_Jetty_Se | HTTP_GET_English_Chrome23_OS_X_to_Lighttpd | HTTP_GET_English_Chrome23_OS_X_to_Microsof | HTTP_GET_English_Chrome23_OS_X_to_nginx_Se | HTTP_GET_English_Chrome23_Windows_7_to_Apa | HTTP_GET_English_Chrome23_Windows_7_to_Jet | HTTP_GET_English_Chrome23_Windows_7_to_Lig | HTTP_GET_English_Chrome23_Windows_7_to_Mic | HTTP_GET_English_Chrome23_Windows_7_to_ngi | HTTP_GET_English_Chrome24_Linux_to_Jetty_S | HTTP_GET_English_Chrome24_Linux_to_Lighttp | HTTP_GET_English_Chrome24_Linux_to_Microso | HTTP_GET_English_Chrome24_Linux_to_nginx_S | HTTP_GET_English_Chrome24_OS_X_to_Apache_S | HTTP_GET_English_Chrome24_OS_X_to_Jetty_Se | HTTP_GET_English_Chrome24_OS_X_to_Lighttpd | HTTP_GET_English_Chrome24_OS_X_to_Microsof | HTTP_GET_English_Chrome24_OS_X_to_nginx_Se | HTTP_GET_English_Chrome24_Windows_7_to_Apa | HTTP_GET_English_Chrome24_Windows_7_to_Jet | HTTP_GET_English_Chrome24_Windows_7_to_Lig | HTTP_GET_English_Chrome24_Windows_7_to_Mic | HTTP_GET_English_Chrome24_Windows_7_to_ngi | HTTP_GET_English_Chrome25_Linux_to_Jetty_S | HTTP_GET_English_Chrome25_Linux_to_Lighttp | HTTP_GET_English_Chrome25_Linux_to_Microso | HTTP_GET_English_Chrome25_Linux_to_nginx_S | HTTP_GET_English_Chrome25_OS_X_to_Apache_S | HTTP_GET_English_Chrome25_OS_X_to_Jetty_Se | HTTP_GET_English_Chrome25_OS_X_to_Lighttpd | HTTP_GET_English_Chrome25_OS_X_to_Microsof | HTTP_GET_English_Chrome25_OS_X_to_nginx_Se | HTTP_GET_English_Chrome25_Windows_7_to_Apa | HTTP_GET_English_Chrome25_Windows_7_to_Jet | HTTP_GET_English_Chrome25_Windows_7_to_Lig | HTTP_GET_English_Chrome25_Windows_7_to_Mic | HTTP_GET_English_Chrome25_Windows_7_to_ngi | HTTP_GET_English_Firefox16_Linux_to_Apache | HTTP_GET_English_Firefox16_Linux_to_Lightt | HTTP_GET_English_Firefox16_Linux_to_Micros | HTTP_GET_English_Firefox16_OS_X_to_Jetty_S | HTTP_GET_English_Firefox16_OS_X_to_Lighttp | HTTP_GET_English_Firefox16_OS_X_to_Microso | HTTP_GET_English_Firefox16_OS_X_to_nginx_S | HTTP_GET_English_Firefox16_Windows_7_to_Ap | HTTP_GET_English_Firefox16_Windows_7_to_Je | HTTP_GET_English_Firefox16_Windows_7_to_Li | HTTP_GET_English_Firefox16_Windows_7_to_Mi | HTTP_GET_English_Firefox16_Windows_7_to_ng | HTTP_GET_English_Firefox17_Linux_to_Apache | HTTP_GET_English_Firefox17_Linux_to_Lightt | HTTP_GET_English_Firefox17_Linux_to_Micros | HTTP_GET_English_Firefox17_OS_X_to_Jetty_S | HTTP_GET_English_Firefox17_OS_X_to_Lighttp | HTTP_GET_English_Firefox17_OS_X_to_Microso | HTTP_GET_English_Firefox17_OS_X_to_nginx_S | HTTP_GET_English_Firefox17_Windows_7_to_Ap | HTTP_GET_English_Firefox17_Windows_7_to_Je | HTTP_GET_English_Firefox17_Windows_7_to_Li | HTTP_GET_English_Firefox17_Windows_7_to_Mi | HTTP_GET_English_Firefox17_Windows_7_to_ng | HTTP_GET_English_Firefox18_Linux_to_Apache | HTTP_GET_English_Firefox18_Linux_to_Lightt | HTTP_GET_English_Firefox18_Linux_to_Micros | HTTP_GET_English_Firefox18_OS_X_to_Jetty_S | HTTP_GET_English_Firefox18_OS_X_to_Lighttp | HTTP_GET_English_Firefox18_OS_X_to_Microso | HTTP_GET_English_Firefox18_OS_X_to_nginx_S | HTTP_GET_English_Firefox18_Windows_7_to_Ap | HTTP_GET_English_Firefox18_Windows_7_to_Je | HTTP_GET_English_Firefox18_Windows_7_to_Li | HTTP_GET_English_Firefox18_Windows_7_to_Mi | HTTP_GET_English_Firefox18_Windows_7_to_ng | HTTP_GET_English_Firefox19_Linux_to_Apache | HTTP_GET_English_Firefox19_Linux_to_Lightt | HTTP_GET_English_Firefox19_Linux_to_Micros | HTTP_GET_English_Firefox19_OS_X_to_Jetty_S | HTTP_GET_English_Firefox19_OS_X_to_Lighttp | HTTP_GET_English_Firefox19_OS_X_to_Microso | HTTP_GET_English_Firefox19_OS_X_to_nginx_S | HTTP_GET_English_Firefox19_Windows_7_to_Ap | HTTP_GET_English_Firefox19_Windows_7_to_Je | HTTP_GET_English_Firefox19_Windows_7_to_Li | HTTP_GET_English_Firefox19_Windows_7_to_Mi | HTTP_GET_English_Firefox19_Windows_7_to_ng | HTTP_GET_English_IE8_Windows_7_to_Apache_S | HTTP_GET_English_IE8_Windows_7_to_Jetty_Se | HTTP_GET_English_IE8_Windows_7_to_Lighttpd | HTTP_GET_English_IE8_Windows_7_to_Microsof | HTTP_GET_English_IE8_Windows_7_to_nginx_Se | HTTP_GET_English_IE9_Windows_7_to_Apache_S | HTTP_GET_English_IE9_Windows_7_to_Jetty_Se | HTTP_GET_English_IE9_Windows_7_to_Lighttpd | HTTP_GET_English_IE9_Windows_7_to_Microsof | HTTP_GET_English_IE9_Windows_7_to_nginx_Se | HTTP_GET_English_Opera11_Linux_to_Apache_S | HTTP_GET_English_Opera11_Linux_to_Jetty_Se | HTTP_GET_English_Opera11_Linux_to_Lighttpd | HTTP_GET_English_Opera11_Linux_to_Microsof | HTTP_GET_English_Opera11_Linux_to_nginx_Se | HTTP_GET_English_Opera11_OS_X_to_Apache_Se | HTTP_GET_English_Opera11_OS_X_to_Jetty_Ser | HTTP_GET_English_Opera11_OS_X_to_Microsoft | HTTP_GET_English_Opera11_OS_X_to_nginx_Ser | HTTP_GET_English_Opera11_Windows_7_to_Apac | HTTP_GET_English_Opera11_Windows_7_to_Jett | HTTP_GET_English_Opera11_Windows_7_to_Ligh | HTTP_GET_English_Opera11_Windows_7_to_Micr | HTTP_GET_English_Opera11_Windows_7_to_ngin | HTTP_GET_English_Opera12_Linux_to_Apache_S | HTTP_GET_English_Opera12_Linux_to_Jetty_Se | HTTP_GET_English_Opera12_Linux_to_Lighttpd | HTTP_GET_English_Opera12_Linux_to_Microsof | HTTP_GET_English_Opera12_Linux_to_nginx_Se | HTTP_GET_English_Opera12_OS_X_to_Apache_Se | HTTP_GET_English_Opera12_OS_X_to_Jetty_Ser | HTTP_GET_English_Opera12_OS_X_to_Microsoft | HTTP_GET_English_Opera12_OS_X_to_nginx_Ser | HTTP_GET_English_Opera12_Windows_7_to_Apac | HTTP_GET_English_Opera12_Windows_7_to_Jett | HTTP_GET_English_Opera12_Windows_7_to_Ligh | HTTP_GET_English_Opera12_Windows_7_to_Micr | HTTP_GET_English_Opera12_Windows_7_to_ngin | HTTP_GET_English_Safari5_OS_X_to_Apache_Se | HTTP_GET_English_Safari5_OS_X_to_Jetty_Ser | HTTP_GET_English_Safari5_OS_X_to_Microsoft | HTTP_GET_English_Safari5_OS_X_to_nginx_Ser | HTTP_GET_English_Safari5_Windows_7_to_Apac | HTTP_GET_English_Safari5_Windows_7_to_Jett | HTTP_GET_English_Safari5_Windows_7_to_Ligh | HTTP_GET_English_Safari5_Windows_7_to_Micr | HTTP_GET_English_Safari5_Windows_7_to_ngin | HTTP_GET_English_Safari6_OS_X_to_Apache_Se | HTTP_GET_English_Safari6_OS_X_to_Jetty_Ser | HTTP_GET_English_Safari6_OS_X_to_Microsoft | HTTP_GET_English_Safari6_OS_X_to_nginx_Ser | HTTP_GET_HTML5_Text_File | HTTP_GET_HTML5_Text_File_Deprecated | HTTP_GET_Text_File | HTTP_Live_Streaming | HTTP_Live_Streaming_HLS | HTTP_LTE_Mix | HTTP_Mobile_Europe | HTTP_Mobile_Europe_with_iPhone | HTTP_Mobile_North_America | HTTP_Mobile_North_America_with_iPhone | HTTP_NTLM_Authenticated | HTTP_Pages | HTTP_Persistent_Session | HTTP_Pipelining | HTTP_POST_PDF_File | HTTP_POST_Web_Login | HTTP_Progressive_Download | HTTP_Raw_Messages | HTTP_Redirect | HTTP_Request | HTTP_RMIX_130K | HTTP_RMIX_25K | HTTP_RMIX_30K | HTTP_Server_Requests | HTTP_Service_Provider | HTTP_Text | HTTP_Text_over_SCTP | HTTP_Text_over_SCTP_over_UDP | HTTP_VE_MAX_Bandwidth | HTTP_VE_MAX_Session | HTTP_Video | HTTPS_100k | HTTPS_10k | HTTPS_Dropbox_Simulated | HTTPS_LTE_Mix | HTTPS_Simulated_512k_Data | HTTPS_Simulated_Enterprise | HTTPS_Simulated_Facebook_Messenger | HTTPS_Simulated_LINE_Basic_Audio_Call | HTTPS_Simulated_LINE_Chat | HTTPS_Simulated_Service_Provider | Hulu_Bandwidth | Hulu_Desktop | iCloudWeb_Push_Notification_Service | ICQ | ICQ_75 | ICQ_76 | ICQ_77 | ICQ_7M | ICQ_80 | ICQ_80_Chinese | ICQ_80_French | ICQ_80_German | ICQ_80_Italian | ICQ_80_Japanese | ICQ_80_Persian | ICQ_80_Spanish | Ident | IEC104 | IMAP | IMAP_Cisco_EMIX | IMAP_LTE_Mix | IMAP_RMIX_16K | IMAP_RMIX_4K | IMAP_RMIX_90K | IMAPv4_Advanced | IMAPv4_Advanced_Chinese | IMAPv4_Advanced_French | IMAPv4_Advanced_German | IMAPv4_Advanced_Italian | IMAPv4_Advanced_Japanese | IMAPv4_Advanced_Persian | IMAPv4_Advanced_Spanish | iMessage_Send_File_Message | iMessage_Send_Text_Message | Inetd_Diagnostic_Services | Informix_Database | Instacart | Instacart_Login_Logout | Instagram_Bandwidth | Instagram_Nov_2014 | IPFIX | IPMI | IPP_Print_Request | IPS_HTTP_Audio | IPS_HTTP_Text | IPS_HTTP_Video | IPS_Images | IPS_Small_Images | IRC_Channel_Join_Chat | IRC_Login | IRC_Login_Auth | IRC_Login_Auth_Failure | IRC_Private_Chat | iSCSI_Read_and_Write | ITCH_NASDAQ_Trading | iTunes_Desktop_App_Store | iTunes_Desktop_App_Store_Feb18 | iTunes_Desktop_Music | iTunes_Mobile_App_Store | iTunes_Mobile_Music | Jabber_Chat | JIRA_Create_Issue | JIRA_List_Issues | Jira_Service_Desk_Help_Center_Issue_Oct17 | Jira_Service_Desk_Issue_Management_Oct17 | Jira_Service_Desk_Project_Management_Oct17 | KakaoTalk_Chat | Kodi_Sep_17_Install_Add_ons | Kodi_Sep_17_Play_Audio | Kodi_Sep_17_Play_Video | Laposte_Webmail_1307 | LDAP | LDAP_SASL_Auth | LinkedIn | Linkedin_1301 | LinkedIn_Dec17_Manage_Connections | LinkedIn_Dec17_Send_Message | Locky_Malware_Infection_Traffic | LPD | LTE_HTTP_Simple_ENB_MME_vs_SGW_PGW_IPV4_IP | Lync_2013_SIPe_Initiate_IM_Chat_Uncompress | Lync_Audio_Video | Mailru | Mailru_2013 | Manufacturing_Message_Specification_MMS | Manufacturing_Message_Specification_MMS_Wr | MAX_Bandwidth_HTTP | MAX_HTTP_Packets_Per_Second | MAX_Raw_Packets_Per_Second | Memcached_Set_and_Get_Key_Example | Memcached_Set_Get_Delete_operations | Meraki_Configure_Network_Nov17 | Meraki_Manage_MDM_Network_Nov17 | Meraki_Monitor_Devices_Nov17 | Message_Session_Relay_Protocol_MSRP | MGCP_Residential_Gateway_Connection_Deleti | Microsoft_Azure | Microsoft_Azure_Create_App | Microsoft_Azure_Sign_Up | Microsoft_OneDrive_Mar_15 | Microsoft_Smooth_Streaming_Play_Clips_with | Microsoft_Smooth_Streaming_Play_Fragments | Microsoft_Update | Minecraft_189_Login_Sequence_to_Multiplaye | Minecraft_189_Server_List_Ping | Mirai_Botnet_DNS_Flood_Attack | Mirai_Botnet_HTTP_Flood_Attack | Mirai_Botnet_UDP_Flood_Attack | Mirai_Botnet_UDP_Plain_Flood_Attack | Mirai_Botnet_Valve_Source_Engine_Query_Flo | MMS_MM1_WAP_HTTP | Modbus | Modbus_Examples | MongoDB_Demo_Super_Flow | MongoDB_Insert_Document | MongoDB_Shell_Connect_Disconnect | MongoDB_Update_Document | MQTT_Connect_and_PING_between_Publish | MQTT_Connect_and_Publish | MQTT_Connect_and_Subscribe_Publish | MS_SQL_Create | MS_SQL_Delete | MS_SQL_Drop | MS_SQL_Insert | MS_SQL_Server | MS_SQL_Server_Advanced | MS_SQL_Update | MS_SQL2012_Advanced | MS_SQL2012_Create_Table | MS_SQL2012_Delete | MS_SQL2012_Drop | MS_SQL2012_Insert | MS_SQL2012_Select | MS_SQL2012_TLS_Advanced | MS_SQL2012_TLS_Create_Table | MS_SQL2012_TLS_Delete | MS_SQL2012_TLS_Drop | MS_SQL2012_TLS_Insert | MS_SQL2012_TLS_Select | MS_SQL2012_TLS_Update | MS_SQL2012_Update | Mxit_Desktop_File_Transfer | Mxit_Desktop_Multiple_Status_Messages | Mxit_Messenger_For_Windows_PC | MySpace_HTTP_Flash_Video | MySQL_Database_Advanced | MySQL_Databse | NetBIOS_Session | Netflix_July_2017 | Netflix_Login_Logout_July_2017 | Netflix_Play_Movie_July_2017 | Netflix_Service_Provider | Netflow_V5 | Netflow_V7 | Netflow_V9 | Netflow_V9_Custom | Netflow_V9_IPv6 | NFS | Niconico_Nov_2013 | nntp | NTP_Synchronization | NTPv2 | NTPv2_Amplification | OCSP_over_HTTP_Multiple_OCSP_Requests | Office_365_Excel_Jul_15 | Office_365_Excel_Jul_15_Create_Workbook | Office_365_Excel_Jul_15_Open_Workbook | Office_365_Excel_Jul_17_Create_Workbook | Office_365_Excel_Jul_17_Open_Workbook | Office_365_OneNote_Jul_15 | Office_365_OneNote_Sep_17 | Office_365_OneNote_Sep_17_Create_and_Edit | Office_365_Outlook_Calendar_Jul_15 | Office_365_Outlook_Calendar_Jul_15_Create | Office_365_Outlook_Calendar_Jul_15_Search | Office_365_Outlook_Mail_Jun_15 | Office_365_Outlook_Mail_Jun_15_Send_Messag | Office_365_Outlook_Mail_Jun_15_View_Messag | Office_365_Outlook_People_Jul_15 | Office_365_Outlook_People_Jul_15_Create_an | Office_365_Outlook_People_Jul_15_Search_fo | Office_365_Outlook_Tasks_Jul_15 | Office_365_Outlook_Tasks_Jul_15_Create_and | Office_365_Outlook_Tasks_Jul_15_Mark_task | Office_365_Outlook_Tasks_Sep_17 | Office_365_Outlook_Tasks_Sep_17_Create_and | Office_365_Outlook_Tasks_Sep_17_Mark_task | Office_365_PowerPoint_Jul_15 | Office_365_PowerPoint_Jul_15_Create_Presen | Office_365_PowerPoint_Jul_15_Open_Presenta | Office_365_Sway_Jul_15 | Office_365_Sway_Jul_15_Configure | Office_365_Sway_Jul_15_Create_Presentation | Office_365_Sway_Jul_15_Edit_Presentation | Office_365_Sway_Jul_15_Preview_Presentatio | Office_365_Word_Jul_15 | Office_365_Word_Jul_17 | Office_365_Word_Jul_17_Create_File | Okazii_130125 | OPC_UA_Binary_Open_Secure_Channel | OPC_UA_Binary_Secure_Get_Endpoints_Respons | OPC_UA_Binary_with_Error_Message | OpenFlow_Demo_Superflow | OpenFlow_Switch_Startup_v10 | OpenStack_Swift_Demo_Super_Flow | Oracle_Database | Oracle_Database_Advanced | Oracle_Database_Create_Table | Oracle_Database_Delete | Oracle_Database_Drop_Table | Oracle_Database_Insert | Oracle_Database_Update | Oracle_Enterprise | OUCH41 | Outlook_Web_Access | Outlook_Web_Access_Chinese | Outlook_Web_Access_French | Outlook_Web_Access_German | Outlook_Web_Access_Italian | Outlook_Web_Access_Japanese | Outlook_Web_Access_Persian | Outlook_Web_Access_Spanish | OWAMP_Session | Pandora | Pandora_iPhone | Pandora_LTE_Mix | Pandora_Sandvine_Bandwidth | Paypal | PeerGuardian_Update | Perforce_Add_New_File | Perforce_Create_Changelist | Perforce_Submit_Changelist | Perforce_Sync_File | Perforce_Ticket_Based_Authentication | Pinterest_Jun17 | Pinterest_Photo_Upload_Jun17 | Pinterest_Search_and_Pin_Jun17 | POP3 | POP3_512 | POP3_Advanced | POP3_Chinese | POP3_French | POP3_German | POP3_Italian | POP3_Japanese | POP3_LTE_Mix | POP3_Persian | POP3_RMIX_16K | POP3_RMIX_4K | POP3_RMIX_90K | POP3_Spanish | PortMapper | POS_FIle_XFER_SMB2 | PostgreSQL | PostgreSQL_Create_Table | PostgreSQL_Delete | PostgreSQL_Drop_Table | PostgreSQL_Insert | PostgreSQL_Update | PPLive_Enterprise | PPTP_Establish_Session | QQ_IM_Chat | QUIC_Demo_Superflow | QUIC_Simple_HTTP_Stream | Quote_of_the_DayTCP | Quote_of_the_DayUDP | RADIUS | RADIUS_Access | RADIUS_Access_IPv6 | RADIUS_IPv4_and_IPv6 | RADIUS_IPv6 | Raw | Raw_25m_Data | Raw_Enterprise | Raw_Service_Provider | Reddit | Reddit_Account_Management_Feb_18 | Reddit_Browse_Content_Feb_18 | Remote_Desktop_Protocol | Resiliency_Sessions_per_Second | Rexec | RFB | RIP_v1 | RIPv2 | Rlogin | Rsh | RSS_Ixia_Feed | RSS_Multi_Feed | Rsync | RTMP | RTMP_Audio_Data_127K | RTMP_Audio_Data_1K | RTMP_Bandwidth | RTMP_Chunk | RTMP_Handshake | Rusers | S102 | S1AP_Authentication_Failure | S1AP_Authentication_Reject | S1AP_Handover_Preparation_Failure | S1AP_S1_Setup | S1AP_UE_Detach | S1AP_UE_Initial_Attach | S7comm_Advanced_Operations | S7comm_Block_List_Operations | S7comm_Download_Block | S7comm_Read_PLC_Status | S7comm_Read_Set_PLC_time | S7comm_Var_Service | Saavn_Music_February_2016 | Saavn_Music_February_2016_Log_In_and_Brows | Saavn_Music_February_2016_Play_Radio | Saavn_Music_February_2016_Play_Songs | Salesforce | Salesforce_Login_Logout | Sandvine_BlackBerry_Bandwidth | SAP | Seamless | Seamless_Login_Logout | ShareFile_Apr_17 | ShareFile_Apr_17_Upload_Download_File | SharePoint_Sep_2014 | Sina_Weibo_Feb_2014 | Sina_Weibo_Post_Feb_2014 | SIP_RTP_Voice_call_w_ENUM | SIP_Spoofed_Invite | Skype_1_minute_call | Skype_14_Call | Skype_14_Login | Skype_14_User_Search | Skype_V5_Sandvine_Bandwidth | Skype_V6_Instant_Messaging_Simple_Chat | SMB_Client_File_Download | SMB_Enterprise | SMB_Failed_Authentication | SMB_Null_Session | SMBv3_Encrypted_File_Download | SMBv3_Establish_Alternate_Channel | SMBv3_Secure_Negotiation | SMPP_Receive | SMPP_Transmit | SMTP_Authenticated_with_Verify | SMTP_Authentication_Failure | SMTP_Cisco_EMIX | SMTP_Email | SMTP_Email_Chinese | SMTP_Email_French | SMTP_Email_German | SMTP_Email_Italian | SMTP_Email_Japanese | SMTP_Email_Persian | SMTP_Email_Proxy_Support | SMTP_Email_Spanish | SMTP_Enterprise | SMTP_RMIX_16K | SMTP_RMIX_4K | SMTP_RMIX_90K | SMTPS | Snapchat_Bandwidth | Snapchat_May_2015 | Snapchat_May_2015_Send_Image | Snapchat_May_2015_Send_Movie | Snapdeal | Snapdeal_Add_items_to_cart | Snapdeal_Browse_website | SNMP | SNMPv1 | SNMPv2c | SNMPv3 | SOCKS_5_Connect_No_User_Authentication | SOCKS_5_Connect_with_User_Authentication | SopCast_P2P_Streaming | Soulseek_Search_and_Queue | SPDY_v2_Simple_GET_Request | SPDY_v2_Simple_POST_Request | SPDY_v2_Stream_Reset_CANCEL | SPDY_v2_Stream_Reset_FLOW_CONTROL_ERROR | SPDY_v2_Stream_Reset_INTERNAL_ERROR | SPDY_v2_Stream_Reset_INVALID_STREAM | SPDY_v2_Stream_Reset_PROTOCOL_ERROR | SPDY_v2_Stream_Reset_REFUSED_STREAM | SPDY_v2_Stream_Reset_UNSUPPORTED_VERSION | SQLMon | SSDP_M_SEARCH_Req_Resp_Unicast | SSH | SSH_Enterprise | Standard_Media_March_2016 | Standard_Media_March_2016_Print_Article | Standard_Media_March_2016_Recommend_and_Co | Standard_Media_March_2016_Share_Article | Steam_Login | STOMP_12 | STOMP_12_10_Backwards_Compatibility | STOMP_12_Error | SunRPC_BIND | Sybase_Database | Syslog | TACACS_Accounting | TACACS_Authentication | TACACS_Authorization | Telnet | Telnet_Failed_Login | The_Pirate_Bay_uTorrent_Download | The_Weather_Channel_Nov_2016 | Tinder | Tinder_Swiping | Tor_Directory_Listing | TR_069_Device_Initialization | TR_069_Firmware_Download | TR_069_Reboot | TUMe_Audio_Share | TUMe_IM | TUMe_Location_Share | TUMe_Photo_Share | TUMe_Register_Device | TvAnts_P2P_Streaming | TVUPlayer_P2P_Streaming | TWAMP_Session | Twitchtv | Twitter_RSS_Mobile | Uber_June_2015_Add_Location | Uber_June_2015_Registration | uTorrent_DHT_File_Download | VE_Max_Bandwidth_TLS1_2_AES_256_CBC_SHA | VE_Max_CC_TLS1_2_3DES_EDE_CBC_SHA | VE_Max_TPS_Superflow | VE_Max_TPS_TLS1_2_AES_256_CBC_SHA | VLC_HTTP_Flash_File_Streaming | VLC_HTTP_MPG_File_Streaming | VMware_VMotion | WAP_12 | WAP_20 | WebDAV | WebDAV_Errors | Webex | WebEx_Meeting | Webmail_Orange | WebSocket_Connection | WebSocket_Message_Generation | WebSocket_Ping_Pong | WhatsApp | WhatsApp_25MB | WhatsApp_Voice_Call | WHOIS | Wikipedia | Windows_Live_Mail | Windows_Live_Messenger_v16 | Windows_Live_Messenger_v16_Chinese | Windows_Live_Messenger_v16_French | Windows_Live_Messenger_v16_German | Windows_Live_Messenger_v16_Italian | Windows_Live_Messenger_v16_Japanese | Windows_Live_Messenger_v16_Persian | Windows_Live_Messenger_v16_Spanish | Windows_Live_MSN_Messenger_v15 | Winny | WORDPRESS_OCTOBER_2013_131016 | World_of_Warcraft | World_of_Warcraft_Patch_Update | WWW_File_Share_Pro_March_2016 | WWW_File_Share_Pro_March_2016_Download | WWW_File_Share_Pro_March_2016_Upload | Xbox_Facebook | Xbox_Live | Xbox_Zune_Video | XMPP_Facebook_Chat | XMPP_Jabber_Demo_Superflow | XMPP_Jabber_Demo_Superflow_with_PKCS7_Encr | XMPP_Jabber_Demo_Superflow_with_PKCS7_Sign | Xunlei_File_Download | Yahoo_HTTP_Flash_Video | Yahoo_IM_Voice_Chat_V10 | Yahoo_Mail | Yahoo_Mail_Chinese | Yahoo_Mail_French | Yahoo_Mail_German | Yahoo_Mail_Italian | Yahoo_Mail_Japanese | Yahoo_Mail_Persian | Yahoo_Mail_Spanish | Yahoo_Search | Yahoo_Search_GET_Home_Page | Yammer_Nov_2016 | Youtube_Bandwidth | YouTube_Music_Bandwidth | YouTube_Music_Play_Video | YouTube_September_2016 | YouTube_September_2016_Bandwidth | YouTube_September_2016_Browse_Sections | YouTube_September_2016_Play_Video | YouTube_Service_Provider | Zalo_VOIP | Zendesk_Nov17 | Zendesk_Nov17_Create_New_Ticket | ZeroAccess_botnet | ZeuS_Botnet])): This object specifies the flow(s) to be removed.
Raises
------
- NotFoundError: The requested resource does not exist on the server
- ServerError: The server has encountered an uncategorized error condition
"""
payload = { "Arg1": self.href }
for i in range(len(args)): payload['Arg%s' % (i + 2)] = args[i]
for item in kwargs.items(): payload[item[0]] = item[1]
return self._execute('removeAppLibraryFlow', payload=payload, response_object=None)
def Start(self):
"""Executes the start operation on the server.
This exec starts running the configured application traffic.
Raises
------
- NotFoundError: The requested resource does not exist on the server
- ServerError: The server has encountered an uncategorized error condition
"""
payload = { "Arg1": self.href }
return self._execute('start', payload=payload, response_object=None)
def Stop(self):
"""Executes the stop operation on the server.
This exec stops the configured application traffic from running.
Raises
------
- NotFoundError: The requested resource does not exist on the server
- ServerError: The server has encountered an uncategorized error condition
"""
payload = { "Arg1": self.href }
return self._execute('stop', payload=payload, response_object=None)
| 1,069.79878 | 42,083 | 0.891987 | 54,146 | 350,894 | 5.011044 | 0.022236 | 0.02972 | 0.058203 | 0.03373 | 0.987215 | 0.985748 | 0.983787 | 0.983787 | 0.982884 | 0.981797 | 0 | 0.047831 | 0.073093 | 350,894 | 327 | 42,084 | 1,073.070336 | 0.786392 | 0.981955 | 0 | 0.222222 | 0 | 0 | 0.112736 | 0.02225 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0 | 0.033333 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 11 |
2b05c8b282d818ab723fcc8dbe7f06659d7d44cf | 2,794 | py | Python | python/base/misa.py | lotharwissler/bioinformatics | 83a53771222ecb0759e3b4bfa2018d2cd7647643 | [
"MIT"
] | 10 | 2016-01-13T00:39:30.000Z | 2020-11-30T05:56:19.000Z | python/base/misa.py | lotharwissler/bioinformatics | 83a53771222ecb0759e3b4bfa2018d2cd7647643 | [
"MIT"
] | 1 | 2017-02-09T22:46:49.000Z | 2017-02-09T22:46:49.000Z | python/base/misa.py | lotharwissler/bioinformatics | 83a53771222ecb0759e3b4bfa2018d2cd7647643 | [
"MIT"
] | 10 | 2015-10-09T00:29:16.000Z | 2019-06-09T05:32:15.000Z | import string
class MisaSSRspecies():
def __init__(self, line):
self.feature = 0
columns = line.rstrip().split("\t")
self.species = columns.pop(0)
self.geneid = columns.pop(0)
self.ssrnr = int(columns.pop(0))
self.type = columns.pop(0)
self.pattern = columns.pop(0)
self.length = int(columns.pop(0))
self.startpos = int(columns.pop(0))
self.endpos = int(columns.pop(0))
if len(columns) > 0: self.feature = columns.pop(0)
if self.type != "c" and self.type != "c*":
self.motif = self.pattern[1:self.pattern.index(")")]
if self.pattern.endswith("*"): self.repeats = int(self.pattern[self.pattern.index(")")+1:-1])
else: self.repeats = int(self.pattern[self.pattern.index(")")+1:])
def to_s(self):
array = [self.species, self.geneid, str(self.ssrnr), self.type, self.pattern, str(self.length), str(self.startpos), str(self.endpos)]
return string.join(array, "\t")
def is_perfect_match_to(self, other):
if self.pattern != other.pattern: return 0
return 1
def is_polymorphic_to(self, other):
if self.motif != other.motif: return 0
if self.repeats == other.repeats: return 0
return 1
def is_shifted_to(self, other):
if self.motif == other.motif: return 0
if self.type != other.type: return 0
m = self.motif
for i in range(len(self.motif)):
m = m[1:] + m[0]
if m == other.motif: return 1
return 0
class MisaSSR():
def __init__(self, line):
self.feature = 0
columns = line.rstrip().split("\t")
self.geneid = columns.pop(0)
self.ssrnr = int(columns.pop(0))
self.type = columns.pop(0)
self.pattern = columns.pop(0)
self.length = int(columns.pop(0))
self.startpos = int(columns.pop(0))
self.endpos = int(columns.pop(0))
if len(columns) > 0: self.feature = columns.pop(0)
if self.type != "c" and self.type != "c*":
self.motif = self.pattern[1:self.pattern.index(")")]
if self.pattern.endswith("*"): self.repeats = int(self.pattern[self.pattern.index(")")+1:-1])
else: self.repeats = int(self.pattern[self.pattern.index(")")+1:])
def to_s(self):
array = [self.geneid, str(self.ssrnr), self.type, self.pattern, str(self.length), str(self.startpos), str(self.endpos)]
return string.join(array, "\t")
def is_perfect_match_to(self, other):
if self.pattern != other.pattern: return 0
return 1
def is_polymorphic_to(self, other):
if self.motif != other.motif: return 0
if self.repeats == other.repeats: return 0
return 1
def is_shifted_to(self, other):
if self.motif == other.motif: return 0
if self.type != other.type: return 0
m = self.motif
for i in range(len(self.motif)):
m = m[1:] + m[0]
if m == other.motif: return 1
return 0
| 33.261905 | 137 | 0.634216 | 431 | 2,794 | 4.055684 | 0.12065 | 0.125858 | 0.106979 | 0.111556 | 0.961098 | 0.961098 | 0.961098 | 0.961098 | 0.961098 | 0.961098 | 0 | 0.022819 | 0.200072 | 2,794 | 83 | 138 | 33.662651 | 0.759284 | 0 | 0 | 0.914286 | 0 | 0 | 0.00788 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.014286 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2b38aed545325cf6342d9c7c25e35b2f8cfed884 | 14,996 | py | Python | lib/mi_RTC.py | JandroGC/curso_micropython | c03e0101d3b05b12d27d0cb24bc5c45b862fba0e | [
"MIT"
] | null | null | null | lib/mi_RTC.py | JandroGC/curso_micropython | c03e0101d3b05b12d27d0cb24bc5c45b862fba0e | [
"MIT"
] | null | null | null | lib/mi_RTC.py | JandroGC/curso_micropython | c03e0101d3b05b12d27d0cb24bc5c45b862fba0e | [
"MIT"
] | null | null | null | # Clase que sincroniza el reloj RTC del ESP32
# a la hora de España conectándose al servidor
# de la Marina Española: "hora.roa.es".
# La hora se corrige al horario de invierno_verano.
#
# Autor: Alejandro García Castro
# Fecha: Febrero 2022
import network, ntptime # importamos las librerías necesarios
from machine import RTC # import RTC desde machine
import time # Para usar localtime
class MyRTC:
'''
Esta es la versión 2 de la libreria MyRTC. En esta
version se sincroniza realmente el RTC
Atributos:
corrector: horas de desfase respecto a UTC
Métodos:
sincro: sincroniza RTC con hora.es y lo corrige
automáticamente a hora local española
según horario invierno-verano
'''
def __init__(self, ssid_user, password_user):
self.__ssid = ssid_user
self.__passw = password_user
self.wlan = network.WLAN(network.STA_IF)
self.wlan.active(True)
self.corrector = 0
self.__datetime = []
print('Se ha creado objeto MyRTC')
def connect_to_wifi(self):
if not self.wlan.isconnected():
print("Conectando a la red ...")
self.wlan.connect(self.__ssid, self.__passw)
while not self.wlan.isconnected():
pass
def sincro(self):
self.connect_to_wifi()
# Inicilizamos el RTC
rtc = RTC()
# Indicamos el nombre del servidor: Marina Española
ntptime.localhost = "hora.roa.es"
# Hacemos un set del RTC con el valor del servidor
ntptime.settime()
print ('RTC sincronizado roa: ', rtc.datetime())
self.mi_fecha = time.localtime()
# El mes es anterior a MARZO o posterior a OCTUBRE
# estamos dentro del horario de invierno sumaremos
# una hora , o 1 segundos
if self.mi_fecha[1] < 3 or self.mi_fecha[1] > 10:
self.corrector = 1
# Mes de MARZO y día anterior al 25
# estamos dentro del horario de invierno sumaremos
# una hora , o 1 segundos
elif self.mi_fecha[1] == 3 and self.mi_fecha[2] < 25:
self.corrector = 1
# Mes de MARZO , día 25
elif self.mi_fecha[1] == 3 and self.mi_fecha[2] == 25:
# Día de la semana no es domingo
# estamos todavía en horario de invierno
if self.mi_fecha[6] <=5:
self.corrector = 1
# Si es domingo y la hora está por debajo
# de la una , estamos en horario de invierno
# en caso contrario ya estaremos en horario
# de verano, y sumamos 2 segundos (2 horas).
elif self.mi_fecha[6] == 6:
if self.mi_fecha[3] == 0:
self.corrector = 1
else:
self.corrector = 2
# Mes de MARZO , día 26
elif self.mi_fecha[1] == 3 and self.mi_fecha[2] == 26:
# Día de la semana no es domingo ni lunes
# estamos todavía en horario de invierno
if self.mi_fecha[6] <=5 and self.mi_fecha[6] > 0:
self.corrector = 1
# Si es domingo y la hora está por debajo
# de la una , estamos en horario de invierno
# en caso contrario ya estaremos en horario
# de verano, y sumamos 2 segundos (2 horas).
elif self.mi_fecha[6] == 6:
if self.mi_fecha[3] == 0:
self.corrector = 1
else:
self.corrector = 2
# En otro caso sería lunes y deberíamos
# sumar 2 segundos (2 horas)
else:
self.corrector = 2
# Mes de MARZO, día 27
elif self.mi_fecha[1] == 3 and self.mi_fecha[2] == 27:
# El día de la semana no es lunes, martes ni domingo
# estamos todavía en horario de invierno
if self.mi_fecha[6] <=5 and self.mi_fecha[6] > 1:
self.corrector = 1
# Si es domingo y la hora está por debajo
# de la una , estamos en horario de invierno
# en caso contrario ya estaremos en horario
# de verano, y sumamos 2 segundos (2 horas).
elif self.mi_fecha[6] == 6:
if self.mi_fecha[3] == 0:
self.corrector = 1
else:
self.corrector = 2
# En otro caso sería lunes o martes, y deberíamos
# sumar 2 segundos (2 horas)
else:
self.corrector = 2
# Mes de MARZO, día 28
elif self.mi_fecha[1] == 3 and self.mi_fecha[2] == 28:
# El día de la semana no es lunes, martes, miércoles
# ni domingo, estamos todavía en horario de invierno
if self.mi_fecha[6] <=5 and self.mi_fecha[6] > 2:
self.corrector = 1
# Si es domingo y la hora está por debajo
# de la una , estamos en horario de invierno
# en caso contrario ya estaremos en horario
# de verano, y sumamos 2 segundos (2 horas).
elif self.mi_fecha[6] == 6:
if self.mi_fecha[3] == 0:
self.corrector = 1
else:
self.corrector = 2
# En otro caso sería lunes, martes o miercoles,
# y deberíamos sumar 2 segundos (2 horas)
else:
self.corrector = 2
# Mes de MARZO, día 29
elif self.mi_fecha[1] == 3 and self.mi_fecha[2] == 29:
# El día de la semana no es lunes, martes, miércoles
# jueves, ni domingo, estamos todavía en horario de invierno
if self.mi_fecha[6] <=5 and self.mi_fecha[6] > 3:
self.corrector = 1
# Si es domingo y la hora está por debajo
# de la una , estamos en horario de invierno
# en caso contrario ya estaremos en horario
# de verano, y sumamos 2 segundos (2 horas).
elif self.mi_fecha[6] == 6:
if self.mi_fecha[3] == 0:
self.corrector = 1
else:
self.corrector = 2
# En otro caso sería lunes, martes, miercoles o
# o jueves y deberíamos sumar 2 segundos (2 horas)
else:
self.corrector = 2
# Mes de MARZO, día 30
elif self.mi_fecha[1] == 3 and self.mi_fecha[2] == 30:
# El día de la semana es sábado
# estamos todavía en horario de invierno
if self.mi_fecha[6] <=5 and self.mi_fecha[6] > 4:
self.corrector = 1
# Si es domingo y la hora está por debajo
# de la una , estamos en horario de invierno
# en caso contrario ya estaremos en horario
# de verano, y sumamos 2 segundos (2 horas).
elif self.mi_fecha[6] == 6:
if self.mi_fecha[3] == 0:
self.corrector = 1
else:
self.corrector = 2
# En otro caso sería lunes, martes, miercoles, jueves
# o viernes y deberíamos sumar 2 segundos (2 horas)
else:
self.corrector = 2
# Mes de MARZO, día 31
elif self.mi_fecha[1] == 3 and self.mi_fecha[2] == 31:
# Si es domingo y la hora está por debajo
# de la una , estamos en horario de invierno
# en caso contrario ya estaremos en horario
# de verano, y sumamos 2 segundos (2 horas).
if self.mi_fecha[6] == 6:
if self.mi_fecha[3] == 0:
self.corrector = 1
else:
self.corrector = 2
# En otro caso sería lunes, martes, miercoles, jueves
# viernes o sábado y deberíamos sumar 2 segundos (2 horas)
else:
self.corrector = 2
# ***** Cambio de hora en octubre
# Mes de OCTUBRE y día anterior al 25
# estamos dentro del horario de VERANO sumaremos
# dos horas , o 2 segundos
elif self.mi_fecha[1] == 10 and self.mi_fecha[2] < 25:
self.corrector = 2
# Mes de OCTUBRE , día 25
elif self.mi_fecha[1] == 10 and self.mi_fecha[2] == 25:
# Día de la semana no es domingo
# estamos todavía en horario de VERANO
if self.mi_fecha[6] <=5:
self.corrector = 2
# Si es domingo y la hora está por debajo
# de las dos, estamos en horario de verano
# en caso contrario ya estaremos en horario
# de invierno, y sumamos 1 segundos (1 hora).
elif self.mi_fecha[6] == 6:
if self.mi_fecha[3] <= 1:
self.corrector = 2
else:
self.corrector = 1
# Mes de OCTUBRE , día 26
elif self.mi_fecha[1] == 10 and self.mi_fecha[2] == 26:
# Día de la semana no es domingo ni lunes
# estamos todavía en horario de VERANO
if self.mi_fecha[6] <=5 and self.mi_fecha[6] > 0:
self.corrector = 2
# Si es domingo y la hora está por debajo
# de las dos , estamos en horario de VERANO
# en caso contrario ya estaremos en horario
# de invierno, y sumamos 1 segundos (1 hora).
elif self.mi_fecha[6] == 6:
if self.mi_fecha[3] <= 1:
self.corrector = 2
else:
self.corrector = 1
# En otro caso sería lunes y deberíamos
# sumar 1 segundos (1 hora)
else:
self.corrector = 1
# Mes de OCTUBRE, día 27
elif self.mi_fecha[1] == 3 and self.mi_fecha[2] == 27:
# El día de la semana no es lunes, martes ni domingo
# estamos todavía en horario de VERANO
if self.mi_fecha[6] <=5 and self.mi_fecha[6] > 1:
self.corrector = 2
# Si es domingo y la hora está por debajo
# de las dos, estamos en horario de verano
# en caso contrario ya estaremos en horario
# de invierno, y sumamos 1 segundos (1 hora).
elif self.mi_fecha[6] == 6:
if self.mi_fecha[3] <= 1:
self.corrector = 2
else:
self.corrector = 1
# En otro caso sería lunes o martes, y deberíamos
# sumar 1 segundos (1 hora)
else:
self.corrector = 1
# Mes de OCTUBRE, día 28
elif self.mi_fecha[1] == 10 and self.mi_fecha[2] == 28:
# El día de la semana no es lunes, martes, miércoles
# ni domingo, estamos todavía en horario de VERANO
if self.mi_fecha[6] <=5 and self.mi_fecha[6] > 2:
self.corrector = 2
# Si es domingo y la hora está por debajo
# de las dos , estamos en horario de verano
# en caso contrario ya estaremos en horario
# de invierno, y sumamos 1 segundos (1 hora).
elif self.mi_fecha[6] == 6:
if self.mi_fecha[3] <= 1:
self.corrector = 2
else:
self.corrector = 1
# En otro caso sería lunes, martes o miercoles,
# y deberíamos sumar 2 segundos (2 horas)
else:
self.corrector = 1
# Mes de OCTUBRE, día 29
elif self.mi_fecha[1] == 10 and self.mi_fecha[2] == 29:
# El día de la semana no es lunes, martes, miércoles
# jueves, ni domingo, estamos todavía en horario de VERABI
if self.mi_fecha[6] <=5 and self.mi_fecha[6] > 3:
self.corrector = 2
# Si es domingo y la hora está por debajo
# de las dos , estamos en horario de verano
# en caso contrario ya estaremos en horario
# de invierno, y sumamos 1 segundos (1 hora).
elif self.mi_fecha[6] == 6:
if self.mi_fecha[3] <= 1:
self.corrector = 2
else:
self.corrector = 1
# En otro caso sería lunes, martes, miercoles o
# o jueves y deberíamos sumar 1 segundos (1 hora)
else:
self.corrector = 1
# Mes de OCTUBRE, día 30
elif self.mi_fecha[1] == 10 and self.mi_fecha[2] == 30:
# El día de la semana es sábado
# estamos todavía en horario de VERANO
if self.mi_fecha[6] <=5 and self.mi_fecha[6] > 4:
self.corrector = 2
# Si es domingo y la hora está por debajo
# de las dos , estamos en horario de invierno
# en caso contrario ya estaremos en horario
# de invierno, y sumamos 1 segundos (1 hora).
elif self.mi_fecha[6] == 6:
if self.mi_fecha[3] <= 1:
self.corrector = 2
else:
self.corrector = 1
# En otro caso sería lunes, martes, miercoles, jueves
# o viernes y deberíamos sumar 1 segundos (1 hora)
else:
self.corrector = 1
# Mes de OCTUBRE, día 31
elif self.mi_fecha[1] == 10 and self.mi_fecha[2] == 31:
# Si es domingo y la hora está por debajo
# de las dos , estamos en horario de VERANO
# en caso contrario ya estaremos en horario
# de invierno, y sumamos 1 segundos (1 hora).
if self.mi_fecha[6] == 6:
if self.mi_fecha[3] <= 1:
self.corrector = 2
else:
self.corrector = 1
# En otro caso sería lunes, martes, miercoles, jueves
# viernes o sábado y deberíamos sumar 1 segundos (1 hora)
else:
self.corrector = 1
else:
self.corrector = 2
# Pasamos RTC a lista
self.__datetime = list(rtc.datetime())
# Sumamos las horas por zona a la hora de la lista RTC
self.__datetime[4]=self.__datetime[4]+self.corrector
# Pasamos la lista a tupla
self.__datetime = tuple(self.__datetime)
# Actualizamos el RTC
rtc.datetime(self.__datetime)
| 42.005602 | 73 | 0.509202 | 1,923 | 14,996 | 3.907956 | 0.088924 | 0.067864 | 0.124418 | 0.057485 | 0.815569 | 0.811178 | 0.805456 | 0.799069 | 0.789754 | 0.789754 | 0 | 0.039769 | 0.421512 | 14,996 | 357 | 74 | 42.005602 | 0.826513 | 0.400173 | 0 | 0.739645 | 0 | 0 | 0.009604 | 0 | 0 | 0 | 0 | 0.002801 | 0 | 1 | 0.017751 | false | 0.023669 | 0.017751 | 0 | 0.04142 | 0.017751 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2b471b083dfe5fb09748b580df2876cc4f7e3727 | 8,129 | py | Python | nas4candle/nasapi/search/nas/agent/utils.py | scrlnas2019/nas4candle | 318959424cc66819c816054a87bd1cb5d426e2e7 | [
"BSD-3-Clause"
] | 1 | 2021-01-22T04:03:00.000Z | 2021-01-22T04:03:00.000Z | nas4candle/nasapi/search/nas/agent/utils.py | scrlnas2019/nas4candle | 318959424cc66819c816054a87bd1cb5d426e2e7 | [
"BSD-3-Clause"
] | 1 | 2021-01-23T00:14:17.000Z | 2021-01-23T00:14:17.000Z | nas4candle/nasapi/search/nas/agent/utils.py | scrlnas2019/nas4candle | 318959424cc66819c816054a87bd1cb5d426e2e7 | [
"BSD-3-Clause"
] | 2 | 2019-11-27T04:42:00.000Z | 2021-01-22T04:06:59.000Z | import numpy as np
from mpi4py import MPI
def reward_for_all_timesteps(reward_list, index_final_timestep, reward, episode_length):
"""
Args:
reward_list (list): list of length (episode_length) * number_of_episodes
index_final_timestep (int): index of final timestep of current episode in reward_list
reward (float): reward corresponding to the current episode
episode_length (int): length of the current episode
Return:
Reward of current episode.
"""
episode_reward = reward * episode_length
for i in range(0, episode_length):
reward_list[index_final_timestep-i] = reward
return episode_reward
def reward_for_final_timestep(reward_list, index_final_timestep, reward, episode_length):
"""
Args:
reward_list (list): list of length (episode_length) * number_of_episodes
index_final_timestep (int): index of final timestep of current episode in reward_list
reward (float): reward corresponding to the current episode
episode_length (int): length of the current episode
Return:
Reward of current episode.
"""
episode_reward = reward
for i in range(1, episode_length):
reward_list[index_final_timestep-i] = 0
reward_list[index_final_timestep] = reward
return episode_reward
def reward_with_discounted_factor(reward_list, index_final_timestep, reward, episode_length, discounted_factor=0.98):
"""
Args:
reward_list (list): list of length (episode_length) * number_of_episodes
index_final_timestep (int): index of final timestep of current episode in reward_list
reward (float): reward corresponding to the current episode
episode_length (int): length of the current episode
Return:
Reward of current episode.
"""
episode_reward = reward
for i in range(0, episode_length):
reward_list[index_final_timestep-i] = reward
reward = reward*discounted_factor
return episode_reward
def traj_segment_generator(pi, env, horizon, stochastic, reward_affect_func):
t = 0
ac = env.action_space.sample() # not used, just so we have the datatype
new = True # marks if we're on first timestep of an episode
ob = env.reset()
cur_ep_ret = 0 # return in current episode
cur_ep_len = 0 # len of current episode
ep_rets = [] # returns of completed episodes in this segment
ep_lens = [] # lengths of ...
ts_i2n_ep = {}
# Initialize history arrays
obs = np.array([ob for _ in range(horizon)])
rews = np.zeros(horizon, 'float32')
vpreds = np.zeros(horizon, 'float32')
news = np.zeros(horizon, 'int32')
acs = np.array([ac for _ in range(horizon)])
prevacs = acs.copy()
num_evals = 0
while True:
prevac = ac
ac, vpred = pi.act(stochastic, ob)
# Slight weirdness here because we need value function at time T
# before returning segment [0, T-1] so we get the correct
# terminal value
if t > 0 and t % horizon == 0:
while num_evals > 0:
results = env.get_rewards_ready()
for (cfg, rew) in results:
index = cfg['w']
episode_length = ep_lens[ts_i2n_ep[index]-1]
episode_rew = reward_affect_func(rews, index, rew, episode_length)
num_evals -= 1
ep_rets[ts_i2n_ep[index]-1] = episode_rew
ts_i2n_ep = {}
data = {"ob" : obs, "rew" : rews, "vpred" : vpreds, "new" : news,
"ac" : acs, "prevac" : prevacs, "nextvpred": vpred * (1 - new),
"ep_rets" : ep_rets, "ep_lens" : ep_lens}
yield data
# Be careful!!! if you change the downstream algorithm to aggregate
# several of these batches, then be sure to do a deepcopy
ep_rets = []
ep_lens = []
i = t % horizon
obs[i] = ob
vpreds[i] = vpred
news[i] = new
acs[i] = ac
prevacs[i] = prevac
# observ, reward, episode_over, meta -> {}
ob, rew, new, _ = env.step(ac, i, rank=MPI.COMM_WORLD.Get_rank())
rews[i] = rew
cur_ep_ret += rew if rew != None else 0
cur_ep_len += 1
if new:
num_evals += 1
ts_i2n_ep[i] = num_evals
ep_rets.append(cur_ep_ret)
ep_lens.append(cur_ep_len)
cur_ep_ret = 0
cur_ep_len = 0
ob = env.reset()
t += 1
def traj_segment_generator_ph(pi, env, horizon, stochastic, reward_affect_func):
t = 0
ac = env.action_space.sample() # not used, just so we have the datatype
new = True # marks if we're on first timestep of an episode
ob = env.reset()
np.random.seed(2019)
c_vf, h_vf = np.random.rand(*tuple([1]+list(pi.input_c_vf.get_shape()[1:]))), np.random.rand(*tuple([1]+list(pi.input_h_vf.get_shape()[1:])))
c_pol, h_pol = np.random.rand(*tuple([1]+list(pi.input_c_pol.get_shape()[1:]))), np.random.rand(*tuple([1]+list(pi.input_h_pol.get_shape()[1:])))
cur_ep_ret = 0 # return in current episode
cur_ep_len = 0 # len of current episode
ep_rets = [] # returns of completed episodes in this segment
ep_lens = [] # lengths of ...
ts_i2n_ep = {}
# Initialize history arrays
obs = np.array([ob for _ in range(horizon)])
history_hs_vf = [None for _ in range(horizon)]
history_hs_pol = [None for _ in range(horizon)]
rews = np.zeros(horizon, 'float32')
vpreds = np.zeros(horizon, 'float32')
news = np.zeros(horizon, 'int32')
acs = np.array([ac for _ in range(horizon)])
prevacs = acs.copy()
num_evals = 0
while True:
prevac = ac
ac, vpred, (c_vf, h_vf), (c_pol, h_pol) = pi.act(stochastic, ob, c_vf, h_vf, c_pol, h_pol)
# Slight weirdness here because we need value function at time T
# before returning segment [0, T-1] so we get the correct
# terminal value
if t > 0 and t % horizon == 0:
while num_evals > 0:
results = env.get_rewards_ready()
for (cfg, rew) in results:
index = cfg['w']
episode_length = ep_lens[ts_i2n_ep[index]-1]
episode_rew = reward_affect_func(rews, index, rew, episode_length)
num_evals -= 1
ep_rets[ts_i2n_ep[index]-1] = episode_rew
ts_i2n_ep = {}
data = {
"ob" : obs,
"hs_vf": history_hs_vf,
"hs_pol": history_hs_pol,
"rew" : rews,
"vpred" : vpreds,
"new" : news,
"ac" : acs,
"prevac" : prevacs,
"nextvpred": vpred * (1 - new),
"ep_rets" : ep_rets,
"ep_lens" : ep_lens
}
yield data
# Be careful!!! if you change the downstream algorithm to aggregate
# several of these batches, then be sure to do a deepcopy
ep_rets = []
ep_lens = []
i = t % horizon
obs[i] = ob
history_hs_vf[i] = (c_vf, h_vf)
history_hs_pol[i] = (c_pol, h_pol)
vpreds[i] = vpred
news[i] = new
acs[i] = ac
prevacs[i] = prevac
# observ, reward, episode_over, meta -> {}
ob, rew, new, _ = env.step(ac, i, rank=MPI.COMM_WORLD.Get_rank())
rews[i] = rew
cur_ep_ret += rew if rew != None else 0
cur_ep_len += 1
if new:
num_evals += 1
ts_i2n_ep[i] = num_evals
ep_rets.append(cur_ep_ret)
ep_lens.append(cur_ep_len)
cur_ep_ret = 0
cur_ep_len = 0
ob = env.reset()
c_vf, h_vf = np.zeros([1]+list(pi.input_c_vf.get_shape()[1:])), np.zeros([1]+list(pi.input_h_vf.get_shape()[1:]))
c_pol, h_pol = np.zeros([1]+list(pi.input_c_pol.get_shape()[1:])), np.zeros([1]+list(pi.input_h_pol.get_shape()[1:]))
t += 1
| 37.809302 | 149 | 0.584082 | 1,129 | 8,129 | 3.980514 | 0.144376 | 0.049177 | 0.040053 | 0.021362 | 0.921451 | 0.917 | 0.889186 | 0.886515 | 0.860481 | 0.84802 | 0 | 0.015731 | 0.311846 | 8,129 | 214 | 150 | 37.985981 | 0.78763 | 0.250584 | 0 | 0.736486 | 0 | 0 | 0.023365 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033784 | false | 0 | 0.013514 | 0 | 0.067568 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2b6e0dcf30dcc6de996c01e5074ba846c028a2a3 | 30,253 | py | Python | code/model.py | jeongwhanchoi/LT-OCF | bd392e10d0091fb42853587748ebfb1b6021fbc0 | [
"MIT"
] | 10 | 2021-08-09T06:05:38.000Z | 2022-02-17T09:15:56.000Z | code/model.py | jeongwhanchoi/LT-OCF | bd392e10d0091fb42853587748ebfb1b6021fbc0 | [
"MIT"
] | null | null | null | code/model.py | jeongwhanchoi/LT-OCF | bd392e10d0091fb42853587748ebfb1b6021fbc0 | [
"MIT"
] | 4 | 2021-08-18T03:08:23.000Z | 2021-12-07T10:43:09.000Z | """
Define models here
"""
import world
import torch
from dataloader import BasicDataset
import dataloader
from torch import nn
import odeblock as ode
class BasicModel(nn.Module):
def __init__(self):
super(BasicModel, self).__init__()
def getUsersRating(self, users):
raise NotImplementedError
class PairWiseModel(BasicModel):
def __init__(self):
super(PairWiseModel, self).__init__()
def bpr_loss(self, users, pos, neg):
"""
Parameters:
users: users list
pos: positive items for corresponding users
neg: negative items for corresponding users
Return:
(log-loss, l2-loss)
"""
raise NotImplementedError
class PureMF(BasicModel):
def __init__(self,
config:dict,
dataset:BasicDataset):
super(PureMF, self).__init__()
self.num_users = dataset.n_users
self.num_items = dataset.m_items
self.latent_dim = config['latent_dim_rec']
self.f = nn.Sigmoid()
self.__init_weight()
def __init_weight(self):
self.embedding_user = torch.nn.Embedding(
num_embeddings=self.num_users, embedding_dim=self.latent_dim)
self.embedding_item = torch.nn.Embedding(
num_embeddings=self.num_items, embedding_dim=self.latent_dim)
print("using Normal distribution N(0,1) initialization for PureMF")
def getUsersRating(self, users):
users = users.long()
users_emb = self.embedding_user(users)
items_emb = self.embedding_item.weight
scores = torch.matmul(users_emb, items_emb.t())
return self.f(scores)
def bpr_loss(self, users, pos, neg):
users_emb = self.embedding_user(users.long())
pos_emb = self.embedding_item(pos.long())
neg_emb = self.embedding_item(neg.long())
pos_scores= torch.sum(users_emb*pos_emb, dim=1)
neg_scores= torch.sum(users_emb*neg_emb, dim=1)
loss = torch.mean(nn.functional.softplus(neg_scores - pos_scores))
reg_loss = (1/2)*(users_emb.norm(2).pow(2) +
pos_emb.norm(2).pow(2) +
neg_emb.norm(2).pow(2))/float(len(users))
return loss, reg_loss
def forward(self, users, items):
users = users.long()
items = items.long()
users_emb = self.embedding_user(users)
items_emb = self.embedding_item(items)
scores = torch.sum(users_emb*items_emb, dim=1)
return self.f(scores)
class LightGCN(BasicModel):
def __init__(self,
config:dict,
dataset:BasicDataset):
super(LightGCN, self).__init__()
self.config = config
self.dataset : dataloader.BasicDataset = dataset
self.__init_weight()
def __init_weight(self):
self.num_users = self.dataset.n_users
self.num_items = self.dataset.m_items
self.latent_dim = self.config['latent_dim_rec']
self.n_layers = self.config['lightGCN_n_layers']
self.keep_prob = self.config['keep_prob']
self.A_split = self.config['A_split']
self.embedding_user = torch.nn.Embedding(
num_embeddings=self.num_users, embedding_dim=self.latent_dim)
self.embedding_item = torch.nn.Embedding(
num_embeddings=self.num_items, embedding_dim=self.latent_dim)
if self.config['pretrain'] == 0:
# nn.init.xavier_uniform_(self.embedding_user.weight, gain=1)
# nn.init.xavier_uniform_(self.embedding_item.weight, gain=1)
# print('use xavier initilizer')
# random normal init seems to be a better choice when lightGCN actually don't use any non-linear activation function
nn.init.normal_(self.embedding_user.weight, std=0.1)
nn.init.normal_(self.embedding_item.weight, std=0.1)
world.cprint('use NORMAL distribution initilizer')
else:
self.embedding_user.weight.data.copy_(torch.from_numpy(self.config['user_emb']))
self.embedding_item.weight.data.copy_(torch.from_numpy(self.config['item_emb']))
print('use pretarined data')
self.f = nn.Sigmoid()
self.Graph = self.dataset.getSparseGraph()
print(f"lgn is already to go(dropout:{self.config['dropout']})")
# print("save_txt")
def __dropout_x(self, x, keep_prob):
size = x.size()
index = x.indices().t()
values = x.values()
random_index = torch.rand(len(values)) + keep_prob
random_index = random_index.int().bool()
index = index[random_index]
values = values[random_index]/keep_prob
g = torch.sparse.FloatTensor(index.t(), values, size)
return g
def __dropout(self, keep_prob):
if self.A_split:
graph = []
for g in self.Graph:
graph.append(self.__dropout_x(g, keep_prob))
else:
graph = self.__dropout_x(self.Graph, keep_prob)
return graph
def computer(self):
"""
propagate methods for lightGCN
"""
users_emb = self.embedding_user.weight
items_emb = self.embedding_item.weight
all_emb = torch.cat([users_emb, items_emb])
# torch.split(all_emb , [self.num_users, self.num_items])
embs = [all_emb]
if self.config['dropout']:
if self.training:
g_droped = self.__dropout(self.keep_prob)
else:
g_droped = self.Graph
else:
g_droped = self.Graph
for layer in range(self.n_layers):
if self.A_split:
temp_emb = []
for f in range(len(g_droped)):
temp_emb.append(torch.sparse.mm(g_droped[f], all_emb))
side_emb = torch.cat(temp_emb, dim=0)
all_emb = side_emb
else:
all_emb = torch.sparse.mm(g_droped, all_emb)
embs.append(all_emb)
embs = torch.stack(embs, dim=1)
#print(embs.size())
light_out = torch.mean(embs, dim=1)
users, items = torch.split(light_out, [self.num_users, self.num_items])
return users, items
def getUsersRating(self, users):
all_users, all_items = self.computer()
users_emb = all_users[users.long()]
items_emb = all_items
rating = self.f(torch.matmul(users_emb, items_emb.t()))
return rating
def getEmbedding(self, users, pos_items, neg_items):
all_users, all_items = self.computer()
users_emb = all_users[users]
pos_emb = all_items[pos_items]
neg_emb = all_items[neg_items]
users_emb_ego = self.embedding_user(users)
pos_emb_ego = self.embedding_item(pos_items)
neg_emb_ego = self.embedding_item(neg_items)
return users_emb, pos_emb, neg_emb, users_emb_ego, pos_emb_ego, neg_emb_ego
def bpr_loss(self, users, pos, neg):
(users_emb, pos_emb, neg_emb,
userEmb0, posEmb0, negEmb0) = self.getEmbedding(users.long(), pos.long(), neg.long())
reg_loss = (1/2)*(userEmb0.norm(2).pow(2) +
posEmb0.norm(2).pow(2) +
negEmb0.norm(2).pow(2))/float(len(users))
pos_scores = torch.mul(users_emb, pos_emb)
pos_scores = torch.sum(pos_scores, dim=1)
neg_scores = torch.mul(users_emb, neg_emb)
neg_scores = torch.sum(neg_scores, dim=1)
loss = torch.mean(torch.nn.functional.softplus(neg_scores - pos_scores))
return loss, reg_loss
def forward(self, users, items):
# compute embedding
all_users, all_items = self.computer()
#all_users, all_items = self.computer()
users_emb = all_users[users]
items_emb = all_items[items]
inner_pro = torch.mul(users_emb, items_emb)
gamma = torch.sum(inner_pro, dim=1)
return gamma
class LTOCF(BasicModel):
def __init__(self,
config:dict,
dataset:BasicDataset):
super(LTOCF, self).__init__()
self.config = config
self.dataset : dataloader.BasicDataset = dataset
self.__init_weight()
self.__init_ode()
def __init_weight(self):
self.num_users = self.dataset.n_users
self.num_items = self.dataset.m_items
self.latent_dim = self.config['latent_dim_rec']
self.n_layers = self.config['lightGCN_n_layers']
self.keep_prob = self.config['keep_prob']
self.A_split = self.config['A_split']
self.embedding_user = torch.nn.Embedding(
num_embeddings=self.num_users, embedding_dim=self.latent_dim)
self.embedding_item = torch.nn.Embedding(
num_embeddings=self.num_items, embedding_dim=self.latent_dim)
if self.config['pretrain'] == 0:
# nn.init.xavier_uniform_(self.embedding_user.weight, gain=1)
# nn.init.xavier_uniform_(self.embedding_item.weight, gain=1)
# print('use xavier initilizer')
# random normal init seems to be a better choice when lightGCN actually don't use any non-linear activation function
nn.init.normal_(self.embedding_user.weight, std=0.1)
nn.init.normal_(self.embedding_item.weight, std=0.1)
world.cprint('use NORMAL distribution initilizer')
else:
# self.embedding_user.weight.data.copy_(torch.from_numpy(self.config['user_emb']))
# self.embedding_item.weight.data.copy_(torch.from_numpy(self.config['item_emb']))
print('use pretarined data')
self.f = nn.Sigmoid()
self.Graph = self.dataset.getSparseGraph()
print(f"lgn is already to go(dropout:{self.config['dropout']})")
def __init_ode(self):
self.time_split = self.config['time_split'] # init the number of time split
if world.config['learnable_time'] == True:
self.odetimes = ode.ODETimeSetter(self.time_split, self.config['K'])
self.odetime_1 = [self.odetimes[0]]
self.odetime_2 = [self.odetimes[1]]
self.odetime_3 = [self.odetimes[2]]
self.ode_block_test_1 = ode.ODEBlockTimeFirst(ode.ODEFunction(self.Graph),self.time_split, self.config['solver'])
self.ode_block_test_2 = ode.ODEBlockTimeMiddle(ode.ODEFunction(self.Graph),self.time_split, self.config['solver'])
self.ode_block_test_3 = ode.ODEBlockTimeMiddle(ode.ODEFunction(self.Graph),self.time_split, self.config['solver'])
self.ode_block_test_4 = ode.ODEBlockTimeLast(ode.ODEFunction(self.Graph),self.time_split, self.config['solver'])
else:
self.odetime_splitted = ode.ODETimeSplitter(self.time_split, self.config['K'])
self.ode_block_1 = ode.ODEBlock(ode.ODEFunction(self.Graph), self.config['solver'], 0, self.odetime_splitted[0])
self.ode_block_2 = ode.ODEBlock(ode.ODEFunction(self.Graph), self.config['solver'], self.odetime_splitted[0], self.odetime_splitted[1])
self.ode_block_3 = ode.ODEBlock(ode.ODEFunction(self.Graph), self.config['solver'], self.odetime_splitted[1], self.odetime_splitted[2])
self.ode_block_4 = ode.ODEBlock(ode.ODEFunction(self.Graph), self.config['solver'], self.odetime_splitted[2], self.config['K'])
def get_time(self):
ode_times=list(self.odetime_1)+ list(self.odetime_2)+ list(self.odetime_3)
return ode_times
def __dropout_x(self, x, keep_prob):
size = x.size()
index = x.indices().t()
values = x.values()
random_index = torch.rand(len(values)) + keep_prob
random_index = random_index.int().bool()
index = index[random_index]
values = values[random_index]/keep_prob
g = torch.sparse.FloatTensor(index.t(), values, size)
return g
def __dropout(self, keep_prob):
if self.A_split:
graph = []
for g in self.Graph:
graph.append(self.__dropout_x(g, keep_prob))
else:
graph = self.__dropout_x(self.Graph, keep_prob)
return graph
def computer(self):
"""
propagate methods for LT-NCF
"""
users_emb = self.embedding_user.weight
items_emb = self.embedding_item.weight
all_emb = torch.cat([users_emb, items_emb])
embs = [all_emb]
if self.config['dropout']:
if self.training:
g_droped = self.__dropout(self.keep_prob)
else:
g_droped = self.Graph
else:
g_droped = self.Graph
"""
layers
"""
if world.config['learnable_time'] == True:
out_1 = self.ode_block_test_1(all_emb, self.odetime_1)
if world.config['dual_res'] == False:
out_1 = out_1 - all_emb
embs.append(out_1)
out_2 = self.ode_block_test_2(out_1, self.odetime_1, self.odetime_2)
if world.config['dual_res'] == False:
out_2 = out_2 - out_1
embs.append(out_2)
out_3 = self.ode_block_test_3(out_2, self.odetime_2, self.odetime_3)
if world.config['dual_res'] == False:
out_3 = out_3 - out_2
embs.append(out_3)
out_4 = self.ode_block_test_4(out_3, self.odetime_3)
if world.config['dual_res'] == False:
out_4 = out_4 - out_3
embs.append(out_4)
elif world.config['learnable_time'] == False:
all_emb_1 = self.ode_block_1(all_emb)
all_emb_1 = all_emb_1 - all_emb
embs.append(all_emb_1)
all_emb_2 = self.ode_block_2(all_emb_1)
all_emb_2 = all_emb_2 - all_emb_1
embs.append(all_emb_2)
all_emb_3 = self.ode_block_3(all_emb_2)
all_emb_3 = all_emb_3 - all_emb_2
embs.append(all_emb_3)
all_emb_4 = self.ode_block_4(all_emb_3)
all_emb_4 = all_emb_4 - all_emb_3
embs.append(all_emb_4)
embs = torch.stack(embs, dim=1)
light_out = torch.mean(embs, dim=1)
users, items = torch.split(light_out, [self.num_users, self.num_items])
return users, items
def getUsersRating(self, users):
all_users, all_items = self.computer()
users_emb = all_users[users.long()]
items_emb = all_items
rating = self.f(torch.matmul(users_emb, items_emb.t()))
return rating
def getEmbedding(self, users, pos_items, neg_items):
all_users, all_items = self.computer()
users_emb = all_users[users]
pos_emb = all_items[pos_items]
neg_emb = all_items[neg_items]
users_emb_ego = self.embedding_user(users)
pos_emb_ego = self.embedding_item(pos_items)
neg_emb_ego = self.embedding_item(neg_items)
return users_emb, pos_emb, neg_emb, users_emb_ego, pos_emb_ego, neg_emb_ego
def bpr_loss(self, users, pos, neg):
(users_emb, pos_emb, neg_emb,
userEmb0, posEmb0, negEmb0) = self.getEmbedding(users.long(), pos.long(), neg.long())
reg_loss = (1/2)*(userEmb0.norm(2).pow(2) +
posEmb0.norm(2).pow(2) +
negEmb0.norm(2).pow(2))/float(len(users))
pos_scores = torch.mul(users_emb, pos_emb)
pos_scores = torch.sum(pos_scores, dim=1)
neg_scores = torch.mul(users_emb, neg_emb)
neg_scores = torch.sum(neg_scores, dim=1)
loss = torch.mean(torch.nn.functional.softplus(neg_scores - pos_scores))
return loss, reg_loss
def forward(self, users, items):
# compute embedding
all_users, all_items = self.computer()
users_emb = all_users[users]
items_emb = all_items[items]
inner_pro = torch.mul(users_emb, items_emb)
gamma = torch.sum(inner_pro, dim=1)
return gamma
class LTOCF2(BasicModel):
def __init__(self,
config:dict,
dataset:BasicDataset):
super(LTOCF2, self).__init__()
self.config = config
self.dataset : dataloader.BasicDataset = dataset
self.__init_weight()
self.__init_ode()
def __init_weight(self):
self.num_users = self.dataset.n_users
self.num_items = self.dataset.m_items
self.latent_dim = self.config['latent_dim_rec']
self.n_layers = self.config['lightGCN_n_layers']
self.keep_prob = self.config['keep_prob']
self.A_split = self.config['A_split']
self.embedding_user = torch.nn.Embedding(
num_embeddings=self.num_users, embedding_dim=self.latent_dim)
self.embedding_item = torch.nn.Embedding(
num_embeddings=self.num_items, embedding_dim=self.latent_dim)
if self.config['pretrain'] == 0:
# nn.init.xavier_uniform_(self.embedding_user.weight, gain=1)
# nn.init.xavier_uniform_(self.embedding_item.weight, gain=1)
# print('use xavier initilizer')
# random normal init seems to be a better choice when lightGCN actually don't use any non-linear activation function
nn.init.normal_(self.embedding_user.weight, std=0.1)
nn.init.normal_(self.embedding_item.weight, std=0.1)
world.cprint('use NORMAL distribution initilizer')
else:
# self.embedding_user.weight.data.copy_(torch.from_numpy(self.config['user_emb']))
# self.embedding_item.weight.data.copy_(torch.from_numpy(self.config['item_emb']))
print('use pretarined data')
self.f = nn.Sigmoid()
self.Graph = self.dataset.getSparseGraph()
print(f"lgn is already to go(dropout:{self.config['dropout']})")
def __init_ode(self):
if world.config['learnable_time'] == True:
self.time_split = self.config['time_split'] # init the number of time split
self.odetimes = ode.ODETimeSetter(self.time_split, self.config['K'])
self.odetime_1 = [self.odetimes[0]]
self.odetime_2 = [self.odetimes[1]]
self.ode_block_test_1 = ode.ODEBlockTimeFirst(ode.ODEFunction(self.Graph),self.time_split, self.config['solver'])
self.ode_block_test_2 = ode.ODEBlockTimeMiddle(ode.ODEFunction(self.Graph),self.time_split, self.config['solver'])
self.ode_block_test_3 = ode.ODEBlockTimeLastK(ode.ODEFunction(self.Graph),self.time_split, self.config['solver'], self.config['K'])
else:
self.ode_block_1 = ode.ODEBlock(ode.ODEFunction(self.Graph), self.config['solver'], 0, self.config['K']/3)
self.ode_block_2 = ode.ODEBlock(ode.ODEFunction(self.Graph), self.config['solver'], self.config['K']/3, 2*self.config['K']/3)
self.ode_block_3 = ode.ODEBlock(ode.ODEFunction(self.Graph), self.config['solver'], 2*self.config['K']/3, self.config['K'])
def get_time(self):
ode_times=list(self.odetime_1)+ list(self.odetime_2)
return ode_times
def __dropout_x(self, x, keep_prob):
size = x.size()
index = x.indices().t()
values = x.values()
random_index = torch.rand(len(values)) + keep_prob
random_index = random_index.int().bool()
index = index[random_index]
values = values[random_index]/keep_prob
g = torch.sparse.FloatTensor(index.t(), values, size)
return g
def __dropout(self, keep_prob):
if self.A_split:
graph = []
for g in self.Graph:
graph.append(self.__dropout_x(g, keep_prob))
else:
graph = self.__dropout_x(self.Graph, keep_prob)
return graph
def computer(self):
"""
propagate methods for Continuous-Time lightGCN
"""
users_emb = self.embedding_user.weight
items_emb = self.embedding_item.weight
all_emb = torch.cat([users_emb, items_emb])
embs = [all_emb]
if self.config['dropout']:
if self.training:
g_droped = self.__dropout(self.keep_prob)
else:
g_droped = self.Graph
else:
g_droped = self.Graph
"""
layers
"""
if world.config['learnable_time'] == True:
out_1 = self.ode_block_test_1(all_emb, self.odetime_1)
if world.config['dual_res'] == False:
out_1 = out_1 - all_emb
embs.append(out_1)
out_2 = self.ode_block_test_2(out_1, self.odetime_1, self.odetime_2)
if world.config['dual_res'] == False:
out_2 = out_2 - out_1
embs.append(out_2)
out_3 = self.ode_block_test_3(out_2, self.odetime_2)
if world.config['dual_res'] == False:
out_3 = out_3 - out_2
embs.append(out_3)
elif world.config['learnable_time'] == False:
all_emb_1 = self.ode_block_1(all_emb)
all_emb_1 = all_emb_1 - all_emb
embs.append(all_emb_1)
all_emb_2 = self.ode_block_2(all_emb_1)
all_emb_2 = all_emb_2 - all_emb_1
embs.append(all_emb_2)
all_emb_3 = self.ode_block_3(all_emb_2)
all_emb_3 = all_emb_3 - all_emb_2
embs.append(all_emb_3)
embs = torch.stack(embs, dim=1)
light_out = torch.mean(embs, dim=1)
users, items = torch.split(light_out, [self.num_users, self.num_items])
return users, items
def getUsersRating(self, users):
all_users, all_items = self.computer()
users_emb = all_users[users.long()]
items_emb = all_items
rating = self.f(torch.matmul(users_emb, items_emb.t()))
return rating
def getEmbedding(self, users, pos_items, neg_items):
all_users, all_items = self.computer()
users_emb = all_users[users]
pos_emb = all_items[pos_items]
neg_emb = all_items[neg_items]
users_emb_ego = self.embedding_user(users)
pos_emb_ego = self.embedding_item(pos_items)
neg_emb_ego = self.embedding_item(neg_items)
return users_emb, pos_emb, neg_emb, users_emb_ego, pos_emb_ego, neg_emb_ego
def bpr_loss(self, users, pos, neg):
(users_emb, pos_emb, neg_emb,
userEmb0, posEmb0, negEmb0) = self.getEmbedding(users.long(), pos.long(), neg.long())
reg_loss = (1/2)*(userEmb0.norm(2).pow(2) +
posEmb0.norm(2).pow(2) +
negEmb0.norm(2).pow(2))/float(len(users))
pos_scores = torch.mul(users_emb, pos_emb)
pos_scores = torch.sum(pos_scores, dim=1)
neg_scores = torch.mul(users_emb, neg_emb)
neg_scores = torch.sum(neg_scores, dim=1)
loss = torch.mean(torch.nn.functional.softplus(neg_scores - pos_scores))
return loss, reg_loss
def forward(self, users, items):
# compute embedding
all_users, all_items = self.computer()
users_emb = all_users[users]
items_emb = all_items[items]
inner_pro = torch.mul(users_emb, items_emb)
gamma = torch.sum(inner_pro, dim=1)
return gamma
class LTOCF1(BasicModel):
def __init__(self,
config:dict,
dataset:BasicDataset):
super(LTOCF1, self).__init__()
self.config = config
self.dataset : dataloader.BasicDataset = dataset
self.__init_weight()
self.__init_ode()
def __init_weight(self):
self.num_users = self.dataset.n_users
self.num_items = self.dataset.m_items
self.latent_dim = self.config['latent_dim_rec']
self.n_layers = self.config['lightGCN_n_layers']
self.keep_prob = self.config['keep_prob']
self.A_split = self.config['A_split']
self.embedding_user = torch.nn.Embedding(
num_embeddings=self.num_users, embedding_dim=self.latent_dim)
self.embedding_item = torch.nn.Embedding(
num_embeddings=self.num_items, embedding_dim=self.latent_dim)
if self.config['pretrain'] == 0:
# nn.init.xavier_uniform_(self.embedding_user.weight, gain=1)
# nn.init.xavier_uniform_(self.embedding_item.weight, gain=1)
# print('use xavier initilizer')
# random normal init seems to be a better choice when lightGCN actually don't use any non-linear activation function
nn.init.normal_(self.embedding_user.weight, std=0.1)
nn.init.normal_(self.embedding_item.weight, std=0.1)
world.cprint('use NORMAL distribution initilizer')
else:
# self.embedding_user.weight.data.copy_(torch.from_numpy(self.config['user_emb']))
# self.embedding_item.weight.data.copy_(torch.from_numpy(self.config['item_emb']))
print('use pretarined data')
self.f = nn.Sigmoid()
self.Graph = self.dataset.getSparseGraph()
print(f"lgn is already to go(dropout:{self.config['dropout']})")
def __init_ode(self):
if world.config['learnable_time'] == True:
self.time_split = self.config['time_split'] # init the number of time split
self.odetimes = ode.ODETimeSetter(self.time_split, self.config['K'])
self.odetime_1 = [self.odetimes[0]]
self.ode_block_test_1 = ode.ODEBlockTimeFirst(ode.ODEFunction(self.Graph),self.time_split, self.config['solver'])
self.ode_block_test_2 = ode.ODEBlockTimeLastK(ode.ODEFunction(self.Graph),self.time_split, self.config['solver'], self.config['K'])
else:
self.ode_block_1 = ode.ODEBlock(ode.ODEFunction(self.Graph), self.config['solver'], 0, self.config['K']/2)
self.ode_block_2 = ode.ODEBlock(ode.ODEFunction(self.Graph), self.config['solver'], self.config['K']/2, self.config['K'])
def get_time(self):
ode_times=list(self.odetime_1)
return ode_times
def __dropout_x(self, x, keep_prob):
size = x.size()
index = x.indices().t()
values = x.values()
random_index = torch.rand(len(values)) + keep_prob
random_index = random_index.int().bool()
index = index[random_index]
values = values[random_index]/keep_prob
g = torch.sparse.FloatTensor(index.t(), values, size)
return g
def __dropout(self, keep_prob):
if self.A_split:
graph = []
for g in self.Graph:
graph.append(self.__dropout_x(g, keep_prob))
else:
graph = self.__dropout_x(self.Graph, keep_prob)
return graph
def computer(self):
"""
propagate methods for Continuous-Time lightGCN
"""
users_emb = self.embedding_user.weight
items_emb = self.embedding_item.weight
all_emb = torch.cat([users_emb, items_emb])
embs = [all_emb]
if self.config['dropout']:
if self.training:
g_droped = self.__dropout(self.keep_prob)
else:
g_droped = self.Graph
else:
g_droped = self.Graph
"""
layers
"""
if world.config['learnable_time'] == True:
out_1 = self.ode_block_test_1(all_emb, self.odetime_1)
if world.config['dual_res'] == False:
out_1 = out_1 - all_emb
embs.append(out_1)
out_2 = self.ode_block_test_2(out_1, self.odetime_1)
if world.config['dual_res'] == False:
out_2 = out_2 - out_1
embs.append(out_2)
elif world.config['learnable_time'] == False:
all_emb_1 = self.ode_block_1(all_emb)
all_emb_1 = all_emb_1 - all_emb
embs.append(all_emb_1)
all_emb_2 = self.ode_block_2(all_emb_1)
all_emb_2 = all_emb_2 - all_emb_1
embs.append(all_emb_2)
embs = torch.stack(embs, dim=1)
light_out = torch.mean(embs, dim=1)
users, items = torch.split(light_out, [self.num_users, self.num_items])
return users, items
def getUsersRating(self, users):
all_users, all_items = self.computer()
users_emb = all_users[users.long()]
items_emb = all_items
rating = self.f(torch.matmul(users_emb, items_emb.t()))
return rating
def getEmbedding(self, users, pos_items, neg_items):
all_users, all_items = self.computer()
users_emb = all_users[users]
pos_emb = all_items[pos_items]
neg_emb = all_items[neg_items]
users_emb_ego = self.embedding_user(users)
pos_emb_ego = self.embedding_item(pos_items)
neg_emb_ego = self.embedding_item(neg_items)
return users_emb, pos_emb, neg_emb, users_emb_ego, pos_emb_ego, neg_emb_ego
def bpr_loss(self, users, pos, neg):
(users_emb, pos_emb, neg_emb,
userEmb0, posEmb0, negEmb0) = self.getEmbedding(users.long(), pos.long(), neg.long())
reg_loss = (1/2)*(userEmb0.norm(2).pow(2) +
posEmb0.norm(2).pow(2) +
negEmb0.norm(2).pow(2))/float(len(users))
pos_scores = torch.mul(users_emb, pos_emb)
pos_scores = torch.sum(pos_scores, dim=1)
neg_scores = torch.mul(users_emb, neg_emb)
neg_scores = torch.sum(neg_scores, dim=1)
loss = torch.mean(torch.nn.functional.softplus(neg_scores - pos_scores))
return loss, reg_loss
def forward(self, users, items):
# compute embedding
all_users, all_items = self.computer()
users_emb = all_users[users]
items_emb = all_items[items]
inner_pro = torch.mul(users_emb, items_emb)
gamma = torch.sum(inner_pro, dim=1)
return gamma | 41.959778 | 147 | 0.608402 | 3,991 | 30,253 | 4.335755 | 0.049111 | 0.04681 | 0.024965 | 0.016644 | 0.934119 | 0.917707 | 0.907189 | 0.898405 | 0.894649 | 0.87448 | 0 | 0.01387 | 0.280303 | 30,253 | 721 | 148 | 41.959778 | 0.780875 | 0.076819 | 0 | 0.870855 | 0 | 0 | 0.040333 | 0.005209 | 0 | 0 | 0 | 0 | 0 | 1 | 0.089005 | false | 0 | 0.010471 | 0 | 0.17103 | 0.022688 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2b7967363f2db22a9048fb1c50aa8c0d882c640e | 184 | py | Python | dqn/actor.py | abefetterman/rl-testing | 557eadd5895e629632e701a27cdafde96e210215 | [
"MIT"
] | null | null | null | dqn/actor.py | abefetterman/rl-testing | 557eadd5895e629632e701a27cdafde96e210215 | [
"MIT"
] | null | null | null | dqn/actor.py | abefetterman/rl-testing | 557eadd5895e629632e701a27cdafde96e210215 | [
"MIT"
] | null | null | null | import numpy as np
class RandomActor:
def __init__(self, n_actions):
self.n_actions = n_actions
def get(self, state):
return np.random.randint(self.n_actions)
| 23 | 48 | 0.684783 | 27 | 184 | 4.37037 | 0.592593 | 0.271186 | 0.305085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228261 | 184 | 7 | 49 | 26.285714 | 0.830986 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
9921cd1a19c2cfa343ab93cc18328b443851dc2d | 558 | py | Python | 0901-1000/0974-Subarray Sums Divisible by K/0974-Subarray Sums Divisible by K.py | jiadaizhao/LeetCode | 4ddea0a532fe7c5d053ffbd6870174ec99fc2d60 | [
"MIT"
] | 49 | 2018-05-05T02:53:10.000Z | 2022-03-30T12:08:09.000Z | 0901-1000/0974-Subarray Sums Divisible by K/0974-Subarray Sums Divisible by K.py | jolly-fellow/LeetCode | ab20b3ec137ed05fad1edda1c30db04ab355486f | [
"MIT"
] | 11 | 2017-12-15T22:31:44.000Z | 2020-10-02T12:42:49.000Z | 0901-1000/0974-Subarray Sums Divisible by K/0974-Subarray Sums Divisible by K.py | jolly-fellow/LeetCode | ab20b3ec137ed05fad1edda1c30db04ab355486f | [
"MIT"
] | 28 | 2017-12-05T10:56:51.000Z | 2022-01-26T18:18:27.000Z | import collections
class Solution:
def subarraysDivByK(self, A: List[int], K: int) -> int:
table = collections.Counter([0])
sum = count = 0
for a in A:
sum = (sum + a) % K
count += table[sum]
table[sum] += 1
return count
class Solution2:
def subarraysDivByK(self, A: List[int], K: int) -> int:
table = [1] + [0] * K
sum = count = 0
for a in A:
sum = (sum + a) % K
count += table[sum]
table[sum] += 1
return count
| 26.571429 | 59 | 0.473118 | 70 | 558 | 3.771429 | 0.3 | 0.121212 | 0.166667 | 0.174242 | 0.75 | 0.75 | 0.75 | 0.75 | 0.75 | 0.75 | 0 | 0.024024 | 0.403226 | 558 | 20 | 60 | 27.9 | 0.768769 | 0 | 0 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0.052632 | 0 | 0.368421 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
996435bc4c0d8abe1e33b11a1ac0b2e6784c03cd | 20,178 | py | Python | Project 1-1/constants.py | marridG/2020-EI339_Team_Project | 013cd1bf596f8079886809caee65757ecc870dfe | [
"MIT"
] | null | null | null | Project 1-1/constants.py | marridG/2020-EI339_Team_Project | 013cd1bf596f8079886809caee65757ecc870dfe | [
"MIT"
] | null | null | null | Project 1-1/constants.py | marridG/2020-EI339_Team_Project | 013cd1bf596f8079886809caee65757ecc870dfe | [
"MIT"
] | null | null | null | import numpy as np
import typing
DECK = range(1, 10 + 1)
ACTIONS = (HIT, STICK) = (0, 1)
DEALER_RANGE = range(1, 10 + 1) # value of the dealer's first card
PLAYER_RANGE = range(1, 21 + 1)
STATE_ACTION_SPACE_SHAPE = (len(DEALER_RANGE), len(PLAYER_RANGE), len(ACTIONS))
STATE_SPACE_SHAPE = (len(DEALER_RANGE), len(PLAYER_RANGE))
STATE_SPACE = np.array([[dealer, player] for dealer in DEALER_RANGE for player in PLAYER_RANGE])
STATE_TYPE_GENERAL = typing.TypeVar("STATE_TYPE_GENERAL", str, int)
TERMINAL_STATE = "TERMINAL"
DEALER_STICK_THRES = 16
COLOR_PROBS = {"RED": 1 / 3, "BLACK": 2 / 3}
COLOR_COEFFS = {"RED": -1, "BLACK": 1}
# DEBUG
DEBUG_MODE = False
DEBUG_INFO = DEBUG_MODE and True # False #
DEBUG_DEBUG = DEBUG_MODE and True # False #
# TRAINING SETTINGS
TR_EPISODE = 10000
def judge_state_is_terminate(state):
is_terminate = TERMINAL_STATE == state[0] \
and TERMINAL_STATE == state[1]
return is_terminate
state_trans_hit_prob = {
1: {-9: 0.03333333333333333, -8: 0.03333333333333333, -7: 0.03333333333333333, -6: 0.03333333333333333,
-5: 0.03333333333333333, -4: 0.03333333333333333, -3: 0.03333333333333333, -2: 0.03333333333333333,
-1: 0.03333333333333333, 0: 0.03333333333333333, 2: 0.06666666666666667, 3: 0.06666666666666667,
4: 0.06666666666666667, 5: 0.06666666666666667, 6: 0.06666666666666667, 7: 0.06666666666666667,
8: 0.06666666666666667, 9: 0.06666666666666667, 10: 0.06666666666666667, 11: 0.06666666666666667},
2: {-8: 0.03333333333333333, -7: 0.03333333333333333, -6: 0.03333333333333333, -5: 0.03333333333333333,
-4: 0.03333333333333333, -3: 0.03333333333333333, -2: 0.03333333333333333, -1: 0.03333333333333333,
0: 0.03333333333333333, 1: 0.03333333333333333, 3: 0.06666666666666667, 4: 0.06666666666666667,
5: 0.06666666666666667, 6: 0.06666666666666667, 7: 0.06666666666666667, 8: 0.06666666666666667,
9: 0.06666666666666667, 10: 0.06666666666666667, 11: 0.06666666666666667, 12: 0.06666666666666667},
3: {-7: 0.03333333333333333, -6: 0.03333333333333333, -5: 0.03333333333333333, -4: 0.03333333333333333,
-3: 0.03333333333333333, -2: 0.03333333333333333, -1: 0.03333333333333333, 0: 0.03333333333333333,
1: 0.03333333333333333, 2: 0.03333333333333333, 4: 0.06666666666666667, 5: 0.06666666666666667,
6: 0.06666666666666667, 7: 0.06666666666666667, 8: 0.06666666666666667, 9: 0.06666666666666667,
10: 0.06666666666666667, 11: 0.06666666666666667, 12: 0.06666666666666667, 13: 0.06666666666666667},
4: {-6: 0.03333333333333333, -5: 0.03333333333333333, -4: 0.03333333333333333, -3: 0.03333333333333333,
-2: 0.03333333333333333, -1: 0.03333333333333333, 0: 0.03333333333333333, 1: 0.03333333333333333,
2: 0.03333333333333333, 3: 0.03333333333333333, 5: 0.06666666666666667, 6: 0.06666666666666667,
7: 0.06666666666666667, 8: 0.06666666666666667, 9: 0.06666666666666667, 10: 0.06666666666666667,
11: 0.06666666666666667, 12: 0.06666666666666667, 13: 0.06666666666666667, 14: 0.06666666666666667},
5: {-5: 0.03333333333333333, -4: 0.03333333333333333, -3: 0.03333333333333333, -2: 0.03333333333333333,
-1: 0.03333333333333333, 0: 0.03333333333333333, 1: 0.03333333333333333, 2: 0.03333333333333333,
3: 0.03333333333333333, 4: 0.03333333333333333, 6: 0.06666666666666667, 7: 0.06666666666666667,
8: 0.06666666666666667, 9: 0.06666666666666667, 10: 0.06666666666666667, 11: 0.06666666666666667,
12: 0.06666666666666667, 13: 0.06666666666666667, 14: 0.06666666666666667, 15: 0.06666666666666667},
6: {-4: 0.03333333333333333, -3: 0.03333333333333333, -2: 0.03333333333333333, -1: 0.03333333333333333,
0: 0.03333333333333333, 1: 0.03333333333333333, 2: 0.03333333333333333, 3: 0.03333333333333333,
4: 0.03333333333333333, 5: 0.03333333333333333, 7: 0.06666666666666667, 8: 0.06666666666666667,
9: 0.06666666666666667, 10: 0.06666666666666667, 11: 0.06666666666666667, 12: 0.06666666666666667,
13: 0.06666666666666667, 14: 0.06666666666666667, 15: 0.06666666666666667, 16: 0.06666666666666667},
7: {-3: 0.03333333333333333, -2: 0.03333333333333333, -1: 0.03333333333333333, 0: 0.03333333333333333,
1: 0.03333333333333333, 2: 0.03333333333333333, 3: 0.03333333333333333, 4: 0.03333333333333333,
5: 0.03333333333333333, 6: 0.03333333333333333, 8: 0.06666666666666667, 9: 0.06666666666666667,
10: 0.06666666666666667, 11: 0.06666666666666667, 12: 0.06666666666666667, 13: 0.06666666666666667,
14: 0.06666666666666667, 15: 0.06666666666666667, 16: 0.06666666666666667, 17: 0.06666666666666667},
8: {-2: 0.03333333333333333, -1: 0.03333333333333333, 0: 0.03333333333333333, 1: 0.03333333333333333,
2: 0.03333333333333333, 3: 0.03333333333333333, 4: 0.03333333333333333, 5: 0.03333333333333333,
6: 0.03333333333333333, 7: 0.03333333333333333, 9: 0.06666666666666667, 10: 0.06666666666666667,
11: 0.06666666666666667, 12: 0.06666666666666667, 13: 0.06666666666666667, 14: 0.06666666666666667,
15: 0.06666666666666667, 16: 0.06666666666666667, 17: 0.06666666666666667, 18: 0.06666666666666667},
9: {-1: 0.03333333333333333, 0: 0.03333333333333333, 1: 0.03333333333333333, 2: 0.03333333333333333,
3: 0.03333333333333333, 4: 0.03333333333333333, 5: 0.03333333333333333, 6: 0.03333333333333333,
7: 0.03333333333333333, 8: 0.03333333333333333, 10: 0.06666666666666667, 11: 0.06666666666666667,
12: 0.06666666666666667, 13: 0.06666666666666667, 14: 0.06666666666666667, 15: 0.06666666666666667,
16: 0.06666666666666667, 17: 0.06666666666666667, 18: 0.06666666666666667, 19: 0.06666666666666667},
10: {0: 0.03333333333333333, 1: 0.03333333333333333, 2: 0.03333333333333333, 3: 0.03333333333333333,
4: 0.03333333333333333, 5: 0.03333333333333333, 6: 0.03333333333333333, 7: 0.03333333333333333,
8: 0.03333333333333333, 9: 0.03333333333333333, 11: 0.06666666666666667, 12: 0.06666666666666667,
13: 0.06666666666666667, 14: 0.06666666666666667, 15: 0.06666666666666667, 16: 0.06666666666666667,
17: 0.06666666666666667, 18: 0.06666666666666667, 19: 0.06666666666666667, 20: 0.06666666666666667},
11: {1: 0.03333333333333333, 2: 0.03333333333333333, 3: 0.03333333333333333, 4: 0.03333333333333333,
5: 0.03333333333333333, 6: 0.03333333333333333, 7: 0.03333333333333333, 8: 0.03333333333333333,
9: 0.03333333333333333, 10: 0.03333333333333333, 12: 0.06666666666666667, 13: 0.06666666666666667,
14: 0.06666666666666667, 15: 0.06666666666666667, 16: 0.06666666666666667, 17: 0.06666666666666667,
18: 0.06666666666666667, 19: 0.06666666666666667, 20: 0.06666666666666667, 21: 0.06666666666666667},
12: {2: 0.03333333333333333, 3: 0.03333333333333333, 4: 0.03333333333333333, 5: 0.03333333333333333,
6: 0.03333333333333333, 7: 0.03333333333333333, 8: 0.03333333333333333, 9: 0.03333333333333333,
10: 0.03333333333333333, 11: 0.03333333333333333, 13: 0.06666666666666667, 14: 0.06666666666666667,
15: 0.06666666666666667, 16: 0.06666666666666667, 17: 0.06666666666666667, 18: 0.06666666666666667,
19: 0.06666666666666667, 20: 0.06666666666666667, 21: 0.06666666666666667, 22: 0.06666666666666667},
13: {3: 0.03333333333333333, 4: 0.03333333333333333, 5: 0.03333333333333333, 6: 0.03333333333333333,
7: 0.03333333333333333, 8: 0.03333333333333333, 9: 0.03333333333333333, 10: 0.03333333333333333,
11: 0.03333333333333333, 12: 0.03333333333333333, 14: 0.06666666666666667, 15: 0.06666666666666667,
16: 0.06666666666666667, 17: 0.06666666666666667, 18: 0.06666666666666667, 19: 0.06666666666666667,
20: 0.06666666666666667, 21: 0.06666666666666667, 22: 0.06666666666666667, 23: 0.06666666666666667},
14: {4: 0.03333333333333333, 5: 0.03333333333333333, 6: 0.03333333333333333, 7: 0.03333333333333333,
8: 0.03333333333333333, 9: 0.03333333333333333, 10: 0.03333333333333333, 11: 0.03333333333333333,
12: 0.03333333333333333, 13: 0.03333333333333333, 15: 0.06666666666666667, 16: 0.06666666666666667,
17: 0.06666666666666667, 18: 0.06666666666666667, 19: 0.06666666666666667, 20: 0.06666666666666667,
21: 0.06666666666666667, 22: 0.06666666666666667, 23: 0.06666666666666667, 24: 0.06666666666666667},
15: {5: 0.03333333333333333, 6: 0.03333333333333333, 7: 0.03333333333333333, 8: 0.03333333333333333,
9: 0.03333333333333333, 10: 0.03333333333333333, 11: 0.03333333333333333, 12: 0.03333333333333333,
13: 0.03333333333333333, 14: 0.03333333333333333, 16: 0.06666666666666667, 17: 0.06666666666666667,
18: 0.06666666666666667, 19: 0.06666666666666667, 20: 0.06666666666666667, 21: 0.06666666666666667,
22: 0.06666666666666667, 23: 0.06666666666666667, 24: 0.06666666666666667, 25: 0.06666666666666667},
16: {6: 0.03333333333333333, 7: 0.03333333333333333, 8: 0.03333333333333333, 9: 0.03333333333333333,
10: 0.03333333333333333, 11: 0.03333333333333333, 12: 0.03333333333333333, 13: 0.03333333333333333,
14: 0.03333333333333333, 15: 0.03333333333333333, 17: 0.06666666666666667, 18: 0.06666666666666667,
19: 0.06666666666666667, 20: 0.06666666666666667, 21: 0.06666666666666667, 22: 0.06666666666666667,
23: 0.06666666666666667, 24: 0.06666666666666667, 25: 0.06666666666666667, 26: 0.06666666666666667},
17: {7: 0.03333333333333333, 8: 0.03333333333333333, 9: 0.03333333333333333, 10: 0.03333333333333333,
11: 0.03333333333333333, 12: 0.03333333333333333, 13: 0.03333333333333333, 14: 0.03333333333333333,
15: 0.03333333333333333, 16: 0.03333333333333333, 18: 0.06666666666666667, 19: 0.06666666666666667,
20: 0.06666666666666667, 21: 0.06666666666666667, 22: 0.06666666666666667, 23: 0.06666666666666667,
24: 0.06666666666666667, 25: 0.06666666666666667, 26: 0.06666666666666667, 27: 0.06666666666666667},
18: {8: 0.03333333333333333, 9: 0.03333333333333333, 10: 0.03333333333333333, 11: 0.03333333333333333,
12: 0.03333333333333333, 13: 0.03333333333333333, 14: 0.03333333333333333, 15: 0.03333333333333333,
16: 0.03333333333333333, 17: 0.03333333333333333, 19: 0.06666666666666667, 20: 0.06666666666666667,
21: 0.06666666666666667, 22: 0.06666666666666667, 23: 0.06666666666666667, 24: 0.06666666666666667,
25: 0.06666666666666667, 26: 0.06666666666666667, 27: 0.06666666666666667, 28: 0.06666666666666667},
19: {9: 0.03333333333333333, 10: 0.03333333333333333, 11: 0.03333333333333333, 12: 0.03333333333333333,
13: 0.03333333333333333, 14: 0.03333333333333333, 15: 0.03333333333333333, 16: 0.03333333333333333,
17: 0.03333333333333333, 18: 0.03333333333333333, 20: 0.06666666666666667, 21: 0.06666666666666667,
22: 0.06666666666666667, 23: 0.06666666666666667, 24: 0.06666666666666667, 25: 0.06666666666666667,
26: 0.06666666666666667, 27: 0.06666666666666667, 28: 0.06666666666666667, 29: 0.06666666666666667},
20: {10: 0.03333333333333333, 11: 0.03333333333333333, 12: 0.03333333333333333, 13: 0.03333333333333333,
14: 0.03333333333333333, 15: 0.03333333333333333, 16: 0.03333333333333333, 17: 0.03333333333333333,
18: 0.03333333333333333, 19: 0.03333333333333333, 21: 0.06666666666666667, 22: 0.06666666666666667,
23: 0.06666666666666667, 24: 0.06666666666666667, 25: 0.06666666666666667, 26: 0.06666666666666667,
27: 0.06666666666666667, 28: 0.06666666666666667, 29: 0.06666666666666667, 30: 0.06666666666666667},
21: {11: 0.03333333333333333, 12: 0.03333333333333333, 13: 0.03333333333333333, 14: 0.03333333333333333,
15: 0.03333333333333333, 16: 0.03333333333333333, 17: 0.03333333333333333, 18: 0.03333333333333333,
19: 0.03333333333333333, 20: 0.03333333333333333, 22: 0.06666666666666667, 23: 0.06666666666666667,
24: 0.06666666666666667, 25: 0.06666666666666667, 26: 0.06666666666666667, 27: 0.06666666666666667,
28: 0.06666666666666667, 29: 0.06666666666666667, 30: 0.06666666666666667, 31: 0.06666666666666667}}
state_trans_stick_reward_2_prob = {
1: {1: {-1: 0.387, 0: 0.0, 1: 0.613}, 2: {-1: 0.345, 0: 0.0, 1: 0.655}, 3: {-1: 0.397, 0: 0.0, 1: 0.603},
4: {-1: 0.408, 0: 0.0, 1: 0.592}, 5: {-1: 0.379, 0: 0.0, 1: 0.621}, 6: {-1: 0.375, 0: 0.0, 1: 0.625},
7: {-1: 0.343, 0: 0.0, 1: 0.657}, 8: {-1: 0.382, 0: 0.0, 1: 0.618}, 9: {-1: 0.394, 0: 0.0, 1: 0.606},
10: {-1: 0.406, 0: 0.0, 1: 0.594}, 11: {-1: 0.396, 0: 0.0, 1: 0.604}, 12: {-1: 0.373, 0: 0.0, 1: 0.627},
13: {-1: 0.394, 0: 0.0, 1: 0.606}, 14: {-1: 0.397, 0: 0.0, 1: 0.603}, 15: {-1: 0.38, 0: 0.0, 1: 0.62},
16: {-1: 0.294, 0: 0.094, 1: 0.612}, 17: {-1: 0.208, 0: 0.081, 1: 0.711}, 18: {-1: 0.143, 0: 0.06, 1: 0.797},
19: {-1: 0.092, 0: 0.059, 1: 0.849}, 20: {-1: 0.049, 0: 0.046, 1: 0.905}, 21: {-1: 0.0, 0: 0.035, 1: 0.965}},
2: {1: {-1: 0.419, 0: 0.0, 1: 0.581}, 2: {-1: 0.438, 0: 0.0, 1: 0.562}, 3: {-1: 0.422, 0: 0.0, 1: 0.578},
4: {-1: 0.392, 0: 0.0, 1: 0.608}, 5: {-1: 0.394, 0: 0.0, 1: 0.606}, 6: {-1: 0.386, 0: 0.0, 1: 0.614},
7: {-1: 0.406, 0: 0.0, 1: 0.594}, 8: {-1: 0.398, 0: 0.0, 1: 0.602}, 9: {-1: 0.435, 0: 0.0, 1: 0.565},
10: {-1: 0.444, 0: 0.0, 1: 0.556}, 11: {-1: 0.429, 0: 0.0, 1: 0.571}, 12: {-1: 0.435, 0: 0.0, 1: 0.565},
13: {-1: 0.39, 0: 0.0, 1: 0.61}, 14: {-1: 0.45, 0: 0.0, 1: 0.55}, 15: {-1: 0.4, 0: 0.0, 1: 0.6},
16: {-1: 0.346, 0: 0.078, 1: 0.576}, 17: {-1: 0.232, 0: 0.099, 1: 0.669}, 18: {-1: 0.164, 0: 0.071, 1: 0.765},
19: {-1: 0.104, 0: 0.061, 1: 0.835}, 20: {-1: 0.041, 0: 0.052, 1: 0.907}, 21: {-1: 0.0, 0: 0.039, 1: 0.961}},
3: {1: {-1: 0.447, 0: 0.0, 1: 0.553}, 2: {-1: 0.45, 0: 0.0, 1: 0.55}, 3: {-1: 0.493, 0: 0.0, 1: 0.507},
4: {-1: 0.442, 0: 0.0, 1: 0.558}, 5: {-1: 0.478, 0: 0.0, 1: 0.522}, 6: {-1: 0.457, 0: 0.0, 1: 0.543},
7: {-1: 0.456, 0: 0.0, 1: 0.544}, 8: {-1: 0.457, 0: 0.0, 1: 0.543}, 9: {-1: 0.488, 0: 0.0, 1: 0.512},
10: {-1: 0.437, 0: 0.0, 1: 0.563}, 11: {-1: 0.437, 0: 0.0, 1: 0.563}, 12: {-1: 0.433, 0: 0.0, 1: 0.567},
13: {-1: 0.473, 0: 0.0, 1: 0.527}, 14: {-1: 0.418, 0: 0.0, 1: 0.582}, 15: {-1: 0.405, 0: 0.0, 1: 0.595},
16: {-1: 0.35, 0: 0.101, 1: 0.549}, 17: {-1: 0.231, 0: 0.11, 1: 0.659}, 18: {-1: 0.158, 0: 0.07, 1: 0.772},
19: {-1: 0.128, 0: 0.068, 1: 0.804}, 20: {-1: 0.044, 0: 0.057, 1: 0.899}, 21: {-1: 0.0, 0: 0.048, 1: 0.952}},
4: {1: {-1: 0.476, 0: 0.0, 1: 0.524}, 2: {-1: 0.479, 0: 0.0, 1: 0.521}, 3: {-1: 0.459, 0: 0.0, 1: 0.541},
4: {-1: 0.464, 0: 0.0, 1: 0.536}, 5: {-1: 0.468, 0: 0.0, 1: 0.532}, 6: {-1: 0.483, 0: 0.0, 1: 0.517},
7: {-1: 0.504, 0: 0.0, 1: 0.496}, 8: {-1: 0.456, 0: 0.0, 1: 0.544}, 9: {-1: 0.503, 0: 0.0, 1: 0.497},
10: {-1: 0.459, 0: 0.0, 1: 0.541}, 11: {-1: 0.455, 0: 0.0, 1: 0.545}, 12: {-1: 0.467, 0: 0.0, 1: 0.533},
13: {-1: 0.477, 0: 0.0, 1: 0.523}, 14: {-1: 0.486, 0: 0.0, 1: 0.514}, 15: {-1: 0.472, 0: 0.0, 1: 0.528},
16: {-1: 0.391, 0: 0.095, 1: 0.514}, 17: {-1: 0.292, 0: 0.09, 1: 0.618}, 18: {-1: 0.187, 0: 0.08, 1: 0.733},
19: {-1: 0.107, 0: 0.077, 1: 0.816}, 20: {-1: 0.05, 0: 0.071, 1: 0.879}, 21: {-1: 0.0, 0: 0.057, 1: 0.943}},
5: {1: {-1: 0.534, 0: 0.0, 1: 0.466}, 2: {-1: 0.461, 0: 0.0, 1: 0.539}, 3: {-1: 0.492, 0: 0.0, 1: 0.508},
4: {-1: 0.467, 0: 0.0, 1: 0.533}, 5: {-1: 0.495, 0: 0.0, 1: 0.505}, 6: {-1: 0.51, 0: 0.0, 1: 0.49},
7: {-1: 0.52, 0: 0.0, 1: 0.48}, 8: {-1: 0.489, 0: 0.0, 1: 0.511}, 9: {-1: 0.504, 0: 0.0, 1: 0.496},
10: {-1: 0.498, 0: 0.0, 1: 0.502}, 11: {-1: 0.505, 0: 0.0, 1: 0.495}, 12: {-1: 0.527, 0: 0.0, 1: 0.473},
13: {-1: 0.483, 0: 0.0, 1: 0.517}, 14: {-1: 0.478, 0: 0.0, 1: 0.522}, 15: {-1: 0.51, 0: 0.0, 1: 0.49},
16: {-1: 0.403, 0: 0.104, 1: 0.493}, 17: {-1: 0.296, 0: 0.092, 1: 0.612}, 18: {-1: 0.196, 0: 0.095, 1: 0.709},
19: {-1: 0.131, 0: 0.077, 1: 0.792}, 20: {-1: 0.056, 0: 0.059, 1: 0.885}, 21: {-1: 0.0, 0: 0.06, 1: 0.94}},
6: {1: {-1: 0.563, 0: 0.0, 1: 0.437}, 2: {-1: 0.553, 0: 0.0, 1: 0.447}, 3: {-1: 0.564, 0: 0.0, 1: 0.436},
4: {-1: 0.531, 0: 0.0, 1: 0.469}, 5: {-1: 0.577, 0: 0.0, 1: 0.423}, 6: {-1: 0.561, 0: 0.0, 1: 0.439},
7: {-1: 0.576, 0: 0.0, 1: 0.424}, 8: {-1: 0.477, 0: 0.0, 1: 0.523}, 9: {-1: 0.528, 0: 0.0, 1: 0.472},
10: {-1: 0.562, 0: 0.0, 1: 0.438}, 11: {-1: 0.542, 0: 0.0, 1: 0.458}, 12: {-1: 0.568, 0: 0.0, 1: 0.432},
13: {-1: 0.537, 0: 0.0, 1: 0.463}, 14: {-1: 0.55, 0: 0.0, 1: 0.45}, 15: {-1: 0.524, 0: 0.0, 1: 0.476},
16: {-1: 0.371, 0: 0.164, 1: 0.465}, 17: {-1: 0.256, 0: 0.104, 1: 0.64}, 18: {-1: 0.176, 0: 0.076, 1: 0.748},
19: {-1: 0.12, 0: 0.075, 1: 0.805}, 20: {-1: 0.063, 0: 0.063, 1: 0.874}, 21: {-1: 0.0, 0: 0.052, 1: 0.948}},
7: {1: {-1: 0.623, 0: 0.0, 1: 0.377}, 2: {-1: 0.621, 0: 0.0, 1: 0.379}, 3: {-1: 0.622, 0: 0.0, 1: 0.378},
4: {-1: 0.595, 0: 0.0, 1: 0.405}, 5: {-1: 0.608, 0: 0.0, 1: 0.392}, 6: {-1: 0.59, 0: 0.0, 1: 0.41},
7: {-1: 0.581, 0: 0.0, 1: 0.419}, 8: {-1: 0.604, 0: 0.0, 1: 0.396}, 9: {-1: 0.57, 0: 0.0, 1: 0.43},
10: {-1: 0.587, 0: 0.0, 1: 0.413}, 11: {-1: 0.591, 0: 0.0, 1: 0.409}, 12: {-1: 0.599, 0: 0.0, 1: 0.401},
13: {-1: 0.597, 0: 0.0, 1: 0.403}, 14: {-1: 0.583, 0: 0.0, 1: 0.417}, 15: {-1: 0.596, 0: 0.0, 1: 0.404},
16: {-1: 0.427, 0: 0.168, 1: 0.405}, 17: {-1: 0.275, 0: 0.183, 1: 0.542}, 18: {-1: 0.185, 0: 0.095, 1: 0.72},
19: {-1: 0.113, 0: 0.067, 1: 0.82}, 20: {-1: 0.059, 0: 0.057, 1: 0.884}, 21: {-1: 0.0, 0: 0.069, 1: 0.931}},
8: {1: {-1: 0.64, 0: 0.0, 1: 0.36}, 2: {-1: 0.626, 0: 0.0, 1: 0.374}, 3: {-1: 0.648, 0: 0.0, 1: 0.352},
4: {-1: 0.636, 0: 0.0, 1: 0.364}, 5: {-1: 0.618, 0: 0.0, 1: 0.382}, 6: {-1: 0.64, 0: 0.0, 1: 0.36},
7: {-1: 0.64, 0: 0.0, 1: 0.36}, 8: {-1: 0.599, 0: 0.0, 1: 0.401}, 9: {-1: 0.634, 0: 0.0, 1: 0.366},
10: {-1: 0.649, 0: 0.0, 1: 0.351}, 11: {-1: 0.636, 0: 0.0, 1: 0.364}, 12: {-1: 0.603, 0: 0.0, 1: 0.397},
13: {-1: 0.628, 0: 0.0, 1: 0.372}, 14: {-1: 0.62, 0: 0.0, 1: 0.38}, 15: {-1: 0.632, 0: 0.0, 1: 0.368},
16: {-1: 0.46, 0: 0.175, 1: 0.365}, 17: {-1: 0.319, 0: 0.155, 1: 0.526}, 18: {-1: 0.179, 0: 0.152, 1: 0.669},
19: {-1: 0.107, 0: 0.081, 1: 0.812}, 20: {-1: 0.044, 0: 0.066, 1: 0.89}, 21: {-1: 0.0, 0: 0.059, 1: 0.941}},
9: {1: {-1: 0.676, 0: 0.0, 1: 0.324}, 2: {-1: 0.706, 0: 0.0, 1: 0.294}, 3: {-1: 0.66, 0: 0.0, 1: 0.34},
4: {-1: 0.648, 0: 0.0, 1: 0.352}, 5: {-1: 0.65, 0: 0.0, 1: 0.35}, 6: {-1: 0.698, 0: 0.0, 1: 0.302},
7: {-1: 0.667, 0: 0.0, 1: 0.333}, 8: {-1: 0.666, 0: 0.0, 1: 0.334}, 9: {-1: 0.69, 0: 0.0, 1: 0.31},
10: {-1: 0.655, 0: 0.0, 1: 0.345}, 11: {-1: 0.683, 0: 0.0, 1: 0.317}, 12: {-1: 0.684, 0: 0.0, 1: 0.316},
13: {-1: 0.689, 0: 0.0, 1: 0.311}, 14: {-1: 0.665, 0: 0.0, 1: 0.335}, 15: {-1: 0.648, 0: 0.0, 1: 0.352},
16: {-1: 0.525, 0: 0.155, 1: 0.32}, 17: {-1: 0.397, 0: 0.14, 1: 0.463}, 18: {-1: 0.261, 0: 0.16, 1: 0.579},
19: {-1: 0.101, 0: 0.133, 1: 0.766}, 20: {-1: 0.049, 0: 0.065, 1: 0.886}, 21: {-1: 0.0, 0: 0.051, 1: 0.949}},
10: {1: {-1: 0.725, 0: 0.0, 1: 0.275}, 2: {-1: 0.738, 0: 0.0, 1: 0.262}, 3: {-1: 0.719, 0: 0.0, 1: 0.281},
4: {-1: 0.715, 0: 0.0, 1: 0.285}, 5: {-1: 0.732, 0: 0.0, 1: 0.268}, 6: {-1: 0.737, 0: 0.0, 1: 0.263},
7: {-1: 0.718, 0: 0.0, 1: 0.282}, 8: {-1: 0.739, 0: 0.0, 1: 0.261}, 9: {-1: 0.713, 0: 0.0, 1: 0.287},
10: {-1: 0.73, 0: 0.0, 1: 0.27}, 11: {-1: 0.703, 0: 0.0, 1: 0.297}, 12: {-1: 0.719, 0: 0.0, 1: 0.281},
13: {-1: 0.725, 0: 0.0, 1: 0.275}, 14: {-1: 0.734, 0: 0.0, 1: 0.266}, 15: {-1: 0.711, 0: 0.0, 1: 0.289},
16: {-1: 0.573, 0: 0.156, 1: 0.271}, 17: {-1: 0.427, 0: 0.151, 1: 0.422}, 18: {-1: 0.297, 0: 0.157, 1: 0.546},
19: {-1: 0.166, 0: 0.139, 1: 0.695}, 20: {-1: 0.04, 0: 0.13, 1: 0.83}, 21: {-1: 0.0, 0: 0.046, 1: 0.954}}}
| 94.732394 | 119 | 0.599068 | 3,547 | 20,178 | 3.395546 | 0.120383 | 0.072899 | 0.042345 | 0.049817 | 0.803138 | 0.739954 | 0.729658 | 0.729658 | 0.723348 | 0.675938 | 0 | 0.697569 | 0.190653 | 20,178 | 212 | 120 | 95.179245 | 0.039924 | 0.003568 | 0 | 0 | 0 | 0 | 0.00209 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005025 | false | 0 | 0.01005 | 0 | 0.020101 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
511d01b5723c097ce2ccbddb04c4910db4927f4b | 12,552 | py | Python | test/modules/luigi/test_init.py | Roboy/raveskills | 08deb64fb7529d953638c4c7546bafadd5a19da6 | [
"BSD-3-Clause"
] | 1 | 2019-09-18T06:18:06.000Z | 2019-09-18T06:18:06.000Z | test/modules/luigi/test_init.py | Roboy/raveskills | 08deb64fb7529d953638c4c7546bafadd5a19da6 | [
"BSD-3-Clause"
] | 11 | 2019-06-20T14:31:19.000Z | 2019-09-25T15:25:52.000Z | test/modules/luigi/test_init.py | Roboy/raveskills | 08deb64fb7529d953638c4c7546bafadd5a19da6 | [
"BSD-3-Clause"
] | null | null | null | import ravestate as rs
import ravestate_interloc as interloc
import ravestate_rawio as rawio
import ravestate_ontology
import ravestate_verbaliser as verbaliser
import luigi
from reggol import get_logger, set_default_loglevel
logger = get_logger(__name__)
from os.path import realpath, dirname, join
verbaliser.add_folder(join(dirname(realpath(__file__)) + "/phrases"))
def test_decline_offer():
last_output = ""
with rs.Module(name="luigi_test"):
@rs.state(cond=rs.sig_startup, read=interloc.prop_all)
def luigi_hi(ctx: rs.ContextWrapper):
ravestate_ontology.initialized.wait()
interloc.handle_single_interlocutor_input(ctx, "hi")
@rs.state(cond=rs.sig_shutdown, read=interloc.prop_all)
def luigi_bye(ctx: rs.ContextWrapper):
interloc.handle_single_interlocutor_input(ctx, "bye")
@rs.state(read=rawio.prop_out)
def raw_out(ctx: rs.ContextWrapper):
nonlocal last_output
last_output = ctx[rawio.prop_out]
logger.info(f"Output: {ctx[rawio.prop_out]}")
ctx = rs.Context(
"rawio",
"ontology",
"idle",
"interloc",
"nlp",
"Luigi",
"luigi_test"
)
@rs.receptor(ctx_wrap=ctx, write=rawio.prop_in)
def say(ctx: rs.ContextWrapper, what: str):
ctx[rawio.prop_in] = what
ctx.emit(rs.sig_startup)
ctx.run_once()
assert luigi_hi.wait()
# Wait for greeting
while not raw_out.wait(.1):
ctx.run_once()
# Wait for greeting
while not raw_out.wait(.1):
ctx.run_once()
assert last_output in verbaliser.get_question_list("greet_general")
say("no")
# Wait for acknowledgement of answer
while not raw_out.wait(.1):
ctx.run_once()
assert last_output in verbaliser.get_failure_answer_list("greet_general")
ctx.run_once()
assert luigi.analyse_ice_cream_suggestion_answer.wait()
ctx.emit(rs.sig_shutdown)
ctx.run_once()
assert luigi_bye.wait()
ctx.run_once()
assert luigi.customer_left.wait()
def test_legit_order():
last_output = ""
with rs.Module(name="luigi_test"):
@rs.state(cond=rs.sig_startup, read=interloc.prop_all)
def luigi_hi(ctx: rs.ContextWrapper):
ravestate_ontology.initialized.wait()
interloc.handle_single_interlocutor_input(ctx, "hi")
@rs.state(cond=rs.sig_shutdown, read=interloc.prop_all)
def luigi_bye(ctx: rs.ContextWrapper):
interloc.handle_single_interlocutor_input(ctx, "bye")
@rs.state(read=rawio.prop_out)
def raw_out(ctx: rs.ContextWrapper):
nonlocal last_output
last_output = ctx[rawio.prop_out]
logger.info(f"Output: {ctx[rawio.prop_out]}")
ctx = rs.Context(
"rawio",
"ontology",
"idle",
"interloc",
"nlp",
"Luigi",
"luigi_test"
)
@rs.receptor(ctx_wrap=ctx, write=rawio.prop_in)
def say(ctx: rs.ContextWrapper, what: str):
ctx[rawio.prop_in] = what
ctx.emit(rs.sig_startup)
ctx.run_once()
assert luigi_hi.wait()
# Wait for greeting
while not raw_out.wait(.1):
ctx.run_once()
while not raw_out.wait(.1):
ctx.run_once()
assert last_output in verbaliser.get_question_list("greet_general")
say("yes")
# Wait for acknowledgement of answer
while not raw_out.wait(.1):
ctx.run_once()
assert luigi.analyse_ice_cream_suggestion_answer.wait()
assert last_output in verbaliser.get_successful_answer_list("greet_general")
say("three scoops of vanilla")
# Wait for acknowledgement of answer
while not raw_out.wait(.1):
ctx.run_once()
assert luigi.detect_flavors_and_scoops.wait()
assert last_output.replace("3 scoops of vanillla", "{order}") in verbaliser.get_phrase_list("legit_order")
say("yes")
# Wait for acknowledgement of answer
while not raw_out.wait(0.1):
ctx.run_once()
assert luigi.analyse_finish_order_answer.wait()
assert last_output.replace("3 scoops of vanillla", "{order}") in verbaliser.get_phrase_list("preparing_order")
ctx.emit(rs.sig_shutdown)
ctx.run_once()
assert luigi_bye.wait()
ctx.run_once()
assert luigi.customer_left.wait()
def test_need_scoop():
last_output = ""
with rs.Module(name="luigi_test"):
@rs.state(cond=rs.sig_startup, read=interloc.prop_all)
def luigi_hi(ctx: rs.ContextWrapper):
ravestate_ontology.initialized.wait()
interloc.handle_single_interlocutor_input(ctx, "hi")
@rs.state(cond=rs.sig_shutdown, read=interloc.prop_all)
def luigi_bye(ctx: rs.ContextWrapper):
interloc.handle_single_interlocutor_input(ctx, "bye")
@rs.state(read=rawio.prop_out)
def raw_out(ctx: rs.ContextWrapper):
nonlocal last_output
last_output = ctx[rawio.prop_out]
logger.info(f"Output: {ctx[rawio.prop_out]}")
ctx = rs.Context(
"rawio",
"ontology",
"idle",
"interloc",
"nlp",
"Luigi",
"luigi_test"
)
@rs.receptor(ctx_wrap=ctx, write=rawio.prop_in)
def say(ctx: rs.ContextWrapper, what: str):
ctx[rawio.prop_in] = what
ctx.emit(rs.sig_startup)
ctx.run_once()
assert luigi_hi.wait()
# Wait for greeting
while not raw_out.wait(.1):
ctx.run_once()
while not raw_out.wait(.1):
ctx.run_once()
assert last_output in verbaliser.get_question_list("greet_general")
say("yes")
# Wait for acknowledgement of answer
while not raw_out.wait(.1):
ctx.run_once()
assert luigi.analyse_ice_cream_suggestion_answer.wait()
assert last_output in verbaliser.get_successful_answer_list("greet_general")
# Only give flavor
say("I want vanilla please")
# Wait for acknowledgement of flavor
while not raw_out.wait(.1):
ctx.run_once()
assert luigi.detect_flavors_and_scoops.wait()
assert luigi.check_scoops_flavor_combined.wait()
assert last_output.replace("vanillla", "{flavor}") in verbaliser.get_phrase_list("need_scoop")
# Give scoop count
say("three")
# Wait for acknowledgement of scoop
while not raw_out.wait(.1):
ctx.run_once()
assert luigi.detect_flavors_and_scoops.wait()
assert luigi.check_scoops_flavor_combined.wait()
assert last_output.replace("3 scoops of vanillla", "{order}") in \
verbaliser.get_phrase_list("legit_order")
# Order is finished
say("yes")
# Wait for acknowledgement of answer
while not raw_out.wait(.1):
ctx.run_once()
ctx.emit(rs.sig_shutdown)
ctx.run_once()
assert luigi_bye.wait()
ctx.run_once()
assert luigi.customer_left.wait()
def test_need_flavor():
last_output = ""
with rs.Module(name="luigi_test"):
@rs.state(cond=rs.sig_startup, read=interloc.prop_all)
def luigi_hi(ctx: rs.ContextWrapper):
ravestate_ontology.initialized.wait()
interloc.handle_single_interlocutor_input(ctx, "hi")
@rs.state(cond=rs.sig_shutdown, read=interloc.prop_all)
def luigi_bye(ctx: rs.ContextWrapper):
interloc.handle_single_interlocutor_input(ctx, "bye")
@rs.state(read=rawio.prop_out)
def raw_out(ctx: rs.ContextWrapper):
nonlocal last_output
last_output = ctx[rawio.prop_out]
logger.info(f"Output: {ctx[rawio.prop_out]}")
ctx = rs.Context(
"rawio",
"ontology",
"idle",
"interloc",
"nlp",
"Luigi",
"luigi_test"
)
@rs.receptor(ctx_wrap=ctx, write=rawio.prop_in)
def say(ctx: rs.ContextWrapper, what: str):
ctx[rawio.prop_in] = what
ctx.emit(rs.sig_startup)
ctx.run_once()
assert luigi_hi.wait()
# Wait for greeting
while not raw_out.wait(.1):
ctx.run_once()
while not raw_out.wait(.1):
ctx.run_once()
assert last_output in verbaliser.get_question_list("greet_general")
say("yes")
# Wait for acknowledgement of answer
while not raw_out.wait(.1):
ctx.run_once()
assert luigi.analyse_ice_cream_suggestion_answer.wait()
assert last_output in verbaliser.get_successful_answer_list("greet_general")
# Only give flavor
say("four")
# Wait for acknowledgement of flavor
while not raw_out.wait(.1):
ctx.run_once()
assert luigi.detect_flavors_and_scoops.wait()
assert luigi.check_scoops_flavor_combined.wait()
assert last_output.replace("scoops", "scoop{s}").replace("4", "{scoop}") in verbaliser.get_phrase_list("need_flavor")
# Give scoop count
say("chocolate")
# Wait for acknowledgement of scoop
while not raw_out.wait(.1):
ctx.run_once()
assert luigi.detect_flavors_and_scoops.wait()
assert luigi.check_scoops_flavor_combined.wait()
assert last_output.replace("4 scoops of choclate", "{order}") in \
verbaliser.get_phrase_list("legit_order")
# Order is finished
say("yes")
# Wait for acknowledgement of answer
while not raw_out.wait(.1):
ctx.run_once()
ctx.emit(rs.sig_shutdown)
ctx.run_once()
assert luigi_bye.wait()
ctx.run_once()
assert luigi.customer_left.wait()
def test_legit_order_need_flavor():
last_output = ""
with rs.Module(name="luigi_test"):
@rs.state(cond=rs.sig_startup, read=interloc.prop_all)
def luigi_hi(ctx: rs.ContextWrapper):
ravestate_ontology.initialized.wait()
interloc.handle_single_interlocutor_input(ctx, "hi")
@rs.state(cond=rs.sig_shutdown, read=interloc.prop_all)
def luigi_bye(ctx: rs.ContextWrapper):
interloc.handle_single_interlocutor_input(ctx, "bye")
@rs.state(read=rawio.prop_out)
def raw_out(ctx: rs.ContextWrapper):
nonlocal last_output
last_output = ctx[rawio.prop_out]
logger.info(f"Output: {ctx[rawio.prop_out]}")
ctx = rs.Context(
"rawio",
"ontology",
"idle",
"interloc",
"nlp",
"Luigi",
"luigi_test"
)
@rs.receptor(ctx_wrap=ctx, write=rawio.prop_in)
def say(ctx: rs.ContextWrapper, what: str):
ctx[rawio.prop_in] = what
ctx.emit(rs.sig_startup)
ctx.run_once()
assert luigi_hi.wait()
# Wait for greeting
while not raw_out.wait(.1):
ctx.run_once()
while not raw_out.wait(.1):
ctx.run_once()
assert last_output in verbaliser.get_question_list("greet_general")
# Legit order
say("chocolate two")
# Wait for acknowledgement of order
while not raw_out.wait(.1):
ctx.run_once()
assert luigi.detect_flavors_and_scoops.wait()
assert luigi.check_scoops_flavor_combined.wait()
assert last_output.replace("2 scoops of choclate", "{order}") in verbaliser.get_phrase_list("legit_order")
say("no")
# Wait for acknowledgement of answer
while not raw_out.wait(.1):
ctx.run_once()
assert luigi.analyse_finish_order_answer.wait()
assert last_output in verbaliser.get_phrase_list("continue_order")
# Only give flavor
say("one")
# Wait for acknowledgement of flavor
while not raw_out.wait(.1):
ctx.run_once()
assert luigi.detect_flavors_and_scoops.wait()
assert last_output.replace("scoop", "scoop{s}").replace("1", "{scoop}") in verbaliser.get_phrase_list("need_flavor")
# Only give scoops
say("vanilla")
# Wait for acknowledgement of scoop
while not raw_out.wait(.1):
ctx.run_once()
assert luigi.detect_flavors_and_scoops.wait()
assert luigi.check_scoops_flavor_combined.wait()
assert last_output.replace("1 scoop of vanillla and 2 scoops of choclate", "{order}") in \
verbaliser.get_phrase_list("legit_order")
# Order is finished
say("yes")
# Wait for acknowledgement of answer
while not raw_out.wait(.1):
ctx.run_once()
ctx.emit(rs.sig_shutdown)
ctx.run_once()
assert luigi_bye.wait()
if __name__ == "__main__":
# from hanging_threads import start_monitoring
# monitoring_thread = start_monitoring()
set_default_loglevel("DEBUG")
test_decline_offer()
test_legit_order()
test_need_scoop()
test_need_flavor()
test_legit_order_need_flavor()
exit()
| 25.987578 | 121 | 0.655115 | 1,671 | 12,552 | 4.671454 | 0.083184 | 0.032283 | 0.053805 | 0.06969 | 0.898027 | 0.891878 | 0.888163 | 0.888163 | 0.875993 | 0.875993 | 0 | 0.00384 | 0.232393 | 12,552 | 482 | 122 | 26.041494 | 0.806331 | 0.075685 | 0 | 0.842623 | 0 | 0 | 0.090265 | 0.009078 | 0 | 0 | 0 | 0 | 0.17377 | 1 | 0.081967 | false | 0 | 0.02623 | 0 | 0.108197 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5ac3e1a8547d5f235e803d12b7af7df16cbcee26 | 460 | py | Python | src/genie/libs/parser/iosxe/tests/ShowSdwanPolicyIpv6AccessListAssociations/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/iosxe/tests/ShowSdwanPolicyIpv6AccessListAssociations/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/iosxe/tests/ShowSdwanPolicyIpv6AccessListAssociations/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output={'name': {'acl-v6-apple': {'interface_direction': {'in': {'interface_name': ['TenGigabitEthernet0/0/0.1002',
'TenGigabitEthernet0/0/2.1002']},
'out': {'interface_name': ['TenGigabitEthernet0/0/0.1002',
'TenGigabitEthernet0/0/2.1002']}}}}} | 115 | 124 | 0.393478 | 30 | 460 | 5.9 | 0.466667 | 0.451977 | 0.361582 | 0.372881 | 0.711864 | 0.711864 | 0.711864 | 0.711864 | 0.711864 | 0.711864 | 0 | 0.118852 | 0.469565 | 460 | 4 | 125 | 115 | 0.606557 | 0 | 0 | 0 | 0 | 0 | 0.390456 | 0.24295 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
5ad1a9ddd4415e96d9255afee7b46a7bf4609368 | 597 | py | Python | AutoConfig/clean.py | Guifgr/AutoConfig | 7001cc2d1fdfa5ff331bfb8b1ff6dcaa5aa69000 | [
"MIT"
] | 1 | 2020-11-06T18:33:29.000Z | 2020-11-06T18:33:29.000Z | AutoConfig/clean.py | Guifgr/AutoConfig | 7001cc2d1fdfa5ff331bfb8b1ff6dcaa5aa69000 | [
"MIT"
] | null | null | null | AutoConfig/clean.py | Guifgr/AutoConfig | 7001cc2d1fdfa5ff331bfb8b1ff6dcaa5aa69000 | [
"MIT"
] | null | null | null | def clean():
print("""\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n""")
| 85.285714 | 127 | 0.438861 | 252 | 597 | 1.039683 | 0.015873 | 1.89313 | 2.828244 | 3.755725 | 0.950382 | 0.950382 | 0.950382 | 0.950382 | 0.950382 | 0.950382 | 0 | 0 | 0.125628 | 597 | 6 | 128 | 99.5 | 0.501916 | 0 | 0 | 0.5 | 0 | 0.833333 | 0.948074 | 0.834171 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0 | 0 | 0.166667 | 0.166667 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 15 |
51d59172ca03fe1961b8d07fc9cf0be0008c7c82 | 30,607 | py | Python | tests/test_transformation.py | matheuscas/pyfuzzy_toolbox | 57885f3ff53d1b7ab3559c7ff6197ceb97f67c3b | [
"BSD-3-Clause"
] | null | null | null | tests/test_transformation.py | matheuscas/pyfuzzy_toolbox | 57885f3ff53d1b7ab3559c7ff6197ceb97f67c3b | [
"BSD-3-Clause"
] | null | null | null | tests/test_transformation.py | matheuscas/pyfuzzy_toolbox | 57885f3ff53d1b7ab3559c7ff6197ceb97f67c3b | [
"BSD-3-Clause"
] | null | null | null | from pyfuzzy_toolbox import transformation as trans
from pyfuzzy_toolbox import preprocessing as pre
from pyfuzzy_toolbox import intensifiers as ints
import nose
import test_preprocessing as tpre
# expected prior polarity value for 'nice': 0.48759
positive_unigram = pre.Unigram()
positive_unigram.position = 14
positive_unigram.frequency = 2
positive_unigram.doc_word_count = 28
positive_unigram.word = 'nice'
positive_unigram_polarity = 0.48759
# expected prior polarity value for 'poor': -0.3325
negative_unigram = pre.Unigram()
negative_unigram.position = 14
negative_unigram.frequency = 4
negative_unigram.doc_word_count = 28
negative_unigram.word = 'poor'
negative_unigram_polarity = -0.3325
negation_unigram = pre.Unigram()
negation_unigram.position = 14
negation_unigram.frequency = 4
negation_unigram.doc_word_count = 28
negation_unigram.word = 'not'
negation_unigram_polarity = -0.38925
# really
really_intensifier_unigram = pre.Unigram()
really_intensifier_unigram.position = 13
really_intensifier_unigram.frequency = 1
really_intensifier_unigram.doc_word_count = 28
really_intensifier_unigram.word = 'really'
# extraordinarily
extraordinarily_intensifier_unigram = pre.Unigram()
extraordinarily_intensifier_unigram.position = 13
extraordinarily_intensifier_unigram.frequency = 1
extraordinarily_intensifier_unigram.doc_word_count = 28
extraordinarily_intensifier_unigram.word = 'extraordinarily'
# slightly
slightly_intensifier_unigram = pre.Unigram()
slightly_intensifier_unigram.position = 13
slightly_intensifier_unigram.frequency = 1
slightly_intensifier_unigram.doc_word_count = 28
slightly_intensifier_unigram.word = 'slightly'
bigram = pre.Bigram()
trigram = pre.Trigram()
def test_get_unigram_polarity_position_true():
# position calc: (polarity * position) / doc_word_count
expected_polarity = (positive_unigram_polarity *
positive_unigram.position) / positive_unigram.doc_word_count
unigram_polarity = trans.get_unigram_polarity(positive_unigram,
lexicon=trans.SWN_PRIOR_POLARITY,
use_position=True,
use_frequency=False,
compensate_bias=False,
bias_compensation=0.5)
assert expected_polarity == unigram_polarity
expected_polarity = (negative_unigram_polarity *
negative_unigram.position) / negative_unigram.doc_word_count
unigram_polarity = trans.get_unigram_polarity(negative_unigram,
lexicon=trans.SWN_PRIOR_POLARITY,
use_position=True,
use_frequency=False,
compensate_bias=False,
bias_compensation=0.5)
assert expected_polarity == unigram_polarity
def test_get_unigram_polarity_frequency_true():
# frequency calc: polarity / frequency
expected_polarity = positive_unigram_polarity / \
float(positive_unigram.frequency)
unigram_polarity = trans.get_unigram_polarity(positive_unigram,
lexicon=trans.SWN_PRIOR_POLARITY,
use_position=False,
use_frequency=True,
compensate_bias=False,
bias_compensation=0.5)
assert expected_polarity == unigram_polarity
expected_polarity = negative_unigram_polarity / \
float(negative_unigram.frequency)
unigram_polarity = trans.get_unigram_polarity(negative_unigram,
lexicon=trans.SWN_PRIOR_POLARITY,
use_position=False,
use_frequency=True,
compensate_bias=False,
bias_compensation=0.5)
assert expected_polarity == unigram_polarity
def test_get_unigram_polarity_compensate_bias_true():
expected_polarity = positive_unigram_polarity
unigram_polarity = trans.get_unigram_polarity(positive_unigram,
lexicon=trans.SWN_PRIOR_POLARITY,
use_position=False,
use_frequency=False,
compensate_bias=True,
bias_compensation=0.5)
assert expected_polarity == unigram_polarity
expected_polarity = negative_unigram_polarity / 0.5
unigram_polarity = trans.get_unigram_polarity(negative_unigram,
lexicon=trans.SWN_PRIOR_POLARITY,
use_position=False,
use_frequency=False,
compensate_bias=True,
bias_compensation=0.5)
assert expected_polarity == unigram_polarity
def test_get_unigram_polarity_use_position_only_false():
expected_polarity = positive_unigram_polarity / positive_unigram.frequency
unigram_polarity = trans.get_unigram_polarity(positive_unigram,
lexicon=trans.SWN_PRIOR_POLARITY,
use_position=False,
use_frequency=True,
compensate_bias=True,
bias_compensation=0.5)
assert expected_polarity == unigram_polarity
expected_polarity = (
negative_unigram_polarity / 0.5) / negative_unigram.frequency
unigram_polarity = trans.get_unigram_polarity(negative_unigram,
lexicon=trans.SWN_PRIOR_POLARITY,
use_position=False,
use_frequency=True,
compensate_bias=True,
bias_compensation=0.5)
assert expected_polarity == unigram_polarity
def test_get_unigram_polarity_use_frequency_only_false():
expected_polarity = (positive_unigram_polarity *
positive_unigram.position) / positive_unigram.doc_word_count
unigram_polarity = trans.get_unigram_polarity(positive_unigram,
lexicon=trans.SWN_PRIOR_POLARITY,
use_position=True,
use_frequency=False,
compensate_bias=True,
bias_compensation=0.5)
assert expected_polarity == unigram_polarity
expected_polarity = (
(negative_unigram_polarity * negative_unigram.position) / negative_unigram.doc_word_count) / 0.5
unigram_polarity = trans.get_unigram_polarity(negative_unigram,
lexicon=trans.SWN_PRIOR_POLARITY,
use_position=True,
use_frequency=False,
compensate_bias=True,
bias_compensation=0.5)
assert expected_polarity == unigram_polarity
def test_get_bigram_polarity_position_true():
bigram.word_1 = really_intensifier_unigram
bigram.word_2 = positive_unigram
expected_polarity = (positive_unigram_polarity *
positive_unigram.position) / positive_unigram.doc_word_count
expected_polarity = expected_polarity + \
(expected_polarity * ints.intensifiers.high.modifier)
unigram_polarity = trans.get_bigram_polarity(bigram,
lexicon=trans.SWN_PRIOR_POLARITY,
use_position=True,
use_frequency=False,
compensate_bias=False,
bias_compensation=0.5)
nose.tools.assert_almost_equal(expected_polarity, unigram_polarity)
bigram.word_1 = slightly_intensifier_unigram
expected_polarity = (positive_unigram_polarity *
positive_unigram.position) / positive_unigram.doc_word_count
expected_polarity = expected_polarity + \
(expected_polarity * ints.intensifiers.lowest.modifier)
unigram_polarity = trans.get_bigram_polarity(bigram,
lexicon=trans.SWN_PRIOR_POLARITY,
use_position=True,
use_frequency=False,
compensate_bias=False,
bias_compensation=0.5)
nose.tools.assert_almost_equal(expected_polarity, unigram_polarity)
bigram.word_1 = really_intensifier_unigram
bigram.word_2 = negative_unigram
expected_polarity = (negative_unigram_polarity *
negative_unigram.position) / negative_unigram.doc_word_count
expected_polarity = expected_polarity + \
(expected_polarity * ints.intensifiers.high.modifier)
unigram_polarity = trans.get_bigram_polarity(bigram,
lexicon=trans.SWN_PRIOR_POLARITY,
use_position=True,
use_frequency=False,
compensate_bias=False,
bias_compensation=0.5)
nose.tools.assert_almost_equal(expected_polarity, unigram_polarity)
bigram.word_1 = slightly_intensifier_unigram
expected_polarity = (negative_unigram_polarity *
negative_unigram.position) / negative_unigram.doc_word_count
expected_polarity = expected_polarity + \
(expected_polarity * ints.intensifiers.lowest.modifier)
unigram_polarity = trans.get_bigram_polarity(bigram,
lexicon=trans.SWN_PRIOR_POLARITY,
use_position=True,
use_frequency=False,
compensate_bias=False,
bias_compensation=0.5)
nose.tools.assert_almost_equal(expected_polarity, unigram_polarity)
def test_get_bigram_polarity_frequency_true():
bigram.word_1 = really_intensifier_unigram
bigram.word_2 = positive_unigram
expected_polarity = (
positive_unigram_polarity / positive_unigram.frequency)
expected_polarity = expected_polarity + \
(expected_polarity * ints.intensifiers.high.modifier)
unigram_polarity = trans.get_bigram_polarity(bigram,
lexicon=trans.SWN_PRIOR_POLARITY,
use_position=False,
use_frequency=True,
compensate_bias=False,
bias_compensation=0.5)
nose.tools.assert_almost_equal(expected_polarity, unigram_polarity)
bigram.word_1 = slightly_intensifier_unigram
expected_polarity = (
positive_unigram_polarity / positive_unigram.frequency)
expected_polarity = expected_polarity + \
(expected_polarity * ints.intensifiers.lowest.modifier)
unigram_polarity = trans.get_bigram_polarity(bigram,
lexicon=trans.SWN_PRIOR_POLARITY,
use_position=False,
use_frequency=True,
compensate_bias=False,
bias_compensation=0.5)
nose.tools.assert_almost_equal(expected_polarity, unigram_polarity)
bigram.word_1 = really_intensifier_unigram
bigram.word_2 = negative_unigram
expected_polarity = (
negative_unigram_polarity / negative_unigram.frequency)
expected_polarity = expected_polarity + \
(expected_polarity * ints.intensifiers.high.modifier)
unigram_polarity = trans.get_bigram_polarity(bigram,
lexicon=trans.SWN_PRIOR_POLARITY,
use_position=False,
use_frequency=True,
compensate_bias=False,
bias_compensation=0.5)
nose.tools.assert_almost_equal(expected_polarity, unigram_polarity)
bigram.word_1 = slightly_intensifier_unigram
expected_polarity = (
negative_unigram_polarity / negative_unigram.frequency)
expected_polarity = expected_polarity + \
(expected_polarity * ints.intensifiers.lowest.modifier)
unigram_polarity = trans.get_bigram_polarity(bigram,
lexicon=trans.SWN_PRIOR_POLARITY,
use_position=False,
use_frequency=True,
compensate_bias=False,
bias_compensation=0.5)
nose.tools.assert_almost_equal(expected_polarity, unigram_polarity)
def test_get_bigram_polarity_compensate_bias_true():
bigram.word_1 = really_intensifier_unigram
bigram.word_2 = positive_unigram
expected_polarity = positive_unigram_polarity + \
(positive_unigram_polarity * ints.intensifiers.high.modifier)
unigram_polarity = trans.get_bigram_polarity(bigram,
lexicon=trans.SWN_PRIOR_POLARITY,
use_position=False,
use_frequency=False,
compensate_bias=True,
bias_compensation=0.5)
nose.tools.assert_almost_equal(expected_polarity, unigram_polarity)
bigram.word_1 = slightly_intensifier_unigram
expected_polarity = positive_unigram_polarity + \
(positive_unigram_polarity * ints.intensifiers.lowest.modifier)
unigram_polarity = trans.get_bigram_polarity(bigram,
lexicon=trans.SWN_PRIOR_POLARITY,
use_position=False,
use_frequency=False,
compensate_bias=True,
bias_compensation=0.5)
nose.tools.assert_almost_equal(expected_polarity, unigram_polarity)
bigram.word_1 = really_intensifier_unigram
bigram.word_2 = negative_unigram
expected_polarity = negative_unigram_polarity + \
(negative_unigram_polarity * ints.intensifiers.high.modifier)
expected_polarity = expected_polarity / 0.5
unigram_polarity = trans.get_bigram_polarity(bigram,
lexicon=trans.SWN_PRIOR_POLARITY,
use_position=False,
use_frequency=False,
compensate_bias=True,
bias_compensation=0.5)
nose.tools.assert_almost_equal(expected_polarity, unigram_polarity)
bigram.word_1 = slightly_intensifier_unigram
expected_polarity = negative_unigram_polarity + \
(negative_unigram_polarity * ints.intensifiers.lowest.modifier)
expected_polarity = expected_polarity / 0.5
unigram_polarity = trans.get_bigram_polarity(bigram,
lexicon=trans.SWN_PRIOR_POLARITY,
use_position=False,
use_frequency=False,
compensate_bias=True,
bias_compensation=0.5)
nose.tools.assert_almost_equal(expected_polarity, unigram_polarity)
def test_get_trigram_polarity_position_true():
# intensifies a intensified unigram
trigram.word_1 = really_intensifier_unigram
trigram.word_2 = really_intensifier_unigram
trigram.word_3 = positive_unigram
expected_polarity = (positive_unigram_polarity *
positive_unigram.position) / positive_unigram.doc_word_count
expected_polarity = expected_polarity + \
(expected_polarity * ints.intensifiers.high.modifier)
expected_polarity = expected_polarity + \
(expected_polarity * ints.intensifiers.high.modifier)
trigram_polarity = trans.get_trigram_polarity(trigram,
lexicon=trans.SWN_PRIOR_POLARITY,
use_position=True,
use_frequency=False,
compensate_bias=False,
bias_compensation=0.5)
nose.tools.assert_almost_equal(expected_polarity, trigram_polarity)
# downtoner a intensified unigram
trigram.word_1 = slightly_intensifier_unigram
expected_polarity = (positive_unigram_polarity *
positive_unigram.position) / positive_unigram.doc_word_count
expected_polarity = expected_polarity + \
(expected_polarity * ints.intensifiers.high.modifier)
expected_polarity = expected_polarity + \
(expected_polarity * ints.intensifiers.lowest.modifier)
trigram_polarity = trans.get_trigram_polarity(trigram,
lexicon=trans.SWN_PRIOR_POLARITY,
use_position=True,
use_frequency=False,
compensate_bias=False,
bias_compensation=0.5)
nose.tools.assert_almost_equal(expected_polarity, trigram_polarity)
# intensifies a downtoned unigram
trigram.word_1 = really_intensifier_unigram
trigram.word_2 = slightly_intensifier_unigram
expected_polarity = (positive_unigram_polarity *
positive_unigram.position) / positive_unigram.doc_word_count
expected_polarity = expected_polarity + \
(expected_polarity * ints.intensifiers.lowest.modifier)
expected_polarity = expected_polarity + \
(expected_polarity * ints.intensifiers.high.modifier)
trigram_polarity = trans.get_trigram_polarity(trigram,
lexicon=trans.SWN_PRIOR_POLARITY,
use_position=True,
use_frequency=False,
compensate_bias=False,
bias_compensation=0.5)
nose.tools.assert_almost_equal(expected_polarity, trigram_polarity)
# downtoner a downtoned unigram
trigram.word_1 = slightly_intensifier_unigram
trigram.word_2 = slightly_intensifier_unigram
expected_polarity = (positive_unigram_polarity *
positive_unigram.position) / positive_unigram.doc_word_count
expected_polarity = expected_polarity + \
(expected_polarity * ints.intensifiers.lowest.modifier)
expected_polarity = expected_polarity + \
(expected_polarity * ints.intensifiers.lowest.modifier)
trigram_polarity = trans.get_trigram_polarity(trigram,
lexicon=trans.SWN_PRIOR_POLARITY,
use_position=True,
use_frequency=False,
compensate_bias=False,
bias_compensation=0.5)
nose.tools.assert_almost_equal(expected_polarity, trigram_polarity)
def test_get_trigram_polarity_frequency_true():
# intensifies a intensified unigram
trigram.word_1 = really_intensifier_unigram
trigram.word_2 = really_intensifier_unigram
trigram.word_3 = positive_unigram
expected_polarity = (positive_unigram_polarity *
positive_unigram.position) / positive_unigram.doc_word_count
expected_polarity = expected_polarity + \
(expected_polarity * ints.intensifiers.high.modifier)
expected_polarity = expected_polarity + \
(expected_polarity * ints.intensifiers.high.modifier)
trigram_polarity = trans.get_trigram_polarity(trigram,
lexicon=trans.SWN_PRIOR_POLARITY,
use_position=False,
use_frequency=True,
compensate_bias=False,
bias_compensation=0.5)
nose.tools.assert_almost_equal(expected_polarity, trigram_polarity)
# downtoner a intensified unigram
trigram.word_1 = slightly_intensifier_unigram
expected_polarity = (positive_unigram_polarity *
positive_unigram.position) / positive_unigram.doc_word_count
expected_polarity = expected_polarity + \
(expected_polarity * ints.intensifiers.high.modifier)
expected_polarity = expected_polarity + \
(expected_polarity * ints.intensifiers.lowest.modifier)
trigram_polarity = trans.get_trigram_polarity(trigram,
lexicon=trans.SWN_PRIOR_POLARITY,
use_position=False,
use_frequency=True,
compensate_bias=False,
bias_compensation=0.5)
nose.tools.assert_almost_equal(expected_polarity, trigram_polarity)
# intensifies a downtoned unigram
trigram.word_1 = really_intensifier_unigram
trigram.word_2 = slightly_intensifier_unigram
expected_polarity = (positive_unigram_polarity *
positive_unigram.position) / positive_unigram.doc_word_count
expected_polarity = expected_polarity + \
(expected_polarity * ints.intensifiers.lowest.modifier)
expected_polarity = expected_polarity + \
(expected_polarity * ints.intensifiers.high.modifier)
trigram_polarity = trans.get_trigram_polarity(trigram,
lexicon=trans.SWN_PRIOR_POLARITY,
use_position=False,
use_frequency=True,
compensate_bias=False,
bias_compensation=0.5)
nose.tools.assert_almost_equal(expected_polarity, trigram_polarity)
# downtoner a downtoned unigram
trigram.word_1 = slightly_intensifier_unigram
expected_polarity = (positive_unigram_polarity *
positive_unigram.position) / positive_unigram.doc_word_count
expected_polarity = expected_polarity + \
(expected_polarity * ints.intensifiers.lowest.modifier)
expected_polarity = expected_polarity + \
(expected_polarity * ints.intensifiers.lowest.modifier)
trigram_polarity = trans.get_trigram_polarity(trigram,
lexicon=trans.SWN_PRIOR_POLARITY,
use_position=False,
use_frequency=True,
compensate_bias=False,
bias_compensation=0.5)
nose.tools.assert_almost_equal(expected_polarity, trigram_polarity)
def test_get_trigram_polarity_compensate_bias_true():
# intensifies a intensified unigram
trigram.word_1 = really_intensifier_unigram
trigram.word_2 = really_intensifier_unigram
trigram.word_3 = negative_unigram
expected_polarity = negative_unigram_polarity / 0.5
expected_polarity = expected_polarity + \
(expected_polarity * ints.intensifiers.high.modifier)
expected_polarity = expected_polarity + \
(expected_polarity * ints.intensifiers.high.modifier)
trigram_polarity = trans.get_trigram_polarity(trigram,
lexicon=trans.SWN_PRIOR_POLARITY,
use_position=False,
use_frequency=False,
compensate_bias=True,
bias_compensation=0.5)
nose.tools.assert_almost_equal(expected_polarity, trigram_polarity)
# intensifies a intensified unigram
trigram.word_3 = positive_unigram
expected_polarity = positive_unigram_polarity
expected_polarity = expected_polarity + \
(expected_polarity * ints.intensifiers.high.modifier)
expected_polarity = expected_polarity + \
(expected_polarity * ints.intensifiers.high.modifier)
trigram_polarity = trans.get_trigram_polarity(trigram,
lexicon=trans.SWN_PRIOR_POLARITY,
use_position=False,
use_frequency=False,
compensate_bias=True,
bias_compensation=0.5)
nose.tools.assert_almost_equal(expected_polarity, trigram_polarity)
def test_is_negation_true():
negation_unigram = pre.Unigram()
negation_unigram.word = 'not'
bigram.word_1 = negation_unigram
bigram.word_2 = positive_unigram
trigram.word_1 = negation_unigram
trigram.word_2 = really_intensifier_unigram
trigram.word_3 = negative_unigram
assert trans.is_negation(bigram) == True
assert trans.is_negation(trigram) == True
def test_is_negation_false():
bigram.word_1 = really_intensifier_unigram
bigram.word_2 = positive_unigram
trigram.word_1 = really_intensifier_unigram
trigram.word_2 = really_intensifier_unigram
trigram.word_3 = negative_unigram
assert trans.is_negation(bigram) == False
assert trans.is_negation(trigram) == False
def test_get_bigram_polarity_position_true_with_shift_negation():
bigram.word_1 = negation_unigram
bigram.word_2 = positive_unigram
expected_polarity = (positive_unigram_polarity *
positive_unigram.position) / positive_unigram.doc_word_count
expected_polarity = expected_polarity - 0.75
unigram_polarity = trans.get_bigram_polarity(bigram,
lexicon=trans.SWN_PRIOR_POLARITY,
use_position=True,
use_frequency=False,
compensate_bias=False,
bias_compensation=0.5)
nose.tools.assert_almost_equal(expected_polarity, unigram_polarity)
bigram.word_2 = negative_unigram
expected_polarity = (negative_unigram_polarity *
negative_unigram.position) / negative_unigram.doc_word_count
expected_polarity = expected_polarity + 0.75
unigram_polarity = trans.get_bigram_polarity(bigram,
lexicon=trans.SWN_PRIOR_POLARITY,
use_position=True,
use_frequency=False,
compensate_bias=False,
bias_compensation=0.5)
nose.tools.assert_almost_equal(expected_polarity, unigram_polarity)
def test_get_trigram_polarity_position_true_with_shift_negation():
# intensifies a intensified unigram
trigram.word_1 = negation_unigram
trigram.word_2 = really_intensifier_unigram
trigram.word_3 = positive_unigram
expected_polarity = (positive_unigram_polarity *
positive_unigram.position) / positive_unigram.doc_word_count
expected_polarity = expected_polarity + \
(expected_polarity * ints.intensifiers.high.modifier)
expected_polarity = expected_polarity - 0.75
trigram_polarity = trans.get_trigram_polarity(trigram,
lexicon=trans.SWN_PRIOR_POLARITY,
use_position=True,
use_frequency=False,
compensate_bias=False,
bias_compensation=0.5)
nose.tools.assert_almost_equal(expected_polarity, trigram_polarity)
def test_start_unigram_with_polarities():
bow_sentences = pre.start(tpre.text_1)
bow_sentences = trans.start(bow_sentences)
for bs in bow_sentences:
for ngram in bs:
assert hasattr(ngram, 'polarity') == True
| 48.814992 | 104 | 0.567844 | 2,615 | 30,607 | 6.246654 | 0.03327 | 0.163575 | 0.101377 | 0.123416 | 0.909887 | 0.891032 | 0.87738 | 0.870768 | 0.870768 | 0.866054 | 0 | 0.010731 | 0.381906 | 30,607 | 626 | 105 | 48.892971 | 0.852733 | 0.01895 | 0 | 0.84787 | 0 | 0 | 0.0017 | 0 | 0 | 0 | 0 | 0 | 0.081136 | 1 | 0.032454 | false | 0 | 0.010142 | 0 | 0.042596 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
cf8f68576aa5a2154438089add8fef4bc68013ed | 1,977 | py | Python | my_spotless_app/utils.py | AntociM/Spotless | 8cd2d7f76eccee046d42f7a836cf91af04527186 | [
"ADSL"
] | null | null | null | my_spotless_app/utils.py | AntociM/Spotless | 8cd2d7f76eccee046d42f7a836cf91af04527186 | [
"ADSL"
] | 29 | 2022-01-22T19:05:56.000Z | 2022-03-01T08:57:14.000Z | my_spotless_app/utils.py | AntociM/Project-4 | 8cd2d7f76eccee046d42f7a836cf91af04527186 | [
"ADSL"
] | 1 | 2022-03-02T11:00:59.000Z | 2022-03-02T11:00:59.000Z | from django.core.mail import EmailMessage
def send_booking_update(user, booking):
subject = f'[{booking.id}] {booking.service.name}'
message = f'''
Hi {user.first_name},
Your booking has been updated.
<strong>State:</strong> {booking.state}
<strong>Date:</strong> {booking.date}
<strong>Comments:</strong> {booking.mentions}
For questions, please contact us via email at'
'<strong>info@spotless.se</strong> or call us'
' at <strong>0754981234</strong>.'
Best regards,
Team Spotless
'''
mail = EmailMessage(
subject=subject,
body=message,
from_email='my.spotless.app@gmail.com',
to=[user.email],
reply_to=['my.spotless.app@gmail.com'],
)
mail.content_subtype = "html"
mail.send()
def send_booking_cancelation(user, booking):
subject = f'[{booking.id}] {booking.service.name}'
message = f'''
Hi {user.first_name},
Your booking has been CANCELLED.
For questions, please contact us via email'
' at <strong>info@spotless.se</strong> or'
' call us at <strong>0754981234</strong>.'
Best regards,
Team Spotless
'''
mail = EmailMessage(
subject=subject,
body=message,
from_email='my.spotless.app@gmail.com',
to=[user.email],
reply_to=['my.spotless.app@gmail.com'],
)
mail.content_subtype = "html"
mail.send()
def send_booking_confirmation(user, booking):
subject = f'[{booking.id}] {booking.service.name}'
message = f'''
Hi {user.first_name},
'We received your booking!'
'Someone will contact you shortly.'
For questions, please contact us via email'
' at <strong>info@spotless.se</strong> or'
' call us at <strong>0754981234</strong>.'
Best regards,
Team Spotless
'''
mail = EmailMessage(
subject=subject,
body=message,
from_email='my.spotless.app@gmail.com',
to=[user.email],
reply_to=['my.spotless.app@gmail.com'],
)
mail.content_subtype = "html"
mail.send()
| 23.258824 | 54 | 0.65655 | 256 | 1,977 | 5 | 0.25 | 0.0375 | 0.060938 | 0.084375 | 0.816406 | 0.816406 | 0.816406 | 0.816406 | 0.816406 | 0.816406 | 0 | 0.018904 | 0.197269 | 1,977 | 84 | 55 | 23.535714 | 0.78765 | 0 | 0 | 0.738462 | 0 | 0 | 0.55134 | 0.239757 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046154 | false | 0 | 0.015385 | 0 | 0.061538 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
cf92c950f78c505755ee8ff36af11d3ce0d33057 | 10,388 | py | Python | tests/test_main.py | leonardomathon/sqleyes | f15e95fc6af3a842a33ab2425929d4dd517cb371 | [
"MIT"
] | 1 | 2022-03-16T10:52:15.000Z | 2022-03-16T10:52:15.000Z | tests/test_main.py | leonardomathon/sqleyes | f15e95fc6af3a842a33ab2425929d4dd517cb371 | [
"MIT"
] | 4 | 2022-03-08T21:27:53.000Z | 2022-03-15T16:11:03.000Z | tests/test_main.py | leonardomathon/sqleyes | f15e95fc6af3a842a33ab2425929d4dd517cb371 | [
"MIT"
] | null | null | null | """Tests for sqleyes.main"""
import pytest
from sqleyes.definitions.definitions import DEFINITIONS
from sqleyes.main import main
@pytest.mark.parametrize("test_input, expected", [
(
"",
[]
),
])
def test_main_empty(test_input, expected):
assert main(test_input) == expected
@pytest.mark.parametrize("test_input, expected", [
(
"SELECT pId, price FROM product",
[]
),
])
def test_main_valid_query(test_input, expected):
assert main(test_input) == expected
@pytest.mark.parametrize("test_input, expected", [
(
"SELECT * FROM product",
[[DEFINITIONS["anti_patterns"]["implicit_columns"]["title"],
DEFINITIONS["anti_patterns"]["implicit_columns"]["type"]]]
),
(
"SELECT * FROM product",
[[DEFINITIONS["anti_patterns"]["implicit_columns"]["title"],
DEFINITIONS["anti_patterns"]["implicit_columns"]["type"]]]
),
(
"select * FROM product",
[[DEFINITIONS["anti_patterns"]["implicit_columns"]["title"],
DEFINITIONS["anti_patterns"]["implicit_columns"]["type"]]]
),
(
"SeLECt * FROM product",
[[DEFINITIONS["anti_patterns"]["implicit_columns"]["title"],
DEFINITIONS["anti_patterns"]["implicit_columns"]["type"]]]
),
(
"SeLECt * FROM product",
[[DEFINITIONS["anti_patterns"]["implicit_columns"]["title"],
DEFINITIONS["anti_patterns"]["implicit_columns"]["type"]]]
),
])
def test_main_implicit_columns(test_input, expected):
outputs = main(test_input)
if len(outputs) == 0:
assert outputs == expected
else:
for index, output in enumerate(outputs):
assert [output.title, output.type] == expected[index]
@pytest.mark.parametrize("test_input, expected", [
(
"SELECT pId FROM product WHERE pCategory <> NULL",
[[DEFINITIONS["anti_patterns"]["fear_of_the_unknown"]["title"],
DEFINITIONS["anti_patterns"]["fear_of_the_unknown"]["type"]]]
),
(
"SELECT pId FROM product WHERE pCategory != NULL",
[[DEFINITIONS["anti_patterns"]["fear_of_the_unknown"]["title"],
DEFINITIONS["anti_patterns"]["fear_of_the_unknown"]["type"]]]
),
(
"SELECT pId FROM product WHERE pCategory = NULL",
[[DEFINITIONS["anti_patterns"]["fear_of_the_unknown"]["title"],
DEFINITIONS["anti_patterns"]["fear_of_the_unknown"]["type"]]]
),
(
"SELECT pId FROM product WHERE pCategory = null",
[[DEFINITIONS["anti_patterns"]["fear_of_the_unknown"]["title"],
DEFINITIONS["anti_patterns"]["fear_of_the_unknown"]["type"]]]
),
(
"SELECT pId FROM product WHERE pCategory = null",
[[DEFINITIONS["anti_patterns"]["fear_of_the_unknown"]["title"],
DEFINITIONS["anti_patterns"]["fear_of_the_unknown"]["type"]]]
),
(
"SELECT pId FROM product WHERE pCategory is NULL",
[]
),
(
"SELECT pId FROM product WHERE pCategory is not NULL",
[]
),
])
def test_main_fear_of_the_unknown(test_input, expected):
outputs = main(test_input)
if len(outputs) == 0:
assert outputs == expected
else:
for index, output in enumerate(outputs):
assert [output.title, output.type] == expected[index]
@pytest.mark.parametrize("test_input, expected", [
(
"SELECT pSupplier, price, count(pId) FROM product GROUP BY pSupplier",
[[DEFINITIONS["anti_patterns"]["ambiguous_groups"]["title"],
DEFINITIONS["anti_patterns"]["ambiguous_groups"]["type"]]]
),
(
"SELECT pSupplier, price, count(pId) FROM product group by pSupplier",
[[DEFINITIONS["anti_patterns"]["ambiguous_groups"]["title"],
DEFINITIONS["anti_patterns"]["ambiguous_groups"]["type"]]]
),
(
"""SELECT pSupplier, price, count(pId)
FROM product
GROUP BY pSupplier
HAVING price > 9.99""",
[[DEFINITIONS["anti_patterns"]["ambiguous_groups"]["title"],
DEFINITIONS["anti_patterns"]["ambiguous_groups"]["type"]]]
),
(
"""SELECT pSupplier, price, count(pId)
FROM product
WHERE price > 9.99
GROUP BY pSupplier
""",
[[DEFINITIONS["anti_patterns"]["ambiguous_groups"]["title"],
DEFINITIONS["anti_patterns"]["ambiguous_groups"]["type"]]]
),
(
"SELECT pSupplier, count(pId) FROM product GROUP BY pSupplier",
[]
),
])
def test_main_ambiguous_groups(test_input, expected):
outputs = main(test_input)
if len(outputs) == 0:
assert outputs == expected
else:
for index, output in enumerate(outputs):
assert [output.title, output.type] == expected[index]
@pytest.mark.parametrize("test_input, expected", [
(
"SELECT pId FROM product ORDER BY price",
[]
),
(
"SELECT pId FROM product ORDER BY RAND()",
[[DEFINITIONS["anti_patterns"]["random_selection"]["title"],
DEFINITIONS["anti_patterns"]["random_selection"]["type"]]]
),
(
"SELECT pId FROM product ORDER BY RANDOM()",
[[DEFINITIONS["anti_patterns"]["random_selection"]["title"],
DEFINITIONS["anti_patterns"]["random_selection"]["type"]]]
),
(
"SELECT pId FROM product ORDER BY rand()",
[[DEFINITIONS["anti_patterns"]["random_selection"]["title"],
DEFINITIONS["anti_patterns"]["random_selection"]["type"]]]
),
(
"SELECT pId FROM product ORDER BY random()",
[[DEFINITIONS["anti_patterns"]["random_selection"]["title"],
DEFINITIONS["anti_patterns"]["random_selection"]["type"]]]
),
(
"SELECT pId FROM product order by rand()",
[[DEFINITIONS["anti_patterns"]["random_selection"]["title"],
DEFINITIONS["anti_patterns"]["random_selection"]["type"]]]
),
(
"SELECT pId FROM product ORDER BY RAND() LIMIT 1",
[[DEFINITIONS["anti_patterns"]["random_selection"]["title"],
DEFINITIONS["anti_patterns"]["random_selection"]["type"]]]
),
(
"SELECT pId FROM product WHERE price > 9.99 ORDER BY RAND() LIMIT 1",
[[DEFINITIONS["anti_patterns"]["random_selection"]["title"],
DEFINITIONS["anti_patterns"]["random_selection"]["type"]]]
),
(
"SELECT pId FROM product WHERE price > 9.99 ORDER BY RAND() LIMIT 1",
[[DEFINITIONS["anti_patterns"]["random_selection"]["title"],
DEFINITIONS["anti_patterns"]["random_selection"]["type"]]]
),
(
"SELECT pId FROM product ORDER BY RAND(6) LIMIT 1",
[[DEFINITIONS["anti_patterns"]["random_selection"]["title"],
DEFINITIONS["anti_patterns"]["random_selection"]["type"]]]
),
(
"SELECT pId FROM product ORDER BY RAND(6) LIMIT 1",
[[DEFINITIONS["anti_patterns"]["random_selection"]["title"],
DEFINITIONS["anti_patterns"]["random_selection"]["type"]]]
),
(
"SELECT pId FROM product ORDER BY RAND(6)*5 LIMIT 1",
[[DEFINITIONS["anti_patterns"]["random_selection"]["title"],
DEFINITIONS["anti_patterns"]["random_selection"]["type"]]]
),
])
def test_main_random_selection(test_input, expected):
outputs = main(test_input)
if len(outputs) == 0:
assert outputs == expected
else:
for index, output in enumerate(outputs):
assert [output.title, output.type] == expected[index]
@pytest.mark.parametrize("test_input, expected", [
(
"SELECT pId FROM product ORDER BY price",
[]
),
(
"SELECT pId FROM product WHERE description LIKE '%ice%';",
[[DEFINITIONS["anti_patterns"]["poor_mans_search_engine"]["title"],
DEFINITIONS["anti_patterns"]["poor_mans_search_engine"]["type"]]]
),
(
"SELECT pId FROM product WHERE description like '%ice%';",
[[DEFINITIONS["anti_patterns"]["poor_mans_search_engine"]["title"],
DEFINITIONS["anti_patterns"]["poor_mans_search_engine"]["type"]]]
),
(
"SELECT pId FROM product WHERE description like '%ice%';",
[[DEFINITIONS["anti_patterns"]["poor_mans_search_engine"]["title"],
DEFINITIONS["anti_patterns"]["poor_mans_search_engine"]["type"]]]
),
(
"SELECT pId FROM product WHERE description REGEXP 'ice';",
[[DEFINITIONS["anti_patterns"]["poor_mans_search_engine"]["title"],
DEFINITIONS["anti_patterns"]["poor_mans_search_engine"]["type"]]]
),
(
"SELECT pId FROM product WHERE description LIKE '%ice%';",
[[DEFINITIONS["anti_patterns"]["poor_mans_search_engine"]["title"],
DEFINITIONS["anti_patterns"]["poor_mans_search_engine"]["type"]]]
),
(
"""SELECT pId
FROM product
WHERE description REGEXP '[[:<:]]ice[[:>:]]';""",
[[DEFINITIONS["anti_patterns"]["poor_mans_search_engine"]["title"],
DEFINITIONS["anti_patterns"]["poor_mans_search_engine"]["type"]]]
),
])
def test_main_poor_mans_search_engine(test_input, expected):
outputs = main(test_input)
if len(outputs) == 0:
assert outputs == expected
else:
for index, output in enumerate(outputs):
assert [output.title, output.type] == expected[index]
@pytest.mark.parametrize("test_input, expected", [
(
"SELECT pId FROM product ORDER BY price",
[]
),
(
"""SELECT COUNT(bp.product_id) AS how_many_products,
COUNT(dev.account_id) AS how_many_developers,
COUNT(b.bug_id)/COUNT(dev.account_id) AS avg_bugs_per_developer,
COUNT(cust.account_id) AS how_many_customers
FROM Bugs b JOIN BugsProducts bp ON (b.bug_id = bp.bug_id)
JOIN Accounts dev ON (b.assigned_to = dev.account_id)
JOIN Accounts cust ON (b.reported_by = cust.account_id)
WHERE cust.email IS NOT NULL
GROUP BY bp.product_id""",
[[DEFINITIONS["anti_patterns"]["spaghetti_query"]["title"],
DEFINITIONS["anti_patterns"]["spaghetti_query"]["type"],
"low"]],
),
])
def test_main_spaghetti_query(test_input, expected):
outputs = main(test_input)
if len(outputs) == 0:
assert outputs == expected
else:
for index, output in enumerate(outputs):
assert [output.title, output.type, output.certainty] == expected[index]
| 34.626667 | 83 | 0.616288 | 1,104 | 10,388 | 5.577899 | 0.089674 | 0.155895 | 0.239039 | 0.145502 | 0.895745 | 0.873498 | 0.867327 | 0.853361 | 0.852874 | 0.852874 | 0 | 0.003487 | 0.227089 | 10,388 | 299 | 84 | 34.742475 | 0.763482 | 0.002118 | 0 | 0.697674 | 0 | 0 | 0.419601 | 0.028837 | 0 | 0 | 0 | 0 | 0.054264 | 1 | 0.031008 | false | 0 | 0.011628 | 0 | 0.042636 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
cfb4a7fbbcde05d1b96513206c710ed8866adda8 | 22,261 | py | Python | tests/test_permisisons.py | lincolwn/djangorestframework-resource-permissions | 0939e28c282d199c2ed4de42c1daa7f78a4c92d0 | [
"MIT"
] | null | null | null | tests/test_permisisons.py | lincolwn/djangorestframework-resource-permissions | 0939e28c282d199c2ed4de42c1daa7f78a4c92d0 | [
"MIT"
] | null | null | null | tests/test_permisisons.py | lincolwn/djangorestframework-resource-permissions | 0939e28c282d199c2ed4de42c1daa7f78a4c92d0 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from tests.app.models import Office, Issue
from tests.app.factories import UserFactory, OfficeFactory, IssueFactory, \
default_password
from django.contrib.auth.models import User
from rest_framework.reverse import reverse
import pytest
import json
pytestmark = pytest.mark.django_db
def test_unauthenticated_list_office(client):
OfficeFactory.create()
response = client.get('/offices/')
assert response.status_code == 403
def test_simple_user_list_office(client, office, user):
assert client.login(username=user.username, password=default_password) == True
response = client.get('/offices/')
assert response.status_code == 200
assert len(response.data) == 1
def test_manager_user_list_office(client, user):
OfficeFactory.create(manager=user)
assert client.login(username=user.username, password=default_password) == True
response = client.get('/offices/')
assert response.status_code == 200
assert len(response.data) == 1
def test_admin_user_list_office(client, office, user):
user.is_staff = True
user.save()
assert client.login(username=user.username, password=default_password) == True
response = client.get('/offices/')
assert response.status_code == 200
assert len(response.data) == 1
def test_superuser_list_office(client, office, user):
user.is_superuser = True
user.save()
assert client.login(username=user.username, password=default_password) == True
response = client.get('/offices/')
assert response.status_code == 200
assert len(response.data) == 1
def test_unauthenticated_retrieve_office(client, office):
response = client.get('/offices/{}/'.format(office.id))
assert response.status_code == 403
def test_simple_user_retrieve_office(client, office, user):
assert client.login(username=user.username, password=default_password) == True
response = client.get('/offices/{}/'.format(office.id))
assert response.status_code == 200
def test_manager_retrieve_office(client, user):
office = OfficeFactory.create(manager=user)
assert client.login(username=user.username, password=default_password) == True
response = client.get('/offices/{}/'.format(office.id))
assert response.status_code == 200
def test_admin_retrieve_office(client, office, user):
user.is_staff = True
user.save()
assert client.login(username=user.username, password=default_password) == True
response = client.get('/offices/{}/'.format(office.id))
assert response.status_code == 200
def test_superuser_retrieve_office(client, office, user):
user.is_superuser = True
user.save()
assert client.login(username=user.username, password=default_password) == True
response = client.get('/offices/{}/'.format(office.id))
assert response.status_code == 200
def test_unauthenticated_create_office(client):
payload = {'name': 'office 1'}
response = client.post('/offices/', payload)
assert response.status_code == 403
def test_simple_user_create_office(client, user):
user_url = reverse('user-detail', args=[user.id])
payload = {'name': 'office 1', 'manager': user_url}
assert client.login(username=user.username, password=default_password) == True
response = client.post('/offices/', payload)
assert response.status_code == 403
def test_manager_create_office(client, user):
OfficeFactory.create(manager=user)
user_url = reverse('user-detail', args=[user.id])
payload = {'name': 'office 1', 'manager': user_url}
assert client.login(username=user.username, password=default_password) == True
response = client.post('/offices/', payload)
assert response.status_code == 201
def test_admin_create_office(client, user):
user.is_staff = True
user.save()
user_url = reverse('user-detail', args=[user.id])
payload = {'name': 'office 1', 'manager': user_url}
assert client.login(username=user.username, password=default_password) == True
response = client.post('/offices/', payload)
assert response.status_code == 201
def test_superuser_create_office(client, user):
user.is_superuser = True
user.save()
user_url = reverse('user-detail', args=[user.id])
payload = {'name': 'office 1', 'manager': user_url}
assert client.login(username=user.username, password=default_password) == True
response = client.post('/offices/', payload)
assert response.status_code == 201
def test_unauthenticated_update_office(client, office):
payload = {'name': 'office 1'}
response = client.put('/offices/{}/'.format(office.id), payload)
assert response.status_code == 403
def test_simple_user_update_office(client, office):
user = UserFactory.create()
user_url = reverse('user-detail', args=[user.id])
payload = json.dumps({'name': 'office 1', 'user': user_url})
assert client.login(username=user.username, password=default_password) == True
response = client.put('/offices/{}/'.format(office.id), payload, 'application/json')
assert response.status_code == 403
def test_manager_update_office(client, office, user):
user_url = reverse('user-detail', args=[user.id])
payload = json.dumps({'name': 'office 1', 'manager': user_url})
assert client.login(username=user.username, password=default_password) == True
response = client.put('/offices/{}/'.format(office.id), payload, 'application/json')
assert response.status_code == 200
def test_admin_update_office(client, office):
user = UserFactory.create(is_staff=True)
user_url = reverse('user-detail', args=[user.id])
payload = json.dumps({'name': 'office 1', 'manager': user_url})
assert client.login(username=user.username, password=default_password) == True
response = client.put('/offices/{}/'.format(office.id), payload, 'application/json')
assert response.status_code == 200
def test_superuser_update_office(client, office):
user = UserFactory.create(is_superuser=True)
user_url = reverse('user-detail', args=[user.id])
payload = json.dumps({'name': 'office 1', 'manager': user_url})
assert client.login(username=user.username, password=default_password) == True
response = client.put('/offices/{}/'.format(office.id), payload, 'application/json')
assert response.status_code == 200
def test_unauthenticated_partial_update_office(client, office):
payload = {'name': 'office 1'}
response = client.patch('/offices/{}/'.format(office.id), payload)
assert response.status_code == 403
def test_simple_user_partial_update_office(client, office):
user = UserFactory.create()
payload = json.dumps({'name': 'office 1'})
assert client.login(username=user.username, password=default_password) == True
response = client.patch('/offices/{}/'.format(office.id), payload)
assert response.status_code == 403
def test_manager_partial_update_office(client, office, user):
payload = json.dumps({'name': 'office 1'})
assert client.login(username=user.username, password=default_password) == True
response = client.patch('/offices/{}/'.format(office.id), payload, 'application/json')
assert response.status_code == 200
def test_admin_partial_update_office(client, office):
user = UserFactory.create(is_staff=True)
payload = json.dumps({'name': 'office 1'})
assert client.login(username=user.username, password=default_password) == True
response = client.patch('/offices/{}/'.format(office.id), payload, 'application/json')
assert response.status_code == 200
def test_superuser_partial_update_office(client, office):
user = UserFactory.create(is_superuser=True)
payload = json.dumps({'name': 'office 1'})
assert client.login(username=user.username, password=default_password) == True
response = client.patch('/offices/{}/'.format(office.id), payload, 'application/json')
assert response.status_code == 200
def test_unauthenticated_destroy_office(client, office):
response = client.delete('/offices/{}/'.format(office.id))
assert response.status_code == 403
def test_simple_user_destroy_office(client, office):
user = UserFactory.create()
assert client.login(username=user.username, password=default_password) == True
response = client.delete('/offices/{}/'.format(office.id))
response.status_code == 403
def test_manager_destroy_office(client, office, user):
assert client.login(username=user.username, password=default_password) == True
response = client.delete('/offices/{}/'.format(office.id))
assert response.status_code == 204
def test_admin_destroy_office(client, office):
user = UserFactory.create(is_staff=True)
assert client.login(username=user.username, password=default_password) == True
response = client.delete('/offices/{}/'.format(office.id))
assert response.status_code == 204
def test_superuser_destroy_office(client, office):
user = UserFactory.create(is_superuser=True)
assert client.login(username=user.username, password=default_password) == True
response = client.delete('/offices/{}/'.format(office.id))
assert response.status_code == 204
def test_unauthenticated_list_issue(client, issue):
response = client.get('/issues/')
assert response.status_code == 403
def test_simple_user_list_issue(client, issue):
user = UserFactory.create()
assert client.login(username=user.username, password=default_password) == True
response = client.get('/issues/')
assert response.status_code == 200
def test_manager_user_list_issue(client, office, user, issue):
assert client.login(username=user.username, password=default_password) == True
response = client.get('/issues/')
assert response.status_code == 200
def test_admin_user_list_issue(client, issue):
user = UserFactory.create(is_staff=True)
assert client.login(username=user.username, password=default_password) == True
response = client.get('/issues/')
assert response.status_code == 200
def test_superuser_list_issue(client, issue):
user = UserFactory.create(is_superuser=True)
assert client.login(username=user.username, password=default_password) == True
response = client.get('/issues/')
assert response.status_code == 200
def test_unauthenticated_retrieve_issue(client, issue):
response = client.get('/issues/{}/'.format(issue.id))
assert response.status_code == 403
def test_simple_user_retrieve_issue(client, issue):
user = UserFactory.create()
assert client.login(username=user.username, password=default_password) == True
response = client.get('/issues/{}/'.format(issue.id))
assert response.status_code == 200
def test_manager_retrieve_issue(client, office, user, issue):
assert client.login(username=user.username, password=default_password) == True
response = client.get('/issues/{}/'.format(issue.id))
assert response.status_code == 200
def test_admin_retrieve_issue(client, issue):
user = UserFactory.create(is_staff=True)
assert client.login(username=user.username, password=default_password) == True
response = client.get('/issues/{}/'.format(issue.id))
assert response.status_code == 200
def test_superuser_retrieve_issue(client, issue):
user = UserFactory.create(is_superuser=True)
assert client.login(username=user.username, password=default_password) == True
response = client.get('/issues/{}/'.format(issue.id))
assert response.status_code == 200
def test_unauthenticated_create_issue(client):
payload = {'description': 'desc'}
response = client.post('/issues/', payload, 'application/json')
assert response.status_code == 403
def test_simple_user_create_issue(client, office):
user = UserFactory.create()
payload = json.dumps(get_issue_serialized(office, user))
assert client.login(username=user.username, password=default_password) == True
response = client.post('/issues/', payload, 'application/json')
assert response.status_code == 201
def test_manager_create_issue(client, office, user):
payload = json.dumps(get_issue_serialized(office, user))
assert client.login(username=user.username, password=default_password) == True
response = client.post('/issues/', payload, 'application/json')
assert response.status_code == 201
def test_admin_create_issue(client, office):
user = UserFactory.create(is_staff=True)
payload = json.dumps(get_issue_serialized(office, user))
assert client.login(username=user.username, password=default_password) == True
response = client.post('/issues/', payload, 'application/json')
assert response.status_code == 201
def test_superuser_create_issue(client, office):
user = UserFactory.create(is_superuser=True)
payload = json.dumps(get_issue_serialized(office, user))
assert client.login(username=user.username, password=default_password) == True
response = client.post('/issues/', payload, 'application/json')
assert response.status_code == 201
def test_unauthenticated_update_issue(client, issue):
payload = json.dumps({'description': ''})
response = client.put('/issues/{}/'.format(issue.id), payload, 'application/json')
assert response.status_code == 403
def test_simple_user_update_issue(client, issue):
user = UserFactory.create()
office = OfficeFactory.create()
payload = json.dumps(get_issue_serialized(office, user))
assert client.login(username=user.username, password=default_password) == True
response = client.put('/issues/{}/'.format(issue.id), payload, 'application/json')
assert response.status_code == 403
def test_manager_update_issue(client, office, user, issue):
payload = json.dumps(get_issue_serialized(office, user))
assert client.login(username=user.username, password=default_password) == True
response = client.put('/issues/{}/'.format(issue.id), payload, 'application/json')
assert response.status_code == 200
def test_admin_update_issue(client, office, issue):
user = UserFactory.create(is_staff=True)
payload = json.dumps(get_issue_serialized(office, user))
assert client.login(username=user.username, password=default_password) == True
response = client.put('/issues/{}/'.format(issue.id), payload, 'application/json')
assert response.status_code == 200
def test_superuser_update_issue(client, office, issue):
user = UserFactory.create(is_superuser=True)
payload = json.dumps(get_issue_serialized(office, user))
assert client.login(username=user.username, password=default_password) == True
response = client.put('/issues/{}/'.format(issue.id), payload, 'application/json')
assert response.status_code == 200
def test_unauthenticated_partial_update_issue(client, issue):
payload = json.dumps({'description': 'update'})
response = client.patch('/issues/{}/'.format(issue.id), payload, 'application/json')
assert response.status_code == 403
def test_simple_user_partial_update_issue(client, issue):
user = UserFactory()
payload = json.dumps({'description': 'update'})
assert client.login(username=user.username, password=default_password) == True
response = client.patch('/issues/{}/'.format(issue.id), payload, 'application/json')
assert response.status_code == 403
def test_manager_partial_update_issue(client, office, user, issue):
payload = json.dumps({'description': 'update'})
assert client.login(username=user.username, password=default_password) == True
response = client.patch('/issues/{}/'.format(issue.id), payload, 'application/json')
assert response.status_code == 200
def test_admin_partial_update_issue(client, issue):
user = UserFactory(is_staff=True)
payload = json.dumps({'description': 'update'})
assert client.login(username=user.username, password=default_password) == True
response = client.patch('/issues/{}/'.format(issue.id), payload, 'application/json')
assert response.status_code == 200
def test_superuser_partial_update_issue(client, issue):
user = UserFactory(is_superuser=True)
payload = json.dumps({'description': 'update'})
assert client.login(username=user.username, password=default_password) == True
response = client.patch('/issues/{}/'.format(issue.id), payload, 'application/json')
assert response.status_code == 200
def test_unauthenticated_destroy_issue(client, issue):
response = client.delete('/issues/{}/'.format(issue.id))
assert response.status_code == 403
def test_simple_user_destroy_issue(client, issue):
user = UserFactory()
assert client.login(username=user.username, password=default_password) == True
response = client.delete('/issues/{}/'.format(issue.id))
assert response.status_code == 403
def test_manager_destroy_issue(client, office, user, issue):
assert client.login(username=user.username, password=default_password) == True
response = client.delete('/issues/{}/'.format(issue.id))
assert response.status_code == 403
def test_admin_destroy_issue(client, issue):
user = UserFactory(is_staff=True)
assert client.login(username=user.username, password=default_password) == True
response = client.delete('/issues/{}/'.format(issue.id))
assert response.status_code == 403
def test_superuser_destroy_issue(client, issue):
user = UserFactory(is_superuser=True)
assert client.login(username=user.username, password=default_password) == True
response = client.delete('/issues/{}/'.format(issue.id))
assert response.status_code == 403
def test_unauthenticated_start_issue(client, issue):
response = client.get('/issues/{}/start/'.format(issue.id))
assert response.status_code == 403
def test_simple_user_start_issue(client, issue):
user = UserFactory()
assert client.login(username=user.username, password=default_password) == True
response = client.get('/issues/{}/start/'.format(issue.id))
assert response.status_code == 403
def test_manager_start_issue(client, office, user, issue):
assert client.login(username=user.username, password=default_password) == True
response = client.get('/issues/{}/start/'.format(issue.id))
assert response.status_code == 200
def test_admin_start_issue(client, issue):
user = UserFactory(is_staff=True)
assert client.login(username=user.username, password=default_password) == True
response = client.get('/issues/{}/start/'.format(issue.id))
assert response.status_code == 200
def test_superuser_start_issue(client, issue):
user = UserFactory(is_superuser=True)
assert client.login(username=user.username, password=default_password) == True
response = client.get('/issues/{}/start/'.format(issue.id))
assert response.status_code == 200
def test_owner_start_issue(client, issue):
user = issue.owner
assert client.login(username=user.username, password=default_password) == True
response = client.get('/issues/{}/start/'.format(issue.id))
assert response.status_code == 200
def test_unauthenticated_finish_issue(client, issue):
response = client.get('/issues/{}/finish/'.format(issue.id))
assert response.status_code == 403
def test_simple_user_finish_issue(client, issue):
user = UserFactory()
assert client.login(username=user.username, password=default_password) == True
response = client.get('/issues/{}/finish/'.format(issue.id))
assert response.status_code == 403
def test_manager_finish_issue(client, office, user, issue):
assert client.login(username=user.username, password=default_password) == True
response = client.get('/issues/{}/finish/'.format(issue.id))
assert response.status_code == 200
def test_admin_finish_issue(client, issue):
user = UserFactory(is_staff=True)
assert client.login(username=user.username, password=default_password) == True
response = client.get('/issues/{}/finish/'.format(issue.id))
assert response.status_code == 200
def test_superuser_finish_issue(client, issue):
user = UserFactory(is_superuser=True)
assert client.login(username=user.username, password=default_password) == True
response = client.get('/issues/{}/finish/'.format(issue.id))
assert response.status_code == 200
def test_owner_finish_issue(client, issue):
user = issue.owner
assert client.login(username=user.username, password=default_password) == True
response = client.get('/issues/{}/finish/'.format(issue.id))
assert response.status_code == 200
def test_unauthenticated_cancel_issue(client, issue):
response = client.get('/issues/{}/cancel/'.format(issue.id))
assert response.status_code == 403
def test_simple_user_cancel_issue(client, issue):
user = UserFactory()
assert client.login(username=user.username, password=default_password) == True
response = client.get('/issues/{}/cancel/'.format(issue.id))
assert response.status_code == 403
def test_manager_cancel_issue(client, office, user, issue):
assert client.login(username=user.username, password=default_password) == True
response = client.get('/issues/{}/cancel/'.format(issue.id))
assert response.status_code == 200
def test_admin_cancel_issue(client, issue):
user = UserFactory(is_staff=True)
assert client.login(username=user.username, password=default_password) == True
response = client.get('/issues/{}/cancel/'.format(issue.id))
assert response.status_code == 200
def test_superuser_cancel_issue(client, issue):
user = UserFactory(is_superuser=True)
assert client.login(username=user.username, password=default_password) == True
response = client.get('/issues/{}/cancel/'.format(issue.id))
assert response.status_code == 200
def test_owner_cancel_issue(client, issue):
user = issue.owner
assert client.login(username=user.username, password=default_password) == True
response = client.get('/issues/{}/cancel/'.format(issue.id))
assert response.status_code == 200
def get_issue_serialized(office, user):
return {
'description': 'desc',
'owner': reverse('user-detail', args=[user.id]),
'office': reverse('office-detail', args=[office.id])
} | 39.191901 | 90 | 0.728089 | 2,772 | 22,261 | 5.675325 | 0.029942 | 0.034706 | 0.089245 | 0.117468 | 0.960145 | 0.949593 | 0.938724 | 0.918319 | 0.892703 | 0.878274 | 0 | 0.013184 | 0.137954 | 22,261 | 568 | 91 | 39.191901 | 0.806618 | 0 | 0 | 0.753659 | 0 | 0 | 0.080047 | 0 | 0 | 0 | 0 | 0 | 0.35122 | 1 | 0.192683 | false | 0.156098 | 0.017073 | 0.002439 | 0.212195 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
3213494a5f476853121b97c1e7a7179eba4e14e9 | 1,089 | py | Python | examples/dsp/demo_fftshift.py | antsfamily/torchtool | fd0d6e6fe6701206b15f95af145d6178a87233f9 | [
"MIT"
] | 1 | 2019-08-15T15:32:36.000Z | 2019-08-15T15:32:36.000Z | examples/dsp/demo_fftshift.py | antsfamily/torchtool | fd0d6e6fe6701206b15f95af145d6178a87233f9 | [
"MIT"
] | null | null | null | examples/dsp/demo_fftshift.py | antsfamily/torchtool | fd0d6e6fe6701206b15f95af145d6178a87233f9 | [
"MIT"
] | null | null | null | import numpy as np
import torchlib as tl
import torch as th
x = [1, 2, 3, 4, 5, 6]
y = np.fft.fftshift(x)
print(y)
x = th.tensor(x)
y = tl.fftshift(x)
print(y)
x = [1, 2, 3, 4, 5, 6, 7]
y = np.fft.fftshift(x)
print(y)
x = th.tensor(x)
y = tl.fftshift(x)
print(y)
x = [1, 2, 3, 4, 5, 6]
y = np.fft.ifftshift(x)
print(y)
x = th.tensor(x)
y = tl.ifftshift(x)
print(y)
x = [1, 2, 3, 4, 5, 6, 7]
y = np.fft.ifftshift(x)
print(y)
x = th.tensor(x)
y = tl.ifftshift(x)
print(y)
# shift all axes
axis = (0, 1)
# axis = 0
axis = 1
x = [[1, 2, 3, 4, 5, 6], [0, 2, 3, 4, 5, 6]]
y = np.fft.fftshift(x, axis)
print(y)
x = th.tensor(x)
y = tl.fftshift(x, axis)
print(y)
x = [[1, 2, 3, 4, 5, 6, 7], [0, 2, 3, 4, 5, 6, 7]]
y = np.fft.fftshift(x, axis)
print(y)
x = th.tensor(x)
y = tl.fftshift(x, axis)
print(y)
x = [[1, 2, 3, 4, 5, 6], [0, 2, 3, 4, 5, 6]]
y = np.fft.ifftshift(x, axis)
print(y)
x = th.tensor(x)
y = tl.ifftshift(x, axis)
print(y)
x = [[1, 2, 3, 4, 5, 6, 7], [0, 2, 3, 4, 5, 6, 7]]
y = np.fft.ifftshift(x, axis)
print(y)
x = th.tensor(x)
y = tl.ifftshift(x, axis)
print(y)
| 15.125 | 50 | 0.545455 | 252 | 1,089 | 2.357143 | 0.107143 | 0.161616 | 0.164983 | 0.080808 | 0.872054 | 0.872054 | 0.872054 | 0.872054 | 0.872054 | 0.872054 | 0 | 0.095794 | 0.213958 | 1,089 | 71 | 51 | 15.338028 | 0.598131 | 0.02112 | 0 | 0.90566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.056604 | 0 | 0.056604 | 0.301887 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5c718d8949ccd1e51aa3ca93ab2f709962fde5a9 | 41 | py | Python | day2/setprob.py | nikhilsamninan/python-files | 15198459081097058a939b40b5e8ef754e578fe0 | [
"Apache-2.0"
] | null | null | null | day2/setprob.py | nikhilsamninan/python-files | 15198459081097058a939b40b5e8ef754e578fe0 | [
"Apache-2.0"
] | null | null | null | day2/setprob.py | nikhilsamninan/python-files | 15198459081097058a939b40b5e8ef754e578fe0 | [
"Apache-2.0"
] | null | null | null | x=[1,2,1,3,5,2,3,3]
print(list(set(x)))
| 10.25 | 19 | 0.536585 | 13 | 41 | 1.692308 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 0.073171 | 41 | 3 | 20 | 13.666667 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
5c9b415ff95a07464598332c84f73d43acba9e88 | 9,997 | py | Python | checkio/Rock/Digging a Canal/test_digging_a_canal.py | KenMercusLai/checkio | c7702221e1bc0b0b30425859ffa6c09722949d65 | [
"MIT"
] | 39 | 2015-02-09T13:24:12.000Z | 2019-05-16T17:51:19.000Z | checkio/Rock/Digging a Canal/test_digging_a_canal.py | KenMercusLai/checkio | c7702221e1bc0b0b30425859ffa6c09722949d65 | [
"MIT"
] | 1 | 2019-10-21T16:18:14.000Z | 2019-10-21T16:18:14.000Z | checkio/Rock/Digging a Canal/test_digging_a_canal.py | KenMercusLai/checkio | c7702221e1bc0b0b30425859ffa6c09722949d65 | [
"MIT"
] | 22 | 2015-01-30T18:00:05.000Z | 2021-05-22T02:57:23.000Z | import unittest
from digging_a_canal import checkio
class Tests(unittest.TestCase):
TESTS = {
"Basics": [
{
"input": [
[1, 1, 1, 1, 0, 1, 1],
[1, 1, 1, 1, 0, 0, 1],
[1, 1, 1, 1, 1, 0, 1],
[1, 1, 0, 1, 1, 0, 1],
[1, 1, 0, 1, 1, 1, 1],
[1, 0, 0, 1, 1, 1, 1],
[1, 0, 1, 1, 1, 1, 1],
],
"answer": 2,
"explanation": [[3, 3], [3, 4]],
},
{
"input": [
[0, 0, 0, 0, 0, 0, 0],
[1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1],
[1, 1, 0, 1, 0, 1, 1],
[1, 0, 0, 0, 0, 0, 1],
[0, 0, 0, 0, 0, 0, 0],
],
"answer": 3,
"explanation": [[1, 2], [2, 2], [3, 2]],
},
{
"input": [
[1, 1, 1, 1, 1, 0, 1, 1],
[1, 0, 1, 1, 1, 0, 1, 1],
[1, 0, 1, 0, 1, 0, 1, 0],
[1, 0, 1, 1, 1, 0, 1, 1],
[0, 0, 1, 1, 0, 0, 0, 0],
[1, 0, 1, 1, 1, 1, 1, 1],
[1, 0, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 0, 1, 1, 1, 1],
],
"answer": 2,
"explanation": [[0, 1], [7, 1]],
},
{
"input": [
[0, 1, 1, 1, 1, 1, 1, 1],
[0, 1, 1, 1, 1, 1, 1, 1],
[0, 0, 0, 0, 0, 0, 0, 1],
[1, 1, 1, 1, 1, 1, 0, 1],
[1, 1, 0, 0, 0, 1, 0, 0],
[0, 0, 0, 1, 0, 1, 1, 0],
[0, 1, 1, 1, 0, 0, 0, 0],
],
"answer": 0,
"explanation": [],
},
{
"input": [
[0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0],
[1, 1, 1, 1, 1, 1],
[0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0],
],
"answer": 1,
"explanation": [[4, 0]],
},
{
"input": [
[1, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1, 1],
],
"answer": 8,
"explanation": [
[0, 3],
[1, 3],
[2, 3],
[3, 3],
[4, 3],
[5, 3],
[6, 3],
[7, 3],
],
},
{
"input": [
[1, 1, 1, 1, 1, 1, 1],
[0, 0, 0, 0, 0, 0, 0],
[1, 1, 1, 1, 1, 1, 1],
[0, 0, 0, 0, 0, 0, 0],
[1, 1, 1, 1, 1, 1, 1],
[0, 0, 0, 0, 0, 0, 0],
[1, 1, 1, 1, 1, 1, 1],
[0, 0, 0, 0, 0, 0, 0],
[1, 1, 1, 1, 1, 1, 1],
],
"answer": 5,
"explanation": [[0, 3], [2, 3], [4, 3], [6, 3], [8, 3]],
},
{
"input": [
[1, 1, 1, 1, 1, 1, 1, 0],
[1, 1, 1, 1, 1, 1, 0, 1],
[1, 1, 1, 1, 1, 0, 0, 1],
[1, 1, 1, 1, 0, 1, 1, 1],
[1, 1, 1, 0, 0, 1, 1, 1],
[1, 0, 0, 1, 1, 1, 1, 1],
[1, 0, 1, 1, 1, 1, 1, 1],
[0, 1, 1, 1, 1, 1, 1, 1],
],
"answer": 4,
"explanation": [[0, 6], [2, 4], [4, 2], [6, 0]],
},
],
"Extra": [
{
"input": [
[1, 1, 1, 1, 0, 1, 1],
[1, 1, 1, 1, 0, 0, 1],
[1, 1, 1, 1, 1, 0, 1],
[1, 1, 0, 0, 1, 0, 1],
[1, 1, 0, 1, 1, 1, 1],
[1, 0, 0, 1, 1, 1, 1],
[1, 0, 1, 1, 1, 1, 1],
],
"answer": 1,
"explanation": [[3, 4]],
},
{
"input": [
[0, 0, 0, 0, 0, 0, 0],
[1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1],
[1, 1, 0, 0, 0, 1, 1],
[1, 0, 0, 0, 0, 0, 1],
[0, 0, 0, 0, 0, 0, 0],
],
"answer": 3,
"explanation": [[1, 3], [2, 3], [3, 3]],
},
{
"input": [
[1, 1, 1, 1, 1, 0, 1, 1],
[0, 1, 1, 1, 1, 0, 1, 1],
[0, 0, 1, 0, 1, 0, 1, 0],
[1, 0, 1, 1, 1, 0, 1, 1],
[0, 0, 1, 1, 0, 0, 0, 0],
[1, 0, 1, 1, 1, 1, 1, 1],
[1, 0, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 0, 1, 1, 1, 1],
],
"answer": 2,
"explanation": [[0, 0], [7, 1]],
},
{
"input": [
[0, 1, 1, 1, 1, 1, 1, 1],
[0, 1, 1, 1, 1, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 1, 0],
[1, 1, 1, 1, 1, 1, 1, 0],
[1, 1, 0, 0, 0, 1, 1, 0],
[0, 0, 0, 1, 0, 1, 1, 0],
[0, 1, 1, 1, 0, 0, 0, 0],
],
"answer": 0,
"explanation": [],
},
{
"input": [
[0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0],
[1, 1, 1, 0, 1, 1],
[1, 1, 1, 1, 1, 1],
[1, 1, 1, 0, 1, 1],
[0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0],
],
"answer": 1,
"explanation": [[4, 3]],
},
{
"input": [
[1, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 0, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1, 1],
],
"answer": 7,
"explanation": [[0, 3], [1, 3], [2, 3], [4, 3], [5, 3], [6, 3], [7, 3]],
},
{
"input": [
[1, 1, 1, 1, 1, 1, 1],
[0, 0, 0, 0, 0, 0, 0],
[1, 1, 1, 1, 1, 1, 1],
[0, 0, 0, 0, 0, 0, 0],
[1, 1, 1, 1, 1, 1, 1],
[0, 0, 0, 0, 0, 0, 0],
[1, 1, 1, 1, 1, 1, 1],
],
"answer": 4,
"explanation": [[0, 3], [2, 3], [4, 3], [6, 3]],
},
{
"input": [
[1, 1, 1, 1, 1, 1, 1, 0],
[1, 1, 1, 1, 1, 1, 0, 1],
[1, 1, 1, 1, 1, 0, 0, 1],
[1, 1, 1, 1, 0, 1, 1, 1],
[1, 1, 1, 0, 0, 1, 1, 1],
[1, 0, 0, 0, 1, 1, 1, 1],
[1, 0, 1, 1, 1, 1, 1, 1],
[0, 1, 1, 1, 1, 1, 1, 1],
],
"answer": 3,
"explanation": [[0, 6], [2, 4], [6, 0]],
},
{
"input": [
[1, 1, 1, 1, 1, 1, 1, 1, 1],
[1, 0, 1, 1, 1, 1, 1, 1, 1],
[1, 0, 1, 1, 1, 1, 1, 0, 1],
[1, 0, 1, 0, 1, 0, 1, 0, 1],
[1, 0, 0, 0, 0, 0, 0, 0, 1],
[1, 1, 0, 1, 1, 0, 1, 0, 1],
[1, 1, 0, 1, 1, 0, 1, 1, 1],
[1, 1, 1, 1, 1, 0, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1, 1, 1],
],
"answer": 2,
"explanation": [[0, 1], [8, 5]],
},
{
"input": [[1, 1, 1, 1, 1, 1, 1, 1, 1]],
"answer": 1,
"explanation": [[0, 5]],
},
{
"input": [[1], [1], [1], [1], [1], [1], [1], [1], [1]],
"answer": 9,
"explanation": [
[0, 0],
[1, 0],
[2, 0],
[3, 0],
[4, 0],
[5, 0],
[6, 0],
[7, 0],
[8, 0],
],
},
{"input": [[1]], "answer": 1, "explanation": [[0, 0]]},
{"input": [[0]], "answer": 0, "explanation": []},
],
}
def test_Basics(self):
for i in self.TESTS['Basics']:
assert checkio(i['input']) == i['answer']
def test_Extra(self):
for i in self.TESTS['Extra']:
assert checkio(i['input']) == i['answer']
if __name__ == "__main__": # pragma: no cover
unittest.main()
| 34.353952 | 88 | 0.187356 | 1,270 | 9,997 | 1.465354 | 0.029921 | 0.597528 | 0.733477 | 0.795271 | 0.873186 | 0.85223 | 0.801182 | 0.782912 | 0.763568 | 0.732402 | 0 | 0.298446 | 0.613884 | 9,997 | 290 | 89 | 34.472414 | 0.183679 | 0.0016 | 0 | 0.60424 | 0 | 0 | 0.051508 | 0 | 0 | 0 | 0 | 0 | 0.007067 | 1 | 0.007067 | false | 0 | 0.007067 | 0 | 0.021201 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13 |
5ce1483f1df1f725eee6a091182e033fba325bad | 3,706 | py | Python | tests/toml_cli/test_init.py | mrijken/tom-cli | 646c762ff1d17419cdecc02657609165b7847adc | [
"Apache-2.0"
] | 8 | 2020-08-26T19:27:28.000Z | 2022-02-04T10:58:52.000Z | tests/toml_cli/test_init.py | mrijken/tom-cli | 646c762ff1d17419cdecc02657609165b7847adc | [
"Apache-2.0"
] | 8 | 2020-09-25T07:07:00.000Z | 2021-06-25T15:43:25.000Z | tests/toml_cli/test_init.py | mrijken/tom-cli | 646c762ff1d17419cdecc02657609165b7847adc | [
"Apache-2.0"
] | null | null | null | import pathlib
import pytest
from typer.testing import CliRunner
from toml_cli import app
runner = CliRunner()
def test_get_value(tmp_path: pathlib.Path):
test_toml_path = tmp_path / "test.toml"
test_toml_path.write_text(
"""
[person]
name = "MyName"
age = 12
[person.education]
name = "University"
"""
)
result = runner.invoke(app, ["get", "--toml-path", str(test_toml_path), "person"])
assert result.exit_code == 0
assert "{'name': 'MyName', 'age': 12, 'education': {'name': 'University'}}" in result.stdout
result = runner.invoke(app, ["get", "--toml-path", str(test_toml_path), "person.education"])
assert result.exit_code == 0
assert "{'name': 'University'}" in result.stdout
result = runner.invoke(app, ["get", "--toml-path", str(test_toml_path), "person.education.name"])
assert result.exit_code == 0
assert "University" in result.stdout
result = runner.invoke(app, ["get", "--toml-path", str(test_toml_path), "person.age"])
assert result.exit_code == 0
assert "12" in result.stdout
def test_set_value(tmp_path: pathlib.Path):
test_toml_path = tmp_path / "test.toml"
test_toml_path.write_text(
"""
[person]
name = "MyName"
age = 12
[person.education]
name = "University"
"""
)
result = runner.invoke(app, ["set", "--toml-path", str(test_toml_path), "person.age", "15"])
assert result.exit_code == 0
assert 'age = "15"' in test_toml_path.read_text()
result = runner.invoke(app, ["set", "--toml-path", str(test_toml_path), "person.age", "15", "--to-int"])
assert result.exit_code == 0
assert "age = 15" in test_toml_path.read_text()
result = runner.invoke(app, ["set", "--toml-path", str(test_toml_path), "person.gender", "male"])
assert result.exit_code == 0
assert 'age = 15\ngender = "male"' in test_toml_path.read_text()
result = runner.invoke(app, ["set", "--toml-path", str(test_toml_path), "person.age", "15", "--to-float"])
assert result.exit_code == 0
assert "age = 15.0" in test_toml_path.read_text()
def test_add_section(tmp_path: pathlib.Path):
test_toml_path = tmp_path / "test.toml"
test_toml_path.write_text(
"""
[person]
name = "MyName"
age = 12
[person.education]
name = "University"
"""
)
result = runner.invoke(app, ["add_section", "--toml-path", str(test_toml_path), "address"])
assert result.exit_code == 0
assert "[address]" in test_toml_path.read_text()
result = runner.invoke(app, ["add_section", "--toml-path", str(test_toml_path), "address.work"])
assert result.exit_code == 0
assert "[address]\n[address.work]" in test_toml_path.read_text()
def test_unset(tmp_path: pathlib.Path):
test_toml_path = tmp_path / "test.toml"
test_toml_path.write_text(
"""
[person]
name = "MyName"
age = 12
[person.education]
name = "University"
"""
)
result = runner.invoke(app, ["unset", "--toml-path", str(test_toml_path), "person.education.name"])
assert result.exit_code == 0
assert "[person.education]" in test_toml_path.read_text()
assert "University" not in test_toml_path.read_text()
result = runner.invoke(app, ["unset", "--toml-path", str(test_toml_path), "person.education"])
assert result.exit_code == 0
assert "[persion.education]" not in test_toml_path.read_text()
result = runner.invoke(app, ["unset", "--toml-path", str(test_toml_path), "person"])
assert result.exit_code == 0
assert len(test_toml_path.read_text()) == 1 # just a newline
def test_no_command():
result = runner.invoke(app, [])
assert result.exit_code == 0
assert "--help" in result.stdout
assert "Commands" in result.stdout
| 29.412698 | 110 | 0.66082 | 521 | 3,706 | 4.489443 | 0.117083 | 0.150492 | 0.159042 | 0.125695 | 0.848653 | 0.840103 | 0.80761 | 0.776828 | 0.723386 | 0.723386 | 0 | 0.013703 | 0.172963 | 3,706 | 125 | 111 | 29.648 | 0.749429 | 0.003778 | 0 | 0.333333 | 0 | 0 | 0.200238 | 0.019905 | 0 | 0 | 0 | 0 | 0.454545 | 1 | 0.075758 | false | 0 | 0.060606 | 0 | 0.136364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7a2ddea7c9db46293db02739da100ffe9e40b2db | 5,723 | py | Python | pointnet.py | rangeldaroya/rein | 81e2ef304785a7cd4ff746fcb2987a7862fff5e6 | [
"MIT"
] | 13 | 2020-04-19T02:38:58.000Z | 2022-02-05T18:27:50.000Z | pointnet.py | rangeldaroya/rein | 81e2ef304785a7cd4ff746fcb2987a7862fff5e6 | [
"MIT"
] | 8 | 2021-01-02T02:06:56.000Z | 2022-03-12T00:27:40.000Z | pointnet.py | rangeldaroya/rein | 81e2ef304785a7cd4ff746fcb2987a7862fff5e6 | [
"MIT"
] | 1 | 2021-11-02T12:10:11.000Z | 2021-11-02T12:10:11.000Z | from __future__ import print_function
import argparse
import os
import random
import torch
import torch.nn as nn
import torch.nn.parallel
import torch.backends.cudnn as cudnn
import torch.optim as optim
import torch.utils.data
import torchvision.transforms as transforms
import torchvision.utils as vutils
from torch.autograd import Variable
from PIL import Image
import numpy as np
import matplotlib.pyplot as plt
import pdb
import torch.nn.functional as F
class AutoencoderPoint2(nn.Module):
def __init__(self, num_points = 2500, latent_size=512):
super(AutoencoderPoint2, self).__init__()
# num_points = 2500
point_dim = 3
# latent_size = 512
self.conv1 = torch.nn.Conv2d(1, 64, (point_dim,1))
self.conv2 = torch.nn.Conv2d(64, 64, 1)
self.conv3 = torch.nn.Conv2d(64, 64, 1)
# self.conv4 = torch.nn.Conv2d(64, 128, 1)
self.conv5 = torch.nn.Conv2d(64, latent_size, 1)
self.bn1 = nn.BatchNorm2d(64)
self.bn2 = nn.BatchNorm2d(64)
self.bn3 = nn.BatchNorm2d(64)
# self.bn4 = nn.BatchNorm2d(128)
self.bn5 = nn.BatchNorm2d(latent_size)
self.maxpool = nn.MaxPool2d((1,num_points),stride=(2,2))
self.fc1 = nn.Linear(latent_size,latent_size)
self.fc2 = nn.Linear(latent_size,latent_size)
self.fc3 = nn.Linear(latent_size,num_points*3)
self.bn6 = nn.BatchNorm1d(latent_size)
self.bn7 = nn.BatchNorm1d(latent_size)
self.bn8 = nn.BatchNorm1d(num_points*3)
def forward(self, point_cloud):
batch_size = point_cloud.shape[0]
num_points = point_cloud.shape[2]
point_dim = point_cloud.shape[1]
# print('batch size: ', batch_size)
# print('num points: ', num_points)
# print('point dim: ', point_dim)
end_points = {}
input_image = point_cloud.view(point_cloud.shape[0], 1, point_cloud.shape[1], point_cloud.shape[2])
# print('input_image: ', input_image.shape)
net = F.relu(self.bn1(self.conv1(input_image)))
# print('net: ', net.shape)
net = F.relu(self.bn2(self.conv2(net)))
# print('net: ', net.shape)
point_feat = F.relu(self.bn3(self.conv3(net)))
# print('point_feat: ', point_feat.shape)
# net = F.relu(self.bn4(self.conv4(point_feat)))
# print('net: ', net.shape)
net = F.relu(self.bn5(self.conv5(net)))
# print('net: ', net.shape)
global_feat = self.maxpool(net)
# print('global_feat: ', global_feat.shape)
net = global_feat.view(batch_size, -1)
# print('net1: ', net.shape)
end_points['embedding'] = net
# net = F.relu(self.bn6(self.fc1(net)))
# net = F.relu(self.bn7(self.fc2(net)))
# net = self.bn8(self.fc3(net))
net = F.relu(self.fc1(net))
net = F.relu(self.fc2(net))
net = self.fc3(net)
net = net.view(batch_size, 3, num_points)
# net = F.tanh(net)
# print('net: ', net.shape)
return net, end_points
class AutoencoderPoint(nn.Module):
def __init__(self, num_points = 2500, latent_size=512):
super(AutoencoderPoint, self).__init__()
# num_points = 2500
point_dim = 3
# latent_size = 512
self.conv1 = torch.nn.Conv2d(1, 64, (point_dim,1))
self.conv2 = torch.nn.Conv2d(64, 64, 1)
self.conv3 = torch.nn.Conv2d(64, 64, 1)
self.conv4 = torch.nn.Conv2d(64, 128, 1)
self.conv5 = torch.nn.Conv2d(128, latent_size, 1)
self.bn1 = nn.BatchNorm2d(64)
self.bn2 = nn.BatchNorm2d(64)
self.bn3 = nn.BatchNorm2d(64)
self.bn4 = nn.BatchNorm2d(128)
self.bn5 = nn.BatchNorm2d(latent_size)
self.maxpool = nn.MaxPool2d((1,num_points),stride=(2,2))
self.fc1 = nn.Linear(latent_size,latent_size)
self.fc2 = nn.Linear(latent_size,latent_size)
self.fc3 = nn.Linear(latent_size,num_points*3)
self.bn6 = nn.BatchNorm1d(latent_size)
self.bn7 = nn.BatchNorm1d(latent_size)
self.bn8 = nn.BatchNorm1d(num_points*3)
def forward(self, point_cloud):
batch_size = point_cloud.shape[0]
num_points = point_cloud.shape[2]
point_dim = point_cloud.shape[1]
# print('batch size: ', batch_size)
# print('num points: ', num_points)
# print('point dim: ', point_dim)
end_points = {}
input_image = point_cloud.view(point_cloud.shape[0], 1, point_cloud.shape[1], point_cloud.shape[2])
# print('input_image: ', input_image.shape)
net = F.relu(self.bn1(self.conv1(input_image)))
# print('net: ', net.shape)
net = F.relu(self.bn2(self.conv2(net)))
# print('net: ', net.shape)
point_feat = F.relu(self.bn3(self.conv3(net)))
# print('point_feat: ', point_feat.shape)
net = F.relu(self.bn4(self.conv4(point_feat)))
# print('net: ', net.shape)
net = F.relu(self.bn5(self.conv5(net)))
# print('net: ', net.shape)
global_feat = self.maxpool(net)
# print('global_feat: ', global_feat.shape)
net = global_feat.view(batch_size, -1)
# print('net1: ', net.shape)
end_points['embedding'] = net
# net = F.relu(self.bn6(self.fc1(net)))
# net = F.relu(self.bn7(self.fc2(net)))
# net = self.bn8(self.fc3(net))
net = F.relu(self.fc1(net))
net = F.relu(self.fc2(net))
net = self.fc3(net)
net = net.view(batch_size, 3, num_points)
# net = F.tanh(net)
# print('net: ', net.shape)
return net, end_points
if __name__ == '__main__':
sim_data = Variable(torch.rand(32,3,2500))
| 35.546584 | 107 | 0.610694 | 808 | 5,723 | 4.164604 | 0.121287 | 0.04636 | 0.048143 | 0.057058 | 0.85052 | 0.85052 | 0.85052 | 0.85052 | 0.85052 | 0.85052 | 0 | 0.053866 | 0.247423 | 5,723 | 160 | 108 | 35.76875 | 0.72742 | 0.20968 | 0 | 0.701031 | 0 | 0 | 0.005801 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041237 | false | 0 | 0.185567 | 0 | 0.268041 | 0.010309 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7a6361e37509989aa7db74fce3caea3c903cf206 | 361 | py | Python | tests/internal/instance_type/test_instance_type_c6gn_auto.py | frolovv/aws.ec2.compare | 582805823492f833d65c0441c4a14dce697c12aa | [
"Apache-2.0"
] | null | null | null | tests/internal/instance_type/test_instance_type_c6gn_auto.py | frolovv/aws.ec2.compare | 582805823492f833d65c0441c4a14dce697c12aa | [
"Apache-2.0"
] | null | null | null | tests/internal/instance_type/test_instance_type_c6gn_auto.py | frolovv/aws.ec2.compare | 582805823492f833d65c0441c4a14dce697c12aa | [
"Apache-2.0"
] | null | null | null |
# Testing module instance_type.c6gn
import pytest
import ec2_compare.internal.instance_type.c6gn
def test_get_internal_data_instance_type_c6gn_get_instances_list():
assert len(ec2_compare.internal.instance_type.c6gn.get_instances_list()) > 0
def test_get_internal_data_instance_type_c6gn_get():
assert len(ec2_compare.internal.instance_type.c6gn.get) > 0
| 36.1 | 78 | 0.853186 | 56 | 361 | 5.053571 | 0.339286 | 0.254417 | 0.339223 | 0.268551 | 0.826855 | 0.826855 | 0.614841 | 0.614841 | 0.614841 | 0 | 0 | 0.032836 | 0.072022 | 361 | 9 | 79 | 40.111111 | 0.81194 | 0.091413 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 10 |
7a7fec4777de0f9c9082888a0313e691ccac144e | 172 | py | Python | 16/00/0.py | pylangstudy/201711 | be6222dde61373f67d25a2c926868b602463c5cc | [
"CC0-1.0"
] | null | null | null | 16/00/0.py | pylangstudy/201711 | be6222dde61373f67d25a2c926868b602463c5cc | [
"CC0-1.0"
] | 2 | 2017-10-31T23:37:36.000Z | 2017-11-02T23:31:07.000Z | 16/00/0.py | pylangstudy/201711 | be6222dde61373f67d25a2c926868b602463c5cc | [
"CC0-1.0"
] | null | null | null | import os
#print(os.getrandom(1))#AttributeError: module 'os' has no attribute 'getrandom'
#print(os.getrandom(1, os.GRND_NONBLOCK | os.GRND_RANDOM))
print(os.urandom(1))
| 28.666667 | 80 | 0.755814 | 27 | 172 | 4.740741 | 0.518519 | 0.164063 | 0.25 | 0.265625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019108 | 0.087209 | 172 | 5 | 81 | 34.4 | 0.796178 | 0.784884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 7 |
7a8f8b36d0fb35252aad089c5c02b2220bb0542e | 9,460 | py | Python | tests/dhcpv4/relay/test_v4_release_relay.py | isc-projects/forge | dfec8b41003d6b5a229f69ee93616e0e5cc6d71b | [
"0BSD"
] | 22 | 2015-02-27T11:51:05.000Z | 2022-02-28T12:39:29.000Z | tests/dhcpv4/relay/test_v4_release_relay.py | isc-projects/forge | dfec8b41003d6b5a229f69ee93616e0e5cc6d71b | [
"0BSD"
] | 16 | 2018-10-30T15:00:12.000Z | 2019-01-11T17:55:13.000Z | tests/dhcpv4/relay/test_v4_release_relay.py | isc-projects/forge | dfec8b41003d6b5a229f69ee93616e0e5cc6d71b | [
"0BSD"
] | 11 | 2015-02-27T11:51:36.000Z | 2021-03-30T08:33:54.000Z | """DHCPv4 address release process"""
# pylint: disable=invalid-name,line-too-long
import pytest
import srv_control
import srv_msg
import misc
@pytest.mark.v4
@pytest.mark.relay
@pytest.mark.release
def test_v4_relay_release_success():
misc.test_setup()
srv_control.config_srv_subnet('192.168.50.0/24', '192.168.50.1-192.168.50.1')
srv_control.build_and_send_config_files()
srv_control.start_srv('DHCP', 'started')
misc.test_procedure()
# this is setting for every message in this test
srv_msg.network_variable('source_port', 67)
srv_msg.network_variable('source_address', '$(GIADDR4)')
srv_msg.network_variable('destination_address', '$(SRV4_ADDR)')
srv_msg.client_sets_value('Client', 'giaddr', '$(GIADDR4)')
srv_msg.client_sets_value('Client', 'hops', 1)
srv_msg.client_requests_option(1)
srv_msg.client_send_msg('DISCOVER')
misc.pass_criteria()
srv_msg.send_wait_for_message('MUST', 'OFFER')
srv_msg.response_check_include_option(1)
srv_msg.response_check_content('yiaddr', '192.168.50.1')
# Response MUST contain giaddr $(GIADDR4).
srv_msg.response_check_option_content(1, 'value', '255.255.255.0')
misc.test_procedure()
srv_msg.client_sets_value('Client', 'giaddr', '$(GIADDR4)')
srv_msg.client_sets_value('Client', 'hops', 1)
srv_msg.client_copy_option('server_id')
srv_msg.client_does_include_with_value('requested_addr', '192.168.50.1')
srv_msg.client_requests_option(1)
srv_msg.client_send_msg('REQUEST')
misc.pass_criteria()
srv_msg.send_wait_for_message('MUST', 'ACK')
srv_msg.response_check_content('yiaddr', '192.168.50.1')
srv_msg.response_check_option_content(1, 'value', '255.255.255.0')
misc.test_procedure()
srv_msg.client_sets_value('Client', 'giaddr', '$(GIADDR4)')
srv_msg.client_sets_value('Client', 'hops', 1)
srv_msg.client_copy_option('server_id')
srv_msg.client_sets_value('Client', 'ciaddr', '192.168.50.1')
srv_msg.client_send_msg('RELEASE')
misc.pass_criteria()
srv_msg.send_dont_wait_for_message()
misc.test_procedure()
srv_msg.client_sets_value('Client', 'giaddr', '$(GIADDR4)')
srv_msg.client_sets_value('Client', 'hops', 1)
srv_msg.client_sets_value('Client', 'chaddr', '00:00:00:00:00:11')
srv_msg.client_does_include_with_value('client_id', '00010203040111')
srv_msg.client_requests_option(1)
srv_msg.client_send_msg('DISCOVER')
misc.pass_criteria()
srv_msg.client_sets_value('Client', 'giaddr', '$(GIADDR4)')
srv_msg.client_sets_value('Client', 'hops', 1)
srv_msg.send_wait_for_message('MUST', 'OFFER')
srv_msg.response_check_include_option(1)
srv_msg.response_check_content('yiaddr', '192.168.50.1')
# Response MUST contain giaddr $(GIADDR4).
srv_msg.response_check_option_content(1, 'value', '255.255.255.0')
@pytest.mark.v4
@pytest.mark.relay
@pytest.mark.release
def test_v4_relay_release_success_with_additional_offer():
misc.test_setup()
srv_control.config_srv_subnet('192.168.50.0/24', '192.168.50.1-192.168.50.1')
srv_control.build_and_send_config_files()
srv_control.start_srv('DHCP', 'started')
misc.test_procedure()
srv_msg.network_variable('source_port', 67)
srv_msg.network_variable('source_address', '$(GIADDR4)')
srv_msg.network_variable('destination_address', '$(SRV4_ADDR)')
srv_msg.client_sets_value('Client', 'giaddr', '$(GIADDR4)')
srv_msg.client_sets_value('Client', 'hops', 1)
srv_msg.client_requests_option(1)
srv_msg.client_send_msg('DISCOVER')
misc.pass_criteria()
srv_msg.send_wait_for_message('MUST', 'OFFER')
srv_msg.response_check_content('yiaddr', '192.168.50.1')
srv_msg.response_check_include_option(1)
srv_msg.response_check_include_option(54)
srv_msg.response_check_option_content(1, 'value', '255.255.255.0')
srv_msg.response_check_option_content(54, 'value', '$(SRV4_ADDR)')
misc.test_procedure()
srv_msg.client_sets_value('Client', 'giaddr', '$(GIADDR4)')
srv_msg.client_sets_value('Client', 'hops', 1)
srv_msg.client_copy_option('server_id')
srv_msg.client_does_include_with_value('requested_addr', '192.168.50.1')
srv_msg.client_requests_option(1)
srv_msg.client_send_msg('REQUEST')
misc.pass_criteria()
srv_msg.send_wait_for_message('MUST', 'ACK')
srv_msg.response_check_content('yiaddr', '192.168.50.1')
srv_msg.response_check_include_option(1)
srv_msg.response_check_include_option(54)
srv_msg.response_check_option_content(1, 'value', '255.255.255.0')
srv_msg.response_check_option_content(54, 'value', '$(SRV4_ADDR)')
misc.test_procedure()
srv_msg.client_save_option('server_id')
srv_msg.client_sets_value('Client', 'giaddr', '$(GIADDR4)')
srv_msg.client_sets_value('Client', 'hops', 1)
srv_msg.client_sets_value('Client', 'chaddr', '00:00:00:00:00:00')
srv_msg.client_does_include_with_value('client_id', '00010203040506')
srv_msg.client_requests_option(1)
srv_msg.client_send_msg('DISCOVER')
misc.pass_criteria()
srv_msg.send_dont_wait_for_message()
misc.test_procedure()
srv_msg.client_sets_value('Client', 'giaddr', '$(GIADDR4)')
srv_msg.client_sets_value('Client', 'hops', 1)
srv_msg.client_sets_value('Client', 'chaddr', 'default')
srv_msg.client_add_saved_option(erase=True)
srv_msg.client_sets_value('Client', 'ciaddr', '192.168.50.1')
srv_msg.client_send_msg('RELEASE')
misc.pass_criteria()
srv_msg.send_dont_wait_for_message()
misc.test_procedure()
srv_msg.client_sets_value('Client', 'giaddr', '$(GIADDR4)')
srv_msg.client_sets_value('Client', 'hops', 1)
srv_msg.client_sets_value('Client', 'chaddr', '00:00:00:00:00:11')
srv_msg.client_does_include_with_value('client_id', '00010203040111')
srv_msg.client_requests_option(1)
srv_msg.client_send_msg('DISCOVER')
misc.pass_criteria()
srv_msg.send_wait_for_message('MUST', 'OFFER')
srv_msg.response_check_include_option(1)
srv_msg.response_check_content('yiaddr', '192.168.50.1')
srv_msg.response_check_include_option(1)
srv_msg.response_check_include_option(54)
srv_msg.response_check_option_content(1, 'value', '255.255.255.0')
srv_msg.response_check_option_content(54, 'value', '$(SRV4_ADDR)')
@pytest.mark.v4
@pytest.mark.relay
@pytest.mark.release
def test_v4_relay_release_only_chaddr_same_chaddr():
misc.test_setup()
srv_control.config_srv_subnet('192.168.50.0/24', '192.168.50.1-192.168.50.1')
srv_control.build_and_send_config_files()
srv_control.start_srv('DHCP', 'started')
misc.test_procedure()
srv_msg.network_variable('source_port', 67)
srv_msg.network_variable('source_address', '$(GIADDR4)')
srv_msg.network_variable('destination_address', '$(SRV4_ADDR)')
srv_msg.client_sets_value('Client', 'giaddr', '$(GIADDR4)')
srv_msg.client_sets_value('Client', 'hops', 1)
srv_msg.client_sets_value('Client', 'chaddr', '00:1F:D0:00:00:11')
srv_msg.client_requests_option(1)
srv_msg.client_send_msg('DISCOVER')
misc.pass_criteria()
srv_msg.send_wait_for_message('MUST', 'OFFER')
srv_msg.response_check_content('yiaddr', '192.168.50.1')
srv_msg.response_check_include_option(1)
srv_msg.response_check_include_option(54)
srv_msg.response_check_option_content(1, 'value', '255.255.255.0')
srv_msg.response_check_option_content(54, 'value', '$(SRV4_ADDR)')
misc.test_procedure()
srv_msg.client_sets_value('Client', 'giaddr', '$(GIADDR4)')
srv_msg.client_sets_value('Client', 'hops', 1)
srv_msg.client_sets_value('Client', 'chaddr', '00:1f:d0:00:00:11')
srv_msg.client_copy_option('server_id')
srv_msg.client_does_include_with_value('requested_addr', '192.168.50.1')
srv_msg.client_requests_option(1)
srv_msg.client_send_msg('REQUEST')
misc.pass_criteria()
srv_msg.send_wait_for_message('MUST', 'ACK')
srv_msg.response_check_content('yiaddr', '192.168.50.1')
srv_msg.response_check_include_option(1)
srv_msg.response_check_include_option(54)
srv_msg.response_check_option_content(1, 'value', '255.255.255.0')
srv_msg.response_check_option_content(54, 'value', '$(SRV4_ADDR)')
misc.test_procedure()
# client id changed!
srv_msg.client_sets_value('Client', 'giaddr', '$(GIADDR4)')
srv_msg.client_sets_value('Client', 'hops', 1)
srv_msg.client_sets_value('Client', 'chaddr', '00:1f:d0:00:00:11')
srv_msg.client_copy_option('server_id')
srv_msg.client_sets_value('Client', 'ciaddr', '192.168.50.1')
srv_msg.client_send_msg('RELEASE')
# address not released
misc.pass_criteria()
srv_msg.send_dont_wait_for_message()
misc.test_procedure()
srv_msg.client_sets_value('Client', 'chaddr', '00:00:00:00:00:00')
srv_msg.client_requests_option(1)
srv_msg.client_sets_value('Client', 'giaddr', '$(GIADDR4)')
srv_msg.client_sets_value('Client', 'hops', 1)
srv_msg.client_send_msg('DISCOVER')
misc.pass_criteria()
srv_msg.send_wait_for_message('MUST', 'OFFER')
srv_msg.response_check_include_option(1)
srv_msg.response_check_content('yiaddr', '192.168.50.1')
srv_msg.response_check_include_option(1)
srv_msg.response_check_include_option(54)
srv_msg.response_check_option_content(1, 'value', '255.255.255.0')
srv_msg.response_check_option_content(54, 'value', '$(SRV4_ADDR)')
| 39.416667 | 81 | 0.730338 | 1,426 | 9,460 | 4.443899 | 0.074334 | 0.130661 | 0.142023 | 0.119931 | 0.955499 | 0.955499 | 0.955499 | 0.955499 | 0.955499 | 0.946505 | 0 | 0.064927 | 0.120825 | 9,460 | 239 | 82 | 39.58159 | 0.697006 | 0.025687 | 0 | 0.937173 | 0 | 0 | 0.205627 | 0.008147 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015707 | true | 0.068063 | 0.020942 | 0 | 0.036649 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
8fcf1829c576f256d04a0cd27c59ad8889b34c94 | 34,128 | py | Python | fonts/romfonts/vga2_16x16.py | slabua/st7789py_mpy | 31e6f94592563e2b5ad716c48486e605ca3911bb | [
"MIT"
] | 153 | 2020-02-02T11:03:14.000Z | 2022-03-30T05:47:07.000Z | fonts/bitmap/vga2_16x16.py | skylin008/st7789_mpy | f304991fc5558be653df5f0de928494b85cbc60d | [
"MIT"
] | 58 | 2020-04-11T23:23:02.000Z | 2022-03-26T20:45:23.000Z | fonts/bitmap/vga2_16x16.py | skylin008/st7789_mpy | f304991fc5558be653df5f0de928494b85cbc60d | [
"MIT"
] | 50 | 2020-02-02T11:05:23.000Z | 2022-03-22T15:24:42.000Z | WIDTH = 16
HEIGHT = 16
FIRST = 0
LAST = 255
_FONT = \
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x3f\xfc\x60\x06\xc0\x03\xcc\x33\xc0\x03\xc0\x03\xcf\xf3\xc3\xc3\xc0\x03\x60\x06\x3f\xfc\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x3f\xfc\x7f\xfe\xff\xff\xf3\xcf\xff\xff\xff\xff\xf0\x0f\xfc\x3f\xff\xff\x7f\xfe\x3f\xfc\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x1e\x78\x3f\xfc\x7f\xfe\x7f\xfe\x7f\xfe\x3f\xfc\x1f\xf8\x07\xe0\x01\x80\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x01\x80\x03\xc0\x07\xe0\x0f\xf0\x1f\xf8\x0f\xf0\x07\xe0\x03\xc0\x01\x80\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x01\xc0\x03\xe0\x03\xe0\x1d\xdc\x3f\xfe\x3f\xfe\x1d\xdc\x01\xc0\x01\xc0\x01\xc0\x07\xf0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x01\xc0\x07\xf0\x1f\xfc\x7f\xff\x7f\xff\x7f\xff\x1d\xdc\x01\xc0\x01\xc0\x01\xc0\x07\xf0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\xc0\x0f\xf0\x0f\xf0\x03\xc0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfc\x3f\xf0\x0f\xf0\x0f\xfc\x3f\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\xf0\x3c\x3c\x30\x0c\x30\x0c\x3c\x3c\x0f\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xf0\x0f\xc3\xc3\xcf\xf3\xcf\xf3\xc3\xc3\xf0\x0f\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff'\
b'\x00\x00\x00\x00\x00\x00\x00\x7f\x00\x1f\x00\x3b\x00\x70\x07\xe0\x1c\x38\x38\x1c\x38\x1c\x1c\x38\x07\xe0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x03\xe0\x0e\x38\x1c\x1c\x1c\x1c\x0e\x38\x03\xe0\x01\xc0\x01\xc0\x1f\xfc\x01\xc0\x01\xc0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x0f\xff\x0e\x07\x0f\xff\x0e\x00\x0e\x00\x0e\x00\x0e\x00\x0e\x00\x3e\x00\x7e\x00\x3c\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x1f\xfe\x1c\x0e\x1f\xfe\x1c\x0e\x1c\x0e\x1c\x0e\x1c\x0e\x1c\x0e\x1c\x1e\x3c\x3e\x7c\x1c\x38\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x01\xc0\x39\xce\x1d\xdc\x0f\xf8\x7e\x3f\x0f\xf8\x1d\xdc\x39\xce\x01\xc0\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x30\x00\x3c\x00\x3f\x00\x3f\xc0\x3f\xf0\x3f\xfc\x3f\xf0\x3f\xc0\x3f\x00\x3c\x00\x30\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x0c\x00\x3c\x00\xfc\x03\xfc\x0f\xfc\x3f\xfc\x0f\xfc\x03\xfc\x00\xfc\x00\x3c\x00\x0c\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x01\xc0\x07\xf0\x1d\xdc\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x1d\xdc\x07\xf0\x01\xc0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x0e\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x38\x00\x00\x0e\x38\x0e\x38\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x1f\xff\x71\xce\x71\xce\x71\xce\x71\xce\x1f\xce\x01\xce\x01\xce\x01\xce\x01\xce\x01\xce\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x0f\xf8\x38\x0e\x0e\x00\x03\xe0\x0e\x38\x38\x0e\x38\x0e\x0e\x38\x03\xe0\x00\x38\x38\x0e\x0f\xf8\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x3f\xff\x3f\xff\x3f\xff\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x01\xc0\x07\xf0\x1d\xdc\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x1d\xdc\x07\xf0\x01\xc0\x3f\xfe\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x01\xc0\x07\xf0\x1d\xdc\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x1d\xdc\x07\xf0\x01\xc0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x70\x00\x1c\x3f\xff\x00\x1c\x00\x70\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x80\x0e\x00\x3f\xff\x0e\x00\x03\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x38\x00\x38\x00\x38\x00\x3f\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x1c\x38\x38\x1c\x7f\xfe\x38\x1c\x1c\x38\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x01\x80\x03\xc0\x07\xe0\x0f\xf0\x1f\xf8\x3f\xfc\x7f\xfe\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x7f\xfe\x3f\xfc\x1f\xf8\x0f\xf0\x07\xe0\x03\xc0\x01\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x00\x00\x01\xc0\x01\xc0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x1c\x38\x1c\x38\x1c\x38\x1c\x38\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x1c\x38\x1c\x38\x7f\xfe\x1c\x38\x1c\x38\x1c\x38\x1c\x38\x7f\xfe\x1c\x38\x1c\x38\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x01\x80\x0f\xf0\x39\x9c\x71\x8e\x71\x80\x39\x80\x0f\xf0\x01\x9c\x01\x8e\x71\x8e\x39\x9c\x0f\xf0\x01\x80\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x1e\x1c\x1e\x38\x00\x70\x00\xe0\x01\xc0\x03\x80\x07\x00\x0e\x3c\x1c\x3c\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x07\xc0\x1c\x70\x38\x38\x1c\x70\x07\xc0\x0f\xce\x38\xfc\x70\x78\x70\x78\x38\xfc\x0f\xce\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\xe0\x01\xc0\x03\x80\x07\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\xe0\x01\xc0\x03\x80\x07\x00\x07\x00\x07\x00\x07\x00\x07\x00\x03\x80\x01\xc0\x00\xe0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x07\x00\x03\x80\x01\xc0\x00\xe0\x00\xe0\x00\xe0\x00\xe0\x00\xe0\x01\xc0\x03\x80\x07\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0e\x38\x03\xe0\x3f\xfe\x03\xe0\x0e\x38\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x01\xc0\x01\xc0\x01\xc0\x3f\xfe\x01\xc0\x01\xc0\x01\xc0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\xc0\x03\xc0\x03\x80\x07\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x3f\xfe\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\xc0\x03\xc0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x1c\x00\x38\x00\x70\x00\xe0\x01\xc0\x03\x80\x07\x00\x0e\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x07\xe0\x1c\x38\x38\x3c\x38\x7c\x38\xdc\x39\x9c\x3b\x1c\x3e\x1c\x3c\x1c\x1c\x38\x07\xe0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x01\xc0\x03\xc0\x0f\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x0f\xf0\x38\x1c\x00\x0e\x00\x0e\x00\x1c\x00\x70\x01\xc0\x07\x00\x1c\x00\x38\x00\x3f\xfe\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x0f\xf0\x38\x1c\x00\x0e\x00\x0e\x00\x1c\x01\xf0\x00\x1c\x00\x0e\x00\x0e\x38\x1c\x0f\xf0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x01\xf0\x03\xf0\x07\x70\x0e\x70\x1c\x70\x38\x70\x3f\xfc\x00\x70\x00\x70\x00\x70\x00\x70\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x3f\xfe\x38\x00\x38\x00\x38\x00\x3f\xf0\x00\x1c\x00\x0e\x00\x0e\x00\x0e\x38\x1c\x0f\xf0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x07\xf0\x1c\x00\x38\x00\x38\x00\x38\x00\x3f\xf0\x38\x1c\x38\x0e\x38\x0e\x1c\x1c\x07\xf0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x3f\xf8\x00\x38\x00\x38\x00\x70\x00\xe0\x01\xc0\x03\x80\x03\x80\x03\x80\x03\x80\x03\x80\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x07\xf0\x1c\x1c\x38\x0e\x38\x0e\x1c\x1c\x07\xf0\x1c\x1c\x38\x0e\x38\x0e\x1c\x1c\x07\xf0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x07\xf0\x1c\x1c\x38\x0e\x38\x0e\x1c\x0e\x07\xfe\x00\x0e\x00\x0e\x00\x0e\x00\x1c\x0f\xf0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x03\x80\x03\x80\x00\x00\x00\x00\x00\x00\x00\x00\x03\x80\x03\x80\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x03\x80\x03\x80\x00\x00\x00\x00\x00\x00\x00\x00\x03\x80\x03\x80\x07\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\xe0\x01\xc0\x03\x80\x07\x00\x0e\x00\x1c\x00\x0e\x00\x07\x00\x03\x80\x01\xc0\x00\xe0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x3f\xfc\x00\x00\x00\x00\x3f\xfc\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x07\x00\x03\x80\x01\xc0\x00\xe0\x00\x70\x00\x38\x00\x70\x00\xe0\x01\xc0\x03\x80\x07\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x07\xe0\x1c\x38\x38\x1c\x00\x38\x00\x70\x00\xe0\x01\xc0\x01\xc0\x00\x00\x01\xc0\x01\xc0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x0f\xf0\x38\x1c\x70\x0e\x71\xfe\x73\x8e\x73\x8e\x73\x8e\x71\xfc\x70\x00\x38\x00\x0f\xfc\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x03\xc0\x07\xe0\x0e\x70\x1c\x38\x38\x1c\x38\x1c\x3f\xfc\x38\x1c\x38\x1c\x38\x1c\x38\x1c\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x3f\xf0\x38\x1c\x38\x0e\x38\x0e\x38\x1c\x3f\xf0\x38\x1c\x38\x0e\x38\x0e\x38\x1c\x3f\xf0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x07\xf0\x1c\x1c\x38\x0e\x38\x00\x38\x00\x38\x00\x38\x00\x38\x00\x38\x0e\x1c\x1c\x07\xf0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x3f\xf0\x38\x1c\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x38\x1c\x3f\xf0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x3f\xfc\x38\x00\x38\x00\x38\x00\x38\x00\x3f\xe0\x38\x00\x38\x00\x38\x00\x38\x00\x3f\xfc\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x3f\xfc\x38\x00\x38\x00\x38\x00\x38\x00\x3f\xe0\x38\x00\x38\x00\x38\x00\x38\x00\x38\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x07\xf0\x1c\x1c\x38\x0e\x38\x00\x38\x00\x38\x00\x38\x3e\x38\x0e\x38\x0e\x1c\x1c\x07\xf0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x3f\xfe\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x1c\x00\x1c\x00\x1c\x00\x1c\x00\x1c\x00\x1c\x00\x1c\x00\x1c\x1c\x1c\x0e\x38\x03\xe0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x1c\x38\x1c\x70\x1c\xe0\x1d\xc0\x1f\x80\x1f\x80\x1d\xc0\x1c\xe0\x1c\x70\x1c\x38\x1c\x1c\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x38\x00\x38\x00\x38\x00\x38\x00\x38\x00\x38\x00\x38\x00\x38\x00\x38\x00\x38\x00\x3f\xfc\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x78\x1e\x7c\x3e\x7e\x7e\x77\xee\x73\xce\x71\x8e\x70\x0e\x70\x0e\x70\x0e\x70\x0e\x70\x0e\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x38\x0e\x3c\x0e\x3e\x0e\x3f\x0e\x3b\x8e\x39\xce\x38\xee\x38\x7e\x38\x3e\x38\x1e\x38\x0e\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x07\xf0\x1c\x1c\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x1c\x1c\x07\xf0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x3f\xf0\x38\x1c\x38\x0e\x38\x0e\x38\x1c\x3f\xf0\x38\x00\x38\x00\x38\x00\x38\x00\x38\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x07\xf0\x1c\x1c\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x38\xee\x1c\x7c\x07\xf8\x00\x1c\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x3f\xf0\x38\x1c\x38\x0e\x38\x0e\x38\x1c\x3f\xf0\x38\xe0\x38\x70\x38\x38\x38\x1c\x38\x0e\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x0f\xf0\x38\x1c\x70\x0e\x70\x00\x38\x00\x0f\xf0\x00\x1c\x00\x0e\x70\x0e\x38\x1c\x0f\xf0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x3f\xfe\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x1c\x1c\x07\xf0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x38\x1c\x38\x1c\x38\x1c\x38\x1c\x38\x1c\x38\x1c\x38\x1c\x1c\x38\x0e\x70\x07\xe0\x03\xc0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x70\x0e\x70\x0e\x70\x0e\x70\x0e\x70\x0e\x70\x0e\x71\x8e\x73\xce\x77\xee\x3e\x7c\x1c\x38\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x38\x1c\x38\x1c\x1c\x38\x0e\x70\x07\xe0\x03\xc0\x07\xe0\x0e\x70\x1c\x38\x38\x1c\x38\x1c\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x38\x0e\x1c\x1c\x0e\x38\x07\x70\x03\xe0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x3f\xfe\x00\x1c\x00\x38\x00\x70\x00\xe0\x01\xc0\x03\x80\x07\x00\x0e\x00\x1c\x00\x3f\xfe\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x07\xf0\x07\x00\x07\x00\x07\x00\x07\x00\x07\x00\x07\x00\x07\x00\x07\x00\x07\x00\x07\xf0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x1c\x00\x0e\x00\x07\x00\x03\x80\x01\xc0\x00\xe0\x00\x70\x00\x38\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x07\xf0\x00\x70\x00\x70\x00\x70\x00\x70\x00\x70\x00\x70\x00\x70\x00\x70\x00\x70\x07\xf0\x00\x00\x00\x00\x00\x00'\
b'\x03\xc0\x07\xe0\x0e\x70\x1c\x38\x38\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00'\
b'\x00\x00\x07\x00\x03\x80\x01\xc0\x00\xe0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\xf8\x00\x0e\x0f\xfe\x38\x0e\x38\x0e\x38\x0e\x0f\xfe\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x38\x00\x38\x00\x38\x00\x38\x00\x3f\xf0\x38\x1c\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x3f\xf8\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\xf8\x38\x0e\x38\x00\x38\x00\x38\x00\x38\x0e\x0f\xf8\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x0e\x00\x0e\x00\x0e\x00\x0e\x07\xfe\x1c\x0e\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x0f\xfe\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\xf8\x38\x0e\x38\x0e\x3f\xfe\x38\x00\x38\x00\x0f\xfc\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\xf8\x03\x80\x03\x80\x03\x80\x03\x80\x0f\xf0\x03\x80\x03\x80\x03\x80\x03\x80\x03\x80\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\xf8\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x0f\xfe\x00\x0e\x00\x0e\x1f\xf8\x00\x00'\
b'\x00\x00\x00\x00\x38\x00\x38\x00\x38\x00\x38\x00\x3b\xf8\x3c\x0e\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x01\xc0\x01\xc0\x00\x00\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x70\x00\x70\x00\x00\x00\x70\x00\x70\x00\x70\x00\x70\x00\x70\x00\x70\x00\x70\x00\xe0\x0f\x80\x00\x00'\
b'\x00\x00\x00\x00\x0e\x00\x0e\x00\x0e\x00\x0e\x00\x0e\x38\x0e\x70\x0e\xe0\x0f\xc0\x0e\xe0\x0e\x70\x0e\x38\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x3e\x78\x39\xce\x39\xce\x39\xce\x39\xce\x39\xce\x39\xce\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x3f\xe0\x38\x38\x38\x1c\x38\x1c\x38\x1c\x38\x1c\x38\x1c\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\xf0\x1c\x1c\x38\x0e\x38\x0e\x38\x0e\x1c\x1c\x07\xf0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x3f\xf0\x38\x1c\x38\x0e\x38\x0e\x38\x1c\x3f\xf0\x38\x00\x38\x00\x38\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\xfe\x1c\x0e\x38\x0e\x38\x0e\x1c\x0e\x07\xfe\x00\x0e\x00\x0e\x00\x0e\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x3f\xf0\x38\x1c\x38\x00\x38\x00\x38\x00\x38\x00\x38\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\xfc\x38\x00\x38\x00\x0f\xf8\x00\x0e\x00\x0e\x1f\xf8\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x1f\xfc\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x38\x1c\x38\x1c\x38\x1c\x38\x1c\x38\x1c\x38\x1c\x0f\xfc\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x70\x0e\x38\x1c\x1c\x38\x0e\x70\x07\xe0\x03\xc0\x01\x80\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x38\x0e\x38\x0e\x38\x0e\x39\xce\x3b\xee\x1f\x7c\x0e\x38\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x1c\x38\x0e\x70\x07\xe0\x03\xc0\x07\xe0\x0e\x70\x1c\x38\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x38\x0e\x1c\x1c\x0e\x38\x07\x70\x03\xe0\x01\xc0\x03\x80\x07\x00\x0e\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x3f\xfe\x00\x1c\x00\x70\x01\xc0\x07\x00\x1c\x00\x3f\xfe\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\xf8\x01\xc0\x03\x80\x03\x80\x03\x80\x1e\x00\x03\x80\x03\x80\x03\x80\x01\xc0\x00\xf8\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x00\x00\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x1f\x00\x03\x80\x01\xc0\x01\xc0\x01\xc0\x00\x78\x01\xc0\x01\xc0\x01\xc0\x03\x80\x1f\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x07\x9e\x3c\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x01\xc0\x07\x70\x1c\x1c\x70\x07\x70\x07\x7f\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x07\xf8\x1c\x0e\x38\x06\x38\x00\x38\x00\x38\x00\x38\x00\x38\x06\x1c\x0e\x07\xf8\x00\x38\x00\x1c\x0f\xf8\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x1c\x38\x1c\x38\x00\x00\x38\x1c\x38\x1c\x38\x1c\x38\x1c\x38\x1c\x38\x1c\x0f\xfc\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x38\x00\xe0\x03\x80\x00\x00\x0f\xf8\x38\x0e\x38\x0e\x3f\xfe\x38\x00\x38\x00\x0f\xfc\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x01\xc0\x07\x70\x1c\x1c\x00\x00\x0f\xf8\x00\x0e\x0f\xfe\x38\x0e\x38\x0e\x38\x0e\x0f\xfe\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x1c\x1c\x1c\x1c\x00\x00\x0f\xf8\x00\x0e\x0f\xfe\x38\x0e\x38\x0e\x38\x0e\x0f\xfe\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x07\x00\x01\xc0\x00\x70\x00\x00\x0f\xf8\x00\x0e\x0f\xfe\x38\x0e\x38\x0e\x38\x0e\x0f\xfe\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x03\xe0\x0e\x38\x03\xe0\x00\x00\x0f\xf8\x00\x0e\x0f\xfe\x38\x0e\x38\x0e\x38\x0e\x0f\xfe\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\xf0\x38\x1c\x38\x00\x38\x00\x38\x1c\x0f\xf0\x00\x70\x00\x38\x0f\xf0\x00\x00'\
b'\x00\x00\x00\x00\x01\xc0\x07\x70\x1c\x1c\x00\x00\x0f\xf8\x38\x0e\x38\x0e\x3f\xfe\x38\x00\x38\x00\x0f\xfc\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x1c\x1c\x1c\x1c\x00\x00\x0f\xf8\x38\x0e\x38\x0e\x3f\xfe\x38\x00\x38\x00\x0f\xfc\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x07\x00\x01\xc0\x00\x70\x00\x00\x0f\xf8\x38\x0e\x38\x0e\x3f\xfe\x38\x00\x38\x00\x0f\xfc\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x1c\x1c\x1c\x1c\x00\x00\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x01\xc0\x07\x70\x1c\x1c\x00\x00\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x0e\x00\x03\x80\x00\xe0\x00\x00\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x1c\x38\x1c\x38\x00\x00\x03\xc0\x07\xe0\x0e\x70\x1c\x38\x38\x1c\x3f\xfc\x38\x1c\x38\x1c\x38\x1c\x00\x00\x00\x00\x00\x00'\
b'\x03\xc0\x0e\x70\x03\xc0\x00\x00\x03\xc0\x07\xe0\x0e\x70\x1c\x38\x38\x1c\x3f\xfc\x38\x1c\x38\x1c\x38\x1c\x00\x00\x00\x00\x00\x00'\
b'\x00\x70\x01\xc0\x07\x00\x00\x00\x3f\xfc\x38\x00\x38\x00\x38\x00\x3f\xe0\x38\x00\x38\x00\x38\x00\x3f\xfc\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x3e\x7e\x03\xc7\x03\xc7\x7f\xfe\xe3\xc0\xe3\xc0\x7f\xff\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x07\xff\x0e\xe0\x1c\xe0\x38\xe0\x70\xe0\x7f\xfe\x70\xe0\x70\xe0\x70\xe0\x70\xe0\x70\xff\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x01\xc0\x07\x70\x1c\x1c\x00\x00\x07\xf0\x1c\x1c\x38\x0e\x38\x0e\x38\x0e\x1c\x1c\x07\xf0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x1c\x1c\x1c\x1c\x00\x00\x07\xf0\x1c\x1c\x38\x0e\x38\x0e\x38\x0e\x1c\x1c\x07\xf0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x07\x00\x01\xc0\x00\x70\x00\x00\x07\xf0\x1c\x1c\x38\x0e\x38\x0e\x38\x0e\x1c\x1c\x07\xf0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x03\xc0\x0e\x70\x38\x1c\x00\x00\x38\x1c\x38\x1c\x38\x1c\x38\x1c\x38\x1c\x38\x1c\x0f\xfc\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x0e\x00\x03\x80\x00\xe0\x00\x00\x38\x1c\x38\x1c\x38\x1c\x38\x1c\x38\x1c\x38\x1c\x0f\xfc\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x1c\x1c\x1c\x1c\x00\x00\x38\x0e\x1c\x1c\x0e\x38\x07\x70\x03\xe0\x01\xc0\x03\x80\x07\x00\x0e\x00\x00\x00'\
b'\x00\x00\x1c\x1c\x1c\x1c\x00\x00\x07\xf0\x1c\x1c\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x1c\x1c\x07\xf0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x1c\x1c\x1c\x1c\x00\x00\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x1c\x1c\x07\xf0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x01\xc0\x01\xc0\x0f\xf8\x38\x0e\x38\x00\x38\x00\x38\x00\x38\x1e\x0f\xf8\x01\xc0\x01\xc0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x01\xf0\x07\x1c\x07\x00\x07\x00\x1f\xc0\x07\x00\x07\x00\x07\x00\x07\x00\x3f\x0e\x3f\xf8\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x38\x0e\x1c\x1c\x0e\x38\x07\x70\x03\xe0\x3f\xfe\x01\xc0\x3f\xfe\x01\xc0\x01\xc0\x01\xc0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x7f\x80\x70\xe0\x70\x70\x70\xe0\x7f\x9c\x70\x1c\x70\x7f\x70\x1c\x70\x1c\x70\x1c\x70\x1c\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x78\x01\xce\x01\xc0\x01\xc0\x01\xc0\x1f\xfc\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x39\xc0\x0f\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x70\x01\xc0\x07\x00\x00\x00\x0f\xf8\x00\x0e\x0f\xfe\x38\x0e\x38\x0e\x38\x0e\x0f\xfe\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x70\x01\xc0\x07\x00\x00\x00\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x70\x01\xc0\x07\x00\x00\x00\x07\xf0\x1c\x1c\x38\x0e\x38\x0e\x38\x0e\x1c\x1c\x07\xf0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x70\x01\xc0\x07\x00\x00\x00\x38\x1c\x38\x1c\x38\x1c\x38\x1c\x38\x1c\x38\x1c\x0f\xfc\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x07\x9c\x3c\xf0\x00\x00\x3f\xe0\x38\x38\x38\x1c\x38\x1c\x38\x1c\x38\x1c\x38\x1c\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x07\x9e\x3c\xf0\x00\x00\x3c\x0e\x3e\x0e\x3f\x0e\x3b\x8e\x39\xce\x38\xee\x38\x7e\x38\x3e\x38\x1e\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x0f\xf0\x38\x70\x38\x70\x0f\xfc\x00\x00\x3f\xfc\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x0f\xc0\x38\x70\x38\x70\x0f\xc0\x00\x00\x3f\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x03\x80\x03\x80\x00\x00\x03\x80\x03\x80\x03\x80\x07\x00\x1c\x00\x38\x1c\x1c\x38\x07\xe0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x3f\xff\x38\x00\x38\x00\x38\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x3f\xff\x00\x07\x00\x07\x00\x07\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x38\x00\x78\x00\x38\x00\x38\x1c\x38\x70\x01\xc0\x07\x00\x1c\x7c\x70\x0e\x00\x1c\x00\x70\x00\xfe\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x38\x00\x78\x00\x38\x00\x38\x1c\x38\x70\x01\xc0\x07\x00\x1c\x1c\x70\x7c\x01\xdc\x01\xfe\x00\x1c\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x01\xc0\x01\xc0\x00\x00\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x8e\x0e\x38\x38\xe0\x0e\x38\x03\x8e\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x38\xe0\x0e\x38\x03\x8e\x0e\x38\x38\xe0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x03\x03\x30\x30\x03\x03\x30\x30\x03\x03\x30\x30\x03\x03\x30\x30\x03\x03\x30\x30\x03\x03\x30\x30\x03\x03\x30\x30\x03\x03\x30\x30'\
b'\x33\x33\xcc\xcc\x33\x33\xcc\xcc\x33\x33\xcc\xcc\x33\x33\xcc\xcc\x33\x33\xcc\xcc\x33\x33\xcc\xcc\x33\x33\xcc\xcc\x33\x33\xcc\xcc'\
b'\xf3\xf3\x3f\x3f\xf3\xf3\x3f\x3f\xf3\xf3\x3f\x3f\xf3\xf3\x3f\x3f\xf3\xf3\x3f\x3f\xf3\xf3\x3f\x3f\xf3\xf3\x3f\x3f\xf3\xf3\x3f\x3f'\
b'\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0'\
b'\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\xff\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0'\
b'\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\xff\xc0\x01\xc0\xff\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0'\
b'\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\xff\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xf8\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xc0\x01\xc0\xff\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0'\
b'\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\xff\x38\x00\x38\xff\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38'\
b'\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xf8\x00\x38\xff\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38'\
b'\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\xff\x38\x00\x38\xff\xf8\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\xff\xf8\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\xff\xc0\x01\xc0\xff\xc0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0'\
b'\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0'\
b'\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xff\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\xff\xff\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0'\
b'\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xff\x01\xc0\x01\xff\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0'\
b'\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x3f\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38'\
b'\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x3f\x07\x00\x07\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\xff\x07\x00\x07\x3f\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38'\
b'\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\xff\x3f\x00\x00\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00\xff\x3f\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38'\
b'\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x3f\x07\x00\x07\x3f\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\xff\x3f\x00\x00\xff\x3f\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38'\
b'\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\xff\xff\x00\x00\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00\xff\xff\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38'\
b'\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xff\x01\xc0\x01\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\xff\x01\xc0\x01\xff\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\xff\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38'\
b'\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\xff\xff\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38\x07\x38'\
b'\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\xff\xff\x01\xc0\xff\xff\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0'\
b'\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\xff\xc0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\xff\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0'\
b'\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff'\
b'\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00'\
b'\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff'\
b'\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x0e\x39\xdc\x70\xf8\x70\xf0\x70\xf8\x39\xdc\x0f\x0e\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x0f\xf8\x38\x0e\x38\x0e\x3f\xf8\x38\x0e\x38\x0e\x3f\xf8\x38\x00\x38\x00\x18\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x3f\xfe\x38\x0e\x38\x0e\x38\x00\x38\x00\x38\x00\x38\x00\x38\x00\x38\x00\x38\x00\x38\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x3f\xfe\x0e\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x38\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x3f\xfe\x38\x0e\x38\x00\x0e\x00\x03\x80\x00\xe0\x03\x80\x0e\x00\x38\x00\x38\x0e\x3f\xfe\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\xff\x1c\x38\x38\x38\x38\x38\x38\x38\x1c\x70\x07\xc0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0e\x0e\x0e\x0e\x0e\x0e\x0e\x0e\x0e\x1c\x0f\xf0\x0e\x00\x0e\x00\x38\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x9e\x3c\xf8\x00\xe0\x00\xe0\x00\xe0\x00\xe0\x00\xe0\x00\xe0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x1f\xfc\x01\xc0\x07\xf0\x0e\x38\x1c\x1c\x1c\x1c\x1c\x1c\x0e\x38\x07\xf0\x01\xc0\x1f\xfc\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x07\xf0\x1c\x1c\x38\x0e\x38\x0e\x38\x0e\x3f\xfe\x38\x0e\x38\x0e\x38\x0e\x1c\x1c\x07\xf0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x07\xf0\x1c\x1c\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x1c\x1c\x0e\x38\x0e\x38\x0e\x38\x3e\x3e\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x03\xf0\x0e\x38\x0e\x00\x03\x80\x00\xe0\x07\xf8\x1c\x1c\x38\x1c\x38\x1c\x1c\x38\x07\xe0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x3e\x7c\x73\xce\x73\xce\x73\xce\x3e\x7c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x1c\x00\x38\x0f\xf0\x38\xfc\x71\xce\x73\x8e\x3f\x1c\x0f\xf0\x1c\x00\x38\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x03\xf0\x0e\x00\x38\x00\x38\x00\x38\x00\x3f\xf0\x38\x00\x38\x00\x38\x00\x0e\x00\x03\xf0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x07\xf0\x1c\x1c\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x38\x0e\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x3f\xfe\x00\x00\x00\x00\x3f\xfe\x00\x00\x00\x00\x3f\xfe\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x01\xc0\x01\xc0\x01\xc0\x3f\xfe\x01\xc0\x01\xc0\x01\xc0\x00\x00\x3f\xfe\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x0e\x00\x03\x80\x00\xe0\x00\x38\x00\xe0\x03\x80\x0e\x00\x00\x00\x3f\xfc\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x70\x01\xc0\x07\x00\x1c\x00\x07\x00\x01\xc0\x00\x70\x00\x00\x3f\xfc\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x7c\x01\xc7\x01\xc7\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0'\
b'\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x01\xc0\x71\xc0\x71\xc0\x1f\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x01\xc0\x01\xc0\x00\x00\x00\x00\x3f\xfe\x00\x00\x00\x00\x01\xc0\x01\xc0\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\x9e\x3c\xf0\x00\x00\x07\x9e\x3c\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x0f\xc0\x38\x70\x38\x70\x0f\xc0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\xc0\x03\xc0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\xc0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x7f\x00\x70\x00\x70\x00\x70\x00\x70\x00\x70\x00\x70\xf8\x70\x1c\x70\x07\x70\x01\xf0\x00\x70\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x7f\x80\x70\xe0\x70\xe0\x70\xe0\x70\xe0\x70\xe0\x70\xe0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x3f\x00\xe1\xc0\x01\xc0\x07\x00\x1c\x00\x70\x00\xff\xc0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x1f\xf8\x1f\xf8\x1f\xf8\x1f\xf8\x1f\xf8\x1f\xf8\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
FONT = memoryview(_FONT)
| 128.784906 | 132 | 0.729137 | 8,460 | 34,128 | 2.941135 | 0.00721 | 0.70123 | 0.874608 | 0.958283 | 0.935536 | 0.926252 | 0.910297 | 0.90041 | 0.888594 | 0.877542 | 0 | 0.401985 | 0.008087 | 34,128 | 264 | 133 | 129.272727 | 0.333038 | 0 | 0 | 0.015267 | 0 | 0.977099 | 0.960178 | 0.960178 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 16 |
8fe2a755b8a0969cb852184a1b9b60e548a85f66 | 46 | py | Python | kalliope/neurons/neurotransmitter/__init__.py | G10DRAS/kalliope | 4c6586bd4c5ff0ca2b51cbf02f042d9ed0c9742d | [
"MIT"
] | null | null | null | kalliope/neurons/neurotransmitter/__init__.py | G10DRAS/kalliope | 4c6586bd4c5ff0ca2b51cbf02f042d9ed0c9742d | [
"MIT"
] | null | null | null | kalliope/neurons/neurotransmitter/__init__.py | G10DRAS/kalliope | 4c6586bd4c5ff0ca2b51cbf02f042d9ed0c9742d | [
"MIT"
] | null | null | null | from neurotransmitter import Neurotransmitter
| 23 | 45 | 0.913043 | 4 | 46 | 10.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
890a52ae06148f5983457d5ff0026b887040612d | 13,329 | py | Python | tests/unit/hardware/TestCeramic.py | rakhimov/rtk | adc35e218ccfdcf3a6e3082f6a1a1d308ed4ff63 | [
"BSD-3-Clause"
] | null | null | null | tests/unit/hardware/TestCeramic.py | rakhimov/rtk | adc35e218ccfdcf3a6e3082f6a1a1d308ed4ff63 | [
"BSD-3-Clause"
] | null | null | null | tests/unit/hardware/TestCeramic.py | rakhimov/rtk | adc35e218ccfdcf3a6e3082f6a1a1d308ed4ff63 | [
"BSD-3-Clause"
] | 2 | 2020-04-03T04:14:42.000Z | 2021-02-22T05:30:35.000Z | #!/usr/bin/env python -O
# -*- coding: utf-8 -*-
#
# tests.unit.TestCeramic.py is part of The RTK Project
#
# All rights reserved.
"""
This is the test class for testing Ceramic capacitor module algorithms and models.
"""
import sys
from os.path import dirname
sys.path.insert(0, dirname(dirname(dirname(__file__))) + "/rtk", )
import unittest
from nose.plugins.attrib import attr
from hardware.component.capacitor.fixed.Ceramic import Chip, General
__author__ = 'Andrew Rowland'
__email__ = 'andrew.rowland@reliaqual.com'
__organization__ = 'ReliaQual Associates, LLC'
__copyright__ = 'Copyright 2015 Andrew "Weibullguy" Rowland'
class TestCeramicChipModel(unittest.TestCase):
"""
Class for testing the Ceramic Chip capacitor data model class.
"""
def setUp(self):
"""
Setup the test fixture for the Capacitor class.
"""
self.DUT = Chip()
@attr(all=True, unit=True)
def test_create(self):
"""
(TestCeramicChip) __init__ should return a Cermic Chip capacitor model
"""
self.assertTrue(isinstance(self.DUT, Chip))
# Verify Hardware class was properly initialized.
self.assertEqual(self.DUT.revision_id, None)
self.assertEqual(self.DUT.category_id, 0)
# Verify Capacitor class was properly initialized.
self.assertEqual(self.DUT.quality, 0)
# Verify the Fixed Paper Bypass capacitor class was properly
# initialized.
self.assertEqual(self.DUT._piE, [1.0, 2.0, 10.0, 5.0, 17.0, 4.0, 8.0,
16.0, 35.0, 24.0, 0.5, 13.0, 34.0,
610.0])
self.assertEqual(self.DUT._piQ, [0.03, 0.1, 0.3, 1.0, 3.0, 10.0])
self.assertEqual(self.DUT._lambdab_count, [0.00078, 0.0022, 0.013,
0.0056, 0.023, 0.0077,
0.015, 0.053, 0.12, 0.048,
0.00039, 0.017, 0.065,
0.68])
self.assertEqual(self.DUT.subcategory, 50)
self.assertEqual(self.DUT.specification, 0)
self.assertEqual(self.DUT.spec_sheet, 0)
self.assertEqual(self.DUT.reference_temperature, 358.0)
@attr(all=True, unit=True)
def test_calculate_217_count(self):
"""
(TestCeramicChip) calculate_part should return False on success when calculating MIL-HDBK-217F parts count results for the 85C specification
"""
self.DUT.quality = 1
self.DUT.environment_active = 5
self.DUT.specification = 2
self.DUT.hazard_rate_type = 1
self.assertFalse(self.DUT.calculate_part())
self.assertEqual(self.DUT.hazard_rate_model['equation'],
'lambdab * piQ')
self.assertAlmostEqual(self.DUT.hazard_rate_model['lambdab'], 0.023)
self.assertEqual(self.DUT.hazard_rate_model['piQ'], 0.03)
self.assertAlmostEqual(self.DUT.hazard_rate_active, 6.9E-10)
@attr(all=True, unit=True)
def test_calculate_217_stress_low_temp(self):
"""
(TestCeramicChip) calculate_part should return False on success when calculating MIL-HDBK-217F stress results for the 85C specification
"""
self.DUT.environment_active = 2
self.DUT.hazard_rate_type = 2
self.DUT.reference_temperature = 358.0
self.DUT.quality = 1
self.DUT.operating_voltage = 1.25
self.DUT.acvapplied = 0.0025
self.DUT.rated_voltage = 3.3
self.DUT.capacitance = 2.7E-6
self.assertFalse(self.DUT.calculate_part())
self.assertEqual(self.DUT.hazard_rate_model['equation'],
'lambdab * piQ * piE * piCV')
self.assertAlmostEqual(self.DUT.hazard_rate_model['lambdab'],
0.001364472)
self.assertEqual(self.DUT.hazard_rate_model['piQ'], 0.03)
self.assertEqual(self.DUT.hazard_rate_model['piE'], 2.0)
self.assertAlmostEqual(self.DUT.hazard_rate_model['piCV'], 0.664684671)
self.assertAlmostEqual(self.DUT.hazard_rate_active, 5.44166362E-11)
@attr(all=True, unit=True)
def test_calculate_217_stress_high_temp(self):
"""
(TestCeramicChip) calculate_part should return False on success when calculating MIL-HDBK-217F stress results for the 125C specification
"""
self.DUT.environment_active = 2
self.DUT.hazard_rate_type = 2
self.DUT.reference_temperature = 398.0
self.DUT.quality = 1
self.DUT.operating_voltage = 1.25
self.DUT.acvapplied = 0.0025
self.DUT.rated_voltage = 3.3
self.DUT.capacitance = 2.7E-6
self.assertFalse(self.DUT.calculate_part())
self.assertEqual(self.DUT.hazard_rate_model['equation'],
'lambdab * piQ * piE * piCV')
self.assertAlmostEqual(self.DUT.hazard_rate_model['lambdab'],
0.000404291)
self.assertEqual(self.DUT.hazard_rate_model['piQ'], 0.03)
self.assertEqual(self.DUT.hazard_rate_model['piE'], 2.0)
self.assertAlmostEqual(self.DUT.hazard_rate_model['piCV'], 0.664684671)
self.assertAlmostEqual(self.DUT.hazard_rate_active, 1.61235464E-11)
@attr(all=True, unit=True)
def test_calculate_217_stress_overflow(self):
"""
(TestCeramicChip) calculate_part should return True when an OverflowError is raised when calculating MIL-HDBK-217F stress results
"""
self.DUT.environment_active = 2
self.DUT.hazard_rate_type = 2
self.DUT.quality = 1
self.DUT.operating_voltage = 1.25
self.DUT.acvapplied = 0.0025
self.DUT.rated_voltage = 3.3
self.DUT.capacitance = 2.7E-6
self.DUT.reference_temperature = 0.00000001
self.assertTrue(self.DUT.calculate_part())
@attr(all=True, unit=True)
def test_calculate_217_stress_zero_division(self):
"""
(TestCeramicChip) calculate_part should return True when a ZeroDivisionError is raised when calculating MIL-HDBK-217F stress results
"""
self.DUT.environment_active = 2
self.DUT.hazard_rate_type = 2
self.DUT.quality = 1
self.DUT.operating_voltage = 1.25
self.DUT.acvapplied = 0.0025
self.DUT.rated_voltage = 3.3
self.DUT.capacitance = 2.7E-6
self.DUT.reference_temperature = 0.0
self.assertTrue(self.DUT.calculate_part())
class TestCeramicGeneralModel(unittest.TestCase):
"""
Class for testing the General Ceramic capacitor data model class.
"""
def setUp(self):
"""
Setup the test fixture for the General Ceramic capacitor class.
"""
self.DUT = General()
@attr(all=True, unit=True)
def test_create(self):
"""
(TestCeramicGeneral) __init__ should return a General Ceramic capacitor model
"""
self.assertTrue(isinstance(self.DUT, General))
# Verify Hardware class was properly initialized.
self.assertEqual(self.DUT.revision_id, None)
self.assertEqual(self.DUT.category_id, 0)
# Verify Capacitor class was properly initialized.
self.assertEqual(self.DUT.quality, 0)
# Verify the General Ceramic capacitor class was properly initialized.
self.assertEqual(self.DUT._piE, [1.0, 2.0, 9.0, 5.0, 15.0, 4.0, 4.0,
8.0, 12.0, 20.0, 0.4, 13.0, 34.0,
610.0])
self.assertEqual(self.DUT._piQ, [0.03, 0.1, 0.3, 1.0, 3.0, 3.0, 10.0])
self.assertEqual(self.DUT._lambdab_count, [0.0036, 0.0074, 0.034,
0.019, 0.056, 0.015, 0.015,
0.032, 0.048, 0.077, 0.0014,
0.049, 0.13, 2.3])
self.assertEqual(self.DUT.subcategory, 49)
self.assertEqual(self.DUT.reference_temperature, 358.0)
@attr(all=True, unit=True)
def test_calculate_217_count(self):
"""
(TestCeramicGeneral) calculate_part should return False on success when calculating MIL-HDBK-217F parts count results
"""
self.DUT.environment_active = 5
self.DUT.hazard_rate_type = 1
self.DUT.quality = 1
self.assertFalse(self.DUT.calculate_part())
self.assertEqual(self.DUT.hazard_rate_model['equation'],
'lambdab * piQ')
self.assertAlmostEqual(self.DUT.hazard_rate_model['lambdab'], 0.056)
self.assertEqual(self.DUT.hazard_rate_model['piQ'], 0.03)
self.assertAlmostEqual(self.DUT.hazard_rate_active, 1.68E-9)
@attr(all=True, unit=True)
def test_calculate_217_stress_low_temp(self):
"""
(TestCeramicGeneral) calculate_part should return False on success when calculating MIL-HDBK-217F stress results for 85C specification
"""
self.DUT.environment_active = 2
self.DUT.hazard_rate_type = 2
self.DUT.reference_temperature = 358.0
self.DUT.operating_voltage = 1.25
self.DUT.acvapplied = 0.0025
self.DUT.rated_voltage = 3.3
self.DUT.capacitance = 2.7E-6
self.assertFalse(self.DUT.calculate_part())
self.assertEqual(self.DUT.hazard_rate_model['equation'],
'lambdab * piQ * piE * piCV')
self.assertAlmostEqual(self.DUT.hazard_rate_model['lambdab'],
0.002115542)
self.assertEqual(self.DUT.hazard_rate_model['piQ'], 10.0)
self.assertEqual(self.DUT.hazard_rate_model['piE'], 2.0)
self.assertAlmostEqual(self.DUT.hazard_rate_model['piCV'], 0.457334401)
self.assertAlmostEqual(self.DUT.hazard_rate_active, 1.93502018e-8)
@attr(all=True, unit=True)
def test_calculate_217_stress_mid_temp(self):
"""
(TestCeramicGeneral) calculate_part should return False on success when calculating MIL-HDBK-217F stress results for 125C specification
"""
self.DUT.environment_active = 2
self.DUT.hazard_rate_type = 2
self.DUT.reference_temperature = 398.0
self.DUT.operating_voltage = 1.25
self.DUT.acvapplied = 0.0025
self.DUT.rated_voltage = 3.3
self.DUT.capacitance = 2.7E-6
self.assertFalse(self.DUT.calculate_part())
self.assertEqual(self.DUT.hazard_rate_model['equation'],
'lambdab * piQ * piE * piCV')
self.assertAlmostEqual(self.DUT.hazard_rate_model['lambdab'],
0.00194303)
self.assertEqual(self.DUT.hazard_rate_model['piQ'], 10.0)
self.assertEqual(self.DUT.hazard_rate_model['piE'], 2.0)
self.assertAlmostEqual(self.DUT.hazard_rate_model['piCV'], 0.457334401)
self.assertAlmostEqual(self.DUT.hazard_rate_active, 1.77722929e-8)
@attr(all=True, unit=True)
def test_calculate_217_stress_high_temp(self):
"""
(TestCeramicGeneral) calculate_part should return False on success when calculating MIL-HDBK-217F stress results for 150C specification
"""
self.DUT.environment_active = 2
self.DUT.hazard_rate_type = 2
self.DUT.reference_temperature = 423.0
self.DUT.operating_voltage = 1.25
self.DUT.acvapplied = 0.0025
self.DUT.rated_voltage = 3.3
self.DUT.capacitance = 2.7E-6
self.assertFalse(self.DUT.calculate_part())
self.assertEqual(self.DUT.hazard_rate_model['equation'],
'lambdab * piQ * piE * piCV')
self.assertAlmostEqual(self.DUT.hazard_rate_model['lambdab'],
0.001857542)
self.assertEqual(self.DUT.hazard_rate_model['piQ'], 10.0)
self.assertEqual(self.DUT.hazard_rate_model['piE'], 2.0)
self.assertAlmostEqual(self.DUT.hazard_rate_model['piCV'], 0.457334401)
self.assertAlmostEqual(self.DUT.hazard_rate_active, 1.69903611E-8)
@attr(all=True, unit=True)
def test_calculate_217_stress_overflow(self):
"""
(TestCeramicGeneral) calculate_part should return True when an OverflowError is raised when calculating MIL-HDBK-217F stress results
"""
self.DUT.hazard_rate_type = 2
self.DUT.operating_voltage = 1.25
self.DUT.acvapplied = 0.025
self.DUT.rated_voltage = 3.3
self.DUT.capacitance = 0.0000033
self.DUT.effective_resistance = 0.5
self.DUT.reference_temperature = 0.00000001
self.assertTrue(self.DUT.calculate_part())
@attr(all=True, unit=True)
def test_calculate_217_stress_zero_division(self):
"""
(TestCeramicGeneral) calculate_part should return True when a ZeroDivisionError is raised when calculating MIL-HDBK-217F stress results
"""
self.DUT.hazard_rate_type = 2
self.DUT.operating_voltage = 1.25
self.DUT.acvapplied = 0.025
self.DUT.rated_voltage = 3.3
self.DUT.capacitance = 0.0000033
self.DUT.effective_resistance = 0.5
self.DUT.reference_temperature = 0.0
self.assertTrue(self.DUT.calculate_part())
| 40.027027 | 148 | 0.629154 | 1,688 | 13,329 | 4.81872 | 0.127962 | 0.124785 | 0.078313 | 0.10241 | 0.874478 | 0.855791 | 0.846324 | 0.818908 | 0.810548 | 0.801697 | 0 | 0.073424 | 0.264311 | 13,329 | 332 | 149 | 40.14759 | 0.756068 | 0.180359 | 0 | 0.75 | 0 | 0 | 0.040836 | 0.002659 | 0 | 0 | 0 | 0 | 0.331731 | 1 | 0.072115 | false | 0 | 0.024038 | 0 | 0.105769 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8f01406e284afab32f2bd32bca6b892d3033f7e8 | 6,073 | py | Python | Solutions/011.py | exynil/Project-Euler | 1fdae19b09c461dfef4a7e35c7d33259aac9db51 | [
"Apache-2.0"
] | null | null | null | Solutions/011.py | exynil/Project-Euler | 1fdae19b09c461dfef4a7e35c7d33259aac9db51 | [
"Apache-2.0"
] | 1 | 2019-04-30T06:03:29.000Z | 2019-04-30T06:03:29.000Z | Solutions/011.py | exynil/project-euler | 1fdae19b09c461dfef4a7e35c7d33259aac9db51 | [
"Apache-2.0"
] | null | null | null | # В таблице 20×20 (внизу) четыре числа на одной диагонали выделены красным.
#
# 08 02 22 97 38 15 00 40 00 75 04 05 07 78 52 12 50 77 91 08
# 49 49 99 40 17 81 18 57 60 87 17 40 98 43 69 48 04 56 62 00
# 81 49 31 73 55 79 14 29 93 71 40 67 53 88 30 03 49 13 36 65
# 52 70 95 23 04 60 11 42 69 24 68 56 01 32 56 71 37 02 36 91
# 22 31 16 71 51 67 63 89 41 92 36 54 22 40 40 28 66 33 13 80
# 24 47 32 60 99 03 45 02 44 75 33 53 78 36 84 20 35 17 12 50
# 32 98 81 28 64 23 67 10 26 38 40 67 59 54 70 66 18 38 64 70
# 67 26 20 68 02 62 12 20 95 63 94 39 63 08 40 91 66 49 94 21
# 24 55 58 05 66 73 99 26 97 17 78 78 96 83 14 88 34 89 63 72
# 21 36 23 09 75 00 76 44 20 45 35 14 00 61 33 97 34 31 33 95
# 78 17 53 28 22 75 31 67 15 94 03 80 04 62 16 14 09 53 56 92
# 16 39 05 42 96 35 31 47 55 58 88 24 00 17 54 24 36 29 85 57
# 86 56 00 48 35 71 89 07 05 44 44 37 44 60 21 58 51 54 17 58
# 19 80 81 68 05 94 47 69 28 73 92 13 86 52 17 77 04 89 55 40
# 04 52 08 83 97 35 99 16 07 97 57 32 16 26 26 79 33 27 98 66
# 88 36 68 87 57 62 20 72 03 46 33 67 46 55 12 32 63 93 53 69
# 04 42 16 73 38 25 39 11 24 94 72 18 08 46 29 32 40 62 76 36
# 20 69 36 41 72 30 23 88 34 62 99 69 82 67 59 85 74 04 36 16
# 20 73 35 29 78 31 90 01 74 31 49 71 48 86 81 16 23 57 05 54
# 01 70 54 71 83 51 54 69 16 92 33 48 61 43 52 01 89 19 67 48
#
# Произведение этих чисел 26 × 63 × 78 × 14 = 1788696.
#
# Каково наибольшее произведение четырех подряд идущих чисел в таблице 20×20,
# расположенных в любом направлении (вверх, вниз, вправо, влево или по диагонали)?
# python 3.7.3
data = '08 02 22 97 38 15 00 40 00 75 04 05 07 78 52 12 50 77 91 08 49 49 99 40 17 81 18 57 60 87 17 40 98 43 69 48 ' \
'04 56 62 00 81 49 31 73 55 79 14 29 93 71 40 67 53 88 30 03 49 13 36 65 52 70 95 23 04 60 11 42 69 24 68 56 ' \
'01 32 56 71 37 02 36 91 22 31 16 71 51 67 63 89 41 92 36 54 22 40 40 28 66 33 13 80 24 47 32 60 99 03 45 02 ' \
'44 75 33 53 78 36 84 20 35 17 12 50 32 98 81 28 64 23 67 10 26 38 40 67 59 54 70 66 18 38 64 70 67 26 20 68 ' \
'02 62 12 20 95 63 94 39 63 08 40 91 66 49 94 21 24 55 58 05 66 73 99 26 97 17 78 78 96 83 14 88 34 89 63 72 ' \
'21 36 23 09 75 00 76 44 20 45 35 14 00 61 33 97 34 31 33 95 78 17 53 28 22 75 31 67 15 94 03 80 04 62 16 14 ' \
'09 53 56 92 16 39 05 42 96 35 31 47 55 58 88 24 00 17 54 24 36 29 85 57 86 56 00 48 35 71 89 07 05 44 44 37 ' \
'44 60 21 58 51 54 17 58 19 80 81 68 05 94 47 69 28 73 92 13 86 52 17 77 04 89 55 40 04 52 08 83 97 35 99 16 ' \
'07 97 57 32 16 26 26 79 33 27 98 66 88 36 68 87 57 62 20 72 03 46 33 67 46 55 12 32 63 93 53 69 04 42 16 73 ' \
'38 25 39 11 24 94 72 18 08 46 29 32 40 62 76 36 20 69 36 41 72 30 23 88 34 62 99 69 82 67 59 85 74 04 36 16 ' \
'20 73 35 29 78 31 90 01 74 31 49 71 48 86 81 16 23 57 05 54 01 70 54 71 83 51 54 69 16 92 33 48 61 43 52 01 ' \
'89 19 67 48'
data = data.split()
ROWS = 20
COLS = 20
LENGTH = 4
row_index = 0
col_index = 0
greatest_product = 0
direction = ''
table = [0] * ROWS
for i in range(0, ROWS):
table[i] = [0] * COLS
for j in range(0, COLS):
table[i][j] = int(data[i * ROWS + j])
for i in range(0, ROWS):
for j in range(0, COLS):
# Вправо
if j + LENGTH <= COLS - 1:
temp = 1
for k in range(0, LENGTH):
temp *= table[i][j + k]
if greatest_product < temp:
greatest_product = temp
row_index = i
col_index = j
direction = '→'
# Влево
if j - LENGTH >= 0:
temp = 1
for k in range(0, LENGTH):
temp *= table[i][j - k]
if greatest_product < temp:
greatest_product = temp
row_index = i
col_index = j
direction = '←'
# Вниз
if i + LENGTH <= ROWS - 1:
temp = 1
for k in range(0, LENGTH):
temp *= table[i + k][j]
if greatest_product < temp:
greatest_product = temp
row_index = i
col_index = j
direction = '↓'
# Вверх
if i - LENGTH >= 0:
temp = 1
for k in range(0, LENGTH):
temp *= table[i - k][j]
if greatest_product < temp:
greatest_product = temp
row_index = i
col_index = j
direction = '↑'
# Вверх и вправо
if i - LENGTH >= 0 and j + LENGTH <= COLS - 1:
temp = 1
for k in range(0, LENGTH):
temp *= table[i - k][j + k]
if greatest_product < temp:
greatest_product = temp
row_index = i
col_index = j
direction = '↗'
# Вниз и вправо
if i + LENGTH <= ROWS - 1 and j + LENGTH <= COLS - 1:
temp = 1
for k in range(0, LENGTH):
temp *= table[i + k][j + k]
if greatest_product < temp:
greatest_product = temp
row_index = i
col_index = j
direction = '↘'
# Вниз и влево
if i + LENGTH <= ROWS - 1 and j - LENGTH >= 0:
temp = 1
for k in range(0, LENGTH):
temp *= table[i + k][j - k]
if greatest_product < temp:
greatest_product = temp
row_index = i
col_index = j
direction = '↙'
# Вверх и влево
if i - LENGTH >= 0 and j - LENGTH >= 0:
temp = 1
for k in range(0, LENGTH):
temp *= table[i - k][j - k]
if greatest_product < temp:
greatest_product = temp
row_index = i
col_index = j
direction = '↖'
print(f'Строка: {row_index + 1}')
print(f'Столбец: {col_index + 1}')
print(f'Наибольшее произведение: {greatest_product}')
print(f'Напрвление: {direction}')
| 40.486667 | 119 | 0.526428 | 1,230 | 6,073 | 2.578862 | 0.138211 | 0.08512 | 0.095839 | 0.022699 | 0.843947 | 0.823455 | 0.803279 | 0.796974 | 0.788146 | 0.788146 | 0 | 0.465181 | 0.408859 | 6,073 | 149 | 120 | 40.758389 | 0.414763 | 0.259509 | 0 | 0.504854 | 0 | 0.106796 | 0.295964 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.038835 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
8f50aa1945c5757f747d020ce00f4b4e0493647c | 7,278 | py | Python | pfnet/constraints/dummy_constraint.py | jbarberia/PFNET.py | a2f327d84401acc63fd4ce91c99086770ce72a6b | [
"BSD-2-Clause"
] | 3 | 2018-03-21T11:54:38.000Z | 2020-12-29T16:46:14.000Z | pfnet/constraints/dummy_constraint.py | jbarberia/PFNET.py | a2f327d84401acc63fd4ce91c99086770ce72a6b | [
"BSD-2-Clause"
] | 23 | 2018-03-29T00:42:06.000Z | 2021-01-05T19:15:05.000Z | pfnet/constraints/dummy_constraint.py | ttinoco/PFNET.py | 3a6845d132ddba6053fc84b1099597d99c0ac5e2 | [
"BSD-2-Clause"
] | 5 | 2018-10-01T19:05:11.000Z | 2020-05-27T06:19:11.000Z | #***************************************************#
# This file is part of PFNET. #
# #
# Copyright (c) 2015, Tomas Tinoco De Rubira. #
# #
# PFNET is released under the BSD 2-clause license. #
#***************************************************#
import numpy as np
from scipy.sparse import coo_matrix
from pfnet import CustomConstraint
class DummyDCPF(CustomConstraint):
def init(self):
self.name = "dummy DC power balance"
def count_step(self, bus, busdc, t):
if bus is None:
return
if not bus.is_in_service():
return
bus.set_dP_index(self.A_row, t)
for gen in bus.generators:
if not gen.is_in_service():
continue
if gen.has_flags('variable','active power'):
self.A_nnz = self.A_nnz+1
for load in bus.loads:
if not load.is_in_service():
continue
if load.has_flags('variable','active power'):
self.A_nnz = self.A_nnz+1
for vargen in bus.var_generators:
if not vargen.is_in_service():
continue
if vargen.has_flags('variable','active power'):
self.A_nnz = self.A_nnz+1
for bat in bus.batteries:
if not bat.is_in_service():
continue
if bat.has_flags('variable','charging power'):
self.A_nnz = self.A_nnz+2
for branch in bus.branches_k:
if not branch.is_in_service():
continue
buses = [branch.bus_k, branch.bus_m]
if buses[0].has_flags('variable','voltage angle'):
self.A_nnz = self.A_nnz+1
if buses[1].has_flags('variable','voltage angle'):
self.A_nnz = self.A_nnz+1
if branch.has_flags('variable','phase shift'):
self.A_nnz = self.A_nnz+1
for branch in bus.branches_m:
if not branch.is_in_service():
continue
buses = [branch.bus_m, branch.bus_k]
if buses[0].has_flags('variable','voltage angle'):
self.A_nnz = self.A_nnz+1
if buses[1].has_flags('variable','voltage angle'):
self.A_nnz = self.A_nnz+1
if branch.has_flags('variable','phase shift'):
self.A_nnz = self.A_nnz+1
self.A_row = self.A_row+1
def analyze_step(self, bus, busdc, t):
if bus is None:
return
if not bus.is_in_service():
return
for gen in bus.generators:
if not gen.is_in_service():
continue
if gen.has_flags('variable','active power'):
self.A.row[self.A_nnz] = self.A_row
self.A.col[self.A_nnz] = gen.index_P[t]
self.A.data[self.A_nnz] = 1.
self.A_nnz = self.A_nnz+1
else:
self.b[self.A_row] += -gen.P[t]
for load in bus.loads:
if not load.is_in_service():
continue
if load.has_flags('variable','active power'):
self.A.row[self.A_nnz] = self.A_row
self.A.col[self.A_nnz] = load.index_P[t]
self.A.data[self.A_nnz] = -1.
self.A_nnz = self.A_nnz+1
else:
self.b[self.A_row] += load.P[t]
for vargen in bus.var_generators:
if not vargen.is_in_service():
continue
if vargen.has_flags('variable','active power'):
self.A.row[self.A_nnz] = self.A_row
self.A.col[self.A_nnz] = vargen.index_P[t]
self.A.data[self.A_nnz] = 1.
self.A_nnz = self.A_nnz+1
else:
self.b[self.A_row] += -vargen.P[t]
for bat in bus.batteries:
if not bat.is_in_service():
continue
if bat.has_flags('variable','charging power'):
self.A.row[self.A_nnz] = self.A_row
self.A.col[self.A_nnz] = bat.index_Pc[t]
self.A.data[self.A_nnz] = -1.
self.A_nnz = self.A_nnz+1
self.A.row[self.A_nnz] = self.A_row
self.A.col[self.A_nnz] = bat.index_Pd[t]
self.A.data[self.A_nnz] = 1.
self.A_nnz = self.A_nnz+1
else:
self.b[self.A_row] += bat.P[t]
for branch in bus.branches_k:
if not branch.is_in_service():
continue
buses = [branch.bus_k, branch.bus_m]
if buses[0].has_flags('variable','voltage angle'):
self.A.row[self.A_nnz] = self.A_row
self.A.col[self.A_nnz] = buses[0].index_v_ang[t]
self.A.data[self.A_nnz] = branch.b
self.A_nnz = self.A_nnz+1
else:
self.b[self.A_row] += -branch.b*buses[0].v_ang[t]
if buses[1].has_flags('variable','voltage angle'):
self.A.row[self.A_nnz] = self.A_row
self.A.col[self.A_nnz] = buses[1].index_v_ang[t]
self.A.data[self.A_nnz] = -branch.b
self.A_nnz = self.A_nnz+1
else:
self.b[self.A_row] += branch.b*buses[1].v_ang[t]
if branch.has_flags('variable','phase shift'):
self.A.row[self.A_nnz] = self.A_row
self.A.col[self.A_nnz] = branch.index_phase[t]
self.A.data[self.A_nnz] = -branch.b
self.A_nnz = self.A_nnz+1
else:
self.b[self.A_row] += branch.b*branch.phase[t]
for branch in bus.branches_m:
if not branch.is_in_service():
continue
buses = [branch.bus_m, branch.bus_k]
if buses[0].has_flags('variable','voltage angle'):
self.A.row[self.A_nnz] = self.A_row
self.A.col[self.A_nnz] = buses[0].index_v_ang[t]
self.A.data[self.A_nnz] = branch.b
self.A_nnz = self.A_nnz+1
else:
self.b[self.A_row] += -branch.b*buses[0].v_ang[t]
if buses[1].has_flags('variable','voltage angle'):
self.A.row[self.A_nnz] = self.A_row
self.A.col[self.A_nnz] = buses[1].index_v_ang[t]
self.A.data[self.A_nnz] = -branch.b
self.A_nnz = self.A_nnz+1
else:
self.b[self.A_row] += branch.b*buses[1].v_ang[t]
if branch.has_flags('variable','phase shift'):
self.A.row[self.A_nnz] = self.A_row
self.A.col[self.A_nnz] = branch.index_phase[t]
self.A.data[self.A_nnz] = branch.b
self.A_nnz = self.A_nnz+1
else:
self.b[self.A_row] += -branch.b*branch.phase[t]
self.A_row = self.A_row+1
def eval_step(self, bus, busdc, t, x, y):
pass
def store_sens_step(self, bus, busdc, t, sA, sf, sGu, sGl):
pass
| 38.507937 | 65 | 0.491893 | 1,014 | 7,278 | 3.343195 | 0.101578 | 0.19764 | 0.176991 | 0.113274 | 0.896165 | 0.886136 | 0.885841 | 0.882596 | 0.874631 | 0.874631 | 0 | 0.010807 | 0.377027 | 7,278 | 188 | 66 | 38.712766 | 0.736877 | 0.049052 | 0 | 0.853503 | 0 | 0 | 0.062256 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031847 | false | 0.012739 | 0.019108 | 0 | 0.082803 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
56b60b6176f8f8606bdacfbf7bd3a16ba9a6c22e | 5,200 | py | Python | ImageNet/BinarizedModules.py | zswdian/BinarizedSNPS | d1a1a1f7eea74ee8f9c2233ae94f7fa079dc11d5 | [
"Apache-2.0"
] | null | null | null | ImageNet/BinarizedModules.py | zswdian/BinarizedSNPS | d1a1a1f7eea74ee8f9c2233ae94f7fa079dc11d5 | [
"Apache-2.0"
] | null | null | null | ImageNet/BinarizedModules.py | zswdian/BinarizedSNPS | d1a1a1f7eea74ee8f9c2233ae94f7fa079dc11d5 | [
"Apache-2.0"
] | null | null | null | import torch
import torch.nn as nn
class BinActive(torch.autograd.Function):
def forward(self, input):
self.save_for_backward(input)
return input.sign()
def backward(self, grad_output):
input, = self.saved_tensors
grad_input = grad_output.clone()
grad_input[input.le(-1)] = 0
grad_input[input.ge(1)] = 0
return grad_input
class BinConv2d(nn.Module):
def __init__(self, input_channels, output_channels, kernel_size=-1,
stride=-1, padding=-1, dropout=0, groups=1, Linear=False):
super(BinConv2d, self).__init__()
self.layer_type = 'BinConv2d'
self.kernel_size = kernel_size
self.stride = stride
self.padding = padding
self.groups = groups
self.Linear = Linear
self.dropout_ratio = dropout
if dropout != 0:
self.dropout = nn.Dropout(dropout)
if not self.Linear:
self.bn = nn.BatchNorm2d(input_channels, eps=1e-4, momentum=0.1, affine=True)
self.bn.weight.data = self.bn.weight.data.zero_().add(1.0)
self.conv = nn.Conv2d(input_channels, output_channels, kernel_size=kernel_size,
stride=stride, padding=padding, groups=groups)
else:
self.bn = nn.BatchNorm1d(input_channels, eps=1e-4, momentum=0.1, affine=True)
self.bn.weight.data = self.bn.weight.data.zero_().add(1.0)
self.linear = nn.Linear(input_channels, output_channels)
self.relu = nn.ReLU(inplace=True)
def forward(self, input):
x = self.bn(input)
x = BinActive()(x)
if self.dropout_ratio != 0:
x = self.dropout(x)
if not self.Linear:
x = self.conv(x)
else:
x = self.linear(x)
x = self.relu(x)
return x
class BinSNPConv2d(nn.Module):
def __init__(self, input_channels, output_channels, kernel_size=-1,
stride=-1, padding=-1, dropout=0, groups=1, Linear=False):
super(BinSNPConv2d, self).__init__()
self.layer_type = 'BinSNPSConv2d'
self.kernel_size = kernel_size
self.stride = stride
self.padding = padding
self.groups = groups
self.Linear = Linear
self.dropout_ratio = dropout
if dropout != 0:
self.dropout = nn.Dropout(dropout)
if not self.Linear:
self.bn = nn.BatchNorm2d(input_channels, eps=1e-4, momentum=0.1, affine=True)
self.bn.weight.data = self.bn.weight.data.zero_().add(1.0)
self.conv = nn.Conv2d(input_channels, output_channels, kernel_size=kernel_size,
stride=stride, padding=padding, groups=groups)
else:
self.bn = nn.BatchNorm1d(input_channels, eps=1e-4, momentum=0.1, affine=True)
self.bn.weight.data = self.bn.weight.data.zero_().add(1.0)
self.linear = nn.Linear(input_channels, output_channels)
self.prelu = nn.PReLU()
def forward(self, input):
x = self.prelu(input)
x = BinActive()(x)
if self.dropout_ratio != 0:
x = self.dropout(x)
if not self.Linear:
x = self.conv(x)
else:
x = self.linear(x)
x = self.bn(x)
return x
class BinResNetConv2d(nn.Module):
def __init__(self, input_channels, output_channels, kernel_size=1,
stride=1, padding=1, groups=1, bias=False, is_relu=True):
super(BinResNetConv2d, self).__init__()
self.layer_type = 'BinResNetConv2d'
self.kernel_size = kernel_size
self.stride = stride
self.padding = padding
self.groups = groups
self.bias = bias
self.is_relu = is_relu
self.bn = nn.BatchNorm2d(output_channels)
self.bn.weight.data = self.bn.weight.data.zero_().add(1.0)
self.conv = nn.Conv2d(input_channels, output_channels, kernel_size=kernel_size,
stride=stride, padding=padding, bias=bias)
self.relu = nn.ReLU(inplace=True)
def forward(self, input):
x = self.bn(input)
x = BinActive()(x)
x = self.conv(x)
if self.is_relu:
x = self.relu(x)
return x
class BinResNetSNPConv2d(nn.Module):
def __init__(self, input_channels, output_channels, kernel_size=1,
stride=1, padding=1, groups=1, bias=False):
super(BinResNetSNPConv2d, self).__init__()
self.layer_type = 'BinSNPConv2d'
self.kernel_size = kernel_size
self.stride = stride
self.padding = padding
self.groups = groups
self.bias = bias
self.bn = nn.BatchNorm2d(input_channels)
self.bn.weight.data = self.bn.weight.data.zero_().add(1.0)
self.conv = nn.Conv2d(input_channels, output_channels, kernel_size=kernel_size,
stride=stride, padding=padding, groups=groups, bias=bias)
self.relu = nn.ReLU(inplace=True)
def forward(self, input):
x = self.relu(input)
x = self.bn(x)
x = BinActive()(x)
x = self.conv(x)
return x | 34.437086 | 91 | 0.592885 | 663 | 5,200 | 4.491704 | 0.105581 | 0.044325 | 0.048355 | 0.064473 | 0.822364 | 0.794157 | 0.779382 | 0.755876 | 0.755876 | 0.755876 | 0 | 0.020686 | 0.293462 | 5,200 | 151 | 92 | 34.437086 | 0.789875 | 0 | 0 | 0.725806 | 0 | 0 | 0.009421 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.080645 | false | 0 | 0.016129 | 0 | 0.185484 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
56ca361e5727863cb2d70190d2f82e3f4a75010a | 105 | py | Python | progmod/nullpunkt/__init__.py | NadderudVGS/ProgMod-Pakka | d359f24ac1417890e6c639f46f8c9b3931a925cf | [
"MIT"
] | 1 | 2020-07-15T14:29:40.000Z | 2020-07-15T14:29:40.000Z | progmod/nullpunkt/__init__.py | NadderudVGS/ProgMod-Pakka | d359f24ac1417890e6c639f46f8c9b3931a925cf | [
"MIT"
] | 5 | 2020-02-13T18:09:30.000Z | 2020-06-09T08:29:37.000Z | progmod/nullpunkt/__init__.py | NadderudVGS/ProgMod-Pakka | d359f24ac1417890e6c639f46f8c9b3931a925cf | [
"MIT"
] | null | null | null | from progmod.Nullpunkt.new_metode import new_metode
from progmod.Nullpunkt.halv_metode import halv_metode | 52.5 | 53 | 0.895238 | 16 | 105 | 5.625 | 0.4375 | 0.244444 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 105 | 2 | 53 | 52.5 | 0.918367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
7113d1e05c1b26f4b1b6e501fdd60c913667a983 | 1,206 | py | Python | muninn/visitor.py | srepmub/muninn | 6271a3fb514bbe9012d4da7a6ee63f00c5db0180 | [
"BSD-3-Clause"
] | 1 | 2019-02-08T03:22:41.000Z | 2019-02-08T03:22:41.000Z | muninn/visitor.py | DalavanCloud/muninn | c07ba3301dec53317273d20b0f3c7c0fda534f63 | [
"BSD-3-Clause"
] | null | null | null | muninn/visitor.py | DalavanCloud/muninn | c07ba3301dec53317273d20b0f3c7c0fda534f63 | [
"BSD-3-Clause"
] | null | null | null | #
# Copyright (C) 2014-2019 S[&]T, The Netherlands.
#
from __future__ import absolute_import, division, print_function
import inspect
class TypeVisitor(object):
def visit(self, visitable, *args, **kwargs):
for type in inspect.getmro(visitable):
try:
visit_func = getattr(self, "visit_%s" % type.__name__)
except AttributeError:
pass
else:
return visit_func(visitable, *args, **kwargs)
try:
visit_func = getattr(self, "default")
except AttributeError:
pass
else:
return visit_func(visitable, *args, **kwargs)
class Visitor(object):
def visit(self, visitable, *args, **kwargs):
for type_ in inspect.getmro(type(visitable)):
try:
visit_func = getattr(self, "visit_%s" % type_.__name__)
except AttributeError:
pass
else:
return visit_func(visitable, *args, **kwargs)
try:
visit_func = getattr(self, "default")
except AttributeError:
pass
else:
return visit_func(visitable, *args, **kwargs)
| 27.409091 | 71 | 0.558872 | 119 | 1,206 | 5.445378 | 0.336134 | 0.111111 | 0.175926 | 0.117284 | 0.799383 | 0.799383 | 0.799383 | 0.799383 | 0.799383 | 0.799383 | 0 | 0.010114 | 0.344113 | 1,206 | 43 | 72 | 28.046512 | 0.809102 | 0.038972 | 0 | 0.75 | 0 | 0 | 0.025974 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0.125 | 0.0625 | 0 | 0.3125 | 0.03125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
85919f9f0e97cb1b31ac7d212196d3b02aba972a | 245 | py | Python | Day1/drawStarWithTurtle.py | genghis-yang/python-100-days-exercises | 309e5519cd8b14172f6caf52a303bc46b8a28d57 | [
"MIT"
] | null | null | null | Day1/drawStarWithTurtle.py | genghis-yang/python-100-days-exercises | 309e5519cd8b14172f6caf52a303bc46b8a28d57 | [
"MIT"
] | null | null | null | Day1/drawStarWithTurtle.py | genghis-yang/python-100-days-exercises | 309e5519cd8b14172f6caf52a303bc46b8a28d57 | [
"MIT"
] | null | null | null | import turtle
turtle.pensize(1)
turtle.pencolor('red')
turtle.forward(100)
turtle.right(144)
turtle.forward(100)
turtle.right(144)
turtle.forward(100)
turtle.right(144)
turtle.forward(100)
turtle.right(144)
turtle.forward(100)
turtle.mainloop() | 17.5 | 22 | 0.787755 | 37 | 245 | 5.216216 | 0.297297 | 0.336788 | 0.414508 | 0.569948 | 0.735751 | 0.735751 | 0.735751 | 0.735751 | 0.735751 | 0.735751 | 0 | 0.121212 | 0.057143 | 245 | 14 | 23 | 17.5 | 0.714286 | 0 | 0 | 0.692308 | 0 | 0 | 0.012195 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.076923 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
85c7da66b87b76a269a0a34d0fe303725d15795f | 1,562 | py | Python | wem/index/fakeUserAgent.py | ymaktepi/WEM-Project | 58238d8de15bed85ef20a5c31ee18093422b2717 | [
"MIT"
] | null | null | null | wem/index/fakeUserAgent.py | ymaktepi/WEM-Project | 58238d8de15bed85ef20a5c31ee18093422b2717 | [
"MIT"
] | null | null | null | wem/index/fakeUserAgent.py | ymaktepi/WEM-Project | 58238d8de15bed85ef20a5c31ee18093422b2717 | [
"MIT"
] | null | null | null | from random import choice
class FakeUserAgent(object):
def __init__(self):
self._desktop_agents = [
'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36',
'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36',
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/602.2.14 (KHTML, like Gecko) Version/10.0.1 Safari/602.2.14',
'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36',
'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36',
'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36',
'Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0']
def random_headers(self):
return {'User-Agent': choice(self._desktop_agents),
'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'}
| 74.380952 | 135 | 0.65685 | 266 | 1,562 | 3.800752 | 0.24812 | 0.07913 | 0.089021 | 0.166172 | 0.734916 | 0.734916 | 0.734916 | 0.734916 | 0.734916 | 0.734916 | 0 | 0.203002 | 0.189501 | 1,562 | 20 | 136 | 78.1 | 0.595577 | 0 | 0 | 0 | 0 | 0.647059 | 0.757362 | 0.047375 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0.058824 | 0.058824 | 0.294118 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
a4186676aa63d9e2e1bbd49c91a255492a0e8587 | 9,752 | py | Python | tests/test_nlp_pdflib_dcr.py | KonnexionsGmbH/ocr_bench | 8f54b386c22b43a2f4e8f98dc6f7ac69edf7e0be | [
"CNRI-Python",
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | tests/test_nlp_pdflib_dcr.py | KonnexionsGmbH/ocr_bench | 8f54b386c22b43a2f4e8f98dc6f7ac69edf7e0be | [
"CNRI-Python",
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | tests/test_nlp_pdflib_dcr.py | KonnexionsGmbH/ocr_bench | 8f54b386c22b43a2f4e8f98dc6f7ac69edf7e0be | [
"CNRI-Python",
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | # pylint: disable=unused-argument
"""Testing Module nlp.pdflib_dcr."""
import os
import cfg.glob
import pytest
import dcr
# -----------------------------------------------------------------------------
# Constants & Globals.
# -----------------------------------------------------------------------------
# pylint: disable=W0212
# @pytest.mark.issue
# -----------------------------------------------------------------------------
# Test RUN_ACTION_TEXT_FROM_PDF - normal - keep.
# -----------------------------------------------------------------------------
def test_run_action_extract_text_from_pdf_normal_keep(fxtr_rmdir_opt, fxtr_setup_empty_db_and_inbox):
"""Test RUN_ACTION_TEXT_FROM_PDF - normal - keep."""
cfg.glob.logger.debug(cfg.glob.LOGGER_START)
# -------------------------------------------------------------------------
pytest.helpers.copy_files_4_pytest_2_dir(
[
("pdf_text_ok_protected", "pdf"),
],
cfg.glob.setup.directory_inbox,
)
# -------------------------------------------------------------------------
values_original = pytest.helpers.backup_config_params(
cfg.glob.setup._DCR_CFG_SECTION,
[
(cfg.glob.setup._DCR_CFG_DELETE_AUXILIARY_FILES, "false"),
(cfg.glob.setup._DCR_CFG_TETML_LINE, "true"),
(cfg.glob.setup._DCR_CFG_TETML_WORD, "true"),
],
)
dcr.main([cfg.glob.DCR_ARGV_0, cfg.glob.RUN_ACTION_PROCESS_INBOX])
dcr.main([cfg.glob.DCR_ARGV_0, cfg.glob.RUN_ACTION_TEXT_FROM_PDF])
pytest.helpers.restore_config_params(
cfg.glob.setup._DCR_CFG_SECTION,
values_original,
)
# -------------------------------------------------------------------------
cfg.glob.logger.info("=========> test_run_action_extract_text_from_pdf_normal_keep <=========")
pytest.helpers.verify_content_of_directory(
cfg.glob.setup.directory_inbox,
[],
[],
)
pytest.helpers.verify_content_of_directory(
cfg.glob.setup.directory_inbox_accepted,
[],
[
"pdf_text_ok_protected_1.pdf",
"pdf_text_ok_protected_1.line.xml",
"pdf_text_ok_protected_1.word.xml",
],
)
pytest.helpers.verify_content_of_directory(
cfg.glob.setup.directory_inbox_rejected,
[],
[],
)
# -------------------------------------------------------------------------
cfg.glob.logger.debug(cfg.glob.LOGGER_END)
# -----------------------------------------------------------------------------
# Test RUN_ACTION_TEXT_FROM_PDF - normal - keep - only page.
# -----------------------------------------------------------------------------
def test_run_action_extract_text_from_pdf_normal_keep_only_page(fxtr_rmdir_opt, fxtr_setup_empty_db_and_inbox):
"""Test RUN_ACTION_TEXT_FROM_PDF - normal - keep - only page."""
cfg.glob.logger.debug(cfg.glob.LOGGER_START)
# -------------------------------------------------------------------------
pytest.helpers.copy_files_4_pytest_2_dir(
[
("pdf_text_ok_protected", "pdf"),
],
cfg.glob.setup.directory_inbox,
)
# -------------------------------------------------------------------------
values_original = pytest.helpers.backup_config_params(
cfg.glob.setup._DCR_CFG_SECTION,
[
(cfg.glob.setup._DCR_CFG_DELETE_AUXILIARY_FILES, "false"),
(cfg.glob.setup._DCR_CFG_TETML_LINE, "false"),
(cfg.glob.setup._DCR_CFG_TETML_PAGE, "true"),
],
)
dcr.main([cfg.glob.DCR_ARGV_0, cfg.glob.RUN_ACTION_PROCESS_INBOX])
dcr.main([cfg.glob.DCR_ARGV_0, cfg.glob.RUN_ACTION_TEXT_FROM_PDF])
pytest.helpers.restore_config_params(
cfg.glob.setup._DCR_CFG_SECTION,
values_original,
)
# -------------------------------------------------------------------------
cfg.glob.logger.info("=========> test_run_action_extract_text_from_pdf_normal_keep_only_page <=========")
pytest.helpers.verify_content_of_directory(
cfg.glob.setup.directory_inbox,
[],
[],
)
pytest.helpers.verify_content_of_directory(
cfg.glob.setup.directory_inbox_accepted,
[],
[
"pdf_text_ok_protected_1.pdf",
],
)
pytest.helpers.verify_content_of_directory(
cfg.glob.setup.directory_inbox_rejected,
[],
[],
)
# -------------------------------------------------------------------------
cfg.glob.logger.debug(cfg.glob.LOGGER_END)
# -----------------------------------------------------------------------------
# Test RUN_ACTION_TEXT_FROM_PDF - rej_file_open - line.
# -----------------------------------------------------------------------------
def test_run_action_extract_text_from_pdf_rej_file_open_line(fxtr_rmdir_opt, fxtr_setup_empty_db_and_inbox):
"""Test RUN_ACTION_TEXT_FROM_PDF - rej_file_open - line."""
cfg.glob.logger.debug(cfg.glob.LOGGER_START)
# -------------------------------------------------------------------------
pytest.helpers.copy_files_4_pytest_2_dir(
[
("case_03_pdf_image_small_route_inbox_pdf2image_tesseract_pdflib", "pdf"),
],
cfg.glob.setup.directory_inbox,
)
# -------------------------------------------------------------------------
values_original = pytest.helpers.backup_config_params(
cfg.glob.setup._DCR_CFG_SECTION,
[
(cfg.glob.setup._DCR_CFG_DELETE_AUXILIARY_FILES, "false"),
(cfg.glob.setup._DCR_CFG_TETML_LINE, "true"),
(cfg.glob.setup._DCR_CFG_TETML_PAGE, "false"),
],
)
dcr.main([cfg.glob.DCR_ARGV_0, cfg.glob.RUN_ACTION_PROCESS_INBOX])
dcr.main([cfg.glob.DCR_ARGV_0, cfg.glob.RUN_ACTION_PDF_2_IMAGE])
dcr.main([cfg.glob.DCR_ARGV_0, cfg.glob.RUN_ACTION_IMAGE_2_PDF])
os.remove(
os.path.join(
cfg.glob.setup.directory_inbox_accepted,
"case_03_pdf_image_small_route_inbox_pdf2image_tesseract_pdflib_1_1.pdf",
)
)
dcr.main([cfg.glob.DCR_ARGV_0, cfg.glob.RUN_ACTION_TEXT_FROM_PDF])
pytest.helpers.restore_config_params(
cfg.glob.setup._DCR_CFG_SECTION,
values_original,
)
# -------------------------------------------------------------------------
cfg.glob.logger.info("=========> test_run_action_extract_text_from_pdf_rej_file_open_line <=========")
pytest.helpers.verify_content_of_directory(
cfg.glob.setup.directory_inbox,
[],
[],
)
pytest.helpers.verify_content_of_directory(
cfg.glob.setup.directory_inbox_accepted,
[],
[
"case_03_pdf_image_small_route_inbox_pdf2image_tesseract_pdflib_1.pdf",
"case_03_pdf_image_small_route_inbox_pdf2image_tesseract_pdflib_1_1.jpeg",
],
)
pytest.helpers.verify_content_of_directory(
cfg.glob.setup.directory_inbox_rejected,
[],
[],
)
# -------------------------------------------------------------------------
cfg.glob.logger.debug(cfg.glob.LOGGER_END)
# -----------------------------------------------------------------------------
# Test RUN_ACTION_TEXT_FROM_PDF - rej_file_open - page.
# -----------------------------------------------------------------------------
def test_run_action_extract_text_from_pdf_rej_file_open_page(fxtr_rmdir_opt, fxtr_setup_empty_db_and_inbox):
"""Test RUN_ACTION_TEXT_FROM_PDF - rej_file_open - page."""
cfg.glob.logger.debug(cfg.glob.LOGGER_START)
# -------------------------------------------------------------------------
pytest.helpers.copy_files_4_pytest_2_dir(
[
("case_03_pdf_image_small_route_inbox_pdf2image_tesseract_pdflib", "pdf"),
],
cfg.glob.setup.directory_inbox,
)
# -------------------------------------------------------------------------
values_original = pytest.helpers.backup_config_params(
cfg.glob.setup._DCR_CFG_SECTION,
[
(cfg.glob.setup._DCR_CFG_DELETE_AUXILIARY_FILES, "false"),
(cfg.glob.setup._DCR_CFG_TETML_LINE, "false"),
(cfg.glob.setup._DCR_CFG_TETML_PAGE, "true"),
],
)
dcr.main([cfg.glob.DCR_ARGV_0, cfg.glob.RUN_ACTION_PROCESS_INBOX])
dcr.main([cfg.glob.DCR_ARGV_0, cfg.glob.RUN_ACTION_PDF_2_IMAGE])
dcr.main([cfg.glob.DCR_ARGV_0, cfg.glob.RUN_ACTION_IMAGE_2_PDF])
os.remove(
os.path.join(
cfg.glob.setup.directory_inbox_accepted,
"case_03_pdf_image_small_route_inbox_pdf2image_tesseract_pdflib_1_1.pdf",
)
)
dcr.main([cfg.glob.DCR_ARGV_0, cfg.glob.RUN_ACTION_TEXT_FROM_PDF])
pytest.helpers.restore_config_params(
cfg.glob.setup._DCR_CFG_SECTION,
values_original,
)
# -------------------------------------------------------------------------
cfg.glob.logger.info("=========> test_run_action_extract_text_from_pdf_rej_file_open_page <=========")
pytest.helpers.verify_content_of_directory(
cfg.glob.setup.directory_inbox,
[],
[],
)
pytest.helpers.verify_content_of_directory(
cfg.glob.setup.directory_inbox_accepted,
[],
[
"case_03_pdf_image_small_route_inbox_pdf2image_tesseract_pdflib_1.pdf",
"case_03_pdf_image_small_route_inbox_pdf2image_tesseract_pdflib_1_1.jpeg",
],
)
pytest.helpers.verify_content_of_directory(
cfg.glob.setup.directory_inbox_rejected,
[],
[],
)
# -------------------------------------------------------------------------
cfg.glob.logger.debug(cfg.glob.LOGGER_END)
| 34.217544 | 111 | 0.528815 | 1,022 | 9,752 | 4.547945 | 0.09002 | 0.125 | 0.098107 | 0.064544 | 0.964286 | 0.95611 | 0.95611 | 0.95525 | 0.947935 | 0.947935 | 0 | 0.008252 | 0.179861 | 9,752 | 284 | 112 | 34.338028 | 0.572893 | 0.258101 | 0 | 0.702128 | 0 | 0 | 0.150084 | 0.128484 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021277 | false | 0 | 0.021277 | 0 | 0.042553 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a422f780faa6a9f8f83882b70039dce1afb7a53c | 7,618 | py | Python | complaint_search/tests/test_es_interface_trends.py | cfpb/ccdb5-api | 8174b713451633c2ec9f02fe9c906c3c51fad60c | [
"CC0-1.0"
] | 8 | 2017-07-21T18:25:52.000Z | 2021-06-11T04:32:29.000Z | complaint_search/tests/test_es_interface_trends.py | cfpb/ccdb5-api | 8174b713451633c2ec9f02fe9c906c3c51fad60c | [
"CC0-1.0"
] | 130 | 2017-06-16T20:06:36.000Z | 2022-03-20T16:56:25.000Z | complaint_search/tests/test_es_interface_trends.py | cfpb/ccdb5-api | 8174b713451633c2ec9f02fe9c906c3c51fad60c | [
"CC0-1.0"
] | 13 | 2017-06-05T18:13:51.000Z | 2021-06-11T04:32:38.000Z | from django.test import TestCase
import mock
from elasticsearch import Elasticsearch
from complaint_search.es_interface import trends
from complaint_search.tests.es_interface_test_helpers import load
class EsInterfaceTestTrends(TestCase):
@mock.patch("complaint_search.es_interface._COMPLAINT_ES_INDEX", "INDEX")
@mock.patch.object(Elasticsearch, 'count')
@mock.patch.object(Elasticsearch, 'search')
def test_trends_default_params__valid(self, mock_search, mock_count):
trends_params = {
'lens': 'overview',
'trend_interval': 'year'
}
body = load("trends_default_params__valid")
mock_count.return_value = {"count": body["hits"]["total"]["value"]}
mock_search.return_value = body
res = trends(**trends_params)
self.assertEqual(len(mock_search.call_args), 2)
self.assertEqual(mock_search.call_args[1]['index'], 'INDEX')
self.assertEqual(body, res)
@mock.patch("complaint_search.es_interface._COMPLAINT_ES_INDEX", "INDEX")
@mock.patch.object(Elasticsearch, 'count')
@mock.patch.object(Elasticsearch, 'search')
def test_trends_sub_lens_product__valid(self, mock_search, mock_count):
trends_params = {
'lens': 'product',
'trend_interval': 'year',
'sub_lens': 'sub_product',
'trend_depth': 5,
'sub_lens_depth': 5
}
body = load("trends_sub_lens_product__valid")
mock_count.return_value = {"count": body["hits"]["total"]["value"]}
mock_search.return_value = body
res = trends(**trends_params)
self.assertEqual(len(mock_search.call_args), 2)
self.assertEqual(mock_search.call_args[1]['index'], 'INDEX')
self.assertEqual(body, res)
@mock.patch("complaint_search.es_interface._COMPLAINT_ES_INDEX", "INDEX")
@mock.patch.object(Elasticsearch, 'count')
@mock.patch.object(Elasticsearch, 'search')
def test_trends_exclude_and_date_filters__valid(self,
mock_search,
mock_count):
trends_params = {
'lens': 'overview',
'trend_interval': 'year',
'date_received_min': '2019-01-01',
'date_received_max': '2020-01-01',
'company_received_min': '2019-01-01',
'company_received_max': '2020-01-01',
}
body = load("trends_exclude_and_date_filters__valid")
mock_count.return_value = {"count": body["hits"]["total"]["value"]}
mock_search.return_value = body
res = trends(agg_exclude=['zip_code'], **trends_params)
self.assertEqual(len(mock_search.call_args), 2)
self.assertEqual(mock_search.call_args[1]['index'], 'INDEX')
self.assertEqual(body, res)
@mock.patch("complaint_search.es_interface._COMPLAINT_ES_INDEX", "INDEX")
@mock.patch.object(Elasticsearch, 'count')
@mock.patch.object(Elasticsearch, 'search')
def test_trends_filter__valid(self, mock_search, mock_count):
trends_params = {
'lens': 'product',
'trend_interval': 'year',
'sub_lens': 'sub_product',
'trend_depth': 5,
'sub_lens_depth': 5,
'issue': 'Incorrect information on your report'
}
body = load("trends_filter__valid")
mock_count.return_value = {"count": body["hits"]["total"]["value"]}
mock_search.return_value = body
res = trends(**trends_params)
self.assertEqual(len(mock_search.call_args), 2)
self.assertEqual(mock_search.call_args[1]['index'], 'INDEX')
self.assertEqual(body, res)
@mock.patch("complaint_search.es_interface._COMPLAINT_ES_INDEX", "INDEX")
@mock.patch.object(Elasticsearch, 'count')
@mock.patch.object(Elasticsearch, 'search')
def test_trends_top_self_filter__valid(self, mock_search, mock_count):
trends_params = {
'lens': 'overview',
'trend_interval': 'year',
'trend_depth': 5,
'issue': 'Incorrect information on your report'
}
body = load("trends_filter__valid")
mock_count.return_value = {"count": body["hits"]["total"]["value"]}
mock_search.return_value = body
res = trends(**trends_params)
self.assertEqual(len(mock_search.call_args), 2)
self.assertEqual(mock_search.call_args[1]['index'], 'INDEX')
self.assertEqual(body, res)
self.assertTrue('company' not in res['aggregations'])
@mock.patch("complaint_search.es_interface._COMPLAINT_ES_INDEX", "INDEX")
@mock.patch.object(Elasticsearch, 'count')
@mock.patch.object(Elasticsearch, 'search')
def test_trends_company_filter__valid(self, mock_search, mock_count):
default_exclude = ['company', 'zip_code']
trends_params = {
'lens': 'overview',
'trend_interval': 'year',
'company': 'EQUIFAX, INC.'
}
body = load("trends_company_filter__valid")
mock_count.return_value = {"count": body["hits"]["total"]["value"]}
mock_search.return_value = body
res = trends(default_exclude, **trends_params)
self.assertEqual(len(mock_search.call_args), 2)
self.assertEqual(mock_search.call_args[1]['index'], 'INDEX')
self.assertTrue('company' in res['aggregations'])
@mock.patch("complaint_search.es_interface._COMPLAINT_ES_INDEX", "INDEX")
@mock.patch.object(Elasticsearch, 'count')
@mock.patch.object(Elasticsearch, 'search')
def test_trends_issue_focus__valid(self, mock_search, mock_count):
default_exclude = ['company', 'zip_code']
trends_params = {
'lens': 'issue',
'trend_interval': 'year',
'trend_depth': 5,
'focus': 'Incorrect information on your report'
}
body = load("trends_issue_focus__valid")
mock_count.return_value = {"count": body["hits"]["total"]["value"]}
mock_search.return_value = body
res = trends(default_exclude, **trends_params)
self.assertEqual(len(mock_search.call_args), 2)
self.assertEqual(mock_search.call_args[1]['index'], 'INDEX')
self.assertFalse('company' in res['aggregations'])
self.assertEqual(len(res['aggregations']['issue']['issue']['buckets']),
1)
@mock.patch("complaint_search.es_interface._COMPLAINT_ES_INDEX", "INDEX")
@mock.patch.object(Elasticsearch, 'count')
@mock.patch.object(Elasticsearch, 'search')
def test_trends_issue_focus_company_filter__valid(self,
mock_search,
mock_count):
default_exclude = ['company', 'zip_code']
trends_params = {
'lens': 'issue',
'trend_interval': 'year',
'trend_depth': 5,
'focus': 'Incorrect information on your report',
'company': 'EQUIFAX, INC.'
}
body = load("trends_issue_focus_company_filter__valid")
mock_count.return_value = {"count": body["hits"]["total"]["value"]}
mock_search.return_value = body
res = trends(default_exclude, **trends_params)
self.assertEqual(len(mock_search.call_args), 2)
self.assertEqual(mock_search.call_args[1]['index'], 'INDEX')
self.assertTrue('company' in res['aggregations'])
self.assertEqual(
len(res['aggregations']['issue']['issue']['buckets']), 1
)
| 42.088398 | 79 | 0.621817 | 844 | 7,618 | 5.302133 | 0.092417 | 0.071508 | 0.053631 | 0.100112 | 0.923352 | 0.896536 | 0.868603 | 0.863017 | 0.859888 | 0.859888 | 0 | 0.009886 | 0.243108 | 7,618 | 180 | 80 | 42.322222 | 0.766216 | 0 | 0 | 0.71519 | 0 | 0 | 0.241402 | 0.076267 | 0 | 0 | 0 | 0 | 0.170886 | 1 | 0.050633 | false | 0 | 0.031646 | 0 | 0.088608 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a433deb897263d6bd905bb1588c9da72acc35f45 | 81,677 | py | Python | grammars/gen/LegalOpinionLexer.py | OpenLawsGR/judgments2AKN | 0c6217349cde36058d5599800e289fdf0d3eaf23 | [
"MIT"
] | 5 | 2019-11-28T17:02:59.000Z | 2021-02-05T17:39:49.000Z | grammars/gen/LegalOpinionLexer.py | OpenLawsGR/judgments2AKN | 0c6217349cde36058d5599800e289fdf0d3eaf23 | [
"MIT"
] | null | null | null | grammars/gen/LegalOpinionLexer.py | OpenLawsGR/judgments2AKN | 0c6217349cde36058d5599800e289fdf0d3eaf23 | [
"MIT"
] | null | null | null | # Generated from /home/plessas/EDBM34/grammars/LegalOpinion.g4 by ANTLR 4.7.2
# encoding: utf-8
from __future__ import print_function
from antlr4 import *
from io import StringIO
import sys
def serializedATN():
with StringIO() as buf:
buf.write(u"\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2")
buf.write(u"\36\u0776\b\1\4\2\t\2\4\3\t\3\4\4\t\4\4\5\t\5\4\6\t\6")
buf.write(u"\4\7\t\7\4\b\t\b\4\t\t\t\4\n\t\n\4\13\t\13\4\f\t\f\4")
buf.write(u"\r\t\r\4\16\t\16\4\17\t\17\4\20\t\20\4\21\t\21\4\22\t")
buf.write(u"\22\4\23\t\23\4\24\t\24\4\25\t\25\4\26\t\26\4\27\t\27")
buf.write(u"\4\30\t\30\4\31\t\31\4\32\t\32\4\33\t\33\4\34\t\34\4")
buf.write(u"\35\t\35\4\36\t\36\4\37\t\37\4 \t \4!\t!\3\2\3\2\3\2")
buf.write(u"\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2")
buf.write(u"\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2")
buf.write(u"\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2")
buf.write(u"\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2")
buf.write(u"\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2")
buf.write(u"\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2")
buf.write(u"\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2")
buf.write(u"\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\5\2\u00aa\n\2\6\2\u00ac")
buf.write(u"\n\2\r\2\16\2\u00ad\5\2\u00b0\n\2\3\3\3\3\3\3\3\3\5\3")
buf.write(u"\u00b6\n\3\3\3\3\3\3\4\3\4\3\4\3\4\5\4\u00be\n\4\3\4")
buf.write(u"\3\4\3\5\3\5\3\5\3\5\5\5\u00c6\n\5\3\5\3\5\3\5\5\5\u00cb")
buf.write(u"\n\5\3\5\5\5\u00ce\n\5\3\5\3\5\3\5\3\5\5\5\u00d4\n\5")
buf.write(u"\3\5\3\5\3\5\5\5\u00d9\n\5\3\6\3\6\7\6\u00dd\n\6\f\6")
buf.write(u"\16\6\u00e0\13\6\3\6\3\6\3\6\7\6\u00e5\n\6\f\6\16\6\u00e8")
buf.write(u"\13\6\3\6\3\6\3\6\3\6\7\6\u00ee\n\6\f\6\16\6\u00f1\13")
buf.write(u"\6\3\6\5\6\u00f4\n\6\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7")
buf.write(u"\3\7\3\7\3\7\3\7\3\7\3\7\5\7\u0104\n\7\3\b\3\b\3\b\3")
buf.write(u"\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3")
buf.write(u"\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3")
buf.write(u"\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3")
buf.write(u"\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3")
buf.write(u"\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\5")
buf.write(u"\b\u014a\n\b\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t")
buf.write(u"\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t")
buf.write(u"\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t")
buf.write(u"\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t")
buf.write(u"\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t")
buf.write(u"\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t")
buf.write(u"\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t")
buf.write(u"\3\t\3\t\3\t\3\t\3\t\3\t\3\t\3\t\5\t\u01ac\n\t\3\n\3")
buf.write(u"\n\3\n\3\n\3\n\3\n\3\n\3\n\3\n\3\n\5\n\u01b8\n\n\3\13")
buf.write(u"\3\13\3\13\3\13\3\13\3\13\3\13\3\13\3\13\3\13\3\13\3")
buf.write(u"\13\3\13\3\13\3\13\3\13\3\13\3\13\3\13\3\13\3\13\3\13")
buf.write(u"\3\13\3\13\3\13\3\13\3\13\3\13\3\13\3\13\3\13\3\13\3")
buf.write(u"\13\3\13\3\13\3\13\3\13\3\13\5\13\u01e0\n\13\3\13\3\13")
buf.write(u"\3\13\3\13\3\13\3\13\3\13\3\13\3\13\3\13\3\13\3\13\3")
buf.write(u"\13\3\13\3\13\3\13\3\13\3\13\3\13\3\13\3\13\3\13\3\13")
buf.write(u"\3\13\3\13\3\13\3\13\3\13\3\13\3\13\3\13\3\13\3\13\3")
buf.write(u"\13\3\13\3\13\3\13\3\13\3\13\3\13\5\13\u020a\n\13\3\f")
buf.write(u"\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\5\f\u0216\n\f\3")
buf.write(u"\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\5\f\u0222\n\f")
buf.write(u"\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f")
buf.write(u"\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f")
buf.write(u"\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f")
buf.write(u"\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f")
buf.write(u"\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f")
buf.write(u"\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f")
buf.write(u"\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\5\f\u027d")
buf.write(u"\n\f\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r")
buf.write(u"\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r")
buf.write(u"\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r")
buf.write(u"\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r")
buf.write(u"\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\5\r\u02bc\n")
buf.write(u"\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3")
buf.write(u"\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\5\r\u02d2\n\r\3\r\3\r")
buf.write(u"\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r")
buf.write(u"\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r")
buf.write(u"\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r")
buf.write(u"\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r")
buf.write(u"\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r")
buf.write(u"\3\r\3\r\3\r\3\r\3\r\3\r\5\r\u031d\n\r\3\r\3\r\3\r\3")
buf.write(u"\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3")
buf.write(u"\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3")
buf.write(u"\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3")
buf.write(u"\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3")
buf.write(u"\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3")
buf.write(u"\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3")
buf.write(u"\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3")
buf.write(u"\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3")
buf.write(u"\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3")
buf.write(u"\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3")
buf.write(u"\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3")
buf.write(u"\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3")
buf.write(u"\r\3\r\5\r\u03c0\n\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r")
buf.write(u"\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\5\r")
buf.write(u"\u03d6\n\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3")
buf.write(u"\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\5\r\u03ec\n\r")
buf.write(u"\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r")
buf.write(u"\3\r\3\r\3\r\3\r\3\r\3\r\3\r\5\r\u0402\n\r\3\r\3\r\3")
buf.write(u"\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3")
buf.write(u"\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3")
buf.write(u"\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3")
buf.write(u"\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3")
buf.write(u"\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3")
buf.write(u"\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\5\r\u044f\n\r\3\r\3\r")
buf.write(u"\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r")
buf.write(u"\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r")
buf.write(u"\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r")
buf.write(u"\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r")
buf.write(u"\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r")
buf.write(u"\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r")
buf.write(u"\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r")
buf.write(u"\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r")
buf.write(u"\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r")
buf.write(u"\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r")
buf.write(u"\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r")
buf.write(u"\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r")
buf.write(u"\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r")
buf.write(u"\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r")
buf.write(u"\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r")
buf.write(u"\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\r\5\r\u0521")
buf.write(u"\n\r\3\16\3\16\3\16\3\16\3\16\3\16\3\16\3\16\3\16\3\16")
buf.write(u"\3\16\3\16\3\16\3\16\3\16\3\16\3\16\3\16\3\16\3\16\3")
buf.write(u"\16\3\16\3\16\3\16\3\16\3\16\3\16\3\16\3\16\3\16\3\16")
buf.write(u"\3\16\3\16\3\16\3\16\3\16\5\16\u0547\n\16\3\17\3\17\3")
buf.write(u"\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17")
buf.write(u"\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3")
buf.write(u"\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17")
buf.write(u"\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3")
buf.write(u"\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17")
buf.write(u"\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3")
buf.write(u"\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17")
buf.write(u"\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3")
buf.write(u"\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17")
buf.write(u"\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3")
buf.write(u"\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17")
buf.write(u"\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3")
buf.write(u"\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17")
buf.write(u"\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3")
buf.write(u"\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17")
buf.write(u"\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3")
buf.write(u"\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17")
buf.write(u"\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3")
buf.write(u"\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17")
buf.write(u"\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\5\17\u061c")
buf.write(u"\n\17\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3")
buf.write(u"\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20")
buf.write(u"\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3")
buf.write(u"\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20")
buf.write(u"\3\20\5\20\u0648\n\20\3\20\5\20\u064b\n\20\3\20\3\20")
buf.write(u"\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3")
buf.write(u"\20\3\20\3\20\5\20\u065c\n\20\3\20\3\20\3\20\3\20\3\20")
buf.write(u"\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3")
buf.write(u"\20\3\20\5\20\u066f\n\20\3\20\3\20\3\20\3\20\3\20\3\20")
buf.write(u"\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3")
buf.write(u"\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20")
buf.write(u"\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3")
buf.write(u"\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20")
buf.write(u"\3\20\3\20\3\20\5\20\u06a4\n\20\3\20\5\20\u06a7\n\20")
buf.write(u"\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3")
buf.write(u"\20\3\20\5\20\u06b5\n\20\3\20\3\20\3\20\3\20\3\20\3\20")
buf.write(u"\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3")
buf.write(u"\20\3\20\3\20\3\20\3\20\3\20\5\20\u06cd\n\20\3\20\3\20")
buf.write(u"\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3")
buf.write(u"\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20")
buf.write(u"\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3")
buf.write(u"\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20")
buf.write(u"\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3")
buf.write(u"\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20")
buf.write(u"\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3")
buf.write(u"\20\3\20\3\20\3\20\3\20\3\20\5\20\u0720\n\20\3\21\6\21")
buf.write(u"\u0723\n\21\r\21\16\21\u0724\3\22\3\22\3\23\3\23\3\24")
buf.write(u"\3\24\3\25\3\25\3\26\3\26\3\27\3\27\3\30\3\30\3\30\3")
buf.write(u"\30\3\30\3\30\3\31\3\31\3\31\5\31\u073c\n\31\3\31\3\31")
buf.write(u"\3\32\3\32\3\33\6\33\u0743\n\33\r\33\16\33\u0744\3\34")
buf.write(u"\5\34\u0748\n\34\3\35\6\35\u074b\n\35\r\35\16\35\u074c")
buf.write(u"\3\36\3\36\3\36\5\36\u0752\n\36\3\37\3\37\3\37\3\37\3")
buf.write(u"\37\3\37\3\37\3\37\3\37\3\37\3\37\3\37\3\37\3\37\3\37")
buf.write(u"\3\37\3\37\3\37\3\37\3\37\3\37\3\37\3\37\3\37\3\37\3")
buf.write(u"\37\5\37\u076e\n\37\3 \3 \3 \5 \u0773\n \3!\3!\5\u00de")
buf.write(u"\u00e6\u00ef\2\"\3\3\5\4\7\5\t\6\13\7\r\b\17\t\21\n\23")
buf.write(u"\13\25\f\27\r\31\16\33\17\35\20\37\21!\22#\23%\24\'\25")
buf.write(u")\26+\27-\30/\31\61\32\63\33\65\34\67\359\36;\2=\2?\2")
buf.write(u"A\2\3\2\13\3\2BB\3\2\62;\5\2//\u2015\u2015\u2214\u2214")
buf.write(u"\t\2))bb\u00b6\u00b6\u02bf\u02bf\u0376\u0376\u0386\u0386")
buf.write(u"\u201a\u201b\27\2C\\c|\u00b7\u00b7\u00d9\u00d9\u00e4")
buf.write(u"\u00e4\u00eb\u00eb\u00ef\u00ef\u00f8\u00f8\u00fe\u00fe")
buf.write(u"\u0161\u0161\u0165\u0165\u0388\u0388\u038a\u038c\u038e")
buf.write(u"\u038e\u0390\u03ac\u03ae\u03b1\u03b3\u03d0\u0417\u0417")
buf.write(u"\u0424\u0424\u2128\u2128\u2208\u2208\31\2#(,-/\61=B]")
buf.write(u"a}\u0080\u00a5\u00a5\u00a8\u00aa\u00ad\u00ae\u00b2\u00b2")
buf.write(u"\u00b4\u00b4\u00b8\u00b9\u00bd\u00c0\u0389\u0389\u2012")
buf.write(u"\u2012\u2015\u2015\u201e\u201f\u2024\u2024\u2028\u2028")
buf.write(u"\u2032\u2032\u20ae\u20ae\u2214\u2214\uf0b9\uf0b9\6\2")
buf.write(u"\13\13\17\17\"\"\u00a2\u00a2\4\2GG\u0393\u0397\4\2KK")
buf.write(u"\u039b\u039b\2\u07fb\2\3\3\2\2\2\2\5\3\2\2\2\2\7\3\2")
buf.write(u"\2\2\2\t\3\2\2\2\2\13\3\2\2\2\2\r\3\2\2\2\2\17\3\2\2")
buf.write(u"\2\2\21\3\2\2\2\2\23\3\2\2\2\2\25\3\2\2\2\2\27\3\2\2")
buf.write(u"\2\2\31\3\2\2\2\2\33\3\2\2\2\2\35\3\2\2\2\2\37\3\2\2")
buf.write(u"\2\2!\3\2\2\2\2#\3\2\2\2\2%\3\2\2\2\2\'\3\2\2\2\2)\3")
buf.write(u"\2\2\2\2+\3\2\2\2\2-\3\2\2\2\2/\3\2\2\2\2\61\3\2\2\2")
buf.write(u"\2\63\3\2\2\2\2\65\3\2\2\2\2\67\3\2\2\2\29\3\2\2\2\3")
buf.write(u"\u00af\3\2\2\2\5\u00b1\3\2\2\2\7\u00b9\3\2\2\2\t\u00d8")
buf.write(u"\3\2\2\2\13\u00f3\3\2\2\2\r\u0103\3\2\2\2\17\u0149\3")
buf.write(u"\2\2\2\21\u01ab\3\2\2\2\23\u01b7\3\2\2\2\25\u0209\3\2")
buf.write(u"\2\2\27\u027c\3\2\2\2\31\u0520\3\2\2\2\33\u0546\3\2\2")
buf.write(u"\2\35\u061b\3\2\2\2\37\u071f\3\2\2\2!\u0722\3\2\2\2#")
buf.write(u"\u0726\3\2\2\2%\u0728\3\2\2\2\'\u072a\3\2\2\2)\u072c")
buf.write(u"\3\2\2\2+\u072e\3\2\2\2-\u0730\3\2\2\2/\u0732\3\2\2\2")
buf.write(u"\61\u073b\3\2\2\2\63\u073f\3\2\2\2\65\u0742\3\2\2\2\67")
buf.write(u"\u0747\3\2\2\29\u074a\3\2\2\2;\u0751\3\2\2\2=\u076d\3")
buf.write(u"\2\2\2?\u0772\3\2\2\2A\u0774\3\2\2\2CD\7\u039a\2\2DE")
buf.write(u"\7\u0397\2\2EF\7\u03ab\2\2FG\7\u03a3\2\2GH\7\u0399\2")
buf.write(u"\2HI\7\u039a\2\2IJ\7\u0399\2\2JK\7\u039c\2\2K\u00b0\7")
buf.write(u"\u0397\2\2LM\7\u039a\2\2MN\7\u0397\2\2NO\7\u03ab\2\2")
buf.write(u"OP\7\u03a3\2\2PQ\7\u0399\2\2QR\7\u039a\2\2RS\7\u0399")
buf.write(u"\2\2ST\7\u039c\2\2TU\7\u0397\2\2UV\7\"\2\2VW\7\u03a1")
buf.write(u"\2\2WX\7\"\2\2XY\7\u0397\2\2YZ\7\u039b\2\2Z[\7\u03a5")
buf.write(u"\2\2[\\\7\u0399\2\2\\]\7\u0395\2\2]^\7\u0399\2\2^_\7")
buf.write(u"\u03a6\2\2_`\7\u0399\2\2`\u00b0\7\u03a5\2\2ab\7\u039a")
buf.write(u"\2\2bc\7\u0397\2\2cd\7\u03ab\2\2de\7\u03a3\2\2ef\7\u0399")
buf.write(u"\2\2fg\7\u039a\2\2gh\7\u0399\2\2hi\7\u039c\2\2ij\7\u0397")
buf.write(u"\2\2jk\7\"\2\2kl\7\u03a1\2\2lm\7\"\2\2mn\7\u0397\2\2")
buf.write(u"no\7\u03bb\2\2op\7\u03c5\2\2pq\7\u03b9\2\2qr\7\u03b5")
buf.write(u"\2\2rs\7\u03b9\2\2st\7\u03c6\2\2tu\7\u03b0\2\2u\u00b0")
buf.write(u"\7\u03c4\2\2vw\7\u039a\2\2wx\7\u03b7\2\2xy\7\u03cb\2")
buf.write(u"\2yz\7\u03c3\2\2z{\7\u03b0\2\2{|\7\u03ba\2\2|}\7\u03b9")
buf.write(u"\2\2}~\7\u03bc\2\2~\u00b0\7\u03b7\2\2\177\u0080\7\u039a")
buf.write(u"\2\2\u0080\u0081\7\u0397\2\2\u0081\u0082\7\u2128\2\2")
buf.write(u"\u0082\u0083\7\u03a3\2\2\u0083\u0084\7\u0399\2\2\u0084")
buf.write(u"\u0085\7\u039a\2\2\u0085\u0086\7\u0399\2\2\u0086\u0087")
buf.write(u"\7\u039c\2\2\u0087\u00b0\7\u0397\2\2\u0088\u0089\7\u03a1")
buf.write(u"\2\2\u0089\u008a\7\"\2\2\u008a\u008b\7\u0395\2\2\u008b")
buf.write(u"\u008c\7\u03bf\2\2\u008c\u008d\7\u03cb\2\2\u008d\u008e")
buf.write(u"\7\u03be\2\2\u008e\u008f\7\u03c1\2\2\u008f\u0090\7\u03b6")
buf.write(u"\2\2\u0090\u0091\7\u03c1\2\2\u0091\u0092\7\u03c6\2\2")
buf.write(u"\u0092\u0093\7\u03d0\2\2\u0093\u00b0\7\u03bf\2\2\u0094")
buf.write(u"\u0095\7\u03a1\2\2\u0095\u0096\7\"\2\2\u0096\u0097\7")
buf.write(u"\u0395\2\2\u0097\u0098\7\u039f\2\2\u0098\u0099\7\u03ab")
buf.write(u"\2\2\u0099\u009a\7\u039e\2\2\u009a\u009b\7\u03a1\2\2")
buf.write(u"\u009b\u009c\7\u0396\2\2\u009c\u009d\7\u03a1\2\2\u009d")
buf.write(u"\u009e\7\u03a6\2\2\u009e\u009f\7\u03ab\2\2\u009f\u00b0")
buf.write(u"\7\u039f\2\2\u00a0\u00a1\7\u0393\2\2\u00a1\u00a2\7\u03ba")
buf.write(u"\2\2\u00a2\u00a3\7\u03b0\2\2\u00a3\u00a4\7\u03bf\2\2")
buf.write(u"\u00a4\u00a5\7\u03b3\2\2\u00a5\u00a6\3\2\2\2\u00a6\u00ab")
buf.write(u"\59\35\2\u00a7\u00a9\5!\21\2\u00a8\u00aa\5+\26\2\u00a9")
buf.write(u"\u00a8\3\2\2\2\u00a9\u00aa\3\2\2\2\u00aa\u00ac\3\2\2")
buf.write(u"\2\u00ab\u00a7\3\2\2\2\u00ac\u00ad\3\2\2\2\u00ad\u00ab")
buf.write(u"\3\2\2\2\u00ad\u00ae\3\2\2\2\u00ae\u00b0\3\2\2\2\u00af")
buf.write(u"C\3\2\2\2\u00afL\3\2\2\2\u00afa\3\2\2\2\u00afv\3\2\2")
buf.write(u"\2\u00af\177\3\2\2\2\u00af\u0088\3\2\2\2\u00af\u0094")
buf.write(u"\3\2\2\2\u00af\u00a0\3\2\2\2\u00b0\4\3\2\2\2\u00b1\u00b2")
buf.write(u"\5\'\24\2\u00b2\u00b3\5!\21\2\u00b3\u00b5\5A!\2\u00b4")
buf.write(u"\u00b6\5+\26\2\u00b5\u00b4\3\2\2\2\u00b5\u00b6\3\2\2")
buf.write(u"\2\u00b6\u00b7\3\2\2\2\u00b7\u00b8\59\35\2\u00b8\6\3")
buf.write(u"\2\2\2\u00b9\u00ba\5\'\24\2\u00ba\u00bb\5;\36\2\u00bb")
buf.write(u"\u00bd\5A!\2\u00bc\u00be\5+\26\2\u00bd\u00bc\3\2\2\2")
buf.write(u"\u00bd\u00be\3\2\2\2\u00be\u00bf\3\2\2\2\u00bf\u00c0")
buf.write(u"\59\35\2\u00c0\b\3\2\2\2\u00c1\u00c2\5\'\24\2\u00c2\u00c3")
buf.write(u"\5=\37\2\u00c3\u00c5\5A!\2\u00c4\u00c6\59\35\2\u00c5")
buf.write(u"\u00c4\3\2\2\2\u00c5\u00c6\3\2\2\2\u00c6\u00ca\3\2\2")
buf.write(u"\2\u00c7\u00cb\5\27\f\2\u00c8\u00cb\5\33\16\2\u00c9\u00cb")
buf.write(u"\5\31\r\2\u00ca\u00c7\3\2\2\2\u00ca\u00c8\3\2\2\2\u00ca")
buf.write(u"\u00c9\3\2\2\2\u00cb\u00cd\3\2\2\2\u00cc\u00ce\5A!\2")
buf.write(u"\u00cd\u00cc\3\2\2\2\u00cd\u00ce\3\2\2\2\u00ce\u00d9")
buf.write(u"\3\2\2\2\u00cf\u00d0\5\'\24\2\u00d0\u00d1\5=\37\2\u00d1")
buf.write(u"\u00d3\5A!\2\u00d2\u00d4\59\35\2\u00d3\u00d2\3\2\2\2")
buf.write(u"\u00d3\u00d4\3\2\2\2\u00d4\u00d9\3\2\2\2\u00d5\u00d9")
buf.write(u"\5\27\f\2\u00d6\u00d9\5\33\16\2\u00d7\u00d9\5\31\r\2")
buf.write(u"\u00d8\u00c1\3\2\2\2\u00d8\u00cf\3\2\2\2\u00d8\u00d5")
buf.write(u"\3\2\2\2\u00d8\u00d6\3\2\2\2\u00d8\u00d7\3\2\2\2\u00d9")
buf.write(u"\n\3\2\2\2\u00da\u00de\7$\2\2\u00db\u00dd\13\2\2\2\u00dc")
buf.write(u"\u00db\3\2\2\2\u00dd\u00e0\3\2\2\2\u00de\u00df\3\2\2")
buf.write(u"\2\u00de\u00dc\3\2\2\2\u00df\u00e1\3\2\2\2\u00e0\u00de")
buf.write(u"\3\2\2\2\u00e1\u00f4\7$\2\2\u00e2\u00e6\7\u00ad\2\2\u00e3")
buf.write(u"\u00e5\13\2\2\2\u00e4\u00e3\3\2\2\2\u00e5\u00e8\3\2\2")
buf.write(u"\2\u00e6\u00e7\3\2\2\2\u00e6\u00e4\3\2\2\2\u00e7\u00e9")
buf.write(u"\3\2\2\2\u00e8\u00e6\3\2\2\2\u00e9\u00ea\n\2\2\2\u00ea")
buf.write(u"\u00f4\7\u00bd\2\2\u00eb\u00ef\7\u201e\2\2\u00ec\u00ee")
buf.write(u"\13\2\2\2\u00ed\u00ec\3\2\2\2\u00ee\u00f1\3\2\2\2\u00ef")
buf.write(u"\u00f0\3\2\2\2\u00ef\u00ed\3\2\2\2\u00f0\u00f2\3\2\2")
buf.write(u"\2\u00f1\u00ef\3\2\2\2\u00f2\u00f4\7\u201f\2\2\u00f3")
buf.write(u"\u00da\3\2\2\2\u00f3\u00e2\3\2\2\2\u00f3\u00eb\3\2\2")
buf.write(u"\2\u00f4\f\3\2\2\2\u00f5\u00f6\7\u0393\2\2\u00f6\u00f7")
buf.write(u"\7\u03a6\2\2\u00f7\u00f8\7\u03a1\2\2\u00f8\u00f9\7\u039e")
buf.write(u"\2\2\u00f9\u00fa\7\u039b\2\2\u00fa\u00fb\7\u039c\2\2")
buf.write(u"\u00fb\u0104\7\u0399\2\2\u00fc\u00fd\7\u0393\2\2\u00fd")
buf.write(u"\u00fe\7\u03c6\2\2\u00fe\u00ff\7\u03c1\2\2\u00ff\u0100")
buf.write(u"\7\u03be\2\2\u0100\u0101\7\u03bb\2\2\u0101\u0102\7\u03bc")
buf.write(u"\2\2\u0102\u0104\7\u03b0\2\2\u0103\u00f5\3\2\2\2\u0103")
buf.write(u"\u00fc\3\2\2\2\u0104\16\3\2\2\2\u0105\u0106\7\u0393\2")
buf.write(u"\2\u0106\u0107\7\u03c3\2\2\u0107\u0108\7\u03bb\2\2\u0108")
buf.write(u"\u0109\7\u03ba\2\2\u0109\u010a\7\u03be\2\2\u010a\u010b")
buf.write(u"\7\u03ce\2\2\u010b\u014a\7\u03c4\2\2\u010c\u010d\7\u03c7")
buf.write(u"\2\2\u010d\u010e\7\u03c2\2\2\u010e\u010f\7\u0386\2\2")
buf.write(u"\u010f\u0110\7\u03b3\2\2\u0110\u0111\7\u03c3\2\2\u0111")
buf.write(u"\u0112\7\u03bb\2\2\u0112\u0113\7\u03ba\2\2\u0113\u0114")
buf.write(u"\3\2\2\2\u0114\u014a\5A!\2\u0115\u0116\7C\2\2\u0116\u0117")
buf.write(u"\7\u03c3\2\2\u0117\u0118\7\u03bb\2\2\u0118\u0119\7\u03ba")
buf.write(u"\2\2\u0119\u011a\7\u03be\2\2\u011a\u011b\7\u03ce\2\2")
buf.write(u"\u011b\u014a\7\u03c4\2\2\u011c\u011d\7\u0393\2\2\u011d")
buf.write(u"\u011e\7\u03c3\2\2\u011e\u011f\7\u03bb\2\2\u011f\u0120")
buf.write(u"\7\u03ba\2\2\u0120\u0121\7\u00b7\2\2\u0121\u0122\7\u03ce")
buf.write(u"\2\2\u0122\u014a\7\u03c4\2\2\u0123\u0124\7\u0393\2\2")
buf.write(u"\u0124\u0125\7\u03a3\2\2\u0125\u0126\7\u039b\2\2\u0126")
buf.write(u"\u0127\7\u039a\2\2\u0127\u0128\7\u039e\2\2\u0128\u0129")
buf.write(u"\7\u03a1\2\2\u0129\u014a\7\u03a5\2\2\u012a\u012b\7\u03c7")
buf.write(u"\2\2\u012b\u012c\7\u03c2\2\2\u012c\u012d\7\u201b\2\2")
buf.write(u"\u012d\u012e\3\2\2\2\u012e\u012f\59\35\2\u012f\u0130")
buf.write(u"\7\u03b3\2\2\u0130\u0131\7\u03c3\2\2\u0131\u0132\7\u03bb")
buf.write(u"\2\2\u0132\u0133\7\u03ba\2\2\u0133\u0134\7\u03be\2\2")
buf.write(u"\u0134\u0135\3\2\2\2\u0135\u0136\5A!\2\u0136\u014a\3")
buf.write(u"\2\2\2\u0137\u0138\7\u0393\2\2\u0138\u0139\7\u03c3\2")
buf.write(u"\2\u0139\u013a\7\u03bb\2\2\u013a\u013b\7\u03ba\2\2\u013b")
buf.write(u"\u013c\7\u00b7\2\2\u013c\u013d\3\2\2\2\u013d\u014a\5")
buf.write(u"A!\2\u013e\u013f\7\u0393\2\2\u013f\u0140\7\u03c3\2\2")
buf.write(u"\u0140\u0141\7\u03bb\2\2\u0141\u0142\7\u03ba\2\2\u0142")
buf.write(u"\u0143\7\u03be\2\2\u0143\u0144\3\2\2\2\u0144\u014a\5")
buf.write(u"A!\2\u0145\u0146\7\u0393\2\2\u0146\u0147\7\u03c3\2\2")
buf.write(u"\u0147\u0148\3\2\2\2\u0148\u014a\5A!\2\u0149\u0105\3")
buf.write(u"\2\2\2\u0149\u010c\3\2\2\2\u0149\u0115\3\2\2\2\u0149")
buf.write(u"\u011c\3\2\2\2\u0149\u0123\3\2\2\2\u0149\u012a\3\2\2")
buf.write(u"\2\u0149\u0137\3\2\2\2\u0149\u013e\3\2\2\2\u0149\u0145")
buf.write(u"\3\2\2\2\u014a\20\3\2\2\2\u014b\u014c\7\u0395\2\2\u014c")
buf.write(u"\u014d\7\u039f\2\2\u014d\u014e\7\u03ab\2\2\u014e\u014f")
buf.write(u"\7\u039e\2\2\u014f\u0150\7\u03a1\2\2\u0150\u0151\7\u0396")
buf.write(u"\2\2\u0151\u0152\7\u03a1\2\2\u0152\u0153\7\u03a6\2\2")
buf.write(u"\u0153\u0154\7\u0399\2\2\u0154\u0155\7\u03a5\2\2\u0155")
buf.write(u"\u01ac\7\u0399\2\2\u0156\u0157\7\u0395\2\2\u0157\u0158")
buf.write(u"\7\u039f\2\2\u0158\u0159\7\u03ab\2\2\u0159\u015a\7\u039e")
buf.write(u"\2\2\u015a\u015b\7\u03a1\2\2\u015b\u015c\7\u0396\2\2")
buf.write(u"\u015c\u015d\7\u03a1\2\2\u015d\u015e\7\u03a6\2\2\u015e")
buf.write(u"\u015f\7\u0399\2\2\u015f\u0160\7\u03a5\2\2\u0160\u0161")
buf.write(u"\7J\2\2\u0161\u01ac\7\u03a5\2\2\u0162\u0163\7\u0395\2")
buf.write(u"\2\u0163\u0164\7\u039f\2\2\u0164\u0165\7\u03ab\2\2\u0165")
buf.write(u"\u0166\7\u039e\2\2\u0166\u0167\7\u03a1\2\2\u0167\u0168")
buf.write(u"\7\u0396\2\2\u0168\u0169\7\u03a1\2\2\u0169\u016a\7\u03a6")
buf.write(u"\2\2\u016a\u016b\7\u0399\2\2\u016b\u016c\7\u03a5\2\2")
buf.write(u"\u016c\u016d\7\u0399\2\2\u016d\u01ac\7\u03a5\2\2\u016e")
buf.write(u"\u016f\7\u0395\2\2\u016f\u0170\7\u03bf\2\2\u0170\u0171")
buf.write(u"\7\u03cb\2\2\u0171\u0172\7\u03be\2\2\u0172\u0173\7\u03c1")
buf.write(u"\2\2\u0173\u0174\7\u03b6\2\2\u0174\u0175\7\u03ce\2\2")
buf.write(u"\u0175\u0176\7\u03c6\2\2\u0176\u0177\7\u03b9\2\2\u0177")
buf.write(u"\u0178\7\u03c5\2\2\u0178\u0179\7\u03b9\2\2\u0179\u01ac")
buf.write(u"\7\u03c4\2\2\u017a\u017b\7\u0395\2\2\u017b\u017c\7\u03bf")
buf.write(u"\2\2\u017c\u017d\7\u03cb\2\2\u017d\u017e\7\u03be\2\2")
buf.write(u"\u017e\u017f\7\u03c1\2\2\u017f\u0180\7\u03b6\2\2\u0180")
buf.write(u"\u0181\7\u03ce\2\2\u0181\u0182\7\u03c6\2\2\u0182\u0183")
buf.write(u"\7\u03b9\2\2\u0183\u0184\7\u03c5\2\2\u0184\u01ac\7\u03b9")
buf.write(u"\2\2\u0185\u0186\7\u0395\2\2\u0186\u0187\7\u03bf\2\2")
buf.write(u"\u0187\u0188\7\u03cb\2\2\u0188\u0189\7\u03be\2\2\u0189")
buf.write(u"\u018a\7\u03c1\2\2\u018a\u018b\7\u03b6\2\2\u018b\u018c")
buf.write(u"\7\u03c1\2\2\u018c\u018d\7\u03c6\2\2\u018d\u018e\7\u03b0")
buf.write(u"\2\2\u018e\u018f\7\u03c5\2\2\u018f\u0190\7\u03b7\2\2")
buf.write(u"\u0190\u0191\7\u03cb\2\2\u0191\u01ac\7\u03c4\2\2\u0192")
buf.write(u"\u0193\7\u0395\2\2\u0193\u0194\7\u03bf\2\2\u0194\u0195")
buf.write(u"\7\u03cb\2\2\u0195\u0196\7\u00b7\2\2\u0196\u0197\7\u03c1")
buf.write(u"\2\2\u0197\u0198\7\u03b6\2\2\u0198\u0199\7\u03c1\2\2")
buf.write(u"\u0199\u019a\7\u03c6\2\2\u019a\u019b\7\u03b0\2\2\u019b")
buf.write(u"\u019c\7\u03c5\2\2\u019c\u019d\7\u03b7\2\2\u019d\u019e")
buf.write(u"\7\u03cb\2\2\u019e\u01ac\7\u03c4\2\2\u019f\u01a0\7\u03b5")
buf.write(u"\2\2\u01a0\u01a1\7\u03bf\2\2\u01a1\u01a2\7\u03cb\2\2")
buf.write(u"\u01a2\u01a3\7\u03be\2\2\u01a3\u01a4\7\u03c1\2\2\u01a4")
buf.write(u"\u01a5\7\u03b6\2\2\u01a5\u01a6\7\u03ce\2\2\u01a6\u01a7")
buf.write(u"\7\u03c6\2\2\u01a7\u01a8\7\u03b9\2\2\u01a8\u01a9\7\u03c5")
buf.write(u"\2\2\u01a9\u01aa\7\u03b9\2\2\u01aa\u01ac\7\u03c4\2\2")
buf.write(u"\u01ab\u014b\3\2\2\2\u01ab\u0156\3\2\2\2\u01ab\u0162")
buf.write(u"\3\2\2\2\u01ab\u016e\3\2\2\2\u01ab\u017a\3\2\2\2\u01ab")
buf.write(u"\u0185\3\2\2\2\u01ab\u0192\3\2\2\2\u01ab\u019f\3\2\2")
buf.write(u"\2\u01ac\22\3\2\2\2\u01ad\u01ae\7\u03a6\2\2\u01ae\u01af")
buf.write(u"\7\u03a1\2\2\u01af\u01b8\7\u03a7\2\2\u01b0\u01b1\7\u03c6")
buf.write(u"\2\2\u01b1\u01b2\7\u03c1\2\2\u01b2\u01b8\7\u03c7\2\2")
buf.write(u"\u01b3\u01b4\7\u03a6\2\2\u01b4\u01b8\7\u03a1\2\2\u01b5")
buf.write(u"\u01b6\7\u03a6\2\2\u01b6\u01b8\7\u03c1\2\2\u01b7\u01ad")
buf.write(u"\3\2\2\2\u01b7\u01b0\3\2\2\2\u01b7\u01b3\3\2\2\2\u01b7")
buf.write(u"\u01b5\3\2\2\2\u01b8\24\3\2\2\2\u01b9\u01ba\7\u039f\2")
buf.write(u"\2\u01ba\u01bb\7\u03a1\2\2\u01bb\u01bc\7\u039e\2\2\u01bc")
buf.write(u"\u01bd\7\u039b\2\2\u01bd\u01be\7\u039c\2\2\u01be\u01bf")
buf.write(u"\7\u03a1\2\2\u01bf\u01c0\3\2\2\2\u01c0\u01c1\59\35\2")
buf.write(u"\u01c1\u01c2\7\u03a5\2\2\u01c2\u01c3\7\u03a7\2\2\u01c3")
buf.write(u"\u01c4\7\u039e\2\2\u01c4\u01c5\7\u0394\2\2\u01c5\u01c6")
buf.write(u"\7\u03a1\2\2\u01c6\u01c7\7\u03a7\2\2\u01c7\u01c8\7\u039d")
buf.write(u"\2\2\u01c8\u01c9\7\u039b\2\2\u01c9\u01ca\7\u03a1\2\2")
buf.write(u"\u01ca\u01e0\3\2\2\2\u01cb\u01cc\7\u039f\2\2\u01cc\u01cd")
buf.write(u"\7\u03a1\2\2\u01cd\u01ce\7\u039e\2\2\u01ce\u01cf\7\u039b")
buf.write(u"\2\2\u01cf\u01d0\7\u039c\2\2\u01d0\u01d1\7\u03a1\2\2")
buf.write(u"\u01d1\u01d2\7\u03a7\2\2\u01d2\u01d3\3\2\2\2\u01d3\u01d4")
buf.write(u"\59\35\2\u01d4\u01d5\7\u03a5\2\2\u01d5\u01d6\7\u03a7")
buf.write(u"\2\2\u01d6\u01d7\7\u039e\2\2\u01d7\u01d8\7\u0394\2\2")
buf.write(u"\u01d8\u01d9\7\u03a1\2\2\u01d9\u01da\7\u03a7\2\2\u01da")
buf.write(u"\u01db\7\u039d\2\2\u01db\u01dc\7\u039b\2\2\u01dc\u01dd")
buf.write(u"\7\u03a1\2\2\u01dd\u01de\7\u03a7\2\2\u01de\u01e0\3\2")
buf.write(u"\2\2\u01df\u01b9\3\2\2\2\u01df\u01cb\3\2\2\2\u01e0\u01e1")
buf.write(u"\3\2\2\2\u01e1\u01e2\59\35\2\u01e2\u01e3\5\23\n\2\u01e3")
buf.write(u"\u01e4\59\35\2\u01e4\u01e5\7\u039c\2\2\u01e5\u01e6\7")
buf.write(u"\u03a3\2\2\u01e6\u01e7\7\u0393\2\2\u01e7\u01e8\7\u03a6")
buf.write(u"\2\2\u01e8\u01e9\7\u03a1\2\2\u01e9\u01ea\7\u03a7\2\2")
buf.write(u"\u01ea\u01eb\7\u03a5\2\2\u01eb\u020a\3\2\2\2\u01ec\u01ed")
buf.write(u"\7\u039f\2\2\u01ed\u01ee\7\u03c1\2\2\u01ee\u01ef\7\u03be")
buf.write(u"\2\2\u01ef\u01f0\7\u03bb\2\2\u01f0\u01f1\7\u03bc\2\2")
buf.write(u"\u01f1\u01f2\7\u03ce\2\2\u01f2\u01f3\3\2\2\2\u01f3\u01f4")
buf.write(u"\59\35\2\u01f4\u01f5\7\u03a5\2\2\u01f5\u01f6\7\u03c7")
buf.write(u"\2\2\u01f6\u01f7\7\u03be\2\2\u01f7\u01f8\7\u03b4\2\2")
buf.write(u"\u01f8\u01f9\7\u03c1\2\2\u01f9\u01fa\7\u03cf\2\2\u01fa")
buf.write(u"\u01fb\7\u03bd\2\2\u01fb\u01fc\7\u03bb\2\2\u01fc\u01fd")
buf.write(u"\7\u03c1\2\2\u01fd\u01fe\3\2\2\2\u01fe\u01ff\59\35\2")
buf.write(u"\u01ff\u0200\5\23\n\2\u0200\u0201\59\35\2\u0201\u0202")
buf.write(u"\7\u039c\2\2\u0202\u0203\7\u03c3\2\2\u0203\u0204\7\u03ae")
buf.write(u"\2\2\u0204\u0205\7\u03c6\2\2\u0205\u0206\7\u03c1\2\2")
buf.write(u"\u0206\u0207\7\u03c7\2\2\u0207\u0208\7\u03c4\2\2\u0208")
buf.write(u"\u020a\3\2\2\2\u0209\u01df\3\2\2\2\u0209\u01ec\3\2\2")
buf.write(u"\2\u020a\26\3\2\2\2\u020b\u020c\7\u039b\2\2\u020c\u020d")
buf.write(u"\7\u03c5\2\2\u020d\u020e\7\u03c6\2\2\u020e\u020f\7\u03c1")
buf.write(u"\2\2\u020f\u0210\7\u03c3\2\2\u0210\u0211\7\u03bb\2\2")
buf.write(u"\u0211\u0212\7\u03bc\2\2\u0212\u0213\7\u03ce\2\2\u0213")
buf.write(u"\u0215\3\2\2\2\u0214\u0216\5A!\2\u0215\u0214\3\2\2\2")
buf.write(u"\u0215\u0216\3\2\2\2\u0216\u027d\3\2\2\2\u0217\u0218")
buf.write(u"\7\u039b\2\2\u0218\u0219\7\u03a5\2\2\u0219\u021a\7\u03a6")
buf.write(u"\2\2\u021a\u021b\7\u03a1\2\2\u021b\u021c\7\u03a3\2\2")
buf.write(u"\u021c\u021d\7\u039b\2\2\u021d\u021e\7\u039c\2\2\u021e")
buf.write(u"\u021f\7\u03a1\2\2\u021f\u0221\3\2\2\2\u0220\u0222\5")
buf.write(u"A!\2\u0221\u0220\3\2\2\2\u0221\u0222\3\2\2\2\u0222\u027d")
buf.write(u"\3\2\2\2\u0223\u0224\7\u039b\2\2\u0224\u0225\7\u03a5")
buf.write(u"\2\2\u0225\u0226\7\u03a6\2\2\u0226\u0227\7\u03a1\2\2")
buf.write(u"\u0227\u0228\7\u03a3\2\2\u0228\u0229\7\u039b\2\2\u0229")
buf.write(u"\u022a\7\u039c\2\2\u022a\u022b\7\u03a1\2\2\u022b\u022c")
buf.write(u"\7\"\2\2\u022c\u022d\7\u03a6\2\2\u022d\u022e\7\u0399")
buf.write(u"\2\2\u022e\u022f\7\u03a5\2\2\u022f\u0230\7\"\2\2\u0230")
buf.write(u"\u0231\7\u03a7\2\2\u0231\u0232\7\u03a2\2\2\u0232\u0233")
buf.write(u"\7\u03a1\2\2\u0233\u0234\7\u039a\2\2\u0234\u0235\7\u0397")
buf.write(u"\2\2\u0235\u0236\7\u03a5\2\2\u0236\u0237\7\u0399\2\2")
buf.write(u"\u0237\u027d\7\u03a5\2\2\u0238\u0239\7\u039b\2\2\u0239")
buf.write(u"\u023a\7\u03a5\2\2\u023a\u023b\7\u03a6\2\2\u023b\u023c")
buf.write(u"\7\u03a1\2\2\u023c\u023d\7\u03a3\2\2\u023d\u023e\7\u039b")
buf.write(u"\2\2\u023e\u023f\7\u039c\2\2\u023f\u0240\7\u03a1\2\2")
buf.write(u"\u0240\u0241\7\"\2\2\u0241\u0242\7\u039c\2\2\u0242\u0243")
buf.write(u"\7\u0393\2\2\u0243\u0244\7\u039b\2\2\u0244\u0245\7\"")
buf.write(u"\2\2\u0245\u0246\7\u0395\2\2\u0246\u0247\7\u039f\2\2")
buf.write(u"\u0247\u0248\7\u03ab\2\2\u0248\u0249\7\u039e\2\2\u0249")
buf.write(u"\u024a\7\u03a1\2\2\u024a\u024b\7\u0396\2\2\u024b\u024c")
buf.write(u"\7\u03a1\2\2\u024c\u024d\7\u03a6\2\2\u024d\u024e\7\u0399")
buf.write(u"\2\2\u024e\u024f\7\u03a5\2\2\u024f\u0250\7\u0399\2\2")
buf.write(u"\u0250\u0251\7\"\2\2\u0251\u0252\7\u039f\2\2\u0252\u0253")
buf.write(u"\7\u03a5\2\2\u0253\u0254\7\u039c\2\2\u0254\u0255\3\2")
buf.write(u"\2\2\u0255\u0256\59\35\2\u0256\u0257\5!\21\2\u0257\u0258")
buf.write(u"\5#\22\2\u0258\u0259\5!\21\2\u0259\u027d\3\2\2\2\u025a")
buf.write(u"\u025b\7\u03a5\2\2\u025b\u025c\7\u03cf\2\2\u025c\u025d")
buf.write(u"\7\u03bf\2\2\u025d\u025e\7\u03c6\2\2\u025e\u025f\7\u03c1")
buf.write(u"\2\2\u025f\u0260\7\u03be\2\2\u0260\u0261\7\u03c1\2\2")
buf.write(u"\u0261\u0262\3\2\2\2\u0262\u0263\59\35\2\u0263\u0264")
buf.write(u"\7\u039b\2\2\u0264\u0265\7\u03c5\2\2\u0265\u0266\7\u03c6")
buf.write(u"\2\2\u0266\u0267\7\u03c1\2\2\u0267\u0268\7\u03c3\2\2")
buf.write(u"\u0268\u0269\7\u03bb\2\2\u0269\u026a\7\u03bc\2\2\u026a")
buf.write(u"\u026b\7\u03ce\2\2\u026b\u027d\3\2\2\2\u026c\u026d\7")
buf.write(u"\u0396\2\2\u026d\u026e\7\u03a1\2\2\u026e\u026f\7\u039a")
buf.write(u"\2\2\u026f\u0270\7\u0397\2\2\u0270\u0271\7\u039f\2\2")
buf.write(u"\u0271\u0272\3\2\2\2\u0272\u0273\59\35\2\u0273\u0274")
buf.write(u"\7\u039b\2\2\u0274\u0275\7\u03a5\2\2\u0275\u0276\7\u03a6")
buf.write(u"\2\2\u0276\u0277\7\u03a1\2\2\u0277\u0278\7\u03a3\2\2")
buf.write(u"\u0278\u0279\7\u039b\2\2\u0279\u027a\7\u039c\2\2\u027a")
buf.write(u"\u027b\7\u03a1\2\2\u027b\u027d\3\2\2\2\u027c\u020b\3")
buf.write(u"\2\2\2\u027c\u0217\3\2\2\2\u027c\u0223\3\2\2\2\u027c")
buf.write(u"\u0238\3\2\2\2\u027c\u025a\3\2\2\2\u027c\u026c\3\2\2")
buf.write(u"\2\u027d\30\3\2\2\2\u027e\u027f\7\u0397\2\2\u027f\u0280")
buf.write(u"\7\u03c8\2\2\u0280\u0281\7\u03b3\2\2\u0281\u0282\7\u03c3")
buf.write(u"\2\2\u0282\u0283\7\u03be\2\2\u0283\u0284\7\u03c1\2\2")
buf.write(u"\u0284\u0285\7\u03c5\2\2\u0285\u0286\7\u03c6\2\2\u0286")
buf.write(u"\u0287\7\u03af\2\2\u0287\u0288\7\u03b7\2\2\u0288\u0289")
buf.write(u"\7\u03c4\2\2\u0289\u028a\7\"\2\2\u028a\u028b\7\u03b6")
buf.write(u"\2\2\u028b\u028c\7\u03bb\2\2\u028c\u028d\7\u03b3\2\2")
buf.write(u"\u028d\u028e\7\u03c6\2\2\u028e\u028f\7\u03ae\2\2\u028f")
buf.write(u"\u0290\7\u03c0\2\2\u0290\u0291\7\u03b7\2\2\u0291\u0292")
buf.write(u"\7\u03bb\2\2\u0292\u0521\7\u03c4\2\2\u0293\u0294\7\u03a5")
buf.write(u"\2\2\u0294\u0295\7\u03c9\2\2\u0295\u0296\7\u03b7\2\2")
buf.write(u"\u0296\u0297\7\u03c6\2\2\u0297\u0298\7\u03bb\2\2\u0298")
buf.write(u"\u0299\7\u03bc\2\2\u0299\u029a\7\u03af\2\2\u029a\u029b")
buf.write(u"\7\u03c4\2\2\u029b\u029c\7\"\2\2\u029c\u029d\7\u03b6")
buf.write(u"\2\2\u029d\u029e\7\u03bb\2\2\u029e\u029f\7\u03b3\2\2")
buf.write(u"\u029f\u02a0\7\u03c6\2\2\u02a0\u02a1\7\u03ae\2\2\u02a1")
buf.write(u"\u02a2\7\u03c0\2\2\u02a2\u02a3\7\u03b7\2\2\u02a3\u02a4")
buf.write(u"\7\u03bb\2\2\u02a4\u0521\7\u03c4\2\2\u02a5\u02a6\7/\2")
buf.write(u"\2\u02a6\u02a7\7\"\2\2\u02a7\u02a8\7\u039c\2\2\u02a8")
buf.write(u"\u02a9\7\u03a3\2\2\u02a9\u02aa\7\u039b\2\2\u02aa\u02ab")
buf.write(u"\7\u03a5\2\2\u02ab\u02ac\7\u039b\2\2\u02ac\u02ad\7\u039e")
buf.write(u"\2\2\u02ad\u02ae\7\u0397\2\2\u02ae\u02af\7\u03a5\2\2")
buf.write(u"\u02af\u02b0\7\"\2\2\u02b0\u02b1\7\u0396\2\2\u02b1\u02b2")
buf.write(u"\7\u039b\2\2\u02b2\u02b3\7\u0393\2\2\u02b3\u02b4\7\u03a6")
buf.write(u"\2\2\u02b4\u02b5\7\u0393\2\2\u02b5\u02b6\7\u03a0\2\2")
buf.write(u"\u02b6\u02b7\7\u0397\2\2\u02b7\u02b8\7\u039b\2\2\u02b8")
buf.write(u"\u02b9\7\u03a5\2\2\u02b9\u02bb\3\2\2\2\u02ba\u02bc\5")
buf.write(u"A!\2\u02bb\u02ba\3\2\2\2\u02bb\u02bc\3\2\2\2\u02bc\u0521")
buf.write(u"\3\2\2\2\u02bd\u02be\7\u039c\2\2\u02be\u02bf\7\u03a3")
buf.write(u"\2\2\u02bf\u02c0\7\u039b\2\2\u02c0\u02c1\7\u03a5\2\2")
buf.write(u"\u02c1\u02c2\7\u039b\2\2\u02c2\u02c3\7\u039e\2\2\u02c3")
buf.write(u"\u02c4\7\u0397\2\2\u02c4\u02c5\7\u03a5\2\2\u02c5\u02c6")
buf.write(u"\7\"\2\2\u02c6\u02c7\7\u0396\2\2\u02c7\u02c8\7\u039b")
buf.write(u"\2\2\u02c8\u02c9\7\u0393\2\2\u02c9\u02ca\7\u03a6\2\2")
buf.write(u"\u02ca\u02cb\7\u0393\2\2\u02cb\u02cc\7\u03a0\2\2\u02cc")
buf.write(u"\u02cd\7\u0397\2\2\u02cd\u02ce\7\u039b\2\2\u02ce\u02cf")
buf.write(u"\7\u03a5\2\2\u02cf\u02d1\3\2\2\2\u02d0\u02d2\5A!\2\u02d1")
buf.write(u"\u02d0\3\2\2\2\u02d1\u02d2\3\2\2\2\u02d2\u0521\3\2\2")
buf.write(u"\2\u02d3\u02d4\7\u039c\2\2\u02d4\u02d5\7\u03c3\2\2\u02d5")
buf.write(u"\u02d6\7\u03b1\2\2\u02d6\u02d7\7\u03c5\2\2\u02d7\u02d8")
buf.write(u"\7\u03bb\2\2\u02d8\u02d9\7\u03be\2\2\u02d9\u02da\7\u03b7")
buf.write(u"\2\2\u02da\u02db\7\u03c4\2\2\u02db\u02dc\7\"\2\2\u02dc")
buf.write(u"\u02dd\7\u03b6\2\2\u02dd\u02de\7\u03bb\2\2\u02de\u02df")
buf.write(u"\7\u03b3\2\2\u02df\u02e0\7\u03c6\2\2\u02e0\u02e1\7\u03ae")
buf.write(u"\2\2\u02e1\u02e2\7\u03c0\2\2\u02e2\u02e3\7\u03b7\2\2")
buf.write(u"\u02e3\u02e4\7\u03bb\2\2\u02e4\u0521\7\u03c4\2\2\u02e5")
buf.write(u"\u02e6\7\u0397\2\2\u02e6\u02e7\7\u03c3\2\2\u02e7\u02e8")
buf.write(u"\7\u03be\2\2\u02e8\u02e9\7\u03b9\2\2\u02e9\u02ea\7\u03bf")
buf.write(u"\2\2\u02ea\u02eb\7\u03b7\2\2\u02eb\u02ec\7\u03b1\2\2")
buf.write(u"\u02ec\u02ed\7\u03b3\2\2\u02ed\u02ee\7\"\2\2\u02ee\u02ef")
buf.write(u"\7\u03c6\2\2\u02ef\u02f0\7\u03b9\2\2\u02f0\u02f1\7\u03c4")
buf.write(u"\2\2\u02f1\u02f2\7\"\2\2\u02f2\u02f3\7\u03b6\2\2\u02f3")
buf.write(u"\u02f4\7\u03bb\2\2\u02f4\u02f5\7\u03ae\2\2\u02f5\u02f6")
buf.write(u"\7\u03c6\2\2\u02f6\u02f7\7\u03b3\2\2\u02f7\u02f8\7\u03c0")
buf.write(u"\2\2\u02f8\u02f9\7\u03b9\2\2\u02f9\u02fa\7\u03c4\2\2")
buf.write(u"\u02fa\u02fb\7\"\2\2\u02fb\u02fc\7/\2\2\u02fc\u02fd\7")
buf.write(u"\"\2\2\u02fd\u02fe\7\u03a7\2\2\u02fe\u02ff\7\u03c2\2")
buf.write(u"\2\u02ff\u0300\7\u03b3\2\2\u0300\u0301\7\u03b5\2\2\u0301")
buf.write(u"\u0302\7\u03cb\2\2\u0302\u0303\7\u03b5\2\2\u0303\u0521")
buf.write(u"\7\u03b0\2\2\u0304\u0305\7\u0397\2\2\u0305\u0306\7\u03c3")
buf.write(u"\2\2\u0306\u0307\7\u03be\2\2\u0307\u0308\7\u03b9\2\2")
buf.write(u"\u0308\u0309\7\u03bf\2\2\u0309\u030a\7\u03b7\2\2\u030a")
buf.write(u"\u030b\7\u03b1\2\2\u030b\u030c\7\u03b3\2\2\u030c\u030d")
buf.write(u"\7\"\2\2\u030d\u030e\7\u03c6\2\2\u030e\u030f\7\u03cb")
buf.write(u"\2\2\u030f\u0310\7\u03bf\2\2\u0310\u0311\7\"\2\2\u0311")
buf.write(u"\u0312\7\u03b6\2\2\u0312\u0313\7\u03bb\2\2\u0313\u0314")
buf.write(u"\7\u03b3\2\2\u0314\u0315\7\u03c6\2\2\u0315\u0316\7\u03ae")
buf.write(u"\2\2\u0316\u0317\7\u03c0\2\2\u0317\u0318\7\u03b7\2\2")
buf.write(u"\u0318\u0319\7\u03cb\2\2\u0319\u031a\7\u03bf\2\2\u031a")
buf.write(u"\u031c\3\2\2\2\u031b\u031d\5A!\2\u031c\u031b\3\2\2\2")
buf.write(u"\u031c\u031d\3\2\2\2\u031d\u0521\3\2\2\2\u031e\u031f")
buf.write(u"\7\u0397\2\2\u031f\u0320\7\u03a3\2\2\u0320\u0321\7\u039e")
buf.write(u"\2\2\u0321\u0322\7\u0399\2\2\u0322\u0323\7\u039f\2\2")
buf.write(u"\u0323\u0324\7\u0397\2\2\u0324\u0325\7\u039b\2\2\u0325")
buf.write(u"\u0326\7\u0393\2\2\u0326\u0327\7\"\2\2\u0327\u0328\7")
buf.write(u"\u03a6\2\2\u0328\u0329\7\u03ab\2\2\u0329\u032a\7\u039f")
buf.write(u"\2\2\u032a\u032b\7\"\2\2\u032b\u032c\7\u0396\2\2\u032c")
buf.write(u"\u032d\7\u039b\2\2\u032d\u032e\7\u0393\2\2\u032e\u032f")
buf.write(u"\7\u03a6\2\2\u032f\u0330\7\u0393\2\2\u0330\u0331\7\u03a0")
buf.write(u"\2\2\u0331\u0332\7\u0397\2\2\u0332\u0333\7\u03ab\2\2")
buf.write(u"\u0333\u0521\7\u039f\2\2\u0334\u0335\7\u0397\2\2\u0335")
buf.write(u"\u0336\7\u03c3\2\2\u0336\u0337\7\u03be\2\2\u0337\u0338")
buf.write(u"\7\u03b9\2\2\u0338\u0339\7\u03bf\2\2\u0339\u033a\7\u03b7")
buf.write(u"\2\2\u033a\u033b\7\u03b1\2\2\u033b\u033c\7\u03b3\2\2")
buf.write(u"\u033c\u033d\7\"\2\2\u033d\u033e\7\u03bc\2\2\u033e\u033f")
buf.write(u"\7\u03b3\2\2\u033f\u0340\7\u03bb\2\2\u0340\u0341\7\"")
buf.write(u"\2\2\u0341\u0342\7\u03b7\2\2\u0342\u0343\7\u03c8\2\2")
buf.write(u"\u0343\u0344\7\u03b3\2\2\u0344\u0345\7\u03c3\2\2\u0345")
buf.write(u"\u0346\7\u03be\2\2\u0346\u0347\7\u03c1\2\2\u0347\u0348")
buf.write(u"\7\u03b5\2\2\u0348\u0349\7\u03b0\2\2\u0349\u034a\7\"")
buf.write(u"\2\2\u034a\u034b\7\u03b6\2\2\u034b\u034c\7\u03bb\2\2")
buf.write(u"\u034c\u034d\7\u03b3\2\2\u034d\u034e\7\u03c6\2\2\u034e")
buf.write(u"\u034f\7\u03ae\2\2\u034f\u0350\7\u03c0\2\2\u0350\u0351")
buf.write(u"\7\u03b7\2\2\u0351\u0352\7\u03cb\2\2\u0352\u0521\7\u03bf")
buf.write(u"\2\2\u0353\u0354\7\u0397\2\2\u0354\u0355\7\u03c3\2\2")
buf.write(u"\u0355\u0356\7\u03be\2\2\u0356\u0357\7\u03b9\2\2\u0357")
buf.write(u"\u0358\7\u03bf\2\2\u0358\u0359\7\u03b7\2\2\u0359\u035a")
buf.write(u"\7\u03b1\2\2\u035a\u035b\7\u03b3\2\2\u035b\u035c\7\"")
buf.write(u"\2\2\u035c\u035d\7\u03bc\2\2\u035d\u035e\7\u03b3\2\2")
buf.write(u"\u035e\u035f\7\u03bb\2\2\u035f\u0360\7\"\2\2\u0360\u0361")
buf.write(u"\7\u03b7\2\2\u0361\u0362\7\u03c8\2\2\u0362\u0363\7\u03b3")
buf.write(u"\2\2\u0363\u0364\7\u03c3\2\2\u0364\u0365\7\u03be\2\2")
buf.write(u"\u0365\u0366\7\u03c1\2\2\u0366\u0367\7\u03b5\2\2\u0367")
buf.write(u"\u0368\7\u03b0\2\2\u0368\u0369\7\"\2\2\u0369\u036a\7")
buf.write(u"\u03c6\2\2\u036a\u036b\7\u03cb\2\2\u036b\u036c\7\u03bf")
buf.write(u"\2\2\u036c\u036d\7\"\2\2\u036d\u036e\7\u03b6\2\2\u036e")
buf.write(u"\u036f\7\u03bb\2\2\u036f\u0370\7\u03b3\2\2\u0370\u0371")
buf.write(u"\7\u03c6\2\2\u0371\u0372\7\u03ae\2\2\u0372\u0373\7\u03c0")
buf.write(u"\2\2\u0373\u0374\7\u03b7\2\2\u0374\u0375\7\u03cb\2\2")
buf.write(u"\u0375\u0521\7\u03bf\2\2\u0376\u0377\7\u0397\2\2\u0377")
buf.write(u"\u0378\7\u03c3\2\2\u0378\u0379\7\u03be\2\2\u0379\u037a")
buf.write(u"\7\u03b9\2\2\u037a\u037b\7\u03bf\2\2\u037b\u037c\7\u03b7")
buf.write(u"\2\2\u037c\u037d\7\u03b1\2\2\u037d\u037e\7\u03b3\2\2")
buf.write(u"\u037e\u037f\7\"\2\2\u037f\u0380\7\u03b6\2\2\u0380\u0381")
buf.write(u"\7\u03bb\2\2\u0381\u0382\7\u03b3\2\2\u0382\u0383\7\u03c6")
buf.write(u"\2\2\u0383\u0384\7\u03ae\2\2\u0384\u0385\7\u03c0\2\2")
buf.write(u"\u0385\u0386\7\u03b7\2\2\u0386\u0387\7\u03cb\2\2\u0387")
buf.write(u"\u0521\7\u03bf\2\2\u0388\u0389\7\u0397\2\2\u0389\u038a")
buf.write(u"\7\u03a3\2\2\u038a\u038b\7\u039e\2\2\u038b\u038c\7\u0399")
buf.write(u"\2\2\u038c\u038d\7\u039f\2\2\u038d\u038e\7\u0397\2\2")
buf.write(u"\u038e\u038f\7\u039b\2\2\u038f\u0390\7\u0393\2\2\u0390")
buf.write(u"\u0391\7\"\2\2\u0391\u0392\7\u039c\2\2\u0392\u0393\7")
buf.write(u"\u0393\2\2\u0393\u0394\7\u039b\2\2\u0394\u0395\7\"\2")
buf.write(u"\2\u0395\u0396\7\u0397\2\2\u0396\u0397\7\u03a8\2\2\u0397")
buf.write(u"\u0398\7\u0393\2\2\u0398\u0399\7\u03a3\2\2\u0399\u039a")
buf.write(u"\7\u039e\2\2\u039a\u039b\7\u03a1\2\2\u039b\u039c\7\u0395")
buf.write(u"\2\2\u039c\u039d\7\u0399\2\2\u039d\u039e\7\"\2\2\u039e")
buf.write(u"\u039f\7\u03a6\2\2\u039f\u03a0\7\u03ab\2\2\u03a0\u03a1")
buf.write(u"\7\u039f\2\2\u03a1\u03a2\7\"\2\2\u03a2\u03a3\7\u0396")
buf.write(u"\2\2\u03a3\u03a4\7\u039b\2\2\u03a4\u03a5\7\u0393\2\2")
buf.write(u"\u03a5\u03a6\7\u03a6\2\2\u03a6\u03a7\7\u0393\2\2\u03a7")
buf.write(u"\u03a8\7\u03a0\2\2\u03a8\u03a9\7\u0397\2\2\u03a9\u03aa")
buf.write(u"\7\u03ab\2\2\u03aa\u0521\7\u039f\2\2\u03ab\u03ac\7\u039f")
buf.write(u"\2\2\u03ac\u03ad\7\u03c1\2\2\u03ad\u03ae\7\u03be\2\2")
buf.write(u"\u03ae\u03af\7\u03c1\2\2\u03af\u03b0\7\u03ba\2\2\u03b0")
buf.write(u"\u03b1\7\u03b7\2\2\u03b1\u03b2\7\u03c6\2\2\u03b2\u03b3")
buf.write(u"\7\u03bb\2\2\u03b3\u03b4\7\u03bc\2\2\u03b4\u03b5\7\u03ce")
buf.write(u"\2\2\u03b5\u03b6\7\"\2\2\u03b6\u03b7\7\u03c2\2\2\u03b7")
buf.write(u"\u03b8\7\u03bd\2\2\u03b8\u03b9\7\u03b3\2\2\u03b9\u03ba")
buf.write(u"\7\u03b1\2\2\u03ba\u03bb\7\u03c5\2\2\u03bb\u03bc\7\u03bb")
buf.write(u"\2\2\u03bc\u03bd\7\u03c1\2\2\u03bd\u03bf\3\2\2\2\u03be")
buf.write(u"\u03c0\5A!\2\u03bf\u03be\3\2\2\2\u03bf\u03c0\3\2\2\2")
buf.write(u"\u03c0\u0521\3\2\2\2\u03c1\u03c2\7\u039f\2\2\u03c2\u03c3")
buf.write(u"\7\u03c1\2\2\u03c3\u03c4\7\u03be\2\2\u03c4\u03c5\7\u03c1")
buf.write(u"\2\2\u03c5\u03c6\7\u03ba\2\2\u03c6\u03c7\7\u03b7\2\2")
buf.write(u"\u03c7\u03c8\7\u03c6\2\2\u03c8\u03c9\7\u03bb\2\2\u03c9")
buf.write(u"\u03ca\7\u03bc\2\2\u03ca\u03cb\7\u03ce\2\2\u03cb\u03cc")
buf.write(u"\7\"\2\2\u03cc\u03cd\7\u03a2\2\2\u03cd\u03ce\7\u03bd")
buf.write(u"\2\2\u03ce\u03cf\7\u03b3\2\2\u03cf\u03d0\7\u03b1\2\2")
buf.write(u"\u03d0\u03d1\7\u03c5\2\2\u03d1\u03d2\7\u03bb\2\2\u03d2")
buf.write(u"\u03d3\7\u03c1\2\2\u03d3\u03d5\3\2\2\2\u03d4\u03d6\5")
buf.write(u"A!\2\u03d5\u03d4\3\2\2\2\u03d5\u03d6\3\2\2\2\u03d6\u0521")
buf.write(u"\3\2\2\2\u03d7\u03d8\7P\2\2\u03d8\u03d9\7\u03c1\2\2\u03d9")
buf.write(u"\u03da\7\u03be\2\2\u03da\u03db\7\u03c1\2\2\u03db\u03dc")
buf.write(u"\7\u03ba\2\2\u03dc\u03dd\7\u03b7\2\2\u03dd\u03de\7\u03c6")
buf.write(u"\2\2\u03de\u03df\7\u03bb\2\2\u03df\u03e0\7\u03bc\2\2")
buf.write(u"\u03e0\u03e1\7\u03ce\2\2\u03e1\u03e2\7\"\2\2\u03e2\u03e3")
buf.write(u"\7\u03c2\2\2\u03e3\u03e4\7\u03bd\2\2\u03e4\u03e5\7\u03b3")
buf.write(u"\2\2\u03e5\u03e6\7\u03b1\2\2\u03e6\u03e7\7\u03c5\2\2")
buf.write(u"\u03e7\u03e8\7\u03bb\2\2\u03e8\u03e9\7\u03c1\2\2\u03e9")
buf.write(u"\u03eb\3\2\2\2\u03ea\u03ec\5A!\2\u03eb\u03ea\3\2\2\2")
buf.write(u"\u03eb\u03ec\3\2\2\2\u03ec\u0521\3\2\2\2\u03ed\u03ee")
buf.write(u"\7\u039f\2\2\u03ee\u03ef\7\u03a1\2\2\u03ef\u03f0\7\u039e")
buf.write(u"\2\2\u03f0\u03f1\7\u03a1\2\2\u03f1\u03f2\7\u039a\2\2")
buf.write(u"\u03f2\u03f3\7\u0397\2\2\u03f3\u03f4\7\u03a6\2\2\u03f4")
buf.write(u"\u03f5\7\u039b\2\2\u03f5\u03f6\7\u039c\2\2\u03f6\u03f7")
buf.write(u"\7\u03a1\2\2\u03f7\u03f8\7\"\2\2\u03f8\u03f9\7\u03a2")
buf.write(u"\2\2\u03f9\u03fa\7\u039d\2\2\u03fa\u03fb\7\u0393\2\2")
buf.write(u"\u03fb\u03fc\7\u039b\2\2\u03fc\u03fd\7\u03a5\2\2\u03fd")
buf.write(u"\u03fe\7\u039b\2\2\u03fe\u03ff\7\u03a1\2\2\u03ff\u0401")
buf.write(u"\3\2\2\2\u0400\u0402\5A!\2\u0401\u0400\3\2\2\2\u0401")
buf.write(u"\u0402\3\2\2\2\u0402\u0521\3\2\2\2\u0403\u0404\7\u039f")
buf.write(u"\2\2\u0404\u0405\7\u03a1\2\2\u0405\u0406\7\u039e\2\2")
buf.write(u"\u0406\u0407\7\u039b\2\2\u0407\u0408\7\u039c\2\2\u0408")
buf.write(u"\u0409\7\u03a1\2\2\u0409\u040a\7\u03a2\2\2\u040a\u040b")
buf.write(u"\7\u039d\2\2\u040b\u040c\7\u0393\2\2\u040c\u040d\7\u039b")
buf.write(u"\2\2\u040d\u040e\7\u03a5\2\2\u040e\u040f\7\u039b\2\2")
buf.write(u"\u040f\u0410\7\u03a1\2\2\u0410\u0411\3\2\2\2\u0411\u0521")
buf.write(u"\5A!\2\u0412\u0413\7\u0393\2\2\u0413\u0414\7\u03bf\2")
buf.write(u"\2\u0414\u0415\7\u03ae\2\2\u0415\u0416\7\u03bd\2\2\u0416")
buf.write(u"\u0417\7\u03c7\2\2\u0417\u0418\7\u03c5\2\2\u0418\u0521")
buf.write(u"\7\u03b9\2\2\u0419\u041a\7\u03a6\2\2\u041a\u041b\7\u03a1")
buf.write(u"\2\2\u041b\u041c\7\"\2\2\u041c\u041d\7\u039c\2\2\u041d")
buf.write(u"\u041e\7\u03a1\2\2\u041e\u041f\7\u039b\2\2\u041f\u0420")
buf.write(u"\7\u039f\2\2\u0420\u0421\7\u03a1\2\2\u0421\u0422\7\u03a6")
buf.write(u"\2\2\u0422\u0423\7\u039b\2\2\u0423\u0424\7\u039c\2\2")
buf.write(u"\u0424\u0425\7\u03a1\2\2\u0425\u0426\7.\2\2\u0426\u0427")
buf.write(u"\7\"\2\2\u0427\u0428\7\u0397\2\2\u0428\u0429\7\u039a")
buf.write(u"\2\2\u0429\u042a\7\u039f\2\2\u042a\u042b\7\u039b\2\2")
buf.write(u"\u042b\u042c\7\u039c\2\2\u042c\u042d\7\u03a1\2\2\u042d")
buf.write(u"\u042e\7\"\2\2\u042e\u042f\7M\2\2\u042f\u0430\7C\2\2")
buf.write(u"\u0430\u0431\7K\2\2\u0431\u0432\7\"\2\2\u0432\u0433\7")
buf.write(u"\u0397\2\2\u0433\u0434\7\u039b\2\2\u0434\u0435\7\u0396")
buf.write(u"\2\2\u0435\u0436\7\u039b\2\2\u0436\u0437\7\u039c\2\2")
buf.write(u"\u0437\u0438\7\u03a1\2\2\u0438\u0439\7\"\2\2\u0439\u043a")
buf.write(u"\7\u039f\2\2\u043a\u043b\7\u03a1\2\2\u043b\u043c\7\u039e")
buf.write(u"\2\2\u043c\u043d\7\u039b\2\2\u043d\u043e\7\u039c\2\2")
buf.write(u"\u043e\u043f\7\u03a1\2\2\u043f\u0440\7\"\2\2\u0440\u0441")
buf.write(u"\7\u03a2\2\2\u0441\u0442\7\u039d\2\2\u0442\u0443\7\u0393")
buf.write(u"\2\2\u0443\u0444\7\u039b\2\2\u0444\u0445\7\u03a5\2\2")
buf.write(u"\u0445\u0446\7\u039b\2\2\u0446\u0447\7\u03a1\2\2\u0447")
buf.write(u"\u0448\7\"\2\2\u0448\u0449\7\u03a6\2\2\u0449\u044a\7")
buf.write(u"\u0399\2\2\u044a\u044b\7\u03a5\2\2\u044b\u044e\3\2\2")
buf.write(u"\2\u044c\u044f\5\'\24\2\u044d\u044f\59\35\2\u044e\u044c")
buf.write(u"\3\2\2\2\u044e\u044d\3\2\2\2\u044f\u0450\3\2\2\2\u0450")
buf.write(u"\u0451\7\u03a7\2\2\u0451\u0452\7\u03a2\2\2\u0452\u0453")
buf.write(u"\7\u03a1\2\2\u0453\u0454\7\u039a\2\2\u0454\u0455\7\u0397")
buf.write(u"\2\2\u0455\u0456\7\u03a5\2\2\u0456\u0457\7\u0399\2\2")
buf.write(u"\u0457\u0458\7\u03a5\2\2\u0458\u0521\3\2\2\2\u0459\u045a")
buf.write(u"\7\u03a6\2\2\u045a\u045b\7\u0393\2\2\u045b\u045c\7\"")
buf.write(u"\2\2\u045c\u045d\7\u0397\2\2\u045d\u045e\7\u03a3\2\2")
buf.write(u"\u045e\u045f\7\u03ab\2\2\u045f\u0460\7\u03a6\2\2\u0460")
buf.write(u"\u0461\7\u0399\2\2\u0461\u0462\7\u039e\2\2\u0462\u0463")
buf.write(u"\7\u0393\2\2\u0463\u0464\7\u03a6\2\2\u0464\u0521\7\u0393")
buf.write(u"\2\2\u0465\u0466\7\u03a6\2\2\u0466\u0467\7\u0397\2\2")
buf.write(u"\u0467\u0468\7\u039a\2\2\u0468\u0469\7\u0397\2\2\u0469")
buf.write(u"\u046a\7\u039f\2\2\u046a\u046b\7\u03a6\2\2\u046b\u046c")
buf.write(u"\7\u0393\2\2\u046c\u046d\7\"\2\2\u046d\u046e\7\u0397")
buf.write(u"\2\2\u046e\u046f\7\u03a3\2\2\u046f\u0470\7\u03ab\2\2")
buf.write(u"\u0470\u0471\7\u03a6\2\2\u0471\u0472\7\u0399\2\2\u0472")
buf.write(u"\u0473\7\u039e\2\2\u0473\u0474\7\u0393\2\2\u0474\u0475")
buf.write(u"\7\u03a6\2\2\u0475\u0521\7\u0393\2\2\u0476\u0477\7\u03a6")
buf.write(u"\2\2\u0477\u0478\7\u03a1\2\2\u0478\u0479\7\"\2\2\u0479")
buf.write(u"\u047a\7G\2\2\u047a\u047b\7\u039f\2\2\u047b\u047c\7\u03ab")
buf.write(u"\2\2\u047c\u047d\7\u03a5\2\2\u047d\u047e\7\u039b\2\2")
buf.write(u"\u047e\u047f\7\u0393\2\2\u047f\u0480\7\u039c\2\2\u0480")
buf.write(u"\u0481\7\u03a1\2\2\u0481\u0482\7\"\2\2\u0482\u0483\7")
buf.write(u"\u039c\2\2\u0483\u0484\7\u0393\2\2\u0484\u0485\7\u039b")
buf.write(u"\2\2\u0485\u0486\7\"\2\2\u0486\u0487\7\u0397\2\2\u0487")
buf.write(u"\u0488\7\u039a\2\2\u0488\u0489\7\u039f\2\2\u0489\u048a")
buf.write(u"\7\u039b\2\2\u048a\u048b\7\u039c\2\2\u048b\u048c\7\u03a1")
buf.write(u"\2\2\u048c\u048d\7\"\2\2\u048d\u048e\7\u039f\2\2\u048e")
buf.write(u"\u048f\7\u03a1\2\2\u048f\u0490\7\u039e\2\2\u0490\u0491")
buf.write(u"\7\u03a1\2\2\u0491\u0492\7\u039a\2\2\u0492\u0493\7\u0397")
buf.write(u"\2\2\u0493\u0494\7\u03a6\2\2\u0494\u0495\7\u039b\2\2")
buf.write(u"\u0495\u0496\7\u039c\2\2\u0496\u0497\7\u03a1\2\2\u0497")
buf.write(u"\u0498\7\"\2\2\u0498\u0499\7\u039c\2\2\u0499\u049a\7")
buf.write(u"\u0393\2\2\u049a\u049b\7\u039b\2\2\u049b\u049c\7\"\2")
buf.write(u"\2\u049c\u049d\7\u039f\2\2\u049d\u049e\7\u03a1\2\2\u049e")
buf.write(u"\u049f\7\u039e\2\2\u049f\u04a0\7\u03a1\2\2\u04a0\u04a1")
buf.write(u"\7\u039d\2\2\u04a1\u04a2\7\u03a1\2\2\u04a2\u04a3\7\u0395")
buf.write(u"\2\2\u04a3\u04a4\7\u039b\2\2\u04a4\u04a5\7\u0393\2\2")
buf.write(u"\u04a5\u04a6\7\u039c\2\2\u04a6\u04a7\7\u03a1\2\2\u04a7")
buf.write(u"\u04a8\7\"\2\2\u04a8\u04a9\7\u03a2\2\2\u04a9\u04aa\7")
buf.write(u"\u039d\2\2\u04aa\u04ab\7\u0393\2\2\u04ab\u04ac\7\u039b")
buf.write(u"\2\2\u04ac\u04ad\7\u03a5\2\2\u04ad\u04ae\7\u039b\2\2")
buf.write(u"\u04ae\u0521\7\u03a1\2\2\u04af\u04b0\7\u0397\2\2\u04b0")
buf.write(u"\u04b1\7\u03a3\2\2\u04b1\u04b2\7\u039e\2\2\u04b2\u04b3")
buf.write(u"\7\u0399\2\2\u04b3\u04b4\7\u039f\2\2\u04b4\u04b5\7\u0397")
buf.write(u"\2\2\u04b5\u04b6\7\u039b\2\2\u04b6\u04b7\7\u0393\2\2")
buf.write(u"\u04b7\u04b8\7\"\2\2\u04b8\u04b9\7\u2015\2\2\u04b9\u04ba")
buf.write(u"\7\"\2\2\u04ba\u04bb\7\u03a7\2\2\u04bb\u04bc\7\u03a2")
buf.write(u"\2\2\u04bc\u04bd\7\u0393\2\2\u04bd\u04be\7\u0395\2\2")
buf.write(u"\u04be\u04bf\7\u03ab\2\2\u04bf\u04c0\7\u0395\2\2\u04c0")
buf.write(u"\u0521\7\u0399\2\2\u04c1\u04c2\7\u039f\2\2\u04c2\u04c3")
buf.write(u"\7\u03a1\2\2\u04c3\u04c4\7\u039e\2\2\u04c4\u04c5\7\u039b")
buf.write(u"\2\2\u04c5\u04c6\7\u039c\2\2\u04c6\u04c7\7\u03a1\2\2")
buf.write(u"\u04c7\u04c8\7\"\2\2\u04c8\u04c9\7\u03a2\2\2\u04c9\u04ca")
buf.write(u"\7\u039d\2\2\u04ca\u04cb\7\u0393\2\2\u04cb\u04cc\7\u039b")
buf.write(u"\2\2\u04cc\u04cd\7\u03a5\2\2\u04cd\u04ce\7\u039b\2\2")
buf.write(u"\u04ce\u04cf\7\u03a1\2\2\u04cf\u04d0\7\"\2\2\u04d0\u04d1")
buf.write(u"\7\u03a6\2\2\u04d1\u04d2\7\u0399\2\2\u04d2\u04d3\7\u03a5")
buf.write(u"\2\2\u04d3\u04d4\7\"\2\2\u04d4\u04d5\7\u03a7\2\2\u04d5")
buf.write(u"\u04d6\7\u03a2\2\2\u04d6\u04d7\7\u03a1\2\2\u04d7\u04d8")
buf.write(u"\7\u039a\2\2\u04d8\u04d9\7\u0397\2\2\u04d9\u04da\7\u03a5")
buf.write(u"\2\2\u04da\u04db\7\u0399\2\2\u04db\u0521\7\u03a5\2\2")
buf.write(u"\u04dc\u04dd\7\u03a5\2\2\u04dd\u04de\7\u03a7\2\2\u04de")
buf.write(u"\u04df\7\u039e\2\2\u04df\u04e0\7\u03a2\2\2\u04e0\u04e1")
buf.write(u"\7\u0397\2\2\u04e1\u04e2\7\u03a3\2\2\u04e2\u04e3\7\u0393")
buf.write(u"\2\2\u04e3\u04e4\7\u03a5\2\2\u04e4\u04e5\7\u039e\2\2")
buf.write(u"\u04e5\u04e6\7\u0393\2\2\u04e6\u04e7\7V\2\2\u04e7\u0521")
buf.write(u"\7C\2\2\u04e8\u04e9\7\u03a5\2\2\u04e9\u04ea\7\u03a7\2")
buf.write(u"\2\u04ea\u04eb\7\u039e\2\2\u04eb\u04ec\7\u03a2\2\2\u04ec")
buf.write(u"\u04ed\7\u0397\2\2\u04ed\u04ee\7\u03a3\2\2\u04ee\u04ef")
buf.write(u"\7\u0393\2\2\u04ef\u04f0\7\u03a5\2\2\u04f0\u04f1\7\u039e")
buf.write(u"\2\2\u04f1\u04f2\7\u0393\2\2\u04f2\u04f3\7\u03a6\2\2")
buf.write(u"\u04f3\u0521\7\u0393\2\2\u04f4\u04f5\7\u03a5\2\2\u04f5")
buf.write(u"\u04f6\7\u03a7\2\2\u04f6\u04f7\7\u039e\2\2\u04f7\u04f8")
buf.write(u"\7\u03a2\2\2\u04f8\u04f9\7\u0397\2\2\u04f9\u04fa\7\u03a3")
buf.write(u"\2\2\u04fa\u04fb\7\u0393\2\2\u04fb\u04fc\7\u03a5\2\2")
buf.write(u"\u04fc\u04fd\7\u039e\2\2\u04fd\u0521\7\u0393\2\2\u04fe")
buf.write(u"\u04ff\7\u03a5\2\2\u04ff\u0500\7\u03c7\2\2\u0500\u0501")
buf.write(u"\7\u03be\2\2\u0501\u0502\7\u03c2\2\2\u0502\u0503\7\u03af")
buf.write(u"\2\2\u0503\u0504\7\u03c3\2\2\u0504\u0505\7\u03b3\2\2")
buf.write(u"\u0505\u0506\7\u03c5\2\2\u0506\u0507\7\u03be\2\2\u0507")
buf.write(u"\u0521\7\u03b3\2\2\u0508\u0509\7\u03a6\2\2\u0509\u050a")
buf.write(u"\7\u03a1\2\2\u050a\u050b\7\"\2\2\u050b\u050c\7\u0397")
buf.write(u"\2\2\u050c\u050d\7\u039b\2\2\u050d\u050e\7\u0396\2\2")
buf.write(u"\u050e\u050f\7\u039b\2\2\u050f\u0510\7\u039c\2\2\u0510")
buf.write(u"\u0511\7\u03a1\2\2\u0511\u0512\7\"\2\2\u0512\u0513\7")
buf.write(u"\u039f\2\2\u0513\u0514\7\u03a1\2\2\u0514\u0515\7\u039e")
buf.write(u"\2\2\u0515\u0516\7\u039b\2\2\u0516\u0517\7\u039c\2\2")
buf.write(u"\u0517\u0518\7\u03a1\2\2\u0518\u0519\7\"\2\2\u0519\u051a")
buf.write(u"\7\u03a2\2\2\u051a\u051b\7\u039d\2\2\u051b\u051c\7\u0393")
buf.write(u"\2\2\u051c\u051d\7\u039b\2\2\u051d\u051e\7\u03a5\2\2")
buf.write(u"\u051e\u051f\7\u039b\2\2\u051f\u0521\7\u03a1\2\2\u0520")
buf.write(u"\u027e\3\2\2\2\u0520\u0293\3\2\2\2\u0520\u02a5\3\2\2")
buf.write(u"\2\u0520\u02bd\3\2\2\2\u0520\u02d3\3\2\2\2\u0520\u02e5")
buf.write(u"\3\2\2\2\u0520\u0304\3\2\2\2\u0520\u031e\3\2\2\2\u0520")
buf.write(u"\u0334\3\2\2\2\u0520\u0353\3\2\2\2\u0520\u0376\3\2\2")
buf.write(u"\2\u0520\u0388\3\2\2\2\u0520\u03ab\3\2\2\2\u0520\u03c1")
buf.write(u"\3\2\2\2\u0520\u03d7\3\2\2\2\u0520\u03ed\3\2\2\2\u0520")
buf.write(u"\u0403\3\2\2\2\u0520\u0412\3\2\2\2\u0520\u0419\3\2\2")
buf.write(u"\2\u0520\u0459\3\2\2\2\u0520\u0465\3\2\2\2\u0520\u0476")
buf.write(u"\3\2\2\2\u0520\u04af\3\2\2\2\u0520\u04c1\3\2\2\2\u0520")
buf.write(u"\u04dc\3\2\2\2\u0520\u04e8\3\2\2\2\u0520\u04f4\3\2\2")
buf.write(u"\2\u0520\u04fe\3\2\2\2\u0520\u0508\3\2\2\2\u0521\32\3")
buf.write(u"\2\2\2\u0522\u0523\7/\2\2\u0523\u0524\7\"\2\2\u0524\u0525")
buf.write(u"\7\u0393\2\2\u0525\u0526\7\u03c2\2\2\u0526\u0527\7\u03ae")
buf.write(u"\2\2\u0527\u0528\7\u03bf\2\2\u0528\u0529\7\u03c6\2\2")
buf.write(u"\u0529\u052a\7\u03b9\2\2\u052a\u052b\7\u03c5\2\2\u052b")
buf.write(u"\u0547\7\u03b9\2\2\u052c\u052d\7\u0393\2\2\u052d\u052e")
buf.write(u"\7\u03c2\2\2\u052e\u052f\7\u03ae\2\2\u052f\u0530\7\u03bf")
buf.write(u"\2\2\u0530\u0531\7\u03c6\2\2\u0531\u0532\7\u03b9\2\2")
buf.write(u"\u0532\u0533\7\u03c5\2\2\u0533\u0547\7\u03b9\2\2\u0534")
buf.write(u"\u0535\7\u0393\2\2\u0535\u0536\7\u03a2\2\2\u0536\u0537")
buf.write(u"\7\u0393\2\2\u0537\u0538\7\u039f\2\2\u0538\u0539\7\u03a6")
buf.write(u"\2\2\u0539\u053a\7\u0399\2\2\u053a\u053b\7\u03a5\2\2")
buf.write(u"\u053b\u053c\7\u0397\2\2\u053c\u053d\7\u039b\2\2\u053d")
buf.write(u"\u0547\7\u03a5\2\2\u053e\u053f\7\u0393\2\2\u053f\u0540")
buf.write(u"\7\u03a2\2\2\u0540\u0541\7\u0393\2\2\u0541\u0542\7\u039f")
buf.write(u"\2\2\u0542\u0543\7\u03a6\2\2\u0543\u0544\7\u0399\2\2")
buf.write(u"\u0544\u0545\7\u03a5\2\2\u0545\u0547\7\u0399\2\2\u0546")
buf.write(u"\u0522\3\2\2\2\u0546\u052c\3\2\2\2\u0546\u0534\3\2\2")
buf.write(u"\2\u0546\u053e\3\2\2\2\u0547\34\3\2\2\2\u0548\u0549\7")
buf.write(u"\u0397\2\2\u0549\u054a\7\u03c2\2\2\u054a\u054b\7\u03b1")
buf.write(u"\2\2\u054b\u054c\3\2\2\2\u054c\u054d\59\35\2\u054d\u054e")
buf.write(u"\7\u03c6\2\2\u054e\u054f\7\u03cb\2\2\u054f\u0550\7\u03bf")
buf.write(u"\2\2\u0550\u0551\3\2\2\2\u0551\u0552\59\35\2\u0552\u0553")
buf.write(u"\7\u03b7\2\2\u0553\u0554\7\u03c3\2\2\u0554\u0555\7\u03cb")
buf.write(u"\2\2\u0555\u0556\7\u03c6\2\2\u0556\u0557\7\u03b9\2\2")
buf.write(u"\u0557\u0558\7\u03be\2\2\u0558\u0559\7\u03ae\2\2\u0559")
buf.write(u"\u055a\7\u03c6\2\2\u055a\u055b\7\u03cb\2\2\u055b\u055c")
buf.write(u"\7\u03bf\2\2\u055c\u061c\3\2\2\2\u055d\u055e\7\u0397")
buf.write(u"\2\2\u055e\u055f\7\u03c2\2\2\u055f\u0560\7\u03b1\2\2")
buf.write(u"\u0560\u0561\3\2\2\2\u0561\u0562\59\35\2\u0562\u0563")
buf.write(u"\5\23\n\2\u0563\u0564\59\35\2\u0564\u0565\7\u03b3\2\2")
buf.write(u"\u0565\u0566\7\u03bf\2\2\u0566\u0567\7\u03cb\2\2\u0567")
buf.write(u"\u0568\7\u03c6\2\2\u0568\u0569\7\u03af\2\2\u0569\u056a")
buf.write(u"\7\u03c3\2\2\u056a\u056b\7\u03cb\2\2\u056b\u056c\3\2")
buf.write(u"\2\2\u056c\u056d\59\35\2\u056d\u056e\7\u03b7\2\2\u056e")
buf.write(u"\u056f\7\u03c3\2\2\u056f\u0570\7\u03cb\2\2\u0570\u0571")
buf.write(u"\7\u03c6\2\2\u0571\u0572\7\u03b0\2\2\u0572\u0573\7\u03be")
buf.write(u"\2\2\u0573\u0574\7\u03b3\2\2\u0574\u0575\7\u03c6\2\2")
buf.write(u"\u0575\u0576\7\u03c1\2\2\u0576\u0577\7\u03c4\2\2\u0577")
buf.write(u"\u061c\3\2\2\2\u0578\u0579\7\u0397\2\2\u0579\u057a\7")
buf.write(u"\u03c2\2\2\u057a\u057b\7\u03b1\2\2\u057b\u057c\3\2\2")
buf.write(u"\2\u057c\u057d\59\35\2\u057d\u057e\5\23\n\2\u057e\u057f")
buf.write(u"\59\35\2\u057f\u0580\7\u03cb\2\2\u0580\u0581\7\u03c4")
buf.write(u"\2\2\u0581\u0582\3\2\2\2\u0582\u0583\59\35\2\u0583\u0584")
buf.write(u"\7\u03ae\2\2\u0584\u0585\7\u03bf\2\2\u0585\u0586\7\u03cb")
buf.write(u"\2\2\u0586\u0587\3\2\2\2\u0587\u0588\59\35\2\u0588\u0589")
buf.write(u"\7\u03b7\2\2\u0589\u058a\7\u03c3\2\2\u058a\u058b\7\u03cb")
buf.write(u"\2\2\u058b\u058c\7\u03c6\2\2\u058c\u058d\7\u03b0\2\2")
buf.write(u"\u058d\u058e\7\u03be\2\2\u058e\u058f\7\u03b3\2\2\u058f")
buf.write(u"\u0590\7\u03c6\2\2\u0590\u0591\7\u03c1\2\2\u0591\u0592")
buf.write(u"\7\u03c4\2\2\u0592\u061c\3\2\2\2\u0593\u0594\7\u0397")
buf.write(u"\2\2\u0594\u0595\7\u03c2\2\2\u0595\u0596\7\u03b1\2\2")
buf.write(u"\u0596\u0597\3\2\2\2\u0597\u0598\59\35\2\u0598\u0599")
buf.write(u"\5\23\n\2\u0599\u059a\59\35\2\u059a\u059b\7\u03b7\2\2")
buf.write(u"\u059b\u059c\7\u03c3\2\2\u059c\u059d\7\u03cb\2\2\u059d")
buf.write(u"\u059e\7\u03c6\2\2\u059e\u059f\7\u03b0\2\2\u059f\u05a0")
buf.write(u"\7\u03be\2\2\u05a0\u05a1\7\u03b3\2\2\u05a1\u05a2\7\u03c6")
buf.write(u"\2\2\u05a2\u05a3\7\u03c1\2\2\u05a3\u05a4\7\u03c4\2\2")
buf.write(u"\u05a4\u061c\3\2\2\2\u05a5\u05a6\7\u0397\2\2\u05a6\u05a7")
buf.write(u"\7\u03c2\2\2\u05a7\u05a8\7\u03b1\2\2\u05a8\u05a9\3\2")
buf.write(u"\2\2\u05a9\u05aa\59\35\2\u05aa\u05ab\7\u03c6\2\2\u05ab")
buf.write(u"\u05ac\7\u03cb\2\2\u05ac\u05ad\7\u03bf\2\2\u05ad\u05ae")
buf.write(u"\3\2\2\2\u05ae\u05af\59\35\2\u05af\u05b0\7\u03b3\2\2")
buf.write(u"\u05b0\u05b1\7\u03bf\2\2\u05b1\u05b2\7\u03cb\2\2\u05b2")
buf.write(u"\u05b3\7\u03c6\2\2\u05b3\u05b4\7\u03af\2\2\u05b4\u05b5")
buf.write(u"\7\u03c3\2\2\u05b5\u05b6\7\u03cb\2\2\u05b6\u05b7\3\2")
buf.write(u"\2\2\u05b7\u05b8\59\35\2\u05b8\u05b9\7\u03b7\2\2\u05b9")
buf.write(u"\u05ba\7\u03c3\2\2\u05ba\u05bb\7\u03cb\2\2\u05bb\u05bc")
buf.write(u"\7\u03c6\2\2\u05bc\u05bd\7\u03b9\2\2\u05bd\u05be\7\u03be")
buf.write(u"\2\2\u05be\u05bf\7\u03ae\2\2\u05bf\u05c0\7\u03c6\2\2")
buf.write(u"\u05c0\u05c1\7\u03cb\2\2\u05c1\u05c2\7\u03bf\2\2\u05c2")
buf.write(u"\u061c\3\2\2\2\u05c3\u05c4\7\u0397\2\2\u05c4\u05c5\7")
buf.write(u"\u03c2\2\2\u05c5\u05c6\7\u03b1\2\2\u05c6\u05c7\3\2\2")
buf.write(u"\2\u05c7\u05c8\59\35\2\u05c8\u05c9\5\23\n\2\u05c9\u05ca")
buf.write(u"\59\35\2\u05ca\u05cb\7\u03c2\2\2\u05cb\u05cc\7\u03b3")
buf.write(u"\2\2\u05cc\u05cd\7\u03c3\2\2\u05cd\u05ce\7\u03b3\2\2")
buf.write(u"\u05ce\u05cf\7\u03c2\2\2\u05cf\u05d0\7\u03ae\2\2\u05d0")
buf.write(u"\u05d1\7\u03bf\2\2\u05d1\u05d2\7\u03cb\2\2\u05d2\u05d3")
buf.write(u"\3\2\2\2\u05d3\u05d4\59\35\2\u05d4\u05d5\7\u03b7\2\2")
buf.write(u"\u05d5\u05d6\7\u03c3\2\2\u05d6\u05d7\7\u03cb\2\2\u05d7")
buf.write(u"\u05d8\7\u03c6\2\2\u05d8\u05d9\7\u03b0\2\2\u05d9\u05da")
buf.write(u"\7\u03be\2\2\u05da\u05db\7\u03b3\2\2\u05db\u05dc\7\u03c6")
buf.write(u"\2\2\u05dc\u05dd\7\u03c1\2\2\u05dd\u05de\7\u03c4\2\2")
buf.write(u"\u05de\u061c\3\2\2\2\u05df\u05e0\7\u0397\2\2\u05e0\u05e1")
buf.write(u"\7\u03c2\2\2\u05e1\u05e2\7\u03b1\2\2\u05e2\u05e3\3\2")
buf.write(u"\2\2\u05e3\u05e4\59\35\2\u05e4\u05e5\7\u03c6\2\2\u05e5")
buf.write(u"\u05e6\7\u03cb\2\2\u05e6\u05e7\7\u03bf\2\2\u05e7\u05e8")
buf.write(u"\3\2\2\2\u05e8\u05e9\59\35\2\u05e9\u05ea\7\u03cb\2\2")
buf.write(u"\u05ea\u05eb\7\u03c4\2\2\u05eb\u05ec\3\2\2\2\u05ec\u05ed")
buf.write(u"\59\35\2\u05ed\u05ee\7\u03ae\2\2\u05ee\u05ef\7\u03bf")
buf.write(u"\2\2\u05ef\u05f0\7\u03cb\2\2\u05f0\u05f1\3\2\2\2\u05f1")
buf.write(u"\u05f2\59\35\2\u05f2\u05f3\7\u03b7\2\2\u05f3\u05f4\7")
buf.write(u"\u03c3\2\2\u05f4\u05f5\7\u03cb\2\2\u05f5\u05f6\7\u03c6")
buf.write(u"\2\2\u05f6\u05f7\7\u03b9\2\2\u05f7\u05f8\7\u03be\2\2")
buf.write(u"\u05f8\u05f9\7\u03ae\2\2\u05f9\u05fa\7\u03c6\2\2\u05fa")
buf.write(u"\u05fb\7\u03cb\2\2\u05fb\u05fc\7\u03bf\2\2\u05fc\u061c")
buf.write(u"\3\2\2\2\u05fd\u05fe\7\u0397\2\2\u05fe\u05ff\7\u03c2")
buf.write(u"\2\2\u05ff\u0600\7\u03b1\2\2\u0600\u0601\3\2\2\2\u0601")
buf.write(u"\u0602\59\35\2\u0602\u0603\7\u03c6\2\2\u0603\u0604\7")
buf.write(u"\u03cb\2\2\u0604\u0605\7\u03bf\2\2\u0605\u0606\3\2\2")
buf.write(u"\2\u0606\u0607\59\35\2\u0607\u0608\7\u03cb\2\2\u0608")
buf.write(u"\u0609\7\u03c4\2\2\u0609\u060a\3\2\2\2\u060a\u060b\5")
buf.write(u"9\35\2\u060b\u060c\7\u03ae\2\2\u060c\u060d\7\u03bf\2")
buf.write(u"\2\u060d\u060e\7\u03cb\2\2\u060e\u060f\3\2\2\2\u060f")
buf.write(u"\u0610\59\35\2\u0610\u0611\7\u03b7\2\2\u0611\u0612\7")
buf.write(u"\u03c3\2\2\u0612\u0613\7\u03cb\2\2\u0613\u0614\7\u03c6")
buf.write(u"\2\2\u0614\u0615\7\u03b9\2\2\u0615\u0616\7\u00b7\2\2")
buf.write(u"\u0616\u0617\7\u03ae\2\2\u0617\u0618\7\u03c6\2\2\u0618")
buf.write(u"\u0619\7\u03cb\2\2\u0619\u061a\7\u03bf\2\2\u061a\u061c")
buf.write(u"\3\2\2\2\u061b\u0548\3\2\2\2\u061b\u055d\3\2\2\2\u061b")
buf.write(u"\u0578\3\2\2\2\u061b\u0593\3\2\2\2\u061b\u05a5\3\2\2")
buf.write(u"\2\u061b\u05c3\3\2\2\2\u061b\u05df\3\2\2\2\u061b\u05fd")
buf.write(u"\3\2\2\2\u061c\36\3\2\2\2\u061d\u061e\5\17\b\2\u061e")
buf.write(u"\u0647\59\35\2\u061f\u0620\7\u0397\2\2\u0620\u0621\7")
buf.write(u"\u03c3\2\2\u0621\u0622\7\u03cb\2\2\u0622\u0623\7\u03c6")
buf.write(u"\2\2\u0623\u0624\7\u03b0\2\2\u0624\u0625\7\u03be\2\2")
buf.write(u"\u0625\u0626\7\u03b3\2\2\u0626\u0627\7\u03c6\2\2\u0627")
buf.write(u"\u0628\7\u03c1\2\2\u0628\u0648\7\u03c4\2\2\u0629\u062a")
buf.write(u"\7\u0397\2\2\u062a\u062b\7\u03c3\2\2\u062b\u062c\7\u03cb")
buf.write(u"\2\2\u062c\u062d\7\u03c6\2\2\u062d\u062e\7\u03b0\2\2")
buf.write(u"\u062e\u062f\7\u00b7\2\2\u062f\u0630\7\u03b3\2\2\u0630")
buf.write(u"\u0631\7\u03c6\2\2\u0631\u0632\7\u03c1\2\2\u0632\u0648")
buf.write(u"\7\u03c4\2\2\u0633\u0634\7\u03b7\2\2\u0634\u0635\7\u03c3")
buf.write(u"\2\2\u0635\u0636\7\u03cb\2\2\u0636\u0637\7\u03c6\2\2")
buf.write(u"\u0637\u0638\7\u03b0\2\2\u0638\u0639\7\u03be\2\2\u0639")
buf.write(u"\u063a\7\u03b3\2\2\u063a\u063b\7\u03c6\2\2\u063b\u063c")
buf.write(u"\7\u03c1\2\2\u063c\u0648\7\u03c4\2\2\u063d\u063e\7\u0397")
buf.write(u"\2\2\u063e\u063f\7\u03a3\2\2\u063f\u0640\7\u03ab\2\2")
buf.write(u"\u0640\u0641\7\u03a6\2\2\u0641\u0642\7\u0399\2\2\u0642")
buf.write(u"\u0643\7\u039e\2\2\u0643\u0644\7\u0393\2\2\u0644\u0645")
buf.write(u"\7\u03a6\2\2\u0645\u0646\7\u03a1\2\2\u0646\u0648\7\u03a5")
buf.write(u"\2\2\u0647\u061f\3\2\2\2\u0647\u0629\3\2\2\2\u0647\u0633")
buf.write(u"\3\2\2\2\u0647\u063d\3\2\2\2\u0648\u064a\3\2\2\2\u0649")
buf.write(u"\u064b\59\35\2\u064a\u0649\3\2\2\2\u064a\u064b\3\2\2")
buf.write(u"\2\u064b\u064c\3\2\2\2\u064c\u064d\5-\27\2\u064d\u0720")
buf.write(u"\3\2\2\2\u064e\u064f\5\17\b\2\u064f\u0650\59\35\2\u0650")
buf.write(u"\u0651\5-\27\2\u0651\u0720\3\2\2\2\u0652\u0653\7\u0397")
buf.write(u"\2\2\u0653\u0654\7\u03c3\2\2\u0654\u0655\7\u03d0\2\2")
buf.write(u"\u0655\u0656\7\u03c6\2\2\u0656\u0657\7\u03b9\2\2\u0657")
buf.write(u"\u0658\7\u03be\2\2\u0658\u0659\7\u03b3\2\2\u0659\u065b")
buf.write(u"\3\2\2\2\u065a\u065c\59\35\2\u065b\u065a\3\2\2\2\u065b")
buf.write(u"\u065c\3\2\2\2\u065c\u065d\3\2\2\2\u065d\u0720\5-\27")
buf.write(u"\2\u065e\u065f\7\u03a2\2\2\u065f\u0660\7\u03b7\2\2\u0660")
buf.write(u"\u0661\7\u03c3\2\2\u0661\u0662\7\u03b1\2\2\u0662\u0663")
buf.write(u"\7\u03bd\2\2\u0663\u0664\7\u03b9\2\2\u0664\u0665\7\u03ca")
buf.write(u"\2\2\u0665\u066f\7\u03b9\2\2\u0666\u0667\7\u03a2\2\2")
buf.write(u"\u0667\u0668\7\u0397\2\2\u0668\u0669\7\u03a3\2\2\u0669")
buf.write(u"\u066a\7\u039b\2\2\u066a\u066b\7\u039d\2\2\u066b\u066c")
buf.write(u"\7\u0399\2\2\u066c\u066d\7\u03aa\2\2\u066d\u066f\7\u0399")
buf.write(u"\2\2\u066e\u065e\3\2\2\2\u066e\u0666\3\2\2\2\u066f\u0670")
buf.write(u"\3\2\2\2\u0670\u06a3\59\35\2\u0671\u0672\7\u03b7\2\2")
buf.write(u"\u0672\u0673\7\u03c3\2\2\u0673\u0674\7\u03cb\2\2\u0674")
buf.write(u"\u0675\7\u03c6\2\2\u0675\u0676\7\u03b0\2\2\u0676\u0677")
buf.write(u"\7\u03be\2\2\u0677\u0678\7\u03b3\2\2\u0678\u0679\7\u03c6")
buf.write(u"\2\2\u0679\u067a\7\u03c1\2\2\u067a\u06a4\7\u03c4\2\2")
buf.write(u"\u067b\u067c\7\u0397\2\2\u067c\u067d\7\u03c3\2\2\u067d")
buf.write(u"\u067e\7\u03cb\2\2\u067e\u067f\7\u03c6\2\2\u067f\u0680")
buf.write(u"\7\u03b0\2\2\u0680\u0681\7\u03be\2\2\u0681\u0682\7\u03b3")
buf.write(u"\2\2\u0682\u0683\7\u03c6\2\2\u0683\u0684\7\u03c1\2\2")
buf.write(u"\u0684\u06a4\7\u03c4\2\2\u0685\u0686\7\u0397\2\2\u0686")
buf.write(u"\u0687\7\u03c3\2\2\u0687\u0688\7\u03cb\2\2\u0688\u0689")
buf.write(u"\7\u03c6\2\2\u0689\u068a\7\u03b0\2\2\u068a\u068b\7\u00b7")
buf.write(u"\2\2\u068b\u068c\7\u03b3\2\2\u068c\u068d\7\u03c6\2\2")
buf.write(u"\u068d\u068e\7\u03c1\2\2\u068e\u06a4\7\u03c4\2\2\u068f")
buf.write(u"\u0690\7\u03b7\2\2\u0690\u0691\7\u03c3\2\2\u0691\u0692")
buf.write(u"\7\u03cb\2\2\u0692\u0693\7\u03c6\2\2\u0693\u0694\7\u03b9")
buf.write(u"\2\2\u0694\u0695\7\u03be\2\2\u0695\u0696\7\u03ae\2\2")
buf.write(u"\u0696\u0697\7\u03c6\2\2\u0697\u0698\7\u03cb\2\2\u0698")
buf.write(u"\u06a4\7\u03bf\2\2\u0699\u069a\7\u0397\2\2\u069a\u069b")
buf.write(u"\7\u03a3\2\2\u069b\u069c\7\u03ab\2\2\u069c\u069d\7\u03a6")
buf.write(u"\2\2\u069d\u069e\7\u0399\2\2\u069e\u069f\7\u039e\2\2")
buf.write(u"\u069f\u06a0\7\u0393\2\2\u06a0\u06a1\7\u03a6\2\2\u06a1")
buf.write(u"\u06a2\7\u03a1\2\2\u06a2\u06a4\7\u03a5\2\2\u06a3\u0671")
buf.write(u"\3\2\2\2\u06a3\u067b\3\2\2\2\u06a3\u0685\3\2\2\2\u06a3")
buf.write(u"\u068f\3\2\2\2\u06a3\u0699\3\2\2\2\u06a4\u06a6\3\2\2")
buf.write(u"\2\u06a5\u06a7\59\35\2\u06a6\u06a5\3\2\2\2\u06a6\u06a7")
buf.write(u"\3\2\2\2\u06a7\u06a8\3\2\2\2\u06a8\u06a9\5-\27\2\u06a9")
buf.write(u"\u0720\3\2\2\2\u06aa\u06ab\7\u03a2\2\2\u06ab\u06ac\7")
buf.write(u"\u03b7\2\2\u06ac\u06ad\7\u03c3\2\2\u06ad\u06ae\7\u03b1")
buf.write(u"\2\2\u06ae\u06af\7\u03bd\2\2\u06af\u06b0\7\u03b9\2\2")
buf.write(u"\u06b0\u06b1\7\u03ca\2\2\u06b1\u06b2\7\u03b9\2\2\u06b2")
buf.write(u"\u06b4\3\2\2\2\u06b3\u06b5\59\35\2\u06b4\u06b3\3\2\2")
buf.write(u"\2\u06b4\u06b5\3\2\2\2\u06b5\u06b6\3\2\2\2\u06b6\u0720")
buf.write(u"\5-\27\2\u06b7\u06b8\7\u038a\2\2\u06b8\u06b9\7\u03b5")
buf.write(u"\2\2\u06b9\u06ba\7\u03b5\2\2\u06ba\u06bb\7\u03c3\2\2")
buf.write(u"\u06bb\u06bc\7\u03b3\2\2\u06bc\u06bd\7\u03c8\2\2\u06bd")
buf.write(u"\u06be\7\u03c1\2\2\u06be\u06bf\3\2\2\2\u06bf\u06c0\5")
buf.write(u"9\35\2\u06c0\u06c1\7\u0397\2\2\u06c1\u06c2\7\u03c3\2")
buf.write(u"\2\u06c2\u06c3\7\u03cb\2\2\u06c3\u06c4\7\u03c6\2\2\u06c4")
buf.write(u"\u06c5\7\u03b0\2\2\u06c5\u06c6\7\u03be\2\2\u06c6\u06c7")
buf.write(u"\7\u03b3\2\2\u06c7\u06c8\7\u03c6\2\2\u06c8\u06c9\7\u03c1")
buf.write(u"\2\2\u06c9\u06ca\7\u03c4\2\2\u06ca\u06cc\3\2\2\2\u06cb")
buf.write(u"\u06cd\59\35\2\u06cc\u06cb\3\2\2\2\u06cc\u06cd\3\2\2")
buf.write(u"\2\u06cd\u06ce\3\2\2\2\u06ce\u06cf\5-\27\2\u06cf\u0720")
buf.write(u"\3\2\2\2\u06d0\u06d1\7\u0397\2\2\u06d1\u06d2\7\u03c3")
buf.write(u"\2\2\u06d2\u06d3\7\u03cb\2\2\u06d3\u06d4\7\u03c6\2\2")
buf.write(u"\u06d4\u06d5\7\u03ae\2\2\u06d5\u06d6\7\u03c6\2\2\u06d6")
buf.write(u"\u06d7\7\u03b3\2\2\u06d7\u06d8\7\u03bb\2\2\u06d8\u06d9")
buf.write(u"\3\2\2\2\u06d9\u0720\5-\27\2\u06da\u06db\7\u0393\2\2")
buf.write(u"\u06db\u06dc\7\u03c3\2\2\u06dc\u06dd\7\u03bb\2\2\u06dd")
buf.write(u"\u06de\7\u03ba\2\2\u06de\u06df\7\u03be\2\2\u06df\u06e0")
buf.write(u"\7\u03ce\2\2\u06e0\u06e1\7\u03c4\2\2\u06e1\u06e2\3\2")
buf.write(u"\2\2\u06e2\u06e3\59\35\2\u06e3\u06e4\7G\2\2\u06e4\u06e5")
buf.write(u"\7\u03c3\2\2\u06e5\u06e6\7\u03cb\2\2\u06e6\u06e7\7\u03c6")
buf.write(u"\2\2\u06e7\u06e8\7\u03b0\2\2\u06e8\u06e9\7\u03be\2\2")
buf.write(u"\u06e9\u06ea\7\u03b3\2\2\u06ea\u06eb\7\u03c6\2\2\u06eb")
buf.write(u"\u06ec\7\u03c1\2\2\u06ec\u06ed\7\u03c4\2\2\u06ed\u0720")
buf.write(u"\3\2\2\2\u06ee\u06ef\7\u03a2\2\2\u06ef\u06f0\7\u03b7")
buf.write(u"\2\2\u06f0\u06f1\7\u03c3\2\2\u06f1\u06f2\7\u03b1\2\2")
buf.write(u"\u06f2\u06f3\7\u03bd\2\2\u06f3\u06f4\7\u03b9\2\2\u06f4")
buf.write(u"\u06f5\7\u03ca\2\2\u06f5\u06f6\7\u03b9\2\2\u06f6\u06f7")
buf.write(u"\3\2\2\2\u06f7\u06f8\59\35\2\u06f8\u06f9\7\u0397\2\2")
buf.write(u"\u06f9\u06fa\7\u03c3\2\2\u06fa\u06fb\7\u03cb\2\2\u06fb")
buf.write(u"\u06fc\7\u03c6\2\2\u06fc\u06fd\7\u03b9\2\2\u06fd\u06fe")
buf.write(u"\7\u03be\2\2\u06fe\u06ff\7\u03ae\2\2\u06ff\u0700\7\u03c6")
buf.write(u"\2\2\u0700\u0701\7\u03cb\2\2\u0701\u0702\7\u03bf\2\2")
buf.write(u"\u0702\u0720\3\2\2\2\u0703\u0704\7\u039a\2\2\u0704\u0705")
buf.write(u"\7\u03af\2\2\u0705\u0706\7\u03be\2\2\u0706\u0707\7\u03b3")
buf.write(u"\2\2\u0707\u0708\3\2\2\2\u0708\u0709\59\35\2\u0709\u070a")
buf.write(u"\7*\2\2\u070a\u070b\7\u03c2\2\2\u070b\u070c\7\u03b7\2")
buf.write(u"\2\u070c\u070d\7\u03c3\2\2\u070d\u070e\7\u03b1\2\2\u070e")
buf.write(u"\u070f\7\u03bd\2\2\u070f\u0710\7\u03b9\2\2\u0710\u0711")
buf.write(u"\7\u03ca\2\2\u0711\u0712\7\u03b9\2\2\u0712\u0713\7\"")
buf.write(u"\2\2\u0713\u0714\7\u03b7\2\2\u0714\u0715\7\u03c3\2\2")
buf.write(u"\u0715\u0716\7\u03cb\2\2\u0716\u0717\7\u03c6\2\2\u0717")
buf.write(u"\u0718\7\u03b0\2\2\u0718\u0719\7\u03be\2\2\u0719\u071a")
buf.write(u"\7\u03b3\2\2\u071a\u071b\7\u03c6\2\2\u071b\u071c\7\u03c1")
buf.write(u"\2\2\u071c\u071d\7\u03c4\2\2\u071d\u071e\7+\2\2\u071e")
buf.write(u"\u0720\3\2\2\2\u071f\u061d\3\2\2\2\u071f\u064e\3\2\2")
buf.write(u"\2\u071f\u0652\3\2\2\2\u071f\u066e\3\2\2\2\u071f\u06aa")
buf.write(u"\3\2\2\2\u071f\u06b7\3\2\2\2\u071f\u06d0\3\2\2\2\u071f")
buf.write(u"\u06da\3\2\2\2\u071f\u06ee\3\2\2\2\u071f\u0703\3\2\2")
buf.write(u"\2\u0720 \3\2\2\2\u0721\u0723\t\3\2\2\u0722\u0721\3\2")
buf.write(u"\2\2\u0723\u0724\3\2\2\2\u0724\u0722\3\2\2\2\u0724\u0725")
buf.write(u"\3\2\2\2\u0725\"\3\2\2\2\u0726\u0727\7\61\2\2\u0727$")
buf.write(u"\3\2\2\2\u0728\u0729\7.\2\2\u0729&\3\2\2\2\u072a\u072b")
buf.write(u"\7\f\2\2\u072b(\3\2\2\2\u072c\u072d\4*+\2\u072d*\3\2")
buf.write(u"\2\2\u072e\u072f\t\4\2\2\u072f,\3\2\2\2\u0730\u0731\7")
buf.write(u"<\2\2\u0731.\3\2\2\2\u0732\u0733\7\u03a6\2\2\u0733\u0734")
buf.write(u"\7\u039e\2\2\u0734\u0735\7\u0399\2\2\u0735\u0736\7\u039e")
buf.write(u"\2\2\u0736\u0737\7\u0393\2\2\u0737\60\3\2\2\2\u0738\u073c")
buf.write(u"\4\u0393\u0397\2\u0739\u073a\7\u03a5\2\2\u073a\u073c")
buf.write(u"\7\u03a6\2\2\u073b\u0738\3\2\2\2\u073b\u0739\3\2\2\2")
buf.write(u"\u073c\u073d\3\2\2\2\u073d\u073e\5\63\32\2\u073e\62\3")
buf.write(u"\2\2\2\u073f\u0740\t\5\2\2\u0740\64\3\2\2\2\u0741\u0743")
buf.write(u"\t\6\2\2\u0742\u0741\3\2\2\2\u0743\u0744\3\2\2\2\u0744")
buf.write(u"\u0742\3\2\2\2\u0744\u0745\3\2\2\2\u0745\66\3\2\2\2\u0746")
buf.write(u"\u0748\t\7\2\2\u0747\u0746\3\2\2\2\u07488\3\2\2\2\u0749")
buf.write(u"\u074b\t\b\2\2\u074a\u0749\3\2\2\2\u074b\u074c\3\2\2")
buf.write(u"\2\u074c\u074a\3\2\2\2\u074c\u074d\3\2\2\2\u074d:\3\2")
buf.write(u"\2\2\u074e\u0752\t\t\2\2\u074f\u0750\7\u03a5\2\2\u0750")
buf.write(u"\u0752\7\u03a6\2\2\u0751\u074e\3\2\2\2\u0751\u074f\3")
buf.write(u"\2\2\2\u0752<\3\2\2\2\u0753\u076e\t\n\2\2\u0754\u0755")
buf.write(u"\7\u039b\2\2\u0755\u076e\7\u039b\2\2\u0756\u0757\7K\2")
buf.write(u"\2\u0757\u076e\7K\2\2\u0758\u0759\7\u039b\2\2\u0759\u076e")
buf.write(u"\7K\2\2\u075a\u075b\7\u039b\2\2\u075b\u075c\7\u039b\2")
buf.write(u"\2\u075c\u076e\7\u039b\2\2\u075d\u075e\7K\2\2\u075e\u075f")
buf.write(u"\7\u039b\2\2\u075f\u076e\7\u039b\2\2\u0760\u0761\7K\2")
buf.write(u"\2\u0761\u0762\7K\2\2\u0762\u076e\7K\2\2\u0763\u0764")
buf.write(u"\7\u039b\2\2\u0764\u076e\7X\2\2\u0765\u0766\7K\2\2\u0766")
buf.write(u"\u076e\7X\2\2\u0767\u076e\7X\2\2\u0768\u0769\7X\2\2\u0769")
buf.write(u"\u076e\7K\2\2\u076a\u076b\7X\2\2\u076b\u076c\7K\2\2\u076c")
buf.write(u"\u076e\7K\2\2\u076d\u0753\3\2\2\2\u076d\u0754\3\2\2\2")
buf.write(u"\u076d\u0756\3\2\2\2\u076d\u0758\3\2\2\2\u076d\u075a")
buf.write(u"\3\2\2\2\u076d\u075d\3\2\2\2\u076d\u0760\3\2\2\2\u076d")
buf.write(u"\u0763\3\2\2\2\u076d\u0765\3\2\2\2\u076d\u0767\3\2\2")
buf.write(u"\2\u076d\u0768\3\2\2\2\u076d\u076a\3\2\2\2\u076e>\3\2")
buf.write(u"\2\2\u076f\u0773\4\u03b3\u03b7\2\u0770\u0771\7\u03c5")
buf.write(u"\2\2\u0771\u0773\7\u03c6\2\2\u0772\u076f\3\2\2\2\u0772")
buf.write(u"\u0770\3\2\2\2\u0773@\3\2\2\2\u0774\u0775\7\60\2\2\u0775")
buf.write(u"B\3\2\2\28\2\u00a9\u00ad\u00af\u00b5\u00bd\u00c5\u00ca")
buf.write(u"\u00cd\u00d3\u00d8\u00de\u00e6\u00ef\u00f3\u0103\u0149")
buf.write(u"\u01ab\u01b7\u01df\u0209\u0215\u0221\u027c\u02bb\u02d1")
buf.write(u"\u031c\u03bf\u03d5\u03eb\u0401\u044e\u0520\u0546\u061b")
buf.write(u"\u0647\u064a\u065b\u066e\u06a3\u06a6\u06b4\u06cc\u071f")
buf.write(u"\u0724\u073b\u0742\u0744\u0747\u074a\u074c\u0751\u076d")
buf.write(u"\u0772\2")
return buf.getvalue()
class LegalOpinionLexer(Lexer):
atn = ATNDeserializer().deserialize(serializedATN())
decisionsToDFA = [ DFA(ds, i) for i, ds in enumerate(atn.decisionToState) ]
CONCLUSTION_START = 1
PAR = 2
PAR_2 = 3
SECTIONS_DIVISION = 4
EMBEDDED_TEXT = 5
PERSONAL = 6
NUMBER_TEXT = 7
LEGAL_OPINION = 8
OF = 9
NSK = 10
HISTORY_HEADER = 11
MOTIVATION_HEADER = 12
DECISION_HEADER = 13
BASE_ON_QUESTIONS = 14
QUESTION_NUM = 15
NUM = 16
SLASH = 17
COMMA = 18
NEXT_LINE = 19
BRACKET = 20
HYPHEN = 21
ANO_KATO = 22
TMHMA_TEXT = 23
TMIMA_ID = 24
APOSTROPHE = 25
ALL_CHARS = 26
SPECIAL_CHARS = 27
SPACE = 28
channelNames = [ u"DEFAULT_TOKEN_CHANNEL", u"HIDDEN" ]
modeNames = [ u"DEFAULT_MODE" ]
literalNames = [ u"<INVALID>",
u"'/'", u"','", u"'\n'", u"':'", u"'\u03A4\u039C\u0397\u039C\u0391'" ]
symbolicNames = [ u"<INVALID>",
u"CONCLUSTION_START", u"PAR", u"PAR_2", u"SECTIONS_DIVISION",
u"EMBEDDED_TEXT", u"PERSONAL", u"NUMBER_TEXT", u"LEGAL_OPINION",
u"OF", u"NSK", u"HISTORY_HEADER", u"MOTIVATION_HEADER", u"DECISION_HEADER",
u"BASE_ON_QUESTIONS", u"QUESTION_NUM", u"NUM", u"SLASH", u"COMMA",
u"NEXT_LINE", u"BRACKET", u"HYPHEN", u"ANO_KATO", u"TMHMA_TEXT",
u"TMIMA_ID", u"APOSTROPHE", u"ALL_CHARS", u"SPECIAL_CHARS",
u"SPACE" ]
ruleNames = [ u"CONCLUSTION_START", u"PAR", u"PAR_2", u"SECTIONS_DIVISION",
u"EMBEDDED_TEXT", u"PERSONAL", u"NUMBER_TEXT", u"LEGAL_OPINION",
u"OF", u"NSK", u"HISTORY_HEADER", u"MOTIVATION_HEADER",
u"DECISION_HEADER", u"BASE_ON_QUESTIONS", u"QUESTION_NUM",
u"NUM", u"SLASH", u"COMMA", u"NEXT_LINE", u"BRACKET",
u"HYPHEN", u"ANO_KATO", u"TMHMA_TEXT", u"TMIMA_ID", u"APOSTROPHE",
u"ALL_CHARS", u"SPECIAL_CHARS", u"SPACE", u"UPPER", u"LATIN",
u"LOWER", u"DOT" ]
grammarFileName = u"LegalOpinion.g4"
def __init__(self, input=None, output=sys.stdout):
super(LegalOpinionLexer, self).__init__(input, output=output)
self.checkVersion("4.7.2")
self._interp = LexerATNSimulator(self, self.atn, self.decisionsToDFA, PredictionContextCache())
self._actions = None
self._predicates = None
| 73.056351 | 103 | 0.610857 | 19,446 | 81,677 | 2.561864 | 0.103877 | 0.090289 | 0.186619 | 0.046489 | 0.352282 | 0.309346 | 0.296178 | 0.125597 | 0.116805 | 0.116243 | 0 | 0.386746 | 0.122458 | 81,677 | 1,117 | 104 | 73.121755 | 0.308308 | 0.001114 | 0 | 0.100182 | 1 | 0.626594 | 0.66225 | 0.648276 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001821 | false | 0 | 0.003643 | 0 | 0.040073 | 0.000911 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f1478c3d5c6c643c889e29ae1c24bebef7d55de6 | 5,154 | py | Python | src/nti/recipes/zodb/tests/test_zeo.py | NextThought/nti.recipes.zodb | 6cf9c4faeacc59083c200dd6cdba813dfdfd9390 | [
"Apache-2.0"
] | null | null | null | src/nti/recipes/zodb/tests/test_zeo.py | NextThought/nti.recipes.zodb | 6cf9c4faeacc59083c200dd6cdba813dfdfd9390 | [
"Apache-2.0"
] | 8 | 2019-11-05T17:05:49.000Z | 2020-10-06T15:26:06.000Z | src/nti/recipes/zodb/tests/test_zeo.py | NextThought/nti.recipes.zodb | 6cf9c4faeacc59083c200dd6cdba813dfdfd9390 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import print_function
from __future__ import absolute_import
from __future__ import division
__docformat__ = "restructuredtext en"
import unittest
from nti.recipes.zodb.zeo import Databases
from . import default_buildout
class TestDatabases(unittest.TestCase):
maxDiff = None
def setUp(self):
self.buildout = default_buildout()
def test_parse(self):
# No verification, just sees if it runs
buildout = self.buildout
Databases(buildout, 'zeo',
{'storages': 'Users Users_1 Sessions',
'pack-gc': 'true'})
expected = """\
<zodb Users_1>
cache-size 100000
database-name Users_1
pool-size 60
<zlibstorage>
<zeoclient>
blob-dir /data/Users_1.blobs
name Users_1
server /var/zeosocket
shared-blob-dir true
storage 2
</zeoclient>
compress false
</zlibstorage>
</zodb>"""
self.assertEqual(
buildout['users_1_client']['client_zcml'],
expected)
expected = """\
%import zc.zlibstorage
<zeo>
address /var/zeosocket
</zeo>
<serverzlibstorage 1>
<filestorage 1>
blob-dir /data/Users.blobs
pack-gc true
path /data/Users.fs
</filestorage>
compress false
</serverzlibstorage>
<serverzlibstorage 2>
<filestorage 2>
blob-dir /data/Users_1.blobs
pack-gc true
path /data/Users_1.fs
</filestorage>
compress false
</serverzlibstorage>
<serverzlibstorage 3>
<filestorage 3>
blob-dir /data/Sessions.blobs
pack-gc true
path /data/Sessions.fs
</filestorage>
compress false
</serverzlibstorage>
<eventlog>
<logfile>
format %(asctime)s %(message)s
level DEBUG
path /var/log/zeo.log
</logfile>
</eventlog>"""
self.assertEqual(
buildout['base_zeo']['zeo.conf'],
expected
)
def test_parse_no_compress(self):
# No verification, just sees if it runs
buildout = self.buildout
Databases(buildout, 'zeo', {
'storages': 'Users Users_1 Sessions',
'pack-gc': 'true',
'compress': 'none',
})
expected = """\
<zodb Users_1>
cache-size 100000
database-name Users_1
pool-size 60
<zeoclient>
blob-dir /data/Users_1.blobs
name Users_1
server /var/zeosocket
shared-blob-dir true
storage 2
</zeoclient>
</zodb>"""
self.assertEqual(
buildout['users_1_client']['client_zcml'],
expected)
expected = """\
<zeo>
address /var/zeosocket
</zeo>
<filestorage 1>
blob-dir /data/Users.blobs
pack-gc true
path /data/Users.fs
</filestorage>
<filestorage 2>
blob-dir /data/Users_1.blobs
pack-gc true
path /data/Users_1.fs
</filestorage>
<filestorage 3>
blob-dir /data/Sessions.blobs
pack-gc true
path /data/Sessions.fs
</filestorage>
<eventlog>
<logfile>
format %(asctime)s %(message)s
level DEBUG
path /var/log/zeo.log
</logfile>
</eventlog>"""
self.assertEqual(
buildout['base_zeo']['zeo.conf'],
expected
)
def test_parse_override_defaults_in_opts(self):
buildout = self.buildout
buildout['zeo_opts'] = {
'pool_size': '2'
}
Databases(buildout, 'zeo', {
'storages': 'Users_1',
'pack-gc': 'true',
'compress': 'none',
})
expected = """\
<zodb Users_1>
cache-size 100000
database-name Users_1
pool-size 2
<zeoclient>
blob-dir /data/Users_1.blobs
name Users_1
server /var/zeosocket
shared-blob-dir true
storage 1
</zeoclient>
</zodb>"""
self.assertEqual(
buildout['users_1_client']['client_zcml'],
expected)
def test_parse_override_defaults_in_recipe(self):
buildout = self.buildout
Databases(buildout, 'zeo', {
'storages': 'Users_1',
'pack-gc': 'true',
'compress': 'none',
'pool_size': '2'
})
expected = """\
<zodb Users_1>
cache-size 100000
database-name Users_1
pool-size 2
<zeoclient>
blob-dir /data/Users_1.blobs
name Users_1
server /var/zeosocket
shared-blob-dir true
storage 1
</zeoclient>
</zodb>"""
self.assertEqual(
buildout['users_1_client']['client_zcml'],
expected)
def test_parse_pool_timeout_in_recipe(self):
buildout = self.buildout
Databases(buildout, 'zeo', {
'storages': 'Users_1',
'pack-gc': 'true',
'compress': 'none',
'pool_size': '2',
'pool_timeout': '60',
})
expected = """\
<zodb Users_1>
cache-size 100000
database-name Users_1
pool-size 2
pool-timeout 60
<zeoclient>
blob-dir /data/Users_1.blobs
name Users_1
server /var/zeosocket
shared-blob-dir true
storage 1
</zeoclient>
</zodb>"""
self.assertEqual(
buildout['users_1_client']['client_zcml'],
expected)
| 21.838983 | 56 | 0.592355 | 584 | 5,154 | 5.07363 | 0.167808 | 0.068849 | 0.037125 | 0.048599 | 0.847114 | 0.820115 | 0.78029 | 0.768815 | 0.768815 | 0.768815 | 0 | 0.025313 | 0.287156 | 5,154 | 235 | 57 | 21.931915 | 0.781165 | 0.022895 | 0 | 0.838235 | 0 | 0 | 0.575119 | 0 | 0 | 0 | 0 | 0 | 0.034314 | 1 | 0.029412 | false | 0 | 0.034314 | 0 | 0.073529 | 0.004902 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2d0a6a1eb7995051d86e3adbdcde6169001b51a5 | 16,156 | py | Python | splendor_sim/test/player/test_player_card_inventory.py | markbrockettrobson/SplendorBots | f78fab8cccf30c9cc4351308eedfca4203e55463 | [
"MIT"
] | 1 | 2019-06-19T02:00:32.000Z | 2019-06-19T02:00:32.000Z | splendor_sim/test/player/test_player_card_inventory.py | markbrockettrobson/SplendorBots | f78fab8cccf30c9cc4351308eedfca4203e55463 | [
"MIT"
] | null | null | null | splendor_sim/test/player/test_player_card_inventory.py | markbrockettrobson/SplendorBots | f78fab8cccf30c9cc4351308eedfca4203e55463 | [
"MIT"
] | null | null | null | import copy
import unittest
import unittest.mock as mock
import splendor_sim.interfaces.card.i_card as i_card
import splendor_sim.interfaces.coin.i_coin_type as i_coin_type
import splendor_sim.src.factories.json_schemas as json_schemas
import splendor_sim.src.factories.json_validator as json_validator
import splendor_sim.src.player.player_card_inventory as player_card_inventory
class TestPlayerCardInventory(unittest.TestCase):
def setUp(self):
self._max_reserved_cards = 3
self._mock_card_list = [
mock.create_autospec(spec=i_card.ICard, spec_set=True) for _ in range(30)
]
self._mock_card_set = set(self._mock_card_list)
self._mock_discount = mock.create_autospec(
spec=i_coin_type.ICoinType, spec_set=True
)
self._mock_cost = {
mock.create_autospec(spec=i_coin_type.ICoinType, spec_set=True): 1
for _ in range(3)
}
for index, mock_card in enumerate(self._mock_card_list):
mock_card.get_victory_points.return_value = 1
mock_card.get_discount.return_value = self._mock_discount
mock_card.get_cost.return_value = self._mock_cost
mock_card.get_name.return_value = "%d" % index
def test_player_card_inventory_init_valid(self):
# Arrange
# Act
test_player_card_inventory = player_card_inventory.PlayerCardInventory(
self._max_reserved_cards, set(), set()
)
# Assert
self.assertEqual(test_player_card_inventory.get_total_discount(), {})
self.assertEqual(test_player_card_inventory.get_victory_points(), 0)
self.assertEqual(test_player_card_inventory.get_card_set(), set())
self.assertEqual(test_player_card_inventory.get_reserved_card_set(), set())
self.assertEqual(test_player_card_inventory.get_number_of_reserved_cards(), 0)
self.assertEqual(
test_player_card_inventory.get_max_number_of_reserved_cards(),
self._max_reserved_cards,
)
def test_player_card_inventory_init_valid_reserved_cards(self):
# Arrange
# Act
test_player_card_inventory = player_card_inventory.PlayerCardInventory(
self._max_reserved_cards, {self._mock_card_list[0]}, set()
)
# Assert
self.assertEqual(test_player_card_inventory.get_total_discount(), {})
self.assertEqual(test_player_card_inventory.get_victory_points(), 0)
self.assertEqual(test_player_card_inventory.get_card_set(), set())
self.assertEqual(
test_player_card_inventory.get_reserved_card_set(),
{self._mock_card_list[0]},
)
self.assertEqual(test_player_card_inventory.get_number_of_reserved_cards(), 1)
self.assertEqual(
test_player_card_inventory.get_max_number_of_reserved_cards(),
self._max_reserved_cards,
)
def test_player_card_inventory_init_valid_cards(self):
# Arrange
# Act
test_player_card_inventory = player_card_inventory.PlayerCardInventory(
self._max_reserved_cards, set(), {self._mock_card_list[0]}
)
# Assert
self.assertEqual(
test_player_card_inventory.get_total_discount(), {self._mock_discount: 1}
)
self.assertEqual(test_player_card_inventory.get_victory_points(), 1)
self.assertEqual(
test_player_card_inventory.get_card_set(), {self._mock_card_list[0]}
)
self.assertEqual(test_player_card_inventory.get_reserved_card_set(), set())
self.assertEqual(test_player_card_inventory.get_number_of_reserved_cards(), 0)
self.assertEqual(
test_player_card_inventory.get_max_number_of_reserved_cards(),
self._max_reserved_cards,
)
def test_player_card_inventory_init_invalid_to_many_reserved_cards(self):
# Arrange
# Act
# Assert
with self.assertRaises(ValueError):
_ = player_card_inventory.PlayerCardInventory(
self._max_reserved_cards, set(self._mock_card_list[:4]), set()
)
def test_player_card_inventory_init_invalid_max_reserved_cards(self):
# Arrange
self._max_reserved_cards = -1
# Act
# Assert
with self.assertRaises(ValueError):
_ = player_card_inventory.PlayerCardInventory(
self._max_reserved_cards, set(), set()
)
def test_player_card_inventory_init_valid_max_reserved_cards_zero(self):
# Arrange
self._max_reserved_cards = 0
# Act
test_player_card_inventory = player_card_inventory.PlayerCardInventory(
self._max_reserved_cards, set(), set()
)
# Assert
self.assertEqual(test_player_card_inventory.get_total_discount(), {})
self.assertEqual(test_player_card_inventory.get_victory_points(), 0)
self.assertEqual(test_player_card_inventory.get_card_set(), set())
self.assertEqual(test_player_card_inventory.get_reserved_card_set(), set())
self.assertEqual(test_player_card_inventory.get_number_of_reserved_cards(), 0)
self.assertEqual(
test_player_card_inventory.get_max_number_of_reserved_cards(),
self._max_reserved_cards,
)
def test_player_card_inventory_get_max_number_of_reserved_cards(self):
# Arrange
for i in range(4):
self._max_reserved_cards = i
test_player_card_inventory = player_card_inventory.PlayerCardInventory(
self._max_reserved_cards, set(), set()
)
# Act
# Assert
self.assertEqual(
test_player_card_inventory.get_max_number_of_reserved_cards(),
self._max_reserved_cards,
)
def test_player_card_inventory_add_card_valid(self):
# Arrange
test_player_card_inventory = player_card_inventory.PlayerCardInventory(
self._max_reserved_cards, set(), set()
)
# Act
test_player_card_inventory.add_card(self._mock_card_list[0])
# Assert
self.assertEqual(
test_player_card_inventory.get_total_discount(), {self._mock_discount: 1}
)
self.assertEqual(test_player_card_inventory.get_victory_points(), 1)
self.assertEqual(
test_player_card_inventory.get_card_set(), {self._mock_card_list[0]}
)
def test_player_card_inventory_add_card_card_already_in_set(self):
# Arrange
test_player_card_inventory = player_card_inventory.PlayerCardInventory(
self._max_reserved_cards, set(), set()
)
# Act
test_player_card_inventory.add_card(self._mock_card_list[0])
# Assert
with self.assertRaises(ValueError):
test_player_card_inventory.add_card(self._mock_card_list[0])
def test_player_card_inventory_add_card_to_reserved(self):
# Arrange
test_player_card_inventory = player_card_inventory.PlayerCardInventory(
self._max_reserved_cards, set(), set()
)
# Act
test_player_card_inventory.add_card_to_reserved(self._mock_card_list[0])
# Assert
self.assertEqual(
test_player_card_inventory.get_reserved_card_set(),
{self._mock_card_list[0]},
)
self.assertEqual(test_player_card_inventory.get_number_of_reserved_cards(), 1)
def test_player_card_inventory_add_card_to_reserved_card_already_in_set(self):
# Arrange
test_player_card_inventory = player_card_inventory.PlayerCardInventory(
self._max_reserved_cards, set(), set()
)
# Act
test_player_card_inventory.add_card_to_reserved(self._mock_card_list[0])
# Assert
with self.assertRaises(ValueError):
test_player_card_inventory.add_card_to_reserved(self._mock_card_list[0])
def test_player_card_inventory_add_card_to_reserved_already_full(self):
# Arrange
test_player_card_inventory = player_card_inventory.PlayerCardInventory(
self._max_reserved_cards, set(), set()
)
# Act
for i in range(self._max_reserved_cards):
test_player_card_inventory.add_card_to_reserved(self._mock_card_list[i])
# Assert
with self.assertRaises(ValueError):
test_player_card_inventory.add_card_to_reserved(self._mock_card_list[-1])
def test_player_card_inventory_get_total_discount(self):
# Arrange
test_player_card_inventory = player_card_inventory.PlayerCardInventory(
self._max_reserved_cards, set(), set()
)
# Act
for i in range(4):
test_player_card_inventory.add_card(self._mock_card_list[i])
discount = test_player_card_inventory.get_total_discount()
# Assert
self.assertEqual(discount, {self._mock_discount: i + 1})
def test_player_card_inventory_get_total_discount_immutability(self):
# Arrange
test_player_card_inventory = player_card_inventory.PlayerCardInventory(
self._max_reserved_cards, set(), set()
)
test_player_card_inventory.add_card(self._mock_card_list[0])
discount = test_player_card_inventory.get_total_discount()
premutaion = copy.copy(discount)
# Act
discount.pop(list(discount.keys())[0])
# Assert
self.assertEqual(test_player_card_inventory.get_total_discount(), premutaion)
def test_player_card_inventory_get_victory_points(self):
# Arrange
test_player_card_inventory = player_card_inventory.PlayerCardInventory(
self._max_reserved_cards, set(), set()
)
# Act
for i in range(4):
test_player_card_inventory.add_card(self._mock_card_list[i])
# Assert
self.assertEqual(test_player_card_inventory.get_victory_points(), i + 1)
def test_player_card_inventory_get_victory_points_reserved_cards_do_not_count(self):
# Arrange
test_player_card_inventory = player_card_inventory.PlayerCardInventory(
self._max_reserved_cards, set(), set()
)
# Act
for i in range(self._max_reserved_cards):
test_player_card_inventory.add_card_to_reserved(self._mock_card_list[i])
# Assert
self.assertEqual(test_player_card_inventory.get_victory_points(), 0)
def test_player_card_inventory_get_card_list(self):
# Arrange
test_player_card_inventory = player_card_inventory.PlayerCardInventory(
self._max_reserved_cards, set(), set()
)
# Act
for card in self._mock_card_list:
test_player_card_inventory.add_card(card)
# Assert
self.assertEqual(test_player_card_inventory.get_card_set(), self._mock_card_set)
def test_player_card_inventory_get_card_list_immutability(self):
# Arrange
test_player_card_inventory = player_card_inventory.PlayerCardInventory(
self._max_reserved_cards, set(), set()
)
for card in self._mock_card_list:
test_player_card_inventory.add_card(card)
card_set = test_player_card_inventory.get_card_set()
pre_mutation = copy.copy(card_set)
# Act
card_set.pop()
# Assert
self.assertEqual(test_player_card_inventory.get_card_set(), pre_mutation)
def test_player_card_inventory_get_reserved_card_list(self):
# Arrange
test_player_card_inventory = player_card_inventory.PlayerCardInventory(
self._max_reserved_cards, set(), set()
)
for i in range(3):
test_player_card_inventory.add_card_to_reserved(self._mock_card_list[i])
# Act
# Assert
self.assertEqual(
test_player_card_inventory.get_reserved_card_set(),
set(self._mock_card_list[:3]),
)
def test_player_card_inventory_get_reserved_card_list_immutability(self):
# Arrange
test_player_card_inventory = player_card_inventory.PlayerCardInventory(
self._max_reserved_cards, set(), set()
)
for i in range(3):
test_player_card_inventory.add_card_to_reserved(self._mock_card_list[i])
card_set = test_player_card_inventory.get_reserved_card_set()
pre_mutation = copy.copy(card_set)
# Act
card_set.pop()
# Assert
self.assertEqual(
test_player_card_inventory.get_reserved_card_set(), pre_mutation
)
def test_player_card_inventory_get_number_of_reserved_cards(self):
# Arrange
test_player_card_inventory = player_card_inventory.PlayerCardInventory(
self._max_reserved_cards, set(), set()
)
for i in range(3):
# Act
test_player_card_inventory.add_card_to_reserved(self._mock_card_list[i])
# Assert
self.assertEqual(
test_player_card_inventory.get_number_of_reserved_cards(), i + 1
)
def test_player_card_inventory_remove_from_reserved_card_list(self):
# Arrange
test_player_card_inventory = player_card_inventory.PlayerCardInventory(
self._max_reserved_cards, set(), set()
)
for i in range(3):
test_player_card_inventory.add_card_to_reserved(self._mock_card_list[i])
for card in test_player_card_inventory.get_reserved_card_set():
# Act
test_player_card_inventory.remove_from_reserved_card_set(card)
# Assert
self.assertEqual(test_player_card_inventory.get_number_of_reserved_cards(), 0)
def test_player_card_inventory_remove_from_reserved_card_list_card_not_in_reserve(
self
):
# Arrange
test_player_card_inventory = player_card_inventory.PlayerCardInventory(
self._max_reserved_cards, set(), set()
)
for i in range(3):
test_player_card_inventory.add_card_to_reserved(self._mock_card_list[i])
# Act
# Assert
with self.assertRaises(ValueError):
test_player_card_inventory.remove_from_reserved_card_set(
self._mock_card_list[-1]
)
def test_player_card_inventory_to_json(self):
# Arrange
test_player_card_inventory = player_card_inventory.PlayerCardInventory(
self._max_reserved_cards, set(), set()
)
# Act
# Assert
self.assertEqual(
{
"max_reserved_cards": self._max_reserved_cards,
"reserved_cards": [],
"cards": [],
},
test_player_card_inventory.to_json(),
)
def test_player_card_inventory_to_json_non_full(self):
# Arrange
test_player_card_inventory = player_card_inventory.PlayerCardInventory(
self._max_reserved_cards,
set(self._mock_card_list[:1]),
set(self._mock_card_list[-1:]),
)
# Act
# Assert
self.assertEqual(
{
"max_reserved_cards": self._max_reserved_cards,
"reserved_cards": [
card.get_name() for card in set(self._mock_card_list[:1])
],
"cards": [card.get_name() for card in set(self._mock_card_list[-1:])],
},
test_player_card_inventory.to_json(),
)
def test_player_card_inventory_to_json_complies_with_schema(self):
# Arrange
test_player_card_inventory = player_card_inventory.PlayerCardInventory(
self._max_reserved_cards,
set(self._mock_card_list[:2]),
set(self._mock_card_list[2:]),
)
test_json_validator = json_validator.JsonValidator(
json_schemas.JSON_PLAYER_CARD_INVENTORY
)
# Act
# Assert
self.assertTrue(
test_json_validator.validate_json(test_player_card_inventory.to_json())
)
| 40.39 | 88 | 0.671144 | 1,920 | 16,156 | 5.110417 | 0.049479 | 0.149817 | 0.284651 | 0.2766 | 0.902976 | 0.890236 | 0.86863 | 0.849878 | 0.819303 | 0.787097 | 0 | 0.004721 | 0.252662 | 16,156 | 399 | 89 | 40.491228 | 0.807934 | 0.030515 | 0 | 0.517123 | 0 | 0 | 0.004877 | 0 | 0 | 0 | 0 | 0 | 0.167808 | 1 | 0.092466 | false | 0 | 0.027397 | 0 | 0.123288 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
741f1354328926b09f6247d621ce358ed71358dc | 3,012 | py | Python | Python/parity.py | PotatoTimeKun/programming | 7a825ae037b4a39752b10563466657d879d17a5c | [
"MIT"
] | 1 | 2022-03-08T04:20:28.000Z | 2022-03-08T04:20:28.000Z | Python/parity.py | PotatoTimeKun/programming | 7a825ae037b4a39752b10563466657d879d17a5c | [
"MIT"
] | null | null | null | Python/parity.py | PotatoTimeKun/programming | 7a825ae037b4a39752b10563466657d879d17a5c | [
"MIT"
] | null | null | null | """パリティを扱う関数が入っています。"""
def odd_parity(value):
"""
引数valueの奇数パリティを文字列で返します。\n
valueはstrかintで渡してください、それ以外の型では"-1"が返されます。\n
valueを文字列で渡す場合、データを2進数で表したものを渡してください(例:"1001111")
"""
if not isinstance(value,str) and not isinstance(value,int):return "-1"
if isinstance(value,int):
value=bin(value)
i=0
for c in value:
if(c=="1"):
i+=1
if(i%2==0):
return "1"
return "0"
def even_parity(value):
"""
引数valueの偶数パリティを文字列で返します。\n
valueはstrかintで渡してください、それ以外の型では"-1"が返されます。\n
valueを文字列で渡す場合、データを2進数で表したものを渡してください(例:"1001111")
"""
if not isinstance(value,str) and not isinstance(value,int):return "-1"
if isinstance(value,int):
value=bin(value)
i=0
for c in value:
if(c=="1"):
i+=1
if(i%2==0):return "0"
return "1"
def odd_v_l_parity(value):
"""
引数valueの水平垂直パリティ(奇数)を文字列のリストで返します。\n
valueはstrかintで渡してください、それ以外の型では"-1"が返されます。\n
valueを二進数に変換し、7つのまとまりに分けて(最後の方で要素が足りなくなった場合その分0を末尾に追加します。)それぞれ垂直パリティを計算します。\n
それをまとまりの末尾に追加し、まとまりの同じインデックス同士で水平パリティを計算します。\n
計算したパリティのみを["垂直パリティ","水平パリティ"]の形で返します。\n
valueを文字列で渡す場合、データを2進数で表したものを渡してください(例:"10011110011011")
"""
if not isinstance(value,str) and not isinstance(value,int):return "-1"
if isinstance(value,int):
value=bin(value)
valueList=[]
ret=["",""]
for i in range((int)((len(value)+6)/7)):
valueList.append(value[i*7])
for j in range(1,7):
ind=i*7+j
if(ind<len(value)):valueList[i]+=value[ind]
else:valueList[i]+="0"
for i in range(len(valueList)):
ret[0]+=odd_parity(valueList[i])
valueList[i]+=odd_parity(valueList[i])
for i in range(8):
l=""
for j in range(len(valueList)):
l+=valueList[j][i]
ret[1]+=odd_parity(l)
return ret
def even_v_l_parity(value):
"""
引数valueの水平垂直パリティ(偶数)を文字列のリストで返します。\n
valueはstrかintで渡してください、それ以外の型では"-1"が返されます。\n
valueを二進数に変換し、7つのまとまりに分けて(最後の方で要素が足りなくなった場合その分0を末尾に追加します。)それぞれ垂直パリティを計算します。\n
それをまとまりの末尾に追加し、まとまりの同じインデックス同士で水平パリティを計算します。\n
計算したパリティのみを["垂直パリティ","水平パリティ"]の形で返します。\n
valueを文字列で渡す場合、データを2進数で表したものを渡してください(例:"10011110011011")
"""
if not isinstance(value,str) and not isinstance(value,int):return "-1"
if isinstance(value,int):
value=bin(value)
valueList=[]
ret=["",""]
for i in range((int)((len(value)+6)/7)):
valueList.append(value[i*7])
for j in range(1,7):
ind=i*7+j
if(ind<len(value)):valueList[i]+=value[ind]
else:valueList[i]+="0"
for i in range(len(valueList)):
ret[0]+=even_parity(valueList[i])
valueList[i]+=even_parity(valueList[i])
for i in range(8):
l=""
for j in range(len(valueList)):
l+=valueList[j][i]
ret[1]+=even_parity(l)
return ret
| 33.098901 | 82 | 0.59927 | 367 | 3,012 | 4.880109 | 0.160763 | 0.100503 | 0.080402 | 0.036851 | 0.897822 | 0.836404 | 0.836404 | 0.836404 | 0.836404 | 0.836404 | 0 | 0.040816 | 0.25166 | 3,012 | 90 | 83 | 33.466667 | 0.753771 | 0.283201 | 0 | 0.793651 | 0 | 0 | 0.008277 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.063492 | false | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
74205eadff631983be42000b0bffcef869d1f001 | 923 | py | Python | Python_for_C_developers/06_Alocacao_memoria/main.py | omarcoaur3lio/IoT_ESP-IDF | 108eefe2849e43f21852c9975c4bd56e1b2fac68 | [
"MIT"
] | null | null | null | Python_for_C_developers/06_Alocacao_memoria/main.py | omarcoaur3lio/IoT_ESP-IDF | 108eefe2849e43f21852c9975c4bd56e1b2fac68 | [
"MIT"
] | null | null | null | Python_for_C_developers/06_Alocacao_memoria/main.py | omarcoaur3lio/IoT_ESP-IDF | 108eefe2849e43f21852c9975c4bd56e1b2fac68 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
# -*- coding: UTF-8 -*-
class Uart( object ):
def __init__( self, comport, baudrate ):
self.comport = comport;
self.baudrate = baudrate;
print("---------------------------------------");
t = Uart( 10, 10 );
if id( t.comport ) == id( t.baudrate ):
print( "Os IDs das Variáveis são Iguais:" );
else:
print( "Os IDs das Variáveis são diferentes!" );
print( type( t.comport ) );
print( type( t.baudrate ) );
print( "t.comport: " + str( id( t.comport ) ) );
print( "t.baudrate: " + str( id( t.baudrate ) ) );
print("---------------------------------------");
t = Uart( 46, 10 );
if id( t.comport ) == id( t.baudrate ):
print( "Os IDs das Variáveis são Iguais:" );
else:
print( "Os IDs das Variáveis são diferentes!" );
print(type(t.comport));
print(type(t.baudrate));
print("t.comport: " + str(id(t.comport)) );
print("t.baudrate: " + str(id(t.baudrate)) ); | 27.147059 | 51 | 0.539545 | 118 | 923 | 4.186441 | 0.254237 | 0.048583 | 0.1417 | 0.105263 | 0.744939 | 0.744939 | 0.744939 | 0.744939 | 0.744939 | 0.744939 | 0 | 0.013441 | 0.193933 | 923 | 34 | 52 | 27.147059 | 0.650538 | 0.042254 | 0 | 0.75 | 0 | 0 | 0.308235 | 0.091765 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0 | 0 | 0.083333 | 0.583333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
74383f810dcd4fefa8ba54ccbe411910d5bbe622 | 11,057 | py | Python | src/genie/libs/parser/iosxr/show_bridge_domain.py | Drey/genieparser | f16649efabf1f3c892bcaad340ae24ce5403ba6b | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxr/show_bridge_domain.py | Drey/genieparser | f16649efabf1f3c892bcaad340ae24ce5403ba6b | [
"Apache-2.0"
] | 1 | 2019-04-02T16:51:56.000Z | 2019-04-02T16:51:56.000Z | src/genie/libs/parser/iosxr/show_bridge_domain.py | Drey/genieparser | f16649efabf1f3c892bcaad340ae24ce5403ba6b | [
"Apache-2.0"
] | 1 | 2021-01-29T17:31:33.000Z | 2021-01-29T17:31:33.000Z | """show_bridge_domain.py
show bridge domain parser class
"""
from genie.metaparser import MetaParser
from genie.metaparser.util.schemaengine import Any
from genie.libs.parser.base import *
"""
TODO: bpetrovi - Aug 2, 2016
# XR command: "show l2vpn bridge-domain [group <group>] [bd-name <name>]"
# XR command: "show l2vpn bridge-domain [neighbor <neighbor> [pw-id <id>]]"
# XR command: "show l2vpn bridge-domain [interface <interface>]"
# XR command: "show l2vpn bridge-domain [pbb core]"
# XR command: "show l2vpn bridge-domain [pbb edge [core-bridge <name>]]"
# XR command: "show l2vpn bridge-domain [pbb isid <isid>]"
# XR command: "show l2vpn bridge-domain [no-statistics]"
# XR command: "show l2vpn bridge-domain [location <loc> | standby]"
# XR command: "show l2vpn bridge-domain [group <group>] [bd-name <name>] detail"
# XR command: "show l2vpn bridge-domain [neighbor <neighbor> [pw-id <id>]] detail"
# XR command: "show l2vpn bridge-domain [interface <interface>] detail"
# XR command: "show l2vpn bridge-domain [pbb core] detail"
# XR command: "show l2vpn bridge-domain [pbb edge [core-bridge <name>]] detail"
# XR command: "show l2vpn bridge-domain [pbb isid <isid>] detail"
# XR command: "show l2vpn bridge-domain [no-statistics] detail"
# XR command: "show l2vpn bridge-domain detail [location <loc> | standby]"
# XR command: "show l2vpn bridge-domain [group <group>] [bd-name <name>] brief"
# XR command: "show l2vpn bridge-domain [neighbor <neighbor> [pw-id <id>]] brief"
# XR command: "show l2vpn bridge-domain [interface <interface>] brief"
# XR command: "show l2vpn bridge-domain [pbb core] brief"
# XR command: "show l2vpn bridge-domain [pbb edge [core-bridge <name>]] brief"
# XR command: "show l2vpn bridge-domain [pbb isid <isid>] brief"
# XR command: "show l2vpn bridge-domain [no-statistics] brief"
# XR command: "show l2vpn bridge-domain brief [location <loc> | standby]"
# XR command: "show l2vpn bridge-domain bd-name <name> detail"
# XR command: "show l2vpn bridge-domain neighbor <neighbor> detail"
# XR command: "show l2vpn bridge-domain group <grp> detail"
"""
class ShowL2VpnBridgeDomainSummary(MetaParser):
"""Parser for show l2vpn bridge-domain summary"""
# parser class - implements detail parsing mechanisms for cli, xml, and yang output.
#*************************
# schema - class variable
#
# Purpose is to make sure the parser always return the output
# (nested dict) that has the same data structure across all supported
# parsing mechanisms (cli(), yang(), xml()).
"""
schema = {'TODO:': {
'module': {
Any(): {
'bios_compile_time': str,
'bios_version': str,
'image_compile_time': str,
'image_version': str,
'status': str},}},
'hardware': {
'bootflash': str,
'chassis': str,
'cpu': str,
'device_name': str,
'memory': str,
'model': str,
'processor_board_id': str,
'slots': str,
Any(): str,},
'kernel_uptime': {
'days': str,
'hours': str,
'minutes': str,
'seconds': str},
'reason': str,
'software': {
'bios': str,
'bios_compile_time': str,
'kickstart': str,
'kickstart_compile_time': str,
'kickstart_image_file': str,
'system': str,
'system_compile_time': str,
'system_image_file': str},
'system_version': str,
Any(): str,}
"""
def cli(self):
'''parsing mechanism: cli
'''
cmd = 'show l2vpn bridge-domain summary'
tcl_package_require_caas_parsers()
kl = tcl_invoke_caas_abstract_parser(
device=self.device, exec=cmd)
return kl
class ShowL2VpnBridgeDomainBrief(MetaParser):
"""Parser for show l2vpn bridge-domain brief"""
# parser class - implements detail parsing mechanisms for cli, xml, and yang output.
#*************************
# schema - class variable
#
# Purpose is to make sure the parser always return the output
# (nested dict) that has the same data structure across all supported
# parsing mechanisms (cli(), yang(), xml()).
"""
schema = {'TODO:': {
'module': {
Any(): {
'bios_compile_time': str,
'bios_version': str,
'image_compile_time': str,
'image_version': str,
'status': str},}},
'hardware': {
'bootflash': str,
'chassis': str,
'cpu': str,
'device_name': str,
'memory': str,
'model': str,
'processor_board_id': str,
'slots': str,
Any(): str,},
'kernel_uptime': {
'days': str,
'hours': str,
'minutes': str,
'seconds': str},
'reason': str,
'software': {
'bios': str,
'bios_compile_time': str,
'kickstart': str,
'kickstart_compile_time': str,
'kickstart_image_file': str,
'system': str,
'system_compile_time': str,
'system_image_file': str},
'system_version': str,
Any(): str,}
"""
def cli(self):
'''parsing mechanism: cli
'''
cmd = 'show l2vpn bridge-domain brief'
tcl_package_require_caas_parsers()
kl = tcl_invoke_caas_abstract_parser(
device=self.device, exec=cmd)
return kl
class ShowL2VpnBridgeDomain(MetaParser):
"""Parser for show l2vpn bridge-domain"""
# parser class - implements detail parsing mechanisms for cli, xml, and yang output.
#*************************
# schema - class variable
#
# Purpose is to make sure the parser always return the output
# (nested dict) that has the same data structure across all supported
# parsing mechanisms (cli(), yang(), xml()).
"""
schema = {'TODO:': {
'module': {
Any(): {
'bios_compile_time': str,
'bios_version': str,
'image_compile_time': str,
'image_version': str,
'status': str},}},
'hardware': {
'bootflash': str,
'chassis': str,
'cpu': str,
'device_name': str,
'memory': str,
'model': str,
'processor_board_id': str,
'slots': str,
Any(): str,},
'kernel_uptime': {
'days': str,
'hours': str,
'minutes': str,
'seconds': str},
'reason': str,
'software': {
'bios': str,
'bios_compile_time': str,
'kickstart': str,
'kickstart_compile_time': str,
'kickstart_image_file': str,
'system': str,
'system_compile_time': str,
'system_image_file': str},
'system_version': str,
Any(): str,}
"""
def cli(self):
'''parsing mechanism: cli
'''
cmd = 'show l2vpn bridge-domain'
tcl_package_require_caas_parsers()
kl = tcl_invoke_caas_abstract_parser(
device=self.device, exec=cmd)
return kl
class ShowL2VpnBridgeDomainDetail(MetaParser):
"""Parser for show l2vpn bridge-domain detail"""
# parser class - implements detail parsing mechanisms for cli, xml, and yang output.
#*************************
# schema - class variable
#
# Purpose is to make sure the parser always return the output
# (nested dict) that has the same data structure across all supported
# parsing mechanisms (cli(), yang(), xml()).
"""
schema = {'TODO:': {
'module': {
Any(): {
'bios_compile_time': str,
'bios_version': str,
'image_compile_time': str,
'image_version': str,
'status': str},}},
'hardware': {
'bootflash': str,
'chassis': str,
'cpu': str,
'device_name': str,
'memory': str,
'model': str,
'processor_board_id': str,
'slots': str,
Any(): str,},
'kernel_uptime': {
'days': str,
'hours': str,
'minutes': str,
'seconds': str},
'reason': str,
'software': {
'bios': str,
'bios_compile_time': str,
'kickstart': str,
'kickstart_compile_time': str,
'kickstart_image_file': str,
'system': str,
'system_compile_time': str,
'system_image_file': str},
'system_version': str,
Any(): str,}
"""
def cli(self):
'''parsing mechanism: cli
'''
cmd = 'show l2vpn bridge-domain detail'
tcl_package_require_caas_parsers()
kl = tcl_invoke_caas_abstract_parser(
device=self.device, exec=cmd)
return kl
# vim: ft=python ts=8 sw=4 et
| 38.392361 | 88 | 0.454101 | 979 | 11,057 | 5.008172 | 0.128703 | 0.090557 | 0.107077 | 0.149908 | 0.937181 | 0.927595 | 0.921477 | 0.861513 | 0.776055 | 0.741179 | 0 | 0.007319 | 0.431582 | 11,057 | 287 | 89 | 38.526132 | 0.772792 | 0.143619 | 0 | 0.645161 | 0 | 0 | 0.082511 | 0 | 0 | 0 | 0 | 0.017422 | 0 | 1 | 0.129032 | false | 0 | 0.096774 | 0 | 0.483871 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7445bc553bd5a8bedd7088f0d81c9382054d980f | 331 | py | Python | PoseEstimation/Script/Preprocessing/Poser/Modules/__init__.py | AtsushiHashimoto/KinectOnTheCeiling | 116448e706da8b4e87e5402310747f46821beb4a | [
"MIT"
] | null | null | null | PoseEstimation/Script/Preprocessing/Poser/Modules/__init__.py | AtsushiHashimoto/KinectOnTheCeiling | 116448e706da8b4e87e5402310747f46821beb4a | [
"MIT"
] | null | null | null | PoseEstimation/Script/Preprocessing/Poser/Modules/__init__.py | AtsushiHashimoto/KinectOnTheCeiling | 116448e706da8b4e87e5402310747f46821beb4a | [
"MIT"
] | null | null | null |
from .utils import ps, enumerate_poses, make_discrete_regions, cal_fig_params, cal_camera_params, \
set_fig_params, set_camera_params, save_param
__all__ = ["ps", "enumerate_poses", "make_discrete_regions", "cal_fig_params", "cal_camera_params",
"set_fig_params", "set_camera_params", "save_param"]
| 47.285714 | 99 | 0.731118 | 44 | 331 | 4.863636 | 0.386364 | 0.168224 | 0.149533 | 0.186916 | 0.915888 | 0.915888 | 0.915888 | 0.915888 | 0.915888 | 0.915888 | 0 | 0 | 0.163142 | 331 | 6 | 100 | 55.166667 | 0.772563 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.063636 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
7452713414a5801d61476133f5c138d60838cea7 | 166 | py | Python | seeds/utils/__init__.py | briandconnelly/seeds | a114ac66e62a960e18127faf52cff9e48831e212 | [
"Apache-2.0"
] | 11 | 2016-02-05T15:06:53.000Z | 2022-02-28T05:51:28.000Z | seeds/utils/__init__.py | briandconnelly/seeds | a114ac66e62a960e18127faf52cff9e48831e212 | [
"Apache-2.0"
] | null | null | null | seeds/utils/__init__.py | briandconnelly/seeds | a114ac66e62a960e18127faf52cff9e48831e212 | [
"Apache-2.0"
] | 5 | 2017-11-12T13:44:44.000Z | 2020-08-20T15:06:31.000Z | # -*- coding: utf-8 -*-
from seeds.utils.geometry import *
from seeds.utils.numeric import *
from seeds.utils.sampling import *
from seeds.utils.statistics import *
| 23.714286 | 36 | 0.740964 | 23 | 166 | 5.347826 | 0.478261 | 0.292683 | 0.455285 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006944 | 0.13253 | 166 | 6 | 37 | 27.666667 | 0.847222 | 0.126506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
7771f0ec7e2e99be519807c93c9d39401dda0179 | 3,114 | py | Python | daiquiri/metadata/migrations/0005_more_fields.py | agy-why/daiquiri | 4d3e2ce51e202d5a8f1df404a0094a4e018dcb4d | [
"Apache-2.0"
] | 14 | 2018-12-23T18:35:02.000Z | 2021-12-15T04:55:12.000Z | daiquiri/metadata/migrations/0005_more_fields.py | agy-why/daiquiri | 4d3e2ce51e202d5a8f1df404a0094a4e018dcb4d | [
"Apache-2.0"
] | 40 | 2018-12-20T12:44:05.000Z | 2022-03-21T11:35:20.000Z | daiquiri/metadata/migrations/0005_more_fields.py | agy-why/daiquiri | 4d3e2ce51e202d5a8f1df404a0094a4e018dcb4d | [
"Apache-2.0"
] | 5 | 2019-05-16T08:03:35.000Z | 2021-08-23T20:03:11.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-07-03 15:18
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('daiquiri_metadata', '0004_function_query_string'),
]
operations = [
migrations.AddField(
model_name='database',
name='attribution',
field=models.TextField(blank=True, null=True),
),
migrations.AddField(
model_name='database',
name='license',
field=models.CharField(blank=True, choices=[(b'CC0', b'CC0 1.0 Universal (CC0 1.0)'), (b'PD', b'Public Domain Mark'), (b'BY', b'Attribution 4.0 International (CC BY 4.0)'), (b'BY_SA', b'Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)'), (b'BY_ND', b'Attribution-NoDerivatives 4.0 International (CC BY-ND 4.0)'), (b'BY_NC', b'Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)'), (b'BY_NC_SA', b'Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)'), (b'BY_NC_ND', b'Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0)')], max_length=8, null=True),
),
migrations.AddField(
model_name='database',
name='long_description',
field=models.TextField(blank=True, null=True),
),
migrations.AddField(
model_name='database',
name='pid',
field=models.URLField(blank=True, max_length=256, null=True),
),
migrations.AddField(
model_name='database',
name='title',
field=models.CharField(blank=True, max_length=256, null=True),
),
migrations.AddField(
model_name='table',
name='attribution',
field=models.TextField(blank=True, null=True),
),
migrations.AddField(
model_name='table',
name='license',
field=models.CharField(blank=True, choices=[(b'CC0', b'CC0 1.0 Universal (CC0 1.0)'), (b'PD', b'Public Domain Mark'), (b'BY', b'Attribution 4.0 International (CC BY 4.0)'), (b'BY_SA', b'Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)'), (b'BY_ND', b'Attribution-NoDerivatives 4.0 International (CC BY-ND 4.0)'), (b'BY_NC', b'Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)'), (b'BY_NC_SA', b'Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)'), (b'BY_NC_ND', b'Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0)')], max_length=8, null=True),
),
migrations.AddField(
model_name='table',
name='long_description',
field=models.TextField(blank=True, null=True),
),
migrations.AddField(
model_name='table',
name='pid',
field=models.URLField(blank=True, max_length=256, null=True),
),
migrations.AddField(
model_name='table',
name='title',
field=models.CharField(blank=True, max_length=256, null=True),
),
]
| 47.181818 | 620 | 0.609184 | 405 | 3,114 | 4.582716 | 0.175309 | 0.025862 | 0.096983 | 0.109914 | 0.890625 | 0.890625 | 0.871767 | 0.871767 | 0.860453 | 0.860453 | 0 | 0.040661 | 0.241811 | 3,114 | 65 | 621 | 47.907692 | 0.745447 | 0.021195 | 0 | 0.862069 | 1 | 0 | 0.353366 | 0.10509 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.034483 | 0 | 0.086207 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
77ced8f9ecb921d53de9a1a45e36cbb3cd862a2f | 8,251 | py | Python | backend/src/quickstart-file.py | alexcummins/TeachWell | b6c3a5cca8ea9d980eb9a0c3bbc731453d733e25 | [
"MIT"
] | null | null | null | backend/src/quickstart-file.py | alexcummins/TeachWell | b6c3a5cca8ea9d980eb9a0c3bbc731453d733e25 | [
"MIT"
] | null | null | null | backend/src/quickstart-file.py | alexcummins/TeachWell | b6c3a5cca8ea9d980eb9a0c3bbc731453d733e25 | [
"MIT"
] | null | null | null | import asyncio
import io
import glob
import os
import sys
import time
import uuid
import requests
from urllib.parse import urlparse
from io import BytesIO
from PIL import Image, ImageDraw
from azure.cognitiveservices.vision.face import FaceClient
from msrest.authentication import CognitiveServicesCredentials
from azure.cognitiveservices.vision.face.models import TrainingStatusType, Person, SnapshotObjectType, OperationStatusType
# Set the FACE_SUBSCRIPTION_KEY environment variable with your key as the value.
# This key will serve all examples in this document.
KEY = os.environ["FACE_SUBSCRIPTION_KEY"]
# export FACE_SUBSCRIPTION_KEY=(OUR API KEY)
# source ~/.bashrc
#
# Do the same with endpoint \/
# Set the FACE_ENDPOINT environment variable with the endpoint from your Face service in Azure.
# This endpoint will be used in all examples in this quickstart.
ENDPOINT = os.environ['FACE_ENDPOINT']
# Create an authenticated FaceClient.
face_client = FaceClient(ENDPOINT, CognitiveServicesCredentials(KEY))
# Detect a face in an image that contains a single face
kaz_image_url = 'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxAQEBAQEBAKEBANDQoNDQkJDRsUEA4KIB0iIiAdHx8kKDQsJCYxJx8fLUctMSstMDBDIys9Pz8tQzQtOisBCgoKDQ0NFQ4OFSsZHxkrKzctNy0tKzctNzcrKzc3KysrKzc3KysrLTc3Ky0rKysrKy0rKy0rKysrKystKysrK//AABEIAMgAyAMBIgACEQEDEQH/xAAcAAEAAQUBAQAAAAAAAAAAAAAAAQIEBQYHAwj/xAA+EAABAwIDBQUECQIGAwAAAAABAAIDBBEFEiEGMUFRYQcTInGBMkKRsRQjUmJyocHR8EPhFSQzgpPxFjRT/8QAGQEBAAMBAQAAAAAAAAAAAAAAAAECAwQF/8QAJBEBAAICAgICAgMBAAAAAAAAAAECAxESIQQxE0EyUSIzYRT/2gAMAwEAAhEDEQA/AO2oiKAREQQiIgIiICIsLtHtRS0LbzyND3BxZCNXOKDNXVD5WgXJaBzJsuFbR9ptTI6QMe2KMizadg8YbwObmtFxHaqoluHTT2cSXDNfRB9Ov2iowcpqaYH7LpBqVdQ4nA82ZNA466NkB1XyDJWvcdXONt2bVUtrHji4ci02sUS+yWyA7iPQqpfJtBtbWwi0dTUMF2uFn38QXSNjO19+Yx4gA4EtyVFOy2VvUcUQ7UitsOr46iNksTmvZI0Oa8fZVygIiIClEQEREBERSCIigEREAoiIIRFb4jVthikld7MUckh/CBdBgdtdsIMNjBcWvnkuIqa+p6novn3aPFH1bpKiV4L3SAANvo3y5LzxfGpK2smqZdS4uLY82gbuAWCrJjc3ve+tjpdQl5TyucdTmIuM/ReLmkb/AIpc8F7AOtqNPLirDxBXtDre43eqiw13/wBlAJ0+TeSkV6aiynL/AALzJFydSq2S24fDkiHQOyzbg0MxjmLzBLlztHuu+0vomnmbI1r2m7Xta5rubV8esFyC31twK712JbRGopn0sjiZKUgszf8AwPD0VfSXTERSEQIiKQREQEREBERQCIiAiIghaR2xVr4sLlDDYzSQwn8BOq3dc97bP/QjHOqj09Cg4VTMDWknfYO3cVaUmHPmdu9q5utgpcMzs03utfzWfwXAu5dd5DidW24LG+TjDqxYucsVhuxwNi+3BZuTZWMxuaBcnUE/aWx07Olv2V8IrW6rk+W9nd8FIj04zXYDNG63dvJB1yt4Lwfg0o1yuPkOC7ZUUbDqRqenFQ2kjtctF7Dgt/ntDD/mrLh/+B1BuRHIQPeVhLA5psQQR812+qa3UcOS0vHcCD3FzRff7PNWpn3PbPJ4uo/i0qmBGvC5ut77G64x4pE29hO2WN7eelx8lqdRSmPQixtZZnYC8eJ0Z3f5iJvodFvvbkmNPp9SoUqVRERSCIiCVCIgIiKAREQEREELQ+2GLNRRn7NTH8it9WA26oO/oZ2gXcxolaPvN1SfSYcgwSjvpYXsCegWwTNAIHQBeuylO0wvlcAfC4HTgtCxfamofO4RRuDGmzWWvdcV6TeenfjyRSHQqSIm3p8FmI4dNbcFy6i2krg4AxabicpFlumFYzI9gDvatu3KIxxT22jLz9M7JHzG61lD4dCvFtXoL2B03lY/HMcdE05Rm+6N6mNSTuHnWQb/AFWLcLE/qtdrdq6txIbCQObisU3aWqZIC9hLbjNHl91TGH72zt5EfplNoKDc628/Arx2RizYhSW0IqoT6XW5dwypo+8AIzNLgHDUOWP7MMM73EGvt4abvJSetrD5rbHP1Llyx9w7iFKhStnOIiIClEUgoUqEBERQCIiAiIgLlm1OJVH06QRvqGd1Zu/6st8l1MrRNtafJMXtaCZWNuObgsc8zFdw6vEis31ZhtjSRTyNfvbJM02WKxyOmpj3hy+K5vyKzOFBwp5S5uVzpXFzRzssTW4e2cWkaHAX8JXNNu3VXH7a5U7aQi7e6JyhpzWt4eiyGG4o2SxaHDddrhqF44ls3C8tJZK4sa1rRybwvzV4KFzPG62dwy2+6pvw10tSuTfbMSTXYTy4nmsBUVwNy86Dj1WcY090QRv4rBMpnPAygF0LiQOPms6f61yR10s//LKWMljopgQ8xl5Z7/JXlAaateA0s5m/JWEmBRvm79zJBKXZnZm+Ev5rIUGCMgJkaCC65Ou8re01j8XNxvP5NqlDGQOZHqGMcB8FqWyVZNCyZzXvYyZzRaIeNwF7WO9bFTgmCX8DliMKppWhpDWZGMaLnfm4lUm0xUpSJvpv3ZzickzZmOM5bHkLfpHtBxvcLdFrGwlF3cD38ZZHH/aP4Vs668W+MbcefXyToREV2IpRFIIiIIREUAiIgIiIC1jbmkzRNlGa8ZLbsF7A9Fs6tsQp+9iey9i9rgDycq3jlWYaYr8LRZz3B5M0crXb25f9w4FWdyHaAb7arJUOGTwySiRjw0tt3lvCfVWcwyvXDaHp47RylWac3a69rXzNA9pYqtlu+2nQLLOn0NjwWCaYxNd8sYc4uAY52vkqzG2+9LvMcv8AN6x2HTZZrcxuWcmyNjI4i5LlrIczvBI17CQ8CzXa5VeK9KXt3DbTGN9grGucALK5M3hCw9XPd2lz06KhadQzFIA2nN/eWHbUuJNmv7svLGiPe/hf4rKso5poAyEZpHNdZgKvdmtm5u+jztkZHE5riJBbdwC1iu+nJW8V3O28YHSmKniYRYhjS4cnHUrIXUKQuyI1GnBadzsREUoFKhSpBERAUIigEREBERAKIiC0xOLNE8cQ248wue4q0gXA43K6aR+q0faKhyOI4G5b5LDPXrbq8a+p01jvDbmrCpoI5Dd7Gkn3ra3U4m2RxDI35Tvz2usaYKq/ikc4i9vdBC5q139vRiJtOldRQPcTH30hY3+nfUt5XVNFhkUZDmsbcG+fqvSZ1UBYA3sczwBe3msY6epboDG433OG71C1ms6VvjmvctlfVW01VnCM7uhJ3clbQyvdZsgAebXynQrPYfSgFo4ngFlEdsr26btsXSWDn8gGjzW0KzwelEULG8SA4/iKvV3UjUPNvO5EsiKyoiIgkIoUoCIikFClQoBERAREQEREBaxtfOGGO/skODug5rZyfy+S5TtBjnfVdTCTpG6NsflbVZ5uqS38eN3edXAGOLhqHbvJWFTGXDS/7FUU2IZD3cl+7PsyH3Hfsr2SQNGmo68lwR7enE/UsK+mk+27q08l5mLLqSsmZm6k2N+XAqxnlBJvbnfotNyraevavD487853Nss1HVtbIGNIL3FuYj3G8lqk+LkDu4Br70vI9F64e50f1h1I8VzzU+mOtu+Urw5jS0gjK2xC9VonZbjL54ZGP1ySvyn7p1W9ruj0863UiIiIFKhSghSiICIikFCIoEqERAREuglFS54AuSABvJNgAsFU7RB7+5pA2eUW7yS/1MDebjxPQKYjYzFW6zT1uPRcJqmO+nVZO/6Q8ei7WM2XxuzOtq4Cwv5LmW0eH93XSOt4agNkB+/ax+Sx8iJ+N0+L/YxksOYWI9Vj5HyMGUEkDcHclsLIuC8pqIErgrbT0prtq0tXMNzAQfeuvC0smhNh9lq2WXDDfjY8FXFQAcOS05s/jY6gw0AA2VxXRWYfLcsy2EADQBWOIt0Kzm25XiuoZrskaWxTOtoKkNaeYAH7rqLT+a03Y3D+4pIwRZz7yv8AxHVbCKhzTzHFpXrVrPGHj5JjnLJIrSHEI3P7u9n2zCN2hc3mOau1GlRERQCIikEREEIiKARa5tJtnR0IIkka6QboIzd1+q5jj3axUy3bA0RNN7OHtWV4pMo27PW4jDCM0skbB992vwWj4/2o08N2wASOF/rJHWF/LeuL12N1ExJklkcTe+qxj3b/AFV4pEHbesS2zq66RkRldaV7WCNvhZmOguF2DAaCOmiZBGNQAZJOL5OJK+cKKXJIx4918T/gbr6WwohzQ8bnNYQehF1aeoQvraLXNqqDOwuA8UX1jfw8fyVeP18hJigJbb25Gb78gvDBS8AxzOcQ69nvN7OWc13WYlpS01tFoa4Wbj5L1DbhZCow8xEtcDa5LHcHNXlHT8l49qTW2ns1vFo3CzzG27VUlh32V+Kc33JJTmyjUrdLDJdTS4d30sbLeHMHP/AFeRQ81nsEo8oLyNXcTwYtcGLleGOfJwpLLRNsLDcAFExA37rha3WY7OXuEIYGNcQHFty4c1maSpMsLXnR25wH2gvYirxpRiuHieMgOcx7fFDURmz4peBC0zC+0ieCR0FXGHuic5jng5X3Btfqt4MgaC4mwAJcTuDV897U4p9IrKiZvsvldkt9gaD5K3GJ9qvoHB9s6KpsGytjef6NR4Tf9VsDXA6ggjmOS+TIa97TcG4uPC5bVgG3tTTEZZJA0b4ZTnZZZzj/AEtt9FXRaLs92kU9RYTARuNh3jDmZfrxC3eKVrgHNLXAgEOYbgtWc1mE7VoiKErLFsThpYnTTvaxjeJ3l3IcyuPbV9ptRPmjpQaeI3He/wBV7f0WP7QdpXVk7rF3dREthiO4Dn5laRJKtq017V3tXPOXEucXOcTcvebklWz3fojnKglXFJUFSVF/50QerDx5Lv8As1XGGioqd72mqmpmvbE4+NsXO3QEBfPbXWWUnxypfUCqdK7v292GSxi2RoFgAN1uijWx9GUlAGjXUneeq9JaMcFp2xPaHFVBsNSWRVGjQ8m0cx6cj0W+A/zoqzEwbYsw+48ZmcAfdKsK2gLAXR5i3i0+01bE5gUtiG7ToVjkxVvDbHmtSWniqIFl5XfIbNDiTyWYrsJ+s00adT91yu4KIAWaFyV8W021b07beXWsbr7Yemomx+KeUdIY9Tde0lfJN4I2lke659pzf0WS/wALBNzqTzVzBSNbuC78eOtI1DhyZbXncrCmwwW3K4p4O7zN4O1H4leSPawFzi1rWgkvebABcz2w7TGMeI6INkLJGmSpd7BaDqG+fNaRuWMo7S9r2xtdRU5a6R4IqJWn/TZ9nzK5K93qVcYlViWWWUNLBLLNKIy6+QEk2urJXQquvQFeYVQULPaJ5aQWlwOmrTZb7sX2hzUZEc2aSE2uOLeoXPgvVrlGt9IfU+DYzBVxiSCRjwQLgHxNPUKF85bN7QTUUzZYnOFnNzx38L28iiynGnaxrZPG/W93EqyuvaV1yT1PwVu5bIUkKn1XoRoFRqgoUKpw/VUqEoRp/wCkRB7Ndusf+1tGA7dV1HZrZDJG2w+j1PiAHQ7wtRHRV94fOynaHYcN7X4jYVFNMznJTODh8DYrYaTtJwt++oLOk8Tm/ovn8P8AMKov4A33KOMD6Gbtphr3AGsp9d13EC3mr1+1eHDdWUP/ADBfNgfbUi9j6HzSR48rgeEahTxhHb6Bru0HDIr/AOZbIR7tK0v1+S1XFe1sailp3E7u9rHW/IfuuTB45p3g4apqBncd2prK3/XmcW30p4/DGPQfqsE8/wACoc4n+ygFTsEU3UFVSkFVBUKsFBUCqlQqgpHoCoUD+eSIK829ecg81KIIZuPTmqb+X9kRBDgqbIiAqSERBCkFEQT6Kr8kRB6mEbyTrrZeM1idFCK0o2i3mlkRVSD5KFKIFkIREEgfy6qCIoFRT4oilCq/D49SiIokf//Z'
kaz_image_name = os.path.basename(kaz_image_url)
detected_faces = face_client.face.detect_with_url(url=kaz_image_url)
if not detected_faces:
raise Exception('No face detected from image {}'.format(kaz_image_url))
# Display the detected face ID in the first single-face image.
# Face IDs are used for comparison to faces (their IDs) detected in other images.
print('Detected face ID from', kaz_image_name, ':')
print(detected_faces[0])
print()
# Save this ID for use in Find Similar
first_image_face_ID = detected_faces[0].face_id
# Detect the faces in an image that contains multiple faces
# Each detected face gets assigned a new ID
multi_face_image_url = "http://www.historyplace.com/kennedy/president-family-portrait-closeup.jpg"
multi_image_name = os.path.basename(multi_face_image_url)
detected_faces2 = face_client.face.detect_with_url(url=multi_face_image_url)
# Search through faces detected in group image for the single face from first image.
# First, create a list of the face IDs found in the second image.
second_image_face_IDs = list(map(lambda x: x.face_id, detected_faces2))
# Next, find similar face IDs like the one detected in the first image.
similar_faces = face_client.face.find_similar(face_id=first_image_face_ID, face_ids=second_image_face_IDs)
if not similar_faces[0]:
print('No similar faces found in', multi_image_name, '.')
else:
print('similar faces found in', multi_image_name, '.')
for i in (second_image_face_IDs) :
print (i)
| 128.921875 | 5,689 | 0.919525 | 536 | 8,251 | 14.022388 | 0.494403 | 0.007451 | 0.005854 | 0.006786 | 0.038052 | 0.016764 | 0.016764 | 0 | 0 | 0 | 0 | 0.110086 | 0.041086 | 8,251 | 63 | 5,690 | 130.968254 | 0.839864 | 0.11635 | 0 | 0 | 0 | 0.027027 | 0.808443 | 0.782728 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.378378 | 0 | 0.378378 | 0.162162 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
bb2f7346d378da651d01413e720e2ce3b27e9049 | 11,715 | py | Python | networkapi/api_equipment/tests/sanity/test_equipment_put.py | vinicius-marinho/GloboNetworkAPI | 94651d3b4dd180769bc40ec966814f3427ccfb5b | [
"Apache-2.0"
] | 73 | 2015-04-13T17:56:11.000Z | 2022-03-24T06:13:07.000Z | networkapi/api_equipment/tests/sanity/test_equipment_put.py | leopoldomauricio/GloboNetworkAPI | 3b5b2e336d9eb53b2c113977bfe466b23a50aa29 | [
"Apache-2.0"
] | 99 | 2015-04-03T01:04:46.000Z | 2021-10-03T23:24:48.000Z | networkapi/api_equipment/tests/sanity/test_equipment_put.py | shildenbrand/GloboNetworkAPI | 515d5e961456cee657c08c275faa1b69b7452719 | [
"Apache-2.0"
] | 64 | 2015-08-05T21:26:29.000Z | 2022-03-22T01:06:28.000Z | # -*- coding: utf-8 -*-
import json
import logging
from django.test.client import Client
from networkapi.test.test_case import NetworkApiTestCase
log = logging.getLogger(__name__)
class EquipmentPutTestCase(NetworkApiTestCase):
fixtures = [
'networkapi/system/fixtures/initial_variables.json',
'networkapi/usuario/fixtures/initial_usuario.json',
'networkapi/grupo/fixtures/initial_ugrupo.json',
'networkapi/usuario/fixtures/initial_usuariogrupo.json',
'networkapi/grupo/fixtures/initial_permissions.json',
'networkapi/grupo/fixtures/initial_permissoes_administrativas.json',
'networkapi/api_equipment/fixtures/initial_pre_equipment.json',
'networkapi/api_equipment/fixtures/initial_base.json',
]
json_path = 'api_equipment/tests/sanity/json/put/%s'
def setUp(self):
self.client = Client()
def tearDown(self):
pass
def test_put_one_equipment_success(self):
"""Test of success to put of one equipment."""
name_file = self.json_path % 'put_one_equipment.json'
# Does put request
response = self.client.put(
'/api/v3/equipment/1/',
data=json.dumps(self.load_json_file(name_file)),
content_type='application/json',
HTTP_AUTHORIZATION=self.get_http_authorization('test'))
self.compare_status(200, response.status_code)
# Does get request
response = self.client.get(
'/api/v3/equipment/1/',
content_type='application/json',
HTTP_AUTHORIZATION=self.get_http_authorization('test'))
self.compare_status(200, response.status_code)
self.compare_json(name_file, response.data)
def test_put_one_equipment_add_groups(self):
"""Test of success to put of one equipment adding one group."""
name_file = self.json_path % 'put_one_equipment_add_groups.json'
# Does put request
response = self.client.put(
'/api/v3/equipment/1/',
data=json.dumps(self.load_json_file(name_file)),
content_type='application/json',
HTTP_AUTHORIZATION=self.get_http_authorization('test'))
self.compare_status(200, response.status_code)
# Does get request
response = self.client.get(
'/api/v3/equipment/1/?include=groups',
content_type='application/json',
HTTP_AUTHORIZATION=self.get_http_authorization('test'))
self.compare_status(200, response.status_code)
self.compare_json(name_file, response.data)
def test_put_one_equipment_update_groups(self):
"""Test of success to put of one equipment update group."""
name_file = self.json_path % 'put_one_equipment_update_groups.json'
# Does put request
response = self.client.put(
'/api/v3/equipment/1/',
data=json.dumps(self.load_json_file(name_file)),
content_type='application/json',
HTTP_AUTHORIZATION=self.get_http_authorization('test'))
self.compare_status(200, response.status_code)
# Does get request
response = self.client.get(
'/api/v3/equipment/1/?include=groups',
content_type='application/json',
HTTP_AUTHORIZATION=self.get_http_authorization('test'))
self.compare_status(200, response.status_code)
self.compare_json(name_file, response.data)
def test_put_one_equipment_new_groups(self):
"""Test of success to put of one equipment with new group."""
name_file = self.json_path % 'put_one_equipment_new_groups.json'
# Does put request
response = self.client.put(
'/api/v3/equipment/1/',
data=json.dumps(self.load_json_file(name_file)),
content_type='application/json',
HTTP_AUTHORIZATION=self.get_http_authorization('test'))
self.compare_status(200, response.status_code)
# Does get request
response = self.client.get(
'/api/v3/equipment/1/?include=groups',
content_type='application/json',
HTTP_AUTHORIZATION=self.get_http_authorization('test'))
self.compare_status(200, response.status_code)
self.compare_json(name_file, response.data)
def test_put_one_equipment_add_environments(self):
"""Test of success to put of one equipment adding one environment."""
name_file = self.json_path % 'put_one_equipment_add_environments.json'
# Does put request
response = self.client.put(
'/api/v3/equipment/1/',
data=json.dumps(self.load_json_file(name_file)),
content_type='application/json',
HTTP_AUTHORIZATION=self.get_http_authorization('test'))
self.compare_status(200, response.status_code)
# Does get request
response = self.client.get(
'/api/v3/equipment/1/?include=environments',
content_type='application/json',
HTTP_AUTHORIZATION=self.get_http_authorization('test'))
self.compare_status(200, response.status_code)
self.compare_json(name_file, response.data)
def test_put_one_equipment_update_environments(self):
"""Test of success to put of one equipment update environment."""
name_file = self.json_path % 'put_one_equipment_update_environments.json'
# Does put request
response = self.client.put(
'/api/v3/equipment/1/',
data=json.dumps(self.load_json_file(name_file)),
content_type='application/json',
HTTP_AUTHORIZATION=self.get_http_authorization('test'))
self.compare_status(200, response.status_code)
# Does get request
response = self.client.get(
'/api/v3/equipment/1/?include=environments',
content_type='application/json',
HTTP_AUTHORIZATION=self.get_http_authorization('test'))
self.compare_status(200, response.status_code)
self.compare_json(name_file, response.data)
def test_put_one_equipment_new_environments(self):
"""Test of success to put of one equipment with new environment."""
name_file = self.json_path % 'put_one_equipment_new_environments.json'
# Does put request
response = self.client.put(
'/api/v3/equipment/1/',
data=json.dumps(self.load_json_file(name_file)),
content_type='application/json',
HTTP_AUTHORIZATION=self.get_http_authorization('test'))
self.compare_status(200, response.status_code)
# Does get request
response = self.client.get(
'/api/v3/equipment/1/?include=environments',
content_type='application/json',
HTTP_AUTHORIZATION=self.get_http_authorization('test'))
self.compare_status(200, response.status_code)
self.compare_json(name_file, response.data)
def test_put_one_equipment_new_ipv4s(self):
"""Test of success to put one equipment with new IPv4s."""
name_file = self.json_path % 'put_one_equipment_new_ipv4s.json'
# Does put request
response = self.client.put(
'/api/v3/equipment/3/',
data=json.dumps(self.load_json_file(name_file)),
content_type='application/json',
HTTP_AUTHORIZATION=self.get_http_authorization('test'))
self.compare_status(200, response.status_code)
# Does get request
response = self.client.get(
'/api/v3/equipment/3/?include=ipv4',
content_type='application/json',
HTTP_AUTHORIZATION=self.get_http_authorization('test'))
data = response.data
ipv4s = data['equipments'][0]['ipv4']
data['equipments'][0]['ipv4'] = [ipv4['id'] for ipv4 in ipv4s]
self.compare_status(200, response.status_code)
self.compare_json(name_file, data)
def test_put_one_equipment_new_ipv6s(self):
"""Test of success to put one equipment with new IPv6s."""
name_file = self.json_path % 'put_one_equipment_new_ipv6s.json'
# Does put request
response = self.client.put(
'/api/v3/equipment/3/',
data=json.dumps(self.load_json_file(name_file)),
content_type='application/json',
HTTP_AUTHORIZATION=self.get_http_authorization('test'))
self.compare_status(200, response.status_code)
# Does get request
response = self.client.get(
'/api/v3/equipment/3/?include=ipv6',
content_type='application/json',
HTTP_AUTHORIZATION=self.get_http_authorization('test'))
data = response.data
ipv6s = data['equipments'][0]['ipv6']
data['equipments'][0]['ipv6'] = [ipv6['id'] for ipv6 in ipv6s]
self.compare_status(200, response.status_code)
self.compare_json(name_file, data)
class EquipmentputErrorTestCase(NetworkApiTestCase):
fixtures = [
'networkapi/system/fixtures/initial_variables.json',
'networkapi/usuario/fixtures/initial_usuario.json',
'networkapi/grupo/fixtures/initial_ugrupo.json',
'networkapi/usuario/fixtures/initial_usuariogrupo.json',
'networkapi/grupo/fixtures/initial_permissions.json',
'networkapi/grupo/fixtures/initial_permissoes_administrativas.json',
'networkapi/api_equipment/fixtures/initial_pre_equipment.json',
'networkapi/api_equipment/fixtures/initial_base.json',
]
json_path = 'api_equipment/tests/sanity/json/put/%s'
def setUp(self):
self.client = Client()
def tearDown(self):
pass
def test_put_duplicated_equipment(self):
"""Test of error to put of one equipment with name already existent."""
name_file = self.json_path % 'put_one_duplicated_equipment.json'
# Does put request
response = self.client.put(
'/api/v3/equipment/1/',
data=json.dumps(self.load_json_file(name_file)),
content_type='application/json',
HTTP_AUTHORIZATION=self.get_http_authorization('test'))
self.compare_status(400, response.status_code)
self.compare_values(
'There is another equipment with same name VM-SANITY-TEST-02',
response.data['detail'])
def test_put_equipment_invalid_env(self):
"""Test of error to put of one equipment with environment non existent.
"""
name_file = self.json_path % 'put_one_equipment_invalid_env.json'
# Does put request
response = self.client.put(
'/api/v3/equipment/1/',
data=json.dumps(self.load_json_file(name_file)),
content_type='application/json',
HTTP_AUTHORIZATION=self.get_http_authorization('test'))
self.compare_status(400, response.status_code)
self.compare_values(
'There is no environment with id = 10.',
response.data['detail'])
def test_put_equipment_invalid_group(self):
"""Test of error to put of one equipment with group non existent.
"""
name_file = self.json_path % 'put_one_equipment_invalid_group.json'
# Does put request
response = self.client.put(
'/api/v3/equipment/1/',
data=json.dumps(self.load_json_file(name_file)),
content_type='application/json',
HTTP_AUTHORIZATION=self.get_http_authorization('test'))
self.compare_status(400, response.status_code)
self.compare_values(
'There is no group with a pk = 10.',
response.data['detail'])
| 34.866071 | 81 | 0.654119 | 1,396 | 11,715 | 5.245702 | 0.076648 | 0.097501 | 0.045064 | 0.071692 | 0.930493 | 0.926123 | 0.926123 | 0.922709 | 0.902499 | 0.848696 | 0 | 0.015248 | 0.238668 | 11,715 | 335 | 82 | 34.970149 | 0.805808 | 0.093555 | 0 | 0.792079 | 0 | 0 | 0.238208 | 0.154029 | 0 | 0 | 0 | 0 | 0 | 1 | 0.079208 | false | 0.009901 | 0.019802 | 0 | 0.128713 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
24df4e411465ffae25521403662d9f58a1d943c8 | 2,359 | py | Python | tree_definitions.py | coinflip112/stoch_models_release | cc36587af8ff61f2dac38bbc5acd8f3ec2079ec8 | [
"MIT"
] | null | null | null | tree_definitions.py | coinflip112/stoch_models_release | cc36587af8ff61f2dac38bbc5acd8f3ec2079ec8 | [
"MIT"
] | null | null | null | tree_definitions.py | coinflip112/stoch_models_release | cc36587af8ff61f2dac38bbc5acd8f3ec2079ec8 | [
"MIT"
] | null | null | null | import pydot
binomial_tree_prices_x = pydot.Dot(graph_type="digraph", rankdir="LR")
# Level zero
binomial_tree_prices_x.add_node(pydot.Node("X_Y(0)", label="<X<SUB>Y</SUB>(0) = 4>"))
# Level one
binomial_tree_prices_x.add_node(
pydot.Node("X_Y(1,H)", label="<X<SUB>Y</SUB>(1,H) = 8>")
)
binomial_tree_prices_x.add_node(
pydot.Node("X_Y(1,T)", label="<X<SUB>Y</SUB>(1,T) = 2>")
)
binomial_tree_prices_x.add_edge(pydot.Edge("X_Y(0)", "X_Y(1,H)", label="1/3"))
binomial_tree_prices_x.add_edge(pydot.Edge("X_Y(0)", "X_Y(1,T)", label="2/3"))
# Level two
binomial_tree_prices_x.add_node(
pydot.Node("X_Y(2,HH)", label="<X<SUB>Y</SUB>(2,HH) = 16>")
)
binomial_tree_prices_x.add_node(
pydot.Node("X_Y(2,HT)", label="<X<SUB>Y</SUB>(2,TH) = 4>")
)
binomial_tree_prices_x.add_node(
pydot.Node("X_Y(2,TT)", label="<X<SUB>Y</SUB>(2,TT) = 1>")
)
binomial_tree_prices_x.add_edge(pydot.Edge("X_Y(1,H)", "X_Y(2,HH)", label="1/3"))
binomial_tree_prices_x.add_edge(pydot.Edge("X_Y(1,H)", "X_Y(2,HT)", label="2/3"))
binomial_tree_prices_x.add_edge(pydot.Edge("X_Y(1,T)", "X_Y(2,HT)", label="1/3"))
binomial_tree_prices_x.add_edge(pydot.Edge("X_Y(1,T)", "X_Y(2,TT)", label="2/3"))
binomial_tree_prices_v = pydot.Dot(graph_type="digraph", rankdir="LR")
# Level zero
binomial_tree_prices_v.add_node(pydot.Node("V_Y(0)", label="<V<SUB>Y</SUB>(0) = 5/9>"))
# Level one
binomial_tree_prices_v.add_node(
pydot.Node("V_Y(1,H)", label="<V<SUB>Y</SUB>(1,H) = 1/3>")
)
binomial_tree_prices_v.add_node(
pydot.Node("V_Y(1,T)", label="<V<SUB>Y</SUB>(1,T) = 2/3>")
)
binomial_tree_prices_v.add_edge(pydot.Edge("V_Y(0)", "V_Y(1,H)", label="1/3"))
binomial_tree_prices_v.add_edge(pydot.Edge("V_Y(0)", "V_Y(1,T)", label="2/3"))
# Level two
binomial_tree_prices_v.add_node(
pydot.Node("V_Y(2,HH)", label="<V<SUB>Y</SUB>(2,HH) = 1>")
)
binomial_tree_prices_v.add_node(
pydot.Node("V_Y(2,HT)", label="<V<SUB>Y</SUB>(2,TH) = 0>")
)
binomial_tree_prices_v.add_node(
pydot.Node("V_Y(2,TT)", label="<V<SUB>Y</SUB>(2,TT) = 1>")
)
binomial_tree_prices_v.add_edge(pydot.Edge("V_Y(1,H)", "V_Y(2,HH)", label="1/3"))
binomial_tree_prices_v.add_edge(pydot.Edge("V_Y(1,H)", "V_Y(2,HT)", label="2/3"))
binomial_tree_prices_v.add_edge(pydot.Edge("V_Y(1,T)", "V_Y(2,HT)", label="1/3"))
binomial_tree_prices_v.add_edge(pydot.Edge("V_Y(1,T)", "V_Y(2,TT)", label="2/3"))
| 38.672131 | 87 | 0.670199 | 499 | 2,359 | 2.887776 | 0.076152 | 0.216516 | 0.324774 | 0.171409 | 0.970854 | 0.923664 | 0.827203 | 0.807772 | 0.807772 | 0.775156 | 0 | 0.040367 | 0.07588 | 2,359 | 60 | 88 | 39.316667 | 0.620642 | 0.025858 | 0 | 0.212766 | 0 | 0 | 0.27979 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021277 | 0 | 0.021277 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
703583ea0b7c945b2a394644d1d71f20e0818a13 | 136 | py | Python | generated-libraries/python/netapp/quota/true_false.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | 2 | 2017-03-28T15:31:26.000Z | 2018-08-16T22:15:18.000Z | generated-libraries/python/netapp/quota/true_false.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | null | null | null | generated-libraries/python/netapp/quota/true_false.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | null | null | null | class TrueFalse(bool):
"""
True/False
"""
@staticmethod
def get_api_name():
return "true-false"
| 13.6 | 29 | 0.507353 | 13 | 136 | 5.153846 | 0.846154 | 0.268657 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.367647 | 136 | 9 | 30 | 15.111111 | 0.77907 | 0.073529 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
707f369124ca2c3fc16a9bf5a6cb0cf89fd8809a | 3,660 | py | Python | play_video.py | ami-a/CopDetection | da7c7ce8455323c3a69114fc98e1bff062436acc | [
"MIT"
] | 1 | 2021-04-09T09:08:33.000Z | 2021-04-09T09:08:33.000Z | play_video.py | ami-a/CopDetection | da7c7ce8455323c3a69114fc98e1bff062436acc | [
"MIT"
] | null | null | null | play_video.py | ami-a/CopDetection | da7c7ce8455323c3a69114fc98e1bff062436acc | [
"MIT"
] | null | null | null | """Simple modul for performing video streaming/anlyzing
using the TrackEverything package
"""
import cv2
#play video with detector
def run_video(video_path,dst_size,detector):
"""play video with detector
Args:
video_path ([type]): [description]
dst_size ([type]): [description]
"""
cap = cv2.VideoCapture(video_path)
length = int(cap.get(cv2.CAP_PROP_FRAME_COUNT))
fps=(cap.get(cv2.CAP_PROP_FPS))
height=int(cap.get(cv2.CAP_PROP_FRAME_HEIGHT))
width=int(cap.get(cv2.CAP_PROP_FRAME_WIDTH))
print(f"h:{height} w:{width} fps:{fps}")
frame_number = -1
while cap.isOpened():
frame_number += 1
ret, frame = cap.read()
if not ret:
break
# if frame_number%2==0:
# continue
new_frm=frame
#resize frame
new_frm=cv2.resize(new_frm,dst_size,fx=0,fy=0, interpolation = cv2.INTER_LINEAR)
#fix channel order since openCV flips them
new_frm=cv2.cvtColor(new_frm, cv2.COLOR_BGR2RGB)
#update the detector using the current frame
detector.update(new_frm)
#resize frame
new_frm=cv2.resize(new_frm,(width,height),fx=0,fy=0, interpolation = cv2.INTER_LINEAR )
#add the bounding boxes to the frame
detector.draw_visualization(new_frm,original_size=dst_size)
#flip the channel order back
new_frm=cv2.cvtColor(new_frm, cv2.COLOR_RGB2BGR)
#show frame
cv2.imshow('frame',new_frm)
#get a small summary of the number of object of each class
summ=detector.get_current_class_summary()
print(f"{100*frame_number/length:.2f}%, frame:{frame_number}, summary:{summ}")
#quite using the q key
if cv2.waitKey(1) & 0xFF == ord('q'):
break
cap.release()
cv2.destroyAllWindows()
def save_video(video_path,dst_size,detector,dst_path):
"""save video with detector work
Args:
video_path ([type]): [description]
dst_size ([type]): [description]
"""
cap = cv2.VideoCapture(video_path)
fourcc = cv2.VideoWriter_fourcc(*'mp4v')
length = int(cap.get(cv2.CAP_PROP_FRAME_COUNT))
fps=(cap.get(cv2.CAP_PROP_FPS))
height=int(cap.get(cv2.CAP_PROP_FRAME_HEIGHT))
width=int(cap.get(cv2.CAP_PROP_FRAME_WIDTH))
print(f"h:{height} w:{width} fps:{fps}")
out = cv2.VideoWriter(dst_path,fourcc,fps,(width,height))
frame_number = -1
while cap.isOpened():
frame_number += 1
ret, new_frm = cap.read()
if not ret:
break
if frame_number%2==0:
continue
#resize frame
new_frm=cv2.resize(new_frm,dst_size,fx=0,fy=0, interpolation = cv2.INTER_LINEAR)
#fix channel order since openCV flips them
new_frm=cv2.cvtColor(new_frm, cv2.COLOR_BGR2RGB)
#update the detector using the current frame
detector.update(new_frm)
#resize frame
new_frm=cv2.resize(new_frm,(width,height),fx=0,fy=0, interpolation = cv2.INTER_LINEAR)
#add the bounding boxes to the frame
detector.draw_visualization(new_frm,original_size=dst_size)
#flip the channel order back
new_frm=cv2.cvtColor(new_frm, cv2.COLOR_RGB2BGR)
#show frame
out.write(new_frm)
#get a small summary of the number of object of each class
summ=detector.get_current_class_summary()
print(f"{100*frame_number/length:.2f}%, frame:{frame_number}, summary:{summ}")
#quite using the q key
if cv2.waitKey(1) & 0xFF == ord('q'):
break
cap.release()
out.release()
cv2.destroyAllWindows()
| 32.972973 | 95 | 0.645628 | 515 | 3,660 | 4.407767 | 0.209709 | 0.063436 | 0.047577 | 0.042291 | 0.85022 | 0.85022 | 0.82467 | 0.82467 | 0.82467 | 0.82467 | 0 | 0.024153 | 0.242077 | 3,660 | 110 | 96 | 33.272727 | 0.79416 | 0.241257 | 0 | 0.779661 | 0 | 0 | 0.076497 | 0.038433 | 0 | 0 | 0.002956 | 0 | 0 | 1 | 0.033898 | false | 0 | 0.016949 | 0 | 0.050847 | 0.067797 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5607508ffaa01b3cef89e45690b07d7e69a06b76 | 20,176 | py | Python | arxiv/canonical/classic/tests/test_content.py | arXiv/arxiv-canonical | a758ed88a568f23a834288aed4dcf7039c1340cf | [
"MIT"
] | 5 | 2019-05-26T22:52:54.000Z | 2021-11-05T12:27:11.000Z | arxiv/canonical/classic/tests/test_content.py | arXiv/arxiv-canonical | a758ed88a568f23a834288aed4dcf7039c1340cf | [
"MIT"
] | 31 | 2019-06-24T13:51:25.000Z | 2021-11-12T22:27:10.000Z | arxiv/canonical/classic/tests/test_content.py | arXiv/arxiv-canonical | a758ed88a568f23a834288aed4dcf7039c1340cf | [
"MIT"
] | 4 | 2019-01-10T22:01:54.000Z | 2021-11-05T12:26:58.000Z | """Tests for :mod:`arxiv.canonical.classic.content`."""
import os
from datetime import datetime
from os.path import join
import shutil
import tempfile
from unittest import TestCase, mock
from pytz import UTC
from .. import content
from ... import domain as D
def touch(path):
parent, _ = os.path.split(path)
if not os.path.exists(parent):
os.makedirs(parent)
with open(path, 'wb') as f:
f.write(b'')
class TestGetFormats(TestCase):
"""Get the dissemination formats for a version."""
def setUp(self):
"""Make the classic file tree."""
self.data_path = tempfile.mkdtemp()
self.ori = join(self.data_path, 'orig')
self.ftp = join(self.data_path, 'ftp')
os.makedirs(self.ori)
os.makedirs(self.ftp)
self.cache_path = tempfile.mkdtemp()
self.psc = join(self.cache_path, 'ps_cache')
os.makedirs(self.psc)
@mock.patch(f'{content.__name__}.RemoteSourceWithHead')
def test_get_v1_single_format(self, mock_RemoteSourceWithHead):
"""Get the first version of a multi-version e-print with one format."""
touch(join(self.ori, 'arxiv', 'papers', '1901', '1901.00123v1.abs'))
touch(join(self.ori, 'arxiv', 'papers', '1901', '1901.00123v1.tar.gz'))
pdf_path = join(self.psc, 'arxiv', 'pdf', '1901', '1901.00123v1.pdf')
touch(pdf_path)
# HTTP fallback does not yield any additional formats.
mock_remote_source = mock.MagicMock()
mock_remote_source.head.return_value = None
mock_RemoteSourceWithHead.return_value = mock_remote_source
identifier = D.VersionedIdentifier('1901.00123v1')
source_type = D.SourceType('')
source_file = content.get_source(self.data_path, identifier)
formats = content.get_formats(self.data_path, self.cache_path,
identifier, source_type, source_file)
cfs = [o for o in formats]
self.assertEqual(len(cfs), 1)
self.assertEqual(cfs[0].content_type, D.ContentType.pdf)
self.assertFalse(cfs[0].is_gzipped)
self.assertEqual(cfs[0].size_bytes, 0)
self.assertEqual(cfs[0].ref.path, pdf_path)
@mock.patch(f'{content.__name__}.REMOTE')
def test_get_v1_two_formats(self, mock_remote_source):
"""Get the first version of an e-print with two formats."""
touch(join(self.ori, 'arxiv', 'papers', '1901', '1901.00123v1.abs'))
touch(join(self.ori, 'arxiv', 'papers', '1901', '1901.00123v1.tar.gz'))
pdf_path = join(self.psc, 'arxiv', 'pdf', '1901', '1901.00123v1.pdf')
ps_path = join(self.psc, 'arxiv', 'ps', '1901', '1901.00123v1.ps.gz')
touch(pdf_path)
touch(ps_path)
# HTTP fallback does not yield any additional formats.
mock_remote_source.head.return_value = None
identifier = D.VersionedIdentifier('1901.00123v1')
source_type = D.SourceType('')
source_file = content.get_source(self.data_path, identifier)
formats = content.get_formats(self.data_path, self.cache_path,
identifier, source_type, source_file)
cfs = [o for o in formats]
self.assertEqual(len(cfs), 2)
self.assertIn(D.ContentType.pdf, [cf.content_type for cf in cfs])
self.assertIn(D.ContentType.ps, [cf.content_type for cf in cfs])
for cf in cfs:
self.assertEqual(cf.size_bytes, 0)
if cf.content_type == D.ContentType.pdf:
self.assertFalse(cf.is_gzipped)
self.assertEqual(cf.ref.path, pdf_path)
elif cf.content_type == D.ContentType.ps:
self.assertTrue(cf.is_gzipped)
self.assertEqual(cf.ref.path, ps_path)
@mock.patch(f'{content.__name__}.REMOTE')
def test_get_v1_with_one_remote(self, mock_remote_source):
"""Get formats for the first version with one local format missing."""
touch(join(self.ori, 'arxiv', 'papers', '1901', '1901.00123v1.abs'))
touch(join(self.ori, 'arxiv', 'papers', '1901', '1901.00123v1.tar.gz'))
pdf_path = join(self.psc, 'arxiv', 'pdf', '1901', '1901.00123v1.pdf')
ps_path = join(self.psc, 'arxiv', 'ps', '1901', '1901.00123v1.ps.gz')
touch(pdf_path)
touch(ps_path)
# HTTP fallback yields one additional format.
mock_remote_source.head.return_value = D.CanonicalFile(
modified=datetime.now(UTC),
size_bytes=42,
content_type=D.ContentType.dvi,
ref=D.URI('https://arxiv.org/dvi/1901.00123v1'),
filename='1901.00123v1.dvi',
is_gzipped=True
)
identifier = D.VersionedIdentifier('1901.00123v1')
source_type = D.SourceType('')
source_file = content.get_source(self.data_path, identifier)
formats = content.get_formats(self.data_path, self.cache_path,
identifier, source_type, source_file)
cfs = [o for o in formats]
self.assertEqual(len(cfs), 3)
self.assertIn(D.ContentType.pdf, [cf.content_type for cf in cfs])
self.assertIn(D.ContentType.ps, [cf.content_type for cf in cfs])
self.assertIn(D.ContentType.dvi, [cf.content_type for cf in cfs])
for cf in cfs:
if cf.content_type == D.ContentType.dvi:
self.assertTrue(cf.is_gzipped)
self.assertEqual(cf.ref.path, '/dvi/1901.00123v1')
self.assertEqual(cf.size_bytes, 42)
@mock.patch(f'{content.__name__}.REMOTE')
def test_get_v1_source_encrypted(self, mock_remote_source):
"""Get formats for a source-encrypted version."""
touch(join(self.ori, 'arxiv', 'papers', '1901', '1901.00123v1.abs'))
touch(join(self.ori, 'arxiv', 'papers', '1901', '1901.00123v1.tar.gz'))
pdf_path = join(self.psc, 'arxiv', 'pdf', '1901', '1901.00123v1.pdf')
ps_path = join(self.psc, 'arxiv', 'ps', '1901', '1901.00123v1.ps.gz')
touch(pdf_path)
touch(ps_path)
# HTTP fallback yields no additional formats.
mock_remote_source.head.return_value = None
identifier = D.VersionedIdentifier('1901.00123v1')
source_type = D.SourceType('IS')
source_file = content.get_source(self.data_path, identifier)
formats = content.get_formats(self.data_path, self.cache_path,
identifier, source_type, source_file)
cfs = [o for o in formats]
# Finds postscript and pdf formats.
self.assertEqual(len(cfs), 2)
self.assertIn(D.ContentType.pdf, [cf.content_type for cf in cfs])
self.assertIn(D.ContentType.ps, [cf.content_type for cf in cfs])
@mock.patch(f'{content.__name__}.REMOTE')
def test_get_v1_ignore(self, mock_remote_source):
"""Get formats for an ignore-type version."""
touch(join(self.ori, 'arxiv', 'papers', '1901', '1901.00123v1.abs'))
touch(join(self.ori, 'arxiv', 'papers', '1901', '1901.00123v1.tar.gz'))
pdf_path = join(self.psc, 'arxiv', 'pdf', '1901', '1901.00123v1.pdf')
ps_path = join(self.psc, 'arxiv', 'ps', '1901', '1901.00123v1.ps.gz')
touch(pdf_path)
touch(ps_path)
# HTTP fallback yields no additional formats.
mock_remote_source.head.return_value = None
identifier = D.VersionedIdentifier('1901.00123v1')
source_type = D.SourceType('I')
source_file = content.get_source(self.data_path, identifier)
formats = content.get_formats(self.data_path, self.cache_path,
identifier, source_type, source_file)
# Finds no formats.
self.assertEqual(len([o for o in formats]), 0)
@mock.patch(f'{content.__name__}.REMOTE')
def test_get_v1_ps_only(self, mock_remote_source):
"""Get formats for a ps-only version."""
touch(join(self.ori, 'arxiv', 'papers', '1901', '1901.00123v1.abs'))
touch(join(self.ori, 'arxiv', 'papers', '1901', '1901.00123v1.tar.gz'))
pdf_path = join(self.psc, 'arxiv', 'pdf', '1901', '1901.00123v1.pdf')
ps_path = join(self.psc, 'arxiv', 'ps', '1901', '1901.00123v1.ps.gz')
touch(pdf_path)
touch(ps_path)
# HTTP fallback yields no additional formats.
mock_remote_source.head.return_value = None
identifier = D.VersionedIdentifier('1901.00123v1')
source_type = D.SourceType('P')
source_file = content.get_source(self.data_path, identifier)
formats = content.get_formats(self.data_path, self.cache_path,
identifier, source_type, source_file)
cfs = [o for o in formats]
# Finds postscript and pdf formats.
self.assertEqual(len(cfs), 2)
self.assertIn(D.ContentType.pdf, [cf.content_type for cf in cfs])
self.assertIn(D.ContentType.ps, [cf.content_type for cf in cfs])
@mock.patch(f'{content.__name__}.REMOTE')
def test_get_v1_pdflatex(self, mock_remote_source):
"""Get formats for a pdflatex version."""
touch(join(self.ori, 'arxiv', 'papers', '1901', '1901.00123v1.abs'))
touch(join(self.ori, 'arxiv', 'papers', '1901', '1901.00123v1.tar.gz'))
pdf_path = join(self.psc, 'arxiv', 'pdf', '1901', '1901.00123v1.pdf')
ps_path = join(self.psc, 'arxiv', 'ps', '1901', '1901.00123v1.ps.gz')
touch(pdf_path)
touch(ps_path)
# HTTP fallback yields no additional formats.
mock_remote_source.head.return_value = None
identifier = D.VersionedIdentifier('1901.00123v1')
source_type = D.SourceType('D')
source_file = content.get_source(self.data_path, identifier)
formats = content.get_formats(self.data_path, self.cache_path,
identifier, source_type, source_file)
cfs = [o for o in formats]
# Finds pdf format.
self.assertEqual(len(cfs), 1)
self.assertIn(D.ContentType.pdf, [cf.content_type for cf in cfs])
@mock.patch(f'{content.__name__}.REMOTE')
def test_get_v1_pdf_only(self, mock_remote_source):
"""Get formats for a pdfladtex version."""
touch(join(self.ori, 'arxiv', 'papers', '1901', '1901.00123v1.abs'))
touch(join(self.ori, 'arxiv', 'papers', '1901', '1901.00123v1.tar.gz'))
pdf_path = join(self.psc, 'arxiv', 'pdf', '1901', '1901.00123v1.pdf')
ps_path = join(self.psc, 'arxiv', 'ps', '1901', '1901.00123v1.ps.gz')
touch(pdf_path)
touch(ps_path)
# HTTP fallback yields no additional formats.
mock_remote_source.head.return_value = None
identifier = D.VersionedIdentifier('1901.00123v1')
source_type = D.SourceType('F')
source_file = content.get_source(self.data_path, identifier)
formats = content.get_formats(self.data_path, self.cache_path,
identifier, source_type, source_file)
cfs = [o for o in formats]
# Finds pdf format.
self.assertEqual(len(cfs), 1)
self.assertIn(D.ContentType.pdf, [cf.content_type for cf in cfs])
@mock.patch(f'{content.__name__}.REMOTE')
def test_get_v1_html(self, mock_remote_source):
"""Get formats for a multi-file HTML version."""
touch(join(self.ori, 'arxiv', 'papers', '1901', '1901.00123v1.abs'))
touch(join(self.ori, 'arxiv', 'papers', '1901', '1901.00123v1.tar.gz'))
html_path = join(self.psc, 'arxiv', 'html', '1901', '1901.00123v1',
'fooPaper.html')
touch(html_path)
# HTTP fallback yields no additional formats.
mock_remote_source.head.return_value = None
identifier = D.VersionedIdentifier('1901.00123v1')
source_type = D.SourceType('H')
source_file = content.get_source(self.data_path, identifier)
formats = content.get_formats(self.data_path, self.cache_path,
identifier, source_type, source_file)
cfs = [o for o in formats]
# Finds html format.
self.assertEqual(len(cfs), 1)
self.assertIn(D.ContentType.html, [cf.content_type for cf in cfs])
# TODO: implement this test!
@mock.patch(f'{content.__name__}.REMOTE')
def test_get_v1_docx(self, mock_remote_source):
"""Get formats for a DOCX version."""
source_type = D.SourceType('H')
class TestGetSource(TestCase):
"""Get the source for a version."""
def setUp(self):
"""Make the classic file tree."""
self.data_path = tempfile.mkdtemp()
self.ori = join(self.data_path, 'orig')
self.ftp = join(self.data_path, 'ftp')
os.makedirs(self.ori)
os.makedirs(self.ftp)
self.cache_path = tempfile.mkdtemp()
self.psc = join(self.cache_path, 'ps_cache')
os.makedirs(self.psc)
def test_get_v1_of_multiple(self):
"""Get the first labeled version of a multi-version e-print."""
touch(join(self.ori, 'arxiv', 'papers', '1901', '1901.00123v1.abs'))
path = join(self.ori, 'arxiv', 'papers', '1901', '1901.00123v1.tar.gz')
touch(path)
identifier = D.VersionedIdentifier('1901.00123v1')
source = content.get_source(self.data_path, identifier)
self.assertEqual(source.content_type, D.ContentType.tar)
self.assertTrue(source.is_gzipped)
self.assertEqual(source.ref.path, path)
def test_get_v1_of_multiple_without_extension(self):
"""Get the first version, lacking an extension."""
touch(join(self.ori, 'arxiv', 'papers', '1901', '1901.00123v1.abs'))
path = join(self.ori, 'arxiv', 'papers', '1901', '1901.00123v1.gz')
touch(path)
identifier = D.VersionedIdentifier('1901.00123v1')
source = content.get_source(self.data_path, identifier)
self.assertEqual(source.content_type, D.ContentType.tex,
'We assume that it is a TeX source.')
self.assertTrue(source.is_gzipped)
self.assertEqual(source.ref.path, path)
def test_get_v1_of_multiple_old_style(self):
"""Get the first labeled version of a multi-version e-print."""
touch(join(self.ori, 'math', 'papers', '9501', '95010123v1.abs'))
path = join(self.ori, 'math', 'papers', '9501', '95010123v1.tar.gz')
touch(path)
identifier = D.VersionedIdentifier('math/95010123v1')
source = content.get_source(self.data_path, identifier)
self.assertEqual(source.content_type, D.ContentType.tar)
self.assertTrue(source.is_gzipped)
self.assertEqual(source.ref.path, path)
def test_get_v3_the_latest(self):
"""Get the third version, the most recent."""
touch(join(self.ori, 'arxiv', 'papers', '1901', '1901.00123v1.abs'))
touch(join(self.ori, 'arxiv', 'papers', '1901', '1901.00123v1.tar.gz'))
touch(join(self.ori, 'arxiv', 'papers', '1901', '1901.00123v2.abs'))
touch(join(self.ori, 'arxiv', 'papers', '1901', '1901.00123v2.ps.gz'))
touch(join(self.ftp, 'arxiv', 'papers', '1901', '1901.00123.abs'))
path = join(self.ftp, 'arxiv', 'papers', '1901', '1901.00123.tar.gz')
touch(path)
identifier = D.VersionedIdentifier('1901.00123v3')
source = content.get_source(self.data_path, identifier)
self.assertEqual(source.content_type, D.ContentType.tar)
self.assertTrue(source.is_gzipped)
self.assertEqual(source.ref.path, path)
def test_get_v3_the_latest_old_style(self):
"""Get the third version, the most recent."""
touch(join(self.ori, 'math', 'papers', '9501', '95010123v1.abs'))
touch(join(self.ori, 'math', 'papers', '9501', '95010123v1.tar.gz'))
touch(join(self.ori, 'math', 'papers', '9501', '95010123v2.abs'))
touch(join(self.ori, 'math', 'papers', '9501', '95010123v2.tar.gz'))
touch(join(self.ftp, 'math', 'papers', '9501', '95010123.abs'))
path = join(self.ftp, 'math', 'papers', '9501', '95010123.tar.gz')
touch(path)
identifier = D.VersionedIdentifier('math/95010123v3')
source = content.get_source(self.data_path, identifier)
self.assertEqual(source.content_type, D.ContentType.tar)
self.assertTrue(source.is_gzipped)
self.assertEqual(source.ref.path, path)
def test_get_v1_the_only(self):
"""Get the first and only version."""
touch(join(self.ftp, 'arxiv', 'papers', '1901', '1901.00123.abs'))
path = join(self.ftp, 'arxiv', 'papers', '1901', '1901.00123.tar.gz')
touch(path)
identifier = D.VersionedIdentifier('1901.00123v1')
source = content.get_source(self.data_path, identifier)
self.assertEqual(source.content_type, D.ContentType.tar)
self.assertTrue(source.is_gzipped)
self.assertEqual(source.ref.path, path)
def test_get_v1_the_only_old_style(self):
"""Get the first and only version."""
touch(join(self.ftp, 'math', 'papers', '9501', '95010123.abs'))
path = join(self.ftp, 'math', 'papers', '9501', '95010123.tar.gz')
touch(path)
identifier = D.VersionedIdentifier('math/95010123v1')
source = content.get_source(self.data_path, identifier)
self.assertEqual(source.content_type, D.ContentType.tar)
self.assertTrue(source.is_gzipped)
self.assertEqual(source.ref.path, path)
def test_get_v2_nonexistant(self):
"""Get a version that does not exist."""
touch(join(self.ftp, 'arxiv', 'papers', '1901', '1901.00123.abs'))
touch(join(self.ftp, 'arxiv', 'papers', '1901', '1901.00123.tar.gz'))
with self.assertRaises(IOError):
content.get_source(self.data_path,
D.VersionedIdentifier('1901.00123v2'))
def test_get_v2_nonexistant_old_style(self):
"""Get a version that does not exist."""
touch(join(self.ftp, 'math', 'papers', '9501', '95010123.abs'))
touch(join(self.ftp, 'math', 'papers', '9501', '95010123.tar.gz'))
with self.assertRaises(IOError):
content.get_source(self.data_path,
D.VersionedIdentifier('math/95010123v2'))
def test_get_v3_nonexistant(self):
"""Get a version that does not exist."""
touch(join(self.ori, 'arxiv', 'papers', '1901', '1901.00123v1.abs'))
touch(join(self.ori, 'arxiv', 'papers', '1901', '1901.00123v1.ps.gz'))
touch(join(self.ftp, 'arxiv', 'papers', '1901', '1901.00123.abs'))
touch(join(self.ftp, 'arxiv', 'papers', '1901', '1901.00123.tar.gz'))
with self.assertRaises(IOError):
content.get_source(self.data_path,
D.VersionedIdentifier('1901.00123v3'))
def test_get_v3_nonexistant_old_style(self):
"""Get a version that does not exist."""
touch(join(self.ori, 'math', 'papers', '9501', '95010123v1.abs'))
touch(join(self.ori, 'math', 'papers', '9501', '95010123v1.ps.gz'))
touch(join(self.ftp, 'math', 'papers', '9501', '95010123.abs'))
touch(join(self.ftp, 'math', 'papers', '9501', '95010123.tar.gz'))
with self.assertRaises(IOError):
content.get_source(self.data_path,
D.VersionedIdentifier('math/95010123v3'))
def tearDown(self):
shutil.rmtree(self.data_path)
shutil.rmtree(self.cache_path)
# class TestGetRemoteContent(TestCase):
# """Test getting content from arxiv.org."""
# def test_get_via_http(self):
# """Get metadata about a PDF via HTTP."""
# cf = content._get_via_http(D.VersionedIdentifier('0801.1021v2'),
# D.ContentType.pdf)
# self.assertEqual(cf.size_bytes, 237187)
# self.assertEqual(cf.content_type, D.ContentType.pdf)
# self.assertTrue(cf.filename.endswith(D.ContentType.pdf.ext))
# self.assertEqual(cf.ref,
# D.URI('https://arxiv.org/pdf/0801.1021v2.pdf'))
| 42.836518 | 79 | 0.623117 | 2,585 | 20,176 | 4.71528 | 0.074275 | 0.048568 | 0.047994 | 0.056116 | 0.871441 | 0.845352 | 0.833456 | 0.811469 | 0.791041 | 0.775863 | 0 | 0.078293 | 0.234635 | 20,176 | 470 | 80 | 42.92766 | 0.711048 | 0.110973 | 0 | 0.702194 | 0 | 0 | 0.153431 | 0.014848 | 0 | 0 | 0 | 0.002128 | 0.181818 | 1 | 0.07837 | false | 0 | 0.028213 | 0 | 0.112853 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
560aa12d6b7768208f82abfcba9833f037990da8 | 2,975 | py | Python | opentera-webrtc-native-client/OpenteraWebrtcNativeClient/python/test/configurations/audio_source_configuration_test.py | introlab/opentera-webrtc-teleop | ecb671635832d6d66e0f2f0a7e90b0877ce7c338 | [
"Apache-2.0"
] | 1 | 2020-11-21T21:11:43.000Z | 2020-11-21T21:11:43.000Z | opentera-webrtc-native-client/OpenteraWebrtcNativeClient/python/test/configurations/audio_source_configuration_test.py | introlab/opentera-webrtc-teleop | ecb671635832d6d66e0f2f0a7e90b0877ce7c338 | [
"Apache-2.0"
] | 18 | 2020-09-30T13:36:55.000Z | 2021-03-11T23:06:01.000Z | opentera-webrtc-native-client/OpenteraWebrtcNativeClient/python/test/configurations/audio_source_configuration_test.py | introlab/opentera-webrtc-teleop | ecb671635832d6d66e0f2f0a7e90b0877ce7c338 | [
"Apache-2.0"
] | null | null | null | import unittest
import opentera_webrtc_native_client as webrtc
class AudioSourceConfigurationTestCase(unittest.TestCase):
def test_create__should_set_none(self):
testee = webrtc.AudioSourceConfiguration.create()
self.assertEqual(testee.echo_cancellation, None)
self.assertEqual(testee.auto_gain_control, None)
self.assertEqual(testee.noise_suppression, None)
self.assertEqual(testee.highpass_filter, None)
self.assertEqual(testee.stereo_swapping, None)
self.assertEqual(testee.typing_detection, None)
self.assertEqual(testee.residual_echo_detector, None)
def test_create__echo_cancellation_auto_gain_control__should_set_the_attributes(self):
testee = webrtc.AudioSourceConfiguration.create(True, False, None, None, None, None, None)
self.assertEqual(testee.echo_cancellation, True)
self.assertEqual(testee.auto_gain_control, False)
self.assertEqual(testee.noise_suppression, None)
self.assertEqual(testee.highpass_filter, None)
self.assertEqual(testee.stereo_swapping, None)
self.assertEqual(testee.typing_detection, None)
self.assertEqual(testee.residual_echo_detector, None)
def test_create__noise_suppression_highpass_filter__should_set_the_attributes(self):
testee = webrtc.AudioSourceConfiguration.create(None, None, True, False, None, None, None)
self.assertEqual(testee.echo_cancellation, None)
self.assertEqual(testee.auto_gain_control, None)
self.assertEqual(testee.noise_suppression, True)
self.assertEqual(testee.highpass_filter, False)
self.assertEqual(testee.stereo_swapping, None)
self.assertEqual(testee.typing_detection, None)
self.assertEqual(testee.residual_echo_detector, None)
def test_create__stereo_swapping_typing_detection__should_set_the_attributes(self):
testee = webrtc.AudioSourceConfiguration.create(None, None, None, None, True, False, None)
self.assertEqual(testee.echo_cancellation, None)
self.assertEqual(testee.auto_gain_control, None)
self.assertEqual(testee.noise_suppression, None)
self.assertEqual(testee.highpass_filter, None)
self.assertEqual(testee.stereo_swapping, True)
self.assertEqual(testee.typing_detection, False)
self.assertEqual(testee.residual_echo_detector, None)
def test_create__residual_echo_detector__should_set_the_attributes(self):
testee = webrtc.AudioSourceConfiguration.create(None, None, None, None, None, None, True)
self.assertEqual(testee.echo_cancellation, None)
self.assertEqual(testee.auto_gain_control, None)
self.assertEqual(testee.noise_suppression, None)
self.assertEqual(testee.highpass_filter, None)
self.assertEqual(testee.stereo_swapping, None)
self.assertEqual(testee.typing_detection, None)
self.assertEqual(testee.residual_echo_detector, True)
| 48.770492 | 98 | 0.757311 | 336 | 2,975 | 6.416667 | 0.116071 | 0.243506 | 0.340909 | 0.31308 | 0.872913 | 0.796846 | 0.780148 | 0.780148 | 0.753711 | 0.722171 | 0 | 0 | 0.161008 | 2,975 | 60 | 99 | 49.583333 | 0.863782 | 0 | 0 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.729167 | 1 | 0.104167 | false | 0.125 | 0.041667 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 11 |
569a40a1a7ccc3ebfa5f03d5b2ac940ea969169d | 13,452 | py | Python | midiproc/examples/mid_data.py | codedstructure/midiproc | 3f8e0dced3a4ec4bd618f093614751b21f3f4f29 | [
"MIT"
] | null | null | null | midiproc/examples/mid_data.py | codedstructure/midiproc | 3f8e0dced3a4ec4bd618f093614751b21f3f4f29 | [
"MIT"
] | null | null | null | midiproc/examples/mid_data.py | codedstructure/midiproc | 3f8e0dced3a4ec4bd618f093614751b21f3f4f29 | [
"MIT"
] | null | null | null | d = [0x00, 0x90, 0x32, 0x64, 0x81, 0x20, 0x32, 0x00, 0x50, 0x39,
0x64, 0x81, 0x20, 0x39, 0x00, 0x50, 0x41, 0x64, 0x81, 0x20,
0x41, 0x00, 0x50, 0x32, 0x64, 0x81, 0x20, 0x32, 0x00, 0x50,
0x39, 0x64, 0x81, 0x20, 0x39, 0x00, 0x50, 0x41, 0x64, 0x81,
0x20, 0x41, 0x00, 0x50, 0x32, 0x64, 0x81, 0x20, 0x32, 0x00,
0x50, 0x39, 0x64, 0x81, 0x20, 0x39, 0x00, 0x50, 0x41, 0x64,
0x81, 0x20, 0x41, 0x00, 0x50, 0x32, 0x64, 0x81, 0x20, 0x32,
0x00, 0x50, 0x39, 0x64, 0x81, 0x20, 0x39, 0x00, 0x50, 0x41,
0x64, 0x81, 0x20, 0x41, 0x00, 0x50, 0x32, 0x64, 0x81, 0x20,
0x32, 0x00, 0x50, 0x39, 0x64, 0x81, 0x20, 0x39, 0x00, 0x50,
0x41, 0x64, 0x81, 0x20, 0x41, 0x00, 0x50, 0x39, 0x64, 0x81,
0x20, 0x39, 0x00, 0x50, 0x32, 0x64, 0x81, 0x20, 0x32, 0x00,
0x50, 0x39, 0x64, 0x81, 0x20, 0x39, 0x00, 0x50, 0x43, 0x64,
0x81, 0x20, 0x43, 0x00, 0x50, 0x32, 0x64, 0x81, 0x20, 0x32,
0x00, 0x50, 0x39, 0x64, 0x81, 0x20, 0x39, 0x00, 0x50, 0x43,
0x64, 0x81, 0x20, 0x43, 0x00, 0x50, 0x32, 0x64, 0x81, 0x20,
0x32, 0x00, 0x50, 0x39, 0x64, 0x81, 0x20, 0x39, 0x00, 0x50,
0x43, 0x64, 0x81, 0x20, 0x43, 0x00, 0x50, 0x32, 0x64, 0x81,
0x20, 0x32, 0x00, 0x50, 0x39, 0x64, 0x81, 0x20, 0x39, 0x00,
0x50, 0x43, 0x64, 0x81, 0x20, 0x43, 0x00, 0x50, 0x32, 0x64,
0x81, 0x20, 0x32, 0x00, 0x50, 0x39, 0x64, 0x81, 0x20, 0x39,
0x00, 0x50, 0x43, 0x64, 0x81, 0x20, 0x43, 0x00, 0x50, 0x39,
0x64, 0x81, 0x20, 0x39, 0x00, 0x50, 0x32, 0x64, 0x81, 0x20,
0x32, 0x00, 0x50, 0x3A, 0x64, 0x81, 0x20, 0x3A, 0x00, 0x50,
0x43, 0x64, 0x81, 0x20, 0x43, 0x00, 0x50, 0x32, 0x64, 0x81,
0x20, 0x32, 0x00, 0x50, 0x3A, 0x64, 0x81, 0x20, 0x3A, 0x00,
0x50, 0x43, 0x64, 0x81, 0x20, 0x43, 0x00, 0x50, 0x32, 0x64,
0x81, 0x20, 0x32, 0x00, 0x50, 0x3A, 0x64, 0x81, 0x20, 0x3A,
0x00, 0x50, 0x43, 0x64, 0x81, 0x20, 0x43, 0x00, 0x50, 0x32,
0x64, 0x81, 0x20, 0x32, 0x00, 0x50, 0x3A, 0x64, 0x81, 0x20,
0x3A, 0x00, 0x50, 0x43, 0x64, 0x81, 0x20, 0x43, 0x00, 0x50,
0x32, 0x64, 0x81, 0x20, 0x32, 0x00, 0x50, 0x3A, 0x64, 0x81,
0x20, 0x3A, 0x00, 0x50, 0x43, 0x64, 0x81, 0x20, 0x43, 0x00,
0x50, 0x3A, 0x64, 0x81, 0x20, 0x3A, 0x00, 0x50, 0x32, 0x64,
0x81, 0x20, 0x32, 0x00, 0x50, 0x3A, 0x64, 0x81, 0x20, 0x3A,
0x00, 0x50, 0x43, 0x64, 0x81, 0x20, 0x43, 0x00, 0x50, 0x32,
0x64, 0x81, 0x20, 0x32, 0x00, 0x50, 0x3A, 0x64, 0x81, 0x20,
0x3A, 0x00, 0x50, 0x43, 0x64, 0x81, 0x20, 0x43, 0x00, 0x50,
0x32, 0x64, 0x81, 0x20, 0x32, 0x00, 0x50, 0x3A, 0x64, 0x81,
0x20, 0x3A, 0x00, 0x50, 0x40, 0x64, 0x81, 0x20, 0x40, 0x00,
0x50, 0x32, 0x64, 0x81, 0x20, 0x32, 0x00, 0x50, 0x3A, 0x64,
0x81, 0x20, 0x3A, 0x00, 0x50, 0x40, 0x64, 0x81, 0x20, 0x40,
0x00, 0x50, 0x32, 0x64, 0x81, 0x20, 0x32, 0x00, 0x50, 0x3A,
0x64, 0x81, 0x20, 0x3A, 0x00, 0x50, 0x40, 0x64, 0x81, 0x20,
0x40, 0x00, 0x50, 0x3A, 0x64, 0x81, 0x20, 0x3A, 0x00, 0x50,
0x32, 0x64, 0x81, 0x20, 0x32, 0x00, 0x50, 0x39, 0x64, 0x81,
0x20, 0x39, 0x00, 0x50, 0x41, 0x64, 0x81, 0x20, 0x41, 0x00,
0x50, 0x32, 0x64, 0x81, 0x20, 0x32, 0x00, 0x50, 0x39, 0x64,
0x81, 0x20, 0x39, 0x00, 0x50, 0x41, 0x64, 0x81, 0x20, 0x41,
0x00, 0x50, 0x32, 0x64, 0x81, 0x20, 0x32, 0x00, 0x50, 0x39,
0x64, 0x81, 0x20, 0x39, 0x00, 0x50, 0x41, 0x64, 0x81, 0x20,
0x41, 0x00, 0x50, 0x32, 0x64, 0x81, 0x20, 0x32, 0x00, 0x50,
0x39, 0x64, 0x81, 0x20, 0x39, 0x00, 0x50, 0x41, 0x64, 0x81,
0x20, 0x41, 0x00, 0x50, 0x32, 0x64, 0x81, 0x20, 0x32, 0x00,
0x50, 0x39, 0x64, 0x81, 0x20, 0x39, 0x00, 0x50, 0x41, 0x64,
0x81, 0x20, 0x41, 0x00, 0x50, 0x39, 0x64, 0x81, 0x20, 0x39,
0x00, 0x50, 0x32, 0x64, 0x81, 0x20, 0x32, 0x00, 0x50, 0x39,
0x64, 0x81, 0x20, 0x39, 0x00, 0x50, 0x43, 0x64, 0x81, 0x20,
0x43, 0x00, 0x50, 0x32, 0x64, 0x81, 0x20, 0x32, 0x00, 0x50,
0x39, 0x64, 0x81, 0x20, 0x39, 0x00, 0x50, 0x43, 0x64, 0x81,
0x20, 0x43, 0x00, 0x50, 0x32, 0x64, 0x81, 0x20, 0x32, 0x00,
0x50, 0x39, 0x64, 0x81, 0x20, 0x39, 0x00, 0x50, 0x43, 0x64,
0x81, 0x20, 0x43, 0x00, 0x50, 0x32, 0x64, 0x81, 0x20, 0x32,
0x00, 0x50, 0x39, 0x64, 0x81, 0x20, 0x39, 0x00, 0x50, 0x43,
0x64, 0x81, 0x20, 0x43, 0x00, 0x50, 0x32, 0x64, 0x81, 0x20,
0x32, 0x00, 0x50, 0x39, 0x64, 0x81, 0x20, 0x39, 0x00, 0x50,
0x43, 0x64, 0x81, 0x20, 0x43, 0x00, 0x50, 0x39, 0x64, 0x81,
0x20, 0x39, 0x00, 0x50, 0x32, 0x64, 0x81, 0x20, 0x32, 0x00,
0x50, 0x3A, 0x64, 0x81, 0x20, 0x3A, 0x00, 0x50, 0x43, 0x64,
0x81, 0x20, 0x43, 0x00, 0x50, 0x32, 0x64, 0x81, 0x20, 0x32,
0x00, 0x50, 0x3A, 0x64, 0x81, 0x20, 0x3A, 0x00, 0x50, 0x43,
0x64, 0x81, 0x20, 0x43, 0x00, 0x50, 0x32, 0x64, 0x81, 0x20,
0x32, 0x00, 0x50, 0x3A, 0x64, 0x81, 0x20, 0x3A, 0x00, 0x50,
0x43, 0x64, 0x81, 0x20, 0x43, 0x00, 0x50, 0x32, 0x64, 0x81,
0x20, 0x32, 0x00, 0x50, 0x3A, 0x64, 0x81, 0x20, 0x3A, 0x00,
0x50, 0x43, 0x64, 0x81, 0x20, 0x43, 0x00, 0x50, 0x32, 0x64,
0x81, 0x20, 0x32, 0x00, 0x50, 0x3A, 0x64, 0x81, 0x20, 0x3A,
0x00, 0x50, 0x43, 0x64, 0x81, 0x20, 0x43, 0x00, 0x50, 0x3A,
0x64, 0x81, 0x20, 0x3A, 0x00, 0x50, 0x32, 0x64, 0x81, 0x20,
0x32, 0x00, 0x50, 0x3A, 0x64, 0x81, 0x20, 0x3A, 0x00, 0x50,
0x43, 0x64, 0x81, 0x20, 0x43, 0x00, 0x50, 0x32, 0x64, 0x81,
0x20, 0x32, 0x00, 0x50, 0x3A, 0x64, 0x81, 0x20, 0x3A, 0x00,
0x50, 0x43, 0x64, 0x81, 0x20, 0x43, 0x00, 0x50, 0x32, 0x64,
0x81, 0x20, 0x32, 0x00, 0x50, 0x3A, 0x64, 0x81, 0x20, 0x3A,
0x00, 0x50, 0x45, 0x64, 0x81, 0x20, 0x45, 0x00, 0x50, 0x32,
0x64, 0x81, 0x20, 0x32, 0x00, 0x50, 0x3C, 0x64, 0x81, 0x20,
0x3C, 0x00, 0x50, 0x45, 0x64, 0x81, 0x20, 0x45, 0x00, 0x50,
0x32, 0x64, 0x81, 0x20, 0x32, 0x00, 0x50, 0x3C, 0x64, 0x81,
0x20, 0x3C, 0x00, 0x50, 0x45, 0x64, 0x81, 0x20, 0x45, 0x00,
0x50, 0x3C, 0x64, 0x81, 0x20, 0x3C, 0x00, 0x50, 0x2E, 0x64,
0x81, 0x20, 0x2E, 0x00, 0x50, 0x3A, 0x64, 0x81, 0x20, 0x3A,
0x00, 0x50, 0x41, 0x64, 0x81, 0x20, 0x41, 0x00, 0x50, 0x2E,
0x64, 0x81, 0x20, 0x2E, 0x00, 0x50, 0x3A, 0x64, 0x81, 0x20,
0x3A, 0x00, 0x50, 0x41, 0x64, 0x81, 0x20, 0x41, 0x00, 0x50,
0x2E, 0x64, 0x81, 0x20, 0x2E, 0x00, 0x50, 0x3A, 0x64, 0x81,
0x20, 0x3A, 0x00, 0x50, 0x41, 0x64, 0x81, 0x20, 0x41, 0x00,
0x50, 0x2E, 0x64, 0x81, 0x20, 0x2E, 0x00, 0x50, 0x3A, 0x64,
0x81, 0x20, 0x3A, 0x00, 0x50, 0x41, 0x64, 0x81, 0x20, 0x41,
0x00, 0x50, 0x2E, 0x64, 0x81, 0x20, 0x2E, 0x00, 0x50, 0x3A,
0x64, 0x81, 0x20, 0x3A, 0x00, 0x50, 0x41, 0x64, 0x81, 0x20,
0x41, 0x00, 0x50, 0x3A, 0x64, 0x81, 0x20, 0x3A, 0x00, 0x50,
0x30, 0x64, 0x81, 0x20, 0x30, 0x00, 0x50, 0x37, 0x64, 0x81,
0x20, 0x37, 0x00, 0x50, 0x40, 0x64, 0x81, 0x20, 0x40, 0x00,
0x50, 0x30, 0x64, 0x81, 0x20, 0x30, 0x00, 0x50, 0x37, 0x64,
0x81, 0x20, 0x37, 0x00, 0x50, 0x40, 0x64, 0x81, 0x20, 0x40,
0x00, 0x50, 0x30, 0x64, 0x81, 0x20, 0x30, 0x00, 0x50, 0x37,
0x64, 0x81, 0x20, 0x37, 0x00, 0x50, 0x41, 0x64, 0x81, 0x20,
0x41, 0x00, 0x50, 0x30, 0x64, 0x81, 0x20, 0x30, 0x00, 0x50,
0x37, 0x64, 0x81, 0x20, 0x37, 0x00, 0x50, 0x41, 0x64, 0x81,
0x20, 0x41, 0x00, 0x50, 0x30, 0x64, 0x81, 0x20, 0x30, 0x00,
0x50, 0x37, 0x64, 0x81, 0x20, 0x37, 0x00, 0x50, 0x41, 0x64,
0x81, 0x20, 0x41, 0x00, 0x50, 0x43, 0x64, 0x81, 0x20, 0x43,
0x00, 0x50, 0x2D, 0x64, 0x81, 0x20, 0x2D, 0x00, 0x50, 0x39,
0x64, 0x81, 0x20, 0x39, 0x00, 0x50, 0x43, 0x64, 0x81, 0x20,
0x43, 0x00, 0x50, 0x2D, 0x64, 0x81, 0x20, 0x2D, 0x00, 0x50,
0x39, 0x64, 0x81, 0x20, 0x39, 0x00, 0x50, 0x43, 0x64, 0x81,
0x20, 0x43, 0x00, 0x50, 0x2D, 0x64, 0x81, 0x20, 0x2D, 0x00,
0x50, 0x39, 0x64, 0x81, 0x20, 0x39, 0x00, 0x50, 0x43, 0x64,
0x81, 0x20, 0x43, 0x00, 0x50, 0x2D, 0x64, 0x81, 0x20, 0x2D,
0x00, 0x50, 0x39, 0x64, 0x81, 0x20, 0x39, 0x00, 0x50, 0x43,
0x64, 0x81, 0x20, 0x43, 0x00, 0x50, 0x2D, 0x64, 0x81, 0x20,
0x2D, 0x00, 0x50, 0x39, 0x64, 0x81, 0x20, 0x39, 0x00, 0x50,
0x43, 0x64, 0x81, 0x20, 0x43, 0x00, 0x50, 0x41, 0x64, 0x81,
0x20, 0x41, 0x00, 0x50, 0x2E, 0x64, 0x81, 0x20, 0x2E, 0x00,
0x50, 0x3A, 0x64, 0x81, 0x20, 0x3A, 0x00, 0x50, 0x41, 0x64,
0x81, 0x20, 0x41, 0x00, 0x50, 0x2E, 0x64, 0x81, 0x20, 0x2E,
0x00, 0x50, 0x3A, 0x64, 0x81, 0x20, 0x3A, 0x00, 0x50, 0x41,
0x64, 0x81, 0x20, 0x41, 0x00, 0x50, 0x2E, 0x64, 0x81, 0x20,
0x2E, 0x00, 0x50, 0x3A, 0x64, 0x81, 0x20, 0x3A, 0x00, 0x50,
0x40, 0x64, 0x81, 0x20, 0x40, 0x00, 0x50, 0x2E, 0x64, 0x81,
0x20, 0x2E, 0x00, 0x50, 0x3A, 0x64, 0x81, 0x20, 0x3A, 0x00,
0x50, 0x40, 0x64, 0x81, 0x20, 0x40, 0x00, 0x50, 0x2E, 0x64,
0x81, 0x20, 0x2E, 0x00, 0x50, 0x40, 0x64, 0x81, 0x20, 0x40,
0x00, 0x50, 0x41, 0x64, 0x81, 0x20, 0x41, 0x00, 0x50, 0x40,
0x64, 0x81, 0x20, 0x40, 0x00, 0x50, 0x2E, 0x64, 0x81, 0x20,
0x2E, 0x00, 0x50, 0x3A, 0x64, 0x81, 0x20, 0x3A, 0x00, 0x50,
0x3E, 0x64, 0x81, 0x20, 0x3E, 0x00, 0x50, 0x2E, 0x64, 0x81,
0x20, 0x2E, 0x00, 0x50, 0x3A, 0x64, 0x81, 0x20, 0x3A, 0x00,
0x50, 0x3E, 0x64, 0x81, 0x20, 0x3E, 0x00, 0x50, 0x2E, 0x64,
0x81, 0x20, 0x2E, 0x00, 0x50, 0x3A, 0x64, 0x81, 0x20, 0x3A,
0x00, 0x50, 0x40, 0x64, 0x81, 0x20, 0x40, 0x00, 0x50, 0x2E,
0x64, 0x81, 0x20, 0x2E, 0x00, 0x50, 0x3A, 0x64, 0x81, 0x20,
0x3A, 0x00, 0x50, 0x40, 0x64, 0x81, 0x20, 0x40, 0x00, 0x50,
0x2E, 0x64, 0x81, 0x20, 0x2E, 0x00, 0x50, 0x3A, 0x64, 0x81,
0x20, 0x3A, 0x00, 0x50, 0x40, 0x64, 0x81, 0x20, 0x40, 0x00,
0x50, 0x41, 0x64, 0x81, 0x20, 0x41, 0x00, 0x50, 0x30, 0x64,
0x81, 0x20, 0x30, 0x00, 0x50, 0x37, 0x64, 0x81, 0x20, 0x37,
0x00, 0x50, 0x41, 0x64, 0x81, 0x20, 0x41, 0x00, 0x50, 0x30,
0x64, 0x81, 0x20, 0x30, 0x00, 0x50, 0x37, 0x64, 0x81, 0x20,
0x37, 0x00, 0x50, 0x41, 0x64, 0x81, 0x20, 0x41, 0x00, 0x50,
0x30, 0x64, 0x81, 0x20, 0x30, 0x00, 0x50, 0x37, 0x64, 0x81,
0x20, 0x37, 0x00, 0x50, 0x43, 0x64, 0x81, 0x20, 0x43, 0x00,
0x50, 0x30, 0x64, 0x81, 0x20, 0x30, 0x00, 0x50, 0x37, 0x64,
0x81, 0x20, 0x37, 0x00, 0x50, 0x43, 0x64, 0x81, 0x20, 0x43,
0x00, 0x50, 0x30, 0x64, 0x81, 0x20, 0x30, 0x00, 0x50, 0x37,
0x64, 0x81, 0x20, 0x37, 0x00, 0x50, 0x43, 0x64, 0x81, 0x20,
0x43, 0x00, 0x50, 0x45, 0x64, 0x81, 0x20, 0x45, 0x00, 0x50,
0x32, 0x64, 0x81, 0x20, 0x32, 0x00, 0x50, 0x39, 0x64, 0x81,
0x20, 0x39, 0x00, 0x50, 0x45, 0x64, 0x81, 0x20, 0x45, 0x00,
0x50, 0x32, 0x64, 0x81, 0x20, 0x32, 0x00, 0x50, 0x39, 0x64,
0x81, 0x20, 0x39, 0x00, 0x50, 0x45, 0x64, 0x81, 0x20, 0x45,
0x00, 0x50, 0x30, 0x64, 0x81, 0x20, 0x30, 0x00, 0x50, 0x39,
0x64, 0x81, 0x20, 0x39, 0x00, 0x50, 0x40, 0x64, 0x81, 0x20,
0x40, 0x00, 0x50, 0x30, 0x64, 0x81, 0x20, 0x30, 0x00, 0x50,
0x39, 0x64, 0x81, 0x20, 0x39, 0x00, 0x50, 0x40, 0x64, 0x81,
0x20, 0x40, 0x00, 0x50, 0x30, 0x64, 0x81, 0x20, 0x30, 0x00,
0x50, 0x39, 0x64, 0x81, 0x20, 0x39, 0x00, 0x50, 0x40, 0x64,
0x81, 0x20, 0x40, 0x00, 0x50, 0x41, 0x64, 0x81, 0x20, 0x41,
0x00, 0x50, 0x2E, 0x64, 0x81, 0x20, 0x2E, 0x00, 0x50, 0x35,
0x64, 0x81, 0x20, 0x35, 0x00, 0x50, 0x3E, 0x64, 0x81, 0x20,
0x3E, 0x00, 0x50, 0x2E, 0x64, 0x81, 0x20, 0x2E, 0x00, 0x50,
0x35, 0x64, 0x81, 0x20, 0x35, 0x00, 0x50, 0x3E, 0x64, 0x81,
0x20, 0x3E, 0x00, 0x50, 0x2E, 0x64, 0x81, 0x20, 0x2E, 0x00,
0x50, 0x35, 0x64, 0x81, 0x20, 0x35, 0x00, 0x50, 0x3C, 0x64,
0x81, 0x20, 0x3C, 0x00, 0x50, 0x2D, 0x64, 0x81, 0x20, 0x2D,
0x00, 0x50, 0x35, 0x64, 0x81, 0x20, 0x35, 0x00, 0x50, 0x3C,
0x64, 0x81, 0x20, 0x3C, 0x00, 0x50, 0x2D, 0x64, 0x81, 0x20,
0x2D, 0x00, 0x50, 0x35, 0x64, 0x81, 0x20, 0x35, 0x00, 0x50,
0x3C, 0x64, 0x81, 0x20, 0x3C, 0x00, 0x50, 0x3E, 0x64, 0x81,
0x20, 0x3E, 0x00, 0x50, 0x2B, 0x64, 0x81, 0x20, 0x2B, 0x00,
0x50, 0x32, 0x64, 0x81, 0x20, 0x32, 0x00, 0x50, 0x3A, 0x64,
0x81, 0x20, 0x3A, 0x00, 0x50, 0x2B, 0x64, 0x81, 0x20, 0x2B,
0x00, 0x50, 0x32, 0x64, 0x81, 0x20, 0x32, 0x00, 0x50, 0x3A,
0x64, 0x81, 0x20, 0x3A, 0x00, 0x50, 0x2B, 0x64, 0x81, 0x20,
0x2B, 0x00, 0x50, 0x32, 0x64, 0x81, 0x20, 0x32, 0x00, 0x50,
0x39, 0x64, 0x81, 0x20, 0x39, 0x00, 0x50, 0x29, 0x64, 0x81,
0x20, 0x29, 0x00, 0x50, 0x30, 0x64, 0x81, 0x20, 0x30, 0x00,
0x50, 0x39, 0x64, 0x81, 0x20, 0x39, 0x00, 0x50, 0x29, 0x64,
0x81, 0x20, 0x29, 0x00, 0x50, 0x30, 0x64, 0x81, 0x20, 0x30,
0x00, 0x50, 0x39, 0x64, 0x81, 0x20, 0x39, 0x00, 0x50, 0x3A,
0x64, 0x81, 0x20, 0x3A, 0x00, 0x50, 0x27, 0x64, 0x81, 0x20,
0x27, 0x00, 0x50, 0x33, 0x64, 0x81, 0x20, 0x33, 0x00, 0x50,
0x37, 0x64, 0x81, 0x20, 0x37, 0x00, 0x50, 0x27, 0x64, 0x81,
0x20, 0x27, 0x00, 0x50, 0x33, 0x64, 0x81, 0x20, 0x33, 0x00,
0x50, 0x37, 0x64, 0x81, 0x20, 0x37, 0x00, 0x50, 0x27, 0x64,
0x81, 0x20, 0x27, 0x00, 0x50, 0x33, 0x64, 0x81, 0x20, 0x33,
0x00, 0x50, 0x39, 0x64, 0x81, 0x20, 0x39, 0x00, 0x50, 0x29,
0x64, 0x81, 0x20, 0x29, 0x00, 0x50, 0x35, 0x64, 0x81, 0x20,
0x35, 0x00, 0x50, 0x39, 0x64, 0x81, 0x20, 0x39, 0x00, 0x50,
0x29, 0x64, 0x81, 0x20, 0x29, 0x00, 0x50, 0x37, 0x64, 0x81,
0x20, 0x37, 0x00, 0x50, 0x35, 0x64, 0x81, 0x20, 0x35, 0x00,
0x50, 0x37, 0x64, 0x81, 0x20, 0x37, 0x00, 0x50, 0x2B, 0x64,
0x81, 0x20, 0x2B, 0x00, 0x50, 0x32, 0x64, 0x81, 0x20, 0x32,
0x00, 0x50, 0x37, 0x64, 0x81, 0x20, 0x37, 0x00, 0x50, 0x2B,
0x64, 0x81, 0x20, 0x2B, 0x00, 0x50, 0x32, 0x64, 0x81, 0x20,
0x32, 0x00, 0x50, 0x37, 0x64, 0x81, 0x20, 0x37, 0x00, 0x50,
0x2B, 0x64, 0x81, 0x20, 0x2B, 0x00, 0x50, 0x32, 0x64, 0x81,
0x20, 0x32, 0x00, 0x50, 0x37, 0x64, 0x81, 0x20, 0x37, 0x00,
0x50, 0x2B, 0x64, 0x81, 0x20, 0x2B, 0x00, 0x50, 0x32, 0x64,
0x81, 0x20, 0x32, 0x00, 0x50, 0x37, 0x64, 0x81, 0x20, 0x37,
0x00, 0x50, 0x2B, 0x64, 0x81, 0x20, 0x2B, 0x00, 0x50, 0x32,
0x64, 0x81, 0x20, 0x32, 0x00, 0x50, 0x37, 0x64, 0x81, 0x20,
0x37, 0x00, 0x50, 0x32, 0x64, 0x81, 0x20, 0x32, 0x00, 0x50,
0x2B, 0x64, 0x81, 0x20, 0x2B, 0x00, 0x50, 0x32, 0x64, 0x81,
0x20, 0x32, 0x00, 0x50, 0x37, 0x64, 0x81, 0x20, 0x37, 0x00,
0x50, 0x2B, 0x64, 0x81, 0x20, 0x2B, 0x00, 0x50, 0x32, 0x64,
0x81, 0x20, 0x32, 0x00, 0x50, 0x37, 0x64, 0x81, 0x20, 0x37,
0x00, 0x50, 0x2B, 0x64, 0x81, 0x20, 0x2B, 0x00, 0x50, 0x32,
0x64, 0x81, 0x20, 0x32, 0x00, 0x50, 0x37, 0x64, 0x81, 0x20,
0x37, 0x00, 0x50, 0x2B, 0x64, 0x81, 0x20, 0x2B, 0x00, 0x50,
0x32, 0x64, 0x81, 0x20, 0x32, 0x00, 0x50, 0x37, 0x64, 0x81,
0x20, 0x37, 0x00, 0x50, 0x2B, 0x64, 0x81, 0x20, 0x2B, 0x00,
0x50, 0x32, 0x64, 0x81, 0x20, 0x32, 0x00, 0x50, 0x37, 0x64,
0x81, 0x20, 0x37, 0x00, 0x50, 0x32, 0x64, 0x81, 0x20, 0x32,
0x00]
| 59.259912 | 64 | 0.666444 | 2,242 | 13,452 | 3.998662 | 0.011151 | 0.285555 | 0.428332 | 0.101729 | 0.998996 | 0.998996 | 0.998996 | 0.998996 | 0.998996 | 0.982487 | 0 | 0.584136 | 0.166815 | 13,452 | 226 | 65 | 59.522124 | 0.215739 | 0 | 0 | 0.431111 | 0 | 0 | 0 | 0 | 0 | 0 | 0.666419 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
3b6b710a021bb9c54b6c496c0f9bc31f094cba80 | 7,881 | py | Python | specialmath/test_specialmath.py | bvsravikiran/pythonREST | af782529b0a79735456445551329f8e24bd52fdb | [
"MIT"
] | null | null | null | specialmath/test_specialmath.py | bvsravikiran/pythonREST | af782529b0a79735456445551329f8e24bd52fdb | [
"MIT"
] | 1 | 2021-06-22T21:15:52.000Z | 2021-06-22T21:15:52.000Z | specialmath/test_specialmath.py | bvsravikiran/pythonREST | af782529b0a79735456445551329f8e24bd52fdb | [
"MIT"
] | null | null | null | import unittest
from unittest.mock import patch
import specialmath
class TestSpecialMathNaive(unittest.TestCase):
def test_special_math_naive_zero_negative_one(self):
num = -1
expected_result = num
actual_result = specialmath.special_math_naive(num)
self.assertEqual(expected_result, actual_result)
def test_special_math_naive_zero(self):
num = 0
expected_result = 0
actual_result = specialmath.special_math_naive(num)
self.assertEqual(expected_result, actual_result)
def test_special_math_naive_one(self):
num = 1
expected_result = 1
actual_result = specialmath.special_math_naive(num)
self.assertEqual(expected_result, actual_result)
def test_special_math_naive_two(self):
num = 2
expected_result = 3
actual_result = specialmath.special_math_naive(num)
self.assertEqual(expected_result, actual_result)
class TestSpecialMathTopDown(unittest.TestCase):
HELPER_FUNCTION_NAME = 'specialmath.top_down_helper'
def test_special_math_top_down_negative_num(self):
num = -1
expected_result = num
actual_result = specialmath.special_math_top_down(num)
self.assertEqual(expected_result, actual_result)
def test_special_math_top_down_does_call_helper_negative_one(self):
num = -1
p = patch(self.HELPER_FUNCTION_NAME)
mock_func = p.start()
specialmath.special_math_top_down(num)
mock_func.assert_not_called()
p.stop()
def test_special_math_top_down_zero(self):
num = 0
expected_result = 0
actual_result = specialmath.special_math_top_down(num)
self.assertEqual(expected_result, actual_result)
def test_special_math_top_down_does_call_helper_zero(self):
num = 0
p = patch(self.HELPER_FUNCTION_NAME)
mock_func = p.start()
specialmath.special_math_top_down(num)
mock_func.assert_not_called()
p.stop()
def test_special_math_top_down_one(self):
num = 1
expected_result = 1
actual_result = specialmath.special_math_top_down(num)
self.assertEqual(expected_result, actual_result)
def test_special_math_top_down_does_call_helper_one(self):
num = 1
p = patch(self.HELPER_FUNCTION_NAME)
mock_func = p.start()
specialmath.special_math_top_down(num)
mock_func.assert_not_called()
p.stop()
def test_special_math_top_down_two(self):
num = 2
expected_result = 3
actual_result = specialmath.special_math_top_down(num)
self.assertEqual(expected_result, actual_result)
def test_special_math_top_down_calls_helper_two(self):
num = 2
dic = [0, 1, -1]
p = patch(self.HELPER_FUNCTION_NAME)
mock_func = p.start()
specialmath.special_math_top_down(num)
mock_func.assert_called_once()
mock_func.assert_called_with(2, dic)
p.stop()
def test_special_math_top_down_seven(self):
num = 7
expected_result = 79
actual_result = specialmath.special_math_top_down(num)
self.assertEqual(expected_result, actual_result)
def test_special_math_top_down_calls_helper_seven(self):
num = 7
dic = [0, 1, -1, -1, -1, -1, -1, -1]
p = patch(self.HELPER_FUNCTION_NAME)
mock_func = p.start()
specialmath.special_math_top_down(num)
mock_func.assert_called_once()
mock_func.assert_called_with(7, dic)
p.stop()
def test_special_math_top_down_seventeen(self):
num = 17
expected_result = 10926
actual_result = specialmath.special_math_top_down(num)
self.assertEqual(expected_result, actual_result)
def test_special_math_top_down_ninety(self):
num = 90
expected_result = 19740274219868223074
actual_result = specialmath.special_math_top_down(num)
self.assertEqual(expected_result, actual_result)
class TestTopDownHelper(unittest.TestCase):
def test_top_down_helper_zero_negative_one(self):
num = -1
dic = [0, 1, -1]
expected_result = num
actual_result = specialmath.top_down_helper(num, dic)
self.assertEqual(expected_result, actual_result)
def test_top_down_helper_zero(self):
num = 0
dic = [0, 1, -1]
expected_result = dic[0]
actual_result = specialmath.top_down_helper(num, dic)
self.assertEqual(expected_result, actual_result)
def test_top_down_helper_one(self):
num = 1
dic = [0, 1, -1]
expected_result = dic[1]
actual_result = specialmath.top_down_helper(num, dic)
self.assertEqual(expected_result, actual_result)
def test_top_down_helper_two(self):
num = 2
dic = [0, 1, -1]
expected_result = 3
actual_result = specialmath.top_down_helper(num, dic)
self.assertEqual(expected_result, actual_result)
def test_top_down_helper_seven(self):
num = 7
dic = [0, 1, -1, -1, -1, -1, -1, -1]
expected_result = 79
actual_result = specialmath.top_down_helper(num, dic)
self.assertEqual(expected_result, actual_result)
class TestSpecialMathBottomUp(unittest.TestCase):
def test_special_math_bottom_up_zero(self):
num = 0
expected_result = 0
actual_result = specialmath.special_math_bottom_up(num)
self.assertEqual(expected_result, actual_result)
def test_special_math_bottom_up_one(self):
num = 1
expected_result = 1
actual_result = specialmath.special_math_bottom_up(num)
self.assertEqual(expected_result, actual_result)
def test_special_math_bottom_up_two(self):
num = 2
expected_result = 3
actual_result = specialmath.special_math_bottom_up(num)
self.assertEqual(expected_result, actual_result)
def test_special_math_bottom_up_seven(self):
num = 7
expected_result = 79
actual_result = specialmath.special_math_bottom_up(num)
self.assertEqual(expected_result, actual_result)
def test_special_math_bottom_up_seventeen(self):
num = 17
expected_result = 10926
actual_result = specialmath.special_math_bottom_up(num)
self.assertEqual(expected_result, actual_result)
def test_special_math_bottom_up_ninety(self):
num = 90
expected_result = 19740274219868223074
actual_result = specialmath.special_math_bottom_up(num)
self.assertEqual(expected_result, actual_result)
def test_special_math_bottom_less_than_zero_negative_one(self):
num = -1
expected_result = num
actual_result = specialmath.special_math_bottom_up(num)
self.assertEqual(expected_result, actual_result)
class TestSpecialMath(unittest.TestCase):
def test_special_math_does_not_calls_special_math_bottom_up_with_negative(self):
num = -1
p = patch('specialmath.special_math_bottom_up')
mock_func = p.start()
specialmath.special_math(num)
mock_func.assert_not_called()
p.stop()
def test_special_math_calls_special_math_bottom_up_with_zero(self):
num = 0
p = patch('specialmath.special_math_bottom_up')
mock_func = p.start()
specialmath.special_math(num)
mock_func.assert_called_once()
mock_func.assert_called_with(num)
p.stop()
def test_special_math_calls_special_math_bottom_up_with_one(self):
num = 1
p = patch('specialmath.special_math_bottom_up')
mock_func = p.start()
specialmath.special_math(num)
mock_func.assert_called_once()
mock_func.assert_called_with(num)
p.stop()
if __name__ == '__main__':
unittest.main()
| 33.679487 | 84 | 0.686588 | 1,012 | 7,881 | 4.924901 | 0.064229 | 0.12801 | 0.12801 | 0.0939 | 0.941011 | 0.937801 | 0.885233 | 0.878411 | 0.875401 | 0.855738 | 0 | 0.022636 | 0.23766 | 7,881 | 233 | 85 | 33.824034 | 0.806924 | 0 | 0 | 0.761658 | 0 | 0 | 0.017384 | 0.016368 | 0 | 0 | 0 | 0 | 0.181347 | 1 | 0.160622 | false | 0 | 0.015544 | 0 | 0.207254 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3b7d750b5cfd30b2fdb27f7c92b66f8c70ca13ea | 3,574 | py | Python | tests/test_snoring.py | SmartSleepIoT/SmartSleepCoding | 21c19489f0c477cbfbabd3a1d232f526f84a9e49 | [
"BSD-3-Clause"
] | null | null | null | tests/test_snoring.py | SmartSleepIoT/SmartSleepCoding | 21c19489f0c477cbfbabd3a1d232f526f84a9e49 | [
"BSD-3-Clause"
] | 41 | 2021-10-20T17:54:59.000Z | 2022-02-02T20:43:53.000Z | tests/test_snoring.py | SmartSleepIoT/SmartSleepCoding | 21c19489f0c477cbfbabd3a1d232f526f84a9e49 | [
"BSD-3-Clause"
] | null | null | null | import time
import paho.mqtt.client as paho
from flask import json
msg_nr = 0
messages = [""]
broker = 'broker.emqx.io'
port = 1883
def update_contor():
global msg_nr
msg_nr += 1
def on_message(client, userdata, message):
received = json.loads(message.payload)
if "status" in received:
assert received['status'] == messages[msg_nr]
update_contor()
elif "db" in received:
assert received["db"] == messages[msg_nr]
update_contor()
def test_snoring(client, auth):
global msg_nr
msg_nr = 0
global messages
messages = ['45.05', '45.05', '45.05', '45.05', 'Lifting up pillow position to 10',
'Lifted up pillow position to 10', '46.00']
# runpy.run_path('./Standalones/snoring.py') # TO DO: remove this when script to load standalones when app starts is made
time.sleep(2)
client_mqtt = paho.Client("client-test-snoring")
client_mqtt.on_message = on_message
client_mqtt.connect(broker)
client_mqtt.loop_start()
client_mqtt.subscribe("SmartSleep/SoundSensor")
auth.login()
response = client.post(f"/config/start_to_sleep?sleep_now={True}")
assert response.status_code == 200
response = client.post("/config/sound?sensor=45.05")
assert response.status_code == 200
time.sleep(1.5)
response = client.post("/config/sound?sensor=45.05")
assert response.status_code == 200
time.sleep(1.5)
response = client.post("/config/sound?sensor=45.05")
assert response.status_code == 200
time.sleep(1.5)
response = client.post("/config/sound?sensor=45.05")
assert response.status_code == 200
time.sleep(5)
response = client.post("/config/sound?sensor=46.00")
assert response.status_code == 200
time.sleep(1.5)
client_mqtt.disconnect()
client_mqtt.loop_stop()
def test_snoring_user_not_sleeping(client, auth):
global msg_nr
msg_nr = 0
global messages
messages = ['45.05', '45.05', '45.05', '45.05', '46.00']
# runpy.run_path('./Standalones/snoring.py') # TO DO: remove this when script to load standalones when app starts is made
time.sleep(2)
client_mqtt = paho.Client("client-test-snoring")
client_mqtt.on_message = on_message
client_mqtt.connect(broker)
client_mqtt.loop_start()
client_mqtt.subscribe("SmartSleep/SoundSensor")
auth.login()
response = client.post(f"/config/start_to_sleep?sleep_now={True}")
assert response.status_code == 200
response = client.post("/config/sound?sensor=45.05")
assert response.status_code == 200
time.sleep(1.5)
response = client.post("/config/sound?sensor=45.05")
assert response.status_code == 200
time.sleep(1.5)
response = client.post("/config/sound?sensor=45.05")
assert response.status_code == 200
time.sleep(1.5)
response = client.post("/config/sound?sensor=45.05")
assert response.status_code == 200
time.sleep(5)
response = client.post("/config/sound?sensor=46.00")
assert response.status_code == 200
time.sleep(1.5)
client_mqtt.disconnect()
client_mqtt.loop_stop()
def test_lift_pillow(client, auth):
auth.login()
response = client.get("/snoring/pillow-angle")
r_dict = json.loads(response.data)
if "user is not sleeping" in r_dict['status']:
assert response.status_code == 404
response = client.post("/config/start_to_sleep?sleep_now=True")
if response.status_code == 200:
response = client.get("/snoring/pillow-angle")
assert response.status_code == 200
| 30.033613 | 127 | 0.675993 | 505 | 3,574 | 4.645545 | 0.190099 | 0.02728 | 0.11509 | 0.143223 | 0.817562 | 0.76087 | 0.72208 | 0.709292 | 0.709292 | 0.709292 | 0 | 0.054363 | 0.191942 | 3,574 | 118 | 128 | 30.288136 | 0.757964 | 0.067431 | 0 | 0.725275 | 0 | 0 | 0.200781 | 0.138563 | 0 | 0 | 0 | 0 | 0.175824 | 1 | 0.054945 | false | 0 | 0.032967 | 0 | 0.087912 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3b820ad4c17595f27645702d9eebd3c3b6c3009d | 134 | py | Python | app/ServiceAddress.py | craigderington/serviceauto | 28958e3cb82431151c02c4bd600cf887c54d2866 | [
"MIT"
] | null | null | null | app/ServiceAddress.py | craigderington/serviceauto | 28958e3cb82431151c02c4bd600cf887c54d2866 | [
"MIT"
] | null | null | null | app/ServiceAddress.py | craigderington/serviceauto | 28958e3cb82431151c02c4bd600cf887c54d2866 | [
"MIT"
] | null | null | null | """ServiceAddress Model."""
from config.database import Model
class ServiceAddress(Model):
"""ServiceAddress Model."""
pass | 16.75 | 33 | 0.708955 | 13 | 134 | 7.307692 | 0.615385 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156716 | 134 | 8 | 34 | 16.75 | 0.840708 | 0.320896 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
3b86cb1df87802d5b54cc24f61ea9e2f682f6928 | 79 | py | Python | pws/symmetric/aes/__init__.py | pqlx/pws-crypto | 23dcf59d0b37d811d0a9bda995a3ea7d09051416 | [
"MIT"
] | 1 | 2020-12-10T01:14:29.000Z | 2020-12-10T01:14:29.000Z | pws/symmetric/aes/__init__.py | pqlx/pws-crypto | 23dcf59d0b37d811d0a9bda995a3ea7d09051416 | [
"MIT"
] | null | null | null | pws/symmetric/aes/__init__.py | pqlx/pws-crypto | 23dcf59d0b37d811d0a9bda995a3ea7d09051416 | [
"MIT"
] | null | null | null | from pws.symmetric.aes.key import AESKey
from pws.symmetric.aes.error import *
| 26.333333 | 40 | 0.810127 | 13 | 79 | 4.923077 | 0.615385 | 0.21875 | 0.5 | 0.59375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101266 | 79 | 2 | 41 | 39.5 | 0.901408 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
3b87511fb8eeec849fe8404be886b143c6b9ec6a | 5,475 | py | Python | data_gathering_subsystem/test/data_modules/test_future_emissions.py | diego-hermida/ClimateChangeApp | 576d49ec5b76f709cc86874ffb03f4a38dbbbbfd | [
"MIT"
] | 2 | 2018-07-01T20:36:46.000Z | 2019-11-01T22:47:06.000Z | data_gathering_subsystem/test/data_modules/test_future_emissions.py | diego-hermida/ClimateChangeApp | 576d49ec5b76f709cc86874ffb03f4a38dbbbbfd | [
"MIT"
] | 1 | 2021-06-10T20:28:53.000Z | 2021-06-10T20:28:53.000Z | data_gathering_subsystem/test/data_modules/test_future_emissions.py | diego-hermida/ClimateChangeApp | 576d49ec5b76f709cc86874ffb03f4a38dbbbbfd | [
"MIT"
] | null | null | null | from unittest import TestCase, mock
from unittest.mock import Mock
import data_gathering_subsystem.data_modules.future_emissions.future_emissions as future_emissions
class TestFutureEmissions(TestCase):
@classmethod
def setUpClass(cls):
future_emissions.instance(log_to_stdout=False, log_to_telegram=False).remove_files()
def tearDown(self):
if hasattr(self, 'data_collector'):
self.data_collector.remove_files()
def test_instance(self):
self.assertIs(future_emissions.instance(log_to_file=False, log_to_stdout=False, log_to_telegram=False),
future_emissions.instance(log_to_file=False, log_to_stdout=False, log_to_telegram=False))
i1 = future_emissions.instance(log_to_file=False, log_to_stdout=False, log_to_telegram=False)
i1._transition_state = i1._FINISHED
self.assertIsNot(i1, future_emissions.instance(log_to_file=False, log_to_stdout=False, log_to_telegram=False))
def test_correct_data_collection(self):
# Mocking MongoDBCollection: initialization and operations
mock_collection = Mock()
mock_collection.close.return_value = None
mock_collection.is_empty.return_value = False
mock_collection.insert_many.return_value = insert_result = Mock()
insert_result.inserted_ids = [{'_id': x} for x in range(2221)]
# Actual execution
self.data_collector = future_emissions.instance(log_to_stdout=False, log_to_telegram=False)
self.data_collector.collection = mock_collection
self.data_collector.run()
self.assertTrue(mock_collection.method_calls)
self.assertTrue(self.data_collector.finished_execution())
self.assertTrue(self.data_collector.successful_execution())
self.assertIsNotNone(self.data_collector.state['data_elements'])
self.assertIsNotNone(self.data_collector.state['inserted_elements'])
self.assertEqual(2221, self.data_collector.state['data_elements'])
self.assertEqual(2221, self.data_collector.state['inserted_elements'])
self.assertEqual(self.data_collector.config['UPDATE_FREQUENCY'], self.data_collector.state['update_frequency'])
def test_data_collection_with_missing_file(self):
# Actual execution
self.data_collector = future_emissions.instance(log_to_stdout=False, log_to_telegram=False)
self.data_collector.config['DATA_DIR'] = './foo/bar/baz/'
self.data_collector.run()
self.assertTrue(self.data_collector.finished_execution())
self.assertFalse(self.data_collector.successful_execution())
self.assertIsNone(self.data_collector.state['data_elements'])
self.assertIsNone(self.data_collector.state['inserted_elements'])
self.assertIsNotNone(self.data_collector.state['error'])
self.assertEqual(self.data_collector.config['STATE_STRUCT']['update_frequency'],
self.data_collector.state['update_frequency'])
def test_data_collection_with_not_all_items_saved(self):
# Mocking MongoDBCollection: initialization and operations
mock_collection = Mock()
mock_collection.close.return_value = None
mock_collection.insert_many.return_value = insert_result = Mock()
insert_result.inserted_ids = [{'_id': x} for x in range(1999)]
# Actual execution
self.data_collector = future_emissions.instance(log_to_stdout=False, log_to_telegram=False)
self.data_collector.collection = mock_collection
self.data_collector.run()
self.assertTrue(mock_collection.method_calls)
self.assertTrue(self.data_collector.finished_execution())
self.assertFalse(self.data_collector.successful_execution())
self.assertIsNotNone(self.data_collector.state['data_elements'])
self.assertIsNotNone(self.data_collector.state['inserted_elements'])
self.assertEqual(2221, self.data_collector.state['data_elements'])
self.assertEqual(1999, self.data_collector.state['inserted_elements'])
self.assertEqual(self.data_collector.config['UPDATE_FREQUENCY'], self.data_collector.state['update_frequency'])
def test_data_collection_with_too_much_items_not_saved(self):
# Mocking MongoDBCollection: initialization and operations
mock_collection = Mock()
mock_collection.close.return_value = None
mock_collection.insert_many.return_value = insert_result = Mock()
insert_result.inserted_ids = [{'_id': x} for x in range(1998)]
# Actual execution
self.data_collector = future_emissions.instance(log_to_stdout=False, log_to_telegram=False)
self.data_collector.collection = mock_collection
self.data_collector.run()
self.assertTrue(mock_collection.method_calls)
self.assertTrue(self.data_collector.finished_execution())
self.assertFalse(self.data_collector.successful_execution())
self.assertIsNotNone(self.data_collector.state['data_elements'])
self.assertIsNotNone(self.data_collector.state['inserted_elements'])
self.assertEqual(2221, self.data_collector.state['data_elements'])
self.assertEqual(1998, self.data_collector.state['inserted_elements'])
self.assertIsNotNone(self.data_collector.state['error'])
self.assertEqual(self.data_collector.config['STATE_STRUCT']['update_frequency'],
self.data_collector.state['update_frequency'])
| 57.03125 | 119 | 0.73863 | 648 | 5,475 | 5.91821 | 0.145062 | 0.095958 | 0.203911 | 0.114733 | 0.873272 | 0.870665 | 0.859192 | 0.849283 | 0.84824 | 0.84824 | 0 | 0.008734 | 0.16347 | 5,475 | 95 | 120 | 57.631579 | 0.828603 | 0.04347 | 0 | 0.602564 | 0 | 0 | 0.079748 | 0 | 0 | 0 | 0 | 0 | 0.423077 | 1 | 0.089744 | false | 0 | 0.038462 | 0 | 0.141026 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
8e6770b8be6b368b42f44b18b881dfcd597d4557 | 97 | py | Python | customtimsort/__init__.py | lehatrutenb/CustomTimSort | b3408baf6874980fb534328c9f0e4a8122147a5b | [
"MIT"
] | null | null | null | customtimsort/__init__.py | lehatrutenb/CustomTimSort | b3408baf6874980fb534328c9f0e4a8122147a5b | [
"MIT"
] | null | null | null | customtimsort/__init__.py | lehatrutenb/CustomTimSort | b3408baf6874980fb534328c9f0e4a8122147a5b | [
"MIT"
] | null | null | null | from get_minrun import get_minrun_from_builded_model as get_minrun
from _ctimsort import timsort
| 32.333333 | 66 | 0.896907 | 16 | 97 | 5 | 0.5625 | 0.3375 | 0.325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103093 | 97 | 2 | 67 | 48.5 | 0.91954 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
d9063b4295a0fb76db5607a8cc49e2029dde860a | 8,186 | py | Python | Face_ID/preprocess.py | cutz-j/DeepFake | c2144b61aefe1e5dd8aef48f2c41089da7a76353 | [
"MIT"
] | null | null | null | Face_ID/preprocess.py | cutz-j/DeepFake | c2144b61aefe1e5dd8aef48f2c41089da7a76353 | [
"MIT"
] | null | null | null | Face_ID/preprocess.py | cutz-j/DeepFake | c2144b61aefe1e5dd8aef48f2c41089da7a76353 | [
"MIT"
] | null | null | null | ### preprocessing ###
import numpy as np
import glob
import matplotlib.pyplot as plt
from PIL import Image
def create_couple(file_path):
'''
function: data couple depth only
input: file_path
output: concat array
'''
folder=np.random.choice(glob.glob(file_path + "*"))
while folder == "datalab":
folder=np.random.choice(glob.glob(file_path + "*"))
# print(folder)
mat=np.zeros((480,640), dtype='float32')
i=0
j=0
depth_file = np.random.choice(glob.glob(folder + "/*.dat"))
with open(depth_file) as file:
for line in file:
vals = line.split('\t')
for val in vals:
if val == "\n": continue
if int(val) > 1200 or int(val) == -1: val= 1200
mat[i][j]=float(int(val))
j+=1
j=j%640
i+=1
mat = np.asarray(mat)
mat_small=mat[140:340,220:420]
mat_small=(mat_small-np.mean(mat_small))/np.max(mat_small)
# plt.imshow(mat_small)
# plt.show()
mat2=np.zeros((480,640), dtype='float32')
i=0
j=0
depth_file = np.random.choice(glob.glob(folder + "/*.dat"))
with open(depth_file) as file:
for line in file:
vals = line.split('\t')
for val in vals:
if val == "\n": continue
if int(val) > 1200 or int(val) == -1: val= 1200
mat2[i][j]=float(int(val))
j+=1
j=j%640
i+=1
mat2 = np.asarray(mat2)
mat2_small=mat2[140:340,220:420]
mat2_small=(mat2_small-np.mean(mat2_small))/np.max(mat2_small)
# plt.imshow(mat2_small)
# plt.show()
return np.array([mat_small, mat2_small])
def create_couple_rgbd(file_path):
'''
function: data couple rgbd
input: file_path
output: concat array
'''
folder=np.random.choice(glob.glob(file_path + "*"))
while folder == "datalab":
folder=np.random.choice(glob.glob(file_path + "*"))
# print(folder)
mat=np.zeros((480,640), dtype='float32')
i=0
j=0
depth_file = np.random.choice(glob.glob(folder + "/*.dat"))
with open(depth_file) as file:
for line in file:
vals = line.split('\t')
for val in vals:
if val == "\n": continue
if int(val) > 1200 or int(val) == -1: val= 1200
mat[i][j]=float(int(val))
j+=1
j=j%640
i+=1
mat = np.asarray(mat)
mat_small=mat[140:340,220:420]
img = Image.open(depth_file[:-5] + "c.bmp")
img.thumbnail((640,480))
img = np.asarray(img)
img = img[140:340,220:420]
mat_small=(mat_small-np.mean(mat_small))/np.max(mat_small)
# plt.imshow(mat_small)
# plt.show()
# plt.imshow(img)
# plt.show()
mat2=np.zeros((480,640), dtype='float32')
i=0
j=0
depth_file = np.random.choice(glob.glob(folder + "/*.dat"))
with open(depth_file) as file:
for line in file:
vals = line.split('\t')
for val in vals:
if val == "\n": continue
if int(val) > 1200 or int(val) == -1: val= 1200
mat2[i][j]=float(int(val))
j+=1
j=j%640
i+=1
mat2 = np.asarray(mat2)
mat2_small=mat2[140:340,220:420]
img2 = Image.open(depth_file[:-5] + "c.bmp")
img2.thumbnail((640,480))
img2 = np.asarray(img2)
img2 = img2[160:360,240:440]
# plt.imshow(img2)
# plt.show()
mat2_small=(mat2_small-np.mean(mat2_small))/np.max(mat2_small)
# plt.imshow(mat2_small)
# plt.show()
full1 = np.zeros((200,200,4))
full1[:,:,:3] = img[:,:,:3]
full1[:,:,3] = mat_small
full2 = np.zeros((200,200,4))
full2[:,:,:3] = img2[:,:,:3]
full2[:,:,3] = mat2_small
return np.array([full1, full2])
data_dir = "d:/data/faceid_train/"
data_couple = create_couple(data_dir)
data_rgbd = create_couple_rgbd(data_dir)
def create_wrong(file_path):
folder=np.random.choice(glob.glob(file_path + "*"))
while folder == "datalab":
folder=np.random.choice(glob.glob(file_path + "*"))
mat=np.zeros((480,640), dtype='float32')
i=0
j=0
depth_file = np.random.choice(glob.glob(folder + "/*.dat"))
with open(depth_file) as file:
for line in file:
vals = line.split('\t')
for val in vals:
if val == "\n": continue
if int(val) > 1200 or int(val) == -1: val= 1200
mat[i][j]=float(int(val))
j+=1
j=j%640
i+=1
mat = np.asarray(mat)
mat_small=mat[140:340,220:420]
mat_small=(mat_small-np.mean(mat_small))/np.max(mat_small)
# plt.imshow(mat_small)
# plt.show()
folder2=np.random.choice(glob.glob(file_path + "*"))
while folder==folder2 or folder2=="datalab": #it activates if it chose the same folder
folder2=np.random.choice(glob.glob(file_path + "*"))
mat2=np.zeros((480,640), dtype='float32')
i=0
j=0
depth_file = np.random.choice(glob.glob(folder2 + "/*.dat"))
with open(depth_file) as file:
for line in file:
vals = line.split('\t')
for val in vals:
if val == "\n": continue
if int(val) > 1200 or int(val) == -1: val= 1200
mat2[i][j]=float(int(val))
j+=1
j=j%640
i+=1
mat2 = np.asarray(mat2)
mat2_small=mat2[140:340,220:420]
mat2_small=(mat2_small-np.mean(mat2_small))/np.max(mat2_small)
plt.imshow(mat2_small)
plt.show()
return np.array([mat_small, mat2_small])
create_wrong("d:/data/faceid_train/")
def create_wrong_rgbd(file_path):
folder=np.random.choice(glob.glob(file_path + "*"))
while folder == "datalab":
folder=np.random.choice(glob.glob(file_path + "*"))
mat=np.zeros((480,640), dtype='float32')
i=0
j=0
depth_file = np.random.choice(glob.glob(folder + "/*.dat"))
with open(depth_file) as file:
for line in file:
vals = line.split('\t')
for val in vals:
if val == "\n": continue
if int(val) > 1200 or int(val) == -1: val= 1200
mat[i][j]=float(int(val))
j+=1
j=j%640
i+=1
mat = np.asarray(mat)
mat_small=mat[140:340,220:420]
img = Image.open(depth_file[:-5] + "c.bmp")
img.thumbnail((640,480))
img = np.asarray(img)
img = img[140:340,220:420]
mat_small=(mat_small-np.mean(mat_small))/np.max(mat_small)
# plt.imshow(img)
# plt.show()
# plt.imshow(mat_small)
# plt.show()
folder2=np.random.choice(glob.glob(file_path + "*"))
while folder==folder2 or folder2=="datalab": #it activates if it chose the same folder
folder2=np.random.choice(glob.glob(file_path + "*"))
mat2=np.zeros((480,640), dtype='float32')
i=0
j=0
depth_file = np.random.choice(glob.glob(folder2 + "/*.dat"))
with open(depth_file) as file:
for line in file:
vals = line.split('\t')
for val in vals:
if val == "\n": continue
if int(val) > 1200 or int(val) == -1: val= 1200
mat2[i][j]=float(int(val))
j+=1
j=j%640
i+=1
mat2 = np.asarray(mat2)
mat2_small=mat2[140:340,220:420]
img2 = Image.open(depth_file[:-5] + "c.bmp")
img2.thumbnail((640,480))
img2 = np.asarray(img2)
img2 = img2[140:340,220:420]
mat2_small=(mat2_small-np.mean(mat2_small))/np.max(mat2_small)
# plt.imshow(img2)
# plt.show()
# plt.imshow(mat2_small)
# plt.show()
full1 = np.zeros((200,200,4))
full1[:,:,:3] = img[:,:,:3]
full1[:,:,3] = mat_small
full2 = np.zeros((200,200,4))
full2[:,:,:3] = img2[:,:,:3]
full2[:,:,3] = mat2_small
return np.array([full1, full2])
#
#create_wrong("d:/data/faceid_val/")
#create_wrong_rgbd("d:/data/faceid_val/")
#
#create_couple("d:/data/faceid_val/")
| 28.32526 | 90 | 0.541901 | 1,183 | 8,186 | 3.650042 | 0.081995 | 0.051876 | 0.064845 | 0.083372 | 0.932608 | 0.891385 | 0.891385 | 0.891385 | 0.891385 | 0.891385 | 0 | 0.085364 | 0.293061 | 8,186 | 288 | 91 | 28.423611 | 0.660791 | 0.094307 | 0 | 0.92 | 0 | 0 | 0.034539 | 0.005757 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02 | false | 0 | 0.02 | 0 | 0.06 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d948e85f50500c5cb4e6a4475a8a80d7f93ea9ee | 22,990 | py | Python | Screw up/offlineData.py | Narcolapser/Little-News-Processor | e408ebd05f8e36f139bb413c91c4b831cd1213c7 | [
"Apache-2.0"
] | 1 | 2016-01-14T15:06:03.000Z | 2016-01-14T15:06:03.000Z | Screw up/offlineData.py | Narcolapser/Little-News-Processor | e408ebd05f8e36f139bb413c91c4b831cd1213c7 | [
"Apache-2.0"
] | null | null | null | Screw up/offlineData.py | Narcolapser/Little-News-Processor | e408ebd05f8e36f139bb413c91c4b831cd1213c7 | [
"Apache-2.0"
] | null | null | null | data = [[[('Proverbs', 27, 1, 'Proverbs\nChapter 27\n\n27:1 Do not boast about tomorrow;\n\nfor you do not know what a day may bring forth.\n\n'), ('Proverbs', 27, 2, '27:2 Let another praise you, and not your own mouth;\n\nsomeone else, and not your own lips. \n\n'), ('Proverbs', 27, 3, '27:3 A stone is heavy and sand is weighty,\n\nbut vexation by a fool is more burdensome than the two of them.\n\n'), ('Proverbs', 27, 4, '27:4 Wrath is cruel and anger is overwhelming,\n\nbut who can stand before jealousy?\n\n'), ('Proverbs', 27, 5, '27:5 Better is open rebuke\n\nthan hidden love.\n\n'), ('Proverbs', 27, 6, '27:6 Faithful are the wounds of a friend,\n\nbut the kisses of an enemy are excessive.\n\n'), ('Proverbs', 27, 7, '27:7 The one whose appetite is satisfied loathes honey,\n\nbut to the hungry mouth every bitter thing is sweet.\n\n'), ('Proverbs', 27, 8, '27:8 Like a bird that wanders from its nest,\n\nso is a person who wanders from his home.\n\n'), ('Proverbs', 27, 9, '27:9 Ointment and incense make the heart rejoice,\n\nlikewise the sweetness of one’s friend from sincere counsel.\n\n'), ('Proverbs', 27, 10, '27:10 Do not forsake your friend and your father’s friend,\n\nand do not enter your brother’s house in the day of your disaster;\n\na neighbor nearby is better than a brother far away.\n\n'), ('Proverbs', 27, 11, '27:11 Be wise, my son, and make my heart glad,\n\nso that I may answer anyone who taunts me.\n\n'), ('Proverbs', 27, 12, '27:12 A shrewd person sees danger and hides himself,\n\nbut the naive keep right on going and suffer for it.\n\n'), ('Proverbs', 27, 13, '27:13 Take a man’s garment when he has given security for a stranger,\n\nand when he gives surety for a stranger, hold him in pledge.\n\n'), ('Proverbs', 27, 14, '27:14 If someone blesses his neighbor with a loud voice early in the morning,\n\nit will be counted as a curse to him.\n\n'), ('Proverbs', 27, 15, '27:15 A continual dripping on a rainy day\n\nand a contentious wife are alike.\n\n'), ('Proverbs', 27, 16, '27:16 Whoever hides her hides the wind\n\nor grasps oil with his right hand.\n\n'), ('Proverbs', 27, 17, '27:17 As iron sharpens iron,\n\nso a person sharpens his friend.\n\n'), ('Proverbs', 27, 18, '27:18 The one who tends a fig tree will eat its fruit,\n\nand whoever takes care of his master will be honored.\n\n'), ('Proverbs', 27, 19, '27:19 As in water the face is reflected as a face,\n\nso a person’s heart reflects the person. \n\n'), ('Proverbs', 27, 20, '27:20 As Death and Destruction are never satisfied,\n\nso the eyes of a person are never satisfied.\n\n'), ('Proverbs', 27, 21, '27:21 As the crucible is for silver and the furnace is for gold,\n\nso a person is proved by the praise he receives.\n\n'), ('Proverbs', 27, 22, '27:22 If you should pound the fool in the mortar\n\namong the grain with the pestle,\n\nhis foolishness would not depart from him.\n\n'), ('Proverbs', 27, 23, '27:23 Pay careful attention to the condition of your flocks,\n\ngive careful attention to your herds,\n\n'), ('Proverbs', 27, 24, '27:24 for riches do not last forever,\n\nnor does a crown last from generation to generation.\n\n'), ('Proverbs', 27, 25, '27:25 When the hay is removed and new grass appears,\n\nand the grass from the hills is gathered in,\n\n'), ('Proverbs', 27, 26, '27:26 the lambs will be for your clothing,\n\nand the goats will be for the price of a field.\n\n'), ('Proverbs', 27, 27, '27:27 And there will be enough goat’s milk for your food,\n\nfor the food of your household,\n\nand for the sustenance of your servant girls.\n')], [('1 Samuel', 27, 1, '1 Samuel\nChapter 27\n\nDavid Aligns Himself with the Philistines\n\n27:1 David thought to himself, “One of these days I’m going to be swept away by the hand of Saul! There is nothing better for me than to escape to the land of the Philistines. Then Saul will despair of searching for me through all the territory of Israel and I will escape from his hand.”\n\n'), ('1 Samuel', 27, 2, '27:2 So David left and crossed over to King Achish son of Maoch of Gath accompanied by his six hundred men. '), ('1 Samuel', 27, 3, '27:3 David settled with Achish in Gath, along with his men and their families. David had with him his two wives, Ahinoam the Jezreelite and Abigail the Carmelite, Nabal’s widow. '), ('1 Samuel', 27, 4, '27:4 When Saul learned that David had fled to Gath, he did not mount a new search for him.\n\n'), ('1 Samuel', 27, 5, '27:5 David said to Achish, “If I have found favor with you, let me be given a place in one of the country towns so that I can live there. Why should your servant settle in the royal city with you?” '), ('1 Samuel', 27, 6, '27:6 So Achish gave him Ziklag on that day. (For that reason Ziklag has belonged to the kings of Judah until this very day.) '), ('1 Samuel', 27, 7, '27:7 The length of time that David lived in the Philistine countryside was a year and four months.\n\n'), ('1 Samuel', 27, 8, '27:8 Then David and his men went up and raided the Geshurites, the Girzites, and the Amalekites. (They had been living in that land for a long time, from the approach to Shur as far as the land of Egypt.) '), ('1 Samuel', 27, 9, '27:9 When David would attack a district, he would leave neither man nor woman alive. He would take sheep, cattle, donkeys, camels, and clothing and would then go back to Achish. '), ('1 Samuel', 27, 10, '27:10 When Achish would ask, “Where did you raid today?” David would say, “The Negev of Judah” or “The Negev of Jeharmeel” or “The Negev of the Kenites.” '), ('1 Samuel', 27, 11, '27:11 Neither man nor woman would David leave alive so as to bring them back to Gath. He was thinking, “This way they can’t tell on us, saying, ‘This is what David did.’” Such was his practice the entire time that he lived in the country of the Philistines. '), ('1 Samuel', 27, 12, '27:12 So Achish trusted David, thinking to himself, “He is really hated among his own people in Israel! From now on he will be my servant.”\n')]], [['world-news : UK town will text obese residents to encourage weight loss', 'The city council of Stoke-on-Trent is sending daily motivational text messages to overweight people, in a voluntary scheme to try and curb obesity. It covers 500 people at a cost of \c2\a310,000 (about $16,000), with messages including “Eat slightly smaller portions” and “Use the stairs more”.'], , ['world-news : Spanish princess testifies in corruption case', 'Princess Cristina of Spain testified in court yesterday, accused of a financial corruption case involving royal family members. She has maintained her innocence throughout the whole process.'], ['world-news : Russians say authorities rounding up, poisoning stray dogs before Olympics', 'The Olympic city has a stray dogs problem. Thousands of stray dogs wander the streets and suburbs of Sochi, and Russian animal rights activists accused authorities of a campaign to exterminate these dogs before the start of the 2014 Winter Olympics.'], ['world-news : Passenger makes bomb threat to force plane to land in Sochi', 'A Pegasus Airlines plane landed at Istanbul today after a passenger said that there was a bomb on board and wanted the plane to land in Sochi, Russia, where the Winter Olympics are being celebrated now.'], ['world-news : Spanish authorities seize a ton of cocaine in floating backpacks', 'Spanish authorities seize dozens of submersible backpacks full of cocaine. Spain’s Civil Guard said Monday it has seized 37 of the packs, which had GPS devices to track them, with nearly 2,000 pounds of the substance.'], ["world-news : Mainland Chinese line up for Australia's 'millionaire visa'", 'Rich Chinese nationals have been queuing up for the opportunity to live in Australia under the millionaire visa program, which requires a clean criminal record and $A5 million ($US4.37 million) to invest .'], ["science : Stem cell 'major discovery' claimed", 'Japanese stem cell researchers are heralding a “major scientific discovery”, with the potential to start a new age of personalized medicine. Stem cells can transform into any tissue and are already being trialled for healing the eye, heart and brain.'], ['science : Lawrence Livermore Lab wins $45 million to create the most powerful laser ever built', 'The United States Lawrence Livermore National Laboratory joined the cutting edge of laser research, receiving $45 million dollars to build the most powerful laser ever built for an EU project in Prague, Czech Republic.'], ['science : Boston Company Developing Synthetic Organs', ' Harvard Apparatus Regenerative Technology, a regenerative-medicine company, is developing synthetic tracheas which it plans to produce on a larger scale soon. The company is testing its technique in Russia, aiming to continue tests in the European Union later this year, and eventually in the United States.'], ['science : Voyager 1 becomes first human-made object to leave solar system', 'NASA announced on Thursday that the Voyager 1 has left the solar system, being the first man made object to achieve such thing.'], ["science : 'Walking shark' discovered in Indonesia", 'A species of shark that uses its fins to cwalkd along the sea bed, to find small fish and crustaceans, has been discovered off the coast of Indonesia. It grows to a maximum length of 30 inches and is harmless to humans.'], ["science : How a Predator's Brain Maps Its Next Kill", 'Differences in a sound9s timing and loudness between ears give a Barn Owl the left-right and up-down position of prey. This brain map is stored in the owl9s optic tectum, in the midbrain, which handles all of these computations and keeps auditory, visual, and motor maps synchronised. Other animals have similar maps, though details differ.'], ['science : A Fifteen-Year-Old Has Invented an Incredible New Kind of Flashlight', 'A 15 year old from Victoria, British Columbia - Ann Makosinski - has created an LED flashlight powered by body heat, that costs just $26.'], ["science : Eye chip sends signals to blind rats' brains", 'A chip implanted in a rat9s eye sends it brain signals, so the blind rat can see. Rats with faulty vision that received the prosthetic implants responded to light with activity in their brains9 visual cortexes.'], ["tech : Facebook answers dad's emotional plea", 'Facebook helped a grieving dad who made an online plea to see a cLook Backd video about his son, Jesse Berlin, who passed away in 2012. Facebook started doing the videos as part of their 10 year anniversary.'], ['tech : Twitter Releases New Transparency Report, Says It’s ‘Considering Legal Options To Defend First Amendment Rights’', 'Twitter has followed Facebook, LinkedIn, Google, Yahoo and Microsoft, who last week revealed data about NSA information requests, and done the same. The company said that current rules do not allow it to be as transparent as it would like, and that it is considering taking its fight to the courts to defend its First Amendment rights.'], ['tech : Samsung said demanding iPhone logos covered at Olympics opening ceremony', 'According to the Swiss Olympic team, Olympics sponsor Samsung is dropping Galaxy Note 3 smartphones in athletes’ goodie-bags, with the catch of a supposed ban on any other device branding during the televised opening ceremony - for example the Apple logo on an iPhone must be physically covered so that it is not visible.'], ['tech : DARPA publishes all its open source code in one place', 'The United States Defense Advanced Research Projects Agency (DARPA) sponsors a lot of technology through grants to universities and private labs, which generates a lot of source code, although until now it hasn9t been that easy to access to it. Now it will all be in one place.'], ['tech : Sony to sell PC unit and cut jobs', 'Sony is to sell its PC unit, cut 5,000 jobs and split its TV division into a separate subsidiary, as part of a plan to reverse heavy losses. Sony forecast a net loss of 110bn yen ($1.08bn) for the financial year to 31 March, revising its earlier projection of a 30bn yen profit.'], ["tech : Paper app CEO asks Facebook to 'stop using our brand name'", 'Facebook is in hot water over the name of their newly announced app, Paper, as an existing, well-regarded app uses a similar name - Paper by FiftyThree. The latter app has been around since 2012, and FiftyThree’s CEO took to their company blog to ask that Facebook stop using their brand name.'], ['tech : FCC will double spending in order bring 100Mbps to students', 'FCC will double the spending on broadband in order to bring 100Mbps connections to students. Also $500 million of broadband funding from private companies will be announced on Tuesday.'], ['tech : Tesla completes its cross-country world record attempt', 'Two Tesla Model S electric vehicles have crossed the US from Los Angeles to New York City in 76 hours. The journey was an attempt to break a Guinness Record for cross-country energy efficiency, but it’s not yet clear if the attempt was successful.'], ["gaming : Game hit 'Flappy Bird' racks up $50K per day in ad revenue", 'According to the Vietnamese developer of the difficult mobile game, Dong Nguyen, Flappy Bird is generating on average $50,000 a day from in-app ads. It has been sitting atop the App Store and Google Play Store charts for nearly a month.'], ['gaming : World of Tanks: Xbox 360 Edition launching Feb. 12', 'Wargaming.net announced they will launch World of Tanks for Xbox 360 worldwide on February 12. The game will be downloadable only, and free to play with an Xbox Live Gold account.'], ['gaming : Forza Motorsport 5 gets 10 new performance cars', 'The Smoking Tire Car Pack for Forza Motorsport 5, featuring 10 new sports cars, will be available for Xbox One users on Feb. 5. This pack will include cars from Maserati, BMW, Alfa Romeo, Nissan, between others.'], ['gaming : Zynga buys game-maker NaturalMotion', 'Social gaming firm Zynga has announced the purchase of UK game-maker NaturalMotion for $527m. The Oxford-based NaturalMotion has mobile game hits, such as CSR Racing and Clumsy Ninja.'], ['gaming : PlayStation Plus not required to play Elder Scrolls Online on PS4', 'It has been confirmed that the upcoming MMO The Elder Scrolls Online, with its $15/month fee, will not require a PlayStation Plus subscription to be played on the PS4, whilst Xbox One players will have to pay for an Xbox Live Gold subscription in order to play.'], ['gaming : Blizzard reaches 100M lifetime World of Warcraft accounts', 'The developer of World of Warcraft, Blizzard Entertainment, announced that players have created over 100 million different accounts (including trial accounts) since the game’s release in November 2004. As of the end of September 2013, World of Warcraft had 7.6 million active subscribers.'], ["gaming : Sony to reveal the 'slimmest' launch in its history", 'Sony is inviting press to a breakfast briefing at the end of the month to introduce the “slimmest” launch in PlayStation history. So far there is no word on what the company plans to showcase. The invitation in full only teases what’s to come.'], ["gaming : 'Super-rare' Nintendo game hits eBay", 'A super rare Nintendo Entertainment System (NES) hit eBay earlier this week. Only 116 copies of Nintendo World Championships were ever made, as part of a special event in 1990. The first bid came in at $4,999, but it finally sold to $99,902.00.']], {'response': {'termsofService': 'http://www.wunderground.com/weather/api/d/terms.html', 'version': '0.1', 'features': {'forecast': 1}}, 'forecast': {'txt_forecast': {'date': '12:00 AM GMT', 'forecastday': [{'title': 'Monday', 'icon_url': 'http://icons-ak.wxug.com/i/c/k/chancerain.gif', 'fcttext_metric': 'Partly cloudy with a chance of rain in the afternoon. High of 9C. Winds from the SSW at 10 to 15 km/h. Chance of rain 30%.', 'period': 0, 'pop': '30', 'fcttext': 'Partly cloudy with a chance of rain in the afternoon. High of 48F. Winds from the SSW at 5 to 10 mph. Chance of rain 30%.', 'icon': 'chancerain'}, {'title': 'Monday Night', 'icon_url': 'http://icons-ak.wxug.com/i/c/k/mostlycloudy.gif', 'fcttext_metric': 'Partly cloudy in the evening, then overcast. Low of 1C. Breezy. Winds from the WNW at 10 to 25 km/h shifting to the SSW after midnight.', 'period': 1, 'pop': '0', 'fcttext': 'Partly cloudy in the evening, then overcast. Low of 34F. Winds from the WNW at 5 to 15 mph shifting to the SSW after midnight.', 'icon': 'mostlycloudy'}, {'title': 'Tuesday', 'icon_url': 'http://icons-ak.wxug.com/i/c/k/rain.gif', 'fcttext_metric': 'Overcast with rain in the morning, then clear with a chance of rain. High of 7C. Windy. Winds from the SW at 20 to 40 km/h. Chance of rain 70%.', 'period': 2, 'pop': '70', 'fcttext': 'Overcast with rain in the morning, then clear with a chance of rain. High of 45F. Breezy. Winds from the SW at 10 to 25 mph. Chance of rain 70%.', 'icon': 'rain'}, {'title': 'Tuesday Night', 'icon_url': 'http://icons-ak.wxug.com/i/c/k/mostlycloudy.gif', 'fcttext_metric': 'Overcast with a chance of rain. Low of 1C. Breezy. Winds from the SW at 20 to 25 km/h.', 'period': 3, 'pop': '20', 'fcttext': 'Overcast with a chance of rain. Low of 34F. Breezy. Winds from the SW at 15 to 20 mph. Chance of rain 20%.', 'icon': 'mostlycloudy'}, {'title': 'Wednesday', 'icon_url': 'http://icons-ak.wxug.com/i/c/k/chancerain.gif', 'fcttext_metric': 'Overcast with a chance of rain in the afternoon. High of 9C. Windy. Winds from the South at 25 to 45 km/h. Chance of rain 60% with rainfall amounts near 5.3 mm possible.', 'period': 4, 'pop': '60', 'fcttext': 'Overcast with a chance of rain in the afternoon. High of 48F. Breezy. Winds from the South at 15 to 30 mph. Chance of rain 60% with rainfall amounts near 0.2 in. possible.', 'icon': 'chancerain'}, {'title': 'Wednesday Night', 'icon_url': 'http://icons-ak.wxug.com/i/c/k/chancerain.gif', 'fcttext_metric': 'Partly cloudy with a chance of rain. Low of 3C. Winds from the SW at 50 to 55 km/h. Chance of rain 40%.', 'period': 5, 'pop': '40', 'fcttext': 'Partly cloudy with a chance of rain. Low of 37F. Windy. Winds from the SW at 30 to 35 mph. Chance of rain 40%.', 'icon': 'chancerain'}, {'title': 'Thursday', 'icon_url': 'http://icons-ak.wxug.com/i/c/k/mostlycloudy.gif', 'fcttext_metric': 'Partly cloudy in the morning, then overcast. High of 8C. Windy. Winds from the SW at 25 to 30 km/h.', 'period': 6, 'pop': '0', 'fcttext': 'Partly cloudy in the morning, then overcast. High of 46F. Breezy. Winds from the SW at 15 to 20 mph.', 'icon': 'mostlycloudy'}, {'title': 'Thursday Night', 'icon_url': 'http://icons-ak.wxug.com/i/c/k/partlycloudy.gif', 'fcttext_metric': 'Mostly cloudy in the evening, then overcast. Low of 2C. Breezy. Winds from the SW at 15 to 20 km/h.', 'period': 7, 'pop': '0', 'fcttext': 'Mostly cloudy in the evening, then overcast. Low of 36F. Winds from the SW at 10 to 15 mph.', 'icon': 'partlycloudy'}]}, 'simpleforecast': {'forecastday': [{'avehumidity': 82, 'maxhumidity': 91, 'avewind': {'kph': 11, 'degrees': 263, 'dir': 'West', 'mph': 7}, 'icon_url': 'http://icons-ak.wxug.com/i/c/k/chancerain.gif', 'snow_allday': {'cm': 0, 'in': 0}, 'maxwind': {'kph': 14, 'degrees': 293, 'dir': 'WNW', 'mph': 9}, 'minhumidity': 65, 'period': 1, 'pop': 30, 'skyicon': 'partlycloudy', 'high': {'fahrenheit': '48', 'celsius': '9'}, 'qpf_night': {'mm': 0.8, 'in': 0.03}, 'qpf_allday': {'mm': 0.3, 'in': 0.01}, 'low': {'fahrenheit': '34', 'celsius': '1'}, 'snow_night': {'cm': 0, 'in': 0}, 'date': {'tz_short': 'GMT', 'weekday_short': 'Mon', 'isdst': '0', 'monthname': 'February', 'hour': 21, 'min': '00', 'ampm': 'PM', 'tz_long': 'Europe/London', 'month': 2, 'epoch': '1392066000', 'sec': 0, 'weekday': 'Monday', 'pretty': '9:00 PM GMT on February 10, 2014', 'year': 2014, 'yday': 40, 'day': 10, 'monthname_short': 'Feb'}, 'snow_day': {'cm': 0, 'in': 0}, 'qpf_day': {'mm': 0.3, 'in': 0.01}, 'conditions': 'Chance of Rain', 'icon': 'chancerain'}, {'avehumidity': 75, 'maxhumidity': 85, 'avewind': {'kph': 22, 'degrees': 226, 'dir': 'SW', 'mph': 14}, 'icon_url': 'http://icons-ak.wxug.com/i/c/k/rain.gif', 'snow_allday': {'cm': 0, 'in': 0}, 'maxwind': {'kph': 35, 'degrees': 160, 'dir': 'SSE', 'mph': 22}, 'minhumidity': 71, 'period': 2, 'pop': 70, 'skyicon': 'partlycloudy', 'high': {'fahrenheit': '45', 'celsius': '7'}, 'qpf_night': {'mm': 0.0, 'in': 0.0}, 'qpf_allday': {'mm': 5.1, 'in': 0.2}, 'low': {'fahrenheit': '34', 'celsius': '1'}, 'snow_night': {'cm': 0, 'in': 0}, 'date': {'tz_short': 'GMT', 'weekday_short': 'Tue', 'isdst': '0', 'monthname': 'February', 'hour': 21, 'min': '00', 'ampm': 'PM', 'tz_long': 'Europe/London', 'month': 2, 'epoch': '1392152400', 'sec': 0, 'weekday': 'Tuesday', 'pretty': '9:00 PM GMT on February 11, 2014', 'year': 2014, 'yday': 41, 'day': 11, 'monthname_short': 'Feb'}, 'snow_day': {'cm': 0, 'in': 0}, 'qpf_day': {'mm': 4.3, 'in': 0.17}, 'conditions': 'Rain', 'icon': 'rain'}, {'avehumidity': 83, 'maxhumidity': 87, 'avewind': {'kph': 43, 'degrees': 169, 'dir': 'South', 'mph': 27}, 'icon_url': 'http://icons-ak.wxug.com/i/c/k/chancerain.gif', 'snow_allday': {'cm': 0, 'in': 0}, 'maxwind': {'kph': 51, 'degrees': 171, 'dir': 'South', 'mph': 32}, 'minhumidity': 74, 'period': 3, 'pop': 60, 'skyicon': 'partlycloudy', 'high': {'fahrenheit': '48', 'celsius': '9'}, 'qpf_night': {'mm': 1.3, 'in': 0.05}, 'qpf_allday': {'mm': 6.6, 'in': 0.26}, 'low': {'fahrenheit': '37', 'celsius': '3'}, 'snow_night': {'cm': 0, 'in': 0}, 'date': {'tz_short': 'GMT', 'weekday_short': 'Wed', 'isdst': '0', 'monthname': 'February', 'hour': 21, 'min': '00', 'ampm': 'PM', 'tz_long': 'Europe/London', 'month': 2, 'epoch': '1392238800', 'sec': 0, 'weekday': 'Wednesday', 'pretty': '9:00 PM GMT on February 12, 2014', 'year': 2014, 'yday': 42, 'day': 12, 'monthname_short': 'Feb'}, 'snow_day': {'cm': 0, 'in': 0}, 'qpf_day': {'mm': 5.3, 'in': 0.21}, 'conditions': 'Chance of Rain', 'icon': 'chancerain'}, {'avehumidity': 68, 'maxhumidity': 75, 'avewind': {'kph': 19, 'degrees': 234, 'dir': 'SW', 'mph': 12}, 'icon_url': 'http://icons-ak.wxug.com/i/c/k/mostlycloudy.gif', 'snow_allday': {'cm': 0, 'in': 0}, 'maxwind': {'kph': 27, 'degrees': 237, 'dir': 'WSW', 'mph': 17}, 'minhumidity': 63, 'period': 4, 'pop': 0, 'skyicon': 'mostlycloudy', 'high': {'fahrenheit': '46', 'celsius': '8'}, 'qpf_night': {'mm': 0.0, 'in': 0.0}, 'qpf_allday': {'mm': 0.0, 'in': 0.0}, 'low': {'fahrenheit': '36', 'celsius': '2'}, 'snow_night': {'cm': 0, 'in': 0}, 'date': {'tz_short': 'GMT', 'weekday_short': 'Thu', 'isdst': '0', 'monthname': 'February', 'hour': 21, 'min': '00', 'ampm': 'PM', 'tz_long': 'Europe/London', 'month': 2, 'epoch': '1392325200', 'sec': 0, 'weekday': 'Thursday', 'pretty': '9:00 PM GMT on February 13, 2014', 'year': 2014, 'yday': 43, 'day': 13, 'monthname_short': 'Feb'}, 'snow_day': {'cm': 0, 'in': 0}, 'qpf_day': {'mm': 0.0, 'in': 0.0}, 'conditions': 'Mostly Cloudy', 'icon': 'mostlycloudy'}]}}}]
| 11,495 | 22,989 | 0.711744 | 3,939 | 22,990 | 4.138614 | 0.305407 | 0.003558 | 0.015949 | 0.019139 | 0.194209 | 0.176543 | 0.164581 | 0.144093 | 0.136548 | 0.114587 | 0 | 0.049324 | 0.153415 | 22,990 | 1 | 22,990 | 22,990 | 0.788265 | 0 | 0 | 0 | 0 | 84 | 0.851544 | 0.00187 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 1 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
d9878d756ec74693054eca688bbe73d3d82abfc9 | 4,108 | py | Python | tests/functional/expanders/test_ath.py | FKD13/RCPU | 1f27246494f60eaa2432470b2d218bb3f63578c7 | [
"MIT"
] | 17 | 2017-07-26T13:08:34.000Z | 2022-02-19T20:44:02.000Z | tests/functional/expanders/test_ath.py | FKD13/RCPU | 1f27246494f60eaa2432470b2d218bb3f63578c7 | [
"MIT"
] | 4 | 2017-10-12T20:56:39.000Z | 2020-05-04T09:19:44.000Z | tests/functional/expanders/test_ath.py | FKD13/RCPU | 1f27246494f60eaa2432470b2d218bb3f63578c7 | [
"MIT"
] | 4 | 2017-10-16T16:24:16.000Z | 2022-03-21T19:07:06.000Z | from tests.functional.utils import execute_code
def test_ADD():
program = '''
.text
.global main:
main:
LDV A, 30
LDV B, 10
ADD A, B
HLT
'''
c = execute_code(program)
assert c.registers.get(0) == 40
assert c.registers.get(1) == 10
def test_LSH():
program = '''
.text
.global main:
main:
LDV A, 30
LSH A, 3
HLT
'''
c = execute_code(program)
assert c.registers.get(0) == 30 << 3
def test_RSH():
program = '''
.text
.global main:
main:
LDV A, 30
RSH A, 3
HLT
'''
c = execute_code(program)
assert c.registers.get(0) == 30 >> 3
def test_SUB():
program = '''
.text
.global main:
main:
LDV A, 30
LDV B, 10
SUB A, B
HLT
'''
c = execute_code(program)
assert c.registers.get(0) == 20
assert c.registers.get(1) == 10
def test_SUBS():
program = '''
.text
.global main:
main:
LDV A, 30
LDV B, 10
SUBS A, B
HLT
'''
c = execute_code(program)
assert c.registers.get(0) == 30
assert c.registers.get(1) == 20
def test_MUL():
program = '''
.text
.global main:
main:
LDV A, 30
LDV B, 10
MUL A, B
HLT
'''
c = execute_code(program)
assert c.registers.get(0) == 300
assert c.registers.get(1) == 10
def test_DIV():
program = '''
.text
.global main:
main:
LDV A, 30
LDV B, 10
DIV A, B
HLT
'''
c = execute_code(program)
assert c.registers.get(0) == 3
assert c.registers.get(1) == 10
# Check that flooring works properly
program = '''
.text
.global main:
main:
LDV A, 38
LDV B, 10
DIV A, B
HLT
'''
c = execute_code(program)
assert c.registers.get(0) == 3
assert c.registers.get(1) == 10
def test_DIVS():
program = '''
.text
.global main:
main:
LDV A, 30
LDV B, 10
DIVS A, B
HLT
'''
c = execute_code(program)
assert c.registers.get(0) == 30
assert c.registers.get(1) == 3
def test_AND():
program = '''
.text
.global main:
main:
LDV A, 30
LDV B, 10
AND A, B
HLT
'''
c = execute_code(program)
assert c.registers.get(0) == 30 & 10
assert c.registers.get(1) == 10
def test_OR():
program = '''
.text
.global main:
main:
LDV A, 30
LDV B, 10
OR A, B
HLT
'''
c = execute_code(program)
assert c.registers.get(0) == 30 | 10
assert c.registers.get(1) == 10
def test_XOR():
program = '''
.text
.global main:
main:
LDV A, 30
LDV B, 10
XOR A, B
HLT
'''
c = execute_code(program)
assert c.registers.get(0) == 30 ^ 10
assert c.registers.get(1) == 10
def test_NOT():
program = '''
.text
.global main:
main:
LDV A, 30
NOT A
HLT
'''
c = execute_code(program)
assert c.registers.get(0) == 0xFFFF - 30
def test_INC():
program = '''
.text
.global main:
main:
LDV A, 30
INC A
INC A
INC B
HLT
'''
c = execute_code(program)
assert c.registers.get(0) == 32
assert c.registers.get(1) == 1
def test_DEC():
program = '''
.text
.global main:
main:
LDV A, 30
DEC A
DEC A
DEC B
HLT
'''
c = execute_code(program)
assert c.registers.get(0) == 28
assert c.registers.get(1) == 0xFFFF
| 18.588235 | 47 | 0.436952 | 497 | 4,108 | 3.551308 | 0.104628 | 0.107082 | 0.244759 | 0.290652 | 0.865722 | 0.843059 | 0.843059 | 0.826629 | 0.685552 | 0.685552 | 0 | 0.061143 | 0.450584 | 4,108 | 220 | 48 | 18.672727 | 0.720868 | 0.008277 | 0 | 0.769634 | 0 | 0 | 0.489686 | 0 | 0 | 0 | 0.002947 | 0 | 0.141361 | 1 | 0.073298 | false | 0 | 0.005236 | 0 | 0.078534 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
79a5b924fc3683e1f1d40add9c32c52aa79aa893 | 1,630 | py | Python | microsocket/request_test.py | microplatform-io/micro-socket-python | ba1158663747e1a9afc647cc2508576bb3f944c9 | [
"Apache-2.0"
] | null | null | null | microsocket/request_test.py | microplatform-io/micro-socket-python | ba1158663747e1a9afc647cc2508576bb3f944c9 | [
"Apache-2.0"
] | null | null | null | microsocket/request_test.py | microplatform-io/micro-socket-python | ba1158663747e1a9afc647cc2508576bb3f944c9 | [
"Apache-2.0"
] | null | null | null | from unittest import TestCase
from .constants import MAX_PAYLOAD_LENGTH
from .request import Request
class RequestTestCase(TestCase):
def test_new_single_packet_request(self):
request = Request(method=1, resource=2, payload='ABC')
self.assertEqual(request.opcode, 0)
self.assertEqual(request.channel, 0)
self.assertEqual(request.direction, 0)
self.assertEqual(request.priority, 1)
self.assertEqual(request.method, 1)
self.assertEqual(request.resource, 2)
self.assertEqual(request.payload, 'ABC')
self.assertEqual(request.payload_length, 3)
self.assertEqual(request.total_sequences, 1)
request = Request(method=1, resource=2, payload='A' * MAX_PAYLOAD_LENGTH)
self.assertEqual(request.opcode, 0)
self.assertEqual(request.channel, 0)
self.assertEqual(request.direction, 0)
self.assertEqual(request.priority, 1)
self.assertEqual(request.method, 1)
self.assertEqual(request.resource, 2)
self.assertEqual(request.payload, 'A' * MAX_PAYLOAD_LENGTH)
self.assertEqual(request.payload_length, MAX_PAYLOAD_LENGTH)
self.assertEqual(request.total_sequences, 1)
def test_new_multi_packet_request(self):
request = Request(method=1, resource=2, payload='A' * MAX_PAYLOAD_LENGTH * 2)
self.assertEqual(request.opcode, 0)
self.assertEqual(request.channel, 0)
self.assertEqual(request.direction, 0)
self.assertEqual(request.priority, 1)
self.assertEqual(request.method, 1)
self.assertEqual(request.resource, 2)
self.assertEqual(request.payload, 'A' * MAX_PAYLOAD_LENGTH * 2)
self.assertEqual(request.payload_length, MAX_PAYLOAD_LENGTH * 2)
self.assertEqual(request.total_sequences, 2) | 41.794872 | 79 | 0.782822 | 215 | 1,630 | 5.804651 | 0.153488 | 0.324519 | 0.475962 | 0.165865 | 0.883013 | 0.838942 | 0.779647 | 0.761218 | 0.697115 | 0.677885 | 0 | 0.02116 | 0.101227 | 1,630 | 39 | 80 | 41.794872 | 0.830717 | 0 | 0 | 0.555556 | 0 | 0 | 0.006131 | 0 | 0 | 0 | 0 | 0 | 0.75 | 1 | 0.055556 | false | 0 | 0.083333 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
79e048736011ce54ec49a7eaf83ccb9e890c3912 | 2,633 | py | Python | tests/test_login.py | larryTheGeek/ride_my_way_v2 | b5f20095308a9230dc4fc63fcacae278c8f8ed71 | [
"MIT"
] | null | null | null | tests/test_login.py | larryTheGeek/ride_my_way_v2 | b5f20095308a9230dc4fc63fcacae278c8f8ed71 | [
"MIT"
] | 5 | 2021-03-18T20:54:03.000Z | 2022-03-11T23:27:31.000Z | tests/test_login.py | LarryKarani/ride_my_way_v2 | b5f20095308a9230dc4fc63fcacae278c8f8ed71 | [
"MIT"
] | null | null | null | import json
from .base_test import BaseTestCase
class TestRegesterUser(BaseTestCase):
def test_login(self):
self.client.post('api/auth/v1/register', data=json.dumps(
self.registerdata), content_type='application/json')
response = self.client.post('api/auth/v1/login', data=json.dumps(
self.login_data), content_type='application/json')
print(json.loads(response.data)['message'])
self.assertEqual("logged in as Larry Karani", json.loads(response.data)['message'])
print(response.data)
self.assertTrue(response.status_code == 200)
def test_unregestered_user_login(self):
response = self.client.post('api/auth/v1/login', data=json.dumps(
self.login_data), content_type='application/json')
print(json.loads(response.data)['message'])
self.assertEqual("username does not exist", json.loads(response.data)['message'])
print(response.data)
self.assertTrue(response.status_code == 400)
def test_wrong_password_login(self):
self.client.post('api/auth/v1/register', data=json.dumps(
self.registerdata), content_type='application/json')
response = self.client.post('api/auth/v1/login', data=json.dumps(
self.wrong_password), content_type='application/json')
print(json.loads(response.data)['message'])
self.assertEqual("invalid username or password", json.loads(response.data)['message'])
print(response.data)
self.assertTrue(response.status_code == 400)
def test_empty_username(self):
self.client.post('api/auth/v1/register', data=json.dumps(
self.registerdata), content_type='application/json')
response = self.client.post('api/auth/v1/login', data=json.dumps(
self.empty_username), content_type='application/json')
print(json.loads(response.data)['message'])
self.assertEqual("username cannot be empty", json.loads(response.data)['message'])
print(response.data)
self.assertTrue(response.status_code == 400)
def test_empty_password(self):
self.client.post('api/auth/v1/register', data=json.dumps(
self.registerdata), content_type='application/json')
response = self.client.post('api/auth/v1/login', data=json.dumps(
self.empty_password), content_type='application/json')
print(json.loads(response.data)['message'])
self.assertEqual("password cannot be empty", json.loads(response.data)['message'])
print(response.data)
self.assertTrue(response.status_code == 400) | 51.627451 | 94 | 0.673376 | 321 | 2,633 | 5.426791 | 0.158879 | 0.10333 | 0.097589 | 0.120551 | 0.871986 | 0.871986 | 0.871986 | 0.871986 | 0.871986 | 0.871986 | 0 | 0.011204 | 0.186479 | 2,633 | 51 | 95 | 51.627451 | 0.802054 | 0 | 0 | 0.630435 | 0 | 0 | 0.190964 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 1 | 0.108696 | false | 0.130435 | 0.043478 | 0 | 0.173913 | 0.217391 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
30a38feff3c6100668e293b34980e01ec5959aaf | 72,356 | py | Python | src/ebay_rest/api/sell_fulfillment/api/payment_dispute_api.py | craiga/ebay_rest | a0be2677c65a787e9566df848ffa3ad0c309a9d9 | [
"MIT"
] | null | null | null | src/ebay_rest/api/sell_fulfillment/api/payment_dispute_api.py | craiga/ebay_rest | a0be2677c65a787e9566df848ffa3ad0c309a9d9 | [
"MIT"
] | null | null | null | src/ebay_rest/api/sell_fulfillment/api/payment_dispute_api.py | craiga/ebay_rest | a0be2677c65a787e9566df848ffa3ad0c309a9d9 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Fulfillment API
Use the Fulfillment API to complete the process of packaging, addressing, handling, and shipping each order on behalf of the seller, in accordance with the payment method and timing specified at checkout. # noqa: E501
OpenAPI spec version: v1.19.9
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
import six
from ...sell_fulfillment.api_client import ApiClient
class PaymentDisputeApi(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
Ref: https://github.com/swagger-api/swagger-codegen
"""
def __init__(self, api_client=None):
if api_client is None:
api_client = ApiClient()
self.api_client = api_client
def accept_payment_dispute(self, payment_dispute_id, **kwargs): # noqa: E501
"""Accept Payment Dispute # noqa: E501
This method is used if the seller wishes to accept a payment dispute. The unique identifier of the payment dispute is passed in as a path parameter, and unique identifiers for payment disputes can be retrieved with the getPaymentDisputeSummaries method. The revision field in the request payload is required, and the returnAddress field should be supplied if the seller is expecting the buyer to return the item. See the Request Payload section for more information on theste fields. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.accept_payment_dispute(payment_dispute_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str payment_dispute_id: This is the unique identifier of the payment dispute. This path parameter must be passed into the call URI to identify the payment dispute for which the user plans to accept. This identifier is automatically created by eBay once the payment dispute comes into the eBay managed payments system. The unique identifier for payment disputes is returned in the paymentDisputeId field in the getPaymentDisputeSummaries response. This path parameter is required, and the actual identifier value is passed in right after the payment_dispute resource. See the Resource URI above. (required)
:param AcceptPaymentDisputeRequest body:
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.accept_payment_dispute_with_http_info(payment_dispute_id, **kwargs) # noqa: E501
else:
(data) = self.accept_payment_dispute_with_http_info(payment_dispute_id, **kwargs) # noqa: E501
return data
def accept_payment_dispute_with_http_info(self, payment_dispute_id, **kwargs): # noqa: E501
"""Accept Payment Dispute # noqa: E501
This method is used if the seller wishes to accept a payment dispute. The unique identifier of the payment dispute is passed in as a path parameter, and unique identifiers for payment disputes can be retrieved with the getPaymentDisputeSummaries method. The revision field in the request payload is required, and the returnAddress field should be supplied if the seller is expecting the buyer to return the item. See the Request Payload section for more information on theste fields. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.accept_payment_dispute_with_http_info(payment_dispute_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str payment_dispute_id: This is the unique identifier of the payment dispute. This path parameter must be passed into the call URI to identify the payment dispute for which the user plans to accept. This identifier is automatically created by eBay once the payment dispute comes into the eBay managed payments system. The unique identifier for payment disputes is returned in the paymentDisputeId field in the getPaymentDisputeSummaries response. This path parameter is required, and the actual identifier value is passed in right after the payment_dispute resource. See the Resource URI above. (required)
:param AcceptPaymentDisputeRequest body:
:return: None
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['payment_dispute_id', 'body'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method accept_payment_dispute" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'payment_dispute_id' is set
if ('payment_dispute_id' not in params or
params['payment_dispute_id'] is None):
raise ValueError("Missing the required parameter `payment_dispute_id` when calling `accept_payment_dispute`") # noqa: E501
collection_formats = {}
path_params = {}
if 'payment_dispute_id' in params:
path_params['payment_dispute_id'] = params['payment_dispute_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'body' in params:
body_params = params['body']
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['api_auth'] # noqa: E501
return self.api_client.call_api(
'/payment_dispute/{payment_dispute_id}/accept', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def add_evidence(self, payment_dispute_id, **kwargs): # noqa: E501
"""Add an Evidence File # noqa: E501
This method is used by the seller to add one or more evidence files to address a payment dispute initiated by the buyer. The unique identifier of the payment dispute is passed in as a path parameter, and unique identifiers for payment disputes can be retrieved with the getPaymentDisputeSummaries method. Note: All evidence files should be uploaded using addEvidence and updateEvidence before the seller decides to contest the payment dispute. Once the seller has officially contested the dispute (using contestPaymentDispute or through My eBay), the addEvidence and updateEvidence methods can no longer be used. In the evidenceRequests array of the getPaymentDispute response, eBay prompts the seller with the type of evidence file(s) that will be needed to contest the payment dispute. The file(s) to add are identified through the files array in the request payload. Adding one or more new evidence files for a payment dispute triggers the creation of an evidence file, and the unique identifier for the new evidence file is automatically generated and returned in the evidenceId field of the addEvidence response payload upon a successful call. The type of evidence being added should be specified in the evidenceType field. All files being added (if more than one) should correspond to this evidence type. Upon a successful call, an evidenceId value is returned in the response. This indicates that a new evidence set has been created for the payment dispute, and this evidence set includes the evidence file(s) that were passed in to the fileId array. The evidenceId value will be needed if the seller wishes to add to the evidence set by using the updateEvidence method, or if they want to retrieve a specific evidence file within the evidence set by using the fetchEvidenceContent method. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.add_evidence(payment_dispute_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str payment_dispute_id: This is the unique identifier of the payment dispute. This path parameter must be passed into the call URI to identify the payment dispute for which the user plans to add evidence for a contested payment dispute. This identifier is automatically created by eBay once the payment dispute comes into the eBay managed payments system. The unique identifier for payment disputes is returned in the paymentDisputeId field in the getPaymentDisputeSummaries response. This path parameter is required, and the actual identifier value is passed in right after the payment_dispute resource. See the Resource URI above. (required)
:param AddEvidencePaymentDisputeRequest body:
:return: AddEvidencePaymentDisputeResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.add_evidence_with_http_info(payment_dispute_id, **kwargs) # noqa: E501
else:
(data) = self.add_evidence_with_http_info(payment_dispute_id, **kwargs) # noqa: E501
return data
def add_evidence_with_http_info(self, payment_dispute_id, **kwargs): # noqa: E501
"""Add an Evidence File # noqa: E501
This method is used by the seller to add one or more evidence files to address a payment dispute initiated by the buyer. The unique identifier of the payment dispute is passed in as a path parameter, and unique identifiers for payment disputes can be retrieved with the getPaymentDisputeSummaries method. Note: All evidence files should be uploaded using addEvidence and updateEvidence before the seller decides to contest the payment dispute. Once the seller has officially contested the dispute (using contestPaymentDispute or through My eBay), the addEvidence and updateEvidence methods can no longer be used. In the evidenceRequests array of the getPaymentDispute response, eBay prompts the seller with the type of evidence file(s) that will be needed to contest the payment dispute. The file(s) to add are identified through the files array in the request payload. Adding one or more new evidence files for a payment dispute triggers the creation of an evidence file, and the unique identifier for the new evidence file is automatically generated and returned in the evidenceId field of the addEvidence response payload upon a successful call. The type of evidence being added should be specified in the evidenceType field. All files being added (if more than one) should correspond to this evidence type. Upon a successful call, an evidenceId value is returned in the response. This indicates that a new evidence set has been created for the payment dispute, and this evidence set includes the evidence file(s) that were passed in to the fileId array. The evidenceId value will be needed if the seller wishes to add to the evidence set by using the updateEvidence method, or if they want to retrieve a specific evidence file within the evidence set by using the fetchEvidenceContent method. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.add_evidence_with_http_info(payment_dispute_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str payment_dispute_id: This is the unique identifier of the payment dispute. This path parameter must be passed into the call URI to identify the payment dispute for which the user plans to add evidence for a contested payment dispute. This identifier is automatically created by eBay once the payment dispute comes into the eBay managed payments system. The unique identifier for payment disputes is returned in the paymentDisputeId field in the getPaymentDisputeSummaries response. This path parameter is required, and the actual identifier value is passed in right after the payment_dispute resource. See the Resource URI above. (required)
:param AddEvidencePaymentDisputeRequest body:
:return: AddEvidencePaymentDisputeResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['payment_dispute_id', 'body'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method add_evidence" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'payment_dispute_id' is set
if ('payment_dispute_id' not in params or
params['payment_dispute_id'] is None):
raise ValueError("Missing the required parameter `payment_dispute_id` when calling `add_evidence`") # noqa: E501
collection_formats = {}
path_params = {}
if 'payment_dispute_id' in params:
path_params['payment_dispute_id'] = params['payment_dispute_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'body' in params:
body_params = params['body']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['api_auth'] # noqa: E501
return self.api_client.call_api(
'/payment_dispute/{payment_dispute_id}/add_evidence', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='AddEvidencePaymentDisputeResponse', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def contest_payment_dispute(self, payment_dispute_id, **kwargs): # noqa: E501
"""Contest Payment Dispute # noqa: E501
This method is used if the seller wishes to contest a payment dispute initiated by the buyer. The unique identifier of the payment dispute is passed in as a path parameter, and unique identifiers for payment disputes can be retrieved with the getPaymentDisputeSummaries method. Note: Before contesting a payment dispute, the seller must upload all evidence files using the addEvidence and updateEvidence methods. Once the seller has officially contested the dispute (using contestPaymentDispute), the addEvidence and updateEvidence methods can no longer be used. In the evidenceRequests array of the getPaymentDispute response, eBay prompts the seller with the type of evidence file(s) that will be needed to contest the payment dispute. If a seller decides to contest a payment dispute, that seller should be prepared to provide evidential documents such as proof of delivery, proof of authentication, or other documents. The type of evidential documents that the seller will provide will depend on why the buyer initiated the payment dispute. The revision field in the request payload is required, and the returnAddress field should be supplied if the seller is expecting the buyer to return the item. See the Request Payload section for more information on theste fields. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.contest_payment_dispute(payment_dispute_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str payment_dispute_id: This is the unique identifier of the payment dispute. This path parameter must be passed into the call URI to identify the payment dispute for which the user plans to contest. This identifier is automatically created by eBay once the payment dispute comes into the eBay managed payments system. The unique identifier for payment disputes is returned in the paymentDisputeId field in the getPaymentDisputeSummaries response. This path parameter is required, and the actual identifier value is passed in right after the payment_dispute resource. See the Resource URI above. (required)
:param ContestPaymentDisputeRequest body:
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.contest_payment_dispute_with_http_info(payment_dispute_id, **kwargs) # noqa: E501
else:
(data) = self.contest_payment_dispute_with_http_info(payment_dispute_id, **kwargs) # noqa: E501
return data
def contest_payment_dispute_with_http_info(self, payment_dispute_id, **kwargs): # noqa: E501
"""Contest Payment Dispute # noqa: E501
This method is used if the seller wishes to contest a payment dispute initiated by the buyer. The unique identifier of the payment dispute is passed in as a path parameter, and unique identifiers for payment disputes can be retrieved with the getPaymentDisputeSummaries method. Note: Before contesting a payment dispute, the seller must upload all evidence files using the addEvidence and updateEvidence methods. Once the seller has officially contested the dispute (using contestPaymentDispute), the addEvidence and updateEvidence methods can no longer be used. In the evidenceRequests array of the getPaymentDispute response, eBay prompts the seller with the type of evidence file(s) that will be needed to contest the payment dispute. If a seller decides to contest a payment dispute, that seller should be prepared to provide evidential documents such as proof of delivery, proof of authentication, or other documents. The type of evidential documents that the seller will provide will depend on why the buyer initiated the payment dispute. The revision field in the request payload is required, and the returnAddress field should be supplied if the seller is expecting the buyer to return the item. See the Request Payload section for more information on theste fields. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.contest_payment_dispute_with_http_info(payment_dispute_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str payment_dispute_id: This is the unique identifier of the payment dispute. This path parameter must be passed into the call URI to identify the payment dispute for which the user plans to contest. This identifier is automatically created by eBay once the payment dispute comes into the eBay managed payments system. The unique identifier for payment disputes is returned in the paymentDisputeId field in the getPaymentDisputeSummaries response. This path parameter is required, and the actual identifier value is passed in right after the payment_dispute resource. See the Resource URI above. (required)
:param ContestPaymentDisputeRequest body:
:return: None
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['payment_dispute_id', 'body'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method contest_payment_dispute" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'payment_dispute_id' is set
if ('payment_dispute_id' not in params or
params['payment_dispute_id'] is None):
raise ValueError("Missing the required parameter `payment_dispute_id` when calling `contest_payment_dispute`") # noqa: E501
collection_formats = {}
path_params = {}
if 'payment_dispute_id' in params:
path_params['payment_dispute_id'] = params['payment_dispute_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'body' in params:
body_params = params['body']
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['api_auth'] # noqa: E501
return self.api_client.call_api(
'/payment_dispute/{payment_dispute_id}/contest', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def fetch_evidence_content(self, payment_dispute_id, evidence_id, file_id, **kwargs): # noqa: E501
"""Get Payment Dispute Evidence File # noqa: E501
This call retrieves a specific evidence file for a payment dispute. The following three identifying parameters are needed in the call URI: payment_dispute_id: the identifier of the payment dispute. The identifier of each payment dispute is returned in the getPaymentDisputeSummaries response. evidence_id: the identifier of the evidential file set. The identifier of an evidential file set for a payment dispute is returned under the evidence array in the getPaymentDispute response. file_id: the identifier of an evidential file. This file must belong to the evidential file set identified through the evidence_id query parameter. The identifier of each evidential file is returned under the evidence.files array in the getPaymentDispute response. An actual binary file is returned if the call is successful. An error will occur if any of three identifiers are invalid. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.fetch_evidence_content(payment_dispute_id, evidence_id, file_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str payment_dispute_id: The identifier of the payment dispute. The identifier of each payment dispute is returned in the getPaymentDisputeSummaries response. This identifier is passed in as a path parameter at the end of the call URI. (required)
:param str evidence_id: The identifier of the evidential file set. The identifier of an evidential file set for a payment dispute is returned under the evidence array in the getPaymentDispute response. Below is an example of the syntax to use for this query parameter: evidence_id=12345678 (required)
:param str file_id: The identifier of an evidential file. This file must belong to the evidential file set identified through the evidence_id query parameter. The identifier of each evidential file is returned under the evidence.files array in the getPaymentDispute response. Below is an example of the syntax to use for this query parameter: file_id=12345678 (required)
:return: list[str]
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.fetch_evidence_content_with_http_info(payment_dispute_id, evidence_id, file_id, **kwargs) # noqa: E501
else:
(data) = self.fetch_evidence_content_with_http_info(payment_dispute_id, evidence_id, file_id, **kwargs) # noqa: E501
return data
def fetch_evidence_content_with_http_info(self, payment_dispute_id, evidence_id, file_id, **kwargs): # noqa: E501
"""Get Payment Dispute Evidence File # noqa: E501
This call retrieves a specific evidence file for a payment dispute. The following three identifying parameters are needed in the call URI: payment_dispute_id: the identifier of the payment dispute. The identifier of each payment dispute is returned in the getPaymentDisputeSummaries response. evidence_id: the identifier of the evidential file set. The identifier of an evidential file set for a payment dispute is returned under the evidence array in the getPaymentDispute response. file_id: the identifier of an evidential file. This file must belong to the evidential file set identified through the evidence_id query parameter. The identifier of each evidential file is returned under the evidence.files array in the getPaymentDispute response. An actual binary file is returned if the call is successful. An error will occur if any of three identifiers are invalid. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.fetch_evidence_content_with_http_info(payment_dispute_id, evidence_id, file_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str payment_dispute_id: The identifier of the payment dispute. The identifier of each payment dispute is returned in the getPaymentDisputeSummaries response. This identifier is passed in as a path parameter at the end of the call URI. (required)
:param str evidence_id: The identifier of the evidential file set. The identifier of an evidential file set for a payment dispute is returned under the evidence array in the getPaymentDispute response. Below is an example of the syntax to use for this query parameter: evidence_id=12345678 (required)
:param str file_id: The identifier of an evidential file. This file must belong to the evidential file set identified through the evidence_id query parameter. The identifier of each evidential file is returned under the evidence.files array in the getPaymentDispute response. Below is an example of the syntax to use for this query parameter: file_id=12345678 (required)
:return: list[str]
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['payment_dispute_id', 'evidence_id', 'file_id'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method fetch_evidence_content" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'payment_dispute_id' is set
if ('payment_dispute_id' not in params or
params['payment_dispute_id'] is None):
raise ValueError("Missing the required parameter `payment_dispute_id` when calling `fetch_evidence_content`") # noqa: E501
# verify the required parameter 'evidence_id' is set
if ('evidence_id' not in params or
params['evidence_id'] is None):
raise ValueError("Missing the required parameter `evidence_id` when calling `fetch_evidence_content`") # noqa: E501
# verify the required parameter 'file_id' is set
if ('file_id' not in params or
params['file_id'] is None):
raise ValueError("Missing the required parameter `file_id` when calling `fetch_evidence_content`") # noqa: E501
collection_formats = {}
path_params = {}
if 'payment_dispute_id' in params:
path_params['payment_dispute_id'] = params['payment_dispute_id'] # noqa: E501
query_params = []
if 'evidence_id' in params:
query_params.append(('evidence_id', params['evidence_id'])) # noqa: E501
if 'file_id' in params:
query_params.append(('file_id', params['file_id'])) # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/octet-stream']) # noqa: E501
# Authentication setting
auth_settings = ['api_auth'] # noqa: E501
return self.api_client.call_api(
'/payment_dispute/{payment_dispute_id}/fetch_evidence_content', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='list[str]', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def get_activities(self, payment_dispute_id, **kwargs): # noqa: E501
"""Get Payment Dispute Activity # noqa: E501
This method retrieve a log of activity for a payment dispute. The identifier of the payment dispute is passed in as a path parameter. The output includes a timestamp for each action of the payment dispute, from creation to resolution, and all steps in between. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_activities(payment_dispute_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str payment_dispute_id: This is the unique identifier of the payment dispute. This path parameter must be passed in at the end of the call URI to identify the payment dispute for which the user wishes to see all activity. This identifier is automatically created by eBay once the payment dispute comes into the eBay managed payments system. The unique identifier for payment disputes is returned in the paymentDisputeId field in the getPaymentDisputeSummaries response. This path parameter is required, and the actual identifier value is passed in right after the payment_dispute resource. See the Resource URI above. (required)
:return: PaymentDisputeActivityHistory
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.get_activities_with_http_info(payment_dispute_id, **kwargs) # noqa: E501
else:
(data) = self.get_activities_with_http_info(payment_dispute_id, **kwargs) # noqa: E501
return data
def get_activities_with_http_info(self, payment_dispute_id, **kwargs): # noqa: E501
"""Get Payment Dispute Activity # noqa: E501
This method retrieve a log of activity for a payment dispute. The identifier of the payment dispute is passed in as a path parameter. The output includes a timestamp for each action of the payment dispute, from creation to resolution, and all steps in between. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_activities_with_http_info(payment_dispute_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str payment_dispute_id: This is the unique identifier of the payment dispute. This path parameter must be passed in at the end of the call URI to identify the payment dispute for which the user wishes to see all activity. This identifier is automatically created by eBay once the payment dispute comes into the eBay managed payments system. The unique identifier for payment disputes is returned in the paymentDisputeId field in the getPaymentDisputeSummaries response. This path parameter is required, and the actual identifier value is passed in right after the payment_dispute resource. See the Resource URI above. (required)
:return: PaymentDisputeActivityHistory
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['payment_dispute_id'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method get_activities" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'payment_dispute_id' is set
if ('payment_dispute_id' not in params or
params['payment_dispute_id'] is None):
raise ValueError("Missing the required parameter `payment_dispute_id` when calling `get_activities`") # noqa: E501
collection_formats = {}
path_params = {}
if 'payment_dispute_id' in params:
path_params['payment_dispute_id'] = params['payment_dispute_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['api_auth'] # noqa: E501
return self.api_client.call_api(
'/payment_dispute/{payment_dispute_id}/activity', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='PaymentDisputeActivityHistory', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def get_payment_dispute(self, payment_dispute_id, **kwargs): # noqa: E501
"""Get Payment Dispute Details # noqa: E501
This method retrieves detailed information on a specific payment dispute. The payment dispute identifier is passed in as path parameter at the end of the call URI. Below is a summary of the information that is retrieved: Current status of payment dispute Amount of the payment dispute Reason the payment dispute was opened Order and line items associated with the payment dispute Seller response options if an action is currently required on the payment dispute Details on the results of the payment dispute if it has been closed Details on any evidence that was provided by the seller to fight the payment dispute # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_payment_dispute(payment_dispute_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str payment_dispute_id: This is the unique identifier of the payment dispute. This path parameter must be passed in at the end of the call URI to identify the payment dispute to retrieve. This identifier is automatically created by eBay once the payment dispute comes into the eBay managed payments system. The unique identifier for payment disputes is returned in the paymentDisputeId field in the getPaymentDisputeSummaries response. (required)
:return: PaymentDispute
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.get_payment_dispute_with_http_info(payment_dispute_id, **kwargs) # noqa: E501
else:
(data) = self.get_payment_dispute_with_http_info(payment_dispute_id, **kwargs) # noqa: E501
return data
def get_payment_dispute_with_http_info(self, payment_dispute_id, **kwargs): # noqa: E501
"""Get Payment Dispute Details # noqa: E501
This method retrieves detailed information on a specific payment dispute. The payment dispute identifier is passed in as path parameter at the end of the call URI. Below is a summary of the information that is retrieved: Current status of payment dispute Amount of the payment dispute Reason the payment dispute was opened Order and line items associated with the payment dispute Seller response options if an action is currently required on the payment dispute Details on the results of the payment dispute if it has been closed Details on any evidence that was provided by the seller to fight the payment dispute # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_payment_dispute_with_http_info(payment_dispute_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str payment_dispute_id: This is the unique identifier of the payment dispute. This path parameter must be passed in at the end of the call URI to identify the payment dispute to retrieve. This identifier is automatically created by eBay once the payment dispute comes into the eBay managed payments system. The unique identifier for payment disputes is returned in the paymentDisputeId field in the getPaymentDisputeSummaries response. (required)
:return: PaymentDispute
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['payment_dispute_id'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method get_payment_dispute" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'payment_dispute_id' is set
if ('payment_dispute_id' not in params or
params['payment_dispute_id'] is None):
raise ValueError("Missing the required parameter `payment_dispute_id` when calling `get_payment_dispute`") # noqa: E501
collection_formats = {}
path_params = {}
if 'payment_dispute_id' in params:
path_params['payment_dispute_id'] = params['payment_dispute_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['api_auth'] # noqa: E501
return self.api_client.call_api(
'/payment_dispute/{payment_dispute_id}', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='PaymentDispute', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def get_payment_dispute_summaries(self, **kwargs): # noqa: E501
"""Search Payment Dispute by Filters # noqa: E501
This method is used retrieve one or more payment disputes filed against the seller. These payment disputes can be open or recently closed. The following filter types are available in the request payload to control the payment disputes that are returned: Dispute filed against a specific order (order_id parameter is used) Dispute(s) filed by a specific buyer (buyer_username parameter is used) Dispute(s) filed within a specific date range (open_date_from and/or open_date_to parameters are used) Disputes in a specific state (payment_dispute_status parameter is used)More than one of these filter types can be used together. See the request payload request fields for more information about how each filter is used. If none of the filters are used, all open and recently closed payment disputes are returned. Pagination is also available. See the limit and offset fields for more information on how pagination is used for this method. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_payment_dispute_summaries(async_req=True)
>>> result = thread.get()
:param async_req bool
:param str order_id: This filter is used if the seller wishes to retrieve one or more payment disputes filed against a specific order. It is possible that there can be more than one dispute filed against an order if the order has multiple line items. If this filter is used, any other filters are ignored. Note: The order identifier passed into this field must be an Order ID in the new format. The legacy APIs still support the old and new order ID format to identify orders, but only the new order ID format is supported in REST-based APIs. eBay rolled out a new Order ID format in June 2019.
:param str buyer_username: This filter is used if the seller wishes to retrieve one or more payment disputes opened by a specific seller. The string that is passed in to this query parameter is the eBay user ID of the buyer.
:param str open_date_from: The open_date_from and/or open_date_to date filters are used if the seller wishes to retrieve payment disputes opened within a specific date range. A maximum date range that may be set with the open_date_from and/or open_date_to filters is 90 days. These date filters use the ISO-8601 24-hour date and time format, and time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The open_date_from field sets the beginning date of the date range, and can be set as far back as 18 months from the present time. If a open_date_from field is used, but a open_date_to field is not used, the open_date_to value will default to 90 days after the date specified in the open_date_from field, or to the present time if less than 90 days in the past. The ISO-8601 format looks like this: yyyy-MM-ddThh:mm.ss.sssZ. An example would be 2019-08-04T19:09:02.768Z.
:param str open_date_to: The open_date_from and/or open_date_to date filters are used if the seller wishes to retrieve payment disputes opened within a specific date range. A maximum date range that may be set with the open_date_from and/or open_date_to filters is 90 days. These date filters use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The open_date_to field sets the ending date of the date range, and can be set up to 90 days from the date set in the open_date_from field. The ISO-8601 format looks like this: yyyy-MM-ddThh:mm.ss.sssZ. An example would be 2019-08-04T19:09:02.768Z.
:param str payment_dispute_status: This filter is used if the seller wishes to only retrieve payment disputes in a specific state. More than one value can be specified. If no payment_dispute_status filter is used, payment disputes in all states are returned in the response. See DisputeStateEnum type for supported values.
:param str limit: The value passed in this query parameter sets the maximum number of payment disputes to return per page of data. The value passed in this field should be an integer from 1 to 200. If this query parameter is not set, up to 200 records will be returned on each page of results. Min: 1; Max: 200; Default: 200
:param str offset: This field is used to specify the number of records to skip in the result set before returning the first payment dispute in the paginated response. A zero-based index is used, so if you set the offset value to 0 (default value), the first payment dispute in the result set appears at the top of the response. Combine offset with the limit parameter to control the payment disputes returned in the response. For example, if you supply an offset value of 0 and a limit value of 10, the response will contain the first 10 payment disputes from the result set that matches the input criteria. If you supply an offset value of 10 and a limit value of 20, the response will contain payment disputes 11-30 from the result set that matches the input criteria. Min: 0; Max: total number of payment disputes - 1; Default: 0
:return: DisputeSummaryResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.get_payment_dispute_summaries_with_http_info(**kwargs) # noqa: E501
else:
(data) = self.get_payment_dispute_summaries_with_http_info(**kwargs) # noqa: E501
return data
def get_payment_dispute_summaries_with_http_info(self, **kwargs): # noqa: E501
"""Search Payment Dispute by Filters # noqa: E501
This method is used retrieve one or more payment disputes filed against the seller. These payment disputes can be open or recently closed. The following filter types are available in the request payload to control the payment disputes that are returned: Dispute filed against a specific order (order_id parameter is used) Dispute(s) filed by a specific buyer (buyer_username parameter is used) Dispute(s) filed within a specific date range (open_date_from and/or open_date_to parameters are used) Disputes in a specific state (payment_dispute_status parameter is used)More than one of these filter types can be used together. See the request payload request fields for more information about how each filter is used. If none of the filters are used, all open and recently closed payment disputes are returned. Pagination is also available. See the limit and offset fields for more information on how pagination is used for this method. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_payment_dispute_summaries_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req bool
:param str order_id: This filter is used if the seller wishes to retrieve one or more payment disputes filed against a specific order. It is possible that there can be more than one dispute filed against an order if the order has multiple line items. If this filter is used, any other filters are ignored. Note: The order identifier passed into this field must be an Order ID in the new format. The legacy APIs still support the old and new order ID format to identify orders, but only the new order ID format is supported in REST-based APIs. eBay rolled out a new Order ID format in June 2019.
:param str buyer_username: This filter is used if the seller wishes to retrieve one or more payment disputes opened by a specific seller. The string that is passed in to this query parameter is the eBay user ID of the buyer.
:param str open_date_from: The open_date_from and/or open_date_to date filters are used if the seller wishes to retrieve payment disputes opened within a specific date range. A maximum date range that may be set with the open_date_from and/or open_date_to filters is 90 days. These date filters use the ISO-8601 24-hour date and time format, and time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The open_date_from field sets the beginning date of the date range, and can be set as far back as 18 months from the present time. If a open_date_from field is used, but a open_date_to field is not used, the open_date_to value will default to 90 days after the date specified in the open_date_from field, or to the present time if less than 90 days in the past. The ISO-8601 format looks like this: yyyy-MM-ddThh:mm.ss.sssZ. An example would be 2019-08-04T19:09:02.768Z.
:param str open_date_to: The open_date_from and/or open_date_to date filters are used if the seller wishes to retrieve payment disputes opened within a specific date range. A maximum date range that may be set with the open_date_from and/or open_date_to filters is 90 days. These date filters use the ISO-8601 24-hour date and time format, and the time zone used is Universal Coordinated Time (UTC), also known as Greenwich Mean Time (GMT), or Zulu. The open_date_to field sets the ending date of the date range, and can be set up to 90 days from the date set in the open_date_from field. The ISO-8601 format looks like this: yyyy-MM-ddThh:mm.ss.sssZ. An example would be 2019-08-04T19:09:02.768Z.
:param str payment_dispute_status: This filter is used if the seller wishes to only retrieve payment disputes in a specific state. More than one value can be specified. If no payment_dispute_status filter is used, payment disputes in all states are returned in the response. See DisputeStateEnum type for supported values.
:param str limit: The value passed in this query parameter sets the maximum number of payment disputes to return per page of data. The value passed in this field should be an integer from 1 to 200. If this query parameter is not set, up to 200 records will be returned on each page of results. Min: 1; Max: 200; Default: 200
:param str offset: This field is used to specify the number of records to skip in the result set before returning the first payment dispute in the paginated response. A zero-based index is used, so if you set the offset value to 0 (default value), the first payment dispute in the result set appears at the top of the response. Combine offset with the limit parameter to control the payment disputes returned in the response. For example, if you supply an offset value of 0 and a limit value of 10, the response will contain the first 10 payment disputes from the result set that matches the input criteria. If you supply an offset value of 10 and a limit value of 20, the response will contain payment disputes 11-30 from the result set that matches the input criteria. Min: 0; Max: total number of payment disputes - 1; Default: 0
:return: DisputeSummaryResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['order_id', 'buyer_username', 'open_date_from', 'open_date_to', 'payment_dispute_status', 'limit', 'offset'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method get_payment_dispute_summaries" % key
)
params[key] = val
del params['kwargs']
collection_formats = {}
path_params = {}
query_params = []
if 'order_id' in params:
query_params.append(('order_id', params['order_id'])) # noqa: E501
if 'buyer_username' in params:
query_params.append(('buyer_username', params['buyer_username'])) # noqa: E501
if 'open_date_from' in params:
query_params.append(('open_date_from', params['open_date_from'])) # noqa: E501
if 'open_date_to' in params:
query_params.append(('open_date_to', params['open_date_to'])) # noqa: E501
if 'payment_dispute_status' in params:
query_params.append(('payment_dispute_status', params['payment_dispute_status'])) # noqa: E501
if 'limit' in params:
query_params.append(('limit', params['limit'])) # noqa: E501
if 'offset' in params:
query_params.append(('offset', params['offset'])) # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['api_auth'] # noqa: E501
return self.api_client.call_api(
'/payment_dispute_summary', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='DisputeSummaryResponse', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def update_evidence(self, payment_dispute_id, **kwargs): # noqa: E501
"""Update evidence # noqa: E501
This method is used by the seller to update an existing evidence set for a payment dispute with one or more evidence files. The unique identifier of the payment dispute is passed in as a path parameter, and unique identifiers for payment disputes can be retrieved with the getPaymentDisputeSummaries method. Note: All evidence files should be uploaded using addEvidence and updateEvidence before the seller decides to contest the payment dispute. Once the seller has officially contested the dispute (using contestPaymentDispute or through My eBay), the addEvidence and updateEvidence methods can no longer be used. In the evidenceRequests array of the getPaymentDispute response, eBay prompts the seller with the type of evidence file(s) that will be needed to contest the payment dispute. The unique identifier of the evidence set to update is specified through the evidenceId field, and the file(s) to add are identified through the files array in the request payload. The unique identifier for an evidence file is automatically generated and returned in the fileId field of the uploadEvidence response payload upon a successful call. Sellers must make sure to capture the fileId value for each evidence file that is uploaded with the uploadEvidence method. The type of evidence being added should be specified in the evidenceType field. All files being added (if more than one) should correspond to this evidence type. Upon a successful call, an http status code of 204 Success is returned. There is no response payload unless an error occurs. To verify that a new file is a part of the evidence set, the seller can use the fetchEvidenceContent method, passing in the proper evidenceId and fileId values. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_evidence(payment_dispute_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str payment_dispute_id: This is the unique identifier of the payment dispute. This path parameter must be passed into the call URI to identify the payment dispute for which the user plans to update the evidence set for a contested payment dispute. This identifier is automatically created by eBay once the payment dispute comes into the eBay managed payments system. The unique identifier for payment disputes is returned in the paymentDisputeId field in the getPaymentDisputeSummaries response. This path parameter is required, and the actual identifier value is passed in right after the payment_dispute resource. See the Resource URI above. (required)
:param UpdateEvidencePaymentDisputeRequest body:
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.update_evidence_with_http_info(payment_dispute_id, **kwargs) # noqa: E501
else:
(data) = self.update_evidence_with_http_info(payment_dispute_id, **kwargs) # noqa: E501
return data
def update_evidence_with_http_info(self, payment_dispute_id, **kwargs): # noqa: E501
"""Update evidence # noqa: E501
This method is used by the seller to update an existing evidence set for a payment dispute with one or more evidence files. The unique identifier of the payment dispute is passed in as a path parameter, and unique identifiers for payment disputes can be retrieved with the getPaymentDisputeSummaries method. Note: All evidence files should be uploaded using addEvidence and updateEvidence before the seller decides to contest the payment dispute. Once the seller has officially contested the dispute (using contestPaymentDispute or through My eBay), the addEvidence and updateEvidence methods can no longer be used. In the evidenceRequests array of the getPaymentDispute response, eBay prompts the seller with the type of evidence file(s) that will be needed to contest the payment dispute. The unique identifier of the evidence set to update is specified through the evidenceId field, and the file(s) to add are identified through the files array in the request payload. The unique identifier for an evidence file is automatically generated and returned in the fileId field of the uploadEvidence response payload upon a successful call. Sellers must make sure to capture the fileId value for each evidence file that is uploaded with the uploadEvidence method. The type of evidence being added should be specified in the evidenceType field. All files being added (if more than one) should correspond to this evidence type. Upon a successful call, an http status code of 204 Success is returned. There is no response payload unless an error occurs. To verify that a new file is a part of the evidence set, the seller can use the fetchEvidenceContent method, passing in the proper evidenceId and fileId values. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_evidence_with_http_info(payment_dispute_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str payment_dispute_id: This is the unique identifier of the payment dispute. This path parameter must be passed into the call URI to identify the payment dispute for which the user plans to update the evidence set for a contested payment dispute. This identifier is automatically created by eBay once the payment dispute comes into the eBay managed payments system. The unique identifier for payment disputes is returned in the paymentDisputeId field in the getPaymentDisputeSummaries response. This path parameter is required, and the actual identifier value is passed in right after the payment_dispute resource. See the Resource URI above. (required)
:param UpdateEvidencePaymentDisputeRequest body:
:return: None
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['payment_dispute_id', 'body'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method update_evidence" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'payment_dispute_id' is set
if ('payment_dispute_id' not in params or
params['payment_dispute_id'] is None):
raise ValueError("Missing the required parameter `payment_dispute_id` when calling `update_evidence`") # noqa: E501
collection_formats = {}
path_params = {}
if 'payment_dispute_id' in params:
path_params['payment_dispute_id'] = params['payment_dispute_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'body' in params:
body_params = params['body']
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['api_auth'] # noqa: E501
return self.api_client.call_api(
'/payment_dispute/{payment_dispute_id}/update_evidence', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def upload_evidence_file(self, payment_dispute_id, **kwargs): # noqa: E501
"""Upload an Evidence File # noqa: E501
This method is used to upload an evidence file for a contested payment dispute. The unique identifier of the payment dispute is passed in as a path parameter, and unique identifiers for payment disputes can be retrieved with the getPaymentDisputeSummaries method. The uploadEvidenceFile only uploads an encrypted, binary image file (using multipart/form-data HTTP request header), and does not have a request payload. The three image formats supported at this time are .JPEG, .JPG, and .PNG. Once the file is successfully uploaded, the seller will need to grab the fileId value in the response payload to add this file to a new evidence set using the addEvidence method, or to add this file to an existing evidence set using the updateEvidence method. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.upload_evidence_file(payment_dispute_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str payment_dispute_id: This is the unique identifier of the payment dispute. This path parameter must be passed into the call URI to identify the payment dispute for which the user plans to upload an evidence file. This identifier is automatically created by eBay once the payment dispute comes into the eBay managed payments system. The unique identifier for payment disputes is returned in the paymentDisputeId field in the getPaymentDisputeSummaries response. This path parameter is required, and the actual identifier value is passed in right after the payment_dispute resource. See the Resource URI above. (required)
:return: FileEvidence
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.upload_evidence_file_with_http_info(payment_dispute_id, **kwargs) # noqa: E501
else:
(data) = self.upload_evidence_file_with_http_info(payment_dispute_id, **kwargs) # noqa: E501
return data
def upload_evidence_file_with_http_info(self, payment_dispute_id, **kwargs): # noqa: E501
"""Upload an Evidence File # noqa: E501
This method is used to upload an evidence file for a contested payment dispute. The unique identifier of the payment dispute is passed in as a path parameter, and unique identifiers for payment disputes can be retrieved with the getPaymentDisputeSummaries method. The uploadEvidenceFile only uploads an encrypted, binary image file (using multipart/form-data HTTP request header), and does not have a request payload. The three image formats supported at this time are .JPEG, .JPG, and .PNG. Once the file is successfully uploaded, the seller will need to grab the fileId value in the response payload to add this file to a new evidence set using the addEvidence method, or to add this file to an existing evidence set using the updateEvidence method. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.upload_evidence_file_with_http_info(payment_dispute_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str payment_dispute_id: This is the unique identifier of the payment dispute. This path parameter must be passed into the call URI to identify the payment dispute for which the user plans to upload an evidence file. This identifier is automatically created by eBay once the payment dispute comes into the eBay managed payments system. The unique identifier for payment disputes is returned in the paymentDisputeId field in the getPaymentDisputeSummaries response. This path parameter is required, and the actual identifier value is passed in right after the payment_dispute resource. See the Resource URI above. (required)
:return: FileEvidence
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['payment_dispute_id'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method upload_evidence_file" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'payment_dispute_id' is set
if ('payment_dispute_id' not in params or
params['payment_dispute_id'] is None):
raise ValueError("Missing the required parameter `payment_dispute_id` when calling `upload_evidence_file`") # noqa: E501
collection_formats = {}
path_params = {}
if 'payment_dispute_id' in params:
path_params['payment_dispute_id'] = params['payment_dispute_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['api_auth'] # noqa: E501
return self.api_client.call_api(
'/payment_dispute/{payment_dispute_id}/upload_evidence_file', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='FileEvidence', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
| 76.567196 | 1,818 | 0.71625 | 10,084 | 72,356 | 4.999008 | 0.047798 | 0.094426 | 0.043801 | 0.013569 | 0.971295 | 0.967229 | 0.963777 | 0.958778 | 0.957806 | 0.954513 | 0 | 0.012064 | 0.22902 | 72,356 | 944 | 1,819 | 76.648305 | 0.891584 | 0.638358 | 0 | 0.77668 | 0 | 0 | 0.216828 | 0.060866 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037549 | false | 0 | 0.007905 | 0 | 0.100791 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
30b35b5025d5d92ba55bb3f9738f1fa582ddefc0 | 1,591 | py | Python | Gallery/migrations/0017_auto_20210225_1155.py | CiganOliviu/InfiniteShoot | 14f7fb21e360e3c58876d82ebbe206054c72958e | [
"MIT"
] | 1 | 2021-04-02T16:45:37.000Z | 2021-04-02T16:45:37.000Z | Gallery/migrations/0017_auto_20210225_1155.py | CiganOliviu/InfiniteShoot-1 | 6322ae34f88caaffc1de29dfa4f6d86d175810a7 | [
"Apache-2.0"
] | null | null | null | Gallery/migrations/0017_auto_20210225_1155.py | CiganOliviu/InfiniteShoot-1 | 6322ae34f88caaffc1de29dfa4f6d86d175810a7 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 3.0.8 on 2021-02-25 11:55
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('Gallery', '0016_auto_20210225_1148'),
]
operations = [
migrations.AlterField(
model_name='imagesclient',
name='pick_back_image',
field=models.CharField(choices=[('Yes', 'YES'), ('No', 'NO')], default='No', max_length=5),
),
migrations.AlterField(
model_name='imagesclient',
name='pick_content_image_four',
field=models.CharField(choices=[('Yes', 'YES'), ('No', 'NO')], default='No', max_length=5),
),
migrations.AlterField(
model_name='imagesclient',
name='pick_content_image_one',
field=models.CharField(choices=[('Yes', 'YES'), ('No', 'NO')], default='No', max_length=5),
),
migrations.AlterField(
model_name='imagesclient',
name='pick_content_image_three',
field=models.CharField(choices=[('Yes', 'YES'), ('No', 'NO')], default='No', max_length=5),
),
migrations.AlterField(
model_name='imagesclient',
name='pick_content_image_two',
field=models.CharField(choices=[('Yes', 'YES'), ('No', 'NO')], default='No', max_length=5),
),
migrations.AlterField(
model_name='imagesclient',
name='pick_cover_image',
field=models.CharField(choices=[('Yes', 'YES'), ('No', 'NO')], default='No', max_length=5),
),
]
| 36.159091 | 103 | 0.561282 | 165 | 1,591 | 5.224242 | 0.290909 | 0.139211 | 0.174014 | 0.201856 | 0.798144 | 0.798144 | 0.798144 | 0.741299 | 0.741299 | 0.741299 | 0 | 0.03176 | 0.267756 | 1,591 | 43 | 104 | 37 | 0.708155 | 0.028284 | 0 | 0.648649 | 1 | 0 | 0.19171 | 0.073834 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027027 | 0 | 0.108108 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
30ce8f6c56bc121d633e13fa5d750a3fdc174678 | 54,960 | py | Python | core/lib/extremephysics.py | mofostopheles/star-eyes | 81606d2cb5545ea665b537202881ec03dcf3e9fc | [
"MIT"
] | 3 | 2018-08-15T22:30:33.000Z | 2018-10-03T17:21:14.000Z | core/lib/extremephysics.py | mofostopheles/star-eyes | 81606d2cb5545ea665b537202881ec03dcf3e9fc | [
"MIT"
] | 1 | 2018-09-01T20:38:19.000Z | 2018-09-02T15:51:14.000Z | core/lib/extremephysics.py | mofostopheles/star-eyes | 81606d2cb5545ea665b537202881ec03dcf3e9fc | [
"MIT"
] | 2 | 2018-07-30T18:46:25.000Z | 2018-09-01T20:01:57.000Z | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 2.0.4
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info
if version_info >= (2,6,0):
def swig_import_helper():
from os.path import dirname
import imp
fp = None
try:
fp, pathname, description = imp.find_module('_extremephysics', [dirname(__file__)])
except ImportError:
import _extremephysics
return _extremephysics
if fp is not None:
try:
_mod = imp.load_module('_extremephysics', fp, pathname, description)
finally:
fp.close()
return _mod
_extremephysics = swig_import_helper()
del swig_import_helper
else:
import _extremephysics
del version_info
try:
_swig_property = property
except NameError:
pass # Python < 2.2 doesn't have 'property'.
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "thisown"): return self.this.own(value)
if (name == "this"):
if type(value).__name__ == 'SwigPyObject':
self.__dict__[name] = value
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
if (name == "thisown"): return self.this.own()
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError(name)
def _swig_repr(self):
try: strthis = "proxy of " + self.this.__repr__()
except: strthis = ""
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
try:
_object = object
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
def ep_version():
return _extremephysics.ep_version()
ep_version = _extremephysics.ep_version
def ep_set_log_file(*args):
return _extremephysics.ep_set_log_file(*args)
ep_set_log_file = _extremephysics.ep_set_log_file
def ep_set_show_errors(*args):
return _extremephysics.ep_set_show_errors(*args)
ep_set_show_errors = _extremephysics.ep_set_show_errors
def ep_message(*args):
return _extremephysics.ep_message(*args)
ep_message = _extremephysics.ep_message
def ep_print_object_tree():
return _extremephysics.ep_print_object_tree()
ep_print_object_tree = _extremephysics.ep_print_object_tree
def ep_collision_test_box_box(*args):
return _extremephysics.ep_collision_test_box_box(*args)
ep_collision_test_box_box = _extremephysics.ep_collision_test_box_box
def ep_collision_test_box_line(*args):
return _extremephysics.ep_collision_test_box_line(*args)
ep_collision_test_box_line = _extremephysics.ep_collision_test_box_line
def ep_collision_test_box_circle(*args):
return _extremephysics.ep_collision_test_box_circle(*args)
ep_collision_test_box_circle = _extremephysics.ep_collision_test_box_circle
def ep_collision_test_box_polygon(*args):
return _extremephysics.ep_collision_test_box_polygon(*args)
ep_collision_test_box_polygon = _extremephysics.ep_collision_test_box_polygon
def ep_collision_test_line_line(*args):
return _extremephysics.ep_collision_test_line_line(*args)
ep_collision_test_line_line = _extremephysics.ep_collision_test_line_line
def ep_collision_test_line_circle(*args):
return _extremephysics.ep_collision_test_line_circle(*args)
ep_collision_test_line_circle = _extremephysics.ep_collision_test_line_circle
def ep_collision_test_line_polygon(*args):
return _extremephysics.ep_collision_test_line_polygon(*args)
ep_collision_test_line_polygon = _extremephysics.ep_collision_test_line_polygon
def ep_collision_test_circle_circle(*args):
return _extremephysics.ep_collision_test_circle_circle(*args)
ep_collision_test_circle_circle = _extremephysics.ep_collision_test_circle_circle
def ep_collision_test_circle_polygon(*args):
return _extremephysics.ep_collision_test_circle_polygon(*args)
ep_collision_test_circle_polygon = _extremephysics.ep_collision_test_circle_polygon
def ep_collision_test_polygon_polygon(*args):
return _extremephysics.ep_collision_test_polygon_polygon(*args)
ep_collision_test_polygon_polygon = _extremephysics.ep_collision_test_polygon_polygon
def ep_ray_cast_box(*args):
return _extremephysics.ep_ray_cast_box(*args)
ep_ray_cast_box = _extremephysics.ep_ray_cast_box
def ep_ray_cast_line(*args):
return _extremephysics.ep_ray_cast_line(*args)
ep_ray_cast_line = _extremephysics.ep_ray_cast_line
def ep_ray_cast_circle(*args):
return _extremephysics.ep_ray_cast_circle(*args)
ep_ray_cast_circle = _extremephysics.ep_ray_cast_circle
def ep_ray_cast_polygon(*args):
return _extremephysics.ep_ray_cast_polygon(*args)
ep_ray_cast_polygon = _extremephysics.ep_ray_cast_polygon
def ep_first_world():
return _extremephysics.ep_first_world()
ep_first_world = _extremephysics.ep_first_world
def ep_last_world():
return _extremephysics.ep_last_world()
ep_last_world = _extremephysics.ep_last_world
def ep_world_create():
return _extremephysics.ep_world_create()
ep_world_create = _extremephysics.ep_world_create
def ep_world_destroy(*args):
return _extremephysics.ep_world_destroy(*args)
ep_world_destroy = _extremephysics.ep_world_destroy
def ep_world_exists(*args):
return _extremephysics.ep_world_exists(*args)
ep_world_exists = _extremephysics.ep_world_exists
def ep_world_clear(*args):
return _extremephysics.ep_world_clear(*args)
ep_world_clear = _extremephysics.ep_world_clear
def ep_world_set_settings(*args):
return _extremephysics.ep_world_set_settings(*args)
ep_world_set_settings = _extremephysics.ep_world_set_settings
def ep_world_set_primary_axis(*args):
return _extremephysics.ep_world_set_primary_axis(*args)
ep_world_set_primary_axis = _extremephysics.ep_world_set_primary_axis
def ep_world_set_sleeping(*args):
return _extremephysics.ep_world_set_sleeping(*args)
ep_world_set_sleeping = _extremephysics.ep_world_set_sleeping
def ep_world_update_contacts(*args):
return _extremephysics.ep_world_update_contacts(*args)
ep_world_update_contacts = _extremephysics.ep_world_update_contacts
def ep_world_simulate_step(*args):
return _extremephysics.ep_world_simulate_step(*args)
ep_world_simulate_step = _extremephysics.ep_world_simulate_step
def ep_world_collision_test_box(*args):
return _extremephysics.ep_world_collision_test_box(*args)
ep_world_collision_test_box = _extremephysics.ep_world_collision_test_box
def ep_world_collision_test_line(*args):
return _extremephysics.ep_world_collision_test_line(*args)
ep_world_collision_test_line = _extremephysics.ep_world_collision_test_line
def ep_world_collision_test_circle(*args):
return _extremephysics.ep_world_collision_test_circle(*args)
ep_world_collision_test_circle = _extremephysics.ep_world_collision_test_circle
def ep_world_collision_test_polygon(*args):
return _extremephysics.ep_world_collision_test_polygon(*args)
ep_world_collision_test_polygon = _extremephysics.ep_world_collision_test_polygon
def ep_world_ray_cast(*args):
return _extremephysics.ep_world_ray_cast(*args)
ep_world_ray_cast = _extremephysics.ep_world_ray_cast
def ep_world_get_collision_body(*args):
return _extremephysics.ep_world_get_collision_body(*args)
ep_world_get_collision_body = _extremephysics.ep_world_get_collision_body
def ep_world_get_collision_shape(*args):
return _extremephysics.ep_world_get_collision_shape(*args)
ep_world_get_collision_shape = _extremephysics.ep_world_get_collision_shape
def ep_world_multipoly_begin(*args):
return _extremephysics.ep_world_multipoly_begin(*args)
ep_world_multipoly_begin = _extremephysics.ep_world_multipoly_begin
def ep_world_multipoly_end(*args):
return _extremephysics.ep_world_multipoly_end(*args)
ep_world_multipoly_end = _extremephysics.ep_world_multipoly_end
def ep_world_multipoly_set_vertex(*args):
return _extremephysics.ep_world_multipoly_set_vertex(*args)
ep_world_multipoly_set_vertex = _extremephysics.ep_world_multipoly_set_vertex
def ep_world_multipoly_get_first(*args):
return _extremephysics.ep_world_multipoly_get_first(*args)
ep_world_multipoly_get_first = _extremephysics.ep_world_multipoly_get_first
def ep_world_multipoly_get_last(*args):
return _extremephysics.ep_world_multipoly_get_last(*args)
ep_world_multipoly_get_last = _extremephysics.ep_world_multipoly_get_last
def ep_world_serialize(*args):
return _extremephysics.ep_world_serialize(*args)
ep_world_serialize = _extremephysics.ep_world_serialize
def ep_world_unserialize(*args):
return _extremephysics.ep_world_unserialize(*args)
ep_world_unserialize = _extremephysics.ep_world_unserialize
def ep_world_previous(*args):
return _extremephysics.ep_world_previous(*args)
ep_world_previous = _extremephysics.ep_world_previous
def ep_world_next(*args):
return _extremephysics.ep_world_next(*args)
ep_world_next = _extremephysics.ep_world_next
def ep_world_set_uservar(*args):
return _extremephysics.ep_world_set_uservar(*args)
ep_world_set_uservar = _extremephysics.ep_world_set_uservar
def ep_world_get_uservar(*args):
return _extremephysics.ep_world_get_uservar(*args)
ep_world_get_uservar = _extremephysics.ep_world_get_uservar
def ep_world_first_polygon(*args):
return _extremephysics.ep_world_first_polygon(*args)
ep_world_first_polygon = _extremephysics.ep_world_first_polygon
def ep_world_last_polygon(*args):
return _extremephysics.ep_world_last_polygon(*args)
ep_world_last_polygon = _extremephysics.ep_world_last_polygon
def ep_world_polygon_count(*args):
return _extremephysics.ep_world_polygon_count(*args)
ep_world_polygon_count = _extremephysics.ep_world_polygon_count
def ep_world_first_body(*args):
return _extremephysics.ep_world_first_body(*args)
ep_world_first_body = _extremephysics.ep_world_first_body
def ep_world_last_body(*args):
return _extremephysics.ep_world_last_body(*args)
ep_world_last_body = _extremephysics.ep_world_last_body
def ep_world_body_count(*args):
return _extremephysics.ep_world_body_count(*args)
ep_world_body_count = _extremephysics.ep_world_body_count
def ep_world_first_contact(*args):
return _extremephysics.ep_world_first_contact(*args)
ep_world_first_contact = _extremephysics.ep_world_first_contact
def ep_world_last_contact(*args):
return _extremephysics.ep_world_last_contact(*args)
ep_world_last_contact = _extremephysics.ep_world_last_contact
def ep_world_contact_count(*args):
return _extremephysics.ep_world_contact_count(*args)
ep_world_contact_count = _extremephysics.ep_world_contact_count
def ep_world_first_hingejoint(*args):
return _extremephysics.ep_world_first_hingejoint(*args)
ep_world_first_hingejoint = _extremephysics.ep_world_first_hingejoint
def ep_world_last_hingejoint(*args):
return _extremephysics.ep_world_last_hingejoint(*args)
ep_world_last_hingejoint = _extremephysics.ep_world_last_hingejoint
def ep_world_hingejoint_count(*args):
return _extremephysics.ep_world_hingejoint_count(*args)
ep_world_hingejoint_count = _extremephysics.ep_world_hingejoint_count
def ep_world_first_distancejoint(*args):
return _extremephysics.ep_world_first_distancejoint(*args)
ep_world_first_distancejoint = _extremephysics.ep_world_first_distancejoint
def ep_world_last_distancejoint(*args):
return _extremephysics.ep_world_last_distancejoint(*args)
ep_world_last_distancejoint = _extremephysics.ep_world_last_distancejoint
def ep_world_distancejoint_count(*args):
return _extremephysics.ep_world_distancejoint_count(*args)
ep_world_distancejoint_count = _extremephysics.ep_world_distancejoint_count
def ep_world_first_railjoint(*args):
return _extremephysics.ep_world_first_railjoint(*args)
ep_world_first_railjoint = _extremephysics.ep_world_first_railjoint
def ep_world_last_railjoint(*args):
return _extremephysics.ep_world_last_railjoint(*args)
ep_world_last_railjoint = _extremephysics.ep_world_last_railjoint
def ep_world_railjoint_count(*args):
return _extremephysics.ep_world_railjoint_count(*args)
ep_world_railjoint_count = _extremephysics.ep_world_railjoint_count
def ep_world_first_sliderjoint(*args):
return _extremephysics.ep_world_first_sliderjoint(*args)
ep_world_first_sliderjoint = _extremephysics.ep_world_first_sliderjoint
def ep_world_last_sliderjoint(*args):
return _extremephysics.ep_world_last_sliderjoint(*args)
ep_world_last_sliderjoint = _extremephysics.ep_world_last_sliderjoint
def ep_world_sliderjoint_count(*args):
return _extremephysics.ep_world_sliderjoint_count(*args)
ep_world_sliderjoint_count = _extremephysics.ep_world_sliderjoint_count
def ep_world_first_view(*args):
return _extremephysics.ep_world_first_view(*args)
ep_world_first_view = _extremephysics.ep_world_first_view
def ep_world_last_view(*args):
return _extremephysics.ep_world_last_view(*args)
ep_world_last_view = _extremephysics.ep_world_last_view
def ep_world_view_count(*args):
return _extremephysics.ep_world_view_count(*args)
ep_world_view_count = _extremephysics.ep_world_view_count
def ep_world_first_water(*args):
return _extremephysics.ep_world_first_water(*args)
ep_world_first_water = _extremephysics.ep_world_first_water
def ep_world_last_water(*args):
return _extremephysics.ep_world_last_water(*args)
ep_world_last_water = _extremephysics.ep_world_last_water
def ep_world_water_count(*args):
return _extremephysics.ep_world_water_count(*args)
ep_world_water_count = _extremephysics.ep_world_water_count
def ep_world_shape_count(*args):
return _extremephysics.ep_world_shape_count(*args)
ep_world_shape_count = _extremephysics.ep_world_shape_count
def ep_world_force_count(*args):
return _extremephysics.ep_world_force_count(*args)
ep_world_force_count = _extremephysics.ep_world_force_count
def ep_polygon_create(*args):
return _extremephysics.ep_polygon_create(*args)
ep_polygon_create = _extremephysics.ep_polygon_create
def ep_polygon_destroy(*args):
return _extremephysics.ep_polygon_destroy(*args)
ep_polygon_destroy = _extremephysics.ep_polygon_destroy
def ep_polygon_exists(*args):
return _extremephysics.ep_polygon_exists(*args)
ep_polygon_exists = _extremephysics.ep_polygon_exists
def ep_polygon_set_vertex(*args):
return _extremephysics.ep_polygon_set_vertex(*args)
ep_polygon_set_vertex = _extremephysics.ep_polygon_set_vertex
def ep_polygon_initialize(*args):
return _extremephysics.ep_polygon_initialize(*args)
ep_polygon_initialize = _extremephysics.ep_polygon_initialize
def ep_polygon_get_vertex_count(*args):
return _extremephysics.ep_polygon_get_vertex_count(*args)
ep_polygon_get_vertex_count = _extremephysics.ep_polygon_get_vertex_count
def ep_polygon_get_vertex_x(*args):
return _extremephysics.ep_polygon_get_vertex_x(*args)
ep_polygon_get_vertex_x = _extremephysics.ep_polygon_get_vertex_x
def ep_polygon_get_vertex_y(*args):
return _extremephysics.ep_polygon_get_vertex_y(*args)
ep_polygon_get_vertex_y = _extremephysics.ep_polygon_get_vertex_y
def ep_polygon_get_vertex_normal_x(*args):
return _extremephysics.ep_polygon_get_vertex_normal_x(*args)
ep_polygon_get_vertex_normal_x = _extremephysics.ep_polygon_get_vertex_normal_x
def ep_polygon_get_vertex_normal_y(*args):
return _extremephysics.ep_polygon_get_vertex_normal_y(*args)
ep_polygon_get_vertex_normal_y = _extremephysics.ep_polygon_get_vertex_normal_y
def ep_polygon_get_edge_length(*args):
return _extremephysics.ep_polygon_get_edge_length(*args)
ep_polygon_get_edge_length = _extremephysics.ep_polygon_get_edge_length
def ep_polygon_previous(*args):
return _extremephysics.ep_polygon_previous(*args)
ep_polygon_previous = _extremephysics.ep_polygon_previous
def ep_polygon_next(*args):
return _extremephysics.ep_polygon_next(*args)
ep_polygon_next = _extremephysics.ep_polygon_next
def ep_polygon_set_uservar(*args):
return _extremephysics.ep_polygon_set_uservar(*args)
ep_polygon_set_uservar = _extremephysics.ep_polygon_set_uservar
def ep_polygon_get_uservar(*args):
return _extremephysics.ep_polygon_get_uservar(*args)
ep_polygon_get_uservar = _extremephysics.ep_polygon_get_uservar
def ep_body_create_static(*args):
return _extremephysics.ep_body_create_static(*args)
ep_body_create_static = _extremephysics.ep_body_create_static
def ep_body_create_dynamic(*args):
return _extremephysics.ep_body_create_dynamic(*args)
ep_body_create_dynamic = _extremephysics.ep_body_create_dynamic
def ep_body_destroy(*args):
return _extremephysics.ep_body_destroy(*args)
ep_body_destroy = _extremephysics.ep_body_destroy
def ep_body_exists(*args):
return _extremephysics.ep_body_exists(*args)
ep_body_exists = _extremephysics.ep_body_exists
def ep_body_get_first_hingejoint(*args):
return _extremephysics.ep_body_get_first_hingejoint(*args)
ep_body_get_first_hingejoint = _extremephysics.ep_body_get_first_hingejoint
def ep_body_get_last_hingejoint(*args):
return _extremephysics.ep_body_get_last_hingejoint(*args)
ep_body_get_last_hingejoint = _extremephysics.ep_body_get_last_hingejoint
def ep_body_get_previous_hingejoint(*args):
return _extremephysics.ep_body_get_previous_hingejoint(*args)
ep_body_get_previous_hingejoint = _extremephysics.ep_body_get_previous_hingejoint
def ep_body_get_next_hingejoint(*args):
return _extremephysics.ep_body_get_next_hingejoint(*args)
ep_body_get_next_hingejoint = _extremephysics.ep_body_get_next_hingejoint
def ep_body_get_first_distancejoint(*args):
return _extremephysics.ep_body_get_first_distancejoint(*args)
ep_body_get_first_distancejoint = _extremephysics.ep_body_get_first_distancejoint
def ep_body_get_last_distancejoint(*args):
return _extremephysics.ep_body_get_last_distancejoint(*args)
ep_body_get_last_distancejoint = _extremephysics.ep_body_get_last_distancejoint
def ep_body_get_previous_distancejoint(*args):
return _extremephysics.ep_body_get_previous_distancejoint(*args)
ep_body_get_previous_distancejoint = _extremephysics.ep_body_get_previous_distancejoint
def ep_body_get_next_distancejoint(*args):
return _extremephysics.ep_body_get_next_distancejoint(*args)
ep_body_get_next_distancejoint = _extremephysics.ep_body_get_next_distancejoint
def ep_body_get_first_railjoint(*args):
return _extremephysics.ep_body_get_first_railjoint(*args)
ep_body_get_first_railjoint = _extremephysics.ep_body_get_first_railjoint
def ep_body_get_last_railjoint(*args):
return _extremephysics.ep_body_get_last_railjoint(*args)
ep_body_get_last_railjoint = _extremephysics.ep_body_get_last_railjoint
def ep_body_get_previous_railjoint(*args):
return _extremephysics.ep_body_get_previous_railjoint(*args)
ep_body_get_previous_railjoint = _extremephysics.ep_body_get_previous_railjoint
def ep_body_get_next_railjoint(*args):
return _extremephysics.ep_body_get_next_railjoint(*args)
ep_body_get_next_railjoint = _extremephysics.ep_body_get_next_railjoint
def ep_body_get_first_sliderjoint(*args):
return _extremephysics.ep_body_get_first_sliderjoint(*args)
ep_body_get_first_sliderjoint = _extremephysics.ep_body_get_first_sliderjoint
def ep_body_get_last_sliderjoint(*args):
return _extremephysics.ep_body_get_last_sliderjoint(*args)
ep_body_get_last_sliderjoint = _extremephysics.ep_body_get_last_sliderjoint
def ep_body_get_previous_sliderjoint(*args):
return _extremephysics.ep_body_get_previous_sliderjoint(*args)
ep_body_get_previous_sliderjoint = _extremephysics.ep_body_get_previous_sliderjoint
def ep_body_get_next_sliderjoint(*args):
return _extremephysics.ep_body_get_next_sliderjoint(*args)
ep_body_get_next_sliderjoint = _extremephysics.ep_body_get_next_sliderjoint
def ep_body_calculate_mass(*args):
return _extremephysics.ep_body_calculate_mass(*args)
ep_body_calculate_mass = _extremephysics.ep_body_calculate_mass
def ep_body_set_mass(*args):
return _extremephysics.ep_body_set_mass(*args)
ep_body_set_mass = _extremephysics.ep_body_set_mass
def ep_body_set_inertia(*args):
return _extremephysics.ep_body_set_inertia(*args)
ep_body_set_inertia = _extremephysics.ep_body_set_inertia
def ep_body_set_center(*args):
return _extremephysics.ep_body_set_center(*args)
ep_body_set_center = _extremephysics.ep_body_set_center
def ep_body_set_position(*args):
return _extremephysics.ep_body_set_position(*args)
ep_body_set_position = _extremephysics.ep_body_set_position
def ep_body_set_position_center(*args):
return _extremephysics.ep_body_set_position_center(*args)
ep_body_set_position_center = _extremephysics.ep_body_set_position_center
def ep_body_set_position_local_point(*args):
return _extremephysics.ep_body_set_position_local_point(*args)
ep_body_set_position_local_point = _extremephysics.ep_body_set_position_local_point
def ep_body_set_velocity_center(*args):
return _extremephysics.ep_body_set_velocity_center(*args)
ep_body_set_velocity_center = _extremephysics.ep_body_set_velocity_center
def ep_body_set_velocity_local_point(*args):
return _extremephysics.ep_body_set_velocity_local_point(*args)
ep_body_set_velocity_local_point = _extremephysics.ep_body_set_velocity_local_point
def ep_body_set_max_velocity(*args):
return _extremephysics.ep_body_set_max_velocity(*args)
ep_body_set_max_velocity = _extremephysics.ep_body_set_max_velocity
def ep_body_set_gravity(*args):
return _extremephysics.ep_body_set_gravity(*args)
ep_body_set_gravity = _extremephysics.ep_body_set_gravity
def ep_body_set_damping(*args):
return _extremephysics.ep_body_set_damping(*args)
ep_body_set_damping = _extremephysics.ep_body_set_damping
def ep_body_store_impulses(*args):
return _extremephysics.ep_body_store_impulses(*args)
ep_body_store_impulses = _extremephysics.ep_body_store_impulses
def ep_body_set_sleeping(*args):
return _extremephysics.ep_body_set_sleeping(*args)
ep_body_set_sleeping = _extremephysics.ep_body_set_sleeping
def ep_body_collision_test_box(*args):
return _extremephysics.ep_body_collision_test_box(*args)
ep_body_collision_test_box = _extremephysics.ep_body_collision_test_box
def ep_body_collision_test_line(*args):
return _extremephysics.ep_body_collision_test_line(*args)
ep_body_collision_test_line = _extremephysics.ep_body_collision_test_line
def ep_body_collision_test_circle(*args):
return _extremephysics.ep_body_collision_test_circle(*args)
ep_body_collision_test_circle = _extremephysics.ep_body_collision_test_circle
def ep_body_collision_test_polygon(*args):
return _extremephysics.ep_body_collision_test_polygon(*args)
ep_body_collision_test_polygon = _extremephysics.ep_body_collision_test_polygon
def ep_body_ray_cast(*args):
return _extremephysics.ep_body_ray_cast(*args)
ep_body_ray_cast = _extremephysics.ep_body_ray_cast
def ep_body_apply_impulse(*args):
return _extremephysics.ep_body_apply_impulse(*args)
ep_body_apply_impulse = _extremephysics.ep_body_apply_impulse
def ep_body_apply_impulse_relative(*args):
return _extremephysics.ep_body_apply_impulse_relative(*args)
ep_body_apply_impulse_relative = _extremephysics.ep_body_apply_impulse_relative
def ep_body_get_mass(*args):
return _extremephysics.ep_body_get_mass(*args)
ep_body_get_mass = _extremephysics.ep_body_get_mass
def ep_body_get_inertia(*args):
return _extremephysics.ep_body_get_inertia(*args)
ep_body_get_inertia = _extremephysics.ep_body_get_inertia
def ep_body_get_center_of_mass_x(*args):
return _extremephysics.ep_body_get_center_of_mass_x(*args)
ep_body_get_center_of_mass_x = _extremephysics.ep_body_get_center_of_mass_x
def ep_body_get_center_of_mass_y(*args):
return _extremephysics.ep_body_get_center_of_mass_y(*args)
ep_body_get_center_of_mass_y = _extremephysics.ep_body_get_center_of_mass_y
def ep_body_get_x(*args):
return _extremephysics.ep_body_get_x(*args)
ep_body_get_x = _extremephysics.ep_body_get_x
def ep_body_get_y(*args):
return _extremephysics.ep_body_get_y(*args)
ep_body_get_y = _extremephysics.ep_body_get_y
def ep_body_get_x_center(*args):
return _extremephysics.ep_body_get_x_center(*args)
ep_body_get_x_center = _extremephysics.ep_body_get_x_center
def ep_body_get_y_center(*args):
return _extremephysics.ep_body_get_y_center(*args)
ep_body_get_y_center = _extremephysics.ep_body_get_y_center
def ep_body_get_rot(*args):
return _extremephysics.ep_body_get_rot(*args)
ep_body_get_rot = _extremephysics.ep_body_get_rot
def ep_body_get_xvel_center(*args):
return _extremephysics.ep_body_get_xvel_center(*args)
ep_body_get_xvel_center = _extremephysics.ep_body_get_xvel_center
def ep_body_get_yvel_center(*args):
return _extremephysics.ep_body_get_yvel_center(*args)
ep_body_get_yvel_center = _extremephysics.ep_body_get_yvel_center
def ep_body_get_xvel_local_point(*args):
return _extremephysics.ep_body_get_xvel_local_point(*args)
ep_body_get_xvel_local_point = _extremephysics.ep_body_get_xvel_local_point
def ep_body_get_yvel_local_point(*args):
return _extremephysics.ep_body_get_yvel_local_point(*args)
ep_body_get_yvel_local_point = _extremephysics.ep_body_get_yvel_local_point
def ep_body_get_rotvel(*args):
return _extremephysics.ep_body_get_rotvel(*args)
ep_body_get_rotvel = _extremephysics.ep_body_get_rotvel
def ep_body_is_static(*args):
return _extremephysics.ep_body_is_static(*args)
ep_body_is_static = _extremephysics.ep_body_is_static
def ep_body_is_norotation(*args):
return _extremephysics.ep_body_is_norotation(*args)
ep_body_is_norotation = _extremephysics.ep_body_is_norotation
def ep_body_is_sleeping(*args):
return _extremephysics.ep_body_is_sleeping(*args)
ep_body_is_sleeping = _extremephysics.ep_body_is_sleeping
def ep_body_stable_timer(*args):
return _extremephysics.ep_body_stable_timer(*args)
ep_body_stable_timer = _extremephysics.ep_body_stable_timer
def ep_body_out_of_view_timer(*args):
return _extremephysics.ep_body_out_of_view_timer(*args)
ep_body_out_of_view_timer = _extremephysics.ep_body_out_of_view_timer
def ep_body_coord_local_to_world_x(*args):
return _extremephysics.ep_body_coord_local_to_world_x(*args)
ep_body_coord_local_to_world_x = _extremephysics.ep_body_coord_local_to_world_x
def ep_body_coord_local_to_world_y(*args):
return _extremephysics.ep_body_coord_local_to_world_y(*args)
ep_body_coord_local_to_world_y = _extremephysics.ep_body_coord_local_to_world_y
def ep_body_coord_world_to_local_x(*args):
return _extremephysics.ep_body_coord_world_to_local_x(*args)
ep_body_coord_world_to_local_x = _extremephysics.ep_body_coord_world_to_local_x
def ep_body_coord_world_to_local_y(*args):
return _extremephysics.ep_body_coord_world_to_local_y(*args)
ep_body_coord_world_to_local_y = _extremephysics.ep_body_coord_world_to_local_y
def ep_body_vect_local_to_world_x(*args):
return _extremephysics.ep_body_vect_local_to_world_x(*args)
ep_body_vect_local_to_world_x = _extremephysics.ep_body_vect_local_to_world_x
def ep_body_vect_local_to_world_y(*args):
return _extremephysics.ep_body_vect_local_to_world_y(*args)
ep_body_vect_local_to_world_y = _extremephysics.ep_body_vect_local_to_world_y
def ep_body_vect_world_to_local_x(*args):
return _extremephysics.ep_body_vect_world_to_local_x(*args)
ep_body_vect_world_to_local_x = _extremephysics.ep_body_vect_world_to_local_x
def ep_body_vect_world_to_local_y(*args):
return _extremephysics.ep_body_vect_world_to_local_y(*args)
ep_body_vect_world_to_local_y = _extremephysics.ep_body_vect_world_to_local_y
def ep_body_boxchain_begin(*args):
return _extremephysics.ep_body_boxchain_begin(*args)
ep_body_boxchain_begin = _extremephysics.ep_body_boxchain_begin
def ep_body_boxchain_end(*args):
return _extremephysics.ep_body_boxchain_end(*args)
ep_body_boxchain_end = _extremephysics.ep_body_boxchain_end
def ep_body_boxchain_set_vertex(*args):
return _extremephysics.ep_body_boxchain_set_vertex(*args)
ep_body_boxchain_set_vertex = _extremephysics.ep_body_boxchain_set_vertex
def ep_body_boxchain_get_first(*args):
return _extremephysics.ep_body_boxchain_get_first(*args)
ep_body_boxchain_get_first = _extremephysics.ep_body_boxchain_get_first
def ep_body_boxchain_get_last(*args):
return _extremephysics.ep_body_boxchain_get_last(*args)
ep_body_boxchain_get_last = _extremephysics.ep_body_boxchain_get_last
def ep_body_previous(*args):
return _extremephysics.ep_body_previous(*args)
ep_body_previous = _extremephysics.ep_body_previous
def ep_body_next(*args):
return _extremephysics.ep_body_next(*args)
ep_body_next = _extremephysics.ep_body_next
def ep_body_set_uservar(*args):
return _extremephysics.ep_body_set_uservar(*args)
ep_body_set_uservar = _extremephysics.ep_body_set_uservar
def ep_body_get_uservar(*args):
return _extremephysics.ep_body_get_uservar(*args)
ep_body_get_uservar = _extremephysics.ep_body_get_uservar
def ep_body_first_shape(*args):
return _extremephysics.ep_body_first_shape(*args)
ep_body_first_shape = _extremephysics.ep_body_first_shape
def ep_body_last_shape(*args):
return _extremephysics.ep_body_last_shape(*args)
ep_body_last_shape = _extremephysics.ep_body_last_shape
def ep_body_shape_count(*args):
return _extremephysics.ep_body_shape_count(*args)
ep_body_shape_count = _extremephysics.ep_body_shape_count
def ep_body_first_force(*args):
return _extremephysics.ep_body_first_force(*args)
ep_body_first_force = _extremephysics.ep_body_first_force
def ep_body_last_force(*args):
return _extremephysics.ep_body_last_force(*args)
ep_body_last_force = _extremephysics.ep_body_last_force
def ep_body_force_count(*args):
return _extremephysics.ep_body_force_count(*args)
ep_body_force_count = _extremephysics.ep_body_force_count
def ep_contact_destroy(*args):
return _extremephysics.ep_contact_destroy(*args)
ep_contact_destroy = _extremephysics.ep_contact_destroy
def ep_contact_exists(*args):
return _extremephysics.ep_contact_exists(*args)
ep_contact_exists = _extremephysics.ep_contact_exists
def ep_contact_get_body1(*args):
return _extremephysics.ep_contact_get_body1(*args)
ep_contact_get_body1 = _extremephysics.ep_contact_get_body1
def ep_contact_get_body2(*args):
return _extremephysics.ep_contact_get_body2(*args)
ep_contact_get_body2 = _extremephysics.ep_contact_get_body2
def ep_contact_get_shape1(*args):
return _extremephysics.ep_contact_get_shape1(*args)
ep_contact_get_shape1 = _extremephysics.ep_contact_get_shape1
def ep_contact_get_shape2(*args):
return _extremephysics.ep_contact_get_shape2(*args)
ep_contact_get_shape2 = _extremephysics.ep_contact_get_shape2
def ep_contact_get_normal_x(*args):
return _extremephysics.ep_contact_get_normal_x(*args)
ep_contact_get_normal_x = _extremephysics.ep_contact_get_normal_x
def ep_contact_get_normal_y(*args):
return _extremephysics.ep_contact_get_normal_y(*args)
ep_contact_get_normal_y = _extremephysics.ep_contact_get_normal_y
def ep_contact_get_point1_active(*args):
return _extremephysics.ep_contact_get_point1_active(*args)
ep_contact_get_point1_active = _extremephysics.ep_contact_get_point1_active
def ep_contact_get_point2_active(*args):
return _extremephysics.ep_contact_get_point2_active(*args)
ep_contact_get_point2_active = _extremephysics.ep_contact_get_point2_active
def ep_contact_get_point1_x(*args):
return _extremephysics.ep_contact_get_point1_x(*args)
ep_contact_get_point1_x = _extremephysics.ep_contact_get_point1_x
def ep_contact_get_point1_y(*args):
return _extremephysics.ep_contact_get_point1_y(*args)
ep_contact_get_point1_y = _extremephysics.ep_contact_get_point1_y
def ep_contact_get_point2_x(*args):
return _extremephysics.ep_contact_get_point2_x(*args)
ep_contact_get_point2_x = _extremephysics.ep_contact_get_point2_x
def ep_contact_get_point2_y(*args):
return _extremephysics.ep_contact_get_point2_y(*args)
ep_contact_get_point2_y = _extremephysics.ep_contact_get_point2_y
def ep_contact_get_point1_separation(*args):
return _extremephysics.ep_contact_get_point1_separation(*args)
ep_contact_get_point1_separation = _extremephysics.ep_contact_get_point1_separation
def ep_contact_get_point2_separation(*args):
return _extremephysics.ep_contact_get_point2_separation(*args)
ep_contact_get_point2_separation = _extremephysics.ep_contact_get_point2_separation
def ep_contact_get_point1_normalforce(*args):
return _extremephysics.ep_contact_get_point1_normalforce(*args)
ep_contact_get_point1_normalforce = _extremephysics.ep_contact_get_point1_normalforce
def ep_contact_get_point1_tangentforce(*args):
return _extremephysics.ep_contact_get_point1_tangentforce(*args)
ep_contact_get_point1_tangentforce = _extremephysics.ep_contact_get_point1_tangentforce
def ep_contact_get_point2_normalforce(*args):
return _extremephysics.ep_contact_get_point2_normalforce(*args)
ep_contact_get_point2_normalforce = _extremephysics.ep_contact_get_point2_normalforce
def ep_contact_get_point2_tangentforce(*args):
return _extremephysics.ep_contact_get_point2_tangentforce(*args)
ep_contact_get_point2_tangentforce = _extremephysics.ep_contact_get_point2_tangentforce
def ep_contact_get_point1_normalveldelta(*args):
return _extremephysics.ep_contact_get_point1_normalveldelta(*args)
ep_contact_get_point1_normalveldelta = _extremephysics.ep_contact_get_point1_normalveldelta
def ep_contact_get_point1_tangentveldelta(*args):
return _extremephysics.ep_contact_get_point1_tangentveldelta(*args)
ep_contact_get_point1_tangentveldelta = _extremephysics.ep_contact_get_point1_tangentveldelta
def ep_contact_get_point2_normalveldelta(*args):
return _extremephysics.ep_contact_get_point2_normalveldelta(*args)
ep_contact_get_point2_normalveldelta = _extremephysics.ep_contact_get_point2_normalveldelta
def ep_contact_get_point2_tangentveldelta(*args):
return _extremephysics.ep_contact_get_point2_tangentveldelta(*args)
ep_contact_get_point2_tangentveldelta = _extremephysics.ep_contact_get_point2_tangentveldelta
def ep_contact_previous(*args):
return _extremephysics.ep_contact_previous(*args)
ep_contact_previous = _extremephysics.ep_contact_previous
def ep_contact_next(*args):
return _extremephysics.ep_contact_next(*args)
ep_contact_next = _extremephysics.ep_contact_next
def ep_hingejoint_create(*args):
return _extremephysics.ep_hingejoint_create(*args)
ep_hingejoint_create = _extremephysics.ep_hingejoint_create
def ep_hingejoint_destroy(*args):
return _extremephysics.ep_hingejoint_destroy(*args)
ep_hingejoint_destroy = _extremephysics.ep_hingejoint_destroy
def ep_hingejoint_exists(*args):
return _extremephysics.ep_hingejoint_exists(*args)
ep_hingejoint_exists = _extremephysics.ep_hingejoint_exists
def ep_hingejoint_set_max_force(*args):
return _extremephysics.ep_hingejoint_set_max_force(*args)
ep_hingejoint_set_max_force = _extremephysics.ep_hingejoint_set_max_force
def ep_hingejoint_set_motor(*args):
return _extremephysics.ep_hingejoint_set_motor(*args)
ep_hingejoint_set_motor = _extremephysics.ep_hingejoint_set_motor
def ep_hingejoint_set_limit_settings(*args):
return _extremephysics.ep_hingejoint_set_limit_settings(*args)
ep_hingejoint_set_limit_settings = _extremephysics.ep_hingejoint_set_limit_settings
def ep_hingejoint_set_lower_limit(*args):
return _extremephysics.ep_hingejoint_set_lower_limit(*args)
ep_hingejoint_set_lower_limit = _extremephysics.ep_hingejoint_set_lower_limit
def ep_hingejoint_set_upper_limit(*args):
return _extremephysics.ep_hingejoint_set_upper_limit(*args)
ep_hingejoint_set_upper_limit = _extremephysics.ep_hingejoint_set_upper_limit
def ep_hingejoint_set_lower_spring(*args):
return _extremephysics.ep_hingejoint_set_lower_spring(*args)
ep_hingejoint_set_lower_spring = _extremephysics.ep_hingejoint_set_lower_spring
def ep_hingejoint_set_upper_spring(*args):
return _extremephysics.ep_hingejoint_set_upper_spring(*args)
ep_hingejoint_set_upper_spring = _extremephysics.ep_hingejoint_set_upper_spring
def ep_hingejoint_get_body1(*args):
return _extremephysics.ep_hingejoint_get_body1(*args)
ep_hingejoint_get_body1 = _extremephysics.ep_hingejoint_get_body1
def ep_hingejoint_get_body2(*args):
return _extremephysics.ep_hingejoint_get_body2(*args)
ep_hingejoint_get_body2 = _extremephysics.ep_hingejoint_get_body2
def ep_hingejoint_get_rotation(*args):
return _extremephysics.ep_hingejoint_get_rotation(*args)
ep_hingejoint_get_rotation = _extremephysics.ep_hingejoint_get_rotation
def ep_hingejoint_get_xforce(*args):
return _extremephysics.ep_hingejoint_get_xforce(*args)
ep_hingejoint_get_xforce = _extremephysics.ep_hingejoint_get_xforce
def ep_hingejoint_get_yforce(*args):
return _extremephysics.ep_hingejoint_get_yforce(*args)
ep_hingejoint_get_yforce = _extremephysics.ep_hingejoint_get_yforce
def ep_hingejoint_get_motor_torque(*args):
return _extremephysics.ep_hingejoint_get_motor_torque(*args)
ep_hingejoint_get_motor_torque = _extremephysics.ep_hingejoint_get_motor_torque
def ep_hingejoint_get_limit_torque(*args):
return _extremephysics.ep_hingejoint_get_limit_torque(*args)
ep_hingejoint_get_limit_torque = _extremephysics.ep_hingejoint_get_limit_torque
def ep_hingejoint_previous(*args):
return _extremephysics.ep_hingejoint_previous(*args)
ep_hingejoint_previous = _extremephysics.ep_hingejoint_previous
def ep_hingejoint_next(*args):
return _extremephysics.ep_hingejoint_next(*args)
ep_hingejoint_next = _extremephysics.ep_hingejoint_next
def ep_hingejoint_set_uservar(*args):
return _extremephysics.ep_hingejoint_set_uservar(*args)
ep_hingejoint_set_uservar = _extremephysics.ep_hingejoint_set_uservar
def ep_hingejoint_get_uservar(*args):
return _extremephysics.ep_hingejoint_get_uservar(*args)
ep_hingejoint_get_uservar = _extremephysics.ep_hingejoint_get_uservar
def ep_distancejoint_create(*args):
return _extremephysics.ep_distancejoint_create(*args)
ep_distancejoint_create = _extremephysics.ep_distancejoint_create
def ep_distancejoint_destroy(*args):
return _extremephysics.ep_distancejoint_destroy(*args)
ep_distancejoint_destroy = _extremephysics.ep_distancejoint_destroy
def ep_distancejoint_exists(*args):
return _extremephysics.ep_distancejoint_exists(*args)
ep_distancejoint_exists = _extremephysics.ep_distancejoint_exists
def ep_distancejoint_set_motor(*args):
return _extremephysics.ep_distancejoint_set_motor(*args)
ep_distancejoint_set_motor = _extremephysics.ep_distancejoint_set_motor
def ep_distancejoint_set_limit_settings(*args):
return _extremephysics.ep_distancejoint_set_limit_settings(*args)
ep_distancejoint_set_limit_settings = _extremephysics.ep_distancejoint_set_limit_settings
def ep_distancejoint_set_lower_limit(*args):
return _extremephysics.ep_distancejoint_set_lower_limit(*args)
ep_distancejoint_set_lower_limit = _extremephysics.ep_distancejoint_set_lower_limit
def ep_distancejoint_set_upper_limit(*args):
return _extremephysics.ep_distancejoint_set_upper_limit(*args)
ep_distancejoint_set_upper_limit = _extremephysics.ep_distancejoint_set_upper_limit
def ep_distancejoint_set_lower_spring(*args):
return _extremephysics.ep_distancejoint_set_lower_spring(*args)
ep_distancejoint_set_lower_spring = _extremephysics.ep_distancejoint_set_lower_spring
def ep_distancejoint_set_upper_spring(*args):
return _extremephysics.ep_distancejoint_set_upper_spring(*args)
ep_distancejoint_set_upper_spring = _extremephysics.ep_distancejoint_set_upper_spring
def ep_distancejoint_get_body1(*args):
return _extremephysics.ep_distancejoint_get_body1(*args)
ep_distancejoint_get_body1 = _extremephysics.ep_distancejoint_get_body1
def ep_distancejoint_get_body2(*args):
return _extremephysics.ep_distancejoint_get_body2(*args)
ep_distancejoint_get_body2 = _extremephysics.ep_distancejoint_get_body2
def ep_distancejoint_get_distance(*args):
return _extremephysics.ep_distancejoint_get_distance(*args)
ep_distancejoint_get_distance = _extremephysics.ep_distancejoint_get_distance
def ep_distancejoint_get_motor_force(*args):
return _extremephysics.ep_distancejoint_get_motor_force(*args)
ep_distancejoint_get_motor_force = _extremephysics.ep_distancejoint_get_motor_force
def ep_distancejoint_get_limit_force(*args):
return _extremephysics.ep_distancejoint_get_limit_force(*args)
ep_distancejoint_get_limit_force = _extremephysics.ep_distancejoint_get_limit_force
def ep_distancejoint_previous(*args):
return _extremephysics.ep_distancejoint_previous(*args)
ep_distancejoint_previous = _extremephysics.ep_distancejoint_previous
def ep_distancejoint_next(*args):
return _extremephysics.ep_distancejoint_next(*args)
ep_distancejoint_next = _extremephysics.ep_distancejoint_next
def ep_distancejoint_set_uservar(*args):
return _extremephysics.ep_distancejoint_set_uservar(*args)
ep_distancejoint_set_uservar = _extremephysics.ep_distancejoint_set_uservar
def ep_distancejoint_get_uservar(*args):
return _extremephysics.ep_distancejoint_get_uservar(*args)
ep_distancejoint_get_uservar = _extremephysics.ep_distancejoint_get_uservar
def ep_railjoint_create(*args):
return _extremephysics.ep_railjoint_create(*args)
ep_railjoint_create = _extremephysics.ep_railjoint_create
def ep_railjoint_destroy(*args):
return _extremephysics.ep_railjoint_destroy(*args)
ep_railjoint_destroy = _extremephysics.ep_railjoint_destroy
def ep_railjoint_exists(*args):
return _extremephysics.ep_railjoint_exists(*args)
ep_railjoint_exists = _extremephysics.ep_railjoint_exists
def ep_railjoint_set_max_normal_force(*args):
return _extremephysics.ep_railjoint_set_max_normal_force(*args)
ep_railjoint_set_max_normal_force = _extremephysics.ep_railjoint_set_max_normal_force
def ep_railjoint_set_motor(*args):
return _extremephysics.ep_railjoint_set_motor(*args)
ep_railjoint_set_motor = _extremephysics.ep_railjoint_set_motor
def ep_railjoint_set_limit_settings(*args):
return _extremephysics.ep_railjoint_set_limit_settings(*args)
ep_railjoint_set_limit_settings = _extremephysics.ep_railjoint_set_limit_settings
def ep_railjoint_set_lower_limit(*args):
return _extremephysics.ep_railjoint_set_lower_limit(*args)
ep_railjoint_set_lower_limit = _extremephysics.ep_railjoint_set_lower_limit
def ep_railjoint_set_upper_limit(*args):
return _extremephysics.ep_railjoint_set_upper_limit(*args)
ep_railjoint_set_upper_limit = _extremephysics.ep_railjoint_set_upper_limit
def ep_railjoint_set_lower_spring(*args):
return _extremephysics.ep_railjoint_set_lower_spring(*args)
ep_railjoint_set_lower_spring = _extremephysics.ep_railjoint_set_lower_spring
def ep_railjoint_set_upper_spring(*args):
return _extremephysics.ep_railjoint_set_upper_spring(*args)
ep_railjoint_set_upper_spring = _extremephysics.ep_railjoint_set_upper_spring
def ep_railjoint_get_body1(*args):
return _extremephysics.ep_railjoint_get_body1(*args)
ep_railjoint_get_body1 = _extremephysics.ep_railjoint_get_body1
def ep_railjoint_get_body2(*args):
return _extremephysics.ep_railjoint_get_body2(*args)
ep_railjoint_get_body2 = _extremephysics.ep_railjoint_get_body2
def ep_railjoint_get_position(*args):
return _extremephysics.ep_railjoint_get_position(*args)
ep_railjoint_get_position = _extremephysics.ep_railjoint_get_position
def ep_railjoint_get_normal_force(*args):
return _extremephysics.ep_railjoint_get_normal_force(*args)
ep_railjoint_get_normal_force = _extremephysics.ep_railjoint_get_normal_force
def ep_railjoint_get_motor_force(*args):
return _extremephysics.ep_railjoint_get_motor_force(*args)
ep_railjoint_get_motor_force = _extremephysics.ep_railjoint_get_motor_force
def ep_railjoint_get_limit_force(*args):
return _extremephysics.ep_railjoint_get_limit_force(*args)
ep_railjoint_get_limit_force = _extremephysics.ep_railjoint_get_limit_force
def ep_railjoint_previous(*args):
return _extremephysics.ep_railjoint_previous(*args)
ep_railjoint_previous = _extremephysics.ep_railjoint_previous
def ep_railjoint_next(*args):
return _extremephysics.ep_railjoint_next(*args)
ep_railjoint_next = _extremephysics.ep_railjoint_next
def ep_railjoint_set_uservar(*args):
return _extremephysics.ep_railjoint_set_uservar(*args)
ep_railjoint_set_uservar = _extremephysics.ep_railjoint_set_uservar
def ep_railjoint_get_uservar(*args):
return _extremephysics.ep_railjoint_get_uservar(*args)
ep_railjoint_get_uservar = _extremephysics.ep_railjoint_get_uservar
def ep_sliderjoint_create(*args):
return _extremephysics.ep_sliderjoint_create(*args)
ep_sliderjoint_create = _extremephysics.ep_sliderjoint_create
def ep_sliderjoint_destroy(*args):
return _extremephysics.ep_sliderjoint_destroy(*args)
ep_sliderjoint_destroy = _extremephysics.ep_sliderjoint_destroy
def ep_sliderjoint_exists(*args):
return _extremephysics.ep_sliderjoint_exists(*args)
ep_sliderjoint_exists = _extremephysics.ep_sliderjoint_exists
def ep_sliderjoint_set_max_combined_force(*args):
return _extremephysics.ep_sliderjoint_set_max_combined_force(*args)
ep_sliderjoint_set_max_combined_force = _extremephysics.ep_sliderjoint_set_max_combined_force
def ep_sliderjoint_set_motor(*args):
return _extremephysics.ep_sliderjoint_set_motor(*args)
ep_sliderjoint_set_motor = _extremephysics.ep_sliderjoint_set_motor
def ep_sliderjoint_set_limit_settings(*args):
return _extremephysics.ep_sliderjoint_set_limit_settings(*args)
ep_sliderjoint_set_limit_settings = _extremephysics.ep_sliderjoint_set_limit_settings
def ep_sliderjoint_set_lower_limit(*args):
return _extremephysics.ep_sliderjoint_set_lower_limit(*args)
ep_sliderjoint_set_lower_limit = _extremephysics.ep_sliderjoint_set_lower_limit
def ep_sliderjoint_set_upper_limit(*args):
return _extremephysics.ep_sliderjoint_set_upper_limit(*args)
ep_sliderjoint_set_upper_limit = _extremephysics.ep_sliderjoint_set_upper_limit
def ep_sliderjoint_set_lower_spring(*args):
return _extremephysics.ep_sliderjoint_set_lower_spring(*args)
ep_sliderjoint_set_lower_spring = _extremephysics.ep_sliderjoint_set_lower_spring
def ep_sliderjoint_set_upper_spring(*args):
return _extremephysics.ep_sliderjoint_set_upper_spring(*args)
ep_sliderjoint_set_upper_spring = _extremephysics.ep_sliderjoint_set_upper_spring
def ep_sliderjoint_get_body1(*args):
return _extremephysics.ep_sliderjoint_get_body1(*args)
ep_sliderjoint_get_body1 = _extremephysics.ep_sliderjoint_get_body1
def ep_sliderjoint_get_body2(*args):
return _extremephysics.ep_sliderjoint_get_body2(*args)
ep_sliderjoint_get_body2 = _extremephysics.ep_sliderjoint_get_body2
def ep_sliderjoint_get_position(*args):
return _extremephysics.ep_sliderjoint_get_position(*args)
ep_sliderjoint_get_position = _extremephysics.ep_sliderjoint_get_position
def ep_sliderjoint_get_normal_force(*args):
return _extremephysics.ep_sliderjoint_get_normal_force(*args)
ep_sliderjoint_get_normal_force = _extremephysics.ep_sliderjoint_get_normal_force
def ep_sliderjoint_get_torque(*args):
return _extremephysics.ep_sliderjoint_get_torque(*args)
ep_sliderjoint_get_torque = _extremephysics.ep_sliderjoint_get_torque
def ep_sliderjoint_get_combined_force(*args):
return _extremephysics.ep_sliderjoint_get_combined_force(*args)
ep_sliderjoint_get_combined_force = _extremephysics.ep_sliderjoint_get_combined_force
def ep_sliderjoint_get_motor_force(*args):
return _extremephysics.ep_sliderjoint_get_motor_force(*args)
ep_sliderjoint_get_motor_force = _extremephysics.ep_sliderjoint_get_motor_force
def ep_sliderjoint_get_limit_force(*args):
return _extremephysics.ep_sliderjoint_get_limit_force(*args)
ep_sliderjoint_get_limit_force = _extremephysics.ep_sliderjoint_get_limit_force
def ep_sliderjoint_previous(*args):
return _extremephysics.ep_sliderjoint_previous(*args)
ep_sliderjoint_previous = _extremephysics.ep_sliderjoint_previous
def ep_sliderjoint_next(*args):
return _extremephysics.ep_sliderjoint_next(*args)
ep_sliderjoint_next = _extremephysics.ep_sliderjoint_next
def ep_sliderjoint_set_uservar(*args):
return _extremephysics.ep_sliderjoint_set_uservar(*args)
ep_sliderjoint_set_uservar = _extremephysics.ep_sliderjoint_set_uservar
def ep_sliderjoint_get_uservar(*args):
return _extremephysics.ep_sliderjoint_get_uservar(*args)
ep_sliderjoint_get_uservar = _extremephysics.ep_sliderjoint_get_uservar
def ep_view_create(*args):
return _extremephysics.ep_view_create(*args)
ep_view_create = _extremephysics.ep_view_create
def ep_view_destroy(*args):
return _extremephysics.ep_view_destroy(*args)
ep_view_destroy = _extremephysics.ep_view_destroy
def ep_view_exists(*args):
return _extremephysics.ep_view_exists(*args)
ep_view_exists = _extremephysics.ep_view_exists
def ep_view_set_rectangle(*args):
return _extremephysics.ep_view_set_rectangle(*args)
ep_view_set_rectangle = _extremephysics.ep_view_set_rectangle
def ep_view_previous(*args):
return _extremephysics.ep_view_previous(*args)
ep_view_previous = _extremephysics.ep_view_previous
def ep_view_next(*args):
return _extremephysics.ep_view_next(*args)
ep_view_next = _extremephysics.ep_view_next
def ep_view_set_uservar(*args):
return _extremephysics.ep_view_set_uservar(*args)
ep_view_set_uservar = _extremephysics.ep_view_set_uservar
def ep_view_get_uservar(*args):
return _extremephysics.ep_view_get_uservar(*args)
ep_view_get_uservar = _extremephysics.ep_view_get_uservar
def ep_water_create(*args):
return _extremephysics.ep_water_create(*args)
ep_water_create = _extremephysics.ep_water_create
def ep_water_destroy(*args):
return _extremephysics.ep_water_destroy(*args)
ep_water_destroy = _extremephysics.ep_water_destroy
def ep_water_exists(*args):
return _extremephysics.ep_water_exists(*args)
ep_water_exists = _extremephysics.ep_water_exists
def ep_water_set_parameters(*args):
return _extremephysics.ep_water_set_parameters(*args)
ep_water_set_parameters = _extremephysics.ep_water_set_parameters
def ep_water_set_rectangle(*args):
return _extremephysics.ep_water_set_rectangle(*args)
ep_water_set_rectangle = _extremephysics.ep_water_set_rectangle
def ep_water_previous(*args):
return _extremephysics.ep_water_previous(*args)
ep_water_previous = _extremephysics.ep_water_previous
def ep_water_next(*args):
return _extremephysics.ep_water_next(*args)
ep_water_next = _extremephysics.ep_water_next
def ep_water_set_uservar(*args):
return _extremephysics.ep_water_set_uservar(*args)
ep_water_set_uservar = _extremephysics.ep_water_set_uservar
def ep_water_get_uservar(*args):
return _extremephysics.ep_water_get_uservar(*args)
ep_water_get_uservar = _extremephysics.ep_water_get_uservar
def ep_shape_create_box(*args):
return _extremephysics.ep_shape_create_box(*args)
ep_shape_create_box = _extremephysics.ep_shape_create_box
def ep_shape_create_line(*args):
return _extremephysics.ep_shape_create_line(*args)
ep_shape_create_line = _extremephysics.ep_shape_create_line
def ep_shape_create_circle(*args):
return _extremephysics.ep_shape_create_circle(*args)
ep_shape_create_circle = _extremephysics.ep_shape_create_circle
def ep_shape_create_polygon(*args):
return _extremephysics.ep_shape_create_polygon(*args)
ep_shape_create_polygon = _extremephysics.ep_shape_create_polygon
def ep_shape_destroy(*args):
return _extremephysics.ep_shape_destroy(*args)
ep_shape_destroy = _extremephysics.ep_shape_destroy
def ep_shape_exists(*args):
return _extremephysics.ep_shape_exists(*args)
ep_shape_exists = _extremephysics.ep_shape_exists
def ep_shape_get_first_contact(*args):
return _extremephysics.ep_shape_get_first_contact(*args)
ep_shape_get_first_contact = _extremephysics.ep_shape_get_first_contact
def ep_shape_get_last_contact(*args):
return _extremephysics.ep_shape_get_last_contact(*args)
ep_shape_get_last_contact = _extremephysics.ep_shape_get_last_contact
def ep_shape_get_previous_contact(*args):
return _extremephysics.ep_shape_get_previous_contact(*args)
ep_shape_get_previous_contact = _extremephysics.ep_shape_get_previous_contact
def ep_shape_get_next_contact(*args):
return _extremephysics.ep_shape_get_next_contact(*args)
ep_shape_get_next_contact = _extremephysics.ep_shape_get_next_contact
def ep_shape_set_material(*args):
return _extremephysics.ep_shape_set_material(*args)
ep_shape_set_material = _extremephysics.ep_shape_set_material
def ep_shape_set_collision(*args):
return _extremephysics.ep_shape_set_collision(*args)
ep_shape_set_collision = _extremephysics.ep_shape_set_collision
def ep_shape_collision_test_box(*args):
return _extremephysics.ep_shape_collision_test_box(*args)
ep_shape_collision_test_box = _extremephysics.ep_shape_collision_test_box
def ep_shape_collision_test_line(*args):
return _extremephysics.ep_shape_collision_test_line(*args)
ep_shape_collision_test_line = _extremephysics.ep_shape_collision_test_line
def ep_shape_collision_test_circle(*args):
return _extremephysics.ep_shape_collision_test_circle(*args)
ep_shape_collision_test_circle = _extremephysics.ep_shape_collision_test_circle
def ep_shape_collision_test_polygon(*args):
return _extremephysics.ep_shape_collision_test_polygon(*args)
ep_shape_collision_test_polygon = _extremephysics.ep_shape_collision_test_polygon
def ep_shape_ray_cast(*args):
return _extremephysics.ep_shape_ray_cast(*args)
ep_shape_ray_cast = _extremephysics.ep_shape_ray_cast
def ep_shape_previous(*args):
return _extremephysics.ep_shape_previous(*args)
ep_shape_previous = _extremephysics.ep_shape_previous
def ep_shape_next(*args):
return _extremephysics.ep_shape_next(*args)
ep_shape_next = _extremephysics.ep_shape_next
def ep_shape_set_uservar(*args):
return _extremephysics.ep_shape_set_uservar(*args)
ep_shape_set_uservar = _extremephysics.ep_shape_set_uservar
def ep_shape_get_uservar(*args):
return _extremephysics.ep_shape_get_uservar(*args)
ep_shape_get_uservar = _extremephysics.ep_shape_get_uservar
def ep_force_create(*args):
return _extremephysics.ep_force_create(*args)
ep_force_create = _extremephysics.ep_force_create
def ep_force_destroy(*args):
return _extremephysics.ep_force_destroy(*args)
ep_force_destroy = _extremephysics.ep_force_destroy
def ep_force_exists(*args):
return _extremephysics.ep_force_exists(*args)
ep_force_exists = _extremephysics.ep_force_exists
def ep_force_set_force(*args):
return _extremephysics.ep_force_set_force(*args)
ep_force_set_force = _extremephysics.ep_force_set_force
def ep_force_previous(*args):
return _extremephysics.ep_force_previous(*args)
ep_force_previous = _extremephysics.ep_force_previous
def ep_force_next(*args):
return _extremephysics.ep_force_next(*args)
ep_force_next = _extremephysics.ep_force_next
def ep_force_set_uservar(*args):
return _extremephysics.ep_force_set_uservar(*args)
ep_force_set_uservar = _extremephysics.ep_force_set_uservar
def ep_force_get_uservar(*args):
return _extremephysics.ep_force_get_uservar(*args)
ep_force_get_uservar = _extremephysics.ep_force_get_uservar
# This file is compatible with both classic and new-style classes.
| 39.68231 | 95 | 0.867267 | 7,862 | 54,960 | 5.419486 | 0.027474 | 0.246339 | 0.169358 | 0.197099 | 0.805154 | 0.50115 | 0.194189 | 0.038209 | 0.013284 | 0 | 0 | 0.002424 | 0.06925 | 54,960 | 1,384 | 96 | 39.710983 | 0.830512 | 0.005349 | 0 | 0.009625 | 1 | 0 | 0.002049 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3205 | false | 0.001925 | 0.008662 | 0.316651 | 0.650626 | 0.002887 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
30d0c43a3c6cacf0bb2f1420c5ef74e283052241 | 482 | py | Python | temboo/core/Library/Mixpanel/DataExport/Properties/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/Mixpanel/DataExport/Properties/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/Mixpanel/DataExport/Properties/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.Mixpanel.DataExport.Properties.PropertyData import PropertyData, PropertyDataInputSet, PropertyDataResultSet, PropertyDataChoreographyExecution
from temboo.Library.Mixpanel.DataExport.Properties.TopProperties import TopProperties, TopPropertiesInputSet, TopPropertiesResultSet, TopPropertiesChoreographyExecution
from temboo.Library.Mixpanel.DataExport.Properties.TopValues import TopValues, TopValuesInputSet, TopValuesResultSet, TopValuesChoreographyExecution
| 120.5 | 168 | 0.906639 | 36 | 482 | 12.138889 | 0.527778 | 0.06865 | 0.116705 | 0.171625 | 0.308924 | 0.308924 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043568 | 482 | 3 | 169 | 160.666667 | 0.947939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.