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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b721288dbd2f952ee483f8dcf3a26680614eb8a3
| 615
|
py
|
Python
|
Code for Reproducing Results/Scripts_used_in_comparison/config.py
|
yyren/FVC
|
667dbfcd4a203fa51e77ca2e81a12d139884a243
|
[
"MIT"
] | 11
|
2021-11-20T12:52:32.000Z
|
2021-12-10T07:54:14.000Z
|
Code for Reproducing Results/Scripts_used_in_comparison/config.py
|
yyren/FVC
|
667dbfcd4a203fa51e77ca2e81a12d139884a243
|
[
"MIT"
] | null | null | null |
Code for Reproducing Results/Scripts_used_in_comparison/config.py
|
yyren/FVC
|
667dbfcd4a203fa51e77ca2e81a12d139884a243
|
[
"MIT"
] | null | null | null |
# DATABASE_PATH = '/export/home/zhouxiaocheng/project/test/ryy/database'
# DATABASE_PATH = '/data1/TumorGroup/DATA/public_database/FVC/Training/annotation_region'
DATABASE_PATH = '/data1/TumorGroup/DATA/public_database/FVC/Data/third_check'
# DATABASE_TWO_PATH = '/data1/TumorGroup/DATA/public_database/FVC/Training/Feature'
DATABASE_TWO_PATH = '/data1/TumorGroup/DATA/public_database/FVC/Data/garfield_features'
RESULT_PATH = '/export/home/zhouxiaocheng/project/test/ryy/result'
PLOT_PATH = '/export/home/zhouxiaocheng/project/test/ryy/plot'
FORMAT_PATH = '/export/home/zhouxiaocheng/project/test/ryy/plot/format'
| 68.333333
| 89
| 0.819512
| 82
| 615
| 5.939024
| 0.304878
| 0.082136
| 0.11499
| 0.221766
| 0.833676
| 0.833676
| 0.833676
| 0.665298
| 0.418891
| 0
| 0
| 0.006803
| 0.043902
| 615
| 9
| 90
| 68.333333
| 0.821429
| 0.390244
| 0
| 0
| 0
| 0
| 0.746631
| 0.746631
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
b72a9847be0dbe26da4f62d76dcaed27f3b11076
| 132
|
py
|
Python
|
neuroglia/calcium/__init__.py
|
NileGraddis/neuroglia
|
cbe132347aeb9f3664f25d2e67eba34aa4d1ed0c
|
[
"BSD-3-Clause"
] | 1
|
2019-01-05T09:12:13.000Z
|
2019-01-05T09:12:13.000Z
|
neuroglia/calcium/__init__.py
|
j-friedrich/neuroglia
|
5b4e43d3dcfd75184d205e18a251598586f9f812
|
[
"BSD-3-Clause"
] | null | null | null |
neuroglia/calcium/__init__.py
|
j-friedrich/neuroglia
|
5b4e43d3dcfd75184d205e18a251598586f9f812
|
[
"BSD-3-Clause"
] | null | null | null |
from .calcium import MedianFilterDetrender, SavGolFilterDetrender
from .calcium import EventRescaler, CalciumDeconvolver, Normalize
| 44
| 65
| 0.878788
| 11
| 132
| 10.545455
| 0.727273
| 0.189655
| 0.293103
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.083333
| 132
| 2
| 66
| 66
| 0.958678
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 1
| 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
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
b73aed06132f38ebf3444b6769e89c41fc3b7420
| 3,149
|
py
|
Python
|
src/main.py
|
xuedong/smart-voice
|
30b4f95f728c8df6f765826a7c9d6297c5d6499e
|
[
"MIT"
] | 1
|
2018-01-19T16:15:06.000Z
|
2018-01-19T16:15:06.000Z
|
src/main.py
|
xuedong/smart-voice
|
30b4f95f728c8df6f765826a7c9d6297c5d6499e
|
[
"MIT"
] | null | null | null |
src/main.py
|
xuedong/smart-voice
|
30b4f95f728c8df6f765826a7c9d6297c5d6499e
|
[
"MIT"
] | null | null | null |
#!/usr/bin/env python
import sys
import descriptors as d
import classification as c
import evaluation as e
import time
import numpy as np
import gc
def main(*kargs, **kwargs):
#(X, y, g, di) = d.get_descriptors(['tiny-clean'],[('MFCC',{})])
(X, y, g, di) = d.get_descriptors(['tiny-noisy'],[('MFCC',{})])
#(X1, y1, g1, di1) = d.get_descriptors(['tiny-noisy'],[('MFCC',{'keep': '1'})])
# (X, y, g, di) = d.get_descriptors(['tiny-noisy'],[('MFCC',{"multi":False})])
#(X, y, g, di) = d.get_descriptors(['tiny-clean','tiny-noisy','tiny-noises'],[('MFCC',{"multi":False})])
#(X, y, g, di) = d.get_descriptors(['clean'],[('MFCC',{})])
#(X, y, g, di) = d.get_descriptors(['noisy'],[('MFCC',{})])
#X, y, g, di) = d.get_descriptors(['noisy'],[('MFCC',{"multi":False})])
#(X, y, g, di) = d.get_descriptors(['noisy'],[('MFCC',{"keep": '3'})])
# prfs = e.cv(X,y,g,2,di, seed = 0)
# print(prfs)
# del(X,y,g,di)
# (X, y, g, di) = d.get_descriptors(['noisy'],[('MFCC',{"multi":False,"keep": '2'})])
# prfs = e.cv(X,y,g,2,di, seed = 0)
# print(prfs)
# del(X,y,g,di)
# (X, y, g, di) = d.get_descriptors(['noisy'],[('MFCC',{"multi":False,"keep": '3'})])
# prfs = e.cv(X,y,g,2,di, seed = 0)
# print(prfs)
# del(X,y,g,di)
# (X, y, g, di) = d.get_descriptors(['noisy'],[('MFCC',{"multi":False})])
# prfs = e.cv(X,y,g,2,di, seed = 0)
# print(prfs)
# del(X,y,g,di)
# (X, y, g, di) = d.get_descriptors(['noisy'],[('MFCC',{"multi":False})])
#(X, y, g, di) = d.get_descriptors(['clean','noisy','noises'],[('MFCC',{"multi":False})])
# prfs = e.cv(X,y,g,3,di, test_loc = True, seed = 0)
#prfs = e.cv(X,y,g,2,di, seed = 0, look_back = 1)
# prfs = e.cv(X,y,g,2,di, method = "LSTM", seed = 0, look_back = 1)
#prfs = e.cv(X, y, g, 2, di, test_loc=True, seed = 0)
# prfs = e.cv(X,y,g,2,di, method = "LSTM", test_loc = True, seed = 0, look_back = 1)
#prfs = e.cv(X, y, g, 2, di, test_loc=False, seed = 0)
#prfs = e.cv(X, y, g, 2, di, test_loc=False, seed = 0, smoothing=True)
#prfs2 = e.cv(X,y,g,2,di, method = "LSTM", seed = 0, look_back = 1, smoothing=True)
#prfs = e.cv(X, y, g, 2, di, test_loc=True, seed = 0)
#prfs = e.cv(X,y,g,2,di, method = "LSTM", seed = 0, look_back = 1)
# prfs = e.cv(X,y,g,2,di, seed = 0)
# prfs1 = e.cv(X1,y1,g1,2,di1, seed = 0)
# prfs = e.cv(X,y,g,2,di, method = "LSTM", seed = 0, look_back = 1)
# prfs = e.cv(X, y, g, 2, di, test_loc=False, seed = 0)
# prfs1 = e.cv(X, y, g, 2, di, test_loc=False, seed = 0)
# prfs = e.cv(X, y, g, 2, di, test_loc=False, seed = 0, smoothing=True)
# prfs2 = e.cv(X,y,g,2,di, method = "LSTM", seed = 0, look_back = 1, smoothing=True)
# prfs = e.cv(X, y, g, 2, di, test_loc=True, seed = 0)
# prfs = e.cv(X,y,g,2,di, method = "LSTM", test_loc=True, seed = 0, look_back = 1, predict_method="naive-2calc")
prfs = e.cv(X,y,g,2,di, method = "LSTM", test_loc=True, seed = 0, look_back = 1, predict_method="naive", mbss_pooling='sum')
print(prfs)
gc.collect()
if __name__ == "__main__":
main(sys.argv)
| 44.352113
| 128
| 0.538266
| 566
| 3,149
| 2.913428
| 0.118375
| 0.048514
| 0.072771
| 0.069739
| 0.847787
| 0.839903
| 0.822923
| 0.822923
| 0.822923
| 0.777441
| 0
| 0.029447
| 0.201969
| 3,149
| 70
| 129
| 44.985714
| 0.626741
| 0.771674
| 0
| 0
| 0
| 0
| 0.050445
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.071429
| false
| 0
| 0.5
| 0
| 0.571429
| 0.071429
| 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
| 0
| 1
| 0
| 1
| 0
|
0
| 8
|
3f9ca242c2d6220b9a8c90498e7d785c1ba42a72
| 87,749
|
py
|
Python
|
mysite/tcgcreator/ask.py
|
jidpn/tcgcreator_eternal_beta
|
4a10a5a36eeb161cf35a3488453c00325d78ae83
|
[
"MIT"
] | null | null | null |
mysite/tcgcreator/ask.py
|
jidpn/tcgcreator_eternal_beta
|
4a10a5a36eeb161cf35a3488453c00325d78ae83
|
[
"MIT"
] | null | null | null |
mysite/tcgcreator/ask.py
|
jidpn/tcgcreator_eternal_beta
|
4a10a5a36eeb161cf35a3488453c00325d78ae83
|
[
"MIT"
] | null | null | null |
from django.http import HttpResponse, HttpResponseRedirect
from django.urls import reverse
from .models import (
FieldSize,
Deck,
Grave,
Hand,
Duel,
MonsterEffectWrapper,
DuelGrave,
DuelHand,
CostWrapper,
Monster,
)
from pprint import pprint
import json
from .duel import DuelObj
def ask_place(request):
decks = Deck.objects.all()
graves = Grave.objects.all()
hands = Hand.objects.all()
room_number = int(request.POST["room_number"])
duel = Duel.objects.filter(id=room_number).get()
if duel.guest_flag is False:
ID1 = -1
else:
ID1 = duel.guest_id
if duel.guest_flag2 is False:
ID2 = -1
else:
ID2 = duel.guest_id2
if "ID" in request.COOKIES :
ID = request.COOKIES["ID"]
else:
ID = ""
if duel.user_1 != request.user and duel.user_2 != request.user:
if (ID1 == ID and duel.guest_flag) or (ID2 == ID and duel.guest_flag2):
pass
else:
return HttpResponseRedirect(reverse("watch_battle"))
if duel.winner != 0 or duel.winner_ai != 0:
return HttpResponse("end")
if duel.user_1 == request.user or (ID1 == ID and duel.guest_flag):
if duel.user_turn == 1:
if duel.ask == 1 or duel.ask == 3:
return show(duel, 1, room_number, duel.ask, decks, graves, hands)
else:
if duel.ask == 2 or duel.ask == 3:
return show(duel, 1, room_number, duel.ask, decks, graves, hands)
elif duel.user_2 == request.user or (ID2 == ID and duel.guest_flag2):
if duel.user_turn == 2:
if duel.ask == 1 or duel.ask == 3:
return show(duel, 2, room_number, duel.ask, decks, graves, hands)
else:
if duel.ask == 2 or duel.ask == 3:
return show(duel, 2, room_number, duel.ask, decks, graves, hands)
return HttpResponse("error")
def show(duel, user, room_number, ask, decks, graves, hands):
ask_fields = []
ask_under = []
field_size = FieldSize.objects.get(id=1)
current_and_or = "and"
own_player = False
other_player = False
other_user_flag = False
duelobj = DuelObj(room_number)
duelobj.duel = duel
duelobj.room_number = room_number
if user == 1:
other_user = 2
elif user == 2:
other_user = 1
duelobj.user = user
duelobj.other_user = other_user
duelobj.init_all(user, other_user, room_number)
field = duelobj.field
duelobj.check_eternal_effect(
decks, graves, hands, duel.phase, duel.user_turn, user, other_user
)
if duel.in_copying is True:
duelobj.tmp_chain = str(duel.chain - 1)
else:
duelobj.tmp_chain = str(duel.chain)
if int(duelobj.tmp_chain) > 0:
duelobj.retrieve = 1
duelobj.check_eternal_effect(
decks, graves, hands, duel.phase, duel.user_turn, user, other_user
)
cost = duelobj.cost
mess = duelobj.mess
if duel.in_cost is True:
if str(duel.chain) in cost:
cost_chain = cost[str(duel.chain)]
else:
cost_chain = []
else:
if str(duel.chain - 1) in cost:
cost_chain = cost[str(duel.chain - 1)]
else:
cost_chain = []
if str(duel.chain - 1) in mess:
mess = mess[str(duel.chain - 1)]
else:
mess = []
counter = 0
effect_kind = duel.ask_kind
if duel.in_cost is True:
cost_det = duel.cost_det
effect_user = duel.cost_user
cost = CostWrapper.objects.get(id=int(cost_det))
cost_det = cost.cost
if cost.prompt == "" and cost.sentence == "":
prompt = cost_det.prompt
sentence = cost_det.sentence
else:
prompt = cost.prompt
sentence = cost.sentence
if cost_det.cost != "":
monster_effect_text_org = json.loads(cost_det.cost)
if cost_det.cost_val == 28 or cost_det.cost_val == 64:
return_value = {}
return_value["chain_variable"] = True
return_value["min"] = duelobj.calculate_boland(
monster_effect_text_org["min_equation_number"],None,True
)
return_value["max"] = duelobj.calculate_boland(
monster_effect_text_org["max_equation_number"],None,True
)
return_value["prompt"] = prompt
return_value["sentence"] = sentence
return HttpResponse(json.dumps(return_value))
if cost_det.cost_val == 26:
return_value = {}
return_value["chain_variable"] = True
return_value["min"] = duelobj.calculate_boland(
monster_effect_text_org["min_equation_number"]
)
return_value["max"] = duelobj.calculate_boland(
monster_effect_text_org["max_equation_number"]
)
return_value["prompt"] = prompt
return_value["sentence"] = sentence
return HttpResponse(json.dumps(return_value))
elif cost_det.cost_val == 27 or cost_det.cost_val == 63:
return_value = {}
return_value["chain_variable"] = True
return_value["min"] = duelobj.calculate_boland(
monster_effect_text_org["min_equation_number"]
)
return_value["max"] = duelobj.calculate_boland(
monster_effect_text_org["max_equation_number"]
)
return_value["prompt"] = prompt
return_value["sentence"] = sentence
return HttpResponse(json.dumps(return_value))
elif cost_det.cost_val == 3:
if duel.user_turn == effect_user:
ask_org = 1
else:
ask_org = 2
elif cost_det.cost_val == 4:
other_user_flag = True
if duel.user_turn == effect_user:
ask_org = 2
else:
ask_org = 1
elif cost_det.cost_val == 16:
return_value = {}
return_value["yes_or_no"] = True
if prompt.find("@"):
cost = duelobj.cost
if str(duel.chain ) in cost:
cost = cost[str(duel.chain)]
else:
cost = []
if "~trigger" in cost:
monster_name = cost["~trigger"][0]["det"]["monster_name"]
prompt = prompt.replace("(@)", monster_name)
return_value["sentence"] = sentence
return_value["prompt"] = prompt
return HttpResponse(json.dumps(return_value))
elif cost_det.cost_val == 48:
return_value = {}
return_value["yes_or_no"] = True
if prompt.find("@"):
cost = duelobj.cost
if str(duel.chain ) in cost:
cost = cost[str(duel.chain)]
else:
cost = []
if "~trigger" in cost:
monster_name = cost["~trigger"][0]["det"]["monster_name"]
prompt = prompt.replace("(@)", monster_name)
return_value["sentence"] = sentence
return_value["prompt"] = prompt
return HttpResponse(json.dumps(return_value))
elif cost_det.cost_val == 26:
return_value = {}
return_value["yes_or_no"] = True
return_value["sentence"] = sentence
return_value["prompt"] = prompt
return HttpResponse(json.dumps(return_value))
elif cost_det.cost_val == 5:
if duelobj.user != effect_user:
other_user_flag = True
ask_org = 3
else:
ask_org = 0
elif duel.in_trigger_waiting is True and duel.force == 0:
return_value = {}
return_value["yes_or_no"] = True
return_value["sentence"] = ""
return_value["prompt"] = duel.trigger_name
return HttpResponse(json.dumps(return_value))
else:
chain_det = json.loads(duel.chain_det)
chain_user = json.loads(duel.chain_user)
effect_user = chain_user[str(duel.chain - 1)]
monster_effect = MonsterEffectWrapper.objects.get(
id=int(chain_det[str(duel.chain - 1)])
)
monster_effect_det2 = monster_effect.monster_effect
if monster_effect.prompt != "" or monster_effect.sentence:
prompt = monster_effect.prompt
sentence = monster_effect.sentence
else:
prompt = monster_effect_det2.prompt
sentence = monster_effect_det2.sentence
monster_condition = monster_effect_det2.monster_condition
if monster_condition != "":
monster_condition = json.loads(monster_condition)
monster_condition = monster_condition["monster"][0]["monster"]
if monster_effect_det2.monster_effect_val == 54:
return_value = {}
acc_global = duelobj.acc_global
acc_val = []
for tmp in acc_global:
acc_val_tmp = {}
acc_val_tmp["monster_name"] = tmp["monster"]["det"]["monster_name"]
acc_val_tmp["change_val"] = tmp["change_val"]
acc_val.append(acc_val_tmp)
return_value["variables"] = acc_val
return_value["prompt"] = prompt
return HttpResponse(json.dumps(return_value))
elif monster_effect_det2.monster_effect_val == 55:
return_value = {}
acc_global = duelobj.acc_global
acc_val = []
for tmp in acc_global:
acc_val_tmp = {}
acc_val_tmp["monster_name"] = tmp["monster"]["det"]["monster_name"]
acc_val_tmp["change_val"] = tmp["change_val"]
acc_val.append(acc_val_tmp)
return_value["variables"] = acc_val
return_value["val_order"] = True
return_value["prompt"] = prompt
return HttpResponse(json.dumps(return_value))
elif monster_effect_det2.monster_effect_val == 16:
return_value = {}
return_value["yes_or_no"] = True
if prompt.find("@"):
mess = duelobj.mess
if str(duel.chain - 1) in mess:
mess = mess[str(duel.chain - 1)]
else:
mess = []
if "trigger" in mess:
monster_name = mess["trigger"][0]["det"]["monster_name"]
prompt = prompt.replace("(@)", monster_name)
return_value["prompt"] = prompt
return_value["sentence"] = sentence
return HttpResponse(json.dumps(return_value))
elif monster_effect_det2.monster_effect_val == 66:
return_value = {}
return_value["multiple_choice"] = True
if prompt.find("@"):
mess = duelobj.mess
if str(duel.chain - 1) in mess:
mess = mess[str(duel.chain - 1)]
else:
mess = []
if "trigger" in mess:
monster_name = mess["trigger"][0]["det"]["monster_name"]
prompt = prompt.replace("(@)", monster_name)
return_value["multiple_det"] = json.loads(monster_effect_det2.monster_effect)
return_value["prompt"] = prompt
return_value["sentence"] = sentence
return HttpResponse(json.dumps(return_value))
elif monster_effect_det2.monster_effect_val == 26:
return_value = {}
return_value["yes_or_no"] = True
if prompt.find("@"):
mess = duelobj.mess
if str(duel.chain - 1) in mess:
mess = mess[str(duel.chain - 1)]
else:
mess = []
if "trigger" in mess:
monster_name = mess["trigger"][0]["det"]["monster_name"]
prompt = prompt.replace("(@)", monster_name)
return_value["sentence"] = sentence
return_value["prompt"] = prompt
return HttpResponse(json.dumps(return_value))
elif monster_effect_det2.monster_effect_val == 67:
return_value = {}
return_value["multiple_choice"] = True
if prompt.find("@"):
mess = duelobj.mess
if str(duel.chain - 1) in mess:
mess = mess[str(duel.chain - 1)]
else:
mess = []
if "trigger" in mess:
monster_name = mess["trigger"][0]["det"]["monster_name"]
prompt = prompt.replace("(@)", monster_name)
return_value["multiple_det"] = json.loads(monster_effect_det2.monster_effect)
return_value["prompt"] = prompt
return_value["sentence"] = sentence
return HttpResponse(json.dumps(return_value))
monster_effect_text_org = json.loads(monster_effect_det2.monster_effect)
if monster_effect_det2.monster_effect_val == 28 or monster_effect_det2.monster_effect_val == 64:
return_value = {}
return_value["chain_variable"] = True
return_value["min"] = duelobj.calculate_boland(
monster_effect_text_org["min_equation_number"],None,True
)
return_value["max"] = duelobj.calculate_boland(
monster_effect_text_org["max_equation_number"],None,True
)
return_value["prompt"] = prompt
return_value["sentence"] = sentence
return HttpResponse(json.dumps(return_value))
elif monster_effect_det2.monster_effect_val == 27 or monster_effect_det2.monster_effect_val == 63:
return_value = {}
return_value["chain_variable"] = True
return_value["min"] = duelobj.calculate_boland(
monster_effect_text_org["min_equation_number"]
)
return_value["max"] = duelobj.calculate_boland(
monster_effect_text_org["max_equation_number"]
)
return_value["prompt"] = prompt
return_value["sentence"] = sentence
return HttpResponse(json.dumps(return_value))
elif (
monster_effect_det2.monster_effect_val == 30
or monster_effect_det2.monster_effect_val == 31
):
sentence = sentence
prompt = prompt
return show_multiple(
duelobj,
user,
effect_kind,
monster_effect_text_org,
monster_condition,
sentence,
prompt,
)
if monster_effect_det2.monster_effect_val == 57:
return show_as(
duelobj,
user,
effect_kind,
monster_effect_text_org,
monster_condition,
sentence,
prompt,
)
elif monster_effect_det2.monster_effect_val == 65:
return show_as_under(
duelobj,
user,
effect_kind,
monster_effect_text_org,
monster_condition,
sentence,
prompt,
)
elif monster_effect_det2.monster_effect_val == 59:
return show_force(
duelobj,
user,
effect_kind,
monster_effect_det2.monster_effect,
sentence,
prompt
)
if (
monster_effect_det2.monster_effect_val == 3
or monster_effect_det2.monster_effect_val == 44
):
if duel.user_turn == effect_user:
ask_org = 1
else:
ask_org = 2
elif monster_effect_det2.monster_effect_val == 4:
other_user_flag = True
if duel.user_turn == effect_user:
ask_org = 2
else:
ask_org = 1
elif monster_effect_det2.monster_effect_val == 5:
if duelobj.user != effect_user:
other_user_flag = True
ask_org = 3
else:
ask_org = 0
tmp_val = {}
return_val = []
if "whether_monster" in monster_effect_text_org:
whether_monster = monster_effect_text_org["whether_monster"]
else:
whether_monster = 0
monster_effect_text = monster_effect_text_org["monster"]
exclude = monster_effect_text_org["exclude"]
if "all_flag" in monster_effect_text_org:
all_flag = monster_effect_text_org["all_flag"]
else:
all_flag = False
for monster_effect_det in monster_effect_text:
monster_effect_det_monster = monster_effect_det["monster"]
counter += 1
if duel.user_turn == user:
if (counter == 1 and ask_org == 3) or ask_org == 1:
place_array = []
place_tmp = monster_effect_det_monster["place"]
tmp_place_counter = 0
for place_key in range(len(place_tmp)):
place_and_or = place_tmp[place_key]["and_or"]
place_det = place_tmp[place_key]["det"]
if place_and_or == "":
place_and_or = "or"
place_array.append([])
place_array[tmp_place_counter].append(place_det)
if place_and_or == "and":
place_key += 1
place_and_or = place_tmp[place_key]["and_or"]
place_det = place_tmp[place_key]["det"]
place_array[tmp_place_counter][1] = place_det
if place_and_or == "and":
place_key += 1
place_and_or = place_tmp[place_key]["and_or"]
place_det = place_tmp[place_key]["det"]
place_array[tmp_place_counter][2] = place_det
if place_and_or == "and":
place_key += 1
place_and_or = place_tmp[place_key]["and_or"]
place_det = place_tmp[place_key]["det"]
place_array[tmp_place_counter][3] = place_det
if place_and_or == "and":
place_key += 1
place_and_or = place_tmp[place_key]["and_or"]
place_det = place_tmp[place_key]["det"]
place_array[tmp_place_counter][4] = place_det
tmp_place_counter += 1
for place_each in place_array:
place_tmp = place_each[0].split("_")
if place_tmp[0] == "player" and place_tmp[1] == "1":
own_player = True
elif place_tmp[0] == "player" and place_tmp[1] == "2":
other_player = True
elif place_tmp[0] == "deck":
deck = Deck.objects.get(id=place_tmp[1])
if deck.mine_or_other == 1:
return_val.append(
return_deck(
duelobj,
duel,
deck.id,
3,
place_tmp[2],
deck.deck_name,
room_number,
exclude,
monster_effect_det,
)
)
else:
return_val.append(
return_deck(
duelobj,
duel,
deck.id,
user,
place_tmp[2],
deck.deck_name,
room_number,
exclude,
monster_effect_det,
)
)
elif place_tmp[0] == "grave":
grave = Grave.objects.get(id=place_tmp[1])
if grave.mine_or_other == 1:
return_val.append(
return_grave(
duelobj,
duel,
grave.id,
3,
place_tmp[2],
grave.grave_name,
room_number,
exclude,
monster_effect_det,
)
)
else:
return_val.append(
return_grave(
duelobj,
duel,
grave.id,
user,
place_tmp[2],
grave.grave_name,
room_number,
exclude,
monster_effect_det,
)
)
elif place_tmp[0] == "hand":
hand = Hand.objects.get(id=place_tmp[1])
if hand.mine_or_other == 1:
return_val.append(
return_hand(
duelobj,
duel,
hand.id,
3,
place_tmp[2],
hand.hand_name,
room_number,
exclude,
monster_effect_det,
)
)
else:
return_val.append(
return_hand(
duelobj,
duel,
hand.id,
user,
place_tmp[2],
hand.hand_name,
room_number,
exclude,
monster_effect_det,
)
)
elif place_tmp[0] == "field":
current_and_or = "or"
if duelobj.field_free is True:
field_x = 20
else:
field_x = field_size.field_x
for x in range(field_x):
for y in range(field_size.field_y):
if field[x][y]["det"] is not None and user != field[x][y]["mine_or_other"] and int(duelobj.check_change_val(
field[x][y]["det"],
field[x][y]["mine_or_other"],
"field",
0,
x,
y,
"show",
field[x][y]["mine_or_other"],
int(field[x][y]["det"]["variables"]["show"]["value"])
)) == 1:
field[x][y]["det"] = None
if duelobj.config.sort is True:
field = self.sortField(field,y)
field[x][y]["hide"] = True
flag_field_place = False
if duelobj.field_free is False:
kind = field[x][y]["kind"]
else:
kind = field[0][y]["kind"]
if kind != "":
tmp = kind.split("_")
else:
tmp = []
if current_and_or == "and":
if place_tmp[1] in tmp:
if flag_field_place is True:
flag_field_place = True
else:
flag_field_place = False
elif current_and_or == "or":
if place_tmp[1] in tmp:
flag_field_place = True
else:
if flag_field_place is False:
flag_field_place = False
mine_or_other = int(place_tmp[2])
if (
mine_or_other == 1
and user == 1
or mine_or_other == 2
and user == 2
):
mine_or_other = 1
elif (
mine_or_other == 1
and user == 2
or mine_or_other == 2
and user == 1
):
mine_or_other = 2
else:
mine_or_other = 3
if flag_field_place is False:
continue
if field[x][y]["mine_or_other"] != mine_or_other:
continue
if field[x][y]["det"] is not None:
if duelobj.check_not_effected(
field[x][y]["det"],
user,
effect_kind,
"field",
0,
x,
y,
field[x][y]["mine_or_other"],
):
continue
tmp2 = {}
tmp2["det"] = field[x][y]["det"]
tmp2["mine_or_other"] = field[x][y]["mine_or_other"]
tmp2["user"] = user
tmp2["place"] = "field"
tmp2["deck_id"] = 0
tmp2["x"] = x
tmp2["y"] = y
tmp3 = field[x][y]["det"]["place_unique_id"]
tmp2["place_unique_id"] = field[x][y]["det"][
"place_unique_id"
]
if not duelobj.check_monster_condition_det(
monster_effect_det, field[x][y]["det"], user, effect_kind, 1, "field", x, y, 0
):
continue
ask_fields.append(tmp3)
elif place_tmp[0] == "under":
current_and_or = "or"
if duelobj.field_free is True:
field_x = 20
else:
field_x = field_size.field_x
for x in range(field_x):
for y in range(field_size.field_y):
if field[x][y]["det"] is not None and user != field[x][y]["mine_or_other"] and int(duelobj.check_change_val(
field[x][y]["det"],
field[x][y]["mine_or_other"],
"field",
0,
x,
y,
"show",
field[x][y]["mine_or_other"],
int(field[x][y]["det"]["variables"]["show"]["value"])
)) == 1:
field[x][y]["det"] = None
if duelobj.config.sort is True:
field = self.sortField(field,y)
field[x][y]["hide"] = True
flag_field_place = False
if duelobj.field_free is False:
kind = field[x][y]["kind"]
else:
kind = field[0][y]["kind"]
if kind != "":
tmp = kind.split("_")
else:
tmp = []
if current_and_or == "and":
if place_tmp[1] in tmp:
if flag_field_place is True:
flag_field_place = True
else:
flag_field_place = False
elif current_and_or == "or":
if place_tmp[1] in tmp:
flag_field_place = True
else:
if flag_field_place is False:
flag_field_place = False
mine_or_other = int(place_tmp[2])
if (
mine_or_other == 1
and user == 1
or mine_or_other == 2
and user == 2
):
mine_or_other = 1
elif (
mine_or_other == 1
and user == 2
or mine_or_other == 2
and user == 1
):
mine_or_other = 2
else:
mine_or_other = 3
if flag_field_place is False:
continue
if field[x][y]["mine_or_other"] != mine_or_other:
continue
if field[x][y]["det"] is not None:
if duelobj.check_not_effected(
field[x][y]["det"],
user,
effect_kind,
"field",
0,
x,
y,
field[x][y]["mine_or_other"],
):
continue
if not duelobj.check_monster_condition_det(
monster_effect_det, field[x][y]["det"], user, effect_kind, 1, "field", x, y, 0
):
continue
if "under" not in field[x][y]["det"]:
continue
for under in field[x][y]["det"]["under"]:
tmp2 = {}
tmp2["det"] = under
tmp2["mine_or_other"] = field[x][y]["mine_or_other"]
tmp2["user"] = user
tmp2["place"] = "under"
tmp2["deck_id"] = 0
tmp2["x"] = x
tmp2["y"] = y
tmp3 = under["place_unique_id"]
tmp2["place_unique_id"] = under[
"place_unique_id"
]
ask_under.append(tmp3)
break
else:
if (counter == 2 and ask_org == 3) or ask_org == 2:
place_array = []
place_tmp = monster_effect_det_monster["place"]
tmp_place_counter = 0
for place_key in range(len(place_tmp)):
place_and_or = place_tmp[place_key]["and_or"]
place_det = place_tmp[place_key]["det"]
if place_and_or == "":
place_and_or = "or"
place_array.append([])
place_array[tmp_place_counter].append(place_det)
if place_and_or == "and":
place_key += 1
place_and_or = place_tmp[place_key]["and_or"]
place_det = place_tmp[place_key]["det"]
place_array[tmp_place_counter][1] = place_det
if place_and_or == "and":
place_key += 1
place_and_or = place_tmp[place_key]["and_or"]
place_det = place_tmp[place_key]["det"]
place_array[tmp_place_counter][2] = place_det
if place_and_or == "and":
place_key += 1
place_and_or = place_tmp[place_key]["and_or"]
place_det = place_tmp[place_key]["det"]
place_array[tmp_place_counter][3] = place_det
if place_and_or == "and":
place_key += 1
place_and_or = place_tmp[place_key]["and_or"]
place_det = place_tmp[place_key]["det"]
place_array[tmp_place_counter][4] = place_det
tmp_place_counter += 1
for place_each in place_array:
place_tmp = place_each[0].split("_")
if place_tmp[0] == "deck":
deck = Deck.objects.get(id=place_tmp[1])
if deck.mine_or_other == 1:
return_val.append(
return_deck(
duelobj,
duel,
deck.id,
3,
place_tmp[2],
deck.deck_name,
room_number,
exclude,
monster_effect_det,
)
)
else:
return_val.append(
return_deck(
duelobj,
duel,
deck.id,
user,
place_tmp[2],
deck.deck_name,
room_number,
exclude,
monster_effect_det,
)
)
break
elif place_tmp[0] == "grave":
grave = Grave.objects.get(id=place_tmp[1])
if grave.mine_or_other == 1:
return_val.append(
return_grave(
duelobj,
duel,
grave.id,
3,
place_tmp[2],
grave.grave_name,
room_number,
exclude,
monster_effect_det,
)
)
else:
return_val.append(
return_grave(
duelobj,
duel,
grave.id,
user,
place_tmp[2],
grave.grave_name,
room_number,
exclude,
monster_effect_det,
)
)
elif place_tmp[0] == "hand":
hand = Hand.objects.get(id=place_tmp[1])
if hand.mine_or_other == 1:
return_val.append(
return_hand(
duelobj,
duel,
hand.id,
3,
place_tmp[2],
hand.hand_name,
room_number,
exclude,
monster_effect_det,
)
)
else:
return_val.append(
return_hand(
duelobj,
duel,
hand.id,
user,
place_tmp[2],
hand.hand_name,
room_number,
exclude,
monster_effect_det,
)
)
elif place_tmp[0] == "field":
current_and_or = "or"
if duelobj.field_free is True:
field_x = 20
else:
field_x = field_size.field_x
for x in range(field_x):
for y in range(field_size.field_y):
if field[x][y]["det"] is not None and user != field[x][y]["mine_or_other"] and int(duelobj.check_change_val(
field[x][y]["det"],
field[x][y]["mine_or_other"],
"field",
0,
x,
y,
"show",
field[x][y]["mine_or_other"],
int(field[x][y]["det"]["variables"]["show"]["value"])
)) == 1:
field[x][y]["det"] = None
if duelobj.config.sort is True:
field = self.sortField(field,y)
field[x][y]["hide"] = True
flag_field_place = False
if duelobj.field_free is False:
kind = field[x][y]["kind"]
else:
kind = field[0][y]["kind"]
if kind != "":
tmp = kind.split("_")
else:
tmp = []
if current_and_or == "and":
if place_tmp[1] in tmp:
if flag_field_place is True:
flag_field_place = True
else:
flag_field_place = False
elif current_and_or == "or":
if place_tmp[1] in tmp:
flag_field_place = True
else:
if flag_field_place is False:
flag_field_place = False
mine_or_other = int(place_tmp[2])
if (
mine_or_other == 1
and user == 1
or mine_or_other == 2
and user == 2
):
mine_or_other = 1
elif (
mine_or_other == 1
and user == 2
or mine_or_other == 2
and user == 1
):
mine_or_other = 2
else:
mine_or_other = 3
if flag_field_place is False:
continue
if field[x][y]["mine_or_other"] != mine_or_other:
continue
if field[x][y]["det"] is not None:
if duelobj.check_not_effected(
field[x][y]["det"],
user,
effect_kind,
"field",
0,
x,
y,
field[x][y]["mine_or_other"],
):
continue
tmp2 = {}
tmp2["det"] = field[x][y]["det"]
tmp2["mine_or_other"] = field[x][y]["mine_or_other"]
tmp2["user"] = user
tmp2["place"] = "field"
tmp2["deck_id"] = 0
tmp2["x"] = x
tmp2["y"] = y
tmp3 = field[x][y]["det"]["place_unique_id"]
tmp2["place_unique_id"] = field[x][y]["det"][
"place_unique_id"
]
if not duelobj.check_monster_condition_det(
monster_effect_det, field[x][y]["det"], user, effect_kind, 1, "field", x, y, 0
):
continue
ask_fields.append(tmp3)
elif place_tmp[0] == "under":
current_and_or = "or"
if duelobj.field_free is True:
field_x = 20
else:
field_x = field_size.field_x
for x in range(field_x):
for y in range(field_size.field_y):
flag_field_place = False
if duelobj.field_free is False:
kind = field[x][y]["kind"]
else:
kind = field[0][y]["kind"]
if kind != "":
tmp = kind.split("_")
else:
tmp = []
if current_and_or == "and":
if place_tmp[1] in tmp:
if flag_field_place is True:
flag_field_place = True
else:
flag_field_place = False
elif current_and_or == "or":
if place_tmp[1] in tmp:
flag_field_place = True
else:
if flag_field_place is False:
flag_field_place = False
mine_or_other = int(place_tmp[2])
if (
mine_or_other == 1
and user == 1
or mine_or_other == 2
and user == 2
):
mine_or_other = 1
elif (
mine_or_other == 1
and user == 2
or mine_or_other == 2
and user == 1
):
mine_or_other = 2
else:
mine_or_other = 3
if flag_field_place is False:
continue
if field[x][y]["mine_or_other"] != mine_or_other:
continue
if field[x][y]["det"] is not None:
if duelobj.check_not_effected(
field[x][y]["det"],
user,
effect_kind,
"field",
0,
x,
y,
field[x][y]["mine_or_other"],
):
continue
if not duelobj.check_monster_condition_det(
monster_effect_det, field[x][y]["det"], user, effect_kind, 1, "field", x, y, 0
):
continue
if "under" not in field[x][y]["det"]:
continue
for under in field[x][y]["det"]["under"]:
tmp2 = {}
tmp2["det"] = under
tmp2["mine_or_other"] = field[x][y]["mine_or_other"]
tmp2["user"] = user
tmp2["place"] = "under"
tmp2["deck_id"] = 0
tmp2["x"] = x
tmp2["y"] = y
tmp3 = under["place_unique_id"]
tmp2["place_unique_id"] = under[
"place_unique_id"
]
ask_under.append(tmp3)
if ask_fields:
tmp_val["ask_field"] = ask_fields
tmp_val["field_info"] = field
if ask_under:
tmp_val["ask_under"] = under
tmp_val["field_info"] = field
tmp_val["return_val"] = return_val
tmp_val["equation"] = monster_effect_det["equation"]["equation"]
tmp_val["equation_kind"] = monster_effect_det["equation"]["equation_kind"]
# tmp_val["equation_number"] = monster_effect_det["equation"]["equation_number"]
tmp_val["min_equation_number"] = duelobj.calculate_boland(
monster_effect_det["min_equation_number"], None, other_user_flag
)
tmp_val["max_equation_number"] = duelobj.calculate_boland(
monster_effect_det["max_equation_number"], None, other_user_flag
)
tmp_val["whether_monster"] = whether_monster
tmp_val["sentence"] = sentence
tmp_val["prompt"] = prompt
tmp_val["monster_name_kind"] = monster_effect_det_monster["monster_name_kind"]
if "flag" in monster_effect_det_monster:
tmp_val["flag"] = monster_effect_det_monster["flag"]
if "monster_condition" in monster_effect_det_monster:
tmp_val["variables"] = monster_effect_det_monster["monster_condition"]
val_exclude = []
timing_mess = duel.timing_mess
if exclude != "":
excludes = exclude.split(",")
for exclude_det in excludes:
if exclude_det[0] == "%":
if exclude_det in timing_mess:
for timing_det in timing_mess[exclude_det]:
val_exclude.append(timing_det["place_unique_id"])
if exclude_det[0] == "~":
if exclude_det in cost_chain:
for cost_det in cost_chain[exclude_det]:
val_exclude.append(cost_det["place_unique_id"])
if exclude_det in mess:
for mess_det in mess[exclude_det]:
val_exclude.append(mess_det["place_unique_id"])
tmp_val["exclude"] = val_exclude
tmp_val["own_player"] = own_player
tmp_val["other_player"] = other_player
tmp_val["user"] = duelobj.user
tmp_val["all_flag"] = all_flag
if "from_left" not in monster_effect_text_org or monster_effect_text_org["from_left"] is False:
tmp_val["from_left"] = False
else:
tmp_val["from_left"] = True
return HttpResponse(json.dumps(tmp_val))
def return_deck(
duelobj,
duel,
deck_id,
user,
mine_or_other,
deck_name,
room_number,
exclude="",
monster_effect_det=None,
):
mine_or_other = int(mine_or_other)
html = {}
html["deck_id"] = deck_id
html["mine_or_other_val"] = mine_or_other
cost = duelobj.cost
mess = duelobj.mess
effect_kind = duel.ask_kind
if duel.in_cost is True:
if str(duel.chain) in cost:
cost_chain = cost[str(duel.chain)]
else:
cost_chain = []
else:
if str(duel.chain - 1) in cost:
cost_chain = cost[str(duel.chain - 1)]
else:
cost_chain = []
if str(duel.chain - 1) in mess:
mess = mess[str(duel.chain - 1)]
else:
mess = []
if mine_or_other == 1:
html["mine_or_other"] = "自分の" + deck_name
elif mine_or_other == 2:
html["mine_or_other"] = "相手の" + deck_name
if user == 1:
user = 2
elif user == 2:
user = 1
else:
html["mine_or_other"] = "共通の" + deck_name
if mine_or_other == 1:
tmp = duelobj.decks[deck_id]["mydeck"]
elif mine_or_other == 2:
tmp = duelobj.decks[deck_id]["otherdeck"]
elif mine_or_other == 3 or mine_or_other == 0:
tmp = duelobj.decks[deck_id]["commondeck"]
user_decks = tmp
html["cards"] = []
for user_deck in user_decks:
flag = True
if exclude != "":
excludes = exclude.split(",")
for exclude_det in excludes:
if exclude_det in cost_chain:
for cost_det in cost_chain[exclude_det]:
if user_deck["place_unique_id"] == cost_det["place_unique_id"]:
flag = False
continue
if exclude_det in mess:
for mess_det in mess[exclude_det]:
if user_deck["place_unique_id"] == mess_det["place_unique_id"]:
flag = False
continue
if not duelobj.check_monster_condition_det(
monster_effect_det, user_deck, user, effect_kind, 1, "deck", deck_id, 0, 0
):
flag = False
if flag is True:
tmp = user_deck
html["cards"].append(tmp)
return html
def return_grave(
duelobj,
duel,
grave_id,
user,
mine_or_other,
grave_name,
room_number,
exclude="",
monster_effect_det=None,
):
mine_or_other = int(mine_or_other)
cost = json.loads(duel.cost)
mess = json.loads(duel.mess)
effect_kind = duel.ask_kind
html = {}
html["grave_id"] = grave_id
html["mine_or_other_val"] = mine_or_other
if mine_or_other == 1:
html["mine_or_other"] = "自分の" + grave_name
elif mine_or_other == 2:
html["mine_or_other"] = "相手の" + grave_name
if user == 1:
user = 2
elif user == 2:
user = 1
else:
html["mine_or_other"] = "共通の" + grave_name
if user == 1:
tmp = DuelGrave.objects.get(
room_number=room_number, mine_or_other=1, grave_id=grave_id
)
elif user == 2:
tmp = DuelGrave.objects.get(
room_number=room_number, mine_or_other=2, grave_id=grave_id
)
elif user == 3:
tmp = DuelGrave.objects.get(
room_number=room_number, mine_or_other=3, grave_id=grave_id
)
user_graves = json.loads(tmp.grave_content)
html["grave"] = []
for user_grave in user_graves:
flag = True
if exclude != "":
excludes = exclude.split(",")
for exclude_det in excludes:
if exclude_det in cost:
for cost_det in cost[exclude_det]:
if user_grave["place_unique_id"] == cost_det["place_unique_id"]:
flag = False
continue
if exclude_det in mess:
for mess_det in mess[exclude_det]:
if user_grave["place_unique_id"] == mess_det["place_unique_id"]:
flag = False
continue
if (
duelobj.check_monster_condition_det(
monster_effect_det,
user_grave,
user,
effect_kind,
1,
"grave",
grave_id,
0,
0,
)
is False
):
flag = False
if flag is True:
tmp = user_grave
html["grave"].append(tmp)
return html
def return_hand(
duelobj,
duel,
hand_id,
user,
mine_or_other,
hand_name,
room_number,
exclude="",
monster_effect_det=None,
):
mine_or_other = int(mine_or_other)
html = {}
html["hand_id"] = hand_id
html["mine_or_other_val"] = mine_or_other
cost = json.loads(duel.cost)
mess = json.loads(duel.mess)
timing_mess = json.loads(duel.timing_mess)
effect_kind = duel.ask_kind
if mine_or_other == 1:
html["mine_or_other"] = "自分の" + hand_name
elif mine_or_other == 2:
html["mine_or_other"] = "相手の" + hand_name
if user == 1:
user = 2
elif user == 2:
user = 1
else:
html["mine_or_other"] = "共通の" + hand_name
if user == 1:
tmp = DuelHand.objects.get(
room_number=room_number, mine_or_other=1, hand_id=hand_id
)
elif user == 2:
tmp = DuelHand.objects.get(
room_number=room_number, mine_or_other=2, hand_id=hand_id
)
elif user == 3:
tmp = DuelHand.objects.get(
room_number=room_number, mine_or_other=3, hand_id=hand_id
)
user_hands = json.loads(tmp.hand_content)
html["hand"] = []
for user_hand in user_hands:
flag = True
if exclude != "":
excludes = exclude.split(",")
for exclude_det in excludes:
if exclude_det[0] == "~":
if exclude_det in cost:
for cost_det in cost[exclude_det]:
if (
user_hand["place_unique_id"]
== cost_det["place_unique_id"]
):
flag = False
continue
elif exclude_det[0] == "%":
if exclude_det in timing_mess:
for timing_det in timing_mess[exclude_det]:
if (
user_hand["place_unique_id"]
== timing_det["place_unique_id"]
):
flag = False
continue
elif exclude_det in mess:
for mess_det in mess[exclude_det]:
if user_hand["place_unique_id"] == mess_det["place_unique_id"]:
flag = False
continue
if (
duelobj.check_monster_condition_det(
monster_effect_det,
user_hand,
user,
effect_kind,
1,
"hand",
hand_id,
0,
0,
)
is False
):
flag = False
if flag is True:
tmp = user_hand
html["hand"].append(tmp)
return html
def show_force(
duelobj, user, effect_kind, monster_effect,sentence, prompt
):
det = json.loads(monster_effect)
deck_id = det["deck_id"]
ignore_timing = det["ignore_timing"]
if user == 1:
other_user = 2
else:
other_user = 1
mine_or_other = other_user
duel = duelobj.duel
return_value = []
hand = duelobj.hands[deck_id]["otherhand"]
user_hands = hand
i=0
for user_hand in user_hands:
id = duelobj.get_monster_id(
user_hand, "hand", other_user,i, 0, 0, mine_or_other
)
monster_det = Monster.objects.get(id=id)
triggers = monster_det.trigger.all()
triggers = triggers.filter(trigger_timing=False)
phase = duel.phase
turn = duel.user_turn
place_unique_id = user_hand["place_unique_id"]
tmp2 = {}
tmp2["det"] = user_hand
tmp2["mine_or_other"] = mine_or_other
tmp2["user"] = user
tmp2["place"] = "hand"
tmp2["deck_id"] = deck_id
tmp2["x"] = 0
tmp2["y"] = 0
tmp2["place_unique_id"] = user_hand["place_unique_id"]
tmp2["able"] = 0
if user_hand["flag"]== 0:
for trigger in triggers:
if duelobj.check_launch_trigger_ignore_chain_and_timing(
trigger,
phase,
turn,
other_user,
user,
mine_or_other,
"hand",
place_unique_id,
deck_id,
ignore_timing
):
tmp2["able"] = 1
return_value.append(tmp2)
tmp_val = {}
tmp_val["return_val"] = return_value
tmp_val["force_effect"] = 1
tmp_val["user"] = duelobj.user
tmp_val["sentence"] = sentence
tmp_val["prompt"] = prompt
return HttpResponse(json.dumps(tmp_val))
def show_as(
duelobj, user, effect_kind, monster_effect_text, monster_condition, sentence, prompt
):
ask_fields = []
ask_under = []
duel = duelobj.duel
field = duelobj.field
return_value = []
for monster_effect_det in monster_effect_text["monster"]:
if (
"as_monster_condition" in monster_effect_det
and monster_effect_det["as_monster_condition"] != ""
):
as_monsters = monster_effect_det["as_monster_condition"]
if not isinstance(as_monsters, list):
tmp_monster = []
tmp_monster.append(as_monsters)
as_monsters = tmp_monster
for as_monster in as_monsters:
if as_monster[0] == "~":
tmp = duelobj.cost
tmp = tmp[str(int(duel.chain))]
if as_monster not in tmp:
continue
place1 = tmp[as_monster]
elif as_monster[0] == "%":
tmp = duelobj.timing_mess
if as_monster not in tmp:
continue
place1 = tmp[as_monster]
else:
tmp = duelobj.mess
tmp = tmp[str(int(duel.chain - 1))]
if as_monster not in tmp:
continue
place1 = tmp[as_monster]
for place2 in place1:
if monster_condition != "":
if not duelobj.validate_answer(
place2, monster_condition, "", duel
):
continue
if place2["place"] == "field":
x = place2["x"]
y = place2["y"]
if duelobj.check_not_effected(
field[x][y]["det"],
user,
effect_kind,
"field",
0,
x,
y,
field[x][y]["mine_or_other"],
):
continue
tmp2 = {}
tmp2["det"] = field[x][y]["det"]
tmp2["mine_or_other"] = field[x][y]["mine_or_other"]
tmp2["user"] = user
tmp2["place"] = "field"
tmp2["deck_id"] = 0
tmp2["x"] = x
tmp2["y"] = y
tmp3 = field[x][y]["det"]["place_unique_id"]
tmp2["place_unique_id"] = field[x][y]["det"][
"place_unique_id"
]
if not duelobj.check_monster_condition_det(
monster_effect_det, field[x][y]["det"], user, effect_kind, 1, "field", x, y, 0
):
continue
ask_fields.append(tmp3)
if place2["place"] == "under":
x = place2["x"]
y = place2["y"]
if duelobj.check_not_effected(
field[x][y]["det"],
user,
effect_kind,
"field",
0,
x,
y,
field[x][y]["mine_or_other"],
):
continue
if not duelobj.check_monster_condition_det(
monster_effect_det, field[x][y]["det"], user, effect_kind, 1, "field", x, y, 0
):
continue
if "under" not in field[x][y]["det"]:
continue
for under in field[x][y]["det"]["under"]:
tmp2 = {}
tmp2["det"] = under
tmp2["mine_or_other"] = field[x][y]["mine_or_other"]
tmp2["user"] = user
tmp2["place"] = "under"
tmp2["deck_id"] = 0
tmp2["x"] = x
tmp2["y"] = y
tmp3 = under["place_unique_id"]
tmp2["place_unique_id"] = under[
"place_unique_id"
]
ask_under.append(tmp3)
tmp_val = {}
if ask_fields:
tmp_val["ask_field"] = ask_fields
tmp_val["field_info"] = field
if ask_under:
tmp_val["ask_under"] = ask_under
tmp_val["field_info"] = field
tmp_val["return_val"] = return_value
tmp_val["min_equation_number"] = duelobj.calculate_boland(
monster_effect_det["min_equation_number"]
)
tmp_val["max_equation_number"] = duelobj.calculate_boland(
monster_effect_det["max_equation_number"]
)
tmp_val["user"] = duelobj.user
tmp_val["whether_monster"] = 1
tmp_val["exclude"] = []
tmp_val["sentence"] = sentence
tmp_val["prompt"] = prompt
return HttpResponse(json.dumps(tmp_val))
def show_as_under(
duelobj, user, effect_kind, monster_effect_text, monster_condition, sentence, prompt
):
ask_under = []
duel = duelobj.duel
field = duelobj.field
return_value = []
for monster_effect_det in monster_effect_text["monster"]:
if (
"as_monster_condition" in monster_effect_det
and monster_effect_det["as_monster_condition"] != ""
):
as_monsters = monster_effect_det["as_monster_condition"]
if not isinstance(as_monsters, list):
tmp_monster = []
tmp_monster.append(as_monsters)
as_monsters = tmp_monster
for as_monster in as_monsters:
if as_monster[0] == "~":
tmp = duelobj.cost
tmp = tmp[str(int(duel.chain))]
if as_monster not in tmp:
continue
place1 = tmp[as_monster]
elif as_monster[0] == "%":
tmp = duelobj.timing_mess
if as_monster not in tmp:
continue
place1 = tmp[as_monster]
else:
tmp = duelobj.mess
tmp = tmp[str(int(duel.chain - 1))]
if as_monster not in tmp:
continue
place1 = tmp[as_monster]
for place2 in place1:
if monster_condition != "":
if not duelobj.validate_answer(
place2, monster_condition, "", duel
):
continue
if place2["place"] == "field":
x = place2["x"]
y = place2["y"]
if duelobj.check_not_effected(
field[x][y]["det"],
user,
effect_kind,
"field",
0,
x,
y,
field[x][y]["mine_or_other"],
):
continue
tmp2 = {}
tmp2["det"] = field[x][y]["det"]
tmp2["mine_or_other"] = field[x][y]["mine_or_other"]
tmp2["user"] = user
tmp2["place"] = "field"
tmp2["deck_id"] = 0
tmp2["x"] = x
tmp2["y"] = y
tmp3 = field[x][y]["det"]["place_unique_id"]
tmp2["place_unique_id"] = field[x][y]["det"][
"place_unique_id"
]
if not duelobj.check_monster_condition_det(
monster_effect_det, field[x][y]["det"], user, effect_kind, 1, "field", x, y, 0
):
continue
if "under" not in field[x][y]["det"]:
continue
for under in field[x][y]["det"]["under"]:
tmp2 = {}
tmp2["det"] = under
tmp2["mine_or_other"] = field[x][y]["mine_or_other"]
tmp2["user"] = user
tmp2["place"] = "under"
tmp2["deck_id"] = 0
tmp2["x"] = x
tmp2["y"] = y
tmp3 = under["place_unique_id"]
tmp2["place_unique_id"] = under[
"place_unique_id"
]
ask_under.append(tmp3)
tmp_val = {}
if ask_under:
tmp_val["ask_under"] = ask_under
tmp_val["field_info"] = field
tmp_val["return_val"] = return_value
tmp_val["min_equation_number"] = duelobj.calculate_boland(
monster_effect_det["min_equation_number"]
)
tmp_val["max_equation_number"] = duelobj.calculate_boland(
monster_effect_det["max_equation_number"]
)
tmp_val["user"] = duelobj.user
tmp_val["whether_monster"] = 1
tmp_val["exclude"] = []
tmp_val["sentence"] = sentence
tmp_val["prompt"] = prompt
return HttpResponse(json.dumps(tmp_val))
def show_multiple(
duelobj, user, effect_kind, monster_effect_text, monster_condition, sentence, prompt
):
duel = duelobj.duel
if "whether_monster" in monster_effect_text:
whether_monster = monster_effect_text["whether_monster"]
exclude = monster_effect_text["exclude"]
return_value = []
tmp0 = []
tmp1 = []
return_value.append(tmp0)
return_value.append(tmp1)
counter = 0
for monster_effect_det in monster_effect_text["monster"]:
counter += 1
if counter == 2:
effect_kind = monster_effect_text["multiple_effect_kind"]
monster_effect_det_monster = monster_effect_det["monster"]
if (
"as_monster_condition" in monster_effect_det
and monster_effect_det["as_monster_condition"] != ""
):
as_monsters = monster_effect_det["as_monster_condition"]
if not isinstance(as_monsters, list):
tmp_monster = []
tmp_monster.append(as_monsters)
as_monsters = tmp_monster
for as_monster in as_monsters:
if as_monster[0] == "~":
tmp = duelobj.cost
tmp = tmp[str(int(duel.chain))]
if as_monster not in tmp:
continue
place1 = tmp[as_monster]
elif as_monster[0] == "%":
tmp = duelobj.timing_mess
if as_monster not in tmp:
continue
place1 = tmp[as_monster]
else:
tmp = duelobj.mess
tmp = tmp[str(int(duel.chain - 1))]
if as_monster not in tmp:
continue
place1 = tmp[as_monster]
for place2 in place1:
if monster_condition != "":
if not duelobj.validate_answer(
place2, monster_condition, "", duel
):
continue
if counter == 1:
return_value[0].append(place2)
else:
return_value[1].append(place2)
else:
place_array_tmp = []
for place in monster_effect_det_monster["place"]:
place_tmp = place["det"].split("_")
if place["and_or"] != "" and place_tmp[0] == "field":
tmptmp = {}
tmptmp["and_or"] = place["and_or"]
tmptmp["det"] = place["det"]
place_array_tmp.append(tmptmp)
continue
else:
tmptmp = {}
tmptmp["and_or"] = place["and_or"]
tmptmp["det"] = place["det"]
place_array_tmp.append(tmptmp)
place_array = place_array_tmp
place_array_tmp = []
if place_tmp[2] == "1":
mine_or_other2 = 1
elif place_tmp[2] == "2":
mine_or_other2 = 2
elif place_tmp[2] == "3":
mine_or_other2 = 3
if user == 1:
mine_or_other = mine_or_other2
else:
if mine_or_other2 == 1:
mine_or_other = 2
elif mine_or_other2 == 2:
mine_or_other = 1
else:
mine_or_other = mine_or_other2
deck_id = int(place_tmp[1])
if place_tmp[0] == "deck":
if mine_or_other2 == 1:
deck = duelobj.decks[deck_id]["mydeck"]
elif mine_or_other2 == 2:
deck = duelobj.decks[deck_id]["otherdeck"]
elif mine_or_other2 == 3:
deck = duelobj.decks[deck_id]["commondeck"]
user_decks = deck
for user_deck in user_decks:
tmp2 = {}
tmp2["det"] = user_deck
tmp2["mine_or_other"] = mine_or_other
tmp2["user"] = user
tmp2["place"] = "deck"
tmp2["deck_id"] = deck_id
tmp2["x"] = 0
tmp2["y"] = 0
tmp2["place_unique_id"] = user_deck["place_unique_id"]
if counter == 1:
return_value[0].append(tmp2)
else:
return_value[1].append(tmp2)
elif place_tmp[0] == "grave":
if mine_or_other2 == 1:
grave = duelobj.graves[deck_id]["mygrave"]
elif mine_or_other2 == 2:
grave = duelobj.graves[deck_id]["othergrave"]
elif mine_or_other2 == 3:
grave = duelobj.graves[deck_id]["commongrave"]
user_graves = grave
for user_grave in user_graves:
tmp2 = {}
tmp2["det"] = user_grave
tmp2["mine_or_other"] = mine_or_other
tmp2["user"] = user
tmp2["place"] = "grave"
tmp2["deck_id"] = deck_id
tmp2["x"] = 0
tmp2["y"] = 0
tmp2["place_unique_id"] = user_grave["place_unique_id"]
if counter == 1:
return_value[0].append(tmp2)
else:
return_value[1].append(tmp2)
elif place_tmp[0] == "hand":
if mine_or_other2 == 1:
hand = duelobj.hands[deck_id]["myhand"]
elif mine_or_other2 == 2:
hand = duelobj.hands[deck_id]["otherhand"]
elif mine_or_other2 == 3:
hand = duelobj.hands[deck_id]["commonhand"]
user_hands = hand
for user_hand in user_hands:
tmp2 = {}
tmp2["det"] = user_hand
tmp2["mine_or_other"] = mine_or_other
tmp2["user"] = user
tmp2["place"] = "hand"
tmp2["deck_id"] = deck_id
tmp2["x"] = 0
tmp2["y"] = 0
tmp2["place_unique_id"] = user_hand["place_unique_id"]
if counter == 1:
return_value[0].append(tmp2)
else:
return_value[1].append(tmp2)
elif place_tmp[0] == "field":
field_size = FieldSize.objects.get(id=1)
field = duelobj.field
if duelobj.field_free is True:
field_x = 20
else:
field_x = field_size.field_x
for x in range(field_x):
for y in range(field_size.field_y):
flag_field_place = True
current_and_or = "and"
mine_or_others = []
for place_tmp2 in place_array:
and_or = place_tmp2["and_or"]
det = place_tmp2["det"]
splitted_det = det.split("_")
kind2 = splitted_det[1]
if duelobj.field_free is False:
kind = field[x][y]["kind"]
else:
kind = field[0][y]["kind"]
if kind != "":
tmp = kind.split("_")
else:
tmp = []
if current_and_or == "and":
if kind2 in tmp:
if flag_field_place is True:
flag_field_place = True
else:
flag_field_place = False
elif current_and_or == "or":
if kind2 in tmp:
flag_field_place = True
else:
if flag_field_place is False:
flag_field_place = False
mine_or_other = int(splitted_det[2])
if (
mine_or_other == 1
and user == 1
or mine_or_other == 2
and user == 2
):
mine_or_other = 1
elif (
mine_or_other == 1
and user == 2
or mine_or_other == 2
and user == 1
):
mine_or_other = 2
else:
mine_or_other = 3
mine_or_others.append(mine_or_other)
if flag_field_place is False:
continue
if field[x][y]["mine_or_other"] not in mine_or_others:
continue
if field[x][y]["det"] is not None:
if duelobj.check_not_effected(
field[x][y]["det"],
user,
effect_kind,
"field",
0,
x,
y,
field[x][y]["mine_or_other"],
):
continue
tmp2 = {}
tmp2["det"] = field[x][y]["det"]
tmp2["mine_or_other"] = field[x][y]["mine_or_other"]
tmp2["user"] = user
tmp2["place"] = "field"
tmp2["deck_id"] = 0
tmp2["x"] = x
tmp2["y"] = y
tmp2["place_unique_id"] = field[x][y]["det"][
"place_unique_id"
]
if not duelobj.validate_answer(
tmp2, monster_effect_det["monster"], exclude, duel
):
continue
'''
if "under" not in field[x][y]["det"]:
continue
for under in field[x][y]["det"]["under"]:
if not duelobj.validate_answer(
tmp2, monster_effect_det["monster"], exclude, duel
):
continue
'''
if whether_monster == 0:
if field[x][y]["det"] is not None:
continue
tmp2 = {}
tmp2["det"] = field[x][y]["det"]
if duelobj.field_free is True:
tmp2["mine_or_other"] = field[0][y]["mine_or_other"]
elif duelobj.field_free is False:
tmp2["mine_or_other"] = field[x][y]["mine_or_other"]
tmp2["hide"] = (
field["hide"] if ("hide" in field[x][y]) else False
)
tmp2["x"] = x
tmp2["y"] = y
tmp2["deck_id"] = 0
tmp2["user"] = user
tmp2["place"] = "field"
if counter == 1:
return_value[0].append(tmp2)
else:
return_value[1].append(tmp2)
else:
if field[x][y]["det"] is None:
continue
tmp2 = {}
tmp2["det"] = field[x][y]["det"]
if duelobj.field_free is True:
tmp2["mine_or_other"] = field[0][y]["mine_or_other"]
elif duelobj.field_free is False:
tmp2["mine_or_other"] = field[x][y]["mine_or_other"]
tmp2["hide"] = (
field["hide"] if ("hide" in field[x][y]) else False
)
tmp2["x"] = x
tmp2["y"] = y
tmp2["deck_id"] = 0
tmp2["user"] = user
tmp2["place"] = "field"
if counter == 1:
return_value[0].append(tmp2)
else:
return_value[1].append(tmp2)
tmp_val = {}
tmp_val["return_val"] = return_value
tmp_val["multiple"] = True
if "auto_select" not in monster_effect_text:
tmp_val["auto_select"] = ""
else:
tmp_val["auto_select"] = monster_effect_text["auto_select"]
if "double" not in monster_effect_text:
tmp_val["double"] = False
else:
tmp_val["double"] = monster_effect_text["double"]
tmp_val["min_equation_number"] = duelobj.calculate_boland(
monster_effect_det["min_equation_number"]
)
tmp_val["max_equation_number"] = duelobj.calculate_boland(
monster_effect_det["max_equation_number"]
)
tmp_val["user"] = duelobj.user
tmp_val["sentence"] = sentence
tmp_val["prompt"] = prompt
return HttpResponse(json.dumps(tmp_val))
| 44.587907
| 141
| 0.389247
| 7,750
| 87,749
| 4.117806
| 0.027226
| 0.032526
| 0.053082
| 0.018801
| 0.874409
| 0.836806
| 0.807195
| 0.773791
| 0.757591
| 0.747282
| 0
| 0.017253
| 0.529054
| 87,749
| 1,967
| 142
| 44.610574
| 0.754991
| 0.000889
| 0
| 0.804359
| 0
| 0
| 0.060704
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.00467
| false
| 0.000519
| 0.003114
| 0
| 0.025428
| 0.000519
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 1
| 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
|
3fceed087facb7d0925e97a2ad21a77ff81435a5
| 8,659
|
py
|
Python
|
asv_bench/benchmarks/inference.py
|
springcoil/pandas
|
945075ad78cef652039feb50d60092b0580604e6
|
[
"PSF-2.0",
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause"
] | 2
|
2017-05-07T02:08:12.000Z
|
2017-12-14T01:47:47.000Z
|
asv_bench/benchmarks/inference.py
|
springcoil/pandas
|
945075ad78cef652039feb50d60092b0580604e6
|
[
"PSF-2.0",
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null |
asv_bench/benchmarks/inference.py
|
springcoil/pandas
|
945075ad78cef652039feb50d60092b0580604e6
|
[
"PSF-2.0",
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause"
] | 1
|
2020-12-09T12:02:39.000Z
|
2020-12-09T12:02:39.000Z
|
from .pandas_vb_common import *
import pandas as pd
class dtype_infer_datetime64(object):
goal_time = 0.2
def setup(self):
self.N = 500000
self.df_int64 = DataFrame(dict(A=np.arange(self.N, dtype='int64'), B=np.arange(self.N, dtype='int64')))
self.df_int32 = DataFrame(dict(A=np.arange(self.N, dtype='int32'), B=np.arange(self.N, dtype='int32')))
self.df_uint32 = DataFrame(dict(A=np.arange(self.N, dtype='uint32'), B=np.arange(self.N, dtype='uint32')))
self.df_float64 = DataFrame(dict(A=np.arange(self.N, dtype='float64'), B=np.arange(self.N, dtype='float64')))
self.df_float32 = DataFrame(dict(A=np.arange(self.N, dtype='float32'), B=np.arange(self.N, dtype='float32')))
self.df_datetime64 = DataFrame(dict(A=pd.to_datetime(np.arange(self.N, dtype='int64'), unit='ms'), B=pd.to_datetime(np.arange(self.N, dtype='int64'), unit='ms')))
self.df_timedelta64 = DataFrame(dict(A=(self.df_datetime64['A'] - self.df_datetime64['B']), B=self.df_datetime64['B']))
def time_dtype_infer_datetime64(self):
(self.df_datetime64['A'] - self.df_datetime64['B'])
class dtype_infer_float32(object):
goal_time = 0.2
def setup(self):
self.N = 500000
self.df_int64 = DataFrame(dict(A=np.arange(self.N, dtype='int64'), B=np.arange(self.N, dtype='int64')))
self.df_int32 = DataFrame(dict(A=np.arange(self.N, dtype='int32'), B=np.arange(self.N, dtype='int32')))
self.df_uint32 = DataFrame(dict(A=np.arange(self.N, dtype='uint32'), B=np.arange(self.N, dtype='uint32')))
self.df_float64 = DataFrame(dict(A=np.arange(self.N, dtype='float64'), B=np.arange(self.N, dtype='float64')))
self.df_float32 = DataFrame(dict(A=np.arange(self.N, dtype='float32'), B=np.arange(self.N, dtype='float32')))
self.df_datetime64 = DataFrame(dict(A=pd.to_datetime(np.arange(self.N, dtype='int64'), unit='ms'), B=pd.to_datetime(np.arange(self.N, dtype='int64'), unit='ms')))
self.df_timedelta64 = DataFrame(dict(A=(self.df_datetime64['A'] - self.df_datetime64['B']), B=self.df_datetime64['B']))
def time_dtype_infer_float32(self):
(self.df_float32['A'] + self.df_float32['B'])
class dtype_infer_float64(object):
goal_time = 0.2
def setup(self):
self.N = 500000
self.df_int64 = DataFrame(dict(A=np.arange(self.N, dtype='int64'), B=np.arange(self.N, dtype='int64')))
self.df_int32 = DataFrame(dict(A=np.arange(self.N, dtype='int32'), B=np.arange(self.N, dtype='int32')))
self.df_uint32 = DataFrame(dict(A=np.arange(self.N, dtype='uint32'), B=np.arange(self.N, dtype='uint32')))
self.df_float64 = DataFrame(dict(A=np.arange(self.N, dtype='float64'), B=np.arange(self.N, dtype='float64')))
self.df_float32 = DataFrame(dict(A=np.arange(self.N, dtype='float32'), B=np.arange(self.N, dtype='float32')))
self.df_datetime64 = DataFrame(dict(A=pd.to_datetime(np.arange(self.N, dtype='int64'), unit='ms'), B=pd.to_datetime(np.arange(self.N, dtype='int64'), unit='ms')))
self.df_timedelta64 = DataFrame(dict(A=(self.df_datetime64['A'] - self.df_datetime64['B']), B=self.df_datetime64['B']))
def time_dtype_infer_float64(self):
(self.df_float64['A'] + self.df_float64['B'])
class dtype_infer_int32(object):
goal_time = 0.2
def setup(self):
self.N = 500000
self.df_int64 = DataFrame(dict(A=np.arange(self.N, dtype='int64'), B=np.arange(self.N, dtype='int64')))
self.df_int32 = DataFrame(dict(A=np.arange(self.N, dtype='int32'), B=np.arange(self.N, dtype='int32')))
self.df_uint32 = DataFrame(dict(A=np.arange(self.N, dtype='uint32'), B=np.arange(self.N, dtype='uint32')))
self.df_float64 = DataFrame(dict(A=np.arange(self.N, dtype='float64'), B=np.arange(self.N, dtype='float64')))
self.df_float32 = DataFrame(dict(A=np.arange(self.N, dtype='float32'), B=np.arange(self.N, dtype='float32')))
self.df_datetime64 = DataFrame(dict(A=pd.to_datetime(np.arange(self.N, dtype='int64'), unit='ms'), B=pd.to_datetime(np.arange(self.N, dtype='int64'), unit='ms')))
self.df_timedelta64 = DataFrame(dict(A=(self.df_datetime64['A'] - self.df_datetime64['B']), B=self.df_datetime64['B']))
def time_dtype_infer_int32(self):
(self.df_int32['A'] + self.df_int32['B'])
class dtype_infer_int64(object):
goal_time = 0.2
def setup(self):
self.N = 500000
self.df_int64 = DataFrame(dict(A=np.arange(self.N, dtype='int64'), B=np.arange(self.N, dtype='int64')))
self.df_int32 = DataFrame(dict(A=np.arange(self.N, dtype='int32'), B=np.arange(self.N, dtype='int32')))
self.df_uint32 = DataFrame(dict(A=np.arange(self.N, dtype='uint32'), B=np.arange(self.N, dtype='uint32')))
self.df_float64 = DataFrame(dict(A=np.arange(self.N, dtype='float64'), B=np.arange(self.N, dtype='float64')))
self.df_float32 = DataFrame(dict(A=np.arange(self.N, dtype='float32'), B=np.arange(self.N, dtype='float32')))
self.df_datetime64 = DataFrame(dict(A=pd.to_datetime(np.arange(self.N, dtype='int64'), unit='ms'), B=pd.to_datetime(np.arange(self.N, dtype='int64'), unit='ms')))
self.df_timedelta64 = DataFrame(dict(A=(self.df_datetime64['A'] - self.df_datetime64['B']), B=self.df_datetime64['B']))
def time_dtype_infer_int64(self):
(self.df_int64['A'] + self.df_int64['B'])
class dtype_infer_timedelta64_1(object):
goal_time = 0.2
def setup(self):
self.N = 500000
self.df_int64 = DataFrame(dict(A=np.arange(self.N, dtype='int64'), B=np.arange(self.N, dtype='int64')))
self.df_int32 = DataFrame(dict(A=np.arange(self.N, dtype='int32'), B=np.arange(self.N, dtype='int32')))
self.df_uint32 = DataFrame(dict(A=np.arange(self.N, dtype='uint32'), B=np.arange(self.N, dtype='uint32')))
self.df_float64 = DataFrame(dict(A=np.arange(self.N, dtype='float64'), B=np.arange(self.N, dtype='float64')))
self.df_float32 = DataFrame(dict(A=np.arange(self.N, dtype='float32'), B=np.arange(self.N, dtype='float32')))
self.df_datetime64 = DataFrame(dict(A=pd.to_datetime(np.arange(self.N, dtype='int64'), unit='ms'), B=pd.to_datetime(np.arange(self.N, dtype='int64'), unit='ms')))
self.df_timedelta64 = DataFrame(dict(A=(self.df_datetime64['A'] - self.df_datetime64['B']), B=self.df_datetime64['B']))
def time_dtype_infer_timedelta64_1(self):
(self.df_timedelta64['A'] + self.df_timedelta64['B'])
class dtype_infer_timedelta64_2(object):
goal_time = 0.2
def setup(self):
self.N = 500000
self.df_int64 = DataFrame(dict(A=np.arange(self.N, dtype='int64'), B=np.arange(self.N, dtype='int64')))
self.df_int32 = DataFrame(dict(A=np.arange(self.N, dtype='int32'), B=np.arange(self.N, dtype='int32')))
self.df_uint32 = DataFrame(dict(A=np.arange(self.N, dtype='uint32'), B=np.arange(self.N, dtype='uint32')))
self.df_float64 = DataFrame(dict(A=np.arange(self.N, dtype='float64'), B=np.arange(self.N, dtype='float64')))
self.df_float32 = DataFrame(dict(A=np.arange(self.N, dtype='float32'), B=np.arange(self.N, dtype='float32')))
self.df_datetime64 = DataFrame(dict(A=pd.to_datetime(np.arange(self.N, dtype='int64'), unit='ms'), B=pd.to_datetime(np.arange(self.N, dtype='int64'), unit='ms')))
self.df_timedelta64 = DataFrame(dict(A=(self.df_datetime64['A'] - self.df_datetime64['B']), B=self.df_datetime64['B']))
def time_dtype_infer_timedelta64_2(self):
(self.df_timedelta64['A'] + self.df_timedelta64['A'])
class dtype_infer_uint32(object):
goal_time = 0.2
def setup(self):
self.N = 500000
self.df_int64 = DataFrame(dict(A=np.arange(self.N, dtype='int64'), B=np.arange(self.N, dtype='int64')))
self.df_int32 = DataFrame(dict(A=np.arange(self.N, dtype='int32'), B=np.arange(self.N, dtype='int32')))
self.df_uint32 = DataFrame(dict(A=np.arange(self.N, dtype='uint32'), B=np.arange(self.N, dtype='uint32')))
self.df_float64 = DataFrame(dict(A=np.arange(self.N, dtype='float64'), B=np.arange(self.N, dtype='float64')))
self.df_float32 = DataFrame(dict(A=np.arange(self.N, dtype='float32'), B=np.arange(self.N, dtype='float32')))
self.df_datetime64 = DataFrame(dict(A=pd.to_datetime(np.arange(self.N, dtype='int64'), unit='ms'), B=pd.to_datetime(np.arange(self.N, dtype='int64'), unit='ms')))
self.df_timedelta64 = DataFrame(dict(A=(self.df_datetime64['A'] - self.df_datetime64['B']), B=self.df_datetime64['B']))
def time_dtype_infer_uint32(self):
(self.df_uint32['A'] + self.df_uint32['B'])
| 62.746377
| 170
| 0.662663
| 1,389
| 8,659
| 4.011519
| 0.028078
| 0.093324
| 0.206748
| 0.223977
| 0.933955
| 0.924264
| 0.924264
| 0.924264
| 0.904164
| 0.904164
| 0
| 0.064741
| 0.136621
| 8,659
| 138
| 171
| 62.746377
| 0.680578
| 0
| 0
| 0.754717
| 0
| 0
| 0.072979
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.150943
| false
| 0
| 0.018868
| 0
| 0.320755
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 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
| 9
|
b774ddaaa63196701c6d973c77ca7b106909f839
| 4,360
|
py
|
Python
|
tests/test_start_instance_with_below_ask_price_jobs.py
|
javidgon/sharedcloud-cli
|
27eb21dab1e18148f5eb44fed148d4dc458c5a19
|
[
"MIT"
] | null | null | null |
tests/test_start_instance_with_below_ask_price_jobs.py
|
javidgon/sharedcloud-cli
|
27eb21dab1e18148f5eb44fed148d4dc458c5a19
|
[
"MIT"
] | null | null | null |
tests/test_start_instance_with_below_ask_price_jobs.py
|
javidgon/sharedcloud-cli
|
27eb21dab1e18148f5eb44fed148d4dc458c5a19
|
[
"MIT"
] | null | null | null |
import multiprocessing
import os
import time
from tests.constants import Image, InstanceType, Message
from tests.test_utils import TestUtils, TestWrapper
# Workflow
def test_user_start_instance_and_process_one_batch_of_jobs_that_end_up_not_being_processed_because_their_bid_price_is_too_low():
file = os.path.dirname(os.path.abspath(__file__)) + '/files/func_python36.py'
parameters = '((1,),(2,),(3,))'
account_uuid, email, username, password = TestWrapper.create_beta_account_successfully()
TestWrapper.login_successfully(username=username, password=password)
instance_uuid, instance_name = TestWrapper.create_instance_successfully(
type=InstanceType.CPU,
ask_price=1.5,
max_num_parallel_jobs=3
)
TestWrapper.download_image_successfully(registry_path=Image.WEB_CRAWLING_PYTHON36['path'])
function_uuid, function_name = TestWrapper.create_function_successfully(
image_uuid=Image.WEB_CRAWLING_PYTHON36['uuid'], file=file)
run_uuid = TestWrapper.create_run_successfully(
function_uuid=function_uuid, parameters=parameters, bid_price=1.0)
TestWrapper.check_list_jobs_output(
expected_status=['CREATED', 'CREATED', 'CREATED'],
expected_num_jobs=3
)
p = multiprocessing.Process(target=TestUtils.start_instance, name="start_instance", kwargs={})
p.start()
time.sleep(5)
TestWrapper.check_list_instances_output(
expected_uuid=[instance_uuid],
expected_name=[instance_name],
expected_status=['AVAILABLE'],
expected_ask_price=['1.5'],
expected_num_running_jobs=['0'],
expected_max_num_parallel_jobs=['3'],
expected_num_instances=1
)
TestWrapper.check_list_jobs_output(
expected_status=['CREATED', 'CREATED', 'CREATED'],
expected_num_jobs=3
)
p.terminate()
TestWrapper.clean_image_successfully(registry_path=Image.WEB_CRAWLING_PYTHON36['path'])
TestWrapper.delete_instance_successfully(uuid=instance_uuid)
TestWrapper.delete_function_successfully(uuid=function_uuid)
TestWrapper.delete_account_successfully()
def test_user_start_instance_and_process_two_batches_of_jobs_with_only_one_being_processed_because_the_other_bid_price_is_too_low():
file = os.path.dirname(os.path.abspath(__file__)) + '/files/func_python36.py'
parameters = '((1,),(2,),(3,))'
account_uuid, email, username, password = TestWrapper.create_beta_account_successfully()
TestWrapper.login_successfully(username=username, password=password)
instance_uuid, instance_name = TestWrapper.create_instance_successfully(
type=InstanceType.CPU,
ask_price=1.5,
max_num_parallel_jobs=3
)
TestWrapper.download_image_successfully(registry_path=Image.WEB_CRAWLING_PYTHON36['path'])
function_uuid, function_name = TestWrapper.create_function_successfully(
image_uuid=Image.WEB_CRAWLING_PYTHON36['uuid'], file=file)
run_uuid = TestWrapper.create_run_successfully(
function_uuid=function_uuid, parameters=parameters, bid_price=1.0)
run_uuid = TestWrapper.create_run_successfully(
function_uuid=function_uuid, parameters=parameters, bid_price=2.0)
TestWrapper.check_list_jobs_output(
expected_status=['CREATED', 'CREATED', 'CREATED', 'CREATED', 'CREATED', 'CREATED'],
expected_num_jobs=6
)
p = multiprocessing.Process(target=TestUtils.start_instance, name="start_instance", kwargs={})
p.start()
time.sleep(5)
TestWrapper.check_list_instances_output(
expected_uuid=[instance_uuid],
expected_name=[instance_name],
expected_status=['AVAILABLE'],
expected_ask_price=['1.5'],
expected_num_running_jobs=['3'],
expected_max_num_parallel_jobs=['3'],
expected_num_instances=1
)
TestWrapper.check_list_jobs_output(
expected_status=['CREATED', 'CREATED', 'CREATED', 'IN_PROGRESS', 'IN_PROGRESS', 'IN_PROGRESS'],
expected_num_jobs=6
)
p.join(30.0) # 30 seconds of timeout
p.terminate()
TestWrapper.clean_image_successfully(registry_path=Image.WEB_CRAWLING_PYTHON36['path'])
TestWrapper.delete_instance_successfully(uuid=instance_uuid)
TestWrapper.delete_function_successfully(uuid=function_uuid)
TestWrapper.delete_account_successfully()
| 35.16129
| 132
| 0.743807
| 518
| 4,360
| 5.839768
| 0.198842
| 0.050909
| 0.048595
| 0.047603
| 0.899174
| 0.893223
| 0.881322
| 0.858843
| 0.858843
| 0.858843
| 0
| 0.014913
| 0.154128
| 4,360
| 123
| 133
| 35.447154
| 0.805315
| 0.006881
| 0
| 0.761364
| 0
| 0
| 0.068408
| 0.010631
| 0
| 0
| 0
| 0
| 0
| 1
| 0.022727
| false
| 0.045455
| 0.056818
| 0
| 0.079545
| 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
|
b78cb17aff590612533daab6f09ad3e77420a8b9
| 2,230
|
py
|
Python
|
src/config/assets.py
|
dvitorsantos/Bob-Pygame
|
940b744391bb528cf305c137b64a3f8c5adf2ea6
|
[
"MIT"
] | 1
|
2021-09-12T15:09:59.000Z
|
2021-09-12T15:09:59.000Z
|
src/config/assets.py
|
dvitorsantos/Bob-Pygame
|
940b744391bb528cf305c137b64a3f8c5adf2ea6
|
[
"MIT"
] | null | null | null |
src/config/assets.py
|
dvitorsantos/Bob-Pygame
|
940b744391bb528cf305c137b64a3f8c5adf2ea6
|
[
"MIT"
] | null | null | null |
import os
import pygame
correr = [pygame.image.load(os.path.join("../assets/bobesponja/run", "0.png")),
pygame.image.load(os.path.join("../assets/bobesponja/run", "1.png")),
pygame.image.load(os.path.join("../assets/bobesponja/run", "2.png")),
pygame.image.load(os.path.join("../assets/bobesponja/run", "3.png")),
pygame.image.load(os.path.join("../assets/bobesponja/run", "4.png")),
pygame.image.load(os.path.join("../assets/bobesponja/run", "5.png")),
pygame.image.load(os.path.join("../assets/bobesponja/run", "6.png")),
pygame.image.load(os.path.join("../assets/bobesponja/run", "7.png")),
pygame.image.load(os.path.join("../assets/bobesponja/run", "8.png"))]
pular = pygame.image.load(os.path.join("../assets/bobesponja/jump", "1.png"))
agachar = [pygame.image.load(os.path.join("../assets/bobesponja/crouch", "0.png")),
pygame.image.load(os.path.join("../assets/bobesponja/crouch", "1.png")),]
obstaculosImg = [pygame.image.load(os.path.join("../assets/obstaculos", "0.png")),
pygame.image.load(os.path.join("../assets/obstaculos", "1.png")),
pygame.image.load(os.path.join("../assets/obstaculos", "2.png")),
pygame.image.load(os.path.join("../assets/obstaculos", "3.png")),
pygame.image.load(os.path.join("../assets/obstaculos", "4.png")),
pygame.image.load(os.path.join("../assets/obstaculos", "bubble.png"))]
robo = [pygame.image.load(os.path.join("../assets/robo", "0.png")),
pygame.image.load(os.path.join("../assets/robo", "1.png")),
pygame.image.load(os.path.join("../assets/robo", "2.png")),
pygame.image.load(os.path.join("../assets/robo", "3.png")),
pygame.image.load(os.path.join("../assets/robo", "4.png")),
pygame.image.load(os.path.join("../assets/robo", "5.png")),
pygame.image.load(os.path.join("../assets/robo", "6.png")),
pygame.image.load(os.path.join("../assets/robo", "7.png"))]
planoDeFundo = pygame.image.load(os.path.join("../assets/others", "background.jpg"))
planoDeFundoMenu = pygame.image.load(os.path.join("../assets/others", "BackgroundMenu.jpg"))
bolha = pygame.image.load(os.path.join("../Assets/others", "bolha.png"))
| 60.27027
| 92
| 0.630942
| 314
| 2,230
| 4.480892
| 0.11465
| 0.226724
| 0.309168
| 0.350391
| 0.889126
| 0.889126
| 0.889126
| 0.889126
| 0.727079
| 0.299929
| 0
| 0.012633
| 0.112556
| 2,230
| 37
| 93
| 60.27027
| 0.698332
| 0
| 0
| 0
| 0
| 0
| 0.33662
| 0.132228
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.064516
| 0
| 0.064516
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 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
|
b7b687951dc7b8fa54a457d7d538eee6a8b082db
| 10,763
|
py
|
Python
|
replit/week0/car.py
|
JL1080/tri3data1
|
a4771a824eb8aee53f31137b8ea9a3e0a2fe3980
|
[
"MIT"
] | null | null | null |
replit/week0/car.py
|
JL1080/tri3data1
|
a4771a824eb8aee53f31137b8ea9a3e0a2fe3980
|
[
"MIT"
] | null | null | null |
replit/week0/car.py
|
JL1080/tri3data1
|
a4771a824eb8aee53f31137b8ea9a3e0a2fe3980
|
[
"MIT"
] | null | null | null |
import time
import os
LightGray = "\033[0;37m"
Color33 = "\u001b[33m"
def car():
print(" _______ ")
print(" // ||\ \ ")
print(" _____//___||_\ \___")
print(" ) _ _ \ ")
print(" |_ / \________/ \___| ")
print(" \_/ \_/")
print("\033[0;37m -------------------------------------------- \u001b[33m")
def car1():
print(" _______ ")
print(" // ||\ \ ")
print(" _____//___||_\ \___")
print(" ) _ _ \ ")
print(" |_ / \________/ \___| ")
print(" \_/ \_/")
print("\033[0;37m -------------------------------------------- \u001b[33m")
def car2():
print(" _______ ")
print(" // ||\ \ ")
print(" _____//___||_\ \___")
print(" ) _ _ \ ")
print(" _ / \________/ \___| ")
print(" \_/ \_/")
print("\033[0;37m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \u001b[33m")
def car3():
print(" _______ ")
print(" // ||\ \ ")
print(" _____//___||_\ \___")
print(" ) _ _ \ ")
print(" |_ / \________/ \___| ")
print(" \_/ \_/")
print("\033[0;37m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \u001b[33m")
def car4():
print(" _______ ")
print(" // ||\ \ ")
print(" _____//___||_\ \___")
print(" ) _ _ \ ")
print(" |_ / \________/ \___| ")
print(" \_/ \_/")
print("\033[0;37m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \u001b[33m")
def car5():
print(" _______ ")
print(" // ||\ \ ")
print(" _____//___||_\ \___")
print(" ) _ _ \ ")
print(" |_ / \________/ \___| ")
print(" \_/ \_/")
print("\033[0;37m -------------------------------------------- \u001b[33m")
def car6():
print(" _______ ")
print(" // ||\ \ ")
print(" _____//___||_\ \___")
print(" ) _ _ \ ")
print(" |_ / \________/ \___| ")
print(" \_/ \_/")
print("\033[0;37m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \u001b[33m")
def car7():
print(" _______ ")
print(" // ||\ \ ")
print(" _____//___||_\ \___")
print(" ) _ _ \ ")
print(" |_ / \________/ \___| ")
print(" \_/ \_/")
print("\033[0;37m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \u001b[33m")
def car8():
print(" _______ ")
print(" // ||\ \ ")
print(" _____//___||_\ \___")
print(" ) _ _ \ ")
print(" |_ / \________/ \___| ")
print(" \_/ \_/")
print("\033[0;37m -------------------------------------------- \u001b[33m")
def car9():
print(" _______ ")
print(" // ||\ \ ")
print(" _____//___||_\ \___")
print(" ) _ _ \ ")
print(" |_ / \________/ \___| ")
print(" \_/ \_/")
print("\033[0;37m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \u001b[33m")
def car10():
print(" _______ ")
print(" // ||\ \ ")
print(" _____//___||_\ \___")
print(" ) _ _ \ ")
print(" |_ / \________/ \___| ")
print(" \_/ \_/")
print("\033[0;37m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \u001b[33m")
def car11():
print(" _______ ")
print(" // ||\ \ ")
print(" _____//___||_\ \___")
print(" ) _ _ \ ")
print(" |_ / \________/ \___| ")
print(" \_/ \_/")
print("\033[0;37m -------------------------------------------- \u001b[33m")
def car12():
print(" _______ ")
print(" // ||\ \ ")
print(" _____//___||_\ \___")
print(" ) _ _ \ ")
print(" |_ / \________/ \___| ")
print(" \_/ \_/")
print("\033[0;37m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \u001b[33m")
def car13():
print(" _______ ")
print(" // ||\ \ ")
print(" _____//___||_\ \___")
print(" ) _ _ \ ")
print(" |_ / \________/ \___| ")
print(" \_/ \_/")
print("\033[0;37m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \u001b[33m")
def car14():
print(" _______ ")
print(" // ||\ \ ")
print(" _____//___||_\ \___")
print(" ) _ _ \ ")
print(" |_ / \________/ \___| ")
print(" \_/ \_/")
print("\033[0;37mm ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \u001b[33m")
def car15():
print(" _______ ")
print(" // ||\ \ ")
print(" _____//___||_\ \___")
print(" ) _ _ \ ")
print(" |_ / \________/ \___| ")
print(" \_/ \_/")
print("\033[0;37m -------------------------------------------- \u001b[33m")
def car16():
print(" _______ ")
print(" // ||\ \ ")
print(" _____//___||_\ \___")
print(" ) _ _ \ ")
print(" |_ / \________/ \___| ")
print(" \_/ \_/")
print("\033[0;37m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \u001b[33m")
def car17():
print(" _______ ")
print(" // ||\ \ ")
print(" _____//___||_\ \___")
print(" ) _ _ \ ")
print(" |_ / \________/ \___| ")
print(" \_/ \_/")
print("\033[0;37m -------------------------------------------- \u001b[33m")
def car18():
print(" _______ ")
print(" // ||\ \ ")
print(" _____//___||_\ \___")
print(" ) _ _ \ ")
print(" |_ / \________/ \___| ")
print(" \_/ \_/")
print("\033[0;37m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \u001b[33m")
def car19():
print(" _______ ")
print(" // ||\ \ ")
print(" _____//___||_\ \___")
print(" ) _ _ \ ")
print(" |_ / \________/ \___| ")
print(" \_/ \_/")
print("\033[0;37m -------------------------------------------- \u001b[33m")
def car20():
print(" _______ ")
print(" // ||\ \ ")
print(" _____//___||_\ \___")
print(" ) _ _ \ ")
print(" |_ / \________/ \___| ")
print(" \_/ \_/")
print("\033[0;37m -------------------------------------------- \u001b[33m")
def car21():
print(" _______ ")
print(" // ||\ \ ")
print(" _____//___||_\ \___")
print(" ) _ _ \ ")
print(" |_ / \________/ \___| ")
print(" \_/ \_/")
print("\033[0;37m -------------------------------------------- \u001b[33m")
def car22():
print(" _______ ")
print(" // ||\ \ ")
print(" _____//___||_\ \___")
print(" ) _ _ \ ")
print(" |_ / \________/ \___| ")
print(" \_/ \_/")
print("\033[0;37m -------------------------------------------- \u001b[33m")
def car23():
print(" _______ ")
print(" // ||\ \ ")
print(" _____//___||_\ \___")
print(" ) _ _ \ ")
print(" |_ / \________/ \___| ")
print(" \_/ \_/")
print("\033[0;37m -------------------------------------------- \u001b[33m")
def car24():
print(" _______ ")
print(" // ||\ \ ")
print(" _____//___||_\ \___")
print(" ) _ _ \ ")
print(" |_ / \________/ \___| ")
print(" \_/ \_/")
print("\033[0;37m -------------------------------------------- \u001b[33m")
def car25():
print(" _______ ")
print(" // ||\ \ ")
print("_____//___||_\ \___")
print(") _ _ \ ")
print("|_ / \________/ \___| ")
print(" \_/ \_/")
print("\033[0;37m -------------------------------------------- \u001b[33m"); print("\u001b[37m")
os.system("clear")
car()
os.system("clear")
time.sleep(.1)
car1()
time.sleep(.5)
os.system("clear")
car2()
time.sleep(.5)
os.system("clear")
car3()
time.sleep(.5)
os.system("clear")
car4()
time.sleep(.5)
os.system("clear")
car5()
time.sleep(.5)
os.system("clear")
car6()
time.sleep(.5)
os.system("clear")
car7()
time.sleep(.5)
os.system("clear")
car8()
time.sleep(.5)
os.system("clear")
car9()
time.sleep(.5)
os.system("clear")
car10()
time.sleep(.5)
os.system("clear")
car11()
time.sleep(.5)
os.system("clear")
car12()
time.sleep(.5)
os.system("clear")
car13()
time.sleep(.5)
os.system("clear")
car14()
time.sleep(.5)
os.system("clear")
car15()
time.sleep(.5)
os.system("clear")
car16()
time.sleep(.5)
os.system("clear")
car17()
time.sleep(.5)
os.system("clear")
car18()
time.sleep(.5)
os.system("clear")
car19()
time.sleep(.5)
os.system("clear")
car20()
time.sleep(.5)
os.system("clear")
car21()
time.sleep(.5)
os.system("clear")
car22()
time.sleep(.5)
os.system("clear")
car23()
time.sleep(.5)
os.system("clear")
car24()
time.sleep(.5)
os.system("clear")
car25()
time.sleep(.5)
os.system("clear")
print("or so you thought...")
time.sleep(.5)
os.system("clear")
| 30.839542
| 100
| 0.301217
| 574
| 10,763
| 4.062718
| 0.083624
| 0.668954
| 0.836192
| 0.891938
| 0.840051
| 0.840051
| 0.583619
| 0.583619
| 0.583619
| 0.566895
| 0
| 0.065869
| 0.417449
| 10,763
| 349
| 101
| 30.839542
| 0.306061
| 0
| 0
| 0.792517
| 0
| 0
| 0.628855
| 0.10628
| 0
| 0
| 0
| 0
| 0
| 1
| 0.088435
| false
| 0
| 0.006803
| 0
| 0.095238
| 0.622449
| 0
| 0
| 0
| null | 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
|
0
| 9
|
4d9b8ea9ad46ee7aa60b8efe9b5ddd461e641209
| 33,686
|
py
|
Python
|
canvas_sdk/methods/pages.py
|
david-house-harvard/canvas_python_sdk
|
9c2e59621a9a5667bc43c253ef801482b241a2c1
|
[
"MIT"
] | 21
|
2015-06-12T13:49:04.000Z
|
2021-11-08T05:37:44.000Z
|
canvas_sdk/methods/pages.py
|
david-house-harvard/canvas_python_sdk
|
9c2e59621a9a5667bc43c253ef801482b241a2c1
|
[
"MIT"
] | 44
|
2015-02-04T15:26:52.000Z
|
2021-12-03T17:47:00.000Z
|
canvas_sdk/methods/pages.py
|
david-house-harvard/canvas_python_sdk
|
9c2e59621a9a5667bc43c253ef801482b241a2c1
|
[
"MIT"
] | 7
|
2015-07-20T23:56:03.000Z
|
2021-02-23T17:13:00.000Z
|
from canvas_sdk import client, utils
def show_front_page_courses(request_ctx, course_id, **request_kwargs):
"""
Retrieve the content of the front page
:param request_ctx: The request context
:type request_ctx: :class:RequestContext
:param course_id: (required) ID
:type course_id: string
:return: Show front page
:rtype: requests.Response (with Page data)
"""
path = '/v1/courses/{course_id}/front_page'
url = request_ctx.base_api_url + path.format(course_id=course_id)
response = client.get(request_ctx, url, **request_kwargs)
return response
def show_front_page_groups(request_ctx, group_id, **request_kwargs):
"""
Retrieve the content of the front page
:param request_ctx: The request context
:type request_ctx: :class:RequestContext
:param group_id: (required) ID
:type group_id: string
:return: Show front page
:rtype: requests.Response (with Page data)
"""
path = '/v1/groups/{group_id}/front_page'
url = request_ctx.base_api_url + path.format(group_id=group_id)
response = client.get(request_ctx, url, **request_kwargs)
return response
def update_create_front_page_courses(request_ctx, course_id, wiki_page_body, wiki_page_title=None, wiki_page_hide_from_students=None, wiki_page_editing_roles=None, wiki_page_notify_of_update=None, wiki_page_published=None, **request_kwargs):
"""
Update the title or contents of the front page
:param request_ctx: The request context
:type request_ctx: :class:RequestContext
:param course_id: (required) ID
:type course_id: string
:param wiki_page_body: (required) The content for the new page.
:type wiki_page_body: string
:param wiki_page_title: (optional) The title for the new page. NOTE: changing a page's title will change its url. The updated url will be returned in the result.
:type wiki_page_title: string or None
:param wiki_page_hide_from_students: (optional) Whether the page should be hidden from students. *Note:* when draft state is enabled, attempts to set +hide_from_students+ will be ignored and the value returned will always be the inverse of the +published+ value.
:type wiki_page_hide_from_students: boolean or None
:param wiki_page_editing_roles: (optional) Which user roles are allowed to edit this page. Any combination of these roles is allowed (separated by commas). "teachers":: Allows editing by teachers in the course. "students":: Allows editing by students in the course. "members":: For group wikis, allows editing by members of the group. "public":: Allows editing by any user.
:type wiki_page_editing_roles: string or None
:param wiki_page_notify_of_update: (optional) Whether participants should be notified when this page changes.
:type wiki_page_notify_of_update: boolean or None
:param wiki_page_published: (optional) Whether the page is published (true) or draft state (false). *Note:* when draft state is disabled, attempts to set +published+ will be ignored and the value returned will always be the inverse of the +hide_from_students+ value.
:type wiki_page_published: boolean or None
:return: Update/create front page
:rtype: requests.Response (with Page data)
"""
wiki_page_editing_roles_types = ('teachers', 'students', 'members', 'public')
utils.validate_attr_is_acceptable(wiki_page_editing_roles, wiki_page_editing_roles_types)
path = '/v1/courses/{course_id}/front_page'
payload = {
'wiki_page[title]' : wiki_page_title,
'wiki_page[body]' : wiki_page_body,
'wiki_page[hide_from_students]' : wiki_page_hide_from_students,
'wiki_page[editing_roles]' : wiki_page_editing_roles,
'wiki_page[notify_of_update]' : wiki_page_notify_of_update,
'wiki_page[published]' : wiki_page_published,
}
url = request_ctx.base_api_url + path.format(course_id=course_id)
response = client.put(request_ctx, url, payload=payload, **request_kwargs)
return response
def update_create_front_page_groups(request_ctx, group_id, wiki_page_body, wiki_page_title=None, wiki_page_hide_from_students=None, wiki_page_editing_roles=None, wiki_page_notify_of_update=None, wiki_page_published=None, **request_kwargs):
"""
Update the title or contents of the front page
:param request_ctx: The request context
:type request_ctx: :class:RequestContext
:param group_id: (required) ID
:type group_id: string
:param wiki_page_body: (required) The content for the new page.
:type wiki_page_body: string
:param wiki_page_title: (optional) The title for the new page. NOTE: changing a page's title will change its url. The updated url will be returned in the result.
:type wiki_page_title: string or None
:param wiki_page_hide_from_students: (optional) Whether the page should be hidden from students. *Note:* when draft state is enabled, attempts to set +hide_from_students+ will be ignored and the value returned will always be the inverse of the +published+ value.
:type wiki_page_hide_from_students: boolean or None
:param wiki_page_editing_roles: (optional) Which user roles are allowed to edit this page. Any combination of these roles is allowed (separated by commas). "teachers":: Allows editing by teachers in the course. "students":: Allows editing by students in the course. "members":: For group wikis, allows editing by members of the group. "public":: Allows editing by any user.
:type wiki_page_editing_roles: string or None
:param wiki_page_notify_of_update: (optional) Whether participants should be notified when this page changes.
:type wiki_page_notify_of_update: boolean or None
:param wiki_page_published: (optional) Whether the page is published (true) or draft state (false). *Note:* when draft state is disabled, attempts to set +published+ will be ignored and the value returned will always be the inverse of the +hide_from_students+ value.
:type wiki_page_published: boolean or None
:return: Update/create front page
:rtype: requests.Response (with Page data)
"""
wiki_page_editing_roles_types = ('teachers', 'students', 'members', 'public')
utils.validate_attr_is_acceptable(wiki_page_editing_roles, wiki_page_editing_roles_types)
path = '/v1/groups/{group_id}/front_page'
payload = {
'wiki_page[title]' : wiki_page_title,
'wiki_page[body]' : wiki_page_body,
'wiki_page[hide_from_students]' : wiki_page_hide_from_students,
'wiki_page[editing_roles]' : wiki_page_editing_roles,
'wiki_page[notify_of_update]' : wiki_page_notify_of_update,
'wiki_page[published]' : wiki_page_published,
}
url = request_ctx.base_api_url + path.format(group_id=group_id)
response = client.put(request_ctx, url, payload=payload, **request_kwargs)
return response
def list_pages_courses(request_ctx, course_id, sort=None, order=None, search_term=None, published=None, per_page=None, **request_kwargs):
"""
List the wiki pages associated with a course or group
:param request_ctx: The request context
:type request_ctx: :class:RequestContext
:param course_id: (required) ID
:type course_id: string
:param sort: (optional) Sort results by this field.
:type sort: string or None
:param order: (optional) The sorting order. Defaults to 'asc'.
:type order: string or None
:param search_term: (optional) The partial title of the pages to match and return.
:type search_term: string or None
:param published: (optional) If true, include only published paqes. If false, exclude published pages. If not present, do not filter on published status.
:type published: boolean or None
:param per_page: (optional) Set how many results canvas should return, defaults to config.LIMIT_PER_PAGE
:type per_page: integer or None
:return: List pages
:rtype: requests.Response (with array data)
"""
if per_page is None:
per_page = request_ctx.per_page
sort_types = ('title', 'created_at', 'updated_at')
order_types = ('asc', 'desc')
utils.validate_attr_is_acceptable(sort, sort_types)
utils.validate_attr_is_acceptable(order, order_types)
path = '/v1/courses/{course_id}/pages'
payload = {
'sort' : sort,
'order' : order,
'search_term' : search_term,
'published' : published,
'per_page' : per_page,
}
url = request_ctx.base_api_url + path.format(course_id=course_id)
response = client.get(request_ctx, url, payload=payload, **request_kwargs)
return response
def list_pages_groups(request_ctx, group_id, sort=None, order=None, search_term=None, published=None, per_page=None, **request_kwargs):
"""
List the wiki pages associated with a course or group
:param request_ctx: The request context
:type request_ctx: :class:RequestContext
:param group_id: (required) ID
:type group_id: string
:param sort: (optional) Sort results by this field.
:type sort: string or None
:param order: (optional) The sorting order. Defaults to 'asc'.
:type order: string or None
:param search_term: (optional) The partial title of the pages to match and return.
:type search_term: string or None
:param published: (optional) If true, include only published paqes. If false, exclude published pages. If not present, do not filter on published status.
:type published: boolean or None
:param per_page: (optional) Set how many results canvas should return, defaults to config.LIMIT_PER_PAGE
:type per_page: integer or None
:return: List pages
:rtype: requests.Response (with array data)
"""
if per_page is None:
per_page = request_ctx.per_page
sort_types = ('title', 'created_at', 'updated_at')
order_types = ('asc', 'desc')
utils.validate_attr_is_acceptable(sort, sort_types)
utils.validate_attr_is_acceptable(order, order_types)
path = '/v1/groups/{group_id}/pages'
payload = {
'sort' : sort,
'order' : order,
'search_term' : search_term,
'published' : published,
'per_page' : per_page,
}
url = request_ctx.base_api_url + path.format(group_id=group_id)
response = client.get(request_ctx, url, payload=payload, **request_kwargs)
return response
def create_page_courses(request_ctx, course_id, wiki_page_title, wiki_page_body, wiki_page_hide_from_students, wiki_page_notify_of_update, wiki_page_editing_roles=None, wiki_page_published=None, wiki_page_front_page=None, **request_kwargs):
"""
Create a new wiki page
:param request_ctx: The request context
:type request_ctx: :class:RequestContext
:param course_id: (required) ID
:type course_id: string
:param wiki_page_title: (required) The title for the new page.
:type wiki_page_title: string
:param wiki_page_body: (required) The content for the new page.
:type wiki_page_body: string
:param wiki_page_hide_from_students: (required) Whether the page should be hidden from students. *Note:* when draft state is enabled, attempts to set +hide_from_students+ will be ignored and the value returned will always be the inverse of the +published+ value.
:type wiki_page_hide_from_students: boolean
:param wiki_page_notify_of_update: (required) Whether participants should be notified when this page changes.
:type wiki_page_notify_of_update: boolean
:param wiki_page_editing_roles: (optional) Which user roles are allowed to edit this page. Any combination of these roles is allowed (separated by commas). "teachers":: Allows editing by teachers in the course. "students":: Allows editing by students in the course. "members":: For group wikis, allows editing by members of the group. "public":: Allows editing by any user.
:type wiki_page_editing_roles: string or None
:param wiki_page_published: (optional) Whether the page is published (true) or draft state (false). *Note:* when draft state is disabled, attempts to set +published+ will be ignored and the value returned will always be the inverse of the +hide_from_students+ value.
:type wiki_page_published: boolean or None
:param wiki_page_front_page: (optional) Set an unhidden page as the front page (if true)
:type wiki_page_front_page: boolean or None
:return: Create page
:rtype: requests.Response (with Page data)
"""
wiki_page_editing_roles_types = ('teachers', 'students', 'members', 'public')
utils.validate_attr_is_acceptable(wiki_page_editing_roles, wiki_page_editing_roles_types)
path = '/v1/courses/{course_id}/pages'
payload = {
'wiki_page[title]' : wiki_page_title,
'wiki_page[body]' : wiki_page_body,
'wiki_page[hide_from_students]' : wiki_page_hide_from_students,
'wiki_page[editing_roles]' : wiki_page_editing_roles,
'wiki_page[notify_of_update]' : wiki_page_notify_of_update,
'wiki_page[published]' : wiki_page_published,
'wiki_page[front_page]' : wiki_page_front_page,
}
url = request_ctx.base_api_url + path.format(course_id=course_id)
response = client.post(request_ctx, url, payload=payload, **request_kwargs)
return response
def create_page_groups(request_ctx, group_id, wiki_page_title, wiki_page_body, wiki_page_hide_from_students, wiki_page_notify_of_update, wiki_page_editing_roles=None, wiki_page_published=None, wiki_page_front_page=None, **request_kwargs):
"""
Create a new wiki page
:param request_ctx: The request context
:type request_ctx: :class:RequestContext
:param group_id: (required) ID
:type group_id: string
:param wiki_page_title: (required) The title for the new page.
:type wiki_page_title: string
:param wiki_page_body: (required) The content for the new page.
:type wiki_page_body: string
:param wiki_page_hide_from_students: (required) Whether the page should be hidden from students. *Note:* when draft state is enabled, attempts to set +hide_from_students+ will be ignored and the value returned will always be the inverse of the +published+ value.
:type wiki_page_hide_from_students: boolean
:param wiki_page_notify_of_update: (required) Whether participants should be notified when this page changes.
:type wiki_page_notify_of_update: boolean
:param wiki_page_editing_roles: (optional) Which user roles are allowed to edit this page. Any combination of these roles is allowed (separated by commas). "teachers":: Allows editing by teachers in the course. "students":: Allows editing by students in the course. "members":: For group wikis, allows editing by members of the group. "public":: Allows editing by any user.
:type wiki_page_editing_roles: string or None
:param wiki_page_published: (optional) Whether the page is published (true) or draft state (false). *Note:* when draft state is disabled, attempts to set +published+ will be ignored and the value returned will always be the inverse of the +hide_from_students+ value.
:type wiki_page_published: boolean or None
:param wiki_page_front_page: (optional) Set an unhidden page as the front page (if true)
:type wiki_page_front_page: boolean or None
:return: Create page
:rtype: requests.Response (with Page data)
"""
wiki_page_editing_roles_types = ('teachers', 'students', 'members', 'public')
utils.validate_attr_is_acceptable(wiki_page_editing_roles, wiki_page_editing_roles_types)
path = '/v1/groups/{group_id}/pages'
payload = {
'wiki_page[title]' : wiki_page_title,
'wiki_page[body]' : wiki_page_body,
'wiki_page[hide_from_students]' : wiki_page_hide_from_students,
'wiki_page[editing_roles]' : wiki_page_editing_roles,
'wiki_page[notify_of_update]' : wiki_page_notify_of_update,
'wiki_page[published]' : wiki_page_published,
'wiki_page[front_page]' : wiki_page_front_page,
}
url = request_ctx.base_api_url + path.format(group_id=group_id)
response = client.post(request_ctx, url, payload=payload, **request_kwargs)
return response
def show_page_courses(request_ctx, course_id, url, **request_kwargs):
"""
Retrieve the content of a wiki page
:param request_ctx: The request context
:type request_ctx: :class:RequestContext
:param course_id: (required) ID
:type course_id: string
:param url: (required) ID
:type url: string
:return: Show page
:rtype: requests.Response (with Page data)
"""
path = '/v1/courses/{course_id}/pages/{url}'
url = request_ctx.base_api_url + path.format(course_id=course_id, url=url)
response = client.get(request_ctx, url, **request_kwargs)
return response
def show_page_groups(request_ctx, group_id, url, **request_kwargs):
"""
Retrieve the content of a wiki page
:param request_ctx: The request context
:type request_ctx: :class:RequestContext
:param group_id: (required) ID
:type group_id: string
:param url: (required) ID
:type url: string
:return: Show page
:rtype: requests.Response (with Page data)
"""
path = '/v1/groups/{group_id}/pages/{url}'
url = request_ctx.base_api_url + path.format(group_id=group_id, url=url)
response = client.get(request_ctx, url, **request_kwargs)
return response
def update_create_page_courses(request_ctx, course_id, url, wiki_page_title, wiki_page_body, wiki_page_hide_from_students, wiki_page_notify_of_update, wiki_page_editing_roles=None, wiki_page_published=None, wiki_page_front_page=None, **request_kwargs):
"""
Update the title or contents of a wiki page
:param request_ctx: The request context
:type request_ctx: :class:RequestContext
:param course_id: (required) ID
:type course_id: string
:param url: (required) ID
:type url: string
:param wiki_page_title: (required) The title for the new page. NOTE: changing a page's title will change its url. The updated url will be returned in the result.
:type wiki_page_title: string
:param wiki_page_body: (required) The content for the new page.
:type wiki_page_body: string
:param wiki_page_hide_from_students: (required) Whether the page should be hidden from students. *Note:* when draft state is enabled, attempts to set +hide_from_students+ will be ignored and the value returned will always be the inverse of the +published+ value.
:type wiki_page_hide_from_students: boolean
:param wiki_page_notify_of_update: (required) Whether participants should be notified when this page changes.
:type wiki_page_notify_of_update: boolean
:param wiki_page_editing_roles: (optional) Which user roles are allowed to edit this page. Any combination of these roles is allowed (separated by commas). "teachers":: Allows editing by teachers in the course. "students":: Allows editing by students in the course. "members":: For group wikis, allows editing by members of the group. "public":: Allows editing by any user.
:type wiki_page_editing_roles: string or None
:param wiki_page_published: (optional) Whether the page is published (true) or draft state (false). *Note:* when draft state is disabled, attempts to set +published+ will be ignored and the value returned will always be the inverse of the +hide_from_students+ value.
:type wiki_page_published: boolean or None
:param wiki_page_front_page: (optional) Set an unhidden page as the front page (if true)
:type wiki_page_front_page: boolean or None
:return: Update/create page
:rtype: requests.Response (with Page data)
"""
wiki_page_editing_roles_types = ('teachers', 'students', 'members', 'public')
utils.validate_attr_is_acceptable(wiki_page_editing_roles, wiki_page_editing_roles_types)
path = '/v1/courses/{course_id}/pages/{url}'
payload = {
'wiki_page[title]' : wiki_page_title,
'wiki_page[body]' : wiki_page_body,
'wiki_page[hide_from_students]' : wiki_page_hide_from_students,
'wiki_page[editing_roles]' : wiki_page_editing_roles,
'wiki_page[notify_of_update]' : wiki_page_notify_of_update,
'wiki_page[published]' : wiki_page_published,
'wiki_page[front_page]' : wiki_page_front_page,
}
url = request_ctx.base_api_url + path.format(course_id=course_id, url=url)
response = client.put(request_ctx, url, payload=payload, **request_kwargs)
return response
def update_create_page_groups(request_ctx, group_id, url, wiki_page_title, wiki_page_body, wiki_page_hide_from_students, wiki_page_notify_of_update, wiki_page_editing_roles=None, wiki_page_published=None, wiki_page_front_page=None, **request_kwargs):
"""
Update the title or contents of a wiki page
:param request_ctx: The request context
:type request_ctx: :class:RequestContext
:param group_id: (required) ID
:type group_id: string
:param url: (required) ID
:type url: string
:param wiki_page_title: (required) The title for the new page. NOTE: changing a page's title will change its url. The updated url will be returned in the result.
:type wiki_page_title: string
:param wiki_page_body: (required) The content for the new page.
:type wiki_page_body: string
:param wiki_page_hide_from_students: (required) Whether the page should be hidden from students. *Note:* when draft state is enabled, attempts to set +hide_from_students+ will be ignored and the value returned will always be the inverse of the +published+ value.
:type wiki_page_hide_from_students: boolean
:param wiki_page_notify_of_update: (required) Whether participants should be notified when this page changes.
:type wiki_page_notify_of_update: boolean
:param wiki_page_editing_roles: (optional) Which user roles are allowed to edit this page. Any combination of these roles is allowed (separated by commas). "teachers":: Allows editing by teachers in the course. "students":: Allows editing by students in the course. "members":: For group wikis, allows editing by members of the group. "public":: Allows editing by any user.
:type wiki_page_editing_roles: string or None
:param wiki_page_published: (optional) Whether the page is published (true) or draft state (false). *Note:* when draft state is disabled, attempts to set +published+ will be ignored and the value returned will always be the inverse of the +hide_from_students+ value.
:type wiki_page_published: boolean or None
:param wiki_page_front_page: (optional) Set an unhidden page as the front page (if true)
:type wiki_page_front_page: boolean or None
:return: Update/create page
:rtype: requests.Response (with Page data)
"""
wiki_page_editing_roles_types = ('teachers', 'students', 'members', 'public')
utils.validate_attr_is_acceptable(wiki_page_editing_roles, wiki_page_editing_roles_types)
path = '/v1/groups/{group_id}/pages/{url}'
payload = {
'wiki_page[title]' : wiki_page_title,
'wiki_page[body]' : wiki_page_body,
'wiki_page[hide_from_students]' : wiki_page_hide_from_students,
'wiki_page[editing_roles]' : wiki_page_editing_roles,
'wiki_page[notify_of_update]' : wiki_page_notify_of_update,
'wiki_page[published]' : wiki_page_published,
'wiki_page[front_page]' : wiki_page_front_page,
}
url = request_ctx.base_api_url + path.format(group_id=group_id, url=url)
response = client.put(request_ctx, url, payload=payload, **request_kwargs)
return response
def delete_page_courses(request_ctx, course_id, url, **request_kwargs):
"""
Delete a wiki page
:param request_ctx: The request context
:type request_ctx: :class:RequestContext
:param course_id: (required) ID
:type course_id: string
:param url: (required) ID
:type url: string
:return: Delete page
:rtype: requests.Response (with Page data)
"""
path = '/v1/courses/{course_id}/pages/{url}'
url = request_ctx.base_api_url + path.format(course_id=course_id, url=url)
response = client.delete(request_ctx, url, **request_kwargs)
return response
def delete_page_groups(request_ctx, group_id, url, **request_kwargs):
"""
Delete a wiki page
:param request_ctx: The request context
:type request_ctx: :class:RequestContext
:param group_id: (required) ID
:type group_id: string
:param url: (required) ID
:type url: string
:return: Delete page
:rtype: requests.Response (with Page data)
"""
path = '/v1/groups/{group_id}/pages/{url}'
url = request_ctx.base_api_url + path.format(group_id=group_id, url=url)
response = client.delete(request_ctx, url, **request_kwargs)
return response
def list_revisions_courses(request_ctx, course_id, url, per_page=None, **request_kwargs):
"""
List the revisions of a page. Callers must have update rights on the page in order to see page history.
:param request_ctx: The request context
:type request_ctx: :class:RequestContext
:param course_id: (required) ID
:type course_id: string
:param url: (required) ID
:type url: string
:param per_page: (optional) Set how many results canvas should return, defaults to config.LIMIT_PER_PAGE
:type per_page: integer or None
:return: List revisions
:rtype: requests.Response (with array data)
"""
if per_page is None:
per_page = request_ctx.per_page
path = '/v1/courses/{course_id}/pages/{url}/revisions'
payload = {
'per_page' : per_page,
}
url = request_ctx.base_api_url + path.format(course_id=course_id, url=url)
response = client.get(request_ctx, url, payload=payload, **request_kwargs)
return response
def list_revisions_groups(request_ctx, group_id, url, per_page=None, **request_kwargs):
"""
List the revisions of a page. Callers must have update rights on the page in order to see page history.
:param request_ctx: The request context
:type request_ctx: :class:RequestContext
:param group_id: (required) ID
:type group_id: string
:param url: (required) ID
:type url: string
:param per_page: (optional) Set how many results canvas should return, defaults to config.LIMIT_PER_PAGE
:type per_page: integer or None
:return: List revisions
:rtype: requests.Response (with array data)
"""
if per_page is None:
per_page = request_ctx.per_page
path = '/v1/groups/{group_id}/pages/{url}/revisions'
payload = {
'per_page' : per_page,
}
url = request_ctx.base_api_url + path.format(group_id=group_id, url=url)
response = client.get(request_ctx, url, payload=payload, **request_kwargs)
return response
def show_revision_courses_latest(request_ctx, course_id, url, summary=None, **request_kwargs):
"""
Retrieve the metadata and optionally content of a revision of the page.
Note that retrieving historic versions of pages requires edit rights.
:param request_ctx: The request context
:type request_ctx: :class:RequestContext
:param course_id: (required) ID
:type course_id: string
:param url: (required) ID
:type url: string
:param summary: (optional) If set, exclude page content from results
:type summary: boolean or None
:return: Show revision
:rtype: requests.Response (with PageRevision data)
"""
path = '/v1/courses/{course_id}/pages/{url}/revisions/latest'
payload = {
'summary' : summary,
}
url = request_ctx.base_api_url + path.format(course_id=course_id, url=url)
response = client.get(request_ctx, url, payload=payload, **request_kwargs)
return response
def show_revision_groups_latest(request_ctx, group_id, url, summary=None, **request_kwargs):
"""
Retrieve the metadata and optionally content of a revision of the page.
Note that retrieving historic versions of pages requires edit rights.
:param request_ctx: The request context
:type request_ctx: :class:RequestContext
:param group_id: (required) ID
:type group_id: string
:param url: (required) ID
:type url: string
:param summary: (optional) If set, exclude page content from results
:type summary: boolean or None
:return: Show revision
:rtype: requests.Response (with PageRevision data)
"""
path = '/v1/groups/{group_id}/pages/{url}/revisions/latest'
payload = {
'summary' : summary,
}
url = request_ctx.base_api_url + path.format(group_id=group_id, url=url)
response = client.get(request_ctx, url, payload=payload, **request_kwargs)
return response
def show_revision_courses_revision_id(request_ctx, course_id, url, revision_id, summary=None, **request_kwargs):
"""
Retrieve the metadata and optionally content of a revision of the page.
Note that retrieving historic versions of pages requires edit rights.
:param request_ctx: The request context
:type request_ctx: :class:RequestContext
:param course_id: (required) ID
:type course_id: string
:param url: (required) ID
:type url: string
:param revision_id: (required) ID
:type revision_id: string
:param summary: (optional) If set, exclude page content from results
:type summary: boolean or None
:return: Show revision
:rtype: requests.Response (with PageRevision data)
"""
path = '/v1/courses/{course_id}/pages/{url}/revisions/{revision_id}'
payload = {
'summary' : summary,
}
url = request_ctx.base_api_url + path.format(course_id=course_id, url=url, revision_id=revision_id)
response = client.get(request_ctx, url, payload=payload, **request_kwargs)
return response
def show_revision_groups_revision_id(request_ctx, group_id, url, revision_id, summary=None, **request_kwargs):
"""
Retrieve the metadata and optionally content of a revision of the page.
Note that retrieving historic versions of pages requires edit rights.
:param request_ctx: The request context
:type request_ctx: :class:RequestContext
:param group_id: (required) ID
:type group_id: string
:param url: (required) ID
:type url: string
:param revision_id: (required) ID
:type revision_id: string
:param summary: (optional) If set, exclude page content from results
:type summary: boolean or None
:return: Show revision
:rtype: requests.Response (with PageRevision data)
"""
path = '/v1/groups/{group_id}/pages/{url}/revisions/{revision_id}'
payload = {
'summary' : summary,
}
url = request_ctx.base_api_url + path.format(group_id=group_id, url=url, revision_id=revision_id)
response = client.get(request_ctx, url, payload=payload, **request_kwargs)
return response
def revert_to_revision_courses(request_ctx, course_id, url, revision_id, **request_kwargs):
"""
Revert a page to a prior revision.
:param request_ctx: The request context
:type request_ctx: :class:RequestContext
:param course_id: (required) ID
:type course_id: string
:param url: (required) ID
:type url: string
:param revision_id: (required) The revision to revert to (use the {api:WikiPagesApiController#revisions List Revisions API} to see available revisions)
:type revision_id: integer
:return: Revert to revision
:rtype: requests.Response (with PageRevision data)
"""
path = '/v1/courses/{course_id}/pages/{url}/revisions/{revision_id}'
url = request_ctx.base_api_url + path.format(course_id=course_id, url=url, revision_id=revision_id)
response = client.post(request_ctx, url, **request_kwargs)
return response
def revert_to_revision_groups(request_ctx, group_id, url, revision_id, **request_kwargs):
"""
Revert a page to a prior revision.
:param request_ctx: The request context
:type request_ctx: :class:RequestContext
:param group_id: (required) ID
:type group_id: string
:param url: (required) ID
:type url: string
:param revision_id: (required) The revision to revert to (use the {api:WikiPagesApiController#revisions List Revisions API} to see available revisions)
:type revision_id: integer
:return: Revert to revision
:rtype: requests.Response (with PageRevision data)
"""
path = '/v1/groups/{group_id}/pages/{url}/revisions/{revision_id}'
url = request_ctx.base_api_url + path.format(group_id=group_id, url=url, revision_id=revision_id)
response = client.post(request_ctx, url, **request_kwargs)
return response
| 47.646393
| 381
| 0.706911
| 4,674
| 33,686
| 4.851947
| 0.038511
| 0.079725
| 0.031749
| 0.042332
| 0.996957
| 0.99365
| 0.991137
| 0.982229
| 0.974336
| 0.968957
| 0
| 0.000825
| 0.208811
| 33,686
| 706
| 382
| 47.713881
| 0.850068
| 0.571424
| 0
| 0.816144
| 0
| 0
| 0.161903
| 0.110768
| 0
| 0
| 0
| 0
| 0
| 1
| 0.098655
| false
| 0
| 0.004484
| 0
| 0.201794
| 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
|
4db96a54222c538d1a116f7d4341600ec4fc1fa2
| 358,063
|
py
|
Python
|
bin/temp/var/usd/cd/tmp/usd/data/data/data/data/data/temp/web.py
|
RazorKenway/All-Downloader
|
e1c6d9ee277166faff8876e967b521fd752f0e7f
|
[
"MIT"
] | 44
|
2021-06-28T15:57:18.000Z
|
2022-03-22T07:36:13.000Z
|
bin/temp/var/usd/cd/tmp/usd/data/data/data/data/data/temp/web.py
|
RazorKenway/All-Downloader
|
e1c6d9ee277166faff8876e967b521fd752f0e7f
|
[
"MIT"
] | 1
|
2021-11-26T13:28:10.000Z
|
2022-01-10T21:23:41.000Z
|
bin/temp/var/usd/cd/tmp/usd/data/data/data/data/data/temp/web.py
|
RazorKenway/All-Downloader
|
e1c6d9ee277166faff8876e967b521fd752f0e7f
|
[
"MIT"
] | 5
|
2021-08-23T17:34:56.000Z
|
2022-02-25T19:23:59.000Z
|
#ENCODE BY CRYPTO
#YOU CAN TRY THIS DECODE GOD BLESS
import gzip,marshal,zlib,base64,binascii,lzma
try:
exec(gzip.decompress(marshal.loads(b'sU\xe7\x01\x00\x1f\x8b\x08\x00\x02\x8e\x98a\x02\xffl]YW\x14M\xb0|\xbf\xbfBQ\x14\x11\xa1\xf7\xaeFD\x10duAPT@\xa1W\xd9\x04\x04\x14\x90\xe5\xb7\xdf\x89\xc8(\xe7\xbb\xe7\xdc\x07\x17`\x98\xe9\xae\xae\xca%22r\xef\xe7\xc9\xf1\xe9\xf9\xbd\xaa<k\xb3d\xe4gyz\xb6[\x1e\x8eT{G\xe5Y\xbd\xb77\xf2\xe3\xef\xde\xc9\xc8\xdf\xc3\xbd\xea\x7f\xceO\xaf\xc6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c8\xa3f\xcfgU\xc5\xb7\x04~\x14o\x1e\r\x9a\xf1\'\x08\x8bH\x85x|\xfegV\xad\x96X\xbe\xa6Z|1d\xc72\x10(\xc1\x00\xaaZ\x1a\xc2;|\xfe\x1d<\xd2\x91\xc0\x82#\xcc\xfbG\xd0n\xbe)^$\x9d\xff\xd3;\xd5\xc9\x93#<\xa8M|\xef\x81\xb21R\xca\x07\x14\xd2eoP\x8c,\xe6p\x84\xees\x07\x82\x0c\xd2\xca\x03V\xc9;\xdc\xeb&\x9e\x1d\xd69\x19\x7f\xa2F\xa6X\xb4/\xba\xd9\x07"{\xab\xba\\\xd4\xa4\xe5|\x81\xdf\x88\xde\xb0\x1f\x9f\xad"K\xaa\x0f\xb3)\xe8\x03~\x110\x0cs\x01\'G\xc1\xee\tf\xbc\xc3\x85 5\xb5\xccu\xa0\x931yl\x95\x1av\x1f\x11\xb5\xad\xda>8}\x86\xd7\x04$\x13\xdf\x9a\xa1-\x95\x98\xb2)\x85a\xadZl\xd9\xea\x1b\xab\xcf\x81\x06 \xd9yk\xf9TNp\xf2\xbb\x0f\x9dT\x00*`\xe5h\xb5\n\x19R&\xfbH-\x9c\xc0\x9f \x9b_Q\x1b~ .`\xc9\x937\xff\x13~ \x023\xa7[\xd8\xdc\xda*-t\x0b"\x00a\x9d8h\r{\x94\xff\x9asp\x1e(D\xfbU\r\xd2v\xe5f\xb1S\x1f\x99\xa7\xc3\xf9\xb3\xc4p\x1f\xbb\x12\xb6\x1d\xc53F;\x88;\n\x85kM\xf4\x19;\xee\xb3\x00\xaez\xeb\xf1\xb49g\xf8\x0b:_\x16\xf8%\x03\xc0`=\xdc\xed\xab\x1f\x90\x82\x90=\x9b\xb7\'\x13\x88\xa6\xe6H\'(\x16\xfa\x87\x8eK\xadx\x83\x9eH\x04\xfcN\xcf\xa9N\n\xf5:\xb0z\x91YXQ\x87\xcfp\x97\xdf\x04\x01\x83\x94\xec\x98\x1dU?$o\x90\xee\xfb\xce\x1daQb53g\x14F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\x88\xeb\x1c\r\x1a\xc2\x81\xb8\xf5\x80\x10x#\xc9":\xef\xc8\xe6\xf4Il\xe4E0Gv\xc5\xc2\x8a\xefT9oT\xb8,\x92\x87\x87\x0b \x0b\x00\xb1e\xd0O\xd3\xfeH\x88^\x94\xa1i\x84\x128\xa9\x8a\xc5\x9e\x19(\x8d\x9f\n\xc6\x97\tAS\xbd\x01\xef\xb1\xf9\xf8\xea4\xdc:\'\xf0\x91K\xbd\xa7n\xc6\xa6=f\xa9\x16\xac.\'\x13\x01\xb1\x16\xb4\xd9\xad8\x8eE\x9a\x97\xc47\xc56\xc8\xacZ\x16\x95\x86\x98\xf9\x9c6\x9f\x04\xd4\xebv\x1c\x87$=\xb9\xd6\x8e\x0b\xd5\xaeI&x\xd0\xa7\xb4\xd3\x08\x95^\xbf\x19\xfcQNi\x89D\xd0\xce\xc4\x9a\xc9><\x97\xe4R\x80\xe6\x836\x9b\x93\xe55\xb6)\xe0\x90\xca\xea\xdc\x8fU\xc3\x83\xa9\x80\xefa\xd9\xb1\xde\xfc\xdc\xc7\x86\xab\x8c\x01\xfc_w_e\xf2$Z_\xac\xfb\xcc\xfc\xb6\x92\xe2}!)\xe2\xa6{\x95A\x17/*v\xcc5\xb0\xe3\x04]\x1d\x15\x984\x95\x8a2\x0edK\xaeF\xbe\xa9\x95\x0b\xca\xf8\x15\xf5\xe2\xfe\xf2e\xa7f\xa8\x8cp{\xd9o3\xa8[\x91HD\xeag\xb4R\xca\xdff\xdd\x84o,s\x1a\x86\xa4nS\xe6\xc8\xb5\x17\xa6\xdf\xc7\x82\xbe\xedk\xf5:mu\x12RjQ\x11+@@T!\xad\xfd\x99_\x90V]\xfa\xc1\x8ez\x98\xbdfo\xa0(\x15\xa7\xea\x9e\xe6\xb5\x85_\xdf\xf9B#K\x0c\x04\\\xbe\xac\x981u\x92O!\x87\x02\xaaw\xde\x1a\x15\xd8<t\xce\xc0\x18\xab`\xe2\x81\x98\xfa\xf8\xfcx_\x19gP\x8d\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f\xac\x10\xf0\xb9\xfe\xe0\xd5&\x084\xedK7\xb8\xbc\xaf\xb1N\xca\x80\xd8\xd2\x88\x00+\xc0<\xcf\x00;\x87l\x88n\xee\x89\xc6n\x84\xe2\xe4k\xbaq\x01\x05\nJ\xf3\x82\xba\x11z\xebB\x1e\xe1\xb9\xae\x99\x00\xde\'\xf03\x99Kp\x90\x19\xc5\x03\'8\x88\xbe\xf1\xe0\xe5S\x8e\\\xc6t\xc8\xa2\\\n\xef\xaeW\xe5x\xd9&\xf2\xe6\x95\xad\x9f\x91\x96\xd6(\xba\x1b\xee\xbf4U\xfbF\x1do\x10\x84q)\x15\xd2\x13\xd1\'\x12\xc5#\xe5\x8e\xaf\xcfx\x19\xc7^\xfc\xca\xa1_\xcb\x12\xa7\xb76\xad\x1f\xf3+?\xf5k|\xdd\xa2~\x81\xee\x1f\x05\xe4\x02\xfd\xfb\x15\xf3}\x13a\x81^F<J,|\x9f\x9d\xd3\x99L\x02\xcd\xfa\x03\xcd\x01\xae\x95\xd86y\x1f\x8d\xa8\xbb\xc3\xdd)\x15B=\t/\x80\x16\xff?\xf0\xd2\x8b\x04Kg\x91k\xcb\xa9\xf2\xe7U~!\x9f\x93[\xe0Q&\xf3\x10\xa9\x0bF\x94w`=\x12\xaa\n\xfc\x00\x17\x06Z\x98\xbc\xdej\xce\x86\x98MI\x82\x91\xc6\xbd\xf2\x03z\xbf\xea7)\xb8\xff[^F\xc2\x99lxn\xaf\x83\x89C\xce\x0f\x9f\x1d\xd0\xec-&\x16\xbe\x17\x98\xaa\xc7\x9d\x8ca\xa5\xfc!\x16e.\xd1\xbf\x18(\xd3\xf8\nX2\xccI,L\xd5|\xf0\xee\xbb\xa7\xd5\xda\xe8*\xce\x19\xa50\xce\x1f\xf1\xab\xc2#Q\x8a\xbb_b\\\xd2`6\xef\xc7\x08\xfc\x0f\xddNY\xfeY\x03\xb6bq1d\x04\x91^\xfdQ7\x05\xf3\x86Ld*\xb5@\x95\xba|\xeat\xb1\x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1e\xff\x18\x12\xb0\xc7\x7fH \x84\xed\x0c/wn7\xb7O\n\xe4\x9e\xc2\xc5\xba!\xefGe\xaaW\x86\x0c,\x93\xcd\xcd,C)u\\gl\xf3\x13p\x02\xd7\xec\x84/\xea\x84V\x96y\xd1\xce\xc3\x1a\r\x80\n*R03\xa3u\xb8\xdc\xb2M\xf1\x01\xd9\xdevm\x16\x9d\xb2\x91\x19\x95U\xa8\x86\x91&\x9f\x96n\xf1\xabk\x8d\x95\x8d\x9e\xb7|\x15x\x129\x9f\x9d\x01\x01h.\x1a\x1d\xc3L\xb0\xabb\xcd=I\x15\xe4\xa0\x7f\xfc\xb3\xeeR\x8et\xb7\xe0\xe3\x9b\xdf\xdf\x8b,,\xa6m\xad\x8c\x10\x0e\xa9\x82\xa7S\x1d\xb8a\x93<\xe4\x87\'r\xf9\n\'m\xf9R):\x96\xe1\xa9\xe4(\x83\xf7\x1fe\xad\x97K\xa3\x89QU\x9d\xbc\x14\xfa\xca\xc1$%@\xb3\x12\xb51\x8bo\xf2\x9f\xa1\xac\x95d\ti`x\x0e\x05\xb3\x80\x1a\x81\xbf\r\xb1\x08\x84\xfa5*\xa5\xea\xaePY\xab{<\n\xaaF<\xe6\xfc3\xdf\xcd\xa9F\x86\xaa\x83\xead\no\x06\x84\xa3F\x99\xd2\x0e\x03\xe5"\xd3U\x01\x92GY\xee.\x06\xad\xcd\x11Z\x01\x1a!\x8b\xf1W\x00\x99\xf71kW\xbe\xf0CT\xf9\xb0\xc2\x13S\x99\x8d\xc8\xfb\xb0\x14\x04^\xa2\xb2\xb0\xc49\xaaPD&O\xf8!\xfeh:\x89\x0f\x89\xab\xc9\x95wn\xec\ts\xc3\x82-\xbcL\xb4\x1a\xb7;6\xd4\x16\xd1e\x10\x94\xd0O\x91\xc7\xfd\xac\xdf\x18\xc4,:+N\xcd#\xd9UT\xbe\x0f\xfc\xd1\n\xcboUNY\xee\xd25q\xc2\xe4\xf0\xf574AxP\xa9\xc2\x807U*\xfb\x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x1a\x92\x8dQ\xad/\\\xc8\r\x9b\x82\xf7\x14\xbd\x12\x8d\xb6j\xccQ=\x02\x86\x03\xb9x\xffR\xb6\x0b\xc8\xbf\xe2w\x83\x17F\xac\xab\xdf\xa6,\x85yUL0\xbc\t\x07\r\xde\t\t\xb1\xd1\xb6\xa8\x04\x91\x10\xe5*+U\xba\x95bK\xc7\xeai\xeb\xe0\xcaH\xf6\x1aT\x85P\xa9\x95\xdd\xffNH\xab\x82\x98\xcf4x5\xb1"\x9a\x8d\x1db\xdd\xd3q\xec<\x95\xfb\xc9\t\x19\xf2\xdf/?\xca\xfc\x85\x82\x1ae\xecQ\xe2\x15\xbd\xf2\x0f\xc1Y\x94\x0f\x89\x01M\xa5\x0e\x17\x83.t>yg\xfat5\xd6\x8b\x1fY1\x9c>\xa3N\x95\x94\xff\xe9\x01\x8d\xcc\xaa\xd9{\x91\xa3kE\x9b\x85!El\x86\xe0*`\xae\xb6Z\xe5c\xddy\xa3\x8fj\x91\xf5\x15d\x10D\x93\x91\xb0\x12u\x18\xa7\x05\xcen\xb5\xa4\xde\x86\xee\x8f\x7f\xb6\x02Z\xaf\x87\xc6\xb3\x88\xdc\x05Y(>\xf4\xad\x03\x12\xccw\x04\x97G\x81\x15\xa6QS\xe9\x96\x96d2\x9eK\xe0 \xc3\x17jFE\x14+\xcbOw\x04\\\xde\xac\x05\xa6,\xe3LP\xd5\xb3\x8b\xea\x86\xc2n^\x07>4\xf7\x15\x80\xd5\xca\x86\xbc\xab\xa5\xb7\x8c\n\xec\xd7\x88\xc0x\xe7\xeaKyhy\xef\xb6\x9e@0]\x99u\xf3\x0b\x16\xbb\x01D\xa28\x97\xdd\x190\x84xt\xe9\xa7 g\x11x0\x9f\xa1g|\xfd{Q%\x1cH\xe8M\x93\xbc\x1b\xf4\x9f\xab\xe6\xdb+4\xfb+\n\xde\x9ac\xea\xe4\x93\x96\x9cb\xc4y2:\x99\xabdnKD`:{\x9c?\x9f\xfa~CW:\x9c\xcfv`\x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d\x08\r\xa1\xab\xb6\xfc\x90(;\xb5c\x978\x19\xae\xde\xc9@\x12o$y\x14\x14\x94i\x1e\xcf_\xb0*\xfb\x1b\xb3\xe2\xbeP.\xc3@b\xd6\x14\xd4\xa0@\xae\xab\x1a\x11i\xd1\xfb\x9fj\x18h\xbc\xfe\xa0\xdfF[\xe6n\x11oa6_D>\x0e\x8b\xd3\xf6\x9f\x145t3\xd3W\xaa\x89"xMk\xed\xa5w\xba[`OQ\xc67\xe8\r\xf2\x07fe\xef\xa3\xfer\x85\xaeW\x9a\xb440\x05]\xba2\n\xf3\xcb\x82\xc3W\xf2\x07\xe4\x14\xe3\x83f\n\x91\xf4\x1b^\xa6\x13i6\'\xe9]h\xean>\x084\x1c\x16\xb7E\xf4\xe9\xf4\xcf\xc7C\x19O\x97{g\xd2f(\xed#\x0f\xc7\x96\x87\xb4R\x81\x1d\xban\xdc\x9f@\xed/]zp\xc4)[\xd7\xbf\x15\x14\x11\nh-\xe5\xee\xc2\x1c>gx\xf7\x9fx\xeeT\nv\xaf)X"9\x97\r\xae0\x1e\x93-\r\\\xbf\x15\xdb=\x11\x8c\x9e\xe9\xb8\xcfS\x964\x98\x83\xd1\x8a\x1c)P!\x10`\xbeSZ%`\xe19\x95\xe7\xd7YE\x12\x10\xf8\x1e\x11\x92\xc1\t"\x91\x13\xf9\xb51\x00\x87QE\xa7\xee\xec\xaa\xbc\xa8\xb2\xc29\x18\x8eO{`\xf3\xaao\xac\xb1t"\xc4Y\xcaV:@\x94O\x90\xd1\xd5\x07d\xddT\xa7>\x15}\xc8X\xe0LJ\x0e\xdc\x82\xaa\xfd]\xcb]\x14=4\x07\\\xdd\xea=t\x97\x04\x05R8\x10@\x99\xad\xa0\xb2\xb0\xf1\xaf)\x12\x13D\x84\xa9+T\xc2\xd9\tj:\x98b\x94\xb2{\xc9\xb53\xcatF*\x85\xa4\xb1\x92+5x~\x119\xe5\x8d\x83\x00\xcf|\x1a]\xf9<\xf1\xca}\xfdL\x16x6\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xc7\x1bp\xded!\x92\xbfy"\xc7\t\xcaANN\xdb\x07\x00B\xeb\xa3/ \xd4\x06\x03\xd4~a\xd8o\x91\t\x1e\xfc\x134ZG\xd3b\x8e\x13\x17\xda\xf0\xd4Y\x92\x0ed\x19C\xeb3\xa6\xc4 -\xac4\xe0\xf7\xc1\xc0\x9a\xe3\x1b\xa29\xf1\xc7\xf1\xbew\xa9\xa7\x8c\xed)\xbaL\xe6;A\xf6\x16\xc3G8\x89\x9avS\xe5Rj\x1e\xe8\xea\xae\xb2\x05\xe1hF\xb3\x9eR\n\x02\xd6\xb50!\x08\x15+\x1a\xca\x81.\xcf\xd6\xa4\xa4o\xab\xe2\xe4\xf3<\x96\x9bd\xe9\x93\x88\x99hZ\xbdn8\xd4\xcc?\x95\x03]NK\xe5\x0fC"\xdd\x11\x9fR\xec\x06K>\x80\xfa\x0c\x12(\xb3\x0f:E\x8b\xe3R\x83\x99\x029\xa1\xb4\xed\xe1\x8a7?u\xade-\x06[N-\xc9u\x87\t\x1dy\x83\xf7\x18\x8c\xfd\xea\x9c~"\xab#\xe2\x85\x85w$\x92\xaf\xc3\xfa\xd0\xca\x82\xcd\x06\xaf\xbd@$\x9d\xc2cx\xadV\xb9\xfa\xd9\xe9L+\xfc*\xc3i\xdd"\x15\xe4\xeaP\xaan7l\xc6F\x83\x03k\x86\x88xb\xa0P_\xd8|\xde\xba\xe2\x8c\xed-\x90"\xea\xff\xc4}\xf7s\x1fw\xe1\xbf\x11\xc5(\xdc\xd4i^\x00m \x94o\xfa\xff\x88\xf5\xden"\xc3\x88\xa7\x07\xd2a\xc2\x8f\xd0\x16\xa7R\xcfV\x02\xf1\xd95\t\x80\n\x95F\x9e\xcb\\\x89nA\xb5\x0cns\xd7\xe8u4\x85\xaf\xe1\xef\x97#\xf2"3\xd2\x0f\x97\xef\x98\x9b\xbd\xa5\xb3\x1d5Y!i~\x90\x16\xcc\xf2\x1a\xab(\x01$\x9d\x86m\x11\xe1+I\xffrx\x00\x17\x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x8e\x8e\xd0\xa8\xa7];\xba\xc4\xa2\xee\xb9\x03\xa9~\x11aD\xe45\x16\x8eHc\x9a!\x1f\x92\xf1\x87\xe91\xf2\xbf\xa3\xce\t\xec\xdd\x02\xde\xd6\xb5\x19\xfd\xe2\x83a\x8f\xa5]E\x16\xb1\x0f),\xe2\xde\xfe&c\x8b\x93\x0cp\x81\xc8|\x00\xf5\x80\x85=g\xdf\xb5}\xb7\xa3\x01l\xd2\xe9 \x91%\x13tC\x99hu\x89\x99p\xf0\x11\xa8V\xf0\xf3\xef\xfc\xb265\x0b\x08\x1c\'p\xbcd\xa1\xcc\xb9\xf8\'wl\xd6\xe1j\xb9\xa96\xc5\xc2[\x82X!\x80\xc5\xd2S\xa6\xe9\xd9\xa53(\x13\xf1\x96\x8c#M+k-\'j\xdd\xb3o\xa4\xe9\xb8\x93\xb1\xac\xa2Z\xed\xb8\x12C\xc8\xe0#\x0f\xfb\x02\xe3\xfe\xec\xed\x07\xedD\xab\xac\x18F\xff\xc9\x99\xd9\xca\x92\xfcys\xff71\xa6%\xd7\xea\x1f\xec\xdd\x87\xd7\x17\xf5e\x88T\xf2\xb4VR\xf9\x98!\x05\x11\xa5#v\x9dy\xee\xad\xf9#<\x8a\x15/\xe5\x7f\xf9\x98\x10\x14\x07\xbd\x9d\xc9\x03$\xd4a\x0e\xb92}\x11k\xccC2y\xcf\x13\x9f\t\xbe{U\xc8qK\xa5\x1e\xa5\xed\xbd\xbd\xb8\xf4\x08b\x08\xe5\xce\xeaT\xf6L\xf2\xa5 \xbd\x13\xa2\xb4\\W!3!1\x04\xaf\xc4\xfe jc\xce\xbf)\xe0)\x99\xf6#\x1eFM\xa3w\x04.S\xab\xab\xb5*\x8c\x9f\x97\xd3\xcd\x82\xa4\x16*b\x0bo\x18\x9e{\xfe\x0e\x89<\xc7\xc37\xa8G\xa3\xcb]1\xe0\x03\x16{\x9b_\xc5\xabh\xfb\xf0\x98Ld4\x026\x8at+\x0bb\xe0\xbb\x88\x87\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x89b\x87\xd2\x94.\x1a%\x92\x0c\xd2\x1e\xafi0\x89\x96p\xed\x11\xde\xc5G\'\xbb\x19i\xded\x12n\xce\xf2G\x07\x02\xfaph\x96%\xc6_\xd9R\xc3\xdaI\x80\x14\x99Ss\xff\x8ei\x88\xbf\xa8\xb7\x9d\x0f\x96E\x01.\xfb\x97\xd5\xef\xfc\x9e\xac\xda\xdc\x97\xce\xac\x19\xe5\xeagZ\xa1\xebhwN#*\x9a=\x94)ZJo\xcf\xaeoVH\xd5"\x0fb\xab4_\xe7\xe61[L\xefp\x11\x1b\x847\x85S\xbb\x16/F\xaa\xd9!\x8bN\xc0\x15=y\x11r\x965\nH\xab\xc4\tm\xb23\xf4\x8d\xda\x17\x02\xd4\xf4\xd9\xe73Q+\x15\x14\x84V4\xbf\x7f\xa9\x0f\x93Kz\xdc\xc2E\x869^\x10!S#\xba\x17\xaf\xbc\x0e\xef\xdf\xf5\xc3GG\xf4S\x11\xf5P\xb7y\xbc@\xed\xf9N(d\xc3\x83\x93\x9b\x83jI\xd2#u\nK\xbd\x82\x95\x9cl\x1e\x92#\xce\xaf0\x9d\xa7J\x05&0\xf6\x94\xf2/\xef\xc4\xef\xe4\xa3\xa6\xc1*\x1b\xa3\x8d5\xbdM\x1e\x83\x1f\xba\xdd\xf5v\x0b\xf7_\x81\xe87\xa6&\x14\x0f\x94\xb4T\x8c\x17\xb3GZ\x9d\xb8w\xf63E\x1e\n5@\xe0G\xb3\xf7W\xca\x93\x12-\xb8\x18\x9c\xd3\x00x\x9c|\xfd[\xe3\xed\xbeX\xd5\x12\xbeX\xba]\x05\x90\x1b_\xb7T\xf3\xc4p\xaa:\x15\xfd&V\xca\x02\nmf\xe6\xc4\xe1\x93\x964.\xfcX\xeb\x18\xf4>z\x8c\x91Q\xfeW[S\xe5P\x0b\x17\xa3hW\xa2\xa1\xc3\x93\x07hM\x05{0\x91\xa6\x9d\xb4\x0b\xe4[y\xe7A\x8b\xd1F\xae\x99\xc5\xdc\\\xa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8f\n\xe5\x17k\xf7\xb4L\x8cV\xd22\xf6\xbf[\x93~n\x89\x9e\x88\xc7\xb4\xafL\xc7(:\xdf\x1c\xcc\x1e\x1f\x1f\x1c\x0f\x95\x7f\x87\xc2\xd3\x13\xc5(S\xa3\xd2\xb4\x9deq\xd2d\xd2\xa0F\xf9\xaf\xe2\xf8\xe4{\xb1\xa7\x7ft\xe5\xee~qR\xed*\xf8=J\xbe\x9d\xef\x1e\xda\xff\xff|o\xd7~I\xd2\x84m\x8d\xdb\xc2\xdeA\x01?\xfb\xf5?\xec\xd7Mu\xf0\xeb\xf0\xb89\t\xff<\x98\xc5\xf7\x1f\xec\x1e\xec\xebgc\xfb\x05\xe9\xe1\xf1\xee\xbe\xe4\tQtl\n\xe9\xf0\x7f\xff\xef\x1f\xedo\xb6\xbf\x196\xcb\xcf\xf9\xf4\xd7A\xfd{\x0f^\x92(\xfe\xef\xcf\x9epe\xba\xf9\xc7{]3,\x8a\x1f\xe9\x87]X\n"\xc5t\xba\xfc\x04\x9co\x87YX\xf8ew\xef\xdf\xbf\xff\x7f\r?\xfa\xd0\xcd7\x18*N\x86\xca\'\xfc\xd8\xf7\xda\xe1\x9bk|Q^\x0e\r\xdf\xff\x1f\x00\xbej\x88\xc5"\x04\x00')))
except Exception as b:
print(f'Error for : {b} ')
| 32,551.181818
| 357,904
| 0.735144
| 82,239
| 358,063
| 3.194749
| 0.131008
| 0.000206
| 0.000069
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.231336
| 0.001301
| 358,063
| 11
| 357,905
| 32,551.181818
| 0.503382
| 0.000137
| 0
| 0
| 0
| 59.8
| 0.686084
| 0.683978
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.2
| 0
| 0.2
| 0.2
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
4dbef84ecb2652c85b54e3e1287bef2ed892026a
| 78,757
|
py
|
Python
|
eos.py
|
burakplt/VLE
|
58e810c6519f9c3a0758cd3d3a5a91f8e9f5d3ba
|
[
"MIT"
] | 4
|
2020-05-09T13:34:50.000Z
|
2021-03-11T06:29:39.000Z
|
eos.py
|
burakplt/VLE
|
58e810c6519f9c3a0758cd3d3a5a91f8e9f5d3ba
|
[
"MIT"
] | null | null | null |
eos.py
|
burakplt/VLE
|
58e810c6519f9c3a0758cd3d3a5a91f8e9f5d3ba
|
[
"MIT"
] | null | null | null |
# EOS models and calculations
from math import exp, sqrt, log
from numpy import roots as np_roots
from chemsep_operation import EosInterface as dbcall
class PR76 ():
"""Peng-Robinson 1976 EOS Solver"""
def fugacity_vapor(stream):
"""PENG-ROBINSON equation of state solver for vapor phase.
:param stream: Stream object that contains chemicals.
"""
s = stream # Set stream variable
cs = stream.substances # Components array
T = s.get_temperature() # get system temperature Kelvin
P = s.get_pressure() #get system pressure Pascal
R = 8.314462 #Universal gas constant J/mol.K
y = s.get_fractions()[0] #Molar fractions array
#Calculate a(T) and b for each pure substance
def calculate_a(component,T):
"""Input a substance i.e cs[i]
Returns a value a = Pa.m^6/mol^2 """
w = float(component.AcentricityFactor) #acentric factor
Tc = float(component.CriticalTemperature)
Pc = float(component.CriticalPressure)
Tr = T/Tc #Reduced Temperature T is the global Temp value
kappa = 0.37464+1.54226*w-0.26992*w**2 #PR kappa value
c = 0.45724*(R**2)*(Tc**2)/Pc #PR multiply factor
alfaT = (1 + kappa*(1-Tr**0.5))**2 #PR alfa(T) function
aT = c*alfaT # a(T) Equation
return aT
def calculate_b(component):
"""Input a substance cs[i]
Returns b value b = m^3/mol """
Tc = float(component.CriticalTemperature)
Pc = float(component.CriticalPressure)
b = (0.07780*R*Tc)/Pc
return b
def calculate_kij(c1, c2, tune):
"""Calculate binary interaction parameter.
c1, c2 is the stream components, tune: 1.2 default
"""
Vc1 = float(c1.CriticalVolume) #Critical volume for substance 1
Vc2 = float(c2.CriticalVolume) #Critical volume for substance 2
k_ij = 1 - ( 2*sqrt( (Vc1**0.333)*(Vc2**0.333) )/(Vc1**0.333 + Vc2**0.333))**tune
return k_ij
def calculate_amix(y,T):
"""a(T) value for mixture"""
amix = 0 #Placeholder for a_mixture values
for i in range(0,len(cs)) :
for j in range(0,len(cs)):
kij = calculate_kij(cs[i],cs[j], 1.2) #kij value calculation
ai = calculate_a(cs[i],T) #ai value
aj = calculate_a(cs[j],T) #aj value
amix += y[i]*y[j]*sqrt(ai * aj)*(1-kij) #Update a_mix
return amix
def calculate_bmix(y):
""" b value for the mixture"""
bmix = 0
for i in range(0, len(cs)):
bmix += y[i]*calculate_b(cs[i])
return bmix
def calculate_A(a,T):
"""Calculates A value for component or mixture. a or amix"""
A = a * P/(R**2)/(T**2) # A factor
return A
def calculate_B(b,T):
"""Calculates B value for a component or mixture."""
B = b * P/(R*T) # B factor
return B
def calculate_Z(A,B,T):
A = calculate_A(calculate_amix(y,T),T)
B = calculate_B(calculate_bmix(y),T)
coefficients = [1, B-1, A-2*B-3*B**2, B**2+2*B-A*B] # PR Z-equation
return max(np_roots(coefficients))# Return largest root for vapor phase calculation
# CALCULATE FUGACITY COEFFICIENT
#Z = calculate_Z(A,B)
def calculate_phi(comp,T):
"""Vapor phase fugacity coefficient phi for a component.
:param comp: Input the substance/chemical"""
a = calculate_a(comp,T)
b = calculate_b(comp)
amix = calculate_amix(y,T)
bmix = calculate_bmix(y)
A = calculate_A(calculate_amix(y,T),T)
B = calculate_B(calculate_bmix(y),T)
Z = calculate_Z(A,B,T)
ak = 0 # ak sum value for inside function
for k in range(0,len(cs)):
ak += y[k]* (1-calculate_kij(cs[k],comp, 1.2))* sqrt(calculate_a(cs[k],T)*calculate_a(comp,T))
phi = b*(Z-1)/bmix - log(Z-B) - A/(sqrt(8)*B)*(2*ak/amix - b/bmix)*log((Z+2.414*B)/(Z-0.414*B))
return exp(phi)
def h_deperture(cs):
"""Departure enthalpy with PR EOS"""
h_dep = 0
for i in range(0,len(cs)):
temp = T + 0.001
der1 = log(calculate_phi(cs[i], temp))
temp = T - 0.001
der2 = log(calculate_phi(cs[i], temp))
h_dep += (-R*T**2)*(der1-der2)/0.002*y[i]
return h_dep
def ig_enthalpy(cs):
enthalpy = 0
for i in range(0,len(cs)):
enthalpy += dbcall.ig_enthalpy(cs[i].IdealGasHeatCapacityCp, T)*y[i]
return enthalpy/1000 #kJ/kmol
def s_deperture(cs):
"""Departure entropy with PR EOS"""
s_dep = 0
for i in range(0,len(cs)):
temp = T + 0.001
der1 = log(calculate_phi(cs[i], temp))
temp = T - 0.001
der2 = log(calculate_phi(cs[i], temp))
dphi = (der1-der2)/0.002
s_dep += (-R*(T*dphi + log(calculate_phi(cs[i],T))))*y[i]
return s_dep # J/mol.K
def ig_entropy(cs):
entropy = 0
P0 = 101325 # Reference pressure in Pa
for i in range(0,len(cs)):
#abs_entropy = float(cs[i].AbsEntropy)
entropy += (dbcall.ig_entropy(cs[i].IdealGasHeatCapacityCp, T) -R*1000*log(P/P0) -R*1000*log(y[i]) )*y[i]
return entropy/1000
def gibbs_energy():
return (ig_enthalpy(cs)+h_deperture(cs)) - (ig_entropy(cs)+s_deperture(cs))*T
fugacity_coefficients = []
for i in range(0,len(cs)):
fugacity_coefficients.append( calculate_phi(cs[i],T))
return fugacity_coefficients
# TODO FALSE RESULT!!!!!!!!!!!! Liquid fugacity
def fugacity_liquid(stream):
"""PENG-ROBINSON equation of state solver for liquid phase.
:param stream: Stream object that contains chemicals.
"""
s = stream # Set stream variable
cs = stream.substances # Components array
T = s.get_temperature() # get system temperature Kelvin
P = s.get_pressure() #get system pressure Pascal
R = 8.314462 #Universal gas constant J/mol.K
y = s.get_fractions()[0] #Molar fractions array
#Calculate a(T) and b for each pure substance
def calculate_a(component,T):
"""Input a substance i.e cs[i]
Returns a value a = Pa.m^6/mol^2 """
w = float(component.AcentricityFactor) #acentric factor
Tc = float(component.CriticalTemperature)
Pc = float(component.CriticalPressure)
Tr = T/Tc #Reduced Temperature T is the global Temp value
kappa = 0.37464+1.54226*w-0.26992*w**2 #PR kappa value
c = 0.45724*(R**2)*(Tc**2)/Pc #PR multiply factor
alfaT = (1 + kappa*(1-Tr**0.5))**2 #PR alfa(T) function
aT = c*alfaT # a(T) Equation
return aT
def calculate_b(component):
"""Input a substance cs[i]
Returns b value b = m^3/mol """
Tc = float(component.CriticalTemperature)
Pc = float(component.CriticalPressure)
b = (0.07780*R*Tc)/Pc
return b
def calculate_kij(c1, c2, tune):
"""Calculate binary interaction parameter.
c1, c2 is the stream components, tune: 1.2 default
"""
Vc1 = float(c1.CriticalVolume) #Critical volume for substance 1
Vc2 = float(c2.CriticalVolume) #Critical volume for substance 2
k_ij = 1 - ( 2*sqrt( (Vc1**0.333)*(Vc2**0.333) )/(Vc1**0.333 + Vc2**0.333))**tune
return k_ij
def calculate_amix(y,T):
"""a(T) value for mixture"""
amix = 0 #Placeholder for a_mixture values
for i in range(0,len(cs)) :
for j in range(0,len(cs)):
kij = calculate_kij(cs[i],cs[j], 1.2) #kij value calculation
ai = calculate_a(cs[i],T) #ai value
aj = calculate_a(cs[j],T) #aj value
amix += y[i]*y[j]*sqrt(ai * aj)*(1-kij) #Update a_mix
return amix
def calculate_bmix(y):
""" b value for the mixture"""
bmix = 0
for i in range(0, len(cs)):
bmix += y[i]*calculate_b(cs[i])
return bmix
#amix = calculate_amix(y) # amix calculated value
#bmix = calculate_bmix(y) #bmix calculated value
def calculate_A(a,T):
"""Calculates A value for component or mixture. a or amix"""
A = a * P/(R**2)/(T**2) # A factor
return A
def calculate_B(b,T):
"""Calculates B value for a component or mixture."""
B = b * P/(R*T) # B factor
return B
def calculate_Z(A,B,T):
A = calculate_A(calculate_amix(y,T),T)
B = calculate_B(calculate_bmix(y),T)
coefficients = [1, B-1, A-2*B-3*B**2, B**2+2*B-A*B] # PR Z-equation
roots = np_roots(coefficients)
for root in roots:
if root > 0 and root < max(roots):
min_root = root
return min_root # Return smallest root for vapor phase calculation
# CALCULATE FUGACITY COEFFICIENT
#Z = calculate_Z(A,B)
def calculate_phi(comp,T):
"""Vapor phase fugacity coefficient phi for a component.
:param comp: Input the substance/chemical"""
a = calculate_a(comp,T)
b = calculate_b(comp)
amix = calculate_amix(y,T)
bmix = calculate_bmix(y)
A = calculate_A(calculate_amix(y,T),T)
B = calculate_B(calculate_bmix(y),T)
Z = calculate_Z(A,B,T)
ak = 0 # ak sum value for inside function
for k in range(0,len(cs)):
ak += y[k]* (1-calculate_kij(cs[k],comp, 1.2))* sqrt(calculate_a(cs[k],T)*calculate_a(comp,T))
phi = b*(Z-1)/bmix - log(Z-B) - A/(sqrt(8)*B)*(2*ak/amix - b/bmix)*log((Z+2.414*B)/(Z-0.414*B))
return exp(phi)
def h_deperture(cs):
"""Departure enthalpy with PR EOS"""
h_dep = 0
for i in range(0,len(cs)):
temp = T + 0.001
der1 = log(calculate_phi(cs[i], temp))
temp = T - 0.001
der2 = log(calculate_phi(cs[i], temp))
h_dep += (-R*T**2)*(der1-der2)/0.002*y[i]
return h_dep
def ig_enthalpy(cs):
enthalpy = 0
for i in range(0,len(cs)):
h_vap = dbcall.dh_vaporization(cs[i].HeatOfVaporization, T, cs[i].CriticalTemperature)
enthalpy += (dbcall.ig_enthalpy(cs[i].IdealGasHeatCapacityCp, T) - h_vap)*y[i]
return enthalpy/1000 #kJ/kmol
def s_deperture(cs):
"""Departure entropy with PR EOS"""
s_dep = 0
for i in range(0,len(cs)):
temp = T + 0.001
der1 = log(calculate_phi(cs[i], temp))
temp = T - 0.001
der2 = log(calculate_phi(cs[i], temp))
dphi = (der1-der2)/0.002
s_dep += (-R*(T*dphi + log(calculate_phi(cs[i],T))))*y[i]
return s_dep # J/mol.K
def ig_entropy(cs):
entropy = 0
P0 = 101325 # Reference pressure in Pa
for i in range(0,len(cs)):
#abs_entropy = float(cs[i].AbsEntropy)
entropy += (dbcall.ig_entropy(cs[i].IdealGasHeatCapacityCp, T) -R*1000*log(P/P0) -R*1000*log(y[i]) )*y[i]
return entropy/1000
def gibbs_energy():
return (ig_enthalpy(cs)+h_deperture(cs)) - (ig_entropy(cs)+s_deperture(cs))*T
def phi_vapor(components, temp, pressure, fractions, kij_input = None, kij_tune=None):
"""PENG-ROBINSON equation of state solver for vapor phase.
:param components: Array that contains chemicals.
:param kij_input: Dict object {(i,j):kij, (i,k):kik....}
:param kij_tune: Tuning parameter for kij equation. Leave as None if kij_input given.
"""
cs = components # Components array
T = temp # get system temperature Kelvin
P = pressure #get system pressure Pascal
R = 8.314462 #Universal gas constant J/mol.K
y = fractions #Molar fractions array
#Calculate a(T) and b for each pure substance
def calculate_a(component,T):
"""Input a substance i.e cs[i]
Returns a value a = Pa.m^6/mol^2 """
w = float(component.AcentricityFactor) #acentric factor
Tc = float(component.CriticalTemperature)
Pc = float(component.CriticalPressure)
Tr = T/Tc #Reduced Temperature T is the global Temp value
kappa = 0.37464+1.54226*w-0.26992*w**2 #PR kappa value
c = 0.45724*(R**2)*(Tc**2)/Pc #PR multiply factor
alfaT = (1 + kappa*(1-Tr**0.5))**2 #PR alfa(T) function
aT = c*alfaT # a(T) Equation
return aT
def calculate_b(component):
"""Input a substance cs[i]
Returns b value b = m^3/mol """
Tc = float(component.CriticalTemperature)
Pc = float(component.CriticalPressure)
b = (0.07780*R*Tc)/Pc
return b
kijs = {}
if kij_input == None:
def calculate_kij(c1, c2, tune):
"""Calculate binary interaction parameter.
c1, c2 is the stream components, tune: 1.2 default
"""
Vc1 = float(c1.CriticalVolume) #Critical volume for substance 1
Vc2 = float(c2.CriticalVolume) #Critical volume for substance 2
k_ij = 1 - ( 2*sqrt( (Vc1**0.333)*(Vc2**0.333) )/(Vc1**0.333 + Vc2**0.333))**tune
return k_ij
if kij_tune != None and kij_tune <3 and kij_tune >0:
for i in range(0,len(cs)):
for j in range(0,len(cs)):
kijs[(i,j)] = calculate_kij(cs[i],cs[j], kij_tune)
else:
for i in range(0,len(cs)):
for j in range(0,len(cs)):
kijs[(i,j)] = calculate_kij(cs[i],cs[j], 1.2) #Default tune 1.2
else:
for i in range(0,len(cs)):
for j in range(0,len(cs)):
if i==j:
kijs[(i,j)] = 0
else:
if kij_input.get((i,j),None):
if abs(kij_input.get((i,j))) < 0.3:
kijs[(i,j)] = kij_input[(i,j)]
else:
kijs[(i,j)] = 0
else:
kijs[(i,j)] = kijs[(j,i)]
def calculate_amix(y,T):
"""a(T) value for mixture"""
amix = 0 #Placeholder for a_mixture values
for i in range(0,len(cs)) :
for j in range(0,len(cs)):
kij = kijs[(i,j)] #kij value calculation
ai = calculate_a(cs[i],T) #ai value
aj = calculate_a(cs[j],T) #aj value
amix += y[i]*y[j]*sqrt(ai * aj)*(1-kij) #Update a_mix
return amix
def calculate_bmix(y):
""" b value for the mixture"""
bmix = 0
for i in range(0, len(cs)):
bmix += y[i]*calculate_b(cs[i])
return bmix
#amix = calculate_amix(y) # amix calculated value
#bmix = calculate_bmix(y) #bmix calculated value
def calculate_A(a,T):
"""Calculates A value for component or mixture. a or amix"""
A = a * P/(R**2)/(T**2) # A factor
return A
def calculate_B(b,T):
"""Calculates B value for a component or mixture."""
B = b * P/(R*T) # B factor
return B
def calculate_Z(A,B,T):
A = calculate_A(calculate_amix(y,T),T)
B = calculate_B(calculate_bmix(y),T)
coefficients = [1, B-1, A-2*B-3*B**2, B**2+2*B-A*B] # PR Z-equation
return max(np_roots(coefficients))# Return largest root for vapor phase calculation
amix = calculate_amix(y,T)
bmix = calculate_bmix(y)
A = calculate_A(calculate_amix(y,T),T)
B = calculate_B(calculate_bmix(y),T)
Z = calculate_Z(A,B,T)
# CALCULATE FUGACITY COEFFICIENT
#Z = calculate_Z(A,B)
def calculate_phi(i,T):
"""Vapor phase fugacity coefficient phi for a component.
:param comp: Input the substance/chemical"""
comp = cs[i]
a = calculate_a(comp,T)
b = calculate_b(comp)
ak = 0 # ak sum value for inside function
for k in range(0,len(cs)):
ak += y[k]* (1-kijs[(k,i)])* sqrt(calculate_a(cs[k],T)*calculate_a(comp,T))
phi = b*(Z-1)/bmix - log(Z-B) - A/(sqrt(8)*B)*(2*ak/amix - b/bmix)*log((Z+2.414*B)/(Z-0.414*B))
return exp(phi)
fugacity_coefficients = []
for i in range(0,len(cs)):
fugacity_coefficients.append( calculate_phi(i,T))
return fugacity_coefficients
class PR78 ():
"""Peng-Robinson 1978 EOS Solver"""
def fugacity_vapor(stream):
"""PENG-ROBINSON equation of state solver for vapor phase.
:param stream: Stream object that contains chemicals.
"""
s = stream # Set stream variable
cs = stream.substances # Components array
T = s.get_temperature() # get system temperature Kelvin
P = s.get_pressure() #get system pressure Pascal
R = 8.314462 #Universal gas constant J/mol.K
y = s.get_fractions()[0] #Molar fractions array
#Calculate a(T) and b for each pure substance
def calculate_a(component,T):
"""Input a substance i.e cs[i]
Returns a value a = Pa.m^6/mol^2 """
w = float(component.AcentricityFactor) #acentric factor
Tc = float(component.CriticalTemperature)
Pc = float(component.CriticalPressure)
Tr = T/Tc #Reduced Temperature T is the global Temp value
if w <= 491:
kappa = 0.37464 + 1.54226*w - 0.26992*w**2 #PR kappa value
else:
kappa = 0.379642 + 1.48503*w - 0.164423*w**2 + 0.016666*w**3
c = 0.457235*(R**2)*(Tc**2)/Pc #PR multiply factor
alfaT = (1 + kappa*(1-Tr**0.5))**2 #PR alfa(T) function
aT = c*alfaT # a(T) Equation
return aT
def calculate_b(component):
"""Input a substance cs[i]
Returns b value b = m^3/mol """
Tc = float(component.CriticalTemperature)
Pc = float(component.CriticalPressure)
b = (0.077796*R*Tc)/Pc
return b
def calculate_kij(c1, c2, tune):
"""Calculate binary interaction parameter.
c1, c2 is the stream components, tune: 1.2 default
"""
Vc1 = float(c1.CriticalVolume) #Critical volume for substance 1
Vc2 = float(c2.CriticalVolume) #Critical volume for substance 2
k_ij = 1 - ( 2*sqrt( (Vc1**0.333)*(Vc2**0.333) )/(Vc1**0.333 + Vc2**0.333))**tune
return k_ij
def calculate_amix(y,T):
"""a(T) value for mixture"""
amix = 0 #Placeholder for a_mixture values
for i in range(0,len(cs)) :
for j in range(0,len(cs)):
kij = calculate_kij(cs[i],cs[j], 1.2) #kij value calculation
ai = calculate_a(cs[i],T) #ai value
aj = calculate_a(cs[j],T) #aj value
amix += y[i]*y[j]*sqrt(ai * aj)*(1-kij) #Update a_mix
return amix
def calculate_bmix(y):
""" b value for the mixture"""
bmix = 0
for i in range(0, len(cs)):
bmix += y[i]*calculate_b(cs[i])
return bmix
#amix = calculate_amix(y) # amix calculated value
#bmix = calculate_bmix(y) #bmix calculated value
def calculate_A(a,T):
"""Calculates A value for component or mixture. a or amix"""
A = a * P/(R**2)/(T**2) # A factor
return A
def calculate_B(b,T):
"""Calculates B value for a component or mixture."""
B = b * P/(R*T) # B factor
return B
def calculate_Z(A,B,T):
A = calculate_A(calculate_amix(y,T),T)
B = calculate_B(calculate_bmix(y),T)
coefficients = [1, B-1, A-2*B-3*B**2, B**2+2*B-A*B] # PR Z-equation
return max(np_roots(coefficients))# Return largest root for vapor phase calculation
# CALCULATE FUGACITY COEFFICIENT
#Z = calculate_Z(A,B)
def calculate_phi(comp,T):
"""Vapor phase fugacity coefficient phi for a component.
:param comp: Input the substance/chemical"""
a = calculate_a(comp,T)
b = calculate_b(comp)
amix = calculate_amix(y,T)
bmix = calculate_bmix(y)
A = calculate_A(calculate_amix(y,T),T)
B = calculate_B(calculate_bmix(y),T)
Z = calculate_Z(A,B,T)
ak = 0 # ak sum value for inside function
for k in range(0,len(cs)):
ak += y[k]* (1-calculate_kij(cs[k],comp, 1.2))* sqrt(calculate_a(cs[k],T)*calculate_a(comp,T))
phi = b*(Z-1)/bmix - log(Z-B) - A/(sqrt(8)*B)*(2*ak/amix - b/bmix)*log((Z+2.414*B)/(Z-0.414*B))
return exp(phi)
def h_deperture(cs):
"""Departure enthalpy with PR EOS"""
h_dep = 0
for i in range(0,len(cs)):
temp = T + 0.001
der1 = log(calculate_phi(cs[i], temp))
temp = T - 0.001
der2 = log(calculate_phi(cs[i], temp))
h_dep += (-R*T**2)*(der1-der2)/0.002*y[i]
return h_dep
def ig_enthalpy(cs):
enthalpy = 0
for i in range(0,len(cs)):
enthalpy += dbcall.ig_enthalpy(cs[i].IdealGasHeatCapacityCp, T)*y[i]
return enthalpy/1000 #kJ/kmol
def s_deperture(cs):
"""Departure entropy with PR EOS"""
s_dep = 0
for i in range(0,len(cs)):
temp = T + 0.001
der1 = log(calculate_phi(cs[i], temp))
temp = T - 0.001
der2 = log(calculate_phi(cs[i], temp))
dphi = (der1-der2)/0.002
s_dep += (-R*(T*dphi + log(calculate_phi(cs[i],T))))*y[i]
return s_dep # J/mol.K
def ig_entropy(cs):
entropy = 0
P0 = 101325 # Reference pressure in Pa
for i in range(0,len(cs)):
#abs_entropy = float(cs[i].AbsEntropy)
entropy += (dbcall.ig_entropy(cs[i].IdealGasHeatCapacityCp, T) -R*1000*log(P/P0) -R*1000*log(y[i]) )*y[i]
return entropy/1000
def gibbs_energy():
return (ig_enthalpy(cs)+h_deperture(cs)) - (ig_entropy(cs)+s_deperture(cs))*T
# TODO FALSE RESULT!!!!!!!!!!!! Liquid fugacity
def fugacity_liquid(stream):
"""PENG-ROBINSON equation of state solver for liquid phase.
:param stream: Stream object that contains chemicals.
"""
s = stream # Set stream variable
cs = stream.substances # Components array
T = s.get_temperature() # get system temperature Kelvin
P = s.get_pressure() #get system pressure Pascal
R = 8.314462 #Universal gas constant J/mol.K
y = s.get_fractions()[0] #Molar fractions array
#Calculate a(T) and b for each pure substance
def calculate_a(component,T):
"""Input a substance i.e cs[i]
Returns a value a = Pa.m^6/mol^2 """
w = float(component.AcentricityFactor) #acentric factor
Tc = float(component.CriticalTemperature)
Pc = float(component.CriticalPressure)
Tr = T/Tc #Reduced Temperature T is the global Temp value
if w <= 491:
kappa = 0.37464 + 1.54226*w - 0.26992*w**2 #PR kappa value
else:
kappa = 0.379642 + 1.48503*w - 0.164423*w**2 + 0.016666*w**3
c = 0.45724*(R**2)*(Tc**2)/Pc #PR multiply factor
alfaT = (1 + kappa*(1-Tr**0.5))**2 #PR alfa(T) function
aT = c*alfaT # a(T) Equation
return aT
def calculate_b(component):
"""Input a substance cs[i]
Returns b value b = m^3/mol """
Tc = float(component.CriticalTemperature)
Pc = float(component.CriticalPressure)
b = (0.07780*R*Tc)/Pc
return b
def calculate_kij(c1, c2, tune):
"""Calculate binary interaction parameter.
c1, c2 is the stream components, tune: 1.2 default
"""
Vc1 = float(c1.CriticalVolume) #Critical volume for substance 1
Vc2 = float(c2.CriticalVolume) #Critical volume for substance 2
k_ij = 1 - ( 2*sqrt( (Vc1**0.333)*(Vc2**0.333) )/(Vc1**0.333 + Vc2**0.333))**tune
return k_ij
def calculate_amix(y,T):
"""a(T) value for mixture"""
amix = 0 #Placeholder for a_mixture values
for i in range(0,len(cs)) :
for j in range(0,len(cs)):
kij = calculate_kij(cs[i],cs[j], 1.2) #kij value calculation
ai = calculate_a(cs[i],T) #ai value
aj = calculate_a(cs[j],T) #aj value
amix += y[i]*y[j]*sqrt(ai * aj)*(1-kij) #Update a_mix
return amix
def calculate_bmix(y):
""" b value for the mixture"""
bmix = 0
for i in range(0, len(cs)):
bmix += y[i]*calculate_b(cs[i])
return bmix
#amix = calculate_amix(y) # amix calculated value
#bmix = calculate_bmix(y) #bmix calculated value
def calculate_A(a,T):
"""Calculates A value for component or mixture. a or amix"""
A = a * P/(R**2)/(T**2) # A factor
return A
def calculate_B(b,T):
"""Calculates B value for a component or mixture."""
B = b * P/(R*T) # B factor
return B
def calculate_Z(A,B,T):
A = calculate_A(calculate_amix(y,T),T)
B = calculate_B(calculate_bmix(y),T)
coefficients = [1, B-1, A-2*B-3*B**2, B**2+2*B-A*B] # PR Z-equation
roots = np_roots(coefficients)
for root in roots:
if root > 0 and root < max(roots):
min_root = root
return min_root # Return smallest root for vapor phase calculation
# CALCULATE FUGACITY COEFFICIENT
#Z = calculate_Z(A,B)
def calculate_phi(comp,T):
"""Vapor phase fugacity coefficient phi for a component.
:param comp: Input the substance/chemical"""
a = calculate_a(comp,T)
b = calculate_b(comp)
amix = calculate_amix(y,T)
bmix = calculate_bmix(y)
A = calculate_A(calculate_amix(y,T),T)
B = calculate_B(calculate_bmix(y),T)
Z = calculate_Z(A,B,T)
ak = 0 # ak sum value for inside function
for k in range(0,len(cs)):
ak += y[k]* (1-calculate_kij(cs[k],comp, 1.2))* sqrt(calculate_a(cs[k],T)*calculate_a(comp,T))
phi = b*(Z-1)/bmix - log(Z-B) - A/(sqrt(8)*B)*(2*ak/amix - b/bmix)*log((Z+2.414*B)/(Z-0.414*B))
return exp(phi)
def h_deperture(cs):
"""Departure enthalpy with PR EOS"""
h_dep = 0
for i in range(0,len(cs)):
temp = T + 0.001
der1 = log(calculate_phi(cs[i], temp))
temp = T - 0.001
der2 = log(calculate_phi(cs[i], temp))
h_dep += (-R*T**2)*(der1-der2)/0.002*y[i]
return h_dep
def ig_enthalpy(cs):
enthalpy = 0
for i in range(0,len(cs)):
h_vap = dbcall.dh_vaporization(cs[i].HeatOfVaporization, T, cs[i].CriticalTemperature)
enthalpy += (dbcall.ig_enthalpy(cs[i].IdealGasHeatCapacityCp, T) - h_vap)*y[i]
return enthalpy/1000 #kJ/kmol
def s_deperture(cs):
"""Departure entropy with PR EOS"""
s_dep = 0
for i in range(0,len(cs)):
temp = T + 0.001
der1 = log(calculate_phi(cs[i], temp))
temp = T - 0.001
der2 = log(calculate_phi(cs[i], temp))
dphi = (der1-der2)/0.002
s_dep += (-R*(T*dphi + log(calculate_phi(cs[i],T))))*y[i]
return s_dep # J/mol.K
def ig_entropy(cs):
entropy = 0
P0 = 101325 # Reference pressure in Pa
for i in range(0,len(cs)):
#abs_entropy = float(cs[i].AbsEntropy)
entropy += (dbcall.ig_entropy(cs[i].IdealGasHeatCapacityCp, T) -R*1000*log(P/P0) -R*1000*log(y[i]) )*y[i]
return entropy/1000
def gibbs_energy():
return (ig_enthalpy(cs)+h_deperture(cs)) - (ig_entropy(cs)+s_deperture(cs))*T
def phi_vapor(components, temp, pressure, fractions, kij_input = None, kij_tune=None):
"""PENG-ROBINSON 78 equation of state solver for vapor phase.
:param components: Array that contains chemicals.
:param kij_input: Dict object {(i,j):kij, (i,k):kik....}
:param kij_tune: Tuning parameter for kij equation. Leave as None if kij_input given.
"""
cs = components # Components array
T = temp # get system temperature Kelvin
P = pressure #get system pressure Pascal
R = 8.314462 #Universal gas constant J/mol.K
y = fractions #Molar fractions array
#Calculate a(T) and b for each pure substance
def calculate_a(component,T):
"""Input a substance i.e cs[i]
Returns a value a = Pa.m^6/mol^2 """
w = float(component.AcentricityFactor) #acentric factor
Tc = float(component.CriticalTemperature)
Pc = float(component.CriticalPressure)
Tr = T/Tc #Reduced Temperature T is the global Temp value
if w <= 491:
kappa = 0.37464 + 1.54226*w - 0.26992*w**2 #PR kappa value
else:
kappa = 0.379642 + 1.48503*w - 0.164423*w**2 + 0.016666*w**3
c = 0.457235*(R**2)*(Tc**2)/Pc #PR multiply factor
alfaT = (1 + kappa*(1-Tr**0.5))**2 #PR alfa(T) function
aT = c*alfaT # a(T) Equation
return aT
def calculate_b(component):
"""Input a substance cs[i]
Returns b value b = m^3/mol """
Tc = float(component.CriticalTemperature)
Pc = float(component.CriticalPressure)
b = (0.077796*R*Tc)/Pc
return b
kijs = {}
if kij_input == None:
def calculate_kij(c1, c2, tune):
"""Calculate binary interaction parameter.
c1, c2 is the stream components, tune: 1.2 default
"""
Vc1 = float(c1.CriticalVolume) #Critical volume for substance 1
Vc2 = float(c2.CriticalVolume) #Critical volume for substance 2
k_ij = 1 - ( 2*sqrt( (Vc1**0.333)*(Vc2**0.333) )/(Vc1**0.333 + Vc2**0.333))**tune
return k_ij
if kij_tune != None and kij_tune <3 and kij_tune >0:
for i in range(0,len(cs)):
for j in range(0,len(cs)):
kijs[(i,j)] = calculate_kij(cs[i],cs[j], kij_tune)
else:
for i in range(0,len(cs)):
for j in range(0,len(cs)):
kijs[(i,j)] = calculate_kij(cs[i],cs[j], 1.2) #Default tune 1.2
else:
for i in range(0,len(cs)):
for j in range(0,len(cs)):
if kij_input.get((i,j),None):
if abs(kij_input.get((i,j))) < 0.3:
kijs[(i,j)] = kij_input[(i,j)]
else:
kijs[(i,j)] = 0
else:
kijs[(i,j)] = kijs[(j,i)]
def calculate_amix(y,T):
"""a(T) value for mixture"""
amix = 0 #Placeholder for a_mixture values
for i in range(0,len(cs)) :
for j in range(0,len(cs)):
kij = kijs[(i,j)] #kij value calculation
ai = calculate_a(cs[i],T) #ai value
aj = calculate_a(cs[j],T) #aj value
amix += y[i]*y[j]*sqrt(ai * aj)*(1-kij) #Update a_mix
return amix
def calculate_bmix(y):
""" b value for the mixture"""
bmix = 0
for i in range(0, len(cs)):
bmix += y[i]*calculate_b(cs[i])
return bmix
#amix = calculate_amix(y) # amix calculated value
#bmix = calculate_bmix(y) #bmix calculated value
def calculate_A(a,T):
"""Calculates A value for component or mixture. a or amix"""
A = a * P/(R**2)/(T**2) # A factor
return A
def calculate_B(b,T):
"""Calculates B value for a component or mixture."""
B = b * P/(R*T) # B factor
return B
def calculate_Z(A,B,T):
A = calculate_A(calculate_amix(y,T),T)
B = calculate_B(calculate_bmix(y),T)
coefficients = [1, B-1, A-2*B-3*B**2, B**2+2*B-A*B] # PR Z-equation
return max(np_roots(coefficients))# Return largest root for vapor phase calculation
amix = calculate_amix(y,T)
bmix = calculate_bmix(y)
A = calculate_A(calculate_amix(y,T),T)
B = calculate_B(calculate_bmix(y),T)
Z = calculate_Z(A,B,T)
# CALCULATE FUGACITY COEFFICIENT
#Z = calculate_Z(A,B)
def calculate_phi(i,T):
"""Vapor phase fugacity coefficient phi for a component.
:param comp: Input the substance/chemical"""
comp = cs[i]
a = calculate_a(comp,T)
b = calculate_b(comp)
ak = 0 # ak sum value for inside function
for k in range(0,len(cs)):
ak += y[k]* (1-kijs[(k,i)])* sqrt(calculate_a(cs[k],T)*calculate_a(comp,T))
phi = b*(Z-1)/bmix - log(Z-B) - A/(sqrt(8)*B)*(2*ak/amix - b/bmix)*log((Z+2.414*B)/(Z-0.414*B))
return exp(phi)
fugacity_coefficients = []
for i in range(0,len(cs)):
fugacity_coefficients.append( calculate_phi(i,T))
return fugacity_coefficients
class RK ():
"""Redlich-Kwong EOS Solver"""
def fugacity_vapor(stream):
"""RK equation of state solver for vapor phase.
:param stream: Stream object that contains chemicals.
"""
s = stream # Set stream variable
cs = stream.substances # Components array
T = s.get_temperature() # get system temperature Kelvin
P = s.get_pressure() #get system pressure Pascal
R = 8.314462 #Universal gas constant J/mol.K
y = s.get_fractions()[0] #Molar fractions array
#Calculate a(T) and b for each pure substance
def calculate_a(component):
"""Input a substance i.e cs[i]
Returns a value a = Pa.m^6/mol^2 """
Tc = float(component.CriticalTemperature)
Pc = float(component.CriticalPressure)
a = 0.427480* (R**2) * (Tc**2.5) /Pc
return a
def calculate_b(component):
"""Input a substance cs[i]
Returns b value b = m^3/mol """
Tc = float(component.CriticalTemperature)
Pc = float(component.CriticalPressure)
b = (0.086640*R*Tc)/Pc
return b
def calculate_kij(c1, c2, tune):
"""Calculate binary interaction parameter.
c1, c2 is the stream components, tune: 1.2 default
"""
Vc1 = float(c1.CriticalVolume) #Critical volume for substance 1
Vc2 = float(c2.CriticalVolume) #Critical volume for substance 2
k_ij = 1 - ( 2*sqrt( (Vc1**0.333)*(Vc2**0.333) )/(Vc1**0.333 + Vc2**0.333))**tune
return k_ij
def calculate_amix(y):
"""a value for mixture"""
amix = 0 #Placeholder for a_mixture values
for i in range(0,len(cs)) :
for j in range(0,len(cs)):
kij = 0 #calculate_kij(cs[i],cs[j], 1.2) DEFAULT kij=0
ai = calculate_a(cs[i]) #ai value
aj = calculate_a(cs[j]) #aj value
amix += y[i]*y[j]*sqrt(ai * aj)*(1-kij) #Update a_mix
return amix
def calculate_bmix(y):
""" b value for the mixture"""
bmix = 0
for i in range(0, len(cs)):
bmix += y[i]*calculate_b(cs[i])
return bmix
#amix = calculate_amix(y) # amix calculated value
#bmix = calculate_bmix(y) #bmix calculated value
def calculate_A(a,T):
"""Calculates A value for component or mixture. a or amix"""
A = a * P/(R**2)/(T**2.5) # A factor
return A
def calculate_B(b,T):
"""Calculates B value for a component or mixture."""
B = b * P/(R*T) # B factor
return B
def calculate_Z(A,B,T):
coefficients = [1, -1, A-B-B**2, -A*B] # PR Z-equation
root = np_roots(coefficients)
return max(root)# Return largest root for vapor phase calculation
# CALCULATE FUGACITY COEFFICIENT
#Z = calculate_Z(A,B)
def calculate_phi(comp,T):
"""Vapor phase fugacity coefficient phi for a component.
:param comp: Input the substance/chemical"""
a = calculate_a(comp)
b = calculate_b(comp)
amix = calculate_amix(y)
bmix = calculate_bmix(y)
A = calculate_A(calculate_amix(y),T)
B = calculate_B(calculate_bmix(y),T)
Z = calculate_Z(A,B,T)
Ai = calculate_A(a,T)
Bi = calculate_B(b,T)
phi = Bi/B*(Z-1) - log(Z-B)+ A/B*(Bi/B - 2*(Ai/A)**0.5)*log(1+B/Z)
return exp(phi)
def h_deperture(cs):
"""Departure enthalpy with PR EOS"""
h_dep = 0
for i in range(0,len(cs)):
temp = T + 0.001
der1 = log(calculate_phi(cs[i], temp))
temp = T - 0.001
der2 = log(calculate_phi(cs[i], temp))
h_dep += (-R*T**2)*(der1-der2)/0.002*y[i]
return h_dep
def ig_enthalpy(cs):
enthalpy = 0
for i in range(0,len(cs)):
enthalpy += dbcall.ig_enthalpy(cs[i].IdealGasHeatCapacityCp, T)*y[i]
return enthalpy/1000 #kJ/kmol
def s_deperture(cs):
"""Departure entropy with PR EOS"""
s_dep = 0
for i in range(0,len(cs)):
temp = T + 0.001
der1 = log(calculate_phi(cs[i], temp))
temp = T - 0.001
der2 = log(calculate_phi(cs[i], temp))
dphi = (der1-der2)/0.002
s_dep += (-R*(T*dphi + log(calculate_phi(cs[i],T))))*y[i]
return s_dep # J/mol.K
def ig_entropy(cs):
entropy = 0
P0 = 101325 # Reference pressure in Pa
for i in range(0,len(cs)):
#abs_entropy = float(cs[i].AbsEntropy)
entropy += (dbcall.ig_entropy(cs[i].IdealGasHeatCapacityCp, T) -R*1000*log(P/P0) -R*1000*log(y[i]) )*y[i]
return entropy/1000
def gibbs_energy():
return (ig_enthalpy(cs)+h_deperture(cs)) - (ig_entropy(cs)+s_deperture(cs))*T
print(calculate_phi(cs[0],T), calculate_phi(cs[1],T))
def phi_vapor(components, temp, pressure, fractions, kij_input = None, kij_tune=None):
"""Redlich-Kwong equation of state solver for vapor phase.
:param components: Array that contains chemicals.
:param kij_input: Dict object {(i,j):kij, (i,k):kik....}
:param kij_tune: Tuning parameter for kij equation. Leave as None if kij_input given.
"""
cs = components # Components array
T = temp # get system temperature Kelvin
P = pressure #get system pressure Pascal
R = 8.314462 #Universal gas constant J/mol.K
y = fractions #Molar fractions array
#Calculate a(T) and b for each pure substance
def calculate_a(component):
"""Input a substance i.e cs[i]
Returns a value a = Pa.m^6/mol^2 """
Tc = float(component.CriticalTemperature)
Pc = float(component.CriticalPressure)
a = 0.427480* (R**2) * (Tc**2.5) /Pc
return a
def calculate_b(component):
"""Input a substance cs[i]
Returns b value b = m^3/mol """
Tc = float(component.CriticalTemperature)
Pc = float(component.CriticalPressure)
b = (0.086640*R*Tc)/Pc
return b
kijs = {}
if kij_input == None:
def calculate_kij(c1, c2, tune):
"""Calculate binary interaction parameter.
c1, c2 is the stream components, tune: 1.2 default
"""
Vc1 = float(c1.CriticalVolume) #Critical volume for substance 1
Vc2 = float(c2.CriticalVolume) #Critical volume for substance 2
k_ij = 1 - ( 2*sqrt( (Vc1**0.333)*(Vc2**0.333) )/(Vc1**0.333 + Vc2**0.333))**tune
return k_ij
if kij_tune != None and kij_tune <3 and kij_tune >0:
for i in range(0,len(cs)):
for j in range(0,len(cs)):
kijs[(i,j)] = calculate_kij(cs[i],cs[j], kij_tune)
else:
for i in range(0,len(cs)):
for j in range(0,len(cs)):
kijs[(i,j)] = calculate_kij(cs[i],cs[j], 1.2) #Default tune 1.2
else:
for i in range(0,len(cs)):
for j in range(0,len(cs)):
if kij_input.get((i,j),None):
if abs(kij_input.get((i,j))) < 0.3:
kijs[(i,j)] = kij_input[(i,j)]
else:
kijs[(i,j)] = 0
else:
kijs[(i,j)] = kijs[(j,i)]
def calculate_amix(y):
"""a value for mixture"""
amix = 0 #Placeholder for a_mixture values
for i in range(0,len(cs)) :
for j in range(0,len(cs)):
kij = kijs[(i,j)]
ai = calculate_a(cs[i]) #ai value
aj = calculate_a(cs[j]) #aj value
amix += y[i]*y[j]*sqrt(ai * aj)*(1-kij) #Update a_mix
return amix
def calculate_bmix(y):
""" b value for the mixture"""
bmix = 0
for i in range(0, len(cs)):
bmix += y[i]*calculate_b(cs[i])
return bmix
#amix = calculate_amix(y) # amix calculated value
#bmix = calculate_bmix(y) #bmix calculated value
def calculate_A(a,T):
"""Calculates A value for component or mixture. a or amix"""
A = a * P/(R**2)/(T**2.5) # A factor
return A
def calculate_B(b,T):
"""Calculates B value for a component or mixture."""
B = b * P/(R*T) # B factor
return B
def calculate_Z(A,B,T):
coefficients = [1, -1, A-B-B**2, -A*B] # PR Z-equation
root = np_roots(coefficients)
return max(root)# Return largest root for vapor phase calculation
amix = calculate_amix(y)
bmix = calculate_bmix(y)
A = calculate_A(calculate_amix(y),T)
B = calculate_B(calculate_bmix(y),T)
Z = calculate_Z(A,B,T)
# CALCULATE FUGACITY COEFFICIENT
#Z = calculate_Z(A,B)
def calculate_phi(i,T):
"""Vapor phase fugacity coefficient phi for a component.
:param comp: Input the substance/chemical"""
comp = cs[i]
a = calculate_a(comp)
b = calculate_b(comp)
Ai = calculate_A(a,T)
Bi = calculate_B(b,T)
phi = Bi/B*(Z-1) - log(Z-B)+ A/B*(Bi/B - 2*(Ai/A)**0.5)*log(1+B/Z)
return exp(phi)
def h_deperture(cs):
"""Departure enthalpy with PR EOS"""
h_dep = 0
for i in range(0,len(cs)):
temp = T + 0.001
der1 = log(calculate_phi(cs[i], temp))
temp = T - 0.001
der2 = log(calculate_phi(cs[i], temp))
h_dep += (-R*T**2)*(der1-der2)/0.002*y[i]
return h_dep
def ig_enthalpy(cs):
enthalpy = 0
for i in range(0,len(cs)):
enthalpy += dbcall.ig_enthalpy(cs[i].IdealGasHeatCapacityCp, T)*y[i]
return enthalpy/1000 #kJ/kmol
def s_deperture(cs):
"""Departure entropy with PR EOS"""
s_dep = 0
for i in range(0,len(cs)):
temp = T + 0.001
der1 = log(calculate_phi(cs[i], temp))
temp = T - 0.001
der2 = log(calculate_phi(cs[i], temp))
dphi = (der1-der2)/0.002
s_dep += (-R*(T*dphi + log(calculate_phi(cs[i],T))))*y[i]
return s_dep # J/mol.K
def ig_entropy(cs):
entropy = 0
P0 = 101325 # Reference pressure in Pa
for i in range(0,len(cs)):
#abs_entropy = float(cs[i].AbsEntropy)
entropy += (dbcall.ig_entropy(cs[i].IdealGasHeatCapacityCp, T) -R*1000*log(P/P0) -R*1000*log(y[i]) )*y[i]
return entropy/1000
def gibbs_energy():
return (ig_enthalpy(cs)+h_deperture(cs)) - (ig_entropy(cs)+s_deperture(cs))*T
phi = []
for i in range(len(cs)):
phi.append(calculate_phi(i,T))
return phi
class SRK ():
"""Soave-Redlich-Kwong EOS solver class"""
def vapor_phase(stream):
"""SRK equation of state solver for vapor phase.
:param stream: Stream object that contains chemicals.
"""
s = stream # Set stream variable
cs = stream.substances # Components array
T = s.get_temperature() # get system temperature Kelvin
P = s.get_pressure() #get system pressure Pascal
R = 8.314462 #Universal gas constant J/mol.K
y = s.get_fractions()[0] #Molar fractions array
#Calculate a(T) and b for each pure substance
def calculate_a(component,T):
"""Input a substance i.e cs[i]
Returns a value a = Pa.m^6/mol^2 """
w = float(component.AcentricityFactor) #acentric factor
Tc = float(component.CriticalTemperature)
Pc = float(component.CriticalPressure)
Tr = T/Tc #Reduced Temperature T is the global Temp value
kappa = 0.48 + 1.574*w - 0.176*w**2 #SRK kappa value
c = 0.42747*(R**2)*(Tc**2)/Pc #SRK multiply factor
alfaT = (1 + kappa*(1-Tr**0.5))**2 #SRK alfa(T) function
aT = c*alfaT # a(T) Equation
return aT
def calculate_b(component):
"""Input a substance cs[i]
Returns b value b = m^3/mol """
Tc = float(component.CriticalTemperature)
Pc = float(component.CriticalPressure)
b = (0.08664*R*Tc)/Pc
return b
def calculate_kij(c1, c2, tune):
"""Calculate binary interaction parameter.
c1, c2 is the stream components, tune: 1.2 default
"""
Vc1 = float(c1.CriticalVolume) #Critical volume for substance 1
Vc2 = float(c2.CriticalVolume) #Critical volume for substance 2
k_ij = 1 - ( 2*sqrt( (Vc1**0.333)*(Vc2**0.333) )/(Vc1**0.333 + Vc2**0.333))**tune
return k_ij
def calculate_amix(y,T):
"""a(T) value for mixture"""
amix = 0 #Placeholder for a_mixture values
for i in range(0,len(cs)) :
for j in range(0,len(cs)):
kij = calculate_kij(cs[i],cs[j], 1.2) #kij value calculation
ai = calculate_a(cs[i],T) #ai value
aj = calculate_a(cs[j],T) #aj value
amix += y[i]*y[j]*sqrt(ai * aj)*(1-kij) #Update a_mix
return amix
def calculate_bmix(y):
""" b value for the mixture"""
bmix = 0
for i in range(0, len(cs)):
bmix += y[i]*calculate_b(cs[i])
return bmix
#amix = calculate_amix(y) # amix calculated value
#bmix = calculate_bmix(y) #bmix calculated value
def calculate_A(a,T):
"""Calculates A value for component or mixture. a or amix"""
A = a * P/(R**2)/(T**2) # A factor
return A
def calculate_B(b,T):
"""Calculates B value for a component or mixture."""
B = b * P/(R*T) # B factor
return B
def calculate_Z(A,B,T):
A = calculate_A(calculate_amix(y,T),T)
B = calculate_B(calculate_bmix(y),T)
coefficients = [1, -1, A-B-B**2, -A*B] # PR Z-equation
return max(np_roots(coefficients))# Return largest root for vapor phase calculation
# CALCULATE FUGACITY COEFFICIENT
#Z = calculate_Z(A,B)
def calculate_phi(comp,T):
"""Vapor phase fugacity coefficient phi for a component.
:param comp: Input the substance/chemical"""
a = calculate_a(comp,T)
b = calculate_b(comp)
amix = calculate_amix(y,T)
bmix = calculate_bmix(y)
A = calculate_A(calculate_amix(y,T),T)
B = calculate_B(calculate_bmix(y),T)
Z = calculate_Z(A,B,T)
ak = 0 # ak sum value for inside function
for k in range(0,len(cs)):
ak += y[k]* (1-calculate_kij(cs[k],comp, 1.2))* sqrt(calculate_a(cs[k],T)*calculate_a(comp,T))
phi = b*(Z-1)/bmix - log(Z-B) - A/B*(2*ak/amix - b/bmix)*log((Z+B)/Z)
return exp(phi)
def h_deperture(cs):
"""Departure enthalpy with SRK EOS"""
h_dep = 0
for i in range(0,len(cs)):
temp = T + 0.001
der1 = log(calculate_phi(cs[i], temp))
temp = T - 0.001
der2 = log(calculate_phi(cs[i], temp))
h_dep += (-R*T**2)*(der1-der2)/0.002*y[i]
return h_dep
def ig_enthalpy(cs):
enthalpy = 0
for i in range(0,len(cs)):
enthalpy += dbcall.ig_enthalpy(cs[i].IdealGasHeatCapacityCp, T)*y[i]
return enthalpy/1000 #kJ/kmol
def s_deperture(cs):
"""Departure entropy with PR EOS"""
s_dep = 0
for i in range(0,len(cs)):
temp = T + 0.001
der1 = log(calculate_phi(cs[i], temp))
temp = T - 0.001
der2 = log(calculate_phi(cs[i], temp))
dphi = (der1-der2)/0.002
s_dep += (-R*(T*dphi + log(calculate_phi(cs[i],T))))*y[i]
return s_dep # J/mol.K
def ig_entropy(cs):
entropy = 0
P0 = 101325 # Reference pressure in Pa
for i in range(0,len(cs)):
#abs_entropy = float(cs[i].AbsEntropy)
entropy += (dbcall.ig_entropy(cs[i].IdealGasHeatCapacityCp, T) -R*1000*log(P/P0) -R*1000*log(y[i]) )*y[i]
return entropy/1000
def gibbs_energy(cs):
Pref = 101325 #Pa reference pressure
gibbs_dep = 0
gibbs_ig = ig_enthalpy(cs) - T*ig_entropy(cs)
for i in range(0,len(cs)):
gibbs_dep += R*T*log(calculate_phi(cs[i],T))*y[i] + R*T*log(P/Pref)
return gibbs_dep + gibbs_ig
def heat_capacity():
cp = 0
for i in range(0,len(cs)):
cp += dbcall.general(cs[i].IdealGasHeatCapacityCp, T)*y[i]
return cp
heatCp = heat_capacity()
enthalpy = ig_enthalpy(cs)+h_deperture(cs)
entropy = ig_entropy(cs)+s_deperture(cs)
gibbs = gibbs_energy(cs)
print("Res. Enthalpy",h_deperture(cs))
print("IG enthapy", ig_enthalpy(cs))
"""print("Entropy", entropy)
print("Gibbs", gibbs)
print("Heat capacity", heatCp)"""
#TODO bütün thermal ve fiziksel properties geri döndürülecek
def liquid_phase(stream):
"""SRK equation of state solver for vapor phase.
:param stream: Stream object that contains chemicals.
"""
s = stream # Set stream variable
cs = stream.substances # Components array
T = s.get_temperature() # get system temperature Kelvin
P = s.get_pressure() #get system pressure Pascal
R = 8.314462 #Universal gas constant J/mol.K
y = s.get_fractions()[0] #Molar fractions array
#Calculate a(T) and b for each pure substance
def calculate_a(component,T):
"""Input a substance i.e cs[i]
Returns a value a = Pa.m^6/mol^2 """
w = float(component.AcentricityFactor) #acentric factor
Tc = float(component.CriticalTemperature)
Pc = float(component.CriticalPressure)
Tr = T/Tc #Reduced Temperature T is the global Temp value
kappa = 0.48 + 1.574*w - 0.176*w**2 #SRK kappa value
c = 0.42747*(R**2)*(Tc**2)/Pc #SRK multiply factor
alfaT = (1 + kappa*(1-Tr**0.5))**2 #SRK alfa(T) function
aT = c*alfaT # a(T) Equation
return aT
def calculate_b(component):
"""Input a substance cs[i]
Returns b value b = m^3/mol """
Tc = float(component.CriticalTemperature)
Pc = float(component.CriticalPressure)
b = (0.08664*R*Tc)/Pc
return b
def calculate_kij(c1, c2, tune):
"""Calculate binary interaction parameter.
c1, c2 is the stream components, tune: 1.2 default
"""
Vc1 = float(c1.CriticalVolume) #Critical volume for substance 1
Vc2 = float(c2.CriticalVolume) #Critical volume for substance 2
k_ij = 1 - ( 2*sqrt( (Vc1**0.333)*(Vc2**0.333) )/(Vc1**0.333 + Vc2**0.333))**tune
return k_ij
def calculate_amix(y,T):
"""a(T) value for mixture"""
amix = 0 #Placeholder for a_mixture values
for i in range(0,len(cs)) :
for j in range(0,len(cs)):
kij = calculate_kij(cs[i],cs[j], 1.2) #kij value calculation
ai = calculate_a(cs[i],T) #ai value
aj = calculate_a(cs[j],T) #aj value
amix += y[i]*y[j]*sqrt(ai * aj)*(1-kij) #Update a_mix
return amix
def calculate_bmix(y):
""" b value for the mixture"""
bmix = 0
for i in range(0, len(cs)):
bmix += y[i]*calculate_b(cs[i])
return bmix
#amix = calculate_amix(y) # amix calculated value
#bmix = calculate_bmix(y) #bmix calculated value
def calculate_A(a,T):
"""Calculates A value for component or mixture. a or amix"""
A = a * P/(R**2)/(T**2) # A factor
return A
def calculate_B(b,T):
"""Calculates B value for a component or mixture."""
B = b * P/(R*T) # B factor
return B
def calculate_Z(T):
A = calculate_A(calculate_amix(y,T),T)
B = calculate_B(calculate_bmix(y),T)
coefficients = [1, -1, A-B-B**2, -A*B] # PR Z-equation
roots = np_roots(coefficients)
for root in roots:
if root > 0 and root < max(roots):
min_root = root
return min_root # Return smallest root for vapor phase calculation
# CALCULATE FUGACITY COEFFICIENT
#Z = calculate_Z(A,B)
def calculate_phi(comp,T):
"""Vapor phase fugacity coefficient phi for a component.
:param comp: Input the substance/chemical"""
a = calculate_a(comp,T)
b = calculate_b(comp)
amix = calculate_amix(y,T)
bmix = calculate_bmix(y)
A = calculate_A(calculate_amix(y,T),T)
B = calculate_B(calculate_bmix(y),T)
Z = calculate_Z(T)
ak = 0 # ak sum value for inside function
for k in range(0,len(cs)):
ak += y[k]* (1-calculate_kij(cs[k],comp, 1.2))* sqrt(calculate_a(cs[k],T)*calculate_a(comp,T))
phi = b*(Z-1)/bmix - log(Z-B) - A/B*(2*ak/amix - b/bmix)*log((Z+B)/Z)
return exp(phi)
def h_deperture(cs):
"""Departure enthalpy with PR EOS"""
h_dep = 0
for i in range(0,len(cs)):
temp = T + 0.001
der1 = log(calculate_phi(cs[i], temp))
temp = T - 0.001
der2 = log(calculate_phi(cs[i], temp))
h_dep += (-R*T**2)*(der1-der2)/0.002*y[i]
return h_dep
def ig_enthalpy(cs):
enthalpy = 0
for i in range(0,len(cs)):
enthalpy += dbcall.ig_enthalpy(cs[i].IdealGasHeatCapacityCp, T)*y[i]
return enthalpy/1000 #kJ/kmol
def s_deperture(cs):
"""Departure entropy with PR EOS"""
s_dep = 0
for i in range(0,len(cs)):
temp = T + 0.001
der1 = log(calculate_phi(cs[i], temp))
temp = T - 0.001
der2 = log(calculate_phi(cs[i], temp))
dphi = (der1-der2)/0.002
s_dep += (-R*(T*dphi + log(calculate_phi(cs[i],T))))*y[i]
return s_dep # J/mol.K
def ig_entropy(cs):
entropy = 0
P0 = 101325 # Reference pressure in Pa
for i in range(0,len(cs)):
#abs_entropy = float(cs[i].AbsEntropy)
entropy += (dbcall.ig_entropy(cs[i].IdealGasHeatCapacityCp, T) -R*1000*log(P/P0) -R*1000*log(y[i]) )*y[i]
return entropy/1000
def gibbs_energy():
return (ig_enthalpy(cs)+h_deperture(cs)) - (ig_entropy(cs)+s_deperture(cs))*T
def heat_capacity():
cp = 0
for i in range(0,len(cs)):
cp += dbcall.general(cs[i].LiquidHeatCapacityCp, T)*y[i]
return cp
heatCp = heat_capacity()
enthalpy = ig_enthalpy(cs) + h_deperture(cs)
entropy = ig_entropy(cs) + s_deperture(cs)
print("Enthalpy", enthalpy)
#print("Entropy", entropy)
#print("Heat Capacity", heatCp)
def phi_vapor(components, temp, pressure, fractions, kij_input = None, kij_tune=None):
"""Soave-Redlich-Kwong equation of state solver for vapor phase.
:param components: Array that contains chemicals.
:param kij_input: Dict object {(i,j):kij, (i,k):kik....}
:param kij_tune: Tuning parameter for kij equation. Leave as None if kij_input given.
"""
cs = components # Components array
T = temp # get system temperature Kelvin
P = pressure #get system pressure Pascal
R = 8.314462 #Universal gas constant J/mol.K
y = fractions #Molar fractions array
#Calculate a(T) and b for each pure substance
def calculate_a(component,T):
"""Input a substance i.e cs[i]
Returns a value a = Pa.m^6/mol^2 """
w = float(component.AcentricityFactor) #acentric factor
Tc = float(component.CriticalTemperature)
Pc = float(component.CriticalPressure)
Tr = T/Tc #Reduced Temperature T is the global Temp value
kappa = 0.48 + 1.574*w - 0.176*w**2 #SRK kappa value
c = 0.42747*(R**2)*(Tc**2)/Pc #SRK multiply factor
alfaT = (1 + kappa*(1-Tr**0.5))**2 #SRK alfa(T) function
aT = c*alfaT # a(T) Equation
return aT
def calculate_b(component):
"""Input a substance cs[i]
Returns b value b = m^3/mol """
Tc = float(component.CriticalTemperature)
Pc = float(component.CriticalPressure)
b = (0.08664*R*Tc)/Pc
return b
kijs = {}
if kij_input == None:
def calculate_kij(c1, c2, tune):
"""Calculate binary interaction parameter.
c1, c2 is the stream components, tune: 1.2 default
"""
Vc1 = float(c1.CriticalVolume) #Critical volume for substance 1
Vc2 = float(c2.CriticalVolume) #Critical volume for substance 2
k_ij = 1 - ( 2*sqrt( (Vc1**0.333)*(Vc2**0.333) )/(Vc1**0.333 + Vc2**0.333))**tune
return k_ij
if kij_tune != None and kij_tune <3 and kij_tune >0:
for i in range(0,len(cs)):
for j in range(0,len(cs)):
kijs[(i,j)] = calculate_kij(cs[i],cs[j], kij_tune)
else:
for i in range(0,len(cs)):
for j in range(0,len(cs)):
kijs[(i,j)] = calculate_kij(cs[i],cs[j], 1.2) #Default tune 1.2
else:
for i in range(0,len(cs)):
for j in range(0,len(cs)):
if kij_input.get((i,j),None):
if abs(kij_input.get((i,j))) < 0.3:
kijs[(i,j)] = kij_input[(i,j)]
else:
kijs[(i,j)] = 0
else:
kijs[(i,j)] = kijs[(j,i)]
def calculate_amix(y,T):
"""a(T) value for mixture"""
amix = 0 #Placeholder for a_mixture values
for i in range(0,len(cs)) :
for j in range(0,len(cs)):
kij = kijs[(i,j)] #kij value calculation
ai = calculate_a(cs[i],T) #ai value
aj = calculate_a(cs[j],T) #aj value
amix += y[i]*y[j]*sqrt(ai * aj)*(1-kij) #Update a_mix
return amix
def calculate_bmix(y):
""" b value for the mixture"""
bmix = 0
for i in range(0, len(cs)):
bmix += y[i]*calculate_b(cs[i])
return bmix
#amix = calculate_amix(y) # amix calculated value
#bmix = calculate_bmix(y) #bmix calculated value
def calculate_A(a,T):
"""Calculates A value for component or mixture. a or amix"""
A = a * P/(R**2)/(T**2) # A factor
return A
def calculate_B(b,T):
"""Calculates B value for a component or mixture."""
B = b * P/(R*T) # B factor
return B
def calculate_Z(A,B,T):
A = calculate_A(calculate_amix(y,T),T)
B = calculate_B(calculate_bmix(y),T)
coefficients = [1, -1, A-B-B**2, -A*B] # PR Z-equation
return max(np_roots(coefficients))# Return largest root for vapor phase calculation
amix = calculate_amix(y,T)
bmix = calculate_bmix(y)
A = calculate_A(calculate_amix(y,T),T)
B = calculate_B(calculate_bmix(y),T)
Z = calculate_Z(A,B,T)
# CALCULATE FUGACITY COEFFICIENT
#Z = calculate_Z(A,B)
def calculate_phi(i,T):
"""Vapor phase fugacity coefficient phi for a component.
:param comp: Input the substance/chemical"""
comp = cs[i]
a = calculate_a(comp,T)
b = calculate_b(comp)
ak = 0 # ak sum value for inside function
for k in range(0,len(cs)):
ak += y[k]* (1-kijs[(k,i)])* sqrt(calculate_a(cs[k],T)*calculate_a(comp,T))
phi = b*(Z-1)/bmix - log(Z-B) - A/B*(2*ak/amix - b/bmix)*log((Z+B)/Z)
return exp(phi)
fug_phi = []
for i in range(0,len(cs)):
fug_phi.append( calculate_phi(i,T) )
return fug_phi
def phi_liquid(components, temp, pressure, fractions, kij_input = None, kij_tune=None):
"""Soave-Redlich-Kwong equation of state solver for vapor phase.
:param components: Array that contains chemicals.
:param kij_input: Dict object {(i,j):kij, (i,k):kik....}
:param kij_tune: Tuning parameter for kij equation. Leave as None if kij_input given.
"""
cs = components # Components array
T = temp # get system temperature Kelvin
P = pressure #get system pressure Pascal
R = 8.314462 #Universal gas constant J/mol.K
y = fractions #Molar fractions array
#Calculate a(T) and b for each pure substance
def calculate_a(component,T):
"""Input a substance i.e cs[i]
Returns a value a = Pa.m^6/mol^2 """
w = float(component.AcentricityFactor) #acentric factor
Tc = float(component.CriticalTemperature)
Pc = float(component.CriticalPressure)
Tr = T/Tc #Reduced Temperature T is the global Temp value
kappa = 0.48 + 1.574*w - 0.176*w**2 #SRK kappa value
c = 0.42747*(R**2)*(Tc**2)/Pc #SRK multiply factor
alfaT = (1 + kappa*(1-Tr**0.5))**2 #SRK alfa(T) function
aT = c*alfaT # a(T) Equation
return aT
def calculate_b(component):
"""Input a substance cs[i]
Returns b value b = m^3/mol """
Tc = float(component.CriticalTemperature)
Pc = float(component.CriticalPressure)
b = (0.08664*R*Tc)/Pc
return b
kijs = {}
if kij_input == None:
def calculate_kij(c1, c2, tune):
"""Calculate binary interaction parameter.
c1, c2 is the stream components, tune: 1.2 default
"""
Vc1 = float(c1.CriticalVolume) #Critical volume for substance 1
Vc2 = float(c2.CriticalVolume) #Critical volume for substance 2
k_ij = 1 - ( 2*sqrt( (Vc1**0.333)*(Vc2**0.333) )/(Vc1**0.333 + Vc2**0.333))**tune
return k_ij
if kij_tune != None and kij_tune <3 and kij_tune >0:
for i in range(0,len(cs)):
for j in range(0,len(cs)):
kijs[(i,j)] = calculate_kij(cs[i],cs[j], kij_tune)
else:
for i in range(0,len(cs)):
for j in range(0,len(cs)):
kijs[(i,j)] = calculate_kij(cs[i],cs[j], 1.2) #Default tune 1.2
else:
for i in range(0,len(cs)):
for j in range(0,len(cs)):
if kij_input.get((i,j),None):
if abs(kij_input.get((i,j))) < 0.3:
kijs[(i,j)] = kij_input[(i,j)]
else:
kijs[(i,j)] = 0
else:
kijs[(i,j)] = kijs[(j,i)]
def calculate_amix(y,T):
"""a(T) value for mixture"""
amix = 0 #Placeholder for a_mixture values
for i in range(0,len(cs)) :
for j in range(0,len(cs)):
kij = kijs[(i,j)] #kij value calculation
ai = calculate_a(cs[i],T) #ai value
aj = calculate_a(cs[j],T) #aj value
amix += y[i]*y[j]*sqrt(ai * aj)*(1-kij) #Update a_mix
return amix
def calculate_bmix(y):
""" b value for the mixture"""
bmix = 0
for i in range(0, len(cs)):
bmix += y[i]*calculate_b(cs[i])
return bmix
#amix = calculate_amix(y) # amix calculated value
#bmix = calculate_bmix(y) #bmix calculated value
def calculate_A(a,T):
"""Calculates A value for component or mixture. a or amix"""
A = a * P/(R**2)/(T**2) # A factor
return A
def calculate_B(b,T):
"""Calculates B value for a component or mixture."""
B = b * P/(R*T) # B factor
return B
def calculate_Z(A,B,T):
A = calculate_A(calculate_amix(y,T),T)
B = calculate_B(calculate_bmix(y),T)
coefficients = [1, -1, A-B-B**2, -A*B] # PR Z-equation
roots = np_roots(coefficients)
for root in roots:
if root > 0 and root < max(roots):
min_root = root
return min_root # Return smallest root for vapor phase calculation
amix = calculate_amix(y,T)
bmix = calculate_bmix(y)
A = calculate_A(calculate_amix(y,T),T)
B = calculate_B(calculate_bmix(y),T)
Z = calculate_Z(A,B,T)
# CALCULATE FUGACITY COEFFICIENT
#Z = calculate_Z(A,B)
def calculate_phi(i,T):
"""Vapor phase fugacity coefficient phi for a component.
:param comp: Input the substance/chemical"""
comp = cs[i]
a = calculate_a(comp,T)
b = calculate_b(comp)
ak = 0 # ak sum value for inside function
for k in range(0,len(cs)):
ak += y[k]* (1-kijs[(k,i)])* sqrt(calculate_a(cs[k],T)*calculate_a(comp,T))
phi = b*(Z-1)/bmix - log(Z-B) - A/B*(2*ak/amix - b/bmix)*log((Z+B)/Z)
return exp(phi)
fug_phi = []
for i in range(0,len(cs)):
fug_phi.append( calculate_phi(i,T) )
return fug_phi
class Ideal():
"""Ideal property method"""
def phi_vapor(components, temp, pressure, fractions, kij_input = None, kij_tune=None):
phi = []
for i in range(0, len(components)):
phi.append(1)
return phi
class LeeKesler():
"""Lee-Kesler methods"""
def heat_properties(component, T, P):
"""T: temperature in K, P pressure in Pa
Returns enthalpy, entropy, heat capacity"""
#Parameters s: simple fluid, r: reference fluid
b1_s = 0.1181193
b1_r = 0.2026579
b2_s = 0.265728
b2_r = 0.331511
b3_s = 0.154790
b3_r = 0.027655
b4_s = 0.030323
b4_r = 0.203488
c1_s = 0.0236744
c1_r = 0.0313385
c2_s = 0.0186984
c2_r = 0.0503618
c3_s = 0
c3_r = 0.016901
c4_s = 0.042724
c4_r = 0.041577
d1_s = 0.155488e-4
d1_r = 0.48736e-4
d2_s = 0.623689e-4
d2_r = 0.0740336e-4
beta_s = 0.65392
beta_r = 1.226
gama_s = 0.060167
gama_r = 0.03754
w_ref = 0.3978
R = 8.3145
Tc = float(component.CriticalTemperature)
Pc = float(component.CriticalPressure)
w = float(component.AcentricityFactor)
Tr = T/Tc
Pr = P/Pc
def Vr_simple():
B = b1_s - b2_s/Tr - b3_s/Tr**2 - b4_s/Tr**3
C = c1_s - c2_s/Tr + c3_s/Tr**3
D = d1_s + d2_s/Tr
Vr = 0.5*Tr/Pr # Initial guess for Vr value. Assume Z = 0.5
eps = 1e-4 # Tolerance
counter = 0
while True:
def f(Vr):
func = 1 + B/Vr + C/Vr**2 + D/Vr**5 + c4_s/(Tr**3*(Vr**2))*(beta_s + gama_s/Vr**2)*exp(-gama_s/Vr**2) - Pr*Vr/Tr
return func
def df(Vr):
dfunc = (f(Vr+0.001) - f(Vr-0.001))/0.002
return dfunc
Vr_new = Vr - f(Vr)/df(Vr)
if abs((Vr_new-Vr)/Vr) < eps:
break
counter += 1
Vr = Vr_new
if counter > 50:
raise Exception("Vr simple couldn't converged in 50 loops!")
break
return Vr_new
def Vr_ref():
B = b1_r - b2_r/Tr - b3_r/Tr**2 - b4_r/Tr**3
C = c1_r - c2_r/Tr + c3_r/Tr**3
D = d1_r + d2_r/Tr
Vr = 0.5*Tr/Pr # Initial guess for Vr value. Assume Z = 0.5
eps = 1e-4 # Tolerance
counter = 0
while True:
def f(Vr):
func = 1 + B/Vr + C/Vr**2 + D/Vr**5 + c4_r/(Tr**3*(Vr**2))*(beta_r + gama_r/Vr**2)*exp(-gama_r/Vr**2) - Pr*Vr/Tr
return func
def df(Vr):
dfunc = (f(Vr+0.001) - f(Vr-0.001))/0.002
return dfunc
Vr_new = Vr - f(Vr)/df(Vr)
if abs((Vr_new-Vr)/Vr) < eps:
break
counter += 1
Vr = Vr_new
if counter > 100:
raise Exception("Vr reference couldn't converged in 100 loops!")
break
return Vr_new
Vr_s = Vr_simple()
Vr_r = Vr_ref()
Z_simple = Pr*Vr_s/Tr
Z_reference = Pr*Vr_r/Tr
E_simple = c4_s/(2*Tr**3*gama_s)*( beta_s +1 -exp(-gama_s/Vr_s**2)*(beta_s+1+gama_s/Vr_s**2) )
E_ref = c4_r/(2*Tr**3*gama_r)*( beta_r +1 -exp(-gama_r/Vr_r**2)*(beta_r+1+gama_r/Vr_r**2) )
H_simple = Tr*( Z_simple-1 -(b2_s+2*b3_s/Tr+3*b4_s/Tr**2)/Tr/Vr_s- (c2_s-3*c3_s/Tr**2)/2/Tr/Vr_s**2+ d2_s/5/Tr/Vr_s**2 +3*E_simple )
H_ref = Tr*( Z_reference-1 -(b2_r+2*b3_r/Tr+3*b4_r/Tr**2)/Tr/Vr_r- (c2_r-3*c3_r/Tr**2)/2/Tr/Vr_r**2+ d2_r/5/Tr/Vr_r**2 +3*E_ref )
H_departure = H_simple + w/w_ref *(H_ref - H_simple)
S_simple = log(Z_simple)- (b2_s+b3_s/Tr**2+2*b4_s/Tr**3)/Vr_s -(c1_s-2*b4_s/Tr**3)/2/Vr_s**2+ d1_s/5/Vr_s**5 +2*E_simple -log(P/101325)
S_ref = log(Z_reference)- (b2_r+b3_r/Tr**2+2*b4_r/Tr**3)/Vr_r -(c1_r-2*b4_r/Tr**3)/2/Vr_r**2+ d1_r/5/Vr_r**5 +2*E_ref -log(P/101325)
S_departure = S_simple + w/w_ref *(S_ref - S_simple)
Cv_simple = 2*(b3_s+3*b4_s/Tr)/Vr_s*Tr**2- 3*c3_s/Tr**3/Vr_s**2 -6*E_simple
Cv_ref = 2*(b3_r+3*b4_r/Tr)/Vr_r*Tr**2- 3*c3_r/Tr**3/Vr_r**2 -6*E_ref
Cv_departure = Cv_simple + w/w_ref*(Cv_ref - Cv_simple)
Cp_departure = Cv_departure -1
return H_departure*R*Tc, S_departure*R, Cv_departure*R, Cp_departure*R
| 41.981343
| 144
| 0.494204
| 10,594
| 78,757
| 3.584576
| 0.029734
| 0.011218
| 0.024648
| 0.033891
| 0.946491
| 0.940408
| 0.939592
| 0.937327
| 0.93422
| 0.933509
| 0
| 0.048635
| 0.384918
| 78,757
| 1,875
| 145
| 42.003733
| 0.735292
| 0.219904
| 0
| 0.929062
| 0
| 0
| 0.002041
| 0
| 0
| 0
| 0
| 0.0016
| 0
| 1
| 0.129672
| false
| 0
| 0.002288
| 0.005339
| 0.261632
| 0.003051
| 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
|
4dc8ca8b2cb3b8d2bc9c94f0570055b6cc2f879a
| 30,781
|
py
|
Python
|
model/_patched_UNet_trainer.py
|
yasahi-hpc/AMRNet
|
5858d464bdfe409a5ab50889104768dda3c70508
|
[
"MIT"
] | null | null | null |
model/_patched_UNet_trainer.py
|
yasahi-hpc/AMRNet
|
5858d464bdfe409a5ab50889104768dda3c70508
|
[
"MIT"
] | null | null | null |
model/_patched_UNet_trainer.py
|
yasahi-hpc/AMRNet
|
5858d464bdfe409a5ab50889104768dda3c70508
|
[
"MIT"
] | null | null | null |
from ._base_trainer import _BaseTrainer, MeasureMemory
import pathlib
import torch.multiprocessing as mp
import torch
from torch import nn
import horovod.torch as hvd
import numpy as np
import xarray as xr
import itertools
from .flow_dataset import FlowDataset
from .unet import UNet
from .visualization import save_flows
from .converter import save_as_netcdf
class PatchedUNetTrainer(_BaseTrainer):
def __init__(self, **kwargs):
super().__init__(**kwargs)
self.model_name = 'patched_UNet'
def _initialize(self, **kwargs):
# Horovod: Initialize library
hvd.init()
torch.manual_seed(self.seed)
if self.device == 'cuda':
# Horovod: Pin GPU to be used to process local rank (one GPU per process)
torch.cuda.set_device(hvd.local_rank())
torch.cuda.manual_seed(self.seed)
# Horovod: limit # of CPU threads to be used per worker.
torch.set_num_threads(1)
self.rank, self.size = hvd.rank(), hvd.size()
self.master = self.rank == 0
super()._prepare_dirs()
self.train_loader, self.val_loader, self.test_loader = super()._dataloaders()
self.model0, self.model1, self.model2 = self._get_model(self.run_number)
self.model0 = self.model0.to(self.device)
self.model1 = self.model1.to(self.device)
self.model2 = self.model2.to(self.device)
## Optimizers
# By default, Adasum doesn't need scaling up leraning rate
lr_scaler = hvd.size() if not self.use_adasum else 1
if self.device == 'cuda' and self.use_adasum and hvd.nccl_built():
lr_scaler = hvd.local_size()
lr = self.lr * lr_scaler
self.opt0 = torch.optim.Adam(self.model0.parameters(), lr=lr, betas=(self.beta_1, self.beta_2))
self.opt1 = torch.optim.Adam(self.model1.parameters(), lr=lr, betas=(self.beta_1, self.beta_2))
self.opt2 = torch.optim.Adam(self.model2.parameters(), lr=lr, betas=(self.beta_1, self.beta_2))
# Horovod: broadcast parameters & optimizer state.
hvd.broadcast_parameters(self.model0.state_dict(), root_rank=0)
hvd.broadcast_parameters(self.model1.state_dict(), root_rank=0)
hvd.broadcast_parameters(self.model2.state_dict(), root_rank=0)
hvd.broadcast_optimizer_state(self.opt0, root_rank=0)
hvd.broadcast_optimizer_state(self.opt1, root_rank=0)
hvd.broadcast_optimizer_state(self.opt2, root_rank=0)
# Horovod: (optional) compression algorithm.
compression = hvd.Compression.fp16 if self.fp16_allreduce else hvd.Compression.none
# Horovod: wrap optimizer with DistributedOptimizer.
self.opt0 = hvd.DistributedOptimizer(self.opt0,
named_parameters=self.model0.named_parameters(),
compression=compression,
op=hvd.Adasum if self.use_adasum else hvd.Average,
gradient_predivide_factor=self.gradient_predivide_factor)
self.opt1 = hvd.DistributedOptimizer(self.opt1,
named_parameters=self.model1.named_parameters(),
compression=compression,
op=hvd.Adasum if self.use_adasum else hvd.Average,
gradient_predivide_factor=self.gradient_predivide_factor)
self.opt2 = hvd.DistributedOptimizer(self.opt2,
named_parameters=self.model2.named_parameters(),
compression=compression,
op=hvd.Adasum if self.use_adasum else hvd.Average,
gradient_predivide_factor=self.gradient_predivide_factor)
self.criterion = nn.L1Loss() if self.loss_type == 'mae_loss' else nn.MSELoss(reduction='mean')
# Set normalization coefficients
super()._set_normalization_coefs(shape=[1,1,1,-1,1,1])
# Memory measurement
self.memory = MeasureMemory(device=self.device)
# Synchronize
if self.device == 'cuda':
torch.cuda.synchronize() # Waits for everything to finish running
def _initialize_for_inference(self, **kwargs):
# Set output directory
super()._prepare_dirs()
self.train_loader, self.val_loader, self.test_loader = super()._dataloaders()
self.model0, self.model1, self.model2 = self._get_model(self.run_number)
self.model0 = self.model0.to(self.device)
self.model1 = self.model1.to(self.device)
self.model2 = self.model2.to(self.device)
# Set normalization coefficients
super()._set_normalization_coefs(shape=[1,1,1,-1,1,1])
# Memory measurement
self.memory = MeasureMemory(device=self.device)
# Synchronize
if self.device == 'cuda':
torch.cuda.synchronize() # Waits for everything to finish running
def _get_model(self, run_number):
model0 = UNet(dim=self.dim, padding_mode=self.padding_mode)
model1 = UNet(dim=self.dim, padding_mode=self.padding_mode)
model2 = UNet(dim=self.dim, padding_mode=self.padding_mode)
if self.inference_mode:
self.epoch_start = self.load_nth_state_file
# To load the state file for inference
rank = 0
model0.load_state_dict( torch.load(f'{self.state_file_dir}/model0_{rank}_{self.epoch_start:03}.pt') )
model1.load_state_dict( torch.load(f'{self.state_file_dir}/model1_{rank}_{self.epoch_start:03}.pt') )
model2.load_state_dict( torch.load(f'{self.state_file_dir}/model2_{rank}_{self.epoch_start:03}.pt') )
else:
self.epoch_start = 0
if run_number > 0:
if self.master:
print(f'restart, {run_number}')
# Load model states from previous run
prev_run_number = run_number - 1
prev_result_filename = self.out_dir / f'flow_cnn_result_rank{self.rank}_rst{prev_run_number:03}.h5'
if not prev_result_filename.is_file():
raise IOError(f'prev_result_filename')
ds_prev = xr.open_dataset(prev_result_filename, engine='netcdf4')
# To load the previous files
epoch_end = ds_prev.attrs['epoch_end']
model0.load_state_dict( torch.load(f'{self.model_dir}/model0_{self.rank}_{epoch_end:03}.pt') )
model1.load_state_dict( torch.load(f'{self.model_dir}/model1_{self.rank}_{epoch_end:03}.pt') )
model2.load_state_dict( torch.load(f'{self.model_dir}/model2_{self.rank}_{epoch_end:03}.pt') )
# Next epoch should start from epoch_end + 1
self.epoch_start = int(epoch_end) + 1
return model0, model1, model2
def _save_models(self, total_epoch):
torch.save(self.model0.state_dict(), f'{self.model_dir}/model0_{self.rank}_{total_epoch:03}.pt')
torch.save(self.model1.state_dict(), f'{self.model_dir}/model1_{self.rank}_{total_epoch:03}.pt')
torch.save(self.model2.state_dict(), f'{self.model_dir}/model2_{self.rank}_{total_epoch:03}.pt')
########### Main scripts
def _train(self, data_loader, epoch):
name = 'train'
self.model0.train()
self.model1.train()
self.model2.train()
log_loss = [0] * 3
nb_samples = len(data_loader.sampler)
for i, (sdf, flows) in enumerate(data_loader):
# Load data and meta-data
sdf_Lv0, sdf_Lv1, sdf_Lv2 = sdf
flows_Lv0, flows_Lv1, flows_Lv2 = flows
_, patch_y_Lv1, patch_x_Lv1, *_ = sdf_Lv1.shape
_, patch_y_Lv2, patch_x_Lv2, *_ = sdf_Lv2.shape
# Number of sub patches in each level
nb_patches_Lv2 = patch_y_Lv2 * patch_x_Lv2
nb_patches_Lv1 = patch_y_Lv1 * patch_x_Lv1
# Sub patch inside the Lv1 patch
patch_y_Lv2 = patch_y_Lv2 // patch_y_Lv1
patch_x_Lv2 = patch_x_Lv2 // patch_x_Lv1
batch_len = len(sdf_Lv0)
## To device
self.timer.start()
sdf_Lv0, sdf_Lv1, sdf_Lv2 = sdf_Lv0.to(self.device), sdf_Lv1.to(self.device), sdf_Lv2.to(self.device)
flows_Lv0, flows_Lv1, flows_Lv2 = flows_Lv0.to(self.device), flows_Lv1.to(self.device), flows_Lv2.to(self.device)
self.timer.stop()
self.elapsed_times[f'MemcpyH2D_{name}'].append(self.timer.elapsed_seconds())
# Keep sdfs on CPUs
sdf_Lv0_cpu = sdf_Lv0.to('cpu')
sdf_Lv1_cpu = sdf_Lv1.to('cpu')
sdf_Lv2_cpu = sdf_Lv2.to('cpu')
## Normalization or standardization
sdf_Lv0 = super()._preprocess(sdf_Lv0, self.sdf_Lv0_var0, self.sdf_Lv0_var1)
sdf_Lv1 = super()._preprocess(sdf_Lv1, self.sdf_Lv1_var0, self.sdf_Lv1_var1)
sdf_Lv2 = super()._preprocess(sdf_Lv2, self.sdf_Lv2_var0, self.sdf_Lv2_var1)
flows_Lv0 = super()._preprocess(flows_Lv0, self.flows_Lv0_var0, self.flows_Lv0_var1)
flows_Lv1 = super()._preprocess(flows_Lv1, self.flows_Lv1_var0, self.flows_Lv1_var1)
flows_Lv2 = super()._preprocess(flows_Lv2, self.flows_Lv2_var0, self.flows_Lv2_var1)
# Objectives: construct pred_flows_Lv0-Lv2
pred_flows_Lv0_ = torch.zeros_like(flows_Lv0, device='cpu')
pred_flows_Lv1_ = torch.zeros_like(flows_Lv1, device='cpu')
pred_flows_Lv2_ = torch.zeros_like(flows_Lv2, device='cpu')
#### Train Lv0
self.timer.start()
sdf_Lv0_ = sdf_Lv0[:, 0, 0]
flows_Lv0_ = flows_Lv0[:, 0, 0]
### Update weights
pred_flows_Lv0 = self.model0(sdf_Lv0_)
loss_mae = self.criterion(pred_flows_Lv0, flows_Lv0_)
self.opt0.zero_grad()
loss_mae.backward()
self.opt0.step()
### Log losses
level = 0
log_loss[level] += loss_mae.item() / nb_samples
### Destandardization and save
pred_flows_Lv0 = super()._postprocess(pred_flows_Lv0, self.flows_Lv0_var0, self.flows_Lv0_var1)
pred_flows_Lv0_[:, 0, 0, :, :, :] = pred_flows_Lv0.detach().cpu()
self.timer.stop()
self.elapsed_times[f'{name}_Lv{level}'].append(self.timer.elapsed_seconds())
### Train Lv1
for iy_Lv1, ix_Lv1 in itertools.product(range(patch_y_Lv1), range(patch_x_Lv1)):
self.timer.start()
sdf_Lv1_ = sdf_Lv1[:, iy_Lv1, ix_Lv1]
flows_Lv1_ = flows_Lv1[:, iy_Lv1, ix_Lv1]
### Update weights
pred_flows_Lv1 = self.model1(sdf_Lv1_)
loss_mae = self.criterion(pred_flows_Lv1, flows_Lv1_)
self.opt1.zero_grad()
loss_mae.backward()
self.opt1.step()
### Log losses
level = 1
log_loss[level] += loss_mae.item() / (nb_samples * nb_patches_Lv1)
pred_flows_Lv1 = super()._postprocess(pred_flows_Lv1, self.flows_Lv1_var0, self.flows_Lv1_var1)
pred_flows_Lv1_[:, iy_Lv1, ix_Lv1, :, :, :] = pred_flows_Lv1.detach().cpu()
self.timer.stop()
self.elapsed_times[f'{name}_Lv{level}'].append(self.timer.elapsed_seconds())
### Train Lv2
for iy_Lv2, ix_Lv2 in itertools.product(range(patch_y_Lv2), range(patch_x_Lv2)):
self.timer.start()
global_ix_Lv2 = ix_Lv2 + (ix_Lv1 * patch_x_Lv2)
global_iy_Lv2 = iy_Lv2 + (iy_Lv1 * patch_y_Lv2)
sdf_Lv2_ = sdf_Lv2[:, global_iy_Lv2, global_ix_Lv2]
flows_Lv2_ = flows_Lv2[:, global_iy_Lv2, global_ix_Lv2]
### Update generator weights
pred_flows_Lv2 = self.model2(sdf_Lv2_)
loss_mae = self.criterion(pred_flows_Lv2, flows_Lv2_)
self.opt2.zero_grad()
### Measure memory usage before backward
self.memory.measure()
if 'reserved' not in self.memory_consumption:
self.memory_consumption['reserved'] = self.memory.reserved()
self.memory_consumption['alloc'] = self.memory.alloc()
loss_mae.backward()
self.opt2.step()
### Log losses
level = 2
log_loss[level] += loss_mae.item() / (nb_samples * nb_patches_Lv2)
### Destandardization and save
pred_flows_Lv2 = super()._postprocess(pred_flows_Lv2, self.flows_Lv2_var0, self.flows_Lv2_var1)
pred_flows_Lv2_[:, global_iy_Lv2, global_ix_Lv2, :, :, :] = pred_flows_Lv2.detach().cpu()
self.timer.stop()
self.elapsed_times[f'{name}_Lv{level}'].append(self.timer.elapsed_seconds())
# Saving figures
if i == 0:
self.timer.start()
flows_Lv0 = super()._postprocess(flows_Lv0, self.flows_Lv0_var0, self.flows_Lv0_var1)
flows_Lv1 = super()._postprocess(flows_Lv1, self.flows_Lv1_var0, self.flows_Lv1_var1)
flows_Lv2 = super()._postprocess(flows_Lv2, self.flows_Lv2_var0, self.flows_Lv2_var1)
### Zeros inside objects
pred_flows_Lv0_ = super()._zeros_inside_objects(pred_flows_Lv0_, sdf_Lv0_cpu)
pred_flows_Lv1_ = super()._zeros_inside_objects(pred_flows_Lv1_, sdf_Lv1_cpu)
pred_flows_Lv2_ = super()._zeros_inside_objects(pred_flows_Lv2_, sdf_Lv2_cpu)
### Lv0 figures
level = 0
save_flows(flows_Lv0, name=name, img_dir = self.sub_img_dir, type_name = 'ref', level = level, epoch=epoch)
save_flows(pred_flows_Lv0_, name=name, img_dir = self.sub_img_dir, type_name = 'pred', level = level, epoch=epoch)
save_flows(pred_flows_Lv0_-flows_Lv0.cpu(), name=name, img_dir = self.sub_img_dir, type_name = 'error', level = level, epoch=epoch)
### Lv1 figures
level = 1
save_flows(flows_Lv1, name=name, img_dir = self.sub_img_dir, type_name = 'ref', level = level, epoch=epoch)
save_flows(pred_flows_Lv1_, name=name, img_dir = self.sub_img_dir, type_name = 'pred', level = level, epoch=epoch)
save_flows(pred_flows_Lv1_-flows_Lv1.cpu(), name=name, img_dir = self.sub_img_dir, type_name = 'error', level = level, epoch=epoch)
### Lv2 figures
level = 2
save_flows(flows_Lv2, name=name, img_dir = self.sub_img_dir, type_name = 'ref', level = level, epoch=epoch)
save_flows(pred_flows_Lv2_, name=name, img_dir = self.sub_img_dir, type_name = 'pred', level = level, epoch=epoch)
save_flows(pred_flows_Lv2_-flows_Lv2.cpu(), name=name, img_dir = self.sub_img_dir, type_name = 'error', level = level, epoch=epoch)
self.timer.stop()
self.elapsed_times[f'save_figs_{name}'].append(self.timer.elapsed_seconds())
# Horovod: average metric values across workers.
losses = {}
for level in range(3):
losses[f'log_loss_{name}_{self.loss_type}_Lv{level}'] = log_loss[level]
for key, value in losses.items():
loss = super()._metric_average(value, key)
self.loss_dict[key].append(loss)
def _validation(self, data_loader, epoch, name):
self.model0.eval()
self.model1.eval()
self.model2.eval()
log_loss = [0] * 3
nb_samples = len(data_loader.sampler)
for i, (sdf, flows) in enumerate(data_loader):
# Load data and meta-data
sdf_Lv0, sdf_Lv1, sdf_Lv2 = sdf
flows_Lv0, flows_Lv1, flows_Lv2 = flows
_, patch_y_Lv1, patch_x_Lv1, *_ = sdf_Lv1.shape
_, patch_y_Lv2, patch_x_Lv2, *_ = sdf_Lv2.shape
# Number of sub patches in each level
nb_patches_Lv2 = patch_y_Lv2 * patch_x_Lv2
nb_patches_Lv1 = patch_y_Lv1 * patch_x_Lv1
# Sub patch inside the Lv1 patch
patch_y_Lv2 = patch_y_Lv2 // patch_y_Lv1
patch_x_Lv2 = patch_x_Lv2 // patch_x_Lv1
batch_len = len(sdf_Lv0)
## To device
self.timer.start()
sdf_Lv0, sdf_Lv1, sdf_Lv2 = sdf_Lv0.to(self.device), sdf_Lv1.to(self.device), sdf_Lv2.to(self.device)
flows_Lv0, flows_Lv1, flows_Lv2 = flows_Lv0.to(self.device), flows_Lv1.to(self.device), flows_Lv2.to(self.device)
self.timer.stop()
self.elapsed_times[f'MemcpyH2D_{name}'].append(self.timer.elapsed_seconds())
# Keep sdfs on CPUs
sdf_Lv0_cpu = sdf_Lv0.to('cpu')
sdf_Lv1_cpu = sdf_Lv1.to('cpu')
sdf_Lv2_cpu = sdf_Lv2.to('cpu')
## Normalization or standardization
sdf_Lv0 = super()._preprocess(sdf_Lv0, self.sdf_Lv0_var0, self.sdf_Lv0_var1)
sdf_Lv1 = super()._preprocess(sdf_Lv1, self.sdf_Lv1_var0, self.sdf_Lv1_var1)
sdf_Lv2 = super()._preprocess(sdf_Lv2, self.sdf_Lv2_var0, self.sdf_Lv2_var1)
flows_Lv0 = super()._preprocess(flows_Lv0, self.flows_Lv0_var0, self.flows_Lv0_var1)
flows_Lv1 = super()._preprocess(flows_Lv1, self.flows_Lv1_var0, self.flows_Lv1_var1)
flows_Lv2 = super()._preprocess(flows_Lv2, self.flows_Lv2_var0, self.flows_Lv2_var1)
# Objectives: construct pred_flows_Lv0-Lv2
pred_flows_Lv0_ = torch.zeros_like(flows_Lv0, device='cpu')
pred_flows_Lv1_ = torch.zeros_like(flows_Lv1, device='cpu')
pred_flows_Lv2_ = torch.zeros_like(flows_Lv2, device='cpu')
#### Train Lv0
self.timer.start()
sdf_Lv0_ = sdf_Lv0[:, 0, 0]
flows_Lv0_ = flows_Lv0[:, 0, 0]
### Update weights
pred_flows_Lv0 = self.model0(sdf_Lv0_)
loss_mae = self.criterion(pred_flows_Lv0, flows_Lv0_)
### Log losses
level = 0
log_loss[level] += loss_mae.item() / nb_samples
### Destandardization and save
pred_flows_Lv0 = super()._postprocess(pred_flows_Lv0, self.flows_Lv0_var0, self.flows_Lv0_var1)
pred_flows_Lv0_[:, 0, 0, :, :, :] = pred_flows_Lv0.detach().cpu()
self.timer.stop()
self.elapsed_times[f'{name}_Lv{level}'].append(self.timer.elapsed_seconds())
### Train Lv1
for iy_Lv1, ix_Lv1 in itertools.product(range(patch_y_Lv1), range(patch_x_Lv1)):
self.timer.start()
sdf_Lv1_ = sdf_Lv1[:, iy_Lv1, ix_Lv1]
flows_Lv1_ = flows_Lv1[:, iy_Lv1, ix_Lv1]
### Update weights
pred_flows_Lv1 = self.model1(sdf_Lv1_)
loss_mae = self.criterion(pred_flows_Lv1, flows_Lv1_)
### Log losses
level = 1
log_loss[level] += loss_mae.item() / (nb_samples * nb_patches_Lv1)
pred_flows_Lv1 = super()._postprocess(pred_flows_Lv1, self.flows_Lv1_var0, self.flows_Lv1_var1)
pred_flows_Lv1_[:, iy_Lv1, ix_Lv1, :, :, :] = pred_flows_Lv1.detach().cpu()
self.timer.stop()
self.elapsed_times[f'{name}_Lv{level}'].append(self.timer.elapsed_seconds())
### Train Lv2
for iy_Lv2, ix_Lv2 in itertools.product(range(patch_y_Lv2), range(patch_x_Lv2)):
self.timer.start()
global_ix_Lv2 = ix_Lv2 + (ix_Lv1 * patch_x_Lv2)
global_iy_Lv2 = iy_Lv2 + (iy_Lv1 * patch_y_Lv2)
sdf_Lv2_ = sdf_Lv2[:, global_iy_Lv2, global_ix_Lv2]
flows_Lv2_ = flows_Lv2[:, global_iy_Lv2, global_ix_Lv2]
### Update generator weights
pred_flows_Lv2 = self.model2(sdf_Lv2_)
loss_mae = self.criterion(pred_flows_Lv2, flows_Lv2_)
### Log losses
level = 2
log_loss[level] += loss_mae.item() / (nb_samples * nb_patches_Lv2)
### Destandardization and save
pred_flows_Lv2 = super()._postprocess(pred_flows_Lv2, self.flows_Lv2_var0, self.flows_Lv2_var1)
pred_flows_Lv2_[:, global_iy_Lv2, global_ix_Lv2, :, :, :] = pred_flows_Lv2.detach().cpu()
self.timer.stop()
self.elapsed_times[f'{name}_Lv{level}'].append(self.timer.elapsed_seconds())
# Saving figures
if i == 0:
self.timer.start()
flows_Lv0 = super()._postprocess(flows_Lv0, self.flows_Lv0_var0, self.flows_Lv0_var1)
flows_Lv1 = super()._postprocess(flows_Lv1, self.flows_Lv1_var0, self.flows_Lv1_var1)
flows_Lv2 = super()._postprocess(flows_Lv2, self.flows_Lv2_var0, self.flows_Lv2_var1)
### Zeros inside objects
pred_flows_Lv0_ = super()._zeros_inside_objects(pred_flows_Lv0_, sdf_Lv0_cpu)
pred_flows_Lv1_ = super()._zeros_inside_objects(pred_flows_Lv1_, sdf_Lv1_cpu)
pred_flows_Lv2_ = super()._zeros_inside_objects(pred_flows_Lv2_, sdf_Lv2_cpu)
### Lv0 figures
level = 0
save_flows(flows_Lv0, name=name, img_dir = self.sub_img_dir, type_name = 'ref', level = level, epoch=epoch)
save_flows(pred_flows_Lv0_, name=name, img_dir = self.sub_img_dir, type_name = 'pred', level = level, epoch=epoch)
save_flows(pred_flows_Lv0_-flows_Lv0.cpu(), name=name, img_dir = self.sub_img_dir, type_name = 'error', level = level, epoch=epoch)
### Lv1 figures
level = 1
save_flows(flows_Lv1, name=name, img_dir = self.sub_img_dir, type_name = 'ref', level = level, epoch=epoch)
save_flows(pred_flows_Lv1_, name=name, img_dir = self.sub_img_dir, type_name = 'pred', level = level, epoch=epoch)
save_flows(pred_flows_Lv1_-flows_Lv1.cpu(), name=name, img_dir = self.sub_img_dir, type_name = 'error', level = level, epoch=epoch)
### Lv2 figures
level = 2
save_flows(flows_Lv2, name=name, img_dir = self.sub_img_dir, type_name = 'ref', level = level, epoch=epoch)
save_flows(pred_flows_Lv2_, name=name, img_dir = self.sub_img_dir, type_name = 'pred', level = level, epoch=epoch)
save_flows(pred_flows_Lv2_-flows_Lv2.cpu(), name=name, img_dir = self.sub_img_dir, type_name = 'error', level = level, epoch=epoch)
self.timer.stop()
self.elapsed_times[f'save_figs_{name}'].append(self.timer.elapsed_seconds())
# Horovod: average metric values across workers.
losses = {}
for level in range(3):
losses[f'log_loss_{name}_{self.loss_type}_Lv{level}'] = log_loss[level]
for key, value in losses.items():
loss = super()._metric_average(value, key)
self.loss_dict[key].append(loss)
### For inference
def _infer(self):
with torch.no_grad():
self._convert(data_loader=self.val_loader, name='validation')
self._convert(data_loader=self.test_loader, name='test')
def _convert(self, data_loader, name):
self.model0.eval()
self.model1.eval()
self.model2.eval()
nb_samples = len(data_loader.sampler)
for indices, sdf, flows in data_loader:
# Load data and meta-data
sdf_Lv0, sdf_Lv1, sdf_Lv2 = sdf
flows_Lv0, flows_Lv1, flows_Lv2 = flows
_, patch_y_Lv1, patch_x_Lv1, *_ = sdf_Lv1.shape
_, patch_y_Lv2, patch_x_Lv2, *_ = sdf_Lv2.shape
# Number of sub patches in each level
nb_patches_Lv2 = patch_y_Lv2 * patch_x_Lv2
nb_patches_Lv1 = patch_y_Lv1 * patch_x_Lv1
# Sub patch inside the Lv1 patch
patch_y_Lv2 = patch_y_Lv2 // patch_y_Lv1
patch_x_Lv2 = patch_x_Lv2 // patch_x_Lv1
batch_len = len(sdf_Lv0)
## To device
self.timer.start()
sdf_Lv0, sdf_Lv1, sdf_Lv2 = sdf_Lv0.to(self.device), sdf_Lv1.to(self.device), sdf_Lv2.to(self.device)
flows_Lv0, flows_Lv1, flows_Lv2 = flows_Lv0.to(self.device), flows_Lv1.to(self.device), flows_Lv2.to(self.device)
self.timer.stop()
self.elapsed_times[f'MemcpyH2D_{name}'].append(self.timer.elapsed_seconds())
# Keep sdfs on CPUs
sdf_Lv0_cpu = sdf_Lv0.to('cpu')
sdf_Lv1_cpu = sdf_Lv1.to('cpu')
sdf_Lv2_cpu = sdf_Lv2.to('cpu')
## Normalization or standardization
sdf_Lv0 = super()._preprocess(sdf_Lv0, self.sdf_Lv0_var0, self.sdf_Lv0_var1)
sdf_Lv1 = super()._preprocess(sdf_Lv1, self.sdf_Lv1_var0, self.sdf_Lv1_var1)
sdf_Lv2 = super()._preprocess(sdf_Lv2, self.sdf_Lv2_var0, self.sdf_Lv2_var1)
flows_Lv0 = super()._preprocess(flows_Lv0, self.flows_Lv0_var0, self.flows_Lv0_var1)
flows_Lv1 = super()._preprocess(flows_Lv1, self.flows_Lv1_var0, self.flows_Lv1_var1)
flows_Lv2 = super()._preprocess(flows_Lv2, self.flows_Lv2_var0, self.flows_Lv2_var1)
# Objectives: construct pred_flows_Lv0-Lv2
pred_flows_Lv0_ = torch.zeros_like(flows_Lv0, device='cpu')
pred_flows_Lv1_ = torch.zeros_like(flows_Lv1, device='cpu')
pred_flows_Lv2_ = torch.zeros_like(flows_Lv2, device='cpu')
#### Train Lv0
self.timer.start()
sdf_Lv0_ = sdf_Lv0[:, 0, 0]
flows_Lv0_ = flows_Lv0[:, 0, 0]
### Update weights
pred_flows_Lv0 = self.model0(sdf_Lv0_)
level = 0
### Destandardization and save
pred_flows_Lv0 = super()._postprocess(pred_flows_Lv0, self.flows_Lv0_var0, self.flows_Lv0_var1)
pred_flows_Lv0_[:, 0, 0, :, :, :] = pred_flows_Lv0.detach().cpu()
self.timer.stop()
self.elapsed_times[f'{name}_Lv{level}'].append(self.timer.elapsed_seconds())
### Train Lv1
for iy_Lv1, ix_Lv1 in itertools.product(range(patch_y_Lv1), range(patch_x_Lv1)):
self.timer.start()
sdf_Lv1_ = sdf_Lv1[:, iy_Lv1, ix_Lv1]
flows_Lv1_ = flows_Lv1[:, iy_Lv1, ix_Lv1]
### Update weights
pred_flows_Lv1 = self.model1(sdf_Lv1_)
### Log losses
level = 1
pred_flows_Lv1 = super()._postprocess(pred_flows_Lv1, self.flows_Lv1_var0, self.flows_Lv1_var1)
pred_flows_Lv1_[:, iy_Lv1, ix_Lv1, :, :, :] = pred_flows_Lv1.detach().cpu()
self.timer.stop()
self.elapsed_times[f'{name}_Lv{level}'].append(self.timer.elapsed_seconds())
### Train Lv2
for iy_Lv2, ix_Lv2 in itertools.product(range(patch_y_Lv2), range(patch_x_Lv2)):
self.timer.start()
global_ix_Lv2 = ix_Lv2 + (ix_Lv1 * patch_x_Lv2)
global_iy_Lv2 = iy_Lv2 + (iy_Lv1 * patch_y_Lv2)
sdf_Lv2_ = sdf_Lv2[:, global_iy_Lv2, global_ix_Lv2]
flows_Lv2_ = flows_Lv2[:, global_iy_Lv2, global_ix_Lv2]
### Update generator weights
pred_flows_Lv2 = self.model2(sdf_Lv2_)
level = 2
### Destandardization and save
pred_flows_Lv2 = super()._postprocess(pred_flows_Lv2, self.flows_Lv2_var0, self.flows_Lv2_var1)
pred_flows_Lv2_[:, global_iy_Lv2, global_ix_Lv2, :, :, :] = pred_flows_Lv2.detach().cpu()
self.timer.stop()
self.elapsed_times[f'{name}_Lv{level}'].append(self.timer.elapsed_seconds())
# Save the data in netcdf format
self.timer.start()
flows_Lv0 = super()._postprocess(flows_Lv0, self.flows_Lv0_var0, self.flows_Lv0_var1)
flows_Lv1 = super()._postprocess(flows_Lv1, self.flows_Lv1_var0, self.flows_Lv1_var1)
flows_Lv2 = super()._postprocess(flows_Lv2, self.flows_Lv2_var0, self.flows_Lv2_var1)
### Zeros inside objects
pred_flows_Lv0_ = super()._zeros_inside_objects(pred_flows_Lv0_, sdf_Lv0_cpu)
pred_flows_Lv1_ = super()._zeros_inside_objects(pred_flows_Lv1_, sdf_Lv1_cpu)
pred_flows_Lv2_ = super()._zeros_inside_objects(pred_flows_Lv2_, sdf_Lv2_cpu)
### Lv0 figures
level = 0
save_as_netcdf(sdf=sdf_Lv0_cpu, real_flows=flows_Lv0.cpu(), pred_flows=pred_flows_Lv0_,
indices=indices, epoch=self.epoch_start, level=level, name=name, data_dir=self.inference_dir)
### Lv1 figures
level = 1
save_as_netcdf(sdf=sdf_Lv1_cpu, real_flows=flows_Lv1.cpu(), pred_flows=pred_flows_Lv1_,
indices=indices, epoch=self.epoch_start, level=level, name=name, data_dir=self.inference_dir)
### Lv2 figures
level = 2
save_as_netcdf(sdf=sdf_Lv2_cpu, real_flows=flows_Lv2.cpu(), pred_flows=pred_flows_Lv2_,
indices=indices, epoch=self.epoch_start, level=level, name=name, data_dir=self.inference_dir)
self.timer.stop()
self.elapsed_times[f'save_figs_{name}'].append(self.timer.elapsed_seconds())
| 48.474016
| 147
| 0.589779
| 3,901
| 30,781
| 4.2889
| 0.072546
| 0.053254
| 0.024386
| 0.015062
| 0.838563
| 0.822246
| 0.811428
| 0.802582
| 0.794872
| 0.775208
| 0
| 0.038261
| 0.307138
| 30,781
| 634
| 148
| 48.550473
| 0.746237
| 0.071278
| 0
| 0.746269
| 0
| 0
| 0.040483
| 0.022761
| 0
| 0
| 0
| 0
| 0
| 1
| 0.022388
| false
| 0
| 0.032338
| 0
| 0.059701
| 0.002488
| 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
|
4dcea62300ec3ae9b684f67e4ea5747b18cd9634
| 235
|
py
|
Python
|
instagram/views.py
|
RonnyLincoln/instagram
|
66383331f2ba0dffdcc80d09c2e10fc0dff6c0ac
|
[
"MIT"
] | null | null | null |
instagram/views.py
|
RonnyLincoln/instagram
|
66383331f2ba0dffdcc80d09c2e10fc0dff6c0ac
|
[
"MIT"
] | null | null | null |
instagram/views.py
|
RonnyLincoln/instagram
|
66383331f2ba0dffdcc80d09c2e10fc0dff6c0ac
|
[
"MIT"
] | null | null | null |
from django.shortcuts import render
def welcome(request):
title = 'welcome'
return render(request,'instagram/home.html', {'title': title})
def post_details(request):
return render(request,'instagram/post_details.html')
| 29.375
| 66
| 0.731915
| 29
| 235
| 5.862069
| 0.517241
| 0.141176
| 0.223529
| 0.329412
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.140426
| 235
| 8
| 67
| 29.375
| 0.841584
| 0
| 0
| 0
| 0
| 0
| 0.245763
| 0.114407
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0.166667
| 0.166667
| 0.833333
| 0
| 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
| 1
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 7
|
4dfbb5385cf8ad27ee3989010699f3e5ba45515a
| 2,824
|
py
|
Python
|
hdvw/models/wideresnet.py
|
shaoshitong/hdvw
|
fbb39da9ad8a765f74225eec7e9614978c740dde
|
[
"Apache-2.0"
] | 2
|
2022-03-26T09:08:43.000Z
|
2022-03-26T09:09:27.000Z
|
hdvw/models/wideresnet.py
|
shaoshitong/hdvw
|
fbb39da9ad8a765f74225eec7e9614978c740dde
|
[
"Apache-2.0"
] | null | null | null |
hdvw/models/wideresnet.py
|
shaoshitong/hdvw
|
fbb39da9ad8a765f74225eec7e9614978c740dde
|
[
"Apache-2.0"
] | null | null | null |
import hdvw.models.resnet as resnet
import hdvw.models.resnet_dnn_block as resnet_dnn
import hdvw.models.resnet_mcdo_block as resnet_mcdo
import hdvw.models.smoothing_block as smoothing
# Deterministic
def dnn_50(num_classes=10, stem=True, name="wideresnet_dnn_50", **block_kwargs):
return resnet.ResNet(resnet_dnn.Bottleneck, [3, 4, 6, 3],
width_per_group=64 * 2,
num_classes=num_classes, stem=stem, name=name, **block_kwargs)
def dnn_101(num_classes=10, stem=True, name="wideresnet_dnn_101", **block_kwargs):
return resnet.ResNet(resnet_dnn.Bottleneck, [3, 4, 23, 3],
width_per_group=64 * 2,
num_classes=num_classes, stem=stem, name=name, **block_kwargs)
# MC dropout
def mcdo_50(num_classes=10, stem=True, name="wideresnet_mcdo_50", **block_kwargs):
return resnet.ResNet(resnet_mcdo.Bottleneck, [3, 4, 6, 3],
width_per_group=64 * 2,
num_classes=num_classes, stem=stem, name=name, **block_kwargs)
def mcdo_101(num_classes=10, stem=True, name="wideresnet_mcdo_101", **block_kwargs):
return resnet.ResNet(resnet_mcdo.Bottleneck, [3, 4, 23, 3],
width_per_group=64 * 2,
num_classes=num_classes, stem=stem, name=name, **block_kwargs)
# Deterministic + Smoothing
def dnn_smooth_50(num_classes=10, stem=True, name="wideresnet_dnn_smoothing_50", **block_kwargs):
return resnet.ResNet(resnet_dnn.Bottleneck, [3, 4, 6, 3],
width_per_group=64 * 2,
num_sblocks=[1, 1, 1, 1],
num_classes=num_classes, stem=stem, name=name, **block_kwargs)
def dnn_smooth_101(num_classes=10, stem=True, name="wideresnet_dnn_smoothing_101", **block_kwargs):
return resnet.ResNet(resnet_dnn.Bottleneck, [3, 4, 23, 3],
width_per_group=64 * 2,
num_sblocks=[1, 1, 1, 1],
num_classes=num_classes, stem=stem, name=name, **block_kwargs)
# MC dropout + Smoothing
def mcdo_smooth_50(num_classes=10, stem=True, name="wideresnet_mcdo_smoothing_50", **block_kwargs):
return resnet.ResNet(resnet_mcdo.Bottleneck, [3, 4, 6, 3],
width_per_group=64 * 2,
num_sblocks=[1, 1, 1, 1],
num_classes=num_classes, stem=stem, name=name, **block_kwargs)
def mcdo_smooth_101(num_classes=10, stem=True, name="wideresnet_mcdo_smoothing_101", **block_kwargs):
return resnet.ResNet(resnet_mcdo.Bottleneck, [3, 4, 23, 3],
width_per_group=64 * 2,
num_sblocks=[1, 1, 1, 1],
num_classes=num_classes, stem=stem, name=name, **block_kwargs)
| 43.446154
| 101
| 0.623229
| 383
| 2,824
| 4.315927
| 0.096606
| 0.145191
| 0.058076
| 0.077435
| 0.863884
| 0.863884
| 0.863884
| 0.863884
| 0.863884
| 0.633999
| 0
| 0.063401
| 0.262748
| 2,824
| 64
| 102
| 44.125
| 0.730548
| 0.02585
| 0
| 0.7
| 0
| 0
| 0.067007
| 0.040787
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| false
| 0
| 0.1
| 0.2
| 0.5
| 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
| 0
| 0
| 0
| 0
| 1
| 0
| 0
|
0
| 7
|
12b83307cc1a069a9f95697b428fb18f7fb253be
| 9,143
|
py
|
Python
|
test/network_attacks/test_synced_attack.py
|
Daveonwave/DHALSIM
|
c8739e45b87b1b1a9879e2694c94e3d6a0218b59
|
[
"MIT"
] | 17
|
2021-02-03T15:48:03.000Z
|
2022-03-25T11:40:12.000Z
|
test/network_attacks/test_synced_attack.py
|
Daveonwave/DHALSIM
|
c8739e45b87b1b1a9879e2694c94e3d6a0218b59
|
[
"MIT"
] | 3
|
2022-01-13T15:34:04.000Z
|
2022-02-01T15:18:42.000Z
|
test/network_attacks/test_synced_attack.py
|
Daveonwave/DHALSIM
|
c8739e45b87b1b1a9879e2694c94e3d6a0218b59
|
[
"MIT"
] | 19
|
2021-01-13T07:15:45.000Z
|
2022-03-08T10:29:50.000Z
|
import sqlite3
import pytest
from mock import call
from dhalsim.network_attacks.synced_attack import SyncedAttack, DatabaseError
from dhalsim.network_attacks.mitm_attack import MitmAttack
@pytest.fixture
def patched_attack(mocker):
sleeper = mocker.patch("time.sleep", return_value=None)
mocker.patch.object(SyncedAttack, "__init__", return_value=None)
mocker.patch.object(MitmAttack, "__init__", return_value=None)
mocker.patch.object(SyncedAttack, "DB_TRIES", 3)
mocker.patch.object(SyncedAttack, "DB_SLEEP_TIME", 1.5)
cur_mock = mocker.Mock()
conn_mock = mocker.Mock()
logger_mock = mocker.Mock()
attacker = MitmAttack()
attacker.cur = cur_mock
attacker.conn = conn_mock
attacker.logger = logger_mock
attacker.intermediate_attack = {
'name': 'attack123'
}
return attacker, cur_mock, conn_mock, logger_mock, sleeper
def test_get_master_clock_first_try(patched_attack):
attack, cur_mock, conn_mock, logger_mock, sleeper = patched_attack
cur_mock.fetchone.return_value = [5]
assert attack.get_master_clock() == 5
cur_mock.execute.assert_called_once_with("SELECT time FROM master_time WHERE id IS 1")
cur_mock.fetchone.assert_called_once()
assert logger_mock.debug.call_count == 0
assert logger_mock.error.call_count == 0
sleeper.assert_not_called()
def test_get_master_clock_fail_once(patched_attack):
attack, cur_mock, conn_mock, logger_mock, sleeper = patched_attack
cur_mock.execute.side_effect = [sqlite3.OperationalError(), None]
cur_mock.fetchone.return_value = [5]
assert attack.get_master_clock() == 5
cur_mock.execute.assert_has_calls([call("SELECT time FROM master_time WHERE id IS 1"),
call("SELECT time FROM master_time WHERE id IS 1")])
assert cur_mock.execute.call_count == 2
cur_mock.fetchone.assert_called_once()
assert logger_mock.debug.call_count == 1
assert logger_mock.error.call_count == 0
sleeper.assert_called_once_with(1.5)
def test_get_master_clock_fail_all(patched_attack):
attack, cur_mock, conn_mock, logger_mock, sleeper = patched_attack
cur_mock.execute.side_effect = [sqlite3.OperationalError(), sqlite3.OperationalError(),
sqlite3.OperationalError(), None]
with pytest.raises(DatabaseError):
attack.get_master_clock()
cur_mock.execute.assert_has_calls([call("SELECT time FROM master_time WHERE id IS 1"),
call("SELECT time FROM master_time WHERE id IS 1"),
call("SELECT time FROM master_time WHERE id IS 1")])
assert cur_mock.execute.call_count == 3
cur_mock.fetchone.assert_not_called()
assert logger_mock.debug.call_count == 3
assert logger_mock.error.call_count == 1
sleeper.assert_has_calls([call(1.5), call(1.5), call(1.5)])
assert sleeper.call_count == 3
def test_get_sync_first_try(patched_attack):
attack, cur_mock, conn_mock, logger_mock, sleeper = patched_attack
cur_mock.fetchone.return_value = [1]
assert attack.get_sync() is True
cur_mock.execute.assert_called_once_with("SELECT flag FROM sync WHERE name IS ?", ('attack123',))
cur_mock.fetchone.assert_called_once()
assert logger_mock.debug.call_count == 0
assert logger_mock.error.call_count == 0
sleeper.assert_not_called()
def test_get_sync_fail_once(patched_attack):
attack, cur_mock, conn_mock, logger_mock, sleeper = patched_attack
cur_mock.execute.side_effect = [sqlite3.OperationalError(), None]
cur_mock.fetchone.return_value = [1]
assert attack.get_sync() is True
cur_mock.execute.assert_has_calls([call("SELECT flag FROM sync WHERE name IS ?", ('attack123',)),
call("SELECT flag FROM sync WHERE name IS ?", ('attack123',))])
assert cur_mock.execute.call_count == 2
cur_mock.fetchone.assert_called_once()
assert logger_mock.debug.call_count == 1
assert logger_mock.error.call_count == 0
sleeper.assert_called_once_with(1.5)
def test_get_sync_fail_all(patched_attack):
attack, cur_mock, conn_mock, logger_mock, sleeper = patched_attack
cur_mock.execute.side_effect = [sqlite3.OperationalError(), sqlite3.OperationalError(),
sqlite3.OperationalError(), None]
with pytest.raises(DatabaseError):
attack.get_sync()
cur_mock.execute.assert_has_calls([call("SELECT flag FROM sync WHERE name IS ?", ('attack123',)),
call("SELECT flag FROM sync WHERE name IS ?", ('attack123',)),
call("SELECT flag FROM sync WHERE name IS ?", ('attack123',))])
assert cur_mock.execute.call_count == 3
cur_mock.fetchone.assert_not_called()
assert logger_mock.debug.call_count == 3
assert logger_mock.error.call_count == 1
sleeper.assert_has_calls([call(1.5),call(1.5),call(1.5)])
assert sleeper.call_count == 3
def test_set_sync_first_try(patched_attack):
attack, cur_mock, conn_mock, logger_mock, sleeper = patched_attack
attack.set_sync(True)
cur_mock.execute.assert_called_once_with("UPDATE sync SET flag=? WHERE name IS ?", (1, 'attack123',))
conn_mock.commit.assert_called_once()
assert logger_mock.debug.call_count == 0
assert logger_mock.error.call_count == 0
sleeper.assert_not_called()
def test_set_sync_fail_once(patched_attack):
attack, cur_mock, conn_mock, logger_mock, sleeper = patched_attack
cur_mock.execute.side_effect = [sqlite3.OperationalError(), None]
attack.set_sync(True)
cur_mock.execute.assert_has_calls([call("UPDATE sync SET flag=? WHERE name IS ?", (1, 'attack123',)),
call("UPDATE sync SET flag=? WHERE name IS ?", (1, 'attack123',))])
assert cur_mock.execute.call_count == 2
conn_mock.commit.assert_called_once()
assert logger_mock.debug.call_count == 1
assert logger_mock.error.call_count == 0
sleeper.assert_called_once_with(1.5)
def test_set_sync_fail_all(patched_attack):
attack, cur_mock, conn_mock, logger_mock, sleeper = patched_attack
cur_mock.execute.side_effect = [sqlite3.OperationalError(), sqlite3.OperationalError(),
sqlite3.OperationalError(), None]
with pytest.raises(DatabaseError):
attack.set_sync(True)
cur_mock.execute.assert_has_calls([call("UPDATE sync SET flag=? WHERE name IS ?", (1, 'attack123',)),
call("UPDATE sync SET flag=? WHERE name IS ?", (1, 'attack123',)),
call("UPDATE sync SET flag=? WHERE name IS ?", (1, 'attack123',))])
assert cur_mock.execute.call_count == 3
conn_mock.commit.assert_not_called()
assert logger_mock.debug.call_count == 3
assert logger_mock.error.call_count == 1
sleeper.assert_has_calls([call(1.5),call(1.5),call(1.5)])
assert sleeper.call_count == 3
def test_set_attack_flag_first_try(patched_attack):
attack, cur_mock, conn_mock, logger_mock, sleeper = patched_attack
attack.set_attack_flag(True)
cur_mock.execute.assert_called_once_with("UPDATE attack SET flag=? WHERE name IS ?", (1, 'attack123',))
conn_mock.commit.assert_called_once()
assert logger_mock.debug.call_count == 0
assert logger_mock.error.call_count == 0
sleeper.assert_not_called()
def test_set_attack_flag_fail_once(patched_attack):
attack, cur_mock, conn_mock, logger_mock, sleeper = patched_attack
cur_mock.execute.side_effect = [sqlite3.OperationalError(), None]
attack.set_attack_flag(True)
cur_mock.execute.assert_has_calls([call("UPDATE attack SET flag=? WHERE name IS ?", (1, 'attack123',)),
call("UPDATE attack SET flag=? WHERE name IS ?", (1, 'attack123',))])
assert cur_mock.execute.call_count == 2
conn_mock.commit.assert_called_once()
assert logger_mock.debug.call_count == 1
assert logger_mock.error.call_count == 0
sleeper.assert_called_once_with(1.5)
def test_set_attack_flag_fail_all(patched_attack):
attack, cur_mock, conn_mock, logger_mock, sleeper = patched_attack
cur_mock.execute.side_effect = [sqlite3.OperationalError(), sqlite3.OperationalError(),
sqlite3.OperationalError(), None]
with pytest.raises(DatabaseError):
attack.set_attack_flag(True)
cur_mock.execute.assert_has_calls([call("UPDATE attack SET flag=? WHERE name IS ?", (1, 'attack123',)),
call("UPDATE attack SET flag=? WHERE name IS ?", (1, 'attack123',)),
call("UPDATE attack SET flag=? WHERE name IS ?", (1, 'attack123',))])
assert cur_mock.execute.call_count == 3
conn_mock.commit.assert_not_called()
assert logger_mock.debug.call_count == 3
assert logger_mock.error.call_count == 1
sleeper.assert_has_calls([call(1.5),call(1.5),call(1.5)])
assert sleeper.call_count == 3
| 34.243446
| 108
| 0.686099
| 1,229
| 9,143
| 4.808788
| 0.061839
| 0.062775
| 0.066328
| 0.032995
| 0.922673
| 0.911844
| 0.904738
| 0.877665
| 0.865821
| 0.841794
| 0
| 0.023333
| 0.207809
| 9,143
| 266
| 109
| 34.37218
| 0.792627
| 0
| 0
| 0.723926
| 0
| 0
| 0.127311
| 0
| 0
| 0
| 0
| 0
| 0.466258
| 1
| 0.079755
| false
| 0
| 0.030675
| 0
| 0.116564
| 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
4204e129072031519de7a12f304310b77cb8f3e6
| 143,966
|
py
|
Python
|
release/stubs/Autodesk/Revit/DB/Structure/StructuralSections.py
|
htlcnn/ironpython-stubs
|
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
|
[
"MIT"
] | 182
|
2017-06-27T02:26:15.000Z
|
2022-03-30T18:53:43.000Z
|
release/stubs/Autodesk/Revit/DB/Structure/StructuralSections.py
|
htlcnn/ironpython-stubs
|
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
|
[
"MIT"
] | 28
|
2017-06-27T13:38:23.000Z
|
2022-03-15T11:19:44.000Z
|
release/stubs/Autodesk/Revit/DB/Structure/StructuralSections.py
|
htlcnn/ironpython-stubs
|
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
|
[
"MIT"
] | 67
|
2017-06-28T09:43:59.000Z
|
2022-03-20T21:17:10.000Z
|
# encoding: utf-8
# module Autodesk.Revit.DB.Structure.StructuralSections calls itself StructuralSections
# from RevitAPI, Version=17.0.0.0, Culture=neutral, PublicKeyToken=null
# by generator 1.145
# no doc
# no imports
# no functions
# classes
class StructuralSection(object, IDisposable):
""" The base class for StructuralSection specific classes, designed to provide common parameters and ability to differentiate between different structural section shapes. """
def Dispose(self):
""" Dispose(self: StructuralSection) """
pass
def ReleaseUnmanagedResources(self, *args): #cannot find CLR method
""" ReleaseUnmanagedResources(self: StructuralSection, disposing: bool) """
pass
def __enter__(self, *args): #cannot find CLR method
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args): #cannot find CLR method
""" __exit__(self: IDisposable, exc_type: object, exc_value: object, exc_back: object) """
pass
def __init__(self, *args): #cannot find CLR method
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
def __repr__(self, *args): #cannot find CLR method
""" __repr__(self: object) -> str """
pass
IsValidObject = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Specifies whether the .NET object represents a valid Revit entity.
Get: IsValidObject(self: StructuralSection) -> bool
"""
SectionNameKey = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""A parameter in structural families which allows for family type identification.
This will be used for data mapping during model exchange with another program, namely Advance Steel.
Get: SectionNameKey(self: StructuralSection) -> str
Set: SectionNameKey(self: StructuralSection) = value
"""
StructuralSectionShape = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""The type of structural section shape.
Get: StructuralSectionShape(self: StructuralSection) -> StructuralSectionShape
"""
StructuralSectionShapeName = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""A human readable string representing the structural section shape.
Get: StructuralSectionShapeName(self: StructuralSection) -> str
"""
class StructuralSectionRectangular(StructuralSection, IDisposable):
""" Defines common set of parameters for structural section rectangular contour. """
def Dispose(self):
""" Dispose(self: StructuralSection, A_0: bool) """
pass
def ReleaseUnmanagedResources(self, *args): #cannot find CLR method
""" ReleaseUnmanagedResources(self: StructuralSection, disposing: bool) """
pass
def __enter__(self, *args): #cannot find CLR method
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args): #cannot find CLR method
""" __exit__(self: IDisposable, exc_type: object, exc_value: object, exc_back: object) """
pass
def __init__(self, *args): #cannot find CLR method
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
CentroidHorizontal = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Distance from centroid to the left extremites along horizontal axis.
Get: CentroidHorizontal(self: StructuralSectionRectangular) -> float
Set: CentroidHorizontal(self: StructuralSectionRectangular) = value
"""
CentroidVertical = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Distance from centroid to the upper extremites along vertical axis.
Get: CentroidVertical(self: StructuralSectionRectangular) -> float
Set: CentroidVertical(self: StructuralSectionRectangular) = value
"""
ElasticModulusStrongAxis = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Elastic section modulus about main strong axis for calculation of bending stresses.
Get: ElasticModulusStrongAxis(self: StructuralSectionRectangular) -> float
Set: ElasticModulusStrongAxis(self: StructuralSectionRectangular) = value
"""
ElasticModulusWeakAxis = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Elastic section modulus about main weak axis for calculation of bending stresses.
Get: ElasticModulusWeakAxis(self: StructuralSectionRectangular) -> float
Set: ElasticModulusWeakAxis(self: StructuralSectionRectangular) = value
"""
Height = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Section height, depth.
Get: Height(self: StructuralSectionRectangular) -> float
Set: Height(self: StructuralSectionRectangular) = value
"""
MomentOfInertiaStrongAxis = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Moment of Inertia about main strong axis (I).
Get: MomentOfInertiaStrongAxis(self: StructuralSectionRectangular) -> float
Set: MomentOfInertiaStrongAxis(self: StructuralSectionRectangular) = value
"""
MomentOfInertiaWeakAxis = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Moment of Inertia about main weak axis (I).
Get: MomentOfInertiaWeakAxis(self: StructuralSectionRectangular) -> float
Set: MomentOfInertiaWeakAxis(self: StructuralSectionRectangular) = value
"""
NameKey = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Name Key
Get: NameKey(self: StructuralSectionRectangular) -> str
Set: NameKey(self: StructuralSectionRectangular) = value
"""
NominalWeight = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Unit weight (not mass) per unit length, for self-weight calculation or quantity survey.
Get: NominalWeight(self: StructuralSectionRectangular) -> float
Set: NominalWeight(self: StructuralSectionRectangular) = value
"""
Perimeter = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Painting surface of the unit length.
Get: Perimeter(self: StructuralSectionRectangular) -> float
Set: Perimeter(self: StructuralSectionRectangular) = value
"""
PlasticModulusStrongAxis = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Plastic section modulus in bending about main strong axis (Z, Wpl)
Get: PlasticModulusStrongAxis(self: StructuralSectionRectangular) -> float
Set: PlasticModulusStrongAxis(self: StructuralSectionRectangular) = value
"""
PlasticModulusWeakAxis = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Plastic section modulus in bending about main weak axis.
Get: PlasticModulusWeakAxis(self: StructuralSectionRectangular) -> float
Set: PlasticModulusWeakAxis(self: StructuralSectionRectangular) = value
"""
PrincipalAxesAngle = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Rotation angle between the principal axes and cross section reference planes.
Get: PrincipalAxesAngle(self: StructuralSectionRectangular) -> float
Set: PrincipalAxesAngle(self: StructuralSectionRectangular) = value
"""
SectionArea = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Cross section area.
Get: SectionArea(self: StructuralSectionRectangular) -> float
Set: SectionArea(self: StructuralSectionRectangular) = value
"""
ShearAreaStrongAxis = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Shear area (reduced extreme shear stress coefficient) in the direction of strong axis (Wq).
Get: ShearAreaStrongAxis(self: StructuralSectionRectangular) -> float
Set: ShearAreaStrongAxis(self: StructuralSectionRectangular) = value
"""
ShearAreaWeakAxis = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Shear area (reduced extreme shear stress coefficient) in the direction of weak axis (Wq).
Get: ShearAreaWeakAxis(self: StructuralSectionRectangular) -> float
Set: ShearAreaWeakAxis(self: StructuralSectionRectangular) = value
"""
TorsionalModulus = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Section modulus for calculations of torsion stresses (Ct)
Get: TorsionalModulus(self: StructuralSectionRectangular) -> float
Set: TorsionalModulus(self: StructuralSectionRectangular) = value
"""
TorsionalMomentOfInertia = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Torsional Moment of inertia (J, IT, K), for calculation of torsional deformation
Get: TorsionalMomentOfInertia(self: StructuralSectionRectangular) -> float
Set: TorsionalMomentOfInertia(self: StructuralSectionRectangular) = value
"""
WarpingConstant = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Warping constant (Cw, Iomega, H)
Get: WarpingConstant(self: StructuralSectionRectangular) -> float
Set: WarpingConstant(self: StructuralSectionRectangular) = value
"""
Width = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Section width.
Get: Width(self: StructuralSectionRectangular) -> float
Set: Width(self: StructuralSectionRectangular) = value
"""
class StructuralSectionColdFormed(StructuralSectionRectangular, IDisposable):
""" Defines parameters for Hot Formed structural section. """
def Dispose(self):
""" Dispose(self: StructuralSection, A_0: bool) """
pass
def ReleaseUnmanagedResources(self, *args): #cannot find CLR method
""" ReleaseUnmanagedResources(self: StructuralSection, disposing: bool) """
pass
def __enter__(self, *args): #cannot find CLR method
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args): #cannot find CLR method
""" __exit__(self: IDisposable, exc_type: object, exc_value: object, exc_back: object) """
pass
def __init__(self, *args): #cannot find CLR method
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
InnerFillet = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Inner Fillet - Corner fillet inner radius.
Get: InnerFillet(self: StructuralSectionColdFormed) -> float
Set: InnerFillet(self: StructuralSectionColdFormed) = value
"""
WallDesignThickness = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Represents wall design thickness of rectangle.
Get: WallDesignThickness(self: StructuralSectionColdFormed) -> float
Set: WallDesignThickness(self: StructuralSectionColdFormed) = value
"""
WallNominalThickness = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Represents wall nominal thickness of rectangle.
Get: WallNominalThickness(self: StructuralSectionColdFormed) -> float
Set: WallNominalThickness(self: StructuralSectionColdFormed) = value
"""
class StructuralSectionConcreteCross(StructuralSectionRectangular, IDisposable):
"""
Defines parameters for parameterized concrete cross structural section.
StructuralSectionConcreteCross(width: float, height: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, cantileverLength: float, cantileverHeight: float)
"""
def Dispose(self):
""" Dispose(self: StructuralSection, A_0: bool) """
pass
def ReleaseUnmanagedResources(self, *args): #cannot find CLR method
""" ReleaseUnmanagedResources(self: StructuralSection, disposing: bool) """
pass
def __enter__(self, *args): #cannot find CLR method
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args): #cannot find CLR method
""" __exit__(self: IDisposable, exc_type: object, exc_value: object, exc_back: object) """
pass
def __init__(self, *args): #cannot find CLR method
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod # known case of __new__
def __new__(self, width, height, centroidHorizontal, centroidVertical, principalAxesAngle, sectionArea, perimeter, nominalWeight, momentOfInertiaStrongAxis, momentOfInertiaWeakAxis, elasticModulusStrongAxis, elasticModulusWeakAxis, plasticModulusStrongAxis, plasticModulusWeakAxis, torsionalMomentOfInertia, torsionalModulus, warpingConstant, shearAreaStrongAxis, shearAreaWeakAxis, cantileverLength, cantileverHeight):
""" __new__(cls: type, width: float, height: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, cantileverLength: float, cantileverHeight: float) """
pass
CantileverHeight = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Flange cantilever thickness.
Get: CantileverHeight(self: StructuralSectionConcreteCross) -> float
Set: CantileverHeight(self: StructuralSectionConcreteCross) = value
"""
CantileverLength = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Flange cantilever length.
Get: CantileverLength(self: StructuralSectionConcreteCross) -> float
Set: CantileverLength(self: StructuralSectionConcreteCross) = value
"""
class StructuralSectionConcreteRectangle(StructuralSectionRectangular, IDisposable):
"""
Defines parameters for parameterized concrete rectangle structural section.
StructuralSectionConcreteRectangle(width: float, height: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float)
"""
def Dispose(self):
""" Dispose(self: StructuralSection, A_0: bool) """
pass
def ReleaseUnmanagedResources(self, *args): #cannot find CLR method
""" ReleaseUnmanagedResources(self: StructuralSection, disposing: bool) """
pass
def __enter__(self, *args): #cannot find CLR method
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args): #cannot find CLR method
""" __exit__(self: IDisposable, exc_type: object, exc_value: object, exc_back: object) """
pass
def __init__(self, *args): #cannot find CLR method
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod # known case of __new__
def __new__(self, width, height, centroidHorizontal, centroidVertical, principalAxesAngle, sectionArea, perimeter, nominalWeight, momentOfInertiaStrongAxis, momentOfInertiaWeakAxis, elasticModulusStrongAxis, elasticModulusWeakAxis, plasticModulusStrongAxis, plasticModulusWeakAxis, torsionalMomentOfInertia, torsionalModulus, warpingConstant, shearAreaStrongAxis, shearAreaWeakAxis):
""" __new__(cls: type, width: float, height: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float) """
pass
class StructuralSectionConcreteRectangleCut(StructuralSectionRectangular, IDisposable):
"""
Defines parameters for parameterized concrete rectangle cut structural section.
StructuralSectionConcreteRectangleCut(width: float, height: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, topCutWidth: float, topCutHeight: float, bottomCutWidth: float, bottomCutHeight: float)
"""
def Dispose(self):
""" Dispose(self: StructuralSection, A_0: bool) """
pass
def ReleaseUnmanagedResources(self, *args): #cannot find CLR method
""" ReleaseUnmanagedResources(self: StructuralSection, disposing: bool) """
pass
def __enter__(self, *args): #cannot find CLR method
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args): #cannot find CLR method
""" __exit__(self: IDisposable, exc_type: object, exc_value: object, exc_back: object) """
pass
def __init__(self, *args): #cannot find CLR method
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod # known case of __new__
def __new__(self, width, height, centroidHorizontal, centroidVertical, principalAxesAngle, sectionArea, perimeter, nominalWeight, momentOfInertiaStrongAxis, momentOfInertiaWeakAxis, elasticModulusStrongAxis, elasticModulusWeakAxis, plasticModulusStrongAxis, plasticModulusWeakAxis, torsionalMomentOfInertia, torsionalModulus, warpingConstant, shearAreaStrongAxis, shearAreaWeakAxis, topCutWidth, topCutHeight, bottomCutWidth, bottomCutHeight):
""" __new__(cls: type, width: float, height: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, topCutWidth: float, topCutHeight: float, bottomCutWidth: float, bottomCutHeight: float) """
pass
BottomCutHeight = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Section height left Cut.
Get: BottomCutHeight(self: StructuralSectionConcreteRectangleCut) -> float
Set: BottomCutHeight(self: StructuralSectionConcreteRectangleCut) = value
"""
BottomCutWidth = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Section width left Cut.
Get: BottomCutWidth(self: StructuralSectionConcreteRectangleCut) -> float
Set: BottomCutWidth(self: StructuralSectionConcreteRectangleCut) = value
"""
TopCutHeight = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Section height right Cut.
Get: TopCutHeight(self: StructuralSectionConcreteRectangleCut) -> float
Set: TopCutHeight(self: StructuralSectionConcreteRectangleCut) = value
"""
TopCutWidth = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Section width right Cut.
Get: TopCutWidth(self: StructuralSectionConcreteRectangleCut) -> float
Set: TopCutWidth(self: StructuralSectionConcreteRectangleCut) = value
"""
class StructuralSectionRound(StructuralSection, IDisposable):
""" Defines common set of parameters for structural section round contour. """
def Dispose(self):
""" Dispose(self: StructuralSection, A_0: bool) """
pass
def ReleaseUnmanagedResources(self, *args): #cannot find CLR method
""" ReleaseUnmanagedResources(self: StructuralSection, disposing: bool) """
pass
def __enter__(self, *args): #cannot find CLR method
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args): #cannot find CLR method
""" __exit__(self: IDisposable, exc_type: object, exc_value: object, exc_back: object) """
pass
def __init__(self, *args): #cannot find CLR method
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
CentroidHorizontal = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Distance from centroid to the left extremites along horizontal axis.
Get: CentroidHorizontal(self: StructuralSectionRound) -> float
Set: CentroidHorizontal(self: StructuralSectionRound) = value
"""
CentroidVertical = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Distance from centroid to the upper extremites along vertical axis.
Get: CentroidVertical(self: StructuralSectionRound) -> float
Set: CentroidVertical(self: StructuralSectionRound) = value
"""
Diameter = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Pipe Diameter.
Get: Diameter(self: StructuralSectionRound) -> float
Set: Diameter(self: StructuralSectionRound) = value
"""
ElasticModulusStrongAxis = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Elastic section modulus about main strong axis for calculation of bending stresses.
Get: ElasticModulusStrongAxis(self: StructuralSectionRound) -> float
Set: ElasticModulusStrongAxis(self: StructuralSectionRound) = value
"""
ElasticModulusWeakAxis = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Elastic section modulus about main weak axis for calculation of bending stresses.
Get: ElasticModulusWeakAxis(self: StructuralSectionRound) -> float
Set: ElasticModulusWeakAxis(self: StructuralSectionRound) = value
"""
MomentOfInertiaStrongAxis = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Moment of Inertia about main strong axis (I).
Get: MomentOfInertiaStrongAxis(self: StructuralSectionRound) -> float
Set: MomentOfInertiaStrongAxis(self: StructuralSectionRound) = value
"""
MomentOfInertiaWeakAxis = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Moment of Inertia about main weak axis (I).
Get: MomentOfInertiaWeakAxis(self: StructuralSectionRound) -> float
Set: MomentOfInertiaWeakAxis(self: StructuralSectionRound) = value
"""
NameKey = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Name Key
Get: NameKey(self: StructuralSectionRound) -> str
Set: NameKey(self: StructuralSectionRound) = value
"""
NominalWeight = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Unit weight (not mass) per unit length, for self-weight calculation or quantity survey.
Get: NominalWeight(self: StructuralSectionRound) -> float
Set: NominalWeight(self: StructuralSectionRound) = value
"""
Perimeter = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Painting surface of the unit length.
Get: Perimeter(self: StructuralSectionRound) -> float
Set: Perimeter(self: StructuralSectionRound) = value
"""
PlasticModulusStrongAxis = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Plastic section modulus in bending about main strong axis (Z, Wpl)
Get: PlasticModulusStrongAxis(self: StructuralSectionRound) -> float
Set: PlasticModulusStrongAxis(self: StructuralSectionRound) = value
"""
PlasticModulusWeakAxis = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Plastic section modulus in bending about main weak axis.
Get: PlasticModulusWeakAxis(self: StructuralSectionRound) -> float
Set: PlasticModulusWeakAxis(self: StructuralSectionRound) = value
"""
PrincipalAxesAngle = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Rotation angle between the principal axes and cross section reference planes.
Get: PrincipalAxesAngle(self: StructuralSectionRound) -> float
Set: PrincipalAxesAngle(self: StructuralSectionRound) = value
"""
SectionArea = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Cross section area.
Get: SectionArea(self: StructuralSectionRound) -> float
Set: SectionArea(self: StructuralSectionRound) = value
"""
ShearAreaStrongAxis = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Shear area (reduced extreme shear stress coefficient) in the direction of strong axis (Wq).
Get: ShearAreaStrongAxis(self: StructuralSectionRound) -> float
Set: ShearAreaStrongAxis(self: StructuralSectionRound) = value
"""
ShearAreaWeakAxis = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Shear area (reduced extreme shear stress coefficient) in the direction of weak axis (Wq).
Get: ShearAreaWeakAxis(self: StructuralSectionRound) -> float
Set: ShearAreaWeakAxis(self: StructuralSectionRound) = value
"""
TorsionalModulus = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Section modulus for calculations of torsion stresses (Ct)
Get: TorsionalModulus(self: StructuralSectionRound) -> float
Set: TorsionalModulus(self: StructuralSectionRound) = value
"""
TorsionalMomentOfInertia = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Torsional Moment of inertia (J, IT, K), for calculation of torsional deformation
Get: TorsionalMomentOfInertia(self: StructuralSectionRound) -> float
Set: TorsionalMomentOfInertia(self: StructuralSectionRound) = value
"""
WarpingConstant = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Warping constant (Cw, Iomega, H)
Get: WarpingConstant(self: StructuralSectionRound) -> float
Set: WarpingConstant(self: StructuralSectionRound) = value
"""
class StructuralSectionConcreteRound(StructuralSectionRound, IDisposable):
"""
Creates a new instance of Structural Section Concrete Round shape with the associated set of parameters,
used to attach to structural element.
StructuralSectionConcreteRound(diameter: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float)
"""
def Dispose(self):
""" Dispose(self: StructuralSection, A_0: bool) """
pass
def ReleaseUnmanagedResources(self, *args): #cannot find CLR method
""" ReleaseUnmanagedResources(self: StructuralSection, disposing: bool) """
pass
def __enter__(self, *args): #cannot find CLR method
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args): #cannot find CLR method
""" __exit__(self: IDisposable, exc_type: object, exc_value: object, exc_back: object) """
pass
def __init__(self, *args): #cannot find CLR method
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod # known case of __new__
def __new__(self, diameter, centroidHorizontal, centroidVertical, principalAxesAngle, sectionArea, perimeter, nominalWeight, momentOfInertiaStrongAxis, momentOfInertiaWeakAxis, elasticModulusStrongAxis, elasticModulusWeakAxis, plasticModulusStrongAxis, plasticModulusWeakAxis, torsionalMomentOfInertia, torsionalModulus, warpingConstant, shearAreaStrongAxis, shearAreaWeakAxis):
""" __new__(cls: type, diameter: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float) """
pass
class StructuralSectionConcreteT(StructuralSectionRectangular, IDisposable):
"""
Defines parameters for parameterized concrete T structural section.
StructuralSectionConcreteT(width: float, height: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, cantileverLength: float, cantileverHeight: float)
"""
def Dispose(self):
""" Dispose(self: StructuralSection, A_0: bool) """
pass
def ReleaseUnmanagedResources(self, *args): #cannot find CLR method
""" ReleaseUnmanagedResources(self: StructuralSection, disposing: bool) """
pass
def __enter__(self, *args): #cannot find CLR method
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args): #cannot find CLR method
""" __exit__(self: IDisposable, exc_type: object, exc_value: object, exc_back: object) """
pass
def __init__(self, *args): #cannot find CLR method
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod # known case of __new__
def __new__(self, width, height, centroidHorizontal, centroidVertical, principalAxesAngle, sectionArea, perimeter, nominalWeight, momentOfInertiaStrongAxis, momentOfInertiaWeakAxis, elasticModulusStrongAxis, elasticModulusWeakAxis, plasticModulusStrongAxis, plasticModulusWeakAxis, torsionalMomentOfInertia, torsionalModulus, warpingConstant, shearAreaStrongAxis, shearAreaWeakAxis, cantileverLength, cantileverHeight):
""" __new__(cls: type, width: float, height: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, cantileverLength: float, cantileverHeight: float) """
pass
CantileverHeight = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Flange cantilever thickness.
Get: CantileverHeight(self: StructuralSectionConcreteT) -> float
Set: CantileverHeight(self: StructuralSectionConcreteT) = value
"""
CantileverLength = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Flange cantilever length.
Get: CantileverLength(self: StructuralSectionConcreteT) -> float
Set: CantileverLength(self: StructuralSectionConcreteT) = value
"""
class StructuralSectionHotRolled(StructuralSectionRectangular, IDisposable):
""" Defines parameters for hot rolled structural sections. """
def Dispose(self):
""" Dispose(self: StructuralSection, A_0: bool) """
pass
def ReleaseUnmanagedResources(self, *args): #cannot find CLR method
""" ReleaseUnmanagedResources(self: StructuralSection, disposing: bool) """
pass
def __enter__(self, *args): #cannot find CLR method
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args): #cannot find CLR method
""" __exit__(self: IDisposable, exc_type: object, exc_value: object, exc_back: object) """
pass
def __init__(self, *args): #cannot find CLR method
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
FlangeThickness = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Flange Thickness.
Get: FlangeThickness(self: StructuralSectionHotRolled) -> float
Set: FlangeThickness(self: StructuralSectionHotRolled) = value
"""
WebFillet = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Web Fillet - fillet radius between web and flange.
Get: WebFillet(self: StructuralSectionHotRolled) -> float
Set: WebFillet(self: StructuralSectionHotRolled) = value
"""
WebThickness = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Web Thickness.
Get: WebThickness(self: StructuralSectionHotRolled) -> float
Set: WebThickness(self: StructuralSectionHotRolled) = value
"""
class StructuralSectionCParallelFlange(StructuralSectionHotRolled, IDisposable):
"""
Defines parameters for C-channel Parallel Flange structural section.
StructuralSectionCParallelFlange(width: float, height: float, flangeThickness: float, webThickness: float, webFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, clearWebHeight: float, flangeToeOfFillet: float, webToeOfFillet: float, boltSpacing: float, boltDiameter: float)
"""
def Dispose(self):
""" Dispose(self: StructuralSection, A_0: bool) """
pass
def ReleaseUnmanagedResources(self, *args): #cannot find CLR method
""" ReleaseUnmanagedResources(self: StructuralSection, disposing: bool) """
pass
def __enter__(self, *args): #cannot find CLR method
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args): #cannot find CLR method
""" __exit__(self: IDisposable, exc_type: object, exc_value: object, exc_back: object) """
pass
def __init__(self, *args): #cannot find CLR method
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod # known case of __new__
def __new__(self, width, height, flangeThickness, webThickness, webFillet, centroidHorizontal, centroidVertical, principalAxesAngle, sectionArea, perimeter, nominalWeight, momentOfInertiaStrongAxis, momentOfInertiaWeakAxis, elasticModulusStrongAxis, elasticModulusWeakAxis, plasticModulusStrongAxis, plasticModulusWeakAxis, torsionalMomentOfInertia, torsionalModulus, warpingConstant, shearAreaStrongAxis, shearAreaWeakAxis, clearWebHeight, flangeToeOfFillet, webToeOfFillet, boltSpacing, boltDiameter):
""" __new__(cls: type, width: float, height: float, flangeThickness: float, webThickness: float, webFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, clearWebHeight: float, flangeToeOfFillet: float, webToeOfFillet: float, boltSpacing: float, boltDiameter: float) """
pass
BoltDiameter = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Maximum bolt hole diameter, in. (mm)
Get: BoltDiameter(self: StructuralSectionCParallelFlange) -> float
Set: BoltDiameter(self: StructuralSectionCParallelFlange) = value
"""
BoltSpacing = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Standard bolt spacing, in. (mm)
Get: BoltSpacing(self: StructuralSectionCParallelFlange) -> float
Set: BoltSpacing(self: StructuralSectionCParallelFlange) = value
"""
ClearWebHeight = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Detailing depth between the web toes of the fillets, in.(mm)
Get: ClearWebHeight(self: StructuralSectionCParallelFlange) -> float
Set: ClearWebHeight(self: StructuralSectionCParallelFlange) = value
"""
FlangeToeOfFillet = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Detailing distance from center of web to flange toe of fillet, in. (mm)
Get: FlangeToeOfFillet(self: StructuralSectionCParallelFlange) -> float
Set: FlangeToeOfFillet(self: StructuralSectionCParallelFlange) = value
"""
WebToeOfFillet = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Detailing distance from outer face of flange to web toe of fillet, in. (mm)
Get: WebToeOfFillet(self: StructuralSectionCParallelFlange) -> float
Set: WebToeOfFillet(self: StructuralSectionCParallelFlange) = value
"""
class StructuralSectionCProfile(StructuralSectionColdFormed, IDisposable):
"""
Defines parameters for C Profile structural section.
StructuralSectionCProfile(width: float, height: float, wallNominalThickness: float, wallDesignThickness: float, innerFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float)
"""
def Dispose(self):
""" Dispose(self: StructuralSection, A_0: bool) """
pass
def ReleaseUnmanagedResources(self, *args): #cannot find CLR method
""" ReleaseUnmanagedResources(self: StructuralSection, disposing: bool) """
pass
def __enter__(self, *args): #cannot find CLR method
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args): #cannot find CLR method
""" __exit__(self: IDisposable, exc_type: object, exc_value: object, exc_back: object) """
pass
def __init__(self, *args): #cannot find CLR method
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod # known case of __new__
def __new__(self, width, height, wallNominalThickness, wallDesignThickness, innerFillet, centroidHorizontal, centroidVertical, principalAxesAngle, sectionArea, perimeter, nominalWeight, momentOfInertiaStrongAxis, momentOfInertiaWeakAxis, elasticModulusStrongAxis, elasticModulusWeakAxis, plasticModulusStrongAxis, plasticModulusWeakAxis, torsionalMomentOfInertia, torsionalModulus, warpingConstant, shearAreaStrongAxis, shearAreaWeakAxis):
""" __new__(cls: type, width: float, height: float, wallNominalThickness: float, wallDesignThickness: float, innerFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float) """
pass
class StructuralSectionCProfileWithFold(StructuralSectionColdFormed, IDisposable):
"""
Defines parameters for C Profile with fold structural section.
StructuralSectionCProfileWithFold(width: float, height: float, wallNominalThickness: float, wallDesignThickness: float, innerFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, lipLength: float, foldLength: float)
"""
def Dispose(self):
""" Dispose(self: StructuralSection, A_0: bool) """
pass
def ReleaseUnmanagedResources(self, *args): #cannot find CLR method
""" ReleaseUnmanagedResources(self: StructuralSection, disposing: bool) """
pass
def __enter__(self, *args): #cannot find CLR method
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args): #cannot find CLR method
""" __exit__(self: IDisposable, exc_type: object, exc_value: object, exc_back: object) """
pass
def __init__(self, *args): #cannot find CLR method
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod # known case of __new__
def __new__(self, width, height, wallNominalThickness, wallDesignThickness, innerFillet, centroidHorizontal, centroidVertical, principalAxesAngle, sectionArea, perimeter, nominalWeight, momentOfInertiaStrongAxis, momentOfInertiaWeakAxis, elasticModulusStrongAxis, elasticModulusWeakAxis, plasticModulusStrongAxis, plasticModulusWeakAxis, torsionalMomentOfInertia, torsionalModulus, warpingConstant, shearAreaStrongAxis, shearAreaWeakAxis, lipLength, foldLength):
""" __new__(cls: type, width: float, height: float, wallNominalThickness: float, wallDesignThickness: float, innerFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, lipLength: float, foldLength: float) """
pass
FoldLength = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Fold segment length.
Get: FoldLength(self: StructuralSectionCProfileWithFold) -> float
Set: FoldLength(self: StructuralSectionCProfileWithFold) = value
"""
LipLength = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Lip segment length.
Get: LipLength(self: StructuralSectionCProfileWithFold) -> float
Set: LipLength(self: StructuralSectionCProfileWithFold) = value
"""
class StructuralSectionCProfileWithLips(StructuralSectionColdFormed, IDisposable):
"""
Defines parameters for C Profile with lips structural section.
StructuralSectionCProfileWithLips(width: float, height: float, wallNominalThickness: float, wallDesignThickness: float, innerFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, lipLength: float)
"""
def Dispose(self):
""" Dispose(self: StructuralSection, A_0: bool) """
pass
def ReleaseUnmanagedResources(self, *args): #cannot find CLR method
""" ReleaseUnmanagedResources(self: StructuralSection, disposing: bool) """
pass
def __enter__(self, *args): #cannot find CLR method
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args): #cannot find CLR method
""" __exit__(self: IDisposable, exc_type: object, exc_value: object, exc_back: object) """
pass
def __init__(self, *args): #cannot find CLR method
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod # known case of __new__
def __new__(self, width, height, wallNominalThickness, wallDesignThickness, innerFillet, centroidHorizontal, centroidVertical, principalAxesAngle, sectionArea, perimeter, nominalWeight, momentOfInertiaStrongAxis, momentOfInertiaWeakAxis, elasticModulusStrongAxis, elasticModulusWeakAxis, plasticModulusStrongAxis, plasticModulusWeakAxis, torsionalMomentOfInertia, torsionalModulus, warpingConstant, shearAreaStrongAxis, shearAreaWeakAxis, lipLength):
""" __new__(cls: type, width: float, height: float, wallNominalThickness: float, wallDesignThickness: float, innerFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, lipLength: float) """
pass
LipLength = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Lip segment length.
Get: LipLength(self: StructuralSectionCProfileWithLips) -> float
Set: LipLength(self: StructuralSectionCProfileWithLips) = value
"""
class StructuralSectionCSlopedFlange(StructuralSectionHotRolled, IDisposable):
"""
Defines parameters for C-channel Sloped Flange structural section.
StructuralSectionCSlopedFlange(width: float, height: float, flangeThickness: float, webThickness: float, webFillet: float, flangeFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, clearWebHeight: float, webToeOfFillet: float, boltSpacing: float, boltDiameter: float)
"""
def Dispose(self):
""" Dispose(self: StructuralSection, A_0: bool) """
pass
def ReleaseUnmanagedResources(self, *args): #cannot find CLR method
""" ReleaseUnmanagedResources(self: StructuralSection, disposing: bool) """
pass
def __enter__(self, *args): #cannot find CLR method
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args): #cannot find CLR method
""" __exit__(self: IDisposable, exc_type: object, exc_value: object, exc_back: object) """
pass
def __init__(self, *args): #cannot find CLR method
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod # known case of __new__
def __new__(self, width, height, flangeThickness, webThickness, webFillet, flangeFillet, centroidHorizontal, centroidVertical, principalAxesAngle, sectionArea, perimeter, nominalWeight, momentOfInertiaStrongAxis, momentOfInertiaWeakAxis, elasticModulusStrongAxis, elasticModulusWeakAxis, plasticModulusStrongAxis, plasticModulusWeakAxis, torsionalMomentOfInertia, torsionalModulus, warpingConstant, shearAreaStrongAxis, shearAreaWeakAxis, clearWebHeight, webToeOfFillet, boltSpacing, boltDiameter):
""" __new__(cls: type, width: float, height: float, flangeThickness: float, webThickness: float, webFillet: float, flangeFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, clearWebHeight: float, webToeOfFillet: float, boltSpacing: float, boltDiameter: float) """
pass
BoltDiameter = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Maximum bolt hole diameter, in. (mm)
Get: BoltDiameter(self: StructuralSectionCSlopedFlange) -> float
Set: BoltDiameter(self: StructuralSectionCSlopedFlange) = value
"""
BoltSpacing = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Standard bolt spacing, in. (mm)
Get: BoltSpacing(self: StructuralSectionCSlopedFlange) -> float
Set: BoltSpacing(self: StructuralSectionCSlopedFlange) = value
"""
ClearWebHeight = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Detailing depth between the web toes of the fillets, in.(mm)
Get: ClearWebHeight(self: StructuralSectionCSlopedFlange) -> float
Set: ClearWebHeight(self: StructuralSectionCSlopedFlange) = value
"""
FlangeFillet = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Flange Fillet - fillet radius at the flange end.
Get: FlangeFillet(self: StructuralSectionCSlopedFlange) -> float
Set: FlangeFillet(self: StructuralSectionCSlopedFlange) = value
"""
WebToeOfFillet = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Detailing distance from outer face of flange to web toe of fillet, in. (mm)
Get: WebToeOfFillet(self: StructuralSectionCSlopedFlange) -> float
Set: WebToeOfFillet(self: StructuralSectionCSlopedFlange) = value
"""
class StructuralSectionIParallelFlange(StructuralSectionHotRolled, IDisposable):
"""
Defines parameters for I-shape Parallel Flange structural section.
StructuralSectionIParallelFlange(width: float, height: float, flangeThickness: float, webThickness: float, webFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, clearWebHeight: float, flangeToeOfFillet: float, webToeOfFillet: float, boltSpacing: float, boltDiameter: float)
"""
def Dispose(self):
""" Dispose(self: StructuralSection, A_0: bool) """
pass
def ReleaseUnmanagedResources(self, *args): #cannot find CLR method
""" ReleaseUnmanagedResources(self: StructuralSection, disposing: bool) """
pass
def __enter__(self, *args): #cannot find CLR method
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args): #cannot find CLR method
""" __exit__(self: IDisposable, exc_type: object, exc_value: object, exc_back: object) """
pass
def __init__(self, *args): #cannot find CLR method
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod # known case of __new__
def __new__(self, width, height, flangeThickness, webThickness, webFillet, centroidHorizontal, centroidVertical, principalAxesAngle, sectionArea, perimeter, nominalWeight, momentOfInertiaStrongAxis, momentOfInertiaWeakAxis, elasticModulusStrongAxis, elasticModulusWeakAxis, plasticModulusStrongAxis, plasticModulusWeakAxis, torsionalMomentOfInertia, torsionalModulus, warpingConstant, shearAreaStrongAxis, shearAreaWeakAxis, clearWebHeight, flangeToeOfFillet, webToeOfFillet, boltSpacing, boltDiameter):
""" __new__(cls: type, width: float, height: float, flangeThickness: float, webThickness: float, webFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, clearWebHeight: float, flangeToeOfFillet: float, webToeOfFillet: float, boltSpacing: float, boltDiameter: float) """
pass
BoltDiameter = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Maximum bolt hole diameter, in. (mm)
Get: BoltDiameter(self: StructuralSectionIParallelFlange) -> float
Set: BoltDiameter(self: StructuralSectionIParallelFlange) = value
"""
BoltSpacing = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Standard bolt spacing, in. (mm)
Get: BoltSpacing(self: StructuralSectionIParallelFlange) -> float
Set: BoltSpacing(self: StructuralSectionIParallelFlange) = value
"""
ClearWebHeight = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Detailing depth between the web toes of the fillets, in.(mm)
Get: ClearWebHeight(self: StructuralSectionIParallelFlange) -> float
Set: ClearWebHeight(self: StructuralSectionIParallelFlange) = value
"""
FlangeToeOfFillet = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Detailing distance from center of web to flange toe of fillet, in. (mm)
Get: FlangeToeOfFillet(self: StructuralSectionIParallelFlange) -> float
Set: FlangeToeOfFillet(self: StructuralSectionIParallelFlange) = value
"""
WebToeOfFillet = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Detailing distance from outer face of flange to web toe of fillet, in. (mm)
Get: WebToeOfFillet(self: StructuralSectionIParallelFlange) -> float
Set: WebToeOfFillet(self: StructuralSectionIParallelFlange) = value
"""
class StructuralSectionISlopedFlange(StructuralSectionHotRolled, IDisposable):
"""
Defines parameters for I-shape Sloped Flange structural section.
StructuralSectionISlopedFlange(width: float, height: float, flangeThickness: float, webThickness: float, webFillet: float, flangeFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, clearWebHeight: float, webToeOfFillet: float, boltSpacing: float, boltDiameter: float)
"""
def Dispose(self):
""" Dispose(self: StructuralSection, A_0: bool) """
pass
def ReleaseUnmanagedResources(self, *args): #cannot find CLR method
""" ReleaseUnmanagedResources(self: StructuralSection, disposing: bool) """
pass
def __enter__(self, *args): #cannot find CLR method
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args): #cannot find CLR method
""" __exit__(self: IDisposable, exc_type: object, exc_value: object, exc_back: object) """
pass
def __init__(self, *args): #cannot find CLR method
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod # known case of __new__
def __new__(self, width, height, flangeThickness, webThickness, webFillet, flangeFillet, centroidHorizontal, centroidVertical, principalAxesAngle, sectionArea, perimeter, nominalWeight, momentOfInertiaStrongAxis, momentOfInertiaWeakAxis, elasticModulusStrongAxis, elasticModulusWeakAxis, plasticModulusStrongAxis, plasticModulusWeakAxis, torsionalMomentOfInertia, torsionalModulus, warpingConstant, shearAreaStrongAxis, shearAreaWeakAxis, clearWebHeight, webToeOfFillet, boltSpacing, boltDiameter):
""" __new__(cls: type, width: float, height: float, flangeThickness: float, webThickness: float, webFillet: float, flangeFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, clearWebHeight: float, webToeOfFillet: float, boltSpacing: float, boltDiameter: float) """
pass
BoltDiameter = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Maximum bolt hole diameter, in. (mm)
Get: BoltDiameter(self: StructuralSectionISlopedFlange) -> float
Set: BoltDiameter(self: StructuralSectionISlopedFlange) = value
"""
BoltSpacing = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Standard bolt spacing, in. (mm)
Get: BoltSpacing(self: StructuralSectionISlopedFlange) -> float
Set: BoltSpacing(self: StructuralSectionISlopedFlange) = value
"""
ClearWebHeight = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Detailing depth between the web toes of the fillets, in.(mm)
Get: ClearWebHeight(self: StructuralSectionISlopedFlange) -> float
Set: ClearWebHeight(self: StructuralSectionISlopedFlange) = value
"""
FlangeFillet = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Flange Fillet - fillet radius at the flange end.
Get: FlangeFillet(self: StructuralSectionISlopedFlange) -> float
Set: FlangeFillet(self: StructuralSectionISlopedFlange) = value
"""
WebToeOfFillet = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Detailing distance from outer face of flange to web toe of fillet, in. (mm)
Get: WebToeOfFillet(self: StructuralSectionISlopedFlange) -> float
Set: WebToeOfFillet(self: StructuralSectionISlopedFlange) = value
"""
class StructuralSectionISplitParallelFlange(StructuralSectionHotRolled, IDisposable):
"""
Defines parameters for I-split Parallel Flange structural section.
StructuralSectionISplitParallelFlange(width: float, height: float, flangeThickness: float, webThickness: float, webFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, clearWebHeight: float, flangeToeOfFillet: float, webToeOfFillet: float, boltSpacing: float, boltDiameter: float)
"""
def Dispose(self):
""" Dispose(self: StructuralSection, A_0: bool) """
pass
def ReleaseUnmanagedResources(self, *args): #cannot find CLR method
""" ReleaseUnmanagedResources(self: StructuralSection, disposing: bool) """
pass
def __enter__(self, *args): #cannot find CLR method
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args): #cannot find CLR method
""" __exit__(self: IDisposable, exc_type: object, exc_value: object, exc_back: object) """
pass
def __init__(self, *args): #cannot find CLR method
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod # known case of __new__
def __new__(self, width, height, flangeThickness, webThickness, webFillet, centroidHorizontal, centroidVertical, principalAxesAngle, sectionArea, perimeter, nominalWeight, momentOfInertiaStrongAxis, momentOfInertiaWeakAxis, elasticModulusStrongAxis, elasticModulusWeakAxis, plasticModulusStrongAxis, plasticModulusWeakAxis, torsionalMomentOfInertia, torsionalModulus, warpingConstant, shearAreaStrongAxis, shearAreaWeakAxis, clearWebHeight, flangeToeOfFillet, webToeOfFillet, boltSpacing, boltDiameter):
""" __new__(cls: type, width: float, height: float, flangeThickness: float, webThickness: float, webFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, clearWebHeight: float, flangeToeOfFillet: float, webToeOfFillet: float, boltSpacing: float, boltDiameter: float) """
pass
BoltDiameter = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Maximum bolt hole diameter, in. (mm)
Get: BoltDiameter(self: StructuralSectionISplitParallelFlange) -> float
Set: BoltDiameter(self: StructuralSectionISplitParallelFlange) = value
"""
BoltSpacing = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Standard bolt spacing, in. (mm)
Get: BoltSpacing(self: StructuralSectionISplitParallelFlange) -> float
Set: BoltSpacing(self: StructuralSectionISplitParallelFlange) = value
"""
ClearWebHeight = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Detailing depth between the web toes of the fillets, in.(mm)
Get: ClearWebHeight(self: StructuralSectionISplitParallelFlange) -> float
Set: ClearWebHeight(self: StructuralSectionISplitParallelFlange) = value
"""
FlangeToeOfFillet = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Detailing distance from center of web to flange toe of fillet, in. (mm)
Get: FlangeToeOfFillet(self: StructuralSectionISplitParallelFlange) -> float
Set: FlangeToeOfFillet(self: StructuralSectionISplitParallelFlange) = value
"""
WebToeOfFillet = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Detailing distance from outer face of flange to web toe of fillet, in. (mm)
Get: WebToeOfFillet(self: StructuralSectionISplitParallelFlange) -> float
Set: WebToeOfFillet(self: StructuralSectionISplitParallelFlange) = value
"""
class StructuralSectionISplitSlopedFlange(StructuralSectionHotRolled, IDisposable):
"""
Defines parameters for I-split Sloped Flange structural section.
StructuralSectionISplitSlopedFlange(width: float, height: float, flangeThickness: float, webThickness: float, webFillet: float, flangeFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, clearWebHeight: float, webToeOfFillet: float, boltSpacing: float, boltDiameter: float)
"""
def Dispose(self):
""" Dispose(self: StructuralSection, A_0: bool) """
pass
def ReleaseUnmanagedResources(self, *args): #cannot find CLR method
""" ReleaseUnmanagedResources(self: StructuralSection, disposing: bool) """
pass
def __enter__(self, *args): #cannot find CLR method
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args): #cannot find CLR method
""" __exit__(self: IDisposable, exc_type: object, exc_value: object, exc_back: object) """
pass
def __init__(self, *args): #cannot find CLR method
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod # known case of __new__
def __new__(self, width, height, flangeThickness, webThickness, webFillet, flangeFillet, centroidHorizontal, centroidVertical, principalAxesAngle, sectionArea, perimeter, nominalWeight, momentOfInertiaStrongAxis, momentOfInertiaWeakAxis, elasticModulusStrongAxis, elasticModulusWeakAxis, plasticModulusStrongAxis, plasticModulusWeakAxis, torsionalMomentOfInertia, torsionalModulus, warpingConstant, shearAreaStrongAxis, shearAreaWeakAxis, clearWebHeight, webToeOfFillet, boltSpacing, boltDiameter):
""" __new__(cls: type, width: float, height: float, flangeThickness: float, webThickness: float, webFillet: float, flangeFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, clearWebHeight: float, webToeOfFillet: float, boltSpacing: float, boltDiameter: float) """
pass
BoltDiameter = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Maximum bolt hole diameter, in. (mm)
Get: BoltDiameter(self: StructuralSectionISplitSlopedFlange) -> float
Set: BoltDiameter(self: StructuralSectionISplitSlopedFlange) = value
"""
BoltSpacing = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Standard bolt spacing, in. (mm)
Get: BoltSpacing(self: StructuralSectionISplitSlopedFlange) -> float
Set: BoltSpacing(self: StructuralSectionISplitSlopedFlange) = value
"""
ClearWebHeight = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Detailing depth between the web toes of the fillets, in.(mm)
Get: ClearWebHeight(self: StructuralSectionISplitSlopedFlange) -> float
Set: ClearWebHeight(self: StructuralSectionISplitSlopedFlange) = value
"""
FlangeFillet = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Flange Fillet - fillet radius at the flange end.
Get: FlangeFillet(self: StructuralSectionISplitSlopedFlange) -> float
Set: FlangeFillet(self: StructuralSectionISplitSlopedFlange) = value
"""
WebToeOfFillet = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Detailing distance from outer face of flange to web toe of fillet, in. (mm)
Get: WebToeOfFillet(self: StructuralSectionISplitSlopedFlange) -> float
Set: WebToeOfFillet(self: StructuralSectionISplitSlopedFlange) = value
"""
class StructuralSectionIWelded(StructuralSectionRectangular, IDisposable):
"""
Defines parameters for I-shape Welded structural section.
StructuralSectionIWelded(width: float, height: float, topFlangeThickness: float, topFlangeWidth: float, bottomFlangeThickness: float, bottomFlangeWidth: float, webThickness: float, webHeight: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float)
"""
def Dispose(self):
""" Dispose(self: StructuralSection, A_0: bool) """
pass
def ReleaseUnmanagedResources(self, *args): #cannot find CLR method
""" ReleaseUnmanagedResources(self: StructuralSection, disposing: bool) """
pass
def __enter__(self, *args): #cannot find CLR method
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args): #cannot find CLR method
""" __exit__(self: IDisposable, exc_type: object, exc_value: object, exc_back: object) """
pass
def __init__(self, *args): #cannot find CLR method
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod # known case of __new__
def __new__(self, width, height, topFlangeThickness, topFlangeWidth, bottomFlangeThickness, bottomFlangeWidth, webThickness, webHeight, centroidHorizontal, centroidVertical, principalAxesAngle, sectionArea, perimeter, nominalWeight, momentOfInertiaStrongAxis, momentOfInertiaWeakAxis, elasticModulusStrongAxis, elasticModulusWeakAxis, plasticModulusStrongAxis, plasticModulusWeakAxis, torsionalMomentOfInertia, torsionalModulus, warpingConstant, shearAreaStrongAxis, shearAreaWeakAxis):
""" __new__(cls: type, width: float, height: float, topFlangeThickness: float, topFlangeWidth: float, bottomFlangeThickness: float, bottomFlangeWidth: float, webThickness: float, webHeight: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float) """
pass
BottomFlangeThickness = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Bottom Flange Thickness.
Get: BottomFlangeThickness(self: StructuralSectionIWelded) -> float
Set: BottomFlangeThickness(self: StructuralSectionIWelded) = value
"""
BottomFlangeWidth = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Bottom Flange Width.
Get: BottomFlangeWidth(self: StructuralSectionIWelded) -> float
Set: BottomFlangeWidth(self: StructuralSectionIWelded) = value
"""
TopFlangeThickness = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Top Flange Thickness.
Get: TopFlangeThickness(self: StructuralSectionIWelded) -> float
Set: TopFlangeThickness(self: StructuralSectionIWelded) = value
"""
TopFlangeWidth = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Top Flange Width.
Get: TopFlangeWidth(self: StructuralSectionIWelded) -> float
Set: TopFlangeWidth(self: StructuralSectionIWelded) = value
"""
WebHeight = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Web Height.
Get: WebHeight(self: StructuralSectionIWelded) -> float
Set: WebHeight(self: StructuralSectionIWelded) = value
"""
WebThickness = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Web Thickness.
Get: WebThickness(self: StructuralSectionIWelded) -> float
Set: WebThickness(self: StructuralSectionIWelded) = value
"""
class StructuralSectionIWideFlange(StructuralSectionHotRolled, IDisposable):
"""
Defines parameters for I-shape Wide Flange structural section.
StructuralSectionIWideFlange(width: float, height: float, flangeThickness: float, webThickness: float, webFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, clearWebHeight: float, flangeToeOfFillet: float, webToeOfFillet: float, boltSpacing: float, boltSpacingTwoRows: float, boltSpacingBetweenRows: float, boltDiameter: float)
"""
def Dispose(self):
""" Dispose(self: StructuralSection, A_0: bool) """
pass
def ReleaseUnmanagedResources(self, *args): #cannot find CLR method
""" ReleaseUnmanagedResources(self: StructuralSection, disposing: bool) """
pass
def __enter__(self, *args): #cannot find CLR method
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args): #cannot find CLR method
""" __exit__(self: IDisposable, exc_type: object, exc_value: object, exc_back: object) """
pass
def __init__(self, *args): #cannot find CLR method
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod # known case of __new__
def __new__(self, width, height, flangeThickness, webThickness, webFillet, centroidHorizontal, centroidVertical, principalAxesAngle, sectionArea, perimeter, nominalWeight, momentOfInertiaStrongAxis, momentOfInertiaWeakAxis, elasticModulusStrongAxis, elasticModulusWeakAxis, plasticModulusStrongAxis, plasticModulusWeakAxis, torsionalMomentOfInertia, torsionalModulus, warpingConstant, shearAreaStrongAxis, shearAreaWeakAxis, clearWebHeight, flangeToeOfFillet, webToeOfFillet, boltSpacing, boltSpacingTwoRows, boltSpacingBetweenRows, boltDiameter):
""" __new__(cls: type, width: float, height: float, flangeThickness: float, webThickness: float, webFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, clearWebHeight: float, flangeToeOfFillet: float, webToeOfFillet: float, boltSpacing: float, boltSpacingTwoRows: float, boltSpacingBetweenRows: float, boltDiameter: float) """
pass
BoltDiameter = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Maximum bolt hole diameter, in. (mm)
Get: BoltDiameter(self: StructuralSectionIWideFlange) -> float
Set: BoltDiameter(self: StructuralSectionIWideFlange) = value
"""
BoltSpacing = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Standard bolt spacing, in. (mm)
Get: BoltSpacing(self: StructuralSectionIWideFlange) -> float
Set: BoltSpacing(self: StructuralSectionIWideFlange) = value
"""
BoltSpacingBetweenRows = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Standard bolt spacing between rows, in. (mm)
Get: BoltSpacingBetweenRows(self: StructuralSectionIWideFlange) -> float
Set: BoltSpacingBetweenRows(self: StructuralSectionIWideFlange) = value
"""
BoltSpacingTwoRows = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Standard bolt spacing for two rows , in. (mm)
Get: BoltSpacingTwoRows(self: StructuralSectionIWideFlange) -> float
Set: BoltSpacingTwoRows(self: StructuralSectionIWideFlange) = value
"""
ClearWebHeight = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Detailing depth between the web toes of the fillets, in.(mm)
Get: ClearWebHeight(self: StructuralSectionIWideFlange) -> float
Set: ClearWebHeight(self: StructuralSectionIWideFlange) = value
"""
FlangeToeOfFillet = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Detailing distance from center of web to flange toe of fillet, in. (mm)
Get: FlangeToeOfFillet(self: StructuralSectionIWideFlange) -> float
Set: FlangeToeOfFillet(self: StructuralSectionIWideFlange) = value
"""
WebToeOfFillet = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Detailing distance from outer face of flange to web toe of fillet, in. (mm)
Get: WebToeOfFillet(self: StructuralSectionIWideFlange) -> float
Set: WebToeOfFillet(self: StructuralSectionIWideFlange) = value
"""
class StructuralSectionLAngle(StructuralSectionHotRolled, IDisposable):
"""
Defines parameters for L-angle Flange structural section.
StructuralSectionLAngle(width: float, height: float, flangeThickness: float, webThickness: float, webFillet: float, flangeFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, boltSpacing1LongerFlange: float, boltSpacing2LongerFlange: float, boltSpacingShorterFlange: float, boltDiameterLongerFlange: float, boltDiameterShorterFlange: float)
"""
def Dispose(self):
""" Dispose(self: StructuralSection, A_0: bool) """
pass
def ReleaseUnmanagedResources(self, *args): #cannot find CLR method
""" ReleaseUnmanagedResources(self: StructuralSection, disposing: bool) """
pass
def __enter__(self, *args): #cannot find CLR method
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args): #cannot find CLR method
""" __exit__(self: IDisposable, exc_type: object, exc_value: object, exc_back: object) """
pass
def __init__(self, *args): #cannot find CLR method
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod # known case of __new__
def __new__(self, width, height, flangeThickness, webThickness, webFillet, flangeFillet, centroidHorizontal, centroidVertical, principalAxesAngle, sectionArea, perimeter, nominalWeight, momentOfInertiaStrongAxis, momentOfInertiaWeakAxis, elasticModulusStrongAxis, elasticModulusWeakAxis, plasticModulusStrongAxis, plasticModulusWeakAxis, torsionalMomentOfInertia, torsionalModulus, warpingConstant, shearAreaStrongAxis, shearAreaWeakAxis, boltSpacing1LongerFlange, boltSpacing2LongerFlange, boltSpacingShorterFlange, boltDiameterLongerFlange, boltDiameterShorterFlange):
""" __new__(cls: type, width: float, height: float, flangeThickness: float, webThickness: float, webFillet: float, flangeFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, boltSpacing1LongerFlange: float, boltSpacing2LongerFlange: float, boltSpacingShorterFlange: float, boltDiameterLongerFlange: float, boltDiameterShorterFlange: float) """
pass
BoltDiameterLongerFlange = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Maximum bolt hole diameter in the longer flange, in. (mm)
Get: BoltDiameterLongerFlange(self: StructuralSectionLAngle) -> float
Set: BoltDiameterLongerFlange(self: StructuralSectionLAngle) = value
"""
BoltDiameterShorterFlange = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Maximum bolt hole diameter in the shorter flange, in. (mm)
Get: BoltDiameterShorterFlange(self: StructuralSectionLAngle) -> float
Set: BoltDiameterShorterFlange(self: StructuralSectionLAngle) = value
"""
BoltSpacing1LongerFlange = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Standard bolt spacing first row in the longer flange, in. (mm)
Get: BoltSpacing1LongerFlange(self: StructuralSectionLAngle) -> float
Set: BoltSpacing1LongerFlange(self: StructuralSectionLAngle) = value
"""
BoltSpacing2LongerFlange = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Standard bolt spacing second row in the longer flange, in. (mm)
Get: BoltSpacing2LongerFlange(self: StructuralSectionLAngle) -> float
Set: BoltSpacing2LongerFlange(self: StructuralSectionLAngle) = value
"""
BoltSpacingShorterFlange = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Standard bolt spacing in the shorter flange, in. (mm)
Get: BoltSpacingShorterFlange(self: StructuralSectionLAngle) -> float
Set: BoltSpacingShorterFlange(self: StructuralSectionLAngle) = value
"""
FlangeFillet = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Flange Fillet - fillet radius at the flange end.
Get: FlangeFillet(self: StructuralSectionLAngle) -> float
Set: FlangeFillet(self: StructuralSectionLAngle) = value
"""
class StructuralSectionLProfile(StructuralSectionColdFormed, IDisposable):
"""
Defines parameters for L profile structural section.
StructuralSectionLProfile(width: float, height: float, wallNominalThickness: float, wallDesignThickness: float, innerFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float)
"""
def Dispose(self):
""" Dispose(self: StructuralSection, A_0: bool) """
pass
def ReleaseUnmanagedResources(self, *args): #cannot find CLR method
""" ReleaseUnmanagedResources(self: StructuralSection, disposing: bool) """
pass
def __enter__(self, *args): #cannot find CLR method
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args): #cannot find CLR method
""" __exit__(self: IDisposable, exc_type: object, exc_value: object, exc_back: object) """
pass
def __init__(self, *args): #cannot find CLR method
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod # known case of __new__
def __new__(self, width, height, wallNominalThickness, wallDesignThickness, innerFillet, centroidHorizontal, centroidVertical, principalAxesAngle, sectionArea, perimeter, nominalWeight, momentOfInertiaStrongAxis, momentOfInertiaWeakAxis, elasticModulusStrongAxis, elasticModulusWeakAxis, plasticModulusStrongAxis, plasticModulusWeakAxis, torsionalMomentOfInertia, torsionalModulus, warpingConstant, shearAreaStrongAxis, shearAreaWeakAxis):
""" __new__(cls: type, width: float, height: float, wallNominalThickness: float, wallDesignThickness: float, innerFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float) """
pass
class StructuralSectionLProfileWithLips(StructuralSectionColdFormed, IDisposable):
"""
Defines parameters for L Profile with lips structural section.
StructuralSectionLProfileWithLips(width: float, height: float, wallNominalThickness: float, wallDesignThickness: float, innerFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, lipLength: float)
"""
def Dispose(self):
""" Dispose(self: StructuralSection, A_0: bool) """
pass
def ReleaseUnmanagedResources(self, *args): #cannot find CLR method
""" ReleaseUnmanagedResources(self: StructuralSection, disposing: bool) """
pass
def __enter__(self, *args): #cannot find CLR method
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args): #cannot find CLR method
""" __exit__(self: IDisposable, exc_type: object, exc_value: object, exc_back: object) """
pass
def __init__(self, *args): #cannot find CLR method
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod # known case of __new__
def __new__(self, width, height, wallNominalThickness, wallDesignThickness, innerFillet, centroidHorizontal, centroidVertical, principalAxesAngle, sectionArea, perimeter, nominalWeight, momentOfInertiaStrongAxis, momentOfInertiaWeakAxis, elasticModulusStrongAxis, elasticModulusWeakAxis, plasticModulusStrongAxis, plasticModulusWeakAxis, torsionalMomentOfInertia, torsionalModulus, warpingConstant, shearAreaStrongAxis, shearAreaWeakAxis, lipLength):
""" __new__(cls: type, width: float, height: float, wallNominalThickness: float, wallDesignThickness: float, innerFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, lipLength: float) """
pass
LipLength = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Lip segment length.
Get: LipLength(self: StructuralSectionLProfileWithLips) -> float
Set: LipLength(self: StructuralSectionLProfileWithLips) = value
"""
class StructuralSectionPipeStandard(StructuralSectionRound, IDisposable):
"""
Defines parameters for pipes also known as RoundHSS or HollowStructuralSection (HSS).
StructuralSectionPipeStandard(diameter: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, wallNominalThickness: float, wallDesignThickness: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float)
"""
def Dispose(self):
""" Dispose(self: StructuralSection, A_0: bool) """
pass
def ReleaseUnmanagedResources(self, *args): #cannot find CLR method
""" ReleaseUnmanagedResources(self: StructuralSection, disposing: bool) """
pass
def __enter__(self, *args): #cannot find CLR method
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args): #cannot find CLR method
""" __exit__(self: IDisposable, exc_type: object, exc_value: object, exc_back: object) """
pass
def __init__(self, *args): #cannot find CLR method
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod # known case of __new__
def __new__(self, diameter, centroidHorizontal, centroidVertical, principalAxesAngle, wallNominalThickness, wallDesignThickness, sectionArea, perimeter, nominalWeight, momentOfInertiaStrongAxis, momentOfInertiaWeakAxis, elasticModulusStrongAxis, elasticModulusWeakAxis, plasticModulusStrongAxis, plasticModulusWeakAxis, torsionalMomentOfInertia, torsionalModulus, warpingConstant, shearAreaStrongAxis, shearAreaWeakAxis):
""" __new__(cls: type, diameter: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, wallNominalThickness: float, wallDesignThickness: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float) """
pass
WallDesignThickness = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Represents wall design thickness of rectangle.
Get: WallDesignThickness(self: StructuralSectionPipeStandard) -> float
Set: WallDesignThickness(self: StructuralSectionPipeStandard) = value
"""
WallNominalThickness = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Represents wall nominal thickness of rectangle.
Get: WallNominalThickness(self: StructuralSectionPipeStandard) -> float
Set: WallNominalThickness(self: StructuralSectionPipeStandard) = value
"""
class StructuralSectionRectangleHSS(StructuralSectionRectangular, IDisposable):
"""
Defines parameters for parameterized rectangle HSS structural section.
StructuralSectionRectangleHSS(width: float, height: float, wallNominalThickness: float, wallDesignThickness: float, innerFillet: float, outerFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float)
"""
def Dispose(self):
""" Dispose(self: StructuralSection, A_0: bool) """
pass
def ReleaseUnmanagedResources(self, *args): #cannot find CLR method
""" ReleaseUnmanagedResources(self: StructuralSection, disposing: bool) """
pass
def __enter__(self, *args): #cannot find CLR method
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args): #cannot find CLR method
""" __exit__(self: IDisposable, exc_type: object, exc_value: object, exc_back: object) """
pass
def __init__(self, *args): #cannot find CLR method
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod # known case of __new__
def __new__(self, width, height, wallNominalThickness, wallDesignThickness, innerFillet, outerFillet, centroidHorizontal, centroidVertical, principalAxesAngle, sectionArea, perimeter, nominalWeight, momentOfInertiaStrongAxis, momentOfInertiaWeakAxis, elasticModulusStrongAxis, elasticModulusWeakAxis, plasticModulusStrongAxis, plasticModulusWeakAxis, torsionalMomentOfInertia, torsionalModulus, warpingConstant, shearAreaStrongAxis, shearAreaWeakAxis):
""" __new__(cls: type, width: float, height: float, wallNominalThickness: float, wallDesignThickness: float, innerFillet: float, outerFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float) """
pass
InnerFillet = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Inner Fillet - Corner fillet inner radius.
Get: InnerFillet(self: StructuralSectionRectangleHSS) -> float
Set: InnerFillet(self: StructuralSectionRectangleHSS) = value
"""
OuterFillet = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Outer Fillet - Corner fillet outer radius.
Get: OuterFillet(self: StructuralSectionRectangleHSS) -> float
Set: OuterFillet(self: StructuralSectionRectangleHSS) = value
"""
WallDesignThickness = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Represents wall design thickness of rectangle.
Get: WallDesignThickness(self: StructuralSectionRectangleHSS) -> float
Set: WallDesignThickness(self: StructuralSectionRectangleHSS) = value
"""
WallNominalThickness = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Represents wall nominal thickness of rectangle.
Get: WallNominalThickness(self: StructuralSectionRectangleHSS) -> float
Set: WallNominalThickness(self: StructuralSectionRectangleHSS) = value
"""
class StructuralSectionRectangleParameterized(StructuralSectionRectangular, IDisposable):
"""
Defines parameters for parameterized rectangle structural section.
StructuralSectionRectangleParameterized(width: float, height: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float)
"""
def Dispose(self):
""" Dispose(self: StructuralSection, A_0: bool) """
pass
def ReleaseUnmanagedResources(self, *args): #cannot find CLR method
""" ReleaseUnmanagedResources(self: StructuralSection, disposing: bool) """
pass
def __enter__(self, *args): #cannot find CLR method
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args): #cannot find CLR method
""" __exit__(self: IDisposable, exc_type: object, exc_value: object, exc_back: object) """
pass
def __init__(self, *args): #cannot find CLR method
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod # known case of __new__
def __new__(self, width, height, centroidHorizontal, centroidVertical, principalAxesAngle, sectionArea, perimeter, nominalWeight, momentOfInertiaStrongAxis, momentOfInertiaWeakAxis, elasticModulusStrongAxis, elasticModulusWeakAxis, plasticModulusStrongAxis, plasticModulusWeakAxis, torsionalMomentOfInertia, torsionalModulus, warpingConstant, shearAreaStrongAxis, shearAreaWeakAxis):
""" __new__(cls: type, width: float, height: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float) """
pass
class StructuralSectionRectangularBar(StructuralSectionRectangular, IDisposable):
"""
Defines parameters for Rectangular Bar structural section.
StructuralSectionRectangularBar(width: float, height: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float)
"""
def Dispose(self):
""" Dispose(self: StructuralSection, A_0: bool) """
pass
def ReleaseUnmanagedResources(self, *args): #cannot find CLR method
""" ReleaseUnmanagedResources(self: StructuralSection, disposing: bool) """
pass
def __enter__(self, *args): #cannot find CLR method
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args): #cannot find CLR method
""" __exit__(self: IDisposable, exc_type: object, exc_value: object, exc_back: object) """
pass
def __init__(self, *args): #cannot find CLR method
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod # known case of __new__
def __new__(self, width, height, centroidHorizontal, centroidVertical, principalAxesAngle, sectionArea, perimeter, nominalWeight, momentOfInertiaStrongAxis, momentOfInertiaWeakAxis, elasticModulusStrongAxis, elasticModulusWeakAxis, plasticModulusStrongAxis, plasticModulusWeakAxis, torsionalMomentOfInertia, torsionalModulus, warpingConstant, shearAreaStrongAxis, shearAreaWeakAxis):
""" __new__(cls: type, width: float, height: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float) """
pass
class StructuralSectionRoundBar(StructuralSectionRound, IDisposable):
"""
Defines parameters for Round Bar structural section.
StructuralSectionRoundBar(diameter: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float)
"""
def Dispose(self):
""" Dispose(self: StructuralSection, A_0: bool) """
pass
def ReleaseUnmanagedResources(self, *args): #cannot find CLR method
""" ReleaseUnmanagedResources(self: StructuralSection, disposing: bool) """
pass
def __enter__(self, *args): #cannot find CLR method
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args): #cannot find CLR method
""" __exit__(self: IDisposable, exc_type: object, exc_value: object, exc_back: object) """
pass
def __init__(self, *args): #cannot find CLR method
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod # known case of __new__
def __new__(self, diameter, centroidHorizontal, centroidVertical, principalAxesAngle, sectionArea, perimeter, nominalWeight, momentOfInertiaStrongAxis, momentOfInertiaWeakAxis, elasticModulusStrongAxis, elasticModulusWeakAxis, plasticModulusStrongAxis, plasticModulusWeakAxis, torsionalMomentOfInertia, torsionalModulus, warpingConstant, shearAreaStrongAxis, shearAreaWeakAxis):
""" __new__(cls: type, diameter: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float) """
pass
class StructuralSectionRoundHSS(StructuralSectionRound, IDisposable):
"""
Defines parameters for pipes known as Round HSS (HollowStructuralSection).
StructuralSectionRoundHSS(diameter: float, wallNominalThickness: float, wallDesignThickness: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float)
"""
def Dispose(self):
""" Dispose(self: StructuralSection, A_0: bool) """
pass
def ReleaseUnmanagedResources(self, *args): #cannot find CLR method
""" ReleaseUnmanagedResources(self: StructuralSection, disposing: bool) """
pass
def __enter__(self, *args): #cannot find CLR method
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args): #cannot find CLR method
""" __exit__(self: IDisposable, exc_type: object, exc_value: object, exc_back: object) """
pass
def __init__(self, *args): #cannot find CLR method
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod # known case of __new__
def __new__(self, diameter, wallNominalThickness, wallDesignThickness, centroidHorizontal, centroidVertical, principalAxesAngle, sectionArea, perimeter, nominalWeight, momentOfInertiaStrongAxis, momentOfInertiaWeakAxis, elasticModulusStrongAxis, elasticModulusWeakAxis, plasticModulusStrongAxis, plasticModulusWeakAxis, torsionalMomentOfInertia, torsionalModulus, warpingConstant, shearAreaStrongAxis, shearAreaWeakAxis):
""" __new__(cls: type, diameter: float, wallNominalThickness: float, wallDesignThickness: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float) """
pass
WallDesignThickness = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Represents wall design thickness of pipe.
Get: WallDesignThickness(self: StructuralSectionRoundHSS) -> float
Set: WallDesignThickness(self: StructuralSectionRoundHSS) = value
"""
WallNominalThickness = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Represents wall nominal thickness of pipe.
Get: WallNominalThickness(self: StructuralSectionRoundHSS) -> float
Set: WallNominalThickness(self: StructuralSectionRoundHSS) = value
"""
class StructuralSectionShape(Enum, IComparable, IFormattable, IConvertible):
"""
Shapes for structural sections.
enum StructuralSectionShape, values: ConcreteCross (34), ConcreteRectangle (31), ConcreteRectangleCut (32), ConcreteRound (35), ConcreteT (33), CParallelFlange (9), CProfile (20), CProfileWithFold (22), CProfileWithLips (21), CSlopedFlange (10), Invalid (-1), IParallelFlange (6), ISlopedFlange (7), ISplitParallelFlange (17), ISplitSlopedFlange (18), IWelded (16), IWideFlange (8), LAngle (11), LProfile (23), LProfileWithLips (24), NotDefined (0), PipeStandard (5), RectangleHSS (14), RectangleParameterized (2), RectangularBar (12), RoundBar (13), RoundHSS (15), SigmaProfile (27), SigmaProfileWithFold (29), SigmaProfileWithLips (28), StructuralTees (19), UserDefined (30), ZProfile (25), ZProfileWithLips (26)
"""
def __eq__(self, *args): #cannot find CLR method
""" x.__eq__(y) <==> x==yx.__eq__(y) <==> x==yx.__eq__(y) <==> x==y """
pass
def __format__(self, *args): #cannot find CLR method
""" __format__(formattable: IFormattable, format: str) -> str """
pass
def __ge__(self, *args): #cannot find CLR method
pass
def __gt__(self, *args): #cannot find CLR method
pass
def __init__(self, *args): #cannot find CLR method
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
def __le__(self, *args): #cannot find CLR method
pass
def __lt__(self, *args): #cannot find CLR method
pass
def __ne__(self, *args): #cannot find CLR method
pass
def __reduce_ex__(self, *args): #cannot find CLR method
pass
def __str__(self, *args): #cannot find CLR method
pass
ConcreteCross = None
ConcreteRectangle = None
ConcreteRectangleCut = None
ConcreteRound = None
ConcreteT = None
CParallelFlange = None
CProfile = None
CProfileWithFold = None
CProfileWithLips = None
CSlopedFlange = None
Invalid = None
IParallelFlange = None
ISlopedFlange = None
ISplitParallelFlange = None
ISplitSlopedFlange = None
IWelded = None
IWideFlange = None
LAngle = None
LProfile = None
LProfileWithLips = None
NotDefined = None
PipeStandard = None
RectangleHSS = None
RectangleParameterized = None
RectangularBar = None
RoundBar = None
RoundHSS = None
SigmaProfile = None
SigmaProfileWithFold = None
SigmaProfileWithLips = None
StructuralTees = None
UserDefined = None
value__ = None
ZProfile = None
ZProfileWithLips = None
class StructuralSectionSigmaProfile(StructuralSectionColdFormed, IDisposable):
"""
Defines parameters for Sigma Profile structural section.
StructuralSectionSigmaProfile(width: float, height: float, wallNominalThickness: float, wallDesignThickness: float, innerFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, bendWidth: float, middleBendLength: float, topBendLength: float)
"""
def Dispose(self):
""" Dispose(self: StructuralSection, A_0: bool) """
pass
def ReleaseUnmanagedResources(self, *args): #cannot find CLR method
""" ReleaseUnmanagedResources(self: StructuralSection, disposing: bool) """
pass
def __enter__(self, *args): #cannot find CLR method
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args): #cannot find CLR method
""" __exit__(self: IDisposable, exc_type: object, exc_value: object, exc_back: object) """
pass
def __init__(self, *args): #cannot find CLR method
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod # known case of __new__
def __new__(self, width, height, wallNominalThickness, wallDesignThickness, innerFillet, centroidHorizontal, centroidVertical, principalAxesAngle, sectionArea, perimeter, nominalWeight, momentOfInertiaStrongAxis, momentOfInertiaWeakAxis, elasticModulusStrongAxis, elasticModulusWeakAxis, plasticModulusStrongAxis, plasticModulusWeakAxis, torsionalMomentOfInertia, torsionalModulus, warpingConstant, shearAreaStrongAxis, shearAreaWeakAxis, bendWidth, middleBendLength, topBendLength):
""" __new__(cls: type, width: float, height: float, wallNominalThickness: float, wallDesignThickness: float, innerFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, bendWidth: float, middleBendLength: float, topBendLength: float) """
pass
BendWidth = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Bend segment width.
Get: BendWidth(self: StructuralSectionSigmaProfile) -> float
Set: BendWidth(self: StructuralSectionSigmaProfile) = value
"""
MiddleBendLength = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Middle Bend segment length.
Get: MiddleBendLength(self: StructuralSectionSigmaProfile) -> float
Set: MiddleBendLength(self: StructuralSectionSigmaProfile) = value
"""
TopBendLength = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Top Bend segment length.
Get: TopBendLength(self: StructuralSectionSigmaProfile) -> float
Set: TopBendLength(self: StructuralSectionSigmaProfile) = value
"""
class StructuralSectionSigmaProfileWithFold(StructuralSectionColdFormed, IDisposable):
"""
Defines parameters for structural Sigma profile section with fold.
StructuralSectionSigmaProfileWithFold(width: float, height: float, wallNominalThickness: float, wallDesignThickness: float, innerFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, foldWidth: float, lipLength: float, bendWidth: float, middleBendLength: float, topBendLength: float)
"""
def Dispose(self):
""" Dispose(self: StructuralSection, A_0: bool) """
pass
def ReleaseUnmanagedResources(self, *args): #cannot find CLR method
""" ReleaseUnmanagedResources(self: StructuralSection, disposing: bool) """
pass
def __enter__(self, *args): #cannot find CLR method
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args): #cannot find CLR method
""" __exit__(self: IDisposable, exc_type: object, exc_value: object, exc_back: object) """
pass
def __init__(self, *args): #cannot find CLR method
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod # known case of __new__
def __new__(self, width, height, wallNominalThickness, wallDesignThickness, innerFillet, centroidHorizontal, centroidVertical, principalAxesAngle, sectionArea, perimeter, nominalWeight, momentOfInertiaStrongAxis, momentOfInertiaWeakAxis, elasticModulusStrongAxis, elasticModulusWeakAxis, plasticModulusStrongAxis, plasticModulusWeakAxis, torsionalMomentOfInertia, torsionalModulus, warpingConstant, shearAreaStrongAxis, shearAreaWeakAxis, foldWidth, lipLength, bendWidth, middleBendLength, topBendLength):
""" __new__(cls: type, width: float, height: float, wallNominalThickness: float, wallDesignThickness: float, innerFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, foldWidth: float, lipLength: float, bendWidth: float, middleBendLength: float, topBendLength: float) """
pass
BendWidth = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Bend segment width.
Get: BendWidth(self: StructuralSectionSigmaProfileWithFold) -> float
Set: BendWidth(self: StructuralSectionSigmaProfileWithFold) = value
"""
FoldWidth = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Fold segment width.
Get: FoldWidth(self: StructuralSectionSigmaProfileWithFold) -> float
Set: FoldWidth(self: StructuralSectionSigmaProfileWithFold) = value
"""
LipLength = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Lip segment length.
Get: LipLength(self: StructuralSectionSigmaProfileWithFold) -> float
Set: LipLength(self: StructuralSectionSigmaProfileWithFold) = value
"""
MiddleBendLength = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Middle Bend segment length.
Get: MiddleBendLength(self: StructuralSectionSigmaProfileWithFold) -> float
Set: MiddleBendLength(self: StructuralSectionSigmaProfileWithFold) = value
"""
TopBendLength = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Top Bend segment length.
Get: TopBendLength(self: StructuralSectionSigmaProfileWithFold) -> float
Set: TopBendLength(self: StructuralSectionSigmaProfileWithFold) = value
"""
class StructuralSectionSigmaProfileWithLips(StructuralSectionColdFormed, IDisposable):
"""
Defines parameters for structural Sigma Profile section with lips.
StructuralSectionSigmaProfileWithLips(width: float, height: float, wallNominalThickness: float, wallDesignThickness: float, innerFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, lipLength: float, bendWidth: float, middleBendLength: float, topBendLength: float)
"""
def Dispose(self):
""" Dispose(self: StructuralSection, A_0: bool) """
pass
def ReleaseUnmanagedResources(self, *args): #cannot find CLR method
""" ReleaseUnmanagedResources(self: StructuralSection, disposing: bool) """
pass
def __enter__(self, *args): #cannot find CLR method
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args): #cannot find CLR method
""" __exit__(self: IDisposable, exc_type: object, exc_value: object, exc_back: object) """
pass
def __init__(self, *args): #cannot find CLR method
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod # known case of __new__
def __new__(self, width, height, wallNominalThickness, wallDesignThickness, innerFillet, centroidHorizontal, centroidVertical, principalAxesAngle, sectionArea, perimeter, nominalWeight, momentOfInertiaStrongAxis, momentOfInertiaWeakAxis, elasticModulusStrongAxis, elasticModulusWeakAxis, plasticModulusStrongAxis, plasticModulusWeakAxis, torsionalMomentOfInertia, torsionalModulus, warpingConstant, shearAreaStrongAxis, shearAreaWeakAxis, lipLength, bendWidth, middleBendLength, topBendLength):
""" __new__(cls: type, width: float, height: float, wallNominalThickness: float, wallDesignThickness: float, innerFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, lipLength: float, bendWidth: float, middleBendLength: float, topBendLength: float) """
pass
BendWidth = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Bend segment width.
Get: BendWidth(self: StructuralSectionSigmaProfileWithLips) -> float
Set: BendWidth(self: StructuralSectionSigmaProfileWithLips) = value
"""
LipLength = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Lip segment length.
Get: LipLength(self: StructuralSectionSigmaProfileWithLips) -> float
Set: LipLength(self: StructuralSectionSigmaProfileWithLips) = value
"""
MiddleBendLength = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Middle Bend segment length.
Get: MiddleBendLength(self: StructuralSectionSigmaProfileWithLips) -> float
Set: MiddleBendLength(self: StructuralSectionSigmaProfileWithLips) = value
"""
TopBendLength = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Top Bend segment length.
Get: TopBendLength(self: StructuralSectionSigmaProfileWithLips) -> float
Set: TopBendLength(self: StructuralSectionSigmaProfileWithLips) = value
"""
class StructuralSectionStructuralTees(StructuralSectionHotRolled, IDisposable):
"""
Defines parameters for Structural Tees structural section.
StructuralSectionStructuralTees(width: float, height: float, flangeThickness: float, webThickness: float, webFillet: float, flangeFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, boltSpacing: float, boltSpacingWeb: float, boltDiameter: float)
"""
def Dispose(self):
""" Dispose(self: StructuralSection, A_0: bool) """
pass
def ReleaseUnmanagedResources(self, *args): #cannot find CLR method
""" ReleaseUnmanagedResources(self: StructuralSection, disposing: bool) """
pass
def __enter__(self, *args): #cannot find CLR method
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args): #cannot find CLR method
""" __exit__(self: IDisposable, exc_type: object, exc_value: object, exc_back: object) """
pass
def __init__(self, *args): #cannot find CLR method
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod # known case of __new__
def __new__(self, width, height, flangeThickness, webThickness, webFillet, flangeFillet, centroidHorizontal, centroidVertical, principalAxesAngle, sectionArea, perimeter, nominalWeight, momentOfInertiaStrongAxis, momentOfInertiaWeakAxis, elasticModulusStrongAxis, elasticModulusWeakAxis, plasticModulusStrongAxis, plasticModulusWeakAxis, torsionalMomentOfInertia, torsionalModulus, warpingConstant, shearAreaStrongAxis, shearAreaWeakAxis, boltSpacing, boltSpacingWeb, boltDiameter):
""" __new__(cls: type, width: float, height: float, flangeThickness: float, webThickness: float, webFillet: float, flangeFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, boltSpacing: float, boltSpacingWeb: float, boltDiameter: float) """
pass
BoltDiameter = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Maximum bolt hole diameter, in. (mm)
Get: BoltDiameter(self: StructuralSectionStructuralTees) -> float
Set: BoltDiameter(self: StructuralSectionStructuralTees) = value
"""
BoltSpacing = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Standard bolt spacing in the flange, in. (mm)
Get: BoltSpacing(self: StructuralSectionStructuralTees) -> float
Set: BoltSpacing(self: StructuralSectionStructuralTees) = value
"""
BoltSpacingWeb = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Standard bolt spacing in the web, in. (mm)
Get: BoltSpacingWeb(self: StructuralSectionStructuralTees) -> float
Set: BoltSpacingWeb(self: StructuralSectionStructuralTees) = value
"""
FlangeFillet = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Flange Fillet - fillet radius at the flange end.
Get: FlangeFillet(self: StructuralSectionStructuralTees) -> float
Set: FlangeFillet(self: StructuralSectionStructuralTees) = value
"""
class StructuralSectionUserDefined(StructuralSectionRectangular, IDisposable):
"""
Defines parameters for parameterized user defined structural section.
StructuralSectionUserDefined(width: float, height: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float)
"""
def Dispose(self):
""" Dispose(self: StructuralSection, A_0: bool) """
pass
def ReleaseUnmanagedResources(self, *args): #cannot find CLR method
""" ReleaseUnmanagedResources(self: StructuralSection, disposing: bool) """
pass
def __enter__(self, *args): #cannot find CLR method
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args): #cannot find CLR method
""" __exit__(self: IDisposable, exc_type: object, exc_value: object, exc_back: object) """
pass
def __init__(self, *args): #cannot find CLR method
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod # known case of __new__
def __new__(self, width, height, centroidHorizontal, centroidVertical, principalAxesAngle, sectionArea, perimeter, nominalWeight, momentOfInertiaStrongAxis, momentOfInertiaWeakAxis, elasticModulusStrongAxis, elasticModulusWeakAxis, plasticModulusStrongAxis, plasticModulusWeakAxis, torsionalMomentOfInertia, torsionalModulus, warpingConstant, shearAreaStrongAxis, shearAreaWeakAxis):
""" __new__(cls: type, width: float, height: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float) """
pass
class StructuralSectionUtils(object):
""" This class provides utilities related to Structural Section Properties. """
@staticmethod
def GetStructuralSection(document, familySymbolId):
"""
GetStructuralSection(document: Document, familySymbolId: ElementId) -> StructuralSection
Return structural section from element.
document: The document that owns the family for beam, brace or structural column.
familySymbolId: ID of family symbol for beam, brace or structural column.
Returns: Structural section returned if element have one.
For elements that do not
have structural section or can not have structural section ll will be returned.
"""
pass
@staticmethod
def SetStructuralSection(document, familySymbolId, structuralSection):
"""
SetStructuralSection(document: Document, familySymbolId: ElementId, structuralSection: StructuralSection) -> bool
Set structural section in element.
document: The document that owns the family for beam, brace or structural column.
familySymbolId: ID of family symbol for beam, brace or structural column.
structuralSection: Structural section with values that will be set.
Returns: True is returned when requested shape with values was properly set. Return
false otherwise.
"""
pass
__all__ = [
'GetStructuralSection',
'SetStructuralSection',
]
class StructuralSectionZProfile(StructuralSectionColdFormed, IDisposable):
"""
Defines parameters for Z Profile structural section.
StructuralSectionZProfile(width: float, height: float, wallNominalThickness: float, wallDesignThickness: float, innerFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, bottomFlangeLength: float)
"""
def Dispose(self):
""" Dispose(self: StructuralSection, A_0: bool) """
pass
def ReleaseUnmanagedResources(self, *args): #cannot find CLR method
""" ReleaseUnmanagedResources(self: StructuralSection, disposing: bool) """
pass
def __enter__(self, *args): #cannot find CLR method
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args): #cannot find CLR method
""" __exit__(self: IDisposable, exc_type: object, exc_value: object, exc_back: object) """
pass
def __init__(self, *args): #cannot find CLR method
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod # known case of __new__
def __new__(self, width, height, wallNominalThickness, wallDesignThickness, innerFillet, centroidHorizontal, centroidVertical, principalAxesAngle, sectionArea, perimeter, nominalWeight, momentOfInertiaStrongAxis, momentOfInertiaWeakAxis, elasticModulusStrongAxis, elasticModulusWeakAxis, plasticModulusStrongAxis, plasticModulusWeakAxis, torsionalMomentOfInertia, torsionalModulus, warpingConstant, shearAreaStrongAxis, shearAreaWeakAxis, bottomFlangeLength):
""" __new__(cls: type, width: float, height: float, wallNominalThickness: float, wallDesignThickness: float, innerFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, bottomFlangeLength: float) """
pass
BottomFlangeLength = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Bottom Flange segment length.
Get: BottomFlangeLength(self: StructuralSectionZProfile) -> float
Set: BottomFlangeLength(self: StructuralSectionZProfile) = value
"""
class StructuralSectionZProfileWithLips(StructuralSectionColdFormed, IDisposable):
"""
Defines parameters for Z Profile with lips structural section.
StructuralSectionZProfileWithLips(width: float, height: float, wallNominalThickness: float, wallDesignThickness: float, innerFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, bottomFlangeLength: float, lipLength: float)
"""
def Dispose(self):
""" Dispose(self: StructuralSection, A_0: bool) """
pass
def ReleaseUnmanagedResources(self, *args): #cannot find CLR method
""" ReleaseUnmanagedResources(self: StructuralSection, disposing: bool) """
pass
def __enter__(self, *args): #cannot find CLR method
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args): #cannot find CLR method
""" __exit__(self: IDisposable, exc_type: object, exc_value: object, exc_back: object) """
pass
def __init__(self, *args): #cannot find CLR method
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod # known case of __new__
def __new__(self, width, height, wallNominalThickness, wallDesignThickness, innerFillet, centroidHorizontal, centroidVertical, principalAxesAngle, sectionArea, perimeter, nominalWeight, momentOfInertiaStrongAxis, momentOfInertiaWeakAxis, elasticModulusStrongAxis, elasticModulusWeakAxis, plasticModulusStrongAxis, plasticModulusWeakAxis, torsionalMomentOfInertia, torsionalModulus, warpingConstant, shearAreaStrongAxis, shearAreaWeakAxis, bottomFlangeLength, lipLength):
""" __new__(cls: type, width: float, height: float, wallNominalThickness: float, wallDesignThickness: float, innerFillet: float, centroidHorizontal: float, centroidVertical: float, principalAxesAngle: float, sectionArea: float, perimeter: float, nominalWeight: float, momentOfInertiaStrongAxis: float, momentOfInertiaWeakAxis: float, elasticModulusStrongAxis: float, elasticModulusWeakAxis: float, plasticModulusStrongAxis: float, plasticModulusWeakAxis: float, torsionalMomentOfInertia: float, torsionalModulus: float, warpingConstant: float, shearAreaStrongAxis: float, shearAreaWeakAxis: float, bottomFlangeLength: float, lipLength: float) """
pass
BottomFlangeLength = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Bottom Flange segment length.
Get: BottomFlangeLength(self: StructuralSectionZProfileWithLips) -> float
Set: BottomFlangeLength(self: StructuralSectionZProfileWithLips) = value
"""
LipLength = property(lambda self: object(), lambda self, v: None, lambda self: None) # default
"""Lip segment length.
Get: LipLength(self: StructuralSectionZProfileWithLips) -> float
Set: LipLength(self: StructuralSectionZProfileWithLips) = value
"""
| 60.186455
| 783
| 0.743432
| 12,794
| 143,966
| 8.153744
| 0.038065
| 0.039398
| 0.021338
| 0.027435
| 0.815499
| 0.810437
| 0.806171
| 0.794371
| 0.788917
| 0.788917
| 0
| 0.00098
| 0.163928
| 143,966
| 2,391
| 784
| 60.211627
| 0.865701
| 0.465367
| 0
| 0.812412
| 0
| 0
| 0.000875
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.324401
| false
| 0.324401
| 0
| 0
| 0.623413
| 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
| 1
| 0
|
0
| 10
|
423b37e0b869960832816f8c62ae3d4b6f08f270
| 41
|
py
|
Python
|
example/abuse_ch/__init__.py
|
mlodic/cbfeeds
|
bb8b1f30d447b66a088ffbda8d04323989953bac
|
[
"MIT"
] | null | null | null |
example/abuse_ch/__init__.py
|
mlodic/cbfeeds
|
bb8b1f30d447b66a088ffbda8d04323989953bac
|
[
"MIT"
] | null | null | null |
example/abuse_ch/__init__.py
|
mlodic/cbfeeds
|
bb8b1f30d447b66a088ffbda8d04323989953bac
|
[
"MIT"
] | null | null | null |
from generate_abusech_feed import create
| 20.5
| 40
| 0.902439
| 6
| 41
| 5.833333
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.097561
| 41
| 1
| 41
| 41
| 0.945946
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
429a0462d3e8fe36b34cf12d30c21f3ad88a5a07
| 2,627
|
py
|
Python
|
soda/core/tests/data_source/test_table_filter.py
|
sodadata/soda-core
|
d9b98d4f6f3364c5eb8210e8288c4c861bcf8f8a
|
[
"Apache-2.0"
] | 4
|
2022-03-23T02:43:42.000Z
|
2022-03-31T15:20:54.000Z
|
soda/core/tests/data_source/test_table_filter.py
|
sodadata/soda-core
|
d9b98d4f6f3364c5eb8210e8288c4c861bcf8f8a
|
[
"Apache-2.0"
] | 543
|
2022-03-22T09:02:17.000Z
|
2022-03-31T16:29:41.000Z
|
soda/core/tests/data_source/test_table_filter.py
|
sodadata/soda-core
|
d9b98d4f6f3364c5eb8210e8288c4c861bcf8f8a
|
[
"Apache-2.0"
] | 1
|
2022-03-27T03:37:55.000Z
|
2022-03-27T03:37:55.000Z
|
from tests.helpers.common_test_tables import customers_test_table
from tests.helpers.data_source_fixture import DataSourceFixture
def test_filter_on_date(data_source_fixture: DataSourceFixture):
table_name = data_source_fixture.ensure_test_table(customers_test_table)
scan = data_source_fixture.create_test_scan()
scan.add_variables({"DATE": "2020-06-23"})
scan.add_sodacl_yaml_str(
f"""
filter {table_name} [daily]:
where: date = DATE '${{DATE}}'
checks for {table_name}:
- row_count = 10
- missing_count(cat) = 5
checks for {table_name} [daily]:
- row_count = 6
- missing_count(cat) = 2
"""
)
scan.execute()
scan.assert_all_checks_pass()
scan = data_source_fixture.create_test_scan()
scan.add_variables({"date": "2020-06-24"})
scan.add_sodacl_yaml_str(
f"""
filter {table_name} [daily]:
where: date = DATE '${{date}}'
checks for {table_name}:
- row_count = 10
- missing_count(cat) = 5
checks for {table_name} [daily]:
- row_count = 4
- missing_count(cat) = 3
"""
)
scan.execute()
scan.assert_all_checks_pass()
def test_table_filter_on_timestamp(data_source_fixture: DataSourceFixture):
table_name = data_source_fixture.ensure_test_table(customers_test_table)
scan = data_source_fixture.create_test_scan()
scan.add_variables({"ts_start": "2020-06-23 00:00:00", "ts_end": "2020-06-24 00:00:00"})
scan.add_sodacl_yaml_str(
f"""
filter {table_name} [daily]:
where: TIMESTAMP '${{ts_start}}' <= ts AND ts < TIMESTAMP '${{ts_end}}'
checks for {table_name}:
- row_count = 10
- missing_count(cat) = 5
checks for {table_name} [daily]:
- row_count = 6
- missing_count(cat) = 2
"""
)
scan.execute()
scan.assert_all_checks_pass()
scan = data_source_fixture.create_test_scan()
scan.add_variables({"ts_start": "2020-06-24 00:00:00", "ts_end": "2020-06-25 00:00:00"})
scan.add_sodacl_yaml_str(
f"""
filter {table_name} [daily]:
where: TIMESTAMP '${{ts_start}}' <= ts AND ts < TIMESTAMP '${{ts_end}}'
checks for {table_name}:
- row_count = 10
- missing_count(cat) = 5
checks for {table_name} [daily]:
- row_count = 4
- missing_count(cat) = 3
"""
)
scan.execute()
scan.assert_all_checks_pass()
| 28.868132
| 92
| 0.590407
| 327
| 2,627
| 4.40367
| 0.171254
| 0.0875
| 0.10625
| 0.1
| 0.883333
| 0.883333
| 0.880556
| 0.856944
| 0.856944
| 0.856944
| 0
| 0.049119
| 0.287019
| 2,627
| 90
| 93
| 29.188889
| 0.719701
| 0
| 0
| 0.8
| 0
| 0
| 0.541302
| 0
| 0
| 0
| 0
| 0
| 0.057143
| 1
| 0.028571
| false
| 0.057143
| 0.028571
| 0
| 0.057143
| 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
|
42a38600ee806d589156437f4dee1faa69c443fc
| 13,125
|
py
|
Python
|
tests/layers/test_transduction_layers.py
|
pmichel31415/dynet-nn
|
7e780c4dcf928cdff5f2e52210409d2775ca7796
|
[
"MIT"
] | 1
|
2019-09-04T13:19:47.000Z
|
2019-09-04T13:19:47.000Z
|
tests/layers/test_transduction_layers.py
|
pmichel31415/dynn
|
7e780c4dcf928cdff5f2e52210409d2775ca7796
|
[
"MIT"
] | null | null | null |
tests/layers/test_transduction_layers.py
|
pmichel31415/dynn
|
7e780c4dcf928cdff5f2e52210409d2775ca7796
|
[
"MIT"
] | null | null | null |
#!/usr/bin/env python3
from itertools import product
import unittest
from unittest import TestCase
import numpy as np
import dynet as dy
from dynn.layers import dense_layers, recurrent_layers, transduction_layers
class TestTransduction(TestCase):
def setUp(self):
self.pc = dy.ParameterCollection()
self.do = 10
self.di = 20
self.bz = 6
def test_feedforward_layer_transduction(self):
# Simple dense layer
dense = dense_layers.Affine(self.pc, self.di, self.do)
# Create transduction layer
tranductor = transduction_layers.Transduction(dense)
# Initialize computation graph
dy.renew_cg()
# Create inputs
seq = [dy.random_uniform(self.di, 0, i, self.bz) for i in range(10)]
# Initialize tranductor
tranductor.init(test=False, update=True)
# Run tranductor
outputs = tranductor(seq)
# Try forward/backward
z = dy.mean_batches(dy.sum_elems(dy.esum(outputs)))
z.forward()
z.backward()
class TestSequenceMaskingLayer(TestCase):
def setUp(self):
self.pc = dy.ParameterCollection()
self.do = 10
self.di = 20
self.bz = 6
self.lengths = [1, 2, 3, 4, 5, 6]
self.mask_value = 42.0
def test_left_padded(self):
# Create transduction layer
tranductor = transduction_layers.SequenceMaskingLayer(
mask_value=self.mask_value)
# Initialize computation graph
dy.renew_cg()
# Create inputs
seq = [dy.random_uniform(self.di, 0, i, self.bz) for i in range(6)]
# Initialize tranductor
tranductor.init(test=False, update=True)
# Run tranductor
outputs = tranductor(seq, self.lengths)
# Try forward/backward
z = dy.mean_batches(dy.sum_elems(dy.esum(outputs)))
z.forward()
z.backward(full=True)
# Check value
for idx, length in enumerate(self.lengths):
for step in range(length, len(seq)):
values = outputs[step].npvalue()[:, idx]
for value in values:
self.assertAlmostEquals(value, self.mask_value, 10)
# Check gradients
for idx, length in enumerate(self.lengths):
for step in range(length, len(seq)):
grad = seq[step].gradient()[:, idx]
self.assertAlmostEquals(np.abs(grad).sum(), 0, 10)
def test_right_padded(self):
# Create transduction layer
tranductor = transduction_layers.SequenceMaskingLayer(
mask_value=self.mask_value, left_padded=False)
# Initialize computation graph
dy.renew_cg()
# Create inputs
seq = [dy.random_uniform(self.di, 0, i, self.bz) for i in range(6)]
# Initialize tranductor
tranductor.init(test=False, update=True)
# Run tranductor
outputs = tranductor(seq, self.lengths)
# Try forward/backward
z = dy.mean_batches(dy.sum_elems(dy.esum(outputs)))
z.forward()
z.backward(full=True)
# Check dimensions
for x, state in zip(seq, outputs):
for s in state:
self.assertEqual(x.dim()[1], s.dim()[1])
# Check value
for idx, length in enumerate(self.lengths):
for step in range(len(seq)-length):
values = outputs[step].npvalue()[:, idx]
for value in values:
self.assertAlmostEquals(value, self.mask_value, 10)
value = outputs[0].npvalue()[0, 0]
self.assertAlmostEquals(value, self.mask_value, 10)
# Check gradients
for idx, length in enumerate(self.lengths):
for step in range(len(seq)-length):
grad = seq[step].gradient()[:, idx]
self.assertAlmostEquals(np.abs(grad).sum(), 0, 10)
class TestUnidirectional(TestCase):
def setUp(self):
self.pc = dy.ParameterCollection()
self.dh = 10
self.di = 20
self.bz = 6
self.dropout = 0.1
self.parameters_matrix = product(
[None, [1, 2, 3, 4, 5, 6], [4, 5, 6, 6, 1, 2]], # lengths
[False, True], # backward
[True, False], # left_padded
)
def _test_recurrent_layer_unidirectional_transduction(
self,
layer,
dummy_input,
lengths,
backward,
left_padded,
):
# Create transduction layer
tranductor = transduction_layers.Unidirectional(layer)
# Initialize computation graph
dy.renew_cg()
# Create inputs
seq = [
dy.inputTensor(dummy_input, batched=True) + i for i in range(10)
]
# Initialize tranductor
tranductor.init(test=False, update=True)
# Run tranductor
states = tranductor(
seq, lengths=lengths, backward=backward, left_padded=left_padded
)
# Try forward/backward
z = dy.mean_batches(
dy.esum([dy.sum_elems(state[0]) for state in states]))
z.forward()
z.backward(full=True)
# check masking
if lengths is not None:
for idx, length in enumerate(lengths):
if left_padded:
masked_steps = range(length, len(seq))
else:
masked_steps = range(len(seq)-length)
# Values
for step in masked_steps:
for state in states[step]:
values = state.npvalue()[:, idx]
for value in values:
self.assertAlmostEquals(value, 0, 10)
# Check gradients
grad = seq[step].gradient()[:, idx]
self.assertAlmostEquals(np.abs(grad).sum(), 0, 10)
def test_elman_rnn(self):
# Create lstm layer
lstm = recurrent_layers.ElmanRNN(
self.pc, self.di, self.dh, dropout=self.dropout
)
for lengths, backward, left_padded in self.parameters_matrix:
print(f"Testing with:")
print(f"- lengths=: {lengths}")
print(f"- backward=: {backward}")
print(f"- left_padded=: {left_padded}")
self._test_recurrent_layer_unidirectional_transduction(
lstm,
np.random.rand(self.di, self.bz),
lengths,
backward,
left_padded
)
def test_lstm(self):
# Create lstm layer
lstm = recurrent_layers.LSTM(
self.pc,
self.di,
self.dh,
dropout_x=self.dropout,
dropout_h=self.dropout,
)
for lengths, backward, left_padded in self.parameters_matrix:
print(f"Testing with:")
print(f"- lengths=: {lengths}")
print(f"- backward=: {backward}")
print(f"- left_padded=: {left_padded}")
self._test_recurrent_layer_unidirectional_transduction(
lstm,
np.random.rand(self.di, self.bz),
lengths,
backward,
left_padded
)
def test_stacked_lstm_rnn(self):
# Create lstm layer
cells = [
recurrent_layers.LSTM(
self.pc,
self.di,
self.dh-1,
dropout_x=self.dropout,
dropout_h=self.dropout,
),
recurrent_layers.ElmanRNN(
self.pc,
self.dh-1,
self.dh,
dropout=self.dropout,
),
]
stacked_cell = recurrent_layers.StackedRecurrentCells(*cells)
for lengths, backward, left_padded in self.parameters_matrix:
print(f"Testing with:")
print(f"- lengths=: {lengths}")
print(f"- backward=: {backward}")
print(f"- left_padded=: {left_padded}")
self._test_recurrent_layer_unidirectional_transduction(
stacked_cell,
np.random.rand(self.di, self.bz),
lengths,
backward,
left_padded
)
class TestBidirectional(TestCase):
def setUp(self):
self.pc = dy.ParameterCollection()
self.dh = 10
self.di = 20
self.bz = 6
self.dropout = 0.1
self.parameters_matrix = product(
[None, [1, 2, 3, 4, 5, 6], [4, 5, 6, 6, 1, 2]], # lengths
[True, False], # left_padded
)
def _test_recurrent_layer_bidirectional_transduction(
self,
fwd_layer,
bwd_layer,
dummy_input,
lengths,
left_padded,
):
# Create transduction layer
tranductor = transduction_layers.Bidirectional(
fwd_layer, bwd_layer)
# Initialize computation graph
dy.renew_cg()
# Create inputs
seq = [
dy.inputTensor(dummy_input, batched=True) + i for i in range(10)
]
# Initialize tranductor
tranductor.init(test=False, update=True)
# Run tranductor
fwd_states, bwd_states = tranductor(
seq, lengths=lengths, left_padded=left_padded
)
# Try forward/backward
fwd_z = dy.mean_batches(
dy.esum([dy.sum_elems(state[0]) for state in fwd_states])
)
bwd_z = dy.mean_batches(
dy.esum([dy.sum_elems(state[0]) for state in bwd_states])
)
z = fwd_z + bwd_z
z.forward()
z.backward()
# Check dimensions
for x, state in zip(seq, fwd_states):
for s in state:
self.assertEqual(x.dim()[1], s.dim()[1])
for x, state in zip(seq, bwd_states):
for s in state:
self.assertEqual(x.dim()[1], s.dim()[1])
# check masking
if lengths is not None:
for idx, length in enumerate(lengths):
if left_padded:
masked_steps = range(length, len(seq))
else:
masked_steps = range(len(seq)-length)
# Values
for step in masked_steps:
for state in fwd_states[step] + bwd_states[step]:
values = state.npvalue()[:, idx]
for value in values:
self.assertAlmostEquals(value, 0, 10)
# Check gradients
grad = seq[step].gradient()[:, idx]
self.assertAlmostEquals(np.abs(grad).sum(), 0, 10)
def test_bi_elman_rnn(self):
# Create rnn layers
fwd_rnn = recurrent_layers.ElmanRNN(
self.pc, self.di, self.dh, dropout=self.dropout
)
bwd_rnn = recurrent_layers.ElmanRNN(
self.pc, self.di, self.dh, dropout=self.dropout
)
for lengths, left_padded in self.parameters_matrix:
print(f"Testing with:")
print(f"- lengths=: {lengths}")
print(f"- left_padded=: {left_padded}")
self._test_recurrent_layer_bidirectional_transduction(
fwd_rnn,
bwd_rnn,
np.random.rand(self.di, self.bz),
lengths,
left_padded
)
def test_bi_lstm(self):
# Create lstm layers
fwd_lstm = recurrent_layers.LSTM(
self.pc,
self.di,
self.dh,
dropout_x=self.dropout,
dropout_h=self.dropout,
)
bwd_lstm = recurrent_layers.LSTM(
self.pc,
self.di,
self.dh,
dropout_x=self.dropout,
dropout_h=self.dropout,
)
for lengths, left_padded in self.parameters_matrix:
print(f"Testing with:")
print(f"- lengths=: {lengths}")
print(f"- left_padded=: {left_padded}")
self._test_recurrent_layer_bidirectional_transduction(
fwd_lstm,
bwd_lstm,
np.random.rand(self.di, self.bz),
lengths,
left_padded
)
def test_rnn_lstm(self):
# Create rnn/lstm layers
fwd_lstm = recurrent_layers.LSTM(
self.pc,
self.di,
self.dh,
dropout_x=self.dropout,
dropout_h=self.dropout,
)
bwd_rnn = recurrent_layers.ElmanRNN(
self.pc, self.di, self.dh, dropout=self.dropout
)
for lengths, left_padded in self.parameters_matrix:
print(f"Testing with:")
print(f"- lengths=: {lengths}")
print(f"- left_padded=: {left_padded}")
self._test_recurrent_layer_bidirectional_transduction(
fwd_lstm,
bwd_rnn,
np.random.rand(self.di, self.bz),
lengths,
left_padded
)
if __name__ == '__main__':
unittest.main()
| 33.82732
| 76
| 0.538286
| 1,434
| 13,125
| 4.781032
| 0.100418
| 0.052509
| 0.023337
| 0.017503
| 0.876167
| 0.846995
| 0.831389
| 0.813156
| 0.766336
| 0.760356
| 0
| 0.012824
| 0.364267
| 13,125
| 387
| 77
| 33.914729
| 0.808845
| 0.076343
| 0
| 0.708738
| 0
| 0
| 0.037703
| 0
| 0
| 0
| 0
| 0
| 0.038835
| 1
| 0.048544
| false
| 0
| 0.019417
| 0
| 0.080906
| 0.067961
| 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
|
6707e10e14055acf426e79346321585557ecf92e
| 7,135
|
py
|
Python
|
vlpi/model/FCLayers.py
|
daverblair/vlpi
|
e1a02f69bf04b43542438ae099af8c7388cd5362
|
[
"MIT"
] | 2
|
2020-10-30T17:29:27.000Z
|
2021-01-21T00:45:08.000Z
|
vlpi/model/FCLayers.py
|
daverblair/vlpi
|
e1a02f69bf04b43542438ae099af8c7388cd5362
|
[
"MIT"
] | null | null | null |
vlpi/model/FCLayers.py
|
daverblair/vlpi
|
e1a02f69bf04b43542438ae099af8c7388cd5362
|
[
"MIT"
] | null | null | null |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Fri Jul 12 08:59:06 2019
@author: davidblair
"""
import collections
from typing import Iterable
import torch
from torch import nn as nn
from vlpi.utils.UtilityFunctions import one_hot
from vlpi.utils.LinearPositiveWeights import LinearPositiveWeights
class FCLayers_Monotonic(nn.Module):
"""A helper class to build fully-connected layers for a neural network.
Uses Tanh for non-linearities; dropoutfor convergence.
Adapted frome the scVI package: https://github.com/YosefLab/scVI.
:param n_in: The dimensionality of the input data (excluding covariates)
:param n_out: The dimensionality of the output layer
:param n_cat_list: A list containing, for each categorical covariate of interest,
the number of categories. Each category will be
included using a one-hot encoding.
:param n_layers: The number of fully-connected hidden layers
:param n_hidden: The number of nodes per hidden layer
:param dropout_rate: Dropout rate to apply to each of the hidden layers
Note: there no batch normalization with this module, as this can break the
positive correlation structure desired by the model. Moreover, we replaced
the ReLU function with tanh function which ensures monotonicity without erasing
negative values (which the ReLU will do by design)
"""
def __init__(self, n_in: int, n_out: int, n_cat_list: Iterable[int] = None,
n_layers: int = 2, n_hidden: int = 128, dropout_rate: float = 0.2, use_batch_norm=True):
super(FCLayers_Monotonic,self).__init__()
layers_dim = [n_in] + (n_layers - 1) * [n_hidden] + [n_out]
if n_cat_list is not None:
# n_cat = 1 will be ignored
self.n_cat_list = [n_cat if n_cat > 1 else 0 for n_cat in n_cat_list]
else:
self.n_cat_list = []
self.fc_layers = nn.Sequential(collections.OrderedDict(
[('Layer {}'.format(i), nn.Sequential(
LinearPositiveWeights(n_in + sum(self.n_cat_list), n_out,bias=True),
nn.Tanh(),
nn.Dropout(p=dropout_rate) if dropout_rate > 0 else None))
for i, (n_in, n_out) in enumerate(zip(layers_dim[:-1], layers_dim[1:]))]))
def forward(self, x: torch.Tensor, *cat_list: int):
"""Forward computation on ``x``.
:param x: tensor of values with shape ``(n_samples,n_in)``
:param cat_list: list of category membership(s) for this sample, provided as (1,n_sample) tensors
:return: tensor of shape ``(n_out,n_samples)``
:rtype: :py:class:`torch.Tensor`
"""
one_hot_cat_list = [] # for generality in this list many indices useless.
assert len(self.n_cat_list) <= len(cat_list), "nb. categorical args provided doesn't match init. params."
for n_cat, cat in zip(self.n_cat_list, cat_list):
assert not (n_cat and cat is None), "cat not provided while n_cat != 0 in init. params."
if n_cat > 1: # n_cat = 1 will be ignored - no additional information
if cat.size(1) != n_cat:
one_hot_cat = one_hot(cat, n_cat)
else:
one_hot_cat = cat # cat has already been one_hot encoded
one_hot_cat_list += [one_hot_cat]
for layers in self.fc_layers:
for layer in layers:
if layer is not None:
if isinstance(layer, LinearPositiveWeights):
if x.size(0)!=0:
x = torch.cat((x, *one_hot_cat_list), dim=-1)
else:
x = torch.cat((*one_hot_cat_list,), dim=-1)
x = layer(x)
return x
class FCLayers(nn.Module):
"""A helper class to build fully-connected layers for a neural network.
Uses ReLU for non-linearities, BatchNorm1d and dropout for convergence.
Adapted frome the scVI package: https://github.com/YosefLab/scVI.
:param n_in: The dimensionality of the input data (excluding covariates)
:param n_out: The dimensionality of the output layer
:param n_cat_list: A list containing, for each categorical covariate of interest,
the number of categories. Each category will be
included using a one-hot encoding.
:param n_layers: The number of fully-connected hidden layers
:param n_hidden: The number of nodes per hidden layer
:param dropout_rate: Dropout rate to apply to each of the hidden layers
:param use_batch_norm: whether or not to use batch normalization to speed convergence
"""
def __init__(self, n_in: int, n_out: int, n_cat_list: Iterable[int] = None,
n_layers: int = 1, n_hidden: int = 128, dropout_rate: float = 0.2, use_batch_norm=True):
super(FCLayers,self).__init__()
layers_dim = [n_in] + (n_layers - 1) * [n_hidden] + [n_out]
if n_cat_list is not None:
# n_cat = 1 will be ignored
self.n_cat_list = [n_cat if n_cat > 1 else 0 for n_cat in n_cat_list]
else:
self.n_cat_list = []
self.fc_layers = nn.Sequential(collections.OrderedDict(
[('Layer {}'.format(i), nn.Sequential(
nn.Linear(n_in + sum(self.n_cat_list), n_out,bias=True),
nn.BatchNorm1d(n_out) if use_batch_norm else None,
nn.ReLU(),
nn.Dropout(p=dropout_rate) if dropout_rate > 0 else None))
for i, (n_in, n_out) in enumerate(zip(layers_dim[:-1], layers_dim[1:]))]))
def forward(self, x: torch.Tensor, *cat_list: int):
"""Forward computation on ``x``.
:param x: tensor of values with shape ``(n_samples,n_in)``
:param cat_list: list of category membership(s) for this sample, provided as (1,n_sample) tensors
:return: tensor of shape ``(n_out,n_samples)``
:rtype: :py:class:`torch.Tensor`
"""
one_hot_cat_list = [] # for generality in this list many indices useless.
assert len(self.n_cat_list) <= len(cat_list), "nb. categorical args provided doesn't match init. params."
for n_cat, cat in zip(self.n_cat_list, cat_list):
assert not (n_cat and cat is None), "cat not provided while n_cat != 0 in init. params."
if n_cat > 1: # n_cat = 1 will be ignored - no additional information
if cat.size(1) != n_cat:
one_hot_cat = one_hot(cat, n_cat)
else:
one_hot_cat = cat # cat has already been one_hot encoded
one_hot_cat_list += [one_hot_cat]
for layers in self.fc_layers:
for layer in layers:
if layer is not None:
if isinstance(layer, nn.Linear):
if x.size(0)!=0:
x = torch.cat((x, *one_hot_cat_list), dim=-1)
else:
x = torch.cat((*one_hot_cat_list,), dim=-1)
x = layer(x)
return x
| 47.566667
| 113
| 0.615137
| 1,035
| 7,135
| 4.05314
| 0.18744
| 0.038141
| 0.034327
| 0.028605
| 0.815733
| 0.815733
| 0.815733
| 0.815733
| 0.815733
| 0.815733
| 0
| 0.011893
| 0.292922
| 7,135
| 149
| 114
| 47.885906
| 0.819623
| 0.384303
| 0
| 0.759494
| 0
| 0
| 0.055235
| 0
| 0
| 0
| 0
| 0
| 0.050633
| 1
| 0.050633
| false
| 0
| 0.075949
| 0
| 0.177215
| 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
|
673fda1deb41691c812d9457cd0bf3535edf0a1b
| 15,770
|
py
|
Python
|
2019/day8.py
|
coingraham/adventofcode
|
52b5b3f049242881285d0c2704f44cc1ee2a821e
|
[
"MIT"
] | 5
|
2020-12-04T04:30:17.000Z
|
2021-11-12T11:26:22.000Z
|
2019/day8.py
|
coingraham/adventofcode
|
52b5b3f049242881285d0c2704f44cc1ee2a821e
|
[
"MIT"
] | null | null | null |
2019/day8.py
|
coingraham/adventofcode
|
52b5b3f049242881285d0c2704f44cc1ee2a821e
|
[
"MIT"
] | null | null | null |
input = """102222122222222022202222020222220222222220222222221222212202220222222222222222222202222202202222000022220122221222222222222222222222222222222210222222022222222222222122222222122222222222222222222222221222212212220222222222222222022202222212212222012122220122222222222222222222222222222222222220222222012222222222222022222222120222222222222222222222220222212102221222222222222222222212222202202222202122222222222222222222222222222222222222222222222222112222122222222022202222020222220222222222222222220222202122220222222222222222222202222212222222221122220222220222222222222222222222222222222210222222202222222222222122212222220222220222222222222222220222222222221222222222222222122212222202212222102122221122220222222222222222222222222222222212222222222222122222222122222222221222220222222222222222220222212122221222222222222222022222222202212222011222222222222222222222222022222222222222222221222222102222122222222222202222221222220222222222222222221222222122220222222222222222122212222202212222212222221122222222222222222122222222222222222222222222212222022222222022202222021222220222222222222222221222202002221222222222222222022212222202202222111122220022222222222222222122222222222222222210222222022222122222222222222222122222222222222221222222221222202102221221222222222222222212222212202222001222221022221222222222222122222222222222222220222222102222122222222122222212221222220222222221222222222222212012222220222222222222022222222202212222001222220022221222222222222222222222222222222202222222222222122222222022202222020222221222222222222222222222202102221222222222222222022202222212202222100122222022220222222222222022222222222222222202222222122222022222222222222222020222222222222222222222221222202102220221222222222222022202222222222222012222221022221222222222222122222222222222222201222222102222222222222022202212122222222222222220222222221222212012222222222222222222222212222202212222002222220022222222222222222222222222222222222211222222112222022222222122202222220222221222222221222222221222202002220221222222222222122212222202202222102022221122220222222222222222222222222222222212222222222222122222222012202212120222222222222222222222222222221122221220222222222222222212222222212222210022220122221222222222222122222222222222222222222222122222222222222022222222221222221222222222222222221222211022222220222222222222222222222222202222101022220022220222222222222022222222222222222201222222122222022222222202212212021222222222222220222222221222211022222222222222222222121212222212222222211222022122220222222222222022222222222222222201222222102222222222222012202222220222222222222222222222221222202212220220222222222222022222222212222222100122120222222222222222202022222222222222222201222222002222022222222002222202020222221222221222222222222222202102221222222222222222022212222212202222220122120122200222222222202222222222222222222220222222022222222222222002222202220222222222221222222222221222200212220220222222222222221212222202122222111122022022211222222222212222222222222222222201222222122222222221222212202222122022220222221221222222201222212002221220222222222222121212222222112222010122220122211222222222222222222222222222222220222222222222222220222222222222220122222222220211222222220222211012221220222222222222221212222222112222221122020122220222222222222122222222222222222210222222102222122222222002212222221122220222221211222202202222200112220222222222222222121212222202202222122022120022212222222222202022222222222222222201222222202222220222222212212202022222221222220201222222202222200022220221222222222222022222222202022222101022222122200222222222222222222222222222222202222222102222022222222212222202220122222222221220222212221222202122221221222222222222020222222222122222120022120122211222222222202122222222222222222210222222212222221220222122202202120022220222221221222202012222201202221220222222222222022212222212202222001022221122221222222222212022222222222222222211222222212222121222222122202222222122221222220212222222000222222022221222222222222202022212222212022222121122222022202222222022202022222222222222222200222222002222220221222112212222122022220222222221222222211222201222220221222222222222022202222202002222010122020220222222222222210222222222222222222222222222122222020222222002222212121022221222220211222222011222220022220220222222222222220202222212122222021222222122222222222222221222222222222202222200222222002222221220222222202202122122221222220210222222112222200122220221222222222212021222222202012222012122020222221222222122200122212222222200222201222222112222122220222102212202220022220222221200222222212222201012222221222222222222022212222202002222101222022022202222222122211022212222222222222220222222212222220220222022202212220122221222220221222220121222211112221220222212222222022202222202122222020222222021211222222022222222202222222211222212222222212222021220222122202212120022220222220212222210112222220002220222222222222202221212222212022222212122221220210222222222202022212222222211222222222222112222220220222102222202020022220222220200222212221222202022221221222202222222021222222222112222011222022121222222222122201022222222222222222222222222102222222222222022222202221022220222221210222202202222222022220220222222222212022222222212022222000122121120222222222122200222202222222202222220222222102222221221222002212212222122222222220210222211211222212222221222222222222212122222222212122222002222221122222222222122201222212222222210222200222222122222021220222202222202222222222222222222222211120222210202222220222222222212120222222222002222220022122122220222222022211122202222222222222222221222002222222221222012212222022122220122221211222222220222220012220222222212222212221202222202022222100122221021222222222012200122202222222221222202221222212222020222222112212222021122202222222210222201210222211112202220222222222222221222222202202222202022220022220222222022212122222222222210222201220222122222120222222202202202021222212122220200222211220222222102221222222212222222021202222222102222102222021220222222222222200122222222222221222201220222212222021222222022212202120122210122220210222210120222210012201220222212222202020222222212112222011222022220221222222002211122202022202201222220221222102222022222222002202212220122221022220202222201001222202012201221222202222212220201222202222222010122120021212222222222221022212122212222222200221222122222121220222202202222121002200222220200222200111222202022200221222222222202020212222222112222200222021221221222222102212122212222212222222202222222022222221220222022212222022212202222222202222222020222211012201220222222222222220221222212112222022022020220220222222022220222212222202211222212220222102222122222222112202212122212220122221211222211212222212012222222220202222212121200222212222222121222221020221222222002210122222222202220222201220222112222121220222212212222022012200022220221222222020222222102212220220222222222121202222222102222101222022121202222222212211122112122212200222111220222202222121220222222222222122212221222222221220212222222200112211220220202222222221211222202122222202222120121211222222112210222002022212202222111220222012222221222222202202202120122210122222211220201100222212022222220220212222222221200222202202222022222120220110222222112220022022222202201222000221222212222221221222002222222021022112122220222222210012222212222211222220211222212222222222202222222102122021122101222222012201122112222212221122100211222022222021221222012202212222002000222221221221210102222220222210220221210222222122201222222212202022022021222212222222102222022022112202221122112211222022222020220222012222212220002011222222220221211222222220002211220221201222202021202222222122222211122022020021222222102212222222122222221122200202222212222121220202002202212121022002222221221221211001222210102201222220220222212022212222222012202010122220020110222222102210122222102222212222002221222022222122221222122212222222212012022220211220221122202210002200221222211222212120202222212112222121122122122000222222202212122212222202200222202201222202222022222202122222222111122212122221202220220102212221012202220220200222222121212222202202222100022122121010222222202221222212112222221222211202222202222022222212102202202222122122022221222222202122222202112201221221220220202120221222212202212122222022220002222222002201122012112202211122121222222012222121222212222222202222022211222220211220210222222210122222220221202221222220210222202122202100022021122020222222112201022102102222220022211210222012222221020222122212212021202100222222222220212012212212202220222221212220222122212222212002222001022120120022222222012201022022202222210020202221222102222121021222122222212100102101122220221221211101222221102210221222200221202021212222202002212010222221222101212222112200222022202222221122212202222202222220221212122202202212102102122222211220112100222222112222220221211220202221221222222212212112112221121201202222212200022022012212222221210210222002222022022222102222222122012112022222200222010022202220012222220220221222202122202222202102222102102120221122212222022221122112122212220021010201222122222122022212112212222121002012122221221222210102022221212221220220212220212121202222202122202022002121020002222222022211222022002222212122122212222002202222122212002222202200212101022020201221220121102210002212221222202221222222201222212102212221212220220211202222002200122012202202220220001221222202202122221212012222212212202010122222200222222012022212112200221221222222212220201222202202212000222120222012222222102220022202102222221021020220222222212120022212012202222001102001222120212221010001122200102202222220211122222120210222222212212021012122220010222222122112222012002202200022121211220202222220220212122222212220012010122020210220010110212222202222222222210221222121202222202212212211012222022012222222122120222102112102210221020211220112202221022212122202212002212210022221212221110221202202002212222221210222202122212222202202202001202220022120202222202120122112212022200122202222221102212221120212212212212021122221022222220222101001112200222211222221210022222020201222222102202122002221221220222222122200122002002212220021201221220112212121220222202202202000212020022121211222221220100211222220222222221122202021200222222122222111002222220012222222222022122202012202211122200212221002202120221202022202222220022211022022212222012122202200102220222222201020212022220222212202222002022022120201202222022202222002002122220122220220220112212022012212002212222111212001022220220221110012210201012210222221212121212120200222212102212111002122022210200222012101222102222202201022210221220012202122100210212222122100022200222221210222102020111222112202221221210020212222212222202012212222012222022200200222212112222022012002202221211210222212222221210201202202022211012012221021212222212000111202002211202221210120202021210222212112202122012220122122220222202221222102202202222120020202221222202221200200102222012210222110020021210220211102011220212212210222220220202221200222202102212012212121021022202222212222122102111012202220210221221002222221100210122212102200102110222120222220112020222221122221221221201120202021201222212012202111012220122011220222012100122012102000221220020221220102202022002202002222212022002102220001220222001220010211022201212222212121222220211222102022212000222020020000201222002122222112111002212022120210221012202020210202102212002000102221020120221221000021101221002201200220201022222121212222202122212200012120021212200222112001022112111022210121012212220002212021001201112202012021122220122011201221120110120200222211202222212220102022221222002222202011112222122210211222002012022102102000211220221220220202012222210101022222002110222120222001200221112202020200212221221221211221222222222222212012202110212221222121210222112012222112200110220121012211221120212021211212212221202122022222221122221222002002211210012221211222202021122022200222112222202012202020120202212222012221122002221001210121222212221012212022122221112221222202002021221120212222022110120211112221211220220021102221202222102112202012202220020021222222212001122002002211220022000222221220102020121010202001122001002011022112202020212012020202212212211220220022222021221222002202222122212222021102211022212110122202220001222122221202220120102021101001002200002112212100221002210220020222110210022220200221222121122121201222022002212111022220220202221122112222222022201021210120101201121201012222012121202100022210222100221211220020011220221212022222201222212022010122200222122102202110212120220121212122002110022102102001201120222220021012022020200101202122022201212111021011220222202211201221002220212222210020211022222222102122212201212122122212212222012010022222121222222022221221021021202220100002212202012222122122121122202220001110221211012201202220202020211022221222212122212120102120020110222022202110122202200201220020000212020102122121211200022111122211012200222121210020222110020211212202221222202220102122202222212222222001122220021200220022002222122102001002221002020202221200102120010020022222112001012021122021212122000010010211022210220201200221222120222222012002212201222021122210202022022212122202222011211012121201121011002222200000211120111211020222220010201221012221202202222200210211211122220121212222002222212011002121220020201022212011022102001220222110021200222102212222221212200000011202012011020212211222220111211221112220221221210221100020212222022120202112212220120001211222102002122212220022221212122210122221002121010110100112212211112210021002202120200210210212022222221212222222121222200222222121202102222021221220200122222022022202011011212010221212120221012120222020000002002000002000220120220220120112000221112211211202202021212021200222212211222011022122120022202122002112222212011121220002012220222201022021211210022210022110110201120001211020202201110210102211202222202220201201210222012110212110022221221200202222002121122012111210211021202000020012212120012112111220111201021110021001222220210010112201022202200212202122122100221222122110202000122221220100201222002220002122122001222020112010121000122020202000201200111012121110122221210021211102222201122210200211221121001012211222112002212111102020220102222120102102212012011120200000120111121100122122120020012101211100102001222011201220200101012212012211202211202220112010211222222110212120110220022020202020022102102212000212222010011020120121102121102001122202200020110211021101222022221121200222122221201220202220100022212222212200222011212121222211221120212021022222012020202112010221220011202021120010220101210100101220022010202121100210021211222210212220210122102220212222122001202211212022022010211121202000122212211110222120010200220011012121100201101121222000101200021202212121102112011221112220201221210220011020202022012202212220111122121201220120202112202122112122221200222022220211012021120120120010201202001102220120210121001102102202022220220222202121112002200122202122222100201222122000222122222010022202022021211220001011121012021011011100022222210012120021000000022111021212011012120100111020002101100212000011020110001120212101202222000212020122221211110002110201120021011"""
input_list = [int(x) for x in list(input)]
# min = 150
# total_value = 0
# for tranche in [(input_list[x:x + 150]) for x in range(0, len(input_list) - 150, 150)]:
# zero = tranche.count(0)
# if zero < min:
# min = zero
# total_value = tranche.count(1) * tranche.count(2)
min = 150
previous_tranch = [2 for x in range(150)]
input_list.reverse()
for tranche in [(input_list[x:x + 150]) for x in range(0, len(input_list) - 149, 150)]:
for indx in range(150):
if tranche[indx] == 2:
continue
else:
previous_tranch[indx] = tranche[indx]
previous_tranch.reverse()
lines = [(previous_tranch[x:x + 25]) for x in range(0, len(previous_tranch) - 24, 25)]
for line in lines:
print(line)
| 525.666667
| 15,014
| 0.980786
| 123
| 15,770
| 125.642276
| 0.260163
| 0.003494
| 0.001941
| 0.002847
| 0.007441
| 0.007441
| 0.006471
| 0.006471
| 0.006471
| 0.006471
| 0
| 0.965537
| 0.011921
| 15,770
| 29
| 15,015
| 543.793103
| 0.026248
| 0.015029
| 0
| 0
| 0
| 0
| 0.966246
| 0.966246
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0.066667
| 0
| 0
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
674378bdd3747679d8cbac7d0ba007e922ae6d1b
| 158
|
py
|
Python
|
examples/legacy_examples/dagster_examples/event_pipeline_demo/repository.py
|
bitdotioinc/dagster
|
4fe395a37b206b1a48b956fa5dd72bf698104cca
|
[
"Apache-2.0"
] | 2
|
2021-06-21T17:50:26.000Z
|
2021-06-21T19:14:23.000Z
|
examples/legacy_examples/dagster_examples/event_pipeline_demo/repository.py
|
bitdotioinc/dagster
|
4fe395a37b206b1a48b956fa5dd72bf698104cca
|
[
"Apache-2.0"
] | 7
|
2022-03-16T06:55:04.000Z
|
2022-03-18T07:03:25.000Z
|
examples/legacy_examples/dagster_examples/event_pipeline_demo/repository.py
|
bitdotioinc/dagster
|
4fe395a37b206b1a48b956fa5dd72bf698104cca
|
[
"Apache-2.0"
] | 1
|
2021-08-18T17:21:57.000Z
|
2021-08-18T17:21:57.000Z
|
from dagster import repository
from .pipelines import event_ingest_pipeline
@repository
def event_pipeline_demo_repo():
return [event_ingest_pipeline]
| 17.555556
| 44
| 0.829114
| 20
| 158
| 6.2
| 0.6
| 0.177419
| 0.306452
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.126582
| 158
| 8
| 45
| 19.75
| 0.898551
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| true
| 0
| 0.4
| 0.2
| 0.8
| 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
| 0
| 1
| 0
| 1
| 1
| 1
| 0
|
0
| 7
|
679ab579b0605dc1a512665cba5a104229aed79f
| 37,263
|
py
|
Python
|
FRG Hardware/frghardware/pskpl/frghardware/pskpl/control.py
|
fenning-research-group/Instruments
|
c4e5f854fed1cce20f25076a38842bfbb5396917
|
[
"MIT"
] | null | null | null |
FRG Hardware/frghardware/pskpl/frghardware/pskpl/control.py
|
fenning-research-group/Instruments
|
c4e5f854fed1cce20f25076a38842bfbb5396917
|
[
"MIT"
] | null | null | null |
FRG Hardware/frghardware/pskpl/frghardware/pskpl/control.py
|
fenning-research-group/Instruments
|
c4e5f854fed1cce20f25076a38842bfbb5396917
|
[
"MIT"
] | 1
|
2019-06-03T16:09:33.000Z
|
2019-06-03T16:09:33.000Z
|
import numpy as np
import matplotlib as plt
import os
import serial
import time
import h5py
import sys
import matplotlib.pyplot as plt
from frghardware.components.stage import PLStage
from frghardware.components.camera import Hayear
# from frghardware.components.kepco import Kepco
# from frghardware.components.daq import PLDAQ
# from frghardware.components.laser import Laser808
from frghardware.components.tec import Omega
import datetime
import time
from tqdm import tqdm
import cv2
root = 'C:\\Users\\Operator\\Desktop\\frgPL' #default folder to save data
if not os.path.exists(root):
os.mkdir(root)
datafolder = os.path.join(root, 'Data')
if not os.path.exists(datafolder):
os.mkdir(datafolder)
calibrationfolder = os.path.join(root, 'Calibration')
if not os.path.exists(calibrationfolder):
os.mkdir(calibrationfolder)
class Control2:
def __init__(self,spotmapnumber = None):
# hardware properties
self.camid_550 = 0
self.camid_720 = 1
self.__temperature = 25 #TEC stage temperature setpoint (C) during measurement
# data saving settings
todaysDate = datetime.datetime.now().strftime('%Y%m%d')
self.outputDirectory = os.path.join(root, 'Data', todaysDate) #default save locations is desktop/frgPL/Data/(todaysDate)
self.sampleName = None
self.__dataBuffer = [] # buffer to hold data files during sequential measurements of single sample. Held until a batch export
# stage/positioning constants
self.__sampleposition = (39, 90) #position where TEC stage is centered in camera FOV, mm
self.__detectorposition = (64, 117) #absolute position of detector centered in FOV, mm.
self.__fov = (77, 56) #dimensions of FOV, mm
self.connect()
# self.loadSpotCalibration(spotmapnumber)
@property
def temperature(self):
return self.__temperature
@temperature.setter
def temperature(self, t):
self.tec.setpoint = t
self.__temperature = t
def connect(self):
self.cam550 = Hayear(self.camid_550)
self.cam550.exposure = -5
self.cam720 = Hayear(self.camid_720)
self.cam720.exposure = -5
# self.camera = FLIR() # connect to FLIR camera
# self.kepco = Kepco() # connect to Kepco
# self.kepco.set(voltage=0) # set voltage to 0, seems to solve current compliance issues
# self.laser = Laser808() # Connect to OSTECH Laser
# self.daq = PLDAQ() # connect to NI-USB6000 DAQ
self.stage = PLStage(sampleposition = self.__sampleposition) # connect to FRG stage
# self.tec = Omega('COM15') # connect to omega PID controller, which is driving the TEC stage.
def disconnect(self):
try:
self.cam550.disconnect()
self.cam720.disconnect()
except:
print('Could not disconnect camera')
# try:
# self.kepco.disconnect()
# except:
# print('Could not disconnect Kepco')
# try:
# self.daq.disconnect()
# except:
# print('Could not disconnect DAQ')
try:
self.stage.disconnect()
except:
print('Could not disconnect stage')
try:
self.tec.disconnect()
except:
print('Could not disconnect TEC controller')
### basic use functions
def capture(self, samplename, frames = 10, note = '', save_img = False):
im550 = self.cam550.capture(frames)
im720 = self.cam550.capture(frames)
self.save(
samplename,
im550,
im720,
note = note,
save_img = save_img
)
def save(self, samplename, img1, img2, x = None, y = None, note = '', outputdirectory = None, reset = True, save_img = False):
## figure out the sample directory, name, total filepath
if samplename is not None:
self.sampleName = samplename
if outputdirectory is not None:
self.outputDirectory = outputdirectory
if not os.path.exists(self.outputDirectory):
os.mkdir(self.outputDirectory)
if x is None:
x = self.stage.position[0]
if y is None:
y = self.stage.position[1]
fids = os.listdir(self.outputDirectory)
sampleNumber = 1
for fid in fids:
if 'frg_pskPL' in fid:
sampleNumber = sampleNumber + 1
todaysDate = datetime.datetime.now().strftime('%Y%m%d')
currentTime = datetime.datetime.now().strftime('%H:%M:%S')
if self.sampleName is not None:
fname = 'frg_pskPL_{0}_{1:04d}_{2}.h5'.format(todaysDate, sampleNumber, self.sampleName)
else:
fname = 'frg_pskPL_{0}_{1:04d}.h5'.format(todaysDate, sampleNumber)
self.sampleName = ''
fpath = os.path.join(self.outputDirectory, fname)
## build each category in h5 file
### example dataset saved to _dataBuffer by .takeMeas
# meas = {
# 'sample': self.sampleName,
# 'date': measdatetime.strftime('%Y-%m-%d'),
# 'time': measdatetime.strftime('%H:%M:%S'),
# 'cameraFOV':self.__fov,
# 'bias': self.bias,
# 'laserpower': self.laserpower,
# 'saturationtime': self.saturationtime,
# 'numIV': self.numIV,
# 'numframes':self.numframes,
# 'v_meas': v,
# 'i_meas': i,
# 'image': im,
# }
## write h5 file
with h5py.File(fpath, 'w') as f:
# sample info
info = f.create_group('/info')
info.attrs['description'] = 'Metadata describing sample, datetime, etc.'
temp = info.create_dataset('name', data = self.sampleName.encode('utf-8'))
temp.attrs['description'] = 'Sample name.'
temp = info.create_dataset('notes', data = note.encode('utf-8'))
temp.attrs['description'] = 'Any notes describing each measurement.'
date = info.create_dataset('date', data = todaysDate.encode('utf-8'))
temp.attrs['description'] = 'Measurement date.'
temp = info.create_dataset('time', data = currentTime.encode('utf-8'))
temp.attrs['description'] = 'Measurement time of day.'
# # measurement settings
settings = f.create_group('/settings')
settings.attrs['description'] = 'Settings used for measurements.'
# temp = settings.create_dataset('vbias', data = np.array(data['bias']))
# temp.attrs['description'] = 'Nominal voltage bias set by Kepco during measurement.'
# temp = settings.create_dataset('notes', data = np.array([x.encode('utf-8') for x in data['note']]))
# temp.attrs['description'] = 'Any notes describing each measurement.'
# temp = settings.create_dataset('laserpower', data = np.array(data['laserpower']))
# temp.attrs['description'] = 'Fractional laser power during measurement. Calculated as normalized laser current (max current = 55 A). Laser is operated at steady state.'
# temp = settings.create_dataset('sattime', data = np.array(data['saturationtime']))
# temp.attrs['description'] = 'Saturation time for laser/bias conditioning prior to sample measurement. Delay between applying condition and measuring, in seconds.'
# temp = settings.create_dataset('numIV', data = np.array(data['numIV']))
# temp.attrs['description'] = 'Number of current/voltage measurements averaged by Kepco when reading IV.'
# temp = settings.create_dataset('numframes', data = np.array(data['numframes']))
# temp.attrs['description'] = 'Number of camera frames averaged when taking image.'
# temp = settings.create_dataset('tempsp', data = np.array(data['temperature_setpoint']))
# temp.attrs['description'] = 'TEC stage temperature setpoint for each measurement.'
# calibrations
calibrations = f.create_group('/calibrations')
calibrations.attrs['description'] = 'Instrument calibrations to be used for data analysis.'
temp = settings.create_dataset('samplepos', data = np.array(self.__sampleposition))
temp.attrs['description'] = 'Stage position (um)[x,y] where sample is centered in camera field of view'
temp = settings.create_dataset('detectorpos', data = np.array(self.__detectorposition))
temp.attrs['description'] = 'Stage position (um) [x,y] where photodetector is centered in camera field of view'
temp = settings.create_dataset('camerafov', data = np.array(self.__fov))
temp.attrs['description'] = 'Camera field of view (um) [x,y]'
# raw data
rawdata = f.create_group('/data')
rawdata.attrs['description'] = 'Raw measurements taken during imaging'
temp = rawdata.create_dataset('x', data = np.array(x))
temp.attrs['description'] = 'Stage x position during measurement. Low x = right side of sample/left side of chamber'
temp = rawdata.create_dataset('y', data = np.array(y))
temp.attrs['description'] = 'Stage y position during measurement. Low y = top of sample/back of chamber'
temp = rawdata.create_dataset('img1', data = img1, chunks = True, compression = 'gzip')
temp.attrs['description'] = 'Raw images acquired for each measurement.'
temp = rawdata.create_dataset('filter1', data = '550 Longpass'.encode('utf-8'))
temp = rawdata.create_dataset('img2', data = img2, chunks = True, compression = 'gzip')
temp.attrs['description'] = 'Raw images acquired for each measurement.'
temp = rawdata.create_dataset('filter2', data = '720 Longpass'.encode('utf-8'))
temp = rawdata.create_dataset('temp', data = self.__temperature)
temp.attrs['description'] = 'Measured TEC stage temperature during measurement. This value is the average of two temperature measurements, just before and after the image/kepco readings/photodetector readings are made. These two values typically span >1 second'
print('Data saved to {0}'.format(fpath))
if save_img:
saveme_0 = (img1*255).astype(int)
saveme_1 = np.zeros(saveme_0.shape)
saveme_1[:,:,0] = saveme_0[:,:,2]
saveme_1[:,:,1] = saveme_0[:,:,1]
saveme_1[:,:,2] = saveme_0[:,:,0]
cv2.imwrite(fpath[:-3]+'.tif', saveme_1.astype(int))
return fpath
### tile imaging
def tile(self, samplename, xmin, xmax, numx, ymin, ymax, numy, frames = 10):
x0, y0 = self.stage.position
xp = [int(x) for x in np.linspace(x0+xmin, x0+xmax, numx)]
yp = [int(y) for y in np.linspace(y0+ymin, y0+ymax, numy)]
ims1 = np.zeros((numy, numx, 1080, 1920, 3))
ims2 = np.zeros((numy, numx, 1080, 1920, 3))
self.stage.moveto(x = xp[0], y = yp[0])
time.sleep(5) #sometimes stage says its done moving too early, expect that on first move which is likely a longer travel time
flip = False #for snaking. currently always false! backlash in stage makes stitching hard if snaking
for m, y in tqdm(enumerate(yp), total = numy, desc = 'Y', leave = False):
if flip:
flip = False
else:
flip = False
self.stage.moveto(y = y)
for n, x in tqdm(enumerate(xp), total = numx, desc = 'X', leave = False):
if flip:
nn = -n-1
xx = xp[nn]
else:
nn = n
xx = x
self.stage.moveto(x = xx)
ims1[m,nn] = self.cam550.capture(frames)
ims2[m,nn] = self.cam720.capture(frames)
self.stage.moveto(x = x0, y = y0)
self.save(
samplename,
ims1,
ims2,
x = xp,
y = yp,
note = note,
save_img = False
)
### calibration methods
def preview(self):
while(True):
# Capture frame-by-frame
ret1, frame1 = self.cam550.cap.read()
ret2, frame2 = self.cam720.cap.read()
if ret1 and ret2:
# Our operations on the frame come here
# gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
# Display the resulting frame
cv2.imshow('550nm lp',cv2.resize(frame1, (800,600)))
cv2.imshow('720nm lp',cv2.resize(frame2, (800,600)))
if cv2.waitKey(1) & 0xFF == ord('q'):
break
cv2.destroyAllWindows()
# def findOneSun(self, jsc, area):
# ### finds fraction laser power for which measured jsc = target value from solar simulator JV testing.
# # jsc: short circuit current density in mA/cm^2 (positive)
# # area: active area cm^2
# if jsc < 1:
# print('Please provide jsc in units of mA/cm^2, and area in units of cm^2')
# return False
# isc = -jsc * area / 1000 #negative total current in amps, since kepco will be measuring total photocurrent as amps
# laserpowers = np.linspace(0,1, 7)[1:] #skip 0, lean on lower end to reduce incident power
# self.kepco.set(voltage = 0)
# laserjsc = np.zeros(len(laserpowers))
# self.laser.set(power = laserpowers[0]) #set to first power before turning on laser
# self.laser.on()
# self.kepco.on()
# for idx, power in enumerate(laserpowers):
# self.laser.set(power = power)
# time.sleep(self.saturationtime)
# _,laserjsc[idx] = self.kepco.read(counts = 25)
# self.laser.off()
# self.kepco.off()
# #pdb.set_trace()
# pfit = np.polyfit(laserjsc, laserpowers, 2)
# p = np.poly1d(pfit) #polynomial fit object where x = measured jsc, y = laser power applied
# self._sampleOneSun = p(isc)
# self._sampleOneSunSweep = [laserpowers, laserjsc]
# self._sampleOneSunJsc = jsc
# #pdb.set_trace()
# return p(isc), laserpowers, laserjsc #return laser power to match target jsc
# def calibrateSpot(self, numx = 21, numy = 21, rngx = None, rngy = None, laserpower = 0.5, export = True):
# ### maps an area around the sample FOV, finds the optical power at each point
# print("calibration starting")
# if not self.stage._homed:
# print('Homing stage')
# self.stage.gohome()
# #default calibration area range = camera FOV
# if rngx is None:
# rngx = self.__fov[0]
# if rngy is None:
# rngy = self.__fov[1]
# xpos = np.linspace(self.__detectorposition[0] - (rngx/2), self.__detectorposition[0] + (rngx/2), numx).astype(int)
# ypos = np.linspace(self.__detectorposition[1] - (rngy/2), self.__detectorposition[1] + (rngy/2), numy).astype(int)
# self.laser.set(power = laserpower)
# self._spotMap = np.zeros((numy, numx))
# self._spotMapX = xpos
# self._spotMapY = ypos
# print('Moving to start position ({0}, {1})'.format(xpos[0], ypos[0]))
# if not self.stage.moveto(x = xpos[0], y = ypos[0]):
# print('Error moving stage to starting position ({0}, {1}) - stage is probably not homed. run method ._stage.gohome()'.format(xpos[0], ypos[0]))
# return False
# self.laser.on()
# flip = 1
# for m, x in tqdm(enumerate(xpos), desc = 'X', total = len(xpos), leave = False):
# flip = flip * -1
# self.stage.moveto(x = x)
# for n in tqdm(range(len(ypos)), desc = 'Y', total = len(ypos), leave = False):
# if flip > 0: #use nn instead of n, accounts for snaking between lines
# nn = len(ypos) - n - 1
# else:
# nn = n
# self.stage.moveto(y = ypos[nn])
# self._spotMap[nn,m] = self._getOpticalPower()/100 # suns
# self.laser.off()
# self.stage.moveto(x = self.__sampleposition[0], y = self.__sampleposition[1]) #return stage to camera FOV
# if export:
# self.saveSpotCalibration(note = 'Autosaved by calibrateSpot')
# def saveSpotCalibration(self, note = ''):
# fids = os.listdir(calibrationfolder)
# sampleNumber = 1
# for fid in fids:
# if 'frgPL_spotCalibration' in fid:
# sampleNumber = sampleNumber + 1
# todaysDate = datetime.datetime.now().strftime('%Y%m%d')
# todaysTime = datetime.datetime.now().strftime('%H:%M:%S')
# fname = 'frgPL_spotCalibration_{0}_{1:04d}.h5'.format(todaysDate, sampleNumber)
# fpath = os.path.join(calibrationfolder, fname)
# ## write h5 file
# with h5py.File(fpath, 'w') as f:
# # sample info
# info = f.create_group('/info')
# info.attrs['description'] = 'Metadata describing sample, datetime, etc.'
# # temp = info.create_dataset('name', data = self.sampleName.encode('utf-8'))
# # temp.attrs['description'] = 'Sample name.'
# temp = info.create_dataset('notes', data = note.encode())
# temp.attrs['description'] = 'Any notes describing each measurement.'
# temp = info.create_dataset('date', data = todaysDate.encode())
# temp.attrs['description'] = 'Measurement date.'
# temp = info.create_dataset('time', data = todaysTime.encode())
# temp.attrs['description'] = 'Measurement time of day.'
# # calibrations
# calibrations = f.create_group('/calibrations')
# calibrations.attrs['description'] = 'Instrument calibrations to be used for data analysis.'
# temp = calibrations.create_dataset('samplepos', data = np.array(self.__sampleposition))
# temp.attrs['description'] = 'Stage position (um)[x,y] where sample is centered in camera field of view'
# temp = calibrations.create_dataset('detectorpos', data = np.array(self.__detectorposition))
# temp.attrs['description'] = 'Stage position (um) [x,y] where photodetector is centered in camera field of view'
# temp = calibrations.create_dataset('camerafov', data = np.array(self.__fov))
# temp.attrs['description'] = 'Camera field of view (um) [x,y]'
# temp = calibrations.create_dataset('spot', data = np.array(self._spotMap))
# temp.attrs['description'] = 'Map [y, x] of incident optical power across camera FOV, can be used to normalize PL images. Laser power set to 0.5 during spot mapping.'
# temp = calibrations.create_dataset('spotx', data = np.array(self._spotMapX))
# temp.attrs['description'] = 'X positions (um) for map of incident optical power across camera FOV, can be used to normalize PL images.'
# temp = calibrations.create_dataset('spoty', data = np.array(self._spotMapY))
# temp.attrs['description'] = 'Y positions (um) for map of incident optical power across camera FOV, can be used to normalize PL images.'
# print('Data saved to {0}'.format(fpath))
# def loadSpotCalibration(self, calibrationnumber = None):
# fids = os.listdir(calibrationfolder)
# calnum = []
# for fid in fids:
# if 'frgPL_spotCalibration' in fid:
# calnum.append(int(fid.split('_')[3].split('.')[0]))
# else:
# calnum.append(0)
# if len(calnum) == 0:
# print('Could not find any calibration files! No spotmap loaded')
# return False
# calfile = fids[calnum.index(max(calnum))] #default to most recent calibration
# if calibrationnumber is not None:
# try:
# calfile = fids[calnum.index(calibrationnumber)]
# except:
# print('Could not find calibration {0}: defaulting to most recent calibration {1}'.format(calibrationnumber, max(calnum)))
# fpath = os.path.join(calibrationfolder, calfile)
# ## write h5 file
# with h5py.File(fpath, 'r') as f:
# self._spotMap = f['calibrations']['spot'][:]
# self._spotMapX = f['calibrations']['spotx'][:]
# self._spotMapT = f['calibrations']['spoty'][:]
# print('Loaded calibration {0} from {1}.'.format(calnum[fids.index(calfile)], fpath))
# return True
### group measurement methods
### helper methods
def _waitForTemperature(self):
refreshDelay = 0.5 #how long to wait between temperautre checks, in seconds
reachedTemp = False
startTime = time.time()
while (not reachedTemp) and (time.time() - startTime <= self.maxSoakTime):
currentTemp = self.tec.getTemperature()
if np.abs(currentTemp - self.temperature) <= self.temperatureTolerance:
reachedTemp = True
else:
time.sleep(refreshDelay)
if not reachedTemp:
print('Did not reach {0} C within {1} seconds: starting measurement anyways.'.format(self.temperature, self.maxSoakTime))
return True
def _getOpticalPower(self):
### reads signal from photodetector, converts to optical power using calibration vs thorlabs Si power meter (last checked 2019-08-20)
calibrationFit = [-0.1145, 9.1180]; #polyfit of detector reading vs (Si power meter / detector reading), 2019-08-20
voltage, _, _ = self.daq.acquire()
power = voltage * (calibrationFit[0]*voltage + calibrationFit[1]) #measured optical power, units of mW/cm^2
return power
def _backgroundCorrection(self, img):
img = img - self.__backgroundImage
img[img<0] = 0
return img
#def normalizePL(self):
### used laser spot power map to normalize PL counts to incident optical power
class Control1:
def __init__(self,spotmapnumber = None):
# hardware properties
self.camid = 0
self.__temperature = 25 #TEC stage temperature setpoint (C) during measurement
# data saving settings
todaysDate = datetime.datetime.now().strftime('%Y%m%d')
self.outputDirectory = os.path.join(root, 'Data', todaysDate) #default save locations is desktop/frgPL/Data/(todaysDate)
self.sampleName = None
self.__dataBuffer = [] # buffer to hold data files during sequential measurements of single sample. Held until a batch export
# stage/positioning constants
self.__sampleposition = (39, 90) #position where TEC stage is centered in camera FOV, mm
self.__detectorposition = (64, 117) #absolute position of detector centered in FOV, mm.
self.__fov = (77, 56) #dimensions of FOV, mm
self.connect()
# self.loadSpotCalibration(spotmapnumber)
@property
def temperature(self):
return self.__temperature
@temperature.setter
def temperature(self, t):
self.tec.setpoint = t
self.__temperature = t
def connect(self):
self.cam = Hayear(self.camid)
# self.camera = FLIR() # connect to FLIR camera
# self.kepco = Kepco() # connect to Kepco
# self.kepco.set(voltage=0) # set voltage to 0, seems to solve current compliance issues
# self.laser = Laser808() # Connect to OSTECH Laser
# self.daq = PLDAQ() # connect to NI-USB6000 DAQ
self.stage = PLStage(sampleposition = self.__sampleposition) # connect to FRG stage
# self.tec = Omega('COM15') # connect to omega PID controller, which is driving the TEC stage.
def disconnect(self):
try:
self.cam.disconnect()
except:
print('Could not disconnect camera')
# try:
# self.kepco.disconnect()
# except:
# print('Could not disconnect Kepco')
# try:
# self.daq.disconnect()
# except:
# print('Could not disconnect DAQ')
try:
self.stage.disconnect()
except:
print('Could not disconnect stage')
try:
self.tec.disconnect()
except:
print('Could not disconnect TEC controller')
### basic use functions
def capture(self, samplename = None, frames = 10, note = '', save_img = False):
im = self.cam.capture(frames)
self.save(im,samplename, note, save_img = save_img)
def save(self, img, samplename = None, note = '', outputdirectory = None, reset = True, save_img = False):
## figure out the sample directory, name, total filepath
if samplename is not None:
self.sampleName = samplename
if outputdirectory is not None:
self.outputDirectory = outputdirectory
if not os.path.exists(self.outputDirectory):
os.mkdir(self.outputDirectory)
fids = os.listdir(self.outputDirectory)
sampleNumber = 1
for fid in fids:
if 'frg_pskPL' in fid:
sampleNumber = sampleNumber + 1
todaysDate = datetime.datetime.now().strftime('%Y%m%d')
currentTime = datetime.datetime.now().strftime('%H:%M:%S')
if self.sampleName is not None:
fname = 'frg_pskPL_{0}_{1:04d}_{2}.h5'.format(todaysDate, sampleNumber, self.sampleName)
else:
fname = 'frg_pskPL_{0}_{1:04d}.h5'.format(todaysDate, sampleNumber)
self.sampleName = ''
fpath = os.path.join(self.outputDirectory, fname)
## build each category in h5 file
### example dataset saved to _dataBuffer by .takeMeas
# meas = {
# 'sample': self.sampleName,
# 'date': measdatetime.strftime('%Y-%m-%d'),
# 'time': measdatetime.strftime('%H:%M:%S'),
# 'cameraFOV':self.__fov,
# 'bias': self.bias,
# 'laserpower': self.laserpower,
# 'saturationtime': self.saturationtime,
# 'numIV': self.numIV,
# 'numframes':self.numframes,
# 'v_meas': v,
# 'i_meas': i,
# 'image': im,
# }
## write h5 file
with h5py.File(fpath, 'w') as f:
# sample info
info = f.create_group('/info')
info.attrs['description'] = 'Metadata describing sample, datetime, etc.'
temp = info.create_dataset('name', data = self.sampleName.encode('utf-8'))
temp.attrs['description'] = 'Sample name.'
temp = info.create_dataset('notes', data = note.encode('utf-8'))
temp.attrs['description'] = 'Any notes describing each measurement.'
temp = info.create_dataset('date', data = todaysDate.encode('utf-8'))
temp.attrs['description'] = 'Measurement date.'
temp = info.create_dataset('time', data = currentTime.encode('utf-8'))
temp.attrs['description'] = 'Measurement time of day.'
temp = info.create_dataset('numcams', data = 1)
temp.attrs['description'] = 'Number of cameras employed in setup'
# # measurement settings
settings = f.create_group('/settings')
settings.attrs['description'] = 'Settings used for measurements.'
# temp = settings.create_dataset('vbias', data = np.array(data['bias']))
# temp.attrs['description'] = 'Nominal voltage bias set by Kepco during measurement.'
# temp = settings.create_dataset('notes', data = np.array([x.encode('utf-8') for x in data['note']]))
# temp.attrs['description'] = 'Any notes describing each measurement.'
# temp = settings.create_dataset('laserpower', data = np.array(data['laserpower']))
# temp.attrs['description'] = 'Fractional laser power during measurement. Calculated as normalized laser current (max current = 55 A). Laser is operated at steady state.'
# temp = settings.create_dataset('sattime', data = np.array(data['saturationtime']))
# temp.attrs['description'] = 'Saturation time for laser/bias conditioning prior to sample measurement. Delay between applying condition and measuring, in seconds.'
# temp = settings.create_dataset('numIV', data = np.array(data['numIV']))
# temp.attrs['description'] = 'Number of current/voltage measurements averaged by Kepco when reading IV.'
# temp = settings.create_dataset('numframes', data = np.array(data['numframes']))
# temp.attrs['description'] = 'Number of camera frames averaged when taking image.'
# temp = settings.create_dataset('tempsp', data = np.array(data['temperature_setpoint']))
# temp.attrs['description'] = 'TEC stage temperature setpoint for each measurement.'
if self.stage.position[0] is None:
stagepos = self.__sampleposition
else:
stagepos = self.stage.position
temp = settings.create_dataset('position', data = np.array(stagepos))
temp.attrs['description'] = 'Stage position during measurement.'
# calibrations
calibrations = f.create_group('/calibrations')
calibrations.attrs['description'] = 'Instrument calibrations to be used for data analysis.'
temp = settings.create_dataset('samplepos', data = np.array(self.__sampleposition))
temp.attrs['description'] = 'Stage position (um)[x,y] where sample is centered in camera field of view'
temp = settings.create_dataset('detectorpos', data = np.array(self.__detectorposition))
temp.attrs['description'] = 'Stage position (um) [x,y] where photodetector is centered in camera field of view'
temp = settings.create_dataset('camerafov', data = np.array(self.__fov))
temp.attrs['description'] = 'Camera field of view (um) [x,y]'
# raw data
rawdata = f.create_group('/data')
rawdata.attrs['description'] = 'Raw measurements taken during imaging'
temp = rawdata.create_dataset('img', data = img, chunks = True, compression = 'gzip')
temp.attrs['description'] = 'Raw images acquired for each measurement.'
temp = rawdata.create_dataset('filter', data = '500 Longpass'.encode('utf-8'))
temp = rawdata.create_dataset('temp', data = self.__temperature)
temp.attrs['description'] = 'Measured TEC stage temperature during measurement. This value is the average of two temperature measurements, just before and after the image/kepco readings/photodetector readings are made. These two values typically span >1 second'
print('Data saved to {0}'.format(fpath))
if save_img:
saveme_0 = (img1*255).astype(int)
saveme_1 = np.zeros(saveme_0.shape)
saveme_1[:,:,0] = saveme_0[:,:,2]
saveme_1[:,:,1] = saveme_0[:,:,1]
saveme_1[:,:,2] = saveme_0[:,:,0]
cv2.imwrite(fpath[:-3]+'.tif', saveme_1.astype(int))
return fpath
### tile imaging
def tileImages(self, xmin, xmax, numx, ymin, ymax, numy, frames = 100):
x0, y0 = self.stage.position
xp = [int(x) for x in np.linspace(x0+xmin, x0+xmax, numx)]
yp = [int(y) for y in np.linspace(y0+ymin, y0+ymax, numy)]
ims1 = np.zeros((numy, numx, 1080, 1920, 3))
ims2 = np.zeros((numy, numx, 1080, 1920, 3))
self.stage.moveto(x = xp[0], y = yp[0])
time.sleep(5) #sometimes stage says its done moving too early, expect that on first move which is likely a longer travel time
flip = False #for snaking
for m, y in tqdm(enumerate(yp), total = numy, desc = 'Y', leave = False):
if flip:
flip = False
else:
flip = False
self.stage.moveto(y = y)
for n, x in tqdm(enumerate(xp), total = numx, desc = 'X', leave = False):
if flip:
nn = -n-1
xx = xp[nn]
else:
nn = n
xx = x
self.stage.moveto(x = xx)
ims1[m,nn] = self.cam550.capture(frames)
ims2[m,nn] = self.cam550.capture(frames)
self.stage.moveto(x = x0, y = y0)
return ims1, ims2, xp, yp
### calibration methods
def preview(self):
while(True):
# Capture frame-by-frame
ret1, frame1 = self.cam550.cap.read()
ret2, frame2 = self.cam720.cap.read()
if ret1 and ret2:
# Our operations on the frame come here
# gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
# Display the resulting frame
cv2.imshow('550nm lp',cv2.resize(frame1, (800,600)))
cv2.imshow('720nm lp',cv2.resize(frame2, (800,600)))
if cv2.waitKey(1) & 0xFF == ord('q'):
break
cv2.destroyAllWindows()
# def findOneSun(self, jsc, area):
# ### finds fraction laser power for which measured jsc = target value from solar simulator JV testing.
# # jsc: short circuit current density in mA/cm^2 (positive)
# # area: active area cm^2
# if jsc < 1:
# print('Please provide jsc in units of mA/cm^2, and area in units of cm^2')
# return False
# isc = -jsc * area / 1000 #negative total current in amps, since kepco will be measuring total photocurrent as amps
# laserpowers = np.linspace(0,1, 7)[1:] #skip 0, lean on lower end to reduce incident power
# self.kepco.set(voltage = 0)
# laserjsc = np.zeros(len(laserpowers))
# self.laser.set(power = laserpowers[0]) #set to first power before turning on laser
# self.laser.on()
# self.kepco.on()
# for idx, power in enumerate(laserpowers):
# self.laser.set(power = power)
# time.sleep(self.saturationtime)
# _,laserjsc[idx] = self.kepco.read(counts = 25)
# self.laser.off()
# self.kepco.off()
# #pdb.set_trace()
# pfit = np.polyfit(laserjsc, laserpowers, 2)
# p = np.poly1d(pfit) #polynomial fit object where x = measured jsc, y = laser power applied
# self._sampleOneSun = p(isc)
# self._sampleOneSunSweep = [laserpowers, laserjsc]
# self._sampleOneSunJsc = jsc
# #pdb.set_trace()
# return p(isc), laserpowers, laserjsc #return laser power to match target jsc
# def calibrateSpot(self, numx = 21, numy = 21, rngx = None, rngy = None, laserpower = 0.5, export = True):
# ### maps an area around the sample FOV, finds the optical power at each point
# print("calibration starting")
# if not self.stage._homed:
# print('Homing stage')
# self.stage.gohome()
# #default calibration area range = camera FOV
# if rngx is None:
# rngx = self.__fov[0]
# if rngy is None:
# rngy = self.__fov[1]
# xpos = np.linspace(self.__detectorposition[0] - (rngx/2), self.__detectorposition[0] + (rngx/2), numx).astype(int)
# ypos = np.linspace(self.__detectorposition[1] - (rngy/2), self.__detectorposition[1] + (rngy/2), numy).astype(int)
# self.laser.set(power = laserpower)
# self._spotMap = np.zeros((numy, numx))
# self._spotMapX = xpos
# self._spotMapY = ypos
# print('Moving to start position ({0}, {1})'.format(xpos[0], ypos[0]))
# if not self.stage.moveto(x = xpos[0], y = ypos[0]):
# print('Error moving stage to starting position ({0}, {1}) - stage is probably not homed. run method ._stage.gohome()'.format(xpos[0], ypos[0]))
# return False
# self.laser.on()
# flip = 1
# for m, x in tqdm(enumerate(xpos), desc = 'X', total = len(xpos), leave = False):
# flip = flip * -1
# self.stage.moveto(x = x)
# for n in tqdm(range(len(ypos)), desc = 'Y', total = len(ypos), leave = False):
# if flip > 0: #use nn instead of n, accounts for snaking between lines
# nn = len(ypos) - n - 1
# else:
# nn = n
# self.stage.moveto(y = ypos[nn])
# self._spotMap[nn,m] = self._getOpticalPower()/100 # suns
# self.laser.off()
# self.stage.moveto(x = self.__sampleposition[0], y = self.__sampleposition[1]) #return stage to camera FOV
# if export:
# self.saveSpotCalibration(note = 'Autosaved by calibrateSpot')
# def saveSpotCalibration(self, note = ''):
# fids = os.listdir(calibrationfolder)
# sampleNumber = 1
# for fid in fids:
# if 'frgPL_spotCalibration' in fid:
# sampleNumber = sampleNumber + 1
# todaysDate = datetime.datetime.now().strftime('%Y%m%d')
# todaysTime = datetime.datetime.now().strftime('%H:%M:%S')
# fname = 'frgPL_spotCalibration_{0}_{1:04d}.h5'.format(todaysDate, sampleNumber)
# fpath = os.path.join(calibrationfolder, fname)
# ## write h5 file
# with h5py.File(fpath, 'w') as f:
# # sample info
# info = f.create_group('/info')
# info.attrs['description'] = 'Metadata describing sample, datetime, etc.'
# # temp = info.create_dataset('name', data = self.sampleName.encode('utf-8'))
# # temp.attrs['description'] = 'Sample name.'
# temp = info.create_dataset('notes', data = note.encode())
# temp.attrs['description'] = 'Any notes describing each measurement.'
# temp = info.create_dataset('date', data = todaysDate.encode())
# temp.attrs['description'] = 'Measurement date.'
# temp = info.create_dataset('time', data = todaysTime.encode())
# temp.attrs['description'] = 'Measurement time of day.'
# # calibrations
# calibrations = f.create_group('/calibrations')
# calibrations.attrs['description'] = 'Instrument calibrations to be used for data analysis.'
# temp = calibrations.create_dataset('samplepos', data = np.array(self.__sampleposition))
# temp.attrs['description'] = 'Stage position (um)[x,y] where sample is centered in camera field of view'
# temp = calibrations.create_dataset('detectorpos', data = np.array(self.__detectorposition))
# temp.attrs['description'] = 'Stage position (um) [x,y] where photodetector is centered in camera field of view'
# temp = calibrations.create_dataset('camerafov', data = np.array(self.__fov))
# temp.attrs['description'] = 'Camera field of view (um) [x,y]'
# temp = calibrations.create_dataset('spot', data = np.array(self._spotMap))
# temp.attrs['description'] = 'Map [y, x] of incident optical power across camera FOV, can be used to normalize PL images. Laser power set to 0.5 during spot mapping.'
# temp = calibrations.create_dataset('spotx', data = np.array(self._spotMapX))
# temp.attrs['description'] = 'X positions (um) for map of incident optical power across camera FOV, can be used to normalize PL images.'
# temp = calibrations.create_dataset('spoty', data = np.array(self._spotMapY))
# temp.attrs['description'] = 'Y positions (um) for map of incident optical power across camera FOV, can be used to normalize PL images.'
# print('Data saved to {0}'.format(fpath))
# def loadSpotCalibration(self, calibrationnumber = None):
# fids = os.listdir(calibrationfolder)
# calnum = []
# for fid in fids:
# if 'frgPL_spotCalibration' in fid:
# calnum.append(int(fid.split('_')[3].split('.')[0]))
# else:
# calnum.append(0)
# if len(calnum) == 0:
# print('Could not find any calibration files! No spotmap loaded')
# return False
# calfile = fids[calnum.index(max(calnum))] #default to most recent calibration
# if calibrationnumber is not None:
# try:
# calfile = fids[calnum.index(calibrationnumber)]
# except:
# print('Could not find calibration {0}: defaulting to most recent calibration {1}'.format(calibrationnumber, max(calnum)))
# fpath = os.path.join(calibrationfolder, calfile)
# ## write h5 file
# with h5py.File(fpath, 'r') as f:
# self._spotMap = f['calibrations']['spot'][:]
# self._spotMapX = f['calibrations']['spotx'][:]
# self._spotMapT = f['calibrations']['spoty'][:]
# print('Loaded calibration {0} from {1}.'.format(calnum[fids.index(calfile)], fpath))
# return True
### group measurement methods
### helper methods
def _waitForTemperature(self):
refreshDelay = 0.5 #how long to wait between temperautre checks, in seconds
reachedTemp = False
startTime = time.time()
while (not reachedTemp) and (time.time() - startTime <= self.maxSoakTime):
currentTemp = self.tec.getTemperature()
if np.abs(currentTemp - self.temperature) <= self.temperatureTolerance:
reachedTemp = True
else:
time.sleep(refreshDelay)
if not reachedTemp:
print('Did not reach {0} C within {1} seconds: starting measurement anyways.'.format(self.temperature, self.maxSoakTime))
return True
def _getOpticalPower(self):
### reads signal from photodetector, converts to optical power using calibration vs thorlabs Si power meter (last checked 2019-08-20)
calibrationFit = [-0.1145, 9.1180]; #polyfit of detector reading vs (Si power meter / detector reading), 2019-08-20
voltage, _, _ = self.daq.acquire()
power = voltage * (calibrationFit[0]*voltage + calibrationFit[1]) #measured optical power, units of mW/cm^2
return power
def _backgroundCorrection(self, img):
img = img - self.__backgroundImage
img[img<0] = 0
return img
#def normalizePL(self):
### used laser spot power map to normalize PL counts to incident optical power
| 37.412651
| 264
| 0.68352
| 4,995
| 37,263
| 5.038438
| 0.111111
| 0.043867
| 0.045297
| 0.020861
| 0.936663
| 0.931935
| 0.925498
| 0.923114
| 0.91914
| 0.912067
| 0
| 0.020725
| 0.177763
| 37,263
| 995
| 265
| 37.450251
| 0.800679
| 0.548721
| 0
| 0.781671
| 0
| 0.005391
| 0.181963
| 0.011235
| 0
| 0
| 0.000491
| 0
| 0
| 1
| 0.06469
| false
| 0.008086
| 0.040431
| 0.005391
| 0.140162
| 0.026954
| 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
|
67e866156253669dede93ccecd018cab755b0e01
| 118
|
py
|
Python
|
platform/hwconf_data/efr32fg12p/PythonSnippet/__init__.py
|
lenloe1/v2.7
|
9ac9c4a7bb37987af382c80647f42d84db5f2e1d
|
[
"Zlib"
] | null | null | null |
platform/hwconf_data/efr32fg12p/PythonSnippet/__init__.py
|
lenloe1/v2.7
|
9ac9c4a7bb37987af382c80647f42d84db5f2e1d
|
[
"Zlib"
] | 1
|
2020-08-25T02:36:22.000Z
|
2020-08-25T02:36:22.000Z
|
platform/hwconf_data/efr32fg12p/PythonSnippet/__init__.py
|
lenloe1/v2.7
|
9ac9c4a7bb37987af382c80647f42d84db5f2e1d
|
[
"Zlib"
] | 1
|
2020-08-25T01:56:04.000Z
|
2020-08-25T01:56:04.000Z
|
from efr32fg12p.halconfig import halconfig_types as types
from efr32fg12p.halconfig import halconfig_dependency as dep
| 59
| 60
| 0.889831
| 16
| 118
| 6.4375
| 0.5
| 0.271845
| 0.446602
| 0.563107
| 0.737864
| 0
| 0
| 0
| 0
| 0
| 0
| 0.074766
| 0.09322
| 118
| 2
| 60
| 59
| 0.88785
| 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
|
db09e647d892a5ede24652b38055d01891a6c46e
| 2,819
|
py
|
Python
|
inxai/perturbers.py
|
sbobek/inxai
|
734a5ce164a1b3736350d9671300d5e58e714639
|
[
"MIT"
] | 3
|
2020-12-29T09:29:55.000Z
|
2021-11-04T11:30:54.000Z
|
inxai/perturbers.py
|
sbobek/inxai
|
734a5ce164a1b3736350d9671300d5e58e714639
|
[
"MIT"
] | 6
|
2020-12-23T09:48:56.000Z
|
2021-05-31T18:55:31.000Z
|
inxai/perturbers.py
|
sbobek/inxai
|
734a5ce164a1b3736350d9671300d5e58e714639
|
[
"MIT"
] | 1
|
2021-01-06T19:22:47.000Z
|
2021-01-06T19:22:47.000Z
|
from sklearn.base import TransformerMixin, BaseEstimator
import numpy as np
class NormalNoisePerturber(TransformerMixin, BaseEstimator):
""" Generates normal noise according to specified parameters.
During perturbation phase the noise is added to the features.
If @scale is not given, it is learned during @fit.
"""
def __init__(self, scale=None, importances = None):
self.scale = scale
self.importances = importances
self.colnames = None
def set_importances(self, importances):
self.importances = importances
def fit(self, X):
if self.scale is None:
#detect dscale for every column
pass
self.colnames = X.columns
return self
def transform(self, X):
return X.apply(lambda x: x + self.importances * np.random.normal(0, self.scale), axis=1)
def get_feature_names(self):
return self.colnames
class MultivarietNormalNoisePerturber(TransformerMixin, BaseEstimator):
def __init__(self, mean=None, cov=None, importances = None):
self.mean = mean
self.cov = cov
self.importances = importances
self.colnames = None
def set_importances(self, importances):
self.importances = importances
def fit(self, X):
if self.mean or self.cov is None:
#detect dscale for every column
pass
self.colnames = X.columns
return self
def transform(self, X):
#TODO normal dist in lc of x and scale of importance should be multiplied by the multiivariate dist
return X.apply(lambda x: x + self.importances * np.random.multivariate_normal(self.mean, self.cov), axis=1)
def get_feature_names(self):
return self.colnames
class CategoricalNoisePerturber(TransformerMixin, BaseEstimator):
def __init__(self, probability_multiplier=1, importances = None):
self.probability_multiplier = probability_multiplier
self.importances = importances
def set_importances(self, importances):
self.importances = importances
def fit(self, X):
return self
def transform(self, X):
for col_idx, column in enumerate(X):
unique_elements = X[column].unique()
for row in X[column].iteritems():
if np.random.random() < self.probability_multiplier * self.importances[col_idx]:
X.loc[row[0], column] = np.random.choice(unique_elements)
return X
class ShufflePerturber(TransformerMixin, BaseEstimator):
"""Perturbation that is performed according to the distribution of the features by shuffling values within features
across all instances. No artificial noise is generated
"""
def fit(self, X):
return self
def transform(self, X):
pass
| 32.77907
| 119
| 0.668677
| 337
| 2,819
| 5.510386
| 0.296736
| 0.096931
| 0.084006
| 0.062466
| 0.430802
| 0.387722
| 0.387722
| 0.387722
| 0.387722
| 0.387722
| 0
| 0.002376
| 0.253636
| 2,819
| 85
| 120
| 33.164706
| 0.880228
| 0.176304
| 0
| 0.581818
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0.011765
| 0
| 1
| 0.290909
| false
| 0.054545
| 0.309091
| 0.109091
| 0.836364
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 1
| 0
| 0
| 1
| 0
| 1
| 1
| 1
| 1
| 0
|
0
| 7
|
db15166c8ed151bf644ab29c5b0c3789915ffca0
| 7,642
|
py
|
Python
|
tests/clustermatch/test_maxdiff_clustering.py
|
sinc-lab/clustermatch
|
8b66b3d7add0150ed1d7888889911233544cedfc
|
[
"MIT"
] | 6
|
2019-05-10T05:39:28.000Z
|
2021-03-16T18:48:27.000Z
|
tests/clustermatch/test_maxdiff_clustering.py
|
sinc-lab/clustermatch
|
8b66b3d7add0150ed1d7888889911233544cedfc
|
[
"MIT"
] | 1
|
2021-01-29T19:43:09.000Z
|
2021-01-29T19:43:09.000Z
|
tests/clustermatch/test_maxdiff_clustering.py
|
sinc-lab/clustermatch
|
8b66b3d7add0150ed1d7888889911233544cedfc
|
[
"MIT"
] | null | null | null |
import unittest
from random import shuffle
import numpy as np
from sklearn.metrics import adjusted_rand_score as ari
from clustermatch.cluster import run_kde_clustering, run_maxdiff_clustering
class MaxDiffClusteringTest(unittest.TestCase):
def test_two_clusters01(self):
# Prepare
np.random.seed(0)
data = np.concatenate((
np.random.normal(0, 1, 13),
np.random.normal(5, 1, 7)
))
data_ref = np.concatenate(([0] * 13, [1] * 7))
idx_shuffled = list(range(len(data)))
shuffle(idx_shuffled)
data = data[idx_shuffled]
data_ref = data_ref[idx_shuffled]
# Run
part = run_maxdiff_clustering(data, 2)
# Validate
assert part is not None
assert len(part) == 20
assert len(np.unique(part)) == 2
assert ari(data_ref, part) == 1.0
def test_two_clusters02(self):
# Prepare
np.random.seed(0)
data = np.concatenate((
np.random.normal(-3, 0.5, 7),
np.random.normal(0, 1, 7),
np.random.normal(5, 1, 6)
))
data_ref = np.concatenate(([0] * 14, [1] * 6))
idx_shuffled = list(range(len(data)))
shuffle(idx_shuffled)
data = data[idx_shuffled]
data_ref = data_ref[idx_shuffled]
# Run
part = run_maxdiff_clustering(data, 2)
# Validate
assert part is not None
assert len(part) == 20
assert len(np.unique(part)) == 2
assert ari(data_ref, part) == 1.0
def test_three_clusters01(self):
# Prepare
np.random.seed(0)
data = np.concatenate((
np.random.normal(-3, 0.5, 7),
np.random.normal(0, 1, 7),
np.random.normal(5, 1, 6)
))
data_ref = np.concatenate(([0] * 7, [1] * 7, [2] * 6))
idx_shuffled = list(range(len(data)))
shuffle(idx_shuffled)
data = data[idx_shuffled]
data_ref = data_ref[idx_shuffled]
# Run
part = run_maxdiff_clustering(data, 3)
# Validate
assert part is not None
assert len(part) == 20
assert len(np.unique(part)) == 3
assert ari(data_ref, part) == 1.0
def test_three_clusters02(self):
# Prepare
np.random.seed(0)
data = np.concatenate((
np.random.normal(-5, 1, 6),
np.random.normal(0, 1, 7),
np.random.normal(4, 0.5, 7),
))
data_ref = np.concatenate(([0] * 6, [1] * 7, [2] * 7))
idx_shuffled = list(range(len(data)))
shuffle(idx_shuffled)
data = data[idx_shuffled]
data_ref = data_ref[idx_shuffled]
# Run
part = run_maxdiff_clustering(data, 3)
# Validate
assert part is not None
assert len(part) == 20
assert len(np.unique(part)) == 3
assert ari(data_ref, part) == 1.0
def test_four_clusters01(self):
# Prepare
np.random.seed(0)
data = np.concatenate((
np.random.normal(-5, 1, 5),
np.random.normal(0, 0.5, 5),
np.random.normal(3, 0.5, 5),
np.random.normal(7, 1, 5),
))
data_ref = np.concatenate(([0] * 5, [1] * 5, [2] * 5, [3] * 5))
idx_shuffled = list(range(len(data)))
shuffle(idx_shuffled)
data = data[idx_shuffled]
data_ref = data_ref[idx_shuffled]
# Run
part = run_maxdiff_clustering(data, 4)
# Validate
assert part is not None
assert len(part) == 20
assert len(np.unique(part)) == 4
assert ari(data_ref, part) == 1.0
def test_fixed_points_5_clusters(self):
# Prepare
np.random.seed(0)
data = np.concatenate((
np.array([-11.5, -11.45, -10.5]), # whole diff: 1.0 -> 0.05, 0.95
# diff between: 3.0
np.array([-7.5, -6.5, -6.0]), # whole diff: 1.5 -> 0.50, 1.00
# diff between: 2.0
np.array([-4.0, -3.9, -3.5, -3.3, -3.2]), # whole diff: 0.8 -> 0.10, 0.40
# diff between: 2.5
np.array([-0.7, -0.6, -0.4, -0.35, 0.5]), # whole diff: 1.2 -> 0.05, 0.85
# diff between: 5.0
np.array([5.5, 5.9, 6.3, 6.8, 7.2]), # whole diff: 1.7 -> 0.4, 0.5
))
data_ref = np.concatenate(([0] * 3, [1] * 3, [2] * 5, [3] * 5, [4] * 5))
assert len(data) == len(data_ref)
idx_shuffled = list(range(len(data)))
shuffle(idx_shuffled)
data = data[idx_shuffled]
data_ref = data_ref[idx_shuffled]
# Run
part = run_maxdiff_clustering(data, 5)
# Validate
assert part is not None
assert len(part) == 21
assert len(np.unique(part)) == 5
assert ari(data_ref, part) == 1.0
def test_fixed_points_6_clusters(self):
# Prepare
np.random.seed(0)
# same data, but rearranged to show more clusters
data = np.concatenate((
np.array([-11.5, -11.45, -10.5]), # whole diff: 1.0 -> 0.05, 0.95
# diff between: 3.0
# NEXT SPLIT np.array([-7.5, -6.5, -6.0]), # whole diff: 1.5 -> 0.50, 1.00
np.array([-7.5]), # whole diff: 0.0 -> -
## diff between: 1.0
np.array([-6.5, -6.0]), # whole diff: 0.5 -> -
# diff between: 2.0
np.array([-4.0, -3.9, -3.5, -3.3, -3.2]), # whole diff: 0.8 -> 0.10, 0.40
# diff between: 2.5
np.array([-0.7, -0.6, -0.4, -0.35, 0.5]), # whole diff: 1.2 -> 0.05, 0.85
# diff between: 5.0
np.array([5.5, 5.9, 6.3, 6.8, 7.2]), # whole diff: 1.7 -> 0.4, 0.5
))
data_ref = np.concatenate(([0] * 3, [5] * 1, [6] * 2, [2] * 5, [3] * 5, [4] * 5))
assert len(data) == len(data_ref)
idx_shuffled = list(range(len(data)))
shuffle(idx_shuffled)
data = data[idx_shuffled]
data_ref = data_ref[idx_shuffled]
# Run
part = run_maxdiff_clustering(data, 6)
# Validate
assert part is not None
assert len(part) == 21
assert len(np.unique(part)) == 6
assert ari(data_ref, part) == 1.0
def test_fixed_points_10_clusters(self):
# Prepare
np.random.seed(0)
# same data, but rearranged to show more clusters
data = np.concatenate((
np.array([-11.5, -11.45, -10.5]), # whole diff: 1.0 -> 0.05, 0.95
# diff between: 3.0
# NEXT SPLIT np.array([-7.5, -6.5, -6.0]), # whole diff: 1.5 -> 0.50, 1.00
np.array([-7.5]), # whole diff: 0.0 -> -
## diff between: 1.0
np.array([-6.5, -6.0]), # whole diff: 0.5 -> -
# diff between: 2.0
np.array([-4.0, -3.9, -3.5, -3.3, -3.2]), # whole diff: 0.8 -> 0.10, 0.40
# diff between: 2.5
np.array([-0.7, -0.6, -0.4, -0.35, 0.5]), # whole diff: 1.2 -> 0.05, 0.85
# diff between: 5.0
np.array([5.5, 5.9, 6.3, 6.8, 7.2]), # whole diff: 1.7 -> 0.4, 0.5
))
data_ref = np.concatenate(([0] * 3, [5] * 1, [6] * 2, [2] * 5, [3] * 5, [4] * 5))
assert len(data) == len(data_ref)
idx_shuffled = list(range(len(data)))
shuffle(idx_shuffled)
data = data[idx_shuffled]
data_ref = data_ref[idx_shuffled]
# Run
part = run_maxdiff_clustering(data, 6)
# Validate
assert part is not None
assert len(part) == 21
assert len(np.unique(part)) == 6
assert ari(data_ref, part) == 1.0
| 30.939271
| 89
| 0.510076
| 1,130
| 7,642
| 3.351327
| 0.077876
| 0.064695
| 0.063375
| 0.052284
| 0.927119
| 0.922366
| 0.895432
| 0.893319
| 0.893319
| 0.885133
| 0
| 0.095837
| 0.333682
| 7,642
| 247
| 90
| 30.939271
| 0.647879
| 0.147474
| 0
| 0.784314
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.228758
| 1
| 0.052288
| false
| 0
| 0.03268
| 0
| 0.091503
| 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
|
db33414904bab2859f4a5e4d6f693a8437980e26
| 60,975
|
py
|
Python
|
L09_packet_dir/Jobs_from_L09_Game_Fool_pkg/by_Aleksey_Vedyashkin_game_logic1_durak.py
|
github-Ilfat/All_Lesson_of_Python
|
fbab364fe91e05e08658662b16470a1809b6b2b0
|
[
"MIT"
] | null | null | null |
L09_packet_dir/Jobs_from_L09_Game_Fool_pkg/by_Aleksey_Vedyashkin_game_logic1_durak.py
|
github-Ilfat/All_Lesson_of_Python
|
fbab364fe91e05e08658662b16470a1809b6b2b0
|
[
"MIT"
] | null | null | null |
L09_packet_dir/Jobs_from_L09_Game_Fool_pkg/by_Aleksey_Vedyashkin_game_logic1_durak.py
|
github-Ilfat/All_Lesson_of_Python
|
fbab364fe91e05e08658662b16470a1809b6b2b0
|
[
"MIT"
] | null | null | null |
from L09_packet_dir.Jobs_from_L09_Game_Fool_pkg import Game_fool_card_desc
#
#Алексей Ведяшкин • Вс 02 Фев 12:57 • Ответ создан Сб 01 Фев 01:00
#https://github.com/sdfxisme/lesson9/blob/master/cards.py
import random
class Game_logic1_durak:
def __init__(self,N,mode):
self.turn_num = N
self.mode = mode
def set_players_cards(self):
self.list_coloda = [(6, 'c'), (7, 'c'), (8, 'c'), (9, 'c'), (10, 'c'), (11, 'c'), (12, 'c'), (13, 'c'), (14, 'c'),
(6, 'b'), (7, 'b'), (8, 'b'), (9, 'b'), (10, 'b'), (11, 'b'), (12, 'b'), (13, 'b'), (14, 'b'),
(6, 'k'), (7, 'k'), (8, 'k'), (9, 'k'), (10, 'k'), (11, 'k'), (12, 'k'), (13, 'k'), (14, 'k'),
(6, 'p'), (7, 'p'), (8, 'p'), (9, 'p'), (10, 'p'), (11, 'p'), (12, 'p'), (13, 'p'), (14, 'p')]
list_cards_player_1 = []
list_cards_player_2 = []
for i in range(6):
player_1_card = random.choice(self.list_coloda)
list_cards_player_1.append(player_1_card)
self.list_coloda.remove(player_1_card)
player_2_card = random.choice(self.list_coloda)
list_cards_player_2.append(player_2_card)
self.list_coloda.remove(player_2_card)
self.player_1_cards = list_cards_player_1
self.player_2_cards = list_cards_player_2
self.player_1_cards.sort()
self.player_2_cards.sort()
kozir_card = random.choice(self.list_coloda)
self.kozir = kozir_card[1]
random.shuffle(self.list_coloda)
self.list_bito = []
#--------------------------------------------------------------------------------------------------------------
self.n1='Компьютер' #──── имя игрока 1
self.n2='Компьютер' #──── имя игрока 2
self.g1c = [0,0,0] #──── ранг карты, игрока 1
self.g1s = [0,0,0] #──── масть карты, игрока 1
self.d_c = [0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] #──── ранг карты, для позиций с 1 по 4 и 18
self.d_s = [0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] #──── масть карты, для позиций с 1 по 4 и 18
self.g2c = [0,0,0] #──── ранг карты, игрока 2
self.g2s = [0,0,0] #──── масть карты, игрока 2
for i in range(len(self.player_1_cards)):
tuple_g1 = self.player_1_cards[i]
tuple_g2 = self.player_2_cards[i]
self.g1c.append(tuple_g1[0]-4)
if tuple_g1[1] == 'c': self.g1s.append(4)
if tuple_g1[1] == 'b': self.g1s.append(3)
if tuple_g1[1] == 'k': self.g1s.append(2)
if tuple_g1[1] == 'p': self.g1s.append(5)
self.g2c.append(tuple_g2[0]-4)
if tuple_g2[1] == 'c': self.g2s.append(4)
if tuple_g2[1] == 'b': self.g2s.append(3)
if tuple_g2[1] == 'k': self.g2s.append(2)
if tuple_g2[1] == 'p': self.g2s.append(5)
self.d_c.insert(3, 1) # козырь только масть
if self.kozir == 'c': self.d_s.insert(3,4)
if self.kozir == 'b': self.d_s.insert(3,3)
if self.kozir == 'k': self.d_s.insert(3,2)
if self.kozir == 'p': self.d_s.insert(3,5)
name1=self.n1
gmr1c=self.g1c
gmr1s=self.g1s
name2=self.n2
gmr2c=self.g2c
gmr2s=self.g2s
dsc_c=self.d_c
dsc_s=self.d_s
cld_n=len(self.list_coloda)
x=Game_fool_card_desc(name1, gmr1c, gmr1s, name2, gmr2c, gmr2s, dsc_c, dsc_s, cld_n)
x.blk_chk()
x.Dsc_img()
#--------------------------------------------------------------------------------------------------------------
if self.mode==2: print('карты 1-го игрока:', len(self.player_1_cards), self.player_1_cards,',')
if self.mode==2: print('карты 2-го игрока:', len(self.player_2_cards), self.player_2_cards,',')
if self.mode==2: print('карт в колоде:', len(self.list_coloda), 'козыри:', self.kozir)
#--------------------------------------------------------------------------------------------------------------
for i in range(179): print('\033[31m*', end='')
print('*\033[0m')
#--------------------------------------------------------------------------------------------------------------
def bito(self,x,y):
self.list_bito.append(x)
self.list_bito.append(y)
self.list_bito.sort()
def dobor(self):
if len(self.list_coloda) > 0 and len(self.player_1_cards) < 6:
self.next_card = self.list_coloda[0]
self.list_coloda.remove(self.next_card)
self.player_1_cards.append(self.next_card)
#----------------------------------------------------------------------------------------------------------
tuple_g1 = self.next_card
self.g1c.append(tuple_g1[0]-4)
if tuple_g1[1] == 'c': self.g1s.append(4)
if tuple_g1[1] == 'b': self.g1s.append(3)
if tuple_g1[1] == 'k': self.g1s.append(2)
if tuple_g1[1] == 'p': self.g1s.append(5)
#----------------------------------------------------------------------------------------------------------
name1=self.n1
gmr1c=self.g1c
gmr1s=self.g1s
name2=self.n2
gmr2c=self.g2c
gmr2s=self.g2s
dsc_c=self.d_c
dsc_s=self.d_s
cld_n=len(self.list_coloda)
x=Game_fool_card_desc(name1, gmr1c, gmr1s, name2, gmr2c, gmr2s, dsc_c, dsc_s, cld_n)
x.blk_chk()
x.Dsc_img()
#----------------------------------------------------------------------------------------------------------
#------------------------------------------------------------------------------------------------------------
if self.mode==2: print('первый игрок взял карту из колоды {}, в колоде {} карт'.format(self.next_card, len(self.list_coloda)))
#----------------------------------------------------------------------------------------------------------
for i in range(179): print('\033[31m*', end='')
print('*\033[0m')
#----------------------------------------------------------------------------------------------------------
if len(self.list_coloda) > 0 and len(self.player_2_cards) < 6:
self.next_card = self.list_coloda[0]
self.list_coloda.remove(self.next_card)
self.player_2_cards.append(self.next_card)
#----------------------------------------------------------------------------------------------------------
tuple_g2 = self.next_card
self.g2c.append(tuple_g2[0]-4)
if tuple_g2[1] == 'c': self.g2s.append(4)
if tuple_g2[1] == 'b': self.g2s.append(3)
if tuple_g2[1] == 'k': self.g2s.append(2)
if tuple_g2[1] == 'p': self.g2s.append(5)
#----------------------------------------------------------------------------------------------------------
name1=self.n1
gmr1c=self.g1c
gmr1s=self.g1s
name2=self.n2
gmr2c=self.g2c
gmr2s=self.g2s
dsc_c=self.d_c
dsc_s=self.d_s
cld_n=len(self.list_coloda)
x=Game_fool_card_desc(name1, gmr1c, gmr1s, name2, gmr2c, gmr2s, dsc_c, dsc_s, cld_n)
x.blk_chk()
x.Dsc_img()
#----------------------------------------------------------------------------------------------------------
#------------------------------------------------------------------------------------------------------------
if self.mode==2: print('второй игрок взял карту из колоды {}, в колоде {} карт'.format(self.next_card, len(self.list_coloda)))
#------------------------------------------------------------------------------------------------------------
for i in range(179): print('\033[31m*', end='')
print('*\033[0m')
#----------------------------------------------------------------------------------------------------------
self.player_1_cards.sort()
self.player_2_cards.sort()
self.turn_cards_player_1_not_kozir = [x for x in self.player_1_cards if x[1] != self.kozir]
self.turn_cards_player_1_not_kozir.sort()
self.turn_cards_player_1_kozir = [x for x in self.player_1_cards if x[1] == self.kozir]
self.turn_cards_player_1_kozir.sort()
self.turn_cards_player_2_not_kozir = [x for x in self.player_2_cards if x[1] != self.kozir]
self.turn_cards_player_2_not_kozir.sort()
self.turn_cards_player_2_kozir = [x for x in self.player_2_cards if x[1] == self.kozir]
self.turn_cards_player_2_kozir.sort()
def turn_cards(self):
w = 0
for i in range(1,self.turn_num):
if w == 0:
self.dobor()
if len(self.turn_cards_player_1_not_kozir)>0 :
turn_cards_player_1 = self.turn_cards_player_1_not_kozir[0]
else:
turn_cards_player_1 = self.turn_cards_player_1_kozir[0]
turn_cards_player_1_suit = turn_cards_player_1[1]
turn_cards_player_1_digit = turn_cards_player_1[0]
#------------------------------------------------------------------------------------------------------
tuple_g1=()
for m in range(len(self.g1c)):
if self.g1s[m]==4: tuple_g1 =(self.g1c[m]+4, 'c')
if self.g1s[m]==3: tuple_g1 =(self.g1c[m]+4, 'b')
if self.g1s[m]==2: tuple_g1 =(self.g1c[m]+4, 'k')
if self.g1s[m]==5: tuple_g1 =(self.g1c[m]+4, 'p')
if tuple_g1 == turn_cards_player_1:
self.ln_d=len(self.d_c)-2
for p in range(5,self.ln_d):
if self.d_c[p] ==0 and self.d_s[p] ==0:
del self.d_c[p]
self.d_c.insert(p,m)
name1=self.n1
gmr1c=self.g1c
gmr1s=self.g1s
name2=self.n2
gmr2c=self.g2c
gmr2s=self.g2s
dsc_c=self.d_c
dsc_s=self.d_s
cld_n=len(self.list_coloda)
x=Game_fool_card_desc(name1, gmr1c, gmr1s, name2, gmr2c, gmr2s, dsc_c, dsc_s, cld_n)
x.blk_chk()
x.Dsc_img()
break
break
#------------------------------------------------------------------------------------------------------
#------------------------------------------------------------------------------------------------------
if self.mode==2: print('ход первого игрока:', turn_cards_player_1)
#------------------------------------------------------------------------------------------------------
for i in range(179): print('\033[31m*', end='')
print('*\033[0m')
#------------------------------------------------------------------------------------------------------
list_cards_player_2_suit = [x for x in self.player_2_cards if x[1] == turn_cards_player_1_suit]
list_cards_player_2_suit_higher = [x for x in list_cards_player_2_suit if x[0] > turn_cards_player_1_digit]
if len(list_cards_player_2_suit_higher) + len(self.turn_cards_player_2_kozir) == 0:
self.player_2_cards.append(turn_cards_player_1)
#------------------------------------------------------------------------------------------------------
self.ln_d=len(self.d_s)-1
for m in range(5,self.ln_d):
if self.d_c[m]!=0:
self.g2c.append(self.g1c[self.d_c[m]])
self.g2s.append(self.g1s[self.d_c[m]])
del self.g1c[self.d_c[m]]
del self.g1s[self.d_c[m]]
del self.d_c[m]
del self.d_s[m]
self.d_c.insert(m,0)
self.d_s.insert(m,0)
m=5
name1=self.n1
gmr1c=self.g1c
gmr1s=self.g1s
name2=self.n2
gmr2c=self.g2c
gmr2s=self.g2s
dsc_c=self.d_c
dsc_s=self.d_s
cld_n=len(self.list_coloda)
x=Game_fool_card_desc(name1, gmr1c, gmr1s, name2, gmr2c, gmr2s, dsc_c, dsc_s, cld_n)
x.blk_chk()
x.Dsc_img()
#--------------------------------------------------------------------------------------------------
#--------------------------------------------------------------------------------------------------
if self.mode==2: print('второй игрок взял')
#--------------------------------------------------------------------------------------------------
for i in range(179): print('\033[31m*', end='')
print('*\033[0m')
#--------------------------------------------------------------------------------------------------
self.player_1_cards.remove(turn_cards_player_1)
self.dobor()
w = 0
elif turn_cards_player_1_suit == self.kozir and turn_cards_player_1[0] > self.turn_cards_player_2_kozir[-1][0]:
self.player_2_cards.append(turn_cards_player_1)
#--------------------------------------------------------------------------------------------------
self.ln_d=len(self.d_s)-1
for m in range(5,self.ln_d):
if self.d_c[m]!=0:
self.g2c.append(self.g1c[self.d_c[m]])
self.g2s.append(self.g1s[self.d_c[m]])
del self.g1c[self.d_c[m]]
del self.g1s[self.d_c[m]]
del self.d_c[m]
del self.d_s[m]
self.d_c.insert(m,0)
self.d_s.insert(m,0)
m=5
name1=self.n1
gmr1c=self.g1c
gmr1s=self.g1s
name2=self.n2
gmr2c=self.g2c
gmr2s=self.g2s
dsc_c=self.d_c
dsc_s=self.d_s
cld_n=len(self.list_coloda)
x=Game_fool_card_desc(name1, gmr1c, gmr1s, name2, gmr2c, gmr2s, dsc_c, dsc_s, cld_n)
x.blk_chk()
x.Dsc_img()
#--------------------------------------------------------------------------------------------------
#--------------------------------------------------------------------------------------------------
if self.mode==2: print('второй игрок взял')
self.player_1_cards.remove(turn_cards_player_1)
self.dobor()
w = 0
elif turn_cards_player_1_suit == self.kozir and turn_cards_player_1[0] < self.turn_cards_player_2_kozir[-1][0]:
#if self.mode==2: print('ход второго игрока:', self.turn_cards_player_2_kozir[-1])
#---2020_04_17-----------------------------------------------
if self.mode==2: print('введите номер козырной карты: 0,1,2,3,4....') # self.turn_cards_player_2_kozir[-1]
#self.m = 7
self.m = len(self.turn_cards_player_2_kozir)-1
if self.m > (len(self.turn_cards_player_2_kozir)):
#turn_cards_player_2 = self.turn_cards_player_2_kozir[self.m]
turn_cards_player_2 = self.turn_cards_player_2_kozir[-1]
#raise Exception (ValueError)
elif self.m <= (len(self.turn_cards_player_2_kozir) - 1):
if self.mode==2: print('ok, играем без смены козырей')
#----------------------------------------------------------------------------------------------
for i in range(179): print('\033[31m*', end='')
print('*\033[0m')
#----------------------------------------------------------------------------------------------
turn_cards_player_2 = self.turn_cards_player_2_kozir[self.m]
#---2020_04_17-----------------------------------------------
#--------------------------------------------------------------------------------------------------
tuple_g2=()
for m in range(len(self.g2c)):
if self.g2s[m]==4: tuple_g2 =(self.g2c[m]+4, 'c')
if self.g2s[m]==3: tuple_g2 =(self.g2c[m]+4, 'b')
if self.g2s[m]==2: tuple_g2 =(self.g2c[m]+4, 'k')
if self.g2s[m]==5: tuple_g2 =(self.g2c[m]+4, 'p')
if turn_cards_player_2 == tuple_g2:
for p in range(5,len(self.d_s)-1):
if self.d_c[p] ==0 and self.d_s[p] ==0:
del self.d_s[p]
self.d_s.insert(p,m)
name1=self.n1
gmr1c=self.g1c
gmr1s=self.g1s
name2=self.n2
gmr2c=self.g2c
gmr2s=self.g2s
dsc_c=self.d_c
dsc_s=self.d_s
cld_n=len(self.list_coloda)
x=Game_fool_card_desc(name1, gmr1c, gmr1s, name2, gmr2c, gmr2s, dsc_c, dsc_s, cld_n)
x.blk_chk()
x.Dsc_img()
break
break
#--------------------------------------------------------------------------------------------------
if self.mode==2: print('ход второго игрока:', turn_cards_player_2)
#--------------------------------------------------------------------------------------------------
for i in range(179): print('\033[31m*', end='')
print('*\033[0m')
#--------------------------------------------------------------------------------------------------
self.player_1_cards.remove(turn_cards_player_1)
self.player_2_cards.remove(turn_cards_player_2)
self.bito(turn_cards_player_1,turn_cards_player_2)
#--------------------------------------------------------------------------------------------------
bito_g1=[]
bito_g2=[]
self.ln_d=len(self.d_c)-2
for m in range(self.ln_d,4,-1):
if self.d_c[m]!=0:
bito_g1.append(self.d_c[m])
del self.d_c[m]
self.d_c.insert(m,0)
if self.d_s[m]!=0:
bito_g2.append(self.d_s[m])
del self.d_s[m]
self.d_s.insert(m,0)
self.ln_d=len(bito_g1)
for m in range(self.ln_d):
del self.g1c[bito_g1[m]]
del self.g1s[bito_g1[m]]
if bito_g1[m]==2:
self.g1c.insert(2,0)
self.g1s.insert(2,0)
self.ln_d=len(bito_g2)
for m in range(self.ln_d):
del self.g2c[bito_g2[m]]
del self.g2s[bito_g2[m]]
if bito_g2[m]==2:
self.g2c.insert(2,0)
self.g2s.insert(2,0)
self.ln_d=(len(self.d_c)-1)
del self.d_c[self.ln_d]
del self.d_s[self.ln_d]
self.d_c.append(1)
self.d_s.append(1)
name1=self.n1
gmr1c=self.g1c
gmr1s=self.g1s
name2=self.n2
gmr2c=self.g2c
gmr2s=self.g2s
dsc_c=self.d_c
dsc_s=self.d_s
cld_n=len(self.list_coloda)
x=Game_fool_card_desc(name1, gmr1c, gmr1s, name2, gmr2c, gmr2s, dsc_c, dsc_s, cld_n)
x.blk_chk()
x.Dsc_img()
#--------------------------------------------------------------------------------------------------
if self.mode==2: print('бито')
#--------------------------------------------------------------------------------------------------
for i in range(179): print('\033[31m*', end='')
print('*\033[0m')
#--------------------------------------------------------------------------------------------------
self.dobor()
w = 1
elif len(list_cards_player_2_suit_higher) == 0 and len(self.turn_cards_player_2_kozir) > 0:
#--------------------------------------------------------------------------------------------------
tuple_g2=()
for m in range(len(self.g2c)):
if self.g2s[m]==4: tuple_g2 =(self.g2c[m]+4, 'c')
if self.g2s[m]==3: tuple_g2 =(self.g2c[m]+4, 'b')
if self.g2s[m]==2: tuple_g2 =(self.g2c[m]+4, 'k')
if self.g2s[m]==5: tuple_g2 =(self.g2c[m]+4, 'p')
if self.turn_cards_player_2_kozir[0] == tuple_g2:
for p in range(5,len(self.d_s)-1):
if self.d_c[p] ==0 and self.d_s[p] ==0:
del self.d_s[p]
self.d_s.insert(p,m)
name1=self.n1
gmr1c=self.g1c
gmr1s=self.g1s
name2=self.n2
gmr2c=self.g2c
gmr2s=self.g2s
dsc_c=self.d_c
dsc_s=self.d_s
cld_n=len(self.list_coloda)
x=Game_fool_card_desc(name1, gmr1c, gmr1s, name2, gmr2c, gmr2s, dsc_c, dsc_s, cld_n)
x.blk_chk()
x.Dsc_img()
break
break
#--------------------------------------------------------------------------------------------------
if self.mode==2: print('ход второго игрока:', self.turn_cards_player_2_kozir[0])
#--------------------------------------------------------------------------------------------------
for i in range(179): print('\033[31m*', end='')
print('*\033[0m')
#--------------------------------------------------------------------------------------------------
turn_cards_player_2 = self.turn_cards_player_2_kozir[0]
self.player_1_cards.remove(turn_cards_player_1)
self.player_2_cards.remove(turn_cards_player_2)
self.bito(turn_cards_player_1, turn_cards_player_2)
#--------------------------------------------------------------------------------------------------
bito_g1=[]
bito_g2=[]
self.ln_d=len(self.d_c)-2
# удаляется метка картоместа изображения "боя"
for m in range(self.ln_d,4,-1):
if self.d_c[m]!=0:
bito_g1.append(self.d_c[m])
del self.d_c[m]
self.d_c.insert(m,0)
if self.d_s[m]!=0:
bito_g2.append(self.d_s[m])
del self.d_s[m]
self.d_s.insert(m,0)
#---------------------------------------------
self.ln_d=len(bito_g1)
if self.ln_d!=0:
for m in range(self.ln_d):
del self.g1c[bito_g1[m]]
del self.g1s[bito_g1[m]]
if bito_g1[m]==2:
self.g1c.insert(2,0)
self.g1s.insert(2,0)
self.ln_d=len(bito_g2)
for m in range(self.ln_d):
del self.g2c[bito_g2[m]]
del self.g2s[bito_g2[m]]
if bito_g2[m]==2:
self.g2c.insert(2,0)
self.g2s.insert(2,0)
# ---- удаляется и устанавливается метка картоместа изображения "бито"
self.ln_d=(len(self.d_c)-1)
del self.d_c[self.ln_d]
del self.d_s[self.ln_d]
self.d_c.append(1)
self.d_s.append(1)
#---------------------------------------------------------------------
name1=self.n1
gmr1c=self.g1c
gmr1s=self.g1s
name2=self.n2
gmr2c=self.g2c
gmr2s=self.g2s
dsc_c=self.d_c
dsc_s=self.d_s
cld_n=len(self.list_coloda)
x=Game_fool_card_desc(name1, gmr1c, gmr1s, name2, gmr2c, gmr2s, dsc_c, dsc_s, cld_n)
x.blk_chk()
x.Dsc_img()
#--------------------------------------------------------------------------------------------------
if self.mode==2: print('бито')
#--------------------------------------------------------------------------------------------------
for i in range(179): print('\033[31m*', end='')
print('*\033[0m')
#--------------------------------------------------------------------------------------------------
self.dobor()
w = 1
else:
#--------------------------------------------------------------------------------------------------
tuple_g2=()
for m in range(len(self.g2c)):
if self.g2s[m]==4: tuple_g2 =(self.g2c[m]+4, 'c')
if self.g2s[m]==3: tuple_g2 =(self.g2c[m]+4, 'b')
if self.g2s[m]==2: tuple_g2 =(self.g2c[m]+4, 'k')
if self.g2s[m]==5: tuple_g2 =(self.g2c[m]+4, 'p')
if list_cards_player_2_suit_higher[0] == tuple_g2:
for p in range(5,len(self.d_s)-1):
if self.d_c[p] ==0 and self.d_s[p] ==0:
del self.d_s[p]
self.d_s.insert(p,m)
name1=self.n1
gmr1c=self.g1c
gmr1s=self.g1s
name2=self.n2
gmr2c=self.g2c
gmr2s=self.g2s
dsc_c=self.d_c
dsc_s=self.d_s
cld_n=len(self.list_coloda)
x=Game_fool_card_desc(name1, gmr1c, gmr1s, name2, gmr2c, gmr2s, dsc_c, dsc_s, cld_n)
x.blk_chk()
x.Dsc_img()
break
break
#--------------------------------------------------------------------------------------------------
if self.mode==2: print('ход второго игрока:', list_cards_player_2_suit_higher[0])
#--------------------------------------------------------------------------------------------------
for i in range(179): print('\033[31m*', end='')
print('*\033[0m')
#--------------------------------------------------------------------------------------------------
turn_cards_player_2 = list_cards_player_2_suit_higher[0]
self.player_1_cards.remove(turn_cards_player_1)
self.player_2_cards.remove(turn_cards_player_2)
self.bito(turn_cards_player_1, turn_cards_player_2)
#--------------------------------------------------------------------------------------------------
bito_g1=[]
bito_g2=[]
self.ln_d=len(self.d_c)-2
for m in range(self.ln_d,4,-1):
if self.d_c[m]!=0:
bito_g1.append(self.d_c[m])
del self.d_c[m]
self.d_c.insert(m,0)
if self.d_s[m]!=0:
bito_g2.append(self.d_s[m])
del self.d_s[m]
self.d_s.insert(m,0)
self.ln_d=len(bito_g1)
if self.ln_d!=0:
for m in range(self.ln_d):
del self.g1c[bito_g1[m]]
del self.g1s[bito_g1[m]]
if bito_g1[m]==2:
self.g1c.insert(2,0)
self.g1s.insert(2,0)
self.ln_d=len(bito_g2)
for m in range(self.ln_d):
del self.g2c[bito_g2[m]]
del self.g2s[bito_g2[m]]
if bito_g2[m]==2:
self.g2c.insert(2,0)
self.g2s.insert(2,0)
self.ln_d=(len(self.d_c)-1)
del self.d_c[self.ln_d]
del self.d_s[self.ln_d]
self.d_c.append(1)
self.d_s.append(1)
name1=self.n1
gmr1c=self.g1c
gmr1s=self.g1s
name2=self.n2
gmr2c=self.g2c
gmr2s=self.g2s
dsc_c=self.d_c
dsc_s=self.d_s
cld_n=len(self.list_coloda)
x=Game_fool_card_desc(name1, gmr1c, gmr1s, name2, gmr2c, gmr2s, dsc_c, dsc_s, cld_n)
x.blk_chk()
x.Dsc_img()
#--------------------------------------------------------------------------------------------------
if self.mode==2: print('бито')
#--------------------------------------------------------------------------------------------------
for i in range(179): print('\033[31m*', end='')
print('*\033[0m')
#--------------------------------------------------------------------------------------------------
self.dobor()
w = 1
if self.mode==2: print('карты 1-го игрока после {} хода:'.format(i), len(self.player_1_cards), self.player_1_cards)
if self.mode==2: print('карты 2-го игрока после {} хода:'.format(i), len(self.player_2_cards), self.player_2_cards)
#------------------------------------------------------------------------------------------------------
for i in range(179): print('\033[31m*', end='')
print('*\033[0m')
#------------------------------------------------------------------------------------------------------
if w == 1:
self.dobor()
if len(self.turn_cards_player_2_not_kozir)>0 :
turn_cards_player_2 = self.turn_cards_player_2_not_kozir[0]
else:
turn_cards_player_2 = self.turn_cards_player_2_kozir[0]
turn_cards_player_2_suit = turn_cards_player_2[1]
turn_cards_player_2_digit = turn_cards_player_2[0]
#------------------------------------------------------------------------------------------------------
tuple_g2=()
for m in range(len(self.g2c)):
if self.g2s[m]==4: tuple_g2 =(self.g2c[m]+4, 'c')
if self.g2s[m]==3: tuple_g2 =(self.g2c[m]+4, 'b')
if self.g2s[m]==2: tuple_g2 =(self.g2c[m]+4, 'k')
if self.g2s[m]==5: tuple_g2 =(self.g2c[m]+4, 'p')
if turn_cards_player_2 == tuple_g2:
for p in range(5,len(self.d_s)-1):
if self.d_c[p] ==0 and self.d_s[p] ==0:
del self.d_s[p]
self.d_s.insert(p,m)
name1=self.n1
gmr1c=self.g1c
gmr1s=self.g1s
name2=self.n2
gmr2c=self.g2c
gmr2s=self.g2s
dsc_c=self.d_c
dsc_s=self.d_s
cld_n=len(self.list_coloda)
x=Game_fool_card_desc(name1, gmr1c, gmr1s, name2, gmr2c, gmr2s, dsc_c, dsc_s, cld_n)
x.blk_chk()
x.Dsc_img()
break
break
#------------------------------------------------------------------------------------------------------
if self.mode==2: print('ход второго игрока:', turn_cards_player_2)
#------------------------------------------------------------------------------------------------------
for i in range(179): print('\033[31m*', end='')
print('*\033[0m')
#------------------------------------------------------------------------------------------------------
list_cards_player_1_suit = [x for x in self.player_1_cards if x[1] == turn_cards_player_2_suit]
list_cards_player_1_suit_higher = [x for x in list_cards_player_1_suit if x[0] > turn_cards_player_2_digit]
if len(list_cards_player_1_suit_higher) + len(self.turn_cards_player_1_kozir) == 0:
self.player_1_cards.append(turn_cards_player_2)
self.player_2_cards.remove(turn_cards_player_2)
#--------------------------------------------------------------------------------------------------
self.ln_d=len(self.d_s)-1
for m in range(5,self.ln_d):
if self.d_s[m]!=0:
self.g1c.append(self.g2c[self.d_s[m]])
self.g1s.append(self.g2s[self.d_s[m]])
del self.g2c[self.d_s[m]]
del self.g2s[self.d_s[m]]
del self.d_c[m]
del self.d_s[m]
self.d_c.insert(m,0)
self.d_s.insert(m,0)
m=5
name1=self.n1
gmr1c=self.g1c
gmr1s=self.g1s
name2=self.n2
gmr2c=self.g2c
gmr2s=self.g2s
dsc_c=self.d_c
dsc_s=self.d_s
cld_n=len(self.list_coloda)
x=Game_fool_card_desc(name1, gmr1c, gmr1s, name2, gmr2c, gmr2s, dsc_c, dsc_s, cld_n)
x.blk_chk()
x.Dsc_img()
#--------------------------------------------------------------------------------------------------
#--------------------------------------------------------------------------------------------------
if self.mode==2: print('первый игрок взял')
#--------------------------------------------------------------------------------------------------
for i in range(179): print('\033[31m*', end='')
print('*\033[0m')
#--------------------------------------------------------------------------------------------------
self.dobor()
w = 1
elif turn_cards_player_2_suit == self.kozir and turn_cards_player_2[0] > self.turn_cards_player_1_kozir[-1][0]:
self.player_1_cards.append(turn_cards_player_2)
self.player_2_cards.remove(turn_cards_player_2)
#--------------------------------------------------------------------------------------------------
self.ln_d=len(self.d_s)-1
for m in range(5,self.ln_d):
if self.d_s[m]!=0:
self.g1c.append(self.g2c[self.d_s[m]])
self.g1s.append(self.g2s[self.d_s[m]])
del self.g2c[self.d_s[m]]
del self.g2s[self.d_s[m]]
del self.d_c[m]
del self.d_s[m]
self.d_c.insert(m,0)
self.d_s.insert(m,0)
m=5
name1=self.n1
gmr1c=self.g1c
gmr1s=self.g1s
name2=self.n2
gmr2c=self.g2c
gmr2s=self.g2s
dsc_c=self.d_c
dsc_s=self.d_s
cld_n=len(self.list_coloda)
x=Game_fool_card_desc(name1, gmr1c, gmr1s, name2, gmr2c, gmr2s, dsc_c, dsc_s, cld_n)
x.blk_chk()
x.Dsc_img()
#--------------------------------------------------------------------------------------------------
#--------------------------------------------------------------------------------------------------
if self.mode==2: print('первый игрок взял')
#--------------------------------------------------------------------------------------------------
for i in range(179): print('\033[31m*', end='')
print('*\033[0m')
#--------------------------------------------------------------------------------------------------
self.dobor()
w = 1
elif turn_cards_player_2_suit == self.kozir and turn_cards_player_2[0] < self.turn_cards_player_1_kozir[-1][0]:
#--------------------------------------------------------------------------------------------------
tuple_g1=()
for m in range(len(self.g1c)):
if self.g1s[m]==4: tuple_g1 =(self.g1c[m]+4, 'c')
if self.g1s[m]==3: tuple_g1 =(self.g1c[m]+4, 'b')
if self.g1s[m]==2: tuple_g1 =(self.g1c[m]+4, 'k')
if self.g1s[m]==5: tuple_g1 =(self.g1c[m]+4, 'p')
if tuple_g1==self.turn_cards_player_1_kozir[-1]:
self.ln_d=len(self.d_c)-2
for p in range(5,self.ln_d):
if self.d_c[p] ==0 and self.d_s[p] ==0:
del self.d_c[p]
self.d_c.insert(p,m)
name1=self.n1
gmr1c=self.g1c
gmr1s=self.g1s
name2=self.n2
gmr2c=self.g2c
gmr2s=self.g2s
dsc_c=self.d_c
dsc_s=self.d_s
cld_n=len(self.list_coloda)
x=Game_fool_card_desc(name1, gmr1c, gmr1s, name2, gmr2c, gmr2s, dsc_c, dsc_s, cld_n)
x.blk_chk()
x.Dsc_img()
break
break
#----------------------------------------------------------------------------------------------
#--------------------------------------------------------------------------------------------------
if self.mode==2: print('ход первого игрока:', self.turn_cards_player_1_kozir[-1])
#--------------------------------------------------------------------------------------------------
for i in range(179): print('\033[31m*', end='')
print('*\033[0m')
#--------------------------------------------------------------------------------------------------
turn_cards_player_1 = self.turn_cards_player_1_kozir[-1]
self.player_1_cards.remove(turn_cards_player_1)
self.player_2_cards.remove(turn_cards_player_2)
self.bito(turn_cards_player_1, turn_cards_player_2)
#--------------------------------------------------------------------------------------------------
bito_g1=[]
bito_g2=[]
self.ln_d=len(self.d_c)-2
for m in range(self.ln_d,4,-1):
if self.d_c[m]!=0:
bito_g1.append(self.d_c[m])
del self.d_c[m]
self.d_c.insert(m,0)
if self.d_s[m]!=0:
bito_g2.append(self.d_s[m])
del self.d_s[m]
self.d_s.insert(m,0)
self.ln_d=len(bito_g1)
if self.ln_d!=0:
for m in range(self.ln_d):
del self.g1c[bito_g1[m]]
del self.g1s[bito_g1[m]]
if bito_g1[m]==2:
self.g1c.insert(2,0)
self.g1s.insert(2,0)
self.ln_d=len(bito_g2)
for m in range(self.ln_d):
del self.g2c[bito_g2[m]]
del self.g2s[bito_g2[m]]
if bito_g2[m]==2:
self.g2c.insert(2,0)
self.g2s.insert(2,0)
self.ln_d=(len(self.d_c)-1)
del self.d_c[self.ln_d]
del self.d_s[self.ln_d]
self.d_c.append(1)
self.d_s.append(1)
name1=self.n1
gmr1c=self.g1c
gmr1s=self.g1s
name2=self.n2
gmr2c=self.g2c
gmr2s=self.g2s
dsc_c=self.d_c
dsc_s=self.d_s
cld_n=len(self.list_coloda)
x=Game_fool_card_desc(name1, gmr1c, gmr1s, name2, gmr2c, gmr2s, dsc_c, dsc_s, cld_n)
x.blk_chk()
x.Dsc_img()
#--------------------------------------------------------------------------------------------------
if self.mode==2: print('бито')
#--------------------------------------------------------------------------------------------------
for i in range(179): print('\033[31m*', end='')
print('*\033[0m')
#--------------------------------------------------------------------------------------------------
self.dobor()
w = 0
elif len(list_cards_player_1_suit_higher) == 0 and len(self.turn_cards_player_1_kozir) > 0:
#--------------------------------------------------------------------------------------------------
tuple_g1=()
for m in range(len(self.g1c)):
if self.g1s[m]==4: tuple_g1 =(self.g1c[m]+4, 'c')
if self.g1s[m]==3: tuple_g1 =(self.g1c[m]+4, 'b')
if self.g1s[m]==2: tuple_g1 =(self.g1c[m]+4, 'k')
if self.g1s[m]==5: tuple_g1 =(self.g1c[m]+4, 'p')
if tuple_g1 == self.turn_cards_player_1_kozir[0]:
self.ln_d=len(self.d_c)-2
for p in range(5,self.ln_d):
if self.d_c[p] ==0 and self.d_s[p] ==0:
del self.d_c[p]
self.d_c.insert(p,m)
name1=self.n1
gmr1c=self.g1c
gmr1s=self.g1s
name2=self.n2
gmr2c=self.g2c
gmr2s=self.g2s
dsc_c=self.d_c
dsc_s=self.d_s
cld_n=len(self.list_coloda)
x=Game_fool_card_desc(name1, gmr1c, gmr1s, name2, gmr2c, gmr2s, dsc_c, dsc_s, cld_n)
x.blk_chk()
x.Dsc_img()
break
break
#----------------------------------------------------------------------------------------------
#--------------------------------------------------------------------------------------------------
if self.mode==2: print('ход первого игрока:', self.turn_cards_player_1_kozir[0])
#--------------------------------------------------------------------------------------------------
for i in range(179): print('\033[31m*', end='')
print('*\033[0m')
#--------------------------------------------------------------------------------------------------
turn_cards_player_1 = self.turn_cards_player_1_kozir[0]
self.player_1_cards.remove(turn_cards_player_1)
self.player_2_cards.remove(turn_cards_player_2)
self.bito(turn_cards_player_1, turn_cards_player_2)
#--------------------------------------------------------------------------------------------------
bito_g1=[]
bito_g2=[]
self.ln_d=len(self.d_c)-2
for m in range(self.ln_d,4,-1):
if self.d_c[m]!=0:
bito_g1.append(self.d_c[m])
del self.d_c[m]
self.d_c.insert(m,0)
if self.d_s[m]!=0:
bito_g2.append(self.d_s[m])
del self.d_s[m]
self.d_s.insert(m,0)
self.ln_d=len(bito_g1)
if self.ln_d!=0:
for m in range(self.ln_d):
del self.g1c[bito_g1[m]]
del self.g1s[bito_g1[m]]
if bito_g1[m]==2:
self.g1c.insert(2,0)
self.g1s.insert(2,0)
self.ln_d=len(bito_g2)
for m in range(self.ln_d):
del self.g2c[bito_g2[m]]
del self.g2s[bito_g2[m]]
if bito_g2[m]==2:
self.g2c.insert(2,0)
self.g2s.insert(2,0)
self.ln_d=(len(self.d_c)-1)
del self.d_c[self.ln_d]
del self.d_s[self.ln_d]
self.d_c.append(1)
self.d_s.append(1)
name1=self.n1
gmr1c=self.g1c
gmr1s=self.g1s
name2=self.n2
gmr2c=self.g2c
gmr2s=self.g2s
dsc_c=self.d_c
dsc_s=self.d_s
cld_n=len(self.list_coloda)
x=Game_fool_card_desc(name1, gmr1c, gmr1s, name2, gmr2c, gmr2s, dsc_c, dsc_s, cld_n)
x.blk_chk()
x.Dsc_img()
#--------------------------------------------------------------------------------------------------
if self.mode==2: print('бито')
#--------------------------------------------------------------------------------------------------
for i in range(179): print('\033[31m*', end='')
print('*\033[0m')
#--------------------------------------------------------------------------------------------------
self.dobor()
w = 0
else:
#--------------------------------------------------------------------------------------------------
tuple_g1=()
for m in range(len(self.g1c)):
if self.g1s[m]==4: tuple_g1 =(self.g1c[m]+4, 'c')
if self.g1s[m]==3: tuple_g1 =(self.g1c[m]+4, 'b')
if self.g1s[m]==2: tuple_g1 =(self.g1c[m]+4, 'k')
if self.g1s[m]==5: tuple_g1 =(self.g1c[m]+4, 'p')
if tuple_g1 == list_cards_player_1_suit_higher[0]:
self.ln_d=len(self.d_c)-2
for p in range(5,self.ln_d):
if self.d_c[p] ==0 and self.d_s[p] ==0:
del self.d_c[p]
self.d_c.insert(p,m)
name1=self.n1
gmr1c=self.g1c
gmr1s=self.g1s
name2=self.n2
gmr2c=self.g2c
gmr2s=self.g2s
dsc_c=self.d_c
dsc_s=self.d_s
cld_n=len(self.list_coloda)
x=Game_fool_card_desc(name1, gmr1c, gmr1s, name2, gmr2c, gmr2s, dsc_c, dsc_s, cld_n)
x.blk_chk()
x.Dsc_img()
break
break
#----------------------------------------------------------------------------------------------
#--------------------------------------------------------------------------------------------------
if self.mode==2: print('ход первого игрока:', list_cards_player_1_suit_higher[0])
#--------------------------------------------------------------------------------------------------
for i in range(179): print('\033[31m*', end='')
print('*\033[0m')
#--------------------------------------------------------------------------------------------------
turn_cards_player_1 = list_cards_player_1_suit_higher[0]
self.player_1_cards.remove(turn_cards_player_1)
self.player_2_cards.remove(turn_cards_player_2)
self.bito(turn_cards_player_1, turn_cards_player_2)
#--------------------------------------------------------------------------------------------------
bito_g1=[]
bito_g2=[]
self.ln_d=len(self.d_c)-2
for m in range(self.ln_d,4,-1):
if self.d_c[m]!=0:
bito_g1.append(self.d_c[m])
del self.d_c[m]
self.d_c.insert(m,0)
if self.d_s[m]!=0:
bito_g2.append(self.d_s[m])
del self.d_s[m]
self.d_s.insert(m,0)
self.ln_d=len(bito_g1)
if self.ln_d!=0:
for m in range(self.ln_d):
del self.g1c[bito_g1[m]]
del self.g1s[bito_g1[m]]
if bito_g1[m]==2:
self.g1c.insert(2,0)
self.g1s.insert(2,0)
self.ln_d=len(bito_g2)
for m in range(self.ln_d):
del self.g2c[bito_g2[m]]
del self.g2s[bito_g2[m]]
if bito_g2[m]==2:
self.g2c.insert(2,0)
self.g2s.insert(2,0)
self.ln_d=(len(self.d_c)-1)
del self.d_c[self.ln_d]
del self.d_s[self.ln_d]
self.d_c.append(1)
self.d_s.append(1)
name1=self.n1
gmr1c=self.g1c
gmr1s=self.g1s
name2=self.n2
gmr2c=self.g2c
gmr2s=self.g2s
dsc_c=self.d_c
dsc_s=self.d_s
cld_n=len(self.list_coloda)
x=Game_fool_card_desc(name1, gmr1c, gmr1s, name2, gmr2c, gmr2s, dsc_c, dsc_s, cld_n)
x.blk_chk()
x.Dsc_img()
#--------------------------------------------------------------------------------------------------
if self.mode==2: print('бито')
#--------------------------------------------------------------------------------------------------
for i in range(179): print('\033[31m*', end='')
print('*\033[0m')
#--------------------------------------------------------------------------------------------------
self.dobor()
w = 0
if self.mode==2: print('карты 1-го игрока после {} хода:'.format(i), len(self.player_1_cards), self.player_1_cards)
if self.mode==2: print('карты 2-го игрока после {} хода:'.format(i), len(self.player_2_cards), self.player_2_cards)
#------------------------------------------------------------------------------------------------------
for i in range(179): print('\033[31m*', end='')
print('*\033[0m')
#------------------------------------------------------------------------------------------------------
if len(self.player_1_cards) == 0 and len(self.player_2_cards) == 0:
First_lst=[]
# Вывод изображений игроков - ничья! (совместное фото)
f = open('Image_player_first', encoding="utf8")
i=0
for line in f:
line = f.readline(32)
First_lst.append(line)
i+=1
f.close()
Second_lst=[]
f = open('Image_player_second', encoding="utf8")
i=0
for line in f:
line = f.readline(27)
Second_lst.append(line)
i+=1
f.close()
for ii in range(i-1):
print(First_lst[ii] + Second_lst[ii])
#------------------------------------------------------------------------------------------------------
for i in range(179): print('\033[31m*', end='')
print('*\033[0m')
#------------------------------------------------------------------------------------------------------
print('ничья')
#------------------------------------------------------------------------------------------------------
for i in range(179): print('\033[31m*', end='')
print('*\033[0m')
#------------------------------------------------------------------------------------------------------
break
elif len(self.player_1_cards) == 0:
# Вывод изображения игрока 1 - победителя!
f = open('Image_player_first', encoding="utf8")
i=1
for line in f:
print(line, end='')
i+=1
f.close()
#------------------------------------------------------------------------------------------------------
for i in range(179): print('\033[31m*', end='')
print('*\033[0m')
#------------------------------------------------------------------------------------------------------
print('1-й игрок победил')
#------------------------------------------------------------------------------------------------------
for i in range(179): print('\033[31m*', end='')
print('*\033[0m')
#------------------------------------------------------------------------------------------------------
break
elif len(self.player_2_cards) == 0:
# Вывод изображения игрока 2 - победителя!
f = open('Image_player_second', encoding="utf8")
for line in f:
print(line, end='')
f.close()
print()
#------------------------------------------------------------------------------------------------------
for i in range(179): print('\033[31m*', end='')
print('*\033[0m')
#------------------------------------------------------------------------------------------------------
print('2-й игрок победил')
#------------------------------------------------------------------------------------------------------
for i in range(179): print('\033[31m*', end='')
print('*\033[0m')
#------------------------------------------------------------------------------------------------------
break
if __name__ == '__main__':
mode=2
cards_game = Game_logic1_durak(25, mode)
cards_game.set_players_cards()
cards_game.turn_cards()
| 52.564655
| 138
| 0.32305
| 6,019
| 60,975
| 3.050174
| 0.034059
| 0.05801
| 0.035623
| 0.051419
| 0.925867
| 0.908165
| 0.891388
| 0.85277
| 0.840787
| 0.819979
| 0
| 0.050081
| 0.402034
| 60,975
| 1,160
| 139
| 52.564655
| 0.452511
| 0.201214
| 0
| 0.853363
| 0
| 0
| 0.027713
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.005513
| false
| 0
| 0.002205
| 0
| 0.00882
| 0.103638
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
c0431037ed831d74983e65f840739dda7a04bb3e
| 7,645
|
py
|
Python
|
core/tests/tests_api.py
|
MohammadReza-Jafari/narvan
|
e7fc25ba3dc5d034db3ff10c13532e26894536d3
|
[
"MIT"
] | null | null | null |
core/tests/tests_api.py
|
MohammadReza-Jafari/narvan
|
e7fc25ba3dc5d034db3ff10c13532e26894536d3
|
[
"MIT"
] | null | null | null |
core/tests/tests_api.py
|
MohammadReza-Jafari/narvan
|
e7fc25ba3dc5d034db3ff10c13532e26894536d3
|
[
"MIT"
] | null | null | null |
from django.test import TestCase
from django.urls import reverse
from rest_framework.test import APIClient
FIBONACCI_URL = reverse('calculator:fibonacci')
FACTORIAL_URL = reverse('calculator:factorial')
ACKERMANN_url = reverse('calculator:ackermann')
class FibonacciApiTest(TestCase):
# testing fibonacci functionality
def setUp(self):
self.api_client = APIClient()
def test_no_input_provided(self):
payload = {}
res = self.api_client.post(FIBONACCI_URL, data=payload)
self.assertEqual(res.status_code, 400)
self.assertEqual(res.data['n'][0], "This field is required.")
def test_non_integer_value(self):
payload = {
'n': 23.45
}
res = self.api_client.post(FIBONACCI_URL, data=payload)
self.assertEqual(res.status_code, 400)
self.assertEqual(res.data['n'][0], "A valid integer is required.")
def test_pass_the_limit(self):
payload = {
'n': 50
}
res = self.api_client.post(FIBONACCI_URL, data=payload)
self.assertEqual(res.status_code, 400)
self.assertEqual(res.data['n'][0], 'you should provide number less than 35')
def test_negative_input(self):
payload = {
'n': -23
}
res = self.api_client.post(FIBONACCI_URL, data=payload)
self.assertEqual(res.status_code, 400)
self.assertEqual(res.data['n'][0], 'you should enter non-negative numbers.')
def test_success(self):
payload = {
'n': 14
}
res = self.api_client.post(FIBONACCI_URL, data=payload)
self.assertEqual(res.status_code, 200)
self.assertEqual(res.data['success'], True)
self.assertEqual(res.data['result'], 377)
class FactorialApiTest(TestCase):
# testing factorial functionality
def setUp(self):
self.api_client = APIClient()
def test_no_input_provided(self):
payload = {}
res = self.api_client.post(FACTORIAL_URL, data=payload)
self.assertEqual(res.status_code, 400)
self.assertEqual(res.data['n'][0], "This field is required.")
def test_non_integer_value(self):
payload = {
'n': 23.45
}
res = self.api_client.post(FACTORIAL_URL, data=payload)
self.assertEqual(res.status_code, 400)
self.assertEqual(res.data['n'][0], "A valid integer is required.")
def test_pass_the_limit(self):
payload = {
'n': 200
}
res = self.api_client.post(FACTORIAL_URL, data=payload)
self.assertEqual(res.status_code, 400)
self.assertEqual(res.data['n'][0], 'you should provide number less than 20')
def test_negative_input(self):
payload = {
'n': -23
}
res = self.api_client.post(FACTORIAL_URL, data=payload)
self.assertEqual(res.status_code, 400)
self.assertEqual(res.data['n'][0], 'you should enter non-negative numbers.')
def test_success(self):
payload = {
'n': 7
}
res = self.api_client.post(FACTORIAL_URL, data=payload)
self.assertEqual(res.status_code, 200)
self.assertEqual(res.data['success'], True)
self.assertEqual(res.data['result'], 5040)
class AckermannApiTest(TestCase):
# testing ackermann functionality
def setUp(self):
self.api_client = APIClient()
def test_no_input_provided(self):
payload = {}
res = self.api_client.post(ACKERMANN_url, data=payload)
self.assertEqual(res.status_code, 400)
self.assertEqual(res.data['n'][0], "This field is required.")
self.assertEqual(res.data['m'][0], "This field is required.")
def test_m_not_provided(self):
payload = {
'n': 23
}
res = self.api_client.post(ACKERMANN_url, data=payload)
self.assertEqual(res.status_code, 400)
self.assertEqual(res.data['m'][0], "This field is required.")
def test_n_not_provided(self):
payload = {
'm': 3
}
res = self.api_client.post(ACKERMANN_url, data=payload)
self.assertEqual(res.status_code, 400)
self.assertEqual(res.data['n'][0], "This field is required.")
def test_non_integer_values(self):
payload = {
'n': 23.45,
'm' : 1.5
}
res = self.api_client.post(ACKERMANN_url, data=payload)
self.assertEqual(res.status_code, 400)
self.assertEqual(res.data['n'][0], "A valid integer is required.")
self.assertEqual(res.data['m'][0], "A valid integer is required.")
def test_pass_the_limit1(self):
payload = {
'n': 10000000,
'm': 2
}
res = self.api_client.post(ACKERMANN_url, data=payload)
self.assertEqual(res.status_code, 400)
self.assertEqual(res.data['n'][0], 'you should provide value for n less than 100000')
def test_pass_the_limit2(self):
payload = {
'n': 10000,
'm': 7
}
res = self.api_client.post(ACKERMANN_url, data=payload)
self.assertEqual(res.status_code, 400)
self.assertEqual(res.data['m'][0], 'you should provide value for m less than 4')
def test_pass_the_limit3(self):
payload = {
'n': 250,
'm': 3
}
res = self.api_client.post(ACKERMANN_url, data=payload)
self.assertEqual(res.status_code, 400)
self.assertEqual(
res.data['non_field_errors'][0],
'With m=3 you could choose value for n between 0 and 60'
)
def test_pass_the_limit4(self):
payload = {
'n': 250,
'm': 4
}
res = self.api_client.post(ACKERMANN_url, data=payload)
self.assertEqual(res.status_code, 400)
self.assertEqual(
res.data['non_field_errors'][0],
'With m=4 you could choose 0,1 for n'
)
def test_negative_input(self):
payload = {
'n': -23,
'm': -2
}
res = self.api_client.post(ACKERMANN_url, data=payload)
self.assertEqual(res.status_code, 400)
self.assertEqual(res.data['n'][0], 'you should enter non-negative numbers.')
self.assertEqual(res.data['n'][0], 'you should enter non-negative numbers.')
def test_success1(self):
payload = {
'm': 2,
'n': 200
}
res = self.api_client.post(ACKERMANN_url, data=payload)
self.assertEqual(res.status_code, 200)
self.assertEqual(res.data['success'], True)
self.assertEqual(res.data['result'], 403)
def test_success2(self):
payload = {
'm': 1,
'n': 200
}
res = self.api_client.post(ACKERMANN_url, data=payload)
self.assertEqual(res.status_code, 200)
self.assertEqual(res.data['success'], True)
self.assertEqual(res.data['result'], 202)
def test_success3(self):
payload = {
'm': 0,
'n': 200
}
res = self.api_client.post(ACKERMANN_url, data=payload)
self.assertEqual(res.status_code, 200)
self.assertEqual(res.data['success'], True)
self.assertEqual(res.data['result'], 201)
def test_success4(self):
payload = {
'm': 4,
'n': 1
}
res = self.api_client.post(ACKERMANN_url, data=payload)
self.assertEqual(res.status_code, 200)
self.assertEqual(res.data['success'], True)
self.assertEqual(res.data['result'], 65533)
| 29.747082
| 93
| 0.593591
| 944
| 7,645
| 4.665254
| 0.111229
| 0.18733
| 0.224796
| 0.159855
| 0.839237
| 0.828565
| 0.820845
| 0.820163
| 0.807221
| 0.804042
| 0
| 0.037252
| 0.280183
| 7,645
| 257
| 94
| 29.747082
| 0.763038
| 0.012426
| 0
| 0.625641
| 0
| 0
| 0.115808
| 0
| 0
| 0
| 0
| 0
| 0.282051
| 1
| 0.133333
| false
| 0.030769
| 0.015385
| 0
| 0.164103
| 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
|
c047f00c03a34b35f5269575ff5398ff40ae8ff8
| 16,249
|
py
|
Python
|
tests/conftest.py
|
rptrchv/agent
|
bd049c4cf8bcc493bce0a0dea93fe4f4444a31ef
|
[
"MIT"
] | null | null | null |
tests/conftest.py
|
rptrchv/agent
|
bd049c4cf8bcc493bce0a0dea93fe4f4444a31ef
|
[
"MIT"
] | null | null | null |
tests/conftest.py
|
rptrchv/agent
|
bd049c4cf8bcc493bce0a0dea93fe4f4444a31ef
|
[
"MIT"
] | null | null | null |
import pytest
NMAP_FIXTURE = """<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE nmaprun>
<?xml-stylesheet href="file:///usr/bin/../share/nmap/nmap.xsl" type="text/xsl"?>
<!-- Nmap 7.60 scan initiated Tue Mar 5 23:21:33 2019 as: nmap -sS -sU -oX - 127.0.0.1 -->
<nmaprun scanner="nmap" args="nmap -sS -sU -oX - 127.0.0.1" start="1551806493" startstr="Tue Mar 5 23:21:33 2019" version="7.60" xmloutputversion="1.04">
<scaninfo type="syn" protocol="tcp" numservices="1000" services="1,3-4,6-7,9,13,17,19-26,30,32-33,37,42-43,49,53,70,79-85,88-90,99-100,106,109-111,113,119,125,135,139,143-144,146,161,163,179,199,211-212,222,254-256,259,264,280,301,306,311,340,366,389,406-407,416-417,425,427,443-445,458,464-465,481,497,500,512-515,524,541,543-545,548,554-555,563,587,593,616-617,625,631,636,646,648,666-668,683,687,691,700,705,711,714,720,722,726,749,765,777,783,787,800-801,808,843,873,880,888,898,900-903,911-912,981,987,990,992-993,995,999-1002,1007,1009-1011,1021-1100,1102,1104-1108,1110-1114,1117,1119,1121-1124,1126,1130-1132,1137-1138,1141,1145,1147-1149,1151-1152,1154,1163-1166,1169,1174-1175,1183,1185-1187,1192,1198-1199,1201,1213,1216-1218,1233-1234,1236,1244,1247-1248,1259,1271-1272,1277,1287,1296,1300-1301,1309-1311,1322,1328,1334,1352,1417,1433-1434,1443,1455,1461,1494,1500-1501,1503,1521,1524,1533,1556,1580,1583,1594,1600,1641,1658,1666,1687-1688,1700,1717-1721,1723,1755,1761,1782-1783,1801,1805,1812,1839-1840,1862-1864,1875,1900,1914,1935,1947,1971-1972,1974,1984,1998-2010,2013,2020-2022,2030,2033-2035,2038,2040-2043,2045-2049,2065,2068,2099-2100,2103,2105-2107,2111,2119,2121,2126,2135,2144,2160-2161,2170,2179,2190-2191,2196,2200,2222,2251,2260,2288,2301,2323,2366,2381-2383,2393-2394,2399,2401,2492,2500,2522,2525,2557,2601-2602,2604-2605,2607-2608,2638,2701-2702,2710,2717-2718,2725,2800,2809,2811,2869,2875,2909-2910,2920,2967-2968,2998,3000-3001,3003,3005-3007,3011,3013,3017,3030-3031,3052,3071,3077,3128,3168,3211,3221,3260-3261,3268-3269,3283,3300-3301,3306,3322-3325,3333,3351,3367,3369-3372,3389-3390,3404,3476,3493,3517,3527,3546,3551,3580,3659,3689-3690,3703,3737,3766,3784,3800-3801,3809,3814,3826-3828,3851,3869,3871,3878,3880,3889,3905,3914,3918,3920,3945,3971,3986,3995,3998,4000-4006,4045,4111,4125-4126,4129,4224,4242,4279,4321,4343,4443-4446,4449,4550,4567,4662,4848,4899-4900,4998,5000-5004,5009,5030,5033,5050-5051,5054,5060-5061,5080,5087,5100-5102,5120,5190,5200,5214,5221-5222,5225-5226,5269,5280,5298,5357,5405,5414,5431-5432,5440,5500,5510,5544,5550,5555,5560,5566,5631,5633,5666,5678-5679,5718,5730,5800-5802,5810-5811,5815,5822,5825,5850,5859,5862,5877,5900-5904,5906-5907,5910-5911,5915,5922,5925,5950,5952,5959-5963,5987-5989,5998-6007,6009,6025,6059,6100-6101,6106,6112,6123,6129,6156,6346,6389,6502,6510,6543,6547,6565-6567,6580,6646,6666-6669,6689,6692,6699,6779,6788-6789,6792,6839,6881,6901,6969,7000-7002,7004,7007,7019,7025,7070,7100,7103,7106,7200-7201,7402,7435,7443,7496,7512,7625,7627,7676,7741,7777-7778,7800,7911,7920-7921,7937-7938,7999-8002,8007-8011,8021-8022,8031,8042,8045,8080-8090,8093,8099-8100,8180-8181,8192-8194,8200,8222,8254,8290-8292,8300,8333,8383,8400,8402,8443,8500,8600,8649,8651-8652,8654,8701,8800,8873,8888,8899,8994,9000-9003,9009-9011,9040,9050,9071,9080-9081,9090-9091,9099-9103,9110-9111,9200,9207,9220,9290,9415,9418,9485,9500,9502-9503,9535,9575,9593-9595,9618,9666,9876-9878,9898,9900,9917,9929,9943-9944,9968,9998-10004,10009-10010,10012,10024-10025,10082,10180,10215,10243,10566,10616-10617,10621,10626,10628-10629,10778,11110-11111,11967,12000,12174,12265,12345,13456,13722,13782-13783,14000,14238,14441-14442,15000,15002-15004,15660,15742,16000-16001,16012,16016,16018,16080,16113,16992-16993,17877,17988,18040,18101,18988,19101,19283,19315,19350,19780,19801,19842,20000,20005,20031,20221-20222,20828,21571,22939,23502,24444,24800,25734-25735,26214,27000,27352-27353,27355-27356,27715,28201,30000,30718,30951,31038,31337,32768-32785,33354,33899,34571-34573,35500,38292,40193,40911,41511,42510,44176,44442-44443,44501,45100,48080,49152-49161,49163,49165,49167,49175-49176,49400,49999-50003,50006,50300,50389,50500,50636,50800,51103,51493,52673,52822,52848,52869,54045,54328,55055-55056,55555,55600,56737-56738,57294,57797,58080,60020,60443,61532,61900,62078,63331,64623,64680,65000,65129,65389"/>
<scaninfo type="udp" protocol="udp" numservices="1000" services="2-3,7,9,13,17,19-23,37-38,42,49,53,67-69,80,88,111-113,120,123,135-139,158,161-162,177,192,199,207,217,363,389,402,407,427,434,443,445,464,497,500,502,512-515,517-518,520,539,559,593,623,626,631,639,643,657,664,682-689,764,767,772-776,780-782,786,789,800,814,826,829,838,902-903,944,959,965,983,989-990,996-1001,1007-1008,1012-1014,1019-1051,1053-1060,1064-1070,1072,1080-1081,1087-1088,1090,1100-1101,1105,1124,1200,1214,1234,1346,1419,1433-1434,1455,1457,1484-1485,1524,1645-1646,1701,1718-1719,1761,1782,1804,1812-1813,1885-1886,1900-1901,1993,2000,2002,2048-2049,2051,2148,2160-2161,2222-2223,2343,2345,2362,2967,3052,3130,3283,3296,3343,3389,3401,3456-3457,3659,3664,3702-3703,4000,4008,4045,4444,4500,4666,4672,5000-5003,5010,5050,5060,5093,5351,5353,5355,5500,5555,5632,6000-6002,6004,6050,6346-6347,6970-6971,7000,7938,8000-8001,8010,8181,8193,8900,9000-9001,9020,9103,9199-9200,9370,9876-9877,9950,10000,10080,11487,16086,16402,16420,16430,16433,16449,16498,16503,16545,16548,16573,16674,16680,16697,16700,16708,16711,16739,16766,16779,16786,16816,16829,16832,16838-16839,16862,16896,16912,16918-16919,16938-16939,16947-16948,16970,16972,16974,17006,17018,17077,17091,17101,17146,17184-17185,17205,17207,17219,17236-17237,17282,17302,17321,17331-17332,17338,17359,17417,17423-17424,17455,17459,17468,17487,17490,17494,17505,17533,17549,17573,17580,17585,17592,17605,17615-17616,17629,17638,17663,17673-17674,17683,17726,17754,17762,17787,17814,17823-17824,17836,17845,17888,17939,17946,17989,18004,18081,18113,18134,18156,18228,18234,18250,18255,18258,18319,18331,18360,18373,18449,18485,18543,18582,18605,18617,18666,18669,18676,18683,18807,18818,18821,18830,18832,18835,18869,18883,18888,18958,18980,18985,18987,18991,18994,18996,19017,19022,19039,19047,19075,19096,19120,19130,19140-19141,19154,19161,19165,19181,19193,19197,19222,19227,19273,19283,19294,19315,19322,19332,19374,19415,19482,19489,19500,19503-19504,19541,19600,19605,19616,19624-19625,19632,19639,19647,19650,19660,19662-19663,19682-19683,19687,19695,19707,19717-19719,19722,19728,19789,19792,19933,19935-19936,19956,19995,19998,20003-20004,20019,20031,20082,20117,20120,20126,20129,20146,20154,20164,20206,20217,20249,20262,20279,20288,20309,20313,20326,20359-20360,20366,20380,20389,20409,20411,20423-20425,20445,20449,20464-20465,20518,20522,20525,20540,20560,20665,20678-20679,20710,20717,20742,20752,20762,20791,20817,20842,20848,20851,20865,20872,20876,20884,20919,21000,21016,21060,21083,21104,21111,21131,21167,21186,21206-21207,21212,21247,21261,21282,21298,21303,21318,21320,21333,21344,21354,21358,21360,21364,21366,21383,21405,21454,21468,21476,21514,21524-21525,21556,21566,21568,21576,21609,21621,21625,21644,21649,21655,21663,21674,21698,21702,21710,21742,21780,21784,21800,21803,21834,21842,21847,21868,21898,21902,21923,21948,21967,22029,22043,22045,22053,22055,22105,22109,22123-22124,22341,22692,22695,22739,22799,22846,22914,22986,22996,23040,23176,23354,23531,23557,23608,23679,23781,23965,23980,24007,24279,24511,24594,24606,24644,24854,24910,25003,25157,25240,25280,25337,25375,25462,25541,25546,25709,25931,26407,26415,26720,26872,26966,27015,27195,27444,27473,27482,27707,27892,27899,28122,28369,28465,28493,28543,28547,28641,28840,28973,29078,29243,29256,29810,29823,29977,30263,30303,30365,30544,30656,30697,30704,30718,30975,31059,31073,31109,31189,31195,31335,31337,31365,31625,31681,31731,31891,32345,32385,32528,32768-32780,32798,32815,32818,32931,33030,33249,33281,33354-33355,33459,33717,33744,33866,33872,34038,34079,34125,34358,34422,34433,34555,34570,34577-34580,34758,34796,34855,34861-34862,34892,35438,35702,35777,35794,36108,36206,36384,36458,36489,36669,36778,36893,36945,37144,37212,37393,37444,37602,37761,37783,37813,37843,38037,38063,38293,38412,38498,38615,39213,39217,39632,39683,39714,39723,39888,40019,40116,40441,40539,40622,40708,40711,40724,40732,40805,40847,40866,40915,41058,41081,41308,41370,41446,41524,41638,41702,41774,41896,41967,41971,42056,42172,42313,42431,42434,42508,42557,42577,42627,42639,43094,43195,43370,43514,43686,43824,43967,44101,44160,44179,44185,44190,44253,44334,44508,44923,44946,44968,45247,45380,45441,45685,45722,45818,45928,46093,46532,46836,47624,47765,47772,47808,47915,47981,48078,48189,48255,48455,48489,48761,49152-49163,49165-49182,49184-49202,49204-49205,49207-49216,49220,49222,49226,49259,49262,49306,49350,49360,49393,49396,49503,49640,49968,50099,50164,50497,50612,50708,50919,51255,51456,51554,51586,51690,51717,51905,51972,52144,52225,52503,53006,53037,53571,53589,53838,54094,54114,54281,54321,54711,54807,54925,55043,55544,55587,56141,57172,57409-57410,57813,57843,57958,57977,58002,58075,58178,58419,58631,58640,58797,59193,59207,59765,59846,60172,60381,60423,61024,61142,61319,61322,61370,61412,61481,61550,61685,61961,62154,62287,62575,62677,62699,62958,63420,63555,64080,64481,64513,64590,64727,65024"/>
<verbose level="0"/>
<debugging level="0"/>
<taskprogress task="UDP Scan" time="1551806497" percent="99.99" remaining="1" etc="1551806497"/>
<host starttime="1551806493" endtime="1551806497"><status state="up" reason="localhost-response" reason_ttl="0"/>
<address addr="127.0.0.1" addrtype="ipv4"/>
<hostnames>
<hostname name="localhost" type="PTR"/>
</hostnames>
<ports><extraports state="closed" count="1996">
<extrareasons reason="resets" count="999"/>
<extrareasons reason="port-unreaches" count="997"/>
</extraports>
<port protocol="tcp" portid="631"><state state="open" reason="syn-ack" reason_ttl="64"/><service name="ipp" method="table" conf="3"/></port>
<port protocol="udp" portid="68"><state state="open|filtered" reason="no-response" reason_ttl="0"/><service name="dhcpc" method="table" conf="3"/></port>
<port protocol="udp" portid="631"><state state="open|filtered" reason="no-response" reason_ttl="0"/><service name="ipp" method="table" conf="3"/></port>
<port protocol="udp" portid="5353"><state state="open|filtered" reason="no-response" reason_ttl="0"/><service name="zeroconf" method="table" conf="3"/></port>
</ports>
<times srtt="32" rttvar="0" to="100000"/>
</host>
<runstats><finished time="1551806497" timestr="Tue Mar 5 23:21:37 2019" elapsed="4.41" summary="Nmap done at Tue Mar 5 23:21:37 2019; 1 IP address (1 host up) scanned in 4.41 seconds" exit="success"/><hosts up="1" down="0" total="1"/>
</runstats>
</nmaprun>
"""
RASPBERRY_FIXTURE = """
Hardware : BCM2708
Revision : 900092
Serial : 00000000ebd5f1e8
"""
INVALID_CERT = """
-----BEGIN CERTIFICATE-----
MIIC5TCCAc2gAwIBAgIJAPMjGMrzQcI/MA0GCSqGSIb3DQEBCwUAMBQxEjAQBgNV
BAMMCWxvY2FsaG9zdDAeFw0xOTAzMDUyMDE5MjRaFw0xOTA0MDQyMDE5MjRaMBQx
EjAQBgNVBAMMCWxvY2FsaG9zdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
ggEBAOgfhzltW1Bx/PLve7sk228G9FeBQmTVkEwiU1tgagvIzM8fhoeDnXoMVRf5
GPWZr4h0E4BtDRQUO7NqgW+r3RQMq4nJljTV9f8Om3Owx41BM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1YjcxMGI5ZS5kLndvdHQu
bG9jYWwwCgYIKoZIzj0EAwIDSAAwRQIgGSUuYz+Osx1FFZnIntWlb2g3dkpT1O/C
5zSuz7b/JcECIQDTa1z7edWWjwBLmFwaCR/2XXU6pt/52Fh+YUq/vwGq5A==
-----END CERTIFICATE-----
"""
KEY = """
-----BEGIN PRIVATE KEY-----
MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgGJEzRpQVxxo0jRKh
0zV00O5iyOkUajHp9ULu0vE6J3KhRANCAARMysskCdlUsORfdMTpBy2iZkx4ycLt
wvxtn4GAzMNNjW7k84yIUwsqoR23mPBjv2VyGeQEhNQAgeDiVWK6UVFW
-----END PRIVATE KEY-----
"""
@pytest.fixture
def nmap_fixture():
return NMAP_FIXTURE
@pytest.fixture
def raspberry_cpuinfo():
return RASPBERRY_FIXTURE
@pytest.fixture
def netif_gateways():
return {
'default': {
2: ('192.168.1.1', 'wlo1')
},
2: [('192.168.1.1', 'wlo1', True)]
}
@pytest.fixture
def netif_ifaddresses():
return {
17: [
{
'addr': 'aa:aa:aa:aa:aa:aa',
'broadcast': 'ff:ff:ff:ff:ff:ff'
}
],
2: [
{
'addr': '192.168.1.3',
'netmask': '255.255.255.0',
'broadcast': '192.168.1.255'
}
],
10: [
{
'addr': 'fe80::1e93:cce9:0000:0000%wlo1',
'netmask': 'ffff:ffff:ffff:ffff::/64'
}
]
}
@pytest.fixture
def netif_gateways_invalid():
return {}
@pytest.fixture
def cert():
return CERT
@pytest.fixture
def key():
return KEY
@pytest.fixture
def invalid_cert():
return INVALID_CERT
@pytest.fixture
def invalid_key():
return INVALID_KEY
@pytest.fixture
def gen_id():
return {"device_id": "60f4e66c1e7746c3ba8f3301d8a4d1c4.d.wott.local"}
@pytest.fixture
def uptime():
return "60 60"
@pytest.fixture
def nmap_stdout():
return '<?xml version="1.0" ?><host></host>'
| 78.497585
| 4,946
| 0.799372
| 2,262
| 16,249
| 5.731653
| 0.820955
| 0.012032
| 0.014809
| 0.002777
| 0.045276
| 0.034169
| 0.032164
| 0.026919
| 0.02445
| 0.021288
| 0
| 0.507911
| 0.047018
| 16,249
| 206
| 4,947
| 78.878641
| 0.329351
| 0
| 1
| 0.174419
| 0
| 0.069767
| 0.924918
| 0.791864
| 0
| 1
| 0
| 0
| 0
| 1
| 0.069767
| false
| 0
| 0.005814
| 0.069767
| 0.145349
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
220af3f4a8ff7694d023ed21f8256c92633f5553
| 5,267
|
py
|
Python
|
mechanic/forms.py
|
srinidh-007/MechFinder
|
6c217ee28963ea11b0960c982aa07cff35e31709
|
[
"Apache-2.0"
] | null | null | null |
mechanic/forms.py
|
srinidh-007/MechFinder
|
6c217ee28963ea11b0960c982aa07cff35e31709
|
[
"Apache-2.0"
] | null | null | null |
mechanic/forms.py
|
srinidh-007/MechFinder
|
6c217ee28963ea11b0960c982aa07cff35e31709
|
[
"Apache-2.0"
] | null | null | null |
from django import forms
"""Forms to calculate route using google maps"""
class DirectionForm(forms.Form):
m_lat = forms.CharField(label='', max_length=100, widget= forms.TextInput(attrs={'id':'m_lat'}))
m_lon = forms.CharField(label='', max_length=100, widget= forms.TextInput(attrs={'id':'m_lon'}))
c_lat = forms.CharField(label='', max_length=100, widget= forms.TextInput(attrs={'id':'c_lat'}))
c_lon = forms.CharField(label='', max_length=100, widget= forms.TextInput(attrs={'id':'c_lon'}))
"""Forms to collect data to be stored in helps_received database"""
class HelpsReceivedForm(forms.Form):
customer_name = forms.CharField(label='', max_length=100, widget= forms.TextInput(attrs={'id':'customer_name_HelpsReceivedForm'}))
mechanic_name = forms.CharField(label='', max_length=100, widget= forms.TextInput(attrs={'id':'mechanic_name_HelpsReceivedForm'}))
email = forms.CharField(label='', max_length=100, widget= forms.TextInput(attrs={'id':'email_HelpsReceivedForm'}))
customer_email = forms.CharField(label='', max_length=100, widget= forms.TextInput(attrs={'id':'customer_email_HelpsReceivedForm'}))
contact_no = forms.CharField(label='', max_length=100, widget= forms.TextInput(attrs={'id':'contact_no_HelpsReceivedForm'}))
customer_contact_no = forms.CharField(label='', max_length=100, widget= forms.TextInput(attrs={'id':'customer_contact_no_HelpsReceivedForm'}))
customer_description = forms.CharField(label='', max_length=1000, widget= forms.TextInput(attrs={'id':'customer_description_HelpsReceivedForm'}))
latitude = forms.CharField(label='', max_length=100, widget= forms.TextInput(attrs={'id':'latitude_HelpsReceivedForm'}))
longitude = forms.CharField(label='', max_length=100, widget= forms.TextInput(attrs={'id':'longitude_HelpsReceivedForm'}))
customer_latitude = forms.CharField(label='', max_length=100, widget= forms.TextInput(attrs={'id':'customer_latitude_HelpsReceivedForm'}))
customer_longitude = forms.CharField(label='', max_length=100, widget= forms.TextInput(attrs={'id':'customer_longitude_HelpsReceivedForm'}))
"""Forms to collect the details about the order to be cancelled and rebroadcasted"""
class CancelOrderForm(forms.Form):
customer_name = forms.CharField(label='', max_length=100, widget= forms.TextInput(attrs={'id':'customer_name_CancelOrderForm'}))
mechanic_name = forms.CharField(label='', max_length=100, widget= forms.TextInput(attrs={'id':'mechanic_name_CancelOrderForm'}))
email = forms.CharField(label='', max_length=100, widget= forms.TextInput(attrs={'id':'email_CancelOrderForm'}))
customer_email = forms.CharField(label='', max_length=100, widget= forms.TextInput(attrs={'id':'customer_email_CancelOrderForm'}))
contact_no = forms.CharField(label='', max_length=100, widget= forms.TextInput(attrs={'id':'contact_no_CancelOrderForm'}))
customer_contact_no = forms.CharField(label='', max_length=100, widget= forms.TextInput(attrs={'id':'customer_contact_no_CancelOrderForm'}))
customer_description = forms.CharField(label='', max_length=1000, widget= forms.TextInput(attrs={'id':'customer_description_CancelOrderForm'}))
latitude = forms.CharField(label='', max_length=100, widget= forms.TextInput(attrs={'id':'latitude_CancelOrderForm'}))
longitude = forms.CharField(label='', max_length=100, widget= forms.TextInput(attrs={'id':'longitude_CancelOrderForm'}))
customer_latitude = forms.CharField(label='', max_length=100, widget= forms.TextInput(attrs={'id':'customer_latitude_CancelOrderForm'}))
customer_longitude = forms.CharField(label='', max_length=100, widget= forms.TextInput(attrs={'id':'customer_longitude_CancelOrderForm'}))
"""Forms to collect the details of orders to be finished"""
class FinishOrderForm(forms.Form):
customer_name = forms.CharField(label='', max_length=100, widget= forms.TextInput(attrs={'id':'customer_name_FinishOrderForm'}))
mechanic_name = forms.CharField(label='', max_length=100, widget= forms.TextInput(attrs={'id':'mechanic_name_FinishOrderForm'}))
email = forms.CharField(label='', max_length=100, widget= forms.TextInput(attrs={'id':'email_FinishOrderForm'}))
customer_email = forms.CharField(label='', max_length=100, widget= forms.TextInput(attrs={'id':'customer_email_FinishOrderForm'}))
contact_no = forms.CharField(label='', max_length=100, widget= forms.TextInput(attrs={'id':'contact_no_FinishOrderForm'}))
customer_contact_no = forms.CharField(label='', max_length=100, widget= forms.TextInput(attrs={'id':'customer_contact_no_FinishOrderForm'}))
customer_description = forms.CharField(label='', max_length=1000, widget= forms.TextInput(attrs={'id':'customer_description_FinishOrderForm'}))
latitude = forms.CharField(label='', max_length=100, widget= forms.TextInput(attrs={'id':'latitude_FinishOrderForm'}))
longitude = forms.CharField(label='', max_length=100, widget= forms.TextInput(attrs={'id':'longitude_FinishOrderForm'}))
customer_latitude = forms.CharField(label='', max_length=100, widget= forms.TextInput(attrs={'id':'customer_latitude_FinishOrderForm'}))
customer_longitude = forms.CharField(label='', max_length=100, widget= forms.TextInput(attrs={'id':'customer_longitude_FinishOrderForm'}))
| 103.27451
| 149
| 0.756977
| 637
| 5,267
| 6.050235
| 0.089482
| 0.134406
| 0.182408
| 0.211209
| 0.794499
| 0.782045
| 0.782045
| 0.782045
| 0.782045
| 0.782045
| 0
| 0.023549
| 0.080881
| 5,267
| 50
| 150
| 105.34
| 0.772568
| 0
| 0
| 0
| 0
| 0
| 0.216011
| 0.197245
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.02381
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 9
|
221565cac436b6740fcabed9f139e2e04d558e05
| 189,495
|
py
|
Python
|
dingtalk/python/alibabacloud_dingtalk/drive_1_0/models.py
|
aliyun/dingtalk-sdk
|
ab4f856b8cfe94f6b69f10a0730a2e5a7d4901c5
|
[
"Apache-2.0"
] | 15
|
2020-08-27T04:10:26.000Z
|
2022-03-07T06:25:42.000Z
|
dingtalk/python/alibabacloud_dingtalk/drive_1_0/models.py
|
aliyun/dingtalk-sdk
|
ab4f856b8cfe94f6b69f10a0730a2e5a7d4901c5
|
[
"Apache-2.0"
] | 1
|
2020-09-27T01:30:46.000Z
|
2021-12-29T09:15:34.000Z
|
dingtalk/python/alibabacloud_dingtalk/drive_1_0/models.py
|
aliyun/dingtalk-sdk
|
ab4f856b8cfe94f6b69f10a0730a2e5a7d4901c5
|
[
"Apache-2.0"
] | 5
|
2020-08-27T04:07:44.000Z
|
2021-12-03T02:55:20.000Z
|
# -*- coding: utf-8 -*-
# This file is auto-generated, don't edit it. Thanks.
from Tea.model import TeaModel
from typing import Dict, List, Any
class RecoverRecycleFilesHeaders(TeaModel):
def __init__(
self,
common_headers: Dict[str, str] = None,
x_acs_dingtalk_access_token: str = None,
):
self.common_headers = common_headers
self.x_acs_dingtalk_access_token = x_acs_dingtalk_access_token
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.common_headers is not None:
result['commonHeaders'] = self.common_headers
if self.x_acs_dingtalk_access_token is not None:
result['x-acs-dingtalk-access-token'] = self.x_acs_dingtalk_access_token
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('commonHeaders') is not None:
self.common_headers = m.get('commonHeaders')
if m.get('x-acs-dingtalk-access-token') is not None:
self.x_acs_dingtalk_access_token = m.get('x-acs-dingtalk-access-token')
return self
class RecoverRecycleFilesRequest(TeaModel):
def __init__(
self,
recycle_item_id_list: List[int] = None,
recycle_type: str = None,
union_id: str = None,
):
# 回收站item id列表
self.recycle_item_id_list = recycle_item_id_list
# 回收站类型
self.recycle_type = recycle_type
# 用户id
self.union_id = union_id
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.recycle_item_id_list is not None:
result['recycleItemIdList'] = self.recycle_item_id_list
if self.recycle_type is not None:
result['recycleType'] = self.recycle_type
if self.union_id is not None:
result['unionId'] = self.union_id
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('recycleItemIdList') is not None:
self.recycle_item_id_list = m.get('recycleItemIdList')
if m.get('recycleType') is not None:
self.recycle_type = m.get('recycleType')
if m.get('unionId') is not None:
self.union_id = m.get('unionId')
return self
class RecoverRecycleFilesResponse(TeaModel):
def __init__(
self,
headers: Dict[str, str] = None,
):
self.headers = headers
def validate(self):
self.validate_required(self.headers, 'headers')
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.headers is not None:
result['headers'] = self.headers
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('headers') is not None:
self.headers = m.get('headers')
return self
class AddSpaceHeaders(TeaModel):
def __init__(
self,
common_headers: Dict[str, str] = None,
x_acs_dingtalk_access_token: str = None,
):
self.common_headers = common_headers
self.x_acs_dingtalk_access_token = x_acs_dingtalk_access_token
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.common_headers is not None:
result['commonHeaders'] = self.common_headers
if self.x_acs_dingtalk_access_token is not None:
result['x-acs-dingtalk-access-token'] = self.x_acs_dingtalk_access_token
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('commonHeaders') is not None:
self.common_headers = m.get('commonHeaders')
if m.get('x-acs-dingtalk-access-token') is not None:
self.x_acs_dingtalk_access_token = m.get('x-acs-dingtalk-access-token')
return self
class AddSpaceRequest(TeaModel):
def __init__(
self,
name: str = None,
union_id: str = None,
):
# 空间名称
self.name = name
# 用户id
self.union_id = union_id
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.name is not None:
result['name'] = self.name
if self.union_id is not None:
result['unionId'] = self.union_id
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('name') is not None:
self.name = m.get('name')
if m.get('unionId') is not None:
self.union_id = m.get('unionId')
return self
class AddSpaceResponseBody(TeaModel):
def __init__(
self,
space_id: str = None,
space_name: str = None,
space_type: str = None,
quota: int = None,
used_quota: int = None,
permission_mode: str = None,
create_time: str = None,
modify_time: str = None,
):
# 空间id
self.space_id = space_id
# 空间名称
self.space_name = space_name
# 空间类型
self.space_type = space_type
# 空间总额度
self.quota = quota
# 空间已使用额度
self.used_quota = used_quota
# 授权模式
self.permission_mode = permission_mode
# 创建时间
self.create_time = create_time
# 修改时间
self.modify_time = modify_time
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.space_id is not None:
result['spaceId'] = self.space_id
if self.space_name is not None:
result['spaceName'] = self.space_name
if self.space_type is not None:
result['spaceType'] = self.space_type
if self.quota is not None:
result['quota'] = self.quota
if self.used_quota is not None:
result['usedQuota'] = self.used_quota
if self.permission_mode is not None:
result['permissionMode'] = self.permission_mode
if self.create_time is not None:
result['createTime'] = self.create_time
if self.modify_time is not None:
result['modifyTime'] = self.modify_time
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('spaceId') is not None:
self.space_id = m.get('spaceId')
if m.get('spaceName') is not None:
self.space_name = m.get('spaceName')
if m.get('spaceType') is not None:
self.space_type = m.get('spaceType')
if m.get('quota') is not None:
self.quota = m.get('quota')
if m.get('usedQuota') is not None:
self.used_quota = m.get('usedQuota')
if m.get('permissionMode') is not None:
self.permission_mode = m.get('permissionMode')
if m.get('createTime') is not None:
self.create_time = m.get('createTime')
if m.get('modifyTime') is not None:
self.modify_time = m.get('modifyTime')
return self
class AddSpaceResponse(TeaModel):
def __init__(
self,
headers: Dict[str, str] = None,
body: AddSpaceResponseBody = None,
):
self.headers = headers
self.body = body
def validate(self):
self.validate_required(self.headers, 'headers')
self.validate_required(self.body, 'body')
if self.body:
self.body.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.headers is not None:
result['headers'] = self.headers
if self.body is not None:
result['body'] = self.body.to_map()
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('headers') is not None:
self.headers = m.get('headers')
if m.get('body') is not None:
temp_model = AddSpaceResponseBody()
self.body = temp_model.from_map(m['body'])
return self
class DeleteRecycleFilesHeaders(TeaModel):
def __init__(
self,
common_headers: Dict[str, str] = None,
x_acs_dingtalk_access_token: str = None,
):
self.common_headers = common_headers
self.x_acs_dingtalk_access_token = x_acs_dingtalk_access_token
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.common_headers is not None:
result['commonHeaders'] = self.common_headers
if self.x_acs_dingtalk_access_token is not None:
result['x-acs-dingtalk-access-token'] = self.x_acs_dingtalk_access_token
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('commonHeaders') is not None:
self.common_headers = m.get('commonHeaders')
if m.get('x-acs-dingtalk-access-token') is not None:
self.x_acs_dingtalk_access_token = m.get('x-acs-dingtalk-access-token')
return self
class DeleteRecycleFilesRequest(TeaModel):
def __init__(
self,
recycle_item_id_list: List[int] = None,
recycle_type: str = None,
union_id: str = None,
):
# 回收站item id列表
self.recycle_item_id_list = recycle_item_id_list
# 回收站类型
self.recycle_type = recycle_type
# 用户id
self.union_id = union_id
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.recycle_item_id_list is not None:
result['recycleItemIdList'] = self.recycle_item_id_list
if self.recycle_type is not None:
result['recycleType'] = self.recycle_type
if self.union_id is not None:
result['unionId'] = self.union_id
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('recycleItemIdList') is not None:
self.recycle_item_id_list = m.get('recycleItemIdList')
if m.get('recycleType') is not None:
self.recycle_type = m.get('recycleType')
if m.get('unionId') is not None:
self.union_id = m.get('unionId')
return self
class DeleteRecycleFilesResponse(TeaModel):
def __init__(
self,
headers: Dict[str, str] = None,
):
self.headers = headers
def validate(self):
self.validate_required(self.headers, 'headers')
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.headers is not None:
result['headers'] = self.headers
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('headers') is not None:
self.headers = m.get('headers')
return self
class AddPermissionHeaders(TeaModel):
def __init__(
self,
common_headers: Dict[str, str] = None,
x_acs_dingtalk_access_token: str = None,
):
self.common_headers = common_headers
self.x_acs_dingtalk_access_token = x_acs_dingtalk_access_token
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.common_headers is not None:
result['commonHeaders'] = self.common_headers
if self.x_acs_dingtalk_access_token is not None:
result['x-acs-dingtalk-access-token'] = self.x_acs_dingtalk_access_token
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('commonHeaders') is not None:
self.common_headers = m.get('commonHeaders')
if m.get('x-acs-dingtalk-access-token') is not None:
self.x_acs_dingtalk_access_token = m.get('x-acs-dingtalk-access-token')
return self
class AddPermissionRequestMembers(TeaModel):
def __init__(
self,
corp_id: str = None,
member_type: str = None,
member_id: str = None,
):
# 企业corpId
self.corp_id = corp_id
# 成员类型
self.member_type = member_type
# 成员id
self.member_id = member_id
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.corp_id is not None:
result['corpId'] = self.corp_id
if self.member_type is not None:
result['memberType'] = self.member_type
if self.member_id is not None:
result['memberId'] = self.member_id
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('corpId') is not None:
self.corp_id = m.get('corpId')
if m.get('memberType') is not None:
self.member_type = m.get('memberType')
if m.get('memberId') is not None:
self.member_id = m.get('memberId')
return self
class AddPermissionRequest(TeaModel):
def __init__(
self,
role: str = None,
members: List[AddPermissionRequestMembers] = None,
union_id: str = None,
):
# 权限角色
self.role = role
self.members = members
# 用户id
self.union_id = union_id
def validate(self):
if self.members:
for k in self.members:
if k:
k.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.role is not None:
result['role'] = self.role
result['members'] = []
if self.members is not None:
for k in self.members:
result['members'].append(k.to_map() if k else None)
if self.union_id is not None:
result['unionId'] = self.union_id
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('role') is not None:
self.role = m.get('role')
self.members = []
if m.get('members') is not None:
for k in m.get('members'):
temp_model = AddPermissionRequestMembers()
self.members.append(temp_model.from_map(k))
if m.get('unionId') is not None:
self.union_id = m.get('unionId')
return self
class AddPermissionResponse(TeaModel):
def __init__(
self,
headers: Dict[str, str] = None,
):
self.headers = headers
def validate(self):
self.validate_required(self.headers, 'headers')
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.headers is not None:
result['headers'] = self.headers
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('headers') is not None:
self.headers = m.get('headers')
return self
class GetQuotaInfosHeaders(TeaModel):
def __init__(
self,
common_headers: Dict[str, str] = None,
x_acs_dingtalk_access_token: str = None,
):
self.common_headers = common_headers
self.x_acs_dingtalk_access_token = x_acs_dingtalk_access_token
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.common_headers is not None:
result['commonHeaders'] = self.common_headers
if self.x_acs_dingtalk_access_token is not None:
result['x-acs-dingtalk-access-token'] = self.x_acs_dingtalk_access_token
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('commonHeaders') is not None:
self.common_headers = m.get('commonHeaders')
if m.get('x-acs-dingtalk-access-token') is not None:
self.x_acs_dingtalk_access_token = m.get('x-acs-dingtalk-access-token')
return self
class GetQuotaInfosRequest(TeaModel):
def __init__(
self,
type: str = None,
identifiers: List[str] = None,
union_id: str = None,
):
# 容量类型
self.type = type
# 容量标识符列表
self.identifiers = identifiers
# 用户id
self.union_id = union_id
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.type is not None:
result['type'] = self.type
if self.identifiers is not None:
result['identifiers'] = self.identifiers
if self.union_id is not None:
result['unionId'] = self.union_id
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('type') is not None:
self.type = m.get('type')
if m.get('identifiers') is not None:
self.identifiers = m.get('identifiers')
if m.get('unionId') is not None:
self.union_id = m.get('unionId')
return self
class GetQuotaInfosResponseBodyQuotas(TeaModel):
def __init__(
self,
type: str = None,
identifier: str = None,
quota: int = None,
used_quota: int = None,
):
# 容量类型
self.type = type
# 容量标识符
self.identifier = identifier
# 总容量
self.quota = quota
# 已使用容量
self.used_quota = used_quota
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.type is not None:
result['type'] = self.type
if self.identifier is not None:
result['identifier'] = self.identifier
if self.quota is not None:
result['quota'] = self.quota
if self.used_quota is not None:
result['usedQuota'] = self.used_quota
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('type') is not None:
self.type = m.get('type')
if m.get('identifier') is not None:
self.identifier = m.get('identifier')
if m.get('quota') is not None:
self.quota = m.get('quota')
if m.get('usedQuota') is not None:
self.used_quota = m.get('usedQuota')
return self
class GetQuotaInfosResponseBody(TeaModel):
def __init__(
self,
quotas: List[GetQuotaInfosResponseBodyQuotas] = None,
):
# 容量信息列表
self.quotas = quotas
def validate(self):
if self.quotas:
for k in self.quotas:
if k:
k.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
result['quotas'] = []
if self.quotas is not None:
for k in self.quotas:
result['quotas'].append(k.to_map() if k else None)
return result
def from_map(self, m: dict = None):
m = m or dict()
self.quotas = []
if m.get('quotas') is not None:
for k in m.get('quotas'):
temp_model = GetQuotaInfosResponseBodyQuotas()
self.quotas.append(temp_model.from_map(k))
return self
class GetQuotaInfosResponse(TeaModel):
def __init__(
self,
headers: Dict[str, str] = None,
body: GetQuotaInfosResponseBody = None,
):
self.headers = headers
self.body = body
def validate(self):
self.validate_required(self.headers, 'headers')
self.validate_required(self.body, 'body')
if self.body:
self.body.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.headers is not None:
result['headers'] = self.headers
if self.body is not None:
result['body'] = self.body.to_map()
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('headers') is not None:
self.headers = m.get('headers')
if m.get('body') is not None:
temp_model = GetQuotaInfosResponseBody()
self.body = temp_model.from_map(m['body'])
return self
class GetFileInfoHeaders(TeaModel):
def __init__(
self,
common_headers: Dict[str, str] = None,
x_acs_dingtalk_access_token: str = None,
):
self.common_headers = common_headers
self.x_acs_dingtalk_access_token = x_acs_dingtalk_access_token
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.common_headers is not None:
result['commonHeaders'] = self.common_headers
if self.x_acs_dingtalk_access_token is not None:
result['x-acs-dingtalk-access-token'] = self.x_acs_dingtalk_access_token
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('commonHeaders') is not None:
self.common_headers = m.get('commonHeaders')
if m.get('x-acs-dingtalk-access-token') is not None:
self.x_acs_dingtalk_access_token = m.get('x-acs-dingtalk-access-token')
return self
class GetFileInfoRequest(TeaModel):
def __init__(
self,
union_id: str = None,
):
# 用户id
self.union_id = union_id
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.union_id is not None:
result['unionId'] = self.union_id
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('unionId') is not None:
self.union_id = m.get('unionId')
return self
class GetFileInfoResponseBody(TeaModel):
def __init__(
self,
space_id: str = None,
parent_id: str = None,
file_id: str = None,
file_name: str = None,
file_path: str = None,
file_type: str = None,
content_type: str = None,
file_extension: str = None,
file_size: int = None,
create_time: str = None,
modify_time: str = None,
creator: str = None,
modifier: str = None,
):
# 空间id
self.space_id = space_id
# 父目录id
self.parent_id = parent_id
# 文件id
self.file_id = file_id
# 文件名称
self.file_name = file_name
# 文件路径
self.file_path = file_path
# 文件类型
self.file_type = file_type
# 文件内容类型
self.content_type = content_type
# 文件后缀
self.file_extension = file_extension
# 文件大小
self.file_size = file_size
# 创建时间
self.create_time = create_time
# 修改时间
self.modify_time = modify_time
# 创建者
self.creator = creator
# 修改者
self.modifier = modifier
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.space_id is not None:
result['spaceId'] = self.space_id
if self.parent_id is not None:
result['parentId'] = self.parent_id
if self.file_id is not None:
result['fileId'] = self.file_id
if self.file_name is not None:
result['fileName'] = self.file_name
if self.file_path is not None:
result['filePath'] = self.file_path
if self.file_type is not None:
result['fileType'] = self.file_type
if self.content_type is not None:
result['contentType'] = self.content_type
if self.file_extension is not None:
result['fileExtension'] = self.file_extension
if self.file_size is not None:
result['fileSize'] = self.file_size
if self.create_time is not None:
result['createTime'] = self.create_time
if self.modify_time is not None:
result['modifyTime'] = self.modify_time
if self.creator is not None:
result['creator'] = self.creator
if self.modifier is not None:
result['modifier'] = self.modifier
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('spaceId') is not None:
self.space_id = m.get('spaceId')
if m.get('parentId') is not None:
self.parent_id = m.get('parentId')
if m.get('fileId') is not None:
self.file_id = m.get('fileId')
if m.get('fileName') is not None:
self.file_name = m.get('fileName')
if m.get('filePath') is not None:
self.file_path = m.get('filePath')
if m.get('fileType') is not None:
self.file_type = m.get('fileType')
if m.get('contentType') is not None:
self.content_type = m.get('contentType')
if m.get('fileExtension') is not None:
self.file_extension = m.get('fileExtension')
if m.get('fileSize') is not None:
self.file_size = m.get('fileSize')
if m.get('createTime') is not None:
self.create_time = m.get('createTime')
if m.get('modifyTime') is not None:
self.modify_time = m.get('modifyTime')
if m.get('creator') is not None:
self.creator = m.get('creator')
if m.get('modifier') is not None:
self.modifier = m.get('modifier')
return self
class GetFileInfoResponse(TeaModel):
def __init__(
self,
headers: Dict[str, str] = None,
body: GetFileInfoResponseBody = None,
):
self.headers = headers
self.body = body
def validate(self):
self.validate_required(self.headers, 'headers')
self.validate_required(self.body, 'body')
if self.body:
self.body.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.headers is not None:
result['headers'] = self.headers
if self.body is not None:
result['body'] = self.body.to_map()
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('headers') is not None:
self.headers = m.get('headers')
if m.get('body') is not None:
temp_model = GetFileInfoResponseBody()
self.body = temp_model.from_map(m['body'])
return self
class ListRecycleFilesHeaders(TeaModel):
def __init__(
self,
common_headers: Dict[str, str] = None,
x_acs_dingtalk_access_token: str = None,
):
self.common_headers = common_headers
self.x_acs_dingtalk_access_token = x_acs_dingtalk_access_token
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.common_headers is not None:
result['commonHeaders'] = self.common_headers
if self.x_acs_dingtalk_access_token is not None:
result['x-acs-dingtalk-access-token'] = self.x_acs_dingtalk_access_token
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('commonHeaders') is not None:
self.common_headers = m.get('commonHeaders')
if m.get('x-acs-dingtalk-access-token') is not None:
self.x_acs_dingtalk_access_token = m.get('x-acs-dingtalk-access-token')
return self
class ListRecycleFilesRequest(TeaModel):
def __init__(
self,
union_id: str = None,
recycle_type: str = None,
next_token: str = None,
max_results: int = None,
order_type: str = None,
):
# 用户id
self.union_id = union_id
# 回收站类型
self.recycle_type = recycle_type
# 分页加载更多锚点
self.next_token = next_token
# 分页长度
self.max_results = max_results
# 文件排序类型
self.order_type = order_type
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.union_id is not None:
result['unionId'] = self.union_id
if self.recycle_type is not None:
result['recycleType'] = self.recycle_type
if self.next_token is not None:
result['nextToken'] = self.next_token
if self.max_results is not None:
result['maxResults'] = self.max_results
if self.order_type is not None:
result['orderType'] = self.order_type
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('unionId') is not None:
self.union_id = m.get('unionId')
if m.get('recycleType') is not None:
self.recycle_type = m.get('recycleType')
if m.get('nextToken') is not None:
self.next_token = m.get('nextToken')
if m.get('maxResults') is not None:
self.max_results = m.get('maxResults')
if m.get('orderType') is not None:
self.order_type = m.get('orderType')
return self
class ListRecycleFilesResponseBodyRecycleItems(TeaModel):
def __init__(
self,
recycle_item_id: str = None,
delete_staff_id: str = None,
delete_time: str = None,
file_size: int = None,
file_type: str = None,
content_type: str = None,
file_name: str = None,
file_path: str = None,
):
# 回收站item id
self.recycle_item_id = recycle_item_id
# 删除员工工号
self.delete_staff_id = delete_staff_id
# 删除时间
self.delete_time = delete_time
# 文件大小
self.file_size = file_size
# 文件类型
self.file_type = file_type
# 文件内容类型
self.content_type = content_type
# 文件名称
self.file_name = file_name
# 文件路径
self.file_path = file_path
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.recycle_item_id is not None:
result['recycleItemId'] = self.recycle_item_id
if self.delete_staff_id is not None:
result['deleteStaffId'] = self.delete_staff_id
if self.delete_time is not None:
result['deleteTime'] = self.delete_time
if self.file_size is not None:
result['fileSize'] = self.file_size
if self.file_type is not None:
result['fileType'] = self.file_type
if self.content_type is not None:
result['contentType'] = self.content_type
if self.file_name is not None:
result['fileName'] = self.file_name
if self.file_path is not None:
result['filePath'] = self.file_path
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('recycleItemId') is not None:
self.recycle_item_id = m.get('recycleItemId')
if m.get('deleteStaffId') is not None:
self.delete_staff_id = m.get('deleteStaffId')
if m.get('deleteTime') is not None:
self.delete_time = m.get('deleteTime')
if m.get('fileSize') is not None:
self.file_size = m.get('fileSize')
if m.get('fileType') is not None:
self.file_type = m.get('fileType')
if m.get('contentType') is not None:
self.content_type = m.get('contentType')
if m.get('fileName') is not None:
self.file_name = m.get('fileName')
if m.get('filePath') is not None:
self.file_path = m.get('filePath')
return self
class ListRecycleFilesResponseBody(TeaModel):
def __init__(
self,
recycle_items: List[ListRecycleFilesResponseBodyRecycleItems] = None,
next_token: str = None,
):
# 回收站文件列表
self.recycle_items = recycle_items
# 加载更多锚点, nextToken不为空表示有更多数据
self.next_token = next_token
def validate(self):
if self.recycle_items:
for k in self.recycle_items:
if k:
k.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
result['recycleItems'] = []
if self.recycle_items is not None:
for k in self.recycle_items:
result['recycleItems'].append(k.to_map() if k else None)
if self.next_token is not None:
result['nextToken'] = self.next_token
return result
def from_map(self, m: dict = None):
m = m or dict()
self.recycle_items = []
if m.get('recycleItems') is not None:
for k in m.get('recycleItems'):
temp_model = ListRecycleFilesResponseBodyRecycleItems()
self.recycle_items.append(temp_model.from_map(k))
if m.get('nextToken') is not None:
self.next_token = m.get('nextToken')
return self
class ListRecycleFilesResponse(TeaModel):
def __init__(
self,
headers: Dict[str, str] = None,
body: ListRecycleFilesResponseBody = None,
):
self.headers = headers
self.body = body
def validate(self):
self.validate_required(self.headers, 'headers')
self.validate_required(self.body, 'body')
if self.body:
self.body.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.headers is not None:
result['headers'] = self.headers
if self.body is not None:
result['body'] = self.body.to_map()
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('headers') is not None:
self.headers = m.get('headers')
if m.get('body') is not None:
temp_model = ListRecycleFilesResponseBody()
self.body = temp_model.from_map(m['body'])
return self
class DeleteFilesHeaders(TeaModel):
def __init__(
self,
common_headers: Dict[str, str] = None,
x_acs_dingtalk_access_token: str = None,
):
self.common_headers = common_headers
self.x_acs_dingtalk_access_token = x_acs_dingtalk_access_token
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.common_headers is not None:
result['commonHeaders'] = self.common_headers
if self.x_acs_dingtalk_access_token is not None:
result['x-acs-dingtalk-access-token'] = self.x_acs_dingtalk_access_token
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('commonHeaders') is not None:
self.common_headers = m.get('commonHeaders')
if m.get('x-acs-dingtalk-access-token') is not None:
self.x_acs_dingtalk_access_token = m.get('x-acs-dingtalk-access-token')
return self
class DeleteFilesRequest(TeaModel):
def __init__(
self,
file_ids: List[str] = None,
delete_policy: str = None,
union_id: str = None,
):
# 文件id列表
self.file_ids = file_ids
# 删除策略
self.delete_policy = delete_policy
# 用户id
self.union_id = union_id
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.file_ids is not None:
result['fileIds'] = self.file_ids
if self.delete_policy is not None:
result['deletePolicy'] = self.delete_policy
if self.union_id is not None:
result['unionId'] = self.union_id
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('fileIds') is not None:
self.file_ids = m.get('fileIds')
if m.get('deletePolicy') is not None:
self.delete_policy = m.get('deletePolicy')
if m.get('unionId') is not None:
self.union_id = m.get('unionId')
return self
class DeleteFilesResponseBody(TeaModel):
def __init__(
self,
success: bool = None,
task_id: str = None,
):
# 是否成功
self.success = success
# 异步任务id
self.task_id = task_id
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.success is not None:
result['success'] = self.success
if self.task_id is not None:
result['taskId'] = self.task_id
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('success') is not None:
self.success = m.get('success')
if m.get('taskId') is not None:
self.task_id = m.get('taskId')
return self
class DeleteFilesResponse(TeaModel):
def __init__(
self,
headers: Dict[str, str] = None,
body: DeleteFilesResponseBody = None,
):
self.headers = headers
self.body = body
def validate(self):
self.validate_required(self.headers, 'headers')
self.validate_required(self.body, 'body')
if self.body:
self.body.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.headers is not None:
result['headers'] = self.headers
if self.body is not None:
result['body'] = self.body.to_map()
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('headers') is not None:
self.headers = m.get('headers')
if m.get('body') is not None:
temp_model = DeleteFilesResponseBody()
self.body = temp_model.from_map(m['body'])
return self
class ManagementBuyQuotaHeaders(TeaModel):
def __init__(
self,
common_headers: Dict[str, str] = None,
x_acs_dingtalk_access_token: str = None,
):
self.common_headers = common_headers
self.x_acs_dingtalk_access_token = x_acs_dingtalk_access_token
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.common_headers is not None:
result['commonHeaders'] = self.common_headers
if self.x_acs_dingtalk_access_token is not None:
result['x-acs-dingtalk-access-token'] = self.x_acs_dingtalk_access_token
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('commonHeaders') is not None:
self.common_headers = m.get('commonHeaders')
if m.get('x-acs-dingtalk-access-token') is not None:
self.x_acs_dingtalk_access_token = m.get('x-acs-dingtalk-access-token')
return self
class ManagementBuyQuotaRequestOrder(TeaModel):
def __init__(
self,
order_id: int = None,
biz_type: str = None,
capacity_type: str = None,
capacity: int = None,
day: int = None,
money: int = None,
):
# 订单id
self.order_id = order_id
# 业务类型
self.biz_type = biz_type
# 容量类型
self.capacity_type = capacity_type
# 待扩容的容量
self.capacity = capacity
# 时长
self.day = day
# 金额
self.money = money
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.order_id is not None:
result['orderId'] = self.order_id
if self.biz_type is not None:
result['bizType'] = self.biz_type
if self.capacity_type is not None:
result['capacityType'] = self.capacity_type
if self.capacity is not None:
result['capacity'] = self.capacity
if self.day is not None:
result['day'] = self.day
if self.money is not None:
result['money'] = self.money
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('orderId') is not None:
self.order_id = m.get('orderId')
if m.get('bizType') is not None:
self.biz_type = m.get('bizType')
if m.get('capacityType') is not None:
self.capacity_type = m.get('capacityType')
if m.get('capacity') is not None:
self.capacity = m.get('capacity')
if m.get('day') is not None:
self.day = m.get('day')
if m.get('money') is not None:
self.money = m.get('money')
return self
class ManagementBuyQuotaRequest(TeaModel):
def __init__(
self,
token: str = None,
union_id: str = None,
order: ManagementBuyQuotaRequestOrder = None,
):
# token
self.token = token
# 用户id
self.union_id = union_id
# 订单
self.order = order
def validate(self):
if self.order:
self.order.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.token is not None:
result['token'] = self.token
if self.union_id is not None:
result['unionId'] = self.union_id
if self.order is not None:
result['order'] = self.order.to_map()
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('token') is not None:
self.token = m.get('token')
if m.get('unionId') is not None:
self.union_id = m.get('unionId')
if m.get('order') is not None:
temp_model = ManagementBuyQuotaRequestOrder()
self.order = temp_model.from_map(m['order'])
return self
class ManagementBuyQuotaResponse(TeaModel):
def __init__(
self,
headers: Dict[str, str] = None,
):
self.headers = headers
def validate(self):
self.validate_required(self.headers, 'headers')
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.headers is not None:
result['headers'] = self.headers
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('headers') is not None:
self.headers = m.get('headers')
return self
class RenameFileHeaders(TeaModel):
def __init__(
self,
common_headers: Dict[str, str] = None,
x_acs_dingtalk_access_token: str = None,
):
self.common_headers = common_headers
self.x_acs_dingtalk_access_token = x_acs_dingtalk_access_token
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.common_headers is not None:
result['commonHeaders'] = self.common_headers
if self.x_acs_dingtalk_access_token is not None:
result['x-acs-dingtalk-access-token'] = self.x_acs_dingtalk_access_token
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('commonHeaders') is not None:
self.common_headers = m.get('commonHeaders')
if m.get('x-acs-dingtalk-access-token') is not None:
self.x_acs_dingtalk_access_token = m.get('x-acs-dingtalk-access-token')
return self
class RenameFileRequest(TeaModel):
def __init__(
self,
new_file_name: str = None,
union_id: str = None,
):
# 新文件名称
self.new_file_name = new_file_name
# 用户id
self.union_id = union_id
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.new_file_name is not None:
result['newFileName'] = self.new_file_name
if self.union_id is not None:
result['unionId'] = self.union_id
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('newFileName') is not None:
self.new_file_name = m.get('newFileName')
if m.get('unionId') is not None:
self.union_id = m.get('unionId')
return self
class RenameFileResponseBody(TeaModel):
def __init__(
self,
space_id: str = None,
parent_id: str = None,
file_id: str = None,
file_name: str = None,
file_path: str = None,
file_type: str = None,
content_type: str = None,
file_extension: str = None,
file_size: int = None,
create_time: str = None,
modify_time: str = None,
creator: str = None,
modifier: str = None,
):
# 空间id
self.space_id = space_id
# 父目录id
self.parent_id = parent_id
# 文件id
self.file_id = file_id
# 文件名称
self.file_name = file_name
# 文件路径
self.file_path = file_path
# 文件类型
self.file_type = file_type
# 文件内容类型
self.content_type = content_type
# 文件后缀
self.file_extension = file_extension
# 文件大小
self.file_size = file_size
# 创建时间
self.create_time = create_time
# 修改时间
self.modify_time = modify_time
# 创建者
self.creator = creator
# 修改者
self.modifier = modifier
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.space_id is not None:
result['spaceId'] = self.space_id
if self.parent_id is not None:
result['parentId'] = self.parent_id
if self.file_id is not None:
result['fileId'] = self.file_id
if self.file_name is not None:
result['fileName'] = self.file_name
if self.file_path is not None:
result['filePath'] = self.file_path
if self.file_type is not None:
result['fileType'] = self.file_type
if self.content_type is not None:
result['contentType'] = self.content_type
if self.file_extension is not None:
result['fileExtension'] = self.file_extension
if self.file_size is not None:
result['fileSize'] = self.file_size
if self.create_time is not None:
result['createTime'] = self.create_time
if self.modify_time is not None:
result['modifyTime'] = self.modify_time
if self.creator is not None:
result['creator'] = self.creator
if self.modifier is not None:
result['modifier'] = self.modifier
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('spaceId') is not None:
self.space_id = m.get('spaceId')
if m.get('parentId') is not None:
self.parent_id = m.get('parentId')
if m.get('fileId') is not None:
self.file_id = m.get('fileId')
if m.get('fileName') is not None:
self.file_name = m.get('fileName')
if m.get('filePath') is not None:
self.file_path = m.get('filePath')
if m.get('fileType') is not None:
self.file_type = m.get('fileType')
if m.get('contentType') is not None:
self.content_type = m.get('contentType')
if m.get('fileExtension') is not None:
self.file_extension = m.get('fileExtension')
if m.get('fileSize') is not None:
self.file_size = m.get('fileSize')
if m.get('createTime') is not None:
self.create_time = m.get('createTime')
if m.get('modifyTime') is not None:
self.modify_time = m.get('modifyTime')
if m.get('creator') is not None:
self.creator = m.get('creator')
if m.get('modifier') is not None:
self.modifier = m.get('modifier')
return self
class RenameFileResponse(TeaModel):
def __init__(
self,
headers: Dict[str, str] = None,
body: RenameFileResponseBody = None,
):
self.headers = headers
self.body = body
def validate(self):
self.validate_required(self.headers, 'headers')
self.validate_required(self.body, 'body')
if self.body:
self.body.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.headers is not None:
result['headers'] = self.headers
if self.body is not None:
result['body'] = self.body.to_map()
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('headers') is not None:
self.headers = m.get('headers')
if m.get('body') is not None:
temp_model = RenameFileResponseBody()
self.body = temp_model.from_map(m['body'])
return self
class GetAsyncTaskInfoHeaders(TeaModel):
def __init__(
self,
common_headers: Dict[str, str] = None,
x_acs_dingtalk_access_token: str = None,
):
self.common_headers = common_headers
self.x_acs_dingtalk_access_token = x_acs_dingtalk_access_token
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.common_headers is not None:
result['commonHeaders'] = self.common_headers
if self.x_acs_dingtalk_access_token is not None:
result['x-acs-dingtalk-access-token'] = self.x_acs_dingtalk_access_token
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('commonHeaders') is not None:
self.common_headers = m.get('commonHeaders')
if m.get('x-acs-dingtalk-access-token') is not None:
self.x_acs_dingtalk_access_token = m.get('x-acs-dingtalk-access-token')
return self
class GetAsyncTaskInfoRequest(TeaModel):
def __init__(
self,
union_id: str = None,
):
# 用户id
self.union_id = union_id
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.union_id is not None:
result['unionId'] = self.union_id
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('unionId') is not None:
self.union_id = m.get('unionId')
return self
class GetAsyncTaskInfoResponseBody(TeaModel):
def __init__(
self,
task_id: str = None,
total: int = None,
success: int = None,
failed: int = None,
status: str = None,
begin_time: str = None,
end_time: str = None,
):
# 异步任务id
self.task_id = task_id
# 任务总数
self.total = total
# 完成个数
self.success = success
# 失败个数
self.failed = failed
# 任务状态
self.status = status
# 任务开始时间
self.begin_time = begin_time
# 任务结束时间
self.end_time = end_time
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.task_id is not None:
result['taskId'] = self.task_id
if self.total is not None:
result['total'] = self.total
if self.success is not None:
result['success'] = self.success
if self.failed is not None:
result['failed'] = self.failed
if self.status is not None:
result['status'] = self.status
if self.begin_time is not None:
result['beginTime'] = self.begin_time
if self.end_time is not None:
result['endTime'] = self.end_time
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('taskId') is not None:
self.task_id = m.get('taskId')
if m.get('total') is not None:
self.total = m.get('total')
if m.get('success') is not None:
self.success = m.get('success')
if m.get('failed') is not None:
self.failed = m.get('failed')
if m.get('status') is not None:
self.status = m.get('status')
if m.get('beginTime') is not None:
self.begin_time = m.get('beginTime')
if m.get('endTime') is not None:
self.end_time = m.get('endTime')
return self
class GetAsyncTaskInfoResponse(TeaModel):
def __init__(
self,
headers: Dict[str, str] = None,
body: GetAsyncTaskInfoResponseBody = None,
):
self.headers = headers
self.body = body
def validate(self):
self.validate_required(self.headers, 'headers')
self.validate_required(self.body, 'body')
if self.body:
self.body.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.headers is not None:
result['headers'] = self.headers
if self.body is not None:
result['body'] = self.body.to_map()
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('headers') is not None:
self.headers = m.get('headers')
if m.get('body') is not None:
temp_model = GetAsyncTaskInfoResponseBody()
self.body = temp_model.from_map(m['body'])
return self
class ListFilesHeaders(TeaModel):
def __init__(
self,
common_headers: Dict[str, str] = None,
x_acs_dingtalk_access_token: str = None,
):
self.common_headers = common_headers
self.x_acs_dingtalk_access_token = x_acs_dingtalk_access_token
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.common_headers is not None:
result['commonHeaders'] = self.common_headers
if self.x_acs_dingtalk_access_token is not None:
result['x-acs-dingtalk-access-token'] = self.x_acs_dingtalk_access_token
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('commonHeaders') is not None:
self.common_headers = m.get('commonHeaders')
if m.get('x-acs-dingtalk-access-token') is not None:
self.x_acs_dingtalk_access_token = m.get('x-acs-dingtalk-access-token')
return self
class ListFilesRequest(TeaModel):
def __init__(
self,
union_id: str = None,
parent_id: str = None,
next_token: str = None,
max_results: int = None,
order_type: str = None,
with_icon: bool = None,
):
# 用户id
self.union_id = union_id
# 父目录id
self.parent_id = parent_id
# 分页查询锚点
self.next_token = next_token
# 分页长度
self.max_results = max_results
# 排序类型
self.order_type = order_type
# 是否返回文件图标
self.with_icon = with_icon
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.union_id is not None:
result['unionId'] = self.union_id
if self.parent_id is not None:
result['parentId'] = self.parent_id
if self.next_token is not None:
result['nextToken'] = self.next_token
if self.max_results is not None:
result['maxResults'] = self.max_results
if self.order_type is not None:
result['orderType'] = self.order_type
if self.with_icon is not None:
result['withIcon'] = self.with_icon
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('unionId') is not None:
self.union_id = m.get('unionId')
if m.get('parentId') is not None:
self.parent_id = m.get('parentId')
if m.get('nextToken') is not None:
self.next_token = m.get('nextToken')
if m.get('maxResults') is not None:
self.max_results = m.get('maxResults')
if m.get('orderType') is not None:
self.order_type = m.get('orderType')
if m.get('withIcon') is not None:
self.with_icon = m.get('withIcon')
return self
class ListFilesResponseBodyFiles(TeaModel):
def __init__(
self,
space_id: str = None,
parent_id: str = None,
file_id: str = None,
file_name: str = None,
file_path: str = None,
file_type: str = None,
content_type: str = None,
file_extension: str = None,
file_size: int = None,
thumbnail: str = None,
icon: str = None,
create_time: str = None,
modify_time: str = None,
creator: str = None,
modifier: str = None,
):
# 空间id
self.space_id = space_id
# 父目录id
self.parent_id = parent_id
# 文件id
self.file_id = file_id
# 文件名称
self.file_name = file_name
# 文件路径
self.file_path = file_path
# 文件类型
self.file_type = file_type
# 文件内容类型
self.content_type = content_type
# 文件后缀
self.file_extension = file_extension
# 文件大小
self.file_size = file_size
# 文件缩略图
self.thumbnail = thumbnail
# 文件图标
self.icon = icon
# 创建时间
self.create_time = create_time
# 修改时间
self.modify_time = modify_time
# 创建者
self.creator = creator
# 修改者
self.modifier = modifier
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.space_id is not None:
result['spaceId'] = self.space_id
if self.parent_id is not None:
result['parentId'] = self.parent_id
if self.file_id is not None:
result['fileId'] = self.file_id
if self.file_name is not None:
result['fileName'] = self.file_name
if self.file_path is not None:
result['filePath'] = self.file_path
if self.file_type is not None:
result['fileType'] = self.file_type
if self.content_type is not None:
result['contentType'] = self.content_type
if self.file_extension is not None:
result['fileExtension'] = self.file_extension
if self.file_size is not None:
result['fileSize'] = self.file_size
if self.thumbnail is not None:
result['thumbnail'] = self.thumbnail
if self.icon is not None:
result['icon'] = self.icon
if self.create_time is not None:
result['createTime'] = self.create_time
if self.modify_time is not None:
result['modifyTime'] = self.modify_time
if self.creator is not None:
result['creator'] = self.creator
if self.modifier is not None:
result['modifier'] = self.modifier
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('spaceId') is not None:
self.space_id = m.get('spaceId')
if m.get('parentId') is not None:
self.parent_id = m.get('parentId')
if m.get('fileId') is not None:
self.file_id = m.get('fileId')
if m.get('fileName') is not None:
self.file_name = m.get('fileName')
if m.get('filePath') is not None:
self.file_path = m.get('filePath')
if m.get('fileType') is not None:
self.file_type = m.get('fileType')
if m.get('contentType') is not None:
self.content_type = m.get('contentType')
if m.get('fileExtension') is not None:
self.file_extension = m.get('fileExtension')
if m.get('fileSize') is not None:
self.file_size = m.get('fileSize')
if m.get('thumbnail') is not None:
self.thumbnail = m.get('thumbnail')
if m.get('icon') is not None:
self.icon = m.get('icon')
if m.get('createTime') is not None:
self.create_time = m.get('createTime')
if m.get('modifyTime') is not None:
self.modify_time = m.get('modifyTime')
if m.get('creator') is not None:
self.creator = m.get('creator')
if m.get('modifier') is not None:
self.modifier = m.get('modifier')
return self
class ListFilesResponseBody(TeaModel):
def __init__(
self,
files: List[ListFilesResponseBodyFiles] = None,
next_token: str = None,
):
# 文件列表
self.files = files
# 分页加载锚点, nextToken不为空表示有更多数据
self.next_token = next_token
def validate(self):
if self.files:
for k in self.files:
if k:
k.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
result['files'] = []
if self.files is not None:
for k in self.files:
result['files'].append(k.to_map() if k else None)
if self.next_token is not None:
result['nextToken'] = self.next_token
return result
def from_map(self, m: dict = None):
m = m or dict()
self.files = []
if m.get('files') is not None:
for k in m.get('files'):
temp_model = ListFilesResponseBodyFiles()
self.files.append(temp_model.from_map(k))
if m.get('nextToken') is not None:
self.next_token = m.get('nextToken')
return self
class ListFilesResponse(TeaModel):
def __init__(
self,
headers: Dict[str, str] = None,
body: ListFilesResponseBody = None,
):
self.headers = headers
self.body = body
def validate(self):
self.validate_required(self.headers, 'headers')
self.validate_required(self.body, 'body')
if self.body:
self.body.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.headers is not None:
result['headers'] = self.headers
if self.body is not None:
result['body'] = self.body.to_map()
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('headers') is not None:
self.headers = m.get('headers')
if m.get('body') is not None:
temp_model = ListFilesResponseBody()
self.body = temp_model.from_map(m['body'])
return self
class ListPermissionsHeaders(TeaModel):
def __init__(
self,
common_headers: Dict[str, str] = None,
x_acs_dingtalk_access_token: str = None,
):
self.common_headers = common_headers
self.x_acs_dingtalk_access_token = x_acs_dingtalk_access_token
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.common_headers is not None:
result['commonHeaders'] = self.common_headers
if self.x_acs_dingtalk_access_token is not None:
result['x-acs-dingtalk-access-token'] = self.x_acs_dingtalk_access_token
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('commonHeaders') is not None:
self.common_headers = m.get('commonHeaders')
if m.get('x-acs-dingtalk-access-token') is not None:
self.x_acs_dingtalk_access_token = m.get('x-acs-dingtalk-access-token')
return self
class ListPermissionsRequest(TeaModel):
def __init__(
self,
union_id: str = None,
):
# 用户id
self.union_id = union_id
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.union_id is not None:
result['unionId'] = self.union_id
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('unionId') is not None:
self.union_id = m.get('unionId')
return self
class ListPermissionsResponseBodyMembersMember(TeaModel):
def __init__(
self,
corp_id: str = None,
member_type: str = None,
member_id: str = None,
member_name: str = None,
):
# 企业corpId
self.corp_id = corp_id
# 成员类型
self.member_type = member_type
# 成员id
self.member_id = member_id
# 成员名称
self.member_name = member_name
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.corp_id is not None:
result['corpId'] = self.corp_id
if self.member_type is not None:
result['memberType'] = self.member_type
if self.member_id is not None:
result['memberId'] = self.member_id
if self.member_name is not None:
result['memberName'] = self.member_name
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('corpId') is not None:
self.corp_id = m.get('corpId')
if m.get('memberType') is not None:
self.member_type = m.get('memberType')
if m.get('memberId') is not None:
self.member_id = m.get('memberId')
if m.get('memberName') is not None:
self.member_name = m.get('memberName')
return self
class ListPermissionsResponseBodyMembers(TeaModel):
def __init__(
self,
role: str = None,
member: ListPermissionsResponseBodyMembersMember = None,
extend: bool = None,
):
# 权限角色
self.role = role
# 成员信息
self.member = member
# 是否是继承的权限
self.extend = extend
def validate(self):
if self.member:
self.member.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.role is not None:
result['role'] = self.role
if self.member is not None:
result['member'] = self.member.to_map()
if self.extend is not None:
result['extend'] = self.extend
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('role') is not None:
self.role = m.get('role')
if m.get('member') is not None:
temp_model = ListPermissionsResponseBodyMembersMember()
self.member = temp_model.from_map(m['member'])
if m.get('extend') is not None:
self.extend = m.get('extend')
return self
class ListPermissionsResponseBodyOutMembersMember(TeaModel):
def __init__(
self,
corp_id: str = None,
member_type: str = None,
member_id: str = None,
member_name: str = None,
):
# 企业corpId
self.corp_id = corp_id
# 成员类型
self.member_type = member_type
# 成员id
self.member_id = member_id
# 成员名称
self.member_name = member_name
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.corp_id is not None:
result['corpId'] = self.corp_id
if self.member_type is not None:
result['memberType'] = self.member_type
if self.member_id is not None:
result['memberId'] = self.member_id
if self.member_name is not None:
result['memberName'] = self.member_name
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('corpId') is not None:
self.corp_id = m.get('corpId')
if m.get('memberType') is not None:
self.member_type = m.get('memberType')
if m.get('memberId') is not None:
self.member_id = m.get('memberId')
if m.get('memberName') is not None:
self.member_name = m.get('memberName')
return self
class ListPermissionsResponseBodyOutMembers(TeaModel):
def __init__(
self,
role: str = None,
member: ListPermissionsResponseBodyOutMembersMember = None,
extend: bool = None,
):
# 权限角色
self.role = role
# 成员信息
self.member = member
# 是否是继承的权限
self.extend = extend
def validate(self):
if self.member:
self.member.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.role is not None:
result['role'] = self.role
if self.member is not None:
result['member'] = self.member.to_map()
if self.extend is not None:
result['extend'] = self.extend
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('role') is not None:
self.role = m.get('role')
if m.get('member') is not None:
temp_model = ListPermissionsResponseBodyOutMembersMember()
self.member = temp_model.from_map(m['member'])
if m.get('extend') is not None:
self.extend = m.get('extend')
return self
class ListPermissionsResponseBody(TeaModel):
def __init__(
self,
members: List[ListPermissionsResponseBodyMembers] = None,
out_members: List[ListPermissionsResponseBodyOutMembers] = None,
):
# 企业内成员权限列表
self.members = members
# 企业外成员权限列表
self.out_members = out_members
def validate(self):
if self.members:
for k in self.members:
if k:
k.validate()
if self.out_members:
for k in self.out_members:
if k:
k.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
result['members'] = []
if self.members is not None:
for k in self.members:
result['members'].append(k.to_map() if k else None)
result['outMembers'] = []
if self.out_members is not None:
for k in self.out_members:
result['outMembers'].append(k.to_map() if k else None)
return result
def from_map(self, m: dict = None):
m = m or dict()
self.members = []
if m.get('members') is not None:
for k in m.get('members'):
temp_model = ListPermissionsResponseBodyMembers()
self.members.append(temp_model.from_map(k))
self.out_members = []
if m.get('outMembers') is not None:
for k in m.get('outMembers'):
temp_model = ListPermissionsResponseBodyOutMembers()
self.out_members.append(temp_model.from_map(k))
return self
class ListPermissionsResponse(TeaModel):
def __init__(
self,
headers: Dict[str, str] = None,
body: ListPermissionsResponseBody = None,
):
self.headers = headers
self.body = body
def validate(self):
self.validate_required(self.headers, 'headers')
self.validate_required(self.body, 'body')
if self.body:
self.body.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.headers is not None:
result['headers'] = self.headers
if self.body is not None:
result['body'] = self.body.to_map()
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('headers') is not None:
self.headers = m.get('headers')
if m.get('body') is not None:
temp_model = ListPermissionsResponseBody()
self.body = temp_model.from_map(m['body'])
return self
class MoveFileHeaders(TeaModel):
def __init__(
self,
common_headers: Dict[str, str] = None,
x_acs_dingtalk_access_token: str = None,
):
self.common_headers = common_headers
self.x_acs_dingtalk_access_token = x_acs_dingtalk_access_token
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.common_headers is not None:
result['commonHeaders'] = self.common_headers
if self.x_acs_dingtalk_access_token is not None:
result['x-acs-dingtalk-access-token'] = self.x_acs_dingtalk_access_token
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('commonHeaders') is not None:
self.common_headers = m.get('commonHeaders')
if m.get('x-acs-dingtalk-access-token') is not None:
self.x_acs_dingtalk_access_token = m.get('x-acs-dingtalk-access-token')
return self
class MoveFileRequest(TeaModel):
def __init__(
self,
target_space_id: str = None,
target_parent_id: str = None,
add_conflict_policy: str = None,
union_id: str = None,
):
# 目标空间id
self.target_space_id = target_space_id
# 目标父目录id
self.target_parent_id = target_parent_id
# 文件名冲突策略
self.add_conflict_policy = add_conflict_policy
# 用户id
self.union_id = union_id
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.target_space_id is not None:
result['targetSpaceId'] = self.target_space_id
if self.target_parent_id is not None:
result['targetParentId'] = self.target_parent_id
if self.add_conflict_policy is not None:
result['addConflictPolicy'] = self.add_conflict_policy
if self.union_id is not None:
result['unionId'] = self.union_id
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('targetSpaceId') is not None:
self.target_space_id = m.get('targetSpaceId')
if m.get('targetParentId') is not None:
self.target_parent_id = m.get('targetParentId')
if m.get('addConflictPolicy') is not None:
self.add_conflict_policy = m.get('addConflictPolicy')
if m.get('unionId') is not None:
self.union_id = m.get('unionId')
return self
class MoveFileResponseBody(TeaModel):
def __init__(
self,
space_id: str = None,
parent_id: str = None,
file_id: str = None,
file_name: str = None,
file_path: str = None,
file_type: str = None,
content_type: str = None,
file_extension: str = None,
file_size: int = None,
create_time: str = None,
modify_time: str = None,
creator: str = None,
modifier: str = None,
):
# 空间id
self.space_id = space_id
# 父目录id
self.parent_id = parent_id
# 文件id
self.file_id = file_id
# 文件名称
self.file_name = file_name
# 文件路径
self.file_path = file_path
# 文件类型
self.file_type = file_type
# 文件内容类型
self.content_type = content_type
# 文件后缀
self.file_extension = file_extension
# 文件大小
self.file_size = file_size
# 创建时间
self.create_time = create_time
# 修改时间
self.modify_time = modify_time
# 创建者
self.creator = creator
# 修改者
self.modifier = modifier
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.space_id is not None:
result['spaceId'] = self.space_id
if self.parent_id is not None:
result['parentId'] = self.parent_id
if self.file_id is not None:
result['fileId'] = self.file_id
if self.file_name is not None:
result['fileName'] = self.file_name
if self.file_path is not None:
result['filePath'] = self.file_path
if self.file_type is not None:
result['fileType'] = self.file_type
if self.content_type is not None:
result['contentType'] = self.content_type
if self.file_extension is not None:
result['fileExtension'] = self.file_extension
if self.file_size is not None:
result['fileSize'] = self.file_size
if self.create_time is not None:
result['createTime'] = self.create_time
if self.modify_time is not None:
result['modifyTime'] = self.modify_time
if self.creator is not None:
result['creator'] = self.creator
if self.modifier is not None:
result['modifier'] = self.modifier
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('spaceId') is not None:
self.space_id = m.get('spaceId')
if m.get('parentId') is not None:
self.parent_id = m.get('parentId')
if m.get('fileId') is not None:
self.file_id = m.get('fileId')
if m.get('fileName') is not None:
self.file_name = m.get('fileName')
if m.get('filePath') is not None:
self.file_path = m.get('filePath')
if m.get('fileType') is not None:
self.file_type = m.get('fileType')
if m.get('contentType') is not None:
self.content_type = m.get('contentType')
if m.get('fileExtension') is not None:
self.file_extension = m.get('fileExtension')
if m.get('fileSize') is not None:
self.file_size = m.get('fileSize')
if m.get('createTime') is not None:
self.create_time = m.get('createTime')
if m.get('modifyTime') is not None:
self.modify_time = m.get('modifyTime')
if m.get('creator') is not None:
self.creator = m.get('creator')
if m.get('modifier') is not None:
self.modifier = m.get('modifier')
return self
class MoveFileResponse(TeaModel):
def __init__(
self,
headers: Dict[str, str] = None,
body: MoveFileResponseBody = None,
):
self.headers = headers
self.body = body
def validate(self):
self.validate_required(self.headers, 'headers')
self.validate_required(self.body, 'body')
if self.body:
self.body.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.headers is not None:
result['headers'] = self.headers
if self.body is not None:
result['body'] = self.body.to_map()
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('headers') is not None:
self.headers = m.get('headers')
if m.get('body') is not None:
temp_model = MoveFileResponseBody()
self.body = temp_model.from_map(m['body'])
return self
class ListSpacesHeaders(TeaModel):
def __init__(
self,
common_headers: Dict[str, str] = None,
x_acs_dingtalk_access_token: str = None,
):
self.common_headers = common_headers
self.x_acs_dingtalk_access_token = x_acs_dingtalk_access_token
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.common_headers is not None:
result['commonHeaders'] = self.common_headers
if self.x_acs_dingtalk_access_token is not None:
result['x-acs-dingtalk-access-token'] = self.x_acs_dingtalk_access_token
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('commonHeaders') is not None:
self.common_headers = m.get('commonHeaders')
if m.get('x-acs-dingtalk-access-token') is not None:
self.x_acs_dingtalk_access_token = m.get('x-acs-dingtalk-access-token')
return self
class ListSpacesRequest(TeaModel):
def __init__(
self,
union_id: str = None,
space_type: str = None,
next_token: str = None,
max_results: int = None,
):
# 用户id
self.union_id = union_id
# 空间类型
self.space_type = space_type
# 分页加载锚点
self.next_token = next_token
# 分页大小
self.max_results = max_results
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.union_id is not None:
result['unionId'] = self.union_id
if self.space_type is not None:
result['spaceType'] = self.space_type
if self.next_token is not None:
result['nextToken'] = self.next_token
if self.max_results is not None:
result['maxResults'] = self.max_results
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('unionId') is not None:
self.union_id = m.get('unionId')
if m.get('spaceType') is not None:
self.space_type = m.get('spaceType')
if m.get('nextToken') is not None:
self.next_token = m.get('nextToken')
if m.get('maxResults') is not None:
self.max_results = m.get('maxResults')
return self
class ListSpacesResponseBodySpaces(TeaModel):
def __init__(
self,
space_id: str = None,
space_name: str = None,
space_type: str = None,
quota: int = None,
used_quota: int = None,
permission_mode: str = None,
create_time: str = None,
modify_time: str = None,
):
# 空间id
self.space_id = space_id
# 空间名称
self.space_name = space_name
# 空间类型
self.space_type = space_type
# 空间总额度
self.quota = quota
# 空间已使用额度
self.used_quota = used_quota
# 授权模式
self.permission_mode = permission_mode
# 创建时间
self.create_time = create_time
# 修改时间
self.modify_time = modify_time
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.space_id is not None:
result['spaceId'] = self.space_id
if self.space_name is not None:
result['spaceName'] = self.space_name
if self.space_type is not None:
result['spaceType'] = self.space_type
if self.quota is not None:
result['quota'] = self.quota
if self.used_quota is not None:
result['usedQuota'] = self.used_quota
if self.permission_mode is not None:
result['permissionMode'] = self.permission_mode
if self.create_time is not None:
result['createTime'] = self.create_time
if self.modify_time is not None:
result['modifyTime'] = self.modify_time
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('spaceId') is not None:
self.space_id = m.get('spaceId')
if m.get('spaceName') is not None:
self.space_name = m.get('spaceName')
if m.get('spaceType') is not None:
self.space_type = m.get('spaceType')
if m.get('quota') is not None:
self.quota = m.get('quota')
if m.get('usedQuota') is not None:
self.used_quota = m.get('usedQuota')
if m.get('permissionMode') is not None:
self.permission_mode = m.get('permissionMode')
if m.get('createTime') is not None:
self.create_time = m.get('createTime')
if m.get('modifyTime') is not None:
self.modify_time = m.get('modifyTime')
return self
class ListSpacesResponseBody(TeaModel):
def __init__(
self,
spaces: List[ListSpacesResponseBodySpaces] = None,
next_token: str = None,
):
self.spaces = spaces
# 分页加载更多锚点, nextToken不为空表示有更多数据
self.next_token = next_token
def validate(self):
if self.spaces:
for k in self.spaces:
if k:
k.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
result['spaces'] = []
if self.spaces is not None:
for k in self.spaces:
result['spaces'].append(k.to_map() if k else None)
if self.next_token is not None:
result['nextToken'] = self.next_token
return result
def from_map(self, m: dict = None):
m = m or dict()
self.spaces = []
if m.get('spaces') is not None:
for k in m.get('spaces'):
temp_model = ListSpacesResponseBodySpaces()
self.spaces.append(temp_model.from_map(k))
if m.get('nextToken') is not None:
self.next_token = m.get('nextToken')
return self
class ListSpacesResponse(TeaModel):
def __init__(
self,
headers: Dict[str, str] = None,
body: ListSpacesResponseBody = None,
):
self.headers = headers
self.body = body
def validate(self):
self.validate_required(self.headers, 'headers')
self.validate_required(self.body, 'body')
if self.body:
self.body.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.headers is not None:
result['headers'] = self.headers
if self.body is not None:
result['body'] = self.body.to_map()
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('headers') is not None:
self.headers = m.get('headers')
if m.get('body') is not None:
temp_model = ListSpacesResponseBody()
self.body = temp_model.from_map(m['body'])
return self
class CopyFileHeaders(TeaModel):
def __init__(
self,
common_headers: Dict[str, str] = None,
x_acs_dingtalk_access_token: str = None,
):
self.common_headers = common_headers
self.x_acs_dingtalk_access_token = x_acs_dingtalk_access_token
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.common_headers is not None:
result['commonHeaders'] = self.common_headers
if self.x_acs_dingtalk_access_token is not None:
result['x-acs-dingtalk-access-token'] = self.x_acs_dingtalk_access_token
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('commonHeaders') is not None:
self.common_headers = m.get('commonHeaders')
if m.get('x-acs-dingtalk-access-token') is not None:
self.x_acs_dingtalk_access_token = m.get('x-acs-dingtalk-access-token')
return self
class CopyFileRequest(TeaModel):
def __init__(
self,
target_space_id: str = None,
target_parent_id: str = None,
add_conflict_policy: str = None,
union_id: str = None,
):
# 目标空间id
self.target_space_id = target_space_id
# 目标父目录id
self.target_parent_id = target_parent_id
# 文件名冲突策略
self.add_conflict_policy = add_conflict_policy
# 用户id
self.union_id = union_id
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.target_space_id is not None:
result['targetSpaceId'] = self.target_space_id
if self.target_parent_id is not None:
result['targetParentId'] = self.target_parent_id
if self.add_conflict_policy is not None:
result['addConflictPolicy'] = self.add_conflict_policy
if self.union_id is not None:
result['unionId'] = self.union_id
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('targetSpaceId') is not None:
self.target_space_id = m.get('targetSpaceId')
if m.get('targetParentId') is not None:
self.target_parent_id = m.get('targetParentId')
if m.get('addConflictPolicy') is not None:
self.add_conflict_policy = m.get('addConflictPolicy')
if m.get('unionId') is not None:
self.union_id = m.get('unionId')
return self
class CopyFileResponseBodyFile(TeaModel):
def __init__(
self,
space_id: str = None,
parent_id: str = None,
file_id: str = None,
file_name: str = None,
file_path: str = None,
file_type: str = None,
content_type: str = None,
file_extension: str = None,
file_size: int = None,
create_time: str = None,
modify_time: str = None,
creator: str = None,
modifier: str = None,
):
# 空间id
self.space_id = space_id
# 父目录id
self.parent_id = parent_id
# 文件id
self.file_id = file_id
# 文件名称
self.file_name = file_name
# 文件路径
self.file_path = file_path
# 文件类型
self.file_type = file_type
# 文件内容类型
self.content_type = content_type
# 文件后缀
self.file_extension = file_extension
# 文件大小
self.file_size = file_size
# 创建时间
self.create_time = create_time
# 修改时间
self.modify_time = modify_time
# 创建者
self.creator = creator
# 修改者
self.modifier = modifier
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.space_id is not None:
result['spaceId'] = self.space_id
if self.parent_id is not None:
result['parentId'] = self.parent_id
if self.file_id is not None:
result['fileId'] = self.file_id
if self.file_name is not None:
result['fileName'] = self.file_name
if self.file_path is not None:
result['filePath'] = self.file_path
if self.file_type is not None:
result['fileType'] = self.file_type
if self.content_type is not None:
result['contentType'] = self.content_type
if self.file_extension is not None:
result['fileExtension'] = self.file_extension
if self.file_size is not None:
result['fileSize'] = self.file_size
if self.create_time is not None:
result['createTime'] = self.create_time
if self.modify_time is not None:
result['modifyTime'] = self.modify_time
if self.creator is not None:
result['creator'] = self.creator
if self.modifier is not None:
result['modifier'] = self.modifier
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('spaceId') is not None:
self.space_id = m.get('spaceId')
if m.get('parentId') is not None:
self.parent_id = m.get('parentId')
if m.get('fileId') is not None:
self.file_id = m.get('fileId')
if m.get('fileName') is not None:
self.file_name = m.get('fileName')
if m.get('filePath') is not None:
self.file_path = m.get('filePath')
if m.get('fileType') is not None:
self.file_type = m.get('fileType')
if m.get('contentType') is not None:
self.content_type = m.get('contentType')
if m.get('fileExtension') is not None:
self.file_extension = m.get('fileExtension')
if m.get('fileSize') is not None:
self.file_size = m.get('fileSize')
if m.get('createTime') is not None:
self.create_time = m.get('createTime')
if m.get('modifyTime') is not None:
self.modify_time = m.get('modifyTime')
if m.get('creator') is not None:
self.creator = m.get('creator')
if m.get('modifier') is not None:
self.modifier = m.get('modifier')
return self
class CopyFileResponseBody(TeaModel):
def __init__(
self,
file: CopyFileResponseBodyFile = None,
task_id: str = None,
):
# 文件信息
self.file = file
# 异步任务id
self.task_id = task_id
def validate(self):
if self.file:
self.file.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.file is not None:
result['file'] = self.file.to_map()
if self.task_id is not None:
result['taskId'] = self.task_id
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('file') is not None:
temp_model = CopyFileResponseBodyFile()
self.file = temp_model.from_map(m['file'])
if m.get('taskId') is not None:
self.task_id = m.get('taskId')
return self
class CopyFileResponse(TeaModel):
def __init__(
self,
headers: Dict[str, str] = None,
body: CopyFileResponseBody = None,
):
self.headers = headers
self.body = body
def validate(self):
self.validate_required(self.headers, 'headers')
self.validate_required(self.body, 'body')
if self.body:
self.body.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.headers is not None:
result['headers'] = self.headers
if self.body is not None:
result['body'] = self.body.to_map()
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('headers') is not None:
self.headers = m.get('headers')
if m.get('body') is not None:
temp_model = CopyFileResponseBody()
self.body = temp_model.from_map(m['body'])
return self
class DeleteSpaceHeaders(TeaModel):
def __init__(
self,
common_headers: Dict[str, str] = None,
x_acs_dingtalk_access_token: str = None,
):
self.common_headers = common_headers
self.x_acs_dingtalk_access_token = x_acs_dingtalk_access_token
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.common_headers is not None:
result['commonHeaders'] = self.common_headers
if self.x_acs_dingtalk_access_token is not None:
result['x-acs-dingtalk-access-token'] = self.x_acs_dingtalk_access_token
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('commonHeaders') is not None:
self.common_headers = m.get('commonHeaders')
if m.get('x-acs-dingtalk-access-token') is not None:
self.x_acs_dingtalk_access_token = m.get('x-acs-dingtalk-access-token')
return self
class DeleteSpaceRequest(TeaModel):
def __init__(
self,
union_id: str = None,
):
# 用户id
self.union_id = union_id
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.union_id is not None:
result['unionId'] = self.union_id
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('unionId') is not None:
self.union_id = m.get('unionId')
return self
class DeleteSpaceResponse(TeaModel):
def __init__(
self,
headers: Dict[str, str] = None,
):
self.headers = headers
def validate(self):
self.validate_required(self.headers, 'headers')
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.headers is not None:
result['headers'] = self.headers
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('headers') is not None:
self.headers = m.get('headers')
return self
class ClearRecycleFilesHeaders(TeaModel):
def __init__(
self,
common_headers: Dict[str, str] = None,
x_acs_dingtalk_access_token: str = None,
):
self.common_headers = common_headers
self.x_acs_dingtalk_access_token = x_acs_dingtalk_access_token
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.common_headers is not None:
result['commonHeaders'] = self.common_headers
if self.x_acs_dingtalk_access_token is not None:
result['x-acs-dingtalk-access-token'] = self.x_acs_dingtalk_access_token
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('commonHeaders') is not None:
self.common_headers = m.get('commonHeaders')
if m.get('x-acs-dingtalk-access-token') is not None:
self.x_acs_dingtalk_access_token = m.get('x-acs-dingtalk-access-token')
return self
class ClearRecycleFilesRequest(TeaModel):
def __init__(
self,
recycle_type: str = None,
union_id: str = None,
):
# 回收站类型
self.recycle_type = recycle_type
# 用户id
self.union_id = union_id
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.recycle_type is not None:
result['recycleType'] = self.recycle_type
if self.union_id is not None:
result['unionId'] = self.union_id
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('recycleType') is not None:
self.recycle_type = m.get('recycleType')
if m.get('unionId') is not None:
self.union_id = m.get('unionId')
return self
class ClearRecycleFilesResponse(TeaModel):
def __init__(
self,
headers: Dict[str, str] = None,
):
self.headers = headers
def validate(self):
self.validate_required(self.headers, 'headers')
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.headers is not None:
result['headers'] = self.headers
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('headers') is not None:
self.headers = m.get('headers')
return self
class ManagementListSpacesHeaders(TeaModel):
def __init__(
self,
common_headers: Dict[str, str] = None,
x_acs_dingtalk_access_token: str = None,
):
self.common_headers = common_headers
self.x_acs_dingtalk_access_token = x_acs_dingtalk_access_token
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.common_headers is not None:
result['commonHeaders'] = self.common_headers
if self.x_acs_dingtalk_access_token is not None:
result['x-acs-dingtalk-access-token'] = self.x_acs_dingtalk_access_token
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('commonHeaders') is not None:
self.common_headers = m.get('commonHeaders')
if m.get('x-acs-dingtalk-access-token') is not None:
self.x_acs_dingtalk_access_token = m.get('x-acs-dingtalk-access-token')
return self
class ManagementListSpacesRequest(TeaModel):
def __init__(
self,
space_ids: List[str] = None,
union_id: str = None,
):
# 空间id列表
self.space_ids = space_ids
# 用户id
self.union_id = union_id
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.space_ids is not None:
result['spaceIds'] = self.space_ids
if self.union_id is not None:
result['unionId'] = self.union_id
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('spaceIds') is not None:
self.space_ids = m.get('spaceIds')
if m.get('unionId') is not None:
self.union_id = m.get('unionId')
return self
class ManagementListSpacesResponseBodySpaces(TeaModel):
def __init__(
self,
space_id: str = None,
space_name: str = None,
space_type: str = None,
quota: int = None,
used_quota: int = None,
permission_mode: str = None,
create_time: str = None,
modify_time: str = None,
):
# 空间id
self.space_id = space_id
# 空间名称
self.space_name = space_name
# 空间类型
self.space_type = space_type
# 空间总额度
self.quota = quota
# 空间已使用额度
self.used_quota = used_quota
# 授权模式
self.permission_mode = permission_mode
# 创建时间
self.create_time = create_time
# 修改时间
self.modify_time = modify_time
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.space_id is not None:
result['spaceId'] = self.space_id
if self.space_name is not None:
result['spaceName'] = self.space_name
if self.space_type is not None:
result['spaceType'] = self.space_type
if self.quota is not None:
result['quota'] = self.quota
if self.used_quota is not None:
result['usedQuota'] = self.used_quota
if self.permission_mode is not None:
result['permissionMode'] = self.permission_mode
if self.create_time is not None:
result['createTime'] = self.create_time
if self.modify_time is not None:
result['modifyTime'] = self.modify_time
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('spaceId') is not None:
self.space_id = m.get('spaceId')
if m.get('spaceName') is not None:
self.space_name = m.get('spaceName')
if m.get('spaceType') is not None:
self.space_type = m.get('spaceType')
if m.get('quota') is not None:
self.quota = m.get('quota')
if m.get('usedQuota') is not None:
self.used_quota = m.get('usedQuota')
if m.get('permissionMode') is not None:
self.permission_mode = m.get('permissionMode')
if m.get('createTime') is not None:
self.create_time = m.get('createTime')
if m.get('modifyTime') is not None:
self.modify_time = m.get('modifyTime')
return self
class ManagementListSpacesResponseBody(TeaModel):
def __init__(
self,
spaces: List[ManagementListSpacesResponseBodySpaces] = None,
):
self.spaces = spaces
def validate(self):
if self.spaces:
for k in self.spaces:
if k:
k.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
result['spaces'] = []
if self.spaces is not None:
for k in self.spaces:
result['spaces'].append(k.to_map() if k else None)
return result
def from_map(self, m: dict = None):
m = m or dict()
self.spaces = []
if m.get('spaces') is not None:
for k in m.get('spaces'):
temp_model = ManagementListSpacesResponseBodySpaces()
self.spaces.append(temp_model.from_map(k))
return self
class ManagementListSpacesResponse(TeaModel):
def __init__(
self,
headers: Dict[str, str] = None,
body: ManagementListSpacesResponseBody = None,
):
self.headers = headers
self.body = body
def validate(self):
self.validate_required(self.headers, 'headers')
self.validate_required(self.body, 'body')
if self.body:
self.body.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.headers is not None:
result['headers'] = self.headers
if self.body is not None:
result['body'] = self.body.to_map()
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('headers') is not None:
self.headers = m.get('headers')
if m.get('body') is not None:
temp_model = ManagementListSpacesResponseBody()
self.body = temp_model.from_map(m['body'])
return self
class DeleteFileHeaders(TeaModel):
def __init__(
self,
common_headers: Dict[str, str] = None,
x_acs_dingtalk_access_token: str = None,
):
self.common_headers = common_headers
self.x_acs_dingtalk_access_token = x_acs_dingtalk_access_token
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.common_headers is not None:
result['commonHeaders'] = self.common_headers
if self.x_acs_dingtalk_access_token is not None:
result['x-acs-dingtalk-access-token'] = self.x_acs_dingtalk_access_token
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('commonHeaders') is not None:
self.common_headers = m.get('commonHeaders')
if m.get('x-acs-dingtalk-access-token') is not None:
self.x_acs_dingtalk_access_token = m.get('x-acs-dingtalk-access-token')
return self
class DeleteFileRequest(TeaModel):
def __init__(
self,
union_id: str = None,
delete_policy: str = None,
):
# 用户id
self.union_id = union_id
# 删除策略
self.delete_policy = delete_policy
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.union_id is not None:
result['unionId'] = self.union_id
if self.delete_policy is not None:
result['deletePolicy'] = self.delete_policy
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('unionId') is not None:
self.union_id = m.get('unionId')
if m.get('deletePolicy') is not None:
self.delete_policy = m.get('deletePolicy')
return self
class DeleteFileResponseBody(TeaModel):
def __init__(
self,
success: bool = None,
):
# 是否成功
self.success = success
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.success is not None:
result['success'] = self.success
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('success') is not None:
self.success = m.get('success')
return self
class DeleteFileResponse(TeaModel):
def __init__(
self,
headers: Dict[str, str] = None,
body: DeleteFileResponseBody = None,
):
self.headers = headers
self.body = body
def validate(self):
self.validate_required(self.headers, 'headers')
self.validate_required(self.body, 'body')
if self.body:
self.body.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.headers is not None:
result['headers'] = self.headers
if self.body is not None:
result['body'] = self.body.to_map()
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('headers') is not None:
self.headers = m.get('headers')
if m.get('body') is not None:
temp_model = DeleteFileResponseBody()
self.body = temp_model.from_map(m['body'])
return self
class AddFileHeaders(TeaModel):
def __init__(
self,
common_headers: Dict[str, str] = None,
x_acs_dingtalk_access_token: str = None,
):
self.common_headers = common_headers
self.x_acs_dingtalk_access_token = x_acs_dingtalk_access_token
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.common_headers is not None:
result['commonHeaders'] = self.common_headers
if self.x_acs_dingtalk_access_token is not None:
result['x-acs-dingtalk-access-token'] = self.x_acs_dingtalk_access_token
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('commonHeaders') is not None:
self.common_headers = m.get('commonHeaders')
if m.get('x-acs-dingtalk-access-token') is not None:
self.x_acs_dingtalk_access_token = m.get('x-acs-dingtalk-access-token')
return self
class AddFileRequest(TeaModel):
def __init__(
self,
parent_id: str = None,
file_type: str = None,
file_name: str = None,
media_id: str = None,
add_conflict_policy: str = None,
union_id: str = None,
):
# 父目录id
self.parent_id = parent_id
# 文件类型
self.file_type = file_type
# 文件名
self.file_name = file_name
# mediaId
self.media_id = media_id
# 文件名冲突策略
self.add_conflict_policy = add_conflict_policy
# 用户id
self.union_id = union_id
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.parent_id is not None:
result['parentId'] = self.parent_id
if self.file_type is not None:
result['fileType'] = self.file_type
if self.file_name is not None:
result['fileName'] = self.file_name
if self.media_id is not None:
result['mediaId'] = self.media_id
if self.add_conflict_policy is not None:
result['addConflictPolicy'] = self.add_conflict_policy
if self.union_id is not None:
result['unionId'] = self.union_id
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('parentId') is not None:
self.parent_id = m.get('parentId')
if m.get('fileType') is not None:
self.file_type = m.get('fileType')
if m.get('fileName') is not None:
self.file_name = m.get('fileName')
if m.get('mediaId') is not None:
self.media_id = m.get('mediaId')
if m.get('addConflictPolicy') is not None:
self.add_conflict_policy = m.get('addConflictPolicy')
if m.get('unionId') is not None:
self.union_id = m.get('unionId')
return self
class AddFileResponseBody(TeaModel):
def __init__(
self,
space_id: str = None,
parent_id: str = None,
file_id: str = None,
file_name: str = None,
file_path: str = None,
file_type: str = None,
content_type: str = None,
file_extension: str = None,
file_size: int = None,
create_time: str = None,
modify_time: str = None,
creator: str = None,
modifier: str = None,
):
# 空间id
self.space_id = space_id
# 父目录id
self.parent_id = parent_id
# 文件id
self.file_id = file_id
# 文件名称
self.file_name = file_name
# 文件路径
self.file_path = file_path
# 文件类型
self.file_type = file_type
# 文件内容类型
self.content_type = content_type
# 文件后缀
self.file_extension = file_extension
# 文件大小
self.file_size = file_size
# 创建时间
self.create_time = create_time
# 修改时间
self.modify_time = modify_time
# 创建者
self.creator = creator
# 修改者
self.modifier = modifier
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.space_id is not None:
result['spaceId'] = self.space_id
if self.parent_id is not None:
result['parentId'] = self.parent_id
if self.file_id is not None:
result['fileId'] = self.file_id
if self.file_name is not None:
result['fileName'] = self.file_name
if self.file_path is not None:
result['filePath'] = self.file_path
if self.file_type is not None:
result['fileType'] = self.file_type
if self.content_type is not None:
result['contentType'] = self.content_type
if self.file_extension is not None:
result['fileExtension'] = self.file_extension
if self.file_size is not None:
result['fileSize'] = self.file_size
if self.create_time is not None:
result['createTime'] = self.create_time
if self.modify_time is not None:
result['modifyTime'] = self.modify_time
if self.creator is not None:
result['creator'] = self.creator
if self.modifier is not None:
result['modifier'] = self.modifier
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('spaceId') is not None:
self.space_id = m.get('spaceId')
if m.get('parentId') is not None:
self.parent_id = m.get('parentId')
if m.get('fileId') is not None:
self.file_id = m.get('fileId')
if m.get('fileName') is not None:
self.file_name = m.get('fileName')
if m.get('filePath') is not None:
self.file_path = m.get('filePath')
if m.get('fileType') is not None:
self.file_type = m.get('fileType')
if m.get('contentType') is not None:
self.content_type = m.get('contentType')
if m.get('fileExtension') is not None:
self.file_extension = m.get('fileExtension')
if m.get('fileSize') is not None:
self.file_size = m.get('fileSize')
if m.get('createTime') is not None:
self.create_time = m.get('createTime')
if m.get('modifyTime') is not None:
self.modify_time = m.get('modifyTime')
if m.get('creator') is not None:
self.creator = m.get('creator')
if m.get('modifier') is not None:
self.modifier = m.get('modifier')
return self
class AddFileResponse(TeaModel):
def __init__(
self,
headers: Dict[str, str] = None,
body: AddFileResponseBody = None,
):
self.headers = headers
self.body = body
def validate(self):
self.validate_required(self.headers, 'headers')
self.validate_required(self.body, 'body')
if self.body:
self.body.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.headers is not None:
result['headers'] = self.headers
if self.body is not None:
result['body'] = self.body.to_map()
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('headers') is not None:
self.headers = m.get('headers')
if m.get('body') is not None:
temp_model = AddFileResponseBody()
self.body = temp_model.from_map(m['body'])
return self
class GetPreviewInfoHeaders(TeaModel):
def __init__(
self,
common_headers: Dict[str, str] = None,
x_acs_dingtalk_access_token: str = None,
):
self.common_headers = common_headers
self.x_acs_dingtalk_access_token = x_acs_dingtalk_access_token
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.common_headers is not None:
result['commonHeaders'] = self.common_headers
if self.x_acs_dingtalk_access_token is not None:
result['x-acs-dingtalk-access-token'] = self.x_acs_dingtalk_access_token
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('commonHeaders') is not None:
self.common_headers = m.get('commonHeaders')
if m.get('x-acs-dingtalk-access-token') is not None:
self.x_acs_dingtalk_access_token = m.get('x-acs-dingtalk-access-token')
return self
class GetPreviewInfoRequest(TeaModel):
def __init__(
self,
union_id: str = None,
):
# 用户id
self.union_id = union_id
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.union_id is not None:
result['unionId'] = self.union_id
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('unionId') is not None:
self.union_id = m.get('unionId')
return self
class GetPreviewInfoResponseBodyInfo(TeaModel):
def __init__(
self,
url: str = None,
):
# 预览url
self.url = url
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.url is not None:
result['url'] = self.url
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('url') is not None:
self.url = m.get('url')
return self
class GetPreviewInfoResponseBody(TeaModel):
def __init__(
self,
info: GetPreviewInfoResponseBodyInfo = None,
):
# 预览信息
self.info = info
def validate(self):
if self.info:
self.info.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.info is not None:
result['info'] = self.info.to_map()
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('info') is not None:
temp_model = GetPreviewInfoResponseBodyInfo()
self.info = temp_model.from_map(m['info'])
return self
class GetPreviewInfoResponse(TeaModel):
def __init__(
self,
headers: Dict[str, str] = None,
body: GetPreviewInfoResponseBody = None,
):
self.headers = headers
self.body = body
def validate(self):
self.validate_required(self.headers, 'headers')
self.validate_required(self.body, 'body')
if self.body:
self.body.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.headers is not None:
result['headers'] = self.headers
if self.body is not None:
result['body'] = self.body.to_map()
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('headers') is not None:
self.headers = m.get('headers')
if m.get('body') is not None:
temp_model = GetPreviewInfoResponseBody()
self.body = temp_model.from_map(m['body'])
return self
class InfoSpaceHeaders(TeaModel):
def __init__(
self,
common_headers: Dict[str, str] = None,
x_acs_dingtalk_access_token: str = None,
):
self.common_headers = common_headers
self.x_acs_dingtalk_access_token = x_acs_dingtalk_access_token
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.common_headers is not None:
result['commonHeaders'] = self.common_headers
if self.x_acs_dingtalk_access_token is not None:
result['x-acs-dingtalk-access-token'] = self.x_acs_dingtalk_access_token
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('commonHeaders') is not None:
self.common_headers = m.get('commonHeaders')
if m.get('x-acs-dingtalk-access-token') is not None:
self.x_acs_dingtalk_access_token = m.get('x-acs-dingtalk-access-token')
return self
class InfoSpaceRequest(TeaModel):
def __init__(
self,
union_id: str = None,
):
# 用户id
self.union_id = union_id
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.union_id is not None:
result['unionId'] = self.union_id
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('unionId') is not None:
self.union_id = m.get('unionId')
return self
class InfoSpaceResponseBody(TeaModel):
def __init__(
self,
space_id: str = None,
space_name: str = None,
space_type: str = None,
quota: int = None,
used_quota: int = None,
permission_mode: str = None,
create_time: str = None,
modify_time: str = None,
):
# 空间id
self.space_id = space_id
# 空间名称
self.space_name = space_name
# 空间类型
self.space_type = space_type
# 容量
self.quota = quota
# 已使用容量
self.used_quota = used_quota
# 授权模式
self.permission_mode = permission_mode
# 创建时间
self.create_time = create_time
# 修改时间
self.modify_time = modify_time
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.space_id is not None:
result['spaceId'] = self.space_id
if self.space_name is not None:
result['spaceName'] = self.space_name
if self.space_type is not None:
result['spaceType'] = self.space_type
if self.quota is not None:
result['quota'] = self.quota
if self.used_quota is not None:
result['usedQuota'] = self.used_quota
if self.permission_mode is not None:
result['permissionMode'] = self.permission_mode
if self.create_time is not None:
result['createTime'] = self.create_time
if self.modify_time is not None:
result['modifyTime'] = self.modify_time
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('spaceId') is not None:
self.space_id = m.get('spaceId')
if m.get('spaceName') is not None:
self.space_name = m.get('spaceName')
if m.get('spaceType') is not None:
self.space_type = m.get('spaceType')
if m.get('quota') is not None:
self.quota = m.get('quota')
if m.get('usedQuota') is not None:
self.used_quota = m.get('usedQuota')
if m.get('permissionMode') is not None:
self.permission_mode = m.get('permissionMode')
if m.get('createTime') is not None:
self.create_time = m.get('createTime')
if m.get('modifyTime') is not None:
self.modify_time = m.get('modifyTime')
return self
class InfoSpaceResponse(TeaModel):
def __init__(
self,
headers: Dict[str, str] = None,
body: InfoSpaceResponseBody = None,
):
self.headers = headers
self.body = body
def validate(self):
self.validate_required(self.headers, 'headers')
self.validate_required(self.body, 'body')
if self.body:
self.body.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.headers is not None:
result['headers'] = self.headers
if self.body is not None:
result['body'] = self.body.to_map()
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('headers') is not None:
self.headers = m.get('headers')
if m.get('body') is not None:
temp_model = InfoSpaceResponseBody()
self.body = temp_model.from_map(m['body'])
return self
class ManagementModifySpaceHeaders(TeaModel):
def __init__(
self,
common_headers: Dict[str, str] = None,
x_acs_dingtalk_access_token: str = None,
):
self.common_headers = common_headers
self.x_acs_dingtalk_access_token = x_acs_dingtalk_access_token
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.common_headers is not None:
result['commonHeaders'] = self.common_headers
if self.x_acs_dingtalk_access_token is not None:
result['x-acs-dingtalk-access-token'] = self.x_acs_dingtalk_access_token
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('commonHeaders') is not None:
self.common_headers = m.get('commonHeaders')
if m.get('x-acs-dingtalk-access-token') is not None:
self.x_acs_dingtalk_access_token = m.get('x-acs-dingtalk-access-token')
return self
class ManagementModifySpaceRequest(TeaModel):
def __init__(
self,
space_ids: List[str] = None,
quota: int = None,
union_id: str = None,
):
# 空间id列表
self.space_ids = space_ids
# 容量
self.quota = quota
# 用户id
self.union_id = union_id
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.space_ids is not None:
result['spaceIds'] = self.space_ids
if self.quota is not None:
result['quota'] = self.quota
if self.union_id is not None:
result['unionId'] = self.union_id
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('spaceIds') is not None:
self.space_ids = m.get('spaceIds')
if m.get('quota') is not None:
self.quota = m.get('quota')
if m.get('unionId') is not None:
self.union_id = m.get('unionId')
return self
class ManagementModifySpaceResponseBodySpaces(TeaModel):
def __init__(
self,
space_id: str = None,
space_name: str = None,
space_type: str = None,
quota: int = None,
used_quota: int = None,
permission_mode: str = None,
create_time: str = None,
modify_time: str = None,
):
# 空间id
self.space_id = space_id
# 空间名称
self.space_name = space_name
# 空间类型
self.space_type = space_type
# 空间总额度
self.quota = quota
# 空间已使用额度
self.used_quota = used_quota
# 授权模式
self.permission_mode = permission_mode
# 创建时间
self.create_time = create_time
# 修改时间
self.modify_time = modify_time
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.space_id is not None:
result['spaceId'] = self.space_id
if self.space_name is not None:
result['spaceName'] = self.space_name
if self.space_type is not None:
result['spaceType'] = self.space_type
if self.quota is not None:
result['quota'] = self.quota
if self.used_quota is not None:
result['usedQuota'] = self.used_quota
if self.permission_mode is not None:
result['permissionMode'] = self.permission_mode
if self.create_time is not None:
result['createTime'] = self.create_time
if self.modify_time is not None:
result['modifyTime'] = self.modify_time
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('spaceId') is not None:
self.space_id = m.get('spaceId')
if m.get('spaceName') is not None:
self.space_name = m.get('spaceName')
if m.get('spaceType') is not None:
self.space_type = m.get('spaceType')
if m.get('quota') is not None:
self.quota = m.get('quota')
if m.get('usedQuota') is not None:
self.used_quota = m.get('usedQuota')
if m.get('permissionMode') is not None:
self.permission_mode = m.get('permissionMode')
if m.get('createTime') is not None:
self.create_time = m.get('createTime')
if m.get('modifyTime') is not None:
self.modify_time = m.get('modifyTime')
return self
class ManagementModifySpaceResponseBody(TeaModel):
def __init__(
self,
spaces: List[ManagementModifySpaceResponseBodySpaces] = None,
):
# 空间列表
self.spaces = spaces
def validate(self):
if self.spaces:
for k in self.spaces:
if k:
k.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
result['spaces'] = []
if self.spaces is not None:
for k in self.spaces:
result['spaces'].append(k.to_map() if k else None)
return result
def from_map(self, m: dict = None):
m = m or dict()
self.spaces = []
if m.get('spaces') is not None:
for k in m.get('spaces'):
temp_model = ManagementModifySpaceResponseBodySpaces()
self.spaces.append(temp_model.from_map(k))
return self
class ManagementModifySpaceResponse(TeaModel):
def __init__(
self,
headers: Dict[str, str] = None,
body: ManagementModifySpaceResponseBody = None,
):
self.headers = headers
self.body = body
def validate(self):
self.validate_required(self.headers, 'headers')
self.validate_required(self.body, 'body')
if self.body:
self.body.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.headers is not None:
result['headers'] = self.headers
if self.body is not None:
result['body'] = self.body.to_map()
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('headers') is not None:
self.headers = m.get('headers')
if m.get('body') is not None:
temp_model = ManagementModifySpaceResponseBody()
self.body = temp_model.from_map(m['body'])
return self
class ModifyPermissionHeaders(TeaModel):
def __init__(
self,
common_headers: Dict[str, str] = None,
x_acs_dingtalk_access_token: str = None,
):
self.common_headers = common_headers
self.x_acs_dingtalk_access_token = x_acs_dingtalk_access_token
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.common_headers is not None:
result['commonHeaders'] = self.common_headers
if self.x_acs_dingtalk_access_token is not None:
result['x-acs-dingtalk-access-token'] = self.x_acs_dingtalk_access_token
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('commonHeaders') is not None:
self.common_headers = m.get('commonHeaders')
if m.get('x-acs-dingtalk-access-token') is not None:
self.x_acs_dingtalk_access_token = m.get('x-acs-dingtalk-access-token')
return self
class ModifyPermissionRequestMembers(TeaModel):
def __init__(
self,
corp_id: str = None,
member_type: str = None,
member_id: str = None,
):
# 企业corpId
self.corp_id = corp_id
# 成员类型
self.member_type = member_type
# 成员id
self.member_id = member_id
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.corp_id is not None:
result['corpId'] = self.corp_id
if self.member_type is not None:
result['memberType'] = self.member_type
if self.member_id is not None:
result['memberId'] = self.member_id
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('corpId') is not None:
self.corp_id = m.get('corpId')
if m.get('memberType') is not None:
self.member_type = m.get('memberType')
if m.get('memberId') is not None:
self.member_id = m.get('memberId')
return self
class ModifyPermissionRequest(TeaModel):
def __init__(
self,
role: str = None,
members: List[ModifyPermissionRequestMembers] = None,
union_id: str = None,
):
# 权限角色
self.role = role
self.members = members
# 用户id
self.union_id = union_id
def validate(self):
if self.members:
for k in self.members:
if k:
k.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.role is not None:
result['role'] = self.role
result['members'] = []
if self.members is not None:
for k in self.members:
result['members'].append(k.to_map() if k else None)
if self.union_id is not None:
result['unionId'] = self.union_id
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('role') is not None:
self.role = m.get('role')
self.members = []
if m.get('members') is not None:
for k in m.get('members'):
temp_model = ModifyPermissionRequestMembers()
self.members.append(temp_model.from_map(k))
if m.get('unionId') is not None:
self.union_id = m.get('unionId')
return self
class ModifyPermissionResponse(TeaModel):
def __init__(
self,
headers: Dict[str, str] = None,
):
self.headers = headers
def validate(self):
self.validate_required(self.headers, 'headers')
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.headers is not None:
result['headers'] = self.headers
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('headers') is not None:
self.headers = m.get('headers')
return self
class GrantPrivilegeOfCustomSpaceHeaders(TeaModel):
def __init__(
self,
common_headers: Dict[str, str] = None,
x_acs_dingtalk_access_token: str = None,
):
self.common_headers = common_headers
self.x_acs_dingtalk_access_token = x_acs_dingtalk_access_token
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.common_headers is not None:
result['commonHeaders'] = self.common_headers
if self.x_acs_dingtalk_access_token is not None:
result['x-acs-dingtalk-access-token'] = self.x_acs_dingtalk_access_token
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('commonHeaders') is not None:
self.common_headers = m.get('commonHeaders')
if m.get('x-acs-dingtalk-access-token') is not None:
self.x_acs_dingtalk_access_token = m.get('x-acs-dingtalk-access-token')
return self
class GrantPrivilegeOfCustomSpaceRequest(TeaModel):
def __init__(
self,
type: str = None,
user_id: str = None,
file_ids: List[str] = None,
duration: int = None,
union_id: str = None,
):
# 权限类型
self.type = type
# 被授予权限的员工id
self.user_id = user_id
# 授权访问的文件id列表
self.file_ids = file_ids
# 权限有效时间
self.duration = duration
# 用户id
self.union_id = union_id
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.type is not None:
result['type'] = self.type
if self.user_id is not None:
result['userId'] = self.user_id
if self.file_ids is not None:
result['fileIds'] = self.file_ids
if self.duration is not None:
result['duration'] = self.duration
if self.union_id is not None:
result['unionId'] = self.union_id
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('type') is not None:
self.type = m.get('type')
if m.get('userId') is not None:
self.user_id = m.get('userId')
if m.get('fileIds') is not None:
self.file_ids = m.get('fileIds')
if m.get('duration') is not None:
self.duration = m.get('duration')
if m.get('unionId') is not None:
self.union_id = m.get('unionId')
return self
class GrantPrivilegeOfCustomSpaceResponse(TeaModel):
def __init__(
self,
headers: Dict[str, str] = None,
):
self.headers = headers
def validate(self):
self.validate_required(self.headers, 'headers')
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.headers is not None:
result['headers'] = self.headers
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('headers') is not None:
self.headers = m.get('headers')
return self
class GetDownloadInfoHeaders(TeaModel):
def __init__(
self,
common_headers: Dict[str, str] = None,
x_acs_dingtalk_access_token: str = None,
):
self.common_headers = common_headers
self.x_acs_dingtalk_access_token = x_acs_dingtalk_access_token
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.common_headers is not None:
result['commonHeaders'] = self.common_headers
if self.x_acs_dingtalk_access_token is not None:
result['x-acs-dingtalk-access-token'] = self.x_acs_dingtalk_access_token
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('commonHeaders') is not None:
self.common_headers = m.get('commonHeaders')
if m.get('x-acs-dingtalk-access-token') is not None:
self.x_acs_dingtalk_access_token = m.get('x-acs-dingtalk-access-token')
return self
class GetDownloadInfoRequest(TeaModel):
def __init__(
self,
union_id: str = None,
with_region: bool = None,
with_internal_resource_url: bool = None,
):
# 用户id
self.union_id = union_id
# 是否返回区域信息
self.with_region = with_region
# 是否返回内网加签url
self.with_internal_resource_url = with_internal_resource_url
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.union_id is not None:
result['unionId'] = self.union_id
if self.with_region is not None:
result['withRegion'] = self.with_region
if self.with_internal_resource_url is not None:
result['withInternalResourceUrl'] = self.with_internal_resource_url
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('unionId') is not None:
self.union_id = m.get('unionId')
if m.get('withRegion') is not None:
self.with_region = m.get('withRegion')
if m.get('withInternalResourceUrl') is not None:
self.with_internal_resource_url = m.get('withInternalResourceUrl')
return self
class GetDownloadInfoResponseBodyDownloadInfo(TeaModel):
def __init__(
self,
resource_url: str = None,
internal_resource_url: str = None,
expiration_seconds: int = None,
headers: Dict[str, Any] = None,
):
# 加签url
self.resource_url = resource_url
# 内网加签url
self.internal_resource_url = internal_resource_url
# 加签url过期时间
self.expiration_seconds = expiration_seconds
# headers
self.headers = headers
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.resource_url is not None:
result['resourceUrl'] = self.resource_url
if self.internal_resource_url is not None:
result['internalResourceUrl'] = self.internal_resource_url
if self.expiration_seconds is not None:
result['expirationSeconds'] = self.expiration_seconds
if self.headers is not None:
result['headers'] = self.headers
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('resourceUrl') is not None:
self.resource_url = m.get('resourceUrl')
if m.get('internalResourceUrl') is not None:
self.internal_resource_url = m.get('internalResourceUrl')
if m.get('expirationSeconds') is not None:
self.expiration_seconds = m.get('expirationSeconds')
if m.get('headers') is not None:
self.headers = m.get('headers')
return self
class GetDownloadInfoResponseBody(TeaModel):
def __init__(
self,
download_info: GetDownloadInfoResponseBodyDownloadInfo = None,
region: str = None,
):
# 下载加签url信息
self.download_info = download_info
# 文件所存储的区域
self.region = region
def validate(self):
if self.download_info:
self.download_info.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.download_info is not None:
result['downloadInfo'] = self.download_info.to_map()
if self.region is not None:
result['region'] = self.region
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('downloadInfo') is not None:
temp_model = GetDownloadInfoResponseBodyDownloadInfo()
self.download_info = temp_model.from_map(m['downloadInfo'])
if m.get('region') is not None:
self.region = m.get('region')
return self
class GetDownloadInfoResponse(TeaModel):
def __init__(
self,
headers: Dict[str, str] = None,
body: GetDownloadInfoResponseBody = None,
):
self.headers = headers
self.body = body
def validate(self):
self.validate_required(self.headers, 'headers')
self.validate_required(self.body, 'body')
if self.body:
self.body.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.headers is not None:
result['headers'] = self.headers
if self.body is not None:
result['body'] = self.body.to_map()
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('headers') is not None:
self.headers = m.get('headers')
if m.get('body') is not None:
temp_model = GetDownloadInfoResponseBody()
self.body = temp_model.from_map(m['body'])
return self
class GetMySpaceInfoHeaders(TeaModel):
def __init__(
self,
common_headers: Dict[str, str] = None,
x_acs_dingtalk_access_token: str = None,
):
self.common_headers = common_headers
self.x_acs_dingtalk_access_token = x_acs_dingtalk_access_token
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.common_headers is not None:
result['commonHeaders'] = self.common_headers
if self.x_acs_dingtalk_access_token is not None:
result['x-acs-dingtalk-access-token'] = self.x_acs_dingtalk_access_token
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('commonHeaders') is not None:
self.common_headers = m.get('commonHeaders')
if m.get('x-acs-dingtalk-access-token') is not None:
self.x_acs_dingtalk_access_token = m.get('x-acs-dingtalk-access-token')
return self
class GetMySpaceInfoRequest(TeaModel):
def __init__(
self,
union_id: str = None,
):
# 用户id
self.union_id = union_id
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.union_id is not None:
result['unionId'] = self.union_id
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('unionId') is not None:
self.union_id = m.get('unionId')
return self
class GetMySpaceInfoResponseBody(TeaModel):
def __init__(
self,
space_id: str = None,
space_name: str = None,
space_type: str = None,
quota: int = None,
used_quota: int = None,
permission_mode: str = None,
create_time: str = None,
modify_time: str = None,
):
# 空间id
self.space_id = space_id
# 空间名称
self.space_name = space_name
# 空间类型
self.space_type = space_type
# 容量
self.quota = quota
# 已使用容量
self.used_quota = used_quota
# 授权模式
self.permission_mode = permission_mode
# 创建时间
self.create_time = create_time
# 修改时间
self.modify_time = modify_time
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.space_id is not None:
result['spaceId'] = self.space_id
if self.space_name is not None:
result['spaceName'] = self.space_name
if self.space_type is not None:
result['spaceType'] = self.space_type
if self.quota is not None:
result['quota'] = self.quota
if self.used_quota is not None:
result['usedQuota'] = self.used_quota
if self.permission_mode is not None:
result['permissionMode'] = self.permission_mode
if self.create_time is not None:
result['createTime'] = self.create_time
if self.modify_time is not None:
result['modifyTime'] = self.modify_time
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('spaceId') is not None:
self.space_id = m.get('spaceId')
if m.get('spaceName') is not None:
self.space_name = m.get('spaceName')
if m.get('spaceType') is not None:
self.space_type = m.get('spaceType')
if m.get('quota') is not None:
self.quota = m.get('quota')
if m.get('usedQuota') is not None:
self.used_quota = m.get('usedQuota')
if m.get('permissionMode') is not None:
self.permission_mode = m.get('permissionMode')
if m.get('createTime') is not None:
self.create_time = m.get('createTime')
if m.get('modifyTime') is not None:
self.modify_time = m.get('modifyTime')
return self
class GetMySpaceInfoResponse(TeaModel):
def __init__(
self,
headers: Dict[str, str] = None,
body: GetMySpaceInfoResponseBody = None,
):
self.headers = headers
self.body = body
def validate(self):
self.validate_required(self.headers, 'headers')
self.validate_required(self.body, 'body')
if self.body:
self.body.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.headers is not None:
result['headers'] = self.headers
if self.body is not None:
result['body'] = self.body.to_map()
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('headers') is not None:
self.headers = m.get('headers')
if m.get('body') is not None:
temp_model = GetMySpaceInfoResponseBody()
self.body = temp_model.from_map(m['body'])
return self
class GetUploadInfoHeaders(TeaModel):
def __init__(
self,
common_headers: Dict[str, str] = None,
x_acs_dingtalk_access_token: str = None,
):
self.common_headers = common_headers
self.x_acs_dingtalk_access_token = x_acs_dingtalk_access_token
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.common_headers is not None:
result['commonHeaders'] = self.common_headers
if self.x_acs_dingtalk_access_token is not None:
result['x-acs-dingtalk-access-token'] = self.x_acs_dingtalk_access_token
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('commonHeaders') is not None:
self.common_headers = m.get('commonHeaders')
if m.get('x-acs-dingtalk-access-token') is not None:
self.x_acs_dingtalk_access_token = m.get('x-acs-dingtalk-access-token')
return self
class GetUploadInfoRequest(TeaModel):
def __init__(
self,
union_id: str = None,
file_name: str = None,
file_size: int = None,
md_5: str = None,
add_conflict_policy: str = None,
media_id: str = None,
with_region: bool = None,
with_internal_end_point: bool = None,
caller_region: str = None,
):
# 用户id
self.union_id = union_id
# 文件名
self.file_name = file_name
# 文件大小
self.file_size = file_size
# 文件md5
self.md_5 = md_5
# 文件名称冲突策略
self.add_conflict_policy = add_conflict_policy
# mediaId
self.media_id = media_id
# 是否返回区域
self.with_region = with_region
# 是否返回OSS内网访问域名
self.with_internal_end_point = with_internal_end_point
# 调用方所处区域
self.caller_region = caller_region
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.union_id is not None:
result['unionId'] = self.union_id
if self.file_name is not None:
result['fileName'] = self.file_name
if self.file_size is not None:
result['fileSize'] = self.file_size
if self.md_5 is not None:
result['md5'] = self.md_5
if self.add_conflict_policy is not None:
result['addConflictPolicy'] = self.add_conflict_policy
if self.media_id is not None:
result['mediaId'] = self.media_id
if self.with_region is not None:
result['withRegion'] = self.with_region
if self.with_internal_end_point is not None:
result['withInternalEndPoint'] = self.with_internal_end_point
if self.caller_region is not None:
result['callerRegion'] = self.caller_region
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('unionId') is not None:
self.union_id = m.get('unionId')
if m.get('fileName') is not None:
self.file_name = m.get('fileName')
if m.get('fileSize') is not None:
self.file_size = m.get('fileSize')
if m.get('md5') is not None:
self.md_5 = m.get('md5')
if m.get('addConflictPolicy') is not None:
self.add_conflict_policy = m.get('addConflictPolicy')
if m.get('mediaId') is not None:
self.media_id = m.get('mediaId')
if m.get('withRegion') is not None:
self.with_region = m.get('withRegion')
if m.get('withInternalEndPoint') is not None:
self.with_internal_end_point = m.get('withInternalEndPoint')
if m.get('callerRegion') is not None:
self.caller_region = m.get('callerRegion')
return self
class GetUploadInfoResponseBodyStsUploadInfo(TeaModel):
def __init__(
self,
bucket: str = None,
end_point: str = None,
internal_end_point: str = None,
access_key_id: str = None,
access_key_secret: str = None,
access_token: str = None,
access_token_expiration_millis: int = None,
media_id: str = None,
):
# bucket
self.bucket = bucket
# endPoint
self.end_point = end_point
# 内网endPoint
self.internal_end_point = internal_end_point
# accessKeyId
self.access_key_id = access_key_id
# accessKeySecret
self.access_key_secret = access_key_secret
# accessToken
self.access_token = access_token
# accessTokenExpiration
self.access_token_expiration_millis = access_token_expiration_millis
# mediaId
self.media_id = media_id
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.bucket is not None:
result['bucket'] = self.bucket
if self.end_point is not None:
result['endPoint'] = self.end_point
if self.internal_end_point is not None:
result['internalEndPoint'] = self.internal_end_point
if self.access_key_id is not None:
result['accessKeyId'] = self.access_key_id
if self.access_key_secret is not None:
result['accessKeySecret'] = self.access_key_secret
if self.access_token is not None:
result['accessToken'] = self.access_token
if self.access_token_expiration_millis is not None:
result['accessTokenExpirationMillis'] = self.access_token_expiration_millis
if self.media_id is not None:
result['mediaId'] = self.media_id
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('bucket') is not None:
self.bucket = m.get('bucket')
if m.get('endPoint') is not None:
self.end_point = m.get('endPoint')
if m.get('internalEndPoint') is not None:
self.internal_end_point = m.get('internalEndPoint')
if m.get('accessKeyId') is not None:
self.access_key_id = m.get('accessKeyId')
if m.get('accessKeySecret') is not None:
self.access_key_secret = m.get('accessKeySecret')
if m.get('accessToken') is not None:
self.access_token = m.get('accessToken')
if m.get('accessTokenExpirationMillis') is not None:
self.access_token_expiration_millis = m.get('accessTokenExpirationMillis')
if m.get('mediaId') is not None:
self.media_id = m.get('mediaId')
return self
class GetUploadInfoResponseBodyHeaderSignatureUploadInfo(TeaModel):
def __init__(
self,
resource_url: str = None,
internal_resource_url: str = None,
expiration_seconds: int = None,
headers: Dict[str, Any] = None,
):
# 上传地址
self.resource_url = resource_url
# 内网上传地址
self.internal_resource_url = internal_resource_url
# 过期秒数
self.expiration_seconds = expiration_seconds
# header加签信息
self.headers = headers
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.resource_url is not None:
result['resourceUrl'] = self.resource_url
if self.internal_resource_url is not None:
result['internalResourceUrl'] = self.internal_resource_url
if self.expiration_seconds is not None:
result['expirationSeconds'] = self.expiration_seconds
if self.headers is not None:
result['headers'] = self.headers
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('resourceUrl') is not None:
self.resource_url = m.get('resourceUrl')
if m.get('internalResourceUrl') is not None:
self.internal_resource_url = m.get('internalResourceUrl')
if m.get('expirationSeconds') is not None:
self.expiration_seconds = m.get('expirationSeconds')
if m.get('headers') is not None:
self.headers = m.get('headers')
return self
class GetUploadInfoResponseBody(TeaModel):
def __init__(
self,
sts_upload_info: GetUploadInfoResponseBodyStsUploadInfo = None,
header_signature_upload_info: GetUploadInfoResponseBodyHeaderSignatureUploadInfo = None,
region: str = None,
):
self.sts_upload_info = sts_upload_info
self.header_signature_upload_info = header_signature_upload_info
# 文件所存储的区域
self.region = region
def validate(self):
if self.sts_upload_info:
self.sts_upload_info.validate()
if self.header_signature_upload_info:
self.header_signature_upload_info.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.sts_upload_info is not None:
result['stsUploadInfo'] = self.sts_upload_info.to_map()
if self.header_signature_upload_info is not None:
result['headerSignatureUploadInfo'] = self.header_signature_upload_info.to_map()
if self.region is not None:
result['region'] = self.region
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('stsUploadInfo') is not None:
temp_model = GetUploadInfoResponseBodyStsUploadInfo()
self.sts_upload_info = temp_model.from_map(m['stsUploadInfo'])
if m.get('headerSignatureUploadInfo') is not None:
temp_model = GetUploadInfoResponseBodyHeaderSignatureUploadInfo()
self.header_signature_upload_info = temp_model.from_map(m['headerSignatureUploadInfo'])
if m.get('region') is not None:
self.region = m.get('region')
return self
class GetUploadInfoResponse(TeaModel):
def __init__(
self,
headers: Dict[str, str] = None,
body: GetUploadInfoResponseBody = None,
):
self.headers = headers
self.body = body
def validate(self):
self.validate_required(self.headers, 'headers')
self.validate_required(self.body, 'body')
if self.body:
self.body.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.headers is not None:
result['headers'] = self.headers
if self.body is not None:
result['body'] = self.body.to_map()
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('headers') is not None:
self.headers = m.get('headers')
if m.get('body') is not None:
temp_model = GetUploadInfoResponseBody()
self.body = temp_model.from_map(m['body'])
return self
class DeletePermissionHeaders(TeaModel):
def __init__(
self,
common_headers: Dict[str, str] = None,
x_acs_dingtalk_access_token: str = None,
):
self.common_headers = common_headers
self.x_acs_dingtalk_access_token = x_acs_dingtalk_access_token
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.common_headers is not None:
result['commonHeaders'] = self.common_headers
if self.x_acs_dingtalk_access_token is not None:
result['x-acs-dingtalk-access-token'] = self.x_acs_dingtalk_access_token
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('commonHeaders') is not None:
self.common_headers = m.get('commonHeaders')
if m.get('x-acs-dingtalk-access-token') is not None:
self.x_acs_dingtalk_access_token = m.get('x-acs-dingtalk-access-token')
return self
class DeletePermissionRequestMembers(TeaModel):
def __init__(
self,
corp_id: str = None,
member_type: str = None,
member_id: str = None,
):
# 企业corpId
self.corp_id = corp_id
# 成员类型
self.member_type = member_type
# 成员id
self.member_id = member_id
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.corp_id is not None:
result['corpId'] = self.corp_id
if self.member_type is not None:
result['memberType'] = self.member_type
if self.member_id is not None:
result['memberId'] = self.member_id
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('corpId') is not None:
self.corp_id = m.get('corpId')
if m.get('memberType') is not None:
self.member_type = m.get('memberType')
if m.get('memberId') is not None:
self.member_id = m.get('memberId')
return self
class DeletePermissionRequest(TeaModel):
def __init__(
self,
role: str = None,
members: List[DeletePermissionRequestMembers] = None,
union_id: str = None,
):
# 权限角色
self.role = role
self.members = members
# 用户id
self.union_id = union_id
def validate(self):
if self.members:
for k in self.members:
if k:
k.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.role is not None:
result['role'] = self.role
result['members'] = []
if self.members is not None:
for k in self.members:
result['members'].append(k.to_map() if k else None)
if self.union_id is not None:
result['unionId'] = self.union_id
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('role') is not None:
self.role = m.get('role')
self.members = []
if m.get('members') is not None:
for k in m.get('members'):
temp_model = DeletePermissionRequestMembers()
self.members.append(temp_model.from_map(k))
if m.get('unionId') is not None:
self.union_id = m.get('unionId')
return self
class DeletePermissionResponse(TeaModel):
def __init__(
self,
headers: Dict[str, str] = None,
):
self.headers = headers
def validate(self):
self.validate_required(self.headers, 'headers')
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.headers is not None:
result['headers'] = self.headers
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('headers') is not None:
self.headers = m.get('headers')
return self
class AddCustomSpaceHeaders(TeaModel):
def __init__(
self,
common_headers: Dict[str, str] = None,
x_acs_dingtalk_access_token: str = None,
):
self.common_headers = common_headers
self.x_acs_dingtalk_access_token = x_acs_dingtalk_access_token
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.common_headers is not None:
result['commonHeaders'] = self.common_headers
if self.x_acs_dingtalk_access_token is not None:
result['x-acs-dingtalk-access-token'] = self.x_acs_dingtalk_access_token
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('commonHeaders') is not None:
self.common_headers = m.get('commonHeaders')
if m.get('x-acs-dingtalk-access-token') is not None:
self.x_acs_dingtalk_access_token = m.get('x-acs-dingtalk-access-token')
return self
class AddCustomSpaceRequest(TeaModel):
def __init__(
self,
identifier: str = None,
biz_type: str = None,
permission_mode: str = None,
union_id: str = None,
):
# 空间标识
self.identifier = identifier
# 业务类型
self.biz_type = biz_type
# 授权模式
self.permission_mode = permission_mode
# 用户id
self.union_id = union_id
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.identifier is not None:
result['identifier'] = self.identifier
if self.biz_type is not None:
result['bizType'] = self.biz_type
if self.permission_mode is not None:
result['permissionMode'] = self.permission_mode
if self.union_id is not None:
result['unionId'] = self.union_id
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('identifier') is not None:
self.identifier = m.get('identifier')
if m.get('bizType') is not None:
self.biz_type = m.get('bizType')
if m.get('permissionMode') is not None:
self.permission_mode = m.get('permissionMode')
if m.get('unionId') is not None:
self.union_id = m.get('unionId')
return self
class AddCustomSpaceResponseBody(TeaModel):
def __init__(
self,
space_id: str = None,
space_name: str = None,
space_type: str = None,
quota: int = None,
used_quota: int = None,
permission_mode: str = None,
create_time: str = None,
modify_time: str = None,
):
# 空间id
self.space_id = space_id
# 空间名称
self.space_name = space_name
# 空间类型
self.space_type = space_type
# 空间总额度
self.quota = quota
# 空间已使用额度
self.used_quota = used_quota
# 授权模式
self.permission_mode = permission_mode
# 创建时间
self.create_time = create_time
# 修改时间
self.modify_time = modify_time
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.space_id is not None:
result['spaceId'] = self.space_id
if self.space_name is not None:
result['spaceName'] = self.space_name
if self.space_type is not None:
result['spaceType'] = self.space_type
if self.quota is not None:
result['quota'] = self.quota
if self.used_quota is not None:
result['usedQuota'] = self.used_quota
if self.permission_mode is not None:
result['permissionMode'] = self.permission_mode
if self.create_time is not None:
result['createTime'] = self.create_time
if self.modify_time is not None:
result['modifyTime'] = self.modify_time
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('spaceId') is not None:
self.space_id = m.get('spaceId')
if m.get('spaceName') is not None:
self.space_name = m.get('spaceName')
if m.get('spaceType') is not None:
self.space_type = m.get('spaceType')
if m.get('quota') is not None:
self.quota = m.get('quota')
if m.get('usedQuota') is not None:
self.used_quota = m.get('usedQuota')
if m.get('permissionMode') is not None:
self.permission_mode = m.get('permissionMode')
if m.get('createTime') is not None:
self.create_time = m.get('createTime')
if m.get('modifyTime') is not None:
self.modify_time = m.get('modifyTime')
return self
class AddCustomSpaceResponse(TeaModel):
def __init__(
self,
headers: Dict[str, str] = None,
body: AddCustomSpaceResponseBody = None,
):
self.headers = headers
self.body = body
def validate(self):
self.validate_required(self.headers, 'headers')
self.validate_required(self.body, 'body')
if self.body:
self.body.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.headers is not None:
result['headers'] = self.headers
if self.body is not None:
result['body'] = self.body.to_map()
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('headers') is not None:
self.headers = m.get('headers')
if m.get('body') is not None:
temp_model = AddCustomSpaceResponseBody()
self.body = temp_model.from_map(m['body'])
return self
class MoveFilesHeaders(TeaModel):
def __init__(
self,
common_headers: Dict[str, str] = None,
x_acs_dingtalk_access_token: str = None,
):
self.common_headers = common_headers
self.x_acs_dingtalk_access_token = x_acs_dingtalk_access_token
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.common_headers is not None:
result['commonHeaders'] = self.common_headers
if self.x_acs_dingtalk_access_token is not None:
result['x-acs-dingtalk-access-token'] = self.x_acs_dingtalk_access_token
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('commonHeaders') is not None:
self.common_headers = m.get('commonHeaders')
if m.get('x-acs-dingtalk-access-token') is not None:
self.x_acs_dingtalk_access_token = m.get('x-acs-dingtalk-access-token')
return self
class MoveFilesRequest(TeaModel):
def __init__(
self,
file_ids: List[str] = None,
target_space_id: str = None,
target_parent_id: str = None,
add_conflict_policy: str = None,
union_id: str = None,
):
# 文件id列表
self.file_ids = file_ids
# 目标空间id
self.target_space_id = target_space_id
# 目标父目录id
self.target_parent_id = target_parent_id
# 文件名冲突策略
self.add_conflict_policy = add_conflict_policy
# 用户id
self.union_id = union_id
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.file_ids is not None:
result['fileIds'] = self.file_ids
if self.target_space_id is not None:
result['targetSpaceId'] = self.target_space_id
if self.target_parent_id is not None:
result['targetParentId'] = self.target_parent_id
if self.add_conflict_policy is not None:
result['addConflictPolicy'] = self.add_conflict_policy
if self.union_id is not None:
result['unionId'] = self.union_id
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('fileIds') is not None:
self.file_ids = m.get('fileIds')
if m.get('targetSpaceId') is not None:
self.target_space_id = m.get('targetSpaceId')
if m.get('targetParentId') is not None:
self.target_parent_id = m.get('targetParentId')
if m.get('addConflictPolicy') is not None:
self.add_conflict_policy = m.get('addConflictPolicy')
if m.get('unionId') is not None:
self.union_id = m.get('unionId')
return self
class MoveFilesResponseBodyFiles(TeaModel):
def __init__(
self,
space_id: str = None,
parent_id: str = None,
file_id: str = None,
file_name: str = None,
file_path: str = None,
file_type: str = None,
content_type: str = None,
file_extension: str = None,
file_size: int = None,
create_time: str = None,
modify_time: str = None,
creator: str = None,
modifier: str = None,
):
# 空间id
self.space_id = space_id
# 父目录id
self.parent_id = parent_id
# 文件id
self.file_id = file_id
# 文件名称
self.file_name = file_name
# 文件路径
self.file_path = file_path
# 文件类型
self.file_type = file_type
# 文件内容类型
self.content_type = content_type
# 文件后缀
self.file_extension = file_extension
# 文件大小
self.file_size = file_size
# 创建时间
self.create_time = create_time
# 修改时间
self.modify_time = modify_time
# 创建者
self.creator = creator
# 修改者
self.modifier = modifier
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.space_id is not None:
result['spaceId'] = self.space_id
if self.parent_id is not None:
result['parentId'] = self.parent_id
if self.file_id is not None:
result['fileId'] = self.file_id
if self.file_name is not None:
result['fileName'] = self.file_name
if self.file_path is not None:
result['filePath'] = self.file_path
if self.file_type is not None:
result['fileType'] = self.file_type
if self.content_type is not None:
result['contentType'] = self.content_type
if self.file_extension is not None:
result['fileExtension'] = self.file_extension
if self.file_size is not None:
result['fileSize'] = self.file_size
if self.create_time is not None:
result['createTime'] = self.create_time
if self.modify_time is not None:
result['modifyTime'] = self.modify_time
if self.creator is not None:
result['creator'] = self.creator
if self.modifier is not None:
result['modifier'] = self.modifier
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('spaceId') is not None:
self.space_id = m.get('spaceId')
if m.get('parentId') is not None:
self.parent_id = m.get('parentId')
if m.get('fileId') is not None:
self.file_id = m.get('fileId')
if m.get('fileName') is not None:
self.file_name = m.get('fileName')
if m.get('filePath') is not None:
self.file_path = m.get('filePath')
if m.get('fileType') is not None:
self.file_type = m.get('fileType')
if m.get('contentType') is not None:
self.content_type = m.get('contentType')
if m.get('fileExtension') is not None:
self.file_extension = m.get('fileExtension')
if m.get('fileSize') is not None:
self.file_size = m.get('fileSize')
if m.get('createTime') is not None:
self.create_time = m.get('createTime')
if m.get('modifyTime') is not None:
self.modify_time = m.get('modifyTime')
if m.get('creator') is not None:
self.creator = m.get('creator')
if m.get('modifier') is not None:
self.modifier = m.get('modifier')
return self
class MoveFilesResponseBody(TeaModel):
def __init__(
self,
files: List[MoveFilesResponseBodyFiles] = None,
task_id: str = None,
):
# 文件信息列表
self.files = files
# 异步任务id
self.task_id = task_id
def validate(self):
if self.files:
for k in self.files:
if k:
k.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
result['files'] = []
if self.files is not None:
for k in self.files:
result['files'].append(k.to_map() if k else None)
if self.task_id is not None:
result['taskId'] = self.task_id
return result
def from_map(self, m: dict = None):
m = m or dict()
self.files = []
if m.get('files') is not None:
for k in m.get('files'):
temp_model = MoveFilesResponseBodyFiles()
self.files.append(temp_model.from_map(k))
if m.get('taskId') is not None:
self.task_id = m.get('taskId')
return self
class MoveFilesResponse(TeaModel):
def __init__(
self,
headers: Dict[str, str] = None,
body: MoveFilesResponseBody = None,
):
self.headers = headers
self.body = body
def validate(self):
self.validate_required(self.headers, 'headers')
self.validate_required(self.body, 'body')
if self.body:
self.body.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.headers is not None:
result['headers'] = self.headers
if self.body is not None:
result['body'] = self.body.to_map()
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('headers') is not None:
self.headers = m.get('headers')
if m.get('body') is not None:
temp_model = MoveFilesResponseBody()
self.body = temp_model.from_map(m['body'])
return self
class GetPrivilegeInfoHeaders(TeaModel):
def __init__(
self,
common_headers: Dict[str, str] = None,
x_acs_dingtalk_access_token: str = None,
):
self.common_headers = common_headers
self.x_acs_dingtalk_access_token = x_acs_dingtalk_access_token
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.common_headers is not None:
result['commonHeaders'] = self.common_headers
if self.x_acs_dingtalk_access_token is not None:
result['x-acs-dingtalk-access-token'] = self.x_acs_dingtalk_access_token
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('commonHeaders') is not None:
self.common_headers = m.get('commonHeaders')
if m.get('x-acs-dingtalk-access-token') is not None:
self.x_acs_dingtalk_access_token = m.get('x-acs-dingtalk-access-token')
return self
class GetPrivilegeInfoRequest(TeaModel):
def __init__(
self,
union_id: str = None,
):
# 用户id
self.union_id = union_id
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.union_id is not None:
result['unionId'] = self.union_id
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('unionId') is not None:
self.union_id = m.get('unionId')
return self
class GetPrivilegeInfoResponseBody(TeaModel):
def __init__(
self,
types: List[str] = None,
):
# 类型列表
self.types = types
def validate(self):
pass
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.types is not None:
result['types'] = self.types
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('types') is not None:
self.types = m.get('types')
return self
class GetPrivilegeInfoResponse(TeaModel):
def __init__(
self,
headers: Dict[str, str] = None,
body: GetPrivilegeInfoResponseBody = None,
):
self.headers = headers
self.body = body
def validate(self):
self.validate_required(self.headers, 'headers')
self.validate_required(self.body, 'body')
if self.body:
self.body.validate()
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.headers is not None:
result['headers'] = self.headers
if self.body is not None:
result['body'] = self.body.to_map()
return result
def from_map(self, m: dict = None):
m = m or dict()
if m.get('headers') is not None:
self.headers = m.get('headers')
if m.get('body') is not None:
temp_model = GetPrivilegeInfoResponseBody()
self.body = temp_model.from_map(m['body'])
return self
| 29.964421
| 99
| 0.567281
| 23,866
| 189,495
| 4.317104
| 0.018939
| 0.05178
| 0.093204
| 0.065514
| 0.886627
| 0.868934
| 0.857666
| 0.849998
| 0.844378
| 0.839341
| 0
| 0.000087
| 0.333307
| 189,495
| 6,323
| 100
| 29.96916
| 0.815459
| 0.011124
| 0
| 0.899981
| 1
| 0
| 0.076391
| 0.015493
| 0
| 0
| 0
| 0
| 0
| 1
| 0.111523
| false
| 0.017937
| 0.00039
| 0
| 0.223435
| 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
|
222901b99b1b13e3fe05e4079cb0c0f9dc9ca2b4
| 731
|
py
|
Python
|
com/beiwei/stats/eemd.py
|
wtwong316/tsd_analysis_with_es
|
04e9667b5fb6c5052e55053fe7838a79aab24fb5
|
[
"Apache-2.0"
] | null | null | null |
com/beiwei/stats/eemd.py
|
wtwong316/tsd_analysis_with_es
|
04e9667b5fb6c5052e55053fe7838a79aab24fb5
|
[
"Apache-2.0"
] | null | null | null |
com/beiwei/stats/eemd.py
|
wtwong316/tsd_analysis_with_es
|
04e9667b5fb6c5052e55053fe7838a79aab24fb5
|
[
"Apache-2.0"
] | null | null | null |
from pyeemd import emd_num_imfs, emd, eemd, ceemdan
def eemd_analysis(timeseries, s_num, max_siftings, noise_strength, size_k):
if noise_strength is None:
noise_strength = 0.2
if size_k is None:
size_k = 250
imf = eemd(timeseries, S_number=s_num, num_siftings=max_siftings, noise_strength=noise_strength,
ensemble_size=size_k)
return imf
def ceemd_analysis(timeseries, s_num, max_siftings, noise_strength, size_k):
if noise_strength is None:
noise_strength = 0.2
if size_k is None:
size_k = 250
imf = ceemdan(timeseries, S_number=s_num, num_siftings=max_siftings,
noise_strength=noise_strength, ensemble_size=size_k)
return imf
| 31.782609
| 100
| 0.703146
| 109
| 731
| 4.385321
| 0.266055
| 0.271967
| 0.133891
| 0.200837
| 0.861925
| 0.861925
| 0.861925
| 0.861925
| 0.861925
| 0.861925
| 0
| 0.017762
| 0.229822
| 731
| 22
| 101
| 33.227273
| 0.831261
| 0
| 0
| 0.588235
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.117647
| false
| 0
| 0.058824
| 0
| 0.294118
| 0
| 0
| 0
| 0
| null | 1
| 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
| 8
|
22349ac87ecf18dfd0d76f022e14a09da5ba5a24
| 1,964
|
py
|
Python
|
view/input_nilai.py
|
Rezastein/program_Input_data_mahasiswa
|
995cf8c98e1713afe837b23babac7503db22f699
|
[
"MIT"
] | 1
|
2022-01-15T03:28:52.000Z
|
2022-01-15T03:28:52.000Z
|
view/input_nilai.py
|
Rezastein/program_Input_data_mahasiswa
|
995cf8c98e1713afe837b23babac7503db22f699
|
[
"MIT"
] | null | null | null |
view/input_nilai.py
|
Rezastein/program_Input_data_mahasiswa
|
995cf8c98e1713afe837b23babac7503db22f699
|
[
"MIT"
] | 1
|
2022-01-15T04:42:41.000Z
|
2022-01-15T04:42:41.000Z
|
from view.view_nilai import view
p = view()
class input_data:
def data_input(self):
self._nama = str(
input('\33[45m\33[37m MASUKAN NAMA \33[41m\33[30m ~# \33[0m '))
p.clean()
p.header()
self._nim = int(
input('\33[45m\33[37m MASUKAN NIM \33[41m\33[30m ~# \33[0m '))
p.clean()
p.header()
self._tugas = int(
input(
'\33[45m\33[37m MASUKAN NILAI TUGAS \33[41m\33[30m ~# \33[0m ')
)
p.clean()
p.header()
self._uts = int(
input(
'\33[45m\33[37m MASUKAN NILAI UTS \33[41m\33[30m ~# \33[0m '))
p.clean()
p.header()
self._uas = int(
input(
'\33[45m\33[37m MASUKAN NILAI UAS \33[41m\33[30m ~# \33[0m '))
p.clean()
self._akhir = float((self._tugas * 0.30) + (self._uts * 0.35) +
(self._uas * 0.35))
return self._nama, self._nim, self._tugas, self._uts, self._uas, self._akhir
def nama_input(self):
self._nama = str(
input('\33[45m\33[37m MASUKAN NAMA \33[41m\33[30m ~# \33[0m '))
return self._nama
def new_data(self):
p.clean()
p.header()
self._tugas = int(
input(
'\33[45m\33[37m MASUKAN NILAI TUGAS \33[41m\33[30m ~# \33[0m ')
)
p.clean()
p.header()
self._uts = int(
input(
'\33[45m\33[37m MASUKAN NILAI UTS \33[41m\33[30m ~# \33[0m '))
p.clean()
p.header()
self._uas = int(
input(
'\33[45m\33[37m MASUKAN NILAI UAS \33[41m\33[30m ~# \33[0m '))
self._akhir = float((self._tugas * 0.30) + (self._uts * 0.35) +
(self._uas * 0.35))
return self._tugas, self._uts, self._uas, self._akhir
| 31.677419
| 85
| 0.459267
| 258
| 1,964
| 3.368217
| 0.127907
| 0.072497
| 0.103567
| 0.124281
| 0.879171
| 0.879171
| 0.879171
| 0.850403
| 0.774453
| 0.774453
| 0
| 0.157238
| 0.387984
| 1,964
| 61
| 86
| 32.196721
| 0.565724
| 0
| 0
| 0.759259
| 0
| 0.166667
| 0.267998
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.055556
| false
| 0
| 0.018519
| 0
| 0.148148
| 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
|
223f815097992d3f2176126a5132c1c31e264c22
| 2,217
|
py
|
Python
|
spiketools/tests/spatial/test_information.py
|
claire98han/SpikeTools
|
f1cdffd50e2cbdb75961a716425c4665aa930f54
|
[
"Apache-2.0"
] | 1
|
2022-03-09T19:40:37.000Z
|
2022-03-09T19:40:37.000Z
|
spiketools/tests/spatial/test_information.py
|
claire98han/SpikeTools
|
f1cdffd50e2cbdb75961a716425c4665aa930f54
|
[
"Apache-2.0"
] | 35
|
2021-09-28T15:13:31.000Z
|
2021-11-26T04:38:08.000Z
|
spiketools/tests/spatial/test_information.py
|
claire98han/SpikeTools
|
f1cdffd50e2cbdb75961a716425c4665aa930f54
|
[
"Apache-2.0"
] | 4
|
2021-09-28T14:56:24.000Z
|
2022-03-09T21:00:31.000Z
|
"""Tests for spiketools.spatial.information"""
from spiketools.spatial.information import *
###################################################################################################
###################################################################################################
def test_compute_spatial_information():
# 1d case: set baseline test values, with no spatial info
occupancy = np.array([1, 1, 1, 1, 1])
binned_firing = np.array([1, 1, 1, 1, 1])
# 1d case - test computation, should be zero information
spatial_info1 = compute_spatial_information(binned_firing, occupancy)
assert isinstance(spatial_info1, float)
assert spatial_info1 == 0.
# 1d case - check with higher spatially specific firing
binned_firing_new = np.array([1, 1, 10, 1, 1])
spatial_info2 = compute_spatial_information(binned_firing_new, occupancy)
assert isinstance(spatial_info2, float)
assert spatial_info2 > spatial_info1
# 1d case - check with proportional occupancy (should be equivalent to previous)
occupancy_new = occupancy * 2
spatial_info3 = compute_spatial_information(binned_firing_new, occupancy_new)
assert isinstance(spatial_info3, float)
assert np.isclose(spatial_info3, spatial_info2)
# 2d case: set baseline test values, with no spatial info
occupancy = np.array([[1, 1, 1, 1], [1, 1, 1, 1]])
binned_firing = np.array([[1, 1, 1, 1], [1, 1, 1, 1]])
# 2d case - test computation
spatial_info1 = compute_spatial_information(binned_firing, occupancy)
assert isinstance(spatial_info1, float)
assert spatial_info1 == 0.
# 2d case - check with higher spatially specific firing
binned_firing_new = np.array([[1, 1, 1, 10], [1, 1, 1, 10]])
spatial_info2 = compute_spatial_information(binned_firing_new, occupancy)
assert isinstance(spatial_info2, float)
assert spatial_info2 > spatial_info1
# 2d case - check with proportional occupancy (should be equivalent to previous)
occupancy_new = occupancy * 2
spatial_info3 = compute_spatial_information(binned_firing_new, occupancy_new)
assert isinstance(spatial_info3, float)
assert np.isclose(spatial_info3, spatial_info2)
| 43.470588
| 99
| 0.66396
| 272
| 2,217
| 5.202206
| 0.176471
| 0.039576
| 0.042403
| 0.039576
| 0.868551
| 0.862191
| 0.862191
| 0.862191
| 0.862191
| 0.862191
| 0
| 0.041081
| 0.165539
| 2,217
| 50
| 100
| 44.34
| 0.723784
| 0.225981
| 0
| 0.714286
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.428571
| 1
| 0.035714
| false
| 0
| 0.035714
| 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
226856199e96d3c01370fa914e91fc7f921e902e
| 4,211
|
py
|
Python
|
tests/test_authentication_custom.py
|
Gdeon1337/sanic-jwt
|
73799af6ab2adb5e5599bab87dd12ed0ac15d88d
|
[
"MIT"
] | 1
|
2019-09-03T11:07:01.000Z
|
2019-09-03T11:07:01.000Z
|
tests/test_authentication_custom.py
|
Gdeon1337/sanic-jwt
|
73799af6ab2adb5e5599bab87dd12ed0ac15d88d
|
[
"MIT"
] | null | null | null |
tests/test_authentication_custom.py
|
Gdeon1337/sanic-jwt
|
73799af6ab2adb5e5599bab87dd12ed0ac15d88d
|
[
"MIT"
] | null | null | null |
import pytest
from sanic import Sanic
from sanic_jwt import Authentication, Initialize
@pytest.yield_fixture
def app1():
class MyAuthentication(Authentication):
async def store_refresh_token(self, *args, **kwargs):
return
async def retrieve_refresh_token(self, *args, **kwargs):
return
async def authenticate(self, *args, **kwargs):
return
async def retrieve_user(self, *args, **kwargs):
return
def extract_payload(self, request, verify=True, *args, **kwargs):
return
app = Sanic()
Initialize(
app, authentication_class=MyAuthentication, refresh_token_enabled=True
)
yield app
@pytest.yield_fixture
def app2():
class MyAuthentication(Authentication):
async def store_refresh_token(self, *args, **kwargs):
return
async def retrieve_refresh_token(self, *args, **kwargs):
return {}
async def authenticate(self, *args, **kwargs):
return "foobar"
async def retrieve_user(self, *args, **kwargs):
return {}
def extract_payload(self, request, verify=True, *args, **kwargs):
return {}
app = Sanic()
Initialize(
app, authentication_class=MyAuthentication, refresh_token_enabled=True
)
yield app
def test_auth_invalid_retrieve_user(app1):
_, response = app1.test_client.post("/auth", json={"not": "important"})
assert response.status == 500
assert response.json.get("exception") == "InvalidRetrieveUserObject"
def test_auth_invalid_something(app2):
_, response = app2.test_client.post("/auth", json={"not": "important"})
assert response.status == 500
assert response.json.get("exception") == "InvalidRetrieveUserObject"
def test_me_with_none(app1):
_, response = app1.test_client.get("/auth/me")
assert response.status == 401
assert response.json.get("exception") == "Unauthorized"
assert "Authorization header not present." in response.json.get("reasons")
def test_me_without_authorization_header(app2):
_, response = app2.test_client.get("/auth/me")
assert response.status == 401
assert response.json.get("exception") == "Unauthorized"
assert "Authorization header not present." in response.json.get("reasons")
def test_verify_no_auth_header(app1):
_, response = app1.test_client.get("/auth/verify")
assert response.status == 401
assert response.json.get("exception") == "MissingAuthorizationHeader"
assert "Authorization header not present." in response.json.get("reasons")
def test_refresh_no_valid_object(app1):
_, response = app1.test_client.post(
"/auth/refresh", json={"not": "important"}
)
assert response.status == 401
assert response.json.get("exception") == "Unauthorized"
assert "Authorization header not present." in response.json.get("reasons")
def test_refresh_no_valid_dict(app2):
_, response = app2.test_client.post(
"/auth/refresh", json={"not": "important"}
)
assert response.status == 401
assert response.json.get("exception") == "Unauthorized"
assert "Authorization header not present." in response.json.get("reasons")
def test_me_with_none_debug(app1):
app1.auth.config.debug.update(True)
_, response = app1.test_client.get("/auth/me")
assert response.status == 400
assert response.json.get("exception") == "Unauthorized"
assert "Authorization header not present." in response.json.get("reasons")
def test_me_without_authorization_header_debug(app2):
app2.auth.config.debug.update(True)
_, response = app2.test_client.get("/auth/me")
assert response.status == 400
assert response.json.get("exception") == "Unauthorized"
assert "Authorization header not present." in response.json.get("reasons")
def test_verify_no_auth_header_debug(app1):
app1.auth.config.debug.update(True)
_, response = app1.test_client.get("/auth/verify")
assert response.status == 400
assert response.json.get("exception") == "MissingAuthorizationHeader"
assert "Authorization header not present." in response.json.get("reasons")
| 28.261745
| 78
| 0.684398
| 489
| 4,211
| 5.728016
| 0.141104
| 0.099964
| 0.096394
| 0.074973
| 0.927526
| 0.919672
| 0.910746
| 0.885041
| 0.885041
| 0.882899
| 0
| 0.0162
| 0.193778
| 4,211
| 148
| 79
| 28.452703
| 0.808837
| 0
| 0
| 0.734043
| 0
| 0
| 0.173356
| 0.024222
| 0
| 0
| 0
| 0
| 0.297872
| 1
| 0.148936
| false
| 0
| 0.074468
| 0.021277
| 0.351064
| 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
|
97dd8fe9a93860a406760eacbac7dcaa768a7ff3
| 48
|
py
|
Python
|
instance/config.py
|
martinmandina/One-MInute-Pitch
|
efd5830f9e73700163ce81ffa0adb7e3c4b2bbea
|
[
"MIT"
] | null | null | null |
instance/config.py
|
martinmandina/One-MInute-Pitch
|
efd5830f9e73700163ce81ffa0adb7e3c4b2bbea
|
[
"MIT"
] | null | null | null |
instance/config.py
|
martinmandina/One-MInute-Pitch
|
efd5830f9e73700163ce81ffa0adb7e3c4b2bbea
|
[
"MIT"
] | null | null | null |
SECRET_KEY = 'e934357d1dcf802ff6bcdfab4759cf98'
| 24
| 47
| 0.875
| 3
| 48
| 13.666667
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.377778
| 0.0625
| 48
| 1
| 48
| 48
| 0.533333
| 0
| 0
| 0
| 0
| 0
| 0.666667
| 0.666667
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
97eb30429c8475059ee312c8aba9379f4d6be98e
| 221
|
py
|
Python
|
DVR.py
|
McCoyGroup/Coordinerds
|
058a4f5b29f157e499cec3c8f2da8b216f0210ef
|
[
"MIT"
] | null | null | null |
DVR.py
|
McCoyGroup/Coordinerds
|
058a4f5b29f157e499cec3c8f2da8b216f0210ef
|
[
"MIT"
] | null | null | null |
DVR.py
|
McCoyGroup/Coordinerds
|
058a4f5b29f157e499cec3c8f2da8b216f0210ef
|
[
"MIT"
] | null | null | null |
"""
A file that only exists to make this directory useable as a way to import Psience too.
Mostly useful during development
"""
from .Psience.DVR import *
from .Psience.DVR import __all__
from .Psience.DVR import __doc__
| 27.625
| 86
| 0.778281
| 35
| 221
| 4.685714
| 0.657143
| 0.20122
| 0.256098
| 0.365854
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.158371
| 221
| 8
| 87
| 27.625
| 0.88172
| 0.538462
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 0
| 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
| 7
|
3f01621e73e7f2c509fb8c10a46909d21a22523a
| 42,373
|
py
|
Python
|
upsa/source/sampling.py
|
aolney/upsa-docker
|
9f1f40a3336c9b360edaa9be846e99b54d26aa9e
|
[
"Apache-2.0"
] | null | null | null |
upsa/source/sampling.py
|
aolney/upsa-docker
|
9f1f40a3336c9b360edaa9be846e99b54d26aa9e
|
[
"Apache-2.0"
] | 3
|
2020-09-26T01:26:39.000Z
|
2022-02-10T02:01:19.000Z
|
upsa/source/sampling.py
|
aolney/upsa-docker
|
9f1f40a3336c9b360edaa9be846e99b54d26aa9e
|
[
"Apache-2.0"
] | null | null | null |
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import os, math
from copy import copy
import time, random
import numpy as np
import tensorflow as tf
from tensorflow.python.layers import core as layers_core
import argparse
from tensorflow.python.client import device_lib
import pickle as pkl
from utils import *
from models import *
import data, RAKE
from data import array_data
from zpar import ZPar
def run_epoch(sess, model, input, sequence_length, target=None, mode='train'):
#Runs the model on the given data.
if mode=='train':
#train language model
_,cost = sess.run([model._train_op, model._cost], feed_dict={model._input: input, model._target:target, model._sequence_length:sequence_length})
return cost
elif mode=='test':
#test language model
cost = sess.run(model._cost, feed_dict={model._input: input, model._target:target, model._sequence_length:sequence_length})
return cost
else:
#use the language model to calculate sentence probability
output_prob = sess.run(model._output_prob, feed_dict={model._input: input, model._sequence_length:sequence_length})
return output_prob
def simulatedAnnealing_std(config):
option = config
with tf.name_scope("forward_train"):
with tf.variable_scope("forward", reuse=None):
m_forward = PTBModel(is_training=True, config = config)
with tf.name_scope("forward_test"):
with tf.variable_scope("forward", reuse=True):
mtest_forward = PTBModel(is_training=False, config = config)
var=tf.trainable_variables()
var_forward=[x for x in var if x.name.startswith('forward')]
saver_forward=tf.train.Saver(var_forward, max_to_keep=1)
with tf.name_scope("backward_train"):
with tf.variable_scope("backward", reuse=None):
m_backward = PTBModel(is_training=True, config = config)
with tf.name_scope("backward_test"):
with tf.variable_scope("backward", reuse=True):
mtest_backward = PTBModel(is_training=False, config = config)
var=tf.trainable_variables()
var_backward=[x for x in var if x.name.startswith('backward')]
saver_backward=tf.train.Saver(var_backward, max_to_keep=1)
init = tf.global_variables_initializer()
dataclass = data.Data(config)
session = tf.Session()
session.run(init)
saver_forward.restore(session, option.forward_save_path)
saver_backward.restore(session, option.backward_save_path)
if option.mode == 'kw-bleu':
similarity = similarity_keyword_bleu
else:
similarity = similarity_keyword
similaritymodel = None
tfflag = True
fileobj = open(option.emb_path,'r')
emb_word,emb_id=pkl.load(StrToBytes(fileobj), encoding='latin1')
fileobj.close()
sim=option.sim
sta_vec=list(np.zeros([option.num_steps-1]))
use_data, sta_vec_list = read_data_use(option, dataclass.sen2id)
id2sen = dataclass.id2sen
generateset = []
C = 0.05
temperatures = C*(1.0/100)*np.array(list(range(option.sample_time+1,1,-1)))
print(temperatures)
for sen_id in range(use_data.length):
sta_vec=sta_vec_list[sen_id]
input, sequence_length, _=use_data(1, sen_id)
input_original=input[0]
sta_vec_original = [x for x in sta_vec]
# for i in range(1,option.num_steps):
# if input[0][i]>option.rare_since and input[0][i]<option.dict_size:
# sta_vec[i-1]=1
pos=0
print('----------------')
print(' '.join(id2sen(input[0])))
print(sta_vec)
calibrated_set = [x for x in input[0]]
for iter in range(option.sample_time):
temperature = temperatures[iter]
ind=pos%(sequence_length[0]-1)
action=choose_action(option.action_prob)
calibrated_set = list(set(calibrated_set))
if action==0: # word replacement (action: 0)
if tfflag:
prob_old=run_epoch(session, mtest_forward, input, sequence_length,\
mode='use')[0]
else:
prob_old= output_p(input, forwardmodel) #15,K
tem=1
for j in range(sequence_length[0]-1):
tem*=prob_old[j][input[0][j+1]]
tem*=prob_old[j+1][option.dict_size+1]
prob_old_prob=tem
if sim!=None:
similarity_old=similarity(input, input_original, sta_vec, id2sen, emb_word,
option, similaritymodel)[0]
prob_old_prob*=similarity_old
else:
similarity_old=-1
input_forward, input_backward, sequence_length_forward, sequence_length_backward =\
cut_from_point(input, sequence_length, ind, option, mode=action)
if tfflag:
prob_forward=run_epoch(session, mtest_forward, input_forward, sequence_length_forward, mode='use')[0, ind%(sequence_length[0]-1),:]
prob_backward=run_epoch(session, mtest_backward, input_backward, sequence_length_backward, mode='use')[0, sequence_length[0]-1-ind%(sequence_length[0]-1),:]
else:
prob_forward = output_p(input_forward, forwardmodel)[ind%(sequence_length[0]-1),:]
prob_backward = output_p(input_backward,backwardmodel)[
sequence_length[0]-1-ind%(sequence_length[0]-1),:]
prob_mul=(prob_forward*prob_backward)
input_candidate, sequence_length_candidate=generate_candidate_input_calibrated(input,\
sequence_length, ind, prob_mul, option.search_size, option, mode=action,\
calibrated_set=calibrated_set)
prob_candidate_pre=run_epoch(session, mtest_forward, input_candidate,\
sequence_length_candidate,mode='use')
prob_candidate=[]
for i in range(len(input_candidate)):
tem=1
for j in range(sequence_length[0]-1):
tem*=prob_candidate_pre[i][j][input_candidate[i][j+1]]
tem*=prob_candidate_pre[i][j+1][option.dict_size+1]
prob_candidate.append(tem)
prob_candidate=np.array(prob_candidate)
if sim!=None:
similarity_candidate=similarity(input_candidate, input_original,sta_vec,\
id2sen, emb_word, option, similaritymodel)
prob_candidate=prob_candidate*similarity_candidate
prob_candidate_norm=normalize(prob_candidate)
prob_candidate_ind=sample_from_candidate(prob_candidate_norm)
prob_candidate_prob=prob_candidate[prob_candidate_ind]
V_new = math.log(max(np.power(prob_candidate_prob,1.0/sequence_length),1e-200))
V_old = math.log(max(np.power(prob_old_prob, 1.0/sequence_length),1e-200))
alphat = min(1,math.exp(min((V_new-V_old)/temperature,100)))
if choose_action([alphat, 1-alphat])==0 and input_candidate[prob_candidate_ind][ind]<option.dict_size:
input1=input_candidate[prob_candidate_ind:prob_candidate_ind+1]
if np.sum(input1[0])==np.sum(input[0]):
pass
else:
calibrated_set.append(input[0][ind+1])
input= input1
print('ind, action,oldprob,vold, vnew, alpha,simold, simnew', ind, action,prob_old_prob,V_old,\
V_new,alphat,similarity_old,similarity_candidate[prob_candidate_ind])
print('Temperature:{:3.3f}: '.format(temperature)+' '.join(id2sen(input[0])))
elif action==1: # word insert
if sequence_length[0]>=option.num_steps:
pos += 1
continue
# break
input_forward, input_backward, sequence_length_forward, sequence_length_backward =\
cut_from_point(input, sequence_length, ind, option, mode=action)
if tfflag:
prob_forward=run_epoch(session, mtest_forward, input_forward, sequence_length_forward, mode='use')[0, ind%(sequence_length[0]-1),:]
prob_backward=run_epoch(session, mtest_backward, input_backward, sequence_length_backward, mode='use')[0, sequence_length[0]-1-ind%(sequence_length[0]-1),:]
else:
prob_forward = output_p(input_forward, forwardmodel)[ind%(sequence_length[0]-1),:]
prob_backward = output_p(input_backward,backwardmodel)[
sequence_length[0]-1-ind%(sequence_length[0]-1),:]
prob_mul=(prob_forward*prob_backward)
input_candidate, sequence_length_candidate=generate_candidate_input_calibrated(input,\
sequence_length, ind, prob_mul, option.search_size, option, mode=action,\
calibrated_set=calibrated_set)
if tfflag:
prob_candidate_pre=run_epoch(session, mtest_forward, input_candidate,\
sequence_length_candidate,mode='use')
else:
prob_candidate_pre = output_p(input_candidate, forwardmodel) # 100,15,300003
prob_candidate=[]
#for i in range(option.search_size):
for i in range(len(input_candidate)):
tem=1
for j in range(sequence_length_candidate[0]-1):
tem*=prob_candidate_pre[i][j][input_candidate[i][j+1]]
tem*=prob_candidate_pre[i][j+1][option.dict_size+1]
prob_candidate.append(tem)
prob_candidate=np.array(prob_candidate)
if sim!=None:
similarity_candidate=similarity(input_candidate, input_original,sta_vec,\
id2sen, emb_word, option, similaritymodel)
prob_candidate=prob_candidate*similarity_candidate
prob_candidate_norm=normalize(prob_candidate)
prob_candidate_ind=sample_from_candidate(prob_candidate_norm)
prob_candidate_prob=prob_candidate[prob_candidate_ind]
similarity_new = similarity_candidate[prob_candidate_ind]
if tfflag:
prob_old=run_epoch(session, mtest_forward, input,\
sequence_length,mode='use')[0]
else:
prob_old = output_p(input, forwardmodel) # 100,15,300003
tem=1
for j in range(sequence_length[0]-1):
tem*=prob_old[j][input[0][j+1]]
tem*=prob_old[j+1][option.dict_size+1]
prob_old_prob=tem
if sim!=None:
similarity_old=similarity(input, input_original,sta_vec,\
id2sen, emb_word, option, similaritymodel)[0]
prob_old_prob=prob_old_prob*similarity_old
else:
similarity_old=-1
V_new = math.log(max(np.power(prob_candidate_prob,1.0/sequence_length_candidate[0]),1e-200))
V_old = math.log(max(np.power(prob_old_prob, 1.0/sequence_length),1e-200))
alphat = min(1,math.exp(min((V_new-V_old)/temperature,200)))
if choose_action([alphat, 1-alphat])==0 and input_candidate[prob_candidate_ind][ind]<option.dict_size:
input=input_candidate[prob_candidate_ind:prob_candidate_ind+1]
sequence_length+=1
pos+=1
# sta_vec.insert(ind, 0.0)
# del(sta_vec[-1])
print('ind, action,oldprob,vold, vnew, alpha,simold, simnew', ind, action,prob_old_prob,V_old,\
V_new,alphat,similarity_old,similarity_new)
print('Temperature:{:3.3f}: '.format(temperature)+' '.join(id2sen(input[0])))
elif action==2: # word delete
if sequence_length[0]<=2 or ind==0:
pos += 1
continue
if tfflag:
prob_old=run_epoch(session, mtest_forward, input, sequence_length,\
mode='use')[0]
else:
prob_old= output_p(input, forwardmodel) #15,K
tem=1
for j in range(sequence_length[0]-1):
tem*=prob_old[j][input[0][j+1]]
tem*=prob_old[j+1][option.dict_size+1]
prob_old_prob=tem
if sim!=None:
similarity_old=similarity(input, input_original,sta_vec,\
id2sen, emb_word, option, similaritymodel)[0]
prob_old_prob=prob_old_prob*similarity_old
else:
similarity_old=-1
input_candidate, sequence_length_candidate=generate_candidate_input_calibrated(input,\
sequence_length, ind, None, option.search_size, option,\
mode=action,calibrated_set=calibrated_set)
# delete sentence
if tfflag:
prob_new=run_epoch(session, mtest_forward, input_candidate,\
sequence_length_candidate,mode='use')[0]
else:
prob_new = output_p(input_candidate, forwardmodel)
tem=1
for j in range(sequence_length_candidate[0]-1):
tem*=prob_new[j][input_candidate[0][j+1]]
tem*=prob_new[j+1][option.dict_size+1]
prob_new_prob=tem
if sim!=None:
similarity_candidate=similarity(input_candidate, input_original,sta_vec,\
id2sen, emb_word, option, similaritymodel)[0]
prob_new_prob=prob_new_prob*similarity_candidate
#alpha is acceptance ratio of current proposal
if input[0] in input_candidate:
for candidate_ind in range(len(input_candidate)):
if input[0] in input_candidate[candidate_ind: candidate_ind+1]:
break
pass
V_new = math.log(max(np.power(prob_new_prob,1.0/sequence_length_candidate[0]),1e-200))
V_old = math.log(max(np.power(prob_old_prob, 1.0/sequence_length),1e-200))
alphat = min(1,math.exp((V_new-V_old)/temperature))
else:
alphat=0
if choose_action([alphat, 1-alphat])==0:
calibrated_set.append(input[0][ind])
input=np.concatenate([input[:,:ind+1], input[:,ind+2:], input[:,:1]*0+option.dict_size+1], axis=1)
sequence_length-=1
# del(sta_vec[ind])
# sta_vec.append(0)
pos -= 1
print('ind, action,oldprob,vold, vnew, alpha,simold, simnew',ind, action,prob_old_prob,V_old,\
V_new,alphat,similarity_old,similarity_candidate)
print('Temperature:{:3.3f}: '.format(temperature)+' '.join(id2sen(input[0])))
pos += 1
generateset.append(id2sen(input[0]))
appendtext(id2sen(input[0]), option.save_path)
def simulatedAnnealing(config):
option = config
with tf.name_scope("forward_train"):
with tf.variable_scope("forward", reuse=None):
m_forward = PTBModel(is_training=True, config = config)
with tf.name_scope("forward_test"):
with tf.variable_scope("forward", reuse=True):
mtest_forward = PTBModel(is_training=False, config = config)
var=tf.trainable_variables()
var_forward=[x for x in var if x.name.startswith('forward')]
saver_forward=tf.train.Saver(var_forward, max_to_keep=1)
with tf.name_scope("backward_train"):
with tf.variable_scope("backward", reuse=None):
m_backward = PTBModel(is_training=True, config = config)
with tf.name_scope("backward_test"):
with tf.variable_scope("backward", reuse=True):
mtest_backward = PTBModel(is_training=False, config = config)
var=tf.trainable_variables()
var_backward=[x for x in var if x.name.startswith('backward')]
saver_backward=tf.train.Saver(var_backward, max_to_keep=1)
init = tf.global_variables_initializer()
dataclass = data.Data(config)
session = tf.Session()
session.run(init)
saver_forward.restore(session, option.forward_save_path)
saver_backward.restore(session, option.backward_save_path)
tfflag = True
fileobj = open(option.emb_path,'r')
#emb_word,emb_id=pkl.load(StrToBytes(fileobj), encoding='latin1')
emb_word,emb_id=pkl.load(StrToBytes(fileobj))
fileobj.close()
sim=option.sim
sta_vec=list(np.zeros([option.num_steps-1]))
use_data, sta_vec_list = read_data_use(option, dataclass.sen2id)
id2sen = dataclass.id2sen
generateset = []
temperatures = option.C*(1.0/100)*np.array(list(range(option.sample_time+1,1,-1)))
print(temperatures)
option.temperatures = temperatures
for sen_id in range(use_data.length):
sta_vec=sta_vec_list[sen_id]
input, sequence_length, _=use_data(1, sen_id)
print('----------------')
print(' '.join(id2sen(input[0])))
print(sta_vec)
maxV = -30
for k in range(option.N_repeat):
sen, V = sa(input, sequence_length, sta_vec, id2sen, emb_word,session, mtest_forward, mtest_backward,option)
print(sen,V)
if maxV<V:
sampledsen = sen
maxV = V
appendtext(sampledsen, os.path.join(option.this_expsdir,option.save_path+\
'top-{}'.format(k)))
def sa(input, sequence_length, sta_vec, id2sen, emb_word, session, mtest_forward, mtest_backward, option):
if option.mode == 'kw-bleu':
similarity = similarity_keyword_bleu_tensor
else:
similarity = similarity_keyword
sim = similarity
similaritymodel = None
pos=0
input_original=input[0]
sta_vec_original = [x for x in sta_vec]
calibrated_set = [x for x in input[0] if x< option.dict_size]
for iter in range(option.sample_time):
temperature = option.temperatures[iter]
ind=pos%(sequence_length[0]-1)
action=choose_action(option.action_prob)
calibrated_set = list(set(calibrated_set))
if action==0: # word replacement (action: 0)
prob_old=run_epoch(session, mtest_forward, input, sequence_length,\
mode='use')[0]
tem=1
for j in range(sequence_length[0]-1):
tem*=prob_old[j][input[0][j+1]]
tem*=prob_old[j+1][option.dict_size+1]
prob_old_prob=tem
if sim!=None:
similarity_old=similarity(input, input_original, sta_vec, id2sen, emb_word,
option, similaritymodel)[0]
prob_old_prob*=similarity_old
else:
similarity_old=-1
input_forward, input_backward, sequence_length_forward, sequence_length_backward =\
cut_from_point(input, sequence_length, ind, option, mode=action)
prob_forward=run_epoch(session, mtest_forward, input_forward, sequence_length_forward, mode='use')[0, ind%(sequence_length[0]-1),:]
prob_backward=run_epoch(session, mtest_backward, input_backward, sequence_length_backward, mode='use')[0, sequence_length[0]-1-ind%(sequence_length[0]-1),:]
prob_mul=(prob_forward*prob_backward)
input_candidate, sequence_length_candidate=generate_candidate_input_calibrated(input,\
sequence_length, ind, prob_mul, option.search_size, option, mode=action,\
calibrated_set=calibrated_set)
prob_candidate_pre=run_epoch(session, mtest_forward, input_candidate,\
sequence_length_candidate,mode='use')
prob_candidate=[]
for i in range(len(input_candidate)):
tem=1
for j in range(sequence_length[0]-1):
tem*=prob_candidate_pre[i][j][input_candidate[i][j+1]]
tem*=prob_candidate_pre[i][j+1][option.dict_size+1]
prob_candidate.append(tem)
prob_candidate=np.array(prob_candidate)
if sim!=None:
similarity_candidate=similarity(input_candidate, input_original,sta_vec,\
id2sen, emb_word, option, similaritymodel)
prob_candidate=prob_candidate*similarity_candidate
prob_candidate_norm=normalize(prob_candidate)
prob_candidate_ind=sample_from_candidate(prob_candidate_norm)
prob_candidate_prob=prob_candidate[prob_candidate_ind]
V_new = math.log(max(np.power(prob_candidate_prob,1.0/sequence_length),1e-200))
V_old = math.log(max(np.power(prob_old_prob, 1.0/sequence_length),1e-200))
alphat = min(1,math.exp(min((V_new-V_old)/temperature,100)))
if choose_action([alphat, 1-alphat])==0 and input_candidate[prob_candidate_ind][ind]<option.dict_size:
input1=input_candidate[prob_candidate_ind:prob_candidate_ind+1]
if np.sum(input1[0])==np.sum(input[0]):
pass
else:
if input[0][ind+1]<option.dict_size:
calibrated_set.append(input[0][ind+1])
input= input1
print('ind, action,oldprob,vold, vnew, alpha,simold, simnew', ind, action,prob_old_prob,V_old,\
V_new,alphat,similarity_old,similarity_candidate[prob_candidate_ind])
print('Temperature:{:3.3f}: '.format(temperature)+' '.join(id2sen(input[0])), sequence_length)
elif action==1: # word insert
if sequence_length[0]>=option.num_steps:
pos += 1
continue
# break
input_forward, input_backward, sequence_length_forward, sequence_length_backward =\
cut_from_point(input, sequence_length, ind, option, mode=action)
prob_forward=run_epoch(session, mtest_forward, input_forward, sequence_length_forward, mode='use')[0, ind%(sequence_length[0]-1),:]
prob_backward=run_epoch(session, mtest_backward, input_backward, sequence_length_backward, mode='use')[0, sequence_length[0]-1-ind%(sequence_length[0]-1),:]
prob_mul=(prob_forward*prob_backward)
input_candidate, sequence_length_candidate=generate_candidate_input_calibrated(input,\
sequence_length, ind, prob_mul, option.search_size, option, mode=action,\
calibrated_set=calibrated_set)
prob_candidate_pre=run_epoch(session, mtest_forward, input_candidate,\
sequence_length_candidate,mode='use')
prob_candidate=[]
for i in range(len(input_candidate)):
tem=1
for j in range(sequence_length_candidate[0]-1):
tem*=prob_candidate_pre[i][j][input_candidate[i][j+1]]
tem*=prob_candidate_pre[i][j+1][option.dict_size+1]
prob_candidate.append(tem)
prob_candidate=np.array(prob_candidate)
if sim!=None:
similarity_candidate=similarity(input_candidate, input_original,sta_vec,\
id2sen, emb_word, option, similaritymodel)
prob_candidate=prob_candidate*similarity_candidate
prob_candidate_norm=normalize(prob_candidate)
prob_candidate_ind=sample_from_candidate(prob_candidate_norm)
prob_candidate_prob=prob_candidate[prob_candidate_ind]
similarity_new = similarity_candidate[prob_candidate_ind]
prob_old=run_epoch(session, mtest_forward, input,\
sequence_length,mode='use')[0]
tem=1
for j in range(sequence_length[0]-1):
tem*=prob_old[j][input[0][j+1]]
tem*=prob_old[j+1][option.dict_size+1]
prob_old_prob=tem
if sim!=None:
similarity_old=similarity(input, input_original,sta_vec,\
id2sen, emb_word, option, similaritymodel)[0]
prob_old_prob=prob_old_prob*similarity_old
else:
similarity_old=-1
V_new = math.log(max(np.power(prob_candidate_prob,1.0/sequence_length_candidate[0]),1e-200))
V_old = math.log(max(np.power(prob_old_prob, 1.0/sequence_length),1e-200))
alphat = min(1,math.exp(min((V_new-V_old)/temperature,200)))
if choose_action([alphat, 1-alphat])==0 and input_candidate[prob_candidate_ind][ind]<option.dict_size:
input=input_candidate[prob_candidate_ind:prob_candidate_ind+1]
sequence_length+=1
pos+=1
# sta_vec.insert(ind, 0.0)
# del(sta_vec[-1])
print('ind, action,oldprob,vold, vnew, alpha,simold, simnew', ind, action,prob_old_prob,V_old,\
V_new,alphat,similarity_old,similarity_new)
print('Temperature:{:3.3f}: '.format(temperature)+' '.join(id2sen(input[0])), sequence_length)
elif action==2: # word delete
if sequence_length[0]<=2 or ind==0:
pos += 1
continue
prob_old=run_epoch(session, mtest_forward, input, sequence_length,\
mode='use')[0]
tem=1
for j in range(sequence_length[0]-1):
tem*=prob_old[j][input[0][j+1]]
tem*=prob_old[j+1][option.dict_size+1]
prob_old_prob=tem
if sim!=None:
similarity_old=similarity(input, input_original,sta_vec,\
id2sen, emb_word, option, similaritymodel)[0]
prob_old_prob=prob_old_prob*similarity_old
else:
similarity_old=-1
input_candidate, sequence_length_candidate=generate_candidate_input_calibrated(input,\
sequence_length, ind, None, option.search_size, option,\
mode=action,calibrated_set=calibrated_set)
# delete sentence
prob_new=run_epoch(session, mtest_forward, input_candidate,\
sequence_length_candidate,mode='use')[0]
tem=1
for j in range(sequence_length_candidate[0]-1):
tem*=prob_new[j][input_candidate[0][j+1]]
tem*=prob_new[j+1][option.dict_size+1]
prob_new_prob=tem
if sim!=None:
similarity_candidate=similarity(input_candidate, input_original,sta_vec,\
id2sen, emb_word, option, similaritymodel)[0]
prob_new_prob=prob_new_prob*similarity_candidate
#alpha is acceptance ratio of current proposal
V_new = math.log(max(np.power(prob_new_prob,1.0/sequence_length_candidate[0]),1e-200))
V_old = math.log(max(np.power(prob_old_prob, 1.0/sequence_length),1e-200))
alphat = min(1,math.exp((V_new-V_old)/temperature))
if choose_action([alphat, 1-alphat])==0:
if input[0][ind]<option.dict_size:
calibrated_set.append(input[0][ind])
input=np.concatenate([input[:,:ind+1], input[:,ind+2:], input[:,:1]*0+option.dict_size+1], axis=1)
sequence_length-=1
# del(sta_vec[ind])
# sta_vec.append(0)
pos -= 1
print('ind, action,oldprob,vold, vnew, alpha,simold, simnew',ind, action,prob_old_prob,V_old,\
V_new,alphat,similarity_old,similarity_candidate)
print('Temperature:{:3.3f}: '.format(temperature)+' '.join(id2sen(input[0])),sequence_length)
pos += 1
return ' '.join(id2sen(input[0])),V_old
def simulatedAnnealing_batch(config):
option = config
with tf.name_scope("forward_train"):
with tf.variable_scope("forward", reuse=None):
m_forward = PTBModel(is_training=True, config = config)
with tf.name_scope("forward_test"):
with tf.variable_scope("forward", reuse=True):
mtest_forward = PTBModel(is_training=False, config = config)
var=tf.trainable_variables()
var_forward=[x for x in var if x.name.startswith('forward')]
saver_forward=tf.train.Saver(var_forward, max_to_keep=1)
with tf.name_scope("backward_train"):
with tf.variable_scope("backward", reuse=None):
m_backward = PTBModel(is_training=True, config = config)
with tf.name_scope("backward_test"):
with tf.variable_scope("backward", reuse=True):
mtest_backward = PTBModel(is_training=False, config = config)
var=tf.trainable_variables()
var_backward=[x for x in var if x.name.startswith('backward')]
saver_backward=tf.train.Saver(var_backward, max_to_keep=1)
init = tf.global_variables_initializer()
dataclass = data.Data(config)
session = tf.Session()
session.run(init)
saver_forward.restore(session, option.forward_save_path)
saver_backward.restore(session, option.backward_save_path)
tfflag = True
fileobj = open(option.emb_path,'r')
emb_word,emb_id=pkl.load(StrToBytes(fileobj))
fileobj.close()
sim=option.sim
sta_vec=list(np.zeros([option.num_steps-1]))
use_data, sta_vec_list = read_data_use(option, dataclass.sen2id)
id2sen = dataclass.id2sen
generateset = []
temperatures = option.C*(1.0/100)*np.array(list(range(option.sample_time+1,1,-1)))
print(temperatures)
option.temperatures = temperatures
batch_size = option.batch_size
for sen_id in range(use_data.length):
print('====================')
sta_vec=sta_vec_list[sen_id*batch_size:sen_id*batch_size+batch_size]
input, sequence_length, _ = use_data(batch_size, sen_id)
assert len(input)==len(sequence_length)
N_input = len(input)
for i in range(len(input)):
print(' '.join(id2sen(input[i])))
print(sta_vec[i])
maxVs = [-100]*len(input)
maxsens = [0]*N_input
for k in range(option.N_repeat):
print('----------------')
input_feed = copy(input)
sequence_length_feed = copy(sequence_length)
sens, Vs = sa_batch(input_feed, sequence_length_feed, sta_vec, id2sen, emb_word,session, mtest_forward, mtest_backward,option)
for i in range(N_input):
sen = ' '.join(id2sen(sens[i]))
V = Vs[i]
if maxVs[i]<V:
maxVs[i] = V
maxsens[i] = sen
for i in range(N_input):
# print(maxsens[i],maxVs[i])
appendtext(maxsens[i], option.save_path)
def sa_batch(input, sequence_length, sta_vec, id2sen, emb_word, session, mtest_forward, mtest_backward, option):
if option.mode == 'kw-bleu':
similarityfun = similarity_keyword_bleu_tensor
else:
similarityfun= similarity_keyword_tensor
sim = similarityfun
similaritymodel = None
generate_candidate = generate_candidate_input_batch
pos=0
input_original= copy(input)
sta_vec_original = [x for x in sta_vec]
calibrated_set =[ [x for x in inp] for inp in input]
N_input = len(input)
for iter in range(option.sample_time):
temperature = option.temperatures[iter]
ind=pos%(np.max(sequence_length-1))
action=choose_action(option.action_prob)
# calibrated_set = list(set(calibrated_set))
if action==0:
prob_old=run_epoch(session, mtest_forward, input, sequence_length,\
mode='use') # K,L,Vocab
prob_old_prob = getp(prob_old,input, sequence_length, option) # K,
input_ = [[x] for x in input]
similarity_old=similarity_batch(input_, input_original, sta_vec, id2sen, emb_word,
option, similarityfun, similaritymodel) #K,
prob_old_prob = prob_old_prob*similarity_old #K,
input_forward, input_backward, sequence_length_forward, sequence_length_backward =\
cut_from_point(input, sequence_length, ind, option, mode=action)
prob_forward=run_epoch(session, mtest_forward, input_forward,\
sequence_length_forward, mode='use')[:, ind%(sequence_length[0]-1),:]
prob_backward=run_epoch(session, mtest_backward, input_backward,\
sequence_length_backward, mode='use')[:, sequence_length[0]-1-ind%(sequence_length[0]-1),:]
prob_mul=(prob_forward*prob_backward) #K,vocab
input_candidate, sequence_length_candidate=generate_candidate(input,\
sequence_length, ind, prob_mul, option.search_size, option, mode=action,\
calibrated_set=calibrated_set) # K,100,15
input_candidate_flat = input_candidate.reshape(-1,option.num_steps)
sequence_length_candidate_flat = sequence_length_candidate.reshape(-1)
prob_candidate_pre=run_epoch(session, mtest_forward, input_candidate_flat,\
sequence_length_candidate_flat, mode='use') #K*100,15,vocab
prob_candidate = getp(prob_candidate_pre,
input_candidate_flat,sequence_length_candidate_flat, option) # K*100
prob_candidate = np.array(prob_candidate).reshape(N_input,-1) # K,100
similarity_candidate=similarity_batch(input_candidate, input_original,sta_vec,\
id2sen, emb_word, option ,similarityfun, similaritymodel) # K,100
similarity_candidate =similarity_candidate.reshape(N_input,-1)
prob_candidate=prob_candidate*similarity_candidate # K,100
prob_candidate_norm=\
prob_candidate/(np.maximum(prob_candidate.sum(1,keepdims=True),1e-50))
prob_candidate_ind=samplep(prob_candidate_norm)
id_sample = torch.tensor(prob_candidate_ind,dtype=torch.long).view(N_input,1)
prob_candidate_prob= torch.gather(torch.tensor(prob_candidate,dtype=torch.float),1,id_sample) # 5,1
prob_candidate_prob = prob_candidate_prob.squeeze().numpy()
V_new = np.log(np.maximum(np.power(prob_candidate_prob,1.0/sequence_length),1e-200))
V_old = np.log(np.maximum(np.power(prob_old_prob, 1.0/sequence_length),1e-200))
alphat = np.minimum(1,np.exp(np.minimum((V_new-V_old)/temperature,100)))
for i,inp in enumerate(input):
if ind>=sequence_length[i]-1:
continue
alpha = alphat[i]
chooseind = prob_candidate_ind[i]
if choose_action([alpha, 1-alpha])==0:
input1=input_candidate[i][chooseind]
if np.sum(input1)==np.sum(inp):
pass
else:
input[i] = input1
# print('vold, vnew, alpha,simold, simnew', V_old[i],\
# V_new[i],alpha,similarity_old[i],similarity_candidate[i][chooseind])
# print('Temperature:{:3.3f}: '.format(temperature)+' '.join(id2sen(input[i])))
elif action==1: # word insert
input_forward, input_backward, sequence_length_forward, sequence_length_backward =\
cut_from_point(input, sequence_length, ind, option, mode=action)
prob_forward=run_epoch(session, mtest_forward, input_forward,\
sequence_length_forward, mode='use')[:, ind%(sequence_length[0]-1),:]
prob_backward=run_epoch(session, mtest_backward, input_backward,\
sequence_length_backward, mode='use')[:, sequence_length[0]-1-ind%(sequence_length[0]-1),:]
prob_mul=(prob_forward*prob_backward) #K,vocab
input_candidate, sequence_length_candidate=generate_candidate(input,\
sequence_length, ind, prob_mul, option.search_size, option, mode=action,\
calibrated_set=calibrated_set) # K,100,15
input_candidate_flat = input_candidate.reshape(-1,option.num_steps)
sequence_length_candidate_flat = sequence_length_candidate.reshape(-1)
prob_candidate_pre=run_epoch(session, mtest_forward, input_candidate_flat,\
sequence_length_candidate_flat, mode='use') #K*100,15,vocab
prob_candidate = getp(prob_candidate_pre,
input_candidate_flat,sequence_length_candidate_flat, option) # K*100
prob_candidate = np.array(prob_candidate).reshape(N_input,-1) # K,100
similarity_candidate=similarity_batch(input_candidate, input_original,sta_vec,\
id2sen, emb_word, option, similarityfun,similaritymodel) # K,100
similarity_candidate =similarity_candidate.reshape(N_input,-1)
prob_candidate=prob_candidate*similarity_candidate # K,100
prob_candidate_norm=\
prob_candidate/(np.maximum(prob_candidate.sum(1,keepdims=True),1e-50))
prob_candidate_ind=samplep(prob_candidate_norm)
id_sample = torch.tensor(prob_candidate_ind,dtype=torch.long).view(N_input,1)
prob_candidate_prob= torch.gather(torch.tensor(prob_candidate,dtype=torch.float),1,id_sample) # 5,1
prob_candidate_prob = prob_candidate_prob.squeeze().numpy()
V_new = np.log(np.maximum(np.power(prob_candidate_prob,1.0/(sequence_length+1)),1e-200))
prob_old=run_epoch(session, mtest_forward, input, sequence_length,\
mode='use') # K,L,Vocab
prob_old_prob = getp(prob_old,input, sequence_length, option) # K,
input_ = [[x] for x in input]
similarity_old=similarity_batch(input_, input_original, sta_vec, id2sen, emb_word,
option, similarityfun,similaritymodel) #K,
prob_old_prob = prob_old_prob*similarity_old #K,
V_old = np.log(np.maximum(np.power(prob_old_prob, 1.0/sequence_length),1e-200))
alphat = np.minimum(1,np.exp(np.minimum((V_new-V_old)/temperature,100)))
for i,inp in enumerate(input):
if ind>=sequence_length[i]-1 or sequence_length[i]>=option.num_steps:
continue
alpha = alphat[i]
chooseind = prob_candidate_ind[i]
if choose_action([alpha, 1-alpha])==0:
input1=input_candidate[i][chooseind]
input[i] = input1
sequence_length[i] = sequence_length[i]+1
# print('vold, vnew, alpha,simold, simnew', V_old[i],\
# V_new[i],alpha,similarity_old[i],similarity_candidate[i][chooseind])
# print('Temperature:{:3.3f}: '.format(temperature)+' '.join(id2sen(input[i])))
elif action==2: # word delete
prob_old=run_epoch(session, mtest_forward, input, sequence_length,\
mode='use') # K,L,Vocab
prob_old_prob = getp(prob_old,input, sequence_length, option) # K,
input_ = [[x] for x in input]
similarity_old=similarity_batch(input_, input_original, sta_vec, id2sen, emb_word,
option, similarityfun,similaritymodel) #K,
prob_old_prob = prob_old_prob*similarity_old #K,
input_candidate, sequence_length_candidate=generate_candidate(input,\
sequence_length, ind, None, option.search_size, option, mode=action,\
calibrated_set=calibrated_set) # K,100,15
input_candidate = input_candidate[:,0,:]
sequence_length_candidate = sequence_length_candidate[:,0]
prob_new=run_epoch(session, mtest_forward, input_candidate,\
sequence_length_candidate,mode='use')
prob_new = getp(prob_new, input_candidate,sequence_length_candidate, option) # K
input_candidate = [[x] for x in input_candidate]
similarity_new=similarity_batch(input_candidate, input_original,sta_vec,\
id2sen, emb_word, option,similarityfun, similaritymodel) # K,
prob_new_prob = prob_new* similarity_new #K,
V_new = np.log(np.maximum(np.power(prob_new_prob,1.0/(sequence_length-1)),1e-200))
V_old = np.log(np.maximum(np.power(prob_old_prob, 1.0/sequence_length),1e-200))
alphat = np.minimum(1,np.exp(np.minimum((V_new-V_old)/temperature,100)))
for i,inp in enumerate(input):
if ind>=sequence_length[i]-1 or sequence_length[i]<=3 or ind==0:
continue
alpha = alphat[i]
if choose_action([alpha, 1-alpha])==0:
input1=input_candidate[i][0]
input[i] = input1
# calibrated_set.append(input[i][ind])
sequence_length[i] = sequence_length[i]-1
# print('vold, vnew, alpha,simold, simnew', V_old[i],\
# V_new[i],alpha,similarity_old[i],similarity_new[i])
# print('Temperature:{:3.3f}: '.format(temperature)+' '.join(id2sen(input[i])))
pos += 1
return input,V_old
| 50.264531
| 176
| 0.605244
| 5,151
| 42,373
| 4.704135
| 0.048146
| 0.099377
| 0.018159
| 0.022451
| 0.912261
| 0.900788
| 0.890884
| 0.885725
| 0.882588
| 0.873179
| 0
| 0.021761
| 0.28858
| 42,373
| 842
| 177
| 50.324228
| 0.782053
| 0.040922
| 0
| 0.853448
| 0
| 0
| 0.023669
| 0
| 0
| 0
| 0
| 0
| 0.001437
| 1
| 0.008621
| false
| 0.005747
| 0.024425
| 0
| 0.04023
| 0.038793
| 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
|
3f1164376b30ce3f12fa766e831706a3cadc5a43
| 11,651
|
py
|
Python
|
MIDIUtil-0.89/MIDIUtil-0.89/src/unittests/miditest.py
|
ax300/ReadSheet
|
f1ce1c9c97d5c922aa95b9120152f9c62fab829d
|
[
"MIT"
] | 254
|
2017-07-11T14:05:30.000Z
|
2022-03-28T01:45:15.000Z
|
MIDIUtil-0.89/MIDIUtil-0.89/src/unittests/miditest.py
|
ax300/ReadSheet
|
f1ce1c9c97d5c922aa95b9120152f9c62fab829d
|
[
"MIT"
] | 1
|
2017-11-26T11:52:40.000Z
|
2017-11-26T11:52:40.000Z
|
MIDIUtil-0.89/MIDIUtil-0.89/src/unittests/miditest.py
|
ax300/ReadSheet
|
f1ce1c9c97d5c922aa95b9120152f9c62fab829d
|
[
"MIT"
] | 86
|
2017-05-10T09:46:04.000Z
|
2022-01-21T05:51:25.000Z
|
#-----------------------------------------------------------------------------
# Name: miditest.py
# Purpose: Unit testing harness for midiutil
#
# Author: Mark Conway Wirt <emergentmusics) at (gmail . com>
#
# Created: 2008/04/17
# Copyright: (c) 2009, Mark Conway Wirt
# License: Please see License.txt for the terms under which this
# software is distributed.
#-----------------------------------------------------------------------------
# Next few lines are necessary owing to limitations of the IDE and the
# directory structure of the project.
import sys, struct
sys.path.append('..')
import unittest
from midiutil.MidiFile import MIDIFile, MIDIHeader, MIDITrack, writeVarLength, \
frequencyTransform, returnFrequency
import sys
class TestMIDIUtils(unittest.TestCase):
def testWriteVarLength(self):
self.assertEquals(writeVarLength(0x70), [0x70])
self.assertEquals(writeVarLength(0x80), [0x81, 0x00])
self.assertEquals(writeVarLength(0x1FFFFF), [0xFF, 0xFF, 0x7F])
self.assertEquals(writeVarLength(0x08000000), [0xC0, 0x80, 0x80, 0x00])
def testAddNote(self):
MyMIDI = MIDIFile(1)
MyMIDI.addNote(0, 0, 100,0,1,100)
self.assertEquals(MyMIDI.tracks[0].eventList[0].type, "note")
self.assertEquals(MyMIDI.tracks[0].eventList[0].pitch, 100)
self.assertEquals(MyMIDI.tracks[0].eventList[0].time, 0)
self.assertEquals(MyMIDI.tracks[0].eventList[0].duration, 1)
self.assertEquals(MyMIDI.tracks[0].eventList[0].volume, 100)
def testDeinterleaveNotes(self):
MyMIDI = MIDIFile(1)
MyMIDI.addNote(0, 0, 100, 0, 2, 100)
MyMIDI.addNote(0, 0, 100, 1, 2, 100)
MyMIDI.close()
self.assertEquals(MyMIDI.tracks[0].MIDIEventList[0].type, 'NoteOn')
self.assertEquals(MyMIDI.tracks[0].MIDIEventList[0].time, 0)
self.assertEquals(MyMIDI.tracks[0].MIDIEventList[1].type, 'NoteOff')
self.assertEquals(MyMIDI.tracks[0].MIDIEventList[1].time, 960)
self.assertEquals(MyMIDI.tracks[0].MIDIEventList[2].type, 'NoteOn')
self.assertEquals(MyMIDI.tracks[0].MIDIEventList[2].time, 0)
self.assertEquals(MyMIDI.tracks[0].MIDIEventList[3].type, 'NoteOff')
self.assertEquals(MyMIDI.tracks[0].MIDIEventList[3].time, 1920)
def testTimeShift(self):
# With one track
MyMIDI = MIDIFile(1)
MyMIDI.addNote(0, 0, 100, 5, 1, 100)
MyMIDI.close()
self.assertEquals(MyMIDI.tracks[0].MIDIEventList[0].type, 'NoteOn')
self.assertEquals(MyMIDI.tracks[0].MIDIEventList[0].time, 0)
self.assertEquals(MyMIDI.tracks[0].MIDIEventList[1].type, 'NoteOff')
self.assertEquals(MyMIDI.tracks[0].MIDIEventList[1].time, 960)
# With two tracks
MyMIDI = MIDIFile(2)
MyMIDI.addNote(0, 0, 100, 5, 1, 100)
MyMIDI.addNote(1, 0, 100, 6, 1, 100)
MyMIDI.close()
self.assertEquals(MyMIDI.tracks[0].MIDIEventList[0].type, 'NoteOn')
self.assertEquals(MyMIDI.tracks[0].MIDIEventList[0].time, 0)
self.assertEquals(MyMIDI.tracks[0].MIDIEventList[1].type, 'NoteOff')
self.assertEquals(MyMIDI.tracks[0].MIDIEventList[1].time, 960)
self.assertEquals(MyMIDI.tracks[1].MIDIEventList[0].type, 'NoteOn')
self.assertEquals(MyMIDI.tracks[1].MIDIEventList[0].time, 960)
self.assertEquals(MyMIDI.tracks[1].MIDIEventList[1].type, 'NoteOff')
self.assertEquals(MyMIDI.tracks[1].MIDIEventList[1].time, 960)
# Negative Time
MyMIDI = MIDIFile(1)
MyMIDI.addNote(0, 0, 100, -5, 1, 100)
MyMIDI.close()
self.assertEquals(MyMIDI.tracks[0].MIDIEventList[0].type, 'NoteOn')
self.assertEquals(MyMIDI.tracks[0].MIDIEventList[0].time, 0)
self.assertEquals(MyMIDI.tracks[0].MIDIEventList[1].type, 'NoteOff')
self.assertEquals(MyMIDI.tracks[0].MIDIEventList[1].time, 960)
# Negative time, two tracks
MyMIDI = MIDIFile(2)
MyMIDI.addNote(0, 0, 100, -1, 1, 100)
MyMIDI.addNote(1, 0, 100, 0, 1, 100)
MyMIDI.close()
self.assertEquals(MyMIDI.tracks[0].MIDIEventList[0].type, 'NoteOn')
self.assertEquals(MyMIDI.tracks[0].MIDIEventList[0].time, 0)
self.assertEquals(MyMIDI.tracks[0].MIDIEventList[1].type, 'NoteOff')
self.assertEquals(MyMIDI.tracks[0].MIDIEventList[1].time, 960)
self.assertEquals(MyMIDI.tracks[1].MIDIEventList[0].type, 'NoteOn')
self.assertEquals(MyMIDI.tracks[1].MIDIEventList[0].time, 960)
self.assertEquals(MyMIDI.tracks[1].MIDIEventList[1].type, 'NoteOff')
self.assertEquals(MyMIDI.tracks[1].MIDIEventList[1].time, 960)
def testFrequency(self):
freq = frequencyTransform(8.1758)
self.assertEquals(freq[0], 0x00)
self.assertEquals(freq[1], 0x00)
self.assertEquals(freq[2], 0x00)
freq = frequencyTransform(8.66196) # 8.6620 in MIDI documentation
self.assertEquals(freq[0], 0x01)
self.assertEquals(freq[1], 0x00)
self.assertEquals(freq[2], 0x00)
freq = frequencyTransform(440.00)
self.assertEquals(freq[0], 0x45)
self.assertEquals(freq[1], 0x00)
self.assertEquals(freq[2], 0x00)
freq = frequencyTransform(440.0016)
self.assertEquals(freq[0], 0x45)
self.assertEquals(freq[1], 0x00)
self.assertEquals(freq[2], 0x01)
freq = frequencyTransform(439.9984)
self.assertEquals(freq[0], 0x44)
self.assertEquals(freq[1], 0x7f)
self.assertEquals(freq[2], 0x7f)
freq = frequencyTransform(8372.0190)
self.assertEquals(freq[0], 0x78)
self.assertEquals(freq[1], 0x00)
self.assertEquals(freq[2], 0x00)
freq = frequencyTransform(8372.062) #8372.0630 in MIDI documentation
self.assertEquals(freq[0], 0x78)
self.assertEquals(freq[1], 0x00)
self.assertEquals(freq[2], 0x01)
freq = frequencyTransform(13289.7300)
self.assertEquals(freq[0], 0x7F)
self.assertEquals(freq[1], 0x7F)
self.assertEquals(freq[2], 0x7E)
freq = frequencyTransform(12543.8760)
self.assertEquals(freq[0], 0x7F)
self.assertEquals(freq[1], 0x00)
self.assertEquals(freq[2], 0x00)
freq = frequencyTransform(8.2104) # Just plain wrong in documentation, as far as I can tell.
#self.assertEquals(freq[0], 0x0)
#self.assertEquals(freq[1], 0x0)
#self.assertEquals(freq[2], 0x1)
# Test the inverse
testFreq = 15.0
accuracy = 0.00001
x = returnFrequency(frequencyTransform(testFreq))
delta = abs(testFreq - x)
self.assertEquals(delta < (accuracy*testFreq), True)
testFreq = 200.0
x = returnFrequency(frequencyTransform(testFreq))
delta = abs(testFreq - x)
self.assertEquals(delta < (accuracy*testFreq), True)
testFreq = 400.0
x = returnFrequency(frequencyTransform(testFreq))
delta = abs(testFreq - x)
self.assertEquals(delta < (accuracy*testFreq), True)
testFreq = 440.0
x = returnFrequency(frequencyTransform(testFreq))
delta = abs(testFreq - x)
self.assertEquals(delta < (accuracy*testFreq), True)
testFreq = 1200.0
x = returnFrequency(frequencyTransform(testFreq))
delta = abs(testFreq - x)
self.assertEquals(delta < (accuracy*testFreq), True)
testFreq = 5000.0
x = returnFrequency(frequencyTransform(testFreq))
delta = abs(testFreq - x)
self.assertEquals(delta < (accuracy*testFreq), True)
testFreq = 12000.0
x = returnFrequency(frequencyTransform(testFreq))
delta = abs(testFreq - x)
self.assertEquals(delta < (accuracy*testFreq), True)
def testSysEx(self):
MyMIDI = MIDIFile(1)
MyMIDI.addSysEx(0,0, 0, struct.pack('>B', 0x01))
MyMIDI.close()
self.assertEquals(MyMIDI.tracks[0].MIDIEventList[0].type, 'SysEx')
self.assertEquals(struct.unpack('>B', MyMIDI.tracks[0].MIDIdata[0])[0], 0x00)
self.assertEquals(struct.unpack('>B', MyMIDI.tracks[0].MIDIdata[1])[0], 0xf0)
self.assertEquals(struct.unpack('>B', MyMIDI.tracks[0].MIDIdata[2])[0], 3)
self.assertEquals(struct.unpack('>B', MyMIDI.tracks[0].MIDIdata[3])[0], 0x00)
self.assertEquals(struct.unpack('>B', MyMIDI.tracks[0].MIDIdata[4])[0], 0x01)
self.assertEquals(struct.unpack('>B', MyMIDI.tracks[0].MIDIdata[5])[0], 0xf7)
def testUniversalSysEx(self):
MyMIDI = MIDIFile(1)
MyMIDI.addUniversalSysEx(0,0, 1, 2, struct.pack('>B', 0x01))
MyMIDI.close()
self.assertEquals(MyMIDI.tracks[0].MIDIEventList[0].type, 'UniversalSysEx')
self.assertEquals(struct.unpack('>B', MyMIDI.tracks[0].MIDIdata[0])[0], 0x00)
self.assertEquals(struct.unpack('>B', MyMIDI.tracks[0].MIDIdata[1])[0], 0xf0)
self.assertEquals(struct.unpack('>B', MyMIDI.tracks[0].MIDIdata[2])[0], 6)
self.assertEquals(struct.unpack('>B', MyMIDI.tracks[0].MIDIdata[3])[0], 0x7E)
self.assertEquals(struct.unpack('>B', MyMIDI.tracks[0].MIDIdata[4])[0], 0x7F)
self.assertEquals(struct.unpack('>B', MyMIDI.tracks[0].MIDIdata[5])[0], 0x01)
self.assertEquals(struct.unpack('>B', MyMIDI.tracks[0].MIDIdata[6])[0], 0x02)
self.assertEquals(struct.unpack('>B', MyMIDI.tracks[0].MIDIdata[7])[0], 0x01)
self.assertEquals(struct.unpack('>B', MyMIDI.tracks[0].MIDIdata[8])[0], 0xf7)
def testTuning(self):
MyMIDI = MIDIFile(1)
MyMIDI.changeNoteTuning(0, [(1, 440), (2, 880)])
MyMIDI.close()
self.assertEquals(MyMIDI.tracks[0].MIDIEventList[0].type, 'UniversalSysEx')
self.assertEquals(struct.unpack('>B', MyMIDI.tracks[0].MIDIdata[0])[0], 0x00)
self.assertEquals(struct.unpack('>B', MyMIDI.tracks[0].MIDIdata[1])[0], 0xf0)
self.assertEquals(struct.unpack('>B', MyMIDI.tracks[0].MIDIdata[2])[0], 15)
self.assertEquals(struct.unpack('>B', MyMIDI.tracks[0].MIDIdata[3])[0], 0x7E)
self.assertEquals(struct.unpack('>B', MyMIDI.tracks[0].MIDIdata[4])[0], 0x7F)
self.assertEquals(struct.unpack('>B', MyMIDI.tracks[0].MIDIdata[5])[0], 0x08)
self.assertEquals(struct.unpack('>B', MyMIDI.tracks[0].MIDIdata[6])[0], 0x02)
self.assertEquals(struct.unpack('>B', MyMIDI.tracks[0].MIDIdata[7])[0], 0x00)
self.assertEquals(struct.unpack('>B', MyMIDI.tracks[0].MIDIdata[8])[0], 0x2)
self.assertEquals(struct.unpack('>B', MyMIDI.tracks[0].MIDIdata[9])[0], 0x1)
self.assertEquals(struct.unpack('>B', MyMIDI.tracks[0].MIDIdata[10])[0], 69)
self.assertEquals(struct.unpack('>B', MyMIDI.tracks[0].MIDIdata[11])[0], 0)
self.assertEquals(struct.unpack('>B', MyMIDI.tracks[0].MIDIdata[12])[0], 0)
self.assertEquals(struct.unpack('>B', MyMIDI.tracks[0].MIDIdata[13])[0], 0x2)
self.assertEquals(struct.unpack('>B', MyMIDI.tracks[0].MIDIdata[14])[0], 81)
self.assertEquals(struct.unpack('>B', MyMIDI.tracks[0].MIDIdata[15])[0], 0)
self.assertEquals(struct.unpack('>B', MyMIDI.tracks[0].MIDIdata[16])[0], 0)
self.assertEquals(struct.unpack('>B', MyMIDI.tracks[0].MIDIdata[17])[0], 0xf7)
MIDISuite = unittest.TestLoader().loadTestsFromTestCase(TestMIDIUtils)
if __name__ == '__main__':
unittest.TextTestRunner(verbosity=1).run(MIDISuite)
| 49.368644
| 100
| 0.63325
| 1,392
| 11,651
| 5.29454
| 0.143678
| 0.24749
| 0.114654
| 0.151967
| 0.799322
| 0.788874
| 0.782904
| 0.755902
| 0.719267
| 0.678155
| 0
| 0.075948
| 0.201013
| 11,651
| 235
| 101
| 49.578723
| 0.715759
| 0.074243
| 0
| 0.536842
| 0
| 0
| 0.020537
| 0
| 0
| 0
| 0.025555
| 0
| 0.584211
| 1
| 0.042105
| false
| 0
| 0.021053
| 0
| 0.068421
| 0
| 0
| 0
| 0
| null | 1
| 0
| 0
| 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
3f3f1f684bd05913d43c1c48506e489e710ed443
| 21,866
|
py
|
Python
|
Dashboard/views.py
|
sporiyano/archerysec
|
207777100b8e0d2049fc7f2efa5bf47547fb7112
|
[
"BSD-3-Clause"
] | 1
|
2019-06-27T07:36:53.000Z
|
2019-06-27T07:36:53.000Z
|
Dashboard/views.py
|
sacseacyber/archerysec
|
207777100b8e0d2049fc7f2efa5bf47547fb7112
|
[
"BSD-3-Clause"
] | null | null | null |
Dashboard/views.py
|
sacseacyber/archerysec
|
207777100b8e0d2049fc7f2efa5bf47547fb7112
|
[
"BSD-3-Clause"
] | 2
|
2018-03-06T03:34:34.000Z
|
2019-07-03T03:24:00.000Z
|
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from webscanners.models import zap_scans_db, burp_scan_db
from networkscanners.models import scan_save_db
from projects.models import project_db
from django.shortcuts import render, render_to_response, HttpResponse
from itertools import chain
from django.db.models import Sum
import ast
# Create your views here.
chart = []
all_high_stat = ""
data = ""
def dash_call(request):
all_project = project_db.objects.all()
all_zap_scan = zap_scans_db.objects.aggregate(Sum('total_vul'))
all_burp_scan = burp_scan_db.objects.aggregate(Sum('total_vul'))
all_openvas_scan = scan_save_db.objects.aggregate(Sum('total_vul'))
for key, value in all_zap_scan.iteritems():
if value is None:
all_zap = '0'
else:
all_zap = value
for key, value in all_burp_scan.iteritems():
if value is None:
all_burp = '0'
else:
all_burp = value
for key, value in all_openvas_scan.iteritems():
if value is None:
all_openvas = '0'
else:
all_openvas = value
all_vuln = int(all_zap) + int(all_burp) + int(all_openvas)
total_network = all_openvas
total_web = int(all_zap) + int(all_burp)
all_zap_high = zap_scans_db.objects.aggregate(Sum('high_vul'))
all_burp_high = burp_scan_db.objects.aggregate(Sum('high_vul'))
all_openvas_high = scan_save_db.objects.aggregate(Sum('high_total'))
for key, value in all_zap_high.iteritems():
if value is None:
zap_high = '0'
else:
zap_high = value
for key, value in all_burp_high.iteritems():
if value is None:
burp_high = '0'
else:
burp_high = value
for key, value in all_openvas_high.iteritems():
if value is None:
openvas_high = '0'
else:
openvas_high = value
all_high = int(zap_high) + int(burp_high) + int(openvas_high)
all_web_high = int(zap_high) + int(burp_high)
all_network_high = openvas_high
all_zap_medium = zap_scans_db.objects.aggregate(Sum('medium_vul'))
all_burp_medium = burp_scan_db.objects.aggregate(Sum('medium_vul'))
all_openvas_medium = scan_save_db.objects.aggregate(Sum('medium_total'))
for key, value in all_zap_medium.iteritems():
if value is None:
zap_medium = '0'
else:
zap_medium = value
for key, value in all_burp_medium.iteritems():
if value is None:
burp_medium = '0'
else:
burp_medium = value
for key, value in all_openvas_medium.iteritems():
if value is None:
openvas_medium = '0'
else:
openvas_medium = value
all_medium = int(zap_medium) + int(burp_medium) + int(openvas_medium)
all_web_medium = int(zap_medium) + int(burp_medium)
all_network_medium = openvas_medium
all_zap_low = zap_scans_db.objects.aggregate(Sum('low_vul'))
all_burp_low = burp_scan_db.objects.aggregate(Sum('low_vul'))
all_openvas_low = scan_save_db.objects.aggregate(Sum('low_total'))
for key, value in all_zap_low.iteritems():
if value is None:
zap_low = '0'
else:
zap_low = value
for key, value in all_burp_low.iteritems():
if value is None:
burp_low = '0'
else:
burp_low = value
for key, value in all_openvas_low.iteritems():
if value is None:
openvas_low = '0'
else:
openvas_low = value
all_low = int(zap_low) + int(burp_low) + int(openvas_low)
all_web_low = int(zap_low) + int(burp_low)
all_network_low = openvas_low
return render(request, 'dashboard.html',
{'all_project': all_project, 'all_vuln': all_vuln, 'total_web': total_web,
'total_network': total_network, 'all_high': all_high, 'all_medium': all_medium, 'all_low': all_low,
'all_web_high': all_web_high, 'all_web_medium': all_web_medium,
'all_network_medium': all_network_medium, 'all_network_high': all_network_high,
'all_web_low': all_web_low, 'all_network_low': all_network_low
})
import json
def vuln_static_dashboard(request):
global dash_year
all_zap_scan = zap_scans_db.objects.aggregate(Sum('total_vul'))
all_burp_scan = burp_scan_db.objects.aggregate(Sum('total_vul'))
all_openvas_scan = scan_save_db.objects.aggregate(Sum('total_vul'))
for key, value in all_zap_scan.iteritems():
if value is None:
all_zap = '0'
else:
all_zap = value
for key, value in all_burp_scan.iteritems():
if value is None:
all_burp = '0'
else:
all_burp = value
for key, value in all_openvas_scan.iteritems():
if value is None:
all_openvas = '0'
else:
all_openvas = value
all_vuln = int(all_zap) + int(all_burp) + int(all_openvas)
total_network = all_openvas
total_web = int(all_zap) + int(all_burp)
all_zap_high = zap_scans_db.objects.aggregate(Sum('high_vul'))
all_burp_high = burp_scan_db.objects.aggregate(Sum('high_vul'))
all_openvas_high = scan_save_db.objects.aggregate(Sum('high_total'))
for key, value in all_zap_high.iteritems():
if value is None:
zap_high = '0'
else:
zap_high = value
for key, value in all_burp_high.iteritems():
if value is None:
burp_high = '0'
else:
burp_high = value
for key, value in all_openvas_high.iteritems():
if value is None:
openvas_high = '0'
else:
openvas_high = value
all_high = int(zap_high) + int(burp_high) + int(openvas_high)
all_web_high = int(zap_high) + int(burp_high)
all_network_high = openvas_high
all_zap_medium = zap_scans_db.objects.aggregate(Sum('medium_vul'))
all_burp_medium = burp_scan_db.objects.aggregate(Sum('medium_vul'))
all_openvas_medium = scan_save_db.objects.aggregate(Sum('medium_total'))
for key, value in all_zap_medium.iteritems():
if value is None:
zap_medium = '0'
else:
zap_medium = value
for key, value in all_burp_medium.iteritems():
if value is None:
burp_medium = '0'
else:
burp_medium = value
for key, value in all_openvas_medium.iteritems():
if value is None:
openvas_medium = '0'
else:
openvas_medium = value
all_medium = int(zap_medium) + int(burp_medium) + int(openvas_medium)
all_web_medium = int(zap_medium) + int(burp_medium)
all_network_medium = openvas_medium
all_zap_low = zap_scans_db.objects.aggregate(Sum('low_vul'))
all_burp_low = burp_scan_db.objects.aggregate(Sum('low_vul'))
all_openvas_low = scan_save_db.objects.aggregate(Sum('low_total'))
for key, value in all_zap_low.iteritems():
if value is None:
zap_low = '0'
else:
zap_low = value
for key, value in all_burp_low.iteritems():
if value is None:
burp_low = '0'
else:
burp_low = value
for key, value in all_openvas_low.iteritems():
if value is None:
openvas_low = '0'
else:
openvas_low = value
all_low = int(zap_low) + int(burp_low) + int(openvas_low)
all_web_low = int(zap_low) + int(burp_low)
all_network_low = openvas_low
try:
if request.method == "POST":
dash_year = request.POST.get("year")
high_list = []
for m in range(1, 13):
high_zap = zap_scans_db.objects.filter(date_time__year=dash_year, date_time__month=m).aggregate(
Sum('high_vul'))
high_burp = burp_scan_db.objects.filter(date_time__year=dash_year, date_time__month=m).aggregate(
Sum('high_vul'))
high_openvas = scan_save_db.objects.filter(date_time__year=dash_year, date_time__month=m).aggregate(
Sum('high_total'))
for key, value in high_zap.iteritems():
if value is None:
zap_high = '0'
else:
zap_high = value
for key, value in high_burp.iteritems():
if value is None:
burp_high = '0'
else:
burp_high = value
for key, value in high_openvas.iteritems():
if value is None:
openvas_high = '0'
else:
openvas_high = value
global data
all_high_stat = int(zap_high) + int(burp_high) + int(openvas_high)
medium_zap = zap_scans_db.objects.filter(date_time__year=dash_year, date_time__month=m).aggregate(
Sum('medium_vul'))
medium_burp = burp_scan_db.objects.filter(date_time__year=dash_year, date_time__month=m).aggregate(
Sum('medium_vul'))
medium_openvas = scan_save_db.objects.filter(date_time__year=dash_year, date_time__month=m).aggregate(
Sum('medium_total'))
for key, value in medium_zap.iteritems():
if value is None:
zap_medium = '0'
else:
zap_medium = value
for key, value in medium_burp.iteritems():
if value is None:
burp_medium = '0'
else:
burp_medium = value
for key, value in medium_openvas.iteritems():
if value is None:
openvas_medium = '0'
else:
openvas_medium = value
global data
all_medium_stat = int(zap_medium) + int(burp_medium) + int(openvas_medium)
low_zap = zap_scans_db.objects.filter(date_time__year=dash_year, date_time__month=m).aggregate(
Sum('low_vul'))
low_burp = burp_scan_db.objects.filter(date_time__year=dash_year, date_time__month=m).aggregate(
Sum('low_vul'))
low_openvas = scan_save_db.objects.filter(date_time__year=dash_year, date_time__month=m).aggregate(
Sum('low_total'))
for key, value in low_zap.iteritems():
if value is None:
zap_low = '0'
else:
zap_low = value
for key, value in low_burp.iteritems():
if value is None:
burp_low = '0'
else:
burp_low = value
for key, value in low_openvas.iteritems():
if value is None:
openvas_low = '0'
else:
openvas_low = value
global data
all_low_stat = int(zap_low) + int(burp_low) + int(openvas_low)
data = {m: {'h': all_high_stat, 'm': all_medium_stat, 'l': all_low_stat}}
high_list.append(data)
except Exception as e:
print "Error got !!!"
return render(request, 'dashboard.html',
{'high_data': high_list,
'dash_year': dash_year,
'all_vuln': all_vuln, 'total_web': total_web,
'total_network': total_network, 'all_high': all_high, 'all_medium': all_medium, 'all_low': all_low,
'all_web_high': all_web_high, 'all_web_medium': all_web_medium,
'all_network_medium': all_network_medium, 'all_network_high': all_network_high,
'all_web_low': all_web_low, 'all_network_low': all_network_low
})
def project_dashboard(request):
global all_vuln, total_web, all_high, total_network, all_medium, all_low, all_web_high, all_web_medium, all_network_medium, all_web_low, all_network_low, all_network_high
all_project = project_db.objects.all()
return render(request, 'project_dashboard.html', {'all_project': all_project, })
def proj_data(request):
all_project = project_db.objects.all()
if request.GET['project_id']:
project_id = request.GET['project_id']
else:
project_id = ''
all_zap_scan = zap_scans_db.objects.filter(project_id=project_id).aggregate(Sum('total_vul'))
all_burp_scan = burp_scan_db.objects.filter(project_id=project_id).aggregate(Sum('total_vul'))
all_openvas_scan = scan_save_db.objects.filter(project_id=project_id).aggregate(Sum('total_vul'))
for key, value in all_zap_scan.iteritems():
if value is None:
all_zap = '0'
else:
all_zap = value
for key, value in all_burp_scan.iteritems():
if value is None:
all_burp = '0'
else:
all_burp = value
for key, value in all_openvas_scan.iteritems():
if value is None:
all_openvas = '0'
else:
all_openvas = value
all_vuln = int(all_zap) + int(all_burp) + int(all_openvas)
total_network = all_openvas
total_web = int(all_zap) + int(all_burp)
all_zap_high = zap_scans_db.objects.filter(project_id=project_id).aggregate(Sum('high_vul'))
all_burp_high = burp_scan_db.objects.filter(project_id=project_id).aggregate(Sum('high_vul'))
all_openvas_high = scan_save_db.objects.filter(project_id=project_id).aggregate(Sum('high_total'))
for key, value in all_zap_high.iteritems():
if value is None:
zap_high = '0'
else:
zap_high = value
for key, value in all_burp_high.iteritems():
if value is None:
burp_high = '0'
else:
burp_high = value
for key, value in all_openvas_high.iteritems():
if value is None:
openvas_high = '0'
else:
openvas_high = value
all_high = int(zap_high) + int(burp_high) + int(openvas_high)
all_web_high = int(zap_high) + int(burp_high)
all_network_high = openvas_high
all_zap_medium = zap_scans_db.objects.filter(project_id=project_id).aggregate(Sum('medium_vul'))
all_burp_medium = burp_scan_db.objects.filter(project_id=project_id).aggregate(Sum('medium_vul'))
all_openvas_medium = scan_save_db.objects.filter(project_id=project_id).aggregate(Sum('medium_total'))
for key, value in all_zap_medium.iteritems():
if value is None:
zap_medium = '0'
else:
zap_medium = value
for key, value in all_burp_medium.iteritems():
if value is None:
burp_medium = '0'
else:
burp_medium = value
for key, value in all_openvas_medium.iteritems():
if value is None:
openvas_medium = '0'
else:
openvas_medium = value
all_medium = int(zap_medium) + int(burp_medium) + int(openvas_medium)
all_web_medium = int(zap_medium) + int(burp_medium)
all_network_medium = openvas_medium
all_zap_low = zap_scans_db.objects.filter(project_id=project_id).aggregate(Sum('low_vul'))
all_burp_low = burp_scan_db.objects.filter(project_id=project_id).aggregate(Sum('low_vul'))
all_openvas_low = scan_save_db.objects.filter(project_id=project_id).aggregate(Sum('low_total'))
for key, value in all_zap_low.iteritems():
if value is None:
zap_low = '0'
else:
zap_low = value
for key, value in all_burp_low.iteritems():
if value is None:
burp_low = '0'
else:
burp_low = value
for key, value in all_openvas_low.iteritems():
if value is None:
openvas_low = '0'
else:
openvas_low = value
all_low = int(zap_low) + int(burp_low) + int(openvas_low)
all_web_low = int(zap_low) + int(burp_low)
all_network_low = openvas_low
return render(request, 'project_dashboard.html', {'all_vuln': all_vuln, 'total_web': total_web,
'total_network': total_network, 'all_high': all_high,
'all_medium': all_medium, 'all_low': all_low,
'all_web_high': all_web_high,
'all_web_medium': all_web_medium,
'all_network_medium': all_network_medium,
'all_network_high': all_network_high,
'all_web_low': all_web_low,
'all_network_low': all_network_low,
'all_project': all_project})
def web_dashboard(request):
all_burp_data = burp_scan_db.objects.all()
all_zap_data = zap_scans_db.objects.all()
all_web_data = chain(all_burp_data, all_zap_data)
return render(request, 'web_scan_dashboard.html', {'all_web_data': all_web_data})
def web_dash_data(request):
all_burp_data = burp_scan_db.objects.all()
all_zap_data = zap_scans_db.objects.all()
all_web_data = chain(all_burp_data, all_zap_data)
if request.GET['scan_id']:
scan_id = request.GET['scan_id']
else:
scan_id = ''
all_zap_scan = zap_scans_db.objects.filter(scan_scanid=scan_id).aggregate(Sum('total_vul'))
all_burp_scan = burp_scan_db.objects.filter(scan_id=scan_id).aggregate(Sum('total_vul'))
for key, value in all_zap_scan.iteritems():
if value is None:
all_zap = '0'
else:
all_zap = value
for key, value in all_burp_scan.iteritems():
if value is None:
all_burp = '0'
else:
all_burp = value
all_vuln = int(all_zap) + int(all_burp)
total_web = all_vuln
all_zap_high = zap_scans_db.objects.filter(scan_scanid=scan_id).aggregate(Sum('high_vul'))
all_burp_high = burp_scan_db.objects.filter(scan_id=scan_id).aggregate(Sum('high_vul'))
for key, value in all_zap_high.iteritems():
if value is None:
all_high_zap = '0'
else:
all_high_zap = value
for key, value in all_burp_high.iteritems():
if value is None:
all_high_burp = '0'
else:
all_high_burp = value
all_high = int(all_high_zap) + int(all_high_burp)
all_zap_medium = zap_scans_db.objects.filter(scan_scanid=scan_id).aggregate(Sum('medium_vul'))
all_burp_medium = burp_scan_db.objects.filter(scan_id=scan_id).aggregate(Sum('medium_vul'))
for key, value in all_zap_medium.iteritems():
if value is None:
all_medium_zap = '0'
else:
all_medium_zap = value
for key, value in all_burp_medium.iteritems():
if value is None:
all_medium_burp = '0'
else:
all_medium_burp = value
all_medium = int(all_medium_zap) + int(all_medium_burp)
all_zap_low = zap_scans_db.objects.filter(scan_scanid=scan_id).aggregate(Sum('low_vul'))
all_burp_low = burp_scan_db.objects.filter(scan_id=scan_id).aggregate(Sum('low_vul'))
for key, value in all_zap_low.iteritems():
if value is None:
all_low_zap = '0'
else:
all_low_zap = value
for key, value in all_burp_low.iteritems():
if value is None:
all_low_burp = '0'
else:
all_low_burp = value
all_low = int(all_low_zap) + int(all_low_burp)
return render(request, 'web_scan_dashboard.html', {'all_web_data': all_web_data, 'total_web': total_web,
'all_high': all_high, 'all_medium': all_medium,
'all_low': all_low})
def net_dashboard(request):
all_openvas_data = scan_save_db.objects.all()
all_network_data = all_openvas_data
return render(request, 'network_scan_dashboard.html', {'all_network_data': all_network_data})
def net_dash_data(request):
all_openvas_data = scan_save_db.objects.all()
all_network_data = all_openvas_data
if request.GET['scan_id']:
scan_id = request.GET['scan_id']
else:
scan_id = ''
all_openvas_scan = scan_save_db.objects.filter(scan_id=scan_id).aggregate(Sum('total_vul'))
for key, value in all_openvas_scan.iteritems():
if value is None:
all_openvas = '0'
else:
all_openvas = value
total_network = all_openvas
all_openvas_high = scan_save_db.objects.filter(scan_id=scan_id).aggregate(Sum('high_total'))
for key, value in all_openvas_high.iteritems():
if value is None:
openvas_high = '0'
else:
openvas_high = value
all_network_high = openvas_high
all_openvas_medium = scan_save_db.objects.filter(scan_id=scan_id).aggregate(Sum('medium_total'))
for key, value in all_openvas_medium.iteritems():
if value is None:
openvas_medium = '0'
else:
openvas_medium = value
all_network_medium = openvas_medium
all_openvas_low = scan_save_db.objects.filter(scan_id=scan_id).aggregate(Sum('low_total'))
for key, value in all_openvas_low.iteritems():
if value is None:
openvas_low = '0'
else:
openvas_low = value
all_network_low = openvas_low
return render(request, 'network_scan_dashboard.html',
{'all_network_data': all_network_data, 'total_network': total_network,
'all_network_high': all_network_high, 'all_network_medium': all_network_medium,
'all_network_low': all_network_low})
| 35.381877
| 174
| 0.609759
| 2,939
| 21,866
| 4.171487
| 0.033004
| 0.04845
| 0.051142
| 0.06044
| 0.908075
| 0.899592
| 0.887928
| 0.864845
| 0.841517
| 0.829038
| 0
| 0.003971
| 0.297448
| 21,866
| 617
| 175
| 35.439222
| 0.794102
| 0.002058
| 0
| 0.751012
| 0
| 0
| 0.066001
| 0.0066
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 0.018219
| null | null | 0.002024
| 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
|
58dbd9ddab5a26d9d501bc4dd689344b9da161ed
| 40,001
|
py
|
Python
|
gulinalg/tests/test_gufunc_general.py
|
grlee77/gulinalg
|
21c62eaa7d3777a3bf7fa58c66d084af7c4d5579
|
[
"BSD-2-Clause"
] | 1
|
2020-11-16T21:07:26.000Z
|
2020-11-16T21:07:26.000Z
|
gulinalg/tests/test_gufunc_general.py
|
grlee77/gulinalg
|
21c62eaa7d3777a3bf7fa58c66d084af7c4d5579
|
[
"BSD-2-Clause"
] | 7
|
2020-11-09T16:34:03.000Z
|
2021-01-21T15:43:40.000Z
|
gulinalg/tests/test_gufunc_general.py
|
grlee77/gulinalg
|
21c62eaa7d3777a3bf7fa58c66d084af7c4d5579
|
[
"BSD-2-Clause"
] | 2
|
2020-11-13T19:48:44.000Z
|
2021-04-17T14:52:11.000Z
|
"""
Tests BLAS functions. Since it supports C as well as Fortran
matrix, that leads to various combinations of matrices to test.
"""
from __future__ import print_function
from itertools import product
from functools import partial
from unittest import TestCase, skipIf
import numpy as np
from numpy.testing import (run_module_suite, assert_allclose, assert_,
assert_raises)
from pkg_resources import parse_version
import gulinalg
M = 75
N = 50
K = 100
n_batch = 8
class TestInner1d(TestCase):
def test_real(self):
a = np.random.randn(N)
b = np.random.randn(N)
res = gulinalg.inner1d(a, b)
ref = np.sum(a * b)
assert_allclose(res, ref)
def test_complex(self):
a = np.random.randn(N) + 1j * np.random.randn(N)
b = np.random.randn(N) + 1j * np.random.randn(N)
res = gulinalg.inner1d(a, b)
ref = np.sum(a * b)
assert_allclose(res, ref)
def test_real_vector(self):
a = np.random.randn(n_batch, N)
b = np.random.randn(n_batch, N)
for workers in [1, -1]:
res = gulinalg.inner1d(a, b, workers=workers)
ref = np.sum(a * b, axis=-1)
assert_allclose(res, ref)
def test_complex_vector(self):
a = np.random.randn(n_batch, N) + 1j * np.random.randn(n_batch, N)
b = np.random.randn(n_batch, N) + 1j * np.random.randn(n_batch, N)
for workers in [1, -1]:
res = gulinalg.inner1d(a, b, workers=workers)
ref = np.sum(a * b, axis=-1)
assert_allclose(res, ref)
class TestDotc1d(TestCase):
def test_complex(self):
a = np.random.randn(N) + 1j * np.random.randn(N)
b = np.random.randn(N) + 1j * np.random.randn(N)
res = gulinalg.dotc1d(a, b)
ref = np.sum(np.conj(a) * b)
assert_allclose(res, ref)
def test_complex_vector(self):
a = np.random.randn(n_batch, N) + 1j * np.random.randn(n_batch, N)
b = np.random.randn(n_batch, N) + 1j * np.random.randn(n_batch, N)
for workers in [1, -1]:
res = gulinalg.dotc1d(a, b, workers=workers)
ref = np.sum(np.conj(a) * b, axis=-1)
assert_allclose(res, ref)
class TestInnerwt(TestCase):
def test_real(self):
a = np.random.randn(N)
b = np.random.randn(N)
c = np.random.randn(N)
res = gulinalg.innerwt(a, b, c)
ref = np.sum(a * b * c)
assert_allclose(res, ref)
def test_complex(self):
a = np.random.randn(N) + 1j * np.random.randn(N)
b = np.random.randn(N) + 1j * np.random.randn(N)
c = np.random.randn(N) + 1j * np.random.randn(N)
res = gulinalg.innerwt(a, b, c)
ref = np.sum(a * b * c)
assert_allclose(res, ref)
def test_real_vector(self):
a = np.random.randn(n_batch, N)
b = np.random.randn(n_batch, N)
c = np.random.randn(n_batch, N)
for workers in [1, -1]:
res = gulinalg.innerwt(a, b, c, workers=workers)
ref = np.sum(a * b * c, axis=-1)
assert_allclose(res, ref)
def test_complex_vector(self):
a = np.random.randn(n_batch, N) + 1j * np.random.randn(n_batch, N)
b = np.random.randn(n_batch, N) + 1j * np.random.randn(n_batch, N)
c = np.random.randn(n_batch, N) + 1j * np.random.randn(n_batch, N)
for workers in [1, -1]:
res = gulinalg.innerwt(a, b, c, workers=workers)
ref = np.sum(a * b * c, axis=-1)
assert_allclose(res, ref)
class TestMatvecMultiplyNoCopy(TestCase):
"""
Tests the cases that code can handle without copy-rearranging of any of
the input/output arguments.
"""
def test_matvec_multiply_c(self):
"""Multiply C layout matrix with vector"""
a = np.ascontiguousarray(np.random.randn(M, N))
b = np.random.randn(N)
res = gulinalg.matvec_multiply(a, b)
ref = np.dot(a, b)
assert_allclose(res, ref)
def test_matvec_multiply_f(self):
"""Multiply FORTRAN layout matrix with vector"""
a = np.asfortranarray(np.random.randn(M, N))
b = np.random.randn(N)
res = gulinalg.matvec_multiply(a, b)
ref = np.dot(a, b)
assert_allclose(res, ref)
def test_matvec_multiply_cv_c(self):
"""Test for explicit C array output for C layout input matrix"""
a = np.ascontiguousarray(np.random.randn(M, N))
b = np.ascontiguousarray(np.random.randn(N))
res = np.zeros(M, order='C')
gulinalg.matvec_multiply(a, b, out=res)
ref = np.dot(a, b)
assert_allclose(res, ref)
def test_matvec_multiply_fv_c(self):
"""Test for explicit C array output for FORTRAN layout input matrix"""
a = np.asfortranarray(np.random.randn(M, N))
b = np.ascontiguousarray(np.random.randn(N))
res = np.zeros(M, order='C')
gulinalg.matvec_multiply(a, b, out=res)
ref = np.dot(a, b)
assert_allclose(res, ref)
def test_matvec_multiply_cv_f(self):
"""Test for explicit FORTRAN array output for C layout input matrix"""
a = np.ascontiguousarray(np.random.randn(M, N))
b = np.ascontiguousarray(np.random.randn(N))
res = np.zeros(M, order='F')
gulinalg.matvec_multiply(a, b, out=res)
ref = np.dot(a, b)
assert_allclose(res, ref)
def test_matvec_multiply_fv_f(self):
"""Test for explicit FORTRAN array output for F layout input matrix"""
a = np.asfortranarray(np.random.randn(M, N))
b = np.ascontiguousarray(np.random.randn(N))
res = np.zeros(M, order='F')
gulinalg.matvec_multiply(a, b, out=res)
ref = np.dot(a, b)
assert_allclose(res, ref)
def test_matvec_multiply_for_complex_numbers(self):
"""Test for complex numbers input."""
a = np.array([[1 + 2j, 3 + 4j], [5 + 6j, 7 + -8j]])
b = np.array([1 - 2j, 4 + 5j])
res = gulinalg.matvec_multiply(a, b)
ref = np.dot(a, b)
assert_allclose(res, ref)
@skipIf(parse_version(np.__version__) < parse_version('1.13'),
"Prior to 1.13, numpy low level iterators didn't support removing "
"empty axis. So gufunc couldn't be called with empty inner loop")
def test_matvec_size_zero_matrix(self):
"""Test matrix of size zero"""
a = np.random.randn(0, 2)
b = np.random.randn(2)
res = gulinalg.matvec_multiply(a, b)
ref = np.dot(a, b)
assert_allclose(res, ref)
@skipIf(parse_version(np.__version__) < parse_version('1.13'),
"Prior to 1.13, numpy low level iterators didn't support removing "
"empty axis. So gufunc couldn't be called with empty inner loop")
def test_matvec_size_zero_vector(self):
"""Test vector of size zero"""
a = np.random.randn(2, 0)
b = np.random.randn(0)
res = gulinalg.matvec_multiply(a, b)
ref = np.dot(a, b)
assert_allclose(res, ref)
def test_matvec_size_one_vector(self):
"""Test vector of size one"""
a = np.random.randn(1, 1)
b = np.random.randn(1)
res = gulinalg.matvec_multiply(a, b)
ref = np.dot(a, b)
assert_allclose(res, ref)
def test_matvec_multiply_batch_b(self):
"""Multiply C layout matrix with stack of vectors"""
a = np.ascontiguousarray(np.random.randn(M, N))
b = np.random.randn(n_batch, N)
for workers in [1, -1]:
res = gulinalg.matvec_multiply(a, b)
ref = np.matmul(a, b[:, :, np.newaxis])[..., 0]
assert_allclose(res, ref)
def test_matvec_multiply_batch_a(self):
"""Multiply C layout stack of matrices with a vector"""
a = np.ascontiguousarray(np.random.randn(n_batch, M, N))
b = np.random.randn(N)
for workers in [1, -1]:
res = gulinalg.matvec_multiply(a, b)
ref = np.matmul(a, b[:, np.newaxis])[..., 0]
assert_allclose(res, ref)
def test_matvec_multiply_batch_both(self):
"""Multiply C layout stack of matrices and vectors"""
a = np.ascontiguousarray(np.random.randn(n_batch, M, N))
b = np.random.randn(n_batch, N)
for workers in [1, -1]:
res = gulinalg.matvec_multiply(a, b)
ref = np.matmul(a, b[:, :, np.newaxis])[..., 0]
assert_allclose(res, ref)
def test_matvec_multiply_batch_both_out(self):
"""Multiply C layout stack of matrices and vectors"""
a = np.ascontiguousarray(np.random.randn(n_batch, M, N))
b = np.random.randn(n_batch, N)
res = np.zeros((n_batch, M), dtype=a.dtype)
for workers in [1, -1]:
gulinalg.matvec_multiply(a, b, out=res)
ref = np.matmul(a, b[:, :, np.newaxis])[..., 0]
assert_allclose(res, ref)
class TestMatvecMultiplyWithCopy(TestCase):
"""
Test the cases where there is at least one operand/output that requires
copy/rearranging.
"""
def test_input_non_contiguous_1(self):
"""First input not contiguous"""
a = np.ascontiguousarray(np.random.randn(M, N, 2))[:, :, 0]
b = np.ascontiguousarray(np.random.randn(N))
res = np.zeros(M, order='C')
assert not a.flags.c_contiguous and not a.flags.f_contiguous
gulinalg.matvec_multiply(a, b, out=res)
ref = np.dot(a, b)
assert_allclose(res, ref)
def test_input_non_contiguous_2(self):
"""Second input not contiguous"""
a = np.ascontiguousarray(np.random.randn(M, N))
b = np.ascontiguousarray(np.random.randn(N, 2))[:, 0]
res = np.zeros(M, order='C')
assert not b.flags.c_contiguous and not b.flags.f_contiguous
gulinalg.matvec_multiply(a, b, out=res)
ref = np.dot(a, b)
assert_allclose(res, ref)
def test_input_non_contiguous_3(self):
"""Neither input contiguous"""
a = np.ascontiguousarray(np.random.randn(M, N, 2))[:, :, 0]
b = np.ascontiguousarray(np.random.randn(N, 2))[:, 0]
res = np.zeros(M, order='C')
assert not a.flags.c_contiguous and not a.flags.f_contiguous
assert not b.flags.c_contiguous and not b.flags.f_contiguous
gulinalg.matvec_multiply(a, b, out=res)
ref = np.dot(a, b)
assert_allclose(res, ref)
def test_output_non_contiguous(self):
"""Output not contiguous"""
a = np.ascontiguousarray(np.random.randn(M, N))
b = np.ascontiguousarray(np.random.randn(N))
res = np.zeros((M, 2), order='C')[:, 0]
assert not res.flags.c_contiguous and not res.flags.f_contiguous
gulinalg.matvec_multiply(a, b, out=res)
ref = np.dot(a, b)
assert_allclose(res, ref)
def test_all_non_contiguous(self):
"""Neither input nor output contiguous"""
a = np.ascontiguousarray(np.random.randn(M, N, 2))[:, :, 0]
b = np.ascontiguousarray(np.random.randn(N, 2))[:, 0]
res = np.zeros((M, 2), order='C')[:, 0]
assert not a.flags.c_contiguous and not a.flags.f_contiguous
assert not b.flags.c_contiguous and not b.flags.f_contiguous
assert not res.flags.c_contiguous and not res.flags.f_contiguous
gulinalg.matvec_multiply(a, b, out=res)
ref = np.dot(a, b)
assert_allclose(res, ref)
def test_stride_tricks(self):
"""Test that matrices that are contiguous but have their dimension
overlapped *copy*, as BLAS does not support them"""
a = np.ascontiguousarray(np.random.randn(M + N))
a = np.lib.stride_tricks.as_strided(a,
shape=(M, N),
strides=(a.itemsize, a.itemsize))
b = np.ascontiguousarray(np.random.randn(N))
res = gulinalg.matvec_multiply(a, b)
ref = np.dot(a, b)
assert_allclose(res, ref)
def test_matvec_multiply_batch_both_out_non_contiguous(self):
"""Multiply C layout stack of matrices and vectors"""
a = np.random.randn(n_batch, M, N, 2)[..., 0]
b = np.random.randn(n_batch, N, 2)[..., 0]
res = np.zeros((n_batch, M, 2), dtype=a.dtype)[..., 0]
for workers in [1, -1]:
gulinalg.matvec_multiply(a, b, out=res)
ref = np.matmul(a, b[:, :, np.newaxis])[..., 0]
assert_allclose(res, ref)
class TestMatvecMultiplyVector(TestCase):
"""Tests showing that the gufunc stuff works"""
def test_vector(self):
"""test vectorized matrix multiply"""
a = np.ascontiguousarray(np.random.randn(10, M, N))
b = np.ascontiguousarray(np.random.randn(10, N))
res = gulinalg.matvec_multiply(a, b)
assert res.shape == (10, M)
ref = np.stack([np.dot(a[i], b[i]) for i in range(len(a))])
assert_allclose(res, ref)
def test_broadcast(self):
"""test broadcast matrix multiply"""
a = np.ascontiguousarray(np.random.randn(M, N))
b = np.ascontiguousarray(np.random.randn(10, N))
res = gulinalg.matvec_multiply(a, b)
assert res.shape == (10, M)
ref = np.stack([np.dot(a, b[i]) for i in range(len(b))])
assert_allclose(res, ref)
def test_nan_handling(self):
"""NaN in one output shouldn't contaminate remaining outputs"""
a = np.eye(2)
b = np.array([[1.0, 2.0], [np.nan, 1.0]])
ref = np.array([[1., 2.], [np.nan, np.nan]])
res = gulinalg.matvec_multiply(a, b)
assert_allclose(res, ref)
def test_infinity_handling(self):
"""Infinity in one output shouldn't contaminate remaining outputs"""
a = np.eye(2)
b = np.array([[1.0, 2.0], [np.inf, 1.0]])
ref = np.array([[1., 2.], [np.inf, np.nan]])
res = gulinalg.matvec_multiply(a, b)
assert_allclose(res, ref)
@skipIf(parse_version(np.__version__) < parse_version('1.13'),
"Prior to 1.13, numpy low level iterators didn't support removing "
"empty axis. So gufunc couldn't be called with empty inner loop")
def test_size_zero_vector(self):
"""Test broadcasting for vector of size zero"""
a = np.ascontiguousarray(np.random.randn(10, 2, 0))
b = np.ascontiguousarray(np.random.randn(10, 0))
res = gulinalg.matvec_multiply(a, b)
assert res.shape == (10, 2)
ref = np.stack([np.dot(a[i], b[i]) for i in range(len(a))])
assert_allclose(res, ref)
@skipIf(parse_version(np.__version__) < parse_version('1.13'),
"Prior to 1.13, numpy low level iterators didn't support removing "
"empty axis. So gufunc couldn't be called with empty inner loop")
def test_size_zero_matrix(self):
"""Test broadcasting for matrix of size zero"""
a = np.ascontiguousarray(np.random.randn(10, 0, 2))
b = np.ascontiguousarray(np.random.randn(10, 2))
res = gulinalg.matvec_multiply(a, b)
assert res.shape == (10, 0)
ref = np.stack([np.dot(a[i], b[i]) for i in range(len(a))])
assert_allclose(res, ref)
def test_size_one_vector(self):
"""Test broadcasting for vector of size one"""
a = np.ascontiguousarray(np.random.randn(10, 1, 1))
b = np.ascontiguousarray(np.random.randn(10, 1))
res = gulinalg.matvec_multiply(a, b)
assert res.shape == (10, 1)
ref = np.stack([np.dot(a[i], b[i]) for i in range(len(a))])
assert_allclose(res, ref)
class TestUpdateRank1Copy(TestCase):
"""
Tests the cases that code can handle without copy-rearranging of any of
the input/output arguments.
"""
def test_update_rank1_c(self):
"""Rank update on C layout matrix"""
a = np.random.randn(M)
b = np.random.randn(N)
c = np.ascontiguousarray(np.random.randn(M, N))
res = gulinalg.update_rank1(a, b, c)
ref = np.dot(a.reshape(M, 1), b.reshape(1, N)) + c
assert_allclose(res, ref)
def test_update_rank1_f(self):
"""Rank update on F layout matrix"""
a = np.random.randn(M)
b = np.random.randn(N)
c = np.asfortranarray(np.random.randn(M, N))
res = gulinalg.update_rank1(a, b, c)
ref = np.dot(a.reshape(M, 1), b.reshape(1, N)) + c
assert_allclose(res, ref)
def test_update_rank1_for_complex_numbers(self):
"""Test for complex numbers"""
a = np.array([1 + 3j, 3 - 4j])
b = np.array([1 - 2j, 4 + 5j])
c = np.array([[1 + 2j, 3 + 4j], [5 + 6j, 7 + -8j]])
res = gulinalg.update_rank1(a, b, c)
ref = np.dot(a.reshape(2, 1), b.conj().reshape(1, 2)) + c
assert_allclose(res, ref)
def test_update_rank1_for_complex_numbers_no_conjugate_transpose(self):
"""Test for complex numbers but no conjuage transpose"""
a = np.array([1 + 3j, 3 - 4j])
b = np.array([1 - 2j, 4 + 5j])
c = np.array([[1 + 2j, 3 + 4j], [5 + 6j, 7 + -8j]])
res = gulinalg.update_rank1(a, b, c, conjugate=False)
ref = np.dot(a.reshape(2, 1), b.reshape(1, 2)) + c
assert_allclose(res, ref)
def test_update_rank1_c_c(self):
"""Rank1 update on C layout matrix, explicit C array output"""
a = np.array([2, 3, 4])
b = np.array([1, 3, 4, 5])
c = np.arange(1, 13).reshape(3, 4)
res = np.zeros((3, 4), order='C')
gulinalg.update_rank1(a, b, c, out=res)
ref = np.dot(a.reshape(3, 1), b.reshape(1, 4)) + c
assert_allclose(res, ref)
def test_update_rank1_f_c(self):
"""Rank1 update on F layout matrix, explicit C array output"""
a = np.array([2, 3, 4])
b = np.array([1, 3, 4, 5])
c = np.asfortranarray(np.arange(1, 13).reshape(3, 4))
res = np.zeros((3, 4), order='C')
gulinalg.update_rank1(a, b, c, out=res)
ref = np.dot(a.reshape(3, 1), b.reshape(1, 4)) + c
assert_allclose(res, ref)
def test_update_rank1_c_f(self):
"""Rank1 update on C layout matrix, explicit F array output"""
a = np.array([2, 3, 4])
b = np.array([1, 3, 4, 5])
c = np.arange(1, 13).reshape(3, 4)
res = np.zeros((3, 4), order='F')
gulinalg.update_rank1(a, b, c, out=res)
ref = np.dot(a.reshape(3, 1), b.reshape(1, 4)) + c
assert_allclose(res, ref)
def test_update_rank1_f_f(self):
"""Rank1 update on F layout matrix, explicit F array output"""
a = np.array([2, 3, 4])
b = np.array([1, 3, 4, 5])
c = np.asfortranarray(np.arange(1, 13).reshape(3, 4))
res = np.zeros((3, 4), order='F')
gulinalg.update_rank1(a, b, c, out=res)
ref = np.dot(a.reshape(3, 1), b.reshape(1, 4)) + c
assert_allclose(res, ref)
@skipIf(parse_version(np.__version__) < parse_version('1.13'),
"Prior to 1.13, numpy low level iterators didn't support removing "
"empty axis. So gufunc couldn't be called with empty inner loop")
def test_size_zero_vector(self):
"""Test vector input of size zero"""
a = np.zeros(1)
b = np.zeros(0)
c = np.ascontiguousarray(np.random.randn(1, 0))
res = gulinalg.update_rank1(a, b, c)
ref = np.dot(np.zeros((1, 0)), np.zeros((0, 0))) + c
assert_allclose(res, ref)
@skipIf(parse_version(np.__version__) < parse_version('1.13'),
"Prior to 1.13, numpy low level iterators didn't support removing "
"empty axis. So gufunc couldn't be called with empty inner loop")
def test_size_zero_matrix(self):
"""Test matrix input of size zero"""
a = np.zeros(0)
b = np.zeros(2)
c = np.full((0, 2), np.nan)
res = gulinalg.update_rank1(a, b, c)
ref = np.dot(np.zeros((0, 0)), np.zeros((0, 2))) + c
assert_allclose(res, ref)
def test_size_one_vector(self):
"""Test vector inputs of size one"""
a = np.random.randn(1)
b = np.random.randn(1)
c = np.ascontiguousarray(np.random.randn(1, 1))
res = gulinalg.update_rank1(a, b, c)
ref = np.dot(a.reshape(1, 1), b.reshape(1, 1)) + c
assert_allclose(res, ref)
class TestUpdateRank1WithCopy(TestCase):
"""
Test the cases where there is at least one operand/output that requires
copy/rearranging.
"""
def test_input_non_contiguous_vectors(self):
"""Not contiguous vector inputs"""
a = np.ascontiguousarray(np.random.randn(M, N, 2))[:, 0, 0]
b = np.ascontiguousarray(np.random.randn(M, N, 2))[0, :, 0]
c = np.ascontiguousarray(np.random.randn(M, N))
assert not a.flags.c_contiguous and not a.flags.f_contiguous
assert not b.flags.c_contiguous and not b.flags.f_contiguous
for workers in [1, -1]:
res = gulinalg.update_rank1(a, b, c, workers=workers)
ref = np.dot(a.reshape(M, 1), b.reshape(1, N)) + c
assert_allclose(res, ref)
def test_input_non_contiguous_matrix(self):
"""Non contiguous matrix input"""
a = np.random.randn(M)
b = np.random.randn(N)
c = np.ascontiguousarray(np.random.randn(M, N, 2))[:, :, 0]
assert not c.flags.c_contiguous and not c.flags.f_contiguous
res = gulinalg.update_rank1(a, b, c)
ref = np.dot(a.reshape(M, 1), b.reshape(1, N)) + c
assert_allclose(res, ref)
def test_output_non_contiguous(self):
"""Output not contiguous"""
a = np.random.randn(M)
b = np.random.randn(N)
c = np.ascontiguousarray(np.random.randn(M, N))
res = np.zeros((M, N, 2), order='C')[:, :, 0]
gulinalg.update_rank1(a, b, c, out=res)
ref = np.dot(a.reshape(M, 1), b.reshape(1, N)) + c
assert_allclose(res, ref)
def test_stride_tricks(self):
"""test that matrices that are contiguous but have their dimension
overlapped *copy*, as BLAS does not support them"""
a = np.random.randn(M)
b = np.random.randn(N)
c = np.ascontiguousarray(np.random.randn(M + N))
c = np.lib.stride_tricks.as_strided(a,
shape=(M, N),
strides=(c.itemsize, c.itemsize))
res = gulinalg.update_rank1(a, b, c)
ref = np.dot(a.reshape(M, 1), b.reshape(1, N)) + c
assert_allclose(res, ref)
class TestUpdateRank1Vector(TestCase):
"""Tests showing that the gufunc stuff works"""
def test_vector(self):
"""test vectorized rank1 update"""
a = np.ascontiguousarray(np.random.randn(10, M))
b = np.ascontiguousarray(np.random.randn(10, N))
c = np.ascontiguousarray(np.random.randn(10, M, N))
for workers in [1, -1]:
res = gulinalg.update_rank1(a, b, c, workers=workers)
assert res.shape == (10, M, N)
ref = np.stack([np.dot(a[i].reshape(M, 1), b[i].reshape(1, N)) + c[i]
for i in range(len(c))])
assert_allclose(res, ref)
def test_broadcast(self):
"""test broadcast rank1 update"""
a = np.ascontiguousarray(np.random.randn(10, M))
b = np.ascontiguousarray(np.random.randn(10, N))
c = np.ascontiguousarray(np.random.randn(M, N))
for workers in [1, -1]:
res = gulinalg.update_rank1(a, b, c, workers=workers)
assert res.shape == (10, M, N)
ref = np.stack([np.dot(a[i].reshape(M, 1), b[i].reshape(1, N)) + c
for i in range(len(b))])
assert_allclose(res, ref)
def test_nan_handling(self):
"""NaN in one output shouldn't contaminate remaining outputs"""
a = np.array([[1, 2], [1, np.nan]])
b = np.array([3, 4])
c = np.array([[1, 2], [3, 4]])
ref = np.array([[[4, 6], [9, 12]],
[[4, 6], [np.nan, np.nan]]])
res = gulinalg.update_rank1(a, b, c)
assert_allclose(res, ref)
def test_infinity_handling(self):
"""Infinity in one output shouldn't contaminate remaining outputs"""
a = np.array([[1, 2], [1, np.inf]])
b = np.array([3, 4])
c = np.array([[1, 2], [3, 4]])
ref = np.array([[[4, 6], [9, 12]],
[[4, 6], [np.inf, np.inf]]])
res = gulinalg.update_rank1(a, b, c)
assert_allclose(res, ref)
@skipIf(parse_version(np.__version__) < parse_version('1.13'),
"Prior to 1.13, numpy low level iterators didn't support removing "
"empty axis. So gufunc couldn't be called with empty inner loop")
def test_size_zero_vector(self):
"""Test broadcasting for matrix input of size zero"""
a = np.ascontiguousarray(np.random.randn(10, 1))
b = np.ascontiguousarray(np.random.randn(10, 0))
c = np.ascontiguousarray(np.random.randn(10, 1, 0))
res = gulinalg.update_rank1(a, b, c)
assert res.shape == (10, 1, 0)
ref = np.stack([np.dot(np.zeros((1, 0)), np.zeros((0, 0))) + c[i]
for i in range(len(c))])
assert_allclose(res, ref)
@skipIf(parse_version(np.__version__) < parse_version('1.13'),
"Prior to 1.13, numpy low level iterators didn't support removing "
"empty axis. So gufunc couldn't be called with empty inner loop")
def test_size_zero_matrix(self):
"""Test broadcasting for matrix input of size zero"""
a = np.ascontiguousarray(np.random.randn(10, 0))
b = np.ascontiguousarray(np.random.randn(10, 2))
c = np.ascontiguousarray(np.random.randn(10, 0, 2))
res = gulinalg.update_rank1(a, b, c)
assert res.shape == (10, 0, 2)
ref = np.stack([np.dot(np.zeros((0, 0)), np.zeros((0, 2))) + c[i]
for i in range(len(c))])
assert_allclose(res, ref)
def test_size_one_vector(self):
"""Test broadcasting for vector inputs of size one"""
a = np.ascontiguousarray(np.random.randn(10, 1))
b = np.ascontiguousarray(np.random.randn(10, 1))
c = np.ascontiguousarray(np.random.randn(10, 1, 1))
res = gulinalg.update_rank1(a, b, c)
assert res.shape == (10, 1, 1)
ref = np.stack([np.dot(a[i].reshape(1, 1), b[i].reshape(1, 1)) + c[i]
for i in range(len(c))])
assert_allclose(res, ref)
class TestSyrk(TestCase):
def test_syrk_zeros_c(self):
gufunc = partial(gulinalg.update_rankk, sym_out=False)
for a_trans in [True, False]:
for dtype in [np.float32, np.float64]:
a = np.array([[1., 0.],
[0., -2.],
[2., 3.]], dtype=dtype)
if a_trans:
a = a.T
c = np.zeros((a.shape[0],)*2, dtype=dtype)
expected = np.dot(a, a.T) + c
# test upper triangular case
r = gufunc(a, c, transpose_type='N', UPLO='U')
assert_allclose(np.triu(expected), r)
assert_(r.dtype == a.dtype)
# test lower triangular case
r = gufunc(a, c, transpose_type='N', UPLO='L')
assert_allclose(np.tril(expected), r)
assert_(r.dtype == a.dtype)
# test upper triangular case with transpose_type='T'
r = gufunc(a.T, c, transpose_type='T', UPLO='U')
assert_allclose(np.triu(expected), r)
assert_(r.dtype == a.dtype)
# test lower triangular case with transpose_type='T'
r = gufunc(a.T, c, transpose_type='T', UPLO='L')
assert_allclose(np.tril(expected), r)
assert_(r.dtype == a.dtype)
def test_syrk_ones_c(self):
gufunc = partial(gulinalg.update_rankk, sym_out=False)
for a_trans in [True, False]:
for dtype in [np.float32, np.float64]:
a = np.array([[1., 0.],
[0., -2.],
[2., 3.]], dtype=dtype)
if a_trans:
a = a.T
c = np.ones((a.shape[0],)*2, dtype=dtype)
tmp = np.dot(a, a.T) + c
mask_upper = np.triu(c) > 0
mask_lower = np.tril(c) > 0
expected_lower = tmp.copy()
expected_lower[~mask_lower] = c[~mask_lower]
expected_upper = tmp.copy()
expected_upper[~mask_upper] = c[~mask_upper]
# test upper triangular case
r = gufunc(a, c, transpose_type='N', UPLO='U')
assert_allclose(expected_upper, r)
assert_(r.dtype == a.dtype)
# test lower triangular case
r = gufunc(a, c, transpose_type='N', UPLO='L')
assert_allclose(expected_lower, r)
assert_(r.dtype == a.dtype)
# test upper triangular case, with transpose_type='T'
r = gufunc(a.T, c, transpose_type='T', UPLO='U')
assert_allclose(expected_upper, r)
assert_(r.dtype == a.dtype)
# test lower triangular case, with transpose_type='T'
r = gufunc(a.T, c, transpose_type='T', UPLO='L')
assert_allclose(expected_lower, r)
assert_(r.dtype == a.dtype)
def test_syrk_broadcasted(self):
for sym_out, workers in product([False, True], [1, -1]):
gufunc = partial(gulinalg.update_rankk, sym_out=sym_out,
workers=workers)
for a_trans in [True, False]:
for dtype in [np.float32, np.float64]:
a = np.array([[1., 0.],
[0., -2.],
[2., 3.]], dtype=dtype)
if a_trans:
a = a.T
c = np.zeros((a.shape[0],)*2, dtype=dtype)
expected = np.dot(a, a.swapaxes(-1, -2)) + c
a = np.stack((a, ) * n_batch, axis=0) # stack
# test upper triangular case
r = gufunc(a, c, transpose_type='N', UPLO='U')
for i in range(n_batch):
if sym_out:
assert_allclose(expected, r[i])
else:
assert_allclose(np.triu(expected), r[i])
assert_(r.dtype == a.dtype)
# test upper triangular case with extra c dimensions
c_4d = c[np.newaxis, np.newaxis, ...]
r = gufunc(a, c_4d, transpose_type='N', UPLO='U')
for i in range(n_batch):
if sym_out:
assert_allclose(expected, r[0][i])
else:
assert_allclose(np.triu(expected), r[0][i])
assert_(r.dtype == a.dtype)
# test lower triangular case
r = gufunc(a, c, transpose_type='N', UPLO='L')
for i in range(n_batch):
if sym_out:
assert_allclose(expected, r[i])
else:
assert_allclose(np.tril(expected), r[i])
assert_(r.dtype == a.dtype)
# test upper triangular case with transpose_type='T'
r = gufunc(a.swapaxes(-1, -2), c, transpose_type='T',
UPLO='U')
for i in range(n_batch):
if sym_out:
assert_allclose(expected, r[i])
else:
assert_allclose(np.triu(expected), r[i])
assert_(r.dtype == a.dtype)
# test lower triangular case
r = gufunc(a, c, transpose_type='N', UPLO='L')
for i in range(n_batch):
if sym_out:
assert_allclose(expected, r[i])
else:
assert_allclose(np.tril(expected), r[i])
assert_(r.dtype == a.dtype)
# test upper triangular case with transpose_type='T'
r = gufunc(a.swapaxes(-1, -2), c, transpose_type='T',
UPLO='U')
for i in range(n_batch):
if sym_out:
assert_allclose(expected, r[i])
else:
assert_allclose(np.triu(expected), r[i])
assert_(r.dtype == a.dtype)
# test lower triangular case with transpose_type='T'
r = gufunc(a.swapaxes(-1, -2), c, transpose_type='T',
UPLO='L')
for i in range(n_batch):
if sym_out:
assert_allclose(expected, r[i])
else:
assert_allclose(np.tril(expected), r[i])
assert_(r.dtype == a.dtype)
def test_syrk_no_c_broadcasted(self):
for sym_out, workers in product([False, True], [1, -1]):
gufunc = partial(gulinalg.update_rankk, sym_out=sym_out,
workers=workers)
for a_trans in [True, False]:
for dtype in [np.float32, np.float64]:
a = np.array([[1., 0.],
[0., -2.],
[2., 3.]], dtype=dtype)
if a_trans:
a = a.T
c = np.zeros((a.shape[0],)*2, dtype=dtype)
expected = np.dot(a, a.swapaxes(-1, -2)) + c
a = np.stack((a, ) * n_batch, axis=0) # stack
# test upper triangular case
r = gufunc(a, transpose_type='N', UPLO='U')
for i in range(n_batch):
if sym_out:
assert_allclose(expected, r[i])
else:
assert_allclose(np.triu(expected), r[i])
assert_(r.dtype == a.dtype)
# test lower triangular case
r = gufunc(a, transpose_type='N', UPLO='L')
for i in range(n_batch):
if sym_out:
assert_allclose(expected, r[i])
else:
assert_allclose(np.tril(expected), r[i])
assert_(r.dtype == a.dtype)
# test upper triangular case with transpose_type='T'
r = gufunc(a.swapaxes(-1, -2), transpose_type='T',
UPLO='U')
for i in range(n_batch):
if sym_out:
assert_allclose(expected, r[i])
else:
assert_allclose(np.triu(expected), r[i])
assert_(r.dtype == a.dtype)
# test lower triangular case
r = gufunc(a, transpose_type='N', UPLO='L')
for i in range(n_batch):
if sym_out:
assert_allclose(expected, r[i])
else:
assert_allclose(np.tril(expected), r[i])
assert_(r.dtype == a.dtype)
def test_syrk_wrong_shape(self):
for a_trans in [True, False]:
for dtype in [np.float32, np.float64]:
a = np.array([[1., 0.],
[0., -2.],
[2., 3.]], dtype=dtype)
if a_trans:
a = a.T
# use wrong axis size for c when transpose_type='N'
c = np.zeros((a.shape[-1],)*2, dtype=dtype)
with assert_raises(ValueError):
gulinalg.update_rankk(a, c, transpose_type='N')
# use wrong axis size for c when transpose_type='T'
c = np.zeros((a.shape[0],)*2, dtype=dtype)
with assert_raises(ValueError):
gulinalg.update_rankk(a, c, transpose_type='T')
def test_syrk_wrong_dtype(self):
for dtype in [np.complex64, np.complex128]:
a = np.ones((3, 3), dtype=dtype)
c = np.zeros_like(a)
with assert_raises(NotImplementedError):
gulinalg.update_rankk(a, c)
def test_syrk_invalid_uplo(self):
a = np.ones((3, 3), dtype=np.float64)
c = np.zeros_like(a)
with assert_raises(ValueError):
gulinalg.update_rankk(a, c, UPLO='X')
def test_syrk_invalid_transpose_type(self):
a = np.ones((3, 3), dtype=np.float64)
c = np.zeros_like(a)
with assert_raises(ValueError):
gulinalg.update_rankk(a, c, transpose_type='X')
def test_syrk_invalid_workers(self):
a = np.ones((3, 3), dtype=np.float64)
with assert_raises(ValueError):
gulinalg.update_rankk(a, workers=0)
class TestQuadraticForm(TestCase):
"""Tests for Quadratic Form u * Q * v"""
def test_quadratic_c(self):
"""test vectorized matrix multiply"""
u = np.random.randn(M)
q = np.random.randn(M, N)
v = np.random.randn(N)
res = gulinalg.quadratic_form(u, q, v)
ref = np.dot(u[np.newaxis, :], np.dot(q, v[:, np.newaxis]))
assert_allclose(res, ref)
def test_quadratic_broadcast_u(self):
"""test vectorized matrix multiply"""
u = np.random.randn(n_batch, M)
q = np.random.randn(M, N)
v = np.random.randn(N)
for workers in [1, -1]:
res = gulinalg.quadratic_form(u, q, v, workers=workers)
ref = [np.squeeze(np.dot(u[i:i+1, :], np.dot(q, v[:, np.newaxis])))
for i in range(n_batch)]
assert_allclose(res, ref)
def test_quadratic_broadcast_uv(self):
"""test vectorized matrix multiply"""
u = np.random.randn(n_batch, M)
q = np.random.randn(M, N)
v = np.random.randn(n_batch, N)
for workers in [1, -1]:
res = gulinalg.quadratic_form(u, q, v, workers=workers)
ref = [np.squeeze(np.dot(u[i:i+1, :],
np.dot(q, v[i, :, np.newaxis])))
for i in range(n_batch)]
assert_allclose(res, ref)
def test_quadratic_broadcast_uqv(self):
"""test vectorized matrix multiply"""
u = np.random.randn(n_batch, M)
q = np.random.randn(n_batch, M, N)
v = np.random.randn(n_batch, N)
for workers in [1, -1]:
res = gulinalg.quadratic_form(u, q, v, workers=workers)
ref = [np.squeeze(np.dot(u[i:i+1, :],
np.dot(q[i, ...], v[i, :, np.newaxis])))
for i in range(n_batch)]
assert_allclose(res, ref)
def test_quadratic_broadcast_uqv_contiguity(self):
"""test vectorized matrix multiply"""
u = np.asfortranarray(np.random.randn(n_batch, M))
q = np.random.randn(n_batch, M, N, 2)[..., 0] # non-contiguous
v = np.random.randn(n_batch, N)
for workers in [1, -1]:
res = gulinalg.quadratic_form(u, q, v, workers=workers)
ref = [np.squeeze(np.dot(u[i:i+1, :],
np.dot(q[i, ...], v[i, :, np.newaxis])))
for i in range(n_batch)]
assert_allclose(res, ref)
if __name__ == '__main__':
run_module_suite()
| 41.323347
| 81
| 0.540361
| 5,534
| 40,001
| 3.789302
| 0.048609
| 0.05341
| 0.086791
| 0.050072
| 0.9268
| 0.916118
| 0.899952
| 0.879685
| 0.841679
| 0.820982
| 0
| 0.023646
| 0.324417
| 40,001
| 967
| 82
| 41.366081
| 0.752331
| 0.096398
| 0
| 0.759784
| 0
| 0
| 0.031121
| 0
| 0
| 0
| 0
| 0
| 0.192982
| 1
| 0.099865
| false
| 0
| 0.010796
| 0
| 0.125506
| 0.00135
| 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
|
18933dcb68d61b788e16a2f6d41cae8479660afa
| 51,083
|
py
|
Python
|
tests/test_failure_reasons.py
|
dargor/stories
|
550a36506c5ec0a4603c0f14a3c5fe52132ef6bf
|
[
"BSD-2-Clause"
] | null | null | null |
tests/test_failure_reasons.py
|
dargor/stories
|
550a36506c5ec0a4603c0f14a3c5fe52132ef6bf
|
[
"BSD-2-Clause"
] | null | null | null |
tests/test_failure_reasons.py
|
dargor/stories
|
550a36506c5ec0a4603c0f14a3c5fe52132ef6bf
|
[
"BSD-2-Clause"
] | null | null | null |
import enum
import pytest
from stories import story
from stories.exceptions import FailureError, FailureProtocolError
# Story definition.
def test_wrong_definition():
"""We check types used in failures definition."""
class T(object):
@story
def x(I):
I.one
expected = "Unexpected type for story failure protocol: 'boom'"
with pytest.raises(FailureProtocolError) as exc_info:
T.x.failures("boom")
assert str(exc_info.value) == expected
expected = "Unexpected type for story failure protocol: ['foo', 'bar', None]"
with pytest.raises(FailureProtocolError) as exc_info:
T.x.failures(["foo", "bar", None])
assert str(exc_info.value) == expected
# Arguments of the Failure class.
def test_reasons_defined_with_list(f):
"""We can use list of strings to define story failure protocol."""
class T(f.ChildWithList, f.StringMethod):
pass
class Q(f.ParentWithList, f.NormalParentMethod, T):
pass
class J(f.ParentWithList, f.NormalParentMethod):
def __init__(self):
self.x = T().x
# Simple.
assert T().x.failures == ["foo", "bar", "baz"]
with pytest.raises(FailureError) as exc_info:
T().x()
assert repr(exc_info.value) == "FailureError('foo')"
result = T().x.run()
assert not result.is_success
assert result.is_failure
assert result.failed_because("foo")
# Substory inheritance.
assert Q().a.failures == ["foo", "bar", "baz"]
with pytest.raises(FailureError) as exc_info:
Q().a()
assert repr(exc_info.value) == "FailureError('foo')"
result = Q().a.run()
assert not result.is_success
assert result.is_failure
assert result.failed_because("foo")
# Substory DI.
assert J().a.failures == ["foo", "bar", "baz"]
with pytest.raises(FailureError) as exc_info:
J().a()
assert repr(exc_info.value) == "FailureError('foo')"
result = J().a.run()
assert not result.is_success
assert result.is_failure
assert result.failed_because("foo")
def test_reasons_defined_with_enum(f):
"""We can use enum class to define story failure protocol."""
class T(f.ChildWithEnum, f.EnumMethod):
pass
class Q(f.ParentWithEnum, f.NormalParentMethod, T):
pass
class J(f.ParentWithEnum, f.NormalParentMethod):
def __init__(self):
self.x = T().x
# Simple.
assert isinstance(T().x.failures, enum.EnumMeta)
assert set(T().x.failures.__members__.keys()) == {"foo", "bar", "baz"}
with pytest.raises(FailureError) as exc_info:
T().x()
assert repr(exc_info.value) == "FailureError(<Errors.foo: 1>)"
result = T().x.run()
assert not result.is_success
assert result.is_failure
assert result.failed_because(T().x.failures.foo)
# Substory inheritance.
assert isinstance(Q().a.failures, enum.EnumMeta)
assert set(Q().a.failures.__members__.keys()) == {"foo", "bar", "baz"}
with pytest.raises(FailureError) as exc_info:
Q().a()
assert repr(exc_info.value) == "FailureError(<Errors.foo: 1>)"
result = Q().a.run()
assert not result.is_success
assert result.is_failure
assert result.failed_because(Q().a.failures.foo)
# Substory DI.
assert isinstance(J().a.failures, enum.EnumMeta)
assert set(J().a.failures.__members__.keys()) == {"foo", "bar", "baz"}
with pytest.raises(FailureError) as exc_info:
J().a()
assert repr(exc_info.value) == "FailureError(<Errors.foo: 1>)"
result = J().a.run()
assert not result.is_success
assert result.is_failure
assert result.failed_because(J().a.failures.foo)
def test_wrong_reason_with_list(f):
"""
We deny to use wrong reason in stories defined with list of
strings as its failure protocol.
"""
class T(f.ChildWithList, f.WrongMethod):
pass
class Q(f.ParentWithList, f.NormalParentMethod, T):
pass
class J(f.ParentWithList, f.NormalParentMethod):
def __init__(self):
self.x = T().x
# Simple.
expected = """
Failure("'foo' is too big") failure reason is not allowed by current protocol.
Available failures are: 'foo', 'bar', 'baz'
Function returned value: T.one
""".strip()
assert T().x.failures == ["foo", "bar", "baz"]
with pytest.raises(FailureProtocolError) as exc_info:
T().x()
assert str(exc_info.value) == expected
with pytest.raises(FailureProtocolError) as exc_info:
T().x.run()
assert str(exc_info.value) == expected
# Substory inheritance.
expected = """
Failure("'foo' is too big") failure reason is not allowed by current protocol.
Available failures are: 'foo', 'bar', 'baz'
Function returned value: Q.one
""".strip()
assert Q().a.failures == ["foo", "bar", "baz"]
with pytest.raises(FailureProtocolError) as exc_info:
Q().a()
assert str(exc_info.value) == expected
with pytest.raises(FailureProtocolError) as exc_info:
Q().a.run()
assert str(exc_info.value) == expected
# Substory DI.
expected = """
Failure("'foo' is too big") failure reason is not allowed by current protocol.
Available failures are: 'foo', 'bar', 'baz'
Function returned value: T.one
""".strip()
assert J().a.failures == ["foo", "bar", "baz"]
with pytest.raises(FailureProtocolError) as exc_info:
J().a()
assert str(exc_info.value) == expected
with pytest.raises(FailureProtocolError) as exc_info:
J().a.run()
assert str(exc_info.value) == expected
def test_wrong_reason_with_enum(f):
"""
We deny to use wrong reason in stories defined with enum class as
its failure protocol.
"""
class T(f.ChildWithEnum, f.WrongMethod):
pass
class Q(f.ParentWithEnum, f.NormalParentMethod, T):
pass
class J(f.ParentWithEnum, f.NormalParentMethod):
def __init__(self):
self.x = T().x
# Simple.
expected = """
Failure("'foo' is too big") failure reason is not allowed by current protocol.
Available failures are: <Errors.foo: 1>, <Errors.bar: 2>, <Errors.baz: 3>
Function returned value: T.one
""".strip()
assert isinstance(T().x.failures, enum.EnumMeta)
assert set(T().x.failures.__members__.keys()) == {"foo", "bar", "baz"}
with pytest.raises(FailureProtocolError) as exc_info:
T().x()
assert str(exc_info.value) == expected
with pytest.raises(FailureProtocolError) as exc_info:
T().x.run()
assert str(exc_info.value) == expected
# Substory inheritance.
expected = """
Failure("'foo' is too big") failure reason is not allowed by current protocol.
Available failures are: <Errors.foo: 1>, <Errors.bar: 2>, <Errors.baz: 3>
Function returned value: Q.one
""".strip()
assert isinstance(Q().a.failures, enum.EnumMeta)
assert set(Q().a.failures.__members__.keys()) == {"foo", "bar", "baz"}
with pytest.raises(FailureProtocolError) as exc_info:
Q().a()
assert str(exc_info.value) == expected
with pytest.raises(FailureProtocolError) as exc_info:
Q().a.run()
assert str(exc_info.value) == expected
# Substory DI.
expected = """
Failure("'foo' is too big") failure reason is not allowed by current protocol.
Available failures are: <Errors.foo: 1>, <Errors.bar: 2>, <Errors.baz: 3>
Function returned value: T.one
""".strip()
assert isinstance(J().a.failures, enum.EnumMeta)
assert set(J().a.failures.__members__.keys()) == {"foo", "bar", "baz"}
with pytest.raises(FailureProtocolError) as exc_info:
J().a()
assert str(exc_info.value) == expected
with pytest.raises(FailureProtocolError) as exc_info:
J().a.run()
assert str(exc_info.value) == expected
def test_null_reason_with_list(f):
"""
We deny to use Failure() in stories defined with list of strings
as its failure protocol.
"""
class T(f.ChildWithList, f.NullMethod):
pass
class Q(f.ParentWithList, f.NormalParentMethod, T):
pass
class J(f.ParentWithList, f.NormalParentMethod):
def __init__(self):
self.x = T().x
# Simple.
expected = """
Failure() can not be used in a story with failure protocol.
Available failures are: 'foo', 'bar', 'baz'
Function returned value: T.one
Use one of them as Failure() argument.
""".strip()
assert T().x.failures == ["foo", "bar", "baz"]
with pytest.raises(FailureProtocolError) as exc_info:
T().x()
assert str(exc_info.value) == expected
with pytest.raises(FailureProtocolError) as exc_info:
T().x.run()
assert str(exc_info.value) == expected
# Substory inheritance.
expected = """
Failure() can not be used in a story with failure protocol.
Available failures are: 'foo', 'bar', 'baz'
Function returned value: Q.one
Use one of them as Failure() argument.
""".strip()
assert Q().a.failures == ["foo", "bar", "baz"]
with pytest.raises(FailureProtocolError) as exc_info:
Q().a()
assert str(exc_info.value) == expected
with pytest.raises(FailureProtocolError) as exc_info:
Q().a.run()
assert str(exc_info.value) == expected
# Substory DI.
expected = """
Failure() can not be used in a story with failure protocol.
Available failures are: 'foo', 'bar', 'baz'
Function returned value: T.one
Use one of them as Failure() argument.
""".strip()
assert J().a.failures == ["foo", "bar", "baz"]
with pytest.raises(FailureProtocolError) as exc_info:
J().a()
assert str(exc_info.value) == expected
with pytest.raises(FailureProtocolError) as exc_info:
J().a.run()
assert str(exc_info.value) == expected
def test_null_reason_with_enum(f):
"""
We deny to use Failure() in stories defined with enum class as its
failure protocol.
"""
class T(f.ChildWithEnum, f.NullMethod):
pass
class Q(f.ParentWithEnum, f.NormalParentMethod, T):
pass
class J(f.ParentWithEnum, f.NormalParentMethod):
def __init__(self):
self.x = T().x
# Simple.
expected = """
Failure() can not be used in a story with failure protocol.
Available failures are: <Errors.foo: 1>, <Errors.bar: 2>, <Errors.baz: 3>
Function returned value: T.one
Use one of them as Failure() argument.
""".strip()
assert isinstance(T().x.failures, enum.EnumMeta)
assert set(T().x.failures.__members__.keys()) == {"foo", "bar", "baz"}
with pytest.raises(FailureProtocolError) as exc_info:
T().x()
assert str(exc_info.value) == expected
with pytest.raises(FailureProtocolError) as exc_info:
T().x.run()
assert str(exc_info.value) == expected
# Substory inheritance.
expected = """
Failure() can not be used in a story with failure protocol.
Available failures are: <Errors.foo: 1>, <Errors.bar: 2>, <Errors.baz: 3>
Function returned value: Q.one
Use one of them as Failure() argument.
""".strip()
assert isinstance(Q().a.failures, enum.EnumMeta)
assert set(Q().a.failures.__members__.keys()) == {"foo", "bar", "baz"}
with pytest.raises(FailureProtocolError) as exc_info:
Q().a()
assert str(exc_info.value) == expected
with pytest.raises(FailureProtocolError) as exc_info:
Q().a.run()
assert str(exc_info.value) == expected
# Substory DI.
expected = """
Failure() can not be used in a story with failure protocol.
Available failures are: <Errors.foo: 1>, <Errors.bar: 2>, <Errors.baz: 3>
Function returned value: T.one
Use one of them as Failure() argument.
""".strip()
assert isinstance(J().a.failures, enum.EnumMeta)
assert set(J().a.failures.__members__.keys()) == {"foo", "bar", "baz"}
with pytest.raises(FailureProtocolError) as exc_info:
J().a()
assert str(exc_info.value) == expected
with pytest.raises(FailureProtocolError) as exc_info:
J().a.run()
assert str(exc_info.value) == expected
def test_reason_without_protocol(f):
"""
We deny to use Failure('reason') in stories defined without
failure protocol.
"""
class T(f.ChildWithNull, f.WrongMethod):
pass
class Q(f.ParentWithNull, f.NormalParentMethod, T):
pass
class J(f.ParentWithNull, f.NormalParentMethod):
def __init__(self):
self.x = T().x
# Simple.
expected = """
Failure("'foo' is too big") can not be used in a story without failure protocol.
Function returned value: T.one
Use 'failures' story method to define failure protocol.
""".strip()
assert T().x.failures is None
with pytest.raises(FailureProtocolError) as exc_info:
T().x()
assert str(exc_info.value) == expected
with pytest.raises(FailureProtocolError) as exc_info:
T().x.run()
assert str(exc_info.value) == expected
# Substory inheritance.
expected = """
Failure("'foo' is too big") can not be used in a story without failure protocol.
Function returned value: Q.one
Use 'failures' story method to define failure protocol.
""".strip()
assert Q().a.failures is None
with pytest.raises(FailureProtocolError) as exc_info:
Q().a()
assert str(exc_info.value) == expected
with pytest.raises(FailureProtocolError) as exc_info:
Q().a.run()
assert str(exc_info.value) == expected
# Substory DI.
expected = """
Failure("'foo' is too big") can not be used in a story without failure protocol.
Function returned value: T.one
Use 'failures' story method to define failure protocol.
""".strip()
assert J().a.failures is None
with pytest.raises(FailureProtocolError) as exc_info:
J().a()
assert str(exc_info.value) == expected
with pytest.raises(FailureProtocolError) as exc_info:
J().a.run()
assert str(exc_info.value) == expected
# Arguments of the result class methods.
@pytest.mark.parametrize("method", ["NormalMethod", "StringMethod"])
def test_summary_wrong_reason_with_list(f, method):
"""
Summary classes should verify failure reason passed to the
`failed_because` method.
"""
class T(f.ChildWithList, getattr(f, method)):
pass
class Q(f.ParentWithList, f.NormalParentMethod, T):
pass
class J(f.ParentWithList, f.NormalParentMethod):
def __init__(self):
self.x = T().x
# Simple.
expected = """
'failed_because' method got argument mismatching failure protocol: "'foo' is too big"
Available failures are: 'foo', 'bar', 'baz'
Story returned result: T.x
""".strip()
assert T().x.failures == ["foo", "bar", "baz"]
result = T().x.run()
with pytest.raises(FailureProtocolError) as exc_info:
result.failed_because("'foo' is too big")
assert str(exc_info.value) == expected
# Substory inheritance.
expected = """
'failed_because' method got argument mismatching failure protocol: "'foo' is too big"
Available failures are: 'foo', 'bar', 'baz'
Story returned result: Q.a
""".strip()
assert Q().a.failures == ["foo", "bar", "baz"]
result = Q().a.run()
with pytest.raises(FailureProtocolError) as exc_info:
result.failed_because("'foo' is too big")
assert str(exc_info.value) == expected
# Substory DI.
expected = """
'failed_because' method got argument mismatching failure protocol: "'foo' is too big"
Available failures are: 'foo', 'bar', 'baz'
Story returned result: J.a
""".strip()
assert J().a.failures == ["foo", "bar", "baz"]
result = J().a.run()
with pytest.raises(FailureProtocolError) as exc_info:
result.failed_because("'foo' is too big")
assert str(exc_info.value) == expected
@pytest.mark.parametrize("method", ["NormalMethod", "EnumMethod"])
def test_summary_wrong_reason_with_enum(f, method):
"""
Summary classes should verify failure reason passed to the
`failed_because` method.
"""
class T(f.ChildWithEnum, getattr(f, method)):
pass
class Q(f.ParentWithEnum, f.NormalParentMethod, T):
pass
class J(f.ParentWithEnum, f.NormalParentMethod):
def __init__(self):
self.x = T().x
# Simple.
expected = """
'failed_because' method got argument mismatching failure protocol: "'foo' is too big"
Available failures are: <Errors.foo: 1>, <Errors.bar: 2>, <Errors.baz: 3>
Story returned result: T.x
""".strip()
assert isinstance(T().x.failures, enum.EnumMeta)
assert set(T().x.failures.__members__.keys()) == {"foo", "bar", "baz"}
result = T().x.run()
with pytest.raises(FailureProtocolError) as exc_info:
result.failed_because("'foo' is too big")
assert str(exc_info.value) == expected
# Substory inheritance.
expected = """
'failed_because' method got argument mismatching failure protocol: "'foo' is too big"
Available failures are: <Errors.foo: 1>, <Errors.bar: 2>, <Errors.baz: 3>
Story returned result: Q.a
""".strip()
assert isinstance(Q().a.failures, enum.EnumMeta)
assert set(Q().a.failures.__members__.keys()) == {"foo", "bar", "baz"}
result = Q().a.run()
with pytest.raises(FailureProtocolError) as exc_info:
result.failed_because("'foo' is too big")
assert str(exc_info.value) == expected
# Substory DI.
expected = """
'failed_because' method got argument mismatching failure protocol: "'foo' is too big"
Available failures are: <Errors.foo: 1>, <Errors.bar: 2>, <Errors.baz: 3>
Story returned result: J.a
""".strip()
assert isinstance(J().a.failures, enum.EnumMeta)
assert set(J().a.failures.__members__.keys()) == {"foo", "bar", "baz"}
result = J().a.run()
with pytest.raises(FailureProtocolError) as exc_info:
result.failed_because("'foo' is too big")
assert str(exc_info.value) == expected
@pytest.mark.parametrize("method", ["NormalMethod", "NullMethod"])
def test_summary_reason_without_protocol(f, method):
"""
Summary classes should deny to use `failed_because` method on
stories defined without failure protocol.
"""
class T(f.ChildWithNull, getattr(f, method)):
pass
class Q(f.ParentWithNull, f.NormalParentMethod, T):
pass
class J(f.ParentWithNull, f.NormalParentMethod):
def __init__(self):
self.x = T().x
# Simple.
expected = """
'failed_because' method can not be used with story defined without failure protocol.
Story returned result: T.x
Use 'failures' story method to define failure protocol.
""".strip()
assert T().x.failures is None
result = T().x.run()
with pytest.raises(FailureProtocolError) as exc_info:
result.failed_because("'foo' is too big")
assert str(exc_info.value) == expected
# Substory inheritance.
expected = """
'failed_because' method can not be used with story defined without failure protocol.
Story returned result: Q.a
Use 'failures' story method to define failure protocol.
""".strip()
assert Q().a.failures is None
result = Q().a.run()
with pytest.raises(FailureProtocolError) as exc_info:
result.failed_because("'foo' is too big")
assert str(exc_info.value) == expected
# Substory DI.
expected = """
'failed_because' method can not be used with story defined without failure protocol.
Story returned result: J.a
Use 'failures' story method to define failure protocol.
""".strip()
assert J().a.failures is None
result = J().a.run()
with pytest.raises(FailureProtocolError) as exc_info:
result.failed_because("'foo' is too big")
assert str(exc_info.value) == expected
def test_use_expanded_protocol_in_summary_result_with_list(f):
"""
We should allow to use `failed_because` method with expanded
protocol.
"""
class T(f.ChildWithList, f.NormalMethod):
pass
class Q(f.ShrinkParentWithList, f.NormalParentMethod, T):
pass
class J(f.ShrinkParentWithList, f.NormalParentMethod):
def __init__(self):
self.x = T().x
# Substory inheritance.
result = Q().a.run()
assert result.is_success
assert not result.is_failure
assert not result.failed_because("foo")
assert not result.failed_because("bar")
assert not result.failed_because("baz")
assert not result.failed_because("quiz")
# Substory DI.
result = J().a.run()
assert result.is_success
assert not result.is_failure
assert not result.failed_because("foo")
assert not result.failed_because("bar")
assert not result.failed_because("baz")
assert not result.failed_because("quiz")
def test_use_expanded_protocol_in_summary_result_with_enum(f):
"""
We should allow to use `failed_because` method with expanded
protocol.
"""
class T(f.ChildWithEnum, f.NormalMethod):
pass
class Q(f.ShrinkParentWithEnum, f.NormalParentMethod, T):
pass
class J(f.ShrinkParentWithEnum, f.NormalParentMethod):
def __init__(self):
self.x = T().x
# Substory inheritance.
result = Q().a.run()
assert result.is_success
assert not result.is_failure
assert not result.failed_because(Q().a.failures.foo)
assert not result.failed_because(Q().a.failures.bar)
assert not result.failed_because(Q().a.failures.baz)
assert not result.failed_because(Q().a.failures.quiz)
# Substory DI.
result = J().a.run()
assert result.is_success
assert not result.is_failure
assert not result.failed_because(J().a.failures.foo)
assert not result.failed_because(J().a.failures.bar)
assert not result.failed_because(J().a.failures.baz)
assert not result.failed_because(J().a.failures.quiz)
# Composition of the stories.
def test_substory_protocol_match_with_empty(f):
"""
We should allow to use stories composition, if parent story and
substory does not define failure protocols.
"""
class T(f.ChildWithNull, f.NullMethod):
pass
class Q(f.ParentWithNull, f.NormalParentMethod, T):
pass
class J(f.ParentWithNull, f.NormalParentMethod):
def __init__(self):
self.x = T().x
# Substory inheritance.
Q().a.failures is None
with pytest.raises(FailureError) as exc_info:
Q().a()
assert repr(exc_info.value) == "FailureError()"
result = Q().a.run()
assert result.is_failure
# Substory DI.
J().a.failures is None
with pytest.raises(FailureError) as exc_info:
J().a()
assert repr(exc_info.value) == "FailureError()"
result = J().a.run()
assert result.is_failure
def test_substory_protocol_match_with_list(f):
"""
We should allow to use stories composition, if parent story
protocol is a superset of the substory protocol.
"""
class T(f.ChildWithList, f.StringMethod):
pass
class Q(f.WideParentWithList, f.NormalParentMethod, T):
pass
class J(f.WideParentWithList, f.NormalParentMethod):
def __init__(self):
self.x = T().x
# Substory inheritance.
assert Q().a.failures == ["foo", "bar", "baz", "quiz"]
with pytest.raises(FailureError) as exc_info:
Q().a()
assert repr(exc_info.value) == "FailureError('foo')"
result = Q().a.run()
assert result.failed_because("foo")
# Substory DI.
assert J().a.failures == ["foo", "bar", "baz", "quiz"]
with pytest.raises(FailureError) as exc_info:
J().a()
assert repr(exc_info.value) == "FailureError('foo')"
result = J().a.run()
assert result.failed_because("foo")
def test_substory_protocol_match_with_enum(f):
"""
We should allow to use stories composition, if parent story
protocol is a superset of the substory protocol.
"""
class T(f.ChildWithEnum, f.EnumMethod):
pass
class Q(f.WideParentWithEnum, f.NormalParentMethod, T):
pass
class J(f.WideParentWithEnum, f.NormalParentMethod):
def __init__(self):
self.x = T().x
# Substory inheritance.
assert isinstance(Q().a.failures, enum.EnumMeta)
assert set(Q().a.failures.__members__.keys()) == {"foo", "bar", "baz", "quiz"}
with pytest.raises(FailureError) as exc_info:
Q().a()
assert repr(exc_info.value) == "FailureError(<Errors.foo: 1>)"
result = Q().a.run()
assert result.failed_because(Q().a.failures.foo)
# Substory DI.
assert isinstance(J().a.failures, enum.EnumMeta)
assert set(J().a.failures.__members__.keys()) == {"foo", "bar", "baz", "quiz"}
with pytest.raises(FailureError) as exc_info:
J().a()
assert repr(exc_info.value) == "FailureError(<Errors.foo: 1>)"
result = J().a.run()
assert result.failed_because(J().a.failures.foo)
def test_expand_substory_protocol_null_with_list(f):
"""
We expand protocol of composed story, if substory does not define
failure protocols and parent story define protocol with list of
strings.
"""
class T(f.ChildWithNull, f.NormalMethod):
pass
class Q(f.ParentWithList, f.NormalParentMethod, T):
pass
class J(f.ParentWithList, f.NormalParentMethod):
def __init__(self):
self.x = T().x
# Substory inheritance.
assert Q().a.failures == ["foo", "bar", "baz"]
result = Q().a()
assert result is None
result = Q().a.run()
assert result.is_success
assert result.value is None
# Substory DI.
assert J().a.failures == ["foo", "bar", "baz"]
result = J().a()
assert result is None
result = J().a.run()
assert result.is_success
assert result.value is None
def test_expand_substory_protocol_null_with_enum(f):
"""
We expand protocol of composed story, if substory does not define
protocol and parent story define protocol with enum class.
"""
class T(f.ChildWithNull, f.NormalMethod):
pass
class Q(f.ParentWithEnum, f.NormalParentMethod, T):
pass
class J(f.ParentWithEnum, f.NormalParentMethod):
def __init__(self):
self.x = T().x
# Substory inheritance.
assert isinstance(Q().a.failures, enum.EnumMeta)
assert set(Q().a.failures.__members__.keys()) == {"foo", "bar", "baz"}
result = Q().a()
assert result is None
result = Q().a.run()
assert result.is_success
assert result.value is None
# Substory DI.
assert isinstance(J().a.failures, enum.EnumMeta)
assert set(J().a.failures.__members__.keys()) == {"foo", "bar", "baz"}
result = J().a()
assert result is None
result = J().a.run()
assert result.is_success
assert result.value is None
def test_deny_failure_substory_without_protocol_story_protocol_with_list(f):
"""
Substory defined without failure protocol can not return Failure,
if this substory was composed with parent story defined with list
of strings as failure protocol.
"""
class T(f.ChildWithNull, f.NullMethod):
pass
class Q(f.ParentWithList, f.NormalParentMethod, T):
pass
class J(f.ParentWithList, f.NormalParentMethod):
def __init__(self):
self.x = T().x
# Substory inheritance.
expected = """
Failure() can not be used in a story composition.
Different types of failure protocol were used in parent and substory definitions.
Function returned value: Q.one
Use 'failures' story method to define failure protocol.
""".strip()
assert Q().a.failures == ["foo", "bar", "baz"]
with pytest.raises(FailureProtocolError) as exc_info:
Q().a()
assert str(exc_info.value) == expected
with pytest.raises(FailureProtocolError) as exc_info:
Q().a.run()
assert str(exc_info.value) == expected
# Substory DI.
expected = """
Failure() can not be used in a story composition.
Different types of failure protocol were used in parent and substory definitions.
Function returned value: T.one
Use 'failures' story method to define failure protocol.
""".strip()
assert J().a.failures == ["foo", "bar", "baz"]
with pytest.raises(FailureProtocolError) as exc_info:
J().a()
assert str(exc_info.value) == expected
with pytest.raises(FailureProtocolError) as exc_info:
J().a.run()
assert str(exc_info.value) == expected
def test_deny_failure_substory_without_protocol_story_protocol_with_enum(f):
"""
Substory defined without failure protocol can not return Failure,
if this substory was composed with parent story defined with enum
as failure protocol.
"""
class T(f.ChildWithNull, f.NullMethod):
pass
class Q(f.ParentWithEnum, f.NormalParentMethod, T):
pass
class J(f.ParentWithEnum, f.NormalParentMethod):
def __init__(self):
self.x = T().x
# Substory inheritance.
expected = """
Failure() can not be used in a story composition.
Different types of failure protocol were used in parent and substory definitions.
Function returned value: Q.one
Use 'failures' story method to define failure protocol.
""".strip()
assert isinstance(Q().a.failures, enum.EnumMeta)
assert set(Q().a.failures.__members__.keys()) == {"foo", "bar", "baz"}
with pytest.raises(FailureProtocolError) as exc_info:
Q().a()
assert str(exc_info.value) == expected
with pytest.raises(FailureProtocolError) as exc_info:
Q().a.run()
assert str(exc_info.value) == expected
# Substory DI.
expected = """
Failure() can not be used in a story composition.
Different types of failure protocol were used in parent and substory definitions.
Function returned value: T.one
Use 'failures' story method to define failure protocol.
""".strip()
assert isinstance(J().a.failures, enum.EnumMeta)
assert set(J().a.failures.__members__.keys()) == {"foo", "bar", "baz"}
with pytest.raises(FailureProtocolError) as exc_info:
J().a()
assert str(exc_info.value) == expected
with pytest.raises(FailureProtocolError) as exc_info:
J().a.run()
assert str(exc_info.value) == expected
def test_deny_failure_story_without_protocol_substory_protocol_with_list(f):
"""
Story defined without failure protocol can not return Failure, if
this story was composed with substory defined with list of strings
as failure protocol.
"""
class T(f.ChildWithList, f.NormalMethod):
pass
class Q(f.ParentWithNull, f.NullParentMethod, T):
pass
class J(f.ParentWithNull, f.NullParentMethod):
def __init__(self):
self.x = T().x
# Substory inheritance.
expected = """
Failure() can not be used in a story composition.
Different types of failure protocol were used in parent and substory definitions.
Function returned value: Q.before
Use 'failures' story method to define failure protocol.
""".strip()
assert Q().a.failures == ["foo", "bar", "baz"]
with pytest.raises(FailureProtocolError) as exc_info:
Q().a()
assert str(exc_info.value) == expected
with pytest.raises(FailureProtocolError) as exc_info:
Q().a.run()
assert str(exc_info.value) == expected
# Substory DI.
expected = """
Failure() can not be used in a story composition.
Different types of failure protocol were used in parent and substory definitions.
Function returned value: J.before
Use 'failures' story method to define failure protocol.
""".strip()
assert J().a.failures == ["foo", "bar", "baz"]
with pytest.raises(FailureProtocolError) as exc_info:
J().a()
assert str(exc_info.value) == expected
with pytest.raises(FailureProtocolError) as exc_info:
J().a.run()
assert str(exc_info.value) == expected
def test_deny_failure_story_without_protocol_substory_protocol_with_enum(f):
"""
Story defined without failure protocol can not return Failure, if
this story was composed with substory defined with enum as failure
protocol.
"""
class T(f.ChildWithEnum, f.NormalMethod):
pass
class Q(f.ParentWithNull, f.NullParentMethod, T):
pass
class J(f.ParentWithNull, f.NullParentMethod):
def __init__(self):
self.x = T().x
# Substory inheritance.
expected = """
Failure() can not be used in a story composition.
Different types of failure protocol were used in parent and substory definitions.
Function returned value: Q.before
Use 'failures' story method to define failure protocol.
""".strip()
assert isinstance(Q().a.failures, enum.EnumMeta)
assert set(Q().a.failures.__members__.keys()) == {"foo", "bar", "baz"}
with pytest.raises(FailureProtocolError) as exc_info:
Q().a()
assert str(exc_info.value) == expected
with pytest.raises(FailureProtocolError) as exc_info:
Q().a.run()
assert str(exc_info.value) == expected
# Substory DI.
expected = """
Failure() can not be used in a story composition.
Different types of failure protocol were used in parent and substory definitions.
Function returned value: J.before
Use 'failures' story method to define failure protocol.
""".strip()
assert isinstance(J().a.failures, enum.EnumMeta)
assert set(J().a.failures.__members__.keys()) == {"foo", "bar", "baz"}
with pytest.raises(FailureProtocolError) as exc_info:
J().a()
assert str(exc_info.value) == expected
with pytest.raises(FailureProtocolError) as exc_info:
J().a.run()
assert str(exc_info.value) == expected
def test_expand_substory_protocol_list_with_null(f):
"""
We expand protocol of composed story, if substory define protocol
with list of strings and parent story does not define protocol.
"""
class T(f.ChildWithList, f.NormalMethod):
pass
class Q(f.ParentWithNull, f.NormalParentMethod, T):
pass
class J(f.ParentWithNull, f.NormalParentMethod):
def __init__(self):
self.x = T().x
# Substory inheritance.
assert Q().a.failures == ["foo", "bar", "baz"]
result = Q().a()
assert result is None
result = Q().a.run()
assert result.is_success
assert result.value is None
# Substory DI.
assert J().a.failures == ["foo", "bar", "baz"]
result = J().a()
assert result is None
result = J().a.run()
assert result.is_success
assert result.value is None
def test_expand_substory_protocol_enum_with_null(f):
"""
We expand protocol of composed story, if substory define protocol
with enum class and parent story does not define protocol.
"""
class T(f.ChildWithEnum, f.NormalMethod):
pass
class Q(f.ParentWithNull, f.NormalParentMethod, T):
pass
class J(f.ParentWithNull, f.NormalParentMethod):
def __init__(self):
self.x = T().x
# Substory inheritance.
assert isinstance(Q().a.failures, enum.EnumMeta)
assert set(Q().a.failures.__members__.keys()) == {"foo", "bar", "baz"}
result = Q().a()
assert result is None
result = Q().a.run()
assert result.is_success
assert result.value is None
# Substory DI.
assert isinstance(J().a.failures, enum.EnumMeta)
assert set(J().a.failures.__members__.keys()) == {"foo", "bar", "baz"}
result = J().a()
assert result is None
result = J().a.run()
assert result.is_success
assert result.value is None
def test_expand_substory_protocol_list_with_list(f):
"""
We expand protocol of composed story, if substory and parent story
define protocol with list of strings.
"""
class T(f.ChildWithList, f.StringMethod):
pass
class Q(f.ShrinkParentWithList, f.NormalParentMethod, T):
pass
class J(f.ShrinkParentWithList, f.NormalParentMethod):
def __init__(self):
self.x = T().x
# Substory inheritance.
assert Q().a.failures == ["foo", "quiz", "bar", "baz"]
with pytest.raises(FailureError) as exc_info:
Q().a()
assert repr(exc_info.value) == "FailureError('foo')"
result = Q().a.run()
assert result.failed_because("foo")
# Substory DI.
assert J().a.failures == ["foo", "quiz", "bar", "baz"]
with pytest.raises(FailureError) as exc_info:
J().a()
assert repr(exc_info.value) == "FailureError('foo')"
result = J().a.run()
assert result.failed_because("foo")
def test_expand_substory_protocol_enum_with_enum(f):
"""
We expand protocol of composed story, if substory and parent story
define protocol with enum class.
"""
class T(f.ChildWithEnum, f.EnumMethod):
pass
class Q(f.ShrinkParentWithEnum, f.NormalParentMethod, T):
pass
class J(f.ShrinkParentWithEnum, f.NormalParentMethod):
def __init__(self):
self.x = T().x
# Substory inheritance.
assert isinstance(Q().a.failures, enum.EnumMeta)
assert set(Q().a.failures.__members__.keys()) == {"foo", "bar", "baz", "quiz"}
with pytest.raises(FailureError) as exc_info:
Q().a()
assert repr(exc_info.value) == "FailureError(<Errors.foo: 1>)"
result = Q().a.run()
assert result.failed_because(Q().a.failures.foo)
# Substory DI.
assert isinstance(J().a.failures, enum.EnumMeta)
assert set(J().a.failures.__members__.keys()) == {"foo", "bar", "baz", "quiz"}
with pytest.raises(FailureError) as exc_info:
J().a()
assert repr(exc_info.value) == "FailureError(<Errors.foo: 1>)"
result = J().a.run()
assert result.failed_because(J().a.failures.foo)
def test_expand_sequential_substory_protocol_list_with_null(f):
"""
If parent story consist from sequential substories, we should
merge their failure protocols together.
"""
class T(f.ChildWithList, f.StringMethod):
pass
class E(f.NextChildWithNull, f.NormalMethod):
pass
class Q(f.SequenceParentWithNull, f.NormalParentMethod, T, E):
pass
class J(f.SequenceParentWithNull, f.NormalParentMethod):
def __init__(self):
self.x = T().x
self.y = E().y
# Substory inheritance.
assert Q().a.failures == ["foo", "bar", "baz"]
with pytest.raises(FailureError) as exc_info:
Q().a()
assert repr(exc_info.value) == "FailureError('foo')"
result = Q().a.run()
assert result.failed_because("foo")
# Substory DI.
assert J().a.failures == ["foo", "bar", "baz"]
with pytest.raises(FailureError) as exc_info:
J().a()
assert repr(exc_info.value) == "FailureError('foo')"
result = J().a.run()
assert result.failed_because("foo")
def test_expand_sequential_substory_protocol_enum_with_null(f):
"""
If parent story consist from sequential substories, we should
merge their failure protocols together.
"""
class T(f.ChildWithEnum, f.EnumMethod):
pass
class E(f.NextChildWithNull, f.NormalMethod):
pass
class Q(f.SequenceParentWithNull, f.NormalParentMethod, T, E):
pass
class J(f.SequenceParentWithNull, f.NormalParentMethod):
def __init__(self):
self.x = T().x
self.y = E().y
# Substory inheritance.
assert isinstance(Q().a.failures, enum.EnumMeta)
assert set(Q().a.failures.__members__.keys()) == {"foo", "bar", "baz"}
with pytest.raises(FailureError) as exc_info:
Q().a()
assert repr(exc_info.value) == "FailureError(<Errors.foo: 1>)"
result = Q().a.run()
assert result.failed_because(Q().a.failures.foo)
# Substory DI.
assert isinstance(J().a.failures, enum.EnumMeta)
assert set(J().a.failures.__members__.keys()) == {"foo", "bar", "baz"}
with pytest.raises(FailureError) as exc_info:
J().a()
assert repr(exc_info.value) == "FailureError(<Errors.foo: 1>)"
result = J().a.run()
assert result.failed_because(J().a.failures.foo)
def test_expand_sequential_substory_protocol_list_with_list(f):
"""
If parent story consist from sequential substories, we should
merge their failure protocols together.
"""
class T(f.ChildWithList, f.StringMethod):
pass
class E(f.NextChildWithList, f.StringMethod):
pass
class Q(f.SequenceParentWithNull, f.NormalParentMethod, T, E):
pass
class J(f.SequenceParentWithNull, f.NormalParentMethod):
def __init__(self):
self.x = T().x
self.y = E().y
# Substory inheritance.
assert Q().a.failures == ["foo", "bar", "baz", "spam", "ham", "eggs"]
with pytest.raises(FailureError) as exc_info:
Q().a()
assert repr(exc_info.value) == "FailureError('foo')"
result = Q().a.run()
assert result.failed_because("foo")
# Substory DI.
assert J().a.failures == ["foo", "bar", "baz", "spam", "ham", "eggs"]
with pytest.raises(FailureError) as exc_info:
J().a()
assert repr(exc_info.value) == "FailureError('foo')"
result = J().a.run()
assert result.failed_because("foo")
def test_expand_sequential_substory_protocol_enum_with_enum(f):
"""
If parent story consist from sequential substories, we should
merge their failure protocols together.
"""
class T(f.ChildWithEnum, f.EnumMethod):
pass
class E(f.NextChildWithEnum, f.EnumMethod):
pass
class Q(f.SequenceParentWithNull, f.NormalParentMethod, T, E):
pass
class J(f.SequenceParentWithNull, f.NormalParentMethod):
def __init__(self):
self.x = T().x
self.y = E().y
# Substory inheritance.
assert isinstance(Q().a.failures, enum.EnumMeta)
assert set(Q().a.failures.__members__.keys()) == {
"foo",
"bar",
"baz",
"spam",
"ham",
"eggs",
}
with pytest.raises(FailureError) as exc_info:
Q().a()
assert repr(exc_info.value) == "FailureError(<Errors.foo: 1>)"
result = Q().a.run()
assert result.failed_because(Q().a.failures.foo)
# Substory DI.
assert isinstance(J().a.failures, enum.EnumMeta)
assert set(J().a.failures.__members__.keys()) == {
"foo",
"bar",
"baz",
"spam",
"ham",
"eggs",
}
with pytest.raises(FailureError) as exc_info:
J().a()
assert repr(exc_info.value) == "FailureError(<Errors.foo: 1>)"
result = J().a.run()
assert result.failed_because(J().a.failures.foo)
def test_composition_type_error_list_with_enum(f):
"""We can't combine different types of stories and substories."""
class T(f.ChildWithList, f.StringMethod):
pass
class Q(f.ParentWithEnum, f.NormalParentMethod, T):
pass
class J(f.ParentWithEnum, f.NormalParentMethod):
def __init__(self):
self.x = T().x
# Substory inheritance.
expected = """
Story and substory failure protocols has incompatible types:
Story method: Q.a
Story failure protocol: <Errors.foo: 1>, <Errors.bar: 2>, <Errors.baz: 3>
Substory method: Q.x
Substory failure protocol: 'foo', 'bar', 'baz'
""".strip()
with pytest.raises(FailureProtocolError) as exc_info:
Q().a
assert str(exc_info.value) == expected
# Substory DI.
expected = """
Story and substory failure protocols has incompatible types:
Story method: J.a
Story failure protocol: <Errors.foo: 1>, <Errors.bar: 2>, <Errors.baz: 3>
Substory method: T.x
Substory failure protocol: 'foo', 'bar', 'baz'
""".strip()
with pytest.raises(FailureProtocolError) as exc_info:
J().a
assert str(exc_info.value) == expected
def test_composition_type_error_enum_with_list(f):
"""We can't combine different types of stories and substories."""
class T(f.ChildWithEnum, f.EnumMethod):
pass
class Q(f.ParentWithList, f.NormalParentMethod, T):
pass
class J(f.ParentWithList, f.NormalParentMethod):
def __init__(self):
self.x = T().x
# Substory inheritance.
expected = """
Story and substory failure protocols has incompatible types:
Story method: Q.a
Story failure protocol: 'foo', 'bar', 'baz'
Substory method: Q.x
Substory failure protocol: <Errors.foo: 1>, <Errors.bar: 2>, <Errors.baz: 3>
""".strip()
with pytest.raises(FailureProtocolError) as exc_info:
Q().a
assert str(exc_info.value) == expected
# Substory DI.
expected = """
Story and substory failure protocols has incompatible types:
Story method: J.a
Story failure protocol: 'foo', 'bar', 'baz'
Substory method: T.x
Substory failure protocol: <Errors.foo: 1>, <Errors.bar: 2>, <Errors.baz: 3>
""".strip()
with pytest.raises(FailureProtocolError) as exc_info:
J().a
assert str(exc_info.value) == expected
def test_deny_substory_reason_parent_story_protocol_with_list(f):
"""
We deny to use Failure reason from the parent story protocol in
the substory method.
"""
class T(f.ChildWithNull, f.StringMethod):
pass
class Q(f.ParentWithList, f.NormalParentMethod, T):
pass
class J(f.ParentWithList, f.NormalParentMethod):
def __init__(self):
self.x = T().x
# Substory inheritance.
expected = """
Failure('foo') can not be used in a story without failure protocol.
Function returned value: Q.one
Use 'failures' story method to define failure protocol.
""".strip()
assert Q().a.failures == ["foo", "bar", "baz"]
with pytest.raises(FailureProtocolError) as exc_info:
Q().a()
assert str(exc_info.value) == expected
with pytest.raises(FailureProtocolError) as exc_info:
Q().a.run()
assert str(exc_info.value) == expected
# Substory DI.
expected = """
Failure('foo') can not be used in a story without failure protocol.
Function returned value: T.one
Use 'failures' story method to define failure protocol.
""".strip()
assert J().a.failures == ["foo", "bar", "baz"]
with pytest.raises(FailureProtocolError) as exc_info:
J().a()
assert str(exc_info.value) == expected
with pytest.raises(FailureProtocolError) as exc_info:
J().a.run()
assert str(exc_info.value) == expected
def test_deny_substory_reason_parent_story_protocol_with_enum(f):
"""
We deny to use Failure reason from the parent story protocol in
the substory method.
"""
class T(f.ChildWithNull, f.EnumMethod):
pass
class Q(f.ParentWithEnum, f.NormalParentMethod, T):
pass
class J(f.ParentWithEnum, f.NormalParentMethod):
def __init__(self):
self.x = T().x
# Substory inheritance.
expected = """
Failure(<Errors.foo: 1>) can not be used in a story without failure protocol.
Function returned value: Q.one
Use 'failures' story method to define failure protocol.
""".strip()
assert isinstance(Q().a.failures, enum.EnumMeta)
assert set(Q().a.failures.__members__.keys()) == {"foo", "bar", "baz"}
with pytest.raises(FailureProtocolError) as exc_info:
Q().a()
assert str(exc_info.value) == expected
with pytest.raises(FailureProtocolError) as exc_info:
Q().a.run()
assert str(exc_info.value) == expected
# Substory DI.
expected = """
Failure(<Errors.foo: 1>) can not be used in a story without failure protocol.
Function returned value: T.one
Use 'failures' story method to define failure protocol.
""".strip()
assert isinstance(J().a.failures, enum.EnumMeta)
assert set(J().a.failures.__members__.keys()) == {"foo", "bar", "baz"}
with pytest.raises(FailureProtocolError) as exc_info:
J().a()
assert str(exc_info.value) == expected
with pytest.raises(FailureProtocolError) as exc_info:
J().a.run()
assert str(exc_info.value) == expected
def test_deny_story_reason_substory_protocol_with_list(f):
"""
We deny to use Failure reason from the substory protocol in the
parent story method.
"""
class T(f.ChildWithList, f.NormalMethod):
pass
class Q(f.ParentWithNull, f.StringParentMethod, T):
pass
class J(f.ParentWithNull, f.StringParentMethod):
def __init__(self):
self.x = T().x
# Substory inheritance.
expected = """
Failure('foo') can not be used in a story without failure protocol.
Function returned value: Q.before
Use 'failures' story method to define failure protocol.
""".strip()
assert Q().a.failures == ["foo", "bar", "baz"]
with pytest.raises(FailureProtocolError) as exc_info:
Q().a()
assert str(exc_info.value) == expected
with pytest.raises(FailureProtocolError) as exc_info:
Q().a.run()
assert str(exc_info.value) == expected
# Substory DI.
expected = """
Failure('foo') can not be used in a story without failure protocol.
Function returned value: J.before
Use 'failures' story method to define failure protocol.
""".strip()
assert J().a.failures == ["foo", "bar", "baz"]
with pytest.raises(FailureProtocolError) as exc_info:
J().a()
assert str(exc_info.value) == expected
with pytest.raises(FailureProtocolError) as exc_info:
J().a.run()
assert str(exc_info.value) == expected
def test_deny_story_reason_substory_protocol_with_enum(f):
"""
We deny to use Failure reason from the substory protocol in the
parent story method.
"""
class T(f.ChildWithEnum, f.NormalMethod):
pass
class Q(f.ParentWithNull, f.EnumParentMethod, T):
pass
class J(f.ParentWithNull, f.EnumParentMethod):
def __init__(self):
self.x = T().x
# Substory inheritance.
expected = """
Failure(<Errors.foo: 1>) can not be used in a story without failure protocol.
Function returned value: Q.before
Use 'failures' story method to define failure protocol.
""".strip()
assert isinstance(Q().a.failures, enum.EnumMeta)
assert set(Q().a.failures.__members__.keys()) == {"foo", "bar", "baz"}
with pytest.raises(FailureProtocolError) as exc_info:
Q().a()
assert str(exc_info.value) == expected
with pytest.raises(FailureProtocolError) as exc_info:
Q().a.run()
assert str(exc_info.value) == expected
# Substory DI.
expected = """
Failure(<Errors.foo: 1>) can not be used in a story without failure protocol.
Function returned value: J.before
Use 'failures' story method to define failure protocol.
""".strip()
assert isinstance(J().a.failures, enum.EnumMeta)
assert set(J().a.failures.__members__.keys()) == {"foo", "bar", "baz"}
with pytest.raises(FailureProtocolError) as exc_info:
J().a()
assert str(exc_info.value) == expected
with pytest.raises(FailureProtocolError) as exc_info:
J().a.run()
assert str(exc_info.value) == expected
| 25.812532
| 85
| 0.651039
| 6,667
| 51,083
| 4.871756
| 0.025949
| 0.043534
| 0.049754
| 0.085345
| 0.981034
| 0.971983
| 0.962346
| 0.949631
| 0.936884
| 0.92697
| 0
| 0.001354
| 0.219231
| 51,083
| 1,978
| 86
| 25.825581
| 0.813008
| 0.097156
| 0
| 0.916817
| 0
| 0.011754
| 0.221995
| 0.006057
| 0
| 0
| 0
| 0
| 0.259494
| 1
| 0.065099
| false
| 0.066908
| 0.003617
| 0
| 0.168174
| 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
|
18b7c1a7414007318e5ee5c2bb3d7ca869890fab
| 3,908
|
py
|
Python
|
configs/yair/_base_/datasets/traffic.py
|
YairShemer/mmdetection
|
adaddd942026f7a147731d95f7ec7f85b4ea1d29
|
[
"Apache-2.0"
] | null | null | null |
configs/yair/_base_/datasets/traffic.py
|
YairShemer/mmdetection
|
adaddd942026f7a147731d95f7ec7f85b4ea1d29
|
[
"Apache-2.0"
] | 1
|
2020-05-20T08:13:44.000Z
|
2020-05-20T08:13:44.000Z
|
configs/yair/_base_/datasets/traffic.py
|
YairShemer/mmdetection
|
adaddd942026f7a147731d95f7ec7f85b4ea1d29
|
[
"Apache-2.0"
] | null | null | null |
dataset_type = 'CocoCarDamage'
data_root = '/home/yairshe/datasets/coco_car_damage/'
img_norm_cfg = dict(
mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375], to_rgb=True)
train_pipeline = [
dict(type='LoadImageFromFile'),
dict(type='LoadAnnotations', with_bbox=True),
dict(type='Resize', img_scale=(1333, 800), keep_ratio=True),
dict(type='RandomFlip', flip_ratio=0.5),
dict(
type='Normalize',
mean=[123.675, 116.28, 103.53],
std=[58.395, 57.12, 57.375],
to_rgb=True),
dict(type='Pad', size_divisor=32),
dict(type='DefaultFormatBundle'),
dict(type='Collect', keys=['img', 'gt_bboxes', 'gt_labels'])
]
test_pipeline = [
dict(type='LoadImageFromFile'),
dict(
type='MultiScaleFlipAug',
img_scale=(1333, 800),
flip=False,
transforms=[
dict(type='Resize', keep_ratio=True),
dict(type='RandomFlip'),
dict(
type='Normalize',
mean=[123.675, 116.28, 103.53],
std=[58.395, 57.12, 57.375],
to_rgb=True),
dict(type='Pad', size_divisor=32),
dict(type='ImageToTensor', keys=['img']),
dict(type='Collect', keys=['img'])
])
]
data = dict(
samples_per_gpu=2,
workers_per_gpu=2,
train=dict(
type='Traffic',
ann_file='data.json',
img_prefix='train',
pipeline=[
dict(type='LoadImageFromFile'),
dict(type='LoadAnnotations', with_bbox=True),
dict(type='Resize', img_scale=(1333, 800), keep_ratio=True),
dict(type='RandomFlip', flip_ratio=0.5),
dict(
type='Normalize',
mean=[123.675, 116.28, 103.53],
std=[58.395, 57.12, 57.375],
to_rgb=True),
dict(type='Pad', size_divisor=32),
dict(type='DefaultFormatBundle'),
dict(type='Collect', keys=['img', 'gt_bboxes', 'gt_labels'])
],
data_root='/home/yairshe/data/traffic/set_500/'),
val=dict(
type='Traffic',
ann_file='data.json',
img_prefix='val',
pipeline=[
dict(type='LoadImageFromFile'),
dict(
type='MultiScaleFlipAug',
img_scale=(1333, 800),
flip=False,
transforms=[
dict(type='Resize', keep_ratio=True),
dict(type='RandomFlip'),
dict(
type='Normalize',
mean=[123.675, 116.28, 103.53],
std=[58.395, 57.12, 57.375],
to_rgb=True),
dict(type='Pad', size_divisor=32),
dict(type='ImageToTensor', keys=['img']),
dict(type='Collect', keys=['img'])
])
],
data_root='/home/yairshe/data/traffic/set_500/'),
test=dict(
type='Traffic',
ann_file='data.json',
img_prefix='val',
pipeline=[
dict(type='LoadImageFromWebcam'),
dict(
type='MultiScaleFlipAug',
img_scale=(1333, 800),
flip=False,
transforms=[
dict(type='Resize', keep_ratio=True),
dict(type='RandomFlip'),
dict(
type='Normalize',
mean=[123.675, 116.28, 103.53],
std=[58.395, 57.12, 57.375],
to_rgb=True),
dict(type='Pad', size_divisor=32),
dict(type='DefaultFormatBundle'),
dict(type='Collect', keys=['img'])
])
],
data_root='/home/yairshe/data/traffic/set_500/'))
evaluation = dict(interval=1, metric='bbox')
| 35.527273
| 77
| 0.488229
| 412
| 3,908
| 4.502427
| 0.196602
| 0.185445
| 0.077628
| 0.042049
| 0.904043
| 0.904043
| 0.904043
| 0.904043
| 0.884636
| 0.863612
| 0
| 0.096016
| 0.357728
| 3,908
| 109
| 78
| 35.853211
| 0.643028
| 0
| 0
| 0.833333
| 0
| 0
| 0.179933
| 0.036857
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 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
|
18e369cd26d7be6e5456b6e40192a0ed5eceec3f
| 188
|
py
|
Python
|
app/tasks/__init__.py
|
Clivern/Kraven
|
5d8d2de26e170d853d7d5f2b1f2d453ab07e4401
|
[
"Apache-2.0"
] | 3
|
2018-07-22T22:36:09.000Z
|
2019-05-31T10:29:54.000Z
|
app/tasks/__init__.py
|
Clivern/Kraven
|
5d8d2de26e170d853d7d5f2b1f2d453ab07e4401
|
[
"Apache-2.0"
] | 41
|
2018-07-22T22:07:52.000Z
|
2018-11-14T11:07:48.000Z
|
app/tasks/__init__.py
|
Clivern/Kraven
|
5d8d2de26e170d853d7d5f2b1f2d453ab07e4401
|
[
"Apache-2.0"
] | 1
|
2020-04-24T12:55:27.000Z
|
2020-04-24T12:55:27.000Z
|
"""
Load Tasks
"""
from .test import * # noqa: F401 F403
from .forgot_password import * # noqa: F401 F403
from .docker.image import * # noqa: F401 F403
| 23.5
| 55
| 0.558511
| 22
| 188
| 4.727273
| 0.545455
| 0.288462
| 0.403846
| 0.519231
| 0.423077
| 0
| 0
| 0
| 0
| 0
| 0
| 0.145161
| 0.340426
| 188
| 7
| 56
| 26.857143
| 0.693548
| 0.31383
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0.333333
| 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
| 1
| 1
| 0
| 1
| 0
|
0
| 9
|
18fb6536ae6662294ba9317f4293afaa81143b63
| 9,076
|
py
|
Python
|
server/test_connect4.py
|
dangoldin/connect-four
|
df7be0a73e73e2d44d353b9bb830bee3a5f8f802
|
[
"MIT"
] | null | null | null |
server/test_connect4.py
|
dangoldin/connect-four
|
df7be0a73e73e2d44d353b9bb830bee3a5f8f802
|
[
"MIT"
] | null | null | null |
server/test_connect4.py
|
dangoldin/connect-four
|
df7be0a73e73e2d44d353b9bb830bee3a5f8f802
|
[
"MIT"
] | null | null | null |
#! /usr/bin/env python3
import unittest
from connect4 import Connect4
class TestConnect4(unittest.TestCase):
def testCreateWithDefault(self):
b = Connect4()
def testCreateWithCustomArgs(self):
b = Connect4(10, 11)
def testColumnFull(self):
b = Connect4()
b.move(0, '1')
self.assertFalse(b.column_full(0))
b.move(0, '1')
self.assertFalse(b.column_full(0))
b.move(0, '1')
self.assertFalse(b.column_full(0))
b.move(0, '1')
self.assertFalse(b.column_full(0))
b.move(0, '1')
self.assertFalse(b.column_full(0))
b.move(0, '1')
self.assertTrue(b.column_full(0))
def testWinnerVertical(self):
b = Connect4()
self.assertFalse(b.winner('1'))
b.move(0, '1')
self.assertFalse(b.winner('1'))
b.move(0, '1')
self.assertFalse(b.winner('1'))
b.move(0, '1')
self.assertFalse(b.winner('1'))
b.move(0, '1')
self.assertTrue(b.winner('1'))
def testWinnerVerticalLast(self):
b = Connect4()
self.assertFalse(b.winner('2'))
b.move(6, '2')
self.assertFalse(b.winner('2'))
b.move(6, '2')
self.assertFalse(b.winner('2'))
b.move(6, '2')
self.assertFalse(b.winner('2'))
b.move(6, '2')
self.assertTrue(b.winner('2'))
def testWinnerVerticalTopLeft(self):
b = Connect4()
self.assertFalse(b.winner('1'))
b.move(0, '2')
self.assertFalse(b.winner('1'))
b.move(0, '2')
self.assertFalse(b.winner('1'))
b.move(0, '1')
self.assertFalse(b.winner('1'))
b.move(0, '1')
self.assertFalse(b.winner('1'))
b.move(0, '1')
self.assertFalse(b.winner('1'))
b.move(0, '1')
self.assertTrue(b.winner('1'))
def testWinnerVerticalTopRight(self):
b = Connect4()
self.assertFalse(b.winner('2'))
b.move(6, '1')
self.assertFalse(b.winner('2'))
b.move(6, '1')
self.assertFalse(b.winner('2'))
b.move(6, '2')
self.assertFalse(b.winner('2'))
b.move(6, '2')
self.assertFalse(b.winner('2'))
b.move(6, '2')
self.assertFalse(b.winner('2'))
b.move(6, '2')
self.assertTrue(b.winner('2'))
def testWinnerHorizontal(self):
b = Connect4()
self.assertFalse(b.winner('1'))
b.move(0, '1')
self.assertFalse(b.winner('1'))
b.move(1, '1')
self.assertFalse(b.winner('1'))
b.move(2, '1')
self.assertFalse(b.winner('1'))
b.move(3, '1')
self.assertTrue(b.winner('1'))
def testWinnerHorizontalLast(self):
b = Connect4()
self.assertFalse(b.winner('2'))
b.move(6, '2')
self.assertFalse(b.winner('2'))
b.move(5, '2')
self.assertFalse(b.winner('2'))
b.move(4, '2')
self.assertFalse(b.winner('2'))
b.move(3, '2')
self.assertTrue(b.winner('2'))
def testWinnerHorizontalTopRight(self):
b = Connect4()
for i in range(5):
b.move(6, '2')
b.move(5, '2')
b.move(4, '2')
b.move(3, '2')
self.assertFalse(b.winner('1'))
b.move(6, '1')
self.assertFalse(b.winner('1'))
b.move(5, '1')
self.assertFalse(b.winner('1'))
b.move(4, '1')
self.assertFalse(b.winner('1'))
b.move(3, '1')
self.assertTrue(b.winner('1'))
def testWinnerDiagonalBackSlash(self):
b = Connect4()
self.assertFalse(b.winner('1'))
b.move(0, '2')
b.move(0, '2')
b.move(0, '2')
b.move(0, '1')
self.assertFalse(b.winner('1'))
b.move(1, '2')
b.move(1, '2')
b.move(1, '1')
self.assertFalse(b.winner('1'))
b.move(2, '2')
b.move(2, '1')
self.assertFalse(b.winner('1'))
b.move(3, '1')
self.assertTrue(b.winner('1'))
def testWinnerDiagonalBackSlashTopLeft(self):
b = Connect4()
b.move(0, '3')
b.move(1, '3')
b.move(2, '3')
b.move(3, '3')
b.move(0, '3')
b.move(1, '3')
b.move(2, '3')
b.move(3, '3')
self.assertFalse(b.winner('1'))
b.move(0, '2')
b.move(0, '2')
b.move(0, '2')
b.move(0, '1')
self.assertFalse(b.winner('1'))
b.move(1, '2')
b.move(1, '2')
b.move(1, '1')
self.assertFalse(b.winner('1'))
b.move(2, '2')
b.move(2, '1')
self.assertFalse(b.winner('1'))
b.move(3, '1')
self.assertTrue(b.winner('1'))
def testWinnerDiagonalBackSlashRight(self):
b = Connect4()
self.assertFalse(b.winner('1'))
b.move(3, '2')
b.move(3, '2')
b.move(3, '2')
b.move(3, '1')
self.assertFalse(b.winner('1'))
b.move(4, '2')
b.move(4, '2')
b.move(4, '1')
self.assertFalse(b.winner('1'))
b.move(5, '2')
b.move(5, '1')
self.assertFalse(b.winner('1'))
b.move(6, '1')
self.assertTrue(b.winner('1'))
def testWinnerDiagonalBackSlashTopRight(self):
b = Connect4()
b.move(3, '3')
b.move(4, '3')
b.move(5, '3')
b.move(6, '3')
b.move(3, '3')
b.move(4, '3')
b.move(5, '3')
b.move(6, '3')
self.assertFalse(b.winner('1'))
b.move(3, '2')
b.move(3, '2')
b.move(3, '2')
b.move(3, '1')
self.assertFalse(b.winner('1'))
b.move(4, '2')
b.move(4, '2')
b.move(4, '1')
self.assertFalse(b.winner('1'))
b.move(5, '2')
b.move(5, '1')
self.assertFalse(b.winner('1'))
b.move(6, '1')
self.assertTrue(b.winner('1'))
def testWinnerDiagonalForwardSlash(self):
b = Connect4()
self.assertFalse(b.winner('1'))
b.move(3, '2')
b.move(3, '2')
b.move(3, '2')
b.move(3, '1')
self.assertFalse(b.winner('1'))
b.move(2, '2')
b.move(2, '2')
b.move(2, '1')
self.assertFalse(b.winner('1'))
b.move(1, '2')
b.move(1, '1')
self.assertFalse(b.winner('1'))
b.move(0, '1')
self.assertTrue(b.winner('1'))
def testWinnerDiagonalForwardSlashTopLeft(self):
b = Connect4()
b.move(0, '3')
b.move(1, '3')
b.move(2, '3')
b.move(3, '3')
b.move(0, '3')
b.move(1, '3')
b.move(2, '3')
b.move(3, '3')
self.assertFalse(b.winner('1'))
b.move(3, '2')
b.move(3, '2')
b.move(3, '2')
b.move(3, '1')
self.assertFalse(b.winner('1'))
b.move(2, '2')
b.move(2, '2')
b.move(2, '1')
self.assertFalse(b.winner('1'))
b.move(1, '2')
b.move(1, '1')
self.assertFalse(b.winner('1'))
b.move(0, '1')
self.assertTrue(b.winner('1'))
def testWinnerDiagonalForwardSlashRight(self):
b = Connect4()
self.assertFalse(b.winner('1'))
b.move(6, '2')
b.move(6, '2')
b.move(6, '2')
b.move(6, '1')
self.assertFalse(b.winner('1'))
b.move(5, '2')
b.move(5, '2')
b.move(5, '1')
self.assertFalse(b.winner('1'))
b.move(4, '2')
b.move(4, '1')
self.assertFalse(b.winner('1'))
b.move(3, '1')
self.assertTrue(b.winner('1'))
def testWinnerDiagonalForwardSlashTopRight(self):
b = Connect4()
b.move(6, '3')
b.move(5, '3')
b.move(4, '3')
b.move(3, '3')
b.move(6, '3')
b.move(5, '3')
b.move(4, '3')
b.move(3, '3')
self.assertFalse(b.winner('1'))
b.move(6, '2')
b.move(6, '2')
b.move(6, '2')
b.move(6, '1')
self.assertFalse(b.winner('1'))
b.move(5, '2')
b.move(5, '2')
b.move(5, '1')
self.assertFalse(b.winner('1'))
b.move(4, '2')
b.move(4, '1')
self.assertFalse(b.winner('1'))
b.move(3, '1')
print(b)
self.assertTrue(b.winner('1'))
def testAvailableColumns(self):
b = Connect4()
self.assertListEqual([0,1,2,3,4,5,6], b.get_available_columns())
b.move(0, '1')
b.move(0, '1')
b.move(0, '1')
b.move(0, '1')
b.move(0, '1')
self.assertListEqual([0,1,2,3,4,5,6], b.get_available_columns())
b.move(0, '1')
self.assertListEqual([1,2,3,4,5,6], b.get_available_columns())
b.move(6, '2')
b.move(6, '2')
b.move(6, '2')
b.move(6, '2')
b.move(6, '2')
self.assertListEqual([1,2,3,4,5,6], b.get_available_columns())
b.move(6, '2')
self.assertListEqual([1,2,3,4,5], b.get_available_columns())
if __name__ == '__main__':
unittest.main()
| 27.586626
| 72
| 0.476201
| 1,279
| 9,076
| 3.360438
| 0.046912
| 0.193113
| 0.256864
| 0.327594
| 0.828292
| 0.821778
| 0.811075
| 0.797813
| 0.784086
| 0.784086
| 0
| 0.076849
| 0.317541
| 9,076
| 328
| 73
| 27.670732
| 0.617049
| 0.002424
| 0
| 0.903654
| 0
| 0
| 0.027947
| 0
| 0
| 0
| 0
| 0
| 0.299003
| 1
| 0.063123
| false
| 0
| 0.006645
| 0
| 0.07309
| 0.003322
| 0
| 0
| 0
| null | 0
| 1
| 1
| 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
| 9
|
e18425625fe0196e0ebc50906e7fc869ee8b7a1d
| 2,505
|
py
|
Python
|
pip_benchmark_python/standardbenchmarks/StandardCpuBenchmark.py
|
pip-benchmark/pip-benchmark-python
|
d75672e940af12e2f9818607e2188490e989d8c5
|
[
"MIT"
] | null | null | null |
pip_benchmark_python/standardbenchmarks/StandardCpuBenchmark.py
|
pip-benchmark/pip-benchmark-python
|
d75672e940af12e2f9818607e2188490e989d8c5
|
[
"MIT"
] | null | null | null |
pip_benchmark_python/standardbenchmarks/StandardCpuBenchmark.py
|
pip-benchmark/pip-benchmark-python
|
d75672e940af12e2f9818607e2188490e989d8c5
|
[
"MIT"
] | null | null | null |
# -*- coding: utf-8 -*-
import math
from ..Benchmark import Benchmark
class StandardCpuBenchmark(Benchmark):
__number_of_attempts = 20000
def __init__(self):
super().__init__('CPU', 'Measures CPU speed by running arithmetical operations')
def execute(self, callback):
# Count increment, comparison and goto for 1 arithmetic operation
for value in range(1, StandardCpuBenchmark.__number_of_attempts + 1):
# 1
result1 = value + value
result2 = result1 - value
result3 = result1 * result2
result4 = result2 / result3
math.log(result4)
# 2
result1 = value + value
result2 = result1 - value
result3 = result1 * result2
result4 = result2 / result3
math.log(result4)
# 3
result1 = value + value
result2 = result1 - value
result3 = result1 * result2
result4 = result2 / result3
math.log(result4)
# 4
result1 = value + value
result2 = result1 - value
result3 = result1 * result2
result4 = result2 / result3
math.log(result4)
# 5
result1 = value + value
result2 = result1 - value
result3 = result1 * result2
result4 = result2 / result3
math.log(result4)
# 6
result1 = value + value
result2 = result1 - value
result3 = result1 * result2
result4 = result2 / result3
math.log(result4)
# 7
result1 = value + value
result2 = result1 - value
result3 = result1 * result2
result4 = result2 / result3
math.log(result4)
# 8
result1 = value + value
result2 = result1 - value
result3 = result1 * result2
result4 = result2 / result3
math.log(result4)
# 9
result1 = value + value
result2 = result1 - value
result3 = result1 * result2
result4 = result2 / result3
math.log(result4)
# 10
result1 = value + value
result2 = result1 - value
result3 = result1 * result2
result4 = result2 / result3
math.log(result4)
if callback:
callback(None)
| 28.146067
| 88
| 0.507385
| 216
| 2,505
| 5.810185
| 0.24537
| 0.191235
| 0.135458
| 0.191235
| 0.733068
| 0.733068
| 0.733068
| 0.733068
| 0.733068
| 0.733068
| 0
| 0.083682
| 0.427545
| 2,505
| 88
| 89
| 28.465909
| 0.791492
| 0.042315
| 0
| 0.833333
| 0
| 0
| 0.02347
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.033333
| false
| 0
| 0.033333
| 0
| 0.1
| 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
|
e1b1c729b469f6e5aaa36ef45f7cdc1a3a24be08
| 4,146
|
py
|
Python
|
dfirtrack_config/tests/assignment/test_assignment_views.py
|
thomas-kropeit/dfirtrack
|
b1e0e659af7bc8085cfe2d269ddc651f9f4ba585
|
[
"Apache-2.0"
] | null | null | null |
dfirtrack_config/tests/assignment/test_assignment_views.py
|
thomas-kropeit/dfirtrack
|
b1e0e659af7bc8085cfe2d269ddc651f9f4ba585
|
[
"Apache-2.0"
] | 6
|
2022-03-16T12:30:51.000Z
|
2022-03-28T01:34:45.000Z
|
dfirtrack_config/tests/assignment/test_assignment_views.py
|
thomas-kropeit/dfirtrack
|
b1e0e659af7bc8085cfe2d269ddc651f9f4ba585
|
[
"Apache-2.0"
] | null | null | null |
import urllib.parse
from django.contrib.auth.models import User
from django.test import TestCase
class AssignmentViewTestCase(TestCase):
"""assignment view tests"""
@classmethod
def setUpTestData(cls):
# create user
User.objects.create_user(
username='testuser_assignment', password='8t5Uw5eAYDtd5X6TVAXK'
)
def test_assignment_view_not_logged_in(self):
"""test assignment view"""
# create url
destination = '/login/?next=' + urllib.parse.quote(
'/config/assignment/', safe=''
)
# get response
response = self.client.get('/config/assignment/', follow=True)
# compare
self.assertRedirects(
response, destination, status_code=302, target_status_code=200
)
def test_assignment_view_logged_in(self):
"""test assignment view"""
# login testuser
self.client.login(
username='testuser_assignment', password='8t5Uw5eAYDtd5X6TVAXK'
)
# get response
response = self.client.get('/config/assignment/')
# compare
self.assertEqual(response.status_code, 200)
def test_assignment_view_template(self):
"""test assignment view"""
# login testuser
self.client.login(
username='testuser_assignment', password='8t5Uw5eAYDtd5X6TVAXK'
)
# get response
response = self.client.get('/config/assignment/')
# compare
self.assertTemplateUsed(response, 'dfirtrack_config/assignment/assignment.html')
def test_assignment_view_get_user_context(self):
"""test assignment view"""
# login testuser
self.client.login(
username='testuser_assignment', password='8t5Uw5eAYDtd5X6TVAXK'
)
# get response
response = self.client.get('/config/assignment/')
# compare
self.assertEqual(str(response.context['user']), 'testuser_assignment')
def test_assignment_view_redirect(self):
"""test assignment view"""
# login testuser
self.client.login(
username='testuser_assignment', password='8t5Uw5eAYDtd5X6TVAXK'
)
# create url
destination = urllib.parse.quote('/config/assignment/', safe='/')
# get response
response = self.client.get('/config/assignment', follow=True)
# compare
self.assertRedirects(
response, destination, status_code=301, target_status_code=200
)
def test_assignment_view_clear_filter_not_logged_in(self):
"""test assignment view"""
# create url
destination = '/login/?next=' + urllib.parse.quote(
'/config/assignment/clear_filter/', safe=''
)
# get response
response = self.client.get('/config/assignment/clear_filter/', follow=True)
# compare
self.assertRedirects(
response, destination, status_code=302, target_status_code=200
)
def test_assignment_view_clear_filter_logged_in(self):
"""test assignment view"""
# login testuser
self.client.login(
username='testuser_assignment', password='8t5Uw5eAYDtd5X6TVAXK'
)
# create url
destination = urllib.parse.quote('/config/assignment/', safe='/')
# get response
response = self.client.get('/config/assignment/clear_filter/')
# compare
self.assertRedirects(
response, destination, status_code=302, target_status_code=200
)
def test_assignment_view_clear_filter_redirect(self):
"""test assignment view"""
# login testuser
self.client.login(
username='testuser_assignment', password='8t5Uw5eAYDtd5X6TVAXK'
)
# create url
destination = urllib.parse.quote('/config/assignment/', safe='/')
# get response
response = self.client.get('/config/assignment/clear_filter', follow=True)
# compare
self.assertRedirects(
response, destination, status_code=301, target_status_code=200
)
| 32.139535
| 88
| 0.626146
| 396
| 4,146
| 6.383838
| 0.151515
| 0.094146
| 0.113924
| 0.066456
| 0.839399
| 0.818038
| 0.818038
| 0.804589
| 0.804589
| 0.804589
| 0
| 0.022405
| 0.267969
| 4,146
| 128
| 89
| 32.390625
| 0.810544
| 0.124216
| 0
| 0.442857
| 0
| 0
| 0.186903
| 0.04778
| 0
| 0
| 0
| 0
| 0.114286
| 1
| 0.128571
| false
| 0.1
| 0.042857
| 0
| 0.185714
| 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
| 0
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 7
|
bee7b2bc049d2a28646c471caf3b318beaf9750f
| 128
|
py
|
Python
|
pytype/tools/merge_pyi/test_data/imports.py
|
ashwinprasadme/pytype
|
fed209c73aacfcab15efc33deef3b4016a67cfe5
|
[
"Apache-2.0"
] | 3,882
|
2015-03-22T12:17:15.000Z
|
2022-03-31T17:13:20.000Z
|
pytype/tools/merge_pyi/test_data/imports.py
|
ashwinprasadme/pytype
|
fed209c73aacfcab15efc33deef3b4016a67cfe5
|
[
"Apache-2.0"
] | 638
|
2015-11-03T06:34:44.000Z
|
2022-03-31T23:41:48.000Z
|
pytype/tools/merge_pyi/test_data/imports.py
|
ashwinprasadme/pytype
|
fed209c73aacfcab15efc33deef3b4016a67cfe5
|
[
"Apache-2.0"
] | 301
|
2015-08-14T10:21:17.000Z
|
2022-03-08T11:03:40.000Z
|
import existing_import
from existing_import import d
def f(a1, a2, a3, a4, a5, a6):
pass
def g(a7, a8, a9, a10):
pass
| 14.222222
| 30
| 0.65625
| 24
| 128
| 3.416667
| 0.75
| 0.341463
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.112245
| 0.234375
| 128
| 8
| 31
| 16
| 0.72449
| 0
| 0
| 0.333333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 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
| 1
| 0
| 1
| 1
| 0
| 1
| 0
|
0
| 7
|
831399c613d7433fec9ff3f1ba265e7e2cad1418
| 6,759
|
py
|
Python
|
tests/test_custom.py
|
gcasgo/OneAgent-SDK-Python-AutoInstrumentation
|
b1abe7b9993fda094ba96f56affc776d7cd0ffed
|
[
"Apache-2.0"
] | 22
|
2020-08-11T13:26:11.000Z
|
2022-02-13T12:06:01.000Z
|
tests/test_custom.py
|
gcasgo/OneAgent-SDK-Python-AutoInstrumentation
|
b1abe7b9993fda094ba96f56affc776d7cd0ffed
|
[
"Apache-2.0"
] | 29
|
2019-10-28T12:12:30.000Z
|
2020-08-05T16:16:16.000Z
|
tests/test_custom.py
|
gcasgo/OneAgent-SDK-Python-AutoInstrumentation
|
b1abe7b9993fda094ba96f56affc776d7cd0ffed
|
[
"Apache-2.0"
] | 11
|
2020-09-15T03:20:56.000Z
|
2022-02-11T13:06:01.000Z
|
import sys
import os
import autodynatrace
import autodynatrace.wrappers.custom.wrapper as custom_wrapper
@autodynatrace.trace
def module_function():
return 1
def another_function():
pass
class MyClass:
def class_method(self):
pass
@staticmethod
def static_method(self):
pass
@autodynatrace.trace("Service")
def decorated_service_only():
return 1
@autodynatrace.trace(method="method")
def decorated_method_only():
return 1
@autodynatrace.trace("Service", "method")
def decorated_service_and_method():
return 1
def test_custom_service_name():
my_class = MyClass()
os.environ.pop("AUTODYNATRACE_CUSTOM_SERVICE_USE_FQN", None)
os.environ.pop("AUTODYNATRACE_CUSTOM_SERVICE_NAME", None)
assert custom_wrapper.generate_service_name(module_function) == "tests.test_custom"
assert custom_wrapper.generate_service_name(my_class.class_method) == "MyClass"
assert custom_wrapper.generate_service_name(classmethod(my_class.class_method)) == "MyClass"
assert custom_wrapper.generate_service_name(module_function) == custom_wrapper.generate_service_name(another_function)
if sys.version_info[0] == 2:
assert custom_wrapper.generate_service_name(my_class.static_method) == "tests.test_custom"
assert custom_wrapper.generate_service_name(MyClass.static_method) == "tests.test_custom"
else:
assert custom_wrapper.generate_service_name(my_class.static_method) == "MyClass"
assert custom_wrapper.generate_service_name(MyClass.static_method) == "MyClass"
os.environ["AUTODYNATRACE_CUSTOM_SERVICE_NAME"] = "CustomServiceName"
assert custom_wrapper.generate_service_name(module_function) == "CustomServiceName"
def test_custom_service_name_fqn_true():
my_class = MyClass()
os.environ["AUTODYNATRACE_CUSTOM_SERVICE_USE_FQN"] = "TRUE"
os.environ.pop("AUTODYNATRACE_CUSTOM_SERVICE_NAME", None)
assert custom_wrapper.generate_service_name(module_function) == "tests.test_custom"
assert custom_wrapper.generate_service_name(my_class.class_method) == "tests.test_custom.MyClass"
assert custom_wrapper.generate_service_name(classmethod(my_class.class_method)) == "tests.test_custom.MyClass"
assert custom_wrapper.generate_service_name(module_function) == custom_wrapper.generate_service_name(another_function)
if sys.version_info[0] == 2:
assert custom_wrapper.generate_service_name(my_class.static_method) == "tests.test_custom"
assert custom_wrapper.generate_service_name(MyClass.static_method) == "tests.test_custom"
else:
assert custom_wrapper.generate_service_name(my_class.static_method) == "tests.test_custom.MyClass"
assert custom_wrapper.generate_service_name(MyClass.static_method) == "tests.test_custom.MyClass"
os.environ["AUTODYNATRACE_CUSTOM_SERVICE_NAME"] = "CustomServiceName"
assert custom_wrapper.generate_service_name(module_function) == "CustomServiceName"
def test_custom_method_name_fqn_false():
my_class = MyClass()
os.environ.pop("AUTODYNATRACE_CUSTOM_SERVICE_USE_FQN", None)
os.environ.pop("AUTODYNATRACE_CUSTOM_SERVICE_NAME", None)
assert custom_wrapper.generate_method_name(module_function) == "module_function"
assert custom_wrapper.generate_method_name(my_class.class_method) == "class_method"
assert custom_wrapper.generate_method_name(classmethod(my_class.class_method)) == "class_method"
assert custom_wrapper.generate_method_name(another_function) == "another_function"
assert custom_wrapper.generate_method_name(my_class.static_method) == "static_method"
assert custom_wrapper.generate_method_name(MyClass.static_method) == "static_method"
os.environ["AUTODYNATRACE_CUSTOM_SERVICE_NAME"] = "CustomServiceName"
assert custom_wrapper.generate_method_name(module_function) == "tests.test_custom.module_function"
assert custom_wrapper.generate_method_name(my_class.class_method) == "MyClass.class_method"
assert custom_wrapper.generate_method_name(classmethod(my_class.class_method)) == "MyClass.class_method"
assert custom_wrapper.generate_method_name(another_function) == "tests.test_custom.another_function"
if sys.version_info[0] == 2:
assert custom_wrapper.generate_method_name(my_class.static_method) == "tests.test_custom.static_method"
assert custom_wrapper.generate_method_name(MyClass.static_method) == "tests.test_custom.static_method"
else:
assert custom_wrapper.generate_method_name(my_class.static_method) == "MyClass.static_method"
assert custom_wrapper.generate_method_name(MyClass.static_method) == "MyClass.static_method"
def test_custom_method_name_fqn_true():
my_class = MyClass()
os.environ["AUTODYNATRACE_CUSTOM_SERVICE_USE_FQN"] = "TRUE"
os.environ.pop("AUTODYNATRACE_CUSTOM_SERVICE_NAME", None)
assert custom_wrapper.generate_method_name(module_function) == "tests.test_custom.module_function"
assert custom_wrapper.generate_method_name(my_class.class_method) == "tests.test_custom.MyClass.class_method"
assert custom_wrapper.generate_method_name(classmethod(my_class.class_method)) == "tests.test_custom.MyClass.class_method"
assert custom_wrapper.generate_method_name(another_function) == "tests.test_custom.another_function"
os.environ["AUTODYNATRACE_CUSTOM_SERVICE_NAME"] = "CustomServiceName"
assert custom_wrapper.generate_method_name(module_function) == "tests.test_custom.module_function"
assert custom_wrapper.generate_method_name(my_class.class_method) == "tests.test_custom.MyClass.class_method"
assert custom_wrapper.generate_method_name(classmethod(my_class.class_method)) == "tests.test_custom.MyClass.class_method"
assert custom_wrapper.generate_method_name(another_function) == "tests.test_custom.another_function"
if sys.version_info[0] == 2:
assert custom_wrapper.generate_method_name(my_class.static_method) == "tests.test_custom.static_method"
assert custom_wrapper.generate_method_name(MyClass.static_method) == "tests.test_custom.static_method"
else:
assert custom_wrapper.generate_method_name(my_class.static_method) == "tests.test_custom.MyClass.static_method"
assert custom_wrapper.generate_method_name(MyClass.static_method) == "tests.test_custom.MyClass.static_method"
def test_custom_service_instrumentation():
assert module_function() == 1
assert decorated_method_only() == 1
assert decorated_service_only() == 1
assert decorated_service_and_method() == 1
def test_decorator_with_arguments():
assert custom_wrapper.generate_service_name(module_function, "Service") == "Service"
assert custom_wrapper.generate_method_name(module_function, "method") == "method"
| 47.265734
| 126
| 0.791833
| 851
| 6,759
| 5.869565
| 0.059929
| 0.13013
| 0.201802
| 0.248649
| 0.9001
| 0.871471
| 0.858659
| 0.858659
| 0.834234
| 0.832633
| 0
| 0.002669
| 0.113182
| 6,759
| 142
| 127
| 47.598592
| 0.830664
| 0
| 0
| 0.528846
| 0
| 0
| 0.224589
| 0.163486
| 0
| 0
| 0
| 0
| 0.480769
| 1
| 0.125
| false
| 0.028846
| 0.038462
| 0.038462
| 0.211538
| 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 9
|
83316354e1dc2f9cbd23c4dc3217f02af3d2adcd
| 84,236
|
py
|
Python
|
tests/JSwasmtest1_input.py
|
liweichengcode/SM-client-sdk-python
|
46ac9f86f2f4f67ca7cae9b2b454bd63d4ecd84b
|
[
"MIT"
] | 7
|
2019-03-18T06:56:18.000Z
|
2021-05-06T07:41:02.000Z
|
tests/JSwasmtest1_input.py
|
liweichengcode/SM-client-sdk-python
|
46ac9f86f2f4f67ca7cae9b2b454bd63d4ecd84b
|
[
"MIT"
] | 12
|
2020-09-18T05:46:27.000Z
|
2021-12-24T09:38:31.000Z
|
tests/JSwasmtest1_input.py
|
liweichengcode/SM-client-sdk-python
|
46ac9f86f2f4f67ca7cae9b2b454bd63d4ecd84b
|
[
"MIT"
] | 16
|
2019-02-28T03:21:14.000Z
|
2021-07-15T06:49:39.000Z
|
from client_sdk_python.param_encode import rlp_decode,rlp_encode
# input :"0x0061736df9a163b9a1550061736d01000000015c1060027f7f0060017f017f60027f7f017f60017f0060037f7f7f017f60037f7f7f0060047f7f7f7f0060000060047f7f7f7f017f60027f7e0060017f017e60037f7e7e0060037f7e7e017f60017e017f60057f7f7f7f7f006000017f02ce010903656e760c706c61746f6e5f70616e6963000703656e760b706c61746f6e5f73686133000603656e7617706c61746f6e5f6765745f696e7075745f6c656e677468000f03656e7610706c61746f6e5f6765745f696e707574000303656e7617706c61746f6e5f6765745f73746174655f6c656e677468000203656e7610706c61746f6e5f6765745f7374617465000803656e7610706c61746f6e5f7365745f7374617465000603656e760c706c61746f6e5f6576656e74000603656e760d706c61746f6e5f72657475726e000003cd01cb010700020200040000010202020302020500000e000000020001000200010002000001020600020002000200000204000002010102040506000303010400050402050500000104020503010001040c00040b01000004080304000107070704050a0a030103010101010101010d09010000000003000100020100010001010001010a0d09000100000100000201000100010001000001000100010003010001000108030100020100090001030100010100000c0b0208000300000003030105070501010206000600000000000405017001050505030100020608017f0141908c040b073904066d656d6f72790200115f5f7761736d5f63616c6c5f63746f727300090f5f5f66756e63735f6f6e5f65786974006506696e766f6b650063090a010041010b04202124250af0b902cb01050010c7010baa0301097f230041c0016b22022400200241b908100b2104200241e8006a4102100c2103200241d8006a2004100d200241c8006a2000100d200241406b4100360200200241386a4200370300200241306a420037030020024200370328200241286a20022802582204200228025c100e20022802482205200228024c100e210620032002280228100f2003200241d8006a10102003200241c8006a1010200328020c200341106a28020047044010000b2003280204210720032802002108200241106a1011210020024180016a200110122101200241a8016a4100360200200241a0016a420037030020024198016a4200370300200242003703900120024190016a41001013200241b0016a200110121014410110132109200228029001210a200941046a10152000200a100f20004101101620024190016a200110121017220028020c200041106a28020047044010000b20082007200028020020002802041007200028020c22010440200020013602100b200641046a1015200504402002200536024c0b200404402002200436025c0b200328020c22000440200320003602100b200241c0016a24000b910101027f20004200370200200041086a410036020020012102024003402002410371044020022d0000450d02200241016a21020c010b0b2002417c6a21020340200241046a22022802002203417f73200341fffdfb776a7141808182847871450d000b0340200341ff0171450d01200241016a2d00002103200241016a21020c000b000b20002001200220016b105020000b1d0020001051200041146a41003602002000420037020c2000200110160b8b0101037f230041306b22032400200341186a1011220220011052100f2002200341086a200110121017220128020c200141106a28020047044010000b200041003602082000420037020020012802042102200128020021042000412010532004200220002802002202200028020420026b1001200128020c22000440200120003602100b200341306a24000b8b0101017f024020012002460440410121030c010b4101210302400240200220016b2202410146044020012c0000417f4c0d010c030b200241374b0d010b200241016a21030c010b2002105420026a41016a21030b027f200041186a28020022010440200041086a280200200041146a280200200110550c010b20000b2201200128020020036a36020020000b1300200028020820014904402000200110570b0b1600200020012802002200200128020420006b10581a0b190020001051200041146a41003602002000420037020c20000b4d01017f20004200370200200041086a2202410036020020012d0000410171450440200020012902003702002002200141086a28020036020020000f0b200020012802082001280204105020000bc30c02077f027e230041306b22042400200041046a2107027f20014101460440200041086a280200200041146a280200200041186a220228020022031055280200210120022003417f6a3602002007105a4180104f044020072000410c6a280200417c6a105b0b200141384f047f2001105420016a0520010b41016a2102200041186a28020022010440200041086a280200200041146a280200200110550c020b20000c010b02402007105a0d00200041146a28020022014180084f0440200020014180786a360214200041086a2201280200220228020021032001200241046a360200200420033602182007200441186a105c0c010b2000410c6a2802002202200041086a2802006b4102752203200041106a2205280200220620002802046b2201410275490440418020103a2105200220064704400240200028020c220120002802102202470d0020002802082203200028020422064b04402000200320012003200320066b41027541016a417e6d41027422026a105d220136020c2000200028020820026a3602080c010b200441186a200220066b2201410175410120011b22012001410276200041106a105e2102200028020c210320002802082101034020012003470440200228020820012802003602002002200228020841046a360208200141046a21010c010b0b200029020421092000200229020037020420022009370200200029020c21092000200229020837020c200220093702082002105f200028020c21010b200120053602002000200028020c41046a36020c0c020b02402000280208220120002802042202470d00200028020c2203200028021022064904402000200120032003200620036b41027541016a41026d41027422026a106022013602082000200028020c20026a36020c0c010b200441186a200620026b2201410175410120011b2201200141036a410276200041106a105e2102200028020c210320002802082101034020012003470440200228020820012802003602002002200228020841046a360208200141046a21010c010b0b200029020421092000200229020037020420022009370200200029020c21092000200229020837020c200220093702082002105f200028020821010b2001417c6a2005360200200020002802082201417c6a22023602082002280200210220002001360208200420023602182007200441186a105c0c010b20042001410175410120011b20032005105e2102418020103a2106024020022802082201200228020c2203470d0020022802042205200228020022084b04402002200520012005200520086b41027541016a417e6d41027422036a105d22013602082002200228020420036a3602040c010b200441186a200320086b2201410175410120011b22012001410276200241106a280200105e21032002280208210520022802042101034020012005470440200328020820012802003602002003200328020841046a360208200141046a21010c010b0b2002290200210920022003290200370200200320093702002002290208210920022003290208370208200320093702082003105f200228020821010b200120063602002002200228020841046a360208200028020c2105034020002802082005460440200028020421012000200228020036020420022001360200200228020421012002200536020420002001360208200029020c21092000200229020837020c200220093702082002105f052005417c6a210502402002280204220120022802002203470d0020022802082206200228020c22084904402002200120062006200820066b41027541016a41026d41027422036a106022013602042002200228020820036a3602080c010b200441186a200820036b2201410175410120011b2201200141036a4102762002280210105e21062002280208210320022802042101034020012003470440200428022020012802003602002004200428022041046a360220200141046a21010c010b0b20022902002109200220042903183702002002290208210a20022004290320370208200420093703182004200a3703202006105f200228020421010b2001417c6a200528020036020020022002280204417c6a3602040c010b0b0b200441186a20071061200428021c410036020041012102200041186a0b2201200128020020026a360200200441306a240020000ba10101037f41012103024002400240200128020420012d00002202410176200241017122041b220241014d0440200241016b0d032001280208200141016a20041b2c0000417f4c0d010c030b200241374b0d010b200241016a21030c010b2002105420026a41016a21030b027f200041186a28020022010440200041086a280200200041146a280200200110550c010b20000b2201200128020020036a36020020000bea0101047f230041106b22042400200028020422012000280210220241087641fcffff07716a2103027f410020012000280208460d001a2003280200200241ff07714102746a0b2101200441086a20001061200428020c210203400240200120024604402000410036021420002802082103200028020421010340200320016b41027522024103490d022000200141046a22013602040c000b000b200141046a220120032802006b418020470d0120032802042101200341046a21030c010b0b2002417f6a220241014d04402000418004418008200241016b1b3602100b20002001105b200441106a24000b8e0201057f2001044020002802042105200041106a2802002202200041146a280200220349044020022001ad2005ad422086843702002000200028021041086a36021020000f0b027f41002002200028020c22046b410375220641016a2202200320046b2203410275220420042002491b41ffffffff01200341037541ffffffff00491b2204450d001a2004410374103a0b2102200220064103746a22032001ad2005ad4220868437020020032000280210200028020c22066b22016b2105200220044103746a2102200341086a2103200141014e044020052006200110361a0b20002002360214200020033602102000200536020c20000f0b200041c00110d201200041004100410110ce0120000b2c01017f20002001280208200141016a20012d0000220041017122021b2001280204200041017620021b10580bc80301087f230041c0016b22032400200341ac08100b2105200341e8006a4102100c2104200341d8006a2005100d200341c8006a2000100d200341406b4100360200200341386a4200370300200341306a420037030020034200370328200341286a20032802582205200328025c100e20032802482206200328024c100e210720042003280228100f2004200341d8006a10102004200341c8006a1010200428020c200441106a28020047044010000b2004280204210820042802002109200341106a1011210020034180016a200110122101200320023b018c01200341a8016a4100360200200341a0016a420037030020034198016a4200370300200342003703900120034190016a41001013200341b0016a200110121014220220032f018c0110192002410110132102200328029001210a200241046a10152000200a100f20004102101620034190016a200110121017220020032f018c01101a200028020c200041106a28020047044010000b20092008200028020020002802041007200028020c22010440200020013602100b200741046a1015200604402003200636024c0b200504402003200536025c0b200428020c22000440200420003602100b200341c0016a24000b0c0020002001ad420010561a0b0b0020002001ad420010590bf20301067f230041d0016b22052400200541086a419f08100b2107200541f0006a4103100c2106200541e0006a2007100d200541d0006a2000100d200541c8006a4100360200200541406b4200370300200541386a420037030020054200370330200541306a200528026022002005280264100e200528025022072005280254100e22082001101920062005280230100f2006200541e0006a10102006200541d0006a101020062001101a200628020c200641106a28020047044010000b200628020421092006280200210a200541186a1011210120054188016a20021012210220052004360298012005200336029401200541b8016a4100360200200541b0016a4200370300200541a8016a4200370300200542003703a001200541a0016a41001013200541c0016a2002101210142203200528029401101920032005280298011019200341011013210320052802a0012104200341046a101520012004100f200141031016200541a0016a2002101210172201200528029401101a2001200528029801101a200128020c200141106a28020047044010000b200a2009200128020020012802041007200128020c22020440200120023602100b200841046a101520070440200520073602540b20000440200520003602640b200628020c22010440200620013602100b200541d0016a24000b2e01017f230041206b22022400200241106a418d08100b2002419908100b100a200020013a0010200241206a24000b3301017f230041206b22022400200241106a418008100b2002418708100b20011018200041286a20013b0100200241206a24000b3701017f230041206b22022400200241106a418008100b20012002418708100b20012001101b200041406b2001360200200241206a24000b930201047f20002001470440200128020420012d00002202410176200241017122041b2102200141016a210320012802082105410a21012005200320041b210420002d0000410171220304402000280200417e71417f6a21010b200220014d0440027f2003044020002802080c010b200041016a0b21012002044020012004200210490b200120026a41003a000020002d000041017104402000200236020420000f0b200020024101743a000020000f0b416f2103200141e6ffffff074d0440410b20014101742201200220022001491b220141106a4170712001410b491b21030b2003103a22012004200210c801200020023602042000200341017236020020002001360208200120026a41003a00000b20000b0d00200041b0016a20013a00000b0b00200041b0016a2c00000b230020002001101f1a2000410c6a2001410c6a101f1a200041186a200141186a101f1a0b25002000200110121a2000410c6a2001410c6a10121a200041186a200141186a10121a20000b0d00200041c8026a20013a00000b0b00200041c8026a2c00000b9e0101047f2000200147044020012802042203200128020022026b41017522042000280208200028020022016b4101754d0440200041046a21052004200028020420016b41017522004b04402002200220004101746a22002001104e1a20002003200510460f0b2005200220032001104e3602000f0b2001044020004100360208200042003702000b200020002004104f104c20022003200041046a10460b0b3e01017f2000420037020020004100360208200128020420012802006b2202044020002002410175104c20012802002001280204200041046a10460b20000b3001027f200141046a21032001280200210203402002200346044020004188046a20011029052002102a21020c010b0b0be00201067f230041206b22042400024020002001460d00200141046a21062001280200210102402000280208450d00200028020021032000200041046a3602002000410036020820002802042102200041003602042002410036020820032802042202200320021b2102034020022203450d0120012006470440200341106a200141106a101f21072003411c6a2001411c6a101f1a024020032802082202450440410021020c010b2003200228020022054604402002410036020020022802042205450d012005104321020c010b200241003602042005450d002005104321020b2000200441106a2007104421072000200428021020072003103f2001102a21010c010b0b0340200328020822030d000b200621010b034020012006460d01200441106a2000200141106a104a20002004410c6a2004280210220341106a104421022000200428020c20022003103f2001102a21010c000b000b200441206a24000b3601017f024020002802042201044003402001220028020022010d000c020b000b0340200020002802082200280200470d000b0b20000bd60101067f230041106b22022400200042003702042000200041046a2203360200200141046a21062001280200210103402001200646450440200141106a21050240027f027f0240024020032000280200460440200321040c010b2003103b220441106a2005103c450d010b20032802004504402002200336020c2003210420030c030b2002200436020c200441046a0c010b20002002410c6a2005103d0b22042802000d01200228020c0b2107200220002005104a2000200720042002280200103f0b2001102a21010c010b0b200241106a240020000b2300200041d0016a2001101f1a20004198016a20033a0000200041f8026a20023602000b920101047f2000200147044020012802042203200128020022026b22042000280208200028020022016b4d0440200041046a21052004200028020420016b22004b04402002200020026a2200200110471a20002003200510460f0b200520022003200110473602000f0b2001044020004100360208200042003702000b2000200020041048104520022003200041046a10460b0b3b01017f2000420037020020004100360208200128020420012802006b2202044020002002104520012802002001280204200041046a10460b20000b2601017f0340200241f800470440200020026a200120026a101f1a2002410c6a21020c010b0b0b2301017f0340200020026a200120026a10121a2002410c6a220241f800470d000b20000b130020002001101f1a2000200128020c36020c0b15002000200110121a2000200128020c36020c20000b3001027f200141046a210320012802002102034020022003460440200041f8066a20011034052002102a21020c010b0b0bd30201067f230041206b22042400024020002001460d00200141046a21062001280200210102402000280208450d00200028020021032000200041046a3602002000410036020820002802042102200041003602042002410036020820032802042202200320021b2102034020022203450d0120012006470440200341106a200141106a101f2107024020032802082202450440410021020c010b2003200228020022054604402002410036020020022802042205450d012005104321020c010b200241003602042005450d002005104321020b2000200441106a2007104421072000200428021020072003103f2001102a21010c010b0b0340200328020822030d000b200621010b034020012006460d01200441106a2000200141106a103e20002004410c6a2004280210220341106a104421022000200428020c20022003103f2001102a21010c000b000b200441206a24000bd60101067f230041106b22022400200042003702042000200041046a2203360200200141046a21062001280200210103402001200646450440200141106a21050240027f027f0240024020032000280200460440200321040c010b2003103b220441106a2005103c450d010b20032802004504402002200336020c2003210420030c030b2002200436020c200441046a0c010b20002002410c6a2005103d0b22042802000d01200228020c0b2107200220002005103e2000200720042002280200103f0b2001102a21010c010b0b200241106a240020000bfc0801067f03400240200020046a2105200120046a210320022004460d002003410371450d00200520032d00003a0000200441016a21040c010b0b200220046b210602402005410371220745044003402006411049450440200020046a2203200120046a2205290200370200200341086a200541086a290200370200200441106a2104200641706a21060c010b0b027f2006410871450440200120046a2103200020046a0c010b200020046a2205200120046a2204290200370200200441086a2103200541086a0b21042006410471044020042003280200360200200341046a2103200441046a21040b20064102710440200420032f00003b0000200341026a2103200441026a21040b2006410171450d01200420032d00003a000020000f0b024020064120490d002007417f6a220741024b0d00024002400240024002400240200741016b0e020102000b2005200120046a220328020022073a0000200541016a200341016a2f00003b0000200041036a2108200220046b417d6a2106034020064111490d03200420086a2203200120046a220541046a2802002202410874200741187672360200200341046a200541086a2802002207410874200241187672360200200341086a2005410c6a28020022024108742007411876723602002003410c6a200541106a2802002207410874200241187672360200200441106a2104200641706a21060c000b000b2005200120046a220328020022073a0000200541016a200341016a2d00003a0000200041026a2108200220046b417e6a2106034020064112490d03200420086a2203200120046a220541046a2802002202411074200741107672360200200341046a200541086a2802002207411074200241107672360200200341086a2005410c6a28020022024110742007411076723602002003410c6a200541106a2802002207411074200241107672360200200441106a2104200641706a21060c000b000b2005200120046a28020022073a0000200041016a21082004417f7320026a2106034020064113490d03200420086a2203200120046a220541046a2802002202411874200741087672360200200341046a200541086a2802002207411874200241087672360200200341086a2005410c6a28020022024118742007410876723602002003410c6a200541106a2802002207411874200241087672360200200441106a2104200641706a21060c000b000b200120046a41036a2103200020046a41036a21050c020b200120046a41026a2103200020046a41026a21050c010b200120046a41016a2103200020046a41016a21050b20064110710440200520032d00003a00002005200328000136000120052003290005370005200520032f000d3b000d200520032d000f3a000f200541106a2105200341106a21030b2006410871044020052003290000370000200541086a2105200341086a21030b2006410471044020052003280000360000200541046a2105200341046a21030b20064102710440200520032f00003b0000200541026a2105200341026a21030b2006410171450d00200520032d00003a00000b20000b2b01027f200141046a210203402002280200220341046a210220012003470d000b200041a80b6a200110380bbe0201057f024020002001460d00200041046a2102200141046a21030340200228020021020240027f4101200328020022032001460d001a20002002470d0141000b210402402000200246044020040d044114103a22054100360200200541086a200341086a10121a20052104410121060340200120032802042203460d024114103a220241086a200341086a10121a2002200436020020042002360204200641016a2106200221040c000b000b200228020022032000280200220128020436020420012802042003360200034020002002460d0420002000280208417f6a360208200228020421020c000b000b2000280200220220053602042005200236020020002004360200200420003602042000200028020820066a3602080c020b200241086a200341086a101f1a200241046a2102200341046a21030c000b000b0b840101037f200041003602082000200036020420002000360200200141046a2102037f20022802002203200146047f2000054114103a22024100360200200241086a200341086a10121a20022000360204200028020021042000200236020020022004360200200420023602042000200028020841016a360208200341046a21020c010b0b0b0b002000410120001b10620b3e01027f024020002802002201044003402001220228020422010d000c020b000b03402000280208220228020020004621012002210020010d000b0b20020bb20101067f02400240200128020420012d00002202410176200241017122031b2205200028020420002d00002202410176200241017122041b2206200520064922071b2202450d002000280208200041016a20041b21002001280208200141016a20031b210103402002450d0120002d0000220320012d00002204460440200141016a2101200041016a21002002417f6a21020c010b0b200320046b22020d010b417f200720062005491b21020b2002411f760b890101027f200041046a2103024020002802042200044002400340024002402002200041106a2204103c0440200028020022040d012001200036020020000f0b20042002103c450d03200041046a210320002802042204450d01200321000b20002103200421000c010b0b2001200036020020030f0b200120003602000c010b200120033602000b20030b2d01017f2000411c103a22033602002000200141046a360204200341106a200210121a200041086a41013a00000b480020032001360208200342003702002002200336020020002802002802002201044020002001360200200228020021030b2000280204200310402000200028020841016a3602080bec0101037f200120002001463a000c03400240024020002001460d00200128020822022d000c0d002002200228020822032802002204460440024020032802042204450d0020042d000c0d002004410c6a21010c030b20012002280200470440200210412002280208220228020821030b200241013a000c200341003a000c200310420f0b02402004450d0020042d000c0d002004410c6a21010c020b20012002280200460440200210422002280208220228020821030b200241013a000c200341003a000c200310410b0f0b200241013a000c200320002003463a000c200141013a0000200321010c000b000b5101027f200020002802042201280200220236020420020440200220003602080b200120002802083602082000280208220220022802002000474102746a200136020020002001360208200120003602000b5101027f200020002802002201280204220236020020020440200220003602080b200120002802083602082000280208220220022802002000474102746a200136020020002001360208200120003602040b1d01017f03402000220128020022000d00200128020422000d000b20010b5c01017f0240200028020422030440034002402002200341106a103c044020032802002200450d040c010b200328020422000d0020012003360200200341046a0f0b200021030c000b000b200041046a21030b2001200336020020030b2001017f20002001103a2202360200200020023602042000200120026a3602080b2800200120006b220141014e044020022802002000200110361a2002200228020020016a3602000b0b1900200120006b2201044020022000200110490b200120026a0b2e01017f2001200028020820002802006b2200410174220220022001491b41ffffffff07200041ffffffff03491b0b8d0301037f024020002001460d00200120006b20026b410020024101746b4d044020002001200210361a0c010b20002001734103712103027f024020002001490440200020030d021a410021030340200120036a2105200020036a2204410371450440200220036b210241002103034020024104490d04200320046a200320056a280200360200200341046a21032002417c6a21020c000b000b20022003460d04200420052d00003a0000200341016a21030c000b000b024020030d002001417f6a21040340200020026a22034103714504402001417c6a21032000417c6a2104034020024104490d03200220046a200220036a2802003602002002417c6a21020c000b000b2002450d042003417f6a200220046a2d00003a00002002417f6a21020c000b000b2001417f6a210103402002450d03200020026a417f6a200120026a2d00003a00002002417f6a21020c000b000b200320056a2101200320046a0b210303402002450d01200320012d00003a00002002417f6a2102200341016a2103200141016a21010c000b000b0b2c01017f20004128103a22033602002000200141046a360204200341106a2002104b200041086a41013a00000b16002000200110121a2000410c6a2001410c6a10121a0b2301017f20002001104d2202360200200020023602042000200220014101746a3602080b09002000410174103a0b2501017f200120006b220141017521032001044020022000200110490b200220034101746a0b2a002001200028020820002802006b220020002001491b41ffffffff07200041017541ffffffff03491b0b5b01027f02402002410a4d0440200020024101743a0000200041016a21030c010b200241106a4170712204103a21032000200236020420002004410172360200200020033602080b20032001200210c801200220036a41003a00000b160020004100360208200042003702002000410010570b5801027f230041306b22012400200141286a4100360200200141206a4200370300200141186a420037030020014200370310200141106a2001200010121014210020012802102102200041046a1015200141306a240020020bdd0101047f024020002802042203200028020022026b22042001490440200028020820036b200120046b22024f04400340200341003a00002000200028020441016a22033602042002417f6a22020d000c030b000b200020011048220104402001103a21050b200420056a220421030340200341003a0000200341016a21032002417f6a22020d000b200120056a210520042000280204200028020022046b22016b2102200141014e044020022004200110361a0b2000200536020820002003360204200020023602000f0b200420014d0d002000200120026a3602040b0b1e01017f03402000044020004108762100200141016a21010c010b0b20010b25002000200120026a417f6a220241087641fcffff07716a280200200241ff07714102746a0b900101027f4101210420014280015441002002501b450440034020012002845045044020024238862001420888842101200341016a2103200242088821020c010b0b200341384f047f2003105420036a0520030b41016a21040b027f200041186a28020022030440200041086a280200200041146a280200200310550c010b20000b2203200328020020046a36020020000b2f01017f2000280208200149044020011062200028020020002802041036210220002001360208200020023602000b0b7001017f4101210302400240024002402002410146044020012c000022024100480d012000200241ff017110d2010c040b200241374b0d01200221030b200020034180017341ff017110d2010c010b2000200210d301200221030b200020012003410010ce010b2000410110d00120000bcf0202037f027e02402001200284500440200041800110d2010c010b20014280015441002002501b4504402001210720022106034020062007845045044020064238862007420888842107200341016a2103200642088821060c010b0b0240200341384f04402003210403402004044020044108762104200541016a21050c010b0b200541c9004f044010000b2000200541b77f6a41ff017110d2012000200028020420056a10d101200028020420002802006a417f6a21052003210403402004450d02200520043a0000200441087621042005417f6a21050c000b000b200020034180017341ff017110d2010b2000200028020420036a10d101200028020420002802006a417f6a210303402001200284500d02200320013c0000200242388620014208888421012003417f6a2103200242088821020c000b000b20002001a741ff017110d2010b2000410110d0010b2801017f200028020820002802046b2201410874417f6a410020011b200028021420002802106a6b0b2501017f200028020821020340200120024645044020002002417c6a22023602080c010b0b0ba10202057f017e230041206b22052400024020002802082202200028020c2203470d0020002802042204200028020022064b04402000200420022004200420066b41027541016a417e6d41027422036a105d22023602082000200028020420036a3602040c010b200541086a200320066b2202410175410120021b220220024102762000410c6a105e2103200028020821042000280204210203402002200446450440200328020820022802003602002003200328020841046a360208200241046a21020c010b0b2000290200210720002003290200370200200320073702002000290208210720002003290208370208200320073702082003105f200028020821020b200220012802003602002000200028020841046a360208200541206a24000b2501017f200120006b220141027521032001044020022000200110490b200220034102746a0b4f01017f2000410036020c200041106a2003360200200104402001410274103a21040b200020043602002000200420024102746a22023602082000200420014102746a36020c2000200236020420000b2b01027f200028020821012000280204210203402001200247044020002001417c6a22013602080c010b0b0b1b00200120006b22010440200220016b22022000200110490b20020b4f01037f20012802042203200128021020012802146a220441087641fcffff07716a21022000027f410020032001280208460d001a2002280200200441ff07714102746a0b360204200020023602000b9b0101047f230041106b220124002001200036020c2000047f41880c200041086a2202411076220041880c2802006a220336020041840c41840c280200220420026a41076a417871220236020002400240200341107420024d044041880c200341016a360200200041016a21000c010b2000450d010b200040000d0010000b20042001410c6a4104103641086a0541000b2100200141106a240020000b090010c701106410650bc52602057f027e230041c0166b2201240010022200106222021003200141d00a6a200141086a20022000106622004100106702400240200141d00a6a10682205500d0041c208106920055104402000106a200141d00a6a106b106c0c020b41c708106920055104402000106d410247044010000b200141d00a6a200041011067200141d00a6a106e2100200141d00a6a106b22022000101c2002106c0c020b41d008106920055104402000106a200141d00a6a106b22032d00102102200141b8086a101122002002106f100f20002002101a200028020c200041106a28020047044010000b200028020020002802041008200028020c22020440200020023602100b2003106c0c020b41d908106920055104402000106d410247044010000b200141d00a6a200041011067200141d00a6a10702100200141d00a6a106b22022000101d2002106c0c020b41e308106920055104402000106a200141d00a6a106b220341286a2f01002102200141b8086a1011220020021071100f20002002101a200028020c200041106a28020047044010000b200028020020002802041008200028020c22020440200020023602100b2003106c0c020b41ed08106920055104402000106d410247044010000b200141d00a6a200041011067200141d00a6a10722100200141d00a6a106b22022000101e2002106c0c020b41f708106920055104402000106a200141d00a6a106b220341406b2802002102200141b8086a1011220020021073100f20002002101a200028020c200041106a28020047044010000b200028020020002802041008200028020c22020440200020023602100b2003106c0c020b418109106920055104402000106d410247044010000b200141d00a6a200041011067200141d00a6a10682105200141d00a6a106b220041d8006a20053703002000106c0c020b418b09106920055104402000106a200141d00a6a106b220241d8006a2903002105200141b8086a1011220020051074100f200020051075200028020c200041106a28020047044010000b200028020020002802041008200028020c22030440200020033602100b2002106c0c020b41950910692005510440200141b8066a107621022000106d410247044010000b200141d00a6a200041011067200141d00a6a20021077200141d00a6a106b220041f8006a200141b8086a20021012101f1a2000106c0c020b419f09106920055104402000106a200141a0046a200141d00a6a106b220241f8006a10122100200141b8086a1011220320001052100f2003200141b8066a200010121017220028020c200041106a28020047044010000b200028020020002802041008200028020c22030440200020033602100b2002106c0c020b41a90910692005510440200141003a00b8082000106d410247044010000b200141d00a6a200041011067200141d00a6a200141b8086a1078200141d00a6a106b22004198016a20012d00b8083a00002000106c0c020b41b109106920055104402000106a200141d00a6a106b22034198016a2d00002102200141b8086a101122002002106f100f20002002101a200028020c200041106a28020047044010000b200028020020002802041008200028020c22020440200020023602100b2003106c0c020b41b909106920055104402000410110790c020b41c1091069200551044020004102107a0c020b41c90910692005510440200141b8066a107b2000106d410247044010000b200141d00a6a200041011067200141d00a6a200141b8066a107c200141d00a6a106b220041d0016a200141b8086a200141b8066a1012101f1a2000106c0c020b41d409106920055104402000106a200141b8066a200141d00a6a106b220241d0016a10121a200141b8086a10112200200141b8066a107d100f2000200141b8066a107e200028020c200041106a28020047044010000b200028020020002802041008200028020c22030440200020033602100b2002106c0c020b41df0910692005510440200141b8066a4124107f1a200141b8066a10800121022000106d410247044010000b200141d00a6a200041011067200141d00a6a2002108101200141d00a6a106b22004190026a200141b8086a2002102310222000106c0c020b41ec09106920055104402000106a200141b8086a200141d00a6a106b22034190026a10232102200141b8066a101122002002108201100f20002002108301200028020c200041106a28020047044010000b200028020020002802041008200028020c22020440200020023602100b2003106c0c020b41f909106920055104402000410310790c020b41810a1069200551044020004104107a0c020b41890a106920055104402000106d410247044010000b200141d00a6a200041011067200141d00a6a1084012100200141d00a6a106b220241e0026a20003b01002002106c0c020b41920a106920055104402000106a200141d00a6a106b220341e0026a2e01002102200141b8086a101122002002108501100f20002002108601200028020c200041106a28020047044010000b200028020020002802041008200028020c22020440200020023602100b2003106c0c020b419b0a106920055104402000106d410247044010000b200141d00a6a200041011067200141d00a6a1087012100200141d00a6a106b220241f8026a20003602002002106c0c020b41a40a106920055104402000106a200141d00a6a106b220341f8026a2802002102200141b8086a101122002002108801100f20002002108601200028020c200041106a28020047044010000b200028020020002802041008200028020c22020440200020023602100b2003106c0c020b41ad0a106920055104402000106d410247044010000b200141d00a6a200041011067200141d00a6a1089012105200141d00a6a106b22004190036a20053703002000106c0c020b41b60a106920055104402000106a200141d00a6a106b22024190036a2903002105200141b8086a101122002005108a01100f20002005108b01200028020c200041106a28020047044010000b200028020020002802041008200028020c22030440200020033602100b2002106c0c020b41bf0a10692005510440200141003602c006200142003703b8062000106d410247044010000b200141d00a6a200041011067200141d00a6a200141b8066a108c01200141d00a6a106b220241e0036a200141b8086a200141b8066a102722001026200028020022030440200020033602040b2002106c20012802b8062200450d02200120003602bc060c020b41c90a106920055104402000106a200141b8066a200141d00a6a106b220341e0036a10272102200141b8086a101122002002108d01100f20002002108e01200028020c200041106a28020047044010000b200028020020002802041008200028020c22040440200020043602100b200228020022000440200220003602040b2003106c0c020b41d30a10692005510440200142003702bc062001200141b8066a4104723602b8062000106d410247044010000b200141d00a6a200041011067200141d00a6a200141b8066a108f01200141d00a6a106b2200200141b8086a200141b8066a102b10282000106c0c020b41da0a106920055104402000106a200141b8066a200141d00a6a106b22034188046a102b2102200141b8086a101122002002109001100f20002002109101200028020c200041106a28020047044010000b200028020020002802041008200028020c22020440200020023602100b2003106c0c020b41e10a10692005510440200141b8086a107b200141003a00c808200141003602c408200141c8086a21022000106d410447044010000b200141d00a6a200041011067200141d00a6a200141b8086a107c200141d00a6a2000410210672001200141d00a6a1087013602c408200141d00a6a200041031067200141d00a6a20021078200141d00a6a106b2100200141b8066a200141b8086a10121a2000200141b8066a20012802c40820012d00c808102c2000106c0c020b41f10a10692005510440200141003602a804200142003703a0042000106d410247044010000b200141d00a6a200041011067200141d00a6a200141a0046a109201200141d00a6a106b220341b0046a200141b8086a200141b8066a200141a0046a102e2200102e2202102d200228020022040440200220043602040b200028020022020440200020023602040b2003106c20012802a0042200450d02200120003602a4040c020b41fa0a106920055104402000106a200141b8066a200141d00a6a106b220341b0046a102e2102200141b8086a1011220020022802002002280204109301100f200020021010200028020c200041106a28020047044010000b200028020020002802041008200028020c22040440200020043602100b200228020022000440200220003602040b2003106c0c020b41830b10692005510440200141b8066a41f800107f1a200141b8066a10940121022000106d410247044010000b200141d00a6a200041011067200141d00a6a2002109501200141d00a6a106b220041c0056a200141b8086a20021030102f2000106c0c020b418c0b106920055104402000106a200141b8086a200141d00a6a106b220341c0056a10302102200141b8066a101122002002109601100f20002002109701200028020c200041106a28020047044010000b200028020020002802041008200028020c22020440200020023602100b2003106c0c020b41950b10692005510440200141b8066a10980121022000106d410247044010000b200141d00a6a200041011067200141d00a6a2002109901200141d00a6a106b220041d0066a200141b8086a2002103210312000106c0c020b419d0b106920055104402000106a200141b8066a200141d00a6a106b220341d0066a10322102200141b8086a101122002002109a01100f20002002109b01200028020c200041106a28020047044010000b200028020020002802041008200028020c22020440200020023602100b2003106c0c020b41a50b10692005510440200142003702bc062001200141b8066a4104723602b8062000106d410247044010000b200141d00a6a200041011067200141d00a6a200141b8066a109c01200141d00a6a106b2200200141b8086a200141b8066a103510332000106c0c020b41ac0b106920055104402000106a200141b8066a200141d00a6a106b220341f8066a10352102200141b8086a101122002002109d01100f20002002109e01200028020c200041106a28020047044010000b200028020020002802041008200028020c22020440200020023602100b2003106c0c020b41b30b10692005510440200141b8066a109f0121022000106d410247044010000b200141d00a6a200041011067200141d00a6a200210a001200141d00a6a106b2100200141206a200141b8066a41800210361a200141b8086a200141206a41800210361a20004190096a200141b8086a41800210361a2000106c0c020b41c00b106920055104402000106a200141a0026a200141d00a6a106b22024190096a41800210361a200141a0066a10112200200141a0026a10a101100f200141a0046a200141a0026a41800210361a200141b8066a200141a0046a41800210361a200141206a200141b8066a41800210361a200141b8086a200141206a41800210361a2000200141b8086a4180021058220028020c200041106a28020047044010000b200028020020002802041008200028020c22030440200020033602100b2002106c0c020b41cd0b10692005510440200141003602c0062001200141b8066a3602bc062001200141b8066a3602b8062000106d410247044010000b200141d00a6a200041011067200141d00a6a200141b8066a10a201200141d00a6a106b2200200141b8086a200141b8066a103922021037200210a3012000106c200141b8066a10a3010c020b41d50b106920055104402000106a200141b8066a200141d00a6a106b220341a80b6a10392102200141b8086a10112200200210a401100f2000200210a501200028020c200041106a28020047044010000b200028020020002802041008200028020c22040440200020043602100b200210a3012003106c0c020b41dd0b10692005510440200141b8086a10a60121022000106d410247044010000b200141d00a6a200041011067200141d00a6a200210a701200141d00a6a106b2100200141b0066a200141c8086a2802002202360200200141a8066a200141c0086a2903002205370300200120012903b80822063703a006200041d80b6a2006370300200041e00b6a2005370300200041e80b6a20023602002000106c0c020b41e80b10692005520d002000106a200141306a2200200141d00a6a106b220241e80b6a280000360200200141286a2203200241e00b6a2900003703002001200241d80b6a290000370320200141b8086a10112204200141206a10a801100f200141b0026a20002802002200360200200141a8026a200329030022053703002001200129032022063703a002200141a8046a2005370300200141b0046a2000360200200141a8066a2005370300200141b0066a2000360200200120063703a004200120063703a006200141c8066a2000360200200141c0066a2005370300200120063703b8062004200141b8066a41141058220028020c200041106a28020047044010000b200028020020002802041008200028020c22030440200020033602100b2002106c0c010b10000b200141c0166a24000b880101037f41f40b410136020041f80b2802002100034020000440034041fc0b41fc0b2802002201417f6a2202360200200141014845044041f40b4100360200200020024102746a22004184016a280200200041046a28020011030041f40b410136020041f80b28020021000c010b0b41fc0b412036020041f80b200028020022003602000c010b0b0b0d00200020012002411c10a9010bd00202067f017e230041106b220324002001280208220520024b0440200341086a200110cd0120012003280208200328020c10cb0136020c2003200110cd01410021052001027f410020032802002207450d001a410020032802042208200128020c2206490d001a200820062006417f461b210420070b360210200141146a2004360200200141003602080b200141106a210603402001280214210402402005200249044020040d01410021040b200020062802002004411410a9011a200341106a24000f0b2003200110cd0141002104027f410020032802002205450d001a410020032802042208200128020c2207490d001a200820076b2104200520076a0b210520012004360214200120053602102003200641002005200410cb0110cc012001200329030022093702102001200128020c2009422088a76a36020c2001200128020841016a22053602080c000b000b880102027f017e230041106b22012400200010aa0102400240200010ab01450d002000280204450d0020002802002d000041c001490d010b10000b200141086a200010ac01200128020c220041094f044010000b200128020821020340200004402000417f6a210020023100002003420886842103200241016a21020c010b0b200141106a240020030b3901027e42a5c688a1c89ca7f94b210103402000300000220250450440200041016a2100200142b383808080207e20028521010c010b0b20010b0e002000106d410147044010000b0bca2901097f230041406a22012400200042ddbe888dc5fcfca4987f370308200041003a0000200141286a1011220320002903081075200328020c200341106a28020047044010000b0240200328020022072003280204220810042205450d002001410036022020014200370318200141186a200510532007200820012802182204200128021c220620046b1005417f47044020002001200441016a20062004417f736a1066106e3a0010200521020b2004450d002001200436021c0b200328020c22040440200320043602100b2002450440200020002d00003a00100b41002102200041003b0118200041206a220442debe888dc5fcfca4987f370300200141286a1011220320042903001075200328020c200341106a28020047044010000b0240200328020022072003280204220810042205450d002001410036022020014200370318200141186a200510532007200820012802182204200128021c220620046b1005417f47044020002001200441016a20062004417f736a106610703b0128200521020b2004450d002001200436021c0b200328020c22040440200320043602100b2002450440200020002f01183b01280b4100210220004100360230200041386a220442dfbe888dc5fcfca4987f370300200141286a1011220320042903001075200328020c200341106a28020047044010000b0240200328020022072003280204220810042205450d002001410036022020014200370318200141186a200510532007200820012802182204200128021c220620046b1005417f47044020002001200441016a20062004417f736a10661072360240200521020b2004450d002001200436021c0b200328020c22040440200320043602100b2002450440200020002802303602400b20004200370348200041d0006a220242d9be888dc5fcfca4987f370300200141286a1011220320022903001075200328020c200341106a28020047044010000b0240200328020022072003280204220810042205450440410021040c010b410021042001410036022020014200370318200141186a200510532007200820012802182202200128021c220620026b1005417f47044020002001200241016a20062002417f736a10661068370358200521040b2002450d002001200236021c0b200328020c22020440200320023602100b2004450440200020002903483703580b200041e0006a10762109200041f0006a220242a7cea8ad82a0ff995b370300200041f8006a10762107200141286a1011220320022903001075200328020c200341106a28020047044010000b0240200328020022082003280204220610042205450440410021040c010b410021042001410036022020014200370318200141186a200510532008200620012802182202200128021c220620026b1005417f4704402001200241016a20062002417f736a106620071077200521040b2002450d002001200236021c0b200328020c22020440200320023602100b200445044020072009101f1a0b41002102200041003a00880120004190016a220442f4a2efb3f6e5b8ad03370300200141286a1011220320042903001075200328020c200341106a28020047044010000b0240200328020022072003280204220810042205450d002001410036022020014200370318200141186a200510532007200820012802182204200128021c220620046b1005417f4704402001200441016a20062004417f736a106620004198016a1078200521020b2004450d002001200436021c0b200328020c22040440200320043602100b2002450440200020002d0088013a0098010b200041003a00a001200041a8016a220342badda0b2f6c5fa8e033703002003200041b0016a10ad01450440200020002d00a0013a00b0010b200042003703b801200041c0016a4100360200200041b8016a10762109200041c8016a2202428aedabfdf7a698fe29370300200041d0016a220710761a200141286a1011220320022903001075200328020c200341106a28020047044010000b0240200328020022082003280204220610042205450440410021040c010b410021042001410036022020014200370318200141186a200510532008200620012802182202200128021c220620026b1005417f4704402001200241016a20062002417f736a10662007107c200521040b2002450d002001200236021c0b200328020c22020440200320023602100b200445044020072009101f1a0b41002102200041e0016a4124107f108001210920004188026a220442d4b7b1edebf7e3f66a37030020004190026a1080012107200141286a1011220320042903001075200328020c200341106a28020047044010000b0240200328020022082003280204220610042205450d002001410036022020014200370318200141186a200510532008200620012802182204200128021c220620046b1005417f4704402001200441016a20062004417f736a10662007108101200521020b2004450d002001200436021c0b200328020c22040440200320043602100b20024504402007200910220b200041003a00b802200041c0026a220342ccacbdb4f8a587a93d3703002003200041c8026a10ad01450440200020002d00b8023a00c8020b200041003b01d002200041d8026a220242cfacbdb4f8a587a93d370300200141286a1011220320022903001075200328020c200341106a28020047044010000b0240200328020022072003280204220810042205450440410021040c010b410021042001410036022020014200370318200141186a200510532007200820012802182202200128021c220620026b1005417f47044020002001200241016a20062002417f736a10661084013b01e002200521040b2002450d002001200236021c0b200328020c22020440200320023602100b2004450440200020002f01d0023b01e0020b41002102200041003602e802200041f0026a220442ceacbdb4f8a587a93d370300200141286a1011220320042903001075200328020c200341106a28020047044010000b0240200328020022072003280204220810042205450d002001410036022020014200370318200141186a200510532007200820012802182204200128021c220620046b1005417f47044020002001200441016a20062004417f736a10661087013602f802200521020b2004450d002001200436021c0b200328020c22040440200320043602100b2002450440200020002802e8023602f8020b200042003703800320004188036a220242c8acbdb4f8a587a93d370300200141286a1011220320022903001075200328020c200341106a28020047044010000b0240200328020022072003280204220810042205450440410021040c010b410021042001410036022020014200370318200141186a200510532007200820012802182202200128021c220620026b1005417f47044020002001200241016a20062002417f736a106610890137039003200521040b2002450d002001200236021c0b200328020c22020440200320023602100b20044504402000200029038003370390030b410021022000410036029803200041a0036a220442e2e780dbeae4fcabe100370300200141286a1011220320042903001075200328020c200341106a28020047044010000b0240200328020022072003280204220810042205450d002001410036022020014200370318200141186a200510532007200820012802182204200128021c220620046b1005417f47044020002001200441016a20062004417f736a106610723602a803200521020b2004450d002001200436021c0b200328020c22040440200320043602100b200245044020002000280298033602a8030b200042003703b003200041b8036a220242b3debf9dbddf9ca832370300200141286a1011220320022903001075200328020c200341106a28020047044010000b0240200328020022072003280204220810042205450440410021040c010b410021042001410036022020014200370318200141186a200510532007200820012802182202200128021c220620026b1005417f47044020002001200241016a20062002417f736a106610683703c003200521040b2002450d002001200236021c0b200328020c22020440200320023602100b2004450440200020002903b0033703c0030b200042003702c80341002102200041e8036a4100360200200041e0036a22074200370200200041d8036a2204429fe6c89bc186c5be1d370300200041d0036a4100360200200141286a1011220320042903001075200328020c200341106a28020047044010000b0240200328020022082003280204220610042205450d002001410036022020014200370318200141186a200510532008200620012802182204200128021c220920046b1005417f4704402001200441016a20092004417f736a10662007108c01200521020b2004450d002001200436021c0b200328020c22040440200320043602100b20024504402007200041c8036a10260b200041f4036a220342003702002000418c046a2202420037020020004180046a2204428cbcadf0bacdb08975370300200020033602f00320004188046a22072002360200200141286a1011220320042903001075200328020c200341106a28020047044010000b0240200328020022082003280204220610042205450440410021040c010b410021042001410036022020014200370318200141186a200510532008200620012802182202200128021c220920026b1005417f4704402001200241016a20092002417f736a10662007108f01200521040b2002450d002001200236021c0b200328020c22020440200320023602100b20044504402007200041f0036a10290b200042003702980441002102200041b8046a4100360200200041b0046a22074200370200200041a8046a220442bd8ce2969cacfba4b07f370300200041a0046a4100360200200141286a1011220320042903001075200328020c200341106a28020047044010000b0240200328020022082003280204220610042205450d002001410036022020014200370318200141186a200510532008200620012802182204200128021c220920046b1005417f4704402001200441016a20092004417f736a10662007109201200521020b2004450d002001200436021c0b200328020c22040440200320043602100b2002450440200720004198046a102d0b41002102200041c0046a41f800107f1094012109200041b8056a2204429fa88ce0a0829ecea47f370300200041c0056a1094012107200141286a1011220320042903001075200328020c200341106a28020047044010000b0240200328020022082003280204220610042205450d002001410036022020014200370318200141186a200510532008200620012802182204200128021c220620046b1005417f4704402001200441016a20062004417f736a10662007109501200521020b2004450d002001200436021c0b200328020c22040440200320043602100b200245044020072009102f0b200041b8066a1098012109200041c8066a220242bcf8d4f484c7a18d807f370300200041d0066a1098012107200141286a1011220320022903001075200328020c200341106a28020047044010000b0240200328020022082003280204220610042205450440410021040c010b410021042001410036022020014200370318200141186a200510532008200620012802182202200128021c220620026b1005417f4704402001200241016a20062002417f736a10662007109901200521040b2002450d002001200236021c0b200328020c22020440200320023602100b20044504402007200910310b200041e4066a22034200370200200041fc066a22024200370200200041f0066a220442eafdbbb690ac81edca00370300200020033602e006200041f8066a22072002360200200141286a1011220320042903001075200328020c200341106a28020047044010000b0240200328020022082003280204220610042205450440410021040c010b410021042001410036022020014200370318200141186a200510532008200620012802182202200128021c220920026b1005417f4704402001200241016a20092002417f736a10662007109c01200521040b2002450d002001200236021c0b200328020c22020440200320023602100b20044504402007200041e0066a10340b20004188076a2209109f011a20004188096a220242d0b4afbcbf988ce0b77f37030020004190096a109f012107200141286a1011220320022903001075200328020c200341106a28020047044010000b0240200328020022082003280204220610042205450440410021040c010b410021042001410036022020014200370318200141186a200510532008200620012802182202200128021c220620026b1005417f4704402001200241016a20062002417f736a1066200710a001200521040b2002450d002001200236021c0b200328020c22020440200320023602100b20044504402007200941800210361a0b41002104200041b00b6a4100360200200041ac0b6a200041a80b6a2202360200200041a00b6a220542f4ffce959b97c9c1d500370300200041980b6a4100360200200041940b6a200041900b6a2207360200200020073602900b20022002360200200141286a1011220320052903001075200328020c200341106a28020047044010000b0240200328020022062003280204220910042208450d002001410036022020014200370318200141186a200810532006200920012802182205200128021c220620056b1005417f4704402001200541016a20062005417f736a1066200210a201200821040b2005450d002001200536021c0b200328020c22050440200320053602100b20044504402002200710380b200041b80b6a220710a6011a200041d00b6a220242affad78bbfdecaa6f300370300200041d80b6a10a6012104200141286a1011220320022903001075200328020c200341106a28020047044010000b0240200328020022062003280204220910042208450440410021050c010b410021052001410036022020014200370318200141186a200810532006200920012802182202200128021c220620026b1005417f4704402001200241016a20062002417f736a1066200410a701200821050b2002450d002001200236021c0b200328020c22020440200320023602100b200545044020042007290300370300200441106a200741106a280200360200200441086a200741086a2903003703000b200141406b240020000b953102087f027e230041c0086b22052400200541c0066a10112201200041d00b6a22022903001074100f200120022903001075200041d80b6a2102200128020c200141106a28020047044010000b2001280204210720012802002106200541c0046a10112104200210a8012108200420054180026a10ae01220310af012004200820032802046a20032802006b100f200541a0026a200241106a280000220836020020054198026a200241086a290000220937030020052002290000220a37039002200541b0026a2009370300200541b8026a2008360200200541086a2009370300200541106a20083602002005200a3703a8022005200a370300200541d0026a2008360200200541c8026a20093703002005200a3703c00202402004200541c0026a41141058220228020c200241106a280200460440200241046a2104200228020021080c010b200241046a2104100020022802002108200228020c2002280210460d0010000b20062007200820042802001006200328020022040440200320043602040b200228020c22030440200220033602100b200128020c22020440200120023602100b200541c0066a10112202200041a00b6a22012903001074100f200220012903001075200041a80b6a2104200228020c200241106a28020047044010000b2002280204210820022802002107200541c0046a10112101200410a40121062001200541c0026a10ae01220310af012001200620032802046a20032802006b100f2001200410a5010240200128020c200141106a280200460440200141046a2104200128020021060c010b200141046a2104100020012802002106200128020c2001280210460d0010000b20072008200620042802001006200328020022040440200320043602040b200128020c22030440200120033602100b200228020c22010440200220013602100b200041a80b6a10a301200041900b6a10a301200541a8026a1011220120004188096a22022903001074100f20012002290300107520004190096a2104200128020c200141106a28020047044010000b200128020421082001280200210720054190026a10112102200410a1012106200220054180026a10ae01220310af012002200620032802046a20032802006b100f200520044180021036220541c0026a200541800210361a200541c0046a200541c0026a41800210361a200541c0066a200541c0046a41800210361a02402002200541c0066a4180021058220228020c200241106a280200460440200241046a2104200228020021060c010b200241046a2104100020022802002106200228020c2002280210460d0010000b20072008200620042802001006200328020022040440200320043602040b200228020c22030440200220033602100b200128020c22020440200120023602100b200541c0066a10112202200041f0066a22012903001074100f200220012903001075200041f8066a2104200228020c200241106a28020047044010000b2002280204210820022802002107200541c0046a101121012004109d0121062001200541c0026a10ae01220310af012001200620032802046a20032802006b100f20012004109e010240200128020c200141106a280200460440200141046a2104200128020021060c010b200141046a2104100020012802002106200128020c2001280210460d0010000b20072008200620042802001006200328020022040440200320043602040b200128020c22030440200120033602100b200228020c22010440200220013602100b200541c0066a10112202200041c8066a22012903001074100f200220012903001075200041d0066a2104200228020c200241106a28020047044010000b2002280204210820022802002107200541c0046a101121012004109a0121062001200541c0026a10ae01220310af012001200620032802046a20032802006b100f20012004109b010240200128020c200141106a280200460440200141046a2104200128020021060c010b200141046a2104100020012802002106200128020c2001280210460d0010000b20072008200620042802001006200328020022040440200320043602040b200128020c22030440200120033602100b200228020c22010440200220013602100b200541c0066a10112202200041b8056a22012903001074100f200220012903001075200041c0056a2104200228020c200241106a28020047044010000b2002280204210820022802002107200541c0046a10112101200410960121062001200541c0026a10ae01220310af012001200620032802046a20032802006b100f200120041097010240200128020c200141106a280200460440200141046a2104200128020021060c010b200141046a2104100020012802002106200128020c2001280210460d0010000b20072008200620042802001006200328020022040440200320043602040b200128020c22030440200120033602100b200228020c22010440200220013602100b200541c0066a10112202200041a8046a22012903001074100f200220012903001075200041b0046a2104200228020c200241106a28020047044010000b2002280204210820022802002107200541c0046a1011210120002802b004200041b4046a28020010930121062001200541c0026a10ae01220310af012001200620032802046a20032802006b100f2001200410100240200128020c200141106a280200460440200141046a2104200128020021060c010b200141046a2104100020012802002106200128020c2001280210460d0010000b20072008200620042802001006200328020022040440200320043602040b200128020c22030440200120033602100b200228020c22010440200220013602100b200041b0046a28020022010440200041b4046a20013602000b200028029804220104402000419c046a20013602000b200541c0066a1011220220004180046a22012903001074100f20022001290300107520004188046a2104200228020c200241106a28020047044010000b2002280204210820022802002107200541c0046a10112101200410900121062001200541c0026a10ae01220310af012001200620032802046a20032802006b100f200120041091010240200128020c200141106a280200460440200141046a2104200128020021060c010b200141046a2104100020012802002106200128020c2001280210460d0010000b20072008200620042802001006200328020022040440200320043602040b200128020c22030440200120033602100b200228020c22010440200220013602100b200541c0066a10112202200041d8036a22012903001074100f200220012903001075200041e0036a2104200228020c200241106a28020047044010000b2002280204210820022802002107200541c0046a101121012004108d0121062001200541c0026a10ae01220310af012001200620032802046a20032802006b100f20012004108e010240200128020c200141106a280200460440200141046a2104200128020021060c010b200141046a2104100020012802002106200128020c2001280210460d0010000b20072008200620042802001006200328020022040440200320043602040b200128020c22030440200120033602100b200228020c22010440200220013602100b200041e0036a28020022010440200041e4036a20013602000b20002802c80322010440200041cc036a20013602000b200541c0046a10112202200041b8036a22012903001074100f200220012903001075200228020c200241106a28020047044010000b2002280204210420022802002108200541c0026a10112101200541d8066a4100360200200541d0066a4200370300200541c8066a4200370300200542003703c006200541c0066a20002903c00310b00120052802c0062107200541c0066a41047210152001200541c0066a10ae01220310af012001200720032802046a20032802006b100f200120002903c00310750240200128020c200141106a280200460440200141046a2107200128020021060c010b200141046a2107100020012802002106200128020c2001280210460d0010000b20082004200620072802001006200328020022040440200320043602040b200128020c22030440200120033602100b200228020c22010440200220013602100b200541c0046a10112202200041a0036a22012903001074100f200220012903001075200228020c200241106a28020047044010000b2002280204210420022802002108200541c0026a10112101200541d8066a4100360200200541d0066a4200370300200541c8066a4200370300200542003703c006200541c0066a20002802a803101920052802c0062107200541c0066a41047210152001200541c0066a10ae01220310af012001200720032802046a20032802006b100f200120002802a803101a0240200128020c200141106a280200460440200141046a2107200128020021060c010b200141046a2107100020012802002106200128020c2001280210460d0010000b20082004200620072802001006200328020022040440200320043602040b200128020c22030440200120033602100b200228020c22010440200220013602100b200541c0066a1011220220004188036a22012903001074100f200220012903001075200228020c200241106a28020047044010000b2002280204210420022802002108200541c0046a10112101200029039003108a0121072001200541c0026a10ae01220310af012001200720032802046a20032802006b100f2001200029039003108b010240200128020c200141106a280200460440200141046a2107200128020021060c010b200141046a2107100020012802002106200128020c2001280210460d0010000b20082004200620072802001006200328020022040440200320043602040b200128020c22030440200120033602100b200228020c22010440200220013602100b200541c0066a10112202200041f0026a22012903001074100f200220012903001075200228020c200241106a28020047044010000b2002280204210420022802002108200541c0046a1011210120002802f80210880121072001200541c0026a10ae01220310af012001200720032802046a20032802006b100f200120002802f8021086010240200128020c200141106a280200460440200141046a2107200128020021060c010b200141046a2107100020012802002106200128020c2001280210460d0010000b20082004200620072802001006200328020022040440200320043602040b200128020c22030440200120033602100b200228020c22010440200220013602100b200541c0066a10112202200041d8026a22012903001074100f200220012903001075200228020c200241106a28020047044010000b2002280204210420022802002108200541c0046a1011210120002f01e00210850121072001200541c0026a10ae01220310af012001200720032802046a20032802006b100f200120002e01e0021086010240200128020c200141106a280200460440200141046a2107200128020021060c010b200141046a2107100020012802002106200128020c2001280210460d0010000b20082004200620072802001006200328020022040440200320043602040b200128020c22030440200120033602100b200228020c22010440200220013602100b200041c0026a200041c8026a10b101200541c0066a1011220220004188026a22012903001074100f20022001290300107520004190026a2104200228020c200241106a28020047044010000b2002280204210820022802002107200541c0046a10112101200410820121062001200541c0026a10ae01220310af012001200620032802046a20032802006b100f200120041083010240200128020c200141106a280200460440200141046a2104200128020021060c010b200141046a2104100020012802002106200128020c2001280210460d0010000b20072008200620042802001006200328020022040440200320043602040b200128020c22030440200120033602100b200228020c22010440200220013602100b200541c0066a10112202200041c8016a22012903001074100f200220012903001075200041d0016a2104200228020c200241106a28020047044010000b2002280204210820022802002107200541c0046a101121012004107d21062001200541c0026a10ae01220310af012001200620032802046a20032802006b100f20012004107e0240200128020c200141106a280200460440200141046a2104200128020021060c010b200141046a2104100020012802002106200128020c2001280210460d0010000b20072008200620042802001006200328020022040440200320043602040b200128020c22030440200120033602100b200228020c22010440200220013602100b200041a8016a200041b0016a10b101200541c0066a1011220220004190016a22012903001074100f200220012903001075200228020c200241106a28020047044010000b2002280204210420022802002108200541c0046a1011210120002d009801106f21072001200541c0026a10ae01220310af012001200720032802046a20032802006b100f200120002d009801101a0240200128020c200141106a280200460440200141046a2107200128020021060c010b200141046a2107100020012802002106200128020c2001280210460d0010000b20082004200620072802001006200328020022040440200320043602040b200128020c22030440200120033602100b200228020c22010440200220013602100b200541c0066a10112201200041f0006a22022903001074100f200120022903001075200041f8006a2104200128020c200141106a28020047044010000b2001280204210820012802002107200541c0046a101121022004105221062002200541c0026a10ae01220310af012002200620032802046a20032802006b100f024020022005200410121017220228020c200241106a280200460440200241046a2104200228020021060c010b200241046a2104100020022802002106200228020c2002280210460d0010000b20072008200620042802001006200328020022040440200320043602040b200228020c22030440200220033602100b200128020c22020440200120023602100b200541c0066a10112202200041d0006a22012903001074100f200220012903001075200228020c200241106a28020047044010000b2002280204210420022802002108200541c0046a101121012000290358107421072001200541c0026a10ae01220310af012001200720032802046a20032802006b100f2001200029035810750240200128020c200141106a280200460440200141046a2107200128020021060c010b200141046a2107100020012802002106200128020c2001280210460d0010000b20082004200620072802001006200328020022040440200320043602040b200128020c22030440200120033602100b200228020c22010440200220013602100b200541c0066a10112202200041386a22012903001074100f200220012903001075200228020c200241106a28020047044010000b2002280204210420022802002108200541c0046a101121012000280240107321072001200541c0026a10ae01220310af012001200720032802046a20032802006b100f20012000280240101a0240200128020c200141106a280200460440200141046a2107200128020021060c010b200141046a2107100020012802002106200128020c2001280210460d0010000b20082004200620072802001006200328020022040440200320043602040b200128020c22030440200120033602100b200228020c22010440200220013602100b200541c0066a10112202200041206a22012903001074100f200220012903001075200228020c200241106a28020047044010000b2002280204210420022802002108200541c0046a1011210120002f0128107121072001200541c0026a10ae01220310af012001200720032802046a20032802006b100f200120002f0128101a0240200128020c200141106a280200460440200141046a2107200128020021060c010b200141046a2107100020012802002106200128020c2001280210460d0010000b20082004200620072802001006200328020022040440200320043602040b200128020c22030440200120033602100b200228020c22010440200220013602100b200541c0066a1011220220002903081074100f200220002903081075200228020c200241106a28020047044010000b2002280204210420022802002108200541c0046a1011210120002d0010106f21072001200541c0026a10ae01220310af012001200720032802046a20032802006b100f200120002d0010101a0240200128020c200141106a280200460440200141046a2107200128020021060c010b200141046a2107100020012802002106200128020c2001280210460d0010000b20082004200620072802001006200328020022040440200320043602040b200128020c22030440200120033602100b200228020c22010440200220013602100b200541c0086a24000b2601017f02402000280204450d0020002802002d000041c001490d00200010b20121010b20010b800101037f230041106b22012400200010aa0102400240200010ab01450d002000280204450d0020002802002d000041c001490d010b10000b200141086a200010ac01200128020c220041024f044010000b200128020821020340200004402000417f6a210020022d00002103200241016a21020c010b0b200141106a240020030b5801027f230041206b22012400200141186a4100360200200141106a4200370300200141086a42003703002001420037030020012000ad42ff018342001056210020012802002102200041046a1015200141206a240020020b8b0101037f230041106b22012400200010aa0102400240200010ab01450d002000280204450d0020002802002d000041c001490d010b10000b200141086a200010ac01200128020c220041034f044010000b200128020821030340200004402000417f6a210020032d00002002410874722102200341016a21030c010b0b200141106a2400200241ffff03710b5401017f230041206b22012400200141186a4100360200200141106a4200370300200141086a4200370300200142003703002001200041ffff037110192001280200210020014104721015200141206a240020000b860101037f230041106b22012400200010aa0102400240200010ab01450d002000280204450d0020002802002d000041c001490d010b10000b200141086a200010ac01200128020c220041054f044010000b200128020821030340200004402000417f6a210020032d00002002410874722102200341016a21030c010b0b200141106a240020020b4f01017f230041206b22012400200141186a4100360200200141106a4200370300200141086a4200370300200142003703002001200010192001280200210020014104721015200141206a240020000b5001027f230041206b22012400200141186a4100360200200141106a4200370300200141086a4200370300200142003703002001200010b0012001280200210220014104721015200141206a240020020b0a0020002001420010590b1a0020004200370200200041086a4100360200200010b30120000ba40201057f230041206b22022400024002402000280204044020002802002d000041c001490d010b200241086a10761a0c010b200241186a200010ac01200010b40121030240024002400240200228021822000440200228021c220520034f0d010b41002100200241106a410036020020024200370308410021050c010b200241106a4100360200200242003703082000200520032003417f461b22046a21052004410a4b0d010b200220044101743a0008200241086a41017221030c010b200441106a4170712206103a21032002200436020c20022006410172360208200220033602100b03402000200546450440200320002d00003a0000200341016a2103200041016a21000c010b0b200341003a00000b2001200241086a10b501200241206a24000b0e0020012000106e4100473a00000b4401027f230041f00b6b220224002000106d410247044010000b2002200041011067200210b60121002002106b21032002200020011100002003106c200241f00b6a24000b7b01027f230041900c6b220224002000106a200241086a106b2103200241086a20011101002100200241f80b6a10112201200010b701100f20012000108601200128020c200141106a28020047044010000b200128020020012802041008200128020c22000440200120003602100b2003106c200241900c6a24000b180020004200370200200041086a4100360200200010761a0b2801017f230041206b22022400200241086a200041001067200241086a20011077200241206a24000b5001017f230041206b22012400200141186a4100360200200141106a4200370300200141086a4200370300200142003703002001200010b8012001280200210020014104721015200141206a240020000b6e01027f230041406a220224002000410110162100200241386a4100360200200241306a4200370300200241286a420037030020024200370320200241206a200241106a200110121014210320002002280220100f200020022001101210171a200341046a1015200241406b24000be10201027f02402001450d00200041003a0000200020016a2203417f6a41003a000020014103490d00200041003a0002200041003a00012003417d6a41003a00002003417e6a41003a000020014107490d00200041003a00032003417c6a41003a000020014109490d002000410020006b41037122026a220341003602002003200120026b417c7122026a2201417c6a410036020020024109490d002003410036020820034100360204200141786a4100360200200141746a410036020020024119490d002003410036021820034100360214200341003602102003410036020c200141706a41003602002001416c6a4100360200200141686a4100360200200141646a41003602002002200341047141187222026b2101200220036a2102034020014120490d0120024200370300200241186a4200370300200241106a4200370300200241086a4200370300200241206a2102200141606a21010c000b000b20000b1900200010761a2000410c6a10761a200041186a10761a20000b5601017f230041206b22022400200241086a200041001067200241086a2001107c200241086a200041011067200241086a2001410c6a1077200241086a200041021067200241086a200141186a1077200241206a24000b7a01027f230041406a22012400200141186a4100360200200141106a4200370300200141086a4200370300200142003703002001410010132202200010b8012002200141306a2000410c6a10121014200141206a200041186a1012101441011013210020012802002102200041046a1015200141406b240020020ba30101047f230041e0006b220224002000410310162100200241d8006a4100360200200241d0006a4200370300200241c8006a420037030020024200370340200241406b200110b801200241406b200241306a2001410c6a220310121014200241206a200141186a220410121014210520002002280240100f20002001107e2000200241106a20031012101720022004101210171a200541046a1015200241e0006a24000b3902017f017e230041106b220124002001200010b90120012903002102200141106a2400420020024201837d200242018885a74110744110750b6202027f017e230041206b22012400200141186a4100360200200141106a4200370300200141086a42003703002001420037030020012000ad42308622034230872003423f8710ba01210020012802002102200041046a1015200141206a240020020b1301017e20002001ac22022002423f8710bb010b3302017f017e230041106b220124002001200010b90120012903002102200141106a2400420020024201837d200242018885a70b5201027f230041206b22012400200141186a4100360200200141106a4200370300200141086a4200370300200142003703002001200010bc01210020012802002102200041046a1015200141206a240020020b4202017f027e230041106b220124002001200010b901200141086a290300210320012903002102200141106a2400420020024201837d2003423f86200242018884850b5701037f230041206b22012400200141186a4100360200200141106a4200370300200141086a420037030020014200370300200120002000423f8710ba01210220012802002103200241046a1015200141206a240020030b0e00200020012001423f8710bb010bb10201047f230041d0006b22022400024002402000280204450d0020002802002d000041c001490d002000106d21032001280208200128020022046b4101752003490440200120022003200128020420046b410175200141086a10bd01220310be01200310bf010b200241286a200010c001200241186a200010c101200141086a21050340200228022c200228021c46044020022802302002280220460d030b2002200241286a10c2012002107021030240200128020422002001280208490440200020033b01002001200041026a3602040c010b200241386a2001200020012802006b410175220041016a104f2000200510bd0121002002280240220420033b01002002200441026a3602402001200010be01200010bf010b200241286a10c3010c000b000b10000b200241d0006a24000b9c0101037f230041206b22012400200141186a4100360200200141106a4200370300200141086a420037030020014200370300024020002802002000280204460440200110c4010c010b200141001013210220002802042103200028020021000340200020034604402002410110131a05200220002f01001019200041026a21000c010b0b0b2001280200210020014104721015200141206a240020000b4301017f2000200128020420012802006b410175101621022001280204210020012802002101034020002001470440200220012f0100101a200141026a21010c010b0b0be20201057f23004190016b22022400024002402000280204450d0020002802002d000041c001490d00200241c8006a200010c001200241386a200010c101200241146a21040340200228024c200228023c46044020022802502002280240460d030b200241206a200241c8006a10c201200241086a10762100200410762105200241206a10c501410247044010000b20024180016a10762103200241e8006a200241206a41001067200241e8006a200310772000200310b501200241d8006a10762103200241e8006a200241206a41011067200241e8006a200310772005200310b5012001200241e8006a2000103d22062802004504404128103a22032002290308370210200341186a200241106a280200360200200010b301200341246a200441086a2802003602002003411c6a2004290200370200200510b3012001200228026820062003103f0b200241c8006a10c3010c000b000b10000b20024190016a24000bd00101047f230041e0006b22012400200141206a4100360200200141186a4200370300200141106a42003703002001420037030802402000280208450440200141086a10c4010c010b200041046a2103200141086a410010132102200141346a2104200028020021000340200020034604402002410110131a05200141286a200041106a104b200241001013200141d0006a200141286a10121014200141406b200410121014410110131a2000102a21000c010b0b0b20012802082100200141086a4104721015200141e0006a240020000b6101027f230041206b220224002000200128020810162103200141046a210020012802002101034020002001460440200241206a240005200341021016200241106a200141106a1012101720022001411c6a101210171a2001102a21010c010b0b0bce0101037f230041206b22022400024002402000280204044020002802002d000041c001490d010b20024100360208200242003703000c010b200241186a200010ac0120022802182103200241106a200010ac0120022802102104200010b40121002002410036020820024200370300200020046a20036b2200450d0020022000104520004101480d002002200228020420032000103620006a3602040b2001280200044020014100360208200142003702000b2001200228020036020020012002290204370204200241206a24000b5301017f230041206b22022400200241186a4100360200200241106a4200370300200241086a420037030020024200370300200220002001100e210020022802002101200041046a1015200241206a240020010b2c01037f200041f8006a21022000210103402001107621032001410c6a21012003410c6a2002470d000b20000b6101037f230041306b22022400200010c501410a47044010000b03402003410a460440200241306a240005200241206a10762104200241086a200020031067200241086a200410772001200410b5012001410c6a2101200341016a21030c010b0b0b800101037f230041306b22012400200141186a4100360200200141106a4200370300200141086a42003703002001420037030020014100101321030340200241f800464504402003200141206a200020026a101210141a2002410c6a21020c010b0b200341011013210220012802002103200241046a1015200141306a240020030b4401027f230041106b220224002000410a10162103410021000340200041f800460440200241106a24000520032002200020016a101210171a2000410c6a21000c010b0b0b1000200010761a2000410036020c20000b5d01027f230041306b22022400200010c501410247044010000b200241206a10762103200241086a200041001067200241086a200310772001200310b501200241086a2000410110672001200241086a10870136020c200241306a24000b7301027f230041406a22012400200141286a4100360200200141206a4200370300200141186a4200370300200142003703102001200010322100200141106a41001013200141306a200010121014200028020c10bc0141011013210020012802102102200041046a1015200141406b240020020b2a01017f230041106b220224002000410210162002200110121017200128020c108601200241106a24000bd70101047f230041d0006b22022400024002402000280204450d0020002802002d000041c001490d00200241406b200010c001200241306a200010c101200241106a210403402002280244200228023446044020022802482002280238460d030b200241186a200241406b10c201200241186a200241086a1076220010772001200241cc006a2000103d2205280200450440411c103a22032002290308370210200341186a2004280200360200200010b3012001200228024c20052003103f0b200241406b10c3010c000b000b10000b200241d0006a24000b9e0101037f230041306b22012400200141186a4100360200200141106a4200370300200141086a42003703002001420037030002402000280208450440200110c4010c010b200041046a21032001410010132102200028020021000340200020034604402002410110131a052002200141206a200041106a101210141a2000102a21000c010b0b0b2001280200210020014104721015200141306a240020000b4f01027f230041106b220224002000200128020810162103200141046a210020012802002101034020002001460440200241106a24000520032002200141106a101210171a2001102a21010c010b0b0b2601017f0340200141800246450440200020016a41003a0000200141016a21010c010b0b20000b990101027f23004190046b22022400200010aa0120024188046a200010ac01200228028c042103024002402000280204450d0020034180024b0d0020002802002d000041c001490d010b10000b20024188026a109f0120034180022003418002491b22006b4180026a200228028804200010361a200241086a20024188026a41800210361a2001200241086a41800210361a20024190046a24000bc00101037f230041a0086b2201240020014198026a410036020020014190026a420037030020014188026a42003703002001420037038002200120004180021036220041a0026a200041800210361a200041a0046a200041a0026a41800210361a200041a0066a200041a0046a41800210361a41012103024003402002418002460d01200041a0066a20026a2101200241016a210220012d0000450d000b41830221030b200020033602800220004180026a4104721015200041a0086a240020030bec0101037f230041d0006b22022400024002402000280204450d0020002802002d000041c001490d00200241406b200010c001200241306a200010c101200241106a210403402002280244200228023446044020022802482002280238460d030b200241186a200241406b10c201200241186a200241086a1076220310774114103a2200410036020020002002290308370208200041106a2004280200360200200310b30120002001360204200128020021032001200036020020002003360200200320003602042001200128020841016a360208200241406b10c3010c000b000b10000b200241d0006a24000b4d01037f02402000280208450d00200028020422012802002202200028020022032802043602042000410036020820032802042002360200034020002001460d01200128020421010c000b000b0b9d0101037f230041306b22012400200141186a4100360200200141106a4200370300200141086a42003703002001420037030002402000280208450440200110c4010c010b200041046a2102200141001013210303402002280200220220004604402003410110131a052003200141206a200241086a101210141a200241046a21020c010b0b0b2001280200210220014104721015200141306a240020020b4e01027f230041106b22032400200141046a210220002001280208101621000340200228020022022001460440200341106a24000520002003200241086a101210171a200241046a21020c010b0b0b2501017f03402001411446450440200020016a41003a0000200141016a21010c010b0b20000bbe0102027f027e230041406a22022400200010aa01200241386a200010ac01200228023c2103024002402000280204450d00200341144b0d0020002802002d000041c001490d010b10000b200241206a10a6012003411420034114491b22006b41146a2002280238200010361a200241186a200241306a2802002200360200200241106a200241286a2903002204370300200220022903202205370308200141106a2000360000200141086a200437000020012005370000200241406b24000b850202037f027e23004180016b22012400200141306a4100360200200141286a4200370300200141206a4200370300200141086a200041086a2900002204370300200141106a200041106a280000220236020020014200370318200120002900002205370300200141406b2004370300200141c8006a2002360200200141d8006a2004370300200141e0006a20023602002001200537033820012005370350200141f8006a2002360200200141f0006a200437030020012005370368410121020240034020034114460d01200141e8006a20036a2100200341016a210320002d0000450d000b411521020b20012002360218200141186a410472101520014180016a240020020b750020004200370210200042ffffffff0f370208200020023602042000200136020002402003410871450d00200010c90120024f0d002003410471044010000c010b200042003702000b02402003411071450d00200010c90120024d0d0020034104710440100020000f0b200042003702000b20000b4101017f200028020445044010000b0240200028020022012d0000418101470d00200028020441014d047f100020002802000520010b2c00014100480d0010000b0b990101037f200028020445044041000f0b200010aa01200028020022022c0000220141004e044020014100470f0b027f4101200141807f460d001a200141ff0171220341b7014d0440200028020441014d047f100020002802000520020b2d00014100470f0b4100200341bf014b0d001a2000280204200141ff017141ca7e6a22014d047f100020002802000520020b20016a2d00004100470b0bd60101047f200110b4012204200128020422024b04401000200128020421020b200128020021052000027f02400240200204404100210120052c00002203417f4a0d01027f200341ff0171220141bf014d04404100200341ff017141b801490d011a200141c97e6a0c010b4100200341ff017141f801490d001a200141897e6a0b41016a21010c010b4101210120050d000c010b41002103200120046a20024b0d0020022001490d00410020022004490d011a200120056a2103200220016b20042004417f461b0c010b41000b360204200020033602000bc20101057f230041406a22022400200241286a1011220320002903001075200328020c200341106a28020047044010000b02402003280200220020032802042205100422064504400c010b2002410036022020024200370318200241186a200610532000200520022802182200200228021c220520006b1005417f47044020012002200041016a20052000417f736a106610b6013a0000200621040b2000450d002002200036021c0b200328020c22000440200320003602100b200241406b240020040b30002000410036020820004200370200200041011045200028020441fe013a00002000200028020441016a36020420000b6101037f200028020c200041106a28020047044010000b200028020422022001280204200128020022036b22016a220420002802084b047f20002004105720002802040520020b20002802006a2003200110361a2000200028020420016a3602040b0b0020002001420010561a0b8e0201067f230041406a22042400200441286a1011220220002903001074100f200220002903001075200228020c200241106a28020047044010000b2002280204210620022802002107200441106a1011210020012d000010b70121052000200410ae01220310af012000200520032802046a20032802006b100f200020012c00001086010240200028020c200041106a280200460440200041046a2101200028020021050c010b200041046a2101100020002802002105200028020c2000280210460d0010000b20072006200520012802001006200328020022010440200320013602040b200028020c22030440200020033602100b200228020c22000440200220003602100b200441406b24000b820101047f230041106b2201240002402000280204450d0020002802002d000041c001490d00200141086a200010cd01200128020c210003402000450d0120014100200128020822032003200010cb0122046a20034520002004497222031b3602084100200020046b20031b2100200241016a21020c000b000b200141106a240020020b2201017f03402001410c470440200020016a4100360200200141046a21010c010b0b0b800301037f200028020445044041000f0b200010aa0141012102024020002802002c00002201417f4a0d00200141ff0171220341b7014d0440200341807f6a0f0b02400240200141ff0171220141bf014d0440024020002802042201200341c97e6a22024d047f100020002802040520010b4102490d0020002802002d00010d0010000b200241054f044010000b20002802002d000145044010000b4100210241b7012101034020012003460440200241384f0d030c0405200028020020016a41ca7e6a2d00002002410874722102200141016a21010c010b000b000b200141f7014d0440200341c07e6a0f0b024020002802042201200341897e6a22024d047f100020002802040520010b4102490d0020002802002d00010d0010000b200241054f044010000b20002802002d000145044010000b4100210241f701210103402001200346044020024138490d0305200028020020016a418a7e6a2d00002002410874722102200141016a21010c010b0b0b200241ff7d490d010b10000b20020b5c00024020002d0000410171450440200041003b01000c010b200028020841003a00002000410036020420002d0000410171450d00200041003602000b20002001290200370200200041086a200141086a280200360200200110b3010b3902017f017e230041106b220124002001200010b90120012903002102200141106a2400420020024201837d200242018885a74118744118750b6202027f017e230041206b22012400200141186a4100360200200141106a4200370300200141086a42003703002001420037030020012000ad42388622034238872003423f8710ba01210020012802002102200041046a1015200141206a240020020b2701017f230041106b220224002000410010132002200110121014410110131a200241106a24000ba10102027f027e230041106b22022400200110aa0102400240200110ab01450d002001280204450d0020012802002d000041c001490d010b10000b200241086a200110ac01200228020c220141114f044010000b20022802082103034020010440200542088620044238888421052001417f6a210120033100002004420886842104200341016a21030c010b0b2000200437030020002005370308200241106a24000b2301017e20002002423f87220320014201868520024201862001423f888420038510560b2301017e20002002423f87220320014201868520024201862001423f888420038510590b1301017e20002001ac22022002423f8710ba010b4c01017f2000410036020c200041106a2003360200200104402001104d21040b200020043602002000200420024101746a22023602082000200420014101746a36020c2000200236020420000b870101037f200120012802042000280204200028020022046b22036b2202360204200341004a044020022004200310361a200128020421020b200028020021032000200236020020012003360204200028020421022000200128020836020420012002360208200028020821022000200128020c3602082001200236020c200120012802043602000b2b01027f200028020821012000280204210203402001200247044020002001417e6a22013602080c010b0b0b0b0020002001410110c6010b0b0020002001410010c6010b170020002001280204200141086a280200411c10a9011a0bb70102057f017e230041106b22032400200041046a210102402000280200220204402001280200220504402005200041086a2802006a21040b20002004360204200041086a2002360200200341086a200141002004200210cb0110cc0120002003290308220637020420004100200028020022012006422088a76b2202200220014b1b3602000c010b200020012802002201047f2001200041086a2802006a0541000b360204200041086a41003602000b200341106a24000b3901017f027f200041186a28020022010440200041086a280200200041146a280200200110550c010b20000b2201200128020041016a3602000b220002402000280204044020002802002d000041bf014b0d010b10000b200010b2010be70101037f230041106b2204240020004200370200200041086a410036020020012802042103024002402002450440200321020c010b410021022003450d002003210220012802002d000041c001490d00200441086a200110cd0120004100200428020c220120042802082202200110cb0122032003417f461b20024520012003497222031b220536020820004100200220031b3602042000200120056b3602000c010b20012802002103200128020421012000410036020020004100200220016b20034520022001497222021b36020820004100200120036a20021b3602040b200441106a24000b3501017f230041106b220041908c0436020c41800c200028020c41076a417871220036020041840c200036020041880c3f003602000b10002002044020002001200210361a0b0b3001017f200028020445044041000f0b4101210120002802002c0000417f4c047f200010ca01200010b4016a0520010b0b5b00027f027f41002000280204450d001a410020002802002c0000417f4a0d011a20002802002d0000220041bf014d04404100200041b801490d011a200041c97e6a0c010b4100200041f801490d001a200041897e6a0b41016a0b0b2901017f230041206b22022400200241086a20002001411410a90110c9012100200241206a240020000b5b01027f2000027f0240200128020022054504400c010b200220036a200128020422014b0d0020012002490d00410020012003490d011a200220056a2104200120026b20032003417f461b0c010b41000b360204200020043602000b2401017f200110b401220220012802044b044010000b20002001200110ca01200210cc010b2f002000200210cf01200028020020002802046a2001200210361a2000200028020420026a3602042000200310d0010b1b00200028020420016a220120002802084b04402000200110570b0b830201047f02402001450d00034020002802102202200028020c460d01200241786a28020020014904401000200028021021020b200241786a2203200328020020016b220136020020010d012000200336021020004101200028020422032002417c6a28020022016b22021054220441016a20024138491b220520036a10d101200120002802006a220320056a2003200210490240200241374d0440200028020020016a200241406a3a00000c010b200441f7016a220341ff014d0440200028020020016a20033a00002000280200200120046a6a210103402002450d02200120023a0000200241087621022001417f6a21010c000b000b10000b410121010c000b000b0b0f00200020011057200020013602040b26002000410110cf01200028020020002802046a20013a00002000200028020441016a3602040b6001027f20011054220241b7016a22034180024e044010000b2000200341ff017110d2012000200028020420026a10d101200028020420002802006a417f6a2100034020010440200020013a0000200141087621012000417f6a21000c010b0b0b0bfa0301004180080bf203746f70696331006461746131006a735f636f6e7472616374006576656e740073657455696e7433324576740073657455696e743136457674007472616e7366657200696e69740073657455696e74380067657455696e74380073657455696e7431360067657455696e7431360073657455696e7433320067657455696e7433320073657455696e7436340067657455696e74363400736574537472696e6700676574537472696e6700736574426f6f6c00676574426f6f6c00736574436861720067657443686172007365744d657373616765006765744d657373616765007365744d794d657373616765006765744d794d65737361676500736574496e743800676574496e743800736574496e74313600676574496e74313600736574496e74333200676574496e74333200736574496e74363400676574496e74363400736574566563746f7200676574566563746f72007365744d6170006765744d617000746573744d756c7469506172616d730073657442797465730067657442797465730073657441727261790067657441727261790073657450616972006765745061697200736574536574006765745365740073657446697865644861736800676574466978656448617368007365744c697374006765744c697374007365744164647265737300676574416464726573738ac988e9b5e87ed4669d83"
# testinput=['d7','85', '68', '65', '6c', '6c', '6f', '88', '74', '68', '69', '73', '20', '77', '61', '79', '87', '67', '6f', '20', '68', '6f', '6d', '65']
# mapdata=['f8', '47', 'e3', '8b', '68', '65', '6c', '6c', '6f', '20', '77', '6f', '72', '6c', '64', '96', '6d', '61', '79', '20', '74', '68', '65', '20', '66', '6f', '72', '63', '65', '20', '77', '69', '74', '68', '20', '79', '6f', '75', 'e2', '8b', '68', '6f', '77', '20', '61', '72', '65', '20', '79', '6f', '75', '95', '66', '69', '6e', '65', '2c', '74', '68', '61', '6e', '6b', '73', '20', '61', '6e', '64', '20', '79', '6f', '75', '20', '3f']
h1=['cb', '8a', '48', '65', '6c', '6c', '6f', '57', '6f', '72', '6c', '64']
data1=['d6', 'cb', '8a', '48', '65', '6c', '6c', '6f', '57', '6f', '72', '6c', '64', '84', '57', '61', '73', '6d', '84', '47', '6f', '6f', '64']
aa = rlp_decode(data1)
print(aa)
#rlp_decode之后的数据格式
# paramABI=((['68', '65', '6c', '6c', '6f', '20', '77', '6f', '72', '6c', '64'], ['6d', '61', '79', '20', '74', '68', '65', '20', '66', '6f', '72', '63', '65', '20', '77', '69', '74', '68', '20', '79', '6f', '75']), (['68', '6f', '77', '20', '61', '72', '65', '20', '79', '6f', '75'], ['66', '69', '6e', '65', '2c', '74', '68', '61', '6e', '6b', '73', '20', '61', '6e', '64', '20', '79', '6f', '75', '20', '3f']))
# paramabi=(['9a', '6e', 'bb', 'c6', 'a5', '9a', 'b5', 'be'], (([['48', '65', '6c', '6c', '6f', '57', '6f', '72', '6c', '64']], ['57', '61', '73', '6d'], ['47', '6f', '6f', '64']),))
# aa=rlp_encode(paramabi)
# print(aa)
| 6,016.857143
| 82,657
| 0.988449
| 256
| 84,236
| 325.214844
| 0.25
| 0.000336
| 0.000432
| 0.000577
| 0.004372
| 0.004252
| 0.00394
| 0.00394
| 0.00394
| 0.00394
| 0
| 0.905291
| 0.002873
| 84,236
| 14
| 82,658
| 6,016.857143
| 0.085911
| 0.996011
| 0
| 0
| 0
| 0
| 0.213415
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.2
| 0
| 0.2
| 0.2
| 0
| 0
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
83442df70720a89aa912984898e869beaa8970d9
| 8,595
|
py
|
Python
|
tests/test_layers/test_2d/checks_2d/check_operation_2d.py
|
RichardoLuo/ColossalAI
|
797a9dc5a9e801d7499b8667c3ef039a38aa15ba
|
[
"Apache-2.0"
] | 1,630
|
2021-10-30T01:00:27.000Z
|
2022-03-31T23:02:41.000Z
|
tests/test_layers/test_2d/checks_2d/check_operation_2d.py
|
RichardoLuo/ColossalAI
|
797a9dc5a9e801d7499b8667c3ef039a38aa15ba
|
[
"Apache-2.0"
] | 166
|
2021-10-30T01:03:01.000Z
|
2022-03-31T14:19:07.000Z
|
tests/test_layers/test_2d/checks_2d/check_operation_2d.py
|
RichardoLuo/ColossalAI
|
797a9dc5a9e801d7499b8667c3ef039a38aa15ba
|
[
"Apache-2.0"
] | 253
|
2021-10-30T06:10:29.000Z
|
2022-03-31T13:30:06.000Z
|
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
import torch
from colossalai.context.parallel_mode import ParallelMode
from colossalai.core import global_context as gpc
from colossalai.nn.layer.parallel_2d._operation import Matmul_AB_2D, Matmul_ABT_2D, Matmul_ATB_2D
from colossalai.utils import get_current_device
from colossalai.utils import print_rank_0
from .common import check_equal, BATCH_SIZE, SEQ_LENGTH, HIDDEN_SIZE, DEPTH
def check_AB():
data_parallel_rank = 0 if not gpc.is_initialized(ParallelMode.DATA) else gpc.get_local_rank(ParallelMode.DATA)
pipeline_parallel_rank = 0 if not gpc.is_initialized(ParallelMode.PIPELINE) else gpc.get_local_rank(
ParallelMode.PIPELINE)
pipeline_parallel_size = 1 if not gpc.is_initialized(ParallelMode.PIPELINE) else gpc.get_world_size(
ParallelMode.PIPELINE)
tensor_parallel_size = gpc.get_world_size(ParallelMode.TENSOR)
dtype = torch.float
j = gpc.get_local_rank(ParallelMode.PARALLEL_2D_ROW)
i = gpc.get_local_rank(ParallelMode.PARALLEL_2D_COL)
A_shape = (BATCH_SIZE, SEQ_LENGTH, HIDDEN_SIZE)
A_master = torch.randn(A_shape, dtype=dtype, device=get_current_device())
torch.distributed.broadcast(A_master, src=0)
A = torch.chunk(A_master, DEPTH, dim=0)[i]
A = torch.chunk(A, DEPTH, dim=-1)[j]
A = A.clone()
A.requires_grad = True
B_shape = (HIDDEN_SIZE, 4 * HIDDEN_SIZE)
B_master = torch.randn(B_shape, dtype=dtype, device=get_current_device())
torch.distributed.broadcast(B_master, src=0)
B = torch.chunk(B_master, DEPTH, dim=0)[i]
B = torch.chunk(B, DEPTH, dim=-1)[j]
B = B.clone()
B.requires_grad = True
out_shape = (BATCH_SIZE // DEPTH, SEQ_LENGTH, 4 * HIDDEN_SIZE // DEPTH)
out = Matmul_AB_2D.apply(
A, B,
DEPTH,
out_shape,
i, j,
ParallelMode.PARALLEL_2D_ROW,
ParallelMode.PARALLEL_2D_COL,
data_parallel_rank,
pipeline_parallel_rank,
pipeline_parallel_size,
tensor_parallel_size
)
C_shape = (BATCH_SIZE, SEQ_LENGTH, 4 * HIDDEN_SIZE)
A_master = A_master.clone()
A_master.requires_grad = True
B_master = B_master.clone()
B_master.requires_grad = True
C_master = torch.matmul(A_master, B_master)
C = torch.chunk(C_master, DEPTH, dim=0)[i]
C = torch.chunk(C, DEPTH, dim=-1)[j]
# check forward correctness
check_equal(out, C)
print_rank_0('AB forward: pass')
grad_shape = C_master.shape
grad_master = torch.randn(grad_shape, dtype=dtype, device=get_current_device())
torch.distributed.broadcast(grad_master, src=0)
grad = torch.chunk(grad_master, DEPTH, dim=0)[i]
grad = torch.chunk(grad, DEPTH, dim=-1)[j]
out.backward(grad)
C_master.backward(grad_master)
A_grad = A_master.grad
A_grad = torch.chunk(A_grad, DEPTH, dim=0)[i]
A_grad = torch.chunk(A_grad, DEPTH, dim=-1)[j]
# check backward correctness
check_equal(A_grad, A.grad)
B_grad = B_master.grad
B_grad = torch.chunk(B_grad, DEPTH, dim=0)[i]
B_grad = torch.chunk(B_grad, DEPTH, dim=-1)[j]
# check backward correctness
check_equal(B_grad, B.grad)
print_rank_0('AB backward: pass')
def check_ABT():
data_parallel_rank = 0 if not gpc.is_initialized(ParallelMode.DATA) else gpc.get_local_rank(ParallelMode.DATA)
pipeline_parallel_rank = 0 if not gpc.is_initialized(ParallelMode.PIPELINE) else gpc.get_local_rank(
ParallelMode.PIPELINE)
pipeline_parallel_size = 1 if not gpc.is_initialized(ParallelMode.PIPELINE) else gpc.get_world_size(
ParallelMode.PIPELINE)
tensor_parallel_size = gpc.get_world_size(ParallelMode.TENSOR)
dtype = torch.float
device = get_current_device()
j = gpc.get_local_rank(ParallelMode.PARALLEL_2D_ROW)
i = gpc.get_local_rank(ParallelMode.PARALLEL_2D_COL)
C_shape = (BATCH_SIZE, SEQ_LENGTH, 4 * HIDDEN_SIZE)
C_master = torch.randn(C_shape, dtype=dtype, device=device)
torch.distributed.broadcast(C_master, src=0)
C = torch.chunk(C_master, DEPTH, dim=0)[i]
C = torch.chunk(C, DEPTH, dim=-1)[j]
C = C.clone()
C.requires_grad = True
B_shape = (HIDDEN_SIZE, 4 * HIDDEN_SIZE)
B_master = torch.randn(B_shape, dtype=dtype, device=device)
torch.distributed.broadcast(B_master, src=0)
B = torch.chunk(B_master, DEPTH, dim=0)[i]
B = torch.chunk(B, DEPTH, dim=-1)[j]
B = B.clone()
B.requires_grad = True
out = Matmul_ABT_2D.apply(
C, B,
DEPTH, (BATCH_SIZE // DEPTH, SEQ_LENGTH, HIDDEN_SIZE // DEPTH),
i, j,
ParallelMode.PARALLEL_2D_ROW,
ParallelMode.PARALLEL_2D_COL,
data_parallel_rank,
pipeline_parallel_rank,
pipeline_parallel_size,
tensor_parallel_size
)
A_shape = (BATCH_SIZE, SEQ_LENGTH, HIDDEN_SIZE)
C_master = C_master.clone()
C_master.requires_grad = True
B_master = B_master.clone()
B_master.requires_grad = True
A_master = torch.matmul(C_master, B_master.transpose(0, 1))
A = torch.chunk(A_master, DEPTH, dim=0)[i]
A = torch.chunk(A, DEPTH, dim=-1)[j]
check_equal(out, A)
print_rank_0('ABT forward: pass')
grad_shape = A_master.shape
grad_master = torch.randn(grad_shape, dtype=dtype, device=device)
torch.distributed.broadcast(grad_master, src=0)
grad = torch.chunk(grad_master, DEPTH, dim=0)[i]
grad = torch.chunk(grad, DEPTH, dim=-1)[j]
# backward
out.backward(grad)
A_master.backward(grad_master)
C_grad = C_master.grad
C_grad = torch.chunk(C_grad, DEPTH, dim=0)[i]
C_grad = torch.chunk(C_grad, DEPTH, dim=-1)[j]
check_equal(C_grad, C.grad)
B_grad = B_master.grad
B_grad = torch.chunk(B_grad, DEPTH, dim=0)[i]
B_grad = torch.chunk(B_grad, DEPTH, dim=-1)[j]
check_equal(B_grad, B.grad)
print_rank_0('ABT backward: pass')
def check_ATB():
data_parallel_rank = 0 if not gpc.is_initialized(ParallelMode.DATA) else gpc.get_local_rank(ParallelMode.DATA)
pipeline_parallel_rank = 0 if not gpc.is_initialized(ParallelMode.PIPELINE) else gpc.get_local_rank(
ParallelMode.PIPELINE)
pipeline_parallel_size = 1 if not gpc.is_initialized(ParallelMode.PIPELINE) else gpc.get_world_size(
ParallelMode.PIPELINE)
tensor_parallel_size = gpc.get_world_size(ParallelMode.TENSOR)
device = get_current_device()
dtype = torch.float
j = gpc.get_local_rank(ParallelMode.PARALLEL_2D_ROW)
i = gpc.get_local_rank(ParallelMode.PARALLEL_2D_COL)
A_shape = (BATCH_SIZE, SEQ_LENGTH, HIDDEN_SIZE)
A_master = torch.randn(A_shape, dtype=dtype, device=device)
torch.distributed.broadcast(A_master, src=0)
A = torch.chunk(A_master, DEPTH, dim=0)[i]
A = torch.chunk(A, DEPTH, dim=-1)[j]
A = A.clone()
A.requires_grad = True
C_shape = (BATCH_SIZE, SEQ_LENGTH, 4 * HIDDEN_SIZE)
C_master = torch.randn(C_shape, dtype=dtype, device=device)
torch.distributed.broadcast(C_master, src=0)
C = torch.chunk(C_master, DEPTH, dim=0)[i]
C = torch.chunk(C, DEPTH, dim=-1)[j]
C = C.clone()
C.requires_grad = True
out = Matmul_ATB_2D.apply(
A, C,
DEPTH, (HIDDEN_SIZE // DEPTH, 4 * HIDDEN_SIZE // DEPTH),
i, j,
ParallelMode.PARALLEL_2D_ROW,
ParallelMode.PARALLEL_2D_COL,
data_parallel_rank,
pipeline_parallel_rank,
pipeline_parallel_size,
tensor_parallel_size
)
B_shape = (HIDDEN_SIZE, 4 * HIDDEN_SIZE)
A_master = A_master.clone()
A_master.requires_grad = True
C_master = C_master.clone()
C_master.requires_grad = True
B_master = torch.matmul(
A_master.view(-1, A_master.shape[-1]).transpose(0, 1),
C_master.view(-1, C_master.shape[-1]))
B = torch.chunk(B_master, DEPTH, dim=0)[i]
B = torch.chunk(B, DEPTH, dim=-1)[j]
check_equal(out, B)
print_rank_0('ATB forward: pass')
grad_shape = B_master.shape
grad_master = torch.randn(grad_shape, dtype=dtype, device=device)
torch.distributed.broadcast(grad_master, src=0)
grad = torch.chunk(grad_master, DEPTH, dim=0)[i]
grad = torch.chunk(grad, DEPTH, dim=-1)[j]
out.backward(grad)
B_master.backward(grad_master)
A_grad = A_master.grad
A_grad = torch.chunk(A_grad, DEPTH, dim=0)[i]
A_grad = torch.chunk(A_grad, DEPTH, dim=-1)[j]
check_equal(A_grad, A.grad)
C_grad = C_master.grad
C_grad = torch.chunk(C_grad, DEPTH, dim=0)[i]
C_grad = torch.chunk(C_grad, DEPTH, dim=-1)[j]
check_equal(C_grad, C.grad)
print_rank_0('ATB backward: pass')
| 35.6639
| 114
| 0.692612
| 1,316
| 8,595
| 4.256079
| 0.06459
| 0.064274
| 0.028923
| 0.032137
| 0.853062
| 0.831994
| 0.822889
| 0.814497
| 0.808427
| 0.796108
| 0
| 0.013967
| 0.191972
| 8,595
| 240
| 115
| 35.8125
| 0.792513
| 0.015474
| 0
| 0.75
| 0
| 0
| 0.012181
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.015306
| false
| 0.030612
| 0.035714
| 0
| 0.05102
| 0.035714
| 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
|
834c919b4c84cf5af3e46a10b447688f932addb3
| 18,403
|
py
|
Python
|
tests/test_boosting_models.py
|
yanhong-zhao-ef/explainerdashboard
|
b057d6458988227e7bcebb2a91ea79c771ddcf2f
|
[
"MIT"
] | 1
|
2020-11-24T20:14:48.000Z
|
2020-11-24T20:14:48.000Z
|
tests/test_boosting_models.py
|
yanhong-zhao-ef/explainerdashboard
|
b057d6458988227e7bcebb2a91ea79c771ddcf2f
|
[
"MIT"
] | null | null | null |
tests/test_boosting_models.py
|
yanhong-zhao-ef/explainerdashboard
|
b057d6458988227e7bcebb2a91ea79c771ddcf2f
|
[
"MIT"
] | null | null | null |
import unittest
import pandas as pd
import numpy as np
from sklearn.metrics import r2_score, roc_auc_score
import pdpbox
from xgboost import XGBClassifier, XGBRegressor
from lightgbm.sklearn import LGBMClassifier, LGBMRegressor
from catboost import CatBoostClassifier, CatBoostRegressor
from explainerdashboard.explainers import RegressionExplainer, ClassifierExplainer
from explainerdashboard.datasets import titanic_fare, titanic_survive, titanic_names
class XGBRegressionTests(unittest.TestCase):
def setUp(self):
X_train, y_train, X_test, y_test = titanic_fare()
self.test_len = len(X_test)
train_names, test_names = titanic_names()
_, self.names = titanic_names()
model = XGBRegressor()
model.fit(X_train, y_train)
self.explainer = RegressionExplainer(model, X_test, y_test,
cats=[{'Gender': ['Sex_female', 'Sex_male', 'Sex_nan']},
'Deck', 'Embarked'],
units="$")
def test_preds(self):
self.assertIsInstance(self.explainer.preds, np.ndarray)
def test_permutation_importances(self):
self.assertIsInstance(self.explainer.permutation_importances, pd.DataFrame)
self.assertIsInstance(self.explainer.permutation_importances_cats, pd.DataFrame)
def test_shap_base_value(self):
self.assertIsInstance(self.explainer.shap_base_value, (np.floating, float))
def test_shap_values_shape(self):
self.assertTrue(self.explainer.shap_values.shape == (len(self.explainer), len(self.explainer.columns)))
def test_shap_values(self):
self.assertIsInstance(self.explainer.shap_values, np.ndarray)
self.assertIsInstance(self.explainer.shap_values_cats, np.ndarray)
# @unittest.expectedFailure
# def test_shap_interaction_values(self):
# self.assertIsInstance(self.explainer.shap_interaction_values, np.ndarray)
# self.assertIsInstance(self.explainer.shap_interaction_values_cats, np.ndarray)
def test_mean_abs_shap(self):
self.assertIsInstance(self.explainer.mean_abs_shap, pd.DataFrame)
self.assertIsInstance(self.explainer.mean_abs_shap_cats, pd.DataFrame)
def test_calculate_properties(self):
self.explainer.calculate_properties(include_interactions=False)
def test_pdp_result(self):
self.assertIsInstance(self.explainer.get_pdp_result("Age"), pdpbox.pdp.PDPIsolate)
self.assertIsInstance(self.explainer.get_pdp_result("Gender"), pdpbox.pdp.PDPIsolate)
self.assertIsInstance(self.explainer.get_pdp_result("Deck"), pdpbox.pdp.PDPIsolate)
self.assertIsInstance(self.explainer.get_pdp_result("Age", index=0), pdpbox.pdp.PDPIsolate)
self.assertIsInstance(self.explainer.get_pdp_result("Gender", index=0), pdpbox.pdp.PDPIsolate)
class LGBMRegressionTests(unittest.TestCase):
def setUp(self):
X_train, y_train, X_test, y_test = titanic_fare()
self.test_len = len(X_test)
train_names, test_names = titanic_names()
_, self.names = titanic_names()
model = LGBMRegressor()
model.fit(X_train, y_train)
self.explainer = RegressionExplainer(model, X_test, y_test, r2_score,
shap='tree',
cats=[{'Gender': ['Sex_female', 'Sex_male', 'Sex_nan']},
'Deck', 'Embarked'],
idxs=test_names, units="$")
def test_preds(self):
self.assertIsInstance(self.explainer.preds, np.ndarray)
def test_permutation_importances(self):
self.assertIsInstance(self.explainer.permutation_importances, pd.DataFrame)
self.assertIsInstance(self.explainer.permutation_importances_cats, pd.DataFrame)
def test_shap_base_value(self):
self.assertIsInstance(self.explainer.shap_base_value, (np.floating, float))
def test_shap_values_shape(self):
self.assertTrue(self.explainer.shap_values.shape == (len(self.explainer), len(self.explainer.columns)))
def test_shap_values(self):
self.assertIsInstance(self.explainer.shap_values, np.ndarray)
self.assertIsInstance(self.explainer.shap_values_cats, np.ndarray)
# def test_shap_interaction_values(self):
# self.assertIsInstance(self.explainer.shap_interaction_values, np.ndarray)
# self.assertIsInstance(self.explainer.shap_interaction_values_cats, np.ndarray)
def test_mean_abs_shap(self):
self.assertIsInstance(self.explainer.mean_abs_shap, pd.DataFrame)
self.assertIsInstance(self.explainer.mean_abs_shap_cats, pd.DataFrame)
def test_calculate_properties(self):
self.explainer.calculate_properties(include_interactions=True)
def test_pdp_result(self):
self.assertIsInstance(self.explainer.get_pdp_result("Age"), pdpbox.pdp.PDPIsolate)
self.assertIsInstance(self.explainer.get_pdp_result("Gender"), pdpbox.pdp.PDPIsolate)
self.assertIsInstance(self.explainer.get_pdp_result("Age", index=0), pdpbox.pdp.PDPIsolate)
self.assertIsInstance(self.explainer.get_pdp_result("Gender", index=0), pdpbox.pdp.PDPIsolate)
class CatBoostRegressionTests(unittest.TestCase):
def setUp(self):
X_train, y_train, X_test, y_test = titanic_fare()
self.test_len = len(X_test)
train_names, test_names = titanic_names()
_, self.names = titanic_names()
model = CatBoostRegressor(iterations=100, learning_rate=0.1, verbose=0)
model.fit(X_train, y_train)
self.explainer = RegressionExplainer(model, X_test, y_test, r2_score,
cats=[{'Gender': ['Sex_female', 'Sex_male', 'Sex_nan']},
'Deck', 'Embarked'],
idxs=test_names, units="$")
def test_preds(self):
self.assertIsInstance(self.explainer.preds, np.ndarray)
def test_permutation_importances(self):
self.assertIsInstance(self.explainer.permutation_importances, pd.DataFrame)
self.assertIsInstance(self.explainer.permutation_importances_cats, pd.DataFrame)
def test_shap_base_value(self):
self.assertIsInstance(self.explainer.shap_base_value, (np.floating, float))
def test_shap_values_shape(self):
self.assertTrue(self.explainer.shap_values.shape == (len(self.explainer), len(self.explainer.columns)))
def test_shap_values(self):
self.assertIsInstance(self.explainer.shap_values, np.ndarray)
self.assertIsInstance(self.explainer.shap_values_cats, np.ndarray)
# @unittest.expectedFailure
# def test_shap_interaction_values(self):
# self.assertIsInstance(self.explainer.shap_interaction_values, np.ndarray)
# self.assertIsInstance(self.explainer.shap_interaction_values_cats, np.ndarray)
def test_mean_abs_shap(self):
self.assertIsInstance(self.explainer.mean_abs_shap, pd.DataFrame)
self.assertIsInstance(self.explainer.mean_abs_shap_cats, pd.DataFrame)
def test_calculate_properties(self):
self.explainer.calculate_properties(include_interactions=False)
def test_pdp_result(self):
self.assertIsInstance(self.explainer.get_pdp_result("Age"), pdpbox.pdp.PDPIsolate)
self.assertIsInstance(self.explainer.get_pdp_result("Gender"), pdpbox.pdp.PDPIsolate)
self.assertIsInstance(self.explainer.get_pdp_result("Deck"), pdpbox.pdp.PDPIsolate)
self.assertIsInstance(self.explainer.get_pdp_result("Age", index=0), pdpbox.pdp.PDPIsolate)
self.assertIsInstance(self.explainer.get_pdp_result("Gender", index=0), pdpbox.pdp.PDPIsolate)
class XGBCLassifierTests(unittest.TestCase):
def setUp(self):
X_train, y_train, X_test, y_test = titanic_survive()
train_names, test_names = titanic_names()
model = XGBClassifier()
model.fit(X_train, y_train)
self.explainer = ClassifierExplainer(
model, X_test, y_test,
cats=[{'Gender': ['Sex_female', 'Sex_male', 'Sex_nan']},
'Deck', 'Embarked'],
labels=['Not survived', 'Survived'])
def test_preds(self):
self.assertIsInstance(self.explainer.preds, np.ndarray)
def test_pred_probas(self):
self.assertIsInstance(self.explainer.pred_probas, np.ndarray)
def test_permutation_importances(self):
self.assertIsInstance(self.explainer.permutation_importances, pd.DataFrame)
self.assertIsInstance(self.explainer.permutation_importances_cats, pd.DataFrame)
def test_shap_base_value(self):
self.assertIsInstance(self.explainer.shap_base_value, (np.floating, float))
def test_shap_values_shape(self):
self.assertTrue(self.explainer.shap_values.shape == (len(self.explainer), len(self.explainer.columns)))
def test_shap_values(self):
self.assertIsInstance(self.explainer.shap_values, np.ndarray)
self.assertIsInstance(self.explainer.shap_values_cats, np.ndarray)
def test_shap_values_all_probabilities(self):
self.assertTrue(self.explainer.shap_base_value >= 0)
self.assertTrue(self.explainer.shap_base_value <= 1)
self.assertTrue(np.all(self.explainer.shap_values.sum(axis=1) + self.explainer.shap_base_value >= 0))
self.assertTrue(np.all(self.explainer.shap_values.sum(axis=1) + self.explainer.shap_base_value <= 1))
# def test_shap_interaction_values(self):
# self.assertIsInstance(self.explainer.shap_interaction_values, np.ndarray)
# self.assertIsInstance(self.explainer.shap_interaction_values_cats, np.ndarray)
def test_mean_abs_shap(self):
self.assertIsInstance(self.explainer.mean_abs_shap, pd.DataFrame)
self.assertIsInstance(self.explainer.mean_abs_shap_cats, pd.DataFrame)
def test_calculate_properties(self):
self.explainer.calculate_properties(include_interactions=False)
def test_pdp_result(self):
self.assertIsInstance(self.explainer.get_pdp_result("Age"), pdpbox.pdp.PDPIsolate)
self.assertIsInstance(self.explainer.get_pdp_result("Gender"), pdpbox.pdp.PDPIsolate)
self.assertIsInstance(self.explainer.get_pdp_result("Age", index=0), pdpbox.pdp.PDPIsolate)
self.assertIsInstance(self.explainer.get_pdp_result("Gender", index=0), pdpbox.pdp.PDPIsolate)
def test_metrics(self):
self.assertIsInstance(self.explainer.metrics(), dict)
self.assertIsInstance(self.explainer.metrics(cutoff=0.9), dict)
def test_precision_df(self):
self.assertIsInstance(self.explainer.precision_df(), pd.DataFrame)
self.assertIsInstance(self.explainer.precision_df(multiclass=True), pd.DataFrame)
self.assertIsInstance(self.explainer.precision_df(quantiles=4), pd.DataFrame)
def test_lift_curve_df(self):
self.assertIsInstance(self.explainer.lift_curve_df(), pd.DataFrame)
def test_prediction_result_markdown(self):
self.assertIsInstance(self.explainer.prediction_result_markdown(0), str)
class LGBMClassifierTests(unittest.TestCase):
def setUp(self):
X_train, y_train, X_test, y_test = titanic_survive()
train_names, test_names = titanic_names()
model = LGBMClassifier()
model.fit(X_train, y_train)
self.explainer = ClassifierExplainer(
model, X_test, y_test, roc_auc_score,
cats=[{'Gender': ['Sex_female', 'Sex_male', 'Sex_nan']},
'Deck', 'Embarked'],
labels=['Not survived', 'Survived'],
idxs=test_names)
def test_preds(self):
self.assertIsInstance(self.explainer.preds, np.ndarray)
def test_pred_probas(self):
self.assertIsInstance(self.explainer.pred_probas, np.ndarray)
def test_permutation_importances(self):
self.assertIsInstance(self.explainer.permutation_importances, pd.DataFrame)
self.assertIsInstance(self.explainer.permutation_importances_cats, pd.DataFrame)
def test_shap_base_value(self):
self.assertIsInstance(self.explainer.shap_base_value, (np.floating, float))
def test_shap_values_shape(self):
self.assertTrue(self.explainer.shap_values.shape == (len(self.explainer), len(self.explainer.columns)))
def test_shap_values(self):
self.assertIsInstance(self.explainer.shap_values, np.ndarray)
self.assertIsInstance(self.explainer.shap_values_cats, np.ndarray)
# @unittest.expectedFailure
# def test_shap_interaction_values(self):
# self.assertIsInstance(self.explainer.shap_interaction_values, np.ndarray)
# self.assertIsInstance(self.explainer.shap_interaction_values_cats, np.ndarray)
def test_shap_values_all_probabilities(self):
self.assertTrue(self.explainer.shap_base_value >= 0)
self.assertTrue(self.explainer.shap_base_value <= 1)
self.assertTrue(np.all(self.explainer.shap_values.sum(axis=1) + self.explainer.shap_base_value >= 0))
self.assertTrue(np.all(self.explainer.shap_values.sum(axis=1) + self.explainer.shap_base_value <= 1))
def test_mean_abs_shap(self):
self.assertIsInstance(self.explainer.mean_abs_shap, pd.DataFrame)
self.assertIsInstance(self.explainer.mean_abs_shap_cats, pd.DataFrame)
def test_calculate_properties(self):
self.explainer.calculate_properties(include_interactions=False)
def test_pdp_result(self):
self.assertIsInstance(self.explainer.get_pdp_result("Age"), pdpbox.pdp.PDPIsolate)
self.assertIsInstance(self.explainer.get_pdp_result("Gender"), pdpbox.pdp.PDPIsolate)
self.assertIsInstance(self.explainer.get_pdp_result("Age", index=0), pdpbox.pdp.PDPIsolate)
self.assertIsInstance(self.explainer.get_pdp_result("Gender", index=0), pdpbox.pdp.PDPIsolate)
def test_metrics(self):
self.assertIsInstance(self.explainer.metrics(), dict)
self.assertIsInstance(self.explainer.metrics(cutoff=0.9), dict)
def test_precision_df(self):
self.assertIsInstance(self.explainer.precision_df(), pd.DataFrame)
self.assertIsInstance(self.explainer.precision_df(multiclass=True), pd.DataFrame)
self.assertIsInstance(self.explainer.precision_df(quantiles=4), pd.DataFrame)
def test_lift_curve_df(self):
self.assertIsInstance(self.explainer.lift_curve_df(), pd.DataFrame)
def test_prediction_result_markdown(self):
self.assertIsInstance(self.explainer.prediction_result_markdown(0), str)
class CatBoostClassifierTests(unittest.TestCase):
def setUp(self):
X_train, y_train, X_test, y_test = titanic_survive()
train_names, test_names = titanic_names()
model = CatBoostClassifier(iterations=100, learning_rate=0.1, verbose=0)
model.fit(X_train, y_train)
self.explainer = ClassifierExplainer(
model, X_test, y_test, roc_auc_score,
cats=[{'Gender': ['Sex_female', 'Sex_male', 'Sex_nan']},
'Deck', 'Embarked'],
labels=['Not survived', 'Survived'],
idxs=test_names)
def test_preds(self):
self.assertIsInstance(self.explainer.preds, np.ndarray)
def test_pred_probas(self):
self.assertIsInstance(self.explainer.pred_probas, np.ndarray)
def test_permutation_importances(self):
self.assertIsInstance(self.explainer.permutation_importances, pd.DataFrame)
self.assertIsInstance(self.explainer.permutation_importances_cats, pd.DataFrame)
def test_shap_base_value(self):
self.assertIsInstance(self.explainer.shap_base_value, (np.floating, float))
def test_shap_values_all_probabilities(self):
self.assertTrue(self.explainer.shap_base_value >= 0)
self.assertTrue(self.explainer.shap_base_value <= 1)
self.assertTrue(np.all(self.explainer.shap_values.sum(axis=1) + self.explainer.shap_base_value >= 0))
self.assertTrue(np.all(self.explainer.shap_values.sum(axis=1) + self.explainer.shap_base_value <= 1))
def test_shap_values_shape(self):
self.assertTrue(self.explainer.shap_values.shape == (len(self.explainer), len(self.explainer.columns)))
def test_shap_values(self):
self.assertIsInstance(self.explainer.shap_values, np.ndarray)
self.assertIsInstance(self.explainer.shap_values_cats, np.ndarray)
# @unittest.expectedFailure
# def test_shap_interaction_values(self):
# self.assertIsInstance(self.explainer.shap_interaction_values, np.ndarray)
# self.assertIsInstance(self.explainer.shap_interaction_values_cats, np.ndarray)
def test_mean_abs_shap(self):
self.assertIsInstance(self.explainer.mean_abs_shap, pd.DataFrame)
self.assertIsInstance(self.explainer.mean_abs_shap_cats, pd.DataFrame)
def test_calculate_properties(self):
self.explainer.calculate_properties(include_interactions=False)
def test_pdp_result(self):
self.assertIsInstance(self.explainer.get_pdp_result("Age"), pdpbox.pdp.PDPIsolate)
self.assertIsInstance(self.explainer.get_pdp_result("Gender"), pdpbox.pdp.PDPIsolate)
self.assertIsInstance(self.explainer.get_pdp_result("Age", index=0), pdpbox.pdp.PDPIsolate)
self.assertIsInstance(self.explainer.get_pdp_result("Gender", index=0), pdpbox.pdp.PDPIsolate)
def test_metrics(self):
self.assertIsInstance(self.explainer.metrics(), dict)
self.assertIsInstance(self.explainer.metrics(cutoff=0.9), dict)
def test_precision_df(self):
self.assertIsInstance(self.explainer.precision_df(), pd.DataFrame)
self.assertIsInstance(self.explainer.precision_df(multiclass=True), pd.DataFrame)
self.assertIsInstance(self.explainer.precision_df(quantiles=4), pd.DataFrame)
def test_lift_curve_df(self):
self.assertIsInstance(self.explainer.lift_curve_df(), pd.DataFrame)
def test_prediction_result_markdown(self):
self.assertIsInstance(self.explainer.prediction_result_markdown(0), str)
| 46.589873
| 111
| 0.706678
| 2,154
| 18,403
| 5.7948
| 0.057103
| 0.164557
| 0.211505
| 0.290819
| 0.950409
| 0.950409
| 0.950409
| 0.950409
| 0.950409
| 0.950409
| 0
| 0.003811
| 0.187198
| 18,403
| 395
| 112
| 46.589873
| 0.830659
| 0.07113
| 0
| 0.896296
| 0
| 0
| 0.025832
| 0
| 0
| 0
| 0
| 0
| 0.42963
| 1
| 0.266667
| false
| 0
| 0.103704
| 0
| 0.392593
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 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
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 11
|
55c32a12de0dd13cce9e4246951ea2023f925da2
| 16,268
|
py
|
Python
|
cache.py
|
DomDellaSera/proteome_analysis
|
9fd32f4c0a097bc0820c9fd996ed4aa40ffe11f6
|
[
"MIT"
] | 1
|
2017-03-06T15:51:54.000Z
|
2017-03-06T15:51:54.000Z
|
cache.py
|
DomDellaSera/proteome_analysis
|
9fd32f4c0a097bc0820c9fd996ed4aa40ffe11f6
|
[
"MIT"
] | null | null | null |
cache.py
|
DomDellaSera/proteome_analysis
|
9fd32f4c0a097bc0820c9fd996ed4aa40ffe11f6
|
[
"MIT"
] | null | null | null |
#
#
#
#This file is redundant and it is made to be so. These functions serve as
# cached constants that are called by unittests.py.
def getPandaRow():
import numpy as np
row = np.array([[1, 100.0, 'A8NJZ7', 1, 1, 122]], dtype=object)
return(row)
def getHeaders():
headers = ['>sp|P90689|ACT_BRUMA Actin OS=Brugia malayi PE=1 SV=1', '>sp|A8Q3T2|ASNA_BRUMA ATPase ASNA1 homolog OS=Brugia malayi GN=Bm1_42140 PE=3 SV=1', '>sp|A8PWB6|BOP1_BRUMA Ribosome biogenesis protein BOP1 homolog OS=Brugia malayi GN=Bm1_36175 PE=3 SV=1', '>sp|P29030|CHIT_BRUMA Endochitinase OS=Brugia malayi PE=1 SV=1', '>sp|A8PB32|CLP1_BRUMA Protein CLP1 homolog OS=Brugia malayi GN=Bm1_20975 PE=3 SV=1', '>sp|A8PJX4|CLU_BRUMA Clustered mitochondria protein homolog OS=Brugia malayi GN=Bm1_28595 PE=3 SV=2', '>sp|A8QFY9|DDRGK_BRUMA DDRGK domain-containing protein 1 OS=Brugia malayi GN=Bm1_54325 PE=3 SV=1', '>sp|Q27450|CYP1_BRUMA Peptidyl-prolyl cis-trans isomerase 1 OS=Brugia malayi GN=CYP-1 PE=1 SV=1', '>sp|A8QBB1|DRE2_BRUMA Anamorsin homolog OS=Brugia malayi GN=Bm1_48140 PE=3 SV=1', '>sp|A8QDN3|EIF3K_BRUMA Eukaryotic translation initiation factor 3 subunit K OS=Brugia malayi GN=Bm1_52955 PE=3 SV=1', '>sp|A8PHP4|EIF3L_BRUMA Eukaryotic translation initiation factor 3 subunit L OS=Brugia malayi GN=Bm1_25770 PE=3 SV=1', '>sp|A8QE76|EFTS_BRUMA Elongation factor Ts, mitochondrial OS=Brugia malayi GN=Bm1_50845 PE=3 SV=1', '>sp|A8PKH2|EIF3A_BRUMA Eukaryotic translation initiation factor 3 subunit A OS=Brugia malayi GN=Bm1_29045 PE=3 SV=1', '>sp|A8NY27|EIF3E_BRUMA Eukaryotic translation initiation factor 3 subunit E OS=Brugia malayi GN=Bm1_11985 PE=3 SV=2', '>sp|A8NS61|EIF3G_BRUMA Eukaryotic translation initiation factor 3 subunit G OS=Brugia malayi GN=Bm1_08615 PE=3 SV=1', '>sp|A8QCY3|EIF3H_BRUMA Eukaryotic translation initiation factor 3 subunit H OS=Brugia malayi GN=Bm1_50170 PE=3 SV=1', '>sp|A8QBF3|EIF3I_BRUMA Eukaryotic translation initiation factor 3 subunit I OS=Brugia malayi GN=Bm1_48300 PE=3 SV=1', '>sp|Q4VWF8|GPMI_BRUMA 2,3-bisphosphoglycerate-independent phosphoglycerate mutase OS=Brugia malayi GN=ipgm-1 PE=1 SV=1', '>sp|P67877|GPXC_BRUMA Cuticular glutathione peroxidase OS=Brugia malayi PE=1 SV=1', '>sp|A8NS89|GOB1_BRUMA Trehalose-phosphatase OS=Brugia malayi GN=Bm1_08695 PE=1 SV=1', '>sp|A8QCH0|FEN1_BRUMA Flap endonuclease 1 OS=Brugia malayi GN=FEN1 PE=3 SV=1', '>sp|Q93142|FAR1_BRUMA Fatty-acid and retinol-binding protein 1 OS=Brugia malayi GN=far-1 PE=1 SV=1', '>sp|A8QGZ7|FBSP1_BRUMA F-box/SPRY domain-containing protein 1 OS=Brugia malayi GN=Bm1_56115 PE=3 SV=1', '>sp|P48812|G3P_BRUMA Glyceraldehyde-3-phosphate dehydrogenase OS=Brugia malayi GN=G3PD PE=1 SV=1', '>sp|A8PJJ2|GATC_BRUMA Glutamyl-tRNA(Gln) amidotransferase subunit C, mitochondrial OS=Brugia malayi GN=Bm1_27920 PE=3 SV=1', '>sp|A8QCE7|GUF1_BRUMA Translation factor GUF1 homolog, mitochondrial OS=Brugia malayi GN=Bm1_49530 PE=3 SV=1', '>sp|P27541|HSP70_BRUMA Heat shock 70 kDa protein OS=Brugia malayi GN=HSP70 PE=3 SV=1', '>sp|A0A0K0JFP3|HXK_BRUMA Hexokinase OS=Brugia malayi GN=Bm4678 PE=1 SV=1', '>sp|A8PGQ3|NARF_BRUMA Probable cytosolic Fe-S cluster assembly factor Bm1_25010 OS=Brugia malayi GN=Bm1_25010 PE=3 SV=1', '>sp|Q01202|MYSP_BRUMA Paramyosin OS=Brugia malayi PE=2 SV=2', '>sp|P48817|NDK_BRUMA Nucleoside diphosphate kinase OS=Brugia malayi GN=NDK PE=2 SV=1', '>sp|A8PV03|SLX1_BRUMA Structure-specific endonuclease subunit SLX1 homolog OS=Brugia malayi GN=Bm1_35165 PE=3 SV=1', '>sp|A8QFF6|SPAST_BRUMA Probable spastin homolog Bm1_53365 OS=Brugia malayi GN=Bm1_53365 PE=3 SV=1', '>sp|A8NJZ7|SCOC_BRUMA Short coiled-coil protein homolog OS=Brugia malayi GN=Bm1_04115 PE=3 SV=1', '>sp|P90703|RLA2_BRUMA 60S acidic ribosomal protein P2 OS=Brugia malayi GN=rpp-2 PE=3 SV=1', '>sp|P90707|RS23_BRUMA 40S ribosomal protein S23 OS=Brugia malayi GN=rps-23 PE=2 SV=1', '>sp|A8PJ38|RS3A_BRUMA 40S ribosomal protein S3a OS=Brugia malayi GN=Bm1_27225 PE=3 SV=1', '>sp|A8Q2H5|RSSA_BRUMA 40S ribosomal protein SA OS=Brugia malayi GN=Bm1_41245 PE=3 SV=2', '>sp|A8QC60|RTCB_BRUMA tRNA-splicing ligase RtcB homolog OS=Brugia malayi GN=Bm1_49220 PE=3 SV=1', '>sp|P90697|TCTP_BRUMA Translationally-controlled tumor protein homolog OS=Brugia malayi PE=2 SV=1', '>sp|P48822|TDX1_BRUMA Thioredoxin peroxidase 1 OS=Brugia malayi GN=TSA1 PE=2 SV=1', '>sp|Q17172|TDX2_BRUMA Thioredoxin peroxidase 2 OS=Brugia malayi GN=tsa-2 PE=2 SV=2', '>sp|P10723|SYNC_BRUMA Asparagine--tRNA ligase, cytoplasmic OS=Brugia malayi PE=1 SV=1', '>sp|Q9Y193|TIM13_BRUMA Mitochondrial import inner membrane translocase subunit Tim13 OS=Brugia malayi GN=TIM13 PE=3 SV=1', '>sp|A8NFF0|TRMB_BRUMA tRNA (guanine-N(7)-)-methyltransferase OS=Brugia malayi GN=Bm1_01445 PE=3 SV=1', '>sp|A8Q8J2|UFC1_BRUMA Ubiquitin-fold modifier-conjugating enzyme 1 OS=Brugia malayi GN=Bm1_46190 PE=3 SV=1', '>sp|A8Q8M5|UFM1_BRUMA Ubiquitin-fold modifier 1 OS=Brugia malayi GN=Bm1_46275 PE=3 SV=1', '>sp|A8Q2R5|WDR48_BRUMA WD repeat-containing protein 48 homolog OS=Brugia malayi GN=Bm1_41555 PE=3 SV=2', '>sp|Q17162|VINC_BRUMA Vinculin OS=Brugia malayi PE=2 SV=1', '>sp|A8QB65|WDR12_BRUMA Ribosome biogenesis protein WDR12 homolog OS=Brugia malayi GN=Bm1_47965 PE=3 SV=1', '>sp|O77049|JTB_BRUMA Protein JTB OS=Brugia malayi GN=JTB PE=2 SV=1', '>sp|A8PF69|LIAS_BRUMA Lipoyl synthase, mitochondrial OS=Brugia malayi GN=Bm1_23910 PE=3 SV=1', '>sp|A8QCE4|LST2_BRUMA Lateral signaling target protein 2 homolog OS=Brugia malayi GN=Bm1_49520 PE=3 SV=1', '>sp|P91850|MIFH_BRUMA Macrophage migration inhibitory factor homolog OS=Brugia malayi GN=Bm1_28435 PE=3 SV=4', '>sp|A8PW87|NUBP1_BRUMA Cytosolic Fe-S cluster assembly factor NUBP1 homolog OS=Brugia malayi GN=Bm1_36105 PE=3 SV=1', '>sp|A8QFQ3|NO66_BRUMA Bifunctional lysine-specific demethylase and histidyl-hydroxylase NO66 OS=Brugia malayi GN=Bm1_53875 PE=3 SV=1', '>sp|A8QHQ0|PESC_BRUMA Pescadillo homolog OS=Brugia malayi GN=Bm1_57380 PE=3 SV=2', '>sp|Q8IHI1|PSF2_BRUMA Probable DNA replication complex GINS protein PSF2 OS=Brugia malayi GN=BMBAC01P19.06 PE=3 SV=1', '>sp|A8QE42|PURA_BRUMA Adenylosuccinate synthetase OS=Brugia malayi GN=Bm1_50695 PE=3 SV=1', '>sp|P38542|RAN_BRUMA GTP-binding nuclear protein Ran OS=Brugia malayi GN=Bm1_44725 PE=2 SV=2', '>sp|Q93140|RL23_BRUMA 60S ribosomal protein L23 OS=Brugia malayi GN=RPL23 PE=2 SV=1', '>sp|P90702|RL44_BRUMA 60S ribosomal protein L44 OS=Brugia malayi GN=rpl-44 PE=3 SV=3', '>sp|A8P7J8|U518_BRUMA UPF0518 protein Bm1_18400 OS=Brugia malayi GN=Bm1_18400 PE=3 SV=1', '>sp|A8NJ91|U729_BRUMA UPF0729 protein Bm1_03610 OS=Brugia malayi GN=Bm1_03610 PE=3 SV=1']
return(headers)
def subsetted_Headers():
headers = [['P90689', 'Actin', 'NaGN'], ['A8Q3T2', 'ATPase ASNA1 homolog', 'Bm1_42140'], ['A8PWB6', 'Ribosome biogenesis protein BOP1 homolog', 'Bm1_36175'], ['P29030', 'Endochitinase', 'NaGN'], ['A8PB32', 'Protein CLP1 homolog', 'Bm1_20975'], ['A8PJX4', 'Clustered mitochondria protein homolog', 'Bm1_28595'], ['A8QFY9', 'DDRGK domain-containing protein 1', 'Bm1_54325'], ['Q27450', 'Peptidyl-prolyl cis-trans isomerase 1', 'CYP-1'], ['A8QBB1', 'Anamorsin homolog', 'Bm1_48140'], ['A8QDN3', 'Eukaryotic translation initiation factor 3 subunit K', 'Bm1_52955'], ['A8PHP4', 'Eukaryotic translation initiation factor 3 subunit L', 'Bm1_25770'], ['A8QE76', 'Elongation factor Ts, mitochondrial', 'Bm1_50845'], ['A8PKH2', 'Eukaryotic translation initiation factor 3 subunit A', 'Bm1_29045'], ['A8NY27', 'Eukaryotic translation initiation factor 3 subunit E', 'Bm1_11985'], ['A8NS61', 'Eukaryotic translation initiation factor 3 subunit G', 'Bm1_08615'], ['A8QCY3', 'Eukaryotic translation initiation factor 3 subunit H', 'Bm1_50170'], ['A8QBF3', 'Eukaryotic translation initiation factor 3 subunit I', 'Bm1_48300'], ['Q4VWF8', '2,3-bisphosphoglycerate-independent phosphoglycerate mutase', 'ipgm-1'], ['P67877', 'Cuticular glutathione peroxidase', 'NaGN'], ['A8NS89', 'Trehalose-phosphatase', 'Bm1_08695'], ['A8QCH0', 'Flap endonuclease 1', 'FEN1'], ['Q93142', 'Fatty-acid and retinol-binding protein 1', 'far-1'], ['A8QGZ7', 'F-box/SPRY domain-containing protein 1', 'Bm1_56115'], ['P48812', 'Glyceraldehyde-3-phosphate dehydrogenase', 'G3PD'], ['A8PJJ2', 'Glutamyl-tRNA(Gln) amidotransferase subunit C, mitochondrial', 'Bm1_27920'], ['A8QCE7', 'Translation factor GUF1 homolog, mitochondrial', 'Bm1_49530'], ['P27541', 'Heat shock 70 kDa protein', 'HSP70'], ['A0A0K0JFP3', 'Hexokinase', 'Bm4678'], ['A8PGQ3', 'Probable cytosolic Fe-S cluster assembly factor Bm1_25010', 'Bm1_25010'], ['Q01202', 'Paramyosin', 'NaGN'], ['P48817', 'Nucleoside diphosphate kinase', 'NDK'], ['A8PV03', 'Structure-specific endonuclease subunit SLX1 homolog', 'Bm1_35165'], ['A8QFF6', 'Probable spastin homolog Bm1_53365', 'Bm1_53365'], ['A8NJZ7', 'Short coiled-coil protein homolog', 'Bm1_04115'], ['P90703', '60S acidic ribosomal protein P2', 'rpp-2'], ['P90707', '40S ribosomal protein S23', 'rps-23'], ['A8PJ38', '40S ribosomal protein S3a', 'Bm1_27225'], ['A8Q2H5', '40S ribosomal protein SA', 'Bm1_41245'], ['A8QC60', 'tRNA-splicing ligase RtcB homolog', 'Bm1_49220'], ['P90697', 'Translationally-controlled tumor protein homolog', 'NaGN'], ['P48822', 'Thioredoxin peroxidase 1', 'TSA1'], ['Q17172', 'Thioredoxin peroxidase 2', 'tsa-2'], ['P10723', 'Asparagine--tRNA ligase, cytoplasmic', 'NaGN'], ['Q9Y193', 'Mitochondrial import inner membrane translocase subunit Tim13', 'TIM13'], ['A8NFF0', 'tRNA (guanine-N(7)-)-methyltransferase', 'Bm1_01445'], ['A8Q8J2', 'Ubiquitin-fold modifier-conjugating enzyme 1', 'Bm1_46190'], ['A8Q8M5', 'Ubiquitin-fold modifier 1', 'Bm1_46275'], ['A8Q2R5', 'WD repeat-containing protein 48 homolog', 'Bm1_41555'], ['Q17162', 'Vinculin', 'NaGN'], ['A8QB65', 'Ribosome biogenesis protein WDR12 homolog', 'Bm1_47965'], ['O77049', 'Protein JTB', 'JTB'], ['A8PF69', 'Lipoyl synthase, mitochondrial', 'Bm1_23910'], ['A8QCE4', 'Lateral signaling target protein 2 homolog', 'Bm1_49520'], ['P91850', 'Macrophage migration inhibitory factor homolog', 'Bm1_28435'], ['A8PW87', 'Cytosolic Fe-S cluster assembly factor NUBP1 homolog', 'Bm1_36105'], ['A8QFQ3', 'Bifunctional lysine-specific demethylase and histidyl-hydroxylase NO66', 'Bm1_53875'], ['A8QHQ0', 'Pescadillo homolog', 'Bm1_57380'], ['Q8IHI1', 'Probable DNA replication complex GINS protein PSF2', 'BMBAC01P19.06'], ['A8QE42', 'Adenylosuccinate synthetase', 'Bm1_50695'], ['P38542', 'GTP-binding nuclear protein Ran', 'Bm1_44725'], ['Q93140', '60S ribosomal protein L23', 'RPL23'], ['P90702', '60S ribosomal protein L44', 'rpl-44'], ['A8P7J8', 'UPF0518 protein Bm1_18400', 'Bm1_18400'], ['A8NJ91', 'UPF0729 protein Bm1_03610', 'Bm1_03610']]
return(headers)
def truncated_Headers():
truncated_Headers = ['Actin OS=Brugia malayi PE=1 SV=1',
' ATPase ASNA1 homolog OS=Brugia malayi GN=Bm1_42140 PE=3 SV=1',
' Ribosome biogenesis protein BOP1 homolog OS=Brugia malayi GN=Bm1_36175 PE=3 SV=1',
' Endochitinase OS=Brugia malayi PE=1 SV=1',
' Protein CLP1 homolog OS=Brugia malayi GN=Bm1_20975 PE=3 SV=1',
'Clustered mitochondria protein homolog OS=Brugia malayi GN=Bm1_28595 PE=3 SV=2',
'A DDRGK domain-containing protein 1 OS=Brugia malayi GN=Bm1_54325 PE=3 SV=1',
' Peptidyl-prolyl cis-trans isomerase 1 OS=Brugia malayi GN=CYP-1 PE=1 SV=1',
' Anamorsin homolog OS=Brugia malayi GN=Bm1_48140 PE=3 SV=1',
'A Eukaryotic translation initiation factor 3 subunit K OS=Brugia malayi GN=Bm1_52955 PE=3 SV=1',
'A Eukaryotic translation initiation factor 3 subunit L OS=Brugia malayi GN=Bm1_25770 PE=3 SV=1',
' Elongation factor Ts, mitochondrial OS=Brugia malayi GN=Bm1_50845 PE=3 SV=1',
'A Eukaryotic translation initiation factor 3 subunit A OS=Brugia malayi GN=Bm1_29045 PE=3 SV=1',
'A Eukaryotic translation initiation factor 3 subunit E OS=Brugia malayi GN=Bm1_11985 PE=3 SV=2',
'A Eukaryotic translation initiation factor 3 subunit G OS=Brugia malayi GN=Bm1_08615 PE=3 SV=1',
'A Eukaryotic translation initiation factor 3 subunit H OS=Brugia malayi GN=Bm1_50170 PE=3 SV=1',
'A Eukaryotic translation initiation factor 3 subunit I OS=Brugia malayi GN=Bm1_48300 PE=3 SV=1',
' 2,3-bisphosphoglycerate-independent phosphoglycerate mutase OS=Brugia malayi GN=ipgm-1 PE=1 SV=1',
' Cuticular glutathione peroxidase OS=Brugia malayi PE=1 SV=1',
' Trehalose-phosphatase OS=Brugia malayi GN=Bm1_08695 PE=1 SV=1',
' Flap endonuclease 1 OS=Brugia malayi GN=FEN1 PE=3 SV=1',
' Fatty-acid and retinol-binding protein 1 OS=Brugia malayi GN=far-1 PE=1 SV=1',
'A F-box/SPRY domain-containing protein 1 OS=Brugia malayi GN=Bm1_56115 PE=3 SV=1',
'Glyceraldehyde-3-phosphate dehydrogenase OS=Brugia malayi GN=G3PD PE=1 SV=1',
' Glutamyl-tRNA(Gln) amidotransferase subunit C, mitochondrial OS=Brugia malayi GN=Bm1_27920 PE=3 SV=1',
' Translation factor GUF1 homolog, mitochondrial OS=Brugia malayi GN=Bm1_49530 PE=3 SV=1',
'A Heat shock 70 kDa protein OS=Brugia malayi GN=HSP70 PE=3 SV=1',
'UMA Hexokinase OS=Brugia malayi GN=Bm4678 PE=1 SV=1',
' Probable cytosolic Fe-S cluster assembly factor Bm1_25010 OS=Brugia malayi GN=Bm1_25010 PE=3 SV=1',
' Paramyosin OS=Brugia malayi PE=2 SV=2',
'Nucleoside diphosphate kinase OS=Brugia malayi GN=NDK PE=2 SV=1',
' Structure-specific endonuclease subunit SLX1 homolog OS=Brugia malayi GN=Bm1_35165 PE=3 SV=1',
'A Probable spastin homolog Bm1_53365 OS=Brugia malayi GN=Bm1_53365 PE=3 SV=1',
' Short coiled-coil protein homolog OS=Brugia malayi GN=Bm1_04115 PE=3 SV=1',
' 60S acidic ribosomal protein P2 OS=Brugia malayi GN=rpp-2 PE=3 SV=1',
' 40S ribosomal protein S23 OS=Brugia malayi GN=rps-23 PE=2 SV=1',
' 40S ribosomal protein S3a OS=Brugia malayi GN=Bm1_27225 PE=3 SV=1',
' 40S ribosomal protein SA OS=Brugia malayi GN=Bm1_41245 PE=3 SV=2',
' tRNA-splicing ligase RtcB homolog OS=Brugia malayi GN=Bm1_49220 PE=3 SV=1',
' Translationally-controlled tumor protein homolog OS=Brugia malayi PE=2 SV=1',
' Thioredoxin peroxidase 1 OS=Brugia malayi GN=TSA1 PE=2 SV=1',
' Thioredoxin peroxidase 2 OS=Brugia malayi GN=tsa-2 PE=2 SV=2',
' Asparagine--tRNA ligase, cytoplasmic OS=Brugia malayi PE=1 SV=1',
'A Mitochondrial import inner membrane translocase subunit Tim13 OS=Brugia malayi GN=TIM13 PE=3 SV=1',
' tRNA (guanine-N(7)-)-methyltransferase OS=Brugia malayi GN=Bm1_01445 PE=3 SV=1',
' Ubiquitin-fold modifier-conjugating enzyme 1 OS=Brugia malayi GN=Bm1_46190 PE=3 SV=1',
' Ubiquitin-fold modifier 1 OS=Brugia malayi GN=Bm1_46275 PE=3 SV=1',
'A WD repeat-containing protein 48 homolog OS=Brugia malayi GN=Bm1_41555 PE=3 SV=2',
' Vinculin OS=Brugia malayi PE=2 SV=1',
'A Ribosome biogenesis protein WDR12 homolog OS=Brugia malayi GN=Bm1_47965 PE=3 SV=1',
'Protein JTB OS=Brugia malayi GN=JTB PE=2 SV=1',
' Lipoyl synthase, mitochondrial OS=Brugia malayi GN=Bm1_23910 PE=3 SV=1',
' Lateral signaling target protein 2 homolog OS=Brugia malayi GN=Bm1_49520 PE=3 SV=1',
' Macrophage migration inhibitory factor homolog OS=Brugia malayi GN=Bm1_28435 PE=3 SV=4',
'A Cytosolic Fe-S cluster assembly factor NUBP1 homolog OS=Brugia malayi GN=Bm1_36105 PE=3 SV=1',
' Bifunctional lysine-specific demethylase and histidyl-hydroxylase NO66 OS=Brugia malayi GN=Bm1_53875 PE=3 SV=1',
' Pescadillo homolog OS=Brugia malayi GN=Bm1_57380 PE=3 SV=2',
' Probable DNA replication complex GINS protein PSF2 OS=Brugia malayi GN=BMBAC01P19.06 PE=3 SV=1',
' Adenylosuccinate synthetase OS=Brugia malayi GN=Bm1_50695 PE=3 SV=1',
'GTP-binding nuclear protein Ran OS=Brugia malayi GN=Bm1_44725 PE=2 SV=2',
' 60S ribosomal protein L23 OS=Brugia malayi GN=RPL23 PE=2 SV=1',
' 60S ribosomal protein L44 OS=Brugia malayi GN=rpl-44 PE=3 SV=3',
' UPF0518 protein Bm1_18400 OS=Brugia malayi GN=Bm1_18400 PE=3 SV=1',
' UPF0729 protein Bm1_03610 OS=Brugia malayi GN=Bm1_03610 PE=3 SV=1']
#truncated_Headers=[x[len('>sp|Q93142|FAR1_BRUMA'):] for x in raw_Headers]
#formatted_Headers = [[x[1] for x in raw_Headers]]
return(truncated_Headers)
| 152.037383
| 6,326
| 0.742562
| 2,643
| 16,268
| 4.493
| 0.144154
| 0.086232
| 0.150905
| 0.1536
| 0.769095
| 0.721095
| 0.700126
| 0.651705
| 0.622063
| 0.617937
| 0
| 0.129614
| 0.134005
| 16,268
| 107
| 6,327
| 152.037383
| 0.713302
| 0.01506
| 0
| 0.026316
| 0
| 1.026316
| 0.865955
| 0.103577
| 0
| 0
| 0
| 0
| 0
| 1
| 0.052632
| false
| 0
| 0.052632
| 0
| 0.105263
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
55e6af3675fbd17e6c8ff6994e16b952df67ecf0
| 5,428
|
py
|
Python
|
2021/solutions/day11.py
|
rsizem2/aoc_2020
|
aa2dbf72a4c44930755bd9cc132ad7854f742f09
|
[
"MIT"
] | null | null | null |
2021/solutions/day11.py
|
rsizem2/aoc_2020
|
aa2dbf72a4c44930755bd9cc132ad7854f742f09
|
[
"MIT"
] | null | null | null |
2021/solutions/day11.py
|
rsizem2/aoc_2020
|
aa2dbf72a4c44930755bd9cc132ad7854f742f09
|
[
"MIT"
] | null | null | null |
from collections import deque
def read_file(test = True):
if test:
filename = '../tests/day11.txt'
else:
filename = '../input/day11.txt'
with open(filename) as file:
temp = list()
for line in file:
temp.append(list(map(int,list(line.strip()))))
return temp
def puzzle1(test = True):
temp = read_file(test)
rows = len(temp)
cols = len(temp[0])
flashes = 0
for step in range(100):
flashed = set()
will_flash = deque()
if step < 3:
for x in temp:
print(*x)
print(f'\n{flashes}\n')
for i in range(rows):
for j in range(cols):
temp[i][j] += 1
if temp[i][j] > 9:
flashed.add((i,j))
will_flash.append((i,j))
while will_flash:
i,j = will_flash.pop()
if i > 0:
temp[i-1][j] += 1
if temp[i-1][j] > 9 and (i-1,j) not in flashed:
will_flash.append((i-1,j))
flashed.add((i-1,j))
if i < rows-1:
temp[i+1][j] += 1
if temp[i+1][j] > 9 and (i+1,j) not in flashed:
will_flash.append((i+1,j))
flashed.add((i+1,j))
if j > 0:
temp[i][j-1] += 1
if temp[i][j-1] > 9 and (i,j-1) not in flashed:
will_flash.append((i,j-1))
flashed.add((i,j-1))
if j < cols-1:
temp[i][j+1] += 1
if temp[i][j+1] > 9 and (i,j+1) not in flashed:
will_flash.append((i,j+1))
flashed.add((i,j+1))
if i > 0 and j > 0:
temp[i-1][j-1] += 1
if temp[i-1][j-1] > 9 and (i-1,j-1) not in flashed:
will_flash.append((i-1,j-1))
flashed.add((i-1,j-1))
if i > 0 and j < cols-1:
temp[i-1][j+1] += 1
if temp[i-1][j+1] > 9 and (i-1,j+1) not in flashed:
will_flash.append((i-1,j+1))
flashed.add((i-1,j+1))
if i < rows - 1 and j > 0:
temp[i+1][j-1] += 1
if temp[i+1][j-1] > 9 and (i+1,j-1) not in flashed:
will_flash.append((i+1,j-1))
flashed.add((i+1,j-1))
if i < rows-1 and j < cols-1:
temp[i+1][j+1] += 1
if temp[i+1][j+1] > 9 and (i+1,j+1) not in flashed:
will_flash.append((i+1,j+1))
flashed.add((i+1,j+1))
flashes += len(flashed)
for i,j in flashed:
temp[i][j] = 0
print(flashes)
def puzzle2(test = True):
temp = read_file(test)
temp = read_file(test)
rows = len(temp)
cols = len(temp[0])
total = rows*cols
flashes = 0
for step in range(20000):
flashed = set()
will_flash = deque()
if step < 3:
for x in temp:
print(*x)
print(f'\n{flashes}\n')
for i in range(rows):
for j in range(cols):
temp[i][j] += 1
if temp[i][j] > 9:
flashed.add((i,j))
will_flash.append((i,j))
while will_flash:
i,j = will_flash.pop()
if i > 0:
temp[i-1][j] += 1
if temp[i-1][j] > 9 and (i-1,j) not in flashed:
will_flash.append((i-1,j))
flashed.add((i-1,j))
if i < rows-1:
temp[i+1][j] += 1
if temp[i+1][j] > 9 and (i+1,j) not in flashed:
will_flash.append((i+1,j))
flashed.add((i+1,j))
if j > 0:
temp[i][j-1] += 1
if temp[i][j-1] > 9 and (i,j-1) not in flashed:
will_flash.append((i,j-1))
flashed.add((i,j-1))
if j < cols-1:
temp[i][j+1] += 1
if temp[i][j+1] > 9 and (i,j+1) not in flashed:
will_flash.append((i,j+1))
flashed.add((i,j+1))
if i > 0 and j > 0:
temp[i-1][j-1] += 1
if temp[i-1][j-1] > 9 and (i-1,j-1) not in flashed:
will_flash.append((i-1,j-1))
flashed.add((i-1,j-1))
if i > 0 and j < cols-1:
temp[i-1][j+1] += 1
if temp[i-1][j+1] > 9 and (i-1,j+1) not in flashed:
will_flash.append((i-1,j+1))
flashed.add((i-1,j+1))
if i < rows - 1 and j > 0:
temp[i+1][j-1] += 1
if temp[i+1][j-1] > 9 and (i+1,j-1) not in flashed:
will_flash.append((i+1,j-1))
flashed.add((i+1,j-1))
if i < rows-1 and j < cols-1:
temp[i+1][j+1] += 1
if temp[i+1][j+1] > 9 and (i+1,j+1) not in flashed:
will_flash.append((i+1,j+1))
flashed.add((i+1,j+1))
flashes += len(flashed)
for i,j in flashed:
temp[i][j] = 0
if len(flashed) >= total:
print('Done')
print(step+1)
return
puzzle1(False)
puzzle2(False)
| 35.477124
| 67
| 0.396831
| 830
| 5,428
| 2.561446
| 0.073494
| 0.062088
| 0.084666
| 0.082785
| 0.857949
| 0.857949
| 0.822201
| 0.822201
| 0.822201
| 0.822201
| 0
| 0.068447
| 0.448231
| 5,428
| 153
| 68
| 35.477124
| 0.641402
| 0
| 0
| 0.842466
| 0
| 0
| 0.012157
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.020548
| false
| 0
| 0.006849
| 0
| 0.041096
| 0.047945
| 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
|
36421e1c64750d2840fae99a510d28acdf127619
| 3,611
|
py
|
Python
|
server/backend/base/migrations/0006_auto_20210819_0859.py
|
Djamel-eddine/djamel_ben_smail
|
7d6178c40690e1b06a842244335844df6cb15625
|
[
"MIT"
] | null | null | null |
server/backend/base/migrations/0006_auto_20210819_0859.py
|
Djamel-eddine/djamel_ben_smail
|
7d6178c40690e1b06a842244335844df6cb15625
|
[
"MIT"
] | null | null | null |
server/backend/base/migrations/0006_auto_20210819_0859.py
|
Djamel-eddine/djamel_ben_smail
|
7d6178c40690e1b06a842244335844df6cb15625
|
[
"MIT"
] | null | null | null |
# Generated by Django 3.0.3 on 2021-08-19 07:59
from django.db import migrations, models
import django.utils.timezone
import uuid
class Migration(migrations.Migration):
dependencies = [
('base', '0005_auto_20210819_0846'),
]
operations = [
migrations.RemoveField(
model_name='associationprofile',
name='id',
),
migrations.RemoveField(
model_name='compaign',
name='id',
),
migrations.RemoveField(
model_name='personprofile',
name='id',
),
migrations.AddField(
model_name='associationprofile',
name='_id',
field=models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False),
),
migrations.AddField(
model_name='associationprofile',
name='createdAt',
field=models.DateTimeField(auto_now_add=True, default=django.utils.timezone.now),
preserve_default=False,
),
migrations.AddField(
model_name='compaign',
name='_id',
field=models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False),
),
migrations.AddField(
model_name='compaign',
name='createdAt',
field=models.DateTimeField(auto_now_add=True, default=django.utils.timezone.now),
preserve_default=False,
),
migrations.AddField(
model_name='personprofile',
name='_id',
field=models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False),
),
migrations.AddField(
model_name='personprofile',
name='createdAt',
field=models.DateTimeField(auto_now_add=True, default=django.utils.timezone.now),
preserve_default=False,
),
migrations.AlterField(
model_name='associationwilayas',
name='_id',
field=models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False),
),
migrations.AlterField(
model_name='comment',
name='_id',
field=models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False),
),
migrations.AlterField(
model_name='compaignneeds',
name='_id',
field=models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False),
),
migrations.AlterField(
model_name='compaignsteps',
name='_id',
field=models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False),
),
migrations.AlterField(
model_name='need',
name='_id',
field=models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False),
),
migrations.AlterField(
model_name='step',
name='_id',
field=models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False),
),
migrations.AlterField(
model_name='type',
name='_id',
field=models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False),
),
migrations.AlterField(
model_name='wilaya',
name='_id',
field=models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False),
),
]
| 35.752475
| 106
| 0.590972
| 342
| 3,611
| 6.090643
| 0.175439
| 0.073452
| 0.058089
| 0.089774
| 0.869419
| 0.834374
| 0.769563
| 0.7494
| 0.7494
| 0.7494
| 0
| 0.016484
| 0.294378
| 3,611
| 100
| 107
| 36.11
| 0.80102
| 0.012462
| 0
| 0.819149
| 1
| 0
| 0.078283
| 0.006453
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.031915
| 0
| 0.06383
| 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
|
36568bab132aee5fe3e38957ea9feb981fc07639
| 134
|
py
|
Python
|
tests/test_util.py
|
julianirwin/hloopy
|
24308594dbcc6a273077b7b4d7b4041b2dc4fcfd
|
[
"MIT"
] | 6
|
2018-11-27T21:54:14.000Z
|
2021-06-10T03:21:52.000Z
|
tests/test_util.py
|
julianirwin/hloopy
|
24308594dbcc6a273077b7b4d7b4041b2dc4fcfd
|
[
"MIT"
] | null | null | null |
tests/test_util.py
|
julianirwin/hloopy
|
24308594dbcc6a273077b7b4d7b4041b2dc4fcfd
|
[
"MIT"
] | null | null | null |
from hloopy.util import *
from nose.tools import assert_equal
def test_rightpad():
assert_equal(rightpad('xy', '.', 3), 'xy.')
| 16.75
| 47
| 0.686567
| 19
| 134
| 4.684211
| 0.684211
| 0.247191
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.00885
| 0.156716
| 134
| 7
| 48
| 19.142857
| 0.778761
| 0
| 0
| 0
| 0
| 0
| 0.045113
| 0
| 0
| 0
| 0
| 0
| 0.5
| 1
| 0.25
| true
| 0
| 0.5
| 0
| 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
| 1
| 0
| 1
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 8
|
367c50629540164f52e7cecb40956bc2ae8602e5
| 291
|
py
|
Python
|
tests/__init__.py
|
tquangsdh20/pyfreetts
|
73c28df181c7165ad6ae0e3e4c7cc25e1ed4ed6e
|
[
"Apache-2.0"
] | null | null | null |
tests/__init__.py
|
tquangsdh20/pyfreetts
|
73c28df181c7165ad6ae0e3e4c7cc25e1ed4ed6e
|
[
"Apache-2.0"
] | null | null | null |
tests/__init__.py
|
tquangsdh20/pyfreetts
|
73c28df181c7165ad6ae0e3e4c7cc25e1ed4ed6e
|
[
"Apache-2.0"
] | null | null | null |
PROXY1 = {
"http": "socks5://103.155.209.42:1080",
"https": "socks5://103.155.209.42:1080",
}
PROXY2 = {
"http": "socks5://195.158.197.13:1043",
"https": "socks5://195.158.197.13:1043",
}
PROXY3 = {"http": "socks5://5.42.158.107:1080", "https": "socks5://5.42.158.107:1080"}
| 29.1
| 86
| 0.573883
| 45
| 291
| 3.711111
| 0.4
| 0.179641
| 0.143713
| 0.179641
| 0.730539
| 0.730539
| 0
| 0
| 0
| 0
| 0
| 0.375494
| 0.130584
| 291
| 9
| 87
| 32.333333
| 0.284585
| 0
| 0
| 0
| 0
| 0
| 0.656357
| 0.563574
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
36da4fac81f189510d0effac6b4773c8931e2865
| 243
|
py
|
Python
|
torchdrug/transforms/__init__.py
|
wconnell/torchdrug
|
a710097cb4ad4c48e0de0d18fbb77ef0e806cdc8
|
[
"Apache-2.0"
] | 772
|
2021-08-10T05:03:46.000Z
|
2022-03-31T12:48:31.000Z
|
torchdrug/transforms/__init__.py
|
wconnell/torchdrug
|
a710097cb4ad4c48e0de0d18fbb77ef0e806cdc8
|
[
"Apache-2.0"
] | 77
|
2021-08-12T16:19:15.000Z
|
2022-03-30T14:32:14.000Z
|
torchdrug/transforms/__init__.py
|
wconnell/torchdrug
|
a710097cb4ad4c48e0de0d18fbb77ef0e806cdc8
|
[
"Apache-2.0"
] | 90
|
2021-08-11T16:27:13.000Z
|
2022-03-28T11:41:53.000Z
|
from .transform import TargetNormalize, RemapAtomType, RandomBFSOrder, Shuffle, VirtualNode, VirtualAtom, Compose
__all__ = [
"TargetNormalize", "RemapAtomType", "RandomBFSOrder", "Shuffle",
"VirtualNode", "VirtualAtom", "Compose",
]
| 34.714286
| 113
| 0.748971
| 18
| 243
| 9.888889
| 0.611111
| 0.314607
| 0.47191
| 0.550562
| 0.876404
| 0.876404
| 0.876404
| 0
| 0
| 0
| 0
| 0
| 0.123457
| 243
| 6
| 114
| 40.5
| 0.835681
| 0
| 0
| 0
| 0
| 0
| 0.320988
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.2
| 0
| 0.2
| 0
| 1
| 0
| 0
| null | 1
| 1
| 1
| 1
| 1
| 1
| 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
| 8
|
36ed8a06fff0d39a8d72547018864f4b2c4a3157
| 4,050
|
py
|
Python
|
test/nn/conv/test_hgt_conv.py
|
Kenneth-Schroeder/pytorch_geometric
|
f7ec9e964bfae1ce5fb21d9b2b30e9e717bf8e24
|
[
"MIT"
] | 12,651
|
2017-10-28T15:14:24.000Z
|
2021-09-12T07:22:57.000Z
|
test/nn/conv/test_hgt_conv.py
|
Kenneth-Schroeder/pytorch_geometric
|
f7ec9e964bfae1ce5fb21d9b2b30e9e717bf8e24
|
[
"MIT"
] | 2,472
|
2017-10-30T23:38:47.000Z
|
2021-09-12T06:41:44.000Z
|
test/nn/conv/test_hgt_conv.py
|
Kenneth-Schroeder/pytorch_geometric
|
f7ec9e964bfae1ce5fb21d9b2b30e9e717bf8e24
|
[
"MIT"
] | 2,363
|
2017-12-01T13:25:05.000Z
|
2021-09-12T07:23:09.000Z
|
import torch
from torch_sparse import SparseTensor
from torch_geometric.nn import HGTConv
def test_hgt_conv_same_dimensions():
x_dict = {
'author': torch.randn(4, 16),
'paper': torch.randn(6, 16),
}
index1 = torch.randint(0, 4, (20, ), dtype=torch.long)
index2 = torch.randint(0, 6, (20, ), dtype=torch.long)
edge_index_dict = {
('author', 'writes', 'paper'): torch.stack([index1, index2]),
('paper', 'written_by', 'author'): torch.stack([index2, index1]),
}
adj_t_dict = {}
for edge_type, edge_index in edge_index_dict.items():
src_type, _, dst_type = edge_type
adj_t_dict[edge_type] = SparseTensor(
row=edge_index[0], col=edge_index[1],
sparse_sizes=(x_dict[src_type].size(0),
x_dict[dst_type].size(0))).t()
metadata = (list(x_dict.keys()), list(edge_index_dict.keys()))
conv = HGTConv(16, 16, metadata, heads=2)
assert str(conv) == 'HGTConv(16, heads=2)'
out_dict1 = conv(x_dict, edge_index_dict)
assert len(out_dict1) == 2
assert out_dict1['author'].size() == (4, 16)
assert out_dict1['paper'].size() == (6, 16)
out_dict2 = conv(x_dict, adj_t_dict)
for out1, out2 in zip(out_dict1.values(), out_dict2.values()):
assert torch.allclose(out1, out2, atol=1e-6)
# TODO: Test JIT functionality. We need to wait on this one until PyTorch
# allows indexing `ParameterDict` mappings :(
def test_hgt_conv_different_dimensions():
x_dict = {
'author': torch.randn(4, 16),
'paper': torch.randn(6, 32),
}
index1 = torch.randint(0, 4, (20, ), dtype=torch.long)
index2 = torch.randint(0, 6, (20, ), dtype=torch.long)
edge_index_dict = {
('author', 'writes', 'paper'): torch.stack([index1, index2]),
('paper', 'written_by', 'author'): torch.stack([index2, index1]),
}
adj_t_dict = {}
for edge_type, edge_index in edge_index_dict.items():
src_type, _, dst_type = edge_type
adj_t_dict[edge_type] = SparseTensor(
row=edge_index[0], col=edge_index[1],
sparse_sizes=(x_dict[src_type].size(0),
x_dict[dst_type].size(0))).t()
metadata = (list(x_dict.keys()), list(edge_index_dict.keys()))
conv = HGTConv(in_channels={
'author': 16,
'paper': 32
}, out_channels=32, metadata=metadata, heads=2)
assert str(conv) == 'HGTConv(32, heads=2)'
out_dict1 = conv(x_dict, edge_index_dict)
assert len(out_dict1) == 2
assert out_dict1['author'].size() == (4, 32)
assert out_dict1['paper'].size() == (6, 32)
out_dict2 = conv(x_dict, adj_t_dict)
for out1, out2 in zip(out_dict1.values(), out_dict2.values()):
assert torch.allclose(out1, out2, atol=1e-6)
def test_hgt_conv_lazy():
x_dict = {
'author': torch.randn(4, 16),
'paper': torch.randn(6, 32),
}
index1 = torch.randint(0, 4, (20, ), dtype=torch.long)
index2 = torch.randint(0, 6, (20, ), dtype=torch.long)
edge_index_dict = {
('author', 'writes', 'paper'): torch.stack([index1, index2]),
('paper', 'written_by', 'author'): torch.stack([index2, index1]),
}
adj_t_dict = {}
for edge_type, edge_index in edge_index_dict.items():
src_type, _, dst_type = edge_type
adj_t_dict[edge_type] = SparseTensor(
row=edge_index[0], col=edge_index[1],
sparse_sizes=(x_dict[src_type].size(0),
x_dict[dst_type].size(0))).t()
metadata = (list(x_dict.keys()), list(edge_index_dict.keys()))
conv = HGTConv(-1, 32, metadata, heads=2)
assert str(conv) == 'HGTConv(32, heads=2)'
out_dict1 = conv(x_dict, edge_index_dict)
assert len(out_dict1) == 2
assert out_dict1['author'].size() == (4, 32)
assert out_dict1['paper'].size() == (6, 32)
out_dict2 = conv(x_dict, adj_t_dict)
for out1, out2 in zip(out_dict1.values(), out_dict2.values()):
assert torch.allclose(out1, out2, atol=1e-6)
| 35.217391
| 77
| 0.609136
| 577
| 4,050
| 4.041594
| 0.149047
| 0.081046
| 0.066895
| 0.041166
| 0.876072
| 0.876072
| 0.86578
| 0.851201
| 0.851201
| 0.851201
| 0
| 0.050288
| 0.229136
| 4,050
| 114
| 78
| 35.526316
| 0.696669
| 0.028395
| 0
| 0.755556
| 0
| 0
| 0.063835
| 0
| 0
| 0
| 0
| 0.008772
| 0.166667
| 1
| 0.033333
| false
| 0
| 0.033333
| 0
| 0.066667
| 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
|
7fc361e5b7a0c23708bbaf1d856df05eff7dc134
| 1,247
|
py
|
Python
|
python_modules/dagster/dagster_tests/utils_tests/test_yaml.py
|
hspak/dagster
|
94cff048d5d757d0fe1d83abe236252a1c86bd41
|
[
"Apache-2.0"
] | null | null | null |
python_modules/dagster/dagster_tests/utils_tests/test_yaml.py
|
hspak/dagster
|
94cff048d5d757d0fe1d83abe236252a1c86bd41
|
[
"Apache-2.0"
] | null | null | null |
python_modules/dagster/dagster_tests/utils_tests/test_yaml.py
|
hspak/dagster
|
94cff048d5d757d0fe1d83abe236252a1c86bd41
|
[
"Apache-2.0"
] | null | null | null |
from dagster.utils import file_relative_path
from dagster.utils.yaml_utils import (
load_yaml_from_glob_list,
load_yaml_from_globs,
load_yaml_from_path,
)
def test_load_yaml():
assert load_yaml_from_path(file_relative_path(__file__, 'yamls/yaml_one.yaml')) == {
'key_one': {'key_one_one': 'value_one'}
}
def test_from_glob_list():
assert load_yaml_from_glob_list([file_relative_path(__file__, 'yamls/yaml_one.yaml')]) == {
'key_one': {'key_one_one': 'value_one'}
}
assert load_yaml_from_glob_list(
[
file_relative_path(__file__, 'yamls/yaml_one.yaml'),
file_relative_path(__file__, 'yamls/yaml_two.yaml'),
]
) == {'key_one': {'key_one_one': 'value_one', 'key_one_two': 'value_two'}}
assert load_yaml_from_glob_list([file_relative_path(__file__, 'yamls/*.yaml')]) == {
'key_one': {'key_one_one': 'value_one', 'key_one_two': 'value_two'}
}
assert load_yaml_from_globs(
file_relative_path(__file__, 'yamls/yaml_one.yaml'),
file_relative_path(__file__, 'yamls/yaml_two.yaml'),
) == {'key_one': {'key_one_one': 'value_one', 'key_one_two': 'value_two'}}
assert load_yaml_from_glob_list(['flskhfhjsdf']) == {}
| 33.702703
| 95
| 0.676824
| 174
| 1,247
| 4.178161
| 0.12069
| 0.10729
| 0.148556
| 0.192572
| 0.76066
| 0.73315
| 0.73315
| 0.73315
| 0.73315
| 0.73315
| 0
| 0
| 0.177225
| 1,247
| 36
| 96
| 34.638889
| 0.708577
| 0
| 0
| 0.285714
| 0
| 0
| 0.266239
| 0
| 0
| 0
| 0
| 0
| 0.214286
| 1
| 0.071429
| true
| 0
| 0.071429
| 0
| 0.142857
| 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
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
3d00bdce88354c39da41facec1e4e89a78312e13
| 170
|
py
|
Python
|
Pyflai/style/style/__init__.py
|
CMakerA/Pyflai
|
4c3ed66d0d046de56c4bf6a04cb6ce8ebdf34693
|
[
"Apache-2.0"
] | 1
|
2018-02-14T08:33:25.000Z
|
2018-02-14T08:33:25.000Z
|
Pyflai/style/style/__init__.py
|
CMakerA/Pyflai
|
4c3ed66d0d046de56c4bf6a04cb6ce8ebdf34693
|
[
"Apache-2.0"
] | null | null | null |
Pyflai/style/style/__init__.py
|
CMakerA/Pyflai
|
4c3ed66d0d046de56c4bf6a04cb6ce8ebdf34693
|
[
"Apache-2.0"
] | null | null | null |
__all__ = ["BorderStyle", "Style", "Styles"]
from Pyflai.style.style.BorderStyle import *
from Pyflai.style.style.Style import *
from Pyflai.style.style.Styles import *
| 28.333333
| 44
| 0.758824
| 22
| 170
| 5.681818
| 0.318182
| 0.32
| 0.36
| 0.48
| 0.416
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.105882
| 170
| 5
| 45
| 34
| 0.822368
| 0
| 0
| 0
| 0
| 0
| 0.129412
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.75
| 0
| 0.75
| 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
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 7
|
3d4680ccf5ce4202c5a2889fbc99e3ccefad9914
| 14,510
|
py
|
Python
|
src/abaqus/BoundaryCondition/ConnVelocityBC.py
|
Haiiliin/PyAbaqus
|
f20db6ebea19b73059fe875a53be370253381078
|
[
"MIT"
] | 7
|
2022-01-21T09:15:45.000Z
|
2022-02-15T09:31:58.000Z
|
src/abaqus/BoundaryCondition/ConnVelocityBC.py
|
Haiiliin/PyAbaqus
|
f20db6ebea19b73059fe875a53be370253381078
|
[
"MIT"
] | null | null | null |
src/abaqus/BoundaryCondition/ConnVelocityBC.py
|
Haiiliin/PyAbaqus
|
f20db6ebea19b73059fe875a53be370253381078
|
[
"MIT"
] | null | null | null |
import typing
from abaqusConstants import *
from .BoundaryCondition import BoundaryCondition
from ..Region.Region import Region
class ConnVelocityBC(BoundaryCondition):
"""The ConnVelocityBC object stores the data for a connector velocity boundary condition.
The ConnVelocityBC object is derived from the BoundaryCondition object.
Attributes
----------
name: str
A String specifying the boundary condition repository key.
distributionType: SymbolicConstant
A SymbolicConstant specifying how the boundary condition is distributed spatially.
Possible values are UNIFORM and USER_DEFINED. The default value is UNIFORM.
fastenerName: str
A String specifying the name of the assembled fastener to which the boundary condition
will be applied. This argument is not valid when **region** is specified. When this
argument is specified, **fastenerSetName** must also be specified. The default value is an
empty string.
fastenerSetName: str
A String specifying the assembled fastener template model set to which the boundary
condition will be applied. This argument is not valid when **region** is specified. When
this argument is specified, **fastenerName** must also be specified. The default value is
an empty string.
category: SymbolicConstant
A SymbolicConstant specifying the category of the boundary condition. Possible values
are MECHANICAL and THERMAL.
region: Region
A :py:class:`~abaqus.Region.Region.Region` object specifying the region to which the boundary condition is applied.
localCsys: str
None or a :py:class:`~abaqus.Datum.DatumCsys.DatumCsys` object specifying the local coordinate system of the boundary
condition's degrees of freedom. If **localCsys=None**, the degrees of freedom are defined
in the global coordinate system. The default value is None.
Notes
-----
This object can be accessed by:
.. code-block:: python
import load
mdb.models[name].boundaryConditions[name]
"""
# A String specifying the boundary condition repository key.
name: str = ''
# A SymbolicConstant specifying how the boundary condition is distributed spatially.
# Possible values are UNIFORM and USER_DEFINED. The default value is UNIFORM.
distributionType: SymbolicConstant = UNIFORM
# A String specifying the name of the assembled fastener to which the boundary condition
# will be applied. This argument is not valid when *region* is specified. When this
# argument is specified, *fastenerSetName* must also be specified. The default value is an
# empty string.
fastenerName: str = ''
# A String specifying the assembled fastener template model set to which the boundary
# condition will be applied. This argument is not valid when *region* is specified. When
# this argument is specified, *fastenerName* must also be specified. The default value is
# an empty string.
fastenerSetName: str = ''
# A SymbolicConstant specifying the category of the boundary condition. Possible values
# are MECHANICAL and THERMAL.
category: SymbolicConstant = None
# A Region object specifying the region to which the boundary condition is applied.
region: Region = Region()
# None or a DatumCsys object specifying the local coordinate system of the boundary
# condition's degrees of freedom. If *localCsys*=None, the degrees of freedom are defined
# in the global coordinate system. The default value is None.
localCsys: str = None
def __init__(self, name: str, createStepName: str, region: str = '', fastenerName: str = '',
fastenerSetName: str = '', v1: typing.Union[SymbolicConstant, float] = UNSET,
v2: typing.Union[SymbolicConstant, float] = UNSET,
v3: typing.Union[SymbolicConstant, float] = UNSET,
vr1: typing.Union[SymbolicConstant, float] = UNSET,
vr2: typing.Union[SymbolicConstant, float] = UNSET,
vr3: typing.Union[SymbolicConstant, float] = UNSET, amplitude: str = UNSET,
distributionType: SymbolicConstant = UNIFORM):
"""This method creates a ConnVelocityBC object on a wire region. Alternatively, the
boundary condition may also be applied to a wire set referenced from an assembled
fastener template model.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].ConnVelocityBC
Parameters
----------
name
A String specifying the boundary condition repository key.
createStepName
A String specifying the name of the step in which the boundary condition is created.
region
The wire region to which the boundary condition is applied. This argument is not valid
when *fastenerName* and *fastenerSetName* are specified.
fastenerName
A String specifying the name of the assembled fastener to which the boundary condition
will be applied. This argument is not valid when *region* is specified. When this
argument is specified, *fastenerSetName* must also be specified. The default value is an
empty string.
fastenerSetName
A String specifying the assembled fastener template model set to which the boundary
condition will be applied. This argument is not valid when *region* is specified. When
this argument is specified, *fastenerName* must also be specified. The default value is
an empty string.
v1
A Float or a SymbolicConstant specifying the velocity component in the connector's local
1-direction. Possible values for the SymbolicConstant are UNSET and SET. The default
value is UNSET.Note:Although *v1*, *v2*, *v3*, *vr1*, *vr2*, and *vr3* are optional
arguments, at least one of them must be specified.
v2
A Float or a SymbolicConstant specifying the velocity component in the connector's local
2-direction. Possible values for the SymbolicConstant are UNSET and SET. The default
value is UNSET.
v3
A Float or a SymbolicConstant specifying the velocity component in the connector's local
3-direction. Possible values for the SymbolicConstant are UNSET and SET. The default
value is UNSET.
vr1
A Float or a SymbolicConstant specifying the rotational velocity component in the
connector's local 4-direction. Possible values for the SymbolicConstant are UNSET and
SET. The default value is UNSET.
vr2
A Float or a SymbolicConstant specifying the rotational velocity component in the
connector's local 5-direction. Possible values for the SymbolicConstant are UNSET and
SET. The default value is UNSET.
vr3
A Float or a SymbolicConstant specifying the rotational velocity component in the
connector's local 6-direction. Possible values for the SymbolicConstant are UNSET and
SET. The default value is UNSET.
amplitude
A String or the SymbolicConstant UNSET specifying the name of the amplitude reference.
UNSET should be used if the boundary condition has no amplitude reference. The default
value is UNSET. You should provide the *amplitude* argument only if it is valid for the
specified step.
distributionType
A SymbolicConstant specifying how the boundary condition is distributed spatially.
Possible values are UNIFORM and USER_DEFINED. The default value is UNIFORM.
Returns
-------
A ConnVelocityBC object.
"""
super().__init__()
pass
def setValues(self, region: str = '', fastenerName: str = '', fastenerSetName: str = '',
v1: typing.Union[SymbolicConstant, float] = UNSET,
v2: typing.Union[SymbolicConstant, float] = UNSET,
v3: typing.Union[SymbolicConstant, float] = UNSET,
vr1: typing.Union[SymbolicConstant, float] = UNSET,
vr2: typing.Union[SymbolicConstant, float] = UNSET,
vr3: typing.Union[SymbolicConstant, float] = UNSET, amplitude: str = UNSET,
distributionType: SymbolicConstant = UNIFORM):
"""This method modifies the data for an existing ConnVelocityBC object in the step where it
is created.
Parameters
----------
region
The wire region to which the boundary condition is applied. This argument is not valid
when *fastenerName* and *fastenerSetName* are specified.
fastenerName
A String specifying the name of the assembled fastener to which the boundary condition
will be applied. This argument is not valid when *region* is specified. When this
argument is specified, *fastenerSetName* must also be specified. The default value is an
empty string.
fastenerSetName
A String specifying the assembled fastener template model set to which the boundary
condition will be applied. This argument is not valid when *region* is specified. When
this argument is specified, *fastenerName* must also be specified. The default value is
an empty string.
v1
A Float or a SymbolicConstant specifying the velocity component in the connector's local
1-direction. Possible values for the SymbolicConstant are UNSET and SET. The default
value is UNSET.Note:Although *v1*, *v2*, *v3*, *vr1*, *vr2*, and *vr3* are optional
arguments, at least one of them must be specified.
v2
A Float or a SymbolicConstant specifying the velocity component in the connector's local
2-direction. Possible values for the SymbolicConstant are UNSET and SET. The default
value is UNSET.
v3
A Float or a SymbolicConstant specifying the velocity component in the connector's local
3-direction. Possible values for the SymbolicConstant are UNSET and SET. The default
value is UNSET.
vr1
A Float or a SymbolicConstant specifying the rotational velocity component in the
connector's local 4-direction. Possible values for the SymbolicConstant are UNSET and
SET. The default value is UNSET.
vr2
A Float or a SymbolicConstant specifying the rotational velocity component in the
connector's local 5-direction. Possible values for the SymbolicConstant are UNSET and
SET. The default value is UNSET.
vr3
A Float or a SymbolicConstant specifying the rotational velocity component in the
connector's local 6-direction. Possible values for the SymbolicConstant are UNSET and
SET. The default value is UNSET.
amplitude
A String or the SymbolicConstant UNSET specifying the name of the amplitude reference.
UNSET should be used if the boundary condition has no amplitude reference. The default
value is UNSET. You should provide the *amplitude* argument only if it is valid for the
specified step.
distributionType
A SymbolicConstant specifying how the boundary condition is distributed spatially.
Possible values are UNIFORM and USER_DEFINED. The default value is UNIFORM.
"""
pass
def setValuesInStep(self, stepName: str,
v1: typing.Union[SymbolicConstant, float] = SET,
v2: typing.Union[SymbolicConstant, float] = SET,
v3: typing.Union[SymbolicConstant, float] = SET,
vr1: typing.Union[SymbolicConstant, float] = SET,
vr2: typing.Union[SymbolicConstant, float] = SET,
vr3: typing.Union[SymbolicConstant, float] = SET,
amplitude: str = ''):
"""This method modifies the propagating data for an existing ConnVelocityBC object in the
specified step.
Parameters
----------
stepName
A String specifying the name of the step in which the boundary condition is modified.
v1
A Float or a SymbolicConstant specifying the velocity component in the connector's local
1-direction. Possible values for the SymbolicConstant are SET and FREED.
v2
A Float or a SymbolicConstant specifying the velocity component in the connector's local
2-direction. Possible values for the SymbolicConstant are SET and FREED.
v3
A Float or a SymbolicConstant specifying the velocity component in the connector's local
3-direction. Possible values for the SymbolicConstant are SET and FREED.
vr1
A Float or a SymbolicConstant specifying the rotational velocity component in the
connector's local 4-direction. Possible values for the SymbolicConstant are SET and
FREED.
vr2
A Float or a SymbolicConstant specifying the rotational velocity component in the
connector's local 5-direction. Possible values for the SymbolicConstant are SET and
FREED.
vr3
A Float or a SymbolicConstant specifying the rotational velocity component in the
connector's local 6-direction. Possible values for the SymbolicConstant are SET and
FREED.
amplitude
A String or a SymbolicConstant specifying the name of the amplitude reference. Possible
values for the SymbolicConstant are UNCHANGED and FREED. UNCHANGED should be used if the
amplitude is propagated from the previous analysis step. FREED should be used if the
boundary condition is changed to have no amplitude reference. You should provide the
*amplitude* argument only if it is valid for the specified step.
"""
pass
| 54.344569
| 125
| 0.665127
| 1,738
| 14,510
| 5.54603
| 0.093786
| 0.053948
| 0.060172
| 0.049383
| 0.874261
| 0.850399
| 0.839714
| 0.825812
| 0.81191
| 0.800705
| 0
| 0.006406
| 0.289938
| 14,510
| 266
| 126
| 54.548872
| 0.929147
| 0.744383
| 0
| 0.375
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.075
| false
| 0.075
| 0.1
| 0
| 0.375
| 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
| 0
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 7
|
18459ee0cd0b52af21682bd0783901554f78ee8f
| 340
|
py
|
Python
|
rules/best-practices/python/asserts.py
|
ligurio/flake8-flaky
|
48b97edb26fec16d55daed77870c41e552a86889
|
[
"MIT"
] | 13
|
2020-09-17T07:04:55.000Z
|
2021-06-20T16:52:06.000Z
|
rules/best-practices/python/asserts.py
|
ligurio/flake8-flaky
|
48b97edb26fec16d55daed77870c41e552a86889
|
[
"MIT"
] | 5
|
2020-10-16T11:10:14.000Z
|
2021-03-01T12:33:02.000Z
|
rules/best-practices/python/asserts.py
|
ligurio/flake8-flaky
|
48b97edb26fec16d55daed77870c41e552a86889
|
[
"MIT"
] | 2
|
2020-09-17T07:04:59.000Z
|
2020-10-16T09:47:29.000Z
|
i = 2
f = 0.2
s = "hello"
# ruleid: assert-with-magic-constant
assert(4 == i)
# ruleid: assert-with-magic-constant
assert(4 == f)
# ruleid: assert-with-magic-constant
assert(4 == s)
# ruleid: assert-with-magic-constant
assert(i == 4)
# ruleid: assert-with-magic-constant
assert(f == 4)
# ruleid: assert-with-magic-constant
assert(s == 4)
| 18.888889
| 36
| 0.685294
| 55
| 340
| 4.236364
| 0.218182
| 0.309013
| 0.412017
| 0.540773
| 0.922747
| 0.922747
| 0.772532
| 0
| 0
| 0
| 0
| 0.030717
| 0.138235
| 340
| 17
| 37
| 20
| 0.764505
| 0.614706
| 0
| 0
| 0
| 0
| 0.040323
| 0
| 0
| 0
| 0
| 0
| 0.666667
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 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
|
a100fb338fcb8ea217c5f5ebb59862b22d93e810
| 19,934
|
py
|
Python
|
bluebottle/token_auth/tests/test_base.py
|
terrameijar/bluebottle
|
b4f5ba9c4f03e678fdd36091b29240307ea69ffd
|
[
"BSD-3-Clause"
] | null | null | null |
bluebottle/token_auth/tests/test_base.py
|
terrameijar/bluebottle
|
b4f5ba9c4f03e678fdd36091b29240307ea69ffd
|
[
"BSD-3-Clause"
] | null | null | null |
bluebottle/token_auth/tests/test_base.py
|
terrameijar/bluebottle
|
b4f5ba9c4f03e678fdd36091b29240307ea69ffd
|
[
"BSD-3-Clause"
] | null | null | null |
from mock import patch
from django.test import TestCase
from django.contrib.auth import get_user_model
from bluebottle.members.models import MemberPlatformSettings
from bluebottle.test.factory_models.accounts import BlueBottleUserFactory
from bluebottle.test.factory_models.geo import LocationFactory
from bluebottle.segments.tests.factories import SegmentFactory, SegmentTypeFactory
from bluebottle.members.models import UserSegment
from bluebottle.token_auth.auth.base import BaseTokenAuthentication
class TestBaseTokenAuthentication(TestCase):
"""
Tests the Base Token Authentication backend.
"""
def setUp(self):
with self.settings(TOKEN_AUTH={}):
self.auth = BaseTokenAuthentication(None)
@patch.object(
BaseTokenAuthentication,
'authenticate_request',
return_value={
'remote_id': 'test@example.com',
'email': 'test@example.com'
}
)
def test_user_created(self, authenticate_request):
"""
When the user is successfully authenticated,
a new user should be created
"""
with self.settings(TOKEN_AUTH={}):
user, created = self.auth.authenticate()
self.assertEqual(authenticate_request.call_count, 1)
self.assertTrue(created)
self.assertEqual(user.email, 'test@example.com')
@patch.object(
BaseTokenAuthentication,
'authenticate_request',
return_value={
'remote_id': 'test@example.com',
'email': 'test@example.com',
'location.slug': 'AMS'
}
)
def test_user_created_location(self, authenticate_request):
location = LocationFactory.create(name='Amsterdam', slug='AMS')
with self.settings(TOKEN_AUTH={}):
user, created = self.auth.authenticate()
self.assertEqual(authenticate_request.call_count, 1)
self.assertTrue(created)
user.refresh_from_db()
self.assertEqual(user.email, 'test@example.com')
self.assertEqual(user.location, location)
@patch.object(
BaseTokenAuthentication,
'authenticate_request',
return_value={
'remote_id': 'test@example.com',
'email': 'test@example.com',
'location.slug': 'AMS'
}
)
def test_user_updated_location(self, authenticate_request):
BlueBottleUserFactory.create(remote_id='test@example.com', location=None)
location = LocationFactory.create(name='Amsterdam', slug='AMS')
with self.settings(TOKEN_AUTH={}):
user, created = self.auth.authenticate()
self.assertEqual(authenticate_request.call_count, 1)
self.assertFalse(created)
user.refresh_from_db()
self.assertEqual(user.email, 'test@example.com')
self.assertEqual(user.location, location)
@patch.object(
BaseTokenAuthentication,
'authenticate_request',
return_value={
'remote_id': 'test@example.com',
'email': 'test@example.com',
'location.slug': 'AMS'
}
)
def test_user_updated_location_verified(self, authenticate_request):
location = LocationFactory.create()
BlueBottleUserFactory.create(
remote_id='test@example.com',
location=location,
location_verified=True
)
LocationFactory.create(name='Amsterdam', slug='AMS')
with self.settings(TOKEN_AUTH={}):
user, created = self.auth.authenticate()
self.assertEqual(authenticate_request.call_count, 1)
self.assertFalse(created)
user.refresh_from_db()
self.assertEqual(user.email, 'test@example.com')
self.assertEqual(user.location, location)
@patch.object(
BaseTokenAuthentication,
'authenticate_request',
return_value={
'remote_id': 'test@example.com',
'email': 'test@example.com',
'location.slug': 'AMS'
}
)
def test_user_created_location_missing(self, authenticate_request):
with self.settings(TOKEN_AUTH={}):
user, created = self.auth.authenticate()
self.assertEqual(authenticate_request.call_count, 1)
self.assertTrue(created)
self.assertEqual(user.email, 'test@example.com')
@patch.object(
BaseTokenAuthentication,
'authenticate_request',
return_value={
'remote_id': 'test@example.com',
'email': 'test@example.com',
'segment.team': 'Online Marketing',
'segment.unit': 'Marketing',
}
)
def test_user_created_segments(self, authenticate_request):
team = SegmentTypeFactory.create(name='Team')
team_segment = SegmentFactory.create(name='Online Marketing', segment_type=team)
SegmentFactory.create(name='Direct Marketing', segment_type=team, email_domains=[])
unit = SegmentTypeFactory.create(name='Unit')
unit_segment = SegmentFactory.create(name='Marketing', segment_type=unit)
SegmentFactory.create(name='Communications', segment_type=unit, email_domains=[])
with self.settings(TOKEN_AUTH={}):
user, created = self.auth.authenticate()
self.assertEqual(authenticate_request.call_count, 1)
self.assertTrue(created)
self.assertEqual(user.email, 'test@example.com')
self.assertTrue(
team_segment in user.segments.all()
)
self.assertTrue(
unit_segment in user.segments.all()
)
self.assertFalse(
UserSegment.objects.get(segment=team_segment, member=user).verified
)
self.assertFalse(
UserSegment.objects.get(segment=unit_segment, member=user).verified
)
self.assertEqual(
user.required,
[]
)
@patch.object(
BaseTokenAuthentication,
'authenticate_request',
return_value={
'remote_id': 'test@example.com',
'email': 'test@example.com',
'segment.team': 'Online Marketing',
}
)
def test_user_created_segments_unverified(self, authenticate_request):
team = SegmentTypeFactory.create(name='Team', needs_verification=True)
team_segment = SegmentFactory.create(name='Online Marketing', segment_type=team, email_domains=[])
other_segment = SegmentFactory.create(name='Direct Marketing', segment_type=team, email_domains=[])
with self.settings(TOKEN_AUTH={}):
user, created = self.auth.authenticate()
self.assertTrue(
team_segment in user.segments.all()
)
self.assertTrue(
other_segment not in user.segments.all()
)
self.assertFalse(UserSegment.objects.get(segment=team_segment, member=user).verified)
user.segments.add(
other_segment,
through_defaults={'verified': False}
)
with self.settings(TOKEN_AUTH={}):
user, created = self.auth.authenticate()
self.assertTrue(
team_segment in user.segments.all()
)
self.assertTrue(
other_segment not in user.segments.all()
)
self.assertFalse(UserSegment.objects.get(segment=team_segment, member=user).verified)
@patch.object(
BaseTokenAuthentication,
'authenticate_request',
return_value={
'remote_id': 'test@example.com',
'email': 'test@example.com',
'segment.team': 'Online Marketing',
}
)
def test_user_created_segments_unverified_twice(self, authenticate_request):
team = SegmentTypeFactory.create(name='Team', needs_verification=True)
team_segment = SegmentFactory.create(
name='Online Marketing', segment_type=team, email_domains=[]
)
other_segment = SegmentFactory.create(name='Direct Marketing', segment_type=team, email_domains=[])
with self.settings(TOKEN_AUTH={}):
user, created = self.auth.authenticate()
user.segments.clear()
user.segments.add(
other_segment,
through_defaults={'verified': True}
)
with self.settings(TOKEN_AUTH={}):
user, created = self.auth.authenticate()
self.assertTrue(
team_segment not in user.segments.all()
)
self.assertTrue(
other_segment in user.segments.all()
)
self.assertTrue(UserSegment.objects.get(segment=other_segment, member=user).verified)
@patch.object(
BaseTokenAuthentication,
'authenticate_request',
return_value={
'remote_id': 'test@example.com',
'email': 'test@example.com',
'segment.team': 'Marketing, online',
'segment.unit': 'Marketing',
}
)
def test_user_created_segments_alternative_name(self, authenticate_request):
team = SegmentTypeFactory.create(name='Team')
team_segment = SegmentFactory.create(
name='Online Marketing',
segment_type=team,
alternate_names=['Marketing, online']
)
SegmentFactory.create(name='Direct Marketing', segment_type=team, email_domains=[])
unit = SegmentTypeFactory.create(name='Unit')
unit_segment = SegmentFactory.create(name='Marketing', segment_type=unit)
SegmentFactory.create(name='Communications', segment_type=unit)
with self.settings(TOKEN_AUTH={}):
user, created = self.auth.authenticate()
self.assertEqual(authenticate_request.call_count, 1)
self.assertTrue(created)
self.assertEqual(user.email, 'test@example.com')
self.assertTrue(
team_segment in user.segments.all()
)
self.assertTrue(
unit_segment in user.segments.all()
)
@patch.object(
BaseTokenAuthentication,
'authenticate_request',
return_value={
'remote_id': 'test@example.com',
'email': 'test@example.com',
'segment.team': ['Marketing', 'Online Marketing'],
}
)
def test_user_created_segments_list(self, authenticate_request):
team = SegmentTypeFactory.create(name='Team')
team_segment = SegmentFactory.create(
name='Online Marketing',
segment_type=team,
email_domains=[]
)
SegmentFactory.create(
name='Direct Marketing',
segment_type=team,
email_domains=[]
)
with self.settings(TOKEN_AUTH={}):
user, created = self.auth.authenticate()
self.assertEqual(authenticate_request.call_count, 1)
self.assertTrue(created)
self.assertEqual(user.email, 'test@example.com')
self.assertTrue(
team_segment in user.segments.all()
)
@patch.object(
BaseTokenAuthentication,
'authenticate_request',
return_value={
'remote_id': 'test@example.com',
'email': 'test@example.com',
'segment.team': ['Engineering', 'Software Engineering'],
}
)
def test_user_created_segments_list_no_match(self, authenticate_request):
member_settings = MemberPlatformSettings.load()
member_settings.create_segments = False
member_settings.save()
team = SegmentTypeFactory.create(name='Team')
SegmentFactory.create(
name='Online Marketing',
segment_type=team,
email_domains=[]
)
SegmentFactory.create(name='Direct Marketing', segment_type=team)
with self.settings(TOKEN_AUTH={}):
user, created = self.auth.authenticate()
self.assertEqual(authenticate_request.call_count, 1)
self.assertTrue(created)
self.assertEqual(user.email, 'test@example.com')
self.assertEqual(len(user.segments.all()), 0)
@patch.object(
BaseTokenAuthentication,
'authenticate_request',
return_value={
'remote_id': 'test@example.com',
'email': 'test@example.com',
'segment.team': ['Online Marketing'],
}
)
def test_user_created_segments_list_no_match_create(self, authenticate_request):
member_settings = MemberPlatformSettings.load()
member_settings.create_segments = True
member_settings.save()
SegmentTypeFactory.create(name='Team')
with self.settings(TOKEN_AUTH={}):
user, created = self.auth.authenticate()
self.assertEqual(authenticate_request.call_count, 1)
self.assertTrue(created)
self.assertEqual(user.email, 'test@example.com')
self.assertEqual(len(user.segments.all()), 1)
self.assertEqual(user.segments.first().name, 'Online Marketing')
self.assertEqual(user.segments.first().alternate_names, ['Online Marketing'])
@patch.object(
BaseTokenAuthentication,
'authenticate_request',
return_value={
'remote_id': 'test@example.com',
'email': 'test@example.com',
'segment.team': 'Online Marketing',
'segment.unit': 'Marketing',
}
)
def test_user_updated_segments(self, authenticate_request):
user = BlueBottleUserFactory.create(remote_id='test@example.com')
team = SegmentTypeFactory.create(name='Team')
team_segment = SegmentFactory.create(name='Online Marketing', segment_type=team, email_domains=[])
user.segments.add(
SegmentFactory.create(name='Direct Marketing', segment_type=team)
)
unit = SegmentTypeFactory.create(name='Unit')
unit_segment = SegmentFactory.create(name='Marketing', segment_type=unit)
user.segments.add(
SegmentFactory.create(name='Communications', segment_type=unit)
)
with self.settings(TOKEN_AUTH={}):
user, created = self.auth.authenticate()
self.assertEqual(authenticate_request.call_count, 1)
self.assertFalse(created)
self.assertEqual(user.email, 'test@example.com')
self.assertEqual(len(user.segments.all()), 2)
self.assertTrue(
team_segment in user.segments.all()
)
self.assertTrue(
unit_segment in user.segments.all()
)
@patch.object(
BaseTokenAuthentication,
'authenticate_request',
return_value={
'remote_id': 'test@example.com',
'email': 'test@example.com',
'segment.team': 'Other Marketing',
'segment.unit': 'Engineering',
}
)
def test_user_created_segments_missing(self, authenticate_request):
BlueBottleUserFactory.create(remote_id='test@example.com')
team = SegmentTypeFactory.create(name='Team')
SegmentFactory.create(name='Online Marketing', segment_type=team, email_domains=[])
SegmentFactory.create(name='Direct Marketing', segment_type=team, email_domains=[])
unit = SegmentTypeFactory.create(name='Unit')
SegmentFactory.create(name='Marketing', segment_type=unit)
SegmentFactory.create(name='Communications', segment_type=unit)
with self.settings(TOKEN_AUTH={}):
user, created = self.auth.authenticate()
self.assertEqual(authenticate_request.call_count, 1)
self.assertFalse(created)
self.assertEqual(user.email, 'test@example.com')
self.assertEqual(len(user.segments.all()), 0)
@patch.object(
BaseTokenAuthentication,
'authenticate_request',
return_value={
'remote_id': 'test@example.com',
'email': 'test@example.com',
'segment.team': 'Other Marketing',
'segment.unit': 'Engineering',
}
)
def test_user_created_segments_missing_create(self, authenticate_request):
member_settings = MemberPlatformSettings.load()
member_settings.create_segments = True
member_settings.save()
SegmentTypeFactory.create(name='Team')
SegmentTypeFactory.create(name='Unit')
with self.settings(TOKEN_AUTH={}):
user, created = self.auth.authenticate()
self.assertEqual(user.email, 'test@example.com')
self.assertEqual(len(user.segments.all()), 2)
@patch.object(
BaseTokenAuthentication,
'authenticate_request',
return_value={
'remote_id': 'test@example.com',
'email': 'test@example.com'
}
)
def test_user_already_exists(self, authenticate_request):
with self.settings(TOKEN_AUTH={}):
get_user_model()(remote_id='test@example.com', email='test@example.com').save()
user, created = self.auth.authenticate()
self.assertEqual(authenticate_request.call_count, 1)
self.assertFalse(created)
self.assertEqual(user.email, 'test@example.com')
@patch.object(
BaseTokenAuthentication,
'authenticate_request',
return_value={'remote_id': 'test@example.com'}
)
def test_user_already_exists_only_remote_id(self, authenticate_request):
with self.settings(TOKEN_AUTH={}):
get_user_model()(remote_id='test@example.com', email='test@example.com').save()
user, created = self.auth.authenticate()
self.assertEqual(authenticate_request.call_count, 1)
self.assertFalse(created)
self.assertEqual(user.email, 'test@example.com')
@patch.object(
BaseTokenAuthentication,
'authenticate_request',
return_value={
'remote_id': 'test@example.com',
'email': 'test@example.com'
}
)
def test_user_already_exists_without_remote_id(self, authenticate_request):
with self.settings(TOKEN_AUTH={}):
get_user_model()(email='test@example.com').save()
user, created = self.auth.authenticate()
self.assertEqual(authenticate_request.call_count, 1)
self.assertFalse(created)
self.assertEqual(user.email, 'test@example.com')
self.assertEqual(user.remote_id, 'test@example.com')
@patch.object(
BaseTokenAuthentication,
'authenticate_request',
return_value={
'remote_id': 'test@example.com'
}
)
def test_user_new_only_remote_id(self, authenticate_request):
with self.settings(TOKEN_AUTH={}):
user, created = self.auth.authenticate()
self.assertEqual(authenticate_request.call_count, 1)
self.assertTrue(created)
self.assertEqual(user.remote_id, 'test@example.com')
@patch.object(
BaseTokenAuthentication,
'authenticate_request',
return_value={'remote_id': 'test@example.com', 'email': 'test@example.com', 'first_name': 'updated'}
)
def test_user_already_exists_attributes_updated(self, authenticate_request):
with self.settings(TOKEN_AUTH={}):
get_user_model()(remote_id='test@example.com', email='test@example.com', first_name='test').save()
user, created = self.auth.authenticate()
self.assertEqual(authenticate_request.call_count, 1)
self.assertFalse(created)
self.assertEqual(user.email, 'test@example.com')
self.assertEqual(user.first_name, 'updated')
| 36.509158
| 110
| 0.618591
| 1,927
| 19,934
| 6.221588
| 0.063311
| 0.062391
| 0.079406
| 0.061807
| 0.922846
| 0.900325
| 0.887063
| 0.884227
| 0.848945
| 0.848945
| 0
| 0.001512
| 0.269941
| 19,934
| 545
| 111
| 36.576147
| 0.822305
| 0.00592
| 0
| 0.701944
| 0
| 0
| 0.140169
| 0
| 0
| 0
| 0
| 0
| 0.179266
| 1
| 0.045356
| false
| 0
| 0.019438
| 0
| 0.066955
| 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
|
a10deda94488e23803483b5d75fb9f933ea803f7
| 160
|
py
|
Python
|
cal.py
|
utsav-walia/Coding-Blocks-Python-
|
2343d4934e9685f6ccf41eb091161b488c42e7a9
|
[
"MIT"
] | null | null | null |
cal.py
|
utsav-walia/Coding-Blocks-Python-
|
2343d4934e9685f6ccf41eb091161b488c42e7a9
|
[
"MIT"
] | null | null | null |
cal.py
|
utsav-walia/Coding-Blocks-Python-
|
2343d4934e9685f6ccf41eb091161b488c42e7a9
|
[
"MIT"
] | null | null | null |
import calculator
print(type(calculator))
print(calculator.add(3,4))
print(calculator.sub(3,4))
print(calculator.div(3,4))
print(calculator.mul(3,4))
| 17.777778
| 27
| 0.71875
| 25
| 160
| 4.6
| 0.4
| 0.521739
| 0.182609
| 0.443478
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.055944
| 0.10625
| 160
| 8
| 28
| 20
| 0.748252
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.166667
| 0
| 0.166667
| 0.833333
| 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
| 0
| 0
| 0
| 1
|
0
| 7
|
a1693406c2600c1d21f3487bb8861dd355ed5b93
| 13,892
|
py
|
Python
|
p4v1_1/simple_router/send1.py
|
vibhaa/iw15
|
c2a316499dbd3e7459aed2cacf0612df0b7dcec2
|
[
"Apache-2.0"
] | 14
|
2019-02-25T22:42:15.000Z
|
2021-12-22T06:29:20.000Z
|
p4v1_1/simple_router/send1.py
|
vibhaa/iw15
|
c2a316499dbd3e7459aed2cacf0612df0b7dcec2
|
[
"Apache-2.0"
] | null | null | null |
p4v1_1/simple_router/send1.py
|
vibhaa/iw15
|
c2a316499dbd3e7459aed2cacf0612df0b7dcec2
|
[
"Apache-2.0"
] | 8
|
2018-11-25T11:42:24.000Z
|
2021-03-11T07:23:21.000Z
|
#!/usr/bin/python
# Copyright 2013-present Barefoot Networks, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from scapy.all import sniff, sendp
from scapy.all import Packet
from scapy.all import ShortField, IntField, LongField, BitField
from scapy.all import Ether, IP, TCP
import networkx as nx
import sys
def main():
if len(sys.argv) != 1:
print "Usage: send1.py"
sys.exit(1)
src, dst = 'h1', 'h2'
srcmac = '00:aa:bb:00:00:00'
dstmac = '00:aa:bb:00:00:01'
port = 80
msg = 'hi'
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '197.89.8.178', dst = '1.146.110.6') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '43.255.233.20', dst = '221.46.220.203') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '120.104.63.110', dst = '35.240.203.254') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '43.255.233.20', dst = '221.46.220.203') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '119.235.8.155', dst = '1.96.167.6') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '130.192.216.115', dst = '1.145.172.183') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '130.192.216.115', dst = '1.145.172.183') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '13.1.149.6', dst = '1.96.164.152') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '43.19.164.220', dst = '208.233.254.228') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '43.255.233.20', dst = '221.46.220.203') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '128.84.240.85', dst = '3.132.119.134') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '207.136.123.163', dst = '1.96.223.185') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '207.184.175.251', dst = '1.96.166.240') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '15.83.232.210', dst = '153.193.117.36') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '198.88.36.241', dst = '1.124.177.87') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '119.250.217.75', dst = '1.96.167.85') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '43.255.233.20', dst = '221.46.220.203') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '43.255.233.20', dst = '221.46.220.203') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '119.248.43.197', dst = '1.96.222.150') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '108.23.31.176', dst = '1.96.222.138') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '57.1.234.211', dst = '1.91.225.157') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '4.36.65.12', dst = '153.193.46.38') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '43.139.101.148', dst = '1.110.251.196') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '116.164.67.137', dst = '1.65.177.183') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '119.250.217.75', dst = '1.96.167.85') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '207.136.201.127', dst = '1.96.223.181') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '106.84.38.143', dst = '1.15.166.226') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '130.77.108.248', dst = '1.8.156.9') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '208.39.232.84', dst = '66.216.25.163') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '207.138.181.127', dst = '1.96.223.228') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '116.209.201.104', dst = '66.216.25.163') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '207.136.167.199', dst = '1.96.223.185') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '99.158.44.98', dst = '1.45.33.80') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '13.1.149.6', dst = '1.96.164.152') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '120.186.203.249', dst = '1.96.166.204') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '28.232.205.91', dst = '1.12.170.147') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '112.108.151.63', dst = '1.96.223.248') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '43.139.101.140', dst = '107.29.168.172') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '28.97.144.68', dst = '1.96.167.70') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '111.37.250.218', dst = '3.248.234.184') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '119.226.16.152', dst = '1.96.223.181') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '207.138.181.127', dst = '1.96.223.228') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '111.37.250.218', dst = '3.248.234.184') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '198.88.36.241', dst = '1.124.177.87') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '207.152.38.62', dst = '1.102.64.224') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '128.36.125.142', dst = '1.96.167.236') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '212.251.29.29', dst = '153.193.47.117') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '67.7.29.236', dst = '102.43.173.143') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '208.39.232.61', dst = '66.216.25.163') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '99.158.44.98', dst = '1.45.33.80') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '116.209.201.192', dst = '66.216.25.163') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '207.144.239.0', dst = '1.96.222.219') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '66.141.179.194', dst = '210.108.60.132') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '112.90.2.206', dst = '1.96.223.244') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '71.195.3.209', dst = '210.108.56.251') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '119.238.4.231', dst = '1.96.167.6') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '173.162.174.71', dst = '102.14.133.117') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '43.139.101.105', dst = '1.2.54.84') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '111.37.250.218', dst = '3.248.234.184') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '12.236.225.10', dst = '1.96.186.227') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '130.77.108.248', dst = '1.8.156.9') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '12.236.225.10', dst = '1.96.186.227') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '66.81.91.169', dst = '66.216.25.163') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '43.139.101.104', dst = '1.150.34.79') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '111.37.250.218', dst = '3.248.234.184') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '43.139.101.159', dst = '137.183.138.50') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '99.6.223.116', dst = '5.240.216.86') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '112.111.158.189', dst = '1.96.222.248') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '67.233.176.179', dst = '210.108.32.99') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '197.78.57.165', dst = '66.216.25.163') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '207.152.38.62', dst = '1.102.64.224') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '116.209.201.245', dst = '66.216.25.163') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '28.70.106.198', dst = '1.96.222.248') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '43.139.101.102', dst = '1.3.251.80') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '158.255.243.46', dst = '111.205.25.227') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '212.226.67.33', dst = '66.216.25.163') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '144.187.28.60', dst = '1.66.27.105') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '43.255.233.20', dst = '221.46.220.203') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '194.253.242.112', dst = '153.193.46.216') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '43.139.101.167', dst = '1.0.227.102') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '36.137.204.196', dst = '1.148.195.80') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '201.188.208.178', dst = '1.96.231.122') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '116.164.211.145', dst = '3.249.2.54') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '214.65.45.201', dst = '35.240.203.247') / msg
sendp(p, iface = "veth0", verbose = 0)
p = Ether(src=srcmac, dst=dstmac, type=0x0800) / IP(src = '108.23.31.176', dst = '1.96.222.138') / msg
sendp(p, iface = "veth0", verbose = 0)
if __name__ == '__main__':
main()
| 66.152381
| 110
| 0.597322
| 2,377
| 13,892
| 3.487589
| 0.131258
| 0.06152
| 0.09228
| 0.1538
| 0.811098
| 0.808323
| 0.808323
| 0.808323
| 0.808323
| 0.808323
| 0
| 0.205924
| 0.193205
| 13,892
| 209
| 111
| 66.4689
| 0.533726
| 0.042255
| 0
| 0.614973
| 0
| 0
| 0.20164
| 0
| 0
| 0
| 0.038372
| 0
| 0
| 0
| null | null | 0
| 0.032086
| null | null | 0.005348
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 8
|
a173a66532de2e781fa05eb0c4f21876caebdd3e
| 20,137
|
py
|
Python
|
ngskit/pipelines/peptide.py
|
kim-lab/NGSKit
|
62f609111ba59b9d7d87dc9979a9a2c57959e297
|
[
"MIT"
] | 1
|
2021-12-10T22:23:50.000Z
|
2021-12-10T22:23:50.000Z
|
ngskit/pipelines/peptide.py
|
kimlaborg/NGSKit
|
62f609111ba59b9d7d87dc9979a9a2c57959e297
|
[
"MIT"
] | null | null | null |
ngskit/pipelines/peptide.py
|
kimlaborg/NGSKit
|
62f609111ba59b9d7d87dc9979a9a2c57959e297
|
[
"MIT"
] | null | null | null |
# -*- coding: utf-8 -*-
from __future__ import print_function
from __future__ import division
import sys
import glob
import pandas as pd
import numpy as np
from ngskit.utils import dna
#form dna_util import *
from common import *
# Pipelines
def lentivirus_combine(data_path = '/home/ccorbi/Work/Beagle/optim_lib/Kim/demultpx_barcodeOnly/Sequences/',
gaps='fill', fill_value=0, time_points=[0,3,7,14],
cell_times = {'HEK293T':[0,1.8,3.9,9.4],'RWP1':[0,2.0,4.1,9.7]}):
"""Read data from the blast ouput files. Apply DESEQ normalization.
Merge Replicas and average the reads, calc dropout score.
One library at a time.
:param str data_path: path with the where the files are located
:param str gaps: Behaivor with the gaps, by default fill, fill the gaps with one read.
:param func normfunction: Function to normalize the reads, by default log10
:param list time_points: list contain the time points info [0,1,4,10...]
:param dict cell_times: Dictionary where key is the cell lines name and
the values a list with the Double time of the cell line for each time point. [0,2.4,4.5,10]
This must match the time points.
:param bool normed: Divison all the time points by the biggest value in the time serie
:param bool itemization: return slope for each time point and the dropscore
:param int scalar: scalar to multiply dropscore [increse the signal]
:returns:
:rtype dict: The information for each lib and cell lines is merge toghether in a
dataframe. Each DataFrame is placed in a dictionary with key [lib_cellline]
"""
alldata = dict()
# Check if the number of times match the doubling times
for times in cell_times.values():
assert len(times) == len(time_points)
for cellline in cell_times.keys():
print('Reading {}'.format(cellline))
#get reads for all replicas in time point
# init vars
# DataFrame
poll_of_replicas = pd.DataFrame(columns=['referenceId'])
# recollect columns with reads info, for normalize
columns_reads = list()
# for group replicas (average)
columns_replicas = dict()
for t in time_points:
# init dict
timereplicas = glob.glob(data_path+'*%s*T%i*.out' % (cellline,t))
columns_replicas[t] = list()
#Get reads for replica, normal and put it toghet
# Read all replicas for a T point
for replica in timereplicas:
print('Parsing Time {} - replica {}'.format(t, replica))
# Read data for replica
# No simple norm
raw_data = read_bowtie(replica, norm=False)
# Get name replica and label it
name_replica = replica.split('/')[-1]
columns_reads.append('Reads_{}'.format(name_replica))
columns_replicas[t].append('nReads_{}'.format(name_replica))
raw_data.rename(columns={'Reads':'Reads_{}'.format(name_replica)}, inplace=True)
# 'nReads':'nReads_{}'.format(name_replica)}, inplace=True)
# Join replicas
poll_of_replicas = pd.merge(poll_of_replicas, raw_data, on=['referenceId'], how='outer')
# Handle the Gaps in the Time points Not to the replicas.
if gaps == 'fill':
poll_of_replicas.fillna(fill_value, inplace=True)
# if gaps is not set up
# Drop row where there is some missing values
else:
poll_of_replicas.dropna(inplace=True)
# apply DESEQ normalization
# consider all samples like replicas
print(poll_of_replicas.shape[0])
poll_of_replicas = norm_deseq(poll_of_replicas, columns_reads)
print(poll_of_replicas.shape[0])
# join & Average all replicas
# this should be done after the normalization
for t in time_points:
poll_of_replicas['nReads_T{}'.format(t)] = poll_of_replicas[columns_replicas[t]].mean(axis=1, skipna=True)
# calc dropOut score log
assert(poll_of_replicas.shape[0] > 0)
poll_of_replicas['DPlog_{}'.format(cellline)] = poll_of_replicas.apply(dropOutScoreLog2,
sampling_points=time_points,
dbl_times = cell_times[cellline],
axis=1)
# Calc Lienal regression
poll_of_replicas['LR_{}'.format(cellline)] = poll_of_replicas.apply(DP_linreg,
sampling_points=time_points,
dbl_times = cell_times[cellline],
axis=1)
alldata[cellline] = poll_of_replicas.copy()
# print some values to see it is working properlly
print('DONE {}'.format(cellline))
print('{} '.format(alldata[cellline].shape[0]))
print(alldata[cellline].head(5))
return alldata
def lentivirus_deseq(data_path = '/home/ccorbi/Work/Beagle/optim_lib/Kim/demultpx_barcodeOnly/Sequences/',
gaps='fill', fill_value=0, time_points=[0,3,7,14],
cell_times = {'HEK293T':[0,1.8,3.9,9.4],'RWP1':[0,2.0,4.1,9.7]}):
"""Read data from the blast ouput files. Apply DESEQ normalization.
Merge Replicas and average the reads, calc dropout score.
One library at a time.
:param str data_path: path with the where the files are located
:param str gaps: Behaivor with the gaps, by default fill, fill the gaps with one read.
:param func normfunction: Function to normalize the reads, by default log10
:param list time_points: list contain the time points info [0,1,4,10...]
:param dict cell_times: Dictionary where key is the cell lines name and
the values a list with the Double time of the cell line for each time point. [0,2.4,4.5,10]
This must match the time points.
:param bool normed: Divison all the time points by the biggest value in the time serie
:param bool itemization: return slope for each time point and the dropscore
:param int scalar: scalar to multiply dropscore [increse the signal]
:returns:
:rtype dict: The information for each lib and cell lines is merge toghether in a
dataframe. Each DataFrame is placed in a dictionary with key [lib_cellline]
"""
alldata = dict()
# Check if the number of times match the doubling times
for times in cell_times.values():
assert len(times) == len(time_points)
for cellline in cell_times.keys():
print('Reading {}'.format(cellline))
#get reads for all replicas in time point
# init vars
# DataFrame
poll_of_replicas = pd.DataFrame(columns=['referenceId'])
# recollect columns with reads info, for normalize
columns_reads = list()
# for group replicas (average)
columns_replicas = dict()
for t in time_points:
# init dict
timereplicas = glob.glob(data_path+'*%s*T%i*.out' % (cellline,t))
columns_replicas[t] = list()
#Get reads for replica, normal and put it toghet
# Read all replicas for a T point
for replica in timereplicas:
print('Parsing Time {} - replica {}'.format(t, replica))
# Read data for replica
# No simple norm
raw_data = read_bowtie(replica, norm=False)
# Get name replica and label it
name_replica = replica.split('/')[-1]
columns_reads.append('Reads_{}'.format(name_replica))
columns_replicas[t].append('nReads_{}'.format(name_replica))
raw_data.rename(columns={'Reads':'Reads_{}'.format(name_replica)}, inplace=True)
# 'nReads':'nReads_{}'.format(name_replica)}, inplace=True)
# Join replicas
poll_of_replicas = pd.merge(poll_of_replicas, raw_data, on=['referenceId'], how='outer')
# Handle the Gaps in the Time points Not to the replicas.
if gaps == 'fill':
poll_of_replicas.fillna(fill_value, inplace=True)
# if gaps is not set up
# Drop row where there is some missing values
else:
poll_of_replicas.dropna(inplace=True)
# apply DESEQ normalization
# consider all samples like replicas
print(poll_of_replicas.shape[0])
poll_of_replicas = norm_deseq(poll_of_replicas, columns_reads)
print(poll_of_replicas.shape[0])
# join & Average all replicas
# this should be done after the normalization
for t in time_points:
poll_of_replicas['nReads_T{}'.format(t)] = poll_of_replicas[columns_replicas[t]].mean(axis=1, skipna=True)
# calc dropOut score
assert(poll_of_replicas.shape[0] > 0)
poll_of_replicas['DS_{}'.format(cellline)] = poll_of_replicas.apply(dropOutScore,
sampling_points=time_points,
dbl_times = cell_times[cellline],
axis=1)
alldata[cellline] = poll_of_replicas.copy()
# print some values to see it is working properlly
print('DONE {}'.format(cellline))
print('{} '.format(alldata[cellline].shape[0]))
print(alldata[cellline].head(5))
return alldata
def lentivirus(data_path = '/home/ccorbi/Work/Beagle/optim_lib/Kim/demultpx_barcodeOnly/Sequences/',
gaps='fill', normfunction=np.log10, fill_value=0,
libs = ['Cterminal','Disorderome'],time_points=[0,3,7,14],
cell_times = {'HEK293T':[0,1.8,3.9,9.4],'RWP1':[0,2.0,4.1,9.7]}):
""" read data from the blast ouput files. Merge Replicas and Normalize the reads
(by default: Log10 of the reads, and avg of the replicas). collect different
time point and build a DataFrame with the info.
:param str data_path: path with the where the files are located
:param str gaps: Behaivor with the gaps, by default fill, fill the gaps with one read.
:param func normfunction: Function to normalize the reads, by default log10
:param list time_points: list contain the time points info [0,1,4,10...]
:param dict cell_times: Dictionary where key is the cell lines name and
the values a list with the Double time of the cell line for each time point. [0,2.4,4.5,10]
This must match the time points.
:param bool normed: Divison all the time points by the biggest value in the time serie
:param bool itemization: return slope for each time point and the dropscore
:param int scalar: scalar to multiply dropscore [increse the signal]
:returns:
:rtype dict: The information for each lib and cell lines is merge toghether in a
dataframe. Each DataFrame is placed in a dictionary with key [lib_cellline]
"""
alldata = dict()
# Check if the number of times match the doubling times
for times in cell_times.values():
assert len(times) == len(time_points)
for lib in libs:
for cellline in cell_times.keys():
print('Reading {} {}'.format(lib, cellline))
#get reads for all replicas in time point
# init vars
poll_of_replicas = pd.DataFrame(columns=['referenceId'])
columns_replicas = dict()
for t in time_points:
# init dict
timereplicas = glob.glob(data_path+'*%s*T%i*.out' % (cellline,t))
columns_replicas[t] = list()
#Get reads for replica, normal and put it toghet
# Read all replicas for a T point
for replica in timereplicas:
print('Parsing Time {} - replica {}'.format(t, replica))
# Read data for replica
# In this library, one NA seq per peptide, so we can normilize here
raw_data = read_bowtie(replica, norm=norm_TC)
# Get name replica
name_replica = replica.split('/')[-1]
columns_replicas[t].append('nReads_{}'.format(name_replica))
raw_data.rename(columns={'Reads':'Reads_{}'.format(name_replica),
'nReads':'nReads_{}'.format(name_replica)}, inplace=True)
# Join replicas
poll_of_replicas = pd.merge(poll_of_replicas, raw_data, on=['referenceId'], how='outer')
# join & Average all replicas
poll_of_replicas['nReads_T{}'.format(t)] = poll_of_replicas[columns_replicas[t]].mean(axis=1,skipna=True)
# Handle the Gaps in the Time points Not to the replicas.
if gaps == 'fill':
poll_of_replicas.fillna(fill_value,inplace=True)
# Drop row where there is some missing values
else:
poll_of_replicas.dropna(inplace=True)
# calc dropOut score
assert(poll_of_replicas.shape[0] > 0)
poll_of_replicas['DS_{}'.format(cellline)] = poll_of_replicas.apply(dropOutScore,
sampling_points=time_points,
dbl_times = cell_times[cellline],
axis=1)
alldata[lib+'_'+cellline] = poll_of_replicas.copy()
# print some values to see it is working properlly
print('DONE {}'.format(lib+'_'+cellline))
print('{} '.format(alldata[lib+'_'+cellline].shape[0]))
print(alldata[lib+'_'+cellline].head(5))
return alldata
def b2h_random(fasta_file, norm=True):
"""Pipeline for preprocess of random libraries from b2h.
Read demultiplexed fasta files, filter non NNS and Frameshift sequences.
Returns a Dataframe with the sequences group by AA
Parameters
----------
fasta_file : str
Path to the fasta file
Returns
-------
Dataframe
Return a dataframe with filtered sequneces
['referenceId', 'Seq', 'Reads', 'nReads']
"""
# load data
df = read_fasta(fasta_file, norm=False, translate2aa=False)
# remove extra stop codons
# df['na'] = df['Seq'].str[:-6]
# identify non NNS sequences
df['NNS'] = df['Seq'].apply(dna.is_bias_on)
# identify seq with STOP codons
df['STOP'] = df['Seq'].apply(dna.code_4_any)
# filter by previous criteria and translate to AA
dfc = df[(df['NNS']==True) & (df['STOP']==False)]
# Error if any seq complain the filters
assert(dfc.shape[0]>0)
dfc['aa'] = dfc['Seq'].apply(dna.translate2aa)
# save?
# For each unique sequences group
# sum sequences coding for the same
grp_df = dfc.groupby(['aa'], as_index=False)['Reads'].agg(sum)
# grp_df.rename(columns={'Seq': 'na'}, inplace=True)
grp_df.rename(columns={'aa': 'Seq'}, inplace=True)
if norm:
diversity = grp_df['Seq'].unique().shape[0]
grp_df['nReads'] = ( grp_df['Reads'] / grp_df['Reads'].sum() ) * diversity
return grp_df[[ 'Seq', 'Reads', 'nReads']]
else:
return grp_df[['Seq', 'Reads']]
# Data for Shannon entroy
# transformed = list()
# peptides = five4c['aa'].unique()
# for pep in peptides:
# coding = five4c[five4c['aa'] == pep]
# coding['freq'] = coding['counts'] / coding['counts'].sum()
# variants = get_variants(pep)
# suma = list()
# for idx,c in coding.iterrows():
# suma.append(c['freq']*np.log2(c['freq']))
# entropy = -1*(1.0/np.log2(variants))*sum(suma)
# total_count = coding['Reads'].sum()
# print pep, total_count, entropy
# transformed.append([pep, total_count, entropy,coding.shape[0]])
# transformed.append([pep, total_count, entropy,coding.shape[0]])
# return pd.DataFrame(transformed,columns=['aa','counts','e','variants'])
return grp_df
def b2h_random_variants(fasta_file, norm=True):
"""Pipeline for preprocess of random libraries from b2h.
Read demultiplexed fasta files, filter non NNS and Frameshift sequences.
Returns a Dataframe with the sequences group by AA
Parameters
----------
fasta_file : str
Path to the fasta file
Returns
-------
Dataframe
Return a dataframe with filtered sequneces
['referenceId', 'Seq', 'Reads', 'nReads']
"""
# load data
df = read_fasta(fasta_file, norm=False, translate2aa=False)
# remove extra stop codons
# df['na'] = df['Seq'].str[:-6]
# identify non NNS sequences
df['NNS'] = df['Seq'].apply(dna.is_bias_on)
# identify seq with STOP codons
df['STOP'] = df['Seq'].apply(dna.code_4_any)
# filter by previous criteria and translate to AA
dfc = df[(df['NNS']==True) & (df['STOP']==False)]
# Error if any seq complain the filters
assert(dfc.shape[0]>0)
dfc['aa'] = dfc['Seq'].apply(dna.translate2aa)
# group and sum reads
grup_sum = dfc.groupby(['aa'],as_index=False)['Reads'].agg(sum)
# group and count variants
grup_variants = dfc.groupby(['aa'],as_index=False)['Seq'].agg(len)
# merge and change name
d = pd.merge(grup_sum, grup_variants ,on='aa')
d.rename(columns={'Seq':'Vars'},inplace=True)
print(fasta_file)
return d
def b2h_random_entropy(fasta_file, norm=True):
"""Pipeline for preprocess of random libraries from b2h.
Read demultiplexed fasta files, filter non NNS and Frameshift sequences.
Returns a Dataframe with the sequences group by AA
Parameters
----------
fasta_file : str
Path to the fasta file
Returns
-------
Dataframe
Return a dataframe with filtered sequneces
['referenceId', 'Seq', 'Reads', 'nReads']
"""
# load data
df = read_fasta(fasta_file, norm=False, translate2aa=False)
# remove extra stop codons
# df['na'] = df['Seq'].str[:-6]
# identify non NNS sequences
df['NNS'] = df['Seq'].apply(dna.is_bias_on)
# identify seq with STOP codons
df['STOP'] = df['Seq'].apply(dna.code_4_any)
# filter by previous criteria and translate to AA
dfc = df[(df['NNS']==True) & (df['STOP']==False)]
# Error if any seq complain the filters
assert(dfc.shape[0]>0)
dfc['aa'] = dfc['Seq'].apply(dna.translate2aa)
# group and sum reads
df_groups_aa =dfc.groupby('aa')
# Calc Shannon Entropy
parsed_aa = list()
for aa, df_grp in df_groups_aa:
# if the group only have one member Check
# if is variants = 1, otherwise, 0 Entropy
if df_grp.shape[0] == 1:
N = dna.possible_encondings(aa)
if N == 1:
# Seq, Reads, Entropy
parsed_aa.append([aa, df_grp['Reads'].sum(),df_grp.shape[0], 1])
else:
parsed_aa.append([aa, df_grp['Reads'].sum(),df_grp.shape[0], 0])
else:
N = dna.possible_encondings(aa)
df_grp['prob'] = df_grp['Reads'] / df_grp['Reads'].sum(skipna=True)
df_grp['eprob'] = df_grp['prob'] * (np.log2( df_grp['prob']))
shannon_entropy = -1 * ( (1.0/(np.log2(N))) * (df_grp['eprob'].sum(skipna=True)))
# Seq, Reads, Entropy
parsed_aa.append([aa, df_grp['Reads'].sum(),df_grp.shape[0], shannon_entropy])
return pd.DataFrame(parsed_aa, columns=['Seq', 'Reads','Var' ,'E'])
| 40.274
| 121
| 0.593981
| 2,588
| 20,137
| 4.500386
| 0.120943
| 0.022152
| 0.051687
| 0.011419
| 0.859105
| 0.848373
| 0.828282
| 0.82459
| 0.82459
| 0.806388
| 0
| 0.013865
| 0.298009
| 20,137
| 499
| 122
| 40.354709
| 0.810059
| 0.40299
| 0
| 0.711957
| 0
| 0
| 0.080687
| 0.01822
| 0
| 0
| 0
| 0
| 0.048913
| 1
| 0.032609
| false
| 0
| 0.043478
| 0
| 0.119565
| 0.11413
| 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
|
a198f2af69e0aa3584fa981170ac4589a3552a35
| 63,757
|
py
|
Python
|
SOURCE/scene.py
|
lathanhthai1905/Pacman-AI
|
cd00fc9d6e6b21358a2cef54e0000c0cdc50fcc0
|
[
"MIT"
] | 1
|
2021-03-14T09:46:22.000Z
|
2021-03-14T09:46:22.000Z
|
SOURCE/scene.py
|
lathanhthai1905/Pacman-AI
|
cd00fc9d6e6b21358a2cef54e0000c0cdc50fcc0
|
[
"MIT"
] | null | null | null |
SOURCE/scene.py
|
lathanhthai1905/Pacman-AI
|
cd00fc9d6e6b21358a2cef54e0000c0cdc50fcc0
|
[
"MIT"
] | null | null | null |
import handle_input as input
import game_flags as flags
import game_settings as settings
from Object import button
from Object import text
from Object import pacman
from Object import food
from Object import monster_easy as monsterE
from Object import monster_fx as monsterFx
from Object import maze_drawer as drawer
from Level_1_2 import path_finding as finding
import pygame as pg
import os
class SceneBase:
def __init__(self, screen=None):
self.next = self
self.screen = screen
def ProcessInput(self, events, pressed_keys):
print("Did not override this in the child class")
def Update(self, deltatime):
print("Did not override this in the child class")
def Render(self):
print("Did not override this in the child class")
def SwitchToScene(self, next_scene):
self.next = next_scene
def Terminate(self):
self.SwitchToScene(None)
class TitleScene(SceneBase):
def __init__(self, screen=None):
SceneBase.__init__(self, screen)
# Add background
self.background, self.background_rect = input.load_image(flags.MISC_TYPE, flags.BG)
self.screen.blit(self.background, self.background_rect, self.background_rect)
# Buttons
self.play_button = button.Button(flags.BUTTONBG)
self.play_button.rect = self.play_button.rect.move(245, 250)
self.exit_button = button.Button(flags.BUTTONBG)
self.exit_button.rect = self.exit_button.rect.move(245, 300)
# Texts
pg.font.init()
path = os.path.join(settings.PATH, 'ASSET', 'Fonts', 'Fipps-Regular.otf')
title_font = pg.font.Font(path, 30)
self.title = text.Text('PACMAN: We will survive!', title_font, (255, 255, 255))
self.title.text_rect.centerx = self.screen.get_rect().centerx
self.screen.blit(self.title.text, self.title.text_rect)
play_font = pg.font.Font(path, 15)
self.play_text = text.Text('Play', play_font, (255, 255, 255))
self.play_text.text_rect.center = self.play_button.rect.center
exit_font = pg.font.Font(path, 15)
self.exit_text = text.Text('Exit', exit_font, (255, 255, 255))
self.exit_text.text_rect.center = self.exit_button.rect.center
# State
self.state = flags.INTRO
def ProcessInput(self, events, pressed_keys):
for event in events:
if event.type == pg.MOUSEBUTTONDOWN:
if self.play_button.rect.collidepoint(pg.mouse.get_pos()):
self.state = flags.LVLSELECT
self.SwitchToScene(LevelSettings(self.screen))
self.play_button.is_over = False
if self.exit_button.rect.collidepoint(pg.mouse.get_pos()):
self.Terminate()
def Update(self, deltatime):
##################################################################################
# Collisions
# Checks if mouse position is over the button
self.play_button.switch()
self.exit_button.switch()
##################################################################################
def Render(self):
self.screen.blit(self.play_button.image, self.play_button.rect)
self.screen.blit(self.play_text.text, self.play_text.text_rect)
self.screen.blit(self.exit_button.image, self.exit_button.rect)
self.screen.blit(self.exit_text.text, self.exit_text.text_rect)
class LevelSettings(SceneBase):
def __init__(self, screen=None):
SceneBase.__init__(self, screen)
# Add background
self.background, self.background_rect = input.load_image(flags.MISC_TYPE, flags.BG)
self.screen.blit(self.background, self.background_rect, self.background_rect)
# Title
path = os.path.join(settings.PATH, 'ASSET', 'Fonts', 'Fipps-Regular.otf')
title_font = pg.font.Font(path, 30)
self.title = text.Text('PACMAN: We will survive!', title_font, (255, 255, 255))
self.title.text_rect.centerx = self.screen.get_rect().centerx
self.screen.blit(self.title.text, self.title.text_rect)
# Buttons
self.button_list = []
for _ in range(4):
self.button_list.append(button.Button(flags.BUTTONBG))
for idx, bt in enumerate(self.button_list):
row_idx = idx // 2
col_idx = idx % 2
x_coor = 100 + col_idx * (150 + 70 + 70)
y_coor = 250 + row_idx * (35 + 30)
bt.rect = bt.rect.move((x_coor, y_coor))
# Texts
self.text_list = []
button_font = pg.font.Font(path, 15)
for idx in range(len(self.button_list)):
level = 'Level ' + str(idx + 1)
self.text_list.append(text.Text(level, button_font, (255, 255, 255)))
for idx, t in enumerate(self.text_list):
t.text_rect.center = self.button_list[idx].rect.center
# State
self.state = flags.LVLSELECT
def ProcessInput(self, events, pressed_keys):
for event in events:
if event.type == pg.MOUSEBUTTONDOWN:
for idx, bt in enumerate(self.button_list):
if bt.rect.collidepoint(pg.mouse.get_pos()):
if idx == 0:
self.SwitchToScene(MapSettings(self.screen, flags.LVL1))
bt.is_over = False
elif idx == 1:
self.SwitchToScene(MapSettings(self.screen, flags.LVL2))
bt.is_over = False
elif idx == 2:
self.SwitchToScene(LevelThree(self.screen))
bt.is_over = False
elif idx == 3:
self.SwitchToScene(LevelFour(self.screen))
bt.is_over = False
def Update(self, deltatime):
##################################################################################
# Collisions
for bt in self.button_list:
bt.switch()
##################################################################################
def Render(self):
for bt in self.button_list:
self.screen.blit(bt.image, bt.rect)
for t in self.text_list:
self.screen.blit(t.text, t.text_rect)
class MapSettings(SceneBase):
def __init__(self, screen=None, level=None):
SceneBase.__init__(self, screen)
# Add background
self.background, self.background_rect = input.load_image(flags.MISC_TYPE, flags.LVLBG)
self.screen.blit(self.background, self.background_rect, self.background_rect)
# Attributes
self.level = level
self.map = None
# Button
"""Add to button list"""
self.button_list = []
if self.level == flags.LVL1:
for idx in range(flags.MAPNO1):
self.button_list.append(button.Button(flags.MAPBG))
elif self.level == flags.LVL2:
for idx in range(flags.MAPNO2):
self.button_list.append(button.Button(flags.MAPBG))
elif self.level == flags.LVL3:
for idx in range(flags.MAPNO3):
self.button_list.append(button.Button(flags.MAPBG))
elif self.level == flags.LVL4:
for idx in range(flags.MAPNO4):
self.button_list.append(button.Button(flags.MAPBG))
"""Modify buttons' rects"""
for idx, bt in enumerate(self.button_list):
row_idx = idx // 10
col_idx = idx % 10
x_coor = 11 + col_idx * (60 + 1 + 1)
y_coor = 60 + row_idx * (60 + 1 + 1)
bt.rect = bt.rect.move((x_coor, y_coor))
# Text
path = os.path.join(settings.PATH, 'ASSET', 'Fonts', 'Fipps-Regular.otf')
title_font = pg.font.Font(path, 30)
self.title = text.Text('SELECT MAP', title_font, (255, 255, 255))
self.title.text_rect.centerx = self.screen.get_rect().centerx
self.screen.blit(self.title.text, self.title.text_rect)
map_font = pg.font.Font(path, 15)
self.text_list = []
if self.level == flags.LVL1:
for idx in range(flags.MAPNO1):
map_name = str(idx + 1)
self.text_list.append(text.Text(map_name, map_font, (255, 255, 255)))
elif self.level == flags.LVL2:
for idx in range(flags.MAPNO2):
map_name = str(idx + 1)
self.text_list.append(text.Text(map_name, map_font, (255, 255, 255)))
elif self.level == flags.LVL3:
for idx in range(flags.MAPNO3):
map_name = str(idx + 1)
self.text_list.append(text.Text(map_name, map_font, (255, 255, 255)))
elif self.level == flags.LVL4:
for idx in range(flags.MAPNO4):
map_name = str(idx + 1)
self.text_list.append(text.Text(map_name, map_font, (255, 255, 255)))
for idx, t in enumerate(self.text_list):
t.text_rect.center = self.button_list[idx].rect.center
# State
self.state = flags.MAPSELECT
def ProcessInput(self, events, pressed_keys):
for event in events:
if event.type == pg.MOUSEBUTTONDOWN:
for idx, bt in enumerate(self.button_list):
if bt.rect.collidepoint(pg.mouse.get_pos()):
self.map = 'Map-' + str(idx + 1) + '.txt'
if self.level == flags.LVL1:
self.SwitchToScene(LevelOne(self.screen, self.level, self.map))
bt.is_over = False
elif self.level == flags.LVL2:
self.SwitchToScene(LevelTwo(self.screen, self.level, self.map))
bt.is_over = False
elif self.level == flags.LVL3:
self.SwitchToScene(LevelThree(self.screen, self.level, self.map))
bt.is_over = False
elif self.level == flags.LVL4:
self.SwitchToScene(LevelFour(self.screen, self.level, self.map))
bt.is_over = False
def Update(self, deltatime):
##################################################################################
# Collisions
for bt in self.button_list:
bt.switch()
##################################################################################
def Render(self):
for bt in self.button_list:
self.screen.blit(bt.image, bt.rect)
for t in self.text_list:
self.screen.blit(t.text, t.text_rect)
class LevelOne(SceneBase):
def __init__(self, screen=None, level=None, map=None):
SceneBase.__init__(self, screen)
#######################################################################
#######################################################################
#######################################################################
# Level
self.level = level
self.map = map
#######################################################################
#######################################################################
#######################################################################
# Get information about the maze
self.size, self.maze, pacmanpos = input.read_file(self.level, self.map)
self.adjacents, foodpos = input.handle_adjacent_1(self.maze, self.size)
# Resize window
width, height = self.size
width *= 32
height = (height * 32) + 64
self.screen = pg.display.set_mode((width, height))
#######################################################################
#######################################################################
#######################################################################
# Handle drawing
# Maze Drawer
self.drawer = drawer.MazeDrawer(self.maze, self.size)
self.background, self.background_rect = self.drawer.setup_maze()
self.screen.blit(self.background, self.background_rect)
# Gameplay
self.pacman = pacman.Pacman(pacmanpos)
self.pacman_sprite = pg.sprite.Group(self.pacman)
self.food = food.Food(foodpos)
self.all_sprites = pg.sprite.Group(self.food)
#######################################################################
#######################################################################
#######################################################################
# Path finding
self.path = finding.A_star(self.maze, self.adjacents,
self.pacman.pos, self.food.pos)
if self.path and len(self.path) > flags.SCORE:
self.path = None
if self.path:
self.dest_node = self.path.pop(0)
elif not self.path:
self.dest_node = None
self.step = 0
self.score = 0
self.timer = 0
self.countdown_timer = 4
#######################################################################
#######################################################################
#######################################################################
# Objects for each state
self.ready_flag = False
# Score #####################
self.food_icon = food.Food((height // 32, 0))
self.food_icon.rect.move_ip(20, -48)
self.all_sprites.add(self.food_icon)
self.food_icon_censor = pg.Surface((32, 32))
self.food_icon_censor.fill((0, 0, 0))
self.food_icon_censor_rect = self.food_icon_censor.get_rect()
self.food_icon_censor_rect.center = self.food_icon.rect.center
# ###########################
path = os.path.join(settings.PATH, 'ASSET', 'Fonts', 'Fipps-Regular.otf')
font = pg.font.Font(path, 20)
self.score_text = text.Text(str(self.score), font, (33, 3, 255))
self.score_text.text_rect.left = self.food_icon.rect.right
self.score_text.text_rect.centery = self.food_icon.rect.centery
self.screen.blit(self.score_text.text, self.score_text.text_rect)
self.score_censor = pg.Surface((100, 64))
self.score_censor.fill((0, 0, 0))
self.score_censor_rect = self.score_censor.get_rect()
self.score_censor_rect.bottom = self.screen.get_rect().bottom
self.score_censor_rect.left = self.score_text.text_rect.left
# Time #####################
self.time_text = text.Text(str(self.countdown_timer), font, (33, 3, 255))
self.time_text.text_rect.centerx = self.screen.get_rect().centerx
self.time_text.text_rect.centery = self.food_icon.rect.centery
self.screen.blit(self.time_text.text, self.time_text.text_rect)
self.time_censor = pg.Surface((100, 64))
self.time_censor.fill((0, 0, 0))
self.time_censor_rect = self.time_censor.get_rect()
self.time_censor_rect.bottom = self.screen.get_rect().bottom
self.time_censor_rect.centerx = self.screen.get_rect().centerx
#######################################################################
#######################################################################
#######################################################################
# State
self.state = flags.HOLD
def ProcessInput(self, events, pressed_keys):
pass
def Update(self, deltatime):
# Holding
if self.state == flags.HOLD:
self.countdown_timer -= deltatime
if self.countdown_timer <= 0:
self.ready_flag = True
self.countdown_timer = 1.5
self.state = flags.PLAYING
# Playing
elif self.state == flags.PLAYING:
self.all_sprites.update(deltatime)
self.countdown_timer -= deltatime
if self.countdown_timer <= 0:
self.ready_flag = False
self.timer += deltatime
if self.dest_node:
if self.pacman.pos == self.dest_node and self.path:
self.dest_node = self.path.pop(0)
self.step = 0
if self.pacman.pos != self.food.pos:
self.pacman.move(self.dest_node, deltatime)
self.pacman_sprite.update(deltatime)
self.step += 1
if self.step == 32:
self.pacman.pos = self.dest_node
self.score -= 1
else:
self.score += 20
self.countdown_timer = 2.5
self.state = flags.WINNING
else:
self.countdown_timer = 2.5
self.state = flags.SURRENDER
# Winning
elif self.state == flags.WINNING:
self.countdown_timer -= deltatime
if self.countdown_timer <= 0:
self.SwitchToScene(Win(self.screen, self.score, self.timer))
# Surrender
elif self.state == flags.SURRENDER:
self.countdown_timer -= deltatime
if self.countdown_timer <= 0:
self.SwitchToScene(Surrender(self.screen, self.score, self.timer))
def Render(self):
if self.state == flags.HOLD:
"""Status bar"""
self.score_text.update(str(self.score))
self.score_text.text_rect.left = self.food_icon.rect.right
self.score_text.text_rect.centery = self.food_icon.rect.centery
self.screen.blit(self.score_censor, self.score_censor_rect)
#################################################################
self.time_text.update(str(int(self.countdown_timer)))
self.time_text.text_rect.centerx = self.screen.get_rect().centerx
self.time_text.text_rect.centery = self.food_icon.rect.centery
self.screen.blit(self.time_censor, self.time_censor_rect)
#################################################################
self.screen.blit(self.score_text.text, self.score_text.text_rect)
self.screen.blit(self.time_text.text, self.time_text.text_rect)
"""Animation"""
self.screen.blit(self.background, self.food.rect, self.food.rect)
self.screen.blit(self.food_icon_censor, self.food_icon_censor_rect)
self.all_sprites.draw(self.screen)
self.pacman_sprite.draw(self.screen)
elif self.state == flags.PLAYING:
"""Status bar"""
if self.ready_flag:
self.score_text.update(str(self.score))
self.score_text.text_rect.left = self.food_icon.rect.right
self.score_text.text_rect.centery = self.food_icon.rect.centery
self.screen.blit(self.score_censor, self.score_censor_rect)
#################################################################
self.time_text.update('GO!')
self.time_text.text_rect.centerx = self.screen.get_rect().centerx
self.time_text.text_rect.centery = self.food_icon.rect.centery
self.screen.blit(self.time_censor, self.time_censor_rect)
#################################################################
self.screen.blit(self.score_text.text, self.score_text.text_rect)
self.screen.blit(self.time_text.text, self.time_text.text_rect)
else:
self.score_text.update(str(self.score))
self.score_text.text_rect.left = self.food_icon.rect.right
self.score_text.text_rect.centery = self.food_icon.rect.centery
self.screen.blit(self.score_censor, self.score_censor_rect)
#################################################################
self.time_text.update(str(int(self.timer)))
self.time_text.text_rect.centerx = self.screen.get_rect().centerx
self.time_text.text_rect.centery = self.food_icon.rect.centery
self.screen.blit(self.time_censor, self.time_censor_rect)
#################################################################
self.screen.blit(self.score_text.text, self.score_text.text_rect)
self.screen.blit(self.time_text.text, self.time_text.text_rect)
"""Animation"""
self.screen.blit(self.background, self.pacman.rect, self.pacman.rect)
self.screen.blit(self.background, self.food.rect, self.food.rect)
self.screen.blit(self.food_icon_censor, self.food_icon_censor_rect)
self.all_sprites.draw(self.screen)
self.pacman_sprite.draw(self.screen)
elif self.state == flags.WINNING:
"""Status bar"""
self.score_text.update(str(self.score))
self.score_text.text_rect.left = self.food_icon.rect.right
self.score_text.text_rect.centery = self.food_icon.rect.centery
self.screen.blit(self.score_censor, self.score_censor_rect)
#################################################################
self.time_text.update('WIN!')
self.time_text.text_rect.centerx = self.screen.get_rect().centerx
self.time_text.text_rect.centery = self.food_icon.rect.centery
self.screen.blit(self.time_censor, self.time_censor_rect)
#################################################################
self.screen.blit(self.score_text.text, self.score_text.text_rect)
self.screen.blit(self.time_text.text, self.time_text.text_rect)
"""Animation"""
self.screen.blit(self.background, self.pacman.rect, self.pacman.rect)
self.screen.blit(self.food_icon_censor, self.food_icon_censor_rect)
self.all_sprites.draw(self.screen)
self.screen.blit(self.background, self.food.rect, self.food.rect)
self.pacman_sprite.draw(self.screen)
elif self.state == flags.SURRENDER:
"""Status bar"""
self.score_text.update(str(self.score))
self.score_text.text_rect.left = self.food_icon.rect.right
self.score_text.text_rect.centery = self.food_icon.rect.centery
self.screen.blit(self.score_censor, self.score_censor_rect)
#################################################################
self.time_text.update('SUR!')
self.time_text.text_rect.centerx = self.screen.get_rect().centerx
self.time_text.text_rect.centery = self.food_icon.rect.centery
self.screen.blit(self.time_censor, self.time_censor_rect)
#################################################################
self.screen.blit(self.score_text.text, self.score_text.text_rect)
self.screen.blit(self.time_text.text, self.time_text.text_rect)
"""Animation"""
self.screen.blit(self.background, self.pacman.rect, self.pacman.rect)
self.screen.blit(self.background, self.food.rect, self.food.rect)
self.screen.blit(self.food_icon_censor, self.food_icon_censor_rect)
self.all_sprites.draw(self.screen)
self.pacman_sprite.draw(self.screen)
class LevelTwo(SceneBase):
def __init__(self, screen=None, level=None, map=None):
SceneBase.__init__(self, screen)
#######################################################################
#######################################################################
#######################################################################
# Level
self.level = level
self.map = map
#######################################################################
#######################################################################
#######################################################################
# Get information about the maze
self.size, self.maze, pacmanpos = input.read_file(self.level, self.map)
self.adjacents, foodpos, monsters = input.handle_adjacent_2(self.maze, self.size)
# Resize window
width, height = self.size
width *= 32
height = (height * 32) + 64
self.screen = pg.display.set_mode((width, height))
#######################################################################
#######################################################################
#######################################################################
# Handle drawing
# Maze Drawer
self.drawer = drawer.MazeDrawer(self.maze, self.size)
self.background, self.background_rect = self.drawer.setup_maze()
self.screen.blit(self.background, self.background_rect)
# Gameplay
self.pacman = pacman.Pacman(pacmanpos)
self.pacman_sprite = pg.sprite.Group(self.pacman)
self.food = food.Food(foodpos)
self.all_sprites = pg.sprite.Group(self.food)
# Monsters
self.monsters = []
for monster in monsters:
self.monsters.append(monsterE.MonsterEasy(monster))
self.monsters_sprite = pg.sprite.Group()
for monster in self.monsters:
self.monsters_sprite.add(monster)
#######################################################################
#######################################################################
#######################################################################
# Path finding
self.path = finding.A_star(self.maze, self.adjacents,
self.pacman.pos, self.food.pos)
if self.path and len(self.path) > flags.SCORE:
self.path = None
if self.path:
self.dest_node = self.path.pop(0)
elif not self.path:
self.dest_node = None
self.step = 0
self.score = 0
self.timer = 0
self.countdown_timer = 4
#######################################################################
#######################################################################
#######################################################################
# Objects for each state
self.ready_flag = False
# Score #####################
self.food_icon = food.Food((height // 32, 0))
self.food_icon.rect.move_ip(20, -48)
self.all_sprites.add(self.food_icon)
self.food_icon_censor = pg.Surface((32, 32))
self.food_icon_censor.fill((0, 0, 0))
self.food_icon_censor_rect = self.food_icon_censor.get_rect()
self.food_icon_censor_rect.center = self.food_icon.rect.center
# ###########################
path = os.path.join(settings.PATH, 'ASSET', 'Fonts', 'Fipps-Regular.otf')
font = pg.font.Font(path, 20)
self.score_text = text.Text(str(self.score), font, (33, 3, 255))
self.score_text.text_rect.left = self.food_icon.rect.right
self.score_text.text_rect.centery = self.food_icon.rect.centery
self.screen.blit(self.score_text.text, self.score_text.text_rect)
self.score_censor = pg.Surface((100, 64))
self.score_censor.fill((0, 0, 0))
self.score_censor_rect = self.score_censor.get_rect()
self.score_censor_rect.bottom = self.screen.get_rect().bottom
self.score_censor_rect.left = self.score_text.text_rect.left
# Time #####################
self.time_text = text.Text(str(self.countdown_timer), font, (33, 3, 255))
self.time_text.text_rect.centerx = self.screen.get_rect().centerx
self.time_text.text_rect.centery = self.food_icon.rect.centery
self.screen.blit(self.time_text.text, self.time_text.text_rect)
self.time_censor = pg.Surface((100, 64))
self.time_censor.fill((0, 0, 0))
self.time_censor_rect = self.time_censor.get_rect()
self.time_censor_rect.bottom = self.screen.get_rect().bottom
self.time_censor_rect.centerx = self.screen.get_rect().centerx
#######################################################################
#######################################################################
#######################################################################
# State
self.state = flags.HOLD
def ProcessInput(self, events, pressed_keys):
pass
def Update(self, deltatime):
# Holding
if self.state == flags.HOLD:
self.countdown_timer -= deltatime
if self.countdown_timer <= 0:
self.ready_flag = True
self.countdown_timer = 1.5
self.state = flags.PLAYING
# Playing
elif self.state == flags.PLAYING:
self.all_sprites.update(deltatime)
self.monsters_sprite.update(deltatime)
self.countdown_timer -= deltatime
if self.countdown_timer <= 0:
self.ready_flag = False
self.timer += deltatime
if self.dest_node:
if self.pacman.pos == self.dest_node and self.path:
self.dest_node = self.path.pop(0)
self.step = 0
if self.pacman.pos != self.food.pos:
self.pacman.move(self.dest_node, deltatime)
self.pacman_sprite.update(deltatime)
self.step += 1
if self.step == 32:
self.pacman.pos = self.dest_node
self.score -= 1
else:
self.score += 20
self.countdown_timer = 2.5
self.state = flags.WINNING
else:
self.countdown_timer = 2.5
self.state = flags.SURRENDER
# Winning
elif self.state == flags.WINNING:
self.countdown_timer -= deltatime
if self.countdown_timer <= 0:
self.SwitchToScene(Win(self.screen, self.score, self.timer))
# Surrender
elif self.state == flags.SURRENDER:
self.countdown_timer -= deltatime
if self.countdown_timer <= 0:
self.SwitchToScene(Surrender(self.screen, self.score, self.timer))
def Render(self):
if self.state == flags.HOLD:
"""Status bar"""
self.score_text.update(str(self.score))
self.score_text.text_rect.left = self.food_icon.rect.right
self.score_text.text_rect.centery = self.food_icon.rect.centery
self.screen.blit(self.score_censor, self.score_censor_rect)
#################################################################
self.time_text.update(str(int(self.countdown_timer)))
self.time_text.text_rect.centerx = self.screen.get_rect().centerx
self.time_text.text_rect.centery = self.food_icon.rect.centery
self.screen.blit(self.time_censor, self.time_censor_rect)
#################################################################
self.screen.blit(self.score_text.text, self.score_text.text_rect)
self.screen.blit(self.time_text.text, self.time_text.text_rect)
"""Animation"""
self.screen.blit(self.background, self.food.rect, self.food.rect)
for monster in self.monsters:
self.screen.blit(self.background, monster.rect, monster.rect)
self.screen.blit(self.food_icon_censor, self.food_icon_censor_rect)
self.all_sprites.draw(self.screen)
self.monsters_sprite.draw(self.screen)
self.pacman_sprite.draw(self.screen)
elif self.state == flags.PLAYING:
"""Status bar"""
if self.ready_flag:
self.score_text.update(str(self.score))
self.score_text.text_rect.left = self.food_icon.rect.right
self.score_text.text_rect.centery = self.food_icon.rect.centery
self.screen.blit(self.score_censor, self.score_censor_rect)
#################################################################
self.time_text.update('GO!')
self.time_text.text_rect.centerx = self.screen.get_rect().centerx
self.time_text.text_rect.centery = self.food_icon.rect.centery
self.screen.blit(self.time_censor, self.time_censor_rect)
#################################################################
self.screen.blit(self.score_text.text, self.score_text.text_rect)
self.screen.blit(self.time_text.text, self.time_text.text_rect)
else:
self.score_text.update(str(self.score))
self.score_text.text_rect.left = self.food_icon.rect.right
self.score_text.text_rect.centery = self.food_icon.rect.centery
self.screen.blit(self.score_censor, self.score_censor_rect)
#################################################################
self.time_text.update(str(int(self.timer)))
self.time_text.text_rect.centerx = self.screen.get_rect().centerx
self.time_text.text_rect.centery = self.food_icon.rect.centery
self.screen.blit(self.time_censor, self.time_censor_rect)
#################################################################
self.screen.blit(self.score_text.text, self.score_text.text_rect)
self.screen.blit(self.time_text.text, self.time_text.text_rect)
"""Animation"""
self.screen.blit(self.background, self.pacman.rect, self.pacman.rect)
self.screen.blit(self.background, self.food.rect, self.food.rect)
for monster in self.monsters:
self.screen.blit(self.background, monster.rect, monster.rect)
self.screen.blit(self.food_icon_censor, self.food_icon_censor_rect)
self.all_sprites.draw(self.screen)
self.monsters_sprite.draw(self.screen)
self.pacman_sprite.draw(self.screen)
elif self.state == flags.WINNING:
"""Status bar"""
self.score_text.update(str(self.score))
self.score_text.text_rect.left = self.food_icon.rect.right
self.score_text.text_rect.centery = self.food_icon.rect.centery
self.screen.blit(self.score_censor, self.score_censor_rect)
#################################################################
self.time_text.update('WIN!')
self.time_text.text_rect.centerx = self.screen.get_rect().centerx
self.time_text.text_rect.centery = self.food_icon.rect.centery
self.screen.blit(self.time_censor, self.time_censor_rect)
#################################################################
self.screen.blit(self.score_text.text, self.score_text.text_rect)
self.screen.blit(self.time_text.text, self.time_text.text_rect)
"""Animation"""
self.screen.blit(self.background, self.pacman.rect, self.pacman.rect)
for monster in self.monsters:
self.screen.blit(self.background, monster.rect, monster.rect)
self.screen.blit(self.food_icon_censor, self.food_icon_censor_rect)
self.all_sprites.draw(self.screen)
self.screen.blit(self.background, self.food.rect, self.food.rect)
self.monsters_sprite.draw(self.screen)
self.pacman_sprite.draw(self.screen)
elif self.state == flags.SURRENDER:
"""Status bar"""
self.score_text.update(str(self.score))
self.score_text.text_rect.left = self.food_icon.rect.right
self.score_text.text_rect.centery = self.food_icon.rect.centery
self.screen.blit(self.score_censor, self.score_censor_rect)
#################################################################
self.time_text.update('SUR!')
self.time_text.text_rect.centerx = self.screen.get_rect().centerx
self.time_text.text_rect.centery = self.food_icon.rect.centery
self.screen.blit(self.time_censor, self.time_censor_rect)
#################################################################
self.screen.blit(self.score_text.text, self.score_text.text_rect)
self.screen.blit(self.time_text.text, self.time_text.text_rect)
"""Animation"""
self.screen.blit(self.background, self.pacman.rect, self.pacman.rect)
self.screen.blit(self.background, self.food.rect, self.food.rect)
for monster in self.monsters:
self.screen.blit(self.background, monster.rect, monster.rect)
self.screen.blit(self.food_icon_censor, self.food_icon_censor_rect)
self.all_sprites.draw(self.screen)
self.monsters_sprite.draw(self.screen)
self.pacman_sprite.draw(self.screen)
class LevelThree(SceneBase):
def __init__(self, screen=None, level=None, map=None):
SceneBase.__init__(self, screen)
# Title
path = os.path.join(settings.PATH, 'ASSET', 'Fonts', 'Fipps-Regular.otf')
title_font = pg.font.Font(path, 30)
self.title = text.Text('NOT IMPLEMENTED YET!', title_font, (255, 255, 255))
self.title.text_rect.center = self.screen.get_rect().center
self.screen.blit(self.title.text, self.title.text_rect)
# Buttons
self.button_list = []
for _ in range(2):
self.button_list.append(button.Button(flags.BUTTONBG))
for idx, bt in enumerate(self.button_list):
row_idx = idx // 2
col_idx = idx % 2
x_coor = 100 + col_idx * (150 + 70 + 70)
y_coor = 300 + row_idx * (35 + 30)
bt.rect = bt.rect.move((x_coor, y_coor))
# Texts on buttons
self.text_list = []
button_font = pg.font.Font(path, 15)
for idx in range(len(self.button_list)):
if idx == 0:
txt = 'Reset'
elif idx == 1:
txt = 'Exit'
self.text_list.append(text.Text(txt, button_font, (255, 255, 255)))
for idx, t in enumerate(self.text_list):
t.text_rect.center = self.button_list[idx].rect.center
def ProcessInput(self, events, pressed_keys):
for event in events:
if event.type == pg.MOUSEBUTTONDOWN:
for idx, bt in enumerate(self.button_list):
if bt.rect.collidepoint(pg.mouse.get_pos()):
if idx == 0:
self.SwitchToScene(LevelSettings(self.screen))
bt.is_over = False
elif idx == 1:
self.Terminate()
def Update(self, deltatime):
##################################################################################
# Collisions
for bt in self.button_list:
bt.switch()
##################################################################################
def Render(self):
# The game scene is just a blue screen
self.screen.fill((0, 0, 255))
self.screen.blit(self.title.text, self.title.text_rect)
"""Interactive UI"""
for bt in self.button_list:
self.screen.blit(bt.image, bt.rect)
for t in self.text_list:
self.screen.blit(t.text, t.text_rect)
class LevelFour(SceneBase):
def __init__(self, screen=None, level=None, map=None):
SceneBase.__init__(self, screen)
# Title
path = os.path.join(settings.PATH, 'ASSET', 'Fonts', 'Fipps-Regular.otf')
title_font = pg.font.Font(path, 30)
self.title = text.Text('NOT IMPLEMENTED YET!', title_font, (255, 255, 255))
self.title.text_rect.center = self.screen.get_rect().center
# Buttons
self.button_list = []
for _ in range(2):
self.button_list.append(button.Button(flags.BUTTONBG))
for idx, bt in enumerate(self.button_list):
row_idx = idx // 2
col_idx = idx % 2
x_coor = 100 + col_idx * (150 + 70 + 70)
y_coor = 300 + row_idx * (35 + 30)
bt.rect = bt.rect.move((x_coor, y_coor))
# Texts on buttons
self.text_list = []
button_font = pg.font.Font(path, 15)
for idx in range(len(self.button_list)):
if idx == 0:
txt = 'Reset'
elif idx == 1:
txt = 'Exit'
self.text_list.append(text.Text(txt, button_font, (255, 255, 255)))
for idx, t in enumerate(self.text_list):
t.text_rect.center = self.button_list[idx].rect.center
def ProcessInput(self, events, pressed_keys):
for event in events:
if event.type == pg.MOUSEBUTTONDOWN:
for idx, bt in enumerate(self.button_list):
if bt.rect.collidepoint(pg.mouse.get_pos()):
if idx == 0:
self.SwitchToScene(LevelSettings(self.screen))
bt.is_over = False
elif idx == 1:
self.Terminate()
def Update(self, deltatime):
##################################################################################
# Collisions
for bt in self.button_list:
bt.switch()
##################################################################################
def Render(self):
# The game scene is just a blue screen
self.screen.fill((0, 0, 255))
self.screen.blit(self.title.text, self.title.text_rect)
"""Interactive UI"""
for bt in self.button_list:
self.screen.blit(bt.image, bt.rect)
for t in self.text_list:
self.screen.blit(t.text, t.text_rect)
class Win(SceneBase):
def __init__(self, screen=None, score=0, time=0):
SceneBase.__init__(self, screen)
# Add background
self.screen = pg.display.set_mode((settings.WIDTH, settings.HEIGHT))
self.screen.fill((0, 0, 0))
# Attributes
self.inc_score = 0
self.inc_time = 0
self.score = score
self.time = time
# Title
path = os.path.join(settings.PATH, 'ASSET', 'Fonts', 'Fipps-Regular.otf')
title_font = pg.font.Font(path, 30)
self.title = text.Text('WINNN!', title_font, (255, 255, 255))
self.title.text_rect.centerx = self.screen.get_rect().centerx
self.screen.blit(self.title.text, self.title.text_rect)
# Buttons
self.button_list = []
for _ in range(2):
self.button_list.append(button.Button(flags.BUTTONBG))
for idx, bt in enumerate(self.button_list):
row_idx = idx // 2
col_idx = idx % 2
x_coor = 100 + col_idx * (150 + 70 + 70)
y_coor = 300 + row_idx * (35 + 30)
bt.rect = bt.rect.move((x_coor, y_coor))
# Texts on buttons
self.text_list = []
button_font = pg.font.Font(path, 15)
for idx in range(len(self.button_list)):
if idx == 0:
txt = 'Reset'
elif idx == 1:
txt = 'Exit'
self.text_list.append(text.Text(txt, button_font, (255, 255, 255)))
for idx, t in enumerate(self.text_list):
t.text_rect.center = self.button_list[idx].rect.center
# Information texts
#################################################################
info_font = pg.font.Font(path, 20)
# Score
self.s_text = text.Text('Score: ', info_font, (255, 255, 255))
self.s_text.text_rect.right = self.screen.get_rect().centerx
self.s_text.text_rect.centery = self.screen.get_rect().centery
self.s_text.text_rect.move_ip(0, -50)
self.screen.blit(self.s_text.text, self.s_text.text_rect)
self.score_text = text.Text(str(self.inc_score), info_font, (255, 255, 255))
self.score_text.text_rect.left = self.screen.get_rect().centerx
self.score_text.text_rect.centery = self.screen.get_rect().centery
self.score_text.text_rect.move_ip(0, -50)
self.screen.blit(self.score_text.text, self.score_text.text_rect)
self.score_censor = pg.Surface((150, 50))
self.score_censor.fill((0, 0, 0))
self.score_censor_rect = self.score_censor.get_rect()
self.score_censor_rect.centery = self.score_text.text_rect.centery
self.score_censor_rect.left = self.score_text.text_rect.left
#################################################################
# Time
self.t_text = text.Text('Time: ', info_font, (255, 255, 255))
self.t_text.text_rect.right = self.screen.get_rect().centerx
self.t_text.text_rect.centery = self.screen.get_rect().centery
self.screen.blit(self.t_text.text, self.t_text.text_rect)
self.time_text = text.Text(str(self.inc_time), info_font, (255, 255, 255))
self.time_text.text_rect.left = self.screen.get_rect().centerx
self.time_text.text_rect.centery = self.screen.get_rect().centery
self.screen.blit(self.time_text.text, self.time_text.text_rect)
self.time_censor = pg.Surface((150, 50))
self.time_censor.fill((0, 0, 0))
self.time_censor_rect = self.time_censor.get_rect()
self.time_censor_rect.centery = self.time_text.text_rect.centery
self.time_censor_rect.left = self.time_text.text_rect.left
# FX
self.monster = monsterFx.MonsterFx()
self.monster.rect.center = self.screen.get_rect().center
self.monster .rect.move_ip(0, 50)
self.fx = pg.sprite.Group(self.monster)
self.fx_censor = pg.Surface((32, 32))
self.fx_censor.fill((0, 0, 0))
self.fx_censor_rect = self.fx_censor.get_rect()
self.fx_censor_rect.center = self.monster.rect.center
# Countdown
self.countdown = 1.5
# State
self.state = flags.WINNING
def ProcessInput(self, events, pressed_keys):
for event in events:
if event.type == pg.MOUSEBUTTONDOWN:
for idx, bt in enumerate(self.button_list):
if bt.rect.collidepoint(pg.mouse.get_pos()):
if idx == 0:
self.SwitchToScene(LevelSettings(self.screen))
bt.is_over = False
elif idx == 1:
self.Terminate()
def Update(self, deltatime):
##################################################################################
# Collisions
for bt in self.button_list:
bt.switch()
##################################################################################
self.countdown -= deltatime
if self.countdown <= 0:
if self.inc_score < self.score:
self.inc_score += 1
if self.inc_time < self.time:
self.inc_time += 1
self.fx.update(deltatime)
def Render(self):
"""Interactive UI"""
for bt in self.button_list:
self.screen.blit(bt.image, bt.rect)
for t in self.text_list:
self.screen.blit(t.text, t.text_rect)
"""Information result"""
##################################################################################
self.score_text.update(str(self.inc_score))
self.score_text.text_rect.left = self.screen.get_rect().centerx
self.score_text.text_rect.centery = self.screen.get_rect().centery
self.score_text.text_rect.move_ip(0, -50)
self.screen.blit(self.score_censor, self.score_censor_rect)
##################################################################################
self.time_text.update(str(self.inc_time))
self.time_text.text_rect.left = self.screen.get_rect().centerx
self.time_text.text_rect.centery = self.screen.get_rect().centery
self.screen.blit(self.time_censor, self.time_censor_rect)
##################################################################################
self.screen.blit(self.score_text.text, self.score_text.text_rect)
self.screen.blit(self.time_text.text, self.time_text.text_rect)
"""FX"""
self.screen.blit(self.fx_censor, self.fx_censor_rect)
self.fx.draw(self.screen)
class GameOver(SceneBase):
def __init__(self, screen=None, score=0, time=0):
SceneBase.__init__(self, screen)
# Add background
self.screen = pg.display.set_mode((settings.WIDTH, settings.HEIGHT))
self.screen.fill((0, 0, 0))
# Attributes
self.inc_score = 0
self.inc_time = 0
self.score = score
self.time = time
# Title
path = os.path.join(settings.PATH, 'ASSET', 'Fonts', 'Fipps-Regular.otf')
title_font = pg.font.Font(path, 30)
self.title = text.Text('LOSEEE!', title_font, (255, 255, 255))
self.title.text_rect.centerx = self.screen.get_rect().centerx
self.screen.blit(self.title.text, self.title.text_rect)
# Buttons
self.button_list = []
for _ in range(2):
self.button_list.append(button.Button(flags.BUTTONBG))
for idx, bt in enumerate(self.button_list):
row_idx = idx // 2
col_idx = idx % 2
x_coor = 100 + col_idx * (150 + 70 + 70)
y_coor = 300 + row_idx * (35 + 30)
bt.rect = bt.rect.move((x_coor, y_coor))
# Texts on buttons
self.text_list = []
button_font = pg.font.Font(path, 15)
for idx in range(len(self.button_list)):
if idx == 0:
txt = 'Reset'
elif idx == 1:
txt = 'Exit'
self.text_list.append(text.Text(txt, button_font, (255, 255, 255)))
for idx, t in enumerate(self.text_list):
t.text_rect.center = self.button_list[idx].rect.center
# Information texts
#################################################################
info_font = pg.font.Font(path, 20)
# Score
self.s_text = text.Text('Score: ', info_font, (255, 255, 255))
self.s_text.text_rect.right = self.screen.get_rect().centerx
self.s_text.text_rect.centery = self.screen.get_rect().centery
self.s_text.text_rect.move_ip(0, -50)
self.screen.blit(self.s_text.text, self.s_text.text_rect)
self.score_text = text.Text(str(self.inc_score), info_font, (255, 255, 255))
self.score_text.text_rect.left = self.screen.get_rect().centerx
self.score_text.text_rect.centery = self.screen.get_rect().centery
self.score_text.text_rect.move_ip(0, -50)
self.screen.blit(self.score_text.text, self.score_text.text_rect)
self.score_censor = pg.Surface((150, 50))
self.score_censor.fill((0, 0, 0))
self.score_censor_rect = self.score_censor.get_rect()
self.score_censor_rect.centery = self.score_text.text_rect.centery
self.score_censor_rect.left = self.score_text.text_rect.left
#################################################################
# Time
self.t_text = text.Text('Time: ', info_font, (255, 255, 255))
self.t_text.text_rect.right = self.screen.get_rect().centerx
self.t_text.text_rect.centery = self.screen.get_rect().centery
self.screen.blit(self.t_text.text, self.t_text.text_rect)
self.time_text = text.Text(str(self.inc_time), info_font, (255, 255, 255))
self.time_text.text_rect.left = self.screen.get_rect().centerx
self.time_text.text_rect.centery = self.screen.get_rect().centery
self.screen.blit(self.time_text.text, self.time_text.text_rect)
self.time_censor = pg.Surface((150, 50))
self.time_censor.fill((0, 0, 0))
self.time_censor_rect = self.time_censor.get_rect()
self.time_censor_rect.centery = self.time_text.text_rect.centery
self.time_censor_rect.left = self.time_text.text_rect.left
# FX
self.pacman = pacman.Pacman()
self.pacman.rect.center = self.screen.get_rect().center
self.pacman.rect.move_ip(0, 50)
self.fx = pg.sprite.Group(self.pacman)
self.fx_censor = pg.Surface((32, 32))
self.fx_censor.fill((0, 0, 0))
self.fx_censor_rect = self.fx_censor.get_rect()
self.fx_censor_rect.center = self.pacman.rect.center
# Countdown
self.countdown = 1.5
# State
self.state = flags.WINNING
def ProcessInput(self, events, pressed_keys):
for event in events:
if event.type == pg.MOUSEBUTTONDOWN:
for idx, bt in enumerate(self.button_list):
if bt.rect.collidepoint(pg.mouse.get_pos()):
if idx == 0:
self.SwitchToScene(LevelSettings(self.screen))
bt.is_over = False
elif idx == 1:
self.Terminate()
def Update(self, deltatime):
##################################################################################
# Collisions
for bt in self.button_list:
bt.switch()
##################################################################################
self.countdown -= deltatime
if self.countdown <= 0:
if self.inc_score < self.score:
self.inc_score += 1
if self.inc_time < self.time:
self.inc_time += 1
self.fx.update(deltatime)
def Render(self):
"""Interactive UI"""
for bt in self.button_list:
self.screen.blit(bt.image, bt.rect)
for t in self.text_list:
self.screen.blit(t.text, t.text_rect)
"""Information result"""
##################################################################################
self.score_text.update(str(self.inc_score))
self.score_text.text_rect.left = self.screen.get_rect().centerx
self.score_text.text_rect.centery = self.screen.get_rect().centery
self.score_text.text_rect.move_ip(0, -50)
self.screen.blit(self.score_censor, self.score_censor_rect)
##################################################################################
self.time_text.update(str(self.inc_time))
self.time_text.text_rect.left = self.screen.get_rect().centerx
self.time_text.text_rect.centery = self.screen.get_rect().centery
self.screen.blit(self.time_censor, self.time_censor_rect)
##################################################################################
self.screen.blit(self.score_text.text, self.score_text.text_rect)
self.screen.blit(self.time_text.text, self.time_text.text_rect)
"""FX"""
self.screen.blit(self.fx_censor, self.fx_censor_rect)
self.fx.draw(self.screen)
class Surrender(SceneBase):
def __init__(self, screen=None, score=0, time=0):
SceneBase.__init__(self, screen)
# Add background
self.screen = pg.display.set_mode((settings.WIDTH, settings.HEIGHT))
self.screen.fill((0, 0, 0))
# Attributes
self.inc_score = 0
self.inc_time = 0
self.score = score
self.time = time
# Title
path = os.path.join(settings.PATH, 'ASSET', 'Fonts', 'Fipps-Regular.otf')
title_font = pg.font.Font(path, 30)
self.title = text.Text('SURRENDERRR!', title_font, (255, 255, 255))
self.title.text_rect.centerx = self.screen.get_rect().centerx
self.screen.blit(self.title.text, self.title.text_rect)
# Buttons
self.button_list = []
for _ in range(2):
self.button_list.append(button.Button(flags.BUTTONBG))
for idx, bt in enumerate(self.button_list):
row_idx = idx // 2
col_idx = idx % 2
x_coor = 100 + col_idx * (150 + 70 + 70)
y_coor = 300 + row_idx * (35 + 30)
bt.rect = bt.rect.move((x_coor, y_coor))
# Texts on buttons
self.text_list = []
button_font = pg.font.Font(path, 15)
for idx in range(len(self.button_list)):
if idx == 0:
txt = 'Reset'
elif idx == 1:
txt = 'Exit'
self.text_list.append(text.Text(txt, button_font, (255, 255, 255)))
for idx, t in enumerate(self.text_list):
t.text_rect.center = self.button_list[idx].rect.center
# Information texts
#################################################################
info_font = pg.font.Font(path, 20)
# Score
self.s_text = text.Text('Score: ', info_font, (255, 255, 255))
self.s_text.text_rect.right = self.screen.get_rect().centerx
self.s_text.text_rect.centery = self.screen.get_rect().centery
self.s_text.text_rect.move_ip(0, -50)
self.screen.blit(self.s_text.text, self.s_text.text_rect)
self.score_text = text.Text(str(self.inc_score), info_font, (255, 255, 255))
self.score_text.text_rect.left = self.screen.get_rect().centerx
self.score_text.text_rect.centery = self.screen.get_rect().centery
self.score_text.text_rect.move_ip(0, -50)
self.screen.blit(self.score_text.text, self.score_text.text_rect)
self.score_censor = pg.Surface((150, 50))
self.score_censor.fill((0, 0, 0))
self.score_censor_rect = self.score_censor.get_rect()
self.score_censor_rect.centery = self.score_text.text_rect.centery
self.score_censor_rect.left = self.score_text.text_rect.left
#################################################################
# Time
self.t_text = text.Text('Time: ', info_font, (255, 255, 255))
self.t_text.text_rect.right = self.screen.get_rect().centerx
self.t_text.text_rect.centery = self.screen.get_rect().centery
self.screen.blit(self.t_text.text, self.t_text.text_rect)
self.time_text = text.Text(str(self.inc_time), info_font, (255, 255, 255))
self.time_text.text_rect.left = self.screen.get_rect().centerx
self.time_text.text_rect.centery = self.screen.get_rect().centery
self.screen.blit(self.time_text.text, self.time_text.text_rect)
self.time_censor = pg.Surface((150, 50))
self.time_censor.fill((0, 0, 0))
self.time_censor_rect = self.time_censor.get_rect()
self.time_censor_rect.centery = self.time_text.text_rect.centery
self.time_censor_rect.left = self.time_text.text_rect.left
# FX
self.pacman = pacman.Pacman()
self.pacman.rect.center = self.screen.get_rect().center
self.pacman.rect.move_ip(0, 50)
self.fx = pg.sprite.Group(self.pacman)
self.fx_censor = pg.Surface((32, 32))
self.fx_censor.fill((0, 0, 0))
self.fx_censor_rect = self.fx_censor.get_rect()
self.fx_censor_rect.center = self.pacman.rect.center
# Countdown
self.countdown = 1.5
# State
self.state = flags.WINNING
def ProcessInput(self, events, pressed_keys):
for event in events:
if event.type == pg.MOUSEBUTTONDOWN:
for idx, bt in enumerate(self.button_list):
if bt.rect.collidepoint(pg.mouse.get_pos()):
if idx == 0:
self.SwitchToScene(LevelSettings(self.screen))
bt.is_over = False
elif idx == 1:
self.Terminate()
def Update(self, deltatime):
##################################################################################
# Collisions
for bt in self.button_list:
bt.switch()
##################################################################################
self.countdown -= deltatime
if self.countdown <= 0:
if self.inc_score < self.score:
self.inc_score += 1
if self.inc_time < self.time:
self.inc_time += 1
self.fx.update(deltatime)
def Render(self):
"""Interactive UI"""
for bt in self.button_list:
self.screen.blit(bt.image, bt.rect)
for t in self.text_list:
self.screen.blit(t.text, t.text_rect)
"""Information result"""
##################################################################################
self.score_text.update(str(self.inc_score))
self.score_text.text_rect.left = self.screen.get_rect().centerx
self.score_text.text_rect.centery = self.screen.get_rect().centery
self.score_text.text_rect.move_ip(0, -50)
self.screen.blit(self.score_censor, self.score_censor_rect)
##################################################################################
self.time_text.update(str(self.inc_time))
self.time_text.text_rect.left = self.screen.get_rect().centerx
self.time_text.text_rect.centery = self.screen.get_rect().centery
self.screen.blit(self.time_censor, self.time_censor_rect)
##################################################################################
self.screen.blit(self.score_text.text, self.score_text.text_rect)
self.screen.blit(self.time_text.text, self.time_text.text_rect)
"""FX"""
self.screen.blit(self.fx_censor, self.fx_censor_rect)
self.fx.draw(self.screen)
| 48.410782
| 95
| 0.520664
| 7,302
| 63,757
| 4.364147
| 0.033689
| 0.083786
| 0.057614
| 0.064957
| 0.95453
| 0.941821
| 0.930775
| 0.926162
| 0.918411
| 0.916559
| 0
| 0.018065
| 0.280236
| 63,757
| 1,316
| 96
| 48.447568
| 0.676357
| 0.017457
| 0
| 0.907071
| 0
| 0
| 0.011795
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.046465
| false
| 0.00202
| 0.013131
| 0
| 0.070707
| 0.00303
| 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
|
a1a3441b3dc002582e197246a1220574cdf20c05
| 14,814
|
py
|
Python
|
service/paginationlog.py
|
citang/opencanary_web
|
8b8de894623e1a583e87aa8e6fd11b941d7c0c33
|
[
"BSD-3-Clause"
] | null | null | null |
service/paginationlog.py
|
citang/opencanary_web
|
8b8de894623e1a583e87aa8e6fd11b941d7c0c33
|
[
"BSD-3-Clause"
] | null | null | null |
service/paginationlog.py
|
citang/opencanary_web
|
8b8de894623e1a583e87aa8e6fd11b941d7c0c33
|
[
"BSD-3-Clause"
] | null | null | null |
#!/usr/bin/env python
# -*- coding:utf-8 -*-
from dbs.dal.LogOperate import LogOp
logselect = LogOp()
def listpage(param):
if "white" in param and "page" in param:
page = param["page"]
# print page
page_list = []
second_page_list = []
for i in logselect.page_select_white(page):
dict_param = {"id": i.id, "dst_host": i.dst_host, "dst_port": i.dst_port, "honeycred": i.honeycred,
"local_time": i.local_time.strftime("%Y-%m-%d %H:%M:%S"), "hostname": i.hostname, \
"password": i.password, "path": i.path, "skin": i.skin, "useragent": i.useragent,
"username": i.username, "session": i.session, "localversion": i.localversion, \
"remoteversion": i.remoteversion, "df": i.df, "idid": i.idid, "inin": i.inin,
"lenlen": i.lenlen, "mac": i.mac, "outout": i.outout, "prec": i.prec, \
"proto": i.proto, "res": i.res, "syn": i.syn, "tos": i.tos, "ttl": i.ttl, "urgp": i.urgp,
"window": i.window, "logtype": i.logtype, \
"node_id": i.node_id, "src_host": i.src_host, "src_port": i.src_port, "repo": i.repo,
"ntp_cmd": i.ntp_cmd, "args": i.args, "cmd": i.cmd, "banner_id": i.banner_id, \
"data": i.data, "function": i.function, "vnc_client_response": i.vnc_client_response,
"vnc_password": i.vnc_password, "vnc_server_challenge": i.vnc_server_challenge, \
"inputs": i.inputs, "domain": i.domain, "headers_call_id": i.headers_call_id,
"headers_content_length": i.headers_content_length, "headers_cseq": i.headers_cseq, \
"headers_from": i.headers_from, "headers_to": i.headers_to, "headers_via": i.headers_via,
"community_string": i.community_string, "requests": i.requests, \
"urg": i.urg, "psh": i.psh, "fin": i.fin, "appname": i.appname, "cltintname": i.cltintname,
"database": i.database, "language": i.language, "servername": i.servername,
"domainname": i.domainname}
page_list.append(dict_param)
for i in page_list:
# print i
if i["logtype"] == '2000':
i["logtype"] = 'ftp登录尝试'
elif i["logtype"] == '3000':
i["logtype"] = 'web蜜罐被访问'
elif i["logtype"] == '3001':
i["logtype"] = 'web蜜罐被登录'
elif i["logtype"] == '4000':
i["logtype"] = 'ssh建立连接'
elif i["logtype"] == '4001':
i["logtype"] = 'ssh远程版本发送'
elif i["logtype"] == '4002':
i["logtype"] = 'ssh登录尝试'
elif i["logtype"] == '6001':
i["logtype"] = 'telnet登录尝试'
elif i["logtype"] == '5001':
i["logtype"] = '端口(SYN)扫描'
elif i["logtype"] == '8001':
i["logtype"] = 'mysql登录尝试'
elif i["logtype"] == '16001':
i["logtype"] = 'git clone请求'
elif i["logtype"] == '11001':
i["logtype"] = 'ntp monlist请求'
elif i["logtype"] == '17001':
i["logtype"] = 'redis命令'
elif i["logtype"] == '18001' or i["logtype"] == '18002' or i["logtype"] == '18003' or i[
"logtype"] == '18004' or i["logtype"] == '18005':
i["logtype"] = 'tcp连接请求'
elif i["logtype"] == '12001':
i["logtype"] = 'vnc连接'
elif i["logtype"] == '14001':
i["logtype"] = 'windows远程登录'
elif i["logtype"] == '13001':
i["logtype"] = 'snmp扫描'
elif i["logtype"] == '15001':
i["logtype"] = 'sip请求'
elif i["logtype"] == '5002':
i["logtype"] = 'nmap os扫描'
elif i["logtype"] == '5003':
i["logtype"] = 'nmap null扫描'
elif i["logtype"] == '5004':
i["logtype"] = 'nmap xmas扫描'
elif i["logtype"] == '5005':
i["logtype"] = 'nmap fin扫描'
elif i["logtype"] == '9001':
i["logtype"] = 'mssql登录sql账户认证'
elif i["logtype"] == '9002':
i["logtype"] = 'mssql登录win身份认证'
elif i["logtype"] == '7001':
i["logtype"] = 'http代理登录尝试'
second_dict_param = {"id": i["id"], "dst_host": i["dst_host"], "dst_port": i["dst_port"],
"honeycred": i["honeycred"], "local_time": i["local_time"], "hostname": i["hostname"], \
"password": i["password"], "path": i["path"], "skin": i["skin"],
"useragent": i["useragent"], "username": i["username"], "session": i["session"],
"localversion": i["localversion"], \
"remoteversion": i["remoteversion"], "df": i["df"], "idid": i["idid"],
"inin": i["inin"], "lenlen": i["lenlen"], "mac": i["mac"], "outout": i["outout"],
"prec": i["prec"], \
"proto": i["proto"], "res": i["res"], "syn": i["syn"], "tos": i["tos"],
"ttl": i["ttl"], "urgp": i["urgp"], "window": i["window"], "logtype": i["logtype"], \
"node_id": i["node_id"], "src_host": i["src_host"], "src_port": i["src_port"],
"repo": i["repo"], "ntp_cmd": i["ntp_cmd"], "args": i["args"], "cmd": i["cmd"],
"banner_id": i["banner_id"], \
"data": i["data"], "function": i["function"],
"vnc_client_response": i["vnc_client_response"], "vnc_password": i["vnc_password"],
"vnc_server_challenge": i["vnc_server_challenge"], \
"inputs": i["inputs"], "domain": i["domain"], "headers_call_id": i["headers_call_id"],
"headers_content_length": i["headers_content_length"],
"headers_cseq": i["headers_cseq"], \
"headers_from": i["headers_from"], "headers_to": i["headers_to"],
"headers_via": i["headers_via"], "community_string": i["community_string"],
"requests": i["requests"], \
"urg": i["urg"], "psh": i["psh"], "fin": i["fin"], "appname": i["appname"],
"cltintname": i["cltintname"], "database": i["database"], "language": i["language"], \
"servername": i["servername"], "domainname": i["domainname"]}
second_page_list.append(second_dict_param)
page_res = {"list": second_page_list}
# print page_res
return page_res
else:
if "page" in param:
page = param["page"]
# print page
page_list = []
second_page_list = []
for i in logselect.page_select_attack(page):
dict_param = {"id": i.id, "dst_host": i.dst_host, "dst_port": i.dst_port, "honeycred": i.honeycred,
"local_time": i.local_time.strftime("%Y-%m-%d %H:%M:%S"), "hostname": i.hostname, \
"password": i.password, "path": i.path, "skin": i.skin, "useragent": i.useragent,
"username": i.username, "session": i.session, "localversion": i.localversion, \
"remoteversion": i.remoteversion, "df": i.df, "idid": i.idid, "inin": i.inin,
"lenlen": i.lenlen, "mac": i.mac, "outout": i.outout, "prec": i.prec, \
"proto": i.proto, "res": i.res, "syn": i.syn, "tos": i.tos, "ttl": i.ttl, "urgp": i.urgp,
"window": i.window, "logtype": i.logtype, \
"node_id": i.node_id, "src_host": i.src_host, "src_port": i.src_port, "repo": i.repo,
"ntp_cmd": i.ntp_cmd, "args": i.args, "cmd": i.cmd, "banner_id": i.banner_id, \
"data": i.data, "function": i.function, "vnc_client_response": i.vnc_client_response,
"vnc_password": i.vnc_password, "vnc_server_challenge": i.vnc_server_challenge, \
"inputs": i.inputs, "domain": i.domain, "headers_call_id": i.headers_call_id,
"headers_content_length": i.headers_content_length, "headers_cseq": i.headers_cseq, \
"headers_from": i.headers_from, "headers_to": i.headers_to, "headers_via": i.headers_via,
"community_string": i.community_string, "requests": i.requests, \
"urg": i.urg, "psh": i.psh, "fin": i.fin, "appname": i.appname,
"cltintname": i.cltintname, "database": i.database, "language": i.language,
"servername": i.servername, "domainname": i.domainname}
page_list.append(dict_param)
for i in page_list:
# print i
if i["logtype"] == '2000':
i["logtype"] = 'ftp登录尝试'
elif i["logtype"] == '3000':
i["logtype"] = 'web蜜罐被访问'
elif i["logtype"] == '3001':
i["logtype"] = 'web蜜罐被登录'
elif i["logtype"] == '4000':
i["logtype"] = 'ssh建立连接'
elif i["logtype"] == '4001':
i["logtype"] = 'ssh远程版本发送'
elif i["logtype"] == '4002':
i["logtype"] = 'ssh登录尝试'
elif i["logtype"] == '6001':
i["logtype"] = 'telnet登录尝试'
elif i["logtype"] == '5001':
i["logtype"] = '端口(SYN)扫描'
elif i["logtype"] == '8001':
i["logtype"] = 'mysql登录尝试'
elif i["logtype"] == '16001':
i["logtype"] = 'git clone请求'
elif i["logtype"] == '11001':
i["logtype"] = 'ntp monlist请求'
elif i["logtype"] == '17001':
i["logtype"] = 'redis命令'
elif i["logtype"] == '18001' or i["logtype"] == '18002' or i["logtype"] == '18003' or i[
"logtype"] == '18004' or i["logtype"] == '18005':
i["logtype"] = 'tcp连接请求'
elif i["logtype"] == '12001':
i["logtype"] = 'vnc连接'
elif i["logtype"] == '14001':
i["logtype"] = 'windows远程登录'
elif i["logtype"] == '13001':
i["logtype"] = 'snmp扫描'
elif i["logtype"] == '15001':
i["logtype"] = 'sip请求'
elif i["logtype"] == '5002':
i["logtype"] = 'nmap os扫描'
elif i["logtype"] == '5003':
i["logtype"] = 'nmap null扫描'
elif i["logtype"] == '5004':
i["logtype"] = 'nmap xmas扫描'
elif i["logtype"] == '5005':
i["logtype"] = 'nmap fin扫描'
elif i["logtype"] == '9001':
i["logtype"] = 'mssql登录sql账户认证'
elif i["logtype"] == '9002':
i["logtype"] = 'mssql登录win身份认证'
elif i["logtype"] == '7001':
i["logtype"] = 'http代理登录尝试'
second_dict_param = {"id": i["id"], "dst_host": i["dst_host"], "dst_port": i["dst_port"],
"honeycred": i["honeycred"], "local_time": i["local_time"],
"hostname": i["hostname"], \
"password": i["password"], "path": i["path"], "skin": i["skin"],
"useragent": i["useragent"], "username": i["username"], "session": i["session"],
"localversion": i["localversion"], \
"remoteversion": i["remoteversion"], "df": i["df"], "idid": i["idid"],
"inin": i["inin"], "lenlen": i["lenlen"], "mac": i["mac"], "outout": i["outout"],
"prec": i["prec"], \
"proto": i["proto"], "res": i["res"], "syn": i["syn"], "tos": i["tos"],
"ttl": i["ttl"], "urgp": i["urgp"], "window": i["window"], "logtype": i["logtype"], \
"node_id": i["node_id"], "src_host": i["src_host"], "src_port": i["src_port"],
"repo": i["repo"], "ntp_cmd": i["ntp_cmd"], "args": i["args"], "cmd": i["cmd"],
"banner_id": i["banner_id"], \
"data": i["data"], "function": i["function"],
"vnc_client_response": i["vnc_client_response"], "vnc_password": i["vnc_password"],
"vnc_server_challenge": i["vnc_server_challenge"], \
"inputs": i["inputs"], "domain": i["domain"],
"headers_call_id": i["headers_call_id"],
"headers_content_length": i["headers_content_length"],
"headers_cseq": i["headers_cseq"], \
"headers_from": i["headers_from"], "headers_to": i["headers_to"],
"headers_via": i["headers_via"], "community_string": i["community_string"],
"requests": i["requests"], \
"urg": i["urg"], "psh": i["psh"], "fin": i["fin"], "appname": i["appname"],
"cltintname": i["cltintname"], "database": i["database"],
"language": i["language"], \
"servername": i["servername"], "domainname": i["domainname"]}
second_page_list.append(second_dict_param)
page_res = {"list": second_page_list}
# print page_res
return page_res
def total_atk_page():
# 查询攻击列表数量
return logselect.select_attack_total()
def total_wit_page():
# 查询过滤列表数量
return logselect.select_filter_total()
| 61.214876
| 122
| 0.435669
| 1,465
| 14,814
| 4.25256
| 0.114676
| 0.138684
| 0.088604
| 0.011557
| 0.963082
| 0.963082
| 0.963082
| 0.963082
| 0.963082
| 0.963082
| 0
| 0.027499
| 0.388754
| 14,814
| 241
| 123
| 61.46888
| 0.660519
| 0.008573
| 0
| 0.875576
| 0
| 0
| 0.291
| 0.008994
| 0
| 0
| 0
| 0
| 0
| 1
| 0.013825
| false
| 0.036866
| 0.004608
| 0.009217
| 0.036866
| 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
|
a1c6a5651194457ad574d5390741d0a729762302
| 22,567
|
py
|
Python
|
sdk/python/pulumi_digitalocean/project.py
|
mikealgj/pulumi-digitalocean
|
77c109ab364eb69b7668b007c29413f5d2c95209
|
[
"ECL-2.0",
"Apache-2.0"
] | 53
|
2019-04-25T14:43:12.000Z
|
2022-03-14T15:51:44.000Z
|
sdk/python/pulumi_digitalocean/project.py
|
mikealgj/pulumi-digitalocean
|
77c109ab364eb69b7668b007c29413f5d2c95209
|
[
"ECL-2.0",
"Apache-2.0"
] | 158
|
2019-04-15T21:47:18.000Z
|
2022-03-29T21:21:57.000Z
|
sdk/python/pulumi_digitalocean/project.py
|
mikealgj/pulumi-digitalocean
|
77c109ab364eb69b7668b007c29413f5d2c95209
|
[
"ECL-2.0",
"Apache-2.0"
] | 10
|
2019-04-15T20:16:11.000Z
|
2021-05-28T19:08:32.000Z
|
# coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import _utilities
__all__ = ['ProjectArgs', 'Project']
@pulumi.input_type
class ProjectArgs:
def __init__(__self__, *,
description: Optional[pulumi.Input[str]] = None,
environment: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
purpose: Optional[pulumi.Input[str]] = None,
resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
"""
The set of arguments for constructing a Project resource.
:param pulumi.Input[str] description: the description of the project
:param pulumi.Input[str] environment: the environment of the project's resources. The possible values are: `Development`, `Staging`, `Production`)
:param pulumi.Input[str] name: The name of the Project
:param pulumi.Input[str] purpose: the purpose of the project, (Default: "Web Application")
:param pulumi.Input[Sequence[pulumi.Input[str]]] resources: a list of uniform resource names (URNs) for the resources associated with the project
"""
if description is not None:
pulumi.set(__self__, "description", description)
if environment is not None:
pulumi.set(__self__, "environment", environment)
if name is not None:
pulumi.set(__self__, "name", name)
if purpose is not None:
pulumi.set(__self__, "purpose", purpose)
if resources is not None:
pulumi.set(__self__, "resources", resources)
@property
@pulumi.getter
def description(self) -> Optional[pulumi.Input[str]]:
"""
the description of the project
"""
return pulumi.get(self, "description")
@description.setter
def description(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "description", value)
@property
@pulumi.getter
def environment(self) -> Optional[pulumi.Input[str]]:
"""
the environment of the project's resources. The possible values are: `Development`, `Staging`, `Production`)
"""
return pulumi.get(self, "environment")
@environment.setter
def environment(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "environment", value)
@property
@pulumi.getter
def name(self) -> Optional[pulumi.Input[str]]:
"""
The name of the Project
"""
return pulumi.get(self, "name")
@name.setter
def name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "name", value)
@property
@pulumi.getter
def purpose(self) -> Optional[pulumi.Input[str]]:
"""
the purpose of the project, (Default: "Web Application")
"""
return pulumi.get(self, "purpose")
@purpose.setter
def purpose(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "purpose", value)
@property
@pulumi.getter
def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
"""
a list of uniform resource names (URNs) for the resources associated with the project
"""
return pulumi.get(self, "resources")
@resources.setter
def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
pulumi.set(self, "resources", value)
@pulumi.input_type
class _ProjectState:
def __init__(__self__, *,
created_at: Optional[pulumi.Input[str]] = None,
description: Optional[pulumi.Input[str]] = None,
environment: Optional[pulumi.Input[str]] = None,
is_default: Optional[pulumi.Input[bool]] = None,
name: Optional[pulumi.Input[str]] = None,
owner_id: Optional[pulumi.Input[int]] = None,
owner_uuid: Optional[pulumi.Input[str]] = None,
purpose: Optional[pulumi.Input[str]] = None,
resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
updated_at: Optional[pulumi.Input[str]] = None):
"""
Input properties used for looking up and filtering Project resources.
:param pulumi.Input[str] created_at: the date and time when the project was created, (ISO8601)
:param pulumi.Input[str] description: the description of the project
:param pulumi.Input[str] environment: the environment of the project's resources. The possible values are: `Development`, `Staging`, `Production`)
:param pulumi.Input[str] name: The name of the Project
:param pulumi.Input[int] owner_id: the id of the project owner.
:param pulumi.Input[str] owner_uuid: the unique universal identifier of the project owner.
:param pulumi.Input[str] purpose: the purpose of the project, (Default: "Web Application")
:param pulumi.Input[Sequence[pulumi.Input[str]]] resources: a list of uniform resource names (URNs) for the resources associated with the project
:param pulumi.Input[str] updated_at: the date and time when the project was last updated, (ISO8601)
"""
if created_at is not None:
pulumi.set(__self__, "created_at", created_at)
if description is not None:
pulumi.set(__self__, "description", description)
if environment is not None:
pulumi.set(__self__, "environment", environment)
if is_default is not None:
pulumi.set(__self__, "is_default", is_default)
if name is not None:
pulumi.set(__self__, "name", name)
if owner_id is not None:
pulumi.set(__self__, "owner_id", owner_id)
if owner_uuid is not None:
pulumi.set(__self__, "owner_uuid", owner_uuid)
if purpose is not None:
pulumi.set(__self__, "purpose", purpose)
if resources is not None:
pulumi.set(__self__, "resources", resources)
if updated_at is not None:
pulumi.set(__self__, "updated_at", updated_at)
@property
@pulumi.getter(name="createdAt")
def created_at(self) -> Optional[pulumi.Input[str]]:
"""
the date and time when the project was created, (ISO8601)
"""
return pulumi.get(self, "created_at")
@created_at.setter
def created_at(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "created_at", value)
@property
@pulumi.getter
def description(self) -> Optional[pulumi.Input[str]]:
"""
the description of the project
"""
return pulumi.get(self, "description")
@description.setter
def description(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "description", value)
@property
@pulumi.getter
def environment(self) -> Optional[pulumi.Input[str]]:
"""
the environment of the project's resources. The possible values are: `Development`, `Staging`, `Production`)
"""
return pulumi.get(self, "environment")
@environment.setter
def environment(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "environment", value)
@property
@pulumi.getter(name="isDefault")
def is_default(self) -> Optional[pulumi.Input[bool]]:
return pulumi.get(self, "is_default")
@is_default.setter
def is_default(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "is_default", value)
@property
@pulumi.getter
def name(self) -> Optional[pulumi.Input[str]]:
"""
The name of the Project
"""
return pulumi.get(self, "name")
@name.setter
def name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "name", value)
@property
@pulumi.getter(name="ownerId")
def owner_id(self) -> Optional[pulumi.Input[int]]:
"""
the id of the project owner.
"""
return pulumi.get(self, "owner_id")
@owner_id.setter
def owner_id(self, value: Optional[pulumi.Input[int]]):
pulumi.set(self, "owner_id", value)
@property
@pulumi.getter(name="ownerUuid")
def owner_uuid(self) -> Optional[pulumi.Input[str]]:
"""
the unique universal identifier of the project owner.
"""
return pulumi.get(self, "owner_uuid")
@owner_uuid.setter
def owner_uuid(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "owner_uuid", value)
@property
@pulumi.getter
def purpose(self) -> Optional[pulumi.Input[str]]:
"""
the purpose of the project, (Default: "Web Application")
"""
return pulumi.get(self, "purpose")
@purpose.setter
def purpose(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "purpose", value)
@property
@pulumi.getter
def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
"""
a list of uniform resource names (URNs) for the resources associated with the project
"""
return pulumi.get(self, "resources")
@resources.setter
def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
pulumi.set(self, "resources", value)
@property
@pulumi.getter(name="updatedAt")
def updated_at(self) -> Optional[pulumi.Input[str]]:
"""
the date and time when the project was last updated, (ISO8601)
"""
return pulumi.get(self, "updated_at")
@updated_at.setter
def updated_at(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "updated_at", value)
class Project(pulumi.CustomResource):
@overload
def __init__(__self__,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
description: Optional[pulumi.Input[str]] = None,
environment: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
purpose: Optional[pulumi.Input[str]] = None,
resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
__props__=None):
"""
Provides a DigitalOcean Project resource.
Projects allow you to organize your resources into groups that fit the way you work.
You can group resources (like Droplets, Spaces, Load Balancers, domains, and Floating IPs)
in ways that align with the applications you host on DigitalOcean.
The following resource types can be associated with a project:
* Database Clusters
* Domains
* Droplets
* Floating IP
* Load Balancers
* Spaces Bucket
* Volume
**Note:** A provider managed project cannot be set as a default project.
## Example Usage
The following example demonstrates the creation of an empty project:
```python
import pulumi
import pulumi_digitalocean as digitalocean
playground = digitalocean.Project("playground",
description="A project to represent development resources.",
environment="Development",
purpose="Web Application")
```
The following example demonstrates the creation of a project with a Droplet resource:
```python
import pulumi
import pulumi_digitalocean as digitalocean
foobar = digitalocean.Droplet("foobar",
size="512mb",
image="centos-7-x64",
region="nyc3")
playground = digitalocean.Project("playground",
description="A project to represent development resources.",
purpose="Web Application",
environment="Development",
resources=[foobar.droplet_urn])
```
## Import
Projects can be imported using the `id` returned from DigitalOcean, e.g.
```sh
$ pulumi import digitalocean:index/project:Project myproject 245bcfd0-7f31-4ce6-a2bc-475a116cca97
```
:param str resource_name: The name of the resource.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[str] description: the description of the project
:param pulumi.Input[str] environment: the environment of the project's resources. The possible values are: `Development`, `Staging`, `Production`)
:param pulumi.Input[str] name: The name of the Project
:param pulumi.Input[str] purpose: the purpose of the project, (Default: "Web Application")
:param pulumi.Input[Sequence[pulumi.Input[str]]] resources: a list of uniform resource names (URNs) for the resources associated with the project
"""
...
@overload
def __init__(__self__,
resource_name: str,
args: Optional[ProjectArgs] = None,
opts: Optional[pulumi.ResourceOptions] = None):
"""
Provides a DigitalOcean Project resource.
Projects allow you to organize your resources into groups that fit the way you work.
You can group resources (like Droplets, Spaces, Load Balancers, domains, and Floating IPs)
in ways that align with the applications you host on DigitalOcean.
The following resource types can be associated with a project:
* Database Clusters
* Domains
* Droplets
* Floating IP
* Load Balancers
* Spaces Bucket
* Volume
**Note:** A provider managed project cannot be set as a default project.
## Example Usage
The following example demonstrates the creation of an empty project:
```python
import pulumi
import pulumi_digitalocean as digitalocean
playground = digitalocean.Project("playground",
description="A project to represent development resources.",
environment="Development",
purpose="Web Application")
```
The following example demonstrates the creation of a project with a Droplet resource:
```python
import pulumi
import pulumi_digitalocean as digitalocean
foobar = digitalocean.Droplet("foobar",
size="512mb",
image="centos-7-x64",
region="nyc3")
playground = digitalocean.Project("playground",
description="A project to represent development resources.",
purpose="Web Application",
environment="Development",
resources=[foobar.droplet_urn])
```
## Import
Projects can be imported using the `id` returned from DigitalOcean, e.g.
```sh
$ pulumi import digitalocean:index/project:Project myproject 245bcfd0-7f31-4ce6-a2bc-475a116cca97
```
:param str resource_name: The name of the resource.
:param ProjectArgs args: The arguments to use to populate this resource's properties.
:param pulumi.ResourceOptions opts: Options for the resource.
"""
...
def __init__(__self__, resource_name: str, *args, **kwargs):
resource_args, opts = _utilities.get_resource_args_opts(ProjectArgs, pulumi.ResourceOptions, *args, **kwargs)
if resource_args is not None:
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
else:
__self__._internal_init(resource_name, *args, **kwargs)
def _internal_init(__self__,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
description: Optional[pulumi.Input[str]] = None,
environment: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
purpose: Optional[pulumi.Input[str]] = None,
resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
__props__=None):
if opts is None:
opts = pulumi.ResourceOptions()
if not isinstance(opts, pulumi.ResourceOptions):
raise TypeError('Expected resource options to be a ResourceOptions instance')
if opts.version is None:
opts.version = _utilities.get_version()
if opts.id is None:
if __props__ is not None:
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
__props__ = ProjectArgs.__new__(ProjectArgs)
__props__.__dict__["description"] = description
__props__.__dict__["environment"] = environment
__props__.__dict__["name"] = name
__props__.__dict__["purpose"] = purpose
__props__.__dict__["resources"] = resources
__props__.__dict__["created_at"] = None
__props__.__dict__["is_default"] = None
__props__.__dict__["owner_id"] = None
__props__.__dict__["owner_uuid"] = None
__props__.__dict__["updated_at"] = None
super(Project, __self__).__init__(
'digitalocean:index/project:Project',
resource_name,
__props__,
opts)
@staticmethod
def get(resource_name: str,
id: pulumi.Input[str],
opts: Optional[pulumi.ResourceOptions] = None,
created_at: Optional[pulumi.Input[str]] = None,
description: Optional[pulumi.Input[str]] = None,
environment: Optional[pulumi.Input[str]] = None,
is_default: Optional[pulumi.Input[bool]] = None,
name: Optional[pulumi.Input[str]] = None,
owner_id: Optional[pulumi.Input[int]] = None,
owner_uuid: Optional[pulumi.Input[str]] = None,
purpose: Optional[pulumi.Input[str]] = None,
resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
updated_at: Optional[pulumi.Input[str]] = None) -> 'Project':
"""
Get an existing Project resource's state with the given name, id, and optional extra
properties used to qualify the lookup.
:param str resource_name: The unique name of the resulting resource.
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[str] created_at: the date and time when the project was created, (ISO8601)
:param pulumi.Input[str] description: the description of the project
:param pulumi.Input[str] environment: the environment of the project's resources. The possible values are: `Development`, `Staging`, `Production`)
:param pulumi.Input[str] name: The name of the Project
:param pulumi.Input[int] owner_id: the id of the project owner.
:param pulumi.Input[str] owner_uuid: the unique universal identifier of the project owner.
:param pulumi.Input[str] purpose: the purpose of the project, (Default: "Web Application")
:param pulumi.Input[Sequence[pulumi.Input[str]]] resources: a list of uniform resource names (URNs) for the resources associated with the project
:param pulumi.Input[str] updated_at: the date and time when the project was last updated, (ISO8601)
"""
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
__props__ = _ProjectState.__new__(_ProjectState)
__props__.__dict__["created_at"] = created_at
__props__.__dict__["description"] = description
__props__.__dict__["environment"] = environment
__props__.__dict__["is_default"] = is_default
__props__.__dict__["name"] = name
__props__.__dict__["owner_id"] = owner_id
__props__.__dict__["owner_uuid"] = owner_uuid
__props__.__dict__["purpose"] = purpose
__props__.__dict__["resources"] = resources
__props__.__dict__["updated_at"] = updated_at
return Project(resource_name, opts=opts, __props__=__props__)
@property
@pulumi.getter(name="createdAt")
def created_at(self) -> pulumi.Output[str]:
"""
the date and time when the project was created, (ISO8601)
"""
return pulumi.get(self, "created_at")
@property
@pulumi.getter
def description(self) -> pulumi.Output[Optional[str]]:
"""
the description of the project
"""
return pulumi.get(self, "description")
@property
@pulumi.getter
def environment(self) -> pulumi.Output[Optional[str]]:
"""
the environment of the project's resources. The possible values are: `Development`, `Staging`, `Production`)
"""
return pulumi.get(self, "environment")
@property
@pulumi.getter(name="isDefault")
def is_default(self) -> pulumi.Output[bool]:
return pulumi.get(self, "is_default")
@property
@pulumi.getter
def name(self) -> pulumi.Output[str]:
"""
The name of the Project
"""
return pulumi.get(self, "name")
@property
@pulumi.getter(name="ownerId")
def owner_id(self) -> pulumi.Output[int]:
"""
the id of the project owner.
"""
return pulumi.get(self, "owner_id")
@property
@pulumi.getter(name="ownerUuid")
def owner_uuid(self) -> pulumi.Output[str]:
"""
the unique universal identifier of the project owner.
"""
return pulumi.get(self, "owner_uuid")
@property
@pulumi.getter
def purpose(self) -> pulumi.Output[Optional[str]]:
"""
the purpose of the project, (Default: "Web Application")
"""
return pulumi.get(self, "purpose")
@property
@pulumi.getter
def resources(self) -> pulumi.Output[Sequence[str]]:
"""
a list of uniform resource names (URNs) for the resources associated with the project
"""
return pulumi.get(self, "resources")
@property
@pulumi.getter(name="updatedAt")
def updated_at(self) -> pulumi.Output[str]:
"""
the date and time when the project was last updated, (ISO8601)
"""
return pulumi.get(self, "updated_at")
| 39.043253
| 154
| 0.629237
| 2,558
| 22,567
| 5.373729
| 0.087177
| 0.088026
| 0.086571
| 0.076822
| 0.859959
| 0.829623
| 0.804016
| 0.786192
| 0.782482
| 0.748872
| 0
| 0.005006
| 0.265255
| 22,567
| 577
| 155
| 39.110919
| 0.824015
| 0.35769
| 0
| 0.679443
| 1
| 0
| 0.075068
| 0.002637
| 0
| 0
| 0
| 0
| 0
| 1
| 0.163763
| false
| 0.003484
| 0.017422
| 0.006969
| 0.28223
| 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
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
6294ae80beb76d1c3595c92947187385206e8fda
| 73
|
py
|
Python
|
.idea/VirtualEnvironment/Lib/site-packages/tests/outcomes/imports/test_import_package_3/random_module/main.py
|
Vladpetr/NewsPortal
|
cd4127fbc09d9c8f5e65c8ae699856c6d380a320
|
[
"Apache-2.0"
] | null | null | null |
.idea/VirtualEnvironment/Lib/site-packages/tests/outcomes/imports/test_import_package_3/random_module/main.py
|
Vladpetr/NewsPortal
|
cd4127fbc09d9c8f5e65c8ae699856c6d380a320
|
[
"Apache-2.0"
] | 5
|
2021-04-08T22:02:15.000Z
|
2022-02-10T14:53:45.000Z
|
.idea/VirtualEnvironment/Lib/site-packages/tests/outcomes/imports/test_import_package_3/random_module/main.py
|
Vladpetr/NewsPortal
|
cd4127fbc09d9c8f5e65c8ae699856c6d380a320
|
[
"Apache-2.0"
] | null | null | null |
import in1.in2.main2
import in1.file
print(in1.in2.main2.x + in1.file.y)
| 18.25
| 35
| 0.753425
| 15
| 73
| 3.666667
| 0.533333
| 0.327273
| 0.4
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.121212
| 0.09589
| 73
| 3
| 36
| 24.333333
| 0.712121
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.666667
| 0
| 0.666667
| 0.333333
| 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
|
6299ecbcc81892caebaf71c025e1fe62027d15b5
| 298
|
py
|
Python
|
tests/presentation/test_is_jupyter_notebook.py
|
abitoun-42/atpbar
|
fe5e4c24621b4707c5253be8ab2b5ae48f4801e3
|
[
"BSD-3-Clause"
] | 72
|
2019-02-24T15:49:57.000Z
|
2022-03-27T19:38:38.000Z
|
tests/presentation/test_is_jupyter_notebook.py
|
abitoun-42/atpbar
|
fe5e4c24621b4707c5253be8ab2b5ae48f4801e3
|
[
"BSD-3-Clause"
] | 24
|
2019-02-18T12:39:04.000Z
|
2022-01-19T02:14:56.000Z
|
tests/presentation/test_is_jupyter_notebook.py
|
abitoun-42/atpbar
|
fe5e4c24621b4707c5253be8ab2b5ae48f4801e3
|
[
"BSD-3-Clause"
] | 10
|
2019-04-19T15:39:32.000Z
|
2022-01-08T16:57:42.000Z
|
# Tai Sakuma <tai.sakuma@gmail.com>
from atpbar.presentation.create import is_jupyter_notebook
##__________________________________________________________________||
def test_is_jupyter_notebook():
is_jupyter_notebook()
##__________________________________________________________________||
| 29.8
| 70
| 0.862416
| 22
| 298
| 5.363636
| 0.636364
| 0.228814
| 0.432203
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.067114
| 298
| 9
| 71
| 33.111111
| 0.42446
| 0.567114
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| true
| 0
| 0.333333
| 0
| 0.666667
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 9
|
1a19a54b0162f35ae2531407f6d70254300ece50
| 4,620
|
py
|
Python
|
tests/test_logger.py
|
rameshKrSah/mle-logging
|
ab4b7b8f8ea46cdac170349f60137a4aae4666d3
|
[
"MIT"
] | 47
|
2021-08-23T14:30:59.000Z
|
2021-10-31T15:08:49.000Z
|
tests/test_logger.py
|
rameshKrSah/mle-logging
|
ab4b7b8f8ea46cdac170349f60137a4aae4666d3
|
[
"MIT"
] | 2
|
2021-08-24T11:26:26.000Z
|
2021-10-01T08:17:53.000Z
|
tests/test_logger.py
|
rameshKrSah/mle-logging
|
ab4b7b8f8ea46cdac170349f60137a4aae4666d3
|
[
"MIT"
] | 3
|
2021-08-24T16:53:31.000Z
|
2021-08-28T21:06:49.000Z
|
import os
import shutil
import numpy as np
import torch.nn as nn
import matplotlib.pyplot as plt
from mle_logging import MLELogger
log_config = {
"time_to_track": ["num_updates", "num_epochs"],
"what_to_track": ["train_loss", "test_loss"],
"experiment_dir": "experiment_dir/",
"config_fname": None,
"use_tboard": True,
"model_type": "torch",
}
time_tic = {"num_updates": 10, "num_epochs": 1}
stats_tic = {"train_loss": 0.1234, "test_loss": 0.1235}
class DummyModel(nn.Module):
def __init__(self):
super(DummyModel, self).__init__()
self.fc1 = nn.Linear(16 * 5 * 5, 120)
self.fc2 = nn.Linear(120, 84)
self.fc3 = nn.Linear(84, 10)
def forward(self, x):
x = self.fc1(x)
x = self.fc2(x)
x = self.fc3(x)
return x
model = DummyModel()
fig, ax = plt.subplots()
ax.plot(np.random.normal(0, 1, 20))
some_dict = {"hi": "there"}
def test_update_log():
# Remove experiment dir at start of test
if os.path.exists(log_config["experiment_dir"]) and os.path.isdir(
log_config["experiment_dir"]
):
shutil.rmtree(log_config["experiment_dir"])
# Instantiate logging to experiment_dir
log = MLELogger(**log_config)
# Update the log with collected data & save it to .hdf5
log.update(time_tic, stats_tic)
log.save()
# Assert the existence of the files
assert os.path.exists(os.path.join(log_config["experiment_dir"], "logs"))
assert os.path.exists(os.path.join(log_config["experiment_dir"], "tboards"))
file_to_check = os.path.join(
log_config["experiment_dir"], "logs", "log_no_seed_provided.hdf5"
)
assert os.path.exists(file_to_check)
# Finally -- clean up
shutil.rmtree(log_config["experiment_dir"])
def test_save_plot():
# Remove experiment dir at start of test
if os.path.exists(log_config["experiment_dir"]) and os.path.isdir(
log_config["experiment_dir"]
):
shutil.rmtree(log_config["experiment_dir"])
# Instantiate logging to experiment_dir
log = MLELogger(**log_config)
# Save a matplotlib figure as .png
log.save_plot(fig)
# Assert the existence of the files
file_to_check = os.path.join(
log_config["experiment_dir"], "figures", "fig_1_no_seed_provided.png"
)
assert os.path.exists(file_to_check)
# Finally -- clean up
shutil.rmtree(log_config["experiment_dir"])
def test_save_extra():
# Remove experiment dir at start of test
if os.path.exists(log_config["experiment_dir"]) and os.path.isdir(
log_config["experiment_dir"]
):
shutil.rmtree(log_config["experiment_dir"])
# Instantiate logging to experiment_dir
log = MLELogger(**log_config)
# Save a dict as a .pkl object
log.save_extra(some_dict)
# Assert the existence of the files
file_to_check = os.path.join(
log_config["experiment_dir"], "extra", "extra_1_no_seed_provided.pkl"
)
assert os.path.exists(file_to_check)
# Finally -- clean up
shutil.rmtree(log_config["experiment_dir"])
def test_all_in_one():
# Remove experiment dir at start of test
if os.path.exists(log_config["experiment_dir"]) and os.path.isdir(
log_config["experiment_dir"]
):
shutil.rmtree(log_config["experiment_dir"])
# Instantiate logging to experiment_dir
log = MLELogger(**log_config)
# Save a dict as a .pkl object
log.save_init_model(model)
log.update(time_tic, stats_tic, model, fig, some_dict, save=True)
# Assert the existence of the files
assert os.path.exists(os.path.join(log_config["experiment_dir"], "logs"))
assert os.path.exists(os.path.join(log_config["experiment_dir"], "tboards"))
file_to_check = os.path.join(
log_config["experiment_dir"], "logs", "log_no_seed_provided.hdf5"
)
assert os.path.exists(file_to_check)
file_to_check = os.path.join(
log_config["experiment_dir"], "models/init", "init_no_seed_provided.pt"
)
assert os.path.exists(file_to_check)
file_to_check = os.path.join(
log_config["experiment_dir"], "models/final", "final_no_seed_provided.pt"
)
assert os.path.exists(file_to_check)
file_to_check = os.path.join(
log_config["experiment_dir"], "figures", "fig_1_no_seed_provided.png"
)
assert os.path.exists(file_to_check)
file_to_check = os.path.join(
log_config["experiment_dir"], "extra", "extra_1_no_seed_provided.pkl"
)
assert os.path.exists(file_to_check)
# Finally -- clean up
shutil.rmtree(log_config["experiment_dir"])
| 29.056604
| 81
| 0.674459
| 668
| 4,620
| 4.405689
| 0.176647
| 0.167856
| 0.180768
| 0.20931
| 0.752294
| 0.752294
| 0.735984
| 0.735984
| 0.735984
| 0.735984
| 0
| 0.012446
| 0.2
| 4,620
| 158
| 82
| 29.240506
| 0.78382
| 0.144589
| 0
| 0.49505
| 0
| 0
| 0.217502
| 0.052658
| 0
| 0
| 0
| 0
| 0.118812
| 1
| 0.059406
| false
| 0
| 0.059406
| 0
| 0.138614
| 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
|
a7e8f78b574d225d732158746091f7be8930dfaa
| 253
|
py
|
Python
|
scimitar/core/modules/__init__.py
|
aloheac/scimitar
|
b37424699600fbdf4677edccf26d5c782aa794c3
|
[
"BSD-3-Clause"
] | null | null | null |
scimitar/core/modules/__init__.py
|
aloheac/scimitar
|
b37424699600fbdf4677edccf26d5c782aa794c3
|
[
"BSD-3-Clause"
] | null | null | null |
scimitar/core/modules/__init__.py
|
aloheac/scimitar
|
b37424699600fbdf4677edccf26d5c782aa794c3
|
[
"BSD-3-Clause"
] | null | null | null |
from scimitar.core.modules.BaseModules import *
from scimitar.core.modules.CheckStatus import *
from scimitar.core.modules.DirectoryStructure import *
from scimitar.core.modules.ResourceManager import *
from scimitar.core.modules.HeaderModule import *
| 36.142857
| 54
| 0.837945
| 30
| 253
| 7.066667
| 0.333333
| 0.283019
| 0.377358
| 0.542453
| 0.54717
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.083004
| 253
| 6
| 55
| 42.166667
| 0.913793
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 0
| 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
| 7
|
c5022055b042ebb69710a5267104ce788c44e3f0
| 80
|
py
|
Python
|
embedding_propagation/__init__.py
|
LeoXinhaoLee/embedding-propagation
|
449bb03ab798b6ab56e0623a297c83159247a292
|
[
"Apache-2.0"
] | 184
|
2020-03-10T10:07:22.000Z
|
2022-03-24T07:30:24.000Z
|
embedding_propagation/__init__.py
|
LeoXinhaoLee/embedding-propagation
|
449bb03ab798b6ab56e0623a297c83159247a292
|
[
"Apache-2.0"
] | 22
|
2020-03-10T17:32:22.000Z
|
2022-03-21T17:06:41.000Z
|
embedding_propagation/__init__.py
|
LeoXinhaoLee/embedding-propagation
|
449bb03ab798b6ab56e0623a297c83159247a292
|
[
"Apache-2.0"
] | 24
|
2020-03-11T09:48:30.000Z
|
2022-01-20T06:47:39.000Z
|
from .embedding_propagation import *
from .batch_embedding_propagation import *
| 26.666667
| 42
| 0.85
| 9
| 80
| 7.222222
| 0.555556
| 0.615385
| 0.8
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.1
| 80
| 2
| 43
| 40
| 0.902778
| 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
|
c56eee37e7c0cca978ea47c4d0ce43b723be972d
| 25,324
|
py
|
Python
|
a10sdk/core/slb/slb_sip.py
|
deepfield/a10sdk-python
|
bfaa58099f51f085d5e91652d1d1a3fd5c529d5d
|
[
"Apache-2.0"
] | 16
|
2015-05-20T07:26:30.000Z
|
2021-01-23T11:56:57.000Z
|
a10sdk/core/slb/slb_sip.py
|
deepfield/a10sdk-python
|
bfaa58099f51f085d5e91652d1d1a3fd5c529d5d
|
[
"Apache-2.0"
] | 6
|
2015-03-24T22:07:11.000Z
|
2017-03-28T21:31:18.000Z
|
a10sdk/core/slb/slb_sip.py
|
deepfield/a10sdk-python
|
bfaa58099f51f085d5e91652d1d1a3fd5c529d5d
|
[
"Apache-2.0"
] | 23
|
2015-03-29T15:43:01.000Z
|
2021-06-02T17:12:01.000Z
|
from a10sdk.common.A10BaseClass import A10BaseClass
class SamplingEnable(A10BaseClass):
"""This class does not support CRUD Operations please use parent.
:param counters1: {"enum": ["all", "msg_proxy_current", "msg_proxy_total", "msg_proxy_mem_allocd", "msg_proxy_mem_cached", "msg_proxy_mem_freed", "msg_proxy_client_recv", "msg_proxy_client_send_success", "msg_proxy_client_incomplete", "msg_proxy_client_drop", "msg_proxy_client_connection", "msg_proxy_client_fail", "msg_proxy_client_fail_parse", "msg_proxy_client_fail_process", "msg_proxy_client_fail_snat", "msg_proxy_client_exceed_tmp_buff", "msg_proxy_client_fail_send_pkt", "msg_proxy_client_fail_start_server_Conn", "msg_proxy_server_recv", "msg_proxy_server_send_success", "msg_proxy_server_incomplete", "msg_proxy_server_drop", "msg_proxy_server_fail", "msg_proxy_server_fail_parse", "msg_proxy_server_fail_process", "msg_proxy_server_fail_selec_connt", "msg_proxy_server_fail_snat", "msg_proxy_server_exceed_tmp_buff", "msg_proxy_server_fail_send_pkt", "msg_proxy_create_server_conn", "msg_proxy_start_server_conn", "msg_proxy_fail_start_server_conn", "msg_proxy_server_conn_fail_snat", "msg_proxy_fail_construct_server_conn", "msg_proxy_fail_reserve_pconn", "msg_proxy_start_server_conn_failed", "msg_proxy_server_conn_already_exists", "msg_proxy_fail_insert_server_conn", "msg_proxy_parse_msg_fail", "msg_proxy_process_msg_fail", "msg_proxy_no_vport", "msg_proxy_fail_select_server", "msg_proxy_fail_alloc_mem", "msg_proxy_unexpected_err", "msg_proxy_l7_cpu_failed", "msg_proxy_l4_to_l7", "msg_proxy_l4_from_l7", "msg_proxy_to_l4_send_pkt", "msg_proxy_l4_from_l4_send", "msg_proxy_l7_to_L4", "msg_proxy_mag_back", "msg_proxy_fail_dcmsg", "msg_proxy_deprecated_conn", "msg_proxy_hold_msg", "msg_proxy_split_pkt", "msg_proxy_pipline_msg", "msg_proxy_client_reset", "msg_proxy_server_reset", "session_created", "session_freed", "session_in_rml", "session_invalid", "conn_allocd", "conn_freed", "session_callid_allocd", "session_callid_freed", "line_mem_allocd", "line_mem_freed", "table_mem_allocd", "table_mem_freed", "cmsg_no_uri_header", "cmsg_no_uri_session", "sg_no_uri_header", "smsg_no_uri_session", "line_too_long", "fail_read_start_line", "fail_parse_start_line", "invalid_start_line", "request_unknow_version", "response_unknow_version", "request_unknow", "fail_parse_headers", "too_many_headers", "invalid_header", "header_name_too_long", "body_too_big", "fail_get_counter", "msg_no_call_id", "identify_dir_failed", "no_sip_request", "deprecated_msg", "fail_insert_callid_session", "fail_insert_uri_session", "fail_insert_header", "select_server_conn", "select_server_conn_by_callid", "select_server_conn_by_uri", "select_server_conn_by_rev_tuple", "select_server_conn_failed", "select_client_conn", "X_forward_for_select_client", "call_id_select_client", "uri_select_client", "client_select_failed", "acl_denied", "assemble_frag_failed", "wrong_ip_version", "size_too_large", "fail_split_fragment", "client_keepalive_received", "server_keepalive_received", "client_keepalive_send", "server_keepalive_send", "ax_health_check_received", "client_request", "client_request_ok", "concatenate_msg", "save_uri", "save_uri_ok", "save_call_id", "save_call_id_ok", "msg_translation", "msg_translation_fail", "msg_trans_start_line", "msg_trans_start_headers", "msg_trans_body", "request_register", "request_invite", "request_ack", "request_cancel", "request_bye", "request_options", "request_prack", "request_subscribe", "request_notify", "request_publish", "request_info", "request_refer", "request_message", "request_update", "response_unknow", "response_1XX", "response_2XX", "response_3XX", "response_4XX", "response_5XX", "response_6XX", "ha_send_sip_session", "ha_send_sip_session_ok", "ha_fail_get_msg_header", "ha_recv_sip_session", "ha_insert_sip_session_ok", "ha_update_sip_session_ok", "ha_invalid_pkt", "ha_fail_alloc_sip_session", "ha_fail_alloc_call_id", "ha_fail_clone_sip_session", "save_smp_call_id_rtp", "update_smp_call_id_rtp", "smp_call_id_rtp_session_match", "smp_call_id_rtp_session_not_match", "process-error-when-message-switch"], "type": "string", "description": "'all': all; 'msg_proxy_current': Number of current sip proxy connections; 'msg_proxy_total': Total number of sip proxy connections; 'msg_proxy_mem_allocd': msg_proxy_mem_allocd; 'msg_proxy_mem_cached': msg_proxy_mem_cached; 'msg_proxy_mem_freed': msg_proxy_mem_freed; 'msg_proxy_client_recv': Number of SIP messages received from client; 'msg_proxy_client_send_success': Number of SIP messages received from client and forwarded to server; 'msg_proxy_client_incomplete': Number of packet which contains incomplete message; 'msg_proxy_client_drop': Number of AX drop; 'msg_proxy_client_connection': Connecting server; 'msg_proxy_client_fail': Number of SIP messages received from client but failed to forward to server; 'msg_proxy_client_fail_parse': msg_proxy_client_fail_parse; 'msg_proxy_client_fail_process': msg_proxy_client_fail_process; 'msg_proxy_client_fail_snat': msg_proxy_client_fail_snat; 'msg_proxy_client_exceed_tmp_buff': msg_proxy_client_exceed_tmp_buff; 'msg_proxy_client_fail_send_pkt': msg_proxy_client_fail_send_pkt; 'msg_proxy_client_fail_start_server_Conn': msg_proxy_client_fail_start_server_Conn; 'msg_proxy_server_recv': Number of SIP messages received from server; 'msg_proxy_server_send_success': Number of SIP messages received from server and forwarded to client; 'msg_proxy_server_incomplete': Number of packet which contains incomplete message; 'msg_proxy_server_drop': Number of AX drop; 'msg_proxy_server_fail': Number of SIP messages received from server but failed to forward to client; 'msg_proxy_server_fail_parse': msg_proxy_server_fail_parse; 'msg_proxy_server_fail_process': msg_proxy_server_fail_process; 'msg_proxy_server_fail_selec_connt': msg_proxy_server_fail_selec_connt; 'msg_proxy_server_fail_snat': msg_proxy_server_fail_snat; 'msg_proxy_server_exceed_tmp_buff': msg_proxy_server_exceed_tmp_buff; 'msg_proxy_server_fail_send_pkt': msg_proxy_server_fail_send_pkt; 'msg_proxy_create_server_conn': Number of server connection system tries to create; 'msg_proxy_start_server_conn': Number of server connection created successfully; 'msg_proxy_fail_start_server_conn': Number of server connection create failed; 'msg_proxy_server_conn_fail_snat': msg_proxy_server_conn_fail_snat; 'msg_proxy_fail_construct_server_conn': msg_proxy_fail_construct_server_conn; 'msg_proxy_fail_reserve_pconn': msg_proxy_fail_reserve_pconn; 'msg_proxy_start_server_conn_failed': msg_proxy_start_server_conn_failed; 'msg_proxy_server_conn_already_exists': msg_proxy_server_conn_already_exists; 'msg_proxy_fail_insert_server_conn': msg_proxy_fail_insert_server_conn; 'msg_proxy_parse_msg_fail': msg_proxy_parse_msg_fail; 'msg_proxy_process_msg_fail': msg_proxy_process_msg_fail; 'msg_proxy_no_vport': msg_proxy_no_vport; 'msg_proxy_fail_select_server': msg_proxy_fail_select_server; 'msg_proxy_fail_alloc_mem': msg_proxy_fail_alloc_mem; 'msg_proxy_unexpected_err': msg_proxy_unexpected_err; 'msg_proxy_l7_cpu_failed': msg_proxy_l7_cpu_failed; 'msg_proxy_l4_to_l7': msg_proxy_l4_to_l7; 'msg_proxy_l4_from_l7': msg_proxy_l4_from_l7; 'msg_proxy_to_l4_send_pkt': msg_proxy_to_l4_send_pkt; 'msg_proxy_l4_from_l4_send': msg_proxy_l4_from_l4_send; 'msg_proxy_l7_to_L4': msg_proxy_l7_to_L4; 'msg_proxy_mag_back': msg_proxy_mag_back; 'msg_proxy_fail_dcmsg': msg_proxy_fail_dcmsg; 'msg_proxy_deprecated_conn': msg_proxy_deprecated_conn; 'msg_proxy_hold_msg': msg_proxy_hold_msg; 'msg_proxy_split_pkt': msg_proxy_split_pkt; 'msg_proxy_pipline_msg': msg_proxy_pipline_msg; 'msg_proxy_client_reset': msg_proxy_client_reset; 'msg_proxy_server_reset': msg_proxy_server_reset; 'session_created': SIP Session created; 'session_freed': SIP Session freed; 'session_in_rml': session_in_rml; 'session_invalid': session_invalid; 'conn_allocd': conn_allocd; 'conn_freed': conn_freed; 'session_callid_allocd': session_callid_allocd; 'session_callid_freed': session_callid_freed; 'line_mem_allocd': line_mem_allocd; 'line_mem_freed': line_mem_freed; 'table_mem_allocd': table_mem_allocd; 'table_mem_freed': table_mem_freed; 'cmsg_no_uri_header': cmsg_no_uri_header; 'cmsg_no_uri_session': cmsg_no_uri_session; 'sg_no_uri_header': sg_no_uri_header; 'smsg_no_uri_session': smsg_no_uri_session; 'line_too_long': line_too_long; 'fail_read_start_line': fail_read_start_line; 'fail_parse_start_line': fail_parse_start_line; 'invalid_start_line': invalid_start_line; 'request_unknow_version': request_unknow_version; 'response_unknow_version': response_unknow_version; 'request_unknow': request_unknow; 'fail_parse_headers': fail_parse_headers; 'too_many_headers': too_many_headers; 'invalid_header': invalid_header; 'header_name_too_long': header_name_too_long; 'body_too_big': body_too_big; 'fail_get_counter': fail_get_counter; 'msg_no_call_id': msg_no_call_id; 'identify_dir_failed': identify_dir_failed; 'no_sip_request': no_sip_request; 'deprecated_msg': deprecated_msg; 'fail_insert_callid_session': fail_insert_callid_session; 'fail_insert_uri_session': fail_insert_uri_session; 'fail_insert_header': fail_insert_header; 'select_server_conn': select_server_conn; 'select_server_conn_by_callid': select_server_conn_by_callid; 'select_server_conn_by_uri': select_server_conn_by_uri; 'select_server_conn_by_rev_tuple': select_server_conn_by_rev_tuple; 'select_server_conn_failed': select_server_conn_failed; 'select_client_conn': select_client_conn; 'X_forward_for_select_client': X_forward_for_select_client; 'call_id_select_client': call_id_select_client; 'uri_select_client': uri_select_client; 'client_select_failed': client_select_failed; 'acl_denied': acl_denied; 'assemble_frag_failed': assemble_frag_failed; 'wrong_ip_version': wrong_ip_version; 'size_too_large': size_too_large; 'fail_split_fragment': fail_split_fragment; 'client_keepalive_received': client_keepalive_received; 'server_keepalive_received': server_keepalive_received; 'client_keepalive_send': client_keepalive_send; 'server_keepalive_send': server_keepalive_send; 'ax_health_check_received': ax_health_check_received; 'client_request': client_request; 'client_request_ok': client_request_ok; 'concatenate_msg': concatenate_msg; 'save_uri': save_uri; 'save_uri_ok': save_uri_ok; 'save_call_id': save_call_id; 'save_call_id_ok': save_call_id_ok; 'msg_translation': msg_translation; 'msg_translation_fail': msg_translation_fail; 'msg_trans_start_line': msg_trans_start_line; 'msg_trans_start_headers': msg_trans_start_headers; 'msg_trans_body': msg_trans_body; 'request_register': request_register; 'request_invite': request_invite; 'request_ack': request_ack; 'request_cancel': request_cancel; 'request_bye': request_bye; 'request_options': request_options; 'request_prack': request_prack; 'request_subscribe': request_subscribe; 'request_notify': request_notify; 'request_publish': request_publish; 'request_info': request_info; 'request_refer': request_refer; 'request_message': request_message; 'request_update': request_update; 'response_unknow': response_unknow; 'response_1XX': response_1XX; 'response_2XX': response_2XX; 'response_3XX': response_3XX; 'response_4XX': response_4XX; 'response_5XX': response_5XX; 'response_6XX': response_6XX; 'ha_send_sip_session': ha_send_sip_session; 'ha_send_sip_session_ok': ha_send_sip_session_ok; 'ha_fail_get_msg_header': ha_fail_get_msg_header; 'ha_recv_sip_session': ha_recv_sip_session; 'ha_insert_sip_session_ok': ha_insert_sip_session_ok; 'ha_update_sip_session_ok': ha_update_sip_session_ok; 'ha_invalid_pkt': ha_invalid_pkt; 'ha_fail_alloc_sip_session': ha_fail_alloc_sip_session; 'ha_fail_alloc_call_id': ha_fail_alloc_call_id; 'ha_fail_clone_sip_session': ha_fail_clone_sip_session; 'save_smp_call_id_rtp': save_smp_call_id_rtp; 'update_smp_call_id_rtp': update_smp_call_id_rtp; 'smp_call_id_rtp_session_match': smp_call_id_rtp_session_match; 'smp_call_id_rtp_session_not_match': smp_call_id_rtp_session_not_match; 'process-error-when-message-switch': process-error-when-message-switch; ", "format": "enum"}
:param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py`
"""
def __init__(self, **kwargs):
self.ERROR_MSG = ""
self.b_key = "sampling-enable"
self.DeviceProxy = ""
self.counters1 = ""
for keys, value in kwargs.items():
setattr(self,keys, value)
class Sip(A10BaseClass):
""" :param sampling_enable: {"minItems": 1, "items": {"type": "object"}, "uniqueItems": true, "type": "array", "array": [{"properties": {"optional": true, "counters1": {"enum": ["all", "msg_proxy_current", "msg_proxy_total", "msg_proxy_mem_allocd", "msg_proxy_mem_cached", "msg_proxy_mem_freed", "msg_proxy_client_recv", "msg_proxy_client_send_success", "msg_proxy_client_incomplete", "msg_proxy_client_drop", "msg_proxy_client_connection", "msg_proxy_client_fail", "msg_proxy_client_fail_parse", "msg_proxy_client_fail_process", "msg_proxy_client_fail_snat", "msg_proxy_client_exceed_tmp_buff", "msg_proxy_client_fail_send_pkt", "msg_proxy_client_fail_start_server_Conn", "msg_proxy_server_recv", "msg_proxy_server_send_success", "msg_proxy_server_incomplete", "msg_proxy_server_drop", "msg_proxy_server_fail", "msg_proxy_server_fail_parse", "msg_proxy_server_fail_process", "msg_proxy_server_fail_selec_connt", "msg_proxy_server_fail_snat", "msg_proxy_server_exceed_tmp_buff", "msg_proxy_server_fail_send_pkt", "msg_proxy_create_server_conn", "msg_proxy_start_server_conn", "msg_proxy_fail_start_server_conn", "msg_proxy_server_conn_fail_snat", "msg_proxy_fail_construct_server_conn", "msg_proxy_fail_reserve_pconn", "msg_proxy_start_server_conn_failed", "msg_proxy_server_conn_already_exists", "msg_proxy_fail_insert_server_conn", "msg_proxy_parse_msg_fail", "msg_proxy_process_msg_fail", "msg_proxy_no_vport", "msg_proxy_fail_select_server", "msg_proxy_fail_alloc_mem", "msg_proxy_unexpected_err", "msg_proxy_l7_cpu_failed", "msg_proxy_l4_to_l7", "msg_proxy_l4_from_l7", "msg_proxy_to_l4_send_pkt", "msg_proxy_l4_from_l4_send", "msg_proxy_l7_to_L4", "msg_proxy_mag_back", "msg_proxy_fail_dcmsg", "msg_proxy_deprecated_conn", "msg_proxy_hold_msg", "msg_proxy_split_pkt", "msg_proxy_pipline_msg", "msg_proxy_client_reset", "msg_proxy_server_reset", "session_created", "session_freed", "session_in_rml", "session_invalid", "conn_allocd", "conn_freed", "session_callid_allocd", "session_callid_freed", "line_mem_allocd", "line_mem_freed", "table_mem_allocd", "table_mem_freed", "cmsg_no_uri_header", "cmsg_no_uri_session", "sg_no_uri_header", "smsg_no_uri_session", "line_too_long", "fail_read_start_line", "fail_parse_start_line", "invalid_start_line", "request_unknow_version", "response_unknow_version", "request_unknow", "fail_parse_headers", "too_many_headers", "invalid_header", "header_name_too_long", "body_too_big", "fail_get_counter", "msg_no_call_id", "identify_dir_failed", "no_sip_request", "deprecated_msg", "fail_insert_callid_session", "fail_insert_uri_session", "fail_insert_header", "select_server_conn", "select_server_conn_by_callid", "select_server_conn_by_uri", "select_server_conn_by_rev_tuple", "select_server_conn_failed", "select_client_conn", "X_forward_for_select_client", "call_id_select_client", "uri_select_client", "client_select_failed", "acl_denied", "assemble_frag_failed", "wrong_ip_version", "size_too_large", "fail_split_fragment", "client_keepalive_received", "server_keepalive_received", "client_keepalive_send", "server_keepalive_send", "ax_health_check_received", "client_request", "client_request_ok", "concatenate_msg", "save_uri", "save_uri_ok", "save_call_id", "save_call_id_ok", "msg_translation", "msg_translation_fail", "msg_trans_start_line", "msg_trans_start_headers", "msg_trans_body", "request_register", "request_invite", "request_ack", "request_cancel", "request_bye", "request_options", "request_prack", "request_subscribe", "request_notify", "request_publish", "request_info", "request_refer", "request_message", "request_update", "response_unknow", "response_1XX", "response_2XX", "response_3XX", "response_4XX", "response_5XX", "response_6XX", "ha_send_sip_session", "ha_send_sip_session_ok", "ha_fail_get_msg_header", "ha_recv_sip_session", "ha_insert_sip_session_ok", "ha_update_sip_session_ok", "ha_invalid_pkt", "ha_fail_alloc_sip_session", "ha_fail_alloc_call_id", "ha_fail_clone_sip_session", "save_smp_call_id_rtp", "update_smp_call_id_rtp", "smp_call_id_rtp_session_match", "smp_call_id_rtp_session_not_match", "process-error-when-message-switch"], "type": "string", "description": "'all': all; 'msg_proxy_current': Number of current sip proxy connections; 'msg_proxy_total': Total number of sip proxy connections; 'msg_proxy_mem_allocd': msg_proxy_mem_allocd; 'msg_proxy_mem_cached': msg_proxy_mem_cached; 'msg_proxy_mem_freed': msg_proxy_mem_freed; 'msg_proxy_client_recv': Number of SIP messages received from client; 'msg_proxy_client_send_success': Number of SIP messages received from client and forwarded to server; 'msg_proxy_client_incomplete': Number of packet which contains incomplete message; 'msg_proxy_client_drop': Number of AX drop; 'msg_proxy_client_connection': Connecting server; 'msg_proxy_client_fail': Number of SIP messages received from client but failed to forward to server; 'msg_proxy_client_fail_parse': msg_proxy_client_fail_parse; 'msg_proxy_client_fail_process': msg_proxy_client_fail_process; 'msg_proxy_client_fail_snat': msg_proxy_client_fail_snat; 'msg_proxy_client_exceed_tmp_buff': msg_proxy_client_exceed_tmp_buff; 'msg_proxy_client_fail_send_pkt': msg_proxy_client_fail_send_pkt; 'msg_proxy_client_fail_start_server_Conn': msg_proxy_client_fail_start_server_Conn; 'msg_proxy_server_recv': Number of SIP messages received from server; 'msg_proxy_server_send_success': Number of SIP messages received from server and forwarded to client; 'msg_proxy_server_incomplete': Number of packet which contains incomplete message; 'msg_proxy_server_drop': Number of AX drop; 'msg_proxy_server_fail': Number of SIP messages received from server but failed to forward to client; 'msg_proxy_server_fail_parse': msg_proxy_server_fail_parse; 'msg_proxy_server_fail_process': msg_proxy_server_fail_process; 'msg_proxy_server_fail_selec_connt': msg_proxy_server_fail_selec_connt; 'msg_proxy_server_fail_snat': msg_proxy_server_fail_snat; 'msg_proxy_server_exceed_tmp_buff': msg_proxy_server_exceed_tmp_buff; 'msg_proxy_server_fail_send_pkt': msg_proxy_server_fail_send_pkt; 'msg_proxy_create_server_conn': Number of server connection system tries to create; 'msg_proxy_start_server_conn': Number of server connection created successfully; 'msg_proxy_fail_start_server_conn': Number of server connection create failed; 'msg_proxy_server_conn_fail_snat': msg_proxy_server_conn_fail_snat; 'msg_proxy_fail_construct_server_conn': msg_proxy_fail_construct_server_conn; 'msg_proxy_fail_reserve_pconn': msg_proxy_fail_reserve_pconn; 'msg_proxy_start_server_conn_failed': msg_proxy_start_server_conn_failed; 'msg_proxy_server_conn_already_exists': msg_proxy_server_conn_already_exists; 'msg_proxy_fail_insert_server_conn': msg_proxy_fail_insert_server_conn; 'msg_proxy_parse_msg_fail': msg_proxy_parse_msg_fail; 'msg_proxy_process_msg_fail': msg_proxy_process_msg_fail; 'msg_proxy_no_vport': msg_proxy_no_vport; 'msg_proxy_fail_select_server': msg_proxy_fail_select_server; 'msg_proxy_fail_alloc_mem': msg_proxy_fail_alloc_mem; 'msg_proxy_unexpected_err': msg_proxy_unexpected_err; 'msg_proxy_l7_cpu_failed': msg_proxy_l7_cpu_failed; 'msg_proxy_l4_to_l7': msg_proxy_l4_to_l7; 'msg_proxy_l4_from_l7': msg_proxy_l4_from_l7; 'msg_proxy_to_l4_send_pkt': msg_proxy_to_l4_send_pkt; 'msg_proxy_l4_from_l4_send': msg_proxy_l4_from_l4_send; 'msg_proxy_l7_to_L4': msg_proxy_l7_to_L4; 'msg_proxy_mag_back': msg_proxy_mag_back; 'msg_proxy_fail_dcmsg': msg_proxy_fail_dcmsg; 'msg_proxy_deprecated_conn': msg_proxy_deprecated_conn; 'msg_proxy_hold_msg': msg_proxy_hold_msg; 'msg_proxy_split_pkt': msg_proxy_split_pkt; 'msg_proxy_pipline_msg': msg_proxy_pipline_msg; 'msg_proxy_client_reset': msg_proxy_client_reset; 'msg_proxy_server_reset': msg_proxy_server_reset; 'session_created': SIP Session created; 'session_freed': SIP Session freed; 'session_in_rml': session_in_rml; 'session_invalid': session_invalid; 'conn_allocd': conn_allocd; 'conn_freed': conn_freed; 'session_callid_allocd': session_callid_allocd; 'session_callid_freed': session_callid_freed; 'line_mem_allocd': line_mem_allocd; 'line_mem_freed': line_mem_freed; 'table_mem_allocd': table_mem_allocd; 'table_mem_freed': table_mem_freed; 'cmsg_no_uri_header': cmsg_no_uri_header; 'cmsg_no_uri_session': cmsg_no_uri_session; 'sg_no_uri_header': sg_no_uri_header; 'smsg_no_uri_session': smsg_no_uri_session; 'line_too_long': line_too_long; 'fail_read_start_line': fail_read_start_line; 'fail_parse_start_line': fail_parse_start_line; 'invalid_start_line': invalid_start_line; 'request_unknow_version': request_unknow_version; 'response_unknow_version': response_unknow_version; 'request_unknow': request_unknow; 'fail_parse_headers': fail_parse_headers; 'too_many_headers': too_many_headers; 'invalid_header': invalid_header; 'header_name_too_long': header_name_too_long; 'body_too_big': body_too_big; 'fail_get_counter': fail_get_counter; 'msg_no_call_id': msg_no_call_id; 'identify_dir_failed': identify_dir_failed; 'no_sip_request': no_sip_request; 'deprecated_msg': deprecated_msg; 'fail_insert_callid_session': fail_insert_callid_session; 'fail_insert_uri_session': fail_insert_uri_session; 'fail_insert_header': fail_insert_header; 'select_server_conn': select_server_conn; 'select_server_conn_by_callid': select_server_conn_by_callid; 'select_server_conn_by_uri': select_server_conn_by_uri; 'select_server_conn_by_rev_tuple': select_server_conn_by_rev_tuple; 'select_server_conn_failed': select_server_conn_failed; 'select_client_conn': select_client_conn; 'X_forward_for_select_client': X_forward_for_select_client; 'call_id_select_client': call_id_select_client; 'uri_select_client': uri_select_client; 'client_select_failed': client_select_failed; 'acl_denied': acl_denied; 'assemble_frag_failed': assemble_frag_failed; 'wrong_ip_version': wrong_ip_version; 'size_too_large': size_too_large; 'fail_split_fragment': fail_split_fragment; 'client_keepalive_received': client_keepalive_received; 'server_keepalive_received': server_keepalive_received; 'client_keepalive_send': client_keepalive_send; 'server_keepalive_send': server_keepalive_send; 'ax_health_check_received': ax_health_check_received; 'client_request': client_request; 'client_request_ok': client_request_ok; 'concatenate_msg': concatenate_msg; 'save_uri': save_uri; 'save_uri_ok': save_uri_ok; 'save_call_id': save_call_id; 'save_call_id_ok': save_call_id_ok; 'msg_translation': msg_translation; 'msg_translation_fail': msg_translation_fail; 'msg_trans_start_line': msg_trans_start_line; 'msg_trans_start_headers': msg_trans_start_headers; 'msg_trans_body': msg_trans_body; 'request_register': request_register; 'request_invite': request_invite; 'request_ack': request_ack; 'request_cancel': request_cancel; 'request_bye': request_bye; 'request_options': request_options; 'request_prack': request_prack; 'request_subscribe': request_subscribe; 'request_notify': request_notify; 'request_publish': request_publish; 'request_info': request_info; 'request_refer': request_refer; 'request_message': request_message; 'request_update': request_update; 'response_unknow': response_unknow; 'response_1XX': response_1XX; 'response_2XX': response_2XX; 'response_3XX': response_3XX; 'response_4XX': response_4XX; 'response_5XX': response_5XX; 'response_6XX': response_6XX; 'ha_send_sip_session': ha_send_sip_session; 'ha_send_sip_session_ok': ha_send_sip_session_ok; 'ha_fail_get_msg_header': ha_fail_get_msg_header; 'ha_recv_sip_session': ha_recv_sip_session; 'ha_insert_sip_session_ok': ha_insert_sip_session_ok; 'ha_update_sip_session_ok': ha_update_sip_session_ok; 'ha_invalid_pkt': ha_invalid_pkt; 'ha_fail_alloc_sip_session': ha_fail_alloc_sip_session; 'ha_fail_alloc_call_id': ha_fail_alloc_call_id; 'ha_fail_clone_sip_session': ha_fail_clone_sip_session; 'save_smp_call_id_rtp': save_smp_call_id_rtp; 'update_smp_call_id_rtp': update_smp_call_id_rtp; 'smp_call_id_rtp_session_match': smp_call_id_rtp_session_match; 'smp_call_id_rtp_session_not_match': smp_call_id_rtp_session_not_match; 'process-error-when-message-switch': process-error-when-message-switch; ", "format": "enum"}}}]}
:param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py`
Class Description::
Show SIP Statistics.
Class sip supports CRUD Operations and inherits from `common/A10BaseClass`.
This class is the `"PARENT"` class for this module.`
URL for this object::
`https://<Hostname|Ip address>//axapi/v3/slb/sip`.
"""
def __init__(self, **kwargs):
self.ERROR_MSG = ""
self.required=[]
self.b_key = "sip"
self.a10_url="/axapi/v3/slb/sip"
self.DeviceProxy = ""
self.sampling_enable = []
for keys, value in kwargs.items():
setattr(self,keys, value)
| 436.62069
| 12,091
| 0.837743
| 3,930
| 25,324
| 4.748092
| 0.055471
| 0.132905
| 0.05552
| 0.032797
| 0.970311
| 0.970311
| 0.970311
| 0.970311
| 0.966774
| 0.966774
| 0
| 0.004885
| 0.062391
| 25,324
| 57
| 12,092
| 444.280702
| 0.780997
| 0.970502
| 0
| 0.526316
| 0
| 0
| 0.050872
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.105263
| false
| 0
| 0.052632
| 0
| 0.263158
| 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
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 9
|
3d6ec38757d54beac4c17a37c96bb2c0d0c7a13a
| 4,041
|
py
|
Python
|
experiments/prep_FBCSP.py
|
top-chaisaen/MIN2Net
|
f0f38645a010b0c9ea82bcf602c35ad79dd9eaa8
|
[
"Apache-2.0"
] | 10
|
2021-12-28T07:13:24.000Z
|
2022-03-30T09:12:56.000Z
|
experiments/prep_FBCSP.py
|
top-chaisaen/MIN2Net
|
f0f38645a010b0c9ea82bcf602c35ad79dd9eaa8
|
[
"Apache-2.0"
] | null | null | null |
experiments/prep_FBCSP.py
|
top-chaisaen/MIN2Net
|
f0f38645a010b0c9ea82bcf602c35ad79dd9eaa8
|
[
"Apache-2.0"
] | 3
|
2022-01-31T09:20:43.000Z
|
2022-03-01T01:39:51.000Z
|
import min2net.preprocessing as prep
from min2net.preprocessing.config import CONSTANT
k_folds = 5
pick_smp_freq = 100
n_components=4
bands = [[4, 8], [8, 12], [12, 16],
[16, 20], [20, 24], [24, 28],
[28, 32], [32, 36], [36, 40]]
n_features=8
order = 5
save_path = 'datasets'
num_class = 2
prep.SMR_BCI.fbcsp.subject_dependent_setting(k_folds=k_folds,
pick_smp_freq=pick_smp_freq,
n_components=n_components,
bands=bands,
n_features=n_features,
order=order,
save_path=save_path,
num_class=num_class,
sel_chs=CONSTANT['SMR_BCI']['sel_chs'])
prep.BCIC2a.fbcsp.subject_dependent_setting(k_folds=k_folds,
pick_smp_freq=pick_smp_freq,
n_components=n_components,
bands=bands,
n_features=n_features,
order=order,
save_path=save_path,
num_class=num_class,
sel_chs=CONSTANT['BCIC2a']['sel_chs'])
prep.OpenBMI.fbcsp.subject_dependent_setting(k_folds=k_folds,
pick_smp_freq=pick_smp_freq,
n_components=n_components,
bands=bands,
n_features=n_features,
order=order,
save_path=save_path,
num_class=num_class,
sel_chs=CONSTANT['OpenBMI']['sel_chs'])
prep.SMR_BCI.fbcsp.subject_independent_setting(k_folds=k_folds,
pick_smp_freq=pick_smp_freq,
n_components=n_components,
bands=bands,
n_features=n_features,
order=order,
save_path=save_path,
num_class=num_class,
sel_chs=CONSTANT['SMR_BCI']['sel_chs'])
prep.BCIC2a.fbcsp.subject_independent_setting(k_folds=k_folds,
pick_smp_freq=pick_smp_freq,
n_components=n_components,
bands=bands,
n_features=n_features,
order=order,
save_path=save_path,
num_class=num_class,
sel_chs=CONSTANT['BCIC2a']['sel_chs'])
prep.OpenBMI.fbcsp.subject_independent_setting(k_folds=k_folds,
pick_smp_freq=pick_smp_freq,
n_components=n_components,
bands=bands,
n_features=n_features,
order=order,
save_path=save_path,
num_class=num_class,
sel_chs=CONSTANT['OpenBMI']['sel_chs'])
| 54.608108
| 86
| 0.360554
| 307
| 4,041
| 4.358306
| 0.153094
| 0.058296
| 0.106876
| 0.06278
| 0.859492
| 0.844544
| 0.844544
| 0.844544
| 0.844544
| 0.844544
| 0
| 0.02786
| 0.582529
| 4,041
| 74
| 87
| 54.608108
| 0.765264
| 0
| 0
| 0.727273
| 0
| 0
| 0.022266
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.030303
| 0
| 0.030303
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 1
| 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
|
3d974aa01ad24b30da16dedd28241b07833efad5
| 2,714
|
py
|
Python
|
care/life/migrations/0004_auto_20210427_0326.py
|
anroopak/care
|
250589f0aa783997bb81f3d2fc30bd19573b434f
|
[
"MIT"
] | null | null | null |
care/life/migrations/0004_auto_20210427_0326.py
|
anroopak/care
|
250589f0aa783997bb81f3d2fc30bd19573b434f
|
[
"MIT"
] | null | null | null |
care/life/migrations/0004_auto_20210427_0326.py
|
anroopak/care
|
250589f0aa783997bb81f3d2fc30bd19573b434f
|
[
"MIT"
] | null | null | null |
# Generated by Django 2.2.11 on 2021-04-26 21:56
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('life', '0003_auto_20210427_0129'),
]
operations = [
migrations.AddField(
model_name='lifedata',
name='created_on',
field=models.TextField(default=''),
),
migrations.AddField(
model_name='lifedata',
name='description',
field=models.TextField(default=''),
),
migrations.AlterField(
model_name='lifedata',
name='Verified_by',
field=models.TextField(default=''),
),
migrations.AlterField(
model_name='lifedata',
name='address',
field=models.TextField(default=''),
),
migrations.AlterField(
model_name='lifedata',
name='category',
field=models.TextField(default=''),
),
migrations.AlterField(
model_name='lifedata',
name='comment',
field=models.TextField(default=''),
),
migrations.AlterField(
model_name='lifedata',
name='created_by',
field=models.TextField(default=''),
),
migrations.AlterField(
model_name='lifedata',
name='email',
field=models.TextField(default=''),
),
migrations.AlterField(
model_name='lifedata',
name='last_verified_on',
field=models.TextField(default=''),
),
migrations.AlterField(
model_name='lifedata',
name='phone_1',
field=models.TextField(default=''),
),
migrations.AlterField(
model_name='lifedata',
name='phone_2',
field=models.TextField(default=''),
),
migrations.AlterField(
model_name='lifedata',
name='price',
field=models.TextField(default=''),
),
migrations.AlterField(
model_name='lifedata',
name='quantity_available',
field=models.TextField(default=''),
),
migrations.AlterField(
model_name='lifedata',
name='resource_type',
field=models.TextField(default=''),
),
migrations.AlterField(
model_name='lifedata',
name='source_link',
field=models.TextField(default=''),
),
migrations.AlterField(
model_name='lifedata',
name='title',
field=models.TextField(default=''),
),
]
| 28.87234
| 48
| 0.516581
| 215
| 2,714
| 6.386047
| 0.237209
| 0.10488
| 0.198106
| 0.24472
| 0.793154
| 0.782957
| 0.703569
| 0.703569
| 0.703569
| 0.703569
| 0
| 0.019451
| 0.355932
| 2,714
| 93
| 49
| 29.182796
| 0.766018
| 0.016949
| 0
| 0.735632
| 1
| 0
| 0.114779
| 0.008627
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.011494
| 0
| 0.045977
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 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
| 9
|
3da37dc308cd38f45e73acbe0cd38bd3b8072410
| 18,374
|
py
|
Python
|
fastreport_cloud_sdk/api/user_profile_api.py
|
FastReports/FastReport-Cloud-Python
|
4442e19ef4c980222ede6d9e0597f564d6d85b26
|
[
"MIT"
] | null | null | null |
fastreport_cloud_sdk/api/user_profile_api.py
|
FastReports/FastReport-Cloud-Python
|
4442e19ef4c980222ede6d9e0597f564d6d85b26
|
[
"MIT"
] | null | null | null |
fastreport_cloud_sdk/api/user_profile_api.py
|
FastReports/FastReport-Cloud-Python
|
4442e19ef4c980222ede6d9e0597f564d6d85b26
|
[
"MIT"
] | null | null | null |
# coding: utf-8
"""
FastReport Cloud
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
import six
from fastreport_cloud_sdk.api_client import ApiClient
from fastreport_cloud_sdk.exceptions import ( # noqa: F401
ApiTypeError,
ApiValueError
)
class UserProfileApi(object):
"""NOTE: This class is auto generated by OpenAPI Generator
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
def __init__(self, api_client=None):
if api_client is None:
api_client = ApiClient()
self.api_client = api_client
def user_profile_get_my_profile(self, **kwargs): # noqa: E501
"""Return current profile of the current user # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.user_profile_get_my_profile(async_req=True)
>>> result = thread.get()
:param async_req: Whether to execute the request asynchronously.
:type async_req: bool, optional
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:type _preload_content: bool, optional
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: Returns the result object.
If the method is called asynchronously,
returns the request thread.
:rtype: UserProfileVM
"""
kwargs['_return_http_data_only'] = True
return self.user_profile_get_my_profile_with_http_info(**kwargs) # noqa: E501
def user_profile_get_my_profile_with_http_info(self, **kwargs): # noqa: E501
"""Return current profile of the current user # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.user_profile_get_my_profile_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req: Whether to execute the request asynchronously.
:type async_req: bool, optional
:param _return_http_data_only: response data without head status code
and headers
:type _return_http_data_only: bool, optional
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:type _preload_content: bool, optional
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:param _request_auth: set to override the auth_settings for an a single
request; this effectively ignores the authentication
in the spec for a single request.
:type _request_auth: dict, optional
:return: Returns the result object.
If the method is called asynchronously,
returns the request thread.
:rtype: tuple(UserProfileVM, status_code(int), headers(HTTPHeaderDict))
"""
local_var_params = locals()
all_params = [
]
all_params.extend(
[
'async_req',
'_return_http_data_only',
'_preload_content',
'_request_timeout',
'_request_auth'
]
)
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method user_profile_get_my_profile" % key
)
local_var_params[key] = val
del local_var_params['kwargs']
collection_formats = {}
path_params = {}
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 = ['ApiKey', 'JWT'] # noqa: E501
response_types_map = {
200: "UserProfileVM",
400: "ProblemDetails",
}
return self.api_client.call_api(
'/api/manage/v1/UserProfile', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_types_map=response_types_map,
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats,
_request_auth=local_var_params.get('_request_auth'))
def user_profile_get_user_profile(self, user_id, **kwargs): # noqa: E501
"""Return user profile by user identifier. If the user did not provide information about himself or blocked, then the endpoint will return an empty model. (only id) # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.user_profile_get_user_profile(user_id, async_req=True)
>>> result = thread.get()
:param user_id: (required)
:type user_id: str
:param async_req: Whether to execute the request asynchronously.
:type async_req: bool, optional
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:type _preload_content: bool, optional
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: Returns the result object.
If the method is called asynchronously,
returns the request thread.
:rtype: UserProfileVM
"""
kwargs['_return_http_data_only'] = True
return self.user_profile_get_user_profile_with_http_info(user_id, **kwargs) # noqa: E501
def user_profile_get_user_profile_with_http_info(self, user_id, **kwargs): # noqa: E501
"""Return user profile by user identifier. If the user did not provide information about himself or blocked, then the endpoint will return an empty model. (only id) # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.user_profile_get_user_profile_with_http_info(user_id, async_req=True)
>>> result = thread.get()
:param user_id: (required)
:type user_id: str
:param async_req: Whether to execute the request asynchronously.
:type async_req: bool, optional
:param _return_http_data_only: response data without head status code
and headers
:type _return_http_data_only: bool, optional
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:type _preload_content: bool, optional
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:param _request_auth: set to override the auth_settings for an a single
request; this effectively ignores the authentication
in the spec for a single request.
:type _request_auth: dict, optional
:return: Returns the result object.
If the method is called asynchronously,
returns the request thread.
:rtype: tuple(UserProfileVM, status_code(int), headers(HTTPHeaderDict))
"""
local_var_params = locals()
all_params = [
'user_id'
]
all_params.extend(
[
'async_req',
'_return_http_data_only',
'_preload_content',
'_request_timeout',
'_request_auth'
]
)
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method user_profile_get_user_profile" % key
)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'user_id' is set
if self.api_client.client_side_validation and ('user_id' not in local_var_params or # noqa: E501
local_var_params['user_id'] is None): # noqa: E501
raise ApiValueError("Missing the required parameter `user_id` when calling `user_profile_get_user_profile`") # noqa: E501
if self.api_client.client_side_validation and 'user_id' in local_var_params and not re.search(r'(^000000000000000000000000$|^[0-9a-f]{24}$|^([0-9a-f]{8}([-][0-9a-f]{4}){3}[-][0-9a-f]{12})$)', local_var_params['user_id']): # noqa: E501
raise ApiValueError("Invalid value for parameter `user_id` when calling `user_profile_get_user_profile`, must conform to the pattern `/(^000000000000000000000000$|^[0-9a-f]{24}$|^([0-9a-f]{8}([-][0-9a-f]{4}){3}[-][0-9a-f]{12})$)/`") # noqa: E501
collection_formats = {}
path_params = {}
if 'user_id' in local_var_params:
path_params['userId'] = local_var_params['user_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 = ['ApiKey', 'JWT'] # noqa: E501
response_types_map = {
200: "UserProfileVM",
404: "ProblemDetails",
}
return self.api_client.call_api(
'/api/manage/v1/UserProfile/{userId}', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_types_map=response_types_map,
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats,
_request_auth=local_var_params.get('_request_auth'))
def user_profile_update_my_profile(self, **kwargs): # noqa: E501
"""Update profile of the current user # noqa: E501
This method is only allowed for local sign in via intranet # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.user_profile_update_my_profile(async_req=True)
>>> result = thread.get()
:param update_user_profile_vm:
:type update_user_profile_vm: UpdateUserProfileVM
:param async_req: Whether to execute the request asynchronously.
:type async_req: bool, optional
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:type _preload_content: bool, optional
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:return: Returns the result object.
If the method is called asynchronously,
returns the request thread.
:rtype: None
"""
kwargs['_return_http_data_only'] = True
return self.user_profile_update_my_profile_with_http_info(**kwargs) # noqa: E501
def user_profile_update_my_profile_with_http_info(self, **kwargs): # noqa: E501
"""Update profile of the current user # noqa: E501
This method is only allowed for local sign in via intranet # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.user_profile_update_my_profile_with_http_info(async_req=True)
>>> result = thread.get()
:param update_user_profile_vm:
:type update_user_profile_vm: UpdateUserProfileVM
:param async_req: Whether to execute the request asynchronously.
:type async_req: bool, optional
:param _return_http_data_only: response data without head status code
and headers
:type _return_http_data_only: bool, optional
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
:type _preload_content: bool, optional
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
(connection, read) timeouts.
:param _request_auth: set to override the auth_settings for an a single
request; this effectively ignores the authentication
in the spec for a single request.
:type _request_auth: dict, optional
:return: Returns the result object.
If the method is called asynchronously,
returns the request thread.
:rtype: None
"""
local_var_params = locals()
all_params = [
'update_user_profile_vm'
]
all_params.extend(
[
'async_req',
'_return_http_data_only',
'_preload_content',
'_request_timeout',
'_request_auth'
]
)
for key, val in six.iteritems(local_var_params['kwargs']):
if key not in all_params:
raise ApiTypeError(
"Got an unexpected keyword argument '%s'"
" to method user_profile_update_my_profile" % key
)
local_var_params[key] = val
del local_var_params['kwargs']
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'update_user_profile_vm' in local_var_params:
body_params = local_var_params['update_user_profile_vm']
# 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', 'text/json', 'application/*+json']) # noqa: E501
# Authentication setting
auth_settings = ['ApiKey', 'JWT'] # noqa: E501
response_types_map = {}
return self.api_client.call_api(
'/api/manage/v1/UserProfile', 'PUT',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_types_map=response_types_map,
auth_settings=auth_settings,
async_req=local_var_params.get('async_req'),
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
_preload_content=local_var_params.get('_preload_content', True),
_request_timeout=local_var_params.get('_request_timeout'),
collection_formats=collection_formats,
_request_auth=local_var_params.get('_request_auth'))
| 42.730233
| 258
| 0.600196
| 2,081
| 18,374
| 5.025949
| 0.110524
| 0.031361
| 0.04685
| 0.030978
| 0.906492
| 0.893489
| 0.881824
| 0.874845
| 0.869873
| 0.865857
| 0
| 0.017303
| 0.326875
| 18,374
| 429
| 259
| 42.829837
| 0.828347
| 0.481985
| 0
| 0.67027
| 1
| 0.010811
| 0.194104
| 0.083707
| 0
| 0
| 0
| 0
| 0
| 1
| 0.037838
| false
| 0
| 0.027027
| 0
| 0.102703
| 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
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
9a91dc7cbb1154d1df28fd5f77f64b42ee587d48
| 85
|
py
|
Python
|
dsbot/bots/__init__.py
|
jefrysastre/dsbot
|
5afbfc34b2846f13d118df70160513935331983d
|
[
"MIT"
] | null | null | null |
dsbot/bots/__init__.py
|
jefrysastre/dsbot
|
5afbfc34b2846f13d118df70160513935331983d
|
[
"MIT"
] | null | null | null |
dsbot/bots/__init__.py
|
jefrysastre/dsbot
|
5afbfc34b2846f13d118df70160513935331983d
|
[
"MIT"
] | null | null | null |
from .dense_net_bot import DenseNetBot
from .dense_128_net_bot import Dense128NetBot
| 28.333333
| 45
| 0.882353
| 13
| 85
| 5.384615
| 0.615385
| 0.257143
| 0.342857
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.077922
| 0.094118
| 85
| 3
| 45
| 28.333333
| 0.831169
| 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
|
9a99ca7925d76f4ace4163657b4391e3c424e40b
| 32,860
|
py
|
Python
|
shakespearelang/tests/test_debugging.py
|
zmbc/shakespeare
|
8a598d21c586c4c17442c4a71ccd291a946184d9
|
[
"MIT"
] | null | null | null |
shakespearelang/tests/test_debugging.py
|
zmbc/shakespeare
|
8a598d21c586c4c17442c4a71ccd291a946184d9
|
[
"MIT"
] | null | null | null |
shakespearelang/tests/test_debugging.py
|
zmbc/shakespeare
|
8a598d21c586c4c17442c4a71ccd291a946184d9
|
[
"MIT"
] | null | null | null |
from tatsu.exceptions import FailedParse
from io import StringIO
import pytest
import pexpect
from .utils import expect_interaction, expect_output_exactly, create_play_file
from textwrap import dedent
NO_BREAKPOINTS = """
A New Beginning.
Hamlet, a literary/storage device.
Juliet, an orator.
Act I: The Only Act.
Scene I: The Prince's Speech.
[Enter Hamlet and Juliet]
Juliet: Thou art the sum of an amazing healthy honest noble peaceful
fine Lord and a lovely sweet golden summer's day. Speak your
mind!
Juliet: Thou art the sum of thyself and a King. Speak your mind!
Thou art the sum of an amazing healthy honest hamster and a golden
chihuahua. Speak your mind!
[Exeunt]
"""
ONLY_INPUT = """
Getting Input.
Hamlet, a literary/storage device.
Juliet, an orator.
Act I: The Only Act.
Scene I: The Prince Listens.
[Enter Hamlet and Juliet]
Juliet: Listen to your heart! Open your mind!
"""
BREAKPOINT = """
A New Beginning.
Hamlet, a literary/storage device.
Juliet, an orator.
Act I: The Only Act.
Scene I: The Prince's Speech.
[Enter Hamlet and Juliet]
Juliet: Thou art the sum of an amazing healthy honest noble peaceful
fine Lord and a lovely sweet golden summer's day. Speak your
mind!
[A pause]
Juliet: Thou art the sum of thyself and a King. Speak your mind!
Thou art the sum of an amazing healthy honest hamster and a golden
chihuahua. Speak your mind!
[Exeunt]
"""
LOOP = """
A Cyclic Motion.
Hamlet, a literary/storage device.
Juliet, an orator.
Act I: The Only Act.
Scene I: The Initial Statement.
[A pause]
[Enter Hamlet and Juliet]
Juliet: Thou art an animal.
Scene II: The Prince's Speech.
Juliet: Open your heart! Thou art the sum of thyself and a stone wall.
Are you as good as the sum of a charming honest horse and a happiness?
Juliet: If not, let us return to Scene II.
Scene III: Nothing occurs.
Scene IV: The closing.
Juliet: Remember thyself!
[Exeunt]
"""
def test_runs_a_program_without_breakpoints(tmp_path):
file_path = tmp_path / "play.spl"
create_play_file(file_path, NO_BREAKPOINTS)
cli = pexpect.spawn(f"shakespeare debug {file_path} --output-style=basic")
cli.setecho(False)
cli.waitnoecho()
expect_output_exactly(cli, "HI\n", eof=True)
def test_defaults_to_verbose_output(tmp_path):
file_path = tmp_path / "play.spl"
create_play_file(file_path, NO_BREAKPOINTS)
cli = pexpect.spawn(f"shakespeare debug {file_path}")
cli.setecho(False)
cli.waitnoecho()
expect_output_exactly(
cli,
dedent(
"""\
Enter Hamlet, Juliet
Hamlet set to 72
Outputting Hamlet
Outputting character: 'H'
Hamlet set to 73
Outputting Hamlet
Outputting character: 'I'
Hamlet set to 10
Outputting Hamlet
Outputting character: '\\n'
Exeunt all\n"""
),
eof=True,
)
def test_defaults_to_interactive_input(tmp_path):
file_path = tmp_path / "play.spl"
create_play_file(file_path, ONLY_INPUT)
cli = pexpect.spawn(f"shakespeare debug {file_path}")
cli.setecho(False)
cli.waitnoecho()
expect_output_exactly(cli, "Enter Hamlet, Juliet\nTaking input number: ")
cli.sendline("10")
expect_output_exactly(
cli, "Setting Hamlet to input value 10\nTaking input character: "
)
cli.sendline("H")
expect_output_exactly(cli, "Setting Hamlet to input value 72\n", eof=True)
def test_basic_input(tmp_path):
file_path = tmp_path / "play.spl"
create_play_file(file_path, ONLY_INPUT)
cli = pexpect.spawn(f"shakespeare debug {file_path} --input-style=basic")
cli.setecho(False)
cli.waitnoecho()
expect_output_exactly(cli, "Enter Hamlet, Juliet\n")
cli.sendline("10")
expect_output_exactly(cli, "Setting Hamlet to input value 10\n")
cli.sendline("H")
expect_output_exactly(cli, "Setting Hamlet to input value 72\n", eof=True)
def test_breakpoint_console(tmp_path):
file_path = tmp_path / "play.spl"
create_play_file(file_path, BREAKPOINT)
cli = pexpect.spawn(f"shakespeare debug {file_path}")
cli.setecho(False)
cli.waitnoecho()
expect_output_exactly(
cli,
dedent(
"""\
Enter Hamlet, Juliet
Hamlet set to 72
Outputting Hamlet
Outputting character: 'H'
-----
mind!
[A pause]
Juliet: >>Thou art the sum of thyself and a King.<< Speak your mind!
Thou art the sum of an amazing healthy honest hamster and a golden
chihuahua. Speak your mind!
-----
>> """
),
)
expect_interaction(cli, "Juliet", "0 ()")
expect_interaction(cli, "Hamlet", "72 ()")
expect_interaction(cli, "exit", "", prompt=False)
expect_output_exactly(cli, "", eof=True)
def test_goto(tmp_path):
file_path = tmp_path / "play.spl"
create_play_file(file_path, LOOP)
cli = pexpect.spawn(f"shakespeare debug {file_path}")
cli.setecho(False)
cli.waitnoecho()
expect_output_exactly(
cli,
dedent(
"""\
-----
Scene I: The Initial Statement.
[A pause]
>>[Enter Hamlet and Juliet]<<
Juliet: Thou art an animal.
Scene II: The Prince's Speech.
-----
>> """
),
)
expect_interaction(
cli,
"next",
dedent(
"""\
Enter Hamlet, Juliet
-----
[A pause]
[Enter Hamlet and Juliet]
Juliet: >>Thou art an animal.<<
Scene II: The Prince's Speech.
Juliet: Open your heart! Thou art the sum of thyself and a stone wall.
-----
"""
),
)
expect_interaction(
cli,
"Hamlet: Let us proceed to Scene III.",
dedent(
"""\
Jumping to Scene III
-----
Scene III: Nothing occurs.
Scene IV: The closing.
Juliet: >>Remember thyself!<<
[Exeunt]
-----
"""
),
)
expect_interaction(
cli,
"next",
dedent(
"""\
Hamlet pushed 0
-----
Scene IV: The closing.
Juliet: Remember thyself!
>>[Exeunt]<<
-----
"""
),
)
expect_interaction(cli, "next", "Exeunt all", prompt=False)
expect_output_exactly(cli, "", eof=True)
def test_step_through(tmp_path):
file_path = tmp_path / "play.spl"
create_play_file(file_path, LOOP)
cli = pexpect.spawn(f"shakespeare debug {file_path}")
cli.setecho(False)
cli.waitnoecho()
expect_output_exactly(
cli,
dedent(
"""\
-----
Scene I: The Initial Statement.
[A pause]
>>[Enter Hamlet and Juliet]<<
Juliet: Thou art an animal.
Scene II: The Prince's Speech.
-----
>> """
),
)
expect_interaction(cli, "Hamlet", "0 ()")
expect_interaction(
cli,
"next",
dedent(
"""\
Enter Hamlet, Juliet
-----
[A pause]
[Enter Hamlet and Juliet]
Juliet: >>Thou art an animal.<<
Scene II: The Prince's Speech.
Juliet: Open your heart! Thou art the sum of thyself and a stone wall.
-----
"""
),
)
expect_interaction(cli, "Hamlet", "0 ()")
expect_interaction(
cli,
"next",
dedent(
"""\
Hamlet set to 1
-----
Juliet: Thou art an animal.
Scene II: The Prince's Speech.
Juliet: >>Open your heart!<< Thou art the sum of thyself and a stone wall.
Are you as good as the sum of a charming honest horse and a happiness?
Juliet: If not, let us return to Scene II.
-----
"""
),
)
expect_interaction(cli, "Hamlet", "1 ()")
expect_interaction(
cli,
"next",
dedent(
"""\
Outputting Hamlet
Outputting number: 1
-----
Juliet: Thou art an animal.
Scene II: The Prince's Speech.
Juliet: Open your heart! >>Thou art the sum of thyself and a stone wall.<<
Are you as good as the sum of a charming honest horse and a happiness?
Juliet: If not, let us return to Scene II.
-----
"""
),
)
expect_interaction(
cli,
"next",
dedent(
"""\
Hamlet set to 2
-----
Scene II: The Prince's Speech.
Juliet: Open your heart! Thou art the sum of thyself and a stone wall.
>>Are you as good as the sum of a charming honest horse and a happiness?<<
Juliet: If not, let us return to Scene II.
Scene III: Nothing occurs.
-----
"""
),
)
expect_interaction(cli, "Hamlet", "2 ()")
expect_interaction(
cli,
"next",
dedent(
"""\
Setting global boolean to False
-----
Juliet: Open your heart! Thou art the sum of thyself and a stone wall.
Are you as good as the sum of a charming honest horse and a happiness?
Juliet: >>If not, let us return to Scene II.<<
Scene III: Nothing occurs.
Scene IV: The closing.
-----
"""
),
)
expect_interaction(
cli,
"state",
dedent(
"""\
global boolean = False
on stage:
Hamlet = 2 ()
Juliet = 0 ()
off stage:"""
),
)
expect_interaction(
cli,
"next",
dedent(
"""\
Jumping to Scene II
-----
Juliet: Thou art an animal.
Scene II: The Prince's Speech.
Juliet: >>Open your heart!<< Thou art the sum of thyself and a stone wall.
Are you as good as the sum of a charming honest horse and a happiness?
Juliet: If not, let us return to Scene II.
-----
"""
),
)
expect_interaction(
cli,
"next",
dedent(
"""\
Outputting Hamlet
Outputting number: 2
-----
Juliet: Thou art an animal.
Scene II: The Prince's Speech.
Juliet: Open your heart! >>Thou art the sum of thyself and a stone wall.<<
Are you as good as the sum of a charming honest horse and a happiness?
Juliet: If not, let us return to Scene II.
-----
"""
),
)
expect_interaction(
cli,
"next",
dedent(
"""\
Hamlet set to 3
-----
Scene II: The Prince's Speech.
Juliet: Open your heart! Thou art the sum of thyself and a stone wall.
>>Are you as good as the sum of a charming honest horse and a happiness?<<
Juliet: If not, let us return to Scene II.
Scene III: Nothing occurs.
-----
"""
),
)
expect_interaction(
cli,
"next",
dedent(
"""\
Setting global boolean to False
-----
Juliet: Open your heart! Thou art the sum of thyself and a stone wall.
Are you as good as the sum of a charming honest horse and a happiness?
Juliet: >>If not, let us return to Scene II.<<
Scene III: Nothing occurs.
Scene IV: The closing.
-----
"""
),
)
expect_interaction(
cli,
"next",
dedent(
"""\
Jumping to Scene II
-----
Juliet: Thou art an animal.
Scene II: The Prince's Speech.
Juliet: >>Open your heart!<< Thou art the sum of thyself and a stone wall.
Are you as good as the sum of a charming honest horse and a happiness?
Juliet: If not, let us return to Scene II.
-----
"""
),
)
expect_interaction(
cli,
"next",
dedent(
"""\
Outputting Hamlet
Outputting number: 3
-----
Juliet: Thou art an animal.
Scene II: The Prince's Speech.
Juliet: Open your heart! >>Thou art the sum of thyself and a stone wall.<<
Are you as good as the sum of a charming honest horse and a happiness?
Juliet: If not, let us return to Scene II.
-----
"""
),
)
expect_interaction(
cli,
"next",
dedent(
"""\
Hamlet set to 4
-----
Scene II: The Prince's Speech.
Juliet: Open your heart! Thou art the sum of thyself and a stone wall.
>>Are you as good as the sum of a charming honest horse and a happiness?<<
Juliet: If not, let us return to Scene II.
Scene III: Nothing occurs.
-----
"""
),
)
expect_interaction(
cli,
"next",
dedent(
"""\
Setting global boolean to False
-----
Juliet: Open your heart! Thou art the sum of thyself and a stone wall.
Are you as good as the sum of a charming honest horse and a happiness?
Juliet: >>If not, let us return to Scene II.<<
Scene III: Nothing occurs.
Scene IV: The closing.
-----
"""
),
)
expect_interaction(
cli,
"next",
dedent(
"""\
Jumping to Scene II
-----
Juliet: Thou art an animal.
Scene II: The Prince's Speech.
Juliet: >>Open your heart!<< Thou art the sum of thyself and a stone wall.
Are you as good as the sum of a charming honest horse and a happiness?
Juliet: If not, let us return to Scene II.
-----
"""
),
)
expect_interaction(
cli,
"next",
dedent(
"""\
Outputting Hamlet
Outputting number: 4
-----
Juliet: Thou art an animal.
Scene II: The Prince's Speech.
Juliet: Open your heart! >>Thou art the sum of thyself and a stone wall.<<
Are you as good as the sum of a charming honest horse and a happiness?
Juliet: If not, let us return to Scene II.
-----
"""
),
)
expect_interaction(
cli,
"next",
dedent(
"""\
Hamlet set to 5
-----
Scene II: The Prince's Speech.
Juliet: Open your heart! Thou art the sum of thyself and a stone wall.
>>Are you as good as the sum of a charming honest horse and a happiness?<<
Juliet: If not, let us return to Scene II.
Scene III: Nothing occurs.
-----
"""
),
)
expect_interaction(
cli,
"next",
dedent(
"""\
Setting global boolean to True
-----
Juliet: Open your heart! Thou art the sum of thyself and a stone wall.
Are you as good as the sum of a charming honest horse and a happiness?
Juliet: >>If not, let us return to Scene II.<<
Scene III: Nothing occurs.
Scene IV: The closing.
-----
"""
),
)
expect_interaction(
cli,
"next",
dedent(
"""\
Not jumping to Scene II because global boolean is True
-----
Scene III: Nothing occurs.
Scene IV: The closing.
Juliet: >>Remember thyself!<<
[Exeunt]
-----
"""
),
)
expect_interaction(
cli,
"next",
dedent(
"""\
Hamlet pushed 5
-----
Scene IV: The closing.
Juliet: Remember thyself!
>>[Exeunt]<<
-----
"""
),
)
expect_interaction(cli, "next", "Exeunt all", prompt=False)
expect_output_exactly(cli, "", eof=True)
def test_exit_loop_by_character_state(tmp_path):
file_path = tmp_path / "play.spl"
create_play_file(file_path, LOOP)
cli = pexpect.spawn(f"shakespeare debug {file_path}")
cli.setecho(False)
cli.waitnoecho()
expect_output_exactly(
cli,
dedent(
"""\
-----
Scene I: The Initial Statement.
[A pause]
>>[Enter Hamlet and Juliet]<<
Juliet: Thou art an animal.
Scene II: The Prince's Speech.
-----
>> """
),
)
expect_interaction(cli, "Hamlet", "0 ()")
expect_interaction(
cli,
"next",
dedent(
"""\
Enter Hamlet, Juliet
-----
[A pause]
[Enter Hamlet and Juliet]
Juliet: >>Thou art an animal.<<
Scene II: The Prince's Speech.
Juliet: Open your heart! Thou art the sum of thyself and a stone wall.
-----
"""
),
)
expect_interaction(cli, "Hamlet", "0 ()")
expect_interaction(
cli,
"next",
dedent(
"""\
Hamlet set to 1
-----
Juliet: Thou art an animal.
Scene II: The Prince's Speech.
Juliet: >>Open your heart!<< Thou art the sum of thyself and a stone wall.
Are you as good as the sum of a charming honest horse and a happiness?
Juliet: If not, let us return to Scene II.
-----
"""
),
)
expect_interaction(cli, "Hamlet", "1 ()")
expect_interaction(
cli,
"next",
dedent(
"""\
Outputting Hamlet
Outputting number: 1
-----
Juliet: Thou art an animal.
Scene II: The Prince's Speech.
Juliet: Open your heart! >>Thou art the sum of thyself and a stone wall.<<
Are you as good as the sum of a charming honest horse and a happiness?
Juliet: If not, let us return to Scene II.
-----
"""
),
)
expect_interaction(
cli,
"next",
dedent(
"""\
Hamlet set to 2
-----
Scene II: The Prince's Speech.
Juliet: Open your heart! Thou art the sum of thyself and a stone wall.
>>Are you as good as the sum of a charming honest horse and a happiness?<<
Juliet: If not, let us return to Scene II.
Scene III: Nothing occurs.
-----
"""
),
)
expect_interaction(cli, "Hamlet", "2 ()")
expect_interaction(
cli,
"next",
dedent(
"""\
Setting global boolean to False
-----
Juliet: Open your heart! Thou art the sum of thyself and a stone wall.
Are you as good as the sum of a charming honest horse and a happiness?
Juliet: >>If not, let us return to Scene II.<<
Scene III: Nothing occurs.
Scene IV: The closing.
-----
"""
),
)
expect_interaction(
cli,
"state",
dedent(
"""\
global boolean = False
on stage:
Hamlet = 2 ()
Juliet = 0 ()
off stage:"""
),
)
expect_interaction(
cli,
"next",
dedent(
"""\
Jumping to Scene II
-----
Juliet: Thou art an animal.
Scene II: The Prince's Speech.
Juliet: >>Open your heart!<< Thou art the sum of thyself and a stone wall.
Are you as good as the sum of a charming honest horse and a happiness?
Juliet: If not, let us return to Scene II.
-----
"""
),
)
expect_interaction(
cli,
"next",
dedent(
"""\
Outputting Hamlet
Outputting number: 2
-----
Juliet: Thou art an animal.
Scene II: The Prince's Speech.
Juliet: Open your heart! >>Thou art the sum of thyself and a stone wall.<<
Are you as good as the sum of a charming honest horse and a happiness?
Juliet: If not, let us return to Scene II.
-----
"""
),
)
expect_interaction(
cli,
"next",
dedent(
"""\
Hamlet set to 3
-----
Scene II: The Prince's Speech.
Juliet: Open your heart! Thou art the sum of thyself and a stone wall.
>>Are you as good as the sum of a charming honest horse and a happiness?<<
Juliet: If not, let us return to Scene II.
Scene III: Nothing occurs.
-----
"""
),
)
expect_interaction(
cli,
"Juliet: Thou art as good as the sum of a charming honest horse and a happiness.",
"Hamlet set to 5",
)
expect_interaction(
cli,
"next",
dedent(
"""\
Setting global boolean to True
-----
Juliet: Open your heart! Thou art the sum of thyself and a stone wall.
Are you as good as the sum of a charming honest horse and a happiness?
Juliet: >>If not, let us return to Scene II.<<
Scene III: Nothing occurs.
Scene IV: The closing.
-----
"""
),
)
expect_interaction(
cli,
"next",
dedent(
"""\
Not jumping to Scene II because global boolean is True
-----
Scene III: Nothing occurs.
Scene IV: The closing.
Juliet: >>Remember thyself!<<
[Exeunt]
-----
"""
),
)
expect_interaction(
cli,
"next",
dedent(
"""\
Hamlet pushed 5
-----
Scene IV: The closing.
Juliet: Remember thyself!
>>[Exeunt]<<
-----
"""
),
)
expect_interaction(cli, "next", "Exeunt all", prompt=False)
expect_output_exactly(cli, "", eof=True)
def test_exit_loop_by_boolean_state(tmp_path):
file_path = tmp_path / "play.spl"
create_play_file(file_path, LOOP)
cli = pexpect.spawn(f"shakespeare debug {file_path}")
cli.setecho(False)
cli.waitnoecho()
expect_output_exactly(
cli,
dedent(
"""\
-----
Scene I: The Initial Statement.
[A pause]
>>[Enter Hamlet and Juliet]<<
Juliet: Thou art an animal.
Scene II: The Prince's Speech.
-----
>> """
),
)
expect_interaction(cli, "Hamlet", "0 ()")
expect_interaction(
cli,
"next",
dedent(
"""\
Enter Hamlet, Juliet
-----
[A pause]
[Enter Hamlet and Juliet]
Juliet: >>Thou art an animal.<<
Scene II: The Prince's Speech.
Juliet: Open your heart! Thou art the sum of thyself and a stone wall.
-----
"""
),
)
expect_interaction(cli, "Hamlet", "0 ()")
expect_interaction(
cli,
"next",
dedent(
"""\
Hamlet set to 1
-----
Juliet: Thou art an animal.
Scene II: The Prince's Speech.
Juliet: >>Open your heart!<< Thou art the sum of thyself and a stone wall.
Are you as good as the sum of a charming honest horse and a happiness?
Juliet: If not, let us return to Scene II.
-----
"""
),
)
expect_interaction(cli, "Hamlet", "1 ()")
expect_interaction(
cli,
"next",
dedent(
"""\
Outputting Hamlet
Outputting number: 1
-----
Juliet: Thou art an animal.
Scene II: The Prince's Speech.
Juliet: Open your heart! >>Thou art the sum of thyself and a stone wall.<<
Are you as good as the sum of a charming honest horse and a happiness?
Juliet: If not, let us return to Scene II.
-----
"""
),
)
expect_interaction(
cli,
"next",
dedent(
"""\
Hamlet set to 2
-----
Scene II: The Prince's Speech.
Juliet: Open your heart! Thou art the sum of thyself and a stone wall.
>>Are you as good as the sum of a charming honest horse and a happiness?<<
Juliet: If not, let us return to Scene II.
Scene III: Nothing occurs.
-----
"""
),
)
expect_interaction(cli, "Hamlet", "2 ()")
expect_interaction(
cli,
"next",
dedent(
"""\
Setting global boolean to False
-----
Juliet: Open your heart! Thou art the sum of thyself and a stone wall.
Are you as good as the sum of a charming honest horse and a happiness?
Juliet: >>If not, let us return to Scene II.<<
Scene III: Nothing occurs.
Scene IV: The closing.
-----
"""
),
)
expect_interaction(
cli,
"state",
dedent(
"""\
global boolean = False
on stage:
Hamlet = 2 ()
Juliet = 0 ()
off stage:"""
),
)
expect_interaction(
cli,
"next",
dedent(
"""\
Jumping to Scene II
-----
Juliet: Thou art an animal.
Scene II: The Prince's Speech.
Juliet: >>Open your heart!<< Thou art the sum of thyself and a stone wall.
Are you as good as the sum of a charming honest horse and a happiness?
Juliet: If not, let us return to Scene II.
-----
"""
),
)
expect_interaction(
cli,
"next",
dedent(
"""\
Outputting Hamlet
Outputting number: 2
-----
Juliet: Thou art an animal.
Scene II: The Prince's Speech.
Juliet: Open your heart! >>Thou art the sum of thyself and a stone wall.<<
Are you as good as the sum of a charming honest horse and a happiness?
Juliet: If not, let us return to Scene II.
-----
"""
),
)
expect_interaction(
cli,
"next",
dedent(
"""\
Hamlet set to 3
-----
Scene II: The Prince's Speech.
Juliet: Open your heart! Thou art the sum of thyself and a stone wall.
>>Are you as good as the sum of a charming honest horse and a happiness?<<
Juliet: If not, let us return to Scene II.
Scene III: Nothing occurs.
-----
"""
),
)
expect_interaction(
cli,
"next",
dedent(
"""\
Setting global boolean to False
-----
Juliet: Open your heart! Thou art the sum of thyself and a stone wall.
Are you as good as the sum of a charming honest horse and a happiness?
Juliet: >>If not, let us return to Scene II.<<
Scene III: Nothing occurs.
Scene IV: The closing.
-----
"""
),
)
expect_interaction(
cli,
"Juliet: Are you as good as the sum of a charming horse and a happiness?",
"Setting global boolean to True",
)
expect_interaction(
cli,
"next",
dedent(
"""\
Not jumping to Scene II because global boolean is True
-----
Scene III: Nothing occurs.
Scene IV: The closing.
Juliet: >>Remember thyself!<<
[Exeunt]
-----
"""
),
)
expect_interaction(
cli,
"next",
dedent(
"""\
Hamlet pushed 3
-----
Scene IV: The closing.
Juliet: Remember thyself!
>>[Exeunt]<<
-----
"""
),
)
expect_interaction(cli, "next", "Exeunt all", prompt=False)
expect_output_exactly(cli, "", eof=True)
| 24.485842
| 98
| 0.444948
| 3,307
| 32,860
| 4.358331
| 0.049592
| 0.033303
| 0.044404
| 0.078263
| 0.949282
| 0.945674
| 0.945674
| 0.942205
| 0.942205
| 0.942205
| 0
| 0.003731
| 0.469811
| 32,860
| 1,341
| 99
| 24.504101
| 0.823556
| 0
| 0
| 0.780335
| 0
| 0
| 0.282049
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.018828
| false
| 0
| 0.012552
| 0
| 0.031381
| 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
|
9ae222e6efe89ac789a0ae957c7f2a8b734fe3d0
| 177
|
py
|
Python
|
hilbert/tests/__init__.py
|
Capstrat/django-hilbert
|
d4614d5309c8c2a43af85aa10044f7a518f4b59d
|
[
"BSD-2-Clause"
] | null | null | null |
hilbert/tests/__init__.py
|
Capstrat/django-hilbert
|
d4614d5309c8c2a43af85aa10044f7a518f4b59d
|
[
"BSD-2-Clause"
] | null | null | null |
hilbert/tests/__init__.py
|
Capstrat/django-hilbert
|
d4614d5309c8c2a43af85aa10044f7a518f4b59d
|
[
"BSD-2-Clause"
] | null | null | null |
from hilbert.tests.base import *
from hilbert.tests.decorators import *
from hilbert.tests.http import *
from hilbert.tests.middleware import *
from hilbert.tests.test import *
| 29.5
| 38
| 0.80226
| 25
| 177
| 5.68
| 0.36
| 0.387324
| 0.56338
| 0.619718
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.112994
| 177
| 5
| 39
| 35.4
| 0.904459
| 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
|
491456b6541c1c010046ace82d3c746f79829764
| 3,228
|
py
|
Python
|
tests/test_ghdl.py
|
codepainters/edalize
|
220952c38864735238212ab92405167cbf16c528
|
[
"BSD-2-Clause"
] | 1
|
2022-03-17T23:30:32.000Z
|
2022-03-17T23:30:32.000Z
|
tests/test_ghdl.py
|
codepainters/edalize
|
220952c38864735238212ab92405167cbf16c528
|
[
"BSD-2-Clause"
] | null | null | null |
tests/test_ghdl.py
|
codepainters/edalize
|
220952c38864735238212ab92405167cbf16c528
|
[
"BSD-2-Clause"
] | null | null | null |
import os
from edalize_common import make_edalize_test
def test_ghdl_01(make_edalize_test):
tf = make_edalize_test(
"ghdl",
ref_dir="test01",
param_types=["generic"],
tool_options={
"analyze_options": ["some", "analyze_options"],
"run_options": ["a", "few", "run_options"],
},
)
for vhdl_file in ["vhdl_file.vhd", "vhdl_lfile", "vhdl2008_file"]:
with open(os.path.join(tf.work_root, vhdl_file), "a"):
os.utime(os.path.join(tf.work_root, vhdl_file), None)
tf.backend.configure()
tf.compare_files(["Makefile"])
tf.backend.build()
tf.compare_files(["analyze.cmd"])
tf.backend.run()
tf.compare_files(["elab-run.cmd"])
LOCAL_FILES = [
{"name": "vhdl_file.vhd", "file_type": "vhdlSource"},
{"name": "vhdl_lfile", "file_type": "vhdlSource", "logical_name": "libx"},
]
# Test 02 - no vhdl version specified
def test_ghdl_02(make_edalize_test):
tf = make_edalize_test(
"ghdl",
ref_dir="test02",
test_name="test_ghdl_02",
param_types=["generic"],
files=LOCAL_FILES,
tool_options={
"analyze_options": ["some", "analyze_options"],
"run_options": ["a", "few", "run_options"],
},
)
for vhdl_file in ["vhdl_file.vhd", "vhdl_lfile", "vhdl2008_file"]:
with open(os.path.join(tf.work_root, vhdl_file), "a"):
os.utime(os.path.join(tf.work_root, vhdl_file), None)
tf.backend.configure()
tf.compare_files(["Makefile"])
tf.backend.build()
tf.compare_files(["analyze.cmd"])
tf.backend.run()
tf.compare_files(["elab-run.cmd"])
# Test 03 - vhdl Version override
def test_ghdl_03(make_edalize_test):
tf = make_edalize_test(
"ghdl",
ref_dir="test03",
test_name="test_ghdl_03",
param_types=["generic"],
files=LOCAL_FILES,
tool_options={
"analyze_options": ["--std=08", "--ieee=synopsys"],
"run_options": ["a", "few", "run_options"],
},
)
for vhdl_file in ["vhdl_file.vhd", "vhdl_lfile", "vhdl2008_file"]:
with open(os.path.join(tf.work_root, vhdl_file), "a"):
os.utime(os.path.join(tf.work_root, vhdl_file), None)
tf.backend.configure()
tf.compare_files(["Makefile"])
tf.backend.build()
tf.compare_files(["analyze.cmd"])
tf.backend.run()
tf.compare_files(["elab-run.cmd"])
# Test 04 - Top level includes library
def test_ghdl_04(make_edalize_test):
tf = make_edalize_test(
"ghdl",
ref_dir="test04",
param_types=["generic"],
tool_options={
"analyze_options": ["some", "analyze_options"],
"run_options": ["a", "few", "run_options"],
},
toplevel="libx.vhdl_lfile",
)
for vhdl_file in ["vhdl_file.vhd", "vhdl_lfile", "vhdl2008_file"]:
with open(os.path.join(tf.work_root, vhdl_file), "a"):
os.utime(os.path.join(tf.work_root, vhdl_file), None)
tf.backend.configure()
tf.compare_files(["Makefile"])
tf.backend.build()
tf.compare_files(["analyze.cmd"])
tf.backend.run()
tf.compare_files(["elab-run.cmd"])
| 26.9
| 78
| 0.599752
| 417
| 3,228
| 4.371703
| 0.172662
| 0.074602
| 0.092156
| 0.05266
| 0.803072
| 0.803072
| 0.803072
| 0.803072
| 0.803072
| 0.803072
| 0
| 0.017778
| 0.233271
| 3,228
| 119
| 79
| 27.12605
| 0.718788
| 0.032218
| 0
| 0.701149
| 0
| 0
| 0.226923
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.045977
| false
| 0
| 0.022989
| 0
| 0.068966
| 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
|
494f9d2a2e13282991aa4f433307f9c69c74a32e
| 141
|
py
|
Python
|
cnns/__init__.py
|
jalexvig/cnns
|
010d3255939513a33c578e4b29df97f3ad9ef068
|
[
"MIT"
] | 19
|
2018-08-29T02:17:30.000Z
|
2022-02-25T13:54:29.000Z
|
cnns/__init__.py
|
jalexvig/cnns
|
010d3255939513a33c578e4b29df97f3ad9ef068
|
[
"MIT"
] | null | null | null |
cnns/__init__.py
|
jalexvig/cnns
|
010d3255939513a33c578e4b29df97f3ad9ef068
|
[
"MIT"
] | 3
|
2019-03-03T13:16:38.000Z
|
2021-04-15T09:52:12.000Z
|
from cnns.cnn import cnn2d
from cnns.cnn_depthwise import cnn2d_depthwise
from cnns.cnn_depthwise_separable import cnn2d_depthwise_separable
| 35.25
| 66
| 0.893617
| 21
| 141
| 5.714286
| 0.333333
| 0.2
| 0.275
| 0.333333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.023256
| 0.085106
| 141
| 3
| 67
| 47
| 0.906977
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 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
| 1
| 0
|
0
| 7
|
774fcda21a8351d3ebc8001faf99296a83e7c22c
| 68
|
py
|
Python
|
build/lib.linux-x86_64-2.7/error_generator/strategies/switch_value/Similar_based_active_domain/__init__.py
|
BigDaMa/error-generator
|
7d8949fc8fb00b6285c7c220dbda7451dc152e44
|
[
"Apache-2.0"
] | 2
|
2018-11-11T07:52:51.000Z
|
2019-06-19T05:44:55.000Z
|
build/lib.linux-x86_64-2.7/error_generator/strategies/switch_value/Similar_based_active_domain/__init__.py
|
BigDaMa/error-generator
|
7d8949fc8fb00b6285c7c220dbda7451dc152e44
|
[
"Apache-2.0"
] | 5
|
2018-07-20T15:08:23.000Z
|
2018-11-21T13:18:01.000Z
|
error_generator/strategies/switch_value/Similar_based_active_domain/__init__.py
|
BigDaMa/error-generator
|
7d8949fc8fb00b6285c7c220dbda7451dc152e44
|
[
"Apache-2.0"
] | 1
|
2020-11-25T15:16:16.000Z
|
2020-11-25T15:16:16.000Z
|
from .similar_based_active_domain import Similar_Based_Active_Domain
| 68
| 68
| 0.941176
| 10
| 68
| 5.8
| 0.6
| 0.413793
| 0.62069
| 0.827586
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.044118
| 68
| 1
| 68
| 68
| 0.892308
| 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
|
6550c6ffd7417887fa18965d89d9b4cf9515085e
| 3,851
|
py
|
Python
|
test/pyaz/storage/container_rm/__init__.py
|
bigdatamoore/py-az-cli
|
54383a4ee7cc77556f6183e74e992eec95b28e01
|
[
"MIT"
] | null | null | null |
test/pyaz/storage/container_rm/__init__.py
|
bigdatamoore/py-az-cli
|
54383a4ee7cc77556f6183e74e992eec95b28e01
|
[
"MIT"
] | 9
|
2021-09-24T16:37:24.000Z
|
2021-12-24T00:39:19.000Z
|
test/pyaz/storage/container_rm/__init__.py
|
bigdatamoore/py-az-cli
|
54383a4ee7cc77556f6183e74e992eec95b28e01
|
[
"MIT"
] | null | null | null |
import json, subprocess
from ... pyaz_utils import get_cli_name, get_params
def create(name, resource_group=None, storage_account, metadata=None, public_access=None, fail_on_exist=None, default_encryption_scope=None, deny_encryption_scope_override=None, enable_vlw=None):
params = get_params(locals())
command = "az storage container-rm create " + params
print(command)
output = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout = output.stdout.decode("utf-8")
stderr = output.stderr.decode("utf-8")
if stdout:
return json.loads(stdout)
print(stdout)
else:
raise Exception(stderr)
print(stderr)
def delete(resource_group=None, storage_account, name, yes=None):
params = get_params(locals())
command = "az storage container-rm delete " + params
print(command)
output = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout = output.stdout.decode("utf-8")
stderr = output.stderr.decode("utf-8")
if stdout:
return json.loads(stdout)
print(stdout)
else:
raise Exception(stderr)
print(stderr)
def update(resource_group=None, storage_account, name, metadata=None, public_access=None, default_encryption_scope=None, deny_encryption_scope_override=None, set=None, add=None, remove=None, force_string=None):
params = get_params(locals())
command = "az storage container-rm update " + params
print(command)
output = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout = output.stdout.decode("utf-8")
stderr = output.stderr.decode("utf-8")
if stdout:
return json.loads(stdout)
print(stdout)
else:
raise Exception(stderr)
print(stderr)
def list(resource_group=None, storage_account, include_deleted=None):
params = get_params(locals())
command = "az storage container-rm list " + params
print(command)
output = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout = output.stdout.decode("utf-8")
stderr = output.stderr.decode("utf-8")
if stdout:
return json.loads(stdout)
print(stdout)
else:
raise Exception(stderr)
print(stderr)
def exists(resource_group=None, storage_account, name):
params = get_params(locals())
command = "az storage container-rm exists " + params
print(command)
output = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout = output.stdout.decode("utf-8")
stderr = output.stderr.decode("utf-8")
if stdout:
return json.loads(stdout)
print(stdout)
else:
raise Exception(stderr)
print(stderr)
def show(resource_group=None, storage_account, name):
params = get_params(locals())
command = "az storage container-rm show " + params
print(command)
output = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout = output.stdout.decode("utf-8")
stderr = output.stderr.decode("utf-8")
if stdout:
return json.loads(stdout)
print(stdout)
else:
raise Exception(stderr)
print(stderr)
def migrate_vlw(resource_group=None, storage_account, name, no_wait=None):
params = get_params(locals())
command = "az storage container-rm migrate-vlw " + params
print(command)
output = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout = output.stdout.decode("utf-8")
stderr = output.stderr.decode("utf-8")
if stdout:
return json.loads(stdout)
print(stdout)
else:
raise Exception(stderr)
print(stderr)
| 37.754902
| 210
| 0.681381
| 478
| 3,851
| 5.39749
| 0.142259
| 0.075969
| 0.054264
| 0.065116
| 0.912016
| 0.867829
| 0.827132
| 0.827132
| 0.827132
| 0.827132
| 0
| 0.004572
| 0.204882
| 3,851
| 101
| 211
| 38.128713
| 0.838014
| 0
| 0
| 0.827957
| 0
| 0
| 0.074786
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 0.021505
| null | null | 0.225806
| 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
|
6567c5a3d4c32e1c2136b8309cf9860085aada1a
| 1,444
|
py
|
Python
|
tests/test_QGridContainer___eq__.py
|
nivlekp/abjad-ext-nauert
|
de39600b84eec8b326441f54bf388802d1584c8e
|
[
"MIT"
] | 2
|
2020-12-06T20:54:13.000Z
|
2021-04-15T16:02:28.000Z
|
tests/test_QGridContainer___eq__.py
|
nivlekp/abjad-ext-nauert
|
de39600b84eec8b326441f54bf388802d1584c8e
|
[
"MIT"
] | 34
|
2018-06-16T17:40:35.000Z
|
2022-03-20T14:43:23.000Z
|
tests/test_QGridContainer___eq__.py
|
nivlekp/abjad-ext-nauert
|
de39600b84eec8b326441f54bf388802d1584c8e
|
[
"MIT"
] | 1
|
2020-10-16T13:07:54.000Z
|
2020-10-16T13:07:54.000Z
|
import abjadext.nauert
def test_QGridContainer___eq___01():
a = abjadext.nauert.QGridContainer(preprolated_duration=1, children=[])
b = abjadext.nauert.QGridContainer(preprolated_duration=1, children=[])
assert format(a) == format(b)
assert a != b
def test_QGridContainer___eq___02():
a = abjadext.nauert.QGridContainer(
preprolated_duration=1,
children=[abjadext.nauert.QGridLeaf(preprolated_duration=1)],
)
b = abjadext.nauert.QGridContainer(
preprolated_duration=1,
children=[abjadext.nauert.QGridLeaf(preprolated_duration=1)],
)
assert format(a) == format(b)
assert a != b
def test_QGridContainer___eq___03():
a = abjadext.nauert.QGridContainer(preprolated_duration=1, children=[])
b = abjadext.nauert.QGridContainer(preprolated_duration=2, children=[])
c = abjadext.nauert.QGridContainer(
preprolated_duration=1,
children=[abjadext.nauert.QGridLeaf(preprolated_duration=1)],
)
d = abjadext.nauert.QGridContainer(
preprolated_duration=2,
children=[abjadext.nauert.QGridLeaf(preprolated_duration=1)],
)
e = abjadext.nauert.QGridContainer(
preprolated_duration=2, children=[abjadext.nauert.QGridLeaf(2)]
)
assert a != b
assert a != c
assert a != d
assert a != e
assert b != c
assert b != d
assert b != e
assert c != d
assert c != e
assert d != e
| 26.740741
| 75
| 0.674515
| 164
| 1,444
| 5.731707
| 0.140244
| 0.223404
| 0.212766
| 0.373404
| 0.858511
| 0.858511
| 0.858511
| 0.82766
| 0.815957
| 0.815957
| 0
| 0.017575
| 0.211911
| 1,444
| 53
| 76
| 27.245283
| 0.808436
| 0
| 0
| 0.341463
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.341463
| 1
| 0.073171
| false
| 0
| 0.02439
| 0
| 0.097561
| 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
|
6570d187a9bf0bc455c91f74b111a181eb6ae115
| 42
|
py
|
Python
|
katana-ui/ui/blueprints/user/__init__.py
|
afoteas/katana-slice_manager
|
f03a8520fc06f7bed18ff5c2a01a9b8ea7da84c8
|
[
"Apache-2.0"
] | 55
|
2019-07-24T15:52:11.000Z
|
2022-03-27T22:58:59.000Z
|
katana-ui/ui/blueprints/user/__init__.py
|
afoteas/katana-slice_manager
|
f03a8520fc06f7bed18ff5c2a01a9b8ea7da84c8
|
[
"Apache-2.0"
] | 39
|
2019-12-16T13:53:08.000Z
|
2022-01-29T15:58:20.000Z
|
katana-ui/ui/blueprints/user/__init__.py
|
afoteas/katana-slice_manager
|
f03a8520fc06f7bed18ff5c2a01a9b8ea7da84c8
|
[
"Apache-2.0"
] | 20
|
2019-07-25T09:17:33.000Z
|
2022-03-28T03:34:38.000Z
|
from ui.blueprints.user.views import user
| 21
| 41
| 0.833333
| 7
| 42
| 5
| 0.857143
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.095238
| 42
| 1
| 42
| 42
| 0.921053
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 1
| 1
| 1
| 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
| 0
| 1
| 0
| 1
| 0
| 1
| 1
|
0
| 7
|
65a8fb1c2c0e0b78cfc6031b0808c08945539981
| 20,969
|
py
|
Python
|
release/stubs.min/Grasshopper/Kernel/Undo/Actions.py
|
YKato521/ironpython-stubs
|
b1f7c580de48528490b3ee5791b04898be95a9ae
|
[
"MIT"
] | null | null | null |
release/stubs.min/Grasshopper/Kernel/Undo/Actions.py
|
YKato521/ironpython-stubs
|
b1f7c580de48528490b3ee5791b04898be95a9ae
|
[
"MIT"
] | null | null | null |
release/stubs.min/Grasshopper/Kernel/Undo/Actions.py
|
YKato521/ironpython-stubs
|
b1f7c580de48528490b3ee5791b04898be95a9ae
|
[
"MIT"
] | null | null | null |
# encoding: utf-8
# module Grasshopper.Kernel.Undo.Actions calls itself Actions
# from Grasshopper,Version=1.0.0.20,Culture=neutral,PublicKeyToken=dda4f5ec2cd80803
# by generator 1.145
""" NamespaceTracker represent a CLS namespace. """
# no imports
# no functions
# classes
class GH_AddObjectAction(GH_UndoAction, IGH_UndoAction, GH_ISerializable):
""" GH_AddObjectAction(obj: IGH_DocumentObject) """
def Internal_Redo(self, *args):
""" Internal_Redo(self: GH_AddObjectAction,doc: GH_Document) """
pass
def Internal_Undo(self, *args):
""" Internal_Undo(self: GH_AddObjectAction,doc: GH_Document) """
pass
def __init__(self, *args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod
def __new__(self, obj):
""" __new__(cls: type,obj: IGH_DocumentObject) """
pass
ExpiresSolution = property(
lambda self: object(), lambda self, v: None, lambda self: None
)
"""Get: ExpiresSolution(self: GH_AddObjectAction) -> bool
"""
class GH_AddStateAction(GH_ArchivedUndoAction, IGH_UndoAction, GH_ISerializable):
""" GH_AddStateAction(index: int,state: GH_State) """
def Deserialize(self, *args):
""" Deserialize(self: GH_ArchivedUndoAction,obj: GH_ISerializable) """
pass
def Internal_Redo(self, *args):
""" Internal_Redo(self: GH_AddStateAction,doc: GH_Document) """
pass
def Internal_Undo(self, *args):
""" Internal_Undo(self: GH_AddStateAction,doc: GH_Document) """
pass
def Read(self, reader):
""" Read(self: GH_AddStateAction,reader: GH_IReader) -> bool """
pass
def Serialize(self, *args):
""" Serialize(self: GH_ArchivedUndoAction,obj: GH_ISerializable) """
pass
def SerializeToByteArray(self, *args):
""" SerializeToByteArray(self: GH_ArchivedUndoAction,obj: GH_ISerializable) -> Array[Byte] """
pass
def Write(self, writer):
""" Write(self: GH_AddStateAction,writer: GH_IWriter) -> bool """
pass
def __init__(self, *args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod
def __new__(self, index, state):
""" __new__(cls: type,index: int,state: GH_State) """
pass
m_data = None
class GH_DataMatchingAction(GH_ObjectUndoAction, IGH_UndoAction, GH_ISerializable):
""" GH_DataMatchingAction(obj: IGH_Component) """
def Internal_Redo(self, *args):
""" Internal_Redo(self: GH_ObjectUndoAction,doc: GH_Document) """
pass
def Internal_Undo(self, *args):
""" Internal_Undo(self: GH_ObjectUndoAction,doc: GH_Document) """
pass
def Object_Redo(self, *args):
""" Object_Redo(self: GH_DataMatchingAction,doc: GH_Document,obj: IGH_DocumentObject) """
pass
def Object_Undo(self, *args):
""" Object_Undo(self: GH_DataMatchingAction,doc: GH_Document,obj: IGH_DocumentObject) """
pass
def __init__(self, *args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod
def __new__(self, obj):
""" __new__(cls: type,obj: IGH_Component) """
pass
ExpiresSolution = property(
lambda self: object(), lambda self, v: None, lambda self: None
)
"""Get: ExpiresSolution(self: GH_DataMatchingAction) -> bool
"""
class GH_DataModificationAction(GH_ObjectUndoAction, IGH_UndoAction, GH_ISerializable):
""" GH_DataModificationAction(obj: IGH_Param) """
def Internal_Redo(self, *args):
""" Internal_Redo(self: GH_ObjectUndoAction,doc: GH_Document) """
pass
def Internal_Undo(self, *args):
""" Internal_Undo(self: GH_ObjectUndoAction,doc: GH_Document) """
pass
def Object_Redo(self, *args):
""" Object_Redo(self: GH_DataModificationAction,doc: GH_Document,obj: IGH_DocumentObject) """
pass
def Object_Undo(self, *args):
""" Object_Undo(self: GH_DataModificationAction,doc: GH_Document,obj: IGH_DocumentObject) """
pass
def __init__(self, *args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod
def __new__(self, obj):
""" __new__(cls: type,obj: IGH_Param) """
pass
ExpiresSolution = property(
lambda self: object(), lambda self, v: None, lambda self: None
)
"""Get: ExpiresSolution(self: GH_DataModificationAction) -> bool
"""
class GH_GenericObjectAction(GH_ArchivedUndoAction, IGH_UndoAction, GH_ISerializable):
""" GH_GenericObjectAction(obj: IGH_DocumentObject) """
def Deserialize(self, *args):
""" Deserialize(self: GH_ArchivedUndoAction,obj: GH_ISerializable) """
pass
def Internal_Redo(self, *args):
""" Internal_Redo(self: GH_GenericObjectAction,doc: GH_Document) """
pass
def Internal_Undo(self, *args):
""" Internal_Undo(self: GH_GenericObjectAction,doc: GH_Document) """
pass
def Serialize(self, *args):
""" Serialize(self: GH_ArchivedUndoAction,obj: GH_ISerializable) """
pass
def SerializeToByteArray(self, *args):
""" SerializeToByteArray(self: GH_ArchivedUndoAction,obj: GH_ISerializable) -> Array[Byte] """
pass
def __init__(self, *args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod
def __new__(self, obj):
""" __new__(cls: type,obj: IGH_DocumentObject) """
pass
ExpiresSolution = property(
lambda self: object(), lambda self, v: None, lambda self: None
)
"""Get: ExpiresSolution(self: GH_GenericObjectAction) -> bool
"""
m_data = None
class GH_HiddenAction(GH_ObjectUndoAction, IGH_UndoAction, GH_ISerializable):
""" GH_HiddenAction(obj: IGH_ActiveObject) """
def Internal_Redo(self, *args):
""" Internal_Redo(self: GH_ObjectUndoAction,doc: GH_Document) """
pass
def Internal_Undo(self, *args):
""" Internal_Undo(self: GH_ObjectUndoAction,doc: GH_Document) """
pass
def Object_Redo(self, *args):
""" Object_Redo(self: GH_HiddenAction,doc: GH_Document,obj: IGH_DocumentObject) """
pass
def Object_Undo(self, *args):
""" Object_Undo(self: GH_HiddenAction,doc: GH_Document,obj: IGH_DocumentObject) """
pass
def __init__(self, *args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod
def __new__(self, obj):
""" __new__(cls: type,obj: IGH_ActiveObject) """
pass
ExpiresDisplay = property(
lambda self: object(), lambda self, v: None, lambda self: None
)
"""Get: ExpiresDisplay(self: GH_HiddenAction) -> bool
"""
class GH_IconDisplayAction(GH_ObjectUndoAction, IGH_UndoAction, GH_ISerializable):
""" GH_IconDisplayAction(obj: IGH_DocumentObject) """
def Internal_Redo(self, *args):
""" Internal_Redo(self: GH_ObjectUndoAction,doc: GH_Document) """
pass
def Internal_Undo(self, *args):
""" Internal_Undo(self: GH_ObjectUndoAction,doc: GH_Document) """
pass
def Object_Redo(self, *args):
""" Object_Redo(self: GH_IconDisplayAction,doc: GH_Document,obj: IGH_DocumentObject) """
pass
def Object_Undo(self, *args):
""" Object_Undo(self: GH_IconDisplayAction,doc: GH_Document,obj: IGH_DocumentObject) """
pass
def __init__(self, *args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod
def __new__(self, obj):
""" __new__(cls: type,obj: IGH_DocumentObject) """
pass
class GH_IconOverrideAction(GH_ObjectUndoAction, IGH_UndoAction, GH_ISerializable):
""" GH_IconOverrideAction(obj: IGH_DocumentObject) """
def Internal_Redo(self, *args):
""" Internal_Redo(self: GH_ObjectUndoAction,doc: GH_Document) """
pass
def Internal_Undo(self, *args):
""" Internal_Undo(self: GH_ObjectUndoAction,doc: GH_Document) """
pass
def Object_Redo(self, *args):
""" Object_Redo(self: GH_IconOverrideAction,doc: GH_Document,obj: IGH_DocumentObject) """
pass
def Object_Undo(self, *args):
""" Object_Undo(self: GH_IconOverrideAction,doc: GH_Document,obj: IGH_DocumentObject) """
pass
def __init__(self, *args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod
def __new__(self, obj):
""" __new__(cls: type,obj: IGH_DocumentObject) """
pass
class GH_LayoutAction(GH_ObjectUndoAction, IGH_UndoAction, GH_ISerializable):
""" GH_LayoutAction(obj: IGH_DocumentObject) """
def Internal_Redo(self, *args):
""" Internal_Redo(self: GH_ObjectUndoAction,doc: GH_Document) """
pass
def Internal_Undo(self, *args):
""" Internal_Undo(self: GH_ObjectUndoAction,doc: GH_Document) """
pass
def Object_Redo(self, *args):
""" Object_Redo(self: GH_LayoutAction,doc: GH_Document,obj: IGH_DocumentObject) """
pass
def Object_Undo(self, *args):
""" Object_Undo(self: GH_LayoutAction,doc: GH_Document,obj: IGH_DocumentObject) """
pass
def __init__(self, *args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod
def __new__(self, obj):
""" __new__(cls: type,obj: IGH_DocumentObject) """
pass
class GH_LockedAction(GH_ObjectUndoAction, IGH_UndoAction, GH_ISerializable):
""" GH_LockedAction(obj: IGH_ActiveObject) """
def Internal_Redo(self, *args):
""" Internal_Redo(self: GH_ObjectUndoAction,doc: GH_Document) """
pass
def Internal_Undo(self, *args):
""" Internal_Undo(self: GH_ObjectUndoAction,doc: GH_Document) """
pass
def Object_Redo(self, *args):
""" Object_Redo(self: GH_LockedAction,doc: GH_Document,obj: IGH_DocumentObject) """
pass
def Object_Undo(self, *args):
""" Object_Undo(self: GH_LockedAction,doc: GH_Document,obj: IGH_DocumentObject) """
pass
def __init__(self, *args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod
def __new__(self, obj):
""" __new__(cls: type,obj: IGH_ActiveObject) """
pass
ExpiresSolution = property(
lambda self: object(), lambda self, v: None, lambda self: None
)
"""Get: ExpiresSolution(self: GH_LockedAction) -> bool
"""
class GH_NickNameAction(GH_ObjectUndoAction, IGH_UndoAction, GH_ISerializable):
""" GH_NickNameAction(obj: IGH_DocumentObject) """
def Internal_Redo(self, *args):
""" Internal_Redo(self: GH_ObjectUndoAction,doc: GH_Document) """
pass
def Internal_Undo(self, *args):
""" Internal_Undo(self: GH_ObjectUndoAction,doc: GH_Document) """
pass
def Object_Redo(self, *args):
""" Object_Redo(self: GH_NickNameAction,doc: GH_Document,obj: IGH_DocumentObject) """
pass
def Object_Undo(self, *args):
""" Object_Undo(self: GH_NickNameAction,doc: GH_Document,obj: IGH_DocumentObject) """
pass
def __init__(self, *args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod
def __new__(self, obj):
""" __new__(cls: type,obj: IGH_DocumentObject) """
pass
class GH_PersistentDataAction(GH_ObjectUndoAction, IGH_UndoAction, GH_ISerializable):
""" GH_PersistentDataAction[T](obj: GH_PersistentParam[T]) """
def Internal_Redo(self, *args):
""" Internal_Redo(self: GH_ObjectUndoAction,doc: GH_Document) """
pass
def Internal_Undo(self, *args):
""" Internal_Undo(self: GH_ObjectUndoAction,doc: GH_Document) """
pass
def Object_Redo(self, *args):
""" Object_Redo(self: GH_PersistentDataAction[T],doc: GH_Document,obj: IGH_DocumentObject) """
pass
def Object_Undo(self, *args):
""" Object_Undo(self: GH_PersistentDataAction[T],doc: GH_Document,obj: IGH_DocumentObject) """
pass
def __init__(self, *args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod
def __new__(self, obj):
""" __new__(cls: type,obj: GH_PersistentParam[T]) """
pass
ExpiresSolution = property(
lambda self: object(), lambda self, v: None, lambda self: None
)
"""Get: ExpiresSolution(self: GH_PersistentDataAction[T]) -> bool
"""
class GH_PivotAction(GH_ObjectUndoAction, IGH_UndoAction, GH_ISerializable):
""" GH_PivotAction(obj: IGH_DocumentObject) """
def Internal_Redo(self, *args):
""" Internal_Redo(self: GH_ObjectUndoAction,doc: GH_Document) """
pass
def Internal_Undo(self, *args):
""" Internal_Undo(self: GH_ObjectUndoAction,doc: GH_Document) """
pass
def Object_Redo(self, *args):
""" Object_Redo(self: GH_PivotAction,doc: GH_Document,obj: IGH_DocumentObject) """
pass
def Object_Undo(self, *args):
""" Object_Undo(self: GH_PivotAction,doc: GH_Document,obj: IGH_DocumentObject) """
pass
def __init__(self, *args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod
def __new__(self, obj):
""" __new__(cls: type,obj: IGH_DocumentObject) """
pass
class GH_RemoveObjectAction(GH_ArchivedUndoAction, IGH_UndoAction, GH_ISerializable):
""" GH_RemoveObjectAction(obj: IGH_DocumentObject) """
def Deserialize(self, *args):
""" Deserialize(self: GH_ArchivedUndoAction,obj: GH_ISerializable) """
pass
def Internal_Redo(self, *args):
""" Internal_Redo(self: GH_RemoveObjectAction,doc: GH_Document) """
pass
def Internal_Undo(self, *args):
""" Internal_Undo(self: GH_RemoveObjectAction,doc: GH_Document) """
pass
def Serialize(self, *args):
""" Serialize(self: GH_ArchivedUndoAction,obj: GH_ISerializable) """
pass
def SerializeToByteArray(self, *args):
""" SerializeToByteArray(self: GH_ArchivedUndoAction,obj: GH_ISerializable) -> Array[Byte] """
pass
def __init__(self, *args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod
def __new__(self, obj):
""" __new__(cls: type,obj: IGH_DocumentObject) """
pass
ExpiresSolution = property(
lambda self: object(), lambda self, v: None, lambda self: None
)
"""Get: ExpiresSolution(self: GH_RemoveObjectAction) -> bool
"""
m_data = None
class GH_RemoveStateAction(GH_ArchivedUndoAction, IGH_UndoAction, GH_ISerializable):
""" GH_RemoveStateAction(index: int,state: GH_State) """
def Deserialize(self, *args):
""" Deserialize(self: GH_ArchivedUndoAction,obj: GH_ISerializable) """
pass
def Internal_Redo(self, *args):
""" Internal_Redo(self: GH_RemoveStateAction,doc: GH_Document) """
pass
def Internal_Undo(self, *args):
""" Internal_Undo(self: GH_RemoveStateAction,doc: GH_Document) """
pass
def Read(self, reader):
""" Read(self: GH_RemoveStateAction,reader: GH_IReader) -> bool """
pass
def Serialize(self, *args):
""" Serialize(self: GH_ArchivedUndoAction,obj: GH_ISerializable) """
pass
def SerializeToByteArray(self, *args):
""" SerializeToByteArray(self: GH_ArchivedUndoAction,obj: GH_ISerializable) -> Array[Byte] """
pass
def Write(self, writer):
""" Write(self: GH_RemoveStateAction,writer: GH_IWriter) -> bool """
pass
def __init__(self, *args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod
def __new__(self, index, state):
""" __new__(cls: type,index: int,state: GH_State) """
pass
m_data = None
class GH_WireAction(GH_UndoAction, IGH_UndoAction, GH_ISerializable):
""" GH_WireAction(param: IGH_Param) """
def Internal_Redo(self, *args):
""" Internal_Redo(self: GH_WireAction,doc: GH_Document) """
pass
def Internal_Undo(self, *args):
""" Internal_Undo(self: GH_WireAction,doc: GH_Document) """
pass
def __init__(self, *args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod
def __new__(self, param):
""" __new__(cls: type,param: IGH_Param) """
pass
ExpiresSolution = property(
lambda self: object(), lambda self, v: None, lambda self: None
)
"""Get: ExpiresSolution(self: GH_WireAction) -> bool
"""
class GH_WireDisplayAction(GH_ObjectUndoAction, IGH_UndoAction, GH_ISerializable):
""" GH_WireDisplayAction(obj: IGH_Param) """
def Internal_Redo(self, *args):
""" Internal_Redo(self: GH_ObjectUndoAction,doc: GH_Document) """
pass
def Internal_Undo(self, *args):
""" Internal_Undo(self: GH_ObjectUndoAction,doc: GH_Document) """
pass
def Object_Redo(self, *args):
""" Object_Redo(self: GH_WireDisplayAction,doc: GH_Document,obj: IGH_DocumentObject) """
pass
def Object_Undo(self, *args):
""" Object_Undo(self: GH_WireDisplayAction,doc: GH_Document,obj: IGH_DocumentObject) """
pass
def __init__(self, *args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod
def __new__(self, obj):
""" __new__(cls: type,obj: IGH_Param) """
pass
| 34.488487
| 221
| 0.641375
| 2,283
| 20,969
| 5.35392
| 0.045992
| 0.055633
| 0.05956
| 0.079277
| 0.904852
| 0.904852
| 0.901579
| 0.835147
| 0.81993
| 0.81993
| 0
| 0.001119
| 0.233011
| 20,969
| 607
| 222
| 34.545305
| 0.758876
| 0.482188
| 0
| 0.898917
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.382671
| false
| 0.382671
| 0
| 0
| 0.490975
| 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
|
65ba38045d23bd8da8fed89b8f090190148a4bbd
| 16,685
|
py
|
Python
|
test/test_process_samples.py
|
eclarke/kraken-biom
|
9a8c870d27076524a9c710a461b6ed47ae746f06
|
[
"MIT"
] | 36
|
2016-07-21T20:05:28.000Z
|
2022-02-15T06:31:12.000Z
|
test/test_process_samples.py
|
eclarke/kraken-biom
|
9a8c870d27076524a9c710a461b6ed47ae746f06
|
[
"MIT"
] | 18
|
2017-04-15T14:28:24.000Z
|
2022-03-10T21:19:20.000Z
|
test/test_process_samples.py
|
eclarke/kraken-biom
|
9a8c870d27076524a9c710a461b6ed47ae746f06
|
[
"MIT"
] | 20
|
2016-10-27T07:59:16.000Z
|
2022-03-16T13:11:22.000Z
|
#!/usr/bin/env python
# coding: utf-8
import os, os.path as osp
import tempfile
from textwrap import dedent as twdd
import unittest
import kraken_biom as kb
from test.test_parsing import prep_kraken_input
class kraken_biom_Test(unittest.TestCase):
def setUp(self):
self.krepA = twdd(u"""\
100.00 6783846 6783846 U 0 unclassified
0.00 130 18 - 1 root
0.00 105 0 - 131567 cellular organisms
0.00 105 0 D 2 Bacteria
0.00 62 30 P 1239 Firmicutes
0.00 29 0 C 91061 Bacilli
0.00 29 0 O 186826 Lactobacillales
0.00 20 0 F 1300 Streptococcaceae
0.00 20 8 G 1301 Streptococcus
0.00 5 4 S 1304 Streptococcus salivarius
0.00 1 1 - 1048332 Streptococcus salivarius CCHSS3
0.00 3 0 S 1303 Streptococcus oralis
0.00 3 3 - 927666 Streptococcus oralis Uo5
0.00 2 2 S 1318 Streptococcus parasanguinis
0.00 1 0 S 1305 Streptococcus sanguinis
0.00 1 1 - 388919 Streptococcus sanguinis SK36
0.00 1 1 S 1308 Streptococcus thermophilus
0.00 9 0 F 81852 Enterococcaceae
0.00 9 0 G 1350 Enterococcus
0.00 9 0 S 37734 Enterococcus casseliflavus
0.00 9 9 - 565655 Enterococcus casseliflavus EC20
0.00 1 0 C 186801 Clostridia
0.00 1 1 O 186802 Clostridiales
0.00 40 0 P 1224 Proteobacteria
0.00 20 2 C 1236 Gammaproteobacteria
0.00 11 1 O 135622 Alteromonadales
0.00 10 0 F 72275 Alteromonadaceae
0.00 10 0 G 226 Alteromonas
0.00 10 0 S 28108 Alteromonas macleodii
0.00 10 10 - 1300257 Alteromonas macleodii str. 'Ionian Sea U8'
0.00 7 0 O 91347 Enterobacteriales
0.00 7 6 F 543 Enterobacteriaceae
0.00 1 0 G 561 Escherichia
0.00 1 1 S 562 Escherichia coli
0.00 20 5 C 28216 Betaproteobacteria
0.00 15 0 O 80840 Burkholderiales
0.00 11 0 F 119060 Burkholderiaceae
0.00 11 0 G 48736 Ralstonia
0.00 11 10 S 329 Ralstonia pickettii
0.00 1 1 - 428406 Ralstonia pickettii 12D
0.00 4 0 F 80864 Comamonadaceae
0.00 2 2 G 12916 Acidovorax
0.00 2 0 G 201096 Alicycliphilus
0.00 2 0 S 179636 Alicycliphilus denitrificans
0.00 2 2 - 596154 Alicycliphilus denitrificans K601
0.00 3 0 P 201174 Actinobacteria
0.00 3 0 C 1760 Actinobacteria
0.00 2 0 - 84998 Coriobacteridae
0.00 2 0 O 84999 Coriobacteriales
0.00 2 0 - 255727 Coriobacterineae
0.00 2 0 F 84107 Coriobacteriaceae
0.00 2 0 G 1380 Atopobium
0.00 2 0 S 1382 Atopobium parvulum
0.00 2 2 - 521095 Atopobium parvulum DSM 20469
0.00 1 0 - 85003 Actinobacteridae
0.00 1 0 O 2037 Actinomycetales
0.00 1 0 - 85009 Propionibacterineae
0.00 1 0 F 31957 Propionibacteriaceae
0.00 1 0 G 1743 Propionibacterium
0.00 1 1 S 1747 Propionibacterium acnes
0.00 20 0 D 2157 Archaea
0.00 20 7 P 28890 Euryarchaeota
0.00 8 0 C 183963 Halobacteria
0.00 8 0 O 1644060 Natrialbales
0.00 8 0 F 1644061 Natrialbaceae
0.00 8 0 G 29287 Natronococcus
0.00 8 0 S 29288 Natronococcus occultus
0.00 8 8 - 694430 Natronococcus occultus SP4
0.00 4 0 C 224756 Methanomicrobia
0.00 4 0 O 94695 Methanosarcinales
0.00 4 0 F 2206 Methanosarcinaceae
0.00 3 0 G 101191 Methanomethylovorans
0.00 3 0 S 101192 Methanomethylovorans hollandica
0.00 3 3 - 867904 Methanomethylovorans hollandica DSM 15978
0.00 1 0 G 2207 Methanosarcina
0.00 1 0 S 2214 Methanosarcina acetivorans
0.00 1 1 - 188937 Methanosarcina acetivorans C2A
0.00 1 0 C 183939 Methanococci
0.00 1 0 O 2182 Methanococcales
0.00 1 0 F 2183 Methanococcaceae
0.00 1 0 G 2184 Methanococcus
0.00 1 0 S 2188 Methanococcus voltae
0.00 1 1 - 456320 Methanococcus voltae A3
0.00 7 0 D 10239 Viruses
0.00 2 0 - 29258 ssDNA viruses
0.00 2 0 F 10841 Microviridae
0.00 2 0 G 10842 Microvirus
0.00 2 2 S 374840 Enterobacteria phage phiX174 sensu lato
0.00 2 0 - 35237 dsDNA viruses, no RNA stage
0.00 2 0 F 10482 Polydnaviridae
0.00 2 0 G 10483 Ichnovirus
0.00 2 2 S 265522 Hyposoter fugitivus ichnovirus
0.00 2 0 - 439488 ssRNA viruses
0.00 2 0 - 35278 ssRNA positive-strand viruses, no DNA stage
0.00 2 0 F 11018 Togaviridae
0.00 2 0 G 11019 Alphavirus
0.00 2 0 - 177872 VEEV complex
0.00 2 2 S 11036 Venezuelan equine encephalitis virus
0.00 1 0 - 35268 Retro-transcribing viruses
0.00 1 0 F 11632 Retroviridae
0.00 1 0 - 35276 unclassified Retroviridae
0.00 1 0 - 206037 Human endogenous retroviruses
0.00 1 0 S 45617 Human endogenous retrovirus K
0.00 1 1 - 166122 Human endogenous retrovirus K113
""").encode("utf-8")
self.krepB = twdd(u"""\
100.00 6783846 6783846 U 0 unclassified
0.00 130 18 - 1 root
0.00 105 0 - 131567 cellular organisms
0.00 105 0 D 2 Bacteria
0.00 62 30 P 1239 Firmicutes
0.00 29 0 C 91061 Bacilli
0.00 29 0 O 186826 Lactobacillales
0.00 20 0 F 1300 Streptococcaceae
0.00 20 8 G 1301 Streptococcus
0.00 5 4 S 1304 Streptococcus salivarius
0.00 1 1 - 1048332 Streptococcus salivarius CCHSS3
0.00 3 0 S 1303 Streptococcus oralis
0.00 3 3 - 927666 Streptococcus oralis Uo5
0.00 2 2 S 1318 Streptococcus parasanguinis
0.00 1 0 S 1305 Streptococcus sanguinis
0.00 1 1 - 388919 Streptococcus sanguinis SK36
0.00 1 1 S 1308 Streptococcus thermophilus
0.00 9 0 F 81852 Enterococcaceae
0.00 9 0 G 1350 Enterococcus
0.00 9 0 S 37734 Enterococcus casseliflavus
0.00 9 9 - 565655 Enterococcus casseliflavus EC20
0.00 1 0 C 186801 Clostridia
0.00 1 1 O 186802 Clostridiales
0.00 40 0 P 1224 Proteobacteria
0.00 20 2 C 1236 Gammaproteobacteria
0.00 11 1 O 135622 Alteromonadales
0.00 10 0 F 72275 Alteromonadaceae
0.00 10 0 G 226 Alteromonas
0.00 10 0 S 28108 Alteromonas macleodii
0.00 10 10 - 1300257 Alteromonas macleodii str. 'Ionian Sea U8'
0.00 7 0 O 91347 Enterobacteriales
0.00 7 6 F 543 Enterobacteriaceae
0.00 1 0 G 561 Escherichia
0.00 1 1 S 562 Escherichia coli
0.00 20 5 C 28216 Betaproteobacteria
0.00 15 0 O 80840 Burkholderiales
0.00 11 0 F 119060 Burkholderiaceae
0.00 11 0 G 48736 Ralstonia
0.00 11 10 S 329 Ralstonia pickettii
0.00 1 1 - 428406 Ralstonia pickettii 12D
0.00 4 0 F 80864 Comamonadaceae
0.00 2 2 G 12916 Acidovorax
0.00 2 0 G 201096 Alicycliphilus
0.00 2 0 S 179636 Alicycliphilus denitrificans
0.00 2 2 - 596154 Alicycliphilus denitrificans K601
0.00 3 0 P 201174 Actinobacteria
0.00 3 0 C 1760 Actinobacteria
0.00 2 0 - 84998 Coriobacteridae
0.00 2 0 O 84999 Coriobacteriales
0.00 2 0 - 255727 Coriobacterineae
0.00 2 0 F 84107 Coriobacteriaceae
0.00 2 0 G 1380 Atopobium
0.00 2 0 S 1382 Atopobium parvulum
0.00 2 2 - 521095 Atopobium parvulum DSM 20469
0.00 1 0 - 85003 Actinobacteridae
0.00 1 0 O 2037 Actinomycetales
0.00 1 0 - 85009 Propionibacterineae
0.00 1 0 F 31957 Propionibacteriaceae
0.00 1 0 G 1743 Propionibacterium
0.00 1 1 S 1747 Propionibacterium acnes
0.00 20 0 D 2157 Archaea
0.00 20 7 P 28890 Euryarchaeota
0.00 8 0 C 183963 Halobacteria
0.00 8 0 O 1644060 Natrialbales
0.00 8 0 F 1644061 Natrialbaceae
0.00 8 0 G 29287 Natronococcus
0.00 8 0 S 29288 Natronococcus occultus
0.00 8 8 - 694430 Natronococcus occultus SP4
0.00 4 0 C 224756 Methanomicrobia
0.00 4 0 O 94695 Methanosarcinales
0.00 4 0 F 2206 Methanosarcinaceae
0.00 3 0 G 101191 Methanomethylovorans
0.00 3 0 S 101192 Methanomethylovorans hollandica
0.00 3 3 - 867904 Methanomethylovorans hollandica DSM 15978
0.00 1 0 G 2207 Methanosarcina
0.00 1 0 S 2214 Methanosarcina acetivorans
0.00 1 1 - 188937 Methanosarcina acetivorans C2A
0.00 1 0 C 183939 Methanococci
0.00 1 0 O 2182 Methanococcales
0.00 1 0 F 2183 Methanococcaceae
0.00 1 0 G 2184 Methanococcus
0.00 1 0 S 2188 Methanococcus voltae
0.00 1 1 - 456320 Methanococcus voltae A3
0.00 7 0 D 10239 Viruses
0.00 2 0 - 29258 ssDNA viruses
0.00 2 0 F 10841 Microviridae
0.00 2 0 G 10842 Microvirus
0.00 2 2 S 374840 Enterobacteria phage phiX174 sensu lato
0.00 2 0 - 35237 dsDNA viruses, no RNA stage
0.00 2 0 F 10482 Polydnaviridae
0.00 2 0 G 10483 Ichnovirus
0.00 2 2 S 265522 Hyposoter fugitivus ichnovirus
0.00 2 0 - 439488 ssRNA viruses
0.00 2 0 - 35278 ssRNA positive-strand viruses, no DNA stage
0.00 2 0 F 11018 Togaviridae
0.00 2 0 G 11019 Alphavirus
0.00 2 0 - 177872 VEEV complex
0.00 2 2 S 11036 Venezuelan equine encephalitis virus
""").encode("utf-8")
# create temp files containing the above kraken results
tempf_krepA = tempfile.NamedTemporaryFile()
tempf_krepA.write(self.krepA)
tempf_krepB = tempfile.NamedTemporaryFile()
tempf_krepB.write(self.krepB)
self.fps = [tempf_krepA.name, tempf_krepB.name]
self.fnames = [osp.split(fp)[1] for fp in self.fps]
self.sample_counts, self.taxa = kb.process_samples(self.fps,
max_rank="O",
min_rank="S")
def test_sample_ids(self):
proc_snames = set(self.sample_counts)
self.assertEqual(proc_snames.symmetric_difference(self.fnames), set())
def test_sample_counts(self):
countsA = {'265522': 2, '1382': 2, '11036': 2, '37734': 9, '1747': 1,
'374840': 2, '543': 6, '562': 1, '179636': 2, '28108': 10,
'12916': 2, '1303': 3, '1308': 1, '135622': 1, '1318': 2,
'2188': 1, '2214': 1, '29288': 8, '329': 11, '1301': 8,
'101192': 3, '45617': 1, '1305': 1, '1304': 5, '186802': 1}
countsB = {'265522': 2, '1382': 2, '11036': 2, '37734': 9, '1747': 1,
'374840': 2, '543': 6, '562': 1, '179636': 2, '28108': 10,
'12916': 2, '1303': 3, '1308': 1, '135622': 1, '1318': 2,
'2188': 1, '2214': 1, '29288': 8, '329': 11, '1301': 8,
'101192': 3, '1305': 1, '1304': 5, '186802': 1}
proc_countsA = self.sample_counts[self.fnames[0]]
proc_countsB = self.sample_counts[self.fnames[1]]
self.assertTrue(all([countsA[otu_id] == proc_countsA[otu_id]
for otu_id in countsA]))
self.assertTrue(all([countsA[otu_id] == proc_countsA[otu_id]
for otu_id in proc_countsA]))
self.assertTrue(all([countsB[otu_id] == proc_countsB[otu_id]
for otu_id in countsB]))
self.assertTrue(all([countsB[otu_id] == proc_countsB[otu_id]
for otu_id in proc_countsB]))
def test_taxa(self):
manual = {"1304": ["k__Bacteria", "p__Firmicutes", "c__Bacilli",
"o__Lactobacillales", "f__Streptococcaceae",
"g__Streptococcus", "s__salivarius"],
"29288": ["k__Archaea", "p__Euryarchaeota", "c__Halobacteria",
"o__Natrialbales", "f__Natrialbaceae",
"g__Natronococcus", "s__occultus"],
"45617": ["k__Viruses", "p__", "c__", "o__", "f__Retroviridae",
"g__", "s__Human endogenous retrovirus K"],
"1301": ["k__Bacteria", "p__Firmicutes", "c__Bacilli",
"o__Lactobacillales", "f__Streptococcaceae",
"g__Streptococcus", "s__"],
"135622":["k__Bacteria", "p__Proteobacteria",
"c__Gammaproteobacteria", "o__Alteromonadales",
"f__", "g__", "s__"],
"543": ["k__Bacteria", "p__Proteobacteria",
"c__Gammaproteobacteria", "o__Enterobacteriales",
"f__Enterobacteriaceae", "g__", "s__"],
"265522":["k__Viruses", "p__", "c__", "o__",
"f__Polydnaviridae", "g__Ichnovirus",
"s__Hyposoter fugitivus ichnovirus"],
"374840":["k__Viruses", "p__", "c__", "o__",
"f__Microviridae", "g__Microvirus",
"s__Enterobacteria phage phiX174 sensu lato"]
}
self.assertTrue(all([manual[tax_id] == self.taxa[tax_id]
for tax_id in manual]))
def tearDown(self):
pass
if __name__ == '__main__':
unittest.main()
| 54.348534
| 93
| 0.480971
| 1,976
| 16,685
| 3.975202
| 0.169028
| 0.076384
| 0.027498
| 0.024188
| 0.830172
| 0.81324
| 0.804328
| 0.791852
| 0.791852
| 0.791852
| 0
| 0.277367
| 0.465628
| 16,685
| 307
| 94
| 54.348534
| 0.603634
| 0.005274
| 0
| 0.755396
| 0
| 0
| 0.799759
| 0.003917
| 0
| 0
| 0
| 0
| 0.021583
| 1
| 0.017986
| false
| 0.003597
| 0.021583
| 0
| 0.043165
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 9
|
65bd14cd681609d5fcd0f5fa0130ec4157a8044c
| 1,641
|
py
|
Python
|
urizen/generators/buildings/__init__.py
|
vurmux/urizen
|
28b1e60cf8fa2f15622537f6df0290e2ac890d5f
|
[
"Apache-2.0"
] | 107
|
2020-01-08T21:27:59.000Z
|
2022-03-19T07:59:23.000Z
|
urizen/generators/buildings/__init__.py
|
hanok2/urizen
|
28b1e60cf8fa2f15622537f6df0290e2ac890d5f
|
[
"Apache-2.0"
] | 1
|
2020-05-22T17:54:12.000Z
|
2021-06-27T01:02:39.000Z
|
urizen/generators/buildings/__init__.py
|
hanok2/urizen
|
28b1e60cf8fa2f15622537f6df0290e2ac890d5f
|
[
"Apache-2.0"
] | 7
|
2020-01-08T21:12:11.000Z
|
2022-03-19T07:59:27.000Z
|
import urizen.generators.buildings.building_housebarn
from urizen.generators.buildings.building_housebarn import building_housebarn
import urizen.generators.buildings.building_hunter_robber_house
from urizen.generators.buildings.building_hunter_robber_house import building_hunter_robber_house
import urizen.generators.buildings.building_prison
from urizen.generators.buildings.building_prison import building_prison
import urizen.generators.buildings.building_stables
from urizen.generators.buildings.building_stables import building_stables
import urizen.generators.buildings.building_bank
from urizen.generators.buildings.building_bank import building_bank
import urizen.generators.buildings.building_shop
from urizen.generators.buildings.building_shop import building_shop
import urizen.generators.buildings.building_ruined_house
from urizen.generators.buildings.building_ruined_house import building_ruined_house
import urizen.generators.buildings.building_inn
from urizen.generators.buildings.building_inn import building_inn, building_roadhouse
import urizen.generators.buildings.building_house_medieval
from urizen.generators.buildings.building_house_medieval import building_house_tworoom
import urizen.generators.buildings.building_mansion_symmetric
from urizen.generators.buildings.building_mansion_symmetric import building_mansion_symmetric
import urizen.generators.buildings.building_kitchengarden
from urizen.generators.buildings.building_kitchengarden import building_kitchengarden
import urizen.generators.buildings.building_bathhouse
from urizen.generators.buildings.building_bathhouse import building_bathhouse
| 45.583333
| 97
| 0.904327
| 197
| 1,641
| 7.269036
| 0.116751
| 0.268156
| 0.418994
| 0.553073
| 0.818436
| 0.331006
| 0.069832
| 0
| 0
| 0
| 0
| 0
| 0.051188
| 1,641
| 35
| 98
| 46.885714
| 0.919717
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 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
|
65df434dac4463b14306db1c0c5868a0b10dd420
| 723
|
py
|
Python
|
scripts/run.py
|
Lornatang/DRRN-PyTorch
|
d29b184da875bd9ba18ef0ebee6c868a7741fb7b
|
[
"Apache-2.0"
] | 2
|
2022-01-04T02:04:59.000Z
|
2022-03-03T08:51:45.000Z
|
scripts/run.py
|
Lornatang/DRRN-PyTorch
|
d29b184da875bd9ba18ef0ebee6c868a7741fb7b
|
[
"Apache-2.0"
] | null | null | null |
scripts/run.py
|
Lornatang/DRRN-PyTorch
|
d29b184da875bd9ba18ef0ebee6c868a7741fb7b
|
[
"Apache-2.0"
] | null | null | null |
import os
# Prepare dataset
os.system("python ./prepare_dataset.py --images_dir ../data/TB291/original --output_dir ../data/TB291/DRRN/train --image_size 32 --step 21 --scale 2 --num_workers 10")
os.system("python ./prepare_dataset.py --images_dir ../data/TB291/original --output_dir ../data/TB291/DRRN/train --image_size 33 --step 21 --scale 3 --num_workers 10")
os.system("python ./prepare_dataset.py --images_dir ../data/TB291/original --output_dir ../data/TB291/DRRN/train --image_size 32 --step 21 --scale 4 --num_workers 10")
# Split train and valid
os.system("python ./split_train_valid_dataset.py --train_images_dir ../data/TB291/DRRN/train --valid_images_dir ../data/TB291/DRRN/valid --valid_samples_ratio 0.1")
| 72.3
| 167
| 0.745505
| 116
| 723
| 4.439655
| 0.301724
| 0.108738
| 0.186408
| 0.174757
| 0.728155
| 0.63301
| 0.63301
| 0.63301
| 0.63301
| 0.63301
| 0
| 0.071104
| 0.085754
| 723
| 9
| 168
| 80.333333
| 0.708018
| 0.051176
| 0
| 0
| 0
| 0.8
| 0.897511
| 0.346999
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.2
| 0
| 0.2
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
02bdc1c906fba4360a7c1aa0a0a64ca948b65c74
| 15,637
|
py
|
Python
|
tests/integration/test_dg_commit.py
|
jpopelka/packit-service
|
5802fa78200daf9cd479d820c3cc003c530b9af7
|
[
"MIT"
] | null | null | null |
tests/integration/test_dg_commit.py
|
jpopelka/packit-service
|
5802fa78200daf9cd479d820c3cc003c530b9af7
|
[
"MIT"
] | null | null | null |
tests/integration/test_dg_commit.py
|
jpopelka/packit-service
|
5802fa78200daf9cd479d820c3cc003c530b9af7
|
[
"MIT"
] | null | null | null |
# Copyright Contributors to the Packit project.
# SPDX-License-Identifier: MIT
import json
import pytest
from celery.canvas import Signature
from flexmock import flexmock
from ogr.services.pagure import PagureProject
from packit.api import PackitAPI
from packit.config import JobConfigTriggerType
from packit.constants import CONFIG_FILE_NAMES
from packit.local_project import LocalProject
from packit.utils.repo import RepositoryCache
from packit_service.config import PackageConfigGetter, ProjectToSync, ServiceConfig
from packit_service.constants import SANDCASTLE_WORK_DIR
from packit_service.models import GitBranchModel
from packit_service.worker.jobs import SteveJobs
from packit_service.worker.monitoring import Pushgateway
from packit_service.worker.tasks import (
run_downstream_koji_build,
run_sync_from_downstream_handler,
)
from tests.spellbook import DATA_DIR, first_dict_value, get_parameters_from_results
def distgit_commit_event():
return json.loads((DATA_DIR / "fedmsg" / "distgit_commit.json").read_text())
def test_sync_from_downstream():
packit_yaml = (
"{'specfile_path': 'buildah.spec', 'synced_files': [],"
"'jobs': [{'trigger': 'commit', 'job': 'sync_from_downstream'}],"
"'downstream_package_name': 'buildah'}"
)
pagure_project = flexmock(
PagureProject,
full_repo_name="rpms/buildah",
default_branch="main",
)
pagure_project.should_receive("get_files").with_args(
ref="abcd", filter_regex=r".+\.spec$"
).and_return(["buildah.spec"])
pagure_project.should_receive("get_file_content").with_args(
path=".distro/source-git.yaml", ref="abcd"
).and_raise(FileNotFoundError, "Not found.")
pagure_project.should_receive("get_file_content").with_args(
path=".packit.yaml", ref="abcd"
).and_return(packit_yaml)
flexmock(GitBranchModel).should_receive("get_or_create").with_args(
branch_name="main",
namespace="rpms",
repo_name="buildah",
project_url="https://src.fedoraproject.org/rpms/buildah",
).and_return(flexmock(id=9, job_config_trigger_type=JobConfigTriggerType.commit))
flexmock(ServiceConfig).should_receive("get_service_config").and_return(
ServiceConfig(
projects_to_sync=[
ProjectToSync(
forge="https://github.com",
repo_namespace="example-namespace",
repo_name="buildah",
branch="aaa",
dg_branch="main",
dg_repo_name="buildah",
)
],
command_handler_work_dir=SANDCASTLE_WORK_DIR,
repository_cache="/tmp/repository-cache",
add_repositories_to_repository_cache=False,
)
)
flexmock(LocalProject, refresh_the_arguments=lambda: None)
flexmock(RepositoryCache).should_call("__init__").once()
flexmock(Signature).should_receive("apply_async").once()
flexmock(Pushgateway).should_receive("push").once().and_return()
flexmock(PackitAPI).should_receive("sync_from_downstream").with_args(
dist_git_branch="main", upstream_branch="aaa", sync_only_specfile=True
)
processing_results = SteveJobs().process_message(distgit_commit_event())
event_dict, job, job_config, package_config = get_parameters_from_results(
processing_results
)
assert json.dumps(event_dict)
results = run_sync_from_downstream_handler(
package_config=package_config,
event=event_dict,
job_config=job_config,
)
assert first_dict_value(results["job"])["success"]
def test_do_not_sync_from_downstream_on_a_different_branch():
packit_yaml = (
"{'specfile_path': 'buildah.spec', 'synced_files': [],"
"'jobs': [{'trigger': 'commit', 'job': 'sync_from_downstream'}],"
"'downstream_package_name': 'buildah'}"
)
pagure_project = flexmock(
PagureProject,
full_repo_name="rpms/buildah",
default_branch="main",
)
pagure_project.should_receive("get_files").with_args(
ref="abcd", filter_regex=r".+\.spec$"
).and_return(["buildah.spec"])
pagure_project.should_receive("get_file_content").with_args(
path=".distro/source-git.yaml", ref="abcd"
).and_raise(FileNotFoundError, "Not found.")
pagure_project.should_receive("get_file_content").with_args(
path=".packit.yaml", ref="abcd"
).and_return(packit_yaml)
flexmock(GitBranchModel).should_receive("get_or_create").with_args(
branch_name="main",
namespace="rpms",
repo_name="buildah",
project_url="https://src.fedoraproject.org/rpms/buildah",
).and_return(flexmock(id=9, job_config_trigger_type=JobConfigTriggerType.commit))
flexmock(ServiceConfig).should_receive("get_service_config").and_return(
ServiceConfig(
projects_to_sync=[
ProjectToSync(
forge="https://github.com",
repo_namespace="example-namespace",
repo_name="buildah",
branch="aaa",
dg_branch="different_branch",
dg_repo_name="buildah",
)
],
command_handler_work_dir=SANDCASTLE_WORK_DIR,
repository_cache="/tmp/repository-cache",
add_repositories_to_repository_cache=False,
)
)
flexmock(PackitAPI).should_receive("sync_from_downstream").times(0)
processing_results = SteveJobs().process_message(distgit_commit_event())
assert not processing_results
def test_downstream_koji_build():
packit_yaml = (
"{'specfile_path': 'buildah.spec', 'synced_files': [],"
"'jobs': [{'trigger': 'commit', 'job': 'koji_build'}],"
"'downstream_package_name': 'buildah'}"
)
pagure_project = flexmock(
PagureProject,
full_repo_name="rpms/buildah",
get_web_url=lambda: "https://src.fedoraproject.org/rpms/buildah",
default_branch="main",
)
pagure_project.should_receive("get_files").with_args(
ref="abcd", filter_regex=r".+\.spec$"
).and_return(["buildah.spec"])
pagure_project.should_receive("get_file_content").with_args(
path=".distro/source-git.yaml", ref="abcd"
).and_raise(FileNotFoundError, "Not found.")
pagure_project.should_receive("get_file_content").with_args(
path=".packit.yaml", ref="abcd"
).and_return(packit_yaml)
flexmock(GitBranchModel).should_receive("get_or_create").with_args(
branch_name="main",
namespace="rpms",
repo_name="buildah",
project_url="https://src.fedoraproject.org/rpms/buildah",
).and_return(flexmock(id=9, job_config_trigger_type=JobConfigTriggerType.commit))
flexmock(ServiceConfig).should_receive("get_service_config").and_return(
ServiceConfig(
command_handler_work_dir=SANDCASTLE_WORK_DIR,
repository_cache="/tmp/repository-cache",
add_repositories_to_repository_cache=False,
)
)
flexmock(LocalProject, refresh_the_arguments=lambda: None)
flexmock(RepositoryCache).should_call("__init__").once()
flexmock(Signature).should_receive("apply_async").once()
flexmock(Pushgateway).should_receive("push").once().and_return()
flexmock(PackitAPI).should_receive("build").with_args(
dist_git_branch="main",
scratch=False,
nowait=True,
from_upstream=False,
)
processing_results = SteveJobs().process_message(distgit_commit_event())
event_dict, job, job_config, package_config = get_parameters_from_results(
processing_results
)
assert json.dumps(event_dict)
results = run_downstream_koji_build(
package_config=package_config,
event=event_dict,
job_config=job_config,
)
assert first_dict_value(results["job"])["success"]
def test_downstream_koji_build_no_config():
pagure_project = flexmock(
PagureProject,
full_repo_name="rpms/buildah",
get_web_url=lambda: "https://src.fedoraproject.org/rpms/buildah",
default_branch="main",
)
pagure_project.should_receive("get_files").with_args(
ref="abcd", filter_regex=r".+\.spec$"
).and_return(["buildah.spec"])
for config_file_name in CONFIG_FILE_NAMES:
pagure_project.should_receive("get_file_content").with_args(
path=config_file_name, ref="abcd"
).and_raise(FileNotFoundError, "Not found.")
flexmock(PackageConfigGetter).should_call("get_package_config_from_repo").once()
flexmock(GitBranchModel).should_receive("get_or_create").with_args(
branch_name="main",
namespace="rpms",
repo_name="buildah",
project_url="https://src.fedoraproject.org/rpms/buildah",
).and_return(flexmock(id=9, job_config_trigger_type=JobConfigTriggerType.commit))
flexmock(ServiceConfig).should_receive("get_service_config").and_return(
ServiceConfig(
command_handler_work_dir=SANDCASTLE_WORK_DIR,
repository_cache="/tmp/repository-cache",
add_repositories_to_repository_cache=False,
)
)
flexmock(LocalProject, refresh_the_arguments=lambda: None)
flexmock(Signature).should_receive("apply_async").times(0)
processing_results = SteveJobs().process_message(distgit_commit_event())
assert (
processing_results[0]["details"]["msg"]
== "No packit config found in the repository."
)
@pytest.mark.parametrize(
"jobs_config",
[
pytest.param(
"["
"{'trigger': 'commit', 'job': 'koji_build', "
"'metadata': {'dist_git_branches': ['a-different-branch']}},"
"{'trigger': 'commit', 'job': 'koji_build', "
"'metadata': {'dist_git_branches': ['main']}}"
"]",
id="multiple_jobs",
),
pytest.param(
"["
"{'trigger': 'commit', 'job': 'koji_build', "
"'metadata': {'dist_git_branches': ['a-different-branch', 'main', 'other_branch']}}"
"]",
id="multiple_branches",
),
pytest.param(
"["
"{'trigger': 'commit', 'job': 'koji_build', "
"'metadata': {'dist_git_branches': ['fedora-all']}}"
"]",
id="aliases",
),
],
)
def test_downstream_koji_build_where_multiple_branches_defined(jobs_config):
packit_yaml = (
"{'specfile_path': 'buildah.spec', 'synced_files': [],"
f"'jobs': {jobs_config},"
"'downstream_package_name': 'buildah'}"
)
pagure_project = flexmock(
PagureProject,
full_repo_name="rpms/buildah",
get_web_url=lambda: "https://src.fedoraproject.org/rpms/buildah",
default_branch="main",
)
pagure_project.should_receive("get_files").with_args(
ref="abcd", filter_regex=r".+\.spec$"
).and_return(["buildah.spec"])
pagure_project.should_receive("get_file_content").with_args(
path=".distro/source-git.yaml", ref="abcd"
).and_raise(FileNotFoundError, "Not found.")
pagure_project.should_receive("get_file_content").with_args(
path=".packit.yaml", ref="abcd"
).and_return(packit_yaml)
flexmock(GitBranchModel).should_receive("get_or_create").with_args(
branch_name="main",
namespace="rpms",
repo_name="buildah",
project_url="https://src.fedoraproject.org/rpms/buildah",
).and_return(flexmock(id=9, job_config_trigger_type=JobConfigTriggerType.commit))
flexmock(ServiceConfig).should_receive("get_service_config").and_return(
ServiceConfig(
command_handler_work_dir=SANDCASTLE_WORK_DIR,
repository_cache="/tmp/repository-cache",
add_repositories_to_repository_cache=False,
)
)
flexmock(LocalProject, refresh_the_arguments=lambda: None)
flexmock(RepositoryCache).should_call("__init__").once()
flexmock(Signature).should_receive("apply_async").once()
flexmock(Pushgateway).should_receive("push").once().and_return()
flexmock(PackitAPI).should_receive("build").with_args(
dist_git_branch="a-different-branch",
scratch=False,
nowait=True,
from_upstream=False,
).times(0)
flexmock(PackitAPI).should_receive("build").with_args(
dist_git_branch="main",
scratch=False,
nowait=True,
from_upstream=False,
).once()
processing_results = SteveJobs().process_message(distgit_commit_event())
assert len(processing_results) == 1
event_dict, job, job_config, package_config = get_parameters_from_results(
processing_results
)
assert json.dumps(event_dict)
results = run_downstream_koji_build(
package_config=package_config,
event=event_dict,
job_config=job_config,
)
assert first_dict_value(results["job"])["success"]
@pytest.mark.parametrize(
"jobs_config",
[
pytest.param(
"["
"{'trigger': 'commit', 'job': 'koji_build', "
"'metadata': {'dist_git_branches': ['a-different-branch']}},"
"{'trigger': 'commit', 'job': 'koji_build', "
"'metadata': {'dist_git_branches': ['other_branch']}}"
"]",
id="multiple_jobs",
),
pytest.param(
"["
"{'trigger': 'commit', 'job': 'koji_build', "
"'metadata': {'dist_git_branches': ['a-different-branch', 'other_branch']}}"
"]",
id="multiple_branches",
),
pytest.param(
"["
"{'trigger': 'commit', 'job': 'koji_build', "
"'metadata': {'dist_git_branches': ['fedora-stable']}}"
"]",
id="aliases",
),
],
)
def test_do_not_run_downstream_koji_build_for_a_different_branch(jobs_config):
packit_yaml = (
"{'specfile_path': 'buildah.spec', 'synced_files': [],"
f"'jobs': {jobs_config},"
"'downstream_package_name': 'buildah'}"
)
pagure_project = flexmock(
PagureProject,
full_repo_name="rpms/buildah",
get_web_url=lambda: "https://src.fedoraproject.org/rpms/buildah",
default_branch="main",
)
pagure_project.should_receive("get_files").with_args(
ref="abcd", filter_regex=r".+\.spec$"
).and_return(["buildah.spec"])
pagure_project.should_receive("get_file_content").with_args(
path=".distro/source-git.yaml", ref="abcd"
).and_raise(FileNotFoundError, "Not found.")
pagure_project.should_receive("get_file_content").with_args(
path=".packit.yaml", ref="abcd"
).and_return(packit_yaml)
flexmock(GitBranchModel).should_receive("get_or_create").with_args(
branch_name="main",
namespace="rpms",
repo_name="buildah",
project_url="https://src.fedoraproject.org/rpms/buildah",
).and_return(flexmock(id=9, job_config_trigger_type=JobConfigTriggerType.commit))
flexmock(ServiceConfig).should_receive("get_service_config").and_return(
ServiceConfig(
command_handler_work_dir=SANDCASTLE_WORK_DIR,
repository_cache="/tmp/repository-cache",
add_repositories_to_repository_cache=False,
)
)
flexmock(LocalProject, refresh_the_arguments=lambda: None)
flexmock(PackitAPI).should_receive("build").times(0)
processing_results = SteveJobs().process_message(distgit_commit_event())
assert not processing_results
| 36.620609
| 96
| 0.656136
| 1,697
| 15,637
| 5.693577
| 0.107837
| 0.05651
| 0.048023
| 0.045746
| 0.864624
| 0.848065
| 0.842165
| 0.827986
| 0.827986
| 0.821362
| 0
| 0.000974
| 0.211805
| 15,637
| 426
| 97
| 36.706573
| 0.782961
| 0.004732
| 0
| 0.757333
| 0
| 0
| 0.231748
| 0.045694
| 0
| 0
| 0
| 0
| 0.026667
| 1
| 0.018667
| false
| 0
| 0.045333
| 0.002667
| 0.066667
| 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
|
02fd4c256e27497133e09dbb412ea68f978ad205
| 12,437
|
py
|
Python
|
turbogears/i18n/data/am_ET.py
|
timmartin19/turbogears
|
b5420cb7e55757d418d8fadb512dbd7803c4279c
|
[
"MIT"
] | null | null | null |
turbogears/i18n/data/am_ET.py
|
timmartin19/turbogears
|
b5420cb7e55757d418d8fadb512dbd7803c4279c
|
[
"MIT"
] | 9
|
2015-01-27T19:13:56.000Z
|
2019-03-29T14:44:31.000Z
|
turbogears/i18n/data/am_ET.py
|
timmartin19/turbogears
|
b5420cb7e55757d418d8fadb512dbd7803c4279c
|
[
"MIT"
] | 13
|
2015-04-14T14:15:53.000Z
|
2020-03-18T01:05:46.000Z
|
# Formatting configuration for locale am_ET
languages={'gu': u'\u1309\u1303\u122d\u1272\u129b', 'gd': u'\u12a5\u1235\u12ae\u1275\u1235 \u130c\u120d\u12ad\u129b', 'ga': u'\u12a0\u12ed\u122a\u123d', 'gn': u'\u1313\u122b\u1292\u129b', 'gl': u'\u130b\u1208\u130b\u129b', 'la': u'\u120b\u1272\u1295\u129b', 'ln': u'\u120a\u1295\u130b\u120b\u129b', 'lo': u'\u120b\u12cd\u1235\u129b', 'tt': u'\u1273\u1273\u122d\u129b', 'tr': u'\u1271\u122d\u12ad\u129b', 'ts': u'\u133e\u1295\u130b\u129b', 'lv': u'\u120b\u1275\u126a\u12eb\u1295', 'to': u'\u1276\u1295\u130b', 'lt': u'\u120a\u1271\u12a0\u1292\u12eb\u1295', 'tk': u'\u1271\u122d\u12ad\u1218\u1295\u129b', 'th': u'\u1273\u12ed\u129b', 'ti': u'\u1275\u130d\u122d\u129b', 'tg': u'\u1273\u1302\u12aa\u129b', 'te': u'\u1270\u1209\u1309\u129b', 'ta': u'\u1273\u121a\u120d\u129b', 'yi': u'\u12ed\u12f2\u123b\u12ca\u129b', 'yo': u'\u12ee\u1229\u1263\u12ca\u129b', 'gez': u'\u130d\u12d5\u12dd\u129b', 'de': u'\u1300\u122d\u1218\u1295', 'da': u'\u12f4\u1292\u123d', 'dz': u'\u12f5\u12de\u1295\u130d\u12bb\u129b', 'st': u'\u1236\u12de\u129b', 'qu': u'\u12b5\u127f\u129b', 'el': u'\u130d\u122a\u12ad\u129b', 'eo': u'\u12a4\u1235\u1350\u122b\u1295\u1276', 'en': u'\u12a5\u1295\u130d\u120a\u12dd\u129b', 'zh': u'\u127b\u12ed\u1295\u129b', 'za': u'\u12e1\u12cb\u1295\u130d\u129b', 'uk': u'\u12e9\u12ad\u1228\u1292\u129b', 'eu': u'\u1263\u1235\u12ad\u129b', 'et': u'\u12a4\u1235\u1276\u1292\u12a0\u1295', 'es': u'\u1235\u1353\u1292\u123d', 'ru': u'\u122b\u123d\u129b', 'rw': u'\u12aa\u1295\u12eb\u122d\u12cb\u1295\u12f5\u129b', 'rm': u'\u122e\u121b\u1295\u1235', 'rn': u'\u1229\u1295\u12f2\u129b', 'ro': u'\u122e\u121b\u1292\u12eb\u1295', 'bn': u'\u1260\u1295\u130b\u120a\u129b', 'be': u'\u1264\u120b\u122b\u123b\u129b', 'bg': u'\u1261\u120d\u130b\u122a\u129b', 'ba': u'\u1263\u1235\u12aa\u122d\u129b', 'ps': u'\u1351\u123d\u1276\u129b', 'wo': u'\u12ce\u120e\u134d\u129b', 'jv': u'\u1303\u126b\u1295\u129b', 'bo': u'\u1275\u1260\u1275\u1295\u129b', 'bh': u'\u1262\u1203\u122a', 'bi': u'\u1262\u1235\u120b\u121d\u129b', 'br': u'\u1265\u122c\u1276\u1295\u129b', 'ja': u'\u1303\u1353\u1295\u129b', 'om': u'\u12a6\u122e\u121d\u129b', 'oc': u'\u12a6\u12aa\u1273\u1295\u129b', 'tw': u'\u1275\u12ca\u129b', 'or': u'\u12a6\u122a\u12eb\u129b', 'xh': u'\u12de\u1233\u129b', 'co': u'\u12ae\u122d\u1232\u12ab\u129b', 'ca': u'\u12ab\u1273\u120b\u1295\u129b', 'cy': u'\u12c8\u120d\u123d', 'cs': u'\u127c\u12ad\u129b', 'byn': u'\u1265\u120a\u1295', 'pt': u'\u1356\u122d\u1271\u130b\u120a\u129b', 'tl': u'\u1273\u130b\u120e\u1308\u129b', 'pa': u'\u1353\u1295\u1303\u1262\u129b', 'vi': u'\u126a\u1275\u1293\u121d\u129b', 'pl': u'\u1356\u120a\u123d', 'hy': u'\u12a0\u122d\u1218\u1293\u12ca', 'hr': u'\u12ad\u122e\u123d\u12eb\u1295\u129b', 'iu': u'\u12a5\u1291\u12ad\u1272\u1271\u1275\u129b', 'hu': u'\u1200\u1295\u130b\u122a\u129b', 'hi': u'\u1210\u1295\u12f5\u129b', 'ha': u'\u1203\u12cd\u1233\u129b', 'he': u'\u12d5\u1265\u122b\u1235\u1325', 'mg': u'\u121b\u120b\u130b\u1235\u129b', 'uz': u'\u12a1\u12dd\u1260\u12ad\u129b', 'ml': u'\u121b\u120b\u12eb\u120b\u121d\u129b', 'mo': u'\u121e\u120d\u12f3\u126b\u12ca\u1293', 'mn': u'\u121e\u1295\u130e\u120b\u12ca\u129b', 'mi': u'\u121b\u12ee\u122a\u129b', 'ik': u'\u12a5\u1291\u1352\u12eb\u1245\u129b', 'mk': u'\u121b\u12a8\u12f6\u1292\u129b', 'ur': u'\u12a1\u122d\u12f1\u129b', 'mt': u'\u121b\u120d\u1272\u1235\u129b', 'ms': u'\u121b\u120b\u12ed\u129b', 'mr': u'\u121b\u122b\u12da\u129b', 'ug': u'\u12a1\u12ca\u130d\u1201\u122d\u129b', 'my': u'\u1261\u122d\u121b\u129b', 'aa': u'\u12a0\u134b\u122d\u129b', 'ab': u'\u12a0\u1265\u1210\u12da\u129b', 'ss': u'\u1235\u12cb\u1272\u129b', 'af': u'\u12a0\u134d\u122a\u1243\u1295\u1235\u129b', 'tn': u'\u133d\u12cb\u1293\u12ca\u129b', 'sw': u'\u1235\u12cb\u1202\u120a\u129b', 'is': u'\u12a0\u12ed\u1235\u120b\u1295\u12f5\u129b', 'am': u'\u12a0\u121b\u122d\u129b', 'it': u'\u1323\u120a\u12eb\u1295\u129b', 'sv': u'\u1235\u12ca\u12f5\u1295\u129b', 'ia': u'\u12a2\u1295\u1274\u122d\u120a\u1295\u1313', 'as': u'\u12a0\u1233\u121c\u12db\u12ca', 'ar': u'\u12d0\u122d\u1262\u129b', 'su': u'\u1231\u12f3\u1295\u129b', 'zu': u'\u12d9\u1209\u129b', 'ay': u'\u12a0\u12eb\u121b\u122d\u129b', 'az': u'\u12a0\u12dc\u122d\u1263\u12ed\u1303\u1295\u129b', 'ie': u'\u12a5\u1295\u1270\u122d\u120a\u1295\u130d\u12c8', 'id': u'\u12a5\u1295\u12f6\u1292\u1232\u129b', 'sk': u'\u1235\u120e\u126b\u12ad\u129b', 'nl': u'\u12f0\u127d', 'no': u'\u1296\u122d\u12cc\u1302\u12eb\u1295', 'na': u'\u1293\u12a1\u1229', 'ne': u'\u1294\u1353\u120a\u129b', 'vo': u'\u126e\u120b\u1351\u12ad\u129b', 'sid': u'\u1232\u12f3\u121d\u129b', 'tig': u'\u1275\u130d\u1228', 'fr': u'\u1348\u1228\u1295\u1233\u12ed\u129b', 'sm': u'\u1233\u121e\u12a0\u129b', 'fy': u'\u134d\u122a\u1235\u129b', 'fa': u'\u1350\u122d\u1232\u12eb\u129b', 'fi': u'\u134a\u1292\u123d', 'fj': u'\u134a\u1302\u129b', 'sa': u'\u1233\u1295\u1235\u12ad\u122a\u1275\u129b', 'fo': u'\u134b\u122e\u129b', 'ka': u'\u130a\u12ee\u122d\u130a\u12eb\u1295', 'kk': u'\u12ab\u12db\u12ad\u129b', 'sr': u'\u1230\u122d\u1262\u129b', 'sq': u'\u120d\u1264\u1292\u129b', 'ko': u'\u12ae\u122a\u12eb\u129b', 'kn': u'\u12ab\u1293\u12f3\u129b', 'km': u'\u12ad\u1218\u122d\u129b', 'kl': u'\u12ab\u120b\u120a\u1231\u1275\u129b', 'ks': u'\u12ab\u123d\u121a\u122d\u129b', 'si': u'\u1235\u1295\u1203\u120d\u129b', 'so': u'\u1231\u121b\u120d\u129b', 'sn': u'\u123e\u1293\u129b', 'ku': u'\u12a9\u122d\u12f5\u123d\u129b', 'sl': u'\u1235\u120e\u126a\u129b', 'ky': u'\u12aa\u122d\u130a\u12dd\u129b', 'sg': u'\u1233\u1295\u130e\u129b', 'sd': u'\u1232\u1295\u12f5\u1202\u129b'}
countries={'BE': u'\u1264\u120d\u1304\u121d', 'BG': u'\u1261\u120d\u130c\u122a\u12eb', 'BA': u'\u1266\u1235\u1292\u12eb \u12a5\u1293 \u1204\u122d\u12de\u130e\u126a\u1292\u12eb', 'BB': u'\u1263\u122d\u1264\u12f6\u1235', 'BM': u'\u1264\u122d\u1219\u12f3', 'BO': u'\u1266\u120a\u126a\u12eb', 'BH': u'\u1263\u1205\u122c\u1295', 'BT': u'\u1261\u1205\u1273\u1295', 'JM': u'\u1303\u121b\u12ed\u12ab', 'JO': u'\u1306\u122d\u12f3\u1295', 'BR': u'\u1265\u122b\u12da\u120d', 'BY': u'\u1264\u120b\u1229\u1235', 'BZ': u'\u1264\u120a\u12d8', 'RU': u'\u122b\u123a\u12eb', 'TL': u'\u121d\u1235\u122b\u1245 \u1272\u121e\u122d', 'RO': u'\u122e\u121c\u1292\u12eb', 'GW': u'\u1262\u1233\u12ce', 'GR': u'\u130d\u122a\u12ad', 'GQ': u'\u12a2\u12b3\u1276\u122a\u12eb\u120d \u130a\u1292', 'JP': u'\u1303\u1353\u1295', 'GY': u'\u1309\u12eb\u1293', 'GF': u'\u12e8\u1348\u1228\u1295\u1233\u12ed \u1309\u12ca\u12a0\u1293', 'GE': u'\u1306\u122d\u1302\u12eb', 'GB': u'\u12a5\u1295\u130d\u120a\u12dd', 'GN': u'\u130a\u1292', 'GM': u'\u130b\u121d\u1262\u12eb', 'TN': u'\u1271\u1292\u12da\u12eb', 'SP': u'\u1230\u122d\u1262\u12eb', 'HR': u'\u12ad\u122e\u12a4\u123d\u12eb', 'HT': u'\u1200\u12ed\u1272', 'HU': u'\u1200\u1295\u130b\u122a', 'HK': u'\u1206\u1295\u130d \u12ae\u1295\u130d', 'VE': u'\u126c\u1295\u12d9\u12cc\u120b', 'PR': u'\u1356\u122d\u1273 \u122a\u12ae', 'PF': u'\u12e8\u1348\u1228\u1295\u1233\u12ed \u1356\u120a\u1294\u12e2\u12eb', 'PG': u'\u1353\u1351\u12cb \u1292\u12cd \u130a\u1292', 'PE': u'\u1354\u1229', 'SO': u'\u1231\u121b\u120c', 'PL': u'\u1356\u120b\u1295\u12f5', 'ZM': u'\u12db\u121d\u1262\u12eb', 'EH': u'\u121d\u12d5\u122b\u1263\u12ca \u1233\u1205\u122b', 'EE': u'\u12a4\u1235\u1276\u1292\u12eb', 'EG': u'\u130d\u1265\u133d', 'ZA': u'\u12f0\u1261\u1265 \u12a0\u134d\u122a\u12ab', 'EC': u'\u12a2\u12b3\u12f6\u122d', 'IT': u'\u1323\u120a\u12eb\u1295', 'ET': u'\u12a2\u1275\u12ee\u1335\u12eb', 'ES': u'\u1235\u1354\u1295', 'ER': u'\u12a4\u122d\u1275\u122b', 'MD': u'\u121e\u120d\u12f6\u126b', 'MA': u'\u121e\u122e\u12ae', 'UZ': u'\u12e9\u12dd\u1260\u12aa\u1235\u1273\u1295', 'MO': u'\u121b\u12ab\u12ce', 'MN': u'\u121e\u1295\u130e\u120a\u12eb', 'MK': u'\u121b\u12a8\u12f6\u1292\u12eb', 'MU': u'\u121b\u1229\u1238\u1235', 'MT': u'\u121b\u120d\u1273', 'MR': u'\u121e\u122a\u1274\u1292\u12eb', 'UG': u'\u12e9\u130b\u1295\u12f3', 'MY': u'\u121b\u120c\u12e2\u12eb', 'MX': u'\u121c\u12ad\u1232\u12ae', 'IL': u'\u12a5\u1235\u122b\u12a4\u120d', 'FI': u'\u134a\u1295\u120b\u1295\u12f5', 'FJ': u'\u134a\u1302', 'FM': u'\u121a\u12ad\u122e\u1294\u12e2\u12eb', 'NL': u'\u1294\u12d8\u122d\u120b\u1295\u12f5', 'NO': u'\u1296\u122d\u12cc', 'NA': u'\u1293\u121a\u1262\u12eb', 'NC': u'\u1292\u12cd \u12ab\u120c\u12f6\u1292\u12eb', 'NG': u'\u1293\u12ed\u1304\u122a\u12eb', 'NZ': u'\u1292\u12cd \u12da\u120b\u1295\u12f5', 'NP': u'\u1294\u1353\u120d', 'CH': u'\u1235\u12ca\u12d8\u122d\u120b\u1295\u12f5', 'CO': u'\u12ae\u120e\u121d\u1262\u12eb', 'CN': u'\u127b\u12ed\u1293', 'CM': u'\u12ab\u121c\u1229\u1295', 'CL': u'\u127a\u120a', 'CF': u'\u12e8\u1218\u12ab\u12a8\u1208\u129b\u12cd \u12a0\u134d\u122a\u12ab \u122a\u1350\u1265\u120a\u12ad', 'CD': u'\u12ae\u1295\u130e', 'CZ': u'\u127c\u12ad \u122a\u1351\u1265\u120a\u12ad', 'CY': u'\u1233\u12ed\u1355\u1228\u1235', 'CV': u'\u12ac\u1355 \u126c\u122d\u12f4', 'SY': u'\u1232\u122a\u12eb', 'KH': u'\u12ab\u121d\u1266\u12f2\u12eb', 'KM': u'\u12ae\u121e\u122e\u1235', 'SK': u'\u1235\u120e\u126b\u12aa\u12eb', 'KR': u'\u1230\u121c\u1295 \u12ae\u122a\u12eb', 'SI': u'\u1235\u120e\u126c\u1292\u12eb', 'KP': u'\u12f0\u1261\u1265 \u12ae\u122a\u12eb', 'KW': u'\u12ad\u12cc\u1275', 'SN': u'\u1234\u1294\u130b\u120d', 'SA': u'\u1233\u12cd\u12f5\u12a0\u1228\u1262\u12eb', 'SG': u'\u1232\u1295\u130b\u1356\u122d', 'SE': u'\u1235\u12ca\u12f5\u1295', 'SD': u'\u1231\u12f3\u1295', 'DO': u'\u12f6\u121a\u1292\u12ad \u122a\u1351\u1265\u120a\u12ad', 'DM': u'\u12f6\u121a\u1292\u12ab', 'DK': u'\u12f4\u1295\u121b\u122d\u12ad', 'DE': u'\u1300\u122d\u1218\u1295', 'YE': u'\u12e8\u1218\u1295', 'DZ': u'\u12a0\u120d\u1304\u122a\u12eb', 'US': u'\u12a0\u121c\u122a\u12ab', 'YU': u'\u12e9\u130e\u12dd\u120b\u126a\u12eb', 'LB': u'\u120a\u1263\u1296\u1235', 'TT': u'\u1275\u122a\u1292\u12f3\u12f5 \u12a5\u1293 \u1276\u1263\u130e', 'TR': u'\u1271\u122d\u12ad', 'LV': u'\u120b\u1275\u126a\u12eb', 'LT': u'\u120a\u1271\u12cc\u1292\u12eb', 'TJ': u'\u1273\u1303\u12aa\u1235\u1273\u1295', 'TH': u'\u1273\u12ed\u120b\u1295\u12f5', 'TF': u'\u12e8\u1348\u1228\u1295\u1233\u12ed \u12f0\u1261\u1263\u12ca \u130d\u12db\u1276\u127d', 'TD': u'\u127b\u12f5', 'LY': u'\u120a\u1262\u12eb', 'AE': u'\u12e8\u1270\u1263\u1260\u1229\u1275 \u12a0\u1228\u1265 \u12a4\u121d\u122c\u1275\u1235', 'AD': u'\u12a0\u1295\u12f6\u122b', 'VG': u'\u12e8\u12a5\u1295\u130d\u120a\u12dd \u12f5\u1295\u130d\u120d \u12f0\u1234\u1276\u127d', 'IQ': u'\u12a2\u122b\u1245', 'VI': u'\u12e8\u12a0\u121c\u122a\u12ab \u1268\u122d\u1302\u1295 \u12f0\u1234\u1276\u127d', 'IS': u'\u12a0\u12ed\u1235\u120b\u1295\u12f5', 'AM': u'\u12a0\u122d\u121c\u1292\u12eb', 'AL': u'\u12a0\u120d\u1263\u1292\u12eb', 'AN': u'\u1294\u12d8\u122d\u120b\u1295\u12f5\u1235 \u12a0\u1295\u1272\u120d\u1235', 'AR': u'\u12a0\u122d\u1300\u1295\u1272\u1293', 'AU': u'\u12a0\u12cd\u1235\u1275\u122c\u120a\u12eb', 'AT': u'\u12a6\u1235\u1275\u122a\u12eb', 'IN': u'\u1205\u1295\u12f5', 'TZ': u'\u1273\u1295\u12db\u1292\u12eb', 'AZ': u'\u12a0\u12d8\u122d\u1263\u1303\u1295', 'IE': u'\u12a0\u12e8\u122d\u120b\u1295\u12f5', 'ID': u'\u12a2\u1295\u12f6\u1294\u12e2\u12eb'}
months=[u'\u1303\u1295\u12e9\u12c8\u122a', u'\u134c\u1265\u1229\u12c8\u122a', u'\u121b\u122d\u127d', u'\u12a4\u1355\u1228\u120d', u'\u121c\u12ed', u'\u1301\u1295', u'\u1301\u120b\u12ed', u'\u12a6\u1308\u1235\u1275', u'\u1234\u1355\u1274\u121d\u1260\u122d', u'\u12a6\u12ad\u1270\u12cd\u1260\u122d', u'\u1296\u126c\u121d\u1260\u122d', u'\u12f2\u1234\u121d\u1260\u122d']
abbrMonths=[u'\u1303\u1295\u12e9', u'\u134c\u1265\u1229', u'\u121b\u122d\u127d', u'\u12a4\u1355\u1228', u'\u121c\u12ed', u'\u1301\u1295', u'\u1301\u120b\u12ed', u'\u12a6\u1308\u1235', u'\u1234\u1355\u1274', u'\u12a6\u12ad\u1270', u'\u1296\u126c\u121d', u'\u12f2\u1234\u121d']
days=[u'\u1230\u129e', u'\u121b\u12ad\u1230\u129e', u'\u1228\u1261\u12d5', u'\u1210\u1219\u1235', u'\u12d3\u122d\u1265', u'\u1245\u12f3\u121c', u'\u12a5\u1211\u12f5']
abbrDays=[u'\u1230\u129e', u'\u121b\u12ad\u1230', u'\u1228\u1261\u12d5', u'\u1210\u1219\u1235', u'\u12d3\u122d\u1265', u'\u1245\u12f3\u121c', u'\u12a5\u1211\u12f5']
dateFormats={'medium': '%d-%%(abbrmonthname)s-%y', 'full': u'%%(dayname)s\u1363 %d %%(monthname)s \u1240\u1295 %Y G', 'long': '%d %%(monthname)s %Y', 'short': '%d/%m/%y'}
numericSymbols={'group': ',', 'nativeZeroDigit': '0', 'exponential': 'E', 'perMille': u'\u2030', 'nan': u'\ufffd', 'decimal': '.', 'percentSign': '%', 'list': ';', 'patternDigit': '#', 'plusSign': '+', 'infinity': u'\u221e', 'minusSign': '-'}
| 690.944444
| 5,519
| 0.676932
| 2,091
| 12,437
| 4.025825
| 0.197991
| 0.014255
| 0.017819
| 0.009503
| 0.148729
| 0.112735
| 0.072107
| 0.04728
| 0.031837
| 0.031837
| 0
| 0.398759
| 0.053711
| 12,437
| 17
| 5,520
| 731.588235
| 0.316509
| 0.003297
| 0
| 0
| 0
| 1
| 0.768759
| 0.563014
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
b85dca908c8cf1d5c0a55a78d7a2c9716aef5c0e
| 22,262
|
py
|
Python
|
answer_selection/paircnn/train_test_utils.py
|
shashiongithub/Document-Modeling-with-External-Information
|
8db8dc4ab2d9a49af6523742ce9580aa22e12c8e
|
[
"BSD-2-Clause"
] | null | null | null |
answer_selection/paircnn/train_test_utils.py
|
shashiongithub/Document-Modeling-with-External-Information
|
8db8dc4ab2d9a49af6523742ce9580aa22e12c8e
|
[
"BSD-2-Clause"
] | null | null | null |
answer_selection/paircnn/train_test_utils.py
|
shashiongithub/Document-Modeling-with-External-Information
|
8db8dc4ab2d9a49af6523742ce9580aa22e12c8e
|
[
"BSD-2-Clause"
] | null | null | null |
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import sys
sys.path.append('../../common')
import math
import os
import random
import sys
import time
import pdb
import numpy as np
import tensorflow as tf
from data_utils import DataProcessor, BatchData, write_prediction_summaries, write_cos_sim
from my_flags import FLAGS
from my_model import MY_Model
from model_utils import convert_logits_to_softmax_paircnn
from local_metrics import mrr_metric, map_score, accuracy_qas_top, save_metrics, group_by_doc
seed = 42
np.random.seed(seed)
######################## Batch Testing a model on some dataset ############
def batch_load_data(data):
main_batch = BatchData(None,None,None,None)
step = 1
while (step * FLAGS.batch_size) <= len(data.fileindices):
# Get batch data as Numpy Arrays : Without shuffling
batch = data.get_batch(((step-1)*FLAGS.batch_size), (step * FLAGS.batch_size))
main_batch.extend(batch)
# Increase step
step += 1
# Check if any data left
if (len(data.fileindices) > ((step-1)*FLAGS.batch_size)):
# Get last batch as Numpy Arrays
batch = data.get_batch(((step-1)*FLAGS.batch_size), len(data.fileindices))
main_batch.extend(batch)
# Convert list to tensors
main_batch.concat_batches()
return main_batch
def batch_predict_with_a_model(batch,data_type,model,session=None):
step = 1
cos_sim_list = []
logits_list = []
while (step * FLAGS.batch_size) <= len(batch.docs):
# Get batch data as Numpy Arrays : Without shuffling
start_idx = (step-1)*FLAGS.batch_size
end_idx = step * FLAGS.batch_size # not inclusive
docs = batch.docs[start_idx:end_idx]
labels = batch.labels[start_idx:end_idx]
if FLAGS.load_prediction==-1:
batch_logits = session.run(model.logits,
feed_dict={model.document_placeholder: docs,
model.label_placeholder: labels})
logits_list.append(batch_logits)
# Increase step
step += 1
# Check if any data left
if (len(batch.docs) > ((step-1)*FLAGS.batch_size)):
# Get last batch as Numpy Arrays
start_idx = (step-1)*FLAGS.batch_size
end_idx = len(batch.docs) # not inclusive
docs = batch.docs[start_idx:end_idx]
labels = batch.labels[start_idx:end_idx]
if FLAGS.load_prediction==-1:
batch_logits = session.run(model.logits,
feed_dict={model.document_placeholder: docs,
model.label_placeholder: labels})
logits_list.append(batch_logits)
if FLAGS.load_prediction!=-1:
print("Loading netword predictions and embeddings...")
fn_logits = "step-a.model.ckpt.epoch-%d.%s-prediction" % (FLAGS.load_prediction,data_type)
logits_list = data.load_prediction(fn_logits)
else:
# Concatenate logits and cos_sim
logits_list = np.vstack(logits_list)
batch.logits = logits_list
return batch
######################## CPU/GPU conf functions ###########################
def meta_experiment_gpu_conf(mode):
# Training: use the tf default graph
with tf.Graph().as_default() and tf.device('/gpu:'+FLAGS.gpu_id):
config = tf.ConfigProto(allow_soft_placement = True)
# Start a session
with tf.Session(config = config) as sess:
if mode=='train_simple':
train_simple(sess)
elif mode=='test':
test(sess)
elif mode=='test_train':
test_train(sess)
elif mode=='test_val':
test_val(sess)
elif mode=='train_debug':
#train_debug(sess)
train_simple(sess)
def meta_experiment_cpu_conf(mode):
# Training: use the tf default graph
with tf.Graph().as_default():
# Start a session
with tf.Session() as sess:
if mode=='train':
train_simple(sess)
elif mode=='test':
test(sess)
elif mode=='test_train':
test_train(sess)
elif mode=='test_val':
test_val(sess)
elif mode=='train_debug':
train_debug(sess)
#train_simple(sess)
# ######################## Train Mode ###########################
def train_debug(sess):
"""
Training Mode: Create a new model and train the network
"""
tf.set_random_seed(seed)
### Prepare data for training
print("Prepare vocab dict and read pretrained word embeddings ...")
vocab_dict, word_embedding_array = DataProcessor().prepare_vocab_embeddingdict()
# vocab_dict contains _PAD and _UNK but not word_embedding_array
print("Prepare training data ...")
train_data = DataProcessor().prepare_news_data(vocab_dict, data_type="training")
print("Training size: ",len(train_data.fileindices))
print("Prepare validation data ...")
# data in whole batch with padded matrixes
val_batch = batch_load_data(DataProcessor().prepare_news_data(vocab_dict, data_type="validation"))
print("Validation size: ",val_batch.docs.shape[0])
fil_lens_to_test = FLAGS.max_filter_length - FLAGS.min_filter_length + 1
if FLAGS.handle_filter_output == "concat" and FLAGS.sentembed_size%fil_lens_to_test != 0:
q = int(FLAGS.sentembed_size // fil_lens_to_test)
FLAGS.sentembed_size = q * fil_lens_to_test
print("corrected embedding size: %d" % FLAGS.sentembed_size)
# Create Model with various operations
model = MY_Model(sess, len(vocab_dict)-2)
init_epoch = 1
# Resume training if indicated Select the model
if FLAGS.model_to_load!=-1:
selected_modelpath = FLAGS.train_dir+"/step-a.model.ckpt.epoch-"+str(FLAGS.model_to_load)
init_epoch = FLAGS.model_to_load + 1
print("Reading model parameters from %s" % selected_modelpath)
model.saver.restore(sess, selected_modelpath)
print("Model loaded.")
# Initialize word embedding before training
print("Initialize word embedding vocabulary with pretrained embeddings ...")
sess.run(model.vocab_embed_variable.assign(word_embedding_array))
### STEP A : Start Pretraining the policy with Supervised Labels: Simple Cross Entropy Training
counter = 0
max_val_acc = -1
for epoch in range(init_epoch, FLAGS.train_epoch_crossentropy+1):
ep_time = time.time() # to check duration
train_data.shuffle_fileindices()
# Start Batch Training
step = 1
total_ce_loss = 0
while (step * FLAGS.batch_size) <= len(train_data.fileindices):
# Get batch data as Numpy Arrays
batch = train_data.get_batch(((step-1)*FLAGS.batch_size), (step * FLAGS.batch_size))
# Run optimizer: optimize policy and reward estimator
sess.run([model.train_op_policynet_withgold],
feed_dict={model.document_placeholder: batch.docs,
model.label_placeholder: batch.labels })
prev_use_dpt = FLAGS.use_dropout
FLAGS.use_dropout = False
batch_logits,ce_loss,merged_summ = sess.run([
model.logits,
model.cross_entropy_loss,
model.merged],
feed_dict={model.document_placeholder: batch.docs,
model.label_placeholder: batch.labels })
total_ce_loss += ce_loss
FLAGS.use_dropout = prev_use_dpt
# Print the progress
if (step % FLAGS.training_checkpoint) == 0:
#acc_sum = sess.run( model.tstepa_accuracy_summary,
# feed_dict={model.train_acc_placeholder: total_train_acc})
total_ce_loss /= FLAGS.training_checkpoint
# Print Summary to Tensor Board
model.summary_writer.add_summary(merged_summ, counter)
#model.summary_writer.add_summary(acc_sum, counter)
# Performance on the validation set
FLAGS.authorise_gold_label = False
prev_use_dpt = FLAGS.use_dropout
FLAGS.use_dropout = False
val_batch = batch_predict_with_a_model(val_batch,"validation", model, session=sess)
FLAGS.use_dropout = prev_use_dpt
FLAGS.authorise_gold_label = True
# Validation Accuracy and Prediction
probs = sess.run(model.predictions,feed_dict={model.logits_placeholder: val_batch.logits})
probs,lab,w = group_by_doc(probs,val_batch.labels,val_batch.qids)
validation_acc = accuracy_qas_top(probs,lab,w)
val_mrr = mrr_metric(probs,lab,w,"validation")
val_map = map_score (probs,lab,w,"validation")
ce_loss_val, ce_loss_sum, acc_sum = sess.run([ model.cross_entropy_loss_val,
model.ce_loss_summary_val,
model.vstepa_accuracy_summary],
feed_dict={model.logits_placeholder: val_batch.logits,
model.label_placeholder: val_batch.labels,
model.val_acc_placeholder: validation_acc})
# Print Validation Summary
model.summary_writer.add_summary(acc_sum, counter)
model.summary_writer.add_summary(ce_loss_sum, counter)
print("Epoch %2d, step: %2d(%2d) || CE loss || Train : %4.3f , Val : %4.3f || val_acc :%.3f | val_mrr:%.4f | val_mac:%.4f" %
(epoch,step,counter,total_ce_loss,ce_loss_val,validation_acc,val_mrr,val_map))
total_ce_loss = 0
if (step % 5) == 0: # to have comparable tensorboard plots
counter += 1
# Increase step
step += 1
#END-WHILE-TRAINING ... but wait there is more
## eval metrics
FLAGS.authorise_gold_label = False
prev_use_dpt = FLAGS.use_dropout
FLAGS.use_dropout = False
val_batch = batch_predict_with_a_model(val_batch,"validation", model, session=sess)
FLAGS.use_dropout = prev_use_dpt
FLAGS.authorise_gold_label = True
# Validation metrics
probs = sess.run(model.predictions,feed_dict={model.logits_placeholder: val_batch.logits})
probs,lab,w = group_by_doc(probs,val_batch.labels,val_batch.qids)
acc = accuracy_qas_top(probs,lab,w)
mrr = mrr_metric(probs,lab,w,"validation")
_map = map_score (probs,lab,w,"validation")
print("Metrics: acc: %.4f | mrr: %.4f | map: %.4f" % (acc,mrr,_map))
ce_loss_val, ce_loss_sum, acc_sum = sess.run([ model.cross_entropy_loss_val,
model.ce_loss_summary_val,
model.vstepa_accuracy_summary],
feed_dict={model.logits_placeholder: val_batch.logits,
model.label_placeholder: val_batch.labels,
model.val_acc_placeholder: acc})
# Print Validation Summary
model.summary_writer.add_summary(acc_sum, epoch)
model.summary_writer.add_summary(ce_loss_sum, epoch)
print("Epoch %2d : Duration: %.4f" % (epoch,time.time()-ep_time) )
if FLAGS.save_models:
print("Saving model after epoch completion")
checkpoint_path = os.path.join(FLAGS.train_dir, "step-a.model.ckpt.epoch-"+str(epoch))
model.saver.save(sess, checkpoint_path)
print("------------------------------------------------------------------------------------------")
#END-FOR-EPOCH
print("Optimization Finished!")
def train_simple(sess):
"""
Training Mode: Create a new model and train the network
"""
tf.set_random_seed(seed)
### Prepare data for training
vocab_dict, word_embedding_array = DataProcessor().prepare_vocab_embeddingdict()
# vocab_dict contains _PAD and _UNK but not word_embedding_array
train_data = DataProcessor().prepare_news_data(vocab_dict, data_type="training")
# data in whole batch with padded matrixes
val_batch = batch_load_data(DataProcessor().prepare_news_data(vocab_dict, data_type="validation"))
fil_lens_to_test = FLAGS.max_filter_length - FLAGS.min_filter_length + 1
if FLAGS.handle_filter_output == "concat" and FLAGS.sentembed_size%fil_lens_to_test != 0:
q = int(FLAGS.sentembed_size // fil_lens_to_test)
FLAGS.sentembed_size = q * fil_lens_to_test
print("corrected embedding size: %d" % FLAGS.sentembed_size)
# Create Model with various operations
model = MY_Model(sess, len(vocab_dict)-2)
init_epoch = 1
# Resume training if indicated Select the model
if FLAGS.model_to_load!=-1:
selected_modelpath = FLAGS.train_dir+"/step-a.model.ckpt.epoch-"+str(FLAGS.model_to_load)
init_epoch = FLAGS.model_to_load + 1
print("Reading model parameters from %s" % selected_modelpath)
model.saver.restore(sess, selected_modelpath)
print("Model loaded.")
# Initialize word embedding before training
sess.run(model.vocab_embed_variable.assign(word_embedding_array))
### STEP A : Start Pretraining the policy with Supervised Labels: Simple Cross Entropy Training
counter = 0
max_val_acc = -1
for epoch in range(init_epoch, FLAGS.train_epoch_crossentropy+1):
ep_time = time.time() # to check duration
train_data.shuffle_fileindices()
# Start Batch Training
step = 1
total_loss = 0
while (step * FLAGS.batch_size) <= len(train_data.fileindices):
# Get batch data as Numpy Arrays
batch = train_data.get_batch(((step-1)*FLAGS.batch_size), (step * FLAGS.batch_size))
# Run optimizer: optimize policy and reward estimator
_,ce_loss = sess.run([model.train_op_policynet_withgold,
model.cross_entropy_loss],
feed_dict={model.document_placeholder: batch.docs,
model.label_placeholder: batch.labels})
total_loss += ce_loss
step += 1
#END-WHILE-TRAINING ... but wait there is more
## eval metrics
prev_use_dpt = FLAGS.use_dropout
total_loss /= step
FLAGS.use_dropout = False
# retrieve batch with updated logits in it
val_batch = batch_predict_with_a_model(val_batch, "validation", model, session=sess)
FLAGS.use_dropout = prev_use_dpt
probs = sess.run(model.predictions,feed_dict={model.logits_placeholder: val_batch.logits})
probs,lab,w = group_by_doc(probs,val_batch.labels,val_batch.qids)
validation_acc = accuracy_qas_top(probs,lab,w)
val_mrr = mrr_metric(probs,lab,w,"validation")
val_map = map_score (probs,lab,w,"validation")
print("\tEpoch %2d || Train ce_loss: %4.3f || Val acc: %.4f || Val mrr: %.4f || Val mac: %.4f || duration: %3.2f" %
(epoch,total_loss,validation_acc,val_mrr,val_map,time.time()-ep_time))
ce_loss_val, ce_loss_sum, acc_sum = sess.run([ model.cross_entropy_loss_val,
model.ce_loss_summary_val,
model.vstepa_accuracy_summary],
feed_dict={model.logits_placeholder: val_batch.logits,
model.label_placeholder: val_batch.labels,
model.val_acc_placeholder: validation_acc})
# Print Validation Summary
model.summary_writer.add_summary(acc_sum, epoch)
model.summary_writer.add_summary(ce_loss_sum, epoch)
if FLAGS.save_models:
print("Saving model after epoch completion")
checkpoint_path = os.path.join(FLAGS.train_dir, "step-a.model.ckpt.epoch-"+str(epoch))
model.saver.save(sess, checkpoint_path)
print("------------------------------------------------------------------------------------------")
#END-FOR-EPOCH
print("Optimization Finished!")
# ######################## Test Mode ###########################
def test(sess):
tf.set_random_seed(seed)
### Prepare data for training
print("Prepare vocab dict and read pretrained word embeddings ...")
vocab_dict, word_embedding_array = DataProcessor().prepare_vocab_embeddingdict()
# vocab_dict contains _PAD and _UNK but not word_embedding_array
print("Prepare test data ...")
test_batch = batch_load_data(DataProcessor().prepare_news_data(vocab_dict, data_type="test"))
fil_lens_to_test = FLAGS.max_filter_length - FLAGS.min_filter_length + 1
if FLAGS.handle_filter_output == "concat" and FLAGS.sentembed_size%fil_lens_to_test != 0:
q = int(FLAGS.sentembed_size // fil_lens_to_test)
FLAGS.sentembed_size = q * fil_lens_to_test
print("corrected embedding size: %d" % FLAGS.sentembed_size)
# Create Model with various operations
model = MY_Model(sess, len(vocab_dict)-2)
# Select the model
selected_modelpath = FLAGS.train_dir+"/step-a.model.ckpt.epoch-"+str(FLAGS.model_to_load)
# Reload saved model and test
#print("Reading model parameters from %s" % selected_modelpath)
model.saver.restore(sess, selected_modelpath)
#print("Model loaded.")
# Initialize word embedding before training
sess.run(model.vocab_embed_variable.assign(word_embedding_array))
# Test Accuracy and Prediction
#print("Performance on the test data:")
FLAGS.authorise_gold_label = False
FLAGS.use_dropout = False
test_batch = batch_predict_with_a_model(test_batch,"test",model, session=sess)
probs = sess.run(model.predictions,feed_dict={model.logits_placeholder: test_batch.logits})
probs,lab,w = group_by_doc(probs,test_batch.labels,test_batch.qids)
acc = accuracy_qas_top(probs,lab,w)
mrr = mrr_metric(probs,lab,w,"test")
_map = map_score (probs,lab,w,"test")
print("Metrics: acc: %.4f | mrr: %.4f | map: %.4f" % (acc,mrr,_map))
# ######################## Test Mode on Training Data ###########################
def test_train(sess):
"""
Test Mode: Loads an existing model and test it on the training set
"""
tf.set_random_seed(seed)
### Prepare data for training
vocab_dict, word_embedding_array = DataProcessor().prepare_vocab_embeddingdict()
# vocab_dict contains _PAD and _UNK but not word_embedding_array
test_batch = batch_load_data(DataProcessor().prepare_news_data(vocab_dict, data_type="training"))
fil_lens_to_test = FLAGS.max_filter_length - FLAGS.min_filter_length + 1
if FLAGS.handle_filter_output == "concat" and FLAGS.sentembed_size%fil_lens_to_test != 0:
q = int(FLAGS.sentembed_size // fil_lens_to_test)
FLAGS.sentembed_size = q * fil_lens_to_test
print("corrected embedding size: %d" % FLAGS.sentembed_size)
# Create Model with various operations
model = MY_Model(sess, len(vocab_dict)-2)
# Select the model
selected_modelpath = FLAGS.train_dir+"/step-a.model.ckpt.epoch-"+str(FLAGS.model_to_load)
# Reload saved model and test
#print("Reading model parameters from %s" % selected_modelpath)
model.saver.restore(sess, selected_modelpath)
#print("Model loaded.")
# Initialize word embedding before training
sess.run(model.vocab_embed_variable.assign(word_embedding_array))
# Test Accuracy and Prediction
print("Performance on the training data:")
FLAGS.use_dropout = False
test_batch = batch_predict_with_a_model(test_batch,"training",model, session=sess)
probs = sess.run(model.predictions,feed_dict={model.logits_placeholder: test_batch.logits})
probs,lab,w = group_by_doc(probs,test_batch.labels,test_batch.qids)
acc = accuracy_qas_top(probs,lab,w)
mrr = mrr_metric(probs,lab,w,"training")
_map = map_score (probs,lab,w,"training")
print("Metrics: acc: %.4f | mrr: %.4f | map: %.4f" % (acc,mrr,_map))
# ######################## Test Mode on Validation Data ###########################
def test_val(sess):
"""
Test on validation Mode: Loads an existing model and test it on the validation set
"""
tf.set_random_seed(seed)
if FLAGS.load_prediction != -1:
print("====================================== [%d] ======================================" % (FLAGS.load_prediction))
### Prepare data for training
#print("Prepare vocab dict and read pretrained word embeddings ...")
vocab_dict, word_embedding_array = DataProcessor().prepare_vocab_embeddingdict()
# vocab_dict contains _PAD and _UNK but not word_embedding_array
val_batch = batch_load_data(DataProcessor().prepare_news_data(vocab_dict, data_type="validation"))
fil_lens_to_test = FLAGS.max_filter_length - FLAGS.min_filter_length + 1
if FLAGS.handle_filter_output == "concat" and FLAGS.sentembed_size%fil_lens_to_test != 0:
q = int(FLAGS.sentembed_size // fil_lens_to_test)
FLAGS.sentembed_size = q * fil_lens_to_test
print("corrected embedding size: %d" % FLAGS.sentembed_size)
# Create Model with various operations
model = MY_Model(sess, len(vocab_dict)-2)
# # Initialize word embedding before training
#print("Initialize word embedding vocabulary with pretrained embeddings ...")
#sess.run(model.vocab_embed_variable.assign(word_embedding_array))
# Select the model
selected_modelpath = FLAGS.train_dir+"/step-a.model.ckpt.epoch-"+str(FLAGS.model_to_load)
# Reload saved model and test
#print("Reading model parameters from %s" % selected_modelpath)
model.saver.restore(sess, selected_modelpath)
#print("Model loaded.")
# Initialize word embedding before training
sess.run(model.vocab_embed_variable.assign(word_embedding_array))
# Test Accuracy and Prediction
FLAGS.authorise_gold_label = False
FLAGS.use_dropout = False
val_batch = batch_predict_with_a_model(val_batch,"validation",model, session=sess)
FLAGS.authorise_gold_label = True
probs = sess.run(model.predictions,feed_dict={model.logits_placeholder: val_batch.logits})
probs,lab,w = group_by_doc(probs,val_batch.labels,val_batch.qids)
acc = accuracy_qas_top(probs,lab,w)
mrr = mrr_metric(probs,lab,w,"validation")
_map = map_score (probs,lab,w,"validation")
print("Metrics: acc: %.4f | mrr: %.4f | map: %.4f" % (acc,mrr,_map))
if FLAGS.load_prediction != -1:
fn = ''
if FLAGS.filtered_setting:
fn = "%s/step-a.model.ckpt.%s-top%d-isf-metrics" % (FLAGS.train_dir,"validation",FLAGS.topK)
else:
fn = "%s/step-a.model.ckpt.%s-metrics" % (FLAGS.train_dir,"validation")
save_metrics(fn,FLAGS.load_prediction,validation_acc,mrr_score,mapsc)
| 40.402904
| 133
| 0.666427
| 2,932
| 22,262
| 4.792292
| 0.096862
| 0.017081
| 0.015373
| 0.018504
| 0.842929
| 0.820938
| 0.793894
| 0.786207
| 0.772899
| 0.761298
| 0
| 0.005123
| 0.210853
| 22,262
| 550
| 134
| 40.476364
| 0.794684
| 0.166203
| 0
| 0.701807
| 0
| 0.006024
| 0.112301
| 0.02987
| 0
| 0
| 0
| 0
| 0
| 1
| 0.027108
| false
| 0
| 0.051205
| 0
| 0.084337
| 0.10241
| 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
|
b86acfc8f3a9c3e3c34325c53930435f11caad39
| 6,280
|
py
|
Python
|
tests/s3/test_get_copy_args.py
|
kazhala/fawsf
|
4abefb2301f7b489b11ed3f0b303faafa5941d5b
|
[
"MIT"
] | 66
|
2020-07-26T12:43:30.000Z
|
2022-01-25T12:09:40.000Z
|
tests/s3/test_get_copy_args.py
|
kazhala/fawsf
|
4abefb2301f7b489b11ed3f0b303faafa5941d5b
|
[
"MIT"
] | null | null | null |
tests/s3/test_get_copy_args.py
|
kazhala/fawsf
|
4abefb2301f7b489b11ed3f0b303faafa5941d5b
|
[
"MIT"
] | 3
|
2020-07-26T22:09:45.000Z
|
2020-07-28T01:09:26.000Z
|
import os
import json
import unittest
from unittest.mock import PropertyMock, patch
from fzfaws.s3.helper.get_copy_args import get_copy_args, check_acl_update
from fzfaws.s3.helper.s3args import S3Args
from botocore.stub import Stubber
import boto3
from fzfaws.s3 import S3
from fzfaws.s3.helper.s3args import S3Args
class TestS3GetCopyArgs(unittest.TestCase):
@patch.object(S3Args, "acl_full", new_callable=PropertyMock)
@patch.object(S3Args, "acl_read", new_callable=PropertyMock)
@patch.object(S3Args, "acl_acp_write", new_callable=PropertyMock)
@patch.object(S3Args, "acl_acp_read", new_callable=PropertyMock)
def test_check_acl_update(
self, mocked_acp_read, mocked_acp_write, mocked_read, mocked_full
):
mocked_read.return_value = True
mocked_full.return_value = True
mocked_acp_write.return_value = True
mocked_acp_read.return_value = True
s3_args = S3Args
result = check_acl_update(s3_args)
self.assertEqual(result, False)
mocked_read.return_value = False
mocked_full.return_value = True
mocked_acp_write.return_value = True
mocked_acp_read.return_value = True
s3_args = S3Args
result = check_acl_update(s3_args)
self.assertEqual(result, False)
mocked_read.return_value = False
mocked_full.return_value = False
mocked_acp_write.return_value = False
mocked_acp_read.return_value = False
s3_args = S3Args
result = check_acl_update(s3_args)
self.assertEqual(result, True)
def test_get_copy_args_no_version(self):
data_path1 = os.path.join(
os.path.dirname(os.path.abspath(__file__)), "../data/s3_obj.json"
)
with open(data_path1, "r") as file:
response1 = json.load(file)
data_path2 = os.path.join(
os.path.dirname(os.path.abspath(__file__)), "../data/s3_acl.json"
)
with open(data_path2, "r") as file:
response2 = json.load(file)
# no version, update acl true
s3_client = boto3.client("s3")
stubber = Stubber(s3_client)
stubber.add_response("get_object", response1)
stubber.add_response("get_object_acl", response2)
stubber.activate()
s3 = S3()
s3._client = s3_client
s3.bucket_name = "hello"
s3_args = S3Args(s3)
result = get_copy_args(s3, "hello.json", s3_args, False)
self.assertEqual(
result,
{
"Bucket": "hello",
"Key": "hello.json",
"CopySource": {"Bucket": "hello", "Key": "hello.json"},
"StorageClass": "REDUCED_REDUNDANCY",
"ServerSideEncryption": "aws:kms",
"SSEKMSKeyId": "arn:aws:kms:ap-southeast-2:11111111:key/11111111-f48d-48b8-90d4-d5bd03a603d4",
"GrantRead": "uri=http://acs.amazonaws.com/groups/global/AllUsers",
},
)
# no version, update acl false
s3_client = boto3.client("s3")
stubber = Stubber(s3_client)
stubber.add_response("get_object", response1)
stubber.add_response("get_object_acl", response2)
stubber.activate()
s3 = S3()
s3._client = s3_client
s3.bucket_name = "hello"
s3_args = S3Args(s3)
s3_args._extra_args["GrantFullControl"] = "email=hello@gmail.com"
result = get_copy_args(s3, "hello.json", s3_args, False)
self.assertEqual(
result,
{
"Bucket": "hello",
"Key": "hello.json",
"CopySource": {"Bucket": "hello", "Key": "hello.json"},
"GrantFullControl": "email=hello@gmail.com",
"StorageClass": "REDUCED_REDUNDANCY",
"ServerSideEncryption": "aws:kms",
"SSEKMSKeyId": "arn:aws:kms:ap-southeast-2:11111111:key/11111111-f48d-48b8-90d4-d5bd03a603d4",
},
)
# no version, no extra_args
s3_client = boto3.client("s3")
stubber = Stubber(s3_client)
stubber.add_response("get_object", response1)
stubber.add_response("get_object_acl", response2)
stubber.activate()
s3 = S3()
s3._client = s3_client
s3.bucket_name = "hello"
s3_args = S3Args(s3)
s3_args._extra_args["GrantFullControl"] = "email=hello@gmail.com"
result = get_copy_args(s3, "hello.json", s3_args, True)
self.assertEqual(
result,
{
"GrantFullControl": "email=hello@gmail.com",
"StorageClass": "REDUCED_REDUNDANCY",
"ServerSideEncryption": "aws:kms",
"SSEKMSKeyId": "arn:aws:kms:ap-southeast-2:11111111:key/11111111-f48d-48b8-90d4-d5bd03a603d4",
},
)
def test_get_copy_args_with_version(self):
data_path1 = os.path.join(
os.path.dirname(os.path.abspath(__file__)), "../data/s3_obj.json"
)
with open(data_path1, "r") as file:
response1 = json.load(file)
data_path2 = os.path.join(
os.path.dirname(os.path.abspath(__file__)), "../data/s3_acl.json"
)
with open(data_path2, "r") as file:
response2 = json.load(file)
# with version
s3_client = boto3.client("s3")
stubber = Stubber(s3_client)
stubber.add_response("get_object", response1)
stubber.add_response("get_object_acl", response2)
stubber.activate()
s3 = S3()
s3._client = s3_client
s3.bucket_name = "hello"
s3_args = S3Args(s3)
result = get_copy_args(s3, "hello.json", s3_args, False)
self.assertEqual(
result,
{
"Bucket": "hello",
"Key": "hello.json",
"CopySource": {"Bucket": "hello", "Key": "hello.json"},
"StorageClass": "REDUCED_REDUNDANCY",
"ServerSideEncryption": "aws:kms",
"SSEKMSKeyId": "arn:aws:kms:ap-southeast-2:11111111:key/11111111-f48d-48b8-90d4-d5bd03a603d4",
"GrantRead": "uri=http://acs.amazonaws.com/groups/global/AllUsers",
},
)
| 38.527607
| 110
| 0.598089
| 715
| 6,280
| 5.012587
| 0.137063
| 0.026786
| 0.024554
| 0.046875
| 0.859933
| 0.833426
| 0.833426
| 0.801339
| 0.77567
| 0.77567
| 0
| 0.052035
| 0.283917
| 6,280
| 162
| 111
| 38.765432
| 0.744941
| 0.015127
| 0
| 0.72973
| 0
| 0.027027
| 0.210841
| 0.062783
| 0
| 0
| 0
| 0
| 0.047297
| 1
| 0.02027
| false
| 0
| 0.067568
| 0
| 0.094595
| 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
|
a23268aeae84be3b0337173cd5ee60a47bee85ea
| 5,526
|
py
|
Python
|
utils/scripts/OOOlevelGen/src/levels/MonkeyFace.py
|
fullscreennl/monkeyswipe
|
c56192e202674dd5ab18023f6cf14cf51e95fbd0
|
[
"MIT"
] | null | null | null |
utils/scripts/OOOlevelGen/src/levels/MonkeyFace.py
|
fullscreennl/monkeyswipe
|
c56192e202674dd5ab18023f6cf14cf51e95fbd0
|
[
"MIT"
] | null | null | null |
utils/scripts/OOOlevelGen/src/levels/MonkeyFace.py
|
fullscreennl/monkeyswipe
|
c56192e202674dd5ab18023f6cf14cf51e95fbd0
|
[
"MIT"
] | null | null | null |
import LevelBuilder
from sprites import *
def render(name,bg):
lb = LevelBuilder.LevelBuilder(name+".plist",background=bg)
lb.addObject(Friend.FriendSprite(x=105, y=159,width=92,height=92,angle='0',restitution=0.2,static='true',friction=0.5,density=20 ).setName('Friend'))
lb.addObject(Friend.FriendSprite(x=391, y=147,width=92,height=92,angle='0',restitution=0.2,static='true',friction=0.5,density=20 ).setName('Friend'))
lb.addObject(Enemy.EnemySprite(x=254, y=284,width=46,height=46,angle='0',restitution=0.2,static='true',friction=0.5,density=20 ).setName('Enemy'))
lb.addObject(Enemy.EnemySprite(x=216, y=277,width=46,height=46,angle='0',restitution=0.2,static='true',friction=0.5,density=20 ).setName('EnemyLeft'))
lb.addObject(Enemy.EnemySprite(x=186, y=258,width=46,height=46,angle='0',restitution=0.2,static='true',friction=0.5,density=20 ).setName('Enemy'))
lb.addObject(Enemy.EnemySprite(x=156, y=232,width=46,height=46,angle='0',restitution=0.2,static='true',friction=0.5,density=20 ).setName('Enemy'))
lb.addObject(Enemy.EnemySprite(x=143, y=198,width=46,height=46,angle='0',restitution=0.2,static='true',friction=0.5,density=20 ).setName('Enemy'))
lb.addObject(Enemy.EnemySprite(x=291, y=277,width=46,height=46,angle='0',restitution=0.2,static='true',friction=0.5,density=20 ).setName('EnemyRight'))
lb.addObject(Enemy.EnemySprite(x=322, y=258,width=46,height=46,angle='0',restitution=0.2,static='true',friction=0.5,density=20 ).setName('Enemy'))
lb.addObject(Enemy.EnemySprite(x=348, y=236,width=46,height=46,angle='0',restitution=0.2,static='true',friction=0.5,density=20 ).setName('Enemy'))
lb.addObject(Enemy.EnemySprite(x=359, y=203,width=46,height=46,angle='0',restitution=0.2,static='true',friction=0.5,density=20 ).setName('Enemy'))
lb.addObject(Enemy.EnemySprite(x=356, y=176,width=46,height=46,angle='0',restitution=0.2,static='true',friction=0.5,density=20 ).setName('Enemy'))
lb.addObject(Enemy.EnemySprite(x=150, y=172,width=46,height=46,angle='0',restitution=0.2,static='true',friction=0.5,density=20 ).setName('Enemy'))
lb.addObject(Enemy.EnemySprite(x=150, y=144,width=31,height=31,angle='0',restitution=0.2,static='true',friction=0.5,density=20 ).setName('Enemy'))
lb.addObject(Enemy.EnemySprite(x=351, y=149,width=31,height=31,angle='0',restitution=0.2,static='true',friction=0.5,density=20 ).setName('Enemy'))
lb.addObject(Friend.FriendSprite(x=155, y=122,width=34,height=34,angle='0',restitution=0.2,static='true',friction=0.5,density=20 ).setName('Friend'))
lb.addObject(Friend.FriendSprite(x=155, y=105,width=34,height=34,angle='0',restitution=0.2,static='true',friction=0.5,density=20 ).setName('Friend'))
lb.addObject(Friend.FriendSprite(x=155, y=88,width=34,height=34,angle='0',restitution=0.2,static='true',friction=0.5,density=20 ).setName('Friend'))
lb.addObject(Friend.FriendSprite(x=173, y=71,width=34,height=34,angle='0',restitution=0.2,static='true',friction=0.5,density=20 ).setName('Friend'))
lb.addObject(Friend.FriendSprite(x=196, y=58,width=34,height=34,angle='0',restitution=0.2,static='true',friction=0.5,density=20 ).setName('Friend'))
lb.addObject(Friend.FriendSprite(x=222, y=46,width=34,height=34,angle='0',restitution=0.2,static='true',friction=0.5,density=20 ).setName('Friend'))
lb.addObject(Friend.FriendSprite(x=251, y=46,width=34,height=34,angle='0',restitution=0.2,static='true',friction=0.5,density=20 ).setName('Friend'))
lb.addObject(Friend.FriendSprite(x=281, y=46,width=34,height=34,angle='0',restitution=0.2,static='true',friction=0.5,density=20 ).setName('Friend'))
lb.addObject(Friend.FriendSprite(x=308, y=62,width=34,height=34,angle='0',restitution=0.2,static='true',friction=0.5,density=20 ).setName('Friend'))
lb.addObject(Friend.FriendSprite(x=325, y=79,width=34,height=34,angle='0',restitution=0.2,static='true',friction=0.5,density=20 ).setName('Friend'))
lb.addObject(Friend.FriendSprite(x=345, y=101,width=34,height=34,angle='0',restitution=0.2,static='true',friction=0.5,density=20 ).setName('Friend'))
lb.addObject(Friend.FriendSprite(x=349, y=122,width=34,height=34,angle='0',restitution=0.2,static='true',friction=0.5,density=20 ).setName('Friend'))
lb.addObject(Hero.HeroSprite(x=230, y=81,width=32,height=32))
lb.addObject(Star.StarSprite(x=229, y=227,width=32,height=32))
lb.addObject(Enemy.EnemySprite(x=250, y=171,width=46,height=46,angle='0',restitution=0.2,static='true',friction=0.5,density=20 ).setName('Enemy'))
lb.addObject(Friend.FriendSprite(x=286, y=126,width=23,height=23,angle='0',restitution=0.2,static='true',friction=0.5,density=20 ).setName('Friend'))
lb.addObject(Friend.FriendSprite(x=270, y=111,width=23,height=23,angle='0',restitution=0.2,static='true',friction=0.5,density=20 ).setName('Friend'))
lb.addObject(Friend.FriendSprite(x=250, y=109,width=23,height=23,angle='0',restitution=0.2,static='true',friction=0.5,density=20 ).setName('Friend'))
lb.addObject(Friend.FriendSprite(x=229, y=115,width=23,height=23,angle='0',restitution=0.2,static='true',friction=0.5,density=20 ).setName('Friend'))
lb.addObject(Friend.FriendSprite(x=210, y=120,width=23,height=23,angle='0',restitution=0.2,static='true',friction=0.5,density=20 ).setName('Friend'))
lb.addObject(SpikeyBuddy.SpikeyBuddySprite(x=281, y=227,width=26,height=26,restitution=0.2,static='false',friction=0.5,density=5 ))
lb.addObject(Joints.DistanceJoint(body1='Star',body2='EnemyLeft',damping='0.2',freq='5' ))
lb.addObject(Joints.DistanceJoint(body1='Spikey',body2='EnemyRight',damping='0.2',freq='1' ))
lb.render()
| 5,526
| 5,526
| 0.747195
| 948
| 5,526
| 4.355485
| 0.119198
| 0.101235
| 0.107048
| 0.156454
| 0.879874
| 0.850811
| 0.82078
| 0.820053
| 0.820053
| 0.820053
| 0
| 0.111298
| 0.029316
| 5,526
| 1
| 5,526
| 5,526
| 0.658464
| 0
| 0
| 0
| 0
| 0
| 0.073471
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.023256
| false
| 0
| 0.046512
| 0
| 0.069767
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 9
|
a2b8af0f76ddf0b0199cccbd9f343282295295e0
| 13,062
|
py
|
Python
|
api/authentication/tests/test_views.py
|
sp-team-lutsk/docker_polls_group
|
e59aa4d9b0b703e31046460a87a8b14d9e3f3d1e
|
[
"MIT"
] | null | null | null |
api/authentication/tests/test_views.py
|
sp-team-lutsk/docker_polls_group
|
e59aa4d9b0b703e31046460a87a8b14d9e3f3d1e
|
[
"MIT"
] | 18
|
2019-06-25T14:37:52.000Z
|
2019-10-25T21:18:44.000Z
|
api/authentication/tests/test_views.py
|
sp-team-lutsk/cyber_security_web_portal
|
e59aa4d9b0b703e31046460a87a8b14d9e3f3d1e
|
[
"MIT"
] | 2
|
2019-06-25T12:43:44.000Z
|
2019-08-21T08:36:44.000Z
|
import json
import nose.tools as nt
from nose.tools import nottest
from nose.tools.nontrivial import raises
from django.urls import reverse
from rest_framework import status
from rest_framework.test import APITestCase
from authentication.models import (
StdUser,
Teacher,
Faculty)
from authentication.serializers import (
UserSerializer,
UpdateUserSerializer,
BulkUpdateUserSerializer,)
from settings.tests import *
""" Tests admin access to api methonds """
class TestAdminPermsAPIViews(APITestCase):
""" Setup test data """
@classmethod
def setUpTestData(cls):
cls.user = StdUser.objects.create_user(
email=TEST_ADMIN_EMAIL,
password=TEST_PASSWORD,
user_type=1)
def setUp(self):
self.t_user = StdUser.objects.create_user(
email=TEST_EMAIL2,
password=TEST_PASSWORD)
self.faculty = Faculty.objects.create(name=TEST_FACULTY)
self.teacher = StdUser.objects.create_teacher(
email=TEST_TEACHER_EMAIL,
password=TEST_PASSWORD,
faculty=self.faculty)
self.get_token()
""" This func helps to get jwt access token many times """
@nottest
def get_token(self):
url = reverse('obtain_jwt')
access_token = self.client.post(
url,
{ "email": self.user.email, "password": TEST_PASSWORD },
format='json').data['access']
self.client.credentials(HTTP_AUTHORIZATION='Bearer ' + access_token)
""" Test request to get users list """
def test_get_all_users(self):
url = reverse('users_list')
response = self.client.get(url)
users = StdUser.objects.all()
serializer = UserSerializer(users, many=True)
nt.assert_equal(response.data, serializer.data)
nt.assert_equal(response.status_code, status.HTTP_200_OK)
""" Test of creating user """
def test_post_create_user(self):
url = reverse('users_list')
data = {
"email": TEST_EMAIL3,
"password": TEST_PASSWORD,
}
response = self.client.post(url, data, format='json')
user = StdUser.objects.get(email=TEST_EMAIL3)
nt.assert_equal(response.status_code, status.HTTP_201_CREATED)
nt.assert_not_equal(user, None)
""" Test get one User """
def test_get_one_user(self):
url = reverse('user', args=[self.t_user.id,])
response = self.client.get(url)
serializer = UserSerializer(self.t_user)
nt.assert_equal(response.data, serializer.data)
nt.assert_equal(response.status_code, status.HTTP_200_OK)
""" Test get one not existing User """
def test_get_one_which_not_exist(self):
url = reverse('user', args=[BAD_USER_ID,])
response = self.client.get(url)
nt.assert_equal(response.status_code, status.HTTP_404_NOT_FOUND)
""" Test post one user """
def test_post_one_user(self):
url = reverse('user', args=[self.t_user.id],)
response = self.client.post(url)
nt.assert_equal(response.status_code, status.HTTP_405_METHOD_NOT_ALLOWED)
""" Tests put update for one user """
def test_put_one_user(self):
url = reverse('user', args=[self.t_user.id])
data = {
"email": TEST_EMAIL3,
"fist_name": TEST_NAME,
"last_name": TEST_SURNAME,
"patronymic": TEST_PATRONIM,
"bio": TEST_BIO,
"news_subscription": True
}
response = self.client.put(url, data, format='json')
nt.assert_equal(response.data, NO_SUCH_PERM)
""" Tests delete for one user """
def test_delete_one_user(self):
url = reverse('user', args=[self.t_user.id])
response = self.client.delete(url)
nt.assert_equal(response.data, NO_SUCH_PERM)
""" Test get one teacher """
def test_get_one_teacher(self):
url = reverse('teacher', args=[self.teacher.id])
serializer = UserSerializer(self.teacher)
response = self.client.get(url)
nt.assert_equal(serializer.data, response.data)
nt.assert_equal(response.status_code, status.HTTP_200_OK)
""" Test get one teacher which not exist """
def test_get_one_teacher_which_not_exist(self):
url = reverse('teacher', args=[BAD_USER_ID])
response = self.client.get(url)
nt.assert_equal(response.status_code, status.HTTP_404_NOT_FOUND)
""" Test moderator access to api """
class TestModerPermsAPIViews(TestAdminPermsAPIViews):
""" Setup test data """
@classmethod
def setUpTestData(cls):
cls.user = StdUser.objects.create_user(
email=TEST_MODER_EMAIL,
password=TEST_PASSWORD,
user_type=2)
""" Tests users bulk update """
def test_put_bulk_update_users(self):
queryset = StdUser.objects.all()
serializer = BulkUpdateUserSerializer(queryset, many=True)
url = reverse('users_list')
data = {
"first_name": TEST_NAME,
"last_name": TEST_SURNAME
}
response = self.client.put(url, data, format='json')
nt.assert_equal(response.data, serializer.data)
nt.assert_equal(response.status_code, status.HTTP_200_OK)
""" Tests users bulk delete """
def test_delete_bulk_users(self):
url = reverse('users_list')
response = self.client.delete(url)
nt.assert_equal(response.status_code, status.HTTP_200_OK)
""" Tests put update for one user """
def test_put_one_user(self):
url = reverse('user', args=[self.t_user.id])
data = {
"email": TEST_EMAIL3,
"fist_name": TEST_NAME,
"last_name": TEST_SURNAME,
"patronymic": TEST_PATRONIM,
"bio": TEST_BIO,
"news_subscription": True
}
response = self.client.put(url, data, format='json')
nt.assert_equal(response.status_code, status.HTTP_200_OK)
""" Tests delete for one user """
def test_delete_one_user(self):
url = reverse('user', args=[self.t_user.id])
response = self.client.delete(url)
nt.assert_equal(response.status_code, status.HTTP_200_OK)
""" Not allowed """
def test_post_one_teacher(self):
url = reverse('teacher', args=[self.teacher.id])
response = self.client.post(url)
nt.assert_equal(response.status_code, status.HTTP_405_METHOD_NOT_ALLOWED)
""" Tests active user access to api methonds """
class TestActiveUserPermsAPIViews(TestAdminPermsAPIViews):
""" Setup test data """
@classmethod
def setUpTestData(cls):
cls.user = StdUser.objects.create_user(
email=TEST_EMAIL,
password=TEST_PASSWORD,
user_type=3)
cls.user.is_active = True
cls.user.save()
def setUp(self):
self.t_user = StdUser.objects.create_user(
email=TEST_EMAIL2,
password=TEST_PASSWORD)
self.faculty = Faculty.objects.create(name=TEST_FACULTY)
self.teacher = StdUser.objects.create_teacher(
email=TEST_TEACHER_EMAIL,
password=TEST_PASSWORD,
faculty=self.faculty)
self.get_token()
""" Standart user does not have such perms """
def test_get_all_users(self):
url = reverse('users_list')
response = self.client.get(url)
users = StdUser.objects.all()
serializer = UserSerializer(users, many=True)
nt.assert_equal(response.data, NO_SUCH_PERM)
""" Standart user does not have such perms """
def test_get_one_user(self):
url = reverse('user', args=[self.t_user.id,])
response = self.client.get(url)
serializer = UserSerializer(self.t_user)
nt.assert_equal(response.data, NO_SUCH_PERM)
""" Standart user does not have such perms """
def test_get_one_which_not_exist(self):
url = reverse('user', args=[BAD_USER_ID,])
response = self.client.get(url)
nt.assert_equal(response.data, NO_SUCH_PERM)
""" Tests put update for one user """
def test_put_one_user(self):
url = reverse('user', args=[self.t_user.id])
data = {
"email": TEST_EMAIL3,
"fist_name": TEST_NAME,
"last_name": TEST_SURNAME,
"patronymic": TEST_PATRONIM,
"bio": TEST_BIO,
"news_subscription": True
}
response = self.client.put(url, data, format='json')
nt.assert_equal(response.status_code, status.HTTP_200_OK)
""" Tests delete for one user """
def test_delete_one_user(self):
url = reverse('user', args=[self.t_user.id])
response = self.client.delete(url)
nt.assert_equal(response.status_code, status.HTTP_200_OK)
""" No such perm """
def test_get_one_teacher(self):
url = reverse('teacher', args=[self.teacher.id])
response = self.client.get(url)
nt.assert_equal(response.data, NO_SUCH_PERM)
nt.assert_equal(response.status_code, status.HTTP_200_OK)
""" No such perm """
@raises(StdUser.DoesNotExist)
def test_get_one_teacher_which_not_exist(self):
url = reverse('teacher', args=[BAD_USER_ID])
response = self.client.get(url)
""" Tests inactive users access to api methods """
class TestInactiveUserPermsAPIViews(TestAdminPermsAPIViews):
""" Setup test data """
@classmethod
def setUpTestData(cls):
cls.user = StdUser.objects.create_user(
email=TEST_EMAIL,
password=TEST_PASSWORD,)
""" Turn off setup from parent """
def setUp(self):
self.t_user = StdUser.objects.create_user(
email=TEST_EMAIL2,
password=TEST_PASSWORD)
self.faculty = Faculty.objects.create(name=TEST_FACULTY)
self.teacher = StdUser.objects.create_teacher(
email=TEST_TEACHER_EMAIL,
password=TEST_PASSWORD,
faculty=self.faculty)
""" Standart user does not have such perms, so it will raise KeyError """
@raises(KeyError)
def test_get_all_users(self):
self.get_token()
super().test_get_all_users()
""" StdUser must be active """
@raises(KeyError)
def test_post_create_user(self):
self.get_token()
super().test_post_create_user()
""" Must be active """
@raises(KeyError)
def test_get_one_user(self):
self.get_token()
super.test_get_one_user()
""" Must be active """
@raises(KeyError)
def test_get_one_which_not_exist(self):
self.get_token()
super.test_get_one_which_not_exist()
""" Must be active """
@raises(KeyError)
def test_put_one_user(self):
self.get_token()
super.test_get_one_which_not_exist()
""" Must be active """
@raises(KeyError)
def test_delete_one_user(self):
self.get_token()
super.test_delete_one_user()
""" Must be active """
@raises(KeyError)
def test_get_one_teacher(self):
self.get_token()
super.test_get_one_teacher()
""" Must be active """
@raises(KeyError)
def test_get_one_teacher_which_not_exist(self):
self.get_token()
super.test_get_one_teacher_which_not_exist()
""" Tests API of all user list """
class TestJWTToken(APITestCase):
""" Setup test data """
@classmethod
def setUpTestData(cls):
cls.admin = StdUser.objects.create_user(
email=TEST_ADMIN_EMAIL,
password=TEST_PASSWORD,
user_type=1)
""" Test jwt obtain """
def test_obtain_refresh_jwt_token(self):
url = reverse('obtain_jwt')
data = {
"email": TEST_ADMIN_EMAIL,
"password": TEST_PASSWORD,
}
response = self.client.post(url, data, format='json')
""" Testing if token in response """
nt.assert_equal(response.status_code, status.HTTP_200_OK)
nt.assert_true('access' in response.data)
nt.assert_true('refresh' in response.data)
access_token = response.data['access']
refresh_token = response.data['refresh']
data = {
"refresh": refresh_token
}
url = reverse('refresh_jwt')
response = self.client.post(url, data, format='json')
""" Testing for new access token getting """
nt.assert_equal(response.status_code, status.HTTP_200_OK)
nt.assert_true('access' in response.data)
| 30.166282
| 81
| 0.608483
| 1,544
| 13,062
| 4.908031
| 0.099741
| 0.032726
| 0.046318
| 0.072051
| 0.795329
| 0.780021
| 0.759039
| 0.731987
| 0.717472
| 0.688704
| 0
| 0.006737
| 0.28403
| 13,062
| 432
| 82
| 30.236111
| 0.803571
| 0.006354
| 0
| 0.742647
| 0
| 0
| 0.039711
| 0
| 0
| 0
| 0
| 0
| 0.113971
| 1
| 0.143382
| false
| 0.051471
| 0.036765
| 0
| 0.198529
| 0
| 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
|
0c320b3ad3e28a62e405af1d6de47cff087d6ef6
| 48,351
|
py
|
Python
|
minixsv/xsvalUtils.py
|
djhenderson/minixsv
|
fdf7cbfbff711da6db4ae6d5ca0b4796d99ee9eb
|
[
"MIT"
] | null | null | null |
minixsv/xsvalUtils.py
|
djhenderson/minixsv
|
fdf7cbfbff711da6db4ae6d5ca0b4796d99ee9eb
|
[
"MIT"
] | null | null | null |
minixsv/xsvalUtils.py
|
djhenderson/minixsv
|
fdf7cbfbff711da6db4ae6d5ca0b4796d99ee9eb
|
[
"MIT"
] | null | null | null |
#
# minixsv, Release 0.9.1
# file: xsvalUtils.py
#
# utility functions for XML schema validation
#
# history:
# 2008-02-13 rl created
#
# Copyright (c) 2004-2015 by Roland Leuthe. All rights reserved.
#
# --------------------------------------------------------------------
# The minixsv XML schema validator is
#
# Copyright (c) 2004-2015 by Roland Leuthe
#
# By obtaining, using, and/or copying this software and/or its
# associated documentation, you agree that you have read, understood,
# and will comply with the following terms and conditions:
#
# Permission to use, copy, modify, and distribute this software and
# its associated documentation for any purpose and without fee is
# hereby granted, provided that the above copyright notice appears in
# all copies, and that both that copyright notice and this permission
# notice appear in supporting documentation, and that the name of
# the author not be used in advertising or publicity
# pertaining to distribution of the software without specific, written
# prior permission.
#
# THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD
# TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANT-
# ABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
# BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
# DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
# WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
# ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
# OF THIS SOFTWARE.
# --------------------------------------------------------------------
import string
import re
creWithinSet = re.compile(r"(^|.*[^\\])(?P<obr>\[)[^\]]*\Z")
creMultiCharEscP = re.compile(r"(?P<pbs>\\*)(?P<escSeq>(?P<inv>[\^])?\\(?P<pP>[pP]){(?P<id>[^}]*)})")
substMultiCharEscPDict = {
r"Cc" : ur"\x00-\x1f\x7f-\x9f",
r"Cf" : ur"\u06dd\u070f\u180e\u200c-\u200f\u202a-\u202e\u2060-\u2063\u206a-\u206f\ufeff\ufff9-\ufffb",
r"Co" : ur"\ue000-\uf8ff",
r"Cn" : ur"\ufdd0-\ufdef\ufffe\uffff",
r"Cs" : ur"\ud800-\udfff",
r"C" : ur"\x00-\x1f\x7f-\x9f\u06dd\u070f\u180e\u200c-\u200f\u202a-\u202e\u2060-\u2063\u206a-\u206f\ud800-\uf8ff\ufeff\ufff9-\ufffb",
r"Ll" : ur"a-z\xaa\xb5\xba\xdf-\xf6\xf8-\xff\u0101\u0103\u0105\u0107\u0109\u010b\u010d\u010f\u0111\u0113\u0115\u0117\u0119\u011b\u011d\u011f\u0121\u0123\u0125\u0127\u0129\u012b\u012d\u012f\u0131\u0133\u0135\u0137-\u0138\u013a\u013c\u013e\u0140\u0142\u0144\u0146\u0148-\u0149\u014b\u014d\u014f\u0151\u0153\u0155\u0157\u0159\u015b\u015d\u015f\u0161\u0163\u0165\u0167\u0169\u016b\u016d\u016f\u0171\u0173\u0175\u0177\u017a\u017c\u017e-\u0180\u0183\u0185\u0188\u018c-\u018d\u0192\u0195\u0199-\u019b\u019e\u01a1\u01a3\u01a5\u01a8\u01aa-\u01ab\u01ad\u01b0\u01b4\u01b6\u01b9-\u01ba\u01bd-\u01bf\u01c6\u01c9\u01cc\u01ce\u01d0\u01d2\u01d4\u01d6\u01d8\u01da\u01dc-\u01dd\u01df\u01e1\u01e3\u01e5\u01e7\u01e9\u01eb\u01ed\u01ef-\u01f0\u01f3\u01f5\u01f9\u01fb\u01fd\u01ff\u0201\u0203\u0205\u0207\u0209\u020b\u020d\u020f\u0211\u0213\u0215\u0217\u0219\u021b\u021d\u021f\u0223\u0225\u0227\u0229\u022b\u022d\u022f\u0231\u0233\u0250-\u02ad\u0390\u03ac-\u03ce\u03d0-\u03d1\u03d5-\u03d7\u03d9\u03db\u03dd\u03df\u03e1\u03e3\u03e5\u03e7\u03e9\u03eb\u03ed\u03ef-\u03f3\u03f5\u0430-\u045f\u0461\u0463\u0465\u0467\u0469\u046b\u046d\u046f\u0471\u0473\u0475\u0477\u0479\u047b\u047d\u047f\u0481\u048b\u048d\u048f\u0491\u0493\u0495\u0497\u0499\u049b\u049d\u049f\u04a1\u04a3\u04a5\u04a7\u04a9\u04ab\u04ad\u04af\u04b1\u04b3\u04b5\u04b7\u04b9\u04bb\u04bd\u04bf\u04c2\u04c4\u04c6\u04c8\u04ca\u04cc\u04ce\u04d1\u04d3\u04d5\u04d7\u04d9\u04db\u04dd\u04df\u04e1\u04e3\u04e5\u04e7\u04e9\u04eb\u04ed\u04ef\u04f1\u04f3\u04f5\u04f9\u0501\u0503\u0505\u0507\u0509\u050b\u050d\u050f\u0561-\u0587\u1e01\u1e03\u1e05\u1e07\u1e09\u1e0b\u1e0d\u1e0f\u1e11\u1e13\u1e15\u1e17\u1e19\u1e1b\u1e1d\u1e1f\u1e21\u1e23\u1e25\u1e27\u1e29\u1e2b\u1e2d\u1e2f\u1e31\u1e33\u1e35\u1e37\u1e39\u1e3b\u1e3d\u1e3f\u1e41\u1e43\u1e45\u1e47\u1e49\u1e4b\u1e4d\u1e4f\u1e51\u1e53\u1e55\u1e57\u1e59\u1e5b\u1e5d\u1e5f\u1e61\u1e63\u1e65\u1e67\u1e69\u1e6b\u1e6d\u1e6f\u1e71\u1e73\u1e75\u1e77\u1e79\u1e7b\u1e7d\u1e7f\u1e81\u1e83\u1e85\u1e87\u1e89\u1e8b\u1e8d\u1e8f\u1e91\u1e93\u1e95-\u1e9b\u1ea1\u1ea3\u1ea5\u1ea7\u1ea9\u1eab\u1ead\u1eaf\u1eb1\u1eb3\u1eb5\u1eb7\u1eb9\u1ebb\u1ebd\u1ebf\u1ec1\u1ec3\u1ec5\u1ec7\u1ec9\u1ecb\u1ecd\u1ecf\u1ed1\u1ed3\u1ed5\u1ed7\u1ed9\u1edb\u1edd\u1edf\u1ee1\u1ee3\u1ee5\u1ee7\u1ee9\u1eeb\u1eed\u1eef\u1ef1\u1ef3\u1ef5\u1ef7\u1ef9\u1f00-\u1f07\u1f10-\u1f15\u1f20-\u1f27\u1f30-\u1f37\u1f40-\u1f45\u1f50-\u1f57\u1f60-\u1f67\u1f70-\u1f7d\u1f80-\u1f87\u1f90-\u1f97\u1fa0-\u1fa7\u1fb0-\u1fb4\u1fb6-\u1fb7\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fc7\u1fd0-\u1fd3\u1fd6-\u1fd7\u1fe0-\u1fe7\u1ff2-\u1ff4\u1ff6-\u1ff7\u2071\u207f\u210a\u210e-\u210f\u2113\u212f\u2134\u2139\u213d\u2146-\u2149\ufb00-\ufb06\ufb13-\ufb17\uff41-\uff5a",
r"Lm" : ur"\u02b0-\u02b8\u02bb-\u02c1\u02d0-\u02d1\u02e0-\u02e4\u02ee\u037a\u0559\u0640\u06e5-\u06e6\u0e46\u0ec6\u17d7\u1843\u3005\u3031-\u3035\u303b\u309d-\u309e\u30fc-\u30fe\uff70\uff9e-\uff9f",
r"Lo" : ur"\u01bb\u01c0-\u01c3\u05d0-\u05ea\u05f0-\u05f2\u0621-\u063a\u0641-\u064a\u066e-\u066f\u0671-\u06d3\u06d5\u06fa-\u06fc\u0710\u0712-\u072c\u0780-\u07a5\u07b1\u0905-\u0939\u093d\u0950\u0958-\u0961\u0985-\u098c\u098f-\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09dc-\u09dd\u09df-\u09e1\u09f0-\u09f1\u0a05-\u0a0a\u0a0f-\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32-\u0a33\u0a35-\u0a36\u0a38-\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8b\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2-\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0b05-\u0b0c\u0b0f-\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32-\u0b33\u0b36-\u0b39\u0b3d\u0b5c-\u0b5d\u0b5f-\u0b61\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99-\u0b9a\u0b9c\u0b9e-\u0b9f\u0ba3-\u0ba4\u0ba8-\u0baa\u0bae-\u0bb5\u0bb7-\u0bb9\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c33\u0c35-\u0c39\u0c60-\u0c61\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cde\u0ce0-\u0ce1\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d28\u0d2a-\u0d39\u0d60-\u0d61\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32-\u0e33\u0e40-\u0e45\u0e81-\u0e82\u0e84\u0e87-\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa-\u0eab\u0ead-\u0eb0\u0eb2-\u0eb3\u0ebd\u0ec0-\u0ec4\u0edc-\u0edd\u0f00\u0f40-\u0f47\u0f49-\u0f6a\u0f88-\u0f8b\u1000-\u1021\u1023-\u1027\u1029-\u102a\u1050-\u1055\u10d0-\u10f8\u1100-\u1159\u115f-\u11a2\u11a8-\u11f9\u1200-\u1206\u1208-\u1246\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1286\u1288\u128a-\u128d\u1290-\u12ae\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12ce\u12d0-\u12d6\u12d8-\u12ee\u12f0-\u130e\u1310\u1312-\u1315\u1318-\u131e\u1320-\u1346\u1348-\u135a\u13a0-\u13f4\u1401-\u166c\u166f-\u1676\u1681-\u169a\u16a0-\u16ea\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17dc\u1820-\u1842\u1844-\u1877\u1880-\u18a8\u2135-\u2138\u3006\u303c\u3041-\u3096\u309f\u30a1-\u30fa\u30ff\u3105-\u312c\u3131-\u318e\u31a0-\u31b7\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fa5\ua000-\ua48c\uac00-\ud7a3\uf900-\ufa2d\ufa30-\ufa6a\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff66-\uff6f\uff71-\uff9d\uffa0-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc",
r"Lt" : ur"\u01c5\u01c8\u01cb\u01f2\u1f88-\u1f8f\u1f98-\u1f9f\u1fa8-\u1faf\u1fbc\u1fcc\u1ffc",
r"Lu" : ur"A-Z\xc0-\xd6\xd8-\xde\u0100\u0102\u0104\u0106\u0108\u010a\u010c\u010e\u0110\u0112\u0114\u0116\u0118\u011a\u011c\u011e\u0120\u0122\u0124\u0126\u0128\u012a\u012c\u012e\u0130\u0132\u0134\u0136\u0139\u013b\u013d\u013f\u0141\u0143\u0145\u0147\u014a\u014c\u014e\u0150\u0152\u0154\u0156\u0158\u015a\u015c\u015e\u0160\u0162\u0164\u0166\u0168\u016a\u016c\u016e\u0170\u0172\u0174\u0176\u0178-\u0179\u017b\u017d\u0181-\u0182\u0184\u0186-\u0187\u0189-\u018b\u018e-\u0191\u0193-\u0194\u0196-\u0198\u019c-\u019d\u019f-\u01a0\u01a2\u01a4\u01a6-\u01a7\u01a9\u01ac\u01ae-\u01af\u01b1-\u01b3\u01b5\u01b7-\u01b8\u01bc\u01c4\u01c7\u01ca\u01cd\u01cf\u01d1\u01d3\u01d5\u01d7\u01d9\u01db\u01de\u01e0\u01e2\u01e4\u01e6\u01e8\u01ea\u01ec\u01ee\u01f1\u01f4\u01f6-\u01f8\u01fa\u01fc\u01fe\u0200\u0202\u0204\u0206\u0208\u020a\u020c\u020e\u0210\u0212\u0214\u0216\u0218\u021a\u021c\u021e\u0220\u0222\u0224\u0226\u0228\u022a\u022c\u022e\u0230\u0232\u0386\u0388-\u038a\u038c\u038e-\u038f\u0391-\u03a1\u03a3-\u03ab\u03d2-\u03d4\u03d8\u03da\u03dc\u03de\u03e0\u03e2\u03e4\u03e6\u03e8\u03ea\u03ec\u03ee\u03f4\u0400-\u042f\u0460\u0462\u0464\u0466\u0468\u046a\u046c\u046e\u0470\u0472\u0474\u0476\u0478\u047a\u047c\u047e\u0480\u048a\u048c\u048e\u0490\u0492\u0494\u0496\u0498\u049a\u049c\u049e\u04a0\u04a2\u04a4\u04a6\u04a8\u04aa\u04ac\u04ae\u04b0\u04b2\u04b4\u04b6\u04b8\u04ba\u04bc\u04be\u04c0-\u04c1\u04c3\u04c5\u04c7\u04c9\u04cb\u04cd\u04d0\u04d2\u04d4\u04d6\u04d8\u04da\u04dc\u04de\u04e0\u04e2\u04e4\u04e6\u04e8\u04ea\u04ec\u04ee\u04f0\u04f2\u04f4\u04f8\u0500\u0502\u0504\u0506\u0508\u050a\u050c\u050e\u0531-\u0556\u10a0-\u10c5\u1e00\u1e02\u1e04\u1e06\u1e08\u1e0a\u1e0c\u1e0e\u1e10\u1e12\u1e14\u1e16\u1e18\u1e1a\u1e1c\u1e1e\u1e20\u1e22\u1e24\u1e26\u1e28\u1e2a\u1e2c\u1e2e\u1e30\u1e32\u1e34\u1e36\u1e38\u1e3a\u1e3c\u1e3e\u1e40\u1e42\u1e44\u1e46\u1e48\u1e4a\u1e4c\u1e4e\u1e50\u1e52\u1e54\u1e56\u1e58\u1e5a\u1e5c\u1e5e\u1e60\u1e62\u1e64\u1e66\u1e68\u1e6a\u1e6c\u1e6e\u1e70\u1e72\u1e74\u1e76\u1e78\u1e7a\u1e7c\u1e7e\u1e80\u1e82\u1e84\u1e86\u1e88\u1e8a\u1e8c\u1e8e\u1e90\u1e92\u1e94\u1ea0\u1ea2\u1ea4\u1ea6\u1ea8\u1eaa\u1eac\u1eae\u1eb0\u1eb2\u1eb4\u1eb6\u1eb8\u1eba\u1ebc\u1ebe\u1ec0\u1ec2\u1ec4\u1ec6\u1ec8\u1eca\u1ecc\u1ece\u1ed0\u1ed2\u1ed4\u1ed6\u1ed8\u1eda\u1edc\u1ede\u1ee0\u1ee2\u1ee4\u1ee6\u1ee8\u1eea\u1eec\u1eee\u1ef0\u1ef2\u1ef4\u1ef6\u1ef8\u1f08-\u1f0f\u1f18-\u1f1d\u1f28-\u1f2f\u1f38-\u1f3f\u1f48-\u1f4d\u1f59\u1f5b\u1f5d\u1f5f\u1f68-\u1f6f\u1fb8-\u1fbb\u1fc8-\u1fcb\u1fd8-\u1fdb\u1fe8-\u1fec\u1ff8-\u1ffb\u2102\u2107\u210b-\u210d\u2110-\u2112\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u2130-\u2131\u2133\u213e-\u213f\u2145\uff21-\uff3a",
r"L" : ur"A-Za-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u0220\u0222-\u0233\u0250-\u02ad\u02b0-\u02b8\u02bb-\u02c1\u02d0-\u02d1\u02e0-\u02e4\u02ee\u037a\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03ce\u03d0-\u03f5\u0400-\u0481\u048a-\u04ce\u04d0-\u04f5\u04f8-\u04f9\u0500-\u050f\u0531-\u0556\u0559\u0561-\u0587\u05d0-\u05ea\u05f0-\u05f2\u0621-\u063a\u0640-\u064a\u066e-\u066f\u0671-\u06d3\u06d5\u06e5-\u06e6\u06fa-\u06fc\u0710\u0712-\u072c\u0780-\u07a5\u07b1\u0905-\u0939\u093d\u0950\u0958-\u0961\u0985-\u098c\u098f-\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09dc-\u09dd\u09df-\u09e1\u09f0-\u09f1\u0a05-\u0a0a\u0a0f-\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32-\u0a33\u0a35-\u0a36\u0a38-\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8b\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2-\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0b05-\u0b0c\u0b0f-\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32-\u0b33\u0b36-\u0b39\u0b3d\u0b5c-\u0b5d\u0b5f-\u0b61\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99-\u0b9a\u0b9c\u0b9e-\u0b9f\u0ba3-\u0ba4\u0ba8-\u0baa\u0bae-\u0bb5\u0bb7-\u0bb9\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c33\u0c35-\u0c39\u0c60-\u0c61\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cde\u0ce0-\u0ce1\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d28\u0d2a-\u0d39\u0d60-\u0d61\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32-\u0e33\u0e40-\u0e46\u0e81-\u0e82\u0e84\u0e87-\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa-\u0eab\u0ead-\u0eb0\u0eb2-\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edd\u0f00\u0f40-\u0f47\u0f49-\u0f6a\u0f88-\u0f8b\u1000-\u1021\u1023-\u1027\u1029-\u102a\u1050-\u1055\u10a0-\u10c5\u10d0-\u10f8\u1100-\u1159\u115f-\u11a2\u11a8-\u11f9\u1200-\u1206\u1208-\u1246\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1286\u1288\u128a-\u128d\u1290-\u12ae\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12ce\u12d0-\u12d6\u12d8-\u12ee\u12f0-\u130e\u1310\u1312-\u1315\u1318-\u131e\u1320-\u1346\u1348-\u135a\u13a0-\u13f4\u1401-\u166c\u166f-\u1676\u1681-\u169a\u16a0-\u16ea\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1877\u1880-\u18a8\u1e00-\u1e9b\u1ea0-\u1ef9\u1f00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2131\u2133-\u2139\u213d-\u213f\u2145-\u2149\u3005-\u3006\u3031-\u3035\u303b-\u303c\u3041-\u3096\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312c\u3131-\u318e\u31a0-\u31b7\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fa5\ua000-\ua48c\uac00-\ud7a3\uf900-\ufa2d\ufa30-\ufa6a\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc",
r"Mc" : ur"\u0903\u093e-\u0940\u0949-\u094c\u0982-\u0983\u09be-\u09c0\u09c7-\u09c8\u09cb-\u09cc\u09d7\u0a3e-\u0a40\u0a83\u0abe-\u0ac0\u0ac9\u0acb-\u0acc\u0b02-\u0b03\u0b3e\u0b40\u0b47-\u0b48\u0b4b-\u0b4c\u0b57\u0bbe-\u0bbf\u0bc1-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcc\u0bd7\u0c01-\u0c03\u0c41-\u0c44\u0c82-\u0c83\u0cbe\u0cc0-\u0cc4\u0cc7-\u0cc8\u0cca-\u0ccb\u0cd5-\u0cd6\u0d02-\u0d03\u0d3e-\u0d40\u0d46-\u0d48\u0d4a-\u0d4c\u0d57\u0d82-\u0d83\u0dcf-\u0dd1\u0dd8-\u0ddf\u0df2-\u0df3\u0f3e-\u0f3f\u0f7f\u102c\u1031\u1038\u1056-\u1057\u17b4-\u17b6\u17be-\u17c5\u17c7-\u17c8",
r"Me" : ur"\u0488-\u0489\u06de\u20dd-\u20e0\u20e2-\u20e4",
r"Mn" : ur"\u0300-\u034f\u0360-\u036f\u0483-\u0486\u0591-\u05a1\u05a3-\u05b9\u05bb-\u05bd\u05bf\u05c1-\u05c2\u05c4\u064b-\u0655\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7-\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u0901-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0954\u0962-\u0963\u0981\u09bc\u09c1-\u09c4\u09cd\u09e2-\u09e3\u0a02\u0a3c\u0a41-\u0a42\u0a47-\u0a48\u0a4b-\u0a4d\u0a70-\u0a71\u0a81-\u0a82\u0abc\u0ac1-\u0ac5\u0ac7-\u0ac8\u0acd\u0b01\u0b3c\u0b3f\u0b41-\u0b43\u0b4d\u0b56\u0b82\u0bc0\u0bcd\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55-\u0c56\u0cbf\u0cc6\u0ccc-\u0ccd\u0d41-\u0d43\u0d4d\u0dca\u0dd2-\u0dd4\u0dd6\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb-\u0ebc\u0ec8-\u0ecd\u0f18-\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86-\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032\u1036-\u1037\u1039\u1058-\u1059\u1712-\u1714\u1732-\u1734\u1752-\u1753\u1772-\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u180b-\u180d\u18a9\u20d0-\u20dc\u20e1\u20e5-\u20ea\u302a-\u302f\u3099-\u309a\ufb1e\ufe00-\ufe0f\ufe20-\ufe23",
r"M" : ur"\u0300-\u034f\u0360-\u036f\u0483-\u0486\u0488-\u0489\u0591-\u05a1\u05a3-\u05b9\u05bb-\u05bd\u05bf\u05c1-\u05c2\u05c4\u064b-\u0655\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7-\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u0901-\u0903\u093c\u093e-\u094d\u0951-\u0954\u0962-\u0963\u0981-\u0983\u09bc\u09be-\u09c4\u09c7-\u09c8\u09cb-\u09cd\u09d7\u09e2-\u09e3\u0a02\u0a3c\u0a3e-\u0a42\u0a47-\u0a48\u0a4b-\u0a4d\u0a70-\u0a71\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0b01-\u0b03\u0b3c\u0b3e-\u0b43\u0b47-\u0b48\u0b4b-\u0b4d\u0b56-\u0b57\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0c01-\u0c03\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55-\u0c56\u0c82-\u0c83\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5-\u0cd6\u0d02-\u0d03\u0d3e-\u0d43\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d82-\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0df2-\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb-\u0ebc\u0ec8-\u0ecd\u0f18-\u0f19\u0f35\u0f37\u0f39\u0f3e-\u0f3f\u0f71-\u0f84\u0f86-\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102c-\u1032\u1036-\u1039\u1056-\u1059\u1712-\u1714\u1732-\u1734\u1752-\u1753\u1772-\u1773\u17b4-\u17d3\u180b-\u180d\u18a9\u20d0-\u20ea\u302a-\u302f\u3099-\u309a\ufb1e\ufe00-\ufe0f\ufe20-\ufe23",
r"Nd" : ur"0-9\u0660-\u0669\u06f0-\u06f9\u0966-\u096f\u09e6-\u09ef\u0a66-\u0a6f\u0ae6-\u0aef\u0b66-\u0b6f\u0be7-\u0bef\u0c66-\u0c6f\u0ce6-\u0cef\u0d66-\u0d6f\u0e50-\u0e59\u0ed0-\u0ed9\u0f20-\u0f29\u1040-\u1049\u1369-\u1371\u17e0-\u17e9\u1810-\u1819\uff10-\uff19",
r"Nl" : ur"\u16ee-\u16f0\u2160-\u2183\u3007\u3021-\u3029\u3038-\u303a",
r"No" : ur"\xb2-\xb3\xb9\xbc-\xbe\u09f4-\u09f9\u0bf0-\u0bf2\u0f2a-\u0f33\u1372-\u137c\u2070\u2074-\u2079\u2080-\u2089\u2153-\u215f\u2460-\u249b\u24ea-\u24fe\u2776-\u2793\u3192-\u3195\u3220-\u3229\u3251-\u325f\u3280-\u3289\u32b1-\u32bf",
r"N" : ur"0-9\xb2-\xb3\xb9\xbc-\xbe\u0660-\u0669\u06f0-\u06f9\u0966-\u096f\u09e6-\u09ef\u09f4-\u09f9\u0a66-\u0a6f\u0ae6-\u0aef\u0b66-\u0b6f\u0be7-\u0bf2\u0c66-\u0c6f\u0ce6-\u0cef\u0d66-\u0d6f\u0e50-\u0e59\u0ed0-\u0ed9\u0f20-\u0f33\u1040-\u1049\u1369-\u137c\u16ee-\u16f0\u17e0-\u17e9\u1810-\u1819\u2070\u2074-\u2079\u2080-\u2089\u2153-\u2183\u2460-\u249b\u24ea-\u24fe\u2776-\u2793\u3007\u3021-\u3029\u3038-\u303a\u3192-\u3195\u3220-\u3229\u3251-\u325f\u3280-\u3289\u32b1-\u32bf\uff10-\uff19",
r"Pc" : ur"_\u203f-\u2040\u30fb\ufe33-\ufe34\ufe4d-\ufe4f\uff3f\uff65",
r"Pd" : ur"-\xad\u058a\u1806\u2010-\u2015\u301c\u3030\u30a0\ufe31-\ufe32\ufe58\ufe63\uff0d",
r"Pe" : ur")\]}\u0f3b\u0f3d\u169c\u2046\u207e\u208e\u232a\u23b5\u2769\u276b\u276d\u276f\u2771\u2773\u2775\u27e7\u27e9\u27eb\u2984\u2986\u2988\u298a\u298c\u298e\u2990\u2992\u2994\u2996\u2998\u29d9\u29db\u29fd\u3009\u300b\u300d\u300f\u3011\u3015\u3017\u3019\u301b\u301e-\u301f\ufd3f\ufe36\ufe38\ufe3a\ufe3c\ufe3e\ufe40\ufe42\ufe44\ufe5a\ufe5c\ufe5e\uff09\uff3d\uff5d\uff60\uff63",
r"Pf" : ur"\xbb\u2019\u201d\u203a",
r"Pi" : ur"\xab\u2018\u201b-\u201c\u201f\u2039",
r"Po" : ur"!\"#%&'*,./:;?@\\\xa1\xb7\xbf\u037e\u0387\u055a-\u055f\u0589\u05be\u05c0\u05c3\u05f3-\u05f4\u060c\u061b\u061f\u066a-\u066d\u06d4\u0700-\u070d\u0964-\u0965\u0970\u0df4\u0e4f\u0e5a-\u0e5b\u0f04-\u0f12\u0f85\u104a-\u104f\u10fb\u1361-\u1368\u166d-\u166e\u16eb-\u16ed\u1735-\u1736\u17d4-\u17d6\u17d8-\u17da\u1800-\u1805\u1807-\u180a\u2016-\u2017\u2020-\u2027\u2030-\u2038\u203b-\u203e\u2041-\u2043\u2047-\u2051\u2057\u23b6\u3001-\u3003\u303d\ufe30\ufe45-\ufe46\ufe49-\ufe4c\ufe50-\ufe52\ufe54-\ufe57\ufe5f-\ufe61\ufe68\ufe6a-\ufe6b\uff01-\uff03\uff05-\uff07\uff0a\uff0c\uff0e-\uff0f\uff1a-\uff1b\uff1f-\uff20\uff3c\uff61\uff64",
r"Ps" : ur"(\[{\u0f3a\u0f3c\u169b\u201a\u201e\u2045\u207d\u208d\u2329\u23b4\u2768\u276a\u276c\u276e\u2770\u2772\u2774\u27e6\u27e8\u27ea\u2983\u2985\u2987\u2989\u298b\u298d\u298f\u2991\u2993\u2995\u2997\u29d8\u29da\u29fc\u3008\u300a\u300c\u300e\u3010\u3014\u3016\u3018\u301a\u301d\ufd3e\ufe35\ufe37\ufe39\ufe3b\ufe3d\ufe3f\ufe41\ufe43\ufe59\ufe5b\ufe5d\uff08\uff3b\uff5b\uff5f\uff62",
r"P" : ur"!\"#%&'()*,\-./:;?@\[\\\]_{}\xa1\xab\xad\xb7\xbb\xbf\u037e\u0387\u055a-\u055f\u0589-\u058a\u05be\u05c0\u05c3\u05f3-\u05f4\u060c\u061b\u061f\u066a-\u066d\u06d4\u0700-\u070d\u0964-\u0965\u0970\u0df4\u0e4f\u0e5a-\u0e5b\u0f04-\u0f12\u0f3a-\u0f3d\u0f85\u104a-\u104f\u10fb\u1361-\u1368\u166d-\u166e\u169b-\u169c\u16eb-\u16ed\u1735-\u1736\u17d4-\u17d6\u17d8-\u17da\u1800-\u180a\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2057\u207d-\u207e\u208d-\u208e\u2329-\u232a\u23b4-\u23b6\u2768-\u2775\u27e6-\u27eb\u2983-\u2998\u29d8-\u29db\u29fc-\u29fd\u3001-\u3003\u3008-\u3011\u3014-\u301f\u3030\u303d\u30a0\u30fb\ufd3e-\ufd3f\ufe30-\ufe46\ufe49-\ufe52\ufe54-\ufe61\ufe63\ufe68\ufe6a-\ufe6b\uff01-\uff03\uff05-\uff0a\uff0c-\uff0f\uff1a-\uff1b\uff1f-\uff20\uff3b-\uff3d\uff3f\uff5b\uff5d\uff5f-\uff65",
r"Sc" : ur"$\xa2-\xa5\u09f2-\u09f3\u0e3f\u17db\u20a0-\u20b1\ufdfc\ufe69\uff04\uffe0-\uffe1\uffe5-\uffe6",
r"Sk" : ur"\^`\xa8\xaf\xb4\xb8\u02b9-\u02ba\u02c2-\u02cf\u02d2-\u02df\u02e5-\u02ed\u0374-\u0375\u0384-\u0385\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd-\u1ffe\u309b-\u309c\uff3e\uff40\uffe3",
r"Sm" : ur"+<=>|~\xac\xb1\xd7\xf7\u03f6\u2044\u2052\u207a-\u207c\u208a-\u208c\u2140-\u2144\u214b\u2190-\u2194\u219a-\u219b\u21a0\u21a3\u21a6\u21ae\u21ce-\u21cf\u21d2\u21d4\u21f4-\u22ff\u2308-\u230b\u2320-\u2321\u237c\u239b-\u23b3\u25b7\u25c1\u25f8-\u25ff\u266f\u27d0-\u27e5\u27f0-\u27ff\u2900-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2aff\ufb29\ufe62\ufe64-\ufe66\uff0b\uff1c-\uff1e\uff5c\uff5e\uffe2\uffe9-\uffec",
r"So" : ur"\xa6-\xa7\xa9\xae\xb0\xb6\u0482\u06e9\u06fd-\u06fe\u09fa\u0b70\u0f01-\u0f03\u0f13-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fcf\u2100-\u2101\u2103-\u2106\u2108-\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u2132\u213a\u214a\u2195-\u2199\u219c-\u219f\u21a1-\u21a2\u21a4-\u21a5\u21a7-\u21ad\u21af-\u21cd\u21d0-\u21d1\u21d3\u21d5-\u21f3\u2300-\u2307\u230c-\u231f\u2322-\u2328\u232b-\u237b\u237d-\u239a\u23b7-\u23ce\u2400-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u25b6\u25b8-\u25c0\u25c2-\u25f7\u2600-\u2613\u2616-\u2617\u2619-\u266e\u2670-\u267d\u2680-\u2689\u2701-\u2704\u2706-\u2709\u270c-\u2727\u2729-\u274b\u274d\u274f-\u2752\u2756\u2758-\u275e\u2761-\u2767\u2794\u2798-\u27af\u27b1-\u27be\u2800-\u28ff\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012-\u3013\u3020\u3036-\u3037\u303e-\u303f\u3190-\u3191\u3196-\u319f\u3200-\u321c\u322a-\u3243\u3260-\u327b\u327f\u328a-\u32b0\u32c0-\u32cb\u32d0-\u32fe\u3300-\u3376\u337b-\u33dd\u33e0-\u33fe\ua490-\ua4c6\uffe4\uffe8\uffed-\uffee\ufffc-\ufffd",
r"S" : ur"$+<=>\^`|~\xa2-\xa9\xac\xae-\xb1\xb4\xb6\xb8\xd7\xf7\u02b9-\u02ba\u02c2-\u02cf\u02d2-\u02df\u02e5-\u02ed\u0374-\u0375\u0384-\u0385\u03f6\u0482\u06e9\u06fd-\u06fe\u09f2-\u09f3\u09fa\u0b70\u0e3f\u0f01-\u0f03\u0f13-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fcf\u17db\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd-\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20b1\u2100-\u2101\u2103-\u2106\u2108-\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u2132\u213a\u2140-\u2144\u214a-\u214b\u2190-\u2328\u232b-\u23b3\u23b7-\u23ce\u2400-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2613\u2616-\u2617\u2619-\u267d\u2680-\u2689\u2701-\u2704\u2706-\u2709\u270c-\u2727\u2729-\u274b\u274d\u274f-\u2752\u2756\u2758-\u275e\u2761-\u2767\u2794\u2798-\u27af\u27b1-\u27be\u27d0-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2aff\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012-\u3013\u3020\u3036-\u3037\u303e-\u303f\u309b-\u309c\u3190-\u3191\u3196-\u319f\u3200-\u321c\u322a-\u3243\u3260-\u327b\u327f\u328a-\u32b0\u32c0-\u32cb\u32d0-\u32fe\u3300-\u3376\u337b-\u33dd\u33e0-\u33fe\ua490-\ua4c6\ufb29\ufdfc\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc-\ufffd",
r"Zl" : ur"\u2028",
r"Zp" : ur"\u2029",
r"Zs" : ur" \xa0\u1680\u2000-\u200b\u202f\u205f\u3000",
r"Z" : ur" \xa0\u1680\u2000-\u200b\u2028-\u2029\u202f\u205f\u3000",
r"IsBasicLatin" : ur"\u0000-\u007f",
r"IsLatin-1Supplement" : ur"\u0080-\u00ff",
r"IsLatinExtended-A" : ur"\u0100-\u017f",
r"IsLatinExtended-B" : ur"\u0180-\u024f",
r"IsIPAExtensions" : ur"\u0250-\u02af",
r"IsSpacingModifierLetters" : ur"\u02b0-\u02ff",
r"IsCombiningDiacriticalMarks" : ur"\u0300-\u036f",
r"IsGreek" : ur"\u0370-\u03ff",
r"IsCyrillic" : ur"\u0400-\u04ff",
r"IsArmenian" : ur"\u0530-\u058f",
r"IsHebrew" : ur"\u0590-\u05ff",
r"IsArabic" : ur"\u0600-\u06ff",
r"IsSyriac" : ur"\u0700-\u074f",
r"IsThaana" : ur"\u0780-\u07bf",
r"IsDevanagari" : ur"\u0900-\u097f",
r"IsBengali" : ur"\u0980-\u09ff",
r"IsGurmukhi" : ur"\u0a00-\u0a7f",
r"IsGujarati" : ur"\u0a80-\u0aff",
r"IsOriya" : ur"\u0b00-\u0b7f",
r"IsTamil" : ur"\u0b80-\u0bff",
r"IsTelugu" : ur"\u0C00-\u0C7F",
r"IsKannada" : ur"\u0C80-\u0CFF",
r"IsMalayalam" : ur"\u0D00-\u0D7F",
r"IsSinhala" : ur"\u0D80-\u0DFF",
r"IsThai" : ur"\u0E00-\u0E7F",
r"IsLao" : ur"\u0E80-\u0EFF",
r"IsTibetan" : ur"\u0F00-\u0FFF",
r"IsMyanmar" : ur"\u1000-\u109F",
r"IsGeorgian" : ur"\u10A0-\u10FF",
r"IsHangulJamo" : ur"\u1100-\u11FF",
r"IsEthiopic" : ur"\u1200-\u137F",
r"IsCherokee" : ur"\u13A0-\u13FF",
r"IsUnifiedCanadianAboriginalSyllabics" : ur"\u1400-\u167F",
r"IsOgham" : ur"\u1680-\u169F",
r"IsRunic" : ur"\u16A0-\u16FF",
r"IsKhmer" : ur"\u1780-\u17FF",
r"IsMongolian" : ur"\u1800-\u18AF",
r"IsLatinExtendedAdditional" : ur"\u1E00-\u1EFF",
r"IsGreekExtended" : ur"\u1F00-\u1FFF",
r"IsGeneralPunctuation" : ur"\u2000-\u206F",
r"IsSuperscriptsandSubscripts" : ur"\u2070-\u209F",
r"IsCurrencySymbols" : ur"\u20A0-\u20CF",
r"IsCombiningMarksforSymbols" : ur"\u20D0-\u20FF",
r"IsLetterlikeSymbols" : ur"\u2100-\u214F",
r"IsNumberForms" : ur"\u2150-\u218F",
r"IsArrows" : ur"\u2190-\u21FF",
r"IsMathematicalOperators" : ur"\u2200-\u22FF",
r"IsMiscellaneousTechnical" : ur"\u2300-\u23FF",
r"IsControlPictures" : ur"\u2400-\u243F",
r"IsOpticalCharacterRecognition" : ur"\u2440-\u245F",
r"IsEnclosedAlphanumerics" : ur"\u2460-\u24FF",
r"IsBoxDrawing" : ur"\u2500-\u257F",
r"IsBlockElements" : ur"\u2580-\u259F",
r"IsGeometricShapes" : ur"\u25A0-\u25FF",
r"IsMiscellaneousSymbols" : ur"\u2600-\u26FF",
r"IsDingbats" : ur"\u2700-\u27BF",
r"IsBraillePatterns" : ur"\u2800-\u28FF",
r"IsCJKRadicalsSupplement" : ur"\u2E80-\u2EFF",
r"IsKangxiRadicals" : ur"\u2F00-\u2FDF",
r"IsIdeographicDescriptionCharacters" : ur"\u2FF0-\u2FFF",
r"IsCJKSymbolsandPunctuation" : ur"\u3000-\u303F",
r"IsHiragana" : ur"\u3040-\u309F",
r"IsKatakana" : ur"\u30A0-\u30FF",
r"IsBopomofo" : ur"\u3100-\u312F",
r"IsHangulCompatibilityJamo" : ur"\u3130-\u318F",
r"IsKanbun" : ur"\u3190-\u319F",
r"IsBopomofoExtended" : ur"\u31A0-\u31BF",
r"IsEnclosedCJKLettersandMonths" : ur"\u3200-\u32FF",
r"IsCJKCompatibility" : ur"\u3300-\u33FF",
r"IsCJKUnifiedIdeographsExtensionA" : ur"\u3400-\u4DB5",
r"IsCJKUnifiedIdeographs" : ur"\u4E00-\u9FFF",
r"IsYiSyllables" : ur"\uA000-\uA48F",
r"IsYiRadicals" : ur"\uA490-\uA4CF",
r"IsHangulSyllables" : ur"\uAC00-\uD7A3",
r"IsHighSurrogates" : ur"\uD800-\uDB7F",
r"IsHighPrivateUseSurrogates" : ur"\uDB80-\uDBFF",
r"IsLowSurrogates" : ur"\uDC00-\uDFFF",
r"IsPrivateUse" : ur"\uE000-\uF8FF",
r"IsCJKCompatibilityIdeographs" : ur"\uF900-\uFAFF",
r"IsAlphabeticPresentationForms" : ur"\uFB00-\uFB4F",
r"IsArabicPresentationForms-A" : ur"\uFB50-\uFDFF",
r"IsCombiningHalfMarks" : ur"\uFE20-\uFE2F",
r"IsCJKCompatibilityForms" : ur"\uFE30-\uFE4F",
r"IsSmallFormVariants" : ur"\uFE50-\uFE6F",
r"IsArabicPresentationForms-B" : ur"\uFE70-\uFEFE",
r"IsSpecials" : ur"\uFEFF-\uFEFF\uFFF0-\uFFFD",
r"IsHalfwidthandFullwidthForms" : ur"\uFF00-\uFFEF",
# TODO: wide unicode characters are currently not supported!
# r"IsOldItalic" : ur"\U00010300-\U0001032F",
# r"IsGothic" : ur"\U00010330-\U0001034F",
# r"IsDeseret" : ur"\U00010400-\U0001044F",
# r"IsByzantineMusicalSymbols" : ur"\U0001D000-\U0001D0FF",
# r"IsMusicalSymbols" : ur"\U0001D100-\U0001D1FF",
# r"IsMathematicalAlphanumericSymbols" : ur"\U0001D400-\U0001D7FF",
# r"IsCJKUnifiedIdeographsExtensionB" : ur"\U00020000-\U0002A6D6",
# r"IsCJKCompatibilityIdeographsSupplement" : ur"\U0002F800-\U0002FA1F",
# r"IsTags" : ur"\U000E0000-\U000E007F",
# r"IsPrivateUse" : ur"\U000F0000-\U000FFFFD\U00100000-\U0010FFFD",
}
creSingleCharEsc = re.compile(r"(?P<pbs>\\*)(?P<escChar>\\[iIcC])")
substSingleCharEscDict = {
r"\i": ur"_:\u0041-\u005A\u0061-\u007A\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF\u0100-\u0131\u0134-\u013E\u0141-\u0148\u014A-\u017E\u0180-\u01C3\u01CD-\u01F0\u01F4-\u01F5\u01FA-\u0217\u0250-\u02A8\u02BB-\u02C1\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03CE\u03D0-\u03D6\u03DA\u03DC\u03DE\u03E0\u03E2-\u03F3\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E-\u0481\u0490-\u04C4\u04C7-\u04C8\u04CB-\u04CC\u04D0-\u04EB\u04EE-\u04F5\u04F8-\u04F9\u0531-\u0556\u0559\u0561-\u0586\u05D0-\u05EA\u05F0-\u05F2\u0621-\u063A\u0641-\u064A\u0671-\u06B7\u06BA-\u06BE\u06C0-\u06CE\u06D0-\u06D3\u06D5\u06E5-\u06E6\u0905-\u0939\u093D\u0958-\u0961\u0985-\u098C\u098F-\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09DC-\u09DD\u09DF-\u09E1\u09F0-\u09F1\u0A05-\u0A0A\u0A0F-\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32-\u0A33\u0A35-\u0A36\u0A38-\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8B\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2-\u0AB3\u0AB5-\u0AB9\u0ABD\u0AE0\u0B05-\u0B0C\u0B0F-\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32-\u0B33\u0B36-\u0B39\u0B3D\u0B5C-\u0B5D\u0B5F-\u0B61\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99-\u0B9A\u0B9C\u0B9E-\u0B9F\u0BA3-\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB5\u0BB7-\u0BB9\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C60-\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CDE\u0CE0-\u0CE1\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D28\u0D2A-\u0D39\u0D60-\u0D61\u0E01-\u0E2E\u0E30\u0E32-\u0E33\u0E40-\u0E45\u0E81-\u0E82\u0E84\u0E87-\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA-\u0EAB\u0EAD-\u0EAE\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0F40-\u0F47\u0F49-\u0F69\u10A0-\u10C5\u10D0-\u10F6\u1100\u1102-\u1103\u1105-\u1107\u1109\u110B-\u110C\u110E-\u1112\u113C\u113E\u1140\u114C\u114E\u1150\u1154-\u1155\u1159\u115F-\u1161\u1163\u1165\u1167\u1169\u116D-\u116E\u1172-\u1173\u1175\u119E\u11A8\u11AB\u11AE-\u11AF\u11B7-\u11B8\u11BA\u11BC-\u11C2\u11EB\u11F0\u11F9\u1E00-\u1E9B\u1EA0-\u1EF9\u1F00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2126\u212A-\u212B\u212E\u2180-\u2182\u3007\u3021-\u3029\u3041-\u3094\u30A1-\u30FA\u3105-\u312C\u4E00-\u9FA5\uAC00-\uD7A3",
r"\I": ur"^_:\u0041-\u005A\u0061-\u007A\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF\u0100-\u0131\u0134-\u013E\u0141-\u0148\u014A-\u017E\u0180-\u01C3\u01CD-\u01F0\u01F4-\u01F5\u01FA-\u0217\u0250-\u02A8\u02BB-\u02C1\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03CE\u03D0-\u03D6\u03DA\u03DC\u03DE\u03E0\u03E2-\u03F3\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E-\u0481\u0490-\u04C4\u04C7-\u04C8\u04CB-\u04CC\u04D0-\u04EB\u04EE-\u04F5\u04F8-\u04F9\u0531-\u0556\u0559\u0561-\u0586\u05D0-\u05EA\u05F0-\u05F2\u0621-\u063A\u0641-\u064A\u0671-\u06B7\u06BA-\u06BE\u06C0-\u06CE\u06D0-\u06D3\u06D5\u06E5-\u06E6\u0905-\u0939\u093D\u0958-\u0961\u0985-\u098C\u098F-\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09DC-\u09DD\u09DF-\u09E1\u09F0-\u09F1\u0A05-\u0A0A\u0A0F-\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32-\u0A33\u0A35-\u0A36\u0A38-\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8B\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2-\u0AB3\u0AB5-\u0AB9\u0ABD\u0AE0\u0B05-\u0B0C\u0B0F-\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32-\u0B33\u0B36-\u0B39\u0B3D\u0B5C-\u0B5D\u0B5F-\u0B61\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99-\u0B9A\u0B9C\u0B9E-\u0B9F\u0BA3-\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB5\u0BB7-\u0BB9\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C60-\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CDE\u0CE0-\u0CE1\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D28\u0D2A-\u0D39\u0D60-\u0D61\u0E01-\u0E2E\u0E30\u0E32-\u0E33\u0E40-\u0E45\u0E81-\u0E82\u0E84\u0E87-\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA-\u0EAB\u0EAD-\u0EAE\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0F40-\u0F47\u0F49-\u0F69\u10A0-\u10C5\u10D0-\u10F6\u1100\u1102-\u1103\u1105-\u1107\u1109\u110B-\u110C\u110E-\u1112\u113C\u113E\u1140\u114C\u114E\u1150\u1154-\u1155\u1159\u115F-\u1161\u1163\u1165\u1167\u1169\u116D-\u116E\u1172-\u1173\u1175\u119E\u11A8\u11AB\u11AE-\u11AF\u11B7-\u11B8\u11BA\u11BC-\u11C2\u11EB\u11F0\u11F9\u1E00-\u1E9B\u1EA0-\u1EF9\u1F00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2126\u212A-\u212B\u212E\u2180-\u2182\u3007\u3021-\u3029\u3041-\u3094\u30A1-\u30FA\u3105-\u312C\u4E00-\u9FA5\uAC00-\uD7A3",
r"\c": ur"_:\-.\u0041-\u005A\u0061-\u007A\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF\u0100-\u0131\u0134-\u013E\u0141-\u0148\u014A-\u017E\u0180-\u01C3\u01CD-\u01F0\u01F4-\u01F5\u01FA-\u0217\u0250-\u02A8\u02BB-\u02C1\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03CE\u03D0-\u03D6\u03DA\u03DC\u03DE\u03E0\u03E2-\u03F3\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E-\u0481\u0490-\u04C4\u04C7-\u04C8\u04CB-\u04CC\u04D0-\u04EB\u04EE-\u04F5\u04F8-\u04F9\u0531-\u0556\u0559\u0561-\u0586\u05D0-\u05EA\u05F0-\u05F2\u0621-\u063A\u0641-\u064A\u0671-\u06B7\u06BA-\u06BE\u06C0-\u06CE\u06D0-\u06D3\u06D5\u06E5-\u06E6\u0905-\u0939\u093D\u0958-\u0961\u0985-\u098C\u098F-\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09DC-\u09DD\u09DF-\u09E1\u09F0-\u09F1\u0A05-\u0A0A\u0A0F-\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32-\u0A33\u0A35-\u0A36\u0A38-\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8B\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2-\u0AB3\u0AB5-\u0AB9\u0ABD\u0AE0\u0B05-\u0B0C\u0B0F-\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32-\u0B33\u0B36-\u0B39\u0B3D\u0B5C-\u0B5D\u0B5F-\u0B61\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99-\u0B9A\u0B9C\u0B9E-\u0B9F\u0BA3-\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB5\u0BB7-\u0BB9\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C60-\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CDE\u0CE0-\u0CE1\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D28\u0D2A-\u0D39\u0D60-\u0D61\u0E01-\u0E2E\u0E30\u0E32-\u0E33\u0E40-\u0E45\u0E81-\u0E82\u0E84\u0E87-\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA-\u0EAB\u0EAD-\u0EAE\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0F40-\u0F47\u0F49-\u0F69\u10A0-\u10C5\u10D0-\u10F6\u1100\u1102-\u1103\u1105-\u1107\u1109\u110B-\u110C\u110E-\u1112\u113C\u113E\u1140\u114C\u114E\u1150\u1154-\u1155\u1159\u115F-\u1161\u1163\u1165\u1167\u1169\u116D-\u116E\u1172-\u1173\u1175\u119E\u11A8\u11AB\u11AE-\u11AF\u11B7-\u11B8\u11BA\u11BC-\u11C2\u11EB\u11F0\u11F9\u1E00-\u1E9B\u1EA0-\u1EF9\u1F00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2126\u212A-\u212B\u212E\u2180-\u2182\u3041-\u3094\u30A1-\u30FA\u3105-\u312C\uAC00-\uD7A3\u4E00-\u9FA5\u3007\u3021-\u3029\u0300-\u0345\u0360-\u0361\u0483-\u0486\u0591-\u05A1\u05A3-\u05B9\u05BB-\u05BD\u05BF\u05C1-\u05C2\u05C4\u064B-\u0652\u0670\u06D6-\u06DC\u06DD-\u06DF\u06E0-\u06E4\u06E7-\u06E8\u06EA-\u06ED\u0901-\u0903\u093C\u093E-\u094C\u094D\u0951-\u0954\u0962-\u0963\u0981-\u0983\u09BC\u09BE\u09BF\u09C0-\u09C4\u09C7-\u09C8\u09CB-\u09CD\u09D7\u09E2-\u09E3\u0A02\u0A3C\u0A3E\u0A3F\u0A40-\u0A42\u0A47-\u0A48\u0A4B-\u0A4D\u0A70-\u0A71\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0B01-\u0B03\u0B3C\u0B3E-\u0B43\u0B47-\u0B48\u0B4B-\u0B4D\u0B56-\u0B57\u0B82-\u0B83\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C01-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55-\u0C56\u0C82-\u0C83\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5-\u0CD6\u0D02-\u0D03\u0D3E-\u0D43\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB-\u0EBC\u0EC8-\u0ECD\u0F18-\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86-\u0F8B\u0F90-\u0F95\u0F97\u0F99-\u0FAD\u0FB1-\u0FB7\u0FB9\u20D0-\u20DC\u20E1\u302A-\u302F\u3099\u309A\u0030-\u0039\u0660-\u0669\u06F0-\u06F9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE7-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u00B7\u02D0\u02D1\u0387\u0640\u0E46\u0EC6\u3005\u3031-\u3035\u309D-\u309E\u30FC-\u30FE",
r"\C": ur"^_:\-.\u0041-\u005A\u0061-\u007A\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF\u0100-\u0131\u0134-\u013E\u0141-\u0148\u014A-\u017E\u0180-\u01C3\u01CD-\u01F0\u01F4-\u01F5\u01FA-\u0217\u0250-\u02A8\u02BB-\u02C1\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03CE\u03D0-\u03D6\u03DA\u03DC\u03DE\u03E0\u03E2-\u03F3\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E-\u0481\u0490-\u04C4\u04C7-\u04C8\u04CB-\u04CC\u04D0-\u04EB\u04EE-\u04F5\u04F8-\u04F9\u0531-\u0556\u0559\u0561-\u0586\u05D0-\u05EA\u05F0-\u05F2\u0621-\u063A\u0641-\u064A\u0671-\u06B7\u06BA-\u06BE\u06C0-\u06CE\u06D0-\u06D3\u06D5\u06E5-\u06E6\u0905-\u0939\u093D\u0958-\u0961\u0985-\u098C\u098F-\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09DC-\u09DD\u09DF-\u09E1\u09F0-\u09F1\u0A05-\u0A0A\u0A0F-\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32-\u0A33\u0A35-\u0A36\u0A38-\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8B\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2-\u0AB3\u0AB5-\u0AB9\u0ABD\u0AE0\u0B05-\u0B0C\u0B0F-\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32-\u0B33\u0B36-\u0B39\u0B3D\u0B5C-\u0B5D\u0B5F-\u0B61\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99-\u0B9A\u0B9C\u0B9E-\u0B9F\u0BA3-\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB5\u0BB7-\u0BB9\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C60-\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CDE\u0CE0-\u0CE1\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D28\u0D2A-\u0D39\u0D60-\u0D61\u0E01-\u0E2E\u0E30\u0E32-\u0E33\u0E40-\u0E45\u0E81-\u0E82\u0E84\u0E87-\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA-\u0EAB\u0EAD-\u0EAE\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0F40-\u0F47\u0F49-\u0F69\u10A0-\u10C5\u10D0-\u10F6\u1100\u1102-\u1103\u1105-\u1107\u1109\u110B-\u110C\u110E-\u1112\u113C\u113E\u1140\u114C\u114E\u1150\u1154-\u1155\u1159\u115F-\u1161\u1163\u1165\u1167\u1169\u116D-\u116E\u1172-\u1173\u1175\u119E\u11A8\u11AB\u11AE-\u11AF\u11B7-\u11B8\u11BA\u11BC-\u11C2\u11EB\u11F0\u11F9\u1E00-\u1E9B\u1EA0-\u1EF9\u1F00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2126\u212A-\u212B\u212E\u2180-\u2182\u3041-\u3094\u30A1-\u30FA\u3105-\u312C\uAC00-\uD7A3\u4E00-\u9FA5\u3007\u3021-\u3029\u0300-\u0345\u0360-\u0361\u0483-\u0486\u0591-\u05A1\u05A3-\u05B9\u05BB-\u05BD\u05BF\u05C1-\u05C2\u05C4\u064B-\u0652\u0670\u06D6-\u06DC\u06DD-\u06DF\u06E0-\u06E4\u06E7-\u06E8\u06EA-\u06ED\u0901-\u0903\u093C\u093E-\u094C\u094D\u0951-\u0954\u0962-\u0963\u0981-\u0983\u09BC\u09BE\u09BF\u09C0-\u09C4\u09C7-\u09C8\u09CB-\u09CD\u09D7\u09E2-\u09E3\u0A02\u0A3C\u0A3E\u0A3F\u0A40-\u0A42\u0A47-\u0A48\u0A4B-\u0A4D\u0A70-\u0A71\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0B01-\u0B03\u0B3C\u0B3E-\u0B43\u0B47-\u0B48\u0B4B-\u0B4D\u0B56-\u0B57\u0B82-\u0B83\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C01-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55-\u0C56\u0C82-\u0C83\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5-\u0CD6\u0D02-\u0D03\u0D3E-\u0D43\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB-\u0EBC\u0EC8-\u0ECD\u0F18-\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86-\u0F8B\u0F90-\u0F95\u0F97\u0F99-\u0FAD\u0FB1-\u0FB7\u0FB9\u20D0-\u20DC\u20E1\u302A-\u302F\u3099\u309A\u0030-\u0039\u0660-\u0669\u06F0-\u06F9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE7-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u00B7\u02D0\u02D1\u0387\u0640\u0E46\u0EC6\u3005\u3031-\u3035\u309D-\u309E\u30FC-\u30FE",
}
substSpecialEscList = (
(r"[\i-[:]]", ur"[_\u0041-\u005A\u0061-\u007A\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF\u0100-\u0131\u0134-\u013E\u0141-\u0148\u014A-\u017E\u0180-\u01C3\u01CD-\u01F0\u01F4-\u01F5\u01FA-\u0217\u0250-\u02A8\u02BB-\u02C1\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03CE\u03D0-\u03D6\u03DA\u03DC\u03DE\u03E0\u03E2-\u03F3\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E-\u0481\u0490-\u04C4\u04C7-\u04C8\u04CB-\u04CC\u04D0-\u04EB\u04EE-\u04F5\u04F8-\u04F9\u0531-\u0556\u0559\u0561-\u0586\u05D0-\u05EA\u05F0-\u05F2\u0621-\u063A\u0641-\u064A\u0671-\u06B7\u06BA-\u06BE\u06C0-\u06CE\u06D0-\u06D3\u06D5\u06E5-\u06E6\u0905-\u0939\u093D\u0958-\u0961\u0985-\u098C\u098F-\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09DC-\u09DD\u09DF-\u09E1\u09F0-\u09F1\u0A05-\u0A0A\u0A0F-\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32-\u0A33\u0A35-\u0A36\u0A38-\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8B\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2-\u0AB3\u0AB5-\u0AB9\u0ABD\u0AE0\u0B05-\u0B0C\u0B0F-\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32-\u0B33\u0B36-\u0B39\u0B3D\u0B5C-\u0B5D\u0B5F-\u0B61\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99-\u0B9A\u0B9C\u0B9E-\u0B9F\u0BA3-\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB5\u0BB7-\u0BB9\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C60-\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CDE\u0CE0-\u0CE1\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D28\u0D2A-\u0D39\u0D60-\u0D61\u0E01-\u0E2E\u0E30\u0E32-\u0E33\u0E40-\u0E45\u0E81-\u0E82\u0E84\u0E87-\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA-\u0EAB\u0EAD-\u0EAE\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0F40-\u0F47\u0F49-\u0F69\u10A0-\u10C5\u10D0-\u10F6\u1100\u1102-\u1103\u1105-\u1107\u1109\u110B-\u110C\u110E-\u1112\u113C\u113E\u1140\u114C\u114E\u1150\u1154-\u1155\u1159\u115F-\u1161\u1163\u1165\u1167\u1169\u116D-\u116E\u1172-\u1173\u1175\u119E\u11A8\u11AB\u11AE-\u11AF\u11B7-\u11B8\u11BA\u11BC-\u11C2\u11EB\u11F0\u11F9\u1E00-\u1E9B\u1EA0-\u1EF9\u1F00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2126\u212A-\u212B\u212E\u2180-\u2182\u3007\u3021-\u3029\u3041-\u3094\u30A1-\u30FA\u3105-\u312C\u4E00-\u9FA5\uAC00-\uD7A3]"),
(r"[\c-[:]]", ur"[_\-.\u0041-\u005A\u0061-\u007A\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF\u0100-\u0131\u0134-\u013E\u0141-\u0148\u014A-\u017E\u0180-\u01C3\u01CD-\u01F0\u01F4-\u01F5\u01FA-\u0217\u0250-\u02A8\u02BB-\u02C1\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03CE\u03D0-\u03D6\u03DA\u03DC\u03DE\u03E0\u03E2-\u03F3\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E-\u0481\u0490-\u04C4\u04C7-\u04C8\u04CB-\u04CC\u04D0-\u04EB\u04EE-\u04F5\u04F8-\u04F9\u0531-\u0556\u0559\u0561-\u0586\u05D0-\u05EA\u05F0-\u05F2\u0621-\u063A\u0641-\u064A\u0671-\u06B7\u06BA-\u06BE\u06C0-\u06CE\u06D0-\u06D3\u06D5\u06E5-\u06E6\u0905-\u0939\u093D\u0958-\u0961\u0985-\u098C\u098F-\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09DC-\u09DD\u09DF-\u09E1\u09F0-\u09F1\u0A05-\u0A0A\u0A0F-\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32-\u0A33\u0A35-\u0A36\u0A38-\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8B\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2-\u0AB3\u0AB5-\u0AB9\u0ABD\u0AE0\u0B05-\u0B0C\u0B0F-\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32-\u0B33\u0B36-\u0B39\u0B3D\u0B5C-\u0B5D\u0B5F-\u0B61\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99-\u0B9A\u0B9C\u0B9E-\u0B9F\u0BA3-\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB5\u0BB7-\u0BB9\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C60-\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CDE\u0CE0-\u0CE1\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D28\u0D2A-\u0D39\u0D60-\u0D61\u0E01-\u0E2E\u0E30\u0E32-\u0E33\u0E40-\u0E45\u0E81-\u0E82\u0E84\u0E87-\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA-\u0EAB\u0EAD-\u0EAE\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0F40-\u0F47\u0F49-\u0F69\u10A0-\u10C5\u10D0-\u10F6\u1100\u1102-\u1103\u1105-\u1107\u1109\u110B-\u110C\u110E-\u1112\u113C\u113E\u1140\u114C\u114E\u1150\u1154-\u1155\u1159\u115F-\u1161\u1163\u1165\u1167\u1169\u116D-\u116E\u1172-\u1173\u1175\u119E\u11A8\u11AB\u11AE-\u11AF\u11B7-\u11B8\u11BA\u11BC-\u11C2\u11EB\u11F0\u11F9\u1E00-\u1E9B\u1EA0-\u1EF9\u1F00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2126\u212A-\u212B\u212E\u2180-\u2182\u3041-\u3094\u30A1-\u30FA\u3105-\u312C\uAC00-\uD7A3\u4E00-\u9FA5\u3007\u3021-\u3029\u0300-\u0345\u0360-\u0361\u0483-\u0486\u0591-\u05A1\u05A3-\u05B9\u05BB-\u05BD\u05BF\u05C1-\u05C2\u05C4\u064B-\u0652\u0670\u06D6-\u06DC\u06DD-\u06DF\u06E0-\u06E4\u06E7-\u06E8\u06EA-\u06ED\u0901-\u0903\u093C\u093E-\u094C\u094D\u0951-\u0954\u0962-\u0963\u0981-\u0983\u09BC\u09BE\u09BF\u09C0-\u09C4\u09C7-\u09C8\u09CB-\u09CD\u09D7\u09E2-\u09E3\u0A02\u0A3C\u0A3E\u0A3F\u0A40-\u0A42\u0A47-\u0A48\u0A4B-\u0A4D\u0A70-\u0A71\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0B01-\u0B03\u0B3C\u0B3E-\u0B43\u0B47-\u0B48\u0B4B-\u0B4D\u0B56-\u0B57\u0B82-\u0B83\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C01-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55-\u0C56\u0C82-\u0C83\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5-\u0CD6\u0D02-\u0D03\u0D3E-\u0D43\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB-\u0EBC\u0EC8-\u0ECD\u0F18-\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86-\u0F8B\u0F90-\u0F95\u0F97\u0F99-\u0FAD\u0FB1-\u0FB7\u0FB9\u20D0-\u20DC\u20E1\u302A-\u302F\u3099\u309A\u0030-\u0039\u0660-\u0669\u06F0-\u06F9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE7-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u00B7\u02D0\u02D1\u0387\u0640\u0E46\u0EC6\u3005\u3031-\u3035\u309D-\u309E\u30FC-\u30FE]"),
)
########################################
# substitute some multichar escape characters
# which are not handled by the standard python re module
#
def substituteSpecialEscChars (intRePattern):
for specialEsc, repl in substSpecialEscList:
intRePattern = string.replace(intRePattern, specialEsc, repl)
substituteDict = {}
for regexObj in creMultiCharEscP.finditer(intRePattern):
if not (len(regexObj.group('pbs')) & 1): # even number of preceding backslashes
id = regexObj.group('id')
pP = regexObj.group('pP')
if not substMultiCharEscPDict.has_key(id):
raise SyntaxError(r"Unknown MultiCharEscape sequence '\%s{%s}' found!" %(pP, id))
else:
inv = 0
invstr = ""
if pP == "P": inv ^= 1
if regexObj.group('inv') == '^':
inv ^= 1
if inv: invstr = "^"
if creWithinSet.match(intRePattern[:regexObj.start("escSeq")]):
substituteDict[(regexObj.start("escSeq"), regexObj.end("escSeq"))] = ur"%s%s" %(invstr, substMultiCharEscPDict[id])
else:
substituteDict[(regexObj.start("escSeq"), regexObj.end("escSeq"))] = ur"[%s%s]" %(invstr, substMultiCharEscPDict[id])
for regexObj in creSingleCharEsc.finditer(intRePattern):
if not (len(regexObj.group('pbs')) & 1): # even number of preceding backslashes
foundStr = regexObj.group("escChar")
if not substSingleCharEscDict.has_key(foundStr):
raise SyntaxError("Unknown SingleCharEscape sequence '%s' found!" %(foundStr))
else:
regexObjWithinSet = creWithinSet.match(intRePattern[:regexObj.start("escChar")])
if regexObjWithinSet:
substituteDict[(regexObj.start("escChar"), regexObj.end("escChar"))] = ur"%s" %substSingleCharEscDict[foundStr]
else:
substituteDict[(regexObj.start("escChar"), regexObj.end("escChar"))] = ur"[%s]" %substSingleCharEscDict[foundStr]
if substituteDict != {}:
strFragList = []
lastPos = 0
keyList = substituteDict.keys()
keyList.sort()
for startPos, endPos in keyList:
strFragList.append(intRePattern[lastPos:startPos])
strFragList.append(substituteDict[(startPos,endPos)])
lastPos = endPos
strFragList.append(intRePattern[lastPos:])
expandedPattern = "".join(strFragList)
else:
expandedPattern = intRePattern
return expandedPattern
| 185.252874
| 3,639
| 0.745383
| 7,147
| 48,351
| 5.041276
| 0.37974
| 0.002498
| 0.003331
| 0.004441
| 0.622148
| 0.610852
| 0.59778
| 0.59159
| 0.581876
| 0.571885
| 0
| 0.369711
| 0.044467
| 48,351
| 260
| 3,640
| 185.965385
| 0.410143
| 0.047755
| 0
| 0.037433
| 0
| 0.101604
| 0.867195
| 0.819161
| 0
| 0
| 0
| 0.003846
| 0
| 0
| null | null | 0
| 0.010695
| null | null | 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 7
|
0c3a213d5fb07c6adbb18dca8cbba8d1b987a18b
| 60,955
|
py
|
Python
|
backend/tests/test_api_v1_wishlist.py
|
devalv/yawm
|
9f91b96cf6b9a9a1f2026d514ea24edda117e1ba
|
[
"MIT"
] | 1
|
2021-12-26T00:10:15.000Z
|
2021-12-26T00:10:15.000Z
|
backend/tests/test_api_v1_wishlist.py
|
devalv/yawm
|
9f91b96cf6b9a9a1f2026d514ea24edda117e1ba
|
[
"MIT"
] | 7
|
2020-11-07T16:42:47.000Z
|
2022-01-21T23:51:38.000Z
|
backend/tests/test_api_v1_wishlist.py
|
devalv/yawm
|
9f91b96cf6b9a9a1f2026d514ea24edda117e1ba
|
[
"MIT"
] | null | null | null |
# -*- coding: utf-8 -*-
"""Wishlist api tests."""
import pytest
from core.database import ProductGinoModel, WishlistGinoModel
pytestmark = [pytest.mark.asyncio, pytest.mark.api_full]
API_URL_PREFIX = "/api/v1"
@pytest.fixture
async def products_1(single_user):
return await ProductGinoModel.create(
user_id=single_user.id, name="test", url="https://devyatkin.dev/1"
)
@pytest.fixture
async def products_9(single_user):
products_list = list()
for i in range(1, 10):
product = await ProductGinoModel.create(
user_id=single_user.id, name=f"test{i}", url=f"https://devyatkin.dev/{i}"
)
products_list.append(product)
return products_list
@pytest.fixture
async def products_149(single_user):
products_list = list()
for i in range(1, 150):
product = await ProductGinoModel.create(
user_id=single_user.id, name=f"test{i}", url=f"https://devyatkin.dev/{i}"
)
products_list.append(product)
return products_list
@pytest.fixture
async def ew_1(single_user):
"""1 empty wishlist."""
wishlist = await WishlistGinoModel.create(user_id=single_user.id, name="test")
return wishlist
@pytest.fixture
async def empty_wishlists_4(single_user):
for i in range(1, 5):
await WishlistGinoModel.create(user_id=single_user.id, name=f"test{i}")
@pytest.fixture
async def empty_wishlists_149(single_user):
for i in range(1, 150):
await WishlistGinoModel.create(user_id=single_user.id, name=f"test{i}")
@pytest.fixture
async def wishlist_products_1(ew_1, products_1):
wishlist = await WishlistGinoModel.get(ew_1.id)
return await wishlist.add_product(
products_1.id, reserved=False, substitutable=False
)
@pytest.fixture
async def wishlist_products_9(ew_1, products_9):
products_list = list()
wishlist = await WishlistGinoModel.get(ew_1.id)
for product in products_9:
rv = await wishlist.add_product(product.id, reserved=False, substitutable=True)
products_list.append(rv)
return products_list
@pytest.fixture
async def wp_149(ew_1, products_149):
"""149 wishlist products."""
products_list = list()
wishlist = await WishlistGinoModel.get(ew_1.id)
for product in products_149:
rv = await wishlist.add_product(product.id, reserved=False, substitutable=True)
products_list.append(rv)
return products_list
@pytest.mark.skip(reason="not implemented yet.")
async def test_trailing_slash(backend_app):
"""Test that trailing slash redirects working."""
resp = await backend_app.get(f"{API_URL_PREFIX}/product/")
assert resp.is_redirect
assert resp.status_code == 307
class TestProduct:
"""Product API tests."""
API_URL = f"{API_URL_PREFIX}/product"
@pytest.mark.api_base
async def test_product_create_no_auth(self, backend_app):
resp = await backend_app.post(
self.API_URL,
json={
"data": {
"attributes": {"name": "Product1", "url": "https://devyatkin.dev"}
}
},
)
assert resp.status_code == 401
@pytest.mark.api_base
async def test_product_create(
self, snapshot, backend_app, single_user_auth_headers
):
resp = await backend_app.post(
self.API_URL,
json={
"data": {
"attributes": {"name": "Product1", "url": "https://devyatkin.dev"}
}
},
headers=single_user_auth_headers,
)
assert resp.status_code == 200
resp_json_data = resp.json()
resp_data = resp_json_data["data"]
assert "id" in resp_data
assert "type" in resp_data
resp_data.pop("id", None)
snapshot.assert_match(resp_json_data)
@pytest.mark.api_base
async def test_products(self, snapshot, backend_app, products_9):
resp = await backend_app.get(self.API_URL)
assert resp.status_code == 200
resp_data = resp.json()
assert isinstance(resp_data, dict)
# removing product id from items
resp_products = resp_data["data"]
for resp_product in resp_products:
assert "id" in resp_product
assert "type" in resp_product
resp_product.pop("id", None)
snapshot.assert_match(resp_data)
@pytest.mark.api_base
async def test_product_read(self, snapshot, backend_app, products_1):
resp = await backend_app.get(f"{self.API_URL}/{products_1.id}")
assert resp.status_code == 200
resp_json_data = resp.json()
resp_data = resp_json_data["data"]
assert "id" in resp_data
assert "type" in resp_data
resp_data.pop("id", None)
snapshot.assert_match(resp_json_data)
@pytest.mark.api_base
async def test_product_delete_no_auth(self, backend_app, products_1):
resp = await backend_app.delete(f"{self.API_URL}/{products_1.id}")
assert resp.status_code == 401
@pytest.mark.api_base
async def test_product_delete_no_owner(
self, backend_app, products_1, another_single_user_auth_headers
):
resp = await backend_app.delete(
f"{self.API_URL}/{products_1.id}", headers=another_single_user_auth_headers
)
assert resp.status_code == 403
@pytest.mark.api_base
async def test_product_delete_admin(
self, backend_app, products_1, single_admin_auth_headers
):
resp = await backend_app.delete(
f"{self.API_URL}/{products_1.id}", headers=single_admin_auth_headers
)
assert resp.status_code == 204
new_resp = await backend_app.get(
f"{self.API_URL}/{products_1.id}", headers=single_admin_auth_headers
)
assert new_resp.status_code == 404
@pytest.mark.api_base
async def test_product_delete(
self, backend_app, products_1, single_user_auth_headers
):
resp = await backend_app.delete(
f"{self.API_URL}/{products_1.id}", headers=single_user_auth_headers
)
assert resp.status_code == 204
new_resp = await backend_app.get(
f"{self.API_URL}/{products_1.id}", headers=single_user_auth_headers
)
assert new_resp.status_code == 404
@pytest.mark.api_base
async def test_product_full_update_no_auth(self, snapshot, backend_app, products_1):
resp = await backend_app.put(
f"{self.API_URL}/{products_1.id}",
json={
"data": {"attributes": {"name": "test-updated", "url": "https://ya.ru"}}
},
)
assert resp.status_code == 401
@pytest.mark.api_base
async def test_product_full_update_no_owner(
self, snapshot, backend_app, products_1, another_single_user_auth_headers
):
resp = await backend_app.put(
f"{self.API_URL}/{products_1.id}",
json={
"data": {"attributes": {"name": "test-updated", "url": "https://ya.ru"}}
},
headers=another_single_user_auth_headers,
)
assert resp.status_code == 403
@pytest.mark.api_base
async def test_product_full_update_admin(
self, snapshot, backend_app, products_1, single_admin_auth_headers
):
resp = await backend_app.put(
f"{self.API_URL}/{products_1.id}",
json={
"data": {"attributes": {"name": "test-updated", "url": "https://ya.ru"}}
},
headers=single_admin_auth_headers,
)
assert resp.status_code == 200
resp_json_data = resp.json()
resp_data = resp_json_data["data"]
assert "id" in resp_data
assert "type" in resp_data
resp_data.pop("id", None)
snapshot.assert_match(resp_json_data)
@pytest.mark.api_base
async def test_product_full_update(
self, snapshot, backend_app, products_1, single_user_auth_headers
):
resp = await backend_app.put(
f"{self.API_URL}/{products_1.id}",
json={
"data": {"attributes": {"name": "test-updated", "url": "https://ya.ru"}}
},
headers=single_user_auth_headers,
)
assert resp.status_code == 200
resp_json_data = resp.json()
resp_data = resp_json_data["data"]
assert "id" in resp_data
assert "type" in resp_data
resp_data.pop("id", None)
snapshot.assert_match(resp_json_data)
async def test_product_partial_update_no_auth(
self, snapshot, backend_app, products_1
):
resp = await backend_app.put(
f"{self.API_URL}/{products_1.id}",
json={"data": {"attributes": {"name": "partial-updated-name"}}},
)
assert resp.status_code == 401
async def test_product_partial_update_no_owner(
self, snapshot, backend_app, products_1, another_single_user_auth_headers
):
resp = await backend_app.put(
f"{self.API_URL}/{products_1.id}",
json={"data": {"attributes": {"name": "partial-updated-name"}}},
headers=another_single_user_auth_headers,
)
assert resp.status_code == 403
async def test_product_partial_update_admin(
self, snapshot, backend_app, products_1, single_admin_auth_headers
):
resp = await backend_app.put(
f"{self.API_URL}/{products_1.id}",
json={"data": {"attributes": {"name": "partial-updated-name"}}},
headers=single_admin_auth_headers,
)
assert resp.status_code == 200
resp_json_data = resp.json()
resp_data = resp_json_data["data"]
assert "id" in resp_data
assert "type" in resp_data
resp_data.pop("id", None)
snapshot.assert_match(resp_json_data)
async def test_product_partial_update(
self, snapshot, backend_app, products_1, single_user_auth_headers
):
resp = await backend_app.put(
f"{self.API_URL}/{products_1.id}",
json={"data": {"attributes": {"name": "partial-updated-name"}}},
headers=single_user_auth_headers,
)
assert resp.status_code == 200
resp_json_data = resp.json()
resp_data = resp_json_data["data"]
assert "id" in resp_data
assert "type" in resp_data
resp_data.pop("id", None)
snapshot.assert_match(resp_json_data)
@pytest.mark.api_base
async def test_product_paginator_limit(self, snapshot, backend_app, products_9):
paginator_limit = 5
resp = await backend_app.get(
self.API_URL, query_string=dict(size=paginator_limit)
)
assert resp.status_code == 200
resp_json_data = resp.json()
resp_data = resp_json_data["data"]
assert len(resp_data) == paginator_limit
for resp_product in resp_data:
assert "id" in resp_product
assert "type" in resp_product
resp_product.pop("id", None)
snapshot.assert_match(resp_json_data)
class TestEmptyWishlist:
"""Empty wishlist API tests."""
API_URL = f"{API_URL_PREFIX}/wishlist"
@pytest.mark.api_base
async def test_wishlist_create_no_auth(self, snapshot, backend_app):
resp = await backend_app.post(
self.API_URL, json={"data": {"attributes": {"name": "Wishlist1"}}}
)
assert resp.status_code == 401
@pytest.mark.api_base
async def test_wishlist_create(
self, snapshot, backend_app, single_user_auth_headers
):
resp = await backend_app.post(
self.API_URL,
json={"data": {"attributes": {"name": "Wishlist1"}}},
headers=single_user_auth_headers,
)
assert resp.status_code == 200
resp_json_data = resp.json()
resp_data = resp_json_data["data"]
assert "id" in resp_data
assert "type" in resp_data
resp_data.pop("id", None)
snapshot.assert_match(resp_json_data)
@pytest.mark.api_base
async def test_empty_wishlist_delete_no_auth(self, backend_app, ew_1):
resp = await backend_app.delete(f"{self.API_URL}/{ew_1.id}")
assert resp.status_code == 401
@pytest.mark.api_base
async def test_empty_wishlist_delete_no_owner(
self, backend_app, ew_1, another_single_user_auth_headers
):
resp = await backend_app.delete(
f"{self.API_URL}/{ew_1.id}", headers=another_single_user_auth_headers
)
assert resp.status_code == 403
@pytest.mark.api_base
async def test_empty_wishlist_delete_admin(
self, backend_app, ew_1, single_admin_auth_headers
):
resp = await backend_app.delete(
f"{self.API_URL}/{ew_1.id}", headers=single_admin_auth_headers
)
assert resp.status_code == 204
new_resp = await backend_app.get(
f"{self.API_URL}/{ew_1.id}", headers=single_admin_auth_headers
)
assert new_resp.status_code == 404
@pytest.mark.api_base
async def test_empty_wishlist_delete(
self, backend_app, ew_1, single_user_auth_headers
):
resp = await backend_app.delete(
f"{self.API_URL}/{ew_1.id}", headers=single_user_auth_headers
)
assert resp.status_code == 204
new_resp = await backend_app.get(
f"{self.API_URL}/{ew_1.id}", headers=single_user_auth_headers
)
assert new_resp.status_code == 404
@pytest.mark.api_base
async def test_empty_wishlists(self, snapshot, backend_app, empty_wishlists_4):
resp = await backend_app.get(self.API_URL)
assert resp.status_code == 200
resp_json_data = resp.json()
assert isinstance(resp_json_data, dict)
items = resp_json_data["data"]
count = resp_json_data["total"]
assert count == 4
# remove unique data from fetch
for resp_product in items:
assert "id" in resp_product
assert "type" in resp_product
resp_product.pop("id", None)
snapshot.assert_match(items)
@pytest.mark.api_base
async def test_empty_wishlists_paginator_limit(
self, snapshot, backend_app, empty_wishlists_4
):
paginator_limit = 2
resp = await backend_app.get(
self.API_URL, query_string=dict(size=paginator_limit)
)
assert resp.status_code == 200
resp_data = resp.json()
assert isinstance(resp_data, dict)
items = resp_data["data"]
size = resp_data["size"]
total = resp_data["total"]
assert size == paginator_limit
assert total == 4
# remove unique data from fetch
for resp_product in items:
assert "id" in resp_product
assert "type" in resp_product
resp_product.pop("id", None)
snapshot.assert_match(items)
@pytest.mark.api_base
async def test_empty_wishlist_read(self, snapshot, backend_app, ew_1):
resp = await backend_app.get(self.API_URL + f"/{ew_1.id}")
assert resp.status_code == 200
resp_json_data = resp.json()
resp_data = resp_json_data["data"]
assert "id" in resp_data
assert "type" in resp_data
resp_data.pop("id", None)
snapshot.assert_match(resp_data)
@pytest.mark.api_base
async def test_empty_wishlist_full_update(
self, snapshot, backend_app, ew_1, single_user_auth_headers
):
resp = await backend_app.put(
f"{self.API_URL}/{ew_1.id}",
json={"data": {"attributes": {"name": "test-updated"}}},
headers=single_user_auth_headers,
)
assert resp.status_code == 200
resp_json_data = resp.json()
resp_data = resp_json_data["data"]
assert "id" in resp_data
assert "type" in resp_data
resp_data.pop("id", None)
snapshot.assert_match(resp_data)
@pytest.mark.api_base
async def test_empty_wishlist_full_update_no_auth(self, backend_app, ew_1):
resp = await backend_app.put(
f"{self.API_URL}/{ew_1.id}",
json={"data": {"attributes": {"name": "test-updated"}}},
)
assert resp.status_code == 401
@pytest.mark.api_base
async def test_empty_wishlist_full_update_no_owner(
self, backend_app, ew_1, another_single_user_auth_headers
):
resp = await backend_app.put(
f"{self.API_URL}/{ew_1.id}", headers=another_single_user_auth_headers
)
assert resp.status_code == 403
@pytest.mark.api_base
async def test_empty_wishlist_full_update_admin(
self, snapshot, backend_app, ew_1, single_admin_auth_headers
):
resp = await backend_app.put(
f"{self.API_URL}/{ew_1.id}",
json={"data": {"attributes": {"name": "test-updated"}}},
headers=single_admin_auth_headers,
)
assert resp.status_code == 200
resp_json_data = resp.json()
resp_data = resp_json_data["data"]
assert "id" in resp_data
assert "type" in resp_data
resp_data.pop("id", None)
snapshot.assert_match(resp_data)
class TestWishlist:
"""Wishlist API tests."""
@pytest.mark.api_base
async def test_add_product_wishlist_no_auth(self, backend_app, ew_1, products_9):
for i, product in enumerate(products_9):
insert_data = {
"data": {
"attributes": {
"product_id": f"{product.id}",
"reserved": False,
"substitutable": True,
}
}
}
expected_data = insert_data.copy()
expected_data["data"]["attributes"]["wishlist_id"] = f"{ew_1.id}"
expected_data["data"]["type"] = "wishlist_products"
resp = await backend_app.post(
f"{API_URL_PREFIX}/wishlist/{ew_1.id}/products", json=insert_data
)
assert resp.status_code == 401
@pytest.mark.api_base
async def test_add_product_wishlist(
self, backend_app, ew_1, products_9, single_user_auth_headers
):
for i, product in enumerate(products_9):
insert_data = {
"data": {
"attributes": {
"product_id": f"{product.id}",
"reserved": False,
"substitutable": True,
}
}
}
expected_data = insert_data.copy()
expected_data["data"]["attributes"]["wishlist_id"] = f"{ew_1.id}"
expected_data["data"]["type"] = "wishlist_products"
resp = await backend_app.post(
f"{API_URL_PREFIX}/wishlist/{ew_1.id}/products",
json=insert_data,
headers=single_user_auth_headers,
)
assert resp.status_code == 200
resp_json_data = resp.json()
resp_data = resp_json_data["data"]
assert "id" in resp_data
assert "type" in resp_data
resp_data.pop("id", None)
assert resp_json_data == expected_data
# check all products in wishlist
products_resp = await backend_app.get(
f"{API_URL_PREFIX}/wishlist/{ew_1.id}/products"
)
assert products_resp.status_code == 200
product_resp_json_data = products_resp.json()
product_resp_data = product_resp_json_data["data"]
for product in product_resp_data:
assert "id" in product
assert "type" in product
total = product_resp_json_data["total"]
assert total == 9
@pytest.mark.api_base
async def test_delete_product_wishlist_no_auth(
self, snapshot, backend_app, wishlist_products_1
):
# check products count
products_resp = await backend_app.get(f"{API_URL_PREFIX}/product")
assert products_resp.status_code == 200
assert products_resp.json()["total"] == 1
# delete 1 wishlist products
resp = await backend_app.delete(
f"{API_URL_PREFIX}/wishlist/{wishlist_products_1.wishlist_id}/products/{wishlist_products_1.id}" # noqa: E501
)
assert resp.status_code == 401
@pytest.mark.api_base
async def test_delete_product_wishlist_no_owner(
self,
snapshot,
backend_app,
wishlist_products_1,
another_single_user_auth_headers,
):
# check products count
products_resp = await backend_app.get(f"{API_URL_PREFIX}/product")
assert products_resp.status_code == 200
assert products_resp.json()["total"] == 1
# delete 1 wishlist products
resp = await backend_app.delete(
f"{API_URL_PREFIX}/wishlist/{wishlist_products_1.wishlist_id}/products/{wishlist_products_1.id}", # noqa: E501
headers=another_single_user_auth_headers,
)
assert resp.status_code == 403
@pytest.mark.api_base
async def test_delete_product_wishlist_admin(
self, snapshot, backend_app, wishlist_products_1, single_admin_auth_headers
):
# check products count
products_resp = await backend_app.get(f"{API_URL_PREFIX}/product")
assert products_resp.status_code == 200
assert products_resp.json()["total"] == 1
# delete 1 wishlist products
resp = await backend_app.delete(
f"{API_URL_PREFIX}/wishlist/{wishlist_products_1.wishlist_id}/products/{wishlist_products_1.id}", # noqa: E501
headers=single_admin_auth_headers,
)
assert resp.status_code == 204
# check all products in wishlist
products_resp = await backend_app.get(
f"{API_URL_PREFIX}/wishlist/{wishlist_products_1.wishlist_id}/products"
)
assert products_resp.status_code == 200
product_resp_data = products_resp.json()
assert isinstance(product_resp_data, dict)
total = product_resp_data["total"]
assert total == 0
# check products count
products_resp = await backend_app.get(f"{API_URL_PREFIX}/product")
assert products_resp.status_code == 200
assert products_resp.json()["total"] == 1
@pytest.mark.api_base
async def test_delete_product_wishlist(
self, snapshot, backend_app, wishlist_products_1, single_user_auth_headers
):
# check products count
products_resp = await backend_app.get(f"{API_URL_PREFIX}/product")
assert products_resp.status_code == 200
assert products_resp.json()["total"] == 1
# delete 1 wishlist products
resp = await backend_app.delete(
f"{API_URL_PREFIX}/wishlist/{wishlist_products_1.wishlist_id}/products/{wishlist_products_1.id}", # noqa: E501
headers=single_user_auth_headers,
)
assert resp.status_code == 204
# check all products in wishlist
products_resp = await backend_app.get(
f"{API_URL_PREFIX}/wishlist/{wishlist_products_1.wishlist_id}/products"
)
assert products_resp.status_code == 200
product_resp_data = products_resp.json()
assert isinstance(product_resp_data, dict)
total = product_resp_data["total"]
assert total == 0
# check products count
products_resp = await backend_app.get(f"{API_URL_PREFIX}/product")
assert products_resp.status_code == 200
assert products_resp.json()["total"] == 1
@pytest.mark.api_full
async def test_delete_wishlist_with_products_no_auth(
self, backend_app, wishlist_products_1
):
# check that wpr have 1 record
wpr = await backend_app.get(
f"{API_URL_PREFIX}/wishlist/{wishlist_products_1.wishlist_id}/products"
)
assert wpr.json()["total"] == 1
# delete wishlist assigned to wpr
resp = await backend_app.delete(
f"{API_URL_PREFIX}/wishlist/{wishlist_products_1.wishlist_id}"
)
assert resp.status_code == 401
@pytest.mark.api_full
async def test_delete_wishlist_with_products_no_owner(
self, backend_app, wishlist_products_1, another_single_user_auth_headers
):
# check that wpr have 1 record
wpr = await backend_app.get(
f"{API_URL_PREFIX}/wishlist/{wishlist_products_1.wishlist_id}/products"
)
assert wpr.json()["total"] == 1
# delete wishlist assigned to wpr
resp = await backend_app.delete(
f"{API_URL_PREFIX}/wishlist/{wishlist_products_1.wishlist_id}",
headers=another_single_user_auth_headers,
)
assert resp.status_code == 403
@pytest.mark.api_full
async def test_delete_wishlist_with_products_admin(
self, backend_app, wishlist_products_1, single_admin_auth_headers
):
# check that wpr have 1 record
wpr = await backend_app.get(
f"{API_URL_PREFIX}/wishlist/{wishlist_products_1.wishlist_id}/products"
)
assert wpr.json()["total"] == 1
# delete wishlist assigned to wpr
resp = await backend_app.delete(
f"{API_URL_PREFIX}/wishlist/{wishlist_products_1.wishlist_id}",
headers=single_admin_auth_headers,
)
assert resp.status_code == 204
# check that wishlist deleted
new_resp = await backend_app.get(
f"{API_URL_PREFIX}/wishlist/{wishlist_products_1.wishlist_id}"
)
assert new_resp.status_code == 404
# check that wpr deleted too
wpr_2 = await backend_app.get(
f"{API_URL_PREFIX}/wishlist/{wishlist_products_1.wishlist_id}/products"
)
assert wpr_2.status_code == 404
@pytest.mark.api_full
async def test_delete_wishlist_with_products(
self, backend_app, wishlist_products_1, single_user_auth_headers
):
# check that wpr have 1 record
wpr = await backend_app.get(
f"{API_URL_PREFIX}/wishlist/{wishlist_products_1.wishlist_id}/products"
)
assert wpr.json()["total"] == 1
# delete wishlist assigned to wpr
resp = await backend_app.delete(
f"{API_URL_PREFIX}/wishlist/{wishlist_products_1.wishlist_id}",
headers=single_user_auth_headers,
)
assert resp.status_code == 204
# check that wishlist deleted
new_resp = await backend_app.get(
f"{API_URL_PREFIX}/wishlist/{wishlist_products_1.wishlist_id}"
)
assert new_resp.status_code == 404
# check that wpr deleted too
wpr_2 = await backend_app.get(
f"{API_URL_PREFIX}/wishlist/{wishlist_products_1.wishlist_id}/products"
)
assert wpr_2.status_code == 404
@pytest.mark.api_full
async def test_delete_product_in_wishlist_no_auth(
self, backend_app, wishlist_products_9
):
# check that we have 9 products
initial_products = await backend_app.get(f"{API_URL_PREFIX}/product")
initial_products_total = initial_products.json()["total"]
initial_products_total == 9
#
first_product = wishlist_products_9[0]
# check that wpr exists
wpr = await backend_app.get(
f"{API_URL_PREFIX}/wishlist/{first_product.wishlist_id}/products"
)
assert wpr.json()["total"] == 9
# delete one of product
resp = await backend_app.delete(
f"{API_URL_PREFIX}/product/{first_product.product_id}"
)
assert resp.status_code == 401
@pytest.mark.api_full
async def test_delete_product_in_wishlist_no_owner(
self, backend_app, wishlist_products_9, another_single_user_auth_headers
):
# check that we have 9 products
initial_products = await backend_app.get(f"{API_URL_PREFIX}/product")
initial_products_total = initial_products.json()["total"]
initial_products_total == 9
#
first_product = wishlist_products_9[0]
# check that wpr exists
wpr = await backend_app.get(
f"{API_URL_PREFIX}/wishlist/{first_product.wishlist_id}/products"
)
assert wpr.json()["total"] == 9
# delete one of product
resp = await backend_app.delete(
f"{API_URL_PREFIX}/product/{first_product.product_id}",
headers=another_single_user_auth_headers,
)
assert resp.status_code == 403
@pytest.mark.api_full
async def test_delete_product_in_wishlist_admin(
self, backend_app, wishlist_products_9, single_admin_auth_headers
):
# check that we have 9 products
initial_products = await backend_app.get(f"{API_URL_PREFIX}/product")
initial_products_total = initial_products.json()["total"]
initial_products_total == 9
#
first_product = wishlist_products_9[0]
# check that wpr exists
wpr = await backend_app.get(
f"{API_URL_PREFIX}/wishlist/{first_product.wishlist_id}/products"
)
assert wpr.json()["total"] == 9
# delete one of product
resp = await backend_app.delete(
f"{API_URL_PREFIX}/product/{first_product.product_id}",
headers=single_admin_auth_headers,
)
assert resp.status_code == 204
# check that record deleted
new_resp = await backend_app.get(
f"{API_URL_PREFIX}/product/{first_product.product_id}"
)
assert new_resp.status_code == 404
# check that now we have 8 products
reduced_products = await backend_app.get(f"{API_URL_PREFIX}/product")
reduced_products_total = reduced_products.json()["total"]
reduced_products_total == 8
# check that wpr exists
wpr_2 = await backend_app.get(
f"{API_URL_PREFIX}/wishlist/{first_product.wishlist_id}/products"
)
assert wpr_2.json()["total"] == 8
@pytest.mark.api_full
async def test_delete_product_in_wishlist(
self, backend_app, wishlist_products_9, single_user_auth_headers
):
# check that we have 9 products
initial_products = await backend_app.get(f"{API_URL_PREFIX}/product")
initial_products_total = initial_products.json()["total"]
initial_products_total == 9
#
first_product = wishlist_products_9[0]
# check that wpr exists
wpr = await backend_app.get(
f"{API_URL_PREFIX}/wishlist/{first_product.wishlist_id}/products"
)
assert wpr.json()["total"] == 9
# delete one of product
resp = await backend_app.delete(
f"{API_URL_PREFIX}/product/{first_product.product_id}",
headers=single_user_auth_headers,
)
assert resp.status_code == 204
# check that record deleted
new_resp = await backend_app.get(
f"{API_URL_PREFIX}/product/{first_product.product_id}"
)
assert new_resp.status_code == 404
# check that now we have 8 products
reduced_products = await backend_app.get(f"{API_URL_PREFIX}/product")
reduced_products_total = reduced_products.json()["total"]
reduced_products_total == 8
# check that wpr exists
wpr_2 = await backend_app.get(
f"{API_URL_PREFIX}/wishlist/{first_product.wishlist_id}/products"
)
assert wpr_2.json()["total"] == 8
@pytest.mark.api_base
async def test_wishlist_products_list(self, backend_app, wishlist_products_1):
products_resp = await backend_app.get(
f"{API_URL_PREFIX}/wishlist/{wishlist_products_1.wishlist_id}/products"
)
assert products_resp.status_code == 200
product_resp_json_data = products_resp.json()
total = product_resp_json_data["total"]
assert total == 1
product_resp_data = product_resp_json_data["data"]
for product in product_resp_data:
assert "id" in product
assert "type" in product
@pytest.mark.api_base
async def test_paginator_wishlist_products_list(
self, backend_app, ew_1, wishlist_products_9
):
paginator_limit = 5
products_resp = await backend_app.get(
f"{API_URL_PREFIX}/wishlist/{ew_1.id}/products",
query_string=dict(size=paginator_limit),
)
assert products_resp.status_code == 200
product_resp_json_data = products_resp.json()
size = product_resp_json_data["size"]
assert size == paginator_limit
for product in product_resp_json_data["data"]:
assert "id" in product
assert "type" in product
async def test_delete_fake_product_wishlist_no_auth(
self, snapshot, backend_app, wishlist_products_1
):
resp = await backend_app.delete(
f"{API_URL_PREFIX}/wishlist/{wishlist_products_1.wishlist_id}/products/{wishlist_products_1.product_id}" # noqa: E501
)
assert resp.status_code == 401
async def test_delete_fake_product_wishlist(
self, snapshot, backend_app, wishlist_products_1, single_user_auth_headers
):
resp = await backend_app.delete(
f"{API_URL_PREFIX}/wishlist/{wishlist_products_1.wishlist_id}/products/{wishlist_products_1.product_id}", # noqa: E501
headers=single_user_auth_headers,
)
assert resp.status_code == 404
async def test_add_fake_product_wishlist_no_auth(
self, backend_app, ew_1, products_9
):
insert_data = {
"data": {
"attributes": {
"product_id": f"{ew_1.id}",
"reserved": False,
"substitutable": True,
}
}
}
resp = await backend_app.post(
f"{API_URL_PREFIX}/wishlist/{ew_1.id}/products", # noqa: E501
json=insert_data,
)
assert resp.status_code == 401
async def test_add_fake_product_wishlist(
self, backend_app, ew_1, products_9, single_user_auth_headers
):
insert_data = {
"data": {
"attributes": {
"product_id": f"{ew_1.id}",
"reserved": False,
"substitutable": True,
}
}
}
resp = await backend_app.post(
f"{API_URL_PREFIX}/wishlist/{ew_1.id}/products", # noqa: E501
json=insert_data,
headers=single_user_auth_headers,
)
assert resp.status_code == 404
@pytest.mark.api_base
async def test_update_wishlist_product_no_auth(
self, backend_app, wishlist_products_1
):
resp = await backend_app.put(
f"{API_URL_PREFIX}/wishlist/{wishlist_products_1.wishlist_id}/products/{wishlist_products_1.id}", # noqa: E501
json={"data": {"attributes": {"reserved": True}}},
)
assert resp.status_code == 401
@pytest.mark.api_base
async def test_update_wishlist_product_no_owner(
self, backend_app, wishlist_products_1, another_single_user_auth_headers
):
resp = await backend_app.put(
f"{API_URL_PREFIX}/wishlist/{wishlist_products_1.wishlist_id}/products/{wishlist_products_1.id}", # noqa: E501
json={"data": {"attributes": {"reserved": True}}},
headers=another_single_user_auth_headers,
)
assert resp.status_code == 403
@pytest.mark.api_base
async def test_update_wishlist_product_admin(
self, backend_app, wishlist_products_1, single_admin_auth_headers
):
resp = await backend_app.put(
f"{API_URL_PREFIX}/wishlist/{wishlist_products_1.wishlist_id}/products/{wishlist_products_1.id}", # noqa: E501
json={"data": {"attributes": {"reserved": True}}},
headers=single_admin_auth_headers,
)
assert resp.status_code == 200
resp_json_data = resp.json()
resp_data = resp_json_data["data"]
assert "id" in resp_data
assert "type" in resp_data
assert resp_data["attributes"]["reserved"] is True
@pytest.mark.api_base
async def test_update_wishlist_product(
self, backend_app, wishlist_products_1, single_user_auth_headers
):
assert not wishlist_products_1.substitutable
resp = await backend_app.put(
f"{API_URL_PREFIX}/wishlist/{wishlist_products_1.wishlist_id}/products/{wishlist_products_1.id}", # noqa: E501
json={"data": {"attributes": {"substitutable": True, "reserved": True}}},
headers=single_user_auth_headers,
)
assert resp.status_code == 200
resp_json_data = resp.json()
resp_data = resp_json_data["data"]
assert "id" in resp_data
assert "type" in resp_data
assert resp_data["attributes"]["substitutable"] is True
assert resp_data["attributes"]["reserved"] is True
@pytest.mark.api_base
async def test_reserve_wishlist_product(self, backend_app, wishlist_products_1):
resp = await backend_app.put(
f"{API_URL_PREFIX}/wishlist/{wishlist_products_1.wishlist_id}/products/{wishlist_products_1.id}/reserve", # noqa: E501
json={"data": {"attributes": {"reserved": True}}},
)
assert resp.status_code == 200
resp_json_data = resp.json()
resp_data = resp_json_data["data"]
assert "id" in resp_data
assert "type" in resp_data
assert resp_data["attributes"]["reserved"] is True
async def test_reserve_fake_wishlist_product(
self, backend_app, wishlist_products_1
):
resp = await backend_app.put(
f"{API_URL_PREFIX}/wishlist/{wishlist_products_1.id}/products/{wishlist_products_1.id}", # noqa: E501
json={"data": {"attributes": {"reserved": True}}},
)
assert resp.status_code == 404
@pytest.mark.api_base
async def test_substitute_wishlist_product_no_auth(
self, backend_app, wishlist_products_1
):
assert not wishlist_products_1.substitutable
resp = await backend_app.put(
f"{API_URL_PREFIX}/wishlist/{wishlist_products_1.wishlist_id}/products/{wishlist_products_1.id}", # noqa: E501
json={"data": {"attributes": {"substitutable": True}}},
)
assert resp.status_code == 401
@pytest.mark.api_base
async def test_substitute_wishlist_product_no_owner(
self, backend_app, wishlist_products_1, another_single_user_auth_headers
):
assert not wishlist_products_1.substitutable
resp = await backend_app.put(
f"{API_URL_PREFIX}/wishlist/{wishlist_products_1.wishlist_id}/products/{wishlist_products_1.id}", # noqa: E501
json={"data": {"attributes": {"substitutable": True}}},
headers=another_single_user_auth_headers,
)
assert resp.status_code == 403
@pytest.mark.api_base
async def test_substitute_wishlist_product_admin(
self, backend_app, wishlist_products_1, single_admin_auth_headers
):
assert not wishlist_products_1.substitutable
resp = await backend_app.put(
f"{API_URL_PREFIX}/wishlist/{wishlist_products_1.wishlist_id}/products/{wishlist_products_1.id}", # noqa: E501
json={"data": {"attributes": {"substitutable": True}}},
headers=single_admin_auth_headers,
)
assert resp.status_code == 200
resp_json_data = resp.json()
resp_data = resp_json_data["data"]
assert "id" in resp_data
assert "type" in resp_data
assert resp_data["attributes"]["substitutable"]
@pytest.mark.api_base
async def test_substitute_wishlist_product(
self, backend_app, wishlist_products_1, single_user_auth_headers
):
assert not wishlist_products_1.substitutable
resp = await backend_app.put(
f"{API_URL_PREFIX}/wishlist/{wishlist_products_1.wishlist_id}/products/{wishlist_products_1.id}", # noqa: E501
json={"data": {"attributes": {"substitutable": True}}},
headers=single_user_auth_headers,
)
assert resp.status_code == 200
resp_json_data = resp.json()
resp_data = resp_json_data["data"]
assert "id" in resp_data
assert "type" in resp_data
assert resp_data["attributes"]["substitutable"]
async def test_substitute_fake_wishlist_product_no_auth(
self, backend_app, wishlist_products_1
):
resp = await backend_app.put(
f"{API_URL_PREFIX}/wishlist/{wishlist_products_1.wishlist_id}/products/{wishlist_products_1.id}", # noqa: E501
json={"data": {"attributes": {"substitutable": True}}},
)
assert resp.status_code == 401
async def test_substitute_fake_wishlist_product(
self, backend_app, wishlist_products_1, single_user_auth_headers
):
resp = await backend_app.put(
f"{API_URL_PREFIX}/wishlist/{wishlist_products_1.id}/products/{wishlist_products_1.id}", # noqa: E501
json={"data": {"attributes": {"substitutable": True}}},
headers=single_user_auth_headers,
)
assert resp.status_code == 404
class PaginatorValidator:
"""Utils for validation dynamic paginator data"""
@staticmethod
def validate_links(
links: dict,
url: str,
last_page_num: int,
next_page_num: int,
prev_page_num: int,
self_page_num: int,
size: int = None,
) -> None:
# paginator url prefix
if size is not None:
pagination_url_prefix = f"{url}?size={size}&page="
else:
pagination_url_prefix = f"{url}?page="
# validate pagination links values
assert links["first"] == f"{pagination_url_prefix}1"
if self_page_num is not None:
try:
assert links["self"] == f"{pagination_url_prefix}{self_page_num}"
except AssertionError:
assert f"page={self_page_num}" in links["self"]
assert f"size={size}" in links["self"]
elif size is not None:
try:
assert links["self"] == f"{url}?size={size}"
except AssertionError:
assert f"page={self_page_num}" in links["self"]
assert f"size={size}" in links["self"]
else:
assert links["self"] == url
if last_page_num is not None:
try:
assert links["last"] == f"{pagination_url_prefix}{last_page_num}"
except AssertionError:
assert f"page={self_page_num}" in links["last"]
assert f"size={size}" in links["last"]
else:
assert links["last"] is None
if next_page_num is not None:
try:
assert links["next"] == f"{pagination_url_prefix}{next_page_num}"
except AssertionError:
assert f"page={self_page_num}" in links["next"]
assert f"size={size}" in links["next"]
else:
assert links["next"] is None
if prev_page_num is not None:
try:
assert links["prev"] == f"{pagination_url_prefix}{prev_page_num}"
except AssertionError:
assert f"page={self_page_num}" in links["prev"]
assert f"size={size}" in links["prev"]
else:
assert links["prev"] is None
class TestWPPaginator(PaginatorValidator):
"""Wishlist Products paginator extra tests."""
@staticmethod
def validate_response(json_data: dict) -> None:
response_data = json_data["data"]
for product in response_data:
attributes = product["attributes"]
assert "id" in product
assert "wishlist_id" in attributes
assert "product_id" in attributes
product.pop("id", None)
attributes.pop("wishlist_id", None)
attributes.pop("product_id", None)
@pytest.mark.api_full
async def test_default_paginator(self, snapshot, backend_app, ew_1, wp_149):
api_url = f"{API_URL_PREFIX}/wishlist/{ew_1.id}/products"
# open default page
response = await backend_app.get(api_url)
assert response.status_code == 200
response_json_data = response.json()
# check pagination links
self.validate_links(
response_json_data.pop("links"),
url=api_url,
last_page_num=3,
next_page_num=2,
prev_page_num=None,
self_page_num=None,
)
# assert response data
self.validate_response(response_json_data)
snapshot.assert_match(response_json_data)
@pytest.mark.api_full
async def test_next_page_paginator(self, snapshot, backend_app, ew_1, wp_149):
api_url = f"{API_URL_PREFIX}/wishlist/{ew_1.id}/products"
# open next paginator page
response = await backend_app.get(api_url, query_string=dict(page=2))
assert response.status_code == 200
response_json_data = response.json()
# check pagination links
self.validate_links(
response_json_data.pop("links"),
url=api_url,
last_page_num=3,
next_page_num=3,
prev_page_num=1,
self_page_num=2,
)
# check response data
self.validate_response(response_json_data)
snapshot.assert_match(response_json_data)
@pytest.mark.api_full
async def test_first_page_paginator(self, snapshot, backend_app, ew_1, wp_149):
api_url = f"{API_URL_PREFIX}/wishlist/{ew_1.id}/products"
# open first paginator page
response = await backend_app.get(api_url, query_string=dict(page=1))
assert response.status_code == 200
response_json_data = response.json()
self.validate_response(response_json_data)
# check pagination links
self.validate_links(
response_json_data.pop("links"),
url=api_url,
last_page_num=3,
next_page_num=2,
prev_page_num=None,
self_page_num=1,
)
# assert response data
snapshot.assert_match(response_json_data)
@pytest.mark.api_full
async def test_last_page_paginator(self, snapshot, backend_app, ew_1, wp_149):
api_url = f"{API_URL_PREFIX}/wishlist/{ew_1.id}/products"
# open last paginator page
response = await backend_app.get(api_url, query_string=dict(page=3))
assert response.status_code == 200
response_json_data = response.json()
self.validate_response(response_json_data)
# check pagination links
self.validate_links(
response_json_data.pop("links"),
url=api_url,
last_page_num=3,
next_page_num=None,
prev_page_num=2,
self_page_num=3,
)
# assert response data
snapshot.assert_match(response_json_data)
@pytest.mark.api_full
async def test_reduced_qs_paginator(self, snapshot, backend_app, ew_1, wp_149):
api_url = f"{API_URL_PREFIX}/wishlist/{ew_1.id}/products"
# reduce QS size
response = await backend_app.get(api_url, query_string=dict(size=10))
assert response.status_code == 200
response_json_data = response.json()
self.validate_response(response_json_data)
# check pagination links
self.validate_links(
response_json_data.pop("links"),
url=f"{api_url}",
last_page_num=15,
next_page_num=2,
prev_page_num=None,
self_page_num=None,
size=10,
)
# assert response data
snapshot.assert_match(response_json_data)
@pytest.mark.api_full
async def test_last_page_reduced_qs_paginator(
self, snapshot, backend_app, ew_1, wp_149
):
api_url = f"{API_URL_PREFIX}/wishlist/{ew_1.id}/products"
# open last page with reduced QS size
response = await backend_app.get(api_url, query_string=dict(page=15, size=10))
assert response.status_code == 200
response_json_data = response.json()
self.validate_response(response_json_data)
# check pagination links
self.validate_links(
response_json_data.pop("links"),
url=api_url,
size=10,
last_page_num=15,
next_page_num=None,
prev_page_num=14,
self_page_num=15,
)
snapshot.assert_match(response_json_data)
@pytest.mark.api_full
async def test_empty_page_reduced_qs_paginator(
self, snapshot, backend_app, ew_1, wp_149
):
api_url = f"{API_URL_PREFIX}/wishlist/{ew_1.id}/products"
# open empty page with reduced QS size
response = await backend_app.get(api_url, query_string=dict(page=16, size=10))
assert response.status_code == 200
response_json_data = response.json()
self.validate_response(response_json_data)
# check pagination links
self.validate_links(
response_json_data.pop("links"),
url=api_url,
size=10,
last_page_num=15,
next_page_num=None,
prev_page_num=15,
self_page_num=16,
)
snapshot.assert_match(response_json_data)
class TestProductPaginator(PaginatorValidator):
"""Products paginator extra tests."""
@staticmethod
def validate_response(json_data: dict):
response_data = json_data["data"]
for product in response_data:
assert "id" in product
product.pop("id", None)
return json_data
@pytest.mark.api_full
async def test_default_paginator(self, snapshot, backend_app, products_149):
api_url = f"{API_URL_PREFIX}/product"
# open default page
response = await backend_app.get(api_url)
assert response.status_code == 200
response_json_data = response.json()
self.validate_response(response_json_data)
# check pagination links
self.validate_links(
response_json_data.pop("links"),
url=api_url,
last_page_num=3,
next_page_num=2,
prev_page_num=None,
self_page_num=None,
)
snapshot.assert_match(response_json_data)
@pytest.mark.api_full
async def test_next_page_paginator(self, snapshot, backend_app, products_149):
api_url = f"{API_URL_PREFIX}/product"
# open next paginator page
response = await backend_app.get(api_url, query_string=dict(page=2))
assert response.status_code == 200
response_json_data = response.json()
self.validate_response(response_json_data)
# check pagination links
self.validate_links(
response_json_data.pop("links"),
url=api_url,
last_page_num=3,
next_page_num=3,
prev_page_num=1,
self_page_num=2,
)
snapshot.assert_match(response_json_data)
@pytest.mark.api_full
async def test_first_page_paginator(self, snapshot, backend_app, products_149):
api_url = f"{API_URL_PREFIX}/product"
# open first paginator page
response = await backend_app.get(api_url, query_string=dict(page=1))
assert response.status_code == 200
response_json_data = response.json()
self.validate_response(response_json_data)
# check pagination links
self.validate_links(
response_json_data.pop("links"),
url=api_url,
last_page_num=3,
next_page_num=2,
prev_page_num=None,
self_page_num=1,
)
snapshot.assert_match(response_json_data)
@pytest.mark.api_full
async def test_last_page_paginator(self, snapshot, backend_app, products_149):
api_url = f"{API_URL_PREFIX}/product"
# open last paginator page
response = await backend_app.get(api_url, query_string=dict(page=3))
assert response.status_code == 200
response_json_data = response.json()
self.validate_response(response_json_data)
# check pagination links
self.validate_links(
response_json_data.pop("links"),
url=api_url,
last_page_num=3,
next_page_num=None,
prev_page_num=2,
self_page_num=3,
)
snapshot.assert_match(response_json_data)
@pytest.mark.api_full
async def test_reduced_qs_paginator(self, snapshot, backend_app, products_149):
api_url = f"{API_URL_PREFIX}/product"
# reduce QS size
response = await backend_app.get(api_url, query_string=dict(size=10))
assert response.status_code == 200
response_json_data = response.json()
self.validate_response(response_json_data)
# check pagination links
self.validate_links(
response_json_data.pop("links"),
url=api_url,
size=10,
last_page_num=15,
next_page_num=2,
prev_page_num=None,
self_page_num=None,
)
snapshot.assert_match(response_json_data)
@pytest.mark.api_full
async def test_last_page_reduced_qs_paginator(
self, snapshot, backend_app, products_149
):
api_url = f"{API_URL_PREFIX}/product"
# open last page with reduced QS size
response = await backend_app.get(api_url, query_string=dict(page=15, size=10))
assert response.status_code == 200
response_json_data = response.json()
self.validate_response(response_json_data)
# check pagination links
self.validate_links(
response_json_data.pop("links"),
url=api_url,
size=10,
last_page_num=15,
next_page_num=None,
prev_page_num=14,
self_page_num=15,
)
snapshot.assert_match(response_json_data)
@pytest.mark.api_full
async def test_empty_page_reduced_qs_paginator(
self, snapshot, backend_app, products_149
):
api_url = f"{API_URL_PREFIX}/product"
# open empty page with reduced QS size
response = await backend_app.get(api_url, query_string=dict(page=16, size=10))
assert response.status_code == 200
response_json_data = response.json()
self.validate_response(response_json_data)
# check pagination links
self.validate_links(
response_json_data.pop("links"),
url=api_url,
size=10,
last_page_num=15,
next_page_num=None,
prev_page_num=15,
self_page_num=16,
)
snapshot.assert_match(response_json_data)
class TestWishlistPaginator(PaginatorValidator):
"""Wishlist paginator extra tests."""
@staticmethod
def validate_response(json_data: dict):
response_data = json_data["data"]
for product in response_data:
assert "id" in product
product.pop("id", None)
return json_data
@pytest.mark.api_full
async def test_default_paginator(self, snapshot, backend_app, empty_wishlists_149):
api_url = f"{API_URL_PREFIX}/wishlist"
# open default page
response = await backend_app.get(api_url)
assert response.status_code == 200
response_json_data = response.json()
self.validate_response(response_json_data)
# check pagination links
self.validate_links(
response_json_data.pop("links"),
url=api_url,
last_page_num=3,
next_page_num=2,
prev_page_num=None,
self_page_num=None,
)
snapshot.assert_match(response_json_data)
@pytest.mark.api_full
async def test_next_page_paginator(
self, snapshot, backend_app, empty_wishlists_149
):
api_url = f"{API_URL_PREFIX}/wishlist"
# open next paginator page
response = await backend_app.get(api_url, query_string=dict(page=2))
assert response.status_code == 200
response_json_data = response.json()
self.validate_response(response_json_data)
# check pagination links
self.validate_links(
response_json_data.pop("links"),
url=api_url,
last_page_num=3,
next_page_num=3,
prev_page_num=1,
self_page_num=2,
)
snapshot.assert_match(response_json_data)
@pytest.mark.api_full
async def test_first_page_paginator(
self, snapshot, backend_app, empty_wishlists_149
):
api_url = f"{API_URL_PREFIX}/wishlist"
# open first paginator page
response = await backend_app.get(api_url, query_string=dict(page=1))
assert response.status_code == 200
response_json_data = response.json()
self.validate_response(response_json_data)
# check pagination links
self.validate_links(
response_json_data.pop("links"),
url=api_url,
last_page_num=3,
next_page_num=2,
prev_page_num=None,
self_page_num=1,
)
snapshot.assert_match(response_json_data)
@pytest.mark.api_full
async def test_last_page_paginator(
self, snapshot, backend_app, empty_wishlists_149
):
api_url = f"{API_URL_PREFIX}/wishlist"
# open last paginator page
response = await backend_app.get(api_url, query_string=dict(page=3))
assert response.status_code == 200
response_json_data = response.json()
self.validate_response(response_json_data)
# check pagination links
self.validate_links(
response_json_data.pop("links"),
url=api_url,
last_page_num=3,
next_page_num=None,
prev_page_num=2,
self_page_num=3,
)
snapshot.assert_match(response_json_data)
@pytest.mark.api_full
async def test_reduced_qs_paginator(
self, snapshot, backend_app, empty_wishlists_149
):
api_url = f"{API_URL_PREFIX}/wishlist"
# reduce QS size
response = await backend_app.get(api_url, query_string=dict(size=10))
assert response.status_code == 200
response_json_data = response.json()
self.validate_response(response_json_data)
# check pagination links
self.validate_links(
response_json_data.pop("links"),
url=api_url,
size=10,
last_page_num=15,
next_page_num=2,
prev_page_num=None,
self_page_num=None,
)
snapshot.assert_match(response_json_data)
@pytest.mark.api_full
async def test_last_page_reduced_qs_paginator(
self, snapshot, backend_app, empty_wishlists_149
):
api_url = f"{API_URL_PREFIX}/wishlist"
# open last page with reduced QS size
response = await backend_app.get(api_url, query_string=dict(page=15, size=10))
assert response.status_code == 200
response_json_data = response.json()
self.validate_response(response_json_data)
# check pagination links
self.validate_links(
response_json_data.pop("links"),
url=api_url,
size=10,
last_page_num=15,
next_page_num=None,
prev_page_num=14,
self_page_num=15,
)
snapshot.assert_match(response_json_data)
@pytest.mark.api_full
async def test_empty_page_reduced_qs_paginator(
self, snapshot, backend_app, empty_wishlists_149
):
api_url = f"{API_URL_PREFIX}/wishlist"
# open empty page with reduced QS size
response = await backend_app.get(api_url, query_string=dict(page=16, size=10))
assert response.status_code == 200
response_json_data = response.json()
self.validate_response(response_json_data)
# check pagination links
self.validate_links(
response_json_data.pop("links"),
url=api_url,
size=10,
last_page_num=15,
next_page_num=None,
prev_page_num=15,
self_page_num=16,
)
snapshot.assert_match(response_json_data)
| 36.5
| 131
| 0.629005
| 7,604
| 60,955
| 4.711336
| 0.025776
| 0.056664
| 0.049826
| 0.03157
| 0.948667
| 0.939428
| 0.926392
| 0.911905
| 0.895659
| 0.887481
| 0
| 0.019437
| 0.27581
| 60,955
| 1,669
| 132
| 36.521869
| 0.79213
| 0.047494
| 0
| 0.759393
| 0
| 0
| 0.135779
| 0.094983
| 0
| 0
| 0
| 0
| 0.185694
| 1
| 0.00289
| false
| 0
| 0.001445
| 0
| 0.017341
| 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
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.