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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3b2c9a35435bf5df98c2a9a4353822a44350282c
| 539
|
py
|
Python
|
01_Data_Types_And_Variables/01_stunning_strings.py
|
DetainedDeveloper/Pimp-My-Python
|
8c0749013581bebd65b3df67f92605c4ecd8e685
|
[
"MIT"
] | 1
|
2021-07-01T10:54:45.000Z
|
2021-07-01T10:54:45.000Z
|
01_Data_Types_And_Variables/01_stunning_strings.py
|
DetainedDeveloper/Pimp-My-Python
|
8c0749013581bebd65b3df67f92605c4ecd8e685
|
[
"MIT"
] | null | null | null |
01_Data_Types_And_Variables/01_stunning_strings.py
|
DetainedDeveloper/Pimp-My-Python
|
8c0749013581bebd65b3df67f92605c4ecd8e685
|
[
"MIT"
] | null | null | null |
# print("Hello world")
# print("Hello" "world")
# print("Hello", "world")
# print('Hello', 'world')
# print('Hello', "world")
# print("Hello " + 'world')
# print("Hello world " * 3)
# print("7598347590")
# print("3.14159")
# print("This is a sentence".split(" "))
# print("This is a sentence".upper())
# print("This is a sentence".lower())
# print("This is a sentence".capitalize())
# print("This is a sentence".count("e"))
# print(" This is a sentence ")
# print(" This is a sentence ".strip())
| 16.84375
| 53
| 0.571429
| 69
| 539
| 4.463768
| 0.246377
| 0.227273
| 0.340909
| 0.272727
| 0.795455
| 0.340909
| 0.340909
| 0.340909
| 0.340909
| 0.340909
| 0
| 0.039906
| 0.209648
| 539
| 31
| 54
| 17.387097
| 0.683099
| 0.910946
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
8e54aa366c8d93c0dc84a5004a3b382cae5bc22b
| 50
|
py
|
Python
|
stv/generators/spthy/__init__.py
|
wp777/stv-compute
|
313b574c43ef87b629e70c25c38dbb7b24d1f130
|
[
"MIT"
] | 2
|
2021-07-11T09:52:59.000Z
|
2022-02-13T17:34:59.000Z
|
stv/generators/spthy/__init__.py
|
wp777/stv-compute
|
313b574c43ef87b629e70c25c38dbb7b24d1f130
|
[
"MIT"
] | 3
|
2020-07-26T13:49:59.000Z
|
2021-01-19T18:04:10.000Z
|
stv/generators/spthy/__init__.py
|
wp777/stv-compute
|
313b574c43ef87b629e70c25c38dbb7b24d1f130
|
[
"MIT"
] | null | null | null |
from .pret_a_voter import PretAVoterSpthyGenerator
| 50
| 50
| 0.92
| 6
| 50
| 7.333333
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.06
| 50
| 1
| 50
| 50
| 0.93617
| 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
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
8e7f2318cd96b346e4fec469e7973dafefedeff4
| 42
|
py
|
Python
|
src/emitters/opt/__init__.py
|
icaros-usc/dqd-rl
|
83e3da62df37b45c4b8fc549c07f566797b5f685
|
[
"MIT"
] | 6
|
2022-02-09T05:35:37.000Z
|
2022-03-12T11:54:59.000Z
|
src/emitters/opt/__init__.py
|
icaros-usc/dqd-rl
|
83e3da62df37b45c4b8fc549c07f566797b5f685
|
[
"MIT"
] | null | null | null |
src/emitters/opt/__init__.py
|
icaros-usc/dqd-rl
|
83e3da62df37b45c4b8fc549c07f566797b5f685
|
[
"MIT"
] | null | null | null |
"""Optimizers for use across emitters."""
| 21
| 41
| 0.714286
| 5
| 42
| 6
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.119048
| 42
| 1
| 42
| 42
| 0.810811
| 0.833333
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 1
| 0
| null | 0
| 0
| 0
| 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
| 5
|
8e9653b5e128c77c94fa11b747a8b54f6facf23c
| 54
|
py
|
Python
|
udify/optimizers/__init__.py
|
annaproxy/udify-metalearning
|
55206a3aac0aba74a3615a36192d03b6467cfd6f
|
[
"MIT"
] | 185
|
2019-04-04T03:39:01.000Z
|
2022-03-01T12:49:51.000Z
|
udify/optimizers/__init__.py
|
annaproxy/udify-metalearning
|
55206a3aac0aba74a3615a36192d03b6467cfd6f
|
[
"MIT"
] | 28
|
2019-07-10T07:08:29.000Z
|
2022-01-11T11:08:13.000Z
|
udify/optimizers/__init__.py
|
annaproxy/udify-metalearning
|
55206a3aac0aba74a3615a36192d03b6467cfd6f
|
[
"MIT"
] | 51
|
2019-04-10T08:33:54.000Z
|
2022-03-29T17:30:51.000Z
|
from udify.optimizers.ulmfit_sqrt import UlmfitSqrtLR
| 27
| 53
| 0.888889
| 7
| 54
| 6.714286
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.074074
| 54
| 1
| 54
| 54
| 0.94
| 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
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
8ebbdb4922523a03167e94e9786a2a17277c36b4
| 162
|
py
|
Python
|
test/global_vars_recipe.py
|
robertmaynard/hpc-container-maker
|
fdf20b9881eb41f92b7d73c85b20f5f75ddfe262
|
[
"Apache-2.0"
] | 340
|
2018-03-26T00:11:21.000Z
|
2022-03-21T03:04:27.000Z
|
test/global_vars_recipe.py
|
robertmaynard/hpc-container-maker
|
fdf20b9881eb41f92b7d73c85b20f5f75ddfe262
|
[
"Apache-2.0"
] | 103
|
2018-03-24T04:34:24.000Z
|
2022-03-31T18:49:57.000Z
|
test/global_vars_recipe.py
|
robertmaynard/hpc-container-maker
|
fdf20b9881eb41f92b7d73c85b20f5f75ddfe262
|
[
"Apache-2.0"
] | 75
|
2018-05-10T15:42:11.000Z
|
2022-03-28T16:51:14.000Z
|
from hpccm.common import container_type
if hpccm.config.g_ctype != container_type.SINGULARITY:
raise Exception("Global variable g_ctype not set correctly!")
| 32.4
| 65
| 0.802469
| 23
| 162
| 5.478261
| 0.782609
| 0.206349
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.123457
| 162
| 4
| 66
| 40.5
| 0.887324
| 0
| 0
| 0
| 0
| 0
| 0.259259
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.333333
| 0
| 0.333333
| 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
| 0
| 0
| 0
|
0
| 5
|
8ee5e2d71ba815ad3ec3a291d0e5826c87aeda20
| 66
|
py
|
Python
|
hippo/api/__init__.py
|
yribeiro/hippo
|
c45358233ba71b2a3c40c5e0c1fd0756af5c80fa
|
[
"MIT"
] | null | null | null |
hippo/api/__init__.py
|
yribeiro/hippo
|
c45358233ba71b2a3c40c5e0c1fd0756af5c80fa
|
[
"MIT"
] | null | null | null |
hippo/api/__init__.py
|
yribeiro/hippo
|
c45358233ba71b2a3c40c5e0c1fd0756af5c80fa
|
[
"MIT"
] | null | null | null |
# -*- coding: utf-8 -*-
from .index import router as index_router
| 22
| 41
| 0.681818
| 10
| 66
| 4.4
| 0.8
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.018182
| 0.166667
| 66
| 2
| 42
| 33
| 0.781818
| 0.318182
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 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
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
8ef3c81af8fd627603ac4c65f3743f78dd425f7d
| 396
|
py
|
Python
|
test/covtests/testUnit/longjump.py
|
samtaufa/pry
|
155b783351cef5d8c8669bba4484f1a5f159150e
|
[
"MIT"
] | 1
|
2016-05-09T08:20:56.000Z
|
2016-05-09T08:20:56.000Z
|
test/covtests/testUnit/longjump.py
|
samtaufa/pry
|
155b783351cef5d8c8669bba4484f1a5f159150e
|
[
"MIT"
] | null | null | null |
test/covtests/testUnit/longjump.py
|
samtaufa/pry
|
155b783351cef5d8c8669bba4484f1a5f159150e
|
[
"MIT"
] | null | null | null |
# Test for breakage in the co_lnotab decoder
locals()
dict
def foo():
locals()
"""
"""
locals()
| 1.351536
| 44
| 0.161616
| 14
| 396
| 4.5
| 0.857143
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.79798
| 396
| 292
| 45
| 1.356164
| 0.7875
| 0.106061
| 0
| 0.6
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0.2
| true
| 0
| 0
| 0
| 0.2
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
d970f8d0c76c863bb609694366f20e0a8ef270bd
| 129
|
py
|
Python
|
test/run/t180.py
|
timmartin/skulpt
|
2e3a3fbbaccc12baa29094a717ceec491a8a6750
|
[
"MIT"
] | 2,671
|
2015-01-03T08:23:25.000Z
|
2022-03-31T06:15:48.000Z
|
test/run/t180.py
|
timmartin/skulpt
|
2e3a3fbbaccc12baa29094a717ceec491a8a6750
|
[
"MIT"
] | 972
|
2015-01-05T08:11:00.000Z
|
2022-03-29T13:47:15.000Z
|
test/run/t180.py
|
timmartin/skulpt
|
2e3a3fbbaccc12baa29094a717ceec491a8a6750
|
[
"MIT"
] | 845
|
2015-01-03T19:53:36.000Z
|
2022-03-29T18:34:22.000Z
|
def f(n):
i = 0
while i < n:
yield i
i = 100
yield i
i += 1
for i in f(50):
print i
| 11.727273
| 16
| 0.364341
| 23
| 129
| 2.043478
| 0.565217
| 0.255319
| 0.297872
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.118644
| 0.542636
| 129
| 10
| 17
| 12.9
| 0.677966
| 0
| 0
| 0.222222
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 0
| null | null | 0.111111
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 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
| 5
|
79a4be5de08a04e5c4618e50fddd61eaa93d630b
| 21,453
|
py
|
Python
|
set1/challenge4_detect_1_char_XOR/s1c4.py
|
douglasnaphas/cryptopals-py
|
6c05b4910e4603383fab24e1cf541b5290baf409
|
[
"Apache-2.0"
] | null | null | null |
set1/challenge4_detect_1_char_XOR/s1c4.py
|
douglasnaphas/cryptopals-py
|
6c05b4910e4603383fab24e1cf541b5290baf409
|
[
"Apache-2.0"
] | 7
|
2020-07-03T18:54:36.000Z
|
2021-05-16T00:35:10.000Z
|
set1/challenge4_detect_1_char_XOR/s1c4.py
|
douglasnaphas/cryptopals-py
|
6c05b4910e4603383fab24e1cf541b5290baf409
|
[
"Apache-2.0"
] | null | null | null |
import functools
from utils.utils import Utils
# Run with:
# python -m set1.challenge4_detect_1_char_XOR.s1c4
class S1C4:
@staticmethod
def s1c4():
t = [
"0e3647e8592d35514a081243582536ed3de6734059001e3f535ce6271032",
"334b041de124f73c18011a50e608097ac308ecee501337ec3e100854201d",
"40e127f51c10031d0133590b1e490f3514e05a54143d08222c2a4071e351",
"45440b171d5c1b21342e021c3a0eee7373215c4024f0eb733cf006e2040c",
"22015e420b07ef21164d5935e82338452f42282c1836e42536284c450de3",
"043b452e0268e7eb005a080b360f0642e6e342005217ef04a42f3e43113d",
"581e0829214202063d70030845e5301f5a5212ed0818e22f120b211b171b",
"ea0b342957394717132307133f143a1357e9ed1f5023034147465c052616",
"0c300b355c2051373a051851ee154a023723414c023a08171e1b4f17595e",
"550c3e13e80246320b0bec09362542243be42d1d5d060e203e1a0c66ef48",
"e159464a582a6a0c50471310084f6b1703221d2e7a54502b2b205c433afa",
"ec58ea200e3005090e1725005739eda7342aed311001383fff7c58ef1f11",
"01305424231c0d2c41f105057f74510d335440332f1038ec17275f5814e1",
"05f12f380720ea2b19e24a07e53c142128354e2827f25a08fb401c3126a6",
"0d17272f53063954163d050a541b1f1144305ae37d4932431b1f33140b1b",
"0b4f070f071fe92c200e1fa05e4b272e50201b5d493110e429482c100730",
"100a3148080f227fe60a132f0c10174fe3f63d1a5d38eb414ca8e82f2b05",
"0a19e83c58400a023b13234572e6e4272bf67434331631e63b5e0f00175c",
"54520c2ceb45530e0f78111d0b0707e01e4bf43b0606073854324421e6f9",
"09e7585353ee4a34190de1354e481c373a1b2b0a136127383e271212191f",
"0f060d09fb4f2d5024022c5ff6463c390c2b5f1a5532071a31f33503fcea",
"371d39121605584f48217235ee1e0602445c162e4942254c071954321d29",
"4a0900e63e5f161e15554045f3594c2a6a77e4e52711602beaf53ae53bed",
"29011616565d2a372a605bee39eced31183fe068185c3b445b391fe53232",
"e4102337000303452a1e2f2b29493f54ed5a037b3e08311b625cfd005009",
"2d560d4b0618203249312a310d5f541f295c3f0f25235c2b20037d1600f3",
"2c245155e8253708391a7ceb0d05005c3e080f3f0f0e5a16583b111f4448",
"493804044d262eec3759594f212d562420105d6a39e70a0f3957f347070c",
"e72d1d1f103807590f4339575e00381074485d2d580249f744052605e11d",
"e131570ae95307143a71131729552d001057a4540a1f425b190b572dee34",
"2c1655342f02581c202b0a5c17a358291e1506f325550f05365e165c1c5f",
"e318164df80b043e5406296e5359271d152f552e155a43eda81f23231d1c",
"001de0413e174e18192c061e4b3d1b5626f90e3e1429544a20ee150d0c20",
"32e902193219033c58191302441a5c1b584825ea140c290927aaea53e23c",
"3a36363a732e32ea3f0e430508204b332c382a19292d5b291122e123446a",
"1804115614031f5f571f2b143c5d3c1b257a4b37350f18445a3e08341c3d",
"21f2fb250b2e55151e77253a3f0e5f4b2030370a4155e720e73914e35a4a",
"510a55583a3c491221397c123a2b14a8305b3b09e71b241d0e51202e1a32",
"1b51202f4917232b512a141d6812f03c455df05e5a1c2cee14390b3b593a",
"5f5731e5203116ee131a4a4b24112cef5d0822f035e6547d3a0014462f26",
"0028fb522104f771501a555d3f581e30e9ec3e49e3e63123432f07794145",
"1459f6312f000e5a1373e346e40f211e1b0b0e17000f391f170552150500",
"7e301e18325717e3412e022f087be30e5641080151357714e0e0eee15e11",
"533258e9360f513b083aa51d2824222f40200a470537ecec392d31070b38",
"07e32c180dfa56496a461627542115132a4c284050495b23e2245b093159",
"2d3c230a1e5a300f6c3e26ed0d1709434950fd6f1e121335054129e4e4ec",
"ef22fa2112311b11584ce43434f46f521a215433f9514fe33d313a3e0838",
"34e7f336270c08010f2f544f0f1c1e235c0222644c2632efec061de2115f",
"121a42395d4c560d213b0c0a26a7e4f4382718153d5e511158a10b2c021e",
"e05d414dfa40222f0c382a03235f4d0d04372d4b7855105e26e44f2e0555",
"7f3a4f1351f85b0344223e1177e14707190c0e311f4ca633f5f3e9352372",
"01424d5d1a322a0d381717130e181d07240c2c19ecee750b1a37085d014c",
"16012c5de55a0314a8260e2759e439123ca0c81c321d454e4e0ee14f4c1d",
"0b1415512f38580e4e2a227def242643183c224f0ea146443403022fe9fd",
"43eb2b1078322a02192d5b5e0c360d584d0b5e2c13072912ee32f03f4155",
"002a52553e08361b0be0074b573e201c164c093a5c0f0159333b59770d5b",
"38e63c1c5244301a5a01f26930321256143e1ae05e1120a9eaf20a192d58",
"7d54140a152ef4035f09083ded531ee04df55848020656a1342e502649eb",
"0c211dfe101702015516341136252f3f06f73247133113f5642d083a3417",
"015e3d51433f3c003e5e28030b1d413eee186824504b241e0f0d32373e2b",
"2d465040ec130c5c0e2704aa17010c40095207223669110f22f45ea155f7",
"14552e2b341e5ce0195351066a23e3283e0ee935444b255a1c5c3cef7614",
"372b453d5a357c05142be65b3c17f92d2b134853390a312bf92a531b513d",
"5658265f4c0ce4440a20322f591a413034292b312206a01be6453a512d21",
"1c585c19f31f785324f8583d1ee02620342b10a236263f105011ee5b0e14",
"0f522b550818591a752e5fea0e033322ee5e280a4a1b244f5a2b35341255",
"39093c1ced331b264127173f1312e2455fa33b31012c1f4d073c553f5d5e",
"18f82d5d07e2430b3b3c1b5b49effb0313173f5d4a2e5c134555ff6b1d1a",
"550a20234202726341190311295254f4064205aa515ae0145a23071c4e18",
"3f2047024e3ce4555a1b39fa145455012c3afb0f2d11134846182e3c575b",
"e3e456571937762828065443153b51152e262f09c937024405284f236432",
"012f580c3536ec5c021574541d5c41123a4e661d5f0f5f344a083e3a5e4c",
"4216252d01eb0a2a4623621b48360d312c29f33e380650447617124b3e71",
"54141e59323606390204e95f1206520e5c084510034d30171c5e744f335d",
"1e30061401600b342e171059526d1949431a3f412f56594c183711ea4837",
"3131254f11e76f550e1e4d26f1391f44363b151c31281ff45259351da0e6",
"5def250d0f3505385f22e9f4112633005d272d092e0138275851f943e90e",
"0939165718303b445210095c16390cf04f19450e06f4545c0a0c320e3e23",
"1e0b0b1f573f3d0fe05d43090fa8482242300819313142325b1f4b19365b",
"0d3b2a5d271e463d2203765245065d5d684a051e5815265b52f3171d3004",
"6af423303817a43324394af15a5c482e3b16f5a46f1e0b5c1201214b5fe4",
"4030544f3f51151e436e04203a5e3b287ee303490a43fb3b28042f36504e",
"1a2d5a03fc0e2c04384046242e2b5e1548101825eb2f285f1a210f022141",
"122355e90122281deeed3ba05636003826525d5551572d07030d4935201f",
"2a3c484a15410d3b16375d4665271b5c4ce7ee37083d3e512b45204f17f6",
"03222801255c2c211a7aeb1e042b4e38e8f1293143203139fb202c325f2b",
"06542a28041956350e292bf3fe5c32133a2a171b3a3e4e4e3101381529e3",
"4a5209ef24e5f3225e503b143d0e5747323fe7ee3d5b1b5110395619e65a",
"1fee0a3945563d2b5703701817584b5f5b54702522f5031b561929ea2d1e",
"e7271935100e3c31211b23113a3a5524e02241181a251d521ff52f3c5a76",
"144a0efee02f0f5f1d353a1c112e1909234f032953ec591e0a58e55d2cf4",
"efee0cf00d0955500210015311467543544708eb590d113d30443d080c1e",
"1a562c1f7e2b0030094f051c03e30f4d501a0fe22a2817edfc5e470c3843",
"1c3df1135321a8e9241a5607f8305d571aa546001e3254555a11511924",
"eb1d3f54ec0fea341a097c502ff1111524e24f5b553e49e8576b5b0e1e33",
"72413e2f5329e332ec563b5e65185efefd2c3b4e5f0b5133246d214a401d",
"352a0ae632183d200a162e5346110552131514e0553e51003e220d47424b",
"1d005c58135f3c1b53300c3b49263928f55625454f3be259361ded1f0834",
"2d2457524a1e1204255934174d442a1a7d130f350a123c4a075f5be73e30",
"0c0518582d131f39575925e0231833370c482b270e183810415d5aec1900",
"453b181df1572735380b0446097f00111f1425070b2e1958102ceb592928",
"010a4a2d0b0926082d2f1525562d1d070a7a08152f5b4438a4150b132e20",
"2b395d0d5d015d41335d21250de33e3d42152d3f557d1e44e4ee22255d2d",
"4a1b5c272d0d1c45072639362e402dee2853e51311262b17aa72eb390410",
"e7015f0215352030574b4108e44d0e1a204418e62325ff7f34052f234b2d",
"1d563c13202346071d39e34055402b0b392c27f552222d3deb3843ee2c16",
"29332a521f3c1b0811e33e1a25520e323e75e01c17473f55071226120d3d",
"210b35ee1a0a5335222e35033905170c4f3104eb032d425058367d5a2bf2",
"1e553809415efb1c460f2f0ffafaec491e4d4e49510452e8245a366a4106",
"e1f92cee0e10142514e7ec13155c412fe901092f1f0fa738280c5eee5e04",
"3526291e0b2a5f486a3051041f4c16372f5402e6f70b31a03525190b161a",
"260e5e1f0c2e4d7528ef11552fefe247201e4752085c1da903563c162a4b",
"2a14ff2e3265e604075e523b24455c364a7f284f3a43051d52152f1119e8",
"5f02e55a4b1300063640ef10151002565f0b0c010033a1cbef5d3634484a",
"1b121c585b495a5e033a09037f2d1754072c2d49084055172a3c220bed4f",
"1613400e1632435c0018482aa55b363d26290ae4405ded280f2b0c271536",
"4011250ce02119464a1de43113170356342c272d1d3355555e5706245e0a",
"16272d5e545953002e10020875e223010719555410f91ce518420e382456",
"0d4037320345f945241a1d090a545a310142442131464f4d10562ae4f05a",
"07ee4d4ae12e571e313c1636313134233e495459e548317708563c2c1b2f",
"e75803294b36565225552c3406304f0201e43323291b5e0e2159025c2f25",
"5e63194411490c44494232237e1b323108573d3f391d1f3537e4165a2b35",
"51000a3a264c503b5852072a5636f04f5cea58a42838f5fca876415c3521",
"3c14130be511275932055a30aa2d03470c51060009f210543002585f5713",
"10f0370c5823115200e5015d083e2f1a5df91d68065c1b03f0080855e529",
"02ec00f1462d034123151ba6fc07eb3d5e54e85a3f3ee532fb41791a060b",
"0c29274232f93efb3d465544e45e491b042ced245100e3f05c14134c254b",
"5741235f051e080401a8013c065627e8ee5432205114243d54320e133f2d",
"4a4d181635411f5d084e31ed230c16506d5125415e060e4dcd0e5f3708e3",
"2d531c3e22065a5eee07310c145305131800063e4a20094b2006ea131240",
"e7335c1c4308160be6aa551a0f5a58243e0b10ee470047683c345e1c5b0c",
"5434505ee22a18110d20342e4b53062c4d79042a0a02422e225b2523e95a",
"3252212407115c07e15eee06391d0519e9271b641330011f383410281f0e",
"2cee2b355233292b595d1c69592f483b54584f7154fd4928560752e333a1",
"17272b272f110df5e91c560a39104510240b5c4b0c1c570871e422351927",
"c32550ec3f132c0c2458503ae5241d3c0d7911480a073826315620403615",
"16e11c270d2b010650145de2290b0beb1e120a3a354b2104064f3b533c4e",
"505746313d4d2e3455290a281ee81d50007e1148252528025237715a342a",
"1c0a13163e404e40242142061d34185421160220fa031f7a423a08f2e01a",
"101d303802f51b0c08ef461259315b553823e622a12d565509e23c624139",
"0a3d1309e4384c0eed383846545a035a41ee1771513b090a031e15f45159",
"2d4944092a1965542507003b23195758403e175a0a450c5c38114de21141",
"eb100fe63a031c4b35eb591845e428441c0d5b0037131f5c160a31243619",
"c155ef0d19143e24392507a202581a25491b135c27571d5c5b35250f0bef",
"0e1d510556485e39557e044e2cf10457523016473f500b1e36370c17591c",
"7e5a19250a5e152b46f5130a094cef08e84704ef10197324464b0114017a",
"3b56f126390008343d3c400232ed201667211f0b1a1413080202530b08e2",
"4912321b61c90a0cf6ef0a0a0c0f17fa62eb385e2616194526701aff5fe6",
"2c57114b0400152d4f2aeb18ed41386c2e3a023a281d1a311eefe750ebab",
"3a4353282114593b3e36446d2c5e1e582e335337022930331f211604576a",
"295f3bfae9271ae8065a3b4417545c3e5b0df11a53351c78530915392d2e",
"074a122ee01b17131e4e124e2322a9560ce4120e37582b24e1036fe93f30",
"3c08290121090ef72f25e4f220323444532d3fe71f34553c7b2726131009",
"12e84a3308590357a719e74c4f2133690a20031a0b045af63551325b1219",
"0e3d4fe03f56523cf40f29e4353455120e3a4f2f26f6a30a2b3e0c5b085a",
"57f3315c33e41c0f523426232d0651395c1525274e314d0219163b5f181f",
"53471622182739e9e25b473d74e1e7023d095a3134e62d1366563004120e",
"230a06431935391d5e0b5543223a3bed2b4358f555401e1b3b5c36470d11",
"22100330e03b4812e6120f163b1ef6abebe6f602545ef9a459e33d334c2a",
"463405faa655563a43532cfe154bec32fe3345eb2c2700340811213e5006",
"14241340112b2916017c270a0652732ee8121132385a6c020c040e2be15b",
"251119225c573b105d5c0a371c3d421ef23e22377fee334e0228561b2d15",
"2e4c2e373b434b0d0b1b340c300e4b195614130ea03c234c292e14530c46",
"0d2c3f08560ee32e5a5b6413355215384442563e69ec294a0eef561e3053",
"193c100c0b24231c012273e10d2e12552723586120020b02e45632265e5f",
"2c175a11553d4b0b16025e2534180964245b125e5d6e595d1d2a0710580b",
"213a175ff30855e4001b305000263f5a5c3c5100163cee00114e3518f33a",
"10ed33e65b003012e7131e161d5e2e270b4645f358394118330f5a5b241b",
"33e80130f45708395457573406422a3b0d03e6e5053d0d2d151c083337a2",
"551be2082b1563c4ec2247140400124d4b6508041b5a472256093aea1847",
"7b5a4215415d544115415d5015455447414c155c46155f4058455c5b523f",
"0864eb4935144c501103a71851370719301bec57093a0929ea3f18060e55",
"2d395e57143359e80efffb13330633ea19e323077b4814571e5a3de73a1f",
"52e73c1d53330846243c422d3e1b374b5209543903e3195c041c251b7c04",
"2f3c2c28273a12520b482f18340d565d1fe84735474f4a012e1a13502523",
"23340f39064e306a08194d544647522e1443041d5ee81f5a18415e34a45f",
"475a392637565757730a0c4a517b2821040e1709e028071558021f164c54",
"100b2135190505264254005618f51152136125370eef27383e45350118ed",
"3947452914e0223f1d040943313c193f295b221e573e1b5723391d090d1f",
"2c33141859392b04155e3d4e393b322526ee3e581d1b3d6817374d0c085b",
"c2ea5821200f1b755b2d13130f04e26625ea3a5b1e37144d3e473c24030d",
"ee15025d2019f757305e3f010e2a453a205f1919391e1a04e86d1a350119",
"1a5beb4946180fe0002a031a050b41e5164c58795021e1e45c59e2495c20",
"1121394f1e381c3647005b7326250514272b55250a49183be5454ba518eb",
"1ee55936102a465d5004371f2e382f1d03144f170d2b0eed042ee341eb19",
"ec1014ef3ff1272c3408220a41163708140b2e340e505c560c1e4cf82704",
"274b341a454a27a0263408292e362c201c0401462049523b2d55e5132d54",
"e259032c444b091e2e4920023f1a7ce40908255228e36f0f2424394b3c48",
"34130cf8223f23084813e745e006531a1e464b005e0e1ee405413fe22b4e",
"4af201080c0928420c2d491f6e5121e451223b070dee54244b3efc470a0e",
"771c161f795df81c22101408465ae7ef0c0604733ee03a20560c1512f217",
"2f3a142c4155073a200f04166c565634020a59ea04244ff7413c4bc10858",
"240d4752e5fa5a4e1ce255505602e55d4c575e2b59f52b4e0c0a0b464019",
"21341927f3380232396707232ae424ea123f5b371d4f65e2471dfbede611",
"e10e1c3b1d4d28085c091f135b585709332c56134e4844552f45eb41172a",
"3f1b5a343f034832193b153c482f1705392f021f5f0953290c4c43312b36",
"3810161aea7001fb5d502b285945255d4ef80131572d2c2e59730e2c3035",
"4d59052e1f2242403d440a13263e1d2dea0612125e16033b180834030829",
"022917180d07474c295f793e42274b0e1e16581036225c1211e41e04042f",
"ec2b41054f2a5f56065e5e0e1f56e13e0a702e1b2f2137020e363a2ae2a4",
"53085a3b34e75a1caa2e5d031f261f5f044350312f37455d493f131f3746",
"0c295f1724e90b001a4e015d27091a0b3256302c303d51a05956e6331531",
"e42b315ce21f0def38144d20242845fa3f3b3b0ce8f4fb2d31ed1d54134b",
"2957023141335d35372813263b46581af6535a16404d0b4ff12a207648ec",
"e4421e301de25c43010c504e0f562f2018421ce137443b41134b5f542047",
"0c5600294e085c1d3622292c480d261213e05c1334385108c145f3090612",
"062d2e02267404241f4966e6e010052d3224e72856100b1d22f65a30e863",
"324950394700e11a01201a0564525706f1013f353319076b4c0d015a2e24",
"2a1be80e2013571522483b1e20321a4e03285d211a444d113924e8f41a1f",
"27193ae2302208e73010eaa1292001045737013e10e4745aed2c105b25fb",
"1b135d46eaef103e1d330a14337a2a4302441c1631ed07e7100c743a0e35",
"1a0957115c293b1c0de853245b5b18e2e12d28421b3230245d7b4a55f355",
"e7360e2b3846202a2926fa495e3302ed064d127a17343a1f11032b40e8f5",
"06e8f90a3118381c5414157d1434050210363e30500511a00a3d56e10438",
"30021931f7193e25a0540ef52658350929380974fb035b1a5d2c042959c7",
"151b0c24052d0e56025404390e5a3909edec0d03070f040cff710825363e",
"2a2328120b2203320810134a0c0a0ef30b25460bec011c1e26e913575a51",
"e12d0948ed3c511416151d1c54082b3e385d14f838510bec4e4b5f585321",
"1559305c3a49192a010f04ec11001a3d5a5621e5535358353206521f013f",
"172c2c155a3a322009505c290516a2c4e4405a1e0a1e353b6e1a5a4e2f09",
"552c34e2432b0df1132b130841000d4007232339a2092a593f142b0a0117",
"0931432e452d3aea1d02587d3a3e56ed2a3050e2f9363df366331e421947",
"0250094823545b20163f1d0a36a92228ed25564d1a304deae8035c32370d",
"4314380e264e2359e6a412504a424328e84434ff30236649353315344a00",
"25e33540550d3c15135b0eed451cfd1812eaf2063f085d6e214d121c342f",
"37513b2d0a4e3e5211372a3a01334c5d51030c46463e3756290c0d0e1222",
"132f175e4c4af1120138e1f2085a3804471f5824555d083de6123f533123",
"0de11936062d3d2f12193e135f38ff5e1a531d1426523746004e2c063a27",
"49241aee1802311611a50de9592009e936270108214a0c4213a01f09545f",
"02e14d2babee204a5c4337135821360d021b7831305963ee0737072f0deb",
"1512371119050c0c1142245a004f033650481830230a1925085c1a172726",
"3be62f230a4b50526ec9345100252aa729eafa59221b3fa517304e500a15",
"5e57f231333c3d0c470a47551733511031362a3bed0f334a3f3136104230",
"eb24015d051a151f245905061a37ea273d2239fe02463a5e314d565f0457",
"23025f415d290a594e3b5940313347a11c5e41531ff15a385a183829780a",
"51e0035f2deb3b163eabe8550e2e0414491f573b5419234a28183044e112",
"1d54e8390b26585f3aef5f14206672240c4a5e5d31e01b4d406e351401fa",
"e555173e242c753b275d4ee50b2f26501402a71b1b5733ec19ee34284aed",
"2ee8f023401c09383b084d623ef324ee5a33065a6d5e365b092c5d0d4501",
"3f4e024d4b161e144d5e3b140d1e2944465b491d265603a705373c231240",
"544f0d4ea6091e00e62d3e130d4f005139f339001a3b480c221b730be75e",
"5f1f4f3e0a0dec3b5128e32960e42d0fee02275528154b10e65c36555a2e",
"ea3e311b5b0f5f220b1f1b2914f12111f41213e06232224df5ec0114470d",
"51203f1e01e5563851284013514a565e53125223052f47100e5011100201",
"3f5bee2305217838582be55958a00245265b0308ec56525b5c114c2d5407",
"e6e74818e53602160e45372029eb4de72754ec3f49290d2f5901014c0e7f",
"08e715e612380a5c1908285a1222073a023c562907384e4f470444483f34",
"1110382b5225343ba6092133483e2d683e1e280227084a1e405e3a341513",
"415f240f0c53e3f7196e2252fb0105347f345e531f535a344bf439220916",
"5722e7f7fa2f4c2e057e2a025e2dec31413439aa12265f5a3458f81a4b15",
"135839401856f337a72fec475a060de239a650163a55392a5b303f051415",
"56090f18023a2b16e2364407050d48e1541408281d3aa3e84c5b264c1f33",
"1725f9540aec5e10ed293e4e5a5a2d2125f053251a55395d1c2044022231",
"292d523ff86a180620075f325e02566659f30423525a053a01f0087f4b3b",
"17fe493808f25309251e1325596ce32b42311e5d0c2f58652640582a4b17",
"67381a5afb7128150a0043e45b173d2111155c49092d2635370a3a201826",
"e62d021d36e03b205d5f1f295c094608342a412122583f3bfc34190be62c",
"393a055f59060d454a235326e844243a30285c14e316272524f4f0444f51",
"352c3c5b2b5845244f55494940194721f80b120f07392b7c2c5a0508111e",
"2f1219430151e60f11150b101e295736361b1e053e4d08f83f230e2c383a",
"ef5b1d492610e834330f5cf3a2485d324f2822084f41111f582957191b19",
"1e3e223704fe1d2e1f592753e5550f15170b231b4234e945301f5605a670",
"300d322759ea0337015c662a0e073809543f2741104835512d0624551751",
"373727ef1f41084d0b5c0c0137283b1337026aea1c5ae115064ffa183402",
"09152b11e1233e5a0e302a521c5a33181e180026463744a82c024b4bf04e",
"1df61df1263fee59135c13400950153d3c5c59183b020b1d2d2c492f4968",
"e2000c405a01ede30c4c082e2537443c120f38fc57c43651423e5c3beb1d",
"1922182420191b293e163d58020b005f454a0621051a38e80b090a463ee9",
"39513f2d47042c0fe5134419ec48490f150f323a5ee7a7e0201e193a5e1b",
"2037200a2b1013567b35fb4a0f322c2f49435d091920521c302b413f5f35",
"775d1a345b483b35a02a4c3e17ee3a3d5a5b57153613264f23041922432f",
"35125b3e0a1d2257eb002a26455e1a2f042e1545e92f0b3408032c4f3551",
"2d4c392321300a18ed4f3e2c314d20500052aa3917e55d0d29500754282e",
"381b2e263758f63c474a1c23110c2d5f1c220412e91043580656080c0427",
"081ce1e5350b6a3535f0e6592e5b543432340e38f008e0324102e45a3f25",
"30040c181615362e4d1016160a4a5c006eeb1d2422355a3f1028ff192a07",
"53f6354d4b5d121974245c14f0225713331f2e381810101428571725e432",
"1a2c06372d5b1419742150042d25003c2650512834ef16e51d183f0f0508",
"3d191107251100ee2e4125405a44174f061e0e1e5959e606530e06ed245e",
"3f592d47512dec5922500e460e1de7183b4c3c2e583942255a0c5d4d2305",
"3438001e482a002d56113a1fe13bed542d3508e22f4e22221431121c1539",
"ed445a5d28415073eb18022ef836274d573a48090f2a663058194901405d",
"215b143954fc313c1e28584b51e729ef31013b232bfb4c52e2322a2d4557",
"5244102e1c3d304450ee01761924e62ff2173305e15809102b2125284dfc",
"171a3f010f3639056f2be71c2047581de32e05a20833e1221b0e25362459",
"2958280de238084f5a1c292e005be71f3b311e1f415809383d3862260238",
"361f56ecee120156375862eb3627185c2519545149e2e50b1f3b0c4e3352",
"e6115f440634e4005d273611e41c5d383c3814537b3d23362b084024345b",
"10370656372e0236eb4f3303e216505f0e465228383729394faa2f205f34",
"2e125b2f2c1d0f1f170e0c51331f0c06291610345c0603791f33253f0e0c",
"1c2b080526133aeb3e23571d4cfa1e48057a2a010a490a50391b09514f2e",
"59383ae11237e5450029162d2e1d3e09221a160e42ea06ea0ca7c7ecf4ea",
"3d3024f34d5c07464bea3b185e110d3a10395d3b2632343cf30ca2e6065a",
"262f111c0e15441a4825111b185f1e5756243206125f4603e97e79582d27",
"2d5801ee2654113e2da00b58e9260d643c10423e1d1f42093b0d0f7d5102",
"3649211f210456051e290f1b4c584d0749220c280b2a50531f262901503e",
"52053e3e152b5b2b4415580fec57ef5c08e5ed43cc2d2e5b40355d0d2017",
"6d3917263f030c4b55f0025d501e57504a122729293c4c5819680d3001ed",
"1e313323324e5e177b171cf70c371541395c0e2b7726e42505483014362e",
"1910e4f7253f0a012057e03b1e3b4201362b224ff60e0b3a1d115b043957",
"200c1e0b242e5e3b4755f61e3be05c040908f1234358e55562711d2efa0f",
"0737e0160b1d13132044080d2325f1f0ee2f00354f2106471131020a5d0b",
"3f21060de62c052a17576e2ce729242b3e3621300627f01e52580a480050",
"1b381a11351f4f5d22040c3c4b3e7d263714e8e61a571d107a34260a4a51",
"edf52314e111207c0b23eb482f441d211f306137152407040e08530a783e",
"3c054e2d4e2905275e640220f74f1a193f54e1ed5b4e2a290eab27a55147",
"33522817335316ea2f3df957e25e02030601514f09f74c2fedee102d3114",
"5d05231d03313826164156110c44e4111f4658005e115e300f413b430300",
"380bf53a4331f74627492c133fe8eb3141ee39040def040c1a0ae914e3ed",
"5b00f0211f0a091e05582e22f05a5d262e0ce352251d25100b102b11e339",
"36053935f051f959093252411e2d5af81f360c0fa15d0b373b1d26323b77",
"501424184202206215e05944505c4817514540445b0207025de05b050932",
"0a5a114515536f553a352c513f0b12f700345fa51d5efb28222676e559ea",
"561b0557403f5f534a574638411e2d3b3c133f79555c333215e6f5f9e7ec",
"6658f7210218110f00062752e305f21601442c5310162445ed4d175630f3",
"0e2154253c4a22f02e1b0933351314071b521513235031250c18120024a1",
"e03555453d1e31775f37331823164c341c09e310463438481019fb0b12fa",
"37eee654410e4007501f2c0e42faf50125075b2b46164f165a1003097f08",
"2a5332145851553926523965582e5b2f530d5d1e292046344feaed461517",
"583d2b06251f551d2f5451110911e6034147481a05166e1f241a5817015b",
"1f2d3f5c310c315402200010e24135592435f71b4640540a041012ee1b3f",
"5b2010060e2f5a4d045e0b36192f79181b0732183b4a261038340032f434",
"3a5557340be6f5315c35112912393503320f54065f0e275a3b5853352008",
"1c595d183539220eec123478535337110424f90a355af44c267be848173f",
"41053f5cef5f6f56e4f5410a5407281600200b2649460a2e3a3c38492a0c",
"4c071a57e9356ee415103c5c53e254063f2019340969e30a2e381d5b2555",
"32042f46431d2c44607934ed180c1028136a5f2b26092e3b2c4e2930585a",
]
winner = ()
loscore = 100.0
for ct in t:
d = Utils.decrypt_1_byte_XOR(ct)
if d[2] < loscore:
print(loscore)
winner = d
loscore = d[2]
return winner
def main():
print(S1C4.s1c4())
if __name__ == "__main__":
main()
| 59.591667
| 75
| 0.926724
| 388
| 21,453
| 51.201031
| 0.93299
| 0.000201
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.710262
| 0.025218
| 21,453
| 359
| 76
| 59.75766
| 0.239719
| 0.002704
| 0
| 0
| 0
| 0
| 0.917532
| 0.917158
| 0
| 0
| 0
| 0
| 0
| 1
| 0.005764
| false
| 0
| 0.005764
| 0
| 0.017291
| 0.005764
| 0
| 0
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
79a9f8dbef47e7add196ce441d0be68cf460caa8
| 205
|
py
|
Python
|
test/test_ExperimentParameter.py
|
brettin/liquidhandling
|
7a96e2881ffaa0326514cf5d97ba49d65ad42a14
|
[
"MIT"
] | null | null | null |
test/test_ExperimentParameter.py
|
brettin/liquidhandling
|
7a96e2881ffaa0326514cf5d97ba49d65ad42a14
|
[
"MIT"
] | null | null | null |
test/test_ExperimentParameter.py
|
brettin/liquidhandling
|
7a96e2881ffaa0326514cf5d97ba49d65ad42a14
|
[
"MIT"
] | 1
|
2021-03-25T13:47:42.000Z
|
2021-03-25T13:47:42.000Z
|
import sys
import os
import pytest
from liquidhandling import ExperimentManager
from liquidhandling import ExperimentParameter
class TestExperimentParameter:
def test_temp(self):
assert True
| 18.636364
| 46
| 0.814634
| 22
| 205
| 7.545455
| 0.727273
| 0.216867
| 0.289157
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.165854
| 205
| 10
| 47
| 20.5
| 0.97076
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.125
| 1
| 0.125
| false
| 0
| 0.625
| 0
| 0.875
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 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
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
8dba72aa2505fdb134c300d54aeab8febbd0bc1e
| 1,000
|
py
|
Python
|
docs/source/examples/FB2.0/post_file_system_snapshots.py
|
Flav-STOR-WL/py-pure-client
|
03b889c997d90380ac5d6380ca5d5432792d3e89
|
[
"BSD-2-Clause"
] | 14
|
2018-12-07T18:30:27.000Z
|
2022-02-22T09:12:33.000Z
|
docs/source/examples/FB2.0/post_file_system_snapshots.py
|
Flav-STOR-WL/py-pure-client
|
03b889c997d90380ac5d6380ca5d5432792d3e89
|
[
"BSD-2-Clause"
] | 28
|
2019-09-17T21:03:52.000Z
|
2022-03-29T22:07:35.000Z
|
docs/source/examples/FB2.0/post_file_system_snapshots.py
|
Flav-STOR-WL/py-pure-client
|
03b889c997d90380ac5d6380ca5d5432792d3e89
|
[
"BSD-2-Clause"
] | 15
|
2020-06-11T15:50:08.000Z
|
2022-03-21T09:27:25.000Z
|
from pypureclient.flashblade import FileSystemSnapshotPost
# create a snapshot for the file system named myfs
res = client.post_file_system_snapshots(source_names=["myfs"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# create a snapshot with suffix mysnap for the file system named myfs
res = client.post_file_system_snapshots(source_names=["myfs"],
file_system_snapshot=FileSystemSnapshotPost("mysnap"))
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# create a snapshot with suffix mysnap for the file system named myfs
res = client.post_file_system_snapshots(source_names=["myfs"],
send=True,
targets=["myremote"])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# Other valid fields: source_ids
# See section "Common Fields" for examples
| 43.478261
| 94
| 0.693
| 121
| 1,000
| 5.603306
| 0.347107
| 0.103245
| 0.066372
| 0.070796
| 0.710914
| 0.710914
| 0.710914
| 0.710914
| 0.710914
| 0.710914
| 0
| 0
| 0.215
| 1,000
| 22
| 95
| 45.454545
| 0.863694
| 0.256
| 0
| 0.6875
| 0
| 0
| 0.03523
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.0625
| 0
| 0.0625
| 0.375
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
5c21018812cabf13579b139dd52c7bff41a1b812
| 128
|
py
|
Python
|
Prototype-4/main.py
|
ArLEquiN64/Desire-AI
|
ff0961e4a59fdb7762b888c3c2f40e06f7e13fd1
|
[
"Apache-2.0"
] | null | null | null |
Prototype-4/main.py
|
ArLEquiN64/Desire-AI
|
ff0961e4a59fdb7762b888c3c2f40e06f7e13fd1
|
[
"Apache-2.0"
] | null | null | null |
Prototype-4/main.py
|
ArLEquiN64/Desire-AI
|
ff0961e4a59fdb7762b888c3c2f40e06f7e13fd1
|
[
"Apache-2.0"
] | null | null | null |
#! /usr/bin/python
class Main:
def start(self):
print 'start'
if __name__ == "__main__":
main = Main()
main.start()
| 12.8
| 26
| 0.609375
| 17
| 128
| 4.117647
| 0.647059
| 0.342857
| 0.342857
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.21875
| 128
| 9
| 27
| 14.222222
| 0.7
| 0.132813
| 0
| 0
| 0
| 0
| 0.118182
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 0
| null | null | 0.166667
| 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
5c33e948b17bf8b536839c2e00b1a87809c117fd
| 43
|
py
|
Python
|
cancan/testapp/abilities.py
|
pgorecki/django-cancango
|
c2859db27169af57862d7974b326140f253465f1
|
[
"MIT"
] | 34
|
2020-09-02T11:28:03.000Z
|
2022-03-17T08:18:02.000Z
|
cancan/testapp/abilities.py
|
pgorecki/django-cancango
|
c2859db27169af57862d7974b326140f253465f1
|
[
"MIT"
] | 2
|
2020-09-23T12:51:20.000Z
|
2022-02-10T14:42:46.000Z
|
cancan/testapp/abilities.py
|
pgorecki/django-cancango
|
c2859db27169af57862d7974b326140f253465f1
|
[
"MIT"
] | null | null | null |
def get_abilities(user, ability):
pass
| 14.333333
| 33
| 0.72093
| 6
| 43
| 5
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.186047
| 43
| 2
| 34
| 21.5
| 0.857143
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.5
| false
| 0.5
| 0
| 0
| 0.5
| 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
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 5
|
5c4abb7596c904cf9c5103141a1b2812c4a57c85
| 226
|
py
|
Python
|
test_project/test_app/admin.py
|
tumb1er/django-admin-countless
|
74ff259ddbaa02fdd39aafe45f5aaefcd8d60887
|
[
"MIT"
] | 2
|
2020-07-29T18:31:55.000Z
|
2021-07-02T13:22:45.000Z
|
test_project/test_app/admin.py
|
tumb1er/django-admin-countless
|
74ff259ddbaa02fdd39aafe45f5aaefcd8d60887
|
[
"MIT"
] | 26
|
2020-04-15T09:37:57.000Z
|
2021-12-07T15:28:04.000Z
|
test_project/test_app/admin.py
|
tumb1er/django-admin-countless
|
74ff259ddbaa02fdd39aafe45f5aaefcd8d60887
|
[
"MIT"
] | 1
|
2020-03-24T12:17:12.000Z
|
2020-03-24T12:17:12.000Z
|
from django.contrib import admin
from countless_admin import CountlessAdminMixin
from test_project.test_app.models import MyModel
@admin.register(MyModel)
class MyModelAdmin(CountlessAdminMixin, admin.ModelAdmin):
pass
| 22.6
| 58
| 0.840708
| 27
| 226
| 6.925926
| 0.62963
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.106195
| 226
| 9
| 59
| 25.111111
| 0.925743
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0.166667
| 0.5
| 0
| 0.666667
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 0
|
0
| 5
|
309a8073a094d38e3db70255e6b265840496d257
| 1,177
|
py
|
Python
|
src/web/users/decorators.py
|
werelaxe/drapo
|
5f78da735819200f0e7efa6a5e6b3b45ba6e0d4b
|
[
"MIT"
] | null | null | null |
src/web/users/decorators.py
|
werelaxe/drapo
|
5f78da735819200f0e7efa6a5e6b3b45ba6e0d4b
|
[
"MIT"
] | null | null | null |
src/web/users/decorators.py
|
werelaxe/drapo
|
5f78da735819200f0e7efa6a5e6b3b45ba6e0d4b
|
[
"MIT"
] | null | null | null |
from django.contrib.auth import REDIRECT_FIELD_NAME
from django.contrib.auth.decorators import user_passes_test
__all__ = ['login_required', 'staff_required']
def login_required(function=None, redirect_field_name=REDIRECT_FIELD_NAME, login_url=None):
"""
Decorator for views that checks that the user is logged in, redirecting
to the log-in page if necessary.
Based on django.contrib.auth.decorators.login_required
"""
actual_decorator = user_passes_test(
lambda u: u.is_authenticated and u.is_email_confirmed,
login_url=login_url,
redirect_field_name=redirect_field_name
)
if function:
return actual_decorator(function)
return actual_decorator
def staff_required(function=None, redirect_field_name=REDIRECT_FIELD_NAME, login_url=None):
"""
Decorator for views that checks that the user is staff, redirecting
to the log-in page if necessary.
"""
actual_decorator = user_passes_test(
lambda u: u.is_staff,
login_url=login_url,
redirect_field_name=redirect_field_name
)
if function:
return actual_decorator(function)
return actual_decorator
| 31.810811
| 91
| 0.738318
| 158
| 1,177
| 5.189873
| 0.28481
| 0.142683
| 0.186585
| 0.121951
| 0.709756
| 0.709756
| 0.709756
| 0.709756
| 0.621951
| 0.526829
| 0
| 0
| 0.197111
| 1,177
| 36
| 92
| 32.694444
| 0.867725
| 0.22175
| 0
| 0.571429
| 0
| 0
| 0.032073
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.095238
| false
| 0.142857
| 0.095238
| 0
| 0.380952
| 0
| 0
| 0
| 0
| null | 0
| 1
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 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
| 5
|
30a7e1d7ffa8ae5b255f5e6a653bc7947754d2f5
| 177
|
py
|
Python
|
msl/io/readers/__init__.py
|
MSLNZ/MSL-IO
|
0b7a1f6ddacc936a98f134fd67f209840a500030
|
[
"MIT"
] | 6
|
2021-06-27T00:26:09.000Z
|
2022-02-11T06:04:23.000Z
|
msl/io/readers/__init__.py
|
MSLNZ/MSL-IO
|
0b7a1f6ddacc936a98f134fd67f209840a500030
|
[
"MIT"
] | null | null | null |
msl/io/readers/__init__.py
|
MSLNZ/MSL-IO
|
0b7a1f6ddacc936a98f134fd67f209840a500030
|
[
"MIT"
] | 1
|
2018-03-01T03:11:00.000Z
|
2018-03-01T03:11:00.000Z
|
from .detector_responsivity_system import DRSReader
from .excel import ExcelReader
from .hdf5 import HDF5Reader
from .json_ import JSONReader
from .gsheets import GSheetsReader
| 29.5
| 51
| 0.858757
| 22
| 177
| 6.772727
| 0.636364
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.012739
| 0.112994
| 177
| 5
| 52
| 35.4
| 0.936306
| 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
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
30fb3f02091b71d9c34b95f5c0874144b6667111
| 118
|
py
|
Python
|
sensores/client/python_cli/run.py
|
luyisimiger/proyecto_sensores
|
76957901433077612acba50226fb6a699a0d451b
|
[
"MIT"
] | null | null | null |
sensores/client/python_cli/run.py
|
luyisimiger/proyecto_sensores
|
76957901433077612acba50226fb6a699a0d451b
|
[
"MIT"
] | null | null | null |
sensores/client/python_cli/run.py
|
luyisimiger/proyecto_sensores
|
76957901433077612acba50226fb6a699a0d451b
|
[
"MIT"
] | null | null | null |
"""for run python in interactive mode"""
from db import util
from db.models import Sensor, Medition
util.conectdb()
| 16.857143
| 40
| 0.754237
| 18
| 118
| 4.944444
| 0.777778
| 0.134831
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.152542
| 118
| 6
| 41
| 19.666667
| 0.89
| 0.288136
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.666667
| 0
| 0.666667
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
30fb85330ab2f38b5b0f4d2eed2f9cfda57b0828
| 25
|
py
|
Python
|
src/templates/__init__.py
|
hittu123/ruhive
|
d6fb27c2d05a8b74d2b701720a4944c175083324
|
[
"MIT"
] | null | null | null |
src/templates/__init__.py
|
hittu123/ruhive
|
d6fb27c2d05a8b74d2b701720a4944c175083324
|
[
"MIT"
] | null | null | null |
src/templates/__init__.py
|
hittu123/ruhive
|
d6fb27c2d05a8b74d2b701720a4944c175083324
|
[
"MIT"
] | null | null | null |
__author__ = '212422608'
| 12.5
| 24
| 0.76
| 2
| 25
| 7.5
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.409091
| 0.12
| 25
| 1
| 25
| 25
| 0.272727
| 0
| 0
| 0
| 0
| 0
| 0.36
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 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
| 0
|
0
| 5
|
a51c61a2c83908a2adc6ef5139cf7b3bc9025e09
| 50
|
py
|
Python
|
giovanni/hello_world.py
|
angeloc/github-learning
|
7dd7fdd84a137399eb76e92869b338f6a283c6bc
|
[
"MIT"
] | null | null | null |
giovanni/hello_world.py
|
angeloc/github-learning
|
7dd7fdd84a137399eb76e92869b338f6a283c6bc
|
[
"MIT"
] | 4
|
2018-10-09T20:55:26.000Z
|
2020-10-16T18:33:01.000Z
|
giovanni/hello_world.py
|
angeloc/github-learning
|
7dd7fdd84a137399eb76e92869b338f6a283c6bc
|
[
"MIT"
] | 8
|
2018-10-06T16:39:22.000Z
|
2021-10-20T19:41:53.000Z
|
#!/usr/bin/python
print("How you doing man???")
| 10
| 29
| 0.62
| 8
| 50
| 3.875
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.14
| 50
| 4
| 30
| 12.5
| 0.72093
| 0.32
| 0
| 0
| 0
| 0
| 0.606061
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0
| 0
| 0
| 1
| 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
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
|
0
| 5
|
eb5e4d392c1ae798c5f07e20d503978cfa4f14c1
| 73
|
py
|
Python
|
users/models.py
|
sh4rpy/todo_api
|
6395da91099c2c6b46acb850bc30880db7c6800d
|
[
"BSD-3-Clause"
] | null | null | null |
users/models.py
|
sh4rpy/todo_api
|
6395da91099c2c6b46acb850bc30880db7c6800d
|
[
"BSD-3-Clause"
] | null | null | null |
users/models.py
|
sh4rpy/todo_api
|
6395da91099c2c6b46acb850bc30880db7c6800d
|
[
"BSD-3-Clause"
] | null | null | null |
from django.contrib.auth import get_user_model
User = get_user_model()
| 14.6
| 46
| 0.808219
| 12
| 73
| 4.583333
| 0.666667
| 0.254545
| 0.436364
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.123288
| 73
| 4
| 47
| 18.25
| 0.859375
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.5
| 0
| 0.5
| 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
| 0
| 0
| 0
|
0
| 5
|
eb781242f2c1e7f3f43a736ebd8591b203c040dc
| 46
|
py
|
Python
|
Python/HaloDunia.py
|
saurabhcommand/Hello-world
|
647bad9da901a52d455f05ecc37c6823c22dc77e
|
[
"MIT"
] | 1,428
|
2018-10-03T15:15:17.000Z
|
2019-03-31T18:38:36.000Z
|
Python/HaloDunia.py
|
saurabhcommand/Hello-world
|
647bad9da901a52d455f05ecc37c6823c22dc77e
|
[
"MIT"
] | 1,162
|
2018-10-03T15:05:49.000Z
|
2018-10-18T14:17:52.000Z
|
Python/HaloDunia.py
|
saurabhcommand/Hello-world
|
647bad9da901a52d455f05ecc37c6823c22dc77e
|
[
"MIT"
] | 3,909
|
2018-10-03T15:07:19.000Z
|
2019-03-31T18:39:08.000Z
|
print ("Hello World")
print ("Namaste Dunia")
| 15.333333
| 23
| 0.695652
| 6
| 46
| 5.333333
| 0.833333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.130435
| 46
| 2
| 24
| 23
| 0.8
| 0
| 0
| 0
| 0
| 0
| 0.521739
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
|
0
| 5
|
eb96596ff1c0ad6d529157adb3768d60d0943716
| 49
|
py
|
Python
|
tutorial/__init__.py
|
q0w/snug
|
a9de335b48d96190a2bfe5e606830c4a60cb5705
|
[
"MIT"
] | 123
|
2018-01-23T17:29:29.000Z
|
2022-02-11T06:57:57.000Z
|
tutorial/__init__.py
|
q0w/snug
|
a9de335b48d96190a2bfe5e606830c4a60cb5705
|
[
"MIT"
] | 274
|
2018-01-25T07:17:55.000Z
|
2022-01-20T07:37:10.000Z
|
tutorial/__init__.py
|
q0w/snug
|
a9de335b48d96190a2bfe5e606830c4a60cb5705
|
[
"MIT"
] | 5
|
2017-11-26T21:31:12.000Z
|
2021-11-28T10:19:57.000Z
|
"""examples used in the tutorial. See to docs"""
| 24.5
| 48
| 0.693878
| 8
| 49
| 4.25
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.163265
| 49
| 1
| 49
| 49
| 0.829268
| 0.857143
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 1
| 0
| null | 0
| 0
| 0
| 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
| 5
|
eba4799a3fdf7b0065f743c50fef40f5bb86c70d
| 262
|
py
|
Python
|
piny/__init__.py
|
jochenparm/piny
|
2480cdf725d5e76d4f4dac61d0615f4a3de206af
|
[
"MIT"
] | 13
|
2019-06-07T17:44:48.000Z
|
2020-11-29T22:04:53.000Z
|
piny/__init__.py
|
jochenparm/piny
|
2480cdf725d5e76d4f4dac61d0615f4a3de206af
|
[
"MIT"
] | 156
|
2019-06-07T14:54:15.000Z
|
2022-03-21T19:36:21.000Z
|
piny/__init__.py
|
jochenparm/piny
|
2480cdf725d5e76d4f4dac61d0615f4a3de206af
|
[
"MIT"
] | 1
|
2021-07-04T15:48:41.000Z
|
2021-07-04T15:48:41.000Z
|
from .errors import ConfigError, LoadingError, ValidationError
from .loaders import YamlLoader, YamlStreamLoader
from .matchers import Matcher, MatcherWithDefaults, StrictMatcher
from .validators import MarshmallowValidator, PydanticValidator, TrafaretValidator
| 52.4
| 82
| 0.870229
| 23
| 262
| 9.913043
| 0.73913
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.087786
| 262
| 4
| 83
| 65.5
| 0.953975
| 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
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
ebaac8ae1d8d6db0fedc9f42f700fde867cb9cae
| 29
|
py
|
Python
|
bla bla.py
|
roni20-meet/meet2018y1mini-proj
|
4c1eaba86ef43a028388db01830c055a3f01d20e
|
[
"MIT"
] | null | null | null |
bla bla.py
|
roni20-meet/meet2018y1mini-proj
|
4c1eaba86ef43a028388db01830c055a3f01d20e
|
[
"MIT"
] | null | null | null |
bla bla.py
|
roni20-meet/meet2018y1mini-proj
|
4c1eaba86ef43a028388db01830c055a3f01d20e
|
[
"MIT"
] | null | null | null |
import turtle
square.shape()
| 9.666667
| 14
| 0.793103
| 4
| 29
| 5.75
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.103448
| 29
| 2
| 15
| 14.5
| 0.884615
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.5
| 0
| 0.5
| 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
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
ebb13fc816601579474fee3bbd15794268e35af3
| 33
|
py
|
Python
|
bundle/__init__.py
|
yonjansanjay8888/Sanjay-Lama
|
5243a492a2db4c71634b6ddc51a34b90ab51ef44
|
[
"MIT"
] | 1
|
2018-02-18T04:22:40.000Z
|
2018-02-18T04:22:40.000Z
|
bundle/__init__.py
|
yonjansanjay8888/Sanjay-Lama
|
5243a492a2db4c71634b6ddc51a34b90ab51ef44
|
[
"MIT"
] | null | null | null |
bundle/__init__.py
|
yonjansanjay8888/Sanjay-Lama
|
5243a492a2db4c71634b6ddc51a34b90ab51ef44
|
[
"MIT"
] | null | null | null |
from .bundle import apply_assets
| 16.5
| 32
| 0.848485
| 5
| 33
| 5.4
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.121212
| 33
| 1
| 33
| 33
| 0.931034
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
cce695cae23a9ccd8f1e13736d7558fa940f262b
| 1,230
|
py
|
Python
|
temboo/core/Library/Box/Folders/__init__.py
|
jordanemedlock/psychtruths
|
52e09033ade9608bd5143129f8a1bfac22d634dd
|
[
"Apache-2.0"
] | 7
|
2016-03-07T02:07:21.000Z
|
2022-01-21T02:22:41.000Z
|
temboo/core/Library/Box/Folders/__init__.py
|
jordanemedlock/psychtruths
|
52e09033ade9608bd5143129f8a1bfac22d634dd
|
[
"Apache-2.0"
] | null | null | null |
temboo/core/Library/Box/Folders/__init__.py
|
jordanemedlock/psychtruths
|
52e09033ade9608bd5143129f8a1bfac22d634dd
|
[
"Apache-2.0"
] | 8
|
2016-06-14T06:01:11.000Z
|
2020-04-22T09:21:44.000Z
|
from temboo.Library.Box.Folders.CopyFolder import CopyFolder, CopyFolderInputSet, CopyFolderResultSet, CopyFolderChoreographyExecution
from temboo.Library.Box.Folders.CreateFolder import CreateFolder, CreateFolderInputSet, CreateFolderResultSet, CreateFolderChoreographyExecution
from temboo.Library.Box.Folders.CreateSharedLink import CreateSharedLink, CreateSharedLinkInputSet, CreateSharedLinkResultSet, CreateSharedLinkChoreographyExecution
from temboo.Library.Box.Folders.DeleteFolder import DeleteFolder, DeleteFolderInputSet, DeleteFolderResultSet, DeleteFolderChoreographyExecution
from temboo.Library.Box.Folders.GetFolderInformation import GetFolderInformation, GetFolderInformationInputSet, GetFolderInformationResultSet, GetFolderInformationChoreographyExecution
from temboo.Library.Box.Folders.RetrieveFolderItems import RetrieveFolderItems, RetrieveFolderItemsInputSet, RetrieveFolderItemsResultSet, RetrieveFolderItemsChoreographyExecution
from temboo.Library.Box.Folders.UpdateFolder import UpdateFolder, UpdateFolderInputSet, UpdateFolderResultSet, UpdateFolderChoreographyExecution
from temboo.Library.Box.Folders.ZipFolder import ZipFolder, ZipFolderInputSet, ZipFolderResultSet, ZipFolderChoreographyExecution
| 136.666667
| 184
| 0.908943
| 88
| 1,230
| 12.704545
| 0.431818
| 0.071556
| 0.121646
| 0.143113
| 0.193202
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.045528
| 1,230
| 8
| 185
| 153.75
| 0.9523
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 1
| null | 0
| 0
| 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
| 0
| 0
|
0
| 5
|
6908d1a54fdfcec870546dfe55f6045d29c3b70e
| 9,385
|
py
|
Python
|
terrascript/resource/vmware/avi.py
|
mjuenema/python-terrascript
|
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
|
[
"BSD-2-Clause"
] | 507
|
2017-07-26T02:58:38.000Z
|
2022-01-21T12:35:13.000Z
|
terrascript/resource/vmware/avi.py
|
mjuenema/python-terrascript
|
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
|
[
"BSD-2-Clause"
] | 135
|
2017-07-20T12:01:59.000Z
|
2021-10-04T22:25:40.000Z
|
terrascript/resource/vmware/avi.py
|
mjuenema/python-terrascript
|
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
|
[
"BSD-2-Clause"
] | 81
|
2018-02-20T17:55:28.000Z
|
2022-01-31T07:08:40.000Z
|
# terrascript/resource/vmware/avi.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:12:08 UTC)
import terrascript
class avi_actiongroupconfig(terrascript.Resource):
pass
class avi_albservicesconfig(terrascript.Resource):
pass
class avi_albservicesfileupload(terrascript.Resource):
pass
class avi_alertconfig(terrascript.Resource):
pass
class avi_alertemailconfig(terrascript.Resource):
pass
class avi_alertscriptconfig(terrascript.Resource):
pass
class avi_alertsyslogconfig(terrascript.Resource):
pass
class avi_analyticsprofile(terrascript.Resource):
pass
class avi_applicationpersistenceprofile(terrascript.Resource):
pass
class avi_applicationprofile(terrascript.Resource):
pass
class avi_authprofile(terrascript.Resource):
pass
class avi_autoscalelaunchconfig(terrascript.Resource):
pass
class avi_availabilityzone(terrascript.Resource):
pass
class avi_backup(terrascript.Resource):
pass
class avi_backupconfiguration(terrascript.Resource):
pass
class avi_botconfigconsolidator(terrascript.Resource):
pass
class avi_botdetectionpolicy(terrascript.Resource):
pass
class avi_botipreputationtypemapping(terrascript.Resource):
pass
class avi_botmapping(terrascript.Resource):
pass
class avi_certificatemanagementprofile(terrascript.Resource):
pass
class avi_cloud(terrascript.Resource):
pass
class avi_cloudconnectoruser(terrascript.Resource):
pass
class avi_cloudproperties(terrascript.Resource):
pass
class avi_cluster(terrascript.Resource):
pass
class avi_clusterclouddetails(terrascript.Resource):
pass
class avi_controllerportalregistration(terrascript.Resource):
pass
class avi_controllerproperties(terrascript.Resource):
pass
class avi_controllersite(terrascript.Resource):
pass
class avi_customipamdnsprofile(terrascript.Resource):
pass
class avi_dnspolicy(terrascript.Resource):
pass
class avi_dynamicdnsrecord(terrascript.Resource):
pass
class avi_errorpagebody(terrascript.Resource):
pass
class avi_errorpageprofile(terrascript.Resource):
pass
class avi_federationcheckpoint(terrascript.Resource):
pass
class avi_fileobject(terrascript.Resource):
pass
class avi_fileservice(terrascript.Resource):
pass
class avi_geodb(terrascript.Resource):
pass
class avi_gslb(terrascript.Resource):
pass
class avi_gslbgeodbprofile(terrascript.Resource):
pass
class avi_gslbservice(terrascript.Resource):
pass
class avi_hardwaresecuritymodulegroup(terrascript.Resource):
pass
class avi_healthmonitor(terrascript.Resource):
pass
class avi_httppolicyset(terrascript.Resource):
pass
class avi_icapprofile(terrascript.Resource):
pass
class avi_image(terrascript.Resource):
pass
class avi_inventoryfaultconfig(terrascript.Resource):
pass
class avi_ipaddrgroup(terrascript.Resource):
pass
class avi_ipamdnsproviderprofile(terrascript.Resource):
pass
class avi_ipreputationdb(terrascript.Resource):
pass
class avi_jwtserverprofile(terrascript.Resource):
pass
class avi_l4policyset(terrascript.Resource):
pass
class avi_labelgroup(terrascript.Resource):
pass
class avi_licenseledgerdetails(terrascript.Resource):
pass
class avi_memorybalancerrequest(terrascript.Resource):
pass
class avi_microservicegroup(terrascript.Resource):
pass
class avi_natpolicy(terrascript.Resource):
pass
class avi_network(terrascript.Resource):
pass
class avi_networkprofile(terrascript.Resource):
pass
class avi_networksecuritypolicy(terrascript.Resource):
pass
class avi_networkservice(terrascript.Resource):
pass
class avi_nsxtsegmentruntime(terrascript.Resource):
pass
class avi_pingaccessagent(terrascript.Resource):
pass
class avi_pkiprofile(terrascript.Resource):
pass
class avi_pool(terrascript.Resource):
pass
class avi_poolgroup(terrascript.Resource):
pass
class avi_poolgroupdeploymentpolicy(terrascript.Resource):
pass
class avi_prioritylabels(terrascript.Resource):
pass
class avi_protocolparser(terrascript.Resource):
pass
class avi_rmcloudopsproto(terrascript.Resource):
pass
class avi_role(terrascript.Resource):
pass
class avi_scheduler(terrascript.Resource):
pass
class avi_securitymanagerdata(terrascript.Resource):
pass
class avi_securitypolicy(terrascript.Resource):
pass
class avi_seproperties(terrascript.Resource):
pass
class avi_server(terrascript.Resource):
pass
class avi_serverautoscalepolicy(terrascript.Resource):
pass
class avi_serviceengine(terrascript.Resource):
pass
class avi_serviceenginegroup(terrascript.Resource):
pass
class avi_siteversion(terrascript.Resource):
pass
class avi_snmptrapprofile(terrascript.Resource):
pass
class avi_sslkeyandcertificate(terrascript.Resource):
pass
class avi_sslprofile(terrascript.Resource):
pass
class avi_ssopolicy(terrascript.Resource):
pass
class avi_stringgroup(terrascript.Resource):
pass
class avi_systemconfiguration(terrascript.Resource):
pass
class avi_systemlimits(terrascript.Resource):
pass
class avi_tenant(terrascript.Resource):
pass
class avi_testsedatastorelevel1(terrascript.Resource):
pass
class avi_testsedatastorelevel2(terrascript.Resource):
pass
class avi_testsedatastorelevel3(terrascript.Resource):
pass
class avi_trafficcloneprofile(terrascript.Resource):
pass
class avi_upgradestatusinfo(terrascript.Resource):
pass
class avi_upgradestatussummary(terrascript.Resource):
pass
class avi_user(terrascript.Resource):
pass
class avi_useraccount(terrascript.Resource):
pass
class avi_useraccountprofile(terrascript.Resource):
pass
class avi_vcenterserver(terrascript.Resource):
pass
class avi_virtualservice(terrascript.Resource):
pass
class avi_vrfcontext(terrascript.Resource):
pass
class avi_vsdatascriptset(terrascript.Resource):
pass
class avi_vsvip(terrascript.Resource):
pass
class avi_wafapplicationsignatureprovider(terrascript.Resource):
pass
class avi_wafcrs(terrascript.Resource):
pass
class avi_wafpolicy(terrascript.Resource):
pass
class avi_wafpolicypsmgroup(terrascript.Resource):
pass
class avi_wafprofile(terrascript.Resource):
pass
class avi_webhook(terrascript.Resource):
pass
__all__ = [
"avi_actiongroupconfig",
"avi_albservicesconfig",
"avi_albservicesfileupload",
"avi_alertconfig",
"avi_alertemailconfig",
"avi_alertscriptconfig",
"avi_alertsyslogconfig",
"avi_analyticsprofile",
"avi_applicationpersistenceprofile",
"avi_applicationprofile",
"avi_authprofile",
"avi_autoscalelaunchconfig",
"avi_availabilityzone",
"avi_backup",
"avi_backupconfiguration",
"avi_botconfigconsolidator",
"avi_botdetectionpolicy",
"avi_botipreputationtypemapping",
"avi_botmapping",
"avi_certificatemanagementprofile",
"avi_cloud",
"avi_cloudconnectoruser",
"avi_cloudproperties",
"avi_cluster",
"avi_clusterclouddetails",
"avi_controllerportalregistration",
"avi_controllerproperties",
"avi_controllersite",
"avi_customipamdnsprofile",
"avi_dnspolicy",
"avi_dynamicdnsrecord",
"avi_errorpagebody",
"avi_errorpageprofile",
"avi_federationcheckpoint",
"avi_fileobject",
"avi_fileservice",
"avi_geodb",
"avi_gslb",
"avi_gslbgeodbprofile",
"avi_gslbservice",
"avi_hardwaresecuritymodulegroup",
"avi_healthmonitor",
"avi_httppolicyset",
"avi_icapprofile",
"avi_image",
"avi_inventoryfaultconfig",
"avi_ipaddrgroup",
"avi_ipamdnsproviderprofile",
"avi_ipreputationdb",
"avi_jwtserverprofile",
"avi_l4policyset",
"avi_labelgroup",
"avi_licenseledgerdetails",
"avi_memorybalancerrequest",
"avi_microservicegroup",
"avi_natpolicy",
"avi_network",
"avi_networkprofile",
"avi_networksecuritypolicy",
"avi_networkservice",
"avi_nsxtsegmentruntime",
"avi_pingaccessagent",
"avi_pkiprofile",
"avi_pool",
"avi_poolgroup",
"avi_poolgroupdeploymentpolicy",
"avi_prioritylabels",
"avi_protocolparser",
"avi_rmcloudopsproto",
"avi_role",
"avi_scheduler",
"avi_securitymanagerdata",
"avi_securitypolicy",
"avi_seproperties",
"avi_server",
"avi_serverautoscalepolicy",
"avi_serviceengine",
"avi_serviceenginegroup",
"avi_siteversion",
"avi_snmptrapprofile",
"avi_sslkeyandcertificate",
"avi_sslprofile",
"avi_ssopolicy",
"avi_stringgroup",
"avi_systemconfiguration",
"avi_systemlimits",
"avi_tenant",
"avi_testsedatastorelevel1",
"avi_testsedatastorelevel2",
"avi_testsedatastorelevel3",
"avi_trafficcloneprofile",
"avi_upgradestatusinfo",
"avi_upgradestatussummary",
"avi_user",
"avi_useraccount",
"avi_useraccountprofile",
"avi_vcenterserver",
"avi_virtualservice",
"avi_vrfcontext",
"avi_vsdatascriptset",
"avi_vsvip",
"avi_wafapplicationsignatureprovider",
"avi_wafcrs",
"avi_wafpolicy",
"avi_wafpolicypsmgroup",
"avi_wafprofile",
"avi_webhook",
]
| 17.28361
| 73
| 0.756846
| 877
| 9,385
| 7.850627
| 0.145952
| 0.298039
| 0.357444
| 0.431082
| 0.477269
| 0
| 0
| 0
| 0
| 0
| 0
| 0.002542
| 0.161534
| 9,385
| 542
| 74
| 17.315498
| 0.872411
| 0.011295
| 0
| 0.330247
| 1
| 0
| 0.215395
| 0.111578
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0.330247
| 0.003086
| 0
| 0.333333
| 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
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 5
|
694e278774cdb21f706a37c1d00867058368d61d
| 43
|
py
|
Python
|
pytvdb/__init__.py
|
jwbaker/pytvdb
|
39f00896ed1bed1f1dabe05f73980c9455c502df
|
[
"Unlicense"
] | null | null | null |
pytvdb/__init__.py
|
jwbaker/pytvdb
|
39f00896ed1bed1f1dabe05f73980c9455c502df
|
[
"Unlicense"
] | 2
|
2019-08-01T01:06:34.000Z
|
2021-06-01T21:20:14.000Z
|
pytvdb/__init__.py
|
jwbaker/pytvdb
|
39f00896ed1bed1f1dabe05f73980c9455c502df
|
[
"Unlicense"
] | null | null | null |
from .api import TVDB
from .models import *
| 21.5
| 21
| 0.767442
| 7
| 43
| 4.714286
| 0.714286
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.162791
| 43
| 2
| 22
| 21.5
| 0.916667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
15cd8b35e5c41a94a503c1b84857e1847a6f3af9
| 1,048
|
py
|
Python
|
01_Modelos_Supervisionados/1.5_Descida_do_Gradiente_Estocastico/1.5.6_Criterio_de_Parada.py
|
BrunoBertti/Scikit_Learning
|
4b9e10ff7909f3728ac1e8bba19f5fd779340bc4
|
[
"MIT"
] | null | null | null |
01_Modelos_Supervisionados/1.5_Descida_do_Gradiente_Estocastico/1.5.6_Criterio_de_Parada.py
|
BrunoBertti/Scikit_Learning
|
4b9e10ff7909f3728ac1e8bba19f5fd779340bc4
|
[
"MIT"
] | null | null | null |
01_Modelos_Supervisionados/1.5_Descida_do_Gradiente_Estocastico/1.5.6_Criterio_de_Parada.py
|
BrunoBertti/Scikit_Learning
|
4b9e10ff7909f3728ac1e8bba19f5fd779340bc4
|
[
"MIT"
] | null | null | null |
########## 1.5.6. Critério de parada ##########
# As classes SGDClassifier e SGDRegressor fornecem dois critérios para parar o algoritmo quando um determinado nível de convergência é alcançado:
# Com early_stopping=True, os dados de entrada são divididos em um conjunto de treinamento e um conjunto de validação. O modelo é então ajustado no conjunto de treinamento e o critério de parada é baseado na pontuação de previsão (usando o método de pontuação) calculada no conjunto de validação. O tamanho do conjunto de validação pode ser alterado com o parâmetro validation_fraction.
# Com early_stopping=False, o modelo é ajustado em todos os dados de entrada e o critério de parada é baseado na função objetivo calculada nos dados de treinamento.
# Em ambos os casos, o critério é avaliado uma vez por época e o algoritmo para quando o critério não melhora n_iter_no_change vezes seguidas. A melhoria é avaliada com tolerância absoluta tol, e o algoritmo para em qualquer caso após um número máximo de iteração max_iter.
| 116.444444
| 394
| 0.776718
| 169
| 1,048
| 4.775148
| 0.526627
| 0.061958
| 0.05948
| 0.039653
| 0.069393
| 0.069393
| 0.069393
| 0.069393
| 0
| 0
| 0
| 0.003505
| 0.183206
| 1,048
| 9
| 395
| 116.444444
| 0.939252
| 0.944656
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0.111111
| null | 1
| null | true
| 0
| 0
| null | null | null | 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
15d6783dd1f24d93b9dc0411e9befb43d49afb3c
| 87
|
py
|
Python
|
SyncAsyncRetry/__init__.py
|
monk-after-90s/SyncAsyncRetry
|
9bee1efd786e5a231e82e71ce1c10b04effdbde7
|
[
"MIT"
] | null | null | null |
SyncAsyncRetry/__init__.py
|
monk-after-90s/SyncAsyncRetry
|
9bee1efd786e5a231e82e71ce1c10b04effdbde7
|
[
"MIT"
] | null | null | null |
SyncAsyncRetry/__init__.py
|
monk-after-90s/SyncAsyncRetry
|
9bee1efd786e5a231e82e71ce1c10b04effdbde7
|
[
"MIT"
] | null | null | null |
from .SyncAsyncRetry import create_interval_retry
__all__ = ['create_interval_retry']
| 21.75
| 49
| 0.83908
| 10
| 87
| 6.5
| 0.7
| 0.430769
| 0.584615
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.091954
| 87
| 3
| 50
| 29
| 0.822785
| 0
| 0
| 0
| 0
| 0
| 0.241379
| 0.241379
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.5
| 0
| 0.5
| 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
| 0
| 0
| 0
|
0
| 5
|
c639e804d65cae4f55c96952b6a5c8d274bc5cc9
| 80
|
bzl
|
Python
|
dotnet/selenium-dotnet-version.bzl
|
zcf20050115/selenium
|
08262ae3040644cefa102c03ead5773a66618cfb
|
[
"Apache-2.0"
] | 1
|
2018-02-24T23:38:41.000Z
|
2018-02-24T23:38:41.000Z
|
dotnet/selenium-dotnet-version.bzl
|
zcf20050115/selenium
|
08262ae3040644cefa102c03ead5773a66618cfb
|
[
"Apache-2.0"
] | null | null | null |
dotnet/selenium-dotnet-version.bzl
|
zcf20050115/selenium
|
08262ae3040644cefa102c03ead5773a66618cfb
|
[
"Apache-2.0"
] | 1
|
2018-03-18T08:49:17.000Z
|
2018-03-18T08:49:17.000Z
|
# BUILD FILE SYNTAX: SKYLARK
SE_VERSION = '3.9.1'
ASSEMBLY_VERSION = '3.9.1.0'
| 16
| 28
| 0.6875
| 15
| 80
| 3.533333
| 0.733333
| 0.301887
| 0.339623
| 0.377358
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.102941
| 0.15
| 80
| 4
| 29
| 20
| 0.676471
| 0.325
| 0
| 0
| 0
| 0
| 0.230769
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
c645e163dbda1bb388aacbb796a1a554c7e0d849
| 247
|
py
|
Python
|
ambra_sdk/service/entrypoints/user.py
|
dicomgrid/sdk-python
|
bb12eed311bad73dfb863917df4dc5cbcd91a447
|
[
"Apache-2.0"
] | 9
|
2020-04-20T23:45:44.000Z
|
2021-04-18T11:22:17.000Z
|
ambra_sdk/service/entrypoints/user.py
|
dicomgrid/sdk-python
|
bb12eed311bad73dfb863917df4dc5cbcd91a447
|
[
"Apache-2.0"
] | 13
|
2020-02-08T16:15:05.000Z
|
2021-09-13T22:55:28.000Z
|
ambra_sdk/service/entrypoints/user.py
|
dicomgrid/sdk-python
|
bb12eed311bad73dfb863917df4dc5cbcd91a447
|
[
"Apache-2.0"
] | 6
|
2020-03-25T17:47:45.000Z
|
2021-04-18T11:22:19.000Z
|
from ambra_sdk.service.entrypoints.generated.user import \
AsyncUser as GAsyncUser
from ambra_sdk.service.entrypoints.generated.user import User as GUser
class User(GUser):
"""User."""
class AsyncUser(GAsyncUser):
"""AsyncUser."""
| 20.583333
| 70
| 0.740891
| 30
| 247
| 6.033333
| 0.433333
| 0.099448
| 0.132597
| 0.209945
| 0.541436
| 0.541436
| 0.541436
| 0.541436
| 0
| 0
| 0
| 0
| 0.1417
| 247
| 11
| 71
| 22.454545
| 0.853774
| 0.064777
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.4
| 0
| 0.8
| 0
| 0
| 0
| 0
| null | 0
| 0
| 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
| 5
|
c645e2c876198be82e4c00a7db1dfba4c6696f53
| 225
|
py
|
Python
|
wipy/flash/main.py
|
scudderfish/SFL525R
|
507dfaf2e6ad21004b91b66f709ffbd1fdca7b8b
|
[
"MIT"
] | 1
|
2015-11-08T18:07:05.000Z
|
2015-11-08T18:07:05.000Z
|
wipy/flash/main.py
|
scudderfish/SFL525R
|
507dfaf2e6ad21004b91b66f709ffbd1fdca7b8b
|
[
"MIT"
] | null | null | null |
wipy/flash/main.py
|
scudderfish/SFL525R
|
507dfaf2e6ad21004b91b66f709ffbd1fdca7b8b
|
[
"MIT"
] | null | null | null |
# main.py -- put your code here!
from machine import SD
from machine import Pin
from onewire import *
import os
import uDS3231
import FDS18X20
import time
# Set the time according to the real RTC
uDS3231.DS3231().loadTime()
| 18.75
| 40
| 0.773333
| 36
| 225
| 4.833333
| 0.666667
| 0.126437
| 0.195402
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.085562
| 0.168889
| 225
| 11
| 41
| 20.454545
| 0.84492
| 0.306667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.090909
| 0
| 1
| 0
| true
| 0
| 0.875
| 0
| 0.875
| 0
| 0
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
c65587c97df874e8c76bcf483e9cf2f9118bf77a
| 358
|
py
|
Python
|
Server/test/account/test_check_game_key.py
|
DSM-Undefined/Get-Terra-Server
|
041727fca0c19325b257a17feef1bfd5501f01af
|
[
"MIT"
] | 1
|
2018-10-15T14:20:06.000Z
|
2018-10-15T14:20:06.000Z
|
Server/test/account/test_check_game_key.py
|
DSM-Undefined/Get-Terra-Server
|
041727fca0c19325b257a17feef1bfd5501f01af
|
[
"MIT"
] | 3
|
2018-10-10T03:17:21.000Z
|
2018-10-15T07:55:10.000Z
|
Server/test/account/test_check_game_key.py
|
DSM-Undefined/Get-Terra-Server
|
041727fca0c19325b257a17feef1bfd5501f01af
|
[
"MIT"
] | 4
|
2018-10-08T11:28:37.000Z
|
2019-04-09T07:47:39.000Z
|
from test import TCBase, check_status_code
from test.requests import check_game_key_request
class CheckGameKeyTest(TCBase):
@check_status_code(200)
def test_success_check_game_key(self):
return check_game_key_request(self)
@check_status_code(204)
def test_wrong_game_key(self):
return check_game_key_request(self, 111111)
| 25.571429
| 51
| 0.776536
| 52
| 358
| 4.923077
| 0.403846
| 0.136719
| 0.1875
| 0.222656
| 0.3125
| 0.3125
| 0.3125
| 0.3125
| 0.3125
| 0
| 0
| 0.04
| 0.162011
| 358
| 13
| 52
| 27.538462
| 0.813333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.222222
| false
| 0
| 0.222222
| 0.222222
| 0.777778
| 0
| 0
| 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
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 5
|
d65f9c8128847ff9d3a370ca8cfd8efb9b362b87
| 495
|
py
|
Python
|
01/04/0.py
|
pylangstudy/201708
|
126b1af96a1d1f57522d5a1d435b58597bea2e57
|
[
"CC0-1.0"
] | null | null | null |
01/04/0.py
|
pylangstudy/201708
|
126b1af96a1d1f57522d5a1d435b58597bea2e57
|
[
"CC0-1.0"
] | 39
|
2017-07-31T22:54:01.000Z
|
2017-08-31T00:19:03.000Z
|
01/04/0.py
|
pylangstudy/201708
|
126b1af96a1d1f57522d5a1d435b58597bea2e57
|
[
"CC0-1.0"
] | null | null | null |
print('----- range(3) -----')
print(range(3))
for x in range(3): print(x)
print('----- range(3, 10) -----')
print(range(3, 10))
for x in range(3, 10): print(x)
print('----- range(-3) -----')
print(range(-3))
for x in range(-3): print(x)
print('----- range(0,-3) -----')
print(range(0,-3))
for x in range(0,-3): print(x)
print('----- range(-3,0) -----')
print(range(-3,0))
for x in range(-3,0): print(x)
print('----- range(0,-3,-1) -----')
print(range(0,-3,-1))
for x in range(0,-3,-1): print(x)
| 26.052632
| 35
| 0.521212
| 93
| 495
| 2.774194
| 0.096774
| 0.465116
| 0.341085
| 0.255814
| 0.833333
| 0.635659
| 0.387597
| 0.387597
| 0.387597
| 0.387597
| 0
| 0.082192
| 0.115152
| 495
| 18
| 36
| 27.5
| 0.506849
| 0
| 0
| 0
| 0
| 0
| 0.276768
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
|
0
| 5
|
d696bfc1ca5520eb8ebe906f9a0748ab68eabfdb
| 155
|
py
|
Python
|
derv.py
|
kebairia/Analyse_Numerique
|
35f76617c01a53de9ed08950976b40994f030ffc
|
[
"MIT"
] | null | null | null |
derv.py
|
kebairia/Analyse_Numerique
|
35f76617c01a53de9ed08950976b40994f030ffc
|
[
"MIT"
] | null | null | null |
derv.py
|
kebairia/Analyse_Numerique
|
35f76617c01a53de9ed08950976b40994f030ffc
|
[
"MIT"
] | null | null | null |
#!/bin/python
from math import *
def derive(func, value):
h = 0.00000000001
slope = ((func(value + h) - func(value))/h)
return ("%f" % slope )
| 22.142857
| 47
| 0.587097
| 22
| 155
| 4.136364
| 0.681818
| 0.296703
| 0.32967
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.1
| 0.225806
| 155
| 6
| 48
| 25.833333
| 0.658333
| 0.077419
| 0
| 0
| 0
| 0
| 0.014085
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| false
| 0
| 0.2
| 0
| 0.6
| 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
| 0
| 0
| 1
| 0
|
0
| 5
|
d6ddc7ae4329e9e0d9dc0e1404f35915266f67c8
| 113
|
py
|
Python
|
tests/bytecode/mp-tests/string1.py
|
LabAixBidouille/micropython
|
11aa6ba456287d6c80598a7ebbebd2887ce8f5a2
|
[
"MIT"
] | 303
|
2015-07-11T17:12:55.000Z
|
2018-01-08T03:02:37.000Z
|
tests/bytecode/mp-tests/string1.py
|
LabAixBidouille/micropython
|
11aa6ba456287d6c80598a7ebbebd2887ce8f5a2
|
[
"MIT"
] | 13
|
2016-05-12T16:51:22.000Z
|
2018-01-10T22:33:25.000Z
|
tests/bytecode/mp-tests/string1.py
|
LabAixBidouille/micropython
|
11aa6ba456287d6c80598a7ebbebd2887ce8f5a2
|
[
"MIT"
] | 26
|
2018-01-18T09:15:33.000Z
|
2022-02-07T13:09:14.000Z
|
x = 'abc'
x = "abc"
x = r'abc'
x = 'abc' \
'def'
x = ('abc'
'def')
x = 'ab"c'
x = "ab'c"
x = '''ab'c'''
| 9.416667
| 14
| 0.345133
| 22
| 113
| 1.772727
| 0.272727
| 0.410256
| 0.307692
| 0.410256
| 0.307692
| 0.307692
| 0
| 0
| 0
| 0
| 0
| 0
| 0.318584
| 113
| 11
| 15
| 10.272727
| 0.506494
| 0
| 0
| 0
| 0
| 0
| 0.292035
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| null | 1
| 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
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
ba57082510a08ec20d68dbdd48554bbcea6d5e5a
| 6,797
|
py
|
Python
|
openpnm/models/geometry/conduit_lengths/_funcs.py
|
lixuekai2001/OpenPNM
|
9026f0fed427d37f4caf1a79e4a7684490d52cf6
|
[
"MIT"
] | 2
|
2019-08-24T09:17:40.000Z
|
2020-07-05T07:21:21.000Z
|
openpnm/models/geometry/conduit_lengths/_funcs.py
|
xu-kai-xu/OpenPNM
|
61d5fc4729a0a29291cf6c53c07c4246e7a13714
|
[
"MIT"
] | null | null | null |
openpnm/models/geometry/conduit_lengths/_funcs.py
|
xu-kai-xu/OpenPNM
|
61d5fc4729a0a29291cf6c53c07c4246e7a13714
|
[
"MIT"
] | null | null | null |
import numpy as _np
from openpnm.utils import Docorator
__all__ = ['spheres_and_cylinders',
'circles_and_rectangles',
'cones_and_cylinders',
'trapezoids_and_rectangles',
'pyramids_and_cuboids',
'cubes_and_cuboids',
'squares_and_rectangles']
docstr = Docorator()
# Fetch this docstring and use it on the other models in this file
@docstr.get_sections(base='models.geometry.conduit_lengths',
sections=['Parameters', 'Returns'])
@docstr.dedent
def spheres_and_cylinders(
target,
pore_diameter="pore.diameter",
throat_diameter="throat.diameter",
):
r"""
Calculates conduit lengths in the network assuming pores are spheres
and throats are cylinders.
A conduit is defined as ( 1/2 pore - full throat - 1/2 pore ).
Parameters
----------
%(models.target.parameters)s
%(models.geometry.pdia)s
%(models.geometry.tdia)s
Returns
-------
lengths : ndarray
Array (Nt by 3) containing conduit length values for each element
of the pore-throat-pore conduits. The array is formatted as
``[pore1, throat, pore2]``.
"""
L_ctc = target['throat.spacing']
D1, Dt, D2 = target.get_conduit_data(
poreprop=pore_diameter,
throatprop=throat_diameter
).T
# Handle the case where Dt > Dp
if (Dt > D1).any() or (Dt > D2).any():
_raise_incompatible_data()
L1 = _np.sqrt(D1**2 - Dt**2) / 2
L2 = _np.sqrt(D2**2 - Dt**2) / 2
# Handle throats w/ overlapping pores
_L1 = (4 * L_ctc**2 + D1**2 - D2**2) / (8 * L_ctc)
mask = L_ctc - 0.5 * (D1 + D2) < 0
L1[mask] = _L1[mask]
L2[mask] = (L_ctc - L1)[mask]
Lt = _np.maximum(L_ctc - (L1 + L2), 1e-15)
return _np.vstack((L1, Lt, L2)).T
@docstr.dedent
def circles_and_rectangles(
target,
pore_diameter="pore.diameter",
throat_diameter="throat.diameter"
):
r"""
Calculates conduit lengths in the network assuming pores are circles
and throats are rectangles.
A conduit is defined as ( 1/2 pore - full throat - 1/2 pore ).
Parameters
----------
%(models.geometry.conduit_lengths.parameters)s
Returns
-------
%(models.geometry.conduit_lengths.returns)s
Notes
-----
This model should only be used for true 2D networks, i.e. with planar
symmetry.
"""
return spheres_and_cylinders(
target=target,
pore_diameter=pore_diameter,
throat_diameter=throat_diameter
)
@docstr.dedent
def cones_and_cylinders(
target,
pore_diameter="pore.diameter",
throat_diameter="throat.diameter"
):
r"""
Calculates conduit lengths in the network assuming pores are cones
and throats are cylinders.
A conduit is defined as ( 1/2 pore - full throat - 1/2 pore ).
Parameters
----------
%(models.geometry.conduit_lengths.parameters)s
Returns
-------
%(models.geometry.conduit_lengths.returns)s
"""
L_ctc = target['throat.spacing']
D1, Dt, D2 = target.get_conduit_data(
poreprop=pore_diameter,
throatprop=throat_diameter
).T
L1 = D1 / 2
L2 = D2 / 2
# Handle throats w/ overlapping pores
_L1 = (4 * L_ctc**2 + D1**2 - D2**2) / (8 * L_ctc)
mask = L_ctc - 0.5 * (D1 + D2) < 0
L1[mask] = _L1[mask]
L2[mask] = (L_ctc - L1)[mask]
Lt = _np.maximum(L_ctc - (L1 + L2), 1e-15)
return _np.vstack((L1, Lt, L2)).T
@docstr.dedent
def trapezoids_and_rectangles(
target,
pore_diameter="pore.diameter",
throat_diameter="throat.diameter"
):
r"""
Calculates conduit lengths in the network assuming pores are
trapezoids and throats are rectangles.
Parameters
----------
%(models.geometry.conduit_lengths.parameters)s
Returns
-------
%(models.geometry.conduit_lengths.returns)s
Notes
-----
This model should only be used for true 2D networks, i.e. with planar
symmetry.
"""
L_ctc = target['throat.spacing']
D1, Dt, D2 = target.get_conduit_data(
poreprop=pore_diameter,
throatprop=throat_diameter
).T
L1 = D1 / 2
L2 = D2 / 2
# Handle throats w/ overlapping pores
_L1 = (4 * L_ctc**2 + D1**2 - D2**2) / (8 * L_ctc)
mask = L_ctc - 0.5 * (D1 + D2) < 0
L1[mask] = _L1[mask]
L2[mask] = (L_ctc - L1)[mask]
Lt = _np.maximum(L_ctc - (L1 + L2), 1e-15)
return _np.vstack((L1, Lt, L2)).T
@docstr.dedent
def pyramids_and_cuboids(
target,
pore_diameter="pore.diameter",
throat_diameter="throat.diameter"
):
r"""
Calculates conduit lengths in the network assuming pores are truncated
pyramids and throats are cuboids.
Parameters
----------
%(models.geometry.conduit_lengths.parameters)s
Returns
-------
%(models.geometry.conduit_lengths.returns)s
"""
return cones_and_cylinders(target,
pore_diameter=pore_diameter,
throat_diameter=throat_diameter)
@docstr.dedent
def cubes_and_cuboids(
target,
pore_diameter="pore.diameter",
throat_diameter="throat.diameter"
):
r"""
Calculates conduit lengths in the network assuming pores are cubes
and throats are cuboids.
Parameters
----------
%(models.geometry.conduit_lengths.parameters)s
Returns
-------
%(models.geometry.conduit_lengths.returns)s
"""
L_ctc = target['throat.spacing']
D1, Dt, D2 = target.get_conduit_data(
poreprop=pore_diameter,
throatprop=throat_diameter
).T
L1 = D1 / 2
L2 = D2 / 2
Lt = L_ctc - (L1 + L2)
# Handle overlapping pores
mask = (Lt < 0) & (L1 > L2)
L2[mask] = (L_ctc - L1)[mask]
mask = (Lt < 0) & (L2 > L1)
L1[mask] = (L_ctc - L2)[mask]
Lt = _np.maximum(Lt, 1e-15)
return _np.vstack((L1, Lt, L2)).T
@docstr.dedent
def squares_and_rectangles(
target,
pore_diameter="pore.diameter",
throat_diameter="throat.diameter"
):
r"""
Calculates conduit lengths in the network assuming pores are squares
and throats are rectangles.
Parameters
----------
%(models.geometry.conduit_lengths.parameters)s
Returns
-------
%(models.geometry.conduit_lengths.returns)s
Notes
-----
This model should only be used for true 2D networks, i.e. with planar
symmetry.
"""
return cubes_and_cuboids(target,
pore_diameter=pore_diameter,
throat_diameter=throat_diameter)
# Dealing with errors and exceptions
def _raise_incompatible_data():
raise Exception(
"'spheres_and_cylinders' can only be applied when throat diameter is"
" smaller than that of adjacent pores.")
| 24.716364
| 77
| 0.618508
| 871
| 6,797
| 4.664753
| 0.159587
| 0.086143
| 0.108294
| 0.089589
| 0.752154
| 0.752154
| 0.748216
| 0.748216
| 0.748216
| 0.748216
| 0
| 0.028758
| 0.258202
| 6,797
| 274
| 78
| 24.806569
| 0.777073
| 0.368398
| 0
| 0.648855
| 0
| 0
| 0.141098
| 0.036942
| 0
| 0
| 0
| 0
| 0
| 1
| 0.061069
| false
| 0
| 0.015267
| 0
| 0.129771
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
ba66f7b5b52a4760fa50595654f2f3013766a72f
| 49
|
py
|
Python
|
cryptofield/permutation/__init__.py
|
SergeyBel/cryptofield
|
4e76ff9637e5590dc2bca458023548e58370b9f5
|
[
"MIT"
] | null | null | null |
cryptofield/permutation/__init__.py
|
SergeyBel/cryptofield
|
4e76ff9637e5590dc2bca458023548e58370b9f5
|
[
"MIT"
] | 9
|
2020-09-07T19:05:19.000Z
|
2020-11-03T19:25:06.000Z
|
cryptofield/permutation/__init__.py
|
SergeyBel/cryptofield
|
4e76ff9637e5590dc2bca458023548e58370b9f5
|
[
"MIT"
] | null | null | null |
from .permutation import *
from .cycles import *
| 16.333333
| 26
| 0.755102
| 6
| 49
| 6.166667
| 0.666667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.163265
| 49
| 2
| 27
| 24.5
| 0.902439
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
ba955b5debe54ecb8d31c2887efc0b2b03024d8b
| 62
|
py
|
Python
|
xonsh/ptk2/key_bindings.py
|
hemna/xonsh
|
86c4dec1bb5df1905b65ef553b06fdb5c76b20a8
|
[
"BSD-2-Clause-FreeBSD"
] | 4,716
|
2016-06-07T05:48:42.000Z
|
2022-03-31T22:30:15.000Z
|
xonsh/ptk2/key_bindings.py
|
hemna/xonsh
|
86c4dec1bb5df1905b65ef553b06fdb5c76b20a8
|
[
"BSD-2-Clause-FreeBSD"
] | 3,644
|
2016-06-07T05:55:42.000Z
|
2022-03-31T13:25:57.000Z
|
xonsh/ptk2/key_bindings.py
|
hemna/xonsh
|
86c4dec1bb5df1905b65ef553b06fdb5c76b20a8
|
[
"BSD-2-Clause-FreeBSD"
] | 576
|
2016-06-07T06:28:32.000Z
|
2022-03-31T02:46:15.000Z
|
from xonsh.ptk_shell.key_bindings import * # noqa: F403 F401
| 31
| 61
| 0.774194
| 10
| 62
| 4.6
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.113208
| 0.145161
| 62
| 1
| 62
| 62
| 0.754717
| 0.241935
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 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
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
bacbadd3a7056140469e6ffb85a883d6aeb653ca
| 86
|
py
|
Python
|
scripts/enable_addon.py
|
Helveg/BlenderNEURON
|
7297e6aa45722f35908b707d0020b0519a6bc60d
|
[
"MIT"
] | 19
|
2018-02-09T21:30:25.000Z
|
2022-03-21T23:02:26.000Z
|
scripts/enable_addon.py
|
Helveg/BlenderNEURON
|
7297e6aa45722f35908b707d0020b0519a6bc60d
|
[
"MIT"
] | 30
|
2019-04-16T02:38:24.000Z
|
2022-03-19T18:42:58.000Z
|
scripts/enable_addon.py
|
Helveg/BlenderNEURON
|
7297e6aa45722f35908b707d0020b0519a6bc60d
|
[
"MIT"
] | 5
|
2018-07-23T16:49:59.000Z
|
2022-03-02T18:48:07.000Z
|
import bpy
bpy.ops.wm.addon_enable(module='blenderneuron')
bpy.ops.wm.save_userpref()
| 21.5
| 47
| 0.802326
| 14
| 86
| 4.785714
| 0.714286
| 0.179104
| 0.238806
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.046512
| 86
| 3
| 48
| 28.666667
| 0.817073
| 0
| 0
| 0
| 0
| 0
| 0.151163
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.333333
| 0
| 0.333333
| 0
| 1
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
79f0864ac4e80ff42968484ae42238ef4b99258b
| 42
|
py
|
Python
|
user_profile/__init__.py
|
PrynsTag/oneBarangay
|
6a8d56003d85b8385e91f5c5d81208619023c1ee
|
[
"Apache-2.0"
] | null | null | null |
user_profile/__init__.py
|
PrynsTag/oneBarangay
|
6a8d56003d85b8385e91f5c5d81208619023c1ee
|
[
"Apache-2.0"
] | 96
|
2021-08-28T12:37:02.000Z
|
2022-03-23T04:25:12.000Z
|
user_profile/__init__.py
|
PrynsTag/oneBarangay
|
6a8d56003d85b8385e91f5c5d81208619023c1ee
|
[
"Apache-2.0"
] | null | null | null |
"""This is init file for user_profile."""
| 21
| 41
| 0.690476
| 7
| 42
| 4
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.142857
| 42
| 1
| 42
| 42
| 0.777778
| 0.833333
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 1
| 0
| null | 0
| 0
| 0
| 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
| 5
|
03128bd1a1a551ebffdf2ca382a466abdeac9b69
| 23
|
py
|
Python
|
bwt901cl_pkg/src/__init__.py
|
TaISLab/bwt901cl_pkg
|
93b4dd95f4a98381fa2b63cac96fe329290ad77b
|
[
"MIT"
] | 1
|
2021-05-27T07:56:02.000Z
|
2021-05-27T07:56:02.000Z
|
bwt901cl_pkg/src/__init__.py
|
TaISLab/bwt901cl_pkg
|
93b4dd95f4a98381fa2b63cac96fe329290ad77b
|
[
"MIT"
] | null | null | null |
bwt901cl_pkg/src/__init__.py
|
TaISLab/bwt901cl_pkg
|
93b4dd95f4a98381fa2b63cac96fe329290ad77b
|
[
"MIT"
] | 1
|
2021-11-30T15:14:14.000Z
|
2021-11-30T15:14:14.000Z
|
#from . import bwt901cl
| 23
| 23
| 0.782609
| 3
| 23
| 6
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.15
| 0.130435
| 23
| 1
| 23
| 23
| 0.75
| 0.956522
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 1
| 0
| null | 0
| 0
| 0
| 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
| 5
|
0322c00a4b9682a8423da6b467c3ad79e181b7c6
| 37
|
py
|
Python
|
Util/img_as_bool.py
|
Joevaen/Scikit-image_On_CT
|
e3bf0eeadc50691041b4b7c44a19d07546a85001
|
[
"Apache-2.0"
] | null | null | null |
Util/img_as_bool.py
|
Joevaen/Scikit-image_On_CT
|
e3bf0eeadc50691041b4b7c44a19d07546a85001
|
[
"Apache-2.0"
] | null | null | null |
Util/img_as_bool.py
|
Joevaen/Scikit-image_On_CT
|
e3bf0eeadc50691041b4b7c44a19d07546a85001
|
[
"Apache-2.0"
] | null | null | null |
# Convert an image to boolean format.
| 37
| 37
| 0.783784
| 6
| 37
| 4.833333
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.162162
| 37
| 1
| 37
| 37
| 0.935484
| 0.945946
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 1
| 0
| null | 0
| 0
| 0
| 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
| 5
|
033096477b80da5224a38e30e23f0c3045a7825c
| 199
|
py
|
Python
|
accounts/admin.py
|
rdiptan/On-Demand-Home-Service-WebApp-Django
|
f40f75d0c98e94296321d21cefbef5e95e6f7107
|
[
"MIT"
] | null | null | null |
accounts/admin.py
|
rdiptan/On-Demand-Home-Service-WebApp-Django
|
f40f75d0c98e94296321d21cefbef5e95e6f7107
|
[
"MIT"
] | 1
|
2021-09-19T05:16:19.000Z
|
2021-09-22T07:16:59.000Z
|
accounts/admin.py
|
rdiptan/On-Demand-Home-Service-WebApp-Django
|
f40f75d0c98e94296321d21cefbef5e95e6f7107
|
[
"MIT"
] | null | null | null |
from django.contrib import admin
from .models import User, Customer, ServiceMen
# Register your models here.
admin.site.register(User)
admin.site.register(Customer)
admin.site.register(ServiceMen)
| 22.111111
| 46
| 0.809045
| 27
| 199
| 5.962963
| 0.481481
| 0.167702
| 0.31677
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.100503
| 199
| 8
| 47
| 24.875
| 0.899441
| 0.130653
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.4
| 0
| 0.4
| 0
| 1
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
036613fc0789016b4617c8cac4ea8a5c35d947cb
| 28,979
|
py
|
Python
|
graphql/parsetab.py
|
GuyMoses/graphql-py
|
72baf16d838e82349ee5e8d8f8971ce11cfcedf9
|
[
"MIT"
] | null | null | null |
graphql/parsetab.py
|
GuyMoses/graphql-py
|
72baf16d838e82349ee5e8d8f8971ce11cfcedf9
|
[
"MIT"
] | null | null | null |
graphql/parsetab.py
|
GuyMoses/graphql-py
|
72baf16d838e82349ee5e8d8f8971ce11cfcedf9
|
[
"MIT"
] | null | null | null |
# /Users/dvs/Dropbox/Code/graphql-py/graphql/parsetab.py
# This file is automatically generated. Do not edit.
_tabversion = '3.5'
_lr_method = 'LALR'
_lr_signature = 'CDC982EBD105CCA216971D7DA325FA06'
_lr_action_items = {'BRACE_L':([0,8,10,11,21,23,24,25,26,27,28,29,30,31,32,33,36,37,50,51,52,58,59,61,67,68,70,71,73,80,81,82,83,87,90,91,92,96,98,99,103,107,108,109,110,111,112,113,114,115,117,118,119,120,121,122,123,124,125,134,135,136,137,139,143,147,148,149,151,153,154,155,156,157,158,159,160,161,165,166,167,169,172,173,174,176,],[5,5,-18,-19,5,-76,-72,-73,-74,-75,-77,-78,-79,5,5,5,-56,-58,5,5,5,5,5,5,-57,-60,5,5,5,5,-55,-127,5,-65,-59,5,5,-61,126,5,5,-81,-82,-83,-84,-85,-86,-87,-88,-89,-100,-98,-99,-101,-102,-103,-104,-105,126,-70,126,-107,-109,-115,162,-106,-108,-114,126,-90,-91,-92,-93,-94,-95,-96,-97,162,162,-111,-113,-120,-110,-112,-119,162,]),'FRAGMENT':([0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,34,36,37,38,39,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,60,62,63,66,67,68,69,70,71,72,73,74,75,76,77,79,84,85,86,90,92,93,94,95,96,97,98,100,101,102,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,132,133,134,135,136,137,138,139,140,143,147,148,149,150,151,153,154,155,156,157,158,159,160,161,162,164,165,166,167,168,169,170,172,173,174,175,176,177,],[9,9,9,-7,25,-8,-9,25,39,-18,-19,-6,9,-5,25,-22,-23,-24,-25,25,-41,39,-76,-72,-73,-74,-75,-77,-78,-79,-17,-56,-58,25,-49,-48,-50,-51,-52,-53,-54,-4,-20,-21,-37,-38,-39,-40,-80,25,-43,25,-13,-15,-16,25,-57,-60,25,-36,-35,-34,-33,-32,-31,25,-63,-42,-11,-12,-14,-59,-30,-29,-28,-27,-61,-62,121,-47,-10,25,-45,-26,-64,-81,-82,-83,-84,-85,-86,-87,-88,-89,25,-100,-98,-99,-101,-102,-103,-104,-105,121,25,-46,25,-44,-70,121,-107,-109,25,-115,-117,121,-106,-108,-114,-116,121,-90,-91,-92,-93,-94,-95,-96,-97,121,25,-118,121,-111,-113,25,-120,-122,-110,-112,-119,-121,121,-123,]),'QUERY':([0,2,4,5,6,7,8,9,10,11,12,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,34,36,37,38,39,41,42,43,44,45,46,48,49,50,51,52,53,54,55,56,57,60,62,63,66,67,68,69,70,71,72,73,74,75,76,77,79,84,85,86,90,92,93,94,95,96,97,98,100,101,102,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,132,133,134,135,136,137,138,139,140,143,147,148,149,150,151,153,154,155,156,157,158,159,160,161,162,164,165,166,167,168,169,170,172,173,174,175,176,177,],[10,10,-7,26,-8,-9,26,42,-18,-19,-6,26,-22,-23,-24,-25,26,-41,42,-76,-72,-73,-74,-75,-77,-78,-79,-17,-56,-58,26,-49,-48,-50,-51,-52,-53,-54,-20,-21,-37,-38,-39,-40,-80,26,-43,26,-13,-15,-16,26,-57,-60,26,-36,-35,-34,-33,-32,-31,26,-63,-42,-11,-12,-14,-59,-30,-29,-28,-27,-61,-62,122,-47,-10,26,-45,-26,-64,-81,-82,-83,-84,-85,-86,-87,-88,-89,26,-100,-98,-99,-101,-102,-103,-104,-105,122,26,-46,26,-44,-70,122,-107,-109,26,-115,-117,122,-106,-108,-114,-116,122,-90,-91,-92,-93,-94,-95,-96,-97,122,26,-118,122,-111,-113,26,-120,-122,-110,-112,-119,-121,122,-123,]),'MUTATION':([0,2,4,5,6,7,8,9,10,11,12,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,34,36,37,38,39,41,42,43,44,45,46,48,49,50,51,52,53,54,55,56,57,60,62,63,66,67,68,69,70,71,72,73,74,75,76,77,79,84,85,86,90,92,93,94,95,96,97,98,100,101,102,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,132,133,134,135,136,137,138,139,140,143,147,148,149,150,151,153,154,155,156,157,158,159,160,161,162,164,165,166,167,168,169,170,172,173,174,175,176,177,],[11,11,-7,27,-8,-9,27,43,-18,-19,-6,27,-22,-23,-24,-25,27,-41,43,-76,-72,-73,-74,-75,-77,-78,-79,-17,-56,-58,27,-49,-48,-50,-51,-52,-53,-54,-20,-21,-37,-38,-39,-40,-80,27,-43,27,-13,-15,-16,27,-57,-60,27,-36,-35,-34,-33,-32,-31,27,-63,-42,-11,-12,-14,-59,-30,-29,-28,-27,-61,-62,123,-47,-10,27,-45,-26,-64,-81,-82,-83,-84,-85,-86,-87,-88,-89,27,-100,-98,-99,-101,-102,-103,-104,-105,123,27,-46,27,-44,-70,123,-107,-109,27,-115,-117,123,-106,-108,-114,-116,123,-90,-91,-92,-93,-94,-95,-96,-97,123,27,-118,123,-111,-113,27,-120,-122,-110,-112,-119,-121,123,-123,]),'$end':([1,2,3,4,6,7,12,13,14,34,47,48,60,62,63,84,85,86,101,104,133,],[0,-1,-2,-7,-8,-9,-6,-3,-5,-17,-4,-20,-13,-15,-16,-11,-12,-14,-10,-45,-44,]),'SPREAD':([5,15,16,17,18,19,21,23,24,25,26,27,28,29,30,36,37,39,41,42,43,44,45,46,48,49,50,51,52,53,56,67,68,70,71,72,73,74,75,79,90,92,93,94,95,96,100,105,127,],[22,22,-22,-23,-24,-25,-41,-76,-72,-73,-74,-75,-77,-78,-79,-56,-58,-49,-48,-50,-51,-52,-53,-54,-20,-21,-37,-38,-39,-40,-43,-57,-60,-36,-35,-34,-33,-32,-31,-42,-59,-30,-29,-28,-27,-61,-47,-26,-46,]),'NAME':([5,8,9,10,11,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,36,37,38,39,41,42,43,44,45,46,48,49,50,51,52,53,54,55,56,57,66,67,68,69,70,71,72,73,74,75,76,77,79,90,92,93,94,95,96,97,98,100,102,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,132,134,135,136,137,138,139,140,143,147,148,149,150,151,153,154,155,156,157,158,159,160,161,162,164,165,166,167,168,169,170,172,173,174,175,176,177,],[24,24,41,-18,-19,24,-22,-23,-24,-25,24,-41,41,-76,-72,-73,-74,-75,-77,-78,-79,-56,-58,24,-49,-48,-50,-51,-52,-53,-54,-20,-21,-37,-38,-39,-40,-80,24,-43,24,24,-57,-60,24,-36,-35,-34,-33,-32,-31,24,-63,-42,-59,-30,-29,-28,-27,-61,-62,120,-47,24,-26,-64,-81,-82,-83,-84,-85,-86,-87,-88,-89,24,-100,-98,-99,-101,-102,-103,-104,-105,120,24,-46,24,-70,120,-107,-109,24,-115,-117,120,-106,-108,-114,-116,120,-90,-91,-92,-93,-94,-95,-96,-97,120,24,-118,120,-111,-113,24,-120,-122,-110,-112,-119,-121,120,-123,]),'ON':([5,8,10,11,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,36,37,38,39,40,41,42,43,44,45,46,48,49,50,51,52,53,54,55,56,57,66,67,68,69,70,71,72,73,74,75,76,77,79,90,92,93,94,95,96,97,98,100,102,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,132,134,135,136,137,138,139,140,143,147,148,149,150,151,153,154,155,156,157,158,159,160,161,162,164,165,166,167,168,169,170,172,173,174,175,176,177,],[23,23,-18,-19,23,-22,-23,-24,-25,23,-41,57,-76,-72,-73,-74,-75,-77,-78,-79,-56,-58,23,-49,69,-48,-50,-51,-52,-53,-54,-20,-21,-37,-38,-39,-40,-80,23,-43,23,23,-57,-60,23,-36,-35,-34,-33,-32,-31,23,-63,-42,-59,-30,-29,-28,-27,-61,-62,124,-47,23,-26,-64,-81,-82,-83,-84,-85,-86,-87,-88,-89,23,-100,-98,-99,-101,-102,-103,-104,-105,124,23,-46,23,-70,124,-107,-109,23,-115,-117,124,-106,-108,-114,-116,124,-90,-91,-92,-93,-94,-95,-96,-97,124,23,-118,124,-111,-113,23,-120,-122,-110,-112,-119,-121,124,-123,]),'TRUE':([5,8,9,10,11,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,36,37,38,39,41,42,43,44,45,46,48,49,50,51,52,53,54,55,56,57,66,67,68,69,70,71,72,73,74,75,76,77,79,90,92,93,94,95,96,97,98,100,102,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,132,134,135,136,137,138,139,140,143,147,148,149,150,151,153,154,155,156,157,158,159,160,161,162,164,165,166,167,168,169,170,172,173,174,175,176,177,],[28,28,44,-18,-19,28,-22,-23,-24,-25,28,-41,44,-76,-72,-73,-74,-75,-77,-78,-79,-56,-58,28,-49,-48,-50,-51,-52,-53,-54,-20,-21,-37,-38,-39,-40,-80,28,-43,28,28,-57,-60,28,-36,-35,-34,-33,-32,-31,28,-63,-42,-59,-30,-29,-28,-27,-61,-62,118,-47,28,-26,-64,-81,-82,-83,-84,-85,-86,-87,-88,-89,28,-100,-98,-99,-101,-102,-103,-104,-105,118,28,-46,28,-70,118,-107,-109,28,-115,-117,118,-106,-108,-114,-116,118,-90,-91,-92,-93,-94,-95,-96,-97,118,28,-118,118,-111,-113,28,-120,-122,-110,-112,-119,-121,118,-123,]),'FALSE':([5,8,9,10,11,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,36,37,38,39,41,42,43,44,45,46,48,49,50,51,52,53,54,55,56,57,66,67,68,69,70,71,72,73,74,75,76,77,79,90,92,93,94,95,96,97,98,100,102,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,132,134,135,136,137,138,139,140,143,147,148,149,150,151,153,154,155,156,157,158,159,160,161,162,164,165,166,167,168,169,170,172,173,174,175,176,177,],[29,29,45,-18,-19,29,-22,-23,-24,-25,29,-41,45,-76,-72,-73,-74,-75,-77,-78,-79,-56,-58,29,-49,-48,-50,-51,-52,-53,-54,-20,-21,-37,-38,-39,-40,-80,29,-43,29,29,-57,-60,29,-36,-35,-34,-33,-32,-31,29,-63,-42,-59,-30,-29,-28,-27,-61,-62,119,-47,29,-26,-64,-81,-82,-83,-84,-85,-86,-87,-88,-89,29,-100,-98,-99,-101,-102,-103,-104,-105,119,29,-46,29,-70,119,-107,-109,29,-115,-117,119,-106,-108,-114,-116,119,-90,-91,-92,-93,-94,-95,-96,-97,119,29,-118,119,-111,-113,29,-120,-122,-110,-112,-119,-121,119,-123,]),'NULL':([5,8,9,10,11,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,36,37,38,39,41,42,43,44,45,46,48,49,50,51,52,53,54,55,56,57,66,67,68,69,70,71,72,73,74,75,76,77,79,90,92,93,94,95,96,97,98,100,102,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,132,134,135,136,137,138,139,140,143,147,148,149,150,151,153,154,155,156,157,158,159,160,161,162,164,165,166,167,168,169,170,172,173,174,175,176,177,],[30,30,46,-18,-19,30,-22,-23,-24,-25,30,-41,46,-76,-72,-73,-74,-75,-77,-78,-79,-56,-58,30,-49,-48,-50,-51,-52,-53,-54,-20,-21,-37,-38,-39,-40,-80,30,-43,30,30,-57,-60,30,-36,-35,-34,-33,-32,-31,30,-63,-42,-59,-30,-29,-28,-27,-61,-62,117,-47,30,-26,-64,-81,-82,-83,-84,-85,-86,-87,-88,-89,30,-100,-98,-99,-101,-102,-103,-104,-105,117,30,-46,30,-70,117,-107,-109,30,-115,-117,117,-106,-108,-114,-116,117,-90,-91,-92,-93,-94,-95,-96,-97,117,30,-118,117,-111,-113,30,-120,-122,-110,-112,-119,-121,117,-123,]),'PAREN_L':([8,10,11,21,23,24,25,26,27,28,29,30,31,50,68,],[35,-18,-19,55,-76,-72,-73,-74,-75,-77,-78,-79,35,55,55,]),'AT':([8,10,11,21,23,24,25,26,27,28,29,30,31,32,36,37,39,41,42,43,44,45,46,50,51,56,58,67,68,70,80,81,82,87,90,91,96,],[38,-18,-19,38,-76,-72,-73,-74,-75,-77,-78,-79,38,38,38,-58,-49,-48,-50,-51,-52,-53,-54,38,38,38,38,-57,-60,38,38,-55,-127,-65,-59,38,-61,]),'BRACE_R':([15,16,17,18,19,21,23,24,25,26,27,28,29,30,36,37,39,41,42,43,44,45,46,48,49,50,51,52,53,56,67,68,70,71,72,73,74,75,79,90,92,93,94,95,96,100,105,107,108,109,110,111,112,113,114,115,117,118,119,120,121,122,123,124,126,127,134,136,138,139,140,147,149,150,153,154,155,156,157,158,159,160,162,164,166,168,169,170,172,174,175,177,],[48,-22,-23,-24,-25,-41,-76,-72,-73,-74,-75,-77,-78,-79,-56,-58,-49,-48,-50,-51,-52,-53,-54,-20,-21,-37,-38,-39,-40,-43,-57,-60,-36,-35,-34,-33,-32,-31,-42,-59,-30,-29,-28,-27,-61,-47,-26,-81,-82,-83,-84,-85,-86,-87,-88,-89,-100,-98,-99,-101,-102,-103,-104,-105,139,-46,-70,-107,149,-115,-117,-106,-114,-116,-90,-91,-92,-93,-94,-95,-96,-97,169,-118,-111,174,-120,-122,-110,-119,-121,-123,]),'COLON':([21,23,24,25,26,27,28,29,30,78,89,141,171,],[54,-76,-72,-73,-74,-75,-77,-78,-79,98,102,151,176,]),'BANG':([23,24,25,26,27,28,29,30,82,129,130,163,],[-76,-72,-73,-74,-75,-77,-78,-79,-127,144,145,-128,]),'EQUALS':([23,24,25,26,27,28,29,30,82,128,129,130,131,144,145,163,],[-76,-72,-73,-74,-75,-77,-78,-79,-127,143,-124,-125,-126,-129,-130,-128,]),'PAREN_R':([23,24,25,26,27,28,29,30,64,65,76,77,82,88,97,106,107,108,109,110,111,112,113,114,115,117,118,119,120,121,122,123,124,128,129,130,131,134,136,139,142,144,145,147,149,152,153,154,155,156,157,158,159,160,163,166,169,172,174,],[-76,-72,-73,-74,-75,-77,-78,-79,87,-67,96,-63,-127,-66,-62,-64,-81,-82,-83,-84,-85,-86,-87,-88,-89,-100,-98,-99,-101,-102,-103,-104,-105,-69,-124,-125,-126,-70,-107,-115,-68,-129,-130,-106,-114,-71,-90,-91,-92,-93,-94,-95,-96,-97,-128,-111,-120,-110,-119,]),'DOLLAR':([23,24,25,26,27,28,29,30,35,64,65,82,88,98,107,108,109,110,111,112,113,114,115,117,118,119,120,121,122,123,124,125,128,129,130,131,134,135,136,137,139,142,144,145,147,148,149,151,152,153,154,155,156,157,158,159,160,163,166,169,172,174,],[-76,-72,-73,-74,-75,-77,-78,-79,66,66,-67,-127,-66,116,-81,-82,-83,-84,-85,-86,-87,-88,-89,-100,-98,-99,-101,-102,-103,-104,-105,116,-69,-124,-125,-126,-70,116,-107,-109,-115,-68,-129,-130,-106,-108,-114,116,-71,-90,-91,-92,-93,-94,-95,-96,-97,-128,-111,-120,-110,-119,]),'BRACKET_R':([23,24,25,26,27,28,29,30,82,107,108,109,110,111,112,113,114,115,117,118,119,120,121,122,123,124,125,129,130,131,134,135,136,137,139,144,145,146,147,148,149,153,154,155,156,157,158,159,160,161,163,165,166,167,169,172,173,174,],[-76,-72,-73,-74,-75,-77,-78,-79,-127,-81,-82,-83,-84,-85,-86,-87,-88,-89,-100,-98,-99,-101,-102,-103,-104,-105,136,-124,-125,-126,-70,147,-107,-109,-115,-129,-130,163,-106,-108,-114,-90,-91,-92,-93,-94,-95,-96,-97,166,-128,172,-111,-113,-120,-110,-112,-119,]),'INT_VALUE':([23,24,25,26,27,28,29,30,98,107,108,109,110,111,112,113,114,115,117,118,119,120,121,122,123,124,125,134,135,136,137,139,143,147,148,149,151,153,154,155,156,157,158,159,160,161,165,166,167,169,172,173,174,176,],[-76,-72,-73,-74,-75,-77,-78,-79,108,-81,-82,-83,-84,-85,-86,-87,-88,-89,-100,-98,-99,-101,-102,-103,-104,-105,108,-70,108,-107,-109,-115,153,-106,-108,-114,108,-90,-91,-92,-93,-94,-95,-96,-97,153,153,-111,-113,-120,-110,-112,-119,153,]),'FLOAT_VALUE':([23,24,25,26,27,28,29,30,98,107,108,109,110,111,112,113,114,115,117,118,119,120,121,122,123,124,125,134,135,136,137,139,143,147,148,149,151,153,154,155,156,157,158,159,160,161,165,166,167,169,172,173,174,176,],[-76,-72,-73,-74,-75,-77,-78,-79,109,-81,-82,-83,-84,-85,-86,-87,-88,-89,-100,-98,-99,-101,-102,-103,-104,-105,109,-70,109,-107,-109,-115,154,-106,-108,-114,109,-90,-91,-92,-93,-94,-95,-96,-97,154,154,-111,-113,-120,-110,-112,-119,154,]),'STRING_VALUE':([23,24,25,26,27,28,29,30,98,107,108,109,110,111,112,113,114,115,117,118,119,120,121,122,123,124,125,134,135,136,137,139,143,147,148,149,151,153,154,155,156,157,158,159,160,161,165,166,167,169,172,173,174,176,],[-76,-72,-73,-74,-75,-77,-78,-79,110,-81,-82,-83,-84,-85,-86,-87,-88,-89,-100,-98,-99,-101,-102,-103,-104,-105,110,-70,110,-107,-109,-115,155,-106,-108,-114,110,-90,-91,-92,-93,-94,-95,-96,-97,155,155,-111,-113,-120,-110,-112,-119,155,]),'BRACKET_L':([23,24,25,26,27,28,29,30,98,102,107,108,109,110,111,112,113,114,115,117,118,119,120,121,122,123,124,125,132,134,135,136,137,139,143,147,148,149,151,153,154,155,156,157,158,159,160,161,165,166,167,169,172,173,174,176,],[-76,-72,-73,-74,-75,-77,-78,-79,125,132,-81,-82,-83,-84,-85,-86,-87,-88,-89,-100,-98,-99,-101,-102,-103,-104,-105,125,132,-70,125,-107,-109,-115,161,-106,-108,-114,125,-90,-91,-92,-93,-94,-95,-96,-97,161,161,-111,-113,-120,-110,-112,-119,161,]),}
_lr_action = {}
for _k, _v in _lr_action_items.items():
for _x,_y in zip(_v[0],_v[1]):
if not _x in _lr_action: _lr_action[_x] = {}
_lr_action[_x][_k] = _y
del _lr_action_items
_lr_goto_items = {'document':([0,],[1,]),'definition_list':([0,],[2,]),'selection_set':([0,8,21,31,32,33,50,51,52,58,59,61,70,71,73,80,83,91,92,99,103,],[3,34,53,60,62,63,72,74,75,84,85,86,93,94,95,100,101,104,105,127,133,]),'definition':([0,2,],[4,12,]),'operation_definition':([0,2,],[6,6,]),'fragment_definition':([0,2,3,13,],[7,7,14,47,]),'operation_type':([0,2,],[8,8,]),'fragment_list':([3,],[13,]),'selection_list':([5,],[15,]),'selection':([5,15,],[16,49,]),'field':([5,15,],[17,17,]),'fragment_spread':([5,15,],[18,18,]),'inline_fragment':([5,15,],[19,19,]),'alias':([5,15,],[20,20,]),'name':([5,8,15,20,38,55,57,66,69,76,102,116,126,132,138,162,168,],[21,31,21,50,68,78,82,89,82,78,82,134,141,82,141,171,171,]),'variable_definitions':([8,31,],[32,58,]),'directives':([8,21,31,32,50,51,56,58,70,80,91,],[33,52,59,61,71,73,79,83,92,99,103,]),'directive_list':([8,21,31,32,50,51,56,58,70,80,91,],[36,36,36,36,36,36,36,36,36,36,36,]),'directive':([8,21,31,32,36,50,51,56,58,70,80,91,],[37,37,37,37,67,37,37,37,37,37,37,37,]),'fragment_name':([9,22,],[40,56,]),'arguments':([21,50,68,],[51,70,90,]),'variable_definition_list':([35,],[64,]),'variable_definition':([35,64,],[65,88,]),'argument_list':([55,],[76,]),'argument':([55,76,],[77,97,]),'type_condition':([57,69,],[80,91,]),'named_type':([57,69,102,132,],[81,81,129,129,]),'value':([98,125,135,151,],[106,137,148,164,]),'variable':([98,125,135,151,],[107,107,107,107,]),'null_value':([98,125,135,143,151,161,165,176,],[111,111,111,156,111,156,156,156,]),'boolean_value':([98,125,135,143,151,161,165,176,],[112,112,112,157,112,157,157,157,]),'enum_value':([98,125,135,143,151,161,165,176,],[113,113,113,158,113,158,158,158,]),'list_value':([98,125,135,151,],[114,114,114,114,]),'object_value':([98,125,135,151,],[115,115,115,115,]),'type':([102,132,],[128,146,]),'list_type':([102,132,],[130,130,]),'non_null_type':([102,132,],[131,131,]),'value_list':([125,],[135,]),'object_field_list':([126,],[138,]),'object_field':([126,138,],[140,150,]),'default_value':([128,],[142,]),'const_value':([143,161,165,176,],[152,167,173,177,]),'const_list_value':([143,161,165,176,],[159,159,159,159,]),'const_object_value':([143,161,165,176,],[160,160,160,160,]),'const_value_list':([161,],[165,]),'const_object_field_list':([162,],[168,]),'const_object_field':([162,168,],[170,175,]),}
_lr_goto = {}
for _k, _v in _lr_goto_items.items():
for _x, _y in zip(_v[0], _v[1]):
if not _x in _lr_goto: _lr_goto[_x] = {}
_lr_goto[_x][_k] = _y
del _lr_goto_items
_lr_productions = [
("S' -> document","S'",1,None,None,None),
('document -> definition_list','document',1,'p_document','parser.py',42),
('document -> selection_set','document',1,'p_document_shorthand','parser.py',48),
('document -> selection_set fragment_list','document',2,'p_document_shorthand_with_fragments','parser.py',54),
('fragment_list -> fragment_list fragment_definition','fragment_list',2,'p_fragment_list','parser.py',60),
('fragment_list -> fragment_definition','fragment_list',1,'p_fragment_list_single','parser.py',66),
('definition_list -> definition_list definition','definition_list',2,'p_definition_list','parser.py',72),
('definition_list -> definition','definition_list',1,'p_definition_list_single','parser.py',78),
('definition -> operation_definition','definition',1,'p_definition','parser.py',84),
('definition -> fragment_definition','definition',1,'p_definition','parser.py',85),
('operation_definition -> operation_type name variable_definitions directives selection_set','operation_definition',5,'p_operation_definition1','parser.py',97),
('operation_definition -> operation_type name variable_definitions selection_set','operation_definition',4,'p_operation_definition2','parser.py',108),
('operation_definition -> operation_type name directives selection_set','operation_definition',4,'p_operation_definition3','parser.py',118),
('operation_definition -> operation_type name selection_set','operation_definition',3,'p_operation_definition4','parser.py',128),
('operation_definition -> operation_type variable_definitions directives selection_set','operation_definition',4,'p_operation_definition5','parser.py',134),
('operation_definition -> operation_type variable_definitions selection_set','operation_definition',3,'p_operation_definition6','parser.py',144),
('operation_definition -> operation_type directives selection_set','operation_definition',3,'p_operation_definition7','parser.py',153),
('operation_definition -> operation_type selection_set','operation_definition',2,'p_operation_definition8','parser.py',162),
('operation_type -> QUERY','operation_type',1,'p_operation_type','parser.py',168),
('operation_type -> MUTATION','operation_type',1,'p_operation_type','parser.py',169),
('selection_set -> BRACE_L selection_list BRACE_R','selection_set',3,'p_selection_set','parser.py',175),
('selection_list -> selection_list selection','selection_list',2,'p_selection_list','parser.py',181),
('selection_list -> selection','selection_list',1,'p_selection_list_single','parser.py',187),
('selection -> field','selection',1,'p_selection','parser.py',193),
('selection -> fragment_spread','selection',1,'p_selection','parser.py',194),
('selection -> inline_fragment','selection',1,'p_selection','parser.py',195),
('field -> alias name arguments directives selection_set','field',5,'p_field_all','parser.py',201),
('field -> name arguments directives selection_set','field',4,'p_field_optional1_1','parser.py',208),
('field -> alias name directives selection_set','field',4,'p_field_optional1_2','parser.py',215),
('field -> alias name arguments selection_set','field',4,'p_field_optional1_3','parser.py',221),
('field -> alias name arguments directives','field',4,'p_field_optional1_4','parser.py',227),
('field -> name directives selection_set','field',3,'p_field_optional2_1','parser.py',233),
('field -> name arguments selection_set','field',3,'p_field_optional2_2','parser.py',239),
('field -> name arguments directives','field',3,'p_field_optional2_3','parser.py',245),
('field -> alias name selection_set','field',3,'p_field_optional2_4','parser.py',251),
('field -> alias name directives','field',3,'p_field_optional2_5','parser.py',257),
('field -> alias name arguments','field',3,'p_field_optional2_6','parser.py',263),
('field -> alias name','field',2,'p_field_optional3_1','parser.py',269),
('field -> name arguments','field',2,'p_field_optional3_2','parser.py',275),
('field -> name directives','field',2,'p_field_optional3_3','parser.py',281),
('field -> name selection_set','field',2,'p_field_optional3_4','parser.py',287),
('field -> name','field',1,'p_field_optional4','parser.py',293),
('fragment_spread -> SPREAD fragment_name directives','fragment_spread',3,'p_fragment_spread1','parser.py',299),
('fragment_spread -> SPREAD fragment_name','fragment_spread',2,'p_fragment_spread2','parser.py',305),
('fragment_definition -> FRAGMENT fragment_name ON type_condition directives selection_set','fragment_definition',6,'p_fragment_definition1','parser.py',311),
('fragment_definition -> FRAGMENT fragment_name ON type_condition selection_set','fragment_definition',5,'p_fragment_definition2','parser.py',318),
('inline_fragment -> SPREAD ON type_condition directives selection_set','inline_fragment',5,'p_inline_fragment1','parser.py',325),
('inline_fragment -> SPREAD ON type_condition selection_set','inline_fragment',4,'p_inline_fragment2','parser.py',332),
('fragment_name -> NAME','fragment_name',1,'p_fragment_name','parser.py',338),
('fragment_name -> FRAGMENT','fragment_name',1,'p_fragment_name','parser.py',339),
('fragment_name -> QUERY','fragment_name',1,'p_fragment_name','parser.py',340),
('fragment_name -> MUTATION','fragment_name',1,'p_fragment_name','parser.py',341),
('fragment_name -> TRUE','fragment_name',1,'p_fragment_name','parser.py',342),
('fragment_name -> FALSE','fragment_name',1,'p_fragment_name','parser.py',343),
('fragment_name -> NULL','fragment_name',1,'p_fragment_name','parser.py',344),
('type_condition -> named_type','type_condition',1,'p_type_condition','parser.py',350),
('directives -> directive_list','directives',1,'p_directives','parser.py',356),
('directive_list -> directive_list directive','directive_list',2,'p_directive_list','parser.py',362),
('directive_list -> directive','directive_list',1,'p_directive_list_single','parser.py',368),
('directive -> AT name arguments','directive',3,'p_directive','parser.py',374),
('directive -> AT name','directive',2,'p_directive','parser.py',375),
('arguments -> PAREN_L argument_list PAREN_R','arguments',3,'p_arguments','parser.py',382),
('argument_list -> argument_list argument','argument_list',2,'p_argument_list','parser.py',388),
('argument_list -> argument','argument_list',1,'p_argument_list_single','parser.py',394),
('argument -> name COLON value','argument',3,'p_argument','parser.py',400),
('variable_definitions -> PAREN_L variable_definition_list PAREN_R','variable_definitions',3,'p_variable_definitions','parser.py',406),
('variable_definition_list -> variable_definition_list variable_definition','variable_definition_list',2,'p_variable_definition_list','parser.py',412),
('variable_definition_list -> variable_definition','variable_definition_list',1,'p_variable_definition_list_single','parser.py',418),
('variable_definition -> DOLLAR name COLON type default_value','variable_definition',5,'p_variable_definition1','parser.py',424),
('variable_definition -> DOLLAR name COLON type','variable_definition',4,'p_variable_definition2','parser.py',430),
('variable -> DOLLAR name','variable',2,'p_variable','parser.py',436),
('default_value -> EQUALS const_value','default_value',2,'p_default_value','parser.py',442),
('name -> NAME','name',1,'p_name','parser.py',448),
('name -> FRAGMENT','name',1,'p_name','parser.py',449),
('name -> QUERY','name',1,'p_name','parser.py',450),
('name -> MUTATION','name',1,'p_name','parser.py',451),
('name -> ON','name',1,'p_name','parser.py',452),
('name -> TRUE','name',1,'p_name','parser.py',453),
('name -> FALSE','name',1,'p_name','parser.py',454),
('name -> NULL','name',1,'p_name','parser.py',455),
('alias -> name COLON','alias',2,'p_alias','parser.py',461),
('value -> variable','value',1,'p_value','parser.py',467),
('value -> INT_VALUE','value',1,'p_value','parser.py',468),
('value -> FLOAT_VALUE','value',1,'p_value','parser.py',469),
('value -> STRING_VALUE','value',1,'p_value','parser.py',470),
('value -> null_value','value',1,'p_value','parser.py',471),
('value -> boolean_value','value',1,'p_value','parser.py',472),
('value -> enum_value','value',1,'p_value','parser.py',473),
('value -> list_value','value',1,'p_value','parser.py',474),
('value -> object_value','value',1,'p_value','parser.py',475),
('const_value -> INT_VALUE','const_value',1,'p_const_value','parser.py',481),
('const_value -> FLOAT_VALUE','const_value',1,'p_const_value','parser.py',482),
('const_value -> STRING_VALUE','const_value',1,'p_const_value','parser.py',483),
('const_value -> null_value','const_value',1,'p_const_value','parser.py',484),
('const_value -> boolean_value','const_value',1,'p_const_value','parser.py',485),
('const_value -> enum_value','const_value',1,'p_const_value','parser.py',486),
('const_value -> const_list_value','const_value',1,'p_const_value','parser.py',487),
('const_value -> const_object_value','const_value',1,'p_const_value','parser.py',488),
('boolean_value -> TRUE','boolean_value',1,'p_boolean_value','parser.py',494),
('boolean_value -> FALSE','boolean_value',1,'p_boolean_value','parser.py',495),
('null_value -> NULL','null_value',1,'p_null_value','parser.py',501),
('enum_value -> NAME','enum_value',1,'p_enum_value','parser.py',507),
('enum_value -> FRAGMENT','enum_value',1,'p_enum_value','parser.py',508),
('enum_value -> QUERY','enum_value',1,'p_enum_value','parser.py',509),
('enum_value -> MUTATION','enum_value',1,'p_enum_value','parser.py',510),
('enum_value -> ON','enum_value',1,'p_enum_value','parser.py',511),
('list_value -> BRACKET_L value_list BRACKET_R','list_value',3,'p_list_value','parser.py',517),
('list_value -> BRACKET_L BRACKET_R','list_value',2,'p_list_value','parser.py',518),
('value_list -> value_list value','value_list',2,'p_value_list','parser.py',524),
('value_list -> value','value_list',1,'p_value_list_single','parser.py',530),
('const_list_value -> BRACKET_L const_value_list BRACKET_R','const_list_value',3,'p_const_list_value','parser.py',536),
('const_list_value -> BRACKET_L BRACKET_R','const_list_value',2,'p_const_list_value','parser.py',537),
('const_value_list -> const_value_list const_value','const_value_list',2,'p_const_value_list','parser.py',543),
('const_value_list -> const_value','const_value_list',1,'p_const_value_list_single','parser.py',549),
('object_value -> BRACE_L object_field_list BRACE_R','object_value',3,'p_object_value','parser.py',555),
('object_value -> BRACE_L BRACE_R','object_value',2,'p_object_value','parser.py',556),
('object_field_list -> object_field_list object_field','object_field_list',2,'p_object_field_list','parser.py',562),
('object_field_list -> object_field','object_field_list',1,'p_object_field_list_single','parser.py',570),
('object_field -> name COLON value','object_field',3,'p_object_field','parser.py',576),
('const_object_value -> BRACE_L const_object_field_list BRACE_R','const_object_value',3,'p_const_object_value','parser.py',582),
('const_object_value -> BRACE_L BRACE_R','const_object_value',2,'p_const_object_value','parser.py',583),
('const_object_field_list -> const_object_field_list const_object_field','const_object_field_list',2,'p_const_object_field_list','parser.py',589),
('const_object_field_list -> const_object_field','const_object_field_list',1,'p_const_object_field_list_single','parser.py',597),
('const_object_field -> name COLON const_value','const_object_field',3,'p_const_object_field','parser.py',603),
('type -> named_type','type',1,'p_type','parser.py',609),
('type -> list_type','type',1,'p_type','parser.py',610),
('type -> non_null_type','type',1,'p_type','parser.py',611),
('named_type -> name','named_type',1,'p_named_type','parser.py',617),
('list_type -> BRACKET_L type BRACKET_R','list_type',3,'p_list_type','parser.py',623),
('non_null_type -> named_type BANG','non_null_type',2,'p_non_null_type','parser.py',629),
('non_null_type -> list_type BANG','non_null_type',2,'p_non_null_type','parser.py',630),
]
| 181.11875
| 13,924
| 0.667449
| 5,931
| 28,979
| 3.14028
| 0.066599
| 0.055839
| 0.023732
| 0.014175
| 0.619544
| 0.542604
| 0.469906
| 0.421799
| 0.331597
| 0.297181
| 0
| 0.35252
| 0.031195
| 28,979
| 159
| 13,925
| 182.257862
| 0.310882
| 0.003623
| 0
| 0.013333
| 1
| 0
| 0.342293
| 0.033634
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
03799dd5564c543f3b24a6b03543cfc2fcddbb07
| 9,960
|
py
|
Python
|
src/inference.py
|
JanSafronov/GALibrary
|
b54c465564e36e68de25926fe7d2787815735a71
|
[
"MIT"
] | null | null | null |
src/inference.py
|
JanSafronov/GALibrary
|
b54c465564e36e68de25926fe7d2787815735a71
|
[
"MIT"
] | null | null | null |
src/inference.py
|
JanSafronov/GALibrary
|
b54c465564e36e68de25926fe7d2787815735a71
|
[
"MIT"
] | null | null | null |
from abc import ABC
from ast import Call, Lambda
from typing import Callable, Generic, Iterable, TypeVar
from numpy import iterable
T = TypeVar('T')
S = TypeVar('S')
# Remove later if unnecessary class
class BinaryOperator(Generic[T], Lambda, ABC):
"""
A binary operator on a set of elements S.
"""
def __init__(self, domain: set[T], op: Callable[[T, T], T], is_internal: bool = False):
"""
:param domain: A set of elements
:param op: A binary operator
:param is_internal: Whether the domain is internal to the operator
"""
if is_internal:
for x, y in [(x, y) for x in domain for y in domain]:
if self.op(x, y) not in domain:
raise ValueError("{} is not in the domain of {}".format(self.op(x, y), self))
self.domain = domain
self.op = op
"""
A binary operator on a set of elements S.
"""
def __init__(self, map: Callable[[int], T], domain_length: int, op: Callable[[T, T], T], is_internal: bool = False):
"""
:param map: A function that maps integers to elements of S
:param op: A binary operator
:param is_internal: Whether the domain is internal to the operator
"""
if is_internal:
#if not all(map(x) in self.domain for x in range(len(self.domain))):
if op(map(domain_length), map(domain_length)) not in self.domain:
raise ValueError("{} is not in the domain of {}".format(op(map(domain_length), map(domain_length)), self))
self.domain = set(map(x) for x in range(domain_length))
self.op = op
def __call__(self, a: T, b: S) -> T:
return self.op(a, b)
def __call__(self, a: set[T], b: set[S]) -> bool:
if self.op(a, b) not in self.domain:
return False
return True
@staticmethod
def __call__(a: T, b: S, op: Callable[[T, T], T]) -> T:
return op(a, b)
def __str__(self):
return "{}: S x S -> S".format(self.op.__name__)
def __str__(self, a: T, b: T) -> str:
return "({} {}) |-> {}".format(a, b, self.op(a, b))
def __repr__(self):
return self.__str__()
def __repr__(self, a: T, b: T) -> str:
return self.__str__(a, b)
def __eq__(self, other):
return self.a == other.a and self.b == other.b and self.op == other.op
def __hash__(self):
return hash(self.__str__())
class Associative(BinaryOperator[T], Generic[T], Lambda, ABC):
"""
An associative operator satisfying the associative identity on a set of elements S.
"""
def __init__(self, domain: set[T], op: Callable[[T, T], T]):
"""
:param domain: Set of elements
:param op: An associative operator
"""
for x, y, z in [(x, y, z) for x in domain for y in domain for z in domain]:
if op(op(x, y), z) != op(x, op(y, z)):
raise ValueError("Operation * does not satisfy the associative identity on a set {}".format(op, domain))
super().__init__(domain, op)
def __call__(self, a: T, b: T) -> T:
return self.op(a, b)
@staticmethod
def __call__() -> "Associative":
"""
:return: An associative identity on the set
"""
return lambda x, y, z, opp: [opp(opp(x, y), z), opp(x, opp(y, z))]
def __str__(self):
return "{}: S x S x S -> S".format(self.op.__name__)
def __str__(self, a: T, b: T, c: T) -> str:
return "({} {} {}) |-> {}".format(a, b, c, self.op(a, b, c))
def __repr__(self):
return self.__str__()
def __repr__(self, a: T, b: T, c: T) -> str:
return self.__str__(a, b, c)
def __eq__(self, other):
return self.a == other.a and self.b == other.b and self.op == other.op
def __hash__(self):
return hash(self.__str__())
class Commutative(BinaryOperator[T], Generic[T], Lambda, ABC):
"""
A commutative operator satisfying the commutative identity on a set of elements S.
"""
def __init__(self, domain: set[T], op: Callable[[T, T], T]):
"""
:param domain: Set of elements
:param op: A commutative operator
"""
self.domain = domain
self.op = op
def __call__(self, a: T, b: T) -> T:
return self.op(a, b)
@staticmethod
def __call__() -> Callable[[T, T], T]:
"""
:return: A commutative identity on the set
"""
return lambda x, y, op: op(x, y) == op(y, x)
@staticmethod
def __call__(op: Callable[[T, T], T]) -> Callable[[T, T], T]:
"""
:param op: A commutative operator
:return: A commutative identity on the set
"""
return lambda x, y: op(x, y) == op(y, x)
@staticmethod
def __call__(x: T, op: Callable[[T, T], T]) -> Callable[[T, T], T]:
"""
:param x: An element of the set
:param op: A commutative operator
:return: A commutative identity on the set
"""
return lambda y: op(x, y) == op(y, x)
@staticmethod
def __call__(y: T, op: Callable[[T, T], T]) -> Callable[[T, T], T]:
"""
:param y: An element of the set
:param op: A commutative operator
:return: A commutative identity on the set
"""
return lambda x: op(x, y) == op(y, x)
@staticmethod
def __call__(x: T, y: T, op: Callable[[T, T], T]) -> Callable[[T, T], T]:
"""
:param x: An element of the set
:param y: An element of the set
:param op: A commutative operator
:return: A commutative identity on the set
"""
return lambda: op(x, y) == op(y, x)
def __str__(self):
return "{}: S x S -> S".format(self.op.__name__)
def __str__(self, a: T, b: T) -> str:
return "({} {}) ↦ {}".format(a, b, self.op(a, b))
def __repr__(self):
return self.__str__()
def __repr__(self, a: T, b: T) -> str:
return self.__str__(a, b)
def __eq__(self, other):
return self.domain == other.domain and self.op == other.op
def __hash__(self):
return hash(self.__str__())
class Distributive(BinaryOperator[T], Generic[T], Lambda, ABC):
"""
A distributive operator satisfying the distributive identity on a set of elements S.
"""
def __init__(self, domain: set[T], op0: Callable[[T, T], T], op1: Callable[[T, T], T]):
"""
:param domain: Set of elements
:param op0: A distributive operator
:param op1: A distributive operator
"""
self.domain = domain
self.op0 = op0
self.op1 = op1
def __call__(self, a: T, b: T) -> list[T]:
return [self.op0(a, b), self.op1(a, b)]
@staticmethod
def __call__() -> "Distributive":
"""
:return: A distributive identity on the set
"""
return lambda x, y, z, op0, op1: [op0(x, op1(y, z)), op1(op0(x, y), op0(x, z))]
def __str__(self):
return "{}: S x S x S -> S".format(self.op.__name__)
def __str__(self, a: T, b: T, c: T) -> str:
return "({} {} {}) ↦ {}".format(a, b, c, self.op(a, b, c))
def __repr__(self):
return self.__str__()
def __repr__(self, a: T, b: T, c: T) -> str:
return self.__str__(a, b, c)
def __eq__(self, other):
return self.domain == other.domain and self.op0 == other.op0 and self.op1 == other.op1
def __hash__(self):
return hash(self.__str__())
class IdentityElement(BinaryOperator[T], Generic[T], Lambda, ABC):
"""
An identity operator satisfying the identity element identity on a set of elements S.
"""
def __init__(self, domain: set[T], op: Callable[[T, T], T]):
"""
:param domain: Set of elements
:param op: An identity operator
"""
self.domain = domain
self.op = op
def __call__(self, a: T) -> T:
return self.op(a)
@staticmethod
def __call__(e: T) -> "IdentityElement":
"""
:param e: Identity element of the set
:return: An identity element identity on the set
"""
return lambda x, op: [op(e, x), op(x, e), x]
def __str__(self):
return "{}: S -> S".format(self.op.__name__)
def __str__(self, a: T) -> str:
return "({}) ↦ {}".format(a, self.op(a))
def __repr__(self):
return self.__str__()
def __repr__(self, a: T) -> str:
return self.__str__(a)
def __eq__(self, other):
return self.domain == other.domain and self.op == other.op
def __hash__(self):
return hash(self.__str__())
class Inverse(BinaryOperator[T] ,Generic[T], Lambda, ABC):
"""
An inverse operator satisfying the inverse identity on a set of elements S.
"""
def __init__(self, domain: set[T], op: Callable[[T, T], T]):
"""
:param domain: A set of elements
:param op: An inverse operator
"""
self.domain = domain
self.op = op
def __call__(self, a: T, b: T) -> T:
return self.op(a, b)
@staticmethod
def __call__(self, op: Callable[[T, T], T]) -> Callable[[T, T], T]:
return lambda x, y: self.op(x, y)
@staticmethod
def __call__(e: T) -> "Inverse":
"""
:param e: Identity element of the set
:param op: An inverse operator
:return: An inverse identity on the set
"""
return lambda x, y, op: [op(x, y), op(y, x), e]
def __str__(self):
return "{}: S -> S".format(self.op.__name__)
def __str__(self, a: T) -> str:
return "({}) ↦ {}".format(a, self.op(a))
def __repr__(self):
return self.__str__()
def __repr__(self, a: T) -> str:
return self.__str__(a)
def __eq__(self, other):
return self.a == other.a and self.op == other.op
def __hash__(self):
return hash(self.__str__())
| 30.835913
| 122
| 0.553614
| 1,430
| 9,960
| 3.60979
| 0.062937
| 0.017435
| 0.012205
| 0.042619
| 0.766951
| 0.732855
| 0.710771
| 0.651298
| 0.621658
| 0.597055
| 0
| 0.003009
| 0.299197
| 9,960
| 322
| 123
| 30.931677
| 0.73596
| 0.197289
| 0
| 0.609756
| 0
| 0
| 0.045156
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.371951
| false
| 0
| 0.02439
| 0.268293
| 0.768293
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 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
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 5
|
302434daf5642bb23febfc30a556b116e99b4907
| 39
|
py
|
Python
|
sublime_plugin_tests/utils/__init__.py
|
GeeF/sublime-plugin-tests
|
001a168310bc465a20ed142f2cb79ae43f1a8dc3
|
[
"Unlicense"
] | null | null | null |
sublime_plugin_tests/utils/__init__.py
|
GeeF/sublime-plugin-tests
|
001a168310bc465a20ed142f2cb79ae43f1a8dc3
|
[
"Unlicense"
] | null | null | null |
sublime_plugin_tests/utils/__init__.py
|
GeeF/sublime-plugin-tests
|
001a168310bc465a20ed142f2cb79ae43f1a8dc3
|
[
"Unlicense"
] | null | null | null |
from .selection import split_selection
| 19.5
| 38
| 0.871795
| 5
| 39
| 6.6
| 0.8
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.102564
| 39
| 1
| 39
| 39
| 0.942857
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
30447610a3be3f41a87c8d9d7f2195b2fea1fa4e
| 113
|
py
|
Python
|
cpims_auth/models.py
|
WalterBanda/CodeBlocks-CPIMS-Fork
|
9709609d7bf7e38b10dff121ab289f92784e5e2a
|
[
"MIT"
] | null | null | null |
cpims_auth/models.py
|
WalterBanda/CodeBlocks-CPIMS-Fork
|
9709609d7bf7e38b10dff121ab289f92784e5e2a
|
[
"MIT"
] | null | null | null |
cpims_auth/models.py
|
WalterBanda/CodeBlocks-CPIMS-Fork
|
9709609d7bf7e38b10dff121ab289f92784e5e2a
|
[
"MIT"
] | null | null | null |
from django.db import models
from django.contrib.auth.models import (
BaseUserManager, AbstractBaseUser
)
| 14.125
| 40
| 0.778761
| 13
| 113
| 6.769231
| 0.692308
| 0.227273
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.159292
| 113
| 7
| 41
| 16.142857
| 0.926316
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.5
| 0
| 0.5
| 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
| 0
| 0
| 0
|
0
| 5
|
304f1db1192730b29f97cca194feaf45782ae2a8
| 121
|
py
|
Python
|
liste_films/__init__.py
|
Em3line/Liste_films
|
fb467a6b703284d4ac27cb6566ffcb753efd64a8
|
[
"Apache-2.0"
] | null | null | null |
liste_films/__init__.py
|
Em3line/Liste_films
|
fb467a6b703284d4ac27cb6566ffcb753efd64a8
|
[
"Apache-2.0"
] | null | null | null |
liste_films/__init__.py
|
Em3line/Liste_films
|
fb467a6b703284d4ac27cb6566ffcb753efd64a8
|
[
"Apache-2.0"
] | null | null | null |
from flask import Flask
from .views import app
from . import models
# Connect sqlalchemy to app
models.db.init_app(app)
| 17.285714
| 27
| 0.785124
| 20
| 121
| 4.7
| 0.55
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.157025
| 121
| 6
| 28
| 20.166667
| 0.921569
| 0.206612
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.75
| 0
| 0.75
| 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
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
062edb79423451eb54430ac1d8088ecfbc1ff4f7
| 114
|
py
|
Python
|
tcex/api/tc/v2/datastore/__init__.py
|
GShepherdTC/tcex
|
70b1199b8bb9e63f53e2ba792489267108c909cd
|
[
"Apache-2.0"
] | null | null | null |
tcex/api/tc/v2/datastore/__init__.py
|
GShepherdTC/tcex
|
70b1199b8bb9e63f53e2ba792489267108c909cd
|
[
"Apache-2.0"
] | null | null | null |
tcex/api/tc/v2/datastore/__init__.py
|
GShepherdTC/tcex
|
70b1199b8bb9e63f53e2ba792489267108c909cd
|
[
"Apache-2.0"
] | null | null | null |
"""ThreatConnect API Endpoint Module."""
# flake8: noqa
from .cache import Cache
from .datastore import DataStore
| 22.8
| 40
| 0.77193
| 14
| 114
| 6.285714
| 0.714286
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.010101
| 0.131579
| 114
| 4
| 41
| 28.5
| 0.878788
| 0.421053
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 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
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
0662c5287f36c1e56cdeef140892d17bb788f809
| 41
|
py
|
Python
|
apps/cryptocurrency/server/src/settings.py
|
austinloveless/awsmeetupgroup-intro-to-eks-grafana-prometheus
|
a6b75a175ea08eaa20fedfb0173941550cfb53cd
|
[
"MIT"
] | 1
|
2021-03-11T01:04:18.000Z
|
2021-03-11T01:04:18.000Z
|
apps/cryptocurrency/server/src/settings.py
|
austinloveless/awsmeetupgroup-intro-to-eks-grafana-prometheus
|
a6b75a175ea08eaa20fedfb0173941550cfb53cd
|
[
"MIT"
] | null | null | null |
apps/cryptocurrency/server/src/settings.py
|
austinloveless/awsmeetupgroup-intro-to-eks-grafana-prometheus
|
a6b75a175ea08eaa20fedfb0173941550cfb53cd
|
[
"MIT"
] | null | null | null |
import os
API_KEY = os.getenv("API_KEY")
| 13.666667
| 30
| 0.731707
| 8
| 41
| 3.5
| 0.625
| 0.428571
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.121951
| 41
| 2
| 31
| 20.5
| 0.777778
| 0
| 0
| 0
| 0
| 0
| 0.170732
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.5
| 0
| 0.5
| 0
| 1
| 1
| 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
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
06a3bd09a5eb3b9d28d98cea3c45dd1593266943
| 325
|
py
|
Python
|
web/fabfile.py
|
kbarnes3/BaseDjangoSite
|
34be562d2a3f18cb852f2c655a23002271d6fbce
|
[
"BSD-2-Clause"
] | null | null | null |
web/fabfile.py
|
kbarnes3/BaseDjangoSite
|
34be562d2a3f18cb852f2c655a23002271d6fbce
|
[
"BSD-2-Clause"
] | null | null | null |
web/fabfile.py
|
kbarnes3/BaseDjangoSite
|
34be562d2a3f18cb852f2c655a23002271d6fbce
|
[
"BSD-2-Clause"
] | null | null | null |
from fabric.api import env
from fabric_utils.deploy import deploy, deploy_global_config, shutdown
from fabric_utils.setup import add_authorized_key, disable_ssh_passwords, setup_deployment, setup_server, setup_user
import newdjangosite
env.use_ssh_config = True # This makes it easier to use key based authentication
| 46.428571
| 117
| 0.836923
| 48
| 325
| 5.395833
| 0.625
| 0.11583
| 0.11583
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.126154
| 325
| 6
| 118
| 54.166667
| 0.911972
| 0.16
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0.2
| 0.8
| 0
| 0.8
| 0
| 0
| 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
| 0
| 1
| 1
| 1
| 0
| 1
| 0
|
0
| 5
|
23328b3472a70a0126daf0e3e4b69859a5aa191d
| 188
|
py
|
Python
|
falcon/api_helpers.py
|
RioAtHome/falcon
|
edd9352e630dbbb6272370281fc5fa6d792df057
|
[
"Apache-2.0"
] | 8,217
|
2015-03-06T19:30:57.000Z
|
2022-03-30T14:54:36.000Z
|
falcon/api_helpers.py
|
RioAtHome/falcon
|
edd9352e630dbbb6272370281fc5fa6d792df057
|
[
"Apache-2.0"
] | 1,637
|
2015-03-06T21:27:17.000Z
|
2022-03-31T06:27:19.000Z
|
falcon/api_helpers.py
|
RioAtHome/falcon
|
edd9352e630dbbb6272370281fc5fa6d792df057
|
[
"Apache-2.0"
] | 1,064
|
2015-03-07T15:32:24.000Z
|
2022-03-25T17:23:40.000Z
|
import warnings
from .app_helpers import * # NOQA
from .util.deprecation import DeprecatedWarning
warnings.warn('The api_helpers module was renamed to app_helpers.', DeprecatedWarning)
| 26.857143
| 86
| 0.81383
| 24
| 188
| 6.25
| 0.666667
| 0.133333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.12234
| 188
| 6
| 87
| 31.333333
| 0.909091
| 0.021277
| 0
| 0
| 0
| 0
| 0.274725
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.75
| 0
| 0.75
| 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
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
234cedfd2130ade30132ae896069cb68fbddc9c9
| 222
|
py
|
Python
|
gpflow/conditionals/__init__.py
|
antonykamp/GPflow
|
1831a5d19a50ff525af0ce931c8b82f6306d8196
|
[
"Apache-2.0"
] | 1,724
|
2016-01-21T18:10:26.000Z
|
2022-03-22T20:03:57.000Z
|
gpflow/conditionals/__init__.py
|
antonykamp/GPflow
|
1831a5d19a50ff525af0ce931c8b82f6306d8196
|
[
"Apache-2.0"
] | 1,713
|
2016-02-26T13:09:35.000Z
|
2022-03-31T14:39:30.000Z
|
gpflow/conditionals/__init__.py
|
antonykamp/GPflow
|
1831a5d19a50ff525af0ce931c8b82f6306d8196
|
[
"Apache-2.0"
] | 519
|
2016-02-17T19:04:45.000Z
|
2022-03-26T00:13:13.000Z
|
# noqa: F401
from . import conditionals, multioutput, sample_conditionals
from .dispatch import conditional, sample_conditional
from .uncertain_conditionals import uncertain_conditional
from .util import base_conditional
| 31.714286
| 60
| 0.855856
| 25
| 222
| 7.4
| 0.48
| 0.162162
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.015075
| 0.103604
| 222
| 6
| 61
| 37
| 0.914573
| 0.045045
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 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
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
2377ea18b35184afd0605d18c9bcff3f85810056
| 5,277
|
py
|
Python
|
jerbs/jerblib.py
|
starkshift/jerbs
|
dfa5d7077ea396bd9ca7c8689a3e1cd641d809b6
|
[
"Apache-2.0"
] | null | null | null |
jerbs/jerblib.py
|
starkshift/jerbs
|
dfa5d7077ea396bd9ca7c8689a3e1cd641d809b6
|
[
"Apache-2.0"
] | null | null | null |
jerbs/jerblib.py
|
starkshift/jerbs
|
dfa5d7077ea396bd9ca7c8689a3e1cd641d809b6
|
[
"Apache-2.0"
] | null | null | null |
NAME = "jerbs"
VERSION = "0.0.1 ALPHA"
DESCRIPTION = """A Python package to help figure out if they took our jerbs."""
AUTHOR = "Russell Miller"
AUTHOR_EMAIL = ""
URL = "https://github.com/starkshift/jerbs"
LICENSE = "Apache License"
from bs4 import BeautifulSoup
import requests
from spacy.en import English
from tqdm import tqdm_notebook
def StringToFunction(func_name):
possibles = globals().copy()
possibles.update(locals())
func = possibles.get(func_name)
if not func:
raise NotImplementedError("Function %s not implemented" % func_name)
return func
class JobScraper(object):
def __init__(self, spider, parmdata):
self.spider = StringToFunction(spider)
self.parmdata = parmdata
def Spider(self,*argv):
jobs = []
nlp = English()
self.data = list()
for joburl in self.spider(self,*argv):
self.data.append(dict())
r = requests.get(joburl, cookies=self.cookies)
soup = BeautifulSoup(r.text,"lxml")
content = soup.body.find('div', attrs={'id':'ctl00_MainContent_PrimaryContent'})
jobs.append(dict())
for span in content.span.find_all('span',recursive=True):
if span.has_attr('aria-labelledby'):
#print span['id'] + " : " + span.text
self.data[-1][span['id']] = span.getText(separator=u' ')
#doc = nlp(span.text)
#for np in doc.noun_chunks:
# np.text
def NullSpider(url):
yield url
def DullSpider(url):
yield url + 'dull'
def BrassRingSpider(self):
# we need to get the cookies from this "base url" to make subsequent queries
self.parmdata['baseurl'] = "%s/searchopenings.aspx?partnerid=%s&siteid=%s"%(self.parmdata['site'],self.parmdata['partnerid'],self.parmdata['siteid'])
baser = requests.get(self.parmdata['baseurl'])
self.cookies = baser.cookies
# identify the url for performing search queries
searchpage = dict()
soup = BeautifulSoup(baser.text,"lxml")
search = soup.find_all('form',attrs={'id' : 'aspnetForm'})
# loop over search result pages; each page contains 50 listings by default
startrecord = 1
while True:
searchpage['url'] = "%s/%s"%(self.parmdata['site'],search[0]['action'])
headers = {'recordstart':startrecord}
searchpage['data'] = requests.post(searchpage['url'],cookies=baser.cookies,data=headers)
searchpage['soup'] = BeautifulSoup(unicode(searchpage['data'].text),"lxml")
for maincontent in searchpage['soup'].find_all('input',attrs={'id':'ctl00_MainContent_GridFormatter_json_tabledata'}):
if maincontent.has_attr('id'):
subsoup = BeautifulSoup(maincontent['value'],"lxml")
for job in subsoup.find_all('input',attrs={'name':'chkJobClientIds'}):
jobid = job['id']
joburl = "%s/jobdetails.aspx?jobId=%s&JobSiteId=%s"%(self.parmdata['site'],jobid,self.parmdata['siteid'])
yield joburl
numjobs = int(searchpage['soup'].find('input',{'name':'totalrecords'})['value'])
if startrecord == 1:
bar = tqdm_notebook(total=numjobs)
bar.update(50)
if startrecord + 50 >= numjobs:
break
else:
startrecord = startrecord + 50
def NullSpider(url):
yield url
def DullSpider(url):
yield url + 'dull'
def BrassRingSpider(self):
# we need to get the cookies from this "base url" to make subsequent queries
self.parmdata['baseurl'] = "%s/searchopenings.aspx?partnerid=%s&siteid=%s"%(self.parmdata['site'],self.parmdata['partnerid'],self.parmdata['siteid'])
baser = requests.get(self.parmdata['baseurl'])
self.cookies = baser.cookies
# identify the url for performing search queries
searchpage = dict()
soup = BeautifulSoup(baser.text,"lxml")
search = soup.find_all('form',attrs={'id' : 'aspnetForm'})
# loop over search result pages; each page contains 50 listings by default
startrecord = 1
while True:
searchpage['url'] = "%s/%s"%(self.parmdata['site'],search[0]['action'])
headers = {'recordstart':startrecord}
searchpage['data'] = requests.post(searchpage['url'],cookies=baser.cookies,data=headers)
searchpage['soup'] = BeautifulSoup(unicode(searchpage['data'].text),"lxml")
for maincontent in searchpage['soup'].find_all('input',attrs={'id':'ctl00_MainContent_GridFormatter_json_tabledata'}):
if maincontent.has_attr('id'):
subsoup = BeautifulSoup(maincontent['value'],"lxml")
for job in subsoup.find_all('input',attrs={'name':'chkJobClientIds'}):
jobid = job['id']
joburl = "%s/jobdetails.aspx?jobId=%s&JobSiteId=%s"%(self.parmdata['site'],jobid,self.parmdata['siteid'])
yield joburl
numjobs = int(searchpage['soup'].find('input',{'name':'totalrecords'})['value'])
if startrecord == 1:
bar = tqdm_notebook(total=numjobs)
bar.update(50)
if startrecord + 50 >= numjobs:
break
else:
startrecord = startrecord + 50
| 41.880952
| 153
| 0.619481
| 603
| 5,277
| 5.368159
| 0.271973
| 0.063021
| 0.024096
| 0.031511
| 0.719184
| 0.719184
| 0.719184
| 0.719184
| 0.719184
| 0.719184
| 0
| 0.008203
| 0.237635
| 5,277
| 125
| 154
| 42.216
| 0.796421
| 0.091529
| 0
| 0.646465
| 0
| 0
| 0.18311
| 0.061455
| 0
| 0
| 0
| 0
| 0
| 1
| 0.090909
| false
| 0
| 0.040404
| 0
| 0.151515
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
88cef3c0ccd485e844f4d0f7a309b74a507d2999
| 118,789
|
py
|
Python
|
OpenPIL/drugClassSynonymDataset.py
|
Dosewolf/OpenPIL
|
0ef70923c4122268c210d567b1cae5a39278a7f4
|
[
"Apache-2.0"
] | 22
|
2022-01-23T03:04:25.000Z
|
2022-03-18T00:33:00.000Z
|
OpenPIL/drugClassSynonymDataset.py
|
Dosewolf/OpenPIL
|
0ef70923c4122268c210d567b1cae5a39278a7f4
|
[
"Apache-2.0"
] | null | null | null |
OpenPIL/drugClassSynonymDataset.py
|
Dosewolf/OpenPIL
|
0ef70923c4122268c210d567b1cae5a39278a7f4
|
[
"Apache-2.0"
] | 2
|
2022-01-26T23:16:30.000Z
|
2022-03-18T00:33:02.000Z
|
class_synonyms = {'cyclooxygenase inhibitors': ['cox inhibitors'], 'adrenergic beta2-antagonists': ['adrenergic beta 2 antagonists', 'adrenergic beta 2 receptor antagonists', 'adrenergic beta 2 receptor blockers', 'adrenergic beta-2 antagonists', 'adrenergic beta-2 receptor antagonists', 'adrenergic beta-2 receptor blockers', 'adrenergic beta2 antagonists', 'adrenergic beta2-antagonists', 'antagonists, adrenergic beta-2', 'antagonists, beta2-adrenergic', 'beta 2 adrenergic blocking agents', 'beta-2 adrenergic blocking agents', 'beta-2 antagonists, adrenergic', 'beta2 adrenergic antagonists', 'beta2-adrenergic antagonists', 'beta2-antagonists, adrenergic'], 'adrenergic beta1-antagonists': ['adrenergic beta 1 antagonists', 'adrenergic beta 1 receptor antagonists', 'adrenergic beta 1 receptor blockers', 'adrenergic beta-1 antagonists', 'adrenergic beta-1 receptor antagonists', 'adrenergic beta-1 receptor blockers', 'adrenergic beta1 antagonists', 'adrenergic beta1-antagonists', 'antagonists, adrenergic beta-1', 'antagonists, beta1-adrenergic', 'beta 1 adrenergic blocking agents', 'beta-1 adrenergic blocking agents', 'beta-1 antagonists, adrenergic', 'beta1 adrenergic antagonists', 'beta1-adrenergic antagonists', 'beta1-antagonists, adrenergic'], 'beta blocking agents': [], 'beta blocking agents, non-selective': [], 'other antineoplastic agents': [], 'adrenergic alpha-agonists': ['adrenergic alpha agonist', 'adrenergic alpha agonists', 'adrenergic alpha receptor agonist', 'adrenergic alpha receptor agonists', 'adrenergic alpha-agonist', 'adrenergic alpha-agonists', 'adrenergic alpha-receptor agonist', 'adrenergic alpha-receptor agonists', 'agonist, adrenergic alpha-receptor', 'agonist, alpha-adrenergic', 'agonist, alpha-adrenergic receptor', 'agonists, adrenergic alpha-receptor', 'agonists, alpha-adrenergic', 'agonists, alpha-adrenergic receptor', 'alpha adrenergic agonist', 'alpha adrenergic agonists', 'alpha adrenergic receptor agonist', 'alpha adrenergic receptor agonists', 'alpha-adrenergic agonist', 'alpha-adrenergic agonists', 'alpha-adrenergic receptor agonist', 'alpha-adrenergic receptor agonists', 'alpha-agonist, adrenergic', 'alpha-agonists, adrenergic', 'alpha-receptor agonist, adrenergic', 'alpha-receptor agonists, adrenergic', 'receptor agonist, alpha-adrenergic', 'receptor agonists, adrenergic alpha', 'receptor agonists, alpha adrenergic', 'receptor agonists, alpha-adrenergic'], 'gonadotropin-releasing hormones': [], 'tests for fertility disturbances': [], 'antiinflammatory preparations, non-steroids for topical use': [], 'antiinflammatory products for vaginal administration': [], 'propionic acid derivatives': [], 'other potassium-sparing agents': [], 'serotonin uptake inhibitors': [], 'adrenergic alpha1-antagonists': ['adrenergic alpha 1 antagonists', 'adrenergic alpha 1 receptor antagonists', 'adrenergic alpha 1 receptor blockers', 'adrenergic alpha-1 antagonists', 'adrenergic alpha-1 receptor antagonists', 'adrenergic alpha-1 receptor blockers', 'adrenergic alpha1 antagonists', 'adrenergic alpha1-antagonists', 'alpha 1 adrenergic blocking agents', 'alpha-1 adrenergic blocking agents', 'alpha-1 antagonists, adrenergic', 'alpha1 adrenergic antagonists', 'alpha1 adrenergic receptor antagonists', 'alpha1 adrenoceptor blocker', 'alpha1-adrenergic antagonists', 'alpha1-adrenoceptor blocker', 'alpha1-antagonists, adrenergic', 'antagonists, alpha1-adrenergic'], 'monoamine oxidase inhibitors': [], 'other antidepressants': ['tofranil response'], 'adrenergic beta2-agonists': ['adrenergic beta 2 agonists', 'adrenergic beta 2 receptor agonists', 'adrenergic beta-2 agonists', 'adrenergic beta-2 receptor agonist', 'adrenergic beta-2 receptor agonists', 'adrenergic beta2 agonists', 'adrenergic beta2-agonists', 'agonists, adrenergic beta-2', 'beta-2 agonists, adrenergic', 'beta2-agonists, adrenergic'], 'adrenergic beta1-agonists': ['adrenergic beta 1 agonists', 'adrenergic beta 1 receptor agonists', 'adrenergic beta-1 agonists', 'adrenergic beta-1 receptor agonist', 'adrenergic beta-1 receptor agonists', 'adrenergic beta1 agonists', 'adrenergic beta1-agonists', 'agonists, adrenergic beta-1', 'beta-1 agonists, adrenergic', 'beta1-agonists, adrenergic'], 'sympathomimetics in glaucoma therapy': [], 'antiarrhythmics, class ib': [], 'other renal system diagnostic radiopharmaceuticals': [], 'antiinfectives and antiseptics for local oral treatment': [], 'imidazole derivatives': [], 'nitroimidazole derivatives': [], 'other chemotherapeutics': [], 'drugs used in opioid dependence': [], 'oripavine derivatives': [], 'adrenergic beta-antagonists': ['adrenergic beta antagonists', 'adrenergic beta receptor blockaders', 'adrenergic beta-antagonists', 'adrenergic beta-blockers', 'adrenergic beta-receptor blockaders', 'agents, beta-adrenergic blocking', 'antagonists, beta-adrenergic', 'antagonists, beta-adrenoceptor', 'beta adrenergic antagonists', 'beta adrenergic blockers', 'beta adrenergic blocking agents', 'beta adrenergic receptor blockaders', 'beta adrenoceptor antagonists', 'beta blockers, adrenergic', 'beta-adrenergic antagonists', 'beta-adrenergic blockers', 'beta-adrenergic blocking agents', 'beta-adrenergic receptor blockaders', 'beta-adrenoceptor antagonists', 'beta-antagonists, adrenergic', 'beta-blockers, adrenergic', 'beta-receptor blockaders, adrenergic', 'blockaders, adrenergic beta-receptor', 'blockaders, beta-adrenergic receptor', 'blockers, beta-adrenergic', 'blocking agents, beta-adrenergic', 'receptor blockaders, beta-adrenergic'], 'ace inhibitors and calcium channel blockers': [], 'phenylalkylamine derivatives': [], 'sympathomimetics, labour repressants': [], 'natural opium alkaloids': [], 'adrenergic alpha2-agonists': ['adrenergic alpha 2 agonists', 'adrenergic alpha 2 receptor agonist', 'adrenergic alpha 2 receptor agonists', 'adrenergic alpha-2 agonists', 'adrenergic alpha-2 receptor agonist', 'adrenergic alpha-2 receptor agonists', 'adrenergic alpha2 agonists', 'adrenergic alpha2-agonists', 'agonists, adrenergic alpha-2', 'alpha-2 agonists, adrenergic', 'alpha2-agonists, adrenergic'], 'benzothiazepine derivatives': [], 'muscle relaxants': [], 'antivirals': [], 'nucleosides and nucleotides excl. reverse transcriptase inhibitors': [], 'drugs used in nicotine dependence': [], 'dopamine uptake inhibitors': ['dopamine reuptake inhibitors', 'dopamine uptake inhibitors', 'inhibitors, dopamine reuptake', 'inhibitors, dopamine uptake', 'reuptake inhibitors, dopamine', 'uptake inhibitors, dopamine'], 'centrally acting antiobesity products': [], 'benzodiazepine derivatives': [], 'opium alkaloids and derivatives': [], 'alpha and beta blocking agents': [], 'phosphodiesterase inhibitors': ['antiphosphodiesterases', 'phosphodiesterase antagonists', 'phosphodiesterase inhibitors', 'phosphoric diester hydrolase inhibitors'], 'histamine h2 receptor antagonists': ['antagonists, histamine h2', 'antihistaminics, h2', 'blockaders, h2 receptor', 'blockaders, histamine h2 receptor', 'blockers, histamine h2', 'h2 antagonists, histamine', 'h2 antihistaminics', 'h2 blockers, histamine', 'h2 receptor blockaders', 'histamine h2 antagonists', 'histamine h2 blockers', 'histamine h2 receptor antagonists', 'histamine h2 receptor blockaders', 'receptor antagonists, histamine h2', 'receptor blockaders, h2'], 'serotonin agonists': ['5 ht agonist', '5 ht agonists', '5 hydroxytryptamine agonists', '5 hydroxytrytamine agonist', '5-ht agonist', '5-ht agonists', '5-hydroxytryptamine agonists', '5-hydroxytrytamine agonist', 'agonist, 5-ht', 'agonist, 5-hydroxytrytamine', 'agonist, serotonergic', 'agonist, serotonin', 'agonist, serotonin receptor', 'agonists, 5-ht', 'agonists, 5-hydroxytryptamine', 'agonists, serotonergic', 'agonists, serotonin', 'agonists, serotonin receptor', 'receptor agonist, serotonin', 'receptor agonists, serotonin', 'serotonergic agonist', 'serotonergic agonists', 'serotonin agonist', 'serotonin agonists', 'serotonin receptor agonist', 'serotonin receptor agonists'], 'azaspirodecanedione derivatives': [], '14-alpha demethylase inhibitors': ['14-alpha demethylase inhibitors', '14alpha demethylase inhibitors', '14alpha-demethylase inhibitors', 'cyp51 inhibitors', 'inhibitors, 14-alpha demethylase', 'inhibitors, 14alpha-demethylase', 'inhibitors, cyp51', 'lanosterol 14 alpha demethylase inhibitors', 'lanosterol 14 alpha-demethylase inhibitors'], 'imidazole and triazole derivatives': [], 'drugs for treatment of hypercalcemia': [], 'selective beta-2-adrenoreceptor agonists': [], 'cholinergic agonists': [], 'other parasympathomimetics': [], 'parasympathomimetics': [], 'antiarrhythmics, class ic': ['rythmol response'], 'other quaternary ammonium compounds': [], 'acetic acid derivatives and related substances': [], 'antiinflammatory agents, non-steroids': [], 'other cardiac preparations': [], 'electrolyte solutions': ['disodium sulfate', 'sodium sulfate'], 'beta blocking agents, selective': [], 'drugs used in alcohol dependence': [], 'selective serotonin reuptake inhibitors': ['selective serotonin reuptake inhibitor', 'serotonin reuptake inhibitor', 'ssri', 'ssris'], 'antiarrhythmics, class iii': [], 'angiotensin-converting enzyme inhibitors': ['angiotensin-converting enzyme inhibitors', ' acei ', 'ace inhibitors'], 'gonadotropin releasing hormone analogues': ['d-his-6-pro-8-net-lhrh', 'gnrh agonist', 'gnrh analog', 'gonadotropin-releasing hormone agonist', 'gonadotropin-releasing hormone analogue', 'lh-rh analogs', 'lh/fsh-rf', 'lh/fsh-rh', 'lhrh agonist', 'luteinizing hormone-releasing hormone analog'], 'imidazoline receptor agonists': [], 'opioid anesthetics': [], 'adrenergic alpha-antagonists': ['adrenergic alpha antagonists', 'adrenergic alpha blockers', 'adrenergic alpha receptor blockaders', 'adrenergic alpha-antagonists', 'adrenergic alpha-blockers', 'adrenergic alpha-receptor blockaders', 'agents, alpha-adrenergic blocking', 'alpha adrenergic antagonists', 'alpha adrenergic blockers', 'alpha adrenergic blocking agents', 'alpha adrenergic receptor blockaders', 'alpha blockers, adrenergic', 'alpha-adrenergic antagonists', 'alpha-adrenergic blockers', 'alpha-adrenergic blocking agents', 'alpha-adrenergic receptor blockaders', 'alpha-antagonists, adrenergic', 'alpha-blockers, adrenergic', 'alpha-receptor blockaders, adrenergic', 'antagonists, alpha-adrenergic', 'blockaders, adrenergic alpha-receptor', 'blockaders, alpha-adrenergic receptor', 'blockers, alpha-adrenergic', 'blocking agents, alpha-adrenergic', 'receptor blockaders, alpha-adrenergic'], 'alpha-adrenoreceptor antagonists': [], 'lipoxygenase inhibitors': [], 'corticosteroids': [], 'corticosteroids, combinations for treatment of acne': [], 'corticosteroids, moderately potent (group ii)': [], 'corticosteroids, moderately potent, other combinations': [], 'corticosteroids': [], 'corticosteroids/antiinfectives/mydriatics in combination': [], 'various alimentary tract and metabolism products': [], 'topoisomerase inhibitors': [], 'anthracyclines and related substances': [], 'dopamine agonists': [], 'corticosteroids acting locally': [], 'corticosteroids, potent (group iii)': [], 'glucocorticoids': [], 'adrenergic beta-agonists': ['adrenergic beta agonist', 'adrenergic beta agonists', 'adrenergic beta receptor agonist', 'adrenergic beta receptor agonists', 'adrenergic beta-agonist', 'adrenergic beta-agonists', 'adrenergic beta-receptor agonist', 'adrenergic beta-receptor agonists', 'agonist, adrenergic beta-receptor', 'agonist, beta-adrenergic', 'agonist, beta-adrenergic receptor', 'agonists, adrenergic beta-receptor', 'agonists, beta-adrenergic', 'agonists, beta-adrenergic receptor', 'beta adrenergic agonist', 'beta adrenergic agonists', 'beta adrenergic receptor agonist', 'beta adrenergic receptor agonists', 'beta-adrenergic agonist', 'beta-adrenergic agonists', 'beta-adrenergic receptor agonist', 'beta-adrenergic receptor agonists', 'beta-agonist, adrenergic', 'beta-agonists, adrenergic', 'beta-receptor agonist, adrenergic', 'beta-receptor agonists, adrenergic', 'betamimetics', 'receptor agonist, beta-adrenergic', 'receptor agonists, beta adrenergic', 'receptor agonists, beta-adrenergic', 'receptors agonists, adrenergic beta'], 'sympathomimetics': [], 'other throat preparations': [], 'phosphodiesterase 3 inhibitors': ['inhibitors, pde-3', 'inhibitors, pde3', 'pde 3 inhibitors', 'pde-3 inhibitors', 'pde3 inhibitors', 'phosphodiesterase 3 inhibitors', 'phosphodiesterase type 3 inhibitors'], 'parathyroid hormones and analogues': [], 'caries prophylactic agents': [], 'fluoride': [], 'antiinfectives': ['agents, anti-infective', 'agents, antiinfective', 'anti infective agents', 'anti-infective agents', 'antiinfective agents'], 'fluoroquinolones': ['fluoroquinolones'], 'other urologicals': [], 'methanolquinolines': [], 'cyclic amines': [], 'nucleic acid synthesis inhibitors': ['inhibitors, nucleic acid synthesis', 'nucleic acid synthesis inhibitors'], 'somatostatin and analogues': [], 'somatropin and somatropin agonists': [], 'aminosalicylic acid and similar agents': [], 'other antiarrhythmics, class i and iii': [], 'dihydropyridine derivatives': [], 'adrenergic alpha1-agonists': ['adrenergic alpha 1 agonists', 'adrenergic alpha 1 receptor agonists', 'alpha1 adrenergic receptor agonists', 'adrenergic alpha-1 agonists', 'adrenergic alpha-1 receptor agonist', 'adrenergic alpha-1 receptor agonists', 'adrenergic alpha1 agonists', 'adrenergic alpha1-agonists', 'agonists, adrenergic alpha-1', 'alpha1-agonists, adrenergic'], 'adrenergic and dopaminergic agents': [], 'other immunostimulants': [], 'other antiglaucoma preparations': [], 'tests for pituitary function': [], 'hydroxymethylglutaryl-coa reductase inhibitors': ['hmg coa reductase inhibitors', 'hmg-coa reductase inhibitors', 'hmg-coa statins', 'hydroxymethylglutaryl coa reductase inhibitors', 'hydroxymethylglutaryl-coa inhibitors', 'hydroxymethylglutaryl-coa reductase inhibitors', 'hydroxymethylglutaryl-coenzyme a inhibitors', 'inhibitors, hmg coa reductase', 'inhibitors, hmg-coa reductase', 'inhibitors, hydroxymethylglutaryl coa', 'inhibitors, hydroxymethylglutaryl coenzyme a', 'inhibitors, hydroxymethylglutaryl-coa', 'inhibitors, hydroxymethylglutaryl-coa reductase', 'inhibitors, hydroxymethylglutaryl-coenzyme a', 'reductase inhibitors, hmg-coa', 'reductase inhibitors, hydroxymethylglutaryl-coa', 'statins', 'statins, hmg coa', 'statins, hmg-coa'], 'hmg coa reductase inhibitors': ['hmg coa reductase inhibitors', 'hmg-coa reductase inhibitors', 'hmg-coa statins', 'hydroxymethylglutaryl coa reductase inhibitors', 'hydroxymethylglutaryl-coa inhibitors', 'hydroxymethylglutaryl-coa reductase inhibitors', 'hydroxymethylglutaryl-coenzyme a inhibitors', 'inhibitors, hmg coa reductase', 'inhibitors, hmg-coa reductase', 'inhibitors, hydroxymethylglutaryl coa', 'inhibitors, hydroxymethylglutaryl coenzyme a', 'inhibitors, hydroxymethylglutaryl-coa', 'inhibitors, hydroxymethylglutaryl-coa reductase', 'inhibitors, hydroxymethylglutaryl-coenzyme a', 'reductase inhibitors, hmg-coa', 'reductase inhibitors, hydroxymethylglutaryl-coa', 'statins', 'statins, hmg coa', 'statins, hmg-coa'], 'non-selective monoamine reuptake inhibitors': [], 'gaba a agonists': ['agonists, gaba-a', 'agonists, gaba-a receptor', 'gaba a agonists', 'gaba a receptor agonist', 'gaba a receptor agonists', 'gaba-a agonists', 'gaba-a receptor agonist', 'gaba-a receptor agonists', 'receptor agonist, gaba-a', 'receptor agonists, gaba-a'], 'benzodiazepine related drugs': [], 'adrenergics in combination with corticosteroids or other drugs, excl. anticholinergics': [], 'platelet aggregation inhibitors excl. heparin': [], 'immunologic adjuvants': ['adjuvant, immunologic', 'adjuvant, immunological', 'adjuvants, immunologic', 'adjuvants, immunological', 'immunoactivators', 'immunoadjuvants', 'immunologic adjuvant', 'immunologic adjuvants', 'immunological adjuvant', 'immunological adjuvants', 'immunopotentiators', 'immunostimulants'], 'imidazothiazole derivatives': [], 'cholinergic antagonists': [], 'anticholinergics': ['agents, anticholinergic', 'anti cholinergics', 'anti-cholinergics', 'anticholinergic agents', 'anticholinergics'], 'belladonna alkaloids, tertiary amines': [], 'reverse transcriptase inhibitors': ['inhibitors, reverse transcriptase', 'reverse transcriptase inhibitors'], 'phosphonic acid derivatives': [], 'cholinesterase inhibitors': [], 'anticholinesterases': ['agents, anticholinesterase', 'anti cholinesterases', 'anti-cholinesterases', 'anticholinesterase agents', 'anticholinesterase drugs', 'anticholinesterases', 'cholinesterase inhibitors', 'drugs, anticholinesterase', 'inhibitors, cholinesterase'], 'other dermatologicals': [], 'antifungals for systemic use': [], 'other antifungals for topical use': [], 'nitrogen mustard analogues': [], 'propulsives': [], 'detoxifying agents for antineoplastic treatment': [], 'antiallergic agents, excl. corticosteroids': [], 'other antiallergics': [], 'antithrombins': [], 'serine proteinase inhibitors': [], 'opioids in combination with non-opioid analgesics': [], 'factor xa inhibitors': [], 'heparin group': ['anti-thrombin iii deficiency', 'at3d', 'decreased antithrombin iii', 'reduced antithrombin iii activity', 'thrombophilia due to antithrombin iii deficiency'], 'paramagnetic contrast media': [], 'preparations inhibiting uric acid production': [], 'other diagnostic radiopharmaceuticals for tumour detection': [], 'other agents against amoebiasis and other protozoal diseases': [], 'biguanides': [], 'combinations of oral blood glucose lowering drugs': [], 'vinca alkaloids and analogues': [], 'other centrally acting agents': [], 'hydantoin derivatives': [], 'sensitizers used in photodynamic/radiation therapy': [], 'protease inhibitors': [], 'selective estrogen receptor modulators': [], 'anti-estrogens': ['antagonists, estrogen', 'estrogen antagonists'], 'pyrimidine analogues': [], 'amides': [], 'insulins and analogues for injection, fast-acting': [], 'insulins and analogues for injection, intermediate- or long-acting combined with fast-acting': [], 'insulins and analogues for injection, intermediate-acting': [], 'various pain palliation radiopharmaceuticals': [], 'other diagnostic agents': [], 'hiv protease inhibitors': ['hiv protease inhibitors', 'inhibitors, hiv protease', 'protease inhibitors, hiv'], 'gaba b agonists': ['agonists, gaba-b', 'agonists, gaba-b receptor', 'gaba b agonists', 'gaba b receptor agonist', 'gaba b receptor agonists', 'gaba-b agonists', 'gaba-b receptor agonist', 'gaba-b receptor agonists', 'receptor agonist, gaba-b', 'receptor agonists, gaba-b'], 'fatty acid derivatives': [], 'non-nucleoside reverse transcriptase inhibitors': [], 'angiotensin 2 receptor antagonists': ['angiotensin 2 receptor antagonists', 'angiotensin ii type 2 receptor blockers', 'type 2 angiotensin receptor antagonists', 'type 2 angiotensin receptor blockers', 'angiotensin ii receptor antagonists'], 'xanthine derivatives': [], 'dopamine antagonists': ['antagonists, dopamine', 'antagonists, dopamine receptor', 'antagonists, dopaminergic', 'blockers, dopamine', 'dopamine antagonists', 'dopamine blockers', 'dopamine receptor antagonists', 'dopaminergic antagonists', 'receptor antagonists, dopamine'], 'serotonin antagonists': ['5 ht antagonists', '5 hydroxytryptamine antagonists', '5-ht antagonists', '5-hydroxytryptamine antagonists', 'agents, antiserotonergic', 'antagonists, 5 ht', 'antagonists, 5 hydroxytryptamine', 'antagonists, 5-ht', 'antagonists, 5-hydroxytryptamine', 'antagonists, serotonin', 'antagonists, serotonin receptor', 'antiserotonergic agents', 'blockaders, serotonin', 'blockers, serotonin receptor', 'receptor antagonists, serotonin', 'receptor blockers, serotonin', 'serotonin antagonists', 'serotonin blockaders', 'serotonin receptor antagonists', 'serotonin receptor blockers'], 'indole derivatives': [], 'leukotriene receptor antagonists': ['antagonists, leukotriene', 'antagonists, leukotriene receptor', 'leukotriene antagonists', 'leukotriene receptor antagonists', 'receptor antagonists, leukotriene'], 'protein synthesis inhibitors': ['antagonists, protein synthesis', 'inhibitors, protein synthesis', 'protein synthesis antagonists', 'protein synthesis inhibitors'], 'nucleoside and nucleotide reverse transcriptase inhibitors': [], 'proton pump inhibitors': ['omeprazole, poor metabolism of', 'prilosec response'], 'anti-gonadotropin-releasing hormones': [], 'other analgesics and antipyretics': [], 'other antihistamines for systemic use': [], 'thiazolidinediones': ['enzalutamide toxicity'], 'insulins and analogues for injection, long-acting': [], 'serotonin receptor antagonists': ['5 ht antagonists', '5 hydroxytryptamine antagonists', '5-ht antagonists', '5-hydroxytryptamine antagonists', 'agents, antiserotonergic', 'antagonists, 5 ht', 'antagonists, 5 hydroxytryptamine', 'antagonists, 5-ht', 'antagonists, 5-hydroxytryptamine', 'antagonists, serotonin', 'antagonists, serotonin receptor', 'antiserotonergic agents', 'blockaders, serotonin', 'blockers, serotonin receptor', 'receptor antagonists, serotonin', 'receptor blockers, serotonin', 'serotonin antagonists', 'serotonin blockaders', 'serotonin receptor antagonists', 'serotonin receptor blockers'], 'iron trivalent, oral preparations': [], 'other drugs for constipation': [], 'sclerosing agents for local injection': [], 'tests for pancreatic function': [], 'drugs used in erectile dysfunction': ['agents, urologic', 'agents, urological', 'urologic agents'], 'direct thrombin inhibitors': ['antithrombins', 'antithrombins, direct', 'direct antithrombins', 'direct thrombin inhibitors', 'thrombin inhibitors, direct'], 'amylin agonists': ['agonists, amylin', 'agonists, amylin receptor', 'amylin agonists', 'amylin receptor agonist', 'amylin receptor agonists', 'receptor agonist, amylin', 'receptor agonists, amylin'], 'other blood glucose lowering drugs, excl. insulins': [], 'carbapenems': [], 'phenylpiperidine derivatives': [], 'other antithrombotic agents': [], 'antivirals for treatment of hiv infections, combinations': ['boosted art', 'boosted arv', 'antiretroviral combinations'], 'natural and semisynthetic estrogens': [], 'phosphodiesterase 5 inhibitors': ['inhibitors, pde-5', 'inhibitors, pde5', 'inhibitors, phosphodiesterase 5', 'pde 5 inhibitors', 'pde-5 inhibitors', 'pde5 inhibitors', 'phosphodiesterase 5 inhibitors', 'phosphodiesterase type 5 inhibitors'], 'calcitonin preparations': [], 'folic acid analogues': [], 'other anti-dementia drugs': [], 'other antimycotics for systemic use': [], 'drugs for urinary frequency and incontinence': [], 'adrenergic agonists': [], 'monoamine oxidase b inhibitors': [], 'amino acids and derivatives': [], 'vasopressin receptor antagonists': ['antagonists, antidiuretic hormone', 'antagonists, vasopressin', 'antagonists, vasopressin receptor', 'antidiuretic hormone antagonists', 'antidiuretic hormone receptor antagonists', 'hormone antagonists, antidiuretic', 'receptor antagonists, vasopressin', 'vasopressin antagonists', 'vasopressin receptor antagonists'], 'vasopressin antagonists': ['antagonists, antidiuretic hormone', 'antagonists, vasopressin', 'antagonists, vasopressin receptor', 'antidiuretic hormone antagonists', 'antidiuretic hormone receptor antagonists', 'hormone antagonists, antidiuretic', 'receptor antagonists, vasopressin', 'vasopressin antagonists', 'vasopressin receptor antagonists'], 'antineovascularisation agents': [], 'glucagon-like peptide-1 (glp-1) analogues': [], 'melatonin receptor agonists': [], 'glycopeptide antibacterials': [], 'protein kinase inhibitors': ['inhibitors, protein kinase', 'kinase inhibitors, protein', 'protein kinase inhibitors'], 'kinase inhibitors': [], 'renin-inhibitors': ['aeacei'], 'piperazine derivatives': ['1,4 diazacyclohexane', '1,4 piperazine', '1,4-diazacyclohexane', '1,4-piperazine', 'piperazine'], 'other cytotoxic antibiotics': [], 'diazepines, oxazepines, thiazepines and oxepines': [], 'bradykinin b2 receptor antagonists': ['antagonists, bradykinin b2', 'b2 antagonists, bradykinin', 'bradykinin b2 antagonists', 'bradykinin b2 receptor antagonists', 'bradykinin b2 receptor blockers', 'bradykinin b2 receptor inhibitors'], 'drugs used in hereditary angioedema': [], 'gaba a antagonists': ['antagonists, gaba-a', 'antagonists, gaba-a receptor', 'gaba a antagonists', 'gaba a receptor antagonist', 'gaba a receptor antagonists', 'gaba-a antagonists', 'gaba-a receptor antagonist', 'gaba-a receptor antagonists', 'receptor antagonist, gaba-a', 'receptor antagonists, gaba-a'], 'other hormone antagonists and related agents': [], 'fibrates': [], 'antidotes': [], 'other systemic hemostatics': [], 'dipeptidyl peptidase 4 inhibitors': ['dipeptidyl peptidase 4 inhibitors', 'dipeptidyl peptidase iv inhibitors', 'dipeptidyl-peptidase 4 inhibitors', 'dipeptidyl-peptidase iv inhibitors', 'gliptins', 'inhibitors, dipeptidyl-peptidase iv'], 'dipeptidyl peptidase 4 (dpp-4) inhibitors': [], 'other antiepileptics': ['antiepileptic agents'], 'sympathomimetics used as decongestants': [], 'sympathomimetics, combinations excl. corticosteroids': [], 'sympathomimetics': [], 'tetracyclines': ['adverse reaction to tetracycline group'], 'beta-lactamase resistant penicillins': [], 'antibiotics': [], 'other aminoglycosides': [], 'other antibiotics for topical use': [], 'penicillins with extended spectrum': [], 'polymyxins': [], 'amphenicols': ['amphenicols'], 'antiinfectives for treatment of acne': [], 'lincosamides': [], 'tetracycline and derivatives': [], 'combinations for eradication of helicobacter pylori': [], 'other antibacterials': [], 'macrolides': [], 'first-generation cephalosporins': [], 'third-generation cephalosporins': [], 'second-generation cephalosporins': ['dalbavancin'], 'beta-lactamase sensitive penicillins': [], 'fourth-generation cephalosporins': [], 'other nasal preparations': [], 'streptomycins': [], 'trimethoprim and derivatives': ['trimethoprim and derivatives'], '3-oxoandrosten (4) derivatives': ['4-alpha hydroxyphenylpyruvate dioxygenase deficiency', '4-alpha hydroxyphenylpyruvic acid oxidase deficiency', '4-hydroxyphenylpyruvate dioxygenase deficiency', '4-hydroxyphenylpyruvic acid oxidase deficiency', 'tyrosinemia type iii', 'tyrsn3'], 'esters of aminobenzoic acid': [], 'local anesthetics': ['anesthetics, conduction blocking', 'anesthetics, conduction-blocking', 'anesthetics, local', 'conduction blocking anesthetics', 'conduction-blocking anesthetics', 'local anesthetics'], 'other plain vitamin preparations': [], 'antihistamines for topical use': [], 'substituted ethylene diamines': [], 'barbiturates': [], 'nerve depressants': [], 'other antiseptics and disinfectants': ['agents, local anti-infective', 'agents, local antiinfective', 'agents, topical anti-infective', 'agents, topical antiinfective', 'anti infective agents, local', 'anti infective agents, topical', 'anti-infective agents, local', 'anti-infective agents, topical', 'antiinfective agents, local', 'antiinfective agents, topical', 'antiseptics', 'local anti infective agents', 'local anti-infective agents', 'local antiinfective agents', 'topical anti infective agents', 'topical anti-infective agents', 'topical antiinfective agents'], 'centrally acting sympathomimetics': [], 'anesthetics for topical use': [], 'belladonna alkaloids, semisynthetic, quaternary ammonium compounds': [], 'substituted alkylamines': [], 'proteolytic enzymes': ['gpa', 'midline granulomatosis', 'wegener granulomatosis', "wegener's granulomatosis"], 'other ophthalmologicals': [], 'mucolytics': [], 'acetylcholine release inhibitors': ['acetylcholine release antagonists', 'acetylcholine release blockers', 'acetylcholine release inhibitors', 'antagonists, acetylcholine release', 'blockers, acetylcholine release', 'release blockers, acetylcholine'], 'other antianemic preparations': [], 'other antigout preparations': [], 'colony stimulating factors': [], 'interleukin inhibitors': ['pf-06651600'], 'specific immunoglobulins': [], 'monoclonal antibodies': [], 'other lipid modifying agents': [], 'other central nervous system diagnostic radiopharmaceuticals': [], 'janus kinase inhibitors': ['inhibitors, jak', 'inhibitors, janus kinase', 'jak inhibitors', 'janus kinase inhibitors', 'kinase inhibitors, janus'], 'antivirals for treatment of hcv infections': [], 'other antidiarrheals': [], 'hiv integrase inhibitors': ['hiv integrase inhibitors', 'integrase inhibitors, hiv'], 'selective immunosuppressants': [], 'sympathomimetics excl. antiglaucoma preparations': [], 'peripheral opioid receptor antagonists': [], 'medical gases': [], 'direct factor xa inhibitors': ['anticoagulants, direct-acting oral', 'direct acting oral anticoagulants', 'direct-acting oral anticoagulants', 'oral anticoagulants, direct-acting'], 'other drugs for disorders of the musculo-skeletal system': [], 'other antiemetics': [], 'drugs for treatment of hyperkalemia and hyperphosphatemia': [], 'prostaglandin analogues': ['analogs, pg', 'analogs, prostaglandin', 'analogues, prostaglandin', 'pg analogs', 'prostaglandin analogs', 'prostaglandin analogues', 'prostaglandins, synthetic', 'synthetic prostaglandins'], 'alpha- and beta-adrenoreceptor agonists': [], 'calcium': [], 'other antivirals': ['antiretrovirals', 'ARV drugs', 'ARV therapy'], 'various therapeutic radiopharmaceuticals': ['therapeutic radiopharmaceuticals'], 'poly(adp-ribose) polymerase inhibitors': ['inhibitors of poly(adp-ribose) polymerases', 'inhibitors, parp', 'parp inhibitors', 'poly(adp-ribose) polymerase inhibitors', 'poly(adp-ribosylation) inhibitors'], 'other nervous system drugs': [], 'adenosine receptor antagonists': ['adenosine receptor antagonists', 'antagonists, adenosine receptor', 'antagonists, p1 purinoceptor', 'p1 purinoceptor antagonists', 'purinergic p1 receptor antagonists', 'purinoceptor antagonists, p1', 'receptor antagonists, adenosine'], 'other cephalosporins and penems': [], 'analgesics and anesthetics': [], 'anesthetics, local': ['anesthetics, conduction blocking', 'anesthetics, conduction-blocking', 'anesthetics, local', 'conduction blocking anesthetics', 'conduction-blocking anesthetics', 'local anesthetics'], 'esters of benzoic acid': [], 'antihidrotics': [], 'other gynecologicals': [], 'other antinematodals': [], 'androgen receptor antagonists': ['androgen receptor antagonists', 'receptor antagonists, androgen'], 'anti-androgens': ['snomed ct: '], 'histamine h3 receptor antagonists': ['antagonists, histamine h3', 'antihistaminics, h3', 'blockers, histamine h3', 'h3 antagonists, histamine', 'h3 antihistaminics', 'h3 blockers, histamine', 'histamine h3 antagonists', 'histamine h3 blockers', 'histamine h3 receptor antagonists'], 'other general anesthetics': ['anesthetics, general', 'general anesthetics'], 'orexin receptor antagonists': [], 'anticorticosteroids': [], 'blood coagulation factors': [], 'endothelin receptor antagonists': ['antagonists, endothelin', 'antagonists, endothelin receptor', 'endothelin antagonists', 'endothelin receptor antagonists'], 'taxanes': [], 'calcitonin gene-related peptide (cgrp) antagonists': ['antagonists, cgrp receptor', 'calcitonin gene related peptide receptor antagonists', 'calcitonin gene-related peptide receptor antagonists', 'cgrp r inhibitors', 'cgrp receptor antagonists', 'cgrp-r inhibitors', 'inhibitors, cgrp-r', 'receptor antagonists, cgrp'], 'other anti-parathyroid agents': [], 'insulins and analogues for inhalation': [], 'interferons': [], 'aminosalicylic acid and derivatives': ['aminosalicylates', 'aminosalicylate'], 'coxibs': ['cox 2 inhibitors', 'cox-2 inhibitors', 'cox2 inhibitors', 'coxibs', 'cyclooxygenase 2 inhibitors', 'cyclooxygenase-2 inhibitors', 'inhibitors, cox-2', 'inhibitors, cox2', 'inhibitors, cyclooxygenase 2', 'inhibitors, cyclooxygenase-2'], 'agents for dermatitis, excluding corticosteroids': [], 'calcineurin inhibitors': [], 'sodium chloride symporter inhibitors': ['sodium chloride symporter inhibitors', 'thiazide sensitive nacl cotransporter inhibitors'], 'thiazides': [], 'preparations increasing uric acid excretion': [], 'angiotensin ii receptor blockers (arbs) and calcium channel blockers': [], 'other therapeutic products': [], 'sodium-glucose transporter 2 inhibitors': ['gliflozins', 'sglt 2 inhibitors', 'sglt-2 inhibitors', 'sglt2 inhibitors', 'sodium glucose transporter 2 inhibitors', 'sodium-glucose transporter 2 inhibitors'], 'sodium-glucose co-transporter 2 (sglt2) inhibitors': ['gliflozins', 'sglt 2 inhibitors', 'sglt-2 inhibitors', 'sglt2 inhibitors', 'sodium glucose transporter 2 inhibitors', 'sodium-glucose transporter 2 inhibitors'], 'beta-lactamase inhibitors': [], 'angiotensin ii receptor blockers (arbs), other combinations': [], 'alpha glucosidase inhibitors': ['alpha glucosidase inhibitors', 'alpha-glucosidase inhibitors', 'inhibitors, alpha-glucosidase'], 'carbonic anhydrase inhibitors': ['carbonate dehydratase inhibitors', 'carbonic anhydrase inhibitors', 'carboxyanhydrase inhibitors', 'inhibitors, carbonate dehydratase', 'inhibitors, carbonic anhydrase', 'inhibitors, carboxyanhydrase'], 'other agents for local oral treatment': [], 'salicylic acid and derivatives': ['salicylates', 'salicylate'], 'nicotinic acid and derivatives': [], 'retinoids for treatment of psoriasis': [], 'retinoids for topical use in acne': [], 'protectives against uv-radiation for systemic use': [], 'amino acids': [], 'benzimidazole derivatives': ['2 methylpyridine 2 benzimidazole sulfoxides', '2 pyridinylmethylsulfinyl 2 benzimidazoles', '2-benzimidazole sulfoxides, 2-methylpyridine', '2-methylpyridine 2-benzimidazole sulfoxides', '2-pyridinylmethylsulfinyl-2-benzimidazoles', 'sulfoxides, 2-methylpyridine 2-benzimidazole', 'timoprazoles'], 'interferon inducers': [], 'interleukins': [], 'bisphosphonates': [], 'trypsin inhibitors': ['trypsin inhibitors'], 'proteinase inhibitors': [], 'vitamin d and analogues': [], 'other drugs for peptic ulcer and gastro-oesophageal reflux disease (gord)': [], 'prostaglandins': ['gurdp', 'phospholipase a2, group iva, deficiency of'], 'adamantane derivatives': [], 'antihypertensives for pulmonary arterial hypertension': [], 'other systemic drugs for obstructive airway diseases': [], 'aromatase inhibitors': [], 'other cardiac stimulants': [], 'phosphodiesterase 4 inhibitors': ['inhibitors, pde-4', 'inhibitors, pde4', 'inhibitors, phosphodiesterase 4', 'pde 4 inhibitors', 'pde-4 inhibitors', 'pde4 inhibitors', 'phosphodiesterase 4 inhibitors', 'phosphodiesterase type 4 inhibitors'], 'artemisinin and derivatives, combinations': [], 'artemisinin and derivatives': [], 'beta blocking agents and calcium channel blockers': [], 'other immunosuppressants': ['agents, immunosuppressive', 'immunosuppressants', 'immunosuppressive agents'], 'monobactams': [], 'estrogens, combinations with other drugs': [], 'other drugs for treatment of tuberculosis': [], 'antiseptics': ['agents, local anti-infective', 'agents, local antiinfective', 'agents, topical anti-infective', 'agents, topical antiinfective', 'anti infective agents, local', 'anti infective agents, topical', 'anti-infective agents, local', 'anti-infective agents, topical', 'antiinfective agents, local', 'antiinfective agents, topical', 'antiseptics', 'local anti infective agents', 'local anti-infective agents', 'local antiinfective agents', 'topical anti infective agents', 'topical anti-infective agents', 'topical antiinfective agents'], 'medicated dressings with antiinfectives': [], 'quaternary ammonium compounds': [], 'peroxides': [], 'other antiinflammatory and antirheumatic agents, non-steroids': [], 'antivertigo preparations': [], 'acid preparations': [], 'corticosteroids, potent, other combinations': [], 'contact laxatives': [], 'enemas': [], 'proteasome inhibitors': [], 'prolactine inhibitors': [], 'butyrophenone derivatives': [], 'sodium potassium chloride symporter inhibitors': ['bumetanide sensitive na k cl transporter inhibitors', 'inhibitors, na-k-cl symporter', 'na k cl symporter inhibitors', 'na-k-cl symporter inhibitors', 'sodium potassium chloride cotransporter inhibitors', 'sodium potassium chloride symporter inhibitors', 'symporter inhibitors, na-k-cl'], 'sulfonamides and potassium in combination': [], 'sulfonamides': [], 'other drugs affecting bone structure and mineralization': [], 'alkyl sulfonates': ['alkanesulfonates', 'alkyl sulfonates', 'sulfonates'], 'tests for gastric secretion': [], 'other antipsoriatics for topical use': [], 'magnesium compounds': [], 'osmotically acting laxatives': [], 'calcium compounds': [], 'acidifiers': [], 'cannabinoid receptor antagonists': ['antagonists, cannabinoid', 'blockers, cannabinoid', 'blockers, cannabinoid receptor', 'cannabinoid antagonists', 'cannabinoid blockers', 'cannabinoid receptor antagonists', 'cannabinoid receptor blockers', 'receptor antagonists, cannabinoid', 'receptor blockers, cannabinoid'], 'capsaicin and similar agents': [], 'other local anesthetics': [], 'choline esters': ['acylcholine acylhydrolase deficiency', 'bche deficiency', 'bche, silent 1', 'butyrylcholinesterase deficiency', 'che1 deficiency', 'mivacurium response', 'pseudocholinesterase e1 deficiency', 'succinylcholine response'], 'carboxamide derivatives': [], 'carbamide products': [], 'solutions producing osmotic diuresis': [], 'sulfur-containing imidazole derivatives': [], 'platinum compounds': [], 'nitrosoureas': [], 'adrenergic alpha2-antagonists': ['adrenergic alpha 2 antagonists', 'adrenergic alpha 2 receptor antagonists', 'adrenergic alpha 2 receptor blockers', 'adrenergic alpha-2 antagonists', 'adrenergic alpha-2 receptor antagonists', 'adrenergic alpha-2 receptor blockers', 'adrenergic alpha2 antagonists', 'adrenergic alpha2-antagonists', 'alpha 2 adrenergic blocking agents', 'alpha-2 adrenergic blocking agents', 'alpha-2 antagonists, adrenergic', 'alpha2 adrenergic antagonists', 'alpha2-adrenergic antagonists', 'alpha2-antagonists, adrenergic', 'antagonists, adrenergic alpha-2', 'antagonists, alpha2-adrenergic'], 'bile acids and derivatives': [], 'biguanides and amidines': [], 'other antiinfectives': [], 'phenol and derivatives': ['phenols'], 'thioxanthene derivatives': [], 'gonadotropins': [], 'other antiinfectives and antiseptics': [], 'purine analogues': ['large cell lymphoma which develops after treatment for chronic lymphocytic leukemia (cll)'], 'aminoalkyl ethers': [], 'corticosteroids, very potent (group iv)': [], 'drugs for treatment of lepra': [], 'ovulation stimulants, synthetic': [], 'other antimigraine preparations': [], 'preparations with no effect on uric acid metabolism': [], 'bile acid sequestrants': [], 'antiandrogens': [], 'combinations of antineoplastic agents': [], 'other alkylating agents': [], 'antigonadotropins and similar agents': ['2,4,6(1h,3h,5h)-pyrimidinetrione, 5-ethyl-5-(1-methylbutyl)-', 'mebubarbital', 'pentobarbital', 'pentobarbitone'], 'dantrolene and derivatives': [], 'other anti-acne preparations for topical use': [], 'iron chelating agents': ['agents, iron chelating', 'chelates, iron', 'chelating agents, iron', 'iron chelates', 'iron chelating agents'], 'quinoline derivatives': [], 'halogenated hydrocarbons': [], 'vasopressin and analogues': [], 'progestogens': [], 'progestogens and estrogens, fixed combinations': [], 'progestogens and estrogens, sequential preparations': [], 'estrogens': [], 'corticosteroids for local oral treatment': [], 'other hypnotics and sedatives': [], 'watersoluble, nephrotropic, high osmolar x-ray contrast media': [], 'drugs for treatment of hypoglycemia': [], 'thiazide derivatives': [], 'pregnadien derivatives': [], 'digitalis glycosides': [], 'other ectoparasiticides, incl. scabicides': [], 'adenosine deaminase inhibitors': ['ada inhibitors', 'adenosine deaminase inhibitors', 'deaminase inhibitors, adenosine', 'inhibitors, ada', 'inhibitors, adenosine deaminase'], 'antiarrhythmics, class ia': [], 'sulfur containing products': [], 'dopamine d2 antagonists': ['antagonists, dopamine d2', 'd2 antagonists, dopamine', 'dopamine d2 antagonists', 'dopamine d2 receptor antagonists'], 'respiratory stimulants': [], 'other antipruritics': [], '5-alpha reductase inhibitors': ['3 oxo 5 alpha steroid 4 dehydrogenase inhibitors', '3-oxo-5-alpha-steroid 4-dehydrogenase inhibitors', '4-dehydrogenase inhibitors, 3-oxo-5-alpha-steroid', '5 alpha reductase inhibitors', '5-alpha reductase inhibitors', '5-alpha-reductase inhibitors, steroid', '5-alpha-reductase inhibitors, testosterone', 'inhibitors, 3-oxo-5-alpha-steroid 4-dehydrogenase', 'inhibitors, 5-alpha reductase', 'inhibitors, steroid 5-alpha-reductase', 'inhibitors, testosterone 5-alpha-reductase', 'reductase inhibitors, 5-alpha', 'steroid 5 alpha reductase inhibitors', 'steroid 5-alpha-reductase inhibitors', 'testosterone 5 alpha reductase inhibitors', 'testosterone 5-alpha-reductase inhibitors'], 'testosterone-5-alpha reductase inhibitors': ['3 oxo 5 alpha steroid 4 dehydrogenase inhibitors', '3-oxo-5-alpha-steroid 4-dehydrogenase inhibitors', '4-dehydrogenase inhibitors, 3-oxo-5-alpha-steroid', '5 alpha reductase inhibitors', '5-alpha reductase inhibitors', '5-alpha-reductase inhibitors, steroid', '5-alpha-reductase inhibitors, testosterone', 'inhibitors, 3-oxo-5-alpha-steroid 4-dehydrogenase', 'inhibitors, 5-alpha reductase', 'inhibitors, steroid 5-alpha-reductase', 'inhibitors, testosterone 5-alpha-reductase', 'reductase inhibitors, 5-alpha', 'steroid 5 alpha reductase inhibitors', 'steroid 5-alpha-reductase inhibitors', 'testosterone 5 alpha reductase inhibitors', 'testosterone 5-alpha-reductase inhibitors'], 'complement inhibitors': ['agents, complement inactivating', 'agents, complement inhibiting', 'complement inactivating agents', 'complement inhibiting agents', 'complement inhibitors', 'inactivating agents, complement', 'inhibiting agents, complement', 'inhibitors, complement'], 'other agents against leishmaniasis and trypanosomiasis': [], 'antipropulsives': [], 'catechol o-methyltransferase inhibitors': ['catechol o methyltransferase inhibitors', 'catechol o-methyltransferase inhibitors', 'o-methyltransferase inhibitors, catechol'], 'other dopaminergic agents': [], 'local hemostatics': [], 'aldosterone antagonists': [], 'combinations of drugs for treatment of tuberculosis': [], 'succinimide derivatives': [], 'podophyllotoxin derivatives': ["furo(3',4':6,7)naphtho(2,3-d)-1,3-dioxol-6(5ah)-one, 5,8,8a,9-tetrahydro-9-hydroxy-5-(3,4,5-trimethoxyphenyl)-, (5r-(5alpha,5abeta,8aalpha,9alpha))-", 'podofilox', 'podophyllotoxin'], 'iron bivalent, oral preparations': [], 'iron in combination with folic acid': [], 'triazole derivatives': [], 'mineralocorticoids': [], 'gaba b antagonists': ['antagonists, gaba-b', 'antagonists, gaba-b receptor', 'gaba b antagonists', 'gaba b receptor antagonist', 'gaba b receptor antagonists', 'gaba-b antagonists', 'gaba-b receptor antagonist', 'gaba-b receptor antagonists', 'receptor antagonist, gaba-b', 'receptor antagonists, gaba-b'], 'colouring agents': [], 'diphenylbutylpiperidine derivatives': [], 'folic acid and derivatives': [], 'estrogen receptor antagonists': ['antagonists, estrogen receptor', 'estrogen receptor antagonists', 'receptor antagonists, estrogen'], 'steroid antibacterials': [], 'sulfonylureas': [], 'glycogenolytic hormones': [], 'nitric oxide donors': [], 'organic nitrates': [], 'heme products': [], 'heparins or heparinoids for topical use': [], 'fibrinogen': [], 'hydrazinophthalazine derivatives': [], 'corticosteroids, weak (group i)': [], 'corticosteroids, weak, other combinations': [], 'aminoquinolines': [], 'blood substitutes and plasma protein fractions': [], 'diphenylmethane derivatives': [], 'tests for renal function and ureteral injuries': [], 'watersoluble, nephrotropic, low osmolar x-ray contrast media': [], 'hydrazides': [], 'non-selective beta-adrenoreceptor agonists': [], 'retinoids for treatment of acne': [], 'other respiratory system products': [], 'avermectines': [], 'dopa and dopa derivatives': [], 'other cough suppressants': [], 'phenothiazines with aliphatic side-chain': [], 'emergency contraceptives': ['contraceptives, emergency'], 'thyroid hormones': [], 'chloride channel activators': ['activators, chloride channel', 'channel activators, chloride', 'channel agonists, chloride', 'channel stimulators, chloride', 'chloride channel activators', 'chloride channel agonists', 'chloride channel stimulators', 'stimulators, chloride channel'], 'estren derivatives': [], 'magnesium': [], 'tests for bile duct patency': [], 'other irrigating solutions': [], 'chemokine co-receptor 5 antagonists': ['blockers, ccr5 receptor', 'cc chemokine receptor 5 antagonists', 'cc chemokine receptor 5 blockers', 'ccr5 receptor antagonists', 'ccr5 receptor blockers', 'chemokine co receptor 5 antagonists', 'chemokine co-receptor 5 antagonists', 'hiv 1 fusion coreceptor antagonists', 'hiv-1 fusion coreceptor antagonists', 'receptor antagonists, ccr5', 'receptor blockers, ccr5'], 'synthetic anticholinergics, esters with tertiary amino group': [], 'charcoal preparations': [], 'pregnen (4) derivatives': [], 'oxicams': [], 'pyrazolones': [], 'psoralens for systemic use': [], 'psoralens for topical use': [], 'ergot alkaloids': [], 'combinations of antibacterials': [], 'progesterone receptor modulators': [], 'pyrimidine derivatives': ['hpo:'], 'adrenergic beta3-agonists': ['adrenergic beta 3 agonists', 'adrenergic beta 3 receptor agonists', 'adrenergic beta-3 agonists', 'adrenergic beta-3 receptor agonist', 'adrenergic beta-3 receptor agonists', 'adrenergic beta3 agonists', 'adrenergic beta3-agonists', 'agonists, adrenergic beta-3', 'beta-3 agonists, adrenergic', 'beta3-agonists, adrenergic'], 'monoamine oxidase a inhibitors': [], 'salicylic acid derivatives': [], 'other vasodilators used in cardiac diseases': [], 'nitrofuran derivatives': [], 'nitroferricyanide derivatives': [], 'peripherally acting antiobesity products': [], 'neuraminidase inhibitors': [], 'oxytocin and analogues': [], 'histone deacetylase inhibitors': ['deacetylase inhibitor, histone', 'deacetylase inhibitors, histone', 'hdac inhibitors', 'histone deacetylase inhibitor', 'histone deacetylase inhibitors', 'inhibitor, histone deacetylase', 'inhibitors, hdac', 'inhibitors, histone deacetylase'], 'anilides': [], 'other anterior pituitary lobe hormones and analogues': [], 'purine derivatives': ['acid, folinic', 'folinic acid', 'folinic acid sf', 'folinic acid-sf', 'l-glutamic acid, n-(4-(((2-amino-5-formyl-1,4,5,6,7,8-hexahydro-4-oxo-6-pteridinyl)methyl)amino)benzoyl)-', 'leucovorin', 'leukovorin', 'leukovorum'], 'phenothiazines with piperidine structure': [], 'pyrethrines, incl. synthetic compounds': [], 'barbiturates and derivatives': [], 'vitamin k antagonists': ['congenital warfarin syndrome', 'coumarin syndrome', 'disala syndrome', 'fetal anticoagulant syndrome', 'warfarin embryopathy', 'warfarin syndrome'], 'imidazoline derivatives': [], 'butylpyrazolidines': [], 'vitamin k': [], 'other psychostimulants and nootropics': [], 'diphenylpropylamine derivatives': [], 'potassium': [], 'expectorants': ['snomed ct: '], 'iodine products': ['snomed ct: '], 'medicated shampoos': [], 'androstan derivatives': [], 'other sex hormones and modulators of the genital system': [], 'quinoline derivatives and related substances': [], 'methylhydrazines': [], 'phenothiazine derivatives': ['1-piperidinepropanol, alpha-bicyclo(2.2.1)hept-5-en-2-yl-alpha-phenyl-', 'alpha-bicyclo(2.2.1)hept-5-en-2-yl-alpha-phenyl-1-piperidinepropanol', 'biperiden', 'biperidene'], 'thiouracils': [], 'diaminopyrimidines': [], 'other drugs for functional gastrointestinal disorders': [], 'sulfonamides': [], 'gold preparations': [], 'salt solutions': [], 'sodium': [], 'selenium': [], 'bulk-forming laxatives': ['bulk forming laxative', 'bulk-forming laxatives'], 'combinations of sulfonamides and trimethoprim, incl. derivatives': [], 'intermediate-acting sulfonamides': [], 'benzamides': [], 'choline derivatives': ['choline glycerophospholipids', 'choline phosphoglycerides', 'choline, phosphatidyl', 'cholines, phosphatidyl', 'glycerophospholipids, choline', 'phosphatidyl choline', 'phosphatidyl cholines', 'phosphatidylcholine', 'phosphatidylcholines', 'phosphoglycerides, choline'], 'androgens and estrogens': [], 'tetanus vaccines': [], 'acth': ['adrenocorticotropic hormone'], 'xanthines': [], 'ethylene imines': ['peg-b-pps-b-pei', 'poly(ethylene glycol)-bl-poly(propylene sulfide)-bl-poly(ethylene imine)'], 'thyrotropin': [], 'other estrogens': [], 'tests for diabetes': ['benign prostatic hypertrophy', 'hypertrophy, benign prostatic', 'prostatic hypertrophy, benign'], 'other topical products for joint and muscular pain': [], 'other plant alkaloids and natural products': [], 'monoamine oxidase inhibitors, non-selective': [], 'tertiary amines': ['tofranil response'], 'tuberculosis diagnostics': [], 'varicella zoster vaccines': [], 'zinc': [], 'vitamin a': [], 'other peripheral vasodilators': [], 'curare alkaloids': [], 'bioflavonoids': [], 'other i.v. solution additives': [], 'solutions affecting the electrolyte balance': [], 'sulfonium derivatives': [], 'oxazolidine derivatives': [], 'phenothiazines with piperazine structure': [], 'other antitrematodal agents': [], 'organophosphorous compounds': [], 'other agents for treatment of hemorrhoids and anal fissures for topical use': [], 'other capillary stabilizing agents': [], 'aldose reductase inhibitors': ['agents, antidiabetic', 'antidiabetic agents', 'antidiabetic drugs', 'antidiabetics', 'drugs, antidiabetic'], 'fenamates': [], 'synthetic antispasmodics, amides with tertiary amines': [], 'mercurial products': [], 'combinations of penicillins, incl. beta-lactamase inhibitors': [], 'short-acting sulfonamides': [], 'long-acting sulfonamides': [], 'antimony compounds': [], 'various thyroid diagnostic radiopharmaceuticals': [], 'silver compounds': [], 'other quinolones': [], 'rauwolfia alkaloids': ['alkaloids, rauvolfia', 'alkaloids, rauwolfia', 'rauvolfia alkaloids', 'rauwolfia alkaloids'], 'streptogramins': [], 'tetrahydropyrimidine derivatives': [], 'tests for thyreoidea function': [], 'thiocarbamide derivatives': [], 'scilla glycosides': [], 'non-watersoluble x-ray contrast media': [], 'synthetic anticholinergics, quaternary ammonium compounds': [], 'cholinesterase reactivators': ['cholinesterase reactivators'], 'piperazine and derivatives': ['1,4 diazacyclohexane', '1,4 piperazine', '1,4-diazacyclohexane', '1,4-piperazine', 'piperazine'], 'guanidine derivatives': [], 'benzomorphan derivatives': [], 'other non-selective calcium channel blockers': [], 'enzyme preparations': [], 'penicillamine and similar agents': [], 'other intestinal adsorbents': [], 'mao inhibitors': ['inhibitor, monoamine oxidase', 'inhibitors, mao', 'inhibitors, monoamine oxidase', 'mao inhibitors', 'monoamine oxidase inhibitor', 'monoamine oxidase inhibitors'], 'aldehydes and derivatives': [], 'papaverine and derivatives': [], 'strophanthus glycosides': [], 'ethers chemically close to antihistamines': [], 'ethers, chemically close to antihistamines': [], 'protectives against uv-radiation for topical use': [], '2-amino-1-phenylethanol derivatives': [], 'other intestinal antiinfectives': [], 'morphinan derivatives': [], 'cannabinoid receptor agonists': ['activators, cannabinoid receptor', 'agonists, cannabinoid', 'agonists, cannabinoid receptor', 'cannabinoid agonists', 'cannabinoid receptor activators', 'cannabinoid receptor agonists', 'receptor activators, cannabinoid', 'receptor agonists, cannabinoid'], 'other selective calcium channel blockers with mainly vascular effects': [], 'tyrosine hydroxylase inhibitors': [], 'androgens and female sex hormones in combination with other drugs': [], 'methyldopa': [], 'carbamic acid esters': [], 'androgens for topical use': [], '5-androstanon (3) derivatives': [], 'mercurial diuretics': [], 'carbamates': [], 'secondary and tertiary amines': ['tofranil response'], 'combinations and complexes of aluminium, calcium and magnesium compounds': [], 'chlorine containing products': [], 'watersoluble, hepatotropic x-ray contrast media': [], 'other drugs for bile therapy': [], 'viscoelastic substances': [], 'other cicatrizants': [], 'other antimalarials': ['2,4-pyrimidinediamine, 5-(4-chlorophenyl)-6-ethyl-', 'pyrimethamine'], 'liver therapy': [], 'piperidinedione derivatives': [], 'carbohydrates': [], 'quinolone vasodilators': [], 'superparamagnetic contrast media': [], 'other drugs for obstructive airway diseases, inhalants': [], 'epoxides': ['gamma l glu l cys gly', 'gamma l glutamyl l cysteinylglycine', 'gamma-l-glu-l-cys-gly', 'gamma-l-glutamyl-l-cysteinylglycine', 'glutathione', 'glycine, n-(n-l-gamma-glutamyl-l-cysteinyl)-'], 'dichloroacetamide derivatives': [], 'other anxiolytics': ['buspirone hydrochloride', 'hydrochloride, buspirone'], 'aryloxyacetic acid derivatives': [], 'acridine derivatives': [], 'softeners, emollients': [], 'other insecticides and repellents': [], 'synthetic estrogens': [], 'other anticestodals': [], 'pyrethrines': [], 'actinomycines': [], 'other low-ceiling diuretics': [], 'oxazol, thiazine, and triazine derivatives': [], 'hydroxyquinoline derivatives': ['snomed ct: '], 'other sclerosing agents': [], 'adrenergic antagonists': [], 'ethers of tropine or tropine derivatives': [], 'thiazides and potassium in combination': [], 'ascorbic acid (vitamin c)': [], 'organic acids': [], 'antracen derivatives': [], 'aluminium compounds': [], 'preparations containing sulfur': [], 'other respiratory system diagnostic radiopharmaceuticals': [], 'other diagnostic radiopharmaceuticals for inflammation and infection detection': [], 'perchlorates': [], 'radiopharmaceutical activity': [], 'alkylating activity': [], 'gonadotropin releasing hormone receptor agonists': [], 'sodium-potassium exchanging atpase interactions': [], 'serotonin 5ht-3 antagonists': [], 'histamine h1 receptor antagonists': [], 'sodium channel interactions': [], 'unknown cellular or molecular interaction': [], 'partial opioid agonists': [], 'opioid antagonists': [], 'calcium channel antagonists': [], 'l-calcium channel receptor antagonists': [],'p-glycoprotein inhibitors': ['p-gp inhibitor', 'inhibitor, p-gp', 'inhibitors, p-glycoprotein', 'abcb1 inhibitor', 'inhibitor, abcb1', 'pgp inhibitors'], 'full opioid agonists': [], 'opioid mu-receptor agonists': [], 'dna polymerase inhibitors': [], 'cholinergic nicotinic agonists': [], 'norepinephrine uptake inhibitors': [], 'gaba a modulators': [], 'sigma-1 receptor agonists': [], 'uncompetitive nmda receptor antagonists': [], 'enzymes': [], 'h<n>2</n>-receptor antagonists': [], 'gaba a receptor interactions': [], 'gaba b receptor interactions': [], 'calcium chelating activity': [], 'demulcent activity': [], 'cholinergic muscarinic agonists': [], 'ion channel interactions': [], 'competitive cholinergic nicotinic antagonists': [], 'cholinergic neuromuscular nicotinic antagonists': [], 'electrolyte activity': [], 'acid-base activity': [], 'physiochemical activity': [], 'potassium channel interactions': [], 'sodium channel antagonists': [], 'neprilysin inhibitors': [], 'hormone receptor modulators': [], 'corticosteroid hormone receptor agonists': [], 'glucocorticoid receptor agonists': [], 'metal chelating activity': [], 'ergosterol synthesis inhibitors': [], 'hormone receptor agonists': [], 'topoisomerase 4 inhibitors': [], 'dna gyrase inhibitors': [], 'cystine disulfide reduction': [], 'magnetic resonance contrast activity': [], 'm2 protein inhibitors': [], 'somatostatin receptor agonists': [], 'pituitary hormone receptor agonists': [], 'growth hormone receptor agonists': [], 'enzymatic activity': [], 'platelet activating factor inhibitors': [], 'bone surface interactions': [], 'cholinergic muscarinic antagonists': [], 'chelating activity': [], 'serotonin 1b receptor agonists': [], 'serotonin 1d receptor agonists': [], 'selective serotonin (5ht<n>1</n>) agonists': [], 'serotonin 3 receptor antagonists': [], 'serotonin (5ht<n>3</n>) antagonists': [], 'enzyme activators': [], 'xanthine oxidase inhibitors': [], 'opioid agonists': [], 'dihydrofolate reductase inhibitors': [], 'insulin receptor agonists': [], 'tubulin interactions': [], 'prostaglandin receptor agonists': [], 'photoabsorption': [], 'topoisomerase 1 (top1) inhibitors': [], 'osmotic activity': [], 'enzyme inhibitors': [], 'p2y12 receptor antagonists': ['p2y12 inhibitors'], 'structural macromolecules': [], 'glycoprotein iib/iiia inhibitors': ['gpiib/iiia inhibitors', 'gpiib/iiia antagonists', 'glycoprotein iib/iiia antagonists', 'antagonists, gpiib/iiia', 'inhibitors, gpii/iiia'], 'nucleoside reverse transcriptase inhibitors': [], 'estrogen receptor agonists': [], 'gonadotropin releasing hormone receptor antagonists': ['gnrhr inhibitors', 'gonadotropin releasing hormone receptor inhibitors'], 'n-calcium channel receptor antagonists': [], 'peroxisome proliferator-activated receptor alpha agonists': [], 'peroxisome proliferator-activated receptor activity': [], 'serotonin 4 receptor antagonists': [], 'sclerosing activity': [], 'secretin receptor agonists': [], 'thrombin inhibitors': [], 'guanylate cyclase stimulators': [], 'enzyme interactions': [], 'folic acid metabolism inhibitors': [], 'thymidylate synthetase inhibitors': [], 'nmda receptor antagonists': [], 'glucan synthase inhibitors': [], 'monoamine oxidase-b inhibitors': [], 'biological macromolecular activity': [], 'vasopressin v1 receptor antagonists': [], 'vasopressin v2 receptor antagonists': [], 'plutonium chelating activity': [], 'glucagon-like peptide-1 (glp-1) agonists': [], 'other protein kinase inhibitors': [], 'partial cholinergic nicotinic agonists': [], 'renin inhibitors': [], 'neurokinin 1 antagonists': [], 'bcr-abl tyrosine kinase inhibitors': [], 'breast cancer resistance protein inhibitors': ['bcrp inhibitors', 'inhibitors, bcrp', 'bcrpi', 'bcrp', 'abcg2 inhibitors', 'inhibitors, abcg2'], 'phenylalanine hydroxylase activators': [], 'ugt1a3 inhibitors': [], 'thrombopoietin receptor agonists': [], 'ugt2b7 inhibitors': [], 'ugt1a9 inhibitors': [], 'ugt1a4 inhibitors': [], 'ugt2b15 inhibitors': [], 'organic anion transporting polypeptide 1b1 inhibitors': ['oatp1b1 inhibitors', 'inhibitors, oatp1b1', 'oatp-1b1 inhibitors', 'inhibitors, oatp-1b1'], 'ugt1a1 inhibitors': [], 'ugt1a6 inhibitors': [], 'iodine (<o>123</o>i) compounds': [], 'vascular endothelial growth factor receptor inhibitors': [], 'platelet-derived growth factor receptor inhibitors': [], 'igf type 1 receptor interactions': [], 'vitamin b1': [], 'transpeptidase inhibitors': [], 'antibody-receptor interactions': [], 'topoisomerase 2 inhibitors': [], 'beta lactamase inhibitors': [], 'rna synthetase inhibitors': [], 'cholinergic nicotinic antagonists': [], 'cell membrane fusion complex interactions': [], 'organic cation transporter 2 inhibitors': ['oct2 inhibitors', 'inhibitors, oct2', 'oct2i', 'oct inhibitors'], 'androgen receptor agonists': [], 'neurotransmitter transporter interactions': [], 'biological response modifiers': [], 'tissue plasminogen activators': [], 'plasminogen activators': [], 'transcription factor activity': [], 'acetylcholine transporter interactions': [], 'cd20-directed antibody interactions': [], 'keratinocyte growth factor receptor agonists': [], 'receptor interactions': [], 'receptor protein kinase interactions': [], 'receptor activity modifying protein agonists': [], 'interleukin 1 receptor antagonists': [], 'anthrax protective antigen-directed antibody interactions': [], 'tumor necrosis factor receptor interactions': [], 'cd30-directed antibody interactions': [], 'cytokine receptor superfamily interactions': [], 'vascular endothelial growth factor inhibitors': [], 'her2/neu/cerbb2 antagonists': [], 'tumor necrosis factor alpha receptor blocking activity': [], 'tumor necrosis factor receptor blocking activity': [], 'tumor necrosis factor alpha (tnf-alpha) inhibitors': [], 'pcsk9 inhibitors': [], 'positron emitting activity': [], 'janus-associated kinase (jak) inhibitors': [], 'technetium (<o>99m</o>tc) compounds': [], 'hcv ns3/4a protease inhibitors': [], 'chloride channel antagonists': [], 'integrase inhibitors': [], 'tyrosine kinase inhibitors': [], 'glucagon-like peptide-2 (glp-2) agonists': [], 'microsomal triglyceride transfer protein inhibitors': [], 'serotonin receptor interactions': [], 'other antipsychotics': [], 'multidrug and toxin extrusion transporter 1 inhibitors': ['mate1 inhibitors', 'inhibitors, mate1', 'mate1i', 'mate1'], 'protease-activated receptor-1 antagonists': [], 'smoothened receptor antagonists': [], 'hedgehog pathway inhibitors': [], 'glucosylceramide synthase inhibitors': [], 'growth hormone secretagogue receptor agonists': [], 'potassium ion binding activity': [], 'imaging contrast activity': [], 'x-ray contrast activity': [], 'hyperpolarization-activated cyclic nucleotide-gated channel antagonists': [], 'mitogen-activated protein kinase (mek) inhibitors': [], 'organic anion transporting polypeptide 1b3 inhibitors': ['oatp1b3 inhibitors', 'inhibitors, oatp1b3', 'oatp-1b3 inhibitors', 'inhibitors, oatp-1b3'], 'acidifying activity': [], 'potassium channel antagonists': [], 'monoamine oxidase-a inhibitors': [], 'epidermal growth factor receptor (egfr) tyrosine kinase inhibitors': [], 'vesicular monoamine transporter 2 inhibitors': [], 'rho kinase inhibitors': [], 'phosphate chelating activity': [], 'anaplastic lymphoma kinase (alk) inhibitors': [], 'viral envelope wrapping protein inhibitors': [], 'cyclin-dependent kinase (cdk) inhibitors': [], 'tryptophan hydroxylase inhibitors': [], 'poly (adp-ribose) polymerase (parp) inhibitors': [], 'atp-binding cassette (abc) transporter interactions': [], 'isocitrate dehydrogenase 2 inhibitors': [], 'iodine (<o>131</o>i) compounds': [], 'sphingosine 1-phosphate receptor modulators': [], 'dna terminase complex inhibitors': [], "bruton's tyrosine kinase (btk) inhibitors": [], 'polymerase acidic endonuclease inhibitors': [], 'tropomyosin receptor kinases inhibitors': [], 'chloride channel interactions': [], 'membrane transporter interactions': [], 'phosphatidylinositol-3-kinase (pi3k) inhibitors': [], 'noncompetitive nmda receptor antagonists': [], 'receptor tyrosine kinase inhibitors': [], 'antiporter interactions': [], 'platelet-derived growth factor alpha receptor inhibitors': [], 'adrenal steroid synthesis inhibitors': [], 'human epidermal growth factor receptor 2 (her2) tyrosine kinase inhibitors': [], 'udp glucuronosyltransferases inhibitors': [], 'programmed death ligand-1-directed antibody interactions': [], 'programmed death ligand-1 antagonists': [], 'methylating activity': [], 'increased calcium-sensing receptor sensitivity': [], 'immunologic factor interactions': [], 'virus neutralization': [], 'antigen neutralization': [], 'cd38-directed antibody interactions': [], 'kallikrein inhibitors': [], 'udp glucuronosyltransferases inducers': [], 'fusion protein interactions': [], 'gene transduction or replacement': [], 'para-aminobenzoic acid inhibitors': [], 'antibody-surface protein interactions': [], 'rna replicase inhibitors': [], 'potassium channel openers': [], 'interleukin-23 antagonists': [], 'ultrasound contrast activity': [], 'cd19 receptor interactions': [], 'urate transporter 1 inhibitors': [], 'combinations of various lipid modifying agents': [], 'organic anion transporting polypeptide 2b1 inhibitors': ['oatp2b1 inhibitors', 'inhibitors, oatp2b1', 'oatp-2b1 inhibitors', 'inhibitors, oatp-2b1'], 'cd86-directed antibody interactions': [], 'cd80-directed antibody interactions': [], 'amylase inhibitors': [], 'reduction activity': [], 'free radical scavenging activity': [], 'interleukin 6 receptor antagonists': [], 'mechanism of action (moa)': [], 'beta tubulin interactions': [], 'interleukin 2 receptor agonists': [], 'cd52-directed antibody interactions': [], 'retinoids for cancer treatment': [], 'dopamine receptor interactions': [], 'lipid modifying agents in combination with other drugs': [], 'g-protein-linked receptor interactions': [], 'vascular endothelial growth factor receptor (vegfr) tyrosine kinase inhibitors': [], 'dna methyltransferase inhibitors': [], 'angiotensin 2 type 1 receptor antagonists': [], 'interleukin 2 receptor-directed antibody interactions': [], 'interleukin 2 receptor antagonists': [], 'b lymphocyte stimulator-directed antibody interactions': [], 'interleukin 5 receptor alpha-directed antibody interactions': [], 'vascular endothelial growth factor-directed antibody interactions': [], 'binding activity': [], 'bacterial toxin neutralization': [], 'cd19-directed antibody interactions': [], 'cd3-directed antibody interactions': [], 'cd3 receptor agonists': [], 'ubiquitin ligase inhibitors': [], 'epoxide hydrolase inhibitors': [], 'interleukin 17 receptor a interactions': [], 'interleukin 17 receptor a antagonists': [], 'prostaglandin receptor antagonists': [], 'carbamoyl phosphate synthetase 1 activators': [], 'pituitary hormones receptor interactions': [], 'her1 antagonists': [], 'squalene monooxygenase inhibitors': [], 'p-glycoprotein interactions': ['p-gp substrates', 'substrate, p-gp', 'pgp substrates', 'p-glycoprotein substrates', 'substrates, p-glycoprotein', 'abcb1 substrates', 'substrates, abcb1'], 'bile-acid binding activity': [], 'organic cation transporter 1 inhibitors': ['oct1 inhibitors', 'inhibitors, oct1', 'oct1i', 'oct inhibitors'], 'ion exchange activity': [], 'vitamin b<n>12</n> (cyanocobalamin and analogues)': [], 'organic anion transporter 3 inhibitors': ['oat3 inhibitors', 'inhibitors, oat3', 'oat-3 inhibitors', 'inhibitors, oat-3'], 'organic anion transporter 1 inhibitors': ['oat1 inhibitors', 'inhibitors, oat1', 'oat-1 inhibitors', 'inhibitors, oat-1'], 'braf serine/threonine kinase inhibitors': [], 'b-raf serine-threonine kinase (braf) inhibitors': [], 'iron chelating activity': [], 'rank ligand blocking activity': [], 'glycine agonists': [], 'progestational hormone receptor agonists': [], 'acetyl aldehyde dehydrogenase inhibitors': [], 'interleukin 4 receptor alpha antagonists': [], 'decarboxylase inhibitors': [], 'slamf7-directed antibody interactions': [], 'fusion protein inhibitors': [], 'tumor necrosis factor beta receptor blocking activity': [], 'mtor inhibitors': [], 'mammalian target of rapamycin (mtor) kinase inhibitors': [], 'mineralocorticoid receptor agonists': [], 't-calcium channel receptor antagonists': [], 'dyes': [], 'alcohol dehydrogenase inhibitors': [], 'cd33-directed antibody interactions': [], 'glucagon receptor interactions': [], 'guanylate cyclase activators': [], 'antithrombin activators': [], 'quinine and derivatives': [], 'ribonucleotide reductase inhibitors': [], 'histamine receptor antagonists': [], 'cd4-directed antibody interactions': [], 'hiv 1 post-attachment fusion inhibitors': [], 'antibody interactions': [], 'prostacyclin receptor agonists': [], 'dipeptidase inhibitors': [], 'cd22-directed antibody interactions': [], 'ctla-4-directed antibody interactions': [], 'chloride channel activation potentiators': [], 'p-glycoprotein inducers': ['p-gp inducer', 'inducer, p-gp', 'inducers, p-glycoprotein', 'abcb1 inducer', 'inducer, abcb1'], 'interleukin-17a antagonists': [], 'e3 ubiquitin ligase inhibitors': [], 'thyroid hormone receptor agonists': [], 'serotonin transporter interactions': [], 'norepinephrine transporter interactions': [], 'lithium': [], 'interleukin-5 antagonists': [], 'oxidation-reduction activity': [], 'glucocorticoid receptor antagonists': [], 'progestational hormone receptor antagonists': [], 'integrin receptor antagonists': [], 'nucleoside synthesis inhibitors': [], 'hydroxyphenylpyruvate dioxygenase inhibitors': [], 'cellular structure molecule interactions': [], 'programmed death receptor-1-directed antibody interactions': [], 'sigma-1 receptor antagonists': [], 'farnesoid x receptor agonists': [], 'ige-directed antibody interactions': [], 'lipase inhibitors': [], 'histone deacetylase (hdac) inhibitors': [], 'growth hormone receptor antagonists': [], 'ampa receptor antagonists': [], 'vitamin k epoxide reductase inhibitors': [], 'calcium channel interactions': [], 'organic anion transporter interactions': ['oat substrates', 'substrates, oat', 'organic anion transporter substrates'], 'uncouplers': [], 'thyroid hormone synthesis inhibitors': [], 'heparin binding activity': [], 'vegfr2 inhibitors': [], 'adenosine receptor agonists': [], 'interleukin-6 antagonists': [], 'cholinergic neuromuscular nicotinic agonists': [], 'dihydroorotate dehydrogenase inhibitors': [], 'plasmin inhibitors': [], 'hypothalamic hormone receptor agonists': [], 'selective progesterone receptor modulators': [], 'interleukin-12 antagonists': [], '5-lipoxygenase inhibitors': [], 'vitamin k inhibitors': [], 'alkalinizing activity': [], 'peroxisome proliferator-activated receptor gamma agonists': [], 'noncompetitive cholinergic nicotinic antagonists': [], 'platelet-derived growth factor beta receptor inhibitors': [], 'technetium (<o>99m</o>tc), particles and colloids': [], 'immunologic and biological factor interactions': [], 'lead chelating activity': [], 'surfactant activity': [], 'ammonium ion binding activity': [], 'gaba b modulators': [], 'ultrasound contrast media': [], 'competitive opioid antagonists': [], 'lysophospholipid receptor interactions': [], 'catecholamine synthesis inhibitors': [], 'melanin synthesis inhibitors': [], 'stool bulking activity': [], 'serotonin 2c receptor agonists': [], 'lymphocyte function-associated antigen-1 antagonists': [], 'ionotropic glutamate receptor antagonists': [], 'ethers': [], 'glycolipid disialoganglioside-directed antibody interactions': [], 'digoxin binding activity': [], 'tissue plasminogen activator inhibitors': [], 'dopa decarboxylase inhibitors': [], 'adrenergic receptor interactions': [], 'steroid receptor antagonists': [], 'opioid receptor interactions': [], 'urease inhibitors': [], 'hypothalamic hormone receptor antagonists': [], 'parathormone receptor agonists': [], 'potassium ion exchange activity': [], 'abortifacient agents': [], 'abortifacient agents, nonsteroidal': ['abortifacient agents, non steroidal', 'abortifacient agents, non-steroidal', 'agents, non-steroidal abortifacient', 'agents, nonsteroidal abortifacient', 'non-steroidal abortifacient agents', 'nonsteroidal abortifacient agents'], 'abortifacient agents, steroidal': ['abortifacients, steroid', 'agents, steroidal abortifacient', 'steroid abortifacients', 'steroidal abortifacient agents'], 'acaricides': [], 'acetaldehyde dehydrogenase inhibitors': ['acetaldehyde dehydrogenase antagonists', 'aldehyde dehydrogenase blockers', 'dehydrogenase antagonists, acetaldehyde', 'dehydrogenase blockers, aldehyde', 'dehydrogenase inhibitors, acetaldehyde'], 'acid sensing ion channel blockers': ['acid sensing ion channel inhibitors', 'antagonists, asic channel', 'asic blockers', 'asic channel antagonists', 'asic channel blockers', 'asic inhibitors', 'blockers, asic channel', 'channel antagonists, asic', 'channel blockers, asic', 'proton gated sodium channel blockers', 'proton-gated sodium channel blockers'], 'action diuretics': [], 'adenosine a1 receptor antagonists': [], 'adenosine a2 receptor agonists': ['adenosine a2 receptor agonists'], 'adenosine a2 receptor antagonists': [], 'adenosine a3 receptor antagonists': [], 'adenylyl cyclase inhibitors': ['adenylate cyclase inhibitors', 'cyclase inhibitors, adenylate', 'cyclase inhibitors, adenylyl', 'inhibitors, adenylate cyclase', 'inhibitors, adenylyl cyclase'], 'adhesives': [], 'adjuvants, anesthesia': ['adjuvants, anesthetic', 'anesthesia adjuvants', 'anesthetic adjuvants'], 'adjuvants, pharmaceutic': [], 'adrenal cortex hormones': ['adrenal carcinoma', 'adrenal gland carinoma'], 'adrenergic agents': [], 'adrenergic beta-3 receptor antagonists': ['adrenergic beta 3 antagonists', 'adrenergic beta 3 receptor antagonists', 'adrenergic beta 3 receptor blockers', 'adrenergic beta-3 antagonists', 'adrenergic beta-3 receptor blockers', 'antagonists, adrenergic beta-3', 'antagonists, beta3-adrenergic', 'beta 3 adrenergic blocking agents', 'beta-3 adrenergic blocking agents', 'beta-3 antagonists, adrenergic', 'beta3 adrenergic antagonists', 'beta3-adrenergic antagonists'], 'adrenergic uptake inhibitors': [], 'aerosol propellants': [], 'affinity labels': [], 'agglutinins': ['chronic ataxic neuropathy ophthalmoplegia m-protein agglutination disialosyl antibodies syndrome', 'chronic sensory ataxic neuropathy with anti-disialosyl antibodies'], 'aggregation inhibitors': ['aggregation inhibitors, platelet', 'antiaggregants, blood platelet', 'antiaggregants, platelet', 'blood platelet aggregation inhibitors', 'blood platelet antiaggregants', 'inhibitors, platelet aggregation', 'platelet aggregation inhibitors', 'platelet antiaggregants'], 'agrochemicals': [], 'air pollutants': [], 'air pollutants, occupational': [], 'air pollutants, radioactive': [], 'alcohol deterrents': ['alcohol deterrents', 'deterrents, alcohol'], 'alkylating agents': [], 'amebicides': ['amebicides', 'amoebicides'], 'anabolic agents': ['hepatis, peliosis', 'peliosis hepatis'], 'analgesics': [], 'analgesics, non-narcotic': ['analgesics, non narcotic', 'analgesics, non-narcotic', 'analgesics, non-opioid', 'analgesics, nonnarcotic', 'analgesics, nonopioid', 'non opioid analgesics', 'non-narcotic analgesics', 'non-opioid analgesics', 'nonnarcotic analgesics', 'nonopioid analgesics'], 'analgesics, opioid': ['opioid analgesics'], 'androgen antagonists': ['androgen antagonists', 'antagonists, androgen', 'antiandrogens'], 'androgens': [], 'anesthetics': [], 'anesthetics, combined': ['combined anesthetics'], 'anesthetics, dissociative': ['dissociative anesthetics'], 'anesthetics, inhalation': [], 'anesthetics, intravenous': ['anesthetics, intravenous', 'intravenous anesthetics'], 'angiogenesis inducing agents': ['agents, angiogenesis inducing', 'agents, angiogenesis stimulating', 'angiogenesis inducers', 'angiogenesis stimulating agents', 'angiogenesis stimulators', 'inducers, angiogenesis', 'inducing agents, angiogenesis', 'stimulating agents, angiogenesis', 'stimulators, angiogenesis'], 'angiogenesis inhibitors': [], 'angiogenesis modulating agents': ['angiogenesis modulators', 'modulators, angiogenesis'], 'angiotensin ii type 1 receptor blockers': [], 'angiotensin receptor antagonists': [], 'anion exchange resins': [], 'antacids': [], 'anthelmintics': [], 'anti-allergic agents': ['agents, anti-allergic', 'agents, antiallergic', 'agents, antiallergy', 'anti allergic agents', 'anti allergics', 'anti allergy drugs', 'anti-allergics', 'anti-allergy drugs', 'antiallergic agents', 'antiallergic drugs', 'antiallergics', 'antiallergy agents', 'drugs, anti-allergy', 'drugs, antiallergic'], 'anti-anxiety agents': ['agents, anti-anxiety', 'agents, anxiolytic', 'agents, minor tranquilizing', 'agents, minor tranquillizing', 'anti anxiety agents', 'anti anxiety drugs', 'anti-anxiety agents', 'anti-anxiety drugs', 'anxiolytic agents', 'anxiolytics', 'drugs, anti-anxiety', 'minor tranquilizing agents', 'minor tranquillizing agents', 'tranquilizing agents, minor', 'tranquillizing agents, minor'], 'anti-arrhythmia agents': ['agents, anti-arrhythmia', 'agents, antiarrhythmia', 'anti arrhythmia agents', 'anti arrhythmia drugs', 'anti arrhythmics', 'anti-arrhythmia agents', 'anti-arrhythmia drugs', 'anti-arrhythmics', 'antiarrhythmia agents', 'antiarrhythmia drugs', 'antiarrhythmic drugs', 'drugs, anti-arrhythmia', 'drugs, antiarrhythmia', 'drugs, antiarrhythmic'], 'anti-arrhythmia agentse': ['agents, anti-arrhythmia', 'agents, antiarrhythmia', 'anti arrhythmia agents', 'anti arrhythmia drugs', 'anti arrhythmics', 'anti-arrhythmia agents', 'anti-arrhythmia drugs', 'anti-arrhythmics', 'antiarrhythmia agents', 'antiarrhythmia drugs', 'antiarrhythmic drugs', 'drugs, anti-arrhythmia', 'drugs, antiarrhythmia', 'drugs, antiarrhythmic'], 'anti-asthmatic agents': ['agents, anti-asthmatic', 'agents, antiasthmatic', 'anti asthmatic agents', 'anti asthmatic drugs', 'anti asthmatics', 'anti-asthmatic agents', 'anti-asthmatic drugs', 'anti-asthmatics', 'antiasthmatic agents', 'antiasthmatic drugs', 'antiasthmatics', 'drugs, anti-asthmatic', 'drugs, antiasthmatic'], 'anti-bacterial agents': [], 'anti-dyskinesia agents': ['agents, anti-dyskinesia', 'agents, movement disorder', 'anti dyskinesia agents', 'disorder agents, movement', 'movement disorder agents'], 'anti-hiv agents': ['agents, anti-aids', 'agents, anti-hiv', 'aids drugs', 'anti aids agents', 'anti aids drugs', 'anti hiv agents', 'anti hiv drugs', 'anti-aids agents', 'anti-aids drugs', 'anti-hiv agents', 'anti-hiv drugs', 'drugs, aids', 'drugs, anti-aids', 'drugs, anti-hiv'], 'anti-infective agents, urinary': ['agents, urinary anti-infective', 'agents, urinary antiinfective', 'anti infective agents, urinary', 'anti-infective agents, urinary', 'antiinfective agents, urinary', 'urinary anti infective agents', 'urinary anti-infective agents', 'urinary antiinfective agents'], 'anti-inflammatory agents': [], 'anti-inflammatory agents, non-steroidal (nsaids)': ['anti inflammatory agents, nonsteroidal', 'anti-inflammatory agents, non-steroidal', 'antiinflammatory agents, non steroidal', 'antiinflammatory agents, nonsteroidal', 'non steroidal anti inflammatory agents', 'non-steroidal anti-inflammatory agents', 'nonsteroidal anti inflammatory agents', 'nonsteroidal anti-inflammatory agents', 'nonsteroidal antiinflammatory agents', 'nsaids'], 'anti-obesity agents': ['agents, anti-obesity', 'agents, antiobesity', 'anti obesity agents', 'anti obesity drugs', 'anti-obesity drugs', 'antiobesity agents', 'antiobesity drugs', 'drugs, anti-obesity', 'drugs, antiobesity'], 'anti-retroviral agents': ['agents, anti-retroviral', 'agents, antiretroviral', 'anti retroviral agents', 'anti-retroviral agents', 'antiretroviral agents'], 'anti-ulcer agents': ['agents, anti-ulcer', 'anti ulcer agents', 'anti ulcer drugs', 'anti-ulcer agents', 'anti-ulcer drugs', 'drugs, anti-ulcer'], 'antibiotics, antineoplastic': [], 'antibiotics, antitubercular': [], 'anticarcinogenic agents': ['agents, anti-carcinogenic', 'agents, anticarcinogenic', 'anti carcinogenic agents', 'anti carcinogenic drugs', 'anti-carcinogenic agents', 'anti-carcinogenic drugs', 'anticarcinogenic drugs', 'anticarcinogens', 'drugs, anti-carcinogenic', 'drugs, anticarcinogenic'], 'anticestodal agents': ['agents, anticestodal'], 'anticholesteremic agents': ['agents, anticholesteremic', 'anticholesteremic drugs', 'anticholesteremics', 'cholesterol inhibitors', 'drugs, anticholesteremic', 'inhibitors, cholesterol', 'cholesterol lowering agents'], 'anticoagulants': [], 'anticonvulsants': ['dee14', 'developmental and epileptic encephalopathy 14'], 'antidepressive agents': [], 'antidepressive agents, second-generation': ['agents, second-generation antidepressive', 'antidepressants, atypical', 'antidepressive agents, second generation', 'antidepressive drugs, second generation', 'antidepressive drugs, second-generation', 'atypical antidepressants', 'drugs, second-generation antidepressive', 'second generation antidepressive agents', 'second-generation antidepressive agents', 'second-generation antidepressive drugs'], 'antidepressive agents, tricyclic': [], 'antidiarrheals': [], 'antidiuretic agents': ['agents, anti-diuretic', 'agents, antidiuretic', 'anti diuretic agents', 'anti-diuretic agents'], 'antiemetics': [], 'antifibrinolytic agents': ['antifibrinolysins', 'antifibrinolytic agents', 'antifibrinolytics'], 'antifoaming agents': ['agents, antifoaming'], 'antifungal agents': [], 'antihypertensive agents': ['antihypertensive medicinal products'], 'antilipemic agents': ['agents, antilipemic', 'agents, hypolipidemic', 'antihyperlipemics', 'antihyperlipidemics', 'antilipemic agents', 'antilipemic drugs', 'antilipemics', 'drugs, antilipemic', 'drugs, hypolipidemic', 'hypolipidemic agents', 'hypolipidemic drugs'], 'antimalarials': ['antimalarial medicinal products'], 'antimanic agents': ['antimanic medicinal products'], 'antimetabolites': ['antimetabolites medicinal products'], 'antimetabolites, antineoplastic': ['antimetabolites, antineoplastic'], 'antimitotic agents': [], 'antimutagenic agents': [], 'antinematodal agents': ['agents, antinematodal', 'antinematodal agents', 'antinematodal drugs', 'antinematodals', 'drugs, antinematodal', 'nematocides'], 'antineoplastic agents': ['antineoplastic medicinal products'], 'antineoplastic agents, alkylating': ['alkylating agents, antineoplastic', 'alkylating antineoplastic agents', 'alkylating antineoplastic drugs', 'alkylating antineoplastics', 'alkylating drugs, antineoplastic', 'antineoplastic agents, alkylating', 'antineoplastic alkylating agents', 'antineoplastic alkylating drugs', 'antineoplastic drugs, alkylating', 'antineoplastics, alkylating', 'drugs, antineoplastic alkylating'], 'antineoplastic agents, hormonal': ['agents, antineoplastic hormonal', 'antineoplastic agents, hormonal', 'antineoplastic drugs, hormonal', 'antineoplastic hormonal agents', 'antineoplastic hormonal drugs', 'antineoplastics, hormonal', 'drugs, antineoplastic hormonal', 'hormonal agents, antineoplastic', 'hormonal antineoplastic agents', 'hormonal antineoplastic drugs', 'hormonal antineoplastics', 'hormonal drugs, antineoplastic'], 'antineoplastic agents, immunological': ['immunological antineoplastic agents'], 'antineoplastic agents, phytogenic': ['agents, phytogenic antineoplastic', 'antineoplastics, botanical', 'antineoplastics, phytogenic', 'botanical antineoplastics', 'phytogenic antineoplastic agents', 'phytogenic antineoplastics'], 'antioxidants': [], 'antiparasitic agents': ['agents, antiparasitic', 'antiparasitic agents', 'antiparasitic drugs', 'antiparasitics', 'drugs, antiparasitic', 'parasiticides'], 'antiparkinson agents': [], 'antiperspirants': [], 'antiplatyhelmintic agents': ['agents, antiplatyhelmintic', 'antiplatyhelmintic drugs', 'antiplatyhelmintics', 'drugs, antiplatyhelmintic'], 'antiprotozoal agents': [], 'antipruritics': ['agents, antipruritic', 'antipruritic drugs', 'antipruritics', 'drugs, antipruritic'], 'antipyretics': ['agents, antifebrile', 'agents, antipyretic', 'antipyretic agents', 'antipyretics'], 'antirheumatic agents': [], 'antisickling agents': ['agents, antisickling'], 'antispermatogenic agents': ['agents, antispermatogenic'], 'antithyroid agents': [], 'antitreponemal agents': ['agents, antitreponemal', 'antitreponemal agents', 'antitreponemal drugs', 'drugs, antitreponemal'], 'antitrichomonal agents': ['agents, antitrichomonal', 'antitrichomonal agents', 'antitrichomonal drugs', 'antitrichomonals', 'drugs, antitrichomonal', 'trichomonicides'], 'antitubercular agents': [], 'antitussive agents': ['agents, antitussive', 'antitussive agents', 'antitussive drugs', 'antitussives', 'cough suppressants', 'drugs, antitussive', 'suppressants, cough'], 'antiviral agents': ['addyi response'], 'any of several brassica species that are commonly called mustard. brassica alba is white mustard, b. juncea is brown or chinese mustard, and b. nigra is black, brown, or red mustard': [], 'appetite depressants': ['agents, anorectic', 'anorectic agents', 'anorectics', 'anorexic drugs', 'anorexigenic drugs', 'appetite depressants', 'appetite depressing drugs', 'appetite suppressant drugs', 'appetite suppressants', 'appetite-depressing drugs', 'appetite-suppressant drugs', 'depressants, appetite', 'drugs, anorexic', 'drugs, anorexigenic', 'drugs, appetite-depressing', 'drugs, appetite-suppressant', 'suppressants, appetite'], 'appetite stimulants': ['appetite stimulating drugs', 'appetite-stimulating drugs', 'drugs, appetite-stimulating', 'stimulants, appetite'], 'aromatic amino acid decarboxylase inhibitors': ['aromatic l amino acid decarboxylase inihbitors', 'aromatic-l-amino-acid decarboxylase inihbitors', 'decarboxylase inihbitors, aromatic-l-amino-acid', 'inihbitors, aromatic-l-amino-acid decarboxylase'], 'astringents': [], 'autonomic agents': ['agents, autonomic', 'autonomic agents', 'autonomic drugs', 'drugs, autonomic'], 'aversive agents': ['aversion agents', 'taste deterrents'], 'biocompatible materials': [], 'bleaching agents': [], 'blood substitutes': [], 'bone cements': [], 'bone density conservation agents': [], 'bradykinin b1 receptor antagonists': ['antagonists, bradykinin b1', 'bradykinin b1 antagonists', 'bradykinin b1 receptor blockers', 'bradykinin b1 receptor inhibitors'], 'bradykinin receptor antagonists': ['antagonists, bradykinin', 'bradykinin antagonists', 'bradykinin receptor antagonists', 'bradykinin receptor blockers', 'bradykinin receptor inhibitors', 'inhibitors, bradykinin receptor', 'receptor antagonists, bradykinin', 'receptor blockers, bradykinin', 'receptor inhibitors, bradykinin'], 'bronchoconstrictor agents': ['agents, bronchial-constricting', 'agents, bronchoconstrictor', 'bronchial constricting agents', 'bronchial-constricting agents', 'bronchoconstrictors'], 'bronchodilator agents': ['agents, bronchial-dilating', 'agents, bronchodilator', 'bronchial dilating agents', 'bronchial-dilating agents', 'bronchodilator agents', 'bronchodilators'], 'buffers': [], 'calcimimetic agents': ['agents, calcimimetic', 'calcimimetic agents'], 'calcium channel agonists': [], 'calcium channel blockers': ['calcium channel antagonists'], 'calcium chelating agents': ['agents, calcium chelating', 'calcium chelators', 'chelating agents, calcium', 'chelators, calcium'], 'calcium ionophores': [], 'calcium-regulating hormones and agents': ['calcium regulating hormones and agents'], 'cannabinoid receptor modulators': ['modulators, cannabinoid receptor', 'receptor modulators, cannabinoid'], 'carcinogens': [], 'carcinogens, environmental': [], 'cardiotonic agents': [], 'cardiovascular agents': ['agents, cardiovascular', 'cardioactive drugs', 'cardiovascular agents', 'cardiovascular drugs', 'drugs, cardioactive', 'drugs, cardiovascular'], 'cariogenic agents': [], 'cariostatic agents': ['agent, cariostatic', 'agents, cariostatic', 'cariostatic agent'], 'caspase inhibitors': ['blockers, caspase', 'caspase blockers', 'caspase inhibitors', 'inhibitors, caspase'], 'cathartics': [], 'cation exchange resins': [], 'caustics': ['hpo:'], 'central nervous system agents': ['cns medicinal products', 'cns agents'], 'central nervous system depressants': ['central nervous system depressants', 'depressants, cns'], 'central nervous system stimulants': [], 'chelating agents': [], 'chemical warfare agents': [], 'chemosterilants': [], 'cholagogues and choleretics': [], 'cholinergic agents': [], 'chromogenic compounds': [], 'coagulants': [], 'coccidiostats': ['coccidiostats'], 'colloids': [], 'coloring agents': [], 'contraceptive agents': ['breast carcinoma', 'breast carcinomas', 'carcinoma, breast', 'carcinomas, breast'], 'contraceptive agents, female': [], 'contraceptive agents, male': [], 'contraceptives, oral': [], 'contraceptives, oral, combined': ['combined oral contraceptives', 'contraceptive agents, female, combined', 'contraceptives, combined oral', 'contraceptives, oral, combined', 'oral contraceptives, combined'], 'contraceptives, oral, hormonal': ['contraceptive agents, oral, hormonal', 'contraceptives, hormonal oral', 'hormonal oral contraceptive agents', 'hormonal oral contraceptives', 'oral contraceptive agents, hormonal', 'oral contraceptives, hormonal'], 'contraceptives, oral, sequential': ['contraceptive agents, female sequential', 'contraceptive agents, oral, sequential', 'contraceptives, sequential oral', 'oral contraceptive agents, sequential', 'oral contraceptives, sequential', 'sequential oral contraceptive agents', 'sequential oral contraceptives'], 'contraceptives, oral, synthetic': [], 'contraceptives, postcoital': [], 'contraceptives, postcoital, hormonal': [], 'contraceptives, postcoital, synthetic': ['contraceptive agents, postcoital, synthetic', 'contraceptives, synthetic postcoital', 'postcoital contraceptive agents, synthetic', 'postcoital contraceptives, synthetic', 'synthetic postcoital contraceptive agents', 'synthetic postcoital contraceptives'], 'contrast media': ['hpo:'], 'convulsants': [], 'cosmetics': [], 'cross-linking reagents': [], 'cryoprotective agents': ['agents, cryoprotective', 'cryoprotective agents'], 'culture media': ['hpo:'], 'cysteine proteinase inhibitors': [], 'cystine depleting agents': [], 'cytochrome p-450 cyp1a2 inducers': ['cyp1a2 inducers', 'cyp1a inducers', 'cyp1a2 inducers, p450', 'cytochrome p 450 cyp1a2 inducers', 'inducers, cyp1a2', 'inducers, p450 cyp1a2', 'p450 cyp1a2 inducers'], 'cytochrome p-450 cyp1a2 inhibitors': ['cyp1a2 substrates','cyp1a2 inhibitors', 'cyp1a inhibitors', 'cyp1a2 inhibitors, p450', 'cytochrome p 450 cyp1a2 inhibitors', 'inhibitors, cyp1a2', 'inhibitors, p450 cyp1a2', 'p450 cyp1a2 inhibitors', 'cyp1a2 subsrates'], 'cytochrome p-450 cyp2b6 inducers': ['cyp2b6 inducers', 'cyp2b6 inducers, p450', 'cytochrome p 450 cyp2b6 inducers', 'inducers, cyp2b6', 'inducers, p450 cyp2b6', 'p450 cyp2b6 inducers'], 'cytochrome p-450 cyp2b6 inhibitors': ['cyp2b6 substrates', 'cyp2b6 inhibitors', 'cyp2b6 inhibitors, p450', 'cytochrome p 450 cyp2b6 inhibitors', 'inhibitors, cyp2b6', 'inhibitors, p450 cyp2b6', 'p450 cyp2b6 inhibitors'], 'cytochrome p-450 cyp2c19 inducers': ['cyp2c19 inducers', 'cyp2c19 inducers, p450', 'cytochrome p 450 cyp2c19 inducers', 'cytochrome p-450 cyp2c19 inducers', 'inducers, cyp2c19', 'inducers, p450 cyp2c19', 'p450 cyp2c19 inducers'], 'cytochrome p-450 cyp2c19 inhibitors': ['cyp2c19 substrates','cyp2c19 inhibitors', 'cytochrome p 450 cyp2c19 inhibitors', 'cytochrome p-450 cyp2c19 inhibitors', 'inhibitors, cyp2c19', 'inhibitors, p450 cyp2c19', 'p450 cyp2c19 inhibitors'], 'cytochrome p-450 cyp2c8 inducers': ['cyp2c8 inducers', 'cyp2c8 inducers, p450', 'cytochrome p 450 cyp2c8 inducers', 'cytochrome p-450 cyp2c8 inducers', 'inducers, cyp2c8', 'inducers, p450 cyp2c8', 'p450 cyp2c8 inducers'], 'cytochrome p-450 cyp2c8 inhibitors': ['cyp2c8 substrates','cyp2c8 inhibitors', 'cytochrome p 450 cyp2c8 inhibitors', 'inhibitors, cyp2c8', 'inhibition, cyp2c8', 'inhibitors, p450 cyp2c8', 'p450 cyp2c8 inhibitors'], 'cytochrome p-450 cyp2c9 inducers': ['cyp2c9 inducers', 'cyp2c9 inducers, p450', 'cytochrome p 450 cyp2c9 inducers', 'cytochrome p-450 cyp2c9 inducers', 'inducers, cyp2c9', 'inducers, p450 cyp2c9', 'p450 cyp2c9 inducers'], 'cytochrome p-450 cyp2c9 inhibitors': ['cyp2c9 substrates','cyp2c9 inhibitors', 'cyp2c9 inhibitors, p450', 'cytochrome p 450 cyp2c9 inhibitors', 'inhibitors, cyp2c9', 'inhibitors, p450 cyp2c9', 'p450 cyp2c9 inhibitors'], 'cytochrome p-450 cyp2d6 inhibitors': ['cyp2d6 substrates','cyp2d6 inhibitors', 'cyp2d6 inhibitors, p450', 'cytochrome p 450 cyp2d6 inhibitors', 'inhibitors, cyp2d6', 'inhibitors, p450 cyp2d6', 'p450 cyp2d6 inhibitors'], 'cytochrome p-450 cyp2e1 inhibitors': ['cyp2e1 substrates','cyp2e1 inhibitors', 'cyp2e1 inhibitors, p450', 'cytochrome p 450 cyp2e1 inhibitors', 'inhibitors, cyp2e1', 'inhibitors, p450 cyp2e1', 'p450 cyp2e1 inhibitors'], 'cytochrome p-450 cyp3a inducers': ['cyp3a inducers', 'cyp3a inducers, p450', 'cytochrome p 450 cyp3a inducers', 'inducers, cyp3a', 'inducers, p450 cyp3a', 'p450 cyp3a inducers', 'cyp3a4 inducers', 'cyp3a4 inducers, p450', 'cytochrome p 450 cyp3a4 inducers', 'inducers, cyp3a4', 'inducers, p450 cyp3a4', 'p450 cyp3a4 inducers'], 'cytochrome p-450 cyp3a inhibitors': ['cyp3a substrates','cyp3a inhibitors', 'cyp3a inhibitors, p450', 'cytochrome p 450 cyp3a inhibitors', 'inhibitors, cyp3a', 'inhibitors, p450 cyp3a', 'p450 cyp3a inhibitors', 'cyp3a4 inhibitors', 'cyp3a4 inhibitors, p450', 'cytochrome p 450 cyp3a4 inhibitors', 'inhibitors, cyp3a4', 'inhibitors, p450 cyp3a4', 'p450 cyp3a4 inhibitors'], 'cytochrome p-450 enzyme inhibitors': ['cytochrome p 450 enzyme inhibitors', 'cytochrome p 450 inhibitors', 'cytochrome p-450 inhibitors', 'enzyme inhibitors, p-450', 'enzyme inhibitors, p450', 'cyp450', 'inhibitors, cytochrome p-450', 'inhibitors, p-450 enzyme', 'inhibitors, p450 enzyme', 'p 450 enzyme inhibitors', 'p-450 enzyme inhibitors', 'p-450 inhibitors, cytochrome', 'p450 enzyme inhibitors'], 'cytostatic agents': ['cytostatic drugs', 'cytostatics'], 'cytotoxins': [], 'defoliants, chemical': [], 'delayed-action preparations': ['delayed action preparations', 'delayed-action preparations'], 'dental disinfectants': ['disinfectants, dental'], 'dental materials': [], 'dentifrices': ['alumina, hydrated', 'aluminum hydroxide', 'aluminum hydroxide (al(oh)3)', 'hydrated alumina', 'hydroxide, aluminum'], 'dermatologic agents': ['agent, dermatological', 'agents, dermatologic', 'agents, dermatological', 'dermatologic agent', 'dermatologic agents', 'dermatological agent', 'dermatological agents'], 'designer drug': ['kalydeco response'], 'detergents': [], 'diagnostic uses of chemicals': [], 'dialysis solutions': ['dialysates', 'dialysis solutions', 'dialyzates', 'solutions, dialysis'], 'disinfectants': [], 'diuretics': [], 'diuretics, osmotic': ['diuretics, osmotic', 'osmotic diuretics'], 'diuretics, potassium sparing': ['diuretics, potassium sparing', 'potassium sparing diuretics'], 'dna, antisense': [], 'dopamine agents': ['agents, dopamine', 'dopamine agents', 'dopamine drugs', 'dopaminergic agents', 'dopaminergic drugs', 'drugs, dopamine', 'drugs, dopaminergic'], 'drug carriers': [], 'emetics': [], 'emollients': [], 'emulsions': [], 'endocrine disruptors': [], 'endothelin a receptor antagonists': ['antagonists, endothelin a receptor', 'blockers, endothelin a receptor', 'endothelin a receptor antagonists', 'endothelin a receptor blockers', 'endothelin type a receptor antagonists'], 'endothelin b receptor antagonists': ['antagonists, endothelin b receptor', 'blockers, endothelin b receptor', 'endothelin b receptor blockers'], 'endothelium-dependent relaxing factors': ['endogenous nitrate vasodilator', 'endothelium-derived nitric oxide', 'mononitrogen monoxide', 'monoxide, mononitrogen', 'monoxide, nitrogen', 'nitrate vasodilator, endogenous', 'nitric oxide', 'nitric oxide, endothelium derived', 'nitric oxide, endothelium-derived', 'nitrogen monoxide', 'nitrogen oxide (no)', 'oxide, nitric', 'vasodilator, endogenous nitrate'], 'environmental pollutants': [], 'enzyme inhibitor (angiotensin-converting)': [], 'epithelial sodium channel blockers': [], 'estrogen receptor modulators': [], 'estrogens, non-steroidal': ['estrogens, non steroidal', 'estrogens, non-steroidal', 'estrogens, nonsteroidal', 'non-steroidal estrogens', 'nonsteroidal estrogens'], 'excipients': ['glycol, polyethylene', 'glycols, polyethylene', 'macrogol', 'macrogols', 'oxide, polyethylene', 'oxides, polyethylene', 'polyethylene glycol', 'polyethylene glycols', 'polyethylene oxide', 'polyethylene oxides', 'polyethyleneoxide', 'polyethyleneoxides', 'polyglycol', 'polyglycols', 'polyoxyethylene', 'polyoxyethylenes'], 'excitatory amino acid agents': ['agents, eaa', 'agents, excitatory amino acid', 'amino acid agents, excitatory', 'amino acids, excitatory, agents', 'eaa agents'], 'excitatory amino acid agonists': [], 'excitatory amino acid antagonists': ['amino acid antagonists, excitatory', 'amino acids, excitatory, antagonists', 'antagonists, eaa', 'antagonists, excitatory amino acid', 'antagonists, glutamate', 'antagonists, glutamate receptor', 'eaa antagonists', 'excitatory amino acid antagonists', 'glutamate antagonists', 'glutamate receptor antagonists', 'receptor antagonists, glutamate'], 'explosive agents': [], 'fat emulsions, intravenous': ['emulsions, intravenous fat', 'emulsions, intravenous lipid', 'fat emulsions, intravenous', 'intravenous fat emulsions', 'intravenous lipid emulsions', 'lipid emulsions, intravenous'], 'fat substitutes': [], 'fatty acid synthesis inhibitors': [], 'fertility agents': [], 'fertility agents, female': [], 'fertility agents, male': [], 'fertilizers': ['sulfuric acid'], 'fibrin modulating agents': ['fibrin modulators'], 'fibrinolytic agents': ['fibrinolytic agents', 'fibrinolytic drugs', 'thrombolytic agents', 'thrombolytic drugs'], 'filaricides': [], 'fixatives': [], 'flame retardants': [], 'flavoring agents': ['glutamate, sodium', 'l-glutamic acid, monosodium salt', 'monosodium glutamate', 'msg', 'sodium glutamate'], 'fluorescent dyes': [], 'folic acid antagonists': [], 'food additives': [], 'food coloring agents': [], 'food preservatives': ['monosodium citrate', 'sodium citrate', 'sodium citrate monobasic'], 'free radical scavengers': [], 'fungicides, industrial': ['agents, antifungal', 'antifungal agents', 'fungicides, therapeutic', 'therapeutic fungicides'], 'gaba agents': ['acid agents, gamma-aminobutyric', 'agent, gabaergic', 'agents, gaba', 'agents, gabaergic', 'agents, gamma-aminobutyric acid', 'gabaergic agent', 'gabaergic agents', 'gamma aminobutyric acid agents', 'gamma-aminobutyric acid agents'], 'gaba agonists': ['acid agonist, gamma-aminobutyric', 'acid agonists, gamma-aminobutyric', 'agonist, gaba receptor', 'agonist, gamma-aminobutyric acid', 'agonists, gaba', 'agonists, gaba receptor', 'agonists, gamma-aminobutyric acid', 'gaba agonist', 'gaba agonists', 'gaba receptor agonist', 'gaba receptor agonists', 'gamma aminobutyric acid agonist', 'gamma aminobutyric acid agonists', 'gamma-aminobutyric acid agonist', 'gamma-aminobutyric acid agonists', 'receptor agonist, gaba', 'receptor agonists, gaba'], 'gaba antagonists': ['acid antagonists, gamma-aminobutyric', 'antagonist, gaba', 'antagonists, gaba', 'antagonists, gaba receptor', 'antagonists, gamma-aminobutyric acid', 'gaba antagonist', 'gaba antagonists', 'gaba receptor antagonists', 'gamma aminobutyric acid antagonists', 'gamma-aminobutyric acid antagonists', 'receptor antagonists, gaba'], 'gaba modulators': [], 'gaba uptake inhibitors': ['gaba reuptake inhibitors', 'gamma aminobutyric acid plasma membrane transport inhibitors', 'gamma-aminobutyric acid plasma membrane transport inhibitors', 'inhibitors, gaba reuptake', 'inhibitors, gaba uptake', 'reuptake inhibitors, gaba', 'uptake inhibitors, gaba', 'uptake inhibitors, gamma aminobutyric acid', 'uptake inhibitors, gamma-aminobutyric acid'], 'ganglionic blockers': [], 'ganglionic stimulants': [], 'gasotransmitters': [], 'gastrointestinal agents': [], 'gels': [], 'glycine agents': ['agent, glycinergic', 'agents, glycine', 'agents, glycinergic', 'glycinergic agent', 'glycinergic agents'], 'glycoside hydrolase inhibitors': ['hydrolase inhibitors, glycoside', 'inhibitors, glycoside hydrolase'], 'gout suppressants': ['agents, antigout', 'antigout agents', 'gout suppressants', 'suppressants, gout'], 'growth inhibitors': ['cell growth inhibitors', 'growth inhibitors, cell', 'inhibitors, cell growth', 'inhibitors, growth'], 'growth substances': ['growth substances'], 'gtp phosphohydrolase activators': ['activators, gtpase', 'gtp phosphohydrolase activators', 'gtpase activators'], 'guanylyl cyclase c agonists': ['guanylyl cyclase c agonists'], 'hallucinogens': ['agents, hallucinogenic', 'agents, psychedelic', 'agents, psychotomimetic', 'drugs, hallucinogenic', 'hallucinogenic agents', 'hallucinogenic drugs', 'hallucinogenic substances', 'hallucinogens', 'psychedelic agents', 'psychedelics', 'psychotomimetic agents', 'substances, hallucinogenic'], 'hazardous substances': [], 'hemagglutinins': [], 'hematinics': ['hematinics', 'hematopoietic agents'], 'hematologic agents': ['agents, hematologic', 'agents, hematological', 'hematologic agents', 'hematological agents'], 'hemolytic agents': [], 'hemostatics': ['hemostatics'], 'heparin antagonists': ['antagonists, heparin'], 'herbicides': ['diarylsulfonylureas'], 'histamine': [], 'histamine agents': ['agents, histamine', 'agents, histaminergic', 'drugs, histamine', 'drugs, histaminergic', 'histamine drugs', 'histaminergic agents', 'histaminergic drugs'], 'histamine agonists': [], 'histamine antagonists': ['antagonists, histamine', 'antihistamines', 'histamine antagonists'], 'histamine h1 antagonists': [], 'histamine h1 antagonists, non-sedating': ['antihistamines, second generation', 'h1 antihistamines, non sedating', 'h1 antihistamines, non-sedating', 'histamine h1 antagonists, non sedating', 'non-sedating h1 antihistamines', 'second generation antihistamines', 'second generation h1 antagonists'], 'hiv fusion inhibitors': ['hiv cell fusion inhibitors', 'hiv fusion inhibitors', 'hiv fusion protein inhibitors'], 'hormone antagonists': [], 'hormones': [], 'hormones, hormone substitutes, and hormone antagonists': ['hormones, substitutes, antagonists'], 'hygroscopic agents': [], 'hypnotics and sedatives': [], 'hypoglycemic agents': ['elevated insulin level'], 'hypolipidemic agents': ['agents, antilipemic', 'agents, hypolipidemic', 'antihyperlipemics', 'antihyperlipidemics', 'antilipemic agents', 'antilipemic drugs', 'antilipemics', 'drugs, antilipemic', 'drugs, hypolipidemic', 'hypolipidemic agents', 'hypolipidemic drugs'], 'immunologic factors': [], 'immunotoxins': [], 'incretins': [], 'indicators and reagents': [], 'insect repellents': [], 'insecticides': [], 'insulin antagonists': ['antagonists, insulin', 'insulin antagonists'], 'intercalating agents': [], 'ion exchange resins': ['exchange, ion', 'ion exchange'], 'ionophores': [], 'irritants': [], 'keratolytic agents': ['agents, desquamating', 'agents, keratolytic', 'agents, skin-peeling', 'desquamating agents', 'keratolytic agents', 'skin peeling agents', 'skin-peeling agents'], 'laxatives': [], 'leprostatic agents': ['agents, antileprotic', 'agents, leprostatic', 'antileprotic agents', 'leprostatic agents', 'leprostatics'], 'lipid regulating agents': ['agents, lipid regulating', 'drugs, lipid regulating', 'lipid regulating drugs', 'regulating agents, lipid', 'regulating drugs, lipid'], 'lipoprotein lipase activators': ['activators, lipoprotein lipase', 'lipase activators, lipoprotein', 'lipoprotein lipase activating agents'], 'liposomes': [], 'lipotropic agents': ['agents, lipotropic', 'lipotropic agents', 'lipotropics'], 'lubricants': [], 'luminescent agents': [], 'luteolytic agents': ['agents, luteolytic'], 'matrix metalloproteinase inhibitors': ['inhibitors, matrix metalloproteinase', 'inhibitors, mmp', 'matrix metalloproteinase inhibitors', 'metalloproteinase inhibitors, matrix', 'mmp inhibitors'], 'membrane transport modulators': ['membrane transport protein modulators', 'modulators, membrane transport', 'transport modulators, membrane'], 'menstruation-inducing agents': ['emmenagogues', 'menstruation inducing agents'], 'metabolic side effects of drugs and substances': [], 'micronutrients': [], 'mineralocorticoid receptor antagonists': ['aldosterone receptor antagonists', 'antagonists, aldosterone receptor', 'antagonists, mineralocorticoid', 'antagonists, mineralocorticoid receptor', 'mineralocorticoid antagonists', 'mineralocorticoid receptor antagonists', 'receptor antagonists, aldosterone', 'receptor antagonists, mineralocorticoid'], 'miotics': ['miotics'], 'mitogens': ['reduced lymphocyte proliferation to mitogen'], 'mitosis modulators': ['modulators, mitosis'], 'molecular probes': [], 'molluscacides': [], 'mouthwashes': [], 'muscarinic agonists': [], 'muscarinic antagonists': [], 'muscle relaxants, central': [], 'mutagens': [], 'mydriatics': ['mydriatics'], 'myeloablative agonists': ['agonist, myeloablative', 'agonists, myeloablative', 'myeloablative agonists'], 'narcotic antagonists': [], 'narcotics': ['functional bowel obstruction'], 'nasal decongestants': ['nasal decongestants'], 'natriuretic agents': ['sacubitril'], 'neurokinin-1 receptor antagonists': ['antagonists, neurokinin-1 receptor', 'blockers, neurokinin-1 receptor', 'blockers, neuroleukin-1 receptor', 'neurokinin 1 receptor antagonists', 'neurokinin 1 receptor blockers', 'neurokinin-1 receptor antagonists', 'neurokinin-1 receptor blockers', 'neuroleukin 1 receptor blockers', 'neuroleukin-1 receptor blockers', 'receptor antagonists, neurokinin-1', 'receptor blockers, neurokinin-1', 'receptor blockers, neuroleukin-1', 'substance p receptor antagonists', 'substance p receptor blockers', 'tachykinin receptor 1 antagonists', 'tachykinin receptor 1 blockers'], 'neuromuscular agents': ['agents, neuromuscular'], 'neuromuscular blocking agents': [], 'neuromuscular depolarizing agents': [], 'neuromuscular nondepolarizing agents': [], 'neuroprotective agents': ['agents, neuroprotective', 'drugs, neuroprotective', 'neuroprotectants', 'neuroprotective agents', 'neuroprotective drugs'], 'neurotoxins': [], 'neurotransmitter agents': ['neurotransmitter agent'], 'neurotransmitter agentssss': [], 'neurotransmitter uptake inhibitors': ['inhibitors, neurotransmitter reuptake', 'inhibitors, neurotransmitter uptake', 'neurotransmitter reuptake inhibitors', 'reuptake inhibitors, neurotransmitter', 'transmitter uptake inhibitors, neuronal', 'uptake inhibitors, neurotransmitter'], 'nicotinic agonists': ['agonist, nicotinic', 'agonist, nicotinic cholinergic', 'agonists, nicotinic', 'agonists, nicotinic cholinergic', 'cholinergic agonist, nicotinic', 'cholinergic agonists, nicotinic', 'nicotinic agonist', 'nicotinic agonists', 'nicotinic cholinergic agonist', 'nicotinic cholinergic agonists'], 'nicotinic antagonists': ['antagonists, nicotinic', 'nicotinic antagonists'], 'nootropic agents': ['agents, anti-dementia', 'agents, antidementia', 'agents, nootropic', 'agents, procognitive', 'anti dementia agents', 'anti-dementia agents', 'antidementia agents', 'cognitive enhancers', 'drugs, nootropic', 'enhancers, cognitive', 'nootropic agents', 'nootropic drugs', 'nootropics', 'procognitive agents'], 'noxae': [], 'nucleic acid probes': [], 'ointment bases': [], 'oligodeoxyribonucleotides, antisense': [], 'oligonucleotides, antisense': [], 'ophthalmic solutions': ['artificial tears', 'drops, lubricating eye', 'eye drops, lubricant', 'eye drops, lubricating', 'lubricant eye drops', 'lubricating eye drops', 'tears, artificial'], 'ornithine decarboxylase inhibitors': ['decarboxylase inhibitors, ornithine', 'inhibitors, ornithine decarboxylase', 'ornithine decarboxylase inhibitors'], 'oxidants': [], 'oxidants, photochemical': [], 'oxytocics': ['agents, oxytocic', 'drugs, oxytocic', 'oxytocic agents', 'oxytocic drugs', 'oxytocics', 'stimulants, uterine', 'uterine stimulants'], 'parasympatholytics': [], 'parenteral nutrition solutions': [], 'perfume': [], 'peripheral nervous system': [], 'peripheral nervous system agents': ['peripheral nervous system drugs'], 'peroxisome proliferators': [], 'pesticide synergists': [], 'pesticides': ['acylcholine acylhydrolase deficiency', 'bche deficiency', 'bche, silent 1', 'butyrylcholinesterase deficiency', 'che1 deficiency', 'mivacurium response', 'pseudocholinesterase e1 deficiency', 'succinylcholine response'], 'pharmaceutic aids': [], 'pharmaceutical solutions': ['2-propanol, 1,1,1-trichloro-2-methyl-', 'acetonchloroform', 'chlorbutol', 'chlorobutanol', 'trichlorbutanol'], 'pharmaceutical vehicles': [], 'phospholipase a2 inhibitors': ['a2 antagonists, phospholipase', 'a2 inhibitors, phospholipase', 'antagonists, phospholipase a2', 'inhibitors, phospholipase a2', 'phospholipase a2 antagonists'], 'photoaffinity labels': [], 'photosensitizing agents': ['disorder, photosensitivity', 'disorders, photosensitivity', 'photodermatitides', 'photodermatitis', 'photosensitivity disorder', 'photosensitivity disorders'], 'phytoestrogens': [], 'plant growth regulators': ['cell growth inhibitors', 'growth inhibitors, cell', 'inhibitors, cell growth', 'inhibitors, growth'], 'plasma substitutes': [], 'plasticizers': [], 'platelet aggregation inhibitors': ['aggregation inhibitors, platelet', 'antiaggregants, blood platelet', 'antiaggregants, platelet', 'blood platelet aggregation inhibitors', 'blood platelet antiaggregants', 'inhibitors, platelet aggregation', 'platelet aggregation inhibitors', 'platelet antiaggregants'], 'poisons': [], 'potassium channel blockers': [], 'potassium ionophores': ['ionophores, potassium', 'potassium ionophores'], 'preservatives, pharmaceutical': [], 'progestins': [], 'prolyl-hydroxylase inhibitors': ['dioxygenase inhibitors, proline', 'hydroxylase inhibitors, proline', 'inhibitors, proline dioxygenase', 'inhibitors, proline hydroxylase', 'inhibitors, prolyl-hydroxylase', 'proline dioxygenase inhibitors', 'proline hydroxylase inhibitors', 'prolyl hydroxylase inhibitors'], 'prostaglandin antagonists': ['antagonist, prostaglandin', 'antagonists, prostaglandin', 'inhibitor, prostaglandin', 'inhibitors, prostaglandin', 'prostaglandin antagonist', 'prostaglandin inhibitor', 'prostaglandin inhibitors'], 'protective agents': [], 'proton ionophores': ['ionophores, proton'], 'provitamins': [], 'psychotropic drugs': [], 'pulmonary surfactants': ['alveolar proteinosis', 'familial interstitial lung disease', 'infantile pulmonary alveolar proteinosis', 'pap', 'pneumonitis'], 'purinergic agents': ['agents, purinergic'], 'purinergic agonists': ['agonists, purinergic', 'agonists, purinergic receptor', 'agonists, purinoceptor', 'purinergic receptor agonists', 'purinoceptor agonists', 'receptor agonists, purinergic'], 'purinergic antagonists': ['antagonists, purinergic', 'antagonists, purinergic receptor', 'antagonists, purinoceptor', 'purinergic receptor antagonists', 'purinoceptor antagonists', 'receptor antagonists, purinergic'], 'purinergic p1 receptor agonists': ['agonists, adenosine receptor', 'agonists, p1 purinoceptor', 'p1 purinoceptor agonists', 'purinergic p1 receptor agonists', 'purinoceptor agonists, p1', 'receptor agonists, adenosine'], 'purinergic p2 receptor antagonists': ['antagonists, p2 purinoceptor', 'blockers, p2 purinoceptor', 'p2 purinoceptor antagonists', 'p2 purinoceptor blockers', 'purinergic p2 receptor blockers', 'purinoceptor antagonists, p2', 'purinoceptor blockers, p2'], 'purinergic p2x receptor antagonists': ['antagonists, p2x purinoceptor', 'p2x purinoceptor antagonists', 'purinoceptor antagonists, p2x'], 'purinergic p2y receptor antagonists': ['antagonists, p2y purinoceptor', 'p2y purinoceptor antagonists', 'purinoceptor antagonists, p2y'], 'pyrogens': [], 'radiation-protective agents': ['agents, radiation protective', 'agents, radiation-protective', 'agents, radioprotective', 'drugs, radiation-protective', 'drugs, radioprotective', 'protectants, radiation', 'protective agents, radiation', 'radiation protectants', 'radiation protective agents', 'radiation protective drugs', 'radiation-protective agents', 'radiation-protective drugs', 'radioprotective agents', 'radioprotective drugs'], 'radiation-sensitizing agents': ['agents, radiation sensitizing', 'agents, radiation-sensitizing', 'agents, radiosensitizing', 'drugs, radiation-sensitizing', 'drugs, radiosensitizing', 'radiation sensitizers', 'radiation sensitizing agents', 'radiation sensitizing drugs', 'radiation-sensitizing agents', 'radiation-sensitizing drugs', 'radiosensitizing agents', 'radiosensitizing drugs', 'sensitizers, radiation', 'sensitizing agents, radiation'], 'radioactive pollutants': [], 'radiopharmaceuticals': [], 'reducing agents': ['cystine disulfide reducers', 'disulfide reducers, cystine', 'reducers, cystine disulfide'], 'renal agents': ['agents, renal'], 'reproductive control agents': ['agents, reproductive control', 'control agents, reproductive'], 'reproductive effect': ['infertility, male', 'male infertility'], 'resins, synthetic': [], 'respiratory system agents': ['agents, respiratory system', 'respiratory system agents'], 'riot control agents, chemical': [], 'rodenticides': [], 'schistosomicides': [], 'sclerosing solutions': ['solutions, sclerosing'], 'selective non-prostanoid ip prostacyclin receptor agonist': [], 'sensory system agents': ['agents, sensory system', 'drugs, sensory system', 'sensory system drugs', 'system agents, sensory', 'system drugs, sensory'], 'sequestering agents': [], 'serotonin 5-ht1 receptor agonists': ['5 ht1 agonist', '5 ht1 agonists', '5-ht1 agonist', '5-ht1 agonists', 'agonist, 5-ht1', 'agonists, 5-ht1', 'serotonin 5 ht1 receptor agonists', 'serotonin 5-ht1 receptor agonists'], 'serotonin 5-ht1 receptor antagonists': ['5 ht1 antagonist', '5 ht1 antagonists', '5-ht1 antagonist', '5-ht1 antagonists', 'antagonist, 5-ht1', 'antagonists, 5-ht1', 'serotonin 5 ht1 receptor antagonists'], 'serotonin 5-ht2 receptor agonists': ['5 ht2 agonist', '5 ht2 agonists', '5-ht2 agonist', '5-ht2 agonists', 'agonist, 5-ht2', 'agonists, 5-ht2', 'serotonin 5 ht2 receptor agonists'], 'serotonin 5-ht2 receptor antagonists': ['5 ht2 antagonist', '5-ht2 antagonist', 'antagonist, 5-ht2', 'serotonin 5 ht2 receptor antagonists'], 'serotonin 5-ht3 receptor antagonists': ['5 ht3 antagonist', '5 ht3 antagonists', '5-ht3 antagonist', 'antagonist, 5-ht3', 'antagonists, 5-ht3', 'serotonin 5 ht3 receptor antagonists', 'serotonin 5-ht3 receptor antagonists'], 'serotonin 5-ht4 receptor agonists': ['5 ht4 agonist', '5 ht4 agonists', '5-ht4 agonist', '5-ht4 agonists', 'agonist, 5-ht4', 'agonists, 5-ht4', 'serotonin 5 ht4 receptor agonists', 'serotonin 5-ht4 receptor agonists'], 'serotonin agents': ['agents, serotonergic', 'agents, serotonin', 'drugs, serotonergic', 'drugs, serotonin', 'serotonergic agents', 'serotonergic drugs', 'serotonin drugs'], 'selective serotonin and noradrenaline reuptake inhibitors': ['nris and ssris', 'serotonin and noradrenaline reuptake inhibitors', 'serotonin and noradrenaline uptake inhibitors', 'serotonin and norepinephrine reuptake inhibitors', 'serotonin and norepinephrine uptake inhibitors', 'ssris and nris', 'selective serotonin reuptake inhibitor/selective serotonin noradrenaline reuptake inhibitor', 'snri/ssri', 'ssri/snri', 'selective serotonin noradrenaline reuptake inhibitor'], 'siderophores': ['methanol, (1,3,5-triazine-2,4,6-triyltris(methylimino))tris-', 'n(2),n(4),n(6)-trihydroxymethyl-n(2),n(4),n(6)-trimethylmelamine', 'trimelamol'], 'sleep aids, pharmaceutical': ['pharmaceutical sleep aids', 'sleep inducers', 'sleep promoting agents'], 'smoking cessation agents': [], 'sodium channel agonists': [], 'sodium channel blockers': [], 'sodium ionophores': ['ionophores, sodium', 'sodium ionophores'], 'soil pollutants': [], 'solvents': [], 'spermatocidal agents': ['agents, spermatocidal', 'agents, spermatocidal contraceptive', 'agents, spermicidal', 'agents, spermicidal contraceptive', 'contraceptive agents, spermatocidal', 'contraceptive agents, spermicidal', 'drugs, spermatocidal', 'spermatocidal agents', 'spermatocidal contraceptive agents', 'spermatocidal drugs', 'spermatocides', 'spermicidal agents', 'spermicidal contraceptive agents'], 'steroid synthesis inhibitors': [], 'sulfhydryl reagents': [], 'sunscreening agents': [], 'surface-active agents': ['o-14'], 'surgical fixation devices': [], 'sweetening agents': [], 'sympatholytics': ['agents, sympathetic-blocking', 'agents, sympatholytic', 'drugs, sympatholytic', 'sympathetic blocking agents', 'sympathetic-blocking agents', 'sympatholytic agents', 'sympatholytic drugs', 'sympatholytics'], 'tear gases': ['detached retina'], 'teratogens': [], 'tissue adhesives': [], 'tocolytic agents': ['agents, tocolytic', 'tocolytic agents', 'tocolytics'], 'tooth bleaching agents': [], 'topoisomerase i inhibitors': ['dna topoisomerase i inhibitors', 'dna type 1 topoisomerase inhibitors', 'inhibitors, topoisomerase 1', 'inhibitors, topoisomerase i', 'topoisomerase 1 inhibitors', 'topoisomerase i inhibitors'], 'topoisomerase ii inhibitors': [], 'trace elements': [], 'tranquilizing agents': [], 'treatment for: meningococcal meningitis prophylaxis': [], 'treatment of hepatitis c infection': [], 'trypanocidal agents': ['agents, trypanocidal', 'agents, trypanosomicidal', 'drugs, trypanocidal', 'trypanocidal drugs', 'trypanocides', 'trypanosomicidal agents', 'trypanosomicides'], 'tubulin modulators': [], 'uncoupling agents': [], 'uricosuric agents': [], 'urological agents': ['agents, urologic', 'agents, urological', 'urologic agents'], 'vaccines': [], 'vasoconstrictor agents': [], 'vasodilator agents': [], 'vasopeptidase inhibitors': ['ace nep inhibitors', 'ace-nep inhibitors', 'nep ace inhibitors', 'nep-ace inhibitors'], 'viscosupplements': ['supplements, visco', 'visco supplements', 'viscosupplement'], 'vitamin b complex': ['deficiencies, vitamin b', 'deficiency, vitamin b', 'vitamin b deficiencies', 'vitamin b deficiency'], 'vitamins': [], 'voltage-gated sodium channel agonists': ['voltage gated sodium channel activators', 'voltage gated sodium channel agonist', 'voltage gated sodium channel agonists', 'voltage gated sodium channel stimulators', 'voltage-gated sodium channel activators', 'voltage-gated sodium channel agonist', 'voltage-gated sodium channel stimulators'], 'voltage-gated sodium channel blockers': ['channel blockers, voltage gated sodium', 'channel blockers, voltage-gated sodium', 'voltage gated sodium channel antagonists', 'voltage gated sodium channel blockers', 'voltage gated sodium channel inhibitors', 'voltage-gated sodium channel antagonists', 'voltage-gated sodium channel inhibitors'], 'wakefulness-promoting agents': ['agents, wake-promoting', 'agents, wakefulness-promoting', 'drugs, eugeroic', 'drugs, wake-promoting', 'eugeroic drugs', 'substances, wake-promoting', 'wake promoting agents', 'wake promoting drugs', 'wake promoting substances', 'wake-promoting agents', 'wake-promoting drugs', 'wake-promoting substances', 'wakefulness promoting agents'], 'water pollutants': [], 'water pollutants, chemical': [], '5-ht1 receptor antagonists': ['5 ht1 antagonist', '5 ht1 antagonists', '5-ht1 antagonist', '5-ht1 antagonists', 'antagonist, 5-ht1', 'antagonists, 5-ht1', 'serotonin 5 ht1 receptor antagonists'], '5-lipoxygenase-activating protein inhibitors': ['5 lipoxygenase activating protein inhibitors', 'flap inhibitors', 'inhibitors, 5-lipoxygenase-activating protein', 'inhibitors, flap', 'protein inhibitors, 5-lipoxygenase-activating'], 'tumor necrosis factor alpha (tnf-a) inhibitors': [], 'hmg coa reductase inhibitors, other combinations': [], 'hmg coa reductase inhibitors in combination with other lipid modifying agents': [], 'h2-receptor antagonists': ['antagonists, histamine h2', 'antihistaminics, h2', 'blockaders, h2 receptor', 'blockaders, histamine h2 receptor', 'blockers, histamine h2', 'h2 antagonists, histamine', 'h2 antihistaminics', 'h2 blockers, histamine', 'h2 receptor blockaders', 'histamine h2 antagonists', 'histamine h2 blockers', 'histamine h2 receptor antagonists', 'histamine h2 receptor blockaders', 'receptor antagonists, histamine h2', 'receptor blockaders, h2'], 'vitamin b12 (cyanocobalamin and analogues)': [], 'selective serotonin (5ht1) agonists': [], 'serotonin (5ht3) antagonists': [], 'iodine (131i) compounds': [], 'technetium (99mtc), particles and colloids': [], 'technetium (99mtc) compounds': [], 'iodine (123i) compounds': []}
| 118,789
| 118,789
| 0.752149
| 11,558
| 118,789
| 7.73023
| 0.164129
| 0.03126
| 0.006111
| 0.006156
| 0.337463
| 0.250901
| 0.209925
| 0.190272
| 0.165279
| 0.14783
| 0
| 0.013306
| 0.097846
| 118,789
| 1
| 118,789
| 118,789
| 0.820409
| 0
| 0
| 0
| 0
| 8
| 0.828395
| 0.021837
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
88e62d39212779837a1019a613eb702cfd6fa92b
| 178
|
py
|
Python
|
src/base/__init__.py
|
Qinaty/POA-spiders
|
95e1c2cb59877d360806736bc995069885d34591
|
[
"MIT"
] | null | null | null |
src/base/__init__.py
|
Qinaty/POA-spiders
|
95e1c2cb59877d360806736bc995069885d34591
|
[
"MIT"
] | null | null | null |
src/base/__init__.py
|
Qinaty/POA-spiders
|
95e1c2cb59877d360806736bc995069885d34591
|
[
"MIT"
] | null | null | null |
"""
python包的标识文件,定义所有的对外接口
"""
from .base_spider import BaseSpider
from .base_url_manager import BaseURLManager
from .utilities import Article
from .utilities.functions import *
| 22.25
| 44
| 0.820225
| 21
| 178
| 6.809524
| 0.619048
| 0.111888
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.106742
| 178
| 7
| 45
| 25.428571
| 0.899371
| 0.123596
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 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
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
000ac9345e2d10472cd32eee15b5cd4b3bc8f392
| 38
|
py
|
Python
|
src/corenlp/__main__.py
|
edvisees/EDL2015
|
e9d0764277717ccf21538ba30481ea9d1b2d914b
|
[
"Apache-2.0"
] | 1
|
2022-01-06T13:32:45.000Z
|
2022-01-06T13:32:45.000Z
|
src/corenlp/__main__.py
|
edvisees/EDL2015
|
e9d0764277717ccf21538ba30481ea9d1b2d914b
|
[
"Apache-2.0"
] | null | null | null |
src/corenlp/__main__.py
|
edvisees/EDL2015
|
e9d0764277717ccf21538ba30481ea9d1b2d914b
|
[
"Apache-2.0"
] | 1
|
2021-09-11T03:10:36.000Z
|
2021-09-11T03:10:36.000Z
|
from . import corenlp
corenlp.main()
| 9.5
| 21
| 0.736842
| 5
| 38
| 5.6
| 0.8
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.157895
| 38
| 3
| 22
| 12.666667
| 0.875
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.5
| 0
| 0.5
| 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
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
cc4005c529c3e0d6af0c53692ff207f13cb24fad
| 118
|
py
|
Python
|
Lecture.01/test.py
|
joonion/coding-for-problem-solving
|
9f7a0b7e18803c58596899595dacc87a74b1b9d1
|
[
"MIT"
] | null | null | null |
Lecture.01/test.py
|
joonion/coding-for-problem-solving
|
9f7a0b7e18803c58596899595dacc87a74b1b9d1
|
[
"MIT"
] | null | null | null |
Lecture.01/test.py
|
joonion/coding-for-problem-solving
|
9f7a0b7e18803c58596899595dacc87a74b1b9d1
|
[
"MIT"
] | null | null | null |
a = [ 1, 2, 3, 4, 5 ]
print(a)
print(a[0])
for i in range(len(a)):
print(a[i])
a.append(10)
a.append(20)
print(a)
| 13.111111
| 23
| 0.550847
| 28
| 118
| 2.321429
| 0.571429
| 0.369231
| 0.215385
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.105263
| 0.194915
| 118
| 9
| 24
| 13.111111
| 0.578947
| 0
| 0
| 0.25
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0.5
| 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
| 0
| 0
| 0
| 1
|
0
| 5
|
cc435498f0648035b4655200a31a5dab0bfc342f
| 156
|
py
|
Python
|
doc/pulse-paper/deutsch_jozsa-qasm.py
|
jakelishman/qutip-qip
|
fa1cb1b139bb294861b21698f721f5421c4386ab
|
[
"BSD-3-Clause"
] | 36
|
2020-05-22T10:51:13.000Z
|
2022-03-07T05:41:08.000Z
|
doc/pulse-paper/deutsch_jozsa-qasm.py
|
jakelishman/qutip-qip
|
fa1cb1b139bb294861b21698f721f5421c4386ab
|
[
"BSD-3-Clause"
] | 73
|
2020-07-14T07:26:48.000Z
|
2022-03-25T08:00:43.000Z
|
doc/pulse-paper/deutsch_jozsa-qasm.py
|
jakelishman/qutip-qip
|
fa1cb1b139bb294861b21698f721f5421c4386ab
|
[
"BSD-3-Clause"
] | 24
|
2020-06-18T22:59:20.000Z
|
2022-03-12T05:11:59.000Z
|
from qutip_qip.qasm import read_qasm
qc = read_qasm("deutsch-jozsa.qasm")
from qutip_qip.qasm import save_qasm
save_qasm(qc, "deutsch-jozsa-qutip.qasm")
| 19.5
| 41
| 0.788462
| 27
| 156
| 4.333333
| 0.37037
| 0.153846
| 0.205128
| 0.273504
| 0.376068
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.102564
| 156
| 7
| 42
| 22.285714
| 0.835714
| 0
| 0
| 0
| 0
| 0
| 0.269231
| 0.153846
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.5
| 0
| 0.5
| 0
| 1
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
cc58c5650fc14aa18c6a7d3836cd100e92e66c16
| 81
|
py
|
Python
|
py_tdlib/constructors/connection_state_connecting_to_proxy.py
|
Mr-TelegramBot/python-tdlib
|
2e2d21a742ebcd439971a32357f2d0abd0ce61eb
|
[
"MIT"
] | 24
|
2018-10-05T13:04:30.000Z
|
2020-05-12T08:45:34.000Z
|
py_tdlib/constructors/connection_state_connecting_to_proxy.py
|
MrMahdi313/python-tdlib
|
2e2d21a742ebcd439971a32357f2d0abd0ce61eb
|
[
"MIT"
] | 3
|
2019-06-26T07:20:20.000Z
|
2021-05-24T13:06:56.000Z
|
py_tdlib/constructors/connection_state_connecting_to_proxy.py
|
MrMahdi313/python-tdlib
|
2e2d21a742ebcd439971a32357f2d0abd0ce61eb
|
[
"MIT"
] | 5
|
2018-10-05T14:29:28.000Z
|
2020-08-11T15:04:10.000Z
|
from ..factory import Type
class connectionStateConnectingToProxy(Type):
pass
| 13.5
| 45
| 0.814815
| 8
| 81
| 8.25
| 0.875
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.123457
| 81
| 5
| 46
| 16.2
| 0.929577
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0.333333
| 0.333333
| 0
| 0.666667
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 0
|
0
| 5
|
cc5b6d8e10ce1e047c1b68d8a027da5e468ddd99
| 86
|
py
|
Python
|
animius/SpeakerVerification/__init__.py
|
gundamMC/animius
|
911712ddb992a5f9b00e5a00299a55baf762a9c5
|
[
"Apache-2.0"
] | 16
|
2019-04-24T16:03:44.000Z
|
2021-11-12T12:27:48.000Z
|
animius/SpeakerVerification/__init__.py
|
gundamMC/animius
|
911712ddb992a5f9b00e5a00299a55baf762a9c5
|
[
"Apache-2.0"
] | 2
|
2019-04-29T16:57:25.000Z
|
2019-07-17T18:02:33.000Z
|
animius/SpeakerVerification/__init__.py
|
gundamMC/animius
|
911712ddb992a5f9b00e5a00299a55baf762a9c5
|
[
"Apache-2.0"
] | 1
|
2019-09-03T19:11:50.000Z
|
2019-09-03T19:11:50.000Z
|
from .MFCC import MFCC
from .SpeakerVerificationModel import SpeakerVerificationModel
| 28.666667
| 62
| 0.883721
| 8
| 86
| 9.5
| 0.5
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.093023
| 86
| 2
| 63
| 43
| 0.974359
| 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
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
cc99c07eae601a07c7540941f47e3adbf498e3f3
| 73
|
py
|
Python
|
hello/handler.py
|
beardedfoo/scrappy-serverless-examples
|
ef22e0dd1924d4395eca7afc5e4e5961df95cd42
|
[
"MIT"
] | null | null | null |
hello/handler.py
|
beardedfoo/scrappy-serverless-examples
|
ef22e0dd1924d4395eca7afc5e4e5961df95cd42
|
[
"MIT"
] | null | null | null |
hello/handler.py
|
beardedfoo/scrappy-serverless-examples
|
ef22e0dd1924d4395eca7afc5e4e5961df95cd42
|
[
"MIT"
] | null | null | null |
def hello(name='serverless world'):
return "Hello {}\n".format(name)
| 24.333333
| 36
| 0.671233
| 10
| 73
| 4.9
| 0.8
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.136986
| 73
| 2
| 37
| 36.5
| 0.777778
| 0
| 0
| 0
| 0
| 0
| 0.356164
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.5
| false
| 0
| 0
| 0.5
| 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
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 5
|
aed23a1554985d01d32884393fb547579a7e978d
| 452
|
py
|
Python
|
tests/test_nodepool_job_launcher.py
|
yrobla/nodepool_job_launcher
|
534efade82aaaa705f80e4e6ba76ec339276b47a
|
[
"BSD-3-Clause"
] | null | null | null |
tests/test_nodepool_job_launcher.py
|
yrobla/nodepool_job_launcher
|
534efade82aaaa705f80e4e6ba76ec339276b47a
|
[
"BSD-3-Clause"
] | null | null | null |
tests/test_nodepool_job_launcher.py
|
yrobla/nodepool_job_launcher
|
534efade82aaaa705f80e4e6ba76ec339276b47a
|
[
"BSD-3-Clause"
] | null | null | null |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
test_nodepool_job_launcher
----------------------------------
Tests for `nodepool_job_launcher` module.
"""
import unittest
from nodepool_job_launcher import nodepool_job_launcher
class TestNodepool_job_launcher(unittest.TestCase):
def setUp(self):
pass
def test_something(self):
pass
def tearDown(self):
pass
if __name__ == '__main__':
unittest.main()
| 16.142857
| 55
| 0.637168
| 51
| 452
| 5.254902
| 0.568627
| 0.205224
| 0.283582
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.002732
| 0.190265
| 452
| 28
| 56
| 16.142857
| 0.729508
| 0.325221
| 0
| 0.272727
| 0
| 0
| 0.026936
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.272727
| false
| 0.272727
| 0.181818
| 0
| 0.545455
| 0
| 0
| 0
| 0
| null | 1
| 1
| 0
| 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
| 0
| 1
| 0
| 0
| 1
| 0
|
0
| 5
|
aee9ce808f06d05344816025d2b48a5b662e9e1e
| 149
|
py
|
Python
|
lograt/watchdog/observers/__init__.py
|
teddbug-S/LogRat
|
b608e29cbbe93d2f35a32e47c2b98e6be40bdf59
|
[
"MIT"
] | null | null | null |
lograt/watchdog/observers/__init__.py
|
teddbug-S/LogRat
|
b608e29cbbe93d2f35a32e47c2b98e6be40bdf59
|
[
"MIT"
] | null | null | null |
lograt/watchdog/observers/__init__.py
|
teddbug-S/LogRat
|
b608e29cbbe93d2f35a32e47c2b98e6be40bdf59
|
[
"MIT"
] | null | null | null |
from .lograt_observer_api import LogRatObserverAPI
from .lograt_observer import LogRatObserver
__all__ = ['LogRatObserverAPI', 'LogRatObserver']
| 18.625
| 50
| 0.825503
| 14
| 149
| 8.285714
| 0.571429
| 0.172414
| 0.310345
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.107383
| 149
| 7
| 51
| 21.285714
| 0.87218
| 0
| 0
| 0
| 0
| 0
| 0.210884
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.666667
| 0
| 0.666667
| 0
| 1
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
aef1c29b9ff3eee0090d58f2a6ec7089e476a41d
| 48
|
py
|
Python
|
pydantic_openapi_helper/__init__.py
|
mostaphaRoudsari/openapi-helper
|
0e0362a41ca1e1de0e33ba2a9b46ea72cc48c21f
|
[
"MIT"
] | 2
|
2021-02-01T23:44:21.000Z
|
2022-02-09T10:38:32.000Z
|
pydantic_openapi_helper/__init__.py
|
mostaphaRoudsari/openapi-helper
|
0e0362a41ca1e1de0e33ba2a9b46ea72cc48c21f
|
[
"MIT"
] | 79
|
2020-10-30T15:25:40.000Z
|
2022-02-09T22:28:20.000Z
|
pydantic_openapi_helper/__init__.py
|
chriswmackey/pydantic-openapi-helper
|
1c6c31150e804ba90709bec37ece8ff09e9efce6
|
[
"MIT"
] | 3
|
2020-11-08T18:45:12.000Z
|
2021-05-14T21:59:25.000Z
|
"""Openapi helper library for Ladybug Tools."""
| 24
| 47
| 0.729167
| 6
| 48
| 5.833333
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.125
| 48
| 1
| 48
| 48
| 0.833333
| 0.854167
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 1
| 0
| null | 0
| 0
| 0
| 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
| 5
|
4e05b224fe07b59c23d4e13c97ea5c725cd84fdd
| 77
|
py
|
Python
|
acca-tracker/__init__.py
|
benpops89/acca-tracker
|
95c1bcc947df8127ccff994b7c30356aba753927
|
[
"MIT"
] | null | null | null |
acca-tracker/__init__.py
|
benpops89/acca-tracker
|
95c1bcc947df8127ccff994b7c30356aba753927
|
[
"MIT"
] | null | null | null |
acca-tracker/__init__.py
|
benpops89/acca-tracker
|
95c1bcc947df8127ccff994b7c30356aba753927
|
[
"MIT"
] | null | null | null |
from .skybet import skybet
from .teams import teams
from .games import games
| 19.25
| 26
| 0.805195
| 12
| 77
| 5.166667
| 0.416667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.155844
| 77
| 3
| 27
| 25.666667
| 0.953846
| 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
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
4e1667b2e2bd7061d4f75b02db2e6332cc9f996f
| 129
|
py
|
Python
|
app/auth/__init__.py
|
wuwayne/MiniBlog
|
31bd07dab86ba31d3e6160f9000de5177ea6cf49
|
[
"MIT"
] | 1
|
2018-06-09T15:53:20.000Z
|
2018-06-09T15:53:20.000Z
|
app/auth/__init__.py
|
wuwayne/KBS
|
31bd07dab86ba31d3e6160f9000de5177ea6cf49
|
[
"MIT"
] | null | null | null |
app/auth/__init__.py
|
wuwayne/KBS
|
31bd07dab86ba31d3e6160f9000de5177ea6cf49
|
[
"MIT"
] | null | null | null |
from flask import Blueprint
bp = Blueprint('auth',__name__,template_folder='templates')
from app.auth import email,forms,views
| 21.5
| 59
| 0.79845
| 18
| 129
| 5.444444
| 0.777778
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.100775
| 129
| 6
| 60
| 21.5
| 0.844828
| 0
| 0
| 0
| 0
| 0
| 0.1
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.666667
| 0
| 0.666667
| 0.666667
| 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
| 0
| 0
| 0
| 1
| 0
| 1
| 1
|
0
| 5
|
4e1b52ef0934c6af6e91a854b85c3820150cce65
| 186
|
py
|
Python
|
degooged_tube/ytApiHacking/customExceptions.py
|
PrinceOfPuppers/degooged-tube
|
76d08158402ea2e1b541d4aaaeb2983d6cfa2640
|
[
"MIT"
] | null | null | null |
degooged_tube/ytApiHacking/customExceptions.py
|
PrinceOfPuppers/degooged-tube
|
76d08158402ea2e1b541d4aaaeb2983d6cfa2640
|
[
"MIT"
] | null | null | null |
degooged_tube/ytApiHacking/customExceptions.py
|
PrinceOfPuppers/degooged-tube
|
76d08158402ea2e1b541d4aaaeb2983d6cfa2640
|
[
"MIT"
] | null | null | null |
class InvalidUrl(Exception):
pass
class UnableToGetPage(Exception):
pass
class UnableToGetUploadTime(Exception):
pass
class UnableToGetApproximateNum(Exception):
pass
| 15.5
| 43
| 0.768817
| 16
| 186
| 8.9375
| 0.4375
| 0.363636
| 0.377622
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.166667
| 186
| 11
| 44
| 16.909091
| 0.922581
| 0
| 0
| 0.5
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0.5
| 0
| 0
| 0.5
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 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
| 0
| 1
| 1
| 0
| 0
| 0
| 0
|
0
| 5
|
9d73c4c50a31b1b946b0b8cc3b0b1d7baa3c06b4
| 14,504
|
py
|
Python
|
tests/test_service/test_shakearound.py
|
OctavianLee/pywechat
|
d9ceae01c5da0c8341fa7b5a964f6e1f7a3a9c35
|
[
"MIT"
] | 3
|
2015-05-29T15:13:32.000Z
|
2016-04-12T10:46:48.000Z
|
tests/test_service/test_shakearound.py
|
OctavianLee/Wechat
|
d9ceae01c5da0c8341fa7b5a964f6e1f7a3a9c35
|
[
"MIT"
] | 2
|
2015-06-05T07:49:24.000Z
|
2015-11-09T02:47:54.000Z
|
tests/test_service/test_shakearound.py
|
OctavianLee/Wechat
|
d9ceae01c5da0c8341fa7b5a964f6e1f7a3a9c35
|
[
"MIT"
] | null | null | null |
#-*- coding: utf-8 -*-
import json
import mock
import unittest
from nose.tools import eq_, ok_
from ..constants import CONST
from ..test_base import TestCase
from pywechat.services.basic import Basic
from pywechat.services.wechat_shake import ShakeService
class ShakeServiceTest(TestCase):
'''Creates a TestCase for Shake Service.'''
def setUp(self):
TestCase.setUp(self)
with mock.patch.object(Basic, 'access_token', autospec=True):
self.shake_service = self.service.init_service('Shake')
def test_apply_devices(self):
with mock.patch.object(ShakeService, 'apply_devices') as mock_method:
apply_id = CONST.NUMBER
device_id = CONST.NUMBER
uuid = CONST.STRING
major = CONST.NUMBER
minor = CONST.NUMBER
mock_method.return_value = {
"data": {
"apply_id": apply_id,
"device_identifiers": [
{
"device_id": device_id,
"uuid": uuid,
"major": major,
"minor": minor
}
]
},
"errcode": 0,
"errmsg": "success."
}
apply_reason = CONST.STRING
comment = CONST.STRING
data = self.shake_service.apply_devices(1,
apply_reason, comment)
eq_(data["data"]["apply_id"], apply_id)
eq_(data["data"]["device_identifiers"][0]["device_id"], device_id)
eq_(data["data"]["device_identifiers"][0]["uuid"], uuid)
eq_(data["data"]["device_identifiers"][0]["major"], major)
eq_(data["data"]["device_identifiers"][0]["minor"], minor)
def test_update_device(self):
comment = CONST.STRING
device_id = CONST.NUMBER
uuid = CONST.NUMBER
major = CONST.NUMBER
minor = CONST.NUMBER
with mock.patch.object(ShakeService, 'update_device') as mock_method:
mock_method.return_value = {
"data": {
},
"errcode": 0,
"errmsg": "success."
}
data = self.shake_service.update_device(comment, device_id)
self.assertIsNotNone(data)
data = self.shake_service.update_device(comment, uuid=uuid,
major=major, minor=minor)
self.assertIsNotNone(data)
def test_bind_location(self):
poi_id = CONST.NUMBER
device_id = CONST.NUMBER
uuid = CONST.NUMBER
major = CONST.NUMBER
minor = CONST.NUMBER
with mock.patch.object(ShakeService, 'bind_location') as mock_method:
mock_method.return_value = {
"data": {
},
"errcode": 0,
"errmsg": "success."
}
data = self.shake_service.bind_location(poi_id, device_id)
self.assertIsNotNone(data)
data = self.shake_service.bind_location(poi_id, uuid=uuid,
major=major, minor=minor)
self.assertIsNotNone(data)
def test_search_device(self):
device_id = CONST.NUMBER
uuid = CONST.NUMBER
major = CONST.NUMBER
minor = CONST.NUMBER
with mock.patch.object(ShakeService, 'search_device') as mock_method:
mock_method.return_value = {
"data": {
"devices": [
{
"comment": "",
"device_id": device_id,
"major": major,
"minor": minor,
"page_ids": "15369",
"status": 1,
"poi_id": 0,
"uuid": uuid
}
],
"total_count": 1
},
"errcode": 0,
"errmsg": "success."
}
data = self.shake_service.search_device(device_id)
eq_(data["data"]["devices"][0]["device_id"], device_id)
eq_(data["data"]["devices"][0]["uuid"], uuid)
eq_(data["data"]["devices"][0]["major"], major)
eq_(data["data"]["devices"][0]["minor"], minor)
data = self.shake_service.search_device(uuid=uuid,
major=major, minor=minor)
eq_(data["data"]["devices"][0]["device_id"], device_id)
eq_(data["data"]["devices"][0]["uuid"], uuid)
eq_(data["data"]["devices"][0]["major"], major)
eq_(data["data"]["devices"][0]["minor"], minor)
def test_search_devices(self):
apply_id = CONST.NUMBER
device_id = CONST.NUMBER
uuid = CONST.NUMBER
major = CONST.NUMBER
minor = CONST.NUMBER
with mock.patch.object(ShakeService, 'search_devices') as mock_method:
mock_method.return_value = {
"data": {
"devices": [
{
"comment": "",
"device_id": device_id,
"major": major,
"minor": minor,
"page_ids": "15369",
"status": 1,
"poi_id": 0,
"uuid": uuid
}
],
"total_count": 1
},
"errcode": 0,
"errmsg": "success."
}
data = self.shake_service.search_devices(0, 1, apply_id)
eq_(data["data"]["devices"][0]["device_id"], device_id)
eq_(data["data"]["devices"][0]["uuid"], uuid)
eq_(data["data"]["devices"][0]["major"], major)
eq_(data["data"]["devices"][0]["minor"], minor)
eq_(data["data"]["total_count"], 1)
def test_upload_material(self):
image = CONST.STRING
pic_url = CONST.STRING
with mock.patch.object(ShakeService, 'upload_material') as mock_method:
mock_method.return_value = {
"data": {
"pic_url": pic_url
},
"errcode": 0,
"errmsg": "success."
}
data = self.shake_service.upload_material(image)
eq_(data["data"]["pic_url"], pic_url)
def test_add_page(self):
title = CONST.STRING
description = CONST.STRING
page_url = CONST.STRING
icon_url = CONST.STRING
comment = CONST.STRING
page_id = CONST.NUMBER
with mock.patch.object(ShakeService, 'add_page') as mock_method:
mock_method.return_value = {
"data": {
"page_id": page_id
},
"errcode": 0,
"errmsg": "success."
}
data = self.shake_service.add_page(title, description, page_url,
icon_url, comment)
eq_(data["data"]["page_id"], page_id)
def test_update_page(self):
title = CONST.STRING
description = CONST.STRING
page_url = CONST.STRING
icon_url = CONST.STRING
comment = CONST.STRING
page_id = CONST.NUMBER
with mock.patch.object(ShakeService, 'update_page') as mock_method:
mock_method.return_value = {
"data": {
"page_id": page_id
},
"errcode": 0,
"errmsg": "success."
}
data = self.shake_service.update_page(page_id, title, description, page_url,
icon_url, comment)
eq_(data["data"]["page_id"], page_id)
def test_search_page_by_ids(self):
title = CONST.STRING
description = CONST.STRING
page_url = CONST.STRING
icon_url = CONST.STRING
comment = CONST.STRING
page_id = CONST.NUMBER
page_ids = [page_id]
with mock.patch.object(ShakeService, 'search_page_by_ids') as mock_method:
mock_method.return_value = {
"data": {
"pages": [
{
"comment": comment,
"description": description,
"icon_url": icon_url,
"page_id": page_id,
"page_url": page_url,
"title": title
}
],
"total_count": 1
},
"errcode": 0,
"errmsg": "success."
}
data = self.shake_service.search_page_by_ids(page_ids)
page_data = {
"comment": comment,
"description": description,
"icon_url": icon_url,
"page_id": page_id,
"page_url": page_url,
"title": title
}
eq_(data["data"]["total_count"], 1)
eq_(data["data"]["pages"][0], page_data)
def test_search_page_by_counts(self):
title = CONST.STRING
description = CONST.STRING
page_url = CONST.STRING
icon_url = CONST.STRING
comment = CONST.STRING
page_id = CONST.NUMBER
with mock.patch.object(ShakeService, 'search_page_by_counts') as mock_method:
mock_method.return_value = {
"data": {
"pages": [
{
"comment": comment,
"description": description,
"icon_url": icon_url,
"page_id": page_id,
"page_url": page_url,
"title": title
}
],
"total_count": 1
},
"errcode": 0,
"errmsg": "success."
}
data = self.shake_service.search_page_by_counts(0, 1)
page_data = {
"comment": comment,
"description": description,
"icon_url": icon_url,
"page_id": page_id,
"page_url": page_url,
"title": title
}
eq_(data["data"]["total_count"], 1)
eq_(data["data"]["pages"][0], page_data)
def test_delete_page(self):
page_id = CONST.NUMBER
page_ids = [page_id]
with mock.patch.object(ShakeService, 'delete_page') as mock_method:
mock_method.return_value = {
"data": {
},
"errcode": 0,
"errmsg": "success."
}
data = self.shake_service.delete_page(page_ids)
self.assertIsNotNone(data)
def test_bind_page(self):
page_id = CONST.NUMBER
page_ids = [page_id]
bind = 0
append = 0
device_id = CONST.NUMBER
uuid = CONST.STRING
major = CONST.STRING
minor = CONST.STRING
with mock.patch.object(ShakeService, 'bind_location') as mock_method:
mock_method.return_value = {
"data": {
},
"errcode": 0,
"errmsg": "success."
}
data = self.shake_service.bind_location(page_ids)
self.assertIsNotNone(data)
def test_get_shake_info(self):
ticket = CONST.NUMBER
need_poi = 1
with mock.patch.object(ShakeService, 'get_shake_info') as mock_method:
mock_method.return_value = {
"data": {
},
"errcode": 0,
"errmsg": "success."
}
data = self.shake_service.get_shake_info(ticket, need_poi)
self.assertIsNotNone(data)
def test_device_statistics(self):
begin_date = CONST.STRING
end_date = CONST.STRING
device_id = CONST.NUMBER
uuid = CONST.STRING
major = CONST.STRING
minor = CONST.STRING
with mock.patch.object(ShakeService, 'device_statistics') as mock_method:
ftime = CONST.NUMBER
mock_method.return_value = {
"data": [
{
"click_pv": 0,
"click_uv": 0,
"ftime": ftime,
"shake_pv": 0,
"shake_uv": 0
}
],
"errcode": 0,
"errmsg": "success."
}
data = self.shake_service.device_statistics(begin_date, end_date,
device_id, uuid, major, minor)
statistics = {
"click_pv": 0,
"click_uv": 0,
"ftime": ftime,
"shake_pv": 0,
"shake_uv": 0
}
eq_(data["data"][0], statistics)
def test_page_statistics(self):
begin_date = CONST.STRING
end_date = CONST.STRING
page_id = CONST.NUMBER
with mock.patch.object(ShakeService, 'page_statistics') as mock_method:
ftime = CONST.NUMBER
mock_method.return_value = {
"data": [
{
"click_pv": 0,
"click_uv": 0,
"ftime": ftime,
"shake_pv": 0,
"shake_uv": 0
}
],
"errcode": 0,
"errmsg": "success."
}
data = self.shake_service.page_statistics(page_id, begin_date,
end_date)
statistics = {
"click_pv": 0,
"click_uv": 0,
"ftime": ftime,
"shake_pv": 0,
"shake_uv": 0
}
eq_(data["data"][0], statistics)
| 36.534005
| 88
| 0.45291
| 1,324
| 14,504
| 4.716012
| 0.075529
| 0.063421
| 0.043242
| 0.057655
| 0.840647
| 0.799167
| 0.77034
| 0.727578
| 0.699712
| 0.676329
| 0
| 0.009979
| 0.440361
| 14,504
| 396
| 89
| 36.626263
| 0.759271
| 0.004068
| 0
| 0.656836
| 0
| 0
| 0.111434
| 0.001454
| 0
| 0
| 0
| 0
| 0.018767
| 1
| 0.042895
| false
| 0
| 0.021448
| 0
| 0.067024
| 0
| 0
| 0
| 0
| null | 0
| 0
| 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
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
3b026562a45b85456c90a57e123c79885d40a145
| 205
|
py
|
Python
|
airbus_pyqt_extend/src/airbus_pyqt_extend/QtAgiGui/__init__.py
|
ipa320/airbus_coop
|
974564807ba5d24096e237a9991311608a390da1
|
[
"Apache-2.0"
] | 4
|
2017-10-15T23:32:24.000Z
|
2019-12-26T12:31:53.000Z
|
airbus_pyqt_extend/src/airbus_pyqt_extend/QtAgiGui/__init__.py
|
ipa320/airbus_coop
|
974564807ba5d24096e237a9991311608a390da1
|
[
"Apache-2.0"
] | 6
|
2017-09-05T13:52:00.000Z
|
2017-12-01T14:18:27.000Z
|
airbus_pyqt_extend/src/airbus_pyqt_extend/QtAgiGui/__init__.py
|
ipa320/airbus_coop
|
974564807ba5d24096e237a9991311608a390da1
|
[
"Apache-2.0"
] | 4
|
2017-09-04T08:14:36.000Z
|
2017-09-18T07:22:21.000Z
|
from joystick import QAgiJoystick, QAgiHJoystick, QAgiVJoystick
from keyboard import QAgiKeyboard
from messagebox import QAgiMessageBox
from silderbutton import QAgiSilderButton
from popup import QAgiPopup
| 41
| 63
| 0.887805
| 22
| 205
| 8.272727
| 0.636364
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.102439
| 205
| 5
| 64
| 41
| 0.98913
| 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
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
ae4cb3bbfdda60fb7668c168e875662076baa49b
| 2,801
|
py
|
Python
|
tests/test_domain.py
|
ebarahona/rasa_core
|
f3dbb70d0bb748628ab238eded17a8f5e09279e2
|
[
"Apache-2.0"
] | 46
|
2017-11-16T06:03:48.000Z
|
2022-03-06T18:25:15.000Z
|
tests/test_domain.py
|
ebarahona/rasa_core
|
f3dbb70d0bb748628ab238eded17a8f5e09279e2
|
[
"Apache-2.0"
] | null | null | null |
tests/test_domain.py
|
ebarahona/rasa_core
|
f3dbb70d0bb748628ab238eded17a8f5e09279e2
|
[
"Apache-2.0"
] | 21
|
2018-02-05T09:59:40.000Z
|
2020-09-24T14:39:16.000Z
|
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import numpy as np
from rasa_core.domain import TemplateDomain
from rasa_core.featurizers import BinaryFeaturizer
from rasa_core.training_utils import extract_training_data_from_file
def test_create_train_data_no_history(default_domain):
featurizer = BinaryFeaturizer()
X, y = extract_training_data_from_file(
"data/dsl_stories/stories_defaultdomain.md",
augmentation_factor=0,
domain=default_domain,
featurizer=featurizer,
max_history=1
)
reference = np.array([
[[0, 0, 0, 0, 0, 0, 0, 0, 0]],
[[0, 0, 1, 0, 0, 0, 0, 0, 1]],
[[0, 0, 1, 0, 1, 0, 0, 0, 0]],
[[0, 1, 0, 0, 0, 0, 1, 0, 0]],
[[0, 1, 0, 0, 1, 0, 0, 0, 0]],
[[1, 0, 0, 0, 0, 0, 0, 1, 0]],
[[1, 0, 0, 0, 1, 0, 0, 0, 0]],
])
assert X.shape == reference.shape
assert np.array_equal(X, reference)
def test_create_train_data_with_history(default_domain):
featurizer = BinaryFeaturizer()
X, y = extract_training_data_from_file(
"data/dsl_stories/stories_defaultdomain.md",
augmentation_factor=0,
domain=default_domain,
featurizer=featurizer,
max_history=4
)
reference = np.array([
[[0, 0, 0, 0, 0, 0, 0, 0, 0],
[1, 0, 0, 0, 1, 0, 0, 0, 0],
[1, 0, 0, 0, 0, 0, 0, 1, 0],
[0, 1, 0, 0, 1, 0, 0, 0, 0]],
[[0, 1, 0, 0, 1, 0, 0, 0, 0],
[0, 1, 0, 0, 0, 0, 1, 0, 0],
[0, 0, 1, 0, 1, 0, 0, 0, 0],
[0, 0, 1, 0, 0, 0, 0, 0, 1]],
[[1, 0, 0, 0, 0, 0, 0, 1, 0],
[0, 1, 0, 0, 1, 0, 0, 0, 0],
[0, 1, 0, 0, 0, 0, 1, 0, 0],
[0, 0, 1, 0, 1, 0, 0, 0, 0]],
[[1, 0, 0, 0, 1, 0, 0, 0, 0],
[1, 0, 0, 0, 0, 0, 0, 1, 0],
[0, 1, 0, 0, 1, 0, 0, 0, 0],
[0, 1, 0, 0, 0, 0, 1, 0, 0]],
[[-1, -1, -1, -1, -1, -1, -1, -1, -1],
[0, 0, 0, 0, 0, 0, 0, 0, 0],
[1, 0, 0, 0, 1, 0, 0, 0, 0],
[1, 0, 0, 0, 0, 0, 0, 1, 0]],
[[-1, -1, -1, -1, -1, -1, -1, -1, -1],
[-1, -1, -1, -1, -1, -1, -1, -1, -1],
[-1, -1, -1, -1, -1, -1, -1, -1, -1],
[0, 0, 0, 0, 0, 0, 0, 0, 0]],
[[-1, -1, -1, -1, -1, -1, -1, -1, -1],
[-1, -1, -1, -1, -1, -1, -1, -1, -1],
[0, 0, 0, 0, 0, 0, 0, 0, 0],
[1, 0, 0, 0, 1, 0, 0, 0, 0]],
])
assert X.shape == reference.shape
assert np.array_equal(X, reference)
def test_domain_from_template():
file = "examples/restaurant_domain.yml"
domain = TemplateDomain.load(file)
assert len(domain.intents) == 6
assert len(domain.actions) == 18
| 31.47191
| 68
| 0.474473
| 483
| 2,801
| 2.621118
| 0.122153
| 0.254344
| 0.270142
| 0.243286
| 0.703791
| 0.653239
| 0.653239
| 0.653239
| 0.653239
| 0.653239
| 0
| 0.169921
| 0.323456
| 2,801
| 88
| 69
| 31.829545
| 0.498153
| 0
| 0
| 0.486486
| 0
| 0
| 0.039986
| 0.039986
| 0
| 0
| 0
| 0
| 0.081081
| 1
| 0.040541
| false
| 0
| 0.108108
| 0
| 0.148649
| 0.013514
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 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
| 5
|
ae8999d2fc91b5dc1f3d8646cfee90dff54f96fd
| 206
|
py
|
Python
|
articles/admin.py
|
MohammadaliMirhamed/simple-weblog-django
|
0922393c54283036bd1a8d1c65a1410a01c573c6
|
[
"MIT"
] | 3
|
2021-09-07T06:58:05.000Z
|
2021-09-24T08:36:36.000Z
|
articles/admin.py
|
MohammadaliMirhamed/simple-weblog-django
|
0922393c54283036bd1a8d1c65a1410a01c573c6
|
[
"MIT"
] | null | null | null |
articles/admin.py
|
MohammadaliMirhamed/simple-weblog-django
|
0922393c54283036bd1a8d1c65a1410a01c573c6
|
[
"MIT"
] | null | null | null |
from django.contrib import admin
from .models import Articles,GeneralSetting,Menu
admin.site.register(Articles)
admin.site.register(GeneralSetting)
admin.site.register(Menu)
# Register your models here.
| 20.6
| 48
| 0.820388
| 27
| 206
| 6.259259
| 0.481481
| 0.159763
| 0.301775
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.092233
| 206
| 9
| 49
| 22.888889
| 0.903743
| 0.126214
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.4
| 0
| 0.4
| 0
| 1
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
881edca7f534265344412b00e102996ace29c7a2
| 221
|
py
|
Python
|
backend/api/app/db/tables/__init__.py
|
Anyesh/mychef
|
7d83f947e939847d7f41df9e8fd174cf3f914c46
|
[
"MIT"
] | null | null | null |
backend/api/app/db/tables/__init__.py
|
Anyesh/mychef
|
7d83f947e939847d7f41df9e8fd174cf3f914c46
|
[
"MIT"
] | null | null | null |
backend/api/app/db/tables/__init__.py
|
Anyesh/mychef
|
7d83f947e939847d7f41df9e8fd174cf3f914c46
|
[
"MIT"
] | null | null | null |
from app.db.tables.base import Base
from app.db.tables.ingredients import Ingredient
from app.db.tables.recipes import Recipe
from app.db.tables.sources import Source
__all__ = ["Base", "Ingredient", "Recipe", "Source"]
| 31.571429
| 52
| 0.778281
| 33
| 221
| 5.090909
| 0.393939
| 0.166667
| 0.214286
| 0.357143
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.104072
| 221
| 6
| 53
| 36.833333
| 0.848485
| 0
| 0
| 0
| 0
| 0
| 0.117647
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.8
| 0
| 0.8
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
884ae3710d52b2f3df02bae30f6863ccef0cd2fe
| 27
|
py
|
Python
|
backend/venv/lib/python3.9/site-packages/pip/_vendor/certifi/__init__.py
|
LucaCilibrasi/docker_viruclust
|
88149c17fd4b94a54397d0cb4a9daece00122c49
|
[
"Apache-2.0"
] | null | null | null |
backend/venv/lib/python3.9/site-packages/pip/_vendor/certifi/__init__.py
|
LucaCilibrasi/docker_viruclust
|
88149c17fd4b94a54397d0cb4a9daece00122c49
|
[
"Apache-2.0"
] | null | null | null |
backend/venv/lib/python3.9/site-packages/pip/_vendor/certifi/__init__.py
|
LucaCilibrasi/docker_viruclust
|
88149c17fd4b94a54397d0cb4a9daece00122c49
|
[
"Apache-2.0"
] | 1
|
2022-01-13T10:05:55.000Z
|
2022-01-13T10:05:55.000Z
|
__version__ = "2020.11.08"
| 13.5
| 26
| 0.703704
| 4
| 27
| 3.75
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.333333
| 0.111111
| 27
| 1
| 27
| 27
| 0.291667
| 0
| 0
| 0
| 0
| 0
| 0.37037
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 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
| 0
|
0
| 5
|
ee01f01a42d95ba139bbf96c7e2b4192306d0b01
| 30,623
|
py
|
Python
|
tests/test_authentication.py
|
taylorsteffanj/ibmpairs
|
8892ac67ebebee300eaed4167cca8685f8efd82e
|
[
"BSD-3-Clause"
] | 1
|
2019-05-01T14:48:57.000Z
|
2019-05-01T14:48:57.000Z
|
tests/test_authentication.py
|
taylorsteffanj/ibmpairs
|
8892ac67ebebee300eaed4167cca8685f8efd82e
|
[
"BSD-3-Clause"
] | null | null | null |
tests/test_authentication.py
|
taylorsteffanj/ibmpairs
|
8892ac67ebebee300eaed4167cca8685f8efd82e
|
[
"BSD-3-Clause"
] | null | null | null |
"""
Tests the IBM PAIRS API wrapper features.
Copyright 2019-2021 Physical Analytics, IBM Research All Rights Reserved.
SPDX-License-Identifier: BSD-3-Clause
"""
# Please note, none of the values in this unit test module are, or have even been, valid to access the system.
# fold: Import Python Standard Library {{{
# Python Standard Library:
import json
import os
#}}}
# fold: Import ibmpairs Modules {{{
# ibmpairs Modules:
from ibmpairs.logger import logger
import ibmpairs.authentication as authentication
#}}}
# fold: Import Third Party Libraries {{{
# Third Party Libraries:
import responses
import unittest
from unittest import mock
#}}}
class BasicUnitTest(unittest.TestCase):
def setUp(self):
self.logger = logger
self.logger.info('setup')
def tearDown(self):
self.logger.info('teardown')
def test_basic_init(self):
self.logger.info('test_basic_init')
got_exception = False
try:
basic = authentication.Basic(username = "email@domain.com",
password = "thisisnotapassword")
basic.host = "https://pairs.res.ibm.com"
basic.username = "email@domain.com"
basic.password = "thisisnotapassword"
basic.password_file = "auth/basic.txt"
except Exception as ex:
got_exception = True
self.assertFalse(got_exception)
self.assertEqual(basic.host, "pairs.res.ibm.com")
self.assertEqual(basic.username, "email@domain.com")
self.assertEqual(basic.password, "thisisnotapassword")
cwd = os.getcwd()
self.assertEqual(basic.password_file, cwd + "/auth/basic.txt")
self.logger.info('test_basic_init: file find password')
self.logger.info('writing \'basic-unittest.txt\'')
f = open("basic-unittest.txt", "a")
f.write("pairs.res.ibm.com:email@domain.com:thisisnotapassword")
f.close()
credentials2 = None
try:
credentials2 = authentication.Basic(password_file = 'basic-unittest.txt',
username = 'email@domain.com')
except Exception as ex:
got_exception = True
self.assertFalse(got_exception)
self.assertEqual(credentials2.username, "email@domain.com")
self.assertEqual(credentials2.password, "thisisnotapassword")
self.logger.info('removing \'basic-unittest.txt\'')
if os.path.isfile(os.path.join(os.getcwd(), 'basic-unittest.txt')):
os.remove(os.path.join(os.getcwd(), 'basic-unittest.txt'))
self.logger.info('test_basic_init: password is present')
credentials3 = None
try:
credentials3 = authentication.Basic(username = 'email@domain.com',
password = 'thisisnotapassword')
except Exception as ex:
got_exception = True
self.assertFalse(got_exception)
self.assertEqual(credentials3.username, "email@domain.com")
self.assertEqual(credentials3.password, "thisisnotapassword")
self.logger.info('test_oauth2_init: no api_key')
credentials4 = None
try:
credentials4 = authentication.Basic(password = 'abc')
except Exception as ex:
self.assertEqual(str(ex), "AUTHENTICATION FAILED: A username and password could not be gathered from the provided attributes.")
got_exception = True
self.assertTrue(got_exception)
def mocked_requests_post(*args, **kwargs):
url = args[0]
input_headers = None
input_data = None
api_key = None
client_id = None
grant_type = None
refresh_token = None
if kwargs.get("headers") is not None:
input_headers = kwargs["headers"]
if kwargs.get("data") is not None:
input_data = kwargs["data"]
if (url == 'https://auth-b2b-twc.ibm.com/Auth/GetBearerForClient'):
input_data_dict = json.loads(input_data)
if input_data_dict.get("apiKey") is not None:
api_key = input_data_dict["apiKey"]
if input_data_dict.get("clientId") is not None:
client_id = input_data_dict["clientId"]
if input_data_dict.get("client_id") is not None:
client_id = input_data_dict["client_id"]
if input_data_dict.get("grant_type") is not None:
grant_type = input_data_dict["grant_type"]
if input_data_dict.get("refresh_token") is not None:
refresh_token = input_data_dict["refresh_token"]
elif (url == 'https://auth-b2b-twc.ibm.com/connect/token'):
input_data = input_data.replace('=', '&')
split = input_data.split('&')
grant_type = split[1]
client_id = split[3]
refresh_token = split[5]
else:
input_data_dict = input_data
class MockResponse:
def __init__(self, json_data, status_code):
self.json_data = json_data
self.status_code = status_code
def json(self):
return self.json_data
if (url == 'https://auth-b2b-twc.ibm.com/Auth/GetBearerForClient'):
if api_key == 'thisisnotanapikey':
return_dict = {}
return_dict["access_token"] = "thisisnotanaccesstoken"
return_dict["expires_in"] = 3600
return_dict["token_type"] = "Bearer"
return_dict["refresh_token"] = "thisisnotarefreshtoken"
return_dict["scope"] = "access:A B C D"
if client_id == 'ibm-pairs':
return MockResponse(return_dict, 200)
else:
return MockResponse({"error":"invalid_client"}, 200)
else:
return MockResponse({"error":"invalid_grant"}, 200)
elif (url == 'https://auth-b2b-twc.ibm.com/connect/token'):
if grant_type == 'refresh_token':
if refresh_token == 'thisisnotarefreshtoken':
return_dict = {}
return_dict["access_token"] = "thisisnotanewaccesstoken"
return_dict["expires_in"] = 3600
return_dict["token_type"] = "Bearer"
return_dict["refresh_token"] = "thisisnotanewrefreshtoken"
return_dict["scope"] = "access:A B C D"
if client_id == 'ibm-pairs':
return MockResponse(return_dict, 200)
else:
return MockResponse({"error":"invalid_client"}, 200)
else:
return MockResponse({"error":"invalid_grant"}, 200)
else:
return MockResponse({"error": "unsupported_grant_type"}, 200)
return MockResponse(None, 404)
class OAuth2ReturnUnitTest(unittest.TestCase):
def setUp(self):
self.logger = logger
self.logger.info('setup')
def tearDown(self):
self.logger.info('teardown')
def test_from_dict(self):
self.logger.info('test_from_dict')
oauth2_return_dict = {}
oauth2_return_dict["access_token"] = "thisisnotanaccesstoken"
oauth2_return_dict["expires_in"] = 3600
oauth2_return_dict["token_type"] = "Bearer"
oauth2_return_dict["refresh_token"] = "thisisnotarefreshtoken"
oauth2_return_dict["scope"] = "access:A B C D"
oauth2_return_dict["error"] = "invalid_grant"
oauth2_return = authentication.OAuth2Return
oauth2_return_from_dict = None
got_exception = False
try:
oauth2_return_from_dict = oauth2_return.from_dict(oauth2_return_dict)
except Exception as ex:
got_exception = True
self.assertFalse(got_exception)
self.assertEqual(oauth2_return_from_dict.access_token, "thisisnotanaccesstoken")
self.assertEqual(oauth2_return_from_dict.expires_in, 3600)
self.assertEqual(oauth2_return_from_dict.token_type, "Bearer")
self.assertEqual(oauth2_return_from_dict.refresh_token, "thisisnotarefreshtoken")
self.assertEqual(oauth2_return_from_dict.scope, "access:A B C D")
self.assertEqual(oauth2_return_from_dict.error, "invalid_grant")
def test_to_dict(self):
self.logger.info('test_to_dict')
oauth2_return_dict = {}
oauth2_return_dict["access_token"] = "thisisnotanaccesstoken"
oauth2_return_dict["expires_in"] = 3600
oauth2_return_dict["token_type"] = "Bearer"
oauth2_return_dict["refresh_token"] = "thisisnotarefreshtoken"
oauth2_return_dict["scope"] = "access:A B C D"
oauth2_return_dict["error"] = "invalid_grant"
oauth2_return_to_dict = None
got_exception = False
try:
oauth2_return_from_dict = authentication.OAuth2Return.from_dict(oauth2_return_dict)
oauth2_return_to_dict = oauth2_return_from_dict.to_dict()
except Exception as ex:
got_exception = True
self.assertFalse(got_exception)
self.assertIsInstance(oauth2_return_to_dict , dict)
self.assertEqual(oauth2_return_to_dict["access_token"], "thisisnotanaccesstoken")
self.assertEqual(oauth2_return_to_dict["expires_in"], 3600)
self.assertEqual(oauth2_return_to_dict["token_type"], "Bearer")
self.assertEqual(oauth2_return_to_dict["refresh_token"], "thisisnotarefreshtoken")
self.assertEqual(oauth2_return_to_dict["scope"], "access:A B C D")
self.assertEqual(oauth2_return_to_dict["error"], "invalid_grant")
class OAuth2UnitTest(unittest.TestCase):
def setUp(self):
self.logger = logger
self.logger.info('setup')
def tearDown(self):
self.logger.info('teardown')
@mock.patch('requests.post', side_effect=mocked_requests_post)
def test_oauth2_init(self, mock_post):
self.logger.info('test_oauth2_init')
got_exception = False
try:
oauth2 = authentication.OAuth2(api_key = 'thisisnotanapikey')
oauth2.host = "https://pairs.res.ibm.com"
oauth2.username = "email@domain.com"
oauth2.api_key = "thisisnotanapikey"
oauth2.api_key_file = "auth/oauth2.txt"
oauth2.client_id = "ibm-pairs"
oauth2.endpoint = "auth-b2b-twc.ibm.com"
oauth2.jwt_token = "thisisnotajwttoken"
except Exception as ex:
got_exception = True
self.assertFalse(got_exception)
self.assertEqual(oauth2.host, "pairs.res.ibm.com")
self.assertEqual(oauth2.username, "email@domain.com")
self.assertEqual(oauth2.api_key, "thisisnotanapikey")
cwd = os.getcwd()
self.assertEqual(oauth2.api_key_file, cwd + "/auth/oauth2.txt")
self.assertEqual(oauth2.client_id, "ibm-pairs")
self.assertEqual(oauth2.endpoint, "auth-b2b-twc.ibm.com")
self.assertEqual(oauth2.jwt_token, "thisisnotajwttoken")
self.logger.info('test_oauth2_init: file find api_key')
self.logger.info('writing \'oauth2-unittest.txt\'')
f = open("oauth2-unittest.txt", "a")
f.write("pairs.res.ibm.com:email@domain.com:thisisnotanapikey")
f.close()
credentials2 = None
try:
credentials2 = authentication.OAuth2(api_key_file = 'oauth2-unittest.txt',
username = 'email@domain.com')
except Exception as ex:
got_exception = True
self.assertFalse(got_exception)
self.assertEqual(credentials2.jwt_token, "thisisnotanaccesstoken")
self.logger.info('removing \'oauth2-unittest.txt\'')
if os.path.isfile(os.path.join(os.getcwd(), 'oauth2-unittest.txt')):
os.remove(os.path.join(os.getcwd(), 'oauth2-unittest.txt'))
self.logger.info('test_oauth2_init: api_key is present')
credentials3 = None
try:
credentials3 = authentication.OAuth2(api_key = 'thisisnotanapikey')
except Exception as ex:
got_exception = True
self.assertFalse(got_exception)
self.assertEqual(credentials3.jwt_token, "thisisnotanaccesstoken")
self.logger.info('test_oauth2_init: no api_key')
credentials4 = None
try:
credentials4 = authentication.OAuth2(api_key = 'thisisnotavalidapikey')
except Exception as ex:
self.assertEqual(str(ex), "AUTHENTICATION FAILED: A JWT token could not be gathered from the provided attributes.")
got_exception = True
self.assertTrue(got_exception)
@mock.patch('requests.post', side_effect=mocked_requests_post)
def test_get_auth_token(self, mock_post):
#
self.logger.info('test_get_auth_token')
self.logger.info('test: 200, success')
got_exception = False
try:
credentials = authentication.OAuth2(api_key = 'thisisnotanapikey')
credentials.get_auth_token(api_key = 'thisisnotanapikey')
except Exception as ex:
got_exception = True
self.assertFalse(got_exception)
self.assertEqual(credentials.jwt_token, "thisisnotanaccesstoken")
self.assertEqual(credentials.oauth2_return.access_token, "thisisnotanaccesstoken")
self.assertEqual(credentials.oauth2_return.expires_in, 3600)
self.assertEqual(credentials.oauth2_return.token_type, "Bearer")
self.assertEqual(credentials.oauth2_return.refresh_token, "thisisnotarefreshtoken")
self.assertEqual(credentials.oauth2_return.scope, "access:A B C D")
#
self.logger.info('test: 200, invalid_grant')
got_exception = False
try:
credentials.get_auth_token(api_key = 'incorrect_key')
self.assertEqual(credentials.oauth2_return.error, "invalid_grant")
except Exception as ex:
got_exception = True
self.assertTrue(got_exception)
#
self.logger.info('test: 200, wrong client id')
got_exception = False
try:
credentials.client_id = 'wrong-client-id'
credentials.get_auth_token(api_key = 'thisisnotanapikey')
self.assertEqual(credentials.oauth2_return.error, "invalid_client")
except Exception as ex:
got_exception = True
self.assertTrue(got_exception)
credentials.client_id = 'ibm-pairs'
#
self.logger.info('test: 404, wrong endpoint')
got_exception = False
try:
credentials.endpoint = 'wrong.end.point'
credentials.get_auth_token(api_key = 'thisisnotanapikey')
except Exception as ex:
got_exception = True
self.assertTrue(got_exception)
credentials.endpoint = 'auth-b2b-twc.ibm.com'
@mock.patch('requests.post', side_effect=mocked_requests_post)
def test_refresh_auth_token(self, mock_post):
#
self.logger.info('test_refresh_auth_token')
self.logger.info('test_refresh_auth_token: 200, success')
got_exception = False
try:
credentials = authentication.OAuth2(api_key = 'thisisnotanapikey')
credentials.refresh_auth_token()
except:
got_exception = True
self.assertFalse(got_exception)
self.assertEqual(credentials.jwt_token, "thisisnotanewaccesstoken")
self.assertEqual(credentials.oauth2_return.access_token, "thisisnotanewaccesstoken")
self.assertEqual(credentials.oauth2_return.expires_in, 3600)
self.assertEqual(credentials.oauth2_return.token_type, "Bearer")
self.assertEqual(credentials.oauth2_return.refresh_token, "thisisnotanewrefreshtoken")
self.assertEqual(credentials.oauth2_return.scope, "access:A B C D")
#
self.logger.info('test_refresh_auth_token: 200, invalid_grant')
credentials = authentication.OAuth2(api_key = 'thisisnotanapikey')
got_exception = False
try:
credentials.oauth2_return.refresh_token = "wrong-refresh-token"
credentials.refresh_auth_token()
self.assertEqual(credentials.oauth2_return.error, "invalid_grant")
except Exception as ex:
got_exception = True
self.assertTrue(got_exception)
#
self.logger.info('test_refresh_auth_token: 200, wrong client id')
credentials = authentication.OAuth2(api_key = 'thisisnotanapikey')
got_exception = False
try:
credentials.client_id = 'wrong-client-id'
credentials.refresh_auth_token()
self.assertEqual(credentials.oauth2_return.error, "invalid_client")
except Exception as ex:
got_exception = True
self.assertTrue(got_exception)
#
self.logger.info('test_refresh_auth_token: 404, wrong endpoint')
credentials = authentication.OAuth2(api_key = 'thisisnotanapikey')
got_exception = False
try:
credentials.endpoint = 'wrong.end.point'
credentials.refresh_auth_token()
except Exception as ex:
got_exception = True
self.assertTrue(got_exception)
def test_from_dict(self):
self.logger.info('test_from_dict')
oauth2_dict = {}
oauth2_dict["host"] = "pairs.res.ibm.com"
oauth2_dict["username"] = "TWCcustomersupport@us.ibm.com"
oauth2_dict["api_key"] = "thisisnotanapikey"
oauth2_dict["api_key_file"] = "ibmpairspass.txt"
oauth2_dict["client_id"] = "ibm-pairs"
oauth2_dict["endpoint"] = "auth-b2b-twc.ibm.com"
oauth2_dict["jwt_token"] = "thisisnotanaccesstoken"
oauth2 = authentication.OAuth2
oauth2_from_dict = None
got_exception = False
try:
oauth2_from_dict = oauth2.from_dict(oauth2_dict)
except Exception as ex:
got_exception = True
self.assertFalse(got_exception)
self.assertEqual(oauth2_from_dict.host, "pairs.res.ibm.com")
self.assertEqual(oauth2_from_dict.username, "TWCcustomersupport@us.ibm.com")
self.assertEqual(oauth2_from_dict.api_key, "thisisnotanapikey")
self.assertEqual(oauth2_from_dict.api_key_file, "ibmpairspass.txt")
self.assertEqual(oauth2_from_dict.client_id, "ibm-pairs")
self.assertEqual(oauth2_from_dict.endpoint, "auth-b2b-twc.ibm.com")
self.assertEqual(oauth2_from_dict.jwt_token, "thisisnotanaccesstoken")
def test_to_dict(self):
self.logger.info('test_to_dict')
oauth2_dict = {}
oauth2_dict["host"] = "pairs.res.ibm.com"
oauth2_dict["username"] = "TWCcustomersupport@us.ibm.com"
oauth2_dict["api_key"] = "thisisnotanapikey"
oauth2_dict["api_key_file"] = "ibmpairspass.txt"
oauth2_dict["client_id"] = "ibm-pairs"
oauth2_dict["endpoint"] = "auth-b2b-twc.ibm.com"
oauth2_dict["jwt_token"] = "thisisnotanaccesstoken"
oauth2_to_dict = None
got_exception = False
try:
oauth2_from_dict = authentication.OAuth2.from_dict(oauth2_dict)
oauth2_to_dict = oauth2_from_dict.to_dict()
except Exception as ex:
got_exception = True
self.assertFalse(got_exception)
self.assertIsInstance(oauth2_to_dict , dict)
self.assertEqual(oauth2_to_dict["host"], "pairs.res.ibm.com")
self.assertEqual(oauth2_to_dict["username"], "TWCcustomersupport@us.ibm.com")
self.assertEqual(oauth2_to_dict["api_key"], "thisisnotanapikey")
self.assertEqual(oauth2_to_dict["api_key_file"], "ibmpairspass.txt")
self.assertEqual(oauth2_to_dict["client_id"], "ibm-pairs")
self.assertEqual(oauth2_to_dict["endpoint"], "auth-b2b-twc.ibm.com")
self.assertEqual(oauth2_to_dict["jwt_token"], "thisisnotanaccesstoken")
class OAuth2HelperFunctionsTest(unittest.TestCase):
def setUp(self):
self.logger = logger
self.logger.info('setup')
def tearDown(self):
self.logger.info('teardown')
#
def test_oauth2_from_dict(self):
self.logger.info('test_oauth2_from_dict')
oauth2_dict = {}
oauth2_dict["host"] = "pairs.res.ibm.com"
oauth2_dict["username"] = "TWCcustomersupport@us.ibm.com"
oauth2_dict["api_key"] = "thisisnotanapikey"
oauth2_dict["api_key_file"] = "ibmpairspass.txt"
oauth2_dict["client_id"] = "ibm-pairs"
oauth2_dict["endpoint"] = "auth-b2b-twc.ibm.com"
oauth2_dict["jwt_token"] = "thisisnotanaccesstoken"
got_exception = False
try:
oauth2_from_dict = authentication.oauth2_from_dict(oauth2_dict)
except Exception as ex:
got_exception = True
self.assertFalse(got_exception)
self.assertEqual(oauth2_from_dict.host, "pairs.res.ibm.com")
self.assertEqual(oauth2_from_dict.username, "TWCcustomersupport@us.ibm.com")
self.assertEqual(oauth2_from_dict.api_key, "thisisnotanapikey")
self.assertEqual(oauth2_from_dict.api_key_file, "ibmpairspass.txt")
self.assertEqual(oauth2_from_dict.client_id, "ibm-pairs")
self.assertEqual(oauth2_from_dict.endpoint, "auth-b2b-twc.ibm.com")
self.assertEqual(oauth2_from_dict.jwt_token, "thisisnotanaccesstoken")
#
def test_oauth2_to_dict(self):
self.logger.info('test_oauth2_to_dict')
oauth2_dict = {}
oauth2_dict["host"] = "pairs.res.ibm.com"
oauth2_dict["username"] = "TWCcustomersupport@us.ibm.com"
oauth2_dict["api_key"] = "thisisnotanapikey"
oauth2_dict["api_key_file"] = "ibmpairspass.txt"
oauth2_dict["client_id"] = "ibm-pairs"
oauth2_dict["endpoint"] = "auth-b2b-twc.ibm.com"
oauth2_dict["jwt_token"] = "thisisnotanaccesstoken"
got_exception = False
try:
oauth2_from_dict = authentication.oauth2_from_dict(oauth2_dict)
oauth2_to_dict = authentication.oauth2_to_dict(oauth2_from_dict)
except Exception as ex:
got_exception = True
self.assertFalse(got_exception)
self.assertIsInstance(oauth2_to_dict , dict)
self.assertEqual(oauth2_to_dict["host"], "pairs.res.ibm.com")
self.assertEqual(oauth2_to_dict["username"], "TWCcustomersupport@us.ibm.com")
self.assertEqual(oauth2_to_dict["api_key"], "thisisnotanapikey")
self.assertEqual(oauth2_to_dict["api_key_file"], "ibmpairspass.txt")
self.assertEqual(oauth2_to_dict["client_id"], "ibm-pairs")
self.assertEqual(oauth2_to_dict["endpoint"], "auth-b2b-twc.ibm.com")
self.assertEqual(oauth2_to_dict["jwt_token"], "thisisnotanaccesstoken")
#
def test_oauth2_from_json(self):
self.logger.info('test_oauth2_from_json')
oauth2_str = r'''
{
"host" : "pairs.res.ibm.com",
"username" : "TWCcustomersupport@us.ibm.com",
"api_key" : "thisisnotanapikey",
"api_key_file" : "ibmpairspass.txt",
"client_id" : "ibm-pairs",
"endpoint" : "auth-b2b-twc.ibm.com",
"jwt_token" : "thisisnotanaccesstoken"
}'''
got_exception = False
try:
oauth2_from_json = authentication.oauth2_from_json(oauth2_str)
except Exception as ex:
got_exception = True
self.assertFalse(got_exception)
self.assertEqual(oauth2_from_json.host, "pairs.res.ibm.com")
self.assertEqual(oauth2_from_json.username, "TWCcustomersupport@us.ibm.com")
self.assertEqual(oauth2_from_json.api_key, "thisisnotanapikey")
self.assertEqual(oauth2_from_json.api_key_file, "ibmpairspass.txt")
self.assertEqual(oauth2_from_json.client_id, "ibm-pairs")
self.assertEqual(oauth2_from_json.endpoint, "auth-b2b-twc.ibm.com")
self.assertEqual(oauth2_from_json.jwt_token, "thisisnotanaccesstoken")
#
def test_oauth2_to_json(self):
self.logger.info('test_oauth2_to_json')
oauth2_str = r'''
{
"host" : "pairs.res.ibm.com",
"username" : "TWCcustomersupport@us.ibm.com",
"api_key" : "thisisnotanapikey",
"api_key_file" : "ibmpairspass.txt",
"client_id" : "ibm-pairs",
"endpoint" : "auth-b2b-twc.ibm.com",
"jwt_token" : "thisisnotanaccesstoken"
}'''
got_exception = False
try:
oauth2_from_json = authentication.oauth2_from_json(oauth2_str)
oauth2_to_json = authentication.oauth2_to_json(oauth2_from_json)
except Exception as ex:
got_exception = True
self.assertFalse(got_exception)
#
#def test_get_oauth2_credentials():
def test_oauth2_return_from_dict(self):
self.logger.info('test_oauth2_return_from_dict')
oauth2_return_dict = {}
oauth2_return_dict["access_token"] = "thisisnotanaccesstoken"
oauth2_return_dict["expires_in"] = 3600
oauth2_return_dict["token_type"] = "Bearer"
oauth2_return_dict["refresh_token"] = "thisisnotarefreshtoken"
oauth2_return_dict["scope"] = "access:A B C D"
oauth2_return_dict["error"] = "invalid_grant"
got_exception = False
try:
oauth2_return_from_dict = authentication.oauth2_return_from_dict(oauth2_return_dict)
except Exception as ex:
got_exception = True
self.assertFalse(got_exception)
self.assertEqual(oauth2_return_from_dict.access_token, "thisisnotanaccesstoken")
self.assertEqual(oauth2_return_from_dict.expires_in, 3600)
self.assertEqual(oauth2_return_from_dict.token_type, "Bearer")
self.assertEqual(oauth2_return_from_dict.refresh_token, "thisisnotarefreshtoken")
self.assertEqual(oauth2_return_from_dict.scope, "access:A B C D")
self.assertEqual(oauth2_return_from_dict.error, "invalid_grant")
def test_oauth2_return_to_dict(self):
self.logger.info('test_oauth2_return_to_dict')
oauth2_return_dict = {}
oauth2_return_dict["access_token"] = "thisisnotanaccesstoken"
oauth2_return_dict["expires_in"] = 3600
oauth2_return_dict["token_type"] = "Bearer"
oauth2_return_dict["refresh_token"] = "thisisnotarefreshtoken"
oauth2_return_dict["scope"] = "access:A B C D"
oauth2_return_dict["error"] = "invalid_grant"
got_exception = False
try:
oauth2_return_from_dict = authentication.oauth2_return_from_dict(oauth2_return_dict)
oauth2_return_to_dict = authentication.oauth2_return_to_dict(oauth2_return_from_dict)
except Exception as ex:
got_exception = True
self.assertFalse(got_exception)
self.assertIsInstance(oauth2_return_to_dict , dict)
self.assertEqual(oauth2_return_to_dict["access_token"], "thisisnotanaccesstoken")
self.assertEqual(oauth2_return_to_dict["expires_in"], 3600)
self.assertEqual(oauth2_return_to_dict["token_type"], "Bearer")
self.assertEqual(oauth2_return_to_dict["refresh_token"], "thisisnotarefreshtoken")
self.assertEqual(oauth2_return_to_dict["scope"], "access:A B C D")
self.assertEqual(oauth2_return_to_dict["error"], "invalid_grant")
#
def test_oauth2_return_from_json(self):
self.logger.info('test_oauth2_return_from_json')
oauth2_return_str = r'''
{
"access_token" : "thisisnotanaccesstoken",
"expires_in" : 3600,
"token_type" : "Bearer",
"refresh_token" : "thisisnotarefreshtoken",
"scope" : "access:A B C D",
"error" : "invalid_grant"
}'''
got_exception = False
try:
oauth2_return_from_json = authentication.oauth2_return_from_json(oauth2_return_str)
except Exception as ex:
got_exception = True
self.assertFalse(got_exception)
self.assertEqual(oauth2_return_from_json.access_token, "thisisnotanaccesstoken")
self.assertEqual(oauth2_return_from_json.expires_in, 3600)
self.assertEqual(oauth2_return_from_json.token_type, "Bearer")
self.assertEqual(oauth2_return_from_json.refresh_token, "thisisnotarefreshtoken")
self.assertEqual(oauth2_return_from_json.scope, "access:A B C D")
self.assertEqual(oauth2_return_from_json.error, "invalid_grant")
#
def test_oauth2_return_to_json(self):
self.logger.info('test_oauth2_return_to_json')
oauth2_return_str = r'''
{
"access_token" : "thisisnotanaccesstoken",
"expires_in" : 3600,
"token_type" : "Bearer",
"refresh_token" : "thisisnotarefreshtoken",
"scope" : "access:A B C D",
"error" : "invalid_grant"
}'''
got_exception = False
try:
oauth2_return_from_json = authentication.oauth2_return_from_json(oauth2_return_str)
oauth2_to_json = authentication.oauth2_return_to_json(oauth2_return_from_json)
except Exception as ex:
got_exception = True
self.assertFalse(got_exception)
| 39.209987
| 139
| 0.621363
| 3,278
| 30,623
| 5.532947
| 0.060708
| 0.074103
| 0.083366
| 0.029773
| 0.873408
| 0.833765
| 0.796769
| 0.754755
| 0.698793
| 0.672052
| 0
| 0.019141
| 0.278353
| 30,623
| 780
| 140
| 39.260256
| 0.801575
| 0.015936
| 0
| 0.674783
| 0
| 0
| 0.232775
| 0.060727
| 0
| 0
| 0
| 0
| 0.229565
| 1
| 0.046957
| false
| 0.043478
| 0.012174
| 0.001739
| 0.083478
| 0
| 0
| 0
| 0
| null | 0
| 0
| 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
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
ee37e5812a62f9e3491949d2a2d9c942c8f091a2
| 254
|
py
|
Python
|
dbms/tests.py
|
thinkdb/aquila_v2
|
9790342bf51a9ed16398785fa1c48d5a9e2e1ba5
|
[
"Apache-2.0"
] | 73
|
2017-06-29T03:14:18.000Z
|
2021-12-22T01:14:01.000Z
|
dbms/tests.py
|
thinkdb/aquila_v2
|
9790342bf51a9ed16398785fa1c48d5a9e2e1ba5
|
[
"Apache-2.0"
] | 1
|
2017-12-31T00:43:58.000Z
|
2017-12-31T00:43:58.000Z
|
dbms/tests.py
|
thinkdb/aquila_v2
|
9790342bf51a9ed16398785fa1c48d5a9e2e1ba5
|
[
"Apache-2.0"
] | 46
|
2017-06-20T06:26:46.000Z
|
2021-12-22T01:14:04.000Z
|
from django.test import TestCase
# from dbms import models
# from django.db.models import Q
# # Create your tests here.
#
# q = models.UserInfo.objects.filter(Q(user_name='admin') | Q(email='admin')).all().select_related('role', 'user_group')
# print(q)
| 31.75
| 120
| 0.720472
| 39
| 254
| 4.615385
| 0.666667
| 0.111111
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.11811
| 254
| 8
| 121
| 31.75
| 0.803571
| 0.814961
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 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
| 1
| 0
| 1
| 0
|
0
| 5
|
ee505f453bb9968f2fae3e2547236dc6bba95242
| 70
|
py
|
Python
|
je_editor/ui/ui_event/text_process/language_data_module/__init__.py
|
JE-Chen/je_editor
|
2f18dedb6f0eb27c38668dc53f520739c8d5c6c6
|
[
"MIT"
] | 1
|
2021-12-10T14:57:15.000Z
|
2021-12-10T14:57:15.000Z
|
je_editor/ui/ui_event/text_process/language_data_module/__init__.py
|
JE-Chen/je_editor
|
2f18dedb6f0eb27c38668dc53f520739c8d5c6c6
|
[
"MIT"
] | null | null | null |
je_editor/ui/ui_event/text_process/language_data_module/__init__.py
|
JE-Chen/je_editor
|
2f18dedb6f0eb27c38668dc53f520739c8d5c6c6
|
[
"MIT"
] | null | null | null |
from je_editor.ui.ui_event.text_process.language_data_module import *
| 35
| 69
| 0.871429
| 12
| 70
| 4.666667
| 0.916667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.057143
| 70
| 1
| 70
| 70
| 0.848485
| 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
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
ee5624b6c93a5b6c4f60febb4f0d83e90c29e5ec
| 20
|
py
|
Python
|
satu.py
|
hafidhsajid/hacktoberfest-2019
|
4132f6e8f70f4df89b1d2f3bf0061a8c517462af
|
[
"WTFPL"
] | null | null | null |
satu.py
|
hafidhsajid/hacktoberfest-2019
|
4132f6e8f70f4df89b1d2f3bf0061a8c517462af
|
[
"WTFPL"
] | null | null | null |
satu.py
|
hafidhsajid/hacktoberfest-2019
|
4132f6e8f70f4df89b1d2f3bf0061a8c517462af
|
[
"WTFPL"
] | null | null | null |
print("satu commit")
| 20
| 20
| 0.75
| 3
| 20
| 5
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.05
| 20
| 1
| 20
| 20
| 0.789474
| 0
| 0
| 0
| 0
| 0
| 0.52381
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
|
0
| 5
|
c9899263df9c334c3794476a813d28639a8092a5
| 278
|
py
|
Python
|
zipthis.py
|
void4/FireVR
|
e88b78fae7f07b32d9924adabe07434a9419fdc8
|
[
"CC0-1.0"
] | 28
|
2015-07-17T00:03:12.000Z
|
2022-02-01T23:50:54.000Z
|
zipthis.py
|
void4/FireVR
|
e88b78fae7f07b32d9924adabe07434a9419fdc8
|
[
"CC0-1.0"
] | 11
|
2015-07-25T07:41:46.000Z
|
2019-02-12T15:53:44.000Z
|
zipthis.py
|
void4/FireVR
|
e88b78fae7f07b32d9924adabe07434a9419fdc8
|
[
"CC0-1.0"
] | 13
|
2015-07-20T00:27:55.000Z
|
2020-11-06T17:50:22.000Z
|
import os
os.system('zip -r FireVR.zip FireVR -x \*.git\* -x FireVR/docs/\*')
os.system("rm -f -r ~/.config/blender/2.78/scripts/addons/FireVR")
os.system("cp -r ~/FireVR ~/.config/blender/2.78/scripts/addons/FireVR")
os.system("~/blender-2.78a-linux-glibc211-x86_64/blender")
| 39.714286
| 72
| 0.697842
| 48
| 278
| 4.020833
| 0.479167
| 0.165803
| 0.145078
| 0.165803
| 0.445596
| 0.445596
| 0.445596
| 0.445596
| 0.445596
| 0
| 0
| 0.062016
| 0.071942
| 278
| 6
| 73
| 46.333333
| 0.686047
| 0
| 0
| 0
| 0
| 0
| 0.758993
| 0.478417
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.2
| 0
| 0.2
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
c9998fd8d04de833e51cdb26a9080548d0d118d4
| 4,265
|
py
|
Python
|
examples/mongodb-operator/test/test.py
|
warmchang/sieve
|
57c2fa7d773ee344d517794f53730548f574cd3f
|
[
"BSD-2-Clause"
] | null | null | null |
examples/mongodb-operator/test/test.py
|
warmchang/sieve
|
57c2fa7d773ee344d517794f53730548f574cd3f
|
[
"BSD-2-Clause"
] | null | null | null |
examples/mongodb-operator/test/test.py
|
warmchang/sieve
|
57c2fa7d773ee344d517794f53730548f574cd3f
|
[
"BSD-2-Clause"
] | null | null | null |
import sys
import os
current = os.path.dirname(os.path.realpath(__file__))
sieve_root = os.path.dirname(os.path.dirname(os.path.dirname(current)))
sys.path.append(sieve_root)
from sieve_test_driver.test_framework import new_built_in_workload
from sieve_common.common import RUNNING, TERMINATED
test_cases = {
"recreate": new_built_in_workload(70)
.cmd("kubectl apply -f examples/mongodb-operator/test/cr.yaml")
.wait_for_pod_status("mongodb-cluster-rs0-2", RUNNING)
.cmd("kubectl delete PerconaServerMongoDB mongodb-cluster")
.wait_for_pod_status("mongodb-cluster-rs0-*", TERMINATED)
.wait_for_pvc_status("mongod-data-mongodb-cluster-rs0-*", TERMINATED)
.cmd("kubectl apply -f examples/mongodb-operator/test/cr.yaml")
.wait_for_pod_status("mongodb-cluster-rs0-2", RUNNING),
"disable-enable-shard": new_built_in_workload(70)
.cmd("kubectl apply -f examples/mongodb-operator/test/cr-shard.yaml")
.wait_for_pod_status("mongodb-cluster-rs0-2", RUNNING)
.wait_for_pod_status("mongodb-cluster-cfg-2", RUNNING)
.wait_for_pod_status("mongodb-cluster-mongos-*", RUNNING)
.cmd(
'kubectl patch PerconaServerMongoDB mongodb-cluster --type merge -p=\'{"spec":{"sharding":{"enabled":false}}}\''
)
.wait_for_pod_status("mongodb-cluster-cfg-2", TERMINATED)
.wait_for_pod_status("mongodb-cluster-mongos-*", TERMINATED)
.cmd(
'kubectl patch PerconaServerMongoDB mongodb-cluster --type merge -p=\'{"spec":{"sharding":{"enabled":true}}}\''
)
.wait_for_pod_status("mongodb-cluster-cfg-2", RUNNING)
.wait_for_pod_status("mongodb-cluster-mongos-*", RUNNING),
"disable-enable-arbiter": new_built_in_workload(70)
.cmd("kubectl apply -f examples/mongodb-operator/test/cr-arbiter.yaml")
.wait_for_pod_status("mongodb-cluster-rs0-3", RUNNING, 150)
.wait_for_pod_status("mongodb-cluster-rs0-arbiter-0", RUNNING)
.cmd(
'kubectl patch PerconaServerMongoDB mongodb-cluster --type=\'json\' -p=\'[{"op": "replace", "path": "/spec/replsets/0/arbiter/enabled", "value": false}]\''
)
.wait_for_pod_status("mongodb-cluster-rs0-arbiter-0", TERMINATED)
.wait_for_pod_status("mongodb-cluster-rs0-4", RUNNING)
.cmd(
'kubectl patch PerconaServerMongoDB mongodb-cluster --type=\'json\' -p=\'[{"op": "replace", "path": "/spec/replsets/0/arbiter/enabled", "value": true}]\''
)
.wait_for_pod_status("mongodb-cluster-rs0-arbiter-0", RUNNING)
.wait_for_pod_status("mongodb-cluster-rs0-4", TERMINATED),
"run-cert-manager": new_built_in_workload(70)
.cmd(
"kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v0.15.1/cert-manager.yaml --validate=false"
)
.wait_for_pod_status("cert-manager-webhook-*", RUNNING, namespace="cert-manager")
.cmd("kubectl apply -f examples/mongodb-operator/test/cr.yaml")
.wait_for_pod_status("mongodb-cluster-rs0-2", RUNNING),
"scaleup-scaledown": new_built_in_workload(70)
.cmd("kubectl apply -f examples/mongodb-operator/test/cr.yaml")
.wait_for_pod_status("mongodb-cluster-rs0-2", RUNNING)
.cmd(
'kubectl patch PerconaServerMongoDB mongodb-cluster --type=\'json\' -p=\'[{"op": "replace", "path": "/spec/replsets/0/size", "value": 5}]\''
)
.wait_for_pod_status("mongodb-cluster-rs0-4", RUNNING)
.cmd(
'kubectl patch PerconaServerMongoDB mongodb-cluster --type=\'json\' -p=\'[{"op": "replace", "path": "/spec/replsets/0/size", "value": 3}]\''
)
.wait_for_pod_status("mongodb-cluster-rs0-3", TERMINATED),
"disable-enable-shard-brittle": new_built_in_workload(70)
.cmd("kubectl apply -f examples/mongodb-operator/test/cr-shard.yaml")
.wait_for_pod_status("mongodb-cluster-rs0-2", RUNNING)
.wait_for_pod_status("mongodb-cluster-cfg-2", RUNNING)
.cmd(
'kubectl patch PerconaServerMongoDB mongodb-cluster --type merge -p=\'{"spec":{"sharding":{"enabled":false}}}\''
)
.wait_for_pod_status("mongodb-cluster-cfg-2", TERMINATED)
.cmd(
'kubectl patch PerconaServerMongoDB mongodb-cluster --type merge -p=\'{"spec":{"sharding":{"enabled":true}}}\''
)
.wait_for_pod_status("mongodb-cluster-cfg-2", RUNNING),
}
test_cases[sys.argv[1]].run(sys.argv[2], sys.argv[3])
| 52.012195
| 163
| 0.702931
| 569
| 4,265
| 5.073814
| 0.15993
| 0.164877
| 0.086595
| 0.138552
| 0.797714
| 0.783859
| 0.77035
| 0.739868
| 0.703152
| 0.676481
| 0
| 0.017121
| 0.123564
| 4,265
| 81
| 164
| 52.654321
| 0.755217
| 0
| 0
| 0.441558
| 0
| 0.012987
| 0.48558
| 0.242438
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.051948
| 0
| 0.051948
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
c9a0987c1203be6c3ee097a3f5161a17e9563d2f
| 126
|
py
|
Python
|
app/core/budget/admin.py
|
joer9514/MoneyManagerApp
|
dd43646c599ea33753e438e0ef1e89a6fd6b1660
|
[
"MIT"
] | 1
|
2022-01-14T21:29:47.000Z
|
2022-01-14T21:29:47.000Z
|
app/core/budget/admin.py
|
joer9514/MoneyManagerApp
|
dd43646c599ea33753e438e0ef1e89a6fd6b1660
|
[
"MIT"
] | 1
|
2021-03-09T21:37:44.000Z
|
2021-03-09T21:37:44.000Z
|
app/core/budget/admin.py
|
joer9514/MoneyManagerApp
|
dd43646c599ea33753e438e0ef1e89a6fd6b1660
|
[
"MIT"
] | null | null | null |
from django.contrib import admin
from core.budget.models import *
# Adding Django administration
admin.site.register(Budget)
| 21
| 32
| 0.81746
| 17
| 126
| 6.058824
| 0.705882
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.111111
| 126
| 5
| 33
| 25.2
| 0.919643
| 0.222222
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.666667
| 0
| 0.666667
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
c9d962f87d6a0132bb16a060eff5bf4c5b2d1b29
| 5,111
|
py
|
Python
|
up_revendas/users/migrations/0006_auto_20210126_2052.py
|
MikaelSantilio/uprevendas-api
|
f04312988ffe3231f68ae0ebeaed9eaf0a7914b0
|
[
"MIT"
] | 1
|
2021-08-24T00:32:12.000Z
|
2021-08-24T00:32:12.000Z
|
up_revendas/users/migrations/0006_auto_20210126_2052.py
|
MikaelSantilio/uprevendas-api
|
f04312988ffe3231f68ae0ebeaed9eaf0a7914b0
|
[
"MIT"
] | null | null | null |
up_revendas/users/migrations/0006_auto_20210126_2052.py
|
MikaelSantilio/uprevendas-api
|
f04312988ffe3231f68ae0ebeaed9eaf0a7914b0
|
[
"MIT"
] | null | null | null |
# Generated by Django 3.0.11 on 2021-01-26 23:52
from django.conf import settings
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('users', '0005_auto_20210123_1848'),
]
operations = [
migrations.AlterField(
model_name='customer',
name='active',
field=models.BooleanField(default=True, verbose_name='Ativo'),
),
migrations.AlterField(
model_name='customer',
name='balance',
field=models.FloatField(validators=[django.core.validators.MinValueValidator(0)], verbose_name='Saldo'),
),
migrations.AlterField(
model_name='customer',
name='created_at',
field=models.DateTimeField(auto_now_add=True, verbose_name='Criado em'),
),
migrations.AlterField(
model_name='customer',
name='updated_at',
field=models.DateTimeField(auto_now=True, verbose_name='Atualizado em'),
),
migrations.AlterField(
model_name='customer',
name='user',
field=models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, primary_key=True, related_name='customer', serialize=False, to=settings.AUTH_USER_MODEL, verbose_name='Usuário'),
),
migrations.AlterField(
model_name='employee',
name='active',
field=models.BooleanField(default=True, verbose_name='Ativo'),
),
migrations.AlterField(
model_name='employee',
name='created_at',
field=models.DateTimeField(auto_now_add=True, verbose_name='Criado em'),
),
migrations.AlterField(
model_name='employee',
name='departure_date',
field=models.DateField(blank=True, null=True, verbose_name='Data de saída'),
),
migrations.AlterField(
model_name='employee',
name='entry_date',
field=models.DateField(auto_now_add=True, verbose_name='Data de entrada'),
),
migrations.AlterField(
model_name='employee',
name='function',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='employees', to='users.Function', verbose_name='Função'),
),
migrations.AlterField(
model_name='employee',
name='updated_at',
field=models.DateTimeField(auto_now=True, verbose_name='Atualizado em'),
),
migrations.AlterField(
model_name='employee',
name='user',
field=models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, primary_key=True, related_name='employee', serialize=False, to=settings.AUTH_USER_MODEL, verbose_name='Usuário'),
),
migrations.AlterField(
model_name='function',
name='description',
field=models.TextField(verbose_name='Descrição'),
),
migrations.AlterField(
model_name='function',
name='name',
field=models.CharField(max_length=32, verbose_name='Nome'),
),
migrations.AlterField(
model_name='function',
name='salary',
field=models.FloatField(validators=[django.core.validators.MinValueValidator(0)], verbose_name='Salário'),
),
migrations.AlterField(
model_name='profile',
name='active',
field=models.BooleanField(default=True, verbose_name='Ativo'),
),
migrations.AlterField(
model_name='profile',
name='birth_date',
field=models.DateField(verbose_name='Data. nasc.'),
),
migrations.AlterField(
model_name='profile',
name='created_at',
field=models.DateTimeField(auto_now_add=True, verbose_name='Criado em'),
),
migrations.AlterField(
model_name='profile',
name='phone_number',
field=models.CharField(blank=True, max_length=17, validators=[django.core.validators.RegexValidator(message="Phone number must be entered in the format: '99 99999-9999'. Up to 15 digits allowed.", regex='(\\(?\\d{2}\\)?\\s)?(\\d{4,5}\\-\\d{4})')], verbose_name='Telefone'),
),
migrations.AlterField(
model_name='profile',
name='updated_at',
field=models.DateTimeField(auto_now=True, verbose_name='Atualizado em'),
),
migrations.AlterField(
model_name='profile',
name='user',
field=models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, primary_key=True, related_name='profile', serialize=False, to=settings.AUTH_USER_MODEL, verbose_name='Usuário'),
),
migrations.AlterField(
model_name='user',
name='name',
field=models.CharField(blank=True, max_length=255, verbose_name='Nome'),
),
]
| 40.244094
| 285
| 0.603796
| 514
| 5,111
| 5.832685
| 0.235409
| 0.146765
| 0.183456
| 0.212809
| 0.748165
| 0.728486
| 0.575384
| 0.51968
| 0.51968
| 0.51968
| 0
| 0.015545
| 0.270006
| 5,111
| 126
| 286
| 40.563492
| 0.787993
| 0.009
| 0
| 0.733333
| 1
| 0.008333
| 0.142998
| 0.012246
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.033333
| 0
| 0.058333
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 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
| 5
|
c9ef0c5a79a2df0a26054ef951746403ad75f858
| 31
|
py
|
Python
|
pylib/gna/bindings/common.py
|
gnafit/gna
|
c1a58dac11783342c97a2da1b19c97b85bce0394
|
[
"MIT"
] | 5
|
2019-10-14T01:06:57.000Z
|
2021-02-02T16:33:06.000Z
|
pylib/gna/bindings/common.py
|
gnafit/gna
|
c1a58dac11783342c97a2da1b19c97b85bce0394
|
[
"MIT"
] | null | null | null |
pylib/gna/bindings/common.py
|
gnafit/gna
|
c1a58dac11783342c97a2da1b19c97b85bce0394
|
[
"MIT"
] | null | null | null |
from mpl_tools import bindings
| 15.5
| 30
| 0.870968
| 5
| 31
| 5.2
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.129032
| 31
| 1
| 31
| 31
| 0.962963
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
a00bc4ddc00bef725acbbf07960461d7449ffa1c
| 67
|
py
|
Python
|
taskmonk/__init__.py
|
taskmonk/taskmonk-sdk-python
|
f06dac43acd2fb2f8a3e71b9d159debfcad09fbf
|
[
"Apache-2.0"
] | null | null | null |
taskmonk/__init__.py
|
taskmonk/taskmonk-sdk-python
|
f06dac43acd2fb2f8a3e71b9d159debfcad09fbf
|
[
"Apache-2.0"
] | null | null | null |
taskmonk/__init__.py
|
taskmonk/taskmonk-sdk-python
|
f06dac43acd2fb2f8a3e71b9d159debfcad09fbf
|
[
"Apache-2.0"
] | null | null | null |
from taskmonk.TaskMonkClient import *
from taskmonk.utils import *
| 22.333333
| 37
| 0.820896
| 8
| 67
| 6.875
| 0.625
| 0.436364
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.119403
| 67
| 2
| 38
| 33.5
| 0.932203
| 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
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
a01003e5c6939bd691577fea1396aade9e949360
| 44
|
py
|
Python
|
problem/10000~19999/17263/17263.py3.py
|
njw1204/BOJ-AC
|
1de41685725ae4657a7ff94e413febd97a888567
|
[
"MIT"
] | 1
|
2019-04-19T16:37:44.000Z
|
2019-04-19T16:37:44.000Z
|
problem/10000~19999/17263/17263.py3.py
|
njw1204/BOJ-AC
|
1de41685725ae4657a7ff94e413febd97a888567
|
[
"MIT"
] | 1
|
2019-04-20T11:42:44.000Z
|
2019-04-20T11:42:44.000Z
|
problem/10000~19999/17263/17263.py3.py
|
njw1204/BOJ-AC
|
1de41685725ae4657a7ff94e413febd97a888567
|
[
"MIT"
] | 3
|
2019-04-19T16:37:47.000Z
|
2021-10-25T00:45:00.000Z
|
input();print(max(map(int,input().split())))
| 44
| 44
| 0.659091
| 7
| 44
| 4.142857
| 0.857143
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 44
| 1
| 44
| 44
| 0.659091
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
|
0
| 5
|
4e5e0e291dcc6f02746db491813a77480c15a266
| 131
|
py
|
Python
|
Google Drive/Learning/Python/General Python Tutorial/Training/Test.py
|
mobiusworkspace/mobiuswebsite
|
73eef1bd4fc07ea318aad431de09eac10fc4da3a
|
[
"CC-BY-3.0"
] | null | null | null |
Google Drive/Learning/Python/General Python Tutorial/Training/Test.py
|
mobiusworkspace/mobiuswebsite
|
73eef1bd4fc07ea318aad431de09eac10fc4da3a
|
[
"CC-BY-3.0"
] | null | null | null |
Google Drive/Learning/Python/General Python Tutorial/Training/Test.py
|
mobiusworkspace/mobiuswebsite
|
73eef1bd4fc07ea318aad431de09eac10fc4da3a
|
[
"CC-BY-3.0"
] | null | null | null |
# -*- coding: utf-8 -*-
"""
Created on Tue Oct 1 19:25:19 2019
@author: OAdeoye
"""
import os
print(os.path.join('ade', 'bola'))
| 14.555556
| 35
| 0.603053
| 22
| 131
| 3.590909
| 0.909091
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.110092
| 0.167939
| 131
| 9
| 36
| 14.555556
| 0.614679
| 0.580153
| 0
| 0
| 0
| 0
| 0.145833
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.5
| 0
| 0.5
| 0.5
| 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
| 0
| 1
| 0
| 1
| 0
| 0
| 1
|
0
| 5
|
4e9b8d7e23031be7a4a21ac71c47201b60ab9bcf
| 91
|
py
|
Python
|
turingas/operands.py
|
baking-soda/turingas
|
54fea31a95a8949cefdd68fb951b84a6255cff49
|
[
"MIT"
] | 1
|
2020-08-04T05:47:35.000Z
|
2020-08-04T05:47:35.000Z
|
turingas/operands.py
|
ahngj96/turingas
|
17a612e6c79e486eb908cb6a872a1d5228b8021b
|
[
"MIT"
] | null | null | null |
turingas/operands.py
|
ahngj96/turingas
|
17a612e6c79e486eb908cb6a872a1d5228b8021b
|
[
"MIT"
] | null | null | null |
import re
# Generate flag dict
flags = {}
flag_str = re.sub(r'#.*?\n', '', flag_str)
| 10.111111
| 42
| 0.571429
| 14
| 91
| 3.571429
| 0.714286
| 0.28
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.21978
| 91
| 9
| 42
| 10.111111
| 0.704225
| 0.197802
| 0
| 0
| 1
| 0
| 0.083333
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.333333
| 0
| 0.333333
| 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
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
4ed3b47bd0eba3c921dcd81ef40c10d61e49333e
| 100
|
py
|
Python
|
microservices/PythonApps/python-kafkaConsumer-inference-app/src/utils/utils.py
|
akraino-edge-stack/icn-daaas
|
8878722936cda82e831de68329b719c92db9fe9b
|
[
"Apache-2.0"
] | 2
|
2019-11-24T01:23:03.000Z
|
2020-01-24T21:14:12.000Z
|
microservices/PythonApps/python-kafkaConsumer-inference-app/src/utils/utils.py
|
akraino-edge-stack/icn-daaas
|
8878722936cda82e831de68329b719c92db9fe9b
|
[
"Apache-2.0"
] | null | null | null |
microservices/PythonApps/python-kafkaConsumer-inference-app/src/utils/utils.py
|
akraino-edge-stack/icn-daaas
|
8878722936cda82e831de68329b719c92db9fe9b
|
[
"Apache-2.0"
] | 3
|
2019-12-17T02:49:53.000Z
|
2020-05-06T17:32:06.000Z
|
class utils:
def __init__(self):
pass
def readFile(self, fileName):
pass
| 11.111111
| 33
| 0.56
| 11
| 100
| 4.727273
| 0.727273
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.36
| 100
| 8
| 34
| 12.5
| 0.8125
| 0
| 0
| 0.4
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.4
| false
| 0.4
| 0
| 0
| 0.6
| 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
| 0
| 1
| 0
| 0
| 1
| 0
|
0
| 5
|
4ed43a4929b235a3a9bb332ad2da45878632a4b1
| 376
|
py
|
Python
|
Python/src/bqs/stack.py
|
mnk400/INFO6205
|
1a30679b9a7ebe8ec6b22b385091b24aa5a67720
|
[
"Apache-2.0"
] | null | null | null |
Python/src/bqs/stack.py
|
mnk400/INFO6205
|
1a30679b9a7ebe8ec6b22b385091b24aa5a67720
|
[
"Apache-2.0"
] | null | null | null |
Python/src/bqs/stack.py
|
mnk400/INFO6205
|
1a30679b9a7ebe8ec6b22b385091b24aa5a67720
|
[
"Apache-2.0"
] | null | null | null |
from abc import abstractmethod, ABC
from typing import Generic
from util.generic_type import T
class Stack(ABC, Generic[T]):
@abstractmethod
def push(self, item):
pass
@abstractmethod
def pop(self):
pass
@abstractmethod
def peek(self):
pass
@abstractmethod
def is_empty(self):
pass
| 15.666667
| 36
| 0.595745
| 42
| 376
| 5.285714
| 0.47619
| 0.306306
| 0.283784
| 0.225225
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.337766
| 376
| 23
| 37
| 16.347826
| 0.891566
| 0
| 0
| 0.5
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| false
| 0.25
| 0.1875
| 0
| 0.5
| 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
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 5
|
14c9705e04cd760af7bc10c04c896e86b58d1045
| 214
|
py
|
Python
|
mysite/api/v2/urls.py
|
LeonardoMorales-coder/oxigeno.cc
|
d028029928035887c11dc4c1da0f5bd7a64a8483
|
[
"MIT"
] | 5
|
2021-02-15T06:22:02.000Z
|
2021-04-01T21:35:37.000Z
|
mysite/api/v2/urls.py
|
LeonardoMorales-coder/oxigeno.cc
|
d028029928035887c11dc4c1da0f5bd7a64a8483
|
[
"MIT"
] | 1
|
2021-03-06T19:16:06.000Z
|
2021-03-06T19:16:06.000Z
|
mysite/api/v2/urls.py
|
LeonardoMorales-coder/oxigeno.cc
|
d028029928035887c11dc4c1da0f5bd7a64a8483
|
[
"MIT"
] | 2
|
2021-02-12T01:33:34.000Z
|
2021-03-06T23:14:43.000Z
|
from django.urls import path, include
from oxigeno.api.v2 import urls as OxigenoUrls
from users.api.v2 import urls as UserUrls
urlpatterns = [
path('', include(OxigenoUrls)),
path('', include(UserUrls))
]
| 23.777778
| 46
| 0.728972
| 29
| 214
| 5.37931
| 0.482759
| 0.211538
| 0.141026
| 0.192308
| 0.217949
| 0
| 0
| 0
| 0
| 0
| 0
| 0.011111
| 0.158879
| 214
| 9
| 47
| 23.777778
| 0.855556
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.428571
| 0
| 0.428571
| 0
| 1
| 0
| 0
| null | 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
14ce810070725eec8778c9780a241e6740e21205
| 7,968
|
py
|
Python
|
src/dynatrace/metric/utils/dynatrace_metrics_factory.py
|
dynatrace-oss/dynatrace-metric-utils-python
|
d59cd910c55fd0042e98e5a7e61dd23d4555f530
|
[
"Apache-2.0"
] | null | null | null |
src/dynatrace/metric/utils/dynatrace_metrics_factory.py
|
dynatrace-oss/dynatrace-metric-utils-python
|
d59cd910c55fd0042e98e5a7e61dd23d4555f530
|
[
"Apache-2.0"
] | 1
|
2021-10-14T11:37:10.000Z
|
2021-10-14T11:37:10.000Z
|
src/dynatrace/metric/utils/dynatrace_metrics_factory.py
|
dynatrace-oss/dynatrace-metric-utils-python
|
d59cd910c55fd0042e98e5a7e61dd23d4555f530
|
[
"Apache-2.0"
] | null | null | null |
# Copyright 2021 Dynatrace LLC
#
# 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 logging
from typing import Optional, Mapping
from ._metric import Metric
from ._metric_values import GaugeValue, CounterValueDelta, SummaryValue
# float and int are currently pointing at the same underlying function
# (e.g.: create_float_gauge and create_int_gauge both return a GaugeValue)
# The point of having two separate functions for float and int here is that
# if we ever need to change something down the line that is only valid for
# one of these types, the API stays the same, and only the underlying
# implementation changes.
class DynatraceMetricsFactory:
"""
Use the DynatraceMetricFactory to create :class:`Metric` objects.
"""
def __init__(self,
logger: Optional[logging.Logger] = None
) -> None:
"""
Create a metrics factory.
:param logger: An optional logger. If None is specified, creates one
with the name of the class.
"""
self.__logger = logger if logger else logging.getLogger(__name__)
def create_int_gauge(self,
metric_name: str,
value: int,
dimensions: Optional[Mapping[str, str]] = None,
timestamp: Optional[float] = None,
) -> Metric:
"""
Creates a gauge metric for an integer.
The value will be serialized as "gauge,[value]".
:param metric_name: The name of the metric
:param value: The value to be set on the metric.
:param dimensions: An optional dictionary to add as dimensions on this
metric.
:param timestamp: An optional timestamp (Unix time, in milliseconds).
:return: A :class:`Metric` object.
"""
self.__logger.debug("creating int gauge (%s) with value %d",
metric_name, value)
return Metric(metric_name, GaugeValue(value), dimensions, timestamp)
def create_float_gauge(self,
metric_name: str,
value: float,
dimensions: Optional[Mapping[str, str]] = None,
timestamp: Optional[float] = None,
) -> Metric:
"""
Creates a gauge metric for a float.
The value will be serialized as "gauge,[value]".
:param metric_name: The name of the metric
:param value: The value to be set on the metric.
:param dimensions: An optional dictionary to add as dimensions on this
metric.
:param timestamp: An optional timestamp (Unix time, in milliseconds).
:return: A :class:`Metric` object.
"""
self.__logger.debug("creating float gauge (%s) with value %f",
metric_name, value)
return Metric(metric_name, GaugeValue(value), dimensions, timestamp)
def create_int_counter_delta(
self,
metric_name: str,
value: int,
dimensions: Optional[Mapping[str, str]] = None,
timestamp: Optional[float] = None,
) -> Metric:
"""
Creates a counter metric for an integer.
The value will be serialized as "count,delta=[value]".
Only a delta to the previously exported value should be specified here.
:param metric_name: The name of the metric
:param value: The value to be set on the metric.
:param dimensions: An optional dictionary to add as dimensions on this
metric.
:param timestamp: An optional timestamp (Unix time, in milliseconds).
:return: A :class:`Metric` object.
"""
self.__logger.debug("creating int counter (%s) with value %d",
metric_name, value)
return Metric(metric_name, CounterValueDelta(value), dimensions,
timestamp)
def create_float_counter_delta(
self,
metric_name: str,
value: float,
dimensions: Optional[Mapping[str, str]] = None,
timestamp: Optional[float] = None,
) -> Metric:
"""
Creates a counter metric for a float.
The value will be serialized as "count,delta=[value]".
Only a delta to the previously exported value should be specified here.
:param metric_name: The name of the metric
:param value: The value to be set on the metric.
:param dimensions: An optional dictionary to add as dimensions on this
metric.
:param timestamp: An optional timestamp (Unix time, in milliseconds).
:return: A :class:`Metric` object.
"""
self.__logger.debug("creating float counter (%s) with value %f",
metric_name, value)
return Metric(metric_name, CounterValueDelta(value), dimensions,
timestamp)
def create_int_summary(
self,
metric_name: str,
min: int,
max: int,
sum: int,
count: int,
dimensions: Optional[Mapping[str, str]] = None,
timestamp: Optional[float] = None,
) -> Metric:
"""
Creates a summary metric for integers.
The value will be serialized as
"gauge,min=[min],max=[max],sum=[sum],count=[count]".
:param metric_name: The name of the metric.
:param min: The smallest value in the summary.
:param max: The largest value in the summary.
:param sum: The sum of all values in the summary.
:param count: The number of observations combined in the summary.
:param dimensions: An optional dictionary to add as dimensions on this
metric.
:param timestamp: An optional timestamp (Unix time, in milliseconds).
:return: A :class:`Metric` object.
"""
self.__logger.debug("creating int summary (%s) with values: "
"min: %d, max: %d, sum: %d, count: %d",
metric_name, min, max, sum, count)
return Metric(metric_name, SummaryValue(min, max, sum, count),
dimensions, timestamp)
def create_float_summary(
self,
metric_name: str,
min: float,
max: float,
sum: float,
count: int,
dimensions: Optional[Mapping[str, str]] = None,
timestamp: Optional[float] = None,
) -> Metric:
"""
Creates a summary metric for floats.
The value will be serialized as
"gauge,min=[min],max=[max],sum=[sum],count=[count]".
:param metric_name: The name of the metric.
:param min: The smallest value in the summary.
:param max: The largest value in the summary.
:param sum: The sum of all values in the summary.
:param count: The number of observations combined in the summary.
:param dimensions: An optional dictionary to add as dimensions on this
metric.
:param timestamp: An optional timestamp (Unix time, in milliseconds).
:return: A :class:`Metric` object.
"""
self.__logger.debug("creating float summary (%s) with values: "
"min: %f, max: %f, sum: %f, count: %f",
metric_name, min, max, sum, count)
return Metric(metric_name, SummaryValue(min, max, sum, count),
dimensions, timestamp)
| 40.861538
| 79
| 0.604292
| 961
| 7,968
| 4.940687
| 0.173777
| 0.050548
| 0.029486
| 0.028644
| 0.734204
| 0.722409
| 0.70556
| 0.700505
| 0.700505
| 0.700505
| 0
| 0.001463
| 0.313881
| 7,968
| 194
| 80
| 41.072165
| 0.86702
| 0.485316
| 0
| 0.632911
| 0
| 0
| 0.088659
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.088608
| false
| 0
| 0.050633
| 0
| 0.227848
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
14d27842a262ba2e52a8e30b179a00748565fdb7
| 65
|
py
|
Python
|
logic/__init__.py
|
tooreht/airstripmap
|
7a65e67e417870c6853fd1adb848cf91d724f566
|
[
"MIT"
] | null | null | null |
logic/__init__.py
|
tooreht/airstripmap
|
7a65e67e417870c6853fd1adb848cf91d724f566
|
[
"MIT"
] | null | null | null |
logic/__init__.py
|
tooreht/airstripmap
|
7a65e67e417870c6853fd1adb848cf91d724f566
|
[
"MIT"
] | null | null | null |
"""Logic engines."""
from .haja_wingman import HajaWingmanLogic
| 16.25
| 42
| 0.769231
| 7
| 65
| 7
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.107692
| 65
| 3
| 43
| 21.666667
| 0.844828
| 0.215385
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 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
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
0914fb9dd1f07a0cc7f350504ccea35ee0505f1a
| 231
|
py
|
Python
|
grpclib/_registry.py
|
artificial-aidan/grpclib
|
948e32a29a4ad82ebbfdbb681f7a797f6233bff3
|
[
"BSD-3-Clause"
] | 754
|
2017-08-01T23:41:24.000Z
|
2022-03-31T09:03:24.000Z
|
grpclib/_registry.py
|
artificial-aidan/grpclib
|
948e32a29a4ad82ebbfdbb681f7a797f6233bff3
|
[
"BSD-3-Clause"
] | 154
|
2017-09-17T21:58:38.000Z
|
2022-03-10T20:58:39.000Z
|
grpclib/_registry.py
|
artificial-aidan/grpclib
|
948e32a29a4ad82ebbfdbb681f7a797f6233bff3
|
[
"BSD-3-Clause"
] | 86
|
2017-09-17T12:53:23.000Z
|
2022-02-16T21:59:24.000Z
|
import typing
import weakref
if typing.TYPE_CHECKING:
from .server import Server
from .client import Channel
servers: 'weakref.WeakSet[Server]' = weakref.WeakSet()
channels: 'weakref.WeakSet[Channel]' = weakref.WeakSet()
| 23.1
| 56
| 0.757576
| 28
| 231
| 6.214286
| 0.464286
| 0.321839
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.138528
| 231
| 9
| 57
| 25.666667
| 0.874372
| 0
| 0
| 0
| 0
| 0
| 0.203463
| 0.203463
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.571429
| 0
| 0.571429
| 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
| 0
| 0
| 0
|
0
| 5
|
0941116c8d1ffcf41ceeeaef027b789290a7dbef
| 22,567
|
py
|
Python
|
basis_kernels/basis_kernel_gaussian.py
|
saadlabyad/aslsd
|
95a1cc660079972b45a77ec6dc587d9225489212
|
[
"BSD-3-Clause"
] | null | null | null |
basis_kernels/basis_kernel_gaussian.py
|
saadlabyad/aslsd
|
95a1cc660079972b45a77ec6dc587d9225489212
|
[
"BSD-3-Clause"
] | null | null | null |
basis_kernels/basis_kernel_gaussian.py
|
saadlabyad/aslsd
|
95a1cc660079972b45a77ec6dc587d9225489212
|
[
"BSD-3-Clause"
] | null | null | null |
# License: BSD 3 clause
import numpy as np
from aslsd.basis_kernels.basis_kernel import BasisKernel
from aslsd.utilities import useful_functions as uf
dict_upsilon = {}
def upsilon_gauss_null(t, s, vars_1, vars_2):
return 0.*t
dict_upsilon['NullKernel'] = upsilon_gauss_null
def upsilon_gauss_gauss(t, s, vars_1, vars_2):
omega_1 = vars_1[0]
beta_1 = vars_1[1]
delta_1 = vars_1[2]
omega_2 = vars_2[0]
beta_2 = vars_2[1]
delta_2 = vars_2[2]
sum_beta = np.sqrt(beta_1**2+beta_2**2)
b_s = (beta_1*beta_2)/sum_beta
d_s = (uf.share_ratio(beta_2**2, beta_1**2)*delta_1
+ uf.share_ratio(beta_1**2, beta_2**2)*(delta_2-s))
return (omega_1*omega_2*uf.gaussian_pdf(s, delta_2-delta_1, sum_beta)
* uf.gaussian_int(-d_s/b_s, (t-d_s)/b_s))
dict_upsilon['GaussianKernel'] = upsilon_gauss_gauss
def upsilon_gauss_exp(t, s, vars_1, vars_2):
omega_1 = vars_1[0]
beta_1 = vars_1[1]
delta_1 = vars_1[2]
omega_2 = vars_2[0]
beta_2 = vars_2[1]
d_s = delta_1-beta_2*beta_1**2
return (omega_1*omega_2*beta_2
* np.exp(-beta_2*(delta_1+s-0.5*beta_2*beta_1**2))
* uf.gaussian_int(-d_s/beta_1, (t-d_s)/beta_1))
dict_upsilon['ExponentialKernel'] = upsilon_gauss_exp
dict_diff_cross_upsilon = {}
def diff_cross_upsilon_gauss_null(t, s, ix_func, ix_diff, vars_1, vars_2):
return 0.*t
dict_diff_cross_upsilon['NullKernel'] = diff_cross_upsilon_gauss_null
def diff_cross_upsilon_gauss_gauss(t, s, ix_func, ix_diff, vars_1, vars_2):
omega_1 = vars_1[0]
beta_1 = vars_1[1]
delta_1 = vars_1[2]
omega_2 = vars_2[0]
beta_2 = vars_2[1]
delta_2 = vars_2[2]
sum_beta = np.sqrt(beta_1**2+beta_2**2)
b_s = (beta_1*beta_2)/sum_beta
d_s = (uf.share_ratio(beta_2**2, beta_1**2)*delta_1
+ uf.share_ratio(beta_1**2, beta_2**2)*(delta_2-s))
if ix_func == 1:
# Derivative with respect to \omega_1
if ix_diff == 0:
return (omega_2*uf.gaussian_pdf(s, delta_2-delta_1, sum_beta)
* uf.gaussian_int(-d_s/b_s, (t-d_s)/b_s))
# Derivative with respect to \beta_1
elif ix_diff == 1:
cdf_term = ((beta_1/sum_beta**2)
* (((s-delta_2+delta_1)**2/sum_beta**2)-1)
* uf.gaussian_int(-d_s/b_s, (t-d_s)/b_s))
offset_coeff = 2*beta_1*(delta_2-delta_1-s)/sum_beta**2
pdf_term = -((beta_2/(beta_1*sum_beta**2))
* ((offset_coeff+((t-d_s)/beta_1))
* uf.gaussian_pdf((t-d_s)/b_s)
- (offset_coeff-d_s/beta_1)
* uf.gaussian_pdf(-d_s/b_s)))
return (omega_1*omega_2
* uf.gaussian_pdf(s, delta_2-delta_1, sum_beta)
* (cdf_term+pdf_term))
# Derivative with respect to \delta_1
elif ix_diff == 2:
cdf_term = (((delta_2-s-delta_1)/sum_beta**2)
* uf.gaussian_int(-d_s/b_s, (t-d_s)/b_s))
pdf_term = -((beta_2/(beta_1*sum_beta**2))
* (uf.gaussian_pdf((t-d_s)/b_s)
- uf.gaussian_pdf(-d_s/b_s)))
return (omega_1*omega_2
* uf.gaussian_pdf(s, delta_2-delta_1, sum_beta)
* (cdf_term+pdf_term))
else:
raise ValueError("The argument ix_diff = ", ix_diff, "is not a ",
"valid differentiation index")
elif ix_func == 2:
# Derivative with respect to \omega_2
if ix_diff == 0:
return (omega_1*uf.gaussian_pdf(s, delta_2-delta_1, sum_beta)
* uf.gaussian_int(-d_s/b_s, (t-d_s)/b_s))
# Derivative with respect to \beta_2
elif ix_diff == 1:
cdf_term = ((beta_2/sum_beta**2)
* (((s-delta_2+delta_1)**2/sum_beta**2)-1)
* uf.gaussian_int(-d_s/b_s, (t-d_s)/b_s))
offset_coeff = 2*beta_2*(delta_1-delta_2+s)/sum_beta**2
pdf_term = -((beta_1/(beta_2*sum_beta**2))
* ((offset_coeff-((t-d_s)/beta_2))
* uf.gaussian_pdf((t-d_s)/b_s)
- (offset_coeff+d_s/beta_2)
* uf.gaussian_pdf(-d_s/b_s)))
return (omega_2*omega_1
* uf.gaussian_pdf(s, delta_2-delta_1, sum_beta)
* (cdf_term+pdf_term))
# Derivative with respect to \delta_2
elif ix_diff == 2:
cdf_term = (((delta_1+s-delta_2)/sum_beta**2)
* uf.gaussian_int(-d_s/b_s, (t-d_s)/b_s))
pdf_term = -((beta_1/(beta_2*sum_beta**2))
* (uf.gaussian_pdf((t-d_s)/b_s)
- uf.gaussian_pdf(-d_s/b_s)))
return (omega_2*omega_1
* uf.gaussian_pdf(s, delta_2-delta_1, sum_beta)
* (cdf_term+pdf_term))
else:
raise ValueError("The argument ix_diff = ", ix_diff, "is not a ",
"valid differentiation index")
dict_diff_cross_upsilon['GaussianKernel'] = diff_cross_upsilon_gauss_gauss
def diff_cross_upsilon_gauss_exp(t, s, ix_func, ix_diff, vars_1, vars_2):
omega_1 = vars_1[0]
beta_1 = vars_1[1]
delta_1 = vars_1[2]
omega_2 = vars_2[0]
beta_2 = vars_2[1]
if ix_func == 1:
# Derivative with respect to \omega_1
if ix_diff == 0:
d_s = delta_1-beta_2*beta_1**2
# Overflow problem of the exponential for this upsilon ...
return np.where(-beta_2*(delta_1+s-0.5*beta_2*beta_1**2) > 10**2,
0., omega_2*beta_2
* np.exp(-beta_2*(delta_1+s-0.5*beta_2*beta_1**2))
* uf.gaussian_int(-d_s/beta_1, (t-d_s)/beta_1))
# Derivative with respect to \beta_1
elif ix_diff == 1:
d_s = delta_1+s-beta_2*beta_1**2
cdf_term = (beta_1*(beta_2**2)
* uf.gaussian_int(-d_s/beta_1, (t-d_s)/beta_1))
pdf_term = ((beta_2-((t-delta_1)/beta_1**2))
* uf.gaussian_pdf((t-d_s)/beta_1)
- (beta_2+(delta_1/beta_1**2))
* uf.gaussian_pdf(-d_s/beta_1))
return (omega_1*omega_2*beta_2
* np.exp(-beta_2*(delta_1+s-0.5*beta_2*beta_1**2))
* (cdf_term+pdf_term))
# Derivative with respect to \delta_1
elif ix_diff == 2:
d_s = (delta_1+s-beta_2*beta_1**2)/beta_1
cdf_term = -beta_2*uf.gaussian_int(-d_s, t/beta_1-d_s)
pdf_term = (-1./beta_1)*(uf.gaussian_pdf(t/beta_1-d_s)
- uf.gaussian_pdf(-d_s))
return (omega_1*omega_2*beta_2
* np.exp(-beta_2*(delta_1+s-0.5*beta_2*beta_1**2))
* (cdf_term+pdf_term))
else:
raise ValueError("The argument ix_diff = ", ix_diff, "is not a ",
"valid differentiation index")
elif ix_func == 2:
# Derivative with respect to \omega_2
if ix_diff == 0:
d_s = delta_1-beta_2*beta_1**2
return (omega_1*beta_2
* np.exp(-beta_2*(delta_1+s-0.5*beta_2*beta_1**2))
* uf.gaussian_int(-d_s/beta_1, (t-d_s)/beta_1))
# Derivative with respect to \beta_2
elif ix_diff == 1:
d_s = (delta_1-beta_2*beta_1**2)/beta_1
cdf_term = (((1./beta_2)-delta_1-s+0.5*beta_2*beta_1**2)
* uf.gaussian_int(-d_s, (t/beta_1)-d_s))
pdf_term = beta_1*(uf.gaussian_pdf((t/beta_1)-d_s)
- uf.gaussian_pdf(-d_s))
return (omega_2*omega_1*beta_2
* np.exp(-beta_2*(delta_1+s-0.5*beta_2*beta_1**2))
* (cdf_term+pdf_term))
else:
raise ValueError("The argument ix_diff = ", ix_diff, "is not a ",
"valid differentiation index")
dict_diff_cross_upsilon['ExponentialKernel'] = diff_cross_upsilon_gauss_exp
dict_l2_dot = {}
def l2_dot_gauss_null(vars_1, vars_2):
return 0.
dict_l2_dot['NullKernel'] = l2_dot_gauss_null
def l2_dot_gauss_gauss(vars_1, vars_2):
omega_1 = vars_1[0]
beta_1 = vars_1[1]
delta_1 = vars_1[2]
omega_2 = vars_2[0]
beta_2 = vars_2[1]
delta_2 = vars_2[2]
sum_beta = np.sqrt(beta_1**2+beta_2**2)
b_s = (beta_1*beta_2)/sum_beta
d_s = (uf.share_ratio(beta_2**2, beta_1**2)*delta_1
+ uf.share_ratio(beta_1**2, beta_2**2)*(delta_2))
return (omega_1*omega_2*uf.gaussian_pdf(0., delta_2-delta_1, sum_beta)
* uf.normal_cdf(d_s/b_s))
dict_l2_dot['GaussianKernel'] = l2_dot_gauss_gauss
def l2_dot_gauss_exp(vars_1, vars_2):
omega_1 = vars_1[0]
beta_1 = vars_1[1]
delta_1 = vars_1[2]
omega_2 = vars_2[0]
beta_2 = vars_2[1]
return (omega_1*omega_2*beta_2
* np.exp(-beta_2*(delta_1-0.5*beta_2*beta_1**2))
* uf.normal_cdf((delta_1-beta_2*beta_1**2)/beta_1))
dict_l2_dot['ExponentialKernel'] = l2_dot_gauss_exp
dict_diff_l2_dot = {}
def diff_l2_dot_gauss_null(ix_func, ix_diff, vars_1, vars_2):
return 0.
dict_diff_l2_dot['NullKernel'] = l2_dot_gauss_null
def diff_l2_dot_gauss_gauss(ix_func, ix_diff, vars_1, vars_2):
omega_1 = vars_1[0]
beta_1 = vars_1[1]
delta_1 = vars_1[2]
omega_2 = vars_2[0]
beta_2 = vars_2[1]
delta_2 = vars_2[2]
if ix_func == 1:
if ix_diff == 0:
sum_beta = np.sqrt(beta_1**2+beta_2**2)
b_s = (beta_1*beta_2)/sum_beta
d_s = (uf.share_ratio(beta_2**2, beta_1**2)*delta_1
+ uf.share_ratio(beta_1**2, beta_2**2)*(delta_2))
return (omega_2*uf.gaussian_pdf(0., delta_2-delta_1, sum_beta)
* uf.normal_cdf(d_s/b_s))
elif ix_diff == 1:
return
elif ix_diff == 2:
return
elif ix_func == 2:
if ix_diff == 0:
sum_beta = np.sqrt(beta_1**2+beta_2**2)
b_s = (beta_1*beta_2)/sum_beta
d_s = (uf.share_ratio(beta_2**2, beta_1**2)*delta_1
+ uf.share_ratio(beta_1**2, beta_2**2)*(delta_2))
return (omega_1*uf.gaussian_pdf(0., delta_2-delta_1, sum_beta)
* uf.normal_cdf(d_s/b_s))
elif ix_diff == 1:
return
elif ix_diff == 2:
return
dict_diff_l2_dot['GaussianKernel'] = diff_l2_dot_gauss_gauss
def diff_l2_dot_gauss_exp(ix_func, ix_diff, vars_1, vars_2):
omega_1 = vars_1[0]
beta_1 = vars_1[1]
delta_1 = vars_1[2]
omega_2 = vars_2[0]
beta_2 = vars_2[1]
if ix_func == 1:
if ix_diff == 0:
return (omega_2*beta_2
* np.exp(-beta_2*(delta_1-0.5*beta_2*beta_1**2))
* uf.normal_cdf((delta_1-beta_2*beta_1**2)/beta_1))
elif ix_diff == 1:
return
elif ix_diff == 2:
return
elif ix_func == 2:
if ix_diff == 0:
return (omega_1*beta_2
* np.exp(-beta_2*(delta_1-0.5*beta_2*beta_1**2))
* uf.normal_cdf((delta_1-beta_2*beta_1**2)/beta_1))
elif ix_diff == 1:
return
dict_diff_l2_dot['ExponentialKernel'] = diff_l2_dot_gauss_exp
dict_kl_divergence = {}
def kl_divergence_gauss_gauss(basis_kern_2, vars_1, vars_2):
beta_1 = vars_1[1]
delta_1 = vars_1[2]
beta_2 = vars_2[1]
delta_2 = vars_2[2]
return (np.log(beta_2/beta_1)-0.5
+ ((beta_1**2+(delta_1-delta_2)**2)/(2*beta_2**2)))
dict_kl_divergence['GaussianKernel'] = kl_divergence_gauss_gauss
dict_diff_kl_divergence = {}
def diff_kl_divergence_gauss_gauss(basis_kern_2, ix_func, ix_diff, vars_1,
vars_2):
beta_1 = vars_1[1]
delta_1 = vars_1[2]
beta_2 = vars_2[1]
delta_2 = vars_2[2]
if ix_func == 1:
# Derivative with respect to \beta_1
if ix_diff == 1:
return -(1./beta_1)+beta_1/beta_2**2
# Derivative with respect to \delta_1
elif ix_diff == 2:
return (delta_1-delta_2)/beta_2**2
elif ix_func == 2:
# Derivative with respect to \beta_2
if ix_diff == 1:
# Diff beta_2
return 1./beta_2-(beta_1**2+(delta_1-delta_2)**2)/beta_2**3
# Derivative with respect to \delta_2
elif ix_diff == 2:
return -(delta_1-delta_2)/beta_2**2
else:
raise ValueError("The argument ix_diff = ", ix_diff, "is not a ",
"valid differentiation index")
dict_diff_kl_divergence['GaussianKernel'] = diff_kl_divergence_gauss_gauss
class GaussianKernel(BasisKernel):
"""
Class for Gaussian basis kernels. The associated basis function
is defined for all :math:`t \\geq 0` by
.. math::
f_{\\vartheta}(t) := \\frac{\\omega}{\\beta\\sqrt{2\\pi}}\\exp\\bigg(-\\frac{(t-\\delta)^2}{2\\beta^2}\\bigg).
The parameters of this basis kernel are given by
.. math::
\\vartheta := (\\omega,\\beta,\\delta).
where
* :math:`\\omega \\geq 0` controls the :math:`L_{1}` norm of :math:`f`;
* :math:`\\beta > 0` is the standard deviation of the Gaussian;
* :math:`\\delta > 0` is the mean of the Gaussian.
Notes
------
The closed form expressions for the derivatives of the functions
:math:`\\Phi`, :math:`\\Psi`, and :math:`\\Upsilon` are available in
Cartea, Á., Cohen, S. N., and Labyad, S., (November 22, 2021)
'Gradient-based estimation of linear Hawkes processes with general
kernels'.
`Available at SSRN. <https://ssrn.com/abstract=3969208>`_
"""
# Number of parameters
def get_n_vars(self):
return 3
# Bounds
def get_var_bounds(self):
return np.array([10**-8, 10**-8, 0.])
# Param names
def get_var_names(self):
omega = '$\u03C9$'
beta = '$\u03B2$'
delta = '$\u03B4$'
return [omega, beta, delta]
# Availabe interactions
def get_interactions(self, is_reverse=False):
if is_reverse:
return []
else:
return ['NullKernel', 'ExponentialKernel', 'GaussianKernel',
'TriangularKernel', 'RayleighKernel']
# Kernel functionals
def make_phi(self, t, vars_):
omega = vars_[0]
beta = vars_[1]
delta = vars_[2]
return omega*uf.gaussian_pdf(t, delta, beta)
def make_diff_phi(self, t, ix_diff, vars_):
omega = vars_[0]
beta = vars_[1]
delta = vars_[2]
# Derivative with respect to \omega
if ix_diff == 0:
return uf.gaussian_pdf(t, delta, beta)
# Derivative with respect to \beta
elif ix_diff == 1:
return ((omega/beta)*uf.gaussian_pdf(t, delta, beta)
* (((t-delta)/beta)**2-1.))
# Derivative with respect to \delta
elif ix_diff == 2:
return omega*((t-delta)/beta**2)*uf.gaussian_pdf(t, delta, beta)
def make_psi(self, t, vars_):
omega = vars_[0]
beta = vars_[1]
delta = vars_[2]
return omega*uf.gaussian_int(-delta/beta, (t-delta)/beta)
def make_diff_psi(self, t, ix_diff, vars_):
omega = vars_[0]
beta = vars_[1]
delta = vars_[2]
# Derivative with respect to \omega
if ix_diff == 0:
return uf.gaussian_int(-delta/beta, (t-delta)/beta)
# Derivative with respect to \beta
elif ix_diff == 1:
return (omega/beta**2)*((delta-t)*uf.gaussian_pdf((t-delta)/beta)-delta*uf.gaussian_pdf(-delta/beta))
# Derivative with respect to \delta
elif ix_diff == 2:
return -(omega/beta)*(uf.gaussian_pdf((t-delta)/beta)
- uf.gaussian_pdf(-delta/beta))
else:
raise ValueError("The argument ix_diff = ", ix_diff, "is not a ",
"valid differentiation index for basis kernels",
"of type ", str(self.__class__))
def make_upsilon(self, basis_kern_2, t, s, vars_1, vars_2):
ker_type = str(type(basis_kern_2))
ker_type = ker_type.split('.')[-1][:-2]
return dict_upsilon[ker_type](t, s, vars_1, vars_2)
def make_upsilon_rev(self, basis_kern_2, t, s, vars_2, vars_1):
pass
def make_diff_sim_upsilon(self, t, s, ix_diff, vars_):
omega = vars_[0]
beta = vars_[1]
delta = vars_[2]
# Derivative with respect to \omega
if ix_diff == 0:
return (2.*omega*uf.gaussian_pdf(s, 0., np.sqrt(2.)*beta)*uf.gaussian_int(-np.sqrt(2.)*delta/beta, np.sqrt(2.)*(t-delta)/beta))
# Derivative with respect to \beta
elif ix_diff == 1:
cdf_term = (((s**2-2*beta**2)/(2*beta**3))
* uf.gaussian_int(-np.sqrt(2)*(delta-0.5*s)/beta,
np.sqrt(2)*(t-delta+0.5*s)/beta))
pdf_term = -((np.sqrt(2)*(t-delta+0.5*s)/beta**2)
* uf.gaussian_pdf((np.sqrt(2)*(t-delta+0.5*s)/beta))
- (np.sqrt(2)*(-delta+0.5*s)/beta**2)
* uf.gaussian_pdf(-(np.sqrt(2)*(delta-0.5*s)/beta)))
return (omega**2*uf.gaussian_pdf(s, 0., np.sqrt(2.)*beta)
* (cdf_term+pdf_term))
# Derivative with respect to \delta
elif ix_diff == 2:
return -((omega**2*np.sqrt(2)/beta)
* uf.gaussian_pdf(s, 0., np.sqrt(2.)*beta)
* (uf.gaussian_pdf(np.sqrt(2)*(t-delta+s/2.)/beta)
- uf.gaussian_pdf(-np.sqrt(2)*(delta-s/2.)/beta)))
else:
raise ValueError("The argument ix_diff = ", ix_diff, "is not a ",
"valid differentiation index for basis kernels",
"of type ", str(self.__class__))
def make_diff_cross_upsilon(self, basis_kern_2, t, s, ix_func, ix_diff,
vars_1, vars_2):
ker_type = str(type(basis_kern_2))
ker_type = ker_type.split('.')[-1][:-2]
return dict_diff_cross_upsilon[ker_type](t, s, ix_func, ix_diff,
vars_1, vars_2)
def make_diff_cross_upsilon_rev(self, basis_kern_2, t, s, ix_func, ix_diff,
vars_2, vars_1):
pass
# Simulatiom
def make_simu_func(self, rng, vars_, size=1):
beta = vars_[1]
delta = vars_[2]
return rng.normal(loc=delta, scale=beta, size=size)
# Metrics
def make_l1_norm(self, vars_):
omega = vars_[0]
beta = vars_[1]
delta = vars_[2]
return omega*uf.normal_cdf(delta/beta)
def make_diff_l1_norm(self, ix_diff, vars_):
omega = vars_[0]
beta = vars_[1]
delta = vars_[2]
# Derivative with respect to \omega
if ix_diff == 0:
return uf.normal_cdf(delta/beta)
# Derivative with respect to \belta
elif ix_diff == 1:
return
# Derivative with respect to \delta
elif ix_diff == 2:
return (omega/beta)*uf.gaussian_pdf(-delta/beta, 0., 0.)
else:
raise ValueError("The argument ix_diff = ", ix_diff, "is not a ",
"valid differentiation index for basis kernels",
"of type ", str(self.__class__))
def make_l2_norm(self, vars_):
omega = vars_[0]
beta = vars_[1]
delta = vars_[2]
return (omega**2*uf.gaussian_pdf(0., 0., np.sqrt(2)*beta)
* uf.normal_cdf(np.sqrt(2)*delta/beta))
def make_diff_l2_norm(self, ix_diff, vars_):
omega = vars_[0]
beta = vars_[1]
delta = vars_[2]
# Derivative with respect to \omega
if ix_diff == 0:
return (2.*omega*uf.gaussian_pdf(0., 0., np.sqrt(2.)*beta)
* uf.normal_cdf(np.sqrt(2.)*delta/beta))
# Derivative with respect to \beta
elif ix_diff == 1:
return
# Derivative with respect to \delta
elif ix_diff == 2:
return
else:
raise ValueError("The argument ix_diff = ", ix_diff, "is not a ",
"valid differentiation index for basis kernels",
"of type ", str(self.__class__))
def make_l2_dot(self, basis_kern_2, vars_1, vars_2):
ker_type = str(type(basis_kern_2))
ker_type = ker_type.split('.')[-1][:-2]
return dict_l2_dot[ker_type](vars_1, vars_2)
def make_diff_l2_dot(self, basis_kern_2, ix_func, ix_diff, vars_1, vars_2):
ker_type = str(type(basis_kern_2))
ker_type = ker_type.split('.')[-1][:-2]
return dict_diff_l2_dot[ker_type](ix_func, ix_diff, vars_1, vars_2)
# KL divergence
def make_kl_divergence(self, basis_kern_2, vars_1, vars_2):
return dict_diff_kl_divergence[str(type(basis_kern_2))](vars_1, vars_2)
def make_kl_divergence_rev(self, basis_kern_2, vars_2, vars_1):
pass
def make_diff_kl_divergence(self, basis_kern_2, ix_func, ix_diff, vars_1,
vars_2):
ker_type = str(type(basis_kern_2))
ker_type = ker_type.split('.')[-1][:-2]
return dict_diff_kl_divergence[ker_type](ix_func, ix_diff, vars_1,
vars_2)
def make_diff_kl_divergence_rev(self, basis_kern_2, ix_func, ix_diff,
vars_2, vars_1):
pass
| 36.63474
| 140
| 0.53915
| 3,368
| 22,567
| 3.284442
| 0.052257
| 0.050624
| 0.049358
| 0.062376
| 0.827337
| 0.774001
| 0.750136
| 0.717501
| 0.667691
| 0.643826
| 0
| 0.056139
| 0.333806
| 22,567
| 615
| 141
| 36.694309
| 0.679659
| 0.093942
| 0
| 0.652074
| 0
| 0
| 0.047106
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.087558
| false
| 0.009217
| 0.006912
| 0.016129
| 0.248848
| 0
| 0
| 0
| 0
| null | 0
| 0
| 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
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
117b27ea8bc05df5262e2336b512c859bfa4fe64
| 291
|
py
|
Python
|
swa/tfkeras.py
|
simon-larsson/keras-swa
|
3467e2db6d218da26609fa6a5548e28d2960e937
|
[
"MIT"
] | 52
|
2019-10-04T04:44:00.000Z
|
2022-02-07T20:09:51.000Z
|
swa/tfkeras.py
|
simon-larsson/keras-swa
|
3467e2db6d218da26609fa6a5548e28d2960e937
|
[
"MIT"
] | 8
|
2019-12-06T16:39:51.000Z
|
2021-09-28T17:40:28.000Z
|
swa/tfkeras.py
|
simon-larsson/keras-swa
|
3467e2db6d218da26609fa6a5548e28d2960e937
|
[
"MIT"
] | 11
|
2019-11-04T05:17:17.000Z
|
2021-12-08T14:19:36.000Z
|
""" Tensorflow Keras SWA Object
"""
import tensorflow.keras.backend as K
from tensorflow.keras.callbacks import Callback
from tensorflow.keras.layers import BatchNormalization
from .callback import create_swa_callback_class
SWA = create_swa_callback_class(K, Callback, BatchNormalization)
| 29.1
| 64
| 0.838488
| 37
| 291
| 6.432432
| 0.405405
| 0.252101
| 0.159664
| 0.184874
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.099656
| 291
| 9
| 65
| 32.333333
| 0.908397
| 0.092784
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.8
| 0
| 0.8
| 0
| 0
| 0
| 0
| null | 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
1199f538029fd56427d9598edf5359023d0e72b2
| 126
|
py
|
Python
|
vim_kernel/__main__.py
|
mattn/vim_kernel
|
7ac2a85520d08198d70a8c002a86b4a246460865
|
[
"MIT"
] | 28
|
2018-12-24T16:11:42.000Z
|
2022-03-19T15:11:15.000Z
|
vim_kernel/__main__.py
|
mattn/vim_kernel
|
7ac2a85520d08198d70a8c002a86b4a246460865
|
[
"MIT"
] | 3
|
2020-01-27T13:36:19.000Z
|
2020-02-01T07:56:13.000Z
|
vim_kernel/__main__.py
|
mattn/vim_kernel
|
7ac2a85520d08198d70a8c002a86b4a246460865
|
[
"MIT"
] | 1
|
2020-01-27T11:23:14.000Z
|
2020-01-27T11:23:14.000Z
|
from ipykernel.kernelapp import IPKernelApp
from .kernel import VimKernel
IPKernelApp.launch_instance(kernel_class=VimKernel)
| 31.5
| 51
| 0.880952
| 15
| 126
| 7.266667
| 0.666667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.071429
| 126
| 3
| 52
| 42
| 0.931624
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.666667
| 0
| 0.666667
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
ee9323deb30b73c2f169e932f92e6d185dc8ee36
| 103
|
py
|
Python
|
CodeWars/2016/NoZero-8k.py
|
JLJTECH/TutorialTesting
|
f2dbbd49a86b3b086d0fc156ac3369fb74727f86
|
[
"MIT"
] | null | null | null |
CodeWars/2016/NoZero-8k.py
|
JLJTECH/TutorialTesting
|
f2dbbd49a86b3b086d0fc156ac3369fb74727f86
|
[
"MIT"
] | null | null | null |
CodeWars/2016/NoZero-8k.py
|
JLJTECH/TutorialTesting
|
f2dbbd49a86b3b086d0fc156ac3369fb74727f86
|
[
"MIT"
] | null | null | null |
#Remove zero's from end of input
def no_boring_zeros(n):
return int(str(n).strip("0")) if n else n
| 25.75
| 45
| 0.68932
| 22
| 103
| 3.136364
| 0.863636
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.011765
| 0.174757
| 103
| 3
| 46
| 34.333333
| 0.8
| 0.300971
| 0
| 0
| 0
| 0
| 0.014085
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.5
| false
| 0
| 0
| 0.5
| 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
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 5
|
ee9722937435f3046705cea399241658c7986c8a
| 15
|
py
|
Python
|
stdlib/_imp.py
|
asakatida/chimera
|
da5ae03c94ada3d9e02c164f69199487e400b876
|
[
"MIT"
] | 2
|
2017-12-14T07:05:06.000Z
|
2021-02-07T03:31:27.000Z
|
stdlib/_imp.py
|
asakatida/chimera
|
da5ae03c94ada3d9e02c164f69199487e400b876
|
[
"MIT"
] | 149
|
2018-08-06T13:14:46.000Z
|
2019-11-19T02:00:56.000Z
|
stdlib/_imp.py
|
asakatida/chimera
|
da5ae03c94ada3d9e02c164f69199487e400b876
|
[
"MIT"
] | null | null | null |
"""_imp.py."""
| 7.5
| 14
| 0.4
| 2
| 15
| 2.5
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.066667
| 15
| 1
| 15
| 15
| 0.357143
| 0.533333
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.