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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
117fdb4d8ac30e0003f9e1cef065e70ec84cf800 | 2,102 | py | Python | day015-day058/day015/art.py | sysarghir/100-days-of-python | 8edc7ce102429333d4abd80ac3f4067e4028c66d | [
"MIT"
] | null | null | null | day015-day058/day015/art.py | sysarghir/100-days-of-python | 8edc7ce102429333d4abd80ac3f4067e4028c66d | [
"MIT"
] | null | null | null | day015-day058/day015/art.py | sysarghir/100-days-of-python | 8edc7ce102429333d4abd80ac3f4067e4028c66d | [
"MIT"
] | null | null | null | logo = """
.d888 .d888
d88P" d88P"
888 888
.d8888b .d88b. 888888888888 .d88b. .d88b.
d88P" d88""88b888 888 d8P Y8bd8P Y8b
888 888 888888 888 8888888888888888
Y88b. Y88..88P888 888 Y8b. Y8b.
"Y8888P "Y88P" 888 888 "Y8888 "Y8888
"""
invent = """
ooooo . .
`888' .o8 .o8
888 ooo. .oo. oooo ooo .ooooo. ooo. .oo. .o888oo .ooooo. oooo d8b oooo ooo oooo d8b .ooooo. oo.ooooo. .ooooo. oooo d8b .o888oo
888 `888P"Y88b `88. .8' d88' `88b `888P"Y88b 888 d88' `88b `888""8P `88. .8' `888""8P d88' `88b 888' `88b d88' `88b `888""8P 888
888 888 888 `88..8' 888ooo888 888 888 888 888 888 888 `88..8' 888 888ooo888 888 888 888 888 888 888 o8o
888 888 888 `888' 888 .o 888 888 888 . 888 888 888 `888' 888 888 .o 888 888 888 888 888 888 . `"'
o888o o888o o888o `8' `Y8bod8P' o888o o888o "888" `Y8bod8P' d888b .8' d888b `Y8bod8P' 888bod8P' `Y8bod8P' d888b "888" o8o
.o..P' 888 `"'
`Y8P' o888o
""" | 91.391304 | 168 | 0.276403 | 159 | 2,102 | 3.654088 | 0.264151 | 0.340792 | 0.371773 | 0.371773 | 0.230637 | 0.230637 | 0.199656 | 0.106713 | 0.106713 | 0.106713 | 0 | 0.518776 | 0.657945 | 2,102 | 23 | 169 | 91.391304 | 0.289291 | 0 | 0 | 0.095238 | 0 | 0.238095 | 0.985103 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
eeae125d11d7d7d011e6aaa2e5d200f6e874a49d | 131 | py | Python | discoutils/cogs/moderation/__init__.py | Rishiraj0100/discoutils | 67da54034bf5771d7e55627c2cdcddc9f72f19a4 | [
"MIT"
] | 2 | 2021-04-09T03:27:43.000Z | 2021-05-24T16:29:42.000Z | discoutils/cogs/moderation/__init__.py | Rishiraj0100/discoutils | 67da54034bf5771d7e55627c2cdcddc9f72f19a4 | [
"MIT"
] | null | null | null | discoutils/cogs/moderation/__init__.py | Rishiraj0100/discoutils | 67da54034bf5771d7e55627c2cdcddc9f72f19a4 | [
"MIT"
] | 1 | 2021-03-20T14:23:28.000Z | 2021-03-20T14:23:28.000Z | def setup(bot):
bot.load_extension("discoutils.cogs.moderation.message")
bot.load_extension("discoutils.cogs.moderation.user")
| 32.75 | 58 | 0.793893 | 17 | 131 | 6 | 0.588235 | 0.137255 | 0.313725 | 0.509804 | 0.784314 | 0.784314 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061069 | 131 | 3 | 59 | 43.666667 | 0.829268 | 0 | 0 | 0 | 0 | 0 | 0.496183 | 0.496183 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0112ae5bdfb453e5356b3a25dba0100d081f6687 | 10,282 | py | Python | pybatch/test/test_conditionalBatchCommands.py | Nizarazo/instl | d04e9aede292caa1174447189a423726fa3bb97f | [
"BSD-3-Clause"
] | null | null | null | pybatch/test/test_conditionalBatchCommands.py | Nizarazo/instl | d04e9aede292caa1174447189a423726fa3bb97f | [
"BSD-3-Clause"
] | null | null | null | pybatch/test/test_conditionalBatchCommands.py | Nizarazo/instl | d04e9aede292caa1174447189a423726fa3bb97f | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3.6
import unittest
import logging
log = logging.getLogger(__name__)
from pybatch import *
from .test_PythonBatchBase import *
class TestPythonBatchConditional(unittest.TestCase):
def __init__(self, which_test):
super().__init__(which_test)
self.pbt = TestPythonBatch(self, which_test)
def setUp(self):
self.pbt.setUp()
def tearDown(self):
self.pbt.tearDown()
def test_If_repr(self):
list_of_objs = list()
the_condition = True
list_of_objs.append(If(the_condition, if_true=Touch("hootenanny"), if_false=Touch("hootebunny")))
list_of_objs.append(If(Path("/mama/mia/here/i/go/again").exists(), if_true=Touch("hootenanny"), if_false=Touch("hootebunny")))
list_of_objs.append(If("2 == 1+1", if_true=Touch("hootenanny"), if_false=Touch("hootebunny")))
self.pbt.reprs_test_runner(*list_of_objs)
def test_If_Eq(self):
file_that_should_exist_if_true = self.pbt.path_inside_test_folder("should_exist_if_true")
file_that_should_not_exist_if_true = self.pbt.path_inside_test_folder("should_not_exist_if_true")
file_that_should_exist_if_false = self.pbt.path_inside_test_folder("should_exist_if_false")
file_that_should_not_exist_if_false = self.pbt.path_inside_test_folder("should_not_exist_if_false")
self.pbt.batch_accum.clear()
self.pbt.batch_accum += If(IsEq(1234, 1234), if_true=Touch(file_that_should_exist_if_true), if_false=Touch(file_that_should_not_exist_if_true))
self.pbt.batch_accum += If(IsEq("yoyo", "ma"), if_true=Touch(file_that_should_not_exist_if_false), if_false=Touch(file_that_should_exist_if_false))
self.pbt.exec_and_capture_output()
self.assertTrue(file_that_should_exist_if_true.exists(), f"{self.pbt.which_test}: {file_that_should_exist_if_true} should have been created")
self.assertFalse(file_that_should_not_exist_if_true.exists(), f"{self.pbt.which_test}: {file_that_should_not_exist_if_true} should have not been created")
self.assertTrue(file_that_should_exist_if_false.exists(), f"{self.pbt.which_test}: {file_that_should_exist_if_false} should have been created")
self.assertFalse(file_that_should_not_exist_if_false.exists(), f"{self.pbt.which_test}: {file_that_should_not_exist_if_false} should have not been created")
def test_If_NotEq(self):
file_that_should_exist_if_true = self.pbt.path_inside_test_folder("should_exist_if_true")
file_that_should_not_exist_if_true = self.pbt.path_inside_test_folder("should_not_exist_if_true")
file_that_should_exist_if_false = self.pbt.path_inside_test_folder("should_exist_if_false")
file_that_should_not_exist_if_false = self.pbt.path_inside_test_folder("should_not_exist_if_false")
self.pbt.batch_accum.clear()
self.pbt.batch_accum += If(IsNotEq(1234, 1234), if_true=Touch(file_that_should_not_exist_if_true), if_false=Touch(file_that_should_exist_if_true))
self.pbt.batch_accum += If(IsNotEq("yoyo", "ma"), if_true=Touch(file_that_should_exist_if_false), if_false=Touch(file_that_should_not_exist_if_false))
self.pbt.exec_and_capture_output()
self.assertTrue(file_that_should_exist_if_true.exists(), f"{self.pbt.which_test}: {file_that_should_exist_if_true} should have been created")
self.assertFalse(file_that_should_not_exist_if_true.exists(), f"{self.pbt.which_test}: {file_that_should_not_exist_if_true} should have not been created")
self.assertTrue(file_that_should_exist_if_false.exists(), f"{self.pbt.which_test}: {file_that_should_exist_if_false} should have been created")
self.assertFalse(file_that_should_not_exist_if_false.exists(), f"{self.pbt.which_test}: {file_that_should_not_exist_if_false} should have not been created")
def test_IfFileExist(self):
file_that_should_exist = self.pbt.path_inside_test_folder("should_exist")
file_that_should_not_exist = self.pbt.path_inside_test_folder("should_not_exist")
file_touched_if_exist = self.pbt.path_inside_test_folder("touched_if_exist")
file_touched_if_not_exist = self.pbt.path_inside_test_folder("touched_if_not_exist")
self.pbt.batch_accum.clear()
self.pbt.batch_accum += Touch(file_that_should_exist)
self.pbt.batch_accum += If(IsFile(file_that_should_exist), if_true=Touch(file_touched_if_exist), if_false=Touch(file_that_should_not_exist))
self.pbt.batch_accum += If(IsFile(file_that_should_not_exist), if_true=Touch(file_that_should_not_exist), if_false=Touch(file_touched_if_not_exist))
self.pbt.exec_and_capture_output()
self.assertTrue(file_that_should_exist.exists(), f"{self.pbt.which_test}: {file_that_should_exist} should have been created")
self.assertTrue(file_touched_if_exist.exists(), f"{self.pbt.which_test}: {file_touched_if_exist} should have been created")
self.assertFalse(file_that_should_not_exist.exists(), f"{self.pbt.which_test}: {file_that_should_not_exist} should not have been created")
self.assertTrue(file_touched_if_not_exist.exists(), f"{self.pbt.which_test}: {file_touched_if_not_exist} should have been created")
def test_If_2_is_1_plus_1(self):
file_that_should_not_exist = self.pbt.path_inside_test_folder("should_not_exist")
file_touched_if_exist = self.pbt.path_inside_test_folder("touched_if_exist")
file_touched_if_not_exist = self.pbt.path_inside_test_folder("touched_if_not_exist")
self.pbt.batch_accum.clear()
self.pbt.batch_accum += If("2 == 1+1", if_true=Touch(file_touched_if_exist), if_false=Touch(file_that_should_not_exist))
self.pbt.batch_accum += If("2 == 1+3", if_true=Touch(file_that_should_not_exist), if_false=Touch(file_touched_if_not_exist))
self.pbt.exec_and_capture_output()
self.assertTrue(file_touched_if_exist.exists(), f"{self.pbt.which_test}: {file_touched_if_exist} should have been created")
self.assertFalse(file_that_should_not_exist.exists(), f"{self.pbt.which_test}: {file_that_should_not_exist} should not have been created")
self.assertTrue(file_touched_if_not_exist.exists(), f"{self.pbt.which_test}: {file_touched_if_not_exist} should have been created")
def test_If_from_index(self):
self.pbt.batch_accum.clear()
self.pbt.reprs_test_runner(If(r"$(JEX_HOST_TYPE)" != "venue", if_true=ShellCommand(r'"$(WAVES_SOUNDGRID_UTILITIES_DIR)\WavesSoundGridDriverSetup.exe" /VERYSILENT /NORESTART /SUPPRESSMSGBOXES', message="Installing SoundGrid Driver", ignore_specific_exit_codes=(8,))))
obj_recreated = eval(r"""If(r"$(JEX_HOST_TYPE)" != "venue", if_true=ShellCommand(r'"$(WAVES_SOUNDGRID_UTILITIES_DIR)\WavesSoundGridDriverSetup.exe" /VERYSILENT /NORESTART /SUPPRESSMSGBOXES', message="Installing SoundGrid Driver", ignore_specific_exit_codes=(8,)))""")
print(repr(obj_recreated))
def test_IsFile_repr(self):
pass
def test_IsFile(self):
pass
def test_IsDir_repr(self):
pass
def test_IsDir(self):
pass
def test_IsSymlink_repr(self):
pass
def test_IsSymlink(self):
pass
def test_IsConfigVarEq_repr(self):
list_of_objs = list()
list_of_remarks = list()
for var in ['WZLIB_EXTENSION','NON_EXISTING_VAR']:
for expected in ['.wzip','Momo']:
for default in ["ben 1", "ben 2", None]:
list_of_objs.append(IsConfigVarEq(var, expected, default))
list_of_remarks.append(", ".join(("IsConfigVarEq", var, expected, str(default))))
list_of_objs.append(IsConfigVarNotEq(var, expected, default))
list_of_remarks.append(", ".join(("IsConfigVarNotEq", var, expected, str(default))))
self.pbt.reprs_test_runner(*list_of_objs, remark_list=list_of_remarks)
def test_IsConfigVarEq(self):
file_that_should_not_exist = self.pbt.path_inside_test_folder("should_not_exist")
file_touched_if_var_eq = self.pbt.path_inside_test_folder("touched_if_var_eq")
file_touched_if_not_var_eq = self.pbt.path_inside_test_folder("touched_if_not_var_eq")
file_that_should_not_exist_w_default = self.pbt.path_inside_test_folder("should_not_exist_w_default")
file_touched_if_var_eq_w_default = self.pbt.path_inside_test_folder("touched_if_var_eq_w_default")
file_touched_if_not_var_eq_w_default = self.pbt.path_inside_test_folder("touched_if_not_var_eq_w_default")
self.pbt.batch_accum.clear()
self.pbt.batch_accum += ConfigVarAssign("BOO", "MOO")
self.pbt.batch_accum += If(IsConfigVarEq("BOO", "MOO"), if_true=Touch(file_touched_if_var_eq), if_false=Touch(file_that_should_not_exist))
self.pbt.batch_accum += If(IsConfigVarEq("BOO", "YOOOO"), if_true=Touch(file_that_should_not_exist), if_false=Touch(file_touched_if_not_var_eq))
self.pbt.batch_accum += If(IsConfigVarEq("POO", "MOO", "MOO"), if_true=Touch(file_touched_if_var_eq_w_default), if_false=Touch(file_that_should_not_exist_w_default))
self.pbt.batch_accum += If(IsConfigVarEq("POO", "MOO", "YOOOO"), if_true=Touch(file_that_should_not_exist_w_default), if_false=Touch(file_touched_if_not_var_eq_w_default))
self.pbt.exec_and_capture_output()
self.assertTrue(file_touched_if_var_eq.exists(), f"{self.pbt.which_test}: {file_touched_if_var_eq} should have been created")
self.assertFalse(file_that_should_not_exist.exists(), f"{self.pbt.which_test}: {file_that_should_not_exist} should not have been created")
self.assertTrue(file_touched_if_not_var_eq.exists(), f"{self.pbt.which_test}: {file_touched_if_not_var_eq} should have been created")
self.assertTrue(file_touched_if_var_eq_w_default.exists(), f"{self.pbt.which_test}: {file_touched_if_var_eq_w_default} should have been created")
self.assertFalse(file_that_should_not_exist_w_default.exists(), f"{self.pbt.which_test}: {file_that_should_not_exist_w_default} should not have been created")
self.assertTrue(file_touched_if_not_var_eq_w_default.exists(), f"{self.pbt.which_test}: {file_touched_if_not_var_eq_w_default} should have been created")
| 64.2625 | 275 | 0.754522 | 1,572 | 10,282 | 4.459924 | 0.089695 | 0.072885 | 0.115818 | 0.089716 | 0.888461 | 0.864641 | 0.84938 | 0.83155 | 0.76109 | 0.683212 | 0 | 0.003826 | 0.135674 | 10,282 | 159 | 276 | 64.666667 | 0.785079 | 0.002237 | 0 | 0.411765 | 0 | 0.008403 | 0.268597 | 0.154431 | 0 | 0 | 0 | 0 | 0.176471 | 1 | 0.142857 | false | 0.05042 | 0.033613 | 0 | 0.184874 | 0.008403 | 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 |
0142e3c7de30c71edf961e1c4b3bc8633b8052cf | 2,977 | py | Python | gala/dynamics/setup_package.py | akeemlh/gala | 0fdaf9159bccc59af2a3525f2926e04501754f48 | [
"MIT"
] | 86 | 2016-05-19T21:58:43.000Z | 2022-03-22T14:56:37.000Z | gala/dynamics/setup_package.py | akeemlh/gala | 0fdaf9159bccc59af2a3525f2926e04501754f48 | [
"MIT"
] | 170 | 2016-06-27T14:10:26.000Z | 2022-03-10T22:52:39.000Z | gala/dynamics/setup_package.py | nstarman/gala | 5415c817a7cc5e1a5086217332466ffc7af16ab3 | [
"MIT"
] | 66 | 2016-09-13T07:31:29.000Z | 2022-03-08T15:08:45.000Z | from distutils.core import Extension
from collections import defaultdict
def get_extensions():
import numpy as np
exts = []
# malloc
mac_incl_path = "/usr/include/malloc"
cfg = defaultdict(list)
cfg['include_dirs'].append(np.get_include())
cfg['include_dirs'].append(mac_incl_path)
cfg['include_dirs'].append('gala/integrate/cyintegrators')
cfg['include_dirs'].append('gala/potential')
cfg['extra_compile_args'].append('--std=gnu99')
cfg['sources'].append('gala/potential/potential/src/cpotential.c')
cfg['sources'].append('gala/potential/hamiltonian/src/chamiltonian.c')
cfg['sources'].append('gala/integrate/cyintegrators/dopri/dop853.c')
cfg['sources'].append('gala/dynamics/lyapunov/dop853_lyapunov.pyx')
exts.append(Extension('gala.dynamics.lyapunov.dop853_lyapunov', **cfg))
cfg = defaultdict(list)
cfg['include_dirs'].append(np.get_include())
cfg['include_dirs'].append(mac_incl_path)
cfg['include_dirs'].append('gala/potential')
cfg['sources'].append('gala/dynamics/mockstream/_coord.pyx')
cfg['extra_compile_args'].append('--std=gnu99')
exts.append(Extension('gala.dynamics.mockstream._coord', **cfg))
cfg = defaultdict(list)
cfg['include_dirs'].append(np.get_include())
cfg['include_dirs'].append(mac_incl_path)
cfg['include_dirs'].append('gala/potential')
cfg['sources'].append('gala/dynamics/mockstream/df.pyx')
cfg['sources'].append('gala/potential/potential/src/cpotential.c')
cfg['extra_compile_args'].append('--std=gnu99')
exts.append(Extension('gala.dynamics.mockstream.df', **cfg))
cfg = defaultdict(list)
cfg['include_dirs'].append(np.get_include())
cfg['include_dirs'].append('gala/integrate/cyintegrators')
cfg['include_dirs'].append(mac_incl_path)
cfg['include_dirs'].append('gala/potential')
cfg['include_dirs'].append('gala/dynamics/nbody')
cfg['sources'].append('gala/potential/potential/src/cpotential.c')
cfg['sources'].append('gala/potential/hamiltonian/src/chamiltonian.c')
cfg['sources'].append('gala/dynamics/mockstream/mockstream.pyx')
cfg['sources'].append('gala/integrate/cyintegrators/dopri/dop853.c')
cfg['extra_compile_args'].append('--std=gnu99')
exts.append(Extension('gala.dynamics.mockstream._mockstream', **cfg))
cfg = defaultdict(list)
cfg['include_dirs'].append(np.get_include())
cfg['include_dirs'].append('gala/integrate/cyintegrators')
cfg['include_dirs'].append(mac_incl_path)
cfg['include_dirs'].append('gala/potential')
cfg['sources'].append('gala/potential/potential/src/cpotential.c')
cfg['sources'].append('gala/potential/hamiltonian/src/chamiltonian.c')
cfg['sources'].append('gala/integrate/cyintegrators/dopri/dop853.c')
cfg['sources'].append('gala/dynamics/nbody/nbody.pyx')
cfg['extra_compile_args'].append('--std=gnu99')
exts.append(Extension('gala.dynamics.nbody.nbody', **cfg))
return exts
| 43.779412 | 75 | 0.713806 | 376 | 2,977 | 5.513298 | 0.130319 | 0.115774 | 0.128316 | 0.183309 | 0.896286 | 0.847082 | 0.838398 | 0.816208 | 0.816208 | 0.816208 | 0 | 0.009388 | 0.105475 | 2,977 | 67 | 76 | 44.432836 | 0.769057 | 0.002015 | 0 | 0.678571 | 0 | 0 | 0.48198 | 0.284608 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017857 | false | 0 | 0.053571 | 0 | 0.089286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
01544cfdf8a0bbeec7b708bc4a7720ac777bd786 | 129 | py | Python | RSAbs/__init__.py | radwinskis/RSAbs | ff56949f402dc13095e4cb0561e5eb32f4664601 | [
"MIT"
] | 1 | 2022-01-19T00:41:40.000Z | 2022-01-19T00:41:40.000Z | RSAbs/__init__.py | radwinskis/RSAbs | ff56949f402dc13095e4cb0561e5eb32f4664601 | [
"MIT"
] | 1 | 2022-01-21T20:06:30.000Z | 2022-01-22T14:19:17.000Z | RSAbs/__init__.py | radwinskis/RSAbs | ff56949f402dc13095e4cb0561e5eb32f4664601 | [
"MIT"
] | null | null | null | from .absorptions import *
from .seek_absorptions import *
from .seek_absorptions_depth import *
from .absorptions_depth import * | 32.25 | 37 | 0.821705 | 16 | 129 | 6.375 | 0.3125 | 0.294118 | 0.411765 | 0.490196 | 0.598039 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 129 | 4 | 38 | 32.25 | 0.894737 | 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 |
01600f86996f88af11c9571f0e985e6b6ee35bc5 | 2,686 | py | Python | gpMgmt/bin/gppylib/operations/test/unit/test_unit_gpmigrator_util.py | HaozhouWang/gpdb | e68e3da3aa018e1d07a2d3be7e29052839db020f | [
"PostgreSQL",
"Apache-2.0"
] | null | null | null | gpMgmt/bin/gppylib/operations/test/unit/test_unit_gpmigrator_util.py | HaozhouWang/gpdb | e68e3da3aa018e1d07a2d3be7e29052839db020f | [
"PostgreSQL",
"Apache-2.0"
] | null | null | null | gpMgmt/bin/gppylib/operations/test/unit/test_unit_gpmigrator_util.py | HaozhouWang/gpdb | e68e3da3aa018e1d07a2d3be7e29052839db020f | [
"PostgreSQL",
"Apache-2.0"
] | 1 | 2018-12-04T09:13:57.000Z | 2018-12-04T09:13:57.000Z | #!/usr/bin/env python
#
# Copyright (c) Pivotal Inc 2014. All Rights Reserved.
#
import os
import unittest2 as unittest
from gppylib.gpversion import GpVersion
from gppylib.operations.gpMigratorUtil import is_supported_version
from mock import patch, MagicMock, Mock
class IsSupportedVersionTestCase(unittest.TestCase):
def test_is_supported_version_major_version_upgrade(self):
v = GpVersion('4.3.0.0')
self.assertTrue(is_supported_version(v))
def test_is_supported_minor_version_upgrade(self):
v = GpVersion('4.3.8.0')
self.assertTrue(is_supported_version(v))
def test_is_supported_dev_build_version_upgrade(self):
v = GpVersion('4.3 build dev')
self.assertTrue(is_supported_version(v))
def test_is_supported_version_hotfix_upgrade(self):
v = GpVersion('4.3.7.3EC7')
self.assertTrue(is_supported_version(v))
def test_is_supported_version_major_version_unsupported_upgrade(self):
v = GpVersion('4.0.0.0')
with self.assertRaisesRegexp(Exception, "Greenplum Version '4.0.0.0 build dev' is not supported for upgrade"):
is_supported_version(v)
def test_is_supported_version_awesome_build_upgrade(self):
v = GpVersion('4.3.3.4__AWESOME_BUILD__')
self.assertTrue(is_supported_version(v))
def test_is_supported_version_space_in_build_upgrade(self):
v = GpVersion('4.3.3.4 EC7')
self.assertTrue(is_supported_version(v))
def test_is_supported_version_major_version_downgrade(self):
v = GpVersion('4.3.0.0')
self.assertTrue(is_supported_version(v, False))
def test_is_supported_minor_version_downgrade(self):
v = GpVersion('4.3.8.0')
self.assertTrue(is_supported_version(v, False))
def test_is_supported_dev_build_version_downgrade(self):
v = GpVersion('4.3 build dev')
self.assertTrue(is_supported_version(v, False))
def test_is_supported_version_hotfix_downgrade(self):
v = GpVersion('4.3.7.3EC7')
self.assertTrue(is_supported_version(v, False))
def test_is_supported_version_major_version_unsupported_downgrade(self):
v = GpVersion('4.0.0.0')
with self.assertRaisesRegexp(Exception, "Greenplum Version '4.0.0.0 build dev' is not supported for downgrade"):
is_supported_version(v, False)
def test_is_supported_version_awesome_build_downgrade(self):
v = GpVersion('4.3.3.4__AWESOME_BUILD__')
self.assertTrue(is_supported_version(v, False))
def test_is_supported_version_space_in_build_downgrade(self):
v = GpVersion('4.3.3.4 EC7')
self.assertTrue(is_supported_version(v))
| 37.830986 | 120 | 0.723753 | 377 | 2,686 | 4.827586 | 0.161804 | 0.175275 | 0.247253 | 0.138462 | 0.847253 | 0.838462 | 0.817582 | 0.739011 | 0.712637 | 0.65989 | 0 | 0.031236 | 0.177587 | 2,686 | 70 | 121 | 38.371429 | 0.792666 | 0.027178 | 0 | 0.52 | 0 | 0 | 0.112006 | 0.018412 | 0 | 0 | 0 | 0 | 0.28 | 1 | 0.28 | false | 0 | 0.1 | 0 | 0.4 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0193a66a9c23fb9b2031ca31ba723cabaa89ec1f | 6,547 | py | Python | gtfs/tests/snapshots/snap_test_stops_api.py | montel-ig/maritime-maas | 68a3fe30d47745aba40ebf911d599346c070dfa4 | [
"MIT"
] | null | null | null | gtfs/tests/snapshots/snap_test_stops_api.py | montel-ig/maritime-maas | 68a3fe30d47745aba40ebf911d599346c070dfa4 | [
"MIT"
] | 34 | 2021-03-05T15:07:17.000Z | 2022-02-23T19:05:39.000Z | gtfs/tests/snapshots/snap_test_stops_api.py | montel-ig/maritime-maas | 68a3fe30d47745aba40ebf911d599346c070dfa4 | [
"MIT"
] | 1 | 2022-02-24T13:57:52.000Z | 2022-02-24T13:57:52.000Z | # -*- coding: utf-8 -*-
# snapshottest: v1 - https://goo.gl/zC4yUc
from __future__ import unicode_literals
from snapshottest import Snapshot
snapshots = Snapshot()
snapshots["test_stops 1"] = [
{
"description": "desc of test stop ",
"id": "00000000-0000-0000-0000-000000000001",
"name": "stop ",
"tts_name": "tts_name of stop ",
"wheelchair_boarding": 0,
},
{
"description": "desc of test stop ",
"id": "00000000-0000-0000-0000-000000000002",
"name": "stop ",
"tts_name": "tts_name of stop ",
"wheelchair_boarding": 0,
},
]
snapshots["test_stops_departures[filters2] 1"] = [
{
"arrival_time": "2021-02-18T13:00:00Z",
"bikes_allowed": 0,
"block_id": "block_id of test trip 1",
"departure_headsign": "headsign of test trip ",
"departure_time": "2021-02-18T13:00:00Z",
"direction_id": 0,
"id": "00000000-0000-0000-0000-000000000003",
"route_id": "00000000-0000-0000-0000-000000000000",
"short_name": "short_name of test trip ",
"stop_headsign": "stop_headsign of test stop time ",
"stop_sequence": 1,
"stops_after_this": 1,
"timepoint": 1,
"wheelchair_accessible": 0,
},
{
"arrival_time": "2021-02-19T01:00:00Z",
"bikes_allowed": 0,
"block_id": "block_id of test trip 2",
"departure_headsign": "headsign of test trip ",
"departure_time": "2021-02-19T01:00:00Z",
"direction_id": 1,
"id": "00000000-0000-0000-0000-000000000004",
"route_id": "00000000-0000-0000-0000-000000000000",
"short_name": "short_name of test trip ",
"stop_headsign": "stop_headsign of test stop time ",
"stop_sequence": 2,
"stops_after_this": 0,
"timepoint": 1,
"wheelchair_accessible": 0,
},
]
snapshots["test_stops_departures[filters3] 1"] = [
{
"arrival_time": "2021-02-19T13:00:00Z",
"bikes_allowed": 0,
"block_id": "block_id of test trip 1",
"departure_headsign": "headsign of test trip ",
"departure_time": "2021-02-19T13:00:00Z",
"direction_id": 0,
"id": "00000000-0000-0000-0000-000000000005",
"route_id": "00000000-0000-0000-0000-000000000000",
"short_name": "short_name of test trip ",
"stop_headsign": "stop_headsign of test stop time ",
"stop_sequence": 1,
"stops_after_this": 1,
"timepoint": 1,
"wheelchair_accessible": 0,
}
]
snapshots["test_stops_departures[filters4] 1"] = [
{
"arrival_time": "2021-02-18T13:00:00Z",
"bikes_allowed": 0,
"block_id": "block_id of test trip 1",
"departure_headsign": "headsign of test trip ",
"departure_time": "2021-02-18T13:00:00Z",
"direction_id": 0,
"id": "00000000-0000-0000-0000-000000000003",
"route_id": "00000000-0000-0000-0000-000000000000",
"short_name": "short_name of test trip ",
"stop_headsign": "stop_headsign of test stop time ",
"stop_sequence": 1,
"stops_after_this": 1,
"timepoint": 1,
"wheelchair_accessible": 0,
}
]
snapshots["test_stops_departures[filters5] 1"] = [
{
"arrival_time": "2021-02-19T01:00:00Z",
"bikes_allowed": 0,
"block_id": "block_id of test trip 2",
"departure_headsign": "headsign of test trip ",
"departure_time": "2021-02-19T01:00:00Z",
"direction_id": 1,
"id": "00000000-0000-0000-0000-000000000004",
"route_id": "00000000-0000-0000-0000-000000000000",
"short_name": "short_name of test trip ",
"stop_headsign": "stop_headsign of test stop time ",
"stop_sequence": 2,
"stops_after_this": 0,
"timepoint": 1,
"wheelchair_accessible": 0,
}
]
snapshots["test_stops_departures[filters6] 1"] = []
snapshots["test_stops_departures[filters7] 1"] = [
{
"arrival_time": "2021-02-18T13:00:00Z",
"bikes_allowed": 0,
"block_id": "block_id of test trip 1",
"departure_headsign": "headsign of test trip ",
"departure_time": "2021-02-18T13:00:00Z",
"direction_id": 0,
"id": "00000000-0000-0000-0000-000000000003",
"route_id": "00000000-0000-0000-0000-000000000000",
"short_name": "short_name of test trip ",
"stop_headsign": "stop_headsign of test stop time ",
"stop_sequence": 1,
"stops_after_this": 1,
"timepoint": 1,
"wheelchair_accessible": 0,
},
{
"arrival_time": "2021-02-19T01:00:00Z",
"bikes_allowed": 0,
"block_id": "block_id of test trip 2",
"departure_headsign": "headsign of test trip ",
"departure_time": "2021-02-19T01:00:00Z",
"direction_id": 1,
"id": "00000000-0000-0000-0000-000000000004",
"route_id": "00000000-0000-0000-0000-000000000000",
"short_name": "short_name of test trip ",
"stop_headsign": "stop_headsign of test stop time ",
"stop_sequence": 2,
"stops_after_this": 0,
"timepoint": 1,
"wheelchair_accessible": 0,
},
]
snapshots["test_stops_departures__stop_appears_multiple_times_in_trip 1"] = [
{
"arrival_time": "2021-02-18T07:00:00Z",
"bikes_allowed": 0,
"block_id": "block_id of test trip 1",
"departure_headsign": "headsign of test trip ",
"departure_time": "2021-02-18T08:00:00Z",
"direction_id": 0,
"id": "00000000-0000-0000-0000-000000000004",
"route_id": "00000000-0000-0000-0000-000000000000",
"short_name": "short_name of test trip ",
"stop_headsign": "stop_headsign of test stop time ",
"stop_sequence": 2,
"stops_after_this": None,
"timepoint": 1,
"wheelchair_accessible": 0,
},
{
"arrival_time": "2021-02-18T09:00:00Z",
"bikes_allowed": 0,
"block_id": "block_id of test trip 1",
"departure_headsign": "headsign of test trip ",
"departure_time": "2021-02-18T10:00:00Z",
"direction_id": 0,
"id": "00000000-0000-0000-0000-000000000004",
"route_id": "00000000-0000-0000-0000-000000000000",
"short_name": "short_name of test trip ",
"stop_headsign": "stop_headsign of test stop time ",
"stop_sequence": 4,
"stops_after_this": None,
"timepoint": 1,
"wheelchair_accessible": 0,
},
]
| 34.640212 | 77 | 0.590194 | 781 | 6,547 | 4.720871 | 0.099872 | 0.086791 | 0.07323 | 0.09764 | 0.918362 | 0.903445 | 0.89802 | 0.89802 | 0.89802 | 0.870627 | 0 | 0.200909 | 0.261036 | 6,547 | 188 | 78 | 34.824468 | 0.561182 | 0.00947 | 0 | 0.715909 | 0 | 0 | 0.609071 | 0.177877 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.011364 | 0 | 0.011364 | 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 |
6dc6132f88e4f2d8cce557632edc940bafbe519b | 10,079 | py | Python | tests/resource.py | irqed/slumber | 3fa0221ab35520b147532d2afb9190bc82cdc170 | [
"BSD-2-Clause"
] | null | null | null | tests/resource.py | irqed/slumber | 3fa0221ab35520b147532d2afb9190bc82cdc170 | [
"BSD-2-Clause"
] | null | null | null | tests/resource.py | irqed/slumber | 3fa0221ab35520b147532d2afb9190bc82cdc170 | [
"BSD-2-Clause"
] | null | null | null | import mock
import unittest
import requests
import slumber
import slumber.serialize
class ResourceTestCase(unittest.TestCase):
def setUp(self):
self.base_resource = slumber.Resource(base_url="http://example/api/v1/test", format="json", append_slash=False)
def test_get_200_json(self):
r = mock.Mock(spec=requests.Response)
r.status_code = 200
r.headers = {"content-type": "application/json"}
r.content = '{"result": ["a", "b", "c"]}'
self.base_resource._store.update({
"session": mock.Mock(spec=requests.Session),
"serializer": slumber.serialize.Serializer(),
})
self.base_resource._store["session"].request.return_value = r
resp = self.base_resource._request("GET")
self.assertTrue(resp is r)
self.assertEqual(resp.content, r.content)
self.base_resource._store["session"].request.assert_called_once_with(
"GET",
"http://example/api/v1/test",
data=None,
files=None,
params=None,
headers={"content-type": self.base_resource._store["serializer"].get_content_type(), "accept": self.base_resource._store["serializer"].get_content_type()}
)
resp = self.base_resource.get()
self.assertEqual(resp['result'], ['a', 'b', 'c'])
def test_get_200_text(self):
r = mock.Mock(spec=requests.Response)
r.status_code = 200
r.headers = {"content-type": "text/plain"}
r.content = "Mocked Content"
self.base_resource._store.update({
"session": mock.Mock(spec=requests.Session),
"serializer": slumber.serialize.Serializer(),
})
self.base_resource._store["session"].request.return_value = r
resp = self.base_resource._request("GET")
self.assertTrue(resp is r)
self.assertEqual(resp.content, "Mocked Content")
self.base_resource._store["session"].request.assert_called_once_with(
"GET",
"http://example/api/v1/test",
data=None,
files=None,
params=None,
headers={"content-type": self.base_resource._store["serializer"].get_content_type(), "accept": self.base_resource._store["serializer"].get_content_type()}
)
resp = self.base_resource.get()
self.assertEqual(resp, r.content)
def test_post_201_redirect(self):
r1 = mock.Mock(spec=requests.Response)
r1.status_code = 201
r1.headers = {"location": "http://example/api/v1/test/1"}
r1.content = ''
r2 = mock.Mock(spec=requests.Response)
r2.status_code = 200
r2.headers = {"content-type": "application/json"}
r2.content = '{"result": ["a", "b", "c"]}'
self.base_resource._store.update({
"session": mock.Mock(spec=requests.Session),
"serializer": slumber.serialize.Serializer(),
})
self.base_resource._store["session"].request.side_effect = (r1, r2)
resp = self.base_resource._request("POST")
self.assertTrue(resp is r1)
self.assertEqual(resp.content, r1.content)
self.base_resource._store["session"].request.assert_called_once_with(
"POST",
"http://example/api/v1/test",
data=None,
files=None,
params=None,
headers={"content-type": self.base_resource._store["serializer"].get_content_type(), "accept": self.base_resource._store["serializer"].get_content_type()}
)
resp = self.base_resource.post(data={'foo': 'bar'})
self.assertEqual(resp['result'], ['a', 'b', 'c'])
def test_post_decodable_response(self):
r = mock.Mock(spec=requests.Response)
r.status_code = 200
r.content = '{"result": ["a", "b", "c"]}'
r.headers = {"content-type": "application/json"}
self.base_resource._store.update({
"session": mock.Mock(spec=requests.Session),
"serializer": slumber.serialize.Serializer(),
})
self.base_resource._store["session"].request.return_value = r
resp = self.base_resource._request("POST")
self.assertTrue(resp is r)
self.assertEqual(resp.content, r.content)
self.base_resource._store["session"].request.assert_called_once_with(
"POST",
"http://example/api/v1/test",
data=None,
files=None,
params=None,
headers={"content-type": self.base_resource._store["serializer"].get_content_type(), "accept": self.base_resource._store["serializer"].get_content_type()}
)
resp = self.base_resource.post(data={'foo': 'bar'})
self.assertEqual(resp['result'], ['a', 'b', 'c'])
def test_patch_201_redirect(self):
r1 = mock.Mock(spec=requests.Response)
r1.status_code = 201
r1.headers = {"location": "http://example/api/v1/test/1"}
r1.content = ''
r2 = mock.Mock(spec=requests.Response)
r2.status_code = 200
r2.headers = {"content-type": "application/json"}
r2.content = '{"result": ["a", "b", "c"]}'
self.base_resource._store.update({
"session": mock.Mock(spec=requests.Session),
"serializer": slumber.serialize.Serializer(),
})
self.base_resource._store["session"].request.side_effect = (r1, r2)
resp = self.base_resource._request("PATCH")
self.assertTrue(resp is r1)
self.assertEqual(resp.content, r1.content)
self.base_resource._store["session"].request.assert_called_once_with(
"PATCH",
"http://example/api/v1/test",
data=None,
files=None,
params=None,
headers={"content-type": self.base_resource._store["serializer"].get_content_type(), "accept": self.base_resource._store["serializer"].get_content_type()}
)
resp = self.base_resource.patch(data={'foo': 'bar'})
self.assertEqual(resp['result'], ['a', 'b', 'c'])
def test_patch_decodable_response(self):
r = mock.Mock(spec=requests.Response)
r.status_code = 200
r.content = '{"result": ["a", "b", "c"]}'
r.headers = {"content-type": "application/json"}
self.base_resource._store.update({
"session": mock.Mock(spec=requests.Session),
"serializer": slumber.serialize.Serializer(),
})
self.base_resource._store["session"].request.return_value = r
resp = self.base_resource._request("PATCH")
self.assertTrue(resp is r)
self.assertEqual(resp.content, r.content)
self.base_resource._store["session"].request.assert_called_once_with(
"PATCH",
"http://example/api/v1/test",
data=None,
files=None,
params=None,
headers={"content-type": self.base_resource._store["serializer"].get_content_type(), "accept": self.base_resource._store["serializer"].get_content_type()}
)
resp = self.base_resource.patch(data={'foo': 'bar'})
self.assertEqual(resp['result'], ['a', 'b', 'c'])
def test_put_201_redirect(self):
r1 = mock.Mock(spec=requests.Response)
r1.status_code = 201
r1.headers = {"location": "http://example/api/v1/test/1"}
r1.content = ''
r2 = mock.Mock(spec=requests.Response)
r2.status_code = 200
r2.headers = {"content-type": "application/json"}
r2.content = '{"result": ["a", "b", "c"]}'
self.base_resource._store.update({
"session": mock.Mock(spec=requests.Session),
"serializer": slumber.serialize.Serializer(),
})
self.base_resource._store["session"].request.side_effect = (r1, r2)
resp = self.base_resource._request("PUT")
self.assertTrue(resp is r1)
self.assertEqual(resp.content, r1.content)
self.base_resource._store["session"].request.assert_called_once_with(
"PUT",
"http://example/api/v1/test",
data=None,
files=None,
params=None,
headers={"content-type": self.base_resource._store["serializer"].get_content_type(), "accept": self.base_resource._store["serializer"].get_content_type()}
)
resp = self.base_resource.put(data={'foo': 'bar'})
self.assertEqual(resp['result'], ['a', 'b', 'c'])
def test_put_decodable_response(self):
r = mock.Mock(spec=requests.Response)
r.status_code = 200
r.content = '{"result": ["a", "b", "c"]}'
r.headers = {"content-type": "application/json"}
self.base_resource._store.update({
"session": mock.Mock(spec=requests.Session),
"serializer": slumber.serialize.Serializer(),
})
self.base_resource._store["session"].request.return_value = r
resp = self.base_resource._request("PUT")
self.assertTrue(resp is r)
self.assertEqual(resp.content, r.content)
self.base_resource._store["session"].request.assert_called_once_with(
"PUT",
"http://example/api/v1/test",
data=None,
files=None,
params=None,
headers={"content-type": self.base_resource._store["serializer"].get_content_type(), "accept": self.base_resource._store["serializer"].get_content_type()}
)
resp = self.base_resource.put(data={'foo': 'bar'})
self.assertEqual(resp['result'], ['a', 'b', 'c'])
def test_handle_serialization(self):
self.base_resource._store.update({
"serializer": slumber.serialize.Serializer(),
})
resp = mock.Mock(spec=requests.Response)
resp.headers = {"content-type": "application/json; charset=utf-8"}
resp.content = '{"foo": "bar"}'
r = self.base_resource._try_to_serialize_response(resp)
if not isinstance(r, dict):
self.fail("Serialization did not take place")
| 36.919414 | 166 | 0.600258 | 1,153 | 10,079 | 5.060711 | 0.079792 | 0.080891 | 0.161782 | 0.147558 | 0.924593 | 0.906084 | 0.903342 | 0.898886 | 0.898886 | 0.896144 | 0 | 0.013132 | 0.244469 | 10,079 | 272 | 167 | 37.055147 | 0.753119 | 0 | 0 | 0.836449 | 0 | 0 | 0.157853 | 0 | 0 | 0 | 0 | 0 | 0.149533 | 1 | 0.046729 | false | 0 | 0.023364 | 0 | 0.074766 | 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 |
09da7a7f7b05c66965425f509c1536a666a8d9a7 | 5,537 | py | Python | test/conftest.py | ExiaSR/server | f29ce921681d8b70f9e2541f7e251deb894bea29 | [
"Apache-2.0"
] | 3 | 2017-02-22T21:15:27.000Z | 2017-08-07T17:30:21.000Z | test/conftest.py | ExiaSR/server | f29ce921681d8b70f9e2541f7e251deb894bea29 | [
"Apache-2.0"
] | 4 | 2017-02-24T00:47:02.000Z | 2017-03-20T08:51:02.000Z | test/conftest.py | TeamGhostBuster/restful-api | f29ce921681d8b70f9e2541f7e251deb894bea29 | [
"Apache-2.0"
] | 1 | 2017-01-27T16:22:46.000Z | 2017-01-27T16:22:46.000Z | import json
import os
from functools import wraps
import requests
headers = {'Access-Token': 'michaellam.lzc',
'Provider-Name': 'Google',
'Content-Type': 'application/json'}
base_url = os.getenv('API_URL', 'http://127.0.0.1:5000')
# Global variable that store the ID of document for the sake of time
global global_id
global_id = dict()
def get(url):
"""
Decorator method to send HTTP GET request
:param url: The url path
:return: The response
"""
def wrapper(f):
@wraps(f)
def wrapped(*args, **kwargs):
result = requests.get(base_url + url, headers=headers)
# return f(result, **kwargs)
return f(result, **kwargs)
return wrapped
return wrapper
def post(url, data=None):
"""
Decorator method to send HTTP POST request
:param url: The url path
:param data: Json body
:return: The response
"""
def wrapper(f):
@wraps(f)
def wrapped(*args, **kwargs):
if len(f.__defaults__) == 2:
sep_url = url.split('{}')
if len(sep_url) > 1:
url_ids = [global_id[i] for i in f.__defaults__[1]]
result = requests.post(base_url + url.format(*url_ids),
headers=headers,
json=data)
else:
json_ids = [global_id[i] for i in f.__defaults__[1]]
result = requests.post(base_url + url,
headers=headers,
json=json.loads(data.format(*json_ids)))
elif len(f.__defaults__) == 3:
url_ids = [global_id[i] for i in f.__defaults__[1]]
json_ids = [global_id[i] for i in f.__defaults__[2]]
result = requests.post(base_url + url.format(*url_ids),
headers=headers,
json=json.loads(data.format(*json_ids))[0])
else:
result = requests.post(base_url + url,
headers=headers,
json=data)
return f(result, **kwargs)
return wrapped
return wrapper
def delete(url, data=None):
"""
Decorator method to send HTTP DELETE request
:param url: The url path
:param data: The JSON body
:return: The response
"""
def wrapper(f):
@wraps(f)
def wrapped(*args, **kwargs):
if len(f.__defaults__) == 2:
sep_url = url.split('{}')
if len(sep_url) > 1:
url_ids = [global_id[i] for i in f.__defaults__[1]]
result = requests.delete(base_url + url.format(*url_ids),
headers=headers,
json=data)
else:
json_ids = [global_id[i] for i in f.__defaults__[1]]
result = requests.delete(base_url + url,
headers=headers,
json=json.loads(data.format(*json_ids))[0])
elif len(f.__defaults__) == 3:
url_ids = [global_id[i] for i in f.__defaults__[1]]
json_ids = [global_id[i] for i in f.__defaults__[2]]
result = requests.delete(base_url + url.format(*url_ids),
headers=headers,
json=json.loads(data.format(*json_ids))[0])
else:
result = requests.delete(base_url + url,
headers=headers,
json=data)
return f(result, **kwargs)
return wrapped
return wrapper
def put(url, data=None):
"""
Decorator method to send HTTP PUT request
:param url: The url path
:param data: The JSON body
:return: The response
"""
def wrapper(f):
@wraps(f)
def wrapped(*args, **kwargs):
if len(f.__defaults__) == 2:
sep_url = url.split('{}')
if len(sep_url) > 1:
url_ids = [global_id[i] for i in f.__defaults__[1]]
result = requests.put(base_url + url.format(*url_ids),
headers=headers,
json=data)
else:
json_ids = [global_id[i] for i in f.__defaults__[1]]
result = requests.put(base_url + url,
headers=headers,
json=json.loads(data.format(*json_ids))[0])
elif len(f.__defaults__) == 3:
url_ids = [global_id[i] for i in f.__defaults__[1]]
json_ids = [global_id[i] for i in f.__defaults__[2]]
result = requests.put(base_url + url.format(*url_ids),
headers=headers,
json=json.loads(data.format(*json_ids)))
else:
result = requests.put(base_url + url,
headers=headers,
json=data)
return f(result, **kwargs)
return wrapped
return wrapper
| 35.722581 | 88 | 0.461983 | 592 | 5,537 | 4.099662 | 0.128378 | 0.066749 | 0.053564 | 0.059333 | 0.87433 | 0.846312 | 0.836012 | 0.836012 | 0.777503 | 0.746601 | 0 | 0.011261 | 0.438685 | 5,537 | 154 | 89 | 35.954545 | 0.769627 | 0.0959 | 0 | 0.857143 | 0 | 0 | 0.021837 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.114286 | false | 0 | 0.038095 | 0 | 0.266667 | 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 |
61e1d9cc89159a425255b0f9e4729ed7aa17ecac | 1,176 | py | Python | terrascript/github/r.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/github/r.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/github/r.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | # terrascript/github/r.py
import terrascript
class github_branch_protection(terrascript.Resource):
pass
class github_issue_label(terrascript.Resource):
pass
class github_membership(terrascript.Resource):
pass
class github_organization_block(terrascript.Resource):
pass
class github_organization_project(terrascript.Resource):
pass
class github_organization_webhook(terrascript.Resource):
pass
class github_project_column(terrascript.Resource):
pass
class github_repository_collaborator(terrascript.Resource):
pass
class github_repository_deploy_key(terrascript.Resource):
pass
class github_repository_project(terrascript.Resource):
pass
class github_repository_webhook(terrascript.Resource):
pass
class github_repository(terrascript.Resource):
pass
class github_team_membership(terrascript.Resource):
pass
class github_team_repository(terrascript.Resource):
pass
class github_team(terrascript.Resource):
pass
class github_user_gpg_key(terrascript.Resource):
pass
class github_user_invitation_accepter(terrascript.Resource):
pass
class github_user_ssh_key(terrascript.Resource):
pass
| 19.932203 | 60 | 0.806973 | 133 | 1,176 | 6.857143 | 0.210526 | 0.217105 | 0.453947 | 0.52193 | 0.824561 | 0.75 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0.128401 | 1,176 | 58 | 61 | 20.275862 | 0.889756 | 0.019558 | 0 | 0.486486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.486486 | 0.027027 | 0 | 0.513514 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 8 |
1112526026212ad30dcc55898777787c84247687 | 3,875 | py | Python | CeleryTasks/tests/_test_celery.py | monotone/Ulord-platform | 8ec19bbb8845db8f22df925d33b118b22dab0d0b | [
"MIT"
] | 28 | 2018-04-27T08:02:18.000Z | 2020-01-14T05:08:34.000Z | CeleryTasks/tests/_test_celery.py | monotone/Ulord-platform | 8ec19bbb8845db8f22df925d33b118b22dab0d0b | [
"MIT"
] | 2 | 2018-05-16T08:29:20.000Z | 2018-06-17T04:51:08.000Z | CeleryTasks/tests/_test_celery.py | monotone/Ulord-platform | 8ec19bbb8845db8f22df925d33b118b22dab0d0b | [
"MIT"
] | 4 | 2018-05-14T11:43:31.000Z | 2018-09-29T09:58:58.000Z | # -*- coding: utf-8 -*-
# @Date : 18-5-24 上午2:03
# @Author : hetao
# @Email : 18570367466@163.com
# Copyright (c) 2016-2018 The Ulord Core Developers
import time
from utasks.wallet_tasks import publish, update_claim
def profiler(func):
def do_profile(*args, **kw_args):
n = func.func_name
t0 = time.time()
o = func(*args, **kw_args)
t = time.time() - t0
print "[profiler] %s %f" % (n, t)
return o
# return lambda *args, **kw_args: do_profile(func, args, kw_args)
return do_profile
def print_result(*args):
print('callback print: ---------')
print(args)
print('-------------------------')
def get_publish_params():
"""
:return: {u'fee': u'0.000359', u'success': True, u'tx': u'01000000026cd6a90cd9e7d486aa9e52261bf74969181ac7a691a398df243bfccb24daee7d000000006a47304402205c07adc5ab1f5ae4830f8c2a71355e10fa647bd598ba55ce95f2cb326c8d3f8e02205f524450cb52d35dd91cac39e2ff8cce66444bd9e21087c367a49ee234b715e0012102521dcd489d7740aac35616320091cad6656b127a86a7a84fbe7622557ad14be6ffffffff6cd6a90cd9e7d486aa9e52261bf74969181ac7a691a398df243bfccb24daee7d010000006b483045022100f1061ea1eef46c97c2e9d3d511523ddb1753687283848bc578d4301a90bc6d37022002dd3868ad8e5931000b7d9c8f6b109385dbc25e2c0c5dfb3b26442929acdf49012102521dcd489d7740aac35616320091cad6656b127a86a7a84fbe7622557ad14be6ffffffff023fc0650300000000fd3a01b70968657431616f31313114e190209f6b4e6d5d3ea17c191d75d7a5e01f97504cfd080110011af601080112bc01080410011a0d57686174206973204c4252593f223057686174206973204c4252593f20416e20696e74726f64756374696f6e207769746820416c6578205461626172726f6b2a0c53616d75656c20427279616e32084c42525920496e6338004224080110011a19824fe527d791ec681899527ab5902de65c247e84792da6ac4c259a99993f4a2f68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f66696c65732e6c6272792e696f2f6c6f676f2e706e6752005a0060021a33080110011a2212206c10c5cece33226e2cc5c56d999fd7874494a1bebf47be0416a09bf53b8954262209766964656f2f6d70346d6d76a9144fe527d791ec681899527ab5902de65c247e847988ac5871263f170000001976a9144fe527d791ec681899527ab5902de65c247e847988ac00000000', u'txid': u'325dbf4ed36ccc50f84118e322b1452aeb0f385d71f5accbd326ecd4df3df121', u'amount': u'0.56999999', u'claim_id': u'50971fe0a5d7751d197ca13e5d6d4e6b9f2090e1', u'nout': 0}
"""
metadata = {
"license": "LBRY Inc",
"description": "update test",
"language": "en",
"title": "What is LBRY?",
"author": "Samuel Bryan",
"version": "_0_1_0",
"nsfw": False,
"licenseUrl": "",
"preview": "",
"thumbnail": "https://s3.amazonaws.com/files.lbry.io/logo.png",
"tag": ["action", "sss"]
}
# sourceHash = "d5169241150022f996fa7cd6a9a1c421937276a3275eb912790bd07ba7aec1fac5fd45431d226b8fb402691e79aeb24b"
sourceHash = "QmVcVaHhMeWNNetSLTZArmqaHMpu5ycqntx7mFZaci63VF"
contentType = "video/mp4"
currency = "UT"
amount = 1.56
bid = 0.59
address = None
tx_fee = None
args = (metadata, contentType, sourceHash, currency, amount, bid, address, tx_fee)
return args
if __name__ == '__main__':
user = 'test_201805281100'
password = '123'
# password = 'pbkdf2:sha256:50000$oEw0SZX0$f8d9951addfa90213e63bb4553cacc7e3cc8e78d9d59f5e707da1fc09dd4d675'
claim_name = 'test_201801588'
claim_id = 'bcd560324378b3705c1ffe37fadfb11643181c77'
txid = 'eef94b23bfc2f5c05133450e53028efc6de7533c178d7aa3e82f6fc32f56cd81'
publish_args = get_publish_params()
# # 异步调用
res=publish.delay(user, password, claim_name, *publish_args, skip_update_check=True, callback=print_result) # 2.68
# 等待结果返回
print(res.get())
# 同步调用
publish(user, password, claim_name, *publish_args, skip_update_check=True, callback=print_result)
# update_claim(user, password, claim_name, claim_id, txid, 0, *publish_args, callback=print_result) | 49.050633 | 1,566 | 0.770839 | 274 | 3,875 | 10.722628 | 0.489051 | 0.008169 | 0.013615 | 0.021443 | 0.047651 | 0.047651 | 0.047651 | 0.047651 | 0.047651 | 0.047651 | 0 | 0.384134 | 0.13471 | 3,875 | 79 | 1,567 | 49.050633 | 0.492097 | 0.141677 | 0 | 0 | 0 | 0 | 0.261973 | 0.100981 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0.0625 | 0.041667 | null | null | 0.166667 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
1141f2ddd62b3993000e8a820db71b9c6fe0a52c | 18,511 | py | Python | ProgettoLube/WebInspector/DBmanager.py | Lube-Project/ProgettoLube | cbf33971e2c2e865783ec1a2302625539186a338 | [
"MIT"
] | null | null | null | ProgettoLube/WebInspector/DBmanager.py | Lube-Project/ProgettoLube | cbf33971e2c2e865783ec1a2302625539186a338 | [
"MIT"
] | null | null | null | ProgettoLube/WebInspector/DBmanager.py | Lube-Project/ProgettoLube | cbf33971e2c2e865783ec1a2302625539186a338 | [
"MIT"
] | null | null | null | # TODO: RICORDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA che il nome in input ai metodi va controllato lato frontend dandogli al medesimo la tabella excel
# TODO:FARE menu a tendina dove mostri tutti i nomi dei siti, così non bisogna controllare la validità del nome
# TODO: RICORDAAA DI CONTROLLARE IL RANGE DELLA VALUTAZIONE LATO FRONTEND: !=0 AND <4
import pymongo
import datetime
class DBmanager:
client = None
db = None
collection = None
collection_keyword = None
collection_facebook = None
collection_instagram = None
def start_connection(self):
self.client = pymongo.MongoClient(
"mongodb+srv://molciprom:molciprom@clusterlube.auwyr.mongodb.net/lube_reports?retryWrites=true&w=majority")
self.db = self.client["lube_reports"]
self.collection = self.db["web_reports"]
self.collection_facebook = self.db["facebook_reports"]
self.collection_instagram = self.db["instagram_reports"]
def insert(self, report):
# print(report.toJSON())
# x = self.collection.insert_one(report.toJSON())
date = datetime.datetime.now()
report['date'] = date
x = self.collection.insert_one(report)
def find_all(self):
lista = []
for x in self.collection.find():
lista.append(x)
return lista
def find_one(self, id):
lista = []
for z in self.collection.aggregate([
{
"$project": {
"_id": 0,
"id": "$_id",
"date": 1,
"report_foto": 1,
"report_pagine": 1,
"sito": 1,
"valutazione_foto": 1,
"valutazione_script": 1,
"valutazione_keywords": 1
}
},
{"$match": {"id": id}},
]):
lista.append(z)
return lista
# return last document
def retrieve_last(self):
sup = []
lista = []
# date = []
# for x in self.collection.find({}).sort([("date", -1)]).limit(1):
# sup.append(x)
# date = x['date']
# # for x in self.collection.find({"date": date}, {"_id": 0, "date": 1, "report": 1, "name": 1, "valutazione": 1}):
# # lista.append(x)
for z in self.collection.aggregate([
{'$sort': {
'date': 1
}},
{'$group': {
"_id": "$sito",
'id': {'$last': '$_id'},
"sito": {'$last': '$sito'},
'date': {'$last': '$date'},
"report_foto": {'$last': '$report_foto'},
"report_pagine": {'$last': '$report_pagine'},
"valutazione_foto": {'$last': '$valutazione_foto'},
"valutazione_script": {'$last': '$valutazione_script'},
"valutazione_keywords": {'$last': '$valutazione_keywords'}
}}
]):
lista.append(z)
return lista
######################### DETTAGLI SITO ###########################################
# return year(x) documents
def retrieve_yearly_historic_of_store(self, name, year, range):
# TODO: fare report medio su 365 usando il campo valutazione o se si riesce anche gli altri campi e tornare anche tutti i relativi report
lista = self.retrieve_year_average_name(year, name, range)
for z in self.collection.aggregate([
{
"$project": {
"_id": 0,
"id": "$_id",
"year": {"$year": "$date"},
"report": 1,
"name": 1,
"valutazione": 1
}
},
{"$match": {"name": name,
"year": year,
"valutazione": {"$gte": range[0], "$lte": range[1]}}},
]):
lista.append(z)
return lista
# return month(x) of the year(x) documents
def retrieve_monthly_historic_of_store(self, name, month, year, range):
# TODO: fare report medio su numero report usando il campo valutazione o se si riesce anche gli altri campi e tornare anche tutti i relativi report
lista = self.retrieve_month_year_average_name(year, month, name, range)
for z in self.collection.aggregate([
{
"$project": {
"_id": 0,
"id": "$_id",
"year": {"$year": "$date"},
"month": {"$month": "$date"},
"report": 1,
"name": 1,
"valutazione": 1
}
},
{"$match": {"name": name,
"year": year,
"month": month,
"valutazione": {"$gte": range[0], "$lte": range[1]}}},
]):
lista.append(z)
return lista
# return day-month-year(x) documents
def retrieve_daily_historic_of_store(self, name, year, month, day):
# TODO: stuff
lista = self.retrieve_day_month_year_name(year, month, day, name)
for z in self.collection.aggregate([
{
"$project": {
"_id": 0,
"id": "$_id",
"year": {"$year": "$date"},
"month": {"$month": "$date"},
"day": {"$dayOfMonth": "$date"},
"report": 1,
"name": 1,
"valutazione": 1
}
},
{"$match": {"name": name,
"year": year,
"month": month,
"day": day, }}
]):
lista.append(z)
return lista
################################## HOME #################################################
# return year(x) average reports
def retrieve_year_average(self, year, range):
# TODO: ritornare tutti i report medi dell'anno x ogni sito
# Attualmente: Nel db ho inserito tutte macchine, la media è sul
# l'anno all'interno dell'oggetto obj
lista = []
for z in self.collection.aggregate([
{
"$project": {
"year": {"$year": "$date"},
"name": 1,
"average": "$valutazione",
}
},
{"$match": {"year": year}},
{
"$group": {
"id": {"$first": "$name"},
"_id": "$name",
"valutazione": {"$avg": "$average"},
"year": {"$first": year},
}
}, {"$addFields": {
"valutazione": {"$trunc": ["$valutazione", 2]},
}},
{"$match": {"valutazione": {"$gte": range[0], "$lte": range[1]}}}
]):
lista.append(z)
return lista
# return month(x) of the year(x) average reports
def retrieve_month_year_average(self, year, month, range):
# TODO: ritornare tutti i report medi del mese x dell'anno x per ogni sito
# Ci sono due match perchè se il controllo del range sarebbe stato nel primo, nel calcolo della media avrebbe escluso i campi fuori dal range
# In questo modo, invece, escludo la valutazione media
lista = []
for z in self.collection.aggregate([
{
"$project": {
"year": {"$year": "$date"},
"month": {"$month": "$date"},
"name": 1,
"average": "$valutazione",
}
},
{"$match": {"year": year, "month": month}},
{
"$group": {
"id": {"$first": "$name"},
"_id": "$name",
"valutazione": {"$avg": "$average"},
"year": {"$first": year},
"month": {"$first": month}
}
}, {"$addFields": {
"valutazione": {"$trunc": ["$valutazione", 2]},
}},
{"$match": {"valutazione": {"$gte": range[0], "$lte": range[1]}}}
]):
lista.append(z)
return lista
# return day(x) of month(x) of the year(x) average reports
def retrieve_day_month_year(self, year, month, day, range):
# TODO: ritornare tutti i report del giorno x del mese x dell'anno x per ogni sito
lista = []
for z in self.collection.aggregate([
{
"$project": {
"year": {"$year": "$date"},
"month": {"$month": "$date"},
"day": {"$dayOfMonth": "$date"},
"name": 1,
# "valutazione": {"$cond": {"if": { "$and": [{"$ne": [range[0], 0]}, {"$ne": [range[1], 0]}, {"$lt": [range[0], 4]},{"$lt": [range[1], 4]}]},"then": {"$cond": {"if": {"$and": [{"$gte": ["$valutazione", range[0]]} {"$lte": ["$valutazione", range[1]]}]},"then": "$valutazione", "else": None}}, "else": None}},
"valutazione": "$valutazione",
"report": 1
}
},
{"$match": {"year": year, "month": month, "day": day, "valutazione": {"$gte": range[0], "$lte": range[1]}}},
{
"$group": {
"id": {"$first": "$name"},
"_id": "$name",
"valutazione": {"$first": "$valutazione"},
"year": {"$first": year},
"month": {"$first": month},
"day": {"$first": day},
"report": {"$first": "$report"}
}
}
]):
lista.append(z)
return lista
# return year(x) average reports
def retrieve_year_average_name(self, year, name, range):
# TODO: ritornare tutti i report medi dell'anno x ogni sito
# Attualmente: Nel db ho inserito tutte macchine, la media è sull'anno all'interno dell'oggetto obj
lista = []
for z in self.collection.aggregate([
{
"$project": {
"year": {"$year": "$date"},
"name": 1,
"average": "$valutazione",
}
},
{"$match": {"year": year, "name": name}},
{
"$group": {
"id": {"$first": "$name"},
"_id": "$name",
"valutazione": {"$avg": "$average"},
"year": {"$first": year},
}
}, {"$addFields": {
"valutazione": {"$trunc": ["$valutazione", 2]},
}},
{"$match": {"valutazione": {"$gte": range[0], "$lte": range[1]}}}
]):
lista.append(z)
return lista
# return month(x) of the year(x) average reports
def retrieve_month_year_average_name(self, year, month, name, range):
# TODO: ritornare tutti i report medi del mese x dell'anno x per ogni sito
# Ci sono due match perchè se il controllo del range sarebbe stato nel primo, nel calcolo della media avrebbe escluso i campi fuori dal range
# In questo modo, invece, escludo la valutazione media
lista = []
for z in self.collection.aggregate([
{
"$project": {
"year": {"$year": "$date"},
"month": {"$month": "$date"},
"name": 1,
"average": "$valutazione",
}
},
{"$match": {"year": year, "month": month, "name": name}},
{
"$group": {
"id": {"$first": "$name"},
"_id": "$name",
"valutazione": {"$avg": "$average"},
"year": {"$first": year},
"month": {"$first": month}
}
}, {"$addFields": {
"valutazione": {"$trunc": ["$valutazione", 2]},
}},
{"$match": {"valutazione": {"$gte": range[0], "$lte": range[1]}}}
]):
lista.append(z)
return lista
# return day(x) of month(x) of the year(x) average reports
def retrieve_day_month_year_name(self, year, month, day, name):
# TODO: ritornare tutti i report del giorno x del mese x dell'anno x per ogni sito
lista = []
for z in self.collection.aggregate([
{
"$project": {
"year": {"$year": "$date"},
"month": {"$month": "$date"},
"day": {"$dayOfMonth": "$date"},
"name": 1,
# "valutazione": {"$cond": {"if": { "$and": [{"$ne": [range[0], 0]}, {"$ne": [range[1], 0]}, {"$lt": [range[0], 4]},{"$lt": [range[1], 4]}]},"then": {"$cond": {"if": {"$and": [{"$gte": ["$valutazione", range[0]]} {"$lte": ["$valutazione", range[1]]}]},"then": "$valutazione", "else": None}}, "else": None}},
"valutazione": "$valutazione",
"report": 1
}
},
{"$match": {"year": year, "month": month, "day": day,
"name": name}},
{
"$group": {
"id": {"$first": "$name"},
"_id": "$name",
"valutazione": {"$first": "$valutazione"},
"year": {"$first": year},
"month": {"$first": month},
"day": {"$first": day},
"report": {"$first": "$report"}
}
}
]):
lista.append(z)
return lista
##################################################### FACEBOOK ######################################################
def insert_facebook_report(self, report):
# print(report.toJSON())
# x = self.collection.insert_one(report.toJSON())
date = datetime.datetime.now()
report['date'] = date
x = self.collection_facebook.insert_one(report)
def find_one_facebook(self, id):
lista = []
for z in self.collection_facebook.aggregate([
{
"$project": {
"_id": 0,
"id": "$_id",
"date": 1,
"report_foto": 1,
"dictionary_parolechiave_nel_post": 1,
"social": 1,
"nome": 1,
"quantita_post_neltempo":1,
"valutazione_foto": 1,
"valutazione_keywords": 1
}
},
{"$match": {"id": id}},
]):
lista.append(z)
return lista
# return last document
def retrieve_last_facebook(self):
sup = []
lista = []
date = []
# for x in self.collection_facebook.find({}).sort([("date", -1)]).limit(1):
# sup.append(x)
# date = x['date']
# for x in self.collection.find({"date": date}, {"_id": 0, "date": 1, "report": 1, "name": 1, "valutazione": 1}):
# lista.append(x)
for z in self.collection_facebook.aggregate([
{'$sort': {
'date': 1
}},
{'$group': {
"_id": "$nome",
'id': {'$last': '$_id'},
"nome": {'$last': '$nome'},
'date': {'$last': '$date'},
"social": {'$last': '$social'},
"report_foto": {'$last': '$report_foto'},
"dictionary_parolechiave_nel_post": {'$last': '$dictionary_parolechiave_nel_post'},
"quantita_post_neltempo": {'$last': '$quantita_post_neltempo'},
"valutazione_foto": {'$last': '$valutazione_foto'},
"valutazione_keywords": {'$last': '$valutazione_keywords'}
}}
]):
lista.append(z)
return lista
##################################################### INSTAGRAM ######################################################
def insert_instagram_report(self, report):
# print(report.toJSON())
# x = self.collection.insert_one(report.toJSON())
date = datetime.datetime.now()
report['date'] = date
x = self.collection_instagram.insert_one(report)
def find_one_instagram(self, id):
lista = []
for z in self.collection_instagram.aggregate([
{
"$project": {
"_id": 0,
"id": "$_id",
"nome":1,
"date": 1,
"report_foto": 1,
"dictionary_parolechiave_nel_post": 1,
"quantita_post_neltempo": 1,
"valutazione_foto": 1,
"social": 1,
"valutazione_keywords": 1
}
},
{"$match": {"id": id}},
]):
lista.append(z)
return lista
# return last document
def retrieve_last_instagram(self):
sup = []
lista = []
date = []
# for x in self.collection_instagram.find({}).sort([("date", -1)]).limit(1):
# sup.append(x)
# date = x['date']
# for x in self.collection.find({"date": date}, {"_id": 0, "date": 1, "report": 1, "name": 1, "valutazione": 1}):
# lista.append(x)
for z in self.collection_instagram.aggregate([
{'$sort': {
'date': 1
}},
{'$group': {
"_id": "$nome",
'id': {'$last': '$_id'},
"nome": {'$last': '$nome'},
'date': {'$last': '$date'},
"social": {'$last': '$social'},
"report_foto": {'$last': '$report_foto'},
"dictionary_parolechiave_nel_post": {'$last': '$dictionary_parolechiave_nel_post'},
"quantita_post_neltempo": {'$last': '$quantita_post_neltempo'},
"valutazione_foto": {'$last': '$valutazione_foto'},
"valutazione_keywords": {'$last': '$valutazione_keywords'}
}}
]):
lista.append(z)
return lista | 38.484407 | 331 | 0.428556 | 1,654 | 18,511 | 4.692261 | 0.11971 | 0.055921 | 0.045355 | 0.019327 | 0.840356 | 0.80853 | 0.778379 | 0.761371 | 0.741399 | 0.712666 | 0 | 0.010054 | 0.392848 | 18,511 | 481 | 332 | 38.484407 | 0.680488 | 0.199125 | 0 | 0.719481 | 0 | 0.002597 | 0.206346 | 0.034368 | 0 | 0 | 0 | 0.002079 | 0 | 1 | 0.051948 | false | 0 | 0.005195 | 0 | 0.116883 | 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 |
fed6127df42ecd0d9d18eecbdc321ce612818982 | 14,548 | py | Python | sdk/python/pulumi_mongodbatlas/team.py | pulumi/pulumi-mongodbatlas | 0d5c085dcfd871b56fb4cf582620260b70caa07a | [
"ECL-2.0",
"Apache-2.0"
] | 9 | 2020-04-28T19:12:30.000Z | 2022-03-22T23:04:46.000Z | sdk/python/pulumi_mongodbatlas/team.py | pulumi/pulumi-mongodbatlas | 0d5c085dcfd871b56fb4cf582620260b70caa07a | [
"ECL-2.0",
"Apache-2.0"
] | 59 | 2020-06-12T12:12:52.000Z | 2022-03-28T18:14:50.000Z | sdk/python/pulumi_mongodbatlas/team.py | pulumi/pulumi-mongodbatlas | 0d5c085dcfd871b56fb4cf582620260b70caa07a | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2020-09-25T21:22:08.000Z | 2021-08-30T20:06:18.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__ = ['TeamArgs', 'Team']
@pulumi.input_type
class TeamArgs:
def __init__(__self__, *,
org_id: pulumi.Input[str],
usernames: pulumi.Input[Sequence[pulumi.Input[str]]],
name: Optional[pulumi.Input[str]] = None):
"""
The set of arguments for constructing a Team resource.
:param pulumi.Input[str] org_id: The unique identifier for the organization you want to associate the team with.
:param pulumi.Input[Sequence[pulumi.Input[str]]] usernames: The Atlas usernames (email address). You can only add Atlas users who are part of the organization. Users who have not accepted an invitation to join the organization cannot be added as team members. There is a maximum of 250 Atlas users per team.
:param pulumi.Input[str] name: The name of the team you want to create.
"""
pulumi.set(__self__, "org_id", org_id)
pulumi.set(__self__, "usernames", usernames)
if name is not None:
pulumi.set(__self__, "name", name)
@property
@pulumi.getter(name="orgId")
def org_id(self) -> pulumi.Input[str]:
"""
The unique identifier for the organization you want to associate the team with.
"""
return pulumi.get(self, "org_id")
@org_id.setter
def org_id(self, value: pulumi.Input[str]):
pulumi.set(self, "org_id", value)
@property
@pulumi.getter
def usernames(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
"""
The Atlas usernames (email address). You can only add Atlas users who are part of the organization. Users who have not accepted an invitation to join the organization cannot be added as team members. There is a maximum of 250 Atlas users per team.
"""
return pulumi.get(self, "usernames")
@usernames.setter
def usernames(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
pulumi.set(self, "usernames", value)
@property
@pulumi.getter
def name(self) -> Optional[pulumi.Input[str]]:
"""
The name of the team you want to create.
"""
return pulumi.get(self, "name")
@name.setter
def name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "name", value)
@pulumi.input_type
class _TeamState:
def __init__(__self__, *,
name: Optional[pulumi.Input[str]] = None,
org_id: Optional[pulumi.Input[str]] = None,
team_id: Optional[pulumi.Input[str]] = None,
usernames: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
"""
Input properties used for looking up and filtering Team resources.
:param pulumi.Input[str] name: The name of the team you want to create.
:param pulumi.Input[str] org_id: The unique identifier for the organization you want to associate the team with.
:param pulumi.Input[str] team_id: The unique identifier for the team.
:param pulumi.Input[Sequence[pulumi.Input[str]]] usernames: The Atlas usernames (email address). You can only add Atlas users who are part of the organization. Users who have not accepted an invitation to join the organization cannot be added as team members. There is a maximum of 250 Atlas users per team.
"""
if name is not None:
pulumi.set(__self__, "name", name)
if org_id is not None:
pulumi.set(__self__, "org_id", org_id)
if team_id is not None:
pulumi.set(__self__, "team_id", team_id)
if usernames is not None:
pulumi.set(__self__, "usernames", usernames)
@property
@pulumi.getter
def name(self) -> Optional[pulumi.Input[str]]:
"""
The name of the team you want to create.
"""
return pulumi.get(self, "name")
@name.setter
def name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "name", value)
@property
@pulumi.getter(name="orgId")
def org_id(self) -> Optional[pulumi.Input[str]]:
"""
The unique identifier for the organization you want to associate the team with.
"""
return pulumi.get(self, "org_id")
@org_id.setter
def org_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "org_id", value)
@property
@pulumi.getter(name="teamId")
def team_id(self) -> Optional[pulumi.Input[str]]:
"""
The unique identifier for the team.
"""
return pulumi.get(self, "team_id")
@team_id.setter
def team_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "team_id", value)
@property
@pulumi.getter
def usernames(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
"""
The Atlas usernames (email address). You can only add Atlas users who are part of the organization. Users who have not accepted an invitation to join the organization cannot be added as team members. There is a maximum of 250 Atlas users per team.
"""
return pulumi.get(self, "usernames")
@usernames.setter
def usernames(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
pulumi.set(self, "usernames", value)
class Team(pulumi.CustomResource):
@overload
def __init__(__self__,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
name: Optional[pulumi.Input[str]] = None,
org_id: Optional[pulumi.Input[str]] = None,
usernames: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
__props__=None):
"""
`Teams` provides a Team resource. The resource lets you create, edit and delete Teams. Also, Teams can be assigned to multiple projects, and team members’ access to the project is determined by the team’s project role.
> **IMPORTANT:** MongoDB Atlas Team limits: max 250 teams in an organization and max 100 teams per project.
> **NOTE:** Groups and projects are synonymous terms. You may find group_id in the official documentation.
MongoDB Atlas Team limits: max 250 teams in an organization and max 100 teams per project.
## Example Usage
```python
import pulumi
import pulumi_mongodbatlas as mongodbatlas
test = mongodbatlas.Teams("test",
org_id="<ORGANIZATION-ID>",
usernames=[
"user1@email.com",
"user2@email.com",
"user3@email.com",
])
```
## Import
Teams can be imported using the organization ID and team id, in the format ORGID-TEAMID, e.g.
```sh
$ pulumi import mongodbatlas:index/team:Team my_team 1112222b3bf99403840e8934-1112222b3bf99403840e8935
```
See detailed information for arguments and attributes[MongoDB API Teams](https://docs.atlas.mongodb.com/reference/api/teams-create-one/)
:param str resource_name: The name of the resource.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[str] name: The name of the team you want to create.
:param pulumi.Input[str] org_id: The unique identifier for the organization you want to associate the team with.
:param pulumi.Input[Sequence[pulumi.Input[str]]] usernames: The Atlas usernames (email address). You can only add Atlas users who are part of the organization. Users who have not accepted an invitation to join the organization cannot be added as team members. There is a maximum of 250 Atlas users per team.
"""
...
@overload
def __init__(__self__,
resource_name: str,
args: TeamArgs,
opts: Optional[pulumi.ResourceOptions] = None):
"""
`Teams` provides a Team resource. The resource lets you create, edit and delete Teams. Also, Teams can be assigned to multiple projects, and team members’ access to the project is determined by the team’s project role.
> **IMPORTANT:** MongoDB Atlas Team limits: max 250 teams in an organization and max 100 teams per project.
> **NOTE:** Groups and projects are synonymous terms. You may find group_id in the official documentation.
MongoDB Atlas Team limits: max 250 teams in an organization and max 100 teams per project.
## Example Usage
```python
import pulumi
import pulumi_mongodbatlas as mongodbatlas
test = mongodbatlas.Teams("test",
org_id="<ORGANIZATION-ID>",
usernames=[
"user1@email.com",
"user2@email.com",
"user3@email.com",
])
```
## Import
Teams can be imported using the organization ID and team id, in the format ORGID-TEAMID, e.g.
```sh
$ pulumi import mongodbatlas:index/team:Team my_team 1112222b3bf99403840e8934-1112222b3bf99403840e8935
```
See detailed information for arguments and attributes[MongoDB API Teams](https://docs.atlas.mongodb.com/reference/api/teams-create-one/)
:param str resource_name: The name of the resource.
:param TeamArgs 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(TeamArgs, 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,
name: Optional[pulumi.Input[str]] = None,
org_id: Optional[pulumi.Input[str]] = None,
usernames: 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__ = TeamArgs.__new__(TeamArgs)
__props__.__dict__["name"] = name
if org_id is None and not opts.urn:
raise TypeError("Missing required property 'org_id'")
__props__.__dict__["org_id"] = org_id
if usernames is None and not opts.urn:
raise TypeError("Missing required property 'usernames'")
__props__.__dict__["usernames"] = usernames
__props__.__dict__["team_id"] = None
super(Team, __self__).__init__(
'mongodbatlas:index/team:Team',
resource_name,
__props__,
opts)
@staticmethod
def get(resource_name: str,
id: pulumi.Input[str],
opts: Optional[pulumi.ResourceOptions] = None,
name: Optional[pulumi.Input[str]] = None,
org_id: Optional[pulumi.Input[str]] = None,
team_id: Optional[pulumi.Input[str]] = None,
usernames: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'Team':
"""
Get an existing Team 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] name: The name of the team you want to create.
:param pulumi.Input[str] org_id: The unique identifier for the organization you want to associate the team with.
:param pulumi.Input[str] team_id: The unique identifier for the team.
:param pulumi.Input[Sequence[pulumi.Input[str]]] usernames: The Atlas usernames (email address). You can only add Atlas users who are part of the organization. Users who have not accepted an invitation to join the organization cannot be added as team members. There is a maximum of 250 Atlas users per team.
"""
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
__props__ = _TeamState.__new__(_TeamState)
__props__.__dict__["name"] = name
__props__.__dict__["org_id"] = org_id
__props__.__dict__["team_id"] = team_id
__props__.__dict__["usernames"] = usernames
return Team(resource_name, opts=opts, __props__=__props__)
@property
@pulumi.getter
def name(self) -> pulumi.Output[str]:
"""
The name of the team you want to create.
"""
return pulumi.get(self, "name")
@property
@pulumi.getter(name="orgId")
def org_id(self) -> pulumi.Output[str]:
"""
The unique identifier for the organization you want to associate the team with.
"""
return pulumi.get(self, "org_id")
@property
@pulumi.getter(name="teamId")
def team_id(self) -> pulumi.Output[str]:
"""
The unique identifier for the team.
"""
return pulumi.get(self, "team_id")
@property
@pulumi.getter
def usernames(self) -> pulumi.Output[Sequence[str]]:
"""
The Atlas usernames (email address). You can only add Atlas users who are part of the organization. Users who have not accepted an invitation to join the organization cannot be added as team members. There is a maximum of 250 Atlas users per team.
"""
return pulumi.get(self, "usernames")
| 43.556886 | 315 | 0.642563 | 1,857 | 14,548 | 4.875606 | 0.110393 | 0.075326 | 0.072675 | 0.046167 | 0.819306 | 0.79302 | 0.773802 | 0.749724 | 0.737575 | 0.727745 | 0 | 0.012321 | 0.26361 | 14,548 | 333 | 316 | 43.687688 | 0.83282 | 0.449134 | 0 | 0.570552 | 1 | 0 | 0.07189 | 0.003931 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153374 | false | 0.006135 | 0.030675 | 0 | 0.276074 | 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 |
feec2efa58c2a3cddd6da7793b2a695698b96f37 | 675 | py | Python | sdk/python/pulumi_google_native/apigateway/v1beta/__init__.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 44 | 2021-04-18T23:00:48.000Z | 2022-02-14T17:43:15.000Z | sdk/python/pulumi_google_native/apigateway/v1beta/__init__.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 354 | 2021-04-16T16:48:39.000Z | 2022-03-31T17:16:39.000Z | sdk/python/pulumi_google_native/apigateway/v1beta/__init__.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 8 | 2021-04-24T17:46:51.000Z | 2022-01-05T10:40:21.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
from ... import _utilities
import typing
# Export this package's modules as members:
from ._enums import *
from .api import *
from .api_config_iam_policy import *
from .api_iam_policy import *
from .config import *
from .gateway import *
from .gateway_iam_policy import *
from .get_api import *
from .get_api_config_iam_policy import *
from .get_api_iam_policy import *
from .get_config import *
from .get_gateway import *
from .get_gateway_iam_policy import *
from ._inputs import *
from . import outputs
| 29.347826 | 80 | 0.76 | 105 | 675 | 4.666667 | 0.419048 | 0.285714 | 0.183673 | 0.232653 | 0.334694 | 0.177551 | 0 | 0 | 0 | 0 | 0 | 0.001757 | 0.157037 | 675 | 22 | 81 | 30.681818 | 0.859402 | 0.300741 | 0 | 0 | 1 | 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 | 0 | 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 |
28a56dd8ae8d85fac515eb064c1da91ca7d56d6f | 19,288 | py | Python | medical_seg/networks/self_cross_att_fusion_net.py | 920232796/MedicalSeg | 385ed000c04d828133faeaa9a56ba14488adc8c5 | [
"Apache-2.0"
] | 11 | 2021-08-23T13:06:59.000Z | 2022-03-14T09:05:34.000Z | medical_seg/networks/self_cross_att_fusion_net.py | 920232796/MedicalSeg | 385ed000c04d828133faeaa9a56ba14488adc8c5 | [
"Apache-2.0"
] | null | null | null | medical_seg/networks/self_cross_att_fusion_net.py | 920232796/MedicalSeg | 385ed000c04d828133faeaa9a56ba14488adc8c5 | [
"Apache-2.0"
] | 2 | 2022-01-12T07:58:44.000Z | 2022-03-15T04:48:57.000Z |
from operator import mod
from medical_seg.networks.layers.image_transformer import PoolFormer
from medical_seg.networks.layers.multi_attention import MultiAttentionTransformer
from medical_seg.networks.nets.co_unet import BasicUNet
from medical_seg.networks.nets.basic_unet_encoder import BasicUNetEncoder
import torch.nn as nn
import torch
import torch.nn.functional as F
# from medical_seg.networks.layers.spatial_image_transformer import SpatialTransformerLayer
from medical_seg.networks.layers.fusion_transformer import FusionSelfCrossTrans
from typing import Sequence, Union
from medical_seg.networks.nets.co_unet import UpCat
from medical_seg.networks.layers.cpc import ImageCPC
from einops import rearrange
from medical_seg.networks.nets.basic_pool_former import BasicPoolFormerEncoder
class CNN(nn.Module):
def __init__(self, in_channels, out_channels, kernel_size=3, stride=1, padding=1):
super().__init__()
self.net = nn.Sequential(
nn.Conv3d(in_channels, out_channels, kernel_size, stride, padding),
nn.LeakyReLU(),
nn.BatchNorm3d(num_features=out_channels),
nn.Conv3d(out_channels, out_channels, kernel_size, stride, padding),
nn.LeakyReLU(),
nn.BatchNorm3d(num_features=out_channels),
)
def forward(self, x):
return self.net(x)
class ModalitySelfAttention(nn.Module):
def __init__(self, model_num, hidden_size):
super().__init__()
self.q = nn.Linear(in_features=hidden_size, out_features=hidden_size)
self.k = nn.Linear(in_features=hidden_size, out_features=hidden_size)
self.v = nn.Linear(in_features=hidden_size, out_features=hidden_size)
self.out_conv = CNN(in_channels=model_num*hidden_size, out_channels=hidden_size)
def forward(self, x, model_num):
## x: (batch, modal, feature, d, w, h)
x = rearrange(x, "b m f d w h -> b d w h m f", m=model_num)
q_out = self.q(x)
k_out = self.k(x)
v_out = self.v(x)
attention_score = torch.einsum("b d w h m f, b d w h f n -> b d w h m n", q_out, k_out.transpose(-1, -2))
modality_att_out = torch.einsum("b d w h m n, b d w h n f -> b d w h m f", attention_score, v_out)
modality_att_out = rearrange(modality_att_out, "b d w h m f -> b (m f) d w h")
modality_att_out = self.out_conv(modality_att_out)
return modality_att_out
class MCNNEncoder(nn.Module):
def __init__(self, model_num, fea=[16, 16, 32, 64, 128, 16],
pool_size=[(2, 2, 2), (2, 2, 2), (2, 2, 2), (2, 2, 2)]):
super().__init__()
self.model_num = model_num
self.unets = nn.ModuleList([])
for i in range(model_num):
unet = BasicUNetEncoder(dimensions=3, in_channels=1,
features=fea, pool_size=pool_size)
self.unets.append(unet)
def forward(self, x):
encoder_out = []
x = x.unsqueeze(dim=2)
for i in range(self.model_num):
encoder_out.append(self.unets[i](x[:, i]))
return encoder_out
class PoolFormerEncoders(nn.Module):
def __init__(self, model_num, fea=[16, 16, 32, 64, 128, 16],
pool_size=[(2, 2, 2), (2, 2, 2), (2, 2, 2), (2, 2, 2)]):
super().__init__()
self.model_num = model_num
self.encoders = nn.ModuleList([])
for i in range(model_num):
encoder = BasicPoolFormerEncoder(dimensions=3,
in_channels=1,
pool_size=pool_size,
features=fea)
self.encoders.append(encoder)
def forward(self, x):
encoder_out = []
x = x.unsqueeze(dim=2)
for i in range(self.model_num):
encoder_out.append(self.encoders[i](x[:, i]))
return encoder_out
class PoolFormerUpcat(nn.Module):
def __init__(self, in_channels, out_channels, up_size=(2, 2, 2), num_layers=1):
super().__init__()
self.in_channels = in_channels
self.out_channels = out_channels
self.up_size = up_size
up_ = up_size[0] * up_size[1] * up_size[2]
self.patch_expand = nn.Conv3d(in_channels, in_channels*up_, 1, 1, 0)
self.pool_former = PoolFormer(in_channels+out_channels, out_channels, patch_size=(1, 1, 1), mlp_size=out_channels, num_layers=num_layers)
def forward(self, x, x_cat):
pass
b, c, d, w, h = x.shape
x = self.patch_expand(x)
x = rearrange(x, "b (p1 p2 p3 c) d w h -> b c (d p1) (w p2) (h p3)", c = c, p1=self.up_size[0], p2=self.up_size[1], p3=self.up_size[2])
x = torch.cat([x, x_cat], dim=1)
x = self.pool_former(x)
return x
class SCAFNet(nn.Module):
def __init__(self, model_num, out_channels, image_size,
act: Union[str, tuple] = ("LeakyReLU", {"negative_slope": 0.1, "inplace": True}),
norm = ("GROUP", {"num_groups": 8, "affine": False}),
dropout: Union[float, tuple] = 0.0,
upsample: str = "deconv",
fea = [16, 16, 32, 64, 128, 16],
window_size=(2, 4, 4),
pool_size=[(2, 2, 2), (2, 2, 2), (2, 2, 2), (2, 2, 2)],
patch_size=(1, 1, 1),
self_num_layer=2,
token_mixer_size=32,
encoder="cnn",
corss_attention=True,
modality_gate=True):
super().__init__()
self.out_channels = out_channels
self.model_num = model_num
self.pool_size = pool_size
self.cross_attention = corss_attention
self.modality_gate = modality_gate
pool_size_all = [1, 1, 1]
for p in pool_size:
pool_size_all = [pool_size_all[i] * p[i] for i in range(len(p))]
new_image_size = [image_size[i] // pool_size_all[i] for i in range(3)]
if encoder == "cnn":
print("use cnn encoder")
self.multicnn_encoder = MCNNEncoder(model_num=model_num, fea=fea, pool_size=pool_size)
elif encoder == "poolformer":
print("use poolformer encoder")
self.multicnn_encoder = PoolFormerEncoders(model_num=model_num, fea=fea, pool_size=pool_size)
else :
import os
print("model is error")
os._exit(0)
if self.cross_attention:
print("use cross attention fusion module")
self.cross_fusion_trans = FusionSelfCrossTrans(model_num=model_num,
in_channels=fea[4],
hidden_size=fea[4],
patch_size=patch_size,
img_size=new_image_size,
mlp_size=2*fea[4], self_num_layer=self_num_layer,
window_size=window_size, token_mixer_size=token_mixer_size)
else :
# 不用crss attention
print("no cross attention fusion module")
self.fusion_conv_5 = CNN(model_num*fea[4], fea[4], 3, 1)
if self.modality_gate:
print("use modality gate module")
self.gate_layer = nn.Conv3d(fea[4], 2, 1, 1, 0)
else :
print("no modality gate module")
self.fusion_conv_1 = CNN(model_num*fea[0], fea[0], 3, 1)
self.fusion_conv_2 = CNN(model_num*fea[1], fea[1], 3, 1)
self.fusion_conv_3 = CNN(model_num*fea[2], fea[2], 3, 1)
self.fusion_conv_4 = CNN(model_num*fea[3], fea[3], 3, 1)
# self.upcat_4 = PoolFormerUpcat(fea[4], fea[3], up_size=pool_size[3], num_layers=2)
# self.upcat_3 = PoolFormerUpcat(fea[3], fea[2], up_size=pool_size[2], num_layers=2)
# self.upcat_2 = PoolFormerUpcat(fea[2], fea[1], up_size=pool_size[1], num_layers=2)
# self.upcat_1 = PoolFormerUpcat(fea[1], fea[5], up_size=pool_size[0], num_layers=2)
self.upcat_4 = UpCat(3, fea[4], fea[3], fea[3], act, norm, dropout, upsample, pool_size=pool_size[3])
self.upcat_3 = UpCat(3, fea[3], fea[2], fea[2], act, norm, dropout, upsample, pool_size=pool_size[2])
self.upcat_2 = UpCat(3, fea[2], fea[1], fea[1], act, norm, dropout, upsample, pool_size=pool_size[1])
self.upcat_1 = UpCat(3, fea[1], fea[0], fea[5], act, norm, dropout, upsample, halves=False, pool_size=pool_size[0])
self.final_conv = nn.Conv3d(fea[5], out_channels, 1, 1)
def forward(self, x):
assert x.shape[1] == self.model_num, "输入模态不一致,请检查"
encoder_x = self.multicnn_encoder(x)
encoder_1 = torch.stack([encoder_x[i][4] for i in range(self.model_num)], dim=1)
encoder_2 = torch.stack([encoder_x[i][3] for i in range(self.model_num)], dim=1)
encoder_3 = torch.stack([encoder_x[i][2] for i in range(self.model_num)], dim=1)
encoder_4 = torch.stack([encoder_x[i][1] for i in range(self.model_num)], dim=1)
encoder_5 = torch.stack([encoder_x[i][0] for i in range(self.model_num)], dim=1)
if self.cross_attention:
fusion_out = self.cross_fusion_trans(encoder_5)
encoder_5 = rearrange(encoder_5, "b n c d w h -> b (n c) d w h")
fusion_out_cnn = self.fusion_conv_5(encoder_5)
fusion_out = fusion_out + fusion_out_cnn
else :
# 不用cross attention
encoder_5 = rearrange(encoder_5, "b n c d w h -> b (n c) d w h")
fusion_out = self.fusion_conv_5(encoder_5)
if self.modality_gate:
# 使用modality gate
fusion_out_tmp = self.gate_layer(fusion_out)
fusion_out_2 = torch.sigmoid(torch.nn.functional.interpolate(fusion_out_tmp, scale_factor=self.pool_size[3], mode="trilinear"))
fusion_out_4 = torch.sigmoid(torch.nn.functional.interpolate(fusion_out_2, scale_factor=self.pool_size[2], mode="trilinear"))
fusion_out_8 = torch.sigmoid(torch.nn.functional.interpolate(fusion_out_4, scale_factor=self.pool_size[1], mode="trilinear"))
fusion_out_16 = torch.sigmoid(torch.nn.functional.interpolate(fusion_out_8, scale_factor=self.pool_size[0], mode="trilinear"))
# 筛选
encoder_1 = rearrange(encoder_1 * fusion_out_16.unsqueeze(dim=2), "b n c d w h -> b (n c) d w h")
encoder_2 = rearrange(encoder_2 * fusion_out_8.unsqueeze(dim=2), "b n c d w h -> b (n c) d w h")
encoder_3 = rearrange(encoder_3 * fusion_out_4.unsqueeze(dim=2), "b n c d w h -> b (n c) d w h")
encoder_4 = rearrange(encoder_4 * fusion_out_2.unsqueeze(dim=2), "b n c d w h -> b (n c) d w h")
else :
# 不筛选
encoder_1 = rearrange(encoder_1 , "b n c d w h -> b (n c) d w h")
encoder_2 = rearrange(encoder_2 , "b n c d w h -> b (n c) d w h")
encoder_3 = rearrange(encoder_3 , "b n c d w h -> b (n c) d w h")
encoder_4 = rearrange(encoder_4 , "b n c d w h -> b (n c) d w h")
encoder_1_cnn = self.fusion_conv_1(encoder_1)
encoder_2_cnn = self.fusion_conv_2(encoder_2)
encoder_3_cnn = self.fusion_conv_3(encoder_3)
encoder_4_cnn = self.fusion_conv_4(encoder_4)
u4 = self.upcat_4(fusion_out, encoder_4_cnn)
u3 = self.upcat_3(u4, encoder_3_cnn)
u2 = self.upcat_2(u3, encoder_2_cnn)
u1 = self.upcat_1(u2, encoder_1_cnn)
logits = self.final_conv(u1)
return logits
class SCAFNetNoCross(nn.Module):
def __init__(self, model_num, out_channels, image_size,
act: Union[str, tuple] = ("LeakyReLU", {"negative_slope": 0.1, "inplace": True}),
norm = ("GROUP", {"num_groups": 8, "affine": False}),
dropout: Union[float, tuple] = 0.0,
upsample: str = "deconv",
fea = [16, 16, 32, 64, 128, 16],
window_size=(2, 4, 4),
pool_size=[(2, 2, 2), (2, 2, 2), (2, 2, 2), (2, 2, 2)],
patch_size=(1, 1, 1),
self_num_layer=2,
token_mixer_size=32,
encoder="cnn",
corss_attention=True,
modality_gate=True):
super().__init__()
self.out_channels = out_channels
self.model_num = model_num
self.pool_size = pool_size
self.cross_attention = corss_attention
self.modality_gate = modality_gate
pool_size_all = [1, 1, 1]
for p in pool_size:
pool_size_all = [pool_size_all[i] * p[i] for i in range(len(p))]
new_image_size = [image_size[i] // pool_size_all[i] for i in range(3)]
if encoder == "cnn":
print("use cnn encoder")
self.multicnn_encoder = MCNNEncoder(model_num=model_num, fea=fea, pool_size=pool_size)
elif encoder == "poolformer":
print("use poolformer encoder")
self.multicnn_encoder = PoolFormerEncoders(model_num=model_num, fea=fea, pool_size=pool_size)
else :
import os
print("model is error")
os._exit(0)
if self.cross_attention:
print("use cross attention fusion module")
self.cross_fusion_trans = MultiAttentionTransformer(
in_channels=model_num*fea[4],
out_channels=fea[4],
patch_size=(1,1,1),
img_size=new_image_size,
mlp_size=2*fea[4],
window_size=window_size,
)
# self.cross_fusion_trans = FusionSelfCrossTrans(model_num=model_num,
# in_channels=fea[4],
# hidden_size=fea[4],
# patch_size=patch_size,
# img_size=new_image_size,
# mlp_size=2*fea[4], self_num_layer=self_num_layer,
# window_size=window_size, token_mixer_size=token_mixer_size)
else :
# 不用crss attention
print("no cross attention fusion module")
self.fusion_conv_5 = CNN(model_num*fea[4], fea[4], 3, 1)
if self.modality_gate:
print("use modality gate module")
self.gate_layer = nn.Conv3d(fea[4], 2, 1, 1, 0)
else :
print("no modality gate module")
self.fusion_conv_1 = CNN(model_num*fea[0], fea[0], 3, 1)
self.fusion_conv_2 = CNN(model_num*fea[1], fea[1], 3, 1)
self.fusion_conv_3 = CNN(model_num*fea[2], fea[2], 3, 1)
self.fusion_conv_4 = CNN(model_num*fea[3], fea[3], 3, 1)
# self.upcat_4 = PoolFormerUpcat(fea[4], fea[3], up_size=pool_size[3], num_layers=2)
# self.upcat_3 = PoolFormerUpcat(fea[3], fea[2], up_size=pool_size[2], num_layers=2)
# self.upcat_2 = PoolFormerUpcat(fea[2], fea[1], up_size=pool_size[1], num_layers=2)
# self.upcat_1 = PoolFormerUpcat(fea[1], fea[5], up_size=pool_size[0], num_layers=2)
self.upcat_4 = UpCat(3, fea[4], fea[3], fea[3], act, norm, dropout, upsample, pool_size=pool_size[3])
self.upcat_3 = UpCat(3, fea[3], fea[2], fea[2], act, norm, dropout, upsample, pool_size=pool_size[2])
self.upcat_2 = UpCat(3, fea[2], fea[1], fea[1], act, norm, dropout, upsample, pool_size=pool_size[1])
self.upcat_1 = UpCat(3, fea[1], fea[0], fea[5], act, norm, dropout, upsample, halves=False, pool_size=pool_size[0])
self.final_conv = nn.Conv3d(fea[5], out_channels, 1, 1)
def forward(self, x):
assert x.shape[1] == self.model_num, "输入模态不一致,请检查"
encoder_x = self.multicnn_encoder(x)
encoder_1 = torch.stack([encoder_x[i][4] for i in range(self.model_num)], dim=1)
encoder_2 = torch.stack([encoder_x[i][3] for i in range(self.model_num)], dim=1)
encoder_3 = torch.stack([encoder_x[i][2] for i in range(self.model_num)], dim=1)
encoder_4 = torch.stack([encoder_x[i][1] for i in range(self.model_num)], dim=1)
encoder_5 = torch.stack([encoder_x[i][0] for i in range(self.model_num)], dim=1)
if self.cross_attention:
encoder_5 = rearrange(encoder_5, "b n c d w h -> b (n c) d w h")
fusion_out = self.cross_fusion_trans(encoder_5)
fusion_out_cnn = self.fusion_conv_5(encoder_5)
fusion_out = fusion_out + fusion_out_cnn
else :
# 不用cross attention
encoder_5 = rearrange(encoder_5, "b n c d w h -> b (n c) d w h")
fusion_out = self.fusion_conv_5(encoder_5)
if self.modality_gate:
# 使用modality gate
fusion_out_tmp = self.gate_layer(fusion_out)
fusion_out_2 = torch.sigmoid(torch.nn.functional.interpolate(fusion_out_tmp, scale_factor=self.pool_size[3], mode="trilinear"))
fusion_out_4 = torch.sigmoid(torch.nn.functional.interpolate(fusion_out_2, scale_factor=self.pool_size[2], mode="trilinear"))
fusion_out_8 = torch.sigmoid(torch.nn.functional.interpolate(fusion_out_4, scale_factor=self.pool_size[1], mode="trilinear"))
fusion_out_16 = torch.sigmoid(torch.nn.functional.interpolate(fusion_out_8, scale_factor=self.pool_size[0], mode="trilinear"))
# 筛选
encoder_1 = rearrange(encoder_1 * fusion_out_16.unsqueeze(dim=2), "b n c d w h -> b (n c) d w h")
encoder_2 = rearrange(encoder_2 * fusion_out_8.unsqueeze(dim=2), "b n c d w h -> b (n c) d w h")
encoder_3 = rearrange(encoder_3 * fusion_out_4.unsqueeze(dim=2), "b n c d w h -> b (n c) d w h")
encoder_4 = rearrange(encoder_4 * fusion_out_2.unsqueeze(dim=2), "b n c d w h -> b (n c) d w h")
else :
# 不筛选
encoder_1 = rearrange(encoder_1 , "b n c d w h -> b (n c) d w h")
encoder_2 = rearrange(encoder_2 , "b n c d w h -> b (n c) d w h")
encoder_3 = rearrange(encoder_3 , "b n c d w h -> b (n c) d w h")
encoder_4 = rearrange(encoder_4 , "b n c d w h -> b (n c) d w h")
encoder_1_cnn = self.fusion_conv_1(encoder_1)
encoder_2_cnn = self.fusion_conv_2(encoder_2)
encoder_3_cnn = self.fusion_conv_3(encoder_3)
encoder_4_cnn = self.fusion_conv_4(encoder_4)
u4 = self.upcat_4(fusion_out, encoder_4_cnn)
u3 = self.upcat_3(u4, encoder_3_cnn)
u2 = self.upcat_2(u3, encoder_2_cnn)
u1 = self.upcat_1(u2, encoder_1_cnn)
logits = self.final_conv(u1)
return logits
| 47.861042 | 145 | 0.57445 | 2,808 | 19,288 | 3.700142 | 0.066952 | 0.047738 | 0.015303 | 0.016169 | 0.848797 | 0.825217 | 0.81232 | 0.801155 | 0.782002 | 0.774302 | 0 | 0.039967 | 0.308586 | 19,288 | 402 | 146 | 47.9801 | 0.739127 | 0.074554 | 0 | 0.733333 | 0 | 0.003333 | 0.073288 | 0 | 0 | 0 | 0 | 0 | 0.006667 | 1 | 0.046667 | false | 0.003333 | 0.053333 | 0.003333 | 0.146667 | 0.046667 | 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 |
3a64e5afe8d99d9c2b92fe09d9ddf237e836f16f | 14,679 | py | Python | test_script_amd.py | renxulei/python-redfish-lenovo | 3545f9b10d08bbd8fb29195f5a3b6042a3826fc1 | [
"Apache-2.0"
] | 8 | 2018-08-20T07:00:56.000Z | 2021-05-26T06:17:48.000Z | test_script_amd.py | renxulei/lenovo-redfish-library | 98686ebdfc86bfc76c4223522b07efdb4d8eb3bf | [
"Apache-2.0"
] | null | null | null | test_script_amd.py | renxulei/lenovo-redfish-library | 98686ebdfc86bfc76c4223522b07efdb4d8eb3bf | [
"Apache-2.0"
] | 1 | 2018-11-21T09:31:40.000Z | 2018-11-21T09:31:40.000Z | ###
#
# Lenovo Redfish Test Script for lenovo-redfish-library
#
# Copyright Notice:
#
# Copyright 2020 Lenovo Corporation
#
# 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.
###
import os
import sys
if __name__ == "__main__":
# Change this according to the server you will test.
ip = "10.245.39.153"
user = "renxulei"
password = "PASSW0RD12q"
# Please define this according to your python environment, please ensure the version is 3.x
#py_name = "python3"
py_name = "python"
############# System ################
#####################################
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_all_bios_attributes --type current" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_all_bios_attributes --type pending" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_bios_attribute --attribute_name Q00001_Boot_Mode" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_bios_attribute_metadata" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_bios_attribute_available_value" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_bios_attribute_available_value --attribute_name Q00001_Boot_Mode" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_bios_bootmode" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_system_boot_order" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_system_boot_once" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_system_boot_once --type allow" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_cpu_inventory" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_memory_inventory" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_memory_inventory --id DevType2_DIMM1" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_system_ethernet_interfaces" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_system_storage" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_system_simple_storage" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_storage_inventory" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_system_power_state" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_system_inventory" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_event_log --type system" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
#os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_system_reset_types" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s set_bios_attribute --attribute_name Q00301_Operating_Mode --attribute_value Maximum_Efficiency" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
#bootorder = '"ubuntu" "Hard Disk" "USB Storage" "CD/DVD Rom"'
bootorder = '"Hard Drive" "CD/DVD Drive" "ubuntu" "Windows Boot Manager" "UEFI: PXE IP4 Mellanox Network Adapter"'
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s lenovo_set_system_boot_order --bootorder %s" % (py_name, ip, user, password, bootorder)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s set_bios_bootmode --bootmode UEFI_and_Legacy" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s set_bios_password --password_name Q01000_Administrator_Password --new_password Aa123456 --old_password \"\" " % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s set_bios_password --password_name Q01000_Administrator_Password --new_password \"\" --old_password Aa123456" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s set_bios_default" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s set_system_power_state --reset_type On" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
############# Manager ################
##################### ################
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_bmc_inventory" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_bmc_networkprotocol" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_bmc_serialinterfaces" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_bmc_ethernet_interfaces" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_bmc_hostinterfaces" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_bmc_ntp" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_bmc_virtual_media" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s set_bmc_networkprotocol --service IPMI --enabled 0" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s set_bmc_networkprotocol --service SNMP --enabled 0" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s lenovo_export_ffdc --fsprotocol HTTP --fsip 10.103.62.175 --fsport 8080 --fsdir upload" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s lenovo_mount_virtual_media --image bios.iso --fsprotocol NFS --fsip 10.245.100.159 --fsdir /home/nfs " % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s lenovo_umount_virtual_media --image bios.iso" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s lenovo_bmc_config_backup --backup_password Aa1234567 --httpip 10.103.62.175 --httpport 8080 --httpdir upload" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s lenovo_bmc_config_restore --backup_password Aa1234567 --backup_file bmc-config.bin --httpip 10.103.62.175 --httpport 8080 --httpdir upload" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
#os.system(msg)
print("")
# Wait bmc to restart
#sleep(180)
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s reset_bmc" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
# os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s set_bmc_ntp --ntp_server 10.103.62.178 10.245.100.159 --protocol_enabled 1" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
############# Update ################
#####################################
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_firmware_inventory" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
fsdir = "D:\\Workdata20190427\\work\\Task\\46-Redfish\\FW-Package\\20C\\AMD"
image = "lnvgy_fw_uefi_cfe117k-5.10_anyos_32-64.rom"
#image = "lnvgy_fw_bmc_ambt11n-2.53_anyos_arm.hpm"
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s lenovo_update_firmware --image %s --target UEFI --fsdir %s" % (py_name, ip, user, password, image, fsdir)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
############# Chassis ################
#####################################
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_pci_inventory" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_nic_inventory" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_fan_inventory" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_temperatures_inventory" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_psu_inventory" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_power_redundancy" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_power_voltages" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_power_metrics" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_power_limit" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
############# Account ################
##################### ################
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_bmc_users" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s lenovo_create_bmc_user --username abcd --password PASSW0RD12q --role Administrator" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_bmc_users" % (py_name, ip, "abcd", "PASSW0RD12q")
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s update_bmc_user_password --username abcd --password PASSW0RD=0" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s get_bmc_users" % (py_name, ip, "abcd", "PASSW0RD=0")
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s lenovo_create_bmc_user --username efjh --password PASSW0RD12q --role role1 --privileges RemoteConsoleAccess UserAccountManagement" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s delete_bmc_user --username abcd" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
msg = "%s lenovo_redfish_client.py -i %s -u %s -p %s delete_bmc_user --username efjh" % (py_name, ip, user, password)
print(msg)
sys.stdout.flush()
os.system(msg)
print("")
| 33.437358 | 228 | 0.618911 | 2,236 | 14,679 | 3.88864 | 0.116279 | 0.108568 | 0.072455 | 0.123174 | 0.774008 | 0.768488 | 0.763657 | 0.763657 | 0.763657 | 0.759287 | 0 | 0.017048 | 0.208802 | 14,679 | 438 | 229 | 33.513699 | 0.731617 | 0.069351 | 0 | 0.773292 | 0 | 0.086957 | 0.425606 | 0.18467 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.198758 | 0.006211 | 0 | 0.006211 | 0.391304 | 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 |
c937779952b7bc5d3e9804f39a37aa3bbd4a38f3 | 9,606 | py | Python | tests/test_tl.py | KTH-RPL-Planiacs/SpaTiaL | f4deccb340d2d0947529495d73311846bd67d0f9 | [
"MIT"
] | null | null | null | tests/test_tl.py | KTH-RPL-Planiacs/SpaTiaL | f4deccb340d2d0947529495d73311846bd67d0f9 | [
"MIT"
] | null | null | null | tests/test_tl.py | KTH-RPL-Planiacs/SpaTiaL | f4deccb340d2d0947529495d73311846bd67d0f9 | [
"MIT"
] | null | null | null | import unittest
import numpy as np
from spatial.geometry import PolygonCollection, SpatialInterface, Circle, ObjectInTime
from spatial.logic import Spatial
class RightMovingDummyObject(ObjectInTime):
def __init__(self, x, y):
super().__init__()
self._name = 'blue'
self.start_x = x
self.start_y = y
def getObject(self, time) -> 'SpatialInterface':
return PolygonCollection({Circle(np.array([self.start_x + time, self.start_y]), 1)})
def getObjectByIndex(self, idx: int) -> 'SpatialInterface':
pass
class LeftMovingDummyObject(ObjectInTime):
def __init__(self, x, y):
super().__init__()
self._name = 'red'
self.start_x = x
self.start_y = y
def getObject(self, time) -> 'SpatialInterface':
return PolygonCollection({Circle(np.array([self.start_x - time, self.start_y]), 1)})
def getObjectByIndex(self, idx: int) -> 'SpatialInterface':
pass
class UnmovingObject(ObjectInTime):
def __init__(self, x, y):
super().__init__()
self._name = 'green'
self.start_x = x
self.start_y = y
def getObject(self, time) -> 'SpatialInterface':
return PolygonCollection({Circle(np.array([self.start_x, self.start_y]), 1)})
def getObjectByIndex(self, idx: int) -> 'SpatialInterface':
pass
class TestTL(unittest.TestCase):
def setUp(self):
self.spatial = Spatial(quantitative=True)
self.blue_t = RightMovingDummyObject(0, 0)
self.green_t = UnmovingObject(50, 0)
self.red_t = LeftMovingDummyObject(100, 0)
def test_always(self):
tree = self.spatial.parse('(G(!(blue touch green)))')
self.spatial.assign_variable('blue', self.blue_t)
self.spatial.assign_variable('green', self.green_t)
x = range(0, 100, 1)
y = []
for i in x:
y.append(self.spatial.interpret(tree, 0, i))
for i in range(len(y) - 1):
self.assertGreaterEqual(y[i], y[i + 1]) # the series should be monotone decreasing
self.assertGreater(y[42], 0)
self.assertLess(y[44], 0)
self.assertLess(y[99], 0)
def test_always_bounded(self):
tree = self.spatial.parse('(G[0,20](!(blue touch green)))')
self.spatial.assign_variable('blue', self.blue_t)
self.spatial.assign_variable('green', self.green_t)
x = range(0, 50, 1)
y = []
for i in x:
y.append(self.spatial.interpret(tree, 0, i))
for i in range(len(y) - 1):
self.assertGreaterEqual(y[i], y[i + 1]) # the series should be monotone decreasing
if i > 20:
self.assertEqual(y[i], y[i + 1]) # the always is bounded
self.assertGreater(y[-1], 0) # accepting
def test_eventually(self):
tree = self.spatial.parse('(F(red touch green))')
self.spatial.assign_variable('red', self.red_t)
self.spatial.assign_variable('green', self.green_t)
x = range(0, 100, 1)
y = []
for i in x:
y.append(self.spatial.interpret(tree, 0, i))
for i in range(len(y) - 1):
self.assertLessEqual(y[i], y[i + 1]) # the series should be monotone increasing
self.assertLess(y[42], 0)
self.assertGreater(y[44], 0) # circles are touching at timestep 43 because epsilon is default 5
self.assertGreater(y[-1], 0) # accepting
def test_eventually_bounded(self):
tree = self.spatial.parse('(F[0,20](red touch green))')
self.spatial.assign_variable('red', self.red_t)
self.spatial.assign_variable('green', self.green_t)
x = range(0, 50, 1)
y = []
for i in x:
y.append(self.spatial.interpret(tree, 0, i))
for i in range(len(y) - 1):
self.assertLessEqual(y[i], y[i + 1]) # the series should be monotone increasing
if i > 20:
self.assertEqual(y[i], y[i + 1]) # the eventually is bounded
self.assertLess(y[-1], 0) # accepting
def test_until(self):
tree = self.spatial.parse('((!(red touch green)) U (blue touch green))')
green_t = UnmovingObject(30, 0)
self.spatial.assign_variable('red', self.red_t)
self.spatial.assign_variable('green', green_t)
self.spatial.assign_variable('blue', self.blue_t)
x = range(0, 100, 1)
y = [self.spatial.interpret(tree, 0, i) for i in x]
self.assertGreater(y[-1], 0) # accepting
def test_until_bounded(self):
tree = self.spatial.parse('((!(red touch green)) U[0,20] (blue touch green))')
green_t = UnmovingObject(30, 0)
self.spatial.assign_variable('red', self.red_t)
self.spatial.assign_variable('green', green_t)
self.spatial.assign_variable('blue', self.blue_t)
x = range(0, 100, 1)
y = [self.spatial.interpret(tree, 0, i) for i in x]
for i in range(21, len(y) - 1):
self.assertEqual(y[i], y[i + 1]) # the until is bounded
self.assertGreater(y[-1], 0) # accepting
def test_and(self):
tree = self.spatial.parse('(G(!(blue touch green)))')
self.spatial.assign_variable('blue', self.blue_t)
self.spatial.assign_variable('green', self.green_t)
always_result = self.spatial.interpret(tree, 0, 100)
tree = self.spatial.parse('(F(red touch green))')
self.spatial.assign_variable('red', self.red_t)
self.spatial.assign_variable('green', self.green_t)
eventually_result = self.spatial.interpret(tree, 0, 100)
tree = self.spatial.parse('((G(!(blue touch green))) & (F(red touch green)))')
self.spatial.assign_variable('blue', self.blue_t)
self.spatial.assign_variable('green', self.green_t)
self.spatial.assign_variable('red', self.red_t)
combined_result = self.spatial.interpret(tree, 0, 100)
self.assertIsNotNone(eventually_result)
self.assertIsNotNone(always_result)
self.assertIsNotNone(combined_result)
self.assertEqual(combined_result, min(always_result, eventually_result))
def test_or(self):
tree = self.spatial.parse('(G(!(blue touch green)))')
self.spatial.assign_variable('blue', self.blue_t)
self.spatial.assign_variable('green', self.green_t)
always_result = self.spatial.interpret(tree, 0, 100)
tree = self.spatial.parse('(F(red touch green))')
self.spatial.assign_variable('red', self.red_t)
self.spatial.assign_variable('green', self.green_t)
eventually_result = self.spatial.interpret(tree, 0, 100)
tree = self.spatial.parse('((G(!(blue touch green))) | (F(red touch green)))')
self.spatial.assign_variable('blue', self.blue_t)
self.spatial.assign_variable('green', self.green_t)
self.spatial.assign_variable('red', self.red_t)
combined_result = self.spatial.interpret(tree, 0, 100)
self.assertIsNotNone(eventually_result)
self.assertIsNotNone(always_result)
self.assertIsNotNone(combined_result)
self.assertEqual(combined_result, max(always_result, eventually_result))
def test_not(self):
tree = self.spatial.parse('(G(!(blue touch green)))')
self.spatial.assign_variable('blue', self.blue_t)
self.spatial.assign_variable('green', self.green_t)
always_result = self.spatial.interpret(tree, 0, 100)
tree = self.spatial.parse('(!t(G(!(blue touch green))))')
self.spatial.assign_variable('blue', self.blue_t)
self.spatial.assign_variable('green', self.green_t)
negated_result = self.spatial.interpret(tree, 0, 100)
self.assertIsNotNone(always_result)
self.assertIsNotNone(negated_result)
self.assertEqual(negated_result, -always_result)
def test_implies(self):
tree = self.spatial.parse('(G(!(blue touch green)))')
self.spatial.assign_variable('blue', self.blue_t)
self.spatial.assign_variable('green', self.green_t)
always_result = self.spatial.interpret(tree, 0, 100)
tree = self.spatial.parse('(F(red touch green))')
self.spatial.assign_variable('red', self.red_t)
self.spatial.assign_variable('green', self.green_t)
eventually_result = self.spatial.interpret(tree, 0, 100)
tree = self.spatial.parse('((G(!(blue touch green))) ->t (F(red touch green)))')
self.spatial.assign_variable('blue', self.blue_t)
self.spatial.assign_variable('green', self.green_t)
self.spatial.assign_variable('red', self.red_t)
combined_result = self.spatial.interpret(tree, 0, 100)
self.assertIsNotNone(eventually_result)
self.assertIsNotNone(always_result)
self.assertIsNotNone(combined_result)
self.assertEqual(combined_result, max(-always_result, eventually_result))
def test_next(self):
tree = self.spatial.parse('(blue touch green)')
self.spatial.assign_variable('blue', self.blue_t)
self.spatial.assign_variable('green', self.green_t)
result = self.spatial.interpret(tree, 1, 10)
tree = self.spatial.parse('(X(blue touch green))')
self.spatial.assign_variable('blue', self.blue_t)
self.spatial.assign_variable('green', self.green_t)
next_result = self.spatial.interpret(tree, 0, 10)
self.assertIsNotNone(result)
self.assertIsNotNone(next_result)
self.assertEqual(result, next_result)
if __name__ == '__main__':
unittest.main()
| 36.804598 | 104 | 0.633354 | 1,256 | 9,606 | 4.694268 | 0.08758 | 0.152985 | 0.123982 | 0.182327 | 0.85787 | 0.847693 | 0.818521 | 0.813602 | 0.803596 | 0.772218 | 0 | 0.021256 | 0.231106 | 9,606 | 260 | 105 | 36.946154 | 0.777011 | 0.036123 | 0 | 0.6875 | 0 | 0 | 0.093131 | 0 | 0 | 0 | 0 | 0 | 0.182292 | 1 | 0.109375 | false | 0.015625 | 0.020833 | 0.015625 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a374ddf1156ed93431c38d76535f3897186e2ad5 | 41,284 | py | Python | tensorflow/python/estimator/canned/dnn_test.py | Vaasgeet/tensorflow | 08ed32dbb9e8f67eec9efce3807b5bdb3933eb2f | [
"Apache-2.0"
] | 1 | 2017-06-28T10:56:40.000Z | 2017-06-28T10:56:40.000Z | tensorflow/python/estimator/canned/dnn_test.py | LaiPeter/tensorflow | 08ed32dbb9e8f67eec9efce3807b5bdb3933eb2f | [
"Apache-2.0"
] | null | null | null | tensorflow/python/estimator/canned/dnn_test.py | LaiPeter/tensorflow | 08ed32dbb9e8f67eec9efce3807b5bdb3933eb2f | [
"Apache-2.0"
] | null | null | null | # Copyright 2017 The TensorFlow Authors. All Rights Reserved.
#
# 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.
# ==============================================================================
"""Tests for dnn.py."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import shutil
import tempfile
import numpy as np
import six
from tensorflow.core.example import example_pb2
from tensorflow.core.example import feature_pb2
from tensorflow.core.framework import summary_pb2
from tensorflow.python.estimator.canned import dnn
from tensorflow.python.estimator.canned import dnn_testing_utils
from tensorflow.python.estimator.canned import metric_keys
from tensorflow.python.estimator.canned import prediction_keys
from tensorflow.python.estimator.export import export
from tensorflow.python.estimator.inputs import numpy_io
from tensorflow.python.estimator.inputs import pandas_io
from tensorflow.python.feature_column import feature_column
from tensorflow.python.framework import dtypes
from tensorflow.python.framework import ops
from tensorflow.python.ops import data_flow_ops
from tensorflow.python.ops import parsing_ops
from tensorflow.python.platform import gfile
from tensorflow.python.platform import test
from tensorflow.python.summary import summary as summary_lib
from tensorflow.python.summary.writer import writer_cache
from tensorflow.python.training import checkpoint_utils
from tensorflow.python.training import input as input_lib
from tensorflow.python.training import queue_runner
from tensorflow.python.training import session_run_hook
try:
# pylint: disable=g-import-not-at-top
import pandas as pd
HAS_PANDAS = True
except IOError:
# Pandas writes a temporary file during import. If it fails, don't use pandas.
HAS_PANDAS = False
except ImportError:
HAS_PANDAS = False
class DNNModelFnTest(dnn_testing_utils.BaseDNNModelFnTest, test.TestCase):
def __init__(self, methodName='runTest'): # pylint: disable=invalid-name
test.TestCase.__init__(self, methodName)
dnn_testing_utils.BaseDNNModelFnTest.__init__(self, dnn._dnn_model_fn)
class DNNRegressorEvaluateTest(test.TestCase):
def setUp(self):
self._model_dir = tempfile.mkdtemp()
def tearDown(self):
if self._model_dir:
writer_cache.FileWriterCache.clear()
shutil.rmtree(self._model_dir)
def test_one_dim(self):
"""Asserts evaluation metrics for one-dimensional input and logits."""
# Create checkpoint: num_inputs=1, hidden_units=(2, 2), num_outputs=1.
global_step = 100
dnn_testing_utils.create_checkpoint(
(([[.6, .5]], [.1, -.1]), ([[1., .8], [-.8, -1.]], [.2, -.2]),
([[-1.], [1.]], [.3]),), global_step, self._model_dir)
# Create DNNRegressor and evaluate.
dnn_regressor = dnn.DNNRegressor(
hidden_units=(2, 2),
feature_columns=[feature_column.numeric_column('age')],
model_dir=self._model_dir)
def _input_fn():
return {'age': [[10.]]}, [[1.]]
# Uses identical numbers as DNNModelTest.test_one_dim_logits.
# See that test for calculation of logits.
# logits = [[-2.08]] => predictions = [-2.08].
# loss = (1+2.08)^2 = 9.4864
expected_loss = 9.4864
self.assertAllClose({
metric_keys.MetricKeys.LOSS: expected_loss,
metric_keys.MetricKeys.LOSS_MEAN: expected_loss,
ops.GraphKeys.GLOBAL_STEP: global_step
}, dnn_regressor.evaluate(input_fn=_input_fn, steps=1))
def test_multi_dim(self):
"""Asserts evaluation metrics for multi-dimensional input and logits."""
# Create checkpoint: num_inputs=2, hidden_units=(2, 2), num_outputs=3.
global_step = 100
dnn_testing_utils.create_checkpoint(
(([[.6, .5], [-.6, -.5]], [.1, -.1]), ([[1., .8], [-.8, -1.]],
[.2, -.2]),
([[-1., 1., .5], [-1., 1., .5]], [.3, -.3,
.0]),), global_step, self._model_dir)
label_dimension = 3
# Create DNNRegressor and evaluate.
dnn_regressor = dnn.DNNRegressor(
hidden_units=(2, 2),
feature_columns=[feature_column.numeric_column('age', shape=[2])],
label_dimension=label_dimension,
model_dir=self._model_dir)
def _input_fn():
return {'age': [[10., 8.]]}, [[1., -1., 0.5]]
# Uses identical numbers as
# DNNModelFnTest.test_multi_dim_input_multi_dim_logits.
# See that test for calculation of logits.
# logits = [[-0.48, 0.48, 0.39]]
# loss = (1+0.48)^2 + (-1-0.48)^2 + (0.5-0.39)^2 = 4.3929
expected_loss = 4.3929
self.assertAllClose({
metric_keys.MetricKeys.LOSS: expected_loss,
metric_keys.MetricKeys.LOSS_MEAN: expected_loss / label_dimension,
ops.GraphKeys.GLOBAL_STEP: global_step
}, dnn_regressor.evaluate(input_fn=_input_fn, steps=1))
class DNNClassifierEvaluateTest(test.TestCase):
def setUp(self):
self._model_dir = tempfile.mkdtemp()
def tearDown(self):
if self._model_dir:
writer_cache.FileWriterCache.clear()
shutil.rmtree(self._model_dir)
def test_one_dim(self):
"""Asserts evaluation metrics for one-dimensional input and logits."""
global_step = 100
dnn_testing_utils.create_checkpoint(
(([[.6, .5]], [.1, -.1]), ([[1., .8], [-.8, -1.]], [.2, -.2]),
([[-1.], [1.]], [.3]),), global_step, self._model_dir)
dnn_classifier = dnn.DNNClassifier(
hidden_units=(2, 2),
feature_columns=[feature_column.numeric_column('age')],
model_dir=self._model_dir)
def _input_fn():
# batch_size = 2, one false label, and one true.
return {'age': [[10.], [10.]]}, [[1], [0]]
# Uses identical numbers as DNNModelTest.test_one_dim_logits.
# See that test for calculation of logits.
# logits = [[-2.08], [-2.08]] =>
# logistic = 1/(1 + exp(-logits)) = [[0.11105597], [0.11105597]]
# loss = -1. * log(0.111) -1. * log(0.889) = 2.31544200
expected_loss = 2.31544200
self.assertAllClose({
metric_keys.MetricKeys.LOSS: expected_loss,
metric_keys.MetricKeys.LOSS_MEAN: expected_loss / 2.,
metric_keys.MetricKeys.ACCURACY: 0.5,
metric_keys.MetricKeys.PREDICTION_MEAN: 0.11105597,
metric_keys.MetricKeys.LABEL_MEAN: 0.5,
metric_keys.MetricKeys.ACCURACY_BASELINE: 0.5,
# There is no good way to calculate AUC for only two data points. But
# that is what the algorithm returns.
metric_keys.MetricKeys.AUC: 0.5,
metric_keys.MetricKeys.AUC_PR: 0.75,
ops.GraphKeys.GLOBAL_STEP: global_step
}, dnn_classifier.evaluate(input_fn=_input_fn, steps=1))
def test_multi_dim(self):
"""Asserts evaluation metrics for multi-dimensional input and logits."""
global_step = 100
dnn_testing_utils.create_checkpoint(
(([[.6, .5], [-.6, -.5]], [.1, -.1]), ([[1., .8], [-.8, -1.]],
[.2, -.2]),
([[-1., 1., .5], [-1., 1., .5]], [.3, -.3,
.0]),), global_step, self._model_dir)
n_classes = 3
dnn_classifier = dnn.DNNClassifier(
hidden_units=(2, 2),
feature_columns=[feature_column.numeric_column('age', shape=[2])],
n_classes=n_classes,
model_dir=self._model_dir)
def _input_fn():
# batch_size = 2, one false label, and one true.
return {'age': [[10., 8.], [10., 8.]]}, [[1], [0]]
# Uses identical numbers as
# DNNModelFnTest.test_multi_dim_input_multi_dim_logits.
# See that test for calculation of logits.
# logits = [[-0.48, 0.48, 0.39], [-0.48, 0.48, 0.39]]
# probabilities = exp(logits)/sum(exp(logits))
# = [[0.16670536, 0.43538380, 0.39791084],
# [0.16670536, 0.43538380, 0.39791084]]
# loss = -log(0.43538380) - log(0.16670536)
expected_loss = 2.62305466
self.assertAllClose({
metric_keys.MetricKeys.LOSS: expected_loss,
metric_keys.MetricKeys.LOSS_MEAN: expected_loss / 2,
metric_keys.MetricKeys.ACCURACY: 0.5,
ops.GraphKeys.GLOBAL_STEP: global_step
}, dnn_classifier.evaluate(input_fn=_input_fn, steps=1))
class DNNRegressorPredictTest(test.TestCase):
def setUp(self):
self._model_dir = tempfile.mkdtemp()
def tearDown(self):
if self._model_dir:
writer_cache.FileWriterCache.clear()
shutil.rmtree(self._model_dir)
def test_one_dim(self):
"""Asserts predictions for one-dimensional input and logits."""
# Create checkpoint: num_inputs=1, hidden_units=(2, 2), num_outputs=1.
dnn_testing_utils.create_checkpoint(
(([[.6, .5]], [.1, -.1]), ([[1., .8], [-.8, -1.]], [.2, -.2]),
([[-1.], [1.]], [.3]),),
global_step=0,
model_dir=self._model_dir)
# Create DNNRegressor and predict.
dnn_regressor = dnn.DNNRegressor(
hidden_units=(2, 2),
feature_columns=(feature_column.numeric_column('x'),),
model_dir=self._model_dir)
input_fn = numpy_io.numpy_input_fn(
x={'x': np.array([[10.]])}, batch_size=1, shuffle=False)
# Uses identical numbers as DNNModelTest.test_one_dim_logits.
# See that test for calculation of logits.
# logits = [[-2.08]] => predictions = [-2.08].
self.assertAllClose({
prediction_keys.PredictionKeys.PREDICTIONS: [-2.08],
}, next(dnn_regressor.predict(input_fn=input_fn)))
def test_multi_dim(self):
"""Asserts predictions for multi-dimensional input and logits."""
# Create checkpoint: num_inputs=2, hidden_units=(2, 2), num_outputs=3.
dnn_testing_utils.create_checkpoint(
(([[.6, .5], [-.6, -.5]], [.1, -.1]),
([[1., .8], [-.8, -1.]], [.2, -.2]), ([[-1., 1., .5], [-1., 1., .5]],
[.3, -.3,
.0]),), 100, self._model_dir)
# Create DNNRegressor and predict.
dnn_regressor = dnn.DNNRegressor(
hidden_units=(2, 2),
feature_columns=(feature_column.numeric_column('x', shape=(2,)),),
label_dimension=3,
model_dir=self._model_dir)
input_fn = numpy_io.numpy_input_fn(
# Inputs shape is (batch_size, num_inputs).
x={'x': np.array([[10., 8.]])},
batch_size=1,
shuffle=False)
# Uses identical numbers as
# DNNModelFnTest.test_multi_dim_input_multi_dim_logits.
# See that test for calculation of logits.
# logits = [[-0.48, 0.48, 0.39]] => predictions = [-0.48, 0.48, 0.39]
self.assertAllClose({
prediction_keys.PredictionKeys.PREDICTIONS: [-0.48, 0.48, 0.39],
}, next(dnn_regressor.predict(input_fn=input_fn)))
class DNNClassifierPredictTest(test.TestCase):
def setUp(self):
self._model_dir = tempfile.mkdtemp()
def tearDown(self):
if self._model_dir:
writer_cache.FileWriterCache.clear()
shutil.rmtree(self._model_dir)
def test_one_dim(self):
"""Asserts predictions for one-dimensional input and logits."""
dnn_testing_utils.create_checkpoint(
(([[.6, .5]], [.1, -.1]), ([[1., .8], [-.8, -1.]], [.2, -.2]),
([[-1.], [1.]], [.3]),),
global_step=0,
model_dir=self._model_dir)
dnn_classifier = dnn.DNNClassifier(
hidden_units=(2, 2),
feature_columns=(feature_column.numeric_column('x'),),
model_dir=self._model_dir)
input_fn = numpy_io.numpy_input_fn(
x={'x': np.array([[10.]])}, batch_size=1, shuffle=False)
# Uses identical numbers as DNNModelTest.test_one_dim_logits.
# See that test for calculation of logits.
# logits = [-2.08] =>
# logistic = exp(-2.08)/(1 + exp(-2.08)) = 0.11105597
# probabilities = [1-logistic, logistic] = [0.88894403, 0.11105597]
# class_ids = argmax(probabilities) = [0]
self.assertAllClose({
prediction_keys.PredictionKeys.LOGITS: [-2.08],
prediction_keys.PredictionKeys.LOGISTIC: [0.11105597],
prediction_keys.PredictionKeys.PROBABILITIES: [0.88894403, 0.11105597],
prediction_keys.PredictionKeys.CLASS_IDS: [0],
}, next(dnn_classifier.predict(input_fn=input_fn)))
def test_multi_dim(self):
"""Asserts predictions for multi-dimensional input and logits."""
dnn_testing_utils.create_checkpoint(
(([[.6, .5], [-.6, -.5]], [.1, -.1]),
([[1., .8], [-.8, -1.]], [.2, -.2]), ([[-1., 1., .5], [-1., 1., .5]],
[.3, -.3, .0]),),
global_step=0,
model_dir=self._model_dir)
dnn_classifier = dnn.DNNClassifier(
hidden_units=(2, 2),
feature_columns=(feature_column.numeric_column('x', shape=(2,)),),
n_classes=3,
model_dir=self._model_dir)
input_fn = numpy_io.numpy_input_fn(
# Inputs shape is (batch_size, num_inputs).
x={'x': np.array([[10., 8.]])},
batch_size=1,
shuffle=False)
# Uses identical numbers as
# DNNModelFnTest.test_multi_dim_input_multi_dim_logits.
# See that test for calculation of logits.
# logits = [-0.48, 0.48, 0.39] =>
# probabilities[i] = exp(logits[i]) / sum_j exp(logits[j]) =>
# probabilities = [0.16670536, 0.43538380, 0.39791084]
# class_ids = argmax(probabilities) = [1]
predictions = next(dnn_classifier.predict(input_fn=input_fn))
self.assertItemsEqual(
[prediction_keys.PredictionKeys.LOGITS,
prediction_keys.PredictionKeys.PROBABILITIES,
prediction_keys.PredictionKeys.CLASS_IDS,
prediction_keys.PredictionKeys.CLASSES],
six.iterkeys(predictions))
self.assertAllClose(
[-0.48, 0.48, 0.39], predictions[prediction_keys.PredictionKeys.LOGITS])
self.assertAllClose(
[0.16670536, 0.43538380, 0.39791084],
predictions[prediction_keys.PredictionKeys.PROBABILITIES])
self.assertAllEqual(
[1], predictions[prediction_keys.PredictionKeys.CLASS_IDS])
self.assertAllEqual(
[b'1'], predictions[prediction_keys.PredictionKeys.CLASSES])
def _queue_parsed_features(feature_map):
tensors_to_enqueue = []
keys = []
for key, tensor in six.iteritems(feature_map):
keys.append(key)
tensors_to_enqueue.append(tensor)
queue_dtypes = [x.dtype for x in tensors_to_enqueue]
input_queue = data_flow_ops.FIFOQueue(capacity=100, dtypes=queue_dtypes)
queue_runner.add_queue_runner(
queue_runner.QueueRunner(
input_queue,
[input_queue.enqueue(tensors_to_enqueue)]))
dequeued_tensors = input_queue.dequeue()
return {keys[i]: dequeued_tensors[i] for i in range(len(dequeued_tensors))}
class DNNRegressorIntegrationTest(test.TestCase):
def setUp(self):
self._model_dir = tempfile.mkdtemp()
def tearDown(self):
if self._model_dir:
writer_cache.FileWriterCache.clear()
shutil.rmtree(self._model_dir)
def _test_complete_flow(
self, train_input_fn, eval_input_fn, predict_input_fn, input_dimension,
label_dimension, batch_size):
feature_columns = [
feature_column.numeric_column('x', shape=(input_dimension,))]
est = dnn.DNNRegressor(
hidden_units=(2, 2),
feature_columns=feature_columns,
label_dimension=label_dimension,
model_dir=self._model_dir)
# TRAIN
num_steps = 10
est.train(train_input_fn, steps=num_steps)
# EVALUTE
scores = est.evaluate(eval_input_fn)
self.assertEqual(num_steps, scores[ops.GraphKeys.GLOBAL_STEP])
self.assertIn('loss', six.iterkeys(scores))
# PREDICT
predictions = np.array([
x[prediction_keys.PredictionKeys.PREDICTIONS]
for x in est.predict(predict_input_fn)
])
self.assertAllEqual((batch_size, label_dimension), predictions.shape)
# EXPORT
feature_spec = feature_column.make_parse_example_spec(feature_columns)
serving_input_receiver_fn = export.build_parsing_serving_input_receiver_fn(
feature_spec)
export_dir = est.export_savedmodel(tempfile.mkdtemp(),
serving_input_receiver_fn)
self.assertTrue(gfile.Exists(export_dir))
def test_numpy_input_fn(self):
"""Tests complete flow with numpy_input_fn."""
label_dimension = 2
batch_size = 10
data = np.linspace(0., 2., batch_size * label_dimension, dtype=np.float32)
data = data.reshape(batch_size, label_dimension)
# learn y = x
train_input_fn = numpy_io.numpy_input_fn(
x={'x': data},
y=data,
batch_size=batch_size,
num_epochs=None,
shuffle=True)
eval_input_fn = numpy_io.numpy_input_fn(
x={'x': data},
y=data,
batch_size=batch_size,
shuffle=False)
predict_input_fn = numpy_io.numpy_input_fn(
x={'x': data},
batch_size=batch_size,
shuffle=False)
self._test_complete_flow(
train_input_fn=train_input_fn,
eval_input_fn=eval_input_fn,
predict_input_fn=predict_input_fn,
input_dimension=label_dimension,
label_dimension=label_dimension,
batch_size=batch_size)
def test_pandas_input_fn(self):
"""Tests complete flow with pandas_input_fn."""
if not HAS_PANDAS:
return
label_dimension = 1
batch_size = 10
data = np.linspace(0., 2., batch_size, dtype=np.float32)
x = pd.DataFrame({'x': data})
y = pd.Series(data)
train_input_fn = pandas_io.pandas_input_fn(
x=x,
y=y,
batch_size=batch_size,
num_epochs=None,
shuffle=True)
eval_input_fn = pandas_io.pandas_input_fn(
x=x,
y=y,
batch_size=batch_size,
shuffle=False)
predict_input_fn = pandas_io.pandas_input_fn(
x=x,
batch_size=batch_size,
shuffle=False)
self._test_complete_flow(
train_input_fn=train_input_fn,
eval_input_fn=eval_input_fn,
predict_input_fn=predict_input_fn,
input_dimension=label_dimension,
label_dimension=label_dimension,
batch_size=batch_size)
def test_input_fn_from_parse_example(self):
"""Tests complete flow with input_fn constructed from parse_example."""
label_dimension = 2
batch_size = 10
data = np.linspace(0., 2., batch_size * label_dimension, dtype=np.float32)
data = data.reshape(batch_size, label_dimension)
serialized_examples = []
for datum in data:
example = example_pb2.Example(features=feature_pb2.Features(
feature={
'x': feature_pb2.Feature(
float_list=feature_pb2.FloatList(value=datum)),
'y': feature_pb2.Feature(
float_list=feature_pb2.FloatList(value=datum)),
}))
serialized_examples.append(example.SerializeToString())
feature_spec = {
'x': parsing_ops.FixedLenFeature([label_dimension], dtypes.float32),
'y': parsing_ops.FixedLenFeature([label_dimension], dtypes.float32),
}
def _train_input_fn():
feature_map = parsing_ops.parse_example(serialized_examples, feature_spec)
features = _queue_parsed_features(feature_map)
labels = features.pop('y')
return features, labels
def _eval_input_fn():
feature_map = parsing_ops.parse_example(
input_lib.limit_epochs(serialized_examples, num_epochs=1),
feature_spec)
features = _queue_parsed_features(feature_map)
labels = features.pop('y')
return features, labels
def _predict_input_fn():
feature_map = parsing_ops.parse_example(
input_lib.limit_epochs(serialized_examples, num_epochs=1),
feature_spec)
features = _queue_parsed_features(feature_map)
features.pop('y')
return features, None
self._test_complete_flow(
train_input_fn=_train_input_fn,
eval_input_fn=_eval_input_fn,
predict_input_fn=_predict_input_fn,
input_dimension=label_dimension,
label_dimension=label_dimension,
batch_size=batch_size)
class DNNClassifierIntegrationTest(test.TestCase):
def setUp(self):
self._model_dir = tempfile.mkdtemp()
def tearDown(self):
if self._model_dir:
writer_cache.FileWriterCache.clear()
shutil.rmtree(self._model_dir)
def _test_complete_flow(
self, train_input_fn, eval_input_fn, predict_input_fn, input_dimension,
n_classes, batch_size):
feature_columns = [
feature_column.numeric_column('x', shape=(input_dimension,))]
est = dnn.DNNClassifier(
hidden_units=(2, 2),
feature_columns=feature_columns,
n_classes=n_classes,
model_dir=self._model_dir)
# TRAIN
num_steps = 10
est.train(train_input_fn, steps=num_steps)
# EVALUTE
scores = est.evaluate(eval_input_fn)
self.assertEqual(num_steps, scores[ops.GraphKeys.GLOBAL_STEP])
self.assertIn('loss', six.iterkeys(scores))
# PREDICT
predicted_proba = np.array([
x[prediction_keys.PredictionKeys.PROBABILITIES]
for x in est.predict(predict_input_fn)
])
self.assertAllEqual((batch_size, n_classes), predicted_proba.shape)
# EXPORT
feature_spec = feature_column.make_parse_example_spec(feature_columns)
serving_input_receiver_fn = export.build_parsing_serving_input_receiver_fn(
feature_spec)
export_dir = est.export_savedmodel(tempfile.mkdtemp(),
serving_input_receiver_fn)
self.assertTrue(gfile.Exists(export_dir))
def test_numpy_input_fn(self):
"""Tests complete flow with numpy_input_fn."""
n_classes = 2
input_dimension = 2
batch_size = 10
data = np.linspace(0., 2., batch_size * input_dimension, dtype=np.float32)
x_data = data.reshape(batch_size, input_dimension)
y_data = np.reshape(data[:batch_size], (batch_size, 1))
# learn y = x
train_input_fn = numpy_io.numpy_input_fn(
x={'x': x_data},
y=y_data,
batch_size=batch_size,
num_epochs=None,
shuffle=True)
eval_input_fn = numpy_io.numpy_input_fn(
x={'x': x_data},
y=y_data,
batch_size=batch_size,
shuffle=False)
predict_input_fn = numpy_io.numpy_input_fn(
x={'x': x_data},
batch_size=batch_size,
shuffle=False)
self._test_complete_flow(
train_input_fn=train_input_fn,
eval_input_fn=eval_input_fn,
predict_input_fn=predict_input_fn,
input_dimension=input_dimension,
n_classes=n_classes,
batch_size=batch_size)
def test_pandas_input_fn(self):
"""Tests complete flow with pandas_input_fn."""
if not HAS_PANDAS:
return
input_dimension = 1
n_classes = 2
batch_size = 10
data = np.linspace(0., 2., batch_size, dtype=np.float32)
x = pd.DataFrame({'x': data})
y = pd.Series(data)
train_input_fn = pandas_io.pandas_input_fn(
x=x,
y=y,
batch_size=batch_size,
num_epochs=None,
shuffle=True)
eval_input_fn = pandas_io.pandas_input_fn(
x=x,
y=y,
batch_size=batch_size,
shuffle=False)
predict_input_fn = pandas_io.pandas_input_fn(
x=x,
batch_size=batch_size,
shuffle=False)
self._test_complete_flow(
train_input_fn=train_input_fn,
eval_input_fn=eval_input_fn,
predict_input_fn=predict_input_fn,
input_dimension=input_dimension,
n_classes=n_classes,
batch_size=batch_size)
def test_input_fn_from_parse_example(self):
"""Tests complete flow with input_fn constructed from parse_example."""
input_dimension = 2
n_classes = 2
batch_size = 10
data = np.linspace(0., 2., batch_size * input_dimension, dtype=np.float32)
data = data.reshape(batch_size, input_dimension)
serialized_examples = []
for datum in data:
example = example_pb2.Example(features=feature_pb2.Features(
feature={
'x': feature_pb2.Feature(
float_list=feature_pb2.FloatList(value=datum)),
'y': feature_pb2.Feature(
float_list=feature_pb2.FloatList(value=datum[:1])),
}))
serialized_examples.append(example.SerializeToString())
feature_spec = {
'x': parsing_ops.FixedLenFeature([input_dimension], dtypes.float32),
'y': parsing_ops.FixedLenFeature([1], dtypes.float32),
}
def _train_input_fn():
feature_map = parsing_ops.parse_example(serialized_examples, feature_spec)
features = _queue_parsed_features(feature_map)
labels = features.pop('y')
return features, labels
def _eval_input_fn():
feature_map = parsing_ops.parse_example(
input_lib.limit_epochs(serialized_examples, num_epochs=1),
feature_spec)
features = _queue_parsed_features(feature_map)
labels = features.pop('y')
return features, labels
def _predict_input_fn():
feature_map = parsing_ops.parse_example(
input_lib.limit_epochs(serialized_examples, num_epochs=1),
feature_spec)
features = _queue_parsed_features(feature_map)
features.pop('y')
return features, None
self._test_complete_flow(
train_input_fn=_train_input_fn,
eval_input_fn=_eval_input_fn,
predict_input_fn=_predict_input_fn,
input_dimension=input_dimension,
n_classes=n_classes,
batch_size=batch_size)
class _SummaryHook(session_run_hook.SessionRunHook):
"""Saves summaries every N steps."""
def __init__(self):
self._summaries = []
def begin(self):
self._summary_op = summary_lib.merge_all()
def before_run(self, run_context):
return session_run_hook.SessionRunArgs({'summary': self._summary_op})
def after_run(self, run_context, run_values):
s = summary_pb2.Summary()
s.ParseFromString(run_values.results['summary'])
self._summaries.append(s)
def summaries(self):
return tuple(self._summaries)
def _assert_checkpoint(
testcase, global_step, input_units, hidden_units, output_units, model_dir):
"""Asserts checkpoint contains expected variables with proper shapes.
Args:
testcase: A TestCase instance.
global_step: Expected global step value.
input_units: The dimension of input layer.
hidden_units: Iterable of integer sizes for the hidden layers.
output_units: The dimension of output layer (logits).
model_dir: The model directory.
"""
shapes = {
name: shape
for (name, shape) in checkpoint_utils.list_variables(model_dir)
}
# Global step.
testcase.assertEqual([], shapes[ops.GraphKeys.GLOBAL_STEP])
testcase.assertEqual(
global_step,
checkpoint_utils.load_variable(
model_dir, ops.GraphKeys.GLOBAL_STEP))
# Hidden layer weights.
prev_layer_units = input_units
for i in range(len(hidden_units)):
layer_units = hidden_units[i]
testcase.assertAllEqual(
(prev_layer_units, layer_units),
shapes[dnn_testing_utils.HIDDEN_WEIGHTS_NAME_PATTERN % i])
testcase.assertAllEqual(
(layer_units,),
shapes[dnn_testing_utils.HIDDEN_BIASES_NAME_PATTERN % i])
prev_layer_units = layer_units
# Output layer weights.
testcase.assertAllEqual((prev_layer_units, output_units),
shapes[dnn_testing_utils.LOGITS_WEIGHTS_NAME])
testcase.assertAllEqual((output_units,),
shapes[dnn_testing_utils.LOGITS_BIASES_NAME])
def _assert_simple_summary(testcase, expected_values, actual_summary):
"""Assert summary the specified simple values.
Args:
testcase: A TestCase instance.
expected_values: Dict of expected tags and simple values.
actual_summary: `summary_pb2.Summary`.
"""
testcase.assertAllClose(expected_values, {
v.tag: v.simple_value
for v in actual_summary.value if (v.tag in expected_values)
})
class DNNRegressorTrainTest(test.TestCase):
def setUp(self):
self._model_dir = tempfile.mkdtemp()
def tearDown(self):
if self._model_dir:
writer_cache.FileWriterCache.clear()
shutil.rmtree(self._model_dir)
def test_from_scratch_with_default_optimizer(self):
hidden_units = (2, 2)
dnn_regressor = dnn.DNNRegressor(
hidden_units=hidden_units,
feature_columns=(feature_column.numeric_column('age'),),
model_dir=self._model_dir)
# Train for a few steps, then validate final checkpoint.
num_steps = 5
dnn_regressor.train(
input_fn=lambda: ({'age': ((1,),)}, ((10,),)), steps=num_steps)
_assert_checkpoint(
self, num_steps, input_units=1, hidden_units=hidden_units,
output_units=1, model_dir=self._model_dir)
def test_from_scratch(self):
hidden_units = (2, 2)
mock_optimizer = dnn_testing_utils.mock_optimizer(
self, hidden_units=hidden_units)
dnn_regressor = dnn.DNNRegressor(
hidden_units=hidden_units,
feature_columns=(feature_column.numeric_column('age'),),
optimizer=mock_optimizer,
model_dir=self._model_dir)
self.assertEqual(0, mock_optimizer.minimize.call_count)
# Train for a few steps, then validate optimizer, summaries, and
# checkpoint.
num_steps = 5
summary_hook = _SummaryHook()
dnn_regressor.train(
input_fn=lambda: ({'age': ((1,),)}, ((5.,),)), steps=num_steps,
hooks=(summary_hook,))
self.assertEqual(1, mock_optimizer.minimize.call_count)
_assert_checkpoint(
self, num_steps, input_units=1, hidden_units=hidden_units,
output_units=1, model_dir=self._model_dir)
summaries = summary_hook.summaries()
self.assertEqual(num_steps, len(summaries))
for summary in summaries:
summary_keys = [v.tag for v in summary.value]
self.assertIn(metric_keys.MetricKeys.LOSS, summary_keys)
self.assertIn(metric_keys.MetricKeys.LOSS_MEAN, summary_keys)
def test_one_dim(self):
"""Asserts train loss for one-dimensional input and logits."""
base_global_step = 100
hidden_units = (2, 2)
dnn_testing_utils.create_checkpoint(
(([[.6, .5]], [.1, -.1]), ([[1., .8], [-.8, -1.]], [.2, -.2]),
([[-1.], [1.]], [.3]),), base_global_step, self._model_dir)
# Uses identical numbers as DNNModelFnTest.test_one_dim_logits.
# See that test for calculation of logits.
# logits = [-2.08] => predictions = [-2.08]
# loss = (1 + 2.08)^2 = 9.4864
expected_loss = 9.4864
mock_optimizer = dnn_testing_utils.mock_optimizer(
self, hidden_units=hidden_units, expected_loss=expected_loss)
dnn_regressor = dnn.DNNRegressor(
hidden_units=hidden_units,
feature_columns=(feature_column.numeric_column('age'),),
optimizer=mock_optimizer,
model_dir=self._model_dir)
self.assertEqual(0, mock_optimizer.minimize.call_count)
# Train for a few steps, then validate optimizer, summaries, and
# checkpoint.
num_steps = 5
summary_hook = _SummaryHook()
dnn_regressor.train(
input_fn=lambda: ({'age': [[10.]]}, [[1.]]), steps=num_steps,
hooks=(summary_hook,))
self.assertEqual(1, mock_optimizer.minimize.call_count)
summaries = summary_hook.summaries()
self.assertEqual(num_steps, len(summaries))
for summary in summaries:
_assert_simple_summary(
self,
{
metric_keys.MetricKeys.LOSS_MEAN: expected_loss,
'dnn/dnn/hiddenlayer_0_fraction_of_zero_values': 0.,
'dnn/dnn/hiddenlayer_1_fraction_of_zero_values': 0.5,
'dnn/dnn/logits_fraction_of_zero_values': 0.,
metric_keys.MetricKeys.LOSS: expected_loss,
},
summary)
_assert_checkpoint(
self, base_global_step + num_steps, input_units=1,
hidden_units=hidden_units, output_units=1, model_dir=self._model_dir)
def test_multi_dim(self):
"""Asserts train loss for multi-dimensional input and logits."""
base_global_step = 100
hidden_units = (2, 2)
dnn_testing_utils.create_checkpoint(
(([[.6, .5], [-.6, -.5]], [.1, -.1]), ([[1., .8], [-.8, -1.]],
[.2, -.2]),
([[-1., 1., .5], [-1., 1., .5]],
[.3, -.3, .0]),), base_global_step, self._model_dir)
input_dimension = 2
label_dimension = 3
# Uses identical numbers as
# DNNModelFnTest.test_multi_dim_input_multi_dim_logits.
# See that test for calculation of logits.
# logits = [[-0.48, 0.48, 0.39]]
# loss = (1+0.48)^2 + (-1-0.48)^2 + (0.5-0.39)^2 = 4.3929
expected_loss = 4.3929
mock_optimizer = dnn_testing_utils.mock_optimizer(
self, hidden_units=hidden_units, expected_loss=expected_loss)
dnn_regressor = dnn.DNNRegressor(
hidden_units=hidden_units,
feature_columns=[
feature_column.numeric_column('age', shape=[input_dimension])],
label_dimension=label_dimension,
optimizer=mock_optimizer,
model_dir=self._model_dir)
self.assertEqual(0, mock_optimizer.minimize.call_count)
# Train for a few steps, then validate optimizer, summaries, and
# checkpoint.
num_steps = 5
summary_hook = _SummaryHook()
dnn_regressor.train(
input_fn=lambda: ({'age': [[10., 8.]]}, [[1., -1., 0.5]]),
steps=num_steps,
hooks=(summary_hook,))
self.assertEqual(1, mock_optimizer.minimize.call_count)
summaries = summary_hook.summaries()
self.assertEqual(num_steps, len(summaries))
for summary in summaries:
_assert_simple_summary(
self,
{
metric_keys.MetricKeys.LOSS_MEAN: expected_loss / label_dimension,
'dnn/dnn/hiddenlayer_0_fraction_of_zero_values': 0.,
'dnn/dnn/hiddenlayer_1_fraction_of_zero_values': 0.5,
'dnn/dnn/logits_fraction_of_zero_values': 0.,
metric_keys.MetricKeys.LOSS: expected_loss,
},
summary)
_assert_checkpoint(
self, base_global_step + num_steps, input_units=input_dimension,
hidden_units=hidden_units, output_units=label_dimension,
model_dir=self._model_dir)
class DNNClassifierTrainTest(test.TestCase):
def setUp(self):
self._model_dir = tempfile.mkdtemp()
def tearDown(self):
if self._model_dir:
writer_cache.FileWriterCache.clear()
shutil.rmtree(self._model_dir)
def test_from_scratch_with_default_optimizer_binary(self):
hidden_units = (2, 2)
dnn_classifier = dnn.DNNClassifier(
hidden_units=hidden_units,
feature_columns=(feature_column.numeric_column('age'),),
model_dir=self._model_dir)
# Train for a few steps, then validate final checkpoint.
num_steps = 5
dnn_classifier.train(
input_fn=lambda: ({'age': [[10.]]}, [[1]]), steps=num_steps)
_assert_checkpoint(
self, num_steps, input_units=1, hidden_units=hidden_units,
output_units=1, model_dir=self._model_dir)
def test_from_scratch_with_default_optimizer_multi_class(self):
hidden_units = (2, 2)
n_classes = 3
dnn_classifier = dnn.DNNClassifier(
hidden_units=hidden_units,
feature_columns=(feature_column.numeric_column('age'),),
n_classes=n_classes,
model_dir=self._model_dir)
# Train for a few steps, then validate final checkpoint.
num_steps = 5
dnn_classifier.train(
input_fn=lambda: ({'age': [[10.]]}, [[2]]), steps=num_steps)
_assert_checkpoint(
self, num_steps, input_units=1, hidden_units=hidden_units,
output_units=n_classes, model_dir=self._model_dir)
def test_from_scratch_validate_summary(self):
hidden_units = (2, 2)
mock_optimizer = dnn_testing_utils.mock_optimizer(
self, hidden_units=hidden_units)
dnn_classifier = dnn.DNNClassifier(
hidden_units=hidden_units,
feature_columns=(feature_column.numeric_column('age'),),
optimizer=mock_optimizer,
model_dir=self._model_dir)
self.assertEqual(0, mock_optimizer.minimize.call_count)
# Train for a few steps, then validate optimizer, summaries, and
# checkpoint.
num_steps = 5
summary_hook = _SummaryHook()
dnn_classifier.train(
input_fn=lambda: ({'age': [[10.]]}, [[1]]), steps=num_steps,
hooks=(summary_hook,))
self.assertEqual(1, mock_optimizer.minimize.call_count)
_assert_checkpoint(
self, num_steps, input_units=1, hidden_units=hidden_units,
output_units=1, model_dir=self._model_dir)
summaries = summary_hook.summaries()
self.assertEqual(num_steps, len(summaries))
for summary in summaries:
summary_keys = [v.tag for v in summary.value]
self.assertIn(metric_keys.MetricKeys.LOSS, summary_keys)
self.assertIn(metric_keys.MetricKeys.LOSS_MEAN, summary_keys)
def test_binary_classification(self):
base_global_step = 100
hidden_units = (2, 2)
dnn_testing_utils.create_checkpoint(
(([[.6, .5]], [.1, -.1]), ([[1., .8], [-.8, -1.]], [.2, -.2]),
([[-1.], [1.]], [.3]),), base_global_step, self._model_dir)
# Uses identical numbers as DNNModelFnTest.test_one_dim_logits.
# See that test for calculation of logits.
# logits = [-2.08] => probabilities = [0.889, 0.111]
# loss = -1. * log(0.111) = 2.19772100
expected_loss = 2.19772100
mock_optimizer = dnn_testing_utils.mock_optimizer(
self, hidden_units=hidden_units, expected_loss=expected_loss)
dnn_classifier = dnn.DNNClassifier(
hidden_units=hidden_units,
feature_columns=(feature_column.numeric_column('age'),),
optimizer=mock_optimizer,
model_dir=self._model_dir)
self.assertEqual(0, mock_optimizer.minimize.call_count)
# Train for a few steps, then validate optimizer, summaries, and
# checkpoint.
num_steps = 5
summary_hook = _SummaryHook()
dnn_classifier.train(
input_fn=lambda: ({'age': [[10.]]}, [[1]]), steps=num_steps,
hooks=(summary_hook,))
self.assertEqual(1, mock_optimizer.minimize.call_count)
summaries = summary_hook.summaries()
self.assertEqual(num_steps, len(summaries))
for summary in summaries:
_assert_simple_summary(
self,
{
metric_keys.MetricKeys.LOSS_MEAN: expected_loss,
'dnn/dnn/hiddenlayer_0_fraction_of_zero_values': 0.,
'dnn/dnn/hiddenlayer_1_fraction_of_zero_values': .5,
'dnn/dnn/logits_fraction_of_zero_values': 0.,
metric_keys.MetricKeys.LOSS: expected_loss,
},
summary)
_assert_checkpoint(
self, base_global_step + num_steps, input_units=1,
hidden_units=hidden_units, output_units=1, model_dir=self._model_dir)
def test_multi_class(self):
n_classes = 3
base_global_step = 100
hidden_units = (2, 2)
dnn_testing_utils.create_checkpoint(
(([[.6, .5]], [.1, -.1]), ([[1., .8], [-.8, -1.]], [.2, -.2]),
([[-1., 1., .5], [-1., 1., .5]],
[.3, -.3, .0]),), base_global_step, self._model_dir)
# Uses identical numbers as DNNModelFnTest.test_multi_dim_logits.
# See that test for calculation of logits.
# logits = [-2.08, 2.08, 1.19] => probabilities = [0.0109, 0.7011, 0.2879]
# loss = -1. * log(0.7011) = 0.35505795
expected_loss = 0.35505795
mock_optimizer = dnn_testing_utils.mock_optimizer(
self, hidden_units=hidden_units, expected_loss=expected_loss)
dnn_classifier = dnn.DNNClassifier(
n_classes=n_classes,
hidden_units=hidden_units,
feature_columns=(feature_column.numeric_column('age'),),
optimizer=mock_optimizer,
model_dir=self._model_dir)
self.assertEqual(0, mock_optimizer.minimize.call_count)
# Train for a few steps, then validate optimizer, summaries, and
# checkpoint.
num_steps = 5
summary_hook = _SummaryHook()
dnn_classifier.train(
input_fn=lambda: ({'age': [[10.]]}, [[1]]), steps=num_steps,
hooks=(summary_hook,))
self.assertEqual(1, mock_optimizer.minimize.call_count)
summaries = summary_hook.summaries()
self.assertEqual(num_steps, len(summaries))
for summary in summaries:
_assert_simple_summary(
self,
{
metric_keys.MetricKeys.LOSS_MEAN: expected_loss,
'dnn/dnn/hiddenlayer_0_fraction_of_zero_values': 0.,
'dnn/dnn/hiddenlayer_1_fraction_of_zero_values': .5,
'dnn/dnn/logits_fraction_of_zero_values': 0.,
metric_keys.MetricKeys.LOSS: expected_loss,
},
summary)
_assert_checkpoint(
self, base_global_step + num_steps, input_units=1,
hidden_units=hidden_units, output_units=n_classes,
model_dir=self._model_dir)
if __name__ == '__main__':
test.main()
| 37.361086 | 80 | 0.663526 | 5,285 | 41,284 | 4.87701 | 0.075497 | 0.034491 | 0.029796 | 0.020446 | 0.818623 | 0.779825 | 0.753172 | 0.732454 | 0.725897 | 0.715538 | 0 | 0.033126 | 0.21541 | 41,284 | 1,104 | 81 | 37.394928 | 0.762619 | 0.15638 | 0 | 0.768675 | 0 | 0 | 0.019085 | 0.014805 | 0 | 0 | 0 | 0 | 0.077108 | 1 | 0.072289 | false | 0 | 0.038554 | 0.007229 | 0.140964 | 0.001205 | 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 |
a3837b5bd4df657d3cb2230b2065a12bbc416e35 | 62 | py | Python | mct_rand_sync/src/mct_rand_sync/__init__.py | iorodeo/mct | fa8b85f36533c9b1486ca4f6b0c40c3daa6f4e11 | [
"Apache-2.0"
] | null | null | null | mct_rand_sync/src/mct_rand_sync/__init__.py | iorodeo/mct | fa8b85f36533c9b1486ca4f6b0c40c3daa6f4e11 | [
"Apache-2.0"
] | null | null | null | mct_rand_sync/src/mct_rand_sync/__init__.py | iorodeo/mct | fa8b85f36533c9b1486ca4f6b0c40c3daa6f4e11 | [
"Apache-2.0"
] | null | null | null | from rand_sync import *
from rand_sync_dev import RandSyncDev
| 20.666667 | 37 | 0.854839 | 10 | 62 | 5 | 0.6 | 0.32 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 62 | 2 | 38 | 31 | 0.925926 | 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 |
6e61abda97f76c41455c1876b0930d45674622a1 | 19,811 | py | Python | mcycle/library/materials.py | ChenlingJ/MCycle | 1fb72be3f889bd5f30c5dbd927f31b3bca2f1c38 | [
"Apache-2.0"
] | 7 | 2018-05-08T08:42:07.000Z | 2022-01-27T14:40:45.000Z | mcycle/library/materials.py | ChenlingJ/MCycle | 1fb72be3f889bd5f30c5dbd927f31b3bca2f1c38 | [
"Apache-2.0"
] | 6 | 2018-05-20T05:52:48.000Z | 2019-09-05T19:56:29.000Z | mcycle/library/materials.py | ChenlingJ/MCycle | 1fb72be3f889bd5f30c5dbd927f31b3bca2f1c38 | [
"Apache-2.0"
] | 4 | 2018-05-06T20:57:34.000Z | 2021-07-03T04:32:15.000Z | """A brief library of common component materials."""
from ..bases.solidmaterial import SolidMaterial
#: Alumel (Ni, 2%-Al, 2%-Mn, 1%-Si), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V., *A Heat Transfer Textbook*, Phlogiston Press, 2011.
def alumel(T=293.15):
return SolidMaterial(
rho=8600.,
data={'T': [373.15, 473.15, 573.15, 673.15],
'k': [30, 32, 35, 38]},
deg=-1,
T=T,
name="alumel",
notes=
"alumel (Ni, 2%-Al, 2%-Mn, 1%-Si), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V. A Heat Transfer Textbook Phlogiston Press, 2011"
)
#: Aluminium (pure), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V., *A Heat Transfer Textbook*, Phlogiston Press, 2011.
def aluminium(T=293.15):
return SolidMaterial(
rho=2707.,
data={
'T': [
103.15, 173.15, 273.15, 293.15, 373.15, 473.15, 573.15, 673.15,
873.15
],
'k': [302, 242, 236, 237, 240, 238, 234, 228, 215]
},
deg=-1,
T=T,
name="aluminium",
notes=
"aluminium (pure), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V. A Heat Transfer Textbook Phlogiston Press, 2011"
)
#: Aluminium alloy 6061-T6, from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V., *A Heat Transfer Textbook*, Phlogiston Press, 2011.
def aluminium_6061_T6(T=293.15):
return SolidMaterial(
rho=2700.,
data={
'T': [273.15, 293.15, 373.15, 473.15, 573.15],
'k': [166, 167, 172, 177, 180]
},
deg=-1,
T=T,
name="aluminium_6061_T6",
notes=
"aluminium alloy 6061-T6, from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V. A Heat Transfer Textbook Phlogiston Press, 2011"
)
#: Aluminium alloy 7075-T6, from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V., *A Heat Transfer Textbook*, Phlogiston Press, 2011.
def aluminium_7075_T6(T=293.15):
return SolidMaterial(
rho=2800.,
data={
'T': [103.15, 173.15, 273.15, 293.15, 373.15, 473.15, 573.15],
'k': [76, 100, 121, 130, 137, 172, 177]
},
deg=-1,
T=T,
name="aluminium_7075_T6",
notes=
"aluminium alloy 7075-T6, from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V. A Heat Transfer Textbook Phlogiston Press, 2011"
)
#: Brass, from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V., *A Heat Transfer Textbook*, Phlogiston Press, 2011.
def brass(T=293.15):
return SolidMaterial(
rho=8522.,
data={
'T':
[103.15, 173.15, 273.15, 293.15, 373.15, 473.15, 573.15, 673.15],
'k': [73, 89, 106, 109, 133, 143, 146, 147]
},
deg=-1,
T=T,
name="brass",
notes=
"brass (Cu, 30%-Zn), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V. A Heat Transfer Textbook Phlogiston Press, 2011"
)
#: Chromel P (Ni, 10%-Cr), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V., *A Heat Transfer Textbook*, Phlogiston Press, 2011.
def chromelP(T=293.15):
return SolidMaterial(
rho=8730.,
data={'T': [373.15, 473.15, 573.15, 673.15],
'k': [19, 21, 23, 25]},
deg=-1,
T=T,
name="chromel P",
notes=
"Chromel P (Ni, 10%-Cr), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V. A Heat Transfer Textbook Phlogiston Press, 2011"
)
#: Chromium, from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V., *A Heat Transfer Textbook*, Phlogiston Press, 2011.
def chromium(T=293.15):
return SolidMaterial(
rho=7190.,
data={
'T': [
103.15, 173.15, 273.15, 293.15, 373.15, 473.15, 573.15, 673.15,
873.15, 1073.15, 1273.15
],
'k': [158, 120, 95, 90, 88, 85, 82, 77, 69, 64, 62]
},
deg=-1,
T=T,
name="chromium",
notes=
"chromium, from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V. A Heat Transfer Textbook Phlogiston Press, 2011"
)
#: Constantan, from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V., *A Heat Transfer Textbook*, Phlogiston Press, 2011.
def constantan(T=293.15):
return SolidMaterial(
rho=8922.,
data={
'T': [103.15, 173.15, 273.15, 293.15, 373.15, 473.15],
'k': [17, 19, 22, 22, 26, 35]
},
deg=-1,
T=T,
name="constantan",
notes=
"constantan (Cu, 40%-Ni), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V. A Heat Transfer Textbook Phlogiston Press, 2011"
)
#: Copper (pure), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V., *A Heat Transfer Textbook*, Phlogiston Press, 2011.
def copper(T=293.15):
return SolidMaterial(
rho=8954.,
data={
'T': [
103.15, 173.15, 273.15, 293.15, 373.15, 473.15, 573.15, 673.15,
873.15, 1073.15, 1273.15
],
'k': [483, 420, 401, 398, 391, 389, 384, 378, 366, 352, 336]
},
deg=-1,
T=T,
name="copper",
notes=
"copper (pure), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V. A Heat Transfer Textbook Phlogiston Press, 2011"
)
#: Duralumin, from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V., *A Heat Transfer Textbook*, Phlogiston Press, 2011.
def duralumin(T=293.15):
return SolidMaterial(
rho=2787.,
data={
'T': [173.15, 273.15, 293.15, 373.15, 473.15],
'k': [126, 164, 164, 182, 194]
},
deg=-1,
T=T,
name="duralumin",
notes=
"duralumin (4%-Cu, 0.5%-Mg), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V. A Heat Transfer Textbook Phlogiston Press, 2011"
)
#: Gold (pure), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V., *A Heat Transfer Textbook*, Phlogiston Press, 2011.
def gold(T=293.15):
return SolidMaterial(
rho=19320.,
data={
'T': [
103.15, 173.15, 273.15, 293.15, 373.15, 473.15, 573.15, 673.15,
873.15, 1073.15, 1273.15
],
'k': [327, 324, 319, 318, 313, 306, 299, 293, 279, 264, 249]
},
deg=-1,
T=T,
name="gold",
notes=
"gold (pure), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V. A Heat Transfer Textbook Phlogiston Press, 2011"
)
#: Inconel X-750 (73%-Ni, 15%-Cr, 6.75%-Fe, 2.5%-Ti, 0.85%-Nb, 0.8%-Al, 0.7%-Mn, 0.3%-Si), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V., *A Heat Transfer Textbook*, Phlogiston Press, 2011.
def inconelX750(T=293.15):
return SolidMaterial(
rho=8510.,
data={
'T': [
103.15, 173.15, 273.15, 293.15, 373.15, 473.15, 573.15, 673.15,
873.15, 1073.15, 1273.15
],
'k':
[8.8, 10.6, 11.3, 11.6, 13.0, 14.7, 16.0, 18.3, 21.8, 25.3, 29]
},
deg=-1,
T=T,
name="inconelX750",
notes=
"Inconel X-750 (73%-Ni, 15%-Cr, 6.75%-Fe, 2.5%-Ti, 0.85%-Nb, 0.8%-Al, 0.7%-Mn, 0.3%-Si), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V. A Heat Transfer Textbook Phlogiston Press, 2011"
)
#: Iron (pure), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V., *A Heat Transfer Textbook*, Phlogiston Press, 2011.
def iron(T=293.15):
return SolidMaterial(
rho=7987.,
data={
'T': [
103.15, 173.15, 273.15, 293.15, 373.15, 473.15, 573.15, 673.15,
873.15, 1073.15, 1273.15
],
'k': [132, 98, 84, 80, 72, 63, 56, 50, 39, 30, 29.5]
},
deg=-1,
T=T,
name="iron",
notes=
"iron (pure), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V. A Heat Transfer Textbook Phlogiston Press, 2011"
)
#: Lead (pure), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V., *A Heat Transfer Textbook*, Phlogiston Press, 2011.
def lead(T=293.15):
return SolidMaterial(
rho=11373.,
data={
'T': [103.15, 173.15, 273.15, 293.15, 373.15, 473.15, 573.15],
'k': [40, 37, 36, 35, 34, 33, 32]
},
deg=-1,
T=T,
name="lead",
notes=
"lead (pure), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V. A Heat Transfer Textbook Phlogiston Press, 2011"
)
#: Magnesium (pure), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V., *A Heat Transfer Textbook*, Phlogiston Press, 2011.
def magnesium(T=293.15):
return SolidMaterial(
rho=1746.,
data={
'T': [
103.15, 173.15, 273.15, 293.15, 373.15, 473.15, 573.15, 673.15,
873.15
],
'k': [169, 160, 157, 156, 154, 152, 150, 148, 145]
},
deg=-1,
T=T,
name="magnesium",
notes=
"magnesium (pure), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V. A Heat Transfer Textbook Phlogiston Press, 2011"
)
#: Molybdenum (pure), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V., *A Heat Transfer Textbook*, Phlogiston Press, 2011.
def molybdenum(T=293.15):
return SolidMaterial(
rho=10220.,
data={
'T': [
103.15, 173.15, 273.15, 293.15, 373.15, 473.15, 573.15, 673.15,
873.15, 1073.15, 1273.15
],
'k': [175, 146, 139, 138, 135, 131, 127, 123, 116, 109, 103]
},
deg=-1,
T=T,
name="molybdenum",
notes=
"molybdenum (pure), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V. A Heat Transfer Textbook Phlogiston Press, 2011"
)
#: Nichrome (Ni, 23%-Fe, 16%-Cr), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V., *A Heat Transfer Textbook*, Phlogiston Press, 2011.
def nichrome(T=293.15):
return SolidMaterial(
rho=8250.,
data={'T': [373.15, 473.15, 573.15, 673.15],
'k': [13, 15, 16, 18]},
deg=-1,
T=T,
name="nichrome",
notes=
"nichrome (Ni, 23%-Fe, 16%-Cr), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V. A Heat Transfer Textbook Phlogiston Press, 2011"
)
#: Nichrome V (Ni, 20%-Cr, 1.4%-Si), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V., *A Heat Transfer Textbook*, Phlogiston Press, 2011.
def nichromeV(T=293.15):
return SolidMaterial(
rho=8410.,
data={
'T':
[293.15, 373.15, 473.15, 573.15, 673.15, 873.15, 1073.15, 1273.15],
'k': [10, 11, 13, 15, 17, 20, 24]
},
deg=-1,
T=T,
name="nichromeV",
notes=
"nichrome V (Ni, 20%-Cr, 1.4%-Si), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V. A Heat Transfer Textbook Phlogiston Press, 2011"
)
#: Nickel (pure), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V., *A Heat Transfer Textbook*, Phlogiston Press, 2011.
def nickel(T=293.15):
return SolidMaterial(
rho=8906.,
data={
'T': [
103.15, 173.15, 273.15, 293.15, 373.15, 473.15, 573.15, 673.15,
873.15, 1073.15, 1273.15
],
'k': [156, 114, 94, 91, 83, 74, 6, 64, 69, 73, 78]
},
deg=-1,
T=T,
name="nickel",
notes=
"nickel (pure), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V. A Heat Transfer Textbook Phlogiston Press, 2011"
)
#: Steel AISI 1010, from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V., *A Heat Transfer Textbook*, Phlogiston Press, 2011.
def steel_1010(T=293.15):
return SolidMaterial(
rho=7830.,
data={
'T': [
173.15, 273.15, 293.15, 373.15, 473.15, 573.15, 673.15, 873.15,
1073.15
],
'k': [70, 65, 64, 61, 55, 50, 45, 36, 29]
},
deg=-1,
T=T,
name="steel_1010",
notes=
"steel AISI 1010, from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V. A Heat Transfer Textbook Phlogiston Press, 2011"
)
#: Steel 0.5%-carbon, from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V., *A Heat Transfer Textbook*, Phlogiston Press, 2011.
def steel_0o5C(T=293.15):
return SolidMaterial(
rho=7833.,
data={
'T': [
273.15, 293.15, 373.15, 473.15, 573.15, 673.15, 873.15,
1073.15, 1273.15
],
'k': [55, 52, 48, 45, 42, 35, 31, 29]
},
deg=-1,
T=T,
name="steel_0o5C",
notes=
"steel 0.5%-carbon, from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V. A Heat Transfer Textbook Phlogiston Press, 2011"
)
#: Steel 1.0%-carbon, from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V., *A Heat Transfer Textbook*, Phlogiston Press, 2011.
def steel_1o0C(T=293.15):
return SolidMaterial(
rho=7801.,
data={
'T': [
273.15, 293.15, 373.15, 473.15, 573.15, 673.15, 873.15,
1073.15, 1273.15
],
'k': [43, 43, 42, 40, 36, 33, 29, 28]
},
deg=-1,
T=T,
name="steel_1o0C",
notes=
"steel 1.0%-carbon, from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V. A Heat Transfer Textbook Phlogiston Press, 2011"
)
#: Steel 1.5%-carbon, from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V., *A Heat Transfer Textbook*, Phlogiston Press, 2011.
def steel_1o5C(T=293.15):
return SolidMaterial(
rho=7753.,
data={
'T': [
273.15, 293.15, 373.15, 473.15, 573.15, 673.15, 873.15,
1073.15, 1273.15
],
'k': [36, 36, 36, 35, 33, 31, 28, 28]
},
deg=-1,
T=T,
name="steel_1o5C",
notes=
"steel 1.5%-carbon, from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V. A Heat Transfer Textbook Phlogiston Press, 2011"
)
#: Stainless steel AISI 304, from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V., *A Heat Transfer Textbook*, Phlogiston Press, 2011.
def stainlessSteel_304(T=293.15):
return SolidMaterial(
rho=8000.,
data={
'T': [293.15, 373.15, 473.15, 573.15, 673.15, 873.15],
'k': [13.8, 15, 17, 19, 21, 25]
},
deg=-1,
T=T,
name="stainlessSteel_304",
notes=
"stainless steel AISI 304, from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V. A Heat Transfer Textbook Phlogiston Press, 2011"
)
#: Stainless steel AISI 316, from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V., *A Heat Transfer Textbook*, Phlogiston Press, 2011.
def stainlessSteel_316(T=293.15):
return SolidMaterial(
rho=8000.,
data={
'T': [
173.15, 293.15, 373.15, 473.15, 573.15, 673.15, 873.15,
1073.15, 1273.15
],
'k': [12, 13.5, 15, 16, 17, 19, 21, 24, 26]
},
deg=-1,
T=T,
name="stainlessSteel_316",
notes=
"stainless steel AISI 316, from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V. A Heat Transfer Textbook Phlogiston Press, 2011"
)
#: Stainless steel AISI 347, from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V., *A Heat Transfer Textbook*, Phlogiston Press, 2011.
def stainlessSteel_347(T=293.15):
return SolidMaterial(
rho=8000.,
data={
'T': [
173.15, 293.15, 373.15, 473.15, 573.15, 673.15, 873.15,
1073.15, 1273.15
],
'k': [13, 15, 16, 18, 19, 20, 23, 26, 28]
},
deg=-1,
T=T,
name="stainlessSteel_347",
notes=
"stainless steel AISI 347, from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V. A Heat Transfer Textbook Phlogiston Press, 2011"
)
#: Silicon (single crystal form), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V., *A Heat Transfer Textbook*, Phlogiston Press, 2011.
def silicon(T=293.15):
return SolidMaterial(
rho=2330.,
data={
'T': [
103.15, 173.15, 273.15, 293.15, 373.15, 473.15, 573.15, 673.15,
873.15, 1073.15, 1273.15
],
'k': [856, 342, 168, 153, 112, 82, 66, 54, 38, 29, 25]
},
deg=-1,
T=T,
name="silicon",
notes=
"silicon (single crystal form), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V. A Heat Transfer Textbook Phlogiston Press, 2011"
)
#: Silver (99.99% pure), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V., *A Heat Transfer Textbook*, Phlogiston Press, 2011.
def silver(T=293.15):
return SolidMaterial(
rho=10524.,
data={
'T': [
103.15, 173.15, 273.15, 293.15, 373.15, 473.15, 573.15, 673.15,
873.15, 1073.15
],
'k': [449, 431, 428, 427, 422, 417, 409, 401, 386, 370]
},
deg=-1,
T=T,
name="silver",
notes=
"silver (99.99% pure), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V. A Heat Transfer Textbook Phlogiston Press, 2011"
)
#: Titanium (pure), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V., *A Heat Transfer Textbook*, Phlogiston Press, 2011.
def titanium(T=293.15):
return SolidMaterial(
rho=4540.,
data={
'T': [
103.15, 173.15, 273.15, 293.15, 373.15, 473.15, 573.15, 673.15,
873.15, 1073.15, 1273.15
],
'k': [31, 26, 22, 22, 21, 20, 20, 19, 21, 21, 22]
},
deg=-1,
T=T,
name="titanium",
notes=
"titanium (pure), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V. A Heat Transfer Textbook Phlogiston Press, 2011"
)
#: Titanium (6%-Al, 4%-V), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V., *A Heat Transfer Textbook*, Phlogiston Press, 2011.
def titanium_6Al4V(T=293.15):
return SolidMaterial(
rho=4430.,
data={
'T': [293.15, 373.15, 473.15, 573.15, 673.15],
'k': [7.1, 7.8, 8.8, 10., 12.]
},
deg=-1,
T=T,
name="titanium_6Al4V",
notes=
"titanium (6%-Al, 4%-V), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V. A Heat Transfer Textbook Phlogiston Press, 2011"
)
#: Tungsten (pure), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V., *A Heat Transfer Textbook*, Phlogiston Press, 2011.
def tungsten(T=293.15):
return SolidMaterial(
rho=19350.,
data={
'T': [
103.15, 173.15, 273.15, 293.15, 373.15, 473.15, 573.15, 673.15,
873.15, 1073.15, 1273.15
],
'k': [235, 223, 182, 178, 166, 153, 141, 134, 125, 122, 114]
},
deg=-1,
T=T,
name="tungsten",
notes=
"tungsten (pure), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V. A Heat Transfer Textbook Phlogiston Press, 2011"
)
#: Zinc (pure), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V., *A Heat Transfer Textbook*, Phlogiston Press, 2011.
def zinc(T=293.15):
return SolidMaterial(
rho=7144.,
data={
'T':
[103.15, 173.15, 273.15, 293.15, 373.15, 473.15, 573.15, 673.15],
'k': [124, 122, 122, 121, 117, 110, 106, 100]
},
deg=-1,
T=T,
name="zinc",
notes=
"zinc (pure), from Table A.1; Lienhard, J. H. I. & Lienhard, J. H. V. A Heat Transfer Textbook Phlogiston Press, 2011"
)
| 34.75614 | 201 | 0.511635 | 2,943 | 19,811 | 3.43595 | 0.102616 | 0.113924 | 0.126582 | 0.06962 | 0.860463 | 0.843651 | 0.747033 | 0.734375 | 0.734375 | 0.73121 | 0 | 0.215946 | 0.324466 | 19,811 | 569 | 202 | 34.817223 | 0.53964 | 0.215436 | 0 | 0.514831 | 0 | 0.067797 | 0.284148 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.067797 | false | 0 | 0.002119 | 0.067797 | 0.137712 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6eab3fd47b7c8d0f72622891973f910c0a183d1a | 19,279 | py | Python | ravens/models/resnet.py | YunchuZhang/Learning-to-use-different-tools-for-objects-rearrangement | 3759664cd77b5810834937c478a9a44ad36ac90c | [
"Apache-2.0"
] | 1 | 2022-03-20T19:03:02.000Z | 2022-03-20T19:03:02.000Z | ravens/models/resnet.py | YunchuZhang/Learning-to-use-different-tools-for-objects-rearrangement | 3759664cd77b5810834937c478a9a44ad36ac90c | [
"Apache-2.0"
] | null | null | null | ravens/models/resnet.py | YunchuZhang/Learning-to-use-different-tools-for-objects-rearrangement | 3759664cd77b5810834937c478a9a44ad36ac90c | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# Copyright 2021 The Ravens Authors.
#
# 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.
"""Resnet module."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import tensorflow as tf
import tensorflow_addons as tfa
import numpy as np
def identity_block(input_tensor,
kernel_size,
filters,
stage,
block,
activation=True,
include_batchnorm=False):
"""The identity block is the block that has no conv layer at shortcut.
Args:
input_tensor: input tensor
kernel_size: default 3, the kernel size of
middle conv layer at main path
filters: list of integers, the filters of 3 conv layer at main path
stage: integer, current stage label, used for generating layer names
block: 'a','b'..., current block label, used for generating layer names
activation: If True, include ReLU activation on the output.
include_batchnorm: If True, include intermediate batchnorm layers.
Returns:
Output tensor for the block.
"""
filters1, filters2, filters3 = filters
batchnorm_axis = 3
conv_name_base = 'res' + str(stage) + block + '_branch'
bn_name_base = 'bn' + str(stage) + block + '_branch'
x = tf.keras.layers.Conv2D(
filters1, (1, 1),
dilation_rate=(1, 1),
kernel_initializer='glorot_uniform',
name=conv_name_base + '2a')(
input_tensor)
if include_batchnorm:
x = tf.keras.layers.BatchNormalization(
axis=batchnorm_axis, name=bn_name_base + '2a')(
x)
x = tf.keras.layers.ReLU()(x)
x = tf.keras.layers.Conv2D(
filters2,
kernel_size,
dilation_rate=(1, 1),
padding='same',
kernel_initializer='glorot_uniform',
name=conv_name_base + '2b')(
x)
if include_batchnorm:
x = tf.keras.layers.BatchNormalization(
axis=batchnorm_axis, name=bn_name_base + '2b')(
x)
x = tf.keras.layers.ReLU()(x)
x = tf.keras.layers.Conv2D(
filters3, (1, 1),
dilation_rate=(1, 1),
kernel_initializer='glorot_uniform',
name=conv_name_base + '2c')(
x)
if include_batchnorm:
x = tf.keras.layers.BatchNormalization(
axis=batchnorm_axis, name=bn_name_base + '2c')(
x)
x = tf.keras.layers.add([x, input_tensor])
if activation:
x = tf.keras.layers.ReLU()(x)
return x
def conv_block(input_tensor,
kernel_size,
filters,
stage,
block,
strides=(2, 2),
activation=True,
include_batchnorm=False):
"""A block that has a conv layer at shortcut.
Note that from stage 3,
the first conv layer at main path is with strides=(2, 2)
And the shortcut should have strides=(2, 2) as well
Args:
input_tensor: input tensor
kernel_size: default 3, the kernel size of
middle conv layer at main path
filters: list of integers, the filters of 3 conv layer at main path
stage: integer, current stage label, used for generating layer names
block: 'a','b'..., current block label, used for generating layer names
strides: Strides for the first conv layer in the block.
activation: If True, include ReLU activation on the output.
include_batchnorm: If True, include intermediate batchnorm layers.
Returns:
Output tensor for the block.
"""
filters1, filters2, filters3 = filters
batchnorm_axis = 3
conv_name_base = 'res' + str(stage) + block + '_branch'
bn_name_base = 'bn' + str(stage) + block + '_branch'
x = tf.keras.layers.Conv2D(
filters1, (1, 1),
strides=strides,
dilation_rate=(1, 1),
kernel_initializer='glorot_uniform',
name=conv_name_base + '2a')(
input_tensor)
if include_batchnorm:
x = tf.keras.layers.BatchNormalization(
axis=batchnorm_axis, name=bn_name_base + '2a')(
x)
x = tf.keras.layers.ReLU()(x)
x = tf.keras.layers.Conv2D(
filters2,
kernel_size,
padding='same',
dilation_rate=(1, 1),
kernel_initializer='glorot_uniform',
name=conv_name_base + '2b')(
x)
if include_batchnorm:
x = tf.keras.layers.BatchNormalization(
axis=batchnorm_axis, name=bn_name_base + '2b')(
x)
x = tf.keras.layers.ReLU()(x)
x = tf.keras.layers.Conv2D(
filters3, (1, 1),
kernel_initializer='glorot_uniform',
dilation_rate=(1, 1),
name=conv_name_base + '2c')(
x)
if include_batchnorm:
x = tf.keras.layers.BatchNormalization(
axis=batchnorm_axis, name=bn_name_base + '2c')(
x)
shortcut = tf.keras.layers.Conv2D(
filters3, (1, 1),
strides=strides,
dilation_rate=(1, 1),
kernel_initializer='glorot_uniform',
name=conv_name_base + '1')(
input_tensor)
if include_batchnorm:
shortcut = tf.keras.layers.BatchNormalization(
axis=batchnorm_axis, name=bn_name_base + '1')(
shortcut)
x = tf.keras.layers.add([x, shortcut])
if activation:
x = tf.keras.layers.ReLU()(x)
return x
def tool_head(input_tensor, feat_dim = 256):
# input_tensor = tf.transpose(input_tensor,[0, 2, 3, 1])
input_shape = input_tensor.shape
x = tf.keras.layers.Conv2D(feat_dim, input_shape = input_shape[2:], data_format='channels_first', kernel_size=3, padding='same',activation='gelu')(input_tensor)
x = tfa.layers.GroupNormalization(groups=1, axis=2)(x)
prefix = 'th_'
x = tf.transpose(tf.reshape(x, [-1,256,90,90]),[0, 2, 3, 1])
x = tf.keras.layers.UpSampling2D(
size=(2, 2), interpolation='bilinear', name=prefix + 'upsample_1')(
x)
x = conv_block(
x, 3, [128, 128, 128], stage=1, block=prefix + 'a', strides=(1, 1))
x = identity_block(x, 3, [128, 128, 128], stage=1, block=prefix + 'b')
x = tf.keras.layers.UpSampling2D(
size=(2, 2), interpolation='bilinear', name=prefix + 'upsample_2')(
x)
x = conv_block(
x, 3, [64, 64, 64], stage=2, block=prefix + 'a', strides=(1, 1))
x = identity_block(x, 3, [64, 64, 64], stage=2, block=prefix + 'b')
x = tf.keras.layers.UpSampling2D(
size=(2, 2), interpolation='bilinear', name=prefix + 'upsample_3')(
x)
# [None, 720, 720, 64]
x = conv_block(
x,
3, [16, 16, 1],
stage=9,
block=prefix + 'a',
strides=(1, 1),
activation=False)
output = identity_block(
x, 3, [16, 16, 1], stage=3, block=prefix + 'b', activation=False)
return tf.transpose(tf.reshape(output, [-1,3,720,720,1]),[0, 1, 4, 2, 3])
'''
input_shape = x.shape
x = tf.keras.layers.Conv2D(feat_dim, kernel_size=3, input_shape = input_shape[1:], data_format='channels_first', padding='same',activation='gelu')(x)
x = tfa.layers.GroupNormalization(groups=1, axis=1)(x)
x = tf.keras.layers.Conv2D(feat_dim, kernel_size=3, input_shape = input_shape[1:], data_format='channels_first', padding='same',activation='gelu')(x)
x = tfa.layers.GroupNormalization(groups=1, axis=1)(x)
output = tf.keras.layers.Conv2D(1, input_shape = input_shape[1:], data_format='channels_first', kernel_size=1, padding='same')(x)
'''
def integrate(heatmap):
'''
Input:
heatmap: (B, 1, H, W)
Output:
grid_coord: (B, 2)
'''
B, _, H, W = heatmap.shape
h = tf.range(H)
w = tf.range(W)
grid_h, grid_w = tf.meshgrid(h,w) # h, w
# d = tf.constant([B,1,1,1], tf.float32)
grid_hw = tf.cast(tf.expand_dims(tf.stack([grid_h, grid_w], axis=0),axis=0),tf.float32) # B, 2, H, W
# grid_hw = tf.tile(grid_hw, d)
grid_coord = tf.math.reduce_sum(grid_hw * heatmap, axis=[2,3]) # B, 2
return grid_coord
def ResNet_tool(input_shape, # pylint: disable=invalid-name
output_dim,
padding,
tool_num = 3,
feat_dim = 256,
):
input_data = tf.keras.layers.Input(shape=input_shape)
# Initialize fully convolutional Residual Network with 43 layers and
# 8-stride (3 2x2 max pools and 3 2x bilinear upsampling)
# pick network
# d_in0, d_out0 = ResNet(input_data, output_dim, prefix='t0_')
# heatmap = tf.cast(tf.transpose(d_out0, [0, 3, 1, 2]), tf.float64)
# heatmap = tf.reshape(heatmap, [-1,64,90,90])
# if softmax:
# output = tf.nn.softmax(output)
# output = np.float32(output).reshape(logits.shape[1:])
# vis_feature net
# [None, 720, 720, 64]
# [None, 90, 90, 256]
d_in1, d_out1, emb1 = ResNet(input_data, output_dim, prefix='t1_', return_emb=True)
# import ipdb;ipdb.set_trace()
tool_emb = tf.Variable(tf.experimental.numpy.random.randn(tool_num, feat_dim), trainable=True)
tool_filter = tf.Variable(tf.experimental.numpy.random.randn(tool_num, feat_dim, feat_dim), trainable=True)
# import ipdb;ipdb.set_trace()
vis_feat = tf.cast(tf.transpose(emb1, [0, 3, 1, 2]),tf.float64) # None C, H, W 256 90 90
conv2d_layers = []
tool_feats = []
tool_coords = []
for tool_id in range(tool_num):
# tool_feat = tf.identity(vis_feat) * tf.reshape(tool_emb[tool_id],[1,-1,1,1])
# tool_feat = tf.identity(vis_feat) + tf.reshape(tool_emb[tool_id],[1,-1,1,1])
tool_feat = tf.nn.conv2d(tf.identity(vis_feat),tf.reshape(tool_filter[tool_id],[1,1,feat_dim,feat_dim]),strides=1, padding="SAME", data_format='NCHW')
tool_feats.append(tool_feat)
tool_feats = tf.concat(tool_feats, axis=1)
tool_feats = tf.reshape(tool_feats, [-1 ,3, 256, 90, 90])
tool_feats = tool_head(tool_feats, feat_dim)
h_min, h_max = tf.reduce_min(tool_feats,axis=[2,3,4], keepdims = True), tf.reduce_max(tool_feats,axis=[2,3,4], keepdims = True)
tool_heats = (tool_feats - h_min)/(h_max - h_min)
# tool_coord = integrate(tool_heat)
# tool_coords.append(tool_coord)
#tool_heats = tf.concat(tool_heats, axis=1)
#tool_coords = tf.stack(tool_coords, axis=1)
return input_data, tf.squeeze(tool_feats,axis=2)
def ResNet_bc(input_shape, # pylint: disable=invalid-name
output_dim,
padding,
tool_num = 3,
feat_dim = 256,
):
input_data = tf.keras.layers.Input(shape=input_shape)
# Initialize fully convolutional Residual Network with 43 layers and
# 8-stride (3 2x2 max pools and 3 2x bilinear upsampling)
# pick network
# d_in0, d_out0 = ResNet(input_data, output_dim, prefix='t0_')
# heatmap = tf.cast(tf.transpose(d_out0, [0, 3, 1, 2]), tf.float64)
# heatmap = tf.reshape(heatmap, [-1,64,90,90])
# if softmax:
# output = tf.nn.softmax(output)
# output = np.float32(output).reshape(logits.shape[1:])
# vis_feature net
# [None, 720, 720, 64]
# [None, 90, 90, 256]
d_in1, d_out1, emb1 = ResNet(input_data, output_dim, prefix='t1_', return_emb=True)
d_in2, d_out2, emb2 = ResNet(input_data, output_dim, prefix='t2_', return_emb=True)
x = tf.keras.layers.AveragePooling2D(pool_size=(256,256),strides=(1, 1), padding='valid')(d_out1)
x = tf.keras.layers.AveragePooling2D(pool_size=(256,256),strides=(1, 1), padding='valid')(x)
x = tf.keras.layers.AveragePooling2D(pool_size=(128,128),strides=(1, 1), padding='valid')(x)
x = tf.reduce_mean(x,axis=1)
x = tf.squeeze(x,axis=2)
x = tf.keras.layers.Dense(128, activation='relu')(x)
x = tf.keras.layers.Dense(64, activation='relu')(x)
x = tf.keras.layers.Dense(6, activation='relu')(x)
x2 = tf.reduce_mean(d_out2,axis=1)
x2 = tf.squeeze(x2,axis=2)
x2 = tf.keras.layers.Dense(128, activation='relu')(x)
x2 = tf.keras.layers.Dense(64, activation='relu')(x)
x2 = tf.keras.layers.Dense(3, activation='relu')(x)
# tool_coord = integrate(tool_heat)
# tool_coords.append(tool_coord)
#tool_heats = tf.concat(tool_heats, axis=1)
#tool_coords = tf.stack(tool_coords, axis=1)
return input_data, tf.concat((x,x2),axis=1)
def ResNet( input_data,
output_dim,
include_batchnorm=False,
batchnorm_axis=3,
prefix='',
cutoff_early=False,
return_emb = False
):
"""Build Resent 43 8s."""
x = tf.keras.layers.Conv2D(
64, (3, 3),
strides=(1, 1),
padding='same',
kernel_initializer='glorot_uniform',
name=prefix + 'conv1')(
input_data)
if include_batchnorm:
x = tf.keras.layers.BatchNormalization(
axis=batchnorm_axis, name=prefix + 'bn_conv1')(
x)
x = tf.keras.layers.ReLU()(x)
if cutoff_early:
x = conv_block(
x,
5, [64, 64, output_dim],
stage=2,
block=prefix + 'a',
strides=(1, 1),
include_batchnorm=include_batchnorm)
x = identity_block(
x,
5, [64, 64, output_dim],
stage=2,
block=prefix + 'b',
include_batchnorm=include_batchnorm)
return input_data, x
x = conv_block(
x, 3, [64, 64, 64], stage=2, block=prefix + 'a', strides=(1, 1))
x = identity_block(x, 3, [64, 64, 64], stage=2, block=prefix + 'b')
x = conv_block(
x, 3, [128, 128, 128], stage=3, block=prefix + 'a', strides=(2, 2))
x = identity_block(x, 3, [128, 128, 128], stage=3, block=prefix + 'b')
x = conv_block(
x, 3, [256, 256, 256], stage=4, block=prefix + 'a', strides=(2, 2))
x = identity_block(x, 3, [256, 256, 256], stage=4, block=prefix + 'b')
x = conv_block(
x, 3, [512, 512, 512], stage=5, block=prefix + 'a', strides=(2, 2))
x = identity_block(x, 3, [512, 512, 512], stage=5, block=prefix + 'b')
x = conv_block(
x, 3, [256, 256, 256], stage=6, block=prefix + 'a', strides=(1, 1))
x = identity_block(x, 3, [256, 256, 256], stage=6, block=prefix + 'b')
# [None, 90, 90, 256]
emb = x
x = tf.keras.layers.UpSampling2D(
size=(2, 2), interpolation='bilinear', name=prefix + 'upsample_1')(
x)
x = conv_block(
x, 3, [128, 128, 128], stage=7, block=prefix + 'a', strides=(1, 1))
x = identity_block(x, 3, [128, 128, 128], stage=7, block=prefix + 'b')
x = tf.keras.layers.UpSampling2D(
size=(2, 2), interpolation='bilinear', name=prefix + 'upsample_2')(
x)
x = conv_block(
x, 3, [64, 64, 64], stage=8, block=prefix + 'a', strides=(1, 1))
x = identity_block(x, 3, [64, 64, 64], stage=8, block=prefix + 'b')
x = tf.keras.layers.UpSampling2D(
size=(2, 2), interpolation='bilinear', name=prefix + 'upsample_3')(
x)
# [None, 720, 720, 64]
x = conv_block(
x,
3, [16, 16, output_dim],
stage=9,
block=prefix + 'a',
strides=(1, 1),
activation=False)
output = identity_block(
x, 3, [16, 16, output_dim], stage=9, block=prefix + 'b', activation=False)
if return_emb:
return input_data, output, emb
return input_data, output
def ResNet43_8s(input_shape, # pylint: disable=invalid-name
output_dim,
include_batchnorm=False,
batchnorm_axis=3,
prefix='',
cutoff_early=False,
return_emb = False
):
"""Build Resent 43 8s."""
# TODO(andyzeng): rename to ResNet36_4s
input_data = tf.keras.layers.Input(shape=input_shape)
x = tf.keras.layers.Conv2D(
64, (3, 3),
strides=(1, 1),
padding='same',
kernel_initializer='glorot_uniform',
name=prefix + 'conv1')(
input_data)
if include_batchnorm:
x = tf.keras.layers.BatchNormalization(
axis=batchnorm_axis, name=prefix + 'bn_conv1')(
x)
x = tf.keras.layers.ReLU()(x)
if cutoff_early:
x = conv_block(
x,
5, [64, 64, output_dim],
stage=2,
block=prefix + 'a',
strides=(1, 1),
include_batchnorm=include_batchnorm)
x = identity_block(
x,
5, [64, 64, output_dim],
stage=2,
block=prefix + 'b',
include_batchnorm=include_batchnorm)
return input_data, x
x = conv_block(
x, 3, [64, 64, 64], stage=2, block=prefix + 'a', strides=(1, 1))
x = identity_block(x, 3, [64, 64, 64], stage=2, block=prefix + 'b')
x = conv_block(
x, 3, [128, 128, 128], stage=3, block=prefix + 'a', strides=(2, 2))
x = identity_block(x, 3, [128, 128, 128], stage=3, block=prefix + 'b')
x = conv_block(
x, 3, [256, 256, 256], stage=4, block=prefix + 'a', strides=(2, 2))
x = identity_block(x, 3, [256, 256, 256], stage=4, block=prefix + 'b')
x = conv_block(
x, 3, [512, 512, 512], stage=5, block=prefix + 'a', strides=(2, 2))
x = identity_block(x, 3, [512, 512, 512], stage=5, block=prefix + 'b')
x = conv_block(
x, 3, [256, 256, 256], stage=6, block=prefix + 'a', strides=(1, 1))
x = identity_block(x, 3, [256, 256, 256], stage=6, block=prefix + 'b')
x = tf.keras.layers.UpSampling2D(
size=(2, 2), interpolation='bilinear', name=prefix + 'upsample_1')(
x)
x = conv_block(
x, 3, [128, 128, 128], stage=7, block=prefix + 'a', strides=(1, 1))
x = identity_block(x, 3, [128, 128, 128], stage=7, block=prefix + 'b')
x = tf.keras.layers.UpSampling2D(
size=(2, 2), interpolation='bilinear', name=prefix + 'upsample_2')(
x)
x = conv_block(
x, 3, [64, 64, 64], stage=8, block=prefix + 'a', strides=(1, 1))
x = identity_block(x, 3, [64, 64, 64], stage=8, block=prefix + 'b')
x = tf.keras.layers.UpSampling2D(
size=(2, 2), interpolation='bilinear', name=prefix + 'upsample_3')(
x)
emb = x
# [None, 720, 720, 64]
x = conv_block(
x,
3, [16, 16, output_dim],
stage=9,
block=prefix + 'a',
strides=(1, 1),
activation=False)
output = identity_block(
x, 3, [16, 16, output_dim], stage=9, block=prefix + 'b', activation=False)
if return_emb:
return input_data, output, emb
return input_data, output
def ResNet36_4s(input_shape, # pylint: disable=invalid-name
output_dim,
include_batchnorm=False,
batchnorm_axis=3,
prefix='',
cutoff_early=False):
"""Build Resent 36 4s."""
# TODO(andyzeng): rename to ResNet36_4s
input_data = tf.keras.layers.Input(shape=input_shape)
x = tf.keras.layers.Conv2D(
64, (3, 3),
strides=(1, 1),
padding='same',
kernel_initializer='glorot_uniform',
name=prefix + 'conv1')(
input_data)
if include_batchnorm:
x = tf.keras.layers.BatchNormalization(
axis=batchnorm_axis, name=prefix + 'bn_conv1')(
x)
x = tf.keras.layers.ReLU()(x)
if cutoff_early:
x = conv_block(
x,
5, [64, 64, output_dim],
stage=2,
block=prefix + 'a',
strides=(1, 1),
include_batchnorm=include_batchnorm)
x = identity_block(
x,
5, [64, 64, output_dim],
stage=2,
block=prefix + 'b',
include_batchnorm=include_batchnorm)
return input_data, x
x = conv_block(
x, 3, [64, 64, 64], stage=2, block=prefix + 'a', strides=(1, 1))
x = identity_block(x, 3, [64, 64, 64], stage=2, block=prefix + 'b')
x = conv_block(
x, 3, [64, 64, 64], stage=3, block=prefix + 'a', strides=(2, 2))
x = identity_block(x, 3, [64, 64, 64], stage=3, block=prefix + 'b')
x = conv_block(
x, 3, [64, 64, 64], stage=4, block=prefix + 'a', strides=(2, 2))
x = identity_block(x, 3, [64, 64, 64], stage=4, block=prefix + 'b')
x = tf.keras.layers.UpSampling2D(
size=(2, 2), interpolation='bilinear', name=prefix + 'upsample_2')(
x)
x = conv_block(
x, 3, [64, 64, 64], stage=8, block=prefix + 'a', strides=(1, 1))
x = identity_block(x, 3, [64, 64, 64], stage=8, block=prefix + 'b')
x = tf.keras.layers.UpSampling2D(
size=(2, 2), interpolation='bilinear', name=prefix + 'upsample_3')(
x)
x = conv_block(
x,
3, [16, 16, output_dim],
stage=9,
block=prefix + 'a',
strides=(1, 1),
activation=False)
output = identity_block(
x, 3, [16, 16, output_dim], stage=9, block=prefix + 'b', activation=False)
return input_data, output
| 30.504747 | 161 | 0.657503 | 3,000 | 19,279 | 4.081333 | 0.095333 | 0.033731 | 0.062643 | 0.056027 | 0.82326 | 0.810438 | 0.790918 | 0.779647 | 0.747631 | 0.742976 | 0 | 0.063926 | 0.183723 | 19,279 | 631 | 162 | 30.55309 | 0.714113 | 0.210125 | 0 | 0.819905 | 0 | 0 | 0.040586 | 0 | 0 | 0 | 0 | 0.001585 | 0 | 1 | 0.021327 | false | 0 | 0.016588 | 0 | 0.07109 | 0.00237 | 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 |
6eaf7e664b3a0df6f64884baacc51c62cc5d30b4 | 59,254 | py | Python | quay/api/organization_api.py | angeiv/python-quay | 16072f87956d8f581ac9ebccc67f6563e977cf52 | [
"MIT"
] | null | null | null | quay/api/organization_api.py | angeiv/python-quay | 16072f87956d8f581ac9ebccc67f6563e977cf52 | [
"MIT"
] | null | null | null | quay/api/organization_api.py | angeiv/python-quay | 16072f87956d8f581ac9ebccc67f6563e977cf52 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Quay Frontend
This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. # noqa: E501
OpenAPI spec version: v1
Contact: support@quay.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
import six
from quay.api_client import ApiClient
class OrganizationApi(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
Ref: https://github.com/swagger-api/swagger-codegen
"""
def __init__(self, api_client=None):
if api_client is None:
api_client = ApiClient()
self.api_client = api_client
def change_organization_details(self, body, orgname, **kwargs): # noqa: E501
"""change_organization_details # noqa: E501
Change the details for the specified organization. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.change_organization_details(body, orgname, async_req=True)
>>> result = thread.get()
:param async_req bool
:param UpdateOrg body: Request body contents. (required)
:param str orgname: The name of the organization (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.change_organization_details_with_http_info(body, orgname, **kwargs) # noqa: E501
else:
(data) = self.change_organization_details_with_http_info(body, orgname, **kwargs) # noqa: E501
return data
def change_organization_details_with_http_info(self, body, orgname, **kwargs): # noqa: E501
"""change_organization_details # noqa: E501
Change the details for the specified organization. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.change_organization_details_with_http_info(body, orgname, async_req=True)
>>> result = thread.get()
:param async_req bool
:param UpdateOrg body: Request body contents. (required)
:param str orgname: The name of the organization (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['body', 'orgname'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method change_organization_details" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'body' is set
if ('body' not in params or
params['body'] is None):
raise ValueError("Missing the required parameter `body` when calling `change_organization_details`") # noqa: E501
# verify the required parameter 'orgname' is set
if ('orgname' not in params or
params['orgname'] is None):
raise ValueError("Missing the required parameter `orgname` when calling `change_organization_details`") # noqa: E501
collection_formats = {}
path_params = {}
if 'orgname' in params:
path_params['orgname'] = params['orgname'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'body' in params:
body_params = params['body']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['*/*']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['*/*']) # noqa: E501
# Authentication setting
auth_settings = ['oauth2_implicit'] # noqa: E501
return self.api_client.call_api(
'/api/v1/organization/{orgname}', 'PUT',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def create_organization(self, body, **kwargs): # noqa: E501
"""create_organization # noqa: E501
Create a new organization. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_organization(body, async_req=True)
>>> result = thread.get()
:param async_req bool
:param NewOrg body: Request body contents. (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.create_organization_with_http_info(body, **kwargs) # noqa: E501
else:
(data) = self.create_organization_with_http_info(body, **kwargs) # noqa: E501
return data
def create_organization_with_http_info(self, body, **kwargs): # noqa: E501
"""create_organization # noqa: E501
Create a new organization. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_organization_with_http_info(body, async_req=True)
>>> result = thread.get()
:param async_req bool
:param NewOrg body: Request body contents. (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['body'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method create_organization" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'body' is set
if ('body' not in params or
params['body'] is None):
raise ValueError("Missing the required parameter `body` when calling `create_organization`") # noqa: E501
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'body' in params:
body_params = params['body']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['*/*']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['*/*']) # noqa: E501
# Authentication setting
auth_settings = ['oauth2_implicit'] # noqa: E501
return self.api_client.call_api(
'/api/v1/organization/', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def create_organization_application(self, body, orgname, **kwargs): # noqa: E501
"""create_organization_application # noqa: E501
Creates a new application under this organization. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_organization_application(body, orgname, async_req=True)
>>> result = thread.get()
:param async_req bool
:param NewApp body: Request body contents. (required)
:param str orgname: The name of the organization (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.create_organization_application_with_http_info(body, orgname, **kwargs) # noqa: E501
else:
(data) = self.create_organization_application_with_http_info(body, orgname, **kwargs) # noqa: E501
return data
def create_organization_application_with_http_info(self, body, orgname, **kwargs): # noqa: E501
"""create_organization_application # noqa: E501
Creates a new application under this organization. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_organization_application_with_http_info(body, orgname, async_req=True)
>>> result = thread.get()
:param async_req bool
:param NewApp body: Request body contents. (required)
:param str orgname: The name of the organization (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['body', 'orgname'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method create_organization_application" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'body' is set
if ('body' not in params or
params['body'] is None):
raise ValueError("Missing the required parameter `body` when calling `create_organization_application`") # noqa: E501
# verify the required parameter 'orgname' is set
if ('orgname' not in params or
params['orgname'] is None):
raise ValueError("Missing the required parameter `orgname` when calling `create_organization_application`") # noqa: E501
collection_formats = {}
path_params = {}
if 'orgname' in params:
path_params['orgname'] = params['orgname'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'body' in params:
body_params = params['body']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['*/*']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['*/*']) # noqa: E501
# Authentication setting
auth_settings = ['oauth2_implicit'] # noqa: E501
return self.api_client.call_api(
'/api/v1/organization/{orgname}/applications', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def delete_admined_organization(self, orgname, **kwargs): # noqa: E501
"""delete_admined_organization # noqa: E501
Deletes the specified organization. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_admined_organization(orgname, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str orgname: The name of the organization (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_admined_organization_with_http_info(orgname, **kwargs) # noqa: E501
else:
(data) = self.delete_admined_organization_with_http_info(orgname, **kwargs) # noqa: E501
return data
def delete_admined_organization_with_http_info(self, orgname, **kwargs): # noqa: E501
"""delete_admined_organization # noqa: E501
Deletes the specified organization. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_admined_organization_with_http_info(orgname, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str orgname: The name of the organization (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['orgname'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method delete_admined_organization" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'orgname' is set
if ('orgname' not in params or
params['orgname'] is None):
raise ValueError("Missing the required parameter `orgname` when calling `delete_admined_organization`") # noqa: E501
collection_formats = {}
path_params = {}
if 'orgname' in params:
path_params['orgname'] = params['orgname'] # 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(
['*/*']) # noqa: E501
# Authentication setting
auth_settings = ['oauth2_implicit'] # noqa: E501
return self.api_client.call_api(
'/api/v1/organization/{orgname}', 'DELETE',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def delete_organization_application(self, orgname, client_id, **kwargs): # noqa: E501
"""delete_organization_application # noqa: E501
Deletes the application under this organization. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_organization_application(orgname, client_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str orgname: The name of the organization (required)
:param str client_id: The OAuth client ID (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_organization_application_with_http_info(orgname, client_id, **kwargs) # noqa: E501
else:
(data) = self.delete_organization_application_with_http_info(orgname, client_id, **kwargs) # noqa: E501
return data
def delete_organization_application_with_http_info(self, orgname, client_id, **kwargs): # noqa: E501
"""delete_organization_application # noqa: E501
Deletes the application under this organization. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_organization_application_with_http_info(orgname, client_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str orgname: The name of the organization (required)
:param str client_id: The OAuth client ID (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['orgname', 'client_id'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method delete_organization_application" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'orgname' is set
if ('orgname' not in params or
params['orgname'] is None):
raise ValueError("Missing the required parameter `orgname` when calling `delete_organization_application`") # noqa: E501
# verify the required parameter 'client_id' is set
if ('client_id' not in params or
params['client_id'] is None):
raise ValueError("Missing the required parameter `client_id` when calling `delete_organization_application`") # noqa: E501
collection_formats = {}
path_params = {}
if 'orgname' in params:
path_params['orgname'] = params['orgname'] # noqa: E501
if 'client_id' in params:
path_params['client_id'] = params['client_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(
['*/*']) # noqa: E501
# Authentication setting
auth_settings = ['oauth2_implicit'] # noqa: E501
return self.api_client.call_api(
'/api/v1/organization/{orgname}/applications/{client_id}', 'DELETE',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def get_application_information(self, client_id, **kwargs): # noqa: E501
"""get_application_information # noqa: E501
Get information on the specified application. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_application_information(client_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str client_id: The OAuth client ID (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.get_application_information_with_http_info(client_id, **kwargs) # noqa: E501
else:
(data) = self.get_application_information_with_http_info(client_id, **kwargs) # noqa: E501
return data
def get_application_information_with_http_info(self, client_id, **kwargs): # noqa: E501
"""get_application_information # noqa: E501
Get information on the specified application. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_application_information_with_http_info(client_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str client_id: The OAuth client ID (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['client_id'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method get_application_information" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'client_id' is set
if ('client_id' not in params or
params['client_id'] is None):
raise ValueError("Missing the required parameter `client_id` when calling `get_application_information`") # noqa: E501
collection_formats = {}
path_params = {}
if 'client_id' in params:
path_params['client_id'] = params['client_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(
['*/*']) # noqa: E501
# Authentication setting
auth_settings = [] # noqa: E501
return self.api_client.call_api(
'/api/v1/app/{client_id}', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def get_organization(self, orgname, **kwargs): # noqa: E501
"""get_organization # noqa: E501
Get the details for the specified organization. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_organization(orgname, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str orgname: The name of the organization (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.get_organization_with_http_info(orgname, **kwargs) # noqa: E501
else:
(data) = self.get_organization_with_http_info(orgname, **kwargs) # noqa: E501
return data
def get_organization_with_http_info(self, orgname, **kwargs): # noqa: E501
"""get_organization # noqa: E501
Get the details for the specified organization. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_organization_with_http_info(orgname, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str orgname: The name of the organization (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['orgname'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method get_organization" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'orgname' is set
if ('orgname' not in params or
params['orgname'] is None):
raise ValueError("Missing the required parameter `orgname` when calling `get_organization`") # noqa: E501
collection_formats = {}
path_params = {}
if 'orgname' in params:
path_params['orgname'] = params['orgname'] # 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(
['*/*']) # noqa: E501
# Authentication setting
auth_settings = [] # noqa: E501
return self.api_client.call_api(
'/api/v1/organization/{orgname}', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def get_organization_application(self, orgname, client_id, **kwargs): # noqa: E501
"""get_organization_application # noqa: E501
Retrieves the application with the specified client_id under the specified organization. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_organization_application(orgname, client_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str orgname: The name of the organization (required)
:param str client_id: The OAuth client ID (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.get_organization_application_with_http_info(orgname, client_id, **kwargs) # noqa: E501
else:
(data) = self.get_organization_application_with_http_info(orgname, client_id, **kwargs) # noqa: E501
return data
def get_organization_application_with_http_info(self, orgname, client_id, **kwargs): # noqa: E501
"""get_organization_application # noqa: E501
Retrieves the application with the specified client_id under the specified organization. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_organization_application_with_http_info(orgname, client_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str orgname: The name of the organization (required)
:param str client_id: The OAuth client ID (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['orgname', 'client_id'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method get_organization_application" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'orgname' is set
if ('orgname' not in params or
params['orgname'] is None):
raise ValueError("Missing the required parameter `orgname` when calling `get_organization_application`") # noqa: E501
# verify the required parameter 'client_id' is set
if ('client_id' not in params or
params['client_id'] is None):
raise ValueError("Missing the required parameter `client_id` when calling `get_organization_application`") # noqa: E501
collection_formats = {}
path_params = {}
if 'orgname' in params:
path_params['orgname'] = params['orgname'] # noqa: E501
if 'client_id' in params:
path_params['client_id'] = params['client_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(
['*/*']) # noqa: E501
# Authentication setting
auth_settings = ['oauth2_implicit'] # noqa: E501
return self.api_client.call_api(
'/api/v1/organization/{orgname}/applications/{client_id}', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def get_organization_applications(self, orgname, **kwargs): # noqa: E501
"""get_organization_applications # noqa: E501
List the applications for the specified organization. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_organization_applications(orgname, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str orgname: The name of the organization (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.get_organization_applications_with_http_info(orgname, **kwargs) # noqa: E501
else:
(data) = self.get_organization_applications_with_http_info(orgname, **kwargs) # noqa: E501
return data
def get_organization_applications_with_http_info(self, orgname, **kwargs): # noqa: E501
"""get_organization_applications # noqa: E501
List the applications for the specified organization. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_organization_applications_with_http_info(orgname, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str orgname: The name of the organization (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['orgname'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method get_organization_applications" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'orgname' is set
if ('orgname' not in params or
params['orgname'] is None):
raise ValueError("Missing the required parameter `orgname` when calling `get_organization_applications`") # noqa: E501
collection_formats = {}
path_params = {}
if 'orgname' in params:
path_params['orgname'] = params['orgname'] # 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(
['*/*']) # noqa: E501
# Authentication setting
auth_settings = ['oauth2_implicit'] # noqa: E501
return self.api_client.call_api(
'/api/v1/organization/{orgname}/applications', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def get_organization_collaborators(self, orgname, **kwargs): # noqa: E501
"""get_organization_collaborators # noqa: E501
List outside collaborators of the specified organization. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_organization_collaborators(orgname, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str orgname: The name of the organization (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.get_organization_collaborators_with_http_info(orgname, **kwargs) # noqa: E501
else:
(data) = self.get_organization_collaborators_with_http_info(orgname, **kwargs) # noqa: E501
return data
def get_organization_collaborators_with_http_info(self, orgname, **kwargs): # noqa: E501
"""get_organization_collaborators # noqa: E501
List outside collaborators of the specified organization. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_organization_collaborators_with_http_info(orgname, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str orgname: The name of the organization (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['orgname'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method get_organization_collaborators" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'orgname' is set
if ('orgname' not in params or
params['orgname'] is None):
raise ValueError("Missing the required parameter `orgname` when calling `get_organization_collaborators`") # noqa: E501
collection_formats = {}
path_params = {}
if 'orgname' in params:
path_params['orgname'] = params['orgname'] # 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(
['*/*']) # noqa: E501
# Authentication setting
auth_settings = ['oauth2_implicit'] # noqa: E501
return self.api_client.call_api(
'/api/v1/organization/{orgname}/collaborators', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def get_organization_member(self, orgname, membername, **kwargs): # noqa: E501
"""get_organization_member # noqa: E501
Retrieves the details of a member of the organization. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_organization_member(orgname, membername, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str orgname: The name of the organization (required)
:param str membername: The username of the organization member (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.get_organization_member_with_http_info(orgname, membername, **kwargs) # noqa: E501
else:
(data) = self.get_organization_member_with_http_info(orgname, membername, **kwargs) # noqa: E501
return data
def get_organization_member_with_http_info(self, orgname, membername, **kwargs): # noqa: E501
"""get_organization_member # noqa: E501
Retrieves the details of a member of the organization. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_organization_member_with_http_info(orgname, membername, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str orgname: The name of the organization (required)
:param str membername: The username of the organization member (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['orgname', 'membername'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method get_organization_member" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'orgname' is set
if ('orgname' not in params or
params['orgname'] is None):
raise ValueError("Missing the required parameter `orgname` when calling `get_organization_member`") # noqa: E501
# verify the required parameter 'membername' is set
if ('membername' not in params or
params['membername'] is None):
raise ValueError("Missing the required parameter `membername` when calling `get_organization_member`") # noqa: E501
collection_formats = {}
path_params = {}
if 'orgname' in params:
path_params['orgname'] = params['orgname'] # noqa: E501
if 'membername' in params:
path_params['membername'] = params['membername'] # 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(
['*/*']) # noqa: E501
# Authentication setting
auth_settings = ['oauth2_implicit'] # noqa: E501
return self.api_client.call_api(
'/api/v1/organization/{orgname}/members/{membername}', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def get_organization_members(self, orgname, **kwargs): # noqa: E501
"""get_organization_members # noqa: E501
List the human members of the specified organization. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_organization_members(orgname, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str orgname: The name of the organization (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.get_organization_members_with_http_info(orgname, **kwargs) # noqa: E501
else:
(data) = self.get_organization_members_with_http_info(orgname, **kwargs) # noqa: E501
return data
def get_organization_members_with_http_info(self, orgname, **kwargs): # noqa: E501
"""get_organization_members # noqa: E501
List the human members of the specified organization. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_organization_members_with_http_info(orgname, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str orgname: The name of the organization (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['orgname'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method get_organization_members" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'orgname' is set
if ('orgname' not in params or
params['orgname'] is None):
raise ValueError("Missing the required parameter `orgname` when calling `get_organization_members`") # noqa: E501
collection_formats = {}
path_params = {}
if 'orgname' in params:
path_params['orgname'] = params['orgname'] # 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(
['*/*']) # noqa: E501
# Authentication setting
auth_settings = ['oauth2_implicit'] # noqa: E501
return self.api_client.call_api(
'/api/v1/organization/{orgname}/members', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def remove_organization_member(self, orgname, membername, **kwargs): # noqa: E501
"""remove_organization_member # noqa: E501
Removes a member from an organization, revoking all its repository priviledges and removing it from all teams in the organization. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.remove_organization_member(orgname, membername, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str orgname: The name of the organization (required)
:param str membername: The username of the organization member (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.remove_organization_member_with_http_info(orgname, membername, **kwargs) # noqa: E501
else:
(data) = self.remove_organization_member_with_http_info(orgname, membername, **kwargs) # noqa: E501
return data
def remove_organization_member_with_http_info(self, orgname, membername, **kwargs): # noqa: E501
"""remove_organization_member # noqa: E501
Removes a member from an organization, revoking all its repository priviledges and removing it from all teams in the organization. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.remove_organization_member_with_http_info(orgname, membername, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str orgname: The name of the organization (required)
:param str membername: The username of the organization member (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['orgname', 'membername'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method remove_organization_member" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'orgname' is set
if ('orgname' not in params or
params['orgname'] is None):
raise ValueError("Missing the required parameter `orgname` when calling `remove_organization_member`") # noqa: E501
# verify the required parameter 'membername' is set
if ('membername' not in params or
params['membername'] is None):
raise ValueError("Missing the required parameter `membername` when calling `remove_organization_member`") # noqa: E501
collection_formats = {}
path_params = {}
if 'orgname' in params:
path_params['orgname'] = params['orgname'] # noqa: E501
if 'membername' in params:
path_params['membername'] = params['membername'] # 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(
['*/*']) # noqa: E501
# Authentication setting
auth_settings = ['oauth2_implicit'] # noqa: E501
return self.api_client.call_api(
'/api/v1/organization/{orgname}/members/{membername}', 'DELETE',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def update_organization_application(self, body, orgname, client_id, **kwargs): # noqa: E501
"""update_organization_application # noqa: E501
Updates an application under this organization. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_organization_application(body, orgname, client_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param UpdateApp body: Request body contents. (required)
:param str orgname: The name of the organization (required)
:param str client_id: The OAuth client ID (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.update_organization_application_with_http_info(body, orgname, client_id, **kwargs) # noqa: E501
else:
(data) = self.update_organization_application_with_http_info(body, orgname, client_id, **kwargs) # noqa: E501
return data
def update_organization_application_with_http_info(self, body, orgname, client_id, **kwargs): # noqa: E501
"""update_organization_application # noqa: E501
Updates an application under this organization. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_organization_application_with_http_info(body, orgname, client_id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param UpdateApp body: Request body contents. (required)
:param str orgname: The name of the organization (required)
:param str client_id: The OAuth client ID (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['body', 'orgname', 'client_id'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method update_organization_application" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'body' is set
if ('body' not in params or
params['body'] is None):
raise ValueError("Missing the required parameter `body` when calling `update_organization_application`") # noqa: E501
# verify the required parameter 'orgname' is set
if ('orgname' not in params or
params['orgname'] is None):
raise ValueError("Missing the required parameter `orgname` when calling `update_organization_application`") # noqa: E501
# verify the required parameter 'client_id' is set
if ('client_id' not in params or
params['client_id'] is None):
raise ValueError("Missing the required parameter `client_id` when calling `update_organization_application`") # noqa: E501
collection_formats = {}
path_params = {}
if 'orgname' in params:
path_params['orgname'] = params['orgname'] # noqa: E501
if 'client_id' in params:
path_params['client_id'] = params['client_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'body' in params:
body_params = params['body']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['*/*']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['*/*']) # noqa: E501
# Authentication setting
auth_settings = ['oauth2_implicit'] # noqa: E501
return self.api_client.call_api(
'/api/v1/organization/{orgname}/applications/{client_id}', 'PUT',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
| 41.034626 | 201 | 0.61746 | 6,628 | 59,254 | 5.280024 | 0.030779 | 0.049606 | 0.022403 | 0.028803 | 0.978369 | 0.975311 | 0.971482 | 0.964596 | 0.960538 | 0.956824 | 0 | 0.016364 | 0.294562 | 59,254 | 1,443 | 202 | 41.063063 | 0.820861 | 0.333395 | 0 | 0.831847 | 0 | 0 | 0.196683 | 0.067169 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036943 | false | 0 | 0.005096 | 0 | 0.096815 | 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 |
6ee37c1e38862b3397b7350436e8b36e7675d923 | 25,069 | py | Python | tests/test_sendoff.py | pechersky/sendoff | b83ac028adc9e254cd0e275f60d29ce1c5ea1f2e | [
"MIT"
] | 2 | 2021-09-28T09:53:53.000Z | 2021-10-01T17:45:29.000Z | tests/test_sendoff.py | pechersky/sendoff | b83ac028adc9e254cd0e275f60d29ce1c5ea1f2e | [
"MIT"
] | 10 | 2021-09-17T22:14:37.000Z | 2022-03-21T16:25:39.000Z | tests/test_sendoff.py | pechersky/sendoff | b83ac028adc9e254cd0e275f60d29ce1c5ea1f2e | [
"MIT"
] | 1 | 2021-09-27T15:55:40.000Z | 2021-09-27T15:55:40.000Z | # mypy: allow-untyped-decorators
"""Test sendoff parsing of metadata on generated SDFs."""
import io
from itertools import chain
import pytest
from sendoff.ctable import (
IndicesDuplicateError,
IndicesMismatchError,
IndicesOutOfOrderError,
)
from sendoff.sdblock import Pathy, SDBlock, parse_sdf
def test_single_mol_read(single_mol_sdf: Pathy) -> None:
"""An sdf of a single molecule contains one molecule.
Args:
single_mol_sdf: pytest fixture of a Path to the sdf
"""
mols = list(parse_sdf(single_mol_sdf))
assert len(mols) == 1
def test_double_mol_read(double_mol_sdf: Pathy) -> None:
"""An sdf of two molecule contains two molecules.
Args:
double_mol_sdf: pytest fixture of a Path to the sdf
"""
mols = list(parse_sdf(double_mol_sdf))
assert len(mols) == 2
def test_titled_mol_read(single_titled_mol_sdf: Pathy) -> None:
"""An sdf of a single titled molecule contains it with the expected title.
Args:
single_titled_mol_sdf: pytest fixture of a Path to the sdf
"""
mol: SDBlock = next(parse_sdf(single_titled_mol_sdf))
assert mol.title == "Title"
@pytest.mark.xfail # sendoff does not support SDF titles that start with $$$$
def test_first_delimiter_titled_mol_read(
double_first_delimiter_titled_mol_sdf: Pathy,
) -> None:
"""SDF with 1st molecule delimiter titled, containing with expected titles.
Args:
double_first_delimiter_titled_mol_sdf: pytest fixture of a Path to sdf
"""
supp = parse_sdf(double_first_delimiter_titled_mol_sdf)
mol: SDBlock = next(supp)
other_mol: SDBlock = next(supp)
assert mol.title == "$$$$"
assert other_mol.title == "Title"
def test_second_delimiter_titled_mol_read(
double_second_delimiter_titled_mol_sdf: Pathy,
) -> None:
"""SDF with 2nd molecule delimiter titled, containing with expected titles.
Args:
double_second_delimiter_titled_mol_sdf: pytest fixture of a Path to sdf
"""
supp = parse_sdf(double_second_delimiter_titled_mol_sdf)
other_mol: SDBlock = next(supp)
mol: SDBlock = next(supp)
assert other_mol.title == "Title"
assert mol.title == "$$$$"
def test_single_record_mol_read(single_record_mol_sdf: Pathy) -> None:
"""An sdf of a delimiter record valued molecule contains the expected data.
Args:
single_record_mol_sdf: pytest fixture of a Path to the sdf
"""
mol = next(parse_sdf(single_record_mol_sdf))
records = list(mol.records())
assert ("Record", "Value") in records
@pytest.mark.xfail # sendoff does not support metadata vals starting with $$$$
def test_delimiter_record_mol_read(
single_delimiter_record_mol_sdf: Pathy,
) -> None:
"""An sdf of a delimiter record valued molecule contains the expected data.
Args:
single_delimiter_record_mol_sdf: pytest fixture of a Path to the sdf
"""
mol = next(parse_sdf(single_delimiter_record_mol_sdf))
records = list(mol.records())
assert ("Record", "$$$$") in records
def test_multiline_record_mol_read(
single_multiline_record_mol_sdf: Pathy,
) -> None:
"""An sdf of a multiline record valued molecule contains the expected data.
Args:
single_multiline_record_mol_sdf: pytest fixture of a Path to the sdf
"""
mol = next(parse_sdf(single_multiline_record_mol_sdf))
records = list(mol.records())
assert ("Record", "0\n1\n2\n3") in records
def test_empty_string_record_mol_read(
single_empty_string_record_mol_sdf: Pathy,
) -> None:
"""An sdf of an empty string record valued molecule contains the expected data.
Args:
single_empty_string_record_mol_sdf: pytest fixture of a Path to the sdf
"""
mol = next(parse_sdf(single_empty_string_record_mol_sdf))
records = list(mol.records())
assert ("Record", "") in records
def test_multiline_record_name_mol_read(
single_multiline_record_name_mol_sdf: Pathy,
) -> None:
"""An sdf of a multiline record name molecule cannot contain the expected data.
Args:
single_multiline_record_name_mol_sdf: fixture of a Path to the sdf
"""
mol = next(parse_sdf(single_multiline_record_name_mol_sdf))
records = list(mol.records())
assert "Rec\nord" not in map(str, chain(zip(*records)))
def test_single_mol_newline_write(single_mol_sdf: Pathy) -> None:
"""An sdf block gets written with as many lines as the input.
Args:
single_mol_sdf: pytest fixture of a Path to the sdf
"""
mols = list(parse_sdf(single_mol_sdf))
buffer = io.StringIO()
for mol in mols:
mol.write(buffer)
assert len(buffer.getvalue().splitlines()) == len(
open(single_mol_sdf).read().splitlines()
)
def test_single_mol_newline_write_splitlines(single_mol_sdf: Pathy) -> None:
"""An sdf block gets written with as many lines as a splitlines input.
Args:
single_mol_sdf: pytest fixture of a Path to the sdf
"""
mols = list(SDBlock.from_lines(open(single_mol_sdf).read().splitlines()))
buffer = io.StringIO()
for mol in mols:
mol.write(buffer)
assert len(buffer.getvalue().splitlines()) == len(
open(single_mol_sdf).read().splitlines()
)
def test_single_mol_newline_write_splitlines_no_trailing(single_mol_sdf: Pathy) -> None:
"""An sdf block written with no trailing newlines has fewer lines than splitlines input.
Args:
single_mol_sdf: pytest fixture of a Path to the sdf
"""
mols = list(SDBlock.from_lines(open(single_mol_sdf).read().splitlines()))
buffer = io.StringIO()
for mol in mols:
mol.write(buffer, with_newlines=False)
assert len(buffer.getvalue().splitlines()) < len(
open(single_mol_sdf).read().splitlines()
)
def test_right_angle_bracket_record_name_mol_read(
single_right_angle_bracket_record_name_mol_sdf: Pathy,
) -> None:
"""An sdf with a record name with a ">" is present in the read data as expected.
Args:
single_right_angle_bracket_record_name_mol_sdf: fixture of a Path to the sdf
"""
mol: SDBlock = next(parse_sdf(single_right_angle_bracket_record_name_mol_sdf))
records = list(mol.records())
assert records == [("Rec>ord", "Value")]
def test_0_atoms_mol_num_atoms(single_0_atoms_mol_sdf: Pathy) -> None:
"""An sdf block with 0 atoms written parses as 0 atoms.
Args:
single_0_atoms_mol_sdf: pytest fixture of a Path to the sdf
"""
mol: SDBlock = next(parse_sdf(single_0_atoms_mol_sdf))
assert mol.num_atoms() == 0
def test_star_atom_mol_num_atoms(single_star_atom_mol_sdf: Pathy) -> None:
"""An sdf block with a single star atom written parses as 1 atom.
Args:
single_star_atom_mol_sdf: pytest fixture of a Path to the sdf
"""
mol: SDBlock = next(parse_sdf(single_star_atom_mol_sdf))
assert mol.num_atoms() == 1
def test_999_atoms_mol_num_atoms(single_999_atoms_mol_sdf: Pathy) -> None:
"""An sdf block with 999 atoms written parses as 999 atoms.
Args:
single_999_atoms_mol_sdf: pytest fixture of a Path to the sdf
"""
mol: SDBlock = next(parse_sdf(single_999_atoms_mol_sdf))
assert mol.num_atoms() == 999
def test_1001_atoms_mol_num_atoms(single_1001_atoms_mol_sdf: Pathy) -> None:
"""An sdf block with 1001 atoms written parses as 1001 atoms.
Args:
single_1001_atoms_mol_sdf: pytest fixture of a Path to the sdf
"""
mol: SDBlock = next(parse_sdf(single_1001_atoms_mol_sdf))
assert mol.num_atoms() == 1001
def test_0_atoms_mol_num_bonds(single_0_atoms_mol_sdf: Pathy) -> None:
"""An sdf block with 0 atoms written parses as 0 bonds.
Args:
single_0_atoms_mol_sdf: pytest fixture of a Path to the sdf
"""
mol: SDBlock = next(parse_sdf(single_0_atoms_mol_sdf))
assert mol.num_bonds() == 0
def test_star_atom_mol_num_bonds(single_star_atom_mol_sdf: Pathy) -> None:
"""An sdf block with a single star atom written parses as 0 bonds.
Args:
single_star_atom_mol_sdf: pytest fixture of a Path to the sdf
"""
mol: SDBlock = next(parse_sdf(single_star_atom_mol_sdf))
assert mol.num_bonds() == 0
def test_999_atoms_mol_num_bonds(single_999_atoms_mol_sdf: Pathy) -> None:
"""An sdf block with 999 atoms written parses as 998 bonds.
Args:
single_999_atoms_mol_sdf: pytest fixture of a Path to the sdf
"""
mol: SDBlock = next(parse_sdf(single_999_atoms_mol_sdf))
assert mol.num_bonds() == 998
def test_1001_atoms_mol_num_bonds(single_1001_atoms_mol_sdf: Pathy) -> None:
"""An sdf block with 1001 atoms written parses as 1000 bonds.
Args:
single_1001_atoms_mol_sdf: pytest fixture of a Path to the sdf
"""
mol: SDBlock = next(parse_sdf(single_1001_atoms_mol_sdf))
assert mol.num_bonds() == 1000
def test_single_mol_v2000_sdf_valid_atom_indices_not_implemented(
single_mol_v2000_sdf: Pathy,
) -> None:
"""A v2000 sdf block cannot yet be validated for atom indices.
Args:
single_mol_v2000_sdf: pytest fixture of a Path to the sdf
"""
mol: SDBlock = next(parse_sdf(single_mol_v2000_sdf))
ctable = mol.ctable()
with pytest.raises(NotImplementedError):
assert ctable.valid_atom_indices()
def test_single_mol_v2000_sdf_valid_bond_indices_not_implemented(
single_mol_v2000_sdf: Pathy,
) -> None:
"""A v2000 sdf block cannot yet be validated for bond indices.
Args:
single_mol_v2000_sdf: pytest fixture of a Path to the sdf
"""
mol: SDBlock = next(parse_sdf(single_mol_v2000_sdf))
ctable = mol.ctable()
with pytest.raises(NotImplementedError):
assert ctable.valid_bond_indices()
def test_single_large_atom_index_valid_atom_indices(
single_large_atom_index_v3000_sdf: Pathy,
) -> None:
"""An sdf block with large atom indices has valid indices.
That means that the number of atoms matches the counts line,
and each index is unique and integer.
Does not check that the indices are 1-indexed and in order.
Args:
single_large_atom_index_v3000_sdf: pytest fixture of a Path to the sdf
"""
mol: SDBlock = next(parse_sdf(single_large_atom_index_v3000_sdf))
ctable = mol.ctable()
assert ctable.valid_atom_indices()
def test_single_large_atom_index_strict_invalid_atom_indices(
single_large_atom_index_v3000_sdf: Pathy,
) -> None:
"""An sdf block with large atom indices has invalid indices, when strict.
That means that the number of atoms matches the counts line,
and each index is unique and integer.
However, the indices are not 1-indexed and in order.
Args:
single_large_atom_index_v3000_sdf: pytest fixture of a Path to the sdf
"""
mol: SDBlock = next(parse_sdf(single_large_atom_index_v3000_sdf))
ctable = mol.ctable()
with pytest.raises(IndicesOutOfOrderError, match="atoms"):
ctable.valid_atom_indices(strict=True)
def test_single_large_bond_index_valid_bond_indices(
single_large_bond_index_v3000_sdf: Pathy,
) -> None:
"""An sdf block with large bond indices has valid indices.
That means that the number of bonds matches the counts line,
and each index is unique and integer.
Does not check that the indices are 1-indexed and in order.
Args:
single_large_bond_index_v3000_sdf: pytest fixture of a Path to the sdf
"""
mol: SDBlock = next(parse_sdf(single_large_bond_index_v3000_sdf))
ctable = mol.ctable()
assert ctable.valid_bond_indices()
def test_single_large_bond_index_strict_invalid_bond_indices(
single_large_bond_index_v3000_sdf: Pathy,
) -> None:
"""An sdf block with large bond indices has invalid indices, when strict.
That means that the number of bonds matches the counts line,
and each index is unique and integer.
However, the indices are not 1-indexed and in order.
Args:
single_large_bond_index_v3000_sdf: pytest fixture of a Path to the sdf
"""
mol: SDBlock = next(parse_sdf(single_large_bond_index_v3000_sdf))
ctable = mol.ctable()
with pytest.raises(IndicesOutOfOrderError, match="bonds"):
ctable.valid_bond_indices(strict=True)
def test_single_missing_atom_line_invalid_atom_indices(
single_missing_atom_line_v3000_sdf: Pathy,
) -> None:
"""An sdf block with a missing atom line has invalid indices.
That means that the number of atoms is fewer than the counts line.
Args:
single_missing_atom_line_v3000_sdf: pytest fixture of a Path to the sdf
"""
mol: SDBlock = next(parse_sdf(single_missing_atom_line_v3000_sdf))
ctable = mol.ctable()
with pytest.raises(IndicesMismatchError, match="fewer atom lines than count line"):
ctable.valid_atom_indices()
def test_single_extra_atom_line_invalid_atom_indices(
single_extra_atom_line_v3000_sdf: Pathy,
) -> None:
"""An sdf block with a extra atom line has invalid indices.
That means that the number of atoms is more than the counts line.
Args:
single_extra_atom_line_v3000_sdf: pytest fixture of a Path to the sdf
"""
mol: SDBlock = next(parse_sdf(single_extra_atom_line_v3000_sdf))
ctable = mol.ctable()
with pytest.raises(IndicesMismatchError, match="more atom lines than count line"):
ctable.valid_atom_indices()
def test_single_missing_bond_line_invalid_atom_indices(
single_missing_bond_line_v3000_sdf: Pathy,
) -> None:
"""An sdf block with a missing bond line has invalid indices.
That means that the number of bonds is fewer than the counts line.
Args:
single_missing_bond_line_v3000_sdf: pytest fixture of a Path to the sdf
"""
mol: SDBlock = next(parse_sdf(single_missing_bond_line_v3000_sdf))
ctable = mol.ctable()
with pytest.raises(IndicesMismatchError, match="fewer bond lines than count line"):
ctable.valid_bond_indices()
def test_single_extra_bond_line_invalid_atom_indices(
single_extra_bond_line_v3000_sdf: Pathy,
) -> None:
"""An sdf block with a extra bond line has invalid indices.
That means that the number of bonds is more than the counts line.
Args:
single_extra_bond_line_v3000_sdf: pytest fixture of a Path to the sdf
"""
mol: SDBlock = next(parse_sdf(single_extra_bond_line_v3000_sdf))
ctable = mol.ctable()
with pytest.raises(IndicesMismatchError, match="more bond lines than count line"):
ctable.valid_bond_indices()
def test_single_duplicate_atom_index_invalid_atom_indices(
single_duplicate_atom_index_v3000_sdf: Pathy,
) -> None:
"""An sdf block with a duplicate atom index has invalid indices.
Args:
single_duplicate_atom_index_v3000_sdf: pytest fixture of a Path to the sdf
"""
mol: SDBlock = next(parse_sdf(single_duplicate_atom_index_v3000_sdf))
ctable = mol.ctable()
with pytest.raises(IndicesDuplicateError, match="atoms"):
ctable.valid_atom_indices()
def test_single_duplicate_bond_index_invalid_bond_indices(
single_duplicate_bond_index_v3000_sdf: Pathy,
) -> None:
"""An sdf block with a duplicate bond index has invalid indices.
Args:
single_duplicate_bond_index_v3000_sdf: pytest fixture of a Path to the sdf
"""
mol: SDBlock = next(parse_sdf(single_duplicate_bond_index_v3000_sdf))
ctable = mol.ctable()
with pytest.raises(IndicesDuplicateError, match="bonds"):
ctable.valid_bond_indices()
def test_single_shuffled_atom_lines_valid_atom_indices(
single_shuffled_atom_lines_v3000_sdf: Pathy,
) -> None:
"""An sdf block with shuffled atom lines has valid indices.
That means that the number of atoms matches the counts line,
and each index is unique and integer.
Does not check that the indices are 1-indexed and in order.
Args:
single_shuffled_atom_lines_v3000_sdf: pytest fixture of a Path to the sdf
"""
mol: SDBlock = next(parse_sdf(single_shuffled_atom_lines_v3000_sdf))
ctable = mol.ctable()
assert ctable.valid_atom_indices()
def test_single_shuffled_atom_lines_strict_invalid_atom_indices(
single_shuffled_atom_lines_v3000_sdf: Pathy,
) -> None:
"""An sdf block with shuffled atom lines has invalid indices, when strict.
That means that the number of atoms matches the counts line,
and each index is unique and integer.
However, the indices are not 1-indexed and in order.
Args:
single_shuffled_atom_lines_v3000_sdf: pytest fixture of a Path to the sdf
"""
mol: SDBlock = next(parse_sdf(single_shuffled_atom_lines_v3000_sdf))
ctable = mol.ctable()
with pytest.raises(IndicesOutOfOrderError, match="atoms"):
ctable.valid_atom_indices(strict=True)
def test_single_shuffled_bond_lines_valid_bond_indices(
single_shuffled_bond_lines_v3000_sdf: Pathy,
) -> None:
"""An sdf block with shuffled bond lines has valid indices.
That means that the number of bonds matches the counts line,
and each index is unique and integer.
Does not check that the indices are 1-indexed and in order.
Args:
single_shuffled_bond_lines_v3000_sdf: pytest fixture of a Path to the sdf
"""
mol: SDBlock = next(parse_sdf(single_shuffled_bond_lines_v3000_sdf))
ctable = mol.ctable()
assert ctable.valid_bond_indices()
def test_single_shuffled_bond_lines_strict_invalid_bond_indices(
single_shuffled_bond_lines_v3000_sdf: Pathy,
) -> None:
"""An sdf block with shuffled bond lines has invalid indices, when strict.
That means that the number of bonds matches the counts line,
and each index is unique and integer.
However, the indices are not 1-indexed and in order.
Args:
single_shuffled_bond_lines_v3000_sdf: pytest fixture of a Path to the sdf
"""
mol: SDBlock = next(parse_sdf(single_shuffled_bond_lines_v3000_sdf))
ctable = mol.ctable()
with pytest.raises(IndicesOutOfOrderError, match="bonds"):
ctable.valid_bond_indices(strict=True)
def test_single_mol_v2000_sdf_renumber_indices_not_implemented(
single_mol_v2000_sdf: Pathy,
) -> None:
"""A v2000 sdf block cannot yet have indices renumbered.
Args:
single_mol_v2000_sdf: pytest fixture of a Path to the sdf
"""
mol: SDBlock = next(parse_sdf(single_mol_v2000_sdf))
with pytest.raises(NotImplementedError):
mol.renumber_indices()
def test_single_large_atom_index_strict_valid_atom_indices_renumbered(
single_large_atom_index_v3000_sdf: Pathy,
) -> None:
"""An sdf block with large atom indices has strict valid indices, after renumbering.
That means that the number of atoms matches the counts line,
and each index is unique and integer.
The indices are 1-indexed and in order after renumbering.
Args:
single_large_atom_index_v3000_sdf: pytest fixture of a Path to the sdf
"""
mol: SDBlock = next(parse_sdf(single_large_atom_index_v3000_sdf))
mol.renumber_indices()
ctable = mol.ctable()
assert ctable.valid_atom_indices(strict=True)
def test_single_large_bond_index_strict_valid_bond_indices_renumbered(
single_large_bond_index_v3000_sdf: Pathy,
) -> None:
"""An sdf block with large bond indices has strict valid indices, after renumbering.
That means that the number of atoms matches the counts line,
and each index is unique and integer.
The indices are 1-indexed and in order after renumbering.
Args:
single_large_bond_index_v3000_sdf: pytest fixture of a Path to the sdf
"""
mol: SDBlock = next(parse_sdf(single_large_bond_index_v3000_sdf))
mol.renumber_indices()
ctable = mol.ctable()
assert ctable.valid_bond_indices(strict=True)
def test_single_missing_atom_line_valid_atom_indices_after_renumbering(
single_missing_atom_line_v3000_sdf: Pathy,
) -> None:
"""An sdf block with a missing atom line has stric valid indices, after renumbering.
Args:
single_missing_atom_line_v3000_sdf: pytest fixture of a Path to the sdf
"""
mol: SDBlock = next(parse_sdf(single_missing_atom_line_v3000_sdf))
mol.renumber_indices()
ctable = mol.ctable()
assert ctable.valid_atom_indices(strict=True)
def test_single_extra_atom_line_valid_atom_indices_after_renumbering(
single_extra_atom_line_v3000_sdf: Pathy,
) -> None:
"""An sdf block with a extra atom line has strict valid indices, after renumbering.
Args:
single_extra_atom_line_v3000_sdf: pytest fixture of a Path to the sdf
"""
mol: SDBlock = next(parse_sdf(single_extra_atom_line_v3000_sdf))
mol.renumber_indices()
ctable = mol.ctable()
assert ctable.valid_atom_indices(strict=True)
def test_single_missing_bond_line_valid_atom_indices_after_renumbering(
single_missing_bond_line_v3000_sdf: Pathy,
) -> None:
"""An sdf block with a missing bond line has strict valid indices, after renumbering.
Args:
single_missing_bond_line_v3000_sdf: pytest fixture of a Path to the sdf
"""
mol: SDBlock = next(parse_sdf(single_missing_bond_line_v3000_sdf))
mol.renumber_indices()
ctable = mol.ctable()
assert ctable.valid_bond_indices(strict=True)
def test_single_extra_bond_line_valid_atom_indices_after_renumbering(
single_extra_bond_line_v3000_sdf: Pathy,
) -> None:
"""An sdf block with a extra bond line has strict valid indices, after renumbering.
Args:
single_extra_bond_line_v3000_sdf: pytest fixture of a Path to the sdf
"""
mol: SDBlock = next(parse_sdf(single_extra_bond_line_v3000_sdf))
mol.renumber_indices()
ctable = mol.ctable()
assert ctable.valid_bond_indices(strict=True)
def test_single_duplicate_atom_index_invalid_atom_indices_even_renumbering(
single_duplicate_atom_index_v3000_sdf: Pathy,
) -> None:
"""An sdf block with a duplicate atom index in bonds is invalid in renumbering.
Args:
single_duplicate_atom_index_v3000_sdf: pytest fixture of a Path to the sdf
"""
mol: SDBlock = next(parse_sdf(single_duplicate_atom_index_v3000_sdf))
with pytest.raises(IndicesDuplicateError, match="atom index mapping in bond"):
mol.renumber_indices()
def test_single_duplicate_bond_index_valid_bond_indices_after_renumbering(
single_duplicate_bond_index_v3000_sdf: Pathy,
) -> None:
"""An sdf block with a duplicate bond index has strict valid indices after renumbering.
Args:
single_duplicate_bond_index_v3000_sdf: pytest fixture of a Path to the sdf
"""
mol: SDBlock = next(parse_sdf(single_duplicate_bond_index_v3000_sdf))
mol.renumber_indices()
ctable = mol.ctable()
assert ctable.valid_bond_indices(strict=True)
def test_single_shuffled_atom_lines_strict_valid_atom_indices_after_renumbering(
single_shuffled_atom_lines_v3000_sdf: Pathy,
) -> None:
"""An sdf block with shuffled atom lines has strict valid indices, after renumbering.
That means that the number of atoms matches the counts line,
and each index is unique and integer.
After renumbering, the indices are 1-indexed and in order.
Args:
single_shuffled_atom_lines_v3000_sdf: pytest fixture of a Path to the sdf
"""
mol: SDBlock = next(parse_sdf(single_shuffled_atom_lines_v3000_sdf))
mol.renumber_indices()
ctable = mol.ctable()
assert ctable.valid_atom_indices(strict=True)
def test_single_shuffled_bond_lines_strict_valid_bond_indices_after_renumbering(
single_shuffled_bond_lines_v3000_sdf: Pathy,
) -> None:
"""An sdf block with shuffled bond lines has strict valid indices, after renumbering.
That means that the number of bonds matches the counts line,
and each index is unique and integer.
After renumbering, the indices are 1-indexed and in order.
Args:
single_shuffled_bond_lines_v3000_sdf: pytest fixture of a Path to the sdf
"""
mol: SDBlock = next(parse_sdf(single_shuffled_bond_lines_v3000_sdf))
mol.renumber_indices()
ctable = mol.ctable()
assert ctable.valid_bond_indices(strict=True)
def test_single_mol_v3000_sdf_idempotent_renumber(
single_mol_v3000_sdf: Pathy,
) -> None:
"""A V3000 sdf block generated by RDKit, renumbered, is the same as the input.
Args:
single_mol_v3000_sdf: pytest fixture of a Path to the sdf
"""
mol: SDBlock = next(parse_sdf(single_mol_v3000_sdf))
mol.renumber_indices()
buffer = io.StringIO()
mol.write(buffer)
assert buffer.getvalue() == open(single_mol_v3000_sdf).read()
def test_single_mol_v3000_sdf_idempotent_renumber_with_splitlines(
single_mol_v3000_sdf: Pathy,
) -> None:
"""A V3000 sdf block generated by RDKit, renumbered, is the same as the input.
Args:
single_mol_v3000_sdf: pytest fixture of a Path to the sdf
"""
mol: SDBlock = next(
SDBlock.from_lines(open(single_mol_v3000_sdf).read().splitlines())
)
mol.renumber_indices()
buffer = io.StringIO()
mol.write(buffer)
assert buffer.getvalue() == open(single_mol_v3000_sdf).read()
| 34.014925 | 92 | 0.732538 | 3,721 | 25,069 | 4.631013 | 0.04918 | 0.038997 | 0.035515 | 0.041435 | 0.926706 | 0.90448 | 0.868849 | 0.837918 | 0.801648 | 0.762535 | 0 | 0.026292 | 0.192868 | 25,069 | 736 | 93 | 34.061141 | 0.825343 | 0.389724 | 0 | 0.661442 | 1 | 0 | 0.018856 | 0 | 0 | 0 | 0 | 0 | 0.128527 | 1 | 0.159875 | false | 0 | 0.015674 | 0 | 0.175549 | 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 |
42fc4a338804296ed664851266745dcf61ab2e4a | 8,516 | py | Python | python/testData/inspections/PyUnresolvedReferencesInspection/operators.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/PyUnresolvedReferencesInspection/operators.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inspections/PyUnresolvedReferencesInspection/operators.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class C(object):
def __add__(self, other):
return int(other)
def __or__(self, other):
return other
def __rsub__(self, other):
return other
def __neg__(self):
return self
def test_object():
o1 = object()
o2 = object()
o1 <warning descr="Class 'object' does not define '__add__', so the '+' operator cannot be used on its instances">+</warning> o2 #fail
o1 <warning descr="Class 'object' does not define '__sub__', so the '-' operator cannot be used on its instances">-</warning> o2 #fail
o1 <warning descr="Class 'object' does not define '__mul__', so the '*' operator cannot be used on its instances">*</warning> o2 #fail
o1 <warning descr="Class 'object' does not define '__div__', so the '/' operator cannot be used on its instances">/</warning> o2 #fail
o1 <warning descr="Class 'object' does not define '__mod__', so the '%' operator cannot be used on its instances">%</warning> o2 #fail
o1 <warning descr="Class 'object' does not define '__pow__', so the '**' operator cannot be used on its instances">**</warning> o2 #fail
o1 <warning descr="Class 'object' does not define '__lshift__', so the '<<' operator cannot be used on its instances"><<</warning> o2 #fail
o1 <warning descr="Class 'object' does not define '__rshift__', so the '>>' operator cannot be used on its instances">>></warning> o2 #fail
o1 <warning descr="Class 'object' does not define '__and__', so the '&' operator cannot be used on its instances">&</warning> o2 #fail
o1 <warning descr="Class 'object' does not define '__or__', so the '|' operator cannot be used on its instances">|</warning> o2 #fail
o1 <warning descr="Class 'object' does not define '__xor__', so the '^' operator cannot be used on its instances">^</warning> o2 #fail
o1 <warning descr="Class 'object' does not define '__floordiv__', so the '//' operator cannot be used on its instances">//</warning> o2 #fail
o2 < o1 < o2, o2 <= o1 <= o2, o1 == o2, o1 != o2, o2 in o1 #pass
def test_custom_class():
c = C()
o = object()
c + o, c | o, o - c #pass
c <warning descr="Class 'C' does not define '__sub__', so the '-' operator cannot be used on its instances">-</warning> o #fail
c <warning descr="Class 'C' does not define '__mul__', so the '*' operator cannot be used on its instances">*</warning> o #fail
c <warning descr="Class 'C' does not define '__div__', so the '/' operator cannot be used on its instances">/</warning> o #fail
c <warning descr="Class 'C' does not define '__mod__', so the '%' operator cannot be used on its instances">%</warning> o #fail
c <warning descr="Class 'C' does not define '__pow__', so the '**' operator cannot be used on its instances">**</warning> o #fail
c <warning descr="Class 'C' does not define '__lshift__', so the '<<' operator cannot be used on its instances"><<</warning> o #fail
c <warning descr="Class 'C' does not define '__rshift__', so the '>>' operator cannot be used on its instances">>></warning> o #fail
c <warning descr="Class 'C' does not define '__and__', so the '&' operator cannot be used on its instances">&</warning> o #fail
c <warning descr="Class 'C' does not define '__xor__', so the '^' operator cannot be used on its instances">^</warning> o #fail
c <warning descr="Class 'C' does not define '__floordiv__', so the '//' operator cannot be used on its instances">//</warning> o #fail
o < c < o, o <= c <= o, c == o, c != o, o in c #pass
def test_builtins():
i = 0
o = object()
i + o, i - o, i * o, i / o, i % o, i ** o, i << o, i >> o, i & o, i | o, i ^ o, i // o #pass
o < i < o, o <= i <= o, i == o, i != o, o in i #pass
o + i, o - i, o * i, o / i, o % i, o ** i, o << i, o >> i, o & i, o | i, o ^ i, o // i #pass
s = 'foo'
s + o, s * o, s % o #pass
s <warning descr="Class 'str' does not define '__sub__', so the '-' operator cannot be used on its instances">-</warning> o #fail
s <warning descr="Class 'str' does not define '__div__', so the '/' operator cannot be used on its instances">/</warning> o #fail
s <warning descr="Class 'str' does not define '__pow__', so the '**' operator cannot be used on its instances">**</warning> o #fail
s <warning descr="Class 'str' does not define '__lshift__', so the '<<' operator cannot be used on its instances"><<</warning> o #fail
s <warning descr="Class 'str' does not define '__rshift__', so the '>>' operator cannot be used on its instances">>></warning> o #fail
s <warning descr="Class 'str' does not define '__and__', so the '&' operator cannot be used on its instances">&</warning> o #fail
s <warning descr="Class 'str' does not define '__or__', so the '|' operator cannot be used on its instances">|</warning> o #fail
s <warning descr="Class 'str' does not define '__xor__', so the '^' operator cannot be used on its instances">^</warning> o #fail
s <warning descr="Class 'str' does not define '__floordiv__', so the '//' operator cannot be used on its instances">//</warning> o #fail
o < s < o, o <= s <= o, s == o, s != o, o in s #pass
xs = []
xs + o, xs * o #pass
xs <warning descr="Class 'list' does not define '__sub__', so the '-' operator cannot be used on its instances">-</warning> o #fail
xs <warning descr="Class 'list' does not define '__div__', so the '/' operator cannot be used on its instances">/</warning> o #fail
xs <warning descr="Class 'list' does not define '__mod__', so the '%' operator cannot be used on its instances">%</warning> o #fail
xs <warning descr="Class 'list' does not define '__pow__', so the '**' operator cannot be used on its instances">**</warning> o #fail
xs <warning descr="Class 'list' does not define '__lshift__', so the '<<' operator cannot be used on its instances"><<</warning> o #fail
xs <warning descr="Class 'list' does not define '__rshift__', so the '>>' operator cannot be used on its instances">>></warning> o #fail
xs <warning descr="Class 'list' does not define '__and__', so the '&' operator cannot be used on its instances">&</warning> o #fail
xs <warning descr="Class 'list' does not define '__or__', so the '|' operator cannot be used on its instances">|</warning> o #fail
xs <warning descr="Class 'list' does not define '__xor__', so the '^' operator cannot be used on its instances">^</warning> o #fail
xs <warning descr="Class 'list' does not define '__floordiv__', so the '//' operator cannot be used on its instances">//</warning> o #fail
o < xs < o, o <= xs <= o, xs == o, xs != o, o in xs #pass
def test_subscription():
class C(object):
def __getitem__(self, key, value):
pass
def __setitem__(self, item):
pass
def __delitem__(self, item):
pass
class D(object):
pass
class E(object):
def __getitem__(self, item):
pass
c = C()
c[0] = 0
print(c[0])
del c[0]
d = D()
d<warning descr="Class 'D' does not define '__setitem__', so the '[]' operator cannot be used on its instances">[</warning>0] = 0
print(d<warning descr="Class 'D' does not define '__getitem__', so the '[]' operator cannot be used on its instances">[</warning>0])
del d<warning descr="Class 'D' does not define '__delitem__', so the '[]' operator cannot be used on its instances">[</warning>0]
e = E()
e<warning descr="Class 'E' does not define '__setitem__', so the '[]' operator cannot be used on its instances">[</warning>0] = 0
print(e[0])
del e<warning descr="Class 'E' does not define '__delitem__', so the '[]' operator cannot be used on its instances">[</warning>0]
def test_unary_operators():
o = object()
print(<warning descr="Class 'object' does not define '__pos__', so the '+' operator cannot be used on its instances">+</warning>o)
print(<warning descr="Class 'object' does not define '__neg__', so the '-' operator cannot be used on its instances">-</warning>o)
print(<warning descr="Class 'object' does not define '__invert__', so the '~' operator cannot be used on its instances">~</warning>o)
i = 1
print(+i)
print(-i)
print(~i)
c = C()
print(<warning descr="Class 'C' does not define '__pos__', so the '+' operator cannot be used on its instances">+</warning>c)
print(-c)
print(<warning descr="Class 'C' does not define '__invert__', so the '~' operator cannot be used on its instances">~</warning>c) | 64.030075 | 145 | 0.642673 | 1,327 | 8,516 | 3.941221 | 0.051243 | 0.117017 | 0.165774 | 0.185277 | 0.907839 | 0.891205 | 0.88891 | 0.887572 | 0.842256 | 0.833078 | 0 | 0.007752 | 0.212306 | 8,516 | 133 | 146 | 64.030075 | 0.771914 | 0.023955 | 0 | 0.137615 | 0 | 0 | 0.569112 | 0 | 0.027523 | 0 | 0 | 0 | 0 | 0 | null | null | 0.045872 | 0 | null | null | 0.110092 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6e213f24da145244839f0e47002eb0785b47031c | 66 | py | Python | dogebuild_fpc/loader.py | dogebuild/dogebuild-fpc | 8b061cfe25d22ecb49d792a4e4b1bd5f773a7e51 | [
"MIT"
] | null | null | null | dogebuild_fpc/loader.py | dogebuild/dogebuild-fpc | 8b061cfe25d22ecb49d792a4e4b1bd5f773a7e51 | [
"MIT"
] | null | null | null | dogebuild_fpc/loader.py | dogebuild/dogebuild-fpc | 8b061cfe25d22ecb49d792a4e4b1bd5f773a7e51 | [
"MIT"
] | null | null | null | from dogebuild_fpc.fpc import Fpc
def get():
return Fpc()
| 8.25 | 33 | 0.666667 | 10 | 66 | 4.3 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242424 | 66 | 7 | 34 | 9.428571 | 0.86 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
28225387ed3c33e79ed90cabd412bce4674eb366 | 50,069 | py | Python | protos/job_pb2_grpc.py | ilyde-platform/ilyde-jobs | 3b272dfe45c498f8e5cbc34a3b2be7d564885d8d | [
"Apache-2.0"
] | null | null | null | protos/job_pb2_grpc.py | ilyde-platform/ilyde-jobs | 3b272dfe45c498f8e5cbc34a3b2be7d564885d8d | [
"Apache-2.0"
] | null | null | null | protos/job_pb2_grpc.py | ilyde-platform/ilyde-jobs | 3b272dfe45c498f8e5cbc34a3b2be7d564885d8d | [
"Apache-2.0"
] | null | null | null | #
# Copyright (c) 2020-2021 Hopenly srl.
#
# This file is part of Ilyde.
#
# 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.
#
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from protos import job_pb2 as job__pb2
class WorkspaceServicesStub(object):
"""The workspace service definition.
"""
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.Retrieve = channel.unary_unary(
'/jobs.WorkspaceServices/Retrieve',
request_serializer=job__pb2.ID.SerializeToString,
response_deserializer=job__pb2.Workspace.FromString,
)
self.Create = channel.unary_unary(
'/jobs.WorkspaceServices/Create',
request_serializer=job__pb2.Workspace.SerializeToString,
response_deserializer=job__pb2.Workspace.FromString,
)
self.Update = channel.unary_unary(
'/jobs.WorkspaceServices/Update',
request_serializer=job__pb2.Workspace.SerializeToString,
response_deserializer=job__pb2.Workspace.FromString,
)
self.Delete = channel.unary_unary(
'/jobs.WorkspaceServices/Delete',
request_serializer=job__pb2.ID.SerializeToString,
response_deserializer=job__pb2.Status.FromString,
)
self.Search = channel.unary_unary(
'/jobs.WorkspaceServices/Search',
request_serializer=job__pb2.SearchRequest.SerializeToString,
response_deserializer=job__pb2.SearchWorkspaceResponse.FromString,
)
self.Start = channel.unary_unary(
'/jobs.WorkspaceServices/Start',
request_serializer=job__pb2.ID.SerializeToString,
response_deserializer=job__pb2.Status.FromString,
)
self.State = channel.unary_unary(
'/jobs.WorkspaceServices/State',
request_serializer=job__pb2.ID.SerializeToString,
response_deserializer=job__pb2.JobState.FromString,
)
self.Stop = channel.unary_unary(
'/jobs.WorkspaceServices/Stop',
request_serializer=job__pb2.ID.SerializeToString,
response_deserializer=job__pb2.Status.FromString,
)
class WorkspaceServicesServicer(object):
"""The workspace service definition.
"""
def Retrieve(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def Create(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def Update(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def Delete(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def Search(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def Start(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def State(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def Stop(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def add_WorkspaceServicesServicer_to_server(servicer, server):
rpc_method_handlers = {
'Retrieve': grpc.unary_unary_rpc_method_handler(
servicer.Retrieve,
request_deserializer=job__pb2.ID.FromString,
response_serializer=job__pb2.Workspace.SerializeToString,
),
'Create': grpc.unary_unary_rpc_method_handler(
servicer.Create,
request_deserializer=job__pb2.Workspace.FromString,
response_serializer=job__pb2.Workspace.SerializeToString,
),
'Update': grpc.unary_unary_rpc_method_handler(
servicer.Update,
request_deserializer=job__pb2.Workspace.FromString,
response_serializer=job__pb2.Workspace.SerializeToString,
),
'Delete': grpc.unary_unary_rpc_method_handler(
servicer.Delete,
request_deserializer=job__pb2.ID.FromString,
response_serializer=job__pb2.Status.SerializeToString,
),
'Search': grpc.unary_unary_rpc_method_handler(
servicer.Search,
request_deserializer=job__pb2.SearchRequest.FromString,
response_serializer=job__pb2.SearchWorkspaceResponse.SerializeToString,
),
'Start': grpc.unary_unary_rpc_method_handler(
servicer.Start,
request_deserializer=job__pb2.ID.FromString,
response_serializer=job__pb2.Status.SerializeToString,
),
'State': grpc.unary_unary_rpc_method_handler(
servicer.State,
request_deserializer=job__pb2.ID.FromString,
response_serializer=job__pb2.JobState.SerializeToString,
),
'Stop': grpc.unary_unary_rpc_method_handler(
servicer.Stop,
request_deserializer=job__pb2.ID.FromString,
response_serializer=job__pb2.Status.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'jobs.WorkspaceServices', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
# This class is part of an EXPERIMENTAL API.
class WorkspaceServices(object):
"""The workspace service definition.
"""
@staticmethod
def Retrieve(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/jobs.WorkspaceServices/Retrieve',
job__pb2.ID.SerializeToString,
job__pb2.Workspace.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def Create(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/jobs.WorkspaceServices/Create',
job__pb2.Workspace.SerializeToString,
job__pb2.Workspace.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def Update(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/jobs.WorkspaceServices/Update',
job__pb2.Workspace.SerializeToString,
job__pb2.Workspace.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def Delete(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/jobs.WorkspaceServices/Delete',
job__pb2.ID.SerializeToString,
job__pb2.Status.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def Search(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/jobs.WorkspaceServices/Search',
job__pb2.SearchRequest.SerializeToString,
job__pb2.SearchWorkspaceResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def Start(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/jobs.WorkspaceServices/Start',
job__pb2.ID.SerializeToString,
job__pb2.Status.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def State(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/jobs.WorkspaceServices/State',
job__pb2.ID.SerializeToString,
job__pb2.JobState.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def Stop(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/jobs.WorkspaceServices/Stop',
job__pb2.ID.SerializeToString,
job__pb2.Status.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
class ModelApisServicesStub(object):
"""The ModelApis service definition.
"""
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.Retrieve = channel.unary_unary(
'/jobs.ModelApisServices/Retrieve',
request_serializer=job__pb2.ID.SerializeToString,
response_deserializer=job__pb2.ModelApis.FromString,
)
self.Create = channel.unary_unary(
'/jobs.ModelApisServices/Create',
request_serializer=job__pb2.ModelApis.SerializeToString,
response_deserializer=job__pb2.ModelApis.FromString,
)
self.Delete = channel.unary_unary(
'/jobs.ModelApisServices/Delete',
request_serializer=job__pb2.ID.SerializeToString,
response_deserializer=job__pb2.Status.FromString,
)
self.Search = channel.unary_unary(
'/jobs.ModelApisServices/Search',
request_serializer=job__pb2.SearchRequest.SerializeToString,
response_deserializer=job__pb2.SearchModelApisResponse.FromString,
)
self.Start = channel.unary_unary(
'/jobs.ModelApisServices/Start',
request_serializer=job__pb2.ID.SerializeToString,
response_deserializer=job__pb2.Status.FromString,
)
self.State = channel.unary_unary(
'/jobs.ModelApisServices/State',
request_serializer=job__pb2.ID.SerializeToString,
response_deserializer=job__pb2.JobState.FromString,
)
self.Stop = channel.unary_unary(
'/jobs.ModelApisServices/Stop',
request_serializer=job__pb2.ID.SerializeToString,
response_deserializer=job__pb2.Status.FromString,
)
class ModelApisServicesServicer(object):
"""The ModelApis service definition.
"""
def Retrieve(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def Create(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def Delete(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def Search(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def Start(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def State(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def Stop(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def add_ModelApisServicesServicer_to_server(servicer, server):
rpc_method_handlers = {
'Retrieve': grpc.unary_unary_rpc_method_handler(
servicer.Retrieve,
request_deserializer=job__pb2.ID.FromString,
response_serializer=job__pb2.ModelApis.SerializeToString,
),
'Create': grpc.unary_unary_rpc_method_handler(
servicer.Create,
request_deserializer=job__pb2.ModelApis.FromString,
response_serializer=job__pb2.ModelApis.SerializeToString,
),
'Delete': grpc.unary_unary_rpc_method_handler(
servicer.Delete,
request_deserializer=job__pb2.ID.FromString,
response_serializer=job__pb2.Status.SerializeToString,
),
'Search': grpc.unary_unary_rpc_method_handler(
servicer.Search,
request_deserializer=job__pb2.SearchRequest.FromString,
response_serializer=job__pb2.SearchModelApisResponse.SerializeToString,
),
'Start': grpc.unary_unary_rpc_method_handler(
servicer.Start,
request_deserializer=job__pb2.ID.FromString,
response_serializer=job__pb2.Status.SerializeToString,
),
'State': grpc.unary_unary_rpc_method_handler(
servicer.State,
request_deserializer=job__pb2.ID.FromString,
response_serializer=job__pb2.JobState.SerializeToString,
),
'Stop': grpc.unary_unary_rpc_method_handler(
servicer.Stop,
request_deserializer=job__pb2.ID.FromString,
response_serializer=job__pb2.Status.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'jobs.ModelApisServices', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
# This class is part of an EXPERIMENTAL API.
class ModelApisServices(object):
"""The ModelApis service definition.
"""
@staticmethod
def Retrieve(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/jobs.ModelApisServices/Retrieve',
job__pb2.ID.SerializeToString,
job__pb2.ModelApis.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def Create(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/jobs.ModelApisServices/Create',
job__pb2.ModelApis.SerializeToString,
job__pb2.ModelApis.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def Delete(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/jobs.ModelApisServices/Delete',
job__pb2.ID.SerializeToString,
job__pb2.Status.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def Search(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/jobs.ModelApisServices/Search',
job__pb2.SearchRequest.SerializeToString,
job__pb2.SearchModelApisResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def Start(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/jobs.ModelApisServices/Start',
job__pb2.ID.SerializeToString,
job__pb2.Status.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def State(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/jobs.ModelApisServices/State',
job__pb2.ID.SerializeToString,
job__pb2.JobState.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def Stop(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/jobs.ModelApisServices/Stop',
job__pb2.ID.SerializeToString,
job__pb2.Status.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
class RunServicesStub(object):
"""The Run service definition.
"""
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.Get = channel.unary_unary(
'/jobs.RunServices/Get',
request_serializer=job__pb2.ID.SerializeToString,
response_deserializer=job__pb2.Run.FromString,
)
self.Submit = channel.unary_unary(
'/jobs.RunServices/Submit',
request_serializer=job__pb2.Run.SerializeToString,
response_deserializer=job__pb2.Status.FromString,
)
self.Search = channel.unary_unary(
'/jobs.RunServices/Search',
request_serializer=job__pb2.SearchRequest.SerializeToString,
response_deserializer=job__pb2.SearchRunResponse.FromString,
)
self.State = channel.unary_unary(
'/jobs.RunServices/State',
request_serializer=job__pb2.ID.SerializeToString,
response_deserializer=job__pb2.JobState.FromString,
)
self.Stop = channel.unary_unary(
'/jobs.RunServices/Stop',
request_serializer=job__pb2.ID.SerializeToString,
response_deserializer=job__pb2.Status.FromString,
)
class RunServicesServicer(object):
"""The Run service definition.
"""
def Get(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def Submit(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def Search(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def State(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def Stop(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def add_RunServicesServicer_to_server(servicer, server):
rpc_method_handlers = {
'Get': grpc.unary_unary_rpc_method_handler(
servicer.Get,
request_deserializer=job__pb2.ID.FromString,
response_serializer=job__pb2.Run.SerializeToString,
),
'Submit': grpc.unary_unary_rpc_method_handler(
servicer.Submit,
request_deserializer=job__pb2.Run.FromString,
response_serializer=job__pb2.Status.SerializeToString,
),
'Search': grpc.unary_unary_rpc_method_handler(
servicer.Search,
request_deserializer=job__pb2.SearchRequest.FromString,
response_serializer=job__pb2.SearchRunResponse.SerializeToString,
),
'State': grpc.unary_unary_rpc_method_handler(
servicer.State,
request_deserializer=job__pb2.ID.FromString,
response_serializer=job__pb2.JobState.SerializeToString,
),
'Stop': grpc.unary_unary_rpc_method_handler(
servicer.Stop,
request_deserializer=job__pb2.ID.FromString,
response_serializer=job__pb2.Status.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'jobs.RunServices', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
# This class is part of an EXPERIMENTAL API.
class RunServices(object):
"""The Run service definition.
"""
@staticmethod
def Get(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/jobs.RunServices/Get',
job__pb2.ID.SerializeToString,
job__pb2.Run.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def Submit(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/jobs.RunServices/Submit',
job__pb2.Run.SerializeToString,
job__pb2.Status.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def Search(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/jobs.RunServices/Search',
job__pb2.SearchRequest.SerializeToString,
job__pb2.SearchRunResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def State(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/jobs.RunServices/State',
job__pb2.ID.SerializeToString,
job__pb2.JobState.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def Stop(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/jobs.RunServices/Stop',
job__pb2.ID.SerializeToString,
job__pb2.Status.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
class ExperimentServicesStub(object):
"""The Experiment service definition.
"""
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.Get = channel.unary_unary(
'/jobs.ExperimentServices/Get',
request_serializer=job__pb2.ID.SerializeToString,
response_deserializer=job__pb2.Experiment.FromString,
)
self.Submit = channel.unary_unary(
'/jobs.ExperimentServices/Submit',
request_serializer=job__pb2.Experiment.SerializeToString,
response_deserializer=job__pb2.Status.FromString,
)
self.Search = channel.unary_unary(
'/jobs.ExperimentServices/Search',
request_serializer=job__pb2.SearchRequest.SerializeToString,
response_deserializer=job__pb2.SearchExperimentResponse.FromString,
)
self.State = channel.unary_unary(
'/jobs.ExperimentServices/State',
request_serializer=job__pb2.ID.SerializeToString,
response_deserializer=job__pb2.JobState.FromString,
)
self.Stop = channel.unary_unary(
'/jobs.ExperimentServices/Stop',
request_serializer=job__pb2.ID.SerializeToString,
response_deserializer=job__pb2.Status.FromString,
)
class ExperimentServicesServicer(object):
"""The Experiment service definition.
"""
def Get(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def Submit(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def Search(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def State(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def Stop(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def add_ExperimentServicesServicer_to_server(servicer, server):
rpc_method_handlers = {
'Get': grpc.unary_unary_rpc_method_handler(
servicer.Get,
request_deserializer=job__pb2.ID.FromString,
response_serializer=job__pb2.Experiment.SerializeToString,
),
'Submit': grpc.unary_unary_rpc_method_handler(
servicer.Submit,
request_deserializer=job__pb2.Experiment.FromString,
response_serializer=job__pb2.Status.SerializeToString,
),
'Search': grpc.unary_unary_rpc_method_handler(
servicer.Search,
request_deserializer=job__pb2.SearchRequest.FromString,
response_serializer=job__pb2.SearchExperimentResponse.SerializeToString,
),
'State': grpc.unary_unary_rpc_method_handler(
servicer.State,
request_deserializer=job__pb2.ID.FromString,
response_serializer=job__pb2.JobState.SerializeToString,
),
'Stop': grpc.unary_unary_rpc_method_handler(
servicer.Stop,
request_deserializer=job__pb2.ID.FromString,
response_serializer=job__pb2.Status.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'jobs.ExperimentServices', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
# This class is part of an EXPERIMENTAL API.
class ExperimentServices(object):
"""The Experiment service definition.
"""
@staticmethod
def Get(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/jobs.ExperimentServices/Get',
job__pb2.ID.SerializeToString,
job__pb2.Experiment.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def Submit(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/jobs.ExperimentServices/Submit',
job__pb2.Experiment.SerializeToString,
job__pb2.Status.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def Search(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/jobs.ExperimentServices/Search',
job__pb2.SearchRequest.SerializeToString,
job__pb2.SearchExperimentResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def State(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/jobs.ExperimentServices/State',
job__pb2.ID.SerializeToString,
job__pb2.JobState.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def Stop(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/jobs.ExperimentServices/Stop',
job__pb2.ID.SerializeToString,
job__pb2.Status.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
class EnvironmentServicesStub(object):
"""The Environment service definition.
"""
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.GetHardwareTier = channel.unary_unary(
'/jobs.EnvironmentServices/GetHardwareTier',
request_serializer=job__pb2.ID.SerializeToString,
response_deserializer=job__pb2.HardwareTier.FromString,
)
self.CreateHardwareTier = channel.unary_unary(
'/jobs.EnvironmentServices/CreateHardwareTier',
request_serializer=job__pb2.HardwareTier.SerializeToString,
response_deserializer=job__pb2.HardwareTier.FromString,
)
self.UpdateHardwareTier = channel.unary_unary(
'/jobs.EnvironmentServices/UpdateHardwareTier',
request_serializer=job__pb2.HardwareTier.SerializeToString,
response_deserializer=job__pb2.HardwareTier.FromString,
)
self.DeleteHardwareTier = channel.unary_unary(
'/jobs.EnvironmentServices/DeleteHardwareTier',
request_serializer=job__pb2.ID.SerializeToString,
response_deserializer=job__pb2.Status.FromString,
)
self.ListHardwareTiers = channel.unary_unary(
'/jobs.EnvironmentServices/ListHardwareTiers',
request_serializer=job__pb2.Pagination.SerializeToString,
response_deserializer=job__pb2.ListHardwareTierResponse.FromString,
)
self.ListEnvironments = channel.unary_unary(
'/jobs.EnvironmentServices/ListEnvironments',
request_serializer=job__pb2.Pagination.SerializeToString,
response_deserializer=job__pb2.ListEnvironmentResponse.FromString,
)
self.ListWorkspaceIde = channel.unary_unary(
'/jobs.EnvironmentServices/ListWorkspaceIde',
request_serializer=job__pb2.Pagination.SerializeToString,
response_deserializer=job__pb2.ListIdeResponse.FromString,
)
class EnvironmentServicesServicer(object):
"""The Environment service definition.
"""
def GetHardwareTier(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def CreateHardwareTier(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def UpdateHardwareTier(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def DeleteHardwareTier(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def ListHardwareTiers(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def ListEnvironments(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def ListWorkspaceIde(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def add_EnvironmentServicesServicer_to_server(servicer, server):
rpc_method_handlers = {
'GetHardwareTier': grpc.unary_unary_rpc_method_handler(
servicer.GetHardwareTier,
request_deserializer=job__pb2.ID.FromString,
response_serializer=job__pb2.HardwareTier.SerializeToString,
),
'CreateHardwareTier': grpc.unary_unary_rpc_method_handler(
servicer.CreateHardwareTier,
request_deserializer=job__pb2.HardwareTier.FromString,
response_serializer=job__pb2.HardwareTier.SerializeToString,
),
'UpdateHardwareTier': grpc.unary_unary_rpc_method_handler(
servicer.UpdateHardwareTier,
request_deserializer=job__pb2.HardwareTier.FromString,
response_serializer=job__pb2.HardwareTier.SerializeToString,
),
'DeleteHardwareTier': grpc.unary_unary_rpc_method_handler(
servicer.DeleteHardwareTier,
request_deserializer=job__pb2.ID.FromString,
response_serializer=job__pb2.Status.SerializeToString,
),
'ListHardwareTiers': grpc.unary_unary_rpc_method_handler(
servicer.ListHardwareTiers,
request_deserializer=job__pb2.Pagination.FromString,
response_serializer=job__pb2.ListHardwareTierResponse.SerializeToString,
),
'ListEnvironments': grpc.unary_unary_rpc_method_handler(
servicer.ListEnvironments,
request_deserializer=job__pb2.Pagination.FromString,
response_serializer=job__pb2.ListEnvironmentResponse.SerializeToString,
),
'ListWorkspaceIde': grpc.unary_unary_rpc_method_handler(
servicer.ListWorkspaceIde,
request_deserializer=job__pb2.Pagination.FromString,
response_serializer=job__pb2.ListIdeResponse.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'jobs.EnvironmentServices', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
# This class is part of an EXPERIMENTAL API.
class EnvironmentServices(object):
"""The Environment service definition.
"""
@staticmethod
def GetHardwareTier(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/jobs.EnvironmentServices/GetHardwareTier',
job__pb2.ID.SerializeToString,
job__pb2.HardwareTier.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def CreateHardwareTier(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/jobs.EnvironmentServices/CreateHardwareTier',
job__pb2.HardwareTier.SerializeToString,
job__pb2.HardwareTier.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def UpdateHardwareTier(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/jobs.EnvironmentServices/UpdateHardwareTier',
job__pb2.HardwareTier.SerializeToString,
job__pb2.HardwareTier.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def DeleteHardwareTier(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/jobs.EnvironmentServices/DeleteHardwareTier',
job__pb2.ID.SerializeToString,
job__pb2.Status.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def ListHardwareTiers(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/jobs.EnvironmentServices/ListHardwareTiers',
job__pb2.Pagination.SerializeToString,
job__pb2.ListHardwareTierResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def ListEnvironments(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/jobs.EnvironmentServices/ListEnvironments',
job__pb2.Pagination.SerializeToString,
job__pb2.ListEnvironmentResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def ListWorkspaceIde(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/jobs.EnvironmentServices/ListWorkspaceIde',
job__pb2.Pagination.SerializeToString,
job__pb2.ListIdeResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
| 40.5417 | 109 | 0.63059 | 4,436 | 50,069 | 6.864518 | 0.043282 | 0.038225 | 0.033628 | 0.029556 | 0.913993 | 0.882204 | 0.871728 | 0.836426 | 0.831894 | 0.829694 | 0 | 0.005789 | 0.289261 | 50,069 | 1,234 | 110 | 40.574554 | 0.849913 | 0.071601 | 0 | 0.798419 | 0 | 0 | 0.083545 | 0.045777 | 0 | 0 | 0 | 0 | 0 | 1 | 0.073123 | false | 0 | 0.001976 | 0.031621 | 0.121542 | 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 |
28239bed17d6682516c5302f2e791c01dbf2c1e3 | 12,346 | py | Python | QuantTorch/layers/elastic_layers.py | Enderdead/BinaryConnect_PyTorch | 990e970b1fbd299ff88200db21a9cc3fe44706d3 | [
"MIT"
] | 75 | 2019-03-19T07:36:56.000Z | 2021-12-23T02:34:59.000Z | QuantTorch/layers/elastic_layers.py | Enderdead/BinaryConnect_PyTorch | 990e970b1fbd299ff88200db21a9cc3fe44706d3 | [
"MIT"
] | 10 | 2019-03-19T21:16:56.000Z | 2019-04-16T15:05:37.000Z | QuantTorch/layers/elastic_layers.py | Enderdead/BinaryConnect_PyTorch | 990e970b1fbd299ff88200db21a9cc3fe44706d3 | [
"MIT"
] | 9 | 2019-08-12T10:33:55.000Z | 2021-07-23T02:10:06.000Z | import torch
from torch._jit_internal import weak_module, weak_script_method, List
from torch.nn.modules.utils import _pair
import torch.nn.functional as F
from torch.nn.parameter import Parameter
from math import sqrt
from ..device import device
from .common import QLayer
from ..functions import elastic_quant_connect
from ..utils.tools import flat_net
class LinearQuantLin(torch.nn.Module, QLayer):
@staticmethod
def convert(other, bottom=-1, top=1, size=5, alpha=0, beta=0):
if not isinstance(other, torch.nn.Linear):
raise TypeError("Expected a torch.nn.Linear ! Receive: {}".format(other.__class__))
result = LinearQuantLin(other.in_features, other.out_features, False if other.bias is None else True, bottom=bottom, top=top, size=size, alpha=alpha, beta=beta)
result.weight.data.copy_(other.weight.data)
if not other.bias is None:
result.bias.data.copy_(other.bias.data)
return result
def __init__(self, in_features, out_features, bias=True, bottom=-1, top=1, size=5, alpha=0, beta=0):
torch.nn.Module.__init__(self)
self.in_features = in_features
self.out_features = out_features
self.bottom = bottom
self.top = top
self.size = size
self.register_buffer("alpha", torch.Tensor([alpha]))
self.register_buffer("beta", torch.Tensor([beta]))
self.weight = torch.nn.Parameter(torch.Tensor(out_features, in_features))
if bias:
self.bias = torch.nn.Parameter(torch.Tensor(out_features))
else:
self.register_parameter('bias', None)
self.reset_parameters()
self.linear_op = elastic_quant_connect.QuantLinDense(size=size, bottom=bottom, top=top)
def reset_parameters(self):
self.weight.data.uniform_(self.bottom, self.top)
if self.bias is not None:
self.bias.data.zero_()
def clamp(self):
self.weight.data.clamp_(self.bottom, self.top)
if not self.bias is None:
self.bias.data.clamp_(self.bottom, self.top)
def set_alpha(self, alpha):
self.alpha = torch.Tensor([alpha]).to(self.weight.device)
def set_beta(self, beta):
self.beta = torch.Tensor([beta]).to(self.weight.device)
def train(self, mode=True):
self.training = mode
#if self.training==mode:
# return
#if mode:
# self.weight.data.copy_(self.weight.org.data)
#else: # Eval mod
# if not hasattr(self.weight,'org'):
# self.weight.org=self.weight.data.clone()
# self.weight.org.data.copy_(self.weight.data)
# self.weight.data.copy_(elastic_quant_connect.lin_proj(self.weight, bottom=self.bottom, top=self.top, size=self.size).detach())
def forward(self, input):
if self.training :
return self.linear_op.apply(input, self.weight, self.bias, self.alpha, self.beta)
else:
return torch.nn.functional.linear(input, elastic_quant_connect.lin_proj(self.weight, bottom=self.bottom, top=self.top, size=self.size), self.bias)
class LinearQuantLog(torch.nn.Module, QLayer):
@staticmethod
def convert(other, gamma=2, init=0.25, size=5, alpha=0, beta=0):
if not isinstance(other, torch.nn.Linear):
raise TypeError("Expected a torch.nn.Linear ! Receive: {}".format(other.__class__))
result = LinearQuantLog(other.in_features, other.out_features, False if other.bias is None else True, gamma=gamma, init=init, size=size, alpha=alpha, beta=beta)
result.weight.data.copy_(other.weight.data)
if not other.bias is None:
result.bias.data.copy_(other.bias.data)
return result
def __init__(self, in_features, out_features, bias=True, gamma=2, init=0.25, size=5, alpha=0, beta=0):
super(LinearQuantLog, self).__init__()
self.in_features = in_features
self.out_features = out_features
self.gamma = gamma
self.init = init
self.size = size
self.register_buffer("alpha", torch.Tensor([alpha]))
self.register_buffer("beta", torch.Tensor([beta]))
self.weight = torch.nn.Parameter(torch.Tensor(out_features, in_features))
if bias:
self.bias = torch.nn.Parameter(torch.Tensor(out_features))
else:
self.register_parameter('bias', None)
self.reset_parameters()
self.linear_op = elastic_quant_connect.QuantLogDense(gamma=gamma, init=init, size=size)
def reset_parameters(self):
self.weight.data.uniform_(-self.init*self.gamma**(self.size-1), self.init*self.gamma**(self.size-1))
if self.bias is not None:
self.bias.data.zero_()
def train(self, mode=True):
self.training = mode
#if self.training==mode:
# return
"""
if mode:
self.weight.data.copy_(self.weight.org.data)
else: # Eval mod
if not hasattr(self.weight,'org'):
self.weight.org=self.weight.data.clone()
self.weight.org.data.copy_(self.weight.data)
self.weight.data.copy_(elastic_quant_connect.exp_proj(self.weight, gamma=self.gamma, init=self.init, size=self.size).detach())
"""
def clamp(self):
self.weight.data.clamp_(-self.init*self.gamma**(self.size-1), self.init*self.gamma**(self.size-1))
if not self.bias is None:
self.bias.data.clamp_(-self.init*self.gamma**(self.size-1), self.init*self.gamma**(self.size-1))
def set_alpha(self, alpha):
self.alpha = torch.Tensor([alpha]).to(self.weight.device)
def set_beta(self, beta):
self.beta = torch.Tensor([beta]).to(self.weight.device)
def forward(self, input):
if self.training:
return self.linear_op.apply(input, self.weight, self.bias, self.alpha, self.beta)
else:
return torch.nn.functional.linear(input, elastic_quant_connect.exp_proj(self.weight, init=self.init, gamma=self.gamma, size=self.size), self.bias)
class QuantConv2dLin(torch.nn.Conv2d, QLayer):
@staticmethod
def convert(other, bottom=-1, top=1, size=5, alpha=0, beta=0):
if not isinstance(other, torch.nn.Conv2d):
raise TypeError("Expected a torch.nn.Conv2d ! Receive: {}".format(other.__class__))
result= QuantConv2dLin(other.in_channels, other.out_channels, other.kernel_size, stride=other.stride,
padding=other.padding, dilation=other.dilation, groups=other.groups,
bias=False if other.bias is None else True, bottom=bottom, top=top, size=size, alpha=alpha, beta=beta)
result.weight.data.copy_(other.weight.data)
if not other.bias is None:
result.bias.data.copy_(other.bias.data)
return result
def __init__(self, in_channels, out_channels, kernel_size, bottom=-1, top=1, size=5, alpha=0, beta=0, stride=1, padding=1, dilation=1, groups=1, bias=True):
self.top = top
self.bottom = bottom
self.size = size
torch.nn.Conv2d.__init__(self, in_channels, out_channels, kernel_size, stride=stride, padding=padding, dilation=dilation, groups=groups, bias=bias)
self.register_buffer("alpha", torch.Tensor([alpha]))
self.register_buffer("beta", torch.Tensor([beta]))
self.weight_op = elastic_quant_connect.QuantWeightLin(self.top, self.bottom, self.size)
def train(self, mode=True):
self.training = mode
#if self.training==mode:
# return
#if mode:
# self.weight.data.copy_(self.weight.org.data)
#else: # Eval mod
# if not hasattr(self.weight,'org'):
# self.weight.org=self.weight.data.clone()
# self.weight.org.data.copy_(self.weight.data)
# self.weight.data.copy_(elastic_quant_connect.lin_proj(self.weight, bottom=self.bottom, top=self.top, size=self.size).detach())
"""
def reset_parameters(self):
self.weight.data.uniform_(self.bottom, self.top)
if self.bias is not None:
self.bias.data.zero_()
"""
def clamp(self):
self.weight.data.clamp_(self.bottom, self.top)
if not self.bias is None:
self.bias.data.clamp_(self.bottom, self.top)
def set_alpha(self, alpha):
self.alpha = torch.Tensor([alpha]).to(self.weight.device)
def set_beta(self, beta):
self.beta = torch.Tensor([beta]).to(self.weight.device)
def forward(self, input):
if self.training:
out = torch.nn.functional.conv2d(input, self.weight_op.apply(self.weight, self.alpha, self.beta), self.bias, self.stride, self.padding, self.dilation, self.groups)
else:
out = torch.nn.functional.conv2d(input, elastic_quant_connect.lin_proj(self.weight, bottom=self.bottom, top=self.top, size=self.size), self.bias, self.stride, self.padding, self.dilation, self.groups)
return out
class QuantConv2dLog(torch.nn.Conv2d, QLayer):
@staticmethod
def convert(other, gamma=2, init=0.25, size=5, alpha=0, beta=0):
if not isinstance(other, torch.nn.Conv2d):
raise TypeError("Expected a torch.nn.Conv2d ! Receive: {}".format(other.__class__))
result = QuantConv2dLog(other.in_channels, other.out_channels, other.kernel_size, stride=other.stride,
padding=other.padding, dilation=other.dilation, groups=other.groups,
bias=False if other.bias is None else True, gamma=gamma, init=init, size=size, alpha=alpha, beta=beta)
result.weight.data.copy_(other.weight.data)
if not other.bias is None:
result.bias.data.copy_(other.bias.data)
return result
def __init__(self, in_channels, out_channels, kernel_size, gamma=2, init=0.25, size=5, alpha=0, beta=0, stride=1, padding=1, dilation=1, groups=1, bias=True):
torch.nn.Conv2d.__init__(self, in_channels, out_channels, kernel_size, stride=stride, padding=padding, dilation=dilation, groups=groups, bias=bias)
self.gamma = gamma
self.init = init
self.size = size
self.register_buffer("alpha", torch.Tensor([alpha]))
self.register_buffer("beta", torch.Tensor([beta]))
self.weight_op = elastic_quant_connect.QuantWeightExp(gamma=self.gamma, init=self.init, size=self.size)
def train(self, mode=True):
self.training = mode
#if self.training==mode:
# return
#if mode:
# self.weight.data.copy_(self.weight.org.data)
#else: # Eval mod
# if not hasattr(self.weight,'org'):
# self.weight.org=self.weight.data.clone()
# self.weight.org.data.copy_(self.weight.data)
# self.weight.data.copy_(elastic_quant_connect.lin_proj(self.weight, bottom=self.bottom, top=self.top, size=self.size).detach())
"""
def reset_parameters(self):
self.weight.data.uniform_(self.bottom, self.top)
if self.bias is not None:
self.bias.data.zero_()
"""
def clamp(self):
self.weight.data.clamp_(self.bottom, self.top)
if not self.bias is None:
self.bias.data.clamp_(self.bottom, self.top)
def set_alpha(self, alpha):
self.alpha = torch.Tensor([alpha]).to(self.weight.device)
def set_beta(self, beta):
self.alpha = torch.Tensor([beta]).to(self.weight.device)
def forward(self, input):
if self.training:
out = torch.nn.functional.conv2d(input, self.weight_op.apply(self.weight, self.alpha, self.beta), self.bias, self.stride, self.padding, self.dilation, self.groups)
else:
out = torch.nn.functional.conv2d(input, elastic_quant_connect.exp_proj(self.weight, init=self.init, gamma=self.gamma, size=self.size), self.bias, self.stride, self.padding, self.dilation, self.groups)
return out
def set_model_alpha(model, alpha):
layers = flat_net(model, (LinearQuantLin, LinearQuantLog, QuantConv2dLin, QuantConv2dLog))
for layer in layers:
layer.set_alpha(alpha)
def set_model_beta(model, beta):
layers = flat_net(model, (LinearQuantLin, LinearQuantLog, QuantConv2dLin, QuantConv2dLog))
for layer in layers:
layer.set_beta(beta)
| 44.092857 | 212 | 0.652195 | 1,686 | 12,346 | 4.654211 | 0.069988 | 0.084109 | 0.042819 | 0.019498 | 0.912323 | 0.911559 | 0.906971 | 0.904804 | 0.895374 | 0.881228 | 0 | 0.008501 | 0.218694 | 12,346 | 279 | 213 | 44.250896 | 0.804997 | 0.092095 | 0 | 0.761111 | 0 | 0 | 0.019952 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.177778 | false | 0 | 0.055556 | 0 | 0.311111 | 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 |
287c517bd8e4908d4c3b0bca4c2fbb77e591e2d3 | 1,510 | py | Python | YTools/universe/exceptions.py | FFTYYY/YTools | f1de3ebd913a1c66e5a82d53562cef2ab71f3255 | [
"MIT"
] | 1 | 2020-05-31T08:12:54.000Z | 2020-05-31T08:12:54.000Z | YTools/universe/exceptions.py | FFTYYY/YTools | f1de3ebd913a1c66e5a82d53562cef2ab71f3255 | [
"MIT"
] | null | null | null | YTools/universe/exceptions.py | FFTYYY/YTools | f1de3ebd913a1c66e5a82d53562cef2ab71f3255 | [
"MIT"
] | null | null | null | class ArgumentError(Exception):
'''函数的参数不符合要求'''
def __init__(self, func_name , var_name = None , var_val = None , class_name = None , note_str = None):
'''
参数:
func_name: 字符串。抛出异常的位置
var_name: str,抛出异常的变量名
var_val: object,抛出异常的变量值
in_class: 如果不是None,就是某个class
'''
if class_name is not None:
func_name = "{class_name}.{func_name}".format(class_name = class_name , func_name = func_name)
if note_str is None:
note_str = "Invalid argument value"
var_str = ""
if var_name is not None:
var_str = ": {var_name} can not be {var_val}".format(var_name = var_name , var_val = var_val)
self.args = ["{func_name}: {note_str}{var_str}".format(
func_name = func_name , note_str = note_str , var_str = var_str
)]
class YAttributeError(Exception):
'''函数的参数不符合要求'''
def __init__(self, func_name , var_name = None , var_val = None , class_name = None , note_str = None):
'''
参数:
func_name: 字符串。抛出异常的位置
var_name: str,抛出异常的变量名
var_val: object,抛出异常的变量值
in_class: 如果不是None,就是某个class
'''
if class_name is not None:
func_name = "{class_name}.{func_name}".format(class_name = class_name , func_name = func_name)
if note_str is None:
note_str = "Invalid artribute value"
var_str = ""
if var_name is not None:
var_str = ": {var_name} can not be {var_val}".format(var_name = var_name , var_val = var_val)
self.args = ["{func_name}: {note_str}{var_str}".format(
func_name = func_name , note_str = note_str , var_str = var_str
)]
| 30.2 | 104 | 0.678808 | 232 | 1,510 | 4.064655 | 0.150862 | 0.152704 | 0.101803 | 0.055143 | 0.941676 | 0.941676 | 0.941676 | 0.941676 | 0.941676 | 0.941676 | 0 | 0 | 0.196689 | 1,510 | 49 | 105 | 30.816327 | 0.777411 | 0.19404 | 0 | 0.833333 | 0 | 0 | 0.182488 | 0.03928 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0 | 0 | 0.166667 | 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 |
953d0eaf4334a306fbd6c348c623da315a6de7e6 | 24,496 | py | Python | tests/data/test_fixtures/mapper_custom_data_types_fixtures.py | Breaka84/spooq | d44eb5ad98612ff59826e7caa6d3b255f3a351c2 | [
"MIT"
] | null | null | null | tests/data/test_fixtures/mapper_custom_data_types_fixtures.py | Breaka84/spooq | d44eb5ad98612ff59826e7caa6d3b255f3a351c2 | [
"MIT"
] | null | null | null | tests/data/test_fixtures/mapper_custom_data_types_fixtures.py | Breaka84/spooq | d44eb5ad98612ff59826e7caa6d3b255f3a351c2 | [
"MIT"
] | null | null | null | import datetime
from pyspark.sql import functions as F
from pyspark.sql import types as T
complex_event_expression = (
F.when(F.col("nested.input_key_1").isNotNull(), F.col("nested.input_key_1") / 1000)
.otherwise(F.col("nested.input_key_2") / 1000)
.cast(T.TimestampType())
.cast(T.DateType())
)
# fmt: off
fixtures_for_spark_sql_object = [
# input_value_1 # input_value_1 # mapper function # expected_value
("place_holder", "place_holder", F.current_date(), datetime.date.today()),
("place_holder", "place_holder", F.current_timestamp(), datetime.datetime.now()),
("some string", "place_holder", F.col("nested.input_key_1"), "some string"),
("some string to count", "place_holder", F.length("nested.input_key_1"), 20),
("some string", None, F.coalesce("nested.input_key_1",
"nested.input_key_2"), "some string"),
(None, "some other string", F.coalesce("nested.input_key_1",
"nested.input_key_2"), "some other string"),
(1597069446, "placeholder", (F.col("nested.input_key_1")
.cast(T.TimestampType())
.cast(T.DateType())), datetime.date(2020, 8, 10)),
(1597069446000, None, complex_event_expression, datetime.date(2020, 8, 10)),
(None, 1597069446000, complex_event_expression, datetime.date(2020, 8, 10)),
(1597242246000, 1597069446000, complex_event_expression, datetime.date(2020, 8, 12)),
]
fixtures_for_has_value = [
("1", True),
("", False),
("1.0", True),
("TRUE", True),
("True", True),
("true", True),
("0", True),
("0.0", True),
("-1", True),
("-1.0", True),
("123", True),
("-123", True),
(None, False),
("FALSE", True),
("False", True),
("false", True),
("y", True),
("n", True),
("yes", True),
("no", True),
("enabled", True),
("disabled", True),
("on", True),
("off", True),
(" true", True),
("true ", True),
(" true ", True),
(1, True),
(0, True),
(-1, True),
(1.0, True),
(0.0, True),
(-1.0, True),
(True, True),
(False, True),
]
fixtures_for_extended_string_to_int = [
("123456", 123456),
("-123456", -123456),
("-1", -1),
("0", 0),
("NULL", None),
("null", None),
("None", None),
(None, None),
("Hello World", None),
("2020-08-12", None),
("1234.56", 1234),
("-1234.56", -1234),
("123,456", None), # commas not allowed due to their ambiguity
("-123,456", None), # commas not allowed due to their ambiguity
("123_456", 123456),
("-123_456", -123456),
(" 123456", 123456),
("123456 ", 123456),
(" 123456 ", 123456),
(123456, 123456),
(-123456, -123456),
(-1, -1),
(0, 0),
(1234.56, 1234),
(-1234.56, -1234),
]
fixtures_for_extended_string_to_long = [
("21474836470", 21474836470),
("-21474836470", -21474836470),
("-1", -1),
("0", 0),
("NULL", None),
("null", None),
("None", None),
(None, None),
("Hello World", None),
("2020-08-12T12:43:14+0000", None),
("214748364.70", 214748364),
("-214748364.70", -214748364),
("21,474,836,470", None), # commas not allowed due to their ambiguity
("-21,474,836,470", None), # commas not allowed due to their ambiguity
("214748364,7", None), # commas not allowed due to their ambiguity
("-214748364,7", None), # commas not allowed due to their ambiguity
("21_474_836_470", 21474836470),
("-21_474_836_470", -21474836470),
(" 21474836470", 21474836470),
("21474836470 ", 21474836470),
(" 21474836470 ", 21474836470),
(2147483.64, 2147483),
(-2147483.64, -2147483),
(21474836470, 21474836470),
(-21474836470, -21474836470),
(-1, -1),
(0, 0),
]
fixtures_for_extended_string_to_float = [
("123456.0", 123456.0),
("123456", 123456.0),
("-123456.0", -123456.0),
("-1.0", -1.0),
("0.0", 0.0),
("NULL", None),
("null", None),
("None", None),
(None, None),
("1234.56", 1234.56),
("-1234.56", -1234.56),
("-123,456.7", None), # commas not allowed due to their ambiguity
("123,456.7", None), # commas not allowed due to their ambiguity
("-123456,7", None), # commas not allowed due to their ambiguity
("123456,7", None), # commas not allowed due to their ambiguity
("123_456.7", 123456.7),
("-123_456.7", -123456.7),
(" 123456.7", 123456.7),
("123456.7 ", 123456.7),
(" 123456.7 ", 123456.7),
(123456.0, 123456.0),
(123456, 123456.0),
(-123456.0, -123456.0),
(-1.0, -1.0),
(0.0, 0.0),
("Hello", None),
("2k", None),
]
fixtures_for_extended_string_to_double = [
("214748364.70", 214748364.70),
("214748364", 214748364.0),
("-214748364.70", -214748364.70),
("-1.0", -1.0),
("0.0", 0.0),
("NULL", None),
("null", None),
("None", None),
(None, None),
("21474836470", 21474836470.0),
("-21474836470", -21474836470.0),
("21,474,836,470.7", None), # commas not allowed due to their ambiguity
("-21,474,836,470.7", None), # commas not allowed due to their ambiguity
("21474836470,7", None), # commas not allowed due to their ambiguity
("-21474836470,7", None), # commas not allowed due to their ambiguity
("21_474_836_470.7", 21474836470.7),
("-21_474_836_470.7", -21474836470.7),
(" 21474836470.7", 21474836470.7),
("21474836470.7 ", 21474836470.7),
( " 21474836470.7 ", 21474836470.7),
(214748364.70, 214748364.70),
(214748364, 214748364.0),
(-214748364.70, -214748364.70),
(-1.0, -1.0),
(0.0, 0.0),
("Hello", None),
("2k", None),
]
fixtures_for_extended_string_to_boolean = [
("1", True),
("1.0", None),
("TRUE", True),
("True", True),
("true", True),
("0", False),
("0.0", None),
("-1", None),
("-1.0", None),
("123", None),
("-123", None),
(None, None),
("FALSE", False),
("False", False),
("false", False),
("y", True),
("n", False),
("yes", True),
("no", False),
("enabled", True),
("disabled", False),
("on", True),
("off", False),
(" true", True),
("true ", True),
(" true ", True),
(1, True),
(0, False),
(-1, None),
(1.0, None),
(0.0, None),
(-1.0, None),
(True, True),
(False, False),
]
fixtures_for_extended_string_to_timestamp_spark2 = [
("2020-08-12T12:43:14+0000", datetime.datetime(2020, 8, 12, 12, 43, 14)),
("2020-08-12T12:43:14+00:00", datetime.datetime(2020, 8, 12, 12, 43, 14)),
("2020-08-12T12:43:14Z00:00", datetime.datetime(2020, 8, 12, 12, 43, 14)),
("2020-08-12T12:43:14Z0000", datetime.datetime(2020, 8, 12, 12, 43, 14)),
(" 2020-08-12T12:43:14+0000", datetime.datetime(2020, 8, 12, 12, 43, 14)),
("2020-08-12T12:43:14+0000 ", datetime.datetime(2020, 8, 12, 12, 43, 14)),
(" 2020-08-12T12:43:14+0000 ", datetime.datetime(2020, 8, 12, 12, 43, 14)),
("2020-08-12T12:43:14+02:00", datetime.datetime(2020, 8, 12, 10, 43, 14)),
("2020-08-12T12:43:14+0200", None), # only `+HH:MM` is supported by Spark for timezone offsets
("2020-08-12T12:43:14Z0200", None), # only `+HH:MM` is supported by Spark for timezone offsets
("2020-08-12T12:43:14", datetime.datetime(2020, 8, 12, 12, 43, 14)),
("2020-08-12 12:43:14", datetime.datetime(2020, 8, 12, 12, 43, 14)),
("2020-08-12", datetime.datetime(2020, 8, 12, 0, 0, 0)),
(None, None),
("1597069446", datetime.datetime(2020, 8, 10, 14, 24, 6)),
(1597069446, datetime.datetime(2020, 8, 10, 14, 24, 6)),
("-1597069446", datetime.datetime(1919, 5, 24, 9, 35, 54)),
(-1597069446, datetime.datetime(1919, 5, 24, 9, 35, 54)),
("1597069446000", datetime.datetime(2020, 8, 10, 14, 24, 6)),
("1597069446002", datetime.datetime(2020, 8, 10, 14, 24, 6, 2000)),
(1597069446000, datetime.datetime(2020, 8, 10, 14, 24, 6)),
(1597069446002, datetime.datetime(2020, 8, 10, 14, 24, 6, 2000)),
("-1597069446000", datetime.datetime(1919, 5, 24, 9, 35, 54)),
(-1597069446000, datetime.datetime(1919, 5, 24, 9, 35, 54)),
("null", None),
("0", datetime.datetime(1970, 1, 1, 0, 0, 0)),
("-1", datetime.datetime(1969, 12, 31, 23, 59, 59)),
("1", datetime.datetime(1970, 1, 1, 0, 0, 1)),
("nil", None),
("Hello", None),
("2k", None),
]
fixtures_for_extended_string_to_timestamp = [
("2020-08-12T12:43:14+0000", datetime.datetime(2020, 8, 12, 12, 43, 14)),
("2020-08-12T12:43:14+00:00", datetime.datetime(2020, 8, 12, 12, 43, 14)),
("2020-08-12T12:43:14Z00:00", None), # No `Z` allowed by Spark3 for timezone settings (only `+HH:MM`)
("2020-08-12T12:43:14Z0000", None), # No `Z` allowed by Spark3 for timezone settings (only `+HH:MM`)
(" 2020-08-12T12:43:14+0000", datetime.datetime(2020, 8, 12, 12, 43, 14)),
("2020-08-12T12:43:14+0000 ", datetime.datetime(2020, 8, 12, 12, 43, 14)),
(" 2020-08-12T12:43:14+0000 ", datetime.datetime(2020, 8, 12, 12, 43, 14)),
("2020-08-12T12:43:14+02:00", datetime.datetime(2020, 8, 12, 10, 43, 14)),
("2020-08-12T12:43:14+0200", None), # only `+HH:MM` is supported by Spark for timezone offsets
("2020-08-12T12:43:14Z0200", None), # only `+HH:MM` is supported by Spark for timezone offsets
("2020-08-12T12:43:14", datetime.datetime(2020, 8, 12, 12, 43, 14)),
("2020-08-12 12:43:14", datetime.datetime(2020, 8, 12, 12, 43, 14)),
("2020-08-12", datetime.datetime(2020, 8, 12, 0, 0, 0)),
(None, None),
("1597069446", datetime.datetime(2020, 8, 10, 14, 24, 6)),
(1597069446, datetime.datetime(2020, 8, 10, 14, 24, 6)),
("-1597069446", datetime.datetime(1919, 5, 24, 9, 35, 54)),
(-1597069446, datetime.datetime(1919, 5, 24, 9, 35, 54)),
("1597069446000", datetime.datetime(2020, 8, 10, 14, 24, 6)),
("1597069446002", datetime.datetime(2020, 8, 10, 14, 24, 6, 2000)),
(1597069446000, datetime.datetime(2020, 8, 10, 14, 24, 6)),
(1597069446002, datetime.datetime(2020, 8, 10, 14, 24, 6, 2000)),
("-1597069446000", datetime.datetime(1919, 5, 24, 9, 35, 54)),
(-1597069446000, datetime.datetime(1919, 5, 24, 9, 35, 54)),
("null", None),
("0", datetime.datetime(1970, 1, 1, 0, 0, 0)),
("-1", datetime.datetime(1969, 12, 31, 23, 59, 59)),
("1", datetime.datetime(1970, 1, 1, 0, 0, 1)),
("nil", None),
("Hello", None),
("2k", None),
("-5355957305054330880", None),
("5355957305054330880", None),
(-5355957305054330880, None),
("1.547035982469E12", None),
]
fixtures_for_extended_string_unix_timestamp_ms_to_timestamp_spark2 = [
("2020-08-12T12:43:14+0000", datetime.datetime(2020, 8, 12, 12, 43, 14)),
("2020-08-12T12:43:14+00:00", datetime.datetime(2020, 8, 12, 12, 43, 14)),
("2020-08-12T12:43:14Z00:00", datetime.datetime(2020, 8, 12, 12, 43, 14)),
("2020-08-12T12:43:14Z0000", datetime.datetime(2020, 8, 12, 12, 43, 14)),
(" 2020-08-12T12:43:14+0000", datetime.datetime(2020, 8, 12, 12, 43, 14)),
("2020-08-12T12:43:14+0000 ", datetime.datetime(2020, 8, 12, 12, 43, 14)),
(" 2020-08-12T12:43:14+0000 ", datetime.datetime(2020, 8, 12, 12, 43, 14)),
("2020-08-12T12:43:14+02:00", datetime.datetime(2020, 8, 12, 10, 43, 14)),
("2020-08-12T12:43:14+0200", None), # only `+HH:MM` is supported by Spark for timezone offsets
("2020-08-12T12:43:14Z0200", None), # only `+HH:MM` is supported by Spark for timezone offsets
("2020-08-12T12:43:14", datetime.datetime(2020, 8, 12, 12, 43, 14)),
("2020-08-12 12:43:14", datetime.datetime(2020, 8, 12, 12, 43, 14)),
("2020-08-12", datetime.datetime(2020, 8, 12, 0, 0, 0)),
(None, None),
("1597069446000", datetime.datetime(2020, 8, 10, 14, 24, 6)),
(1597069446000, datetime.datetime(2020, 8, 10, 14, 24, 6)),
("-1597069446000", datetime.datetime(1919, 5, 24, 9, 35, 54)),
(-1597069446000, datetime.datetime(1919, 5, 24, 9, 35, 54)),
("null", None),
("0", datetime.datetime(1970, 1, 1, 0, 0, 0)),
("-1", datetime.datetime(1969, 12, 31, 23, 59, 59)),
("1", datetime.datetime(1970, 1, 1, 0, 0, 1)),
("nil", None),
("Hello", None),
("2k", None),
]
fixtures_for_extended_string_unix_timestamp_ms_to_timestamp = [
("2020-08-12T12:43:14+0000", datetime.datetime(2020, 8, 12, 12, 43, 14)),
("2020-08-12T12:43:14+00:00", datetime.datetime(2020, 8, 12, 12, 43, 14)),
("2020-08-12T12:43:14Z00:00", None), # No `Z` allowed by Spark3 for timezone settings (only `+HH:MM`)
("2020-08-12T12:43:14Z0000", None), # No `Z` allowed by Spark3 for timezone settings (only `+HH:MM`)
(" 2020-08-12T12:43:14+0000", datetime.datetime(2020, 8, 12, 12, 43, 14)),
("2020-08-12T12:43:14+0000 ", datetime.datetime(2020, 8, 12, 12, 43, 14)),
(" 2020-08-12T12:43:14+0000 ", datetime.datetime(2020, 8, 12, 12, 43, 14)),
("2020-08-12T12:43:14+02:00", datetime.datetime(2020, 8, 12, 10, 43, 14)),
("2020-08-12T12:43:14+0200", None), # only `+HH:MM` is supported by Spark for timezone offsets
("2020-08-12T12:43:14Z0200", None), # only `+HH:MM` is supported by Spark for timezone offsets
("2020-08-12T12:43:14", datetime.datetime(2020, 8, 12, 12, 43, 14)),
("2020-08-12 12:43:14", datetime.datetime(2020, 8, 12, 12, 43, 14)),
("2020-08-12", datetime.datetime(2020, 8, 12, 0, 0, 0)),
(None, None),
("1597069446000", datetime.datetime(2020, 8, 10, 14, 24, 6)),
(1597069446000, datetime.datetime(2020, 8, 10, 14, 24, 6)),
("-1597069446000", datetime.datetime(1919, 5, 24, 9, 35, 54)),
(-1597069446000, datetime.datetime(1919, 5, 24, 9, 35, 54)),
("null", None),
("0", datetime.datetime(1970, 1, 1, 0, 0, 0)),
("-1", datetime.datetime(1969, 12, 31, 23, 59, 59)),
("1", datetime.datetime(1970, 1, 1, 0, 0, 1)),
("nil", None),
("Hello", None),
("2k", None),
]
fixtures_for_extended_string_to_date_spark2 = [
("2020-08-12T12:43:14+0000", datetime.date(2020, 8, 12)),
("2020-08-12T12:43:14+00:00", datetime.date(2020, 8, 12)),
("2020-08-12T12:43:14Z00:00", datetime.date(2020, 8, 12)),
("2020-08-12T12:43:14Z0000", datetime.date(2020, 8, 12)),
(" 2020-08-12T12:43:14+0000", datetime.date(2020, 8, 12)),
("2020-08-12T12:43:14+0000 ", datetime.date(2020, 8, 12)),
(" 2020-08-12T12:43:14+0000 ", datetime.date(2020, 8, 12)),
("2020-08-12T12:43:14+02:00", datetime.date(2020, 8, 12)),
("2020-08-12T12:43:14+0200", None), # only `+HH:MM` is supported by Spark for timezone offsets
("2020-08-12T12:43:14Z0200", None), # only `+HH:MM` is supported by Spark for timezone offsets
("2020-08-12T12:43:14", datetime.date(2020, 8, 12)),
("2020-08-12 12:43:14", datetime.date(2020, 8, 12)),
("2020-08-12", datetime.date(2020, 8, 12)),
(None, None),
("1597069446", datetime.date(2020, 8, 10)),
(1597069446, datetime.date(2020, 8, 10)),
("-1597069446", datetime.date(1919, 5, 24)),
(-1597069446, datetime.date(1919, 5, 24)),
("1597069446000", datetime.date(2020, 8, 10)),
("-1597069446000", datetime.date(1919, 5, 24)),
("null", None),
("0", datetime.date(1970, 1, 1,)),
("-1", datetime.date(1969, 12, 31,)),
("1", datetime.date(1970, 1, 1,)),
("nil", None),
("Hello", None),
("2k", None),
]
fixtures_for_extended_string_to_date = [
("2020-08-12T12:43:14+0000", datetime.date(2020, 8, 12)),
("2020-08-12T12:43:14+00:00", datetime.date(2020, 8, 12)),
("2020-08-12T12:43:14Z00:00", None), # No `Z` allowed by Spark3 for timezone settings (only `+HH:MM`)
("2020-08-12T12:43:14Z0000", None), # No `Z` allowed by Spark3 for timezone settings (only `+HH:MM`)
(" 2020-08-12T12:43:14+0000", datetime.date(2020, 8, 12)),
("2020-08-12T12:43:14+0000 ", datetime.date(2020, 8, 12)),
(" 2020-08-12T12:43:14+0000 ", datetime.date(2020, 8, 12)),
("2020-08-12T12:43:14+02:00", datetime.date(2020, 8, 12)),
("2020-08-12T12:43:14+0200", None), # only `+HH:MM` is supported by Spark for timezone offsets
("2020-08-12T12:43:14Z0200", None), # only `+HH:MM` is supported by Spark for timezone offsets
("2020-08-12T12:43:14", datetime.date(2020, 8, 12)),
("2020-08-12 12:43:14", datetime.date(2020, 8, 12)),
("2020-08-12", datetime.date(2020, 8, 12)),
(None, None),
("1597069446", datetime.date(2020, 8, 10)),
(1597069446, datetime.date(2020, 8, 10)),
("-1597069446", datetime.date(1919, 5, 24)),
(-1597069446, datetime.date(1919, 5, 24)),
("1597069446000", datetime.date(2020, 8, 10)),
("-1597069446000", datetime.date(1919, 5, 24)),
("null", None),
("0", datetime.date(1970, 1, 1,)),
("-1", datetime.date(1969, 12, 31,)),
("1", datetime.date(1970, 1, 1,)),
("nil", None),
("Hello", None),
("2k", None),
]
fixtures_for_extended_string_unix_timestamp_ms_to_date_spark2 = [
("2020-08-12T12:43:14+0000", datetime.date(2020, 8, 12)),
("2020-08-12T12:43:14+00:00", datetime.date(2020, 8, 12)),
("2020-08-12T12:43:14Z00:00", datetime.date(2020, 8, 12)),
("2020-08-12T12:43:14Z0000", datetime.date(2020, 8, 12)),
(" 2020-08-12T12:43:14+0000", datetime.date(2020, 8, 12)),
("2020-08-12T12:43:14+0000 ", datetime.date(2020, 8, 12)),
(" 2020-08-12T12:43:14+0000 ", datetime.date(2020, 8, 12)),
("2020-08-12T12:43:14+02:00", datetime.date(2020, 8, 12)),
("2020-08-12T12:43:14+0200", None), # only `+HH:MM` is supported by Spark for timezone offsets
("2020-08-12T12:43:14Z0200", None), # only `+HH:MM` is supported by Spark for timezone offsets
("2020-08-12T12:43:14", datetime.date(2020, 8, 12)),
("2020-08-12 12:43:14", datetime.date(2020, 8, 12)),
("2020-08-12", datetime.date(2020, 8, 12)),
(None, None),
("1597069446000", datetime.date(2020, 8, 10)),
(1597069446000, datetime.date(2020, 8, 10)),
("-1597069446000", datetime.date(1919, 5, 24)),
(-1597069446000, datetime.date(1919, 5, 24)),
("null", None),
("0", datetime.date(1970, 1, 1)),
("-1", datetime.date(1969, 12, 31)),
("1", datetime.date(1970, 1, 1)),
("nil", None),
("Hello", None),
("2k", None),
]
fixtures_for_extended_string_unix_timestamp_ms_to_date = [
("2020-08-12T12:43:14+0000", datetime.date(2020, 8, 12)),
("2020-08-12T12:43:14+00:00", datetime.date(2020, 8, 12)),
("2020-08-12T12:43:14Z00:00", None), # No `Z` allowed by Spark3 for timezone settings (only `+HH:MM`)
("2020-08-12T12:43:14Z0000", None), # No `Z` allowed by Spark3 for timezone settings (only `+HH:MM`)
(" 2020-08-12T12:43:14+0000", datetime.date(2020, 8, 12)),
("2020-08-12T12:43:14+0000 ", datetime.date(2020, 8, 12)),
(" 2020-08-12T12:43:14+0000 ", datetime.date(2020, 8, 12)),
("2020-08-12T12:43:14+02:00", datetime.date(2020, 8, 12)),
("2020-08-12T12:43:14+0200", None), # only `+HH:MM` is supported by Spark for timezone offsets
("2020-08-12T12:43:14Z0200", None), # only `+HH:MM` is supported by Spark for timezone offsets
("2020-08-12T12:43:14", datetime.date(2020, 8, 12)),
("2020-08-12 12:43:14", datetime.date(2020, 8, 12)),
("2020-08-12", datetime.date(2020, 8, 12)),
(None, None),
("1597069446000", datetime.date(2020, 8, 10)),
(1597069446000, datetime.date(2020, 8, 10)),
("-1597069446000", datetime.date(1919, 5, 24)),
(-1597069446000, datetime.date(1919, 5, 24)),
("null", None),
("0", datetime.date(1970, 1, 1)),
("-1", datetime.date(1969, 12, 31)),
("1", datetime.date(1970, 1, 1)),
("nil", None),
("Hello", None),
("2k", None),
]
# fmt:on
| 52.34188 | 117 | 0.471342 | 2,901 | 24,496 | 3.930024 | 0.049638 | 0.048241 | 0.08587 | 0.101482 | 0.922551 | 0.896939 | 0.860012 | 0.850189 | 0.82677 | 0.821507 | 0 | 0.324263 | 0.350384 | 24,496 | 467 | 118 | 52.453961 | 0.392195 | 0.086381 | 0 | 0.662946 | 0 | 0 | 0.186845 | 0.088117 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.006696 | 0 | 0.006696 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
9552d3f95d28722de741e31d77888354d045239c | 295 | py | Python | conv2eng/test.py | raisulalam/aganitha_spoken2written | ffab797fa70500d5412740b9bc1e96424a75ea1d | [
"MIT"
] | null | null | null | conv2eng/test.py | raisulalam/aganitha_spoken2written | ffab797fa70500d5412740b9bc1e96424a75ea1d | [
"MIT"
] | null | null | null | conv2eng/test.py | raisulalam/aganitha_spoken2written | ffab797fa70500d5412740b9bc1e96424a75ea1d | [
"MIT"
] | null | null | null | import conv2eng
data = conv2eng.conve2english.check_word("Currently I have seventy dollar in my account")
print(data)
upd = conv2eng.conve2english.update_word_dict('Seventy','70')
print(upd)
data = conv2eng.conve2english.check_word("Currently I have seventy dollar in my account")
print(data) | 29.5 | 89 | 0.79661 | 42 | 295 | 5.5 | 0.452381 | 0.272727 | 0.21645 | 0.25974 | 0.701299 | 0.701299 | 0.701299 | 0.701299 | 0.701299 | 0.701299 | 0 | 0.033962 | 0.101695 | 295 | 10 | 90 | 29.5 | 0.837736 | 0 | 0 | 0.571429 | 0 | 0 | 0.334459 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.428571 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 9 |
9569d540daa1f455f22296483f8726c6eee9cbb9 | 2,032 | py | Python | errors/department.py | CloudCIX/membership | a7a62918c7d7c65dd1bf2068431dbf2ec2573e4b | [
"Apache-2.0"
] | null | null | null | errors/department.py | CloudCIX/membership | a7a62918c7d7c65dd1bf2068431dbf2ec2573e4b | [
"Apache-2.0"
] | null | null | null | errors/department.py | CloudCIX/membership | a7a62918c7d7c65dd1bf2068431dbf2ec2573e4b | [
"Apache-2.0"
] | null | null | null | """
Error Codes for all of the Methods in the Department Service
"""
# Create
membership_department_create_101 = 'The "name" parameter is invalid. "name" is required and must be a string.'
membership_department_create_102 = 'The "name" parameter is invalid. "name" cannot be longer than 50 characters.'
membership_department_create_103 = (
'The "name" parameter is invalid. A Department with that name already exists for your Member.'
)
membership_department_create_201 = 'You do not have permission to make this request. Your Member must be self-managed.'
membership_department_create_202 = 'You do not have permission to make this request. You must be an administrator.'
# Read
membership_department_read_001 = 'The "pk" path parameter is invalid. "pk" must belong to a valid Department record.'
# Update
membership_department_update_001 = 'The "pk" path parameter is invalid. "pk" must belong to a valid Department record.'
membership_department_update_101 = 'The "name" parameter is invalid. "name" is required and must be a string.'
membership_department_update_102 = 'The "name" parameter is invalid. "name" cannot be longer than 50 characters.'
membership_department_update_103 = (
'The "name" parameter is invalid. A Department with that name already exists for your Member.'
)
membership_department_update_201 = 'You do not have permission to make this request. Your Member must be self-managed.'
membership_department_update_202 = 'You do not have permission to make this request. You must be an administrator.'
# Delete
membership_department_delete_001 = 'The "pk" path parameter is invalid. "pk" must belong to a valid Department record.'
membership_department_delete_201 = 'You do not have permission to make this request. Your Member must be self-managed.'
membership_department_delete_202 = 'You do not have permission to make this request. You must be an administrator.'
membership_department_delete_203 = (
'You do not have permission to make this request. The specified Department is not empty.'
)
| 59.764706 | 119 | 0.789862 | 303 | 2,032 | 5.138614 | 0.207921 | 0.205523 | 0.104046 | 0.05395 | 0.80668 | 0.80668 | 0.80668 | 0.80668 | 0.80668 | 0.781631 | 0 | 0.029954 | 0.145669 | 2,032 | 33 | 120 | 61.575758 | 0.866935 | 0.042815 | 0 | 0.090909 | 0 | 0 | 0.669597 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
95c48ce583e580fea057ede12f041353a4cdc486 | 132 | py | Python | Orchestrator/Client/sample.py | miyurud/RaspaCN | b7d1826b619501d36925a1405fda12fd710b872a | [
"Apache-2.0"
] | null | null | null | Orchestrator/Client/sample.py | miyurud/RaspaCN | b7d1826b619501d36925a1405fda12fd710b872a | [
"Apache-2.0"
] | null | null | null | Orchestrator/Client/sample.py | miyurud/RaspaCN | b7d1826b619501d36925a1405fda12fd710b872a | [
"Apache-2.0"
] | 2 | 2019-07-01T16:05:48.000Z | 2019-07-01T19:20:45.000Z | print('win-------------------------------')
print('win-------------------------------')
print('win-------------------------------')
| 33 | 43 | 0.181818 | 6 | 132 | 4 | 0.333333 | 1 | 1.083333 | 1.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 132 | 3 | 44 | 44 | 0.186047 | 0 | 0 | 1 | 0 | 0 | 0.772727 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 11 |
c24fc99b813eb892f8bbf33c30e5d1237756920e | 5,183 | py | Python | nextage_cp_adapter/src/nextage_cp_adapter/kawada_robot_info.py | JKBehrens/STAAMS-Solver | b6837da69cda574d081ab3dc0b307e3ce40ad6f2 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 16 | 2018-12-11T13:02:58.000Z | 2022-02-28T09:05:20.000Z | nextage_cp_adapter/src/nextage_cp_adapter/kawada_robot_info.py | stepakar/STAAMS-Solver | b6837da69cda574d081ab3dc0b307e3ce40ad6f2 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2019-11-04T13:16:49.000Z | 2022-02-28T09:17:30.000Z | nextage_cp_adapter/src/nextage_cp_adapter/kawada_robot_info.py | stepakar/STAAMS-Solver | b6837da69cda574d081ab3dc0b307e3ce40ad6f2 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 4 | 2019-02-12T12:41:25.000Z | 2022-02-09T12:55:56.000Z | #!/usr/bin/env python
"""
Copyright (c) 2018 Robert Bosch GmbH
All rights reserved.
This source code is licensed under the BSD-3-Clause license found in the
LICENSE file in the root directory of this source tree.
@author: Jan Behrens
"""
import math
import geometry_msgs
import tf
from roadmap_tools.robot_info import RobotInfo
class RobotInfoKawada(RobotInfo):
def __init__(self):
pass
def getStateValidity(self):
from roadmap_tools import kinematics_interface
return kinematics_interface.StateValidity()
def getSV(self):
from roadmap_tools import kinematics_interface
return kinematics_interface.StateValidity()
def getIK(self):
from roadmap_tools import kinematics_interface
return kinematics_interface.InverseKinematics()
def getFK(self):
from roadmap_tools import kinematics_interface
return kinematics_interface.ForwardKinematics()
def getRoots(self, now):
return self.getStaticRobotTransforms(now)
def getStaticRobotTransforms(self, now):
transforms = []
# right arm gripper transform
static_transformStamped = geometry_msgs.msg.TransformStamped()
static_transformStamped.header.stamp = now
static_transformStamped.header.frame_id = "RARM_JOINT5_Link"
static_transformStamped.child_frame_id = "RARM_Gripper"
static_transformStamped.transform.translation.x = -0.2
static_transformStamped.transform.translation.y = -0.00
static_transformStamped.transform.translation.z = -0.01
quat = tf.transformations.quaternion_from_euler(0.0, math.pi / 2, 0.0)
static_transformStamped.transform.rotation.x = quat[0]
static_transformStamped.transform.rotation.y = quat[1]
static_transformStamped.transform.rotation.z = quat[2]
static_transformStamped.transform.rotation.w = quat[3]
transforms.append(static_transformStamped)
# left arm gripper transform
static_transformStamped = geometry_msgs.msg.TransformStamped()
static_transformStamped.header.stamp = now
static_transformStamped.header.frame_id = "LARM_JOINT5_Link"
static_transformStamped.child_frame_id = "LARM_Gripper"
static_transformStamped.transform.translation.x = -0.2
static_transformStamped.transform.translation.y = 0.00
static_transformStamped.transform.translation.z = -0.01
quat = tf.transformations.quaternion_from_euler(0.0, math.pi / 2, 0.0)
static_transformStamped.transform.rotation.x = quat[0]
static_transformStamped.transform.rotation.y = quat[1]
static_transformStamped.transform.rotation.z = quat[2]
static_transformStamped.transform.rotation.w = quat[3]
transforms.append(static_transformStamped)
return transforms
def get_eef2tip_transform(self, group, now):
if group == "right_arm":
static_transformStamped = geometry_msgs.msg.TransformStamped()
static_transformStamped.header.stamp = now
static_transformStamped.header.frame_id = "RARM_JOINT5_Link"
static_transformStamped.child_frame_id = "RARM_Gripper"
static_transformStamped.transform.translation.x = -0.2
static_transformStamped.transform.translation.y = -0.00
static_transformStamped.transform.translation.z = -0.01
quat = tf.transformations.quaternion_from_euler(0.0, math.pi/2, 0.0)
static_transformStamped.transform.rotation.x = quat[0]
static_transformStamped.transform.rotation.y = quat[1]
static_transformStamped.transform.rotation.z = quat[2]
static_transformStamped.transform.rotation.w = quat[3]
return static_transformStamped
if group == "left_arm":
static_transformStamped = geometry_msgs.msg.TransformStamped()
static_transformStamped.header.stamp = now
static_transformStamped.header.frame_id = "LARM_JOINT5_Link"
static_transformStamped.child_frame_id = "LARM_Gripper"
static_transformStamped.transform.translation.x = -0.2
static_transformStamped.transform.translation.y = 0.00
static_transformStamped.transform.translation.z = -0.01
quat = tf.transformations.quaternion_from_euler(0.0, math.pi / 2, 0.0)
static_transformStamped.transform.rotation.x = quat[0]
static_transformStamped.transform.rotation.y = quat[1]
static_transformStamped.transform.rotation.z = quat[2]
static_transformStamped.transform.rotation.w = quat[3]
return static_transformStamped
def getBaseFrame(self):
return "WAIST"
def getGroups(self):
return ["right_arm", "left_arm"]
def getEndEffector(self, group):
group2ee = {"right_arm": "RARM_JOINT5_Link", "left_arm": "LARM_JOINT5_Link"}
return group2ee[group]
def getCompleteGroup(self):
return "upperbody"
def getGroupForOVCType(self, ovc_type):
task2group = {"pick": ["right_arm", "left_arm"]}
return task2group[ovc_type] | 37.557971 | 84 | 0.704032 | 568 | 5,183 | 6.214789 | 0.202465 | 0.29915 | 0.245892 | 0.176771 | 0.762606 | 0.762606 | 0.762606 | 0.762606 | 0.762606 | 0.762606 | 0 | 0.020624 | 0.214162 | 5,183 | 138 | 85 | 37.557971 | 0.846059 | 0.054987 | 0 | 0.637363 | 0 | 0 | 0.047044 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.010989 | 0.087912 | 0.043956 | 0.384615 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c2e3faf79e3663dd09115ead9e8da64a746ce62c | 26,292 | py | Python | gems/scratch.py | 0xOddrey/DroppingGemsNFT | 536c0c3f0f53ac9437d88625709609037306848e | [
"MIT"
] | null | null | null | gems/scratch.py | 0xOddrey/DroppingGemsNFT | 536c0c3f0f53ac9437d88625709609037306848e | [
"MIT"
] | null | null | null | gems/scratch.py | 0xOddrey/DroppingGemsNFT | 536c0c3f0f53ac9437d88625709609037306848e | [
"MIT"
] | null | null | null | <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 472.22 383.94"><defs><mask id="mask" x="359.16" y="-8613" width="472.22" height="32766" maskUnits="userSpaceOnUse"><g style="filter:url(#luminosity-noclip)"/></mask><mask id="mask-3" x="0" y="307.49" width="472.22" height="76.44" maskUnits="userSpaceOnUse"><g style="filter:url(#luminosity-noclip-3)"><g style="mask:url(#mask)" transform="translate(-359.16 -251.17)"><ellipse cx="595.28" cy="596.89" rx="236.11" ry="38.22" style="fill:url(#Sfumatura_senza_nome_2);mix-blend-mode:multiply"/></g></g></mask><mask id="mask-5" x="103.65" y="58.74" width="110.34" height="110.34" maskUnits="userSpaceOnUse"><image width="112" height="112" transform="translate(102.84 57.83)" style="filter:url(#luminosity-noclip-5)"/></mask><mask id="mask-6" x="258.24" y="173.9" width="110.34" height="110.34" maskUnits="userSpaceOnUse"><image width="111" height="111" transform="translate(257.84 173.83)" style="filter:url(#luminosity-noclip-6)"/></mask><mask id="mask-7" x="180.94" y="217.29" width="110.34" height="110.34" maskUnits="userSpaceOnUse"><image width="111" height="111" transform="translate(180.84 216.83)" style="filter:url(#luminosity-noclip-7)"/></mask><mask id="mask-8" x="230.74" y="114.61" width="110.34" height="110.34" maskUnits="userSpaceOnUse"><image width="112" height="112" transform="translate(229.84 113.83)" style="filter:url(#luminosity-noclip-8)"/></mask><mask id="mask-9" x="103.65" y="173.9" width="110.34" height="110.34" maskUnits="userSpaceOnUse"><image width="112" height="111" transform="translate(102.84 173.83)" style="filter:url(#luminosity-noclip-9)"/></mask><mask id="mask-10" x="180.94" y="12.17" width="110.34" height="110.34" maskUnits="userSpaceOnUse"><image width="111" height="111" transform="translate(180.84 11.83)" style="filter:url(#luminosity-noclip-10)"/></mask><mask id="mask-11" x="79.51" y="34.83" width="156.63" height="156.63" maskUnits="userSpaceOnUse"><image width="158" height="157" transform="translate(78.84 34.83)" style="filter:url(#luminosity-noclip-11)"/></mask><mask id="mask-12" x="65.1" y="56.01" width="187.43" height="108.95" maskUnits="userSpaceOnUse"><image width="188" height="110" transform="translate(64.84 55.83)" style="filter:url(#luminosity-noclip-12)"/></mask><mask id="mask-13" x="151.1" y="2.37" width="15.43" height="216.24" maskUnits="userSpaceOnUse"><image width="16" height="217" transform="translate(150.84 1.83)" style="filter:url(#luminosity-noclip-13)"/></mask><mask id="mask-14" x="65.1" y="56.01" width="187.43" height="108.95" maskUnits="userSpaceOnUse"><image width="188" height="110" transform="translate(64.84 55.83)" style="filter:url(#luminosity-noclip-14)"/></mask><mask id="mask-15" x="65.1" y="56.01" width="187.43" height="108.95" maskUnits="userSpaceOnUse"><image width="188" height="110" transform="translate(64.84 55.83)" style="filter:url(#luminosity-noclip-15)"/></mask><mask id="mask-16" x="151.1" y="2.37" width="15.43" height="216.24" maskUnits="userSpaceOnUse"><image width="16" height="217" transform="translate(150.84 1.83)" style="filter:url(#luminosity-noclip-16)"/></mask><mask id="mask-17" x="128.82" y="55.11" width="59.99" height="110.75" maskUnits="userSpaceOnUse"><image width="61" height="112" transform="translate(127.84 54.83)" style="filter:url(#luminosity-noclip-17)"/></mask><mask id="mask-18" x="125.54" y="57.02" width="66.55" height="106.94" maskUnits="userSpaceOnUse"><image width="68" height="108" transform="translate(124.84 56.83)" style="filter:url(#luminosity-noclip-18)"/></mask><mask id="mask-19" x="96.03" y="105.61" width="125.57" height="9.75" maskUnits="userSpaceOnUse"><image width="126" height="11" transform="translate(95.84 104.83)" style="filter:url(#luminosity-noclip-19)"/></mask><mask id="mask-20" x="128.82" y="55.11" width="59.99" height="110.75" maskUnits="userSpaceOnUse"><image width="61" height="112" transform="translate(127.84 54.83)" style="filter:url(#luminosity-noclip-20)"/></mask><mask id="mask-21" x="125.54" y="57.02" width="66.55" height="106.94" maskUnits="userSpaceOnUse"><image width="68" height="108" transform="translate(124.84 56.83)" style="filter:url(#luminosity-noclip-21)"/></mask><mask id="mask-22" x="88.81" y="40.48" width="140.01" height="140.01" maskUnits="userSpaceOnUse"><image width="141" height="141" transform="translate(87.84 39.83)" style="filter:url(#luminosity-noclip-22)"/></mask><clipPath id="clip-path" transform="translate(-359.16 -251.17)"><circle class="cls-4" cx="517.98" cy="365.08" r="39.01"/></clipPath><clipPath id="clip-path-2" transform="translate(-359.16 -251.17)"><circle class="cls-4" cx="672.57" cy="480.24" r="39.01" transform="rotate(-75.87 672.522 480.244)"/></clipPath><clipPath id="clip-path-3" transform="translate(-359.16 -251.17)"><circle class="cls-4" cx="595.28" cy="523.63" r="39.01" transform="rotate(-75.05 595.243 523.629)"/></clipPath><clipPath id="clip-path-4" transform="translate(-359.16 -251.17)"><circle class="cls-4" cx="645.07" cy="420.95" r="39.01"/></clipPath><clipPath id="clip-path-5" transform="translate(-359.16 -251.17)"><circle class="cls-4" cx="517.98" cy="480.24" r="39.01"/></clipPath><clipPath id="clip-path-6" transform="translate(-359.16 -251.17)"><circle class="cls-4" cx="595.27" cy="318.51" r="39.01"/></clipPath><clipPath id="clip-path-7" transform="translate(-359.16 -251.17)"><path class="cls-4" d="m573.31 361.65-15.28 1.34-24.77-.3 29.1 3.41-34.63-3.12 44.26 7.76-66.3-11.55 51.48 11.8 15.79 5.72-67.13-18.82 27.16 8.98-9.39-3.05 16.45 7.2-1.39.24L508.82 357l25.63 13.68-10.58-5.55 7.75 5.23-5.62-3.21-16.26-11.6.05-.39 25.79 21.39-2.13-.9 22.17 22.43-30.86-29.4 18.71 21.16 5.59 8.57-3.61-1.98-24.2-30.32 18.86 27.77-.13 2.22-19.21-29.69 20.7 38.08-18.05-32.04 15.8 34.95-23.54-51.13 11.97 30.51.03 2.81 2.01 9.83.31 6.18-14.52-54.55 14.06 67.68-3.68-10.15-2.73-8.51-5.02-37.38.46 7.55-.23 1.92-.36-7.41.23-10.55.21.41-3.72 39.68-2.63 11.44-2.32 4.82 10.4-59.76-12.4 53.78-5.08 12.99 6.93-28.92-6.46 15.7 13.34-38.79-4.56 10.39-9.93 20.12 12.75-27.98-9.79 17.33-9.73 14.6 15.65-27.21-18.5 26.11-5.78 5.28 38.07-50.96-3.46 4.64-11.57 13.01-23.83 24.02 24.88-26.19 8.11-7.8-10.18 8.66-36.39 28.24 34.89-28.16 16.21-11.69-52.51 33.83 18.37-13.07-15.13 7.03 10.21-7.05 15.53-8.61 5.08-2.88 25.34-10.27-14.71 5.57-46.85 14.44 9.57-4.42 33.07-9.27-15.41 2.89 23.96-4.78-36.13 4.88 14.08-2.56 13.92-1.6-51.05 1.46 5.21-1.9-3.11-1.83 45.44 1.17-44.42-4.76 15.01.17 36.45 4.77-17.27-3.59-32.1-8.33.54-1.72.44-1.74 47.04 14.45 1.57.45 3.12 1.23-50.05-23.25 40.65 18.55-11.91-6.92 10.99 5.61 8.89 5.24-6.17-4.29 10.72 7.56-6.96-5.31-25.69-21.93 31.01 26.37-33.07-31.88 5.79 3.92 30.38 31.78-33.79-39.55 30.87 36.68-10.57-14.13-7.91-12.34 17.36 25.37-7.69-12.83 1.6 2.04-10.93-22.36 15.17 29.86 3.16 7.3-9.85-24.96 10.14 27.11-3.13-9.14 4.08 14.79-1.49-4.18-6.81-32.04-2.76-21.19 7.04 41.64-3.11-32.05.07-16.35 3.46 53.72-.09 4.91-.01-7.47.69-10.5 3.11-27.9-3.51 35.97 7.3-43.15-.29 9.12 3.58-9.74-6.39 29.31-1.55 6.9 15.05-42.31-1.11 7.99-4.33 14.21-.02 2.59-14.97 31.75 20.97-38.54-22.66 40.69 28.48-45.01-22.82 35.83-1.54 2.24 1.27-1.6-1.8 2.23 29.36-32.46-33.26 36.42 12.07-11.95 18.58-16.33-21.31 19.57-15.08 12.2 28.29-21.41 4.98-2.51-5.16 4.41-29.94 18.59 50.44-28.23-29.42 16.54 20.56-9.19-15.51 7.77.21.47 13.13-4.03-2.8 1.89 5-.48-1.4 1.39 16.53-2.35-9.11 3.07-4.18 1.78-41.33 5.17 25.65-2.02-13.25.97 52.83.09z"/></clipPath><clipPath id="clip-path-8" transform="translate(-359.16 -251.17)"><path class="cls-4" d="M520.71 356.93c-36.57-21.11-67.44-36.11-68.94-33.5s26.91 21.84 63.48 42.95 67.43 36.11 68.94 33.5-26.92-21.88-63.48-42.95Z"/></clipPath><clipPath id="clip-path-9" transform="translate(-359.16 -251.17)"><path class="cls-4" d="M523.43 361.65c0-42.22-2.44-76.45-5.45-76.45s-5.46 34.23-5.46 76.45 2.48 76.46 5.48 76.46 5.43-34.23 5.43-76.46Z"/></clipPath><clipPath id="clip-path-10" transform="translate(-359.16 -251.17)"><path class="cls-4" d="M520.71 366.38c36.56-21.11 65-40.34 63.48-42.95s-32.37 12.39-68.94 33.5-65 40.34-63.48 42.95 32.37-12.39 68.94-33.5Z"/></clipPath><clipPath id="clip-path-11" transform="translate(-359.16 -251.17)"><path class="cls-4" d="M515.25 366.38c36.57 21.11 67.43 36.11 68.94 33.5s-26.92-21.88-63.48-42.95-67.44-36.11-68.94-33.5 26.91 21.84 63.48 42.95Z"/></clipPath><clipPath id="clip-path-12" transform="translate(-359.16 -251.17)"><path class="cls-4" d="M512.52 361.65c0 42.23 2.44 76.46 5.46 76.46s5.45-34.23 5.45-76.46S521 285.2 518 285.2s-5.48 34.23-5.48 76.45Z"/></clipPath><clipPath id="clip-path-13" transform="translate(-359.16 -251.17)"><path class="cls-4" d="M520.77 360.15c-11.61-21.61-22.27-38.45-23.77-37.62s6.62 19 18.23 40.62 22.28 38.46 23.82 37.63-6.67-19.02-18.28-40.63Z"/></clipPath><clipPath id="clip-path-14" transform="translate(-359.16 -251.17)"><path class="cls-4" d="M520.67 363.32c12.91-20.86 22.17-38.51 20.68-39.44s-13.16 15.25-26.07 36.12-22.16 38.51-20.68 39.43 13.16-15.25 26.07-36.11Z"/></clipPath><clipPath id="clip-path-15" transform="translate(-359.16 -251.17)"><path class="cls-4" d="M517.88 364.82c24.52.75 44.44-.06 44.49-1.81s-19.78-3.78-44.3-4.52-44.44.06-44.49 1.81 19.78 3.77 44.3 4.52Z"/></clipPath><clipPath id="clip-path-16" transform="translate(-359.16 -251.17)"><path class="cls-4" d="M515.18 363.15c11.62 21.61 22.28 38.46 23.82 37.63s-6.62-19-18.23-40.63S498.5 321.7 497 322.53s6.57 19.02 18.18 40.62Z"/></clipPath><clipPath id="clip-path-17" transform="translate(-359.16 -251.17)"><path class="cls-4" d="M515.28 360c-12.91 20.86-22.16 38.51-20.68 39.43s13.16-15.24 26.07-36.1 22.17-38.51 20.68-39.44-13.16 15.24-26.07 36.11Z"/></clipPath><clipPath id="clip-path-18" transform="translate(-359.16 -251.17)"><circle class="cls-4" cx="517.98" cy="361.65" r="49.5" transform="rotate(-45 517.974 361.658)"/></clipPath><linearGradient id="Bianco_nero" x1="91.33" y1="169.78" x2="380.89" y2="169.78" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset="1"/></linearGradient><linearGradient id="Bianco_nero-2" x1="91.33" y1="137.41" x2="380.89" y2="137.41" xlink:href="#Bianco_nero"/><linearGradient id="Sfumatura_senza_nome_5" x1="128.95" y1="95.07" x2="254.94" y2="-10.87" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#070560"/><stop offset="1"/></linearGradient><linearGradient id="Sfumatura_senza_nome_92" x1="91.33" y1="169.78" x2="158.81" y2="169.78" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#006792"/><stop offset="1" stop-color="#092659"/></linearGradient><linearGradient id="Sfumatura_senza_nome_83" x1="220.11" y1="289.41" x2="103.29" y2="157.29" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#00f258"/><stop offset=".41" stop-color="#4bba93"/><stop offset=".53" stop-color="#389081"/><stop offset=".68" stop-color="#24616c"/><stop offset=".82" stop-color="#153f5d"/><stop offset=".93" stop-color="#0b2b54"/><stop offset="1" stop-color="#082351"/></linearGradient><linearGradient id="Sfumatura_senza_nome_63" x1="236.11" y1="92.27" x2="236.11" y2="256.17" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ab65fc"/><stop offset=".51" stop-color="#ebffbf"/><stop offset="1" stop-color="#b7ff6a"/></linearGradient><linearGradient id="Sfumatura_senza_nome_50" x1="315.76" y1="115.13" x2="306.95" y2="294.32" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#f43908"/><stop offset=".14" stop-color="#f04307"/><stop offset=".38" stop-color="#e35f06"/><stop offset=".69" stop-color="#d08b03"/><stop offset="1" stop-color="#b9bf00"/></linearGradient><linearGradient id="Sfumatura_senza_nome_42" x1="405.16" y1="188.6" x2="320.62" y2="123.03" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#510000"/><stop offset=".3" stop-color="#560103"/><stop offset=".64" stop-color="#63060c"/><stop offset=".99" stop-color="#790d1b"/><stop offset="1" stop-color="#7a0d1c"/></linearGradient><linearGradient id="Sfumatura_senza_nome_101" x1="91.33" y1="295.16" x2="236.11" y2="295.16" gradientUnits="userSpaceOnUse"><stop offset=".02" stop-color="#0e682a"/><stop offset="1" stop-color="#00d470"/></linearGradient><linearGradient id="Sfumatura_senza_nome_114" x1="236.11" y1="295.16" x2="380.89" y2="295.16" gradientUnits="userSpaceOnUse"><stop offset=".01" stop-color="#0b7034"/><stop offset="1" stop-color="#a99400"/></linearGradient><linearGradient id="Sfumatura_senza_nome_15" x1="234.76" y1="138.91" x2="240.51" y2="18.09" gradientUnits="userSpaceOnUse"><stop offset=".01" stop-color="#f9b9fc"/><stop offset="1" stop-color="#ec2df7"/></linearGradient><linearGradient id="Sfumatura_senza_nome_32" x1="237.13" y1="51.1" x2="411.25" y2="76.26" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#9a009d"/><stop offset=".03" stop-color="#970097"/><stop offset=".24" stop-color="#86006f"/><stop offset=".44" stop-color="#780050"/><stop offset=".64" stop-color="#6e003a"/><stop offset=".83" stop-color="#68002d"/><stop offset="1" stop-color="#660028"/></linearGradient><linearGradient id="Bianco_nero-3" x1="450.5" y1="420.95" x2="740.05" y2="420.95" gradientTransform="matrix(1 0 0 -1 -359.16 590.72)" xlink:href="#Bianco_nero"/><linearGradient id="Bianco_nero-4" x1="450.5" y1="388.58" x2="740.05" y2="388.58" gradientTransform="matrix(1 0 0 -1 -359.16 590.72)" xlink:href="#Bianco_nero"/><linearGradient id="Sfumatura_senza_nome_83-2" x1="579.28" y1="540.58" x2="462.45" y2="408.46" gradientTransform="matrix(1 0 0 -1 -359.16 590.72)" xlink:href="#Sfumatura_senza_nome_83"/><linearGradient id="Sfumatura_senza_nome_50-2" x1="674.93" y1="366.3" x2="666.11" y2="545.49" gradientTransform="matrix(1 0 0 -1 -359.16 590.72)" xlink:href="#Sfumatura_senza_nome_50"/><linearGradient id="Sfumatura_senza_nome_101-2" x1="450.5" y1="546.33" x2="595.27" y2="546.33" gradientTransform="matrix(1 0 0 -1 -359.16 590.72)" xlink:href="#Sfumatura_senza_nome_101"/><filter id="luminosity-noclip" x="359.16" y="-8613" width="472.22" height="32766" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-color="#fff" result="bg"/><feBlend in="SourceGraphic" in2="bg"/></filter><filter id="luminosity-noclip-3" x="359.16" y="558.66" width="472.22" height="76.44" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-color="#fff" result="bg"/><feBlend in="SourceGraphic" in2="bg"/></filter><filter id="luminosity-noclip-5" x="462.81" y="309.91" width="110.34" height="110.34" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-color="#fff" result="bg"/><feBlend in="SourceGraphic" in2="bg"/></filter><filter id="luminosity-noclip-6" x="617.4" y="425.07" width="110.34" height="110.34" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-color="#fff" result="bg"/><feBlend in="SourceGraphic" in2="bg"/></filter><filter id="luminosity-noclip-7" x="540.11" y="468.46" width="110.34" height="110.34" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-color="#fff" result="bg"/><feBlend in="SourceGraphic" in2="bg"/></filter><filter id="luminosity-noclip-8" x="589.9" y="365.78" width="110.34" height="110.34" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-color="#fff" result="bg"/><feBlend in="SourceGraphic" in2="bg"/></filter><filter id="luminosity-noclip-9" x="462.81" y="425.07" width="110.34" height="110.34" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-color="#fff" result="bg"/><feBlend in="SourceGraphic" in2="bg"/></filter><filter id="luminosity-noclip-10" x="540.11" y="263.34" width="110.34" height="110.34" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-color="#fff" result="bg"/><feBlend in="SourceGraphic" in2="bg"/></filter><filter id="luminosity-noclip-11" x="438.67" y="286" width="156.63" height="156.63" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-color="#fff" result="bg"/><feBlend in="SourceGraphic" in2="bg"/></filter><filter id="luminosity-noclip-12" x="424.26" y="307.18" width="187.43" height="108.95" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-color="#fff" result="bg"/><feBlend in="SourceGraphic" in2="bg"/></filter><filter id="luminosity-noclip-13" x="510.26" y="253.53" width="15.43" height="216.24" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-color="#fff" result="bg"/><feBlend in="SourceGraphic" in2="bg"/></filter><filter id="luminosity-noclip-17" x="487.98" y="306.28" width="59.99" height="110.75" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-color="#fff" result="bg"/><feBlend in="SourceGraphic" in2="bg"/></filter><filter id="luminosity-noclip-18" x="484.7" y="308.19" width="66.55" height="106.94" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-color="#fff" result="bg"/><feBlend in="SourceGraphic" in2="bg"/></filter><filter id="luminosity-noclip-19" x="455.19" y="356.78" width="125.57" height="9.75" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-color="#fff" result="bg"/><feBlend in="SourceGraphic" in2="bg"/></filter><filter id="luminosity-noclip-22" x="447.97" y="291.65" width="140.01" height="140.01" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-color="#fff" result="bg"/><feBlend in="SourceGraphic" in2="bg"/></filter><radialGradient id="Sfumatura_senza_nome_2" cx="1117.97" cy="604.73" r="145.21" gradientTransform="matrix(-1.63 0 0 .26 2413.1 437.72)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset=".15" stop-color="#e0e0e0"/><stop offset=".47" stop-color="#909090"/><stop offset=".94" stop-color="#121212"/><stop offset="1"/></radialGradient><radialGradient id="Sfumatura_senza_nome_39" cx="1117.97" cy="604.73" r="145.21" gradientTransform="matrix(-1.63 0 0 .26 2413.1 437.72)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset=".18" stop-color="#fff"/><stop offset=".43" stop-color="#fff"/><stop offset=".51" stop-color="#fbfbfb"/><stop offset=".58" stop-color="#f0f0f0"/><stop offset=".65" stop-color="#ddd"/><stop offset=".72" stop-color="#c3c3c3"/><stop offset=".79" stop-color="#a1a1a1"/><stop offset=".85" stop-color="#787878"/><stop offset=".92" stop-color="#464646"/><stop offset=".98" stop-color="#0f0f0f"/><stop offset="1"/></radialGradient><radialGradient id="Sfumatura_senza_nome_37" cx="1117.97" cy="604.73" r="145.21" gradientTransform="matrix(-1.63 0 0 .26 2053.94 186.55)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset=".1" stop-color="#fab3ff"/><stop offset=".18" stop-color="#f77fff"/><stop offset=".19" stop-color="#ea78f1"/><stop offset=".24" stop-color="#a854a9"/><stop offset=".29" stop-color="#71366e"/><stop offset=".34" stop-color="#461f3f"/><stop offset=".38" stop-color="#280e1e"/><stop offset=".41" stop-color="#150409"/><stop offset=".43" stop-color="#0e0002"/><stop offset=".51" stop-color="#110406"/><stop offset=".58" stop-color="#1c0f11"/><stop offset=".65" stop-color="#2e2223"/><stop offset=".72" stop-color="#473c3d"/><stop offset=".79" stop-color="#675e5f"/><stop offset=".85" stop-color="#8e8788"/><stop offset=".92" stop-color="#bdb9b9"/><stop offset=".98" stop-color="#f1f0f0"/><stop offset="1" stop-color="#fff"/></radialGradient><style>.cls-4{fill:none}.cls-6{mask:url(#mask-3)}.cls-27,.cls-31{fill:#fff}.cls-25,.cls-27{stroke-miterlimit:10;stroke:#fff;stroke-width:3px}</style></defs><g style="isolation:isolate"><g class="cls-6" id="_Livello_" data-name="<Livello>"><ellipse cx="236.11" cy="345.72" rx="236.11" ry="38.22" style="fill:url(#Sfumatura_senza_nome_37)" class="cls-6"/></g><g id="_Livello_2" data-name="<Livello>"><path style="fill:url(#Bianco_nero)" d="M91.33 86.19v167.17l144.78 83.59 144.78-83.59V86.19L236.11 2.6 91.33 86.19z"/><path style="stroke-miterlimit:10;stroke:#000;stroke-width:1.54px;fill:#fff" d="M91.33 86.19v167.17l144.78 83.59 144.78-83.59V86.19L236.11 2.6 91.33 86.19z"/><path style="fill:url(#Bianco_nero-2)" d="m236.11 2.6-77.3 107.88-67.48 142.88 144.78 18.85 144.78-18.85-67.48-142.88L236.11 2.6z"/><path style="fill:url(#Sfumatura_senza_nome_5)" id="_Livello_3" data-name="<Livello>" d="m91.33 86.19 67.48 24.29L236.11 2.6 91.33 86.19z"/><path style="fill:url(#Sfumatura_senza_nome_92)" id="_Livello_4" data-name="<Livello>" d="m91.33 86.19 67.48 24.29-67.48 142.88V86.19z"/><path style="fill:url(#Sfumatura_senza_nome_83)" id="_Livello_5" data-name="<Livello>" d="M158.81 110.48 91.33 253.36l144.78 18.85-77.3-161.73"/><path style="fill:url(#Sfumatura_senza_nome_63)" id="_Livello_6" data-name="<Livello>" d="m158.81 110.48 77.3 161.73 77.3-161.73h-154.6"/><path style="fill:url(#Sfumatura_senza_nome_50)" id="_Livello_7" data-name="<Livello>" d="m313.41 110.48-77.3 161.73 144.78-18.85-67.48-142.88"/><path style="fill:url(#Sfumatura_senza_nome_42)" id="_Livello_8" data-name="<Livello>" d="m313.41 110.48 67.48-24.29v167.17l-67.48-142.88"/><path style="fill:url(#Sfumatura_senza_nome_101)" id="_Livello_9" data-name="<Livello>" d="m91.33 253.36 144.78 18.85v64.74L91.33 253.36z"/><path style="fill:url(#Sfumatura_senza_nome_114)" id="_Livello_10" data-name="<Livello>" d="M236.11 272.21v64.74l144.78-83.59-144.78 18.85z"/><path style="fill:url(#Sfumatura_senza_nome_15)" id="_Livello_11" data-name="<Livello>" d="m236.11 2.6-77.3 107.88h154.6L236.11 2.6z"/><path style="fill:url(#Sfumatura_senza_nome_32)" id="_Livello_12" data-name="<Livello>" d="m236.11 2.6 77.3 107.88 67.48-24.29L236.11 2.6z"/></g><g id="_Livello_13" data-name="<Livello>" style="mix-blend-mode:soft-light"><path style="fill:url(#Bianco_nero-3)" d="M91.33 253.36V86.19L236.11 2.6l144.78 83.59v167.17l-144.78 83.59-144.78-83.59z"/><path style="fill:url(#Bianco_nero-4);stroke:#fff;stroke-width:3px;stroke-miterlimit:10" d="m236.11 336.95-77.3-107.88L91.33 86.19l144.78-18.85 144.78 18.85-67.48 142.88-77.3 107.88z"/><path style="stroke-linejoin:round;stroke:#fff;stroke-width:3px;fill:#fff" d="m91.33 253.36 67.48-24.29 77.3 107.88-144.78-83.59z"/><path class="cls-25" d="m91.33 253.36 67.48-24.29L91.33 86.19v167.17z"/><path style="fill:url(#Sfumatura_senza_nome_83-2);stroke:#fff;stroke-width:3px;stroke-miterlimit:10" d="M158.81 229.07 91.33 86.19l144.78-18.85-77.3 161.73"/><path class="cls-27" d="m158.81 229.07 77.3-161.73 77.3 161.73h-154.6"/><path style="fill:url(#Sfumatura_senza_nome_50-2);stroke:#fff;stroke-width:3px;stroke-miterlimit:10" d="m313.41 229.07-77.3-161.73 144.78 18.85-67.48 142.88"/><path class="cls-25" d="m313.41 229.07 67.48 24.29V86.19l-67.48 142.88"/><path style="fill:url(#Sfumatura_senza_nome_101-2);stroke:#fff;stroke-width:3px;stroke-miterlimit:10" d="m91.33 86.19 144.78-18.85V2.6L91.33 86.19z"/><path class="cls-27" d="M236.11 67.34V2.6l144.78 83.59-144.78-18.85z"/><path class="cls-25" d="m236.11 336.95-77.3-107.88h154.6l-77.3 107.88z"/><path style="stroke-linejoin:round;stroke:#fff;stroke-width:3px" d="m236.11 336.95 77.3-107.88 67.48 24.29-144.78 83.59z"/></g><g id="_Livello_14" data-name="<Livello>"><path class="cls-31" d="m740.39 338.3-67.5 24.23.52-1.28 67.36 142.94a.79.79 0 0 1-.38 1.06.62.62 0 0 1-.23.07L595.36 524a.67.67 0 0 1-.68-.37l-77.15-161.8.9-.44 77.15 161.8a.35.35 0 0 1-.16.46.63.63 0 0 1-.19 0l-144.76-19a.22.22 0 0 1-.18-.23.11.11 0 0 1 0-.06l67.61-142.83v.09l-67.4-24.26 67.5 24.23a.06.06 0 0 1 0 .08l-67.32 142.95-.16-.29L595.32 523l-.35.49-77.44-161.62.9-.44 77.44 161.66-.68-.37 144.76-19-.61 1.12-67.62-142.79a.93.93 0 0 1 .45-1.24h.08l67.47-24.35Z" transform="translate(-359.16 -251.17)"/><path class="cls-31" d="m158.82 109.48 154.58.47h.86l-.37.77-77.78 161.49 76.81-161.96.48.77-154.58.46v-2z"/><g style="clip-path:url(#clip-path)"><image width="112" height="112" transform="translate(102.84 57.83)" style="mask:url(#mask-5)"/></g><g style="clip-path:url(#clip-path-2)"><image width="111" height="111" transform="translate(257.84 173.83)" style="mask:url(#mask-6)"/></g><g style="clip-path:url(#clip-path-3)"><image width="111" height="111" transform="translate(180.84 216.83)" style="mask:url(#mask-7)"/></g><g style="clip-path:url(#clip-path-4)"><image width="112" height="112" transform="translate(229.84 113.83)" style="mask:url(#mask-8)"/></g><g style="clip-path:url(#clip-path-5)"><image width="112" height="111" transform="translate(102.84 173.83)" style="mask:url(#mask-9)"/></g><g style="clip-path:url(#clip-path-6)"><image width="111" height="111" transform="translate(180.84 11.83)" style="mask:url(#mask-10)"/></g><g style="clip-path:url(#clip-path-7)"><image width="158" height="157" transform="translate(78.84 34.83)" style="mask:url(#mask-11)"/></g><g style="clip-path:url(#clip-path-8)"><use transform="translate(64.84 55.83)" xlink:href="#image" style="mask:url(#mask-12)"/></g><g style="clip-path:url(#clip-path-9)"><use transform="translate(150.84 1.83)" xlink:href="#image-2" style="mask:url(#mask-13)"/></g><g style="clip-path:url(#clip-path-10)"><image width="188" height="110" transform="translate(64.84 55.83)" style="mask:url(#mask-14)"/></g><g style="clip-path:url(#clip-path-11)"><use transform="translate(64.84 55.83)" xlink:href="#image" style="mask:url(#mask-15)"/></g><g style="clip-path:url(#clip-path-12)"><use transform="translate(150.84 1.83)" xlink:href="#image-2" style="mask:url(#mask-16)"/></g><g style="clip-path:url(#clip-path-13)"><use transform="translate(127.84 54.83)" xlink:href="#image-3" style="mask:url(#mask-17)"/></g><g style="clip-path:url(#clip-path-14)"><use transform="translate(124.84 56.83)" xlink:href="#image-4" style="mask:url(#mask-18)"/></g><g style="clip-path:url(#clip-path-15)"><image width="126" height="11" transform="translate(95.84 104.83)" style="mask:url(#mask-19)"/></g><g style="clip-path:url(#clip-path-16)"><use transform="translate(127.84 54.83)" xlink:href="#image-3" style="mask:url(#mask-20)"/></g><g style="clip-path:url(#clip-path-17)"><use transform="translate(124.84 56.83)" xlink:href="#image-4" style="mask:url(#mask-21)"/></g><g style="clip-path:url(#clip-path-18)"><image width="141" height="141" transform="translate(87.84 39.83)" style="mask:url(#mask-22)"/></g></g></g></svg> | 26,292 | 26,292 | 0.694926 | 5,152 | 26,292 | 3.519022 | 0.097632 | 0.041368 | 0.033756 | 0.026475 | 0.725924 | 0.644236 | 0.571263 | 0.525703 | 0.468726 | 0.446056 | 0 | 0.245304 | 0.054351 | 26,292 | 1 | 26,292 | 26,292 | 0.483892 | 0 | 0 | 0 | 0 | 11 | 0.497324 | 0.092177 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c2e4c350d68d6cd581850efa8a9d6d9bde251d53 | 36 | py | Python | pyrolib/helpers.py | johnosullivan/UniversalBotLibrary | 4ae46547e6dd0441e5da861ab1568923cbc8980e | [
"MIT"
] | null | null | null | pyrolib/helpers.py | johnosullivan/UniversalBotLibrary | 4ae46547e6dd0441e5da861ab1568923cbc8980e | [
"MIT"
] | null | null | null | pyrolib/helpers.py | johnosullivan/UniversalBotLibrary | 4ae46547e6dd0441e5da861ab1568923cbc8980e | [
"MIT"
] | null | null | null | def valid_system():
return True
| 12 | 19 | 0.694444 | 5 | 36 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 36 | 2 | 20 | 18 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
c2f24253dfcfed7d531e33cfac04b7430efed149 | 3,035 | py | Python | image_fingerprint_by_fourhash.py | DorianLiu0413TW/Copyright-Hub | 787229f0005dee3a8d5f1608f245c271821c8ddf | [
"MIT"
] | 1 | 2021-09-21T02:29:51.000Z | 2021-09-21T02:29:51.000Z | image_fingerprint_by_fourhash.py | DorianLiu0413TW/Copyright-Hub | 787229f0005dee3a8d5f1608f245c271821c8ddf | [
"MIT"
] | null | null | null | image_fingerprint_by_fourhash.py | DorianLiu0413TW/Copyright-Hub | 787229f0005dee3a8d5f1608f245c271821c8ddf | [
"MIT"
] | null | null | null | from mysql.connector import MySQLConnection, Error
from mysql_dbconfig import read_db_config
from mysql_insert_image_hash import insert_image_hash
from PIL import Image
import imagehash
import os
from datetime import datetime
timestamp = datetime.now().strftime('%Y-%m-%d %H:%M:%S')
# open_file_path = '/home/user/Desktop/moc/dataset/Media files/2圖片'
open_file_path = 'uploads'
# if __name__ == '__main__':
def image_fingerprint(filename):
db_config = read_db_config()
conn = MySQLConnection(**db_config)
cursor = conn.cursor()
hash = []
hash.clear()
#for filename in os.listdir(open_file_path):
if filename.endswith('.jpg') or filename.endswith('.png') or filename.endswith('.bmp'):
#print(filename)
new_filename = filename[:-4]
#print(new_filename)
#f = open(hash_file_path+'/'+new_filename+"hash.txt", "a")
a_hash = str(imagehash.average_hash(Image.open(open_file_path+'/'+filename)))
#f.write(str(a_hash)+'\n')
d_hash = str(imagehash.dhash(Image.open(open_file_path+'/'+filename)))
#f.write(str(d_hash)+'\n')
p_hash = str(imagehash.phash(Image.open(open_file_path+'/'+filename)))
#f.write(str(p_hash)+'\n')
w_hash = str(imagehash.whash(Image.open(open_file_path+'/'+filename)))
#f.write(str(w_hash)+'\n')
#f.close()
#insert_image_hash(cursor.lastrowid, timestamp, filename, a_hash, d_hash, p_hash, w_hash)
hash.append(a_hash)
hash.append(d_hash)
hash.append(p_hash)
hash.append(w_hash)
# print(a_hash)
# print(d_hash)
# print(p_hash)
# print(w_hash)
cursor.close()
conn.close()
return hash
def image_to_db(filename):
db_config = read_db_config()
conn = MySQLConnection(**db_config)
cursor = conn.cursor()
hash = []
hash.clear()
#for filename in os.listdir(open_file_path):
if filename.endswith('.jpg') or filename.endswith('.png') or filename.endswith('.bmp'):
#print(filename)
new_filename = filename[:-4]
#print(new_filename)
#f = open(hash_file_path+'/'+new_filename+"hash.txt", "a")
a_hash = str(imagehash.average_hash(Image.open(open_file_path+'/'+filename)))
#f.write(str(a_hash)+'\n')
d_hash = str(imagehash.dhash(Image.open(open_file_path+'/'+filename)))
#f.write(str(d_hash)+'\n')
p_hash = str(imagehash.phash(Image.open(open_file_path+'/'+filename)))
#f.write(str(p_hash)+'\n')
w_hash = str(imagehash.whash(Image.open(open_file_path+'/'+filename)))
#f.write(str(w_hash)+'\n')
#f.close()
results = insert_image_hash(cursor.lastrowid, timestamp, filename, a_hash, d_hash, p_hash, w_hash)
hash.append(a_hash)
hash.append(d_hash)
hash.append(p_hash)
hash.append(w_hash)
# print(a_hash)
# print(d_hash)
# print(p_hash)
# print(w_hash)
cursor.close()
conn.close()
return results
| 32.287234 | 106 | 0.635914 | 420 | 3,035 | 4.340476 | 0.178571 | 0.061437 | 0.078991 | 0.074602 | 0.806363 | 0.806363 | 0.806363 | 0.806363 | 0.806363 | 0.806363 | 0 | 0.001253 | 0.210873 | 3,035 | 93 | 107 | 32.634409 | 0.759916 | 0.256343 | 0 | 0.708333 | 0 | 0 | 0.025146 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0.145833 | 0 | 0.229167 | 0.020833 | 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 |
6c48520df0f362ea88c98ac869530b6e8999a4c7 | 50,377 | py | Python | tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/vlan_mode/test_mutli_sta_thpt_5g.py | dutta-rohan/wlan-testing | 77264245b62e21dff5f38c7eae74c22e0cdeefbb | [
"BSD-3-Clause"
] | 7 | 2020-08-19T16:45:46.000Z | 2022-02-10T09:55:22.000Z | tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/vlan_mode/test_mutli_sta_thpt_5g.py | dutta-rohan/wlan-testing | 77264245b62e21dff5f38c7eae74c22e0cdeefbb | [
"BSD-3-Clause"
] | 47 | 2020-12-20T16:06:03.000Z | 2022-03-23T03:01:22.000Z | tests/e2e/basic/performance_tests/multi_station_throughput/wpa2_personal/vlan_mode/test_mutli_sta_thpt_5g.py | dutta-rohan/wlan-testing | 77264245b62e21dff5f38c7eae74c22e0cdeefbb | [
"BSD-3-Clause"
] | 9 | 2021-02-04T22:32:06.000Z | 2021-12-14T17:45:51.000Z | """
Multi Station throughput vs Packet Size test: VLAN Mode
pytest -m "multi_sta_thpt and wpa2_personal and vlan and fiveg"
"""
import os
import allure
import pytest
pytestmark = [pytest.mark.performance, pytest.mark.multi_sta_thpt, pytest.mark.wpa2_personal, pytest.mark.vlan,
pytest.mark.fiveg]
setup_params_general = {
"mode": "VLAN",
"ssid_modes": {
"wpa2_personal": [
{"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something", "vlan": 100}]},
"rf": {},
"radius": False
}
@allure.suite("performance")
@allure.feature("VLAN Mode WPA2 PERSONAL Multi Station Throughput")
@pytest.mark.parametrize(
'setup_profiles',
[setup_params_general],
indirect=True,
scope="class"
)
@pytest.mark.usefixtures("setup_profiles")
class TestMultiStaThptvlan(object):
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_dl_5g_1",
url="https://telecominfraproject.atlassian.net/browse/WIFI-3632")
def test_mstathpt_wpa2p_vlan_udp_dl_5g_1(self, get_vif_state, lf_tools,
create_lanforge_chamberview_dut, lf_test, get_configuration):
"""
pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"]
ssid_5G = profile_data[0]["ssid_name"]
dut_name = create_lanforge_chamberview_dut
mode = "VLAN"
vlan = 100
print(lf_tools.dut_idx_mapping)
dut_5g = ""
dut_2g = ""
for i in lf_tools.dut_idx_mapping:
if lf_tools.dut_idx_mapping[i][3] == "5G":
dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4]
print(dut_5g)
if ssid_5G not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'],
['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'],
['tput_multi_udp:1'], ['tput_multi_ul:0']]
msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G,
instance_name="multistathpt_instance_wpa2p_5g_vlan_1", raw_line=raw_lines,
vlan_id=vlan, dut_5g=dut_5g, dut_2g="")
report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test")
assert True
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_dl_5g_2",
url="https://telecominfraproject.atlassian.net/browse/WIFI-3634")
def test_mstathpt_wpa2p_vlan_tcp_dl_5g_2(self, get_vif_state, lf_tools,
create_lanforge_chamberview_dut, lf_test, get_configuration):
"""
pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"]
ssid_5G = profile_data[0]["ssid_name"]
dut_name = create_lanforge_chamberview_dut
mode = "VLAN"
vlan = 100
print(lf_tools.dut_idx_mapping)
dut_5g = ""
dut_2g = ""
for i in lf_tools.dut_idx_mapping:
if lf_tools.dut_idx_mapping[i][3] == "5G":
dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4]
print(dut_5g)
if ssid_5G not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'],
['pkt_loss_thresh:500000'],
['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'],
['tput_multi_udp:0'], ['tput_multi_ul:0']]
msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G,
instance_name="multistathpt_instance_wpa2p_5g_vlan",
raw_line=raw_lines,
vlan_id=vlan, dut_5g=dut_5g, dut_2g="")
report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
lf_tools.attach_report_graphs(report_name=report_name,
pdf_name="Multi Station Throughput vs Packet Size Test")
assert True
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_ul_5g_3",
url="https://telecominfraproject.atlassian.net/browse/WIFI-3636")
def test_mstathpt_wpa2p_vlan_udp_ul_5g_3(self, get_vif_state, lf_tools,
create_lanforge_chamberview_dut, lf_test, get_configuration):
"""
pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"]
ssid_5G = profile_data[0]["ssid_name"]
dut_name = create_lanforge_chamberview_dut
mode = "VLAN"
vlan = 100
print(lf_tools.dut_idx_mapping)
dut_5g = ""
dut_2g = ""
for i in lf_tools.dut_idx_mapping:
if lf_tools.dut_idx_mapping[i][3] == "5G":
dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4]
print(dut_5g)
if ssid_5G not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'],
['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'],
['tput_multi_udp:1'], ['tput_multi_ul:1']]
msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G,
instance_name="multistathpt_instance_wpa2p_5g_vlan", raw_line=raw_lines,
vlan_id=vlan, dut_5g=dut_5g, dut_2g="")
report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test")
assert True
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_ul_5g_4",
url="https://telecominfraproject.atlassian.net/browse/WIFI-3638")
def test_mstathpt_wpa2p_vlan_tcp_ul_5g_4(self, get_vif_state, lf_tools,
create_lanforge_chamberview_dut, lf_test, get_configuration):
"""
pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"]
ssid_5G = profile_data[0]["ssid_name"]
dut_name = create_lanforge_chamberview_dut
mode = "VLAN"
vlan = 100
print(lf_tools.dut_idx_mapping)
dut_5g = ""
dut_2g = ""
for i in lf_tools.dut_idx_mapping:
if lf_tools.dut_idx_mapping[i][3] == "5G":
dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4]
print(dut_5g)
if ssid_5G not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'],
['frame_sizes:200,512,1024,MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'],
['tput_multi_udp:0'], ['tput_multi_ul:1']]
msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G,
instance_name="multistathpt_instance_wpa2p_5g_vlan_4", raw_line=raw_lines,
vlan_id=vlan, dut_5g=dut_5g, dut_2g="")
report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test")
assert True
@pytest.mark.multi_sta_perf_throughput
@pytest.mark.tcp_udp_ul_dl
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_dl_5g_5",
url="https://telecominfraproject.atlassian.net/browse/WIFI-3640")
def test_mstathpt_wpa2p_vlan_udp_dl_5g_5(self, get_vif_state, lf_tools,
create_lanforge_chamberview_dut, lf_test, get_configuration):
"""
pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"]
ssid_5G = profile_data[0]["ssid_name"]
dut_name = create_lanforge_chamberview_dut
mode = "VLAN"
vlan = 100
print(lf_tools.dut_idx_mapping)
dut_5g = ""
dut_2g = ""
for i in lf_tools.dut_idx_mapping:
if lf_tools.dut_idx_mapping[i][3] == "5G":
dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4]
print(dut_5g)
if ssid_5G not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'],
['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'],
['tput_multi_udp:1'], ['tput_multi_ul:1']]
msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G,
instance_name="multistathpt_instance_wpa2p_5g_vlan_5", raw_line=raw_lines,
vlan_id=vlan, dut_5g=dut_5g, dut_2g="")
report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test")
assert True
@pytest.mark.multi_sta_perf_throughput
@pytest.mark.tcp_udp_ul_dl
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_dl_5g_6",
url="https://telecominfraproject.atlassian.net/browse/WIFI-3642")
def test_mstathpt_wpa2p_vlan_tcp_dl_5g_6(self, get_vif_state, lf_tools,
create_lanforge_chamberview_dut, lf_test, get_configuration):
"""
pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"]
ssid_5G = profile_data[0]["ssid_name"]
dut_name = create_lanforge_chamberview_dut
mode = "VLAN"
vlan = 100
print(lf_tools.dut_idx_mapping)
dut_5g = ""
dut_2g = ""
for i in lf_tools.dut_idx_mapping:
if lf_tools.dut_idx_mapping[i][3] == "5G":
dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4]
print(dut_5g)
if ssid_5G not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'],
['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'],
['tput_multi_udp:0'], ['tput_multi_ul:0']]
msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G,
instance_name="multistathpt_instance_wpa2p_5g_vlan_6", raw_line=raw_lines,
vlan_id=vlan, dut_5g=dut_5g, dut_2g="")
report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test")
assert True
@pytest.mark.multi_sta_perf_throughput
@pytest.mark.tcp_udp_ul_dl
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_ul_5g_7",
url="https://telecominfraproject.atlassian.net/browse/WIFI-3644")
def test_mstathpt_wpa2p_vlan_udp_ul_5g_7(self, get_vif_state, lf_tools,
create_lanforge_chamberview_dut, lf_test, get_configuration):
"""
pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"]
ssid_5G = profile_data[0]["ssid_name"]
dut_name = create_lanforge_chamberview_dut
mode = "VLAN"
vlan = 100
print(lf_tools.dut_idx_mapping)
dut_5g = ""
dut_2g = ""
for i in lf_tools.dut_idx_mapping:
if lf_tools.dut_idx_mapping[i][3] == "5G":
dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4]
print(dut_5g)
if ssid_5G not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'],
['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'],
['tput_multi_udp:1'], ['tput_multi_ul:1']]
msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G,
instance_name="multistathpt_instance_wpa2p_5g_vlan_7", raw_line=raw_lines,
vlan_id=vlan, dut_5g=dut_5g, dut_2g="")
report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test")
assert True
@pytest.mark.multi_sta_perf_throughput
@pytest.mark.tcp_udp_ul_dl
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_ul_5g_8",
url="https://telecominfraproject.atlassian.net/browse/WIFI-3646")
def test_mstathpt_wpa2p_vlan_tcp_ul_5g_8(self, get_vif_state, lf_tools,
create_lanforge_chamberview_dut, lf_test, get_configuration):
"""
pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"]
ssid_5G = profile_data[0]["ssid_name"]
dut_name = create_lanforge_chamberview_dut
mode = "VLAN"
vlan = 100
print(lf_tools.dut_idx_mapping)
dut_5g = ""
dut_2g = ""
for i in lf_tools.dut_idx_mapping:
if lf_tools.dut_idx_mapping[i][3] == "5G":
dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4]
print(dut_5g)
if ssid_5G not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'],
['frame_sizes:200,512,1024,MTU'], ['capacities:MAX'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'],
['tput_multi_udp:0'], ['tput_multi_ul:1']]
msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G,
instance_name="multistathpt_instance_wpa2p_5g_vlan_8", raw_line=raw_lines,
vlan_id=vlan, dut_5g=dut_5g, dut_2g="")
report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test")
assert True
@pytest.mark.wpa2_personal
# @pytest.mark.twog
@pytest.mark.fiveg
@allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_dl_5g_9",
url="https://telecominfraproject.atlassian.net/browse/WIFI-3782")
def test_mstathpt_wpa2p_vlan_udp_dl_5g_9(self, get_vif_state, lf_tools,
create_lanforge_chamberview_dut, lf_test, get_configuration):
"""
pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"]
ssid_5G = profile_data[0]["ssid_name"]
dut_name = create_lanforge_chamberview_dut
mode = "VLAN"
vlan = 100
print(lf_tools.dut_idx_mapping)
dut_5g = ""
dut_2g = ""
for i in lf_tools.dut_idx_mapping:
if lf_tools.dut_idx_mapping[i][3] == "5G":
dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4]
print(dut_5g)
if ssid_5G not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'],
['frame_sizes:200,512'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'],
['tput_multi_udp:1'], ['tput_multi_ul:0']]
msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G,
instance_name="multistathpt_instance_wpa2p_5g_vlan_9", raw_line=raw_lines,
vlan_id=vlan, dut_5g=dut_5g, dut_2g="")
report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test")
assert True
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_dl_5g_10",
url="https://telecominfraproject.atlassian.net/browse/WIFI-3784")
def test_mstathpt_wpa2p_vlan_tcp_dl_5g_10(self, get_vif_state, lf_tools,
create_lanforge_chamberview_dut, lf_test, get_configuration):
"""
pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"]
ssid_5G = profile_data[0]["ssid_name"]
dut_name = create_lanforge_chamberview_dut
mode = "VLAN"
vlan = 100
print(lf_tools.dut_idx_mapping)
dut_5g = ""
dut_2g = ""
for i in lf_tools.dut_idx_mapping:
if lf_tools.dut_idx_mapping[i][3] == "5G":
dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4]
print(dut_5g)
if ssid_5G not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'],
['frame_sizes:200'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'],
['tput_multi_udp:0'], ['tput_multi_ul:0']]
msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G,
instance_name="multistathpt_instance_wpa2p_5g_vlan_10", raw_line=raw_lines,
vlan_id=vlan, dut_5g=dut_5g, dut_2g="")
report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test")
assert True
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_ul_5g_11",
url="https://telecominfraproject.atlassian.net/browse/WIFI-3787")
def test_mstathpt_wpa2p_vlan_udp_ul_5g_11(self, get_vif_state, lf_tools,
create_lanforge_chamberview_dut, lf_test, get_configuration):
"""
pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"]
ssid_5G = profile_data[0]["ssid_name"]
dut_name = create_lanforge_chamberview_dut
mode = "VLAN"
vlan = 100
print(lf_tools.dut_idx_mapping)
dut_5g = ""
dut_2g = ""
for i in lf_tools.dut_idx_mapping:
if lf_tools.dut_idx_mapping[i][3] == "5G":
dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4]
print(dut_5g)
if ssid_5G not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'],
['frame_sizes:200'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'],
['tput_multi_udp:1'], ['tput_multi_ul:1']]
msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G,
instance_name="multistathpt_instance_wpa2p_5g_vlan_11", raw_line=raw_lines,
vlan_id=vlan, dut_5g=dut_5g, dut_2g="")
report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test")
assert True
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_ul_5g_12",
url="https://telecominfraproject.atlassian.net/browse/WIFI-3789")
def test_mstathpt_wpa2p_vlan_tcp_ul_5g_12(self, get_vif_state, lf_tools,
create_lanforge_chamberview_dut, lf_test, get_configuration):
"""
pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"]
ssid_5G = profile_data[0]["ssid_name"]
dut_name = create_lanforge_chamberview_dut
mode = "VLAN"
vlan = 100
print(lf_tools.dut_idx_mapping)
dut_5g = ""
dut_2g = ""
for i in lf_tools.dut_idx_mapping:
if lf_tools.dut_idx_mapping[i][3] == "5G":
dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4]
print(dut_5g)
if ssid_5G not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'],
['frame_sizes:200'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'],
['tput_multi_udp:0'], ['tput_multi_ul:1']]
msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G,
instance_name="multistathpt_instance_wpa2p_5g_vlan_12", raw_line=raw_lines,
vlan_id=vlan, dut_5g=dut_5g, dut_2g="")
report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test")
assert True
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_dl_5g_13",
url="https://telecominfraproject.atlassian.net/browse/WIFI-3792")
def test_mstathpt_wpa2p_vlan_udp_dl_5g_13(self, get_vif_state, lf_tools,
create_lanforge_chamberview_dut, lf_test, get_configuration):
"""
pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"]
ssid_5G = profile_data[0]["ssid_name"]
dut_name = create_lanforge_chamberview_dut
mode = "VLAN"
vlan = 100
print(lf_tools.dut_idx_mapping)
dut_5g = ""
dut_2g = ""
for i in lf_tools.dut_idx_mapping:
if lf_tools.dut_idx_mapping[i][3] == "5G":
dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4]
print(dut_5g)
if ssid_5G not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'],
['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'],
['tput_multi_udp:1'], ['tput_multi_ul:0']]
msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G,
instance_name="multistathpt_instance_wpa2p_5g_vlan_13", raw_line=raw_lines,
vlan_id=vlan, dut_5g=dut_5g, dut_2g="")
report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test")
assert True
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_dl_5g_14",
url="https://telecominfraproject.atlassian.net/browse/WIFI-3794")
def test_mstathpt_wpa2p_vlan_tcp_dl_5g_14(self, get_vif_state, lf_tools,
create_lanforge_chamberview_dut, lf_test, get_configuration):
"""
pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"]
ssid_5G = profile_data[0]["ssid_name"]
dut_name = create_lanforge_chamberview_dut
mode = "VLAN"
vlan = 100
print(lf_tools.dut_idx_mapping)
dut_5g = ""
dut_2g = ""
for i in lf_tools.dut_idx_mapping:
if lf_tools.dut_idx_mapping[i][3] == "5G":
dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4]
print(dut_5g)
if ssid_5G not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'],
['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'],
['tput_multi_udp:0'], ['tput_multi_ul:0']]
msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G,
instance_name="multistathpt_instance_wpa2p_5g_vlan_14", raw_line=raw_lines,
vlan_id=vlan, dut_5g=dut_5g, dut_2g="")
report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test")
assert True
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_ul_5g_15",
url="https://telecominfraproject.atlassian.net/browse/WIFI-3799")
def test_mstathpt_wpa2p_vlan_udp_ul_5g_15(self, get_vif_state, lf_tools,
create_lanforge_chamberview_dut, lf_test, get_configuration):
"""
pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"]
ssid_5G = profile_data[0]["ssid_name"]
dut_name = create_lanforge_chamberview_dut
mode = "VLAN"
vlan = 100
print(lf_tools.dut_idx_mapping)
dut_5g = ""
dut_2g = ""
for i in lf_tools.dut_idx_mapping:
if lf_tools.dut_idx_mapping[i][3] == "5G":
dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4]
print(dut_5g)
if ssid_5G not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'],
['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'],
['tput_multi_udp:1'], ['tput_multi_ul:1']]
msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G,
instance_name="multistathpt_instance_wpa2p_5g_vlan_15", raw_line=raw_lines,
vlan_id=vlan, dut_5g=dut_5g, dut_2g="")
report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test")
assert True
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_ul_5g_16",
url="https://telecominfraproject.atlassian.net/browse/WIFI-3801")
def test_mstathpt_wpa2p_vlan_tcp_ul_5g_16(self, get_vif_state, lf_tools,
create_lanforge_chamberview_dut, lf_test, get_configuration):
"""
pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"]
ssid_5G = profile_data[0]["ssid_name"]
dut_name = create_lanforge_chamberview_dut
mode = "VLAN"
vlan = 100
print(lf_tools.dut_idx_mapping)
dut_5g = ""
dut_2g = ""
for i in lf_tools.dut_idx_mapping:
if lf_tools.dut_idx_mapping[i][3] == "5G":
dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4]
print(dut_5g)
if ssid_5G not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'],
['frame_sizes:512'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'],
['tput_multi_udp:0'], ['tput_multi_ul:1']]
msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G,
instance_name="multistathpt_instance_wpa2p_5g_vlan_16", raw_line=raw_lines,
vlan_id=vlan, dut_5g=dut_5g, dut_2g="")
report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test")
assert True
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_dl_5g_17",
url="https://telecominfraproject.atlassian.net/browse/WIFI-3803")
def test_mstathpt_wpa2p_vlan_udp_ul_5g_17(self, get_vif_state, lf_tools,
create_lanforge_chamberview_dut, lf_test, get_configuration):
"""
pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"]
ssid_5G = profile_data[0]["ssid_name"]
dut_name = create_lanforge_chamberview_dut
mode = "VLAN"
vlan = 100
print(lf_tools.dut_idx_mapping)
dut_5g = ""
dut_2g = ""
for i in lf_tools.dut_idx_mapping:
if lf_tools.dut_idx_mapping[i][3] == "5G":
dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4]
print(dut_5g)
if ssid_5G not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'],
['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'],
['tput_multi_udp:1'], ['tput_multi_ul:0']]
msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G,
instance_name="multistathpt_instance_wpa2p_5g_vlan_17", raw_line=raw_lines,
vlan_id=vlan, dut_5g=dut_5g, dut_2g="")
report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test")
assert True
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_dl_5g_18",
url="https://telecominfraproject.atlassian.net/browse/WIFI-3805")
def test_mstathpt_wpa2p_vlan_tcp_dl_5g_18(self, get_vif_state, lf_tools,
create_lanforge_chamberview_dut, lf_test, get_configuration):
"""
pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"]
ssid_5G = profile_data[0]["ssid_name"]
dut_name = create_lanforge_chamberview_dut
mode = "VLAN"
vlan = 100
print(lf_tools.dut_idx_mapping)
dut_5g = ""
dut_2g = ""
for i in lf_tools.dut_idx_mapping:
if lf_tools.dut_idx_mapping[i][3] == "5G":
dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4]
print(dut_5g)
if ssid_5G not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'],
['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'],
['tput_multi_udp:0'], ['tput_multi_ul:0']]
msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G,
instance_name="multistathpt_instance_wpa2p_5g_vlan_18", raw_line=raw_lines,
vlan_id=vlan, dut_5g=dut_5g, dut_2g="")
report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test")
assert True
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_ul_5g_19",
url="https://telecominfraproject.atlassian.net/browse/WIFI-3807")
def test_mstathpt_wpa2p_vlan_udp_ul_5g_19(self, get_vif_state, lf_tools,
create_lanforge_chamberview_dut, lf_test, get_configuration):
"""
pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"]
ssid_5G = profile_data[0]["ssid_name"]
dut_name = create_lanforge_chamberview_dut
mode = "VLAN"
vlan = 100
print(lf_tools.dut_idx_mapping)
dut_5g = ""
dut_2g = ""
for i in lf_tools.dut_idx_mapping:
if lf_tools.dut_idx_mapping[i][3] == "5G":
dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4]
print(dut_5g)
if ssid_5G not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'],
['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'],
['tput_multi_udp:1'], ['tput_multi_ul:1']]
msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G,
instance_name="multistathpt_instance_wpa2p_5g_vlan_19", raw_line=raw_lines,
vlan_id=vlan, dut_5g=dut_5g, dut_2g="")
report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test")
assert True
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_ul_5g_20",
url="https://telecominfraproject.atlassian.net/browse/WIFI-3811")
def test_mstathpt_wpa2p_vlan_tcp_ul_5g_20(self, get_vif_state, lf_tools,
create_lanforge_chamberview_dut, lf_test, get_configuration):
"""
pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"]
ssid_5G = profile_data[0]["ssid_name"]
dut_name = create_lanforge_chamberview_dut
mode = "VLAN"
vlan = 100
print(lf_tools.dut_idx_mapping)
dut_5g = ""
dut_2g = ""
for i in lf_tools.dut_idx_mapping:
if lf_tools.dut_idx_mapping[i][3] == "5G":
dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4]
print(dut_5g)
if ssid_5G not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'],
['frame_sizes:1024'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'],
['tput_multi_udp:0'], ['tput_multi_ul:1']]
msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G,
instance_name="multistathpt_instance_wpa2p_5g_vlan_20", raw_line=raw_lines,
vlan_id=vlan, dut_5g=dut_5g, dut_2g="")
report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test")
assert True
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_dl_5g_21",
url="https://telecominfraproject.atlassian.net/browse/WIFI-3813")
def test_mstathpt_wpa2p_vlan_udp_dl_5g_21(self, get_vif_state, lf_tools,
create_lanforge_chamberview_dut, lf_test, get_configuration):
"""
pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"]
ssid_5G = profile_data[0]["ssid_name"]
dut_name = create_lanforge_chamberview_dut
mode = "VLAN"
vlan = 100
print(lf_tools.dut_idx_mapping)
dut_5g = ""
dut_2g = ""
for i in lf_tools.dut_idx_mapping:
if lf_tools.dut_idx_mapping[i][3] == "5G":
dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4]
print(dut_5g)
if ssid_5G not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'],
['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:1'],
['tput_multi_udp:1'], ['tput_multi_ul:0']]
msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G,
instance_name="multistathpt_instance_wpa2p_5g_vlan_21", raw_line=raw_lines,
vlan_id=vlan, dut_5g=dut_5g, dut_2g="")
report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test")
assert True
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_dl_5g_22",
url="https://telecominfraproject.atlassian.net/browse/WIFI-3816")
def test_mstathpt_wpa2p_vlan_tcp_dl_5g_22(self, get_vif_state, lf_tools,
create_lanforge_chamberview_dut, lf_test, get_configuration):
"""
pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"]
ssid_5G = profile_data[0]["ssid_name"]
dut_name = create_lanforge_chamberview_dut
mode = "VLAN"
vlan = 100
print(lf_tools.dut_idx_mapping)
dut_5g = ""
dut_2g = ""
for i in lf_tools.dut_idx_mapping:
if lf_tools.dut_idx_mapping[i][3] == "5G":
dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4]
print(dut_5g)
if ssid_5G not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'],
['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:1'],
['tput_multi_udp:0'], ['tput_multi_ul:0']]
msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G,
instance_name="multistathpt_instance_wpa2p_5g_vlan_22", raw_line=raw_lines,
vlan_id=vlan, dut_5g=dut_5g, dut_2g="")
report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test")
assert True
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@allure.testcase(name="test_mstathpt_wpa2p_vlan_udp_ul_5g_23",
url="https://telecominfraproject.atlassian.net/browse/WIFI-3818")
def test_mstathpt_wpa2p_vlan_udp_ul_5g_23(self, get_vif_state, lf_tools,
create_lanforge_chamberview_dut, lf_test, get_configuration):
"""
pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"]
ssid_5G = profile_data[0]["ssid_name"]
dut_name = create_lanforge_chamberview_dut
mode = "VLAN"
vlan = 100
print(lf_tools.dut_idx_mapping)
dut_5g = ""
dut_2g = ""
for i in lf_tools.dut_idx_mapping:
if lf_tools.dut_idx_mapping[i][3] == "5G":
dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4]
print(dut_5g)
if ssid_5G not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'],
['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:0'], ['tput_multi_dl:0'],
['tput_multi_udp:1'], ['tput_multi_ul:1']]
msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G,
instance_name="multistathpt_instance_wpa2p_5g_vlan_23", raw_line=raw_lines,
vlan_id=vlan, dut_5g=dut_5g, dut_2g="")
report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test")
assert True
@pytest.mark.wpa2_personal
@pytest.mark.fiveg
@allure.testcase(name="test_mstathpt_wpa2p_vlan_tcp_ul_5g_24",
url="https://telecominfraproject.atlassian.net/browse/WIFI-3820")
def test_mstathpt_wpa2p_vlan_tcp_ul_5g_24(self, get_vif_state, lf_tools,
create_lanforge_chamberview_dut, lf_test, get_configuration):
"""
pytest -m "multi_sta_thpt and vlan and wpa2_personal and fiveg"
"""
profile_data = setup_params_general["ssid_modes"]["wpa2_personal"]
ssid_5G = profile_data[0]["ssid_name"]
dut_name = create_lanforge_chamberview_dut
mode = "VLAN"
vlan = 100
print(lf_tools.dut_idx_mapping)
dut_5g = ""
dut_2g = ""
for i in lf_tools.dut_idx_mapping:
if lf_tools.dut_idx_mapping[i][3] == "5G":
dut_5g = dut_name + ' ' + lf_tools.dut_idx_mapping[i][0] + ' ' + lf_tools.dut_idx_mapping[i][4]
print(dut_5g)
if ssid_5G not in get_vif_state:
allure.attach(name="retest,vif state ssid not available:", body=str(get_vif_state))
pytest.xfail("SSID NOT AVAILABLE IN VIF STATE")
raw_lines = [['skip_2:1'], ['skip_dual:1'], ['hunt_retries:1'], ['hunt_iter:20'], ['pkt_loss_thresh:500000'],
['frame_sizes:MTU'], ['capacities:1,2,5'], ['tput_multi_tcp:1'], ['tput_multi_dl:0'],
['tput_multi_udp:0'], ['tput_multi_ul:1']]
msthpt_obj = lf_test.multi_sta_thpt(mode=mode, ssid_2G="", ssid_5G=ssid_5G,
instance_name="multistathpt_instance_wpa2p_5g_vlan_24", raw_line=raw_lines,
vlan_id=vlan, dut_5g=dut_5g, dut_2g="")
report_name = msthpt_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1]
lf_tools.attach_report_graphs(report_name=report_name, pdf_name="Multi Station Throughput vs Packet Size Test")
assert True
| 50.026812 | 119 | 0.605971 | 6,768 | 50,377 | 4.125148 | 0.026005 | 0.042122 | 0.042981 | 0.055876 | 0.978688 | 0.977793 | 0.975859 | 0.932376 | 0.90322 | 0.90322 | 0 | 0.042215 | 0.268337 | 50,377 | 1,006 | 120 | 50.076541 | 0.715239 | 0.033249 | 0 | 0.803714 | 0 | 0 | 0.235179 | 0.05259 | 0 | 0 | 0 | 0 | 0.03183 | 1 | 0.03183 | false | 0 | 0.003979 | 0 | 0.037135 | 0.06366 | 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 |
6c4e1b0fd99c0db7cf8fc8d0f0907b2469abfb67 | 90 | py | Python | src/dandd/crits.py | Peilonrayz/warhammer | 76610bf3c64418f914efb9ff3336daacdd6c5c4c | [
"MIT"
] | null | null | null | src/dandd/crits.py | Peilonrayz/warhammer | 76610bf3c64418f914efb9ff3336daacdd6c5c4c | [
"MIT"
] | null | null | null | src/dandd/crits.py | Peilonrayz/warhammer | 76610bf3c64418f914efb9ff3336daacdd6c5c4c | [
"MIT"
] | null | null | null | from dice_stats import Dice
def crits():
return Dice.max(*2 * [Dice.from_dice(20)])
| 15 | 46 | 0.677778 | 15 | 90 | 3.933333 | 0.666667 | 0.271186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040541 | 0.177778 | 90 | 5 | 47 | 18 | 0.756757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 8 |
6659ab0273a4978992acbef6812926ca084d93e5 | 70 | py | Python | glue2protojson/__init__.py | ricardoedo/glue2protojson | b59ca41ea9eed2a9818fa7bfa8521f92c8657174 | [
"MIT"
] | null | null | null | glue2protojson/__init__.py | ricardoedo/glue2protojson | b59ca41ea9eed2a9818fa7bfa8521f92c8657174 | [
"MIT"
] | null | null | null | glue2protojson/__init__.py | ricardoedo/glue2protojson | b59ca41ea9eed2a9818fa7bfa8521f92c8657174 | [
"MIT"
] | null | null | null | from glue2protojson import utils
from glue2protojson import gluetypes
| 23.333333 | 36 | 0.885714 | 8 | 70 | 7.75 | 0.625 | 0.580645 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.114286 | 70 | 2 | 37 | 35 | 0.967742 | 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 |
dd316bfa916c6a5c3f7c5afe4a5fb18cdd3bcb99 | 6,403 | py | Python | tests/test_PyFat.py | dseeley/pyfatfs | 49051a1308fe48da271eb50ed6e47b339e401721 | [
"MIT"
] | 5 | 2019-07-19T10:57:00.000Z | 2020-11-10T03:17:41.000Z | tests/test_PyFat.py | dseeley/pyfatfs | 49051a1308fe48da271eb50ed6e47b339e401721 | [
"MIT"
] | 3 | 2020-04-15T22:06:10.000Z | 2020-12-16T18:46:18.000Z | tests/test_PyFat.py | dseeley/pyfatfs | 49051a1308fe48da271eb50ed6e47b339e401721 | [
"MIT"
] | 5 | 2019-10-13T20:39:42.000Z | 2020-12-15T17:52:37.000Z | # -*- coding: utf-8 -*-
"""Test PyFat core functionality."""
from unittest import mock
from pyfatfs.PyFat import PyFat
def test_is_dirty_fat12_not_dirty():
"""Test that is_dirty is affected by nt_dirty."""
pf = PyFat()
pf.fat_type = pf.FAT_TYPE_FAT12
pf.fat = [0xFF8, 0xFFF]
pf.fat_header = {"BS_Reserved1": 0x0}
assert not pf._is_dirty()
def test_is_dirty_fat12_dirty_nt():
"""Test that is_dirty is only affected by nt_dirty."""
pf = PyFat()
pf.fat_type = pf.FAT_TYPE_FAT12
pf.fat = [0xFF8, 0x000]
pf.fat_header = {"BS_Reserved1": 0x1}
assert pf._is_dirty()
def test_is_dirty_fat16_not_dirty():
"""Test that is_dirty detects that a volume has been cleanly shut down."""
pf = PyFat()
pf.fat_type = pf.FAT_TYPE_FAT16
pf.fat = [0xFFF8, 0xFFFF]
pf.fat_header = {"BS_Reserved1": 0x0}
assert not pf._is_dirty()
def test_is_dirty_fat16_dirty_dos():
"""Test that is_dirty detects dirty bit set by DOS."""
pf = PyFat()
pf.fat_type = pf.FAT_TYPE_FAT16
pf.fat = [0xFFF8, 0x7FFF]
pf.fat_header = {"BS_Reserved1": 0x0}
assert pf._is_dirty()
def test_is_dirty_fat16_dirty_dos2():
"""Test that is_dirty detects dirty bit set by DOS."""
pf = PyFat()
pf.fat_type = pf.FAT_TYPE_FAT16
pf.fat = [0xFFF8, 0x7ABC]
pf.fat_header = {"BS_Reserved1": 0x0}
assert pf._is_dirty()
def test_is_dirty_fat16_dirty_dos3():
"""Test that is_dirty detects dirty bit set by DOS."""
pf = PyFat()
pf.fat_type = pf.FAT_TYPE_FAT16
pf.fat = [0xFFF8, 0x0ABC]
pf.fat_header = {"BS_Reserved1": 0x0}
assert pf._is_dirty()
def test_is_dirty_fat16_dirty_nt():
"""Test that is_dirty detects dirty bit set by NT."""
pf = PyFat()
pf.fat_type = pf.FAT_TYPE_FAT12
pf.fat = [0xFFF8, 0xFFFF]
pf.fat_header = {"BS_Reserved1": 0x1}
assert pf._is_dirty()
def test_is_dirty_fat16_dirty_both():
"""Test that is_dirty detects dirty bit set by both DOS and NT."""
pf = PyFat()
pf.fat_type = pf.FAT_TYPE_FAT16
pf.fat = [0xFFF8, 0x7FFF]
pf.fat_header = {"BS_Reserved1": 0x1}
assert pf._is_dirty()
def test_is_dirty_fat32_not_dirty():
"""Test that is_dirty detects that a volume has been cleanly shut down."""
pf = PyFat()
pf.fat_type = pf.FAT_TYPE_FAT32
pf.fat = [0xFFFFFF8, 0xFFFFFFF]
pf.fat_header = {"BS_Reserved1": 0x0}
assert not pf._is_dirty()
def test_is_dirty_fat32_dirty_dos():
"""Test that is_dirty detects dirty bit set by DOS."""
pf = PyFat()
pf.fat_type = pf.FAT_TYPE_FAT32
pf.fat = [0xFFFFFF8, 0x7FFFFFF]
pf.fat_header = {"BS_Reserved1": 0x0}
assert pf._is_dirty()
def test_is_dirty_fat32_dirty_nt():
"""Test that is_dirty detects dirty bit set by NT."""
pf = PyFat()
pf.fat_type = pf.FAT_TYPE_FAT32
pf.fat = [0xFFFFFF8, 0xFFFFFFF]
pf.fat_header = {"BS_Reserved1": 0x1}
assert pf._is_dirty()
def test_is_dirty_fat32_dirty_both():
"""Test that is_dirty detects dirty bit set by both DOS and NT."""
pf = PyFat()
pf.fat_type = pf.FAT_TYPE_FAT32
pf.fat = [0xFFFFFF8, 0xF7FFFFF]
pf.fat_header = {"BS_Reserved1": 0x1}
assert pf._is_dirty()
def test_mark_dirty_fat12():
"""Test that _mark_dirty is able to mark partition as dirty."""
pf = PyFat()
pf.fat_type = pf.FAT_TYPE_FAT12
fat_orig = [0xFF8, 0xFFF]
pf.fat = list(fat_orig)
pf.fat_header = {"BS_Reserved1": 0x0}
with mock.patch('pyfatfs.PyFat.PyFat.flush_fat') as ff:
with mock.patch('pyfatfs.PyFat.PyFat._write_fat_header'):
pf._mark_dirty()
assert pf.fat == fat_orig
assert pf.fat_header["BS_Reserved1"] == 0x1
assert ff.call_count == 0
def test_mark_dirty_fat16():
"""Test that _mark_dirty is able to mark partition as dirty."""
pf = PyFat()
pf.fat_type = pf.FAT_TYPE_FAT16
fat_orig = [0xFFF8, 0xFFFF]
pf.fat = list(fat_orig)
pf.fat_header = {"BS_Reserved1": 0x0}
with mock.patch('pyfatfs.PyFat.PyFat.flush_fat') as ff:
with mock.patch('pyfatfs.PyFat.PyFat._write_fat_header'):
pf._mark_dirty()
assert pf.fat[1] == 0x7FFF
assert pf.fat_header["BS_Reserved1"] == 0x1
assert ff.call_count == 1
def test_mark_dirty_fat32():
"""Test that _mark_dirty is able to mark partition as dirty."""
pf = PyFat()
pf.fat_type = pf.FAT_TYPE_FAT32
fat_orig = [0xFFFFFF8, 0xFFFFFFF]
pf.fat = list(fat_orig)
pf.fat_header = {"BS_Reserved1": 0x0}
with mock.patch('pyfatfs.PyFat.PyFat.flush_fat') as ff:
with mock.patch('pyfatfs.PyFat.PyFat._write_fat_header'):
pf._mark_dirty()
assert pf.fat[1] == 0x7FFFFFF
assert pf.fat_header["BS_Reserved1"] == 0x1
assert ff.call_count == 1
def test_mark_clean_fat12():
"""Test that _mark_clean is able to mark partition as clean."""
pf = PyFat()
pf.fat_type = pf.FAT_TYPE_FAT12
fat_orig = [0xFF8, 0xFFF]
pf.fat = list(fat_orig)
pf.fat_header = {"BS_Reserved1": 0x1}
with mock.patch('pyfatfs.PyFat.PyFat.flush_fat') as ff:
with mock.patch('pyfatfs.PyFat.PyFat._write_fat_header'):
pf._mark_clean()
assert pf.fat == fat_orig
assert pf.fat_header["BS_Reserved1"] == 0x0
assert ff.call_count == 0
def test_mark_clean_fat16():
"""Test that _mark_clean is able to mark partition as clean."""
pf = PyFat()
pf.fat_type = pf.FAT_TYPE_FAT16
pf.fat = [0xFFF8, 0x0ABC]
pf.fat_header = {"BS_Reserved1": 0x1}
with mock.patch('pyfatfs.PyFat.PyFat.flush_fat') as ff:
with mock.patch('pyfatfs.PyFat.PyFat._write_fat_header'):
pf._mark_clean()
assert pf.fat[1] == 0x8ABC
assert pf.fat_header["BS_Reserved1"] == 0x0
assert ff.call_count == 1
def test_mark_clean_fat32():
"""Test that _mark_clean is able to mark partition as clean."""
pf = PyFat()
pf.fat_type = pf.FAT_TYPE_FAT32
pf.fat = [0xFFFFFF8, 0x5ADBEEF]
pf.fat_header = {"BS_Reserved1": 0x1}
with mock.patch('pyfatfs.PyFat.PyFat.flush_fat') as ff:
with mock.patch('pyfatfs.PyFat.PyFat._write_fat_header'):
pf._mark_clean()
assert pf.fat[1] == 0xDADBEEF
assert pf.fat_header["BS_Reserved1"] == 0x0
assert ff.call_count == 1
| 31.541872 | 78 | 0.650476 | 974 | 6,403 | 3.986653 | 0.082136 | 0.108164 | 0.083441 | 0.08035 | 0.930981 | 0.92377 | 0.912181 | 0.912181 | 0.906001 | 0.890806 | 0 | 0.0463 | 0.22755 | 6,403 | 202 | 79 | 31.69802 | 0.738779 | 0.163361 | 0 | 0.777778 | 0 | 0 | 0.130013 | 0.075271 | 0 | 0 | 0.065767 | 0 | 0.208333 | 1 | 0.125 | false | 0 | 0.013889 | 0 | 0.138889 | 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 |
dd8beea5cae02c0e08d7147f9fdad32cc63de97c | 866 | py | Python | project_name/example_module.py | James-Montgomery/python_project_template | 2a58d9f5f9fc4256ab724c21d1f129f89ff86a4a | [
"MIT"
] | null | null | null | project_name/example_module.py | James-Montgomery/python_project_template | 2a58d9f5f9fc4256ab724c21d1f129f89ff86a4a | [
"MIT"
] | null | null | null | project_name/example_module.py | James-Montgomery/python_project_template | 2a58d9f5f9fc4256ab724c21d1f129f89ff86a4a | [
"MIT"
] | null | null | null | """
example_module: This module is for stuff.
"""
def example_function(example_input:int=2) -> int:
"""
example_function
A short description ...
Parameters
----------
example_input: int
a description of somthing
Notes
-----
Some kind of notes
Returns
-------
int
a description of somthing
Example
-------
>>> output = example_function(2)
"""
return example_input * 4
def example_function_2(example_input:int=2) -> int:
"""
example_function
A short description ...
Parameters
----------
example_input: int
a description of somthing
Notes
-----
Some kind of notes
Returns
-------
int
a description of somthing
Example
-------
>>> output = example_function(2)
"""
return example_input * 4
| 15.464286 | 51 | 0.554273 | 90 | 866 | 5.177778 | 0.266667 | 0.193133 | 0.128755 | 0.145923 | 0.849785 | 0.849785 | 0.849785 | 0.849785 | 0.849785 | 0.849785 | 0 | 0.011785 | 0.314088 | 866 | 55 | 52 | 15.745455 | 0.772727 | 0.617783 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
06b687fa02f8fa0d6fef4283db6e6c33deabc149 | 1,825 | py | Python | colors.py | LBeghini/Chat.py | c97bb3c24b1bf775f5b297b753813542e7bccdd7 | [
"MIT"
] | null | null | null | colors.py | LBeghini/Chat.py | c97bb3c24b1bf775f5b297b753813542e7bccdd7 | [
"MIT"
] | 1 | 2020-12-30T22:50:17.000Z | 2020-12-30T22:50:17.000Z | colors.py | LBeghini/Chat.py | c97bb3c24b1bf775f5b297b753813542e7bccdd7 | [
"MIT"
] | 2 | 2020-12-02T09:22:57.000Z | 2021-09-29T13:52:49.000Z | import random
COLOR = {
"PURPLE": '\033[95m',
"CYAN": '\033[96m',
"DARKCYAN": '\033[36m',
"BLUE": '\033[94m',
"GREEN": '\033[92m',
"YELLOW": '\033[93m',
"RED": '\033[91m',
"BOLD": '\033[1m',
"UNDERLINE": '\033[4m',
"END": '\033[0m'
}
RAND_COLOR = {
"PURPLE": '\033[95m',
"CYAN": '\033[96m',
"DARKCYAN": '\033[36m',
"BLUE": '\033[94m',
"YELLOW": '\033[93m',
"RED": '\033[91m'
}
def print_color(string, color=None):
if color == "green":
print(f'{COLOR["GREEN"]}{string}{COLOR["END"]}')
elif color == "cyan":
print(f'{COLOR["CYAN"]}{string}{COLOR["END"]}')
elif color == "red":
print(f'{COLOR["RED"]}{string}{COLOR["END"]}')
elif color == "yellow":
print(f'{COLOR["YELLOW"]}{string}{COLOR["END"]}')
elif color == "blue":
print(f'{COLOR["BLUE"]}{string}{COLOR["END"]}')
elif color == "purple":
print(f'{COLOR["PURPLE"]}{string}{COLOR["END"]}')
elif color == "random":
print(f'{RAND_COLOR[random.choice(list(RAND_COLOR.keys()))]}{string}{COLOR["END"]}')
else:
print(string)
def format_string(string, color=None):
if color == "green":
return f'{COLOR["GREEN"]}{string}{COLOR["END"]}'
elif color == "cyan":
return f'{COLOR["CYAN"]}{string}{COLOR["END"]}'
elif color == "red":
return f'{COLOR["RED"]}{string}{COLOR["END"]}'
elif color == "yellow":
return f'{COLOR["YELLOW"]}{string}{COLOR["END"]}'
elif color == "blue":
return f'{COLOR["BLUE"]}{string}{COLOR["END"]}'
elif color == "purple":
return f'{COLOR["PURPLE"]}{string}{COLOR["END"]}'
elif color == "random":
return f'{RAND_COLOR[random.choice(list(RAND_COLOR.keys()))]}{string}{COLOR["END"]}'
else:
return string
| 29.435484 | 92 | 0.529863 | 223 | 1,825 | 4.304933 | 0.170404 | 0.183333 | 0.204167 | 0.225 | 0.80625 | 0.80625 | 0.70625 | 0.70625 | 0.70625 | 0.225 | 0 | 0.053733 | 0.214795 | 1,825 | 61 | 93 | 29.918033 | 0.61619 | 0 | 0 | 0.472727 | 0 | 0 | 0.48 | 0.328767 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036364 | false | 0 | 0.018182 | 0 | 0.2 | 0.163636 | 0 | 0 | 0 | null | 0 | 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 | 7 |
06e360ee9a8c06f1068fd616fde87777ba019808 | 12,585 | py | Python | src/slam_primitives.py | michal-hradis/torchSLAM | 23a23f27f66f4c8a7aa11283c87f1aaba0bb1475 | [
"BSD-3-Clause"
] | null | null | null | src/slam_primitives.py | michal-hradis/torchSLAM | 23a23f27f66f4c8a7aa11283c87f1aaba0bb1475 | [
"BSD-3-Clause"
] | null | null | null | src/slam_primitives.py | michal-hradis/torchSLAM | 23a23f27f66f4c8a7aa11283c87f1aaba0bb1475 | [
"BSD-3-Clause"
] | null | null | null | import logging
logging.basicConfig(level=logging.INFO)
import torch
from collections import defaultdict
from pytorch3d import transforms
class CameraMotionSpeedConstraint:
def __init__(self, device, camera):
self.device = device
self.camera = camera
self.distances = torch.zeros([camera.c_pos.shape[0]], dtype=torch.float32, device=device)
self.weights = torch.zeros([camera.c_pos.shape[0]], dtype=torch.float32, device=device)
self.last_cost = None
def add_camera(self, cam_id, distance, weight=1):
self.distances[cam_id] = distance
self.weights[cam_id] = weight
def loss(self):
c_pos = self.camera.c_pos[:self.camera.c_count]
distances = self.distances[1:self.camera.c_count]
weights = self.weights[1:self.camera.c_count]
cost = (torch.sum((c_pos[1:] - c_pos[:-1]) ** 2, axis=1) ** 0.5 - distances) ** 2
self.last_cost = cost * weights
return torch.sum(self.last_cost)
class CameraPositionConstraint:
def __init__(self, device, camera):
self.device = device
self.camera = camera
self.positions = torch.zeros(camera.c_pos.shape, dtype=torch.float32, device=device)
self.weights = torch.zeros([camera.c_pos.shape[0]], dtype=torch.float32, device=device)
self.last_cost = None
def add_camera(self, cam_id, position, weight=1):
self.positions[cam_id] = position
self.weights[cam_id] = weight
def loss(self):
c_pos = self.camera.c_pos[:self.camera.c_count]
positions = self.positions[:self.camera.c_count]
weights = self.weights[:self.camera.c_count]
cost = torch.sum((c_pos - positions) ** 2, axis=1)
self.last_cost = cost * weights
return torch.sum(self.last_cost)
def all_positions(self):
return self.positions[:self.camera.c_count]
class CalibratedCamera:
def __init__(self, device, error_power=0.5, c_max=10000, v_max=1000000):
self.use_dot_product = False
self.rot_scale = 0.05
self.error_power = error_power
self.c_max = c_max
self.p_max = v_max
self.device = device
self.c_count = 0
self.p_count = 0
self.c_pos = torch.zeros([self.c_max, 3], dtype=torch.float, device=self.device)
self.c_rot = torch.zeros([self.c_max, 3], dtype=torch.float, device=self.device)
self.views = torch.zeros([self.p_max, 3], dtype=torch.float, device=self.device)
self.views_p_id = torch.zeros([self.p_max], dtype=torch.long, device=self.device)
self.views_c_id = torch.zeros([self.p_max], dtype=torch.long, device=self.device)
self.c_points = defaultdict(set)
self.opt_c_id = None
self.opt_p_id = None
self.opt_views = None
self.opt_sleeping_cams = None
def add_camera(self, position, rotation, views_p_id, views):
'''
:param position: [1, 3] - initial camera position vector
:param rotation: [1, 3] - initial camera rotation vector as euler angles 'XYZ'
:param views_p_id: [n] - array of point ids for points viewed from the camera
:param views: [n, 3] - point view directions as unit vectors for each point viewed from the camere in the camera coordinate frame
:return: int - new camera id
'''
cam_id = self.c_count
self.c_count += 1
with torch.no_grad():
self.c_pos[cam_id] = position
self.c_rot[cam_id] = rotation
self.views_c_id[self.p_count:self.p_count + views_p_id.shape[0]] = cam_id
self.views_p_id[self.p_count:self.p_count + views_p_id.shape[0]] = views_p_id
self.views[self.p_count:self.p_count + views_p_id.shape[0]] = views
self.p_count += views_p_id.shape[0]
return cam_id
def prepare_optimization(self, c_id_request: torch.Tensor, p_id_request: torch.Tensor, p_id_rejected: torch.Tensor):
'''
:param c_id_request: [n] long tensor of optimized camera ids
:param p_id_request: [n] long tensor of optimized point ids (it is used to
:param p_id_rejected: [n] long tensor of points which should not be used
:return: N/A
'''
with torch.no_grad():
if c_id_request is None and p_id_request is None:
raise NotImplementedError('At least one of c_id_request and p_id_request has to be specified')
cp_mask = None
if c_id_request is not None:
cp_mask = torch.isin(self.views_c_id[:self.p_count], c_id_request)
if p_id_request is not None:
p_mask = torch.isin(self.views_p_id[:self.p_count], p_id_request)
if cp_mask is None:
cp_mask = p_mask
else:
cp_mask = torch.logical_or(cp_mask, p_mask)
if p_id_rejected is not None:
r_mask = torch.isin(self.views_p_id[:self.p_count], p_id_rejected, invert=True)
cp_mask = torch.logical_and(cp_mask, r_mask)
self.opt_c_static = torch.isin(
torch.arange(0, self.c_max, dtype=torch.long, device=self.device), c_id_request, invert=True)
self.opt_c_id = self.views_c_id[:self.p_count][cp_mask]
self.opt_p_id = self.views_p_id[:self.p_count][cp_mask]
self.opt_views = self.views[:self.p_count][cp_mask, :]
def distortion_model(self, views):
return views
def loss(self, p_pos):
c_pos = self.c_pos[self.opt_c_id]
c_rot = transforms.euler_angles_to_matrix(self.c_rot[:self.c_count] * self.rot_scale, convention='XYZ')
c_rot = c_rot[self.opt_c_id]
p_pos = p_pos[self.opt_p_id]
views = self.distortion_model(self.opt_views)
view_dir = c_rot.bmm(views.reshape(-1, 3, 1))
c_p_dir = p_pos - c_pos
if self.use_dot_product:
c_p_dir = c_p_dir / torch.norm(c_p_dir, dim=1, keepdim=True)
view_loss = 1.000001 - c_p_dir.reshape(-1, 1, 3).bmm(view_dir.reshape(-1, 3, 1))
view_loss = view_loss ** self.error_power
else:
cross = torch.cross(c_p_dir, view_dir.reshape(-1, 3), dim=1) / torch.norm(c_p_dir, dim=1, keepdim=True)
view_loss = torch.norm(cross, dim=1)
view_loss = view_loss ** self.error_power
view_loss *= (c_p_dir.reshape(-1, 1, 3).bmm(view_dir.reshape(-1, 3, 1)).reshape(-1).detach() > 0).float()
opt = torch.sum(view_loss)
return opt
def all_positions(self):
return self.c_pos[:self.c_count]
def all_view_point_ids(self):
return self.views_p_id[:self.p_count]
def get_world_views(self, view_ids):
R = transforms.euler_angles_to_matrix(self.c_rot[self.views_c_id[:view_ids.shape[0]][view_ids]] * self.rot_scale, convention='XYZ')
u = R.bmm(self.views[:view_ids.shape[0]][view_ids].reshape(-1, 3, 1)).squeeze(2)
return u, self.c_pos[self.views_c_id[:view_ids.shape[0]][view_ids]]
def mask_gradients(self):
self.c_pos.grad[self.opt_c_static] = 0
self.c_rot.grad[self.opt_c_static] = 0
class PerspectiveCamera:
def __init__(self, device, error_power=0.5, c_max=10000, v_max=1000000):
self.use_dot_product = False
self.rot_scale = 0.05
self.error_power = error_power
self.c_max = c_max
self.p_max = v_max
self.device = device
self.c_count = 0
self.p_count = 0
self.c_pos = torch.zeros([self.c_max, 3], dtype=torch.float, device=self.device)
self.c_rot = torch.zeros([self.c_max, 3], dtype=torch.float, device=self.device)
self.c_focal = torch.zeros([self.c_max, 3], dtype=torch.float, device=self.device)
self.views = torch.zeros([self.p_max, 3], dtype=torch.float, device=self.device)
self.views_p_id = torch.zeros([self.p_max], dtype=torch.long, device=self.device)
self.views_c_id = torch.zeros([self.p_max], dtype=torch.long, device=self.device)
self.c_points = defaultdict(set)
self.opt_c_id = None
self.opt_p_id = None
self.opt_views = None
self.opt_sleeping_cams = None
def add_camera(self, position, rotation, views_p_id, views):
'''
:param position: [1, 3] - initial camera position vector
:param rotation: [1, 3] - initial camera rotation vector as euler angles 'XYZ'
:param views_p_id: [n] - array of point ids for points viewed from the camera
:param views: [n, 3] - point view directions as unit vectors for each point viewed from the camere in the camera coordinate frame
:return: int - new camera id
'''
cam_id = self.c_count
self.c_count += 1
with torch.no_grad():
self.c_pos[cam_id] = position
self.c_rot[cam_id] = rotation
self.views_c_id[self.p_count:self.p_count + views_p_id.shape[0]] = cam_id
self.views_p_id[self.p_count:self.p_count + views_p_id.shape[0]] = views_p_id
self.views[self.p_count:self.p_count + views_p_id.shape[0]] = views
self.p_count += views_p_id.shape[0]
return cam_id
def prepare_optimization(self, c_id_request: torch.Tensor, p_id_request: torch.Tensor, p_id_rejected: torch.Tensor):
'''
:param c_id_request: [n] long tensor of optimized camera ids
:param p_id_request: [n] long tensor of optimized point ids (it is used to
:param p_id_rejected: [n] long tensor of points which should not be used
:return: N/A
'''
with torch.no_grad():
if c_id_request is None and p_id_request is None:
raise NotImplementedError('At least one of c_id_request and p_id_request has to be specified')
cp_mask = None
if c_id_request is not None:
cp_mask = torch.isin(self.views_c_id[:self.p_count], c_id_request)
if p_id_request is not None:
p_mask = torch.isin(self.views_p_id[:self.p_count], p_id_request)
if cp_mask is None:
cp_mask = p_mask
else:
cp_mask = torch.logical_or(cp_mask, p_mask)
if p_id_rejected is not None:
r_mask = torch.isin(self.views_p_id[:self.p_count], p_id_rejected, invert=True)
cp_mask = torch.logical_and(cp_mask, r_mask)
self.opt_c_static = torch.isin(
torch.arange(0, self.c_max, dtype=torch.long, device=self.device), c_id_request, invert=True)
self.opt_c_id = self.views_c_id[:self.p_count][cp_mask]
self.opt_p_id = self.views_p_id[:self.p_count][cp_mask]
self.opt_views = self.views[:self.p_count][cp_mask, :]
def distortion_model(self, views):
return views
def loss(self, p_pos):
c_pos = self.c_pos[self.opt_c_id]
c_rot = transforms.euler_angles_to_matrix(self.c_rot[:self.c_count] * self.rot_scale, convention='XYZ')
c_rot = c_rot[self.opt_c_id]
p_pos = p_pos[self.opt_p_id]
views = self.distortion_model(self.opt_views)
view_dir = c_rot.bmm(views.reshape(-1, 3, 1))
c_p_dir = p_pos - c_pos
if self.use_dot_product:
c_p_dir = c_p_dir / torch.norm(c_p_dir, dim=1, keepdim=True)
view_loss = 1.000001 - c_p_dir.reshape(-1, 1, 3).bmm(view_dir.reshape(-1, 3, 1))
view_loss = view_loss ** self.error_power
else:
cross = torch.cross(c_p_dir, view_dir.reshape(-1, 3), dim=1) / torch.norm(c_p_dir, dim=1, keepdim=True)
view_loss = torch.norm(cross, dim=1)
view_loss = view_loss ** self.error_power
view_loss *= (c_p_dir.reshape(-1, 1, 3).bmm(view_dir.reshape(-1, 3, 1)).reshape(-1).detach() > 0).float()
opt = torch.sum(view_loss)
return opt
def all_positions(self):
return self.c_pos[:self.c_count]
def all_view_point_ids(self):
return self.views_p_id[:self.p_count]
def get_world_views(self, view_ids):
R = transforms.euler_angles_to_matrix(self.c_rot[self.views_c_id[:view_ids.shape[0]][view_ids]] * self.rot_scale, convention='XYZ')
u = R.bmm(self.views[:view_ids.shape[0]][view_ids].reshape(-1, 3, 1)).squeeze(2)
return u, self.c_pos[self.views_c_id[:view_ids.shape[0]][view_ids]]
def mask_gradients(self):
self.c_pos.grad[self.opt_c_static] = 0
self.c_rot.grad[self.opt_c_static] = 0
| 41.810631 | 139 | 0.634406 | 1,985 | 12,585 | 3.75466 | 0.078589 | 0.020931 | 0.040252 | 0.025761 | 0.946599 | 0.94633 | 0.933986 | 0.924862 | 0.924862 | 0.916275 | 0 | 0.018054 | 0.251808 | 12,585 | 300 | 140 | 41.95 | 0.773471 | 0.094478 | 0 | 0.890476 | 0 | 0 | 0.012693 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.119048 | false | 0 | 0.019048 | 0.033333 | 0.228571 | 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 |
06f49fe8e9d9a0d044d88db88c6271f68a3dcdb2 | 9,953 | py | Python | features/steps/steps.py | hilam/i18web | c0d3fcc8bf9e1b1e4305844cb462cdf52a0becec | [
"MIT"
] | null | null | null | features/steps/steps.py | hilam/i18web | c0d3fcc8bf9e1b1e4305844cb462cdf52a0becec | [
"MIT"
] | 4 | 2020-09-28T22:46:03.000Z | 2020-09-28T22:52:31.000Z | features/steps/steps.py | hilam/i18web | c0d3fcc8bf9e1b1e4305844cb462cdf52a0becec | [
"MIT"
] | null | null | null | from behave import given, when, then
@given(u'que o endereço da "homepage" foi apontado')
def step_impl(context):
raise NotImplementedError(u'STEP: Given que o endereço da "homepage" foi apontado')
@when(u'o navegador apresentar a resposta')
def step_impl(context):
raise NotImplementedError(u'STEP: When o navegador apresentar a resposta')
@then(u'é mostrada a página inicial da aplicação')
def step_impl(context):
raise NotImplementedError(u'STEP: Then é mostrada a página inicial da aplicação')
@given(u'que um endereço inexistente foi apontado')
def step_impl(context):
raise NotImplementedError(u'STEP: Given que um endereço inexistente foi apontado')
@then(u'é mostrada a página de endereço não encontrado')
def step_impl(context):
raise NotImplementedError(u'STEP: Then é mostrada a página de endereço não encontrado')
@given(u'que a página inicial está carregada')
def step_impl(context):
raise NotImplementedError(u'STEP: Given que a página inicial está carregada')
@when(u'escrever o link e confirmar a indicação')
def step_impl(context):
raise NotImplementedError(u'STEP: When escrever o link e confirmar a indicação')
@then(u'o link será armazenado')
def step_impl(context):
raise NotImplementedError(u'STEP: Then o link será armazenado')
@then(u'mostrado na página, na lista de indicações')
def step_impl(context):
raise NotImplementedError(u'STEP: Then mostrado na página, na lista de indicações')
@given(u'que é mostrada a página inicial')
def step_impl(context):
raise NotImplementedError(u'STEP: Given que é mostrada a página inicial')
@when(u'clicar no botão de priorização, na lista de indicações')
def step_impl(context):
raise NotImplementedError(u'STEP: When clicar no botão de priorização, na lista de indicações')
@then(u'a indicação exibirá a quantidade anterior+1 na prioridade do mesmo')
def step_impl(context):
raise NotImplementedError(
u'STEP: Then a indicação exibirá a quantidade anterior+1 na prioridade do mesmo')
@given(u'que a página de consulta de indicações está carregada')
def step_impl(context):
raise NotImplementedError(u'STEP: Given que a página de consulta de indicações está carregada')
@when(u'selecionar uma categoria')
def step_impl(context):
raise NotImplementedError(u'STEP: When selecionar uma categoria')
@then(u'a lista de indicações é filtrada e exibida para aquela categoria')
def step_impl(context):
raise NotImplementedError(
u'STEP: Then a lista de indicações é filtrada e exibida para aquela categoria')
@given(u'que a página de registro está carregada')
def step_impl(context):
raise NotImplementedError(u'STEP: Given que a página de registro está carregada')
@when(u'preencher os dados requeridos no formulário e confirmar o registro')
def step_impl(context):
raise NotImplementedError(
u'STEP: When preencher os dados requeridos no formulário e confirmar o registro')
@then(u'o sistema envia um e-mail com o link de confirmação de registro')
def step_impl(context):
raise NotImplementedError(
u'STEP: Then o sistema envia um e-mail com o link de confirmação de registro')
@given(u'que uma pessoa recebeu o e-mail de confirmação de registro')
def step_impl(context):
raise NotImplementedError(
u'STEP: Given que uma pessoa recebeu o e-mail de confirmação de registro')
@when(u'a pessoa acessar o link de confirmação presente no e-mail')
def step_impl(context):
raise NotImplementedError(
u'STEP: When a pessoa acessar o link de confirmação presente no e-mail')
@then(u'o seu registro na aplicação é confirmado')
def step_impl(context):
raise NotImplementedError(u'STEP: Then o seu registro na aplicação é confirmado')
@then(u'a aplicação redireciona para o Painel de Usuário')
def step_impl(context):
raise NotImplementedError(u'STEP: Then a aplicação redireciona para o Painel de Usuário')
@then(u'exibe abaixo do nome do usuário o selo de registrado')
def step_impl(context):
raise NotImplementedError(u'STEP: Then exibe abaixo do nome do usuário o selo de registrado')
@given(u'que o formulário de "Login" está carregado')
def step_impl(context):
raise NotImplementedError(u'STEP: Given que o formulário de "Login" está carregado')
@then(u'a aplicação redireciona para o Painel do Usuário')
def step_impl(context):
raise NotImplementedError(u'STEP: Then a aplicação redireciona para o Painel do Usuário')
@given(u'que o Painel do Usuário está carregado')
def step_impl(context):
raise NotImplementedError(u'STEP: Given que o Painel do Usuário está carregado')
@when(u'o usuários realizou indicações ateriores')
def step_impl(context):
raise NotImplementedError(u'STEP: When o usuários realizou indicações ateriores')
@then(u'a aplicação mostra a lista de indicações')
def step_impl(context):
raise NotImplementedError(u'STEP: Then a aplicação mostra a lista de indicações')
@then(
u'o status de cada uma (Priorizando, selecionado, autorizado pelo autor, traduzindo, disponibilizado)')
def step_impl(context):
raise NotImplementedError(
u'STEP: Then o status de cada uma (Priorizando, selecionado, autorizado pelo autor, traduzindo, disponibilizado)')
@when(u'o botão de inscrição para tradutor for acionado')
def step_impl(context):
raise NotImplementedError(u'STEP: When o botão de inscrição para tradutor for acionado')
@then(u'o sistema envia um e-mail com as condições para tradução')
def step_impl(context):
raise NotImplementedError(
u'STEP: Then o sistema envia um e-mail com as condições para tradução')
@then(u'um link de confirmação para possibilitar a tradução')
def step_impl(context):
raise NotImplementedError(u'STEP: Then um link de confirmação para possibilitar a tradução')
@given(u'que uma pessoa recebeu o e-mail de confirmação para tradução')
def step_impl(context):
raise NotImplementedError(
u'STEP: Given que uma pessoa recebeu o e-mail de confirmação para tradução')
@then(u'a sua inscrição para traduto é confirmada')
def step_impl(context):
raise NotImplementedError(u'STEP: Then a sua inscrição para traduto é confirmada')
@then(u'exibe abaixo do nome do usuário o selo de tradutor')
def step_impl(context):
raise NotImplementedError(u'STEP: Then exibe abaixo do nome do usuário o selo de tradutor')
@when(u'a pessoa clicar no link de Desconexão')
def step_impl(context):
raise NotImplementedError(u'STEP: When a pessoa clicar no link de Desconexão')
@then(u'a aplicação desconecta a pessoa e redireciona para a "homepage"')
def step_impl(context):
raise NotImplementedError(
u'STEP: Then a aplicação desconecta a pessoa e redireciona para a "homepage"')
@given(u'que o Painel do Usuário é exibido')
def step_impl(context):
raise NotImplementedError(u'STEP: Given que o Painel do Usuário é exibido')
@given(u'abaixo do seu nome a aplicação exibe o selo de Editor')
def step_impl(context):
raise NotImplementedError(u'STEP: Given abaixo do seu nome a aplicação exibe o selo de Editor')
@when(u'a pessoa clicar no botão de incluir categorias')
def step_impl(context):
raise NotImplementedError(u'STEP: When a pessoa clicar no botão de incluir categorias')
@then(u'a aplicação abre uma janela com o formulário de categorias')
def step_impl(context):
raise NotImplementedError(
u'STEP: Then a aplicação abre uma janela com o formulário de categorias')
@then(u'registra as categorias confirmadas')
def step_impl(context):
raise NotImplementedError(u'STEP: Then registra as categorias confirmadas')
@given(u'a lista de indicações priorizadas é exibida')
def step_impl(context):
raise NotImplementedError(u'STEP: Given a lista de indicações priorizadas é exibida')
@when(u'a pessoa clicar no botão de seleção')
def step_impl(context):
raise NotImplementedError(u'STEP: When a pessoa clicar no botão de seleção')
@then(u'a aplicação aciona a tarefa de envio de conteúdo para a plataforma de tradução')
def step_impl(context):
raise NotImplementedError(
u'STEP: Then a aplicação aciona a tarefa de envio de conteúdo para a plataforma de tradução')
@then(u'registra os endereços de tradução na plataforma')
def step_impl(context):
raise NotImplementedError(u'STEP: Then registra os endereços de tradução na plataforma')
@given(u'que a lista de traduções selecionadas é exibida no Painel do Usuário')
def step_impl(context):
raise NotImplementedError(
u'STEP: Given que a lista de traduções selecionadas é exibida no Painel do Usuário')
@when(u'a pessoa clicar no botão de atribuição')
def step_impl(context):
raise NotImplementedError(u'STEP: When a pessoa clicar no botão de atribuição')
@then(u'a aplicação manda as orientações para aquela tradução ao e-mail registrado')
def step_impl(context):
raise NotImplementedError(
u'STEP: Then a aplicação manda as orientações para aquela tradução ao e-mail registrado')
@given(u'a lista de traduções é exibida')
def step_impl(context):
raise NotImplementedError(u'STEP: Given a lista de traduções é exibida')
@when(u'a pessoa clicar no botão de obter conteúdo traduzido')
def step_impl(context):
raise NotImplementedError(u'STEP: When a pessoa clicar no botão de obter conteúdo traduzido')
@then(u'a aplicação aciona a tarefa de recepção de conteúdo para a plataforma de tradução')
def step_impl(context):
raise NotImplementedError(
u'STEP: Then a aplicação aciona a tarefa de recepção de conteúdo para a plataforma de tradução')
@then(u'registra os endereços de tradução na aplicação')
def step_impl(context):
raise NotImplementedError(u'STEP: Then registra os endereços de tradução na aplicação')
@then(u'atualiza o status da indicação para disponibilizado')
def step_impl(context):
raise NotImplementedError(u'STEP: Then atualiza o status da indicação para disponibilizado')
| 34.559028 | 122 | 0.76168 | 1,500 | 9,953 | 5.018 | 0.096667 | 0.050219 | 0.078916 | 0.129135 | 0.961472 | 0.940614 | 0.914707 | 0.80922 | 0.756477 | 0.700943 | 0 | 0.00024 | 0.163368 | 9,953 | 287 | 123 | 34.679443 | 0.903687 | 0 | 0 | 0.385475 | 0 | 0.005587 | 0.590073 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.301676 | false | 0 | 0.005587 | 0 | 0.307263 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
661899c3f600b0b50e7457e7139de36d2aa6c568 | 372,176 | py | Python | Autogenerated/Bindings/Python/Lib3MF.py | alexanderoster/lib3mf | 30d5c2e0e8ed7febb5c10a84dc2db9d53fee6d05 | [
"BSD-2-Clause"
] | 171 | 2015-04-30T21:54:02.000Z | 2022-03-13T13:33:59.000Z | Autogenerated/Bindings/Python/Lib3MF.py | alexanderoster/lib3mf | 30d5c2e0e8ed7febb5c10a84dc2db9d53fee6d05 | [
"BSD-2-Clause"
] | 190 | 2015-07-21T22:15:54.000Z | 2022-03-30T15:48:37.000Z | Autogenerated/Bindings/Python/Lib3MF.py | alexanderoster/lib3mf | 30d5c2e0e8ed7febb5c10a84dc2db9d53fee6d05 | [
"BSD-2-Clause"
] | 80 | 2015-04-30T22:15:54.000Z | 2022-03-09T12:38:49.000Z | '''++
Copyright (C) 2019 3MF Consortium (Original Author)
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file has been generated by the Automatic Component Toolkit (ACT) version 1.6.0.
Abstract: This is an autogenerated Python file in order to allow an easy
use of the 3MF Library
Interface version: 2.2.0
'''
import ctypes
import platform
import enum
import os
name = "lib3mf"
'''Definition of domain specific exception
'''
class ELib3MFException(Exception):
def __init__(self, code, message = ''):
self._code = code
self._message = message
def __str__(self):
if self._message:
return 'Lib3MFException ' + str(self._code) + ': '+ str(self._message)
return 'Lib3MFException ' + str(self._code)
'''Definition of binding API version
'''
class BindingVersion(enum.IntEnum):
MAJOR = 2
MINOR = 2
MICRO = 0
'''Definition Error Codes
'''
class ErrorCodes(enum.IntEnum):
SUCCESS = 0
NOTIMPLEMENTED = 1
INVALIDPARAM = 2
INVALIDCAST = 3
BUFFERTOOSMALL = 4
GENERICEXCEPTION = 5
COULDNOTLOADLIBRARY = 6
COULDNOTFINDLIBRARYEXPORT = 7
INCOMPATIBLEBINARYVERSION = 8
CALCULATIONABORTED = 10
SHOULDNOTBECALLED = 11
READERCLASSUNKNOWN = 100
WRITERCLASSUNKNOWN = 101
ITERATORINVALIDINDEX = 102
INVALIDMODELRESOURCE = 103
RESOURCENOTFOUND = 104
INVALIDMODEL = 105
INVALIDOBJECT = 106
INVALIDMESHOBJECT = 107
INVALIDCOMPONENTSOBJECT = 108
INVALIDCOMPONENT = 109
INVALIDBUILDITEM = 110
INVALIDBASEMATERIALGROUP = 111
INVALIDSLICESTACKRESOURCE = 112
INVALIDTEXTURERESOURCE = 113
INVALIDCOLORGROUP = 114
INVALIDTEXTURE2DGROUP = 115
INVALIDCOMPOSITEMATERIALS = 116
INVALIDMULTIPROPERTYGROUP = 117
INVALIDRESOURCEINDEX = 120
ATTACHMENTNOTFOUND = 121
FORBIDDENCYCLICREFERENCE = 130
INVALIDATTACHMENTSTREAM = 131
INVALIDPROPERTYCOUNT = 132
UNKOWNPROGRESSIDENTIFIER = 140
ELEMENTCOUNTEXCEEDSLIMIT = 141
BEAMLATTICE_INVALID_OBJECTTYPE = 2000
INVALIDKEYSTORE = 3000
INVALIDKEYSTORECONSUMER = 3001
KEYSTORECONSUMERNOTFOUND = 3002
KEYSTORERESOURCEDATANOTFOUND = 3003
SECURECONTEXTNOTREGISTERED = 3004
'''Definition of Function Table
'''
class FunctionTable:
lib3mf_getlibraryversion = None
lib3mf_getprereleaseinformation = None
lib3mf_getbuildinformation = None
lib3mf_getspecificationversion = None
lib3mf_createmodel = None
lib3mf_release = None
lib3mf_acquire = None
lib3mf_setjournal = None
lib3mf_getlasterror = None
lib3mf_getsymbollookupmethod = None
lib3mf_retrieveprogressmessage = None
lib3mf_rgbatocolor = None
lib3mf_floatrgbatocolor = None
lib3mf_colortorgba = None
lib3mf_colortofloatrgba = None
lib3mf_getidentitytransform = None
lib3mf_getuniformscaletransform = None
lib3mf_getscaletransform = None
lib3mf_gettranslationtransform = None
lib3mf_writer_writetofile = None
lib3mf_writer_getstreamsize = None
lib3mf_writer_writetobuffer = None
lib3mf_writer_writetocallback = None
lib3mf_writer_setprogresscallback = None
lib3mf_writer_getdecimalprecision = None
lib3mf_writer_setdecimalprecision = None
lib3mf_writer_setstrictmodeactive = None
lib3mf_writer_getstrictmodeactive = None
lib3mf_writer_getwarning = None
lib3mf_writer_getwarningcount = None
lib3mf_writer_addkeywrappingcallback = None
lib3mf_writer_setcontentencryptioncallback = None
lib3mf_reader_readfromfile = None
lib3mf_reader_readfrombuffer = None
lib3mf_reader_readfromcallback = None
lib3mf_reader_setprogresscallback = None
lib3mf_reader_addrelationtoread = None
lib3mf_reader_removerelationtoread = None
lib3mf_reader_setstrictmodeactive = None
lib3mf_reader_getstrictmodeactive = None
lib3mf_reader_getwarning = None
lib3mf_reader_getwarningcount = None
lib3mf_reader_addkeywrappingcallback = None
lib3mf_reader_setcontentencryptioncallback = None
lib3mf_packagepart_getpath = None
lib3mf_packagepart_setpath = None
lib3mf_resource_getresourceid = None
lib3mf_resource_getuniqueresourceid = None
lib3mf_resource_packagepart = None
lib3mf_resource_setpackagepart = None
lib3mf_resource_getmodelresourceid = None
lib3mf_resourceiterator_movenext = None
lib3mf_resourceiterator_moveprevious = None
lib3mf_resourceiterator_getcurrent = None
lib3mf_resourceiterator_clone = None
lib3mf_resourceiterator_count = None
lib3mf_slicestackiterator_getcurrentslicestack = None
lib3mf_objectiterator_getcurrentobject = None
lib3mf_meshobjectiterator_getcurrentmeshobject = None
lib3mf_componentsobjectiterator_getcurrentcomponentsobject = None
lib3mf_texture2diterator_getcurrenttexture2d = None
lib3mf_basematerialgroupiterator_getcurrentbasematerialgroup = None
lib3mf_colorgroupiterator_getcurrentcolorgroup = None
lib3mf_texture2dgroupiterator_getcurrenttexture2dgroup = None
lib3mf_compositematerialsiterator_getcurrentcompositematerials = None
lib3mf_multipropertygroupiterator_getcurrentmultipropertygroup = None
lib3mf_metadata_getnamespace = None
lib3mf_metadata_setnamespace = None
lib3mf_metadata_getname = None
lib3mf_metadata_setname = None
lib3mf_metadata_getkey = None
lib3mf_metadata_getmustpreserve = None
lib3mf_metadata_setmustpreserve = None
lib3mf_metadata_gettype = None
lib3mf_metadata_settype = None
lib3mf_metadata_getvalue = None
lib3mf_metadata_setvalue = None
lib3mf_metadatagroup_getmetadatacount = None
lib3mf_metadatagroup_getmetadata = None
lib3mf_metadatagroup_getmetadatabykey = None
lib3mf_metadatagroup_removemetadatabyindex = None
lib3mf_metadatagroup_removemetadata = None
lib3mf_metadatagroup_addmetadata = None
lib3mf_object_gettype = None
lib3mf_object_settype = None
lib3mf_object_getname = None
lib3mf_object_setname = None
lib3mf_object_getpartnumber = None
lib3mf_object_setpartnumber = None
lib3mf_object_ismeshobject = None
lib3mf_object_iscomponentsobject = None
lib3mf_object_isvalid = None
lib3mf_object_setattachmentasthumbnail = None
lib3mf_object_getthumbnailattachment = None
lib3mf_object_clearthumbnailattachment = None
lib3mf_object_getoutbox = None
lib3mf_object_getuuid = None
lib3mf_object_setuuid = None
lib3mf_object_getmetadatagroup = None
lib3mf_object_setslicesmeshresolution = None
lib3mf_object_getslicesmeshresolution = None
lib3mf_object_hasslices = None
lib3mf_object_clearslicestack = None
lib3mf_object_getslicestack = None
lib3mf_object_assignslicestack = None
lib3mf_meshobject_getvertexcount = None
lib3mf_meshobject_gettrianglecount = None
lib3mf_meshobject_getvertex = None
lib3mf_meshobject_setvertex = None
lib3mf_meshobject_addvertex = None
lib3mf_meshobject_getvertices = None
lib3mf_meshobject_gettriangle = None
lib3mf_meshobject_settriangle = None
lib3mf_meshobject_addtriangle = None
lib3mf_meshobject_gettriangleindices = None
lib3mf_meshobject_setobjectlevelproperty = None
lib3mf_meshobject_getobjectlevelproperty = None
lib3mf_meshobject_settriangleproperties = None
lib3mf_meshobject_gettriangleproperties = None
lib3mf_meshobject_setalltriangleproperties = None
lib3mf_meshobject_getalltriangleproperties = None
lib3mf_meshobject_clearallproperties = None
lib3mf_meshobject_setgeometry = None
lib3mf_meshobject_ismanifoldandoriented = None
lib3mf_meshobject_beamlattice = None
lib3mf_beamlattice_getminlength = None
lib3mf_beamlattice_setminlength = None
lib3mf_beamlattice_getclipping = None
lib3mf_beamlattice_setclipping = None
lib3mf_beamlattice_getrepresentation = None
lib3mf_beamlattice_setrepresentation = None
lib3mf_beamlattice_getballoptions = None
lib3mf_beamlattice_setballoptions = None
lib3mf_beamlattice_getbeamcount = None
lib3mf_beamlattice_getbeam = None
lib3mf_beamlattice_addbeam = None
lib3mf_beamlattice_setbeam = None
lib3mf_beamlattice_setbeams = None
lib3mf_beamlattice_getbeams = None
lib3mf_beamlattice_getballcount = None
lib3mf_beamlattice_getball = None
lib3mf_beamlattice_addball = None
lib3mf_beamlattice_setball = None
lib3mf_beamlattice_setballs = None
lib3mf_beamlattice_getballs = None
lib3mf_beamlattice_getbeamsetcount = None
lib3mf_beamlattice_addbeamset = None
lib3mf_beamlattice_getbeamset = None
lib3mf_component_getobjectresource = None
lib3mf_component_getobjectresourceid = None
lib3mf_component_getuuid = None
lib3mf_component_setuuid = None
lib3mf_component_hastransform = None
lib3mf_component_gettransform = None
lib3mf_component_settransform = None
lib3mf_componentsobject_addcomponent = None
lib3mf_componentsobject_getcomponent = None
lib3mf_componentsobject_getcomponentcount = None
lib3mf_beamset_setname = None
lib3mf_beamset_getname = None
lib3mf_beamset_setidentifier = None
lib3mf_beamset_getidentifier = None
lib3mf_beamset_getreferencecount = None
lib3mf_beamset_setreferences = None
lib3mf_beamset_getreferences = None
lib3mf_beamset_getballreferencecount = None
lib3mf_beamset_setballreferences = None
lib3mf_beamset_getballreferences = None
lib3mf_basematerialgroup_getcount = None
lib3mf_basematerialgroup_getallpropertyids = None
lib3mf_basematerialgroup_addmaterial = None
lib3mf_basematerialgroup_removematerial = None
lib3mf_basematerialgroup_getname = None
lib3mf_basematerialgroup_setname = None
lib3mf_basematerialgroup_setdisplaycolor = None
lib3mf_basematerialgroup_getdisplaycolor = None
lib3mf_colorgroup_getcount = None
lib3mf_colorgroup_getallpropertyids = None
lib3mf_colorgroup_addcolor = None
lib3mf_colorgroup_removecolor = None
lib3mf_colorgroup_setcolor = None
lib3mf_colorgroup_getcolor = None
lib3mf_texture2dgroup_getcount = None
lib3mf_texture2dgroup_getallpropertyids = None
lib3mf_texture2dgroup_addtex2coord = None
lib3mf_texture2dgroup_gettex2coord = None
lib3mf_texture2dgroup_removetex2coord = None
lib3mf_texture2dgroup_gettexture2d = None
lib3mf_compositematerials_getcount = None
lib3mf_compositematerials_getallpropertyids = None
lib3mf_compositematerials_getbasematerialgroup = None
lib3mf_compositematerials_addcomposite = None
lib3mf_compositematerials_removecomposite = None
lib3mf_compositematerials_getcomposite = None
lib3mf_multipropertygroup_getcount = None
lib3mf_multipropertygroup_getallpropertyids = None
lib3mf_multipropertygroup_addmultiproperty = None
lib3mf_multipropertygroup_setmultiproperty = None
lib3mf_multipropertygroup_getmultiproperty = None
lib3mf_multipropertygroup_removemultiproperty = None
lib3mf_multipropertygroup_getlayercount = None
lib3mf_multipropertygroup_addlayer = None
lib3mf_multipropertygroup_getlayer = None
lib3mf_multipropertygroup_removelayer = None
lib3mf_attachment_getpath = None
lib3mf_attachment_setpath = None
lib3mf_attachment_packagepart = None
lib3mf_attachment_getrelationshiptype = None
lib3mf_attachment_setrelationshiptype = None
lib3mf_attachment_writetofile = None
lib3mf_attachment_readfromfile = None
lib3mf_attachment_readfromcallback = None
lib3mf_attachment_getstreamsize = None
lib3mf_attachment_writetobuffer = None
lib3mf_attachment_readfrombuffer = None
lib3mf_texture2d_getattachment = None
lib3mf_texture2d_setattachment = None
lib3mf_texture2d_getcontenttype = None
lib3mf_texture2d_setcontenttype = None
lib3mf_texture2d_gettilestyleuv = None
lib3mf_texture2d_settilestyleuv = None
lib3mf_texture2d_getfilter = None
lib3mf_texture2d_setfilter = None
lib3mf_builditem_getobjectresource = None
lib3mf_builditem_getuuid = None
lib3mf_builditem_setuuid = None
lib3mf_builditem_getobjectresourceid = None
lib3mf_builditem_hasobjecttransform = None
lib3mf_builditem_getobjecttransform = None
lib3mf_builditem_setobjecttransform = None
lib3mf_builditem_getpartnumber = None
lib3mf_builditem_setpartnumber = None
lib3mf_builditem_getmetadatagroup = None
lib3mf_builditem_getoutbox = None
lib3mf_builditemiterator_movenext = None
lib3mf_builditemiterator_moveprevious = None
lib3mf_builditemiterator_getcurrent = None
lib3mf_builditemiterator_clone = None
lib3mf_builditemiterator_count = None
lib3mf_slice_setvertices = None
lib3mf_slice_getvertices = None
lib3mf_slice_getvertexcount = None
lib3mf_slice_addpolygon = None
lib3mf_slice_getpolygoncount = None
lib3mf_slice_setpolygonindices = None
lib3mf_slice_getpolygonindices = None
lib3mf_slice_getpolygonindexcount = None
lib3mf_slice_getztop = None
lib3mf_slicestack_getbottomz = None
lib3mf_slicestack_getslicecount = None
lib3mf_slicestack_getslice = None
lib3mf_slicestack_addslice = None
lib3mf_slicestack_getslicerefcount = None
lib3mf_slicestack_addslicestackreference = None
lib3mf_slicestack_getslicestackreference = None
lib3mf_slicestack_collapseslicereferences = None
lib3mf_slicestack_setownpath = None
lib3mf_slicestack_getownpath = None
lib3mf_consumer_getconsumerid = None
lib3mf_consumer_getkeyid = None
lib3mf_consumer_getkeyvalue = None
lib3mf_accessright_getconsumer = None
lib3mf_accessright_getwrappingalgorithm = None
lib3mf_accessright_getmgfalgorithm = None
lib3mf_accessright_getdigestmethod = None
lib3mf_contentencryptionparams_getencryptionalgorithm = None
lib3mf_contentencryptionparams_getkey = None
lib3mf_contentencryptionparams_getinitializationvector = None
lib3mf_contentencryptionparams_getauthenticationtag = None
lib3mf_contentencryptionparams_setauthenticationtag = None
lib3mf_contentencryptionparams_getadditionalauthenticationdata = None
lib3mf_contentencryptionparams_getdescriptor = None
lib3mf_contentencryptionparams_getkeyuuid = None
lib3mf_resourcedata_getpath = None
lib3mf_resourcedata_getencryptionalgorithm = None
lib3mf_resourcedata_getcompression = None
lib3mf_resourcedata_getadditionalauthenticationdata = None
lib3mf_resourcedatagroup_getkeyuuid = None
lib3mf_resourcedatagroup_addaccessright = None
lib3mf_resourcedatagroup_findaccessrightbyconsumer = None
lib3mf_resourcedatagroup_removeaccessright = None
lib3mf_keystore_addconsumer = None
lib3mf_keystore_getconsumercount = None
lib3mf_keystore_getconsumer = None
lib3mf_keystore_removeconsumer = None
lib3mf_keystore_findconsumer = None
lib3mf_keystore_getresourcedatagroupcount = None
lib3mf_keystore_addresourcedatagroup = None
lib3mf_keystore_getresourcedatagroup = None
lib3mf_keystore_removeresourcedatagroup = None
lib3mf_keystore_findresourcedatagroup = None
lib3mf_keystore_addresourcedata = None
lib3mf_keystore_removeresourcedata = None
lib3mf_keystore_findresourcedata = None
lib3mf_keystore_getresourcedatacount = None
lib3mf_keystore_getresourcedata = None
lib3mf_keystore_getuuid = None
lib3mf_keystore_setuuid = None
lib3mf_model_rootmodelpart = None
lib3mf_model_findorcreatepackagepart = None
lib3mf_model_setunit = None
lib3mf_model_getunit = None
lib3mf_model_getlanguage = None
lib3mf_model_setlanguage = None
lib3mf_model_querywriter = None
lib3mf_model_queryreader = None
lib3mf_model_gettexture2dbyid = None
lib3mf_model_getpropertytypebyid = None
lib3mf_model_getbasematerialgroupbyid = None
lib3mf_model_gettexture2dgroupbyid = None
lib3mf_model_getcompositematerialsbyid = None
lib3mf_model_getmultipropertygroupbyid = None
lib3mf_model_getmeshobjectbyid = None
lib3mf_model_getcomponentsobjectbyid = None
lib3mf_model_getcolorgroupbyid = None
lib3mf_model_getslicestackbyid = None
lib3mf_model_getbuilduuid = None
lib3mf_model_setbuilduuid = None
lib3mf_model_getbuilditems = None
lib3mf_model_getoutbox = None
lib3mf_model_getresources = None
lib3mf_model_getobjects = None
lib3mf_model_getmeshobjects = None
lib3mf_model_getcomponentsobjects = None
lib3mf_model_gettexture2ds = None
lib3mf_model_getbasematerialgroups = None
lib3mf_model_getcolorgroups = None
lib3mf_model_gettexture2dgroups = None
lib3mf_model_getcompositematerials = None
lib3mf_model_getmultipropertygroups = None
lib3mf_model_getslicestacks = None
lib3mf_model_mergetomodel = None
lib3mf_model_addmeshobject = None
lib3mf_model_addcomponentsobject = None
lib3mf_model_addslicestack = None
lib3mf_model_addtexture2dfromattachment = None
lib3mf_model_addbasematerialgroup = None
lib3mf_model_addcolorgroup = None
lib3mf_model_addtexture2dgroup = None
lib3mf_model_addcompositematerials = None
lib3mf_model_addmultipropertygroup = None
lib3mf_model_addbuilditem = None
lib3mf_model_removebuilditem = None
lib3mf_model_getmetadatagroup = None
lib3mf_model_addattachment = None
lib3mf_model_removeattachment = None
lib3mf_model_getattachment = None
lib3mf_model_findattachment = None
lib3mf_model_getattachmentcount = None
lib3mf_model_haspackagethumbnailattachment = None
lib3mf_model_createpackagethumbnailattachment = None
lib3mf_model_getpackagethumbnailattachment = None
lib3mf_model_removepackagethumbnailattachment = None
lib3mf_model_addcustomcontenttype = None
lib3mf_model_removecustomcontenttype = None
lib3mf_model_setrandomnumbercallback = None
lib3mf_model_getkeystore = None
'''Definition of Enumerations
'''
'''Definition of base enumeration for ctypes
'''
class CTypesEnum(enum.IntEnum):
def from_param(obj):
return int(obj)
'''Definition of PropertyType
'''
class PropertyType(CTypesEnum):
NoPropertyType = 0
BaseMaterial = 1
TexCoord = 2
Colors = 3
Composite = 4
Multi = 5
'''Definition of SlicesMeshResolution
'''
class SlicesMeshResolution(CTypesEnum):
Fullres = 0
Lowres = 1
'''Definition of ModelUnit
'''
class ModelUnit(CTypesEnum):
MicroMeter = 0
MilliMeter = 1
CentiMeter = 2
Inch = 3
Foot = 4
Meter = 5
'''Definition of ObjectType
'''
class ObjectType(CTypesEnum):
Other = 0
Model = 1
Support = 2
SolidSupport = 3
'''Definition of TextureType
'''
class TextureType(CTypesEnum):
Unknown = 0
PNG = 1
JPEG = 2
'''Definition of TextureTileStyle
'''
class TextureTileStyle(CTypesEnum):
Wrap = 0
Mirror = 1
Clamp = 2
NoTileStyle = 3
'''Definition of TextureFilter
'''
class TextureFilter(CTypesEnum):
Auto = 0
Linear = 1
Nearest = 2
'''Definition of BeamLatticeCapMode
'''
class BeamLatticeCapMode(CTypesEnum):
Sphere = 0
HemiSphere = 1
Butt = 2
'''Definition of BeamLatticeClipMode
'''
class BeamLatticeClipMode(CTypesEnum):
NoClipMode = 0
Inside = 1
Outside = 2
'''Definition of BeamLatticeBallMode
'''
class BeamLatticeBallMode(CTypesEnum):
None = 0
Mixed = 1
All = 2
'''Definition of ProgressIdentifier
'''
class ProgressIdentifier(CTypesEnum):
QUERYCANCELED = 0
DONE = 1
CLEANUP = 2
READSTREAM = 3
EXTRACTOPCPACKAGE = 4
READNONROOTMODELS = 5
READROOTMODEL = 6
READRESOURCES = 7
READMESH = 8
READSLICES = 9
READBUILD = 10
READCUSTOMATTACHMENT = 11
READTEXTURETACHMENTS = 12
CREATEOPCPACKAGE = 13
WRITEMODELSTOSTREAM = 14
WRITEROOTMODEL = 15
WRITENONROOTMODELS = 16
WRITEATTACHMENTS = 17
WRITECONTENTTYPES = 18
WRITENOBJECTS = 19
WRITENODES = 20
WRITETRIANGLES = 21
WRITESLICES = 22
WRITEKEYSTORE = 23
'''Definition of BlendMethod
'''
class BlendMethod(CTypesEnum):
NoBlendMethod = 0
Mix = 1
Multiply = 2
'''Definition of EncryptionAlgorithm
'''
class EncryptionAlgorithm(CTypesEnum):
AES256_GCM = 1
'''Definition of WrappingAlgorithm
'''
class WrappingAlgorithm(CTypesEnum):
RSA_OAEP = 0
'''Definition of MgfAlgorithm
'''
class MgfAlgorithm(CTypesEnum):
MGF1_SHA1 = 160
MGF1_SHA224 = 224
MGF1_SHA256 = 256
MGF1_SHA384 = 384
MGF1_SHA512 = 512
'''Definition of DigestMethod
'''
class DigestMethod(CTypesEnum):
SHA1 = 160
SHA256 = 256
'''Definition of Compression
'''
class Compression(CTypesEnum):
NoCompression = 0
Deflate = 1
'''Definition of Structs
'''
'''Definition of Triangle
'''
class Triangle(ctypes.Structure):
_pack_ = 1
_fields_ = [
("Indices", ctypes.c_uint32 * 3)
]
'''Definition of TriangleProperties
'''
class TriangleProperties(ctypes.Structure):
_pack_ = 1
_fields_ = [
("ResourceID", ctypes.c_uint32),
("PropertyIDs", ctypes.c_uint32 * 3)
]
'''Definition of Position
'''
class Position(ctypes.Structure):
_pack_ = 1
_fields_ = [
("Coordinates", ctypes.c_float * 3)
]
'''Definition of Position2D
'''
class Position2D(ctypes.Structure):
_pack_ = 1
_fields_ = [
("Coordinates", ctypes.c_float * 2)
]
'''Definition of CompositeConstituent
'''
class CompositeConstituent(ctypes.Structure):
_pack_ = 1
_fields_ = [
("PropertyID", ctypes.c_uint32),
("MixingRatio", ctypes.c_double)
]
'''Definition of MultiPropertyLayer
'''
class MultiPropertyLayer(ctypes.Structure):
_pack_ = 1
_fields_ = [
("ResourceID", ctypes.c_uint32),
("TheBlendMethod", ctypes.c_int32)
]
'''Definition of Tex2Coord
'''
class Tex2Coord(ctypes.Structure):
_pack_ = 1
_fields_ = [
("U", ctypes.c_double),
("V", ctypes.c_double)
]
'''Definition of Transform
'''
class Transform(ctypes.Structure):
_pack_ = 1
_fields_ = [
("Fields", (ctypes.c_float * 3) * 4)
]
'''Definition of Box
'''
class Box(ctypes.Structure):
_pack_ = 1
_fields_ = [
("MinCoordinate", ctypes.c_float * 3),
("MaxCoordinate", ctypes.c_float * 3)
]
'''Definition of Color
'''
class Color(ctypes.Structure):
_pack_ = 1
_fields_ = [
("Red", ctypes.c_uint8),
("Green", ctypes.c_uint8),
("Blue", ctypes.c_uint8),
("Alpha", ctypes.c_uint8)
]
'''Definition of Beam
'''
class Beam(ctypes.Structure):
_pack_ = 1
_fields_ = [
("Indices", ctypes.c_uint32 * 2),
("Radii", ctypes.c_double * 2),
("CapModes", ctypes.c_int32 * 2)
]
'''Definition of Ball
'''
class Ball(ctypes.Structure):
_pack_ = 1
_fields_ = [
("Index", ctypes.c_uint32),
("Radius", ctypes.c_double)
]
'''Definition of Function Types
'''
'''Definition of ProgressCallback
A callback function
'''
ProgressCallback = ctypes.CFUNCTYPE(ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool), ctypes.c_double, ProgressIdentifier, ctypes.c_void_p)
'''Definition of WriteCallback
Callback to call for writing a data chunk
'''
WriteCallback = ctypes.CFUNCTYPE(ctypes.c_void_p, ctypes.c_uint64, ctypes.c_uint64, ctypes.c_void_p)
'''Definition of ReadCallback
Callback to call for reading a data chunk
'''
ReadCallback = ctypes.CFUNCTYPE(ctypes.c_void_p, ctypes.c_uint64, ctypes.c_uint64, ctypes.c_void_p)
'''Definition of SeekCallback
Callback to call for seeking in the stream
'''
SeekCallback = ctypes.CFUNCTYPE(ctypes.c_void_p, ctypes.c_uint64, ctypes.c_void_p)
'''Definition of RandomNumberCallback
Callback to generate random numbers
'''
RandomNumberCallback = ctypes.CFUNCTYPE(ctypes.c_void_p, ctypes.c_uint64, ctypes.c_uint64, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint64))
'''Definition of KeyWrappingCallback
A callback used to wrap (encrypt) the content key available in keystore resource group
'''
KeyWrappingCallback = ctypes.CFUNCTYPE(ctypes.c_void_p, ctypes.c_void_p, ctypes.c_uint64, ctypes.c_uint64, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint64))
'''Definition of ContentEncryptionCallback
A callback to encrypt/decrypt content called on each resource encrypted. This might be called several times depending on content size. If Input is not available(either null or size is 0), clients must return the result of authenticated tag generation/validation.
'''
ContentEncryptionCallback = ctypes.CFUNCTYPE(ctypes.c_void_p, ctypes.c_void_p, ctypes.c_uint64, ctypes.c_uint64, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint64))
'''Wrapper Class Implementation
'''
class Wrapper:
def __init__(self, libraryName = None, symbolLookupMethodAddress = None):
ending = ''
if platform.system() == 'Windows':
ending = 'dll'
elif platform.system() == 'Linux':
ending = 'so'
elif platform.system() == 'Darwin':
ending = 'dylib'
else:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY)
if (not libraryName) and (not symbolLookupMethodAddress):
libraryName = os.path.join(os.path.dirname(os.path.realpath(__file__)),'lib3mf')
if libraryName is not None:
path = libraryName + '.' + ending
try:
self.lib = ctypes.CDLL(path)
except Exception as e:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(e) + '| "'+path + '"' )
self._loadFunctionTable()
elif symbolLookupMethodAddress is not None:
self.lib = FunctionTable()
self._loadFunctionTableFromMethod(symbolLookupMethodAddress)
else:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(e))
self._checkBinaryVersion()
def _loadFunctionTableFromMethod(self, symbolLookupMethodAddress):
try:
symbolLookupMethodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_char_p, ctypes.POINTER(ctypes.c_void_p))
symbolLookupMethod = symbolLookupMethodType(int(symbolLookupMethodAddress))
methodAddress = ctypes.c_void_p()
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_getlibraryversion")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.POINTER(ctypes.c_uint32), ctypes.POINTER(ctypes.c_uint32), ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_getlibraryversion = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_getprereleaseinformation")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.POINTER(ctypes.c_bool), ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p)
self.lib.lib3mf_getprereleaseinformation = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_getbuildinformation")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.POINTER(ctypes.c_bool), ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p)
self.lib.lib3mf_getbuildinformation = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_getspecificationversion")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_char_p, ctypes.POINTER(ctypes.c_bool), ctypes.POINTER(ctypes.c_uint32), ctypes.POINTER(ctypes.c_uint32), ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_getspecificationversion = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_createmodel")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_createmodel = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_release")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p)
self.lib.lib3mf_release = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_acquire")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p)
self.lib.lib3mf_acquire = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_setjournal")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_char_p)
self.lib.lib3mf_setjournal = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_getlasterror")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p, ctypes.POINTER(ctypes.c_bool))
self.lib.lib3mf_getlasterror = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_getsymbollookupmethod")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_getsymbollookupmethod = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_retrieveprogressmessage")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ProgressIdentifier, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p)
self.lib.lib3mf_retrieveprogressmessage = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_rgbatocolor")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8, ctypes.POINTER(Color))
self.lib.lib3mf_rgbatocolor = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_floatrgbatocolor")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_float, ctypes.c_float, ctypes.c_float, ctypes.c_float, ctypes.POINTER(Color))
self.lib.lib3mf_floatrgbatocolor = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_colortorgba")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.POINTER(Color), ctypes.POINTER(ctypes.c_uint8), ctypes.POINTER(ctypes.c_uint8), ctypes.POINTER(ctypes.c_uint8), ctypes.POINTER(ctypes.c_uint8))
self.lib.lib3mf_colortorgba = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_colortofloatrgba")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.POINTER(Color), ctypes.POINTER(ctypes.c_float), ctypes.POINTER(ctypes.c_float), ctypes.POINTER(ctypes.c_float), ctypes.POINTER(ctypes.c_float))
self.lib.lib3mf_colortofloatrgba = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_getidentitytransform")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.POINTER(Transform))
self.lib.lib3mf_getidentitytransform = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_getuniformscaletransform")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_float, ctypes.POINTER(Transform))
self.lib.lib3mf_getuniformscaletransform = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_getscaletransform")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_float, ctypes.c_float, ctypes.c_float, ctypes.POINTER(Transform))
self.lib.lib3mf_getscaletransform = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_gettranslationtransform")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_float, ctypes.c_float, ctypes.c_float, ctypes.POINTER(Transform))
self.lib.lib3mf_gettranslationtransform = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_writer_writetofile")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_char_p)
self.lib.lib3mf_writer_writetofile = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_writer_getstreamsize")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint64))
self.lib.lib3mf_writer_getstreamsize = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_writer_writetobuffer")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(ctypes.c_uint8))
self.lib.lib3mf_writer_writetobuffer = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_writer_writetocallback")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, WriteCallback, SeekCallback, ctypes.c_void_p)
self.lib.lib3mf_writer_writetocallback = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_writer_setprogresscallback")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ProgressCallback, ctypes.c_void_p)
self.lib.lib3mf_writer_setprogresscallback = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_writer_getdecimalprecision")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_writer_getdecimalprecision = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_writer_setdecimalprecision")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32)
self.lib.lib3mf_writer_setdecimalprecision = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_writer_setstrictmodeactive")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_bool)
self.lib.lib3mf_writer_setstrictmodeactive = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_writer_getstrictmodeactive")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool))
self.lib.lib3mf_writer_getstrictmodeactive = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_writer_getwarning")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(ctypes.c_uint32), ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p)
self.lib.lib3mf_writer_getwarning = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_writer_getwarningcount")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_writer_getwarningcount = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_writer_addkeywrappingcallback")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_char_p, KeyWrappingCallback, ctypes.c_void_p)
self.lib.lib3mf_writer_addkeywrappingcallback = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_writer_setcontentencryptioncallback")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ContentEncryptionCallback, ctypes.c_void_p)
self.lib.lib3mf_writer_setcontentencryptioncallback = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_reader_readfromfile")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_char_p)
self.lib.lib3mf_reader_readfromfile = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_reader_readfrombuffer")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint8))
self.lib.lib3mf_reader_readfrombuffer = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_reader_readfromcallback")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ReadCallback, ctypes.c_uint64, SeekCallback, ctypes.c_void_p)
self.lib.lib3mf_reader_readfromcallback = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_reader_setprogresscallback")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ProgressCallback, ctypes.c_void_p)
self.lib.lib3mf_reader_setprogresscallback = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_reader_addrelationtoread")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_char_p)
self.lib.lib3mf_reader_addrelationtoread = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_reader_removerelationtoread")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_char_p)
self.lib.lib3mf_reader_removerelationtoread = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_reader_setstrictmodeactive")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_bool)
self.lib.lib3mf_reader_setstrictmodeactive = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_reader_getstrictmodeactive")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool))
self.lib.lib3mf_reader_getstrictmodeactive = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_reader_getwarning")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(ctypes.c_uint32), ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p)
self.lib.lib3mf_reader_getwarning = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_reader_getwarningcount")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_reader_getwarningcount = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_reader_addkeywrappingcallback")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_char_p, KeyWrappingCallback, ctypes.c_void_p)
self.lib.lib3mf_reader_addkeywrappingcallback = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_reader_setcontentencryptioncallback")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ContentEncryptionCallback, ctypes.c_void_p)
self.lib.lib3mf_reader_setcontentencryptioncallback = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_packagepart_getpath")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p)
self.lib.lib3mf_packagepart_getpath = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_packagepart_setpath")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_char_p)
self.lib.lib3mf_packagepart_setpath = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_resource_getresourceid")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_resource_getresourceid = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_resource_getuniqueresourceid")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_resource_getuniqueresourceid = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_resource_packagepart")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_resource_packagepart = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_resource_setpackagepart")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_void_p)
self.lib.lib3mf_resource_setpackagepart = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_resource_getmodelresourceid")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_resource_getmodelresourceid = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_resourceiterator_movenext")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool))
self.lib.lib3mf_resourceiterator_movenext = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_resourceiterator_moveprevious")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool))
self.lib.lib3mf_resourceiterator_moveprevious = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_resourceiterator_getcurrent")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_resourceiterator_getcurrent = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_resourceiterator_clone")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_resourceiterator_clone = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_resourceiterator_count")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint64))
self.lib.lib3mf_resourceiterator_count = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_slicestackiterator_getcurrentslicestack")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_slicestackiterator_getcurrentslicestack = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_objectiterator_getcurrentobject")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_objectiterator_getcurrentobject = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_meshobjectiterator_getcurrentmeshobject")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_meshobjectiterator_getcurrentmeshobject = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_componentsobjectiterator_getcurrentcomponentsobject")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_componentsobjectiterator_getcurrentcomponentsobject = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_texture2diterator_getcurrenttexture2d")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_texture2diterator_getcurrenttexture2d = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_basematerialgroupiterator_getcurrentbasematerialgroup")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_basematerialgroupiterator_getcurrentbasematerialgroup = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_colorgroupiterator_getcurrentcolorgroup")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_colorgroupiterator_getcurrentcolorgroup = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_texture2dgroupiterator_getcurrenttexture2dgroup")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_texture2dgroupiterator_getcurrenttexture2dgroup = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_compositematerialsiterator_getcurrentcompositematerials")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_compositematerialsiterator_getcurrentcompositematerials = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_multipropertygroupiterator_getcurrentmultipropertygroup")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_multipropertygroupiterator_getcurrentmultipropertygroup = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_metadata_getnamespace")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p)
self.lib.lib3mf_metadata_getnamespace = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_metadata_setnamespace")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_char_p)
self.lib.lib3mf_metadata_setnamespace = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_metadata_getname")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p)
self.lib.lib3mf_metadata_getname = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_metadata_setname")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_char_p)
self.lib.lib3mf_metadata_setname = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_metadata_getkey")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p)
self.lib.lib3mf_metadata_getkey = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_metadata_getmustpreserve")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool))
self.lib.lib3mf_metadata_getmustpreserve = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_metadata_setmustpreserve")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_bool)
self.lib.lib3mf_metadata_setmustpreserve = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_metadata_gettype")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p)
self.lib.lib3mf_metadata_gettype = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_metadata_settype")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_char_p)
self.lib.lib3mf_metadata_settype = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_metadata_getvalue")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p)
self.lib.lib3mf_metadata_getvalue = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_metadata_setvalue")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_char_p)
self.lib.lib3mf_metadata_setvalue = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_metadatagroup_getmetadatacount")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_metadatagroup_getmetadatacount = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_metadatagroup_getmetadata")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_metadatagroup_getmetadata = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_metadatagroup_getmetadatabykey")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_char_p, ctypes.c_char_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_metadatagroup_getmetadatabykey = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_metadatagroup_removemetadatabyindex")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32)
self.lib.lib3mf_metadatagroup_removemetadatabyindex = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_metadatagroup_removemetadata")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_void_p)
self.lib.lib3mf_metadatagroup_removemetadata = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_metadatagroup_addmetadata")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_char_p, ctypes.c_char_p, ctypes.c_char_p, ctypes.c_char_p, ctypes.c_bool, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_metadatagroup_addmetadata = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_object_gettype")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_int32))
self.lib.lib3mf_object_gettype = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_object_settype")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ObjectType)
self.lib.lib3mf_object_settype = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_object_getname")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p)
self.lib.lib3mf_object_getname = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_object_setname")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_char_p)
self.lib.lib3mf_object_setname = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_object_getpartnumber")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p)
self.lib.lib3mf_object_getpartnumber = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_object_setpartnumber")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_char_p)
self.lib.lib3mf_object_setpartnumber = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_object_ismeshobject")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool))
self.lib.lib3mf_object_ismeshobject = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_object_iscomponentsobject")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool))
self.lib.lib3mf_object_iscomponentsobject = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_object_isvalid")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool))
self.lib.lib3mf_object_isvalid = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_object_setattachmentasthumbnail")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_void_p)
self.lib.lib3mf_object_setattachmentasthumbnail = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_object_getthumbnailattachment")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_object_getthumbnailattachment = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_object_clearthumbnailattachment")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p)
self.lib.lib3mf_object_clearthumbnailattachment = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_object_getoutbox")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(Box))
self.lib.lib3mf_object_getoutbox = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_object_getuuid")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool), ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p)
self.lib.lib3mf_object_getuuid = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_object_setuuid")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_char_p)
self.lib.lib3mf_object_setuuid = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_object_getmetadatagroup")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_object_getmetadatagroup = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_object_setslicesmeshresolution")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, SlicesMeshResolution)
self.lib.lib3mf_object_setslicesmeshresolution = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_object_getslicesmeshresolution")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_int32))
self.lib.lib3mf_object_getslicesmeshresolution = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_object_hasslices")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_bool, ctypes.POINTER(ctypes.c_bool))
self.lib.lib3mf_object_hasslices = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_object_clearslicestack")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p)
self.lib.lib3mf_object_clearslicestack = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_object_getslicestack")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_object_getslicestack = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_object_assignslicestack")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_void_p)
self.lib.lib3mf_object_assignslicestack = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_meshobject_getvertexcount")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_meshobject_getvertexcount = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_meshobject_gettrianglecount")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_meshobject_gettrianglecount = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_meshobject_getvertex")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(Position))
self.lib.lib3mf_meshobject_getvertex = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_meshobject_setvertex")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(Position))
self.lib.lib3mf_meshobject_setvertex = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_meshobject_addvertex")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(Position), ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_meshobject_addvertex = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_meshobject_getvertices")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(Position))
self.lib.lib3mf_meshobject_getvertices = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_meshobject_gettriangle")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(Triangle))
self.lib.lib3mf_meshobject_gettriangle = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_meshobject_settriangle")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(Triangle))
self.lib.lib3mf_meshobject_settriangle = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_meshobject_addtriangle")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(Triangle), ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_meshobject_addtriangle = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_meshobject_gettriangleindices")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(Triangle))
self.lib.lib3mf_meshobject_gettriangleindices = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_meshobject_setobjectlevelproperty")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32, ctypes.c_uint32)
self.lib.lib3mf_meshobject_setobjectlevelproperty = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_meshobject_getobjectlevelproperty")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32), ctypes.POINTER(ctypes.c_uint32), ctypes.POINTER(ctypes.c_bool))
self.lib.lib3mf_meshobject_getobjectlevelproperty = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_meshobject_settriangleproperties")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(TriangleProperties))
self.lib.lib3mf_meshobject_settriangleproperties = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_meshobject_gettriangleproperties")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(TriangleProperties))
self.lib.lib3mf_meshobject_gettriangleproperties = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_meshobject_setalltriangleproperties")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(TriangleProperties))
self.lib.lib3mf_meshobject_setalltriangleproperties = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_meshobject_getalltriangleproperties")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(TriangleProperties))
self.lib.lib3mf_meshobject_getalltriangleproperties = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_meshobject_clearallproperties")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p)
self.lib.lib3mf_meshobject_clearallproperties = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_meshobject_setgeometry")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(Position), ctypes.c_uint64, ctypes.POINTER(Triangle))
self.lib.lib3mf_meshobject_setgeometry = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_meshobject_ismanifoldandoriented")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool))
self.lib.lib3mf_meshobject_ismanifoldandoriented = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_meshobject_beamlattice")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_meshobject_beamlattice = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_beamlattice_getminlength")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_double))
self.lib.lib3mf_beamlattice_getminlength = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_beamlattice_setminlength")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_double)
self.lib.lib3mf_beamlattice_setminlength = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_beamlattice_getclipping")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_int32), ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_beamlattice_getclipping = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_beamlattice_setclipping")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, BeamLatticeClipMode, ctypes.c_uint32)
self.lib.lib3mf_beamlattice_setclipping = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_beamlattice_getrepresentation")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool), ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_beamlattice_getrepresentation = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_beamlattice_setrepresentation")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32)
self.lib.lib3mf_beamlattice_setrepresentation = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_beamlattice_getballoptions")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_int32), ctypes.POINTER(ctypes.c_double))
self.lib.lib3mf_beamlattice_getballoptions = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_beamlattice_setballoptions")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, BeamLatticeBallMode, ctypes.c_double)
self.lib.lib3mf_beamlattice_setballoptions = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_beamlattice_getbeamcount")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_beamlattice_getbeamcount = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_beamlattice_getbeam")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(Beam))
self.lib.lib3mf_beamlattice_getbeam = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_beamlattice_addbeam")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(Beam), ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_beamlattice_addbeam = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_beamlattice_setbeam")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(Beam))
self.lib.lib3mf_beamlattice_setbeam = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_beamlattice_setbeams")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(Beam))
self.lib.lib3mf_beamlattice_setbeams = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_beamlattice_getbeams")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(Beam))
self.lib.lib3mf_beamlattice_getbeams = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_beamlattice_getballcount")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_beamlattice_getballcount = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_beamlattice_getball")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(Ball))
self.lib.lib3mf_beamlattice_getball = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_beamlattice_addball")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(Ball), ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_beamlattice_addball = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_beamlattice_setball")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(Ball))
self.lib.lib3mf_beamlattice_setball = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_beamlattice_setballs")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(Ball))
self.lib.lib3mf_beamlattice_setballs = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_beamlattice_getballs")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(Ball))
self.lib.lib3mf_beamlattice_getballs = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_beamlattice_getbeamsetcount")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_beamlattice_getbeamsetcount = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_beamlattice_addbeamset")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_beamlattice_addbeamset = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_beamlattice_getbeamset")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_beamlattice_getbeamset = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_component_getobjectresource")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_component_getobjectresource = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_component_getobjectresourceid")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_component_getobjectresourceid = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_component_getuuid")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool), ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p)
self.lib.lib3mf_component_getuuid = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_component_setuuid")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_char_p)
self.lib.lib3mf_component_setuuid = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_component_hastransform")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool))
self.lib.lib3mf_component_hastransform = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_component_gettransform")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(Transform))
self.lib.lib3mf_component_gettransform = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_component_settransform")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(Transform))
self.lib.lib3mf_component_settransform = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_componentsobject_addcomponent")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_void_p, ctypes.POINTER(Transform), ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_componentsobject_addcomponent = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_componentsobject_getcomponent")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_componentsobject_getcomponent = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_componentsobject_getcomponentcount")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_componentsobject_getcomponentcount = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_beamset_setname")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_char_p)
self.lib.lib3mf_beamset_setname = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_beamset_getname")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p)
self.lib.lib3mf_beamset_getname = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_beamset_setidentifier")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_char_p)
self.lib.lib3mf_beamset_setidentifier = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_beamset_getidentifier")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p)
self.lib.lib3mf_beamset_getidentifier = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_beamset_getreferencecount")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_beamset_getreferencecount = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_beamset_setreferences")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_beamset_setreferences = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_beamset_getreferences")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_beamset_getreferences = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_beamset_getballreferencecount")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_beamset_getballreferencecount = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_beamset_setballreferences")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_beamset_setballreferences = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_beamset_getballreferences")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_beamset_getballreferences = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_basematerialgroup_getcount")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_basematerialgroup_getcount = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_basematerialgroup_getallpropertyids")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_basematerialgroup_getallpropertyids = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_basematerialgroup_addmaterial")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_char_p, ctypes.POINTER(Color), ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_basematerialgroup_addmaterial = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_basematerialgroup_removematerial")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32)
self.lib.lib3mf_basematerialgroup_removematerial = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_basematerialgroup_getname")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p)
self.lib.lib3mf_basematerialgroup_getname = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_basematerialgroup_setname")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32, ctypes.c_char_p)
self.lib.lib3mf_basematerialgroup_setname = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_basematerialgroup_setdisplaycolor")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(Color))
self.lib.lib3mf_basematerialgroup_setdisplaycolor = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_basematerialgroup_getdisplaycolor")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(Color))
self.lib.lib3mf_basematerialgroup_getdisplaycolor = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_colorgroup_getcount")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_colorgroup_getcount = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_colorgroup_getallpropertyids")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_colorgroup_getallpropertyids = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_colorgroup_addcolor")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(Color), ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_colorgroup_addcolor = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_colorgroup_removecolor")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32)
self.lib.lib3mf_colorgroup_removecolor = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_colorgroup_setcolor")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(Color))
self.lib.lib3mf_colorgroup_setcolor = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_colorgroup_getcolor")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(Color))
self.lib.lib3mf_colorgroup_getcolor = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_texture2dgroup_getcount")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_texture2dgroup_getcount = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_texture2dgroup_getallpropertyids")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_texture2dgroup_getallpropertyids = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_texture2dgroup_addtex2coord")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(Tex2Coord), ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_texture2dgroup_addtex2coord = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_texture2dgroup_gettex2coord")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(Tex2Coord))
self.lib.lib3mf_texture2dgroup_gettex2coord = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_texture2dgroup_removetex2coord")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32)
self.lib.lib3mf_texture2dgroup_removetex2coord = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_texture2dgroup_gettexture2d")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_texture2dgroup_gettexture2d = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_compositematerials_getcount")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_compositematerials_getcount = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_compositematerials_getallpropertyids")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_compositematerials_getallpropertyids = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_compositematerials_getbasematerialgroup")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_compositematerials_getbasematerialgroup = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_compositematerials_addcomposite")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(CompositeConstituent), ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_compositematerials_addcomposite = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_compositematerials_removecomposite")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32)
self.lib.lib3mf_compositematerials_removecomposite = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_compositematerials_getcomposite")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(CompositeConstituent))
self.lib.lib3mf_compositematerials_getcomposite = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_multipropertygroup_getcount")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_multipropertygroup_getcount = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_multipropertygroup_getallpropertyids")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_multipropertygroup_getallpropertyids = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_multipropertygroup_addmultiproperty")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint32), ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_multipropertygroup_addmultiproperty = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_multipropertygroup_setmultiproperty")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_multipropertygroup_setmultiproperty = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_multipropertygroup_getmultiproperty")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_multipropertygroup_getmultiproperty = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_multipropertygroup_removemultiproperty")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32)
self.lib.lib3mf_multipropertygroup_removemultiproperty = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_multipropertygroup_getlayercount")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_multipropertygroup_getlayercount = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_multipropertygroup_addlayer")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(MultiPropertyLayer), ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_multipropertygroup_addlayer = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_multipropertygroup_getlayer")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(MultiPropertyLayer))
self.lib.lib3mf_multipropertygroup_getlayer = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_multipropertygroup_removelayer")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32)
self.lib.lib3mf_multipropertygroup_removelayer = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_attachment_getpath")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p)
self.lib.lib3mf_attachment_getpath = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_attachment_setpath")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_char_p)
self.lib.lib3mf_attachment_setpath = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_attachment_packagepart")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_attachment_packagepart = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_attachment_getrelationshiptype")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p)
self.lib.lib3mf_attachment_getrelationshiptype = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_attachment_setrelationshiptype")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_char_p)
self.lib.lib3mf_attachment_setrelationshiptype = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_attachment_writetofile")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_char_p)
self.lib.lib3mf_attachment_writetofile = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_attachment_readfromfile")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_char_p)
self.lib.lib3mf_attachment_readfromfile = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_attachment_readfromcallback")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ReadCallback, ctypes.c_uint64, SeekCallback, ctypes.c_void_p)
self.lib.lib3mf_attachment_readfromcallback = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_attachment_getstreamsize")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint64))
self.lib.lib3mf_attachment_getstreamsize = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_attachment_writetobuffer")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(ctypes.c_uint8))
self.lib.lib3mf_attachment_writetobuffer = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_attachment_readfrombuffer")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint8))
self.lib.lib3mf_attachment_readfrombuffer = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_texture2d_getattachment")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_texture2d_getattachment = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_texture2d_setattachment")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_void_p)
self.lib.lib3mf_texture2d_setattachment = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_texture2d_getcontenttype")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_int32))
self.lib.lib3mf_texture2d_getcontenttype = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_texture2d_setcontenttype")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, TextureType)
self.lib.lib3mf_texture2d_setcontenttype = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_texture2d_gettilestyleuv")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_int32), ctypes.POINTER(ctypes.c_int32))
self.lib.lib3mf_texture2d_gettilestyleuv = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_texture2d_settilestyleuv")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, TextureTileStyle, TextureTileStyle)
self.lib.lib3mf_texture2d_settilestyleuv = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_texture2d_getfilter")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_int32))
self.lib.lib3mf_texture2d_getfilter = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_texture2d_setfilter")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, TextureFilter)
self.lib.lib3mf_texture2d_setfilter = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_builditem_getobjectresource")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_builditem_getobjectresource = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_builditem_getuuid")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool), ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p)
self.lib.lib3mf_builditem_getuuid = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_builditem_setuuid")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_char_p)
self.lib.lib3mf_builditem_setuuid = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_builditem_getobjectresourceid")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_builditem_getobjectresourceid = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_builditem_hasobjecttransform")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool))
self.lib.lib3mf_builditem_hasobjecttransform = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_builditem_getobjecttransform")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(Transform))
self.lib.lib3mf_builditem_getobjecttransform = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_builditem_setobjecttransform")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(Transform))
self.lib.lib3mf_builditem_setobjecttransform = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_builditem_getpartnumber")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p)
self.lib.lib3mf_builditem_getpartnumber = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_builditem_setpartnumber")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_char_p)
self.lib.lib3mf_builditem_setpartnumber = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_builditem_getmetadatagroup")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_builditem_getmetadatagroup = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_builditem_getoutbox")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(Box))
self.lib.lib3mf_builditem_getoutbox = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_builditemiterator_movenext")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool))
self.lib.lib3mf_builditemiterator_movenext = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_builditemiterator_moveprevious")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool))
self.lib.lib3mf_builditemiterator_moveprevious = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_builditemiterator_getcurrent")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_builditemiterator_getcurrent = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_builditemiterator_clone")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_builditemiterator_clone = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_builditemiterator_count")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint64))
self.lib.lib3mf_builditemiterator_count = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_slice_setvertices")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(Position2D))
self.lib.lib3mf_slice_setvertices = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_slice_getvertices")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(Position2D))
self.lib.lib3mf_slice_getvertices = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_slice_getvertexcount")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint64))
self.lib.lib3mf_slice_getvertexcount = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_slice_addpolygon")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint32), ctypes.POINTER(ctypes.c_uint64))
self.lib.lib3mf_slice_addpolygon = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_slice_getpolygoncount")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint64))
self.lib.lib3mf_slice_getpolygoncount = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_slice_setpolygonindices")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_slice_setpolygonindices = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_slice_getpolygonindices")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_slice_getpolygonindices = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_slice_getpolygonindexcount")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64))
self.lib.lib3mf_slice_getpolygonindexcount = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_slice_getztop")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_double))
self.lib.lib3mf_slice_getztop = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_slicestack_getbottomz")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_double))
self.lib.lib3mf_slicestack_getbottomz = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_slicestack_getslicecount")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint64))
self.lib.lib3mf_slicestack_getslicecount = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_slicestack_getslice")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_slicestack_getslice = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_slicestack_addslice")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_double, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_slicestack_addslice = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_slicestack_getslicerefcount")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint64))
self.lib.lib3mf_slicestack_getslicerefcount = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_slicestack_addslicestackreference")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_void_p)
self.lib.lib3mf_slicestack_addslicestackreference = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_slicestack_getslicestackreference")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_slicestack_getslicestackreference = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_slicestack_collapseslicereferences")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p)
self.lib.lib3mf_slicestack_collapseslicereferences = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_slicestack_setownpath")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_char_p)
self.lib.lib3mf_slicestack_setownpath = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_slicestack_getownpath")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p)
self.lib.lib3mf_slicestack_getownpath = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_consumer_getconsumerid")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p)
self.lib.lib3mf_consumer_getconsumerid = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_consumer_getkeyid")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p)
self.lib.lib3mf_consumer_getkeyid = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_consumer_getkeyvalue")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p)
self.lib.lib3mf_consumer_getkeyvalue = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_accessright_getconsumer")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_accessright_getconsumer = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_accessright_getwrappingalgorithm")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_int32))
self.lib.lib3mf_accessright_getwrappingalgorithm = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_accessright_getmgfalgorithm")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_int32))
self.lib.lib3mf_accessright_getmgfalgorithm = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_accessright_getdigestmethod")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_int32))
self.lib.lib3mf_accessright_getdigestmethod = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_contentencryptionparams_getencryptionalgorithm")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_int32))
self.lib.lib3mf_contentencryptionparams_getencryptionalgorithm = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_contentencryptionparams_getkey")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(ctypes.c_uint8))
self.lib.lib3mf_contentencryptionparams_getkey = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_contentencryptionparams_getinitializationvector")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(ctypes.c_uint8))
self.lib.lib3mf_contentencryptionparams_getinitializationvector = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_contentencryptionparams_getauthenticationtag")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(ctypes.c_uint8))
self.lib.lib3mf_contentencryptionparams_getauthenticationtag = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_contentencryptionparams_setauthenticationtag")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint8))
self.lib.lib3mf_contentencryptionparams_setauthenticationtag = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_contentencryptionparams_getadditionalauthenticationdata")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(ctypes.c_uint8))
self.lib.lib3mf_contentencryptionparams_getadditionalauthenticationdata = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_contentencryptionparams_getdescriptor")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint64))
self.lib.lib3mf_contentencryptionparams_getdescriptor = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_contentencryptionparams_getkeyuuid")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p)
self.lib.lib3mf_contentencryptionparams_getkeyuuid = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_resourcedata_getpath")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_resourcedata_getpath = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_resourcedata_getencryptionalgorithm")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_int32))
self.lib.lib3mf_resourcedata_getencryptionalgorithm = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_resourcedata_getcompression")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_int32))
self.lib.lib3mf_resourcedata_getcompression = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_resourcedata_getadditionalauthenticationdata")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(ctypes.c_uint8))
self.lib.lib3mf_resourcedata_getadditionalauthenticationdata = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_resourcedatagroup_getkeyuuid")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p)
self.lib.lib3mf_resourcedatagroup_getkeyuuid = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_resourcedatagroup_addaccessright")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_void_p, WrappingAlgorithm, MgfAlgorithm, DigestMethod, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_resourcedatagroup_addaccessright = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_resourcedatagroup_findaccessrightbyconsumer")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_resourcedatagroup_findaccessrightbyconsumer = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_resourcedatagroup_removeaccessright")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_void_p)
self.lib.lib3mf_resourcedatagroup_removeaccessright = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_keystore_addconsumer")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_char_p, ctypes.c_char_p, ctypes.c_char_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_keystore_addconsumer = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_keystore_getconsumercount")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint64))
self.lib.lib3mf_keystore_getconsumercount = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_keystore_getconsumer")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_keystore_getconsumer = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_keystore_removeconsumer")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_void_p)
self.lib.lib3mf_keystore_removeconsumer = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_keystore_findconsumer")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_char_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_keystore_findconsumer = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_keystore_getresourcedatagroupcount")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint64))
self.lib.lib3mf_keystore_getresourcedatagroupcount = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_keystore_addresourcedatagroup")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_keystore_addresourcedatagroup = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_keystore_getresourcedatagroup")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_keystore_getresourcedatagroup = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_keystore_removeresourcedatagroup")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_void_p)
self.lib.lib3mf_keystore_removeresourcedatagroup = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_keystore_findresourcedatagroup")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_keystore_findresourcedatagroup = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_keystore_addresourcedata")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_void_p, ctypes.c_void_p, EncryptionAlgorithm, Compression, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint8), ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_keystore_addresourcedata = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_keystore_removeresourcedata")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_void_p)
self.lib.lib3mf_keystore_removeresourcedata = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_keystore_findresourcedata")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_keystore_findresourcedata = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_keystore_getresourcedatacount")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint64))
self.lib.lib3mf_keystore_getresourcedatacount = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_keystore_getresourcedata")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_keystore_getresourcedata = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_keystore_getuuid")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool), ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p)
self.lib.lib3mf_keystore_getuuid = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_keystore_setuuid")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_char_p)
self.lib.lib3mf_keystore_setuuid = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_rootmodelpart")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_rootmodelpart = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_findorcreatepackagepart")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_char_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_findorcreatepackagepart = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_setunit")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ModelUnit)
self.lib.lib3mf_model_setunit = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_getunit")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_int32))
self.lib.lib3mf_model_getunit = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_getlanguage")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p)
self.lib.lib3mf_model_getlanguage = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_setlanguage")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_char_p)
self.lib.lib3mf_model_setlanguage = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_querywriter")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_char_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_querywriter = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_queryreader")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_char_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_queryreader = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_gettexture2dbyid")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_gettexture2dbyid = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_getpropertytypebyid")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(ctypes.c_int32))
self.lib.lib3mf_model_getpropertytypebyid = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_getbasematerialgroupbyid")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_getbasematerialgroupbyid = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_gettexture2dgroupbyid")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_gettexture2dgroupbyid = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_getcompositematerialsbyid")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_getcompositematerialsbyid = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_getmultipropertygroupbyid")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_getmultipropertygroupbyid = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_getmeshobjectbyid")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_getmeshobjectbyid = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_getcomponentsobjectbyid")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_getcomponentsobjectbyid = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_getcolorgroupbyid")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_getcolorgroupbyid = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_getslicestackbyid")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_getslicestackbyid = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_getbuilduuid")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool), ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p)
self.lib.lib3mf_model_getbuilduuid = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_setbuilduuid")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_char_p)
self.lib.lib3mf_model_setbuilduuid = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_getbuilditems")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_getbuilditems = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_getoutbox")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(Box))
self.lib.lib3mf_model_getoutbox = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_getresources")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_getresources = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_getobjects")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_getobjects = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_getmeshobjects")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_getmeshobjects = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_getcomponentsobjects")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_getcomponentsobjects = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_gettexture2ds")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_gettexture2ds = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_getbasematerialgroups")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_getbasematerialgroups = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_getcolorgroups")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_getcolorgroups = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_gettexture2dgroups")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_gettexture2dgroups = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_getcompositematerials")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_getcompositematerials = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_getmultipropertygroups")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_getmultipropertygroups = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_getslicestacks")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_getslicestacks = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_mergetomodel")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_mergetomodel = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_addmeshobject")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_addmeshobject = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_addcomponentsobject")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_addcomponentsobject = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_addslicestack")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_double, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_addslicestack = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_addtexture2dfromattachment")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_addtexture2dfromattachment = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_addbasematerialgroup")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_addbasematerialgroup = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_addcolorgroup")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_addcolorgroup = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_addtexture2dgroup")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_addtexture2dgroup = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_addcompositematerials")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_addcompositematerials = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_addmultipropertygroup")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_addmultipropertygroup = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_addbuilditem")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_void_p, ctypes.POINTER(Transform), ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_addbuilditem = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_removebuilditem")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_void_p)
self.lib.lib3mf_model_removebuilditem = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_getmetadatagroup")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_getmetadatagroup = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_addattachment")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_char_p, ctypes.c_char_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_addattachment = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_removeattachment")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_void_p)
self.lib.lib3mf_model_removeattachment = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_getattachment")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_getattachment = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_findattachment")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_char_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_findattachment = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_getattachmentcount")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32))
self.lib.lib3mf_model_getattachmentcount = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_haspackagethumbnailattachment")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool))
self.lib.lib3mf_model_haspackagethumbnailattachment = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_createpackagethumbnailattachment")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_createpackagethumbnailattachment = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_getpackagethumbnailattachment")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_getpackagethumbnailattachment = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_removepackagethumbnailattachment")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p)
self.lib.lib3mf_model_removepackagethumbnailattachment = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_addcustomcontenttype")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_char_p, ctypes.c_char_p)
self.lib.lib3mf_model_addcustomcontenttype = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_removecustomcontenttype")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.c_char_p)
self.lib.lib3mf_model_removecustomcontenttype = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_setrandomnumbercallback")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, RandomNumberCallback, ctypes.c_void_p)
self.lib.lib3mf_model_setrandomnumbercallback = methodType(int(methodAddress.value))
err = symbolLookupMethod(ctypes.c_char_p(str.encode("lib3mf_model_getkeystore")), methodAddress)
if err != 0:
raise ELib3MFException(ErrorCodes.COULDNOTLOADLIBRARY, str(err))
methodType = ctypes.CFUNCTYPE(ctypes.c_int32, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p))
self.lib.lib3mf_model_getkeystore = methodType(int(methodAddress.value))
except AttributeError as ae:
raise ELib3MFException(ErrorCodes.COULDNOTFINDLIBRARYEXPORT, ae.args[0])
def _loadFunctionTable(self):
try:
self.lib.lib3mf_getlibraryversion.restype = ctypes.c_int32
self.lib.lib3mf_getlibraryversion.argtypes = [ctypes.POINTER(ctypes.c_uint32), ctypes.POINTER(ctypes.c_uint32), ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_getprereleaseinformation.restype = ctypes.c_int32
self.lib.lib3mf_getprereleaseinformation.argtypes = [ctypes.POINTER(ctypes.c_bool), ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p]
self.lib.lib3mf_getbuildinformation.restype = ctypes.c_int32
self.lib.lib3mf_getbuildinformation.argtypes = [ctypes.POINTER(ctypes.c_bool), ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p]
self.lib.lib3mf_getspecificationversion.restype = ctypes.c_int32
self.lib.lib3mf_getspecificationversion.argtypes = [ctypes.c_char_p, ctypes.POINTER(ctypes.c_bool), ctypes.POINTER(ctypes.c_uint32), ctypes.POINTER(ctypes.c_uint32), ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_createmodel.restype = ctypes.c_int32
self.lib.lib3mf_createmodel.argtypes = [ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_release.restype = ctypes.c_int32
self.lib.lib3mf_release.argtypes = [ctypes.c_void_p]
self.lib.lib3mf_acquire.restype = ctypes.c_int32
self.lib.lib3mf_acquire.argtypes = [ctypes.c_void_p]
self.lib.lib3mf_setjournal.restype = ctypes.c_int32
self.lib.lib3mf_setjournal.argtypes = [ctypes.c_char_p]
self.lib.lib3mf_getlasterror.restype = ctypes.c_int32
self.lib.lib3mf_getlasterror.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p, ctypes.POINTER(ctypes.c_bool)]
self.lib.lib3mf_getsymbollookupmethod.restype = ctypes.c_int32
self.lib.lib3mf_getsymbollookupmethod.argtypes = [ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_retrieveprogressmessage.restype = ctypes.c_int32
self.lib.lib3mf_retrieveprogressmessage.argtypes = [ProgressIdentifier, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p]
self.lib.lib3mf_rgbatocolor.restype = ctypes.c_int32
self.lib.lib3mf_rgbatocolor.argtypes = [ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8, ctypes.POINTER(Color)]
self.lib.lib3mf_floatrgbatocolor.restype = ctypes.c_int32
self.lib.lib3mf_floatrgbatocolor.argtypes = [ctypes.c_float, ctypes.c_float, ctypes.c_float, ctypes.c_float, ctypes.POINTER(Color)]
self.lib.lib3mf_colortorgba.restype = ctypes.c_int32
self.lib.lib3mf_colortorgba.argtypes = [ctypes.POINTER(Color), ctypes.POINTER(ctypes.c_uint8), ctypes.POINTER(ctypes.c_uint8), ctypes.POINTER(ctypes.c_uint8), ctypes.POINTER(ctypes.c_uint8)]
self.lib.lib3mf_colortofloatrgba.restype = ctypes.c_int32
self.lib.lib3mf_colortofloatrgba.argtypes = [ctypes.POINTER(Color), ctypes.POINTER(ctypes.c_float), ctypes.POINTER(ctypes.c_float), ctypes.POINTER(ctypes.c_float), ctypes.POINTER(ctypes.c_float)]
self.lib.lib3mf_getidentitytransform.restype = ctypes.c_int32
self.lib.lib3mf_getidentitytransform.argtypes = [ctypes.POINTER(Transform)]
self.lib.lib3mf_getuniformscaletransform.restype = ctypes.c_int32
self.lib.lib3mf_getuniformscaletransform.argtypes = [ctypes.c_float, ctypes.POINTER(Transform)]
self.lib.lib3mf_getscaletransform.restype = ctypes.c_int32
self.lib.lib3mf_getscaletransform.argtypes = [ctypes.c_float, ctypes.c_float, ctypes.c_float, ctypes.POINTER(Transform)]
self.lib.lib3mf_gettranslationtransform.restype = ctypes.c_int32
self.lib.lib3mf_gettranslationtransform.argtypes = [ctypes.c_float, ctypes.c_float, ctypes.c_float, ctypes.POINTER(Transform)]
self.lib.lib3mf_writer_writetofile.restype = ctypes.c_int32
self.lib.lib3mf_writer_writetofile.argtypes = [ctypes.c_void_p, ctypes.c_char_p]
self.lib.lib3mf_writer_getstreamsize.restype = ctypes.c_int32
self.lib.lib3mf_writer_getstreamsize.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint64)]
self.lib.lib3mf_writer_writetobuffer.restype = ctypes.c_int32
self.lib.lib3mf_writer_writetobuffer.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(ctypes.c_uint8)]
self.lib.lib3mf_writer_writetocallback.restype = ctypes.c_int32
self.lib.lib3mf_writer_writetocallback.argtypes = [ctypes.c_void_p, WriteCallback, SeekCallback, ctypes.c_void_p]
self.lib.lib3mf_writer_setprogresscallback.restype = ctypes.c_int32
self.lib.lib3mf_writer_setprogresscallback.argtypes = [ctypes.c_void_p, ProgressCallback, ctypes.c_void_p]
self.lib.lib3mf_writer_getdecimalprecision.restype = ctypes.c_int32
self.lib.lib3mf_writer_getdecimalprecision.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_writer_setdecimalprecision.restype = ctypes.c_int32
self.lib.lib3mf_writer_setdecimalprecision.argtypes = [ctypes.c_void_p, ctypes.c_uint32]
self.lib.lib3mf_writer_setstrictmodeactive.restype = ctypes.c_int32
self.lib.lib3mf_writer_setstrictmodeactive.argtypes = [ctypes.c_void_p, ctypes.c_bool]
self.lib.lib3mf_writer_getstrictmodeactive.restype = ctypes.c_int32
self.lib.lib3mf_writer_getstrictmodeactive.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool)]
self.lib.lib3mf_writer_getwarning.restype = ctypes.c_int32
self.lib.lib3mf_writer_getwarning.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(ctypes.c_uint32), ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p]
self.lib.lib3mf_writer_getwarningcount.restype = ctypes.c_int32
self.lib.lib3mf_writer_getwarningcount.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_writer_addkeywrappingcallback.restype = ctypes.c_int32
self.lib.lib3mf_writer_addkeywrappingcallback.argtypes = [ctypes.c_void_p, ctypes.c_char_p, KeyWrappingCallback, ctypes.c_void_p]
self.lib.lib3mf_writer_setcontentencryptioncallback.restype = ctypes.c_int32
self.lib.lib3mf_writer_setcontentencryptioncallback.argtypes = [ctypes.c_void_p, ContentEncryptionCallback, ctypes.c_void_p]
self.lib.lib3mf_reader_readfromfile.restype = ctypes.c_int32
self.lib.lib3mf_reader_readfromfile.argtypes = [ctypes.c_void_p, ctypes.c_char_p]
self.lib.lib3mf_reader_readfrombuffer.restype = ctypes.c_int32
self.lib.lib3mf_reader_readfrombuffer.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint8)]
self.lib.lib3mf_reader_readfromcallback.restype = ctypes.c_int32
self.lib.lib3mf_reader_readfromcallback.argtypes = [ctypes.c_void_p, ReadCallback, ctypes.c_uint64, SeekCallback, ctypes.c_void_p]
self.lib.lib3mf_reader_setprogresscallback.restype = ctypes.c_int32
self.lib.lib3mf_reader_setprogresscallback.argtypes = [ctypes.c_void_p, ProgressCallback, ctypes.c_void_p]
self.lib.lib3mf_reader_addrelationtoread.restype = ctypes.c_int32
self.lib.lib3mf_reader_addrelationtoread.argtypes = [ctypes.c_void_p, ctypes.c_char_p]
self.lib.lib3mf_reader_removerelationtoread.restype = ctypes.c_int32
self.lib.lib3mf_reader_removerelationtoread.argtypes = [ctypes.c_void_p, ctypes.c_char_p]
self.lib.lib3mf_reader_setstrictmodeactive.restype = ctypes.c_int32
self.lib.lib3mf_reader_setstrictmodeactive.argtypes = [ctypes.c_void_p, ctypes.c_bool]
self.lib.lib3mf_reader_getstrictmodeactive.restype = ctypes.c_int32
self.lib.lib3mf_reader_getstrictmodeactive.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool)]
self.lib.lib3mf_reader_getwarning.restype = ctypes.c_int32
self.lib.lib3mf_reader_getwarning.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(ctypes.c_uint32), ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p]
self.lib.lib3mf_reader_getwarningcount.restype = ctypes.c_int32
self.lib.lib3mf_reader_getwarningcount.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_reader_addkeywrappingcallback.restype = ctypes.c_int32
self.lib.lib3mf_reader_addkeywrappingcallback.argtypes = [ctypes.c_void_p, ctypes.c_char_p, KeyWrappingCallback, ctypes.c_void_p]
self.lib.lib3mf_reader_setcontentencryptioncallback.restype = ctypes.c_int32
self.lib.lib3mf_reader_setcontentencryptioncallback.argtypes = [ctypes.c_void_p, ContentEncryptionCallback, ctypes.c_void_p]
self.lib.lib3mf_packagepart_getpath.restype = ctypes.c_int32
self.lib.lib3mf_packagepart_getpath.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p]
self.lib.lib3mf_packagepart_setpath.restype = ctypes.c_int32
self.lib.lib3mf_packagepart_setpath.argtypes = [ctypes.c_void_p, ctypes.c_char_p]
self.lib.lib3mf_resource_getresourceid.restype = ctypes.c_int32
self.lib.lib3mf_resource_getresourceid.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_resource_getuniqueresourceid.restype = ctypes.c_int32
self.lib.lib3mf_resource_getuniqueresourceid.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_resource_packagepart.restype = ctypes.c_int32
self.lib.lib3mf_resource_packagepart.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_resource_setpackagepart.restype = ctypes.c_int32
self.lib.lib3mf_resource_setpackagepart.argtypes = [ctypes.c_void_p, ctypes.c_void_p]
self.lib.lib3mf_resource_getmodelresourceid.restype = ctypes.c_int32
self.lib.lib3mf_resource_getmodelresourceid.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_resourceiterator_movenext.restype = ctypes.c_int32
self.lib.lib3mf_resourceiterator_movenext.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool)]
self.lib.lib3mf_resourceiterator_moveprevious.restype = ctypes.c_int32
self.lib.lib3mf_resourceiterator_moveprevious.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool)]
self.lib.lib3mf_resourceiterator_getcurrent.restype = ctypes.c_int32
self.lib.lib3mf_resourceiterator_getcurrent.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_resourceiterator_clone.restype = ctypes.c_int32
self.lib.lib3mf_resourceiterator_clone.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_resourceiterator_count.restype = ctypes.c_int32
self.lib.lib3mf_resourceiterator_count.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint64)]
self.lib.lib3mf_slicestackiterator_getcurrentslicestack.restype = ctypes.c_int32
self.lib.lib3mf_slicestackiterator_getcurrentslicestack.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_objectiterator_getcurrentobject.restype = ctypes.c_int32
self.lib.lib3mf_objectiterator_getcurrentobject.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_meshobjectiterator_getcurrentmeshobject.restype = ctypes.c_int32
self.lib.lib3mf_meshobjectiterator_getcurrentmeshobject.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_componentsobjectiterator_getcurrentcomponentsobject.restype = ctypes.c_int32
self.lib.lib3mf_componentsobjectiterator_getcurrentcomponentsobject.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_texture2diterator_getcurrenttexture2d.restype = ctypes.c_int32
self.lib.lib3mf_texture2diterator_getcurrenttexture2d.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_basematerialgroupiterator_getcurrentbasematerialgroup.restype = ctypes.c_int32
self.lib.lib3mf_basematerialgroupiterator_getcurrentbasematerialgroup.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_colorgroupiterator_getcurrentcolorgroup.restype = ctypes.c_int32
self.lib.lib3mf_colorgroupiterator_getcurrentcolorgroup.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_texture2dgroupiterator_getcurrenttexture2dgroup.restype = ctypes.c_int32
self.lib.lib3mf_texture2dgroupiterator_getcurrenttexture2dgroup.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_compositematerialsiterator_getcurrentcompositematerials.restype = ctypes.c_int32
self.lib.lib3mf_compositematerialsiterator_getcurrentcompositematerials.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_multipropertygroupiterator_getcurrentmultipropertygroup.restype = ctypes.c_int32
self.lib.lib3mf_multipropertygroupiterator_getcurrentmultipropertygroup.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_metadata_getnamespace.restype = ctypes.c_int32
self.lib.lib3mf_metadata_getnamespace.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p]
self.lib.lib3mf_metadata_setnamespace.restype = ctypes.c_int32
self.lib.lib3mf_metadata_setnamespace.argtypes = [ctypes.c_void_p, ctypes.c_char_p]
self.lib.lib3mf_metadata_getname.restype = ctypes.c_int32
self.lib.lib3mf_metadata_getname.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p]
self.lib.lib3mf_metadata_setname.restype = ctypes.c_int32
self.lib.lib3mf_metadata_setname.argtypes = [ctypes.c_void_p, ctypes.c_char_p]
self.lib.lib3mf_metadata_getkey.restype = ctypes.c_int32
self.lib.lib3mf_metadata_getkey.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p]
self.lib.lib3mf_metadata_getmustpreserve.restype = ctypes.c_int32
self.lib.lib3mf_metadata_getmustpreserve.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool)]
self.lib.lib3mf_metadata_setmustpreserve.restype = ctypes.c_int32
self.lib.lib3mf_metadata_setmustpreserve.argtypes = [ctypes.c_void_p, ctypes.c_bool]
self.lib.lib3mf_metadata_gettype.restype = ctypes.c_int32
self.lib.lib3mf_metadata_gettype.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p]
self.lib.lib3mf_metadata_settype.restype = ctypes.c_int32
self.lib.lib3mf_metadata_settype.argtypes = [ctypes.c_void_p, ctypes.c_char_p]
self.lib.lib3mf_metadata_getvalue.restype = ctypes.c_int32
self.lib.lib3mf_metadata_getvalue.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p]
self.lib.lib3mf_metadata_setvalue.restype = ctypes.c_int32
self.lib.lib3mf_metadata_setvalue.argtypes = [ctypes.c_void_p, ctypes.c_char_p]
self.lib.lib3mf_metadatagroup_getmetadatacount.restype = ctypes.c_int32
self.lib.lib3mf_metadatagroup_getmetadatacount.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_metadatagroup_getmetadata.restype = ctypes.c_int32
self.lib.lib3mf_metadatagroup_getmetadata.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_metadatagroup_getmetadatabykey.restype = ctypes.c_int32
self.lib.lib3mf_metadatagroup_getmetadatabykey.argtypes = [ctypes.c_void_p, ctypes.c_char_p, ctypes.c_char_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_metadatagroup_removemetadatabyindex.restype = ctypes.c_int32
self.lib.lib3mf_metadatagroup_removemetadatabyindex.argtypes = [ctypes.c_void_p, ctypes.c_uint32]
self.lib.lib3mf_metadatagroup_removemetadata.restype = ctypes.c_int32
self.lib.lib3mf_metadatagroup_removemetadata.argtypes = [ctypes.c_void_p, ctypes.c_void_p]
self.lib.lib3mf_metadatagroup_addmetadata.restype = ctypes.c_int32
self.lib.lib3mf_metadatagroup_addmetadata.argtypes = [ctypes.c_void_p, ctypes.c_char_p, ctypes.c_char_p, ctypes.c_char_p, ctypes.c_char_p, ctypes.c_bool, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_object_gettype.restype = ctypes.c_int32
self.lib.lib3mf_object_gettype.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_int32)]
self.lib.lib3mf_object_settype.restype = ctypes.c_int32
self.lib.lib3mf_object_settype.argtypes = [ctypes.c_void_p, ObjectType]
self.lib.lib3mf_object_getname.restype = ctypes.c_int32
self.lib.lib3mf_object_getname.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p]
self.lib.lib3mf_object_setname.restype = ctypes.c_int32
self.lib.lib3mf_object_setname.argtypes = [ctypes.c_void_p, ctypes.c_char_p]
self.lib.lib3mf_object_getpartnumber.restype = ctypes.c_int32
self.lib.lib3mf_object_getpartnumber.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p]
self.lib.lib3mf_object_setpartnumber.restype = ctypes.c_int32
self.lib.lib3mf_object_setpartnumber.argtypes = [ctypes.c_void_p, ctypes.c_char_p]
self.lib.lib3mf_object_ismeshobject.restype = ctypes.c_int32
self.lib.lib3mf_object_ismeshobject.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool)]
self.lib.lib3mf_object_iscomponentsobject.restype = ctypes.c_int32
self.lib.lib3mf_object_iscomponentsobject.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool)]
self.lib.lib3mf_object_isvalid.restype = ctypes.c_int32
self.lib.lib3mf_object_isvalid.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool)]
self.lib.lib3mf_object_setattachmentasthumbnail.restype = ctypes.c_int32
self.lib.lib3mf_object_setattachmentasthumbnail.argtypes = [ctypes.c_void_p, ctypes.c_void_p]
self.lib.lib3mf_object_getthumbnailattachment.restype = ctypes.c_int32
self.lib.lib3mf_object_getthumbnailattachment.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_object_clearthumbnailattachment.restype = ctypes.c_int32
self.lib.lib3mf_object_clearthumbnailattachment.argtypes = [ctypes.c_void_p]
self.lib.lib3mf_object_getoutbox.restype = ctypes.c_int32
self.lib.lib3mf_object_getoutbox.argtypes = [ctypes.c_void_p, ctypes.POINTER(Box)]
self.lib.lib3mf_object_getuuid.restype = ctypes.c_int32
self.lib.lib3mf_object_getuuid.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool), ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p]
self.lib.lib3mf_object_setuuid.restype = ctypes.c_int32
self.lib.lib3mf_object_setuuid.argtypes = [ctypes.c_void_p, ctypes.c_char_p]
self.lib.lib3mf_object_getmetadatagroup.restype = ctypes.c_int32
self.lib.lib3mf_object_getmetadatagroup.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_object_setslicesmeshresolution.restype = ctypes.c_int32
self.lib.lib3mf_object_setslicesmeshresolution.argtypes = [ctypes.c_void_p, SlicesMeshResolution]
self.lib.lib3mf_object_getslicesmeshresolution.restype = ctypes.c_int32
self.lib.lib3mf_object_getslicesmeshresolution.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_int32)]
self.lib.lib3mf_object_hasslices.restype = ctypes.c_int32
self.lib.lib3mf_object_hasslices.argtypes = [ctypes.c_void_p, ctypes.c_bool, ctypes.POINTER(ctypes.c_bool)]
self.lib.lib3mf_object_clearslicestack.restype = ctypes.c_int32
self.lib.lib3mf_object_clearslicestack.argtypes = [ctypes.c_void_p]
self.lib.lib3mf_object_getslicestack.restype = ctypes.c_int32
self.lib.lib3mf_object_getslicestack.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_object_assignslicestack.restype = ctypes.c_int32
self.lib.lib3mf_object_assignslicestack.argtypes = [ctypes.c_void_p, ctypes.c_void_p]
self.lib.lib3mf_meshobject_getvertexcount.restype = ctypes.c_int32
self.lib.lib3mf_meshobject_getvertexcount.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_meshobject_gettrianglecount.restype = ctypes.c_int32
self.lib.lib3mf_meshobject_gettrianglecount.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_meshobject_getvertex.restype = ctypes.c_int32
self.lib.lib3mf_meshobject_getvertex.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(Position)]
self.lib.lib3mf_meshobject_setvertex.restype = ctypes.c_int32
self.lib.lib3mf_meshobject_setvertex.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(Position)]
self.lib.lib3mf_meshobject_addvertex.restype = ctypes.c_int32
self.lib.lib3mf_meshobject_addvertex.argtypes = [ctypes.c_void_p, ctypes.POINTER(Position), ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_meshobject_getvertices.restype = ctypes.c_int32
self.lib.lib3mf_meshobject_getvertices.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(Position)]
self.lib.lib3mf_meshobject_gettriangle.restype = ctypes.c_int32
self.lib.lib3mf_meshobject_gettriangle.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(Triangle)]
self.lib.lib3mf_meshobject_settriangle.restype = ctypes.c_int32
self.lib.lib3mf_meshobject_settriangle.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(Triangle)]
self.lib.lib3mf_meshobject_addtriangle.restype = ctypes.c_int32
self.lib.lib3mf_meshobject_addtriangle.argtypes = [ctypes.c_void_p, ctypes.POINTER(Triangle), ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_meshobject_gettriangleindices.restype = ctypes.c_int32
self.lib.lib3mf_meshobject_gettriangleindices.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(Triangle)]
self.lib.lib3mf_meshobject_setobjectlevelproperty.restype = ctypes.c_int32
self.lib.lib3mf_meshobject_setobjectlevelproperty.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.c_uint32]
self.lib.lib3mf_meshobject_getobjectlevelproperty.restype = ctypes.c_int32
self.lib.lib3mf_meshobject_getobjectlevelproperty.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32), ctypes.POINTER(ctypes.c_uint32), ctypes.POINTER(ctypes.c_bool)]
self.lib.lib3mf_meshobject_settriangleproperties.restype = ctypes.c_int32
self.lib.lib3mf_meshobject_settriangleproperties.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(TriangleProperties)]
self.lib.lib3mf_meshobject_gettriangleproperties.restype = ctypes.c_int32
self.lib.lib3mf_meshobject_gettriangleproperties.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(TriangleProperties)]
self.lib.lib3mf_meshobject_setalltriangleproperties.restype = ctypes.c_int32
self.lib.lib3mf_meshobject_setalltriangleproperties.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(TriangleProperties)]
self.lib.lib3mf_meshobject_getalltriangleproperties.restype = ctypes.c_int32
self.lib.lib3mf_meshobject_getalltriangleproperties.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(TriangleProperties)]
self.lib.lib3mf_meshobject_clearallproperties.restype = ctypes.c_int32
self.lib.lib3mf_meshobject_clearallproperties.argtypes = [ctypes.c_void_p]
self.lib.lib3mf_meshobject_setgeometry.restype = ctypes.c_int32
self.lib.lib3mf_meshobject_setgeometry.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(Position), ctypes.c_uint64, ctypes.POINTER(Triangle)]
self.lib.lib3mf_meshobject_ismanifoldandoriented.restype = ctypes.c_int32
self.lib.lib3mf_meshobject_ismanifoldandoriented.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool)]
self.lib.lib3mf_meshobject_beamlattice.restype = ctypes.c_int32
self.lib.lib3mf_meshobject_beamlattice.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_beamlattice_getminlength.restype = ctypes.c_int32
self.lib.lib3mf_beamlattice_getminlength.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_double)]
self.lib.lib3mf_beamlattice_setminlength.restype = ctypes.c_int32
self.lib.lib3mf_beamlattice_setminlength.argtypes = [ctypes.c_void_p, ctypes.c_double]
self.lib.lib3mf_beamlattice_getclipping.restype = ctypes.c_int32
self.lib.lib3mf_beamlattice_getclipping.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_int32), ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_beamlattice_setclipping.restype = ctypes.c_int32
self.lib.lib3mf_beamlattice_setclipping.argtypes = [ctypes.c_void_p, BeamLatticeClipMode, ctypes.c_uint32]
self.lib.lib3mf_beamlattice_getrepresentation.restype = ctypes.c_int32
self.lib.lib3mf_beamlattice_getrepresentation.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool), ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_beamlattice_setrepresentation.restype = ctypes.c_int32
self.lib.lib3mf_beamlattice_setrepresentation.argtypes = [ctypes.c_void_p, ctypes.c_uint32]
self.lib.lib3mf_beamlattice_getballoptions.restype = ctypes.c_int32
self.lib.lib3mf_beamlattice_getballoptions.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_int32), ctypes.POINTER(ctypes.c_double)]
self.lib.lib3mf_beamlattice_setballoptions.restype = ctypes.c_int32
self.lib.lib3mf_beamlattice_setballoptions.argtypes = [ctypes.c_void_p, BeamLatticeBallMode, ctypes.c_double]
self.lib.lib3mf_beamlattice_getbeamcount.restype = ctypes.c_int32
self.lib.lib3mf_beamlattice_getbeamcount.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_beamlattice_getbeam.restype = ctypes.c_int32
self.lib.lib3mf_beamlattice_getbeam.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(Beam)]
self.lib.lib3mf_beamlattice_addbeam.restype = ctypes.c_int32
self.lib.lib3mf_beamlattice_addbeam.argtypes = [ctypes.c_void_p, ctypes.POINTER(Beam), ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_beamlattice_setbeam.restype = ctypes.c_int32
self.lib.lib3mf_beamlattice_setbeam.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(Beam)]
self.lib.lib3mf_beamlattice_setbeams.restype = ctypes.c_int32
self.lib.lib3mf_beamlattice_setbeams.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(Beam)]
self.lib.lib3mf_beamlattice_getbeams.restype = ctypes.c_int32
self.lib.lib3mf_beamlattice_getbeams.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(Beam)]
self.lib.lib3mf_beamlattice_getballcount.restype = ctypes.c_int32
self.lib.lib3mf_beamlattice_getballcount.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_beamlattice_getball.restype = ctypes.c_int32
self.lib.lib3mf_beamlattice_getball.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(Ball)]
self.lib.lib3mf_beamlattice_addball.restype = ctypes.c_int32
self.lib.lib3mf_beamlattice_addball.argtypes = [ctypes.c_void_p, ctypes.POINTER(Ball), ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_beamlattice_setball.restype = ctypes.c_int32
self.lib.lib3mf_beamlattice_setball.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(Ball)]
self.lib.lib3mf_beamlattice_setballs.restype = ctypes.c_int32
self.lib.lib3mf_beamlattice_setballs.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(Ball)]
self.lib.lib3mf_beamlattice_getballs.restype = ctypes.c_int32
self.lib.lib3mf_beamlattice_getballs.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(Ball)]
self.lib.lib3mf_beamlattice_getbeamsetcount.restype = ctypes.c_int32
self.lib.lib3mf_beamlattice_getbeamsetcount.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_beamlattice_addbeamset.restype = ctypes.c_int32
self.lib.lib3mf_beamlattice_addbeamset.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_beamlattice_getbeamset.restype = ctypes.c_int32
self.lib.lib3mf_beamlattice_getbeamset.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_component_getobjectresource.restype = ctypes.c_int32
self.lib.lib3mf_component_getobjectresource.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_component_getobjectresourceid.restype = ctypes.c_int32
self.lib.lib3mf_component_getobjectresourceid.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_component_getuuid.restype = ctypes.c_int32
self.lib.lib3mf_component_getuuid.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool), ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p]
self.lib.lib3mf_component_setuuid.restype = ctypes.c_int32
self.lib.lib3mf_component_setuuid.argtypes = [ctypes.c_void_p, ctypes.c_char_p]
self.lib.lib3mf_component_hastransform.restype = ctypes.c_int32
self.lib.lib3mf_component_hastransform.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool)]
self.lib.lib3mf_component_gettransform.restype = ctypes.c_int32
self.lib.lib3mf_component_gettransform.argtypes = [ctypes.c_void_p, ctypes.POINTER(Transform)]
self.lib.lib3mf_component_settransform.restype = ctypes.c_int32
self.lib.lib3mf_component_settransform.argtypes = [ctypes.c_void_p, ctypes.POINTER(Transform)]
self.lib.lib3mf_componentsobject_addcomponent.restype = ctypes.c_int32
self.lib.lib3mf_componentsobject_addcomponent.argtypes = [ctypes.c_void_p, ctypes.c_void_p, ctypes.POINTER(Transform), ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_componentsobject_getcomponent.restype = ctypes.c_int32
self.lib.lib3mf_componentsobject_getcomponent.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_componentsobject_getcomponentcount.restype = ctypes.c_int32
self.lib.lib3mf_componentsobject_getcomponentcount.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_beamset_setname.restype = ctypes.c_int32
self.lib.lib3mf_beamset_setname.argtypes = [ctypes.c_void_p, ctypes.c_char_p]
self.lib.lib3mf_beamset_getname.restype = ctypes.c_int32
self.lib.lib3mf_beamset_getname.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p]
self.lib.lib3mf_beamset_setidentifier.restype = ctypes.c_int32
self.lib.lib3mf_beamset_setidentifier.argtypes = [ctypes.c_void_p, ctypes.c_char_p]
self.lib.lib3mf_beamset_getidentifier.restype = ctypes.c_int32
self.lib.lib3mf_beamset_getidentifier.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p]
self.lib.lib3mf_beamset_getreferencecount.restype = ctypes.c_int32
self.lib.lib3mf_beamset_getreferencecount.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_beamset_setreferences.restype = ctypes.c_int32
self.lib.lib3mf_beamset_setreferences.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_beamset_getreferences.restype = ctypes.c_int32
self.lib.lib3mf_beamset_getreferences.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_beamset_getballreferencecount.restype = ctypes.c_int32
self.lib.lib3mf_beamset_getballreferencecount.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_beamset_setballreferences.restype = ctypes.c_int32
self.lib.lib3mf_beamset_setballreferences.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_beamset_getballreferences.restype = ctypes.c_int32
self.lib.lib3mf_beamset_getballreferences.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_basematerialgroup_getcount.restype = ctypes.c_int32
self.lib.lib3mf_basematerialgroup_getcount.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_basematerialgroup_getallpropertyids.restype = ctypes.c_int32
self.lib.lib3mf_basematerialgroup_getallpropertyids.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_basematerialgroup_addmaterial.restype = ctypes.c_int32
self.lib.lib3mf_basematerialgroup_addmaterial.argtypes = [ctypes.c_void_p, ctypes.c_char_p, ctypes.POINTER(Color), ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_basematerialgroup_removematerial.restype = ctypes.c_int32
self.lib.lib3mf_basematerialgroup_removematerial.argtypes = [ctypes.c_void_p, ctypes.c_uint32]
self.lib.lib3mf_basematerialgroup_getname.restype = ctypes.c_int32
self.lib.lib3mf_basematerialgroup_getname.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p]
self.lib.lib3mf_basematerialgroup_setname.restype = ctypes.c_int32
self.lib.lib3mf_basematerialgroup_setname.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.c_char_p]
self.lib.lib3mf_basematerialgroup_setdisplaycolor.restype = ctypes.c_int32
self.lib.lib3mf_basematerialgroup_setdisplaycolor.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(Color)]
self.lib.lib3mf_basematerialgroup_getdisplaycolor.restype = ctypes.c_int32
self.lib.lib3mf_basematerialgroup_getdisplaycolor.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(Color)]
self.lib.lib3mf_colorgroup_getcount.restype = ctypes.c_int32
self.lib.lib3mf_colorgroup_getcount.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_colorgroup_getallpropertyids.restype = ctypes.c_int32
self.lib.lib3mf_colorgroup_getallpropertyids.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_colorgroup_addcolor.restype = ctypes.c_int32
self.lib.lib3mf_colorgroup_addcolor.argtypes = [ctypes.c_void_p, ctypes.POINTER(Color), ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_colorgroup_removecolor.restype = ctypes.c_int32
self.lib.lib3mf_colorgroup_removecolor.argtypes = [ctypes.c_void_p, ctypes.c_uint32]
self.lib.lib3mf_colorgroup_setcolor.restype = ctypes.c_int32
self.lib.lib3mf_colorgroup_setcolor.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(Color)]
self.lib.lib3mf_colorgroup_getcolor.restype = ctypes.c_int32
self.lib.lib3mf_colorgroup_getcolor.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(Color)]
self.lib.lib3mf_texture2dgroup_getcount.restype = ctypes.c_int32
self.lib.lib3mf_texture2dgroup_getcount.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_texture2dgroup_getallpropertyids.restype = ctypes.c_int32
self.lib.lib3mf_texture2dgroup_getallpropertyids.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_texture2dgroup_addtex2coord.restype = ctypes.c_int32
self.lib.lib3mf_texture2dgroup_addtex2coord.argtypes = [ctypes.c_void_p, ctypes.POINTER(Tex2Coord), ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_texture2dgroup_gettex2coord.restype = ctypes.c_int32
self.lib.lib3mf_texture2dgroup_gettex2coord.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(Tex2Coord)]
self.lib.lib3mf_texture2dgroup_removetex2coord.restype = ctypes.c_int32
self.lib.lib3mf_texture2dgroup_removetex2coord.argtypes = [ctypes.c_void_p, ctypes.c_uint32]
self.lib.lib3mf_texture2dgroup_gettexture2d.restype = ctypes.c_int32
self.lib.lib3mf_texture2dgroup_gettexture2d.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_compositematerials_getcount.restype = ctypes.c_int32
self.lib.lib3mf_compositematerials_getcount.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_compositematerials_getallpropertyids.restype = ctypes.c_int32
self.lib.lib3mf_compositematerials_getallpropertyids.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_compositematerials_getbasematerialgroup.restype = ctypes.c_int32
self.lib.lib3mf_compositematerials_getbasematerialgroup.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_compositematerials_addcomposite.restype = ctypes.c_int32
self.lib.lib3mf_compositematerials_addcomposite.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(CompositeConstituent), ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_compositematerials_removecomposite.restype = ctypes.c_int32
self.lib.lib3mf_compositematerials_removecomposite.argtypes = [ctypes.c_void_p, ctypes.c_uint32]
self.lib.lib3mf_compositematerials_getcomposite.restype = ctypes.c_int32
self.lib.lib3mf_compositematerials_getcomposite.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(CompositeConstituent)]
self.lib.lib3mf_multipropertygroup_getcount.restype = ctypes.c_int32
self.lib.lib3mf_multipropertygroup_getcount.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_multipropertygroup_getallpropertyids.restype = ctypes.c_int32
self.lib.lib3mf_multipropertygroup_getallpropertyids.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_multipropertygroup_addmultiproperty.restype = ctypes.c_int32
self.lib.lib3mf_multipropertygroup_addmultiproperty.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint32), ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_multipropertygroup_setmultiproperty.restype = ctypes.c_int32
self.lib.lib3mf_multipropertygroup_setmultiproperty.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_multipropertygroup_getmultiproperty.restype = ctypes.c_int32
self.lib.lib3mf_multipropertygroup_getmultiproperty.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_multipropertygroup_removemultiproperty.restype = ctypes.c_int32
self.lib.lib3mf_multipropertygroup_removemultiproperty.argtypes = [ctypes.c_void_p, ctypes.c_uint32]
self.lib.lib3mf_multipropertygroup_getlayercount.restype = ctypes.c_int32
self.lib.lib3mf_multipropertygroup_getlayercount.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_multipropertygroup_addlayer.restype = ctypes.c_int32
self.lib.lib3mf_multipropertygroup_addlayer.argtypes = [ctypes.c_void_p, ctypes.POINTER(MultiPropertyLayer), ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_multipropertygroup_getlayer.restype = ctypes.c_int32
self.lib.lib3mf_multipropertygroup_getlayer.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(MultiPropertyLayer)]
self.lib.lib3mf_multipropertygroup_removelayer.restype = ctypes.c_int32
self.lib.lib3mf_multipropertygroup_removelayer.argtypes = [ctypes.c_void_p, ctypes.c_uint32]
self.lib.lib3mf_attachment_getpath.restype = ctypes.c_int32
self.lib.lib3mf_attachment_getpath.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p]
self.lib.lib3mf_attachment_setpath.restype = ctypes.c_int32
self.lib.lib3mf_attachment_setpath.argtypes = [ctypes.c_void_p, ctypes.c_char_p]
self.lib.lib3mf_attachment_packagepart.restype = ctypes.c_int32
self.lib.lib3mf_attachment_packagepart.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_attachment_getrelationshiptype.restype = ctypes.c_int32
self.lib.lib3mf_attachment_getrelationshiptype.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p]
self.lib.lib3mf_attachment_setrelationshiptype.restype = ctypes.c_int32
self.lib.lib3mf_attachment_setrelationshiptype.argtypes = [ctypes.c_void_p, ctypes.c_char_p]
self.lib.lib3mf_attachment_writetofile.restype = ctypes.c_int32
self.lib.lib3mf_attachment_writetofile.argtypes = [ctypes.c_void_p, ctypes.c_char_p]
self.lib.lib3mf_attachment_readfromfile.restype = ctypes.c_int32
self.lib.lib3mf_attachment_readfromfile.argtypes = [ctypes.c_void_p, ctypes.c_char_p]
self.lib.lib3mf_attachment_readfromcallback.restype = ctypes.c_int32
self.lib.lib3mf_attachment_readfromcallback.argtypes = [ctypes.c_void_p, ReadCallback, ctypes.c_uint64, SeekCallback, ctypes.c_void_p]
self.lib.lib3mf_attachment_getstreamsize.restype = ctypes.c_int32
self.lib.lib3mf_attachment_getstreamsize.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint64)]
self.lib.lib3mf_attachment_writetobuffer.restype = ctypes.c_int32
self.lib.lib3mf_attachment_writetobuffer.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(ctypes.c_uint8)]
self.lib.lib3mf_attachment_readfrombuffer.restype = ctypes.c_int32
self.lib.lib3mf_attachment_readfrombuffer.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint8)]
self.lib.lib3mf_texture2d_getattachment.restype = ctypes.c_int32
self.lib.lib3mf_texture2d_getattachment.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_texture2d_setattachment.restype = ctypes.c_int32
self.lib.lib3mf_texture2d_setattachment.argtypes = [ctypes.c_void_p, ctypes.c_void_p]
self.lib.lib3mf_texture2d_getcontenttype.restype = ctypes.c_int32
self.lib.lib3mf_texture2d_getcontenttype.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_int32)]
self.lib.lib3mf_texture2d_setcontenttype.restype = ctypes.c_int32
self.lib.lib3mf_texture2d_setcontenttype.argtypes = [ctypes.c_void_p, TextureType]
self.lib.lib3mf_texture2d_gettilestyleuv.restype = ctypes.c_int32
self.lib.lib3mf_texture2d_gettilestyleuv.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_int32), ctypes.POINTER(ctypes.c_int32)]
self.lib.lib3mf_texture2d_settilestyleuv.restype = ctypes.c_int32
self.lib.lib3mf_texture2d_settilestyleuv.argtypes = [ctypes.c_void_p, TextureTileStyle, TextureTileStyle]
self.lib.lib3mf_texture2d_getfilter.restype = ctypes.c_int32
self.lib.lib3mf_texture2d_getfilter.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_int32)]
self.lib.lib3mf_texture2d_setfilter.restype = ctypes.c_int32
self.lib.lib3mf_texture2d_setfilter.argtypes = [ctypes.c_void_p, TextureFilter]
self.lib.lib3mf_builditem_getobjectresource.restype = ctypes.c_int32
self.lib.lib3mf_builditem_getobjectresource.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_builditem_getuuid.restype = ctypes.c_int32
self.lib.lib3mf_builditem_getuuid.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool), ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p]
self.lib.lib3mf_builditem_setuuid.restype = ctypes.c_int32
self.lib.lib3mf_builditem_setuuid.argtypes = [ctypes.c_void_p, ctypes.c_char_p]
self.lib.lib3mf_builditem_getobjectresourceid.restype = ctypes.c_int32
self.lib.lib3mf_builditem_getobjectresourceid.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_builditem_hasobjecttransform.restype = ctypes.c_int32
self.lib.lib3mf_builditem_hasobjecttransform.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool)]
self.lib.lib3mf_builditem_getobjecttransform.restype = ctypes.c_int32
self.lib.lib3mf_builditem_getobjecttransform.argtypes = [ctypes.c_void_p, ctypes.POINTER(Transform)]
self.lib.lib3mf_builditem_setobjecttransform.restype = ctypes.c_int32
self.lib.lib3mf_builditem_setobjecttransform.argtypes = [ctypes.c_void_p, ctypes.POINTER(Transform)]
self.lib.lib3mf_builditem_getpartnumber.restype = ctypes.c_int32
self.lib.lib3mf_builditem_getpartnumber.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p]
self.lib.lib3mf_builditem_setpartnumber.restype = ctypes.c_int32
self.lib.lib3mf_builditem_setpartnumber.argtypes = [ctypes.c_void_p, ctypes.c_char_p]
self.lib.lib3mf_builditem_getmetadatagroup.restype = ctypes.c_int32
self.lib.lib3mf_builditem_getmetadatagroup.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_builditem_getoutbox.restype = ctypes.c_int32
self.lib.lib3mf_builditem_getoutbox.argtypes = [ctypes.c_void_p, ctypes.POINTER(Box)]
self.lib.lib3mf_builditemiterator_movenext.restype = ctypes.c_int32
self.lib.lib3mf_builditemiterator_movenext.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool)]
self.lib.lib3mf_builditemiterator_moveprevious.restype = ctypes.c_int32
self.lib.lib3mf_builditemiterator_moveprevious.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool)]
self.lib.lib3mf_builditemiterator_getcurrent.restype = ctypes.c_int32
self.lib.lib3mf_builditemiterator_getcurrent.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_builditemiterator_clone.restype = ctypes.c_int32
self.lib.lib3mf_builditemiterator_clone.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_builditemiterator_count.restype = ctypes.c_int32
self.lib.lib3mf_builditemiterator_count.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint64)]
self.lib.lib3mf_slice_setvertices.restype = ctypes.c_int32
self.lib.lib3mf_slice_setvertices.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(Position2D)]
self.lib.lib3mf_slice_getvertices.restype = ctypes.c_int32
self.lib.lib3mf_slice_getvertices.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(Position2D)]
self.lib.lib3mf_slice_getvertexcount.restype = ctypes.c_int32
self.lib.lib3mf_slice_getvertexcount.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint64)]
self.lib.lib3mf_slice_addpolygon.restype = ctypes.c_int32
self.lib.lib3mf_slice_addpolygon.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint32), ctypes.POINTER(ctypes.c_uint64)]
self.lib.lib3mf_slice_getpolygoncount.restype = ctypes.c_int32
self.lib.lib3mf_slice_getpolygoncount.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint64)]
self.lib.lib3mf_slice_setpolygonindices.restype = ctypes.c_int32
self.lib.lib3mf_slice_setpolygonindices.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_slice_getpolygonindices.restype = ctypes.c_int32
self.lib.lib3mf_slice_getpolygonindices.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_slice_getpolygonindexcount.restype = ctypes.c_int32
self.lib.lib3mf_slice_getpolygonindexcount.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64)]
self.lib.lib3mf_slice_getztop.restype = ctypes.c_int32
self.lib.lib3mf_slice_getztop.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_double)]
self.lib.lib3mf_slicestack_getbottomz.restype = ctypes.c_int32
self.lib.lib3mf_slicestack_getbottomz.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_double)]
self.lib.lib3mf_slicestack_getslicecount.restype = ctypes.c_int32
self.lib.lib3mf_slicestack_getslicecount.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint64)]
self.lib.lib3mf_slicestack_getslice.restype = ctypes.c_int32
self.lib.lib3mf_slicestack_getslice.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_slicestack_addslice.restype = ctypes.c_int32
self.lib.lib3mf_slicestack_addslice.argtypes = [ctypes.c_void_p, ctypes.c_double, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_slicestack_getslicerefcount.restype = ctypes.c_int32
self.lib.lib3mf_slicestack_getslicerefcount.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint64)]
self.lib.lib3mf_slicestack_addslicestackreference.restype = ctypes.c_int32
self.lib.lib3mf_slicestack_addslicestackreference.argtypes = [ctypes.c_void_p, ctypes.c_void_p]
self.lib.lib3mf_slicestack_getslicestackreference.restype = ctypes.c_int32
self.lib.lib3mf_slicestack_getslicestackreference.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_slicestack_collapseslicereferences.restype = ctypes.c_int32
self.lib.lib3mf_slicestack_collapseslicereferences.argtypes = [ctypes.c_void_p]
self.lib.lib3mf_slicestack_setownpath.restype = ctypes.c_int32
self.lib.lib3mf_slicestack_setownpath.argtypes = [ctypes.c_void_p, ctypes.c_char_p]
self.lib.lib3mf_slicestack_getownpath.restype = ctypes.c_int32
self.lib.lib3mf_slicestack_getownpath.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p]
self.lib.lib3mf_consumer_getconsumerid.restype = ctypes.c_int32
self.lib.lib3mf_consumer_getconsumerid.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p]
self.lib.lib3mf_consumer_getkeyid.restype = ctypes.c_int32
self.lib.lib3mf_consumer_getkeyid.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p]
self.lib.lib3mf_consumer_getkeyvalue.restype = ctypes.c_int32
self.lib.lib3mf_consumer_getkeyvalue.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p]
self.lib.lib3mf_accessright_getconsumer.restype = ctypes.c_int32
self.lib.lib3mf_accessright_getconsumer.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_accessright_getwrappingalgorithm.restype = ctypes.c_int32
self.lib.lib3mf_accessright_getwrappingalgorithm.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_int32)]
self.lib.lib3mf_accessright_getmgfalgorithm.restype = ctypes.c_int32
self.lib.lib3mf_accessright_getmgfalgorithm.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_int32)]
self.lib.lib3mf_accessright_getdigestmethod.restype = ctypes.c_int32
self.lib.lib3mf_accessright_getdigestmethod.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_int32)]
self.lib.lib3mf_contentencryptionparams_getencryptionalgorithm.restype = ctypes.c_int32
self.lib.lib3mf_contentencryptionparams_getencryptionalgorithm.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_int32)]
self.lib.lib3mf_contentencryptionparams_getkey.restype = ctypes.c_int32
self.lib.lib3mf_contentencryptionparams_getkey.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(ctypes.c_uint8)]
self.lib.lib3mf_contentencryptionparams_getinitializationvector.restype = ctypes.c_int32
self.lib.lib3mf_contentencryptionparams_getinitializationvector.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(ctypes.c_uint8)]
self.lib.lib3mf_contentencryptionparams_getauthenticationtag.restype = ctypes.c_int32
self.lib.lib3mf_contentencryptionparams_getauthenticationtag.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(ctypes.c_uint8)]
self.lib.lib3mf_contentencryptionparams_setauthenticationtag.restype = ctypes.c_int32
self.lib.lib3mf_contentencryptionparams_setauthenticationtag.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint8)]
self.lib.lib3mf_contentencryptionparams_getadditionalauthenticationdata.restype = ctypes.c_int32
self.lib.lib3mf_contentencryptionparams_getadditionalauthenticationdata.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(ctypes.c_uint8)]
self.lib.lib3mf_contentencryptionparams_getdescriptor.restype = ctypes.c_int32
self.lib.lib3mf_contentencryptionparams_getdescriptor.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint64)]
self.lib.lib3mf_contentencryptionparams_getkeyuuid.restype = ctypes.c_int32
self.lib.lib3mf_contentencryptionparams_getkeyuuid.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p]
self.lib.lib3mf_resourcedata_getpath.restype = ctypes.c_int32
self.lib.lib3mf_resourcedata_getpath.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_resourcedata_getencryptionalgorithm.restype = ctypes.c_int32
self.lib.lib3mf_resourcedata_getencryptionalgorithm.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_int32)]
self.lib.lib3mf_resourcedata_getcompression.restype = ctypes.c_int32
self.lib.lib3mf_resourcedata_getcompression.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_int32)]
self.lib.lib3mf_resourcedata_getadditionalauthenticationdata.restype = ctypes.c_int32
self.lib.lib3mf_resourcedata_getadditionalauthenticationdata.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.POINTER(ctypes.c_uint8)]
self.lib.lib3mf_resourcedatagroup_getkeyuuid.restype = ctypes.c_int32
self.lib.lib3mf_resourcedatagroup_getkeyuuid.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p]
self.lib.lib3mf_resourcedatagroup_addaccessright.restype = ctypes.c_int32
self.lib.lib3mf_resourcedatagroup_addaccessright.argtypes = [ctypes.c_void_p, ctypes.c_void_p, WrappingAlgorithm, MgfAlgorithm, DigestMethod, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_resourcedatagroup_findaccessrightbyconsumer.restype = ctypes.c_int32
self.lib.lib3mf_resourcedatagroup_findaccessrightbyconsumer.argtypes = [ctypes.c_void_p, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_resourcedatagroup_removeaccessright.restype = ctypes.c_int32
self.lib.lib3mf_resourcedatagroup_removeaccessright.argtypes = [ctypes.c_void_p, ctypes.c_void_p]
self.lib.lib3mf_keystore_addconsumer.restype = ctypes.c_int32
self.lib.lib3mf_keystore_addconsumer.argtypes = [ctypes.c_void_p, ctypes.c_char_p, ctypes.c_char_p, ctypes.c_char_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_keystore_getconsumercount.restype = ctypes.c_int32
self.lib.lib3mf_keystore_getconsumercount.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint64)]
self.lib.lib3mf_keystore_getconsumer.restype = ctypes.c_int32
self.lib.lib3mf_keystore_getconsumer.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_keystore_removeconsumer.restype = ctypes.c_int32
self.lib.lib3mf_keystore_removeconsumer.argtypes = [ctypes.c_void_p, ctypes.c_void_p]
self.lib.lib3mf_keystore_findconsumer.restype = ctypes.c_int32
self.lib.lib3mf_keystore_findconsumer.argtypes = [ctypes.c_void_p, ctypes.c_char_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_keystore_getresourcedatagroupcount.restype = ctypes.c_int32
self.lib.lib3mf_keystore_getresourcedatagroupcount.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint64)]
self.lib.lib3mf_keystore_addresourcedatagroup.restype = ctypes.c_int32
self.lib.lib3mf_keystore_addresourcedatagroup.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_keystore_getresourcedatagroup.restype = ctypes.c_int32
self.lib.lib3mf_keystore_getresourcedatagroup.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_keystore_removeresourcedatagroup.restype = ctypes.c_int32
self.lib.lib3mf_keystore_removeresourcedatagroup.argtypes = [ctypes.c_void_p, ctypes.c_void_p]
self.lib.lib3mf_keystore_findresourcedatagroup.restype = ctypes.c_int32
self.lib.lib3mf_keystore_findresourcedatagroup.argtypes = [ctypes.c_void_p, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_keystore_addresourcedata.restype = ctypes.c_int32
self.lib.lib3mf_keystore_addresourcedata.argtypes = [ctypes.c_void_p, ctypes.c_void_p, ctypes.c_void_p, EncryptionAlgorithm, Compression, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint8), ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_keystore_removeresourcedata.restype = ctypes.c_int32
self.lib.lib3mf_keystore_removeresourcedata.argtypes = [ctypes.c_void_p, ctypes.c_void_p]
self.lib.lib3mf_keystore_findresourcedata.restype = ctypes.c_int32
self.lib.lib3mf_keystore_findresourcedata.argtypes = [ctypes.c_void_p, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_keystore_getresourcedatacount.restype = ctypes.c_int32
self.lib.lib3mf_keystore_getresourcedatacount.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint64)]
self.lib.lib3mf_keystore_getresourcedata.restype = ctypes.c_int32
self.lib.lib3mf_keystore_getresourcedata.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_keystore_getuuid.restype = ctypes.c_int32
self.lib.lib3mf_keystore_getuuid.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool), ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p]
self.lib.lib3mf_keystore_setuuid.restype = ctypes.c_int32
self.lib.lib3mf_keystore_setuuid.argtypes = [ctypes.c_void_p, ctypes.c_char_p]
self.lib.lib3mf_model_rootmodelpart.restype = ctypes.c_int32
self.lib.lib3mf_model_rootmodelpart.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_findorcreatepackagepart.restype = ctypes.c_int32
self.lib.lib3mf_model_findorcreatepackagepart.argtypes = [ctypes.c_void_p, ctypes.c_char_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_setunit.restype = ctypes.c_int32
self.lib.lib3mf_model_setunit.argtypes = [ctypes.c_void_p, ModelUnit]
self.lib.lib3mf_model_getunit.restype = ctypes.c_int32
self.lib.lib3mf_model_getunit.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_int32)]
self.lib.lib3mf_model_getlanguage.restype = ctypes.c_int32
self.lib.lib3mf_model_getlanguage.argtypes = [ctypes.c_void_p, ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p]
self.lib.lib3mf_model_setlanguage.restype = ctypes.c_int32
self.lib.lib3mf_model_setlanguage.argtypes = [ctypes.c_void_p, ctypes.c_char_p]
self.lib.lib3mf_model_querywriter.restype = ctypes.c_int32
self.lib.lib3mf_model_querywriter.argtypes = [ctypes.c_void_p, ctypes.c_char_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_queryreader.restype = ctypes.c_int32
self.lib.lib3mf_model_queryreader.argtypes = [ctypes.c_void_p, ctypes.c_char_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_gettexture2dbyid.restype = ctypes.c_int32
self.lib.lib3mf_model_gettexture2dbyid.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_getpropertytypebyid.restype = ctypes.c_int32
self.lib.lib3mf_model_getpropertytypebyid.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(ctypes.c_int32)]
self.lib.lib3mf_model_getbasematerialgroupbyid.restype = ctypes.c_int32
self.lib.lib3mf_model_getbasematerialgroupbyid.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_gettexture2dgroupbyid.restype = ctypes.c_int32
self.lib.lib3mf_model_gettexture2dgroupbyid.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_getcompositematerialsbyid.restype = ctypes.c_int32
self.lib.lib3mf_model_getcompositematerialsbyid.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_getmultipropertygroupbyid.restype = ctypes.c_int32
self.lib.lib3mf_model_getmultipropertygroupbyid.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_getmeshobjectbyid.restype = ctypes.c_int32
self.lib.lib3mf_model_getmeshobjectbyid.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_getcomponentsobjectbyid.restype = ctypes.c_int32
self.lib.lib3mf_model_getcomponentsobjectbyid.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_getcolorgroupbyid.restype = ctypes.c_int32
self.lib.lib3mf_model_getcolorgroupbyid.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_getslicestackbyid.restype = ctypes.c_int32
self.lib.lib3mf_model_getslicestackbyid.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_getbuilduuid.restype = ctypes.c_int32
self.lib.lib3mf_model_getbuilduuid.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool), ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64), ctypes.c_char_p]
self.lib.lib3mf_model_setbuilduuid.restype = ctypes.c_int32
self.lib.lib3mf_model_setbuilduuid.argtypes = [ctypes.c_void_p, ctypes.c_char_p]
self.lib.lib3mf_model_getbuilditems.restype = ctypes.c_int32
self.lib.lib3mf_model_getbuilditems.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_getoutbox.restype = ctypes.c_int32
self.lib.lib3mf_model_getoutbox.argtypes = [ctypes.c_void_p, ctypes.POINTER(Box)]
self.lib.lib3mf_model_getresources.restype = ctypes.c_int32
self.lib.lib3mf_model_getresources.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_getobjects.restype = ctypes.c_int32
self.lib.lib3mf_model_getobjects.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_getmeshobjects.restype = ctypes.c_int32
self.lib.lib3mf_model_getmeshobjects.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_getcomponentsobjects.restype = ctypes.c_int32
self.lib.lib3mf_model_getcomponentsobjects.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_gettexture2ds.restype = ctypes.c_int32
self.lib.lib3mf_model_gettexture2ds.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_getbasematerialgroups.restype = ctypes.c_int32
self.lib.lib3mf_model_getbasematerialgroups.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_getcolorgroups.restype = ctypes.c_int32
self.lib.lib3mf_model_getcolorgroups.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_gettexture2dgroups.restype = ctypes.c_int32
self.lib.lib3mf_model_gettexture2dgroups.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_getcompositematerials.restype = ctypes.c_int32
self.lib.lib3mf_model_getcompositematerials.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_getmultipropertygroups.restype = ctypes.c_int32
self.lib.lib3mf_model_getmultipropertygroups.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_getslicestacks.restype = ctypes.c_int32
self.lib.lib3mf_model_getslicestacks.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_mergetomodel.restype = ctypes.c_int32
self.lib.lib3mf_model_mergetomodel.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_addmeshobject.restype = ctypes.c_int32
self.lib.lib3mf_model_addmeshobject.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_addcomponentsobject.restype = ctypes.c_int32
self.lib.lib3mf_model_addcomponentsobject.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_addslicestack.restype = ctypes.c_int32
self.lib.lib3mf_model_addslicestack.argtypes = [ctypes.c_void_p, ctypes.c_double, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_addtexture2dfromattachment.restype = ctypes.c_int32
self.lib.lib3mf_model_addtexture2dfromattachment.argtypes = [ctypes.c_void_p, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_addbasematerialgroup.restype = ctypes.c_int32
self.lib.lib3mf_model_addbasematerialgroup.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_addcolorgroup.restype = ctypes.c_int32
self.lib.lib3mf_model_addcolorgroup.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_addtexture2dgroup.restype = ctypes.c_int32
self.lib.lib3mf_model_addtexture2dgroup.argtypes = [ctypes.c_void_p, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_addcompositematerials.restype = ctypes.c_int32
self.lib.lib3mf_model_addcompositematerials.argtypes = [ctypes.c_void_p, ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_addmultipropertygroup.restype = ctypes.c_int32
self.lib.lib3mf_model_addmultipropertygroup.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_addbuilditem.restype = ctypes.c_int32
self.lib.lib3mf_model_addbuilditem.argtypes = [ctypes.c_void_p, ctypes.c_void_p, ctypes.POINTER(Transform), ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_removebuilditem.restype = ctypes.c_int32
self.lib.lib3mf_model_removebuilditem.argtypes = [ctypes.c_void_p, ctypes.c_void_p]
self.lib.lib3mf_model_getmetadatagroup.restype = ctypes.c_int32
self.lib.lib3mf_model_getmetadatagroup.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_addattachment.restype = ctypes.c_int32
self.lib.lib3mf_model_addattachment.argtypes = [ctypes.c_void_p, ctypes.c_char_p, ctypes.c_char_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_removeattachment.restype = ctypes.c_int32
self.lib.lib3mf_model_removeattachment.argtypes = [ctypes.c_void_p, ctypes.c_void_p]
self.lib.lib3mf_model_getattachment.restype = ctypes.c_int32
self.lib.lib3mf_model_getattachment.argtypes = [ctypes.c_void_p, ctypes.c_uint32, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_findattachment.restype = ctypes.c_int32
self.lib.lib3mf_model_findattachment.argtypes = [ctypes.c_void_p, ctypes.c_char_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_getattachmentcount.restype = ctypes.c_int32
self.lib.lib3mf_model_getattachmentcount.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint32)]
self.lib.lib3mf_model_haspackagethumbnailattachment.restype = ctypes.c_int32
self.lib.lib3mf_model_haspackagethumbnailattachment.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool)]
self.lib.lib3mf_model_createpackagethumbnailattachment.restype = ctypes.c_int32
self.lib.lib3mf_model_createpackagethumbnailattachment.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_getpackagethumbnailattachment.restype = ctypes.c_int32
self.lib.lib3mf_model_getpackagethumbnailattachment.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
self.lib.lib3mf_model_removepackagethumbnailattachment.restype = ctypes.c_int32
self.lib.lib3mf_model_removepackagethumbnailattachment.argtypes = [ctypes.c_void_p]
self.lib.lib3mf_model_addcustomcontenttype.restype = ctypes.c_int32
self.lib.lib3mf_model_addcustomcontenttype.argtypes = [ctypes.c_void_p, ctypes.c_char_p, ctypes.c_char_p]
self.lib.lib3mf_model_removecustomcontenttype.restype = ctypes.c_int32
self.lib.lib3mf_model_removecustomcontenttype.argtypes = [ctypes.c_void_p, ctypes.c_char_p]
self.lib.lib3mf_model_setrandomnumbercallback.restype = ctypes.c_int32
self.lib.lib3mf_model_setrandomnumbercallback.argtypes = [ctypes.c_void_p, RandomNumberCallback, ctypes.c_void_p]
self.lib.lib3mf_model_getkeystore.restype = ctypes.c_int32
self.lib.lib3mf_model_getkeystore.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_void_p)]
except AttributeError as ae:
raise ELib3MFException(ErrorCodes.COULDNOTFINDLIBRARYEXPORT, ae.args[0])
def _checkBinaryVersion(self):
nMajor, nMinor, _ = self.GetLibraryVersion()
if (nMajor != BindingVersion.MAJOR) or (nMinor < BindingVersion.MINOR):
raise ELib3MFException(ErrorCodes.INCOMPATIBLEBINARYVERSION)
def checkError(self, instance, errorCode):
if errorCode != ErrorCodes.SUCCESS.value:
if instance:
if instance._wrapper != self:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'invalid wrapper call')
message,_ = self.GetLastError(instance)
raise ELib3MFException(errorCode, message)
def GetLibraryVersion(self):
pMajor = ctypes.c_uint32()
pMinor = ctypes.c_uint32()
pMicro = ctypes.c_uint32()
self.checkError(None, self.lib.lib3mf_getlibraryversion(pMajor, pMinor, pMicro))
return pMajor.value, pMinor.value, pMicro.value
def GetPrereleaseInformation(self):
pHasPrereleaseInfo = ctypes.c_bool()
nPrereleaseInfoBufferSize = ctypes.c_uint64(0)
nPrereleaseInfoNeededChars = ctypes.c_uint64(0)
pPrereleaseInfoBuffer = ctypes.c_char_p(None)
self.checkError(None, self.lib.lib3mf_getprereleaseinformation(pHasPrereleaseInfo, nPrereleaseInfoBufferSize, nPrereleaseInfoNeededChars, pPrereleaseInfoBuffer))
nPrereleaseInfoBufferSize = ctypes.c_uint64(nPrereleaseInfoNeededChars.value)
pPrereleaseInfoBuffer = (ctypes.c_char * (nPrereleaseInfoNeededChars.value))()
self.checkError(None, self.lib.lib3mf_getprereleaseinformation(pHasPrereleaseInfo, nPrereleaseInfoBufferSize, nPrereleaseInfoNeededChars, pPrereleaseInfoBuffer))
return pHasPrereleaseInfo.value, pPrereleaseInfoBuffer.value.decode()
def GetBuildInformation(self):
pHasBuildInfo = ctypes.c_bool()
nBuildInformationBufferSize = ctypes.c_uint64(0)
nBuildInformationNeededChars = ctypes.c_uint64(0)
pBuildInformationBuffer = ctypes.c_char_p(None)
self.checkError(None, self.lib.lib3mf_getbuildinformation(pHasBuildInfo, nBuildInformationBufferSize, nBuildInformationNeededChars, pBuildInformationBuffer))
nBuildInformationBufferSize = ctypes.c_uint64(nBuildInformationNeededChars.value)
pBuildInformationBuffer = (ctypes.c_char * (nBuildInformationNeededChars.value))()
self.checkError(None, self.lib.lib3mf_getbuildinformation(pHasBuildInfo, nBuildInformationBufferSize, nBuildInformationNeededChars, pBuildInformationBuffer))
return pHasBuildInfo.value, pBuildInformationBuffer.value.decode()
def GetSpecificationVersion(self, SpecificationURL):
pSpecificationURL = ctypes.c_char_p(str.encode(SpecificationURL))
pIsSupported = ctypes.c_bool()
pMajor = ctypes.c_uint32()
pMinor = ctypes.c_uint32()
pMicro = ctypes.c_uint32()
self.checkError(None, self.lib.lib3mf_getspecificationversion(pSpecificationURL, pIsSupported, pMajor, pMinor, pMicro))
return pIsSupported.value, pMajor.value, pMinor.value, pMicro.value
def CreateModel(self):
ModelHandle = ctypes.c_void_p()
self.checkError(None, self.lib.lib3mf_createmodel(ModelHandle))
if ModelHandle:
ModelObject = Model(ModelHandle, self)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ModelObject
def Release(self, InstanceObject):
InstanceHandle = None
if InstanceObject:
InstanceHandle = InstanceObject._handle
else:
raise ELib3MFException(ErrorCodes.INVALIDPARAM, 'Invalid return/output value')
self.checkError(None, self.lib.lib3mf_release(InstanceHandle))
def Acquire(self, InstanceObject):
InstanceHandle = None
if InstanceObject:
InstanceHandle = InstanceObject._handle
else:
raise ELib3MFException(ErrorCodes.INVALIDPARAM, 'Invalid return/output value')
self.checkError(None, self.lib.lib3mf_acquire(InstanceHandle))
def SetJournal(self, JournalPath):
pJournalPath = ctypes.c_char_p(str.encode(JournalPath))
self.checkError(None, self.lib.lib3mf_setjournal(pJournalPath))
def GetLastError(self, InstanceObject):
InstanceHandle = None
if InstanceObject:
InstanceHandle = InstanceObject._handle
else:
raise ELib3MFException(ErrorCodes.INVALIDPARAM, 'Invalid return/output value')
nLastErrorStringBufferSize = ctypes.c_uint64(0)
nLastErrorStringNeededChars = ctypes.c_uint64(0)
pLastErrorStringBuffer = ctypes.c_char_p(None)
pHasLastError = ctypes.c_bool()
self.checkError(None, self.lib.lib3mf_getlasterror(InstanceHandle, nLastErrorStringBufferSize, nLastErrorStringNeededChars, pLastErrorStringBuffer, pHasLastError))
nLastErrorStringBufferSize = ctypes.c_uint64(nLastErrorStringNeededChars.value)
pLastErrorStringBuffer = (ctypes.c_char * (nLastErrorStringNeededChars.value))()
self.checkError(None, self.lib.lib3mf_getlasterror(InstanceHandle, nLastErrorStringBufferSize, nLastErrorStringNeededChars, pLastErrorStringBuffer, pHasLastError))
return pLastErrorStringBuffer.value.decode(), pHasLastError.value
def GetSymbolLookupMethod(self):
pSymbolLookupMethod = ctypes.c_void_p()
self.checkError(None, self.lib.lib3mf_getsymbollookupmethod(pSymbolLookupMethod))
return pSymbolLookupMethod.value
def RetrieveProgressMessage(self, TheProgressIdentifier):
nProgressMessageBufferSize = ctypes.c_uint64(0)
nProgressMessageNeededChars = ctypes.c_uint64(0)
pProgressMessageBuffer = ctypes.c_char_p(None)
self.checkError(None, self.lib.lib3mf_retrieveprogressmessage(TheProgressIdentifier, nProgressMessageBufferSize, nProgressMessageNeededChars, pProgressMessageBuffer))
nProgressMessageBufferSize = ctypes.c_uint64(nProgressMessageNeededChars.value)
pProgressMessageBuffer = (ctypes.c_char * (nProgressMessageNeededChars.value))()
self.checkError(None, self.lib.lib3mf_retrieveprogressmessage(TheProgressIdentifier, nProgressMessageBufferSize, nProgressMessageNeededChars, pProgressMessageBuffer))
return pProgressMessageBuffer.value.decode()
def RGBAToColor(self, Red, Green, Blue, Alpha):
nRed = ctypes.c_uint8(Red)
nGreen = ctypes.c_uint8(Green)
nBlue = ctypes.c_uint8(Blue)
nAlpha = ctypes.c_uint8(Alpha)
pTheColor = Color()
self.checkError(None, self.lib.lib3mf_rgbatocolor(nRed, nGreen, nBlue, nAlpha, pTheColor))
return pTheColor
def FloatRGBAToColor(self, Red, Green, Blue, Alpha):
fRed = ctypes.c_float(Red)
fGreen = ctypes.c_float(Green)
fBlue = ctypes.c_float(Blue)
fAlpha = ctypes.c_float(Alpha)
pTheColor = Color()
self.checkError(None, self.lib.lib3mf_floatrgbatocolor(fRed, fGreen, fBlue, fAlpha, pTheColor))
return pTheColor
def ColorToRGBA(self, TheColor):
pRed = ctypes.c_uint8()
pGreen = ctypes.c_uint8()
pBlue = ctypes.c_uint8()
pAlpha = ctypes.c_uint8()
self.checkError(None, self.lib.lib3mf_colortorgba(TheColor, pRed, pGreen, pBlue, pAlpha))
return pRed.value, pGreen.value, pBlue.value, pAlpha.value
def ColorToFloatRGBA(self, TheColor):
pRed = ctypes.c_float()
pGreen = ctypes.c_float()
pBlue = ctypes.c_float()
pAlpha = ctypes.c_float()
self.checkError(None, self.lib.lib3mf_colortofloatrgba(TheColor, pRed, pGreen, pBlue, pAlpha))
return pRed.value, pGreen.value, pBlue.value, pAlpha.value
def GetIdentityTransform(self):
pTransform = Transform()
self.checkError(None, self.lib.lib3mf_getidentitytransform(pTransform))
return pTransform
def GetUniformScaleTransform(self, Factor):
fFactor = ctypes.c_float(Factor)
pTransform = Transform()
self.checkError(None, self.lib.lib3mf_getuniformscaletransform(fFactor, pTransform))
return pTransform
def GetScaleTransform(self, FactorX, FactorY, FactorZ):
fFactorX = ctypes.c_float(FactorX)
fFactorY = ctypes.c_float(FactorY)
fFactorZ = ctypes.c_float(FactorZ)
pTransform = Transform()
self.checkError(None, self.lib.lib3mf_getscaletransform(fFactorX, fFactorY, fFactorZ, pTransform))
return pTransform
def GetTranslationTransform(self, VectorX, VectorY, VectorZ):
fVectorX = ctypes.c_float(VectorX)
fVectorY = ctypes.c_float(VectorY)
fVectorZ = ctypes.c_float(VectorZ)
pTransform = Transform()
self.checkError(None, self.lib.lib3mf_gettranslationtransform(fVectorX, fVectorY, fVectorZ, pTransform))
return pTransform
''' Class Implementation for Base
'''
class Base:
def __init__(self, handle, wrapper):
if not handle or not wrapper:
raise ELib3MFException(ErrorCodes.INVALIDPARAM)
self._handle = handle
self._wrapper = wrapper
def __del__(self):
self._wrapper.Release(self)
''' Class Implementation for Writer
'''
class Writer(Base):
def __init__(self, handle, wrapper):
Base.__init__(self, handle, wrapper)
def WriteToFile(self, Filename):
pFilename = ctypes.c_char_p(str.encode(Filename))
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_writer_writetofile(self._handle, pFilename))
def GetStreamSize(self):
pStreamSize = ctypes.c_uint64()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_writer_getstreamsize(self._handle, pStreamSize))
return pStreamSize.value
def WriteToBuffer(self):
nBufferCount = ctypes.c_uint64(0)
nBufferNeededCount = ctypes.c_uint64(0)
pBufferBuffer = (ctypes.c_uint8*0)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_writer_writetobuffer(self._handle, nBufferCount, nBufferNeededCount, pBufferBuffer))
nBufferCount = ctypes.c_uint64(nBufferNeededCount.value)
pBufferBuffer = (ctypes.c_uint8 * nBufferNeededCount.value)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_writer_writetobuffer(self._handle, nBufferCount, nBufferNeededCount, pBufferBuffer))
return [pBufferBuffer[i] for i in range(nBufferNeededCount.value)]
def WriteToCallback(self, TheWriteCallbackFunc, TheSeekCallbackFunc, UserData):
pUserData = ctypes.c_void_p(UserData)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_writer_writetocallback(self._handle, TheWriteCallbackFunc, TheSeekCallbackFunc, pUserData))
def SetProgressCallback(self, ProgressCallbackFunc, UserData):
pUserData = ctypes.c_void_p(UserData)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_writer_setprogresscallback(self._handle, ProgressCallbackFunc, pUserData))
def GetDecimalPrecision(self):
pDecimalPrecision = ctypes.c_uint32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_writer_getdecimalprecision(self._handle, pDecimalPrecision))
return pDecimalPrecision.value
def SetDecimalPrecision(self, DecimalPrecision):
nDecimalPrecision = ctypes.c_uint32(DecimalPrecision)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_writer_setdecimalprecision(self._handle, nDecimalPrecision))
def SetStrictModeActive(self, StrictModeActive):
bStrictModeActive = ctypes.c_bool(StrictModeActive)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_writer_setstrictmodeactive(self._handle, bStrictModeActive))
def GetStrictModeActive(self):
pStrictModeActive = ctypes.c_bool()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_writer_getstrictmodeactive(self._handle, pStrictModeActive))
return pStrictModeActive.value
def GetWarning(self, Index):
nIndex = ctypes.c_uint32(Index)
pErrorCode = ctypes.c_uint32()
nWarningBufferSize = ctypes.c_uint64(0)
nWarningNeededChars = ctypes.c_uint64(0)
pWarningBuffer = ctypes.c_char_p(None)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_writer_getwarning(self._handle, nIndex, pErrorCode, nWarningBufferSize, nWarningNeededChars, pWarningBuffer))
nWarningBufferSize = ctypes.c_uint64(nWarningNeededChars.value)
pWarningBuffer = (ctypes.c_char * (nWarningNeededChars.value))()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_writer_getwarning(self._handle, nIndex, pErrorCode, nWarningBufferSize, nWarningNeededChars, pWarningBuffer))
return pErrorCode.value, pWarningBuffer.value.decode()
def GetWarningCount(self):
pCount = ctypes.c_uint32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_writer_getwarningcount(self._handle, pCount))
return pCount.value
def AddKeyWrappingCallback(self, ConsumerID, TheCallbackFunc, UserData):
pConsumerID = ctypes.c_char_p(str.encode(ConsumerID))
pUserData = ctypes.c_void_p(UserData)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_writer_addkeywrappingcallback(self._handle, pConsumerID, TheCallbackFunc, pUserData))
def SetContentEncryptionCallback(self, TheCallbackFunc, UserData):
pUserData = ctypes.c_void_p(UserData)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_writer_setcontentencryptioncallback(self._handle, TheCallbackFunc, pUserData))
''' Class Implementation for Reader
'''
class Reader(Base):
def __init__(self, handle, wrapper):
Base.__init__(self, handle, wrapper)
def ReadFromFile(self, Filename):
pFilename = ctypes.c_char_p(str.encode(Filename))
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_reader_readfromfile(self._handle, pFilename))
def ReadFromBuffer(self, Buffer):
nBufferCount = ctypes.c_uint64(len(Buffer))
pBufferBuffer = (ctypes.c_uint8*len(Buffer))(*Buffer)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_reader_readfrombuffer(self._handle, nBufferCount, pBufferBuffer))
def ReadFromCallback(self, TheReadCallbackFunc, StreamSize, TheSeekCallbackFunc, UserData):
nStreamSize = ctypes.c_uint64(StreamSize)
pUserData = ctypes.c_void_p(UserData)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_reader_readfromcallback(self._handle, TheReadCallbackFunc, nStreamSize, TheSeekCallbackFunc, pUserData))
def SetProgressCallback(self, ProgressCallbackFunc, UserData):
pUserData = ctypes.c_void_p(UserData)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_reader_setprogresscallback(self._handle, ProgressCallbackFunc, pUserData))
def AddRelationToRead(self, RelationShipType):
pRelationShipType = ctypes.c_char_p(str.encode(RelationShipType))
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_reader_addrelationtoread(self._handle, pRelationShipType))
def RemoveRelationToRead(self, RelationShipType):
pRelationShipType = ctypes.c_char_p(str.encode(RelationShipType))
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_reader_removerelationtoread(self._handle, pRelationShipType))
def SetStrictModeActive(self, StrictModeActive):
bStrictModeActive = ctypes.c_bool(StrictModeActive)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_reader_setstrictmodeactive(self._handle, bStrictModeActive))
def GetStrictModeActive(self):
pStrictModeActive = ctypes.c_bool()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_reader_getstrictmodeactive(self._handle, pStrictModeActive))
return pStrictModeActive.value
def GetWarning(self, Index):
nIndex = ctypes.c_uint32(Index)
pErrorCode = ctypes.c_uint32()
nWarningBufferSize = ctypes.c_uint64(0)
nWarningNeededChars = ctypes.c_uint64(0)
pWarningBuffer = ctypes.c_char_p(None)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_reader_getwarning(self._handle, nIndex, pErrorCode, nWarningBufferSize, nWarningNeededChars, pWarningBuffer))
nWarningBufferSize = ctypes.c_uint64(nWarningNeededChars.value)
pWarningBuffer = (ctypes.c_char * (nWarningNeededChars.value))()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_reader_getwarning(self._handle, nIndex, pErrorCode, nWarningBufferSize, nWarningNeededChars, pWarningBuffer))
return pErrorCode.value, pWarningBuffer.value.decode()
def GetWarningCount(self):
pCount = ctypes.c_uint32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_reader_getwarningcount(self._handle, pCount))
return pCount.value
def AddKeyWrappingCallback(self, ConsumerID, TheCallbackFunc, UserData):
pConsumerID = ctypes.c_char_p(str.encode(ConsumerID))
pUserData = ctypes.c_void_p(UserData)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_reader_addkeywrappingcallback(self._handle, pConsumerID, TheCallbackFunc, pUserData))
def SetContentEncryptionCallback(self, TheCallbackFunc, UserData):
pUserData = ctypes.c_void_p(UserData)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_reader_setcontentencryptioncallback(self._handle, TheCallbackFunc, pUserData))
''' Class Implementation for PackagePart
'''
class PackagePart(Base):
def __init__(self, handle, wrapper):
Base.__init__(self, handle, wrapper)
def GetPath(self):
nPathBufferSize = ctypes.c_uint64(0)
nPathNeededChars = ctypes.c_uint64(0)
pPathBuffer = ctypes.c_char_p(None)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_packagepart_getpath(self._handle, nPathBufferSize, nPathNeededChars, pPathBuffer))
nPathBufferSize = ctypes.c_uint64(nPathNeededChars.value)
pPathBuffer = (ctypes.c_char * (nPathNeededChars.value))()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_packagepart_getpath(self._handle, nPathBufferSize, nPathNeededChars, pPathBuffer))
return pPathBuffer.value.decode()
def SetPath(self, Path):
pPath = ctypes.c_char_p(str.encode(Path))
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_packagepart_setpath(self._handle, pPath))
''' Class Implementation for Resource
'''
class Resource(Base):
def __init__(self, handle, wrapper):
Base.__init__(self, handle, wrapper)
def GetResourceID(self):
pUniqueResourceID = ctypes.c_uint32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_resource_getresourceid(self._handle, pUniqueResourceID))
return pUniqueResourceID.value
def GetUniqueResourceID(self):
pUniqueResourceID = ctypes.c_uint32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_resource_getuniqueresourceid(self._handle, pUniqueResourceID))
return pUniqueResourceID.value
def PackagePart(self):
PackagePartHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_resource_packagepart(self._handle, PackagePartHandle))
if PackagePartHandle:
PackagePartObject = PackagePart(PackagePartHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return PackagePartObject
def SetPackagePart(self, PackagePartObject):
PackagePartHandle = None
if PackagePartObject:
PackagePartHandle = PackagePartObject._handle
else:
raise ELib3MFException(ErrorCodes.INVALIDPARAM, 'Invalid return/output value')
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_resource_setpackagepart(self._handle, PackagePartHandle))
def GetModelResourceID(self):
pModelResourceId = ctypes.c_uint32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_resource_getmodelresourceid(self._handle, pModelResourceId))
return pModelResourceId.value
''' Class Implementation for ResourceIterator
'''
class ResourceIterator(Base):
def __init__(self, handle, wrapper):
Base.__init__(self, handle, wrapper)
def MoveNext(self):
pHasNext = ctypes.c_bool()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_resourceiterator_movenext(self._handle, pHasNext))
return pHasNext.value
def MovePrevious(self):
pHasPrevious = ctypes.c_bool()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_resourceiterator_moveprevious(self._handle, pHasPrevious))
return pHasPrevious.value
def GetCurrent(self):
ResourceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_resourceiterator_getcurrent(self._handle, ResourceHandle))
if ResourceHandle:
ResourceObject = Resource(ResourceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ResourceObject
def Clone(self):
OutResourceIteratorHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_resourceiterator_clone(self._handle, OutResourceIteratorHandle))
if OutResourceIteratorHandle:
OutResourceIteratorObject = ResourceIterator(OutResourceIteratorHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return OutResourceIteratorObject
def Count(self):
pCount = ctypes.c_uint64()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_resourceiterator_count(self._handle, pCount))
return pCount.value
''' Class Implementation for SliceStackIterator
'''
class SliceStackIterator(ResourceIterator):
def __init__(self, handle, wrapper):
ResourceIterator.__init__(self, handle, wrapper)
def GetCurrentSliceStack(self):
ResourceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_slicestackiterator_getcurrentslicestack(self._handle, ResourceHandle))
if ResourceHandle:
ResourceObject = SliceStack(ResourceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ResourceObject
''' Class Implementation for ObjectIterator
'''
class ObjectIterator(ResourceIterator):
def __init__(self, handle, wrapper):
ResourceIterator.__init__(self, handle, wrapper)
def GetCurrentObject(self):
ResourceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_objectiterator_getcurrentobject(self._handle, ResourceHandle))
if ResourceHandle:
ResourceObject = Object(ResourceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ResourceObject
''' Class Implementation for MeshObjectIterator
'''
class MeshObjectIterator(ResourceIterator):
def __init__(self, handle, wrapper):
ResourceIterator.__init__(self, handle, wrapper)
def GetCurrentMeshObject(self):
ResourceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_meshobjectiterator_getcurrentmeshobject(self._handle, ResourceHandle))
if ResourceHandle:
ResourceObject = MeshObject(ResourceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ResourceObject
''' Class Implementation for ComponentsObjectIterator
'''
class ComponentsObjectIterator(ResourceIterator):
def __init__(self, handle, wrapper):
ResourceIterator.__init__(self, handle, wrapper)
def GetCurrentComponentsObject(self):
ResourceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_componentsobjectiterator_getcurrentcomponentsobject(self._handle, ResourceHandle))
if ResourceHandle:
ResourceObject = ComponentsObject(ResourceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ResourceObject
''' Class Implementation for Texture2DIterator
'''
class Texture2DIterator(ResourceIterator):
def __init__(self, handle, wrapper):
ResourceIterator.__init__(self, handle, wrapper)
def GetCurrentTexture2D(self):
ResourceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_texture2diterator_getcurrenttexture2d(self._handle, ResourceHandle))
if ResourceHandle:
ResourceObject = Texture2D(ResourceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ResourceObject
''' Class Implementation for BaseMaterialGroupIterator
'''
class BaseMaterialGroupIterator(ResourceIterator):
def __init__(self, handle, wrapper):
ResourceIterator.__init__(self, handle, wrapper)
def GetCurrentBaseMaterialGroup(self):
ResourceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_basematerialgroupiterator_getcurrentbasematerialgroup(self._handle, ResourceHandle))
if ResourceHandle:
ResourceObject = BaseMaterialGroup(ResourceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ResourceObject
''' Class Implementation for ColorGroupIterator
'''
class ColorGroupIterator(ResourceIterator):
def __init__(self, handle, wrapper):
ResourceIterator.__init__(self, handle, wrapper)
def GetCurrentColorGroup(self):
ResourceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_colorgroupiterator_getcurrentcolorgroup(self._handle, ResourceHandle))
if ResourceHandle:
ResourceObject = ColorGroup(ResourceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ResourceObject
''' Class Implementation for Texture2DGroupIterator
'''
class Texture2DGroupIterator(ResourceIterator):
def __init__(self, handle, wrapper):
ResourceIterator.__init__(self, handle, wrapper)
def GetCurrentTexture2DGroup(self):
ResourceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_texture2dgroupiterator_getcurrenttexture2dgroup(self._handle, ResourceHandle))
if ResourceHandle:
ResourceObject = Texture2DGroup(ResourceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ResourceObject
''' Class Implementation for CompositeMaterialsIterator
'''
class CompositeMaterialsIterator(ResourceIterator):
def __init__(self, handle, wrapper):
ResourceIterator.__init__(self, handle, wrapper)
def GetCurrentCompositeMaterials(self):
ResourceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_compositematerialsiterator_getcurrentcompositematerials(self._handle, ResourceHandle))
if ResourceHandle:
ResourceObject = CompositeMaterials(ResourceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ResourceObject
''' Class Implementation for MultiPropertyGroupIterator
'''
class MultiPropertyGroupIterator(ResourceIterator):
def __init__(self, handle, wrapper):
ResourceIterator.__init__(self, handle, wrapper)
def GetCurrentMultiPropertyGroup(self):
ResourceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_multipropertygroupiterator_getcurrentmultipropertygroup(self._handle, ResourceHandle))
if ResourceHandle:
ResourceObject = MultiPropertyGroup(ResourceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ResourceObject
''' Class Implementation for MetaData
'''
class MetaData(Base):
def __init__(self, handle, wrapper):
Base.__init__(self, handle, wrapper)
def GetNameSpace(self):
nNameSpaceBufferSize = ctypes.c_uint64(0)
nNameSpaceNeededChars = ctypes.c_uint64(0)
pNameSpaceBuffer = ctypes.c_char_p(None)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_metadata_getnamespace(self._handle, nNameSpaceBufferSize, nNameSpaceNeededChars, pNameSpaceBuffer))
nNameSpaceBufferSize = ctypes.c_uint64(nNameSpaceNeededChars.value)
pNameSpaceBuffer = (ctypes.c_char * (nNameSpaceNeededChars.value))()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_metadata_getnamespace(self._handle, nNameSpaceBufferSize, nNameSpaceNeededChars, pNameSpaceBuffer))
return pNameSpaceBuffer.value.decode()
def SetNameSpace(self, NameSpace):
pNameSpace = ctypes.c_char_p(str.encode(NameSpace))
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_metadata_setnamespace(self._handle, pNameSpace))
def GetName(self):
nNameBufferSize = ctypes.c_uint64(0)
nNameNeededChars = ctypes.c_uint64(0)
pNameBuffer = ctypes.c_char_p(None)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_metadata_getname(self._handle, nNameBufferSize, nNameNeededChars, pNameBuffer))
nNameBufferSize = ctypes.c_uint64(nNameNeededChars.value)
pNameBuffer = (ctypes.c_char * (nNameNeededChars.value))()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_metadata_getname(self._handle, nNameBufferSize, nNameNeededChars, pNameBuffer))
return pNameBuffer.value.decode()
def SetName(self, Name):
pName = ctypes.c_char_p(str.encode(Name))
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_metadata_setname(self._handle, pName))
def GetKey(self):
nKeyBufferSize = ctypes.c_uint64(0)
nKeyNeededChars = ctypes.c_uint64(0)
pKeyBuffer = ctypes.c_char_p(None)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_metadata_getkey(self._handle, nKeyBufferSize, nKeyNeededChars, pKeyBuffer))
nKeyBufferSize = ctypes.c_uint64(nKeyNeededChars.value)
pKeyBuffer = (ctypes.c_char * (nKeyNeededChars.value))()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_metadata_getkey(self._handle, nKeyBufferSize, nKeyNeededChars, pKeyBuffer))
return pKeyBuffer.value.decode()
def GetMustPreserve(self):
pMustPreserve = ctypes.c_bool()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_metadata_getmustpreserve(self._handle, pMustPreserve))
return pMustPreserve.value
def SetMustPreserve(self, MustPreserve):
bMustPreserve = ctypes.c_bool(MustPreserve)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_metadata_setmustpreserve(self._handle, bMustPreserve))
def GetType(self):
nTypeBufferSize = ctypes.c_uint64(0)
nTypeNeededChars = ctypes.c_uint64(0)
pTypeBuffer = ctypes.c_char_p(None)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_metadata_gettype(self._handle, nTypeBufferSize, nTypeNeededChars, pTypeBuffer))
nTypeBufferSize = ctypes.c_uint64(nTypeNeededChars.value)
pTypeBuffer = (ctypes.c_char * (nTypeNeededChars.value))()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_metadata_gettype(self._handle, nTypeBufferSize, nTypeNeededChars, pTypeBuffer))
return pTypeBuffer.value.decode()
def SetType(self, Type):
pType = ctypes.c_char_p(str.encode(Type))
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_metadata_settype(self._handle, pType))
def GetValue(self):
nValueBufferSize = ctypes.c_uint64(0)
nValueNeededChars = ctypes.c_uint64(0)
pValueBuffer = ctypes.c_char_p(None)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_metadata_getvalue(self._handle, nValueBufferSize, nValueNeededChars, pValueBuffer))
nValueBufferSize = ctypes.c_uint64(nValueNeededChars.value)
pValueBuffer = (ctypes.c_char * (nValueNeededChars.value))()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_metadata_getvalue(self._handle, nValueBufferSize, nValueNeededChars, pValueBuffer))
return pValueBuffer.value.decode()
def SetValue(self, Value):
pValue = ctypes.c_char_p(str.encode(Value))
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_metadata_setvalue(self._handle, pValue))
''' Class Implementation for MetaDataGroup
'''
class MetaDataGroup(Base):
def __init__(self, handle, wrapper):
Base.__init__(self, handle, wrapper)
def GetMetaDataCount(self):
pCount = ctypes.c_uint32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_metadatagroup_getmetadatacount(self._handle, pCount))
return pCount.value
def GetMetaData(self, Index):
nIndex = ctypes.c_uint32(Index)
MetaDataHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_metadatagroup_getmetadata(self._handle, nIndex, MetaDataHandle))
if MetaDataHandle:
MetaDataObject = MetaData(MetaDataHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return MetaDataObject
def GetMetaDataByKey(self, NameSpace, Name):
pNameSpace = ctypes.c_char_p(str.encode(NameSpace))
pName = ctypes.c_char_p(str.encode(Name))
MetaDataHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_metadatagroup_getmetadatabykey(self._handle, pNameSpace, pName, MetaDataHandle))
if MetaDataHandle:
MetaDataObject = MetaData(MetaDataHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return MetaDataObject
def RemoveMetaDataByIndex(self, Index):
nIndex = ctypes.c_uint32(Index)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_metadatagroup_removemetadatabyindex(self._handle, nIndex))
def RemoveMetaData(self, TheMetaDataObject):
TheMetaDataHandle = None
if TheMetaDataObject:
TheMetaDataHandle = TheMetaDataObject._handle
else:
raise ELib3MFException(ErrorCodes.INVALIDPARAM, 'Invalid return/output value')
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_metadatagroup_removemetadata(self._handle, TheMetaDataHandle))
def AddMetaData(self, NameSpace, Name, Value, Type, MustPreserve):
pNameSpace = ctypes.c_char_p(str.encode(NameSpace))
pName = ctypes.c_char_p(str.encode(Name))
pValue = ctypes.c_char_p(str.encode(Value))
pType = ctypes.c_char_p(str.encode(Type))
bMustPreserve = ctypes.c_bool(MustPreserve)
MetaDataHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_metadatagroup_addmetadata(self._handle, pNameSpace, pName, pValue, pType, bMustPreserve, MetaDataHandle))
if MetaDataHandle:
MetaDataObject = MetaData(MetaDataHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return MetaDataObject
''' Class Implementation for Object
'''
class Object(Resource):
def __init__(self, handle, wrapper):
Resource.__init__(self, handle, wrapper)
def GetType(self):
pObjectType = ctypes.c_int32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_object_gettype(self._handle, pObjectType))
return ObjectType(pObjectType.value)
def SetType(self, ObjectType):
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_object_settype(self._handle, ObjectType))
def GetName(self):
nNameBufferSize = ctypes.c_uint64(0)
nNameNeededChars = ctypes.c_uint64(0)
pNameBuffer = ctypes.c_char_p(None)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_object_getname(self._handle, nNameBufferSize, nNameNeededChars, pNameBuffer))
nNameBufferSize = ctypes.c_uint64(nNameNeededChars.value)
pNameBuffer = (ctypes.c_char * (nNameNeededChars.value))()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_object_getname(self._handle, nNameBufferSize, nNameNeededChars, pNameBuffer))
return pNameBuffer.value.decode()
def SetName(self, Name):
pName = ctypes.c_char_p(str.encode(Name))
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_object_setname(self._handle, pName))
def GetPartNumber(self):
nPartNumberBufferSize = ctypes.c_uint64(0)
nPartNumberNeededChars = ctypes.c_uint64(0)
pPartNumberBuffer = ctypes.c_char_p(None)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_object_getpartnumber(self._handle, nPartNumberBufferSize, nPartNumberNeededChars, pPartNumberBuffer))
nPartNumberBufferSize = ctypes.c_uint64(nPartNumberNeededChars.value)
pPartNumberBuffer = (ctypes.c_char * (nPartNumberNeededChars.value))()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_object_getpartnumber(self._handle, nPartNumberBufferSize, nPartNumberNeededChars, pPartNumberBuffer))
return pPartNumberBuffer.value.decode()
def SetPartNumber(self, PartNumber):
pPartNumber = ctypes.c_char_p(str.encode(PartNumber))
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_object_setpartnumber(self._handle, pPartNumber))
def IsMeshObject(self):
pIsMeshObject = ctypes.c_bool()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_object_ismeshobject(self._handle, pIsMeshObject))
return pIsMeshObject.value
def IsComponentsObject(self):
pIsComponentsObject = ctypes.c_bool()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_object_iscomponentsobject(self._handle, pIsComponentsObject))
return pIsComponentsObject.value
def IsValid(self):
pIsValid = ctypes.c_bool()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_object_isvalid(self._handle, pIsValid))
return pIsValid.value
def SetAttachmentAsThumbnail(self, AttachmentObject):
AttachmentHandle = None
if AttachmentObject:
AttachmentHandle = AttachmentObject._handle
else:
raise ELib3MFException(ErrorCodes.INVALIDPARAM, 'Invalid return/output value')
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_object_setattachmentasthumbnail(self._handle, AttachmentHandle))
def GetThumbnailAttachment(self):
AttachmentHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_object_getthumbnailattachment(self._handle, AttachmentHandle))
if AttachmentHandle:
AttachmentObject = Attachment(AttachmentHandle, self._wrapper)
else:
AttachmentObject = None
return AttachmentObject
def ClearThumbnailAttachment(self):
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_object_clearthumbnailattachment(self._handle))
def GetOutbox(self):
pOutbox = Box()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_object_getoutbox(self._handle, pOutbox))
return pOutbox
def GetUUID(self):
pHasUUID = ctypes.c_bool()
nUUIDBufferSize = ctypes.c_uint64(0)
nUUIDNeededChars = ctypes.c_uint64(0)
pUUIDBuffer = ctypes.c_char_p(None)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_object_getuuid(self._handle, pHasUUID, nUUIDBufferSize, nUUIDNeededChars, pUUIDBuffer))
nUUIDBufferSize = ctypes.c_uint64(nUUIDNeededChars.value)
pUUIDBuffer = (ctypes.c_char * (nUUIDNeededChars.value))()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_object_getuuid(self._handle, pHasUUID, nUUIDBufferSize, nUUIDNeededChars, pUUIDBuffer))
return pHasUUID.value, pUUIDBuffer.value.decode()
def SetUUID(self, UUID):
pUUID = ctypes.c_char_p(str.encode(UUID))
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_object_setuuid(self._handle, pUUID))
def GetMetaDataGroup(self):
MetaDataGroupHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_object_getmetadatagroup(self._handle, MetaDataGroupHandle))
if MetaDataGroupHandle:
MetaDataGroupObject = MetaDataGroup(MetaDataGroupHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return MetaDataGroupObject
def SetSlicesMeshResolution(self, MeshResolution):
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_object_setslicesmeshresolution(self._handle, MeshResolution))
def GetSlicesMeshResolution(self):
pMeshResolution = ctypes.c_int32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_object_getslicesmeshresolution(self._handle, pMeshResolution))
return SlicesMeshResolution(pMeshResolution.value)
def HasSlices(self, Recursive):
bRecursive = ctypes.c_bool(Recursive)
pHasSlices = ctypes.c_bool()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_object_hasslices(self._handle, bRecursive, pHasSlices))
return pHasSlices.value
def ClearSliceStack(self):
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_object_clearslicestack(self._handle))
def GetSliceStack(self):
SliceStackInstanceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_object_getslicestack(self._handle, SliceStackInstanceHandle))
if SliceStackInstanceHandle:
SliceStackInstanceObject = SliceStack(SliceStackInstanceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return SliceStackInstanceObject
def AssignSliceStack(self, SliceStackInstanceObject):
SliceStackInstanceHandle = None
if SliceStackInstanceObject:
SliceStackInstanceHandle = SliceStackInstanceObject._handle
else:
raise ELib3MFException(ErrorCodes.INVALIDPARAM, 'Invalid return/output value')
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_object_assignslicestack(self._handle, SliceStackInstanceHandle))
''' Class Implementation for MeshObject
'''
class MeshObject(Object):
def __init__(self, handle, wrapper):
Object.__init__(self, handle, wrapper)
def GetVertexCount(self):
pVertexCount = ctypes.c_uint32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_meshobject_getvertexcount(self._handle, pVertexCount))
return pVertexCount.value
def GetTriangleCount(self):
pVertexCount = ctypes.c_uint32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_meshobject_gettrianglecount(self._handle, pVertexCount))
return pVertexCount.value
def GetVertex(self, Index):
nIndex = ctypes.c_uint32(Index)
pCoordinates = Position()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_meshobject_getvertex(self._handle, nIndex, pCoordinates))
return pCoordinates
def SetVertex(self, Index, Coordinates):
nIndex = ctypes.c_uint32(Index)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_meshobject_setvertex(self._handle, nIndex, Coordinates))
def AddVertex(self, Coordinates):
pNewIndex = ctypes.c_uint32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_meshobject_addvertex(self._handle, Coordinates, pNewIndex))
return pNewIndex.value
def GetVertices(self):
nVerticesCount = ctypes.c_uint64(0)
nVerticesNeededCount = ctypes.c_uint64(0)
pVerticesBuffer = (Position*0)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_meshobject_getvertices(self._handle, nVerticesCount, nVerticesNeededCount, pVerticesBuffer))
nVerticesCount = ctypes.c_uint64(nVerticesNeededCount.value)
pVerticesBuffer = (Position * nVerticesNeededCount.value)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_meshobject_getvertices(self._handle, nVerticesCount, nVerticesNeededCount, pVerticesBuffer))
return [pVerticesBuffer[i] for i in range(nVerticesNeededCount.value)]
def GetTriangle(self, Index):
nIndex = ctypes.c_uint32(Index)
pIndices = Triangle()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_meshobject_gettriangle(self._handle, nIndex, pIndices))
return pIndices
def SetTriangle(self, Index, Indices):
nIndex = ctypes.c_uint32(Index)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_meshobject_settriangle(self._handle, nIndex, Indices))
def AddTriangle(self, Indices):
pNewIndex = ctypes.c_uint32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_meshobject_addtriangle(self._handle, Indices, pNewIndex))
return pNewIndex.value
def GetTriangleIndices(self):
nIndicesCount = ctypes.c_uint64(0)
nIndicesNeededCount = ctypes.c_uint64(0)
pIndicesBuffer = (Triangle*0)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_meshobject_gettriangleindices(self._handle, nIndicesCount, nIndicesNeededCount, pIndicesBuffer))
nIndicesCount = ctypes.c_uint64(nIndicesNeededCount.value)
pIndicesBuffer = (Triangle * nIndicesNeededCount.value)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_meshobject_gettriangleindices(self._handle, nIndicesCount, nIndicesNeededCount, pIndicesBuffer))
return [pIndicesBuffer[i] for i in range(nIndicesNeededCount.value)]
def SetObjectLevelProperty(self, UniqueResourceID, PropertyID):
nUniqueResourceID = ctypes.c_uint32(UniqueResourceID)
nPropertyID = ctypes.c_uint32(PropertyID)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_meshobject_setobjectlevelproperty(self._handle, nUniqueResourceID, nPropertyID))
def GetObjectLevelProperty(self):
pUniqueResourceID = ctypes.c_uint32()
pPropertyID = ctypes.c_uint32()
pHasObjectLevelProperty = ctypes.c_bool()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_meshobject_getobjectlevelproperty(self._handle, pUniqueResourceID, pPropertyID, pHasObjectLevelProperty))
return pUniqueResourceID.value, pPropertyID.value, pHasObjectLevelProperty.value
def SetTriangleProperties(self, Index, Properties):
nIndex = ctypes.c_uint32(Index)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_meshobject_settriangleproperties(self._handle, nIndex, Properties))
def GetTriangleProperties(self, Index):
nIndex = ctypes.c_uint32(Index)
pProperty = TriangleProperties()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_meshobject_gettriangleproperties(self._handle, nIndex, pProperty))
return pProperty
def SetAllTriangleProperties(self, PropertiesArray):
nPropertiesArrayCount = ctypes.c_uint64(len(PropertiesArray))
pPropertiesArrayBuffer = (TriangleProperties*len(PropertiesArray))(*PropertiesArray)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_meshobject_setalltriangleproperties(self._handle, nPropertiesArrayCount, pPropertiesArrayBuffer))
def GetAllTriangleProperties(self):
nPropertiesArrayCount = ctypes.c_uint64(0)
nPropertiesArrayNeededCount = ctypes.c_uint64(0)
pPropertiesArrayBuffer = (TriangleProperties*0)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_meshobject_getalltriangleproperties(self._handle, nPropertiesArrayCount, nPropertiesArrayNeededCount, pPropertiesArrayBuffer))
nPropertiesArrayCount = ctypes.c_uint64(nPropertiesArrayNeededCount.value)
pPropertiesArrayBuffer = (TriangleProperties * nPropertiesArrayNeededCount.value)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_meshobject_getalltriangleproperties(self._handle, nPropertiesArrayCount, nPropertiesArrayNeededCount, pPropertiesArrayBuffer))
return [pPropertiesArrayBuffer[i] for i in range(nPropertiesArrayNeededCount.value)]
def ClearAllProperties(self):
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_meshobject_clearallproperties(self._handle))
def SetGeometry(self, Vertices, Indices):
nVerticesCount = ctypes.c_uint64(len(Vertices))
pVerticesBuffer = (Position*len(Vertices))(*Vertices)
nIndicesCount = ctypes.c_uint64(len(Indices))
pIndicesBuffer = (Triangle*len(Indices))(*Indices)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_meshobject_setgeometry(self._handle, nVerticesCount, pVerticesBuffer, nIndicesCount, pIndicesBuffer))
def IsManifoldAndOriented(self):
pIsManifoldAndOriented = ctypes.c_bool()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_meshobject_ismanifoldandoriented(self._handle, pIsManifoldAndOriented))
return pIsManifoldAndOriented.value
def BeamLattice(self):
TheBeamLatticeHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_meshobject_beamlattice(self._handle, TheBeamLatticeHandle))
if TheBeamLatticeHandle:
TheBeamLatticeObject = BeamLattice(TheBeamLatticeHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return TheBeamLatticeObject
''' Class Implementation for BeamLattice
'''
class BeamLattice(Base):
def __init__(self, handle, wrapper):
Base.__init__(self, handle, wrapper)
def GetMinLength(self):
pMinLength = ctypes.c_double()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_beamlattice_getminlength(self._handle, pMinLength))
return pMinLength.value
def SetMinLength(self, MinLength):
dMinLength = ctypes.c_double(MinLength)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_beamlattice_setminlength(self._handle, dMinLength))
def GetClipping(self):
pClipMode = ctypes.c_int32()
pUniqueResourceID = ctypes.c_uint32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_beamlattice_getclipping(self._handle, pClipMode, pUniqueResourceID))
return BeamLatticeClipMode(pClipMode.value), pUniqueResourceID.value
def SetClipping(self, ClipMode, UniqueResourceID):
nUniqueResourceID = ctypes.c_uint32(UniqueResourceID)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_beamlattice_setclipping(self._handle, ClipMode, nUniqueResourceID))
def GetRepresentation(self):
pHasRepresentation = ctypes.c_bool()
pUniqueResourceID = ctypes.c_uint32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_beamlattice_getrepresentation(self._handle, pHasRepresentation, pUniqueResourceID))
return pHasRepresentation.value, pUniqueResourceID.value
def SetRepresentation(self, UniqueResourceID):
nUniqueResourceID = ctypes.c_uint32(UniqueResourceID)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_beamlattice_setrepresentation(self._handle, nUniqueResourceID))
def GetBallOptions(self):
pBallMode = ctypes.c_int32()
pBallRadius = ctypes.c_double()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_beamlattice_getballoptions(self._handle, pBallMode, pBallRadius))
return BeamLatticeBallMode(pBallMode.value), pBallRadius.value
def SetBallOptions(self, BallMode, BallRadius):
dBallRadius = ctypes.c_double(BallRadius)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_beamlattice_setballoptions(self._handle, BallMode, dBallRadius))
def GetBeamCount(self):
pCount = ctypes.c_uint32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_beamlattice_getbeamcount(self._handle, pCount))
return pCount.value
def GetBeam(self, Index):
nIndex = ctypes.c_uint32(Index)
pBeamInfo = Beam()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_beamlattice_getbeam(self._handle, nIndex, pBeamInfo))
return pBeamInfo
def AddBeam(self, BeamInfo):
pIndex = ctypes.c_uint32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_beamlattice_addbeam(self._handle, BeamInfo, pIndex))
return pIndex.value
def SetBeam(self, Index, BeamInfo):
nIndex = ctypes.c_uint32(Index)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_beamlattice_setbeam(self._handle, nIndex, BeamInfo))
def SetBeams(self, BeamInfo):
nBeamInfoCount = ctypes.c_uint64(len(BeamInfo))
pBeamInfoBuffer = (Beam*len(BeamInfo))(*BeamInfo)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_beamlattice_setbeams(self._handle, nBeamInfoCount, pBeamInfoBuffer))
def GetBeams(self):
nBeamInfoCount = ctypes.c_uint64(0)
nBeamInfoNeededCount = ctypes.c_uint64(0)
pBeamInfoBuffer = (Beam*0)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_beamlattice_getbeams(self._handle, nBeamInfoCount, nBeamInfoNeededCount, pBeamInfoBuffer))
nBeamInfoCount = ctypes.c_uint64(nBeamInfoNeededCount.value)
pBeamInfoBuffer = (Beam * nBeamInfoNeededCount.value)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_beamlattice_getbeams(self._handle, nBeamInfoCount, nBeamInfoNeededCount, pBeamInfoBuffer))
return [pBeamInfoBuffer[i] for i in range(nBeamInfoNeededCount.value)]
def GetBallCount(self):
pCount = ctypes.c_uint32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_beamlattice_getballcount(self._handle, pCount))
return pCount.value
def GetBall(self, Index):
nIndex = ctypes.c_uint32(Index)
pBallInfo = Ball()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_beamlattice_getball(self._handle, nIndex, pBallInfo))
return pBallInfo
def AddBall(self, BallInfo):
pIndex = ctypes.c_uint32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_beamlattice_addball(self._handle, BallInfo, pIndex))
return pIndex.value
def SetBall(self, Index, BallInfo):
nIndex = ctypes.c_uint32(Index)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_beamlattice_setball(self._handle, nIndex, BallInfo))
def SetBalls(self, BallInfo):
nBallInfoCount = ctypes.c_uint64(len(BallInfo))
pBallInfoBuffer = (Ball*len(BallInfo))(*BallInfo)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_beamlattice_setballs(self._handle, nBallInfoCount, pBallInfoBuffer))
def GetBalls(self):
nBallInfoCount = ctypes.c_uint64(0)
nBallInfoNeededCount = ctypes.c_uint64(0)
pBallInfoBuffer = (Ball*0)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_beamlattice_getballs(self._handle, nBallInfoCount, nBallInfoNeededCount, pBallInfoBuffer))
nBallInfoCount = ctypes.c_uint64(nBallInfoNeededCount.value)
pBallInfoBuffer = (Ball * nBallInfoNeededCount.value)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_beamlattice_getballs(self._handle, nBallInfoCount, nBallInfoNeededCount, pBallInfoBuffer))
return [pBallInfoBuffer[i] for i in range(nBallInfoNeededCount.value)]
def GetBeamSetCount(self):
pCount = ctypes.c_uint32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_beamlattice_getbeamsetcount(self._handle, pCount))
return pCount.value
def AddBeamSet(self):
BeamSetHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_beamlattice_addbeamset(self._handle, BeamSetHandle))
if BeamSetHandle:
BeamSetObject = BeamSet(BeamSetHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return BeamSetObject
def GetBeamSet(self, Index):
nIndex = ctypes.c_uint32(Index)
BeamSetHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_beamlattice_getbeamset(self._handle, nIndex, BeamSetHandle))
if BeamSetHandle:
BeamSetObject = BeamSet(BeamSetHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return BeamSetObject
''' Class Implementation for Component
'''
class Component(Base):
def __init__(self, handle, wrapper):
Base.__init__(self, handle, wrapper)
def GetObjectResource(self):
ObjectResourceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_component_getobjectresource(self._handle, ObjectResourceHandle))
if ObjectResourceHandle:
ObjectResourceObject = Object(ObjectResourceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ObjectResourceObject
def GetObjectResourceID(self):
pUniqueResourceID = ctypes.c_uint32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_component_getobjectresourceid(self._handle, pUniqueResourceID))
return pUniqueResourceID.value
def GetUUID(self):
pHasUUID = ctypes.c_bool()
nUUIDBufferSize = ctypes.c_uint64(0)
nUUIDNeededChars = ctypes.c_uint64(0)
pUUIDBuffer = ctypes.c_char_p(None)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_component_getuuid(self._handle, pHasUUID, nUUIDBufferSize, nUUIDNeededChars, pUUIDBuffer))
nUUIDBufferSize = ctypes.c_uint64(nUUIDNeededChars.value)
pUUIDBuffer = (ctypes.c_char * (nUUIDNeededChars.value))()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_component_getuuid(self._handle, pHasUUID, nUUIDBufferSize, nUUIDNeededChars, pUUIDBuffer))
return pHasUUID.value, pUUIDBuffer.value.decode()
def SetUUID(self, UUID):
pUUID = ctypes.c_char_p(str.encode(UUID))
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_component_setuuid(self._handle, pUUID))
def HasTransform(self):
pHasTransform = ctypes.c_bool()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_component_hastransform(self._handle, pHasTransform))
return pHasTransform.value
def GetTransform(self):
pTransform = Transform()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_component_gettransform(self._handle, pTransform))
return pTransform
def SetTransform(self, Transform):
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_component_settransform(self._handle, Transform))
''' Class Implementation for ComponentsObject
'''
class ComponentsObject(Object):
def __init__(self, handle, wrapper):
Object.__init__(self, handle, wrapper)
def AddComponent(self, ObjectResourceObject, Transform):
ObjectResourceHandle = None
if ObjectResourceObject:
ObjectResourceHandle = ObjectResourceObject._handle
else:
raise ELib3MFException(ErrorCodes.INVALIDPARAM, 'Invalid return/output value')
ComponentInstanceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_componentsobject_addcomponent(self._handle, ObjectResourceHandle, Transform, ComponentInstanceHandle))
if ComponentInstanceHandle:
ComponentInstanceObject = Component(ComponentInstanceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ComponentInstanceObject
def GetComponent(self, Index):
nIndex = ctypes.c_uint32(Index)
ComponentInstanceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_componentsobject_getcomponent(self._handle, nIndex, ComponentInstanceHandle))
if ComponentInstanceHandle:
ComponentInstanceObject = Component(ComponentInstanceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ComponentInstanceObject
def GetComponentCount(self):
pCount = ctypes.c_uint32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_componentsobject_getcomponentcount(self._handle, pCount))
return pCount.value
''' Class Implementation for BeamSet
'''
class BeamSet(Base):
def __init__(self, handle, wrapper):
Base.__init__(self, handle, wrapper)
def SetName(self, Name):
pName = ctypes.c_char_p(str.encode(Name))
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_beamset_setname(self._handle, pName))
def GetName(self):
nNameBufferSize = ctypes.c_uint64(0)
nNameNeededChars = ctypes.c_uint64(0)
pNameBuffer = ctypes.c_char_p(None)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_beamset_getname(self._handle, nNameBufferSize, nNameNeededChars, pNameBuffer))
nNameBufferSize = ctypes.c_uint64(nNameNeededChars.value)
pNameBuffer = (ctypes.c_char * (nNameNeededChars.value))()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_beamset_getname(self._handle, nNameBufferSize, nNameNeededChars, pNameBuffer))
return pNameBuffer.value.decode()
def SetIdentifier(self, Identifier):
pIdentifier = ctypes.c_char_p(str.encode(Identifier))
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_beamset_setidentifier(self._handle, pIdentifier))
def GetIdentifier(self):
nIdentifierBufferSize = ctypes.c_uint64(0)
nIdentifierNeededChars = ctypes.c_uint64(0)
pIdentifierBuffer = ctypes.c_char_p(None)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_beamset_getidentifier(self._handle, nIdentifierBufferSize, nIdentifierNeededChars, pIdentifierBuffer))
nIdentifierBufferSize = ctypes.c_uint64(nIdentifierNeededChars.value)
pIdentifierBuffer = (ctypes.c_char * (nIdentifierNeededChars.value))()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_beamset_getidentifier(self._handle, nIdentifierBufferSize, nIdentifierNeededChars, pIdentifierBuffer))
return pIdentifierBuffer.value.decode()
def GetReferenceCount(self):
pCount = ctypes.c_uint32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_beamset_getreferencecount(self._handle, pCount))
return pCount.value
def SetReferences(self, References):
nReferencesCount = ctypes.c_uint64(len(References))
pReferencesBuffer = (ctypes.c_uint32*len(References))(*References)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_beamset_setreferences(self._handle, nReferencesCount, pReferencesBuffer))
def GetReferences(self):
nReferencesCount = ctypes.c_uint64(0)
nReferencesNeededCount = ctypes.c_uint64(0)
pReferencesBuffer = (ctypes.c_uint32*0)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_beamset_getreferences(self._handle, nReferencesCount, nReferencesNeededCount, pReferencesBuffer))
nReferencesCount = ctypes.c_uint64(nReferencesNeededCount.value)
pReferencesBuffer = (ctypes.c_uint32 * nReferencesNeededCount.value)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_beamset_getreferences(self._handle, nReferencesCount, nReferencesNeededCount, pReferencesBuffer))
return [pReferencesBuffer[i] for i in range(nReferencesNeededCount.value)]
def GetBallReferenceCount(self):
pCount = ctypes.c_uint32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_beamset_getballreferencecount(self._handle, pCount))
return pCount.value
def SetBallReferences(self, BallReferences):
nBallReferencesCount = ctypes.c_uint64(len(BallReferences))
pBallReferencesBuffer = (ctypes.c_uint32*len(BallReferences))(*BallReferences)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_beamset_setballreferences(self._handle, nBallReferencesCount, pBallReferencesBuffer))
def GetBallReferences(self):
nBallReferencesCount = ctypes.c_uint64(0)
nBallReferencesNeededCount = ctypes.c_uint64(0)
pBallReferencesBuffer = (ctypes.c_uint32*0)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_beamset_getballreferences(self._handle, nBallReferencesCount, nBallReferencesNeededCount, pBallReferencesBuffer))
nBallReferencesCount = ctypes.c_uint64(nBallReferencesNeededCount.value)
pBallReferencesBuffer = (ctypes.c_uint32 * nBallReferencesNeededCount.value)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_beamset_getballreferences(self._handle, nBallReferencesCount, nBallReferencesNeededCount, pBallReferencesBuffer))
return [pBallReferencesBuffer[i] for i in range(nBallReferencesNeededCount.value)]
''' Class Implementation for BaseMaterialGroup
'''
class BaseMaterialGroup(Resource):
def __init__(self, handle, wrapper):
Resource.__init__(self, handle, wrapper)
def GetCount(self):
pCount = ctypes.c_uint32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_basematerialgroup_getcount(self._handle, pCount))
return pCount.value
def GetAllPropertyIDs(self):
nPropertyIDsCount = ctypes.c_uint64(0)
nPropertyIDsNeededCount = ctypes.c_uint64(0)
pPropertyIDsBuffer = (ctypes.c_uint32*0)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_basematerialgroup_getallpropertyids(self._handle, nPropertyIDsCount, nPropertyIDsNeededCount, pPropertyIDsBuffer))
nPropertyIDsCount = ctypes.c_uint64(nPropertyIDsNeededCount.value)
pPropertyIDsBuffer = (ctypes.c_uint32 * nPropertyIDsNeededCount.value)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_basematerialgroup_getallpropertyids(self._handle, nPropertyIDsCount, nPropertyIDsNeededCount, pPropertyIDsBuffer))
return [pPropertyIDsBuffer[i] for i in range(nPropertyIDsNeededCount.value)]
def AddMaterial(self, Name, DisplayColor):
pName = ctypes.c_char_p(str.encode(Name))
pPropertyID = ctypes.c_uint32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_basematerialgroup_addmaterial(self._handle, pName, DisplayColor, pPropertyID))
return pPropertyID.value
def RemoveMaterial(self, PropertyID):
nPropertyID = ctypes.c_uint32(PropertyID)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_basematerialgroup_removematerial(self._handle, nPropertyID))
def GetName(self, PropertyID):
nPropertyID = ctypes.c_uint32(PropertyID)
nNameBufferSize = ctypes.c_uint64(0)
nNameNeededChars = ctypes.c_uint64(0)
pNameBuffer = ctypes.c_char_p(None)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_basematerialgroup_getname(self._handle, nPropertyID, nNameBufferSize, nNameNeededChars, pNameBuffer))
nNameBufferSize = ctypes.c_uint64(nNameNeededChars.value)
pNameBuffer = (ctypes.c_char * (nNameNeededChars.value))()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_basematerialgroup_getname(self._handle, nPropertyID, nNameBufferSize, nNameNeededChars, pNameBuffer))
return pNameBuffer.value.decode()
def SetName(self, PropertyID, Name):
nPropertyID = ctypes.c_uint32(PropertyID)
pName = ctypes.c_char_p(str.encode(Name))
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_basematerialgroup_setname(self._handle, nPropertyID, pName))
def SetDisplayColor(self, PropertyID, TheColor):
nPropertyID = ctypes.c_uint32(PropertyID)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_basematerialgroup_setdisplaycolor(self._handle, nPropertyID, TheColor))
def GetDisplayColor(self, PropertyID):
nPropertyID = ctypes.c_uint32(PropertyID)
pTheColor = Color()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_basematerialgroup_getdisplaycolor(self._handle, nPropertyID, pTheColor))
return pTheColor
''' Class Implementation for ColorGroup
'''
class ColorGroup(Resource):
def __init__(self, handle, wrapper):
Resource.__init__(self, handle, wrapper)
def GetCount(self):
pCount = ctypes.c_uint32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_colorgroup_getcount(self._handle, pCount))
return pCount.value
def GetAllPropertyIDs(self):
nPropertyIDsCount = ctypes.c_uint64(0)
nPropertyIDsNeededCount = ctypes.c_uint64(0)
pPropertyIDsBuffer = (ctypes.c_uint32*0)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_colorgroup_getallpropertyids(self._handle, nPropertyIDsCount, nPropertyIDsNeededCount, pPropertyIDsBuffer))
nPropertyIDsCount = ctypes.c_uint64(nPropertyIDsNeededCount.value)
pPropertyIDsBuffer = (ctypes.c_uint32 * nPropertyIDsNeededCount.value)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_colorgroup_getallpropertyids(self._handle, nPropertyIDsCount, nPropertyIDsNeededCount, pPropertyIDsBuffer))
return [pPropertyIDsBuffer[i] for i in range(nPropertyIDsNeededCount.value)]
def AddColor(self, TheColor):
pPropertyID = ctypes.c_uint32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_colorgroup_addcolor(self._handle, TheColor, pPropertyID))
return pPropertyID.value
def RemoveColor(self, PropertyID):
nPropertyID = ctypes.c_uint32(PropertyID)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_colorgroup_removecolor(self._handle, nPropertyID))
def SetColor(self, PropertyID, TheColor):
nPropertyID = ctypes.c_uint32(PropertyID)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_colorgroup_setcolor(self._handle, nPropertyID, TheColor))
def GetColor(self, PropertyID):
nPropertyID = ctypes.c_uint32(PropertyID)
pTheColor = Color()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_colorgroup_getcolor(self._handle, nPropertyID, pTheColor))
return pTheColor
''' Class Implementation for Texture2DGroup
'''
class Texture2DGroup(Resource):
def __init__(self, handle, wrapper):
Resource.__init__(self, handle, wrapper)
def GetCount(self):
pCount = ctypes.c_uint32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_texture2dgroup_getcount(self._handle, pCount))
return pCount.value
def GetAllPropertyIDs(self):
nPropertyIDsCount = ctypes.c_uint64(0)
nPropertyIDsNeededCount = ctypes.c_uint64(0)
pPropertyIDsBuffer = (ctypes.c_uint32*0)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_texture2dgroup_getallpropertyids(self._handle, nPropertyIDsCount, nPropertyIDsNeededCount, pPropertyIDsBuffer))
nPropertyIDsCount = ctypes.c_uint64(nPropertyIDsNeededCount.value)
pPropertyIDsBuffer = (ctypes.c_uint32 * nPropertyIDsNeededCount.value)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_texture2dgroup_getallpropertyids(self._handle, nPropertyIDsCount, nPropertyIDsNeededCount, pPropertyIDsBuffer))
return [pPropertyIDsBuffer[i] for i in range(nPropertyIDsNeededCount.value)]
def AddTex2Coord(self, UVCoordinate):
pPropertyID = ctypes.c_uint32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_texture2dgroup_addtex2coord(self._handle, UVCoordinate, pPropertyID))
return pPropertyID.value
def GetTex2Coord(self, PropertyID):
nPropertyID = ctypes.c_uint32(PropertyID)
pUVCoordinate = Tex2Coord()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_texture2dgroup_gettex2coord(self._handle, nPropertyID, pUVCoordinate))
return pUVCoordinate
def RemoveTex2Coord(self, PropertyID):
nPropertyID = ctypes.c_uint32(PropertyID)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_texture2dgroup_removetex2coord(self._handle, nPropertyID))
def GetTexture2D(self):
Texture2DInstanceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_texture2dgroup_gettexture2d(self._handle, Texture2DInstanceHandle))
if Texture2DInstanceHandle:
Texture2DInstanceObject = Texture2D(Texture2DInstanceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return Texture2DInstanceObject
''' Class Implementation for CompositeMaterials
'''
class CompositeMaterials(Resource):
def __init__(self, handle, wrapper):
Resource.__init__(self, handle, wrapper)
def GetCount(self):
pCount = ctypes.c_uint32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_compositematerials_getcount(self._handle, pCount))
return pCount.value
def GetAllPropertyIDs(self):
nPropertyIDsCount = ctypes.c_uint64(0)
nPropertyIDsNeededCount = ctypes.c_uint64(0)
pPropertyIDsBuffer = (ctypes.c_uint32*0)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_compositematerials_getallpropertyids(self._handle, nPropertyIDsCount, nPropertyIDsNeededCount, pPropertyIDsBuffer))
nPropertyIDsCount = ctypes.c_uint64(nPropertyIDsNeededCount.value)
pPropertyIDsBuffer = (ctypes.c_uint32 * nPropertyIDsNeededCount.value)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_compositematerials_getallpropertyids(self._handle, nPropertyIDsCount, nPropertyIDsNeededCount, pPropertyIDsBuffer))
return [pPropertyIDsBuffer[i] for i in range(nPropertyIDsNeededCount.value)]
def GetBaseMaterialGroup(self):
BaseMaterialGroupInstanceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_compositematerials_getbasematerialgroup(self._handle, BaseMaterialGroupInstanceHandle))
if BaseMaterialGroupInstanceHandle:
BaseMaterialGroupInstanceObject = BaseMaterialGroup(BaseMaterialGroupInstanceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return BaseMaterialGroupInstanceObject
def AddComposite(self, Composite):
nCompositeCount = ctypes.c_uint64(len(Composite))
pCompositeBuffer = (CompositeConstituent*len(Composite))(*Composite)
pPropertyID = ctypes.c_uint32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_compositematerials_addcomposite(self._handle, nCompositeCount, pCompositeBuffer, pPropertyID))
return pPropertyID.value
def RemoveComposite(self, PropertyID):
nPropertyID = ctypes.c_uint32(PropertyID)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_compositematerials_removecomposite(self._handle, nPropertyID))
def GetComposite(self, PropertyID):
nPropertyID = ctypes.c_uint32(PropertyID)
nCompositeCount = ctypes.c_uint64(0)
nCompositeNeededCount = ctypes.c_uint64(0)
pCompositeBuffer = (CompositeConstituent*0)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_compositematerials_getcomposite(self._handle, nPropertyID, nCompositeCount, nCompositeNeededCount, pCompositeBuffer))
nCompositeCount = ctypes.c_uint64(nCompositeNeededCount.value)
pCompositeBuffer = (CompositeConstituent * nCompositeNeededCount.value)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_compositematerials_getcomposite(self._handle, nPropertyID, nCompositeCount, nCompositeNeededCount, pCompositeBuffer))
return [pCompositeBuffer[i] for i in range(nCompositeNeededCount.value)]
''' Class Implementation for MultiPropertyGroup
'''
class MultiPropertyGroup(Resource):
def __init__(self, handle, wrapper):
Resource.__init__(self, handle, wrapper)
def GetCount(self):
pCount = ctypes.c_uint32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_multipropertygroup_getcount(self._handle, pCount))
return pCount.value
def GetAllPropertyIDs(self):
nPropertyIDsCount = ctypes.c_uint64(0)
nPropertyIDsNeededCount = ctypes.c_uint64(0)
pPropertyIDsBuffer = (ctypes.c_uint32*0)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_multipropertygroup_getallpropertyids(self._handle, nPropertyIDsCount, nPropertyIDsNeededCount, pPropertyIDsBuffer))
nPropertyIDsCount = ctypes.c_uint64(nPropertyIDsNeededCount.value)
pPropertyIDsBuffer = (ctypes.c_uint32 * nPropertyIDsNeededCount.value)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_multipropertygroup_getallpropertyids(self._handle, nPropertyIDsCount, nPropertyIDsNeededCount, pPropertyIDsBuffer))
return [pPropertyIDsBuffer[i] for i in range(nPropertyIDsNeededCount.value)]
def AddMultiProperty(self, PropertyIDs):
nPropertyIDsCount = ctypes.c_uint64(len(PropertyIDs))
pPropertyIDsBuffer = (ctypes.c_uint32*len(PropertyIDs))(*PropertyIDs)
pPropertyID = ctypes.c_uint32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_multipropertygroup_addmultiproperty(self._handle, nPropertyIDsCount, pPropertyIDsBuffer, pPropertyID))
return pPropertyID.value
def SetMultiProperty(self, PropertyID, PropertyIDs):
nPropertyID = ctypes.c_uint32(PropertyID)
nPropertyIDsCount = ctypes.c_uint64(len(PropertyIDs))
pPropertyIDsBuffer = (ctypes.c_uint32*len(PropertyIDs))(*PropertyIDs)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_multipropertygroup_setmultiproperty(self._handle, nPropertyID, nPropertyIDsCount, pPropertyIDsBuffer))
def GetMultiProperty(self, PropertyID):
nPropertyID = ctypes.c_uint32(PropertyID)
nPropertyIDsCount = ctypes.c_uint64(0)
nPropertyIDsNeededCount = ctypes.c_uint64(0)
pPropertyIDsBuffer = (ctypes.c_uint32*0)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_multipropertygroup_getmultiproperty(self._handle, nPropertyID, nPropertyIDsCount, nPropertyIDsNeededCount, pPropertyIDsBuffer))
nPropertyIDsCount = ctypes.c_uint64(nPropertyIDsNeededCount.value)
pPropertyIDsBuffer = (ctypes.c_uint32 * nPropertyIDsNeededCount.value)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_multipropertygroup_getmultiproperty(self._handle, nPropertyID, nPropertyIDsCount, nPropertyIDsNeededCount, pPropertyIDsBuffer))
return [pPropertyIDsBuffer[i] for i in range(nPropertyIDsNeededCount.value)]
def RemoveMultiProperty(self, PropertyID):
nPropertyID = ctypes.c_uint32(PropertyID)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_multipropertygroup_removemultiproperty(self._handle, nPropertyID))
def GetLayerCount(self):
pCount = ctypes.c_uint32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_multipropertygroup_getlayercount(self._handle, pCount))
return pCount.value
def AddLayer(self, TheLayer):
pLayerIndex = ctypes.c_uint32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_multipropertygroup_addlayer(self._handle, TheLayer, pLayerIndex))
return pLayerIndex.value
def GetLayer(self, LayerIndex):
nLayerIndex = ctypes.c_uint32(LayerIndex)
pTheLayer = MultiPropertyLayer()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_multipropertygroup_getlayer(self._handle, nLayerIndex, pTheLayer))
return pTheLayer
def RemoveLayer(self, LayerIndex):
nLayerIndex = ctypes.c_uint32(LayerIndex)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_multipropertygroup_removelayer(self._handle, nLayerIndex))
''' Class Implementation for Attachment
'''
class Attachment(Base):
def __init__(self, handle, wrapper):
Base.__init__(self, handle, wrapper)
def GetPath(self):
nPathBufferSize = ctypes.c_uint64(0)
nPathNeededChars = ctypes.c_uint64(0)
pPathBuffer = ctypes.c_char_p(None)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_attachment_getpath(self._handle, nPathBufferSize, nPathNeededChars, pPathBuffer))
nPathBufferSize = ctypes.c_uint64(nPathNeededChars.value)
pPathBuffer = (ctypes.c_char * (nPathNeededChars.value))()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_attachment_getpath(self._handle, nPathBufferSize, nPathNeededChars, pPathBuffer))
return pPathBuffer.value.decode()
def SetPath(self, Path):
pPath = ctypes.c_char_p(str.encode(Path))
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_attachment_setpath(self._handle, pPath))
def PackagePart(self):
PackagePartHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_attachment_packagepart(self._handle, PackagePartHandle))
if PackagePartHandle:
PackagePartObject = PackagePart(PackagePartHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return PackagePartObject
def GetRelationShipType(self):
nPathBufferSize = ctypes.c_uint64(0)
nPathNeededChars = ctypes.c_uint64(0)
pPathBuffer = ctypes.c_char_p(None)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_attachment_getrelationshiptype(self._handle, nPathBufferSize, nPathNeededChars, pPathBuffer))
nPathBufferSize = ctypes.c_uint64(nPathNeededChars.value)
pPathBuffer = (ctypes.c_char * (nPathNeededChars.value))()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_attachment_getrelationshiptype(self._handle, nPathBufferSize, nPathNeededChars, pPathBuffer))
return pPathBuffer.value.decode()
def SetRelationShipType(self, Path):
pPath = ctypes.c_char_p(str.encode(Path))
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_attachment_setrelationshiptype(self._handle, pPath))
def WriteToFile(self, FileName):
pFileName = ctypes.c_char_p(str.encode(FileName))
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_attachment_writetofile(self._handle, pFileName))
def ReadFromFile(self, FileName):
pFileName = ctypes.c_char_p(str.encode(FileName))
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_attachment_readfromfile(self._handle, pFileName))
def ReadFromCallback(self, TheReadCallbackFunc, StreamSize, TheSeekCallbackFunc, UserData):
nStreamSize = ctypes.c_uint64(StreamSize)
pUserData = ctypes.c_void_p(UserData)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_attachment_readfromcallback(self._handle, TheReadCallbackFunc, nStreamSize, TheSeekCallbackFunc, pUserData))
def GetStreamSize(self):
pStreamSize = ctypes.c_uint64()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_attachment_getstreamsize(self._handle, pStreamSize))
return pStreamSize.value
def WriteToBuffer(self):
nBufferCount = ctypes.c_uint64(0)
nBufferNeededCount = ctypes.c_uint64(0)
pBufferBuffer = (ctypes.c_uint8*0)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_attachment_writetobuffer(self._handle, nBufferCount, nBufferNeededCount, pBufferBuffer))
nBufferCount = ctypes.c_uint64(nBufferNeededCount.value)
pBufferBuffer = (ctypes.c_uint8 * nBufferNeededCount.value)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_attachment_writetobuffer(self._handle, nBufferCount, nBufferNeededCount, pBufferBuffer))
return [pBufferBuffer[i] for i in range(nBufferNeededCount.value)]
def ReadFromBuffer(self, Buffer):
nBufferCount = ctypes.c_uint64(len(Buffer))
pBufferBuffer = (ctypes.c_uint8*len(Buffer))(*Buffer)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_attachment_readfrombuffer(self._handle, nBufferCount, pBufferBuffer))
''' Class Implementation for Texture2D
'''
class Texture2D(Resource):
def __init__(self, handle, wrapper):
Resource.__init__(self, handle, wrapper)
def GetAttachment(self):
AttachmentHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_texture2d_getattachment(self._handle, AttachmentHandle))
if AttachmentHandle:
AttachmentObject = Attachment(AttachmentHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return AttachmentObject
def SetAttachment(self, AttachmentObject):
AttachmentHandle = None
if AttachmentObject:
AttachmentHandle = AttachmentObject._handle
else:
raise ELib3MFException(ErrorCodes.INVALIDPARAM, 'Invalid return/output value')
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_texture2d_setattachment(self._handle, AttachmentHandle))
def GetContentType(self):
pContentType = ctypes.c_int32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_texture2d_getcontenttype(self._handle, pContentType))
return TextureType(pContentType.value)
def SetContentType(self, ContentType):
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_texture2d_setcontenttype(self._handle, ContentType))
def GetTileStyleUV(self):
pTileStyleU = ctypes.c_int32()
pTileStyleV = ctypes.c_int32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_texture2d_gettilestyleuv(self._handle, pTileStyleU, pTileStyleV))
return TextureTileStyle(pTileStyleU.value), TextureTileStyle(pTileStyleV.value)
def SetTileStyleUV(self, TileStyleU, TileStyleV):
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_texture2d_settilestyleuv(self._handle, TileStyleU, TileStyleV))
def GetFilter(self):
pFilter = ctypes.c_int32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_texture2d_getfilter(self._handle, pFilter))
return TextureFilter(pFilter.value)
def SetFilter(self, Filter):
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_texture2d_setfilter(self._handle, Filter))
''' Class Implementation for BuildItem
'''
class BuildItem(Base):
def __init__(self, handle, wrapper):
Base.__init__(self, handle, wrapper)
def GetObjectResource(self):
ObjectResourceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_builditem_getobjectresource(self._handle, ObjectResourceHandle))
if ObjectResourceHandle:
ObjectResourceObject = Object(ObjectResourceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ObjectResourceObject
def GetUUID(self):
pHasUUID = ctypes.c_bool()
nUUIDBufferSize = ctypes.c_uint64(0)
nUUIDNeededChars = ctypes.c_uint64(0)
pUUIDBuffer = ctypes.c_char_p(None)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_builditem_getuuid(self._handle, pHasUUID, nUUIDBufferSize, nUUIDNeededChars, pUUIDBuffer))
nUUIDBufferSize = ctypes.c_uint64(nUUIDNeededChars.value)
pUUIDBuffer = (ctypes.c_char * (nUUIDNeededChars.value))()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_builditem_getuuid(self._handle, pHasUUID, nUUIDBufferSize, nUUIDNeededChars, pUUIDBuffer))
return pHasUUID.value, pUUIDBuffer.value.decode()
def SetUUID(self, UUID):
pUUID = ctypes.c_char_p(str.encode(UUID))
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_builditem_setuuid(self._handle, pUUID))
def GetObjectResourceID(self):
pUniqueResourceID = ctypes.c_uint32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_builditem_getobjectresourceid(self._handle, pUniqueResourceID))
return pUniqueResourceID.value
def HasObjectTransform(self):
pHasTransform = ctypes.c_bool()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_builditem_hasobjecttransform(self._handle, pHasTransform))
return pHasTransform.value
def GetObjectTransform(self):
pTransform = Transform()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_builditem_getobjecttransform(self._handle, pTransform))
return pTransform
def SetObjectTransform(self, Transform):
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_builditem_setobjecttransform(self._handle, Transform))
def GetPartNumber(self):
nPartNumberBufferSize = ctypes.c_uint64(0)
nPartNumberNeededChars = ctypes.c_uint64(0)
pPartNumberBuffer = ctypes.c_char_p(None)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_builditem_getpartnumber(self._handle, nPartNumberBufferSize, nPartNumberNeededChars, pPartNumberBuffer))
nPartNumberBufferSize = ctypes.c_uint64(nPartNumberNeededChars.value)
pPartNumberBuffer = (ctypes.c_char * (nPartNumberNeededChars.value))()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_builditem_getpartnumber(self._handle, nPartNumberBufferSize, nPartNumberNeededChars, pPartNumberBuffer))
return pPartNumberBuffer.value.decode()
def SetPartNumber(self, SetPartnumber):
pSetPartnumber = ctypes.c_char_p(str.encode(SetPartnumber))
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_builditem_setpartnumber(self._handle, pSetPartnumber))
def GetMetaDataGroup(self):
MetaDataGroupHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_builditem_getmetadatagroup(self._handle, MetaDataGroupHandle))
if MetaDataGroupHandle:
MetaDataGroupObject = MetaDataGroup(MetaDataGroupHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return MetaDataGroupObject
def GetOutbox(self):
pOutbox = Box()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_builditem_getoutbox(self._handle, pOutbox))
return pOutbox
''' Class Implementation for BuildItemIterator
'''
class BuildItemIterator(Base):
def __init__(self, handle, wrapper):
Base.__init__(self, handle, wrapper)
def MoveNext(self):
pHasNext = ctypes.c_bool()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_builditemiterator_movenext(self._handle, pHasNext))
return pHasNext.value
def MovePrevious(self):
pHasPrevious = ctypes.c_bool()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_builditemiterator_moveprevious(self._handle, pHasPrevious))
return pHasPrevious.value
def GetCurrent(self):
BuildItemHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_builditemiterator_getcurrent(self._handle, BuildItemHandle))
if BuildItemHandle:
BuildItemObject = BuildItem(BuildItemHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return BuildItemObject
def Clone(self):
OutBuildItemIteratorHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_builditemiterator_clone(self._handle, OutBuildItemIteratorHandle))
if OutBuildItemIteratorHandle:
OutBuildItemIteratorObject = BuildItemIterator(OutBuildItemIteratorHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return OutBuildItemIteratorObject
def Count(self):
pCount = ctypes.c_uint64()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_builditemiterator_count(self._handle, pCount))
return pCount.value
''' Class Implementation for Slice
'''
class Slice(Base):
def __init__(self, handle, wrapper):
Base.__init__(self, handle, wrapper)
def SetVertices(self, Vertices):
nVerticesCount = ctypes.c_uint64(len(Vertices))
pVerticesBuffer = (Position2D*len(Vertices))(*Vertices)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_slice_setvertices(self._handle, nVerticesCount, pVerticesBuffer))
def GetVertices(self):
nVerticesCount = ctypes.c_uint64(0)
nVerticesNeededCount = ctypes.c_uint64(0)
pVerticesBuffer = (Position2D*0)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_slice_getvertices(self._handle, nVerticesCount, nVerticesNeededCount, pVerticesBuffer))
nVerticesCount = ctypes.c_uint64(nVerticesNeededCount.value)
pVerticesBuffer = (Position2D * nVerticesNeededCount.value)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_slice_getvertices(self._handle, nVerticesCount, nVerticesNeededCount, pVerticesBuffer))
return [pVerticesBuffer[i] for i in range(nVerticesNeededCount.value)]
def GetVertexCount(self):
pCount = ctypes.c_uint64()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_slice_getvertexcount(self._handle, pCount))
return pCount.value
def AddPolygon(self, Indices):
nIndicesCount = ctypes.c_uint64(len(Indices))
pIndicesBuffer = (ctypes.c_uint32*len(Indices))(*Indices)
pIndex = ctypes.c_uint64()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_slice_addpolygon(self._handle, nIndicesCount, pIndicesBuffer, pIndex))
return pIndex.value
def GetPolygonCount(self):
pCount = ctypes.c_uint64()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_slice_getpolygoncount(self._handle, pCount))
return pCount.value
def SetPolygonIndices(self, Index, Indices):
nIndex = ctypes.c_uint64(Index)
nIndicesCount = ctypes.c_uint64(len(Indices))
pIndicesBuffer = (ctypes.c_uint32*len(Indices))(*Indices)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_slice_setpolygonindices(self._handle, nIndex, nIndicesCount, pIndicesBuffer))
def GetPolygonIndices(self, Index):
nIndex = ctypes.c_uint64(Index)
nIndicesCount = ctypes.c_uint64(0)
nIndicesNeededCount = ctypes.c_uint64(0)
pIndicesBuffer = (ctypes.c_uint32*0)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_slice_getpolygonindices(self._handle, nIndex, nIndicesCount, nIndicesNeededCount, pIndicesBuffer))
nIndicesCount = ctypes.c_uint64(nIndicesNeededCount.value)
pIndicesBuffer = (ctypes.c_uint32 * nIndicesNeededCount.value)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_slice_getpolygonindices(self._handle, nIndex, nIndicesCount, nIndicesNeededCount, pIndicesBuffer))
return [pIndicesBuffer[i] for i in range(nIndicesNeededCount.value)]
def GetPolygonIndexCount(self, Index):
nIndex = ctypes.c_uint64(Index)
pCount = ctypes.c_uint64()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_slice_getpolygonindexcount(self._handle, nIndex, pCount))
return pCount.value
def GetZTop(self):
pZTop = ctypes.c_double()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_slice_getztop(self._handle, pZTop))
return pZTop.value
''' Class Implementation for SliceStack
'''
class SliceStack(Resource):
def __init__(self, handle, wrapper):
Resource.__init__(self, handle, wrapper)
def GetBottomZ(self):
pZBottom = ctypes.c_double()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_slicestack_getbottomz(self._handle, pZBottom))
return pZBottom.value
def GetSliceCount(self):
pCount = ctypes.c_uint64()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_slicestack_getslicecount(self._handle, pCount))
return pCount.value
def GetSlice(self, SliceIndex):
nSliceIndex = ctypes.c_uint64(SliceIndex)
TheSliceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_slicestack_getslice(self._handle, nSliceIndex, TheSliceHandle))
if TheSliceHandle:
TheSliceObject = Slice(TheSliceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return TheSliceObject
def AddSlice(self, ZTop):
dZTop = ctypes.c_double(ZTop)
TheSliceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_slicestack_addslice(self._handle, dZTop, TheSliceHandle))
if TheSliceHandle:
TheSliceObject = Slice(TheSliceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return TheSliceObject
def GetSliceRefCount(self):
pCount = ctypes.c_uint64()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_slicestack_getslicerefcount(self._handle, pCount))
return pCount.value
def AddSliceStackReference(self, TheSliceStackObject):
TheSliceStackHandle = None
if TheSliceStackObject:
TheSliceStackHandle = TheSliceStackObject._handle
else:
raise ELib3MFException(ErrorCodes.INVALIDPARAM, 'Invalid return/output value')
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_slicestack_addslicestackreference(self._handle, TheSliceStackHandle))
def GetSliceStackReference(self, SliceRefIndex):
nSliceRefIndex = ctypes.c_uint64(SliceRefIndex)
TheSliceStackHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_slicestack_getslicestackreference(self._handle, nSliceRefIndex, TheSliceStackHandle))
if TheSliceStackHandle:
TheSliceStackObject = SliceStack(TheSliceStackHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return TheSliceStackObject
def CollapseSliceReferences(self):
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_slicestack_collapseslicereferences(self._handle))
def SetOwnPath(self, Path):
pPath = ctypes.c_char_p(str.encode(Path))
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_slicestack_setownpath(self._handle, pPath))
def GetOwnPath(self):
nPathBufferSize = ctypes.c_uint64(0)
nPathNeededChars = ctypes.c_uint64(0)
pPathBuffer = ctypes.c_char_p(None)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_slicestack_getownpath(self._handle, nPathBufferSize, nPathNeededChars, pPathBuffer))
nPathBufferSize = ctypes.c_uint64(nPathNeededChars.value)
pPathBuffer = (ctypes.c_char * (nPathNeededChars.value))()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_slicestack_getownpath(self._handle, nPathBufferSize, nPathNeededChars, pPathBuffer))
return pPathBuffer.value.decode()
''' Class Implementation for Consumer
'''
class Consumer(Base):
def __init__(self, handle, wrapper):
Base.__init__(self, handle, wrapper)
def GetConsumerID(self):
nConsumerIDBufferSize = ctypes.c_uint64(0)
nConsumerIDNeededChars = ctypes.c_uint64(0)
pConsumerIDBuffer = ctypes.c_char_p(None)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_consumer_getconsumerid(self._handle, nConsumerIDBufferSize, nConsumerIDNeededChars, pConsumerIDBuffer))
nConsumerIDBufferSize = ctypes.c_uint64(nConsumerIDNeededChars.value)
pConsumerIDBuffer = (ctypes.c_char * (nConsumerIDNeededChars.value))()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_consumer_getconsumerid(self._handle, nConsumerIDBufferSize, nConsumerIDNeededChars, pConsumerIDBuffer))
return pConsumerIDBuffer.value.decode()
def GetKeyID(self):
nKeyIDBufferSize = ctypes.c_uint64(0)
nKeyIDNeededChars = ctypes.c_uint64(0)
pKeyIDBuffer = ctypes.c_char_p(None)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_consumer_getkeyid(self._handle, nKeyIDBufferSize, nKeyIDNeededChars, pKeyIDBuffer))
nKeyIDBufferSize = ctypes.c_uint64(nKeyIDNeededChars.value)
pKeyIDBuffer = (ctypes.c_char * (nKeyIDNeededChars.value))()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_consumer_getkeyid(self._handle, nKeyIDBufferSize, nKeyIDNeededChars, pKeyIDBuffer))
return pKeyIDBuffer.value.decode()
def GetKeyValue(self):
nKeyValueBufferSize = ctypes.c_uint64(0)
nKeyValueNeededChars = ctypes.c_uint64(0)
pKeyValueBuffer = ctypes.c_char_p(None)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_consumer_getkeyvalue(self._handle, nKeyValueBufferSize, nKeyValueNeededChars, pKeyValueBuffer))
nKeyValueBufferSize = ctypes.c_uint64(nKeyValueNeededChars.value)
pKeyValueBuffer = (ctypes.c_char * (nKeyValueNeededChars.value))()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_consumer_getkeyvalue(self._handle, nKeyValueBufferSize, nKeyValueNeededChars, pKeyValueBuffer))
return pKeyValueBuffer.value.decode()
''' Class Implementation for AccessRight
'''
class AccessRight(Base):
def __init__(self, handle, wrapper):
Base.__init__(self, handle, wrapper)
def GetConsumer(self):
ConsumerHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_accessright_getconsumer(self._handle, ConsumerHandle))
if ConsumerHandle:
ConsumerObject = Consumer(ConsumerHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ConsumerObject
def GetWrappingAlgorithm(self):
pAlgorithm = ctypes.c_int32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_accessright_getwrappingalgorithm(self._handle, pAlgorithm))
return WrappingAlgorithm(pAlgorithm.value)
def GetMgfAlgorithm(self):
pAlgorithm = ctypes.c_int32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_accessright_getmgfalgorithm(self._handle, pAlgorithm))
return MgfAlgorithm(pAlgorithm.value)
def GetDigestMethod(self):
pAlgorithm = ctypes.c_int32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_accessright_getdigestmethod(self._handle, pAlgorithm))
return DigestMethod(pAlgorithm.value)
''' Class Implementation for ContentEncryptionParams
'''
class ContentEncryptionParams(Base):
def __init__(self, handle, wrapper):
Base.__init__(self, handle, wrapper)
def GetEncryptionAlgorithm(self):
pAlgorithm = ctypes.c_int32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_contentencryptionparams_getencryptionalgorithm(self._handle, pAlgorithm))
return EncryptionAlgorithm(pAlgorithm.value)
def GetKey(self):
nByteDataCount = ctypes.c_uint64(0)
nByteDataNeededCount = ctypes.c_uint64(0)
pByteDataBuffer = (ctypes.c_uint8*0)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_contentencryptionparams_getkey(self._handle, nByteDataCount, nByteDataNeededCount, pByteDataBuffer))
nByteDataCount = ctypes.c_uint64(nByteDataNeededCount.value)
pByteDataBuffer = (ctypes.c_uint8 * nByteDataNeededCount.value)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_contentencryptionparams_getkey(self._handle, nByteDataCount, nByteDataNeededCount, pByteDataBuffer))
return [pByteDataBuffer[i] for i in range(nByteDataNeededCount.value)]
def GetInitializationVector(self):
nByteDataCount = ctypes.c_uint64(0)
nByteDataNeededCount = ctypes.c_uint64(0)
pByteDataBuffer = (ctypes.c_uint8*0)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_contentencryptionparams_getinitializationvector(self._handle, nByteDataCount, nByteDataNeededCount, pByteDataBuffer))
nByteDataCount = ctypes.c_uint64(nByteDataNeededCount.value)
pByteDataBuffer = (ctypes.c_uint8 * nByteDataNeededCount.value)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_contentencryptionparams_getinitializationvector(self._handle, nByteDataCount, nByteDataNeededCount, pByteDataBuffer))
return [pByteDataBuffer[i] for i in range(nByteDataNeededCount.value)]
def GetAuthenticationTag(self):
nByteDataCount = ctypes.c_uint64(0)
nByteDataNeededCount = ctypes.c_uint64(0)
pByteDataBuffer = (ctypes.c_uint8*0)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_contentencryptionparams_getauthenticationtag(self._handle, nByteDataCount, nByteDataNeededCount, pByteDataBuffer))
nByteDataCount = ctypes.c_uint64(nByteDataNeededCount.value)
pByteDataBuffer = (ctypes.c_uint8 * nByteDataNeededCount.value)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_contentencryptionparams_getauthenticationtag(self._handle, nByteDataCount, nByteDataNeededCount, pByteDataBuffer))
return [pByteDataBuffer[i] for i in range(nByteDataNeededCount.value)]
def SetAuthenticationTag(self, ByteData):
nByteDataCount = ctypes.c_uint64(len(ByteData))
pByteDataBuffer = (ctypes.c_uint8*len(ByteData))(*ByteData)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_contentencryptionparams_setauthenticationtag(self._handle, nByteDataCount, pByteDataBuffer))
def GetAdditionalAuthenticationData(self):
nByteDataCount = ctypes.c_uint64(0)
nByteDataNeededCount = ctypes.c_uint64(0)
pByteDataBuffer = (ctypes.c_uint8*0)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_contentencryptionparams_getadditionalauthenticationdata(self._handle, nByteDataCount, nByteDataNeededCount, pByteDataBuffer))
nByteDataCount = ctypes.c_uint64(nByteDataNeededCount.value)
pByteDataBuffer = (ctypes.c_uint8 * nByteDataNeededCount.value)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_contentencryptionparams_getadditionalauthenticationdata(self._handle, nByteDataCount, nByteDataNeededCount, pByteDataBuffer))
return [pByteDataBuffer[i] for i in range(nByteDataNeededCount.value)]
def GetDescriptor(self):
pDescriptor = ctypes.c_uint64()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_contentencryptionparams_getdescriptor(self._handle, pDescriptor))
return pDescriptor.value
def GetKeyUUID(self):
nUUIDBufferSize = ctypes.c_uint64(0)
nUUIDNeededChars = ctypes.c_uint64(0)
pUUIDBuffer = ctypes.c_char_p(None)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_contentencryptionparams_getkeyuuid(self._handle, nUUIDBufferSize, nUUIDNeededChars, pUUIDBuffer))
nUUIDBufferSize = ctypes.c_uint64(nUUIDNeededChars.value)
pUUIDBuffer = (ctypes.c_char * (nUUIDNeededChars.value))()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_contentencryptionparams_getkeyuuid(self._handle, nUUIDBufferSize, nUUIDNeededChars, pUUIDBuffer))
return pUUIDBuffer.value.decode()
''' Class Implementation for ResourceData
'''
class ResourceData(Base):
def __init__(self, handle, wrapper):
Base.__init__(self, handle, wrapper)
def GetPath(self):
PathHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_resourcedata_getpath(self._handle, PathHandle))
if PathHandle:
PathObject = PackagePart(PathHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return PathObject
def GetEncryptionAlgorithm(self):
pEncryptionAlgorithm = ctypes.c_int32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_resourcedata_getencryptionalgorithm(self._handle, pEncryptionAlgorithm))
return EncryptionAlgorithm(pEncryptionAlgorithm.value)
def GetCompression(self):
pCompression = ctypes.c_int32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_resourcedata_getcompression(self._handle, pCompression))
return Compression(pCompression.value)
def GetAdditionalAuthenticationData(self):
nByteDataCount = ctypes.c_uint64(0)
nByteDataNeededCount = ctypes.c_uint64(0)
pByteDataBuffer = (ctypes.c_uint8*0)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_resourcedata_getadditionalauthenticationdata(self._handle, nByteDataCount, nByteDataNeededCount, pByteDataBuffer))
nByteDataCount = ctypes.c_uint64(nByteDataNeededCount.value)
pByteDataBuffer = (ctypes.c_uint8 * nByteDataNeededCount.value)()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_resourcedata_getadditionalauthenticationdata(self._handle, nByteDataCount, nByteDataNeededCount, pByteDataBuffer))
return [pByteDataBuffer[i] for i in range(nByteDataNeededCount.value)]
''' Class Implementation for ResourceDataGroup
'''
class ResourceDataGroup(Base):
def __init__(self, handle, wrapper):
Base.__init__(self, handle, wrapper)
def GetKeyUUID(self):
nUUIDBufferSize = ctypes.c_uint64(0)
nUUIDNeededChars = ctypes.c_uint64(0)
pUUIDBuffer = ctypes.c_char_p(None)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_resourcedatagroup_getkeyuuid(self._handle, nUUIDBufferSize, nUUIDNeededChars, pUUIDBuffer))
nUUIDBufferSize = ctypes.c_uint64(nUUIDNeededChars.value)
pUUIDBuffer = (ctypes.c_char * (nUUIDNeededChars.value))()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_resourcedatagroup_getkeyuuid(self._handle, nUUIDBufferSize, nUUIDNeededChars, pUUIDBuffer))
return pUUIDBuffer.value.decode()
def AddAccessRight(self, ConsumerObject, WrappingAlgorithm, MgfAlgorithm, DigestMethod):
ConsumerHandle = None
if ConsumerObject:
ConsumerHandle = ConsumerObject._handle
else:
raise ELib3MFException(ErrorCodes.INVALIDPARAM, 'Invalid return/output value')
TheAccessRightHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_resourcedatagroup_addaccessright(self._handle, ConsumerHandle, WrappingAlgorithm, MgfAlgorithm, DigestMethod, TheAccessRightHandle))
if TheAccessRightHandle:
TheAccessRightObject = AccessRight(TheAccessRightHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return TheAccessRightObject
def FindAccessRightByConsumer(self, ConsumerObject):
ConsumerHandle = None
if ConsumerObject:
ConsumerHandle = ConsumerObject._handle
else:
raise ELib3MFException(ErrorCodes.INVALIDPARAM, 'Invalid return/output value')
TheAccessRightHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_resourcedatagroup_findaccessrightbyconsumer(self._handle, ConsumerHandle, TheAccessRightHandle))
if TheAccessRightHandle:
TheAccessRightObject = AccessRight(TheAccessRightHandle, self._wrapper)
else:
TheAccessRightObject = None
return TheAccessRightObject
def RemoveAccessRight(self, ConsumerObject):
ConsumerHandle = None
if ConsumerObject:
ConsumerHandle = ConsumerObject._handle
else:
raise ELib3MFException(ErrorCodes.INVALIDPARAM, 'Invalid return/output value')
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_resourcedatagroup_removeaccessright(self._handle, ConsumerHandle))
''' Class Implementation for KeyStore
'''
class KeyStore(Base):
def __init__(self, handle, wrapper):
Base.__init__(self, handle, wrapper)
def AddConsumer(self, ConsumerID, KeyID, KeyValue):
pConsumerID = ctypes.c_char_p(str.encode(ConsumerID))
pKeyID = ctypes.c_char_p(str.encode(KeyID))
pKeyValue = ctypes.c_char_p(str.encode(KeyValue))
ConsumerHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_keystore_addconsumer(self._handle, pConsumerID, pKeyID, pKeyValue, ConsumerHandle))
if ConsumerHandle:
ConsumerObject = Consumer(ConsumerHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ConsumerObject
def GetConsumerCount(self):
pCount = ctypes.c_uint64()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_keystore_getconsumercount(self._handle, pCount))
return pCount.value
def GetConsumer(self, ConsumerIndex):
nConsumerIndex = ctypes.c_uint64(ConsumerIndex)
ConsumerHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_keystore_getconsumer(self._handle, nConsumerIndex, ConsumerHandle))
if ConsumerHandle:
ConsumerObject = Consumer(ConsumerHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ConsumerObject
def RemoveConsumer(self, ConsumerObject):
ConsumerHandle = None
if ConsumerObject:
ConsumerHandle = ConsumerObject._handle
else:
raise ELib3MFException(ErrorCodes.INVALIDPARAM, 'Invalid return/output value')
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_keystore_removeconsumer(self._handle, ConsumerHandle))
def FindConsumer(self, ConsumerID):
pConsumerID = ctypes.c_char_p(str.encode(ConsumerID))
ConsumerHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_keystore_findconsumer(self._handle, pConsumerID, ConsumerHandle))
if ConsumerHandle:
ConsumerObject = Consumer(ConsumerHandle, self._wrapper)
else:
ConsumerObject = None
return ConsumerObject
def GetResourceDataGroupCount(self):
pCount = ctypes.c_uint64()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_keystore_getresourcedatagroupcount(self._handle, pCount))
return pCount.value
def AddResourceDataGroup(self):
ResourceDataGroupHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_keystore_addresourcedatagroup(self._handle, ResourceDataGroupHandle))
if ResourceDataGroupHandle:
ResourceDataGroupObject = ResourceDataGroup(ResourceDataGroupHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ResourceDataGroupObject
def GetResourceDataGroup(self, ResourceDataIndex):
nResourceDataIndex = ctypes.c_uint64(ResourceDataIndex)
ResourceDataGroupHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_keystore_getresourcedatagroup(self._handle, nResourceDataIndex, ResourceDataGroupHandle))
if ResourceDataGroupHandle:
ResourceDataGroupObject = ResourceDataGroup(ResourceDataGroupHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ResourceDataGroupObject
def RemoveResourceDataGroup(self, ResourceDataGroupObject):
ResourceDataGroupHandle = None
if ResourceDataGroupObject:
ResourceDataGroupHandle = ResourceDataGroupObject._handle
else:
raise ELib3MFException(ErrorCodes.INVALIDPARAM, 'Invalid return/output value')
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_keystore_removeresourcedatagroup(self._handle, ResourceDataGroupHandle))
def FindResourceDataGroup(self, PartPathObject):
PartPathHandle = None
if PartPathObject:
PartPathHandle = PartPathObject._handle
else:
raise ELib3MFException(ErrorCodes.INVALIDPARAM, 'Invalid return/output value')
ResourceDataGroupHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_keystore_findresourcedatagroup(self._handle, PartPathHandle, ResourceDataGroupHandle))
if ResourceDataGroupHandle:
ResourceDataGroupObject = ResourceDataGroup(ResourceDataGroupHandle, self._wrapper)
else:
ResourceDataGroupObject = None
return ResourceDataGroupObject
def AddResourceData(self, ResourceDataGroupObject, PartPathObject, Algorithm, Compression, AdditionalAuthenticationData):
ResourceDataGroupHandle = None
if ResourceDataGroupObject:
ResourceDataGroupHandle = ResourceDataGroupObject._handle
else:
raise ELib3MFException(ErrorCodes.INVALIDPARAM, 'Invalid return/output value')
PartPathHandle = None
if PartPathObject:
PartPathHandle = PartPathObject._handle
else:
raise ELib3MFException(ErrorCodes.INVALIDPARAM, 'Invalid return/output value')
nAdditionalAuthenticationDataCount = ctypes.c_uint64(len(AdditionalAuthenticationData))
pAdditionalAuthenticationDataBuffer = (ctypes.c_uint8*len(AdditionalAuthenticationData))(*AdditionalAuthenticationData)
ResourceDataHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_keystore_addresourcedata(self._handle, ResourceDataGroupHandle, PartPathHandle, Algorithm, Compression, nAdditionalAuthenticationDataCount, pAdditionalAuthenticationDataBuffer, ResourceDataHandle))
if ResourceDataHandle:
ResourceDataObject = ResourceData(ResourceDataHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ResourceDataObject
def RemoveResourceData(self, ResourceDataObject):
ResourceDataHandle = None
if ResourceDataObject:
ResourceDataHandle = ResourceDataObject._handle
else:
raise ELib3MFException(ErrorCodes.INVALIDPARAM, 'Invalid return/output value')
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_keystore_removeresourcedata(self._handle, ResourceDataHandle))
def FindResourceData(self, ResourcePathObject):
ResourcePathHandle = None
if ResourcePathObject:
ResourcePathHandle = ResourcePathObject._handle
else:
raise ELib3MFException(ErrorCodes.INVALIDPARAM, 'Invalid return/output value')
ResourceDataHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_keystore_findresourcedata(self._handle, ResourcePathHandle, ResourceDataHandle))
if ResourceDataHandle:
ResourceDataObject = ResourceData(ResourceDataHandle, self._wrapper)
else:
ResourceDataObject = None
return ResourceDataObject
def GetResourceDataCount(self):
pCount = ctypes.c_uint64()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_keystore_getresourcedatacount(self._handle, pCount))
return pCount.value
def GetResourceData(self, ResourceDataIndex):
nResourceDataIndex = ctypes.c_uint64(ResourceDataIndex)
ResourceDataHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_keystore_getresourcedata(self._handle, nResourceDataIndex, ResourceDataHandle))
if ResourceDataHandle:
ResourceDataObject = ResourceData(ResourceDataHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ResourceDataObject
def GetUUID(self):
pHasUUID = ctypes.c_bool()
nUUIDBufferSize = ctypes.c_uint64(0)
nUUIDNeededChars = ctypes.c_uint64(0)
pUUIDBuffer = ctypes.c_char_p(None)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_keystore_getuuid(self._handle, pHasUUID, nUUIDBufferSize, nUUIDNeededChars, pUUIDBuffer))
nUUIDBufferSize = ctypes.c_uint64(nUUIDNeededChars.value)
pUUIDBuffer = (ctypes.c_char * (nUUIDNeededChars.value))()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_keystore_getuuid(self._handle, pHasUUID, nUUIDBufferSize, nUUIDNeededChars, pUUIDBuffer))
return pHasUUID.value, pUUIDBuffer.value.decode()
def SetUUID(self, UUID):
pUUID = ctypes.c_char_p(str.encode(UUID))
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_keystore_setuuid(self._handle, pUUID))
''' Class Implementation for Model
'''
class Model(Base):
def __init__(self, handle, wrapper):
Base.__init__(self, handle, wrapper)
def RootModelPart(self):
RootModelPartHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_rootmodelpart(self._handle, RootModelPartHandle))
if RootModelPartHandle:
RootModelPartObject = PackagePart(RootModelPartHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return RootModelPartObject
def FindOrCreatePackagePart(self, AbsolutePath):
pAbsolutePath = ctypes.c_char_p(str.encode(AbsolutePath))
ModelPartHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_findorcreatepackagepart(self._handle, pAbsolutePath, ModelPartHandle))
if ModelPartHandle:
ModelPartObject = PackagePart(ModelPartHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ModelPartObject
def SetUnit(self, Unit):
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_setunit(self._handle, Unit))
def GetUnit(self):
pUnit = ctypes.c_int32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_getunit(self._handle, pUnit))
return ModelUnit(pUnit.value)
def GetLanguage(self):
nLanguageBufferSize = ctypes.c_uint64(0)
nLanguageNeededChars = ctypes.c_uint64(0)
pLanguageBuffer = ctypes.c_char_p(None)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_getlanguage(self._handle, nLanguageBufferSize, nLanguageNeededChars, pLanguageBuffer))
nLanguageBufferSize = ctypes.c_uint64(nLanguageNeededChars.value)
pLanguageBuffer = (ctypes.c_char * (nLanguageNeededChars.value))()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_getlanguage(self._handle, nLanguageBufferSize, nLanguageNeededChars, pLanguageBuffer))
return pLanguageBuffer.value.decode()
def SetLanguage(self, Language):
pLanguage = ctypes.c_char_p(str.encode(Language))
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_setlanguage(self._handle, pLanguage))
def QueryWriter(self, WriterClass):
pWriterClass = ctypes.c_char_p(str.encode(WriterClass))
WriterInstanceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_querywriter(self._handle, pWriterClass, WriterInstanceHandle))
if WriterInstanceHandle:
WriterInstanceObject = Writer(WriterInstanceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return WriterInstanceObject
def QueryReader(self, ReaderClass):
pReaderClass = ctypes.c_char_p(str.encode(ReaderClass))
ReaderInstanceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_queryreader(self._handle, pReaderClass, ReaderInstanceHandle))
if ReaderInstanceHandle:
ReaderInstanceObject = Reader(ReaderInstanceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ReaderInstanceObject
def GetTexture2DByID(self, UniqueResourceID):
nUniqueResourceID = ctypes.c_uint32(UniqueResourceID)
TextureInstanceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_gettexture2dbyid(self._handle, nUniqueResourceID, TextureInstanceHandle))
if TextureInstanceHandle:
TextureInstanceObject = Texture2D(TextureInstanceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return TextureInstanceObject
def GetPropertyTypeByID(self, UniqueResourceID):
nUniqueResourceID = ctypes.c_uint32(UniqueResourceID)
pThePropertyType = ctypes.c_int32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_getpropertytypebyid(self._handle, nUniqueResourceID, pThePropertyType))
return PropertyType(pThePropertyType.value)
def GetBaseMaterialGroupByID(self, UniqueResourceID):
nUniqueResourceID = ctypes.c_uint32(UniqueResourceID)
BaseMaterialGroupInstanceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_getbasematerialgroupbyid(self._handle, nUniqueResourceID, BaseMaterialGroupInstanceHandle))
if BaseMaterialGroupInstanceHandle:
BaseMaterialGroupInstanceObject = BaseMaterialGroup(BaseMaterialGroupInstanceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return BaseMaterialGroupInstanceObject
def GetTexture2DGroupByID(self, UniqueResourceID):
nUniqueResourceID = ctypes.c_uint32(UniqueResourceID)
Texture2DGroupInstanceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_gettexture2dgroupbyid(self._handle, nUniqueResourceID, Texture2DGroupInstanceHandle))
if Texture2DGroupInstanceHandle:
Texture2DGroupInstanceObject = Texture2DGroup(Texture2DGroupInstanceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return Texture2DGroupInstanceObject
def GetCompositeMaterialsByID(self, UniqueResourceID):
nUniqueResourceID = ctypes.c_uint32(UniqueResourceID)
CompositeMaterialsInstanceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_getcompositematerialsbyid(self._handle, nUniqueResourceID, CompositeMaterialsInstanceHandle))
if CompositeMaterialsInstanceHandle:
CompositeMaterialsInstanceObject = CompositeMaterials(CompositeMaterialsInstanceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return CompositeMaterialsInstanceObject
def GetMultiPropertyGroupByID(self, UniqueResourceID):
nUniqueResourceID = ctypes.c_uint32(UniqueResourceID)
MultiPropertyGroupInstanceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_getmultipropertygroupbyid(self._handle, nUniqueResourceID, MultiPropertyGroupInstanceHandle))
if MultiPropertyGroupInstanceHandle:
MultiPropertyGroupInstanceObject = MultiPropertyGroup(MultiPropertyGroupInstanceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return MultiPropertyGroupInstanceObject
def GetMeshObjectByID(self, UniqueResourceID):
nUniqueResourceID = ctypes.c_uint32(UniqueResourceID)
MeshObjectInstanceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_getmeshobjectbyid(self._handle, nUniqueResourceID, MeshObjectInstanceHandle))
if MeshObjectInstanceHandle:
MeshObjectInstanceObject = MeshObject(MeshObjectInstanceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return MeshObjectInstanceObject
def GetComponentsObjectByID(self, UniqueResourceID):
nUniqueResourceID = ctypes.c_uint32(UniqueResourceID)
ComponentsObjectInstanceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_getcomponentsobjectbyid(self._handle, nUniqueResourceID, ComponentsObjectInstanceHandle))
if ComponentsObjectInstanceHandle:
ComponentsObjectInstanceObject = ComponentsObject(ComponentsObjectInstanceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ComponentsObjectInstanceObject
def GetColorGroupByID(self, UniqueResourceID):
nUniqueResourceID = ctypes.c_uint32(UniqueResourceID)
ColorGroupInstanceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_getcolorgroupbyid(self._handle, nUniqueResourceID, ColorGroupInstanceHandle))
if ColorGroupInstanceHandle:
ColorGroupInstanceObject = ColorGroup(ColorGroupInstanceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ColorGroupInstanceObject
def GetSliceStackByID(self, UniqueResourceID):
nUniqueResourceID = ctypes.c_uint32(UniqueResourceID)
SliceStacInstanceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_getslicestackbyid(self._handle, nUniqueResourceID, SliceStacInstanceHandle))
if SliceStacInstanceHandle:
SliceStacInstanceObject = SliceStack(SliceStacInstanceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return SliceStacInstanceObject
def GetBuildUUID(self):
pHasUUID = ctypes.c_bool()
nUUIDBufferSize = ctypes.c_uint64(0)
nUUIDNeededChars = ctypes.c_uint64(0)
pUUIDBuffer = ctypes.c_char_p(None)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_getbuilduuid(self._handle, pHasUUID, nUUIDBufferSize, nUUIDNeededChars, pUUIDBuffer))
nUUIDBufferSize = ctypes.c_uint64(nUUIDNeededChars.value)
pUUIDBuffer = (ctypes.c_char * (nUUIDNeededChars.value))()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_getbuilduuid(self._handle, pHasUUID, nUUIDBufferSize, nUUIDNeededChars, pUUIDBuffer))
return pHasUUID.value, pUUIDBuffer.value.decode()
def SetBuildUUID(self, UUID):
pUUID = ctypes.c_char_p(str.encode(UUID))
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_setbuilduuid(self._handle, pUUID))
def GetBuildItems(self):
BuildItemIteratorHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_getbuilditems(self._handle, BuildItemIteratorHandle))
if BuildItemIteratorHandle:
BuildItemIteratorObject = BuildItemIterator(BuildItemIteratorHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return BuildItemIteratorObject
def GetOutbox(self):
pOutbox = Box()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_getoutbox(self._handle, pOutbox))
return pOutbox
def GetResources(self):
ResourceIteratorHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_getresources(self._handle, ResourceIteratorHandle))
if ResourceIteratorHandle:
ResourceIteratorObject = ResourceIterator(ResourceIteratorHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ResourceIteratorObject
def GetObjects(self):
ResourceIteratorHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_getobjects(self._handle, ResourceIteratorHandle))
if ResourceIteratorHandle:
ResourceIteratorObject = ObjectIterator(ResourceIteratorHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ResourceIteratorObject
def GetMeshObjects(self):
ResourceIteratorHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_getmeshobjects(self._handle, ResourceIteratorHandle))
if ResourceIteratorHandle:
ResourceIteratorObject = MeshObjectIterator(ResourceIteratorHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ResourceIteratorObject
def GetComponentsObjects(self):
ResourceIteratorHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_getcomponentsobjects(self._handle, ResourceIteratorHandle))
if ResourceIteratorHandle:
ResourceIteratorObject = ComponentsObjectIterator(ResourceIteratorHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ResourceIteratorObject
def GetTexture2Ds(self):
ResourceIteratorHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_gettexture2ds(self._handle, ResourceIteratorHandle))
if ResourceIteratorHandle:
ResourceIteratorObject = Texture2DIterator(ResourceIteratorHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ResourceIteratorObject
def GetBaseMaterialGroups(self):
ResourceIteratorHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_getbasematerialgroups(self._handle, ResourceIteratorHandle))
if ResourceIteratorHandle:
ResourceIteratorObject = BaseMaterialGroupIterator(ResourceIteratorHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ResourceIteratorObject
def GetColorGroups(self):
ResourceIteratorHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_getcolorgroups(self._handle, ResourceIteratorHandle))
if ResourceIteratorHandle:
ResourceIteratorObject = ColorGroupIterator(ResourceIteratorHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ResourceIteratorObject
def GetTexture2DGroups(self):
ResourceIteratorHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_gettexture2dgroups(self._handle, ResourceIteratorHandle))
if ResourceIteratorHandle:
ResourceIteratorObject = Texture2DGroupIterator(ResourceIteratorHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ResourceIteratorObject
def GetCompositeMaterials(self):
ResourceIteratorHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_getcompositematerials(self._handle, ResourceIteratorHandle))
if ResourceIteratorHandle:
ResourceIteratorObject = CompositeMaterialsIterator(ResourceIteratorHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ResourceIteratorObject
def GetMultiPropertyGroups(self):
ResourceIteratorHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_getmultipropertygroups(self._handle, ResourceIteratorHandle))
if ResourceIteratorHandle:
ResourceIteratorObject = MultiPropertyGroupIterator(ResourceIteratorHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ResourceIteratorObject
def GetSliceStacks(self):
ResourceIteratorHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_getslicestacks(self._handle, ResourceIteratorHandle))
if ResourceIteratorHandle:
ResourceIteratorObject = SliceStackIterator(ResourceIteratorHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ResourceIteratorObject
def MergeToModel(self):
MergedModelInstanceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_mergetomodel(self._handle, MergedModelInstanceHandle))
if MergedModelInstanceHandle:
MergedModelInstanceObject = Model(MergedModelInstanceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return MergedModelInstanceObject
def AddMeshObject(self):
MeshObjectInstanceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_addmeshobject(self._handle, MeshObjectInstanceHandle))
if MeshObjectInstanceHandle:
MeshObjectInstanceObject = MeshObject(MeshObjectInstanceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return MeshObjectInstanceObject
def AddComponentsObject(self):
ComponentsObjectInstanceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_addcomponentsobject(self._handle, ComponentsObjectInstanceHandle))
if ComponentsObjectInstanceHandle:
ComponentsObjectInstanceObject = ComponentsObject(ComponentsObjectInstanceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ComponentsObjectInstanceObject
def AddSliceStack(self, ZBottom):
dZBottom = ctypes.c_double(ZBottom)
SliceStackInstanceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_addslicestack(self._handle, dZBottom, SliceStackInstanceHandle))
if SliceStackInstanceHandle:
SliceStackInstanceObject = SliceStack(SliceStackInstanceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return SliceStackInstanceObject
def AddTexture2DFromAttachment(self, TextureAttachmentObject):
TextureAttachmentHandle = None
if TextureAttachmentObject:
TextureAttachmentHandle = TextureAttachmentObject._handle
else:
raise ELib3MFException(ErrorCodes.INVALIDPARAM, 'Invalid return/output value')
Texture2DInstanceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_addtexture2dfromattachment(self._handle, TextureAttachmentHandle, Texture2DInstanceHandle))
if Texture2DInstanceHandle:
Texture2DInstanceObject = Texture2D(Texture2DInstanceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return Texture2DInstanceObject
def AddBaseMaterialGroup(self):
BaseMaterialGroupInstanceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_addbasematerialgroup(self._handle, BaseMaterialGroupInstanceHandle))
if BaseMaterialGroupInstanceHandle:
BaseMaterialGroupInstanceObject = BaseMaterialGroup(BaseMaterialGroupInstanceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return BaseMaterialGroupInstanceObject
def AddColorGroup(self):
ColorGroupInstanceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_addcolorgroup(self._handle, ColorGroupInstanceHandle))
if ColorGroupInstanceHandle:
ColorGroupInstanceObject = ColorGroup(ColorGroupInstanceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return ColorGroupInstanceObject
def AddTexture2DGroup(self, Texture2DInstanceObject):
Texture2DInstanceHandle = None
if Texture2DInstanceObject:
Texture2DInstanceHandle = Texture2DInstanceObject._handle
else:
raise ELib3MFException(ErrorCodes.INVALIDPARAM, 'Invalid return/output value')
Texture2DGroupInstanceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_addtexture2dgroup(self._handle, Texture2DInstanceHandle, Texture2DGroupInstanceHandle))
if Texture2DGroupInstanceHandle:
Texture2DGroupInstanceObject = Texture2DGroup(Texture2DGroupInstanceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return Texture2DGroupInstanceObject
def AddCompositeMaterials(self, BaseMaterialGroupInstanceObject):
BaseMaterialGroupInstanceHandle = None
if BaseMaterialGroupInstanceObject:
BaseMaterialGroupInstanceHandle = BaseMaterialGroupInstanceObject._handle
else:
raise ELib3MFException(ErrorCodes.INVALIDPARAM, 'Invalid return/output value')
CompositeMaterialsInstanceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_addcompositematerials(self._handle, BaseMaterialGroupInstanceHandle, CompositeMaterialsInstanceHandle))
if CompositeMaterialsInstanceHandle:
CompositeMaterialsInstanceObject = CompositeMaterials(CompositeMaterialsInstanceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return CompositeMaterialsInstanceObject
def AddMultiPropertyGroup(self):
MultiPropertyGroupInstanceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_addmultipropertygroup(self._handle, MultiPropertyGroupInstanceHandle))
if MultiPropertyGroupInstanceHandle:
MultiPropertyGroupInstanceObject = MultiPropertyGroup(MultiPropertyGroupInstanceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return MultiPropertyGroupInstanceObject
def AddBuildItem(self, ObjectObject, Transform):
ObjectHandle = None
if ObjectObject:
ObjectHandle = ObjectObject._handle
else:
raise ELib3MFException(ErrorCodes.INVALIDPARAM, 'Invalid return/output value')
BuildItemInstanceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_addbuilditem(self._handle, ObjectHandle, Transform, BuildItemInstanceHandle))
if BuildItemInstanceHandle:
BuildItemInstanceObject = BuildItem(BuildItemInstanceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return BuildItemInstanceObject
def RemoveBuildItem(self, BuildItemInstanceObject):
BuildItemInstanceHandle = None
if BuildItemInstanceObject:
BuildItemInstanceHandle = BuildItemInstanceObject._handle
else:
raise ELib3MFException(ErrorCodes.INVALIDPARAM, 'Invalid return/output value')
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_removebuilditem(self._handle, BuildItemInstanceHandle))
def GetMetaDataGroup(self):
TheMetaDataGroupHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_getmetadatagroup(self._handle, TheMetaDataGroupHandle))
if TheMetaDataGroupHandle:
TheMetaDataGroupObject = MetaDataGroup(TheMetaDataGroupHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return TheMetaDataGroupObject
def AddAttachment(self, URI, RelationShipType):
pURI = ctypes.c_char_p(str.encode(URI))
pRelationShipType = ctypes.c_char_p(str.encode(RelationShipType))
AttachmentInstanceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_addattachment(self._handle, pURI, pRelationShipType, AttachmentInstanceHandle))
if AttachmentInstanceHandle:
AttachmentInstanceObject = Attachment(AttachmentInstanceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return AttachmentInstanceObject
def RemoveAttachment(self, AttachmentInstanceObject):
AttachmentInstanceHandle = None
if AttachmentInstanceObject:
AttachmentInstanceHandle = AttachmentInstanceObject._handle
else:
raise ELib3MFException(ErrorCodes.INVALIDPARAM, 'Invalid return/output value')
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_removeattachment(self._handle, AttachmentInstanceHandle))
def GetAttachment(self, Index):
nIndex = ctypes.c_uint32(Index)
AttachmentInstanceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_getattachment(self._handle, nIndex, AttachmentInstanceHandle))
if AttachmentInstanceHandle:
AttachmentInstanceObject = Attachment(AttachmentInstanceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return AttachmentInstanceObject
def FindAttachment(self, URI):
pURI = ctypes.c_char_p(str.encode(URI))
AttachmentInstanceHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_findattachment(self._handle, pURI, AttachmentInstanceHandle))
if AttachmentInstanceHandle:
AttachmentInstanceObject = Attachment(AttachmentInstanceHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return AttachmentInstanceObject
def GetAttachmentCount(self):
pAttachmentCount = ctypes.c_uint32()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_getattachmentcount(self._handle, pAttachmentCount))
return pAttachmentCount.value
def HasPackageThumbnailAttachment(self):
pHasThumbnail = ctypes.c_bool()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_haspackagethumbnailattachment(self._handle, pHasThumbnail))
return pHasThumbnail.value
def CreatePackageThumbnailAttachment(self):
AttachmentHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_createpackagethumbnailattachment(self._handle, AttachmentHandle))
if AttachmentHandle:
AttachmentObject = Attachment(AttachmentHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return AttachmentObject
def GetPackageThumbnailAttachment(self):
AttachmentHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_getpackagethumbnailattachment(self._handle, AttachmentHandle))
if AttachmentHandle:
AttachmentObject = Attachment(AttachmentHandle, self._wrapper)
else:
AttachmentObject = None
return AttachmentObject
def RemovePackageThumbnailAttachment(self):
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_removepackagethumbnailattachment(self._handle))
def AddCustomContentType(self, Extension, ContentType):
pExtension = ctypes.c_char_p(str.encode(Extension))
pContentType = ctypes.c_char_p(str.encode(ContentType))
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_addcustomcontenttype(self._handle, pExtension, pContentType))
def RemoveCustomContentType(self, Extension):
pExtension = ctypes.c_char_p(str.encode(Extension))
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_removecustomcontenttype(self._handle, pExtension))
def SetRandomNumberCallback(self, TheCallbackFunc, UserData):
pUserData = ctypes.c_void_p(UserData)
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_setrandomnumbercallback(self._handle, TheCallbackFunc, pUserData))
def GetKeyStore(self):
KeyStoreHandle = ctypes.c_void_p()
self._wrapper.checkError(self, self._wrapper.lib.lib3mf_model_getkeystore(self._handle, KeyStoreHandle))
if KeyStoreHandle:
KeyStoreObject = KeyStore(KeyStoreHandle, self._wrapper)
else:
raise ELib3MFException(ErrorCodes.INVALIDCAST, 'Invalid return/output value')
return KeyStoreObject
| 51.455274 | 264 | 0.802972 | 42,938 | 372,176 | 6.698659 | 0.028203 | 0.086859 | 0.049446 | 0.044141 | 0.813564 | 0.785378 | 0.775949 | 0.762578 | 0.704496 | 0.684845 | 0 | 0.021014 | 0.100753 | 372,176 | 7,232 | 265 | 51.462389 | 0.8384 | 0 | 0 | 0.429511 | 0 | 0 | 0.040094 | 0.030533 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.00073 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6638c7835b80842234f927b7a52aa337842e3bd0 | 76 | py | Python | corrcli/test/__init__.py | faical-yannick-congo/corr-cli | 85f01b27b3735fba6270d1205f666196d6a7a70c | [
"MIT"
] | null | null | null | corrcli/test/__init__.py | faical-yannick-congo/corr-cli | 85f01b27b3735fba6270d1205f666196d6a7a70c | [
"MIT"
] | 5 | 2016-06-06T16:34:24.000Z | 2016-06-13T13:04:40.000Z | corrcli/test/__init__.py | wd15/corr-cmd | 320b37b6956cbe9c710d9995be872dcc6c881fed | [
"MIT"
] | null | null | null | api_key = 'c280480208dba6200038f311410d45d7377de3aab54bcdb43c9c9615a4167a5b' | 76 | 76 | 0.934211 | 3 | 76 | 23.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.581081 | 0.026316 | 76 | 1 | 76 | 76 | 0.364865 | 0 | 0 | 0 | 0 | 0 | 0.831169 | 0.831169 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b07db796e18620b020337e51610afd6c42e6f633 | 2,457 | py | Python | examples/echo-cli.py | rzbdz/libcoring | dffd4c2193ac4f2ab8822b5e047c056d6eb11f8d | [
"MIT"
] | 4 | 2022-01-08T21:03:07.000Z | 2022-02-18T11:15:10.000Z | examples/echo-cli.py | rzbdz/libcoring | dffd4c2193ac4f2ab8822b5e047c056d6eb11f8d | [
"MIT"
] | null | null | null | examples/echo-cli.py | rzbdz/libcoring | dffd4c2193ac4f2ab8822b5e047c056d6eb11f8d | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# funny helper to try echo_server.cpp
# use https://github.com/haraldh/rust_echo_bench for further testingc
import socket
HOST = "127.0.0.1" # The server's hostname or IP address
PORT = 9982 # The port used by the server
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
start = 1
junks = bytes(
"HFLSDNGKJDSGDSKL:NGEJNGOSDHGLKDSGJWE:LFHODSGNSDLGHDGLKSDJKGJDKSJGKSDGJKSDHFLSDNGKJDSGDSKL:NGEJNGOSDHGLKDSGJWE:LFHODSGNSDLGHDGLKSDJKGJDKSJGKSDGJKSDHFLSDNGKJDSGDSKL:NGEJNGOSDHGLKDSGJWE:LFHODSGNSDLGHDGLKSDJKGJDKSJGKSDGJKSDHFLSDNGKJDSGDSKL:NGEJNGOSDHGLKDSGJWE:LFHODSGNSDLGHDGLKSDJKGJDKSJGKSDGJKSDHFLSDNGKJDSGDSKL:NGEJNGOSDHGLKDSGJWE:LFHODSGNSDLGHDGLKSDJKGJDKSJGKSDGJKSDHFLSDNGKJDSGDSKL:NGEJNGOSDHGLKDSGJWE:LFHODSGNSDLGHDGLKSDJKGJDKSJGKSDGJKSDHFLSDNGKJDSGDSKL:NGEJNGOSDHGLKDSGJWE:LFHODSGNSDLGHDGLKSDJKGJDKSJGKSDGJKSDHFLSDNGKJDSGDSKL:NGEJNGOSDHGLKDSGJWE:LFHODSGNSDLGHDGLKSDJKGJDKSJGKSDGJKSDHFLSDNGKJDSGDSKL:NGEJNGOSDHGLKDSGJWE:LFHODSGNSDLGHDGLKSDJKGJDKSJGKSDGJKSDHFLSDNGKJDSGDSKL:NGEJNGOSDHGLKDSGJWE:LFHODSGNSDLGHDGLKSDJKGJDKSJGKSDGJKSDHFLSDNGKJDSGDSKL:NGEJNGOSDHGLKDSGJWE:LFHODSGNSDLGHDGLKSDJKGJDKSJGKSDGJKSDHFLSDNGKJDSGDSKL:NGEJNGOSDHGLKDSGJWE:LFHODSGNSDLGHDGLKSDJKGJDKSJGKSDGJKSDHFLSDNGKJDSGDSKL:NGEJNGOSDHGLKDSGJWE:LFHODSGNSDLGHDGLKSDJKGJDKSJGKSDGJKSDHFLSDN*(KJDS*(DSKL:N*(EJN*(OSDH*(LKDS*(JWE:LFHODS*(NSDL*(HD*(LKSDJK*(JDKSJ*(KSD*(JKSDHFLSDN*(KJDS*(DSKL:N*(EJN*(OSDH*(LKDS*(JWE:LFHODS*(NSDL*(HD*(LKSDJK*(JDKSJ*(KSD*(JKSDHFLSDN*(KJDS*(DSKL:N*(EJN*(OSDH*(LKDS*(JWE:LFHODS*(NSDL*(HD*(LKSDJK*(JDKSJ*(KSD*(JKSDHFLSDN*(KJDS*(DSKL:N*(EJN*(OSDH*(LKDS*(JWE:LFHODS*(NSDL*(HD*(LKSDJK*(JDKSJ*(KSD*(JKSDHFLSDN*(KJDS*(DSKL:N*(EJN*(OSDH*(LKDS*(JWE:LFHODS*(NSDL*(HD*(LKSDJK*(JDKSJ*(KSD*(JKSDHFLSDN*(KJDS*(DSKL:N*(EJN*(OSDH*(LKDS*(JWE:LFHODS*(NSDL*(HD*(LKSDJK*(JDKSJ*(KSD*(JKSDHFLSDN*(KJDS*(DSKL:N*(EJN*(OSDH*(LKDS*(JWE:LFHODS*(NSDL*(HD*(LKSDJK*(JDKSJ*(KSD*(JKSD",
'utf-8')
index = 0
s.connect((HOST, PORT))
print("connected, len is ", len(junks))
s.sendall(junks)
print("sent")
data = s.recv(len(junks) * 3)
print(f"recv:{data!r}")
while ((len(data) < len(junks) * 3)):
now = s.recv(len(junks))
if (len(now) == 0):
break
data += now
print(f"recv again, {data!r}")
if (junks.decode('utf-8') != data.decode('utf-8')):
print('fuck, total: ', len(data))
else:
print('Thankyou, you are correct, toal recv: ', len(data))
| 79.258065 | 1,555 | 0.760277 | 262 | 2,457 | 7.110687 | 0.358779 | 0.457327 | 0.57971 | 0.838433 | 0.683843 | 0.683843 | 0.683843 | 0.683843 | 0.683843 | 0.683843 | 0 | 0.008539 | 0.094424 | 2,457 | 30 | 1,556 | 81.9 | 0.828764 | 0.076923 | 0 | 0 | 0 | 0.04 | 0.739726 | 0.68228 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.04 | 0 | 0.04 | 0.24 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b08764669866236e72e32c900edd2a7ebf99dc46 | 112 | py | Python | tests/test_main.py | karin0018/EduNLP | 172c36a2cd2c41a1f1c5833d7b1abcbc5e3bbd5f | [
"Apache-2.0"
] | 18 | 2021-02-15T13:10:42.000Z | 2022-03-17T12:57:34.000Z | tests/test_main.py | karin0018/EduNLP | 172c36a2cd2c41a1f1c5833d7b1abcbc5e3bbd5f | [
"Apache-2.0"
] | 81 | 2021-06-02T07:45:20.000Z | 2022-03-29T15:21:32.000Z | tests/test_main.py | karin0018/EduNLP | 172c36a2cd2c41a1f1c5833d7b1abcbc5e3bbd5f | [
"Apache-2.0"
] | 29 | 2021-05-18T08:34:58.000Z | 2022-03-12T00:19:09.000Z | # coding: utf-8
# 2021/8/2 @ tongshiwei
from EduNLP.main import list_i2v
def test_list_i2v():
list_i2v()
| 12.444444 | 32 | 0.696429 | 19 | 112 | 3.894737 | 0.736842 | 0.283784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10989 | 0.1875 | 112 | 8 | 33 | 14 | 0.703297 | 0.3125 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
9feaf7836de3aecdd3d23448a27a18e98c3608c4 | 176 | py | Python | src/pylero/exceptions.py | yuxisun1217/pylero | 0210eb2243e02ab218f19a224e94eb63081f13e3 | [
"MIT"
] | null | null | null | src/pylero/exceptions.py | yuxisun1217/pylero | 0210eb2243e02ab218f19a224e94eb63081f13e3 | [
"MIT"
] | null | null | null | src/pylero/exceptions.py | yuxisun1217/pylero | 0210eb2243e02ab218f19a224e94eb63081f13e3 | [
"MIT"
] | null | null | null | # -*- coding: utf8 -*-
from __future__ import absolute_import, division, print_function
from __future__ import unicode_literals
class PyleroLibException(Exception):
pass
| 22 | 64 | 0.789773 | 19 | 176 | 6.736842 | 0.789474 | 0.15625 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006579 | 0.136364 | 176 | 7 | 65 | 25.142857 | 0.835526 | 0.113636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0.25 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
b006ab4512a06e064143fd4c379ffe2e99805b34 | 14,287 | py | Python | lang/python/github/com/metaprov/modelaapi/services/connection/v1/connection_pb2_grpc.py | metaprov/modeldapi | ee05693832051dcd990ee4f061715d7ae0787340 | [
"Apache-2.0"
] | 5 | 2022-02-18T03:40:10.000Z | 2022-03-01T16:11:24.000Z | lang/python/github/com/metaprov/modelaapi/services/connection/v1/connection_pb2_grpc.py | metaprov/modeldapi | ee05693832051dcd990ee4f061715d7ae0787340 | [
"Apache-2.0"
] | 1 | 2022-01-07T19:59:25.000Z | 2022-02-04T01:21:14.000Z | lang/python/github/com/metaprov/modelaapi/services/connection/v1/connection_pb2_grpc.py | metaprov/modeldapi | ee05693832051dcd990ee4f061715d7ae0787340 | [
"Apache-2.0"
] | 1 | 2022-03-25T10:21:43.000Z | 2022-03-25T10:21:43.000Z | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from github.com.metaprov.modelaapi.services.connection.v1 import connection_pb2 as github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_connection_dot_v1_dot_connection__pb2
class ConnectionServiceStub(object):
"""Missing associated documentation comment in .proto file."""
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.ListConnections = channel.unary_unary(
'/github.com.metaprov.modelaapi.services.connection.v1.ConnectionService/ListConnections',
request_serializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_connection_dot_v1_dot_connection__pb2.ListConnectionsRequest.SerializeToString,
response_deserializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_connection_dot_v1_dot_connection__pb2.ListConnectionsResponse.FromString,
)
self.CreateConnection = channel.unary_unary(
'/github.com.metaprov.modelaapi.services.connection.v1.ConnectionService/CreateConnection',
request_serializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_connection_dot_v1_dot_connection__pb2.CreateConnectionRequest.SerializeToString,
response_deserializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_connection_dot_v1_dot_connection__pb2.CreateConnectionResponse.FromString,
)
self.GetConnection = channel.unary_unary(
'/github.com.metaprov.modelaapi.services.connection.v1.ConnectionService/GetConnection',
request_serializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_connection_dot_v1_dot_connection__pb2.GetConnectionRequest.SerializeToString,
response_deserializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_connection_dot_v1_dot_connection__pb2.GetConnectionResponse.FromString,
)
self.UpdateConnection = channel.unary_unary(
'/github.com.metaprov.modelaapi.services.connection.v1.ConnectionService/UpdateConnection',
request_serializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_connection_dot_v1_dot_connection__pb2.UpdateConnectionRequest.SerializeToString,
response_deserializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_connection_dot_v1_dot_connection__pb2.UpdateConnectionResponse.FromString,
)
self.DeleteConnection = channel.unary_unary(
'/github.com.metaprov.modelaapi.services.connection.v1.ConnectionService/DeleteConnection',
request_serializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_connection_dot_v1_dot_connection__pb2.DeleteConnectionRequest.SerializeToString,
response_deserializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_connection_dot_v1_dot_connection__pb2.DeleteConnectionResponse.FromString,
)
self.TestConnection = channel.unary_unary(
'/github.com.metaprov.modelaapi.services.connection.v1.ConnectionService/TestConnection',
request_serializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_connection_dot_v1_dot_connection__pb2.TestConnectionRequest.SerializeToString,
response_deserializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_connection_dot_v1_dot_connection__pb2.TestConnectionResponse.FromString,
)
class ConnectionServiceServicer(object):
"""Missing associated documentation comment in .proto file."""
def ListConnections(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def CreateConnection(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def GetConnection(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def UpdateConnection(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def DeleteConnection(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def TestConnection(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def add_ConnectionServiceServicer_to_server(servicer, server):
rpc_method_handlers = {
'ListConnections': grpc.unary_unary_rpc_method_handler(
servicer.ListConnections,
request_deserializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_connection_dot_v1_dot_connection__pb2.ListConnectionsRequest.FromString,
response_serializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_connection_dot_v1_dot_connection__pb2.ListConnectionsResponse.SerializeToString,
),
'CreateConnection': grpc.unary_unary_rpc_method_handler(
servicer.CreateConnection,
request_deserializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_connection_dot_v1_dot_connection__pb2.CreateConnectionRequest.FromString,
response_serializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_connection_dot_v1_dot_connection__pb2.CreateConnectionResponse.SerializeToString,
),
'GetConnection': grpc.unary_unary_rpc_method_handler(
servicer.GetConnection,
request_deserializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_connection_dot_v1_dot_connection__pb2.GetConnectionRequest.FromString,
response_serializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_connection_dot_v1_dot_connection__pb2.GetConnectionResponse.SerializeToString,
),
'UpdateConnection': grpc.unary_unary_rpc_method_handler(
servicer.UpdateConnection,
request_deserializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_connection_dot_v1_dot_connection__pb2.UpdateConnectionRequest.FromString,
response_serializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_connection_dot_v1_dot_connection__pb2.UpdateConnectionResponse.SerializeToString,
),
'DeleteConnection': grpc.unary_unary_rpc_method_handler(
servicer.DeleteConnection,
request_deserializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_connection_dot_v1_dot_connection__pb2.DeleteConnectionRequest.FromString,
response_serializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_connection_dot_v1_dot_connection__pb2.DeleteConnectionResponse.SerializeToString,
),
'TestConnection': grpc.unary_unary_rpc_method_handler(
servicer.TestConnection,
request_deserializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_connection_dot_v1_dot_connection__pb2.TestConnectionRequest.FromString,
response_serializer=github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_connection_dot_v1_dot_connection__pb2.TestConnectionResponse.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'github.com.metaprov.modelaapi.services.connection.v1.ConnectionService', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
# This class is part of an EXPERIMENTAL API.
class ConnectionService(object):
"""Missing associated documentation comment in .proto file."""
@staticmethod
def ListConnections(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/github.com.metaprov.modelaapi.services.connection.v1.ConnectionService/ListConnections',
github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_connection_dot_v1_dot_connection__pb2.ListConnectionsRequest.SerializeToString,
github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_connection_dot_v1_dot_connection__pb2.ListConnectionsResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def CreateConnection(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/github.com.metaprov.modelaapi.services.connection.v1.ConnectionService/CreateConnection',
github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_connection_dot_v1_dot_connection__pb2.CreateConnectionRequest.SerializeToString,
github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_connection_dot_v1_dot_connection__pb2.CreateConnectionResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def GetConnection(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/github.com.metaprov.modelaapi.services.connection.v1.ConnectionService/GetConnection',
github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_connection_dot_v1_dot_connection__pb2.GetConnectionRequest.SerializeToString,
github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_connection_dot_v1_dot_connection__pb2.GetConnectionResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def UpdateConnection(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/github.com.metaprov.modelaapi.services.connection.v1.ConnectionService/UpdateConnection',
github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_connection_dot_v1_dot_connection__pb2.UpdateConnectionRequest.SerializeToString,
github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_connection_dot_v1_dot_connection__pb2.UpdateConnectionResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def DeleteConnection(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/github.com.metaprov.modelaapi.services.connection.v1.ConnectionService/DeleteConnection',
github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_connection_dot_v1_dot_connection__pb2.DeleteConnectionRequest.SerializeToString,
github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_connection_dot_v1_dot_connection__pb2.DeleteConnectionResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def TestConnection(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/github.com.metaprov.modelaapi.services.connection.v1.ConnectionService/TestConnection',
github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_connection_dot_v1_dot_connection__pb2.TestConnectionRequest.SerializeToString,
github_dot_com_dot_metaprov_dot_modelaapi_dot_services_dot_connection_dot_v1_dot_connection__pb2.TestConnectionResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
| 61.581897 | 180 | 0.750402 | 1,453 | 14,287 | 6.874742 | 0.07777 | 0.096306 | 0.044449 | 0.055561 | 0.892582 | 0.892582 | 0.892582 | 0.865152 | 0.853439 | 0.824006 | 0 | 0.007696 | 0.190523 | 14,287 | 231 | 181 | 61.848485 | 0.856031 | 0.052005 | 0 | 0.5 | 1 | 0 | 0.109939 | 0.082751 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072917 | false | 0 | 0.010417 | 0.03125 | 0.130208 | 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 |
b00d92d859ef427df2309adab47f4008c0981959 | 193 | py | Python | pydmfet/sdmfet/__init__.py | fishjojo/pydmfe | 93cfc655314933d3531b5733521a1f95a044f6cb | [
"MIT"
] | 3 | 2021-02-26T06:26:00.000Z | 2022-02-20T08:58:20.000Z | pydmfet/sdmfet/__init__.py | fishjojo/pydmfet | 93cfc655314933d3531b5733521a1f95a044f6cb | [
"MIT"
] | null | null | null | pydmfet/sdmfet/__init__.py | fishjojo/pydmfet | 93cfc655314933d3531b5733521a1f95a044f6cb | [
"MIT"
] | null | null | null | from pydmfet.sdmfet import dmfet
def DMFET(mf,mol_frag,mol_env, ints, cluster, impAtom, Ne_frag,**args):
return dmfet.DMFET(mf,mol_frag,mol_env, ints, cluster, impAtom, Ne_frag, **args)
| 32.166667 | 85 | 0.746114 | 32 | 193 | 4.3125 | 0.5 | 0.101449 | 0.144928 | 0.202899 | 0.695652 | 0.695652 | 0.695652 | 0.695652 | 0.695652 | 0.695652 | 0 | 0 | 0.124352 | 193 | 5 | 86 | 38.6 | 0.816568 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
b0263bc5b3855d4862789da9e28eeabca62d3ce5 | 38 | py | Python | 09_list.py | AmreshTripathy/Python | e86420fef7f52da393be5b50ac2f13bddfeb3306 | [
"Apache-2.0"
] | 4 | 2021-05-27T05:06:09.000Z | 2021-06-12T17:12:47.000Z | 09_list.py | AmreshTripathy/Python | e86420fef7f52da393be5b50ac2f13bddfeb3306 | [
"Apache-2.0"
] | null | null | null | 09_list.py | AmreshTripathy/Python | e86420fef7f52da393be5b50ac2f13bddfeb3306 | [
"Apache-2.0"
] | null | null | null | a = [1 ,2 ,3 ,4 ,56 ,6 ]
print (a[0]) | 19 | 25 | 0.394737 | 10 | 38 | 1.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.296296 | 0.289474 | 38 | 2 | 26 | 19 | 0.259259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
b05f0dbcf36a3e88d65dd63795207a92f92282bb | 41,977 | py | Python | tests/__init__.py | sokoslee/jvm.py | 5d5442bad2506880fc6af5a17933f9f241bbc487 | [
"Apache-2.0"
] | null | null | null | tests/__init__.py | sokoslee/jvm.py | 5d5442bad2506880fc6af5a17933f9f241bbc487 | [
"Apache-2.0"
] | null | null | null | tests/__init__.py | sokoslee/jvm.py | 5d5442bad2506880fc6af5a17933f9f241bbc487 | [
"Apache-2.0"
] | null | null | null | # This library is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation; either version 3 of the
# License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, see
# <http://www.gnu.org/licenses/>.
"""
unit tests for python-javatools
author: Christopher O'Brien <obriencj@gmail.com>
license: LGPL v.3
"""
from unittest import TestCase
import javatools as jt
import javatools.opcodes as op
import pkg_resources
def get_data_fn(which):
which = "data/%s" % which
fn = pkg_resources.resource_filename(__name__, which)
return fn
def get_class_fn(which):
return get_data_fn(which + ".class")
def load(which):
fn = get_class_fn(which)
return jt.unpack_classfile(fn)
class Sample1Tests(TestCase):
def test_is_class_file(self):
fn = get_class_fn("Sample1")
self.assertTrue(jt.is_class_file(fn))
def test_classinfo(self):
ci = load("Sample1")
self.assertEqual(type(ci), jt.JavaClassInfo)
self.assertEqual(ci.get_this(), "Sample1")
self.assertEqual(ci.pretty_this(), "Sample1")
self.assertEqual(ci.get_sourcefile(), "Sample1.java")
self.assertTrue(ci.is_public())
self.assertTrue(ci.is_super())
self.assertFalse(ci.is_final())
self.assertFalse(ci.is_interface())
self.assertFalse(ci.is_abstract())
self.assertFalse(ci.is_annotation())
self.assertFalse(ci.is_enum())
self.assertFalse(ci.is_deprecated())
self.assertEqual(ci.get_super(), "java/lang/Object")
self.assertEqual(ci.pretty_super(), "java.lang.Object")
# not a generic class, no signature
self.assertEqual(ci.get_signature(), None)
self.assertEqual(ci.pretty_signature(), None)
self.assertEqual(ci.pretty_descriptor(),
"public class Sample1 extends java.lang.Object")
self.assertEqual(ci.get_interfaces(), tuple())
self.assertEqual(tuple(ci.pretty_interfaces()), tuple())
# not an inner class, so no enclosing method
self.assertEqual(ci.get_enclosingmethod(), None)
self.assertEqual(ci.get_innerclasses(), tuple())
self.assertEqual(ci.get_annotations(), tuple())
self.assertEqual(ci.get_invisible_annotations(), tuple())
def test_const_pool(self):
ci = load("Sample1")
exp = ( (0, (None, None)),
(1, (jt.CONST_String, 24)),
(2, (jt.CONST_Methodref, (6, 25))),
(3, (jt.CONST_Methodref, (7, 26))),
(4, (jt.CONST_Fieldref, (6, 27))),
(5, (jt.CONST_Fieldref, (6, 28))),
(6, (jt.CONST_Class, 29)),
(7, (jt.CONST_Class, 30)),
(8, (jt.CONST_Utf8, 'DEFAULT_NAME')),
(9, (jt.CONST_Utf8, 'Ljava/lang/String;')),
(10, (jt.CONST_Utf8, u'ConstantValue')),
(11, (jt.CONST_Utf8, u'name')),
(12, (jt.CONST_Utf8, u'recent_name')),
(13, (jt.CONST_Utf8, u'<init>')),
(14, (jt.CONST_Utf8, u'()V')),
(15, (jt.CONST_Utf8, u'Code')),
(16, (jt.CONST_Utf8, u'LineNumberTable')),
(17, (jt.CONST_Utf8, u'(Ljava/lang/String;)V')),
(18, (jt.CONST_Utf8, u'getName')),
(19, (jt.CONST_Utf8, u'()Ljava/lang/String;')),
(20, (jt.CONST_Utf8, u'getRecentName')),
(21, (jt.CONST_Utf8, u'<clinit>')),
(22, (jt.CONST_Utf8, u'SourceFile')),
(23, (jt.CONST_Utf8, u'Sample1.java')),
(24, (jt.CONST_Utf8, u'Daphne')),
(25, (jt.CONST_NameAndType, (13, 17))),
(26, (jt.CONST_NameAndType, (13, 14))),
(27, (jt.CONST_NameAndType, (11, 9))),
(28, (jt.CONST_NameAndType, (12, 9))),
(29, (jt.CONST_Utf8, u'Sample1')),
(30, (jt.CONST_Utf8, u'java/lang/Object')) )
col = tuple(enumerate(ci.cpool.consts))
self.assertEqual(col, exp)
# requesting
x = lambda: ci.cpool.deref_const(0)
self.assertRaises(IndexError, x)
def test_field_name(self):
ci = load("Sample1")
fi = ci.get_field_by_name("name")
self.assertEqual(type(fi), jt.JavaMemberInfo)
self.assertEqual(fi.get_name(), "name")
self.assertEqual(fi.get_type_descriptor(),
"Ljava/lang/String;")
self.assertEqual(fi.get_descriptor(),
"Ljava/lang/String;")
self.assertEqual(fi.pretty_type(),
"java.lang.String")
self.assertEqual(fi.pretty_descriptor(),
"private java.lang.String name")
self.assertTrue(fi.is_private())
self.assertFalse(fi.is_public())
self.assertFalse(fi.is_protected())
self.assertFalse(fi.is_static())
self.assertFalse(fi.is_final())
self.assertFalse(fi.is_synchronized())
self.assertFalse(fi.is_native())
self.assertFalse(fi.is_abstract())
self.assertFalse(fi.is_strict())
self.assertFalse(fi.is_volatile())
self.assertFalse(fi.is_transient())
self.assertFalse(fi.is_bridge())
self.assertFalse(fi.is_varargs())
self.assertFalse(fi.is_synthetic())
self.assertFalse(fi.is_enum())
self.assertFalse(fi.is_module())
self.assertFalse(fi.is_deprecated())
self.assertFalse(fi.is_method)
self.assertEqual(fi.deref_constantvalue(), None)
def test_field_recent_name(self):
ci = load("Sample1")
fi = ci.get_field_by_name("recent_name")
self.assertEqual(type(fi), jt.JavaMemberInfo)
self.assertEqual(fi.get_name(), "recent_name")
self.assertEqual(fi.get_type_descriptor(),
"Ljava/lang/String;")
self.assertEqual(fi.get_descriptor(),
"Ljava/lang/String;")
self.assertEqual(fi.pretty_type(),
"java.lang.String")
self.assertEqual(fi.pretty_descriptor(),
"protected static java.lang.String recent_name")
self.assertTrue(fi.is_protected())
self.assertTrue(fi.is_static())
self.assertFalse(fi.is_public())
self.assertFalse(fi.is_private())
self.assertFalse(fi.is_final())
self.assertFalse(fi.is_synchronized())
self.assertFalse(fi.is_native())
self.assertFalse(fi.is_abstract())
self.assertFalse(fi.is_strict())
self.assertFalse(fi.is_volatile())
self.assertFalse(fi.is_transient())
self.assertFalse(fi.is_bridge())
self.assertFalse(fi.is_varargs())
self.assertFalse(fi.is_synthetic())
self.assertFalse(fi.is_enum())
self.assertFalse(fi.is_module())
self.assertFalse(fi.is_deprecated())
self.assertFalse(fi.is_method)
self.assertEqual(fi.deref_constantvalue(), None)
def test_field_default_name(self):
ci = load("Sample1")
fi = ci.get_field_by_name("DEFAULT_NAME")
self.assertEqual(type(fi), jt.JavaMemberInfo)
self.assertEqual(fi.get_name(), "DEFAULT_NAME")
self.assertEqual(fi.get_type_descriptor(),
"Ljava/lang/String;")
self.assertEqual(fi.get_descriptor(),
"Ljava/lang/String;")
self.assertEqual(fi.pretty_type(),
"java.lang.String")
self.assertEqual(fi.pretty_descriptor(),
"public static final java.lang.String DEFAULT_NAME")
self.assertTrue(fi.is_public())
self.assertTrue(fi.is_static())
self.assertTrue(fi.is_final())
self.assertFalse(fi.is_private())
self.assertFalse(fi.is_protected())
self.assertFalse(fi.is_synchronized())
self.assertFalse(fi.is_native())
self.assertFalse(fi.is_abstract())
self.assertFalse(fi.is_strict())
self.assertFalse(fi.is_volatile())
self.assertFalse(fi.is_transient())
self.assertFalse(fi.is_bridge())
self.assertFalse(fi.is_varargs())
self.assertFalse(fi.is_synthetic())
self.assertFalse(fi.is_enum())
self.assertFalse(fi.is_module())
self.assertFalse(fi.is_deprecated())
self.assertFalse(fi.is_method)
self.assertEqual(fi.deref_constantvalue(), "Daphne")
def test_method_init(self):
ci = load("Sample1")
mis = list(ci.get_methods_by_name("<init>"))
self.assertEqual(len(mis), 2)
mi0 = ci.get_method("<init>")
self.assertEqual(type(mi0), jt.JavaMemberInfo)
mi1 = ci.get_method("<init>", ["Ljava/lang/String;"])
self.assertEqual(type(mi1), jt.JavaMemberInfo)
self.assertEqual(mis, [mi0, mi1])
self.assertEqual(mi0.get_name(), "<init>")
self.assertEqual(mi0.get_type_descriptor(), "V")
self.assertEqual(mi0.get_descriptor(), "()V")
self.assertEqual(mi0.get_identifier(), "<init>()")
self.assertEqual(mi0.pretty_type(), "void")
self.assertEqual(mi0.pretty_descriptor(), "public <init>()")
self.assertEqual(mi0.pretty_identifier(), "<init>():void")
self.assertTrue(mi0.is_public())
self.assertTrue(mi0.is_method)
self.assertFalse(mi0.is_private())
self.assertFalse(mi0.is_protected())
self.assertFalse(mi0.is_static())
self.assertFalse(mi0.is_final())
self.assertFalse(mi0.is_synchronized())
self.assertFalse(mi0.is_native())
self.assertFalse(mi0.is_abstract())
self.assertFalse(mi0.is_strict())
self.assertFalse(mi0.is_volatile())
self.assertFalse(mi0.is_transient())
self.assertFalse(mi0.is_bridge())
self.assertFalse(mi0.is_varargs())
self.assertFalse(mi0.is_synthetic())
self.assertFalse(mi0.is_enum())
self.assertFalse(mi0.is_module())
self.assertFalse(mi0.is_deprecated())
self.assertEqual(mi1.get_name(), "<init>")
self.assertEqual(mi1.get_type_descriptor(), "V")
self.assertEqual(mi1.get_descriptor(),
"(Ljava/lang/String;)V")
self.assertEqual(mi1.get_identifier(),
"<init>(Ljava/lang/String;)")
self.assertEqual(mi1.pretty_type(), "void")
self.assertEqual(mi1.pretty_descriptor(),
"public <init>(java.lang.String)")
self.assertEqual(mi1.pretty_identifier(),
"<init>(java.lang.String):void")
self.assertTrue(mi1.is_public())
self.assertTrue(mi1.is_method)
self.assertFalse(mi1.is_private())
self.assertFalse(mi1.is_protected())
self.assertFalse(mi1.is_static())
self.assertFalse(mi1.is_final())
self.assertFalse(mi1.is_synchronized())
self.assertFalse(mi1.is_native())
self.assertFalse(mi1.is_abstract())
self.assertFalse(mi1.is_strict())
self.assertFalse(mi1.is_volatile())
self.assertFalse(mi1.is_transient())
self.assertFalse(mi1.is_bridge())
self.assertFalse(mi1.is_varargs())
self.assertFalse(mi1.is_synthetic())
self.assertFalse(mi1.is_enum())
self.assertFalse(mi1.is_module())
self.assertFalse(mi1.is_deprecated())
def test_method_get_name(self):
ci = load("Sample1")
mi = ci.get_method("getName")
self.assertEqual(type(mi), jt.JavaMemberInfo)
self.assertEqual(mi.get_name(), "getName")
self.assertEqual(mi.get_type_descriptor(), "Ljava/lang/String;")
self.assertEqual(mi.get_descriptor(), "()Ljava/lang/String;")
self.assertEqual(mi.get_identifier(), "getName()")
self.assertEqual(mi.pretty_type(), "java.lang.String")
self.assertEqual(mi.pretty_descriptor(),
"public java.lang.String getName()")
self.assertEqual(mi.pretty_identifier(),
"getName():java.lang.String")
self.assertTrue(mi.is_public())
self.assertTrue(mi.is_method)
self.assertFalse(mi.is_private())
self.assertFalse(mi.is_protected())
self.assertFalse(mi.is_static())
self.assertFalse(mi.is_final())
self.assertFalse(mi.is_synchronized())
self.assertFalse(mi.is_native())
self.assertFalse(mi.is_abstract())
self.assertFalse(mi.is_strict())
self.assertFalse(mi.is_volatile())
self.assertFalse(mi.is_transient())
self.assertFalse(mi.is_bridge())
self.assertFalse(mi.is_varargs())
self.assertFalse(mi.is_synthetic())
self.assertFalse(mi.is_enum())
self.assertFalse(mi.is_module())
self.assertFalse(mi.is_deprecated())
def test_method_code_name(self):
ci = load("Sample1")
mi = ci.get_method("getName")
code = mi.get_code()
self.assertEqual(type(code), jt.JavaCodeInfo)
lnt = code.get_linenumbertable()
exp = ((0, 18), )
self.assertEqual(lnt, exp)
lnt = code.get_relativelinenumbertable()
exp = ((0, 0), )
self.assertEqual(lnt, exp)
dis = tuple(code.disassemble())
exp = ((0, op.OP_aload_0, ()),
(1, op.OP_getfield, (4,)),
(4, op.OP_areturn, ()))
self.assertEqual(dis, exp)
# this is the field loaded via OP_getfield
self.assertEqual(ci.cpool.pretty_deref_const(4),
"Sample1.name:java.lang.String")
def test_method_get_recent_name(self):
ci = load("Sample1")
mi = ci.get_method("getRecentName")
self.assertEqual(type(mi), jt.JavaMemberInfo)
self.assertEqual(mi.get_name(), "getRecentName")
self.assertEqual(mi.get_type_descriptor(), "Ljava/lang/String;")
self.assertEqual(mi.get_descriptor(), "()Ljava/lang/String;")
self.assertEqual(mi.get_identifier(), "getRecentName()")
self.assertEqual(mi.pretty_type(), "java.lang.String")
self.assertEqual(mi.pretty_descriptor(),
"public static java.lang.String getRecentName()")
self.assertEqual(mi.pretty_identifier(),
"getRecentName():java.lang.String")
self.assertTrue(mi.is_public())
self.assertTrue(mi.is_static())
self.assertTrue(mi.is_method)
self.assertFalse(mi.is_private())
self.assertFalse(mi.is_protected())
self.assertFalse(mi.is_final())
self.assertFalse(mi.is_synchronized())
self.assertFalse(mi.is_native())
self.assertFalse(mi.is_abstract())
self.assertFalse(mi.is_strict())
self.assertFalse(mi.is_volatile())
self.assertFalse(mi.is_transient())
self.assertFalse(mi.is_bridge())
self.assertFalse(mi.is_varargs())
self.assertFalse(mi.is_synthetic())
self.assertFalse(mi.is_enum())
self.assertFalse(mi.is_module())
self.assertFalse(mi.is_deprecated())
def test_method_code_recent_name(self):
ci = load("Sample1")
mi = ci.get_method("getRecentName")
code = mi.get_code()
self.assertEqual(type(code), jt.JavaCodeInfo)
lnt = code.get_linenumbertable()
exp = ((0, 22), )
self.assertEqual(lnt, exp)
lnt = code.get_relativelinenumbertable()
exp = ((0, 0), )
self.assertEqual(lnt, exp)
dis = tuple(code.disassemble())
exp = ((0, op.OP_getstatic, (5,)),
(3, op.OP_areturn, ()))
self.assertEqual(dis, exp)
# this is the static field loaded via OP_getstatic
self.assertEqual(ci.cpool.pretty_deref_const(5),
"Sample1.recent_name:java.lang.String")
class Sample2Test(TestCase):
def test_interface(self):
ci = load("Sample2I")
self.assertEqual(type(ci), jt.JavaClassInfo)
self.assertEqual(ci.get_this(), "Sample2I")
self.assertEqual(ci.pretty_this(), "Sample2I")
self.assertEqual(ci.get_sourcefile(), "Sample2I.java")
self.assertTrue(ci.is_public())
self.assertTrue(ci.is_interface())
self.assertTrue(ci.is_abstract())
self.assertFalse(ci.is_final())
self.assertFalse(ci.is_super())
self.assertFalse(ci.is_annotation())
self.assertFalse(ci.is_enum())
self.assertFalse(ci.is_deprecated())
self.assertEqual(ci.get_super(), "java/lang/Object")
self.assertEqual(ci.pretty_super(), "java.lang.Object")
# not a generic class, no signature
self.assertEqual(ci.get_signature(), None)
self.assertEqual(ci.pretty_signature(), None)
self.assertEqual(ci.pretty_descriptor(),
"public abstract interface Sample2I"
" extends java.lang.Object")
self.assertEqual(ci.get_interfaces(), tuple())
self.assertEqual(tuple(ci.pretty_interfaces()), tuple())
# not an inner class, so no enclosing method
self.assertEqual(ci.get_enclosingmethod(), None)
self.assertEqual(ci.get_innerclasses(), tuple())
self.assertEqual(ci.get_annotations(), tuple())
self.assertEqual(ci.get_invisible_annotations(), tuple())
def test_abstract(self):
ci = load("Sample2A")
self.assertEqual(type(ci), jt.JavaClassInfo)
self.assertEqual(ci.get_this(), "Sample2A")
self.assertEqual(ci.pretty_this(), "Sample2A")
self.assertEqual(ci.get_sourcefile(), "Sample2A.java")
self.assertTrue(ci.is_public())
self.assertTrue(ci.is_abstract())
self.assertTrue(ci.is_super())
self.assertFalse(ci.is_final())
self.assertFalse(ci.is_interface())
self.assertFalse(ci.is_annotation())
self.assertFalse(ci.is_enum())
self.assertFalse(ci.is_deprecated())
self.assertEqual(ci.get_super(), "java/lang/Object")
self.assertEqual(ci.pretty_super(), "java.lang.Object")
# not a generic class, no signature
self.assertEqual(ci.get_signature(), None)
self.assertEqual(ci.pretty_signature(), None)
self.assertEqual(ci.pretty_descriptor(),
"public abstract class Sample2A"
" extends java.lang.Object"
" implements Sample2I")
self.assertEqual(ci.get_interfaces(), ("Sample2I",))
self.assertEqual(tuple(ci.pretty_interfaces()), ("Sample2I",))
# not an inner class, so no enclosing method
self.assertEqual(ci.get_enclosingmethod(), None)
self.assertEqual(ci.get_innerclasses(), tuple())
self.assertEqual(ci.get_annotations(), tuple())
self.assertEqual(ci.get_invisible_annotations(), tuple())
def test_abstract_methods(self):
ci = load("Sample2A")
mi = ci.get_method("getSample")
self.assertEqual(type(mi), jt.JavaMemberInfo)
self.assertEqual(mi.get_name(), "getSample")
self.assertEqual(mi.get_type_descriptor(), "LSample2A;")
self.assertEqual(mi.get_descriptor(), "()LSample2A;")
self.assertEqual(mi.get_identifier(), "getSample()")
self.assertEqual(mi.pretty_type(), "Sample2A")
self.assertEqual(mi.pretty_descriptor(),
"public Sample2A getSample()")
self.assertEqual(mi.pretty_identifier(),
"getSample():Sample2A")
self.assertTrue(mi.is_public())
self.assertTrue(mi.is_method)
self.assertFalse(mi.is_private())
self.assertFalse(mi.is_protected())
self.assertFalse(mi.is_static())
self.assertFalse(mi.is_final())
self.assertFalse(mi.is_synchronized())
self.assertFalse(mi.is_native())
self.assertFalse(mi.is_abstract())
self.assertFalse(mi.is_strict())
self.assertFalse(mi.is_volatile())
self.assertFalse(mi.is_transient())
self.assertFalse(mi.is_bridge())
self.assertFalse(mi.is_varargs())
self.assertFalse(mi.is_synthetic())
self.assertFalse(mi.is_enum())
self.assertFalse(mi.is_module())
self.assertFalse(mi.is_deprecated())
def test_abstract_method_bridges(self):
ci = load("Sample2A")
bis = tuple(ci.get_method_bridges("getSample"))
self.assertEqual(len(bis), 1)
mi = bis[0]
self.assertEqual(type(mi), jt.JavaMemberInfo)
self.assertEqual(mi.get_name(), "getSample")
self.assertEqual(mi.get_type_descriptor(), "LSample2I;")
self.assertEqual(mi.get_descriptor(), "()LSample2I;")
self.assertEqual(mi.get_identifier(),
"getSample():()LSample2I;")
self.assertEqual(mi.pretty_type(), "Sample2I")
self.assertEqual(mi.pretty_descriptor(),
"public Sample2I getSample()")
self.assertEqual(mi.pretty_identifier(),
"getSample():Sample2I")
self.assertTrue(mi.is_public())
self.assertTrue(mi.is_volatile())
self.assertTrue(mi.is_bridge())
self.assertTrue(mi.is_synthetic())
self.assertTrue(mi.is_method)
self.assertFalse(mi.is_private())
self.assertFalse(mi.is_protected())
self.assertFalse(mi.is_static())
self.assertFalse(mi.is_final())
self.assertFalse(mi.is_synchronized())
self.assertFalse(mi.is_native())
self.assertFalse(mi.is_abstract())
self.assertFalse(mi.is_strict())
self.assertFalse(mi.is_transient())
self.assertFalse(mi.is_varargs())
self.assertFalse(mi.is_enum())
self.assertFalse(mi.is_module())
self.assertFalse(mi.is_deprecated())
def test_classinfo(self):
ci = load("Sample2")
self.assertEqual(type(ci), jt.JavaClassInfo)
self.assertEqual(ci.get_this(), "Sample2")
self.assertEqual(ci.pretty_this(), "Sample2")
self.assertEqual(ci.get_sourcefile(), "Sample2.java")
self.assertTrue(ci.is_public())
self.assertTrue(ci.is_final())
self.assertTrue(ci.is_super())
self.assertFalse(ci.is_interface())
self.assertFalse(ci.is_abstract())
self.assertFalse(ci.is_annotation())
self.assertFalse(ci.is_enum())
self.assertFalse(ci.is_deprecated())
self.assertEqual(ci.get_super(), "Sample2A")
self.assertEqual(ci.pretty_super(), "Sample2A")
# not a generic class, no signature
self.assertEqual(ci.get_signature(), None)
self.assertEqual(ci.pretty_signature(), None)
self.assertEqual(ci.pretty_descriptor(),
"public final class Sample2"
" extends Sample2A")
# even though it extends an abstract which implements
# interfaces this class doesn't EXPLICITLY claim any
# interfaces, so there are none in the classfile ... it's
# added at runtime.
self.assertEqual(ci.get_interfaces(), tuple())
self.assertEqual(tuple(ci.pretty_interfaces()), tuple())
# not an inner class, so no enclosing method
self.assertEqual(ci.get_enclosingmethod(), None)
self.assertEqual(ci.get_innerclasses(), tuple())
self.assertEqual(ci.get_annotations(), tuple())
self.assertEqual(ci.get_invisible_annotations(), tuple())
def test_class_methods(self):
ci = load("Sample2")
mi = ci.get_method("getSample")
self.assertEqual(type(mi), jt.JavaMemberInfo)
self.assertEqual(mi.get_name(), "getSample")
self.assertEqual(mi.get_type_descriptor(), "LSample2;")
self.assertEqual(mi.get_descriptor(), "()LSample2;")
self.assertEqual(mi.get_identifier(), "getSample()")
self.assertEqual(mi.pretty_type(), "Sample2")
self.assertEqual(mi.pretty_descriptor(),
"public Sample2 getSample()")
self.assertEqual(mi.pretty_identifier(),
"getSample():Sample2")
self.assertTrue(mi.is_public())
self.assertTrue(mi.is_method)
self.assertFalse(mi.is_private())
self.assertFalse(mi.is_protected())
self.assertFalse(mi.is_static())
self.assertFalse(mi.is_final())
self.assertFalse(mi.is_synchronized())
self.assertFalse(mi.is_native())
self.assertFalse(mi.is_abstract())
self.assertFalse(mi.is_strict())
self.assertFalse(mi.is_volatile())
self.assertFalse(mi.is_transient())
self.assertFalse(mi.is_bridge())
self.assertFalse(mi.is_varargs())
self.assertFalse(mi.is_synthetic())
self.assertFalse(mi.is_enum())
self.assertFalse(mi.is_module())
self.assertFalse(mi.is_deprecated())
def test_class_method_bridges(self):
ci = load("Sample2")
# Sample2 extends Sample2A which implements Sample2I, and each
# level has its own getSample definition with a different,
# more specific, return type. This results in Sample2 having
# two bridges.
bis = tuple(ci.get_method_bridges("getSample"))
self.assertEqual(len(bis), 2)
mi = bis[0]
self.assertEqual(type(mi), jt.JavaMemberInfo)
self.assertEqual(mi.get_name(), "getSample")
self.assertEqual(mi.get_type_descriptor(), "LSample2A;")
self.assertEqual(mi.get_descriptor(), "()LSample2A;")
self.assertEqual(mi.get_identifier(),
"getSample():()LSample2A;")
self.assertEqual(mi.pretty_type(), "Sample2A")
self.assertEqual(mi.pretty_descriptor(),
"public Sample2A getSample()")
self.assertEqual(mi.pretty_identifier(),
"getSample():Sample2A")
self.assertTrue(mi.is_public())
self.assertTrue(mi.is_volatile())
self.assertTrue(mi.is_bridge())
self.assertTrue(mi.is_synthetic())
self.assertTrue(mi.is_method)
self.assertFalse(mi.is_private())
self.assertFalse(mi.is_protected())
self.assertFalse(mi.is_static())
self.assertFalse(mi.is_final())
self.assertFalse(mi.is_synchronized())
self.assertFalse(mi.is_native())
self.assertFalse(mi.is_abstract())
self.assertFalse(mi.is_strict())
self.assertFalse(mi.is_transient())
self.assertFalse(mi.is_varargs())
self.assertFalse(mi.is_enum())
self.assertFalse(mi.is_module())
self.assertFalse(mi.is_deprecated())
mi = bis[1]
self.assertEqual(type(mi), jt.JavaMemberInfo)
self.assertEqual(mi.get_name(), "getSample")
self.assertEqual(mi.get_type_descriptor(), "LSample2I;")
self.assertEqual(mi.get_descriptor(), "()LSample2I;")
self.assertEqual(mi.get_identifier(),
"getSample():()LSample2I;")
self.assertEqual(mi.pretty_type(), "Sample2I")
self.assertEqual(mi.pretty_descriptor(),
"public Sample2I getSample()")
self.assertEqual(mi.pretty_identifier(),
"getSample():Sample2I")
self.assertTrue(mi.is_public())
self.assertTrue(mi.is_volatile())
self.assertTrue(mi.is_bridge())
self.assertTrue(mi.is_synthetic())
self.assertTrue(mi.is_method)
self.assertFalse(mi.is_private())
self.assertFalse(mi.is_protected())
self.assertFalse(mi.is_static())
self.assertFalse(mi.is_final())
self.assertFalse(mi.is_synchronized())
self.assertFalse(mi.is_native())
self.assertFalse(mi.is_abstract())
self.assertFalse(mi.is_strict())
self.assertFalse(mi.is_transient())
self.assertFalse(mi.is_varargs())
self.assertFalse(mi.is_enum())
self.assertFalse(mi.is_module())
self.assertFalse(mi.is_deprecated())
class Sample3Test(TestCase):
def test_classinfo(self):
ci = load("Sample3")
self.assertEqual(type(ci), jt.JavaClassInfo)
self.assertEqual(ci.get_this(), "Sample3")
self.assertEqual(ci.pretty_this(), "Sample3")
self.assertEqual(ci.get_sourcefile(), "Sample3.java")
self.assertTrue(ci.is_public())
self.assertTrue(ci.is_super())
self.assertFalse(ci.is_interface())
self.assertFalse(ci.is_abstract())
self.assertFalse(ci.is_final())
self.assertFalse(ci.is_annotation())
self.assertFalse(ci.is_enum())
self.assertFalse(ci.is_deprecated())
self.assertEqual(ci.get_super(), "java/lang/Object")
self.assertEqual(ci.pretty_super(), "java.lang.Object")
self.assertEqual(ci.get_signature(), None)
self.assertEqual(ci.pretty_signature(), None)
self.assertEqual(ci.pretty_descriptor(),
"public class Sample3 extends java.lang.Object")
self.assertEqual(ci.get_interfaces(), tuple())
self.assertEqual(tuple(ci.pretty_interfaces()), tuple())
self.assertEqual(ci.get_enclosingmethod(), None)
self.assertEqual(ci.get_innerclasses(), tuple())
self.assertEqual(ci.get_annotations(), tuple())
self.assertEqual(ci.get_invisible_annotations(), tuple())
def test_field_data(self):
ci = load("Sample3")
fi = ci.get_field_by_name("data")
self.assertEqual(type(fi), jt.JavaMemberInfo)
self.assertEqual(fi.get_name(), "data")
self.assertEqual(fi.get_type_descriptor(),
"Ljava/lang/Object;")
self.assertEqual(fi.get_descriptor(),
"Ljava/lang/Object;")
self.assertEqual(fi.pretty_type(),
"java.lang.Object")
self.assertEqual(fi.pretty_descriptor(),
"private java.lang.Object data")
self.assertTrue(fi.is_private())
self.assertFalse(fi.is_public())
self.assertFalse(fi.is_protected())
self.assertFalse(fi.is_static())
self.assertFalse(fi.is_final())
self.assertFalse(fi.is_synchronized())
self.assertFalse(fi.is_native())
self.assertFalse(fi.is_abstract())
self.assertFalse(fi.is_strict())
self.assertFalse(fi.is_volatile())
self.assertFalse(fi.is_transient())
self.assertFalse(fi.is_bridge())
self.assertFalse(fi.is_varargs())
self.assertFalse(fi.is_synthetic())
self.assertFalse(fi.is_enum())
self.assertFalse(fi.is_module())
self.assertFalse(fi.is_deprecated())
self.assertFalse(fi.is_method)
self.assertEqual(fi.deref_constantvalue(), None)
def test_field_recent_name(self):
ci = load("Sample3")
fi = ci.get_field_by_name("lastData")
self.assertEqual(type(fi), jt.JavaMemberInfo)
self.assertEqual(fi.get_name(), "lastData")
self.assertEqual(fi.get_type_descriptor(),
"Ljava/lang/Object;")
self.assertEqual(fi.get_descriptor(),
"Ljava/lang/Object;")
self.assertEqual(fi.pretty_type(),
"java.lang.Object")
self.assertEqual(fi.pretty_descriptor(),
"private static java.lang.Object lastData")
self.assertTrue(fi.is_private())
self.assertTrue(fi.is_static())
self.assertFalse(fi.is_public())
self.assertFalse(fi.is_protected())
self.assertFalse(fi.is_final())
self.assertFalse(fi.is_synchronized())
self.assertFalse(fi.is_native())
self.assertFalse(fi.is_abstract())
self.assertFalse(fi.is_strict())
self.assertFalse(fi.is_volatile())
self.assertFalse(fi.is_transient())
self.assertFalse(fi.is_bridge())
self.assertFalse(fi.is_varargs())
self.assertFalse(fi.is_synthetic())
self.assertFalse(fi.is_enum())
self.assertFalse(fi.is_module())
self.assertFalse(fi.is_deprecated())
self.assertFalse(fi.is_method)
self.assertEqual(fi.deref_constantvalue(), None)
def test_method_get_data(self):
ci = load("Sample3")
mi = ci.get_method("getData")
self.assertEqual(type(mi), jt.JavaMemberInfo)
self.assertEqual(mi.get_name(), "getData")
self.assertEqual(mi.get_type_descriptor(), "Ljava/lang/Object;")
self.assertEqual(mi.get_descriptor(), "()Ljava/lang/Object;")
self.assertEqual(mi.get_identifier(), "getData()")
self.assertEqual(mi.pretty_type(), "java.lang.Object")
self.assertEqual(mi.pretty_descriptor(),
"public synchronized java.lang.Object getData()"
" throws java.lang.Exception")
self.assertEqual(mi.pretty_identifier(),
"getData():java.lang.Object")
self.assertTrue(mi.is_public())
self.assertTrue(mi.is_synchronized())
self.assertTrue(mi.is_method)
self.assertFalse(mi.is_private())
self.assertFalse(mi.is_protected())
self.assertFalse(mi.is_static())
self.assertFalse(mi.is_final())
self.assertFalse(mi.is_native())
self.assertFalse(mi.is_abstract())
self.assertFalse(mi.is_strict())
self.assertFalse(mi.is_volatile())
self.assertFalse(mi.is_transient())
self.assertFalse(mi.is_bridge())
self.assertFalse(mi.is_varargs())
self.assertFalse(mi.is_synthetic())
self.assertFalse(mi.is_enum())
self.assertFalse(mi.is_module())
self.assertFalse(mi.is_deprecated())
excs = mi.get_exceptions()
self.assertEquals(excs, ("java/lang/Exception",))
excs = tuple(mi.pretty_exceptions())
self.assertEquals(excs, ("java.lang.Exception",))
def test_method_get_data_default(self):
ci = load("Sample3")
mi = ci.get_method("getData", ["Ljava/lang/Object;"])
self.assertEqual(type(mi), jt.JavaMemberInfo)
self.assertEqual(mi.get_name(), "getData")
self.assertEqual(mi.get_type_descriptor(), "Ljava/lang/Object;")
self.assertEqual(mi.get_descriptor(),
"(Ljava/lang/Object;)Ljava/lang/Object;")
self.assertEqual(mi.get_identifier(),
"getData(Ljava/lang/Object;)")
self.assertEqual(mi.pretty_type(), "java.lang.Object")
self.assertEqual(mi.pretty_descriptor(),
"public java.lang.Object"
" getData(java.lang.Object)")
self.assertEqual(mi.pretty_identifier(),
"getData(java.lang.Object):java.lang.Object")
self.assertTrue(mi.is_public())
self.assertTrue(mi.is_method)
self.assertFalse(mi.is_private())
self.assertFalse(mi.is_protected())
self.assertFalse(mi.is_static())
self.assertFalse(mi.is_synchronized())
self.assertFalse(mi.is_final())
self.assertFalse(mi.is_native())
self.assertFalse(mi.is_abstract())
self.assertFalse(mi.is_strict())
self.assertFalse(mi.is_volatile())
self.assertFalse(mi.is_transient())
self.assertFalse(mi.is_bridge())
self.assertFalse(mi.is_varargs())
self.assertFalse(mi.is_synthetic())
self.assertFalse(mi.is_enum())
self.assertFalse(mi.is_module())
self.assertFalse(mi.is_deprecated())
excs = mi.get_exceptions()
self.assertEquals(excs, tuple())
excs = tuple(mi.pretty_exceptions())
self.assertEquals(excs, tuple())
code = mi.get_code()
code_excs = code.exceptions
self.assertEqual(len(code_excs), 1)
ce = code_excs[0]
self.assertEqual(type(ce), jt.JavaExceptionInfo)
self.assertEqual(ce.get_catch_type(), "java/lang/Exception")
self.assertEqual(ce.pretty_catch_type(), "Class java.lang.Exception")
self.assertEqual(ce.info(), (0, 4, 5, "java/lang/Exception"))
def test_method_set_data(self):
ci = load("Sample3")
mi = ci.get_method("setData", ["Ljava/lang/Object;"])
self.assertEqual(type(mi), jt.JavaMemberInfo)
self.assertEqual(mi.get_name(), "setData")
self.assertEqual(mi.get_type_descriptor(), "V")
self.assertEqual(mi.get_descriptor(),
"(Ljava/lang/Object;)V")
self.assertEqual(mi.get_identifier(),
"setData(Ljava/lang/Object;)")
self.assertEqual(mi.pretty_type(), "void")
self.assertEqual(mi.pretty_descriptor(),
"public synchronized void"
" setData(java.lang.Object)")
self.assertEqual(mi.pretty_identifier(),
"setData(java.lang.Object):void")
self.assertTrue(mi.is_public())
self.assertTrue(mi.is_synchronized())
self.assertTrue(mi.is_method)
self.assertFalse(mi.is_private())
self.assertFalse(mi.is_protected())
self.assertFalse(mi.is_static())
self.assertFalse(mi.is_final())
self.assertFalse(mi.is_native())
self.assertFalse(mi.is_abstract())
self.assertFalse(mi.is_strict())
self.assertFalse(mi.is_volatile())
self.assertFalse(mi.is_transient())
self.assertFalse(mi.is_bridge())
self.assertFalse(mi.is_varargs())
self.assertFalse(mi.is_synthetic())
self.assertFalse(mi.is_enum())
self.assertFalse(mi.is_module())
self.assertFalse(mi.is_deprecated())
excs = mi.get_exceptions()
self.assertEquals(excs, tuple())
excs = tuple(mi.pretty_exceptions())
self.assertEquals(excs, tuple())
def test_method_get_last_data(self):
ci = load("Sample3")
mi = ci.get_method("getLastData")
self.assertEqual(type(mi), jt.JavaMemberInfo)
self.assertEqual(mi.get_name(), "getLastData")
self.assertEqual(mi.get_type_descriptor(), "Ljava/lang/Object;")
self.assertEqual(mi.get_descriptor(), "()Ljava/lang/Object;")
self.assertEqual(mi.get_identifier(), "getLastData()")
self.assertEqual(mi.pretty_type(), "java.lang.Object")
self.assertEqual(mi.pretty_descriptor(),
"private static synchronized java.lang.Object"
" getLastData()"
" throws java.lang.Exception")
self.assertEqual(mi.pretty_identifier(),
"getLastData():java.lang.Object")
self.assertTrue(mi.is_private())
self.assertTrue(mi.is_static())
self.assertTrue(mi.is_synchronized())
self.assertTrue(mi.is_method)
self.assertFalse(mi.is_public())
self.assertFalse(mi.is_protected())
self.assertFalse(mi.is_final())
self.assertFalse(mi.is_native())
self.assertFalse(mi.is_abstract())
self.assertFalse(mi.is_strict())
self.assertFalse(mi.is_volatile())
self.assertFalse(mi.is_transient())
self.assertFalse(mi.is_bridge())
self.assertFalse(mi.is_varargs())
self.assertFalse(mi.is_synthetic())
self.assertFalse(mi.is_enum())
self.assertFalse(mi.is_module())
self.assertFalse(mi.is_deprecated())
excs = mi.get_exceptions()
self.assertEquals(excs, ("java/lang/Exception",))
excs = tuple(mi.pretty_exceptions())
self.assertEquals(excs, ("java.lang.Exception",))
def test_method_set_last_data(self):
ci = load("Sample3")
mi = ci.get_method("setLastData", ["Ljava/lang/Object;"])
self.assertEqual(type(mi), jt.JavaMemberInfo)
self.assertEqual(mi.get_name(), "setLastData")
self.assertEqual(mi.get_type_descriptor(), "V")
self.assertEqual(mi.get_descriptor(),
"(Ljava/lang/Object;)V")
self.assertEqual(mi.get_identifier(),
"setLastData(Ljava/lang/Object;)")
self.assertEqual(mi.pretty_type(), "void")
self.assertEqual(mi.pretty_descriptor(),
"private static synchronized void"
" setLastData(java.lang.Object)")
self.assertEqual(mi.pretty_identifier(),
"setLastData(java.lang.Object):void")
self.assertTrue(mi.is_private())
self.assertTrue(mi.is_static())
self.assertTrue(mi.is_synchronized())
self.assertTrue(mi.is_method)
self.assertFalse(mi.is_public())
self.assertFalse(mi.is_protected())
self.assertFalse(mi.is_final())
self.assertFalse(mi.is_native())
self.assertFalse(mi.is_abstract())
self.assertFalse(mi.is_strict())
self.assertFalse(mi.is_volatile())
self.assertFalse(mi.is_transient())
self.assertFalse(mi.is_bridge())
self.assertFalse(mi.is_varargs())
self.assertFalse(mi.is_synthetic())
self.assertFalse(mi.is_enum())
self.assertFalse(mi.is_module())
self.assertFalse(mi.is_deprecated())
excs = mi.get_exceptions()
self.assertEquals(excs, tuple())
excs = tuple(mi.pretty_exceptions())
self.assertEquals(excs, tuple())
#
# The end.
| 36.470026 | 77 | 0.614598 | 4,749 | 41,977 | 5.263634 | 0.060644 | 0.189623 | 0.119694 | 0.133776 | 0.825499 | 0.785414 | 0.760611 | 0.74689 | 0.736968 | 0.720046 | 0 | 0.008981 | 0.246707 | 41,977 | 1,150 | 78 | 36.501739 | 0.781538 | 0.036115 | 0 | 0.712139 | 0 | 0 | 0.092924 | 0.017862 | 0 | 0 | 0 | 0 | 0.73526 | 1 | 0.033526 | false | 0 | 0.004624 | 0.001156 | 0.045087 | 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 |
c6d2738a2344112af8c7c7d31154bd4f064f907e | 72,233 | py | Python | tally_ho/apps/tally/tests/views/test_quality_control.py | onaio/tally-ho | f7a81909755924370653051bfc8315588dc75356 | [
"Apache-2.0"
] | 12 | 2015-09-07T17:12:42.000Z | 2021-12-29T07:51:18.000Z | tally_ho/apps/tally/tests/views/test_quality_control.py | onaio/tally-ho | f7a81909755924370653051bfc8315588dc75356 | [
"Apache-2.0"
] | 122 | 2018-09-18T04:05:39.000Z | 2022-01-17T10:12:48.000Z | tally_ho/apps/tally/tests/views/test_quality_control.py | onaio/tally-ho | f7a81909755924370653051bfc8315588dc75356 | [
"Apache-2.0"
] | 13 | 2015-06-06T17:32:34.000Z | 2020-09-10T12:58:07.000Z | import copy
from django.core.exceptions import PermissionDenied, SuspiciousOperation
from django.core.serializers.json import json, DjangoJSONEncoder
from django.contrib.auth.models import AnonymousUser
from django.conf import settings
from django.urls import reverse
from django.test import RequestFactory
from django.utils import timezone
from tally_ho.apps.tally.views import quality_control as views
from tally_ho.apps.tally.models.quality_control import QualityControl
from tally_ho.apps.tally.models.quarantine_check import QuarantineCheck
from tally_ho.apps.tally.models.result_form import ResultForm
from tally_ho.apps.tally.models.result_form_stats import ResultFormStats
from tally_ho.libs.models.enums.form_state import FormState
from tally_ho.libs.permissions import groups
from tally_ho.libs.tests.test_base import (
create_candidates,
create_reconciliation_form,
create_recon_forms,
create_result_form,
create_center,
create_station,
create_audit,
create_tally,
create_ballot,
create_quality_control,
create_quarantine_checks,
TestBase,
)
from tally_ho.libs.verify.quarantine_checks import (
pass_percentage_of_blank_ballots_trigger
)
class TestQualityControl(TestBase):
def setUp(self):
self.factory = RequestFactory()
self._create_permission_groups()
self.encoded_result_form_qa_control_start_time =\
json.loads(json.dumps(timezone.now(), cls=DjangoJSONEncoder))
self.quarantine_data = getattr(settings, 'QUARANTINE_DATA')
def _common_view_tests(self, view):
"""
Test common view
"""
request = self.factory.get('/')
request.session = {}
request.session['encoded_result_form_qa_control_start_time'] =\
self.encoded_result_form_qa_control_start_time
request.user = AnonymousUser()
response = view(request)
self.assertEqual(response.status_code, 302)
self.assertEqual('/accounts/login/?next=/', response['location'])
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
request.user = self.user
with self.assertRaises(PermissionDenied):
view(request, tally_id=tally.pk)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
response = view(request, tally_id=tally.pk)
response.render()
self.assertIn(b'/accounts/logout/', response.content)
return response
def test_quality_control_get(self):
"""
Test quality control view get
"""
response = self._common_view_tests(views.QualityControlView.as_view())
self.assertContains(response, 'Quality Control')
self.assertIn(b'<form id="result_form"', response.content)
def test_quality_control_post(self):
"""
Test quality control view post
"""
barcode = '123456789'
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
create_result_form(barcode,
tally=tally,
form_state=FormState.QUALITY_CONTROL)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
view = views.QualityControlView.as_view()
data = {
'barcode': barcode,
'barcode_copy': barcode,
'tally_id': tally.pk,
}
request = self.factory.post('/', data=data)
request.user = self.user
request.session = {}
response = view(request, tally_id=tally.pk)
self.assertEqual(response.status_code, 302)
self.assertIn('quality-control/dashboard',
response['location'])
result_form = ResultForm.objects.get(barcode=barcode)
self.assertEqual(result_form.form_state, FormState.QUALITY_CONTROL)
self.assertEqual(result_form.qualitycontrol.user, self.user)
def test_dashboard_abort_post(self):
"""
Test dashboard abort post
"""
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
barcode = '123456789'
create_result_form(barcode,
tally=tally,
form_state=FormState.QUALITY_CONTROL)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
result_form = ResultForm.objects.get(barcode=barcode)
create_quality_control(result_form, self.user)
view = views.QualityControlDashboardView.as_view()
data = {
'result_form': result_form.pk,
'abort': 1,
'tally_id': tally.pk,
}
request = self.factory.post('/', data=data)
request.user = self.user
request.session = {'result_form': result_form.pk}
response = view(request, tally_id=tally.pk)
quality_control = result_form.qualitycontrol_set.all()[0]
self.assertEqual(quality_control.active, False)
self.assertEqual(response.status_code, 302)
self.assertIn('quality-control/home',
response['location'])
self.assertEqual(request.session, {})
def test_dashboard_incorrect_post_when_form_marked_for_release(self):
"""
Test dashboard incorrrect post when form marked for release
"""
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
barcode = '123456789'
ballot = create_ballot(available_for_release=True)
create_result_form(barcode,
ballot=ballot,
tally=tally,
form_state=FormState.QUALITY_CONTROL)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
result_form = ResultForm.objects.get(barcode=barcode)
create_quality_control(result_form, self.user)
view = views.QualityControlDashboardView.as_view()
data = {
'result_form': result_form.pk,
'incorrect': 1,
'tally_id': tally.pk,
}
request = self.factory.post('/', data=data)
request.user = self.user
quality_control = result_form.qualitycontrol_set.all()[0]
request.session = {'result_form': result_form.pk}
response = view(request, tally_id=tally.pk)
self.assertTrue(quality_control.active)
self.assertEqual(response.status_code, 302)
self.assertIn('quality-control/confirm-reject',
response['location'])
def test_dashboard_incorrect_post_when_form_not_marked_for_release(self):
"""
Test dashboard incorrrect post when form not marked for release
"""
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
barcode = '123456789'
create_result_form(barcode,
tally=tally,
form_state=FormState.QUALITY_CONTROL)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
result_form = ResultForm.objects.get(barcode=barcode)
create_quality_control(result_form, self.user)
view = views.QualityControlDashboardView.as_view()
data = {
'result_form': result_form.pk,
'incorrect': 1,
'tally_id': tally.pk,
}
request = self.factory.post('/', data=data)
request.user = self.user
request.session = {'result_form': result_form.pk}
request.session['encoded_result_form_qa_control_start_time'] =\
self.encoded_result_form_qa_control_start_time
response = view(request, tally_id=tally.pk)
self.assertEqual(response.status_code, 302)
self.assertIn('quality-control/reject',
response['location'])
quality_control = result_form.qualitycontrol_set.all()[0]
self.assertFalse(quality_control.active)
self.assertEqual(request.session, {})
result_form_stat = ResultFormStats.objects.get(user=self.user)
self.assertEqual(result_form_stat.approved_by_supervisor,
False)
self.assertEqual(result_form_stat.reviewed_by_supervisor,
False)
self.assertEqual(result_form_stat.user, self.user)
self.assertEqual(result_form_stat.result_form, result_form)
def test_dashboard_submit_post(self):
"""
Test dashboard submit post
"""
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
barcode = '123456789'
create_result_form(barcode,
tally=tally,
form_state=FormState.QUALITY_CONTROL)
result_form = ResultForm.objects.get(barcode=barcode)
quality_control = create_quality_control(result_form, self.user)
quality_control.passed_general = False
quality_control.passed_reconciliation = False
quality_control.passed_women = False
quality_control.save()
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
view = views.QualityControlDashboardView.as_view()
data = {
'result_form': result_form.pk,
'correct': 1,
'tally_id': tally.pk,
}
request = self.factory.post('/', data=data)
request.user = self.user
request.session = {'result_form': result_form.pk}
response = view(request, tally_id=tally.pk)
result_form = ResultForm.objects.get(pk=result_form.pk)
self.assertEqual(response.status_code, 302)
self.assertIn('quality-control/print',
response['location'])
quality_control = result_form.qualitycontrol
self.assertTrue(quality_control.passed_general)
self.assertTrue(quality_control.passed_reconciliation)
self.assertTrue(quality_control.passed_women)
self.assertEqual(result_form.form_state, FormState.QUALITY_CONTROL)
def test_dashboard_get_double_recon(self):
"""
Test dashboard get double recon
"""
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
barcode = '123456789'
center = create_center(tally=tally)
station = create_station(center=center)
result_form = create_result_form(barcode,
center=center,
station_number=station.station_number,
tally=tally,
form_state=FormState.QUALITY_CONTROL)
create_reconciliation_form(result_form, self.user)
create_reconciliation_form(result_form, self.user)
create_candidates(result_form, self.user)
create_quality_control(result_form, self.user)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
view = views.QualityControlDashboardView.as_view()
request = self.factory.get('/')
request.user = self.user
request.session = {'result_form': result_form.pk}
response = view(request, tally_id=tally.pk)
self.assertEqual(response.status_code, 200)
self.assertContains(response, 'General Results Section')
self.assertContains(response, 'Cancel')
def test_dashboard_get_double_recon_raise(self):
"""
Test dashboard get double recon raise
"""
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
barcode = '123456789'
center = create_center(tally=tally)
station = create_station(center=center)
result_form = create_result_form(barcode,
center=center,
station_number=station.station_number,
tally=tally,
form_state=FormState.QUALITY_CONTROL)
create_reconciliation_form(result_form, self.user)
create_reconciliation_form(result_form, self.user,
ballot_number_from=2)
create_candidates(result_form, self.user)
create_quality_control(result_form, self.user)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
view = views.QualityControlDashboardView.as_view()
request = self.factory.get('/')
request.user = self.user
request.session = {'result_form': result_form.pk}
with self.assertRaises(SuspiciousOperation):
view(request, tally_id=tally.pk)
def test_dashboard_get(self):
"""
Test dashboard get
"""
barcode = '123456789'
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
center = create_center(tally=tally)
station = create_station(center=center)
create_result_form(barcode,
center=center,
station_number=station.station_number,
tally=tally,
form_state=FormState.QUALITY_CONTROL)
result_form = ResultForm.objects.get(barcode=barcode)
create_candidates(result_form, self.user)
create_quality_control(result_form, self.user)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
view = views.QualityControlDashboardView.as_view()
request = self.factory.get('/')
request.user = self.user
request.session = {'result_form': result_form.pk}
response = view(request, tally_id=tally.pk)
self.assertEqual(response.status_code, 200)
# gender has been removed
# self.assertContains(response, str(result_form.gender_name))
self.assertContains(response, 'General Results Section')
self.assertNotContains(response, 'Reconciliation')
self.assertContains(response, 'Cancel')
def test_confirm_form_reset_view_post(self):
"""
Test confirm form reset view post
"""
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
barcode = '123456789'
ballot = create_ballot(available_for_release=True)
create_result_form(barcode,
tally=tally,
ballot=ballot,
form_state=FormState.QUALITY_CONTROL)
result_form = ResultForm.objects.get(barcode=barcode)
create_quality_control(result_form, self.user)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
view = views.ConfirmFormResetView.as_view()
reject_reason = 'Form Incorrect'
data = {
'reject_reason': reject_reason
}
request = self.factory.post('/', data=data)
request.user = self.user
request.session = {'result_form': result_form.pk}
request.session['encoded_result_form_qa_control_start_time'] =\
self.encoded_result_form_qa_control_start_time
response = view(request, tally_id=tally.pk)
result_form = ResultForm.objects.get(pk=result_form.pk)
quality_control = result_form.qualitycontrol_set.all()[0]
self.assertEqual(response.status_code, 302)
self.assertIn('quality-control/reject',
response['location'])
self.assertEqual(request.session, {})
self.assertEqual(result_form.form_state, FormState.DATA_ENTRY_1)
self.assertEqual(result_form.rejected_count, 1)
self.assertEqual(result_form.reject_reason, reject_reason)
self.assertFalse(quality_control.active)
self.assertFalse(quality_control.passed_reconciliation)
result_form_stat = ResultFormStats.objects.get(user=self.user)
self.assertEqual(result_form_stat.approved_by_supervisor,
False)
self.assertEqual(result_form_stat.reviewed_by_supervisor,
False)
self.assertEqual(result_form_stat.user, self.user)
self.assertEqual(result_form_stat.result_form, result_form)
def test_reconciliation_get(self):
"""
Test reconciliation get
"""
barcode = '123456789'
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
create_result_form(barcode,
form_state=FormState.QUALITY_CONTROL,
tally=tally)
result_form = ResultForm.objects.get(barcode=barcode)
create_reconciliation_form(result_form, self.user)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
view = views.QualityControlDashboardView.as_view()
request = self.factory.get('/')
request.user = self.user
request.session = {'result_form': result_form.pk}
response = view(request, tally_id=tally.pk)
response.render()
self.assertEqual(response.status_code, 200)
self.assertContains(response, 'Reconciliation')
self.assertContains(response, 'Total number of the sorted and counted')
def test_reconciliation_post_correct(self):
"""
Test reconciliation post correct
"""
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
barcode = '123456789'
create_result_form(barcode,
tally=tally,
form_state=FormState.QUALITY_CONTROL)
result_form = ResultForm.objects.get(barcode=barcode)
create_quality_control(result_form, self.user)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
view = views.QualityControlDashboardView.as_view()
data = {
'result_form': result_form.pk,
'correct': 1,
'tally_id': tally.pk,
}
request = self.factory.post('/', data=data)
request.user = self.user
request.session = {'result_form': result_form.pk}
response = view(request, tally_id=tally.pk)
result_form.reload()
self.assertEqual(response.status_code, 302)
self.assertIn('quality-control/print',
response['location'])
quality_control = QualityControl.objects.get(
pk=result_form.qualitycontrol.pk)
self.assertEqual(result_form.form_state, FormState.QUALITY_CONTROL)
self.assertTrue(quality_control.passed_reconciliation)
def test_reconciliation_post_incorrect_ballot_released(self):
"""
Test reconciliation post incorrect ballot released
"""
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
barcode = '123456789'
ballot = create_ballot(available_for_release=True)
create_result_form(barcode,
tally=tally,
ballot=ballot,
form_state=FormState.QUALITY_CONTROL)
result_form = ResultForm.objects.get(barcode=barcode)
create_recon_forms(result_form, self.user)
create_candidates(result_form, self.user)
create_quality_control(result_form, self.user)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
view = views.QualityControlDashboardView.as_view()
data = {
'result_form': result_form.pk,
'incorrect': 1,
'tally_id': tally.pk,
}
request = self.factory.post('/', data=data)
request.user = self.user
request.session = {'result_form': result_form.pk}
response = view(request, tally_id=tally.pk)
self.assertEqual(response.status_code, 302)
self.assertIn('quality-control/confirm-reject',
response['location'])
result_form = ResultForm.objects.get(pk=result_form.pk)
quality_control = result_form.qualitycontrol_set.all()[0]
self.assertTrue(quality_control.active)
self.assertEqual(result_form.form_state, FormState.QUALITY_CONTROL)
self.assertEqual(result_form.rejected_count, 0)
def test_reconciliation_post_incorrect_ballot_not_released(self):
"""
Test reconciliation post incorrect ballot not released
"""
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
barcode = '123456789'
create_result_form(barcode,
tally=tally,
form_state=FormState.QUALITY_CONTROL)
result_form = ResultForm.objects.get(barcode=barcode)
create_recon_forms(result_form, self.user)
create_candidates(result_form, self.user)
create_quality_control(result_form, self.user)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
view = views.QualityControlDashboardView.as_view()
data = {
'result_form': result_form.pk,
'incorrect': 1,
'tally_id': tally.pk,
}
request = self.factory.post('/', data=data)
request.user = self.user
request.session = {'result_form': result_form.pk}
request.session['encoded_result_form_qa_control_start_time'] =\
self.encoded_result_form_qa_control_start_time
response = view(request, tally_id=tally.pk)
self.assertEqual(response.status_code, 302)
self.assertIn('quality-control/reject',
response['location'])
self.assertEqual(result_form.rejected_count, 0)
result_form = ResultForm.objects.get(pk=result_form.pk)
quality_control = result_form.qualitycontrol_set.all()[0]
results = result_form.results.all()
self.assertTrue(len(results) > 0)
for result in results:
self.assertEqual(result.active, False)
recon_forms = result_form.reconciliationform_set.all()
self.assertTrue(len(recon_forms) > 0)
for recon in recon_forms:
self.assertEqual(recon.active, False)
self.assertEqual(result_form.form_state, FormState.DATA_ENTRY_1)
self.assertEqual(result_form.rejected_count, 1)
self.assertEqual(quality_control.active, False)
self.assertEqual(quality_control.passed_reconciliation, False)
result_form_stat = ResultFormStats.objects.get(user=self.user)
self.assertEqual(result_form_stat.approved_by_supervisor,
False)
self.assertEqual(result_form_stat.reviewed_by_supervisor,
False)
self.assertEqual(result_form_stat.user, self.user)
self.assertEqual(result_form_stat.result_form, result_form)
def test_reconciliation_post_abort(self):
"""
Test reconciliation post abort
"""
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
barcode = '123456789'
create_result_form(barcode,
tally=tally,
form_state=FormState.QUALITY_CONTROL)
result_form = ResultForm.objects.get(barcode=barcode)
create_quality_control(result_form, self.user)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
view = views.QualityControlDashboardView.as_view()
data = {
'result_form': result_form.pk,
'abort': 1,
'tally_id': tally.id,
}
request = self.factory.post('/', data=data)
request.user = self.user
request.session = {'result_form': result_form.pk}
response = view(request, tally_id=tally.pk)
self.assertEqual(response.status_code, 302)
self.assertIn('quality-control/home',
response['location'])
quality_control = result_form.qualitycontrol_set.all()[0]
self.assertEqual(quality_control.active, False)
def test_general_get(self):
"""
Test general get
"""
barcode = '123456789'
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
center = create_center(tally=tally)
station = create_station(center=center)
create_result_form(barcode,
center=center,
station_number=station.station_number,
tally=tally,
form_state=FormState.QUALITY_CONTROL)
result_form = ResultForm.objects.get(barcode=barcode)
name = 'the candidate name'
women_name = 'women candidate name'
votes = 123
create_candidates(result_form, self.user, name, votes, women_name)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
view = views.QualityControlDashboardView.as_view()
request = self.factory.get('/')
request.user = self.user
request.session = {'result_form': result_form.pk}
response = view(request, tally_id=tally.pk)
response.render()
self.assertEqual(response.status_code, 200)
# gender has been removed
# self.assertContains(response, str(result_form.gender_name))
self.assertContains(response, 'General')
self.assertContains(response, name)
self.assertContains(response, women_name)
self.assertContains(response, str(votes))
def test_general_post_correct(self):
"""
Test general post correct
"""
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
barcode = '123456789'
result_form = create_result_form(barcode,
tally=tally,
form_state=FormState.QUALITY_CONTROL)
create_quality_control(result_form, self.user)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
view = views.QualityControlDashboardView.as_view()
data = {
'result_form': result_form.pk,
'correct': 1,
'tally_id': tally.id,
}
request = self.factory.post('/', data=data)
request.user = self.user
request.session = {'result_form': result_form.pk}
response = view(request, tally_id=tally.pk)
result_form.reload()
self.assertEqual(response.status_code, 302)
self.assertIn('quality-control/print',
response['location'])
quality_control = QualityControl.objects.get(
pk=result_form.qualitycontrol.pk)
self.assertEqual(result_form.form_state, FormState.QUALITY_CONTROL)
self.assertTrue(quality_control.passed_general)
def test_general_post_incorrect_ballot_released(self):
"""
Test general post incorrect ballot released
"""
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
barcode = '123456789'
ballot = create_ballot(available_for_release=True)
create_result_form(barcode,
tally=tally,
ballot=ballot,
form_state=FormState.QUALITY_CONTROL)
result_form = ResultForm.objects.get(barcode=barcode)
create_quality_control(result_form, self.user)
create_candidates(result_form, self.user)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
view = views.QualityControlDashboardView.as_view()
data = {
'result_form': result_form.pk,
'incorrect': 1,
'tally_id': tally.pk,
}
request = self.factory.post('/', data=data)
request.user = self.user
request.session = {'result_form': result_form.pk}
response = view(request, tally_id=tally.pk)
self.assertEqual(response.status_code, 302)
self.assertIn('quality-control/confirm-reject',
response['location'])
result_form = ResultForm.objects.get(pk=result_form.pk)
quality_control = result_form.qualitycontrol_set.all()[0]
self.assertTrue(quality_control.active)
self.assertEqual(result_form.form_state, FormState.QUALITY_CONTROL)
self.assertEqual(result_form.rejected_count, 0)
def test_general_post_incorrect_ballot_not_released(self):
"""
Test general post incorrect ballot not released
"""
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
barcode = '123456789'
create_result_form(barcode,
tally=tally,
form_state=FormState.QUALITY_CONTROL)
result_form = ResultForm.objects.get(barcode=barcode)
create_quality_control(result_form, self.user)
create_candidates(result_form, self.user)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
view = views.QualityControlDashboardView.as_view()
data = {
'result_form': result_form.pk,
'incorrect': 1,
'tally_id': tally.pk,
}
request = self.factory.post('/', data=data)
request.user = self.user
request.session = {'result_form': result_form.pk}
request.session['encoded_result_form_qa_control_start_time'] =\
self.encoded_result_form_qa_control_start_time
response = view(request, tally_id=tally.pk)
self.assertEqual(response.status_code, 302)
self.assertIn('quality-control/reject',
response['location'])
self.assertEqual(result_form.rejected_count, 0)
result_form = ResultForm.objects.get(pk=result_form.pk)
quality_control = result_form.qualitycontrol_set.all()[0]
results = result_form.results.all()
self.assertTrue(len(results) > 0)
for result in results:
self.assertEqual(result.active, False)
self.assertEqual(result_form.form_state, FormState.DATA_ENTRY_1)
self.assertEqual(result_form.rejected_count, 1)
self.assertEqual(quality_control.active, False)
self.assertEqual(quality_control.passed_general, False)
result_form_stat = ResultFormStats.objects.get(user=self.user)
self.assertEqual(result_form_stat.approved_by_supervisor,
False)
self.assertEqual(result_form_stat.reviewed_by_supervisor,
False)
self.assertEqual(result_form_stat.user, self.user)
self.assertEqual(result_form_stat.result_form, result_form)
def test_general_post_abort(self):
"""
Test general post abort
"""
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
barcode = '123456789'
create_result_form(barcode,
tally=tally,
form_state=FormState.QUALITY_CONTROL)
result_form = ResultForm.objects.get(barcode=barcode)
create_quality_control(result_form, self.user)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
view = views.QualityControlDashboardView.as_view()
data = {
'result_form': result_form.pk,
'abort': 1,
'tally_id': tally.pk,
}
request = self.factory.post('/', data=data)
request.user = self.user
request.session = {'result_form': result_form.pk}
response = view(request, tally_id=tally.pk)
self.assertEqual(response.status_code, 302)
self.assertIn('quality-control/home',
response['location'])
quality_control = result_form.qualitycontrol_set.all()[0]
self.assertEqual(quality_control.active, False)
def test_women_get(self):
"""
Test women get
"""
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
barcode = '123456789'
center = create_center()
station = create_station(center=center)
create_result_form(barcode,
center=center,
station_number=station.station_number,
tally=tally,
form_state=FormState.QUALITY_CONTROL)
result_form = ResultForm.objects.get(barcode=barcode)
name = 'general candidate name'
women_name = 'women candidate name'
votes = 123
create_candidates(result_form, self.user, name, votes, women_name)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
view = views.QualityControlDashboardView.as_view()
request = self.factory.get('/')
request.user = self.user
request.session = {'result_form': result_form.pk}
response = view(request, tally_id=tally.pk)
response.render()
self.assertEqual(response.status_code, 200)
self.assertContains(response, 'Women')
self.assertContains(response, women_name)
self.assertContains(response, name)
self.assertContains(response, str(votes))
def test_women_post_correct(self):
"""
Test women post correct
"""
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
barcode = '123456789'
create_result_form(barcode,
tally=tally,
form_state=FormState.QUALITY_CONTROL)
result_form = ResultForm.objects.get(barcode=barcode)
create_quality_control(result_form, self.user)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
view = views.QualityControlDashboardView.as_view()
data = {
'result_form': result_form.pk,
'correct': 1,
'tally_id': tally.pk
}
request = self.factory.post('/', data=data)
request.user = self.user
request.session = {'result_form': result_form.pk}
response = view(request, tally_id=tally.pk)
result_form.reload()
self.assertEqual(response.status_code, 302)
self.assertIn('quality-control/print',
response['location'])
quality_control = result_form.qualitycontrol_set.all()[0]
self.assertEqual(result_form.form_state, FormState.QUALITY_CONTROL)
self.assertTrue(quality_control.passed_women)
def test_women_post_incorrect_ballot_released(self):
"""
Test women post incorrect ballot released
"""
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
barcode = '123456789'
ballot = create_ballot(available_for_release=True)
create_result_form(barcode,
tally=tally,
ballot=ballot,
form_state=FormState.QUALITY_CONTROL)
result_form = ResultForm.objects.get(barcode=barcode)
create_quality_control(result_form, self.user)
create_candidates(result_form, self.user)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
view = views.QualityControlDashboardView.as_view()
data = {
'result_form': result_form.pk,
'incorrect': 1,
'tally_id': tally.pk,
}
request = self.factory.post('/', data=data)
request.user = self.user
request.session = {'result_form': result_form.pk}
response = view(request, tally_id=tally.pk)
self.assertEqual(response.status_code, 302)
self.assertIn('quality-control/confirm-reject',
response['location'])
result_form = ResultForm.objects.get(pk=result_form.pk)
quality_control = result_form.qualitycontrol_set.all()[0]
self.assertTrue(quality_control.active)
self.assertEqual(result_form.form_state, FormState.QUALITY_CONTROL)
self.assertEqual(result_form.rejected_count, 0)
def test_women_post_incorrect_ballot_not_released(self):
"""
Test women post incorrect ballot not released
"""
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
barcode = '123456789'
create_result_form(barcode,
tally=tally,
form_state=FormState.QUALITY_CONTROL)
result_form = ResultForm.objects.get(barcode=barcode)
create_quality_control(result_form, self.user)
create_candidates(result_form, self.user)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
view = views.QualityControlDashboardView.as_view()
data = {
'result_form': result_form.pk,
'incorrect': 1,
'tally_id': tally.pk,
}
request = self.factory.post('/', data=data)
request.user = self.user
request.session = {'result_form': result_form.pk}
request.session['encoded_result_form_qa_control_start_time'] =\
self.encoded_result_form_qa_control_start_time
response = view(request, tally_id=tally.pk)
self.assertEqual(response.status_code, 302)
self.assertIn('quality-control/reject',
response['location'])
self.assertEqual(result_form.rejected_count, 0)
result_form = ResultForm.objects.get(pk=result_form.pk)
quality_control = result_form.qualitycontrol_set.all()[0]
results = result_form.results.all()
self.assertTrue(len(results) > 0)
for result in results:
self.assertEqual(result.active, False)
self.assertEqual(result_form.form_state, FormState.DATA_ENTRY_1)
self.assertEqual(result_form.rejected_count, 1)
self.assertEqual(quality_control.active, False)
self.assertEqual(quality_control.passed_women, False)
result_form_stat = ResultFormStats.objects.get(user=self.user)
self.assertEqual(result_form_stat.approved_by_supervisor,
False)
self.assertEqual(result_form_stat.reviewed_by_supervisor,
False)
self.assertEqual(result_form_stat.user, self.user)
self.assertEqual(result_form_stat.result_form, result_form)
def test_women_post_abort(self):
"""
Test women post abort
"""
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
barcode = '123456789'
create_result_form(barcode,
tally=tally,
form_state=FormState.QUALITY_CONTROL)
result_form = ResultForm.objects.get(barcode=barcode)
create_quality_control(result_form, self.user)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
view = views.QualityControlDashboardView.as_view()
data = {
'result_form': result_form.pk,
'abort': 1,
'tally_id': tally.pk,
}
request = self.factory.post('/', data=data)
request.user = self.user
request.session = {'result_form': result_form.pk}
response = view(request, tally_id=tally.pk)
self.assertEqual(response.status_code, 302)
self.assertIn('quality-control/home',
response['location'])
quality_control = result_form.qualitycontrol_set.all()[0]
self.assertEqual(quality_control.active, False)
def test_quality_control_post_quarantine_pass_with_zero_diff(self):
"""
Test quality control post pass quarantine trigger with zero difference
"""
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
center = create_center()
create_station(center)
create_quarantine_checks(self.quarantine_data)
result_form = create_result_form(
form_state=FormState.QUALITY_CONTROL,
center=center,
tally=tally,
station_number=1)
recon_form = create_reconciliation_form(
result_form, self.user, number_unstamped_ballots=0)
create_quality_control(result_form, self.user)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
view = views.QualityControlDashboardView.as_view()
data = {
'correct': 1,
'result_form': result_form.pk,
'tally_id': tally.pk,
}
request = self.factory.post('/', data=data)
request.session = {'result_form': result_form.pk}
request.user = self.user
response = view(request, tally_id=tally.pk)
result_form.reload()
self.assertEqual(result_form.num_votes,
recon_form.number_ballots_expected)
self.assertEqual(response.status_code, 302)
self.assertTrue(result_form.form_state, FormState.AUDIT)
self.assertIsNone(result_form.audit)
self.assertEqual(result_form.audited_count, 0)
self.assertIn('quality-control/print', response['location'])
def test_quality_control_post_quarantine_pass_below_tolerance(self):
"""
Test quality control post pass quarantine trigger below tolerance
"""
center = create_center()
create_station(center)
create_quarantine_checks(self.quarantine_data)
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
result_form = create_result_form(
tally=tally,
form_state=FormState.QUALITY_CONTROL,
center=center, station_number=1)
recon_form = create_reconciliation_form(
result_form, self.user, number_ballots_inside_box=21,
number_unstamped_ballots=0)
create_quality_control(result_form, self.user)
create_candidates(result_form, self.user, votes=1, num_results=10)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
view = views.QualityControlDashboardView.as_view()
data = {
'correct': 1,
'result_form': result_form.pk,
'tally_id': tally.pk,
}
request = self.factory.post('/', data=data)
request.session = {'result_form': result_form.pk}
request.user = self.user
response = view(request, tally_id=tally.pk)
result_form.reload()
self.assertEqual(result_form.num_votes,
recon_form.number_ballots_expected)
self.assertEqual(response.status_code, 302)
self.assertTrue(result_form.form_state, FormState.AUDIT)
self.assertTrue(result_form.audit)
self.assertEqual(result_form.audit.quarantine_checks.count(), 1)
self.assertEqual(
result_form.audit.quarantine_checks.all()[0].name[:9], 'Trigger 1')
self.assertEqual(result_form.audited_count, 1)
self.assertIn('quality-control/print', response['location'])
def test_quality_control_post_quarantine_pass_ballot_num_validation(self):
"""
Test that the total number of received ballots equals the
total of the ballots inside the box plus ballots outside the box
"""
center = create_center()
station = create_station(center=center, registrants=21)
quarantine_data = copy.deepcopy(self.quarantine_data)
quarantine_data[2]['active'] = True
create_quarantine_checks(quarantine_data)
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
result_form = create_result_form(
tally=tally,
form_state=FormState.QUALITY_CONTROL,
center=center,
station_number=station.station_number)
recon_form = create_reconciliation_form(
result_form=result_form,
user=self.user,
number_ballots_inside_box=21,
number_cancelled_ballots=0,
number_spoiled_ballots=0,
number_unstamped_ballots=0,
number_unused_ballots=0,
number_valid_votes=20,
number_ballots_received=21,
)
create_quality_control(result_form, self.user)
create_candidates(result_form, self.user, votes=1, num_results=10)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
view = views.QualityControlDashboardView.as_view()
data = {
'correct': 1,
'result_form': result_form.pk,
'tally_id': tally.pk,
}
request = self.factory.post('/', data=data)
request.session = {'result_form': result_form.pk}
request.user = self.user
response = view(request, tally_id=tally.pk)
result_form.reload()
self.assertEqual(result_form.num_votes,
recon_form.number_ballots_expected)
self.assertEqual(response.status_code, 302)
self.assertTrue(result_form.form_state, FormState.AUDIT)
self.assertIsNone(result_form.audit)
self.assertEqual(result_form.audited_count, 0)
self.assertIn('quality-control/print', response['location'])
def test_quality_control_post_quarantine_pass_signatures_validation(self):
"""
Test that the total number of signatures on the voter list equals
the number of ballots found in the ballot box after polling
plus cancelled ballots.
"""
center = create_center()
station = create_station(center=center, registrants=21)
quarantine_data = copy.deepcopy(self.quarantine_data)
quarantine_data[3]['active'] = True
create_quarantine_checks(quarantine_data)
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
result_form = create_result_form(
tally=tally,
form_state=FormState.QUALITY_CONTROL,
center=center,
station_number=station.station_number)
recon_form = create_reconciliation_form(
result_form=result_form,
user=self.user,
number_ballots_inside_box=21,
number_cancelled_ballots=0,
number_spoiled_ballots=0,
number_unstamped_ballots=0,
number_unused_ballots=0,
number_valid_votes=20,
number_ballots_received=21,
number_signatures_in_vr=21,
)
create_quality_control(result_form, self.user)
create_candidates(result_form, self.user, votes=1, num_results=10)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
view = views.QualityControlDashboardView.as_view()
data = {
'correct': 1,
'result_form': result_form.pk,
'tally_id': tally.pk,
}
request = self.factory.post('/', data=data)
request.session = {'result_form': result_form.pk}
request.user = self.user
response = view(request, tally_id=tally.pk)
result_form.reload()
self.assertEqual(result_form.num_votes,
recon_form.number_ballots_expected)
self.assertEqual(response.status_code, 302)
self.assertTrue(result_form.form_state, FormState.AUDIT)
self.assertIsNone(result_form.audit)
self.assertEqual(result_form.audited_count, 0)
self.assertIn('quality-control/print', response['location'])
def test_quality_control_quarantine_pass_ballots_inside_box_check(self):
"""
Test that the number of ballots value inside recon form matches the
total of valid, invalid, and unstamped ballots.
"""
center = create_center()
station = create_station(center=center, registrants=21)
quarantine_data = copy.deepcopy(self.quarantine_data)
quarantine_data[4]['active'] = True
create_quarantine_checks(quarantine_data)
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
result_form = create_result_form(
tally=tally,
form_state=FormState.QUALITY_CONTROL,
center=center,
station_number=station.station_number)
recon_form = create_reconciliation_form(
result_form=result_form,
user=self.user,
number_ballots_inside_box=21,
number_cancelled_ballots=0,
number_spoiled_ballots=0,
number_unstamped_ballots=0,
number_unused_ballots=0,
number_valid_votes=20,
number_ballots_received=21,
number_signatures_in_vr=21,
)
create_quality_control(result_form, self.user)
create_candidates(result_form, self.user, votes=1, num_results=10)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
view = views.QualityControlDashboardView.as_view()
data = {
'correct': 1,
'result_form': result_form.pk,
'tally_id': tally.pk,
}
request = self.factory.post('/', data=data)
request.session = {'result_form': result_form.pk}
request.user = self.user
response = view(request, tally_id=tally.pk)
result_form.reload()
self.assertEqual(result_form.num_votes,
recon_form.number_ballots_expected)
self.assertEqual(response.status_code, 302)
self.assertTrue(result_form.form_state, FormState.AUDIT)
self.assertIsNone(result_form.audit)
self.assertEqual(result_form.audited_count, 0)
self.assertIn('quality-control/print', response['location'])
def test_quality_control_quarantine_pass_sum_candidates_votes_check(self):
"""
Test that the sum of candidates votes matches the total
number of valid ballots.
"""
center = create_center()
station = create_station(center=center, registrants=21)
quarantine_data = copy.deepcopy(self.quarantine_data)
quarantine_data[4]['active'] = True
create_quarantine_checks(quarantine_data)
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
result_form = create_result_form(
tally=tally,
form_state=FormState.QUALITY_CONTROL,
center=center,
station_number=station.station_number)
recon_form = create_reconciliation_form(
result_form=result_form,
user=self.user,
number_ballots_inside_box=21,
number_cancelled_ballots=0,
number_spoiled_ballots=0,
number_unstamped_ballots=0,
number_unused_ballots=0,
number_valid_votes=20,
number_ballots_received=21,
number_signatures_in_vr=21,
)
create_quality_control(result_form, self.user)
create_candidates(result_form, self.user, votes=1, num_results=10)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
view = views.QualityControlDashboardView.as_view()
data = {
'correct': 1,
'result_form': result_form.pk,
'tally_id': tally.pk,
}
request = self.factory.post('/', data=data)
request.session = {'result_form': result_form.pk}
request.user = self.user
response = view(request, tally_id=tally.pk)
result_form.reload()
self.assertEqual(result_form.num_votes,
recon_form.number_ballots_expected)
self.assertEqual(response.status_code, 302)
self.assertTrue(result_form.form_state, FormState.AUDIT)
self.assertIsNone(result_form.audit)
self.assertEqual(result_form.audited_count, 0)
self.assertIn('quality-control/print', response['location'])
def test_quality_control_quarantine_pass_invalid_ballots_percentage(self):
"""
Test that the percentage of invalid ballots has not superseded the
allowed limit.
"""
center = create_center()
station = create_station(center=center, registrants=21)
quarantine_data = copy.deepcopy(self.quarantine_data)
quarantine_data[6]['active'] = True
create_quarantine_checks(quarantine_data)
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
result_form = create_result_form(
tally=tally,
form_state=FormState.QUALITY_CONTROL,
center=center,
station_number=station.station_number)
create_reconciliation_form(
result_form=result_form,
user=self.user,
number_ballots_inside_box=21,
number_cancelled_ballots=0,
number_spoiled_ballots=0,
number_unstamped_ballots=0,
number_unused_ballots=0,
number_valid_votes=20,
number_ballots_received=21,
number_signatures_in_vr=21,
)
create_quality_control(result_form, self.user)
create_candidates(result_form, self.user, votes=1, num_results=10)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
view = views.QualityControlDashboardView.as_view()
data = {
'correct': 1,
'result_form': result_form.pk,
'tally_id': tally.pk,
}
request = self.factory.post('/', data=data)
request.session = {'result_form': result_form.pk}
request.user = self.user
response = view(request, tally_id=tally.pk)
result_form.reload()
self.assertEqual(response.status_code, 302)
self.assertTrue(result_form.form_state, FormState.AUDIT)
self.assertIsNone(result_form.audit)
self.assertEqual(result_form.audited_count, 0)
self.assertIn('quality-control/print', response['location'])
def test_quality_control_quarantine_pass_turnout_percentage(self):
"""
Test that the turnout percentage has not superseded the allowed limit.
"""
center = create_center()
station = create_station(center=center, registrants=21)
quarantine_data = copy.deepcopy(self.quarantine_data)
quarantine_data[7]['active'] = True
create_quarantine_checks(quarantine_data)
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
result_form = create_result_form(
tally=tally,
form_state=FormState.QUALITY_CONTROL,
center=center,
station_number=station.station_number)
create_reconciliation_form(
result_form=result_form,
user=self.user,
number_ballots_inside_box=21,
number_cancelled_ballots=0,
number_spoiled_ballots=0,
number_unstamped_ballots=0,
number_unused_ballots=0,
number_valid_votes=20,
number_ballots_received=21,
number_signatures_in_vr=21,
)
create_quality_control(result_form, self.user)
create_candidates(result_form, self.user, votes=1, num_results=10)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
view = views.QualityControlDashboardView.as_view()
data = {
'correct': 1,
'result_form': result_form.pk,
'tally_id': tally.pk,
}
request = self.factory.post('/', data=data)
request.session = {'result_form': result_form.pk}
request.user = self.user
response = view(request, tally_id=tally.pk)
result_form.reload()
self.assertEqual(response.status_code, 302)
self.assertTrue(result_form.form_state, FormState.AUDIT)
self.assertIsNone(result_form.audit)
self.assertEqual(result_form.audited_count, 0)
self.assertIn('quality-control/print', response['location'])
def test_quality_control_quarantine_pass_votes_candidate_percentage(self):
"""
Test that the percentage of votes per candidate of the total
valid votes does not exceed a certain threshold.
"""
center = create_center()
station = create_station(center=center, registrants=21)
quarantine_data = copy.deepcopy(self.quarantine_data)
quarantine_data[8]['active'] = True
create_quarantine_checks(quarantine_data)
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
result_form = create_result_form(
tally=tally,
form_state=FormState.QUALITY_CONTROL,
center=center,
station_number=station.station_number)
create_reconciliation_form(
result_form=result_form,
user=self.user,
number_ballots_inside_box=21,
number_cancelled_ballots=0,
number_spoiled_ballots=0,
number_unstamped_ballots=0,
number_unused_ballots=0,
number_valid_votes=20,
number_ballots_received=21,
number_signatures_in_vr=21,
)
create_quality_control(result_form, self.user)
create_candidates(result_form, self.user, votes=1, num_results=10)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
view = views.QualityControlDashboardView.as_view()
data = {
'correct': 1,
'result_form': result_form.pk,
'tally_id': tally.pk,
}
request = self.factory.post('/', data=data)
request.session = {'result_form': result_form.pk}
request.user = self.user
response = view(request, tally_id=tally.pk)
result_form.reload()
self.assertEqual(response.status_code, 302)
self.assertTrue(result_form.form_state, FormState.AUDIT)
self.assertIsNone(result_form.audit)
self.assertEqual(result_form.audited_count, 0)
self.assertIn('quality-control/print', response['location'])
def test_quality_control_quarantine_pass_blank_ballots_trigger(self):
"""
Test blank ballots check is not triggered when the percentage of
blank ballots has not exceeded the allowed percentage value.
"""
center = create_center()
station = create_station(center=center, registrants=21)
quarantine_data = copy.deepcopy(self.quarantine_data)
quarantine_data[9]['active'] = True
create_quarantine_checks(quarantine_data)
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
result_form = create_result_form(
tally=tally,
form_state=FormState.QUALITY_CONTROL,
center=center,
station_number=station.station_number)
create_reconciliation_form(
result_form=result_form,
user=self.user,
number_ballots_inside_box=21,
number_cancelled_ballots=0,
number_spoiled_ballots=0,
number_unstamped_ballots=0,
number_unused_ballots=0,
number_valid_votes=20,
number_ballots_received=21,
number_signatures_in_vr=21,
number_blank_ballots=4,
)
create_quality_control(result_form, self.user)
create_candidates(result_form, self.user, votes=1, num_results=10)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
view = views.QualityControlDashboardView.as_view()
data = {
'correct': 1,
'result_form': result_form.pk,
'tally_id': tally.pk,
}
request = self.factory.post('/', data=data)
request.session = {'result_form': result_form.pk}
request.user = self.user
response = view(request, tally_id=tally.pk)
result_form.reload()
self.assertEqual(response.status_code, 302)
self.assertEqual(result_form.form_state, FormState.QUALITY_CONTROL)
self.assertIsNone(result_form.audit)
self.assertEqual(result_form.audited_count, 0)
self.assertIn('quality-control/print', response['location'])
def test_quality_control_quarantine_fail_blank_ballots_trigger(self):
"""
Test blank ballots check is triggered when the percentage of
blank ballots exceeds the allowed percentage value.
"""
center = create_center()
station = create_station(center=center, registrants=21)
quarantine_data = copy.deepcopy(self.quarantine_data)
quarantine_data[9]['active'] = True
create_quarantine_checks(quarantine_data)
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
result_form = create_result_form(
tally=tally,
form_state=FormState.QUALITY_CONTROL,
center=center,
station_number=station.station_number)
create_reconciliation_form(
result_form=result_form,
user=self.user,
number_ballots_inside_box=21,
number_cancelled_ballots=0,
number_spoiled_ballots=0,
number_unstamped_ballots=0,
number_unused_ballots=0,
number_valid_votes=20,
number_ballots_received=21,
number_signatures_in_vr=21,
number_blank_ballots=20,
)
create_quality_control(result_form, self.user)
create_candidates(result_form, self.user, votes=1, num_results=10)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
view = views.QualityControlDashboardView.as_view()
data = {
'correct': 1,
'result_form': result_form.pk,
'tally_id': tally.pk,
}
request = self.factory.post('/', data=data)
request.session = {'result_form': result_form.pk}
request.user = self.user
response = view(request, tally_id=tally.pk)
result_form.reload()
self.assertEqual(response.status_code, 302)
self.assertEqual(result_form.form_state, FormState.QUALITY_CONTROL)
self.assertIsNotNone(result_form.audit)
self.assertEqual(result_form.audited_count, 1)
self.assertEqual(
result_form.audit.quarantine_checks.all()[0].name,
quarantine_data[9]['name'])
self.assertIn('/quality-control/print', response['location'])
def test_pass_percentage_of_blank_ballots_trigger(self):
"""
Test pass percentage of blank ballots trigger returns true if
the percentage of blank ballots has not exceeded the
allowed percentage value.
"""
center = create_center()
station = create_station(center=center, registrants=21)
quarantine_data = copy.deepcopy(self.quarantine_data)
quarantine_data[9]['active'] = True
create_quarantine_checks(quarantine_data)
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
result_form = create_result_form(
tally=tally,
form_state=FormState.QUALITY_CONTROL,
center=center,
station_number=station.station_number)
create_reconciliation_form(
result_form=result_form,
user=self.user,
number_ballots_inside_box=21,
number_cancelled_ballots=0,
number_spoiled_ballots=0,
number_unstamped_ballots=0,
number_unused_ballots=0,
number_valid_votes=20,
number_ballots_received=21,
number_signatures_in_vr=21,
number_blank_ballots=4,
)
create_quality_control(result_form, self.user)
create_candidates(result_form, self.user, votes=1, num_results=10)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
self.assertTrue(pass_percentage_of_blank_ballots_trigger(result_form))
def test_fail_percentage_of_blank_ballots_trigger(self):
"""
Test pass percentage of blank ballots trigger returns false if
the percentage of blank ballots has exceeded the allowed
percentage value.
"""
center = create_center()
station = create_station(center=center, registrants=21)
quarantine_data = copy.deepcopy(self.quarantine_data)
quarantine_data[9]['active'] = True
create_quarantine_checks(quarantine_data)
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
result_form = create_result_form(
tally=tally,
form_state=FormState.QUALITY_CONTROL,
center=center,
station_number=station.station_number)
create_reconciliation_form(
result_form=result_form,
user=self.user,
number_ballots_inside_box=21,
number_cancelled_ballots=0,
number_spoiled_ballots=0,
number_unstamped_ballots=0,
number_unused_ballots=0,
number_valid_votes=20,
number_ballots_received=21,
number_signatures_in_vr=21,
number_blank_ballots=20,
)
create_quality_control(result_form, self.user)
create_candidates(result_form, self.user, votes=1, num_results=10)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
self.assertFalse(pass_percentage_of_blank_ballots_trigger(result_form))
def test_quality_control_post_quarantine(self):
"""
Test quality control post
"""
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
center = create_center()
create_station(center)
create_quarantine_checks(self.quarantine_data)
result_form = create_result_form(
form_state=FormState.QUALITY_CONTROL,
tally=tally,
center=center,
station_number=1)
create_reconciliation_form(
result_form, self.user, number_unstamped_ballots=1000)
create_quality_control(result_form, self.user)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
view = views.QualityControlDashboardView.as_view()
data = {
'correct': 1,
'result_form': result_form.pk,
'tally_id': tally.pk,
}
request = self.factory.post('/', data=data)
request.session = {'result_form': result_form.pk}
request.user = self.user
response = view(request, tally_id=tally.pk)
result_form.reload()
self.assertEqual(response.status_code, 302)
self.assertTrue(result_form.form_state, FormState.AUDIT)
self.assertTrue(result_form.audit)
self.assertEqual(result_form.audit.quarantine_checks.count(), 2)
self.assertEqual(result_form.audit.user, self.user)
self.assertEqual(result_form.audited_count, 1)
self.assertIn('quality-control/print', response['location'])
def test_print_success_get(self):
"""
Test print success get
"""
self._create_and_login_user()
code = '12345'
station_number = 1
center = create_center(code)
create_station(center)
result_form = create_result_form(form_state=FormState.QUALITY_CONTROL,
center=center,
station_number=station_number)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
view = views.PrintView.as_view()
request = self.factory.get('/')
request.session = {'result_form': result_form.pk}
request.user = self.user
response = view(request)
self.assertEqual(response.status_code, 200)
self.assertContains(response, 'Successful Archive')
def test_print_quarantine_get(self):
"""
Test print quarantine get
"""
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
code = '12345'
station_number = 1
center = create_center(code, tally=tally)
create_station(center)
result_form = create_result_form(form_state=FormState.QUALITY_CONTROL,
center=center,
tally=tally,
station_number=station_number)
quarantine_check = QuarantineCheck.objects.create(
user=self.user,
name='1',
method='1',
value=1)
audit = create_audit(result_form, self.user)
audit.quarantine_checks.add(quarantine_check)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
view = views.PrintView.as_view()
request = self.factory.get('/')
request.session = {'result_form': result_form.pk}
request.user = self.user
response = view(request, tally_id=tally.pk)
self.assertEqual(response.status_code, 200)
self.assertContains(response, 'Quarantined')
def test_print_post(self):
"""
Test print post
"""
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
result_form = create_result_form(form_state=FormState.QUALITY_CONTROL)
view = views.PrintView.as_view()
data = {
'result_form': result_form.pk,
'tally_id': tally.pk,
}
request = self.factory.post('/', data=data)
request.session = data
request.user = self.user
response = view(request, tally_id=tally.pk)
self.assertEqual(response.status_code, 302)
self.assertIn('/quality-control/success', response['location'])
result_form = ResultForm.objects.get(pk=result_form.pk)
self.assertEqual(result_form.form_state, FormState.ARCHIVED)
def test_confirmation_get(self):
"""
Test confirmation get
"""
self._create_and_login_user()
tally = create_tally()
tally.users.add(self.user)
result_form = create_result_form(tally=tally,
form_state=FormState.ARCHIVED)
self._add_user_to_group(self.user, groups.QUALITY_CONTROL_CLERK)
view = views.ConfirmationView.as_view()
request = self.factory.get('/')
request.user = self.user
request.session = {'result_form': result_form.pk}
request.session['encoded_result_form_qa_control_start_time'] =\
self.encoded_result_form_qa_control_start_time
response = view(request, tally_id=tally.pk)
self.assertEqual(response.status_code, 200)
self.assertContains(response, 'Archiving')
self.assertContains(
response,
reverse('quality-control', kwargs={'tally_id': tally.pk}))
self.assertEqual(request.session.get('result_form'), None)
result_form_stat = ResultFormStats.objects.get(user=self.user)
self.assertEqual(result_form_stat.approved_by_supervisor,
False)
self.assertEqual(result_form_stat.reviewed_by_supervisor,
False)
self.assertEqual(result_form_stat.user, self.user)
self.assertEqual(result_form_stat.result_form, result_form)
| 41.53709 | 79 | 0.638849 | 7,945 | 72,233 | 5.50988 | 0.033228 | 0.114218 | 0.03294 | 0.038377 | 0.930921 | 0.911938 | 0.897844 | 0.878175 | 0.858347 | 0.850032 | 0 | 0.012407 | 0.271386 | 72,233 | 1,738 | 80 | 41.56099 | 0.819362 | 0.035289 | 0 | 0.8583 | 0 | 0 | 0.046584 | 0.013506 | 0 | 0 | 0 | 0 | 0.154521 | 1 | 0.030364 | false | 0.018219 | 0.011471 | 0 | 0.043185 | 0.012821 | 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 |
c6ed0b812841e50f50bc65ba2960b1b525302987 | 13,250 | py | Python | nn_meter/prediction/predictors/kernel_predictor.py | kaleid-liner/nn-Meter | 526f8ddeeb33816a0b2b7f97964683e0510cd85d | [
"MIT"
] | 164 | 2021-08-04T09:45:42.000Z | 2022-03-31T14:21:17.000Z | nn_meter/prediction/predictors/kernel_predictor.py | kaleid-liner/nn-Meter | 526f8ddeeb33816a0b2b7f97964683e0510cd85d | [
"MIT"
] | 20 | 2021-08-05T02:58:47.000Z | 2022-03-28T11:09:58.000Z | nn_meter/prediction/predictors/kernel_predictor.py | kaleid-liner/nn-Meter | 526f8ddeeb33816a0b2b7f97964683e0510cd85d | [
"MIT"
] | 28 | 2021-08-06T02:05:04.000Z | 2022-03-23T05:05:03.000Z | # Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
from sklearn.ensemble import RandomForestRegressor
def get_model(hardware, kernel):
model = None
if kernel == "convbnrelu":
if hardware == "cpu":
model = RandomForestRegressor(
max_depth=70,
n_estimators=320,
min_samples_leaf=1,
min_samples_split=2,
max_features=6,
oob_score=True,
random_state=10,
)
if hardware == "gpu":
model = RandomForestRegressor(
max_depth=80,
n_estimators=550,
min_samples_leaf=1,
min_samples_split=2,
max_features=5,
oob_score=True,
n_jobs=32,
random_state=10,
)
if hardware == "vpu":
model = RandomForestRegressor(
max_depth=100,
n_estimators=500,
min_samples_leaf=1,
min_samples_split=2,
max_features=5,
oob_score=True,
n_jobs=32,
random_state=10,
)
if kernel == "dwconvbnrelu":
if hardware == "cpu":
model = RandomForestRegressor(
max_depth=50,
n_estimators=240,
min_samples_leaf=1,
min_samples_split=2,
max_features=6,
oob_score=True,
random_state=10,
)
if hardware == "gpu":
model = RandomForestRegressor(
max_depth=40,
n_estimators=240,
min_samples_leaf=1,
min_samples_split=2,
max_features=7,
oob_score=True,
random_state=10,
)
if hardware == "vpu":
model = RandomForestRegressor(
max_depth=100,
n_estimators=650,
min_samples_leaf=1,
min_samples_split=2,
max_features=5,
oob_score=True,
n_jobs=32,
random_state=10,
)
if kernel == "fc":
if hardware == "cpu":
model = RandomForestRegressor(
max_depth=50,
n_estimators=370,
min_samples_leaf=1,
min_samples_split=2,
max_features=2,
oob_score=True,
random_state=10,
)
if hardware == "gpu":
model = RandomForestRegressor(
max_depth=70,
n_estimators=330,
min_samples_leaf=1,
min_samples_split=2,
max_features=4,
oob_score=True,
random_state=10,
)
if hardware == "vpu":
model = RandomForestRegressor(
max_depth=70,
n_estimators=330,
min_samples_leaf=1,
min_samples_split=2,
max_features=4,
oob_score=True,
n_jobs=32,
random_state=10,
)
if kernel == "channelshuffle":
if hardware == "cpu":
model = RandomForestRegressor(
max_depth=50,
n_estimators=370,
min_samples_leaf=1,
min_samples_split=2,
max_features=2,
oob_score=True,
random_state=10,
)
if hardware == "vpu":
model = RandomForestRegressor(
max_depth=50,
n_estimators=370,
min_samples_leaf=1,
min_samples_split=2,
max_features=2,
oob_score=True,
random_state=10,
)
if kernel == "se":
if hardware == "cpu":
model = RandomForestRegressor(
max_depth=20,
n_estimators=290,
min_samples_leaf=1,
min_samples_split=2,
max_features=2,
oob_score=True,
random_state=10,
)
if hardware == "gpu":
model = RandomForestRegressor(
max_depth=50,
n_estimators=190,
min_samples_leaf=1,
min_samples_split=2,
max_features=2,
oob_score=True,
random_state=10,
)
if hardware == "vpu":
model = RandomForestRegressor(
max_depth=50,
n_estimators=110,
min_samples_leaf=1,
min_samples_split=2,
max_features=2,
oob_score=True,
random_state=10,
)
if kernel == "maxpool":
if hardware == "cpu":
model = RandomForestRegressor(
max_depth=50,
n_estimators=210,
min_samples_leaf=1,
min_samples_split=2,
max_features=5,
oob_score=True,
random_state=10,
)
if hardware == "gpu":
model = RandomForestRegressor(
max_depth=50,
n_estimators=370,
min_samples_leaf=1,
min_samples_split=2,
max_features=5,
oob_score=True,
random_state=10,
)
if hardware == "vpu":
model = RandomForestRegressor(
max_depth=50,
n_estimators=370,
min_samples_leaf=1,
min_samples_split=2,
max_features=5,
oob_score=True,
random_state=10,
)
if kernel == "globalavgpool":
if hardware == "cpu":
model = RandomForestRegressor(
max_depth=70,
n_estimators=370,
min_samples_leaf=1,
min_samples_split=2,
max_features=2,
oob_score=True,
random_state=10,
)
if kernel == "hswish":
if hardware == "cpu":
model = RandomForestRegressor(
max_depth=50,
n_estimators=190,
min_samples_leaf=1,
min_samples_split=2,
max_features=2,
oob_score=True,
random_state=10,
)
if hardware == "gpu":
model = RandomForestRegressor(
max_depth=50,
n_estimators=190,
min_samples_leaf=1,
min_samples_split=2,
max_features=2,
oob_score=True,
random_state=10,
)
if hardware == "vpu":
model = RandomForestRegressor(
max_depth=50,
n_estimators=110,
min_samples_leaf=1,
min_samples_split=2,
max_features=2,
oob_score=True,
random_state=10,
)
if kernel == "avgpool":
if hardware == "cpu":
model = RandomForestRegressor(
max_depth=50,
n_estimators=370,
min_samples_leaf=1,
min_samples_split=2,
max_features=5,
oob_score=True,
random_state=10,
)
if hardware == "gpu":
model = RandomForestRegressor(
max_depth=50,
n_estimators=370,
min_samples_leaf=1,
min_samples_split=2,
max_features=5,
oob_score=True,
random_state=10,
)
if hardware == "vpu":
model = RandomForestRegressor(
max_depth=50,
n_estimators=390,
min_samples_leaf=1,
min_samples_split=2,
max_features=5,
oob_score=True,
random_state=10,
)
if kernel == "bnrelu":
if hardware == "cpu":
model = RandomForestRegressor(
max_depth=50,
n_estimators=370,
min_samples_leaf=1,
min_samples_split=2,
max_features=2,
oob_score=True,
random_state=10,
)
if hardware == "gpu":
model = RandomForestRegressor(
max_depth=50,
n_estimators=190,
min_samples_leaf=1,
min_samples_split=2,
max_features=2,
oob_score=True,
random_state=10,
)
if hardware == "vpu":
model = RandomForestRegressor(
max_depth=50,
n_estimators=570,
min_samples_leaf=1,
min_samples_split=2,
max_features=2,
oob_score=True,
random_state=10,
)
if kernel == "relu":
if hardware == "cpu":
model = RandomForestRegressor(
max_depth=50,
n_estimators=370,
min_samples_leaf=1,
min_samples_split=2,
max_features=2,
oob_score=True,
random_state=10,
)
if hardware == "gpu":
model = RandomForestRegressor(
max_depth=50,
n_estimators=190,
min_samples_leaf=1,
min_samples_split=2,
max_features=2,
oob_score=True,
random_state=10,
)
if hardware == "vpu":
model = RandomForestRegressor(
max_depth=50,
n_estimators=190,
min_samples_leaf=1,
min_samples_split=2,
max_features=2,
oob_score=True,
random_state=10,
)
if kernel == "bn":
if hardware == "cpu":
model = RandomForestRegressor(
max_depth=50,
n_estimators=370,
min_samples_leaf=1,
min_samples_split=2,
max_features=2,
oob_score=True,
random_state=10,
)
if hardware == "gpu":
model = RandomForestRegressor(
max_depth=50,
n_estimators=190,
min_samples_leaf=1,
min_samples_split=2,
max_features=2,
oob_score=True,
random_state=10,
)
if hardware == "vpu":
model = RandomForestRegressor(
max_depth=50,
n_estimators=390,
min_samples_leaf=1,
min_samples_split=2,
max_features=2,
oob_score=True,
random_state=10,
)
if kernel == "concat":
if hardware == "cpu":
model = RandomForestRegressor(
max_depth=100,
n_estimators=690,
min_samples_leaf=1,
min_samples_split=2,
max_features=5,
oob_score=True,
random_state=10,
)
if hardware == "gpu":
model = RandomForestRegressor(
max_depth=100,
n_estimators=690,
min_samples_leaf=1,
min_samples_split=2,
max_features=5,
oob_score=True,
random_state=10,
)
if kernel == "addrelu":
if hardware == "cpu":
model = RandomForestRegressor(
max_depth=50,
n_estimators=570,
min_samples_leaf=1,
min_samples_split=2,
max_features=3,
oob_score=True,
random_state=10,
)
if hardware == "addrelu":
model = RandomForestRegressor(
max_depth=50,
n_estimators=570,
min_samples_leaf=1,
min_samples_split=2,
max_features=3,
oob_score=True,
random_state=10,
)
if hardware == "vpu":
model = RandomForestRegressor(
max_depth=50,
n_estimators=570,
min_samples_leaf=1,
min_samples_split=2,
max_features=3,
oob_score=True,
random_state=10,
)
if kernel == "split":
if hardware == "cpu":
model = RandomForestRegressor(
max_depth=50,
n_estimators=190,
min_samples_leaf=1,
min_samples_split=2,
max_features=2,
oob_score=True,
random_state=10,
)
return model
| 31.398104 | 50 | 0.443094 | 1,172 | 13,250 | 4.705631 | 0.070819 | 0.141432 | 0.205077 | 0.240435 | 0.943427 | 0.943427 | 0.943427 | 0.932548 | 0.93146 | 0.93146 | 0 | 0.05891 | 0.484981 | 13,250 | 421 | 51 | 31.472684 | 0.749267 | 0.005132 | 0 | 0.83293 | 0 | 0 | 0.016997 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002421 | false | 0 | 0.002421 | 0 | 0.007264 | 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 |
c6fa0ef950b2dcf77c4cfc7d3f7a3393711ebcf4 | 2,366 | py | Python | problems/test_ic_29_bracket_validator.py | gregdferrell/algo | 974ae25b028d49bcb7ded6655a7e11dcf6aa221d | [
"MIT"
] | null | null | null | problems/test_ic_29_bracket_validator.py | gregdferrell/algo | 974ae25b028d49bcb7ded6655a7e11dcf6aa221d | [
"MIT"
] | null | null | null | problems/test_ic_29_bracket_validator.py | gregdferrell/algo | 974ae25b028d49bcb7ded6655a7e11dcf6aa221d | [
"MIT"
] | null | null | null | from .ic_29_bracket_validator import bracket_validator
def test_bracket_validator_paren():
text = "alert('hi');"
assert bracket_validator(text)
def test_bracket_validator_curly():
text = "alert{'hi'};"
assert bracket_validator(text)
def test_bracket_validator_box():
text = "alert['hi'];"
assert bracket_validator(text)
def test_bracket_validator_paren_no_open():
text = "alert'hi');"
assert not bracket_validator(text)
def test_bracket_validator_curly_no_open():
text = "alert'hi'};"
assert not bracket_validator(text)
def test_bracket_validator_box_no_open():
text = "alert'hi'];"
assert not bracket_validator(text)
def test_bracket_validator_paren_no_close():
text = "alert('hi';"
assert not bracket_validator(text)
def test_bracket_validator_curly_no_close():
text = "alert{'hi';"
assert not bracket_validator(text)
def test_bracket_validator_box_no_close():
text = "alert['hi';"
assert not bracket_validator(text)
def test_bracket_validator_paren_wrong_close():
text = "alert('hi'];"
assert not bracket_validator(text)
text = "alert('hi'};"
assert not bracket_validator(text)
def test_bracket_validator_curly_wrong_close():
text = "alert{'hi'];"
assert not bracket_validator(text)
text = "alert{'hi');"
assert not bracket_validator(text)
def test_bracket_validator_box_wrong_close():
text = "alert['hi');"
assert not bracket_validator(text)
text = "alert['hi'};"
assert not bracket_validator(text)
def test_bracket_validator_multiple():
text = "alert('hi');(){}[]abc(abc)abc{abc}abc[abc]abc"
assert bracket_validator(text)
def test_bracket_validator_nested():
text = "([abcde(fg{h[]i[]j}klmnopqrst)uvwx]{y}z)"
assert bracket_validator(text)
def test_bracket_validator_nested_bad_1():
text = "([abcde(fg{h[]i[]j}klmnopqrst)uvwx]{y}z"
assert not bracket_validator(text)
def test_bracket_validator_nested_bad_2():
text = "([abcde(fg{h[]i]j}klmnopqrst)uvwx]{y}z)"
assert not bracket_validator(text)
def test_bracket_validator_nested_bad_3():
text = "([abcde(fg{h[]i[]j}klmnopqrstuvwx]{y}z)"
assert not bracket_validator(text)
def test_bracket_validator_nested_bad_4():
text = "(abcde(fg{h[]i[]j}klmnopqrst)uvwx]{y}z)"
assert not bracket_validator(text)
def test_bracket_validator_nested_bad_5():
text = "([abcde(fgh[]i[]j}klmnopqrst)uvwx]{y}z)"
assert not bracket_validator(text)
| 22.320755 | 55 | 0.751902 | 349 | 2,366 | 4.77937 | 0.114613 | 0.41247 | 0.263789 | 0.26199 | 0.942446 | 0.925659 | 0.904676 | 0.904676 | 0.89988 | 0.832734 | 0 | 0.003314 | 0.107354 | 2,366 | 105 | 56 | 22.533333 | 0.786458 | 0 | 0 | 0.34375 | 0 | 0 | 0.191885 | 0.118343 | 0 | 0 | 0 | 0 | 0.34375 | 1 | 0.296875 | false | 0 | 0.015625 | 0 | 0.3125 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
05a3f57563fe880de0c3062418588fb36e6b1efc | 46,049 | py | Python | velo_payments/api/payout_service_api.py | velopaymentsapi/velo-python | 59b39555e9714139b4bf697151cc7d15f6dd510e | [
"Apache-2.0"
] | null | null | null | velo_payments/api/payout_service_api.py | velopaymentsapi/velo-python | 59b39555e9714139b4bf697151cc7d15f6dd510e | [
"Apache-2.0"
] | null | null | null | velo_payments/api/payout_service_api.py | velopaymentsapi/velo-python | 59b39555e9714139b4bf697151cc7d15f6dd510e | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Velo Payments APIs
## Terms and Definitions Throughout this document and the Velo platform the following terms are used: * **Payor.** An entity (typically a corporation) which wishes to pay funds to one or more payees via a payout. * **Payee.** The recipient of funds paid out by a payor. * **Payment.** A single transfer of funds from a payor to a payee. * **Payout.** A batch of Payments, typically used by a payor to logically group payments (e.g. by business day). Technically there need be no relationship between the payments in a payout - a single payout can contain payments to multiple payees and/or multiple payments to a single payee. * **Sandbox.** An integration environment provided by Velo Payments which offers a similar API experience to the production environment, but all funding and payment events are simulated, along with many other services such as OFAC sanctions list checking. ## Overview The Velo Payments API allows a payor to perform a number of operations. The following is a list of the main capabilities in a natural order of execution: * Authenticate with the Velo platform * Maintain a collection of payees * Query the payor’s current balance of funds within the platform and perform additional funding * Issue payments to payees * Query the platform for a history of those payments This document describes the main concepts and APIs required to get up and running with the Velo Payments platform. It is not an exhaustive API reference. For that, please see the separate Velo Payments API Reference. ## API Considerations The Velo Payments API is REST based and uses the JSON format for requests and responses. Most calls are secured using OAuth 2 security and require a valid authentication access token for successful operation. See the Authentication section for details. Where a dynamic value is required in the examples below, the {token} format is used, suggesting that the caller needs to supply the appropriate value of the token in question (without including the { or } characters). Where curl examples are given, the –d @filename.json approach is used, indicating that the request body should be placed into a file named filename.json in the current directory. Each of the curl examples in this document should be considered a single line on the command-line, regardless of how they appear in print. ## Authenticating with the Velo Platform Once Velo backoffice staff have added your organization as a payor within the Velo platform sandbox, they will create you a payor Id, an API key and an API secret and share these with you in a secure manner. You will need to use these values to authenticate with the Velo platform in order to gain access to the APIs. The steps to take are explained in the following: create a string comprising the API key (e.g. 44a9537d-d55d-4b47-8082-14061c2bcdd8) and API secret (e.g. c396b26b-137a-44fd-87f5-34631f8fd529) with a colon between them. E.g. 44a9537d-d55d-4b47-8082-14061c2bcdd8:c396b26b-137a-44fd-87f5-34631f8fd529 base64 encode this string. E.g.: NDRhOTUzN2QtZDU1ZC00YjQ3LTgwODItMTQwNjFjMmJjZGQ4OmMzOTZiMjZiLTEzN2EtNDRmZC04N2Y1LTM0NjMxZjhmZDUyOQ== create an HTTP **Authorization** header with the value set to e.g. Basic NDRhOTUzN2QtZDU1ZC00YjQ3LTgwODItMTQwNjFjMmJjZGQ4OmMzOTZiMjZiLTEzN2EtNDRmZC04N2Y1LTM0NjMxZjhmZDUyOQ== perform the Velo authentication REST call using the HTTP header created above e.g. via curl: ``` curl -X POST \\ -H \"Content-Type: application/json\" \\ -H \"Authorization: Basic NDRhOTUzN2QtZDU1ZC00YjQ3LTgwODItMTQwNjFjMmJjZGQ4OmMzOTZiMjZiLTEzN2EtNDRmZC04N2Y1LTM0NjMxZjhmZDUyOQ==\" \\ 'https://api.sandbox.velopayments.com/v1/authenticate?grant_type=client_credentials' ``` If successful, this call will result in a **200** HTTP status code and a response body such as: ``` { \"access_token\":\"19f6bafd-93fd-4747-b229-00507bbc991f\", \"token_type\":\"bearer\", \"expires_in\":1799, \"scope\":\"...\" } ``` ## API access following authentication Following successful authentication, the value of the access_token field in the response (indicated in green above) should then be presented with all subsequent API calls to allow the Velo platform to validate that the caller is authenticated. This is achieved by setting the HTTP Authorization header with the value set to e.g. Bearer 19f6bafd-93fd-4747-b229-00507bbc991f such as the curl example below: ``` -H \"Authorization: Bearer 19f6bafd-93fd-4747-b229-00507bbc991f \" ``` If you make other Velo API calls which require authorization but the Authorization header is missing or invalid then you will get a **401** HTTP status response. # noqa: E501
The version of the OpenAPI document: 2.26.124
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 velo_payments.api_client import ApiClient
from velo_payments.exceptions import (
ApiTypeError,
ApiValueError
)
class PayoutServiceApi(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 create_quote_for_payout_v3(self, payout_id, **kwargs): # noqa: E501
"""Create a quote for the payout # noqa: E501
Create quote for a payout # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_quote_for_payout_v3(payout_id, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str payout_id: Id of the payout (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
: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: QuoteResponseV3
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.create_quote_for_payout_v3_with_http_info(payout_id, **kwargs) # noqa: E501
def create_quote_for_payout_v3_with_http_info(self, payout_id, **kwargs): # noqa: E501
"""Create a quote for the payout # noqa: E501
Create quote for a payout # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_quote_for_payout_v3_with_http_info(payout_id, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str payout_id: Id of the payout (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
: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: tuple(QuoteResponseV3, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['payout_id'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
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 create_quote_for_payout_v3" % key
)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'payout_id' is set
if ('payout_id' not in local_var_params or
local_var_params['payout_id'] is None):
raise ApiValueError("Missing the required parameter `payout_id` when calling `create_quote_for_payout_v3`") # noqa: E501
collection_formats = {}
path_params = {}
if 'payout_id' in local_var_params:
path_params['payoutId'] = local_var_params['payout_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 = ['OAuth2'] # noqa: E501
return self.api_client.call_api(
'/v3/payouts/{payoutId}/quote', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='QuoteResponseV3', # noqa: E501
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)
def get_payments_for_payout_v3(self, payout_id, **kwargs): # noqa: E501
"""Retrieve payments for a payout # noqa: E501
Retrieve payments for a payout # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_payments_for_payout_v3(payout_id, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str payout_id: Id of the payout (required)
:param str status: Payment Status * ACCEPTED: any payment which was accepted at submission time (status may have changed since) * REJECTED: any payment rejected by initial submission processing * WITHDRAWN: any payment which has been withdrawn * WITHDRAWABLE: any payment eligible for withdrawal
:param str remote_id: The remote id of the payees.
:param str payor_payment_id: Payor's Id of the Payment
:param str source_account_name: Physical Account Name
:param str transmission_type: Transmission Type * ACH * SAME_DAY_ACH * WIRE
:param str payment_memo: Payment Memo of the Payment
:param int page_size: The number of results to return in a page
:param int page: Page number. Default is 1.
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
: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: PagedPaymentsResponseV3
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.get_payments_for_payout_v3_with_http_info(payout_id, **kwargs) # noqa: E501
def get_payments_for_payout_v3_with_http_info(self, payout_id, **kwargs): # noqa: E501
"""Retrieve payments for a payout # noqa: E501
Retrieve payments for a payout # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_payments_for_payout_v3_with_http_info(payout_id, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str payout_id: Id of the payout (required)
:param str status: Payment Status * ACCEPTED: any payment which was accepted at submission time (status may have changed since) * REJECTED: any payment rejected by initial submission processing * WITHDRAWN: any payment which has been withdrawn * WITHDRAWABLE: any payment eligible for withdrawal
:param str remote_id: The remote id of the payees.
:param str payor_payment_id: Payor's Id of the Payment
:param str source_account_name: Physical Account Name
:param str transmission_type: Transmission Type * ACH * SAME_DAY_ACH * WIRE
:param str payment_memo: Payment Memo of the Payment
:param int page_size: The number of results to return in a page
:param int page: Page number. Default is 1.
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
: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: tuple(PagedPaymentsResponseV3, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['payout_id', 'status', 'remote_id', 'payor_payment_id', 'source_account_name', 'transmission_type', 'payment_memo', 'page_size', 'page'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
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 get_payments_for_payout_v3" % key
)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'payout_id' is set
if ('payout_id' not in local_var_params or
local_var_params['payout_id'] is None):
raise ApiValueError("Missing the required parameter `payout_id` when calling `get_payments_for_payout_v3`") # noqa: E501
if 'page_size' in local_var_params and local_var_params['page_size'] > 100: # noqa: E501
raise ApiValueError("Invalid value for parameter `page_size` when calling `get_payments_for_payout_v3`, must be a value less than or equal to `100`") # noqa: E501
if 'page_size' in local_var_params and local_var_params['page_size'] < 1: # noqa: E501
raise ApiValueError("Invalid value for parameter `page_size` when calling `get_payments_for_payout_v3`, must be a value greater than or equal to `1`") # noqa: E501
collection_formats = {}
path_params = {}
if 'payout_id' in local_var_params:
path_params['payoutId'] = local_var_params['payout_id'] # noqa: E501
query_params = []
if 'status' in local_var_params:
query_params.append(('status', local_var_params['status'])) # noqa: E501
if 'remote_id' in local_var_params:
query_params.append(('remoteId', local_var_params['remote_id'])) # noqa: E501
if 'payor_payment_id' in local_var_params:
query_params.append(('payorPaymentId', local_var_params['payor_payment_id'])) # noqa: E501
if 'source_account_name' in local_var_params:
query_params.append(('sourceAccountName', local_var_params['source_account_name'])) # noqa: E501
if 'transmission_type' in local_var_params:
query_params.append(('transmissionType', local_var_params['transmission_type'])) # noqa: E501
if 'payment_memo' in local_var_params:
query_params.append(('paymentMemo', local_var_params['payment_memo'])) # noqa: E501
if 'page_size' in local_var_params:
query_params.append(('pageSize', local_var_params['page_size'])) # noqa: E501
if 'page' in local_var_params:
query_params.append(('page', local_var_params['page'])) # noqa: E501
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['OAuth2'] # noqa: E501
return self.api_client.call_api(
'/v3/payouts/{payoutId}/payments', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='PagedPaymentsResponseV3', # noqa: E501
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)
def get_payout_summary_v3(self, payout_id, **kwargs): # noqa: E501
"""Get Payout Summary # noqa: E501
Get payout summary - returns the current state of the payout. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_payout_summary_v3(payout_id, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str payout_id: Id of the payout (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
: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: PayoutSummaryResponseV3
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.get_payout_summary_v3_with_http_info(payout_id, **kwargs) # noqa: E501
def get_payout_summary_v3_with_http_info(self, payout_id, **kwargs): # noqa: E501
"""Get Payout Summary # noqa: E501
Get payout summary - returns the current state of the payout. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_payout_summary_v3_with_http_info(payout_id, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str payout_id: Id of the payout (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
: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: tuple(PayoutSummaryResponseV3, status_code(int), headers(HTTPHeaderDict))
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['payout_id'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
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 get_payout_summary_v3" % key
)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'payout_id' is set
if ('payout_id' not in local_var_params or
local_var_params['payout_id'] is None):
raise ApiValueError("Missing the required parameter `payout_id` when calling `get_payout_summary_v3`") # noqa: E501
collection_formats = {}
path_params = {}
if 'payout_id' in local_var_params:
path_params['payoutId'] = local_var_params['payout_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 = ['OAuth2'] # noqa: E501
return self.api_client.call_api(
'/v3/payouts/{payoutId}', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='PayoutSummaryResponseV3', # noqa: E501
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)
def instruct_payout_v3(self, payout_id, **kwargs): # noqa: E501
"""Instruct Payout # noqa: E501
Instruct a payout to be made for the specified payoutId. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.instruct_payout_v3(payout_id, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str payout_id: Id of the payout (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
: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: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.instruct_payout_v3_with_http_info(payout_id, **kwargs) # noqa: E501
def instruct_payout_v3_with_http_info(self, payout_id, **kwargs): # noqa: E501
"""Instruct Payout # noqa: E501
Instruct a payout to be made for the specified payoutId. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.instruct_payout_v3_with_http_info(payout_id, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str payout_id: Id of the payout (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
: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: None
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['payout_id'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
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 instruct_payout_v3" % key
)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'payout_id' is set
if ('payout_id' not in local_var_params or
local_var_params['payout_id'] is None):
raise ApiValueError("Missing the required parameter `payout_id` when calling `instruct_payout_v3`") # noqa: E501
collection_formats = {}
path_params = {}
if 'payout_id' in local_var_params:
path_params['payoutId'] = local_var_params['payout_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 = ['OAuth2'] # noqa: E501
return self.api_client.call_api(
'/v3/payouts/{payoutId}', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=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)
def submit_payout_v3(self, create_payout_request_v3, **kwargs): # noqa: E501
"""Submit Payout # noqa: E501
<p>Create a new payout and return a location header with a link to get the payout.</p> <p>Basic validation of the payout is performed before returning but more comprehensive validation is done asynchronously.</p> <p>The results can be obtained by issuing a HTTP GET to the URL returned in the location header.</p> <p>**NOTE:** amount values in payments must be in 'minor units' format. E.g. cents for USD, pence for GBP etc.</p> with no decimal places. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.submit_payout_v3(create_payout_request_v3, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param CreatePayoutRequestV3 create_payout_request_v3: Post amount to transfer using stored funding account details. (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
: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: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.submit_payout_v3_with_http_info(create_payout_request_v3, **kwargs) # noqa: E501
def submit_payout_v3_with_http_info(self, create_payout_request_v3, **kwargs): # noqa: E501
"""Submit Payout # noqa: E501
<p>Create a new payout and return a location header with a link to get the payout.</p> <p>Basic validation of the payout is performed before returning but more comprehensive validation is done asynchronously.</p> <p>The results can be obtained by issuing a HTTP GET to the URL returned in the location header.</p> <p>**NOTE:** amount values in payments must be in 'minor units' format. E.g. cents for USD, pence for GBP etc.</p> with no decimal places. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.submit_payout_v3_with_http_info(create_payout_request_v3, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param CreatePayoutRequestV3 create_payout_request_v3: Post amount to transfer using stored funding account details. (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
: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: None
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['create_payout_request_v3'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
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 submit_payout_v3" % key
)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'create_payout_request_v3' is set
if ('create_payout_request_v3' not in local_var_params or
local_var_params['create_payout_request_v3'] is None):
raise ApiValueError("Missing the required parameter `create_payout_request_v3` when calling `submit_payout_v3`") # noqa: E501
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'create_payout_request_v3' in local_var_params:
body_params = local_var_params['create_payout_request_v3']
# 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', 'multipart/form-data']) # noqa: E501
# Authentication setting
auth_settings = ['OAuth2'] # noqa: E501
return self.api_client.call_api(
'/v3/payouts', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=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)
def withdraw_payment(self, payment_id, withdraw_payment_request, **kwargs): # noqa: E501
"""Withdraw a Payment # noqa: E501
<p>withdraw a payment </p> <p>There are a variety of reasons why this can fail</p> <ul> <li>the payment must be in a state of 'accepted' or 'unfunded'</li> <li>the payout must not be in a state of 'instructed'</li> </ul> # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.withdraw_payment(payment_id, withdraw_payment_request, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str payment_id: Id of the Payment (required)
:param WithdrawPaymentRequest withdraw_payment_request: details for withdrawal (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
: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: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.withdraw_payment_with_http_info(payment_id, withdraw_payment_request, **kwargs) # noqa: E501
def withdraw_payment_with_http_info(self, payment_id, withdraw_payment_request, **kwargs): # noqa: E501
"""Withdraw a Payment # noqa: E501
<p>withdraw a payment </p> <p>There are a variety of reasons why this can fail</p> <ul> <li>the payment must be in a state of 'accepted' or 'unfunded'</li> <li>the payout must not be in a state of 'instructed'</li> </ul> # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.withdraw_payment_with_http_info(payment_id, withdraw_payment_request, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str payment_id: Id of the Payment (required)
:param WithdrawPaymentRequest withdraw_payment_request: details for withdrawal (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
: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: None
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['payment_id', 'withdraw_payment_request'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
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 withdraw_payment" % key
)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'payment_id' is set
if ('payment_id' not in local_var_params or
local_var_params['payment_id'] is None):
raise ApiValueError("Missing the required parameter `payment_id` when calling `withdraw_payment`") # noqa: E501
# verify the required parameter 'withdraw_payment_request' is set
if ('withdraw_payment_request' not in local_var_params or
local_var_params['withdraw_payment_request'] is None):
raise ApiValueError("Missing the required parameter `withdraw_payment_request` when calling `withdraw_payment`") # noqa: E501
collection_formats = {}
path_params = {}
if 'payment_id' in local_var_params:
path_params['paymentId'] = local_var_params['payment_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
if 'withdraw_payment_request' in local_var_params:
body_params = local_var_params['withdraw_payment_request']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['OAuth2'] # noqa: E501
return self.api_client.call_api(
'/v1/payments/{paymentId}/withdraw', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=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)
def withdraw_payout_v3(self, payout_id, **kwargs): # noqa: E501
"""Withdraw Payout # noqa: E501
Withdraw Payout will delete payout details from payout service and rails services but will just move the status of the payout to WITHDRAWN in payment audit. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.withdraw_payout_v3(payout_id, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str payout_id: Id of the payout (required)
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
: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: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
return self.withdraw_payout_v3_with_http_info(payout_id, **kwargs) # noqa: E501
def withdraw_payout_v3_with_http_info(self, payout_id, **kwargs): # noqa: E501
"""Withdraw Payout # noqa: E501
Withdraw Payout will delete payout details from payout service and rails services but will just move the status of the payout to WITHDRAWN in payment audit. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.withdraw_payout_v3_with_http_info(payout_id, async_req=True)
>>> result = thread.get()
:param async_req bool: execute request asynchronously
:param str payout_id: Id of the payout (required)
:param _return_http_data_only: response data without head status code
and headers
:param _preload_content: if False, the urllib3.HTTPResponse object will
be returned without reading/decoding response
data. Default is True.
: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: None
If the method is called asynchronously,
returns the request thread.
"""
local_var_params = locals()
all_params = ['payout_id'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
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 withdraw_payout_v3" % key
)
local_var_params[key] = val
del local_var_params['kwargs']
# verify the required parameter 'payout_id' is set
if ('payout_id' not in local_var_params or
local_var_params['payout_id'] is None):
raise ApiValueError("Missing the required parameter `payout_id` when calling `withdraw_payout_v3`") # noqa: E501
collection_formats = {}
path_params = {}
if 'payout_id' in local_var_params:
path_params['payoutId'] = local_var_params['payout_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 = ['OAuth2'] # noqa: E501
return self.api_client.call_api(
'/v3/payouts/{payoutId}', 'DELETE',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=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)
| 54.431442 | 4,651 | 0.639514 | 5,608 | 46,049 | 5.028352 | 0.086484 | 0.034611 | 0.053619 | 0.022341 | 0.832441 | 0.818256 | 0.806837 | 0.790986 | 0.78134 | 0.771694 | 0 | 0.020214 | 0.288823 | 46,049 | 845 | 4,652 | 54.495858 | 0.84082 | 0.530652 | 0 | 0.730159 | 0 | 0.005291 | 0.209906 | 0.061216 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039683 | false | 0 | 0.013228 | 0 | 0.092593 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
05fcb155cba29c24437d1d749fbe9f69205633bc | 135 | py | Python | tests/test_loading.py | dpr-rpg/notebrowser | 66ccda9ed23a280d281a28825fad316062cad963 | [
"MIT"
] | null | null | null | tests/test_loading.py | dpr-rpg/notebrowser | 66ccda9ed23a280d281a28825fad316062cad963 | [
"MIT"
] | null | null | null | tests/test_loading.py | dpr-rpg/notebrowser | 66ccda9ed23a280d281a28825fad316062cad963 | [
"MIT"
] | null | null | null | from pathlib import Path
from notebrowser import loading
def test_load_records():
loading.load_records(Path("example/records"))
| 16.875 | 49 | 0.785185 | 18 | 135 | 5.722222 | 0.611111 | 0.213592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 135 | 7 | 50 | 19.285714 | 0.880342 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
af41f6524b6f8153f8b4e45aaed766bb2c39c783 | 1,259 | py | Python | exp/splixels/pgm.py | NMinhNguyen/wordsandbuttons | beba7f73c46f40790ad2482c2c0c04cfa5f626a4 | [
"Unlicense"
] | 367 | 2018-01-29T17:45:00.000Z | 2022-03-08T03:50:52.000Z | exp/splixels/pgm.py | NMinhNguyen/wordsandbuttons | beba7f73c46f40790ad2482c2c0c04cfa5f626a4 | [
"Unlicense"
] | 9 | 2017-12-21T16:48:08.000Z | 2021-01-23T17:20:20.000Z | exp/splixels/pgm.py | NMinhNguyen/wordsandbuttons | beba7f73c46f40790ad2482c2c0c04cfa5f626a4 | [
"Unlicense"
] | 20 | 2018-02-18T11:52:36.000Z | 2021-11-22T09:46:53.000Z | pgm = """
P2
# CREATOR: GIMP PNM Filter Version 1.1
16 16
255
0
0
0
0
0
0
1
2
2
1
0
0
0
0
0
0
0
0
0
0
0
22
42
52
52
42
22
0
0
0
0
0
0
0
0
10
52
96
122
140
140
122
96
52
10
0
0
0
0
0
10
66
121
170
193
202
202
193
170
121
66
10
0
0
0
0
52
121
181
211
222
226
226
222
211
181
121
52
0
0
0
22
96
170
211
226
231
234
234
231
226
211
170
96
22
0
1
42
122
193
222
231
235
237
237
235
231
222
193
122
42
1
2
52
140
202
226
234
237
238
238
237
234
226
202
140
52
2
2
52
140
202
226
234
237
238
238
237
234
226
202
140
52
2
1
42
122
193
222
231
235
237
237
235
231
222
193
122
42
1
0
22
96
170
211
226
231
234
234
231
226
211
170
96
22
0
0
0
52
121
181
211
222
226
226
222
211
181
121
52
0
0
0
0
10
66
121
170
193
202
202
193
170
121
66
10
0
0
0
0
0
10
52
96
122
140
140
122
96
52
10
0
0
0
0
0
0
0
0
22
42
52
52
42
22
0
0
0
0
0
0
0
0
0
0
0
1
2
2
1
0
0
0
0
0
0
"""
lines = [line for line in pgm.split('\n') if line != '']
w = int(lines[2].split(' ')[0])
h = int(lines[2].split(' ')[1])
data_in_rows = ""
for i in range(h):
row = ""
for j in range(w):
value = lines[4 + w*i +j] + ' '
row += value + ' '*(4 - len(value))
data_in_rows += row + '\n'
print (lines[0])
print (lines[1])
print (lines[2])
print (lines[3])
print (data_in_rows)
| 4.512545 | 56 | 0.623511 | 336 | 1,259 | 2.318452 | 0.160714 | 0.159178 | 0.192555 | 0.195122 | 0.682927 | 0.682927 | 0.682927 | 0.682927 | 0.682927 | 0.682927 | 0 | 0.621622 | 0.294678 | 1,259 | 278 | 57 | 4.528777 | 0.255631 | 0 | 0 | 0.592058 | 0 | 0 | 0.674345 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.018051 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
af721498240d661610615a3704e6210c90697db2 | 102 | py | Python | wildfirepy/net/__init__.py | Lashuk1729/wildfirepy | 085a1b90e64e4875aa6e9e7fc882902acff97775 | [
"MIT"
] | 21 | 2020-05-03T11:29:49.000Z | 2021-08-18T15:51:29.000Z | wildfirepy/net/__init__.py | lisa761/wildfirepy | 9f54e87adf7d7ff3738f1a13303d4073dd82fbc1 | [
"MIT"
] | 60 | 2020-05-01T22:35:09.000Z | 2020-12-07T08:48:59.000Z | wildfirepy/net/__init__.py | lisa761/wildfirepy | 9f54e87adf7d7ff3738f1a13303d4073dd82fbc1 | [
"MIT"
] | 24 | 2020-05-02T02:01:56.000Z | 2021-01-05T18:03:19.000Z | from wildfirepy.net.snpp import *
from wildfirepy.net.usgs import *
from wildfirepy.net.util import *
| 25.5 | 33 | 0.794118 | 15 | 102 | 5.4 | 0.466667 | 0.518519 | 0.62963 | 0.567901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 102 | 3 | 34 | 34 | 0.9 | 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 | 0 | 0 | 0 | 7 |
bb880a94f092ed8327a97fc1d27738bf4cb06f89 | 267 | py | Python | python/armstrong-numbers/armstrong_numbers.py | sudopluto/exercism | d18f637c6ab0c857ea8623dacb47e73af74dfa96 | [
"MIT"
] | null | null | null | python/armstrong-numbers/armstrong_numbers.py | sudopluto/exercism | d18f637c6ab0c857ea8623dacb47e73af74dfa96 | [
"MIT"
] | null | null | null | python/armstrong-numbers/armstrong_numbers.py | sudopluto/exercism | d18f637c6ab0c857ea8623dacb47e73af74dfa96 | [
"MIT"
] | null | null | null | def is_armstrong(number):
return is_armstrong_acc(number, len(str(number)), 0) == number
def is_armstrong_acc(number, power, acc):
if number == 0:
return acc
else:
return is_armstrong_acc(number // 10, power, acc + (number % 10) ** power) | 33.375 | 82 | 0.651685 | 38 | 267 | 4.394737 | 0.342105 | 0.263473 | 0.251497 | 0.359281 | 0.311377 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028846 | 0.220974 | 267 | 8 | 82 | 33.375 | 0.774038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.714286 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
bba6959a2d7c864960af48eed420faab29b3c425 | 2,664 | py | Python | notebook/skimage_util_montage.py | vhn0912/python-snippets | 80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038 | [
"MIT"
] | 174 | 2018-05-30T21:14:50.000Z | 2022-03-25T07:59:37.000Z | notebook/skimage_util_montage.py | vhn0912/python-snippets | 80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038 | [
"MIT"
] | 5 | 2019-08-10T03:22:02.000Z | 2021-07-12T20:31:17.000Z | notebook/skimage_util_montage.py | vhn0912/python-snippets | 80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038 | [
"MIT"
] | 53 | 2018-04-27T05:26:35.000Z | 2022-03-25T07:59:37.000Z | import numpy as np
import skimage.util
a = np.arange(1, 7).reshape(2, 3)
print(a)
# [[1 2 3]
# [4 5 6]]
b = a * 10
print(b)
# [[10 20 30]
# [40 50 60]]
c = a * 100
print(c)
# [[100 200 300]
# [400 500 600]]
m = skimage.util.montage([a, b, c])
print(m)
# [[ 1 2 3 10 20 30]
# [ 4 5 6 40 50 60]
# [100 200 300 129 129 129]
# [400 500 600 129 129 129]]
print(m.shape)
# (4, 6)
abc = np.array([a, b, c])
print(abc)
# [[[ 1 2 3]
# [ 4 5 6]]
#
# [[ 10 20 30]
# [ 40 50 60]]
#
# [[100 200 300]
# [400 500 600]]]
print(abc.shape)
# (3, 2, 3)
print(skimage.util.montage(abc))
# [[ 1 2 3 10 20 30]
# [ 4 5 6 40 50 60]
# [100 200 300 129 129 129]
# [400 500 600 129 129 129]]
d = a[:, :2]
print(d)
# [[1 2]
# [4 5]]
# skimage.util.montage([a, b, c, d])
# ValueError: could not broadcast input array from shape (2,3) into shape (2)
print(np.mean(np.array([a, b, c])))
# 129.5
print(skimage.util.montage([a, b, c], fill=0))
# [[ 1 2 3 10 20 30]
# [ 4 5 6 40 50 60]
# [100 200 300 0 0 0]
# [400 500 600 0 0 0]]
print(skimage.util.montage([a, b, c], grid_shape=(1, 3)))
# [[ 1 2 3 10 20 30 100 200 300]
# [ 4 5 6 40 50 60 400 500 600]]
print(skimage.util.montage([a, b, c], grid_shape=(3, 1)))
# [[ 1 2 3]
# [ 4 5 6]
# [ 10 20 30]
# [ 40 50 60]
# [100 200 300]
# [400 500 600]]
# print(skimage.util.montage([a, b, c], grid_shape=(1, 2)))
# IndexError: list index out of range
print(skimage.util.montage([a, b, c], grid_shape=(2, 3)))
# [[ 1 2 3 10 20 30 100 200 300]
# [ 4 5 6 40 50 60 400 500 600]
# [129 129 129 129 129 129 129 129 129]
# [129 129 129 129 129 129 129 129 129]]
print(skimage.util.montage([a, b, c], grid_shape=(2, 3), fill=0))
# [[ 1 2 3 10 20 30 100 200 300]
# [ 4 5 6 40 50 60 400 500 600]
# [ 0 0 0 0 0 0 0 0 0]
# [ 0 0 0 0 0 0 0 0 0]]
print(skimage.util.montage([a, b, c], padding_width=1))
# [[129 129 129 129 129 129 129 129 129]
# [129 1 2 3 129 10 20 30 129]
# [129 4 5 6 129 40 50 60 129]
# [129 129 129 129 129 129 129 129 129]
# [129 100 200 300 129 129 129 129 129]
# [129 400 500 600 129 129 129 129 129]
# [129 129 129 129 129 129 129 129 129]]
print(skimage.util.montage([a, b, c], padding_width=1, fill=0))
# [[ 0 0 0 0 0 0 0 0 0]
# [ 0 1 2 3 0 10 20 30 0]
# [ 0 4 5 6 0 40 50 60 0]
# [ 0 0 0 0 0 0 0 0 0]
# [ 0 100 200 300 0 0 0 0 0]
# [ 0 400 500 600 0 0 0 0 0]
# [ 0 0 0 0 0 0 0 0 0]]
| 24 | 77 | 0.499625 | 535 | 2,664 | 2.474766 | 0.106542 | 0.285498 | 0.360272 | 0.135952 | 0.756798 | 0.741692 | 0.660121 | 0.640483 | 0.632931 | 0.614804 | 0 | 0.416762 | 0.341592 | 2,664 | 110 | 78 | 24.218182 | 0.338084 | 0.667417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.08 | 0 | 0.08 | 0.68 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
bbeec33436fdac27caca9645fa56daefd04e82a2 | 13,428 | py | Python | backend/tests/test_process_sketch_results.py | uwplse/stng | ce12c2c079516df873382a5aa3c18c407833d130 | [
"MIT"
] | 14 | 2017-03-07T00:14:33.000Z | 2022-02-09T00:59:22.000Z | backend/tests/test_process_sketch_results.py | uwplse/stng | ce12c2c079516df873382a5aa3c18c407833d130 | [
"MIT"
] | 11 | 2016-11-22T13:14:55.000Z | 2021-12-14T00:56:51.000Z | backend/tests/test_process_sketch_results.py | uwplse/stng | ce12c2c079516df873382a5aa3c18c407833d130 | [
"MIT"
] | 6 | 2016-11-07T13:38:45.000Z | 2021-04-04T12:13:31.000Z | import unittest
from process_sketch_results import *
class TestIdxParsing(unittest.TestCase):
def test_parsing(self):
tc1 = """void idx_node_mass_pre (int x_max, int x_min, int y_max, int y_min, int k, int j, ref int _out)/*a3.sk:142*/
{
_out = 0;
_out = (99 + k) + (((y_max + 2) - (y_min - 3)) * j);
return;
}"""
result = IdxParser(tc1).interpret("idx_node_mass_pre(a,b,c,d,_k,_j,_out_37)")
self.assertEqual(result, "_out_37 = 0\n_out_37 = _j*(c - d + 5) + _k + 99\n")
result = IdxParser(tc1).interpret("idx_node_mass_pre(a, b, c,d,_k,_j, _out_37)")
self.assertEqual(result, "_out_37 = 0\n_out_37 = _j*(c - d + 5) + _k + 99\n")
class TestFullExample(unittest.TestCase):
def test_full(self):
tc2 = """void gen_node_mass_pre_postcondition (ref double[1000] node_flux, ref double[1000] node_mass_post, ref double[1000] node_mass_pre, int x_max, int x_min, int y_max, int y_min, int k, int j, int _limit, ref double _out)/*a3.sk
:109*/
{
_out = 0.0;
assert (_limit > 0); //Assert at a3.sk:189 (2365095157446817455)
int acc_s33 = 0;
idx_node_flux(x_max, x_min, y_max, y_min, k, j, acc_s33);
int acc_s35 = 0;
idx_node_mass_post(x_max, x_min, y_max, y_min, k, j, acc_s35);
double arracc_s29 = node_mass_post[acc_s35];
int _limit_0 = _limit - 1;
assert (_limit_0 > 0); //Assert at a3.sk:189 (-240272354471628473)
int acc_s33_0 = 0;
idx_node_flux(x_max, x_min, y_max, y_min, k, j, acc_s33_0);
double arracc_s29_0 = node_flux[acc_s33_0];
assert ((_limit_0 - 1) > 0); //Assert at a3.sk:189 (107965870416579323)
int acc_s33_1 = 0;
idx_node_flux(x_max, x_min, y_max, y_min, k - 1, j, acc_s33_1);
double arracc_s29_1 = node_flux[acc_s33_1];
_out = arracc_s29 + (arracc_s29_0 - arracc_s29_1);
return;
}
/*a3.sk:136*/
void idx_node_flux (int x_max, int x_min, int y_max, int y_min, int k, int j, ref int _out)/*a3.sk:136*/
{
_out = 0;
_out = (99 + k) + (((y_max + 3) - (y_min - 2)) * j);
return;
}
/*a3.sk:139*/
void idx_node_mass_post (int x_max, int x_min, int y_max, int y_min, int k, int j, ref int _out)/*a3.sk:139*/
{
_out = 0;
_out = (99 + k) + (((y_max + 2) - (y_min - 3)) * j);
return;
}
/*a3.sk:142*/
void idx_node_mass_pre (int x_max, int x_min, int y_max, int y_min, int k, int j, ref int _out)/*a3.sk:142*/
{
_out = 0;
_out = (99 + k) + (((y_max + 2) - (y_min - 3)) * j);
return;
}"""
result = SketchResultProcessor(tc2).interpret()
print result
def test_huge(self):
tc3 = """/* BEGIN PACKAGE ANONYMOUS*/
/*a3.sk:67*/
void I_j (ref double[1000] node_flux, ref double[1000] node_mass_post, ref double[1000] node_mass_pre, int x_max, int x_min, int y_max, int y_min, int k, int j, ref bit _out)/*a3.sk:67*/
{
_out = 0;
_out = 1;
bit _pac_sc_s59_s61 = 0;
I_k(node_flux, node_mass_post, node_mass_pre, x_max, x_min, y_max, y_min, k, j, _pac_sc_s59_s61);
_out = _pac_sc_s59_s61;
for(int _k = k; _k <= k; _k = _k + 1)/*Canonical*/
{
for(int _j = x_min; _j < j; _j = _j + 1)/*Canonical*/
{
int _out_s63 = 0;
idx_node_mass_pre(x_max, x_min, y_max, y_min, _k, _j, _out_s63);
double _out_s65 = 0.0;
gen_node_mass_pre_j(node_flux, node_mass_post, node_mass_pre, x_max, x_min, y_max, y_min, _k, _j, 8, _out_s65);
if(!((node_mass_pre[_out_s63]) == _out_s65))/*a3.sk:76*/
{
_out = 0;
}
}
}
return;
}
/*a3.sk:87*/
void I_j2 (ref double[1000] node_flux, ref double[1000] node_mass_post, ref double[1000] node_mass_pre, int x_max, int x_min, int y_max, int y_min, int k, int j, int k_p, int j_p, ref bit _out)/*a3.sk:87*/
{
_out = 0;
_out = 1;
bit _pac_sc_s46_s48 = 0;
I_k2(node_flux, node_mass_post, node_mass_pre, x_max, x_min, y_max, y_min, k, j, k_p, j_p, _pac_sc_s46_s48);
_out = _pac_sc_s46_s48;
if((k_p >= k) && (k_p <= k))/*a3.sk:96*/
{
if((j_p >= x_min) && (j_p < j))/*a3.sk:97*/
{
int _out_s50 = 0;
idx_node_mass_pre(x_max, x_min, y_max, y_min, k_p, j_p, _out_s50);
double _out_s52 = 0.0;
gen_node_mass_pre_j(node_flux, node_mass_post, node_mass_pre, x_max, x_min, y_max, y_min, k_p, j_p, 8, _out_s52);
if(!((node_mass_pre[_out_s50]) == _out_s52))/*a3.sk:99*/
{
_out = 0;
}
}
}
return;
}
/*a3.sk:26*/
void I_k (ref double[1000] node_flux, ref double[1000] node_mass_post, ref double[1000] node_mass_pre, int x_max, int x_min, int y_max, int y_min, int k, int j, ref bit _out)/*a3.sk:26*/
{
_out = 0;
_out = 1;
for(int _k = y_min - 1; _k < k; _k = _k + 1)/*Canonical*/
{
for(int _j = x_min; _j < (x_max + 1); _j = _j + 1)/*Canonical*/
{
int _out_s56 = 0;
idx_node_mass_pre(x_max, x_min, y_max, y_min, _k, _j, _out_s56);
double _out_s58 = 0.0;
gen_node_mass_pre_k(node_flux, node_mass_post, node_mass_pre, x_max, x_min, y_max, y_min, _k, _j, 8, _out_s58);
if(!((node_mass_pre[_out_s56]) == _out_s58))/*a3.sk:35*/
{
_out = 0;
}
}
}
return;
}
/*a3.sk:46*/
void I_k2 (ref double[1000] node_flux, ref double[1000] node_mass_post, ref double[1000] node_mass_pre, int x_max, int x_min, int y_max, int y_min, int k, int j, int k_p, int j_p, ref bit _out)/*a3.sk:46*/
{
_out = 0;
_out = 1;
if((k_p >= (y_min - 1)) && (k_p < k))/*a3.sk:54*/
{
if((j_p >= x_min) && (j_p < (x_max + 1)))/*a3.sk:55*/
{
int _out_s23 = 0;
idx_node_mass_pre(x_max, x_min, y_max, y_min, k_p, j_p, _out_s23);
double _out_s25 = 0.0;
gen_node_mass_pre_k(node_flux, node_mass_post, node_mass_pre, x_max, x_min, y_max, y_min, k_p, j_p, 8, _out_s25);
if(!((node_mass_pre[_out_s23]) == _out_s25))/*a3.sk:57*/
{
_out = 0;
}
}
}
return;
}
/*a3.sk:1*/
void _main (ref double[1000] node_flux, ref double[1000] node_mass_post, ref double[1000] node_mass_pre, int x_max, int x_min, int y_max, int y_min, int k, int j, int k_p, int j_p) implements main_spec/*a3.sk:1*/
{
double[1000] arr_6ebacd963b57b2b0 = node_mass_pre;
arr_6ebacd963b57b2b0[99 + (k + (((y_max + 3) - (y_min - 2)) * j))] = ((node_mass_post[99 + (k + (((y_max + 3) - (y_min - 2)) * j))]) - (node_flux[99 + ((k - 1) + (((y_max + 3) - (y_min - 2)) * j))])) + (node_flux[99 + (k + (((y_max + 3) - (y_min - 2)) * j))]);
bit _pac_sc_s0_s2 = 0;
I_k(node_flux, node_mass_post, node_mass_pre, x_max, x_min, y_max, y_min, k, j, _pac_sc_s0_s2);
bit _pac_sc_s0;
_pac_sc_s0 = _pac_sc_s0_s2;
if(_pac_sc_s0_s2)/*a3.sk:6*/
{
_pac_sc_s0 = !(k < (y_max + 2));
}
if(_pac_sc_s0)/*a3.sk:6*/
{
bit _out_s4 = 0;
postcondition(node_flux, node_mass_post, node_mass_pre, x_max, x_min, y_max, y_min, k, j, k_p, j_p, _out_s4);
assert (_out_s4); //Assert at a3.sk:6 (2567846865267323603)
}
bit _pac_sc_s5_s7 = 0;
I_j(node_flux, node_mass_post, node_mass_pre, x_max, x_min, y_max, y_min, k, j, _pac_sc_s5_s7);
bit _pac_sc_s5;
_pac_sc_s5 = _pac_sc_s5_s7;
if(_pac_sc_s5_s7)/*a3.sk:8*/
{
_pac_sc_s5 = !(j < (x_max + 1));
}
if(_pac_sc_s5)/*a3.sk:8*/
{
bit _out_s9 = 0;
I_k2(node_flux, node_mass_post, node_mass_pre, x_max, x_min, y_max, y_min, k + 1, j, k_p, j_p, _out_s9);
assert (_out_s9); //Assert at a3.sk:8 (8870859163363793161)
}
bit _pac_sc_s10_s12 = 0;
I_j(node_flux, node_mass_post, node_mass_pre, x_max, x_min, y_max, y_min, k, j, _pac_sc_s10_s12);
bit _pac_sc_s10;
_pac_sc_s10 = _pac_sc_s10_s12;
if(_pac_sc_s10_s12)/*a3.sk:10*/
{
_pac_sc_s10 = j < (x_max + 1);
}
if(_pac_sc_s10)/*a3.sk:10*/
{
bit _out_s14 = 0;
I_j2(node_flux, node_mass_post, arr_6ebacd963b57b2b0, x_max, x_min, y_max, y_min, k, j + 1, k_p, j_p, _out_s14);
assert (_out_s14); //Assert at a3.sk:10 (1332034464418834564)
}
bit _pac_sc_s15_s17 = 0;
I_k(node_flux, node_mass_post, node_mass_pre, x_max, x_min, y_max, y_min, k, j, _pac_sc_s15_s17);
bit _pac_sc_s15;
_pac_sc_s15 = _pac_sc_s15_s17;
if(_pac_sc_s15_s17)/*a3.sk:12*/
{
_pac_sc_s15 = k < (y_max + 2);
}
if(_pac_sc_s15)/*a3.sk:12*/
{
bit _out_s19 = 0;
I_j2(node_flux, node_mass_post, node_mass_pre, x_max, x_min, y_max, y_min, k, x_min, k_p, j_p, _out_s19);
assert (_out_s19); //Assert at a3.sk:12 (4159904518323808406)
}
bit _out_s21 = 0;
I_k2(node_flux, node_mass_post, node_mass_pre, x_max, x_min, y_max, y_min, y_min - 1, j, k_p, j_p, _out_s21);
assert (_out_s21); //Assert at a3.sk:13 (5412252336164717534)
}
/*a3.sk:184*/
void gen_node_mass_pre_j (ref double[1000] node_flux, ref double[1000] node_mass_post, ref double[1000] node_mass_pre, int x_max, int x_min, int y_max, int y_min, int k, int j, int _limit, ref double _out)/*a3.sk:184*/
{
_out = 0.0;
assert (_limit > 0); //Assert at a3.sk:189 (-7957491005825348185)
int acc_s33 = 0;
idx_node_flux(x_max, x_min, y_max, y_min, k, j, acc_s33);
int acc_s35 = 0;
idx_node_mass_post(x_max, x_min, y_max, y_min, k, j, acc_s35);
double arracc_s29 = node_mass_post[acc_s35];
int _limit_0 = _limit - 1;
assert (_limit_0 > 0); //Assert at a3.sk:189 (-181207746944928531)
int acc_s33_0 = 0;
idx_node_flux(x_max, x_min, y_max, y_min, k, j, acc_s33_0);
double arracc_s29_0 = node_flux[acc_s33_0];
assert ((_limit_0 - 1) > 0); //Assert at a3.sk:189 (6519001948813514308)
int acc_s33_1 = 0;
idx_node_flux(x_max, x_min, y_max, y_min, k - 1, j, acc_s33_1);
double arracc_s29_1 = node_flux[acc_s33_1];
_out = arracc_s29 + (arracc_s29_0 - arracc_s29_1);
return;
}
/*a3.sk:181*/
void gen_node_mass_pre_k (ref double[1000] node_flux, ref double[1000] node_mass_post, ref double[1000] node_mass_pre, int x_max, int x_min, int y_max, int y_min, int k, int j, int _limit, ref double _out)/*a3.sk:181*/
{
_out = 0.0;
assert (_limit > 0); //Assert at a3.sk:189 (-3679688864780935717)
int acc_s33 = 0;
idx_node_flux(x_max, x_min, y_max, y_min, k, j, acc_s33);
int acc_s35 = 0;
idx_node_mass_post(x_max, x_min, y_max, y_min, k, j, acc_s35);
double arracc_s29 = node_mass_post[acc_s35];
int _limit_0 = _limit - 1;
assert (_limit_0 > 0); //Assert at a3.sk:189 (-4891675686945072495)
int acc_s33_0 = 0;
idx_node_flux(x_max, x_min, y_max, y_min, k - 1, j, acc_s33_0);
double arracc_s29_0 = node_flux[acc_s33_0];
assert ((_limit_0 - 1) > 0); //Assert at a3.sk:189 (6598845631811604468)
int acc_s33_1 = 0;
idx_node_flux(x_max, x_min, y_max, y_min, k, j, acc_s33_1);
double arracc_s29_1 = node_flux[acc_s33_1];
_out = arracc_s29 - (arracc_s29_0 - arracc_s29_1);
return;
}
/*a3.sk:109*/
void gen_node_mass_pre_postcondition (ref double[1000] node_flux, ref double[1000] node_mass_post, ref double[1000] node_mass_pre, int x_max, int x_min, int y_max, int y_min, int k, int j, int _limit, ref double _out)/*a3.sk:109*/
{
_out = 0.0;
assert (_limit > 0); //Assert at a3.sk:189 (2365095157446817455)
int acc_s33 = 0;
idx_node_flux(x_max, x_min, y_max, y_min, k, j, acc_s33);
int acc_s35 = 0;
idx_node_mass_post(x_max, x_min, y_max, y_min, k, j, acc_s35);
double arracc_s29 = node_mass_post[acc_s35];
int _limit_0 = _limit - 1;
assert (_limit_0 > 0); //Assert at a3.sk:189 (-240272354471628473)
int acc_s33_0 = 0;
idx_node_flux(x_max, x_min, y_max, y_min, k, j, acc_s33_0);
double arracc_s29_0 = node_flux[acc_s33_0];
assert ((_limit_0 - 1) > 0); //Assert at a3.sk:189 (107965870416579323)
int acc_s33_1 = 0;
idx_node_flux(x_max, x_min, y_max, y_min, k - 1, j, acc_s33_1);
double arracc_s29_1 = node_flux[acc_s33_1];
_out = arracc_s29 + (arracc_s29_0 - arracc_s29_1);
return;
}
/*a3.sk:136*/
void idx_node_flux (int x_max, int x_min, int y_max, int y_min, int k, int j, ref int _out)/*a3.sk:136*/
{
_out = 0;
_out = (99 + k) + (((y_max + 3) - (y_min - 2)) * j);
return;
}
/*a3.sk:139*/
void idx_node_mass_post (int x_max, int x_min, int y_max, int y_min, int k, int j, ref int _out)/*a3.sk:139*/
{
_out = 0;
_out = (99 + k) + (((y_max + 2) - (y_min - 3)) * j);
return;
}
/*a3.sk:142*/
void idx_node_mass_pre (int x_max, int x_min, int y_max, int y_min, int k, int j, ref int _out)/*a3.sk:142*/
{
_out = 0;
_out = (99 + k) + (((y_max + 2) - (y_min - 3)) * j);
return;
}
/*a3.sk:16*/
void main_spec (ref double[1000] node_flux, ref double[1000] node_mass_post, ref double[1000] node_mass_pre, int x_max, int x_min, int y_max, int y_min, int k, int j, int k_p, int j_p)/*a3.sk:16*/
{
assume (((y_max + 2) - (y_min - 1)) > 1): "Assume at a3.sk:17"; //Assume at a3.sk:17
assume (((x_max + 1) - x_min) > 1): "Assume at a3.sk:18"; //Assume at a3.sk:18
}
/*a3.sk:113*/
void postcondition (ref double[1000] node_flux, ref double[1000] node_mass_post, ref double[1000] node_mass_pre, int x_max, int x_min, int y_max, int y_min, int k, int j, int k_p, int j_p, ref bit _out)/*a3.sk:113*/
{
_out = 0;
_out = 1;
if((k_p >= (y_min - 1)) && (k_p < (y_max + 2)))/*a3.sk:117*/
{
if((j_p >= x_min) && (j_p < (x_max + 1)))/*a3.sk:118*/
{
int _out_s67 = 0;
idx_node_mass_pre(x_max, x_min, y_max, y_min, k_p, j_p, _out_s67);
double _out_s69 = 0.0;
gen_node_mass_pre_postcondition(node_flux, node_mass_post, node_mass_pre, x_max, x_min, y_max, y_min, k_p, j_p, 8, _out_s69);
if(!((node_mass_pre[_out_s67]) == _out_s69))/*a3.sk:120*/
{
_out = 0;
}
}
}
return;
}"""
result = SketchResultProcessor(tc3).interpret()
print result
if __name__ == '__main__':
unittest.main()
| 37.613445 | 262 | 0.644996 | 2,659 | 13,428 | 2.847687 | 0.059797 | 0.094031 | 0.074089 | 0.039091 | 0.802562 | 0.771923 | 0.746962 | 0.732435 | 0.728737 | 0.727285 | 0 | 0.120616 | 0.197349 | 13,428 | 356 | 263 | 37.719101 | 0.581926 | 0 | 0 | 0.372024 | 0 | 0.14881 | 0.952189 | 0.12042 | 0 | 0 | 0 | 0 | 0.056548 | 0 | null | null | 0 | 0.005952 | null | null | 0.005952 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a53d875bb05038de185d9a8db3aa810e04c3ae81 | 21,833 | py | Python | code/python/FactSetESG/v1/fds/sdk/FactSetESG/model/indicators.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 6 | 2022-02-07T16:34:18.000Z | 2022-03-30T08:04:57.000Z | code/python/FactSetESG/v1/fds/sdk/FactSetESG/model/indicators.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 2 | 2022-02-07T05:25:57.000Z | 2022-03-07T14:18:04.000Z | code/python/FactSetESG/v1/fds/sdk/FactSetESG/model/indicators.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | null | null | null | """
FactSet ESG API
FactSet ESG (powered by FactSet Truvalue Labs) applies machine learning to uncover risks and opportunities from companies' Environmental, Social and Governance (ESG) behavior, which are aggregated and categorized into continuously updated, material ESG scores. The service focuses on company ESG behavior from external sources and includes both positive and negative events that go beyond traditional sources of ESG risk data.<p> FactSet ESG extracts, analyzes, and generates scores from millions of documents each month collected from more than 100,000 data sources in over 13 languages. Sources include news, trade journals, NGOs, watchdog groups, trade blogs, industry reports and social media. Products deliver investable insights by revealing value and risk factors from unstructured data at the speed of current events.</p> # noqa: E501
The version of the OpenAPI document: 1.3.0
Contact: api@factset.com
Generated by: https://openapi-generator.tech
"""
import re # noqa: F401
import sys # noqa: F401
from fds.sdk.FactSetESG.model_utils import ( # noqa: F401
ApiTypeError,
ModelComposed,
ModelNormal,
ModelSimple,
cached_property,
change_keys_js_to_python,
convert_js_args_to_python_args,
date,
datetime,
file_type,
none_type,
validate_get_composed_info,
OpenApiModel
)
from fds.sdk.FactSetESG.exceptions import ApiAttributeError
class Indicators(ModelSimple):
"""NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
Do not edit the class manually.
Attributes:
allowed_values (dict): The key is the tuple path to the attribute
and the for var_name this is (var_name,). The value is a dict
with a capitalized key describing the allowed value and an allowed
value. These dicts store the allowed enum values.
validations (dict): The key is the tuple path to the attribute
and the for var_name this is (var_name,). The value is a dict
that stores validations for max_length, min_length, max_items,
min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
inclusive_minimum, and regex.
additional_properties_type (tuple): A tuple of classes accepted
as additional properties values.
"""
allowed_values = {
}
validations = {
}
additional_properties_type = None
_nullable = False
@cached_property
def openapi_types():
"""
This must be a method because a model may have properties that are
of type self, this must run after the class is loaded
Returns
openapi_types (dict): The key is attribute name
and the value is attribute type.
"""
return {
'value': ([str],),
}
@cached_property
def discriminator():
return None
attribute_map = {}
read_only_vars = set()
_composed_schemas = None
required_properties = set([
'_data_store',
'_check_type',
'_spec_property_naming',
'_path_to_item',
'_configuration',
'_visited_composed_classes',
])
@convert_js_args_to_python_args
def __init__(self, *args, **kwargs):
"""Indicators - a model defined in OpenAPI
Note that value can be passed either in args or in kwargs, but not in both.
Args:
args[0] ([str]): The indicators are the Principal Adverse Impact (PAI) metrics which consists of General, Mandatory and Additional indicators which supports the SFDR reporting. The data can also be requested for individual sub topic codes in addition to the indicators mentioned below - |**SFDR PAI Indicators**|**Description**| |---|---| |**MandatoryIndicators**| Mandatory indicators are the indicators which must be reported under the EU Sustainable Finance Disclosure Regulation (SFDR).| |**AdditionalIndicators**| These are additional environmental and social indicators as mentioned in additional tables as provided in the Annex 1 table in the SFDR RTS report.| |**GHGEmissions**| This mandatory indicator includes metrics related to greenhouse emissions such as - Scope 1, 2, and 3 emissions, footprint and intensity and energy consumption from non-renewable and high climate sectors.| |**Biodiversity**| This mandatory indicator includes metrics pertaining to biodiversity and a company's impacts on biodiversity-sensitive areas.| |**Water**| This mandatory indicator includes data relating to emissions to water as made by the companies.| |**Waste**| This mandatory indicator includes data relating to hazardous waste as generated by the companies.| |**SocialEmployeeMatters**| This mandatory indicator includes employee-related metrics like gender diversity, pay gap and social-related metrics like violation of UNGC/OECD principles and exposure to controversial weapons.| |**Emissions**| This additional indicator includes metrics related to air pollutants, inorganic pollutants and ozone depleting substance. | |**EnergyPerformance**| This additional indicator includes metrics related to various sources of non-renewable energy as used by the companies. | |**WaterWasteMaterialEmissions**| This mandatory indicator includes employee-related metrics like gender diversity, pay gap and social-related metrics like violation of UNGC/OECD principles and exposure to controversial weapons.| |**AdditionalEmployeeMatters**| This additional indicator includes metrics related to workplace discrimination and safety, whistleblower mechanism and supplier code of conduct.| |**HumanRights**| This additional indicator includes metrics related to both policies and performance of a company in the areas of human rights, forced labor and human trafficking.| |**AntiCorruptionAntiBribery**| This additional indicator includes data related to company violations of anti-corruption and anti-bribery laws, and resulting fines.| . if omitted defaults to ["ALL"] # noqa: E501
Keyword Args:
value ([str]): The indicators are the Principal Adverse Impact (PAI) metrics which consists of General, Mandatory and Additional indicators which supports the SFDR reporting. The data can also be requested for individual sub topic codes in addition to the indicators mentioned below - |**SFDR PAI Indicators**|**Description**| |---|---| |**MandatoryIndicators**| Mandatory indicators are the indicators which must be reported under the EU Sustainable Finance Disclosure Regulation (SFDR).| |**AdditionalIndicators**| These are additional environmental and social indicators as mentioned in additional tables as provided in the Annex 1 table in the SFDR RTS report.| |**GHGEmissions**| This mandatory indicator includes metrics related to greenhouse emissions such as - Scope 1, 2, and 3 emissions, footprint and intensity and energy consumption from non-renewable and high climate sectors.| |**Biodiversity**| This mandatory indicator includes metrics pertaining to biodiversity and a company's impacts on biodiversity-sensitive areas.| |**Water**| This mandatory indicator includes data relating to emissions to water as made by the companies.| |**Waste**| This mandatory indicator includes data relating to hazardous waste as generated by the companies.| |**SocialEmployeeMatters**| This mandatory indicator includes employee-related metrics like gender diversity, pay gap and social-related metrics like violation of UNGC/OECD principles and exposure to controversial weapons.| |**Emissions**| This additional indicator includes metrics related to air pollutants, inorganic pollutants and ozone depleting substance. | |**EnergyPerformance**| This additional indicator includes metrics related to various sources of non-renewable energy as used by the companies. | |**WaterWasteMaterialEmissions**| This mandatory indicator includes employee-related metrics like gender diversity, pay gap and social-related metrics like violation of UNGC/OECD principles and exposure to controversial weapons.| |**AdditionalEmployeeMatters**| This additional indicator includes metrics related to workplace discrimination and safety, whistleblower mechanism and supplier code of conduct.| |**HumanRights**| This additional indicator includes metrics related to both policies and performance of a company in the areas of human rights, forced labor and human trafficking.| |**AntiCorruptionAntiBribery**| This additional indicator includes data related to company violations of anti-corruption and anti-bribery laws, and resulting fines.| . if omitted defaults to ["ALL"] # noqa: E501
_check_type (bool): if True, values for parameters in openapi_types
will be type checked and a TypeError will be
raised if the wrong type is input.
Defaults to True
_path_to_item (tuple/list): This is a list of keys or values to
drill down to the model in received_data
when deserializing a response
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_configuration (Configuration): the instance to use when
deserializing a file_type parameter.
If passed, type conversion is attempted
If omitted no type conversion is done.
_visited_composed_classes (tuple): This stores a tuple of
classes that we have traveled through so that
if we see that class again we will not use its
discriminator again.
When traveling through a discriminator, the
composed schema that is
is traveled through is added to this set.
For example if Animal has a discriminator
petType and we pass in "Dog", and the class Dog
allOf includes Animal, we move through Animal
once using the discriminator, and pick Dog.
Then in Dog, we will make an instance of the
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
"""
# required up here when default value is not given
_path_to_item = kwargs.pop('_path_to_item', ())
if 'value' in kwargs:
value = kwargs.pop('value')
elif args:
args = list(args)
value = args.pop(0)
else:
value = ["ALL"]
_check_type = kwargs.pop('_check_type', True)
_spec_property_naming = kwargs.pop('_spec_property_naming', False)
_configuration = kwargs.pop('_configuration', None)
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
if args:
raise ApiTypeError(
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
args,
self.__class__.__name__,
),
path_to_item=_path_to_item,
valid_classes=(self.__class__,),
)
self._data_store = {}
self._check_type = _check_type
self._spec_property_naming = _spec_property_naming
self._path_to_item = _path_to_item
self._configuration = _configuration
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
self.value = value
if kwargs:
raise ApiTypeError(
"Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % (
kwargs,
self.__class__.__name__,
),
path_to_item=_path_to_item,
valid_classes=(self.__class__,),
)
@classmethod
@convert_js_args_to_python_args
def _from_openapi_data(cls, *args, **kwargs):
"""Indicators - a model defined in OpenAPI
Note that value can be passed either in args or in kwargs, but not in both.
Args:
args[0] ([str]): The indicators are the Principal Adverse Impact (PAI) metrics which consists of General, Mandatory and Additional indicators which supports the SFDR reporting. The data can also be requested for individual sub topic codes in addition to the indicators mentioned below - |**SFDR PAI Indicators**|**Description**| |---|---| |**MandatoryIndicators**| Mandatory indicators are the indicators which must be reported under the EU Sustainable Finance Disclosure Regulation (SFDR).| |**AdditionalIndicators**| These are additional environmental and social indicators as mentioned in additional tables as provided in the Annex 1 table in the SFDR RTS report.| |**GHGEmissions**| This mandatory indicator includes metrics related to greenhouse emissions such as - Scope 1, 2, and 3 emissions, footprint and intensity and energy consumption from non-renewable and high climate sectors.| |**Biodiversity**| This mandatory indicator includes metrics pertaining to biodiversity and a company's impacts on biodiversity-sensitive areas.| |**Water**| This mandatory indicator includes data relating to emissions to water as made by the companies.| |**Waste**| This mandatory indicator includes data relating to hazardous waste as generated by the companies.| |**SocialEmployeeMatters**| This mandatory indicator includes employee-related metrics like gender diversity, pay gap and social-related metrics like violation of UNGC/OECD principles and exposure to controversial weapons.| |**Emissions**| This additional indicator includes metrics related to air pollutants, inorganic pollutants and ozone depleting substance. | |**EnergyPerformance**| This additional indicator includes metrics related to various sources of non-renewable energy as used by the companies. | |**WaterWasteMaterialEmissions**| This mandatory indicator includes employee-related metrics like gender diversity, pay gap and social-related metrics like violation of UNGC/OECD principles and exposure to controversial weapons.| |**AdditionalEmployeeMatters**| This additional indicator includes metrics related to workplace discrimination and safety, whistleblower mechanism and supplier code of conduct.| |**HumanRights**| This additional indicator includes metrics related to both policies and performance of a company in the areas of human rights, forced labor and human trafficking.| |**AntiCorruptionAntiBribery**| This additional indicator includes data related to company violations of anti-corruption and anti-bribery laws, and resulting fines.| . if omitted defaults to ["ALL"] # noqa: E501
Keyword Args:
value ([str]): The indicators are the Principal Adverse Impact (PAI) metrics which consists of General, Mandatory and Additional indicators which supports the SFDR reporting. The data can also be requested for individual sub topic codes in addition to the indicators mentioned below - |**SFDR PAI Indicators**|**Description**| |---|---| |**MandatoryIndicators**| Mandatory indicators are the indicators which must be reported under the EU Sustainable Finance Disclosure Regulation (SFDR).| |**AdditionalIndicators**| These are additional environmental and social indicators as mentioned in additional tables as provided in the Annex 1 table in the SFDR RTS report.| |**GHGEmissions**| This mandatory indicator includes metrics related to greenhouse emissions such as - Scope 1, 2, and 3 emissions, footprint and intensity and energy consumption from non-renewable and high climate sectors.| |**Biodiversity**| This mandatory indicator includes metrics pertaining to biodiversity and a company's impacts on biodiversity-sensitive areas.| |**Water**| This mandatory indicator includes data relating to emissions to water as made by the companies.| |**Waste**| This mandatory indicator includes data relating to hazardous waste as generated by the companies.| |**SocialEmployeeMatters**| This mandatory indicator includes employee-related metrics like gender diversity, pay gap and social-related metrics like violation of UNGC/OECD principles and exposure to controversial weapons.| |**Emissions**| This additional indicator includes metrics related to air pollutants, inorganic pollutants and ozone depleting substance. | |**EnergyPerformance**| This additional indicator includes metrics related to various sources of non-renewable energy as used by the companies. | |**WaterWasteMaterialEmissions**| This mandatory indicator includes employee-related metrics like gender diversity, pay gap and social-related metrics like violation of UNGC/OECD principles and exposure to controversial weapons.| |**AdditionalEmployeeMatters**| This additional indicator includes metrics related to workplace discrimination and safety, whistleblower mechanism and supplier code of conduct.| |**HumanRights**| This additional indicator includes metrics related to both policies and performance of a company in the areas of human rights, forced labor and human trafficking.| |**AntiCorruptionAntiBribery**| This additional indicator includes data related to company violations of anti-corruption and anti-bribery laws, and resulting fines.| . if omitted defaults to ["ALL"] # noqa: E501
_check_type (bool): if True, values for parameters in openapi_types
will be type checked and a TypeError will be
raised if the wrong type is input.
Defaults to True
_path_to_item (tuple/list): This is a list of keys or values to
drill down to the model in received_data
when deserializing a response
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_configuration (Configuration): the instance to use when
deserializing a file_type parameter.
If passed, type conversion is attempted
If omitted no type conversion is done.
_visited_composed_classes (tuple): This stores a tuple of
classes that we have traveled through so that
if we see that class again we will not use its
discriminator again.
When traveling through a discriminator, the
composed schema that is
is traveled through is added to this set.
For example if Animal has a discriminator
petType and we pass in "Dog", and the class Dog
allOf includes Animal, we move through Animal
once using the discriminator, and pick Dog.
Then in Dog, we will make an instance of the
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
"""
# required up here when default value is not given
_path_to_item = kwargs.pop('_path_to_item', ())
self = super(OpenApiModel, cls).__new__(cls)
if 'value' in kwargs:
value = kwargs.pop('value')
elif args:
args = list(args)
value = args.pop(0)
else:
value = ["ALL"]
_check_type = kwargs.pop('_check_type', True)
_spec_property_naming = kwargs.pop('_spec_property_naming', False)
_configuration = kwargs.pop('_configuration', None)
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
if args:
raise ApiTypeError(
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
args,
self.__class__.__name__,
),
path_to_item=_path_to_item,
valid_classes=(self.__class__,),
)
self._data_store = {}
self._check_type = _check_type
self._spec_property_naming = _spec_property_naming
self._path_to_item = _path_to_item
self._configuration = _configuration
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
self.value = value
if kwargs:
raise ApiTypeError(
"Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % (
kwargs,
self.__class__.__name__,
),
path_to_item=_path_to_item,
valid_classes=(self.__class__,),
)
return self
| 80.268382 | 2,586 | 0.683415 | 2,611 | 21,833 | 5.601302 | 0.159709 | 0.051145 | 0.036103 | 0.049231 | 0.858188 | 0.858188 | 0.856479 | 0.85265 | 0.85265 | 0.85265 | 0 | 0.003399 | 0.258966 | 21,833 | 271 | 2,587 | 80.564576 | 0.90055 | 0.762653 | 0 | 0.592 | 0 | 0 | 0.140959 | 0.031074 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032 | false | 0.032 | 0.032 | 0.008 | 0.16 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3c1b2e3e48580a79f768ff8e7dc5d8e36a115b35 | 561 | py | Python | Code/Plot_Result.py | AIReproducibility2018/GeneralizedCorrentropyForRobustAdaptiveFiltering | 9b37657d93f3c746975a682ada83b26e70dc6396 | [
"BSD-3-Clause"
] | 3 | 2019-06-29T01:05:57.000Z | 2022-03-26T08:03:10.000Z | Code/Plot_Result.py | AIReproducibility2018/GeneralizedCorrentropyForRobustAdaptiveFiltering | 9b37657d93f3c746975a682ada83b26e70dc6396 | [
"BSD-3-Clause"
] | null | null | null | Code/Plot_Result.py | AIReproducibility2018/GeneralizedCorrentropyForRobustAdaptiveFiltering | 9b37657d93f3c746975a682ada83b26e70dc6396 | [
"BSD-3-Clause"
] | null | null | null | import matplotlib.pyplot as plt
def plot(x_values, y_values, labels, x_label, y_label, title):
for i in range(len(x_values)):
plt.plot(x_values[i], y_values[i], label=labels[i])
plt.title(title)
plt.ylabel(y_label)
plt.xlabel(x_label)
plt.legend()
plt.show()
def logplot(x_values, y_values, labels, x_label, y_label, title):
for i in range(len(x_values)):
plt.semilogy(x_values[i], y_values[i], label=labels[i])
plt.title(title)
plt.ylabel(y_label)
plt.xlabel(x_label)
plt.legend()
plt.show() | 25.5 | 65 | 0.659537 | 95 | 561 | 3.705263 | 0.252632 | 0.119318 | 0.0625 | 0.079545 | 0.840909 | 0.840909 | 0.840909 | 0.840909 | 0.840909 | 0.840909 | 0 | 0 | 0.196078 | 561 | 22 | 66 | 25.5 | 0.780488 | 0 | 0 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0.058824 | 0 | 0.176471 | 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 |
3c6ad318ea6728c805cf77d0663e85700762a347 | 4,844 | py | Python | tests/routes/test_api_leaseProbs.py | Biosystems-Analytics-Lab/shellcast | 8d578bfa3d66d75502f1a133fe6263d376694247 | [
"CC-BY-4.0"
] | 5 | 2021-03-24T19:19:48.000Z | 2022-01-11T09:27:13.000Z | tests/routes/test_api_leaseProbs.py | Biosystems-Analytics-Lab/shellcast | 8d578bfa3d66d75502f1a133fe6263d376694247 | [
"CC-BY-4.0"
] | 1 | 2022-01-13T15:11:09.000Z | 2022-01-13T21:16:10.000Z | tests/routes/test_api_leaseProbs.py | Biosystems-Analytics-Lab/shellcast | 8d578bfa3d66d75502f1a133fe6263d376694247 | [
"CC-BY-4.0"
] | null | null | null | import pytest
from models.User import User
from models.UserLease import UserLease
from models.CMUProbability import CMUProbability
from firebase_admin import auth
def test_valid(client, dbSession, addMockFbUser):
# add a mock Firebase user
addMockFbUser(dict(uid='3sH9so5Y3DP72QA1XqbWw9J6I8o1', email='blah@gmail.com', phone_number='11234567890'), 'validUser1')
# add the user to the db
user = User(firebase_uid='3sH9so5Y3DP72QA1XqbWw9J6I8o1', email='blah@gmail.com', phone_number='11234567890')
dbSession.add(user)
dbSession.commit()
# add some leases to the database
leases = [
UserLease(user_id=user.id, ncdmf_lease_id='45678', grow_area_name='A01', cmu_name='U001', rainfall_thresh_in=1.5, geometry=(34.404497, -77.567573)),
UserLease(user_id=user.id, ncdmf_lease_id='12345', grow_area_name='B02', cmu_name='U002', rainfall_thresh_in=2.5, geometry=(35.207332, -76.523872)),
UserLease(user_id=user.id, ncdmf_lease_id='82945', grow_area_name='C01', cmu_name='U003', rainfall_thresh_in=1.5, geometry=(36.164344, -75.927864))
]
dbSession.add_all(leases)
dbSession.commit()
# add some closure probabilities to the database
probabilities = [
CMUProbability(cmu_name='U001', prob_1d_perc=60, prob_2d_perc=70, prob_3d_perc=80),
CMUProbability(cmu_name='U002', prob_1d_perc=45, prob_2d_perc=54, prob_3d_perc=57),
CMUProbability(cmu_name='U003', prob_1d_perc=32, prob_2d_perc=33, prob_3d_perc=69)
]
dbSession.add_all(probabilities)
dbSession.commit()
res = client.get('/leaseProbs', headers={'Authorization': 'validUser1'})
assert res.status_code == 200
json = res.get_json()
assert len(json) == 3
assert json[0]['prob_1d_perc'] == 60
assert json[0]['prob_2d_perc'] == 70
assert json[0]['prob_3d_perc'] == 80
assert json[0]['ncdmf_lease_id'] == '45678'
assert json[0]['geometry'] == [34.404497, -77.567573]
assert json[1]['prob_1d_perc'] == 45
assert json[1]['prob_2d_perc'] == 54
assert json[1]['prob_3d_perc'] == 57
assert json[1]['ncdmf_lease_id'] == '12345'
assert json[1]['geometry'] == [35.207332, -76.523872]
assert json[2]['prob_1d_perc'] == 32
assert json[2]['prob_2d_perc'] == 33
assert json[2]['prob_3d_perc'] == 69
assert json[2]['ncdmf_lease_id'] == '82945'
assert json[2]['geometry'] == [36.164344, -75.927864]
def test_no_probabilities(client, dbSession, addMockFbUser):
# add a mock Firebase user
addMockFbUser(dict(uid='3sH9so5Y3DP72QA1XqbWw9J6I8o1', email='blah@gmail.com', phone_number='11234567890'), 'validUser1')
# add the user to the db
user = User(firebase_uid='3sH9so5Y3DP72QA1XqbWw9J6I8o1', email='blah@gmail.com', phone_number='11234567890')
dbSession.add(user)
dbSession.commit()
# add some leases to the database
leases = [
UserLease(user_id=user.id, ncdmf_lease_id='45678', grow_area_name='A01', cmu_name='U001', rainfall_thresh_in=1.5, geometry=(34.404497, -77.567573)),
UserLease(user_id=user.id, ncdmf_lease_id='12345', grow_area_name='B02', cmu_name='U002', rainfall_thresh_in=2.5, geometry=(35.207332, -76.523872)),
UserLease(user_id=user.id, ncdmf_lease_id='82945', grow_area_name='C01', cmu_name='U003', rainfall_thresh_in=1.5, geometry=(36.164344, -75.927864))
]
dbSession.add_all(leases)
dbSession.commit()
lease1Prob = CMUProbability(cmu_name='U002', prob_1d_perc=45, prob_2d_perc=54, prob_3d_perc=57)
dbSession.add(lease1Prob)
dbSession.commit()
res = client.get('/leaseProbs', headers={'Authorization': 'validUser1'})
assert res.status_code == 200
json = res.get_json()
assert len(json) == 3
assert json[0].get('prob_1d_perc') == None
assert json[0].get('prob_2d_perc') == None
assert json[0].get('prob_3d_perc') == None
assert json[0]['ncdmf_lease_id'] == '45678'
assert json[0]['geometry'] == [34.404497, -77.567573]
assert json[1].get('prob_1d_perc') == 45
assert json[1].get('prob_2d_perc') == 54
assert json[1].get('prob_3d_perc') == 57
assert json[1]['ncdmf_lease_id'] == '12345'
assert json[1]['geometry'] == [35.207332, -76.523872]
assert json[2].get('prob_1d_perc') == None
assert json[2].get('prob_2d_perc') == None
assert json[2].get('prob_3d_perc') == None
assert json[2]['ncdmf_lease_id'] == '82945'
assert json[2]['geometry'] == [36.164344, -75.927864]
def test_no_leases(client, dbSession, addMockFbUser):
# add a mock Firebase user
addMockFbUser(dict(uid='3sH9so5Y3DP72QA1XqbWw9J6I8o1', email='blah@gmail.com', phone_number='11234567890'), 'validUser1')
# add the user to the db
user = User(firebase_uid='3sH9so5Y3DP72QA1XqbWw9J6I8o1', email='blah@gmail.com', phone_number='11234567890')
dbSession.add(user)
dbSession.commit()
res = client.get('/leaseProbs', headers={'Authorization': 'validUser1'})
assert res.status_code == 200
json = res.get_json()
assert len(json) == 0
| 39.704918 | 152 | 0.716557 | 713 | 4,844 | 4.660589 | 0.147265 | 0.09028 | 0.043334 | 0.072224 | 0.842311 | 0.839603 | 0.839603 | 0.767981 | 0.767981 | 0.767981 | 0 | 0.133239 | 0.123039 | 4,844 | 121 | 153 | 40.033058 | 0.649011 | 0.052436 | 0 | 0.569767 | 0 | 0 | 0.2 | 0.036681 | 0 | 0 | 0 | 0 | 0.418605 | 1 | 0.034884 | false | 0 | 0.05814 | 0 | 0.093023 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5942d938092654b394b08d0254e27d1389c9fea2 | 14,314 | py | Python | hrank/mask.py | lehduong/NPTM | e1b8ec333db35e0e32e360151956b0f48f102735 | [
"MIT"
] | 15 | 2021-09-20T09:39:52.000Z | 2022-03-31T05:39:39.000Z | hrank/mask.py | lehduong/NPTM | e1b8ec333db35e0e32e360151956b0f48f102735 | [
"MIT"
] | null | null | null | hrank/mask.py | lehduong/NPTM | e1b8ec333db35e0e32e360151956b0f48f102735 | [
"MIT"
] | null | null | null |
import torch
import numpy as np
import pickle
class mask_vgg_16_bn:
def __init__(self, model=None, compress_rate=[0.50], job_dir='', device=None):
self.model = model
self.compress_rate = compress_rate
self.mask = {}
self.job_dir = job_dir
self.device = device
def layer_mask(self, cov_id, resume=None, param_per_cov=4, arch="vgg_16_bn", random_rank=False):
params = self.model.parameters()
prefix = "rank_conv/"+arch+"/rank_conv"
subfix = ".npy"
if resume:
with open(resume, 'rb') as f:
self.mask = pickle.load(f)
else:
resume = self.job_dir+'/mask'
self.param_per_cov = param_per_cov
for index, item in enumerate(params):
if index == cov_id * param_per_cov:
break
if index == (cov_id - 1) * param_per_cov:
f, c, w, h = item.size()
rank = np.load(prefix + str(cov_id) + subfix)
if random_rank:
rank = np.random.random_sample(rank.shape)
pruned_num = int(self.compress_rate[cov_id - 1] * f)
ind = np.argsort(rank)[pruned_num:] # preserved filter id
zeros = torch.zeros(f, 1, 1, 1).to(self.device)
for i in range(len(ind)):
zeros[ind[i], 0, 0, 0] = 1.
self.mask[index] = zeros # covolutional weight
item.data = item.data * self.mask[index]
if index > (cov_id - 1) * param_per_cov and index <= (cov_id - 1) * param_per_cov + param_per_cov-1:
self.mask[index] = torch.squeeze(zeros)
item.data = item.data * self.mask[index]
with open(resume, "wb") as f:
pickle.dump(self.mask, f)
def grad_mask(self, cov_id):
params = self.model.parameters()
for index, item in enumerate(params):
if index == cov_id * self.param_per_cov:
break
item.data = item.data * self.mask[index] # prune certain weight
class mask_resnet_56:
def __init__(self, model=None, compress_rate=[0.50], job_dir='', device=None):
self.model = model
self.compress_rate = compress_rate
self.mask = {}
self.job_dir = job_dir
self.device = device
def layer_mask(self, cov_id, resume=None, param_per_cov=3, arch="resnet_56", random_rank=False):
params = self.model.parameters()
prefix = "rank_conv/"+arch+"/rank_conv"
subfix = ".npy"
if resume:
with open(resume, 'rb') as f:
self.mask = pickle.load(f)
else:
resume = self.job_dir+'/mask'
self.param_per_cov = param_per_cov
for index, item in enumerate(params):
if index == cov_id*param_per_cov:
break
if index == (cov_id - 1) * param_per_cov:
f, c, w, h = item.size()
rank = np.load(prefix + str(cov_id) + subfix)
if random_rank:
rank = np.random.random_sample(rank.shape)
pruned_num = int(self.compress_rate[cov_id - 1] * f)
ind = np.argsort(rank)[pruned_num:] # preserved filter id
zeros = torch.zeros(f, 1, 1, 1).to(self.device)
for i in range(len(ind)):
zeros[ind[i], 0, 0, 0] = 1.
self.mask[index] = zeros # covolutional weight
item.data = item.data * self.mask[index]
elif index > (cov_id-1)*param_per_cov and index < cov_id*param_per_cov:
self.mask[index] = torch.squeeze(zeros)
item.data = item.data * self.mask[index].to(self.device)
with open(resume, "wb") as f:
pickle.dump(self.mask, f)
def grad_mask(self, cov_id):
params = self.model.parameters()
for index, item in enumerate(params):
if index == cov_id*self.param_per_cov:
break
# prune certain weight
item.data = item.data * self.mask[index].to(self.device)
class mask_densenet_40:
def __init__(self, model=None, compress_rate=[0.50], job_dir='', device=None):
self.model = model
self.compress_rate = compress_rate
self.job_dir = job_dir
self.device = device
self.mask = {}
def layer_mask(self, cov_id, resume=None, param_per_cov=3, arch="densenet_40", random_rank=False):
params = self.model.parameters()
prefix = "rank_conv/"+arch+"/rank_conv"
subfix = ".npy"
if resume:
with open(resume, 'rb') as f:
self.mask = pickle.load(f)
else:
resume = self.job_dir+'/mask'
self.param_per_cov = param_per_cov
for index, item in enumerate(params):
if index == cov_id * param_per_cov:
break
if index == (cov_id - 1) * param_per_cov:
f, c, w, h = item.size()
rank = np.load(prefix + str(cov_id) + subfix)
if random_rank:
rank = np.random.random_sample(rank.shape)
pruned_num = int(self.compress_rate[cov_id - 1] * f)
ind = np.argsort(rank)[pruned_num:] # preserved filter id
zeros = torch.zeros(f, 1, 1, 1).to(self.device)
for i in range(len(ind)):
zeros[ind[i], 0, 0, 0] = 1.
self.mask[index] = zeros # covolutional weight
item.data = item.data * self.mask[index]
# prune BN's parameter
if index > (cov_id - 1) * param_per_cov and index <= (cov_id - 1) * param_per_cov + param_per_cov-1:
# if this BN not belong to 1st conv or transition conv --> add pre-BN mask to this mask
if cov_id >= 2 and cov_id != 14 and cov_id != 27:
self.mask[index] = torch.cat(
[self.mask[index-param_per_cov], torch.squeeze(zeros)], 0).to(self.device)
else:
self.mask[index] = torch.squeeze(zeros).to(self.device)
item.data = item.data * self.mask[index]
with open(resume, "wb") as f:
pickle.dump(self.mask, f)
def grad_mask(self, cov_id):
params = self.model.parameters()
for index, item in enumerate(params):
if index == cov_id * self.param_per_cov:
break
item.data = item.data * self.mask[index].to(self.device)
class mask_googlenet:
def __init__(self, model=None, compress_rate=[0.50], job_dir='', device=None):
self.model = model
self.compress_rate = compress_rate
self.mask = {}
self.job_dir = job_dir
self.device = device
def layer_mask(self, cov_id, resume=None, param_per_cov=28, arch="googlenet", random_rank=False):
params = self.model.parameters()
prefix = "rank_conv/"+arch+"/rank_conv"
subfix = ".npy"
if resume:
with open(resume, 'rb') as f:
self.mask = pickle.load(f)
else:
resume = self.job_dir+'/mask'
self.param_per_cov = param_per_cov
for index, item in enumerate(params):
if index == (cov_id-1) * param_per_cov + 4:
break
if (cov_id == 1 and index == 0)\
or index == (cov_id - 1) * param_per_cov - 24 \
or index == (cov_id - 1) * param_per_cov - 16 \
or index == (cov_id - 1) * param_per_cov - 8 \
or index == (cov_id - 1) * param_per_cov - 4 \
or index == (cov_id - 1) * param_per_cov:
if index == (cov_id - 1) * param_per_cov - 24:
rank = np.load(prefix + str(cov_id)+'_'+'n1x1' + subfix)
elif index == (cov_id - 1) * param_per_cov - 16:
rank = np.load(prefix + str(cov_id)+'_'+'n3x3' + subfix)
elif index == (cov_id - 1) * param_per_cov - 8 \
or index == (cov_id - 1) * param_per_cov - 4:
rank = np.load(prefix + str(cov_id)+'_'+'n5x5' + subfix)
elif cov_id == 1 and index == 0:
rank = np.load(prefix + str(cov_id) + subfix)
else:
rank = np.load(prefix + str(cov_id) +
'_' + 'pool_planes' + subfix)
if random_rank:
rank = np.random.random_sample(rank.shape)
f, c, w, h = item.size()
pruned_num = int(self.compress_rate[cov_id - 1] * f)
ind = np.argsort(rank)[pruned_num:] # preserved filter id
zeros = torch.zeros(f, 1, 1, 1).to(self.device)
for i in range(len(ind)):
zeros[ind[i], 0, 0, 0] = 1.
self.mask[index] = zeros # covolutional weight
item.data = item.data * self.mask[index]
elif cov_id == 1 and index > 0 and index <= 3:
self.mask[index] = torch.squeeze(zeros)
item.data = item.data * self.mask[index]
elif (index >= (cov_id - 1) * param_per_cov - 20 and index < (cov_id - 1) * param_per_cov - 16) \
or (index >= (cov_id - 1) * param_per_cov - 12 and index < (cov_id - 1) * param_per_cov - 8):
continue
elif index > (cov_id-1)*param_per_cov-24 and index < (cov_id-1)*param_per_cov+4:
self.mask[index] = torch.squeeze(zeros)
item.data = item.data * self.mask[index]
with open(resume, "wb") as f:
pickle.dump(self.mask, f)
def grad_mask(self, cov_id):
params = self.model.parameters()
for index, item in enumerate(params):
if index == (cov_id-1) * self.param_per_cov + 4:
break
if index not in self.mask:
continue
# prune certain weight
item.data = item.data * self.mask[index].to(self.device)
class mask_resnet_110:
def __init__(self, model=None, compress_rate=[0.50], job_dir='', device=None):
self.model = model
self.compress_rate = compress_rate
self.mask = {}
self.job_dir = job_dir
self.device = device
def layer_mask(self, cov_id, resume=None, param_per_cov=3, arch="resnet_110_convwise", random_rank=False):
params = self.model.parameters()
prefix = "rank_conv/"+arch+"/rank_conv"
subfix = ".npy"
if resume:
with open(resume, 'rb') as f:
self.mask = pickle.load(f)
else:
resume = self.job_dir+'/mask'
self.param_per_cov = param_per_cov
for index, item in enumerate(params):
if index == cov_id*param_per_cov:
break
if index == (cov_id - 1) * param_per_cov:
f, c, w, h = item.size()
rank = np.load(prefix + str(cov_id) + subfix)
if random_rank:
rank = np.random.random_sample(rank.shape)
pruned_num = int(self.compress_rate[cov_id - 1] * f)
ind = np.argsort(rank)[pruned_num:] # preserved filter id
zeros = torch.zeros(f, 1, 1, 1).to(self.device)
for i in range(len(ind)):
zeros[ind[i], 0, 0, 0] = 1.
self.mask[index] = zeros # covolutional weight
item.data = item.data * self.mask[index]
elif index > (cov_id-1)*param_per_cov and index < cov_id*param_per_cov:
self.mask[index] = torch.squeeze(zeros)
item.data = item.data * self.mask[index]
with open(resume, "wb") as f:
pickle.dump(self.mask, f)
def grad_mask(self, cov_id):
params = self.model.parameters()
for index, item in enumerate(params):
if index == cov_id*self.param_per_cov:
break
# prune certain weight
item.data = item.data * self.mask[index].to(self.device)
class mask_resnet_50:
def __init__(self, model=None, compress_rate=[0.50], job_dir='', device=None):
self.model = model
self.compress_rate = compress_rate
self.mask = {}
self.job_dir = job_dir
self.device = device
def layer_mask(self, cov_id, resume=None, param_per_cov=3, arch="resnet_50_convwise", random_rank=False):
params = self.model.parameters()
prefix = "rank_conv/"+arch+"/rank_conv"
subfix = ".npy"
if resume:
with open(resume, 'rb') as f:
self.mask = pickle.load(f)
else:
resume = self.job_dir+'/mask'
self.param_per_cov = param_per_cov
for index, item in enumerate(params):
if index == cov_id * param_per_cov:
break
if index == (cov_id-1) * param_per_cov:
f, c, w, h = item.size()
rank = np.load(prefix + str(cov_id) + subfix)
if random_rank:
rank = np.random.random_sample(rank.shape)
pruned_num = int(self.compress_rate[cov_id - 1] * f)
ind = np.argsort(rank)[pruned_num:] # preserved filter id
# .cuda(self.device[0])#.to(self.device)
zeros = torch.zeros(f, 1, 1, 1).to(self.device)
for i in range(len(ind)):
zeros[ind[i], 0, 0, 0] = 1.
self.mask[index] = zeros # covolutional weight
item.data = item.data * self.mask[index]
elif index > (cov_id-1) * param_per_cov and index < cov_id * param_per_cov:
self.mask[index] = torch.squeeze(zeros)
item.data = item.data * self.mask[index]
with open(resume, "wb") as f:
pickle.dump(self.mask, f)
def grad_mask(self, cov_id):
params = self.model.parameters()
for index, item in enumerate(params):
if index == cov_id * self.param_per_cov:
break
item.data = item.data * self.mask[index] # prune certain weight
| 38.478495 | 113 | 0.531997 | 1,889 | 14,314 | 3.844362 | 0.062467 | 0.052327 | 0.095428 | 0.043927 | 0.937758 | 0.937758 | 0.926329 | 0.908427 | 0.875654 | 0.869871 | 0 | 0.018417 | 0.351334 | 14,314 | 371 | 114 | 38.58221 | 0.763705 | 0.034162 | 0 | 0.854671 | 0 | 0 | 0.021736 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.062284 | false | 0 | 0.010381 | 0 | 0.093426 | 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 |
a705e76bec8630fcae1fcb739d0fe3529397c743 | 2,199 | py | Python | kektrade/misc.py | flamingrickpat/kektrade | 7bf5e0607605852c5f0c9116134ad61e2fd572d7 | [
"MIT"
] | null | null | null | kektrade/misc.py | flamingrickpat/kektrade | 7bf5e0607605852c5f0c9116134ad61e2fd572d7 | [
"MIT"
] | null | null | null | kektrade/misc.py | flamingrickpat/kektrade | 7bf5e0607605852c5f0c9116134ad61e2fd572d7 | [
"MIT"
] | null | null | null | from enum import Enum
import numbers
class EnumString(Enum):
@classmethod
def from_str(cls, value):
for k, v in cls.__members__.items():
if v.value == value:
return v
else:
raise ValueError(f"'{cls.__name__}' enum not found for '{value}'")
def __eq__(self, other):
return self.value == other.value
def __hash__(self):
return hash(self.value)
class EnumComparable(Enum):
def __hash__(self):
return hash(self.value)
def __gt__(self, other):
try:
return self.value > other.value
except:
pass
try:
if isinstance(other, numbers.Real):
return self.value > other
except:
pass
return NotImplemented
def __lt__(self, other):
try:
return self.value < other.value
except:
pass
try:
if isinstance(other, numbers.Real):
return self.value < other
except:
pass
return NotImplemented
def __ge__(self, other):
try:
return self.value >= other.value
except:
pass
try:
if isinstance(other, numbers.Real):
return self.value >= other
if isinstance(other, str):
return self.name == other
except:
pass
return NotImplemented
def __le__(self, other):
try:
return self.value <= other.value
except:
pass
try:
if isinstance(other, numbers.Real):
return self.value <= other
if isinstance(other, str):
return self.name == other
except:
pass
return NotImplemented
def __eq__(self, other):
try:
return self.value == other.value
except:
pass
try:
if isinstance(other, numbers.Real):
return self.value == other
if isinstance(other, str):
return self.name == other
except:
pass
return NotImplemented
| 24.433333 | 78 | 0.506139 | 219 | 2,199 | 4.894977 | 0.187215 | 0.130597 | 0.153918 | 0.205224 | 0.796642 | 0.773321 | 0.773321 | 0.717351 | 0.717351 | 0.717351 | 0 | 0 | 0.415643 | 2,199 | 89 | 79 | 24.707865 | 0.834241 | 0 | 0 | 0.692308 | 0 | 0 | 0.020482 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.115385 | false | 0.128205 | 0.025641 | 0.038462 | 0.448718 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
597f16fdead7e8e9676635e66f667b1e85860c0c | 2,822 | py | Python | sage/models.py | saumyaparikh/SageVaccination | 3fcddbd42fc1231b9d8bde6a615ab9f4385c00ec | [
"MIT"
] | null | null | null | sage/models.py | saumyaparikh/SageVaccination | 3fcddbd42fc1231b9d8bde6a615ab9f4385c00ec | [
"MIT"
] | null | null | null | sage/models.py | saumyaparikh/SageVaccination | 3fcddbd42fc1231b9d8bde6a615ab9f4385c00ec | [
"MIT"
] | 2 | 2021-07-03T15:41:06.000Z | 2021-08-06T17:09:05.000Z | from django.db import models
# Create your models here.
class noti(models.Model):
email=models.CharField(max_length=500,default="")
date=models.CharField(max_length=500,default="")
time=models.CharField(max_length=500,default="")
hname=models.CharField(max_length=500,default="")
vname=models.CharField(max_length=500,default="")
def __str__(self):
return self.hname
class vmain(models.Model):
hname=models.CharField(max_length=500)
himage=models.ImageField(upload_to="byimgs",default="")
haddr=models.CharField(max_length=500, default="")
hphone = models.CharField(max_length=100, default="")
hmap= hlink=models.CharField(max_length=500, default="")
hlink=models.CharField(max_length=500, default="")
hcordinate=models.CharField(max_length=50,default="")
hdis = models.FloatField(null=True, blank=True)
htiming=models.CharField(max_length=100, default="")
hclosed=models.CharField(max_length=50, default="")
city=models.CharField(max_length=40)
# hname=models.CharField(max_length=40)
vname=models.CharField(max_length=69)
nov = models.FloatField(null=True, blank=True, default = "")
vprice = models.FloatField(null=True, blank=True, default = "")
def __str__(self):
return self.hname
class vaccinename(models.Model):
srno = models.FloatField(null=True, blank=True, default = "")
vyear1=models.CharField(max_length=40)
vname=models.CharField(max_length=69)
def __str__(self):
return self.vname
class bhyhospital(models.Model):
hname=models.CharField(max_length=40)
himage=models.ImageField(upload_to="byimgs",default="")
haddr=models.CharField(max_length=100, default="")
hphone = models.CharField(max_length=100, default="")
hmap= hlink=models.CharField(max_length=50, default="")
hlink=models.CharField(max_length=50, default="")
hcordinate=models.CharField(max_length=50,default="")
hdis = models.FloatField(null=True, blank=True)
htiming=models.CharField(max_length=100, default="")
hclosed=models.CharField(max_length=50, default="")
def __str__(self):
return self.hname
class vasaihospital(models.Model):
hname = models.CharField(max_length=40)
himage = models.ImageField(upload_to="byimgs", default="")
haddr = models.CharField(max_length=100, default="")
hphone = models.CharField(max_length=100, default="")
hmap = hlink = models.CharField(max_length=50, default="")
hcordinate = models.CharField(max_length=50, default="")
hdis=models.FloatField(null=True, blank=True)
hlink = models.CharField(max_length=50, default="")
htiming = models.CharField(max_length=100, default="")
hclosed = models.CharField(max_length=50, default="")
def __str__(self):
return self.hname
| 38.657534 | 67 | 0.714387 | 358 | 2,822 | 5.472067 | 0.153631 | 0.260337 | 0.312404 | 0.416539 | 0.917815 | 0.891782 | 0.800408 | 0.68147 | 0.641143 | 0.641143 | 0 | 0.035479 | 0.141035 | 2,822 | 72 | 68 | 39.194444 | 0.77269 | 0.02197 | 0 | 0.637931 | 0 | 0 | 0.006531 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086207 | false | 0 | 0.017241 | 0.086207 | 1.051724 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 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 | 1 | 0 | 0 | 8 |
59ea606241a89f144866349a2cb865cf58dbc434 | 13,562 | py | Python | gesture_box.py | kiok46/Weather | 9002bccc885844576a242913c99b0f0d5c1dbb3d | [
"MIT"
] | null | null | null | gesture_box.py | kiok46/Weather | 9002bccc885844576a242913c99b0f0d5c1dbb3d | [
"MIT"
] | null | null | null | gesture_box.py | kiok46/Weather | 9002bccc885844576a242913c99b0f0d5c1dbb3d | [
"MIT"
] | null | null | null | from kivy.gesture import GestureDatabase
from kivy.uix.boxlayout import BoxLayout
from kivy.gesture import Gesture
from kivy.app import platform
if platform in ('android', 'ios') :
from plyer import orientation
from kivy.graphics import Color, Ellipse, Line
from random import random
gesture_strings = {
'W': 'eNqdWUtyHDkO3ddFrE0rSHyJC6i3E+EDTLhtha3oHlshqaenbz8gwKpkuiilZmpTNgoEgffwy9TNw+8P//779uv988ufT/enX8f3YzndfHmsp48fvn/61/2H0yP4P/0LT88fPzy/PP34/f7Z/0unmz8e+XSzNPIx1E6P0k2pn3/88fD9pR9r/Zi9cuwfXev0WNOD7sLffqTC6a7cMlATgIZVDIite/Of/iue7n7xn7lgw0bmX1ZBTs+/fXr7EopL+PQ17VP146WVKk1VqFv4+n/bjrirnm1Dq62IgkpFsQKTaUJCo+IBEUmDY9MtTNvFdFFFEEZGkyp1to21+Q9YGIrfcWgaAnaoZ9OlmagWU2tUpAhPpkEBWYurFAfrHbYhbGPadgulKBNXIMDmbvMMd1XrRqtg5cL12HhQCXwxXlurxQF311GrzpiUqs4DqoE61+9wPKgEvdgGKOxp0hRKdfeFNuNk1KCBITV0dI5tB5dgF9tYKoNIYa0mhHUyLVo6Fo45szt/aBuDTKybbWtKrYEaRVpMtplpxvsYFAw2cWMTyQFpxOqek02J4nXjBNQGqOBV295hO8jEjcxe7Fo9+ir9ltl4FXaBJ6OXq3t/bDvIxI3M6ierp1ux0qmbQHGDBav5zU09+Y/JxCATNzK9cBqAV7uTamg4Od6L1hsJO+iCUMoxnRR00kan5y41Y2neNLw2YW4qXk+eiiZ+sdvGdwBDQSjhpfQVSdGbBrSCLDYB40nfpmbI7dh4MEqXTlvQc1u8QIDQIW5TBXlDmdPF6LjXUnBKG6fF+6iJdxAntVS8ZLr/Imae+lD9Ws/V9g7Xg1SaSG2Nxf0HZZFWCl+MV0cLiwmrspN+jDkHpbxRWgUEVX0AYW+Ol1buvzib/5vjHITyVqHQm9VW/t56zsbBrPZRoQ6O6xxXKAefPFWoeWVDHz7KzqdeTCM2byg+fDxdnJB3TE4ONnljE3ulsKezlOZe2mbbHCxHqXhDRm+Px6aDS567baO5sWxcUnGSScRIvYqOvZagUjYqoXgukDc/Mu8wpclk2hnwOUEOmv9y7LYEkzJNTvVoSRmbdGxwSxNsfUe6pIkd2w4mZatM95SbnyTxmeCMbqZVPfG94LV4dbbjmSxBpFxWoNr7CHsW++DsAExEMnh3NGiKza9/h+kgUrYVqHqP2zbDtqV2H0uekOxUOpP1HZNNg0mt2+bmieETwod+q94TN9NVxVuVb0XVjR9XuwaNeumwaB72tLdthgtqR9jLRXt+H2efBot6YbHvOJW88xWoPoT0zUrvO/3np/v775cNXaWv6H7s5q5yvS2nO58i/vXyqO306SL0+ZJC2wnBk2j6iGu0Mmu0dmvzh7pG3WlAGPZleBJquuAjehIyLmzRrEGYx3gWIi2clNSA0ADNY5pC6kJnLIUDBQuhDqHNQslbLQOXuBUxbVqdhTVjtYxVurE7GLFaxioSQm7XTlvGKi00qOzR0K6RgWuEVa0uNDLwiMO/dKGRKGjcEpfNH+waCUmLmDrK1zYSn6ahQXCt4Qt7quQ11fbX1FBJ7KyESvkpkyxUEklLVwpfO+udKFUSk1ID7FoSS+vU3ZmtHORZo41jCZ/RTqizUFa2ErFIqVc0ErGosrVGDcCgyC6OGhj5DHgdoxoYAaQK8Mo2psoVDne+56z0Az3vw5kBZfgSiPkzXkp1QUYN/CDrroqOg5rSNKd1dTAQhKwj75bjoKU086zh4iAkbEqvlkSFxFDzetOVSmIYvco5WF6UGDZMlRWFkLBlQkOllUpimFkHvSxCmrBlhvkGtDqYGJqlykhNaLMUR9JAwIYlo+n9sUuxpDS7EuHiEqypoqmySg0MpDAT0p9Vhm1MaQYwGqZP2JRmQxMeUk5p+ixy3fQryk5loIQBgT9hzW21Yktp3UsTAshIRluvlBBAOqQDRMqoMe22YYFgJx0hUQaKeVvT6y7uT3Kpkjjb+WBGTWEuqLk+KDuVs88ZNeWEKaOkKKPOWtykGTUP3cU89WIOFXnDD048dAQwbHPi0VLaBieceFjdYccJQXY70JGWHBBQGUkCQxpR088TQk7RRq4TkAMPX8h/Di4S9rpuOZCiRKqn/ULFUmVU0WrKSMBGnNHDqvqlpopdO7ZsBRKA0lgIysp3CXT92f0am2WPksCdWk5UGxxJ4n69qsVMWzgWjPiefHWrP2uubtXUz1E/9j3fLEIK9Oqe4Qt+qliqlIWKBu6cVbjcRXyepEquPLSafwqpkh7SaIiKO+nIUg0MmXKc4mrKKadKhoajwjVhG7MPVrmridQYhMulKLdyzvr0pWClkrAJvL4U5ZLOgm+o1J0KLDaL3NlZ6A2VxDBX3VdU6NgK71QGP7nEX6TLIHRWqbJAq7VZZTwK1GazdLkEWZlDOy9BVnfS1TJhMKvIKiFtB5vSIjSjWaWNaWA8S88VbjJxCXVkso1sa7tdI7d7zqeg5VNGzfV+ZLI/t8ZByI2euZwHwNVwgdzoR+3A2J8hl3g+z6qzNCEYc62epaP6cjyN1QVyV+fcR1H4emhBbu4cxeizS8bBhCAHPrazudGa0tzFTZsaFhVZXJI7OkM+Vp59zh2dcy+h0V0g1/KzlOuQZtS52RCfLdDUQRcTpKvwrDKGJ1SZpXqW6k56vqTNUitDajvpwC236ot0WMhFekjPrxEgd+eLFIcUd9KzhTlQHokKwDvp2YLspCMLQXdSG9I5tuSnS20nHXax7KSDLtzFBjyku9hgoIO72MYuDriLDYZnfdvNFzPf7h++fnvpf4H19dYXmO6ki/96+PLyLaTac4pS+vLjj/unT98/x19sfcXt79y6fLwz+ufj048vf35Oa3a6k1tl7u/vVbyxl/4W8bfb/wJgqQ9i',
'C': 'eNq1WNtSIzcQfZ8fgZdQ6pta+gHymio+IMWCC6jdgAt7k+zfR+oWMxIe70Cllhfj49aR+pzuHtmXT1+f/v5x9bA7HL+/7qbf2+s+TJf3e5huLp5v/9pdTHss/5YXmg43F4fj68vX3aG85eny216my1WSGwub9rFSaVm/f3l6PtZlqS7LZ5b9UaOmPfgJ6hF+lCWA03W4kig5S4iiKbNSrqf5t35K9VOIkVPiFBMjBEGdDl9uf74J2yYyPTR+ReSFP02HB6cOCQFopoa0TW1pg25TU6K4UCNuUyejzhvUvxXuCJGiAIF9lrYVQZMd4QPcqhjhU9xo3DRzs/bceeEGIoGFW7flRnMSFycRz3FnTKnTRLa5zUqcrSy5Jg1r3EjFzY5720s0L3H2kpkBF27tuBVCp8kHzk3mJc1eUoLYcWfuyHOGvlC2uc1Lmr0siXPXmd25CVj7OtmmNitpthIlnjs2jXpvlyCZlTRbiWHk7qh5KBON29xmJc1WAp5rnc9zs1nJs5Uhh34Q/j9us5JnKwMMQ7YW2kyOn+15NjO5mVnHRpnLwpl82MVCvLAHHNi3K5zNTtaZHUih1PIbex2mS4mPfb9Nbn5y/iXkYoYKzORYLA2LLtg357spvk1ujgot5BylJ+9PTlk/J7qYpbJYSoCDLrEbtmkY5B8YiGKWymIpKceOvauX8v6T01bMUsm/hDyapXGxlMNQ6h154DjM8u0+imZpXCwtpL2l0HVpCGl4emrepjdPo3T02p99LsfawNpfhTBuV0w0T6N+gB1QUncbquNhi9w8jYunXIpOu3JcuJMgLfdD2KRWc1Q3Ha1dNFJvH1vNUF0MpUz9sTvurPpJbnNTuw4VSavcNJ7birze8O9ed7vn+b5eHiLlwq46XV5zSFdhumah8nLcl5vZbQV1ALOD9Abm/o9LRAo1gnI+HwEe8RMOtIgEHiG2dSIDFQeQDYw6gOIgDWA0UMZIdXDktMSLfAOYHQw9mD1XhF6i7OlB2yg46BmBb8TqoGcU2EF20DLCpg5lBy0jbIJgctAyQo0OtuXqoC+3kxXQMsLo/sKK4jl7hB/ajnks39OCo04WpKHgqEsRoKGWIYr5Xm5yZVR1f9FCyEMsX4q5LfSE3QOKsaGeMeeRp1Q2ySq3i8FyGt/UhqBnQyi1kHQ2BN7yzGdD3qQAl82sL1a07cFlEzMB5WR9DXENo9mMzeYykd1SR99cAJfN2K8h6+ipWohrqMlDqC10pZIvTM1qcHGyFROUvVboUlft5Rm0FtK6xLwEXssRvWc4eAiusKB3EFspwZs3iF2vlvvaGrc3lHgS1EoJfUZIHtF+SAA1VdGnhL5DfUw0IWfU9Ugyoi5BGmOpTcUwom0SjgzkieZ3DOSTd8yCLLeVll50I/GQNKhJligjve+lEpJXPCH1+Hi6UfHw1Arypwf9xGbyZwm3YvH5BWxK+dy0EjpdyOAhcnqWNm7Lhh6Sz9cq0xDCK0mwqxv9hLLWY+zqxhUD6oA8pXTdo5zqHtv4YJfap3X5Wr+2q6sb8wpLqxd2dX1qQGxDSFxdXbF9DoHzIWklI3GplX2j1ZAitd8+HndPD4/H+rNe+apRZkm1q8D/PN0fHw0VH3zvUi4hx5dvu9fb57udhUW79FW8XZP+3L++3H+/c2qdruOV5FguL2UK55By/dXiy9V/bMUoIA==',
'S': 'eNqNWNtuHLkRfZ8fsV4isK4kf0B5DeAPCBxbsIXd2IKsTbJ/n8MqTnePp2d7BAGSj4qHVXXqwvHDy28v//nz8evzz/c/3p5Pf58/X8vp4csrnT5++P7p388fTq+MX/FDTj8/fvj5/vbjt+ef+KeeHn5/tdPDLsnHMDu9+qCqOP/64+X7+zjWxrF+49g/htXpldKD4cKfOEJ8eiqPVnpnlqqtKmk487/xRxl/ZHat3lsz0eZu+PO/Pv31HRp32OnrpCchqa20brXq4P+a1FSUe9EuYq1QrfWYOqKmekhdvHUulZpK0yL3eN2Cui/UvyYlmP8GaikVt0kjExbH9yE3R9aZVu7C1UtlnBbptCHv1HBzM1zqsDj2mzm45cytrr0491qLVNa2cpOz9WJiyHZrrbdj7lCSFyWlD6+q1uaq3TfcIw4ppZlyIapix9whJS9SClIJp0TFuoPANuSGRDEU7UyVjY65Q0tetJx5tqLiTbXolntNSec7SlBCS1m0pNqqsLuyC1MZDAs3F/Um0AN6Eh/7LaGlLFqi7rZZ2RQh8oDCa6h9Ie/cjmtQQktZtKRChqwqisJr7eYbcgZ7QYG641e9hzzElEVMpBTlABWz0GVb4duUKN9R4RJqyqLmVFG4GsHvpVJGa/beqBF5MxRL4UNuDTV1UbOwoh8bN7aCedfWWQVpmcTJUI1gPi4UDTF1EbOQVjUc772b2lKEqBP4jerWjm+3esew0hBTFzFLoTaKoWNAEwq9LjNlVLgpGSYkt8q18bGaGmrqVDNGHnJhmEpsiiB0dV2oY8gYFoR1GSEdUYeW2hdqpBUN2b1j/gvysIopPqoSbYm0Y9AeTxQLLY0WbiavyCdjuXQMrbpSY+u4EuMGrDW+IyUWYpqs3AgaJAJaJuu84b5w/FhLCy3NFmpMkwIHmzdn6iTrVpOKZuKz98claCGkrUJqGctcZFQDBoj6WiVuZVyH6sMoPG4cCyFtFVIZhYaG71LhYikbat2WoNzRlR5K+qqkauPxCBmdUrSs2aausnmh3DG/PZT0VclUEAsRTaNGm5YvKE4rEBclSn7H3vGQ0lcptWFYETxsg0h4M6mwcwqcx4Vo23u4Q0vfaNnE1auh9Zrb2pSjX897GM8INczDY/aQ0zdy1lLxEmEUhTKeaJvtgIz32gXJweLBDD8kryFn3cqJYiNT9InhgdY2ro85RoqXBC713u9o+xqC1lXQMUxRgGhDjFzq21cK9rwMl8sQw+8hD0Xrpjkh2Jiw3ZCAQputifFXHEt6THhRi5kynvWf356fvy+P9OrjlY46fXjCO+SxnJ60V/x4f63t9OnhCc5fgD1B3oKtBNhqgi1BSrBcgByg+wUoAZpdgBqgXnJagpecHqBcON9qgHwJZkQ0ndcEM6JiW7BHRNx7gpIgJTgtS4IREd5EAba8qEuCGWazBDVBSZAf+/ZLh0WEh+4Oi5rhdU8wY67TvwiPZx4rJdgSpAB9ghEeW/pnyYlKSTSzazLRDNCS1cpEM0LTS4crTPR8UM4m4+CQZ/vlYZLRG1+zDOWu7e2mPZ8d85smZNOk3jbhadJumhTfc6xvU1dmBigT6lEb0vciosxujerDxpsHZ/2URM90mdCoxiepM2DKnihp63Wi2RQUsuNZvnd1tgj1NJnJoewR9URnPiibJLXEw3ii2SVeLlDOxveWqE80O38GuqC8mQeYRxPN3o8GBTrD5wh0zqMVjUCVooHwZrhuILyg0sTPJnmwJppuyp6qHFHjYZAmtGfS0ySTKFMTiRTgc1GgPG8USjRv5BmA8Bn9xXOYzOxL5EM1c0dnOr1AbSdyyeRoBkA6D2Y+tP0azxx4wySTY3TlFPcpnWRyckDznDZYOmf06qDPg1pum8yAlW6aXLfksOeb9jqzpXKOaLgrs0105vCqNZ8Yku5cZLfEwkN1z35bejymy/ZLwiRTXaKC8JLZY5lLNyqf+uwzze6LmQF0Ztfm2pVEZ5FZdl9OIppbCp8Ss6sjJ3jT7Fxt2Yqqf2GSA0g4TWZmLQdQ1P4G9c0GXtGcOaWeL0m0bQbbjatz7J5TQDsmXjZbFw/xPZM5g7OSS9kRyXMgx3SFyewS3244pl3u3HCS6nLf486lJlkjslffnkstXzOjeHdMcqnJrO9ZI962qE7dPdN2XeEwkR0Paznbl5sm9IvJtYc1c8h199Yde7ltPwWoejYpW9QuUN9zFwnNl++355ev397HfyTjuTsXJuD/vnx5/xZoG7pd9TtM3n/8/vz26fvn5zDr8WFs4PON/s/Xtx9f/vgc1HgLP9mjj086FR8OsbvxxsfT+/H/7SGw/g==',
'P': 'eNq1WdtuG0cMfdePxC81hnfOD6SvBfIBhZMYiZHUFmylbf6+3OHsalaSvQGE+sXNEfcsycOb6puHbw9//7z9cv9y+PF8v/u9/96X3c3nPew+vHu8++v+3W6P8Z/xi3YvH969HJ6fvt2/xD95d/N9L7ubiyQfmtlurxOVxfP7p4fHw/SYT4/VVx77Y7La7SE9mFz4GY8A7t7/Vm5VKzgRuLIiG07u/Dt9TO1jpAoszNUci4mEux/v3n4Nt9fI7kt/g1h1VmB0IeMCu5cvMzljQcPKML3aK26Tt9DBFnKuGgwq4oiFqtNV7N7Y68JOFQUVxQFNQPAacmzpRziSixRFdIDw3QrrVezY2GlhB9LCCMXRQIupX8XeNEX5n9ibqHgUtVTR0NW1slSpeF3em6h4FLXg5DARFRHWShHcFfTUZKUua7C7uNRaaoHw3uUq7iYq0cwNTFHvVjVqXtCuSjo1SUkW7iqktVZhY6ulXFWN1BQlm8nR2YqBAWrwWBmzAoTFXQqJM8eQ2CZvglKdyQmUi0WlsIDR2KQgIgbThAj6yBhscnNTkxc1Ca0Se2TGKHI/UJfA3JRqIYDIzTZ1E5MXMaP+HFQdSCbfZJhcBd0sPi0lEoY0pWuLvKnJ8rbfwSxQI92ESq4W791mblKyHZkxdAR2BBTGhRliU8QuiaHAkZYCv5CQpiNv6TiVSMyaGJEkWjwc33ZamoyyyIi1RAG6lshskBU7cqsXqaAA6jEK6jZ1k1EWGTH8qaZB4MUZfGEmnIZYiWyElgW3m0aahnLsyNgPyGAMHDsYaKAmQySO2qiusRI3mZuGsmhYVDSGa2xLUaXYzUdmjU53iKKMUJh0W0VpKsqiYokSU8fgjdJWEK8DeUgcqZDwPgYJbOuoTUc97swSu55BCGr4SaBHboipEq8Wpbg34kDYpG46Kg1LxyVCJ5iaI0YGHWskSjIWHnq8M1z37RtIm5Q67EvwOCAKQ/U4t3RZC/GJxdyLdik1igVxO+HaxNTjtgSMhmGj6J2Y39HXR+7IFE7UJU43jitsm7ypqfUXyAvTtIVqjduQNabMJrk1NQ2GrEiUIUT7FDdvFMsIJBaKszO6Jwo91tJ2lVtT1IYTKFyMMsYS7BCTUMbxreIlXhtqRr3ydilak9SOkhaPfERpRLdMpyGPe8dB4g7QmJQcm5Qa+3Tmf3q+v39cjnbT6Wo32928jylyW3bvY8HGr8M+VvvdOVgTtAZ6ua3jj4WFl9GiUnvMYQAjFxcew9ECSj5GI4jpQlTQAHIHZQQlfB5/dLLQ0cIgH7MR9JqgDyCxJTgGTpqP1zFWmjhP31rHwMmTq46xMnKCY6xxhCQ4xspdg5qxTo6NPyE793RXfd3C0yID5ybuAvoKzGzUDFybC1LSr7gKGuolUeloRuuSqHc0w23ZHdCMt8IazYBbHAOaEVdboy1KKmWNWqInDC20uJISredKQalpsnYTWqCEazqARH2NtkCJ1uEDJXrC2wKlVr4DKome8Gag0hmsoxmo8izBqqe4mWTUVt4wyahnybq8mFFXXqMt6lgUpzxhgt0E06Q/OKOUaH9J6SgnWscajIOuoYBrVBOls1dz7cWHLR+M/UHoqCeqDe0NGLdyQ6m5ydZRKjN69hKlCxVDmY+ckBzddp5eynywZKvPL8p8cDoFdok7k8PZ+XODkazQHiPpgFK9JDNlcphyDvElE5+jOY2e7KKHPYfl3F5zdMTWf92kC8uZw+wkUu0oDlqSyoXXc+YQzlo57KmzZA5B55l9HjT3aoMLLL1MWecyPQtCLs0RtqEFSOY4M7s5rOI87Gh2XyvhQLvKkt3nGb30aCRnjtVEe2tJzhxLYaVXhNDQ+Ec0Z06O8iOaM6ettAHtM0fXaM4cPkFzzPCJDxkbr33QjI3WDJqxEa/RjA11FbFmbLjOjmZsYGtUhrFPwhfk0r5F6hsmfaXoGyaZgoIrITVTUGBGzwvQcpFWf8Mkt2rVVelYbtXKazS3qvsaza3q65K03KrmazRvB+tN05vA8l4wWaN5MBiu0bwYevHNaL8LtY4HFPTDUH2NZmwqrzduPw0V3zDJqHthz0OhX4riazSjFj69TAcTe92kL8h+OQq/Prb6HRnFfM5yyb6fmPLGJOw3Jteza2+Zp/3ivGjSa6TfnxduxqNJJpT51XMX5tuUzlms9+98nKYs1lM3H6RZNDb7HQnNry1f7x++fD1MfxOIgzSv8vXLw+afh8+Hr9NfNcryHSLQw9P3++e7x0/t7x1xoU7fSSe8f8X6c//89PnHp0P7NL5VhT8y/a/CCJP798GPt/8BI2IMxA==',
'Refresh': 'eNq1WctyHDcSvPePiBczUG/UD9DXjdAHbGilCYkhrzRB0mvr77cajekpkFiPHb3mQZRSiQSQWShgyLvHr4//+XH/+fT88uvTafm5fz+X5e7TGZb37759+Pfp3XLG+Gt8o+X5/bvnl6fvX0/P8U9e7n45y3I3FXnfaMtZVymL8efvj99e1mF1Heb/Y9g/VtZyhm0F6xJ+xBDA5aHcK6KalKpQzBHquprf1/+l5eGncl8AQIqb1OpWsVRfnv/14Y+n4TaNLJ+3GcSLS1Wt4MbGsDx/PiDetg62i3MtXBELk2IteEy8NnHfxYFZFajUyoVjR1fx4liFCiObOxS4qY3NfISLNocnxXmfQQ+JYxOnXTxSRSNkB6qOh6RbmrinyYRkKlaVBUnokHYLE/cwyas5c42CQXc95nfLEvcsycr/z29qYdIeJtFlySJaKZd4iYp3JdSi4O5Et8VbmLSHic4EWs1AUN08i8d85FpcmaPAVW+LtzhpjxOtFCXgSzEOeUIcLAXTWirG8V1P1y35lijtiSKxglDtf9pR+RYq7aEicPYdj6lzS5X3VMEgRKLDbEV5Ued7KhfXo3ca0umnIrfVW6y8xwpFtrZCBNG4SA7Kt2BZ/i75FizvwRbrHRfIQkS5yzfnvVRD0YImslbAbfWWK++5FvatcxWrJVIwPSQvLVjZgy3R0NXjeuj3UvSKq3zsh8kNmYXjZOBtb6QlKz3Z7epRITSMXlIomkNevijHkauxAiKLvvEn9Fu0Ilf9rfVqn6Xk5TsZMCBoOBiN40+ot2TFrupqGrYikLBpXCWH1Fuy4rt6GFLSuRI5oq4tWIWrOsbIqPxoi7RGnMsyXjliXATXwCk2fFO95arXXCFOTRR+Iea1JfuhVLWlqtdUIV99IkPN//Wi1BarXmNF5KjESo4qCMjH+oG2XPWa63ogRVEMTFQL6LFebC1ZuyYbwUrhUCJ19QIH5Vu0do2WYCh6O+aOtWztmi1xe/ruJ+tWO1s/Enx8Op2+7Q/8KId44Zstdw9RYfdleRBdv72crS4fEqgb6AMoDaxlAGEDIYOyaVYcwD6cBpA2kAewbKBkkLumDmAfbhmkPtGwI+zDhx3htngfdgQb0/uOagOLh8npS1cGDoxtVqcExgW0gZzBqhMtGRh9XZpB66BlUOsG1gHsS/EB3IZDKRmV2lEY0As375B7AtF7B5Q6OuyRsKN9X95QvMymA3qZzTIKF24dUOnotjcuDS19ZVAGtOsCJDS66r3nL26UbaOMjWJ9aqAB7VsCzqhMCiPeBJnCdUbZLGjuPRDKjGKJgtVn697MYd4olw17RnvdAJaM9hqJe3JAS0e7H9LQOBjD1NYo3RxtFNQZpTvVzhWCd+1uTh1Rzejr40aNYgOFZjPWgVJmFH9FeTsRlUSBfoaBYEBnnhC+oky0aaDwTIUHSj9fJAPaQ6VsG9Q6k7NXlG1gHdB+gMgHtNcID35UmmyLB3PqzHgezLGZfzyYY9qnH/wwnk0/mLNW/FvK4JT1QufBnH4XAtdUuPE+ni3VBwpvA6UM6Ky4BDJFZjYIDpRZjUg+fXDpzMIDelmUZJR6OYsO6KxWxQZKj0Nq6g1xKmYDPVNwVpVaBkpfquZuFF1o1IZGwUwBn1EoNc7o4jMKD5TZJlQypdQZRQcKzii5ibvPnKiZ0Y+nerpBXCc7sJIZs2ZoMDImGvna89mhtXwFvm4v3hj5Oqw2myXfhpVnDE0M09ks2Uab7iXbqL3I+wO2g7Oz1l+zO+OtcH/adoZMFtffuZ0xO641V6TiyKjttq+5IhVmC8kFKT4V0ZHyth5rNlLqbJpspOhMI7sqMtHw7Kq8Ks7aGNlV6U8rz0ZKmQ2jkTFMjY2RfWSbaUjqIGwzDc2M3vf6w7uDr8u4Pcc8P8cYJ6Xi+WnGMBHBkt9pNOmdWHKXJJ0UAhYcKW9CxP6K74xJiNhf9FuLJppp5JuFcKaRbxl6nSg2Svi6fVj9cnr8/OVl/aVWPPqjbNZBAf/2+OnlS0N97dUb+PL9l9PTh28f2+/A4t2//rByxftH6X+en75/+vVjE4v3/wPdh2uEGh/Kjb20n3Hf/xe15Hs5'
}
gestures = GestureDatabase()
for name, gesture_string in gesture_strings.items():
gesture = gestures.str_to_gesture(gesture_string)
gesture.name = name
gestures.add_gesture(gesture)
class GestureBox(BoxLayout):
def __init__(self, **kwargs):
for name in gesture_strings:
self.register_event_type('on_{}'.format(name))
super(GestureBox, self).__init__(**kwargs)
def on_W(self):
pass
def on_C(self):
pass
def on_S(self):
pass
def on_P(self):
pass
def on_Refresh(self):
pass
def on_touch_down(self, touch):
#create an user defined variable and add the touch coordinates
touch.ud['gesture_path'] = [(touch.x, touch.y)]
super(GestureBox, self).on_touch_down(touch)
if platform == "android":
orientation.set_sensor(mode='any')
def on_touch_move(self, touch):
try:
touch.ud['gesture_path'].append((touch.x, touch.y))
super(GestureBox, self).on_touch_move(touch)
except:
pass
def on_touch_up(self, touch):
try:
touch.ud['line'].points = []
except:
pass
if 'gesture_path' in touch.ud:
#create a gesture object
gesture = Gesture()
#add the movement coordinates
gesture.add_stroke(touch.ud['gesture_path'])
#normalize so thwu willtolerate size variations
gesture.normalize()
#minscore to be attained for a match to be true
match = gestures.find(gesture, minscore=0.8)
if match:
print("{} happened".format(match[1].name))
self.dispatch('on_{}'.format(match[1].name))
super(GestureBox, self).on_touch_up(touch)
| 167.432099 | 2,896 | 0.907683 | 593 | 13,562 | 20.686341 | 0.6914 | 0.003261 | 0.004402 | 0.005299 | 0.011413 | 0.006195 | 0.006195 | 0.006195 | 0.006195 | 0 | 0 | 0.14009 | 0.04837 | 13,562 | 80 | 2,897 | 169.525 | 0.810398 | 0.01519 | 0 | 0.183333 | 0 | 0.083333 | 0.856565 | 0.848775 | 0 | 1 | 0 | 0 | 0 | 1 | 0.15 | false | 0.116667 | 0.116667 | 0 | 0.283333 | 0.016667 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
abac2d2d73818d9cfc8d479a65ae5d398611ebd2 | 105 | py | Python | ltr/models/locator/__init__.py | CASIA-IVA-Lab/DCFST | ca881ba3aae1ce00e4a7a6db01d99e5f6efff68b | [
"Apache-2.0"
] | 22 | 2020-07-22T13:58:36.000Z | 2021-12-01T01:48:44.000Z | ltr/models/locator/__init__.py | CASIA-IVA-Lab/DCFST | ca881ba3aae1ce00e4a7a6db01d99e5f6efff68b | [
"Apache-2.0"
] | 3 | 2020-08-03T02:23:47.000Z | 2021-04-09T01:21:58.000Z | ltr/models/locator/__init__.py | CASIA-IVA-Lab/DCFST | ca881ba3aae1ce00e4a7a6db01d99e5f6efff68b | [
"Apache-2.0"
] | 4 | 2020-09-26T00:01:51.000Z | 2021-08-05T09:58:30.000Z | from .onlineRR18 import OnlineRRNet as OnlineRRNet18
from .onlineRR50 import OnlineRRNet as OnlineRRNet50 | 52.5 | 52 | 0.87619 | 12 | 105 | 7.666667 | 0.666667 | 0.369565 | 0.413043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 0.104762 | 105 | 2 | 53 | 52.5 | 0.893617 | 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 |
abdf5f0b4a306a2dcce5acb1e12d5cb394986835 | 18,912 | py | Python | Framework/LanguageSupport/thrift/gen-py/MMIStandard/services/MCollisionDetectionService.py | FG-92/MOSIM_Core | abc32fd0d2213859b11b6d41193d5d7f760e4104 | [
"MIT"
] | 19 | 2020-11-30T09:29:11.000Z | 2021-12-10T06:10:11.000Z | Framework/LanguageSupport/thrift/gen-py/MMIStandard/services/MCollisionDetectionService.py | FG-92/MOSIM_Core | abc32fd0d2213859b11b6d41193d5d7f760e4104 | [
"MIT"
] | null | null | null | Framework/LanguageSupport/thrift/gen-py/MMIStandard/services/MCollisionDetectionService.py | FG-92/MOSIM_Core | abc32fd0d2213859b11b6d41193d5d7f760e4104 | [
"MIT"
] | 6 | 2021-01-20T01:46:37.000Z | 2021-09-28T10:22:14.000Z | #
# Autogenerated by Thrift Compiler (0.13.0)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
# options string: py
#
from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException
from thrift.protocol.TProtocol import TProtocolException
from thrift.TRecursive import fix_spec
import sys
import MMIStandard.services.MMIServiceBase
import logging
from .ttypes import *
from thrift.Thrift import TProcessor
from thrift.transport import TTransport
all_structs = []
class Iface(MMIStandard.services.MMIServiceBase.Iface):
def ComputePenetration(self, colliderA, transformA, colliderB, transformB):
"""
Parameters:
- colliderA
- transformA
- colliderB
- transformB
"""
pass
def CausesCollision(self, colliderA, transformA, colliderB, transformB):
"""
Parameters:
- colliderA
- transformA
- colliderB
- transformB
"""
pass
class Client(MMIStandard.services.MMIServiceBase.Client, Iface):
def __init__(self, iprot, oprot=None):
MMIStandard.services.MMIServiceBase.Client.__init__(self, iprot, oprot)
def ComputePenetration(self, colliderA, transformA, colliderB, transformB):
"""
Parameters:
- colliderA
- transformA
- colliderB
- transformB
"""
self.send_ComputePenetration(colliderA, transformA, colliderB, transformB)
return self.recv_ComputePenetration()
def send_ComputePenetration(self, colliderA, transformA, colliderB, transformB):
self._oprot.writeMessageBegin('ComputePenetration', TMessageType.CALL, self._seqid)
args = ComputePenetration_args()
args.colliderA = colliderA
args.transformA = transformA
args.colliderB = colliderB
args.transformB = transformB
args.write(self._oprot)
self._oprot.writeMessageEnd()
self._oprot.trans.flush()
def recv_ComputePenetration(self):
iprot = self._iprot
(fname, mtype, rseqid) = iprot.readMessageBegin()
if mtype == TMessageType.EXCEPTION:
x = TApplicationException()
x.read(iprot)
iprot.readMessageEnd()
raise x
result = ComputePenetration_result()
result.read(iprot)
iprot.readMessageEnd()
if result.success is not None:
return result.success
raise TApplicationException(TApplicationException.MISSING_RESULT, "ComputePenetration failed: unknown result")
def CausesCollision(self, colliderA, transformA, colliderB, transformB):
"""
Parameters:
- colliderA
- transformA
- colliderB
- transformB
"""
self.send_CausesCollision(colliderA, transformA, colliderB, transformB)
return self.recv_CausesCollision()
def send_CausesCollision(self, colliderA, transformA, colliderB, transformB):
self._oprot.writeMessageBegin('CausesCollision', TMessageType.CALL, self._seqid)
args = CausesCollision_args()
args.colliderA = colliderA
args.transformA = transformA
args.colliderB = colliderB
args.transformB = transformB
args.write(self._oprot)
self._oprot.writeMessageEnd()
self._oprot.trans.flush()
def recv_CausesCollision(self):
iprot = self._iprot
(fname, mtype, rseqid) = iprot.readMessageBegin()
if mtype == TMessageType.EXCEPTION:
x = TApplicationException()
x.read(iprot)
iprot.readMessageEnd()
raise x
result = CausesCollision_result()
result.read(iprot)
iprot.readMessageEnd()
if result.success is not None:
return result.success
raise TApplicationException(TApplicationException.MISSING_RESULT, "CausesCollision failed: unknown result")
class Processor(MMIStandard.services.MMIServiceBase.Processor, Iface, TProcessor):
def __init__(self, handler):
MMIStandard.services.MMIServiceBase.Processor.__init__(self, handler)
self._processMap["ComputePenetration"] = Processor.process_ComputePenetration
self._processMap["CausesCollision"] = Processor.process_CausesCollision
self._on_message_begin = None
def on_message_begin(self, func):
self._on_message_begin = func
def process(self, iprot, oprot):
(name, type, seqid) = iprot.readMessageBegin()
if self._on_message_begin:
self._on_message_begin(name, type, seqid)
if name not in self._processMap:
iprot.skip(TType.STRUCT)
iprot.readMessageEnd()
x = TApplicationException(TApplicationException.UNKNOWN_METHOD, 'Unknown function %s' % (name))
oprot.writeMessageBegin(name, TMessageType.EXCEPTION, seqid)
x.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
return
else:
self._processMap[name](self, seqid, iprot, oprot)
return True
def process_ComputePenetration(self, seqid, iprot, oprot):
args = ComputePenetration_args()
args.read(iprot)
iprot.readMessageEnd()
result = ComputePenetration_result()
try:
result.success = self._handler.ComputePenetration(args.colliderA, args.transformA, args.colliderB, args.transformB)
msg_type = TMessageType.REPLY
except TTransport.TTransportException:
raise
except TApplicationException as ex:
logging.exception('TApplication exception in handler')
msg_type = TMessageType.EXCEPTION
result = ex
except Exception:
logging.exception('Unexpected exception in handler')
msg_type = TMessageType.EXCEPTION
result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
oprot.writeMessageBegin("ComputePenetration", msg_type, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
def process_CausesCollision(self, seqid, iprot, oprot):
args = CausesCollision_args()
args.read(iprot)
iprot.readMessageEnd()
result = CausesCollision_result()
try:
result.success = self._handler.CausesCollision(args.colliderA, args.transformA, args.colliderB, args.transformB)
msg_type = TMessageType.REPLY
except TTransport.TTransportException:
raise
except TApplicationException as ex:
logging.exception('TApplication exception in handler')
msg_type = TMessageType.EXCEPTION
result = ex
except Exception:
logging.exception('Unexpected exception in handler')
msg_type = TMessageType.EXCEPTION
result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
oprot.writeMessageBegin("CausesCollision", msg_type, seqid)
result.write(oprot)
oprot.writeMessageEnd()
oprot.trans.flush()
# HELPER FUNCTIONS AND STRUCTURES
class ComputePenetration_args(object):
"""
Attributes:
- colliderA
- transformA
- colliderB
- transformB
"""
def __init__(self, colliderA=None, transformA=None, colliderB=None, transformB=None,):
self.colliderA = colliderA
self.transformA = transformA
self.colliderB = colliderB
self.transformB = transformB
def read(self, iprot):
if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
return
iprot.readStructBegin()
while True:
(fname, ftype, fid) = iprot.readFieldBegin()
if ftype == TType.STOP:
break
if fid == 1:
if ftype == TType.STRUCT:
self.colliderA = MMIStandard.scene.ttypes.MCollider()
self.colliderA.read(iprot)
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRUCT:
self.transformA = MMIStandard.math.ttypes.MTransform()
self.transformA.read(iprot)
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRUCT:
self.colliderB = MMIStandard.scene.ttypes.MCollider()
self.colliderB.read(iprot)
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.STRUCT:
self.transformB = MMIStandard.math.ttypes.MTransform()
self.transformB.read(iprot)
else:
iprot.skip(ftype)
else:
iprot.skip(ftype)
iprot.readFieldEnd()
iprot.readStructEnd()
def write(self, oprot):
if oprot._fast_encode is not None and self.thrift_spec is not None:
oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
return
oprot.writeStructBegin('ComputePenetration_args')
if self.colliderA is not None:
oprot.writeFieldBegin('colliderA', TType.STRUCT, 1)
self.colliderA.write(oprot)
oprot.writeFieldEnd()
if self.transformA is not None:
oprot.writeFieldBegin('transformA', TType.STRUCT, 2)
self.transformA.write(oprot)
oprot.writeFieldEnd()
if self.colliderB is not None:
oprot.writeFieldBegin('colliderB', TType.STRUCT, 3)
self.colliderB.write(oprot)
oprot.writeFieldEnd()
if self.transformB is not None:
oprot.writeFieldBegin('transformB', TType.STRUCT, 4)
self.transformB.write(oprot)
oprot.writeFieldEnd()
oprot.writeFieldStop()
oprot.writeStructEnd()
def validate(self):
return
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.items()]
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
def __eq__(self, other):
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def __ne__(self, other):
return not (self == other)
all_structs.append(ComputePenetration_args)
ComputePenetration_args.thrift_spec = (
None, # 0
(1, TType.STRUCT, 'colliderA', [MMIStandard.scene.ttypes.MCollider, None], None, ), # 1
(2, TType.STRUCT, 'transformA', [MMIStandard.math.ttypes.MTransform, None], None, ), # 2
(3, TType.STRUCT, 'colliderB', [MMIStandard.scene.ttypes.MCollider, None], None, ), # 3
(4, TType.STRUCT, 'transformB', [MMIStandard.math.ttypes.MTransform, None], None, ), # 4
)
class ComputePenetration_result(object):
"""
Attributes:
- success
"""
def __init__(self, success=None,):
self.success = success
def read(self, iprot):
if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
return
iprot.readStructBegin()
while True:
(fname, ftype, fid) = iprot.readFieldBegin()
if ftype == TType.STOP:
break
if fid == 0:
if ftype == TType.STRUCT:
self.success = MMIStandard.math.ttypes.MVector3()
self.success.read(iprot)
else:
iprot.skip(ftype)
else:
iprot.skip(ftype)
iprot.readFieldEnd()
iprot.readStructEnd()
def write(self, oprot):
if oprot._fast_encode is not None and self.thrift_spec is not None:
oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
return
oprot.writeStructBegin('ComputePenetration_result')
if self.success is not None:
oprot.writeFieldBegin('success', TType.STRUCT, 0)
self.success.write(oprot)
oprot.writeFieldEnd()
oprot.writeFieldStop()
oprot.writeStructEnd()
def validate(self):
return
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.items()]
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
def __eq__(self, other):
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def __ne__(self, other):
return not (self == other)
all_structs.append(ComputePenetration_result)
ComputePenetration_result.thrift_spec = (
(0, TType.STRUCT, 'success', [MMIStandard.math.ttypes.MVector3, None], None, ), # 0
)
class CausesCollision_args(object):
"""
Attributes:
- colliderA
- transformA
- colliderB
- transformB
"""
def __init__(self, colliderA=None, transformA=None, colliderB=None, transformB=None,):
self.colliderA = colliderA
self.transformA = transformA
self.colliderB = colliderB
self.transformB = transformB
def read(self, iprot):
if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
return
iprot.readStructBegin()
while True:
(fname, ftype, fid) = iprot.readFieldBegin()
if ftype == TType.STOP:
break
if fid == 1:
if ftype == TType.STRUCT:
self.colliderA = MMIStandard.scene.ttypes.MCollider()
self.colliderA.read(iprot)
else:
iprot.skip(ftype)
elif fid == 2:
if ftype == TType.STRUCT:
self.transformA = MMIStandard.math.ttypes.MTransform()
self.transformA.read(iprot)
else:
iprot.skip(ftype)
elif fid == 3:
if ftype == TType.STRUCT:
self.colliderB = MMIStandard.scene.ttypes.MCollider()
self.colliderB.read(iprot)
else:
iprot.skip(ftype)
elif fid == 4:
if ftype == TType.STRUCT:
self.transformB = MMIStandard.math.ttypes.MTransform()
self.transformB.read(iprot)
else:
iprot.skip(ftype)
else:
iprot.skip(ftype)
iprot.readFieldEnd()
iprot.readStructEnd()
def write(self, oprot):
if oprot._fast_encode is not None and self.thrift_spec is not None:
oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
return
oprot.writeStructBegin('CausesCollision_args')
if self.colliderA is not None:
oprot.writeFieldBegin('colliderA', TType.STRUCT, 1)
self.colliderA.write(oprot)
oprot.writeFieldEnd()
if self.transformA is not None:
oprot.writeFieldBegin('transformA', TType.STRUCT, 2)
self.transformA.write(oprot)
oprot.writeFieldEnd()
if self.colliderB is not None:
oprot.writeFieldBegin('colliderB', TType.STRUCT, 3)
self.colliderB.write(oprot)
oprot.writeFieldEnd()
if self.transformB is not None:
oprot.writeFieldBegin('transformB', TType.STRUCT, 4)
self.transformB.write(oprot)
oprot.writeFieldEnd()
oprot.writeFieldStop()
oprot.writeStructEnd()
def validate(self):
return
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.items()]
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
def __eq__(self, other):
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def __ne__(self, other):
return not (self == other)
all_structs.append(CausesCollision_args)
CausesCollision_args.thrift_spec = (
None, # 0
(1, TType.STRUCT, 'colliderA', [MMIStandard.scene.ttypes.MCollider, None], None, ), # 1
(2, TType.STRUCT, 'transformA', [MMIStandard.math.ttypes.MTransform, None], None, ), # 2
(3, TType.STRUCT, 'colliderB', [MMIStandard.scene.ttypes.MCollider, None], None, ), # 3
(4, TType.STRUCT, 'transformB', [MMIStandard.math.ttypes.MTransform, None], None, ), # 4
)
class CausesCollision_result(object):
"""
Attributes:
- success
"""
def __init__(self, success=None,):
self.success = success
def read(self, iprot):
if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
return
iprot.readStructBegin()
while True:
(fname, ftype, fid) = iprot.readFieldBegin()
if ftype == TType.STOP:
break
if fid == 0:
if ftype == TType.BOOL:
self.success = iprot.readBool()
else:
iprot.skip(ftype)
else:
iprot.skip(ftype)
iprot.readFieldEnd()
iprot.readStructEnd()
def write(self, oprot):
if oprot._fast_encode is not None and self.thrift_spec is not None:
oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
return
oprot.writeStructBegin('CausesCollision_result')
if self.success is not None:
oprot.writeFieldBegin('success', TType.BOOL, 0)
oprot.writeBool(self.success)
oprot.writeFieldEnd()
oprot.writeFieldStop()
oprot.writeStructEnd()
def validate(self):
return
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.items()]
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
def __eq__(self, other):
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def __ne__(self, other):
return not (self == other)
all_structs.append(CausesCollision_result)
CausesCollision_result.thrift_spec = (
(0, TType.BOOL, 'success', None, None, ), # 0
)
fix_spec(all_structs)
del all_structs
| 35.615819 | 134 | 0.6103 | 1,859 | 18,912 | 6.020441 | 0.091447 | 0.012509 | 0.022516 | 0.047534 | 0.811204 | 0.790654 | 0.781808 | 0.76099 | 0.748838 | 0.748838 | 0 | 0.003588 | 0.292566 | 18,912 | 530 | 135 | 35.683019 | 0.832947 | 0.033048 | 0 | 0.794045 | 1 | 0 | 0.03763 | 0.003902 | 0 | 0 | 0 | 0 | 0 | 1 | 0.104218 | false | 0.004963 | 0.022333 | 0.029777 | 0.218362 | 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 |
e65107a1bf3ead805017788305bdde56c48ac960 | 3,576 | py | Python | tests/test_mention_maintainer.py | Tecnativa/oca-github-bot | ca2891200c381d10f2625360f1cf9467ad6f14d0 | [
"MIT"
] | null | null | null | tests/test_mention_maintainer.py | Tecnativa/oca-github-bot | ca2891200c381d10f2625360f1cf9467ad6f14d0 | [
"MIT"
] | 1 | 2020-03-31T21:15:24.000Z | 2020-03-31T21:15:24.000Z | tests/test_mention_maintainer.py | Tecnativa/oca-github-bot | ca2891200c381d10f2625360f1cf9467ad6f14d0 | [
"MIT"
] | null | null | null | # Copyright 2019 Simone Rubino - Agile Business Group
# Distributed under the MIT License (http://opensource.org/licenses/MIT).
import pytest
from oca_github_bot.tasks.mention_maintainer import mention_maintainer
from .common import make_addon
@pytest.mark.vcr()
def test_maintainer_mentioned(git_clone, mocker):
github_mock = mocker.patch("oca_github_bot.tasks.mention_maintainer.github")
github_mock.temporary_clone.return_value.__enter__.return_value = str(git_clone)
addon_name = "addon1"
addon_dir = make_addon(git_clone, addon_name, maintainers=["themaintainer"])
modified_addons_mock = mocker.patch(
"oca_github_bot.tasks.mention_maintainer.git_modified_addon_dirs"
)
modified_addons_mock.return_value = [addon_dir], False
mocker.patch("oca_github_bot.tasks.mention_maintainer.check_call")
mention_maintainer("org", "repo", "pr")
github_mock.gh_call.assert_called_once()
assert "@themaintainer" in github_mock.gh_call.mock_calls[0][1][1]
@pytest.mark.vcr()
def test_multi_maintainer_one_mention(git_clone, mocker):
github_mock = mocker.patch("oca_github_bot.tasks.mention_maintainer.github")
github_mock.temporary_clone.return_value.__enter__.return_value = str(git_clone)
addon_dirs = list()
addon_names = ["addon1", "addon2"]
themaintainer = "themaintainer"
for addon_name in addon_names:
addon_dir = make_addon(git_clone, addon_name, maintainers=[themaintainer])
addon_dirs.append(addon_dir)
modified_addons_mock = mocker.patch(
"oca_github_bot.tasks.mention_maintainer.git_modified_addon_dirs"
)
modified_addons_mock.return_value = addon_dirs, False
mocker.patch("oca_github_bot.tasks.mention_maintainer.check_call")
mention_maintainer("org", "repo", "pr")
github_mock.gh_call.assert_called_once()
comment = github_mock.gh_call.mock_calls[0][1][1]
assert comment.count(themaintainer) == 1
@pytest.mark.vcr()
def test_pr_by_maintainer_no_mention(git_clone, mocker):
themaintainer = "themaintainer"
github_mock = mocker.patch("oca_github_bot.tasks.mention_maintainer.github")
github_mock.temporary_clone.return_value.__enter__.return_value = str(git_clone)
pr_mock = github_mock.login.return_value.__enter__.return_value.pull_request
pr_mock.return_value.user.login = themaintainer
addon_dirs = list()
addon_names = ["addon1", "addon2"]
for addon_name in addon_names:
addon_dir = make_addon(git_clone, addon_name, maintainers=[themaintainer])
addon_dirs.append(addon_dir)
modified_addons_mock = mocker.patch(
"oca_github_bot.tasks.mention_maintainer.git_modified_addon_dirs"
)
modified_addons_mock.return_value = addon_dirs, False
mocker.patch("oca_github_bot.tasks.mention_maintainer.check_call")
mention_maintainer("org", "repo", "pr")
github_mock.gh_call.assert_not_called()
@pytest.mark.vcr()
def test_no_maintainer_no_mention(git_clone, mocker):
github_mock = mocker.patch("oca_github_bot.tasks.mention_maintainer.github")
github_mock.temporary_clone.return_value.__enter__.return_value = str(git_clone)
addon_name = "addon1"
addon_dir = make_addon(git_clone, addon_name)
modified_addons_mock = mocker.patch(
"oca_github_bot.tasks.mention_maintainer.git_modified_addon_dirs"
)
modified_addons_mock.return_value = [addon_dir], False
mocker.patch("oca_github_bot.tasks.mention_maintainer.check_call")
mention_maintainer("org", "repo", "pr")
github_mock.gh_call.assert_not_called()
| 38.042553 | 84 | 0.76538 | 483 | 3,576 | 5.238095 | 0.165631 | 0.120949 | 0.06166 | 0.087352 | 0.846245 | 0.819763 | 0.772332 | 0.74664 | 0.74664 | 0.724506 | 0 | 0.005486 | 0.133389 | 3,576 | 93 | 85 | 38.451613 | 0.810907 | 0.034396 | 0 | 0.735294 | 0 | 0 | 0.22058 | 0.184348 | 0 | 0 | 0 | 0 | 0.088235 | 1 | 0.058824 | false | 0 | 0.044118 | 0 | 0.102941 | 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 |
e655da40440a7153dc4e92b2f2c1bc5f88043a91 | 111 | py | Python | far_ho/examples/__init__.py | JLUNeverMore/FAR-HO | 1f381f50f99b83ee5bed9700fcbfa4375096a0ca | [
"MIT"
] | 174 | 2017-12-19T21:22:36.000Z | 2021-12-22T21:48:07.000Z | far_ho/examples/__init__.py | Hemanth715/FAR-HO | 33817738c01ef7011475dbf6d986f3a1bf9f69c6 | [
"MIT"
] | 12 | 2017-12-26T19:46:51.000Z | 2020-03-15T12:44:34.000Z | far_ho/examples/__init__.py | Hemanth715/FAR-HO | 33817738c01ef7011475dbf6d986f3a1bf9f69c6 | [
"MIT"
] | 40 | 2017-12-21T11:41:25.000Z | 2022-03-25T20:53:14.000Z | from far_ho.examples.datasets import *
from far_ho.examples.load import *
from far_ho.examples.models import *
| 27.75 | 38 | 0.810811 | 18 | 111 | 4.833333 | 0.444444 | 0.241379 | 0.310345 | 0.586207 | 0.528736 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 111 | 3 | 39 | 37 | 0.878788 | 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 |
0597c1bb741fb88848ee1ae2e5e0a62fddb02dce | 6,183 | py | Python | NAIC_Challenge/NAIC_Person_ReID_DMT/datasets/make_dataloader.py | Liuhongzhi2018/Person_ReID | 51c576ed5b4ed960801669d6d59c0a77405b369d | [
"MIT"
] | null | null | null | NAIC_Challenge/NAIC_Person_ReID_DMT/datasets/make_dataloader.py | Liuhongzhi2018/Person_ReID | 51c576ed5b4ed960801669d6d59c0a77405b369d | [
"MIT"
] | null | null | null | NAIC_Challenge/NAIC_Person_ReID_DMT/datasets/make_dataloader.py | Liuhongzhi2018/Person_ReID | 51c576ed5b4ed960801669d6d59c0a77405b369d | [
"MIT"
] | null | null | null | import torch
import torchvision.transforms as T
from torch.utils.data import DataLoader
from .naic import NAIC
from .veri import VeRi
from .bases import ImageDataset
from .preprocessing import RandomErasing
from .sampler import RandomIdentitySampler
__factory = {
'veri': VeRi,
'naic': NAIC
}
def train_collate_fn(batch):
"""
# collate_fn这个函数的输入就是一个list,list的长度是一个batch size,list中的每个元素都是__getitem__得到的结果
"""
imgs, pids, _, _ = zip(*batch)
pids = torch.tensor(pids, dtype=torch.int64)
return torch.stack(imgs, dim=0), pids
def val_collate_fn(batch):
imgs, pids, camids, img_paths = zip(*batch)
return torch.stack(imgs, dim=0), pids, camids, img_paths
def make_dataloader(cfg):
if cfg.DATASETS.HARD_AUG:
train_transforms = T.Compose([
T.Resize(cfg.INPUT.SIZE_TRAIN),
T.RandomHorizontalFlip(p=cfg.INPUT.PROB),
T.Pad(cfg.INPUT.PADDING),
T.RandomCrop(cfg.INPUT.SIZE_TRAIN),
T.ColorJitter(brightness=0.5, contrast=0.5, saturation=0.5, hue=0.2),
T.transforms.RandomAffine(0, translate=None, scale=[0.9, 1.1], shear=None, resample=False, fillcolor=128),
T.ToTensor(),
T.Normalize(mean=cfg.INPUT.PIXEL_MEAN, std=cfg.INPUT.PIXEL_STD),
RandomErasing(probability=cfg.INPUT.RE_PROB, mean=cfg.INPUT.PIXEL_MEAN)
])
else:
train_transforms = T.Compose([
T.Resize(cfg.INPUT.SIZE_TRAIN),
T.RandomHorizontalFlip(p=cfg.INPUT.PROB),
T.Pad(cfg.INPUT.PADDING),
T.RandomCrop(cfg.INPUT.SIZE_TRAIN),
T.ToTensor(),
T.Normalize(mean=cfg.INPUT.PIXEL_MEAN, std=cfg.INPUT.PIXEL_STD),
RandomErasing(probability=cfg.INPUT.RE_PROB, mean=cfg.INPUT.PIXEL_MEAN)
])
val_transforms = T.Compose([
T.Resize(cfg.INPUT.SIZE_TEST),
T.ToTensor(),
T.Normalize(mean=cfg.INPUT.PIXEL_MEAN, std=cfg.INPUT.PIXEL_STD)
])
num_workers = cfg.DATALOADER.NUM_WORKERS
dataset = __factory[cfg.DATASETS.NAMES](root=cfg.DATASETS.ROOT_DIR)
num_classes = dataset.num_train_pids
train_set = ImageDataset(dataset.train, train_transforms)
if 'triplet' in cfg.DATALOADER.SAMPLER:
train_loader = DataLoader(
train_set, batch_size=cfg.SOLVER.IMS_PER_BATCH,
sampler=RandomIdentitySampler(dataset.train, cfg.SOLVER.IMS_PER_BATCH, cfg.DATALOADER.NUM_INSTANCE),
num_workers=num_workers, collate_fn=train_collate_fn
)
elif cfg.DATALOADER.SAMPLER == 'softmax':
print('using softmax sampler')
train_loader = DataLoader(
train_set, batch_size=cfg.SOLVER.IMS_PER_BATCH, shuffle=True, num_workers=num_workers,
collate_fn=train_collate_fn
)
else:
print('unsupported sampler! expected softmax or triplet but got {}'.format(cfg.SAMPLER))
val_set_green = ImageDataset(dataset.query_green + dataset.gallery_green, val_transforms)
val_loader_green = DataLoader(
val_set_green, batch_size=cfg.TEST.IMS_PER_BATCH, shuffle=False, num_workers=num_workers,
collate_fn=val_collate_fn
)
val_set_normal = ImageDataset(dataset.query_normal + dataset.gallery_normal, val_transforms)
val_loader_normal = DataLoader(
val_set_normal, batch_size=cfg.TEST.IMS_PER_BATCH, shuffle=False, num_workers=num_workers,
collate_fn=val_collate_fn
)
return train_loader, val_loader_green, val_loader_normal, len(dataset.query_green), len(dataset.query_normal), num_classes
def make_dataloader_Pseudo(cfg):
if cfg.DATASETS.HARD_AUG:
train_transforms = T.Compose([
T.Resize(cfg.INPUT.SIZE_TRAIN),
T.RandomHorizontalFlip(p=cfg.INPUT.PROB),
T.Pad(cfg.INPUT.PADDING),
T.RandomCrop(cfg.INPUT.SIZE_TRAIN),
T.ColorJitter(brightness=0.5, contrast=0.5, saturation=0.5, hue=0.2),
T.transforms.RandomAffine(0, translate=None, scale=[0.9, 1.1], shear=None, resample=False, fillcolor=128),
T.ToTensor(),
T.Normalize(mean=cfg.INPUT.PIXEL_MEAN, std=cfg.INPUT.PIXEL_STD),
RandomErasing(probability=cfg.INPUT.RE_PROB, mean=cfg.INPUT.PIXEL_MEAN)
])
else:
train_transforms = T.Compose([
T.Resize(cfg.INPUT.SIZE_TRAIN),
T.RandomHorizontalFlip(p=cfg.INPUT.PROB),
T.Pad(cfg.INPUT.PADDING),
T.RandomCrop(cfg.INPUT.SIZE_TRAIN),
T.ToTensor(),
T.Normalize(mean=cfg.INPUT.PIXEL_MEAN, std=cfg.INPUT.PIXEL_STD),
RandomErasing(probability=cfg.INPUT.RE_PROB, mean=cfg.INPUT.PIXEL_MEAN)
])
val_transforms = T.Compose([
T.Resize(cfg.INPUT.SIZE_TEST),
T.ToTensor(),
T.Normalize(mean=cfg.INPUT.PIXEL_MEAN, std=cfg.INPUT.PIXEL_STD)
])
num_workers = cfg.DATALOADER.NUM_WORKERS
dataset = __factory[cfg.DATASETS.NAMES](root=cfg.DATASETS.ROOT_DIR)
num_classes = dataset.num_train_pids
train_set = ImageDataset(dataset.train, train_transforms)
if 'triplet' in cfg.DATALOADER.SAMPLER:
train_loader = DataLoader(
train_set, batch_size=cfg.SOLVER.IMS_PER_BATCH,
sampler=RandomIdentitySampler(dataset.train, cfg.SOLVER.IMS_PER_BATCH, cfg.DATALOADER.NUM_INSTANCE),
num_workers=num_workers, collate_fn=train_collate_fn
)
elif cfg.DATALOADER.SAMPLER == 'softmax':
print('using softmax sampler')
train_loader = DataLoader(
train_set, batch_size=cfg.SOLVER.IMS_PER_BATCH, shuffle=True, num_workers=num_workers,
collate_fn=train_collate_fn
)
else:
print('unsupported sampler! expected softmax or triplet but got {}'.format(cfg.SAMPLER))
val_set_green = ImageDataset(dataset.query_green + dataset.gallery_green, val_transforms)
val_loader_green = DataLoader(
val_set_green, batch_size=cfg.TEST.IMS_PER_BATCH, shuffle=False, num_workers=num_workers,
collate_fn=val_collate_fn
)
return train_loader, val_loader_green, len(dataset.query_green), num_classes, dataset, train_set, train_transforms
| 39.634615 | 126 | 0.68187 | 804 | 6,183 | 5.00995 | 0.14801 | 0.075472 | 0.051639 | 0.042205 | 0.822244 | 0.822244 | 0.822244 | 0.808342 | 0.808342 | 0.808342 | 0 | 0.007368 | 0.209769 | 6,183 | 155 | 127 | 39.890323 | 0.817028 | 0.012454 | 0 | 0.742188 | 0 | 0 | 0.032184 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03125 | false | 0 | 0.0625 | 0 | 0.125 | 0.03125 | 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 |
5525e0f70890467bd4ca12abb8afe2243ce95735 | 179 | py | Python | tests/utils.py | Solian42/phf-compilers-tests | c0dc5cc5523d1f676c422397c0fa8b225b5a1b4f | [
"MIT"
] | null | null | null | tests/utils.py | Solian42/phf-compilers-tests | c0dc5cc5523d1f676c422397c0fa8b225b5a1b4f | [
"MIT"
] | null | null | null | tests/utils.py | Solian42/phf-compilers-tests | c0dc5cc5523d1f676c422397c0fa8b225b5a1b4f | [
"MIT"
] | null | null | null | from os import environ
from unittest import skipIf
def skip_slow_tests():
return bool(environ.get('SLOW_TESTS', False))
slow_test = skipIf(skip_slow_tests(), 'slow test')
| 17.9 | 50 | 0.748603 | 27 | 179 | 4.740741 | 0.555556 | 0.210938 | 0.203125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145251 | 179 | 9 | 51 | 19.888889 | 0.836601 | 0 | 0 | 0 | 0 | 0 | 0.106145 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
e9b85b51caa3ea0a2f0daf395f9795750765db71 | 116 | py | Python | autoreject/__init__.py | dengemann/autoreject | d6bd0f27c062c003fb6f1a55a8e197bbd098a8d1 | [
"BSD-3-Clause"
] | 1 | 2021-07-23T01:54:47.000Z | 2021-07-23T01:54:47.000Z | autoreject/__init__.py | dengemann/autoreject | d6bd0f27c062c003fb6f1a55a8e197bbd098a8d1 | [
"BSD-3-Clause"
] | null | null | null | autoreject/__init__.py | dengemann/autoreject | d6bd0f27c062c003fb6f1a55a8e197bbd098a8d1 | [
"BSD-3-Clause"
] | null | null | null | from .autoreject import GlobalAutoReject, ConsensusAutoReject
from .autoreject import compute_threshes, grid_search
| 38.666667 | 61 | 0.87931 | 12 | 116 | 8.333333 | 0.75 | 0.28 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086207 | 116 | 2 | 62 | 58 | 0.943396 | 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 |
e9da477727265684b35d0e044a522380c3c9534e | 648,714 | py | Python | laseno/url.py | lechesdarwin/cuentestero | 30eb6c27a03f8753d43a2069ec12158d2274d417 | [
"Apache-2.0"
] | null | null | null | laseno/url.py | lechesdarwin/cuentestero | 30eb6c27a03f8753d43a2069ec12158d2274d417 | [
"Apache-2.0"
] | null | null | null | laseno/url.py | lechesdarwin/cuentestero | 30eb6c27a03f8753d43a2069ec12158d2274d417 | [
"Apache-2.0"
] | null | null | null | urls = [{ 'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ciudadano-con-sospecha-de-coronavirus-llego-el-13-de-febrero-y-presento-sintomas-hace-4-dias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nuevo-sistema-basado-en-ia-para-detectar-cancer-de-mama-de-forma-segura/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/postergan-el-corso-de-corsos-para-el-14-de-marzo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/reventon-con-las-ex-promos-del-franco/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/proyecto-de-ley-del-litio-fue-presentado-a-los-ministerios-de-energia-y-economia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/soleto-se-desploma-en-el-alto-y-genera-preocupacion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/rafinha-y-barros-en-la-mira-de-ponce-para-el-partido-contra-nacional-potosi/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/opera-permite-crear-espacios-de-trabajo-agrupando-pestanas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/10-000-hectareas-de-cultivos-estan-bajo-el-agua-en-el-pais/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-terrorismo-de-estado-mas-grande-da-la-historia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/instalan-punto-de-control-veterinario-para-mascotas-rescatadas-en-tiquipaya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/policia-investiga-paradero-de-atracadores-que-se-llevaron-bs-120-mil-de-un-surtidor-en-tarija/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mas-tiene-tres-nombres-para-reemplazar-a-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-hay-capacidad-de-diagnosticar-coronavirus-y-no-se-contempla-cierre-de-fronteras/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-claridad-de-nuflo-de-chaves/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-paciente-con-coronavirus-en-brasil-participo-de-una-fiesta-familiar-antes-de-retornar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobernacion-de-santa-cruz-tramita-declaratoria-de-desastre-debido-a-las-lluvias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/diputado-advierte-malestar-en-la-policia-y-las-ffaa-es-tiempo-de-que-vuelvan-al-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ministro-arias-descarta-riesgos-en-la-linea-de-mi-teleferico-morado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-informa-sobre-un-posible-caso-de-coronavirus-en-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/valverde-lamenta-que-este-ano-hubiera-menos-policias-resguardando-el-carnaval/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/juntos-inauguro-su-primer-casa-de-campana-en-la-capital-crucena/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ted-santa-cruz-evalua-a-2-067-postulantes-a-coordinadores-y-notarios-electorales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/presidente-del-colegio-de-abogados-de-chuquisaca-critica-a-murillo-asombra-su-ignorancia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-descarta-riesgos-en-el-teleferico-morado-por-deslizamiento-en-nino-kollo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/realizan-explosiones-controladas-para-retirar-rocas-de-gran-tamano-del-rio-taquina/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/rio-se-desborda-en-tolata-y-afecta-al-menos-a-10-casas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-tse-reitera-que-resolucion-sobre-inhabilitaciones-es-inapelable/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/defensa-actualiza-datos-hay-72-municipios-afectados-por-lluvias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-gran-regreso-de-macaulay-culkin-es-una-de-estrellas-confirmadas-para-la-proxima-temporada-de-american-horror-story/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/qualcomm-presenta-sus-gafas-de-de-referencia-para-su-ultimo-chipset-de-realidad-virtual/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nacio-una-estrella-la-cantante-viral-charlotte-awbery-deslumbro-con-su-version-de-shallow-en-el-programa-de-ellen-degeneres/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/coronavirus-en-brasil-de-confirmarse-el-segundo-analisis-santa-cruz-emitira-alerta-amarilla/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/papa-francisco-la-cuaresma-es-el-tiempo-para-apagar-la-television-y-abrir-la-biblia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ted-de-santa-cruz-se-traslado-al-edificio-de-la-exmutual-guapay/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/reportan-la-muerte-de-un-hombre-por-intoxicacion-alcoholica-durante-el-carnaval-en-trinidad/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mauricio-rios-garcia-mesa-es-uno-de-los-responsables-que-llevaron-al-mas-al-poder/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/video-titulares-de-noticias-de-tv-bolivia-mediodia-del-miercoles-26-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/83-anos-formando-policias-para-servir-y-proteger-a-los-bolivianos-felicitaciones-anapol-p/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hay-20-comunidades-afectadas-por-desborde-del-rio-ichilo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cinco-aprehendidos-por-agresion-sexual-contra-una-joven-durante-el-carnaval-en-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/investigan-como-homicidio-la-muerte-del-joven-cantante-hay-un-aprehendido-y-dos-arrestados/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/encuesta-tu-voto-cuenta-garantiza-llegar-a-zonas-rurales-y-ciudades-intermedias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/oruro-acogera-el-segundo-campeonato-nacional-de-raquetbol-de-la-gestion-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/percy-esta-internado-por-una-pequena-cirugia-de-cadera/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mas-de-650-soldados-trabajan-todo-el-dia-en-atender-emergencia-en-tiquipaya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/preparan-1-300-platos-para-los-rescatistas-pero-falta-mas-ayuda-a-tiquipaya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mesa-sobre-pumari-en-los-ultimos-dias-no-hemos-tenido-ningun-contacto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/reportan-otro-deslizamiento-en-villa-armonia-alcaldia-pide-desalojar-casas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/y-yo-que-hice/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/reportan-caso-sospechoso-de-coronavirus-en-la-paz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-sedes-descarta-un-supuesto-caso-de-coronavirus-en-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/seis-anos-de-un-buen-servicio-que-la-gente-lo-reconoce-festejando-al-pumakatari-felicidad/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/policia-militar-rinde-homenaje-a-santa-cruz-por-sus-459-anos-de-fundacion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/se-reportaron-desmanes-el-ultimo-dia-de-carnaval-en-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/reportan-11-669-familias-afectadas-y-18-fallecidos-por-desastres-naturales-en-todo-el-pais/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/potosi-abandonan-a-bebe-de-12-dias-de-nacida-con-sindrome-de-down/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/un-bestseller-de-los-80-anticipo-el-surgimiento-del-coronavirus-en-china/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/abc-reporta-tres-tramos-cerrados-por-lluvias-en-la-paz-santa-cruz-y-tarija/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-pide-despolitizar-conflictos-limitrofes-por-deslizamiento-en-kella-kella/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alcalde-de-cochabamba-dice-que-se-estudia-la-posibilidad-de-suspender-el-corso-de-corsos-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/lecciones-para-aprender-de-tiquipaya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bob-iger-que-significa-el-fin-de-su-mandato-dorado-en-disney/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/a-orillas-del-suto-hace-459-anos-fue-fundada-la-ciudad-de-santa-cruz-de-la-sierra-desde/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ministro-nunez-afirma-que-la-situacion-esta-controlada-en-tiquipaya-por-las-acciones-inmediatas-del-gobierno/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/febona-propone-a-santa-cruz-como-sede-de-la-copa-uana-2021/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/comerciantes-protestan-y-exigen-suspension-del-corso-de-corsos-en-cochabamba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-renueva-equipo-juridico-ante-la-haya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-coronavirus-ya-llego-a-brasil-se-expande-por-todo-el-mundo-aqui-se-han-tomado-prev/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/20-000-desplazados-por-inundaciones-en-yakarta/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/autoridad-de-cuencas-atendera-la-reubicacion-de-viviendas-en-tiquipaya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/solo-llamenme-harry-las-desafiantes-palabras-del-principe-en-su-primera-aparicion-publica-tras-el-megxit/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-asistente-de-google-recupera-las-sugerencias-inteligentes-para-los-comandos-por-textos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fiscalia-declaracion-de-testigo-confirma-pagos-para-actos-vandalicos-tras-renuncia-de-evo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/caricaturas-de-bolivia-del-miercoles-26-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/demanda-de-inhabilitacion-busca-anular-candidatura-de-choquehuanca/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/defensoria-del-pueblo-destaca-el-trabajo-del-2019-en-una-rendicion-publica-de-cuentas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/que-significa-la-condena-a-harvey-weinstein-y-como-podria-afectar-otros-casos-en-el-futuro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/felipa-huanca-intento-tramitar-su-pasaporte-quispe-pide-aprehenderla-para-que-no-salga-del-pais/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-hombre-mas-viejo-del-mundo-murio-en-japon-a-los-112-anos-atribuyo-su-larga-vida-a-siempre-sonreir/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/estados-unidos-ve-inevitable-la-propagacion-del-coronavirus-en-el-pais/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/auto-presuntamente-conducido-por-policias-ebrios-cayo-a-un-canal-de-drenaje/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dirigentes-de-huanuni-denuncian-toma-a-la-fuerza-del-cerro-posokoni-de-parte-de-excooperativistas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/disturbios-bajan-de-intensidad-en-vina-del-mar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/pique-suena-con-recuperarse-para-el-clasico-ante-real-madrid/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mi-teleferico-la-paz-y-el-alto-activan-cita-por-nino-kollo-suspenden-clases-en-escuela-de-la-zona/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sharapova-anuncio-que-se-retira-del-tenis-te-digo-adios/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dos-arbitros-bolivianos-preseleccionados-para-el-mundial-qatar-2022/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/miercoles-de-ceniza-da-inicio-a-la-cuaresma/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/justicia-alemana-considera-inconstitucional-prohibir-el-suicidio-asistido/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-policia-registro-20-muertes-en-carnaval-tres-por-feminicidio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ministro-arias-se-logro-canalizar-el-rio-taquina-y-se-evito-que-siga-bajando-mazamorra-hasta-tiquipaya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/uno-de-los-pilares-de-la-defensa-de-nuestra-soberania-y-del-crecimiento-economico-es-el-co/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/emacruz-limpia-las-calles-del-centro-de-la-ciudad-tras-el-carnaval/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/crea-una-app-similar-a-uber-con-jungleworks/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cuando-gobierna-un-burro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-populismo-en-busqueda-de-revancha/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mesa-no-se-puede-plantear-una-alianza-potencial-ni-realista-con-el-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dos-personas-quedan-heridas-de-bala-en-una-pelea-de-pandilleros-en-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/challa-la-tradicion-mas-arraigada-para-despedir-el-carnaval/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/consideraria-carlos-mesa-a-jeanine-anez-como-acompanante-de-formula/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-tas-confirma-apelacion-del-manchester-city-contra-la-sancion-de-la-uefa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/luisfer-revollo-obtiene-un-4-9-en-la-competencia-folclorica-en-el-festival-vina-del-mar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/policia-registro-ocho-muertes-en-la-paz-y-el-alto-durante-el-carnaval/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/una-mujer-abandonada-en-via-publica-por-sus-amigos-muere-atropellada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/que-ocasiono-el-deslizamiento-en-ovejuyo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/chi-busca-candidato-a-la-vicepresidencia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/monasterio-asegura-que-recurso-de-apelacion-de-evo-morales-no-prosperara/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobernacion-de-cochabamba-espera-que-asamblea-apruebe-ley-de-declaratoria-de-emergencias-para-atender-desastres/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/anh-entrega-cocinas-y-garrafas-a-las-familias-afectadas-en-tiquipaya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/suman-a-49-las-cooperativas-que-extraen-los-minerales-en-la-llajta/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-neumoconiosis-es-un-mal-sin-cura-afecta-a-los-yeseros/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/martins-se-entreno-por-primera-vez-con-sus-companeros-a-la-espera-de-su-debut-en-cruzeiro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/activan-recurso-de-queja-contra-alcaldia-de-el-alto-por-incumplir-de-fallo-constitucional/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/muchas-felicidades-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/oep-atendera-elecciones-en-cooperativas-hasta-15-dias-antes-y-despues-del-3-de-mayo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/abogados-de-evo-dicen-que-el-tcp-tendra-la-ultima-palabra-sobre-la-candidatura/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/santa-cruz-de-la-sierra-ciudad-hospitalaria-indomable-pero-sobre-todo-libre-hoy-al-re/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/torrico-listo-para-volver-a-custodiar-el-arco-de-aurora/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/las-mujeres-protagonistas-en-el-narcomundo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/senamhi-lanza-alerta-de-lluvias-para-6-regiones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/partidos-haran-campana-puerta-a-puerta-y-difundiran-sus-programas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/movilizan-maquinaria-pesada-y-suma-la-ayuda-para-atender-emergencia-en-tiquipaya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/partidos-mueven-estrategias-de-campana-e-intensifican-trabajo-en-las-regiones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/experto-habla-de-fracking-con-criterio-y-sigue-el-debate/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/deciden-demoler-casas-en-ovejuyo-y-desalojar-a-familias-en-cotahuma/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ninos-desarrollan-videojuego-que-ayuda-a-reciclar-botellas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/felicidades-santa-cruz-de-la-sierra-que-la-historia-que-comenzo-en-1561-continue-forja/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/copa-davis-japon-vs-ecuador-se-jugara-a-puerta-cerrada-por-el-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hoy-habilitaran-mas-camas-para-pacientes-con-dengue/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/callejon-no-conoce-nada-del-interes-de-sporting/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dellien-se-enfrenta-al-chileno-barrios/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/wilstermann-es-favorito-ante-un-san-jose-en-crisis/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-santa-cruz-cada-dia-se-registran-cinco-nuevos-casos-positivos-de-vih/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/always-ready-quiere-volver-a-la-punta-a-costa-de-oriente/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/resaca-carnavalera-2/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/municipal-de-vinto-visita-a-real-en-la-villa-imperial/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/a-bolivar-le-espera-una-maraton-de-partidos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/atigrados-admiten-que-tienen-un-bajon-animico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/declara-el-entorno-familiar-de-lorgio-saucedo-jimenez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/debatiran-situacion-de-la-construccion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/a-459-anos-de-fundacion-santa-cruz-todavia-reta-al-cerco-politico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/argentina-se-movilizan-por-moro-y-molares-exmiembro-de-las-farc/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-sequia-y-el-desborde-de-dos-rios-comprometen-la-produccion-soyera/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/jovenes-abogados-denunciaran-faltas-a-ddhh-ante-el-mundo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-paz-5-casas-y-1-escuela-en-riesgo-en-faro-murillo-evacuan-a-familias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-mujer-victimada-a-golpes-por-su-concubino-agonizo-dos-dias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/reparan-un-sifonamiento-en-un-tramo-de-la-costanera-en-la-paz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bebe-de-un-ano-de-edad-muere-atropellada-en-la-carretera/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/japon-aplaza-su-liga-de-futbol-por-el-coronavirus-a-cinco-meses-de-los-juegos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/investigan-la-muerte-de-una-mujer-que-cayo-cinco-metros/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/santa-cruz-carnaval-austero-con-excesos-y-al-menos-cinco-muertos-en-accidentes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/pumari-dejara-a-camacho-hoy-develara-su-misterioso-anuncio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/prohiben-los-asentamientos-ilegales-en-los-lechos-de-rios/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ofrendas-florales-y-distinciones-por-los-459-anos-de-fundacion-de-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-misterio-ronda-la-muerte-de-periodista-argentino-afin-a-evo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/expertos-creen-urgente-la-reforma-de-impuestos-gobierno-no-tiene-planes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/vecinos-afirman-que-palca-autorizo-sus-casas-alcalde-dice-que-son-clandestinas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/portadas-de-periodicos-de-bolivia-del-miercoles-26-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/horoscopo-de-hoy-predicciones-de-josie-diez-canseco-para-el-miercoles-26-de-febrero/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/detectan-en-brasil-el-primer-caso-de-coronavirus-de-latinoamerica/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mira-como-anabel-tira-la-toalla-en-una-playa-colombiana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/eeuu-espera-intercambiar-embajadores-con-bolivia-sea-cual-sea-el-nuevo-gobierno/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hillary-clinton-los-servicios-secretos-rusos-aun-trabajan-para-trump/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-insolito-gol-en-contra-de-un-arquero-en-paraguay-que-puede-ser-el-mas-ridiculo-del-ano/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-patada-al-pecho-que-lionel-messi-le-pego-a-david-ospina-que-demostro-su-impotencia-en-el-partido-contra-el-napoli/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-misteriosa-esposa-del-jefe-de-jefes-el-narcotraficante-que-inicio-la-guerra-entre-carteles/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-cantante-duffy-desvela-la-terrible-experiencia-vital-que-la-ha-obligado-a-desaparecer-de-los-escenarios-durante-una-decada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/conade-pide-bajarse-de-la-carrera-electoral-a-binomios-que-no-tienen-posibilidades-de-ganar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/policia-se-suicida-con-su-arma-de-reglamento-en-la-ciudad-de-el-alto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/trump-en-la-india-le-compran-millones-en-armas-y-limpian-el-taj-mahal-con-millones-de-litros-de-agua-destilada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cuan-grande-es-el-peligro-del-coronavirus-para-europa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alemania-primeros-casos-de-coronavirus-en-renania-del-norte-westfalia-y-baden-wurttemberg/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/elecciones-el-mas-incluyo-a-implicados-en-narcotrafico-y-corrupcion-en-sus-listas-de-candidatos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-principe-harry-regreso-al-reino-unido-para-reunirse-con-jon-bon-jovi-en-abbey-road/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tse-no-se-dejara-casillas-en-blanco-en-la-seccion-de-computo-de-votos-de-actas-escrutinio-para-evitar-manipulacion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/a-12-anos-de-la-misteriosa-muerte-de-rui-torres-el-recordado-conductor-de-art-attack/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sentencia-de-15-anos-de-carcel-por-homicidio-en-tarija/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/despilfarro-en-cifras/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/invocacion-al-golpe-militar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/policia-de-el-alto-desbarata-banda-de-atracadores-integrada-por-un-adolescente/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/educacion-otorga-tolerancia-a-estudiantes-docentes-y-administrativos-de-tiquipaya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-fracking-es-nuestra-salvacion-si-se-lo-maneja-con-criterio-apunta-un-experto-en-hidrocarburos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/proyectos-y-oferta-de-litio-aumentan-en-la-region/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/eeuu-pide-a-su-poblacion-que-se-prepare-para-una-inevitable-propagacion-del-coronavirus-en-el-pais/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-nueva-carretera-santa-cruz-cochabamba-esta-habilitada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tiquipaya-gobierno-crea-autoridad-de-cuencas-prohibe-asentamientos-y-define-reubicar-familias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/anez-advierte-que-no-permitiran-mas-asentamientos-ilegales-en-tiquipaya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bomberos-de-la-paz-refuerzan-tareas-de-rescate-en-tiquipaya-con-50-efectivos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/asambleista-pedraza-desmiente-ruptura-con-cossio-y-ratifica-su-apoyo-a-la-alianza-creemos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/carnaval-2020-el-agradecimiento-a-la-madre-tierra-en-el-martes-de-challa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fallece-el-expresidente-egipcio-hosni-mubarak/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/los-bolivianos-challamos-hoy-para-invocar-una-vida-saludable-y-mas-prospera-que-los-dese/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/seguimos-trabajando-en-tiquipaya-junto-a-todo-el-equipo-para-que-los-vecinos-del-municipio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hoy-cumpliria-70-anos-nuestro-hermano-nestor-kirchner-un-amigo-y-un-politico-patriota-s/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/austria-y-croacia-confirman-sus-primeros-casos-de-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/popocatepetl-registra-fuerte-explosion-con-columna-de-ceniza-y-gases/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/jovenes-en-filipinas-prendieron-fuego-a-un-vendedor-de-globos-por-diversion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/confirmado-el-primer-caso-de-coronavirus-en-catalunya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/lionel-messi-y-diego-maradona-acaparan-la-atencion-en-la-previa-de-napoli-y-barcelona-por-la-champions-league/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bangladesh-del-borde-del-desastre-a-superar-a-china-en-crecimiento-economico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/abc-habilita-ruta-nueva-a-santa-cruz-pero-se-mantiene-el-trafico-controlado-por-trabajos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/netflix-incluira-en-su-plataforma-listas-de-lo-mas-visto-en-cada-pais/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/que-haremos-con-las-empresas-estatales-reitero-mi-compromiso-con-bolivia-vamos-a-potenc/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/placido-domingo-pide-perdon-a-las-mujeres-que-lo-acusan-de-acoso-sexual/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-anti-greta-thunberg-quien-es-la-alemana-de-19-anos-que-se-presenta-como-la-contrafigura-de-la-joven-sueca-en-la-discusion-por-el-cambio-climatico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/una-mujer-sorprendio-a-un-conductor-al-cantar-shallow-de-lady-gaga-y-se-volvio-viral/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-demostracion-de-poder-de-diosdado-cabello-en-la-boda-de-su-hija-que-causo-indignacion-entre-los-militares-venezolanos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/las-fotos-del-lujoso-hotel-de-tenerife-donde-estan-confinados-mas-de-mil-turistas-por-un-caso-de-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hay-mas-de-mil-turistas-confinados-en-un-hotel-de-tenerife-porque-un-medico-italiano-dio-positivo-de-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/por-que-le-anularon-un-gol-el-tigre-alerta-que-hay-3-versiones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/un-juez-pide-que-adepcoca-de-gutierrez-y-del-mas-concilien/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-este-martes-de-challa-los-bolivianos-agradecemos-por-los-bienes-materiales-y-patrimon/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-jisk%c2%92a-anata-une-al-pais-con-tarqueadas-salay-y-chacareras/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/caso-hanali-seis-observaciones-que-ponen-en-duda-la-muerte-de-clavijo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sin-planimetria-kella-kella-registro-tres-deslizamientos-en-los-ultimos-26-anos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/lluvias-dejan-al-menos-11-vias-intransitables-segun-la-abc/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/vecinos-de-kella-kella-sabian-del-riesgo-pero-insistieron-en-construir-casas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/detienen-a-presunto-feminicida-de-cielo-en-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tiquipaya-todavia-hay-riesgo-y-gobierno-instala-minigabinete/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nueces-y-lentejas-de-%c2%93oro%c2%94-las-claves-para-la-ch%c2%92alla/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/murio-el-cientifico-argentino-mario-bunge/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/pasajeros-festejan-los-6-anos-del-puma/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/horoscopo-de-hoy-predicciones-de-josie-diez-canseco-para-el-martes-25-de-febrero/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tuto-dice-que-evo-morales-insulta-al-presidente-de-argentina/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/comunidad-ciudadana-el-frente-con-mayor-numero-de-candidatos-habilitados/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-ntn24-evo-morales-dice-que-grupo-de-lima-es-golpista-alferdez-tu-asilado-te-insulta/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-fuego-consumio-una-barraca-es-el-segundo-incendio-durante-en-carnaval-en-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-argentina-fallo-judicial-determina-que-transportar-coca-no-infringe-la-ley-antidroga/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/evo-dice-que-el-plan-b-para-habilitar-su-candidatura-es-presentar-un-amparo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/requerimosalimentos-no-perecederos-medicamentos-de-primeros-auxilios-herramientas-de/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/coronavirus-infectaron-a-monos-con-la-enfermedad-en-busqueda-de-una-vacuna/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-sonda-insight-revela-que-marte-tiene-gran-cantidad-terremotos-y-un-campo-magnetico-mayor-de-lo-esperado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/doria-medina-lamenta-los-millones-gastados-en-la-planta-de-urea/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/impresionante-tributo-a-kobe-bryant-en-la-cancha-de-los-angeles-lakers/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-mercado-bursatil-registra-su-peor-caida-en-dos-anos-por-el-temor-al-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/todos-estos-hechos-corren-el-riesgo-de-convertirse-en-noticias-de-rutina-son-millones-gas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/renuncia-en-tarija-el-candidato-de-la-alianza-creemos-luis-pedraza/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dellien-saco-las-garras-y-avanzo-a-octavos-en-el-open-de-chile/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-productor-harvey-weinsteines-es-un-criminal-sexual/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/investigan-un-supuesto-feminicidio-en-el-plan-tres-mil/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/monasterio-evo-busca-generar-un-golpe-de-estado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/reportan-el-descenso-del-nivel-de-rios-en-municipios-de-rurrenabaque-y-san-borja/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-responsabiliza-a-exautoridades-por-desastres-en-tiquipaya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sin-duda-que-hoy-vivimos-tiempos-mejores-para-la-libertad-de-expresion-la-anp-es-uno-de-l/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/segundo-dia-de-carnaval-se-viene-al-ritmo-de-tusa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/imagenes-aereas-mira-la-destruccion-provocada-por-un-deslizamiento-en-kella-kella/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/detienen-a-un-hombre-acusado-de-golpear-y-abusar-de-una-menor/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fpv-invita-al-exfiscal-jaime-soliz-a-ser-acompanante-de-chi-hyun-chung/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-oms-pide-al-mundo-que-se-prepare-para-una-pandemia-por-el-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-sedes-sancionara-a-farmacias-que-receten-medicamentos-contra-el-dengue/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/estos-son-los-ejercitos-mas-potentes-del-mundo-en-el-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sentencian-a-20-anos-de-carcel-a-sujeto-que-violo-a-una-menor-en-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-ironico-tuit-con-el-que-batistuta-felicito-a-cristiano-por-igualar-un-record-suyo-en-la-serie-a/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/lacalle-pou-dijo-que-buscara-abrir-las-fronteras-de-uruguay-para-que-lleguen-miles-y-miles-de-inmigrantes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-anti-greta-quien-es-la-adolescente-que-cobra-por-cuestionar-el-cambio-climatico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/descubren-rastros-de-una-poblacion-desconocida-en-el-adn-de-los-neandertales-y-los-denisovanos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/diputada-millares-pide-al-gobierno-desagravio-a-chuquisaca-por-estigmatizacion-racista/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/masajes-con-cocaina-sexo-y-un-posible-asesino-serial-el-brutal-crimen-que-conmueve-a-espana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/harvey-weinstein-fue-declarado-culpable-de-abuso-sexual-y-violacion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/renovada-version-del-smartphone-plegable-mate-x-y-una-tableta-sin-precedentes-huawei-presenta-sus-nuevos-productos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-anp-celebra-50-anos-de-lucha-contra-la-censura/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-desplegara-300-militares-mas-para-priorizar-atencion-de-damnificados-en-tiquipaya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/reportan-descenso-de-nivel-de-rios-en-municipios-de-rurrenabaque-y-san-borja-en-beni/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bolivia-tiene-una-destacada-actuacion-en-la-copa-uana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ya-son-6-los-fallecidos-en-italia-por-el-coronavirus-y-el-numero-de-afectados-asciende-a-219/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-paz-deslizamiento-en-ovejuyo-afecta-a-16-viviendas-alcaldia-interviene-en-la-zona/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/kella-kella-ayudan-a-recuperar-enseres-tras-deslizamiento-que-dano-a-mas-de-veinte-viviendas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/policias-y-militares-de-haiti-se-enfrentan-a-los-tiros-y-convierten-la-capital-en-una-zona-de-guerra-al-menos-dos-soldados-muertos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/google-cambio-los-terminos-de-su-servicio-de-que-se-trata/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/un-vehiculo-embistio-contra-un-desfile-de-carnaval-en-alemania-al-menos-15-heridos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/un-ex-primer-ministro-de-alan-garcia-es-detenido-en-peru-por-caso-odebrecht/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sogliano-municipio-paceno-que-autorizo-construcciones-brilla-por-su-ausencia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-deslizamiento-en-ovejuyo-sur-ya-no-esta-activo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/wall-street-abre-en-rojo-y-el-dow-jones-se-desploma-casi-1-000-puntos-por-el-temor-al-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-carretera-antigua-esta-habilitada-para-viajes-a-cochabamba-y-a-los-valles-crucenos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-organizacion-mundial-de-la-salud-advirtio-que-el-mundo-debe-prepararse-para-una-potencial-pandemia-de-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cae-banda-de-atracadores-que-operaba-en-un-minibus-en-el-alto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-las-fiestas-de-carnaval-en-bolivia-expresamos-nuestra-diversidad-en-alegria-fraterna-y/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/176-aniversario-de-san-matias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/como-saber-con-que-cuentas-de-instagram-interactuas-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/entre-todos-unamos-fuerzas-para-luchar-contra-el-dengue-apoyemos-las-medidas-preventivas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/kirk-douglas-dejo-a-su-hijo-michael-sin-herencia-la-mayor-parte-de-sus-usd-61-millones-seran-para-caridad/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/un-buscador-de-videos-en-la-web-que-ofrece-resultados-variados-y-respeta-la-privacidad/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/como-proteger-instagram-y-otras-apps-del-movil-con-una-contrasena/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-curiosa-secta-que-promete-la-vida-eterna-solo-para-144-000-adeptos-y-se-convirtio-en-el-principal-foco-de-coronavirus-fuera-de-china/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bomberos-de-oruro-y-la-paz-refuerzan-tareas-de-rescate-en-tiquipaya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/las-dos-caras-de-steve-jobs-genio-creador-y-padre-cruel/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/familias-sacan-el-lodo-de-sus-casas-y-anez-anuncia-reabrir-el-promic/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cinturones-dinero-y-honor-comenzo-a-gestarse-la-pelea-del-siglo-entre-tyson-fury-y-anthony-joshua/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/rescatan-a-mujer-herida-del-segundo-piso-de-su-casa-en-tiquipaya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/desborde-del-rio-pirai-afecto-a-cientos-de-productores/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-filial-yemeni-de-al-qaeda-confirmo-la-muerte-de-su-lider-qasem-al-rimi-tras-un-ataque-de-estados-unidos-y-anuncio-a-su-sucesor/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/potosi-obras-de-la-cementera-estaran-paradas-hasta-garantizar-gas-natural/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/las-relaciones-sexuales-sin-proteccion-pueden-cambiar-tu-vida-evita-el-vih/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-mas-volvera-a-tomar-las-riendas-del-poder/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/pcc-y-comando-vermelho-estan-en-guerra-en-los-penales-del-pais/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/google-retira-la-app-de-mensajeria-totok-por-presunto-espionaje/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/a-dos-meses-del-brote-de-coronavirus-china-prohibio-el-comercio-y-consumo-de-especies-salvajes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-aeronautica-nacional-se-anotaba-en-hojas-excel/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tam-ep-dejo-de-volar-porque-no-cumple-requisitos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-clasico-mineirao-tendra-a-marcelo-martins-como-una-de-las-figuras/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hugo-dellien-busca-la-reivindicacion-en-chile/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/deslizamiento-derrumba-viviendas-en-zona-colindante-con-la-paz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ministerio-de-salud-entrega-medicamentos-a-damnificados-de-tiquipaya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ventaja-masista-con-un-electorado-antimasista/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ministro-lopez-visita-beni-para-tomar-previsiones-ante-posibles-inundaciones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cierre-de-via-en-el-sillar-continua-por-fuertes-lluvias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alcalde-paceno-luis-revilla-participo-del-corso-cruceno/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/botnet-la-red-social-donde-eres-el-unico-humano/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/para-el-icach-magistrado-eguez-debiera-renunciar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bolivia-no-recibira-mas-ayuda-suiza/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/pnud-asegura-asistencia-tecnica-para-elecciones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/juan-jordan-le-ofrecimos-a-cordano-tres-anos-mas-de-contrato-y-un-sueldo-de-5-500-dolares/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/5-cosas-que-debes-saber-de-romy-paz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/san-joaquin-la-isla-crucena-de-los-miniponis/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/forestales-buscan-concretar-ventas-por-us-5-mm-en-china/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobernacion-crucena-pide-a-vecinos-dedicar-10-minutos-contra-el-dengue-en-el-carnaval/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mesa-y-anez-se-disputaran-el-voto-util-para-rebasar-al-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/caricaturas-de-bolivia-del-lunes-24-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mosquera-es-el-nuevo-dt-de-sporting-cristal/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nuestro-carnaval-de-oruro-es-una-maravillosa-explosion-de-alegria-talento-musica-baile/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/biblia-militares-e-inestabilidad-se-apoderan-de-america-latina/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/festival-internacional-boliviano-luisfer-revollo-compite-hoy-en-vina-del-mar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ricky-martin-apoya-protestas-y-espera-que-chile-provoque-un-efecto-domino/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/carlos-lampe-%c2%93en-esta-fecha-nadie-saco-ventaja%c2%94/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/quiroga-presencia-de-zaffaroni-en-la-cidh-como-abogado-de-evo-morales-favorece-a-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/duran-se-corona-en-singles-y-dobles-de-la-sub-16-en-chile/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tse-solo-el-617-de-las-candidaturas-estan-habilitadas-para-las-elecciones-de-mayo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-condor-de-plata-arranca-en-la-paz-y-cochabamba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/arce-sera-sometido-a-un-tratamiento-con-plaquetas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bolivar-y-real-santa-cruz-jugaran-el-jueves-1500/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/soria-y-el-reto-para-evitar-peor-campana-como-dt-en-el-tigre/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/blooming-le-gana-al-puntero-en-tiempo-de-adicion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-miercoles-hare-anuncio-importante-dice-pumari/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/transportistas-del-norte-de-la-paz-demandan-limpieza-de-via/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/que-lejos-estoy-2/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/reencausan-el-rio-taquina-y-dragan-el-lecho/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/choque-en-la-autopista-deja-heridos-y-vehiculos-danados/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/evacuan-a-35-familias-afectadas-por-las-inundaciones-en-rurrenabaque/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/pepinos-chutas-y-personajes-de-la-politica-en-la-farandula-pacena/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/asi-vive-bolivia-el-carnaval/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/un-postulante-a-ser-el-proximo-premio-nobel-de-la-paz-vive-en-montero-hoyos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/arce-se-alinea-a-evo-en-bolivia-no-existe-libertad-de-expresion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/santa-cruz-delincuentes-armados-reducen-a-una-familia-en-su-casa-y-se-llevan-bs-13-000/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-mas-proyecta-superar-el-40-para-evitar-una-segunda-vuelta/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/advierten-que-un-ajuste-del-tipo-de-cambio-provocaria-inflacion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-gobierno-reporta-unas-800-familias-afectadas-y-43-casas-con-serios-danos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tras-paralizacion-los-400-empleados-de-la-planta-de-urea-hacen-solo-mantenimiento/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ovejuyo-sur-28-casas-danadas-y-en-riesgo-cinco-se-derrumbaron/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/guanay-se-inunda-otra-vez-y-la-gente-salva-bienes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/portadas-de-periodicos-de-bolivia-del-lunes-24-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/horoscopo-de-hoy-predicciones-de-josie-diez-canseco-para-el-lunes-24-de-febrero/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/expresamos-nuestra-solidaridad-con-los-hermanos-damnificados-por-las-intensas-lluvias-e-in/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-festival-de-vina-del-mar-abre-con-protestas-y-ricky-martin-pidiendo-por-ddhh/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nuevafotodeperfil-2/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/candidato-del-mas-visito-a-gustavo-torrico-en-el-hospital/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gracias-refugio-narices-frias-por-el-gran-trabajo-que-hacen-todos-los-dias-y-en-especial/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/compartiendo-nuestras-tradiciones-amistad-y-hermandad-con-la-poblacion-en-la-fiesta-grand/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/seguimos-atendiendo-a-los-vecinos-de-tiquipaya-y-acelerando-los-trabajos-para-reencausar-e/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/anuncio-post-encuestas-de-pumari/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mas-de-400-efectivos-militares-policiales-y-bomberos-estan-trabajando-incansablemente-par/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/aurora-cae-ante-nacional-y-sigue-sin-sumar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/calendario-electoral-abre-periodo-de-impugnaciones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/anez-prohibe-el-cobro-de-servicios-a-damnificados-en-tiquipaya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mazamorra-dejo-320-damnificados-y-25-viviendas-danadas-en-tiquipaya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tarija-lista-de-candidatos-a-senadores-por-camacho-sufre-mas-bajas-renuncio-pedraza/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/autismo-y-desorden-alimenticio-la-madre-de-greta-thunberg-cuenta-detalles-sobre-la-ninez-de-la-activista-climatica/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/detienen-a-delincuentes-que-causaron-balacera-en-el-centro-comercial-plaza-norte/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/emprender-es-viable-o-es-un-peligro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/maestros-pacenos-anuncian-movilizacion-a-partir-del-28-por-acuerdos-incumplidos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/trasladamos-a-las-personas-que-sufrieron-esta-situacion-para-que-esten-en-un-lugar-seguro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/santa-cruz-registra-tres-muertos-por-accidentes-de-transito-en-el-primer-dia-de-carnaval/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mi-hija-sandra-programo-la-cesarea-de-violeta-dos-dias-despues-del-21f-para-que-yo-pueda/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tu-voz-al-podercreemos-en-el-poder-de-tu-voz-capaz-de-construir-una-nueva-bolivia-y/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sucre-declara-al-carnaval-chuta-como-patrimonio-cultural-e-intangible/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cuatro-paises-se-esfuerzan-por-proteger-al-oso-andino/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/regulacion-financiera-margino-a-prestatarios-chicos-desde-2014/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bolivar-pierde-a-su-capitan-arce-para-el-inicio-de-la-copa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/murillo-apoyar-a-damnificados-en-tiquipaya-va-mas-alla-de-lo-politico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ministro-de-defensa-inspecciona-rios-en-beni-para-tomar-previsiones-ante-posibles-inundaciones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/anez-instruye-reubicar-a-damnificados-de-tiquipaya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cinco-sentencias-para-sujetos-acusados-por-delitos-sexuales-en-sucre/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-3-meses-no-se-destruyo-nada-solo-se-visibilizo-lo-que-evoespueblo-hizo-loco-despilfa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/terminales-de-la-paz-se-cerraran-por-challa-lunes-de-minasa-y-martes-la-departamental/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mas-de-80-personas-son-atendidas-por-el-sedes-en-tiquipaya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/colorido-corso-infantil-derrocha-alegria-en-cochabamba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ministro-de-gobierno-resalta-la-labor-de-resistencia-juvenil-cochala-en-tiquipaya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-el-senado-inician-investigacion-sobre-la-contratacion-de-seguros-para-boa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/con-nuestra-inhabilitacion-al-senado-la-transparencia-del-tsebolivia-esta-en-duda-por-es/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/abc-suspende-circulacion-de-vehiculos-a-santa-cruz-por-nuevos-deslizamientos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/percy-fernandez-podria-tener-dificultades-para-caminar-a-raiz-de-golpe-que-sufrio-en-la-cadera-tras-su-caida/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-que-andan-los-candidatos-en-twitter/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/un-pais-y-cuatro-momentos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/carretera-nueva-entre-cochabamba-y-santa-cruz-esta-cerrada-al-trafico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/una-caida-deja-a-percy-fernandez-en-cama-y-sin-poder-saltar-con-los-tauras/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cuatro-equipos-para-tratar-cancer-estan-sin-uso-en-el-centro-nuclear-de-el-alto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/un-amor-prohibido-sevilla-y-las-trenzas-mas-famosas-de-hollywood-asi-es-la-vida-de-bo-derek-la-mujer-perfecta/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/loteadores-deforestacion-y-falta-de-manejo-detonantes-del-desastre/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/123-personas-reciben-atencion-medica-en-tiquipaya-tras-el-paso-de-la-mazamorra-y-el-desborde-de-un-rio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-papa-francisco-afirmo-que-le-dan-miedo-los-discursos-de-los-lideres-populistas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/claudialampe-tambien-estoy-en-esta-comparsa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/carnavaleros-portan-mensajes-de-no-violencia-en-los-corsos-de-sucre/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-ranking-de-los-ejercitos-mas-poderosos-del-mundo-y-que-lugar-ocupan-los-de-america-latina/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/condena-de-20-anos-de-carcel-por-violacion-a-una-joven/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-reina-le-dio-vida-a-un-corso-desinflado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/italia-cancelo-el-carnaval-de-venecia-por-el-temor-al-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/xi-jinping-admite-que-el-coronavirus-es-la-mayor-emergencia-sanitaria-en-china-desde-1949/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/los-secretos-del-carnaval-de-barranquilla-el-rival-mas-importante-de-rio-de-janeiro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/siete-muertos-en-turquia-por-un-terremoto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/iran-acusa-a-la-prensa-extranjera-de-usar-el-virus-para-disuadir-a-los-electores/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/festejando-el-cumpleanos-de-mi-querida-violeta-pensando-en-el-deseo-que-pedira-antes-de-s/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/the-fifth-risk-la-serie-que-preparan-los-obama-sobre-el-gobierno-de-donald-trump/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/peru-tormentas-causan-graves-danos-en-region-fronteriza-con-chile/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ascienden-a-88-las-personas-asesinadas-en-el-estado-brasileno-de-ceara-donde-la-policia-esta-amotinada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/italia-prohibe-acceso-y-salida-en-11-ciudades-por-covid-19/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/jubilados-gobierno-ofrecio-aumento-de-pensiones-de-1-79-equivalente-a-3-panes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/majestuoso-mas-de-35-mil-bailarines-le-dieron-vida-al-carnaval/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/que-lejos-estoy/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/candidatos-no-generan-sentimientos-muy-favorables/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/real-scz-pierde-y-toca-fondo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/leve-caida-del-nivel-de-confianza-en-el-gobierno-y-tse-goza-de-gran-respaldo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-clasico-paceno-un-carnaval-de-goles/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-61-cree-que-el-tse-puede-organizar-elecciones-limpias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/le-sugiero-a-rodriguez-veltze-que-sea-claro-y-honesto-en-sus-declaraciones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/arce-lidera-intencion-de-voto-con-el-32-mesa-y-anez-pugnan-por-el-segundo-lugar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/eduardo-rodriguez-veltze-la-causa-no-esta-perdida-por-la-objetividad-de-la-evidencia-cientifica/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/%c2%93el-museo-de-orinoca-es-un-elefante-blanco-vamos-a-cambiar-su-funcion%c2%94/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/desde-el-exterior-evo-llamo-a-la-%c2%93guerra-%c2%94-al-menos-3-veces/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alferdez-viola-convenciones-al-permitir-que-refugiado-evo-morales-llame-a-militares-pa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mesa-o-anez-ganarian-a-arce-en-un-balotaje/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/portadas-de-periodicos-de-bolivia-del-domingo-23-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/lodo-afecta-a-800-familias-y-riesgo-de-otra-riada-persiste-en-tiquipaya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/horoscopo-del-domingo-23-de-febrero-predicciones-de-josie-diez-canseco-para-hoy-segun-tu-signo-zodiacal/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/se-anticipa-el-voto-util/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/carnaval-con-libertadorgulloso-de-nuestras-tradiciones-estamos-compartiendo-con-nuestr/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/envian-a-prision-al-exministro-cesar-cocarico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-hospital-german-busch-de-trinidad-ya-tiene-su-nueva-ambulancia-y-equipos-para-atender-m/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hoy-estuve-con-evoespueblo-el-mejor-presidente-de-la-historia-de-bolivia-el-supo-conqui/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/jairbolsonaro-busca-convencer-a-elonmusk-de-montar-una-fabrica-de-autos-electricos-tesla-2/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/argentina-acepta-la-revision-del-fmi-y-avanzan-en-un-nuevo-acuerdo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-motivo-que-llevo-a-demi-lovato-a-una-sobredosis/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ordenan-liberacion-del-magistrado-eguez-denunciado-por-manipulacion-de-resultados-electorales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/arduo-rescate-de-mascotas-en-tiquipaya-piden-ayuda/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alejandra-guzman-se-lucio-en-bikini-tras-problemas-de-salud/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/carnaval-de-oruro-deslumbra-con-musica-y-danza/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ministerio-de-hidrocarburos-y-ypfb-activan-protocolos-de-emergencia-en-tiquipaya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/jairbolsonaro-to-discuss-tesla-plant-with-elonmusk-i-suggest-we-add-to-this-initiative-t/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/presidenta-anez-anuncia-obras-millonarias-para-guayaramerin/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ninguna-exageracion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/entel-asumira-el-costo-de-llamadas-moviles-en-perimetro-al-desastre-de-tiquipaya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cyberflashing-por-que-hombres-mandan-fotos-sexuales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/murio-el-creador-del-muneco-de-lego/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sentencia-de-20-anos-de-prision-por-intentar-matar-a-su-expareja/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ortiz-las-amenazas-de-morales-reflejan-su-actitud-contra-la-transicion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/jairbolsonaro-will-discuss-tesla-plant-in-brazil-with-elonmusk-i-suggest-we-should-add-t/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/quillacollo-y-tiquipaya-suspenden-actividades-carvanaleras-cochabamba-lo-analiza/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/asambleista-gustavo-torrico-fue-internado-por-un-problema-cardiaco/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/musicos-independientes-con-familias-numerosas-y-cerveza-propia-los-hermanos-hanson-hoy-a-23-anos-del-hit-mmmbop/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ivan-duque-confirmo-la-detencion-de-uno-de-los-narcotraficantes-mas-temidos-de-colombia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/erdogan-anuncia-cumbre-sobre-siria-con-rusia-francia-y-alemania/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-confesion-de-lisa-marie-presley-sobre-su-relacion-con-michael-jackson-me-meti-en-todo-esto-y-te-voy-a-salvar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mas-de-50-personas-fueron-asesinadas-en-dos-dias-en-el-estado-brasileno-de-ceara-donde-la-policia-esta-amotinada-2/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/colombia-magisterio-protesta-contra-asesinatos-de-docentes-y-lideres-sociales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tres-cumpleaneros-un-festejo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/por-que-necesitamos-de-la-politica/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/espectacular-clasico-paceno-este-21f-ritmo-intenso-juego-abierto-muchos-goles-y-emocion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/felicidades-al-municipio-productor-de-porongo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/jairbolsonaro-busca-convencer-a-elonmusk-de-montar-una-fabrica-de-autos-electricos-tesla/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-vida-de-emma-coronel-despues-del-chapo-guzman-vive-en-mexico-y-esta-soltera/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/encontrandonos-nuevamente-indefensos-ante-esta-catastrofe-nos-solidarizamos-con-las-famil/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/pablo-fernandez-confiesa-que-quisiera-llegar-a-ser-presidente-del-comite-pro-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/juez-envia-a-cinco-policias-del-daci-a-detencion-preventiva-por-corrupcion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/operativos-rescatan-a-42-personas-de-la-mazamorra-en-tiquipaya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/anez-visita-tiquipaya-recibe-reclamos-y-activan-operativos-de-rescate/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fallece-el-alcalde-del-municipio-de-postrervalle/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/un-hombre-de-89-anos-se-graduo-en-electronica-industrial/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobernadora-a-pobladores-de-tiquipaya-dejen-sus-cosas-la-vida-es-mas-importante/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mi-solidaridad-con-las-familias-damnificadas-por-el-desborde-del-rio-y-mazamorra-en-tiquip/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/puse-a-disposicion-todos-los-recursos-del-gobierno-nacional-para-acompanar-y-contener-a-la/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dan-30-anos-de-carcel-al-autor-de-un-feminicidio-en-ivirgarzama/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mesa-expresa-su-solidaridad-con-los-afectados-de-los-desbordes-de-rios/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ligan-a-un-policia-acusado-de-extorsion-al-caso-eurochronos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-paz-13-municipios-se-declaran-en-desastre-y-hay-un-pueblo-incomunicado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/piden-ayuda-para-familias-afectadas-por-la-mazamorra-en-tiquipaya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/eeuu-confirma-34-casos-de-coronavirus-y-se-prepara-para-una-posible-pandemia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sismo-de-38-grados-sacude-la-provincia-ichilo-no-se-reportan-danos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobernador-costas-advierte-que-los-casos-de-dengue-pueden-aumentar-a-60-000/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/estamos-enviando-maquinarias-atencion-medica-y-abrigo-para-atender-esta-primera-instancia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mi-solidaridad-con-tiquipaya-y-mi-preocupacion-por-lo-que-ocurre-en-el-tipnis-y-en-munic/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-cantante-milton-cortez-palpita-el-carnaval-de-oruro-desde-el-palco-oficial/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/piden-investigar-a-exdirectores-de-la-felcn-y-dgac-por-el-caso-narcojet/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/anez-llega-a-tiquipaya-y-recorre-zonas-afectadas-por-el-deslave-del-tunari/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tuto-quiroga-critica-a-insulza-por-su-respaldo-a-evo-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/portadas-de-periodicos-de-bolivia-del-sabado-22-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/evo-ve-de-lejos-el-carnaval-de-oruro-y-recuerda-cuando-el-era-trompetista/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/chileno-insulza-avalo-como-oea-tercer-mandato-de-evo-el-2013-que-violaba-constitucion-de/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/corea-del-sur-duplica-el-numero-de-contagiados-con-coronavirus-y-ya-superan-los-340/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/anez-anuncia-un-decreto-para-declarar-el-21-de-febrero-como-dia-del-ciudadano/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-vivo-brasil-vibra-al-ritmo-del-samba-en-su-carnaval/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/inolvidable-velada-que-compartimos-en-el-corso-de-montero-agradecido-con-la-invitacion-y/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mas-de-50-personas-fueron-asesinadas-en-dos-dias-en-el-estado-brasileno-de-ceara-donde-la-policia-esta-amotinada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/conade-ve-que-inhabilitacion-de-morales-es-justa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/evo-morales-fue-candidato-en-comicios-durante-31-anos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alerta-la-mazamorra-sigue-bajando-en-tiquipaya-y-piden-evacuar-la-zona/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hospitales-y-centros-de-24-horas-atenderan-a-personas-con-dengue-en-el-feriado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-vivo-disfrute-del-carnaval-de-oruro-patrimonio-cultural-de-la-humanidad/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sicario-mata-a-balazos-a-un-hombre-en-la-puerta-de-su-casa-policia-busca-pistas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/he-acompanado-el-carnaval-de-oruro-desde-mi-epoca-de-trompetista-extrano-poder-visitar-mi/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/corrupcion-viceministra-de-educacion-va-presa-y-dos-exejecutivos-del-ministerio-de-comunicacion-son-liberados/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/conferencia-de-prensa-en-la-paz-21-febrero-sobre-inhabilitacion-de-evo-morales-quien-al/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-ruta-a-el-sillar-esta-expedita-pero-hay-7-tramos-cerrados/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/vias-aledanas-al-cambodromo-estaran-cerradas-a-los-vehiculos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tres-sectores-en-emergencia-por-aumento-de-precio-de-harina-de-soya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/evo-va-a-la-cidh-y-el-mas-amenaza-con-procesar-al-tse/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/leyes-nombra-a-tres-secretarios-y-deja-en-suspenso-9-designaciones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/jueces-dejan-libre-a-eguez-luego-de-cerrar-caso-de-fraude-electoral/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mazamorra-se-come-casas-y-causa-terror-en-tiquipaya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/desastre-en-cochabamba-tiquipaya-en-emergencia-por-mazamorra/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/afirman-que-mazamorra-arrastro-a-una-mujer-en-tiquipaya-temen-desaparicion-de-un-menor/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/que-imagenes-un-dia-duro-para-el-agro-cruceno-miles-de-hectareas-de-soya-bajo-el-agua/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gracias-a-todos-y-todas-los-que-nos-recibieron-con-carino-en-el-mercado-de-villa-fatima-e/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/un-muerto-por-el-coronavirus-en-italia-donde-casi-50-000-personas-de-10-pueblos-permanecen-aisladas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nueva-amenaza-de-evo-morales-contra-la-democracia-boliviana-mostrando-una-vez-mas-su-perma/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ordenan-liberacion-del-magistrado-carlos-alberto-eguez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/diputado-barral-dice-que-la-inhabilitacion-de-la-candidatura-de-evo-morales-generara-crisis-en-el-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cuatro-anos-despues-nuestro-compromiso-con-la-democracia-es-mas-fuerte-que-nunca-boliv/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/comites-llaman-a-unidad-y-vigilia-al-proceso-eleccionario/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/instituciones-iniciaran-acciones-legales-contra-el-extranjero-que-se-desnudo-en-la-plaza-de-tarija/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/conade-asegura-que-inhabilitacion-de-evo-morales-es-justa-porque-es-una-persona-que-pone-en-vilo-la-democracia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-un-emocionante-superclasico-bolivar-se-lleva-la-victoria/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/primera-reunion-de-directorio-de-bolivia-tv-revela-estados-financieros-negativos-del-canal-estatal-durante-la-gestion-de-evo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/estudiante-pierde-la-vida-en-represa-de-villa-charcas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/se-posterga-el-corso-folclorico-por-los-fuertes-vientos-y-la-lluvia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/anez-anuncia-decreto-para-declarar-el-21-de-febrero-como-dia-del-ciudadano/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/google-celebra-con-un-doodle-el-aniversario-del-nacimiento-de-roberto-gomez-bolanos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/video-titulares-de-noticias-de-tv-bolivia-noche-del-viernes-21-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/capturado-en-colombia-un-poderoso-narco-acusado-de-varios-asesinatos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/emergencia-en-tiquipaya-por-la-llegada-de-mas-mazamorra-que-afecta-varias-viviendas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-gobierno-veta-a-dos-miembros-de-la-mision-de-la-cidh-que-indagara-sobre-la-violencia-postelectoral/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ajuste-de-cuentas-la-principal-hipotesis-en-el-caso-del-hombre-que-fue-baleado-en-la-puerta-de-su-casa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/rechazamos-la-decision-asumida-por-el-tribunal-supremo-electoral-boliviano-de-inhabilitar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/camacho-dice-que-quieren-afectar-la-campana-de-creemos-con-el-proceso-contra-su-esposa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/esto-es-lo-que-causa-el-bullying-la-conmovedora-historia-de-quaden-un-nino-que-ya-no-quiere-vivir-a-causa-del-acoso/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/exviceministra-de-educacion-es-enviada-a-la-carcel-de-obrajes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/controlan-los-camarotes-tarimas-y-graderias-en-el-cambodromo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/agencia-estatal-de-vivienda-evidencia-50-casas-afectadas-por-inundaciones-en-tres-departamentos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/accidente-en-tarija-deja-un-muerto-y-mas-de-20-heridos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/carnaval-de-colores-para-un-carnaval-politico-electoral/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/china-probara-en-abril-una-vacuna-contra-el-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tras-4-anos-arce-cita-a-evo-y-admite-error-por-no-escuchar-el-voto-del-pueblo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/huawei-nova-5t-un-telefono-juvenil-para-atesorar-los-colores-del-carnaval/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/las-siete-vidas-de-joaquin-sabina/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/de-las-milicias-armadas-a-los-militares-patriotas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/galaxy-s20-un-nuevo-nivel-de-experiencia-con-alianzas-impactantes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/doria-medina-evo-muestra-su-verdadero-rostro-autoritario-y-golpista/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/evo-morales-no-cree-en-la-democracia-solo-la-usa-y-cuando-esta-no-lo-favorece-como-ahor/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fiscales-de-21-paises-de-iberoamerica-se-comprometen-luchar-contra-la-trata-de-personas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tras-amenaza-de-evo-pedraza-asegura-que-estaba-acostumbrado-a-manipular-la-ley/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alianza-juntos-mas-que-una-amenaza-es-otra-bravuconada-de-evo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tse-aprueba-papeleta-de-sufragio-para-los-comicios-de-mayo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/investigan-titulacion-irregular-de-tierras-en-pailon/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/unas-200-mil-hectareas-fueron-destruidas-por-las-langostas-en-machareti/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cao-propone-un-convenio-con-el-gobierno-para-combatir-el-abigeato-y-robo-de-agroquimicos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/presuntos-feminicidas-de-fatima-ya-estan-en-la-carcel-podrian-alcanzar-una-pena-de-hasta-140-anos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dictan-detencion-preventiva-para-exejecutiva-de-entel/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/paraguay-un-video-revelo-como-escaparon-76-presos-de-una-carcel-con-complicidad-de-los-guardias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hoy-recordamos-el-dia-que-marco-un-antes-y-un-despues-en-nuestra-historia-una-larga-noche/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-unicef-dara-reconocimiento-a-una-joven-boliviana-que-impulsa-la-ciencia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/juan-l-cariaga-in-memoriam/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/civicos-insisten-en-la-necesidad-de-la-unidad-con-miras-a-las-elecciones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-terror-del-narco-sicarios-del-cartel-del-golfo-exhibieron-el-asesinato-de-un-hombre-en-tamaulipas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-amenaza-de-evo-tras-su-inhabilitacion-si-no-me-puedo-candidatear-sepan-que-en-bolivia-tengo-contacto-con-militares-patriotas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/uruguay-interpol-detiene-a-pareja-de-futuro-ministro-por-caso-odebrecht/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/guaido-llama-a-marchar-hacia-el-parlamento-venezolano-el-10-de-marzo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-mas-dice-que-la-inhabilitacion-de-evo-no-afectara-la-campana-en-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fiscales-y-forenses-seran-movilizados-durante-los-dias-de-carnaval/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/militantes-de-sol-bo-se-desmarcan-y-deciden-apoyar-a-carlos-mesa-en-cochabamba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/secretos-del-senador-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/declararemos-al-21-de-febrero-como-el-dia-del-ciudadano-en-honor-a-todos-los-bolivianos-m/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/abogado-pide-aprehension-de-la-esposa-de-fernando-camacho/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/una-chilena-contrajo-coronavirus-en-el-buque-aislado-en-japon/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/presidente-civico-ratifica-que-la-reunion-con-candidatos-sera-el-3-de-abril/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/presidenta-anez-pide-conservar-la-lucha-por-la-democracia-y-libertad-a-cuatro-anos-del-21f/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/detencion-preventiva-por-presunto-traslado-de-cocaina-hacia-bermejo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/otra-ilegalidad-del-tse-hasta-este-momento-no-hemos-recibido-la-notificacion-oficial-de-m/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/21-f-dia-que-se-encendio-la-mecha-de-la-libertad-y-acabo-con-la-tirania/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/murillo-tras-aprehension-de-cocarico-no-digan-que-es-persecucion-politica-por-amor-de-dios/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/jose-maria-leyes-posesiona-a-nuevos-secretarios-municipales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/testigo-relata-como-fue-el-tiroteo-en-el-que-murio-lorgio-saucedo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/21fdiadelaprimeravictoria-es-apenas-el-inicio-de-una-nuevabolivia-y-el-proximo-3-de-mayo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/unidad-de-riesgo-confirma-que-hay-cinco-disipadores-danados-por-el-desborde/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tse-ingresa-a-la-etapa-de-demandas-por-inhabilitacion-de-candidatos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sigamos-con-la-fuerza-de-nuestra-conviccion-democratica-y-ese-amor-por-bolivia21fbo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/diplomacia-europea-anuncia-que-la-ue-observara-eleccion-presidencial-en-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mas-sobre-la-visita-de-cortesia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mujer-revela-presion-para-que-denigre-a-la-periodista-asesinada-h-huaycho/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tiroteo-con-fallecido-en-inmediaciones-de-3er-anillo-y-canal-isuto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dgac-tendra-nuevo-sistema-para-registro-de-aeronaves/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-mas-dice-que-la-campana-continua-y-aun-no-piensa-en-reemplazar-a-evo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/evo-morales-esta-refugiado-en-argentina-y-no-vive-en-cochabamba-bolivia-en-aplicacion-al/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-todo-el-pais-se-realizan-actos-por-un-21f-en-libertad-y-democracia-fue-la-unidad-que-h/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nuestra-historia-registrara-el-21f-como-la-reafirmacion-de-la-voluntad-del-pueblo-de-vivi/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/israel-confirmo-el-primer-caso-de-coronavirus-es-un-pasajero-del-crucero-diamond-princess-que-habia-sido-evacuado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-21f-la-unidad-de-los-bolivianos-demostro-su-conviccion-por-la-democracia-inicio-un-pr/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-boliviano-suma-a-un-abogado-frances-para-la-defensa-del-silala-y-evalua-a-juristas-contratados-por-evo-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/expresidente-morales-apelara-a-la-inhabilitacion-de-su-candidatura/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/una-boliviana-fue-asesinada-en-brasil-y-se-sospecha-del-novio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/santa-cruz-reportan-otra-muerte-sospechosa-por-dengue/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/vladimir-putin-promete-cheques-bebe-le-pagara-hasta-us-9-300-a-quienes-tengan-hijos-para-combatir-la-baja-tasa-de-natalidad/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/transmision-en-vivo-de-la-conferencia-de-prensa-desde-buenos-aires-argentina/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/aprehenden-al-exministro-cesar-cocarico-por-caso-inra/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/searpi-se-encuentra-en-alerta-las-lluvias-se-registran-hasta-el-mes-de-mayo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/imputaron-en-espana-a-raul-gorrin-presidente-de-la-cadena-venezolana-globovision/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/arce-inhabilitaciones-de-evo-y-pary-evidencia-que-no-hay-garantias-para-elecciones-libres-y-justas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/una-exfuncionaria-del-inra-se-adjudico-tierras-fiscales-en-pailon/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bartolinas-rechazan-a-paco-como-vocera-del-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/por-que-el-coronavirus-mata-mas-a-los-hombres-que-a-las-mujeres/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/premio-lo-nuestro-2020-j-balvin-el-potrillo-y-john-travolta-se-robaron-una-noche-llena-de-presentaciones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-dengue-y-sarampion-se-cobran-las-dos-primeras-muertes-en-argentina/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alemania-aumentara-la-presencia-policial-en-todo-el-pais/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/estados-unidos-y-los-talibanes-anuncian-que-firmaran-un-acuerdo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fraude-electoral-se-perfila-como-juicio-de-privilegio-para-evo-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/horoscopo-del-viernes-21-de-febrero-predicciones-de-josie-diez-canseco-para-hoy-segun-tu-signo-zodiacal/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/crecen-las-protestas-por-suspension-de-elecciones-en-republica-dominicana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/paraguay-expresidente-de-camara-de-diputados-a-prision-preventiva-por-corrupcion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/evo-cumple-100-dias-en-el-exilio-entre-viajes-citas-politicas-y-lluvia-de-tuits/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-mas-presentara-a-su-binomio-y-todos-sus-candidatos-este-viernes-en-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/coronavirus-se-duplican-casos-en-corea-del-sur-por-contagio-en-secta/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hace-4-anos-un-21-de-febrero-como-hoy-comenzo-el-proceso-de-liberacion-de-nuestra-democr/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-el-mas-admiten-error-por-desconocer-el-voto-culpan-a-los-asesores-no-a-evo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/portadas-de-periodicos-de-bolivia-del-viernes-21-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/torre-de-control-alerto-a-la-dgac-y-a-aasana-cuando-el-narcojet-iniciaba-su-vuelo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/narcojet-jefe-de-dgac-lidero-carga-de-droga-y-combustible/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/implican-a-exjefe-antidroga-y-3-policias-mas-en-el-narcojet/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/caso-narcojet-piden-ampliar-investigacion-contra-expiloto-de-evo-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ministro-de-hidrocarburos-anuncia-la-revision-de-exorbitantes-salarios-en-ypfb/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hoy-21f-recordamos-que-boliviadijono-a-evo-morales-hace-4-anos-evo-reconocio-que-si-per/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/los-6-hitos-que-marcaron-la-historia-de-bolivia-a-partir-del-21-f/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-huella-del-21-f-marco-el-camino-para-el-cambio-de-la-politica-boliviana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/lluvias-azotan-a-67-municipios-dejan-dos-muertos-mas-y-10-727-familias-afectadas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/seis-equipos-bolivianos-quedan-eliminados-de-la-libertadores-y-la-sudamericana-en-primera-ronda/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/always-ready-gana-pero-queda-fuera-de-la-copa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-presidenta-anez-fue-invitada-por-la-alcaldesa-soledad-chapeton-a-participar-de-los-acto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tenemos-una-nueva-bolivia-con-instituciones-solidas-que-cumplen-la-ley-y-hacen-justicia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ministra-de-comunicacion-afirma-que-la-corrupcion-fue-la-marca-de-los-14-anos-de-gobierno-de-evo-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-de-anez-es-afectado-por-al-menos-cuatro-casos-de-corrupcion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/%e2%81%a6evoespueblo%e2%81%a9-recuerda-que-violaste-art-168-de-constitucion-y-el-21f-para-intentar-rob/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/emiten-orden-de-aprehension-en-contra-del-exministro-cocarico-por-caso-inra/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bolivia-despide-a-un-gran-economista-juan-cariaga-autor-de-la-estabilidad-de-nuestro-pai/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/correcta-decision-del-tsebolivia-en-respeto-a-la-constitucion-y-aplicando-la-ley-para-evi/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cinco-policias-del-daci-son-aprehendidos-por-extorsionar-a-brasilenos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/procurador-explica-al-secretario-general-de-la-oea-postura-sesgada-de-la-cidh-en-casos-de-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/pantoja-dice-que-es-victima-de-acoso-en-rrss-por-caso-entel-no-se-que-delito-cometi/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/camacho-tras-la-inhabilitacion-de-evo-la-amenaza-sigue/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/elecciones-luis-arce-sigue-en-carrera-tras-inhabilitacion-de-evo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nuevo-golpe-contra-la-democracia-constitucional-en-bolivia-proscriben-irracionalmente-la/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/me-extrana-que-nadie-haya-alzado-la-mano-varios-ahi-han-llamado-para-dar-informacion-par/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/evo-morales-dice-que-su-inhabilitacion-es-un-golpe-a-la-democracia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/todos-los-bolivianos-tienen-derecho-a-ser-candidatos-siempre-y-cuando-hubiesen-cumplido-l/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-tsebolivia-aplico-correctamente-la-ley-y-la-cpe-al-inhabilitar-a-quienes-no-cumplieron/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mesa-celebra-decision-del-tse-evo-debe-entender-que-ya-no-puede-usar-la-ley-segun-su-interes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hoy-mas-que-nunca-esta-vigente-el-llamado-a-la-unidad-que-hicimos-en-los-ultimos-dias-no/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/policia-aprehende-a-5-policias-acusados-de-extorsionar-a-4-ciudadanos-brasilenos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-secreto-de-paulina-rubio-para-estar-estupenda-a-los-48/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/inhabilitan-a-evo-pary-cossio-y-barrientos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mas-de-10-700-familias-afectadas-por-las-lluvias-en-el-pais/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/enmanillado-asi-fue-conducido-magistrado-del-tribunal-supremo-de-justicia-carlos-alberto-eguez-a-dependencias-de-la-felcc/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/narco-laboratorios-flotantes-la-nueva-estrategia-de-los-carteles-para-evitar-perdidas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/allanan-oficinas-del-ministerio-de-educacion-tras-denuncias-de-cobros-irregulares/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/video-titulares-de-noticias-de-tv-bolivia-noche-del-jueves-20-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/san-ignacio-de-velasco-en-nuestros-corazones-tuvozalpoder/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/aprehenden-a-viceministra-de-educacion-alternativa-por-supuesta-venta-de-cargos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/unos-500-chinos-duenos-de-tiendas-en-argentina-no-pueden-retornar-de-asia-por-el-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/funcionarios-denuncian-masacre-blanca-luego-del-retorno-de-leyes-a-la-alcaldia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/desgarrador-testimonio-sobre-el-abuso-y-asesinato-de-la-nina-fatima-en-mexico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alcaldia-crucena-busca-dialogo-con-el-gobierno-para-la-implementacion-del-bol-110/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/caen-dos-altos-mandos-del-ministerio-de-comunicacion-acusados-de-pedir-coimas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-fiscalia-abre-proceso-penal-contra-el-exalcalde-ivan-arcienega-en-sucre/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fmi-avala-que-deuda-argentina-no-es-sostenible-y-pasa-presion-a-privados/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-comite-pro-santa-cruz-conmemorara-el-21f-con-un-acto-y-marcha-hasta-la-catedral/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/murillo-informo-que-habria-un-profugo-por-el-caso-narcojet/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-afirma-que-en-la-gestion-del-mas-hubo-un-despilfarro-de-us-340-000-millones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-conade-anuncia-marchas-y-concentracion-por-el-21f/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/aprehenden-a-magistrado-eguez-por-el-caso-de-presunto-fraude-en-elecciones-judiciales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-carnaval-mueve-al-menos-bs-205-millones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/huawei-nova-5t-capta-las-mejores-fotografias-con-inteligencia-artificial/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/estamos-recorriendo-los-hospitales-de-las-zonas-afectadas-por-el-dengue-para-asegurarnos-q/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/entrenador-de-futbol-obligaba-y-filmaba-a-sus-alumnos-teniendo-sexo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/abe-y-entel-brindaran-servicio-para-transmision-rapida-de-datos-en-las-elecciones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/todo-el-esfuerzo-que-hicimos-no-fue-para-que-el-narcotrafico-gane-mas-terreno-en-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/presidenta-anez-asigna-items-y-participa-de-reuniones-para-organizar-acciones-contra-el-dengue/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cada-vez-somos-mas-alergicos-y-estas-son-las-razones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/primer-muerto-en-corea-del-sur-por-el-nuevo-coronavirus-y-decenas-de-contagios-en-una-secta/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/diputado-del-mas-este-21f-no-hay-nada-que-festejar-activistas-deben-pedir-perdon-a-dios/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/echeverria-cuando-hay-dinero-pueden-hacer-de-palmasola-un-hotel-de-tres-estrellas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-calvario-fisico-y-animico-de-shaila-durcal/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/persecucion-policial-de-pelicula-acaba-con-tres-extranjeros-detenidos-en-cochabamba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bolivia-tv-transmitira-el-carnaval-de-oruro-santa-cruz-tarija-y-la-paz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/una-miss-en-tiempos-feministas-madre-empresaria-y-de-35-anos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/para-no-saturar-ninguna-institucion-estamos-reforzando-los-centros-de-salud-de-las-redes-e/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/activan-alerta-roja-por-riadas-en-dos-departamentos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/aplaudimos-la-decision-de-jeanineanez-de-enfocarse-en-la-lucha-contra-el-dengue-durante-e/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/se-reporta-un-muerto-y-emergencias-en-4-departamentos-por-las-lluvias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/grupo-de-lima-busca-en-ottawa-apoyo-para-nuevas-elecciones-en-venezuela/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/izan-llunas-y-la-vida-despues-de-luis-miguel-tareas-por-internet-y-mudanza-lejos-de-su-familia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/roger-stone-colaborador-de-trump-condenado-a-3-anos-y-4-meses-en-prision/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/asi-estan-las-carreteras-del-pais-en-una-jornada-lluviosa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/periodista-aporta-videos-en-caso-lorgia-fuentes-y-denuncia-amenazas-de-muerte/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sentencia-de-15-anos-de-prision-a-sujeto-por-delitos-de-narcotrafico-en-el-beni/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/a-dos-anos-del-aluvion-vuelve-el-miedo-a-familias-de-tiquipaya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/video-titulares-de-noticias-de-tv-bolivia-mediodia-del-jueves-20-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/les-comparto-este-articulo-en-el-que-su-autor-me-considera-como-una-opcion-para-lograr-la/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/las-escabrosas-revelaciones-de-la-autopsia-de-michael-jackson/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/67-municipios-de-ocho-departamentos-afectados-por-fenomenos-naturales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/corrupcion-precintan-el-viceministerio-de-educacion-alternativa-por-denuncias-de-cobros/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/con-un-caluroso-abrazo-por-delante-conversamos-con-nuestros-hermanos-de-puerto-suarez-el/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/denuncia-de-cobro-compromete-al-ministerio-de-culturas-yujra-dice-que-no-permitira-corrupcion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hoy-sostuve-una-reunion-con-hermanos-cooperativistas-y-asalariados-mineros-de-lapaz-para/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/samuel-doria-medina-todos-tenemos-que-aportar-nuestro-grano-de-arena-para-contener-la-epidemia-del-dengue/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/premios-lo-nuestro-2020-donde-y-como-ver-la-esperada-gala/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/envian-a-la-carcel-de-san-pedro-al-exgerente-de-finanzas-de-entel/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/construccion-de-ciudadania-y-elecciones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-carnaval-que-viene/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/monasterio-investigacion-de-caso-narcojet-debe-ampliarse-a-ex-director-de-la-dgac-celier-aparicio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hechos-de-corrupcion-en-la-gestion-del-mas-causaron-despilfarro-de-us-340-000-millones-coimbra/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/caen-dos-altos-funcionarios-acusados-de-pedir-coima-a-medios-a-cambio-de-publicidad-del-gobierno/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-impulsara-bolsas-de-trabajo-y-subsidiara-el-salario-del-trabajador-entre-3-a-6-meses/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sosa-dice-que-militantes-de-spt-tienen-la-libertad-de-apoyar-a-quien-les-inspire-confianza/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/entregue-un-lote-de-medicamentos-adecuados-para-el-dengue-a-fin-de-aliviar-en-algo-las-ne/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dia-internacional-del-gato-por-que-se-celebra-el-20-de-febrero/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gran-fiesta-de-tradicion-carnavalera/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/isabel-ii-prohibe-a-enrique-de-inglaterra-y-meghan-markle-usar-la-marca-sussex-royal/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/detencion-preventiva-para-dos-personas-por-presunto-asesinato-en-tarija/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mikaela-la-hija-de-steven-spielberg-actriz-porno-y-estriper-con-el-apoyo-de-su-padre/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/argentina-miles-de-mujeres-reclaman-la-legalizacion-del-aborto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/viceministro-confirma-incremento-del-presupuesto-para-el-sector-salud/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/directiva-de-fegasacruz-plantea-leyes-que-sigan-compromisos-de-ganaderos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/merkel-tras-tiroteo-en-hanau-el-racismo-es-veneno/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/queman-pertenencias-de-personas-en-situacion-de-calle-del-cordon-ecologico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/guatemala-pedira-a-ee-uu-extradicion-de-thelma-aldana-por-corrupcion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/soruco-considera-que-se-debe-priorizar-la-inversion-en-sistema-de-seguridad/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tiroteos-en-alemania-autoridades-parten-de-trasfondo-xenofobo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/los-nuevos-codigos-secretos-de-netflix-para-ver-contenido-oculto-en-el-catalogo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ricardo-montaner-y-la-decision-de-su-hija-de-llegar-virgen-al-matrimonio-mas-que-conmigo-su-pacto-es-con-dios/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/murio-larry-tesler-el-inventor-de-la-funcion-cortar-copiar-pegar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mesa-afirma-que-la-unidad-tiene-que-construirse-con-candidatos-con-opciones-presidenciales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-policia-allana-la-casa-del-tio-de-juan-guaido-arrestado-en-venezuela-por-el-regimen-de-nicolas-maduro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-irreconocible-aspecto-de-yasmine-bleeth-de-guardianes-de-la-bahia-17-anos-despues-de-dejar-hollywood/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ataque-xenofobo-en-alemania-el-terrorista-mato-a-10-personas-entre-ellas-a-su-madre/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/una-mujer-y-su-hijo-de-seis-anos-asesinados-en-virginia-un-dia-de-san-valentin-sangriento-con-una-sospecha-devastadora/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-mensaje-para-todos-los-estadounidenses-que-dejo-grabado-el-terrorista-de-alemania/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tribunal-supremo-electoral-de-bolivia-garantiza-el-debido-proceso/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/rebalse-del-rio-ichilo-anega-viviendas-y-amenaza-a-30-comunidades/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/caso-quintana-amplian-proceso-contra-comercializador-de-oro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ministro-arias-anuncia-inicio-de-operaciones-aereas-a-lima-para-conectar-bolivia-con-el-mundo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-el-diamundialdelajusticiasocial-ratificamos-lo-dicho-ante-la-onu-en-varias-oportunida/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-boliviano-en-alerta-maxima-por-la-expansion-del-dengue/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mazamorra-causa-estragos-tras-desborde-del-rio-taquina-en-tiquipaya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/carnaval-tendra-2-millones-de-condones-gratis-y-se-prohibe-despilfarro-de-agua/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dircabi-mas-del-50-de-los-bienes-incautados-estan-en-mal-estado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/acusan-a-la-cidh-de-tener-doble-estandar-para-medida-cautelar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bolivia-participara-con-11-nadadores-en-la-copa-uana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/portadas-de-periodicos-de-bolivia-del-jueves-20-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/horoscopo-del-jueves-20-de-febrero-predicciones-de-josie-diez-canseco/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/binomios-abiertos-a-dialogar-pero-cada-uno-se-ve-como-mejor-opcion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-droga-del-narcojet-fue-cargada-en-el-aeropuerto-de-guayaramerin/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/activistas-de-bolivia-preparan-actos-por-los-cuatro-anos-del-21-f/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hidrocarburos-advierte-un-ano-complicado-para-el-gas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/declinan-megacampos-y-etanol-no-ampliara-frontera-agricola/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-66-rechaza-la-habilitacion-de-morales-como-candidato/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/solo-el-tse-se-hara-cargo-del-sistema-trep-y-del-computo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cierran-de-forma-temporal-el-tramo-santa-cruz-cochabamba-por-deslizamientos-en-el-sillar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ministerio-de-culturas-destituyo-a-funcionario-por-supuestos-cobros-irregulares/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/denuncian-a-ministra-de-culturas-por-presuntos-cobros-irregulares/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/entel-lanza-promocion-de-el-mega-dia-por-el-21-f/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/resolucion-prohibe-el-ingreso-de-ninos-a-carceles-que-no-tengan-espacios-seguros/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/que-lindo-momento-pasamos-con-nuestra-gente-de-quillacollo-en-la-inauguracion-del-centro-d/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mi-hermano-el-diputado-juanrequesens-esta-aislado-incomunicado-y-con-prohibicion-de-vis/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-paz-trataran-ley-contra-la-violencia-simbolica-en-concursos-de-belleza-y-otros-eventos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-boliviano-a-espana-no-se-permitira-fuerzas-extranjeras-con-rostros-encapuchados/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alejandro-saavedra-principal-acusado-del-caso-la-manada-salio-de-palmasola/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ver-video-aprehenden-a-2-funcionarios-del-ministerio-de-comunicacion-acusados-de/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/al-menos-ocho-muertos-en-un-ataque-contra-dos-bares-en-alemania/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/concejales-y-alcalde-de-potosi-quedan-aislados-en-huari-huari-central/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/paises-de-la-can-eliminan-costos-de-roaming-internacional/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bolivia-retoma-la-presidencia-pro-tempore-de-la-can/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ortiz-tse-no-puede-permitir-que-evo-morales-tenga-privilegios-por-encima-de-la-constitucion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/carlos-palenque-anuncia-que-sera-candidato-a-diputado-por-la-alianza-de-tuto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/exsubgerente-de-recursos-humanos-de-entel-esta-aprehendida-en-la-felcc-de-la-paz-fijan-audiencia-cautelar-para-este-jueves/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/con-mucha-alegria-entregamos-en-cochabamba-distintos-equipamientos-medicos-para-que-los-ce/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bolivia-y-brasil-coordinan-para-que-presos-del-pcc-cumplan-su-pena-en-carceles-de-su-pais/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/video-titulares-de-noticias-de-tv-bolivia-noche-del-miercoles-19-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/estar-junto-a-quienes-mas-nos-necesitan/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/diputados-exigen-a-anez-instruir-a-sus-ministros-a-asistir-a-interpelaciones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/aprehendidos-en-beni-por-el-caso-narcojet-son-trasladados-a-santa-cruz-en-un-super-puma/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/presidenta-suspende-sus-actividades-de-carnaval-para-priorizar-atencion-del-dengue/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/incendio-en-el-hospital-de-ninos-seria-por-un-cortocircuito/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-viernes-habra-horario-continuo-el-lunes-y-martes-es-feriado-nacional-por-carnaval/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/civicos-de-seis-departamentos-confirman-asistencia-a-reunion-nacional/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hacinamiento-por-casos-de-dengue-en-el-hospital-de-minero/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/investigan-la-muerte-de-un-vaquero-en-la-belgica/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ex-subjefe-de-recursos-humanos-de-entel-colaborar-con-la-investigacion-del-caso-entel/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/procuraduria-reclama-a-la-cidh-por-su-trato-sesgado-que-perjudica-a-cossio-reyes-villa-y-otros/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/caso-nancy-villarroel-alejandro-torrico-asegura-que-no-mato-a-su-esposa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gambarte-y-arispe-se-disputan-la-alcaldia-y-provocan-lio-en-camiri/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/desde-el-primer-dia-la-salud-de-las-familias-bolivianas-fue-prioridad-para-nuestro-gobiern/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tras-la-reprimenda-de-la-reina-isabel-ii-meghan-markle-y-harry-ya-tienen-fecha-de-salida-de-la-corona/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/comite-civico-cruceno-ve-como-una-utopia-formar-un-frente-unico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/crearan-alta-escuela-de-bomberos-en-san-ignacio-de-velasco/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/evoespueblo-garcia-linera-y-otros-deberan-responder-a-nuestra-demanda-penal-por-el-gi/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mesa-advierte-que-el-pais-no-permitira-que-los-autores-del-fraude-queden-impunes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/imputan-a-exgerente-de-finanzas-de-entel-y-piden-activar-sello-azul-para-elio-montes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/autonomias-y-el-sector-de-agua-y-saneamiento/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-el-mas-descartan-movilizaciones-si-inhabilitan-a-evo-y-pary/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/monsenor-juarez-llama-a-la-unidad-y-no-dispersar-el-voto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ypfb-invertira-mas-en-exploracion-para-superar-la-falacia-del-mar-de-gas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-asesinato-en-manada-de-un-joven-estremece-a-argentina/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/publican-imagenes-ineditas-de-como-le-rapan-el-bigote-al-chapo-guzman-en-la-carcel/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-senado-de-bolivia-distingue-a-chavo-salvatierra-por-su-trayectoria-deportiva/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/carlos-valverde-asegura-que-el-tse-decidio-inhabilitar-a-evo-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/deltax-una-aplicacion-que-facilitara-el-transporte-de-carga-en-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ortiz-camacho-debe-explicar-que-significa-la-candidatura-en-blanco/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-anula-12-asentamientos-en-la-chiquitania-por-irregularidades/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/senasag-realiza-en-pando-capacitacion-para-prevenir-rabia-bovina/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/anez-promete-agua-para-el-sur-y-solucion-al-alcantarillado-a-quillacollo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/arbitros-piden-una-nivelacion-de-jueces-de-la-copa-simon-bolivar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/despues-de-34-anos-de-lucha-por-el-10-de-presupuesto-para-la-salud-boliviana-demostramos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/a-tres-meses-de-la-masacre-de-senkata-denunciamos-nuevamente-que-en-bolivia-no-hay-deten/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/periodista-andres-gomez-analiza-la-percepcion-negativa-del-electorado-hacia-los-candidatos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/municipio-cruceno-espera-aprobacion-de-la-ley-del-10-para-salud/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-guerra-sucia-afecto-la-imagen-de-mesa-segun-pedraza/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/carnaval-transito-movilizara-3-800-agentes-para-limitar-la-velocidad-en-carreteras/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nace-latamleaks-para-combatir-la-corrupcion-en-america-latina/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-fiscalia-inicia-proceso-penal-contra-evo-por-fraude-electoral/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/anez-anuncia-que-recursos-generados-por-elfec-seran-invertidos-en-beneficio-de-cochabamba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/buscan-que-el-aeropuerto-de-cochabamba-tenga-categoria-internacional/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/portugal-no-reculara-pese-a-la-suspension-a-tap-en-venezuela/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fiscal-general-resultado-de-la-pericia-del-audio-morales-yucra-se-conocera-el-viernes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/abogados-de-evo-advierten-con-acciones-internacionales-si-lo-inhabilitan/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/video-titulares-de-noticias-de-tv-bolivia-mediodia-del-miercoles-19-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mre_bolivia-debe-adherirse-a-demanda-que-gestionamos-con-colombia-para-demostrar-como/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/garciasayanprevaricador-de-naciones-unidas-ex-juez-de-la-cidh-que-ataco-la-democracia-bo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/lamentable-demora-del-tsebolivia-en-emitir-dictamen-sobre-un-tema-simple-evo-no-puede-po/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hoy-presente-la-impugnacion-a-la-candidatura-de-evo-morales-como-anuncie-dias-atras-el/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/con-protesta-en-el-ted-de-santa-cruz-piden-la-inhabilitacion-de-evo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/lanchipa-se-acoge-al-silencio-en-su-declaracion-dentro-del-juicio-de-responsabilidades/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cae-quinteto-que-mato-a-un-sujeto-a-punaladas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/emacruz-ejecuta-plan-de-limpieza-por-los-dias-de-carnaval/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-iniciativa-tuvotocuenta-levantara-14-400-encuestas-en-todo-bolivia-de-cara-a-las-elecciones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cae-un-falso-arquitecto-que-estafo-mas-de-medio-millon-de-dolares-en-la-paz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/proxeneta-ofrecia-menores-por-las-redes-sociales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ben-affleck-comence-a-beber-mas-y-mas-cuando-mi-matrimonio-se-estaba-desmoronando/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/narcojet-5-detenidos-y-dos-avionetas-secuestradas-por-la-felcn-en-guayaramerin/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/policia-confirma-fuga-de-dos-reos-de-cantumarca/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/juntos-no-conoce-la-convocatoria-para-una-reunion-con-candidatos-en-el-comite-civico-cruceno/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/brasil-estudia-construir-una-planta-hidroelectrica-junto-con-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/iran-retiene-caja-negra-de-avion-ucraniano-derribado-esta-gravemente-danada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/retoman-plan-del-mas-para-dar-us-17-millones-de-las-rin-a-aerolinea-estatal-boa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/de-las-encuestas-y-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fiscalia-imputa-a-exgerente-financiero-de-entel-a-la-espera-de-cautelares/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ministro-de-gobierno-le-pide-a-la-policia-no-defraudar-a-jeanine-anez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/san-jose-y-guabira-jugaran-el-viernes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/wilstermann-directorio-brinda-su-confianza-al-dt-diaz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobernacion-crucena-lanza-campana-para-prevenir-el-abuso-sexual-en-los-dias-de-carnaval/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/recapturan-a-recluso-que-fugo-de-palmasola/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/caricaturas-de-bolivia-del-miercoles-19-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/soria-busca-su-tercer-triunfo-en-clasicos-como-dt-del-tigre/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-tse-afirma-que-continua-en-analisis-la-candidatura-de-evo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/centroamerica-se-prepara-ante-la-llegada-de-una-sequia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/siria-primer-vuelo-civil-en-ocho-anos-aterriza-en-alepo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-vivo-tse-aclara-que-no-ha-tomado-decision-sobre-inhabilitacion-de-ningun-candidato-presidencial/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/79-nuevos-casos-de-coronavirus-y-caos-a-bordo-de-crucero-en-japon/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/elecciones-2020-asi-queda-la-papeleta-de-sufragio-despues-del-sorteo-de-franjas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-tse-inhabilita-la-candidatura-de-evo-p7informa-bolivia-nacional/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-vivo-elecciones-2020-sorteo-de-franjas-en-papeleta-electoral/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hay-una-billetera-en-el-sueloque-hace-ud/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/policia-sera-presentado-ante-un-juez-por-el-caso-bombas-molotov/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/son-necesarias-y-utiles-las-encuestas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tse-candidatos-habilitados-e-inhabilitados-de-pueblos-indigena-originario-campesinos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-reto-de-vivas-en-el-superclasico-285/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/piden-congreso-%c2%93urgente%c2%94-por-caso-especial-de-destroyers/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/inhabilitan-la-candidatura-de-evo-morales-segun-el-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/oriente-espera-a-vasco-con-armada-chilena/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/comprometidos-con-la-salud-te-recomedamos-diversion-sin-exceso-y-con-responsabilidad/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/senamhi-declara-alerta-naranja-en-7-departamentos-de-bolivia-y-pronostica-lluvias-hasta-el-sabado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nacional-potosi-cayo-en-los-penales-y-quedo-eliminado-de-la-sudamericana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/denuncia-sobre-coimas-en-la-upre-enfrenta-a-yerko-nunez-con-jerjes-justiniano/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/encuesta-nacional-cual-es-el-candidato-que-consideran-menos-confiable/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/salud-propondra-un-paro-departamental-en-santa-cruz-para-frenar-epidemia-del-dengue/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/portadas-de-periodicos-de-bolivia-del-miercoles-19-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/que-significa-para-juntos-el-anuncio-de-camacho-de-poner-en-blanco-su-candidatura/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/vehiculo-en-llamas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/horoscopo-del-miercoles-19-de-febrero-predicciones-de-josie-diez-canseco/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-software-ruso-de-bs-6-millones-de-ende-espiaba-hasta-whatsapp/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/evo-cumple-gasto-bs-3-630-mm-en-canchas-y-807-mm-en-salud/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/con-229-fpv-es-el-que-mas-inhabilitados-tiene-y-cc-es-el-frente-que-menos-registra/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/informe-revela-que-la-policia-debia-cuidar-solo-a-gente-del-mas-durante-el-conflicto-en-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/narcojet-con-droga-hizo-una-escala-tecnica-en-la-pista-de-guayaramerin/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sube-la-mora-un-15-financieras-plantean-flexibilizar-las-normas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/campana-busca-prevenir-casos-de-vih-en-carnaval/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-gobierno-advierte-que-santa-cruz-esta-a-punto-de-perder-el-bol-110/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-nacional-y-alcaldia-de-el-alto-coordinan-proyectos-de-desarrollo-despues-de-14-anos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/presidente-fernandez-a-arce-si-yo-fuese-boliviano-votaria-por-ti/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-vivo-premio-forbes-ads-a-las-mejores-publicidades-de-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tenemos-muchas-coincidencias-con-el-presidente-alferdez-la-docencia-universitaria-en-la-e/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/pacto-de-organizaciones-pide-que-mesa-anez-y-camacho-se-unan/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-oruro-realizan-simulacro-para-prevenir-el-coronavirus-ante-la-llegada-de-turistas-por-carnaval/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/legisladoras-bolivianas-afirman-que-publicacion-de-el-pais-sobre-encapuchados-espanoles-es-falacia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/espana-colaboro-con-asilados-de-la-embajada-mexicana-antes-del-incidente/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/upre-revelan-que-el-gobierno-de-evo-erogo-2-mil-millones-de-dolares-en-obras-por-prebenda-politica-entre-2011-y-2019/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/militar-acusado-por-el-feminicidio-de-zulmah-vargas-se-beneficia-con-detencion-domiciliaria/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/candidata-a-una-diputacion-renuncia-a-su-postulacion-dice-que-es-el-momento-de-la-unidad/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/arrestan-a-funcionarios-del-aeropuerto-de-guayaramerin-vinculados-al-narcojet/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/arce-regala-wiphala-y-su-libro-a-alberto-fernandez-en-su-visita-a-la-casa-rosada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ministro-arias-instruye-auditoria-a-todas-las-entidades-de-obras-publicas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/suspenden-la-coronacion-de-la-reina-de-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/aduana-alista-perdonazo-para-recuperar-millonaria-deuda-heredada-de-gestiones-pasadas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/chi-ofrece-a-camacho-candidatura-a-plurinominal-en-chuquisaca/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-exgerente-de-finanzas-de-entel-llego-a-la-paz-para-prestar-su-declaracion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/salud-reporta-un-caso-de-malaria-en-pando-y-toma-medidas-de-prevencion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/doria-medina-ofrecimiento-de-camacho-seria-una-gran-contribucion-para-evitar-la-dispersion-del-voto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-y-alcaldia-de-el-alto-coordinan-proyectos-de-desarrollo-despues-de-14-anos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-perseverancia-da-resultados-entregamos-opinion-consultiva-contra-reelecion-a-ivanduqu/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/civicos-se-desmarcan-de-elio-montes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/video-titulares-de-noticias-de-tv-bolivia-noche-del-martes-18-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/justiniano-asegura-que-si-la-propuesta-de-camacho-no-tiene-eco-el-seguira-con-su-candidatura/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/chantaje-a-los-medios-que-usan-google-adsense/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/viejo-y-tacano-las-duras-declaraciones-de-meital-dohan-al-anunciar-su-separacion-de-al-pacino/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/chi-le-pide-a-camacho-renunciar-a-su-candidatura/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/justiniano-anez-igual-que-morales-no-quiere-ahora-dejar-el-poder/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/asesinaron-a-amie-harwick-famosa-terapeuta-sexual-de-hollywood-y-ex-novia-de-drew-carey/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/se-esperan-tormentas-electricas-y-un-frente-frio-en-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/abc-reporta-tres-tramos-cerrados-en-la-paz-santa-cruz-y-tarija/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/caso-encapuchados-investigacion-de-espana-niega-plan-de-fuga/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/balde-de-agua-fria-a-las-comadres-en-sucre-policias-de-civiles-controlaran-a-los-strippers/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/un-militar-muere-y-otros-dos-resultaron-heridos-tras-un-accidente-de-transito-en-uyuni/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nos-reunimos-con-victimas-de-la-calancha-para-conversar-sobre-estos-anos-en-los-que-todavi/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/candidatura-en-blanco/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/policia-busca-al-exsubjefe-de-recursos-humanos-de-entel/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/adriana-salvatierra-no-me-arrepiento-de-haber-renunciado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/15-anos-de-prision-para-sujeto-que-agredio-sexualmente-a-su-amiga/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-tse-confirma-a-jasmine-barrientos-como-candidata-a-vicepresidencia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-mas-duda-que-partidos-logren-un-frente-unico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cordano-fue-borrado-para-el-partido-ante-emelec/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bomberos-sofocan-un-incendio-en-el-hospital-de-ninos-de-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/boliviano-llevaba-cocaina-oculta-en-el-armazon-de-su-equipaje/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tu-voto-cuenta-anuncia-dos-encuestas-y-conteo-rapido-el-dia-de-elecciones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/comite-pro-santa-cruz-pide-incautar-el-patrimonio-de-evo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/multitud-de-hinchas-de-cruzeiro-reciben-a-martins/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ponce-tenemos-la-obligacion-de-ganar-y-de-hacer-un-buen-partido/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/rosatom-niega-que-el-esposo-de-lorgia-fuentes-sea-trabajador-de-la-empresa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nuevo-microsoft-office-para-android-excel-word-y-powerpoint-en-una-sola-app/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/diputado-barral-aplaude-iniciativa-de-luis-fernando-camacho/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-upre-niega-que-se-pida-dinero-o-favores-a-empresas-constructoras/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alegan-inocencia-de-humorista-cacho-mendieta-en-caso-abuso-sexual-apelaran-sentencia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/diputada-maria-calcina-con-jhon-arandia-una-extraordinaria-mujer-lucho-y-lo-sigue-hacien/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/opinologo-les-dice-a-los-politicos-que-a-la-nueva-generacion-se-los-convence-con-argumentos-no-con-un-slogan-bonito/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/piden-que-se-declare-feriado-el-21f-sin-suspension-de-actividades/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cainco-renueva-directorio-incorporando-a-tres-empresarias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/teresa-camacho-la-cientifica-que-hallo-a-la-rana-julieta-gana-un-premio-internacional/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/camacho-pide-a-anez-que-le-demuestre-que-impuso-a-montes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-mas-se-declara-en-emergencia-por-candidaturas-de-evo-y-arce/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/corte-idh-abre-fase-de-observaciones-sobre-la-reeleccion-presidencia-indefinida/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/chrome-podria-permitirnos-guardar-cada-contrsena-individualmente-en-local-o-de-forma-sincronizada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/anez-llegara-a-quillacollo-para-entregar-80-items-y-dos-centros-de-salud/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/escandalo-por-un-video-viral-en-el-que-una-mujer-acosa-a-un-policia-en-el-carnaval-de-barranquilla/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/padre-mateo-pide-celeridad-para-la-aprobacion-de-proyecto-de-ley-de-10-para-salud/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/espana-acusa-a-bolivia-de-hostigamiento-por-el-incidente-con-encapuchados-en-la-embajada-mexicana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gustavo-pedraza-la-gente-no-quiere-viejos-lideres-quiere-unidad/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cayo-el-pablo-escobar-de-la-heroina-estaba-comprando-tickets-para-un-partido-de-futbol/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/concejo-municipal-decidira-sobre-la-suspension-de-jose-maria-leyes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/rusia-suspende-ingreso-de-ciudadanos-chinos-ante-la-amenaza-del-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/entel-equias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ratifican-prohibicion-de-striptease-en-las-fiestas-de-jueves-de-comadres/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tres-secretarios-de-la-gobernacion-de-chuquisaca-presentan-sus-renuncias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/experta-dice-que-se-necesita-tener-olfato-politico-para-hacer-redes-sociales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-gente-se-canso-del-abuso-del-poder-por-eso-ahora-hay-que-impulsar-con-firmeza-una-boli/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ine-preve-que-censo-de-poblacion-y-vivienda-2022-costara-us-57-millones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/que-es-la-manosfera-y-como-esta-evolucionando/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hermanas-son-violadas-por-su-padre-y-su-abuelo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/informe-revela-que-la-policia-debia-resguardar-a-afines-al-mas-en-los-conflictos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/video-titulares-de-noticias-de-tv-bolivia-mediodia-del-martes-18-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gracias-a-programas-mananeros-de-tarija-por-oportunidad-de-explicar-nuestra-propuesta-c/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/producir-sin-destruir-el-medio-ambiente/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-comite-civico-no-descarta-que-se-adelante-la-reunion-por-la-unidad/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tres-tramos-cerrados-en-bolivia-a-causa-de-las-lluvias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/intentan-eliminar-a-nuestros-candidatos-advierte-el-mas-y-se-declara-en-emergencia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bancada-del-mas-presenta-interpelacion-contra-canciller-longaric-por-el-caso-silala/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bolivia-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ha-sido-sancionada-la-petrolera-rusa-rosneft-trading-s-a-por-ser-complice-de-la-dictadura/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/resistencia-juvenil-cochala-se-aleja-de-creemos-y-da-su-apoyo-a-anez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hablamos-con-jhon-arandia-de-como-hare-las-empresas-publicas-maquinas-de-hacer-dinero-para/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/victimas-de-trata-y-trafico-se-enfrentan-a-deficiente-atencion-y-proteccion-estatal/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/encuentran-a-un-hombre-sin-vida-de-un-hombre-en-un-alojamiento-en-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/10-000-cientificos-de-datos-para-solucionar-los-problemas-de-africa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/no-podemos-permitir-que-evo-vuelva-al-poderla-democracia-que-recupero-el-pueblo-esta-en/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/camacho-pone-su-candidatura-en-blanco-y-pide-reunion-de-candidatos-para-buscar-unidad/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/apicultores-levantan-bloqueos-y-firman-acuerdo-con-el-gobierno/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/google-no-continuara-con-su-proyecto-de-wifi-gratuito/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/marcelo-stelzer-exgerente-de-finanzas-de-entel-queda-aprehendido-y-disponen-su-traslado-a-la-paz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gustavo-pedraza-es-optimista-pese-a-encuestas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/secuestran-y-liberan-a-una-mujer-en-el-alto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-karma-siempre-pone-a-todos-en-su-lugar-la-respuesta-del-ceo-de-badabun-a-dos-meses-del-escandalo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nina-de-10-anos-murio-atropellada-por-un-vehiculo-conducido-por-un-menor-de-13/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/padre-sirio-ensena-a-su-hija-a-reirse-en-medio-de-un-bombardeo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-unos-minutos-estare-en-am-para-conversar-con-jhon-arandia-de-radio-fides-tv-sobre-la-co/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/un-proyecto-k-impulsado-por-leales-a-cristina-busca-limitar-al-periodismo-en-causas-por-corrupcion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/boy-scouts-se-declara-en-quiebra-para-atender-demandas-por-abuso-sexual-en-eeuu/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/avioneta-cae-por-la-zona-de-guarayos-y-sus-ocupantes-desaparecen/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/senador-chambi-dice-que-se-busca-forzar-la-inhabilitacion-de-luis-arce/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/asperger-el-sindrome-de-los-genios-famosos-que-superaron-las-dificultades-y-se-consagraron/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/abuchean-al-ministro-lopez-durante-un-acto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/camacho-dijo-clarito-que-podria-bajar-su-candidatura-en-pro-del-pais-jerjes-justiniano/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/panama-rechaza-estar-nuevamente-en-las-listas-de-paraisos-fiscales-de-la-union-europea/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/banco-hsbc-recortara-35-000-empleos-en-el-mundo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/quiero-que-me-den-otra-oportunidad-la-justicia-restaurativa-un-paso-alternativo-del-sistema-penal/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-respeto-a-las-garantias-constitucionales-es-esencial-para-el-restablecimiento-de-la-dem/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tq-en-vivo-television-universitaria-tarija-18-febrero/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/pese-a-la-catastrofe-humanitaria-el-dictador-bashar-al-assad-celebra-y-pronostica-un-triunfo-total-del-ejercito-sirio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/pochi-esta-casi-recuperado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alcaldia-crucena-aun-no-firma-contrato-de-concesion-de-primera-ruta-del-brt/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/monasterio-pide-investigar-al-cunado-de-dora-vallejos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sanguinetti-jugara-infiltrado-el-duelo-por-los-casi-us-400-mil/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/morales-arce-pary-cossio-y-barrientos-tienen-demandas-de-inhabilitacion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mas-de-2-500-hectareas-de-maiz-consumidas-por-la-plaga-de-langostas-en-machareti/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/rechazan-intento-de-cerrar-caso-mochilas-contra-alcalde-de-cochabamba-jose-maria-leyes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-tigre-busca-extender-racha-de-tres-empates-y-dos-triunfos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/carnaval-autoridades-recuerdan-que-esta-prohibido-el-consumo-de-alcohol-en-instituciones-publicas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dellien-fue-eliminado-del-atp-500-de-rio-de-janeiro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dgac-exdirector-y-7-funcionarios-son-ligados-a-la-clonacion-de-matriculas-de-avionetas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gonzalo-lazo-asume-como-comandante-de-la-policia-de-chuquisaca/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/vitamina-sanchez-arma-el-rompecabezas-para-enfrentar-a-vasco/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/chuquisaca-tiene-dos-comites-civicos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gustavo-torrico-continua-en-celdas-judiciales-por-falta-de-escolta-policial/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/candidata-anuncia-un-juicio-a-red-de-television/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/inspeccion-para-tiro-con-arco/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/corto-circuito-entre-cordano-y-la-dirigencia-de-blooming/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/robles-reforzara-el-portico-de-aurora-ante-lesion-de-arancibia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fbf-evaluara-estadios-de-quilla-y-sacaba-el-26/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nacional-visita-a-melgar-en-arequipa-por-el-milagro-en-la-sudamericana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/exgerente-de-administracion-y-finanzas-de-entel-marcelo-stelzer-se-presento-ante-la-felcc/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-ypfb-transporte-un-chofer-gana-bs-17-mil-y-un-gerente-52-mil/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-terrorismo-sigue/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/toaso-revela-que-se-torturo-antes-de-matar-en-el-hotel-las-americas-y-espera-fallo-de-la-cidh-en-su-demanda-contra-evo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/portadas-de-periodicos-de-bolivia-del-martes-18-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/pierden-porque-no-se-ponen-de-acuerdo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/horoscopo-del-martes-18-de-febrero-predicciones-de-josie-diez-canseco/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-mas-se-apunta-con-la-mayoria-y-puede-definir-desde-la-asamblea/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tras-la-encuesta-nadie-se-rinde-nadie-se-une-y-nadie-se-baja-de-la-carrera/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/camacho-dice-estamos-a-un-paso-de-que-evo-vuelva-a-bolivia-y-llama-a-tomar-acciones-urgentes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tq-en-red-uno-tarija-18-feb-programa-el-mananero/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/conozca-las-listas-de-candidatos-habilitados-e-inhabilitados-por-el-tse/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/arce-evo-y-pary-en-lista-de-espera-el-tse-inhabilita-a-797-candidatos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tse-analiza-13-demandas-de-inhabilidad-de-esas-11-corresponden-al-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/si-seguimos-asi-evo-vuelvederrotamos-al-mas-pero-estamos-a-un-paso-de-que-evo-vuelva-a-b/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/policia-choca-a-un-vehiculo-estacionado-y-al-intentar-fugar-atropella-a-una-joven-en-caranavi/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tse-la-candidatura-de-evo-a-senador-debe-pasar-un-nuevo-filtro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/congreso-de-trabajadores-de-la-prensa-expulsa-a-hector-aguilar-y-a-su-directiva/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/denuncian-que-empresa-en-la-que-trabaja-el-esposo-de-lorgia-fuentes-se-beneficio-con-un-contrato-de-us-351-millones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/condecoran-a-policias-que-se-amotinaron-contra-evo-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/defensa-del-consumidor-inicia-acciones-y-verificativos-preventivos-por-el-carnaval-de-oruro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tse-aun-analiza-situacion-de-evo-no-hay-fecha-para-dar-a-conocer-resultados/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-dura-respuesta-del-gobernador-gerardo-morales-a-vernaci-por-sus-burlas-a-jujuy/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/conductora-argentina-elizabeth-vernaci-jujuy-es-bolivia-chicos-alguien-lo-tiene-que-decir/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/crisis-en-codeinca-dos-dirigentes-se-arrogan-la-presidencia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/antes-de-media-noche-tarija/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/chi-asegura-que-jeanine-anez-no-tiene-plan-de-gobierno/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-hombre-que-mato-a-su-esposa-en-el-plan-3-000-pasara-30-anos-preso-en-palmasola/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hombre-perdio-un-ojo-por-un-machetazo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/vecinos-matan-a-una-anaconda-de-ocho-metros-en-riberalta/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/pedraza-afirma-que-la-candidatura-de-anez-contamino-el-proceso-electoral/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tse-afirma-que-el-60-de-los-candidatos-observados-han-sido-inhabilitados/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nunez-anuncia-que-se-detectaron-irregularidades-en-proyectos-upre/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ministro-nunez-afirma-que-se-hara-todo-para-extraditar-a-elio-montes-y-recuperar-el-dinero-de-entel/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-tse-confirma-que-esta-noche-de-conocera-la-lista-de-candidatos-inhabilitados/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/aurora-pierde-con-la-minima-diferencia-ante-royal-pari/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/reclusos-del-bloque-c-de-el-abra-otra-vez-protagonizan-una-protesta/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-acuerda-pausa-de-30-dias-para-resolver-observaciones-de-tranvia-metropolitano/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/video-titulares-de-noticias-de-tv-bolivia-noche-del-lunes-17-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/china-se-despide-de-martins-y-cruzeiro-lo-presentara-manana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-gobierno-esta-dispuesto-a-otorgarle-el-dni-argentino-a-evo-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/lorgia-fuentes-fue-enviada-al-penal-de-obrajes-por-seis-meses/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-bolivia-ya-no-hay-espacio-para-la-corrupcion-estamos-construyendo-un-pais-transparente/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gracias-a-vecinos-periodistas-empresarios-juntas-de-vecinos-y-sectores-de-tarija-por-c/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/evo-morales-se-reune-luis-arce-en-argentina/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/albanil-cae-del-octavo-piso-de-una-construccion-en-la-calle-manco-kapac-de-la-paz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sugieren-que-partidos-con-baja-intencion-de-voto-declinen-su-candidatura/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cepad-propone-un-plan-estrategico-para-rescatar-la-chiquitania-y-evitar-mas-desastres/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/oficial-iker-casillas-sera-candidato-a-la-presidencia-de-la-real-federacion-espanola-de-futbol/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/meghan-markle-aparecio-junto-al-principe-harry-por-primera-vez-tras-su-renuncia-a-la-corona-britanica/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/murillo-reos-peligrosos-extranjeros-seran-expulsados-de-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dimite-el-asesor-de-boris-johnson-que-cuestiona-la-inteligencia-de-los-negros-y-defiende-la-eugenesia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-alcaldia-anuncia-procesos-penales-en-contra-de-dirigentes-del-transporte/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/majestuosa-coronacion-de-la-reina-del-carnaval-cruceno/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/eurogrupo-espera-efecto-temporal-del-coronavirus-en-economia-europea/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/muchas-gracias-por-el-aporte-que-hoy-recibimos-de-parte-de-la-union-europea-es-un-respald/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/que-le-dieron-el-video-de-diego-maradona-que-genera-polemica-en-las-redes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cinco-juegos-compatibles-con-huawei-gpu-turbo-3-0-que-el-gamer-no-puede-perderse-en-el-nova-5t/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/samuel-a-rodriguez-veltze-mejor-guarde-silencio-tiene-que-rendir-cuentas-al-pueblo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cacho-mendieta-es-condenado-a-12-anos-de-privacion-de-libertad/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/inra-aprueba-cambios-voluntarios-de-pequenas-a-medianas-o-empresarial-propiedad-de-tierras/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bartolinas-aseguran-que-el-mas-ganara-en-primera-vuelta/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mejor-guarde-silencio-como-se-atreve-a-criticar-si-fue-el-que-estaba-a-cargo-del-tema-t/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-superclasico-se-jugara-el-viernes-desde-las-1800/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/candidato-de-cc-presenta-solicitud-de-inhabilitacion-a-evo-ante-el-tse/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/jeff-bezos-anuncio-que-invertira-us-10-000-millones-para-combatir-el-cambio-climatico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/costa-rica-estacion-de-servicios-para-el-narcotrafico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hombre-que-mato-con-113-punaladas-a-su-novia-esta-a-punto-de-salir-libre-en-argentina/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/trabajadores-de-ypfb-transporte-rechazan-cambios-de-personal/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/estudio-argentino-permite-detectar-el-dengue-en-diez-minutos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/jordan-mientras-cordano-no-firme-no-sera-convocado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/abt-investiga-desmonte-ilegal-en-los-alrededores-de-viru-viru/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fiscales-y-jueces-se-capacitan-en-el-manejo-idoneo-de-tiempos-procesales-en-audiencias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-desarrollo-de-ai-scalenet-la-tecnologia-que-hace-posible-la-transmision-fluida-en-8k/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/vasco-da-gama-llega-con-temor-a-oriente-y-al-dengue/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/comienza-la-lucha-de-ocho-clubes-por-pasar-a-la-fase-de-grupos-de-copa-libertadores/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/destituyen-a-seis-funcionarios-de-dircabi/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/martins-puede-batir-record-y-agrandar-su-historia-en-el-cruzeiro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cuba-incrementa-la-quema-neumaticos-usados-ante-la-falta-de-combustible/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/murillo-presidenta-anez-empato-en-las-encuestas-sin-hacer-campana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/jura-jorge-luis-vacaflor-como-nuevo-viceministro-de-coordinacion-con-movimientos-sociales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cob-definira-propuesta-de-incremento-salarial-despues-de-carnaval/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/esta-manana-recibi-a-miembros-de-la-union-europea-en-palacio-de-gobierno-han-comprometido/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/vocero-de-democratas-considera-que-tse-debe-inhabilitar-a-evo-de-oficio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-buenosaires-con-luchoxbolivia-y-los-hermanas-y-hermanos-dirigentes-del-mas-ipsp-y-de/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-asesinato-y-tortura-de-una-nina-de-siete-anos-dispara-la-ira-en-mexico-por-la-violencia-de-genero/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tuto-quiroga-descarta-retirar-su-candidatura/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/federacion-de-taekwondo-determina-suspender-a-entrenadores-y-titular-de-la-asociacion-de-la-paz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fuerte-granizada-provoca-vuelco-de-un-vehiculo-en-la-autopista-de-la-paz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/compartimos-este-estrategico-objetivo-hemos-avanzado-en-construir-unidad-ganar-en-primer/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/albanil-pierde-la-vida-al-caer-de-una-construccion-en-el-nudo-vita-en-la-paz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-gobernacion-aumentara-70-camas-nuevas-a-tres-hospitales-saturados-por-el-dengue/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/eeuu-monitoreo-el-plan-condor-de-las-dictaduras-de-america-latina-a-traves-de-maquinas-manipuladas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fiscalia-general-del-estado-remite-a-la-paz-denuncia-contra-evo-morales-por-fraude-electoral/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/rodriguez-veltze-califica-de-inoportuno-y-poco-profesional-comunicado-de-la-cancilleria-sobre-el-silala/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/declaran-emergencia-por-plaga-de-langostas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/estan-jugando-con-el-esfuerzo-y-la-voluntad-del-pueblo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/salvatierra-la-encuesta-demuestra-que-el-20-de-octubre-no-hubo-fraude/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/silala-comcipo-anuncia-demanda-contra-evo-morales-david-choquehuanca-y-emerson-calderon-por-traicion-a-la-patria/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/rodriguez-el-mas-cometio-traicion-a-la-patria-en-demanda-internacional-por-el-silala/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/rurrenabaque-y-lima-son-las-nuevas-rutas-de-boa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fiscalia-analizara-si-es-pertinente-convocar-al-exministro-de-justicia-en-caso-fraude-electoral/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/union-europea-enviara-a-bolivia-mision-de-veedores-para-comicios-del-3-de-mayo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/los-13-exfuncionarios-de-entel-ya-devolvieron-sus-finiquitos-segun-el-ministro-arias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/se-registran-22-victimas-de-feminicidio-santa-cruz-tiene-la-mayor-incidencia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-policia-de-transito-se-suma-al-carnaval-con-su-reina/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ministro-de-defensa-participo-del-licenciamiento-de-soldados-y-marineros-del-primer-escalon-2019-en-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-ue-espera-unas-elecciones-transparentes-y-creibles/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fiscal-pide-a-monasterio-brindar-la-informacion-que-tiene-sobre-el-caso-vallejos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/a-revilla-no-le-preocupan-las-encuestas-porque-la-campana-no-empezo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nuevas-generaciones-protagonistas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/agradezco-al-pueblo-de-la-union-europea-su-aporte-para-que-miles-de-bolivianos-puedan-mejo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/exdirigente-campesino-advierte-que-no-permitiran-campana-de-partidos-contrarios-al-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/los-secretos-del-chapare/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/venezuela-suspende-por-90-dias-las-operaciones-de-la-aerolinea-portuguesa-tap/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/entel-fiscalia-ordena-congelar-las-cuentas-de-montes-y-dos-exfuncionarios/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/onu-pide-alto-el-fuego-y-alerta-sobre-horrible-crisis-de-casi-un-millon-de-desplazados-en-siria/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/software-espia-de-ende-servia-para-monitorear-a-mesa-y-evo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/las-encuestas-presentadas-por-distintos-medios-de-comunicacion-demuestran-que-las-fuerza/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/una-actriz-de-volver-al-futuro-y-duro-de-matar-fue-asesinada-en-un-tiroteo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/preven-citar-despues-de-carnaval-a-luis-arce-para-que-declare-en-el-caso-fondo-indigena/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/delitos-sexuales-de-religiosos-un-crimen-sin-castigo-en-mexico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ortiz-nuestra-meta-es-que-anez-gane-en-primera-vuelta/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/evo-pide-liberar-a-guerrillero-de-las-farc-acusado-de-homicidio-en-montero/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/video-titulares-de-noticias-de-tv-bolivia-mediodia-del-lunes-17-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/milton-cortez-el-boliviano-que-triunfa-en-netflix/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/loteamientos-en-viru-viru-parece-que-esa-es-la-tierra-sonada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/residentes-bolivianos-en-iran-y-venezuela-quedaron-fuera-de-las-elecciones-de-mayo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-paz-pacientes-con-cancer-en-emergencia-profesionales-seran-capacitados-en-3-meses/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/muere-un-tercer-recluso-afectado-por-explosion-en-mocovi/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/primera-encuesta-de-ciesmori-bajo-la-mirada-de-carlos-valverde/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/aprehenden-a-taxista-acusado-de-abusar-a-una-menor/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-alegria-de-los-ninos-en-el-corso-infantil-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ue-dona-a-bolivia-27-millones-de-euros-para-la-lucha-antidroga-y-proyectos-de-agua-y-saneamiento/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/eva-copa-el-mas-es-primero-en-la-encuesta-sin-hacer-campana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mas-de-5-mil-musicos-fueron-parte-del-festival-de-bandas-en-oruro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/emiten-orden-de-aprehension-contra-montes-y-tres-exfuncionarios-de-entel/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/los-13-exfuncionarios-de-entel-ya-devolvieron-sus-finiquitos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/1607359/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/delataron-al-chapo-y-redujeron-sus-sentencias-quienes-fueron-los-soplones-alrededor-del-narcotraficante/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/activamos-el-centro-de-operaciones-de-emergencia-departamental/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-maraton-de-tokio-excluyo-a-mas-de-37-000-corredores-aficionados-por-el-coronavirus-solo-podran-participar-atletas-de-elite/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/riada-afecto-al-municipio-de-belen-de-urmiri-en-potosi/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-patada-en-la-cara-que-recibio-zinedine-zidane-en-el-partido-contra-el-celta-que-se-volvio-viral/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/saguapac-provision-de-valvulas-de-hierro-fundido-ductil-para-los-refuerzos-e-interconexiones-de-la-gestion-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/presidenta-del-senado-boliviano-pide-explicaciones-a-excancilleres-longaric-y-agentes-por-el-silala/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/paul-coca-el-votante-en-santa-cruz-puede-cambiar-su-voto-a-ultimo-minuto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/un-sismo-de-magnitud-53-se-registro-en-chile-cerca-de-la-frontera-con-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/los-85-anos-de-chabelo-el-inmortal-de-la-television-que-fue-espiado-por-el-gobierno-mexicano/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/candidatos-comentan-los-resultados-de-la-encuesta-y-agradecen-a-sus-seguidores/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/saguapac-provision-de-caudalimetros-electromagneticos-3/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/con-sobrevuelo-de-alas-de-libertad-arranca-modernizacion-de-estatal-boliviana-boa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tarija-trabajadores-municipales-en-paro-de-72-horas-por-un-laudo-arbitral-rodrigo-paz-los-llama-a-reunion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sujeto-mato-a-su-mujer-utilizando-un-mazo-de-tacu-porque-le-encontro-mensajes-de-whatsapp/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/robo-a-mano-armada-de-papel-higienico-en-hong-kong-por-nuevo-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-bolivia-preven-caida-de-ingresos-del-gas-en-3-meses-a-causa-del-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/yacuiba-amanecio-bloqueada-salud-y-educacion-entre-las-demandas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-declaracion-de-elio-montes-no-figura-en-la-contraloria/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alerta-por-el-dengue-motiva-activacion-del-coed-en-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-calle-ballivian-espera-a-los-carnavaleros/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cocalero-loza-se-reunira-con-el-expresidente-morales-en-argentina/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/detectaron-otros-99-casos-de-coronavirus-en-el-crucero-que-se-encuentra-en-cuarentena-en-japon-el-segundo-foco-mas-grande-despues-de-china/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/caricaturas-de-bolivia-del-lunes-17-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sistema-financiero-de-bolivia-registra-crecimiento-record/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/krystin-salinas-emerge-una-estrella-en-el-raquetbol/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dgac-informe-revela-red-que-clono-matriculas-de-avionetas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/con-la-unidad-y-la-conciencia-del-pueblo-boliviano-derrotaremos-a-la-dictadura-dictadur/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gloria-crucena-el-titulo-se-queda-en-casa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/acabo-el-plazo-de-la-inspeccion-tecnica-vehicular-se-inician-las-batidas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/a-la-luz-de-las-encuestas-jeanine-es-la-unica-candidata-que-puede-ganar-al-mas-en-segunda/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/distribuyen-toneladas-de-ayuda-humanitaria-a-municipios-pacenos-afectados-por-lluvias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/lopez-en-chapare-hay-una-minoria-con-poder-y-entrenamiento-militar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/caso-dora-la-fiscalia-anuncia-grandes-sorpresas-para-esta-semana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-fecha-se-cierra-con-el-duelo-aurora-royal-pari/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/jeanine-anez-es-la-unica-candidata-que-puede-vencer-al-masluego-de-ver-las-encuestas-que/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/lili-la-pintora-que-convirtio-los-botines-de-messi-en-obras-de-arte/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/serginho-%c2%93morimos-por-jugar-la-copa-libertadores%c2%94/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/%c2%93estamos-dolidos-en-santa-cruz-nos-cuesta%c2%94/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/andrade-y-camacho-desempolvan-la-gloria/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cuestion-de-mentalidad/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/longaric-se-uso-al-silala-y-el-mar-para-manipular-al-pueblo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/legislativo-convocara-a-rodriguez-veltze-que-dijo-que-el-caso-silala-esta-concluido-y-agotado-los-alegatos-ante-la-cij/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/portadas-de-periodicos-de-bolivia-del-lunes-17-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/chavez-evo-no-debatio-por-su-poca-experiencia-con-medios/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/horoscopo-del-17-de-febrero-predicciones-de-josie-diez-canseco-para-hoy-segun-tu-signo-zodiacal/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/primera-encuesta-electoral-en-bolivia-el-partido-de-evo-morales-lidera-la-intencion-de-voto-pero-perderia-en-el-ballotage/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tse-notifica-hoy-sobre-habilitacion-de-candidatos-en-medio-de-presion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fuerzas-politicas-refuerzan-comandos-de-campana-con-asesoramiento-extranjero/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/iglesia-pide-evaluar-programas-electorales-antes-de-emitir-voto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/se-perfila-una-asamblea-mas-diversa-y-segunda-vuelta-electoral/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tendencia-inicial-incentiva-a-conformar-frente-unico-contra-el-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/arce-saca-ventaja-mientras-mesa-y-anez-se-disputan-el-segundo-lugar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/al-iniciar-la-campana-jeanine-disputa-el-segundo-lugar-de-la-preferencia-electoral-junt/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gracias-por-la-confianza-recibida-todo-mi-compromiso-es-poner-a-bolivia-primero/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/analistas-ven-que-el-proximo-gobierno-tendra-que-hacer-acuerdos-en-la-asamblea/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hugo-dellien-le-declara-la-guerra-al-dengue/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/flamengo-gano-su-primera-supercopa-brasilena-tras-golear-a-paranaense/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/juan-guaido-sobre-la-crisis-humanitaria-de-venezuela-como-sea-acabaremos-con-esta-tragedia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/reyes-villa-insiste-en-la-unidad-del-pais-para-enfrentar-al-mas-en-los-comicios-del-3-de-mayo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-voto-joven-asume-el-reto-de-elegir-bien-pero-ve-el-futuro-con-incertidumbre/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-confirma-presencia-militar-y-policial-en-el-chapare-y-los-yungas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/primera-encuesta-2020-las-frases-mas-importantes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/brito-longaric-entrego-armas-al-enemigo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/testigo-acusa-a-expresidente-peruano-humala-de-recibir-millonarios-sobornos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/asamblea-legislativa-prepara-interpelacion-para-ivan-arias-por-el-caso-entel/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/expertos-del-mundo-se-reunen-en-pekin-para-hablar-del-covid-19/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cardozo-salva-al-tigre-en-el-siles-y-vaca-amarga-a-bolivar-en-el-tahuichi/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/anez-ganaria-a-arce-en-una-ajustada-segunda-vuelta/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/a-pocos-dias-de-lanzar-nuestro-binomio-las-encuestas-nos-posicionan-disputando-el-segundo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/primera-encuesta-analizada-por-seleme-santistevan-molina-y-gomez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/jennifer-lopez-presumio-su-increible-cuerpo-en-una-foto-al-natural/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/blooming-festeja-a-todo-pulmon-un-gran-triunfo-ante-bolivar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-mas-acapara-cuatro-regiones-anez-y-mesa-pesan-pero-no-en-el-eje-central/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/camacho-pisa-fuerte-en-santa-cruz-pero-no-le-alcanza/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-mas-supera-el-31-mesa-se-ubica-segundo-lugar-y-anez-le-pisa-los-talones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/justiniano-luis-fernando-camacho-fue-a-eeuu-a-buscar-asesoramiento/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/determinan-detencion-preventiva-para-mujer-ligada-a-carlos-romero/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bolivia-recibira-al-tribunal-internacional-de-derechos-de-la-naturaleza-por-el-ecocidio-en-la-chiquitania/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/decomisaron-en-aruba-una-tonelada-de-oro-venezolano-valuado-en-usd-50-millones-investigan-si-esta-ligado-a-jorge-y-delcy-rodriguez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-humilde-gesto-de-rafael-nadal-en-un-gimnasio-que-se-hizo-viral/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bolivia-perdio-14-rutas-areas-internacionales-y-un-foro-buscara-articular-al-sector/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/obras-publicas-actuo-de-forma-oportuna-en-caso-elio-montes-a-diferencia-del-mas-en-13-anos-de-gobierno/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-negocio-nace-en-peru-y-se-purifica-en-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-tigre-toma-aire-con-un-triunfo-apretado-ante-vinto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/existen-tres-versiones-sobre-la-detencion-de-elio-montes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/evo-se-reunira-con-arce-catacora-y-otros-dirigentes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/senadora-advierte-paralizacion-de-las-investigaciones-del-caso-hurtado-y-valencia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/wilster-pierde-4-1-ante-real-potosi-en-la-villa-imperial/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/integrante-del-pcc-de-brasil-sera-traslado-de-el-abra-a-otro-recinto-carcelar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/oriente-petrolero-golea-1-5-a-real-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ordenan-detencion-preventiva-para-el-imputado-por-el-feminicidio-de-cinthya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/boa-amaszonas-y-ecojet-volaran-a-san-ignacio-de-velasco/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/pinto-se-impone-en-el-primer-clasificatorio-absoluto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/genbu-kai-de-cochabamba-se-impone-en-el-nacional-deportivo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nuevo-balance-del-coronavirus-ya-son-mas-de-1-700-los-muertos-y-70-000-los-contagiados/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/justiniano-dice-que-el-vuelo-donde-aparecen-camacho-y-montes-lo-ordeno-la-presidenta/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/masacre-en-camerun-hombres-armados-asesinaron-a-22-personas-entre-ellas-14-ninos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/medley-de-santa-cruz-triunfa-en-el-nacional-interclubes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/evo-morales-anuncio-que-vuelve-esta-noche-a-la-argentina/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/oscar-montes-niega-relacion-de-su-padre-con-elio-montes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/festival-de-bandas-mas-alla-del-poder-del-rock/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-policia-criminal-que-se-llevo-a-la-tumba-los-secretos-del-submundo-de-rio-de-janeiro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-justicia-baila-al-ritmo-del-poder-politico-de-turno-coinciden-expertos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/escandalo-en-portugal-un-futbolista-abandono-el-campo-de-juego-en-pleno-partido-al-hartarse-de-los-insultos-racistas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/islas-verdes-estudiantes-inician-la-recoleccion-diferenciada-de-basura/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-investiga-a-592-exautoridades-del-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/grupos-de-whatsapp-seguridad-privada-y-vestimenta-discreta-asi-se-protegen-los-habitantes-de-guanajuato-de-la-violencia-del-narco/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/conade-afirma-que-normas-nacionales-e-internacionales-impiden-a-morales-ser-candidato/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/justicia-pone-en-apuros-a-la-alcaldia-de-el-alto-por-restitucion-de-255-puestos-de-venta-de-pescado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tres-personas-fueron-sentenciadas-por-narcotrafico-en-beni/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/como-fueron-las-ultimas-horas-de-caroline-flack-antes-de-quitarse-la-vida/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sentencia-de-25-anos-de-carcel-por-abuso-a-menor/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fiscalia-de-guatemala-allana-casa-de-exministro-de-salud-por-corrupcion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/costa-rica-incauta-el-mayor-cargamento-de-droga-de-su-historia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/detienen-a-una-mujer-por-video-sexual-de-excandidato-de-macron-en-paris/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alerta-roja-en-reino-unido-por-la-tormenta-dennis/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fmi-dice-que-economia-mundial-podria-caer-hasta-02-por-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/las-duras-acusaciones-del-hermano-indigente-de-meghan-markle/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/murio-la-actriz-de-disney-nikita-walingwa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/confusion-y-politica/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/patzi-teme-que-la-habilitacion-de-evo-morales-desate-conflictos-en-el-pais/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-iglesia-pide-evaluar-primero-las-propuestas-de-los-partidos-politicos-antes-de-elegir-el-voto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-alto-activistas-de-2003-preocupados-por-regreso-de-exasesor-de-goni/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fatal-accidente-aereo-deja-seis-muertos-y-un-herido-en-ecuador/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-carnaval-vallegrandino-llena-los-alojamientos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-gobernacion-presenta-nueva-variedad-de-soya-y-destaca-la-liberacion-plena-de-las-exportaciones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-gobierno-exigira-retorno-de-montes-al-pais-juntos-y-creemos-niegan-nexos-con-el/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/juntos-desde-lapaz-iniciamos-nuestro-recorrido-buscando-la-unidad-de-toda-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/se-eleva-a-355-el-numero-de-infectados-con-el-coronavirus-en-el-crucero-en-cuarentena-en-japon/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/evo-asegura-que-el-gobierno-de-anez-ha-paralizado-grandes-obras-que-ya-tenian-financiamiento/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/arrestan-a-la-hija-del-exdirector-de-inteligencia-nacional-de-eeuu-por-apunalar-y-matar-a-un-hombre/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ministro-de-defensa-cualquier-candidato-debe-entrar-a-pie-a-chapare-a-hacer-campana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/han-paralizado-grandes-obras-que-tenian-financiamiento-presupuestado-como-el-centro-de-in/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-gobierno-de-argentina-aprueba-el-aumento-de-jubilaciones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-contagio-por-el-nuevo-coronavirus-disminuye-en-china/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sucre-vive-la-vigesima-version-de-la-entrada-del-carnaval-de-antano/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/5-299-recintos-habilitados-para-las-elecciones-del-3-de-mayo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/expertos-sugieren-crear-un-fondo-municipal-para-mejorar-el-centro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/portadas-de-periodicos-de-bolivia-del-domingo-16-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-gobernacion-coordina-un-plan-interinstitucional-para-hacerle-frente-a-la-epidemia-del-dengue/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-los-14-anos-que-estuvieron-en-el-poder-daban-una-informacion-sobre-la-realidad-de-sus-p/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/blindados-buques-y-mas-de-2-300-000-combatientes-arrancan-en-venezuela-los-ejercicios-militares/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/investigacion-la-explotacion-de-piedra-caliza-pone-en-riesgo-a-obreros-desprotegidos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/horoscopo-del-16-de-febrero-predicciones-de-josie-diez-canseco-para-hoy-segun-tu-signo-zodiacal/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/chile-celebra-que-bolivia-haya-reconocido-la-tesis-chilena-sobre-el-silala/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-misteriosa-desaparicion-de-un-profesor-chino-que-critico-al-presidente-xi-jinping-por-su-manejo-en-la-crisis-del-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/israel-bombardeo-objetivos-del-grupo-terrorista-hamas-tras-el-lanzamiento-de-cohetes-desde-gaza/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/franco-entel-es-una-compania-con-una-economia-sustentable-y-saludable/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/anez-entregara-mas-de-70-000-titulos-agrarios/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/estafa-en-cotas-freno-inversion-y-comprometio-imagen-y-gestion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/reportan-desborde-de-rio-suches-y-seis-comunidades-afectadas-2/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/justiniano-pide-investigar-a-la-upre-por-pedidos-de-coima-a-las-empresas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bolivianos-desarrollan-un-sistema-inteligente-que-detecta-la-fiebre/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-gobierno-descarta-trasladar-o-cerrar-la-planta-de-amoniaco/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/arias-10-de-13-exfuncionarios-de-entel-devolvieron-finiquitos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/felcn-destruye-29-fabricas-de-cocaina-en-bulo-bulo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-6-anos-el-satelite-recupero-solo-el-25-de-su-inversion-y-funciona-al-66/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/campana-electoral-en-busca-de-votos-en-nombre-de-dios/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/creemos-que-los-bolivianos-debemos-terminar-de-consolidar-lo-que-hemos-logrado-con-tanto-a/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/z_matkovic-gracias-a-vos-querido-zvonkito-por-acompanarnos-en-esta-cruzada-como-candidat/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-gral-raul-isaias-baduel-y-el-cnel-oswaldo-garcia-palomo-se-encontraban-injustamente-d/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/exposoya-es-uno-de-los-eventos-productivos-mas-importantes-del-pais-mas-de-14-000-agricul/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/un-reconocido-grupo-de-hackers-se-infiltro-en-las-redes-oficiales-del-barcelona-y-el-coi-y-dejo-un-claro-mensaje/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-gran-dia-de-romy-i/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-ex-director-de-inteligencia-de-la-dictadura-chavista-aseguro-que-la-mayoria-de-los-militares-venezolanos-estan-en-contra-del-regimen-de-nicolas-maduro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/murillo-dora-vallejos-no-es-la-cabecilla-de-la-organizacion-es-un-palo-blanco/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/con-la-llegada-del-pepino-inicio-el-carnaval-en-el-alto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/martins-arreglo-con-el-cruzeiro-por-tres-temporadas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dos-ciclones-bomba-podrian-fusionarse-en-una-de-las-tormentas-mas-fuertes-jamas-vistas-en-el-atlantico-norte/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/escaneo-aduanero-detecta-dos-camiones-con-contrabando-en-huachacalla-oruro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/un-nuevo-escandalo-sexual-sacude-a-la-monarquia-britanica-los-vinculos-del-principe-andres-con-otro-magnate-acusado-de-drogar-y-violar-menores/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/chi-personas-de-colectividad-lgbt-deben-recibir-tratamiento/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-ultimo-emir-activo-de-al-qaeda-en-yemen-ha-caido/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/evacuan-a-un-avion-con-163-pasajeros-despues-de-que-se-incendiara-uno-de-sus-neumaticos-durante-el-aterrizaje-en-alemania/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/san-jose-sorprende-a-always-ready-y-lo-derrota-en-el-alto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/conmocion-en-el-reino-unido-por-la-muerte-de-caroline-flack-presentadora-de-television-y-ex-novia-de-harry-styles/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-anuncia-una-alianza-publico-privada-con-seguridad-juridica-para-mejorar-el-rendimiento-productivo-en-el-pais/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/presidenta-anez-instruye-a-su-gabinete-asumir-medidas-drasticas-contra-la-corrupcion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/uno-de-los-dominios-mas-peligrosos-del-mundo-a-la-venta-por-us-17-millones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/realizaron-caminata-por-el-dia-mundial-del-cancer-infantil/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/lula-da-silva-difundio-un-video-de-su-visita-al-papa-francisco-donde-el-pontifice-dice-estar-contento-de-verlo-caminando-por-la-calle/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/eeuu-condeno-la-detencion-del-tio-de-juan-guaido-en-venezuela-el-arresto-es-un-ejemplo-de-la-desesperacion-de-maduro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/otro-impactante-salto-con-garrocha-de-armand-duplantis-el-rey-de-las-alturas-tardo-solo-una-semana-en-batir-su-propio-record-mundial/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-expresidente-pastrana-dice-que-evo-no-debe-realizar-declaraciones-politicas-en-argentina/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cuenten-con-todo-el-respaldo-institucional-del-gobierno-para-mejorar-el-rendimiento-produc/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/diputado-borda-preocupa-discurso-perdidoso-del-gobierno-en-el-caso-silala/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/steam-ahora-recomienda-los-juegos-que-tienes-y-olvidaste/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-exigencia-del-inter-para-negociar-con-el-barcelona-por-lautaro-martinez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/estamos-felices-porque-juntos-hemos-emprendido-nuestro-camino-hacia-el-destino-de-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/atienden-250-emergencias-por-lluvias-en-una-semana-en-la-paz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/los-medicos-alertan-que-no-hay-una-ruta-critica-para-atender-casos-de-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/las-mejores-presentaciones-del-festival-de-bandas-de-oruro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/murillo-dice-que-detras-de-la-reina-del-norte-hay-politicos-implicados/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/rodriguez-ve-fatal-desgaste-del-gobierno-por-exorbitante-corrupcion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-y-entidades-de-cochabamba-definiran-el-lunes-futuro-del-tranvia-metropolitano/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/destruyen-29-fabricas-de-cocaina-y-aprehenden-a-dos-personas-en-bulo-bulo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ocho-muertos-y-30-heridos-en-accidente-con-hinchas-de-barcelona-sc-de-ecuador/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/pelea-de-mujeres-en-el-mercado-los-pozos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-dano-causado-por-el-exgerente-y-exejecutivos-de-entel-es-tan-grande-que-repararlo-requ/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-oms-advirtio-que-todos-los-paises-deben-prepararse-para-la-llegada-del-coronavirus-porque-es-imposible-predecir-el-futuro-del-brote/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/krome-detention-center-como-es-el-centro-donde-esta-detenido-elio-montes-en-estados-unidos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/con-el-gobierno-de-facto-esta-es-la-situacion-de-la-educacion-en-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-espectacular-nocaut-de-ryan-garcia-la-joya-de-21-anos-que-es-apadrinada-por-oscar-de-la-hoya-y-deslumbra-al-boxeo-mundial/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/junto-a-luisa-alcon-candidata-a-diputada-bailando-viva-mi-patria-bolivia-en-la-inaug/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/instagram-prueba-una-opcion-que-trae-de-nuevo-el-orden-cronologico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/michael-bloomberg-evalua-ofrecerle-a-hillary-clinton-que-sea-su-companera-de-formula-para-las-presidenciales-en-eeuu/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/juan-guaido-argentina-puede-ser-clave-para-destrabar-la-crisis-en-venezuela-o-puede-recibir-a-maduro-como-hizo-con-evo-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-festival-de-bandas-abre-el-carnaval-en-oruro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-paz-gobernacion-confirma-que-hay-10-municipios-en-emergencia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/jose-enrique-teran-es-el-nuevo-comandante-de-la-policia-de-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/reportan-10-casos-de-vih-en-beni-en-lo-que-va-del-ano/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/brasileno-sentenciado-por-homicidio-se-dedicaba-a-la-agricultura-en-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hallan-a-mujer-sin-vida-en-un-rio-y-presumen-un-femincidio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/reportan-desborde-de-rio-suches-y-seis-comunidades-afectadas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/1606032/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cocaleros-se-declaran-en-emergencia-por-operativos-de-erradicacion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/santa-cruz-sentencian-a-tres-personas-que-transportaban-320-paquetes-de-cocaina/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/google-podria-estar-preparando-un-servicio-de-noticias-semejante-a-apple-news/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cambian-busto-de-evo-morales-por-la-antorcha-de-los-juegos-suramericanos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/eliminatorias-sudamericanas-a-mundial-de-catar-tendran-var-anuncio-conmebol/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/monasterio-pidio-que-se-investiguen-los-vinculos-de-vallejos-y-felipe-caceres/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-psg-cuida-a-neymar-y-mbappe-para-la-champions/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/samuel-doria-medina-estoy-contento-de-apoyar-a-una-mujer-cuando-sea-electa-cambiara-las-relaciones-de-genero-del-pais/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/las-enfermedades-que-estan-destruyendo-a-pele/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/pinera-celebra-por-el-silala-pero-en-chile-le-dicen-aprovecha-de-pedirle-los-huevos-a-la-presidenta-boliviana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/google-presenta-autoflip-solucion-de-codigo-abierto-para-el-recorte-inteligente-de-videos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/confirman-6-casos-de-dengue-en-potosi/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/netflix-considera-a-avif-como-el-mejor-codec-de-imagen-posible-para-suceder-al-jpg/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/detienen-a-6-jukus-en-la-mina-huanuni-y-recuperan-28-kilos-de-mineral/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/a-los-81-anos-el-militar-que-capturo-al-che-queda-en-libertad-y-respira-aliviado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/yasmani-duk-esta-listo-para-reaparecer-en-aurora/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/pepe-pena-navas-tiene-que-entender-que-en-real-se-juega-en-equipo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/uso-de-5g-en-atencion-sanitaria-de-urgencias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/guabira-apuesta-por-los-mismos-11-para-encaminarse/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/divulgadora-cientifica-es-parte-de-las-mujeres-destacadas-de-bolivia-seleccionadas-por-unicef/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/manfred-dice-que-procesos-en-su-contra-son-politicos-y-no-descarta-candidatura-para-las-subnacionales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bolivar-con-abrego-en-punta-buscara-golpear-a-blooming-en-el-tahuichi/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/explosivas-declaraciones-de-sandro-coelho-contra-blackburn-y-soria/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/blackburn-recibe-el-respaldo-de-soria-y-va-de-titular-ante-municipal-vinto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/rafinha-hizo-futbol-en-blooming-pero-todavia-sintio-molestias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nuevo-embajador/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ibce-y-aduana-coinciden-en-facilitar-el-comercio-exterior/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-gobernacion-declara-emergencia-departamental-por-el-dengue/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nayib-bukele-como-el-presidente-mas-cool-del-mundo-se-convirtio-en-un-modelo-de-autoritarismo-millennial/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/diez-exfuncionarios-de-entel-ya-devolvieron-el-dinero-que-recibieron-al-dejar-el-cargo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-dano-causado-por-el-exgerente-y-exejecutivos-de-entel-es-tan-grande-que-reparar-ese-dan/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/crece-el-escandalo-en-espana-por-el-delcygate-maduro-dijo-que-la-conversacion-de-su-vicepresidenta-con-el-ministro-de-pedro-sanchez-es-secreta/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-via-crucis-de-los-enfermos-en-santa-cruz-en-siete-fotos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/pinera-celebra-que-bolivia-haya-declarado-que-parte-del-silala-fluye-naturalmente-a-chile/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/horoscopo-del-15-de-febrero-predicciones-de-josie-diez-canseco/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/caricaturas-de-bolivia-del-sabado-15-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/es-fundamental-la-presencia-de-una-mision-internacional-durante-todo-el-proceso-electoral/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-todo-el-pais-preparamos-equipos-de-campana-la-grafica-muestra-el-que-se-realiza-en-san/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/oficialismo-y-abogados-jurisprudencia-avala-sucesion-no-comunicado-del-tcp/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/una-epidemia-que-ya-cobro-19-vidas-que-puede-llegar-a-60-000-infectados-en-unas-semanas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/entel-exgerente-manipulo-fechas-de-ingreso-para-justificar-el-pago-de-finiquitos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/contador-detenido-deposito-bs-26-mm-a-cuentas-del-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sectores-civicos-esperan-que-el-tse-inhabilite-a-evo-a-fin-de-evitar-paro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-boliviano-instruye-auditoria-a-los-juicios-del-mar-y-el-silala/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/silala-advierten-a-evo-morales-con-juicio-y-a-longaric-con-interpelacion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/pasajeros-denuncian-que-nave-de-boa-sufrio-un-percance/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/portadas-de-periodicos-de-bolivia-del-sabado-15-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/entel-nueve-de-13-exejecutivos-devuelven-dinero-de-finiquitos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/software-ruso-fue-usado-para-rastreo-de-cuentas-de-opositores-a-evo-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/exgerente-de-entel-esta-en-la-carcel-krome-detention-center-de-eeuu-por-buscar-ingresar-demasiado-dinero-en-efectivo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/santa-cruz-gente-con-dengue-espera-mas-de-ocho-horas-por-atencion-en-salas-hacinadas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bolivia-gasto-us-11-mil-mm-por-importacion-de-combustibles-durante-el-periodo-de-evo-segun-ibce/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ffaa-y-policia-inician-labores-de-erradicacion-de-coca-excedentaria-en-yungas-y-chapare/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-llamada-reina-del-norte-tenia-alrededor-de-us-4-millones-en-bancos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/denuncian-por-traicion-a-la-patria-al-gobierno-de-evo-morales-debido-a-que-cedio-en-litigio-del-silala/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/instruyen-auditoria-especial-a-los-82-dias-que-elio-montes-fungio-como-gerente-de-entel/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/juez-decide-enviar-a-palmasola-a-la-reina-del-norte/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/canciller-boliviana-afirma-que-hay-responsables-por-el-fracaso-maritimo-y-nadie-asumio-responsabilidad/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/caso-silala-canciller-ribera-valora-como-muy-buena-noticia-que-contramemoria-de-bolivia-ante-la-haya-admita-que-parte-del-rio-fluye-de-manera-natural-hacia-chile/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mesa-como-vocero-de-la-demanda-maritima-nunca-tuve-acceso-al-tema-silala/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/candidato-del-mas-lamenta-manejo-irresponsable-de-empresas-como-entel-y-dice-que-bono-juancito-pinto-esta-en-riesgo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/iglesia-pide-al-tse-que-de-a-conocer-la-lista-de-candidatos-inhabilitados/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/legisladores-de-ud-defienden-la-sucesion-constitucional-de-jeanine-anez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/procuraduria-pide-anotar-bienes-y-congelar-cuentas-de-elio-montes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/esta-es-la-reflexion-de-lady-gaga-sobre-san-valentin-que-deberian-leer-todos-los-solteros-del-mundo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-asamblea-legislativa-convocara-a-rodriguez-veltze-por-el-tema-del-silala/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/civicos-de-la-paz-y-cod-de-chuquisaca-en-alerta-ante-posible-habilitacion-de-evo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/idif-avala-que-todos-sus-medicos-forenses-cuentan-con-estudios-de-postgrado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/evo-pide-liberar-a-exmiembro-de-las-farc-acusado-de-homicidio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/video-titulares-de-noticias-de-tv-bolivia-noche-del-viernes-14-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/reportan-que-elio-montes-fue-detenido-en-eeuu/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/zvonko-se-lanza-a-la-arena-politica-con-duras-criticas-a-democratas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/santa-cruz-el-sabado-15-concluye-plazo-para-pagar-impuestos-municipales-con-el-25-de-descuento/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/abogado-denuncia-aprehension-ilegal-de-lorgia-fuentes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mas-afirma-que-el-interinato-de-anez-es-ilegal-y-anuncia-convocatoria-a-magistrados-del-tcp/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/murillo-designa-a-los-nuevos-comandantes-de-la-policia-y-les-pide-no-dar-ni-un-paso-atras/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-antartida-bate-su-record-de-temperatura-dos-veces-en-tres-dias-al-superar-los-20oc/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/visitamos-por-primera-vez-el-municipio-de-monteagudo-tierra-fertil-del-chaco-y-de-gente-h/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/investigan-muerte-de-una-joven-que-consumia-pastillas-para-adelgazar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/the-strongest-analizara-la-continuidad-de-mauricio-soria/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-dengue-arrasa-en-oriente-ahora-le-toco-a-kevin-salvatierra/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-este-video-queda-registrado-lo-que-dijo-samuel-sacaremos-adelante-a-las-empresas-esta/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/junior-sanchez-estamos-con-ganas-de-revertir-la-situacion-en-blooming/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/monasterio-dora-vallejos-es-militante-del-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-gobierno-de-jair-bolsonaro-justifico-la-devaluacion-en-brasil-con-una-polemica-frase-hasta-las-empleadas-domesticas-iban-a-disney/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gilbert-alvarez-esta-molesto-por-la-falta-de-gol-y-culpa-a-sus-companeros/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/intensa-lluvia-en-la-paz-deja-11-heridos-colapsa-muros-e-inunda-calles-y-avenidas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/camacho-arremete-contra-el-gobierno-por-la-corrupcion-en-entel/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/maduro-llegara-el-dia-en-que-los-tribunales-ordenen-el-arresto-de-guaido/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/exalcalde-de-lima-encarcelado-por-pagos-de-odebrecht-y-oas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/presidente-del-ted-cree-que-el-tse-debe-exigir-los-anos-de-residencia-que-fija-la-constitucion-para-ser-candidato/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/abc-reporta-tres-tramos-cerrados-en-la-paz-santa-cruz-y-tarija-por-las-lluvias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bukele-maestro-del-espectaculo-mas-que-presidente/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/al-menos-14-ninos-mueren-en-incendio-de-un-orfanato-en-haiti/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/intensifican-fumigacion-en-los-barrios-crucenos-por-aumento-de-casos-de-dengue/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sujeto-es-enviado-a-la-carcel-por-abusar-de-una-menor-de-13-anos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-primer-dia-del-servicio-huawei-en-el-2020-llega-con-descuentos-en-accesorios/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-pleno-san-valentin-joy-huerta-revelo-a-sus-fans-el-rostro-de-su-esposa-por-primera-vez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/canciller-afirma-que-el-gobierno-de-la-presidenta-anez-sera-lo-mas-transparente-posible-en-el-tema-del-silala/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/zvonko-confirma-que-sera-candidato-suplente-a-senador-por-creemos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tribunal-constitucional-notifica-al-concejo-de-cochabamba-para-suspender-sanciones-contra-leyes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/arias-si-el-senor-montes-no-vuelve-procederemos-a-su-captura-internacional/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/construiran-un-centro-de-radioterapia-en-el-terreno-donde-ocurrio-la-tragedia-del-edificio-malaga/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/salvan-de-ser-abusada-a-una-menor-que-intentaba-recuperar-su-celular/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-compromiso-historico-y-la-trayectoria-del-mas-ipsp-fueron-siempre-llegar-al-poder-por-e/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fiscalia-imputa-a-exministro-juan-ramon-quintana-en-caso-abya-yala/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-drastica-decision-del-principe-harry-y-meghan-markle-que-muestra-que-no-volveran-a-vivir-al-reino-unido/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/interpelaran-a-arias-por-corrupcion-en-entel-luego-de-que-montes-vinculara-a-obras-publicas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/migracion-y-felcn-compartiran-informacion-sobre-casos-de-narcotrafico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/niegan-libertad-a-jose-antonio-rosales-en-el-caso-la-manada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mi-queridisima-y-bella-santa-cruz-gracias-por-ser-otro-referente-de-valentia-e-independen/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/adn-tiene-nuevo-candidato-presidencial/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/revelaron-las-primeras-imagenes-de-robert-pattinson-con-el-traje-de-batman/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/intervienen-casa-de-juegos-clandestino-en-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/montano-pide-pruebas-de-que-vallejos-este-vinculada-al-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/excandidato-de-fpv-denuncia-supuesta-venta-de-candidaturas-hasta-en-us-30-000/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/droga-gana-a-urea/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-alcalde-de-luribay-declara-estado-de-emergencia-en-el-municipio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-uefa-excluye-dos-anos-a-manchester-city-de-sus-torneos-por-fair-play-financiero/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cainco-se-reune-con-el-bid-para-enfrentar-los-desafios-de-generar-empleos-de-calidad/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dolorosa-bendicion-papal-a-la-corrupcion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/esto-y-muchas-cosas-mas-tienen-que-explicar-en-la-campana-han-estado-14-anos-en-el-poder/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/valverde-el-pais-es-la-capital-del-narcotrafico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/14-de-febrero-dia-de/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-mas-pide-la-renuncia-del-ministro-arias-por-las-denuncias-en-entel/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mesa-dice-que-existe-una-cultura-de-la-corrupcion-y-es-necesario-un-cambio-en-el-sistema-judicial/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/piden-investigar-si-juan-ramon-quintana-se-beneficio-de-las-incautaciones-aduaneras/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/prohiben-la-venta-de-cigarrillos-sueltos-estos-son-los-puntos-mas-destacados-de-la-nueva-ley-contra-el-tabaco/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/oscar-eres-prisionero-de-la-izquierda/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/barrientos-y-la-defensa-del-silala-morales-traiciono-al-pueblo-boliviano/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/video-titulares-de-noticias-de-tv-bolivia-mediodia-del-viernes-14-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/huawei-rechaza-nuevas-acusaciones-de-estados-unidos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-alto-policia-captura-a-una-treintena-de-malhechores-en-operativo-de-compadres/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/lopez-advierte-a-policias-sindicales-del-chapare-se-estan-pasando-de-la-raya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dellien-vuelca-la-mirada-al-atp-500-rio-de-janeiro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cepal-considera-que-bolivia-es-el-pais-de-sudamerica-con-mas-feminicidios/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-sub-20-de-wilstermann-tuvo-su-primera-practica-en-asuncion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/asambleista-pide-auditar-planta-de-tratamiento-de-albarrancho/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/jose-maria-retorna-a-la-alcaldia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-inicia-plan-de-erradicacion-de-coca-y-apunta-al-chapare-y-los-yungas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/como-esta-compuesta-la-fortuna-de-la-reina-del-norte-y-desde-cuando-la-forma/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/imputan-a-exviceministro-de-evo-que-llamo-%c2%93motin%c2%94-a-un-policia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/villa-nuevo-potosi-7-de-los-11-heridos-por-el-derrumbe-fueron-dados-de-alta/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/abc-habilita-desvio-en-el-puente-san-telmo-en-la-ruta-tarija-bermejo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-alto-vecinos-se-declaran-en-estado-de-emergencia-por-la-paralizacion-de-centro-nuclear/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-fin-de-semana-subira-la-temperatura-en-la-capital-crucena-y-se-preve-lluvias-en-provincias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/google-borra-cientos-de-plugins-de-la-tienda-de-chrome/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/facebook-lanza-nueva-app-para-que-mostremos-el-progreso-de-lo-que-hacemos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/estudiante-intento-quemar-su-colegio-por-venganza-en-montero/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/humor-aprendemos-tips-para-conquistar-en-este-dia-de-san-valentin/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-garantiza-la-provision-del-subsidios-universal-prenatal-y-lactancia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/adepcoca-impulsara-el-voto-castigo-contra-el-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/municipio-paceno-recuerda-prohibicion-de-juego-con-agua-en-espacios-publicos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/andronico-sobre-posible-inhabilitacion-de-evo-dirigencia-del-mas-decidira-los-reemplazos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/lo-que-habiamos-afirmado-esta-comprobado-el-comunicado-utilizado-por-la-autoproclamada-no/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ministro-lopez-pide-a-pobladores-del-chapare-apoyar-lucha-contra-el-narcotrafico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/division-de-menores-de-blooming-asegura-que-son-el-equipo-que-saca-mas-jugadores-profesion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/civicos-afirman-que-existen-razones-legales-y-legitimas-para-que-morales-sea-inhabilitado-como-candidato/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/camacho-estaba-en-el-mismo-vuelo-que-montes-a-eeuu-mientras-que-pumari-viajo-un-dia-antes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cotas-expone-su-caso-a-la-opinion-publica/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/seis-frases-del-expresidente-del-tcp-sobre-el-comunicado-de-sucesion-de-jeanine-anez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nuestra-santa-cruz-esta-sufriendo-la-peor-epidemia-de-dengue-en-33-anos-trabajar-por-prev/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/carlos-valverde-dice-que-la-alcaldia-crcrucena-esta-practicamente-en-la-insolvencia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/invitan-a-la-primera-precarnavalera-cultural-de-la-guardia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/asi-se-jugara-la-fase-3-de-la-conmebol-libertadores/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-proyecta-que-juicio-del-silala-decidira-sobre-aguas-compartidas-entre-bolivia-y-chile/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/llego-emmanuel-adebayor-y-desato-una-locura-en-asuncion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/pogba-podria-volver-a-la-serie-a/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/reino-unido-suaviza-sus-planes-para-regular-el-contenido-de-las-redes-sociales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/psg-es-el-club-con-mayor-poder-financiero/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/experta-choquehuanca-en-2009-entrego-50-del-silala-a-chile/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/caricaturas-de-bolivia-del-viernes-14-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/economy-incorpora-dos-nuevos-miembros-a-su-consejo-editorial/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dos-albaniles-mueren-electrocutados-en-cochabamba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/evo-afirma-que-dichos-de-magistrado-del-tcp-comprueba-que-el-gobierno-transitorio-violo-la-constitucion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cinthya-quiso-separarse-carta-advertia-su-muerte/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/presidente-de-honduras-no-buscara-segunda-reeleccion-en-2021/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-caida-de-lozoya-eleva-la-presion-sobre-el-expresidente-pena-nieto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/rata-de-dos-patas-la-historia-desconocida-tras-la-cancion-que-no-escucharas-en-san-valentin/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/blackburn-pide-disculpas-a-hinchas-atigrados-por-el-penal/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mohammed-mostajo-mas-alla-de-explotar-nuestras-riquezas-naturales-debemos-crear-conocimiento/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/lorgia-fuentes-sufre-infarto-cerebral-y-continua-hospitalizada-su-abogado-denuncia-que-intentaron-aprehenderla/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/eeuu-advierte-que-sancionara-a-mexico-si-compra-helicopteros-a-rusia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/esta-area-cerebral-tiene-una-funcion-especial-en-el-estado-de-conciencia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/chaco-chuquisaqueno-sufre-una-plaga-de-langostas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/san-valentin-40-frases-e-imagenes-para-desear-un-feliz-dia-de-los-enamorados/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/arrestan-a-sujeto-que-intento-inmolarse-en-la-oficina-de-una-constructora-por-que-no-le-pagan-bs-159-000/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/decomisan-caja-fuerte-y-vehiculos-de-lujo-de-dora-v/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/por-fin-podemos-ver-que-apariencia-tiene-el-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/galardonan-con-el-premio-internacional-rey-de-espana-de-periodismo-al-boliviano-luis-fernando-soria/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/desvelan-plan-del-pcc-para-convulsionar-las-carceles-del-pais/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/video-muestra-a-concejales-de-potosi-que-consumian-bebidas-en-hemiciclo-del-municipio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tres-escenarios-para-el-gradualismo-transitorio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/retiran-en-peru-a-cuatro-ministros-en-medio-de-crisis-por-odebrecht/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/zvonko-matkovic-candidato-a-primer-senador-suplente-en-las-listas-de-luis-fernando-camacho/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/partidos-politicos-de-bolivia-proyectan-relacion-de-largo-plazo-con-chile/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/allanan-cinco-inmuebles-sobre-el-caso-del-medico-challampa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ministro-arias-confirma-demanda-penal-contra-elio-montes-y-dos-exejecutivos-de-entel/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ministro-coimbra-esta-recabando-informacion-para-presentar-la-denuncia-contra-el-exgerente-de-entel-a-la-fiscalia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/suspenden-actuacion-de-mayte-flores-en-fiesta-de-compadres-por-presion-popular/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/pastrana-y-quiroga-celebran-que-cidh-tratara-la-reeleccion-indefinida/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-tercera-sera-la-vencida-en-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/agreden-a-deisy-choque-y-sus-acompanantes-a-la-salida-del-juzgado-en-montero/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/clausula-de-confidencialidad-impide-la-fiscalizacion-del-centro-de-energia-nuclear/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/registran-un-accidente-en-una-zona-escolar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/natacion-con-2-records-imbatibles/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-peor-epidemia-de-dengue-en-33-anos-causa-ausentismo-escolar-y-170-internados-por-dia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/baldi-pide-fichar-un-atacante-mas-para-aurora/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/esposo-de-lorgia-fuentes-pide-un-salvoconducto-para-que-su-hijo-de-6-anos-pueda-salir-del-pais/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/comision-de-fbf-busca-mejorar-sus-ingresos-por-derechos-de-tv/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/quinteros-firma-en-bolivar-por-6-meses/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/comunicado-sobre-sucesion-de-anez-no-tiene-valor-legal-dice-magistrado-del-tribunal-constitucional/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/diputados-dejan-sin-efecto-la-aprehension-contra-el-decano-alcon/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/companero-de-dellien-no-se-presenta-y-deja-al-boliviano-sin-jugar-cuartos-de-final-en-dobles/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/real-santa-cruz-logro-valioso-empate-ante-wilstermann-0-0/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-reina-de-yapacani/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/radiografia-de-las-propiedades-de-la-reina-del-norte/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dora-posee-3-000-hectareas-en-ichilo-y-se-indaga-vinculo-con-exministro-y-exalcalde/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/portadas-de-periodicos-de-bolivia-del-viernes-14-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/horoscopo-del-14-de-febrero-predicciones-de-josie-diez-canseco/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/procuraduria-procesa-a-montes-despues-que-este-se-va-a-eeuu/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/exgerente-llego-a-entel-de-mano-del-bloque-civico-de-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/entel-gasto-en-11-dias-bs-75-mil-en-5-vuelos-privados-para-exgerentes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-fiscalia-identifica-a-los-colaboradores-de-dora-v/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/leyes-preve-volver-hoy-a-la-alcaldia-de-cochabamba-pero-tiene-suspension-de-3-meses/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/archivos-electorales-pertenecian-a-unidad-fachada-de-la-agetic/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/las-lluvias-dejan-17-muertos-y-41-municipios-afectados-en-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/lluvia-inundo-la-zona-sur-de-la-paz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alp-emitira-convocatoria-para-elegir-al-nuevo-defensor-del-pueblo-en-febrero/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/consejeros-de-la-magistratura-tienen-30-dias-para-presentar-descargos-por-denuncias-de-corrupcion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/aseguran-que-juicio-por-fraude-electoral-contra-evo-morales-y-alvaro-garcia-debe-ampliarse-a-su-gabinete/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/internan-a-mujer-vinculada-a-romero-y-acusada-de-enriquecimiento-y-legitimacion-de-ganancias-ilicitas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/asamblea-de-la-crucenidad-determina-paro-civico-indefinido-si-el-tse-habilita-la-candidatura-de-evo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/leyes-se-alista-para-retomar-sus-funciones-como-alcalde-de-cochabamba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/presidente-de-la-aduana-de-bolivia-el-exministro-quintana-se-escogia-lo-decomisado-y-el-saldo-iba-a-remate/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/video-titulares-de-noticias-de-tv-bolivia-noche-del-jueves-13-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cancilleria-alerta-que-el-anterior-gobierno-admitio-que-parte-del-silala-fluye-naturalmente-hacia-chile/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hoy-tuve-el-privilegio-de-posesionar-a-mohammedmostajo-como-representante-extraordinario/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mesa-abrumado-por-caso-entel-observa-que-hay-una-cultura-de-corrupcion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/yo-no-voy-a-hacer-de-entel-un-gallinero/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/17-anos-de-carcel-por-trafico-de-sustancias-controladas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/diputado-mamani-conmina-al-ministerio-de-obras-publicas-informar-sobre-caso-boa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/14-normas-basicas-que-no-debemos-olvidar-en-una-cena-romantica/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/presidenta-de-la-alp-promulgo-la-ley-de-prevencion-y-control-al-consumo-de-productos-de-tabaco/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/encontraron-un-laboratorio-de-droga-en-una-finca-del-embajador-de-colombia-en-uruguay/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/trump-desviara-otros-3-800-millones-de-dolares-del-pentagono-para-muro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/venezuela-denuncia-a-estados-unidos-ante-la-corte-penal-internacional/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bolivia-se-convierte-en-uno-de-los-pocos-paises-en-tener-un-embajador-dedicado-a-crear-rel/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/los-candidatos-armaron-una-comparsa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/doria-medina-confiesa-que-la-figura-de-jeanine-presidenta-candidata-perjudica-la-campana-de-juntos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/reportan-motin-en-el-penal-de-el-abra/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cada-region-debe-presentar-sus-demandas-de-items-en-salud-hasta-la-proxima-semana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/enrique-iglesias-y-anna-kournikova-mostraron-las-primeras-fotos-con-su-bebe-recien-nacida/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/las-revelaciones-de-la-mujer-que-destapo-el-escandalo-sexual-en-la-iglesia-luz-del-mundo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-papa-francisco-recibio-a-lula-da-silva-en-el-vaticano/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-verdad-sobre-el-chapo-guzman-y-su-miedo-a-los-perros/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/telleria-asegura-que-esta-listo-para-dejar-la-silla-edil-de-cochabamba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/putin-descarta-legalizar-el-matrimonio-homosexual-en-rusia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mil-hectareas-de-soya-afectadas-por-lluvias-en-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/samuel-dice-que-la-inversion-privada-podria-darle-al-pais-un-crecimiento-economico-importante/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/camboya-abre-las-puertas-a-un-crucero-de-eeuu-rechazado-en-cinco-puertos-por-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/arrestan-a-un-exviceministro-del-mas-por-trifulca-con-policia-al-que-habria-llamado-motin/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/evo-morales-pide-acompanamiento-internacional-para-elecciones-en-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/pese-a-pago-de-fianza-torrico-permanece-en-la-carcel-por-falta-de-custodio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/calderon-candidato-para-suplir-a-franco-en-la-zaga-refinera/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fideicomiso-de-us-50-millones-beneficiara-con-creditos-a-clientes-internacionales-del-sector-forestal/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-tcpbolivia-admitio-el-recurso-directo-de-nulidad-que-presente-contra-la-ley-de-cumplim/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/torrencial-lluvia-genera-desborde-de-rios-e-inundaciones-en-la-paz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/romel-quinonez-y-ronaldo-sanchez-con-dengue/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/blooming-cae-ante-municipal-vinto-por-2-1/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/juez-da-libertad-a-jose-maria-leyes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cainco-y-migracion-unen-esfuerzos-para-impulsar-el-turismo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/anapo-afirma-que-su-principal-problema-es-el-poco-acceso-a-la-biotecnologia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/errejon-el-de-la-beca-black-y-la-financiacion-boliviana-presidira-la-comision-anticorrupcion-del-congreso-espanol/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/jardines-del-trapiche-de-terracor-hace-realidad-tus-suenos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/anez-nombra-embajador-para-la-ciencia-tecnologia-e-innovacion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/aparicio-llevaron-el-caso-silala-ante-la-haya-sin-tener-la-preparacion-tecnica/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dorado-espera-que-gobierno-de-anez-no-haya-entregado-salvoconducto-a-exgerente-de-entel/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-coyuntura-invade-la-estructura/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sucre-recibe-el-nacional-interclubes-de-karate/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/decomisan-una-caja-fuerte-y-autos-de-lujo-de-la-reina-del-norte/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fraude-electoral-remiten-al-idif-actas-electorales-papeletas-y-computadoras/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cns-adquiere-reactivos-para-diagnosticar-posibles-casos-de-coronavirus-en-el-pais/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/saldo-de-la-billetera-movil-baja-a-bs-215-millones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-posesiona-a-mohammed-mostajo-como-embajador-de-ciencia-y-tecnologia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/franclin-gutierrez-planea-ir-al-chapare-a-dar-cursos-de-sindicalismo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/desmantelan-red-que-introducia-y-vendia-en-brasil-droga-procedente-de-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hombre-de-63-anos-es-denunciado-por-violar-a-su-concubina/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/realizan-mas-allanamientos-tras-la-aprehension-de-vallejos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-municipio-de-magdalena-beni-ya-cuenta-con-su-homologacion-de-area-urbana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/reflexion-sobre-las-amenazas-de-los-narcos-de-los-cocaleros-las-agresiones-del-camachismo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fiscalia-emite-orden-de-aprehension-contra-lorgia-fuentes-acusada-de-vinculos-con-romero/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tras-reunion-con-el-tse-civicos-crucenos-esperan-que-inhabiliten-a-evo-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hoy-tambien-recibimos-en-palacio-de-gobierno-a-sectores-sociales-de-oruro-con-los-cuales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/un-ingeniero-de-apple-habia-advertido-del-mal-funcionamiento-de-su-piloto-automatico-antes-de-morir-en-un-accidente/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hermanas-y-hermanos-de-cochabamba-el-tren-metropolitano-es-una-obra-de-integracion-que-e/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-el-diamundialdelaradio-mi-compromiso-con-los-medios-y-la-libertad-de-expresion-recuer/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/las-lluvias-dejan-17-personas-fallecidas-en-el-pais/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-racismo-progre/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/video-titulares-de-noticias-de-tv-bolivia-mediodia-del-jueves-13-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/reportan-1-343-familias-damnificadas-en-el-pais-por-desastres-naturales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/adicciones-miedo-a-la-muerte-y-depresion-joaquin-sabina-a-mitad-de-camino-entre-el-infierno-y-el-cielo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/de-octubre-2003-a-octubre-2019/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ortiz-presento-un-recurso-de-nulidad-contra-la-ley-de-impunidad-ante-el-tcp/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/paco-asegura-que-el-tse-observo-tres-puntos-en-candidatura-de-evo-y-no-su-residencia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/piden-a-jica-apoyo-para-ampliar-el-gastro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/desastres-naturales-afectan-a-6-524-hectareas-de-cultivos-y-a-4-265-familias-en-58-municipios/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/inundaciones-dejan-17-personas-fallecidas-en-el-pais/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tribunal-constitucional-tiene-30-dias-para-emitir-fallo-sobre-constitucionalidad-de-ley-de-garantias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bruselas-mantiene-prevision-de-crecimiento-en-eurozona-en-2020-y-2021/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-mas-analizara-este-jueves-en-cochabamba-sobre-posible-inhabilitacion-de-sus-candidatos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/plataforma-generacion-21-retira-su-apoyo-a-la-alianza-creemos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/francia-permitira-a-huawei-tener-acceso-a-5g/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/entel-ministro-de-obras-publicas-identifica-irregularidades-en-la-gestion-de-elio-montes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/piden-la-aprehension-de-lorgia-fuentes-por-ganancias-ilicitas-en-la-gestion-del-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/estamos-reunidos-con-miembros-de-la-cidobbolivia-me-estan-transmitiendo-sus-inquietudes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sector-productivo-y-publico-elaboran-lineamientos-para-el-desarrollo-agropecuario-de-bolivia-al-2050/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/carlos-mesa-plantea-gestion-de-salud-mas-eficiente-y-especializada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/eeuu-quiere-sancionar-a-zapatero-por-su-relacion-antidemocratica-con-nicolas-maduro-rec/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/diprove-condecoro-al-gobernador-de-santa-cruz-ruben-costas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/por-que-hay-que-prohibir-que-nos-manipulen-el-cerebro-antes-de-que-sea-posible/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-mallku-dice-que-todos-los-candidatos-tienen-sus-pasados-historicos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/pando-registra-el-segundo-caso-de-feminicidio-del-ano/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/guardiola-si-no-eliminamos-al-madrid-quizas-el-dueno-me-despida/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/china-registra-aumento-record-de-muertes-diarias-por-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/asesinan-a-periodista-en-peligrosa-ciudad-de-paraguay/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobernacion-de-cochabamba-dice-que-reyes-villa-tiene-14-procesos-activos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/renuncia-sorpresivamente-el-ministro-britanico-de-finanzas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/contador-de-pat-acusa-al-gerente-del-canal-por-implicarlo-en-empresa-fachada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/denuncian-avasallamiento-en-el-area-protegida-bosque-de-bolognia-en-la-paz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dictan-prision-provisional-en-espana-para-exdirector-de-pemex-reclamado-por-mexico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mi-teleferico-reanudo-sus-servicios-en-la-linea-morada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alcaldia-pacena-descarta-riesgo-de-deslizamiento-en-la-terminal-de-minasa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/policia-investiga-la-muerte-de-17-perros-envenenados/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cainco-destaca-alianza-de-infocenter-y-experian/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/niegan-libertad-a-patricia-hermosa-exjefa-de-gabinete-de-evo-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/lluvias-afectan-sembradios-en-san-pedro-y-anegan-casas-en-cabezas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/defensoria-del-pueblo-presenta-en-palmasola-entrenando-por-la-liberacion-y-libros-por-rejas-programas-para-fortalecer-la-reinsercion-social/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/embotellamiento-electoral/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/lucha-contra-el-dengue-el-viernes-fumigaran-el-plan-tres-mil/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/migracion-confirma-salida-del-exgerente-de-entel-elio-montes-rumbo-a-eeuu/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hombre-es-herido-con-un-machete-por-su-inquilino/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/envian-a-la-carcel-a-la-ninera-que-trabajaba-para-quintana-por-tenencia-de-arma/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/huawei-y9-busca-conquistar-al-publico-joven/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-regimen-de-facto-llega-al-punto-de-hacernos-dano-encarcelando-a-una-persona-completamen/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sospechosos-de-violacion-grupal-son-enviados-a-la-carcel/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-economia-de-venezuela-se-contrajo-35-en-2019-cifra-sin-precedente-para-una-nacion-no/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/inadmisible-lo-sucedido-en-entel-justificado-que-el-gerente-y-sus-amigos-hayan-sido-echad/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tenemos-una-propuesta-de-gestion-pero-sobre-todo-un-compromiso-de-vida-con-el-derecho-de/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/escapo-elio-montes-salio-de-bolivia-y-ministro-de-gobierno-dice-no-hay-tolerancia-con-la-corrupcion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-raquetbol-nacional-levanta-telon-con-torneo-nacional-en-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sindicato-de-la-razon-convoca-a-paro-este-jueves-y-exige-la-renuncia-de-su-directora-claudia-benavente/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hallan-y-destruyen-15-fabricas-de-cocaina-en-bulo-bulo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/venta-de-gas-boliviano-a-petrobras-bajara-en-35-para-evitar-incumplimientos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/vecchio-el-nuevo-callejon-%c2%93mi-llegada-es-amor-mutuo%c2%94/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sin-soria-%c2%93creo-que-este-grupo-va-a-salir-campeon%c2%94/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/martins-estaria-dispuesto-a-renunciar-a-una-fortuna-para-retornar-al-cruzeiro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/arbitros-sudamericanos-dirigiran-la-champions-y-los-europeos-la-libertadores/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/foro-de-gobernaciones-se-reune-en-trinidad-para-tratar-temas-de-violencia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/las-lluvias-en-bolivia-afectan-a-4-083-familias-y-3-144-hectareas-de-cultivos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/chan-chu-llo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cronenbold-pide-al-nuevo-gobierno-no-cometer-los-mismos-errores-del-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ex-juez-maldonado-no-teme-ser-investigado-por-caso-terrorismo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-82-dias-en-entel-montes-malgasto-recursos-en-avioneta-hoteles-de-lujo-y-sueldos-millonarios-para-su-personal-cruceno/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dan-30-anos-de-prision-al-brasileno-que-detono-una-granada-militar-en-mocovi-y-piden-su-traslado-a-chonchocoro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hugo-dellien-revive-con-un-triunfo-en-el-argentina-open/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/vinto-ante-blooming-y-wilster-con-real-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/piden-proceso-por-dano-economico-al-estado-contra-el-exgerente-de-entel/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/un-bolivar-opaco-golea-a-aurora-con-doblete-de-abrego/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/royal-pari-alcanza-su-cuarto-triunfo-derrota-a-guabira/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/las-marcas-que-ponen-el-pecho-por-los-clubes-bolivianos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/camargo-corria-descalza-y-ahora-brilla-en-el-atletismo-de-sudamerica/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fiscalia-apelo-medidas-sustitutivas-y-busca-detencion-preventiva-para-gustavo-torrico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/romina-rodriguez%e2%80%88en-bolivia-hay-potencial-pero-se-carece-de-apoyo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/lider-paz-ya-no-hay-punteros-como-los-de-antes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/compra-de-software-en-gestion-del-mas-deja-dano-de-bs-6-mm-en-ende/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/policia-que-trabajaba-como-taxista-descubrio-la-muerte-de-un-joven-por-sus-amigos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/otro-feminicidio-en-quillacollo-suman-5-en-cochabamba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/claudio-vivas-trepaba-arboles-y-me-disfrazaba-para-espiar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/uefa-y-conmebol-firman-acuerdo-y-proyectan-organizar-torneos-entre-sudamerica-y-europa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-tigre-pierde-6-5-en-penales-y-atletico-tucuman-avanza-a-la-tercera-fase-de-la-libertadores/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/oki-paniagua-denuncia-amenazas-de-muerte-por-parte-del-exalcalde-mario-cronenbold/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/portadas-de-periodicos-de-bolivia-del-jueves-13-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/con-suarez-anez-tiene-un-estratega-y-doria-medina-esta-en-el-gobierno/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/felicito-a-manuel-suarez-que-fue-mi-colaborador-hasta-hace-poco-por-su-designacion-como/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/horoscopo-del-13-de-febrero-predicciones-de-josie-diez-canseco/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tribunal-constitucional-admite-recurso-de-anez-contra-ley-de-cumplimiento-de-derechos-humanos-y-frena-su-promulgacion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/exgerente-de-entel-habria-liquidado-a-ejecutivos-tras-conocer-su-despido/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/entel-pago-finiquitos-ilegales-y-vuelos-privados-para-su-gerente/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/exdiputada-del-mas-valeria-silva-escondio-112-denuncias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-alcaldia-crucena-accede-a-4-creditos-con-los-que-duplica-su-deuda-historica/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/estaba-acorralada-y-se-entrego-ahora-debe-aclarar-el-origen-de-su-fortuna/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/insumos-bolivia-renegocio-venta-de-urea-con-cuba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gracias-a-todas-las-personas-que-hicieron-llegar-sus-opiniones-de-apoyo-en-el-programa-no/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/china-anuncio-casi-15-000-nuevos-casos-de-coronavirus-tras-ampliar-su-definicion-de-la-enfermedad-y-la-cantidad-de-muertos-aumento-a-1-352/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bolivianos-cautivan-a-la-television-sueca-con-el-baile-del-caporal/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ministro-murillo-dora-v-se-entrego-porque-teme-por-su-vida/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fiscalia-el-proceso-contra-dora-v-esta-vinculado-al-narcotrafico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-unos-minutos-estare-en-no-mentiras-en-pat-con-jimena-antelo-para-conversar-sobre-la-coy/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ministro-de-justicia-pide-informe-al-fiscal-general-sobre-caso-vallejos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/quien-es-dora-la-millonaria-del-norte-de-santa-cruz-que-fue-vinculada-al-narcojet-y-que-hoy-se-entrego-a-la-fiscalia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sali-de-bolivia-para-evitar-un-bano-de-sangre-y-salvar-la-vida-con-un-dolor-que-ni-el-afe/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/directorio-de-entel-definira-acciones-por-presunta-corrupcion-en-la-gestion-del-exgerente-elio-montes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/obispos-de-bolivia-presentan-documento-pontificio-del-papa-francisco-dedicado-a-la-amazonia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-erradicacion-de-coca-excedentaria-se-inaugurara-el-14-de-febrero/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/regimen-penitenciario-y-reclusos-de-san-pedro-tildan-de-difamador-a-ramiro-llanos-y-anuncian-medidas-legales-en-su-contra/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/presentaron-la-documentacion-de-evo-y-el-lunes-se-sabra-si-esta-habilitado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/copa-pretende-hablar-con-evo-en-persona-y-aclarar-algunos-temas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dora-vallejos-se-entrego-porque-temia-por-su-vida-y-se-declaro-inocente/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/video-titulares-de-noticias-de-tv-bolivia-noche-del-miercoles-12-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mas-presenta-documentos-para-subsanar-las-observaciones-del-tse-a-sus-candidatos-incluido-evo-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-comite-interinstitucional-nacional-contra-el-dengue-se-reunio-hoy-congratulo-el-trabaj/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-conglomerado-criminal-castro-madurista-acosa-a-hija-de-jguaido-en-su-domicilio-agrede/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tse-ningun-partido-entrego-la-totalidad-de-documentacion-de-todos-los-candidatos-observados/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/crisis-e-impunidad-atizan-feminicidios-en-nicaragua/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dora-vallejos-se-entrego-en-yapacani-y-toman-su-declaracion-ante-la-fiscalia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/preso-con-73-anos-casi-ciego-y-sordo-la-vida-actual-del-personaje-central-de-narcos-mexico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/24-horas-desaparecido-te-hago-responsable-usurpador-nicolas-maduro-y-a-cada-uno-de-tus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-ratifica-que-evo-morales-debe-ser-procesado-por-delitos-electorales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-mas-y-otros-partidos-presentan-documentos-de-sus-candidatos-al-tse/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/apicultores-de-santa-cruz-suspenden-bloqueo-en-via-a-villa-montes-para-reunirse-con-ministro-del-area/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/reactivan-el-conarade-y-realizan-primera-reunion-para-atencion-de-emergencias-climaticas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/pil-lanzo-nueva-linea-de-productos-pura-vida-bebidas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/whatsapp-es-ya-la-segunda-mayor-red-social-del-mundo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/garcia-linera-sera-docente-en-argentina/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sin-se-reune-con-hoteleros-y-vitivinicolas-de-tarija-con-el-fin-de-actualizar-la-normativa-tributaria/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-demanda-por-el-silala-motiva-visita-de-la-canciller-y-del-nuevo-agente-boliviano-a-la-haya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cc-presenta-propuestas-regionales-en-sucre/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/exfiscal-revela-que-el-2010-hubo-una-orden-superior-para-detener-a-cossio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ald-entregara-la-distincion-melchor-pinto-parada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/envian-a-la-carcel-al-piloto-que-tramito-el-permiso-de-vuelo-del-narcojet/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tras-la-llegada-de-adebayor-una-ex-estrella-del-barcelona-podria-jugar-la-copa-libertadores/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-oms-califica-a-la-epidemia-del-dengue-como-la-peor-en-la-historia-de-las-americas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sindicato-de-trabajadores-ypfb-se-declara-en-emergencia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fiscalia-enviara-restos-de-clavijo-a-una-instancia-especializada-en-el-exterior-para-su-analisis-pericial/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/detectan-la-salida-irregular-de-mineral-en-camiones-del-cerro-rico-de-potosi/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/jefe-de-regimen-penitenciario-dice-que-el-pcc-tendria-presencia-en-chapare/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-senala-que-reyes-villa-no-tiene-sentencia-ejecutoriada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ordenan-aprehension-de-magistrados-del-consejo-de-la-magistratura-y-el-tcp/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/pese-a-informe-de-la-uif-fiscalia-da-sobreseimiento-a-leyes-y-su-hermana-por-legitimacion-de-ganancias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/joaquin-sabina-se-cayo-del-escenario-en-medio-de-un-concierto-y-fue-retirado-en-camilla/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-gobierno-de-facto-de-anez-atenta-contra-el-desarrollo-que-planificamos-para-el-alto-y-t/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/marinkovic-reitera-que-presentara-una-demanda-contra-evo-ante-la-cpi-por-el-caso-terrorismo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ayer-se-supo-que-el-hospital-de-clinicas-dejaria-de-atender-en-varias-especialidades-por/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/entel-pide-a-elio-montes-la-devolucion-de-los-recursos-malversados/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/extranjeros-hackean-cajero-automatico-y-sustraen-bs-200-000/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nayar-se-declara-agradecido-con-camacho-y-cuestiona-candidatura-de-anez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/encontraron-respaldo-digital-de-informacion-relacionada-con-el-tse-en-agetic/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sophie-turner-esta-embarazada-y-espera-su-primer-hijo-con-joe-jonas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/always-ready-golea-y-se-mantiene-en-la-cima-de-la-tabla/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/exvocal-de-la-corte-pide-a-la-ciudadania-tolerancia-con-todos-los-candidatos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/google-divulga-mil-de-las-mejores-fotos-hechas-con-google-earth/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-mas-alista-su-artilleria-para-el-juicio-contra-juan-lanchipa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-alcaldia-de-santa-cruz-logra-acuerdo-con-constructores-por-deudas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alcaldesa-de-vinto-no-hubo-fraude-en-las-elecciones-generales-de-octubre/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/convocatoria-a-exposicion-fotografica-sobre-la-revolucion-de-las-pititas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tuto-luis-arce-deberia-rendir-cuentas-por-los-numerosos-desembolsos-que-hizo-en-el-gobierno-de-evo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bolivia-otorga-refugio-a-54-venezolanos-en-el-pais/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/6-524-hectareas-de-papa-maiz-quinua-y-hortalizas-estan-afectadas-por-las-lluvias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/feeney-cotas-no-recupero-un-centavo-de-robo-y-ahora-pagara-a-daher/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/este-sabado-sera-la-coronacion-de-la-reina-del-carnaval-cruceno/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/locales-nocturnos-molesta-a-los-vecinos-de-la-pampa-de-la-isla/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/las-fuertes-lluvias-torrenciales-paralizan-la-ciudad-brasilena-de-sao-paulo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/futsal-cre-goleo-a-siempre-juntos-por-3-0/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/agradecidos-con-presidente-ivanduque-quien-por-gestiones-de-andrespastrana_-elevo-opini/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/lorgia-fuentes-niega-vinculos-con-romero-y-asegura-que-vive-un-linchamiento-mediatico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/elio-montes-mi-pecado-fue-querer-hacer-las-cosas-bien-que-entel-crezca/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sujeto-fallece-al-colisionar-su-vehiculo-con-un-arbol/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-caida-de-emilio-lozoya-y-su-efecto-domino-a-quienes-podria-implicar-el-ex-director-de-pemex/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sujeto-rapta-y-viola-a-nina-de-9-anos-en-cochabamba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-golpe-maestro-de-la-cia-y-sus-socios-alemanes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/onu-identifica-112-companias-operando-en-colonias-israelies/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/los-golpistas-estan-saqueando-nuestras-empresas-como-entel-y-ypfb-para-luego-privatizarl/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-mas-y-luis-arce-hicieron-pinata-con-nuestros-recursos-desembolsaron-del-bcb-y-finpro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/proponen-retirar-a-guatemala-del-parlamento-centroamericano/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nuestro-sueno-es-tener-la-universidad-policial-departamental/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/instagram-anade-nuevas-herramientas-para-dar-seguimiento-a-los-reportes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-papa-evita-pronunciarse-sobre-posibilidad-de-ordenar-sacerdotes-a-hombres-casados/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/evo-morales-no-podes-ser-candidato-no-solo-seria-ilegal-ademas-no-es-etico-ni-correcto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/senadora-califica-de-arbitrario-el-criterio-de-la-onu-sobre-leyes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/detienen-a-8-extranjeros-por-ingreso-irregular-al-pais/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/video-titulares-de-noticias-de-tv-bolivia-mediodia-del-miercoles-12-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/366-proyectos-se-postularon-al-fondo-de-fomento-de-adecine/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/elecciones-y-las-expectativas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tuto-habla-de-bolivia-corazon-verde-digital-y-critica-los-programas-refritos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/terna-boliviana-dirigira-en-el-sudamericano-sub-20-femenino/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/implicados-en-el-asesinato-del-piloto-zegarra-piden-defenderse-en-elibertad/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/comite-pro-santa-cruz-advierte-con-paro-indefinido-si-evo-es-habilitado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/salud-desembolsa-bs-6-millones-y-crea-20-itemes-para-el-hospital-de-clinicas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/quedan-incomunicadas-bermejo-y-carapari-por-desborde-de-rio-san-telmo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-anuncia-pago-del-bono-juana-azurduy-para-febrero-y-marzo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/coe-del-beni-reporta-desborde-de-rios-en-el-tipnis/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/lanchipa-afirma-que-aun-no-fue-notificado-con-la-denuncia-en-su-contra/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/reportan-un-motin-en-la-carcel-de-san-pedro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-paraliza-la-construccion-del-centro-nuclear-en-el-alto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/reconciliacion-positiva-p-p-pueblo-policia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/quemamos-11-000-millones-de-dolares/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tse-notificara-el-lunes-a-organizaciones-sobre-candidatos-inhabilitados/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fiscalia-allana-18-propiedades-de-dora-v-y-lamenta-falta-de-apoyo-de-dircabi/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-boliviano-pide-auditar-el-caso-terrorismo-y-establecer-responsabilidades-por-muertes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-clase-decisiva/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/anez-esta-preparada-para-hablar-mojeno-trinitario-dice-ministro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cidh-determina-dar-curso-a-la-solicitud-de-opinion-consultiva-sobre-la-reeleccion-presidencial-indefinida/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/santa-cruz-para-todos-dice-que-exfuncionarios-tienen-derecho-a-ser-candidatos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/he-pedido-a-la-fge_bolivia-la-ampliacion-del-proceso-penal-contra-evoespueblo-garcia-li/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/manuel-suarez-avila-es-el-nuevo-viceministro-de-relaciones-exteriores/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hospitales-del-complejo-miraflores-levantan-medidas-tras-un-acuerdo-con-el-gobierno/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mesa-pide-incluir-a-evo-y-a-garcia-linera-en-las-investigaciones-por-delito-electoral/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/denuncian-el-mal-estado-del-desayuno-escolar-en-satelite-norte/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/huarachi-es-momento-de-trabajar-en-nuestro-propio-instrumento-politico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/improvisacion-y-desinformacion-afectaron-al-53-de-postulantes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/continua-suspendida-la-salida-de-buses-de-santa-cruz-a-villa-montes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-tiempo-mejora-en-santa-cruz-y-se-preve-un-fin-de-semana-sin-lluvia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/una-app-que-traduce-las-llamadas-que-hacemos-a-otros-idiomas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/plaga-de-langostas-azota-al-municipio-de-machareti/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-gp-de-china-de-formula-1-aplazado-por-el-nuevo-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nos-da-mucha-fuerza-que-una-banda-de-rock-tan-reconocida-como-divididos-de-argentina-rei/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tq-prensa-cochabamba-12-feb-tema-us-6700-millones-de-farra-masista-en-bcb-y-finpro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/medicos-dejan-una-aguja-dentro-de-paciente-en-cochabamba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/finiquitos-compra-de-celulares-y-auspicios-enlodan-a-entel/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/china-lanza-una-app-para-que-los-usuarios-verifiquen-si-estuvieron-expuestos-al-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/activistas-anti-evo-morales-reclaman-unidad-para-enfrentar-a-su-delfin/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-plan-claure-arranca-de-la-mano-del-gigante-chevrolet/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/narcojet-pretendia-aterrizar-en-beni-pero-dgac-lo-rechazo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/quinteros-deja-valencia-viaja-a-miami-y-luego-a-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/martins-esta-dispuesto-a-renunciar-a-us-11-millones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-seleccion-puede-jugar-con-combinados-de-europa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nueve-exfuncionarios-de-la-alcaldia-ocupan-espacios-en-las-listas-de-creemos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/incoherencia-casi-fatal/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/santa-cruz-recibe-el-primer-clasificatorio-mayores-absoluto-de-ajedrez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/leyes-alista-retorno-a-la-alcaldia-de-cochabamba-y-anuncia-procesos-a-concejales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-alcaldia-de-santa-cruz-tiene-deuda-millonaria-por-obras-la-pagara-con-fideicomisos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/roca-si-hay-reglas-claras-tendre-una-empresa-de-aviacion-en-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hallan-en-un-basural-de-el-alto-un-ataud-con-una-pierna-humana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/planes-de-gobierno-son-replicas-de-2019-copias-y-plagios/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-primera-casa-de-campana-de-juntos-comenzo-a-trabajar-por-la-reconciliacion-nacional-y-l/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/santa-cruz-sera-sede-del-latino-de-motos-bmx-2/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fabol-pide-a-la-fbf-cumplir-normativas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/caricaturas-de-bolivia-del-miercoles-12-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-policia-detiene-a-jovenes-cuando-pretendian-deshacerse-del-cuerpo-de-su-amigo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/granadas-dos-muertos-y-nueve-detenidos-evidencian-la-presencia-del-pcc-en-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cobol-solicita-viabilizar-decreto-para-sucre-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fabricas-de-droga-no-paran-en-el-chapare/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gimenez-y-alvarez-se-suman-a-la-baja-de-chavez-en-wilster/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/aprehenden-a-tres-mujeres-con-36-kilos-de-marihuana-en-cochabamba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/aurora-pretende-romper-el-maleficio-ante-bolivar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/municipal-vinto-palmaflor-suma-al-mediocampista-lora/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/joven-ingresa-convulsionando-a-centro-medico-y-denuncian-una-violacion-grupal/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/los-candidatos-observados-deben-subsanar-hasta-las-1830-su-documentacion-ante-el-tse/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/felix-capriles-el-sedede-prepara-el-cesped-para-la-copa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/aseguran-que-el-chequeo-medico-de-evo-no-implica-enfermedad/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/proyectos-descabellados/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/roca-asegura-que-no-debe-nada-y-busca-recuperar-sus-propiedades/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ponce-adelanta-que-helmut-gutierrez-sera-titular-ante-vinto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/deportivo-cali-gana-con-susto-y-argentinos-juniors-cede-terreno-en-la-sudamericana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/portadas-de-periodicos-de-bolivia-del-miercoles-12-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tres-impugnaciones-en-puerta-contra-evo-y-el-mas-argumenta-el-ddhh-de-su-lider/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/horoscopo-del-12-de-febrero-predicciones-de-josie-diez-canseco/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hoy-12-febrero-a-las-700-am-estaremos-en-mananero-de-redbolivision-desde-cochabamba-e/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cob-se-acerca-al-gobierno-tras-quedar-marginada-del-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mujer-acusada-de-ser-amiga-intima-de-exministro-romero-rompe-el-silencio-y-denuncia-acoso/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/autorizan-juicio-contra-lanchipa-y-este-cambia-a-tres-fiscales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/se-jubila-arzobispo-que-vio-de-cerca-varias-crisis-politicas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bolsa-boliviana-de-valores-ingreso-a-las-operaciones-electronicas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-excandidato-presidencial-oscar-ortiz-comandara-la-campana-electoral-de-jeanine-anez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/senador-aguilar-plantea-que-eva-copa-postule-si-luis-arce-queda-inhabilitado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tq-en-tele-c-cochabamba-11-febrero-conversamos-sobre-nuestra-propuesta-corazon-verde-di/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/esta-noche-inauguramos-nuestra-casa-de-campana-en-cochabamba-avanzamos-juntos-hasta-log/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/comicios-en-bolivia-185-mujeres-quedaron-fuera-de-la-contienda-electoral-y-344-estan-en-suspenso/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/humberto-roca-volvio-al-pais-en-famapoderyganas-dijo-que-quiere-recuperar-525-bienes-in/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/legislativo-admite-juicio-de-responsabilidades-en-contra-del-fiscal-general-juan-lanchipa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/por-que-la-muerte-de-clavijo-el-policia-que-participo-en-el-asalto-al-hotel-las-americas-y-asesino-a-su-pareja-sigue-generando-dudas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/elod-toaso-da-nombres-de-161-involucrados-en-caso-terrorismo-y-dice-que-listado-es-parcial-no-incluye-complices/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/anuncian-la-reactivacion-del-conarade-para-atender-las-emergencias-por-lluvias-en-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/policia-captura-a-los-encapuchados-acusados-de-asesinar-a-dos-ninos-cuando-dormian-en-un-camion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/felicito-al-comite-multisectorial-gubernamental-de-prevencion-y-control-de-coronavirus-en/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mesa-visita-el-hospital-de-la-mujer-y-plantea-una-reorientacion-de-la-inversion-en-salud/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/chi-hyun-chung-presento-una-accion-popular-contra-el-tse-por-habilitar-al-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/camacho-el-tse-pone-en-riesgo-la-paz-en-el-pais-si-habilita-a-evo-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-15-de-febrero-vence-el-plazo-para-la-inspeccion-tecnica-vehicular/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/vocero-de-frente-para-la-victoria-niega-plagio-de-su-programa-de-gobierno/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/carreno-y-gutierrez-estan-en-los-planes-del-dt-para-enfrentar-a-real-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/san-jose-es-sancionado-con-us-18-000-por-irregularidades-en-los-partidos-de-la-libertadores/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ypfb-y-ende-apoyaran-por-primera-vez-la-iv-feria-internacional-de-energias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/desborde-del-rio-parapeti-afecto-a-la-comunidad-yapiroa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-mas-pide-a-humberto-roca-que-pague-sus-impuestos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/inhabilitaran-a-todas-las-candidaturas-de-las-listas-que-incumplan-la-alternancia-de-genero/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/caso-pat-abogado-niega-vinculos-de-hurtado-con-linera-y-con-compra-irregular-del-canal/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/destituyen-al-fiscal-samuel-lima-que-ordeno-aprehender-a-navarro-y-dorado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/exhumaran-los-restos-de-clavijo-el-policia-que-participo-en-el-asalto-al-hotel-las-americas-y-asesino-a-su-pareja/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/lanchipa-sustituye-al-fiscal-alave-tras-cuestionamientos-de-murillo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/exministro-hugo-moldiz-declarara-en-caso-torturas-mediante-exhorto-suplicatorio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/carl-a-z-se-prepara-para-jugar-la-liga-sudamericana-de-clubes-en-medellin/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobernadora-de-cochabamba-dice-que-no-permitira-el-traslado-de-la-planta-de-urea/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/delegado-de-judo-pide-una-zona-de-calentamiento-mas-grande-para-sucre-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/wilstermann-dos-personas-podran-ingresar-con-un-boleto-al-partido-ante-real-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/video-titulares-de-noticias-de-tv-bolivia-noche-del-martes-11-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-alto-lanzan-gas-lacrimogeno-en-instalaciones-de-la-upea-durante-una-asamblea-de-administrativos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/instrui-al-min-de-salud-y-a-todos-los-ministerios-involucrados-en-este-tema-de-interes-na/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/otro-hecho-de-violencia-se-registra-en-plena-campana-esta-vez-en-quillacollo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/juran-nuevos-fiscales-departamentales-de-la-paz-y-tarija/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-inesperada-aparicion-de-gloria-trevi-como-modelo-en-el-fashion-week-de-nueva-york/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/esta-noche-estaremos-con-moronoya-en-tele-c-desde-cochabamba-a-las-2200-conversando-so/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/concluye-el-primer-encuentro-nacional-de-la-anh-y-estaciones-de-servicio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nuevamente-vamos-con-el-voto-util/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/comite-civico-cruceno-pide-al-tse-la-inhabilitacion-de-evo-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/exvocal-del-tse-pide-inhabilitar-a-candidatos-que-no-cumplan-con-los-requisitos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/samsung-presenta-los-nuevos-miembros-de-la-familia-galaxy-s20-y-z-flip/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/anh-se-reune-con-estaciones-de-servicio-para-coordinar-mejoras-en-el-sector/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/plataformas-instalan-vigilia-en-el-ted-piden-inhabilitar-candidatura-de-evo-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/re-max-en-bolivia-y-el-mundo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/constitucionalicidas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/piden-a-la-presidente-anez-que-viabilice-extradicion-de-goni-y-sanchez-berzain/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/vecinos-afectados-por-los-deslizamientos-en-achocalla-piden-ayuda/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/como-hoy-en-1990-nelson-mandela-salio-de-la-prision-para-construir-la-paz-y-el-reencuent/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/venezuela-ya-estamos-en-caracas-traigo-el-compromiso-del-mundo-libre-dispuesto-a-ayuda/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alcaldia-paga-sueldos-a-medicos-y-piden-que-levanten-el-paro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/que-es-el-pcc-y-por-que-detono-un-explosivo-en-la-carcel-de-mocovi/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/afirman-que-linea-morada-del-teleferico-no-peligra-y-suspension-de-un-tramo-es-preventiva/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/abogado-leon-afirma-que-fiscal-general-juan-lanchipa-busca-proteger-a-evo-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-vivo-juan-guaido-llega-a-venezuela/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/incautan-vehiculo-de-comcipo-y-detienen-a-tres-personas-en-estado-de-ebriedad/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mira-el-testimonio-de-un-reo-que-vivio-el-momento-de-la-explosion-en-mocovi/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/piloto-que-solicito-a-la-dgac-realizar-el-vuelo-del-narcojet-fue-liberado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cc-dice-que-mesa-merece-el-voto-de-la-poblacion-porque-le-puso-el-pecho-al-mas-en-las-elecciones-de-2019/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/centro-de-emergencias-coordina-trabajos-para-evitar-mas-deslizamientos-en-la-paz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/senador-chambi-denuncia-la-suspension-de-pago-del-bono-juana-azurduy/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/murillo-advierte-a-jueces-y-fiscales-terminaran-en-la-carcel-si-se-empenan-en-liberar-delincuentes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fiscal-absuelve-y-deja-en-libertad-a-sujeto-acusado-de-violacion-a-una-estudiante/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mineras-auriferas-en-bolivia-consumen-120-toneladas-de-mercurio-por-ano/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/rafael-correa-se-enfrenta-a-su-primer-gran-juicio-por-corrupcion-en-ecuador/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-oms-cree-que-en-18-meses-se-podra-tener-una-vacuna-contra-el-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/rafael-quispe-presenta-una-demanda-de-inhabilitacion-a-la-postulacion-de-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/reportan-hospitales-saturados-por-casos-de-dengue-en-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fifa-crea-un-fondo-para-ayudar-a-los-jugadores-en-caso-de-impago-de-salario/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/chi-afirma-que-el-programa-es-responsabilidad-del-fpv/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ortiz-impugnara-la-candidatura-de-evo-ante-el-tse/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/reportan-que-17-reos-heridos-por-la-explosion-retornaron-al-penal-de-mocovi/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/abc-reporta-tramos-cerrados-por-lluvias-en-la-paz-beni-santa-cruz-y-tarija/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tse-debe-actuar-de-oficio-para-inhabilitar-a-evo-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/creemos-plantea-voto-desde-los-16-anos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/impresionantes-las-imagenes-del-desborde-del-rio-san-telmo-en-tarija/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/un-cabildo-pide-que-el-alcalde-garantice-planta-de-aguas-residuales-para-tiquipaya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dos-menores-mueren-ahogados-tras-ser-arrastrados-por-la-crecida-de-un-rio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/abt-no-tiene-ningun-registro-agrario-de-dora-vallejos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cob-recibe-visita-del-ministro-de-trabajo-y-ambos-se-comprometen-al-dialogo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/video-titulares-de-noticias-de-tv-bolivia-mediodia-del-martes-11-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/laboratorio-descarta-coronavirus-en-el-caso-del-joven-en-cochabamba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-efimero-marido-de-pamela-anderson-asegura-que-la-actriz-se-caso-con-el-para-pagar-sus-deudas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/chi-vamos-a-debatir-con-cualquiera-que-venga-evo-si-quiere/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/para-que-las-empresas-publicas-sean-exitosas-deben-ser-manejadas-eficientemente-el-mas-nu/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/barrios-en-la-cima-gana-la-victoria-alada-dorada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/identifican-a-narco-brasileno-del-pcc-como-el-autor-de-la-explosion-en-mocovi/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/posesionan-a-javier-issa-como-nuevo-viceministro-de-regimen-interior-y-policia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/joven-goleador-boliviano-de-boca-sufre-rotura-de-ligamento-y-meniscos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-antes-y-despues-del-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/casso-afirma-que-piloto-encontrado-con-droga-en-mexico-presto-servicios-a-boa-proveniente-de-una-empresa-de-miami/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/una-herramienta-gratis-para-anadir-subtitulos-en-videos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/evacuan-a-mas-de-500-personas-de-sus-casas-en-sao-paulo-por-las-inundaciones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/voto-a-los-16-anos-y-alusiones-biblicas-en-programas-electorales-en-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/erdogan-advierte-que-el-gobierno-sirio-pagara-un-alto-precio-por-atacar-a-los-soldados-turcos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/murio-raphael-coleman-uno-de-los-actores-de-la-ninera-magica/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/escandalo-en-la-premier-league/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/juventus-le-ofreceria-un-cheque-en-blanco-a-guardiola/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/que-es-el-primer-comando-de-la-capital-de-brasil-el-grupo-vinculado-a-la-explosion-en-mocovi/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/antoine-griezmann-se-siente-aislado-en-barcelona/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/adn-presento-un-amparo-para-que-se-habilite-a-sus-candidatos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-abogado-de-dora-v-se-presenta-a-declarar-y-dice-que-desconoce-el-origen-de-su-fortuna/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/las-estafas-con-criptomonedas-superaron-los-us-4-000-millones-en-2019/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/microsoft-lanza-apps-redisenadas-de-powerpoint-excel-y-word-en-ios/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fed-coronavirus-puede-perturbar-economia-china-y-actividad-global/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/diputado-asegura-que-droga-decomisada-en-mexico-fue-cargada-en-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/justicia-argentina-anula-ultima-orden-de-detencion-contra-vicepresidenta/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/filipinas-anula-formalmente-importante-acuerdo-militar-con-eeuu/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/primera-vuelta-presidencial-en-ecuador-se-adelanta-al-7-de-febrero-de-2021/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sube-a-dos-la-cifra-de-reos-muertos-tras-la-explosion-en-la-carcel-de-mocovi/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/murillo-los-que-cometieron-delitos-y-salieron-como-exiliados-deben-purgar-su-condena/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/recaudan-casi-tres-toneladas-de-ayuda-para-cotagaita/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-papa-nombra-a-centellas-como-arzobispo-de-sucre-tras-renuncia-de-juarez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/coronavirus-periodo-de-incubacion-es-de-hasta-24-dias-segun-estudio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-conmovedor-video-de-ricardo-montaner-bailando-con-su-hija-evaluna-durante-su-boda/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-bolivia-corazonverdedigital-generara-energia-con-gas-combustible-de-transicion-y-en/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/esta-ia-puede-calcular-la-ruta-mas-segura-tras-un-terremoto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/anibal-cruz-llegaron-los-reactivos-para-detectar-el-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/requisan-carcel-de-san-pedro-y-encuentran-armas-punzo-cortantes-y-sustancias-controladas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bolivar-analiza-la-llegada-de-un-par-de-refuerzos-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/exdiputada-susana-rivero-dice-que-se-fue-de-bolivia-por-amenazas-de-muerte/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/poblacion-indigena-de-charagua-bajo-agua-por-las-intensas-lluvias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cinco-tips-basicos-para-cuidar-la-aspiradora/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-tigre-ensaya-con-castro-y-reina-en-la-mitad-del-campo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tras-dichos-de-relator-de-la-onu-ue-respalda-proceso-transitorio-de-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/leonardortn-hola-leonardo-lo-invito-a-que-lea-la-parte-de-economia-de-nuestro-plan-de-go/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alertan-sobre-la-presencia-de-langostas-en-trinidad/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/espana-psoe-y-podemos-vetan-5-preguntas-de-abascal-sobre-los-pagos-de-correa-al-partido-de-iglesias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/investigaran-propiedades-de-dora-vallejos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-ordena-reforzar-seguridad-en-las-carceles-del-pais-ante-presencia-de-gente-del-pcc/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cinco-paises-llegaran-para-la-copa-andina-del-deporte-integrado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/herederos-de-la-politica-banzer-paz-cuellar-y-zamora-figuran-en-las-listas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/leyes-no-vamos-a-descansar-hasta-que-evo-y-sus-complices-rindan-cuentas-ante-la-justicia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cenetrop-podra-diagnosticar-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cotas-debera-pagar-26-millones-de-dolares-a-daher-por-compras-irregulares/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/provision-y-montaje-de-interconexiones-hidraulicas-para-planta-de-remocion-de-manganeso-suroeste/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hay-una-aplicacion-que-resume-textos-usando-inteligencia-artificial/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/malware-a-traves-de-bluetooth-la-nueva-amenaza-movil/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cemento-fancesa-injerencia-politica-comienza-a-pasar-factura/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/detencion-preventiva-por-transportar-96-paquetes-de-cocaina/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/palma-ficha-a-central-que-dirigio-simeone/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/vinculan-al-pcc-brasileno-con-la-explosion-en-la-carcel-beniana-de-mocovi/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/willan-hay-un-dios-que-todo-lo-ve-el-castigara-a-cornejo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hermanos-bolivianos-pongamos-todo-nuestro-esfuerzo-para-que-esta-campana-electoral-se-car/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/chayanne-retorna-a-bolivia-con-sus-hits-de-30-anos-de-trayectoria/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cochabamba-linea-urbana-de-tren-en-punto-cero-gobierno-deslinda-responsabilidad/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/perozo-estara-habilitado-para-jugar-ante-royal-pari/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/inra-identifica-irregularidades-en-20-asentamientos-en-la-chiquitania/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/los-desastres-ocasionados-por-las-lluvias-han-traido-muertes-viviendas-destruidas-y-gran/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/pepe-pena-hara-cinco-cambios-para-visitar-a-wilstermann/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cesar-salinas-la-receta-para-mejorar-se-resume-en-una-frase-jugar-jugar-y-jugar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gamarra-podra-estar-de-vuelta-ante-real-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cordano-apunta-a-seguir-creciendo-para-jugar-en-el-exterior/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-febona-abre-temporada-2020-con-el-nacional-interclubes-en-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/requisa-en-palmasola-decomisan-armas-blancas-celulares-alcohol-y-droga/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mesa-pide-cumplir-lo-dispuesto-en-la-constitucion-ante-postulacion-de-evo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/petrolero-de-tarija-asciende-a-la-liga-de-futbol-de-salon/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-paz-domina-en-el-campeonato-nacional-de-milla-y-marcha/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fiscales-de-la-paz-williams-alave-y-samuel-lima-habrian-renunciado-a-sus-cargos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/diputada-millares-advierte-que-vocales-del-tse-podrian-ser-procesados-si-habilitan-a-evo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/destino-final-cuba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/salvatierra-gutierrez-y-mas-de-200-candidatos-de-chi-quedan-inhabilitados/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cruzeiro-negocia-el-regreso-de-martins-a-sus-filas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/portadas-de-periodicos-de-bolivia-del-martes-11-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/caen-dos-pilotos-ligados-a-narcojet-y-allanan-casa-de-us-3-millones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/horoscopo-del-11-de-febrero-predicciones-de-josie-diez-canseco/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/caso-rozsa-toaso-identifica-a-evo-y-92-exfuncionarios-como-responsables/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/humberto-roca-llega-a-bolivia-y-anuncia-procesos-contra-evo-y-garcia-linera/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/colombia-concluye-estudio-pericial-del-audio-entre-evo-morales-y-dirigente-yucra/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/lluvias-dejan-ocho-muertos-en-bolivia-la-mayoria-en-la-paz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bolivia-busca-estabilizar-venta-de-gas-a-la-argentina-en-10-mmmcd/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/evo-llega-a-cuba-y-en-bolivia-refuerzan-fronteras-para-evitar-su-ingreso-al-pais/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/video-asi-es-uno-de-los-57-lujosos-bienes-de-dora-la-reina-del-norte/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/citan-a-lanchipa-para-responder-por-cinco-presuntos-delitos-ante-la-alp/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/reportan-la-muerte-de-un-interno-y-mas-de-una-veintena-de-heridos-tras-explosion-en-la-carcel-de-mocovi/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/iniciamos-el-aniversario-de-oruro-con-la-iza-de-la-bandera-y-la-sesion-de-honor-en-la-alc/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-conade-critica-al-comite-civico-de-santa-cruz-por-intentar-presionar-al-tse/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/donde-esta-la-reina-del-norte/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/beni-explosion-en-la-carcel-de-mocovi-deja-varios-heridos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mas-del-60-de-candidatas-de-libre-21-y-pan-bol-fueron-observadas-por-el-tse/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mesa-recuerda-que-morales-perdio-su-residencia-en-bolivia-y-pide-al-tse-aplicar-la-constitucion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fiscalia-desmiente-que-colombia-rechazo-hacer-estudio-de-audio-de-evo-morales-con-dirigente-del-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dentro-de-las-actividades-oficiales-por-el-aniversario-de-oruro-participamos-del-tedeum-e/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/interoperabilidad-fortalece-la-seguridad-nacional/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/triste-que-berniesanders-aspirante-a-presidencia-de-eeuu-defienda-al-tirano-evo-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/jimena-costa-candidatos-del-mas-sin-consenso-revelan-su-crisis-interna/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fernandez-dice-que-evo-es-refugiado-y-que-nada-le-impide-ir-a-cuba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/carlos-romero-presentara-denuncia-por-difamacion-y-calumnias-contra-periodista-espanol/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/juez-dicta-detencion-domiciliaria-para-gustavo-torrico-con-una-fianza-de-bs-25-mil/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/parlasur-pedira-enviar-una-mision-de-observacion-a-las-elecciones-presidenciales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/antes-de-culminar-nuestra-visita-oficial-a-la-ciudad-de-oruro-junto-al-min-de-hidrocarbu/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/condenan-a-religioso-a-25-anos-de-carcel-por-abuso-de-menor-en-tarija/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hallan-una-granada-de-guerra-en-el-penal-de-el-abra-con-la-inscripcion-del-pcc/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/policia-y-ejercito-fortalecen-control-en-frontera-con-argentina-por-viaje-de-evo-morales-a-cuba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/joven-fue-dopada-y-violada-en-una-casa-abandonada-en-cochabamba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/internan-a-gobernador-de-chuquisaca-por-afeccion-estomacal-y-demandante-teme-por-su-fuga/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mesa-sobre-anez-hay-una-linea-delgada-entre-el-papel-de-presidenta-y-candidata/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/intensas-lluvias-7-rios-de-la-paz-y-beni-son-vulnerables/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/video-titulares-de-noticias-de-tv-bolivia-noche-del-lunes-10-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/legislativo-aguarda-proyecto-de-ley-para-atencion-en-casos-de-desastre/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/por-el-caso-eurochronos-se-imputo-formalmente-a-4-uniformados/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/diputado-monasterio-pedira-la-extradicion-del-exministro-sanchez-berzain/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cob-considera-pedir-15-de-incremento-salarial-para-este-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/autoridades-agropecuarias-y-expertos-internacionales-analizan-proyectos-sectoriales-en-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tse-recibio-mas-de-seis-impugnaciones-contra-candidatos-a-presidente-y-legisladores/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/civicos-crucenos-llegaran-a-la-paz-para-evitar-la-habilitacion-de-evo-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/asi-fue-la-boda-de-la-hija-de-ricardo-montaner-y-el-cantante-colombiano-camilo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/revelan-detalles-y-fotos-de-la-amenaza-al-periodista-espanol-que-investiga-nexos-del-mas-con-podemos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/con-una-inversion-de-268-millones-de-bolivianos-estos-ambientes-podran-cobijar-a-179-fun/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/vamos-a-regresar-asumiendo-los-riesgos-como-todos-los-que-luchan-y-dispuestos-a-hacer/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-felcc-de-santa-cruz-investiga-la-muerte-de-tres-personas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/encapuchados-asesinan-a-dos-ninos-que-dormian-en-un-camion-en-la-carretera-a-pisiga/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/segun-la-cancilleria-cubana-evo-retornara-a-argentina-el-fin-de-semana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/inclemencias-del-tiempo-coadyuvan-a-proliferacion-de-mosquitos-y-casos-de-dengue-suben-a-2-282-en-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alistan-el-control-de-las-rotondas-y-provincias-si-habilitan-a-evo-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/erick-moron-denuncia-supuesto-acuerdo-entre-el-mas-y-democratas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/suman-dos-los-fallecidos-por-desastres-provocados-por-las-lluvias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/jubilados-piden-al-gobierno-el-incremento-a-sus-rentas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/se-registraron-incidentes-despues-del-clasico-blooming-oriente/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tuto-dice-que-impugnara-la-postulacion-de-evo-si-el-tse-lo-habilita-2/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fiscalia-amplia-denuncia-contra-el-exviceministro-jorge-perez-por-el-caso-martin-belaunde/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/recluido-en-su-casa-y-deprimido-asi-vive-pele-su-recuperacion-de-una-cirugia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/felcc-investiga-muerte-de-una-adolescente-en-el-torno/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ministro-de-justicia-pedira-un-informe-a-la-fiscalia-sobre-el-caso-vallejos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bukele-si-fuera-un-dictador-habria-tomado-el-control-de-todo-el-gobierno-anoche/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/segun-un-modelo-matematico-mas-de-3-000-personas-podrian-morir-de-coronavirus-a-nivel-global/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-drama-de-pele-sufre-depresion-y-no-quiere-salir-de-su-casa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-mas-respetara-decision-del-tse-sobre-la-candidatura-de-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mira-a-los-11-mejores-vestidos-de-la-alfombra-roja-de-los-premios-oscar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/joven-fue-hallado-muerto-en-su-domicilio-sospechan-de-su-pareja/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/aparicio-tiene-una-enorme-responsabilidad-al-hacerse-cargo-de-temas-que-tenemos-en-la-haya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/union-europea-destaca-a-los-conciliadores-del-mas-y-lamenta-su-exclusion-de-las-candidaturas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/reportan-13-casos-de-dengue-confirmados-en-san-ignacio-de-moxos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fiscalia-anuncia-que-los-resultados-sobre-el-audio-de-morales-se-conoceran-en-los-proximos-dias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/iglesia-recuerda-a-los-candidatos-no-usar-simbolos-religiosos-en-las-campanas-electorales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/archivan-proceso-penal-en-contra-de-marco-pumari/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dos-reos-provocaron-un-incendio-en-una-celda-en-palmasola/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/detienen-a-jefe-de-diprove-en-pando-con-bs-17-000-y-lo-acusan-de-extorsion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/allanan-inmueble-de-dora-vallejos-valuado-en-mas-de-2-millones-de-dolares/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/candidatos-observados-tienen-dos-dias-para-completar-requisitos-ante-el-tse/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dan-detencion-domiciliaria-a-la-hermana-del-exgerente-de-pat/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/evo-morales-tiene-hasta-el-miercoles-para-subsanar-observaciones-del-tse/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/encuentran-a-un-ciudadano-asiatico-sin-vida-en-su-domicilio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-gasto-en-propaganda/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tres-vias-permanecen-intransitables-en-el-departamento-la-paz-por-lluvias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tensiones-en-el-desfile-de-oruro-ante-la-presencia-de-jeanine-anez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-fpv-boliviano-plagia-de-nuevo-el-programa-politico-de-un-partido-peruano/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/exlider-de-podemos-en-espana-y-alvaro-garcia-linera-publican-un-libro-sobre-politica/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/1601505/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/oriente-debe-corregir-errores-defensivos-y-la-falta-de-efectividad-en-el-ataque/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/m-m-una-formula-explosiva-que-hizo-estragos-en-el-clasico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-tse-observo-a-mas-de-700-candidatos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-bolivia-creen-que-el-viaje-de-evo-a-cuba-es-una-excusa-para-liberar-a-alberto-fernandez-de-las-presiones-contra-su-asilo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tuto-quiroga-dice-que-evo-morales-es-un-invitado-toxico-para-argentina-y-mexico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/jeanine-anez-inaugura-edificio-ypfb-oruro-para-mejorar-servicio-a-la-poblacion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/periodistas-renuevan-directiva-y-piden-que-no-retornen-los-14-anos-de-mordaza/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-abc-informa-que-pese-a-las-lluvias-las-carreteras-estan-transitables/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-dispone-de-bs-40-millones-para-reponer-casas-destruidas-por-efectos-climaticos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/idif-no-hay-suficiente-adn-en-los-restos-para-saber-si-son-de-marcelo-quiroga/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/union-europea-destaca-a-eva-copa-y-conciliadores-del-mas-observa-exclusion-de-candidaturas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tuto-dice-que-impugnara-la-postulacion-de-evo-si-el-tse-lo-habilita/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/video-titulares-de-noticias-de-tv-bolivia-mediodia-del-lunes-10-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-expropietario-de-aerosur-humberto-roca-retorna-a-bolivia-este-martes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/juez-de-la-corte-idh-abogado-de-evo-es-apartado-de-casos-que-atanen-a-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/masistas-provocan-incidentes-y-hostigan-a-jeanine-en-acto-por-aniversario-de-oruro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/anez-felicita-a-oruro-por-su-239-aniversario-y-compromete-su-presencia-en-el-carnaval/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dirigente-se-disculpa-por-declaraciones-contra-los-choferes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/coronavirus-xi-jinping-reaparecio-en-publico-con-una-mascarilla-y-se-dejo-tomar-la-temperatura-tras-varios-dias-de-reclusion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/comite-civico-suspende-asamblea-de-la-crucenidad-y-se-declara-en-emergencia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ministros-del-area-agropecuaria-y-expertos-analizan-y-proyectan-al-sector/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mujer-acusada-de-rapto-de-una-bebe-fue-delatada-por-sus-familiares/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cob-asegura-que-el-mas-margino-a-candidatos-del-ente-matriz-de-los-trabajadores/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/paco-las-observaciones-del-tse-a-las-candidaturas-de-arce-y-morales-son-subsanables/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/obrero-muere-electrocutado-en-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/santa-cruz-de-60-camas-para-ninos-con-dengue-solo-25-funcionan-y-no-abastecen/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/canciller-longaric-asiste-a-cita-por-el-silala-en-la-haya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/samuel-doria-medina-no-habra-masacre-blanca-sino-austeridad-para-mantener-el-crecimiento/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-tres-meses-los-golpistas-han-matado-a-decenas-han-herido-a-cientos-persiguen-y-encar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tq-prensa-lp-10-febrero-temas-prohibir-reeleccion-inmediata-y-evo-morales-a-cuba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/calles-de-santa-cruz-amanecen-anegadas-la-lluvia-se-queda-hasta-manana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mas-confirma-el-viaje-de-evo-a-cuba-asegura-que-el-motivo-es-su-salud-y-desvirtua-especulaciones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/presidenta-anez-recibe-la-llave-de-oruro-y-es-declarada-huesped-ilustre-de-esa-urbe/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/con-nuestro-plan-vamos-a-dejar-todo-por-bolivia-vamos-a-arrancar-el-problema-de-raiz-po/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/jorge-cordero-el-mas-aprobo-invertir-en-proyectos-electricos-sin-planificacion-seria/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/polemica-por-declaraciones-de-un-dirigente-contra-choferes-del-transporte/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/jaime-aparicio-es-el-nuevo-agente-de-bolivia-ante-la-haya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ministro-parada-reta-a-un-debate-a-luis-arce-sobre-la-situacion-economica-del-pais/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/camara-de-la-construccion-exige-el-pago-al-estado-por-obras-realizadas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/onu-identifica-vulneracion-de-ddhh-pide-libertad-e-indemnizacion-a-leyes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/franclin-gutierrez-pide-voto-castigo-para-el-mas-en-los-yungas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/se-podra-usar-la-lluvia-como-fuente-de-energia-renovable/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-en-dos-meses-de-gestion-deficit-baja-a-72/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/felicidades-oruro-por-su-239-aniversario/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-mejor-homenaje-a-oruro-en-su-aniversario-es-aportar-con-ideas-y-fuerza-para-impulsar-la/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-aparato-estatal-de-bolivia-tiene-526-mil-funcionarios-por-ano-crece-10/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cossio-no-tengo-problema-en-renunciar-por-el-interes-del-pais/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/que-sigue-ahora-estas-son-las-siguientes-etapas-en-el-calendario-electoral/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-unos-minutos-estare-en-el-cafe-de-la-manana-de-fides-radio-y-tv-para-conversar-con-nico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nuestro-mejor-homenaje-a-oruro-en-el-239o-aniversario-de-su-revolucion-libertaria-es-el-c/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cientificos-crean-dispositivo-con-capacidad-para-detectar-bacterias-perjudiciales-en-los-alimentos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/corea-del-sur-celebra-con-sorpresa-y-alegria-el-oscar-para-parasitos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-tse-inhabilito-a-adriana-salvatierra/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fallece-el-medico-y-musico-tarijeno-eduardo-farfan-autor-de-la-cancion-chapaco-alzao/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/108-emergencias-por-las-intensas-lluvias-en-la-paz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/colombia-no-hace-analisis-forense-a-voz-de-evo-por-error-protocolar-de-fiscalia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/camargo-logra-plata-en-carrera-de-miami/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-hangar-rojo-de-wilstermann-tiene-95-de-avance-y-lo-estrenan-en-marzo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/donde-whatsapp-guarda-las-conversaciones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/happy-peredo-elegido-mejor-deportista-de-2019/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/paco-hay-miedo-a-la-candidatura-de-evo-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tras-su-tratamiento-medico-en-cuba-evo-regresara-a-la-argentina-y-preve-un-acto-electoral/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/duplantis-el-nuevo-rey-de-la-garrocha/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/jhiery-fernandez-tengo-desgaste-fisico-emocional-y-economico-luego-de-6-anos-de-problemas-legales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-realidad-aumentada-llega-a-moovit-para-facilitar-la-navegacion-urbana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/los-pacenos-mandan-en-la-marcha-del-campeonato-nacional-atletico-de-tarija/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/opositores-al-mas-aseguran-que-evo-no-puede-ser-habilitado-como-candidato/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/toda-mi-solidaridad-con-las-familias-afectadas-por-la-mazamorra-en-el-municipio-de-achocal/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/somos-un-millon-en-twitterjuntos-hemos-hecho-de-esta-red-social-un-espacio-de-reflexion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-justicia-boliviana-investiga-al-ex-jefe-de-la-policia-por-apoyar-a-evo-morales-cuando-era-presidente/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/petrolero-de-yacuiba-asciende-en-el-futsal/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/morales-habria-salido-de-argentina-hace-dos-meses-advertimos-a-alferdez-que-evo-seria-un/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bolivia-ya-tiene-equipo-para-la-copa-davis/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/blooming-liquido-a-oriente-mira-los-memes-del-clasico-cruceno-189/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cordano-fue-un-candado-en-el-arco-celeste/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/barral-manifesto-que-el-mas-obligaba-a-servidores-publicos-a-asistir-a-sus-eventos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bolivar-cae-en-montero-y-deja-mas-dudas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/always-ready-golea-a-real-santa-cruz-y-se-consolida-como-puntero-solitario/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/argentina-y-brasil-representaran-a-sudamerica-en-los-jjoo-de-tokio-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mateo-21/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/diario-irlandes-pide-indagacion-neutral-por-la-muerte-de-dwyer/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bolivia-y-venezuela-en-la-agenda-de-la-conduccion-del-parlasur-que-se-reune-por-primera-vez-este-lunes-en-buenos-aires/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/portadas-de-periodicos-de-bolivia-del-lunes-10-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/horoscopo-del-10-de-febrero-predicciones-de-josie-diez-canseco/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/evo-morales-abandono-la-argentina-y-viajo-a-cuba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-binomio-de-adn-esta-inhabilitado-para-los-comicios-de-mayo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/programas-alianzas-proponen-darle-mas-peso-a-la-alp-y-quitarle-atribuciones-al-presidente/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/candidatos-se-dan-bano-de-pueblo-por-los-votos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/239-anos-de-la-revolucion-libertadora-de-oruro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/parasite-arrasa-en-los-premios-oscar-mejor-pelicula-mejor-director-y-mejor-pelicula-internacional/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/joaquin-phoenix-ganador-del-oscar-a-mejor-actor-2020-por-joker/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/camacho-lamenta-que-el-tse-ponga-en-la-misma-canasta-a-evo-y-cossio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/parasite-gana-como-mejor-pelicula-internacional-y-se-ilusiona-con-el-premio-mayor/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/frente-a-los-sucesos-en-el-salvador-expreso-mi-preocupacion-por-el-deterioro-de-la-democra/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/pakistan-ahorcara-en-publico-a-los-violadores-de-ninos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/un-ciudadano-britanico-es-el-segundo-caso-de-coronavirus-en-espana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/laura-dern-y-brad-pitt-se-llevan-premios-oscar-como-mejores-actores-de-repartos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/blooming-gana-a-oriente-3-1-y-muestra-buen-rendimiento/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-tse-observa-las-candidaturas-de-evo-arce-pary-y-cossio-por-el-requisito-de-residencia-permanente/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/quisieramos-decir-que-las-cosas-han-cambiado-y-que-las-injusticias-se-han-terminado-desde/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cossio-retirara-su-candidatura-si-su-caso-sera-utilizado-para-habilitar-a-evo-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/revelan-detalles-de-la-boda-de-jennifer-lopez-y-alex-rodriguez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/manana-10-de-febrero-la-valerosa-tierra-de-oruro-esta-de-efemeride-hemos-llegado-para-pa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/este-10-febrero-estaremos-en-programas-mananeros-de-cadenaabolivia-a-las-615-am-en-red/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/esto-cobraron-meghan-y-harry-por-su-primera-aparicion-publica-tras-el-megxit/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/china-informo-que-ya-son-902-los-muertos-y-mas-de-40-000-los-contagiados-por-el-nuevo-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mira-la-previa-de-la-ceremonia-de-los-premios-oscar-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/junto-a-diferentes-autoridades-nacionales-departamentales-y-locales-hemos-asistido-a-la/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/evo-arce-pumari-y-cossio-estan-entre-los-candidatos-observados-por-el-tse/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/saludo-la-gran-concentracion-y-movilizacion-de-los-hermanos-y-hermanas-en-sacaba-cochabam/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ejecuciones-el-verdadero-problema-de-evo-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/y-ahora-donde-esta-la-cia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/labores-escolares-en-el-tipnis-inician-el-lunes-a-pesar-de-problemas-en-el-traslado-de-maestros/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/como-beniana-se-lo-que-significa-la-falta-de-atencion-de-un-gobierno-central-y-hoy-quere/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/niegan-intencion-de-cerrar-periodico-estatal-bolivia-por-presunta-insolvencia-economica/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sedes-descarta-caso-de-coronavirus-de-ciudadano-chino-internado-en-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-crucero-diamond-princess-registra-70-casos-de-coronavirus-y-ya-es-el-foco-mas-grande-fuera-de-china/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/anuncian-nuevas-movilizaciones-en-bolivia-ante-el-temor-de-que-evo-morales-sea-habilitado-como-candidato-a-senador/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-bolivia-hay-22-procesos-penales-por-mala-praxis-y-decenas-sin-denuncia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/presidenta-anez-realza-actos-conmemorativos-por-los-239-anos-del-grito-libertario-de-oruro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/felicidades-endecorporacion-por-su-58-aniversario-produciendo-transmitiendo-y-distribu/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-boliviano-preve-que-resultado-de-laboratorio-de-paciente-sospechoso-de-coronavirus-llegue-el-martes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/desborde-de-rio-en-el-municipio-de-achocalla-destruye-12-viviendas-y-cobra-la-vida-de-una-persona/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/partidos-reformaran-la-cpe-para-anular-eleccion-de-jueces/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/comision-boliviana-expone-logros-en-salud-obtenidos-ante-la-oms/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/los-organismos-y-la-comunidad-internacional-ponderaron-las-buenas-relaciones-con-bolivia-e/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/las-acciones-con-valor-de-10000-bs-que-recibira-cada-ciudadano-en-bolivia-convertir/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-justa-a-quien-llama-mi-heroe/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/movimientos-populistas-llegaron-al-poder-a-costa-de-la-constitucion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/observaciones-a-candidatos-e-inhabilitaciones-seran-notificadas-el-lunes-a-organizaciones-politicas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tse-recibe-us-9-millones-en-ayuda-tecnica-para-elecciones-del-3-de-mayo-en-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cidh-onu-y-otros-despiertan-despues-de-14-anos-de-silencio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/barral-no-descarta-procesar-a-miembros-del-tse-si-vulneran-la-constitucion-para-habilitar-a-algunos-candidatos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cae-plataforma-en-ruta-a-caranavi-y-hay-al-menos-100-coches-detenidos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/blooming-quiere-curar-sus-heridas-y-oriente-ratificar-su-favoritismo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/milton-navarro-le-hemos-abierto-las-puertas-a-deportistas-y-federaciones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/titi-es-considerado-el-felino-mas-amenazado-en-america-y-uno-de-los-mas-desconocidos-en-el-mundo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fundacion-de-ddhh-bolivia-denuncio-al-menos-tres-veces-atropellos-de-morales-ante-garcia-sayan/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-nuestra-propuesta-corazonverdedigital-las-empresas-estatales-seran-del-pueblo-de-verd/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/conoce-las-empresas-y-medios-habilitados-para-elaborar-y-difundir-estudios-electorales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/japon-y-su-robot-gundam-de-20-metros-basado-en-su-propio-anime-de-1979-para-los-juegos-olimpicos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/descartan-que-ciudadano-chino-tratado-en-santa-cruz-porte-el-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/las-mejores-imagenes-de-la-luna-de-nieve/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-fe-y-la-politica-del-fanatismo-a-la-ofensa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/auraring-el-anillo-inteligente-que-rastrea-magneticamente-el-dedo-del-usuario/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/para-sobrevivir-el-regimen-de-venezuela-renuncia-a-decadas-de-control-sobre-el-petroleo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/los-crucenos-son-politicamente-democraticos-y-autoritarios-a-la-vez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/eeuu-prueba-a-excalibur-s-su-nueva-arma-militar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/diputado-pide-al-gobierno-preocuparse-por-reactivar-produccion-de-urea-en-bulo-bulo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/miles-de-juegos-de-flash-para-bajar-y-jugar-sin-necesidad-de-conexion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ultima-preca-romy-contagio-alegria/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/conade-ratifica-apoyo-a-grupos-de-resistencia-civil-y-esperan-investigaciones-sobre-excesos-cometidos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alcaldia-pacena-inicia-trabajos-en-la-zona-pasankeri-donde-se-produjo-un-deslizamiento/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/duran-se-consagra-en-sub-16-del-brasil-juniors-cup/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/reportan-el-derrumbe-de-escombros-en-la-ruta-tarija-villa-montes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/diputada-millares-pide-que-no-se-les-otorgue-salvoconductos-a-exautoridades-procesadas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tse-define-hoy-si-evo-podra-ser-candidato-civicos-se-declaran-en-emergencia-ante-esta-posibilidad/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/una-guerra-silenciosa-en-nicaragua-masacran-a-indigenas-para-despojarlos-de-sus-tierras/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/de-diana-ross-y-lionel-richie-a-bradley-cooper-con-lady-gaga-12-inolvidables-actuaciones-musicales-de-la-noche-de-los-oscar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/amadeus-code-y-evoke-music-para-crear-musica-con-ayuda-de-inteligencia-artificial/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/advierten-desequilibrio-ecologico-en-parque-carrasco-de-cochabamba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/villa-montes-reporta-ingreso-de-la-plaga-de-langostas-voladoras-a-predios-agricolas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/asi-se-verian-diferentes-personalidades-del-pasado-en-la-actualidad-segun-esta-cuenta-de-instagram/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-onu-alerto-de-que-el-estado-islamico-sigue-en-el-centro-de-la-amenaza-terrorista-transnacional/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/coronavirus-aterrizaron-en-brasil-los-dos-aviones-con-decenas-de-repatriados-desde-wuhan-y-quedaron-en-cuarentena/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/netflix-ya-permite-desactivar-las-reproducciones-automaticas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/como-es-el-impresionante-yate-de-lujo-ecologico-que-bill-gates-compro-por-645-millones-de-dolares/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nuevos-jueces-deben-sujetarse-a-examenes-psicologico-y-oral/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/optimismo-para-el-domingo-3-de-mayo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/caricaturas-de-bolivia-del-domingo-9-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/regina-peredo-se-llevo-la-corona-del-reina-hispanoamericana-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/joven-rompe-el-vidrio-de-un-vehiculo-ajeno-porque-estaba-molesto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-regimen-de-iran-presento-una-nueva-generacion-de-misiles-balisticos-de-corto-alcance/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/valentina-shevchenko-sigue-siendo-la-campeona-de-peso-mosca/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/jon-jones-continua-siendo-el-campeon-de-los-semicompletos-de-ufc/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-ultimo-gesto-real-que-la-reina-isabel-ii-le-pidio-a-harry-y-meghan/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/los-carteles-estadounidenses-si-existen-revelo-un-agente-de-la-dea/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/civicos-crucenos-en-emergencia-rechazan-habilitacion-de-evo-pero-justifica-a-cossio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/iglesia-pide-corresponsabilidad-de-la-poblacion-para-prevenir-el-dengue/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/papa-presentara-su-exhortacion-postsinodal-tras-incendio-de-la-chiquitania/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/puerto-de-matarani-en-peru-logro-un-flujo-de-200-mil-toneladas-de-carga-boliviana-el-2019/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/aevivienda-reconstruira-las-20-casas-destruidas-en-cotagaita/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dos-personas-fallecen-en-una-colision-mortal-en-la-via-potosi-oruro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alemanes-piden-senales-claras-al-pais-para-salvar-negocio-de-us-2-184-millones-por-litio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-mas-cedio-el-poder-para-sacar-a-evo-y-anez-pidio-seguridad-para-su-familia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/partidos-politicos-entre-la-falta-de-etica-y-improvisacion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cuatro-rios-en-riesgo-de-desborde-en-el-tropico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-motor-economico-del-pais-ahora-tambien-define-el-poder-politico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/arce-y-camacho-inician-campanas-uno-advierte-y-el-otro-se-emociona/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/parroco-aclara-sobre-canticos-y-rezos-de-seguidores-de-camacho-en-la-iglesia-de-cotoca/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-perfecto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/audiencia-de-gustavo-torrico-es-suspendida/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/choquehuanca-sorprende-y-canta-a-capela-condor-pasa-en-acto-de-proclamacion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cochabamba-acusan-a-maestra-por-negar-a-sus-alumnos-ir-al-bano-usaron-botellas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alcaldia-crucena-retrasa-por-cuarta-vez-entrega-de-la-quinta-hay-criticas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/empresa-misicuni-a-cargo-de-administracion-y-venta-del-agua-en-cochabamba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-presidenta-jeanine-anez-en-campana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/narcojet-que-cayo-en-mexico-tuvo-un-vuelo-fantasma-por-cerca-de-1-hora-en-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/escapo-la-reina-del-norte-fiscal-y-parlamentario-reparten-culpas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sucre-dos-personas-mueren-al-embarrancarse-un-trufi-en-el-sector-de-punilla/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/chi-inicia-campana-en-sucre-estamos-cansados-de-comunistas-y-narcologieros/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/carlos-mesa-representamos-la-candidatura-de-la-reconciliacion-y-el-reencuentro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/viajar-siete-lugares-para-visitar-en-el-feriado-de-carnaval/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/oruro-vannia-miranda-primera-mujer-en-dirigir-el-festival-de-bandas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cuatro-partidos-completan-la-quinta-fecha/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/identifican-tres-causas-para-deficit-de-bs-100-mm-en-la-umss/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/oficinas-del-distrito-6-de-sacaba-permanecen-mas-de-10-dias-tapiadas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/binomios-se-muestran-cautos-con-la-economia-y-radicales-con-la-religion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/advierten-desabastecimiento-de-glp-por-baja-reposicion-de-garrafas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/salvador-romero-el-tse-va-a-estar-a-cargo-del-sistema-de-difusion-de-resultados-preliminares/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-felcv-investiga-muerte-de-joven-de-18-anos-como-homicidio-suicidio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cotagaita-clama-ayuda-y-lluvias-causan-alarma-en-la-paz-y-beni/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/eva-copa-promulgara-17-proyectos-de-ley/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/los-empresarios-y-gobierno-acuerdan-agenda-de-trabajo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/narcosque-hay-detras-de-los-sellos-en-los-paquetes-de-droga/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/always-recibe-a-real-santa-cruz-con-11-combinados/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/%c2%93queremos-que-vayan-seis-bolivianos-a-los-jjoo%c2%94/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bascope-pide-a-organismos-garantizar-una-eleccion-limpia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bascope-pide-a-organismos-garantizar-una-eleccion-limpia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-academia-de-vivas-visita-a-un-guabira-urgido-de-ganar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/parada-pgn-prioriza-inversion-de-impacto-economico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mas-apunta-a-preservar-su-modelo-y-sus-oponentes-a-darle-un-giro-a-la-economia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/torrico-afirma-que-sus-dichos-fueron-en-tono-de-reflexion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/medicos-piden-que-viajeros-de-china-no-ingresen-a-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/lluvia-y-vitores-a-arce-en-el-alto-anez-entrega-inmueble-en-el-plan-3-000/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/lluvias-causan-el-derrumbe-de-tierra-y-un-muro-en-dos-zonas-de-la-paz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fiscalia-investigara-a-exjefe-de-la-policia-y-hay-mas-denuncias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/wilstermann-vence-a-domicilio-al-tigre-que-no-hace-pie-en-el-apertura/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-y-ops-aseguran-que-informe-oficial-sobre-caso-de-coronavirus-aun-no-llego-de-atlanta/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/atrapan-a-mujer-que-sustrajo-una-bebe-en-el-alto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/entel-despide-a-su-gerente-que-dice-haberle-ahorrado-millones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sin-dice-que-no-perseguira-politicamente-a-las-empresas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/lo-dias-de-angustia-de-edgar-villegas-tras-descubrir-el-fraude-electoral-de-evo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-militar-que-acribillo-a-20-personas-en-un-centro-comercial-de-tailandia-mato-a-un-soldado-de-las-fuerzas-especiales-y-logro-huir/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/%c2%93la-agenda-inquisitiva-contra-el-mas-supera-los-limites-para-eleccion-imparcial%c2%94/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/miedo-al-coronavirus-despierta-xenofobia-en-chifas-y-comercios/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tras-polemica-declaracion-del-relator-de-nnuu-el-gobierno-le-pide-que-renuncie/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/al-menos-32-elefantes-blancos-del-mas-costaron-bs-18-000-millones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/portadas-de-periodicos-de-bolivia-del-domingo-9-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/horoscopo-del-9-de-febrero-predicciones-de-josie-diez-canseco/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/termino-la-injusticia-que-venga-la-justicia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/civicos-crucenos-se-declaran-en-emergencia-ante-virtual-habilitacion-de-la-candidatura-de-evo-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-solidaridad-del-pueblo-argentino-con-bolivia-nos-llena-de-mucha-emocion-agradecemos-a/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tecnologia-al-servicio-de-las-humanidades-una-mirada-latinoamericana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tiene-20-anos-y-rompio-el-record-mundial-de-salto-con-garrocha-quien-es-armand-duplantis-el-nuevo-rey-de-las-alturas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-asfi-no-dio-datos-del-patrimonio-de-dora-vallejos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/confirman-el-traslado-de-vicepresidencia-de-ypfb/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/royal-igualo-ante-nacional-y-es-lider-momentaneo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/trump-afirma-que-pelosi-violo-la-ley-al-romper-la-copia-de-su-discurso/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-numero-de-muertes-por-el-coronavirus-ya-supera-las-del-sars-y-alcanza-mas-de-800-victimas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/binomio-del-mas-uno-ofrece-paz-el-otro-llama-a-enfrentar-al-gobierno-sangriento/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/marcelo-hurtado-revela-que-fue-extorsionado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/china-bautizo-la-enfermedad-causada-por-el-nuevo-coronavirus-con-las-siglas-ncp/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ali-khamenei-contra-eeuu-nos-haremos-fuertes-para-poner-fin-a-las-amenazas-enemigas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/me-siento-cada-vez-mas-bendecido-al-recibir-tanto-del-carino-y-el-apoyo-de-mi-pueblo-grac/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/conoce-los-virus-que-pueden-afectar-tus-dispositivos-y-como-evitar-que-roben-las-contrasenas-de-tus-redes-sociales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/advierten-que-un-voto-de-la-ciudad-equivale-a-un-tercio-de-un-sufragio-en-el-campo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/intensas-lluvias-provocan-dos-derrumbes-en-la-ciudad-de-la-paz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/aurora-y-vinto-palmaflor-empatan-en-cochabamba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cancilleria-molesta-con-garcia-sayan-por-acusaciones-de-persecucion-judicial/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-lucha-contra-la-violencia-es-una-tarea-de-todos-los-niveles-del-estado-he-expresado-el/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/descubrieron-un-nuevo-problema-de-software-en-el-boeing-737-max/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/zamora-planta-de-urea-y-amoniaco-esta-paralizada-por-varios-problemas-de-produccion-y-comercializacion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/papa-francisco-las-estructuras-del-pecado-incluyen-recortes-de-impuestos-para-los-mas-ricos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/pep-mourinho-el-radical-cambio-de-look-del-dt-portugues-genero-una-ola-de-memes-en-las-redes-sociales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cancilleria-cuestiona-que-relator-de-la-onu-no-se-pronuncie-sobre-abusos-cometidos-en-el-regimen-de-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-policia-allano-la-oficina-de-la-abogada-de-dora-vallejos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alberto-fernandez-sobre-maduro-su-gobierno-ha-tomado-decisiones-arbitrarias-y-ha-puesto-en-peligro-el-estado-de-derecho/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/15-anos-de-google-maps-trucos-utiles-y-los-hitos-mas-importantes-en-la-historia-de-la-aplicacion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tse-agrupaciones-politicas-no-recibiran-directamente-dinero-para-su-propaganda-politica/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ante-observaciones-por-radicatorias-choquehuanca-dice-que-nunca-se-ausento-mas-de-40-dias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mexico-exmodelo-brasilena-murio-al-caer-desde-un-tercer-piso-familiares-acusan-del-crimen-a-su-pareja/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/encontre-en-manzana-roja-banco-de-alimentos-de-bolivia-una-leccion-de-voluntariado-que/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/diputado-dorado-llama-caradura-y-payaso-a-evo-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ministro-de-economia-garantiza-recursos-para-emergencia-en-cotagaita/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/concluye-con-exito-el-2do-encuentro-cultural-mundial-bolivia-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/camacho-inicia-su-campana-electoral-en-cotoca/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alcalde-de-cotoca-se-aleja-de-costas-para-apoyar-a-luis-fernando-camacho/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/potosi-maragua-teme-el-desborde-de-tres-rios/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/un-fallo-tras-otro-la-insolita-tanda-de-penales-que-dio-a-andres-iniesta-un-nuevo-trofeo-en-el-futbol-de-japon/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/linea-morada-del-teleferico-suspende-actividades-por-mazamorra-de-tierra/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cochabambinos-fueron-los-ganadores-de-la-10k-integrando-bolivia-oruro-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-cochabamba-dos-hermanas-crean-robots-de-la-basura/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/por-falta-de-pagos-y-obras-70-de-las-constructoras-no-renovaron-su-matricula/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ciudadanos-y-autoridades-se-unen-en-campanas-con-el-lema-%c2%93yo-cotagaita%c2%94/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/radicatoria-5-candidatos-en-la-mira-2-antecedentes-pueden-favorecerlos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/descartan-caso-de-coronavirus-en-el-paciente-de-cochabamba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/prensa-irlandesa-pide-investigacion-internacional-por-el-caso-rozsa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/convocan-por-edictos-a-victor-hugo-vasquez-por-la-emboscada-a-cooperativistas-mineros/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-palmasola-4-personas-enviadas-por-otti-me-pusieron-3-pistolas-en-la-cara-zvonko-cuenta-una-de-las-partes-mas-duras-del-caso-terrorismo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/un-pide-que-gustavo-torrico-renuncie-al-cargo-de-asambleista/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/un-error-deja-a-adn-al-borde-de-la-eliminacion-de-la-carrera-electoral/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dirigente-en-buen-retiro-cuenta-sobre-dora-vallejos-y-sus-inversiones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-dispone-feriado-en-oruro-para-el-lunes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fiscalia-leyes-no-tiene-libertad-irrestricta-sigue-con-sustitutas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/eddy-luis-franco-asumira-la-gerencia-de-entel/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/senkata-alistan-juicio-de-responsabilidades/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/anez-inaugura-casa-de-acogida-en-el-plan-tres-mil/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dora-no-ostentaba-su-riqueza-pero-en-los-15-de-su-hija-hubo-derroche/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/searpi-repara-geotubos-atacados-por-delincuentes-y-pide-al-municipio-cruceno-su-proteccion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/aqui-estamos-con-la-bendicion-de-la-mamita-de-cotoca-aqui-arrancamos-buscando-la-unidad/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/senasag-previene-el-ingreso-de-la-langosta-voladora/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sin-abrego-bolivar-visita-la-caldera-que-hervira-a-28c/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-club-san-jose-esta-en-terapia-intensiva-debe-us-3-millones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/lluvias-causaron-deslizamiento-en-pasankeri/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/declaran-alerta-roja-por-lluvias-e-inundaciones-en-san-ignacio-de-moxos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/un-orangutan-ofrece-ayuda-a-un-hombre-metido-en-un-rio-con-serpientes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/presidente-de-ypfb-pide-a-los-trabajadores-de-la-estatal-petrolera-sacar-a-bolivia-adelante/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dengue-afecta-a-la-primera-dama-de-paraguay-despues-de-atacar-al-presidente/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cancelan-el-grand-slam-open-bolivia-american-iris-de-raquetbol/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cotagaita-necesita-nuestra-ayuda-desde-comunidad-ciudadana-estamos-movilizados-gestionan/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/wilster-enfrenta-a-the-strongest-sin-su-armador-cristian-chavez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ministerio-de-medio-ambiente-entregara-a-la-alcaldia-de-oruro-100-sanitarios-portatiles-para-el-carnaval/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mesa-no-seremos-nosotros-los-que-pidan-que-candidatos-con-el-3-de-preferencia-se-bajen/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dan-de-alta-en-china-a-un-anciano-de-91-anos-tras-superar-el-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/indigenas-de-cochabamba-y-tarija-postulan-por-escanos-sin-partidos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-discurso-indispensable/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-perfil-de-los-muertos-por-coronavirus-mayores-de-60-anos-y-con-problemas-de-salud/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/policia-atrapa-banda-de-peligrosos-monreros/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/asaltantes-en-moto-son-buscados-por-la-felcc/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/piden-que-echen-a-jueza-que-fallaba-en-favor-del-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/apartan-de-la-gerencia-de-entel-a-elio-montes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/despues-de-14-anos-de-insultos-y-descalificaciones-personales-haremos-una-campana-de-prop/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/circula-una-encuesta-falsa-sobre-los-candidatos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/doria-medina-advierte-que-los-candidatos-del-mas-deben-rendir-cuentas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/roban-ganado-de-una-propiedad-de-dora-vallejos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hacemos-un-llamado-a-prevenir-la-violencia-en-bolivia-no-se-debe-tolerar-la-existencia-d/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dejaron-infinitas-cuentas-por-pagar-sin-dejar-los-recursos-para-cubrir-esas-deudas-lo-qu/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/oruro-recibe-hoy-la-primera-carrera-10k-con-nueva-reparticion-de-premios/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/caricaturas-de-bolivia-del-sabado-8-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cierre-de-botadero-y-contratacion-de-desayuno-complican-a-hector-montano/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/duras-criticas-a-anez-en-medios-internacionales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/horoscopo-del-8-de-febrero-predicciones-de-josie-diez-canseco-para-hoy-segun-tu-signo-zodiacal/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/portadas-de-periodicos-de-bolivia-del-sabado-8-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-justicia-determina-detencion-domiciliaria-para-el-hermano-de-dora-mujer-que-amaso-una-fortuna-de-us-150-millones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-tse-distribuira-bs-35-mm-entre-ocho-frentes-como-subvencion-para-la-campana-electoral/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alcalde-interino-de-cochabamba-espera-la-notificacion-para-entregar-despacho-municipal-a-jose-maria-leyes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ministro-arias-presenta-aplicacion-movil-para-realizar-denuncias-y-reclamos-de-corrupcion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-potencia-radio-de-pueblos-originarios-y-devuelve-voz-a-comunidades-de-san-ignacio-de-moxos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/los-rotary-se-han-caracterizado-por-contribuir-y-fomentar-la-paz-en-el-mundo-a-traves-de-o/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sucre-policia-recaptura-a-mujer-que-escapo-antes-de-su-audiencia-cautelar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/escandalo-en-miami-detuvieron-al-portavoz-del-alcalde-por-enviar-fotografias-intimas-a-un-menor-de-edad/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nuevo-balance-por-el-coronavirus-en-china-ya-son-722-los-muertos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-pangolin-el-extrano-animal-que-podria-haber-transmitido-el-coronavirus-a-los-humanos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/aprehenden-a-la-hermana-del-exgerente-de-pat/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/relator-de-la-onu-se-inmiscuye-en-politica-interna-dice-que-anez-golpeo-en-la-medula-misma-de-la-transicion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/activista-cristiano-quiere-demandar-a-la-nfl-por-867-billones-de-dolares-por-el-show-de-shakira-y-jlo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/vecinos-dan-48-horas-a-alcalde-de-tiquipaya-para-que-renuncie/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fiscalia-admite-demanda-penal-contra-el-excomandante-de-la-policia-yuri-calderon/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/romy-paz-da-un-adelanto-de-lo-que-sera-la-ultima-preca-dedicada-a-los-ninos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cainco-trabaja-con-el-sin-una-propuesta-tecnica-que-contribuya-a-la-nueva-normativa-tributaria/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bolivia-tendra-desde-el-lunes-un-laboratorio-para-detectar-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/video-titulares-de-noticias-de-tv-bolivia-noche-del-viernes-7-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mesa-cuestiona-a-relator-de-onu-si-tuvo-la-misma-actitud-con-la-persecucion-del-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mas-pide-al-tse-aplicar-la-sentencia-que-flexibiliza-la-residencia-permanente/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/chavo-salvatierra-abandona-el-south-american-rally-race-tras-accidente/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ministerio-de-deportes-confirma-la-realizacion-de-los-juegos-estudiantiles-plurinacionales-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/entel-logra-ahorrar-mas-de-us-12-millones-ano-con-nuevas-negociaciones-internacionales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/familiares-de-heridos-de-senkata-aclaran-que-aun-no-firmaron-acuerdo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/se-viene-un-clasico-cruceno-con-sensaciones-distintas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/si-hay-alguien-que-merece-un-premio-al-coraje-es-usted-querida-ximenagalarza-lo-que-ha-a/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/diputadas-piden-modificar-la-cpe-para-prohibir-la-reeleccion-presidencial/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/brecha-generacional-por-cada-candidato-joven-hay-siete-adultos-en-carrera-electoral/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-sabado-el-tse-analizara-las-impugnaciones-a-candidatos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/18-anos-de-prision-para-agresor-sexual-en-cobija/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/chi-rechaza-propuesta-politica-de-evo-y-se-estrella-contra-presidenta-anez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/impuestos-destaca-comportamiento-del-iva-e-iue-en-recaudacion-tributaria/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/eeuu-ofrece-us-100-millones-para-combatir-el-coronavirus-en-china-y-otros-paises/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fiscalia-desprecinto-y-colecto-material-de-la-oficina-del-director-nacional-del-sereci/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nos-encontramos-en-el-municipio-de-cotagaita-que-ha-sido-altamente-afectado-por-las-riada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ypfb-recibio-cinco-certificaciones-iso/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/celebran-matrimonio-masivo-con-el-uso-de-barbijos-para-evitar-el-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/migracion-no-registra-la-salida-del-pais-de-dora-vallejos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/campesinos-de-la-paz-piden-la-expulsion-del-mas-de-verela-machaca-y-otros/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/felicito-a-ximenagalarza-por-haber-obtenido-el-premio-internacional-a-las-mujeres-de-cor/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/senamhi-alertas-roja-y-naranja-para-cochabamba-y-otros-cinco-departamentos-por-desborde-de-rios/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/camacho-registra-un-arma-de-fuego-y-dice-que-es-su-aficion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ximena-zalzer-acepta-disculpas-publicas-de-la-pareja-que-la-agredio-durante-el-paro-civico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/un-hongo-mutante-de-chernobil-se-alimenta-de-la-radiacion-y-la-convierte-en-energia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mesa-evo-no-tiene-autoridad-moral-para-convocar-a-un-acuerdo-de-paz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tres-transexuales-conduciran-el-programa-de-television-nosotrans-decidimos-en-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/trabajadores-de-pat-levantan-medidas-de-presion-tras-preacuerdo-con-el-gobierno/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/abogado-leon-asegura-que-jorge-clavijo-esta-vivo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/duque-nombra-a-3-nuevos-ministros-como-parte-de-cambios-en-su-gabinete/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/diputada-del-pdc-pide-al-gobierno-investigar-cobros-a-beneficiarios-de-viviendas-sociales-en-sucre/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/civicos-declaran-cuarto-intermedio-a-sus-protestas-y-dejan-expedita-la-ruta-que-conecta-a-bolivia-con-argentina/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hemos-traido-6-5-toneladas-en-alimentos-y-equipos-para-ayudar-a-nuestros-hermanos-ademas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/democracia-violada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/caso-alexander-anulan-sentencia-contra-jhiery-fernandez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-moviliza-maquinaria-a-cotagaita-y-garantiza-reposicion-de-viviendas-afectadas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-motociclismo-cochabambino-inicia-su-calendario-con-la-carrera-glorias-del-pasado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dellien-celebra-su-mayor-titulo-sera-papa-de-una-nina/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/arias-dice-a-evo-que-para-pedir-paz-deje-de-convulsionar-y-retire-su-candidatura/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/adn-se-proclama-el-unico-partido-de-derecha-y-dice-que-el-resto-es-de-izquierda/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/anez-visita-cotagaita-y-promete-ayuda-en-reconstruccion-y-atencion-a-proyectos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/crearon-un-mate-de-hielo-para-tomar-terere-y-se-volvio-furor-en-redes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/xi-jinping-habla-por-telefono-con-trump-sobre-la-epidemia-del-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/antes-de-carnaval-se-aprobara-el-diseno-de-las-papeletas-de-sufragio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/camacho-tambien-rechaza-el-llamado-de-morales-a-un-acuerdo-de-paz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nosoyunvirus-la-campana-antiracista-de-la-comunidad-china-en-plena-crisis-del-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/periodista-espanol-detalla-investigacion-contra-el-exministro-carlos-romero/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobernacion-y-centros-de-acogida-de-santa-cruz-suscriben-convenio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cossio-responde-a-cuestionamientos-sobre-su-habilitacion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hurtado-han-satanizado-al-empresario-y-decir-que-somos-malos-es-una-gran-mentira/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/aprehenden-en-santa-cruz-a-sujeto-acusado-de-proxenetismo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/clubes-bolivianos-inician-con-el-pie-izquierdo-su-presencia-en-la-copa-sudamericana-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/paraguay-suspendio-las-visas-a-chinos-para-prevenir-el-ingreso-del-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/productores-de-stevia-piden-retirar-12-productos-truchos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/entregan-218-titulos-de-tierras-en-santa-cruz-y-gestionan-para-la-paz-cochabamba-y-potosi/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/conmebol-y-uefa-se-reuniran-en-ginebra-para-tratar-proyectos-comunes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/elecciones-union-europea-preve-la-llegada-de-al-menos-100-observadores-a-bolivia-en-marzo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/policia-desconoce-que-exista-orden-de-aprehension-contra-wilfredo-chavez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/christina-koch-regresa-a-la-tierra-tras-superar-el-record-del-vuelo-espacial-mas-largo-realizado-por-una-mujer/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/infocenter-consolida-su-salto-tecnologico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ine-enero-registro-una-inflacion-negativa-de-003-en-el-indice-de-precios-al-consumidor/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/niegan-accion-de-libertad-de-gustavo-torrico-en-audiencia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/campesinos-quieren-chicotear-a-dirigentes-del-mas-acusados-de-rifar-candidatura/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/firman-convenio-de-cooperacion-tecnica-para-las-elecciones-generales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/inician-campana-para-recoleccion-de-viveres-para-damnificados-en-cotagaita/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-anuncia-que-aeropuerto-de-chimore-pasara-bajo-administracion-militar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tuto-presenta-un-proyecto-de-ley-que-elimina-la-reeleccion-presidencial-inmediata/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/lamentamos-profundamente-los-sucesos-en-cotagaita-como-consecuencia-del-desborde-del-rio-c/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-inra-restablece-convenio-con-el-bid-en-temas-de-saneamiento-de-tierras/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fiscalia-aclara-que-no-puede-aprehender-a-vallejos-hasta-no-verificar-vinculos-con-el-narcotrafico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gustavo-torrico-va-a-celdas-judiciales-y-denuncia-que-en-bolivia-se-penaliza-la-libertad-de-expresion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/desde-el-lunes-bolivia-contara-con-reactivos-para-detectar-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cinco-sitios-para-aumentar-la-calidad-de-tus-fotos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alcalde-denuncia-el-bloqueo-de-las-cuentas-municipales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/estudio-concluye-que-joven-sospechoso-de-coronavirus-en-cochabamba-padece-dengue/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/video-titulares-de-noticias-de-tv-bolivia-mediodia-del-viernes-7-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-upb-esta-lista-para-comenzar-a-operar-en-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/isabel-ii-se-entero-de-que-era-reina-mientras-estaba-subida-a-un-arbol/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/instagram-permitira-anuncios-en-igtv-para-que-los-influencers-ganen-dinero/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-tirano-que-compro-medios-con-testaferros-que-persiguio-a-la-prensa-y-la-extorsiono-tri/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/abt-siguen-controles-para-evitar-venta-ilegal-de-madera-en-la-chiquitania/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/liberado-guillermo-farinas-pero-no-podra-viajar-a-europa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/un-plan-economico-ideal/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/no-hay-paz-para-los-sussex-ni-en-canada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/camacho-responde-a-la-propuesta-de-evo-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/balean-a-un-menor-tras-intento-de-atraco/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sospechan-que-dora-salio-de-bolivia-y-se-encuentra-en-paraguay/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/presidenta-anez-se-traslada-a-cotagaita-para-atender-a-las-familias-damnificadas-por-la-riada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sentencia-del-tcp-posibilita-la-habilitacion-de-evo-arce-y-cossio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/4-aplicaciones-android-para-motivar-el-aprendizaje-en-estudiantes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/los-medios-de-comunicacion-en-bolivia-estan-llamados-a-contribuir-a-las-condiciones-para/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/reeleccion-presidencial-inmediata-ha-sido-venenosa-para-democracias-en-cuba-venezuela-y/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/muchas-felicidades-jimena-por-este-merecido-reconocimiento-tu-labor-fue-y-seguira-siendo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/caso-mochilas-i-dan-libertad-irrestricta-a-jose-maria-leyes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gary-prado-existia-una-constante-presion-para-sentenciarnos-por-terroristas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/guaido-en-la-oea-estamos-preparando-el-regreso-a-venezuela-y-claro-que-hay-riesgos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/periodista-boliviana-jimena-galarza-gana-el-premio-internacional-mujeres-de-coraje/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/inra-entregara-titulos-en-san-jose-de-chiquitos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fin-del-embargo-de-500-dias-al-diario-decano-de-nicaragua/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alcaldia-crucena-entrega-modulo-educativo-para-beneficiar-a-3-000-estudiantes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/juan-guaido-debe-regresar-con-seguridad-a-venezuela-advierte-estados-unidos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/instagram-presenta-categorias-de-seguidores-para-ayudarlos-a-filtrar-mejor-a-quien-seguir/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/un-hombre-perdio-la-vida-en-puertas-del-concejo-municipal-de-el-alto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/delgado-a-evo-usted-es-sinonimo-de-odio-y-violencia-descanse/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/xi-garantiza-que-la-economia-china-seguira-creciendo-pese-al-virus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/menores-acusados-de-robo-se-salvan-de-ser-quemados-por-una-turba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/muerte-del-medico-que-alerto-del-coronavirus-desata-rabia-en-china/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/jovenes-bolivianos-se-preparan-para-competencia-en-la-nasa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alianzas-tildan-de-injusto-que-el-mas-acceda-a-mas-recursos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-gobierno-preve-austeridad-y-reduccion-del-pib-las-rin-y-la-inversion-publica/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/youtube-music-permitira-subir-nuestra-biblioteca-musica/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ruta-que-conecta-a-bolivia-con-argentina-amanece-bloqueada-por-civicos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/policia-detiene-al-hermano-de-dora-vallejos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-salvador-juez-pide-investigar-a-dos-expresidentes-por-nexos-con-crimen-organizado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sedes-emite-alerta-verde-por-posible-ingreso-del-coronavirus-a-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-confesion-de-lupe-esparza-sobre-la-serie-de-bronco-no-la-vi-no-quise-volver-a-llorar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/evoespueblo-por-si-no-te-enteraste-los-bolivianos-ya-hicimos-un-acuerdo-vivimos-en-paz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/pagos-a-podemos-cobros-para-encubrir-asesinatos-contratos-millonarios-con-camc-de-la-amiga-cargos-contra-romero-segun-diario-espanol/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/los-camachos-y-la-democracia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/romero-asegura-que-existen-pruebas-cientificas-de-que-clavijo-esta-muerto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/arano-y-gonzales-llegan-al-tigre-por-dos-temporadas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/google-chrome-bloqueara-las-descargas-inseguras/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cadena-perpetua-a-masistas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bustamante-y-quinteros-estan-en-carpeta-de-bolivar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/barrientos-denuncia-irregularidades-en-la-fundacion-cultural-del-bcb-que-involucra-a-garcia-linera/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gritan-corrupto-a-exministro-y-candidato-a-diputado-del-mas-en-medio-de-conferencia-de-prensa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/europa-investiga-nuevamente-a-qualcomm-por-posibles-practicas-anti-competitivas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/guabira-pascua-e-ibanez-dudas-para-recibir-a-la-academia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/reducir-el-gasto-es-bueno-el-gobierno-del-mas-hizo-mucho-despilfarro-el-estado-debe-inve/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sabsa-activa-plan-de-tres-filtros-en-aeropuertos-internacionales-de-bolivia-para-contener-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alcalde-y-candidato-al-senado-rodrigo-paz-no-renunciara-a-su-cargo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-carga-boliviana-batio-record-en-cantidad-a-traves-del-puerto-chileno-de-iquique-en-2019/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/conade-pide-al-gobierno-seriedad-y-mesura-en-acusaciones-contra-torrico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fuimos-tambien-culpables-de-la-tirania/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/abt-verificara-si-dora-vallejos-realizo-tramites-vinculados-al-narcotrafico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ypfb-subastara-garrafas-con-20-anos-de-uso-y-masificara-servicio-de-gas-domiciliario/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gracias-a-toda-la-gente-que-participo-del-les-prometo-que-nunca-mas-sera-un-requisito-ser/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sospechoso-de-coronavirus-entro-a-bolivia-por-viru-viru-y-ahora-da-positivo-a-examen-de-dengue/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/caricaturas-de-bolivia-del-viernes-7-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/always-paga-caro-errores-defensivos-y-cae-ante-millonarios/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cesar-farias-realizara-campamentos-en-todos-los-departamentos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/vinto-alista-su-arsenal-para-partido-con-aurora/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dos-formas-de-pasar-listas-de-spotify-de-un-sitio-a-otro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/aprehenden-a-acusado-de-asesinar-a-su-pareja-en-el-plan-3000/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tras-seis-anos-de-deficit-en-alza-gobierno-preve-reducirlo-a-66/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/destroyers-jugara-la-simon-bolivar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/google-maps-se-renueva-para-celebrar-sus-15-anos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bolivia-debuta-en-el-circuito-de-beach-voley-en-chile/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/capturan-a-vendedor-de-tabletas-para-abortar-en-redes-sociales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/a-sus-30-anos-dora-empezo-a-acumular-millones-de-dolares-y-miles-de-hectareas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-pajaro-escobar-se-unira-a-la-verde/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/torsiglieri-debutara-en-wilstermann-y-el-pochi-es-baja/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/presidenta-anez-se-reunio-con-los-procesados-por-el-caso-terrorismo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/defensoria-del-pueblo-exige-que-el-tse-aclare-los-requisitos-para-candidatos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/abrego-y-fernandez-vienen-para-ser-titulares-en-bolivar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cotagaita-imagenes-de-antes-y-despues-del-desastre/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-rally-sudamericano-se-pone-en-marcha-salvatierra-y-fuentes-corren-por-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-plan-de-farias-apunta-a-buscar-nuevos-talentos-en-todo-el-pais/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mas-intenta-articular-apoyo-al-binomio-en-medio-del-desbande/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/brasil-y-uruguay-empatan-1-1-y-dejan-en-suspenso-su-viaje-a-tokio-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/millonarios-vence-2-0-al-debutante-always-ready-en-sudamericana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/portadas-de-periodicos-de-bolivia-del-viernes-7-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/horoscopo-del-viernes-7-de-febrero-del-2020-de-josie-diez-canseco/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-no-convocara-a-partidos-para-debatir-norma-sobre-campana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/vallejos-la-reina-del-norte-es-la-terrateniente-mas-potentada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cuatro-hechos-de-intolerancia-activan-la-alarma-en-las-campanas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cochabamba-paciente-con-sospecha-de-coronavirus-presenta-cuatro-sintomas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alianzas-afinan-presupuesto-para-la-campana-electoral/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/riada-en-cotagaita-deja-150-viviendas-afectadas-y-280-familias-damnificadas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tuve-la-satisfaccion-de-visitar-el-encuentro-cultural-mundial-bolivia-2020-invitada-por/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-caso-terrorismo-fue-planeado-para-afectar-y-dividir-a-los-crucenos-despues-de-11-anos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-claroscuro-abordamos-el-tema-de-como-llegamos-al-acuerdo-de-juntos-siempre-la-unidad/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/reducen-a-5-meses-la-detencion-preventiva-de-exministro-carlos-romero/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-investigara-denuncia-de-desmantelamiento-de-aviones-de-aerosur/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hoy-todos-en-libertad-quiero-decirles-que-dios-los-bendiga-y-les-ayude-a-rehacer-sus-vidas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/convocamos-a-un-gran-acuerdo-nacional-para-garantizar-un-ambiente-de-paz-en-las-elecciones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ministro-murillo-evo-morales-no-tiene-moral-para-sugerir-acuerdos-politicos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/esta-medida-del-gobierno-requiere-una-amplia-y-convincente-explicacion-para-evitar-confusi/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-presidenta-anez-se-reune-con-acusados-del-caso-de-supuesto-terrorismo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/diputada-millares-cuestiona-reunion-politica-de-luis-arce-en-oficinas-del-legislativo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/romero-niega-conocer-a-dora-vallejos-investigada-por-enriquecimiento-ilicito-y-vinculada-a-narcopiloto-que-cayo-en-mexico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/policia-intensifica-la-busqueda-de-dora-v-la-mujer-con-la-fortuna-sospechosa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/coronavirus-migracion-reporta-que-bajo-el-flujo-de-ciudadanos-chinos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nos-solidarizamos-con-las-familias-que-fueron-damnificadas-en-cotagaita-dispuse-que-se-ot/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/presidenta-anez-destaca-intercambio-cultural-de-jovenes-en-2do-encuentro-mundial-bolivia-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/esta-noche-a-las-2205-estare-con-angelcareaga-en-el-programa-claro-oscuro-de-la-red-rtp/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/asp-b-y-epa-buscan-facilitar-el-comercio-boliviano-por-arica/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/relator-de-la-onu-manifiesta-preocupacion-por-persecucion-politica-en-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ministerios-de-economia-de-planificacion-y-el-bcb-suscriben-el-programa-financiero-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/concejo-de-la-paz-declara-patrimonio-historico-arquitectonico-y-urbano-a-la-calle-jaen-y-a-14-inmuebles/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/te-preocupa-tu-seguridad-deberias-eliminar-estas-24-aplicaciones-de-tu-dispositivo-android/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/emelec-golea-3-0-de-visita-a-blooming-y-da-paso-firme-en-la-sudamericana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/que-tanto-ayudan-las-mascarillas-contra-virus-y-germenes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/al-menos-17-civiles-muertos-por-bombardeos-en-siria/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/evo-propone-un-acuerdo-nacional-para-garantizar-la-campana-libre-y-evitar-la-guerra-sucia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/video-titulares-de-noticias-de-tv-bolivia-noche-del-jueves-6-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sonic-el-famoso-erizo-azul-de-sega-salta-del-videojuego-al-cine/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/libia-avanzan-negociaciones-para-lograr-alto-el-fuego/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/china-confirma-la-muerte-del-medico-que-alerto-sobre-el-coronavirus-tras-horas-de-confusion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nuevo-balance-del-coronavirus-ya-son-630-los-muertos-y-mas-de-30-000-los-infectados-en-china/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ypfb-anuncia-la-compra-de-combustibles-a-un-precio-menor-y-de-mejor-calidad/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mi-solidaridad-con-los-habitantes-de-cotagaita-frente-a-la-tragedia-ocasionada-por-una-ri/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/presidenta-de-la-alp-anuncio-el-tratamiento-de-ley-corta-de-prevencion-para-atender-desastres-naturales-en-el-pais/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/guaido-sostuvo-una-reunion-a-puerta-cerrada-con-almagro-y-autoridades-de-la-oea/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/colegio-medico-realizara-charlas-en-cochabamba-por-el-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/zvonko-lanza-nombres-de-quienes-deben-ser-investigados-por-montar-el-caso-terrorismo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/att-detecta-que-operadores-adeudan-al-estado-bs-170-millones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/torrico-si-me-detienen-por-masista-me-van-a-tener-que-dar-cadena-perpetua/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/emiten-orden-de-apremio-contra-un-norteamericano-en-investigacion-contra-quintana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/arce-queremos-ver-que-el-tse-obre-adecuadamente-y-no-politicamente/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/huawei-demanda-a-verizon-por-violacion-de-patentes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/padres-denuncian-que-colegio-sin-concluir-retrasa-avance-de-sus-hijos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nos-reunimos-con-la-presidenta-de-la-camara-de-representantes-de-eeuu-speakerpelosi-ve/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/always-visita-a-millonarios-con-el-objetivo-de-dar-la-primera-sorpresa-de-la-copa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/llego-la-hora-para-que-blooming-se-mida-con-emelec-en-la-sudamericana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/aduana-decomisa-mercancia-de-contrabando-tras-escanear-camiones-en-oruro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/salvatierra-y-fuentes-afinan-sus-maquinas-para-largar-en-el-south-american-rally-race/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/apicultores-en-emergencia-por-el-precio-de-la-miel/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/este-mapa-nos-dice-si-nuestro-pais-esta-preparado-para-el-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/banca-reporta-recuperacion-de-depositos-y-estabilidad-de-la-bolivianizacion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/partidos-apuestan-por-adultos-y-relegan-a-jovenes-de-cochabamba-en-las-listas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/llegan-cambios-importantes-a-las-cuentas-de-gmail-configuradas-con-varias-bandejas-de-entrada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tres-fallecidos-deja-un-accidente-de-transito-en-la-carretera-oruro-potosi/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-fejuve-del-mas-de-el-alto-dara-voto-castigo-a-sus-candidatos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/arce-la-proclamacion-de-candidatos-del-mas-sera-el-sabado-en-el-alto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/un-fallo-del-tcp-avalaria-candidaturas-de-evo-pary-y-cossio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/anez-en-la-marcha-contra-la-violencia-la-justicia-no-nos-colabora/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/aprehenden-a-presunto-autor-de-feminicidio-es-la-cuarta-victima-en-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/asi-revelo-popeye-como-perdio-el-alma-por-haber-sido-jefe-de-sicarios-de-escobar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/estamos-en-la-ciudad-de-santa-cruz-hemos-participado-gracias-a-la-invitacion-de-la-felcv/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/diputada-del-mas-pide-debate-entre-binomios-de-arce-y-anez-con-idioma-originario/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/un-grupo-de-mujeres-protesta-contra-la-resistencia-juvenil-cochala/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/campeon-olimpico-de-natacion-roland-schoeman-es-suspendido-un-ano-por-dopaje/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/arce-califica-de-ilegal-la-aprehension-del-asambleista-del-mas-gustavo-torrico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mesa-afirma-que-el-tse-debe-actuar-con-un-criterio-comun-sobre-requisito-de-residencia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-medio-del-impeachment-la-crispacion-politica-y-la-polarizacion-entre-realdonaldtrump/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/casos-de-vih-se-reducen-en-un-8-en-chuquisaca/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/reportan-2-824-familias-afectadas-en-cinco-municipios-de-la-paz-por-lluvias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/monasterio-lamenta-que-no-haya-orden-de-aprehension-contra-dora-vallejos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dejar-salir-antes-de-entrar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sedes-monitorea-la-ruta-que-recorrio-el-paciente-sospechoso-de-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/defensa-de-torrico-niega-que-lo-hayan-citado-a-declarar-por-el-caso-por-sedicion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/anez-pide-denunciar-la-violencia-contra-mujeres-y-ninos-en-una-marcha/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ratifican-medidas-cautelares-para-primo-de-evo-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dos-peligrosos-paraguayos-caen-en-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/absuelto-trump-denuncia-la-perversidad-de-los-democratas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/jefe-del-parlamento-europeo-pide-a-cuba-liberar-inmediatamente-a-farinas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ende-debe-us-40-millones-a-misicuni/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bolivia-proyecta-crecimiento-de-35-e-inflacion-de-34-para-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/operadores-politicos-una-historia-aparte/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/realizan-simulacro-en-viru-viru-para-detectar-y-prevenir-casos-de-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/no-permitamos-que-la-violencia-acabe-con-nuestros-hogares-basta-de-violencia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/eva-sara-landau-vivio-en-el-exilio-por-denunciar-actos-de-corrupcion-del-gobierno-de-evo-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/una-prueba-mas-del-estado-de-no-derecho-en-bolivia-es-la-ilegal-detencion-de-gustavo-torr/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/altercado-entre-franquicias-de-pollo-por-el-cierre-de-un-local-de-comidas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/arce-del-mas-inicia-campana-en-redes-sociales-con-spot-sobre-economia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/video-titulares-de-noticias-de-tv-bolivia-mediodia-del-jueves-6-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/promueven-acciones-para-atencion-y-proteccion-de-ninos-y-adolescentes-con-vih-sida/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/todos-los-secretos-de-pablo-escobar-que-revelo-popeye-y-por-que-mato-a-la-mujer-que-ambos-amaban/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nancy-pelosi-la-bestia-negra-de-trump-79-anos-20-millones-de-dolares-un-vinedo-y-ocho-nietos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/santa-cruz-denuncian-desmonte-de-area-de-proteccion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/kobe-bryant-dejo-un-patrimonio-de-600-millones-segun-forbes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/transeuntes-atrapan-a-una-banda-de-delincuentes-y-vuelcan-su-vehiculo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/quien-es-dora-vallejos-con-un-patrimonio-de-us-150-mm-y-muy-cercana-a-poderosos-del-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cancilleria-informa-que-no-hay-orden-de-aprehension-contra-hector-arce-y-hugo-moldiz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-confirma-que-vallejos-tenia-un-movimiento-bancario-de-bs-42-millones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-informe-por-supuesto-desvio-de-fondos-que-desato-protestas-en-haiti-estara-listo-en-marzo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-boliviano-evalua-gastar-160-millones-de-dolares-para-trasladar-fabrica-de-urea/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alcaldia-crucena-reporta-perdida-diaria-de-bs-5-millones-por-planton-en-ser/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ronald-castedo-los-forenses-me-dieron-por-muerto-mi-necrologico-ya-estaba-escrito/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/lizarraga-habla-por-creemos-y-dice-camacho-no-debatira-con-la-candidata-presidenta-porque-no-hay-igualdad-de-condiciones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tenemos-la-mitad-del-litio-del-planeta-esas-baterias-se-usan-en-celulares-relojes-compu/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sujeto-estafo-a-30-personas-ofreciendo-items-de-salud/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-chinofobia-el-dano-colateral-del-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-historia-detras-del-femicidio-de-qandeel-baloch-la-mayor-influencer-pakistani-asesinada-por-su-hermano-por-honor/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/detienen-a-gustavo-torrico-acusado-de-sedicion-y-terrorismo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/anuncian-un-planton-frente-a-la-embajada-de-argentina-en-la-paz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/samsung-presenta-edicion-especial-under-armour-del-galaxy-watch-en-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cod-de-santa-cruz-pide-un-incremento-salarial-del-15/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ministro-murillo-pide-las-cabezas-de-fiscales-de-la-paz-por-el-caso-navarro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/murillo-a-lanchipa-tiene-que-limpiar-su-nombre-y-limpiar-las-fiscalias-de-distrito/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-gran-canallada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ninas-y-adolescentes-bolivianas-eran-ofertadas-en-catalogos-a-pedofilos-y-pederastas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/maribel-guardia-hablo-por-primera-vez-de-la-amante-que-le-robo-el-amor-de-joan-sebastian-y-que-ademas-es-una-actriz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/5-periodistas-que-postularon-el-20-o-ya-no-figuran-en-las-listas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/odebrecht-demanda-a-peru-y-lima-critica-su-frescura/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/casi-un-centenar-de-casas-fueron-afectadas-por-una-riada-en-cotagaita/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/narcotrafico-mesa-dice-que-la-justicia-boliviana-debe-investigar-a-evo-y-no-la-dea/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-nuestra-bolivia-hoy-inscribimos-listas-congresales-y-se-registran-postulaciones-mis-r/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-mas-accedera-a-bs-11-mm-la-mayor-tajada-del-fortalecimiento-publico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dan-24-horas-a-periodista-espanol-para-que-presente-denuncia-contra-romero-en-la-fiscalia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/china-enfrenta-una-escasez-de-camas-para-los-mas-de-28-mil-pacientes-con-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/periodista-espanol-recibe-amenazas-por-revelaciones-sobre-carlos-romero/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fifa-novoa-gano-juicio-al-tigre-y-recibira-us-27-000/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ypfb-comprara-mas-alcohol-anhidro-para-producir-gasolina/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/diario-critico-de-nicaragua-negocia-desbloqueo-de-insumos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/recuperan-equipos-pertenecientes-a-una-radio-comunitaria/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-asegura-que-reglamento-para-liberar-exportaciones-protegera-el-mercado-boliviano/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/diputada-millares-piden-al-ministro-murillo-investigar-sobre-la-muerte-del-teniente-jorge-clavijo-clavijo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-ano-empieza-con-inflacion-negativa-debido-a-los-alimentos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mesa-dice-que-bolivia-es-uno-de-los-grandes-productores-de-droga-aunque-no-ve-necesario-el-retorno-de-la-dea/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/colapsa-un-muro-de-gaviones-en-tejada-alpacoma-hay-alerta-en-el-alto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ud-impugna-la-candidatura-del-excanciller-diego-pary/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-considera-que-fiscalia-debe-activar-la-orden-de-extradicion-contra-sosa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/investigan-muerte-por-disparo-de-escarleth-paredes-detienen-a-un-subteniente-sospechoso/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/servicio-de-salud-reporta-143-casos-de-dengue-confirmados-en-tarija/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/una-astronauta-de-eeuu-regresa-a-la-tierra-tras-batir-el-record-femenino-de-permanencia-en-el-espacio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cornejo-toma-como-rehen-a-willan-y-wilster-se-pone-plazo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/clinicas-que-realizan-hemodialisis-piden-pago-por-parte-del-estado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/pumari-plantea-que-haya-elecciones-legislativas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/excancilleres-choquehuanca-y-pary-no-cumplirian-con-el-requisito-de-residencia-para-ser-candidatos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/murio-jhon-jairo-velasquez-vasquez-alias-popeye-jefe-de-los-sicarios-del-ex-capo-narco-pablo-escobar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/las-primeras-imagenes-de-jorge-lanata-tras-bajar-30-kilos-como-es-hoy-su-nueva-vida/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dellien-vuelca-la-pagina/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bicicross-latinoamericano-de-va-en-noviembre/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/potosi-camion-vuelca-con-34-mil-litros-de-diesel-en-umacha/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/terremoto-politico-en-alemania-tras-la-eleccion-de-un-gobierno-regional-con-apoyo-de-la-ultraderecha-el-partido-de-merkel-pidio-nuevas-elecciones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/trump-donald-trump/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/victoria-alada-junior-sanchez-el-mejor-de-la-temporada-2019/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/vinculan-al-hermano-de-evo-morales-en-un-supuesto-retiro-millonario-de-dinero-del-bcb-y-union/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fbf-empieza-a-mover-el-plan-para-las-eliminatorias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-plan-de-bolivar-es-rejuvenecer-su-plantilla/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/juan-carlos-arce-reconoce-que-juega-lesionado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dirigentes-de-nacional-potosi-respaldan-a-su-dt-y-a-sus-jugadores/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-gobierno-y-caneros-firmaran-contratos-por-etanol-en-15-dias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/exvocales-del-tse-dejaron-cuentas-por-pagar-que-llegan-a-120-millones-de-bolivianos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/carrasco-comandara-la-zaga-de-blooming-ante-emelec/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/oriente-cayo-ante-vasco-da-gama-y-la-llave-quedo-abierta/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/portadas-de-periodicos-de-bolivia-del-jueves-6-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/de-modo-inmediato-hay-que-poner-en-marcha-una-politica-coordinada-para-frenar-el-impacto-d/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/anterior-tribunal-electoral-alquilo-24-camionetas-para-empadronar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/horoscopo-del-jueves-6-de-febrero-del-2020-de-josie-diez-canseco/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/salto-de-la-pasarela-a-la-politica-al-menos-4-modelos-son-candidatas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ypfb-licita-compra-de-diesel-menos-contaminante-al-doble-del-precio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/luis-arce-es-sindicado-de-comprar-5-carros-para-regalar-a-dirigentes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-caso-terrorismo-y-la-perversion-de-la-justicia-asi-describe-el-general-prado-los-10-anos-y-10-meses-que-duro-el-proceso/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bolivia-importara-petroleo-para-bajar-el-subsidio-al-diesel-y-la-gasolina/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alemania-ratifica-interes-en-el-litio-y-en-cooperar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/empresarios-privados-de-bolivia-organizan-debate-con-todos-los-candidatos-presidenciales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/lideres-civicos-en-su-gran-mayoria-deciden-apoyar-a-la-presidenta-anez-la-unidad-tiene-su/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mesa-abre-campana-en-santa-cruz-en-medio-de-incidentes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/esta-noche-a-las-2310-estare-en-hora-23-de-la-red-bolivision-para-conversar-con-miriam-cl/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-tigre-vence-2-0-a-atletico-tucuman-y-abre-la-posibilidad-a-una-clasificacion-en-la-libertadores/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ala-concertadora-del-mas-rechaza-candidatos-impuestos-por-evo-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/abogado-leon-plantea-juicio-de-responsabilidades-contra-el-fiscal-general-de-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/empresarios-afirman-sentirse-respaldados-por-primera-vez-para-apoyar-el-desarrollo-de-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/lizarraga-ahora-dice-que-el-gobierno-de-anez-soborna-a-organizaciones-sociales-para-lograr-su-apoyo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cossio-sobre-su-candidatura-soy-la-victima-y-evo-es-el-persecutor-reclamare-mi-derecho/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/coroneles-de-la-policia-denuncian-acuerdos-entre-yuri-calderon-y-evo-morales-durante-los-dias-de-conflicto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-fundacion-pazos-kanki-presento-una-investigacion-sobre-el-fraude-electoral-del-2019-en/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cocaleros-del-tropico-estan-en-emergencia-y-rechazan-que-la-planta-de-urea-se-traslade-a-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/derrumbe-de-mina-en-venezuela-deja-tres-muertos-y-al-menos-20-desaparecidos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dos-avalanchas-dejan-al-menos-38-fallecidos-en-turquia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/anez-dice-que-la-practica-de-la-prebenda-acabo-en-ascensos-en-la-policia-boliviana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/china-extrema-restricciones-y-reporta-563-muertos-por-virus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/asi-intenta-brad-pitt-reparar-la-relacion-rota-con-su-hijo-maddox-tras-un-violento-episodio-del-pasado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/leyenda-del-cine-kirk-douglas-muere-a-los-103-anos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/confirman-un-caso-sospechoso-de-coronavirus-en-cochabamba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/video-titulares-de-noticias-de-tv-bolivia-noche-del-miercoles-5-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/es-una-satisfaccion-para-mi-entregar-sables-de-general-a-los-jefes-de-la-policia-nacional/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/humberto-roca-volvera-a-bolivia-su-sentencia-fue-revocada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dieron-de-alta-a-los-turistas-que-estaban-aislados-en-uyuni/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/arias-pide-al-transporte-pesado-reflexionar-y-suspender-bloqueo-para-negociar-con-peru/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dictadura-gerontocratica-castrista-vuelve-a-detener-al-indoblegable-cocofarinas-maduro-t/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/murillo-alista-una-querella-penal-contra-todos-los-que-montaron-el-caso-terrorismo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/investigan-la-muerte-de-una-joven-por-disparo-en-cochabamba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/me-ofrecian-casos-y-pegas-para-incriminarme-dice-acusado-del-caso-terrorismo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/murillo-dice-que-evo-miente-porque-su-libreta-militar-no-fue-secuestrada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/policia-atropello-a-dos-personas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/denuncian-que-funcionarios-de-comabol-fueron-tomados-como-rehenes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/apicultores-bloquean-la-ruta-santa-cruz-tarija/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-justicia-podria-rematar-bienes-de-lucio-vedia-por-estafa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/san-jose-amargo-a-real-santa-cruz-sobre-el-final-en-montero/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/quienes-son-los-candidatos-a-primeros-senadores/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-fastuoso-regalo-de-cumpleanos-de-georgina-rodriguez-a-cristiano-ronaldo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cossio-senala-que-hay-diferencias-sustanciales-entre-su-situacion-y-la-de-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/a-88-dias-para-las-elecciones-se-cumplio-con-el-25-del-proceso-electoral-aseguro-salvador-romero/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobernadora-de-cochabamba-no-descarta-la-aprehension-de-manfred-reyes-villa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/los-municipios-de-cocapata-y-huayllamarka-consolidaron-sus-manchas-urbanas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/estudiantes-de-la-normal-piden-la-renuncia-del-ministro-de-educacion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/quispe-insiste-con-proceso-contra-arce-por-caso-fondioc/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cesar-guzman-el-hijo-del-chapo-que-no-quiso-seguir-los-pasos-de-su-padre/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mas-de-110-conjuntos-folkloricos-participaran-en-el-anata-andino-en-oruro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-ex-prefecta-de-chuquisaca-savina-cuellar-me-ha-visitado-en-palacio-de-gobierno-hemos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/los-jovenes-son-el-motor-mas-importante-de-los-procesos-de-transformacion-de-nuestras-soci/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nacio-un-bebe-con-dos-cabezas-y-la-familia-denuncio-mala-praxis/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/trump-supera-el-juicio-politico-con-el-apoyo-de-los-republicanos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/termino-la-cumbre-clave-en-barcelona-que-pasara-con-abidal-y-messi/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/realizaran-simulacro-por-coronavirus-en-el-aeropuerto-viru-viru/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/trump-es-absuelto-de-un-segundo-cargo-obstruccion-al-congreso/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/luis-arce-retoma-la-docencia-en-la-carrera-de-economia-de-la-umsa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/eso-es-una-completa-mentira-tania-ruiz-respondio-a-los-rumores-sobre-la-salud-de-pena-nieto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/holanda-aprobara-una-pastilla-letal-para-los-mayores-de-70-cansados-de-vivir/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/senado-absuelve-del-cargo-de-abuso-a-trump/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/larrea-asegura-que-en-bolivia-no-existen-condiciones-para-atender-casos-de-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ministro-arias-gobierno-del-mas-no-pagaba-a-constructoras-porque-destinaba-el-dinero-a-su-campana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-embajada-britanica-lanza-la-british-week-para-promover-la-cultura-y-el-comercio-con-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/oms-pide-675-millones-de-dolares-para-luchar-contra-el-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dano-obligara-a-demoler-la-unidad-de-transito-de-el-alto-para-construir-nueva-estructura/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/comision-de-etica-admite-denuncia-contra-sonia-brito-y-brigida-quiroga/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/acusados-relataron-lo-duro-que-fue-vivir-el-caso-terrorismo-por-10-anos-siendo-inocentes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/se-confirman-5-muertes-por-dengue-en-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/armada-boliviana-activa-operativo-de-limpieza-en-la-ribera-del-rio-bermejo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/he-recibido-esta-manana-las-cartas-credenciales-del-nuevo-embajador-de-la-republica-de-al/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sala-constitucional-cuarta-ordena-que-la-ley-de-garantias-sea-enviada-a-consulta-al-tcp/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/reportan-acumulacion-de-basura-en-el-tunari-pese-a-campana-de-limpieza/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/plaga-de-langostas-ataca-sembradios-en-machareti/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/doria-medina-lo-optimo-para-el-pais-es-que-las-elecciones-se-resuelvan-en-primera-vuelta/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/que-evoespueblo-el-campeon-del-fraude-el-que-vulnero-la-constitucion-y-desobedecio-la-v/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/oms-bolivia-coordina-en-ginebra-acciones-ante-amenazas-sanitarias-globales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/borda-si-la-dea-investiga-a-evo-cometeria-una-violacion-a-la-soberania-del-estado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/retiran-banner-de-entrega-de-obra-con-imagen-de-anez-y-alcalde-de-riberalta/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/extranas-coincidencias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-unidad-de-las-candidaturas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-concejala-beatriz-alvarez-es-designada-como-alcaldesa-interina-de-la-paz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/apicultores-de-cochabamba-reportan-perdida-de-bs-32-millones-por-contrabando-de-miel/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-arte-de-enganar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/capacitan-a-personal-del-aeropuerto-en-trinidad-para-detectar-y-prevenir-casos-de-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-mayor-estudio-genomico-del-cancer-abre-la-posibilidad-de-detectarlo-antes-de-que-aparezca/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/los-masistas-en-el-proceso-electoral/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/rechazan-tarifas-excesivas-para-ingresar-al-cristo-de-la-concordia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/medicos-del-hospital-de-ninos-de-wuhan-aseguran-que-las-mujeres-embarazadas-infectadas-con-el-nuevo-coronavirus-pueden-transmitirlo-a-sus-hijos-antes-de-que-nazcan/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/los-oscar-cierran-su-votacion-despues-de-un-polemico-error-en-twitter/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/video-titulares-de-noticias-de-tv-bolivia-mediodia-del-miercoles-5-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/agorafobia-y-soledad-los-problemas-sin-fin-de-sinead-oconnor/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-candidatura-de-evo-para-senador-no-fue-ideada-por-el-mas-sino-por-el/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/diputados-denuncian-que-aviones-de-aerosur-fueron-desmantelados-para-beneficiar-a-boa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mesa-rechaza-posible-candidatura-de-evo-y-lo-llama-campeon-del-fraude/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-quemaron-y-pisotearon-quisieron-hacerla-desaparecer-de-los-edificios-publicos-para-eli/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nuevo-embajador-de-alemania-presenta-cartas-credenciales-a-la-presidenta-anez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/carla-bruni-y-nicolas-sarkozy-12-anos-de-un-matrimonio-en-el-que-nadie-creia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/denuncian-a-allegada-del-mas-por-enriquecimiento-ilicito-de-us-150-millones-y-vinculos-con-el-narcotrafico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/quien-es-el-colocho-el-peligroso-integrante-de-la-union-tepito-detenido-en-tlalpan/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cardenas-analizara-reactivar-el-caso-del-titulo-de-exvicepresidente-garcia-linera/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/infectara-el-coronavirus-la-economia-mundial/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/rompe-craneos-el-nuevo-reto-viral-entre-adolescentes-que-es-mortal/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mexico-crea-consejo-de-cannabis/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cocalero-loza-califica-como-instruccion-politica-del-gobierno-el-cierre-del-caso-terrorismo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/boa-inicia-proceso-contra-dos-exgerentes-de-la-aerolinea-estatal/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/inflacion-de-venezuela-cerro-en-mas-de-9-500-por-ciento-en-2019/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/presidente-ecuatoriano-pide-aprobar-ley-para-expulsar-a-delincuentes-extranjeros/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/un-avion-se-sale-de-la-pista-en-estambul-al-aterrizar-y-se-parte-en-tres/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/piden-esclarecer-muertes-de-rozsa-magyarosi-y-dwyer-tras-cierre-del-caso-terrorismo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dos-personas-a-palmasola-por-tratar-de-consolidar-doble-identidad-en-el-segip/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/lideres-civicos-del-pais-respaldan-candidatura-de-jeanine-anez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/empleados-del-mi-teleferico-estan-en-emergencia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/imputan-a-expresidente-del-ted-de-potosi-por-el-fraude-en-elecciones-2019/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mesa-se-estrella-contra-la-presidenta-candidata-jeanine-anez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/una-impresora-de-piel-que-cura-quemaduras-grandes-y-graves/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fejuve-de-el-alto-rechaza-lista-de-candidatos-uninominales-del-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/potosi-demandaron-al-alcalde-de-puna-por-abandono-de-sus-funciones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cae-pareja-que-robaba-celular-a-pasajeros-de-micros/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/comcipo-pide-retorno-de-zuleta-a-ylb/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/piden-a-la-dea-que-investiguen-a-evo-por-narcotrafico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/registran-dos-primeros-casos-de-zika-de-2020-en-trinidad/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/neuer-de-volante-el-extrano-plan-de-guardiola/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/barcelona-podria-despedir-a-abidal-tras-el-enojo-de-messi/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/crisis-postelectoral-impulsa-a-nuevas-figuras-politicas-del-pais/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/joven-intenta-violar-a-nina-con-discapacidad-en-sucre/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/whatsapp-corrige-error-que-permitia-el-acceso-a-los-archivos-desde-el-ordenador/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/investigan-si-la-urea-fue-utilizada-como-precursor/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/zidane-barcelona-no-tiene-debilidades/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/un-dia-de-cracks-cristiano-tevez-y-neymar-celebran-su-cumpleanos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hallan-el-cadaver-de-un-hombre-reportado-como-desaparecido/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bejarano-%c2%93volvere-en-menos-de-tres-meses%c2%94/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/24-apps-android-con-amenazas-bajadas-casi-400-millones-de-veces/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/justicia-libero-a-los-2-unicos-encarcelados-en-el-caso-odebrecht-lavajato/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/senador-aguilar-denuncia-veto-desde-argentina-a-su-candidatura-y-de-eva-copa-en-listas-del-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/twitter-comenzara-a-etiquetar-y-eliminar-los-deepfakes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/productores-bolivianos-de-miel-fortalecen-sus-protestas-y-el-bloqueo-en-la-ruta-a-argentina-continua/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tse-revisa-nominas-de-candidatos-vinculados-con-el-narcotrafico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mario-cossio-rebate-la-norma-electoral-sobre-radicatoria-y-asegura-estar-habilitado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/borda-anuncia-una-interpelacion-al-fiscal-general-por-retirar-la-acusacion-del-caso-terrorismo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/entra-en-vigencia-seguro-de-accidentes-para-147-arbitros/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/lg-cancela-su-exposicion-en-el-mwc-2020-por-el-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/messenger-kids-la-app-de-mensajeria-para-ninos-cuenta-ahora-con-mas-controles-parentales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/una-aerolinea-de-hong-kong-le-pidio-a-sus-27-000-empleados-que-tomen-una-licencia-sin-goce-de-sueldo-por-el-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-tiempos-de-dictadura-hay-inocentes-perseguidos-y-delincuentes-liberados-los-medios-co/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/se-estima-que-40-mil-garrafas-se-encuentran-en-mal-estado-en-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ante-anuncio-de-aplazos-padres-solicitan-incorporar-pedagogos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/vinto-palmaflor-suma-retornos-para-visitar-al-equipo-del-pueblo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/serginho-no-estoy-al-100-ante-el-tigre-deben-jugar-los-que-si-lo-estan/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/duelo-de-gestos-en-el-congreso-donald-trump-eludio-el-saludo-con-nancy-pelosi-y-ella-rompio-su-discurso-sobre-el-estado-de-la-union/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/asaltantes-ingresan-como-clientes-y-roban-bs-50-mil-de-una-empresa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alertan-que-pedofilos-roban-de-las-rrss-fotografias-de-ninas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/caricaturas-de-bolivia-del-miercoles-5-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/blooming-con-equipo-listo-recibira-al-emelec/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/valverde-cree-que-hay-cuatro-protagonistas-de-cara-a-las-elecciones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/microentorno-el-ecosistema-olvidado-del-cancer/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hurtado-adquirio-9-medios-y-otras-11-firmas-en-la-era-evo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/comision-de-la-fbf-castiga-a-arbitro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/camaras-captan-robo-en-centro-de-capacitacion-para-belleza-en-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/real-santa-cruz-juega-con-el-santo-en-el-tahuichi/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/piden-la-inhabilitacion-de-evo-cossio-y-pary-por-incumplir-requisitos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dellien-pierde-en-el-open-de-cordoba-ante-pedro-cachin/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/chi-otra-vez-bajo-la-sombra-del-machismo-y-cobro-a-candidatos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/portugues-jose-peseiro-nuevo-entrenador-de-la-seleccion-venezolana-de-futbol/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mas-y-la-alianza-juntos-apelan-a-cuadros-partidarios-creemos-a-pititas-y-exiliados/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/velez-coquimbo-unido-y-melgar-primeros-ganadores-en-apertura-de-la-sudamericana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/oriente-visita-a-vasco-da-gama-en-dificil-parada-por-la-sudamericana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nacional-potosi-pierde-en-casa-2-0-ante-melgar-y-esta-casi-eliminado-de-la-sudamericana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/transportistas-en-capilla/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-bolivia-archivaron-la-falsa-acusacion-de-terrorismo-contra-ciudadanos-injustamente-per/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/portadas-de-periodicos-de-bolivia-del-miercoles-5-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/horoscopo-del-miercoles-5-de-febrero-del-2020-de-josie-diez-canseco/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tras-11-anos-absuelven-a-39-acusados-de-terrorismo-estos-apuntan-a-evo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/apuntan-a-alfredo-rada-por-asesinatos-en-caso-terrorismo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/estudio-revela-que-solo-fpv-cumple-al-100-con-la-paridad-y-alternancia-de-genero-en-candidaturas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/carlos-mesa-dice-estar-en-desventaja-con-jeanine-anez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bolivia-tendra-reactivos-para-la-deteccion-del-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ilo-recibira-10-679-toneladas-de-carga-boliviana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nacionalizacion-freno-inversion-y-redujo-reservas-hidrocarburiferas-en-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/uscongress-el-corazon-de-la-democracia-mas-antigua-del-mundo-recibe-a-jguaido-con-dos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/a-las-2230-estare-con-priscilla-quiroga-en-a-todo-pulmon-en-cadena-a-para-hablar-de-opor/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/eva-copa-dice-que-sus-bases-decidiran-su-futuro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/renuncia-fiscal-a-cargo-de-los-casos-evo-morales-y-fraude-electoral/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/si-les-llego-un-supuesto-plan-de-gobierno-de-creemos-y-en-la-primera-pagina-no-dice-que-va/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cuarto-feminicidio-en-cochabamba-martha-recibio-18-punaladas-de-su-pareja/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/llevalo-nomas-a-tu-casa-es-una-bendicion-de-dios-argumento-de-la-defensoria-para-no-recibir-a-una-bebe-abandonada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/presidenta-anez-revela-que-el-gobierno-de-evo-morales-distorsiono-indicadores-economicos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/lideres-civicos-se-unieron-hoy-a-la-gran-alianza-juntos_bolivia-consolidando-la-unidad-de/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/murillo-en-acto-policial-no-permitimos-que-esto-vuelva-atras-estoy-dispuesto-a-dejar-mi-vida-en-el-camino/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/branko-anuncia-proceso-contra-evo-ante-la-corte-penal-internacional/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mesa-y-camacho-coinciden-en-que-estan-en-desigualdad-de-condiciones-en-relacion-a-jeanine-anez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/expectativa-emocion-y-lagrimas-13-imagenes-que-resumen-la-ultima-audiencia-del-caso-terrorismo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cepal-bm-y-fmi-estiman-que-la-economia-de-bolivia-crecera-entre-3-y-38/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/millares-evo-morales-con-su-candidatura-busca-evitar-su-extradicion-por-narcotrafico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/kyoko-koga-las-donaciones-y-prestamos-de-japon-a-bolivia-ascienden-a-us-1-870-mm/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/senador-rodriguez-cierre-del-caso-terrorismo-evidencia-que-fue-montado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/las-candidaturas-de-evo-morales-y-mario-cossio-desatan-polemica-se-aguarda-la-decision-del-tse/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cual-es-la-trayectoria-de-los-candidatos-a-la-presidencia-y-vicepresidencia-de-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/certificacion-de-reservas-de-gas-incluira-dato-por-departamentos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/felicito-a-caincobolivia-por-organizar-el-foro-de-estabilidad-productividad-e-institucio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/obras-publicas-y-transporte-pesado-acuerdan-modificar-reglamento-sobre-multas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mi-solidaridad-con-el-hermano-luchoxbolivia-la-dictadura-de-anez-no-cesa-en-su-afan-de/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/un-medico-alerto-sobre-el-nuevo-coronavirus-pero-fue-silenciado-por-las-autoridades-chinas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mas-pide-informacion-a-la-fiscalia-sobre-situacion-legal-de-andronico-rodriguez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/monasterios-pedira-a-eeuu-investigar-a-evo-morales-por-narcotrafico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/video-titulares-de-noticias-de-tv-bolivia-noche-del-martes-4-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cainco-plantea-producir-un-aluvion-de-inversion-privada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-locura-del-poder-y-tiempos-de-gataflorismo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hijo-del-expresidente-banzer-sera-candidato-a-diputado-de-tarija-por-la-alianza-creemos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/conozca-el-tamal-mas-grande-del-mundo-que-aspira-a-entrar-en-los-guinness-record/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/que-tiene-que-decir-la-ciencia-sobre-el-apocalipsis/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/disminuye-la-saturacion-en-el-hospital-de-ninos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/firefox-ya-permite-ver-los-datos-que-recopila-de-los-usuarios/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/abogado-de-hermosa-pide-declaracion-ampliada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tik-tok-prueba-un-diseno-de-perfil-similar-a-instagram/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-enero-se-registraron-12-casos-de-infanticidio-en-el-pais-duplicando-el-promedio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/angelici-deja-el-cargo-de-asesor-del-mundial-de-clubes-de-fifa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nacional-de-interclubes-de-natacion-cambia-de-sede-al-complejo-acuatico-kalomai/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/aduana-decomisa-850-celulares-de-contrabando-en-oruro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/quiroga-el-strongman-boliviano-apunta-a-nuevos-logros-internacionales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-iglesia-insta-a-candidatos-a-esforzarse-para-recuperar-la-confianza-de-la-gente/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobernacion-y-alcaldia-crucena-ven-irracional-la-peticion-de-2-000-items-por-parte-de-salubristas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/diputada-del-mas-dice-que-oportunistas-que-huyeron-como-ratas-entraron-en-las-candidaturas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/seis-nuevos-generales-fueron-ascendidos-en-la-policia-boliviana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/justin-bieber-revela-que-su-adiccion-a-las-drogas-comenzo-a-los-13-anos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/no-era-debate-la-cainco-invito-a-todos-los-candidatos-para-escuchar-a-los-productores-qu/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mas-si-no-habilitan-a-evo-andronico-tomaria-su-lugar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-onu-urge-a-romper-los-circulos-viciosos-de-guerras-clima-y-pobreza/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/rafael-navarro-explico-por-que-hace-3000-millones-de-anos-marte-era-parecido-a-la-tierra/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/lionel-messi-estallo-contra-la-dirigencia-del-barcelona-tras-los-dichos-de-abidal-sobre-la-salida-de-valverde-habria-que-dar-nombres/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/por-que-jennifer-lopez-y-shakira-no-cobraron-por-su-actuacion-en-el-super-bowl/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/entrenamientos-en-hoteles-y-estadios-reconvertidos-en-hospitales-asi-es-el-futbol-en-china-durante-la-crisis-por-el-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-hijo-de-una-de-las-victimas-en-montero-lamenta-que-permitan-la-candidatura-de-deisy-choque/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/concejala-salazar-incursion-de-las-cebras-en-el-teleferico-ampliara-cultura-ciudadana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/conade-advierte-que-vigilara-a-anez-para-evitar-el-uso-de-bienes-del-estado-durante-su-campana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/jeanine-anez-vamos-a-mantener-el-regimen-cambiario-vigente-y-el-tipo-de-cambio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fiscalia-desprecinta-oficinas-del-tribunal-electoral-de-la-paz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ministro-de-hidrocarburos-afirma-que-auditoria-y-reingenieria-a-la-planta-de-urea-durara-tres-meses/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tomasa-yarhui-tuto-quiroga-le-abrio-las-puertas-al-mujeres-indigenas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/salud-descarta-casos-sospechosos-de-coronavirus-en-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/denuncian-que-no-se-esta-pagando-el-bono-juana-azurduy-en-cochabamba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/llega-la-presidenta-jeanine-anez-al-foro-economico-de-cainco/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/river-plate-se-queda-con-la-copa-libertadores-de-2018-pero-jugara-dos-partidos-sin-publico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/detienen-a-exfutbolista-chileno-en-cochabamba-tras-mas-de-un-ano-profugo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/como-hacer-campanas-politicas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tuto-plantea-entregar-acciones-de-empresas-estatales-a-cada-boliviano-mayor-de-edad/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/joaquin-botero-es-la-carta-de-tupiza-para-el-ascenso/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/multimillonario-y-guru-tecnologico-quien-es-michael-polansky-el-nuevo-novio-de-lady-gaga/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/patzi-dice-que-ya-no-apoya-a-anez-porque-eligio-a-doria-medina/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tras-11-anos-bolivia-e-israel-buscan-retomar-su-relacion-bilateral/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/evo-dice-que-quiere-ser-senador-para-blindarse-ante-las-amenazas-de-eeuu/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/de-ser-golden-boy-y-crear-un-emporio-boxistico-al-infierno-de-las-adicciones-la-ajetreada-vida-de-oscar-de-la-hoya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-del-mas-dejo-una-deuda-de-bs-703-millones-con-constructoras/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/reino-unido-prohibira-la-venta-de-coches-a-gasolina-y-diesel-en-2035/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/centa-reck-acepte-porque-venimos-de-una-lucha-derrotando-al-dictador/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-mineria-ilegal-del-oro-deja-muertes-y-desapariciones-en-venezuela/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/huawei-nova-5t-llego-a-bolivia-para-brillar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/transporte-pesado-anuncia-bloqueo-en-la-frontera-con-peru/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/comenzo-el-cuadrangular-final-del-pre-olimpico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/drones-combaten-el-coronavirus-en-china-echan-desinfectante-desde-el-aire/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/lola-terrazas-estoy-convencida-del-desafio-que-me-toca-asumir/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/pagina_siete-cual-debate-lo-de-ahora-es-un-foro-empresarial-cual-es-su-intencion-en-d/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/villena-anez-mesa-y-arce-abarcaran-el-85-de-los-votos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/team-video-una-excelente-forma-de-preparar-sesiones-de-videoconferencia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/viceministro-tomara-acciones-legales-contra-de-adn-por-inscribirlo-como-candidato/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/oriente-llego-a-brasil-y-fue-recibido-por-hinchas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sujeto-asesino-a-su-pareja-y-despues-se-suicido/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/policia-interviene-courier-en-la-paz-y-secuestra-material-electoral/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/analista-critica-a-partidos-politicos-por-continuar-con-la-vieja-practica-de-inscribir-a-s/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/los-partidos-politicos-ya-pueden-hacer-propaganda-y-sustituir-a-sus-candidatos-hasta-el-19-de-marzo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/felicitaciones-en-su-dia-a-ls-observadors-electorales-y-especialmente-el-reconocimiento/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/pablo-banegas-tuto-ha-sido-el-unico-postulante-que-ha-hecho-una-propuesta/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fiscalia-expuso-5-fundamentos-para-retirar-acusacion-en-el-caso-terrorismo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/video-titulares-de-noticias-de-tv-bolivia-mediodia-del-martes-4-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tras-la-foto-de-jennifer-aniston-y-brad-pitt-llega-la-de-bradley-cooper-e-irina-shayk/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-acusada-por-homicidio-en-montero-es-ratificada-como-candidata-del-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-amarga-polemica-que-mancho-el-espectacular-show-de-jennifer-lopez-en-el-super-bowl/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-cidh-lamenta-que-venezuela-negara-el-ingreso-a-su-delegacion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-dolorosa-revelacion-de-shannen-doherty-mi-cancer-ha-vuelto-estoy-petrificada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mira-la-lista-de-candidatos-a-las-elecciones-generales-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/necesitamos-una-economia-que-se-base-en-el-esfuerzo-y-el-progreso-de-la-gente-y-no-en-el/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bolivia-ocupa-uno-de-los-ultimos-lugares-en-la-lucha-contra-el-cancer-en-latinoamerica-c/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-misterio-de-rafael-amaya-ni-los-actores-del-senor-de-los-cielos-saben-donde-esta/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hoy-abrazo-a-cada-uno-de-los-que-vivieron-en-carne-propia-el-calvario-de-este-cruel-juicio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tse-organizaciones-politicas-tendran-48-horas-para-subsanar-observaciones-a-listas-de-candidatos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/prado-salmon-conseguimos-doblegar-a-esa-maldita-justicia-que-se-creo-desde-el-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/coronavirus-tres-turistas-son-aislados-en-uyuni-por-presentar-sintomas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-mas-logro-su-objetivo-dividir-y-dispersar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hemos-compartido-una-grata-entrevista-con-el-hermano-victor-hugo-morales-vhmok-y-su-equip/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tuto-evo-es-un-tirano-cobarde-que-busca-impunidad-con-candidatura/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tq-con-tomasita-yarhui-la-pqz-4-feb-presentando-binomio-de-integracion-2/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/samuel-sobre-evo-no-deberia-ser-candidato-no-cumple-los-requisitos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/se-acabaron-11-anos-de-mentira-fiscalia-retira-acusacion-sobre-el-caso-terrorismo-nada-l/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/percy-felicita-a-los-transportistas-que-ganaron-la-licitacion-del-servicio-brt-del-primer-anillo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/paro-de-salubristas-deja-sin-atencion-a-pacientes-en-hospitales-crucenos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/optimismo-en-el-domingo-3-de-mayo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/familias-de-las-victimas-de-senkata-recibiran-100-000-bolivianos-de-indemnizacion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/presentan-nueva-directiva-de-la-micro-y-pequena-empresa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/quispe-advierte-a-arce-voy-a-hacer-que-lo-imputen-y-que-lo-lleven-a-la-carcel/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/caricaturas-de-bolivia-del-martes-4-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/historico-dos-representantes-indigenas-son-inscritos-sin-ser-parte-de-una-organizacion-politica/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-mas-ahora-justifica-la-candidatura-de-adriana-salvatierra/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/canciller-dorado-y-navarro-deberian-estar-agradecidos-por-haber-logrado-salir-del-pais/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/montano-lizarraga-uso-el-ministerio-de-comunicacion-para-proyectarse-politicamente/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/denuncian-el-retiro-de-la-wiphala-de-los-certificados-de-nacimiento/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-comision-de-derechos-humanos-de-la-oea-fue-impedida-de-abordar-un-avion-a-venezuela-por-orden-del-regimen-de-nicolas-maduro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/rafinha-y-barros-listos-para-la-revancha/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cinco-claves-para-entender-el-caso-terrorismo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/muere-juez-argentino-que-proceso-a-cristina-fernandez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/detienen-al-terror-de-los-valles/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tq-con-tomasita-yarhui-la-pqz-4-feb-presentando-binomio-de-integracion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/coroneles-denuncian-que-yuri-calderon-no-dio-la-orden-para-intervenir-en-montero/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fernando-hurtado-de-la-cainco-inaugura-el-foro-estabilidad-productividad-e-institucionali/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sedede-exige-el-aporte-de-la-fbf-para-mejorar-el-estadio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fiscalia-retira-acusacion-y-el-caso-terrorismo-llega-a-su-fin-tras-11-anos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/samuel-nuestro-binomio-es-el-que-mejor-se-complementa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/atigrados-analizan-el-retorno-de-henry-vaca/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/inicio-el-foroestabilidad-productividad-e-institucionalidad-la-bolivia-que-queremos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ypfb-la-exploracion-tuvo-un-20-de-eficacia-durante-el-gobierno-del-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/aparecio-la-bebe-que-fue-robada-de-un-hospital-en-el-alto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/caso-montenegro-no-dan-con-autor-de-fallo-alterado-2/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-aviador-acude-a-fabol-por-alvarez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dt-villegas-alista-un-equipo-fuerte-en-zona-de-ataque/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dellien-frente-a-cachin-en-el-open-de-cordoba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-unos-minutos-estare-en-el-mananero-de-la-red-uno-santa-cruz-para-conversar-con-sus-peri/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/caso-montenegro-no-dan-con-autor-de-fallo-alterado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/encuentra-el-cadaver-de-un-hombre-en-el-rio-rocha/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/una-presentadora-de-tv-un-alcalde-y-otras-ocho-sorpresas-en-las-listas-de-candidatos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/murillo-una-mano-negra-oculto-la-orden-de-aprehension-contra-navarro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/colegio-de-abogados-denuncia-a-fiscales-por-no-extinguir-el-caso-terrorismo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-open-bolivia-2020-de-taekwondo-para-pacenos-y-crucenos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bolivia-cosecha-tres-oros-en-campeonato-de-atletismo-bajo-techo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/wilfredo-chavez-no-tiene-orden-de-aprehension-pero-se-refugia-en-embajada-de-argentina/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-san-javier-el-vuelque-de-un-vehiculo-ocasiona-la-muerte-del-conductor/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/de-llantos-y-llorones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/marcelo-martins-tengo-miedo-esta-terrible-la-situacion-en-wuhan/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/aguas-del-rio-surutu-arrastran-un-camion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gabigol-se-suma-a-una-campana-contra-la-homofobia-en-brasil/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/argentina-se-acerca-a-tokio-y-brasil-tropieza-en-preolimpico-sudamericano/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/prometen-16-items-al-banco-de-sangre-ante-la-sobredemanda/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-concesion-del-brt-es-para-la-linea-17-y-18/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-ted-santa-cruz-coordina-la-seguridad/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/por-dia-surgen-130-casos-con-sospecha-de-dengue/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/murio-en-hong-kong-un-paciente-contaminado-con-el-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/jusino-el-partido-ante-guabira-estara-muy-complicado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/a-8-dias-de-su-renuncia-al-gobierno-de-anez-roxana-lizarraga-aparece-en-las-listas-de-creemos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nacional-potosi-y-melgar-abren-la-copa-sudamericana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/vasco-recupero-a-sus-lesionados-para-recibir-al-albiverde/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/claure-oficializa-la-contratacion-de-abrego/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-mas-ipsp-fue-el-primer-partido-en-presentar-listas-de-candidatos-agradezco-el-arduo-tr/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/portadas-de-periodicos-de-bolivia-del-martes-4-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ninos-de-primaria-que-reprueben-una-materia-perderan-el-ano/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/a-los-que-postulan-al-parlamento-solo-les-pido-tres-cosas-1-que-se-concentren-en-mejorar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/a-septiembre-ypfb-registra-perdidas-de-us-443-millones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/horoscopo-de-martes-4-de-febrero-del-2020-de-josie-diez-canseco/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/evo-gente-de-la-rjc-y-de-manfred-figuran-en-listas-por-cochabamba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hay-69-anos-de-diferencia-entre-la-mas-joven-y-la-mas-longeva/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hay-8-binomios-inscritos-mts-declina-y-adn-reaparece-las-sorpresas-y-las-traiciones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/comienza-campana-electoral-y-con-esta-la-guerra-sucia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/por-fin-alguien-fuerte-y-clarono-hay-que-complicarse-con-el-tipo-de-cambio-lo-que/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gracias-por-tu-optimismo-riosmauricio-mi-objetivo-es-lograr-la-estabilidad-economica-de/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/algunos-rostros-conocidos-que-buscaran-un-curul-en-la-asamblea/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/evo-refugiado-en-argentina-y-cossio-que-estuvo-asilado-en-paraguay-son-candidatos-a-senadores/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/conozca-la-lista-de-binomios-y-candidatos-a-senadores-y-diputados-de-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/narcotraficantes-habrian-asesinado-a-ocho-hombres-en-casino-clandestino-en-mexico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-nuevo-novio-de-lady-gaga-michael-polansky-un-guru-tecnologico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tse-tiene-hasta-el-lunes-para-revisar-registros-de-candidatos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-revolucionario-galaxy-fold-llega-a-bolivia-a-cambiar-el-concepto-de-smartphone/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mario-cossio-roxana-lizarraga-y-la-justa-son-candidatas-por-la-alianza-de-camacho/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tse-por-primera-vez-pueblos-indigenas-postularan-a-diputaciones-de-modo-independiente/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-este-aniversario-de-riberalta-junto-al-inra-entregamos-61-titulos-ejecutoriales-dent/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/venezuela-forma-parte-de-la-oea-y-el-sistema-interamericano-si-la-dictadura-impide-el-ing/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/los-candidatos-a-la-presidencia-inscritos-al-tse-para-las-elecciones-generales-del-3-de-mayo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/1595533/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-tse-confirma-que-ya-se-inscribieron-ocho-candidaturas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/se-suspende-la-audiencia-de-romero-y-denuncia-que-recibe-amenazas-en-la-carcel-de-san-pedro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dt-de-emelec-blooming-es-un-equipo-peligroso/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/defensoria-del-pueblo-denuncia-irregularidades-en-detencion-de-patricia-hermosa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/murillo-wilfredo-chavez-no-esta-buscado-pero-no-es-un-angelito-y-se-lo-esta-investigando/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/evo-aparece-como-primer-senador-del-mas-en-cochabamba-andronico-es-tercero/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/choque-piensa-que-no-hay-garantias-para-que-vuelva-evo-morales-al-pais/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/adn-reaparece-en-la-arena-politica-con-candidatos-a-la-presidencia-y-vicepresidencia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/arturo-murillo-incidente-con-exautoridades-en-el-aeropuerto-esta-en-investigacion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nuevamente-asumo-el-reto-de-acompanar-a-un-estadista-como-tutoquiroga-a-la-vicepresidenci/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/esta-noche-estare-en-que-no-me-pierda-de-la-red-uno-a-las-2230-para-conversar-sobre-temas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/seis-extranjeros-detenidos-por-estafa-agravada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-camiri-exigen-la-renuncia-de-los-concejales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tuto-vuelve-a-apostar-por-tomasa-yarhui-para-su-binomio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tse-confirma-el-registro-de-ocho-binomios-para-las-elecciones-del-3-mayo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cc-se-juega-por-una-activista-joven-y-una-profesora-como-principales-candidatas-por-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/plataformas-y-pititas-quedan-marginados-de-las-candidaturas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-confuso-momento-que-se-vivio-en-la-presentacion-de-los-candidatos-por-el-fpv/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/video-titulares-de-noticias-de-tv-bolivia-noche-del-lunes-3-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/a-partir-del-30-de-abril-30-buses-circularan-en-la-ruta-del-brt/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bolivar-confirma-la-contratacion-de-victor-abrego-el-goleador-y-revelacion-del-preolimpico-sub-23/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/felcn-secuestra-cerca-de-una-tonelada-de-droga-durante-varios-operativos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tse-pagara-deuda-de-bs-120-millones-por-obligaciones-contraidas-en-comicios-de-octubre/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-alcalde-de-tarija-va-como-candidato-a-primer-senador-por-comunidad-ciudadana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dirigente-cocalero-dice-que-el-mas-incluyo-a-evo-como-candidato-a-senador/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/denuncian-estafa-por-us-150-000-por-venta-de-franquicia-de-pollos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ruth-nina-presenta-al-minero-feliciano-mamani-como-candidato-a-la-presidencia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/pan-bol-llega-al-tse-para-registrar-candidaturas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/saludo-a-dirigentes-del-mas-ipsp-y-de-movimientos-sociales-por-el-gran-esfuerzo-de-selecci/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/servicios-portuarios-informa-que-rige-rebaja-de-100-en-tarifas-para-despachos-directos-en-arica/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/llega-wilson-santamaria-para-inscribir-las-candidaturas-de-la-alianza-juntos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/jasmine-barrientos-denuncia-machismo-y-asegura-que-ella-es-candidata-a-vice-por-fpv/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/chavez-se-refugia-y-denuncia-que-quisieron-impedir-que-inscriba-candidaturas-del-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/con-chi-ya-son-tres-las-candidaturas-inscritas-para-los-comicios-del-3-de-mayo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/diego-pary-confirma-que-postula-a-senador-con-el-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cc-presenta-lista-candidatos-y-confirma-binomio-mesa-pedraza/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/candidata-a-la-vicepresidencia-de-chi-hyun-no-pudo-presentar-sus-documentos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mujeres-realizan-una-vigilia-por-la-paridad-en-los-frentes-politicos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/chi-hyun-llega-al-filo-de-la-hora-para-registrar-candidaturas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/arce-no-confirma-si-evo-esta-en-la-lista-de-candidatos-y-denuncia-acoso-y-persecucion-politica/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/comunidad-ciudadana-presenta-su-lista-de-candidatos-al-tse/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/carlos-romero-denuncia-que-recibe-amenazas-en-la-carcel-de-san-pedro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/guardia-es-herido-de-gravedad-en-atraco-a-empresa-minera/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-mas-es-el-primer-partido-en-registrar-las-listas-de-candidatos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/banco-de-sangre-logra-un-acuerdo-y-suspenden-paro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-autonomia-nos-ayudo-a-construir-suenos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tension-expectativa-y-pedidos-de-respeto-a-la-paridad-de-genero-en-las-afueras-del-tse/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/salubristas-inician-paro-desde-manana-si-el-gobierno-no-dota-2-000-items/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-mas-ratifica-invitacion-a-evo-como-candidato-a-senador/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hasta-la-fecha-seis-empresas-tienen-autorizacion-para-difundir-encuestas-electorales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/felix-patzi-declina-candidatura-no-queremos-ser-parte-de-la-dispersion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alerta-naranja-por-el-dengue-en-monteagudo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bus-se-incendia-tras-sufrir-un-cortocircuito-en-la-bateria/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/se-instala-la-feria-de-material-escolar-en-el-nuevo-mercado-la-ramada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/por-la-inasistencia-del-juez-se-suspende-la-audiencia-que-podia-poner-fin-al-caso-terrorismo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/policias-de-civil-salen-para-controlar-al-transporte-publico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/felix-patzi-declina-candidatura-a-la-presidencia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-el-aniversario-de-riberalta-participamos-de-la-sesion-de-honor-en-el-concejo-hemos-an/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/david-soliz-ahora-manda-en-la-federacion-de-atletismo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/al-menos-dos-muertos-en-un-tiroteo-en-una-universidad-de-texas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/oriente-y-blooming-ponen-la-mira-en-la-copa-sudamericana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/aprehenden-a-tres-personas-por-trata-y-trafico-de-personas-en-yacuiba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/vitamina-sanchez-nos-vamos-a-brindar-enteros-para-darles-una-alegria/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/20-profesionales-egresaron-de-la-maestria-big-data-business-intelligence/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-educacion-es-el-mayor-legado-que-podemos-dejar-a-nuestros-hijos-entre-todos-debemos-ga/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mira-como-un-policia-es-arrastrado-en-el-capo-de-un-auto-que-intento-detener/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/las-cebras-se-integran-a-mi-teleferico-para-brindar-mayor-seguridad-a-los-usuarios/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mas-proclamara-a-arce-choquehuanca-este-domingo-en-sacaba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cochabamba-domino-el-nacional-de-esgrima/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/jubilados-se-declaran-en-alerta-por-el-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alp-analiza-interpelar-a-ministro-murillo-por-aprehension-de-dos-exministros/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cobertura-del-soat-llega-a-61-del-parque-automotor/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/policia-aprehende-a-el-terror-de-villazon/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/marcha-exige-celeridad-en-caso-de-doble-infanticidio-en-potosi/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-onu-llama-a-los-bolivianos-a-estar-a-la-altura-del-proceso-electoral/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alemania-reafirma-interes-por-el-litio-de-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/denuncian-que-colegios-de-sucre-construidos-en-gestion-de-morales-no-tienen-alcantarillado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/jazmin-barrientos-quedaria-el-margen-del-binomio-con-chi-por-falta-de-documentacion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/de-los-ocho-presidenciables-que-se-espera-inscribir-cuatro-fueron-candidatos-en-octubre/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/estamos-comprometidos-con-el-presente-y-el-futuro-de-riberalta-y-seguiremos-trabajando-par/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/policia-y-ministro-murillo-niegan-la-detencion-de-wilfredo-chavez-tras-denuncia-de-evo-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/robots-que-sudan-ahora-es-posible-con-la-impresion-3d/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/wilfredo-chavez-esta-a-buen-recaudo-nos-informan-que-la-dictadura-quiere-detenerlo-y-alla/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/niegan-cesacion-a-la-detencion-y-maria-eugenia-choque-seguira-en-la-carcel/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/jerjes-justiniano-niega-el-rumor-que-circula-de-una-nueva-crisis-con-el-candidato-a-la-vicepresidencia-marco-pumari/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/encuentran-tres-armas-camufladas-en-consolas-de-juego-en-el-aeropuerto-de-viru-viru/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/aterriza-con-exito-en-barajas-el-avion-en-emergencia-de-air-canada-con-130-personas-a-bordo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/que-significa-maestrosconpilas-maestros-que-ganen-bien-que-se-actualicen-que-lean-qu/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/branco-marinkovic-es-sobreseido-del-caso-terrorismo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sirmes-analiza-pedir-al-gobierno-el-cierre-de-ingreso-a-turistas-procedentes-de-china/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/envian-a-palmasola-a-lucio-vedia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ford-recurrira-a-la-impresion-3d-para-proteger-las-ruedas-de-sus-coches/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/video-titulares-de-noticias-de-tv-bolivia-mediodia-del-lunes-3-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-oms-critica-los-rumores-y-desinformacion-sobre-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/como-es-y-donde-se-cosecha-el-cafe-mas-caro-del-mundo-que-se-vende-a-mas-de-2-mil-dolares-por-kilo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/supuestos-atracadores-son-enviados-a-la-carcel/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/barajas-prepara-el-aterrizaje-de-emergencia-de-un-avion-canadiense-con-danos-en-una-rueda-y-un-motor/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/choque-salgo-a-la-plaza-murillo-y-no-veo-que-nadie-llore-para-que-evo-vuelva/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/evo-fugo-y-quiere-evadir-justicia-con-curul-sin-residir-en-bolivia-el-me-enjuicio-y-en/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/raptan-a-una-bebe-en-un-hospital-de-el-alto-buscan-a-la-responsable/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cuanta-belleza-ariel-miramontes-se-despojo-del-papel-de-albertano-y-sorprendio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hoy-los-ninos-asistieron-a-sus-escuelas-con-la-ilusion-de-aprender-y-tener-vidas-productiv/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mueren-tres-profesores-en-accidente-de-transito-en-colquiri/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/acusan-a-policia-de-nicaragua-de-bloquear-ayuda-a-hijos-de-opositores-presos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-fiscalia-analiza-convocar-a-declarar-a-andronico-rodriguez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/comenzaron-a-probar-en-china-un-medicamento-contra-el-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/pititas-fibras-continuas-una-reflexion-en-la-imagen/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/oriente-petrolero-activo-operativo-rumbo-a-brasil/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/soluciones-para-errores-de-carga-de-imagenes-en-wordpress/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/victor-abrego-el-profe-me-pidio-tener-humildad-que-se-vienen-cosas-mejores/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-caballeria-digital/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hoy-iniciamos-el-ano-escolar-con-muchos-desafios-y-retos-pero-con-mucha-voluntad-para-me/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sedes-pide-conciencia-de-la-poblacion-respecto-a-los-criaderos-de-mosquitos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/que-hacer-con-ypfb/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/se-registraron-65-fallecidos-en-888-accidentes-de-transito-durante-el-mes-de-enero-en-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ponce-reconoce-desorden-tactico-en-blooming-y-afirma-que-se-debe-reaccionar-ante-emelec/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/comite-civico-confia-que-candidatos-sin-posibilidades-declinen-su-candidatura/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/agente-de-bale-gareth-esta-feliz-en-madrid-y-no-es-por-el-dinero/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/microempresarios-bolivianos-piden-vetar-igreso-de-articulos-chinos-por-cinco-anos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/anamarrey-morrison_bol-carlosdmesag-por-si-no-se-ha-enterado-vendi-soboce-hace-5-anos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-nasa-usara-realidad-virtual-y-aumentada-para-el-estudio-de-la-astronomia-y-la-ingenieria/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sosa-dice-que-rechazo-la-invitacion-para-ser-candidata-a-senadora/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/y-si-metemos-nomas-el-terrorismo-de-estado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/reaparecio-adriana-salvatierra-en-san-julian/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-tiro-al-facho-genera-polemica-en-las-redes-sociales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/exvocal-maria-eugenia-choque-busca-salir-de-la-carcel-en-una-audiencia-de-apelacion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/reportan-16-fallecidos-por-el-dengue-el-pais/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/implicados-en-venta-de-bebe-fueron-liberados-continuan-las-investigaciones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bolivia-legalizara-permanencia-y-transito-de-venezolanos-por-razones-humanitarias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-coronavirus-de-wuhan-filipinas-registra-la-primera-muerte-fuera-de-china/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/jerjes-justiniano-pide-al-ministro-murillo-respeto-al-caso-violacion-grupal/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/chile-la-elite-tiene-que-ceder-poder-para-vivir-en-paz-y-en-armonia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/trabajadores-del-banco-de-sangre-acatan-paro-exigen-mas-items/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/voleibol-masculino-san-martin-se-corono-campeon/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/estos-son-los-cuatro-cambios-que-se-aplicaran-en-el-sistema-educativo-este-ano/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/google-usara-escaneo-en-3d-para-recrear-lugares-historicos-en-peligro-de-extincion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/lamentamos-el-fallecimiento-de-berta-schubaroff-abuela-de-plaza-de-mayo-nos-deja-un-lega/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-lucha-continua-seguiremos-haciendo-los-esfuerzos-necesarios-para-eliminar-el-dengue/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alcaldesa-de-vinto-afirma-que-sera-candidata-a-senadora-del-mas-en-cochabamba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/evo-acude-a-la-cidh-para-pedir-que-se-garantice-su-postulacion-al-legislativo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/albarracin-en-lugar-de-humo-blanco-salio-hollin-del-encuentro-de-los-lideres-politicos-en-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/estos-son-los-posibles-binomios-que-seran-inscritos-para-las-elecciones-del-3-de-mayo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ops-en-bolivia-no-hay-casos-sospechosos-de-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/como-poner-la-direccion-de-tu-negocio-en-google-maps/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/evo-denunciara-a-arturo-murillo-por-robo-agravado-tras-la-supuesta-desaparicion-de-su-libreta-de-servicio-militar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/caricaturas-de-bolivia-del-lunes-3-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-fuerza-antidrogas-confisca-casi-dos-toneladas-de-cocaina-en-un-mes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/campeonato-nacional-de-squash-ingresa-en-la-recta-final/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/anez-anuncia-internet-gratuito-para-254-turnos-en-la-inauguracion-del-ano-escolar-en-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/felicidades-fernandez-alonso-por-su-59-aniversario/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/majose-miranda-ocupa-el-cuarto-puesto-en-latinoamerica/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/medicos-japoneses-implantaron-en-un-paciente-un-musculo-cardiaco-creado-en-un-laboratorio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/peru-y-paraguay-captan-el-94-de-las-ventas-de-glp-boliviano/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/transporte-pesado-internacional-pide-controles-en-fronteras-del-pais-por-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tse-alternancia-y-paridad-de-genero-no-alcanza-a-binomios-presidenciales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-directorio-de-claure-con-sangre-joven-y-%c2%93el-bolivarismo-como-religion%c2%94/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/chuquisaca-espera-items-de-educacion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/temporal-causo-apuros-en-sucre-y-muere-en-la-comunidad-de-san-lucas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/los-moviles-que-ya-cuentan-con-android-10-y-cuando-se-actualizaran-otros-modelos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sol-bo-califico-de-exitosa-la-reunion-del-comite-civico-pro-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/maclean-el-unico-consenso-con-civicos-fue-el-rechazo-a-la-candidatura-de-anez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/vivo-gobierno-inaugura-ano-escolar-en-beni/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mts-ratifica-su-postulacion-a-las-elecciones-del-3-de-mayo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/inteligencia-artificial-para-personas-con-deficiencia-visual/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/barral-el-mejor-escenario-politico-para-bolivia-es-una-segunda-vuelta-con-partidos-contrarios-al-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/queda-el-lamento-de-ser-eliminados-con-peru/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bolivia-en-el-trono-en-tercera-fecha-del-indoor/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/arbitraje-polemico-en-la-derrota-de-real-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/politica-y-futbol/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/minga-inicia-en-santa-cruz-con-aseo-luego-recogeran-basura/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/santa-cruz-expertos-plantean-vias-tematicas-para-dar-mas-vida-al-casco-viejo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-juicio-por-terrorismo-puede-llegar-a-su-fin-hoy-tras-12-anos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/notaria-que-falseo-documentos-para-compra-de-bebe-cobro-500-dolares/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/real-potosi-sufrio-para-sumar-su-primer-triunfo-del-ano/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dolidos-pititas-analizan-pedir-renuncia-de-ministros-murillo-y-longaric/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/municipal-vinto-vencio-a-guabira-que-no-levanta-cabeza/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/oriente-logro-su-tercera-victoria-al-hilo-al-superar-a-aurora-2-1-con-golazo-de-castillo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/portadas-de-periodicos-de-bolivia-del-lunes-3-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-aviador-toma-vuelo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/horoscopo-del-lunes-3-de-febrero-del-2020-de-josie-diez-canseco/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/de-la-mano-de-castillo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/solo-tres-mujeres-postularon-a-la-presidencia-de-bolivia-en-mas-de-63-anos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/santa-cruz-un-campo-de-batalla-electoral-entre-costas-y-camacho/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alianzas-y-partidos-afinan-listas-para-legislativo-en-ultimo-dia-de-registro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cepes-y-pititas-abre-su-sede-en-la-guardia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/se-inicia-la-carrera-electoral-con-7-frentes-en-lucha-contra-el-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-tse-renueva-el-sistema-para-el-conteo-rapido-y-cambia-software/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hoy-vence-plazo-para-registrar-candidaturas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ano-educativo-inicia-con-cuatro-desafios-y-la-solicitud-de-5-000-items-en-el-pais/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/apoderada-de-evo-va-presa-con-pruebas-de-rastreo-informatico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/jennifer-lopez-comparte-escenario-con-su-hija-emme-en-el-super-bowl/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/atacan-con-explosivos-un-gasoducto-entre-egipto-e-israel/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/china-termino-hospital-para-pacientes-de-coronavirus-en-wuhan-y-construye-otro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-una-final-vibrante-los-chiefs-de-kansas-city-se-coronaron-campeones-del-super-bowl-liv/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/por-que-el-papa-le-leyo-la-oracion-del-buen-humor-al-presidente/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/estamos-en-rurrenabaque-festejando-el-aniversario-de-este-hermoso-municipio-por-la-manana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/china-mantiene-cerrados-todos-los-colegios-y-escalona-el-regreso-de-los-trabajadores-por-miedo-a-la-epidemia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/increible-presentacion-de-jlo-y-shakira-en-el-halftime-show-del-super-bowl-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/super-bowl-2020-shakira-pinto-de-rojo-el-hard-rock-stadium/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gracias-a-gestiones-de-estos-ministerios-estamos-llevando-diferentes-proyectos-y-obras-par/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/super-bowl-2020-demi-lovato-cumplio-su-gran-sueno-al-cantar-en-el-evento/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/unicef-reafirma-su-apoyo-al-estado-boliviano-para-asegurar-el-derecho-a-la-educacion-en-10-areas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mision-de-cidh-viajara-a-venezuela-pese-a-prohibicion-dice-opositor/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/asciende-a-360-numero-de-fallecidos-por-epidemia-en-china/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/detienen-en-colombia-al-excarcelero-de-farc/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/veintena-de-repatriados-de-china-a-francia-presentan-sintomas-de-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gracias-a-todos-quienes-nos-han-demostrado-confianza-no-los-defraudaremos-nos-unimos-por/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gracias-branko_goran-por-creer-en-este-gran-proyecto-de-unidad-que-busca-la-pacificacion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/coronavirus-brasilenos-en-wuhan-solicitan-la-ayuda-del-gobierno-de-jair-bolsonaro-para-ser-repatriados/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/1917%e2%80%b3-arraso-en-los-premios-bafta-2020-todos-los-ganadores/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/donald-trump-cuando-pienso-en-bernie-sanders-pienso-en-comunismo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-alcaldia-pacena-pierde-la-pelea-contra-la-tala-y-los-terraceos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/pese-a-la-negativa-de-la-dictadura-de-nicolas-maduro-una-delegacion-de-la-cidh-llegara-el-martes-a-venezuela/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/patricia-hermosa-ha-trabajado-conmigo-por-mas-de-siete-anos-siempre-demostro-responsabili/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/envian-a-la-carcel-a-imputado-por-feminicidio-en-ivirgarzama/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/explosion-de-color-y-sostenibilidad-en-la-alfombra-roja-de-los-bafta-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/impuestos-invita-a-la-poblacion-a-denunciar-irregularidades/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-justicia-no-es-impunidad-pero-tampoco-venganza-es-la-obediencia-inalterable-a-la-ley/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/albarracin-critica-a-politicos-tras-fracaso-del-frente-unico-son-tan-miserables-como-los-masistas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/al-pacino-se-cayo-en-la-alfombra-roja-de-los-bafta/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/una-veintena-de-franceses-repatriados-de-china-presentan-sintomas-de-haber-contraido-el-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/nunez-rechazamos-contundentemente-versiones-de-supuesto-gasolinazo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/wilstermann-golpeo-a-blooming-en-el-capriles/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/narcoavion-revelan-que-pilotos-bolivianos-viajaron-primero-a-panama/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/branko-marinkovic-decide-apoyar-la-candidatura-de-jeanine-anez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/suman-cinco-los-fallecidos-por-dengue-en-bolivia-en-alarmante-brote/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/rurrenabaque-la-perla-turistica-de-beni-celebra-su-176-aniversario/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/manana-a-las-1830-vence-el-plazo-para-registrar-a-candidatos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/searpi-denuncia-atentado-contra-los-defensivos-en-el-rio-pirai/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-del-mas-no-actualizo-protocolos-para-enfrentar-epidemias-como-la-del-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-sedes-califica-de-exitosa-la-primera-jornada-de-la-minga-departamental-contra-el-dengue/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-mas-convoca-a-sus-bases-para-inscribir-a-su-binomio-arce-choquehuanca/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/instituto-de-oftalmologia-de-la-paz-inaugura-nuevos-y-modernos-quirofanos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/barral-partidos-menores-deben-considerar-bajarse-de-las-elecciones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/254-escuelas-iniciaran-clases-este-lunes-con-wifi-gratuito/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/china-prohibe-los-funerales-y-dicta-la-cremacion-inmediata-de-los-fallecidos-por-el-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/detectan-en-alemania-dos-casos-del-coronavirus-entre-los-evacuados-de-wuhan/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-punta-es-celeste-bolivar-golea-a-nacional/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/como-servidores-publicos-somos-responsables-de-dar-certidumbre-a-la-poblacion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/capturaron-al-carcelero-de-ingrid-betancourt-que-se-habia-acogido-al-acuerdo-de-paz-en-colombia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/aprehenden-a-dirigente-de-adepcoca-por-filmar-la-inspeccion-ocular-de-la-muerte-de-sandoval/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/maclean-el-principal-consenso-logrado-entre-candidatos-es-que-anez-no-deberia-ser-candidata-y-presidenta-a-la-vez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/una-fiesta-que-unira-a-todos-los-bolivianos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/popular-bella-y-sexi-la-reina-de-los-picarazos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/reyes-villa-con-la-voz-entrecortada-pide-unidad-a-los-candidatos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/navarro-y-dorado-ya-estan-en-mexico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/china-termino-en-10-dias-la-construccion-del-hospital-de-wuhan-y-comenzara-a-recibir-pacientes-con-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bajo-las-garras-del-narco-en-la-frontera-con-eeuu-el-cartel-del-noreste-exige-cuotas-a-quienes-regresan-a-mexico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/un-caso-de-coronavirus-se-registro-en-boston-suman-ya-ocho-personas-infectadas-en-eeuu/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/yolanda-andrade-no-tiene-problema-en-hablar-sobre-veronica-castro-y-hasta-le-envio-una-indirecta/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-desmiente-alza-del-precio-de-combustibles-tras-publicacion-de-la-anh-en-twitter/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/peru-denuncio-que-el-regimen-de-nicolas-maduro-envio-colectivos-chavistas-a-su-territorio-para-amenazar-a-migrantes-venezolanos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/herrera-defiende-candidatura-de-anez-por-ser-el-unico-polo-articulador-de-unidad/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-berrinche-de-mbappe-con-su-entrenador-cuando-lo-saco-en-la-goleada-del-psg/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-violento-matrimonio-de-johnny-depp-y-amber-heard-que-quedo-registrado-en-audio-videos-y-tapas-de-revista/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/un-matrimonio-de-12-dias-pamela-anderson-ya-rompio-con-el-productor-jon-peters/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/castigan-al-cepo-a-autoridades-ediles-de-san-buenaventura/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/detectan-ingreso-ilegal-de-aparatos-electronicos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/anez-dice-que-no-es-novata-en-pelear-con-el-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/evo-morales-condena-la-detencion-de-su-apoderada-legal/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/agricultores-piden-rebajas-en-los-intereses-bancarios/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bolivia-cruza-informacion-con-cuatro-paises-para-investigar-al-narcoavion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/impuestos-amplia-hasta-el-28-de-febrero-el-plazo-de-vencimiento-de-facilidades-de-pago/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-ue-pide-al-gobierno-boliviano-que-evite-hechos-como-los-que-afectaron-a-dos-exautoridades/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/determinan-detencion-preventiva-por-intento-de-homicidio-para-agresor-de-un-periodista/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/warmi-rosa-la-cholita-influencer/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-mas-denuncia-persecucion-y-defensoria-pide-investigacion-por-aprehensiones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/murillo-en-su-red-social-vuelve-a-conminar-a-cossio-y-reyes-villa-a-que-prueben-acusaciones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/santa-cruz-busca-vencer-al-dengue-con-una-gran-minga-departamental/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/djokovic-gana-el-abierto-de-australia-y-recupera-el-numero-1-del-mundo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-que-avisa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tarija-genero-us-12-millones-en-turismo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/educacion-ahora-tiene-protocolo-contra-la-violencia-escolar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/operativos-antidrogas-incautan-807-kilos-de-cocaina-y-169-kilos-de-marihuana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-menos-de-3-dias-otro-accidente-en-la-ruta-a-los-yungas-siembra-luto-y-dolor/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/envian-a-la-carcel-de-obrajes-a-la-apoderada-de-evo-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cre-insta-a-controlar-el-consumo-con-su-aplicacion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/evo-estoy-convencido-de-que-el-pueblo-llora-para-que-yo-vuelva/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-rueda-grande-y-danza-de-las-banderas-abren-el-carnaval-de-san-ignacio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cochabamba-triunfa-en-el-nacional-kyokushin/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gm-zambrana-es-nuevo-presidente-de-la-fba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/arias-gana-su-decimotercer-titulo-profesional-en-dobles/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/boliviana-san-miguel-es-campeona-de-dobles-en-asuncion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/llegamos-a-la-perla-turistica-del-beni-rurrenabaque-pueblo-hermoso-de-mucha-cultura-y-pa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cuando-era-dirigente-fui-detenido-y-confinado-siendo-diputado-fui-enjuiciado-y-expulsado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/vecinos-del-urubo-protestan-exigiendo-el-mantenimiento-de-la-via/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/quispe-samuel-y-mesa-son-parte-del-pasado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/vinto-misterio-rodea-al-atentado-que-elevo-imagen-de-la-alcaldesa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/destruyen-18-fabricas-de-droga-en-el-chapare-y-no-hay-detenidos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/j-balvin-y-bad-bunny-los-invitados-sorpresa-de-shakira-y-j-lo-en-el-super-bowl-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/discriminacion-a-neymar-la-fuerte-discusion-que-tuvo-el-brasileno-con-un-arbitro-que-lo-mando-a-estudiar-frances/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-terrible-historia-de-aaron-hernandez-el-asesino-que-jugo-un-super-bowl/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alerta-terrorista-en-londres-la-policia-abatio-a-un-hombre-que-apunalo-a-varias-personas-en-el-sur-de-la-ciudad/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mueren-20-personas-aplastadas-por-alcanzar-aceite-sagrado-que-lanzo-un-predicador/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/muestran-el-impacto-del-nuevo-coronavirus-en-los-pulmones-de-una-paciente/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/evo-denunciara-robo-de-sus-documentos-acusa-a-murillo-y-al-jefe-de-la-felcc/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dos-medicos-tailandeses-aseguran-que-han-curado-a-una-paciente-de-coronavirus-que-contiene-el-medicamento/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/filipinas-registra-la-primera-muerte-por-coronavirus-fuera-de-china/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/se-abre-en-china-el-primer-hospital-construido-contrarreloj-para-tratar-a-pacientes-con-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/clan-teran-radiografia-de-la-impunidad/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/juntan-796-neumaticos-en-siete-dias-de-llantaton/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-cuestion-federal/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/inicio-la-minga-departamental-que-busca-aminorar-epidemia-de-dengue-en-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sereci-extiende-horario-para-las-certificaciones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bolivia-navega-entre-los-mas-corruptos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/oriente-con-bajas-recibe-a-un-aurora-envalentonado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/conflictos-banderas-blancas-daran-libre-transito-a-turistas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-saneamiento-es-un-proceso-fallido/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/caricaturas-de-bolivia-del-domingo-2-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mi-opinion-preguntas-hechos-respuestas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/investigacion-del-narcojet-detenido-en-mexico-avanza-con-aporte-de-diputado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/ministerio-anuncia-acciones-para-mejorar-el-empleo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/aduana-busca-como-fijar-el-tributo-correcto-a-la-mercaderia-china/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/horoscopo-de-hoy-domingo-02-de-febrero-del-2020-de-josie-diez-canseco/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/portadas-de-periodicos-de-bolivia-del-domingo-2-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/con-reveladores-audios-coroneles-denuncian-al-alto-mando-del-regimen-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/unidad-como/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/retornando-del-encuentro-nacional-por-la-unidad-y-la-democracia-convocado-por-el-comite-pr/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/unidad-electoral-contra-evo-morales-se-hace-esperar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mas-de-6-500-ninos-huyen-a-diario-de-siria-dice-unicef/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/la-original-historia-de-amor-de-priyanka-chopra-y-nick-jonas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-note-10-se-consolida-como-el-smartphone-preferido-de-los-bolivianos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-mejor-camino-para-el-avance-del-pueblo-es-la-democracia-y-vamos-a-recuperarla-en-mayo-a/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/como-configurar-el-celular-para-enviar-una-alerta-en-caso-de-emergencia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/huawei-nova-5t-innova-la-era-digital-de-la-fotografia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/de-que-se-trata-el-extrano-tren-espacial-que-atraveso-el-cielo-argentino/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-problema-del-ritmo-circadiano-como-es-tener-un-cuerpo-que-te-pide-dormir-durante-el-dia-y-te-mantiene-despierto-toda-la-noche/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/demi-lovato-conto-como-le-dijo-a-sus-padres-que-le-gustan-las-mujeres/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cerca-de-un-centenar-de-jinetes-dieron-inicio-al-carnaval-chapaco-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/argentina-tecnicos-de-la-fao-lucharan-contra-la-pobreza/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hoy-en-el-comite-pro-santa-cruz-jeanine-planteo-la-unidad-de-bolivia-unidad-para-reconci/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/medicos-de-hong-kong-exigen-el-cierre-de-la-frontera-con-china-por-el-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dos-hombres-sentenciados-a-20-anos-de-carcel-por-abuso-sexual/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/algunos-finales-felices-para-los-ninos-malditos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gringo-gonzales-dice-que-no-es-asilado-en-argentina-que-dejo-la-politica-y-no-sera-candidato-a-nada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/encuentro-convocado-por-civicos-no-logra-acuerdo-de-unidad/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/organizaciones-y-alianzas-politicas-suscriben-un-acuerdo-por-la-unidad-de-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/fuego-cruzado-entre-camacho-y-murillo-en-reunion-con-civicos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-impeachment-culmina-la-sumision-del-partido-republicano-ante-trump/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gillian-anderson-el-triunfal-segundo-acto-de-la-estrella-de-expediente-x/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/anez-dice-que-se-arriesgo-al-asumir-el-gobierno-y-lamento-que-solo-la-hayan-utilizado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/alertamos-a-la-comunidad-internacional-y-al-tsebolivia-la-violacion-de-ddhh-y-politicos-p/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/veneno-en-los-senos-aceite-en-los-gluteos-cuando-las-cirugias-complicaron-la-vida-de-las-famosas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/sujeto-que-mato-a-un-hombre-con-un-disparo-es-sentenciado-a-15-anos-de-carcel/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/manfred-reyes-villa-asegura-que-si-hubo-presion-del-gobierno-contra-el-a-traves-del-ministro-de-justicia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cesar-navarro-y-pedro-damian-dorado-finalmente-partieron-rumbo-a-mexico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/mesa-tuto-y-chi-hyung-cuestionan-a-anez-y-dejan-claro-que-no-renunciaran-a-su-candidatura/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/jeanine-anez-no-soy-ninguna-novata-en-pelear-contra-el-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/estamos-en-santa-cruz-participando-de-la-invitacion-del-comiteprosc-vinimos-dispuestos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/felicidades-colpa-belgica-por-su-18-aniversario/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/camacho-acusa-a-murillo-de-presionar-a-los-ex-refugiados-para-que-no-apoyen-su-candidatura-el-ministro-lo-niega/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/se-ha-cumplido-la-fe-del-estado-al-permitir-que-los-excolaboradores-de-morales-que-tienen/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-gobierno-se-compromete-a-liberar-a-navarro-y-damian-dorado-para-que-salgan-del-pais/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/jeanine-anez-plantea-una-unidad-posible-y-defiende-su-candidatura-para-frenar-al-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/tsebolivia-el-regimen-de-facto-tiene-en-su-poder-la-siguiente-documentacion-sustraida-d/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/eso-es-lo-que-estamos-reclamando/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-conclave/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/transmitamosenvivo-jeanineanez-carlosdmesag-tutoquiroga-chihyunchung1-bolivia-boliv/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/lider-civico-pide-a-los-candidatos-despojarse-de-los-intereses-personales-y-partidarios-para-pensar-en-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/se-inicia-el-encuentro-por-la-unidad-con-la-presencia-de-los-candidatos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/gobierno-de-bolivia-debe-aclarar-esta-situacion-que-de-ser-cierta-haria-un-dano-gigantes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-gobierno-nacional-cumplira-con-la-fe-del-estado-comprometida-con-la-entrega-de-salvocon/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/si-se-le-dieron-salvoconductos-a-dos-personas-no-se-puede-luego-detenerlas-el-gobierno-d/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/llegan-los-candidatos-y-lideres-politicos-a-la-cita-por-la-unidad-con-la-dirigencia-civica/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/el-comite-pro-santa-cruz-reune-a-los-candidatos-para-buscar-la-forma-de-unificar-votos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bolivia-gana-pero-queda-fuera-del-preolimpico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/bus-que-traia-cocaleros-cae-y-deja-15-muertos-suman-43-fallecidos-este-ano/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/50-de-ingresos-del-gas-se-usa-para-comprar-carburantes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/elecciones-samuel-acompanara-a-anez-y-mesa-ratifica-a-pedraza/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/cesar-navarro-y-pedro-damian-dorado-detenidos-pese-a-tener-salvoconducto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/hasta-en-las-peores-dictaduras-latinoamericanas-se-respetaban-los-salvoconductos-hoy-a-l/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/portadas-de-periodicos-de-bolivia-del-sabado-1-de-febrero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/agradezco-a-sdoriamedina-por-aceptar-mi-invitacion-a-acompanarme-como-candidato-a-vicepre/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/dare-todo-de-mi-para-que-jeanine-anez-haga-el-buen-gobierno-que-hoy-necesita-bolivia-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/juntos-para-seguir-avanzando-en-la-reconciliacion-y-la-paz-de-bolivia-con-la-incorporaci/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/anez-y-doria-medina-haran-saber-en-la-cita-con-civicos-que-son-la-unidad-que-pide-la-gente/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/en-esta-alianza-por-la-unidad-entre-mujeres-hombres-y-jovenes-de-todo-el-pais-todos-tien/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/02/agencia-de-vivienda-denuncia-dano-al-estado-boliviano-de-us-33-millones-por-irregularidades-en-la-tamborada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/la-unidad-crece-somos-mas-que-una-alianza-queremos-ser-la-respuesta-que-necesita-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/presentan-demanda-contra-el-excomandante-de-la-policia-boliviana-yuri-calderon-y-su-estado-mayor/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/pedro-damian-exfuncionario-de-evo-que-obtuvo-el-salvoconducto-para-irse-de-bolivia-tiene-cuentas-pendientes-con-la-justicia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/samuel-ahora-busca-gobernar-de-la-mano-de-anez-y-reivindica-la-lucha-de-los-bolivianos-contra-el-fraude-y-el-autoritarismo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/unidos-por-bolivia-la-democracia-la-libertad-y-todo-el-pueblo-boliviano-asi-definimos-al/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/bolivia-le-gana-a-peru-2-1-y-ambos-quedan-eliminados-del-preolimpico-sub-23/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/ruben-costas-el-gran-ausente-en-la-proclamacion-de-doria-medina-como-companero-de-formula-de-anez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/ypfb-no-esta-en-quiebra-pero-registro-cifras-rojas-el-2019-afirma-su-presidente/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/video-titulares-de-noticias-de-tv-bolivia-noche-del-viernes-31-de-enero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/despues-de-escuchar-multiples-voces-pidiendo-unidad-hemos-tomado-la-decision-de-apoyar-l/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/jeanine-garantiza-la-economia-del-pais-bajo-la-presidencia-de-samuel/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/no-al-racismo-a-causa-del-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/dan-el-ultimo-adios-al-exesposo-de-la-presidenta-anez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/nuevo-balance-del-coronavirus-en-china-258-muertos-y-mas-de-11-000-casos-confirmados/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/vivo-presentacion-del-binomio-jeanine-y-samuel-por-la-alianza-juntos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/cuales-son-los-celulares-en-los-que-no-se-podra-usar-whatsapp-a-partir-de-manana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/en-octubre-ganamos-en-primera-vuelta-y-nos-robaron-el-triunfo-luego-me-obligaron-inconsti/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/intensifican-controles-por-el-coronavirus-en-el-aeropuerto-de-el-alto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/inicialmente-me-molesto-que-la-presidenta-se-presentara-como-candidata-pero-confio-en-las/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/elon-musk-gana-2-300-millones-de-dolares-en-tan-solo-una-hora/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/tse-candidatos-a-la-asamblea-deben-tener-dos-anos-de-residencia-para-ser-habilitados/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/cidh-chile-vive-una-grave-crisis-en-materia-de-derechos-humanos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/el-alto-comisionado-de-derechos-humanos-visito-a-la-apoderada-de-morales-en-celdas-de-la-felcc/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/doria-medina-expresa-su-apoyo-a-la-gestion-de-jeanine-anez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/ee-uu-prohibe-el-ingreso-a-extranjeros-que-hayan-visitado-china/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/concejal-de-santa-cruz-pedira-informe-a-la-alcaldia-por-hospitales-abandonados/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/el-mas-califica-de-ilegal-la-detencion-de-la-abogada-de-evo-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/observan-inexistencia-de-normas-para-proteger-de-la-violencia-a-mujeres-dirigentes-de-organizaciones-sociales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/ministerio-de-trabajo-tiene-presupuesto-de-bs-40-millones-para-programas-de-empleo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/justicia-establece-que-veto-de-anez-a-la-ley-de-cumplimiento-de-dd-hh-debe-ser-tratado-en-la-alp/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/gobernacion-no-existe-una-delimitacion-tecnica-entre-chuquisaca-y-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/agrupacion-de-leopoldo-fernandez-rompe-alianza-con-comunidad-ciudadana-de-carlos-mesa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/detienen-a-patricia-hermosa-apoderada-del-expresidente-evo-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/registran-mas-de-7-mil-casos-sospechosos-y-10-muertes-por-dengue-en-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/latorre-sera-baja-en-blooming-por-siete-dias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/defensa-del-narcotrafico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/caso-la-manada-fiscalia-rechaza-detencion-domiciliaria-para-alejandro-saavedra/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/senalan-que-armaron-muerte-de-sandoval-para-detener-a-franclin-gutierrez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/fitch-advierte-basta-de-complacencia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/nunca-se-hablo-de-dinerocomo-y-quienes-llegaron-al-acuerdo-para-que-jeanine-anez-sea-presidenta/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/aevivienda-entrega-dos-departamentos-sociales-en-sacaba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/joven-boliviana-esta-detenida-en-malasia-fiscalia-emprende-gestiones-al-respecto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/cinco-candidatos-a-la-presidencia-confirman-su-asistencia-a-la-cita-convocada-por-civicos-crucenos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/marcelo-claure-asume-la-presidencia-de-bolivar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/fallecidos-en-accidente-de-la-ruta-coripata-la-paz-son-velados-en-adepcoca/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/exvicepresidenta-ecuatoriana-a-prision-por-corrupcion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/marcelo-ebrard-ordeno-trasladar-a-evo-morales-desde-bolivia-pero-considera-costoso-rescatar-a-mexicanos-de-china/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/carta-comunicando-mi-participacion-en-evento-del-1-feb-ante-gentil-invitacion-del-comit/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/comision-europea-multa-a-universal-con-143-millones-de-euros/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/el-solemne-momento-en-que-retiraron-la-bandera-britanica-de-la-sede-de-la-union-europea-en-bruselas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/macron-el-brexit-es-una-senal-de-alarma-historica-para-toda-europa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/anf-jeanineanez-confirma-su-participacion-en-el-encuentro-por-la-unidad-de-bolivia-conv/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/samuel-doria-medina-sera-el-candidato-a-la-vicepresidencia-por-juntos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/el-mas-postula-al-gobernador-flores-como-candidato-a-primer-senador-por-pando/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/la-manada-abogada-de-la-victima-analiza-presentar-el-caso-ante-la-justicia-internacional/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/un-ingeniero-crea-galletas-para-combatir-la-anemia-y-la-desnutricion-infantil/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/todo-listo-para-la-minga-de-este-domingo-en-la-lucha-contra-el-dengue/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/magistratura-habilitara-los-fines-de-semana-el-rejap-y-cervi-para-aspirantes-a-las-elecciones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/feminicida-que-mato-a-su-pareja-con-cinco-disparos-se-entrego-a-la-policia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/autonomias-entrega-la-homologacion-de-la-mancha-urbana-de-las-comunidades-de-mora-y-zanja-honda/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/copa-asegura-que-el-mas-se-fortalece-y-consolida-la-lista-de-sus-candidatos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/caen-tres-policias-por-presunto-robo-de-vehiculos-en-challapata/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/ypfb-califica-a-la-planta-de-urea-como-el-peor-capricho-politico-del-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/habilitan-100-camas-para-el-hospital-de-la-pampa-de-la-isla/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/un-militar-jubilado-de-95-anos-se-presenta-como-candidato-presidencial/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/morales-legalmente-nada-me-impide-ser-candidato/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/blooming-urapuca-calienta-para-reemplazar-al-capitan/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/bolivar-tiene-todo-cerrado-con-abrego/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/hay-emergencia-internacional-y-aun-no-activan-controles-contra-el-coronavirus-en-el-aeropuerto-de-la-paz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/video-titulares-de-noticias-de-tv-bolivia-mediodia-del-viernes-31-de-enero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/1592790/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/tejada-tenemos-que-estar-unidos-pero-en-torno-a-que-no-a-quien-para-que-no-exista-el-cuoteo-politico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/cabrera-reunion-de-politicos-es-para-tomarse-un-cafe-e-incluir-en-las-listas-de-candidatos-a-allegados-de-civicos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/dorado-la-unidad-que-pregonaba-anez-quedo-en-discurso/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/copa-aplaude-la-aprobacion-de-salvoconductos-a-favor-de-de-dos-exautoridades/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/manana-estare-en-la-reunion-convocada-por-el-comite-pro-santa-cruz-para-seguir-trabajando/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/chi-desconoce-violaciones-por-parte-de-pastores-evangelicos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/otorgan-detencion-domiciliaria-al-chofer-de-marcelo-hurtado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/policia-boliviana-lanza-plan-bolivia-destino-seguro-para-carnaval/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/camara-de-comercio-contradice-a-fitch-bolivia-tiene-reservas-para-garantizar-el-tipo-de-cambio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/lanzan-plan-escuelas-seguras-en-la-ciudad-de-el-alto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/nuestra-lucha-es-contra-todo-aquel-que-quiera-seguir-las-viejas-practicas-del-masismo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/bajo-el-precio-de-la-quinua/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/interceptan-2-minibuses-cargados-de-droga-en-desaguadero/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/morir-en-wuhan-la-foto-que-expone-el-drama-de-china-en-el-epicentro-del-brote-de-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/democratas-piden-a-civicos-no-parcializarse-con-ninguna-candidatura/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/el-bcb-asegura-que-se-mantendra-el-tipo-de-cambio-del-dolar-gracias-a-las-rin-de-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/evo-a-la-oposicion-ahora-temen-que-me-postulen-como-diputado-o-senador/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/san-martin-cae-en-las-garras-de-tigre-y-complica-su-chance-por-el-titulo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/agradezco-la-invitacion-del-comiteprosc-para-participar-del-encuentro-por-la-unidad-y-la/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/ratifican-detencion-preventiva-para-achacollo-por-el-caso-fondioc/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/anez-confirma-presencia-a-reunion-convocada-por-civicos-en-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/mesa-ratifica-a-pedraza-como-su-acompanante-de-formula/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/tsj-pide-proceso-administrativo-contra-vocal-que-libero-a-acusado-del-caso-la-manada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/caso-la-manada-madre-de-alejandro-saavedra-rechaza-la-injerencia-del-ministro-de-gobierno/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/zidane-no-contemplo-la-posibilidad-de-la-salida-de-bale/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/analista-coca-aclara-que-la-inscripcion-y-habilitacion-como-candidato-son-dos-cosas-muy-diferentes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/desde-el-lunes-los-candidatos-podran-hacer-campana-electoral/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/llego-a-bolivia-antonio-salas-acusado-de-la-muerte-de-fernando-sempertegui/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/alerta-naranja-en-chile-por-la-explosion-del-volcan-chillan/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/mujer-de-31-anos-muere-con-sintomas-de-dengue-hemorragico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/romero-evita-hablar-de-una-posible-candidatura-de-evo-pero-se-lo-analizaria-en-sala-plena/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/tse-analiza-denuncia-contra-camacho-por-campana-anticipada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/elecciones-alianza-a-la-cabeza-de-norma-pierola-no-subsano-observaciones-y-fue-inhabilitada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/loayza-%c2%93que-marcelo-se-rodee-de-buena-gente%c2%94/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/claure-sera-posesionado-cuando-llegue-a-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/policia-retorna-al-municipio-de-colomi/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/aprehenden-a-un-hombre-que-violo-a-su-hija-de-14-anos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/asesinaron-a-2-ninos-ahogandolos-en-un-turril-en-potosi-la-madre-esta-detenida-y-buscan-al-padre/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/mexico-advierte-que-no-tolerara-a-migrantes-que-quieran-entrar-por-la-fuerza/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/califican-de-acertada-invitacion-del-comite-pro-santa-cruz-a-lideres-politicos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/la-fbf-pide-presionar-para-que-el-siles-este-listo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/manipulando-la-democracia-y-libertad/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/14-casos-confirmados-de-dengue-en-yapacani/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/se-amplia-la-inspeccion-tecnica-vehicular-hasta-el-sabado-15-de-febrero/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/sol-posesiona-a-maritza-nakamura-como-jefa-del-distrito-dos-de-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/bolivia-sera-escenario-de-dos-torneos-sudamericanos-en-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/viviani-la-expulsion-fue-decisiva-para-el-partido/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/audifonos-acabaron-con-el-silencio-en-500-vidas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/felcn-incauto-78-kilos-de-marihuana-creepy-en-potosi/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/pierolamarcelo-2-3-de-la-asamblea-son-111-parlamentarios/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/acaba-primera-fase-de-revision-a-la-facturacion-de-la-cre/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/viernes-tragico-dos-accidentes-en-la-ruta-a-yungas-dejan-al-menos-15-fallecidos-y-veintena-de-heridos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/tras-la-lluvia-se-viene-un-fin-de-semana-con-mucho-sol-en-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/diputado-montano-pide-no-responsabilizar-al-mas-por-los-pilotos-detenidos-con-droga/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/desde-que-funciona-la-planta-de-urea-opero-al-8-de-su-potencial/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/aldo-gonzalez-sube-al-podio-en-el-sudamericano/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/a-pesar-del-abuso-de-poder-la-creatividad-de-los-bolivianos-se-abre-campo-ahoracreemos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/grand-prix-indoor-jurgen-berodt-con-alto-nivel-competitivo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/exreo-prefirio-morir-antes-que-la-prision/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/antezana-sufre-accidente-en-supercross-y-se-pierde-el-mundial/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/leon-pide-a-lanchipa-tener-hombria-y-defenderse-por-errores-que-derivaron-a-que-interpol-no-active-sello-rojo-contra-evo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/caricaturas-de-bolivia-del-viernes-31-de-enero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/capacitaran-a-personal-de-aeropuertos-y-fronteras-de-bolivia-para-evitar-contagio-del-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/caso-reeleccion-exmagistrados-piden-proceso-en-el-legislativo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/alerta-roja-por-crecida-del-rio-mamore/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/mas-de-600-familias-fueron-afectadas-por-desastres-naturales-en-chuquisaca/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/raul-castro-se-perdera-los-dos-partidos-ante-tucuman/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/bellezas-hispanas-cautivan-en-su-recorrido-por-sucre/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/que-pasa-con-las-listas-de-candidatos-a-la-alp/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/como-una-final-bolivia-enfrenta-a-peru-por-el-boleto-al-cuadrangular/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/oriente-amarga-a-guabira-en-montero/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/el-reino-unido-se-convertira-en-el-primer-pais-que-abandona-la-union-europea-tras-47-anos-de-participacion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/confianza-masista/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/aurora-vence-al-campeon-wilstermann-y-se-aduena-del-clasico-cochabambino/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/romero-mostro-a-mi-hijo-como-culpable-antes-de-la-audiencia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/accidente-en-la-ruta-coripata-la-paz-deja-al-menos-14-fallecidos-y-varios-heridos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/portadas-de-periodicos-de-bolivia-del-viernes-31-de-enero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/rechazo-a-exploracion-en-tariquia-influye-en-desinversion-de-petrobras/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/horoscopo-del-viernes-31-de-enero-del-2020-de-josie-diez-canseco/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/ministro-murillo-la-droga-incautada-en-mexico-claramente-es-boliviana-y-no-se-cargo-en-salta/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/el-alto-ley-prohibira-a-menores-de-18-anos-salir-de-2300-a-600/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/buscan-a-exministro-hugo-moldiz-por-torturas-a-abogado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/caso-pat-ordenan-aprehender-a-iturri-y-cae-chofer-de-hurtado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/creen-que-evo-busca-regresar-a-la-presidencia-a-traves-del-legislativo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/los-civicos-exigen-frente-unico-y-mas-busca-habilitar-a-evo-en-la-linea-de-sucesion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/gobierno-boliviano-permite-salida-a-mexico-del-exministro-navarro-y-del-exviceministro-dorado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/abogado-leon-arremete-contra-fiscal-general-por-incumplimiento-de-deberes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/pocas-horas-para-que-el-reino-unido-en-cumplimiento-del-brexit-se-desconecte-de-la-union-e/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/bolivia-ya-no-tiene-suficientes-reservas-para-mantener-el-tipo-de-cambio-fitch-ratings/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/ibo-blazicevic-es-el-nuevo-presidente-del-directorio-de-entel/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/senado-aprueba-lista-de-ascensos-de-6-generales-de-la-policia-boliviana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/conmebol-niega-uso-del-estadio-de-el-alto-always-jugara-la-sudamericana-en-el-siles/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/senora-presidenta/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/china-confirmo-que-ya-son-212-los-muertos-y-mas-de-8-900-los-infectados-por-coronavirus-en-el-pais/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/bolivia-viaja-rumbo-a-brasil-para-las-eliminatorias-sudamericanas-de-futsal/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/vinto-palmaflor-no-logra-regresar-de-sucre-por-mal-tiempo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/justicia-vuelve-a-negar-libertad-a-alpacino-mujica/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/morales-cumple-con-los-requisitos-para-ser-candidato/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/valverde-senala-que-si-morales-fuera-candidato-a-parlamentario-el-tambien-iria-para-decirle-criminal/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/galenos-entregan-al-gobierno-proyecto-de-ley-sobre-la-salud/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/liberan-al-vicepresidente-del-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/chi-hyun-chung-la-dra-jasmine-barrientos-es-pudiente-no-es-una-yesca/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/inauguran-el-museo-de-la-miniatura-en-la-paz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/gobierno-acudira-al-tse-e-impugnara-poder-notarial-para-evitar-candidatura-de-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/los-10-estudiantes-bolivianos-en-wuhan-no-estan-infectados-con-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/gobierno-boliviano-instituciones-y-embajada-de-china-conforman-un-comite-contra-el-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/diputado-del-mas-desconoce-carta-poder-para-inscribir-candidatura-de-evo-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/exministro-romero-declaro-en-la-carcel-de-san-pedro-por-una-denuncia-de-vejaciones-y-torturas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/todos-los-anuncios-y-convocatorias-de-la-campana-los-realizaremos-a-traves-de-nuestras-red/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/el-mas-pedira-informe-oral-al-fiscal-lanchipa-y-no-descarta-iniciarle-juicio-de-responsabilidades/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/inauguracion-del-ano-escolar-2020-sera-en-rurrenabaque/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/coronavirus-mortal-expertos-recomiendan-que-hacer-en-bolivia-tras-la-declaratoria-de-emergencia-sanitaria-internacional/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/policia-del-plan-3-000-capturo-al-asesino-confeso-de-un-anciano-en-patacamaya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/video-titulares-de-noticias-de-tv-bolivia-noche-del-jueves-30-de-enero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/huawei-sera-proveedor-de-5g-en-la-union-europea/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/presidenta-anez-pide-impugnar-la-detencion-domiciliaria-de-saavedra-en-el-caso-la-manada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/colombia-rechaza-propuesta-de-maduro-de-restablecer-relaciones-consulares/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/otorgan-dos-salvoconductos-a-exautoridades-de-morales-asilados-en-la-residencia-de-mexico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/cuarto-consejo-nacional-de-regimen-penitenciario-se-desarrolla-en-cochabamba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/la-preocupacion-mundial-por-el-coronavirus-ya-es-evidente-confiamos-en-nuestros-profesio/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/procurador-advierte-con-acciones-si-existe-uso-de-recursos-estatales-en-campana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/mesa-y-camacho-aceptan-asistir-a-reunion-de-unidad-convocada-por-civicos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/coronavirus-aislaron-a-cuatro-chinos-que-ingresaron-a-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/anez-pidio-que-la-fiscalia-impugne-decision-del-caso-la-manada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/borgwarner-compra-delphi-technologies-por-casi-3-000-millones-de-euros/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/boa-dice-que-piloto-involucrado-en-supuesto-narcotrafico-fue-contratado-por-ex-gerente-de-forma-irregular/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/una-web-genera-ritmos-unicos-con-inteligencia-artificial/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/apicultores-de-cochabamba-se-declaran-en-emergencia-denuncian-que-eba-compra-miel-de-argentina/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/el-mas-es-inestabilidad/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/pumari-los-candidatos-de-creemos-tendran-juventud-experiencia-y-compromiso-con-su-region/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/con-dos-goles-de-messi-barcelona-goleo-al-leganes-y-clasifico-a-los-cuartos-de-final-de-la-copa-del-rey/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/menor-que-violo-a-su-hermana-no-sera-procesado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/video-asi-construye-china-dos-hospitales-en-tiempo-record-para-atender-los-casos-de-coronavirus-en-el-epicentro-del-brote/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/ratificaron-que-shakira-evadio-impuestos-por-usd-16-millones-en-espana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/crece-a-65-el-numero-de-muertos-por-las-intensas-lluvias-en-brasil/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/agradezco-a-todos-los-estudiantes-reunidos-en-el-curso-de-historia-latinoamericana-de-la-e/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/extribunos-acuden-a-prestar-declaracion-por-fallo-sobre-reeleccion-de-evo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/exembajador-de-argentina-en-bolivia-es-designado-ministro-de-trabajo-en-jujuy/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/always-ready-recibira-a-millonarios-de-colombia-en-el-siles/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/la-oms-declara-emergencia-internacional-por-la-expansion-del-coronavirus-es-importante/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/la-lista-de-emojis-propuestos-por-google/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/asi-luce-el-gilberto-parada-de-montero/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/transito-sacara-de-circulacion-a-los-micros-chatarra/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/piden-reactivar-proceso-por-adjudicacion-irregular-de-equipos-para-el-programa-telesalud/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/fiscal-que-investiga-el-narcoavion-cree-que-los-pilotos-cargaron-la-droga-en-bolivia-o-peru/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/evo-estamos-valorando-juridicamente-si-vuelvo-o-no-vuelvo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/albarracin-evo-morales-transgrede-la-norma-del-refugiado-politico-al-querer-tramitar-una-postulacion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/aguilera-asegura-que-democratas-busco-la-unidad-con-camacho/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/ministro-de-justicia-se-compromete-a-averiguar-sobre-informe-de-pederastia-catolica/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/una-tienda-telas-se-incendia-en-la-paz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/revilla-revela-que-no-postulara-junto-a-jeanine-anez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/diputado-renuncia-a-su-curul-y-a-democratas-en-rechazo-a-postulacion-de-anez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/choque-entre-micro-y-motocicleta-deja-un-fallecido-en-cochabamba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/el-talento-de-iciar-diaz-cruza-fronteras-y-lanza-su-nuevo-tema/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/revelan-documentos-de-pilotos-bolivianos-y-el-plan-de-vuelo-del-avion-que-transporto-cocaina-a-mexico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/henry-vaca-el-nuevo-arquero-de-la-seleccion-boliviana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/google-trabaja-para-llevar-una-funcion-nativa-de-grabacion-de-llamadas-a-la-app-telefono/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/jesus-sagredo-reaparecera-en-blooming/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/la-duda-es-si-gutierrez-va-de-entrada-en-el-medio-campo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/la-oms-declara-la-alerta-internacional-ante-la-imparable-expansion-del-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/viceministro-advierte-que-si-evo-retorna-se-activaran-los-procesos-en-su-contra/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/evo-denuncia-destitucion-de-agente-consular-y-exautoridades-del-mas-tambien-tramitan-poderes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/amaszonas-aclara-que-el-piloto-hallado-con-cocaina-no-ejercia-funciones-al-momento-de-cometer-el-ilicito/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/charly-garcia-sufrio-un-accidente-y-debio-ser-operado/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/el-material-de-atletismo-de-los-bolivarianos-2009-estuvo-sin-uso-por-once-anos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/el-29-enero-en-atpulmon-con-prisi41quiroga-en-cadenaabolivia-conversamos-sobre-propues/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/por-si-alguien-supone-que-simpatizo-con-algun-candidato-dejeme-decirle-que/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/liberan-a-alejandro-saavedra-uno-de-los-principales-acusados-del-caso-la-manada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/fiscalia-puede-volver-a-solicitar-a-interpol-activacion-de-sello-rojo-para-detencion-de-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/compartimos-el-sentimiento-de-unidad-de-todos-los-bolivianos-nuestra-unica-bandera-innego/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/video-titulares-de-noticias-de-tv-bolivia-mediodia-del-jueves-30-de-enero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/lanchipa-anuncia-que-se-reiterara-pedido-de-sello-rojo-contra-evo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/denuncia-en-2017-insumos-bolivia-compro-80-000-quintales-de-azucar-argentina-y-los-abandono-en-almacenes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/revilla-una-mujer-y-una-persona-del-campo-estan-entre-las-alternativas-de-la-alianza-juntos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/comite-civico-de-santa-cruz-llama-a-una-reunion-por-la-unidad-a-candidatos-contrarios-al-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/mi-voto-es-por-el-mejor/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/avanza-proyecto-de-planta-de-almacenaje-de-hidrocarburos-en-la-ciudad-de-la-paz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/en-el-mas-quieren-a-evo-como-diputado-por-el-tropico-de-cochabamba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/quien-es-karina-mora-la-esposa-del-marro-arrestada-por-presuntos-vinculos-con-el-cartel-de-santa-rosa-de-lima/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/la-dictadura-de-anez-camacho-y-mesa-ha-destituido-a-un-agente-consular-en-argentina-que/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/es-tarea-de-todos-participar-de-la-minga-departamental-el-2-de-febrero/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/intervienen-plataforma-de-recaudaciones-tras-denuncias-de-corrupcion-en-alcaldia-de-cochabamba/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/la-violencia-es-la-marca-del-masismo-la-democracia-y-la-reconciliacion-es-la-propuesta-de/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/fiscalia-investiga-a-sospechosos-de-tomar-fotografias-con-un-dron-a-la-casa-de-la-presidente-jeanine-anez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/defensoria-pide-al-gobierno-que-garantice-la-dotacion-de-medicamentos-a-personas-con-vih-sida/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/super-bowl-2020-como-y-donde-ver-el-partido-entre-49ers-de-san-francisco-y-los-chiefs-de-kansas-city/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/los-30-anos-de-la-actriz-mexicana-eiza-gonzalez-en-30-fotografias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/que-se-necesitara-para-evitar-que-el-coronavirus-de-wuhan-se-propague-por-todo-el-mundo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/red-que-vendia-medicamentos-falsificados-continuaria-operando-en-la-paz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/felcn-incauta-76-kilos-de-droga-en-8-operativos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/reyes-villa-anticipa-reuniones-con-el-binomio-camacho-pumari-y-jeanine-anez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/universidades-de-eeuu-rastrearan-a-sus-estudiantes-con-bluetooth/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/sospechan-que-el-narcoavion-que-llego-a-mexico-paso-por-bolivia-o-peru/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/la-onu-confirma-que-sufrio-un-grave-hackeo-y-lo-mantuvo-oculto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/transporte-pesado-de-bolivia-pide-medidas-de-bioseguridad-en-fronteras-por-el-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/una-vez-mas-quiero-agradecer-las-muestras-de-solidaridad-que-hemos-recibido-por-la-agresi/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/pero-que-paso/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/fiscalia-paraguaya-acusa-a-senador-y-a-su-esposa-por-corrupcion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/abrego-el-goleador-que-sustento-su-sueno-ayudando-a-vender-pollo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/capturan-a-pastor-cristiano-acusado-de-toques-impudicos-a-una-nina/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/evo-y-otros-cuatro-asilados-politicos-del-ala-dura-del-mas-sacaron-poderes/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/mallon-medico-de-morales-se-adjudico-proyecto-telesalud-por-bs-96-millones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/roberto-aguilar-apoya-candidatura-de-arce-choquehuanca/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/asambleistas-del-mas-proponen-seguridad-sindical-para-resguardar-las-elecciones-en-el-chapare/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/caso-pat-emiten-orden-de-aprehension-contra-iturri-valencia-y-lijeron/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/la-felcn-pide-que-la-urea-sea-sustancia-controlada/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/en-busca-de-curuxa-el-pueblo-fantasma/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/aseguran-que-el-jet-privado-con-una-tonelada-de-cocaina-apago-el-transpoter-en-algun-lugar-del-recorrido/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/esta-imagen-prueba-que-joker-esta-conectado-a-la-pelicula-batman-de-tim-burton/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/maduro-privatizador/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/rusia-cierra-temporalmente-sus-fronteras-con-china-por-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/estados-unidos-muestra-el-narcotunel-mas-largo-hallado-bajo-la-frontera/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/el-pais-continua-en-una-crisis-de-salud-la-maternidad-percy-boland-rebasada-en-sus-capaci/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/senador-del-mas-los-militantes-no-tenemos-moral-para-cuestionar-candidatura-de-anez-porque-evo-tambien-fue-presidente-y-candidato/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/de-columnas-libertades-y-responsabilidades/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/exrecluso-se-quita-la-vida-despues-de-ser-acorralado-por-la-policia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/el-conade-convoca-a-una-marcha-por-el-respeto-a-la-lucha-del-pueblo-y-pide-a-anez-no-ser-candidata/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/farias-tras-el-5-3-brasil-termino-pidiendo-hora/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/albarracin-no-tengo-intencion-de-postular-a-ninguna-candidatura-en-las-proximas-elecciones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/evo-puede-ser-candidato-pero-tambien-ser-detenido-al-llegar-a-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/el-coronavirus-ha-causado-ya-170-muertes-y-mas-de-7-000-contagios-en-china/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/boliviano-que-triunfa-en-japon-quiere-acabar-como-leyenda/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/la-cidob-y-el-conamaq-respaldan-al-binomio-camacho-pumari/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/en-2019-bolivar-tuvo-un-deficit-de-bs-40-millones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/albanil-golpeo-con-un-ladrillo-a-su-pareja-en-sipe-sipe/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/banco-union-aclara-que-apoderada-de-gabriela-montano-cobro-el-aguinaldo-de-la-exministra/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/gustavo-torrico-dice-que-esta-en-su-casa-y-pide-a-la-fiscalia-que-lo-notifiquen-correctamente/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/un-crucero-con-7-000-personas-quedo-en-cuarentena-en-italia-por-sospechas-de-un-caso-de-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/cc-mesa-anunciara-el-nombre-de-su-companero-de-formula-en-las-proximas-horas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/el-millonario-castiga/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/modulos-educativos-estan-listos-para-el-inicio-de-las-labores-escolares/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/los-mejores-atletas-llegan-al-meeting-indoor-berodt/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/pumari-politicos-reciclados-presionan-a-anez-para-ser-candidata/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/djokovic-acaba-con-federer-y-buscara-su-octavo-titulo-en-melbourne/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/coronavirus-simulacros-en-aeropuertos-inician-la-proxima-semana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/esta-es-la-fotografia-del-sol-de-mayor-resolucion-jamas-tomada-junto-a-un-video-de-la-hipnotica-superficie-solar/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/lizarraga-afirma-que-utilizan-a-anez-para-resucitar-democratas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/google-earth-anadira-vistas-del-espacio-exterior-en-el-movil/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/asamblea-aprueba-ley-que-crea-la-region-metropolitana-crucena/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/caricaturas-de-bolivia-del-jueves-30-de-enero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/conrrado-moscoso-tendra-una-llave-dificil-en-ee-uu/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/boxeo-abre-el-telon-y-apunta-a-los-juegos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/denuncian-proteccion-a-un-sacerdote-acusado-de-violar-a-misionera-en-san-jose-de-chiquitos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/poesia-en-la-calleja-celebra-a-lo-grande-su-septimo-aniversario/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/guarderia-en-donde-murio-un-nino-era-improvisada-y-clandestina/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/tuto-critica-citacion-a-luis-arce-en-tiempos-de-campana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/acusan-a-fiscal-lanchipa-por-ocultar-aviso-de-interpol-sobre-sello-rojo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/abogados-de-familiares-del-chapecoense-piden-ayuda-al-gobierno-boliviano/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/nacional-potosi-supero-a-un-aguerrido-municipal-vinto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/the-strongest-sufrio-para-lograr-su-primera-victoria-en-el-apertura/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/que-lejos-estamos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/blooming-sufre-un-duro-castigo-en-casa/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/boliviana-arriesga-la-pena-de-muerte-en-china/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/juegos-boliviarianos-de-la-juventud-de-sucre-tienen-50-de-avance/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/presumen-que-jet-incautado-en-mexico-cargo-la-droga-en-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/royal-pari-sorprende-a-bolivar-y-le-quita-su-invicto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/san-jose-cae-4-0-ante-guarani-que-ahora-espera-por-el-corinthians-en-la-libertadores/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/pilotos-bolivianos-caen-con-1-t-de-droga-valuada-en-us-12-millones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/el-proyecto-casa-de-la-verde-entra-en-segunda-fase/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/portadas-de-periodicos-de-bolivia-del-jueves-30-de-enero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/horoscopo-del-jueves-30-de-enero-del-2020-de-josie-diez-canseco/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/reactivan-las-pititas-esta-vez-contra-las-casas-de-campanas-de-frentes-politicos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/viajes-despidos-y-acusaciones-guerra-de-baja-intensidad-en-comunicacion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/bascope-evo-no-puede-postular-porque-reside-en-argentina-y-solo-busca-convulsionar-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/evo-busca-candidatear-para-senador-o-diputado-y-se-abre-una-polemica/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/un-alteno-le-presta-sigla-chi-hyun-chung/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/2-143-casos-de-dengue-se-registraron-solo-en-enero/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/banco-union-viabilizo-retiro-del-aguinaldo-de-exministra-montano-tras-subsanarse-una-observacion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/fiscalia-afirma-que-cumplio-con-requerimiento-ante-la-interpol-para-activar-notificacion-contra-evo-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/llegan-a-bolivia-equipos-personales-de-proteccion-para-bioseguridad-contra-el-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/juanita-ancieta-muy-cercana-a-evo-recibio-mas-de-bs-10-millones-en-su-cuenta-personal-del-exfondo-indigena/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/1591169/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/mis-sinceras-condolencias-a-carolina-y-jose-armando-ribera-anez-por-el-fallecimiento-de-s/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/diputado-monasterio-afirma-que-evo-morales-no-deja-imagen-solo-de-fraude-sino-tambien-de-narcotrafico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/ministerio-de-justicia-recibe-361-denuncias-por-persecucion-politica-en-el-regimen-de-evo-morales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/posesionan-al-nuevo-director-del-inra-en-santa-cruz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/ni-mesa-ni-anez-definen-acompanantes-de-formula-a-cinco-dias-de-la-inscripcion/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/reinas-hispanoamericanas-llegan-a-sucre-donde-se-elegira-el-mejor-traje-tipico/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/regina-duarte-la-reina-de-la-chatarra-al-frente-de-la-nueva-politica-cultural-de-brasil/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/el-comandante-de-pando-inicia-proceso-contra-alcalde-gatty-ribeiro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/las-muertes-por-la-policia-y-el-descenso-de-asesinatos-baten-records-en-rio-de-janeiro/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/con-chi-suman-10-los-frentes-en-carrera-electoral/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/esta-noche-a-las-2230-estaremos-en-a-todo-pulmon-en-cadenaabolivia-y-a-las-2300-en/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/tutoquiroga-muchas-gracias-tuto-por-tu-solidaridad-tienes-razon-es-hora-de-la-toleranci/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/video-titulares-de-noticias-de-tv-bolivia-noche-del-miercoles-29-de-enero-de-2020/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/washington-sanciono-a-exmilitares-de-el-salvador-por-el-asesinato-de-jesuitas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/hago-llegar-mi-mas-sentido-pesame-a-carolina-y-jose-armando-ribera-anez-por-el-fallecimie/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/casa-blanca-prohibe-publicar-libro-de-john-bolton/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/cuando-alguien-se-va-de-este-mundo-nos-detenemos-a-sentir-a-reconciliarnos-en-silencio-y/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/chi-hyun-chung-sera-candidato-a-la-presidencia-por-fpv/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/segun-un-estudio-el-periodo-de-incubacion-del-coronavirus-es-de-cinco-dias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/los-mejores-comerciales-que-se-emitiran-en-el-super-bowl-liv/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/fallece-el-exesposo-de-la-presidenta-jeanine-anez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/agradezco-apoyo-de-fuerza-revolucionaria-agrupacion-nacional-de-jovenes-que-lucharon-po/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/mi-solidaridad-con-la-presidenta-jeanineanez-por-el-fallecimiento-del-senor-tadeo-ribera/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/evo-morales-gestiona-su-postulacion-a-senador-o-a-diputado-por-el-mas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/lizarraga-allegados-a-anez-instruyeron-transmision-para-el-anuncio-de-su-candidatura/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/larrea-bolivia-no-tiene-los-mecanismos-de-bioseguridad-para-afrontar-el-coronavirus/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/envian-a-la-carcel-al-alcalde-de-san-buenaventura/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/el-diario-secreto-de-un-narco-las-memorias-de-miguel-angel-felix-gallardo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/rechazan-accion-de-libertad-para-ex-jueza-que-pretendia-salir-del-pais/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/dos-casos-de-incesto-alarman-a-defensoria-en-puerto-suarez/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/valuan-en-mexico-en-us-12-millones-la-cocaina-hallada-en-avion-pilotado-por-bolivianos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/maestros-denuncian-que-son-hostigados-en-el-chapare-por-no-apoyar-al-mas-y-piden-garantias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/gabriela-montano-acusa-al-banco-union-de-ponerla-en-una-lista-negra-para-que-no-cobre-su-aguinaldo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/trabajadores-de-pat-cumplen-23-dias-de-vigilia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/entregaran-600-pupitres-de-madera-decomisada-san-ignacio-de-velasco/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/expresidenta-del-tse-insiste-en-buscar-su-libertad/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/secretario-de-la-onu-designa-a-susana-sottoli-como-coordinadora-residente-de-ese-organismo-en-bolivia/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/envian-a-la-carcel-a-sujeto-que-abuso-de-su-hijastra-en-potosi/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/muchas-gracias-a-cada-uno-de-ustedes-por-su-solidaridad-este-tipo-de-agresiones-son-solo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/brasil-investiga-tres-casos-sospechosos-de-coronavirus-y-elevo-la-alerta-hasta-peligro-inminente/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/chavo-salvatierra-participara-en-el-south-american-rally-race-2020-de-argentina/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/violentos-causaron-destrozos-a-modulo-policial-y-dejaron-herido-a-un-oficial-en-patacamaya/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/desmienten-rumor-de-que-pedraza-declino-a-su-candidatura/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/ciudadanos-piden-a-los-politicos-unirse-por-respeto-a-los-21-dias-de-lucha/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/el-narcoavion-con-pilotos-bolivianos-es-la-segunda-aeronave-con-droga-que-cae-en-mexico-en-dos-dias/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/tia-de-zapata-afirma-que-su-sobrina-no-dejo-de-hablar-con-evo-ni-quintana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/quispe-%c2%93a-arce-el-lugar-que-le-corresponde-es-estar-en-la-carcel%c2%94/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/periodista-aseguro-que-lo-encarcelaron-por-desclasificar-un-video-del-exministro-quintana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/lista-de-heridos-y-fallecidos-por-el-accidente-en-la-carretera-carabuco-la-paz/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/inician-presentacion-del-carnaval-2020-en-bolivia-con-un-flashmob-en-pleno-vuelo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/cochabamba-policia-detiene-a-una-persona-y-decomisa-escudos-e-investiga-su-origen-y-finalidad/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/boa-oficializa-accion-legal-por-dano-economico-de-5-millones-de-dolares-contra-exejecutivos/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/historia-de-las-victimas-de-una-secta-satanica-que-asesino-y-secuestro-a-personas/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/el-tirano-evo-defiende-la-cocaina-del-chapare-hace-35-anos-despues-del-fraude-fugo-a-mexi/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/exministra-lizarraga-no-descarta-participar-como-candidata-en-las-elecciones/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/una-joven-de-15-anos-que-aparenta-60-por-una-enfermedad-rara-rejuvenece-su-cara-gracias-a-la-cirugia-plastica/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/federacion-de-mineros-pide-que-anez-renuncie-para-dedicarse-a-campana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/abuelo-que-abuso-de-sus-nietas-es-enviado-a-la-carcel/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/quienes-son-los-candidatos-que-ya-estan-en-carrera-electoral-y-como-se-perfilan-para-encarar-su-campana/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/arrestan-al-director-juridico-de-la-alcaldia-de-quillacollo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/inspeccionan-la-epi-sur-y-afirman-que-hay-otros-10-posibles-implicados/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/segunda-ronda-del-torneo-2019-de-la-afc-inicia-este-jueves-con-partidos-cruciales/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/arce-este-es-un-caso-politico-yo-no-soy-ningun-corrupto/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/leon-denuncia-a-lanchipa-por-no-activar-sellos-de-interpol-contra-evo/'},{'class': ['entry-title-link'], 'rel': ['bookmark'], 'href': 'http://eju.tv/2020/01/doria-medina-denuncio-que-fue-agredido-por-masistas/'}]
| 324,357 | 648,713 | 0.686612 | 97,774 | 648,714 | 4.555475 | 0.092427 | 0.091108 | 0.136662 | 0.173105 | 0.574219 | 0.566441 | 0.564075 | 0.563734 | 0.563449 | 0.563157 | 0 | 0.043232 | 0.031283 | 648,714 | 1 | 648,714 | 648,714 | 0.665541 | 0 | 0 | 0 | 0 | 3,940 | 0.818576 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
7588f1aa377513347b203448f38da2e8729a0848 | 463 | py | Python | scripts/7d_gen_xlsx_ap2.py | etalab/dashboard-aides-entreprises | 3f3944319d40f96c3eff54e45269b27ec3e6d91e | [
"MIT"
] | 8 | 2020-04-06T14:09:57.000Z | 2020-05-27T22:26:45.000Z | scripts/7d_gen_xlsx_ap2.py | etalab/dashboard-aides-entreprises | 3f3944319d40f96c3eff54e45269b27ec3e6d91e | [
"MIT"
] | 71 | 2020-04-06T15:22:00.000Z | 2022-01-22T11:39:28.000Z | scripts/7d_gen_xlsx_ap2.py | etalab/dashboard-aides-entreprises | 3f3944319d40f96c3eff54e45269b27ec3e6d91e | [
"MIT"
] | 15 | 2020-04-14T08:18:06.000Z | 2021-12-12T10:03:05.000Z | import pandas as pd
read_file = pd.read_csv ("../published-data/activite-partielle-2-regional-nace17-latest.csv",dtype=str)
read_file.to_excel ('../published-data/activite-partielle-2-regional-nace17-latest.xlsx', index = None, header=True)
read_file = pd.read_csv ("../published-data/activite-partielle-3-regional-nace17-latest.csv",dtype=str)
read_file.to_excel ('../published-data/activite-partielle-3-regional-nace17-latest.xlsx', index = None, header=True) | 66.142857 | 116 | 0.777538 | 70 | 463 | 5.028571 | 0.357143 | 0.090909 | 0.238636 | 0.340909 | 0.954545 | 0.954545 | 0.954545 | 0.954545 | 0.698864 | 0.431818 | 0 | 0.027397 | 0.053996 | 463 | 7 | 117 | 66.142857 | 0.776256 | 0 | 0 | 0 | 0 | 0 | 0.564655 | 0.564655 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
7598bca217f9c648a65bcfcd0cbfe92507b544a2 | 175 | py | Python | fastmri_recon/tests/evaluate/paper_eval_test.py | samiulshuvo/fastmri-reproducible-benchmark | 5ac9ba3e7f1ad859dcf74e7019b574a6bf065eac | [
"MIT"
] | 105 | 2019-09-30T06:05:38.000Z | 2022-03-02T09:48:31.000Z | fastmri_recon/tests/evaluate/paper_eval_test.py | samiulshuvo/fastmri-reproducible-benchmark | 5ac9ba3e7f1ad859dcf74e7019b574a6bf065eac | [
"MIT"
] | 103 | 2019-09-18T08:30:23.000Z | 2022-03-16T22:24:14.000Z | fastmri_recon/tests/evaluate/paper_eval_test.py | samiulshuvo/fastmri-reproducible-benchmark | 5ac9ba3e7f1ad859dcf74e7019b574a6bf065eac | [
"MIT"
] | 38 | 2019-09-30T06:05:41.000Z | 2022-02-26T14:07:52.000Z | from fastmri_recon.evaluate.scripts.paper_eval import evaluate_paper
def test_evaluate_paper():
# TODO: add a test on the metrics values
evaluate_paper(n_samples=2)
| 25 | 68 | 0.788571 | 27 | 175 | 4.851852 | 0.740741 | 0.29771 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006711 | 0.148571 | 175 | 6 | 69 | 29.166667 | 0.872483 | 0.217143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 1 | 0.333333 | true | 0 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
f958e2f2fc730796d785fe73d83cb552e562356b | 211,950 | py | Python | code/python/FactSetESG/v1/fds/sdk/FactSetESG/api/sasb_api.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 6 | 2022-02-07T16:34:18.000Z | 2022-03-30T08:04:57.000Z | code/python/FactSetESG/v1/fds/sdk/FactSetESG/api/sasb_api.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 2 | 2022-02-07T05:25:57.000Z | 2022-03-07T14:18:04.000Z | code/python/FactSetESG/v1/fds/sdk/FactSetESG/api/sasb_api.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | null | null | null | """
FactSet ESG API
FactSet ESG (powered by FactSet Truvalue Labs) applies machine learning to uncover risks and opportunities from companies' Environmental, Social and Governance (ESG) behavior, which are aggregated and categorized into continuously updated, material ESG scores. The service focuses on company ESG behavior from external sources and includes both positive and negative events that go beyond traditional sources of ESG risk data.<p> FactSet ESG extracts, analyzes, and generates scores from millions of documents each month collected from more than 100,000 data sources in over 13 languages. Sources include news, trade journals, NGOs, watchdog groups, trade blogs, industry reports and social media. Products deliver investable insights by revealing value and risk factors from unstructured data at the speed of current events.</p> # noqa: E501
The version of the OpenAPI document: 1.3.0
Contact: api@factset.com
Generated by: https://openapi-generator.tech
"""
import re # noqa: F401
import sys # noqa: F401
from multiprocessing.pool import ApplyResult
import typing
from fds.sdk.FactSetESG.api_client import ApiClient, Endpoint as _Endpoint
from fds.sdk.FactSetESG.model_utils import ( # noqa: F401
check_allowed_values,
check_validations,
date,
datetime,
file_type,
none_type,
validate_and_convert_types
)
from fds.sdk.FactSetESG.exceptions import ApiException
from fds.sdk.FactSetESG.model.error_response import ErrorResponse
from fds.sdk.FactSetESG.model.sasb_ranks_request import SasbRanksRequest
from fds.sdk.FactSetESG.model.sasb_ranks_response import SasbRanksResponse
from fds.sdk.FactSetESG.model.sasb_scores_all_request import SasbScoresAllRequest
from fds.sdk.FactSetESG.model.sasb_scores_all_response import SasbScoresAllResponse
from fds.sdk.FactSetESG.model.sasb_scores_request import SasbScoresRequest
from fds.sdk.FactSetESG.model.sasb_scores_response import SasbScoresResponse
class SASBApi(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
self.get_sasb_ranks_endpoint = _Endpoint(
settings={
'response_type': (
{ 200: (SasbRanksResponse,), 400: (ErrorResponse,), 401: (ErrorResponse,), 403: (ErrorResponse,), 415: (ErrorResponse,), 500: (ErrorResponse,), },
None
),
'auth': [
'FactSetApiKey',
'FactSetOAuth2'
],
'endpoint_path': '/factset-esg/v1/sasb-ranks',
'operation_id': 'get_sasb_ranks',
'http_method': 'GET',
'servers': None,
},
params_map={
'all': [
'ids',
'categories',
'start_date',
'end_date',
'frequency',
],
'required': [
'ids',
],
'nullable': [
],
'enum': [
'frequency',
],
'validation': [
'ids',
'categories',
]
},
root_map={
'validations': {
('ids',): {
'max_items': 1000,
'min_items': 1,
},
('categories',): {
'max_items': 28,
'min_items': 1,
},
},
'allowed_values': {
('frequency',): {
"D": "D",
"W": "W",
"M": "M",
"CY": "CY",
"EMPTY": ""
},
},
'openapi_types': {
'ids':
([str],),
'categories':
([str],),
'start_date':
(str,),
'end_date':
(str,),
'frequency':
(str,),
},
'attribute_map': {
'ids': 'ids',
'categories': 'categories',
'start_date': 'startDate',
'end_date': 'endDate',
'frequency': 'frequency',
},
'location_map': {
'ids': 'query',
'categories': 'query',
'start_date': 'query',
'end_date': 'query',
'frequency': 'query',
},
'collection_format_map': {
'ids': 'csv',
'categories': 'csv',
}
},
headers_map={
'accept': [
'application/json'
],
'content_type': [],
},
api_client=api_client
)
self.get_sasb_ranks_post_endpoint = _Endpoint(
settings={
'response_type': (
{ 200: (SasbRanksResponse,), 400: (ErrorResponse,), 401: (ErrorResponse,), 403: (ErrorResponse,), 415: (ErrorResponse,), 500: (ErrorResponse,), },
None
),
'auth': [
'FactSetApiKey',
'FactSetOAuth2'
],
'endpoint_path': '/factset-esg/v1/sasb-ranks',
'operation_id': 'get_sasb_ranks_post',
'http_method': 'POST',
'servers': None,
},
params_map={
'all': [
'sasb_ranks_request',
],
'required': [
'sasb_ranks_request',
],
'nullable': [
],
'enum': [
],
'validation': [
]
},
root_map={
'validations': {
},
'allowed_values': {
},
'openapi_types': {
'sasb_ranks_request':
(SasbRanksRequest,),
},
'attribute_map': {
},
'location_map': {
'sasb_ranks_request': 'body',
},
'collection_format_map': {
}
},
headers_map={
'accept': [
'application/json'
],
'content_type': [
'application/json'
]
},
api_client=api_client
)
self.get_sasb_scores_endpoint = _Endpoint(
settings={
'response_type': (
{ 200: (SasbScoresResponse,), 400: (ErrorResponse,), 401: (ErrorResponse,), 403: (ErrorResponse,), 415: (ErrorResponse,), 500: (ErrorResponse,), },
None
),
'auth': [
'FactSetApiKey',
'FactSetOAuth2'
],
'endpoint_path': '/factset-esg/v1/sasb-scores',
'operation_id': 'get_sasb_scores',
'http_method': 'GET',
'servers': None,
},
params_map={
'all': [
'ids',
'score_types',
'categories',
'start_date',
'end_date',
'frequency',
],
'required': [
'ids',
],
'nullable': [
],
'enum': [
'frequency',
],
'validation': [
'ids',
'score_types',
'categories',
]
},
root_map={
'validations': {
('ids',): {
'max_items': 1000,
'min_items': 1,
},
('score_types',): {
'max_items': 8,
'min_items': 1,
},
('categories',): {
'max_items': 28,
'min_items': 1,
},
},
'allowed_values': {
('frequency',): {
"D": "D",
"W": "W",
"M": "M",
"CY": "CY",
"EMPTY": ""
},
},
'openapi_types': {
'ids':
([str],),
'score_types':
([str],),
'categories':
([str],),
'start_date':
(str,),
'end_date':
(str,),
'frequency':
(str,),
},
'attribute_map': {
'ids': 'ids',
'score_types': 'scoreTypes',
'categories': 'categories',
'start_date': 'startDate',
'end_date': 'endDate',
'frequency': 'frequency',
},
'location_map': {
'ids': 'query',
'score_types': 'query',
'categories': 'query',
'start_date': 'query',
'end_date': 'query',
'frequency': 'query',
},
'collection_format_map': {
'ids': 'csv',
'score_types': 'csv',
'categories': 'csv',
}
},
headers_map={
'accept': [
'application/json'
],
'content_type': [],
},
api_client=api_client
)
self.get_sasb_scores_all_endpoint = _Endpoint(
settings={
'response_type': (
{ 200: (SasbScoresAllResponse,), 400: (ErrorResponse,), 401: (ErrorResponse,), 403: (ErrorResponse,), 415: (ErrorResponse,), 500: (ErrorResponse,), },
None
),
'auth': [
'FactSetApiKey',
'FactSetOAuth2'
],
'endpoint_path': '/factset-esg/v1/sasb-scores-all',
'operation_id': 'get_sasb_scores_all',
'http_method': 'GET',
'servers': None,
},
params_map={
'all': [
'ids',
'score_types',
'start_date',
'end_date',
'frequency',
],
'required': [
'ids',
],
'nullable': [
],
'enum': [
'frequency',
],
'validation': [
'ids',
'score_types',
]
},
root_map={
'validations': {
('ids',): {
'max_items': 1000,
'min_items': 1,
},
('score_types',): {
'max_items': 8,
'min_items': 1,
},
},
'allowed_values': {
('frequency',): {
"D": "D",
"W": "W",
"M": "M",
"CY": "CY",
"EMPTY": ""
},
},
'openapi_types': {
'ids':
([str],),
'score_types':
([str],),
'start_date':
(str,),
'end_date':
(str,),
'frequency':
(str,),
},
'attribute_map': {
'ids': 'ids',
'score_types': 'scoreTypes',
'start_date': 'startDate',
'end_date': 'endDate',
'frequency': 'frequency',
},
'location_map': {
'ids': 'query',
'score_types': 'query',
'start_date': 'query',
'end_date': 'query',
'frequency': 'query',
},
'collection_format_map': {
'ids': 'csv',
'score_types': 'csv',
}
},
headers_map={
'accept': [
'application/json'
],
'content_type': [],
},
api_client=api_client
)
self.get_sasb_scores_all_post_endpoint = _Endpoint(
settings={
'response_type': (
{ 200: (SasbScoresAllResponse,), 400: (ErrorResponse,), 401: (ErrorResponse,), 403: (ErrorResponse,), 415: (ErrorResponse,), 500: (ErrorResponse,), },
None
),
'auth': [
'FactSetApiKey',
'FactSetOAuth2'
],
'endpoint_path': '/factset-esg/v1/sasb-scores-all',
'operation_id': 'get_sasb_scores_all_post',
'http_method': 'POST',
'servers': None,
},
params_map={
'all': [
'sasb_scores_all_request',
],
'required': [
'sasb_scores_all_request',
],
'nullable': [
],
'enum': [
],
'validation': [
]
},
root_map={
'validations': {
},
'allowed_values': {
},
'openapi_types': {
'sasb_scores_all_request':
(SasbScoresAllRequest,),
},
'attribute_map': {
},
'location_map': {
'sasb_scores_all_request': 'body',
},
'collection_format_map': {
}
},
headers_map={
'accept': [
'application/json'
],
'content_type': [
'application/json'
]
},
api_client=api_client
)
self.get_sasb_scores_post_endpoint = _Endpoint(
settings={
'response_type': (
{ 200: (SasbScoresResponse,), 400: (ErrorResponse,), 401: (ErrorResponse,), 403: (ErrorResponse,), 415: (ErrorResponse,), 500: (ErrorResponse,), },
None
),
'auth': [
'FactSetApiKey',
'FactSetOAuth2'
],
'endpoint_path': '/factset-esg/v1/sasb-scores',
'operation_id': 'get_sasb_scores_post',
'http_method': 'POST',
'servers': None,
},
params_map={
'all': [
'sasb_scores_request',
],
'required': [
'sasb_scores_request',
],
'nullable': [
],
'enum': [
],
'validation': [
]
},
root_map={
'validations': {
},
'allowed_values': {
},
'openapi_types': {
'sasb_scores_request':
(SasbScoresRequest,),
},
'attribute_map': {
},
'location_map': {
'sasb_scores_request': 'body',
},
'collection_format_map': {
}
},
headers_map={
'accept': [
'application/json'
],
'content_type': [
'application/json'
]
},
api_client=api_client
)
@staticmethod
def apply_kwargs_defaults(kwargs, return_http_data_only, async_req):
kwargs["async_req"] = async_req
kwargs["_return_http_data_only"] = return_http_data_only
kwargs["_preload_content"] = kwargs.get("_preload_content", True)
kwargs["_request_timeout"] = kwargs.get("_request_timeout", None)
kwargs["_check_input_type"] = kwargs.get("_check_input_type", True)
kwargs["_check_return_type"] = kwargs.get("_check_return_type", True)
kwargs["_spec_property_naming"] = kwargs.get("_spec_property_naming", False)
kwargs["_content_type"] = kwargs.get("_content_type")
kwargs["_host_index"] = kwargs.get("_host_index")
def get_sasb_ranks(
self,
ids,
**kwargs
) -> SasbRanksResponse:
"""Gets ESG Rankings for a requested list of ids and dates. # noqa: E501
Indicates if a company is a Leader, Above Average, Average, Below Average, or a Laggard; directly mapping from Industry Percentiles (*request IND_PCTL in scores endpoints*). Mapping of ESG Ranks to Industry Percentile Ranges is as follows - |Rank|Industry Percentile Range (%)| |---|---| |Leader|90 - 100| |Above Average|70 - 89.9| |Average|30 - 69.9| |Below Average|10 - 29.9| |Laggard|0 - 9.9| Industry classifications follow SICS, SASB's Industry Classification System. Using the Adjusted Insight scores, Industry Percentiles are generated for all companies. Companies with five or more articles in a year get ranked in a first pass, then companies with filled-in values are interpolated without forcing the ranking of higher-volume companies up or down. In the case where a company falls into an industry with fewer than 7 high or medium volume companies the Sector Percentile is inserted in the place of the Industry Percentile score. <p>Only Vaild for ALLCATEGORIES and MATERIALITY categories.</p> # noqa: E501
This method makes a synchronous HTTP request. Returns the http data only
Args:
ids ([str]): Security or Entity identifiers. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may exceed this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>*
Keyword Args:
categories ([str]): The Categories representing overall or composite rankings from all underlying 26 SASB Categories. ### SASB Categories |**SASB Category Inputs**|**Description**| |---|---| |**ALLCATEGORIES**|**All Categories** - The company's overall SASB Rank. This value is equal to the cumulative average of all 26 SASB categories. |**MATERIALITY**|**Materiality** - The composite rank of all 'material' SASB categories for the given entity. For more information on SASB's Materiality Map, visit [materiality.sasb.org](https://materiality.sasb.org/)| ### Helper Input **ALL** = Simply gives the ability to request all categories in a single request without having to explicitly list each available category. . [optional] if omitted the server will use the default value of ["ALL"]
start_date (str): The start date requested for a given date range in **YYYY-MM-DD** format. If left blank, the API will default to latest available completed period. . [optional]
end_date (str): The end date requested for a given date range in **YYYY-MM-DD** format. If left blank, the API will default to latest available completed period. . [optional]
frequency (str): Controls the display frequency of the data returned. * **D** = Daily * **W** = Weekly, based on the last day of the week of the start date. * **M** = Monthly, based on the last trading day of the month. * **CY** = Calendar Annual, based on the last trading day of the calendar year. . [optional] if omitted the server will use the default value of "D"
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): 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.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
SasbRanksResponse
Response Object
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=False)
kwargs['ids'] = \
ids
return self.get_sasb_ranks_endpoint.call_with_http_info(**kwargs)
def get_sasb_ranks_with_http_info(
self,
ids,
**kwargs
) -> typing.Tuple[SasbRanksResponse, int, typing.MutableMapping]:
"""Gets ESG Rankings for a requested list of ids and dates. # noqa: E501
Indicates if a company is a Leader, Above Average, Average, Below Average, or a Laggard; directly mapping from Industry Percentiles (*request IND_PCTL in scores endpoints*). Mapping of ESG Ranks to Industry Percentile Ranges is as follows - |Rank|Industry Percentile Range (%)| |---|---| |Leader|90 - 100| |Above Average|70 - 89.9| |Average|30 - 69.9| |Below Average|10 - 29.9| |Laggard|0 - 9.9| Industry classifications follow SICS, SASB's Industry Classification System. Using the Adjusted Insight scores, Industry Percentiles are generated for all companies. Companies with five or more articles in a year get ranked in a first pass, then companies with filled-in values are interpolated without forcing the ranking of higher-volume companies up or down. In the case where a company falls into an industry with fewer than 7 high or medium volume companies the Sector Percentile is inserted in the place of the Industry Percentile score. <p>Only Vaild for ALLCATEGORIES and MATERIALITY categories.</p> # noqa: E501
This method makes a synchronous HTTP request. Returns http data, http status and headers
Args:
ids ([str]): Security or Entity identifiers. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may exceed this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>*
Keyword Args:
categories ([str]): The Categories representing overall or composite rankings from all underlying 26 SASB Categories. ### SASB Categories |**SASB Category Inputs**|**Description**| |---|---| |**ALLCATEGORIES**|**All Categories** - The company's overall SASB Rank. This value is equal to the cumulative average of all 26 SASB categories. |**MATERIALITY**|**Materiality** - The composite rank of all 'material' SASB categories for the given entity. For more information on SASB's Materiality Map, visit [materiality.sasb.org](https://materiality.sasb.org/)| ### Helper Input **ALL** = Simply gives the ability to request all categories in a single request without having to explicitly list each available category. . [optional] if omitted the server will use the default value of ["ALL"]
start_date (str): The start date requested for a given date range in **YYYY-MM-DD** format. If left blank, the API will default to latest available completed period. . [optional]
end_date (str): The end date requested for a given date range in **YYYY-MM-DD** format. If left blank, the API will default to latest available completed period. . [optional]
frequency (str): Controls the display frequency of the data returned. * **D** = Daily * **W** = Weekly, based on the last day of the week of the start date. * **M** = Monthly, based on the last trading day of the month. * **CY** = Calendar Annual, based on the last trading day of the calendar year. . [optional] if omitted the server will use the default value of "D"
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): 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.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
SasbRanksResponse
Response Object
int
Http Status Code
dict
Dictionary of the response headers
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=False)
kwargs['ids'] = \
ids
return self.get_sasb_ranks_endpoint.call_with_http_info(**kwargs)
def get_sasb_ranks_async(
self,
ids,
**kwargs
) -> "ApplyResult[SasbRanksResponse]":
"""Gets ESG Rankings for a requested list of ids and dates. # noqa: E501
Indicates if a company is a Leader, Above Average, Average, Below Average, or a Laggard; directly mapping from Industry Percentiles (*request IND_PCTL in scores endpoints*). Mapping of ESG Ranks to Industry Percentile Ranges is as follows - |Rank|Industry Percentile Range (%)| |---|---| |Leader|90 - 100| |Above Average|70 - 89.9| |Average|30 - 69.9| |Below Average|10 - 29.9| |Laggard|0 - 9.9| Industry classifications follow SICS, SASB's Industry Classification System. Using the Adjusted Insight scores, Industry Percentiles are generated for all companies. Companies with five or more articles in a year get ranked in a first pass, then companies with filled-in values are interpolated without forcing the ranking of higher-volume companies up or down. In the case where a company falls into an industry with fewer than 7 high or medium volume companies the Sector Percentile is inserted in the place of the Industry Percentile score. <p>Only Vaild for ALLCATEGORIES and MATERIALITY categories.</p> # noqa: E501
This method makes a asynchronous HTTP request. Returns the http data, wrapped in ApplyResult
Args:
ids ([str]): Security or Entity identifiers. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may exceed this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>*
Keyword Args:
categories ([str]): The Categories representing overall or composite rankings from all underlying 26 SASB Categories. ### SASB Categories |**SASB Category Inputs**|**Description**| |---|---| |**ALLCATEGORIES**|**All Categories** - The company's overall SASB Rank. This value is equal to the cumulative average of all 26 SASB categories. |**MATERIALITY**|**Materiality** - The composite rank of all 'material' SASB categories for the given entity. For more information on SASB's Materiality Map, visit [materiality.sasb.org](https://materiality.sasb.org/)| ### Helper Input **ALL** = Simply gives the ability to request all categories in a single request without having to explicitly list each available category. . [optional] if omitted the server will use the default value of ["ALL"]
start_date (str): The start date requested for a given date range in **YYYY-MM-DD** format. If left blank, the API will default to latest available completed period. . [optional]
end_date (str): The end date requested for a given date range in **YYYY-MM-DD** format. If left blank, the API will default to latest available completed period. . [optional]
frequency (str): Controls the display frequency of the data returned. * **D** = Daily * **W** = Weekly, based on the last day of the week of the start date. * **M** = Monthly, based on the last trading day of the month. * **CY** = Calendar Annual, based on the last trading day of the calendar year. . [optional] if omitted the server will use the default value of "D"
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): 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.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ApplyResult[SasbRanksResponse]
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=True)
kwargs['ids'] = \
ids
return self.get_sasb_ranks_endpoint.call_with_http_info(**kwargs)
def get_sasb_ranks_with_http_info_async(
self,
ids,
**kwargs
) -> "ApplyResult[typing.Tuple[SasbRanksResponse, int, typing.MutableMapping]]":
"""Gets ESG Rankings for a requested list of ids and dates. # noqa: E501
Indicates if a company is a Leader, Above Average, Average, Below Average, or a Laggard; directly mapping from Industry Percentiles (*request IND_PCTL in scores endpoints*). Mapping of ESG Ranks to Industry Percentile Ranges is as follows - |Rank|Industry Percentile Range (%)| |---|---| |Leader|90 - 100| |Above Average|70 - 89.9| |Average|30 - 69.9| |Below Average|10 - 29.9| |Laggard|0 - 9.9| Industry classifications follow SICS, SASB's Industry Classification System. Using the Adjusted Insight scores, Industry Percentiles are generated for all companies. Companies with five or more articles in a year get ranked in a first pass, then companies with filled-in values are interpolated without forcing the ranking of higher-volume companies up or down. In the case where a company falls into an industry with fewer than 7 high or medium volume companies the Sector Percentile is inserted in the place of the Industry Percentile score. <p>Only Vaild for ALLCATEGORIES and MATERIALITY categories.</p> # noqa: E501
This method makes a asynchronous HTTP request. Returns http data, http status and headers, wrapped in ApplyResult
Args:
ids ([str]): Security or Entity identifiers. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may exceed this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>*
Keyword Args:
categories ([str]): The Categories representing overall or composite rankings from all underlying 26 SASB Categories. ### SASB Categories |**SASB Category Inputs**|**Description**| |---|---| |**ALLCATEGORIES**|**All Categories** - The company's overall SASB Rank. This value is equal to the cumulative average of all 26 SASB categories. |**MATERIALITY**|**Materiality** - The composite rank of all 'material' SASB categories for the given entity. For more information on SASB's Materiality Map, visit [materiality.sasb.org](https://materiality.sasb.org/)| ### Helper Input **ALL** = Simply gives the ability to request all categories in a single request without having to explicitly list each available category. . [optional] if omitted the server will use the default value of ["ALL"]
start_date (str): The start date requested for a given date range in **YYYY-MM-DD** format. If left blank, the API will default to latest available completed period. . [optional]
end_date (str): The end date requested for a given date range in **YYYY-MM-DD** format. If left blank, the API will default to latest available completed period. . [optional]
frequency (str): Controls the display frequency of the data returned. * **D** = Daily * **W** = Weekly, based on the last day of the week of the start date. * **M** = Monthly, based on the last trading day of the month. * **CY** = Calendar Annual, based on the last trading day of the calendar year. . [optional] if omitted the server will use the default value of "D"
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): 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.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ApplyResult[(SasbRanksResponse, int, typing.Dict)]
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=True)
kwargs['ids'] = \
ids
return self.get_sasb_ranks_endpoint.call_with_http_info(**kwargs)
def get_sasb_ranks_post(
self,
sasb_ranks_request,
**kwargs
) -> SasbRanksResponse:
"""Get ESG Ranks for a large list of ids and specified date range. # noqa: E501
Indicates if a company is a Leader, Above Average, Average, Below Average, or a Laggard; directly mapping from Industry Percentiles (*request IND_PCTL in scores endpoints*). Mapping of ESG Ranks to Industry Percentile Ranges is as follows - |Rank|Industry Percentile Range (%)| |---|---| |Leader|90 - 100| |Above Average|70 - 89.9| |Average|30 - 69.9| |Below Average|10 - 29.9| |Laggard|0 - 9.9| Industry classifications follow SICS, SASB's Industry Classification System. Using the Adjusted Insight scores, Industry Percentiles are generated for all companies. Companies with five or more articles in a year get ranked in a first pass, then companies with filled-in values are interpolated without forcing the ranking of higher-volume companies up or down. In the case where a company falls into an industry with fewer than 7 high or medium volume companies the Sector Percentile is inserted in the place of the Industry Percentile score. <p>Only Vaild for ALLCATEGORIES and MATERIALITY categories.</p> # noqa: E501
This method makes a synchronous HTTP request. Returns the http data only
Args:
sasb_ranks_request (SasbRanksRequest): The SASB Ranks Request Object
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): 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.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
SasbRanksResponse
Response Object
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=False)
kwargs['sasb_ranks_request'] = \
sasb_ranks_request
return self.get_sasb_ranks_post_endpoint.call_with_http_info(**kwargs)
def get_sasb_ranks_post_with_http_info(
self,
sasb_ranks_request,
**kwargs
) -> typing.Tuple[SasbRanksResponse, int, typing.MutableMapping]:
"""Get ESG Ranks for a large list of ids and specified date range. # noqa: E501
Indicates if a company is a Leader, Above Average, Average, Below Average, or a Laggard; directly mapping from Industry Percentiles (*request IND_PCTL in scores endpoints*). Mapping of ESG Ranks to Industry Percentile Ranges is as follows - |Rank|Industry Percentile Range (%)| |---|---| |Leader|90 - 100| |Above Average|70 - 89.9| |Average|30 - 69.9| |Below Average|10 - 29.9| |Laggard|0 - 9.9| Industry classifications follow SICS, SASB's Industry Classification System. Using the Adjusted Insight scores, Industry Percentiles are generated for all companies. Companies with five or more articles in a year get ranked in a first pass, then companies with filled-in values are interpolated without forcing the ranking of higher-volume companies up or down. In the case where a company falls into an industry with fewer than 7 high or medium volume companies the Sector Percentile is inserted in the place of the Industry Percentile score. <p>Only Vaild for ALLCATEGORIES and MATERIALITY categories.</p> # noqa: E501
This method makes a synchronous HTTP request. Returns http data, http status and headers
Args:
sasb_ranks_request (SasbRanksRequest): The SASB Ranks Request Object
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): 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.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
SasbRanksResponse
Response Object
int
Http Status Code
dict
Dictionary of the response headers
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=False)
kwargs['sasb_ranks_request'] = \
sasb_ranks_request
return self.get_sasb_ranks_post_endpoint.call_with_http_info(**kwargs)
def get_sasb_ranks_post_async(
self,
sasb_ranks_request,
**kwargs
) -> "ApplyResult[SasbRanksResponse]":
"""Get ESG Ranks for a large list of ids and specified date range. # noqa: E501
Indicates if a company is a Leader, Above Average, Average, Below Average, or a Laggard; directly mapping from Industry Percentiles (*request IND_PCTL in scores endpoints*). Mapping of ESG Ranks to Industry Percentile Ranges is as follows - |Rank|Industry Percentile Range (%)| |---|---| |Leader|90 - 100| |Above Average|70 - 89.9| |Average|30 - 69.9| |Below Average|10 - 29.9| |Laggard|0 - 9.9| Industry classifications follow SICS, SASB's Industry Classification System. Using the Adjusted Insight scores, Industry Percentiles are generated for all companies. Companies with five or more articles in a year get ranked in a first pass, then companies with filled-in values are interpolated without forcing the ranking of higher-volume companies up or down. In the case where a company falls into an industry with fewer than 7 high or medium volume companies the Sector Percentile is inserted in the place of the Industry Percentile score. <p>Only Vaild for ALLCATEGORIES and MATERIALITY categories.</p> # noqa: E501
This method makes a asynchronous HTTP request. Returns the http data, wrapped in ApplyResult
Args:
sasb_ranks_request (SasbRanksRequest): The SASB Ranks Request Object
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): 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.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ApplyResult[SasbRanksResponse]
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=True)
kwargs['sasb_ranks_request'] = \
sasb_ranks_request
return self.get_sasb_ranks_post_endpoint.call_with_http_info(**kwargs)
def get_sasb_ranks_post_with_http_info_async(
self,
sasb_ranks_request,
**kwargs
) -> "ApplyResult[typing.Tuple[SasbRanksResponse, int, typing.MutableMapping]]":
"""Get ESG Ranks for a large list of ids and specified date range. # noqa: E501
Indicates if a company is a Leader, Above Average, Average, Below Average, or a Laggard; directly mapping from Industry Percentiles (*request IND_PCTL in scores endpoints*). Mapping of ESG Ranks to Industry Percentile Ranges is as follows - |Rank|Industry Percentile Range (%)| |---|---| |Leader|90 - 100| |Above Average|70 - 89.9| |Average|30 - 69.9| |Below Average|10 - 29.9| |Laggard|0 - 9.9| Industry classifications follow SICS, SASB's Industry Classification System. Using the Adjusted Insight scores, Industry Percentiles are generated for all companies. Companies with five or more articles in a year get ranked in a first pass, then companies with filled-in values are interpolated without forcing the ranking of higher-volume companies up or down. In the case where a company falls into an industry with fewer than 7 high or medium volume companies the Sector Percentile is inserted in the place of the Industry Percentile score. <p>Only Vaild for ALLCATEGORIES and MATERIALITY categories.</p> # noqa: E501
This method makes a asynchronous HTTP request. Returns http data, http status and headers, wrapped in ApplyResult
Args:
sasb_ranks_request (SasbRanksRequest): The SASB Ranks Request Object
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): 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.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ApplyResult[(SasbRanksResponse, int, typing.Dict)]
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=True)
kwargs['sasb_ranks_request'] = \
sasb_ranks_request
return self.get_sasb_ranks_post_endpoint.call_with_http_info(**kwargs)
def get_sasb_scores(
self,
ids,
**kwargs
) -> SasbScoresResponse:
"""Gets short-term, long-term, and momentum scores based on the 26 ESG categories defined by the Sustainability Accounting Standards Board (SASB). # noqa: E501
FactSet Truvalue Labs SASB Scores provides short-term, long-term, and momentum scores that are generated for 26 ESG categories defined by the Sustainability Accounting Standards Board. FactSet Truvalue also calculates a custom overall score called ALLCATEGORIES, can indicate data volume flow, and the Dynamic Materiality of that data flow. # noqa: E501
This method makes a synchronous HTTP request. Returns the http data only
Args:
ids ([str]): Security or Entity identifiers. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may exceed this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>*
Keyword Args:
score_types ([str]): The FactSet Truvalue Score types being requested. Score Types include the Pulse, Insight, Momentum, Article Volume, Category Volume, Dynamic Materiality Score, Adjusted Insight, and Industry Percentile. When left blank all score types will be returned for the requested Id. To specify select scores returned in the response, provide a comma-separated list of the scores using the description below. <p>These scores use the same underlying data and 100-point scale, except for ranks and percentiles. The cognitive computing system behind FactSet's Truvalue Platform uses natural language processing to interpret semantic content and generate analytics. It does so by applying criteria that are consistent with established sustainability and ESG frameworks, scoring data points on performance using a 0 to 100 scale. A score of 50 represents a neutral impact. Scores above 50 indicate positive performance, and scores below reflect negative performance.</p> ### ESG Score Types |**SASB Category Input**|**Description**| |---|---| |**PULSE**|*Pulse Score*, is a measure of near-term performance changes that highlights opportunities and controversies, enabling real-time monitoring of companies. It focuses on events of the day and provides a responsive signal to alert investors to dynamic moves.| |**INSIGHT**|*Insight Score*, a measure of a company’s longer-term ESG track record, similar to a ratings system. Scores are less sensitive to daily events and reflect the enduring performance record of a company over time. Scores are derived using an exponentially-weighted moving average of the Pulse, defined below, and the half-life of an event’s influence on the overall score is 6 months.| |**MOMENTUM**|*Momentum Score*, measures the trend of a company's Insight score. It is a unique ESG metric in the industry that gives investors a high-precision view of the trajectory of a company’s ESG performance, relative to peers. It does so by precisely articulating upward or downward movement, relative to that of all others in the universe, making it a measure that enhances quantitative workflows.| |**ART_VOL_TTM**|*Article Volume Score*, measures the information flow or number of articles about a company over the past 12 months.| |**CAT_VOL_TTM**|*Category Volume Score*, returns the total number of times any of the 26 categories received a score over a trailing twelve-month (TTM) period of time.| |**DYNAMIC_MAT**|*Dynamic Materiality Score*, shows the percentage value of data flow by category compared with the total data flow for the organization **(NOT VALID for `ALLCATEGORIES` and `MATERIALITY` category types).**| |**ADJ_INSIGHT**|*Adjusted Insight*, Measures company ESG performance, generating scores for lower-volume and zero-volume firms by blending company scores with industry medians. **(ONLY Vaild for `ALLCATEGORIES` and `MATERIALITY` categories). <p>**Adjusted Insight Score = (# of articles / 5) x Company Insight Score + ((5 - # of articles) / 5) x Industry (or Sector) Median Insight Score.</p>| |**IND_PCTL**|*Industry Percentile*, offers context on company Adjusted Insight scores relative to peers in the same SICS Industry. This value is used to establish the textual ESG Rank. **(ONLY Vaild for `ALLCATEGORIES` and `MATERIALITY` categories).**| ### Helper Input **ALL**= *Ability to fetch all of the \"scoreTypes\" listed above in a simplified query.* This is used by default and removes the need to explitly request each scoreType in the list. . [optional] if omitted the server will use the default value of ["ALL"]
categories ([str]): The SASB Categories requested for the respective scoreType(s). The default value is **ALLCATEGORIES**, which represents all 26 categories in a single overall score. To request a specifc category or list of categories, simply input the category names below. ### SASB Categories |**SASB Category Inputs**|**Description**| |---|---| |**ALLCATEGORIES**|**All Categories** - this category represents a company's overall SASB Score for the specific 'scoreType'. This value is equal to the cumulative average of all 26 SASB categories for the specific 'scoreType'.*Note that category is not available for the Dynamic Materiality 'scoreType'. |**ACCESSANDAFFORDABILITY**|**Access and Affordability** - The category addresses a company's ability to ensure broad access to its products and services, specifically in the context of underserved markets and/or population groups. It includes the management of issues related to universal needs, such as the accessibility and affordability of health care, financial services, utilities , education, and telecommunications.| |**AIRQUALITY**|**Air Quality** - the category addresses management of air quality impacts resulting from stationary (e.g., factories, power plants) and mobile sources (e.g., trucks, delivery vehicles, planes) as well as industrial emissions. Relevant airborne pollutants include, but are not limited to, oxides of nitrogen (NOx), oxides of sulfur (SOx), volatile organic compounds (VOCs), heavy metals, particulate matter, and chlorofluorocarbons. The category does not include GHG emissions, which are addressed in a separate category.| |**BUSINESSETHICS**|**Business Ethics** - the category addresses the company's approach to managing risks and opportunities surrounding ethical conduct of business, including fraud, corruption, bribery and facilitation payments, fiduciary responsibilities, and other behavior that may have an ethical component. This includes sensitivity to business norms and standards as they shift over time, jurisdiction, and culture. It addresses the company's ability to provide services that satisfy the highest professional and ethical standards of the industry, which means to avoid conflicts of interest, misrepresentation, bias, and negligence through training employees adequately and implementing policies and procedures to ensure employees provide services free from bias and error.| |**BUSMODELRESILIENCE**|**Business Model Resilience** - the category addresses an industry's capacity to manage risks and opportunities associated with incorporating social, environmental, and political transitions into long-term business model planning. This includes responsiveness to the transition to a low-carbon and climate-constrained economy, as well as growth and creation of new markets among unserved and underserved socioeconomic populations. The category highlights industries in which evolving environmental and social realities may challenge companies to fundamentally adapt or may put their business models at risk.| |**COMPETITIVEBEHAVIOR**|**Competitive Behavior** - the category covers social issues associated with existence of monopolies, which may include, but are not limited to, excessive prices, poor quality of service, and inefficiencies. It addresses a company's management of legal and social expectation around monopolistic and anti-competitive practices, including issues related to bargaining power, collusion, price fixing or manipulation, and protection of patents and intellectual property (IP).| |**CRITINCIDENTRISKMGT**|**Critical Incident Risk Management** - the category addresses the company's use of management systems and scenario planning to identify, understand, and prevent or minimize the occurrence of low-probability, high-impact accidents and emergencies with significant potential environmental and social externalities. It relates to the culture of safety at a company, its relevant safety management systems and technological controls, the potential human, environmental, and social implications of such events occurring, and the long-term effects to an organization, its workers, and society should these events occur.| |**CUSTOMERPRIVACY**|**Customer Privacy** - the category addresses management of risks related to the use of personally identifiable information (PII) and other customer or user data for secondary purposes including but not limited to marketing through affiliates and non-affiliates. The scope of the category includes social issues that may arise from a company's approach to collecting data, obtaining consent (e.g., opt-in policies), managing user and customer expectations regarding how their data is used, and managing evolving regulation. It excludes social issues arising from cybersecurity risks, which are covered in a separate category.| |**CUSTWELFARE**|**Customer Welfare** - the category addresses customer welfare concerns over issues including, but not limited to, health and nutrition of foods and beverages, antibiotic use in animal production, and management of controlled substances. The category addresses the company's ability to provide consumers with manufactured products and services that are aligned with societal expectations. It does not include issues directly related to quality and safety malfunctions of manufactured products and services, but instead addresses qualities inherent to the design and delivery of products and services where customer welfare may be in question. The scope of the category also captures companies' ability to prevent counterfeit products.| |**DATASECURITY**|**Data Security** - the category addresses management of risks related to collection, retention, and use of sensitive, confidential, and/or proprietary customer or user data. It includes social issues that may arise from incidents such as data breaches in which personally identifiable information (PII) and other user or customer data may be exposed. It addresses a company's strategy, policies, and practices related to IT infrastructure, staff training, record keeping, cooperation with law enforcement, and other mechanisms used to ensure security of customer or user data.| |**ECOLOGICALIMPACTS**|**Ecological Impacts** - the category addresses management of the company's impacts on ecosystems and biodiversity through activities including, but not limited to, land use for exploration, natural resource extraction, and cultivation, as well as project development, construction, and siting. The impacts include, but are not limited to, biodiversity loss, habitat destruction, and deforestation at all stages – planning, land acquisition, permitting, development, operations, and site remediation. The category does not cover impacts of climate change on ecosystems and biodiversity.| |**EMPENGDIVANDINC**|**Employee Engagement Diversity and Inclusion** - the category addresses a company's ability to ensure that its culture and hiring and promotion practices embrace the building of a diverse and inclusive workforce that reflects the makeup of local talent pools and its customer base. It addresses the issues of discriminatory practices on the bases of race, gender, ethnicity, religion, sexual orientation, and other factors.| |**EMPHEALTHANDSAFETY**|**Employee Health and Safety** - the category addresses a company's ability to create and maintain a safe and healthy workplace environment that is free of injuries, fatalities, and illness (both chronic and acute). It is traditionally accomplished through implementing safety management plans, developing training requirements for employees and contractors, and conducting regular audits of their own practices as well as those of their subcontractors. The category further captures how companies ensure physical and mental health of workforce through technology, training, corporate culture, regulatory compliance, monitoring and testing, and personal protective equipment.| |**ENERGYMGT**|**Energy Management** - the category addresses environmental impacts associated with energy consumption. It addresses the company's management of energy in manufacturing and/or for provision of products and services derived from utility providers (grid energy) not owned or controlled by the company. More specifically, it includes management of energy efficiency and intensity, energy mix, as well as grid reliance. Upstream (e.g., suppliers) and downstream (e.g., product use) energy use is not included in the scope.| |**GHGEMISSIONS**|**Greenhouse Gas Emissions** - the category addresses direct (Scope 1) greenhouse gas (GHG) emissions that a company generates through its operations. This includes GHG emissions from stationary (e.g., factories, power plants) and mobile sources (e.g., trucks, delivery vehicles, planes), whether a result of combustion of fuel or non-combusted direct releases during activities such as natural resource extraction, power generation, land use, or biogenic processes. The category further includes management of regulatory risks, environmental compliance, and reputational risks and opportunities, as they related to direct GHG emissions. The seven GHGs covered under the Kyoto Protocol are included within the category— carbon dioxide (CO2 ), methane (CH4), nitrous oxide (N2O), hydrofluorocarbons (HFCs), perfluorocarbons (PFCs), sulfur hexafluoride (SF6), and nitrogen trifluoride (NF3).| |**HUMANRIGHTSANDCOMRELS**|**Human Rights and Community Relations** - the category addresses management of the relationship between businesses and the communities in which they operate, including, but not limited to, management of direct and indirect impacts on core human rights and the treatment of indigenous peoples. More specifically, such management may cover socio-economic community impacts, community engagement, environmental justice, cultivation of local workforces, impact on local businesses, license to operate, and environmental/social impact assessments. The category does not include environmental impacts such as air pollution or waste which, although they may impact the health and safety of members of local communities, are addressed in separate categories.| |**LABORPRACTICES**|**Labor Practices** - the category addresses the company's ability to uphold commonly accepted labor standards in the workplace, including compliance with labor laws and internationally accepted norms and standards. This includes, but is not limited to, ensuring basic human rights related to child labor, forced or bonded labor, exploitative labor, fair wages and overtime pay, and other basic workers' rights. It also includes minimum wage policies and provision of benefits, which may influence how a workforce is attracted, retained, and motivated. The category further addresses a company's relationship with organized labor and freedom of association.| |**MGTOFLEGALANDREGENV**|**Management of the Legal and Regulatory Environment** - the category addresses a company's approach to engaging with regulators in cases where conflicting corporate and public interests may have the potential for long-term adverse direct or indirect environmental and social impacts. The category addresses a company's level of reliance upon regulatory policy or monetary incentives (such as subsidies and taxes), actions to influence industry policy (such as through lobbying), overall reliance on a favorable regulatory environment for business competitiveness, and ability to comply with relevant regulations. It may relate to the alignment of management and investor views of regulatory engagement and compliance at large.| |**MATSOURCINGANDEFF**|**Materials Sourcing and Efficiency** - the category addresses issues related to the resilience of materials supply chains to impacts of climate change and other external environmental and social factors. It captures the impacts of such external factors on operational activity of suppliers, which can further affect availability and pricing of key resources. It addresses a company's ability to manage these risks through product design, manufacturing, and end-of-life management, such as by using of recycled and renewable materials, reducing the use of key materials (dematerialization), maximizing resource efficiency in manufacturing, and making R&D investments in substitute materials. Additionally, companies can manage these issues by screening, selection, monitoring, and engagement with suppliers to ensure their resilience to external risks. It does not address issues associated with environmental and social externalities created by operational activity of individual suppliers, which is covered in a separate category.| |**MATERIALITY**|**Materiality** - this category represents a composite score of all 'material' SASB categories for the given entity. For more information on SASB's Materiality Map, visit [materiality.sasb.org](https://materiality.sasb.org/)| |**PHYIMPACTSOFCLIMATECHG**|**Physical Impacts of Climate Change** - the category addresses the company's ability to manage risks and opportunities associated with direct exposure of its owned or controlled assets and operations to actual or potential physical impacts of climate change. It captures environmental and social issues that may arise from operational disruptions due to physical impacts of climate change. It further captures socioeconomic issues resulting from companies failing to incorporate climate change consideration in products and services sold, such as insurance policies and mortgages. The category relates to the company's ability to adapt to increased frequency and severity of extreme weather, shifting climate, sea level risk, and other expected physical impacts of climate change. Management may involve enhancing resiliency of physical assets and/or surrounding infrastructure as well as incorporation of climate change-related considerations into key business activities (e.g., mortgage and insurance underwriting, planning and development of real estate projects).| |**PDANDLIFECYCLEMGT**|**Product Design and Lifecycle Management** - the category addresses incorporation of environmental, social, and governance (ESG) considerations in characteristics of products and services provided or sold by the company. It includes, but is not limited to, managing the lifecycle impacts of products and services, such as those related to packaging, distribution, use-phase resource intensity, and other environmental and social externalities that may occur during their use-phase or at the end of life. The category captures a company's ability to address customer and societal demand for more sustainable products and services as well as to meet evolving environmental and social regulation. It does not address direct environmental or social impacts of the company's operations nor does it address health and safety risks to consumers from product use, which are covered in other categories.| |**PRODQUALITYANDSFTY**|**Product Quality and Safety** - the category addresses issues involving unintended characteristics of products sold or services provided that may create health or safety risks to end-users. It addresses a company's ability to offer manufactured products and/or services that meet customer expectations with respect to their health and safety characteristics. It includes, but is not limited to, issues involving liability, management of recalls and market withdrawals, product testing, and chemicals/content/ ingredient management in products.| |**SELLPRACANDPRODLABEL**|**Selling Practices and Product Labeling** - the category addresses social issues that may arise from a failure to manage the transparency, accuracy, and comprehensibility of marketing statements, advertising, and labeling of products and services. It includes, but is not limited to, advertising standards and regulations, ethical and responsible marketing practices, misleading or deceptive labeling, as well as discriminatory or predatory selling and lending practices. This may include deceptive or aggressive selling practices in which incentive structures for employees could encourage the sale of products or services that are not in the best interest of customers or clients.| |**SUPPLYCHAINMGT**|**Supply Chain Management** - the category addresses management of environmental, social, and governance (ESG) risks within a company's supply chain. It addresses issues associated with environmental and social externalities created by suppliers through their operational activities. Such issues include, but are not limited to, environmental responsibility, human rights, labor practices, and ethics and corruption. Management may involve screening, selection, monitoring, and engagement with suppliers on their environmental and social impacts. The category does not address the impacts of external factors – such as climate change and other environmental and social factors – on suppliers' operations and/or on the availability and pricing of key resources, which is covered in a separate category.| |**SYSTEMICRISKMGT**|**Systemic Risk Management** - the category addresses the company's contributions to, or management of systemic risks resulting from large-scale weakening or collapse of systems upon which the economy and society depend. This includes financial systems, natural resource systems, and technological systems. It addresses the mechanisms a company has in place to reduce its contributions to systemic risks and to improve safeguards that may mitigate the impacts of systemic failure. For financial institutions, the category also captures the company's ability to absorb shocks arising from financial and economic stress and meet stricter regulatory requirements related to the complexity and interconnectedness of companies in the industry.| |**WASTEANDHZRDMATSMGT**|**Waste and Hazardous Materials Management** - the category addresses environmental issues associated with hazardous and non-hazardous waste generated by companies. It addresses a company's management of solid wastes in manufacturing, agriculture, and other industrial processes. It covers treatment, handling, storage, disposal, and regulatory compliance. The category does not cover emissions to air or wastewater, nor does it cover waste from end-of-life of products, which are addressed in separate categories.| |**WATERANDWASTEWATERMGT**|**Water and Wastewater Management** - the category addresses a company's water use, water consumption, wastewater generation, and other impacts of operations on water resources, which may be influenced by regional differences in the availability and quality of and competition for water resources. More specifically, it addresses management strategies including, but not limited to, water efficiency, intensity, and recycling. Lastly, the category also addresses management of wastewater treatment and discharge, including groundwater and aquifer pollution.| ### Helper Input **ALL** = Simply gives the ability to request all categories in a single request without having to explicitly list out all 26 in the request. *This is not the same as \"ALLCATEGORIES\" which is a single overall score for the company and returned as default.* . [optional] if omitted the server will use the default value of ["ALLCATEGORIES"]
start_date (str): The start date requested for a given date range in **YYYY-MM-DD** format. If left blank, the API will default to latest available completed period. . [optional]
end_date (str): The end date requested for a given date range in **YYYY-MM-DD** format. If left blank, the API will default to latest available completed period. . [optional]
frequency (str): Controls the display frequency of the data returned. * **D** = Daily * **W** = Weekly, based on the last day of the week of the start date. * **M** = Monthly, based on the last trading day of the month. * **CY** = Calendar Annual, based on the last trading day of the calendar year. . [optional] if omitted the server will use the default value of "D"
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): 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.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
SasbScoresResponse
Response Object
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=False)
kwargs['ids'] = \
ids
return self.get_sasb_scores_endpoint.call_with_http_info(**kwargs)
def get_sasb_scores_with_http_info(
self,
ids,
**kwargs
) -> typing.Tuple[SasbScoresResponse, int, typing.MutableMapping]:
"""Gets short-term, long-term, and momentum scores based on the 26 ESG categories defined by the Sustainability Accounting Standards Board (SASB). # noqa: E501
FactSet Truvalue Labs SASB Scores provides short-term, long-term, and momentum scores that are generated for 26 ESG categories defined by the Sustainability Accounting Standards Board. FactSet Truvalue also calculates a custom overall score called ALLCATEGORIES, can indicate data volume flow, and the Dynamic Materiality of that data flow. # noqa: E501
This method makes a synchronous HTTP request. Returns http data, http status and headers
Args:
ids ([str]): Security or Entity identifiers. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may exceed this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>*
Keyword Args:
score_types ([str]): The FactSet Truvalue Score types being requested. Score Types include the Pulse, Insight, Momentum, Article Volume, Category Volume, Dynamic Materiality Score, Adjusted Insight, and Industry Percentile. When left blank all score types will be returned for the requested Id. To specify select scores returned in the response, provide a comma-separated list of the scores using the description below. <p>These scores use the same underlying data and 100-point scale, except for ranks and percentiles. The cognitive computing system behind FactSet's Truvalue Platform uses natural language processing to interpret semantic content and generate analytics. It does so by applying criteria that are consistent with established sustainability and ESG frameworks, scoring data points on performance using a 0 to 100 scale. A score of 50 represents a neutral impact. Scores above 50 indicate positive performance, and scores below reflect negative performance.</p> ### ESG Score Types |**SASB Category Input**|**Description**| |---|---| |**PULSE**|*Pulse Score*, is a measure of near-term performance changes that highlights opportunities and controversies, enabling real-time monitoring of companies. It focuses on events of the day and provides a responsive signal to alert investors to dynamic moves.| |**INSIGHT**|*Insight Score*, a measure of a company’s longer-term ESG track record, similar to a ratings system. Scores are less sensitive to daily events and reflect the enduring performance record of a company over time. Scores are derived using an exponentially-weighted moving average of the Pulse, defined below, and the half-life of an event’s influence on the overall score is 6 months.| |**MOMENTUM**|*Momentum Score*, measures the trend of a company's Insight score. It is a unique ESG metric in the industry that gives investors a high-precision view of the trajectory of a company’s ESG performance, relative to peers. It does so by precisely articulating upward or downward movement, relative to that of all others in the universe, making it a measure that enhances quantitative workflows.| |**ART_VOL_TTM**|*Article Volume Score*, measures the information flow or number of articles about a company over the past 12 months.| |**CAT_VOL_TTM**|*Category Volume Score*, returns the total number of times any of the 26 categories received a score over a trailing twelve-month (TTM) period of time.| |**DYNAMIC_MAT**|*Dynamic Materiality Score*, shows the percentage value of data flow by category compared with the total data flow for the organization **(NOT VALID for `ALLCATEGORIES` and `MATERIALITY` category types).**| |**ADJ_INSIGHT**|*Adjusted Insight*, Measures company ESG performance, generating scores for lower-volume and zero-volume firms by blending company scores with industry medians. **(ONLY Vaild for `ALLCATEGORIES` and `MATERIALITY` categories). <p>**Adjusted Insight Score = (# of articles / 5) x Company Insight Score + ((5 - # of articles) / 5) x Industry (or Sector) Median Insight Score.</p>| |**IND_PCTL**|*Industry Percentile*, offers context on company Adjusted Insight scores relative to peers in the same SICS Industry. This value is used to establish the textual ESG Rank. **(ONLY Vaild for `ALLCATEGORIES` and `MATERIALITY` categories).**| ### Helper Input **ALL**= *Ability to fetch all of the \"scoreTypes\" listed above in a simplified query.* This is used by default and removes the need to explitly request each scoreType in the list. . [optional] if omitted the server will use the default value of ["ALL"]
categories ([str]): The SASB Categories requested for the respective scoreType(s). The default value is **ALLCATEGORIES**, which represents all 26 categories in a single overall score. To request a specifc category or list of categories, simply input the category names below. ### SASB Categories |**SASB Category Inputs**|**Description**| |---|---| |**ALLCATEGORIES**|**All Categories** - this category represents a company's overall SASB Score for the specific 'scoreType'. This value is equal to the cumulative average of all 26 SASB categories for the specific 'scoreType'.*Note that category is not available for the Dynamic Materiality 'scoreType'. |**ACCESSANDAFFORDABILITY**|**Access and Affordability** - The category addresses a company's ability to ensure broad access to its products and services, specifically in the context of underserved markets and/or population groups. It includes the management of issues related to universal needs, such as the accessibility and affordability of health care, financial services, utilities , education, and telecommunications.| |**AIRQUALITY**|**Air Quality** - the category addresses management of air quality impacts resulting from stationary (e.g., factories, power plants) and mobile sources (e.g., trucks, delivery vehicles, planes) as well as industrial emissions. Relevant airborne pollutants include, but are not limited to, oxides of nitrogen (NOx), oxides of sulfur (SOx), volatile organic compounds (VOCs), heavy metals, particulate matter, and chlorofluorocarbons. The category does not include GHG emissions, which are addressed in a separate category.| |**BUSINESSETHICS**|**Business Ethics** - the category addresses the company's approach to managing risks and opportunities surrounding ethical conduct of business, including fraud, corruption, bribery and facilitation payments, fiduciary responsibilities, and other behavior that may have an ethical component. This includes sensitivity to business norms and standards as they shift over time, jurisdiction, and culture. It addresses the company's ability to provide services that satisfy the highest professional and ethical standards of the industry, which means to avoid conflicts of interest, misrepresentation, bias, and negligence through training employees adequately and implementing policies and procedures to ensure employees provide services free from bias and error.| |**BUSMODELRESILIENCE**|**Business Model Resilience** - the category addresses an industry's capacity to manage risks and opportunities associated with incorporating social, environmental, and political transitions into long-term business model planning. This includes responsiveness to the transition to a low-carbon and climate-constrained economy, as well as growth and creation of new markets among unserved and underserved socioeconomic populations. The category highlights industries in which evolving environmental and social realities may challenge companies to fundamentally adapt or may put their business models at risk.| |**COMPETITIVEBEHAVIOR**|**Competitive Behavior** - the category covers social issues associated with existence of monopolies, which may include, but are not limited to, excessive prices, poor quality of service, and inefficiencies. It addresses a company's management of legal and social expectation around monopolistic and anti-competitive practices, including issues related to bargaining power, collusion, price fixing or manipulation, and protection of patents and intellectual property (IP).| |**CRITINCIDENTRISKMGT**|**Critical Incident Risk Management** - the category addresses the company's use of management systems and scenario planning to identify, understand, and prevent or minimize the occurrence of low-probability, high-impact accidents and emergencies with significant potential environmental and social externalities. It relates to the culture of safety at a company, its relevant safety management systems and technological controls, the potential human, environmental, and social implications of such events occurring, and the long-term effects to an organization, its workers, and society should these events occur.| |**CUSTOMERPRIVACY**|**Customer Privacy** - the category addresses management of risks related to the use of personally identifiable information (PII) and other customer or user data for secondary purposes including but not limited to marketing through affiliates and non-affiliates. The scope of the category includes social issues that may arise from a company's approach to collecting data, obtaining consent (e.g., opt-in policies), managing user and customer expectations regarding how their data is used, and managing evolving regulation. It excludes social issues arising from cybersecurity risks, which are covered in a separate category.| |**CUSTWELFARE**|**Customer Welfare** - the category addresses customer welfare concerns over issues including, but not limited to, health and nutrition of foods and beverages, antibiotic use in animal production, and management of controlled substances. The category addresses the company's ability to provide consumers with manufactured products and services that are aligned with societal expectations. It does not include issues directly related to quality and safety malfunctions of manufactured products and services, but instead addresses qualities inherent to the design and delivery of products and services where customer welfare may be in question. The scope of the category also captures companies' ability to prevent counterfeit products.| |**DATASECURITY**|**Data Security** - the category addresses management of risks related to collection, retention, and use of sensitive, confidential, and/or proprietary customer or user data. It includes social issues that may arise from incidents such as data breaches in which personally identifiable information (PII) and other user or customer data may be exposed. It addresses a company's strategy, policies, and practices related to IT infrastructure, staff training, record keeping, cooperation with law enforcement, and other mechanisms used to ensure security of customer or user data.| |**ECOLOGICALIMPACTS**|**Ecological Impacts** - the category addresses management of the company's impacts on ecosystems and biodiversity through activities including, but not limited to, land use for exploration, natural resource extraction, and cultivation, as well as project development, construction, and siting. The impacts include, but are not limited to, biodiversity loss, habitat destruction, and deforestation at all stages – planning, land acquisition, permitting, development, operations, and site remediation. The category does not cover impacts of climate change on ecosystems and biodiversity.| |**EMPENGDIVANDINC**|**Employee Engagement Diversity and Inclusion** - the category addresses a company's ability to ensure that its culture and hiring and promotion practices embrace the building of a diverse and inclusive workforce that reflects the makeup of local talent pools and its customer base. It addresses the issues of discriminatory practices on the bases of race, gender, ethnicity, religion, sexual orientation, and other factors.| |**EMPHEALTHANDSAFETY**|**Employee Health and Safety** - the category addresses a company's ability to create and maintain a safe and healthy workplace environment that is free of injuries, fatalities, and illness (both chronic and acute). It is traditionally accomplished through implementing safety management plans, developing training requirements for employees and contractors, and conducting regular audits of their own practices as well as those of their subcontractors. The category further captures how companies ensure physical and mental health of workforce through technology, training, corporate culture, regulatory compliance, monitoring and testing, and personal protective equipment.| |**ENERGYMGT**|**Energy Management** - the category addresses environmental impacts associated with energy consumption. It addresses the company's management of energy in manufacturing and/or for provision of products and services derived from utility providers (grid energy) not owned or controlled by the company. More specifically, it includes management of energy efficiency and intensity, energy mix, as well as grid reliance. Upstream (e.g., suppliers) and downstream (e.g., product use) energy use is not included in the scope.| |**GHGEMISSIONS**|**Greenhouse Gas Emissions** - the category addresses direct (Scope 1) greenhouse gas (GHG) emissions that a company generates through its operations. This includes GHG emissions from stationary (e.g., factories, power plants) and mobile sources (e.g., trucks, delivery vehicles, planes), whether a result of combustion of fuel or non-combusted direct releases during activities such as natural resource extraction, power generation, land use, or biogenic processes. The category further includes management of regulatory risks, environmental compliance, and reputational risks and opportunities, as they related to direct GHG emissions. The seven GHGs covered under the Kyoto Protocol are included within the category— carbon dioxide (CO2 ), methane (CH4), nitrous oxide (N2O), hydrofluorocarbons (HFCs), perfluorocarbons (PFCs), sulfur hexafluoride (SF6), and nitrogen trifluoride (NF3).| |**HUMANRIGHTSANDCOMRELS**|**Human Rights and Community Relations** - the category addresses management of the relationship between businesses and the communities in which they operate, including, but not limited to, management of direct and indirect impacts on core human rights and the treatment of indigenous peoples. More specifically, such management may cover socio-economic community impacts, community engagement, environmental justice, cultivation of local workforces, impact on local businesses, license to operate, and environmental/social impact assessments. The category does not include environmental impacts such as air pollution or waste which, although they may impact the health and safety of members of local communities, are addressed in separate categories.| |**LABORPRACTICES**|**Labor Practices** - the category addresses the company's ability to uphold commonly accepted labor standards in the workplace, including compliance with labor laws and internationally accepted norms and standards. This includes, but is not limited to, ensuring basic human rights related to child labor, forced or bonded labor, exploitative labor, fair wages and overtime pay, and other basic workers' rights. It also includes minimum wage policies and provision of benefits, which may influence how a workforce is attracted, retained, and motivated. The category further addresses a company's relationship with organized labor and freedom of association.| |**MGTOFLEGALANDREGENV**|**Management of the Legal and Regulatory Environment** - the category addresses a company's approach to engaging with regulators in cases where conflicting corporate and public interests may have the potential for long-term adverse direct or indirect environmental and social impacts. The category addresses a company's level of reliance upon regulatory policy or monetary incentives (such as subsidies and taxes), actions to influence industry policy (such as through lobbying), overall reliance on a favorable regulatory environment for business competitiveness, and ability to comply with relevant regulations. It may relate to the alignment of management and investor views of regulatory engagement and compliance at large.| |**MATSOURCINGANDEFF**|**Materials Sourcing and Efficiency** - the category addresses issues related to the resilience of materials supply chains to impacts of climate change and other external environmental and social factors. It captures the impacts of such external factors on operational activity of suppliers, which can further affect availability and pricing of key resources. It addresses a company's ability to manage these risks through product design, manufacturing, and end-of-life management, such as by using of recycled and renewable materials, reducing the use of key materials (dematerialization), maximizing resource efficiency in manufacturing, and making R&D investments in substitute materials. Additionally, companies can manage these issues by screening, selection, monitoring, and engagement with suppliers to ensure their resilience to external risks. It does not address issues associated with environmental and social externalities created by operational activity of individual suppliers, which is covered in a separate category.| |**MATERIALITY**|**Materiality** - this category represents a composite score of all 'material' SASB categories for the given entity. For more information on SASB's Materiality Map, visit [materiality.sasb.org](https://materiality.sasb.org/)| |**PHYIMPACTSOFCLIMATECHG**|**Physical Impacts of Climate Change** - the category addresses the company's ability to manage risks and opportunities associated with direct exposure of its owned or controlled assets and operations to actual or potential physical impacts of climate change. It captures environmental and social issues that may arise from operational disruptions due to physical impacts of climate change. It further captures socioeconomic issues resulting from companies failing to incorporate climate change consideration in products and services sold, such as insurance policies and mortgages. The category relates to the company's ability to adapt to increased frequency and severity of extreme weather, shifting climate, sea level risk, and other expected physical impacts of climate change. Management may involve enhancing resiliency of physical assets and/or surrounding infrastructure as well as incorporation of climate change-related considerations into key business activities (e.g., mortgage and insurance underwriting, planning and development of real estate projects).| |**PDANDLIFECYCLEMGT**|**Product Design and Lifecycle Management** - the category addresses incorporation of environmental, social, and governance (ESG) considerations in characteristics of products and services provided or sold by the company. It includes, but is not limited to, managing the lifecycle impacts of products and services, such as those related to packaging, distribution, use-phase resource intensity, and other environmental and social externalities that may occur during their use-phase or at the end of life. The category captures a company's ability to address customer and societal demand for more sustainable products and services as well as to meet evolving environmental and social regulation. It does not address direct environmental or social impacts of the company's operations nor does it address health and safety risks to consumers from product use, which are covered in other categories.| |**PRODQUALITYANDSFTY**|**Product Quality and Safety** - the category addresses issues involving unintended characteristics of products sold or services provided that may create health or safety risks to end-users. It addresses a company's ability to offer manufactured products and/or services that meet customer expectations with respect to their health and safety characteristics. It includes, but is not limited to, issues involving liability, management of recalls and market withdrawals, product testing, and chemicals/content/ ingredient management in products.| |**SELLPRACANDPRODLABEL**|**Selling Practices and Product Labeling** - the category addresses social issues that may arise from a failure to manage the transparency, accuracy, and comprehensibility of marketing statements, advertising, and labeling of products and services. It includes, but is not limited to, advertising standards and regulations, ethical and responsible marketing practices, misleading or deceptive labeling, as well as discriminatory or predatory selling and lending practices. This may include deceptive or aggressive selling practices in which incentive structures for employees could encourage the sale of products or services that are not in the best interest of customers or clients.| |**SUPPLYCHAINMGT**|**Supply Chain Management** - the category addresses management of environmental, social, and governance (ESG) risks within a company's supply chain. It addresses issues associated with environmental and social externalities created by suppliers through their operational activities. Such issues include, but are not limited to, environmental responsibility, human rights, labor practices, and ethics and corruption. Management may involve screening, selection, monitoring, and engagement with suppliers on their environmental and social impacts. The category does not address the impacts of external factors – such as climate change and other environmental and social factors – on suppliers' operations and/or on the availability and pricing of key resources, which is covered in a separate category.| |**SYSTEMICRISKMGT**|**Systemic Risk Management** - the category addresses the company's contributions to, or management of systemic risks resulting from large-scale weakening or collapse of systems upon which the economy and society depend. This includes financial systems, natural resource systems, and technological systems. It addresses the mechanisms a company has in place to reduce its contributions to systemic risks and to improve safeguards that may mitigate the impacts of systemic failure. For financial institutions, the category also captures the company's ability to absorb shocks arising from financial and economic stress and meet stricter regulatory requirements related to the complexity and interconnectedness of companies in the industry.| |**WASTEANDHZRDMATSMGT**|**Waste and Hazardous Materials Management** - the category addresses environmental issues associated with hazardous and non-hazardous waste generated by companies. It addresses a company's management of solid wastes in manufacturing, agriculture, and other industrial processes. It covers treatment, handling, storage, disposal, and regulatory compliance. The category does not cover emissions to air or wastewater, nor does it cover waste from end-of-life of products, which are addressed in separate categories.| |**WATERANDWASTEWATERMGT**|**Water and Wastewater Management** - the category addresses a company's water use, water consumption, wastewater generation, and other impacts of operations on water resources, which may be influenced by regional differences in the availability and quality of and competition for water resources. More specifically, it addresses management strategies including, but not limited to, water efficiency, intensity, and recycling. Lastly, the category also addresses management of wastewater treatment and discharge, including groundwater and aquifer pollution.| ### Helper Input **ALL** = Simply gives the ability to request all categories in a single request without having to explicitly list out all 26 in the request. *This is not the same as \"ALLCATEGORIES\" which is a single overall score for the company and returned as default.* . [optional] if omitted the server will use the default value of ["ALLCATEGORIES"]
start_date (str): The start date requested for a given date range in **YYYY-MM-DD** format. If left blank, the API will default to latest available completed period. . [optional]
end_date (str): The end date requested for a given date range in **YYYY-MM-DD** format. If left blank, the API will default to latest available completed period. . [optional]
frequency (str): Controls the display frequency of the data returned. * **D** = Daily * **W** = Weekly, based on the last day of the week of the start date. * **M** = Monthly, based on the last trading day of the month. * **CY** = Calendar Annual, based on the last trading day of the calendar year. . [optional] if omitted the server will use the default value of "D"
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): 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.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
SasbScoresResponse
Response Object
int
Http Status Code
dict
Dictionary of the response headers
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=False)
kwargs['ids'] = \
ids
return self.get_sasb_scores_endpoint.call_with_http_info(**kwargs)
def get_sasb_scores_async(
self,
ids,
**kwargs
) -> "ApplyResult[SasbScoresResponse]":
"""Gets short-term, long-term, and momentum scores based on the 26 ESG categories defined by the Sustainability Accounting Standards Board (SASB). # noqa: E501
FactSet Truvalue Labs SASB Scores provides short-term, long-term, and momentum scores that are generated for 26 ESG categories defined by the Sustainability Accounting Standards Board. FactSet Truvalue also calculates a custom overall score called ALLCATEGORIES, can indicate data volume flow, and the Dynamic Materiality of that data flow. # noqa: E501
This method makes a asynchronous HTTP request. Returns the http data, wrapped in ApplyResult
Args:
ids ([str]): Security or Entity identifiers. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may exceed this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>*
Keyword Args:
score_types ([str]): The FactSet Truvalue Score types being requested. Score Types include the Pulse, Insight, Momentum, Article Volume, Category Volume, Dynamic Materiality Score, Adjusted Insight, and Industry Percentile. When left blank all score types will be returned for the requested Id. To specify select scores returned in the response, provide a comma-separated list of the scores using the description below. <p>These scores use the same underlying data and 100-point scale, except for ranks and percentiles. The cognitive computing system behind FactSet's Truvalue Platform uses natural language processing to interpret semantic content and generate analytics. It does so by applying criteria that are consistent with established sustainability and ESG frameworks, scoring data points on performance using a 0 to 100 scale. A score of 50 represents a neutral impact. Scores above 50 indicate positive performance, and scores below reflect negative performance.</p> ### ESG Score Types |**SASB Category Input**|**Description**| |---|---| |**PULSE**|*Pulse Score*, is a measure of near-term performance changes that highlights opportunities and controversies, enabling real-time monitoring of companies. It focuses on events of the day and provides a responsive signal to alert investors to dynamic moves.| |**INSIGHT**|*Insight Score*, a measure of a company’s longer-term ESG track record, similar to a ratings system. Scores are less sensitive to daily events and reflect the enduring performance record of a company over time. Scores are derived using an exponentially-weighted moving average of the Pulse, defined below, and the half-life of an event’s influence on the overall score is 6 months.| |**MOMENTUM**|*Momentum Score*, measures the trend of a company's Insight score. It is a unique ESG metric in the industry that gives investors a high-precision view of the trajectory of a company’s ESG performance, relative to peers. It does so by precisely articulating upward or downward movement, relative to that of all others in the universe, making it a measure that enhances quantitative workflows.| |**ART_VOL_TTM**|*Article Volume Score*, measures the information flow or number of articles about a company over the past 12 months.| |**CAT_VOL_TTM**|*Category Volume Score*, returns the total number of times any of the 26 categories received a score over a trailing twelve-month (TTM) period of time.| |**DYNAMIC_MAT**|*Dynamic Materiality Score*, shows the percentage value of data flow by category compared with the total data flow for the organization **(NOT VALID for `ALLCATEGORIES` and `MATERIALITY` category types).**| |**ADJ_INSIGHT**|*Adjusted Insight*, Measures company ESG performance, generating scores for lower-volume and zero-volume firms by blending company scores with industry medians. **(ONLY Vaild for `ALLCATEGORIES` and `MATERIALITY` categories). <p>**Adjusted Insight Score = (# of articles / 5) x Company Insight Score + ((5 - # of articles) / 5) x Industry (or Sector) Median Insight Score.</p>| |**IND_PCTL**|*Industry Percentile*, offers context on company Adjusted Insight scores relative to peers in the same SICS Industry. This value is used to establish the textual ESG Rank. **(ONLY Vaild for `ALLCATEGORIES` and `MATERIALITY` categories).**| ### Helper Input **ALL**= *Ability to fetch all of the \"scoreTypes\" listed above in a simplified query.* This is used by default and removes the need to explitly request each scoreType in the list. . [optional] if omitted the server will use the default value of ["ALL"]
categories ([str]): The SASB Categories requested for the respective scoreType(s). The default value is **ALLCATEGORIES**, which represents all 26 categories in a single overall score. To request a specifc category or list of categories, simply input the category names below. ### SASB Categories |**SASB Category Inputs**|**Description**| |---|---| |**ALLCATEGORIES**|**All Categories** - this category represents a company's overall SASB Score for the specific 'scoreType'. This value is equal to the cumulative average of all 26 SASB categories for the specific 'scoreType'.*Note that category is not available for the Dynamic Materiality 'scoreType'. |**ACCESSANDAFFORDABILITY**|**Access and Affordability** - The category addresses a company's ability to ensure broad access to its products and services, specifically in the context of underserved markets and/or population groups. It includes the management of issues related to universal needs, such as the accessibility and affordability of health care, financial services, utilities , education, and telecommunications.| |**AIRQUALITY**|**Air Quality** - the category addresses management of air quality impacts resulting from stationary (e.g., factories, power plants) and mobile sources (e.g., trucks, delivery vehicles, planes) as well as industrial emissions. Relevant airborne pollutants include, but are not limited to, oxides of nitrogen (NOx), oxides of sulfur (SOx), volatile organic compounds (VOCs), heavy metals, particulate matter, and chlorofluorocarbons. The category does not include GHG emissions, which are addressed in a separate category.| |**BUSINESSETHICS**|**Business Ethics** - the category addresses the company's approach to managing risks and opportunities surrounding ethical conduct of business, including fraud, corruption, bribery and facilitation payments, fiduciary responsibilities, and other behavior that may have an ethical component. This includes sensitivity to business norms and standards as they shift over time, jurisdiction, and culture. It addresses the company's ability to provide services that satisfy the highest professional and ethical standards of the industry, which means to avoid conflicts of interest, misrepresentation, bias, and negligence through training employees adequately and implementing policies and procedures to ensure employees provide services free from bias and error.| |**BUSMODELRESILIENCE**|**Business Model Resilience** - the category addresses an industry's capacity to manage risks and opportunities associated with incorporating social, environmental, and political transitions into long-term business model planning. This includes responsiveness to the transition to a low-carbon and climate-constrained economy, as well as growth and creation of new markets among unserved and underserved socioeconomic populations. The category highlights industries in which evolving environmental and social realities may challenge companies to fundamentally adapt or may put their business models at risk.| |**COMPETITIVEBEHAVIOR**|**Competitive Behavior** - the category covers social issues associated with existence of monopolies, which may include, but are not limited to, excessive prices, poor quality of service, and inefficiencies. It addresses a company's management of legal and social expectation around monopolistic and anti-competitive practices, including issues related to bargaining power, collusion, price fixing or manipulation, and protection of patents and intellectual property (IP).| |**CRITINCIDENTRISKMGT**|**Critical Incident Risk Management** - the category addresses the company's use of management systems and scenario planning to identify, understand, and prevent or minimize the occurrence of low-probability, high-impact accidents and emergencies with significant potential environmental and social externalities. It relates to the culture of safety at a company, its relevant safety management systems and technological controls, the potential human, environmental, and social implications of such events occurring, and the long-term effects to an organization, its workers, and society should these events occur.| |**CUSTOMERPRIVACY**|**Customer Privacy** - the category addresses management of risks related to the use of personally identifiable information (PII) and other customer or user data for secondary purposes including but not limited to marketing through affiliates and non-affiliates. The scope of the category includes social issues that may arise from a company's approach to collecting data, obtaining consent (e.g., opt-in policies), managing user and customer expectations regarding how their data is used, and managing evolving regulation. It excludes social issues arising from cybersecurity risks, which are covered in a separate category.| |**CUSTWELFARE**|**Customer Welfare** - the category addresses customer welfare concerns over issues including, but not limited to, health and nutrition of foods and beverages, antibiotic use in animal production, and management of controlled substances. The category addresses the company's ability to provide consumers with manufactured products and services that are aligned with societal expectations. It does not include issues directly related to quality and safety malfunctions of manufactured products and services, but instead addresses qualities inherent to the design and delivery of products and services where customer welfare may be in question. The scope of the category also captures companies' ability to prevent counterfeit products.| |**DATASECURITY**|**Data Security** - the category addresses management of risks related to collection, retention, and use of sensitive, confidential, and/or proprietary customer or user data. It includes social issues that may arise from incidents such as data breaches in which personally identifiable information (PII) and other user or customer data may be exposed. It addresses a company's strategy, policies, and practices related to IT infrastructure, staff training, record keeping, cooperation with law enforcement, and other mechanisms used to ensure security of customer or user data.| |**ECOLOGICALIMPACTS**|**Ecological Impacts** - the category addresses management of the company's impacts on ecosystems and biodiversity through activities including, but not limited to, land use for exploration, natural resource extraction, and cultivation, as well as project development, construction, and siting. The impacts include, but are not limited to, biodiversity loss, habitat destruction, and deforestation at all stages – planning, land acquisition, permitting, development, operations, and site remediation. The category does not cover impacts of climate change on ecosystems and biodiversity.| |**EMPENGDIVANDINC**|**Employee Engagement Diversity and Inclusion** - the category addresses a company's ability to ensure that its culture and hiring and promotion practices embrace the building of a diverse and inclusive workforce that reflects the makeup of local talent pools and its customer base. It addresses the issues of discriminatory practices on the bases of race, gender, ethnicity, religion, sexual orientation, and other factors.| |**EMPHEALTHANDSAFETY**|**Employee Health and Safety** - the category addresses a company's ability to create and maintain a safe and healthy workplace environment that is free of injuries, fatalities, and illness (both chronic and acute). It is traditionally accomplished through implementing safety management plans, developing training requirements for employees and contractors, and conducting regular audits of their own practices as well as those of their subcontractors. The category further captures how companies ensure physical and mental health of workforce through technology, training, corporate culture, regulatory compliance, monitoring and testing, and personal protective equipment.| |**ENERGYMGT**|**Energy Management** - the category addresses environmental impacts associated with energy consumption. It addresses the company's management of energy in manufacturing and/or for provision of products and services derived from utility providers (grid energy) not owned or controlled by the company. More specifically, it includes management of energy efficiency and intensity, energy mix, as well as grid reliance. Upstream (e.g., suppliers) and downstream (e.g., product use) energy use is not included in the scope.| |**GHGEMISSIONS**|**Greenhouse Gas Emissions** - the category addresses direct (Scope 1) greenhouse gas (GHG) emissions that a company generates through its operations. This includes GHG emissions from stationary (e.g., factories, power plants) and mobile sources (e.g., trucks, delivery vehicles, planes), whether a result of combustion of fuel or non-combusted direct releases during activities such as natural resource extraction, power generation, land use, or biogenic processes. The category further includes management of regulatory risks, environmental compliance, and reputational risks and opportunities, as they related to direct GHG emissions. The seven GHGs covered under the Kyoto Protocol are included within the category— carbon dioxide (CO2 ), methane (CH4), nitrous oxide (N2O), hydrofluorocarbons (HFCs), perfluorocarbons (PFCs), sulfur hexafluoride (SF6), and nitrogen trifluoride (NF3).| |**HUMANRIGHTSANDCOMRELS**|**Human Rights and Community Relations** - the category addresses management of the relationship between businesses and the communities in which they operate, including, but not limited to, management of direct and indirect impacts on core human rights and the treatment of indigenous peoples. More specifically, such management may cover socio-economic community impacts, community engagement, environmental justice, cultivation of local workforces, impact on local businesses, license to operate, and environmental/social impact assessments. The category does not include environmental impacts such as air pollution or waste which, although they may impact the health and safety of members of local communities, are addressed in separate categories.| |**LABORPRACTICES**|**Labor Practices** - the category addresses the company's ability to uphold commonly accepted labor standards in the workplace, including compliance with labor laws and internationally accepted norms and standards. This includes, but is not limited to, ensuring basic human rights related to child labor, forced or bonded labor, exploitative labor, fair wages and overtime pay, and other basic workers' rights. It also includes minimum wage policies and provision of benefits, which may influence how a workforce is attracted, retained, and motivated. The category further addresses a company's relationship with organized labor and freedom of association.| |**MGTOFLEGALANDREGENV**|**Management of the Legal and Regulatory Environment** - the category addresses a company's approach to engaging with regulators in cases where conflicting corporate and public interests may have the potential for long-term adverse direct or indirect environmental and social impacts. The category addresses a company's level of reliance upon regulatory policy or monetary incentives (such as subsidies and taxes), actions to influence industry policy (such as through lobbying), overall reliance on a favorable regulatory environment for business competitiveness, and ability to comply with relevant regulations. It may relate to the alignment of management and investor views of regulatory engagement and compliance at large.| |**MATSOURCINGANDEFF**|**Materials Sourcing and Efficiency** - the category addresses issues related to the resilience of materials supply chains to impacts of climate change and other external environmental and social factors. It captures the impacts of such external factors on operational activity of suppliers, which can further affect availability and pricing of key resources. It addresses a company's ability to manage these risks through product design, manufacturing, and end-of-life management, such as by using of recycled and renewable materials, reducing the use of key materials (dematerialization), maximizing resource efficiency in manufacturing, and making R&D investments in substitute materials. Additionally, companies can manage these issues by screening, selection, monitoring, and engagement with suppliers to ensure their resilience to external risks. It does not address issues associated with environmental and social externalities created by operational activity of individual suppliers, which is covered in a separate category.| |**MATERIALITY**|**Materiality** - this category represents a composite score of all 'material' SASB categories for the given entity. For more information on SASB's Materiality Map, visit [materiality.sasb.org](https://materiality.sasb.org/)| |**PHYIMPACTSOFCLIMATECHG**|**Physical Impacts of Climate Change** - the category addresses the company's ability to manage risks and opportunities associated with direct exposure of its owned or controlled assets and operations to actual or potential physical impacts of climate change. It captures environmental and social issues that may arise from operational disruptions due to physical impacts of climate change. It further captures socioeconomic issues resulting from companies failing to incorporate climate change consideration in products and services sold, such as insurance policies and mortgages. The category relates to the company's ability to adapt to increased frequency and severity of extreme weather, shifting climate, sea level risk, and other expected physical impacts of climate change. Management may involve enhancing resiliency of physical assets and/or surrounding infrastructure as well as incorporation of climate change-related considerations into key business activities (e.g., mortgage and insurance underwriting, planning and development of real estate projects).| |**PDANDLIFECYCLEMGT**|**Product Design and Lifecycle Management** - the category addresses incorporation of environmental, social, and governance (ESG) considerations in characteristics of products and services provided or sold by the company. It includes, but is not limited to, managing the lifecycle impacts of products and services, such as those related to packaging, distribution, use-phase resource intensity, and other environmental and social externalities that may occur during their use-phase or at the end of life. The category captures a company's ability to address customer and societal demand for more sustainable products and services as well as to meet evolving environmental and social regulation. It does not address direct environmental or social impacts of the company's operations nor does it address health and safety risks to consumers from product use, which are covered in other categories.| |**PRODQUALITYANDSFTY**|**Product Quality and Safety** - the category addresses issues involving unintended characteristics of products sold or services provided that may create health or safety risks to end-users. It addresses a company's ability to offer manufactured products and/or services that meet customer expectations with respect to their health and safety characteristics. It includes, but is not limited to, issues involving liability, management of recalls and market withdrawals, product testing, and chemicals/content/ ingredient management in products.| |**SELLPRACANDPRODLABEL**|**Selling Practices and Product Labeling** - the category addresses social issues that may arise from a failure to manage the transparency, accuracy, and comprehensibility of marketing statements, advertising, and labeling of products and services. It includes, but is not limited to, advertising standards and regulations, ethical and responsible marketing practices, misleading or deceptive labeling, as well as discriminatory or predatory selling and lending practices. This may include deceptive or aggressive selling practices in which incentive structures for employees could encourage the sale of products or services that are not in the best interest of customers or clients.| |**SUPPLYCHAINMGT**|**Supply Chain Management** - the category addresses management of environmental, social, and governance (ESG) risks within a company's supply chain. It addresses issues associated with environmental and social externalities created by suppliers through their operational activities. Such issues include, but are not limited to, environmental responsibility, human rights, labor practices, and ethics and corruption. Management may involve screening, selection, monitoring, and engagement with suppliers on their environmental and social impacts. The category does not address the impacts of external factors – such as climate change and other environmental and social factors – on suppliers' operations and/or on the availability and pricing of key resources, which is covered in a separate category.| |**SYSTEMICRISKMGT**|**Systemic Risk Management** - the category addresses the company's contributions to, or management of systemic risks resulting from large-scale weakening or collapse of systems upon which the economy and society depend. This includes financial systems, natural resource systems, and technological systems. It addresses the mechanisms a company has in place to reduce its contributions to systemic risks and to improve safeguards that may mitigate the impacts of systemic failure. For financial institutions, the category also captures the company's ability to absorb shocks arising from financial and economic stress and meet stricter regulatory requirements related to the complexity and interconnectedness of companies in the industry.| |**WASTEANDHZRDMATSMGT**|**Waste and Hazardous Materials Management** - the category addresses environmental issues associated with hazardous and non-hazardous waste generated by companies. It addresses a company's management of solid wastes in manufacturing, agriculture, and other industrial processes. It covers treatment, handling, storage, disposal, and regulatory compliance. The category does not cover emissions to air or wastewater, nor does it cover waste from end-of-life of products, which are addressed in separate categories.| |**WATERANDWASTEWATERMGT**|**Water and Wastewater Management** - the category addresses a company's water use, water consumption, wastewater generation, and other impacts of operations on water resources, which may be influenced by regional differences in the availability and quality of and competition for water resources. More specifically, it addresses management strategies including, but not limited to, water efficiency, intensity, and recycling. Lastly, the category also addresses management of wastewater treatment and discharge, including groundwater and aquifer pollution.| ### Helper Input **ALL** = Simply gives the ability to request all categories in a single request without having to explicitly list out all 26 in the request. *This is not the same as \"ALLCATEGORIES\" which is a single overall score for the company and returned as default.* . [optional] if omitted the server will use the default value of ["ALLCATEGORIES"]
start_date (str): The start date requested for a given date range in **YYYY-MM-DD** format. If left blank, the API will default to latest available completed period. . [optional]
end_date (str): The end date requested for a given date range in **YYYY-MM-DD** format. If left blank, the API will default to latest available completed period. . [optional]
frequency (str): Controls the display frequency of the data returned. * **D** = Daily * **W** = Weekly, based on the last day of the week of the start date. * **M** = Monthly, based on the last trading day of the month. * **CY** = Calendar Annual, based on the last trading day of the calendar year. . [optional] if omitted the server will use the default value of "D"
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): 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.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ApplyResult[SasbScoresResponse]
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=True)
kwargs['ids'] = \
ids
return self.get_sasb_scores_endpoint.call_with_http_info(**kwargs)
def get_sasb_scores_with_http_info_async(
self,
ids,
**kwargs
) -> "ApplyResult[typing.Tuple[SasbScoresResponse, int, typing.MutableMapping]]":
"""Gets short-term, long-term, and momentum scores based on the 26 ESG categories defined by the Sustainability Accounting Standards Board (SASB). # noqa: E501
FactSet Truvalue Labs SASB Scores provides short-term, long-term, and momentum scores that are generated for 26 ESG categories defined by the Sustainability Accounting Standards Board. FactSet Truvalue also calculates a custom overall score called ALLCATEGORIES, can indicate data volume flow, and the Dynamic Materiality of that data flow. # noqa: E501
This method makes a asynchronous HTTP request. Returns http data, http status and headers, wrapped in ApplyResult
Args:
ids ([str]): Security or Entity identifiers. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may exceed this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>*
Keyword Args:
score_types ([str]): The FactSet Truvalue Score types being requested. Score Types include the Pulse, Insight, Momentum, Article Volume, Category Volume, Dynamic Materiality Score, Adjusted Insight, and Industry Percentile. When left blank all score types will be returned for the requested Id. To specify select scores returned in the response, provide a comma-separated list of the scores using the description below. <p>These scores use the same underlying data and 100-point scale, except for ranks and percentiles. The cognitive computing system behind FactSet's Truvalue Platform uses natural language processing to interpret semantic content and generate analytics. It does so by applying criteria that are consistent with established sustainability and ESG frameworks, scoring data points on performance using a 0 to 100 scale. A score of 50 represents a neutral impact. Scores above 50 indicate positive performance, and scores below reflect negative performance.</p> ### ESG Score Types |**SASB Category Input**|**Description**| |---|---| |**PULSE**|*Pulse Score*, is a measure of near-term performance changes that highlights opportunities and controversies, enabling real-time monitoring of companies. It focuses on events of the day and provides a responsive signal to alert investors to dynamic moves.| |**INSIGHT**|*Insight Score*, a measure of a company’s longer-term ESG track record, similar to a ratings system. Scores are less sensitive to daily events and reflect the enduring performance record of a company over time. Scores are derived using an exponentially-weighted moving average of the Pulse, defined below, and the half-life of an event’s influence on the overall score is 6 months.| |**MOMENTUM**|*Momentum Score*, measures the trend of a company's Insight score. It is a unique ESG metric in the industry that gives investors a high-precision view of the trajectory of a company’s ESG performance, relative to peers. It does so by precisely articulating upward or downward movement, relative to that of all others in the universe, making it a measure that enhances quantitative workflows.| |**ART_VOL_TTM**|*Article Volume Score*, measures the information flow or number of articles about a company over the past 12 months.| |**CAT_VOL_TTM**|*Category Volume Score*, returns the total number of times any of the 26 categories received a score over a trailing twelve-month (TTM) period of time.| |**DYNAMIC_MAT**|*Dynamic Materiality Score*, shows the percentage value of data flow by category compared with the total data flow for the organization **(NOT VALID for `ALLCATEGORIES` and `MATERIALITY` category types).**| |**ADJ_INSIGHT**|*Adjusted Insight*, Measures company ESG performance, generating scores for lower-volume and zero-volume firms by blending company scores with industry medians. **(ONLY Vaild for `ALLCATEGORIES` and `MATERIALITY` categories). <p>**Adjusted Insight Score = (# of articles / 5) x Company Insight Score + ((5 - # of articles) / 5) x Industry (or Sector) Median Insight Score.</p>| |**IND_PCTL**|*Industry Percentile*, offers context on company Adjusted Insight scores relative to peers in the same SICS Industry. This value is used to establish the textual ESG Rank. **(ONLY Vaild for `ALLCATEGORIES` and `MATERIALITY` categories).**| ### Helper Input **ALL**= *Ability to fetch all of the \"scoreTypes\" listed above in a simplified query.* This is used by default and removes the need to explitly request each scoreType in the list. . [optional] if omitted the server will use the default value of ["ALL"]
categories ([str]): The SASB Categories requested for the respective scoreType(s). The default value is **ALLCATEGORIES**, which represents all 26 categories in a single overall score. To request a specifc category or list of categories, simply input the category names below. ### SASB Categories |**SASB Category Inputs**|**Description**| |---|---| |**ALLCATEGORIES**|**All Categories** - this category represents a company's overall SASB Score for the specific 'scoreType'. This value is equal to the cumulative average of all 26 SASB categories for the specific 'scoreType'.*Note that category is not available for the Dynamic Materiality 'scoreType'. |**ACCESSANDAFFORDABILITY**|**Access and Affordability** - The category addresses a company's ability to ensure broad access to its products and services, specifically in the context of underserved markets and/or population groups. It includes the management of issues related to universal needs, such as the accessibility and affordability of health care, financial services, utilities , education, and telecommunications.| |**AIRQUALITY**|**Air Quality** - the category addresses management of air quality impacts resulting from stationary (e.g., factories, power plants) and mobile sources (e.g., trucks, delivery vehicles, planes) as well as industrial emissions. Relevant airborne pollutants include, but are not limited to, oxides of nitrogen (NOx), oxides of sulfur (SOx), volatile organic compounds (VOCs), heavy metals, particulate matter, and chlorofluorocarbons. The category does not include GHG emissions, which are addressed in a separate category.| |**BUSINESSETHICS**|**Business Ethics** - the category addresses the company's approach to managing risks and opportunities surrounding ethical conduct of business, including fraud, corruption, bribery and facilitation payments, fiduciary responsibilities, and other behavior that may have an ethical component. This includes sensitivity to business norms and standards as they shift over time, jurisdiction, and culture. It addresses the company's ability to provide services that satisfy the highest professional and ethical standards of the industry, which means to avoid conflicts of interest, misrepresentation, bias, and negligence through training employees adequately and implementing policies and procedures to ensure employees provide services free from bias and error.| |**BUSMODELRESILIENCE**|**Business Model Resilience** - the category addresses an industry's capacity to manage risks and opportunities associated with incorporating social, environmental, and political transitions into long-term business model planning. This includes responsiveness to the transition to a low-carbon and climate-constrained economy, as well as growth and creation of new markets among unserved and underserved socioeconomic populations. The category highlights industries in which evolving environmental and social realities may challenge companies to fundamentally adapt or may put their business models at risk.| |**COMPETITIVEBEHAVIOR**|**Competitive Behavior** - the category covers social issues associated with existence of monopolies, which may include, but are not limited to, excessive prices, poor quality of service, and inefficiencies. It addresses a company's management of legal and social expectation around monopolistic and anti-competitive practices, including issues related to bargaining power, collusion, price fixing or manipulation, and protection of patents and intellectual property (IP).| |**CRITINCIDENTRISKMGT**|**Critical Incident Risk Management** - the category addresses the company's use of management systems and scenario planning to identify, understand, and prevent or minimize the occurrence of low-probability, high-impact accidents and emergencies with significant potential environmental and social externalities. It relates to the culture of safety at a company, its relevant safety management systems and technological controls, the potential human, environmental, and social implications of such events occurring, and the long-term effects to an organization, its workers, and society should these events occur.| |**CUSTOMERPRIVACY**|**Customer Privacy** - the category addresses management of risks related to the use of personally identifiable information (PII) and other customer or user data for secondary purposes including but not limited to marketing through affiliates and non-affiliates. The scope of the category includes social issues that may arise from a company's approach to collecting data, obtaining consent (e.g., opt-in policies), managing user and customer expectations regarding how their data is used, and managing evolving regulation. It excludes social issues arising from cybersecurity risks, which are covered in a separate category.| |**CUSTWELFARE**|**Customer Welfare** - the category addresses customer welfare concerns over issues including, but not limited to, health and nutrition of foods and beverages, antibiotic use in animal production, and management of controlled substances. The category addresses the company's ability to provide consumers with manufactured products and services that are aligned with societal expectations. It does not include issues directly related to quality and safety malfunctions of manufactured products and services, but instead addresses qualities inherent to the design and delivery of products and services where customer welfare may be in question. The scope of the category also captures companies' ability to prevent counterfeit products.| |**DATASECURITY**|**Data Security** - the category addresses management of risks related to collection, retention, and use of sensitive, confidential, and/or proprietary customer or user data. It includes social issues that may arise from incidents such as data breaches in which personally identifiable information (PII) and other user or customer data may be exposed. It addresses a company's strategy, policies, and practices related to IT infrastructure, staff training, record keeping, cooperation with law enforcement, and other mechanisms used to ensure security of customer or user data.| |**ECOLOGICALIMPACTS**|**Ecological Impacts** - the category addresses management of the company's impacts on ecosystems and biodiversity through activities including, but not limited to, land use for exploration, natural resource extraction, and cultivation, as well as project development, construction, and siting. The impacts include, but are not limited to, biodiversity loss, habitat destruction, and deforestation at all stages – planning, land acquisition, permitting, development, operations, and site remediation. The category does not cover impacts of climate change on ecosystems and biodiversity.| |**EMPENGDIVANDINC**|**Employee Engagement Diversity and Inclusion** - the category addresses a company's ability to ensure that its culture and hiring and promotion practices embrace the building of a diverse and inclusive workforce that reflects the makeup of local talent pools and its customer base. It addresses the issues of discriminatory practices on the bases of race, gender, ethnicity, religion, sexual orientation, and other factors.| |**EMPHEALTHANDSAFETY**|**Employee Health and Safety** - the category addresses a company's ability to create and maintain a safe and healthy workplace environment that is free of injuries, fatalities, and illness (both chronic and acute). It is traditionally accomplished through implementing safety management plans, developing training requirements for employees and contractors, and conducting regular audits of their own practices as well as those of their subcontractors. The category further captures how companies ensure physical and mental health of workforce through technology, training, corporate culture, regulatory compliance, monitoring and testing, and personal protective equipment.| |**ENERGYMGT**|**Energy Management** - the category addresses environmental impacts associated with energy consumption. It addresses the company's management of energy in manufacturing and/or for provision of products and services derived from utility providers (grid energy) not owned or controlled by the company. More specifically, it includes management of energy efficiency and intensity, energy mix, as well as grid reliance. Upstream (e.g., suppliers) and downstream (e.g., product use) energy use is not included in the scope.| |**GHGEMISSIONS**|**Greenhouse Gas Emissions** - the category addresses direct (Scope 1) greenhouse gas (GHG) emissions that a company generates through its operations. This includes GHG emissions from stationary (e.g., factories, power plants) and mobile sources (e.g., trucks, delivery vehicles, planes), whether a result of combustion of fuel or non-combusted direct releases during activities such as natural resource extraction, power generation, land use, or biogenic processes. The category further includes management of regulatory risks, environmental compliance, and reputational risks and opportunities, as they related to direct GHG emissions. The seven GHGs covered under the Kyoto Protocol are included within the category— carbon dioxide (CO2 ), methane (CH4), nitrous oxide (N2O), hydrofluorocarbons (HFCs), perfluorocarbons (PFCs), sulfur hexafluoride (SF6), and nitrogen trifluoride (NF3).| |**HUMANRIGHTSANDCOMRELS**|**Human Rights and Community Relations** - the category addresses management of the relationship between businesses and the communities in which they operate, including, but not limited to, management of direct and indirect impacts on core human rights and the treatment of indigenous peoples. More specifically, such management may cover socio-economic community impacts, community engagement, environmental justice, cultivation of local workforces, impact on local businesses, license to operate, and environmental/social impact assessments. The category does not include environmental impacts such as air pollution or waste which, although they may impact the health and safety of members of local communities, are addressed in separate categories.| |**LABORPRACTICES**|**Labor Practices** - the category addresses the company's ability to uphold commonly accepted labor standards in the workplace, including compliance with labor laws and internationally accepted norms and standards. This includes, but is not limited to, ensuring basic human rights related to child labor, forced or bonded labor, exploitative labor, fair wages and overtime pay, and other basic workers' rights. It also includes minimum wage policies and provision of benefits, which may influence how a workforce is attracted, retained, and motivated. The category further addresses a company's relationship with organized labor and freedom of association.| |**MGTOFLEGALANDREGENV**|**Management of the Legal and Regulatory Environment** - the category addresses a company's approach to engaging with regulators in cases where conflicting corporate and public interests may have the potential for long-term adverse direct or indirect environmental and social impacts. The category addresses a company's level of reliance upon regulatory policy or monetary incentives (such as subsidies and taxes), actions to influence industry policy (such as through lobbying), overall reliance on a favorable regulatory environment for business competitiveness, and ability to comply with relevant regulations. It may relate to the alignment of management and investor views of regulatory engagement and compliance at large.| |**MATSOURCINGANDEFF**|**Materials Sourcing and Efficiency** - the category addresses issues related to the resilience of materials supply chains to impacts of climate change and other external environmental and social factors. It captures the impacts of such external factors on operational activity of suppliers, which can further affect availability and pricing of key resources. It addresses a company's ability to manage these risks through product design, manufacturing, and end-of-life management, such as by using of recycled and renewable materials, reducing the use of key materials (dematerialization), maximizing resource efficiency in manufacturing, and making R&D investments in substitute materials. Additionally, companies can manage these issues by screening, selection, monitoring, and engagement with suppliers to ensure their resilience to external risks. It does not address issues associated with environmental and social externalities created by operational activity of individual suppliers, which is covered in a separate category.| |**MATERIALITY**|**Materiality** - this category represents a composite score of all 'material' SASB categories for the given entity. For more information on SASB's Materiality Map, visit [materiality.sasb.org](https://materiality.sasb.org/)| |**PHYIMPACTSOFCLIMATECHG**|**Physical Impacts of Climate Change** - the category addresses the company's ability to manage risks and opportunities associated with direct exposure of its owned or controlled assets and operations to actual or potential physical impacts of climate change. It captures environmental and social issues that may arise from operational disruptions due to physical impacts of climate change. It further captures socioeconomic issues resulting from companies failing to incorporate climate change consideration in products and services sold, such as insurance policies and mortgages. The category relates to the company's ability to adapt to increased frequency and severity of extreme weather, shifting climate, sea level risk, and other expected physical impacts of climate change. Management may involve enhancing resiliency of physical assets and/or surrounding infrastructure as well as incorporation of climate change-related considerations into key business activities (e.g., mortgage and insurance underwriting, planning and development of real estate projects).| |**PDANDLIFECYCLEMGT**|**Product Design and Lifecycle Management** - the category addresses incorporation of environmental, social, and governance (ESG) considerations in characteristics of products and services provided or sold by the company. It includes, but is not limited to, managing the lifecycle impacts of products and services, such as those related to packaging, distribution, use-phase resource intensity, and other environmental and social externalities that may occur during their use-phase or at the end of life. The category captures a company's ability to address customer and societal demand for more sustainable products and services as well as to meet evolving environmental and social regulation. It does not address direct environmental or social impacts of the company's operations nor does it address health and safety risks to consumers from product use, which are covered in other categories.| |**PRODQUALITYANDSFTY**|**Product Quality and Safety** - the category addresses issues involving unintended characteristics of products sold or services provided that may create health or safety risks to end-users. It addresses a company's ability to offer manufactured products and/or services that meet customer expectations with respect to their health and safety characteristics. It includes, but is not limited to, issues involving liability, management of recalls and market withdrawals, product testing, and chemicals/content/ ingredient management in products.| |**SELLPRACANDPRODLABEL**|**Selling Practices and Product Labeling** - the category addresses social issues that may arise from a failure to manage the transparency, accuracy, and comprehensibility of marketing statements, advertising, and labeling of products and services. It includes, but is not limited to, advertising standards and regulations, ethical and responsible marketing practices, misleading or deceptive labeling, as well as discriminatory or predatory selling and lending practices. This may include deceptive or aggressive selling practices in which incentive structures for employees could encourage the sale of products or services that are not in the best interest of customers or clients.| |**SUPPLYCHAINMGT**|**Supply Chain Management** - the category addresses management of environmental, social, and governance (ESG) risks within a company's supply chain. It addresses issues associated with environmental and social externalities created by suppliers through their operational activities. Such issues include, but are not limited to, environmental responsibility, human rights, labor practices, and ethics and corruption. Management may involve screening, selection, monitoring, and engagement with suppliers on their environmental and social impacts. The category does not address the impacts of external factors – such as climate change and other environmental and social factors – on suppliers' operations and/or on the availability and pricing of key resources, which is covered in a separate category.| |**SYSTEMICRISKMGT**|**Systemic Risk Management** - the category addresses the company's contributions to, or management of systemic risks resulting from large-scale weakening or collapse of systems upon which the economy and society depend. This includes financial systems, natural resource systems, and technological systems. It addresses the mechanisms a company has in place to reduce its contributions to systemic risks and to improve safeguards that may mitigate the impacts of systemic failure. For financial institutions, the category also captures the company's ability to absorb shocks arising from financial and economic stress and meet stricter regulatory requirements related to the complexity and interconnectedness of companies in the industry.| |**WASTEANDHZRDMATSMGT**|**Waste and Hazardous Materials Management** - the category addresses environmental issues associated with hazardous and non-hazardous waste generated by companies. It addresses a company's management of solid wastes in manufacturing, agriculture, and other industrial processes. It covers treatment, handling, storage, disposal, and regulatory compliance. The category does not cover emissions to air or wastewater, nor does it cover waste from end-of-life of products, which are addressed in separate categories.| |**WATERANDWASTEWATERMGT**|**Water and Wastewater Management** - the category addresses a company's water use, water consumption, wastewater generation, and other impacts of operations on water resources, which may be influenced by regional differences in the availability and quality of and competition for water resources. More specifically, it addresses management strategies including, but not limited to, water efficiency, intensity, and recycling. Lastly, the category also addresses management of wastewater treatment and discharge, including groundwater and aquifer pollution.| ### Helper Input **ALL** = Simply gives the ability to request all categories in a single request without having to explicitly list out all 26 in the request. *This is not the same as \"ALLCATEGORIES\" which is a single overall score for the company and returned as default.* . [optional] if omitted the server will use the default value of ["ALLCATEGORIES"]
start_date (str): The start date requested for a given date range in **YYYY-MM-DD** format. If left blank, the API will default to latest available completed period. . [optional]
end_date (str): The end date requested for a given date range in **YYYY-MM-DD** format. If left blank, the API will default to latest available completed period. . [optional]
frequency (str): Controls the display frequency of the data returned. * **D** = Daily * **W** = Weekly, based on the last day of the week of the start date. * **M** = Monthly, based on the last trading day of the month. * **CY** = Calendar Annual, based on the last trading day of the calendar year. . [optional] if omitted the server will use the default value of "D"
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): 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.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ApplyResult[(SasbScoresResponse, int, typing.Dict)]
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=True)
kwargs['ids'] = \
ids
return self.get_sasb_scores_endpoint.call_with_http_info(**kwargs)
def get_sasb_scores_all(
self,
ids,
**kwargs
) -> SasbScoresAllResponse:
"""Gets a flat key value array of scores for named categories of the input scoreType(s). # noqa: E501
**Retrieves a flat array of all categories for the requested scoreType and ids. Unlike the /sasb-scores endpoint the format of the response returns category names as part of the key value.**<p> Gets values for all categories for the selected score type(s) for the requested identifier(s). FactSet Truvalue Labs SASB Scores provides short-term, long-term, and momentum scores that are generated for 26 ESG categories defined by the Sustainability Accounting Standards Board. ESG Ranks are not supported in this Endpoint. # noqa: E501
This method makes a synchronous HTTP request. Returns the http data only
Args:
ids ([str]): Security or Entity identifiers. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may exceed this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>*
Keyword Args:
score_types ([str]): The FactSet Truvalue Score types being requested. Score Types include the Pulse, Insight, Momentum, Article Volume, Category Volume, Dynamic Materiality Score, Adjusted Insight, and Industry Percentile. When left blank all score types will be returned for the requested Id. To specify select scores returned in the response, provide a comma-separated list of the scores using the description below. <p>These scores use the same underlying data and 100-point scale, except for ranks and percentiles. The cognitive computing system behind FactSet's Truvalue Platform uses natural language processing to interpret semantic content and generate analytics. It does so by applying criteria that are consistent with established sustainability and ESG frameworks, scoring data points on performance using a 0 to 100 scale. A score of 50 represents a neutral impact. Scores above 50 indicate positive performance, and scores below reflect negative performance.</p> ### ESG Score Types |**SASB Category Input**|**Description**| |---|---| |**PULSE**|*Pulse Score*, is a measure of near-term performance changes that highlights opportunities and controversies, enabling real-time monitoring of companies. It focuses on events of the day and provides a responsive signal to alert investors to dynamic moves.| |**INSIGHT**|*Insight Score*, a measure of a company’s longer-term ESG track record, similar to a ratings system. Scores are less sensitive to daily events and reflect the enduring performance record of a company over time. Scores are derived using an exponentially-weighted moving average of the Pulse, defined below, and the half-life of an event’s influence on the overall score is 6 months.| |**MOMENTUM**|*Momentum Score*, measures the trend of a company's Insight score. It is a unique ESG metric in the industry that gives investors a high-precision view of the trajectory of a company’s ESG performance, relative to peers. It does so by precisely articulating upward or downward movement, relative to that of all others in the universe, making it a measure that enhances quantitative workflows.| |**ART_VOL_TTM**|*Article Volume Score*, measures the information flow or number of articles about a company over the past 12 months.| |**CAT_VOL_TTM**|*Category Volume Score*, returns the total number of times any of the 26 categories received a score over a trailing twelve-month (TTM) period of time.| |**DYNAMIC_MAT**|*Dynamic Materiality Score*, shows the percentage value of data flow by category compared with the total data flow for the organization **(NOT VALID for `ALLCATEGORIES` and `MATERIALITY` category types).**| |**ADJ_INSIGHT**|*Adjusted Insight*, Measures company ESG performance, generating scores for lower-volume and zero-volume firms by blending company scores with industry medians. **(ONLY Vaild for `ALLCATEGORIES` and `MATERIALITY` categories). <p>**Adjusted Insight Score = (# of articles / 5) x Company Insight Score + ((5 - # of articles) / 5) x Industry (or Sector) Median Insight Score.</p>| |**IND_PCTL**|*Industry Percentile*, offers context on company Adjusted Insight scores relative to peers in the same SICS Industry. This value is used to establish the textual ESG Rank. **(ONLY Vaild for `ALLCATEGORIES` and `MATERIALITY` categories).**| ### Helper Input **ALL**= *Ability to fetch all of the \"scoreTypes\" listed above in a simplified query.* This is used by default and removes the need to explitly request each scoreType in the list. . [optional] if omitted the server will use the default value of ["ALL"]
start_date (str): The start date requested for a given date range in **YYYY-MM-DD** format. If left blank, the API will default to latest available completed period. . [optional]
end_date (str): The end date requested for a given date range in **YYYY-MM-DD** format. If left blank, the API will default to latest available completed period. . [optional]
frequency (str): Controls the display frequency of the data returned. * **D** = Daily * **W** = Weekly, based on the last day of the week of the start date. * **M** = Monthly, based on the last trading day of the month. * **CY** = Calendar Annual, based on the last trading day of the calendar year. . [optional] if omitted the server will use the default value of "D"
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): 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.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
SasbScoresAllResponse
Response Object
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=False)
kwargs['ids'] = \
ids
return self.get_sasb_scores_all_endpoint.call_with_http_info(**kwargs)
def get_sasb_scores_all_with_http_info(
self,
ids,
**kwargs
) -> typing.Tuple[SasbScoresAllResponse, int, typing.MutableMapping]:
"""Gets a flat key value array of scores for named categories of the input scoreType(s). # noqa: E501
**Retrieves a flat array of all categories for the requested scoreType and ids. Unlike the /sasb-scores endpoint the format of the response returns category names as part of the key value.**<p> Gets values for all categories for the selected score type(s) for the requested identifier(s). FactSet Truvalue Labs SASB Scores provides short-term, long-term, and momentum scores that are generated for 26 ESG categories defined by the Sustainability Accounting Standards Board. ESG Ranks are not supported in this Endpoint. # noqa: E501
This method makes a synchronous HTTP request. Returns http data, http status and headers
Args:
ids ([str]): Security or Entity identifiers. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may exceed this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>*
Keyword Args:
score_types ([str]): The FactSet Truvalue Score types being requested. Score Types include the Pulse, Insight, Momentum, Article Volume, Category Volume, Dynamic Materiality Score, Adjusted Insight, and Industry Percentile. When left blank all score types will be returned for the requested Id. To specify select scores returned in the response, provide a comma-separated list of the scores using the description below. <p>These scores use the same underlying data and 100-point scale, except for ranks and percentiles. The cognitive computing system behind FactSet's Truvalue Platform uses natural language processing to interpret semantic content and generate analytics. It does so by applying criteria that are consistent with established sustainability and ESG frameworks, scoring data points on performance using a 0 to 100 scale. A score of 50 represents a neutral impact. Scores above 50 indicate positive performance, and scores below reflect negative performance.</p> ### ESG Score Types |**SASB Category Input**|**Description**| |---|---| |**PULSE**|*Pulse Score*, is a measure of near-term performance changes that highlights opportunities and controversies, enabling real-time monitoring of companies. It focuses on events of the day and provides a responsive signal to alert investors to dynamic moves.| |**INSIGHT**|*Insight Score*, a measure of a company’s longer-term ESG track record, similar to a ratings system. Scores are less sensitive to daily events and reflect the enduring performance record of a company over time. Scores are derived using an exponentially-weighted moving average of the Pulse, defined below, and the half-life of an event’s influence on the overall score is 6 months.| |**MOMENTUM**|*Momentum Score*, measures the trend of a company's Insight score. It is a unique ESG metric in the industry that gives investors a high-precision view of the trajectory of a company’s ESG performance, relative to peers. It does so by precisely articulating upward or downward movement, relative to that of all others in the universe, making it a measure that enhances quantitative workflows.| |**ART_VOL_TTM**|*Article Volume Score*, measures the information flow or number of articles about a company over the past 12 months.| |**CAT_VOL_TTM**|*Category Volume Score*, returns the total number of times any of the 26 categories received a score over a trailing twelve-month (TTM) period of time.| |**DYNAMIC_MAT**|*Dynamic Materiality Score*, shows the percentage value of data flow by category compared with the total data flow for the organization **(NOT VALID for `ALLCATEGORIES` and `MATERIALITY` category types).**| |**ADJ_INSIGHT**|*Adjusted Insight*, Measures company ESG performance, generating scores for lower-volume and zero-volume firms by blending company scores with industry medians. **(ONLY Vaild for `ALLCATEGORIES` and `MATERIALITY` categories). <p>**Adjusted Insight Score = (# of articles / 5) x Company Insight Score + ((5 - # of articles) / 5) x Industry (or Sector) Median Insight Score.</p>| |**IND_PCTL**|*Industry Percentile*, offers context on company Adjusted Insight scores relative to peers in the same SICS Industry. This value is used to establish the textual ESG Rank. **(ONLY Vaild for `ALLCATEGORIES` and `MATERIALITY` categories).**| ### Helper Input **ALL**= *Ability to fetch all of the \"scoreTypes\" listed above in a simplified query.* This is used by default and removes the need to explitly request each scoreType in the list. . [optional] if omitted the server will use the default value of ["ALL"]
start_date (str): The start date requested for a given date range in **YYYY-MM-DD** format. If left blank, the API will default to latest available completed period. . [optional]
end_date (str): The end date requested for a given date range in **YYYY-MM-DD** format. If left blank, the API will default to latest available completed period. . [optional]
frequency (str): Controls the display frequency of the data returned. * **D** = Daily * **W** = Weekly, based on the last day of the week of the start date. * **M** = Monthly, based on the last trading day of the month. * **CY** = Calendar Annual, based on the last trading day of the calendar year. . [optional] if omitted the server will use the default value of "D"
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): 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.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
SasbScoresAllResponse
Response Object
int
Http Status Code
dict
Dictionary of the response headers
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=False)
kwargs['ids'] = \
ids
return self.get_sasb_scores_all_endpoint.call_with_http_info(**kwargs)
def get_sasb_scores_all_async(
self,
ids,
**kwargs
) -> "ApplyResult[SasbScoresAllResponse]":
"""Gets a flat key value array of scores for named categories of the input scoreType(s). # noqa: E501
**Retrieves a flat array of all categories for the requested scoreType and ids. Unlike the /sasb-scores endpoint the format of the response returns category names as part of the key value.**<p> Gets values for all categories for the selected score type(s) for the requested identifier(s). FactSet Truvalue Labs SASB Scores provides short-term, long-term, and momentum scores that are generated for 26 ESG categories defined by the Sustainability Accounting Standards Board. ESG Ranks are not supported in this Endpoint. # noqa: E501
This method makes a asynchronous HTTP request. Returns the http data, wrapped in ApplyResult
Args:
ids ([str]): Security or Entity identifiers. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may exceed this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>*
Keyword Args:
score_types ([str]): The FactSet Truvalue Score types being requested. Score Types include the Pulse, Insight, Momentum, Article Volume, Category Volume, Dynamic Materiality Score, Adjusted Insight, and Industry Percentile. When left blank all score types will be returned for the requested Id. To specify select scores returned in the response, provide a comma-separated list of the scores using the description below. <p>These scores use the same underlying data and 100-point scale, except for ranks and percentiles. The cognitive computing system behind FactSet's Truvalue Platform uses natural language processing to interpret semantic content and generate analytics. It does so by applying criteria that are consistent with established sustainability and ESG frameworks, scoring data points on performance using a 0 to 100 scale. A score of 50 represents a neutral impact. Scores above 50 indicate positive performance, and scores below reflect negative performance.</p> ### ESG Score Types |**SASB Category Input**|**Description**| |---|---| |**PULSE**|*Pulse Score*, is a measure of near-term performance changes that highlights opportunities and controversies, enabling real-time monitoring of companies. It focuses on events of the day and provides a responsive signal to alert investors to dynamic moves.| |**INSIGHT**|*Insight Score*, a measure of a company’s longer-term ESG track record, similar to a ratings system. Scores are less sensitive to daily events and reflect the enduring performance record of a company over time. Scores are derived using an exponentially-weighted moving average of the Pulse, defined below, and the half-life of an event’s influence on the overall score is 6 months.| |**MOMENTUM**|*Momentum Score*, measures the trend of a company's Insight score. It is a unique ESG metric in the industry that gives investors a high-precision view of the trajectory of a company’s ESG performance, relative to peers. It does so by precisely articulating upward or downward movement, relative to that of all others in the universe, making it a measure that enhances quantitative workflows.| |**ART_VOL_TTM**|*Article Volume Score*, measures the information flow or number of articles about a company over the past 12 months.| |**CAT_VOL_TTM**|*Category Volume Score*, returns the total number of times any of the 26 categories received a score over a trailing twelve-month (TTM) period of time.| |**DYNAMIC_MAT**|*Dynamic Materiality Score*, shows the percentage value of data flow by category compared with the total data flow for the organization **(NOT VALID for `ALLCATEGORIES` and `MATERIALITY` category types).**| |**ADJ_INSIGHT**|*Adjusted Insight*, Measures company ESG performance, generating scores for lower-volume and zero-volume firms by blending company scores with industry medians. **(ONLY Vaild for `ALLCATEGORIES` and `MATERIALITY` categories). <p>**Adjusted Insight Score = (# of articles / 5) x Company Insight Score + ((5 - # of articles) / 5) x Industry (or Sector) Median Insight Score.</p>| |**IND_PCTL**|*Industry Percentile*, offers context on company Adjusted Insight scores relative to peers in the same SICS Industry. This value is used to establish the textual ESG Rank. **(ONLY Vaild for `ALLCATEGORIES` and `MATERIALITY` categories).**| ### Helper Input **ALL**= *Ability to fetch all of the \"scoreTypes\" listed above in a simplified query.* This is used by default and removes the need to explitly request each scoreType in the list. . [optional] if omitted the server will use the default value of ["ALL"]
start_date (str): The start date requested for a given date range in **YYYY-MM-DD** format. If left blank, the API will default to latest available completed period. . [optional]
end_date (str): The end date requested for a given date range in **YYYY-MM-DD** format. If left blank, the API will default to latest available completed period. . [optional]
frequency (str): Controls the display frequency of the data returned. * **D** = Daily * **W** = Weekly, based on the last day of the week of the start date. * **M** = Monthly, based on the last trading day of the month. * **CY** = Calendar Annual, based on the last trading day of the calendar year. . [optional] if omitted the server will use the default value of "D"
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): 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.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ApplyResult[SasbScoresAllResponse]
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=True)
kwargs['ids'] = \
ids
return self.get_sasb_scores_all_endpoint.call_with_http_info(**kwargs)
def get_sasb_scores_all_with_http_info_async(
self,
ids,
**kwargs
) -> "ApplyResult[typing.Tuple[SasbScoresAllResponse, int, typing.MutableMapping]]":
"""Gets a flat key value array of scores for named categories of the input scoreType(s). # noqa: E501
**Retrieves a flat array of all categories for the requested scoreType and ids. Unlike the /sasb-scores endpoint the format of the response returns category names as part of the key value.**<p> Gets values for all categories for the selected score type(s) for the requested identifier(s). FactSet Truvalue Labs SASB Scores provides short-term, long-term, and momentum scores that are generated for 26 ESG categories defined by the Sustainability Accounting Standards Board. ESG Ranks are not supported in this Endpoint. # noqa: E501
This method makes a asynchronous HTTP request. Returns http data, http status and headers, wrapped in ApplyResult
Args:
ids ([str]): Security or Entity identifiers. FactSet Identifiers, tickers, CUSIP, SEDOL, and ISIN are accepted inputs. <p>***ids limit** = 1000 per request*</p> *<p>Make note, GET Method URL request lines are also limited to a total length of 8192 bytes (8KB). In cases where the service allows for thousands of ids, which may exceed this request line limit of 8KB, its advised for any requests with large request lines to be requested through the respective \"POST\" method.</p>*
Keyword Args:
score_types ([str]): The FactSet Truvalue Score types being requested. Score Types include the Pulse, Insight, Momentum, Article Volume, Category Volume, Dynamic Materiality Score, Adjusted Insight, and Industry Percentile. When left blank all score types will be returned for the requested Id. To specify select scores returned in the response, provide a comma-separated list of the scores using the description below. <p>These scores use the same underlying data and 100-point scale, except for ranks and percentiles. The cognitive computing system behind FactSet's Truvalue Platform uses natural language processing to interpret semantic content and generate analytics. It does so by applying criteria that are consistent with established sustainability and ESG frameworks, scoring data points on performance using a 0 to 100 scale. A score of 50 represents a neutral impact. Scores above 50 indicate positive performance, and scores below reflect negative performance.</p> ### ESG Score Types |**SASB Category Input**|**Description**| |---|---| |**PULSE**|*Pulse Score*, is a measure of near-term performance changes that highlights opportunities and controversies, enabling real-time monitoring of companies. It focuses on events of the day and provides a responsive signal to alert investors to dynamic moves.| |**INSIGHT**|*Insight Score*, a measure of a company’s longer-term ESG track record, similar to a ratings system. Scores are less sensitive to daily events and reflect the enduring performance record of a company over time. Scores are derived using an exponentially-weighted moving average of the Pulse, defined below, and the half-life of an event’s influence on the overall score is 6 months.| |**MOMENTUM**|*Momentum Score*, measures the trend of a company's Insight score. It is a unique ESG metric in the industry that gives investors a high-precision view of the trajectory of a company’s ESG performance, relative to peers. It does so by precisely articulating upward or downward movement, relative to that of all others in the universe, making it a measure that enhances quantitative workflows.| |**ART_VOL_TTM**|*Article Volume Score*, measures the information flow or number of articles about a company over the past 12 months.| |**CAT_VOL_TTM**|*Category Volume Score*, returns the total number of times any of the 26 categories received a score over a trailing twelve-month (TTM) period of time.| |**DYNAMIC_MAT**|*Dynamic Materiality Score*, shows the percentage value of data flow by category compared with the total data flow for the organization **(NOT VALID for `ALLCATEGORIES` and `MATERIALITY` category types).**| |**ADJ_INSIGHT**|*Adjusted Insight*, Measures company ESG performance, generating scores for lower-volume and zero-volume firms by blending company scores with industry medians. **(ONLY Vaild for `ALLCATEGORIES` and `MATERIALITY` categories). <p>**Adjusted Insight Score = (# of articles / 5) x Company Insight Score + ((5 - # of articles) / 5) x Industry (or Sector) Median Insight Score.</p>| |**IND_PCTL**|*Industry Percentile*, offers context on company Adjusted Insight scores relative to peers in the same SICS Industry. This value is used to establish the textual ESG Rank. **(ONLY Vaild for `ALLCATEGORIES` and `MATERIALITY` categories).**| ### Helper Input **ALL**= *Ability to fetch all of the \"scoreTypes\" listed above in a simplified query.* This is used by default and removes the need to explitly request each scoreType in the list. . [optional] if omitted the server will use the default value of ["ALL"]
start_date (str): The start date requested for a given date range in **YYYY-MM-DD** format. If left blank, the API will default to latest available completed period. . [optional]
end_date (str): The end date requested for a given date range in **YYYY-MM-DD** format. If left blank, the API will default to latest available completed period. . [optional]
frequency (str): Controls the display frequency of the data returned. * **D** = Daily * **W** = Weekly, based on the last day of the week of the start date. * **M** = Monthly, based on the last trading day of the month. * **CY** = Calendar Annual, based on the last trading day of the calendar year. . [optional] if omitted the server will use the default value of "D"
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): 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.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ApplyResult[(SasbScoresAllResponse, int, typing.Dict)]
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=True)
kwargs['ids'] = \
ids
return self.get_sasb_scores_all_endpoint.call_with_http_info(**kwargs)
def get_sasb_scores_all_post(
self,
sasb_scores_all_request,
**kwargs
) -> SasbScoresAllResponse:
"""Gets a flat key value array of scores for named categories of the input score type(s). # noqa: E501
**Retrieves a flat array of all categories for the requested scoreType and ids. Unlike the /sasb-scores endpoint the format of the response returns category names as part of the key value.**<p> Gets values for all categories for the selected score type(s) for the requested identifier(s). FactSet Truvalue Labs SASB Scores provides short-term, long-term, and momentum scores that are generated for 26 ESG categories defined by the Sustainability Accounting Standards Board. ESG Ranks are not supported in this Endpoint. # noqa: E501
This method makes a synchronous HTTP request. Returns the http data only
Args:
sasb_scores_all_request (SasbScoresAllRequest): The SASB Scores request body, allowing the user to specify a list of ids, SASB Score Items, SASB categories, date range, and frequency.
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): 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.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
SasbScoresAllResponse
Response Object
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=False)
kwargs['sasb_scores_all_request'] = \
sasb_scores_all_request
return self.get_sasb_scores_all_post_endpoint.call_with_http_info(**kwargs)
def get_sasb_scores_all_post_with_http_info(
self,
sasb_scores_all_request,
**kwargs
) -> typing.Tuple[SasbScoresAllResponse, int, typing.MutableMapping]:
"""Gets a flat key value array of scores for named categories of the input score type(s). # noqa: E501
**Retrieves a flat array of all categories for the requested scoreType and ids. Unlike the /sasb-scores endpoint the format of the response returns category names as part of the key value.**<p> Gets values for all categories for the selected score type(s) for the requested identifier(s). FactSet Truvalue Labs SASB Scores provides short-term, long-term, and momentum scores that are generated for 26 ESG categories defined by the Sustainability Accounting Standards Board. ESG Ranks are not supported in this Endpoint. # noqa: E501
This method makes a synchronous HTTP request. Returns http data, http status and headers
Args:
sasb_scores_all_request (SasbScoresAllRequest): The SASB Scores request body, allowing the user to specify a list of ids, SASB Score Items, SASB categories, date range, and frequency.
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): 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.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
SasbScoresAllResponse
Response Object
int
Http Status Code
dict
Dictionary of the response headers
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=False)
kwargs['sasb_scores_all_request'] = \
sasb_scores_all_request
return self.get_sasb_scores_all_post_endpoint.call_with_http_info(**kwargs)
def get_sasb_scores_all_post_async(
self,
sasb_scores_all_request,
**kwargs
) -> "ApplyResult[SasbScoresAllResponse]":
"""Gets a flat key value array of scores for named categories of the input score type(s). # noqa: E501
**Retrieves a flat array of all categories for the requested scoreType and ids. Unlike the /sasb-scores endpoint the format of the response returns category names as part of the key value.**<p> Gets values for all categories for the selected score type(s) for the requested identifier(s). FactSet Truvalue Labs SASB Scores provides short-term, long-term, and momentum scores that are generated for 26 ESG categories defined by the Sustainability Accounting Standards Board. ESG Ranks are not supported in this Endpoint. # noqa: E501
This method makes a asynchronous HTTP request. Returns the http data, wrapped in ApplyResult
Args:
sasb_scores_all_request (SasbScoresAllRequest): The SASB Scores request body, allowing the user to specify a list of ids, SASB Score Items, SASB categories, date range, and frequency.
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): 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.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ApplyResult[SasbScoresAllResponse]
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=True)
kwargs['sasb_scores_all_request'] = \
sasb_scores_all_request
return self.get_sasb_scores_all_post_endpoint.call_with_http_info(**kwargs)
def get_sasb_scores_all_post_with_http_info_async(
self,
sasb_scores_all_request,
**kwargs
) -> "ApplyResult[typing.Tuple[SasbScoresAllResponse, int, typing.MutableMapping]]":
"""Gets a flat key value array of scores for named categories of the input score type(s). # noqa: E501
**Retrieves a flat array of all categories for the requested scoreType and ids. Unlike the /sasb-scores endpoint the format of the response returns category names as part of the key value.**<p> Gets values for all categories for the selected score type(s) for the requested identifier(s). FactSet Truvalue Labs SASB Scores provides short-term, long-term, and momentum scores that are generated for 26 ESG categories defined by the Sustainability Accounting Standards Board. ESG Ranks are not supported in this Endpoint. # noqa: E501
This method makes a asynchronous HTTP request. Returns http data, http status and headers, wrapped in ApplyResult
Args:
sasb_scores_all_request (SasbScoresAllRequest): The SASB Scores request body, allowing the user to specify a list of ids, SASB Score Items, SASB categories, date range, and frequency.
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): 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.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ApplyResult[(SasbScoresAllResponse, int, typing.Dict)]
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=True)
kwargs['sasb_scores_all_request'] = \
sasb_scores_all_request
return self.get_sasb_scores_all_post_endpoint.call_with_http_info(**kwargs)
def get_sasb_scores_post(
self,
sasb_scores_request,
**kwargs
) -> SasbScoresResponse:
"""For a large list of ids, gets short-term, long-term, and momentum scores based on the 26 ESG categories defined by the Sustainability Accounting Standards Board (SASB). # noqa: E501
FactSet Truvalue Labs SASB Scores provides short-term, long-term, and momentum scores that are generated for 26 ESG categories defined by the Sustainability Accounting Standards Board. FactSet Truvalue also calculates a custom overall score called ALLCATEGORIES, can indicate data volume flow, and the Dynamic Materiality of that data flow. # noqa: E501
This method makes a synchronous HTTP request. Returns the http data only
Args:
sasb_scores_request (SasbScoresRequest): The SASB Scores request body, allowing the user to specify a list of ids, SASB Score Items, SASB categories, date range, and frequency.
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): 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.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
SasbScoresResponse
Response Object
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=False)
kwargs['sasb_scores_request'] = \
sasb_scores_request
return self.get_sasb_scores_post_endpoint.call_with_http_info(**kwargs)
def get_sasb_scores_post_with_http_info(
self,
sasb_scores_request,
**kwargs
) -> typing.Tuple[SasbScoresResponse, int, typing.MutableMapping]:
"""For a large list of ids, gets short-term, long-term, and momentum scores based on the 26 ESG categories defined by the Sustainability Accounting Standards Board (SASB). # noqa: E501
FactSet Truvalue Labs SASB Scores provides short-term, long-term, and momentum scores that are generated for 26 ESG categories defined by the Sustainability Accounting Standards Board. FactSet Truvalue also calculates a custom overall score called ALLCATEGORIES, can indicate data volume flow, and the Dynamic Materiality of that data flow. # noqa: E501
This method makes a synchronous HTTP request. Returns http data, http status and headers
Args:
sasb_scores_request (SasbScoresRequest): The SASB Scores request body, allowing the user to specify a list of ids, SASB Score Items, SASB categories, date range, and frequency.
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): 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.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
SasbScoresResponse
Response Object
int
Http Status Code
dict
Dictionary of the response headers
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=False)
kwargs['sasb_scores_request'] = \
sasb_scores_request
return self.get_sasb_scores_post_endpoint.call_with_http_info(**kwargs)
def get_sasb_scores_post_async(
self,
sasb_scores_request,
**kwargs
) -> "ApplyResult[SasbScoresResponse]":
"""For a large list of ids, gets short-term, long-term, and momentum scores based on the 26 ESG categories defined by the Sustainability Accounting Standards Board (SASB). # noqa: E501
FactSet Truvalue Labs SASB Scores provides short-term, long-term, and momentum scores that are generated for 26 ESG categories defined by the Sustainability Accounting Standards Board. FactSet Truvalue also calculates a custom overall score called ALLCATEGORIES, can indicate data volume flow, and the Dynamic Materiality of that data flow. # noqa: E501
This method makes a asynchronous HTTP request. Returns the http data, wrapped in ApplyResult
Args:
sasb_scores_request (SasbScoresRequest): The SASB Scores request body, allowing the user to specify a list of ids, SASB Score Items, SASB categories, date range, and frequency.
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): 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.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ApplyResult[SasbScoresResponse]
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=True)
kwargs['sasb_scores_request'] = \
sasb_scores_request
return self.get_sasb_scores_post_endpoint.call_with_http_info(**kwargs)
def get_sasb_scores_post_with_http_info_async(
self,
sasb_scores_request,
**kwargs
) -> "ApplyResult[typing.Tuple[SasbScoresResponse, int, typing.MutableMapping]]":
"""For a large list of ids, gets short-term, long-term, and momentum scores based on the 26 ESG categories defined by the Sustainability Accounting Standards Board (SASB). # noqa: E501
FactSet Truvalue Labs SASB Scores provides short-term, long-term, and momentum scores that are generated for 26 ESG categories defined by the Sustainability Accounting Standards Board. FactSet Truvalue also calculates a custom overall score called ALLCATEGORIES, can indicate data volume flow, and the Dynamic Materiality of that data flow. # noqa: E501
This method makes a asynchronous HTTP request. Returns http data, http status and headers, wrapped in ApplyResult
Args:
sasb_scores_request (SasbScoresRequest): The SASB Scores request body, allowing the user to specify a list of ids, SASB Score Items, SASB categories, date range, and frequency.
Keyword Args:
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): 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.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
Returns:
ApplyResult[(SasbScoresResponse, int, typing.Dict)]
"""
self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=True)
kwargs['sasb_scores_request'] = \
sasb_scores_request
return self.get_sasb_scores_post_endpoint.call_with_http_info(**kwargs)
| 124.237984 | 19,271 | 0.714749 | 28,089 | 211,950 | 5.345901 | 0.043184 | 0.006626 | 0.014385 | 0.006073 | 0.986328 | 0.984117 | 0.983398 | 0.981353 | 0.979629 | 0.979369 | 0 | 0.005552 | 0.225015 | 211,950 | 1,705 | 19,272 | 124.31085 | 0.908528 | 0.843095 | 0 | 0.766017 | 0 | 0 | 0.164081 | 0.044084 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036212 | false | 0 | 0.019499 | 0 | 0.090529 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
f97c94fa5000091ea34ef5d313937ccb4f66a9e6 | 114 | py | Python | terrascript/oneandone/d.py | GarnerCorp/python-terrascript | ec6c2d9114dcd3cb955dd46069f8ba487e320a8c | [
"BSD-2-Clause"
] | null | null | null | terrascript/oneandone/d.py | GarnerCorp/python-terrascript | ec6c2d9114dcd3cb955dd46069f8ba487e320a8c | [
"BSD-2-Clause"
] | null | null | null | terrascript/oneandone/d.py | GarnerCorp/python-terrascript | ec6c2d9114dcd3cb955dd46069f8ba487e320a8c | [
"BSD-2-Clause"
] | 1 | 2018-11-15T16:23:05.000Z | 2018-11-15T16:23:05.000Z | from terrascript import _data
class oneandone_instance_size(_data): pass
instance_size = oneandone_instance_size
| 22.8 | 42 | 0.868421 | 15 | 114 | 6.133333 | 0.6 | 0.391304 | 0.456522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096491 | 114 | 4 | 43 | 28.5 | 0.893204 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
f98198e4138a60b1744259ab00319f06ce3e021b | 4,855 | py | Python | TestIncluder.py | ytyaru/Python.pylangstudy.SourceCode.Include.201705220754 | b044c7d003ed2f3da7d1d94215d2704c01261e4f | [
"CC0-1.0"
] | null | null | null | TestIncluder.py | ytyaru/Python.pylangstudy.SourceCode.Include.201705220754 | b044c7d003ed2f3da7d1d94215d2704c01261e4f | [
"CC0-1.0"
] | null | null | null | TestIncluder.py | ytyaru/Python.pylangstudy.SourceCode.Include.201705220754 | b044c7d003ed2f3da7d1d94215d2704c01261e4f | [
"CC0-1.0"
] | null | null | null | import unittest
import os.path
import Includer
class TestIncluder(unittest.TestCase):
# def __init__(self):
# pass
def test_plus2plus(self):
c = Includer.Includer()
path = os.path.join(os.path.abspath(os.path.dirname(__file__)), '0.py')
lines = [3, 6]
answer = """class MyClass(object):
def __init__(self):
pass
def Show(self):"""
text = c.Include(path, lines=lines)
self.assertEqual(text, answer)
def test_all_none(self):
c = Includer.Includer()
path = os.path.join(os.path.abspath(os.path.dirname(__file__)), '0.py')
lines = None
answer = """#!python3
#encoding: utf-8
class MyClass(object):
def __init__(self):
pass
def Show(self):
print('this is MyClass.')
if __name__ == '__main__':
c = MyClass()
c.Show()
"""
text = c.Include(path, lines=lines)
self.assertEqual(text, answer)
def test_all_zero(self):
c = Includer.Includer()
path = os.path.join(os.path.abspath(os.path.dirname(__file__)), '0.py')
lines = [0, 0]
answer = """#!python3
#encoding: utf-8
class MyClass(object):
def __init__(self):
pass
def Show(self):
print('this is MyClass.')
if __name__ == '__main__':
c = MyClass()
c.Show()
"""
text = c.Include(path, lines=lines)
self.assertEqual(text, answer)
def test_0_m5(self):
c = Includer.Includer()
path = os.path.join(os.path.abspath(os.path.dirname(__file__)), '0.py')
lines = [0, -5]
answer = """#!python3
#encoding: utf-8
class MyClass(object):
def __init__(self):
pass
def Show(self):
print('this is MyClass.')"""
text = c.Include(path, lines=lines)
self.assertEqual(text, answer)
def test_5_2(self):
c = Includer.Includer()
path = os.path.join(os.path.abspath(os.path.dirname(__file__)), '0.py')
lines = [5, 2]
with self.assertRaises(Exception) as e:
text = c.Include(path, lines=lines)
self.assertEqual(e.msg, '引数linesは 左辺値 <= 右辺値 である必要があります。')
def test_5_m2(self):
c = Includer.Includer()
path = os.path.join(os.path.abspath(os.path.dirname(__file__)), '0.py')
lines = [5, -2]
answer = """ pass
def Show(self):
print('this is MyClass.')
if __name__ == '__main__':"""
text = c.Include(path, lines=lines)
self.assertEqual(text, answer)
def test_m5_2(self):
c = Includer.Includer()
path = os.path.join(os.path.abspath(os.path.dirname(__file__)), '0.py')
lines = [-5, 2]
with self.assertRaises(Exception) as e:
text = c.Include(path, lines=lines)
self.assertEqual(e.msg, '引数linesは 左辺値 <= 右辺値 である必要があります。')
def test_m7_m2(self):
c = Includer.Includer()
path = os.path.join(os.path.abspath(os.path.dirname(__file__)), '0.py')
lines = [-7, -2]
answer = """ pass
def Show(self):
print('this is MyClass.')
if __name__ == '__main__':"""
text = c.Include(path, lines=lines)
self.assertEqual(text, answer)
def test_7(self):
c = Includer.Includer()
path = os.path.join(os.path.abspath(os.path.dirname(__file__)), '0.py')
lines = [7]
with self.assertRaises(Exception) as e:
text = c.Include(path, lines=lines)
self.assertEqual(e.msg, '引数linesはlist型で[start, end]の2つの整数値を指定してください。0を指定するとstartは1, endは最終行数になります。負数を指定すると末尾からの行数です。-1なら最終行-1行目を指定します。')
def test_none_none(self):
c = Includer.Includer()
path = os.path.join(os.path.abspath(os.path.dirname(__file__)), '0.py')
lines = [None, None]
with self.assertRaises(Exception) as e:
text = c.Include(path, lines=lines)
self.assertEqual(e.msg, '引数linesはlist型で[start, end]の2つの整数値を指定してください。0を指定するとstartは1, endは最終行数になります。負数を指定すると末尾からの行数です。-1なら最終行-1行目を指定します。')
def test_1_none(self):
c = Includer.Includer()
path = os.path.join(os.path.abspath(os.path.dirname(__file__)), '0.py')
lines = [1, None]
with self.assertRaises(Exception) as e:
text = c.Include(path, lines=lines)
self.assertEqual(e.msg, '引数linesはlist型で[start, end]の2つの整数値を指定してください。0を指定するとstartは1, endは最終行数になります。負数を指定すると末尾からの行数です。-1なら最終行-1行目を指定します。')
def test_none_8(self):
c = Includer.Includer()
path = os.path.join(os.path.abspath(os.path.dirname(__file__)), '0.py')
lines = [None, 8]
with self.assertRaises(Exception) as e:
text = c.Include(path, lines=lines)
self.assertEqual(e.msg, '引数linesはlist型で[start, end]の2つの整数値を指定してください。0を指定するとstartは1, endは最終行数になります。負数を指定すると末尾からの行数です。-1なら最終行-1行目を指定します。')
| 33.253425 | 148 | 0.60206 | 605 | 4,855 | 4.629752 | 0.115702 | 0.079257 | 0.055694 | 0.089968 | 0.9593 | 0.952874 | 0.952874 | 0.952874 | 0.952874 | 0.952874 | 0 | 0.018987 | 0.251493 | 4,855 | 145 | 149 | 33.482759 | 0.751789 | 0.006385 | 0 | 0.747967 | 0 | 0 | 0.281711 | 0.088852 | 0 | 0 | 0 | 0 | 0.146341 | 1 | 0.097561 | false | 0.04878 | 0.02439 | 0 | 0.130081 | 0.04065 | 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 |
ddfd83c4c16b62c8ccd45fc7a9f3be80a4eae0b6 | 9,593 | py | Python | tests/test_voting_classifier.py | wellcometrust/WellcomeML | f7f5427f6dfdc6e5ee1342764263c6411e0f9bdf | [
"MIT"
] | 29 | 2020-01-31T17:05:38.000Z | 2021-12-14T14:17:55.000Z | tests/test_voting_classifier.py | wellcometrust/WellcomeML | f7f5427f6dfdc6e5ee1342764263c6411e0f9bdf | [
"MIT"
] | 342 | 2020-02-05T10:40:43.000Z | 2022-03-17T19:50:23.000Z | tests/test_voting_classifier.py | wellcometrust/WellcomeML | f7f5427f6dfdc6e5ee1342764263c6411e0f9bdf | [
"MIT"
] | 9 | 2020-06-07T17:01:00.000Z | 2021-11-24T16:03:38.000Z | import numpy as np
from sklearn.pipeline import Pipeline
from wellcomeml.ml.voting_classifier import WellcomeVotingClassifier
class MockEstimator():
def __init__(self, Y_prob, multilabel=False):
self.fittted_ = True
self.Y_prob = Y_prob
self.multilabel = multilabel
self.Y = self.get_Y()
def get_Y(self):
if self.multilabel:
Y = self.Y_prob > 0.5
return Y.astype(int)
else:
Y = np.argmax(self.Y_prob, axis=1)
return Y
def fit(self, X, Y):
pass
def predict(self, X):
return self.Y
def predict_proba(self, X):
return self.Y_prob
class MockVectorizer():
def __init__(self, size):
self.size = size
def fit(self, X):
pass
def transform(self, X):
return np.random.rand(len(X), self.size)
def test_multilabel():
Y1_prob = np.array([
[0.9, 0.5],
[0.2, 0.8],
[0.3, 0.9]
])
Y2_prob = np.array([
[0.7, 0.6],
[0.6, 0.5],
[0.4, 0.3]
])
Y_expected = np.array([
[1, 1],
[0, 1],
[0, 1]
])
est1 = MockEstimator(Y1_prob, multilabel=True)
est2 = MockEstimator(Y2_prob, multilabel=True)
voting_classifier = WellcomeVotingClassifier(
estimators=[est1, est2], voting="soft", multilabel=True
)
X = ["mock", "data", "not used"]
Y = voting_classifier.predict(X)
assert np.array_equal(Y, Y_expected)
def test_binary():
Y1_prob = np.array([
[0.9, 0.1],
[0.2, 0.8],
[0.3, 0.7]
])
Y2_prob = np.array([
[0.7, 0.3],
[0.9, 0.1],
[0.4, 0.6]
])
Y_expected = np.array([
0,
0,
1
])
est1 = MockEstimator(Y1_prob)
est2 = MockEstimator(Y2_prob)
voting_classifier = WellcomeVotingClassifier(
estimators=[est1, est2], voting="soft"
)
X = ["mock", "data", "not used"]
Y = voting_classifier.predict(X)
assert np.array_equal(Y, Y_expected)
def test_multiclass():
Y1_prob = np.array([
[0.6, 0.1, 0.1, 0.2],
[0.2, 0.3, 0.1, 0.4],
[0.3, 0.1, 0.4, 0.2]
])
Y2_prob = np.array([
[0.5, 0.3, 0.2, 0.0],
[0.1, 0.6, 0.1, 0.2],
[0.1, 0.3, 0.1, 0.5]
])
Y_expected = np.array([
0,
1,
3
])
est1 = MockEstimator(Y1_prob)
est2 = MockEstimator(Y2_prob)
voting_classifier = WellcomeVotingClassifier(
estimators=[est1, est2], voting="soft"
)
X = ["mock", "data", "not used"]
Y = voting_classifier.predict(X)
assert np.array_equal(Y, Y_expected)
def test_binary_hard_odd():
Y1_prob = np.array([
[0.9, 0.1],
[0.2, 0.8],
[0.3, 0.7]
])
Y2_prob = np.array([
[0.7, 0.3],
[0.9, 0.1],
[0.4, 0.6]
])
Y3_prob = np.array([
[0.3, 0.7],
[0.8, 0.2],
[0.4, 0.6]
])
Y_expected = np.array([
0,
0,
1
])
est1 = MockEstimator(Y1_prob)
est2 = MockEstimator(Y2_prob)
est3 = MockEstimator(Y3_prob)
voting_classifier = WellcomeVotingClassifier(
estimators=[est1, est2, est3]
)
X = ["mock", "data", "not used"]
Y = voting_classifier.predict(X)
assert np.array_equal(Y, Y_expected)
def test_binary_hard_even():
Y1_prob = np.array([
[0.9, 0.1],
[0.9, 0.1],
[0.9, 0.1]
])
Y2_prob = np.array([
[0.8, 0.2],
[0.8, 0.2],
[0.2, 0.8]
])
Y3_prob = np.array([
[0.7, 0.3],
[0.3, 0.7],
[0.3, 0.7]
])
Y4_prob = np.array([
[0.4, 0.6],
[0.4, 0.6],
[0.4, 0.6]
])
Y_expected = np.array([
0,
0,
1
])
est1 = MockEstimator(Y1_prob)
est2 = MockEstimator(Y2_prob)
est3 = MockEstimator(Y3_prob)
est4 = MockEstimator(Y4_prob)
voting_classifier = WellcomeVotingClassifier(
estimators=[est1, est2, est3, est4], voting="hard"
)
X = ["mock", "data", "not used"]
Y = voting_classifier.predict(X)
assert np.array_equal(Y, Y_expected)
def test_multilabel_hard():
# Since no num_agree, majority (>=2/3) agreement needed
Y1_prob = np.array([
[0.9, 0.9],
[0.1, 0.9],
[0.1, 0.9]
])
Y2_prob = np.array([
[0.9, 0.9],
[0.9, 0.9],
[0.1, 0.1]
])
Y3_prob = np.array([
[0.9, 0.9],
[0.9, 0.1],
[0.1, 0.1]
])
Y_expected = np.array([
[1, 1],
[1, 1],
[0, 0]
])
est1 = MockEstimator(Y1_prob, multilabel=True)
est2 = MockEstimator(Y2_prob, multilabel=True)
est3 = MockEstimator(Y3_prob, multilabel=True)
voting_classifier = WellcomeVotingClassifier(
estimators=[est1, est2, est3], voting="hard", multilabel=True
)
X = ["mock", "data", "not used"]
Y = voting_classifier.predict(X)
assert np.array_equal(Y, Y_expected)
def test_multilabel_hard_num_agree():
# >=3/3 agreement needed
Y1_prob = np.array([
[0.9, 0.9],
[0.1, 0.9],
[0.1, 0.9]
])
Y2_prob = np.array([
[0.9, 0.9],
[0.9, 0.9],
[0.1, 0.1]
])
Y3_prob = np.array([
[0.9, 0.9],
[0.9, 0.1],
[0.1, 0.1]
])
Y_expected = np.array([
[1, 1],
[0, 0],
[0, 0]
])
est1 = MockEstimator(Y1_prob, multilabel=True)
est2 = MockEstimator(Y2_prob, multilabel=True)
est3 = MockEstimator(Y3_prob, multilabel=True)
voting_classifier = WellcomeVotingClassifier(
estimators=[est1, est2, est3],
voting="hard",
multilabel=True,
num_agree=3
)
X = ["mock", "data", "not used"]
Y = voting_classifier.predict(X)
assert np.array_equal(Y, Y_expected)
def test_binary_hard_num_agree():
Y1_prob = np.array([
[0.9, 0.1],
[0.9, 0.1],
[0.9, 0.1]
])
Y2_prob = np.array([
[0.8, 0.2],
[0.8, 0.2],
[0.2, 0.8]
])
Y3_prob = np.array([
[0.7, 0.3],
[0.3, 0.7],
[0.3, 0.7]
])
Y4_prob = np.array([
[0.4, 0.6],
[0.4, 0.6],
[0.4, 0.6]
])
Y_expected = np.array([
0,
0,
1
])
est1 = MockEstimator(Y1_prob)
est2 = MockEstimator(Y2_prob)
est3 = MockEstimator(Y3_prob)
est4 = MockEstimator(Y4_prob)
voting_classifier = WellcomeVotingClassifier(
estimators=[est1, est2, est3, est4], voting="hard", num_agree=2
)
X = ["mock", "data", "not used"]
Y = voting_classifier.predict(X)
assert np.array_equal(Y, Y_expected)
def test_multiclass_hard():
Y1_prob = np.array([
[0.6, 0.1, 0.1, 0.2],
[0.2, 0.3, 0.1, 0.4],
[0.3, 0.1, 0.4, 0.2]
])
Y2_prob = np.array([
[0.5, 0.3, 0.2, 0.0],
[0.1, 0.6, 0.1, 0.2],
[0.1, 0.3, 0.1, 0.5]
])
Y3_prob = np.array([
[0.5, 0.3, 0.2, 0.0],
[0.2, 0.3, 0.1, 0.4],
[0.1, 0.5, 0.1, 0.3]
])
# Using highest values:
# 1st data point: 0: 3 votes -> clear winner is 0
# 2nd data point: 1: 1 vote, 3: 2 votes -> clear winner (in majority voting) is 3
# 3rd data point: 2: 1 vote, 3: 1 vote, 1: 1 vote -> no winner, pick first in numerical order, so 1 # noqa
Y_expected = np.array([
0,
3,
1
])
est1 = MockEstimator(Y1_prob)
est2 = MockEstimator(Y2_prob)
est3 = MockEstimator(Y3_prob)
voting_classifier = WellcomeVotingClassifier(
estimators=[est1, est2, est3], voting="hard"
)
X = ["mock", "data", "not used"]
Y = voting_classifier.predict(X)
assert np.array_equal(Y, Y_expected)
def test_multiclass_hard_num_agree():
Y1_prob = np.array([
[0.6, 0.1, 0.1, 0.2],
[0.2, 0.3, 0.1, 0.4],
[0.3, 0.1, 0.4, 0.2]
])
Y2_prob = np.array([
[0.5, 0.3, 0.2, 0.0],
[0.1, 0.6, 0.1, 0.2],
[0.1, 0.3, 0.1, 0.5]
])
Y3_prob = np.array([
[0.5, 0.3, 0.2, 0.0],
[0.2, 0.3, 0.1, 0.4],
[0.1, 0.5, 0.1, 0.3]
])
# Using highest values:
# 1st data point: 0: 3 votes -> clear winner is 0
# 2nd data point: 1: 1 vote, 3: 2 votes -> no winner, pick first in numerical order, so 1
# 3rd data point: 2: 1 vote, 3: 1 vote, 1: 1 vote -> no winner, pick first in numerical order, so 1 # noqa
Y_expected = np.array([
0,
1,
1
])
est1 = MockEstimator(Y1_prob)
est2 = MockEstimator(Y2_prob)
est3 = MockEstimator(Y3_prob)
voting_classifier = WellcomeVotingClassifier(
estimators=[est1, est2, est3],
voting="hard",
num_agree=3
)
X = ["mock", "data", "not used"]
Y = voting_classifier.predict(X)
assert np.array_equal(Y, Y_expected)
def test_inc_vectorizer():
Y1_prob = np.array([
[0.9, 0.1],
[0.2, 0.8],
[0.3, 0.7]
])
Y2_prob = np.array([
[0.7, 0.3],
[0.9, 0.1],
[0.4, 0.6]
])
Y_expected = np.array([
0,
0,
1
])
pipe1 = Pipeline([('vect', MockVectorizer(size=3)), ('est', MockEstimator(Y1_prob))])
pipe2 = Pipeline([('vect', MockVectorizer(size=5)), ('est', MockEstimator(Y2_prob))])
voting_classifier = WellcomeVotingClassifier(
estimators=[pipe1, pipe2], voting="soft"
)
X = ["mock", "data", "not used"]
Y = voting_classifier.predict(X)
assert np.array_equal(Y, Y_expected)
| 23.171498 | 110 | 0.510998 | 1,410 | 9,593 | 3.358156 | 0.076596 | 0.027455 | 0.032313 | 0.078564 | 0.852587 | 0.841183 | 0.836748 | 0.809504 | 0.804013 | 0.784161 | 0 | 0.104907 | 0.322318 | 9,593 | 413 | 111 | 23.227603 | 0.623443 | 0.061712 | 0 | 0.784091 | 0 | 0 | 0.02559 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 1 | 0.053977 | false | 0.005682 | 0.008523 | 0.008523 | 0.082386 | 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 |
34c75bf135fd7fa901bb84034b36efe95547845b | 3,285 | py | Python | stimping/migrations/0002_auto_20180507_0422.py | mkschu/greensManagerDjango | 842f6cc0e5bc9fa5f36e5d996960900886d3370a | [
"Apache-2.0"
] | null | null | null | stimping/migrations/0002_auto_20180507_0422.py | mkschu/greensManagerDjango | 842f6cc0e5bc9fa5f36e5d996960900886d3370a | [
"Apache-2.0"
] | null | null | null | stimping/migrations/0002_auto_20180507_0422.py | mkschu/greensManagerDjango | 842f6cc0e5bc9fa5f36e5d996960900886d3370a | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.12 on 2018-05-07 09:22
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('stimping', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='stimp',
name='adj_speed',
field=models.FloatField(),
),
migrations.AlterField(
model_name='stimp',
name='backward1',
field=models.FloatField(),
),
migrations.AlterField(
model_name='stimp',
name='backward2',
field=models.FloatField(blank=True, null=True),
),
migrations.AlterField(
model_name='stimp',
name='backward3',
field=models.FloatField(blank=True, null=True),
),
migrations.AlterField(
model_name='stimp',
name='backwardAvg',
field=models.FloatField(),
),
migrations.AlterField(
model_name='stimp',
name='forward1',
field=models.FloatField(),
),
migrations.AlterField(
model_name='stimp',
name='forward2',
field=models.FloatField(blank=True, null=True),
),
migrations.AlterField(
model_name='stimp',
name='forward3',
field=models.FloatField(blank=True, null=True),
),
migrations.AlterField(
model_name='stimp',
name='forwardAvg',
field=models.FloatField(),
),
migrations.AlterField(
model_name='stimp',
name='left1',
field=models.FloatField(),
),
migrations.AlterField(
model_name='stimp',
name='left2',
field=models.FloatField(blank=True, null=True),
),
migrations.AlterField(
model_name='stimp',
name='left3',
field=models.FloatField(blank=True, null=True),
),
migrations.AlterField(
model_name='stimp',
name='leftAvg',
field=models.FloatField(),
),
migrations.AlterField(
model_name='stimp',
name='mu_k',
field=models.FloatField(),
),
migrations.AlterField(
model_name='stimp',
name='raw_speed',
field=models.FloatField(),
),
migrations.AlterField(
model_name='stimp',
name='right1',
field=models.FloatField(),
),
migrations.AlterField(
model_name='stimp',
name='right2',
field=models.FloatField(blank=True, null=True),
),
migrations.AlterField(
model_name='stimp',
name='right3',
field=models.FloatField(blank=True, null=True),
),
migrations.AlterField(
model_name='stimp',
name='rightAvg',
field=models.FloatField(),
),
migrations.AlterField(
model_name='stimp',
name='stdDev',
field=models.FloatField(),
),
]
| 28.318966 | 59 | 0.509893 | 270 | 3,285 | 6.096296 | 0.225926 | 0.243013 | 0.303767 | 0.352369 | 0.792831 | 0.792831 | 0.769745 | 0.769745 | 0.769745 | 0.447145 | 0 | 0.016393 | 0.368645 | 3,285 | 115 | 60 | 28.565217 | 0.777242 | 0.021005 | 0 | 0.740741 | 1 | 0 | 0.083411 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.018519 | 0 | 0.046296 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 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 |
34d764474872496435fe1cabb541c0f27ad8b10d | 7,476 | py | Python | packages/gtmapi/lmsrvlabbook/tests/test_dataloader_package.py | gigabackup/gigantum-client | 70fe6b39b87b1c56351f2b4c551b6f1693813e4f | [
"MIT"
] | 60 | 2018-09-26T15:46:00.000Z | 2021-10-10T02:37:14.000Z | packages/gtmapi/lmsrvlabbook/tests/test_dataloader_package.py | gigabackup/gigantum-client | 70fe6b39b87b1c56351f2b4c551b6f1693813e4f | [
"MIT"
] | 1,706 | 2018-09-26T16:11:22.000Z | 2021-08-20T13:37:59.000Z | packages/gtmapi/lmsrvlabbook/tests/test_dataloader_package.py | griffinmilsap/gigantum-client | 70fe6b39b87b1c56351f2b4c551b6f1693813e4f | [
"MIT"
] | 11 | 2019-03-14T13:23:51.000Z | 2022-01-25T01:29:16.000Z | from gtmcore.environment.packagemanager import PackageMetadata
from lmsrvlabbook.tests.fixtures import fixture_working_dir, build_image_for_jupyterlab
from promise import Promise
from lmsrvlabbook.dataloader.package import PackageDataloader
class TestDataloaderPackage(object):
def test_load_one_pip(self, build_image_for_jupyterlab):
"""Test loading 1 package"""
key = "pip>munit1"
lb, username = build_image_for_jupyterlab[0], build_image_for_jupyterlab[5]
loader = PackageDataloader([key], lb, username)
promise1 = loader.load(key)
assert isinstance(promise1, Promise)
pkg = promise1.get()
assert isinstance(pkg, PackageMetadata) is True
assert pkg.description == 'Package 1 for Gigantum Client unit testing.'
assert pkg.docs_url == 'https://github.com/gigantum/gigantum-client'
assert pkg.latest_version == '0.12.4'
def test_load_many_apt(self, build_image_for_jupyterlab):
lb, username = build_image_for_jupyterlab[0], build_image_for_jupyterlab[5]
keys = ["apt&curl", "apt&vim"]
loader = PackageDataloader(keys, lb, username)
promise1 = loader.load_many(keys)
assert isinstance(promise1, Promise)
version_list = promise1.get()
assert len(version_list) == 2
assert isinstance(version_list[0], PackageMetadata) is True
assert 'ubuntu' in version_list[0].latest_version
assert version_list[0].description == 'command line tool for transferring data with URL syntax'
assert version_list[0].docs_url is None
assert version_list[0].package == 'curl'
assert version_list[0].package_manager == 'apt'
assert 'ubuntu' in version_list[1].latest_version
assert version_list[1].description == 'Vi IMproved - enhanced vi editor'
assert version_list[1].docs_url is None
assert version_list[1].package == 'vim'
assert version_list[1].package_manager == 'apt'
def test_load_many_pip(self, build_image_for_jupyterlab):
"""Test loading many labbooks"""
lb, username = build_image_for_jupyterlab[0], build_image_for_jupyterlab[5]
keys = ["pip>munit1", "pip>munit2", "pip>munit3"]
loader = PackageDataloader(keys, lb, username)
promise1 = loader.load_many(keys)
assert isinstance(promise1, Promise)
version_list = promise1.get()
assert len(version_list) == 3
assert isinstance(version_list[0], PackageMetadata) is True
# Note, all the gtmunit packages were pushed with the same description, so this is correct.
assert version_list[0].latest_version == "0.12.4"
assert version_list[0].description == 'Package 1 for Gigantum Client unit testing.'
assert version_list[0].docs_url == 'https://github.com/gigantum/gigantum-client'
assert version_list[1].latest_version == "12.2"
assert version_list[1].description == 'Package 1 for Gigantum Client unit testing.'
assert version_list[1].docs_url == 'https://github.com/gigantum/gigantum-client'
assert version_list[2].latest_version == "5.0"
assert version_list[2].description == 'Package 1 for Gigantum Client unit testing.'
assert version_list[2].docs_url == 'https://github.com/gigantum/gigantum-client'
def test_load_many_conda(self, build_image_for_jupyterlab):
"""Test loading many conda3 packages"""
lb, username = build_image_for_jupyterlab[0], build_image_for_jupyterlab[5]
keys = ["conda3&cdutil", "conda3&python-coveralls", "conda3&nltk", "conda3&asdfasdffghdfdasfgh"]
loader = PackageDataloader(keys, lb, username)
promise1 = loader.load_many(keys)
assert isinstance(promise1, Promise)
version_list = promise1.get()
assert len(version_list) == 4
assert version_list[0].latest_version == "8.2.1"
assert version_list[0].description == 'A set of tools to manipulate climate data'
assert version_list[0].docs_url == 'http://anaconda.org/conda-forge/cdutil'
assert version_list[1].latest_version == "2.9.3"
assert version_list[1].description == 'Python interface to coveralls.io API\\n'
assert version_list[1].docs_url == 'http://anaconda.org/conda-forge/python-coveralls'
assert version_list[2].latest_version == "3.6.2"
assert version_list[2].description == 'Natural Language Toolkit'
assert version_list[2].docs_url == 'http://www.nltk.org/'
assert version_list[3].latest_version is None
assert version_list[3].description is None
assert version_list[3].docs_url is None
def test_load_many_conda2(self, build_image_for_jupyterlab):
"""Test loading many conda2 packages"""
lb, username = build_image_for_jupyterlab[0], build_image_for_jupyterlab[5]
keys = ["conda2&cdutil", "conda2&python-coveralls", "conda2&nltk"]
loader = PackageDataloader(keys, lb, username)
promise1 = loader.load_many(keys)
assert isinstance(promise1, Promise)
version_list = promise1.get()
assert len(version_list) == 3
assert version_list[0].latest_version == "8.2.1"
assert version_list[0].description == 'A set of tools to manipulate climate data'
assert version_list[0].docs_url == 'http://anaconda.org/conda-forge/cdutil'
assert version_list[1].latest_version == "2.9.3"
assert version_list[1].description == 'Python interface to coveralls.io API\\n'
assert version_list[1].docs_url == 'http://anaconda.org/conda-forge/python-coveralls'
assert version_list[2].latest_version == "3.6.2"
assert version_list[2].description == 'Natural Language Toolkit'
assert version_list[2].docs_url == 'http://www.nltk.org/'
def test_load_many_mixed(self, build_image_for_jupyterlab):
"""Test loading many labbooks"""
lb, username = build_image_for_jupyterlab[0], build_image_for_jupyterlab[5]
keys = ["conda3&cdutil", "pip>munit1", "pip>munit2", "conda3&nltk", 'apt&curl']
loader = PackageDataloader(keys, lb, username)
promise1 = loader.load_many(keys)
assert isinstance(promise1, Promise)
version_list = promise1.get()
assert len(version_list) == 5
assert version_list[0].latest_version == "8.2.1"
assert version_list[0].description == 'A set of tools to manipulate climate data'
assert version_list[0].docs_url == 'http://anaconda.org/conda-forge/cdutil'
assert version_list[1].latest_version == '0.12.4'
assert version_list[1].description == 'Package 1 for Gigantum Client unit testing.'
assert version_list[1].docs_url == 'https://github.com/gigantum/gigantum-client'
assert version_list[2].latest_version == '12.2'
assert version_list[2].description == 'Package 1 for Gigantum Client unit testing.'
assert version_list[2].docs_url == 'https://github.com/gigantum/gigantum-client'
assert version_list[3].latest_version == '3.6.2'
assert version_list[3].description == 'Natural Language Toolkit'
assert version_list[3].docs_url == 'http://www.nltk.org/'
assert version_list[4].latest_version is not None
assert version_list[4].description == 'command line tool for transferring data with URL syntax'
assert version_list[4].docs_url is None
| 49.84 | 104 | 0.689005 | 973 | 7,476 | 5.101747 | 0.13258 | 0.148469 | 0.181507 | 0.088034 | 0.820911 | 0.765109 | 0.742949 | 0.716962 | 0.65834 | 0.626712 | 0 | 0.026928 | 0.200241 | 7,476 | 149 | 105 | 50.174497 | 0.803312 | 0.031434 | 0 | 0.530973 | 0 | 0 | 0.212642 | 0.009981 | 0 | 0 | 0 | 0 | 0.637168 | 1 | 0.053097 | false | 0 | 0.035398 | 0 | 0.097345 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
34df00bfbdda90a9269776a56618b5a97c083025 | 4,338 | py | Python | code/Networks.py | danielrenebayer/HVAC-RL-Framework | 7b71eb1a0624c2fafe8b9a5f453ba393187589fe | [
"MIT"
] | null | null | null | code/Networks.py | danielrenebayer/HVAC-RL-Framework | 7b71eb1a0624c2fafe8b9a5f453ba393187589fe | [
"MIT"
] | null | null | null | code/Networks.py | danielrenebayer/HVAC-RL-Framework | 7b71eb1a0624c2fafe8b9a5f453ba393187589fe | [
"MIT"
] | null | null | null |
#
# Function for generating torch-networks
#
import torch
import collections
def generate_network(network_type, input_size, output_size, use_layer_norm = False, add_tanh = False):
if network_type == "2HiddenLayer,Trapezium":
hidden_size1 = max(19, input_size)
hidden_size2 = (hidden_size1 + 2*output_size) // 3
model = collections.OrderedDict()
model["linear-1"] = torch.nn.Linear(input_size, hidden_size1)
if use_layer_norm:
model["lnorm-1"] = torch.nn.LayerNorm(hidden_size1)
model["leakyReLU-1"] = torch.nn.LeakyReLU()
model["linear-2"] = torch.nn.Linear(hidden_size1, hidden_size2)
if use_layer_norm:
model["lnorm-2"] = torch.nn.LayerNorm(hidden_size2)
model["leakyReLU-2"] = torch.nn.LeakyReLU()
model["linear-3"] = torch.nn.Linear(hidden_size2, output_size)
if add_tanh:
model["tanh-3"] = torch.nn.Tanh()
return torch.nn.Sequential(model)
if network_type == "2HiddenLayer,Trapezium,SiLU":
hidden_size1 = max(19, input_size)
hidden_size2 = (hidden_size1 + 2*output_size) // 3
model = collections.OrderedDict()
model["linear-1"] = torch.nn.Linear(input_size, hidden_size1)
if use_layer_norm:
model["lnorm-1"] = torch.nn.LayerNorm(hidden_size1)
model["SiLU-1"] = torch.nn.SiLU()
model["linear-2"] = torch.nn.Linear(hidden_size1, hidden_size2)
if use_layer_norm:
model["lnorm-2"] = torch.nn.LayerNorm(hidden_size2)
model["SiLU-2"] = torch.nn.SiLU()
model["linear-3"] = torch.nn.Linear(hidden_size2, output_size)
if add_tanh:
model["tanh-3"] = torch.nn.Tanh()
return torch.nn.Sequential(model)
if network_type == "2HiddenLayer,FastPyramid":
hidden_size1 = input_size // 3
hidden_size2 = (hidden_size1 + 3*output_size) // 4
model = collections.OrderedDict()
model["linear-1"] = torch.nn.Linear(input_size, hidden_size1)
if use_layer_norm:
model["lnorm-1"] = torch.nn.LayerNorm(hidden_size1)
model["leakyReLU-1"] = torch.nn.LeakyReLU()
model["linear-2"] = torch.nn.Linear(hidden_size1, hidden_size2)
if use_layer_norm:
model["lnorm-2"] = torch.nn.LayerNorm(hidden_size2)
model["leakyReLU-2"] = torch.nn.LeakyReLU()
model["linear-3"] = torch.nn.Linear(hidden_size2, output_size)
if add_tanh:
model["tanh-3"] = torch.nn.Tanh()
return torch.nn.Sequential(model)
if network_type == "1HiddenBigLayer":
hidden_size1 = 3 * max(input_size, output_size)
model = collections.OrderedDict()
model["linear-1"] = torch.nn.Linear(input_size, hidden_size1)
if use_layer_norm:
model["lnorm-1"] = torch.nn.LayerNorm(hidden_size1)
model["leakyReLU-1"] = torch.nn.LeakyReLU()
model["linear-2"] = torch.nn.Linear(hidden_size1, output_size)
if add_tanh:
model["tanh-2"] = torch.nn.Tanh()
return torch.nn.Sequential(model)
if network_type == "1HiddenBigLayer,ELU":
hidden_size1 = 3 * max(input_size, output_size)
model = collections.OrderedDict()
model["linear-1"] = torch.nn.Linear(input_size, hidden_size1)
if use_layer_norm:
model["lnorm-1"] = torch.nn.LayerNorm(hidden_size1)
model["ELU-1"] = torch.nn.ELU(alpha=0.9)
model["linear-2"] = torch.nn.Linear(hidden_size1, output_size)
if add_tanh:
model["tanh-2"] = torch.nn.Tanh()
return torch.nn.Sequential(model)
if network_type == "1HiddenBigLayer,SiLU":
hidden_size1 = 3 * max(input_size, output_size)
model = collections.OrderedDict()
model["linear-1"] = torch.nn.Linear(input_size, hidden_size1)
if use_layer_norm:
model["lnorm-1"] = torch.nn.LayerNorm(hidden_size1)
model["SiLU-1"] = torch.nn.SiLU()
model["linear-2"] = torch.nn.Linear(hidden_size1, output_size)
if add_tanh:
model["tanh-2"] = torch.nn.Tanh()
return torch.nn.Sequential(model)
else:
raise AttributeError(f"Unknown network type '{network_type}'.")
| 42.950495 | 102 | 0.616874 | 546 | 4,338 | 4.716117 | 0.09707 | 0.12233 | 0.055922 | 0.048932 | 0.885437 | 0.864466 | 0.864466 | 0.864466 | 0.864466 | 0.864466 | 0 | 0.03075 | 0.250346 | 4,338 | 100 | 103 | 43.38 | 0.76107 | 0.00876 | 0 | 0.825581 | 1 | 0 | 0.107592 | 0.017 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011628 | false | 0 | 0.023256 | 0 | 0.104651 | 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 |
9b5a320d93bf1a523376cb116c19074880474517 | 5,445 | py | Python | tests/test_tg_toc.py | TuxCoder/Clay | 04f15b4d742b14d09df9049dd91cfa4386cba66e | [
"MIT"
] | null | null | null | tests/test_tg_toc.py | TuxCoder/Clay | 04f15b4d742b14d09df9049dd91cfa4386cba66e | [
"MIT"
] | null | null | null | tests/test_tg_toc.py | TuxCoder/Clay | 04f15b4d742b14d09df9049dd91cfa4386cba66e | [
"MIT"
] | null | null | null | from os.path import dirname, join
import shutil
from clay.tglobals import ToC
CLAY_SOURCE_PATH = join(dirname(__file__), '..', 'clay')
FILTER = ('.*', '*.pyc', '__pycache__' )
def setup_function(function):
try:
shutil.rmtree(join(CLAY_SOURCE_PATH, '__pycache__'))
except OSError:
pass
def test_toc_build():
toc = ToC(CLAY_SOURCE_PATH, filter=FILTER)
assert list(toc._leafs.items()) == [
('__init__.py', '/__init__.py'),
('helpers.py', '/helpers.py'),
('jinja_includewith.py', '/jinja_includewith.py'),
('main.py', '/main.py'),
('manage.py', '/manage.py'),
('server.py', '/server.py'),
('static.py', '/static.py'),
('tglobals.py', '/tglobals.py'),
('wsgiapp.py', '/wsgiapp.py')
]
assert list(toc._branches.keys()) == ['markdown_ext', 'source']
def test_toc_iter():
toc = ToC(CLAY_SOURCE_PATH, filter=FILTER)
assert list(toc) == [
('__init__.py', '/__init__.py'),
('helpers.py', '/helpers.py'),
('jinja_includewith.py', '/jinja_includewith.py'),
('main.py', '/main.py'),
('manage.py', '/manage.py'),
('server.py', '/server.py'),
('static.py', '/static.py'),
('tglobals.py', '/tglobals.py'),
('wsgiapp.py', '/wsgiapp.py')
]
assert list(toc.source) == [
('_index.html', '/source/_index.html'),
('_index.txt', '/source/_index.txt'),
('_notfound.html', '/source/_notfound.html'),
]
def test_toc_render_maxdepth0():
expected = """<ul class="toc">
<li><a href="/__init__.py">__init__.py</a></li>
<li><a href="/helpers.py">helpers.py</a></li>
<li><a href="/jinja_includewith.py">jinja_includewith.py</a></li>
<li><a href="/main.py">main.py</a></li>
<li><a href="/manage.py">manage.py</a></li>
<li><a href="/server.py">server.py</a></li>
<li><a href="/static.py">static.py</a></li>
<li><a href="/tglobals.py">tglobals.py</a></li>
<li><a href="/wsgiapp.py">wsgiapp.py</a></li>
</ul>"""
toc = ToC(CLAY_SOURCE_PATH, filter=FILTER)
html = toc(maxdepth=0)
assert expected == html
def test_toc_render_maxdepth1():
expected = """<ul class="toc">
<li><a href="/__init__.py">__init__.py</a></li>
<li><a href="/helpers.py">helpers.py</a></li>
<li><a href="/jinja_includewith.py">jinja_includewith.py</a></li>
<li><a href="/main.py">main.py</a></li>
<li><a href="/manage.py">manage.py</a></li>
<li><a href="/server.py">server.py</a></li>
<li><a href="/static.py">static.py</a></li>
<li><a href="/tglobals.py">tglobals.py</a></li>
<li><a href="/wsgiapp.py">wsgiapp.py</a></li>
<li><span>markdown_ext</span>
<ul class="toc">
<li><a href="/markdown_ext/__init__.py">__init__.py</a></li>
<li><a href="/markdown_ext/jinja.py">jinja.py</a></li>
<li><a href="/markdown_ext/md_admonition.py">md_admonition.py</a></li>
<li><a href="/markdown_ext/md_captions.py">md_captions.py</a></li>
<li><a href="/markdown_ext/md_delinsmark.py">md_delinsmark.py</a></li>
<li><a href="/markdown_ext/md_superscript.py">md_superscript.py</a></li>
<li><a href="/markdown_ext/render.py">render.py</a></li>
</ul>
</li>
<li><span>source</span>
<ul class="toc">
<li><a href="/source/_index.html">_index.html</a></li>
<li><a href="/source/_index.txt">_index.txt</a></li>
<li><a href="/source/_notfound.html">_notfound.html</a></li>
</ul>
</li>
</ul>"""
toc = ToC(CLAY_SOURCE_PATH, filter=FILTER)
html = toc(maxdepth=1)
print(html)
assert expected == html
def test_toc_render_maxdepthplus():
toc = ToC(CLAY_SOURCE_PATH, filter=FILTER)
assert toc(maxdepth=2) == toc(maxdepth=9999)
def test_toc_render_folders_first():
expected = """<ul class="toc">
<li><span>markdown_ext</span>
<ul class="toc">
<li><a href="/markdown_ext/__init__.py">__init__.py</a></li>
<li><a href="/markdown_ext/jinja.py">jinja.py</a></li>
<li><a href="/markdown_ext/md_admonition.py">md_admonition.py</a></li>
<li><a href="/markdown_ext/md_captions.py">md_captions.py</a></li>
<li><a href="/markdown_ext/md_delinsmark.py">md_delinsmark.py</a></li>
<li><a href="/markdown_ext/md_superscript.py">md_superscript.py</a></li>
<li><a href="/markdown_ext/render.py">render.py</a></li>
</ul>
</li>
<li><span>source</span>
<ul class="toc">
<li><a href="/source/_index.html">_index.html</a></li>
<li><a href="/source/_index.txt">_index.txt</a></li>
<li><a href="/source/_notfound.html">_notfound.html</a></li>
</ul>
</li>
<li><a href="/__init__.py">__init__.py</a></li>
<li><a href="/helpers.py">helpers.py</a></li>
<li><a href="/jinja_includewith.py">jinja_includewith.py</a></li>
<li><a href="/main.py">main.py</a></li>
<li><a href="/manage.py">manage.py</a></li>
<li><a href="/server.py">server.py</a></li>
<li><a href="/static.py">static.py</a></li>
<li><a href="/tglobals.py">tglobals.py</a></li>
<li><a href="/wsgiapp.py">wsgiapp.py</a></li>
</ul>"""
toc = ToC(CLAY_SOURCE_PATH, filter=FILTER)
html = toc(maxdepth=1, folders_first=True)
print(html)
assert expected == html
| 36.059603 | 84 | 0.572819 | 787 | 5,445 | 3.752224 | 0.092757 | 0.047748 | 0.111412 | 0.124958 | 0.850322 | 0.825262 | 0.825262 | 0.802235 | 0.789367 | 0.789367 | 0 | 0.002272 | 0.191552 | 5,445 | 150 | 85 | 36.3 | 0.66856 | 0 | 0 | 0.765625 | 0 | 0 | 0.699541 | 0.425712 | 0 | 0 | 0 | 0 | 0.0625 | 1 | 0.054688 | false | 0.007813 | 0.023438 | 0 | 0.078125 | 0.015625 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
fd3ace3e9e586f4397b5c5cf84e69703383471e5 | 306 | py | Python | Mediapipe proj/tempCodeRunnerFile.py | shivam66151/Student_Proctoring_System | 0788bc6b0be1dd484444ac060919b7e3a63d0a55 | [
"MIT"
] | null | null | null | Mediapipe proj/tempCodeRunnerFile.py | shivam66151/Student_Proctoring_System | 0788bc6b0be1dd484444ac060919b7e3a63d0a55 | [
"MIT"
] | null | null | null | Mediapipe proj/tempCodeRunnerFile.py | shivam66151/Student_Proctoring_System | 0788bc6b0be1dd484444ac060919b7e3a63d0a55 | [
"MIT"
] | null | null | null | # mp_drawing.draw_landmarks(
# image=image,
# landmark_list=face_landmarks,
# connections=mp_face_mesh.FACE_CONNECTIONS,
# landmark_drawing_spec=drawing_spec,
# connection_drawing_spec=drawing_spec) | 51 | 65 | 0.54902 | 26 | 306 | 5.961538 | 0.461538 | 0.283871 | 0.232258 | 0.283871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.388889 | 306 | 6 | 66 | 51 | 0.828877 | 0.803922 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b5c89bb9b571c283f6671424337334d92d449274 | 260 | py | Python | pymatting/foreground/__init__.py | the21st/pymatting | 6791baacbd653b86a5b740f93516c2928be6caee | [
"MIT"
] | 1 | 2020-05-29T07:37:06.000Z | 2020-05-29T07:37:06.000Z | pymatting/foreground/__init__.py | AvatarWorld/pymatting | c6a48e2887e61d1f074a830e69b52c34fea9d7af | [
"MIT"
] | null | null | null | pymatting/foreground/__init__.py | AvatarWorld/pymatting | c6a48e2887e61d1f074a830e69b52c34fea9d7af | [
"MIT"
] | null | null | null | from pymatting.foreground.estimate_foreground_cf import estimate_foreground_cf
from pymatting.foreground.estimate_foreground_ml import estimate_foreground_ml
from pymatting.foreground.estimate_foreground_ml import estimate_foreground_ml as estimate_foreground
| 65 | 101 | 0.923077 | 33 | 260 | 6.878788 | 0.242424 | 0.555066 | 0.352423 | 0.409692 | 0.788546 | 0.60793 | 0.60793 | 0.60793 | 0.60793 | 0.60793 | 0 | 0 | 0.053846 | 260 | 3 | 102 | 86.666667 | 0.922764 | 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 | 1 | 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 |
bd169464fff8d93e5788809ac4ba48e2e7757225 | 174 | py | Python | backend/helper/DateHelper.py | Integration-Continue-TP/societe-pieces-auto | 80b7efa472531553026c6393c422e899e17c857c | [
"MIT"
] | null | null | null | backend/helper/DateHelper.py | Integration-Continue-TP/societe-pieces-auto | 80b7efa472531553026c6393c422e899e17c857c | [
"MIT"
] | null | null | null | backend/helper/DateHelper.py | Integration-Continue-TP/societe-pieces-auto | 80b7efa472531553026c6393c422e899e17c857c | [
"MIT"
] | null | null | null | from datetime import datetime
import pytz
class DateHelper:
@staticmethod
def get_today_date():
return datetime.now(pytz.utc).strftime("%Y-%m-%dT%H:%M:%S")
| 19.333333 | 67 | 0.683908 | 25 | 174 | 4.68 | 0.8 | 0.239316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178161 | 174 | 8 | 68 | 21.75 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.097701 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
bd2fb7934ae0159aae240befd79c402bf053f0a0 | 112 | py | Python | amalgama/__init__.py | andriyor/amalgama-pq | 9b3478ca22080fc612fb40cda488a8538b2624dc | [
"MIT"
] | 2 | 2019-12-16T07:55:00.000Z | 2020-04-21T14:55:18.000Z | amalgama/__init__.py | Live-Lyrics/amalgama-pq | 9b3478ca22080fc612fb40cda488a8538b2624dc | [
"MIT"
] | 1 | 2021-03-31T19:18:52.000Z | 2021-03-31T19:18:52.000Z | amalgama/__init__.py | andriyor/amalgama-pq | 9b3478ca22080fc612fb40cda488a8538b2624dc | [
"MIT"
] | null | null | null | from .amalgama import get_url, get_html, get_all_translates_lines, get_all_translates, get_first_translate_text
| 56 | 111 | 0.883929 | 18 | 112 | 4.944444 | 0.666667 | 0.134831 | 0.359551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 112 | 1 | 112 | 112 | 0.855769 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
1febfaaaef1702a1b7ef6551aeb19c6dbe2318e4 | 1,485 | py | Python | server/app/forms.py | atom-space/atomspace.od.ua | a429c95534ffb14d446af5e685c46478aee90fe5 | [
"MIT"
] | 3 | 2019-02-06T22:04:50.000Z | 2019-11-07T18:57:34.000Z | server/app/forms.py | atom-space/atomspace.od.ua | a429c95534ffb14d446af5e685c46478aee90fe5 | [
"MIT"
] | 16 | 2019-07-09T18:05:34.000Z | 2022-03-11T23:43:59.000Z | server/app/forms.py | atom-space/atomspace.od.ua | a429c95534ffb14d446af5e685c46478aee90fe5 | [
"MIT"
] | 2 | 2019-04-21T23:10:33.000Z | 2019-09-08T12:33:50.000Z | from django import forms
class MerchForm(forms.Form):
name = forms.CharField(label='Name', widget=forms.TextInput(
attrs={'class': 'input-group-text'}))
price = forms.IntegerField(label='Price', widget=forms.NumberInput(
attrs={'class': 'input-group-text'}))
photo = forms.ImageField(label='Item photo(not SVG)')
class NewsForm(forms.Form):
header = forms.CharField(widget=forms.TextInput(
attrs={'class': 'input-group-text'}))
content = forms.CharField(widget=forms.Textarea(
attrs={'class': 'form-control'}))
photo = forms.ImageField(label='Article photo(not SVG)')
class EditMerch(forms.Form):
name = forms.CharField(label='Name', widget=forms.TextInput(
attrs={'class': 'input-group-text'}), required=False)
price = forms.IntegerField(label='Price', widget=forms.NumberInput(
attrs={'class': 'input-group-text'}), required=False)
class EditNews(forms.Form):
header = forms.CharField(widget=forms.TextInput(
attrs={'class': 'input-group-text'}), required=False)
content = forms.CharField(widget=forms.Textarea(
attrs={'class': 'form-control'}), required=False)
class LoginForm(forms.Form):
username = forms.CharField(widget=forms.TextInput(
attrs={'class': 'input-group-item', 'placeholder': 'Username:'}))
password = forms.CharField(widget=forms.TextInput(
attrs={'class': 'input-group-item', 'placeholder': 'Password:', 'type': 'password'}))
| 38.076923 | 93 | 0.672727 | 170 | 1,485 | 5.876471 | 0.229412 | 0.11011 | 0.12012 | 0.16016 | 0.761762 | 0.761762 | 0.761762 | 0.748749 | 0.748749 | 0.748749 | 0 | 0 | 0.152189 | 1,485 | 38 | 94 | 39.078947 | 0.793487 | 0 | 0 | 0.5 | 0 | 0 | 0.210774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.071429 | 0.035714 | 0 | 0.642857 | 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 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 8 |
950383fed794f385994e07a81a81fa20a416898e | 62 | py | Python | src/test.py | sd2001/-le-medicin | a509e10552f3ad8574853a52ea1b2c6255dae5eb | [
"MIT"
] | 17 | 2020-09-20T20:40:54.000Z | 2021-02-24T06:27:14.000Z | src/test.py | srm-mic/-le-medicin | df23d095e2b28bf2eb05925a061eb3417573d7b1 | [
"MIT"
] | null | null | null | src/test.py | srm-mic/-le-medicin | df23d095e2b28bf2eb05925a061eb3417573d7b1 | [
"MIT"
] | 5 | 2020-09-22T15:02:19.000Z | 2021-10-04T15:56:17.000Z |
def add(a,b):
print(a+b)
def subs(a,b):
print(a-b)
| 8.857143 | 14 | 0.5 | 14 | 62 | 2.214286 | 0.428571 | 0.258065 | 0.451613 | 0.516129 | 0.580645 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.274194 | 62 | 7 | 15 | 8.857143 | 0.688889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
1f7fac4bee157e0f7c2e861223149809d9a6c661 | 204 | py | Python | maxwell_faker/__init__.py | movio/maxwell-faker | 3c38128a82f0a589afab3d35d1f9461d498474ad | [
"MIT"
] | 2 | 2016-03-21T04:59:16.000Z | 2016-03-22T01:59:39.000Z | maxwell_faker/__init__.py | movio/maxwell-faker | 3c38128a82f0a589afab3d35d1f9461d498474ad | [
"MIT"
] | 5 | 2016-03-21T12:26:58.000Z | 2016-11-15T14:29:02.000Z | maxwell_faker/__init__.py | movio/maxwell-faker | 3c38128a82f0a589afab3d35d1f9461d498474ad | [
"MIT"
] | 2 | 2016-10-19T20:10:41.000Z | 2019-10-03T21:41:14.000Z | # -*- coding: utf-8 -*-
def daemon_main():
from daemon import main
main()
def bootstrap_main():
from bootstrap import main
main()
def gen_main():
from gen import main
main()
| 12 | 30 | 0.607843 | 27 | 204 | 4.481481 | 0.37037 | 0.198347 | 0.347107 | 0.280992 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006757 | 0.27451 | 204 | 16 | 31 | 12.75 | 0.810811 | 0.102941 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
2f2749f4eeff2a5362d1be9b1fdb79f9e7fafd5c | 96 | py | Python | template_python_project/core/concat.py | ulphidius/template_python_project | 20cff62873207e143ded0bb548597fd5017c4cc2 | [
"MIT"
] | 1 | 2021-03-14T17:00:55.000Z | 2021-03-14T17:00:55.000Z | template_python_project/core/concat.py | ulphidius/template_python_project | 20cff62873207e143ded0bb548597fd5017c4cc2 | [
"MIT"
] | null | null | null | template_python_project/core/concat.py | ulphidius/template_python_project | 20cff62873207e143ded0bb548597fd5017c4cc2 | [
"MIT"
] | null | null | null | def concat(first_string, second_string):
return "{} {}".format(first_string, second_string)
| 32 | 54 | 0.739583 | 12 | 96 | 5.583333 | 0.583333 | 0.328358 | 0.507463 | 0.686567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114583 | 96 | 2 | 55 | 48 | 0.788235 | 0 | 0 | 0 | 0 | 0 | 0.052083 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
2f58554f3586d2886cb61168eeaa7105481987ca | 29,931 | py | Python | test/programytest/rdf/test_collection.py | cen-ai/program-y | a753667638147544c54dbebd9f1c8f9ae7f2159e | [
"MIT"
] | 5 | 2018-08-21T00:13:45.000Z | 2018-09-01T20:00:55.000Z | test/programytest/rdf/test_collection.py | cen-ai/program-y | a753667638147544c54dbebd9f1c8f9ae7f2159e | [
"MIT"
] | 1 | 2018-09-12T18:30:17.000Z | 2018-09-12T18:30:17.000Z | test/programytest/rdf/test_collection.py | cen-ai/program-y | a753667638147544c54dbebd9f1c8f9ae7f2159e | [
"MIT"
] | 5 | 2018-08-21T00:08:36.000Z | 2018-09-23T06:11:04.000Z | import unittest
import os
import os.path
from programy.rdf.collection import RDFCollection
from programy.storage.stores.file.config import FileStorageConfiguration
from programy.storage.stores.file.engine import FileStorageEngine
from programy.storage.stores.file.config import FileStoreConfiguration
from programy.storage.factory import StorageFactory
class RDFCollectionTests(unittest.TestCase):
def add_data(self, collection):
collection.add_entity("MONKEY", "LEGS", "2", "ANIMALS")
collection.add_entity("MONKEY", "HASFUR", "true", "ANIMALS")
collection.add_entity("ZEBRA", "LEGS", "4", "ANIMALS")
collection.add_entity("BIRD", "LEGS", "2", "ANIMALS")
collection.add_entity("ELEPHANT", "TRUNK", "true", "ANIMALS")
###################################################################################################################
# RDF Database creation
#
def test_add_collection(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
collection.add_entity("ACCOUNT", "hasSize", "0", "BANIKING")
self.assertTrue(collection.has_subject('ACCOUNT'))
self.assertTrue(collection.has_predicate('ACCOUNT', 'hasSize'))
self.assertTrue(collection.has_object('ACCOUNT', 'hasSize', "0"))
def test_delete_collection_subject(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
collection.add_entity("ACCOUNT", "hasSize", "0", "BANIKING")
self.assertTrue(collection.has_subject('ACCOUNT'))
self.assertTrue(collection.has_predicate('ACCOUNT', 'hasSize'))
self.assertTrue(collection.has_object('ACCOUNT', 'hasSize', "0"))
collection.delete_entity("ACCOUNT")
self.assertFalse(collection.has_subject('ACCOUNT'))
def test_delete_collection_subject_predicate(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
collection.add_entity("ACCOUNT", "hasSize", "0", "BANIKING")
self.assertTrue(collection.has_subject('ACCOUNT'))
self.assertTrue(collection.has_predicate('ACCOUNT', 'hasSize'))
self.assertTrue(collection.has_object('ACCOUNT', 'hasSize', "0"))
collection.delete_entity("ACCOUNT", "hasSize")
self.assertFalse(collection.has_subject('ACCOUNT'))
def test_delete_collection_subject_predicate_object(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
collection.add_entity("ACCOUNT", "hasSize", "0", "BANIKING")
self.assertTrue(collection.has_subject('ACCOUNT'))
self.assertTrue(collection.has_predicate('ACCOUNT', 'hasSize'))
self.assertTrue(collection.has_object('ACCOUNT', 'hasSize', "0"))
collection.delete_entity("ACCOUNT", "hasSize", "0")
self.assertFalse(collection.has_subject('ACCOUNT'))
self.assertFalse(collection.has_predicate('ACCOUNT', 'hasSize'))
self.assertFalse(collection.has_object('ACCOUNT', 'hasSize', "0"))
def test_delete_collection_subject_predicate_diff_object(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
collection.add_entity("ACCOUNT", "hasSize", "0", "BANKING", "BANIKING")
self.assertTrue(collection.has_subject('ACCOUNT'))
self.assertTrue(collection.has_predicate('ACCOUNT', 'hasSize'))
self.assertTrue(collection.has_object('ACCOUNT', 'hasSize', "0"))
collection.delete_entity("ACCOUNT", "hasSize", "1")
self.assertTrue(collection.has_subject('ACCOUNT'))
self.assertTrue(collection.has_predicate('ACCOUNT', 'hasSize'))
self.assertTrue(collection.has_object('ACCOUNT', 'hasSize', "0"))
###################################################################################################################
# Loading
#
def test_load_from_file(self):
config = FileStorageConfiguration()
config._rdf_storage = FileStoreConfiguration(dirs=[os.path.dirname(__file__) + os.sep + "test_files" + os.sep + "rdfs"])
factory = StorageFactory()
storage_engine = FileStorageEngine(config)
factory._storage_engines[StorageFactory.RDF] = storage_engine
factory._store_to_engine_map[StorageFactory.RDF] = storage_engine
storage_engine.initialise()
collection = RDFCollection()
self.assertIsNotNone(collection)
collection.load(factory)
self.assertTrue(collection.has_subject("TEST1"))
self.assertTrue(collection.has_predicate("TEST1", "HASPURPOSE"))
self.assertTrue(collection.has_object("TEST1", "HASPURPOSE", "to test"))
def test_reload_from_file(self):
config = FileStorageConfiguration()
config._rdf_storage = FileStoreConfiguration(dirs=[os.path.dirname(__file__) + os.sep + "test_files" + os.sep + "rdfs"])
factory = StorageFactory()
storage_engine = FileStorageEngine(config)
factory._storage_engines[StorageFactory.RDF] = storage_engine
factory._store_to_engine_map[StorageFactory.RDF] = storage_engine
storage_engine.initialise()
collection = RDFCollection()
self.assertIsNotNone(collection)
collection.load(factory)
self.assertTrue(collection.has_subject("TEST1"))
self.assertTrue(collection.has_predicate("TEST1", "HASPURPOSE"))
self.assertTrue(collection.has_object("TEST1", "HASPURPOSE", "to test"))
collection.delete_entity("TEST1", "HASPURPOSE", "to test")
self.assertFalse(collection.has_object("TEST1", "HASPURPOSE", "to test"))
collection.reload(factory, "TESTDATA")
self.assertTrue(collection.has_subject("TEST1"))
self.assertTrue(collection.has_predicate("TEST1", "HASPURPOSE"))
self.assertTrue(collection.has_object("TEST1", "HASPURPOSE", "to test"))
###################################################################################################################
# Basic matching
#
def test_all_as_tuples(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
self.add_data(collection)
all = collection.all_as_tuples()
self.assertIsNotNone(all)
self.assertEqual(5, len(all))
self.assertTrue(["MONKEY", "LEGS", "2"] in all)
self.assertTrue(["MONKEY", "HASFUR", "true"] in all)
self.assertTrue(["ZEBRA", "LEGS", "4"] in all)
self.assertTrue(["BIRD", "LEGS", "2"] in all)
self.assertTrue(["ELEPHANT", "TRUNK", "true"] in all)
def test_match_all_as_tuples(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
self.add_data(collection)
matched = collection.matched_as_tuples()
self.assertIsNotNone(matched)
self.assertEqual(5, len(matched))
self.assertTrue(["MONKEY", "LEGS", "2"] in matched)
self.assertTrue(["MONKEY", "HASFUR", "true"] in matched)
self.assertTrue(["ZEBRA", "LEGS", "4"] in matched)
self.assertTrue(["BIRD", "LEGS", "2"] in matched)
self.assertTrue(["ELEPHANT", "TRUNK", "true"] in matched)
def test_match_all_as_tuples_subject(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
self.add_data(collection)
matched = collection.matched_as_tuples(subject="MONKEY")
self.assertIsNotNone(matched)
self.assertEqual(2, len(matched))
self.assertTrue(["MONKEY", "LEGS", "2"] in matched)
self.assertTrue(["MONKEY", "HASFUR", "true"] in matched)
def test_match_all_as_tuples_subject_predicate(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
self.add_data(collection)
matched = collection.matched_as_tuples(subject="MONKEY", predicate="LEGS")
self.assertIsNotNone(matched)
self.assertEqual(1, len(matched))
self.assertTrue(["MONKEY", "LEGS", "2"] in matched)
def test_match_all_as_tuples_subject_predicate_object(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
self.add_data(collection)
matched = collection.matched_as_tuples(subject="MONKEY", predicate="LEGS", obj="2")
self.assertIsNotNone(matched)
self.assertEqual(1, len(matched))
self.assertTrue(["MONKEY", "LEGS", "2"] in matched)
def test_match_all_as_tuples_predicate(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
self.add_data(collection)
matched = collection.matched_as_tuples(predicate="LEGS")
self.assertIsNotNone(matched)
self.assertEqual(3, len(matched))
self.assertTrue(["MONKEY", "LEGS", "2"] in matched)
self.assertTrue(["ZEBRA", "LEGS", "4"] in matched)
self.assertTrue(["BIRD", "LEGS", "2"] in matched)
def test_match_all_as_tuples_predicate_object(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
self.add_data(collection)
matched = collection.matched_as_tuples(predicate="LEGS", obj="2")
self.assertIsNotNone(matched)
self.assertEqual(2, len(matched))
self.assertTrue(["MONKEY", "LEGS", "2"] in matched)
self.assertTrue(["BIRD", "LEGS", "2"] in matched)
def test_match_as_tuples_subject_object(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
self.add_data(collection)
matched = collection.matched_as_tuples(subject="MONKEY", obj="2")
self.assertIsNotNone(matched)
self.assertEqual(1, len(matched))
self.assertTrue(["MONKEY", "LEGS", "2"] in matched)
def test_remove_subject(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
self.add_data(collection)
all = collection.all_as_tuples()
remains = collection.remove(all, subject='MONKEY')
self.assertIsNotNone(remains)
self.assertEqual(3, len(remains))
self.assertTrue(["ZEBRA", "LEGS", "4"] in remains)
self.assertTrue(["BIRD", "LEGS", "2"] in remains)
self.assertTrue(["ELEPHANT", "TRUNK", "true"] in remains)
def test_remove_subject_predicate(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
self.add_data(collection)
all = collection.all_as_tuples()
remains = collection.remove(all, subject='MONKEY', predicate="LEGS")
self.assertIsNotNone(remains)
self.assertEqual(4, len(remains))
self.assertTrue(["MONKEY", "HASFUR", "true"] in remains)
self.assertTrue(["ZEBRA", "LEGS", "4"] in remains)
self.assertTrue(["BIRD", "LEGS", "2"] in remains)
self.assertTrue(["ELEPHANT", "TRUNK", "true"] in remains)
def test_remove_subject_object(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
self.add_data(collection)
all = collection.all_as_tuples()
remains = collection.remove(all, subject='MONKEY', obj="2")
self.assertIsNotNone(remains)
self.assertEqual(4, len(remains))
self.assertTrue(["MONKEY", "HASFUR", "true"] in all)
self.assertTrue(["ZEBRA", "LEGS", "4"] in all)
self.assertTrue(["BIRD", "LEGS", "2"] in all)
self.assertTrue(["ELEPHANT", "TRUNK", "true"] in all)
def test_remove_predicate(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
self.add_data(collection)
all = collection.all_as_tuples()
remains = collection.remove(all, predicate='LEGS')
self.assertIsNotNone(remains)
self.assertEqual(2, len(remains))
self.assertTrue(["MONKEY", "HASFUR", "true"] in remains)
self.assertTrue(["ELEPHANT", "TRUNK", "true"] in remains)
def test_remove_predicate_object(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
self.add_data(collection)
all = collection.all_as_tuples()
remains = collection.remove(all, predicate='LEGS', obj="2")
self.assertIsNotNone(remains)
self.assertEqual(3, len(remains))
self.assertTrue(["MONKEY", "HASFUR", "true"] in all)
self.assertTrue(["ZEBRA", "LEGS", "4"] in all)
self.assertTrue(["ELEPHANT", "TRUNK", "true"] in all)
def test_remove_object(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
self.add_data(collection)
all = collection.all_as_tuples()
remains = collection.remove(all, obj='2')
self.assertIsNotNone(remains)
self.assertEqual(3, len(remains))
self.assertTrue(["MONKEY", "HASFUR", "true"] in remains)
self.assertTrue(["ZEBRA", "LEGS", "4"] in remains)
self.assertTrue(["ELEPHANT", "TRUNK", "true"] in remains)
###################################################################################################################
# Vars matching
#
def test_match_vars(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
self.add_data(collection)
matched = collection.match_to_vars()
self.assertIsNotNone(matched)
self.assertEqual(5, len(matched))
self.assertTrue([['subj', 'MONKEY'], ['pred', 'LEGS'], ['obj', '2']] in matched)
self.assertTrue([['subj', 'MONKEY'], ['pred', 'HASFUR'], ['obj', 'true']] in matched)
self.assertTrue([['subj', 'ELEPHANT'], ['pred', 'TRUNK'], ['obj', 'true']] in matched)
self.assertTrue([['subj', 'ZEBRA'], ['pred', 'LEGS'], ['obj', '4']] in matched)
self.assertTrue([['subj', 'BIRD'], ['pred', 'LEGS'], ['obj', '2']] in matched)
def test_not_match_vars(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
self.add_data(collection)
matched = collection.not_match_to_vars()
self.assertIsNotNone(matched)
self.assertEqual(0, len(matched))
def test_match_vars_subject(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
self.add_data(collection)
matched = collection.match_to_vars("?x")
self.assertIsNotNone(matched)
self.assertEqual(5, len(matched))
self.assertTrue([['?x', 'MONKEY'], ['pred', 'LEGS'], ['obj', '2']] in matched)
self.assertTrue([['?x', 'MONKEY'], ['pred', 'HASFUR'], ['obj', 'true']] in matched)
self.assertTrue([['?x', 'ELEPHANT'], ['pred', 'TRUNK'], ['obj', 'true']] in matched)
self.assertTrue([['?x', 'ZEBRA'], ['pred', 'LEGS'], ['obj', '4']] in matched)
self.assertTrue([['?x', 'BIRD'], ['pred', 'LEGS'], ['obj', '2']] in matched)
def test_not_match_vars_subject(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
self.add_data(collection)
not_matched = collection.not_match_to_vars("?x")
self.assertIsNotNone(not_matched)
self.assertEqual(0, len(not_matched))
def test_match_vars_subject_with_predicate_params(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
self.add_data(collection)
matched = collection.match_to_vars(subject="?x", predicate="LEGS")
self.assertIsNotNone(matched)
self.assertEqual(3, len(matched))
self.assertTrue([['?x', 'MONKEY'], ['pred', 'LEGS'], ['obj', '2']] in matched)
self.assertTrue([['?x', 'ZEBRA'], ['pred', 'LEGS'], ['obj', '4']] in matched)
self.assertTrue([['?x', 'BIRD'], ['pred', 'LEGS'], ['obj', '2']] in matched)
def test_not_match_vars_subject_with_predicate_params(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
self.add_data(collection)
not_matched = collection.not_match_to_vars(subject="?x", predicate="LEGS")
self.assertIsNotNone(not_matched)
self.assertEqual(1, len(not_matched))
self.assertTrue([['?x', 'ELEPHANT'], ['pred', 'TRUNK'], ['obj', 'true']] in not_matched)
def test_match_vars_subject_with_predicate_object_params(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
self.add_data(collection)
matched = collection.match_to_vars(subject="?x", predicate="LEGS", obj="2")
self.assertIsNotNone(matched)
self.assertEqual(2, len(matched))
self.assertTrue([['?x', 'MONKEY'], ['pred', 'LEGS'], ['obj', '2']] in matched)
self.assertTrue([['?x', 'BIRD'], ['pred', 'LEGS'], ['obj', '2']] in matched)
def test_not_match_vars_subject_with_predicate_object_params(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
self.add_data(collection)
matched = collection.not_match_to_vars(subject="?x", predicate="LEGS", obj="2")
self.assertIsNotNone(matched)
self.assertEqual(2, len(matched))
self.assertTrue([['?x', 'ZEBRA'], ['pred', 'LEGS'], ['obj', '4']] in matched)
self.assertTrue([['?x', 'ELEPHANT'], ['pred', 'TRUNK'], ['obj', 'true']] in matched)
def test_match_vars_subject_predicate(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
self.add_data(collection)
matched = collection.match_to_vars(subject="?x", predicate="?y")
self.assertIsNotNone(matched)
self.assertTrue([['?x', 'MONKEY'], ['?y', 'LEGS'], ['obj', '2']] in matched)
self.assertTrue([['?x', 'MONKEY'], ['?y', 'HASFUR'], ['obj', 'true']] in matched)
self.assertTrue([['?x', 'ELEPHANT'], ['?y', 'TRUNK'], ['obj', 'true']] in matched)
self.assertTrue([['?x', 'ZEBRA'], ['?y', 'LEGS'], ['obj', '4']] in matched)
self.assertTrue([['?x', 'BIRD'], ['?y', 'LEGS'], ['obj', '2']] in matched)
def test_match_vars_subject_predicate_with_subject_params(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
self.add_data(collection)
matched = collection.match_to_vars(subject="MONKEY", predicate="?y")
self.assertIsNotNone(matched)
self.assertEqual(2, len(matched))
self.assertTrue([['subj', 'MONKEY'], ['?y', 'LEGS'], ['obj', '2']] in matched)
self.assertTrue([['subj', 'MONKEY'], ['?y', 'HASFUR'], ['obj', 'true']] in matched)
def test_not_match_vars_subject_predicate_with_subject_params(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
self.add_data(collection)
matched = collection.not_match_to_vars(subject="MONKEY", predicate="?y")
self.assertIsNotNone(matched)
self.assertEqual(3, len(matched))
self.assertTrue([['subj', 'ZEBRA'], ['?y', 'LEGS'], ['obj', '4']] in matched)
self.assertTrue([['subj', 'BIRD'], ['?y', 'LEGS'], ['obj', '2']] in matched)
self.assertTrue([['subj', 'ELEPHANT'], ['?y', 'TRUNK'], ['obj', 'true']] in matched)
def test_match_vars_subject_predicate_with_subject_object_params(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
self.add_data(collection)
matched = collection.match_to_vars(subject="MONKEY", predicate="?y", obj="2")
self.assertIsNotNone(matched)
self.assertEqual(1, len(matched))
self.assertTrue([['subj', 'MONKEY'], ['?y', 'LEGS'], ['obj', '2']] in matched)
def test_not_match_vars_subject_predicate_with_subject_object_params(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
self.add_data(collection)
matched = collection.not_match_to_vars(subject="MONKEY", predicate="?y", obj="2")
self.assertIsNotNone(matched)
self.assertEqual(3, len(matched))
self.assertTrue([['subj', 'ELEPHANT'], ['?y', 'TRUNK'], ['obj', 'true']] in matched)
self.assertTrue([['subj', 'ZEBRA'], ['?y', 'LEGS'], ['obj', '4']] in matched)
self.assertTrue([['subj', 'BIRD'], ['?y', 'LEGS'], ['obj', '2']] in matched)
def test_match_vars_subject_predicate_object(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
self.add_data(collection)
matched = collection.match_to_vars("?x", "?y", "?z")
self.assertIsNotNone(matched)
self.assertEqual(5, len(matched))
self.assertTrue([['?x', 'MONKEY'], ['?y', 'LEGS'], ['?z', '2']] in matched)
self.assertTrue([['?x', 'MONKEY'], ['?y', 'HASFUR'], ['?z', 'true']] in matched)
self.assertTrue([['?x', 'ELEPHANT'], ['?y', 'TRUNK'], ['?z', 'true']] in matched)
self.assertTrue([['?x', 'ZEBRA'], ['?y', 'LEGS'], ['?z', '4']] in matched)
self.assertTrue([['?x', 'BIRD'], ['?y', 'LEGS'], ['?z', '2']] in matched)
def test_not_match_vars_subject_predicate_object(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
self.add_data(collection)
matched = collection.not_match_to_vars("?x", "?y", "?z")
self.assertIsNotNone(matched)
self.assertEqual(0, len(matched))
def test_match_vars_subject_object(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
self.add_data(collection)
matched = collection.match_to_vars(subject="?x",obj="?z")
self.assertIsNotNone(matched)
self.assertEqual(5, len(matched))
self.assertTrue([['?x', 'MONKEY'], ['pred', 'LEGS'], ['?z', '2']] in matched)
self.assertTrue([['?x', 'MONKEY'], ['pred', 'HASFUR'], ['?z', 'true']] in matched)
self.assertTrue([['?x', 'ELEPHANT'], ['pred', 'TRUNK'], ['?z', 'true']] in matched)
self.assertTrue([['?x', 'ZEBRA'], ['pred', 'LEGS'], ['?z', '4']] in matched)
self.assertTrue([['?x', 'BIRD'], ['pred', 'LEGS'], ['?z', '2']] in matched)
def test_match_vars_predicate(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
self.add_data(collection)
matched = collection.match_to_vars(predicate="?x")
self.assertIsNotNone(matched)
self.assertTrue([['subj', 'MONKEY'], ['?x', 'LEGS'], ['obj', '2']] in matched)
self.assertTrue([['subj', 'MONKEY'], ['?x', 'HASFUR'], ['obj', 'true']] in matched)
self.assertTrue([['subj', 'ELEPHANT'], ['?x', 'TRUNK'], ['obj', 'true']] in matched)
self.assertTrue([['subj', 'ZEBRA'], ['?x', 'LEGS'], ['obj', '4']] in matched)
self.assertTrue([['subj', 'BIRD'], ['?x', 'LEGS'], ['obj', '2']] in matched)
def test_match_vars_predicate_object(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
self.add_data(collection)
matched = collection.match_to_vars(predicate="?x", obj="?y")
self.assertIsNotNone(matched)
self.assertTrue([['subj', 'MONKEY'], ['?x', 'LEGS'], ['?y', '2']] in matched)
self.assertTrue([['subj', 'MONKEY'], ['?x', 'HASFUR'], ['?y', 'true']] in matched)
self.assertTrue([['subj', 'ELEPHANT'], ['?x', 'TRUNK'], ['?y', 'true']] in matched)
self.assertTrue([['subj', 'ZEBRA'], ['?x', 'LEGS'], ['?y', '4']] in matched)
self.assertTrue([['subj', 'BIRD'], ['?x', 'LEGS'], ['?y', '2']] in matched)
def test_match_vars_object(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
self.add_data(collection)
matched = collection.match_to_vars(obj="?x")
self.assertIsNotNone(matched)
self.assertEqual(5, len(matched))
self.assertTrue([['subj', 'MONKEY'], ['pred', 'LEGS'], ['?x', '2']] in matched)
self.assertTrue([['subj', 'MONKEY'], ['pred', 'HASFUR'], ['?x', 'true']] in matched)
self.assertTrue([['subj', 'ELEPHANT'], ['pred', 'TRUNK'], ['?x', 'true']] in matched)
self.assertTrue([['subj', 'ZEBRA'], ['pred', 'LEGS'], ['?x', '4']] in matched)
self.assertTrue([['subj', 'BIRD'], ['pred', 'LEGS'], ['?x', '2']] in matched)
def test_match_vars_object_with_subject_params(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
self.add_data(collection)
matched = collection.match_to_vars(subject="MONKEY", obj="?x")
self.assertIsNotNone(matched)
self.assertEqual(2, len(matched))
self.assertTrue([['subj', 'MONKEY'], ['pred', 'LEGS'], ['?x', '2']] in matched)
self.assertTrue([['subj', 'MONKEY'], ['pred', 'HASFUR'], ['?x', 'true']] in matched)
def test_not_match_vars_object_with_subject_params(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
self.add_data(collection)
matched = collection.not_match_to_vars(subject="MONKEY", obj="?x")
self.assertIsNotNone(matched)
self.assertEqual(3, len(matched))
self.assertTrue([['subj', 'ELEPHANT'], ['pred', 'TRUNK'], ['?x', 'true']] in matched)
self.assertTrue([['subj', 'ZEBRA'], ['pred', 'LEGS'], ['?x', '4']] in matched)
self.assertTrue([['subj', 'BIRD'], ['pred', 'LEGS'], ['?x', '2']] in matched)
def test_match_vars_object_with_subject_predicate_params(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
self.add_data(collection)
matched = collection.match_to_vars(subject="MONKEY", predicate="LEGS", obj="?x")
self.assertIsNotNone(matched)
self.assertEqual(1, len(matched))
self.assertTrue([['subj', 'MONKEY'], ['pred', 'LEGS'], ['?x', '2']] in matched)
def test_not_match_vars_object_with_subject_predicate_params(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
self.add_data(collection)
matched = collection.not_match_to_vars(subject="MONKEY", predicate="LEGS", obj="?x")
self.assertIsNotNone(matched)
self.assertEqual(3, len(matched))
self.assertTrue([['subj', 'ELEPHANT'], ['pred', 'TRUNK'], ['?x', 'true']] in matched)
self.assertTrue([['subj', 'ZEBRA'], ['pred', 'LEGS'], ['?x', '4']] in matched)
self.assertTrue([['subj', 'BIRD'], ['pred', 'LEGS'], ['?x', '2']] in matched)
def match_only_vars(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
self.add_data(collection)
matched = collection.match_only_vars(subject="MONKEY", obj="?x")
self.assertIsNotNone(matched)
self.assertEqual(2, len(matched))
self.assertTrue([['?x', '2']] in matched)
self.assertTrue([['?x', 'true']] in matched)
###################################################################################################################
# Vars unification
#
def test_unify_on_single_var(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
collection.add_entity("MONKEY", "LEGS", "2", "ANIMAL")
collection.add_entity("MONKEY", "HASFUR", "true", "ANIMAL")
collection.add_entity("ZEBRA", "LEGS", "4", "ANIMAL")
collection.add_entity("BIRD", "LEGS", "2", "ANIMAL")
collection.add_entity("ELEPHANT", "TRUNK", "true", "ANIMAL")
set1 = collection.match_to_vars("?x", "LEGS", "2")
set2 = collection.match_to_vars("?x", "HASFUR", "true")
unified = collection.unify(["?x"], [set1, set2])
self.assertIsNotNone(unified)
self.assertEqual(1, len(unified))
self.assertTrue([['?x', 'MONKEY']] in unified)
def test_unify_on_single_var_with_not(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
collection.add_entity("MONKEY", "LEGS", "2", "ANIMALS")
collection.add_entity("MONKEY", "HASFUR", "true", "ANIMALS")
collection.add_entity("ZEBRA", "LEGS", "4", "ANIMALS")
collection.add_entity("BIRD", "LEGS", "2", "ANIMALS")
collection.add_entity("ELEPHANT", "TRUNK", "true", "ANIMALS")
set1 = collection.match_to_vars("?x", "LEGS", "2")
set2 = collection.not_match_to_vars("?x", "HASFUR", "true")
unified = collection.unify(["?x"], [set1, set2])
self.assertIsNotNone(unified)
self.assertEqual(1, len(unified))
self.assertTrue([['?x', 'BIRD']] in unified)
def test_unify_on_multi_vars(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
collection.add_entity("TEST1", "ISA", "TEST2", "TEST")
collection.add_entity("TEST2", "ISA", "TEST3", "TEST")
set1 = collection.match_to_vars("?x", "ISA", "?y")
set2 = collection.match_to_vars("?y", "ISA", "?z")
unified = collection.unify(("?x", "?y", "?z"), [set1, set2])
self.assertIsNotNone(unified)
self.assertEqual(1, len(unified))
self.assertTrue(["?x", "TEST1"] in unified[0])
self.assertTrue(["?y", "TEST2"] in unified[0])
self.assertTrue(["?z", "TEST3"] in unified[0])
def test_unify_multi_var_deep(self):
collection = RDFCollection()
self.assertIsNotNone(collection)
collection.add_entity("TEST1", "ISA", "TEST2", "TEST")
collection.add_entity("TEST2", "ISA", "TEST3", "TEST")
collection.add_entity("TEST3", "ISA", "TEST4", "TEST")
collection.add_entity("TEST4", "ISA", "TEST5", "TEST")
set1 = collection.match_to_vars("?x", "ISA", "?y")
set2 = collection.match_to_vars("?y", "ISA", "?z")
set3 = collection.match_to_vars("?z", "ISA", "?w")
unified = collection.unify(("?x", "?y", "?z", "?w"), [set1, set2, set3])
self.assertIsNotNone(unified)
self.assertEqual(2, len(unified))
self.assertTrue([['?x', 'TEST1'], ['?y', 'TEST2'], ['?z', 'TEST3'], ['?w', 'TEST4'], ] in unified)
self.assertTrue([['?x', 'TEST2'], ['?y', 'TEST3'], ['?z', 'TEST4'], ['?w', 'TEST5']] in unified)
| 40.889344 | 128 | 0.612041 | 3,162 | 29,931 | 5.641999 | 0.036369 | 0.11065 | 0.097702 | 0.070908 | 0.954596 | 0.945852 | 0.912948 | 0.902578 | 0.896076 | 0.824608 | 0 | 0.008137 | 0.199359 | 29,931 | 731 | 129 | 40.94528 | 0.736313 | 0.002506 | 0 | 0.681818 | 0 | 0 | 0.11408 | 0 | 0 | 0 | 0 | 0 | 0.524621 | 1 | 0.094697 | false | 0 | 0.015152 | 0 | 0.111742 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2f9f3f0dc4e3994002800edc073f988cef8f29b7 | 190 | py | Python | cdk_pipeline/naming.py | keenangraham/cdk-pipeline | a79f51fcff1f451f2be2361ed9b18e86ee68fdff | [
"MIT"
] | null | null | null | cdk_pipeline/naming.py | keenangraham/cdk-pipeline | a79f51fcff1f451f2be2361ed9b18e86ee68fdff | [
"MIT"
] | null | null | null | cdk_pipeline/naming.py | keenangraham/cdk-pipeline | a79f51fcff1f451f2be2361ed9b18e86ee68fdff | [
"MIT"
] | null | null | null | from cdk_pipeline.config import config
def prepend_project_name(name):
return f'{config["project_name"]}-{name}'
def prepend_branch_name(branch, name):
return f'{branch}-{name}'
| 19 | 45 | 0.731579 | 27 | 190 | 4.925926 | 0.444444 | 0.225564 | 0.225564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 190 | 9 | 46 | 21.111111 | 0.806061 | 0 | 0 | 0 | 0 | 0 | 0.242105 | 0.163158 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
85d2bf120960dcc407739a81e0d98babeef8078d | 11,863 | py | Python | Project Codebase/board.py | VishnuPathmanaban2019/Chess-Sensei | 348ca4fb94e42a50e946dfa6fd9e69a0387e9271 | [
"Unlicense"
] | 3 | 2021-10-03T21:29:45.000Z | 2021-11-20T14:01:45.000Z | Project Codebase/board.py | VishnuPathmanaban2019/Chess-Sensei | 348ca4fb94e42a50e946dfa6fd9e69a0387e9271 | [
"Unlicense"
] | null | null | null | Project Codebase/board.py | VishnuPathmanaban2019/Chess-Sensei | 348ca4fb94e42a50e946dfa6fd9e69a0387e9271 | [
"Unlicense"
] | null | null | null | #===============================================================================
# Developer: Vishnu Pathmanaban
# Email: vpathman@andrew.cmu.edu
#===============================================================================
# File Description: Board Class
#===============================================================================
from pieces import *
#===============================================================================
class Board(object):
#creates board
def __init__(self, spritestrip, scale):
self.size = int(132*scale)
self.selected = (-1,-1)
self.advice = []
self.board = [[None] * 8 for i in range(8)]
for i in range(8):
self.board[1][i] = Pawn(True, (1,i), spritestrip, self.size)
self.board[6][i] = Pawn(False, (6,i), spritestrip, self.size)
self.board[0][0] = Rook(True, (0,0), spritestrip, self.size)
self.board[7][0] = Rook(False, (7,0), spritestrip, self.size)
self.board[0][1] = Knight(True, (0,1), spritestrip, self.size)
self.board[7][1] = Knight(False, (7,1), spritestrip, self.size)
self.board[0][2] = Bishop(True, (0,2), spritestrip, self.size)
self.board[7][2] = Bishop(False, (7,2), spritestrip, self.size)
self.board[0][3] = Queen(True, (0,3), spritestrip, self.size)
self.board[7][3] = Queen(False, (7,3), spritestrip, self.size)
self.board[0][4] = King(True, (0,4), spritestrip, self.size)
self.board[7][4] = King(False, (7,4), spritestrip, self.size)
self.board[0][5] = Bishop(True, (0,5), spritestrip, self.size)
self.board[7][5] = Bishop(False, (7,5), spritestrip, self.size)
self.board[0][6] = Knight(True, (0,6), spritestrip, self.size)
self.board[7][6] = Knight(False, (7,6), spritestrip, self.size)
self.board[0][7] = Rook(True, (0,7), spritestrip, self.size)
self.board[7][7] = Rook(False, (7,7), spritestrip, self.size)
self.blackKingPosition = (0,4)
self.whiteKingPosition = (7,4)
def __eq__(self, other):
if isinstance(other, Board):
equal = True
for row in range(8):
for col in range(8):
if(self.board[row][col]!=other.board[row][col]):
equal = False
return isinstance(other, Board) and equal
def __repr__(self):
return str(print2dList(self.board))
#determines if either king is in check
def check(self):
for row in range(8):
for col in range(8):
item = self.board[row][col]
if(item != None):
if(item.black and
self.whiteKingPosition in item.legalMoves(self.board)):
return 'white'
elif(self.blackKingPosition in item.legalMoves(self.board)):
return 'black'
return 'none'
#determines selected cell
def cellSelection(self, x, y):
for row in range(8):
for col in range(8):
x1 = col*self.size
y1 = row*self.size
x2 = col*self.size+self.size
y2 = row*self.size+self.size
if (x>x1 and x<x2 and y>y1 and y<y2):
self.selected = (row,col)
#draws board
def draw(self, canvas):
for row in range(8):
for col in range(8):
x1 = col*self.size
y1 = row*self.size
x2 = col*self.size+self.size
y2 = row*self.size+self.size
if (row+col)%2==0:
canvas.create_rectangle(x1,y1,x2,y2,fill='white')
else:
canvas.create_rectangle(x1,y1,x2,y2,fill='maroon')
if self.board[row][col]!=None:
self.board[row][col].draw(canvas)
if (row,col)==self.selected:
width=10*(self.size/132)
canvas.create_rectangle(x1+width//2,y1+width//2,
x2-width//2,y2-width//2,
outline='gold',width=width)
if (row,col) in self.advice:
width=10*(self.size/132)
canvas.create_rectangle(x1+width//2,y1+width//2,
x2-width//2,y2-width//2,
outline='blue',width=width)
#highlights legal moves in green
def drawLegalMoves(self, piece, canvas):
moves = piece.legalMoves(self.board)
for move in moves:
row = move[0]
col = move[1]
x1 = col*self.size
y1 = row*self.size
x2 = col*self.size+self.size
y2 = row*self.size+self.size
width=10*(self.size/132)
canvas.create_rectangle(x1+width//2,y1+width//2,
x2-width//2,y2-width//2,
outline='green',width=width)
#===============================================================================
#check test
def checkTest(self, spritestrip):
self.selected = (-1,-1)
self.advice = []
self.board = [[None] * 8 for i in range(8)]
for i in range(8):
self.board[1][i] = Pawn(True, (1,i), spritestrip, self.size)
self.board[6][i] = Pawn(False, (6,i), spritestrip, self.size)
self.board[0][0] = Rook(True, (0,0), spritestrip, self.size)
self.board[7][0] = Rook(False, (7,0), spritestrip, self.size)
self.board[0][1] = Knight(True, (0,1), spritestrip, self.size)
self.board[7][1] = Knight(False, (7,1), spritestrip, self.size)
self.board[0][2] = Bishop(True, (0,2), spritestrip, self.size)
self.board[7][2] = Bishop(False, (7,2), spritestrip, self.size)
self.board[0][3] = Queen(True, (0,3), spritestrip, self.size)
self.board[7][3] = Queen(False, (7,3), spritestrip, self.size)
self.board[0][4] = King(True, (0,4), spritestrip, self.size)
self.board[7][4] = King(False, (7,4), spritestrip, self.size)
self.board[0][5] = Bishop(True, (0,5), spritestrip, self.size)
self.board[7][5] = Bishop(False, (7,5), spritestrip, self.size)
self.board[0][6] = Knight(True, (0,6), spritestrip, self.size)
self.board[7][6] = Knight(False, (7,6), spritestrip, self.size)
self.board[0][7] = Rook(True, (0,7), spritestrip, self.size)
self.board[7][7] = Rook(False, (7,7), spritestrip, self.size)
self.blackKingPosition = (0,4)
self.whiteKingPosition = (7,4)
self.board[1][5] = None
self.board[6][4] = None
#checkmate test
def checkmateTest(self, spritestrip):
self.selected = (-1,-1)
self.advice = []
self.board = [[None] * 8 for i in range(8)]
for i in range(8):
self.board[1][i] = Pawn(True, (1,i), spritestrip, self.size)
self.board[6][i] = Pawn(False, (6,i), spritestrip, self.size)
self.board[0][0] = Rook(True, (0,0), spritestrip, self.size)
self.board[7][0] = Rook(False, (7,0), spritestrip, self.size)
self.board[0][1] = Knight(True, (0,1), spritestrip, self.size)
self.board[7][1] = Knight(False, (7,1), spritestrip, self.size)
self.board[0][2] = Bishop(True, (0,2), spritestrip, self.size)
self.board[7][2] = Bishop(False, (7,2), spritestrip, self.size)
self.board[0][3] = Queen(True, (0,3), spritestrip, self.size)
self.board[7][3] = Queen(False, (7,3), spritestrip, self.size)
self.board[0][4] = King(True, (0,4), spritestrip, self.size)
self.board[7][4] = King(False, (7,4), spritestrip, self.size)
self.board[0][5] = Bishop(True, (0,5), spritestrip, self.size)
self.board[7][5] = Bishop(False, (7,5), spritestrip, self.size)
self.board[0][6] = Knight(True, (0,6), spritestrip, self.size)
self.board[7][6] = Knight(False, (7,6), spritestrip, self.size)
self.board[0][7] = Rook(True, (0,7), spritestrip, self.size)
self.board[7][7] = Rook(False, (7,7), spritestrip, self.size)
self.blackKingPosition = (0,4)
self.whiteKingPosition = (7,4)
self.board[1][5] = None
self.board[1][6] = None
self.board[6][4] = None
#AI test
def AITest(self, spritestrip):
self.selected = (-1,-1)
self.advice = []
self.board = [[None] * 8 for i in range(8)]
for i in range(8):
self.board[1][i] = Pawn(True, (1,i), spritestrip, self.size)
self.board[6][i] = Pawn(False, (6,i), spritestrip, self.size)
self.board[0][0] = Rook(True, (0,0), spritestrip, self.size)
self.board[7][0] = Rook(False, (7,0), spritestrip, self.size)
self.board[0][1] = Knight(True, (0,1), spritestrip, self.size)
self.board[7][1] = Knight(False, (7,1), spritestrip, self.size)
self.board[0][2] = Bishop(True, (0,2), spritestrip, self.size)
self.board[7][2] = Bishop(False, (4,7), spritestrip, self.size)
self.board[1][3] = Queen(True, (1,3), spritestrip, self.size)
self.board[6][4] = Queen(False, (6,4), spritestrip, self.size)
self.board[0][4] = King(True, (0,4), spritestrip, self.size)
self.board[7][4] = King(False, (7,4), spritestrip, self.size)
self.board[0][5] = Bishop(True, (0,5), spritestrip, self.size)
self.board[3][1] = Bishop(False, (3,1), spritestrip, self.size)
self.board[0][6] = Knight(True, (0,6), spritestrip, self.size)
self.board[7][6] = Knight(False, (7,6), spritestrip, self.size)
self.board[0][7] = Rook(True, (0,7), spritestrip, self.size)
self.board[7][7] = Rook(False, (7,7), spritestrip, self.size)
self.blackKingPosition = (0,4)
self.whiteKingPosition = (7,4)
self.board[2][3] = Pawn(True, (2,3), spritestrip, self.size)
self.board[5][4] = Pawn(False, (5,4), spritestrip, self.size)
#advice explanation test
def explanationTest(self, spritestrip):
self.selected = (-1,-1)
self.advice = []
self.board = [[None] * 8 for i in range(8)]
for i in range(8):
self.board[1][i] = Pawn(True, (1,i), spritestrip, self.size)
self.board[6][i] = Pawn(False, (6,i), spritestrip, self.size)
self.board[0][0] = Rook(True, (0,0), spritestrip, self.size)
self.board[7][0] = Rook(False, (7,0), spritestrip, self.size)
self.board[0][1] = Knight(True, (0,1), spritestrip, self.size)
self.board[7][1] = Knight(False, (7,1), spritestrip, self.size)
self.board[0][2] = Bishop(True, (0,2), spritestrip, self.size)
self.board[7][2] = Bishop(False, (7,2), spritestrip, self.size)
self.board[0][4] = Queen(True, (0,4), spritestrip, self.size)
self.board[7][3] = Queen(False, (7,3), spritestrip, self.size)
self.board[0][3] = King(True, (0,3), spritestrip, self.size)
self.board[7][4] = King(False, (7,4), spritestrip, self.size)
self.board[3][7] = Bishop(True, (3,7), spritestrip, self.size)
self.board[7][5] = Bishop(False, (7,5), spritestrip, self.size)
self.board[0][6] = Knight(True, (0,6), spritestrip, self.size)
self.board[7][6] = Knight(False, (7,6), spritestrip, self.size)
self.board[0][7] = Rook(True, (0,7), spritestrip, self.size)
self.board[7][7] = Rook(False, (7,7), spritestrip, self.size)
self.blackKingPosition = (0,3)
self.whiteKingPosition = (7,4)
self.board[1][5] = None
self.board[1][6] = None
self.board[6][4] = None
#===============================================================================
| 50.266949 | 80 | 0.522549 | 1,599 | 11,863 | 3.866166 | 0.067542 | 0.147525 | 0.188289 | 0.338564 | 0.832902 | 0.827402 | 0.801844 | 0.801035 | 0.790359 | 0.788418 | 0 | 0.056423 | 0.270926 | 11,863 | 235 | 81 | 50.480851 | 0.658342 | 0.06339 | 0 | 0.730392 | 0 | 0 | 0.003426 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053922 | false | 0 | 0.004902 | 0.004902 | 0.088235 | 0.004902 | 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 |
85d4ca51fb958459dfee6753c4586569ab8472bf | 192 | py | Python | tests/test_models.py | kevinjqiu/stellar | 32cd40723b481cbd52722f73749b5d1f3e3971bd | [
"MIT"
] | 1 | 2015-12-15T19:02:26.000Z | 2015-12-15T19:02:26.000Z | tests/test_models.py | kevinjqiu/stellar | 32cd40723b481cbd52722f73749b5d1f3e3971bd | [
"MIT"
] | null | null | null | tests/test_models.py | kevinjqiu/stellar | 32cd40723b481cbd52722f73749b5d1f3e3971bd | [
"MIT"
] | null | null | null | from stellar.models import get_unique_hash
def test_get_unique_hash():
assert get_unique_hash()
assert get_unique_hash() != get_unique_hash()
assert len(get_unique_hash()) == 32
| 24 | 49 | 0.75 | 29 | 192 | 4.517241 | 0.413793 | 0.412214 | 0.59542 | 0.435115 | 0.389313 | 0.389313 | 0.389313 | 0 | 0 | 0 | 0 | 0.012346 | 0.15625 | 192 | 7 | 50 | 27.428571 | 0.796296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 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.