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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d405afa599d0de335b643bdb4f60f66549b0f0c6
| 4,101
|
py
|
Python
|
gradient/api_sdk/models/job.py
|
Exitussru/GradientCI
|
014d4e36d8456e805b78e75562b8235221b62b9e
|
[
"0BSD"
] | null | null | null |
gradient/api_sdk/models/job.py
|
Exitussru/GradientCI
|
014d4e36d8456e805b78e75562b8235221b62b9e
|
[
"0BSD"
] | null | null | null |
gradient/api_sdk/models/job.py
|
Exitussru/GradientCI
|
014d4e36d8456e805b78e75562b8235221b62b9e
|
[
"0BSD"
] | null | null | null |
import attr
@attr.s
class Job(object):
id = attr.ib(type=str, default=None)
name = attr.ib(type=str, default=None)
state = attr.ib(type=str, default=None)
working_directory = attr.ib(type=str, default=None)
artifacts_directory = attr.ib(type=str, default=None)
entrypoint = attr.ib(type=str, default=None)
project_id = attr.ib(type=str, default=None)
project = attr.ib(type=str, default=None)
container = attr.ib(type=str, default=None)
container_url = attr.ib(type=str, default=None)
base_container = attr.ib(type=str, default=None)
base_container_url = attr.ib(type=str, default=None)
machine_type = attr.ib(type=str, default=None)
cluster = attr.ib(type=str, default=None)
cluster_id = attr.ib(type=str, default=None)
usage_rate = attr.ib(type=str, default=None)
started_by_user_id = attr.ib(type=str, default=None)
parent_job_id = attr.ib(type=str, default=None)
job_error = attr.ib(type=str, default=None)
dt_created = attr.ib(type=str, default=None)
dt_modified = attr.ib(type=str, default=None)
dt_provisioning_started = attr.ib(type=str, default=None)
dt_provisioning_finished = attr.ib(type=str, default=None)
dt_started = attr.ib(type=str, default=None)
dt_finished = attr.ib(type=str, default=None)
dt_teardown_started = attr.ib(type=str, default=None)
dt_teardown_finished = attr.ib(type=str, default=None)
dt_deleted = attr.ib(type=str, default=None)
exit_code = attr.ib(type=str, default=None)
queue_position = attr.ib(type=str, default=None)
seq_num = attr.ib(type=int, default=None)
storage_region = attr.ib(type=str, default=None)
cluster_machine = attr.ib(type=str, default=None)
fqdn = attr.ib(type=str, default=None)
ports = attr.ib(type=str, default=None)
is_public = attr.ib(type=bool, default=None)
container_user = attr.ib(type=str, default=None)
has_code = attr.ib(type=bool, default=None)
code_uploaded = attr.ib(type=bool, default=None)
code_commit = attr.ib(type=str, default=None)
run_till_cancelled = attr.ib(type=bool, default=None)
push_on_completion = attr.ib(type=bool, default=None)
new_image_name = attr.ib(type=str, default=None)
cpu_hostname = attr.ib(type=str, default=None)
cpu_count = attr.ib(type=int, default=None)
cpu_model = attr.ib(type=str, default=None)
cpu_flags = attr.ib(type=str, default=None)
cpu_mem = attr.ib(type=str, default=None)
gpu_name = attr.ib(type=str, default=None)
gpu_serial = attr.ib(type=str, default=None)
gpu_device = attr.ib(type=str, default=None)
gpu_driver = attr.ib(type=str, default=None)
gpu_count = attr.ib(type=int, default=None)
gpu_mem = attr.ib(type=str, default=None)
tpu_type = attr.ib(type=str, default=None)
tpu_name = attr.ib(type=str, default=None)
tpu_grpc_url = attr.ib(type=str, default=None)
tpu_tf_version = attr.ib(type=str, default=None)
tpu_dataset_dir = attr.ib(type=str, default=None)
tpu_model_dir = attr.ib(type=str, default=None)
target_node_attrs = attr.ib(type=dict, default=None)
job_env = attr.ib(type=dict, default=None)
shared_mem_mbytes = attr.ib(type=int, default=None)
shutdown_timeout = attr.ib(type=int, default=None)
is_preemptible = attr.ib(type=bool, default=None)
metrics_url = attr.ib(type=str, default=None)
custom_metrics = attr.ib(type=str, default=None)
experiment_id = attr.ib(type=str, default=None)
command = attr.ib(type=str, default=None)
workspace_file_name = attr.ib(type=str, default=None)
use_dockerfile = attr.ib(type=str, default=None)
rel_dockerfile_path = attr.ib(type=str, default=None)
registry_username = attr.ib(type=str, default=None)
registry_password = attr.ib(type=str, default=None)
build_only = attr.ib(type=bool, default=None)
registry_target = attr.ib(type=str, default=None)
registry_target_username = attr.ib(type=str, default=None)
registry_target_password = attr.ib(type=str, default=None)
tags = attr.ib(type=list, factory=list)
| 47.137931
| 62
| 0.707632
| 649
| 4,101
| 4.334361
| 0.164869
| 0.168503
| 0.280839
| 0.29577
| 0.811945
| 0.811945
| 0.613224
| 0.179168
| 0
| 0
| 0
| 0
| 0.156303
| 4,101
| 86
| 63
| 47.686047
| 0.813006
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0.02439
| 0.012195
| 0
| 0.987805
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 5
|
d40bf55e58e832de7c1e139b0810eabe25ee845e
| 354
|
py
|
Python
|
dbt/adapters/synapseserverless/impl.py
|
dbt-msft/dbt-synapse-serverless
|
953bbefc8067a1b787bca72efd1bede4744da138
|
[
"MIT"
] | 4
|
2021-10-04T20:15:29.000Z
|
2021-11-12T15:40:24.000Z
|
dbt/adapters/synapseserverless/impl.py
|
dbt-msft/dbt-synapse-serverless
|
953bbefc8067a1b787bca72efd1bede4744da138
|
[
"MIT"
] | 1
|
2022-03-30T07:27:06.000Z
|
2022-03-30T07:27:06.000Z
|
dbt/adapters/synapseserverless/impl.py
|
dbt-msft/dbt-synapse-serverless
|
953bbefc8067a1b787bca72efd1bede4744da138
|
[
"MIT"
] | null | null | null |
from dbt.adapters.synapse import SynapseAdapter
from dbt.adapters.synapseserverless import SynapseServerlessConnectionManager
from dbt.adapters.synapseserverless.relation import SynapseServerlessRelation
class SynapseServerlessAdapter(SynapseAdapter):
Relation = SynapseServerlessRelation
ConnectionManager = SynapseServerlessConnectionManager
| 39.333333
| 77
| 0.881356
| 26
| 354
| 12
| 0.5
| 0.067308
| 0.144231
| 0.205128
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.084746
| 354
| 9
| 78
| 39.333333
| 0.962963
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.5
| 0
| 1
| 0
| 1
| 0
| 1
| null | 0
| 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
|
d40f10f0e00000ae1b948392a581c0d8630a8dcb
| 54
|
py
|
Python
|
04/01/instance_method/time.py
|
pylangstudy/201709
|
53d868786d7327a83bfa7f4149549c6f9855a6c6
|
[
"CC0-1.0"
] | null | null | null |
04/01/instance_method/time.py
|
pylangstudy/201709
|
53d868786d7327a83bfa7f4149549c6f9855a6c6
|
[
"CC0-1.0"
] | 32
|
2017-09-01T00:52:17.000Z
|
2017-10-01T00:30:02.000Z
|
04/01/instance_method/time.py
|
pylangstudy/201709
|
53d868786d7327a83bfa7f4149549c6f9855a6c6
|
[
"CC0-1.0"
] | null | null | null |
import datetime
print(datetime.datetime.now().time())
| 18
| 37
| 0.777778
| 7
| 54
| 6
| 0.714286
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.055556
| 54
| 2
| 38
| 27
| 0.823529
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.5
| 0
| 0.5
| 0.5
| 1
| 0
| 0
| null | 0
| 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
|
d40f8cc6e15670b51197446587e41f929d88b7bc
| 81
|
py
|
Python
|
CodeWars/8 Kyu/String cleaning.py
|
anubhab-code/Competitive-Programming
|
de28cb7d44044b9e7d8bdb475da61e37c018ac35
|
[
"MIT"
] | null | null | null |
CodeWars/8 Kyu/String cleaning.py
|
anubhab-code/Competitive-Programming
|
de28cb7d44044b9e7d8bdb475da61e37c018ac35
|
[
"MIT"
] | null | null | null |
CodeWars/8 Kyu/String cleaning.py
|
anubhab-code/Competitive-Programming
|
de28cb7d44044b9e7d8bdb475da61e37c018ac35
|
[
"MIT"
] | null | null | null |
def string_clean(s):
return ''.join(ch for ch in s if ch not in '0123456789')
| 40.5
| 60
| 0.679012
| 16
| 81
| 3.375
| 0.75
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.153846
| 0.197531
| 81
| 2
| 60
| 40.5
| 0.676923
| 0
| 0
| 0
| 0
| 0
| 0.121951
| 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
|
d412a3c1193b2ec53da57b5457dda11e00c7a55c
| 75
|
py
|
Python
|
List_Swap.py
|
poojadhoble32/python-projects
|
4c094dd0072d4213344e26476e4e99a4a12246e7
|
[
"bzip2-1.0.6"
] | null | null | null |
List_Swap.py
|
poojadhoble32/python-projects
|
4c094dd0072d4213344e26476e4e99a4a12246e7
|
[
"bzip2-1.0.6"
] | null | null | null |
List_Swap.py
|
poojadhoble32/python-projects
|
4c094dd0072d4213344e26476e4e99a4a12246e7
|
[
"bzip2-1.0.6"
] | null | null | null |
L=[23,45,88,23,56,78,96]
Temp=L[0]
L[0]=L[-1]
L[-1]=Temp
print(L)
| 9.375
| 25
| 0.493333
| 20
| 75
| 1.85
| 0.55
| 0.108108
| 0.162162
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.295082
| 0.186667
| 75
| 7
| 26
| 10.714286
| 0.311475
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0.2
| 1
| 0
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
d43be0e2f80b22cec275825e4c50f64fad0ea984
| 113
|
py
|
Python
|
sandbox/python/global_vars/leak.py
|
rboman/progs
|
c60b4e0487d01ccd007bcba79d1548ebe1685655
|
[
"Apache-2.0"
] | 2
|
2021-12-12T13:26:06.000Z
|
2022-03-03T16:14:53.000Z
|
sandbox/python/global_vars/leak.py
|
rboman/progs
|
c60b4e0487d01ccd007bcba79d1548ebe1685655
|
[
"Apache-2.0"
] | 5
|
2019-03-01T07:08:46.000Z
|
2019-04-28T07:32:42.000Z
|
sandbox/python/global_vars/leak.py
|
rboman/progs
|
c60b4e0487d01ccd007bcba79d1548ebe1685655
|
[
"Apache-2.0"
] | 2
|
2017-12-13T13:13:52.000Z
|
2019-03-13T20:08:15.000Z
|
print('import mymod')
import mymod
print('calling mymod.func()')
aG = mymod.func()
print('end of', __file__)
| 12.555556
| 29
| 0.681416
| 16
| 113
| 4.5625
| 0.5625
| 0.30137
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.141593
| 113
| 8
| 30
| 14.125
| 0.752577
| 0
| 0
| 0
| 0
| 0
| 0.339286
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.4
| 0
| 0.4
| 0.6
| 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
| 0
| 0
| 1
| 0
| 0
| 1
|
0
| 5
|
00fb78fe7835a7048c88a2d350b01cbd77a69a6b
| 974
|
py
|
Python
|
brains/speak.py
|
timwford/wilson
|
90096cea4edc2c25f2ee18f717cc3cd81c546d6e
|
[
"MIT"
] | null | null | null |
brains/speak.py
|
timwford/wilson
|
90096cea4edc2c25f2ee18f717cc3cd81c546d6e
|
[
"MIT"
] | null | null | null |
brains/speak.py
|
timwford/wilson
|
90096cea4edc2c25f2ee18f717cc3cd81c546d6e
|
[
"MIT"
] | null | null | null |
import asyncio
from brains.enums import Sound
from motion import ser
async def manual_noise_for_(sound: str):
ser.write(str.encode(sound))
async def chirp():
ser.write(str.encode(Sound.HIGH_FAST.value))
ser.write(str.encode(Sound.LOW_FAST.value))
ser.write(str.encode(Sound.HIGH_SLOW.value))
async def low_beep():
ser.write(str.encode(Sound.LOW_SLOW.value))
ser.write(str.encode(Sound.LOW_SLOW.value))
async def peep(repeat: int = 3):
for i in range(repeat):
ser.write(str.encode(Sound.HIGH_FAST.value))
ser.write(str.encode(Sound.HIGH_FAST.value))
ser.write(str.encode(Sound.HIGH_FAST.value))
async def purr(repeat: int = 2):
for i in range(repeat):
ser.write(str.encode(Sound.LOW_SLOW.value))
await asyncio.sleep(0.2)
ser.write(str.encode(Sound.HIGH_SLOW.value))
await asyncio.sleep(0.2)
ser.write(str.encode(Sound.LOW_SLOW.value))
await asyncio.sleep(0.5)
| 26.324324
| 52
| 0.685832
| 155
| 974
| 4.212903
| 0.232258
| 0.147014
| 0.202144
| 0.312404
| 0.753446
| 0.719755
| 0.719755
| 0.715161
| 0.537519
| 0.537519
| 0
| 0.009988
| 0.177618
| 974
| 36
| 53
| 27.055556
| 0.805243
| 0
| 0
| 0.56
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.12
| 0
| 0.12
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 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
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
2e06eb6b131d97c17716a0d1dd9e334f46d0d5be
| 41
|
py
|
Python
|
main.py
|
Aukbit/apollo
|
0afd1360f5a102335c55afaf138e0ecb96644128
|
[
"MIT"
] | null | null | null |
main.py
|
Aukbit/apollo
|
0afd1360f5a102335c55afaf138e0ecb96644128
|
[
"MIT"
] | null | null | null |
main.py
|
Aukbit/apollo
|
0afd1360f5a102335c55afaf138e0ecb96644128
|
[
"MIT"
] | null | null | null |
from apollo.main import (app)
app = app
| 10.25
| 29
| 0.707317
| 7
| 41
| 4.142857
| 0.714286
| 0.413793
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.195122
| 41
| 3
| 30
| 13.666667
| 0.878788
| 0
| 0
| 0
| 0
| 0
| 0
| 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
|
2e09e15baa7456465ac81a7a181977f8b9e812ed
| 205
|
py
|
Python
|
colossalai/tensor/_ops/__init__.py
|
wangkuangyi/ColossalAI
|
67c33f57eb14f52da09a83f7577575f325280659
|
[
"Apache-2.0"
] | null | null | null |
colossalai/tensor/_ops/__init__.py
|
wangkuangyi/ColossalAI
|
67c33f57eb14f52da09a83f7577575f325280659
|
[
"Apache-2.0"
] | null | null | null |
colossalai/tensor/_ops/__init__.py
|
wangkuangyi/ColossalAI
|
67c33f57eb14f52da09a83f7577575f325280659
|
[
"Apache-2.0"
] | null | null | null |
from .linear import colo_linear
from .element_wise import *
from .layernorm import colo_layernorm
# from .loss import colo_cross_entropy
from .embedding import colo_embedding
from .addmm import colo_addmm
| 29.285714
| 38
| 0.839024
| 30
| 205
| 5.5
| 0.4
| 0.30303
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.121951
| 205
| 6
| 39
| 34.166667
| 0.916667
| 0.17561
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 0
| 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
| 1
| 0
|
0
| 5
|
2e410cb2a1d42ddef7e66b94793d5719006ba2dd
| 134
|
py
|
Python
|
Backend/lib/__init__.py
|
BloodyRookieStefan/Albatros_AutoReservation
|
ed2519b523f1388de9ae0475e26a4001f3ee5b98
|
[
"MIT"
] | 1
|
2021-05-15T21:03:39.000Z
|
2021-05-15T21:03:39.000Z
|
Backend/lib/__init__.py
|
BloodyRookieStefan/Albatros_AutoReservation
|
ed2519b523f1388de9ae0475e26a4001f3ee5b98
|
[
"MIT"
] | 1
|
2021-05-18T13:26:06.000Z
|
2021-05-22T07:59:22.000Z
|
Backend/lib/__init__.py
|
BloodyRookieStefan/Albatros_AutoReservation
|
ed2519b523f1388de9ae0475e26a4001f3ee5b98
|
[
"MIT"
] | null | null | null |
from .browser import CBrowser
from .progEnums import *
from .logging import log, log_warning, log_error
from .settings import settings
| 33.5
| 48
| 0.820896
| 19
| 134
| 5.684211
| 0.526316
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.126866
| 134
| 4
| 49
| 33.5
| 0.923077
| 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
|
2e6fd76f9339da94653aeb08a4e7a6e86b705028
| 3,702
|
py
|
Python
|
pydgn/model/interface.py
|
terragord7/PyDGN
|
60918b42126c25c8f8d4ab083a0e3d548f7092ca
|
[
"BSD-3-Clause"
] | 1
|
2022-03-05T07:10:13.000Z
|
2022-03-05T07:10:13.000Z
|
pydgn/model/interface.py
|
terragord7/PyDGN
|
60918b42126c25c8f8d4ab083a0e3d548f7092ca
|
[
"BSD-3-Clause"
] | null | null | null |
pydgn/model/interface.py
|
terragord7/PyDGN
|
60918b42126c25c8f8d4ab083a0e3d548f7092ca
|
[
"BSD-3-Clause"
] | null | null | null |
from typing import Callable, Tuple, Optional, List
import torch
from torch_geometric.data import Batch
class ModelInterface(torch.nn.Module):
r"""
Provides the signature for any main model to be trained under PyDGN
Args:
dim_node_features (int): dimension of node features (according to the :class:`~pydgn.data.dataset.DatasetInterface` property)
dim_edge_features (int): dimension of edge features (according to the :class:`~pydgn.data.dataset.DatasetInterface` property)
dim_target (int): dimension of the target (according to the :class:`~pydgn.data.dataset.DatasetInterface` property)
readout_class (Callable[...,:class:`torch.nn.Module`]): class of the module implementing the readout. This is optional, but useful to put different readouts to try in the config file
config (dict): config dictionary containing all the necessary hyper-parameters plus additional information (if needed)
"""
def __init__(self,
dim_node_features: int,
dim_edge_features: int,
dim_target: int,
readout_class: Callable[...,torch.nn.Module],
config: dict):
super().__init__()
self.dim_node_features = dim_node_features
self.dim_edge_features = dim_edge_features
self.dim_target = dim_target
self.readout_class = readout_class
self.config = config
def forward(self, data: Batch) -> Tuple[torch.Tensor, Optional[torch.Tensor], Optional[List[object]]]:
r"""
Performs a forward pass over a batch of graphs
Args:
data (:class:`torch_geometric.data.Batch`): a batch of graphs
Returns:
a tuple (model's output, [optional] node embeddings, [optional] additional outputs
"""
raise NotImplementedError('You need to implement this method!')
class ReadoutInterface(torch.nn.Module):
r"""
Provides the signature for any readout to be trained under PyDGN
Args:
dim_node_features (int): dimension of node features (according to the :class:`~pydgn.data.dataset.DatasetInterface` property)
dim_edge_features (int): dimension of edge features (according to the :class:`~pydgn.data.dataset.DatasetInterface` property)
dim_target (int): dimension of the target (according to the :class:`~pydgn.data.dataset.DatasetInterface` property)
config (dict): config dictionary containing all the necessary hyper-parameters plus additional information (if needed)
"""
def __init__(self,
dim_node_features: int,
dim_edge_features: int,
dim_target: int,
config: dict):
super().__init__()
self.dim_node_features = dim_node_features
self.dim_edge_features = dim_edge_features
self.dim_target = dim_target
self.config = config
def forward(self,
node_embeddings: torch.tensor,
batch: torch.Tensor,
**kwargs) -> Tuple[torch.Tensor, Optional[torch.Tensor], Optional[List[object]]]:
r"""
Performs a forward pass over a batch of graphs
Args:
node_embeddings (:class:`torch_geometric.data.Batch`): the node embeddings
batch (:class:`torch.Tensor`): the usual ``batch`` object of PyG
kwargs (dict): additional and optional arguments
Returns:
a tuple (model's output, [optional] node embeddings, [optional] additional outputs
"""
raise NotImplementedError('You need to implement this method!')
| 46.275
| 191
| 0.648298
| 434
| 3,702
| 5.380184
| 0.218894
| 0.051392
| 0.051392
| 0.048822
| 0.773448
| 0.749465
| 0.725482
| 0.725482
| 0.725482
| 0.691221
| 0
| 0
| 0.266613
| 3,702
| 80
| 192
| 46.275
| 0.860037
| 0.515397
| 0
| 0.578947
| 0
| 0
| 0.044884
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.105263
| false
| 0
| 0.078947
| 0
| 0.236842
| 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
|
5cf7bfe5a4f1c54a244cb4e157695174e2f3022c
| 61
|
py
|
Python
|
pvmismatch/contrib/xlsio/__init__.py
|
keenchan/pv
|
793f6fbc91f0a55cfec7f5861ce4e0acd8b8e5e1
|
[
"BSD-3-Clause"
] | 54
|
2017-05-17T17:48:32.000Z
|
2022-02-24T18:52:08.000Z
|
pvmismatch/contrib/xlsio/__init__.py
|
keenchan/pv
|
793f6fbc91f0a55cfec7f5861ce4e0acd8b8e5e1
|
[
"BSD-3-Clause"
] | 98
|
2017-01-12T04:56:01.000Z
|
2021-03-02T13:49:30.000Z
|
pvmismatch/contrib/xlsio/__init__.py
|
keenchan/pv
|
793f6fbc91f0a55cfec7f5861ce4e0acd8b8e5e1
|
[
"BSD-3-Clause"
] | 24
|
2017-01-11T23:30:53.000Z
|
2022-02-04T16:24:29.000Z
|
# API for xlsio
from pvmismatch.contrib.xlsio.xlsio import *
| 20.333333
| 44
| 0.786885
| 9
| 61
| 5.333333
| 0.777778
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.131148
| 61
| 2
| 45
| 30.5
| 0.90566
| 0.213115
| 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
|
5cf8f763626cf7bc3f497db30c61bc9358f2ec4a
| 276
|
py
|
Python
|
venv/lib/python3.8/site-packages/azureml/_cli/__main__.py
|
amcclead7336/Enterprise_Data_Science_Final
|
ccdc0aa08d4726bf82d71c11a1cc0c63eb301a28
|
[
"Unlicense",
"MIT"
] | null | null | null |
venv/lib/python3.8/site-packages/azureml/_cli/__main__.py
|
amcclead7336/Enterprise_Data_Science_Final
|
ccdc0aa08d4726bf82d71c11a1cc0c63eb301a28
|
[
"Unlicense",
"MIT"
] | null | null | null |
venv/lib/python3.8/site-packages/azureml/_cli/__main__.py
|
amcclead7336/Enterprise_Data_Science_Final
|
ccdc0aa08d4726bf82d71c11a1cc0c63eb301a28
|
[
"Unlicense",
"MIT"
] | 2
|
2021-05-23T16:46:31.000Z
|
2021-05-26T23:51:09.000Z
|
# ---------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# ---------------------------------------------------------
from azureml._cli import aml_cli
if __name__ == '__main__':
aml_cli.start_cli()
| 27.6
| 60
| 0.394928
| 20
| 276
| 4.85
| 0.8
| 0.123711
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.134058
| 276
| 9
| 61
| 30.666667
| 0.405858
| 0.626812
| 0
| 0
| 0
| 0
| 0.088889
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.333333
| 0
| 0.333333
| 0
| 1
| 0
| 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
| 1
| 0
| 0
| 0
|
0
| 5
|
cf11c98cad92351e18ced6dd9cf706badf4c12c1
| 360
|
py
|
Python
|
tcex/decorators/__init__.py
|
GShepherdTC/tcex
|
70b1199b8bb9e63f53e2ba792489267108c909cd
|
[
"Apache-2.0"
] | null | null | null |
tcex/decorators/__init__.py
|
GShepherdTC/tcex
|
70b1199b8bb9e63f53e2ba792489267108c909cd
|
[
"Apache-2.0"
] | null | null | null |
tcex/decorators/__init__.py
|
GShepherdTC/tcex
|
70b1199b8bb9e63f53e2ba792489267108c909cd
|
[
"Apache-2.0"
] | null | null | null |
"""Decorators module for TcEx Framework"""
# flake8: noqa
# first-party
from tcex.decorators.benchmark import Benchmark
from tcex.decorators.debug import Debug
from tcex.decorators.fail_on_output import FailOnOutput
from tcex.decorators.on_exception import OnException
from tcex.decorators.on_success import OnSuccess
from tcex.decorators.output import Output
| 36
| 55
| 0.844444
| 49
| 360
| 6.122449
| 0.428571
| 0.16
| 0.36
| 0.133333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.003067
| 0.094444
| 360
| 9
| 56
| 40
| 0.917178
| 0.172222
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 0
| 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
| 1
| 0
|
0
| 5
|
cf51a849f53c4c5bc96452fd6c298cd092000821
| 6,419
|
py
|
Python
|
polyglot/tests/test_ebook.py
|
connectthefuture/polyglot
|
7704da0722f9393dfc8d7d0971fa909116e567ed
|
[
"MIT"
] | null | null | null |
polyglot/tests/test_ebook.py
|
connectthefuture/polyglot
|
7704da0722f9393dfc8d7d0971fa909116e567ed
|
[
"MIT"
] | null | null | null |
polyglot/tests/test_ebook.py
|
connectthefuture/polyglot
|
7704da0722f9393dfc8d7d0971fa909116e567ed
|
[
"MIT"
] | null | null | null |
import os
import nose
import shutil
import yaml
from polyglot.utKit import utKit
from fundamentals import tools
su = tools(
arguments={"settingsFile": None},
docString=__doc__,
logLevel="DEBUG",
options_first=False,
projectName="polyglot"
)
arguments, settings, log, dbConn = su.setup()
# # load settings
# stream = file(
# "/Users/Dave/.config/polyglot/polyglot.yaml", 'r')
# settings = yaml.load(stream)
# stream.close()
# SETUP AND TEARDOWN FIXTURE FUNCTIONS FOR THE ENTIRE MODULE
moduleDirectory = os.path.dirname(__file__)
utKit = utKit(moduleDirectory)
log, dbConn, pathToInputDir, pathToOutputDir = utKit.setupModule()
utKit.tearDownModule()
# load settings
stream = file(
pathToInputDir + "/example_settings.yaml", 'r')
settings = yaml.load(stream)
stream.close()
# import shutil
try:
shutil.rmtree(pathToOutputDir)
except:
pass
# Recursively create missing directories
if not os.path.exists(pathToOutputDir):
os.makedirs(pathToOutputDir)
# xt-setup-unit-testing-files-and-folders
class test_ebook():
# def test_epub_function(self):
# from polyglot import ebook
# this = ebook(
# log=log,
# settings=settings,
# urlOrPath="http://www.thespacedoctor.co.uk/blog/2016/09/26/mysqlSucker-index.html",
# title=False,
# bookFormat="epub",
# outputDirectory=pathToOutputDir,
# header=False,
# footer=False
# )
# this._url_to_epub()
# from polyglot import ebook
# epub = ebook(
# log=log,
# settings=settings,
# urlOrPath="http://www.thespacedoctor.co.uk/blog/2016/09/26/mysqlSucker-index.html",
# title=False,
# bookFormat="epub",
# outputDirectory=pathToOutputDir,
# header='<a href="http://www.thespacedoctor.co.uk">thespacedoctor</a>',
# footer='<a href="http://www.thespacedoctor.co.uk">thespacedoctor</a>'
# )
# pathToEpub = epub.get()
# print pathToEpub
# from polyglot import ebook
# epub = ebook(
# log=log,
# settings=settings,
# urlOrPath="http://www.thespacedoctor.co.uk/blog/2016/09/26/mysqlSucker-index.html",
# title="my first book",
# bookFormat="epub",
# outputDirectory=pathToOutputDir,
# header='<a href="http://www.thespacedoctor.co.uk">thespacedoctor</a>',
# footer='<a href="http://www.thespacedoctor.co.uk">thespacedoctor</a>'
# )
# pathToEpub = epub.get()
# print pathToEpub
# def test_mobi_function(self):
# from polyglot import ebook
# mobi = ebook(
# log=log,
# settings=settings,
# urlOrPath="http://www.thespacedoctor.co.uk/blog/2016/09/26/mysqlSucker-index.html",
# title=False,
# bookFormat="mobi",
# outputDirectory=pathToOutputDir,
# header='<a href="http://www.thespacedoctor.co.uk">thespacedoctor</a>',
# footer='<a href="http://www.thespacedoctor.co.uk">thespacedoctor</a>'
# )
# pathToEpub = mobi.get()
# print pathToEpub
# from polyglot import ebook
# mobi = ebook(
# log=log,
# settings=settings,
# urlOrPath="http://www.thespacedoctor.co.uk/blog/2016/09/26/mysqlSucker-index.html",
# title="my first book",
# bookFormat="mobi",
# outputDirectory=pathToOutputDir,
# header='<a href="http://www.thespacedoctor.co.uk">thespacedoctor</a>',
# footer='<a href="http://www.thespacedoctor.co.uk">thespacedoctor</a>'
# )
# pathToEpub = mobi.get()
# print pathToEpub
def test_docx_to_epub_function(self):
from polyglot import ebook
epub = ebook(
log=log,
settings=settings,
urlOrPath=pathToInputDir + "Volkswagen.docx",
title=False,
bookFormat="epub",
outputDirectory=pathToOutputDir,
header='<a href="http://www.thespacedoctor.co.uk">thespacedoctor</a>',
footer='<a href="http://www.thespacedoctor.co.uk">thespacedoctor</a>'
)
pathToEpub = epub.get()
print pathToEpub
from polyglot import ebook
epub = ebook(
log=log,
settings=settings,
urlOrPath=pathToInputDir + "Volkswagen.docx",
title="A book about a car",
bookFormat="epub",
outputDirectory=pathToOutputDir,
header='<a href="http://www.thespacedoctor.co.uk">thespacedoctor</a>',
footer='<a href="http://www.thespacedoctor.co.uk">thespacedoctor</a>'
)
pathToEpub = epub.get()
print pathToEpub
def test_docx_to_mobi_function(self):
from polyglot import ebook
mobi = ebook(
log=log,
settings=settings,
urlOrPath=pathToInputDir + "Volkswagen.docx",
title=False,
bookFormat="mobi",
outputDirectory=pathToOutputDir,
header='<a href="http://www.thespacedoctor.co.uk">thespacedoctor</a>',
footer='<a href="http://www.thespacedoctor.co.uk">thespacedoctor</a>'
)
pathToMobi = mobi.get()
print pathToMobi
from polyglot import ebook
mobi = ebook(
log=log,
settings=settings,
urlOrPath=pathToInputDir + "Volkswagen.docx",
title="A book about a car",
bookFormat="mobi",
outputDirectory=pathToOutputDir,
header='<a href="http://www.thespacedoctor.co.uk">thespacedoctor</a>',
footer='<a href="http://www.thespacedoctor.co.uk">thespacedoctor</a>'
)
pathToMobi = mobi.get()
print pathToMobi
def test_ebook_function_exception(self):
from polyglot import ebook
try:
this = ebook(
log=log,
settings=settings,
fakeKey="break the code"
)
this.get()
assert False
except Exception, e:
assert True
print str(e)
# x-print-testpage-for-pessto-marshall-web-object
# x-class-to-test-named-worker-function
| 31.777228
| 97
| 0.580308
| 642
| 6,419
| 5.757009
| 0.193146
| 0.039773
| 0.119318
| 0.130682
| 0.7546
| 0.747294
| 0.737825
| 0.717803
| 0.69724
| 0.69724
| 0
| 0.008832
| 0.294438
| 6,419
| 201
| 98
| 31.935323
| 0.807242
| 0.428416
| 0
| 0.552083
| 0
| 0
| 0.182274
| 0.006132
| 0
| 0
| 0
| 0
| 0.020833
| 0
| null | null | 0.010417
| 0.114583
| null | null | 0.052083
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
cf54bfd8e26202aae7a8614209aa0b65e58929cb
| 89
|
py
|
Python
|
tenants/admin.py
|
Zayanto/Protocol-CRM
|
c81489d69de581d8216e20f7dd80089116f85c7b
|
[
"MIT"
] | null | null | null |
tenants/admin.py
|
Zayanto/Protocol-CRM
|
c81489d69de581d8216e20f7dd80089116f85c7b
|
[
"MIT"
] | null | null | null |
tenants/admin.py
|
Zayanto/Protocol-CRM
|
c81489d69de581d8216e20f7dd80089116f85c7b
|
[
"MIT"
] | null | null | null |
from django.contrib import admin
from .models import Tenant
admin.site.register(Tenant)
| 17.8
| 32
| 0.820225
| 13
| 89
| 5.615385
| 0.692308
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.11236
| 89
| 4
| 33
| 22.25
| 0.924051
| 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
|
d86e39cdeb3c331a2c3945a33eb7c982c0a2fb9b
| 865
|
py
|
Python
|
SemesterProject/app.py
|
CMoskey/CMPT-120L-910-20F
|
40f8faedffc838eb68e00f82f43b686b7663793d
|
[
"MIT"
] | null | null | null |
SemesterProject/app.py
|
CMoskey/CMPT-120L-910-20F
|
40f8faedffc838eb68e00f82f43b686b7663793d
|
[
"MIT"
] | null | null | null |
SemesterProject/app.py
|
CMoskey/CMPT-120L-910-20F
|
40f8faedffc838eb68e00f82f43b686b7663793d
|
[
"MIT"
] | null | null | null |
#Imports
from flask import Flask
from flask import render_template
import logging
#logging
#WEBPAGES
app = Flask(__name__)
@app.route('/')
def index():
return render_template("index.html")
@app.route('/elements')
def elements():
return render_template("elements.html")
@app.route('/generic')
def generic():
return render_template("generic.html")
@app.route('/lab10')
def ten():
return render_template("lab10.html")
@app.route('/aboutme')
def about():
return render_template("aboutme.html")
@app.route('/contact')
def contact():
return render_template("contact.html")
@app.route('/personality')
def personality():
return render_template("personality.html")
#error handling
@app.errorhandler(404)
def page_not_found(e):
# note that we set the 404 status explicitly
return render_template('404.html'), 404
| 15.727273
| 48
| 0.704046
| 110
| 865
| 5.4
| 0.345455
| 0.212121
| 0.26936
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.021769
| 0.150289
| 865
| 55
| 49
| 15.727273
| 0.786395
| 0.092486
| 0
| 0
| 0
| 0
| 0.185659
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.285714
| false
| 0
| 0.107143
| 0.285714
| 0.678571
| 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
| 0
| 0
| 1
| 1
| 0
|
0
| 5
|
d89a72c317501fdbc30404a8c7d89f31faf82b67
| 15
|
py
|
Python
|
__init__.py
|
kostiskag/PyWall
|
1b27a699d6775b066fdd903f5a802c5086c8b5ad
|
[
"CC-BY-4.0"
] | 5
|
2017-12-29T14:51:13.000Z
|
2021-02-11T01:24:49.000Z
|
__init__.py
|
kostiskag/PyWall
|
1b27a699d6775b066fdd903f5a802c5086c8b5ad
|
[
"CC-BY-4.0"
] | null | null | null |
__init__.py
|
kostiskag/PyWall
|
1b27a699d6775b066fdd903f5a802c5086c8b5ad
|
[
"CC-BY-4.0"
] | 1
|
2018-07-13T22:17:06.000Z
|
2018-07-13T22:17:06.000Z
|
#def init file
| 7.5
| 14
| 0.733333
| 3
| 15
| 3.666667
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.2
| 15
| 1
| 15
| 15
| 0.916667
| 0.866667
| 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
|
d8f1f4dca81841ce18b29e70d5782d7d5a925b25
| 29
|
py
|
Python
|
codeball/utils/__init__.py
|
metrica-sports/codeball
|
60bfe54b7898bed87cbbbae9dfc0f3bc49d31025
|
[
"MIT"
] | 54
|
2020-09-16T13:09:03.000Z
|
2022-03-28T12:32:19.000Z
|
codeball/utils/__init__.py
|
metrica-sports/codeball
|
60bfe54b7898bed87cbbbae9dfc0f3bc49d31025
|
[
"MIT"
] | null | null | null |
codeball/utils/__init__.py
|
metrica-sports/codeball
|
60bfe54b7898bed87cbbbae9dfc0f3bc49d31025
|
[
"MIT"
] | 9
|
2021-03-28T13:02:57.000Z
|
2022-03-24T11:19:06.000Z
|
from .json_encoders import *
| 14.5
| 28
| 0.793103
| 4
| 29
| 5.5
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.137931
| 29
| 1
| 29
| 29
| 0.88
| 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
|
d8faa8dfd6ab65490846de148509b3b1572669ca
| 69
|
py
|
Python
|
simple_dyn365/__init__.py
|
adam-mah/simple-dyn365
|
727b082082d31b89b405f7dbe042dde6fff0edc0
|
[
"MIT"
] | 1
|
2022-03-30T18:23:53.000Z
|
2022-03-30T18:23:53.000Z
|
simple_dyn365/__init__.py
|
adam-mah/simple-dyn365
|
727b082082d31b89b405f7dbe042dde6fff0edc0
|
[
"MIT"
] | null | null | null |
simple_dyn365/__init__.py
|
adam-mah/simple-dyn365
|
727b082082d31b89b405f7dbe042dde6fff0edc0
|
[
"MIT"
] | null | null | null |
from .api import Dynamics, DYNEntity
from .login import DynamicsLogin
| 34.5
| 36
| 0.84058
| 9
| 69
| 6.444444
| 0.777778
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.115942
| 69
| 2
| 37
| 34.5
| 0.95082
| 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
|
2b130429c1ab4053ae4692d5bc942ce2b5b1b10b
| 152
|
py
|
Python
|
named_dates/__init__.py
|
pschoenfelder/named_dates
|
21eadcf7fbbe7f618a37580be668c1600554fbd8
|
[
"MIT"
] | null | null | null |
named_dates/__init__.py
|
pschoenfelder/named_dates
|
21eadcf7fbbe7f618a37580be668c1600554fbd8
|
[
"MIT"
] | null | null | null |
named_dates/__init__.py
|
pschoenfelder/named_dates
|
21eadcf7fbbe7f618a37580be668c1600554fbd8
|
[
"MIT"
] | null | null | null |
from .named_dates import NamedDate, NamedDates,\
NamedDateError, DateLogicError, NamedDatesKeyError, MissingArgumentsError,\
NoNthWeekdayError
| 30.4
| 79
| 0.815789
| 11
| 152
| 11.181818
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.125
| 152
| 4
| 80
| 38
| 0.924812
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.333333
| 0
| 0.333333
| 0
| 1
| 0
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
2b21e3d8a4290bacb1e2fe5c4bd7f3af4085933a
| 1,768
|
py
|
Python
|
tests/test_accmass.py
|
Molecular-Proteomics/riana
|
02969b36def546931ed34eaff102d1c72374277e
|
[
"MIT"
] | 1
|
2019-05-15T02:48:55.000Z
|
2019-05-15T02:48:55.000Z
|
tests/test_accmass.py
|
MurariGaurav/riana
|
1f96edffefe46c3124b4278647ebbd96b175ab22
|
[
"MIT"
] | 2
|
2019-08-23T15:12:47.000Z
|
2019-08-24T14:35:42.000Z
|
tests/test_accmass.py
|
Molecular-Proteomics/riana
|
02969b36def546931ed34eaff102d1c72374277e
|
[
"MIT"
] | null | null | null |
import unittest
from riana import accmass
class PeptideMassTest(unittest.TestCase):
"""
Test cases involving calculating peptide masses
"""
def setUp(self):
"""
:return:
"""
pass
def tearDown(self):
"""
:return:
"""
pass
def test_peptide_mass(self):
""" Tests several peptides against Expasy/Percolator """
self.assertAlmostEqual(accmass.calculate_ion_mz('RHPEYAVSVLLR'), 1438.8045, places=3)
self.assertAlmostEqual(accmass.calculate_ion_mz('TVMENFVAFVDK'), 1398.6853, places=3)
self.assertAlmostEqual(accmass.calculate_ion_mz('QNQEYQVLLDVRARLEGEI'), 2272.1811, places=3)
def test_modified_peptides(self):
""" Tests peptide modification bracket """
self.assertAlmostEqual(accmass.calculate_ion_mz('RHPEYA[0]VSVLLR'), 1438.8045, places=3)
self.assertAlmostEqual(accmass.calculate_ion_mz('RHPEYA[0.00]VSVLLR'), 1438.8045, places=3)
self.assertAlmostEqual(accmass.calculate_ion_mz('RHPEYA[0]VS[0]VLLR'), 1438.8045, places=3)
self.assertAlmostEqual(accmass.calculate_ion_mz('RHPEYA[0]VSVL[0]LR'), 1438.8045, places=3)
self.assertAlmostEqual(accmass.calculate_ion_mz('TDEM[15.99]AHFDRERIPER'), 1916.8750, places=3)
# There should be no character inside the modification
with self.assertRaises(ValueError):
accmass.calculate_ion_mz('RHPE[C57]YALR', charge=-1)
def test_charge(self):
""" Tests that charge is positive integer """
with self.assertRaises(ValueError):
accmass.calculate_ion_mz('RHPEYALR', charge=-1)
with self.assertRaises(AssertionError):
accmass.calculate_ion_mz('RHPEYALR', charge=True)
| 31.017544
| 103
| 0.67138
| 203
| 1,768
| 5.714286
| 0.399015
| 0.151724
| 0.180172
| 0.199138
| 0.525
| 0.525
| 0.446552
| 0.446552
| 0.274138
| 0.274138
| 0
| 0.062992
| 0.209842
| 1,768
| 56
| 104
| 31.571429
| 0.767359
| 0.138009
| 0
| 0.166667
| 0
| 0
| 0.113194
| 0.015278
| 0
| 0
| 0
| 0
| 0.458333
| 1
| 0.208333
| false
| 0.083333
| 0.083333
| 0
| 0.333333
| 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
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 5
|
2b413ac5e61ae4305b43f41495393ca6c84b936c
| 116
|
py
|
Python
|
community/tests.py
|
cumanachao/utopia-crm
|
6d648971c427ca9f380b15ed0ceaf5767b88e8b9
|
[
"BSD-3-Clause"
] | 13
|
2020-12-14T19:56:04.000Z
|
2021-11-06T13:24:48.000Z
|
community/tests.py
|
cumanachao/utopia-crm
|
6d648971c427ca9f380b15ed0ceaf5767b88e8b9
|
[
"BSD-3-Clause"
] | 5
|
2020-12-14T19:56:30.000Z
|
2021-09-22T22:09:39.000Z
|
community/tests.py
|
cumanachao/utopia-crm
|
6d648971c427ca9f380b15ed0ceaf5767b88e8b9
|
[
"BSD-3-Clause"
] | 3
|
2021-03-24T03:55:08.000Z
|
2022-01-13T15:22:34.000Z
|
# coding=utf-8
from __future__ import unicode_literals
from django.test import TestCase
# Create your tests here.
| 16.571429
| 39
| 0.801724
| 17
| 116
| 5.176471
| 0.882353
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.010101
| 0.146552
| 116
| 6
| 40
| 19.333333
| 0.878788
| 0.310345
| 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
|
2b7327355cc391b94122db63543339a82d024f66
| 157
|
py
|
Python
|
development/database_ER_diagram/create_diagram.py
|
king-michael/simulation_database
|
98ed59a599fe47f011c850d65b2941c81974806c
|
[
"Apache-2.0"
] | null | null | null |
development/database_ER_diagram/create_diagram.py
|
king-michael/simulation_database
|
98ed59a599fe47f011c850d65b2941c81974806c
|
[
"Apache-2.0"
] | null | null | null |
development/database_ER_diagram/create_diagram.py
|
king-michael/simulation_database
|
98ed59a599fe47f011c850d65b2941c81974806c
|
[
"Apache-2.0"
] | null | null | null |
#!/usr/bin/env python
from simdb.databaseModel import *
from eralchemy import render_er
## Draw from SQLAlchemy base
render_er(Base, 'erd_from_simdb.png')
| 19.625
| 37
| 0.783439
| 24
| 157
| 4.958333
| 0.666667
| 0.151261
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.121019
| 157
| 7
| 38
| 22.428571
| 0.862319
| 0.292994
| 0
| 0
| 0
| 0
| 0.166667
| 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
|
99560d2d92ea43ad250a6c3c0f006832e42bf890
| 119
|
py
|
Python
|
packages/Mock/SQScriptEditor/__init__.py
|
tommo/gii
|
03624a57cf74a07e38bfdc7f53c50bd926b7b5a7
|
[
"MIT"
] | 7
|
2016-02-13T18:47:23.000Z
|
2020-07-03T13:47:49.000Z
|
packages/Mock/SQScriptEditor/__init__.py
|
tommo/gii
|
03624a57cf74a07e38bfdc7f53c50bd926b7b5a7
|
[
"MIT"
] | 1
|
2018-06-13T04:55:27.000Z
|
2021-11-05T05:52:51.000Z
|
packages/Mock/SQScriptEditor/__init__.py
|
tommo/gii
|
03624a57cf74a07e38bfdc7f53c50bd926b7b5a7
|
[
"MIT"
] | 4
|
2016-02-15T13:32:46.000Z
|
2019-12-12T17:22:31.000Z
|
from SQScriptEditorWidget import registerSQNodeEditor, SQNodeEditor
import SQScriptEditor
import CommonSQNodeEditor
| 17
| 67
| 0.890756
| 9
| 119
| 11.777778
| 0.777778
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.10084
| 119
| 6
| 68
| 19.833333
| 0.990654
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 1
| null | 0
| 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
|
995fda9a9b9ac49e5a4d5b03b6e419848eb9ca65
| 26
|
py
|
Python
|
python/testData/editing/singleElse.after.py
|
jnthn/intellij-community
|
8fa7c8a3ace62400c838e0d5926a7be106aa8557
|
[
"Apache-2.0"
] | 2
|
2019-04-28T07:48:50.000Z
|
2020-12-11T14:18:08.000Z
|
python/testData/editing/singleElse.after.py
|
jnthn/intellij-community
|
8fa7c8a3ace62400c838e0d5926a7be106aa8557
|
[
"Apache-2.0"
] | 173
|
2018-07-05T13:59:39.000Z
|
2018-08-09T01:12:03.000Z
|
python/testData/editing/singleElse.after.py
|
jnthn/intellij-community
|
8fa7c8a3ace62400c838e0d5926a7be106aa8557
|
[
"Apache-2.0"
] | 2
|
2020-03-15T08:57:37.000Z
|
2020-04-07T04:48:14.000Z
|
if 1:
pass
else:
#blah
| 4.333333
| 6
| 0.576923
| 5
| 26
| 3
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.055556
| 0.307692
| 26
| 5
| 7
| 5.2
| 0.777778
| 0.153846
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0.333333
| 0
| null | null | 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
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 5
|
9969a04ecf7b728d3fa1e39ac13d539454d45e32
| 339
|
py
|
Python
|
test/test_exception_logging.py
|
psydox/pyproj
|
af695bf44ad1c6d09290005a0979eae28a3c0d37
|
[
"MIT"
] | 467
|
2019-03-19T14:56:31.000Z
|
2022-03-31T17:28:52.000Z
|
test/test_exception_logging.py
|
psydox/pyproj
|
af695bf44ad1c6d09290005a0979eae28a3c0d37
|
[
"MIT"
] | 661
|
2019-03-14T01:05:56.000Z
|
2022-03-31T19:53:56.000Z
|
test/test_exception_logging.py
|
psydox/pyproj
|
af695bf44ad1c6d09290005a0979eae28a3c0d37
|
[
"MIT"
] | 113
|
2019-03-14T02:56:26.000Z
|
2022-03-31T17:57:35.000Z
|
import pytest
from pyproj import CRS, Proj
from pyproj.exceptions import CRSError, ProjError
def test_proj_exception():
with pytest.raises(ProjError, match="Internal Proj Error"):
Proj("+proj=bobbyjoe")
def test_crs_exception():
with pytest.raises(CRSError, match="Internal Proj Error"):
CRS("+proj=bobbyjoe")
| 22.6
| 63
| 0.722714
| 43
| 339
| 5.604651
| 0.418605
| 0.082988
| 0.157676
| 0.207469
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.168142
| 339
| 14
| 64
| 24.214286
| 0.85461
| 0
| 0
| 0
| 0
| 0
| 0.19469
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.222222
| true
| 0
| 0.333333
| 0
| 0.555556
| 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
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
997ab982c4252a667fdfcc8e074ccc3f1d9aa5f3
| 58
|
py
|
Python
|
packs/checker.py
|
tarepan/pipinstallgithub
|
a174405c81d30773dc13138caed72c706b79851e
|
[
"MIT"
] | null | null | null |
packs/checker.py
|
tarepan/pipinstallgithub
|
a174405c81d30773dc13138caed72c706b79851e
|
[
"MIT"
] | null | null | null |
packs/checker.py
|
tarepan/pipinstallgithub
|
a174405c81d30773dc13138caed72c706b79851e
|
[
"MIT"
] | null | null | null |
def check():
print("hello world, I am from GitHub!!")
| 19.333333
| 44
| 0.62069
| 9
| 58
| 4
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.206897
| 58
| 2
| 45
| 29
| 0.782609
| 0
| 0
| 0
| 0
| 0
| 0.534483
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.5
| true
| 0
| 0
| 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
| 1
| 1
| 0
| 0
| 0
| 0
| 1
|
0
| 5
|
998f865e9b2028fec524bfbffe9e0e49eeed82b4
| 22
|
py
|
Python
|
tccli/services/gme/v20180711/__init__.py
|
ivandksun/tencentcloud-cli-intl-en
|
41b84e339918961b8bc92f7498e56347d21e16d3
|
[
"Apache-2.0"
] | null | null | null |
tccli/services/gme/v20180711/__init__.py
|
ivandksun/tencentcloud-cli-intl-en
|
41b84e339918961b8bc92f7498e56347d21e16d3
|
[
"Apache-2.0"
] | 1
|
2022-02-07T13:39:09.000Z
|
2022-02-07T13:39:09.000Z
|
tccli/services/gme/v20180711/__init__.py
|
ivandksun/tencentcloud-cli-intl-en
|
41b84e339918961b8bc92f7498e56347d21e16d3
|
[
"Apache-2.0"
] | 4
|
2020-07-20T01:51:58.000Z
|
2021-08-13T08:25:22.000Z
|
version = "2018-07-11"
| 22
| 22
| 0.681818
| 4
| 22
| 3.75
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.4
| 0.090909
| 22
| 1
| 22
| 22
| 0.35
| 0
| 0
| 0
| 0
| 0
| 0.434783
| 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
|
99aac89088a93d88c35369c0d27f2f86b3bea1d8
| 873
|
py
|
Python
|
Codewars/8kyu/printing-array-elements-with-comma-delimiters/Python/test.py
|
RevansChen/online-judge
|
ad1b07fee7bd3c49418becccda904e17505f3018
|
[
"MIT"
] | 7
|
2017-09-20T16:40:39.000Z
|
2021-08-31T18:15:08.000Z
|
Codewars/8kyu/printing-array-elements-with-comma-delimiters/Python/test.py
|
RevansChen/online-judge
|
ad1b07fee7bd3c49418becccda904e17505f3018
|
[
"MIT"
] | null | null | null |
Codewars/8kyu/printing-array-elements-with-comma-delimiters/Python/test.py
|
RevansChen/online-judge
|
ad1b07fee7bd3c49418becccda904e17505f3018
|
[
"MIT"
] | null | null | null |
# Python - 2.7.6
Test.describe('Basic Tests')
data = [2]
Test.assert_equals(print_array(data), '2')
data = [2, 4, 5, 2]
Test.assert_equals(print_array(data), '2,4,5,2')
data = [2, 4, 5, 2]
Test.assert_equals(print_array(data), '2,4,5,2')
data = [2.0, 4.2, 5.1, 2.2]
Test.assert_equals(print_array(data), '2.0,4.2,5.1,2.2')
data = ['2', '4', '5', '2']
Test.assert_equals(print_array(data), '2,4,5,2')
data = [True, False, False]
Test.assert_equals(print_array(data), 'True,False,False')
array1 = ['hello', 'this', 'is', 'an', 'array!']
array2 = ['a', 'b', 'c', 'd', 'e!']
data = array1 + array2
Test.assert_equals(print_array(data), 'hello,this,is,an,array!,a,b,c,d,e!')
array1 = ['hello', 'this', 'is', 'an', 'array!']
array2 = [1, 2, 3, 4, 5]
data = [array1, array2]
Test.assert_equals(print_array(data), "['hello', 'this', 'is', 'an', 'array!'],[1, 2, 3, 4, 5]")
| 28.16129
| 96
| 0.605956
| 160
| 873
| 3.20625
| 0.19375
| 0.097466
| 0.249513
| 0.327485
| 0.877193
| 0.838207
| 0.779727
| 0.662768
| 0.551657
| 0.516569
| 0
| 0.082245
| 0.122566
| 873
| 30
| 97
| 29.1
| 0.587467
| 0.016037
| 0
| 0.333333
| 0
| 0.047619
| 0.234539
| 0.039673
| 0
| 0
| 0
| 0
| 0.380952
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0.380952
| 0
| 0
| 0
| null | 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
41ecfd3a6711c64cdf77eee3843e70428c5e691f
| 211
|
py
|
Python
|
tests/builtins/test_list.py
|
akubera/batavia
|
b56f2a3f54242f81aea3a5a048356a03f0d49494
|
[
"BSD-3-Clause"
] | 1
|
2018-05-17T08:46:16.000Z
|
2018-05-17T08:46:16.000Z
|
tests/builtins/test_list.py
|
akubera/batavia
|
b56f2a3f54242f81aea3a5a048356a03f0d49494
|
[
"BSD-3-Clause"
] | 4
|
2021-03-11T07:02:43.000Z
|
2022-02-19T07:00:35.000Z
|
tests/builtins/test_list.py
|
akubera/batavia
|
b56f2a3f54242f81aea3a5a048356a03f0d49494
|
[
"BSD-3-Clause"
] | null | null | null |
from .. utils import TranspileTestCase, BuiltinFunctionTestCase
class ListTests(TranspileTestCase):
pass
class BuiltinListFunctionTests(BuiltinFunctionTestCase, TranspileTestCase):
function = "list"
| 21.1
| 75
| 0.810427
| 15
| 211
| 11.4
| 0.733333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.127962
| 211
| 9
| 76
| 23.444444
| 0.929348
| 0
| 0
| 0
| 0
| 0
| 0.018957
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0.2
| 0.2
| 0
| 0.8
| 0
| 1
| 0
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
|
0
| 5
|
513507f42f9e1c26541c6848a2b201050b5b80b4
| 61
|
py
|
Python
|
app/api/role/__init__.py
|
felbinger/FlaskBasic
|
803fc5b07638e7d85eddccd00ca20567e57519f0
|
[
"MIT"
] | 2
|
2019-12-18T17:45:52.000Z
|
2020-04-21T12:45:32.000Z
|
app/api/role/__init__.py
|
felbinger/FlaskBasic
|
803fc5b07638e7d85eddccd00ca20567e57519f0
|
[
"MIT"
] | 1
|
2020-07-04T17:10:29.000Z
|
2020-07-10T18:55:43.000Z
|
app/api/role/__init__.py
|
felbinger/FlaskBasic
|
803fc5b07638e7d85eddccd00ca20567e57519f0
|
[
"MIT"
] | null | null | null |
from .models import Role
from .resources import RoleResource
| 20.333333
| 35
| 0.836066
| 8
| 61
| 6.375
| 0.75
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.131148
| 61
| 2
| 36
| 30.5
| 0.962264
| 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
|
514f402e90acff6fc6edb26b43994f3abb54724a
| 50
|
py
|
Python
|
TorchProteinLibrary/Volume/TypedCoords2Volume/__init__.py
|
dendisuhubdy/TorchProteinLibrary
|
89f0f6c311658b9313484cd92804682a251b1b97
|
[
"MIT"
] | 96
|
2018-10-18T20:08:32.000Z
|
2021-09-27T11:31:25.000Z
|
TorchProteinLibrary/Volume/TypedCoords2Volume/__init__.py
|
dendisuhubdy/TorchProteinLibrary
|
89f0f6c311658b9313484cd92804682a251b1b97
|
[
"MIT"
] | 24
|
2018-10-19T13:59:21.000Z
|
2021-08-04T16:13:48.000Z
|
TorchProteinLibrary/Volume/TypedCoords2Volume/__init__.py
|
dendisuhubdy/TorchProteinLibrary
|
89f0f6c311658b9313484cd92804682a251b1b97
|
[
"MIT"
] | 23
|
2018-12-06T06:17:18.000Z
|
2021-10-05T12:46:34.000Z
|
from .TypedCoords2Volume import TypedCoords2Volume
| 50
| 50
| 0.92
| 4
| 50
| 11.5
| 0.75
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.042553
| 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
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
515d4268e75c3f769a8fcc47d20f143ed862591e
| 70
|
py
|
Python
|
Level1/Lessons12903/gamjapark.py
|
StudyForCoding/ProgrammersLevel
|
dc957b1c02cc4383a93b8cbf3d739e6c4d88aa25
|
[
"MIT"
] | null | null | null |
Level1/Lessons12903/gamjapark.py
|
StudyForCoding/ProgrammersLevel
|
dc957b1c02cc4383a93b8cbf3d739e6c4d88aa25
|
[
"MIT"
] | null | null | null |
Level1/Lessons12903/gamjapark.py
|
StudyForCoding/ProgrammersLevel
|
dc957b1c02cc4383a93b8cbf3d739e6c4d88aa25
|
[
"MIT"
] | 1
|
2021-04-05T07:35:59.000Z
|
2021-04-05T07:35:59.000Z
|
def solution(s):
slen = len(s)
return s[(slen-1)//2:slen//2+1]
| 23.333333
| 35
| 0.557143
| 14
| 70
| 2.785714
| 0.571429
| 0.25641
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.071429
| 0.2
| 70
| 3
| 35
| 23.333333
| 0.625
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0
| 0
| 0.666667
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 5
|
516730dcaaf801185ede39378100b515ddbd048a
| 425
|
py
|
Python
|
src/tools/type.py
|
knarfeh/jianshu2e-book
|
d638fb8c2f47cf8e91e9f74e2e1e5f61f3c98a48
|
[
"MIT"
] | 7
|
2016-03-19T13:23:45.000Z
|
2016-08-15T14:05:34.000Z
|
src/tools/type.py
|
knarfeh/jianshu2e-book
|
d638fb8c2f47cf8e91e9f74e2e1e5f61f3c98a48
|
[
"MIT"
] | 2
|
2021-03-22T17:11:32.000Z
|
2021-12-13T19:36:17.000Z
|
src/tools/type.py
|
ee-book/jianshu2e-book
|
d638fb8c2f47cf8e91e9f74e2e1e5f61f3c98a48
|
[
"MIT"
] | 2
|
2019-04-18T05:44:24.000Z
|
2021-06-10T09:35:44.000Z
|
# -*- coding: utf-8 -*-
class Type(object):
jianshu_article = 'jianshu_article' # 类型是单篇的文章 TODO
jianshu = 'jianshu' # 类型是简书文章的集锦
jianshu_info = 'jianshu_info'
jianshu_article_type_list = ['jianshu']
info_table = {
'jianshu_info': jianshu_info
}
jianshu_type_list = [
'jianshu', # TODO, 目前只有latest_articles一种, 还可以写collections, notebook等等
]
| 26.5625
| 86
| 0.6
| 39
| 425
| 6.205128
| 0.461538
| 0.227273
| 0.297521
| 0.181818
| 0.239669
| 0
| 0
| 0
| 0
| 0
| 0
| 0.003344
| 0.296471
| 425
| 15
| 87
| 28.333333
| 0.80602
| 0.247059
| 0
| 0
| 0
| 0
| 0.190476
| 0
| 0
| 0
| 0
| 0.066667
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0.636364
| 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 5
|
5aaa70db2577793acf92330ffab8d0f12e5f68f6
| 108
|
py
|
Python
|
mantle/altera/__init__.py
|
splhack/mantle
|
42fe81df22f4556f891f77b9c9acfd7e8bbe648b
|
[
"MIT"
] | 33
|
2018-06-11T22:58:23.000Z
|
2021-11-22T04:16:36.000Z
|
mantle/altera/__init__.py
|
splhack/mantle
|
42fe81df22f4556f891f77b9c9acfd7e8bbe648b
|
[
"MIT"
] | 90
|
2017-08-31T01:12:13.000Z
|
2021-09-17T04:07:07.000Z
|
mantle/altera/__init__.py
|
splhack/mantle
|
42fe81df22f4556f891f77b9c9acfd7e8bbe648b
|
[
"MIT"
] | 12
|
2017-09-01T03:25:36.000Z
|
2020-10-14T21:43:12.000Z
|
import magma
target = magma.mantle_target
if magma.mantle_target == 'cyclone4':
from .mantle4 import *
| 18
| 37
| 0.740741
| 14
| 108
| 5.571429
| 0.571429
| 0.282051
| 0.435897
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.022222
| 0.166667
| 108
| 5
| 38
| 21.6
| 0.844444
| 0
| 0
| 0
| 0
| 0
| 0.074074
| 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
|
5aede86f57ff0461cedebfcc9ced8d36e8a303ff
| 92
|
py
|
Python
|
src/synpp/general.py
|
Nitnelav/synpp
|
b2b2136a99701ce77fd4fea939f8efb521f67c21
|
[
"MIT"
] | 6
|
2020-04-01T12:06:20.000Z
|
2021-11-02T19:10:27.000Z
|
src/synpp/general.py
|
Nitnelav/synpp
|
b2b2136a99701ce77fd4fea939f8efb521f67c21
|
[
"MIT"
] | 26
|
2019-12-08T12:25:39.000Z
|
2022-02-28T07:24:56.000Z
|
src/synpp/general.py
|
Nitnelav/synpp
|
b2b2136a99701ce77fd4fea939f8efb521f67c21
|
[
"MIT"
] | 8
|
2020-06-19T15:49:46.000Z
|
2021-07-06T10:15:37.000Z
|
class PipelineError(Exception):
pass
class PipelineParallelError(Exception):
pass
| 13.142857
| 39
| 0.76087
| 8
| 92
| 8.75
| 0.625
| 0.371429
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.173913
| 92
| 6
| 40
| 15.333333
| 0.921053
| 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
| 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
| 0
| 0
| 0
| 0
|
0
| 5
|
8504487576fd715b5e64decaaa278a96b442d207
| 153
|
py
|
Python
|
listsTuples03/118moreprint.py
|
DevAnuragGarg/Python-Learning-Basics
|
2c58c82ba79bf2c7c3317628222554133dd50713
|
[
"Apache-2.0"
] | 1
|
2020-06-09T09:49:02.000Z
|
2020-06-09T09:49:02.000Z
|
listsTuples03/118moreprint.py
|
DevAnuragGarg/Python-Learning-Basics
|
2c58c82ba79bf2c7c3317628222554133dd50713
|
[
"Apache-2.0"
] | null | null | null |
listsTuples03/118moreprint.py
|
DevAnuragGarg/Python-Learning-Basics
|
2c58c82ba79bf2c7c3317628222554133dd50713
|
[
"Apache-2.0"
] | null | null | null |
# print statement, function definition
name = "Anurag"
age = 30
print(name, age, "python", 2020)
print(name, age, "python", 2020, sep=", ", end=" $$ ")
| 21.857143
| 54
| 0.633987
| 20
| 153
| 4.85
| 0.6
| 0.185567
| 0.247423
| 0.371134
| 0.453608
| 0
| 0
| 0
| 0
| 0
| 0
| 0.078125
| 0.163399
| 153
| 6
| 55
| 25.5
| 0.679688
| 0.235294
| 0
| 0
| 0
| 0
| 0.208696
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0.5
| 1
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
|
0
| 5
|
8513e3b41ec497d3d39b91cde1253d60c3a6a2c9
| 57
|
py
|
Python
|
twitter_text/regexp/punct.py
|
s51517765/twitter-text-python
|
4c07d616344f0037a8aa6317bb439b91fa83ed71
|
[
"MIT"
] | 15
|
2020-05-23T15:41:13.000Z
|
2022-02-27T20:25:35.000Z
|
twitter_text/regexp/punct.py
|
s51517765/twitter-text-python
|
4c07d616344f0037a8aa6317bb439b91fa83ed71
|
[
"MIT"
] | 4
|
2020-01-25T12:01:39.000Z
|
2020-05-24T03:35:08.000Z
|
twitter_text/regexp/punct.py
|
s51517765/twitter-text-python
|
4c07d616344f0037a8aa6317bb439b91fa83ed71
|
[
"MIT"
] | 2
|
2020-01-25T11:47:47.000Z
|
2021-08-29T10:55:09.000Z
|
punct = r"\!'#%&'\(\)*\+,\\\-\.\/:;<=>\?@\[\]\^_{|}~\$/"
| 28.5
| 56
| 0.122807
| 2
| 57
| 3
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.052632
| 57
| 1
| 57
| 57
| 0.111111
| 0
| 0
| 0
| 0
| 0
| 0.789474
| 0.789474
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
851ce6daa8bd67910042c9af5571b0b29c94c610
| 177
|
py
|
Python
|
apps/experience/admin.py
|
tparicio/toniparicio.py
|
2ac670f4412f64dbf31340c2d29ad63c1471fe0b
|
[
"Unlicense"
] | null | null | null |
apps/experience/admin.py
|
tparicio/toniparicio.py
|
2ac670f4412f64dbf31340c2d29ad63c1471fe0b
|
[
"Unlicense"
] | null | null | null |
apps/experience/admin.py
|
tparicio/toniparicio.py
|
2ac670f4412f64dbf31340c2d29ad63c1471fe0b
|
[
"Unlicense"
] | null | null | null |
from django.contrib import admin
from .models import Experience
from django_summernote.admin import SummernoteModelAdmin
admin.site.register(Experience, SummernoteModelAdmin)
| 25.285714
| 56
| 0.864407
| 20
| 177
| 7.6
| 0.55
| 0.131579
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.090395
| 177
| 6
| 57
| 29.5
| 0.944099
| 0
| 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
|
5180dfd4911713ca03b68a875e08842a194e4aad
| 3,159
|
py
|
Python
|
tests/utils/test_column_store.py
|
rishigarg94/pandas-visual-analysis
|
c9569878a44fb0f5d0acd8779ff65d51e1c1bd95
|
[
"MIT"
] | 16
|
2020-09-03T20:58:40.000Z
|
2022-03-19T01:12:31.000Z
|
tests/utils/test_column_store.py
|
rishigarg94/pandas-visual-analysis
|
c9569878a44fb0f5d0acd8779ff65d51e1c1bd95
|
[
"MIT"
] | 23
|
2020-08-26T19:47:54.000Z
|
2022-01-21T20:38:15.000Z
|
tests/utils/test_column_store.py
|
rishigarg94/pandas-visual-analysis
|
c9569878a44fb0f5d0acd8779ff65d51e1c1bd95
|
[
"MIT"
] | 4
|
2020-08-26T19:46:37.000Z
|
2021-09-30T06:24:19.000Z
|
import pytest
from pandas_visual_analysis.utils.column_store import ColumnIterator, ColumnStore
from tests import sample_dataframes
@pytest.fixture(scope="module")
def small_df():
return sample_dataframes.small_df()
class TestColumnIterator:
def test_len(self):
column_iterator = ColumnIterator(["1", "2"])
assert len(column_iterator) == 2
def test_next(self):
column_iterator = ColumnIterator(["1", "2"])
assert next(column_iterator) == "1"
assert next(column_iterator) == "2"
assert next(column_iterator) == "1"
def test_iter(self):
column_iterator = iter(ColumnIterator(["1", "2"]))
assert next(column_iterator) == "1"
assert next(column_iterator) == "2"
assert next(column_iterator) == "1"
class TestColumnStore:
def test_next_numerical(self, small_df):
col_store = ColumnStore(small_df, small_df.columns.values, None)
assert col_store.next_numerical() == "a"
assert col_store.next_numerical() == "c"
assert col_store.next_numerical() == "a"
def test_next_categorical(self, small_df):
col_store = ColumnStore(small_df, small_df.columns.values, None)
assert col_store.next_categorical() == "b"
assert col_store.next_categorical() == "e"
assert col_store.next_categorical() == "b"
def test_next_time(self, small_df):
col_store = ColumnStore(small_df, small_df.columns.values, None)
assert col_store.next_time() == "d"
assert col_store.next_time() == "d"
def test_next_prefer_numerical(self, small_df):
col_store = ColumnStore(small_df, small_df.columns.values, None)
col_list = [col_store.next_prefer_numerical() for _ in range(len(small_df))]
assert set(col_list) == set(small_df.columns.values)
assert col_store.next_prefer_numerical() == "a"
assert col_list[0] == "a"
# test second pass
col_list = [col_store.next_prefer_numerical() for _ in range(len(small_df))]
assert set(col_list) == set(small_df.columns.values)
def test_next_prefer_time(self, small_df):
col_store = ColumnStore(small_df, small_df.columns.values, None)
col_list = [col_store.next_prefer_time() for _ in range(len(small_df))]
assert set(col_list) == set(small_df.columns.values)
assert col_store.next_prefer_time() == "d"
assert col_list[0] == "d"
# test second pass
col_list = [col_store.next_prefer_time() for _ in range(len(small_df))]
assert set(col_list) == set(small_df.columns.values)
def test_next_prefer_categorical(self, small_df):
col_store = ColumnStore(small_df, small_df.columns.values, None)
col_list = [col_store.next_prefer_categorical() for _ in range(len(small_df))]
assert set(col_list) == set(small_df.columns.values)
assert col_store.next_prefer_categorical() == "b"
assert col_list[0] == "b"
# test second pass
col_list = [col_store.next_prefer_categorical() for _ in range(len(small_df))]
assert set(col_list) == set(small_df.columns.values)
| 41.025974
| 86
| 0.672048
| 426
| 3,159
| 4.666667
| 0.126761
| 0.112676
| 0.102616
| 0.120724
| 0.802817
| 0.762575
| 0.70825
| 0.679074
| 0.679074
| 0.657948
| 0
| 0.006415
| 0.21051
| 3,159
| 76
| 87
| 41.565789
| 0.790698
| 0.016461
| 0
| 0.542373
| 0
| 0
| 0.010316
| 0
| 0
| 0
| 0
| 0
| 0.457627
| 1
| 0.169492
| false
| 0
| 0.050847
| 0.016949
| 0.271186
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
5194317b1a81712c20dd4dd9ecf78db9a4f0ac61
| 51
|
py
|
Python
|
application/further_app.py
|
li-renjie/simple-wsgi
|
4c8d3a0e59a983b18753942245d8a3281b9fc0d1
|
[
"Apache-2.0"
] | null | null | null |
application/further_app.py
|
li-renjie/simple-wsgi
|
4c8d3a0e59a983b18753942245d8a3281b9fc0d1
|
[
"Apache-2.0"
] | 1
|
2020-06-27T07:20:29.000Z
|
2020-06-27T07:20:29.000Z
|
application/further_app.py
|
li-renjie/simple-wsgi
|
4c8d3a0e59a983b18753942245d8a3281b9fc0d1
|
[
"Apache-2.0"
] | null | null | null |
# TODO: Implement a simple application framework.
| 17
| 49
| 0.784314
| 6
| 51
| 6.666667
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.156863
| 51
| 2
| 50
| 25.5
| 0.930233
| 0.921569
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0.5
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 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
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
51d61d8c2af6f7dfd1ccc454877b3c031eb0914f
| 55
|
py
|
Python
|
liquepy/__init__.py
|
auroggera93/liquepy
|
713f4919b45eb38809eae996197707f0f0bc93c7
|
[
"MIT"
] | null | null | null |
liquepy/__init__.py
|
auroggera93/liquepy
|
713f4919b45eb38809eae996197707f0f0bc93c7
|
[
"MIT"
] | null | null | null |
liquepy/__init__.py
|
auroggera93/liquepy
|
713f4919b45eb38809eae996197707f0f0bc93c7
|
[
"MIT"
] | null | null | null |
from liquepy.shear_strain import calculate_shear_strain
| 55
| 55
| 0.927273
| 8
| 55
| 6
| 0.75
| 0.458333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.054545
| 55
| 1
| 55
| 55
| 0.923077
| 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
|
51eb9b77ac2a026b752703802b5d05b7ba235b67
| 202
|
py
|
Python
|
devilry/devilry_dataporten_allauth/provider.py
|
aless80/devilry-django
|
416c262e75170d5662542f15e2d7fecf5ab84730
|
[
"BSD-3-Clause"
] | 29
|
2015-01-18T22:56:23.000Z
|
2020-11-10T21:28:27.000Z
|
devilry/devilry_dataporten_allauth/provider.py
|
aless80/devilry-django
|
416c262e75170d5662542f15e2d7fecf5ab84730
|
[
"BSD-3-Clause"
] | 786
|
2015-01-06T16:10:18.000Z
|
2022-03-16T11:10:50.000Z
|
devilry/devilry_dataporten_allauth/provider.py
|
aless80/devilry-django
|
416c262e75170d5662542f15e2d7fecf5ab84730
|
[
"BSD-3-Clause"
] | 15
|
2015-04-06T06:18:43.000Z
|
2021-02-24T12:28:30.000Z
|
from allauth.socialaccount.providers.dataporten.provider import DataportenProvider
class DevilryDataportenProvider(DataportenProvider):
"""
"""
provider_classes = [DevilryDataportenProvider]
| 22.444444
| 82
| 0.811881
| 14
| 202
| 11.642857
| 0.785714
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.108911
| 202
| 9
| 83
| 22.444444
| 0.905556
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.333333
| 0
| 0.666667
| 0
| 1
| 0
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
cfd3841f63877239b6a866dc6ab72cec80e545ce
| 61
|
py
|
Python
|
Scribe/plot/__init__.py
|
aristoteleo/scribe-py
|
ea28d2b588f8648b9ce1679fe18c3142aee2aa58
|
[
"BSD-3-Clause"
] | 32
|
2019-08-15T20:58:30.000Z
|
2022-03-17T14:16:31.000Z
|
Scribe/plot/__init__.py
|
aristoteleo/scribe-py
|
ea28d2b588f8648b9ce1679fe18c3142aee2aa58
|
[
"BSD-3-Clause"
] | 6
|
2020-03-06T06:02:08.000Z
|
2022-03-30T22:37:59.000Z
|
Scribe/plot/__init__.py
|
aristoteleo/scribe-py
|
ea28d2b588f8648b9ce1679fe18c3142aee2aa58
|
[
"BSD-3-Clause"
] | 10
|
2020-03-05T09:56:04.000Z
|
2021-03-14T12:16:54.000Z
|
from .heatmaps import *
from .networks import vis_causal_net
| 20.333333
| 36
| 0.819672
| 9
| 61
| 5.333333
| 0.777778
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.131148
| 61
| 2
| 37
| 30.5
| 0.90566
| 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
|
cff9e5f7c80cceeb642628a7362f5d39c4829126
| 51
|
py
|
Python
|
pyforce/agents/__init__.py
|
olemeyer/pyforce
|
f0432ada7974419d40cce229cd875ce6ae4270b9
|
[
"Apache-2.0"
] | 4
|
2020-03-27T06:46:49.000Z
|
2020-07-01T20:55:32.000Z
|
pyforce/agents/__init__.py
|
olemeyer/pyforce
|
f0432ada7974419d40cce229cd875ce6ae4270b9
|
[
"Apache-2.0"
] | null | null | null |
pyforce/agents/__init__.py
|
olemeyer/pyforce
|
f0432ada7974419d40cce229cd875ce6ae4270b9
|
[
"Apache-2.0"
] | null | null | null |
from .a2c import A2CAgent
from .ppo import PPOAgent
| 25.5
| 25
| 0.823529
| 8
| 51
| 5.25
| 0.75
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.045455
| 0.137255
| 51
| 2
| 26
| 25.5
| 0.909091
| 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
|
320d75e2225bceb5749f7069410d424b1d36741c
| 26
|
py
|
Python
|
lib/util/IDPool/__init__.py
|
tommo/gii
|
03624a57cf74a07e38bfdc7f53c50bd926b7b5a7
|
[
"MIT"
] | 7
|
2016-02-13T18:47:23.000Z
|
2020-07-03T13:47:49.000Z
|
lib/util/IDPool/__init__.py
|
tommo/gii
|
03624a57cf74a07e38bfdc7f53c50bd926b7b5a7
|
[
"MIT"
] | 1
|
2018-06-13T04:55:27.000Z
|
2021-11-05T05:52:51.000Z
|
lib/util/IDPool/__init__.py
|
tommo/gii
|
03624a57cf74a07e38bfdc7f53c50bd926b7b5a7
|
[
"MIT"
] | 4
|
2016-02-15T13:32:46.000Z
|
2019-12-12T17:22:31.000Z
|
from IDPool import IDPool
| 13
| 25
| 0.846154
| 4
| 26
| 5.5
| 0.75
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.153846
| 26
| 1
| 26
| 26
| 1
| 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
|
321984f331ae0f3a0d1cc4f12be3b09fa2483831
| 1,713
|
py
|
Python
|
codewars/8kyu/doha22/kata8/alam/test_bench.py
|
doha22/Training_one
|
0cd7cf86c7da0f6175834146296b763d1841766b
|
[
"MIT"
] | null | null | null |
codewars/8kyu/doha22/kata8/alam/test_bench.py
|
doha22/Training_one
|
0cd7cf86c7da0f6175834146296b763d1841766b
|
[
"MIT"
] | 2
|
2019-01-22T10:53:42.000Z
|
2019-01-31T08:02:48.000Z
|
codewars/8kyu/doha22/kata8/alam/test_bench.py
|
doha22/Training_one
|
0cd7cf86c7da0f6175834146296b763d1841766b
|
[
"MIT"
] | 13
|
2019-01-22T10:37:42.000Z
|
2019-01-25T13:30:43.000Z
|
from alarm import set_alarm
from alarm import set_alarm2
def test(benchmark):
assert benchmark(set_alarm, True , True) == False
def test2(benchmark):
assert benchmark(set_alarm2, True , True) == False
'''''''''''
----------------------------------------------------------------------------------- benchmark: 2 tests ----------------------------------------------------------------------------------
Name (time in us) Min Max Mean StdDev Median IQR Outliers OPS (Kops/s) Rounds Iterations
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
test 1.2316 (1.0) 410.5282 (1.48) 1.8610 (1.0) 2.2763 (1.0) 1.6421 (1.00) 0.0000 (1.0) 971;52066 537.3407 (1.0) 128205 1
test2 1.2316 (1.0) 276.6960 (1.0) 1.8718 (1.01) 2.3891 (1.05) 1.6421 (1.0) 0.0000 (inf) 1456;67937 534.2495 (0.99) 143288 1
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Legend:
Outliers: 1 Standard Deviation from Mean; 1.5 IQR (InterQuartile Range) from 1st Quartile and 3rd Quartile.
OPS: Operations Per Second, computed as 1 / Mean
================================================================================ 2 passed in 12.54 seconds =================================================================================
'''''''''''
| 68.52
| 188
| 0.316404
| 146
| 1,713
| 3.684932
| 0.534247
| 0.02974
| 0.055762
| 0.066915
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.115385
| 0.210741
| 1,713
| 25
| 189
| 68.52
| 0.282544
| 0
| 0
| 0.111111
| 0
| 0.222222
| 0.865925
| 0.407494
| 0
| 0
| 0
| 0
| 0.111111
| 1
| 0.111111
| false
| 0.055556
| 0.111111
| 0
| 0.222222
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 5
|
5cbb3f1bb92ca28aa43c6ed4e42b22116a4f0859
| 17
|
py
|
Python
|
test/run/t07.py
|
timmartin/skulpt
|
2e3a3fbbaccc12baa29094a717ceec491a8a6750
|
[
"MIT"
] | 2,671
|
2015-01-03T08:23:25.000Z
|
2022-03-31T06:15:48.000Z
|
test/run/t07.py
|
csev/skulpt
|
9aa25b7dbf29f23ee8d3140d01a6f4353d12e66f
|
[
"MIT"
] | 972
|
2015-01-05T08:11:00.000Z
|
2022-03-29T13:47:15.000Z
|
test/run/t07.py
|
csev/skulpt
|
9aa25b7dbf29f23ee8d3140d01a6f4353d12e66f
|
[
"MIT"
] | 845
|
2015-01-03T19:53:36.000Z
|
2022-03-29T18:34:22.000Z
|
x=4
x*=3
print x
| 4.25
| 7
| 0.588235
| 6
| 17
| 1.666667
| 0.666667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.153846
| 0.235294
| 17
| 3
| 8
| 5.666667
| 0.615385
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 0
| null | null | 0.333333
| 1
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
5ccb79e7b6876c43766d68331ce8a8eab5ff7cc8
| 334
|
py
|
Python
|
Django/tasking-and-analysis-system-django/tasking-and-analysis-system/apps/upload/manager.py
|
Yeva9/ITC-projects
|
19e967d656c86c64f04cc1ffbe03540f97c6eb34
|
[
"MIT"
] | null | null | null |
Django/tasking-and-analysis-system-django/tasking-and-analysis-system/apps/upload/manager.py
|
Yeva9/ITC-projects
|
19e967d656c86c64f04cc1ffbe03540f97c6eb34
|
[
"MIT"
] | null | null | null |
Django/tasking-and-analysis-system-django/tasking-and-analysis-system/apps/upload/manager.py
|
Yeva9/ITC-projects
|
19e967d656c86c64f04cc1ffbe03540f97c6eb34
|
[
"MIT"
] | null | null | null |
"""
A Manager is the interface through which database query operations are provided to Django models.
"""
from apps.authentication.user_permissions import Permissions
from ..manager import __get_user_group_permissions
def can_view_tab(user):
return Permissions.CAN_VIEW_UPLOAD_PAGE[0] in __get_user_group_permissions(user.id)
| 27.833333
| 97
| 0.823353
| 48
| 334
| 5.395833
| 0.6875
| 0.054054
| 0.092664
| 0.177606
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.00339
| 0.116766
| 334
| 11
| 98
| 30.363636
| 0.874576
| 0.290419
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| false
| 0
| 0.5
| 0.25
| 1
| 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
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 1
| 1
| 0
|
0
| 5
|
5cd9e7ae8b50de167b468aec83565795a361ec22
| 99
|
py
|
Python
|
cdisutilstest/setup.py
|
uc-cdis/cdisutils-test
|
623fea1cc339c8623f99590c8603ed1368b8890d
|
[
"Apache-2.0"
] | null | null | null |
cdisutilstest/setup.py
|
uc-cdis/cdisutils-test
|
623fea1cc339c8623f99590c8603ed1368b8890d
|
[
"Apache-2.0"
] | 12
|
2017-05-22T18:31:50.000Z
|
2020-10-26T15:57:30.000Z
|
cdisutilstest/setup.py
|
uc-cdis/cdisutils-test
|
623fea1cc339c8623f99590c8603ed1368b8890d
|
[
"Apache-2.0"
] | 1
|
2019-02-18T19:38:51.000Z
|
2019-02-18T19:38:51.000Z
|
from setuptools import setup, find_packages
setup(name="cdisutilstest", packages=find_packages())
| 24.75
| 53
| 0.818182
| 12
| 99
| 6.583333
| 0.666667
| 0.303797
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.080808
| 99
| 3
| 54
| 33
| 0.868132
| 0
| 0
| 0
| 0
| 0
| 0.131313
| 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
|
7a3fd68d53f4a9dccc9059a60666d864e8ed41e4
| 96
|
py
|
Python
|
casket/nlp_utils/__init__.py
|
emanjavacas/casket
|
3edf2ec41c725adbb9a66532fb56a53a7e457f94
|
[
"MIT"
] | null | null | null |
casket/nlp_utils/__init__.py
|
emanjavacas/casket
|
3edf2ec41c725adbb9a66532fb56a53a7e457f94
|
[
"MIT"
] | null | null | null |
casket/nlp_utils/__init__.py
|
emanjavacas/casket
|
3edf2ec41c725adbb9a66532fb56a53a7e457f94
|
[
"MIT"
] | null | null | null |
from __future__ import absolute_import
from .corpus import Corpus
from .indexer import Indexer
| 19.2
| 38
| 0.84375
| 13
| 96
| 5.846154
| 0.461538
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.135417
| 96
| 4
| 39
| 24
| 0.915663
| 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
|
7a8a4978130d0bfa13a5beab170bceca603c7833
| 107
|
py
|
Python
|
base/views.py
|
SgtSwagrid/boards-legacy
|
2b889ce955b13356b527aeaeef88bb0d9103cfbe
|
[
"MIT"
] | null | null | null |
base/views.py
|
SgtSwagrid/boards-legacy
|
2b889ce955b13356b527aeaeef88bb0d9103cfbe
|
[
"MIT"
] | 4
|
2021-03-30T14:05:52.000Z
|
2021-09-22T19:32:20.000Z
|
base/views.py
|
SgtSwagrid/boards-legacy
|
2b889ce955b13356b527aeaeef88bb0d9103cfbe
|
[
"MIT"
] | null | null | null |
from django.shortcuts import render
def index_view(request):
return render(request, 'base/index.html')
| 26.75
| 45
| 0.775701
| 15
| 107
| 5.466667
| 0.8
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.121495
| 107
| 4
| 45
| 26.75
| 0.87234
| 0
| 0
| 0
| 0
| 0
| 0.138889
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0.333333
| 0.333333
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 1
| 0
| 0
|
0
| 5
|
7aa01f5af7523722ce8d67c54d0fcc6d0bc8d1bf
| 91
|
py
|
Python
|
textattack/constraints/semantics/__init__.py
|
yuchenlin/TextAttack
|
69c64016546effa1b3b197dfbdb92477614c36ca
|
[
"MIT"
] | 1
|
2020-06-03T16:08:00.000Z
|
2020-06-03T16:08:00.000Z
|
textattack/constraints/semantics/__init__.py
|
SatoshiRobatoFujimoto/TextAttack
|
a809a9bddddff9f41750949e26edde26c8af6cfa
|
[
"MIT"
] | null | null | null |
textattack/constraints/semantics/__init__.py
|
SatoshiRobatoFujimoto/TextAttack
|
a809a9bddddff9f41750949e26edde26c8af6cfa
|
[
"MIT"
] | null | null | null |
from . import sentence_encoders
from .word_embedding_distance import WordEmbeddingDistance
| 30.333333
| 58
| 0.89011
| 10
| 91
| 7.8
| 0.8
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.087912
| 91
| 3
| 58
| 30.333333
| 0.939759
| 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
|
8f97eb98e0273a94e08349023db94656881da6e2
| 181
|
py
|
Python
|
app/views.py
|
pettta/ClubWebsite
|
83ed5e2c923d8c13aa1f76e564bb817e6ad81fb1
|
[
"Apache-2.0"
] | 2
|
2021-07-01T20:43:29.000Z
|
2021-07-12T22:30:51.000Z
|
app/views.py
|
pettta/ClubWebsite
|
83ed5e2c923d8c13aa1f76e564bb817e6ad81fb1
|
[
"Apache-2.0"
] | 1
|
2021-07-02T04:28:21.000Z
|
2021-07-21T22:13:49.000Z
|
app/views.py
|
pettta/ClubWebsite
|
83ed5e2c923d8c13aa1f76e564bb817e6ad81fb1
|
[
"Apache-2.0"
] | 1
|
2021-08-30T14:41:02.000Z
|
2021-08-30T14:41:02.000Z
|
from django.shortcuts import render
import logging
logger = logging.getLogger(__name__)
# Create your views here.
def index(request):
return render(request, 'app/base.html')
| 18.1
| 43
| 0.762431
| 24
| 181
| 5.583333
| 0.833333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.143646
| 181
| 9
| 44
| 20.111111
| 0.864516
| 0.127072
| 0
| 0
| 0
| 0
| 0.083333
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| false
| 0
| 0.4
| 0.2
| 0.8
| 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
| 0
| 0
| 1
| 1
| 1
| 0
|
0
| 5
|
8f98a0e537d2b19fbc166f01d10e440c9ae0a879
| 14,692
|
py
|
Python
|
vkbeautify.py
|
vkiryukhin/vkbeautify-python
|
bd26dbc8e37e519392fa303f34999c82b86c413f
|
[
"MIT"
] | 5
|
2017-05-11T22:04:31.000Z
|
2019-08-06T00:07:20.000Z
|
vkbeautify.py
|
vkiryukhin/vkbeautify-python
|
bd26dbc8e37e519392fa303f34999c82b86c413f
|
[
"MIT"
] | null | null | null |
vkbeautify.py
|
vkiryukhin/vkbeautify-python
|
bd26dbc8e37e519392fa303f34999c82b86c413f
|
[
"MIT"
] | null | null | null |
#
# vkBeautify - python plugin to pretty-print or minify text in XML, JSON and CSS formats.
#
# Version - 0.3.0
# Copyright (c) 2016 Vadim Kiryukhin
# vkiryukhin @ gmail.com
# https://github.com/vkiryukhin/vkbeautify-python
#
# MIT license:
# http://www.opensource.org/licenses/mit-license.php
#
import sys, re, os.path
##########################################
# Interface
##########################################
def xml(src, dest=False, shift=4):
"""Beautify XML
Args:
src: xml string or path-to-file with text to beautify (mandatory)
dest: path-to-file to save beautified xml string; if file doesn't exist
it is created automatically; (optional)
if this arg is skept function returns string
shift: can be either integer or string
1) if int - number of spaces in tab, for example shift=8
<a>
<b></b>
</a>
2) if string - pattern, for example shift='....'
<a>
....<b></b>
</a>
Returns: 1) beautified XML string if dest is not provided
2) length of saved file if dest is provided
Example:
xml('path/to/file.xml')
xml('path/to/file.xml', 'path/to/save/result.xml')
xml('path/to/file.xml', 8)
xml('path/to/file.xml', '____')
xml('path/to/file.xml', 'path/to/save/result.xml', 2)
"""
if not dest:
return _xml(_text(src)) # returns string
else:
if type(dest) is int: # dest is skept, custom pattern provided at dist place
return _xml(_text(src), dest)
else:
with open(dest, 'w') as f2:
return f2.write(_xml(_text(src), shift))
def json(src, dest=False, shift=4):
"""Beautify JSON
Args:
src: JSON string or path-to-file with text to beautify (mandatory)
dest: path-to-file to save beautified json string; (optional)
if file doesn't exist it is created automatically;
if this arg is skept function returns string
shift: can be either integer or string (optional)
1) if shift is int: number of spaces in tab, for example shift=8
<a>
<b></b>
</a>
2) if shift is string: pattern (for example shift='....' )
<a>
....<b></b>
</a>
Returns: 1) beautified JSON string if dest is not provided
2) length of saved file if dest is provided
Example:
json('path/to/file.json')
json('path/to/file.json', 'path/to/save/result.json')
json('path/to/file.json', 8)
json('path/to/file.json', '____')
json('path/to/file.json', 'path/to/save/result.json', 2)
"""
if not dest:
return _json(_text(src)) # returns string
else:
if type(dest) is int: # dest is skept, custom pattern provided at dist place
return _json(_text(src), dest)
else:
with open(dest, 'w') as f2:
return f2.write(_json(_text(src), shift))
def css(src, dest=False, shift=4):
"""Beautify CSS
Args:
src: css string or path-to-file with text to beautify (mandatory)
dest: path-to-file to save beautified css string; if file doesn't exist
it is created automatically; (optional)
if this arg is skept function returns string
shift: can be either integer or string
1) if int - number of spaces in tab, for example shift=8
<a>
<b></b>
</a>
2) if string - pattern, for example shift='....'
<a>
....<b></b>
</a>
Returns: 1) beautified XML string if dest is not provided
2) length of saved file if dest is provided
Example:
css('path/to/file.css')
css('path/to/file.css', 'path/to/save/result.css')
css('path/to/file.css', 8)
css('path/to/file.css', '____')
css('path/to/file.css', 'path/to/save/result.css', 2)
"""
if not dest: # all default
return _css(_text(src))
else:
if type(dest) is int: #dest is skept, custom pattern provided at dist place
return _css(_text(src), dest)
else:
with open(dest, 'w') as f2:
return f2.write(_css(_text(src), shift))
def _xml_min(src, dest='', preserve_comments=True):
"""Minify XML
Args:
src: xml string or path-to-file with text to minify (mandatory)
dest: path-to-file to save minified xml string; if file doesn't exist
it is created automatically; (optional)
if this arg is skept function returns string
preserve_comments: if set False, all comments are removed from minified text
default is True (comments are preserved)
Returns: 1) minified XML string if dest is not provided
2) length of saved file if dest is provided
Example:
xml.min('path/to/file.xml')
xml.min('path/to/file.xml', 'path/to/save/result.xml')
xml.min('path/to/file.xml', False)
xml.min('path/to/file.xml', 'path/to/save/result.xml', False)
"""
if dest == '':
return _xml_min_exec(_text(src)) # returns string
else:
if type(dest) is bool: # dest is skept, custom pattern provided at dist place
return _xml_min_exec(_text(src), dest)
else:
with open(dest, 'w') as f2:
return f2.write(_xml_min_exec(_text(src), preserve_comments))
def _json_min(src, dest=''):
"""Minify JSON
Args:
src: json string or path-to-file with text to minify (mandatory)
dest: path-to-file to save minified xml string; (optional)
- if file doesn't exist it is created automatically;
- if this arg is skept function returns string
Returns: 1) minified JSON string if dest is not provided
2) length of saved file if dest is provided
Example:
json.min('path/to/file.json')
json.min('path/to/file.json', 'path/to/save/result.json')
"""
if dest == '':
return _json_min_exec(_text(src)) # returns string
else:
if type(dest) is bool: # dest is skept, custom pattern provided at dist place
return _json_min_exec(_text(src), dest)
else:
with open(dest, 'w') as f2:
return f2.write(_json_min_exec(_text(src)))
def _css_min(src, dest='', preserve_comments=True):
"""Minify CSS
Args:
src: css string or path-to-file with text to beautify (mandatory)
dest: path-to-file to save beautified css string; if file doesn't exist
it is created automatically; (optional)
if this arg is skept function returns string
preserve_comments: if set False, all comments are removed from minified text
default is True (comments are preserved)
Returns: 1) minified CSS string if dest is not provided
2) length of saved file if dest is provided
Example:
css.min('path/to/file.css')
css.min('path/to/file.css', 'path/to/save/result.css')
css.min('path/to/file.css', False)
css.min('path/to/file.css', 'path/to/save/result.css', False)
"""
if dest == '': # all default
return _css_min_exec(_text(src))
else:
if type(dest) is bool: #dest is skept, custom pattern provided at dist place
return _css_min_exec(_text(src), dest)
else:
with open(dest, 'w') as f2:
return f2.write(_css_min_exec(_text(src), preserve_comments))
# to make interface user friendly let's add minify function as attribute
xml.min = _xml_min
json.min = _json_min
css.min = _css_min
##########################################################
# XML Processor
##########################################################
def _xml(text, step=4):
ar = re.sub('>\s{0,}<', "><", text)
ar = re.sub('<', "~::~<", ar)
ar = re.sub('\s*xmlns\:', "~::~xmlns:", ar)
ar = re.sub('\s*xmlns\=', "~::~xmlns=", ar)
ar = ar.split('~::~')
length = len(ar)
inComment = False
deep = 0
str = ''
ix = 0
shift = _create_shift_arr(step)
while ix < length:
# start comment or <![CDATA[...]]> or <!DOCTYPE
if re.search('<!', ar[ix]):
str += shift[deep] + ar[ix]
inComment = True
# end comment or <![CDATA[...]]>
if (re.search('-->', ar[ix]) or
re.search('\]>', ar[ix]) or
re.search('!DOCTYPE',ar[ix])
):
inComment = False
# end comment or <![CDATA[...]]>
elif re.search('-->',ar[ix]) or re.search('\]>',ar[ix]):
str += ar[ix]
inComment = False
# <elm></elm>
elif ( re.search(r'^<\w',ar[ix-1]) and
re.search(r'^</\w', ar[ix]) and
(
re.search('^<[\w:\-\.\,]+',ar[ix-1]).group(0) ==
re.sub('/','', re.search(r'^</[\w:\-\.\,]+', ar[ix]).group(0))
)
):
str += ar[ix]
if not inComment:
deep -= 1
# <elm>
elif (re.search('<\w',ar[ix]) and not re.search('<\/',ar[ix])
and not re.search('\/>', ar[ix])):
if not inComment:
str += shift[deep]+ar[ix]
deep += 1
else:
str += ar[ix]
# <elm>...</elm>
elif re.search('<\w', ar[ix]) and re.search(r'</',ar[ix]):
str = str + shift[deep]+ar[ix] if not inComment else str + ar[ix]
# </elm>
elif re.search(r'</', ar[ix]):
if not inComment:
deep -= 1
str += shift[deep]+ar[ix]
else:
str += ar[ix]
# <elm/>
elif re.search('\/>', ar[ix]):
str = str + shift[deep]+ar[ix] if not inComment else str + ar[ix]
# <? xml ... ?>
elif re.search('<\?', ar[ix]):
str += shift[deep]+ar[ix]
# xmlns
elif re.search('xmlns\:', ar[ix]) or re.search('xmlns\=',ar[ix]):
str += shift[deep]+ar[ix];
else:
str += ar[ix];
ix += 1
return str[1:] if str[0] in ['\n','\r'] else str
def _xml_min_exec (text, preserveComments=True):
str = re.sub('[ \r\n\t]{1,}xmlns', ' xmlns', text)
reg_exp = '\<![ \r\n\t]*(--([^\-]|[\r\n]|-[^\-])*--[ \r\n\t]*)\>'
if not preserveComments:
str = re.sub(reg_exp, '', str)
return re.sub('>\s{0,}<', '><', str)
##########################################################
# JSON Processor
##########################################################
def _json(text, step=4):
ar = _json_min_exec(text)
ar = re.sub("\{", "~::~{~::~", ar)
ar = re.sub("\[", "[~::~", ar)
ar = re.sub("\}", "~::~}", ar)
ar = re.sub("\]", "~::~]", ar)
ar = re.sub("\"\,", '",~::~', ar)
ar = re.sub("\,\"", ',~::~"', ar)
ar = re.sub("\]\,", '],~::~', ar)
ar = re.sub("~::~\s{0,}~::~", "~::~", ar)
ar = ar.split('~::~')
deep = 0
str = ''
shift = _create_shift_arr(step)
for item in ar:
if re.search('\{', item):
str += shift[deep] + item
deep += 1
elif re.search('\[', item):
str += shift[deep] + item
deep += 1
elif re.search('\]', item):
deep -= 1
str += shift[deep] + item
elif re.search('\}', item):
deep -= 1
str += shift[deep] + item
else:
str += shift[deep] + item
str = re.sub('(\[\s*?\])', '[]', str)
str = re.sub('^\n{1,}',' ', str)
return str
def _json_min_exec(text):
str = ''
str = re.sub('\s{0,}\{\s{0,}', '{', text)
str = re.sub('\s{0,}\[$', '[', str)
str = re.sub('\[\s{0,}', '[', str)
str = re.sub(':\s{0,}\[',':[', str)
str = re.sub('\s{0,}\}\s{0,}', '}', str)
str = re.sub('\s{0,}\]\s{0,}',']', str)
str = re.sub('\"\s{0,}\,', '",', str)
str = re.sub('\,\s{0,}\"', ',"', str)
str = re.sub('\"\s{0,}:', '":', str)
str = re.sub(':\s{0,}\"', ':"', str)
str = re.sub(':\s{0,}\[', ':[', str)
str = re.sub('\,\s{0,}\[', ',[', str)
str = re.sub('\,\s{2,}', ', ', str)
str = re.sub('\]\s{0,},\s{0,}\[', '],[', str)
return str
##########################################################
# CSS Processor
##########################################################
def _css(text, step=4):
ar = re.sub('\s{1,}', ' ', text)
ar = re.sub('\{', '{~::~', ar)
ar = re.sub('\{',"{~::~", ar)
ar = re.sub('\}',"~::~}~::~", ar)
ar = re.sub('\;',";~::~", ar)
ar = re.sub('\/\*',"~::~/*", ar)
ar = re.sub('\*\/',"*/~::~", ar)
ar = re.sub('~::~\s{0,}~::~',"~::~", ar)
ar = ar.split('~::~')
deep = 0
str = ''
shift = _create_shift_arr(step)
for item in ar:
if re.search('\{', item):
str += shift[deep]+item
deep = deep+1
elif re.search('\}', item):
deep = deep-1
str += shift[deep]+item
elif re.search('\*\\\\', item):
str += shift[deep]+item
else:
str += shift[deep]+item
return str[1:] if str[0] in ['\n','\r'] else str
def _css_min_exec(text, preserveComments=True):
str = text
reg_exp = '\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\/'
if not preserveComments:
str = re.sub(reg_exp, '', text)
str = re.sub('\s{1,}', ' ', str)
str = re.sub('\{\s{1,}', '{', str)
str = re.sub('\}\s{1,}', '}', str)
str = re.sub('\;\s{1,}', ';', str)
str = re.sub('\/\*\s{1,}', '/*', str)
str = re.sub('\*\/\s{1,}', '*/', str)
return str
##############################################
# Helper
##############################################
def _create_shift_arr(step):
shift = ['\n']
ix = 0
space = ' '*step if type(step) is int else step
while ix < 100:
shift.append(shift[ix]+space)
ix = ix + 1
return shift;
def _text(src):
if(os.path.isfile(src)): # load data from file
with open(src, 'r') as f1:
return f1.read()
return src
| 31.732181
| 89
| 0.473727
| 1,887
| 14,692
| 3.626921
| 0.086381
| 0.042081
| 0.054062
| 0.027615
| 0.834161
| 0.797195
| 0.738749
| 0.703244
| 0.67329
| 0.627411
| 0
| 0.011183
| 0.318337
| 14,692
| 462
| 90
| 31.800866
| 0.672192
| 0.397495
| 0
| 0.445946
| 0
| 0
| 0.094134
| 0.010118
| 0
| 0
| 0
| 0
| 0
| 1
| 0.063063
| false
| 0
| 0.004505
| 0
| 0.189189
| 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
|
8fcc40d880fe6216177613c594ac3c0242a1b49e
| 227
|
py
|
Python
|
Program_Python_code/32.py
|
skyhigh8591/Learning_Test_Program
|
5f3c0f11874618919002126863772e0dd06a1072
|
[
"MIT"
] | null | null | null |
Program_Python_code/32.py
|
skyhigh8591/Learning_Test_Program
|
5f3c0f11874618919002126863772e0dd06a1072
|
[
"MIT"
] | null | null | null |
Program_Python_code/32.py
|
skyhigh8591/Learning_Test_Program
|
5f3c0f11874618919002126863772e0dd06a1072
|
[
"MIT"
] | null | null | null |
#! /usr/bin/python
#coding=utf-8
from math_operation import operation
num = operation(10,33)
print "operation:" +str(num[0])
print "operation:" +str(num[1])
print "operation:" +str(num[2])
print "operation:" +str(num[3])
| 20.636364
| 36
| 0.682819
| 35
| 227
| 4.4
| 0.542857
| 0.363636
| 0.441558
| 0.519481
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.045226
| 0.123348
| 227
| 10
| 37
| 22.7
| 0.728643
| 0.127753
| 0
| 0
| 0
| 0
| 0.204082
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 0.166667
| null | null | 0.666667
| 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 1
|
0
| 5
|
8fdac67a7eff4e846fd3084a889865c4ef0b137d
| 120
|
py
|
Python
|
pyactivetwo/__init__.py
|
kuz/pyactivetwo
|
5a145b1b49d0ab6ddf5ea01e7820ea856a53ebe5
|
[
"MIT"
] | 12
|
2015-11-17T08:07:30.000Z
|
2021-07-07T16:47:57.000Z
|
pyactivetwo/__init__.py
|
kuz/pyactivetwo
|
5a145b1b49d0ab6ddf5ea01e7820ea856a53ebe5
|
[
"MIT"
] | null | null | null |
pyactivetwo/__init__.py
|
kuz/pyactivetwo
|
5a145b1b49d0ab6ddf5ea01e7820ea856a53ebe5
|
[
"MIT"
] | 6
|
2017-02-02T04:17:28.000Z
|
2022-01-14T21:44:19.000Z
|
"""
pyactivetwo: Main module
Copyright 2015, Ilya Kuzovkin
Licensed under MIT.
"""
from pyactivetwo import ActiveTwo
| 12
| 33
| 0.766667
| 14
| 120
| 6.571429
| 0.928571
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.039604
| 0.158333
| 120
| 9
| 34
| 13.333333
| 0.871287
| 0.625
| 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
|
8fdf50d4a6e8c40704630ccfe0176e94b13455a5
| 81
|
py
|
Python
|
modules/encoder/__init__.py
|
cosandr/twitch-vods
|
b682a3e45f273ddcae6f8f89ac51fc4067e7d83a
|
[
"MIT"
] | null | null | null |
modules/encoder/__init__.py
|
cosandr/twitch-vods
|
b682a3e45f273ddcae6f8f89ac51fc4067e7d83a
|
[
"MIT"
] | null | null | null |
modules/encoder/__init__.py
|
cosandr/twitch-vods
|
b682a3e45f273ddcae6f8f89ac51fc4067e7d83a
|
[
"MIT"
] | null | null | null |
from .job import Job
from .response import Response
from .encoder import Encoder
| 20.25
| 30
| 0.814815
| 12
| 81
| 5.5
| 0.416667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.148148
| 81
| 3
| 31
| 27
| 0.956522
| 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
|
8fe094c967d55067eb33d9c1b9b505082581a670
| 87
|
py
|
Python
|
module/__init__.py
|
soxfmr/vanilla
|
706391f51acd1a867df7b2bbf19e48187682940b
|
[
"Apache-2.0"
] | null | null | null |
module/__init__.py
|
soxfmr/vanilla
|
706391f51acd1a867df7b2bbf19e48187682940b
|
[
"Apache-2.0"
] | null | null | null |
module/__init__.py
|
soxfmr/vanilla
|
706391f51acd1a867df7b2bbf19e48187682940b
|
[
"Apache-2.0"
] | null | null | null |
from base import Module
from port import PortForward
from firewall import FirewallRule
| 21.75
| 33
| 0.862069
| 12
| 87
| 6.25
| 0.666667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.137931
| 87
| 3
| 34
| 29
| 1
| 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
|
890c7a0d1e824de52a13b89a9bea70cbe2594964
| 183
|
py
|
Python
|
spamfilter/utils.py
|
lumbytyci/spam-filter
|
62e1d6dd71dc30f0b07d5b4bc8f0d547c5249954
|
[
"MIT"
] | null | null | null |
spamfilter/utils.py
|
lumbytyci/spam-filter
|
62e1d6dd71dc30f0b07d5b4bc8f0d547c5249954
|
[
"MIT"
] | 1
|
2022-02-10T01:59:23.000Z
|
2022-02-10T01:59:23.000Z
|
spamfilter/utils.py
|
lumbytyci/spam-filter
|
62e1d6dd71dc30f0b07d5b4bc8f0d547c5249954
|
[
"MIT"
] | null | null | null |
def decode_index(index: int) -> str:
return {0: "ham", 1: "spam"}[index]
def probability_to_index(prediction: list) -> int:
return 0 if prediction[0] > prediction[1] else 1
| 26.142857
| 52
| 0.666667
| 28
| 183
| 4.25
| 0.571429
| 0.117647
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.04
| 0.180328
| 183
| 6
| 53
| 30.5
| 0.753333
| 0
| 0
| 0
| 0
| 0
| 0.038251
| 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
|
8918af9a6c712c2f91be7546e93c19026fef729c
| 68
|
py
|
Python
|
tests/unit/__init__.py
|
cruz-f/protrend
|
b72c17fa1606b4cf5ca6d60c51737b43ba3fdbc1
|
[
"MIT"
] | null | null | null |
tests/unit/__init__.py
|
cruz-f/protrend
|
b72c17fa1606b4cf5ca6d60c51737b43ba3fdbc1
|
[
"MIT"
] | 1
|
2022-02-11T18:38:39.000Z
|
2022-02-11T18:38:39.000Z
|
tests/unit/__init__.py
|
cruz-f/protrend
|
b72c17fa1606b4cf5ca6d60c51737b43ba3fdbc1
|
[
"MIT"
] | null | null | null |
from .data_test import DataTest
from .domain_test import DomainTest
| 22.666667
| 35
| 0.852941
| 10
| 68
| 5.6
| 0.7
| 0.357143
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.117647
| 68
| 2
| 36
| 34
| 0.933333
| 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
|
64e77690d15bec9d52b31a3bddbea03b5dd1deb6
| 81
|
py
|
Python
|
controllers/__init__.py
|
oliverroyknox/rvdl
|
bdf0bc2fea9f9dd9820759a4595cc8285ec8b2fc
|
[
"MIT"
] | null | null | null |
controllers/__init__.py
|
oliverroyknox/rvdl
|
bdf0bc2fea9f9dd9820759a4595cc8285ec8b2fc
|
[
"MIT"
] | null | null | null |
controllers/__init__.py
|
oliverroyknox/rvdl
|
bdf0bc2fea9f9dd9820759a4595cc8285ec8b2fc
|
[
"MIT"
] | null | null | null |
from .reddit import RedditController
from .streamable import StreamableController
| 40.5
| 44
| 0.888889
| 8
| 81
| 9
| 0.75
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.08642
| 81
| 2
| 44
| 40.5
| 0.972973
| 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
|
64f06e441ae6029c96456211b2b586cc3cdc471a
| 102
|
py
|
Python
|
bookmark/admin.py
|
mentix02/medialist-backend
|
397b1a382b12bab273360dadb0b3c32de43747cd
|
[
"MIT"
] | 1
|
2019-11-22T19:29:39.000Z
|
2019-11-22T19:29:39.000Z
|
bookmark/admin.py
|
mentix02/medialist-backend
|
397b1a382b12bab273360dadb0b3c32de43747cd
|
[
"MIT"
] | 1
|
2019-11-25T09:50:07.000Z
|
2021-07-15T07:05:28.000Z
|
bookmark/admin.py
|
mentix02/medialist-backend
|
397b1a382b12bab273360dadb0b3c32de43747cd
|
[
"MIT"
] | null | null | null |
from django.contrib import admin
from bookmark.models import Bookmark
admin.site.register(Bookmark)
| 17
| 36
| 0.833333
| 14
| 102
| 6.071429
| 0.642857
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.107843
| 102
| 5
| 37
| 20.4
| 0.934066
| 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
|
8f1bad2ae04aacba5e6c92802ea9eaf1ff54ee42
| 166
|
py
|
Python
|
update_dataset.py
|
carlps/bikeshare-map
|
7ee9daa0061645025606e01e3dc73334167f8ef4
|
[
"MIT"
] | null | null | null |
update_dataset.py
|
carlps/bikeshare-map
|
7ee9daa0061645025606e01e3dc73334167f8ef4
|
[
"MIT"
] | 1
|
2017-09-17T16:03:10.000Z
|
2017-09-17T16:03:10.000Z
|
update_dataset.py
|
carlps/bikeshare-map
|
7ee9daa0061645025606e01e3dc73334167f8ef4
|
[
"MIT"
] | null | null | null |
from src.mapping import update_dataset
if __name__ == '__main__':
# create_and_load_stations_dataset.main()
update_dataset.main('cj6ptmstj02z12xnzfc6u4kzz')
| 27.666667
| 52
| 0.789157
| 19
| 166
| 6.157895
| 0.736842
| 0.222222
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.047945
| 0.120482
| 166
| 5
| 53
| 33.2
| 0.753425
| 0.23494
| 0
| 0
| 0
| 0
| 0.264
| 0.2
| 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
|
8f365113c9d204db9a7c4cdef428522d7fa5911b
| 56
|
py
|
Python
|
multisieve_coreference/__init__.py
|
mpvharmelen/coref_draft
|
30674e94bc9b3743bc9c9b01f26dc8e9b21cb6a8
|
[
"Apache-2.0"
] | null | null | null |
multisieve_coreference/__init__.py
|
mpvharmelen/coref_draft
|
30674e94bc9b3743bc9c9b01f26dc8e9b21cb6a8
|
[
"Apache-2.0"
] | 4
|
2019-06-14T08:55:32.000Z
|
2019-07-03T11:58:07.000Z
|
multisieve_coreference/__init__.py
|
mpvharmelen/coref_draft
|
30674e94bc9b3743bc9c9b01f26dc8e9b21cb6a8
|
[
"Apache-2.0"
] | 1
|
2021-03-29T17:19:58.000Z
|
2021-03-29T17:19:58.000Z
|
from .main import parse_args, main, process_coreference
| 28
| 55
| 0.839286
| 8
| 56
| 5.625
| 0.875
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.107143
| 56
| 1
| 56
| 56
| 0.9
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 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
|
8f5cc69fccea9d6571d67308dcd57c5be6344858
| 1,022
|
py
|
Python
|
python/anyascii/_data/_09e.py
|
casept/anyascii
|
d4f426b91751254b68eaa84c6cd23099edd668e6
|
[
"ISC"
] | null | null | null |
python/anyascii/_data/_09e.py
|
casept/anyascii
|
d4f426b91751254b68eaa84c6cd23099edd668e6
|
[
"ISC"
] | null | null | null |
python/anyascii/_data/_09e.py
|
casept/anyascii
|
d4f426b91751254b68eaa84c6cd23099edd668e6
|
[
"ISC"
] | null | null | null |
b='Shu Luo Xi Yi Ji Ze Yu Zhan Ye Yang Pi Ning Hu Mi Ying Meng Di Yue Yu Lei Bu Lu He Long Shuang Yue Ying Guan Qu Li Luan Niao Jiu Ji Yuan Ming Shi Ou Ya Cang Bao Zhen Gu Dong Lu Ya Xiao Yang Ling Chi Qu Yuan Xue Tuo Si Zhi Er Gua Xiu Heng Zhou Ge Luan Hong Wu Bo Li Juan Gu E Yu Xian Ti Wu Que Miao An Kun Bei Peng Qian Chun Geng Yuan Su Hu He E Gu Qiu Ci Mei Wu Yi Yao Weng Liu Ji Yi Jian He Yi Ying Zhe Liu Liao Jiao Jiu Yu Lu Huan Zhan Ying Hu Meng Guan Shuang Lu Jin Ling Jian Xian Cuo Jian Jian Yan Cuo Lu You Cu Ji Pao Cu Pao Zhu Jun Zhu Jian Mi Mi Yu Liu Chen Jun Lin Ni Qi Lu Jiu Jun Jing Li Xiang Xian Jia Mi Li She Zhang Lin Jing Qi Ling Yan Cu Mai Mai He Chao Fu Mian Mian Fu Pao Qu Qu Mou Fu Xian Lai Qu Mian Chi Feng Fu Qu Mian Ma Me Mo Hui Mo Zou Nun Fen Huang Huang Jin Guang Tian Tou Hong Hua Kuang Hong Shu Li Nian Chi Hei Hei Yi Qian Dan Xi Tun Mo Mo Qian Dai Chu You Dian Yi Xia Yan Qu Mei Yan Qing Yue Li Dang Du Can Yan Yan Yan Dan An Zhen Dai Can Yi Mei Zhan Yan Du Lu Zhi Fen Fu Fu Mian Mian Yuan'
| 1,022
| 1,022
| 0.747554
| 257
| 1,022
| 2.972763
| 0.509728
| 0.015707
| 0.026178
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.249511
| 1,022
| 1
| 1,022
| 1,022
| 0.996089
| 0
| 0
| 0
| 0
| 1
| 0.995112
| 0
| 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
|
8f65f359bfdfae920c0b27fa08eb45f9eb165a6d
| 102
|
py
|
Python
|
pyvim/enums.py
|
gigforks/pyvim
|
02e7695ff28aedca453fd66f8035c6f77e319512
|
[
"BSD-3-Clause"
] | null | null | null |
pyvim/enums.py
|
gigforks/pyvim
|
02e7695ff28aedca453fd66f8035c6f77e319512
|
[
"BSD-3-Clause"
] | null | null | null |
pyvim/enums.py
|
gigforks/pyvim
|
02e7695ff28aedca453fd66f8035c6f77e319512
|
[
"BSD-3-Clause"
] | null | null | null |
from __future__ import unicode_literals
# Vim command line buffer.
COMMAND_BUFFER = 'command-buffer'
| 20.4
| 39
| 0.813725
| 13
| 102
| 5.923077
| 0.692308
| 0.337662
| 0.493506
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.127451
| 102
| 4
| 40
| 25.5
| 0.865169
| 0.235294
| 0
| 0
| 0
| 0
| 0.184211
| 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
|
8f68487e70f383a7cd376e5f6bdbf17ef90567f3
| 33
|
py
|
Python
|
vaetc/evaluation/metrics/dci/__init__.py
|
ganmodokix/vaetc
|
866b79677b4f06603203376d967989dedadbffae
|
[
"MIT"
] | null | null | null |
vaetc/evaluation/metrics/dci/__init__.py
|
ganmodokix/vaetc
|
866b79677b4f06603203376d967989dedadbffae
|
[
"MIT"
] | null | null | null |
vaetc/evaluation/metrics/dci/__init__.py
|
ganmodokix/vaetc
|
866b79677b4f06603203376d967989dedadbffae
|
[
"MIT"
] | null | null | null |
from .classifier import dci_score
| 33
| 33
| 0.878788
| 5
| 33
| 5.6
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.090909
| 33
| 1
| 33
| 33
| 0.933333
| 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
|
8f6f419c8a169a2ca5473b395d7854a0b9dd2a6c
| 362
|
py
|
Python
|
client/tinychain/__init__.py
|
gitter-badger/tinychain
|
9ed5ed7f0194032ee0c71e236be4bf2a5ba9e384
|
[
"Apache-2.0"
] | null | null | null |
client/tinychain/__init__.py
|
gitter-badger/tinychain
|
9ed5ed7f0194032ee0c71e236be4bf2a5ba9e384
|
[
"Apache-2.0"
] | null | null | null |
client/tinychain/__init__.py
|
gitter-badger/tinychain
|
9ed5ed7f0194032ee0c71e236be4bf2a5ba9e384
|
[
"Apache-2.0"
] | null | null | null |
import tinychain.error
import tinychain.host
from tinychain.decorators import *
from tinychain.chain import Chain
from tinychain.cluster import Cluster, write_cluster
from tinychain.ref import *
from tinychain.reflect import Meta
from tinychain.state import Class, Instance, Map, State, Scalar, Tuple
from tinychain.util import *
from tinychain.value import *
| 27.846154
| 70
| 0.823204
| 49
| 362
| 6.061224
| 0.408163
| 0.350168
| 0.191919
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.121547
| 362
| 12
| 71
| 30.166667
| 0.933962
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| null | 1
| 1
| 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
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
71257c3eea6cfb0480c64705e8c4354d37aa00cd
| 69
|
py
|
Python
|
python/temperature.py
|
robertopao/code-refinery-bq
|
1190128c9a6df200cd39f63ea1346485798a3e9a
|
[
"Apache-2.0"
] | null | null | null |
python/temperature.py
|
robertopao/code-refinery-bq
|
1190128c9a6df200cd39f63ea1346485798a3e9a
|
[
"Apache-2.0"
] | null | null | null |
python/temperature.py
|
robertopao/code-refinery-bq
|
1190128c9a6df200cd39f63ea1346485798a3e9a
|
[
"Apache-2.0"
] | null | null | null |
def print_temperature():
temperature = 10
print(temperature)
| 17.25
| 24
| 0.710145
| 7
| 69
| 6.857143
| 0.571429
| 0.666667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.036364
| 0.202899
| 69
| 3
| 25
| 23
| 0.836364
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0
| 0
| 0.333333
| 0.666667
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
|
0
| 5
|
8535a40e34babf7e8061457a1d097c333686a1c1
| 1,411
|
py
|
Python
|
Quadcopter PID Control in V-REP simolator/vrep_imu.py
|
98210184/Quadcopter-PID-Control-in-V-REP
|
44538bab87b09e9758ae0e54ec4e5368f22bdb49
|
[
"MIT"
] | 1
|
2022-02-22T08:50:14.000Z
|
2022-02-22T08:50:14.000Z
|
Quadcopter PID Control in V-REP simolator/vrep_imu.py
|
98210184/Quadcopter-PID-Control-in-V-REP
|
44538bab87b09e9758ae0e54ec4e5368f22bdb49
|
[
"MIT"
] | null | null | null |
Quadcopter PID Control in V-REP simolator/vrep_imu.py
|
98210184/Quadcopter-PID-Control-in-V-REP
|
44538bab87b09e9758ae0e54ec4e5368f22bdb49
|
[
"MIT"
] | null | null | null |
#!/usr/bin/python
import vrep
def init_imu(clientID, quadHandle):
vrep.simxGetFloatSignal(clientID, 'gyroX', vrep.simx_opmode_streaming)
vrep.simxGetFloatSignal(clientID, 'gyroY', vrep.simx_opmode_streaming)
vrep.simxGetFloatSignal(clientID, 'gyroZ', vrep.simx_opmode_streaming)
vrep.simxGetFloatSignal(clientID, 'accelX', vrep.simx_opmode_streaming)
vrep.simxGetFloatSignal(clientID, 'accelY', vrep.simx_opmode_streaming)
vrep.simxGetFloatSignal(clientID, 'accelZ', vrep.simx_opmode_streaming)
vrep.simxGetObjectPosition(clientID, quadHandle, -1, vrep.simx_opmode_streaming)
def get_pos(clientID, quadHandle):
err, pos = vrep.simxGetObjectPosition(clientID, quadHandle, -1, vrep.simx_opmode_buffer)
return pos
def get_imu(clientID):
err, gX = vrep.simxGetFloatSignal(clientID, 'gyroX', vrep.simx_opmode_buffer)
err, gY = vrep.simxGetFloatSignal(clientID, 'gyroY', vrep.simx_opmode_buffer)
err, gZ = vrep.simxGetFloatSignal(clientID, 'gyroZ', vrep.simx_opmode_buffer)
err, aX = vrep.simxGetFloatSignal(clientID, 'accelX', vrep.simx_opmode_buffer)
err, aY = vrep.simxGetFloatSignal(clientID, 'accelY', vrep.simx_opmode_buffer)
err, aZ = vrep.simxGetFloatSignal(clientID, 'accelZ', vrep.simx_opmode_buffer)
# print('%.2f,%.2f,%.2f,%.2f,%.2f,%.2f') % (gX, gY, gZ, aX, aY, aZ)
return [gX, gY, gZ, aX, aY, aZ]
| 45.516129
| 93
| 0.731396
| 169
| 1,411
| 5.923077
| 0.207101
| 0.111888
| 0.195804
| 0.160839
| 0.844156
| 0.778222
| 0.754246
| 0.115884
| 0
| 0
| 0
| 0.006606
| 0.141743
| 1,411
| 30
| 94
| 47.033333
| 0.819983
| 0.058115
| 0
| 0
| 0
| 0
| 0.050887
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.15
| false
| 0
| 0.05
| 0
| 0.3
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
85a53b4fe0ec7b27749d733dab50875cfac61029
| 473
|
py
|
Python
|
myapp/models.py
|
mathewlathara/TSAbaggagedetection
|
7a83d756896e14e2d8bb62a9f1628d889778bddc
|
[
"MIT"
] | null | null | null |
myapp/models.py
|
mathewlathara/TSAbaggagedetection
|
7a83d756896e14e2d8bb62a9f1628d889778bddc
|
[
"MIT"
] | null | null | null |
myapp/models.py
|
mathewlathara/TSAbaggagedetection
|
7a83d756896e14e2d8bb62a9f1628d889778bddc
|
[
"MIT"
] | null | null | null |
from django.db import models
# Create your models here.
class passenger(models.Model):
passenger_name = models.CharField(max_length=50)
passport_number = models.CharField(max_length=30)
dept_airport = models.CharField(max_length=50)
arrive_airport = models.CharField(max_length=30)
flight_number = models.CharField(max_length=30)
url_image = models.CharField(max_length=255, default="")
class Meta:
db_table = "passenger_tbl"
| 31.533333
| 60
| 0.731501
| 62
| 473
| 5.354839
| 0.483871
| 0.271084
| 0.325301
| 0.433735
| 0.46988
| 0.192771
| 0
| 0
| 0
| 0
| 0
| 0.033248
| 0.173362
| 473
| 14
| 61
| 33.785714
| 0.815857
| 0.05074
| 0
| 0
| 0
| 0
| 0.029148
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0.4
| 0.1
| 0
| 0.9
| 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
| 0
| 0
| 1
| 0
| 0
| 1
| 0
|
0
| 5
|
85b786a4b8172c082eeb6c7b45333e46ff71c89f
| 219
|
py
|
Python
|
minio_helpers/minio_general_helpers.py
|
ChristopherHaydenTodd/ctodd-python-lib-minio
|
8cca14c43dcc40e889db63accb63446d4ebf82a2
|
[
"MIT"
] | 1
|
2019-08-02T08:58:41.000Z
|
2019-08-02T08:58:41.000Z
|
minio_helpers/minio_general_helpers.py
|
ChristopherHaydenTodd/ctodd-python-lib-minio
|
8cca14c43dcc40e889db63accb63446d4ebf82a2
|
[
"MIT"
] | null | null | null |
minio_helpers/minio_general_helpers.py
|
ChristopherHaydenTodd/ctodd-python-lib-minio
|
8cca14c43dcc40e889db63accb63446d4ebf82a2
|
[
"MIT"
] | null | null | null |
"""
Purpose:
Minio Object Storage General Helpers.
This library is used to interact with Minio object storage.
"""
# Python Library Imports
import logging
import minio
###
# General Helpers
###
| 12.882353
| 67
| 0.666667
| 25
| 219
| 5.84
| 0.68
| 0.150685
| 0.246575
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.255708
| 219
| 16
| 68
| 13.6875
| 0.895706
| 0.707763
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
85b9cbe1cf5b7ea54cbffafcf387674a343441bc
| 224
|
py
|
Python
|
src/cnn_rfi/utils.py
|
listerchen319/cnn_rfi
|
202e9a27a9645ded37317aa5c9114e0e9944c6a8
|
[
"MIT"
] | 1
|
2021-11-27T23:31:30.000Z
|
2021-11-27T23:31:30.000Z
|
src/cnn_rfi/utils.py
|
listerchen319/cnn_rfi
|
202e9a27a9645ded37317aa5c9114e0e9944c6a8
|
[
"MIT"
] | null | null | null |
src/cnn_rfi/utils.py
|
listerchen319/cnn_rfi
|
202e9a27a9645ded37317aa5c9114e0e9944c6a8
|
[
"MIT"
] | null | null | null |
# copyright(c) 2021 Lister Chen
# licensed under mit license
import numpy as np
#general purpose functions that have to do with data manipulation
#but not the actual machine learning methods
def testing(x):
return x+2
| 22.4
| 65
| 0.772321
| 36
| 224
| 4.805556
| 0.972222
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.027322
| 0.183036
| 224
| 9
| 66
| 24.888889
| 0.918033
| 0.727679
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0.333333
| 0.333333
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 1
| 1
| 0
|
0
| 5
|
a447a3bd3fffd0d325180fcd84f53cec956cd8c7
| 716
|
py
|
Python
|
kaggle-classification/setup.py
|
CyberFlameGO/conversationai-models
|
f82f66398b221d9fe3bcfd7641610af454b3db46
|
[
"Apache-2.0"
] | 139
|
2018-03-05T16:34:41.000Z
|
2022-03-09T01:36:13.000Z
|
kaggle-classification/setup.py
|
CyberFlameGO/conversationai-models
|
f82f66398b221d9fe3bcfd7641610af454b3db46
|
[
"Apache-2.0"
] | 125
|
2018-03-05T21:19:31.000Z
|
2020-11-13T17:50:12.000Z
|
kaggle-classification/setup.py
|
CyberFlameGO/conversationai-models
|
f82f66398b221d9fe3bcfd7641610af454b3db46
|
[
"Apache-2.0"
] | 47
|
2018-03-21T19:37:14.000Z
|
2022-03-09T01:36:21.000Z
|
from setuptools import find_packages
from setuptools import setup
REQUIRED_PACKAGES = [
'tflearn>=0.3.2', 'Keras==2.1.5', 'h5py==2.7.1', 'comet-ml==1.0.8',
'nltk>=3.3'
]
setup(
name='trainer',
version='0.1',
install_requires=REQUIRED_PACKAGES,
packages=find_packages(),
include_package_data=True,
description='tflearn.')
setup(
name='keras_trainer',
version='0.1',
install_requires=REQUIRED_PACKAGES,
packages=find_packages(),
include_package_data=True,
description='tflearn.')
setup(
name='tf_trainer',
version='0.1',
install_requires=REQUIRED_PACKAGES,
packages=find_packages(),
include_package_data=True,
description='tflearn.')
| 22.375
| 71
| 0.681564
| 90
| 716
| 5.211111
| 0.344444
| 0.102345
| 0.095949
| 0.102345
| 0.722815
| 0.722815
| 0.722815
| 0.722815
| 0.722815
| 0.722815
| 0
| 0.035354
| 0.170391
| 716
| 31
| 72
| 23.096774
| 0.754209
| 0
| 0
| 0.666667
| 0
| 0
| 0.173184
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.074074
| 0
| 0.074074
| 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
|
a46b0d04e9a4ea78435d1dd5be6455c65f9c00d2
| 320
|
py
|
Python
|
app/dnd_campaign/__init__.py
|
tassaron2/tabletop-story
|
a69db417fbe14ba7d7ef14e653dcfa2ed73d6374
|
[
"MIT"
] | 2
|
2021-02-11T02:51:58.000Z
|
2021-07-29T01:42:48.000Z
|
app/dnd_campaign/__init__.py
|
tassaron2/tabletop-story
|
a69db417fbe14ba7d7ef14e653dcfa2ed73d6374
|
[
"MIT"
] | null | null | null |
app/dnd_campaign/__init__.py
|
tassaron2/tabletop-story
|
a69db417fbe14ba7d7ef14e653dcfa2ed73d6374
|
[
"MIT"
] | null | null | null |
"""
This subpackage of tabletop_story is similar to the dnd_character dependency,
but for things that are outside the scope of D&D characters yet inside the scope of a D&D campaign.
dnd_campaign is not big enough for its own repo yet, but it could be in the future.
"""
from .combat import Combat
from .npc import NPC
| 32
| 99
| 0.775
| 59
| 320
| 4.152542
| 0.677966
| 0.065306
| 0.081633
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.18125
| 320
| 9
| 100
| 35.555556
| 0.935115
| 0.81875
| 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
|
f10309d008c26410831a63999c90e60199aa5741
| 145,256
|
py
|
Python
|
src/google/appengine/datastore/datastore_v3_bytes_pb2.py
|
asriniva/appengine-python-standard
|
8a5abedfe99b27a4dcb31fd47d3ba7b62fd0e47c
|
[
"Apache-2.0"
] | 28
|
2021-01-06T19:55:21.000Z
|
2022-03-28T09:41:08.000Z
|
src/google/appengine/datastore/datastore_v3_bytes_pb2.py
|
asriniva/appengine-python-standard
|
8a5abedfe99b27a4dcb31fd47d3ba7b62fd0e47c
|
[
"Apache-2.0"
] | 13
|
2021-06-17T09:38:17.000Z
|
2022-03-11T01:12:33.000Z
|
src/google/appengine/datastore/datastore_v3_bytes_pb2.py
|
asriniva/appengine-python-standard
|
8a5abedfe99b27a4dcb31fd47d3ba7b62fd0e47c
|
[
"Apache-2.0"
] | 28
|
2021-03-09T19:27:37.000Z
|
2022-01-21T21:18:52.000Z
|
#!/usr/bin/env python
#
# Copyright 2007 Google 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.
#
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
_sym_db = _symbol_database.Default()
from google.appengine.datastore import action_pb2 as google_dot_appengine_dot_datastore_dot_action__pb2
from google.appengine.datastore import entity_bytes_pb2 as google_dot_appengine_dot_datastore_dot_entity__bytes__pb2
from google.appengine.datastore import snapshot_pb2 as google_dot_appengine_dot_datastore_dot_snapshot__pb2
DESCRIPTOR = _descriptor.FileDescriptor(
name='google/appengine/datastore/datastore_v3_bytes.proto',
package='apphosting_datastore_v3_bytes',
syntax='proto2',
serialized_options=b'\n%com.google.google.appengine.datastoreB\rDatastoreV3Pb',
create_key=_descriptor._internal_create_key,
serialized_pb=b'\n3google/appengine/datastore/datastore_v3_bytes.proto\x12\x1d\x61pphosting_datastore_v3_bytes\x1a\'google/appengine/datastore/action.proto\x1a-google/appengine/datastore/entity_bytes.proto\x1a)google/appengine/datastore/snapshot.proto\"\xa0\x01\n\x0bTransaction\x12\x0e\n\x06handle\x18\x01 \x02(\x06\x12\x0b\n\x03\x61pp\x18\x02 \x02(\t\x12\x13\n\x0b\x64\x61tabase_id\x18\x06 \x01(\t\x12\x1b\n\x0cmark_changes\x18\x03 \x01(\x08:\x05\x66\x61lse\x12\x42\n\x0f\x63omposite_index\x18\x05 \x03(\x0b\x32).storage_onestore_v3_bytes.CompositeIndex\"\xa1\x0c\n\x05Query\x12\x0b\n\x03\x61pp\x18\x01 \x02(\t\x12\x13\n\x0b\x64\x61tabase_id\x18* \x01(\t\x12\x12\n\nname_space\x18\x1d \x01(\t\x12\x0c\n\x04kind\x18\x03 \x01(\t\x12\x36\n\x08\x61ncestor\x18\x11 \x01(\x0b\x32$.storage_onestore_v3_bytes.Reference\x12\x0f\n\x07shallow\x18+ \x01(\x08\x12;\n\x06\x66ilter\x18\x04 \x03(\n2+.apphosting_datastore_v3_bytes.Query.Filter\x12\x14\n\x0csearch_query\x18\x08 \x01(\t\x12\x39\n\x05order\x18\t \x03(\n2*.apphosting_datastore_v3_bytes.Query.Order\x12\x37\n\x04hint\x18\x12 \x01(\x0e\x32).apphosting_datastore_v3_bytes.Query.Hint\x12\r\n\x05\x63ount\x18\x17 \x01(\x05\x12\x11\n\x06offset\x18\x0c \x01(\x05:\x01\x30\x12\r\n\x05limit\x18\x10 \x01(\x05\x12\x46\n\x0f\x63ompiled_cursor\x18\x1e \x01(\x0b\x32-.apphosting_datastore_v3_bytes.CompiledCursor\x12J\n\x13\x65nd_compiled_cursor\x18\x1f \x01(\x0b\x32-.apphosting_datastore_v3_bytes.CompiledCursor\x12\x42\n\x0f\x63omposite_index\x18\x13 \x03(\x0b\x32).storage_onestore_v3_bytes.CompositeIndex\x12#\n\x14require_perfect_plan\x18\x14 \x01(\x08:\x05\x66\x61lse\x12\x18\n\tkeys_only\x18\x15 \x01(\x08:\x05\x66\x61lse\x12?\n\x0btransaction\x18\x16 \x01(\x0b\x32*.apphosting_datastore_v3_bytes.Transaction\x12\x16\n\x07\x63ompile\x18\x19 \x01(\x08:\x05\x66\x61lse\x12\x13\n\x0b\x66\x61ilover_ms\x18\x1a \x01(\x03\x12\x0e\n\x06strong\x18 \x01(\x08\x12\x15\n\rproperty_name\x18! \x03(\t\x12\x1e\n\x16group_by_property_name\x18\" \x03(\t\x12\x10\n\x08\x64istinct\x18\x18 \x01(\x08\x12\x1d\n\x15min_safe_time_seconds\x18# \x01(\x03\x12\x19\n\x11safe_replica_name\x18$ \x03(\t\x12 \n\x0epersist_offset\x18% \x01(\x08:\x04trueB\x02\x18\x01\x12\x14\n\x0cread_time_us\x18, \x01(\x03\x1a\xe7\x02\n\x06\x46ilter\x12@\n\x02op\x18\x06 \x02(\x0e\x32\x34.apphosting_datastore_v3_bytes.Query.Filter.Operator\x12\x35\n\x08property\x18\x0e \x03(\x0b\x32#.storage_onestore_v3_bytes.Property\x12<\n\ngeo_region\x18( \x01(\x0b\x32(.apphosting_datastore_v3_bytes.GeoRegion\"\xa5\x01\n\x08Operator\x12\r\n\tLESS_THAN\x10\x01\x12\x16\n\x12LESS_THAN_OR_EQUAL\x10\x02\x12\x10\n\x0cGREATER_THAN\x10\x03\x12\x19\n\x15GREATER_THAN_OR_EQUAL\x10\x04\x12\t\n\x05\x45QUAL\x10\x05\x12\x06\n\x02IN\x10\x06\x12\n\n\x06\x45XISTS\x10\x07\x12\x17\n\x13\x43ONTAINED_IN_REGION\x10\x08\x12\r\n\tNOT_EQUAL\x10\t\x1a\x99\x01\n\x05Order\x12\x10\n\x08property\x18\n \x02(\t\x12R\n\tdirection\x18\x0b \x01(\x0e\x32\x34.apphosting_datastore_v3_bytes.Query.Order.Direction:\tASCENDING\"*\n\tDirection\x12\r\n\tASCENDING\x10\x01\x12\x0e\n\nDESCENDING\x10\x02\"=\n\x04Hint\x12\x0f\n\x0bORDER_FIRST\x10\x01\x12\x12\n\x0e\x41NCESTOR_FIRST\x10\x02\x12\x10\n\x0c\x46ILTER_FIRST\x10\x03\"2\n\x0bRegionPoint\x12\x10\n\x08latitude\x18\x01 \x02(\x01\x12\x11\n\tlongitude\x18\x02 \x02(\x01\"a\n\x0c\x43ircleRegion\x12:\n\x06\x63\x65nter\x18\x01 \x02(\x0b\x32*.apphosting_datastore_v3_bytes.RegionPoint\x12\x15\n\rradius_meters\x18\x02 \x02(\x01\"\x8f\x01\n\x0fRectangleRegion\x12=\n\tsouthwest\x18\x01 \x02(\x0b\x32*.apphosting_datastore_v3_bytes.RegionPoint\x12=\n\tnortheast\x18\x02 \x02(\x0b\x32*.apphosting_datastore_v3_bytes.RegionPoint\"\x8b\x01\n\tGeoRegion\x12;\n\x06\x63ircle\x18\x01 \x01(\x0b\x32+.apphosting_datastore_v3_bytes.CircleRegion\x12\x41\n\trectangle\x18\x02 \x01(\x0b\x32..apphosting_datastore_v3_bytes.RectangleRegion\"\xec\x06\n\rCompiledQuery\x12M\n\x0bprimaryscan\x18\x01 \x02(\n28.apphosting_datastore_v3_bytes.CompiledQuery.PrimaryScan\x12Q\n\rmergejoinscan\x18\x07 \x03(\n2:.apphosting_datastore_v3_bytes.CompiledQuery.MergeJoinScan\x12\x33\n\tindex_def\x18\x15 \x01(\x0b\x32 .storage_onestore_v3_bytes.Index\x12\x11\n\x06offset\x18\n \x01(\x05:\x01\x30\x12\r\n\x05limit\x18\x0b \x01(\x05\x12\x11\n\tkeys_only\x18\x0c \x02(\x08\x12\x15\n\rproperty_name\x18\x18 \x03(\t\x12\x1b\n\x13\x64istinct_infix_size\x18\x19 \x01(\x05\x12\x17\n\x0fkey_path_length\x18\x1b \x01(\x05\x12O\n\x0c\x65ntityfilter\x18\r \x01(\n29.apphosting_datastore_v3_bytes.CompiledQuery.EntityFilter\x12\x12\n\nplan_label\x18\x1a \x01(\t\x1a\xd5\x01\n\x0bPrimaryScan\x12\x12\n\nindex_name\x18\x02 \x01(\t\x12\x11\n\tstart_key\x18\x03 \x01(\x0c\x12\x17\n\x0fstart_inclusive\x18\x04 \x01(\x08\x12\x0f\n\x07\x65nd_key\x18\x05 \x01(\x0c\x12\x15\n\rend_inclusive\x18\x06 \x01(\x08\x12\x1b\n\x13start_postfix_value\x18\x16 \x03(\x0c\x12\x19\n\x11\x65nd_postfix_value\x18\x17 \x03(\x0c\x12&\n\x1e\x65nd_unapplied_log_timestamp_us\x18\x13 \x01(\x03\x1aV\n\rMergeJoinScan\x12\x12\n\nindex_name\x18\x08 \x02(\t\x12\x14\n\x0cprefix_value\x18\t \x03(\x0c\x12\x1b\n\x0cvalue_prefix\x18\x14 \x01(\x08:\x05\x66\x61lse\x1am\n\x0c\x45ntityFilter\x12\x17\n\x08\x64istinct\x18\x0e \x01(\x08:\x05\x66\x61lse\x12\x0c\n\x04kind\x18\x11 \x01(\t\x12\x36\n\x08\x61ncestor\x18\x12 \x01(\x0b\x32$.storage_onestore_v3_bytes.Reference\"\xbe\x04\n\x0e\x43ompiledCursor\x12L\n\x08position\x18\x02 \x01(\n26.apphosting_datastore_v3_bytes.CompiledCursor.PositionB\x02\x18\x01\x12\x41\n\x10postfix_position\x18\x01 \x01(\x0b\x32\'.storage_onestore_v3_bytes.IndexPostfix\x12\x43\n\x11\x61\x62solute_position\x18\x03 \x01(\x0b\x32(.storage_onestore_v3_bytes.IndexPosition\x1a\xd5\x02\n\x08Position\x12\x15\n\tstart_key\x18\x1b \x01(\x0c\x42\x02\x18\x01\x12Y\n\nindexvalue\x18\x1d \x03(\n2A.apphosting_datastore_v3_bytes.CompiledCursor.Position.IndexValueB\x02\x18\x01\x12\x35\n\x03key\x18 \x01(\x0b\x32$.storage_onestore_v3_bytes.ReferenceB\x02\x18\x01\x12!\n\x0fstart_inclusive\x18\x1c \x01(\x08:\x04trueB\x02\x18\x01\x12\x1c\n\x10\x62\x65\x66ore_ascending\x18! \x01(\x08\x42\x02\x18\x01\x1a_\n\nIndexValue\x12\x14\n\x08property\x18\x1e \x01(\tB\x02\x18\x01\x12;\n\x05value\x18\x1f \x02(\x0b\x32(.storage_onestore_v3_bytes.PropertyValueB\x02\x18\x01\":\n\x06\x43ursor\x12\x0e\n\x06\x63ursor\x18\x01 \x02(\x06\x12\x0b\n\x03\x61pp\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x61tabase_id\x18\x03 \x01(\t\"\x9f\x03\n\x05\x45rror\"\x95\x03\n\tErrorCode\x12\x0f\n\x0b\x42\x41\x44_REQUEST\x10\x01\x12\x1a\n\x16\x43ONCURRENT_TRANSACTION\x10\x02\x12\x12\n\x0eINTERNAL_ERROR\x10\x03\x12\x0e\n\nNEED_INDEX\x10\x04\x12\x0b\n\x07TIMEOUT\x10\x05\x12\x15\n\x11PERMISSION_DENIED\x10\x06\x12\x12\n\x0e\x42IGTABLE_ERROR\x10\x07\x12 \n\x1c\x43OMMITTED_BUT_STILL_APPLYING\x10\x08\x12\x17\n\x13\x43\x41PABILITY_DISABLED\x10\t\x12\x19\n\x15TRY_ALTERNATE_BACKEND\x10\n\x12\x15\n\x11SAFE_TIME_TOO_OLD\x10\x0b\x12\x16\n\x12RESOURCE_EXHAUSTED\x10\x0c\x12\x1c\n\x18SNAPSHOT_VERSION_TOO_OLD\x10\x12\x12\r\n\tNOT_FOUND\x10\r\x12\x12\n\x0e\x41LREADY_EXISTS\x10\x0e\x12\x17\n\x13\x46\x41ILED_PRECONDITION\x10\x0f\x12\x13\n\x0fUNAUTHENTICATED\x10\x10\x12\x0b\n\x07\x41\x42ORTED\x10\x11\"\xbd\x02\n\x04\x43ost\x12\x14\n\x0cindex_writes\x18\x01 \x01(\x05\x12\x19\n\x11index_write_bytes\x18\x02 \x01(\x05\x12\x15\n\rentity_writes\x18\x03 \x01(\x05\x12\x1a\n\x12\x65ntity_write_bytes\x18\x04 \x01(\x05\x12\x42\n\ncommitcost\x18\x05 \x01(\n2..apphosting_datastore_v3_bytes.Cost.CommitCost\x12!\n\x19\x61pproximate_storage_delta\x18\x08 \x01(\x05\x12\x1b\n\x13id_sequence_updates\x18\t \x01(\x05\x1aM\n\nCommitCost\x12\x1d\n\x15requested_entity_puts\x18\x06 \x01(\x05\x12 \n\x18requested_entity_deletes\x18\x07 \x01(\x05\"\xc4\x01\n\nGetRequest\x12\x31\n\x03key\x18\x01 \x03(\x0b\x32$.storage_onestore_v3_bytes.Reference\x12?\n\x0btransaction\x18\x02 \x01(\x0b\x32*.apphosting_datastore_v3_bytes.Transaction\x12\x13\n\x0b\x66\x61ilover_ms\x18\x03 \x01(\x03\x12\x0e\n\x06strong\x18\x04 \x01(\x08\x12\x1d\n\x0e\x61llow_deferred\x18\x05 \x01(\x08:\x05\x66\x61lse\"\xa7\x02\n\x0bGetResponse\x12\x41\n\x06\x65ntity\x18\x01 \x03(\n21.apphosting_datastore_v3_bytes.GetResponse.Entity\x12\x36\n\x08\x64\x65\x66\x65rred\x18\x05 \x03(\x0b\x32$.storage_onestore_v3_bytes.Reference\x12\x16\n\x08in_order\x18\x06 \x01(\x08:\x04true\x1a\x84\x01\n\x06\x45ntity\x12\x36\n\x06\x65ntity\x18\x02 \x01(\x0b\x32&.storage_onestore_v3_bytes.EntityProto\x12\x31\n\x03key\x18\x04 \x01(\x0b\x32$.storage_onestore_v3_bytes.Reference\x12\x0f\n\x07version\x18\x03 \x01(\x03\"\xe4\x03\n\nPutRequest\x12\x36\n\x06\x65ntity\x18\x01 \x03(\x0b\x32&.storage_onestore_v3_bytes.EntityProto\x12?\n\x0btransaction\x18\x02 \x01(\x0b\x32*.apphosting_datastore_v3_bytes.Transaction\x12\x42\n\x0f\x63omposite_index\x18\x03 \x03(\x0b\x32).storage_onestore_v3_bytes.CompositeIndex\x12\x16\n\x07trusted\x18\x04 \x01(\x08:\x05\x66\x61lse\x12\x14\n\x05\x66orce\x18\x07 \x01(\x08:\x05\x66\x61lse\x12\x1b\n\x0cmark_changes\x18\x08 \x01(\x08:\x05\x66\x61lse\x12/\n\x08snapshot\x18\t \x03(\x0b\x32\x1d.storage_onestore_v3.Snapshot\x12W\n\x0e\x61uto_id_policy\x18\n \x01(\x0e\x32\x36.apphosting_datastore_v3_bytes.PutRequest.AutoIdPolicy:\x07\x43URRENT\x12\x17\n\x0fsequence_number\x18\x0c \x01(\x03\"+\n\x0c\x41utoIdPolicy\x12\x0b\n\x07\x43URRENT\x10\x00\x12\x0e\n\nSEQUENTIAL\x10\x01\"\x84\x01\n\x0bPutResponse\x12\x31\n\x03key\x18\x01 \x03(\x0b\x32$.storage_onestore_v3_bytes.Reference\x12\x31\n\x04\x63ost\x18\x02 \x01(\x0b\x32#.apphosting_datastore_v3_bytes.Cost\x12\x0f\n\x07version\x18\x03 \x03(\x03\"\xcc\x01\n\x0cTouchRequest\x12\x31\n\x03key\x18\x01 \x03(\x0b\x32$.storage_onestore_v3_bytes.Reference\x12\x42\n\x0f\x63omposite_index\x18\x02 \x03(\x0b\x32).storage_onestore_v3_bytes.CompositeIndex\x12\x14\n\x05\x66orce\x18\x03 \x01(\x08:\x05\x66\x61lse\x12/\n\x08snapshot\x18\t \x03(\x0b\x32\x1d.storage_onestore_v3.Snapshot\"B\n\rTouchResponse\x12\x31\n\x04\x63ost\x18\x01 \x01(\x0b\x32#.apphosting_datastore_v3_bytes.Cost\"\xdc\x02\n\rDeleteRequest\x12\x31\n\x03key\x18\x06 \x03(\x0b\x32$.storage_onestore_v3_bytes.Reference\x12?\n\x0btransaction\x18\x05 \x01(\x0b\x32*.apphosting_datastore_v3_bytes.Transaction\x12\x42\n\x0f\x63omposite_index\x18\x0b \x03(\x0b\x32).storage_onestore_v3_bytes.CompositeIndex\x12\x16\n\x07trusted\x18\x04 \x01(\x08:\x05\x66\x61lse\x12\x14\n\x05\x66orce\x18\x07 \x01(\x08:\x05\x66\x61lse\x12\x1b\n\x0cmark_changes\x18\x08 \x01(\x08:\x05\x66\x61lse\x12/\n\x08snapshot\x18\t \x03(\x0b\x32\x1d.storage_onestore_v3.Snapshot\x12\x17\n\x0fsequence_number\x18\x0c \x01(\x03\"T\n\x0e\x44\x65leteResponse\x12\x31\n\x04\x63ost\x18\x01 \x01(\x0b\x32#.apphosting_datastore_v3_bytes.Cost\x12\x0f\n\x07version\x18\x03 \x03(\x03\"\x82\x01\n\x0bNextRequest\x12\x35\n\x06\x63ursor\x18\x01 \x02(\x0b\x32%.apphosting_datastore_v3_bytes.Cursor\x12\r\n\x05\x63ount\x18\x02 \x01(\x05\x12\x15\n\x06offset\x18\x04 \x01(\x05:\x01\x30\x42\x02\x18\x01\x12\x16\n\x07\x63ompile\x18\x03 \x01(\x08:\x05\x66\x61lse\"\xe5\x04\n\x0bQueryResult\x12\x35\n\x06\x63ursor\x18\x01 \x01(\x0b\x32%.apphosting_datastore_v3_bytes.Cursor\x12\x36\n\x06result\x18\x02 \x03(\x0b\x32&.storage_onestore_v3_bytes.EntityProto\x12\x17\n\x0fskipped_results\x18\x07 \x01(\x05\x12\x14\n\x0cmore_results\x18\x03 \x02(\x08\x12\x11\n\tkeys_only\x18\x04 \x01(\x08\x12\x12\n\nindex_only\x18\t \x01(\x08\x12\x11\n\tsmall_ops\x18\n \x01(\x08\x12\x44\n\x0e\x63ompiled_query\x18\x05 \x01(\x0b\x32,.apphosting_datastore_v3_bytes.CompiledQuery\x12\x46\n\x0f\x63ompiled_cursor\x18\x06 \x01(\x0b\x32-.apphosting_datastore_v3_bytes.CompiledCursor\x12\x38\n\x05index\x18\x08 \x03(\x0b\x32).storage_onestore_v3_bytes.CompositeIndex\x12\x0f\n\x07version\x18\x0b \x03(\x03\x12M\n\x16result_compiled_cursor\x18\x0c \x03(\x0b\x32-.apphosting_datastore_v3_bytes.CompiledCursor\x12V\n\x1fskipped_results_compiled_cursor\x18\r \x01(\x0b\x32-.apphosting_datastore_v3_bytes.CompiledCursor\"\xb7\x01\n\x12\x41llocateIdsRequest\x12\x37\n\tmodel_key\x18\x01 \x01(\x0b\x32$.storage_onestore_v3_bytes.Reference\x12\x0c\n\x04size\x18\x02 \x01(\x03\x12\x0b\n\x03max\x18\x03 \x01(\x03\x12\x35\n\x07reserve\x18\x05 \x03(\x0b\x32$.storage_onestore_v3_bytes.Reference\x12\x16\n\x07trusted\x18\x06 \x01(\x08:\x05\x66\x61lse\"d\n\x13\x41llocateIdsResponse\x12\r\n\x05start\x18\x01 \x02(\x03\x12\x0b\n\x03\x65nd\x18\x02 \x02(\x03\x12\x31\n\x04\x63ost\x18\x03 \x01(\x0b\x32#.apphosting_datastore_v3_bytes.Cost\"L\n\x10\x43ompositeIndices\x12\x38\n\x05index\x18\x01 \x03(\x0b\x32).storage_onestore_v3_bytes.CompositeIndex\"\x81\x01\n\x11\x41\x64\x64\x41\x63tionsRequest\x12?\n\x0btransaction\x18\x01 \x02(\x0b\x32*.apphosting_datastore_v3_bytes.Transaction\x12+\n\x06\x61\x63tion\x18\x02 \x03(\x0b\x32\x1b.storage_onestore_v3.Action\"\x14\n\x12\x41\x64\x64\x41\x63tionsResponse\"\xc5\x02\n\x17\x42\x65ginTransactionRequest\x12\x0b\n\x03\x61pp\x18\x01 \x02(\t\x12 \n\x11\x61llow_multiple_eg\x18\x02 \x01(\x08:\x05\x66\x61lse\x12\x13\n\x0b\x64\x61tabase_id\x18\x04 \x01(\t\x12]\n\x04mode\x18\x05 \x01(\x0e\x32\x46.apphosting_datastore_v3_bytes.BeginTransactionRequest.TransactionMode:\x07UNKNOWN\x12H\n\x14previous_transaction\x18\x07 \x01(\x0b\x32*.apphosting_datastore_v3_bytes.Transaction\"=\n\x0fTransactionMode\x12\x0b\n\x07UNKNOWN\x10\x00\x12\r\n\tREAD_ONLY\x10\x01\x12\x0e\n\nREAD_WRITE\x10\x02\"\xe6\x01\n\x0e\x43ommitResponse\x12\x31\n\x04\x63ost\x18\x01 \x01(\x0b\x32#.apphosting_datastore_v3_bytes.Cost\x12\x46\n\x07version\x18\x03 \x03(\n25.apphosting_datastore_v3_bytes.CommitResponse.Version\x1aY\n\x07Version\x12=\n\x0froot_entity_key\x18\x04 \x02(\x0b\x32$.storage_onestore_v3_bytes.Reference\x12\x0f\n\x07version\x18\x05 \x02(\x03\"8\n\x11GetIndicesRequest\x12\x0e\n\x06\x61pp_id\x18\x01 \x02(\t\x12\x13\n\x0b\x64\x61tabase_id\x18\x02 \x01(\t\"6\n\x13UpdateIndexResponse\x12\x10\n\x08type_url\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c\"\x86\x02\n\x12\x44\x61tastoreService_3\"\xef\x01\n\x06Method\x12\x07\n\x03Get\x10\x01\x12\x07\n\x03Put\x10\x02\x12\t\n\x05Touch\x10\x03\x12\n\n\x06\x44\x65lete\x10\x04\x12\x0c\n\x08RunQuery\x10\x05\x12\x0e\n\nAddActions\x10\x06\x12\x08\n\x04Next\x10\x07\x12\x10\n\x0c\x44\x65leteCursor\x10\x08\x12\x14\n\x10\x42\x65ginTransaction\x10\t\x12\n\n\x06\x43ommit\x10\n\x12\x0c\n\x08Rollback\x10\x0b\x12\x0f\n\x0b\x41llocateIds\x10\x0c\x12\x0f\n\x0b\x43reateIndex\x10\r\x12\x0f\n\x0bUpdateIndex\x10\x0e\x12\x0e\n\nGetIndices\x10\x0f\x12\x0f\n\x0b\x44\x65leteIndex\x10\x10\x42\x36\n%com.google.google.appengine.datastoreB\rDatastoreV3Pb'
,
dependencies=[google_dot_appengine_dot_datastore_dot_action__pb2.DESCRIPTOR,google_dot_appengine_dot_datastore_dot_entity__bytes__pb2.DESCRIPTOR,google_dot_appengine_dot_datastore_dot_snapshot__pb2.DESCRIPTOR,])
_QUERY_FILTER_OPERATOR = _descriptor.EnumDescriptor(
name='Operator',
full_name='apphosting_datastore_v3_bytes.Query.Filter.Operator',
filename=None,
file=DESCRIPTOR,
create_key=_descriptor._internal_create_key,
values=[
_descriptor.EnumValueDescriptor(
name='LESS_THAN', index=0, number=1,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='LESS_THAN_OR_EQUAL', index=1, number=2,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='GREATER_THAN', index=2, number=3,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='GREATER_THAN_OR_EQUAL', index=3, number=4,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='EQUAL', index=4, number=5,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='IN', index=5, number=6,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='EXISTS', index=6, number=7,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='CONTAINED_IN_REGION', index=7, number=8,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='NOT_EQUAL', index=8, number=9,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
],
containing_type=None,
serialized_options=None,
serialized_start=1566,
serialized_end=1731,
)
_sym_db.RegisterEnumDescriptor(_QUERY_FILTER_OPERATOR)
_QUERY_ORDER_DIRECTION = _descriptor.EnumDescriptor(
name='Direction',
full_name='apphosting_datastore_v3_bytes.Query.Order.Direction',
filename=None,
file=DESCRIPTOR,
create_key=_descriptor._internal_create_key,
values=[
_descriptor.EnumValueDescriptor(
name='ASCENDING', index=0, number=1,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='DESCENDING', index=1, number=2,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
],
containing_type=None,
serialized_options=None,
serialized_start=1845,
serialized_end=1887,
)
_sym_db.RegisterEnumDescriptor(_QUERY_ORDER_DIRECTION)
_QUERY_HINT = _descriptor.EnumDescriptor(
name='Hint',
full_name='apphosting_datastore_v3_bytes.Query.Hint',
filename=None,
file=DESCRIPTOR,
create_key=_descriptor._internal_create_key,
values=[
_descriptor.EnumValueDescriptor(
name='ORDER_FIRST', index=0, number=1,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='ANCESTOR_FIRST', index=1, number=2,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='FILTER_FIRST', index=2, number=3,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
],
containing_type=None,
serialized_options=None,
serialized_start=1889,
serialized_end=1950,
)
_sym_db.RegisterEnumDescriptor(_QUERY_HINT)
_ERROR_ERRORCODE = _descriptor.EnumDescriptor(
name='ErrorCode',
full_name='apphosting_datastore_v3_bytes.Error.ErrorCode',
filename=None,
file=DESCRIPTOR,
create_key=_descriptor._internal_create_key,
values=[
_descriptor.EnumValueDescriptor(
name='BAD_REQUEST', index=0, number=1,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='CONCURRENT_TRANSACTION', index=1, number=2,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='INTERNAL_ERROR', index=2, number=3,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='NEED_INDEX', index=3, number=4,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='TIMEOUT', index=4, number=5,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='PERMISSION_DENIED', index=5, number=6,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='BIGTABLE_ERROR', index=6, number=7,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='COMMITTED_BUT_STILL_APPLYING', index=7, number=8,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='CAPABILITY_DISABLED', index=8, number=9,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='TRY_ALTERNATE_BACKEND', index=9, number=10,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='SAFE_TIME_TOO_OLD', index=10, number=11,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='RESOURCE_EXHAUSTED', index=11, number=12,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='SNAPSHOT_VERSION_TOO_OLD', index=12, number=18,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='NOT_FOUND', index=13, number=13,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='ALREADY_EXISTS', index=14, number=14,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='FAILED_PRECONDITION', index=15, number=15,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='UNAUTHENTICATED', index=16, number=16,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='ABORTED', index=17, number=17,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
],
containing_type=None,
serialized_options=None,
serialized_start=3918,
serialized_end=4323,
)
_sym_db.RegisterEnumDescriptor(_ERROR_ERRORCODE)
_PUTREQUEST_AUTOIDPOLICY = _descriptor.EnumDescriptor(
name='AutoIdPolicy',
full_name='apphosting_datastore_v3_bytes.PutRequest.AutoIdPolicy',
filename=None,
file=DESCRIPTOR,
create_key=_descriptor._internal_create_key,
values=[
_descriptor.EnumValueDescriptor(
name='CURRENT', index=0, number=0,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='SEQUENTIAL', index=1, number=1,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
],
containing_type=None,
serialized_options=None,
serialized_start=5584,
serialized_end=5627,
)
_sym_db.RegisterEnumDescriptor(_PUTREQUEST_AUTOIDPOLICY)
_BEGINTRANSACTIONREQUEST_TRANSACTIONMODE = _descriptor.EnumDescriptor(
name='TransactionMode',
full_name='apphosting_datastore_v3_bytes.BeginTransactionRequest.TransactionMode',
filename=None,
file=DESCRIPTOR,
create_key=_descriptor._internal_create_key,
values=[
_descriptor.EnumValueDescriptor(
name='UNKNOWN', index=0, number=0,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='READ_ONLY', index=1, number=1,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='READ_WRITE', index=2, number=2,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
],
containing_type=None,
serialized_options=None,
serialized_start=8010,
serialized_end=8071,
)
_sym_db.RegisterEnumDescriptor(_BEGINTRANSACTIONREQUEST_TRANSACTIONMODE)
_DATASTORESERVICE_3_METHOD = _descriptor.EnumDescriptor(
name='Method',
full_name='apphosting_datastore_v3_bytes.DatastoreService_3.Method',
filename=None,
file=DESCRIPTOR,
create_key=_descriptor._internal_create_key,
values=[
_descriptor.EnumValueDescriptor(
name='Get', index=0, number=1,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='Put', index=1, number=2,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='Touch', index=2, number=3,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='Delete', index=3, number=4,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='RunQuery', index=4, number=5,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='AddActions', index=5, number=6,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='Next', index=6, number=7,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='DeleteCursor', index=7, number=8,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='BeginTransaction', index=8, number=9,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='Commit', index=9, number=10,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='Rollback', index=10, number=11,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='AllocateIds', index=11, number=12,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='CreateIndex', index=12, number=13,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='UpdateIndex', index=13, number=14,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='GetIndices', index=14, number=15,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='DeleteIndex', index=15, number=16,
serialized_options=None,
type=None,
create_key=_descriptor._internal_create_key),
],
containing_type=None,
serialized_options=None,
serialized_start=8444,
serialized_end=8683,
)
_sym_db.RegisterEnumDescriptor(_DATASTORESERVICE_3_METHOD)
_TRANSACTION = _descriptor.Descriptor(
name='Transaction',
full_name='apphosting_datastore_v3_bytes.Transaction',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='handle', full_name='apphosting_datastore_v3_bytes.Transaction.handle', index=0,
number=1, type=6, cpp_type=4, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='app', full_name='apphosting_datastore_v3_bytes.Transaction.app', index=1,
number=2, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='database_id', full_name='apphosting_datastore_v3_bytes.Transaction.database_id', index=2,
number=6, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='mark_changes', full_name='apphosting_datastore_v3_bytes.Transaction.mark_changes', index=3,
number=3, type=8, cpp_type=7, label=1,
has_default_value=True, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='composite_index', full_name='apphosting_datastore_v3_bytes.Transaction.composite_index', index=4,
number=5, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=218,
serialized_end=378,
)
_QUERY_FILTER = _descriptor.Descriptor(
name='Filter',
full_name='apphosting_datastore_v3_bytes.Query.Filter',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='op', full_name='apphosting_datastore_v3_bytes.Query.Filter.op', index=0,
number=6, type=14, cpp_type=8, label=2,
has_default_value=False, default_value=1,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='property', full_name='apphosting_datastore_v3_bytes.Query.Filter.property', index=1,
number=14, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='geo_region', full_name='apphosting_datastore_v3_bytes.Query.Filter.geo_region', index=2,
number=40, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
_QUERY_FILTER_OPERATOR,
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=1372,
serialized_end=1731,
)
_QUERY_ORDER = _descriptor.Descriptor(
name='Order',
full_name='apphosting_datastore_v3_bytes.Query.Order',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='property', full_name='apphosting_datastore_v3_bytes.Query.Order.property', index=0,
number=10, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='direction', full_name='apphosting_datastore_v3_bytes.Query.Order.direction', index=1,
number=11, type=14, cpp_type=8, label=1,
has_default_value=True, default_value=1,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
_QUERY_ORDER_DIRECTION,
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=1734,
serialized_end=1887,
)
_QUERY = _descriptor.Descriptor(
name='Query',
full_name='apphosting_datastore_v3_bytes.Query',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='app', full_name='apphosting_datastore_v3_bytes.Query.app', index=0,
number=1, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='database_id', full_name='apphosting_datastore_v3_bytes.Query.database_id', index=1,
number=42, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='name_space', full_name='apphosting_datastore_v3_bytes.Query.name_space', index=2,
number=29, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='kind', full_name='apphosting_datastore_v3_bytes.Query.kind', index=3,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='ancestor', full_name='apphosting_datastore_v3_bytes.Query.ancestor', index=4,
number=17, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='shallow', full_name='apphosting_datastore_v3_bytes.Query.shallow', index=5,
number=43, type=8, cpp_type=7, label=1,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='filter', full_name='apphosting_datastore_v3_bytes.Query.filter', index=6,
number=4, type=10, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='search_query', full_name='apphosting_datastore_v3_bytes.Query.search_query', index=7,
number=8, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='order', full_name='apphosting_datastore_v3_bytes.Query.order', index=8,
number=9, type=10, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='hint', full_name='apphosting_datastore_v3_bytes.Query.hint', index=9,
number=18, type=14, cpp_type=8, label=1,
has_default_value=False, default_value=1,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='count', full_name='apphosting_datastore_v3_bytes.Query.count', index=10,
number=23, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='offset', full_name='apphosting_datastore_v3_bytes.Query.offset', index=11,
number=12, type=5, cpp_type=1, label=1,
has_default_value=True, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='limit', full_name='apphosting_datastore_v3_bytes.Query.limit', index=12,
number=16, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='compiled_cursor', full_name='apphosting_datastore_v3_bytes.Query.compiled_cursor', index=13,
number=30, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='end_compiled_cursor', full_name='apphosting_datastore_v3_bytes.Query.end_compiled_cursor', index=14,
number=31, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='composite_index', full_name='apphosting_datastore_v3_bytes.Query.composite_index', index=15,
number=19, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='require_perfect_plan', full_name='apphosting_datastore_v3_bytes.Query.require_perfect_plan', index=16,
number=20, type=8, cpp_type=7, label=1,
has_default_value=True, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='keys_only', full_name='apphosting_datastore_v3_bytes.Query.keys_only', index=17,
number=21, type=8, cpp_type=7, label=1,
has_default_value=True, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='transaction', full_name='apphosting_datastore_v3_bytes.Query.transaction', index=18,
number=22, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='compile', full_name='apphosting_datastore_v3_bytes.Query.compile', index=19,
number=25, type=8, cpp_type=7, label=1,
has_default_value=True, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='failover_ms', full_name='apphosting_datastore_v3_bytes.Query.failover_ms', index=20,
number=26, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='strong', full_name='apphosting_datastore_v3_bytes.Query.strong', index=21,
number=32, type=8, cpp_type=7, label=1,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='property_name', full_name='apphosting_datastore_v3_bytes.Query.property_name', index=22,
number=33, type=9, cpp_type=9, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='group_by_property_name', full_name='apphosting_datastore_v3_bytes.Query.group_by_property_name', index=23,
number=34, type=9, cpp_type=9, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='distinct', full_name='apphosting_datastore_v3_bytes.Query.distinct', index=24,
number=24, type=8, cpp_type=7, label=1,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='min_safe_time_seconds', full_name='apphosting_datastore_v3_bytes.Query.min_safe_time_seconds', index=25,
number=35, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='safe_replica_name', full_name='apphosting_datastore_v3_bytes.Query.safe_replica_name', index=26,
number=36, type=9, cpp_type=9, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='persist_offset', full_name='apphosting_datastore_v3_bytes.Query.persist_offset', index=27,
number=37, type=8, cpp_type=7, label=1,
has_default_value=True, default_value=True,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='read_time_us', full_name='apphosting_datastore_v3_bytes.Query.read_time_us', index=28,
number=44, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[_QUERY_FILTER, _QUERY_ORDER, ],
enum_types=[
_QUERY_HINT,
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=381,
serialized_end=1950,
)
_REGIONPOINT = _descriptor.Descriptor(
name='RegionPoint',
full_name='apphosting_datastore_v3_bytes.RegionPoint',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='latitude', full_name='apphosting_datastore_v3_bytes.RegionPoint.latitude', index=0,
number=1, type=1, cpp_type=5, label=2,
has_default_value=False, default_value=float(0),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='longitude', full_name='apphosting_datastore_v3_bytes.RegionPoint.longitude', index=1,
number=2, type=1, cpp_type=5, label=2,
has_default_value=False, default_value=float(0),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=1952,
serialized_end=2002,
)
_CIRCLEREGION = _descriptor.Descriptor(
name='CircleRegion',
full_name='apphosting_datastore_v3_bytes.CircleRegion',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='center', full_name='apphosting_datastore_v3_bytes.CircleRegion.center', index=0,
number=1, type=11, cpp_type=10, label=2,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='radius_meters', full_name='apphosting_datastore_v3_bytes.CircleRegion.radius_meters', index=1,
number=2, type=1, cpp_type=5, label=2,
has_default_value=False, default_value=float(0),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=2004,
serialized_end=2101,
)
_RECTANGLEREGION = _descriptor.Descriptor(
name='RectangleRegion',
full_name='apphosting_datastore_v3_bytes.RectangleRegion',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='southwest', full_name='apphosting_datastore_v3_bytes.RectangleRegion.southwest', index=0,
number=1, type=11, cpp_type=10, label=2,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='northeast', full_name='apphosting_datastore_v3_bytes.RectangleRegion.northeast', index=1,
number=2, type=11, cpp_type=10, label=2,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=2104,
serialized_end=2247,
)
_GEOREGION = _descriptor.Descriptor(
name='GeoRegion',
full_name='apphosting_datastore_v3_bytes.GeoRegion',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='circle', full_name='apphosting_datastore_v3_bytes.GeoRegion.circle', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='rectangle', full_name='apphosting_datastore_v3_bytes.GeoRegion.rectangle', index=1,
number=2, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=2250,
serialized_end=2389,
)
_COMPILEDQUERY_PRIMARYSCAN = _descriptor.Descriptor(
name='PrimaryScan',
full_name='apphosting_datastore_v3_bytes.CompiledQuery.PrimaryScan',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='index_name', full_name='apphosting_datastore_v3_bytes.CompiledQuery.PrimaryScan.index_name', index=0,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='start_key', full_name='apphosting_datastore_v3_bytes.CompiledQuery.PrimaryScan.start_key', index=1,
number=3, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=b"",
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='start_inclusive', full_name='apphosting_datastore_v3_bytes.CompiledQuery.PrimaryScan.start_inclusive', index=2,
number=4, type=8, cpp_type=7, label=1,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='end_key', full_name='apphosting_datastore_v3_bytes.CompiledQuery.PrimaryScan.end_key', index=3,
number=5, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=b"",
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='end_inclusive', full_name='apphosting_datastore_v3_bytes.CompiledQuery.PrimaryScan.end_inclusive', index=4,
number=6, type=8, cpp_type=7, label=1,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='start_postfix_value', full_name='apphosting_datastore_v3_bytes.CompiledQuery.PrimaryScan.start_postfix_value', index=5,
number=22, type=12, cpp_type=9, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='end_postfix_value', full_name='apphosting_datastore_v3_bytes.CompiledQuery.PrimaryScan.end_postfix_value', index=6,
number=23, type=12, cpp_type=9, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='end_unapplied_log_timestamp_us', full_name='apphosting_datastore_v3_bytes.CompiledQuery.PrimaryScan.end_unapplied_log_timestamp_us', index=7,
number=19, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=2856,
serialized_end=3069,
)
_COMPILEDQUERY_MERGEJOINSCAN = _descriptor.Descriptor(
name='MergeJoinScan',
full_name='apphosting_datastore_v3_bytes.CompiledQuery.MergeJoinScan',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='index_name', full_name='apphosting_datastore_v3_bytes.CompiledQuery.MergeJoinScan.index_name', index=0,
number=8, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='prefix_value', full_name='apphosting_datastore_v3_bytes.CompiledQuery.MergeJoinScan.prefix_value', index=1,
number=9, type=12, cpp_type=9, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='value_prefix', full_name='apphosting_datastore_v3_bytes.CompiledQuery.MergeJoinScan.value_prefix', index=2,
number=20, type=8, cpp_type=7, label=1,
has_default_value=True, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=3071,
serialized_end=3157,
)
_COMPILEDQUERY_ENTITYFILTER = _descriptor.Descriptor(
name='EntityFilter',
full_name='apphosting_datastore_v3_bytes.CompiledQuery.EntityFilter',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='distinct', full_name='apphosting_datastore_v3_bytes.CompiledQuery.EntityFilter.distinct', index=0,
number=14, type=8, cpp_type=7, label=1,
has_default_value=True, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='kind', full_name='apphosting_datastore_v3_bytes.CompiledQuery.EntityFilter.kind', index=1,
number=17, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='ancestor', full_name='apphosting_datastore_v3_bytes.CompiledQuery.EntityFilter.ancestor', index=2,
number=18, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=3159,
serialized_end=3268,
)
_COMPILEDQUERY = _descriptor.Descriptor(
name='CompiledQuery',
full_name='apphosting_datastore_v3_bytes.CompiledQuery',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='primaryscan', full_name='apphosting_datastore_v3_bytes.CompiledQuery.primaryscan', index=0,
number=1, type=10, cpp_type=10, label=2,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='mergejoinscan', full_name='apphosting_datastore_v3_bytes.CompiledQuery.mergejoinscan', index=1,
number=7, type=10, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='index_def', full_name='apphosting_datastore_v3_bytes.CompiledQuery.index_def', index=2,
number=21, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='offset', full_name='apphosting_datastore_v3_bytes.CompiledQuery.offset', index=3,
number=10, type=5, cpp_type=1, label=1,
has_default_value=True, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='limit', full_name='apphosting_datastore_v3_bytes.CompiledQuery.limit', index=4,
number=11, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='keys_only', full_name='apphosting_datastore_v3_bytes.CompiledQuery.keys_only', index=5,
number=12, type=8, cpp_type=7, label=2,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='property_name', full_name='apphosting_datastore_v3_bytes.CompiledQuery.property_name', index=6,
number=24, type=9, cpp_type=9, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='distinct_infix_size', full_name='apphosting_datastore_v3_bytes.CompiledQuery.distinct_infix_size', index=7,
number=25, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='key_path_length', full_name='apphosting_datastore_v3_bytes.CompiledQuery.key_path_length', index=8,
number=27, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='entityfilter', full_name='apphosting_datastore_v3_bytes.CompiledQuery.entityfilter', index=9,
number=13, type=10, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='plan_label', full_name='apphosting_datastore_v3_bytes.CompiledQuery.plan_label', index=10,
number=26, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[_COMPILEDQUERY_PRIMARYSCAN, _COMPILEDQUERY_MERGEJOINSCAN, _COMPILEDQUERY_ENTITYFILTER, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=2392,
serialized_end=3268,
)
_COMPILEDCURSOR_POSITION_INDEXVALUE = _descriptor.Descriptor(
name='IndexValue',
full_name='apphosting_datastore_v3_bytes.CompiledCursor.Position.IndexValue',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='property', full_name='apphosting_datastore_v3_bytes.CompiledCursor.Position.IndexValue.property', index=0,
number=30, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='value', full_name='apphosting_datastore_v3_bytes.CompiledCursor.Position.IndexValue.value', index=1,
number=31, type=11, cpp_type=10, label=2,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=3750,
serialized_end=3845,
)
_COMPILEDCURSOR_POSITION = _descriptor.Descriptor(
name='Position',
full_name='apphosting_datastore_v3_bytes.CompiledCursor.Position',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='start_key', full_name='apphosting_datastore_v3_bytes.CompiledCursor.Position.start_key', index=0,
number=27, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=b"",
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='indexvalue', full_name='apphosting_datastore_v3_bytes.CompiledCursor.Position.indexvalue', index=1,
number=29, type=10, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='key', full_name='apphosting_datastore_v3_bytes.CompiledCursor.Position.key', index=2,
number=32, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='start_inclusive', full_name='apphosting_datastore_v3_bytes.CompiledCursor.Position.start_inclusive', index=3,
number=28, type=8, cpp_type=7, label=1,
has_default_value=True, default_value=True,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='before_ascending', full_name='apphosting_datastore_v3_bytes.CompiledCursor.Position.before_ascending', index=4,
number=33, type=8, cpp_type=7, label=1,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[_COMPILEDCURSOR_POSITION_INDEXVALUE, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=3504,
serialized_end=3845,
)
_COMPILEDCURSOR = _descriptor.Descriptor(
name='CompiledCursor',
full_name='apphosting_datastore_v3_bytes.CompiledCursor',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='position', full_name='apphosting_datastore_v3_bytes.CompiledCursor.position', index=0,
number=2, type=10, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='postfix_position', full_name='apphosting_datastore_v3_bytes.CompiledCursor.postfix_position', index=1,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='absolute_position', full_name='apphosting_datastore_v3_bytes.CompiledCursor.absolute_position', index=2,
number=3, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[_COMPILEDCURSOR_POSITION, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=3271,
serialized_end=3845,
)
_CURSOR = _descriptor.Descriptor(
name='Cursor',
full_name='apphosting_datastore_v3_bytes.Cursor',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='cursor', full_name='apphosting_datastore_v3_bytes.Cursor.cursor', index=0,
number=1, type=6, cpp_type=4, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='app', full_name='apphosting_datastore_v3_bytes.Cursor.app', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='database_id', full_name='apphosting_datastore_v3_bytes.Cursor.database_id', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=3847,
serialized_end=3905,
)
_ERROR = _descriptor.Descriptor(
name='Error',
full_name='apphosting_datastore_v3_bytes.Error',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
],
extensions=[
],
nested_types=[],
enum_types=[
_ERROR_ERRORCODE,
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=3908,
serialized_end=4323,
)
_COST_COMMITCOST = _descriptor.Descriptor(
name='CommitCost',
full_name='apphosting_datastore_v3_bytes.Cost.CommitCost',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='requested_entity_puts', full_name='apphosting_datastore_v3_bytes.Cost.CommitCost.requested_entity_puts', index=0,
number=6, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='requested_entity_deletes', full_name='apphosting_datastore_v3_bytes.Cost.CommitCost.requested_entity_deletes', index=1,
number=7, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=4566,
serialized_end=4643,
)
_COST = _descriptor.Descriptor(
name='Cost',
full_name='apphosting_datastore_v3_bytes.Cost',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='index_writes', full_name='apphosting_datastore_v3_bytes.Cost.index_writes', index=0,
number=1, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='index_write_bytes', full_name='apphosting_datastore_v3_bytes.Cost.index_write_bytes', index=1,
number=2, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='entity_writes', full_name='apphosting_datastore_v3_bytes.Cost.entity_writes', index=2,
number=3, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='entity_write_bytes', full_name='apphosting_datastore_v3_bytes.Cost.entity_write_bytes', index=3,
number=4, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='commitcost', full_name='apphosting_datastore_v3_bytes.Cost.commitcost', index=4,
number=5, type=10, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='approximate_storage_delta', full_name='apphosting_datastore_v3_bytes.Cost.approximate_storage_delta', index=5,
number=8, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='id_sequence_updates', full_name='apphosting_datastore_v3_bytes.Cost.id_sequence_updates', index=6,
number=9, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[_COST_COMMITCOST, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=4326,
serialized_end=4643,
)
_GETREQUEST = _descriptor.Descriptor(
name='GetRequest',
full_name='apphosting_datastore_v3_bytes.GetRequest',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='key', full_name='apphosting_datastore_v3_bytes.GetRequest.key', index=0,
number=1, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='transaction', full_name='apphosting_datastore_v3_bytes.GetRequest.transaction', index=1,
number=2, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='failover_ms', full_name='apphosting_datastore_v3_bytes.GetRequest.failover_ms', index=2,
number=3, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='strong', full_name='apphosting_datastore_v3_bytes.GetRequest.strong', index=3,
number=4, type=8, cpp_type=7, label=1,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='allow_deferred', full_name='apphosting_datastore_v3_bytes.GetRequest.allow_deferred', index=4,
number=5, type=8, cpp_type=7, label=1,
has_default_value=True, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=4646,
serialized_end=4842,
)
_GETRESPONSE_ENTITY = _descriptor.Descriptor(
name='Entity',
full_name='apphosting_datastore_v3_bytes.GetResponse.Entity',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='entity', full_name='apphosting_datastore_v3_bytes.GetResponse.Entity.entity', index=0,
number=2, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='key', full_name='apphosting_datastore_v3_bytes.GetResponse.Entity.key', index=1,
number=4, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='version', full_name='apphosting_datastore_v3_bytes.GetResponse.Entity.version', index=2,
number=3, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=5008,
serialized_end=5140,
)
_GETRESPONSE = _descriptor.Descriptor(
name='GetResponse',
full_name='apphosting_datastore_v3_bytes.GetResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='entity', full_name='apphosting_datastore_v3_bytes.GetResponse.entity', index=0,
number=1, type=10, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='deferred', full_name='apphosting_datastore_v3_bytes.GetResponse.deferred', index=1,
number=5, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='in_order', full_name='apphosting_datastore_v3_bytes.GetResponse.in_order', index=2,
number=6, type=8, cpp_type=7, label=1,
has_default_value=True, default_value=True,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[_GETRESPONSE_ENTITY, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=4845,
serialized_end=5140,
)
_PUTREQUEST = _descriptor.Descriptor(
name='PutRequest',
full_name='apphosting_datastore_v3_bytes.PutRequest',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='entity', full_name='apphosting_datastore_v3_bytes.PutRequest.entity', index=0,
number=1, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='transaction', full_name='apphosting_datastore_v3_bytes.PutRequest.transaction', index=1,
number=2, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='composite_index', full_name='apphosting_datastore_v3_bytes.PutRequest.composite_index', index=2,
number=3, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='trusted', full_name='apphosting_datastore_v3_bytes.PutRequest.trusted', index=3,
number=4, type=8, cpp_type=7, label=1,
has_default_value=True, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='force', full_name='apphosting_datastore_v3_bytes.PutRequest.force', index=4,
number=7, type=8, cpp_type=7, label=1,
has_default_value=True, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='mark_changes', full_name='apphosting_datastore_v3_bytes.PutRequest.mark_changes', index=5,
number=8, type=8, cpp_type=7, label=1,
has_default_value=True, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='snapshot', full_name='apphosting_datastore_v3_bytes.PutRequest.snapshot', index=6,
number=9, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='auto_id_policy', full_name='apphosting_datastore_v3_bytes.PutRequest.auto_id_policy', index=7,
number=10, type=14, cpp_type=8, label=1,
has_default_value=True, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='sequence_number', full_name='apphosting_datastore_v3_bytes.PutRequest.sequence_number', index=8,
number=12, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
_PUTREQUEST_AUTOIDPOLICY,
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=5143,
serialized_end=5627,
)
_PUTRESPONSE = _descriptor.Descriptor(
name='PutResponse',
full_name='apphosting_datastore_v3_bytes.PutResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='key', full_name='apphosting_datastore_v3_bytes.PutResponse.key', index=0,
number=1, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='cost', full_name='apphosting_datastore_v3_bytes.PutResponse.cost', index=1,
number=2, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='version', full_name='apphosting_datastore_v3_bytes.PutResponse.version', index=2,
number=3, type=3, cpp_type=2, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=5630,
serialized_end=5762,
)
_TOUCHREQUEST = _descriptor.Descriptor(
name='TouchRequest',
full_name='apphosting_datastore_v3_bytes.TouchRequest',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='key', full_name='apphosting_datastore_v3_bytes.TouchRequest.key', index=0,
number=1, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='composite_index', full_name='apphosting_datastore_v3_bytes.TouchRequest.composite_index', index=1,
number=2, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='force', full_name='apphosting_datastore_v3_bytes.TouchRequest.force', index=2,
number=3, type=8, cpp_type=7, label=1,
has_default_value=True, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='snapshot', full_name='apphosting_datastore_v3_bytes.TouchRequest.snapshot', index=3,
number=9, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=5765,
serialized_end=5969,
)
_TOUCHRESPONSE = _descriptor.Descriptor(
name='TouchResponse',
full_name='apphosting_datastore_v3_bytes.TouchResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='cost', full_name='apphosting_datastore_v3_bytes.TouchResponse.cost', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=5971,
serialized_end=6037,
)
_DELETEREQUEST = _descriptor.Descriptor(
name='DeleteRequest',
full_name='apphosting_datastore_v3_bytes.DeleteRequest',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='key', full_name='apphosting_datastore_v3_bytes.DeleteRequest.key', index=0,
number=6, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='transaction', full_name='apphosting_datastore_v3_bytes.DeleteRequest.transaction', index=1,
number=5, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='composite_index', full_name='apphosting_datastore_v3_bytes.DeleteRequest.composite_index', index=2,
number=11, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='trusted', full_name='apphosting_datastore_v3_bytes.DeleteRequest.trusted', index=3,
number=4, type=8, cpp_type=7, label=1,
has_default_value=True, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='force', full_name='apphosting_datastore_v3_bytes.DeleteRequest.force', index=4,
number=7, type=8, cpp_type=7, label=1,
has_default_value=True, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='mark_changes', full_name='apphosting_datastore_v3_bytes.DeleteRequest.mark_changes', index=5,
number=8, type=8, cpp_type=7, label=1,
has_default_value=True, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='snapshot', full_name='apphosting_datastore_v3_bytes.DeleteRequest.snapshot', index=6,
number=9, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='sequence_number', full_name='apphosting_datastore_v3_bytes.DeleteRequest.sequence_number', index=7,
number=12, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=6040,
serialized_end=6388,
)
_DELETERESPONSE = _descriptor.Descriptor(
name='DeleteResponse',
full_name='apphosting_datastore_v3_bytes.DeleteResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='cost', full_name='apphosting_datastore_v3_bytes.DeleteResponse.cost', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='version', full_name='apphosting_datastore_v3_bytes.DeleteResponse.version', index=1,
number=3, type=3, cpp_type=2, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=6390,
serialized_end=6474,
)
_NEXTREQUEST = _descriptor.Descriptor(
name='NextRequest',
full_name='apphosting_datastore_v3_bytes.NextRequest',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='cursor', full_name='apphosting_datastore_v3_bytes.NextRequest.cursor', index=0,
number=1, type=11, cpp_type=10, label=2,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='count', full_name='apphosting_datastore_v3_bytes.NextRequest.count', index=1,
number=2, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='offset', full_name='apphosting_datastore_v3_bytes.NextRequest.offset', index=2,
number=4, type=5, cpp_type=1, label=1,
has_default_value=True, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='compile', full_name='apphosting_datastore_v3_bytes.NextRequest.compile', index=3,
number=3, type=8, cpp_type=7, label=1,
has_default_value=True, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=6477,
serialized_end=6607,
)
_QUERYRESULT = _descriptor.Descriptor(
name='QueryResult',
full_name='apphosting_datastore_v3_bytes.QueryResult',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='cursor', full_name='apphosting_datastore_v3_bytes.QueryResult.cursor', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='result', full_name='apphosting_datastore_v3_bytes.QueryResult.result', index=1,
number=2, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='skipped_results', full_name='apphosting_datastore_v3_bytes.QueryResult.skipped_results', index=2,
number=7, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='more_results', full_name='apphosting_datastore_v3_bytes.QueryResult.more_results', index=3,
number=3, type=8, cpp_type=7, label=2,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='keys_only', full_name='apphosting_datastore_v3_bytes.QueryResult.keys_only', index=4,
number=4, type=8, cpp_type=7, label=1,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='index_only', full_name='apphosting_datastore_v3_bytes.QueryResult.index_only', index=5,
number=9, type=8, cpp_type=7, label=1,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='small_ops', full_name='apphosting_datastore_v3_bytes.QueryResult.small_ops', index=6,
number=10, type=8, cpp_type=7, label=1,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='compiled_query', full_name='apphosting_datastore_v3_bytes.QueryResult.compiled_query', index=7,
number=5, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='compiled_cursor', full_name='apphosting_datastore_v3_bytes.QueryResult.compiled_cursor', index=8,
number=6, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='index', full_name='apphosting_datastore_v3_bytes.QueryResult.index', index=9,
number=8, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='version', full_name='apphosting_datastore_v3_bytes.QueryResult.version', index=10,
number=11, type=3, cpp_type=2, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='result_compiled_cursor', full_name='apphosting_datastore_v3_bytes.QueryResult.result_compiled_cursor', index=11,
number=12, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='skipped_results_compiled_cursor', full_name='apphosting_datastore_v3_bytes.QueryResult.skipped_results_compiled_cursor', index=12,
number=13, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=6610,
serialized_end=7223,
)
_ALLOCATEIDSREQUEST = _descriptor.Descriptor(
name='AllocateIdsRequest',
full_name='apphosting_datastore_v3_bytes.AllocateIdsRequest',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='model_key', full_name='apphosting_datastore_v3_bytes.AllocateIdsRequest.model_key', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='size', full_name='apphosting_datastore_v3_bytes.AllocateIdsRequest.size', index=1,
number=2, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='max', full_name='apphosting_datastore_v3_bytes.AllocateIdsRequest.max', index=2,
number=3, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='reserve', full_name='apphosting_datastore_v3_bytes.AllocateIdsRequest.reserve', index=3,
number=5, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='trusted', full_name='apphosting_datastore_v3_bytes.AllocateIdsRequest.trusted', index=4,
number=6, type=8, cpp_type=7, label=1,
has_default_value=True, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=7226,
serialized_end=7409,
)
_ALLOCATEIDSRESPONSE = _descriptor.Descriptor(
name='AllocateIdsResponse',
full_name='apphosting_datastore_v3_bytes.AllocateIdsResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='start', full_name='apphosting_datastore_v3_bytes.AllocateIdsResponse.start', index=0,
number=1, type=3, cpp_type=2, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='end', full_name='apphosting_datastore_v3_bytes.AllocateIdsResponse.end', index=1,
number=2, type=3, cpp_type=2, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='cost', full_name='apphosting_datastore_v3_bytes.AllocateIdsResponse.cost', index=2,
number=3, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=7411,
serialized_end=7511,
)
_COMPOSITEINDICES = _descriptor.Descriptor(
name='CompositeIndices',
full_name='apphosting_datastore_v3_bytes.CompositeIndices',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='index', full_name='apphosting_datastore_v3_bytes.CompositeIndices.index', index=0,
number=1, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=7513,
serialized_end=7589,
)
_ADDACTIONSREQUEST = _descriptor.Descriptor(
name='AddActionsRequest',
full_name='apphosting_datastore_v3_bytes.AddActionsRequest',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='transaction', full_name='apphosting_datastore_v3_bytes.AddActionsRequest.transaction', index=0,
number=1, type=11, cpp_type=10, label=2,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='action', full_name='apphosting_datastore_v3_bytes.AddActionsRequest.action', index=1,
number=2, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=7592,
serialized_end=7721,
)
_ADDACTIONSRESPONSE = _descriptor.Descriptor(
name='AddActionsResponse',
full_name='apphosting_datastore_v3_bytes.AddActionsResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=7723,
serialized_end=7743,
)
_BEGINTRANSACTIONREQUEST = _descriptor.Descriptor(
name='BeginTransactionRequest',
full_name='apphosting_datastore_v3_bytes.BeginTransactionRequest',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='app', full_name='apphosting_datastore_v3_bytes.BeginTransactionRequest.app', index=0,
number=1, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='allow_multiple_eg', full_name='apphosting_datastore_v3_bytes.BeginTransactionRequest.allow_multiple_eg', index=1,
number=2, type=8, cpp_type=7, label=1,
has_default_value=True, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='database_id', full_name='apphosting_datastore_v3_bytes.BeginTransactionRequest.database_id', index=2,
number=4, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='mode', full_name='apphosting_datastore_v3_bytes.BeginTransactionRequest.mode', index=3,
number=5, type=14, cpp_type=8, label=1,
has_default_value=True, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='previous_transaction', full_name='apphosting_datastore_v3_bytes.BeginTransactionRequest.previous_transaction', index=4,
number=7, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
_BEGINTRANSACTIONREQUEST_TRANSACTIONMODE,
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=7746,
serialized_end=8071,
)
_COMMITRESPONSE_VERSION = _descriptor.Descriptor(
name='Version',
full_name='apphosting_datastore_v3_bytes.CommitResponse.Version',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='root_entity_key', full_name='apphosting_datastore_v3_bytes.CommitResponse.Version.root_entity_key', index=0,
number=4, type=11, cpp_type=10, label=2,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='version', full_name='apphosting_datastore_v3_bytes.CommitResponse.Version.version', index=1,
number=5, type=3, cpp_type=2, label=2,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=8215,
serialized_end=8304,
)
_COMMITRESPONSE = _descriptor.Descriptor(
name='CommitResponse',
full_name='apphosting_datastore_v3_bytes.CommitResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='cost', full_name='apphosting_datastore_v3_bytes.CommitResponse.cost', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='version', full_name='apphosting_datastore_v3_bytes.CommitResponse.version', index=1,
number=3, type=10, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[_COMMITRESPONSE_VERSION, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=8074,
serialized_end=8304,
)
_GETINDICESREQUEST = _descriptor.Descriptor(
name='GetIndicesRequest',
full_name='apphosting_datastore_v3_bytes.GetIndicesRequest',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='app_id', full_name='apphosting_datastore_v3_bytes.GetIndicesRequest.app_id', index=0,
number=1, type=9, cpp_type=9, label=2,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='database_id', full_name='apphosting_datastore_v3_bytes.GetIndicesRequest.database_id', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=8306,
serialized_end=8362,
)
_UPDATEINDEXRESPONSE = _descriptor.Descriptor(
name='UpdateIndexResponse',
full_name='apphosting_datastore_v3_bytes.UpdateIndexResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='type_url', full_name='apphosting_datastore_v3_bytes.UpdateIndexResponse.type_url', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='value', full_name='apphosting_datastore_v3_bytes.UpdateIndexResponse.value', index=1,
number=2, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=b"",
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=8364,
serialized_end=8418,
)
_DATASTORESERVICE_3 = _descriptor.Descriptor(
name='DatastoreService_3',
full_name='apphosting_datastore_v3_bytes.DatastoreService_3',
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
],
extensions=[
],
nested_types=[],
enum_types=[
_DATASTORESERVICE_3_METHOD,
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=8421,
serialized_end=8683,
)
_TRANSACTION.fields_by_name['composite_index'].message_type = google_dot_appengine_dot_datastore_dot_entity__bytes__pb2._COMPOSITEINDEX
_QUERY_FILTER.fields_by_name['op'].enum_type = _QUERY_FILTER_OPERATOR
_QUERY_FILTER.fields_by_name['property'].message_type = google_dot_appengine_dot_datastore_dot_entity__bytes__pb2._PROPERTY
_QUERY_FILTER.fields_by_name['geo_region'].message_type = _GEOREGION
_QUERY_FILTER.containing_type = _QUERY
_QUERY_FILTER_OPERATOR.containing_type = _QUERY_FILTER
_QUERY_ORDER.fields_by_name['direction'].enum_type = _QUERY_ORDER_DIRECTION
_QUERY_ORDER.containing_type = _QUERY
_QUERY_ORDER_DIRECTION.containing_type = _QUERY_ORDER
_QUERY.fields_by_name['ancestor'].message_type = google_dot_appengine_dot_datastore_dot_entity__bytes__pb2._REFERENCE
_QUERY.fields_by_name['filter'].message_type = _QUERY_FILTER
_QUERY.fields_by_name['order'].message_type = _QUERY_ORDER
_QUERY.fields_by_name['hint'].enum_type = _QUERY_HINT
_QUERY.fields_by_name['compiled_cursor'].message_type = _COMPILEDCURSOR
_QUERY.fields_by_name['end_compiled_cursor'].message_type = _COMPILEDCURSOR
_QUERY.fields_by_name['composite_index'].message_type = google_dot_appengine_dot_datastore_dot_entity__bytes__pb2._COMPOSITEINDEX
_QUERY.fields_by_name['transaction'].message_type = _TRANSACTION
_QUERY_HINT.containing_type = _QUERY
_CIRCLEREGION.fields_by_name['center'].message_type = _REGIONPOINT
_RECTANGLEREGION.fields_by_name['southwest'].message_type = _REGIONPOINT
_RECTANGLEREGION.fields_by_name['northeast'].message_type = _REGIONPOINT
_GEOREGION.fields_by_name['circle'].message_type = _CIRCLEREGION
_GEOREGION.fields_by_name['rectangle'].message_type = _RECTANGLEREGION
_COMPILEDQUERY_PRIMARYSCAN.containing_type = _COMPILEDQUERY
_COMPILEDQUERY_MERGEJOINSCAN.containing_type = _COMPILEDQUERY
_COMPILEDQUERY_ENTITYFILTER.fields_by_name['ancestor'].message_type = google_dot_appengine_dot_datastore_dot_entity__bytes__pb2._REFERENCE
_COMPILEDQUERY_ENTITYFILTER.containing_type = _COMPILEDQUERY
_COMPILEDQUERY.fields_by_name['primaryscan'].message_type = _COMPILEDQUERY_PRIMARYSCAN
_COMPILEDQUERY.fields_by_name['mergejoinscan'].message_type = _COMPILEDQUERY_MERGEJOINSCAN
_COMPILEDQUERY.fields_by_name['index_def'].message_type = google_dot_appengine_dot_datastore_dot_entity__bytes__pb2._INDEX
_COMPILEDQUERY.fields_by_name['entityfilter'].message_type = _COMPILEDQUERY_ENTITYFILTER
_COMPILEDCURSOR_POSITION_INDEXVALUE.fields_by_name['value'].message_type = google_dot_appengine_dot_datastore_dot_entity__bytes__pb2._PROPERTYVALUE
_COMPILEDCURSOR_POSITION_INDEXVALUE.containing_type = _COMPILEDCURSOR_POSITION
_COMPILEDCURSOR_POSITION.fields_by_name['indexvalue'].message_type = _COMPILEDCURSOR_POSITION_INDEXVALUE
_COMPILEDCURSOR_POSITION.fields_by_name['key'].message_type = google_dot_appengine_dot_datastore_dot_entity__bytes__pb2._REFERENCE
_COMPILEDCURSOR_POSITION.containing_type = _COMPILEDCURSOR
_COMPILEDCURSOR.fields_by_name['position'].message_type = _COMPILEDCURSOR_POSITION
_COMPILEDCURSOR.fields_by_name['postfix_position'].message_type = google_dot_appengine_dot_datastore_dot_entity__bytes__pb2._INDEXPOSTFIX
_COMPILEDCURSOR.fields_by_name['absolute_position'].message_type = google_dot_appengine_dot_datastore_dot_entity__bytes__pb2._INDEXPOSITION
_ERROR_ERRORCODE.containing_type = _ERROR
_COST_COMMITCOST.containing_type = _COST
_COST.fields_by_name['commitcost'].message_type = _COST_COMMITCOST
_GETREQUEST.fields_by_name['key'].message_type = google_dot_appengine_dot_datastore_dot_entity__bytes__pb2._REFERENCE
_GETREQUEST.fields_by_name['transaction'].message_type = _TRANSACTION
_GETRESPONSE_ENTITY.fields_by_name['entity'].message_type = google_dot_appengine_dot_datastore_dot_entity__bytes__pb2._ENTITYPROTO
_GETRESPONSE_ENTITY.fields_by_name['key'].message_type = google_dot_appengine_dot_datastore_dot_entity__bytes__pb2._REFERENCE
_GETRESPONSE_ENTITY.containing_type = _GETRESPONSE
_GETRESPONSE.fields_by_name['entity'].message_type = _GETRESPONSE_ENTITY
_GETRESPONSE.fields_by_name['deferred'].message_type = google_dot_appengine_dot_datastore_dot_entity__bytes__pb2._REFERENCE
_PUTREQUEST.fields_by_name['entity'].message_type = google_dot_appengine_dot_datastore_dot_entity__bytes__pb2._ENTITYPROTO
_PUTREQUEST.fields_by_name['transaction'].message_type = _TRANSACTION
_PUTREQUEST.fields_by_name['composite_index'].message_type = google_dot_appengine_dot_datastore_dot_entity__bytes__pb2._COMPOSITEINDEX
_PUTREQUEST.fields_by_name['snapshot'].message_type = google_dot_appengine_dot_datastore_dot_snapshot__pb2._SNAPSHOT
_PUTREQUEST.fields_by_name['auto_id_policy'].enum_type = _PUTREQUEST_AUTOIDPOLICY
_PUTREQUEST_AUTOIDPOLICY.containing_type = _PUTREQUEST
_PUTRESPONSE.fields_by_name['key'].message_type = google_dot_appengine_dot_datastore_dot_entity__bytes__pb2._REFERENCE
_PUTRESPONSE.fields_by_name['cost'].message_type = _COST
_TOUCHREQUEST.fields_by_name['key'].message_type = google_dot_appengine_dot_datastore_dot_entity__bytes__pb2._REFERENCE
_TOUCHREQUEST.fields_by_name['composite_index'].message_type = google_dot_appengine_dot_datastore_dot_entity__bytes__pb2._COMPOSITEINDEX
_TOUCHREQUEST.fields_by_name['snapshot'].message_type = google_dot_appengine_dot_datastore_dot_snapshot__pb2._SNAPSHOT
_TOUCHRESPONSE.fields_by_name['cost'].message_type = _COST
_DELETEREQUEST.fields_by_name['key'].message_type = google_dot_appengine_dot_datastore_dot_entity__bytes__pb2._REFERENCE
_DELETEREQUEST.fields_by_name['transaction'].message_type = _TRANSACTION
_DELETEREQUEST.fields_by_name['composite_index'].message_type = google_dot_appengine_dot_datastore_dot_entity__bytes__pb2._COMPOSITEINDEX
_DELETEREQUEST.fields_by_name['snapshot'].message_type = google_dot_appengine_dot_datastore_dot_snapshot__pb2._SNAPSHOT
_DELETERESPONSE.fields_by_name['cost'].message_type = _COST
_NEXTREQUEST.fields_by_name['cursor'].message_type = _CURSOR
_QUERYRESULT.fields_by_name['cursor'].message_type = _CURSOR
_QUERYRESULT.fields_by_name['result'].message_type = google_dot_appengine_dot_datastore_dot_entity__bytes__pb2._ENTITYPROTO
_QUERYRESULT.fields_by_name['compiled_query'].message_type = _COMPILEDQUERY
_QUERYRESULT.fields_by_name['compiled_cursor'].message_type = _COMPILEDCURSOR
_QUERYRESULT.fields_by_name['index'].message_type = google_dot_appengine_dot_datastore_dot_entity__bytes__pb2._COMPOSITEINDEX
_QUERYRESULT.fields_by_name['result_compiled_cursor'].message_type = _COMPILEDCURSOR
_QUERYRESULT.fields_by_name['skipped_results_compiled_cursor'].message_type = _COMPILEDCURSOR
_ALLOCATEIDSREQUEST.fields_by_name['model_key'].message_type = google_dot_appengine_dot_datastore_dot_entity__bytes__pb2._REFERENCE
_ALLOCATEIDSREQUEST.fields_by_name['reserve'].message_type = google_dot_appengine_dot_datastore_dot_entity__bytes__pb2._REFERENCE
_ALLOCATEIDSRESPONSE.fields_by_name['cost'].message_type = _COST
_COMPOSITEINDICES.fields_by_name['index'].message_type = google_dot_appengine_dot_datastore_dot_entity__bytes__pb2._COMPOSITEINDEX
_ADDACTIONSREQUEST.fields_by_name['transaction'].message_type = _TRANSACTION
_ADDACTIONSREQUEST.fields_by_name['action'].message_type = google_dot_appengine_dot_datastore_dot_action__pb2._ACTION
_BEGINTRANSACTIONREQUEST.fields_by_name['mode'].enum_type = _BEGINTRANSACTIONREQUEST_TRANSACTIONMODE
_BEGINTRANSACTIONREQUEST.fields_by_name['previous_transaction'].message_type = _TRANSACTION
_BEGINTRANSACTIONREQUEST_TRANSACTIONMODE.containing_type = _BEGINTRANSACTIONREQUEST
_COMMITRESPONSE_VERSION.fields_by_name['root_entity_key'].message_type = google_dot_appengine_dot_datastore_dot_entity__bytes__pb2._REFERENCE
_COMMITRESPONSE_VERSION.containing_type = _COMMITRESPONSE
_COMMITRESPONSE.fields_by_name['cost'].message_type = _COST
_COMMITRESPONSE.fields_by_name['version'].message_type = _COMMITRESPONSE_VERSION
_DATASTORESERVICE_3_METHOD.containing_type = _DATASTORESERVICE_3
DESCRIPTOR.message_types_by_name['Transaction'] = _TRANSACTION
DESCRIPTOR.message_types_by_name['Query'] = _QUERY
DESCRIPTOR.message_types_by_name['RegionPoint'] = _REGIONPOINT
DESCRIPTOR.message_types_by_name['CircleRegion'] = _CIRCLEREGION
DESCRIPTOR.message_types_by_name['RectangleRegion'] = _RECTANGLEREGION
DESCRIPTOR.message_types_by_name['GeoRegion'] = _GEOREGION
DESCRIPTOR.message_types_by_name['CompiledQuery'] = _COMPILEDQUERY
DESCRIPTOR.message_types_by_name['CompiledCursor'] = _COMPILEDCURSOR
DESCRIPTOR.message_types_by_name['Cursor'] = _CURSOR
DESCRIPTOR.message_types_by_name['Error'] = _ERROR
DESCRIPTOR.message_types_by_name['Cost'] = _COST
DESCRIPTOR.message_types_by_name['GetRequest'] = _GETREQUEST
DESCRIPTOR.message_types_by_name['GetResponse'] = _GETRESPONSE
DESCRIPTOR.message_types_by_name['PutRequest'] = _PUTREQUEST
DESCRIPTOR.message_types_by_name['PutResponse'] = _PUTRESPONSE
DESCRIPTOR.message_types_by_name['TouchRequest'] = _TOUCHREQUEST
DESCRIPTOR.message_types_by_name['TouchResponse'] = _TOUCHRESPONSE
DESCRIPTOR.message_types_by_name['DeleteRequest'] = _DELETEREQUEST
DESCRIPTOR.message_types_by_name['DeleteResponse'] = _DELETERESPONSE
DESCRIPTOR.message_types_by_name['NextRequest'] = _NEXTREQUEST
DESCRIPTOR.message_types_by_name['QueryResult'] = _QUERYRESULT
DESCRIPTOR.message_types_by_name['AllocateIdsRequest'] = _ALLOCATEIDSREQUEST
DESCRIPTOR.message_types_by_name['AllocateIdsResponse'] = _ALLOCATEIDSRESPONSE
DESCRIPTOR.message_types_by_name['CompositeIndices'] = _COMPOSITEINDICES
DESCRIPTOR.message_types_by_name['AddActionsRequest'] = _ADDACTIONSREQUEST
DESCRIPTOR.message_types_by_name['AddActionsResponse'] = _ADDACTIONSRESPONSE
DESCRIPTOR.message_types_by_name['BeginTransactionRequest'] = _BEGINTRANSACTIONREQUEST
DESCRIPTOR.message_types_by_name['CommitResponse'] = _COMMITRESPONSE
DESCRIPTOR.message_types_by_name['GetIndicesRequest'] = _GETINDICESREQUEST
DESCRIPTOR.message_types_by_name['UpdateIndexResponse'] = _UPDATEINDEXRESPONSE
DESCRIPTOR.message_types_by_name['DatastoreService_3'] = _DATASTORESERVICE_3
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
Transaction = _reflection.GeneratedProtocolMessageType('Transaction', (_message.Message,), {
'DESCRIPTOR' : _TRANSACTION,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
_sym_db.RegisterMessage(Transaction)
Query = _reflection.GeneratedProtocolMessageType('Query', (_message.Message,), {
'Filter' : _reflection.GeneratedProtocolMessageType('Filter', (_message.Message,), {
'DESCRIPTOR' : _QUERY_FILTER,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
,
'Order' : _reflection.GeneratedProtocolMessageType('Order', (_message.Message,), {
'DESCRIPTOR' : _QUERY_ORDER,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
,
'DESCRIPTOR' : _QUERY,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
_sym_db.RegisterMessage(Query)
_sym_db.RegisterMessage(Query.Filter)
_sym_db.RegisterMessage(Query.Order)
RegionPoint = _reflection.GeneratedProtocolMessageType('RegionPoint', (_message.Message,), {
'DESCRIPTOR' : _REGIONPOINT,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
_sym_db.RegisterMessage(RegionPoint)
CircleRegion = _reflection.GeneratedProtocolMessageType('CircleRegion', (_message.Message,), {
'DESCRIPTOR' : _CIRCLEREGION,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
_sym_db.RegisterMessage(CircleRegion)
RectangleRegion = _reflection.GeneratedProtocolMessageType('RectangleRegion', (_message.Message,), {
'DESCRIPTOR' : _RECTANGLEREGION,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
_sym_db.RegisterMessage(RectangleRegion)
GeoRegion = _reflection.GeneratedProtocolMessageType('GeoRegion', (_message.Message,), {
'DESCRIPTOR' : _GEOREGION,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
_sym_db.RegisterMessage(GeoRegion)
CompiledQuery = _reflection.GeneratedProtocolMessageType('CompiledQuery', (_message.Message,), {
'PrimaryScan' : _reflection.GeneratedProtocolMessageType('PrimaryScan', (_message.Message,), {
'DESCRIPTOR' : _COMPILEDQUERY_PRIMARYSCAN,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
,
'MergeJoinScan' : _reflection.GeneratedProtocolMessageType('MergeJoinScan', (_message.Message,), {
'DESCRIPTOR' : _COMPILEDQUERY_MERGEJOINSCAN,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
,
'EntityFilter' : _reflection.GeneratedProtocolMessageType('EntityFilter', (_message.Message,), {
'DESCRIPTOR' : _COMPILEDQUERY_ENTITYFILTER,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
,
'DESCRIPTOR' : _COMPILEDQUERY,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
_sym_db.RegisterMessage(CompiledQuery)
_sym_db.RegisterMessage(CompiledQuery.PrimaryScan)
_sym_db.RegisterMessage(CompiledQuery.MergeJoinScan)
_sym_db.RegisterMessage(CompiledQuery.EntityFilter)
CompiledCursor = _reflection.GeneratedProtocolMessageType('CompiledCursor', (_message.Message,), {
'Position' : _reflection.GeneratedProtocolMessageType('Position', (_message.Message,), {
'IndexValue' : _reflection.GeneratedProtocolMessageType('IndexValue', (_message.Message,), {
'DESCRIPTOR' : _COMPILEDCURSOR_POSITION_INDEXVALUE,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
,
'DESCRIPTOR' : _COMPILEDCURSOR_POSITION,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
,
'DESCRIPTOR' : _COMPILEDCURSOR,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
_sym_db.RegisterMessage(CompiledCursor)
_sym_db.RegisterMessage(CompiledCursor.Position)
_sym_db.RegisterMessage(CompiledCursor.Position.IndexValue)
Cursor = _reflection.GeneratedProtocolMessageType('Cursor', (_message.Message,), {
'DESCRIPTOR' : _CURSOR,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
_sym_db.RegisterMessage(Cursor)
Error = _reflection.GeneratedProtocolMessageType('Error', (_message.Message,), {
'DESCRIPTOR' : _ERROR,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
_sym_db.RegisterMessage(Error)
Cost = _reflection.GeneratedProtocolMessageType('Cost', (_message.Message,), {
'CommitCost' : _reflection.GeneratedProtocolMessageType('CommitCost', (_message.Message,), {
'DESCRIPTOR' : _COST_COMMITCOST,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
,
'DESCRIPTOR' : _COST,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
_sym_db.RegisterMessage(Cost)
_sym_db.RegisterMessage(Cost.CommitCost)
GetRequest = _reflection.GeneratedProtocolMessageType('GetRequest', (_message.Message,), {
'DESCRIPTOR' : _GETREQUEST,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
_sym_db.RegisterMessage(GetRequest)
GetResponse = _reflection.GeneratedProtocolMessageType('GetResponse', (_message.Message,), {
'Entity' : _reflection.GeneratedProtocolMessageType('Entity', (_message.Message,), {
'DESCRIPTOR' : _GETRESPONSE_ENTITY,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
,
'DESCRIPTOR' : _GETRESPONSE,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
_sym_db.RegisterMessage(GetResponse)
_sym_db.RegisterMessage(GetResponse.Entity)
PutRequest = _reflection.GeneratedProtocolMessageType('PutRequest', (_message.Message,), {
'DESCRIPTOR' : _PUTREQUEST,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
_sym_db.RegisterMessage(PutRequest)
PutResponse = _reflection.GeneratedProtocolMessageType('PutResponse', (_message.Message,), {
'DESCRIPTOR' : _PUTRESPONSE,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
_sym_db.RegisterMessage(PutResponse)
TouchRequest = _reflection.GeneratedProtocolMessageType('TouchRequest', (_message.Message,), {
'DESCRIPTOR' : _TOUCHREQUEST,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
_sym_db.RegisterMessage(TouchRequest)
TouchResponse = _reflection.GeneratedProtocolMessageType('TouchResponse', (_message.Message,), {
'DESCRIPTOR' : _TOUCHRESPONSE,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
_sym_db.RegisterMessage(TouchResponse)
DeleteRequest = _reflection.GeneratedProtocolMessageType('DeleteRequest', (_message.Message,), {
'DESCRIPTOR' : _DELETEREQUEST,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
_sym_db.RegisterMessage(DeleteRequest)
DeleteResponse = _reflection.GeneratedProtocolMessageType('DeleteResponse', (_message.Message,), {
'DESCRIPTOR' : _DELETERESPONSE,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
_sym_db.RegisterMessage(DeleteResponse)
NextRequest = _reflection.GeneratedProtocolMessageType('NextRequest', (_message.Message,), {
'DESCRIPTOR' : _NEXTREQUEST,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
_sym_db.RegisterMessage(NextRequest)
QueryResult = _reflection.GeneratedProtocolMessageType('QueryResult', (_message.Message,), {
'DESCRIPTOR' : _QUERYRESULT,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
_sym_db.RegisterMessage(QueryResult)
AllocateIdsRequest = _reflection.GeneratedProtocolMessageType('AllocateIdsRequest', (_message.Message,), {
'DESCRIPTOR' : _ALLOCATEIDSREQUEST,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
_sym_db.RegisterMessage(AllocateIdsRequest)
AllocateIdsResponse = _reflection.GeneratedProtocolMessageType('AllocateIdsResponse', (_message.Message,), {
'DESCRIPTOR' : _ALLOCATEIDSRESPONSE,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
_sym_db.RegisterMessage(AllocateIdsResponse)
CompositeIndices = _reflection.GeneratedProtocolMessageType('CompositeIndices', (_message.Message,), {
'DESCRIPTOR' : _COMPOSITEINDICES,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
_sym_db.RegisterMessage(CompositeIndices)
AddActionsRequest = _reflection.GeneratedProtocolMessageType('AddActionsRequest', (_message.Message,), {
'DESCRIPTOR' : _ADDACTIONSREQUEST,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
_sym_db.RegisterMessage(AddActionsRequest)
AddActionsResponse = _reflection.GeneratedProtocolMessageType('AddActionsResponse', (_message.Message,), {
'DESCRIPTOR' : _ADDACTIONSRESPONSE,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
_sym_db.RegisterMessage(AddActionsResponse)
BeginTransactionRequest = _reflection.GeneratedProtocolMessageType('BeginTransactionRequest', (_message.Message,), {
'DESCRIPTOR' : _BEGINTRANSACTIONREQUEST,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
_sym_db.RegisterMessage(BeginTransactionRequest)
CommitResponse = _reflection.GeneratedProtocolMessageType('CommitResponse', (_message.Message,), {
'Version' : _reflection.GeneratedProtocolMessageType('Version', (_message.Message,), {
'DESCRIPTOR' : _COMMITRESPONSE_VERSION,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
,
'DESCRIPTOR' : _COMMITRESPONSE,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
_sym_db.RegisterMessage(CommitResponse)
_sym_db.RegisterMessage(CommitResponse.Version)
GetIndicesRequest = _reflection.GeneratedProtocolMessageType('GetIndicesRequest', (_message.Message,), {
'DESCRIPTOR' : _GETINDICESREQUEST,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
_sym_db.RegisterMessage(GetIndicesRequest)
UpdateIndexResponse = _reflection.GeneratedProtocolMessageType('UpdateIndexResponse', (_message.Message,), {
'DESCRIPTOR' : _UPDATEINDEXRESPONSE,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
_sym_db.RegisterMessage(UpdateIndexResponse)
DatastoreService_3 = _reflection.GeneratedProtocolMessageType('DatastoreService_3', (_message.Message,), {
'DESCRIPTOR' : _DATASTORESERVICE_3,
'__module__' : 'google.appengine.datastore.datastore_v3_bytes_pb2'
})
_sym_db.RegisterMessage(DatastoreService_3)
DESCRIPTOR._options = None
_QUERY.fields_by_name['persist_offset']._options = None
_COMPILEDCURSOR_POSITION_INDEXVALUE.fields_by_name['property']._options = None
_COMPILEDCURSOR_POSITION_INDEXVALUE.fields_by_name['value']._options = None
_COMPILEDCURSOR_POSITION.fields_by_name['start_key']._options = None
_COMPILEDCURSOR_POSITION.fields_by_name['indexvalue']._options = None
_COMPILEDCURSOR_POSITION.fields_by_name['key']._options = None
_COMPILEDCURSOR_POSITION.fields_by_name['start_inclusive']._options = None
_COMPILEDCURSOR_POSITION.fields_by_name['before_ascending']._options = None
_COMPILEDCURSOR.fields_by_name['position']._options = None
_NEXTREQUEST.fields_by_name['offset']._options = None
| 47.145732
| 14,392
| 0.770447
| 18,436
| 145,256
| 5.691907
| 0.041658
| 0.047267
| 0.082565
| 0.070757
| 0.797238
| 0.773548
| 0.761998
| 0.7109
| 0.685208
| 0.659993
| 0
| 0.04228
| 0.116656
| 145,256
| 3,080
| 14,393
| 47.161039
| 0.775545
| 0.004131
| 0
| 0.692761
| 0
| 0.002425
| 0.215814
| 0.176819
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.002425
| 0
| 0.002425
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
f13946e660511ac9ba949ecf6b937914e39eb52c
| 142
|
py
|
Python
|
nuitka/build/inline_copy/lib/scons-2.3.2/SCons/Tool/dmd.py
|
jayvdb/Nuitka
|
0ff702e065b1b53231ba0cae451385a3da0fe766
|
[
"Apache-2.0"
] | 5,421
|
2018-09-24T08:04:06.000Z
|
2022-03-31T20:02:37.000Z
|
nuitka/build/inline_copy/lib/scons-2.3.2/SCons/Tool/dmd.py
|
jayvdb/Nuitka
|
0ff702e065b1b53231ba0cae451385a3da0fe766
|
[
"Apache-2.0"
] | 1,348
|
2018-09-22T13:41:00.000Z
|
2022-03-31T22:33:40.000Z
|
nuitka/build/inline_copy/lib/scons-2.3.2/SCons/Tool/dmd.py
|
jayvdb/Nuitka
|
0ff702e065b1b53231ba0cae451385a3da0fe766
|
[
"Apache-2.0"
] | 396
|
2018-09-28T15:37:03.000Z
|
2022-03-29T10:52:09.000Z
|
# Stub only, D support was broken with Python2.6 and unnecessary to Nuitka
def generate(env):
return
def exists(env):
return False
| 15.777778
| 74
| 0.71831
| 22
| 142
| 4.636364
| 0.863636
| 0.176471
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.018018
| 0.21831
| 142
| 8
| 75
| 17.75
| 0.900901
| 0.507042
| 0
| 0
| 1
| 0
| 0
| 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
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
|
0
| 5
|
f14e7267c2883e2902c33e78416bbfa7351407e9
| 875
|
py
|
Python
|
endpoints/api/__init__models_pre_oci.py
|
anwarchk/quay
|
23c5120790c619174e7d36784ca5aab7f4eece5c
|
[
"Apache-2.0"
] | 1
|
2021-05-30T01:54:21.000Z
|
2021-05-30T01:54:21.000Z
|
endpoints/api/__init__models_pre_oci.py
|
anwarchk/quay
|
23c5120790c619174e7d36784ca5aab7f4eece5c
|
[
"Apache-2.0"
] | 20
|
2019-12-26T17:32:34.000Z
|
2022-03-21T22:18:06.000Z
|
endpoints/api/__init__models_pre_oci.py
|
anwarchk/quay
|
23c5120790c619174e7d36784ca5aab7f4eece5c
|
[
"Apache-2.0"
] | 1
|
2020-05-31T16:28:40.000Z
|
2020-05-31T16:28:40.000Z
|
from __init__models_interface import InitDataInterface
from data import model
from data.logs_model import logs_model
class PreOCIModel(InitDataInterface):
def is_app_repository(self, namespace_name, repository_name):
return model.repository.get_repository(namespace_name, repository_name,
kind_filter='application') is not None
def repository_is_public(self, namespace_name, repository_name):
return model.repository.repository_is_public(namespace_name, repository_name)
def log_action(self, kind, namespace_name, repository_name, performer, ip, metadata):
repository = model.repository.get_repository(namespace_name, repository_name)
logs_model.log_action(kind, namespace_name, performer=performer, ip=ip, metadata=metadata,
repository=repository)
pre_oci_model = PreOCIModel()
| 43.75
| 94
| 0.763429
| 103
| 875
| 6.15534
| 0.320388
| 0.143533
| 0.217666
| 0.255521
| 0.31388
| 0.31388
| 0.31388
| 0.31388
| 0
| 0
| 0
| 0
| 0.170286
| 875
| 19
| 95
| 46.052632
| 0.873278
| 0
| 0
| 0
| 0
| 0
| 0.012571
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.214286
| false
| 0
| 0.214286
| 0.142857
| 0.642857
| 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
|
74f8dccf9c7e07405092d089e3952fd5f62775cd
| 107
|
py
|
Python
|
diogenes/grid_search/__init__.py
|
dssg/diogenes
|
52eda2a7adb22044e82779d05f91c927c1b95f3f
|
[
"MIT"
] | 21
|
2015-09-28T15:04:53.000Z
|
2017-11-19T22:21:31.000Z
|
diogenes/grid_search/__init__.py
|
dssg/diogenes
|
52eda2a7adb22044e82779d05f91c927c1b95f3f
|
[
"MIT"
] | 28
|
2015-09-27T09:51:12.000Z
|
2021-11-08T17:26:39.000Z
|
diogenes/grid_search/__init__.py
|
dssg/diogenes
|
52eda2a7adb22044e82779d05f91c927c1b95f3f
|
[
"MIT"
] | 10
|
2015-11-21T19:50:14.000Z
|
2018-05-21T16:16:25.000Z
|
from experiment import *
from standard_clfs import *
from partition_iterator import *
from subset import *
| 21.4
| 32
| 0.813084
| 14
| 107
| 6.071429
| 0.571429
| 0.352941
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.149533
| 107
| 4
| 33
| 26.75
| 0.934066
| 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
|
2d3adbb300a001d3889f9075999321582779e641
| 237
|
py
|
Python
|
funfact/lang/interpreter/_elementwise.py
|
terryjx/FunFact
|
595c3b68bac7cc92c802969f207f060c1242a88b
|
[
"BSD-3-Clause-LBNL"
] | 1
|
2021-12-13T07:55:16.000Z
|
2021-12-13T07:55:16.000Z
|
funfact/lang/interpreter/_elementwise.py
|
terryjx/FunFact
|
595c3b68bac7cc92c802969f207f060c1242a88b
|
[
"BSD-3-Clause-LBNL"
] | null | null | null |
funfact/lang/interpreter/_elementwise.py
|
terryjx/FunFact
|
595c3b68bac7cc92c802969f207f060c1242a88b
|
[
"BSD-3-Clause-LBNL"
] | null | null | null |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from funfact.lang.interpreter._evaluation import Evaluator
class ElementwiseEvaluator(Evaluator):
def tensor(self, abstract, data, slices, **kwargs):
return data[tuple(slices)]
| 26.333333
| 58
| 0.71308
| 28
| 237
| 6
| 0.892857
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.004951
| 0.147679
| 237
| 8
| 59
| 29.625
| 0.826733
| 0.177215
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| false
| 0
| 0.25
| 0.25
| 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
|
742f95b1f79db5c174faa896fd38be9d621453a0
| 391
|
py
|
Python
|
src/bowtiebuilder.py
|
melliott432/spras
|
ba914f6a55a51c3e3b55b56844a533ff2936fae5
|
[
"MIT"
] | 3
|
2021-05-05T23:40:39.000Z
|
2021-05-13T03:35:22.000Z
|
src/bowtiebuilder.py
|
melliott432/spras
|
ba914f6a55a51c3e3b55b56844a533ff2936fae5
|
[
"MIT"
] | 41
|
2021-04-27T01:48:28.000Z
|
2022-03-14T20:11:24.000Z
|
src/bowtiebuilder.py
|
melliott432/spras
|
ba914f6a55a51c3e3b55b56844a533ff2936fae5
|
[
"MIT"
] | 2
|
2021-07-06T18:27:19.000Z
|
2022-01-25T03:56:49.000Z
|
from src.PRM import *
class BowTieBuilder(PRM):
def generate_inputs(self):
print('BowTieBuilder: {} generateInputs() from {}'.format(self.name,self.inputdir))
def run(self):
print('BowTieBuilder: {} run() with {}'.format(self.name,self.params))
def parse_output(self):
print('BowTieBuilder: {} parseOutput() from {}'.format(self.name,self.outputdir))
| 30.076923
| 91
| 0.662404
| 45
| 391
| 5.711111
| 0.488889
| 0.105058
| 0.256809
| 0.210117
| 0.171206
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.171356
| 391
| 12
| 92
| 32.583333
| 0.79321
| 0
| 0
| 0
| 1
| 0
| 0.286445
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.375
| false
| 0
| 0.125
| 0
| 0.625
| 0.375
| 0
| 0
| 0
| null | 0
| 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
| 1
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 5
|
748762650fa603c3704ad8be10a0b901ee429ca0
| 333
|
py
|
Python
|
lib/googlecloudapis/bigquery/v2/__init__.py
|
IsaacHuang/google-cloud-sdk
|
52afa5d1a75dff08f4f5380c5cccc015bf796ca5
|
[
"Apache-2.0"
] | null | null | null |
lib/googlecloudapis/bigquery/v2/__init__.py
|
IsaacHuang/google-cloud-sdk
|
52afa5d1a75dff08f4f5380c5cccc015bf796ca5
|
[
"Apache-2.0"
] | null | null | null |
lib/googlecloudapis/bigquery/v2/__init__.py
|
IsaacHuang/google-cloud-sdk
|
52afa5d1a75dff08f4f5380c5cccc015bf796ca5
|
[
"Apache-2.0"
] | 2
|
2020-07-25T05:03:06.000Z
|
2020-11-04T04:55:57.000Z
|
"""Common imports for generated bigquery client library."""
# pylint:disable=wildcard-import
import pkgutil
from googlecloudapis.apitools.base.py import *
from googlecloudapis.bigquery.v2.bigquery_v2_client import *
from googlecloudapis.bigquery.v2.bigquery_v2_messages import *
__path__ = pkgutil.extend_path(__path__, __name__)
| 30.272727
| 62
| 0.825826
| 41
| 333
| 6.292683
| 0.536585
| 0.155039
| 0.193798
| 0.255814
| 0.348837
| 0.348837
| 0.348837
| 0
| 0
| 0
| 0
| 0.013201
| 0.09009
| 333
| 10
| 63
| 33.3
| 0.838284
| 0.255255
| 0
| 0
| 1
| 0
| 0
| 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
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
bb36ad88cb43f98c2e8a5086c1458bc6639d979f
| 550
|
py
|
Python
|
electricity/admin.py
|
shivaamm/Elektra
|
a141d6b80ba5c5c3fdd392f6f0a0a99581c52125
|
[
"MIT"
] | 49
|
2020-09-28T04:07:48.000Z
|
2022-03-02T00:49:55.000Z
|
electricity/admin.py
|
CodesbyUnnati/Elektra
|
2195b4a17ede821d9a18dfa853982e71f480d5bd
|
[
"MIT"
] | 232
|
2021-02-28T16:33:23.000Z
|
2021-10-04T16:37:58.000Z
|
electricity/admin.py
|
shivaamm/Elektra
|
a141d6b80ba5c5c3fdd392f6f0a0a99581c52125
|
[
"MIT"
] | 122
|
2020-09-27T18:28:15.000Z
|
2021-11-04T15:51:34.000Z
|
from django.contrib import admin
from electricity.models import electricity,Contact,FeedBack,electricity
from import_export.admin import ImportExportModelAdmin
# Register your models here.
# admin.site.register(electricity)
#Registered Contact model
# admin.site.register(Contact)
# admin.site.register(FeedBack)
@admin.register(FeedBack)
class FeedBackAdmin(ImportExportModelAdmin):
pass
@admin.register(Contact)
class ContactAdmin(ImportExportModelAdmin):
pass
@admin.register(electricity)
class UserAdmin(ImportExportModelAdmin):
pass
| 30.555556
| 71
| 0.827273
| 59
| 550
| 7.694915
| 0.372881
| 0.059471
| 0.112335
| 0.171806
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.090909
| 550
| 18
| 72
| 30.555556
| 0.908
| 0.258182
| 0
| 0.25
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0.25
| 0.5
| 0
| 0.75
| 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
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 1
| 0
|
0
| 5
|
bb454808e6b6e16a6daf1978b765daf17e407e03
| 225
|
py
|
Python
|
project/myapp/admin.py
|
Gui-U/junioresiee-simple-erp
|
3860255c6b96646b5c04e55fc5a4cb4dd874c6ba
|
[
"MIT"
] | null | null | null |
project/myapp/admin.py
|
Gui-U/junioresiee-simple-erp
|
3860255c6b96646b5c04e55fc5a4cb4dd874c6ba
|
[
"MIT"
] | 2
|
2020-09-25T05:14:57.000Z
|
2021-06-25T15:15:54.000Z
|
project/myapp/admin.py
|
Gui-U/junioresiee-simple-erp
|
3860255c6b96646b5c04e55fc5a4cb4dd874c6ba
|
[
"MIT"
] | null | null | null |
from django.contrib import admin
# Register your models here.
from myapp.models import Student, Mandate, DocTechnicalReport
admin.site.register(Student)
admin.site.register(Mandate)
admin.site.register(DocTechnicalReport)
| 22.5
| 61
| 0.826667
| 28
| 225
| 6.642857
| 0.5
| 0.145161
| 0.274194
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.093333
| 225
| 9
| 62
| 25
| 0.911765
| 0.115556
| 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
|
248c4535f7fd428f22eb2c1a8736c3ff9553b666
| 25,392
|
py
|
Python
|
src/lantiseaa/buffer.py
|
YichenTang97/LanTiSEAA
|
aa37f5e2dd88e59859ef52dcc3613822c178400a
|
[
"MIT"
] | 1
|
2020-08-06T13:59:49.000Z
|
2020-08-06T13:59:49.000Z
|
src/lantiseaa/buffer.py
|
YichenTang97/LanTiSEAA
|
aa37f5e2dd88e59859ef52dcc3613822c178400a
|
[
"MIT"
] | null | null | null |
src/lantiseaa/buffer.py
|
YichenTang97/LanTiSEAA
|
aa37f5e2dd88e59859ef52dcc3613822c178400a
|
[
"MIT"
] | null | null | null |
import os
import csv
import copy
import errno
import pandas as pd
import pymc3 as pm
from sklearn.externals import joblib
from abc import ABC, abstractmethod
class BaseBuffer(ABC):
''' Base class for Buffer classes which store/save and retrieve/read data.
...
Methods
-------
save_record(self, genre, type_name, name, key, fold_number, train_test, surfix)
Save a record for the buffering/saving of a data
read_records()
Read records for the data buffered/saved
save_result(self, df, key, data_type='data', data_name=None, fold_number=None, train_test=None, surfix=None)
Save a piece of result
read_result(self, key, data_type='data', data_name=None, fold_number=None, train_test=None, surfix=None)
Read the requested piece of result
save_class(self, c, method_name, class_name, subclass_name=None, fold_number=None, surfix=None)
Save a class
read_class(self, method_name, class_name, subclass_name=None, fold_number=None, surfix=None)
Read the requested class
save_bayesian_estimation_trace(self, trace, group1_name, group2_name, surfix=None)
Save a trace generated by bayesian estimation
read_bayesian_estimation_trace(self, group1_name, group2_name, surfix=None)
Read the requested trace
save_feature_set(self, df, method_name, key='X', fold_number=None, train_test=None, surfix=None)
Save a set of features
read_feature_set(self, method_name, key='X', fold_number=None, train_test=None, surfix=None)
Read the request set of features
save_intermediate_result(self, df, method_name, key, fold_number=None, train_test=None, surfix=None)
Save a piece of intermediate result generated during computation
read_intermediate_result(self, method_name, key, fold_number=None, train_test=None, surfix=None)
Read the request piece of intermediate result
save_feature_relevance_table(self, relevance_table, method_name, key='feature_relevance_table', fold_number=None, surfix=None)
Save a feature relevance table (relevant features) calculated (selected) by the feature extractor
read_feature_relevance_table(self, method_name, key='feature_relevance_table', fold_number=None, surfix=None)
Read the requested feature relevance table (relevant features)
save_prediction(self, pred_df, method_name, key='prediction', fold_number=None, train_test=None, surfix=None)
Save predictions of target labels made on the data/features by a classifier
read_prediction(self, method_name, key='prediction', fold_number=None, train_test=None, surfix=None)
Read the requested predictions of target labels
save_class_attribute(self, attribute_df, method_name, class_name, attribute_name, fold_number=None, surfix=None)
Save an attribute of a class
read_class_attribute(self, method_name, class_name, attribute_name, fold_number=None, surfix=None)
Read the requested attribute of a class
save_evaluation_score(self, score_df, method_name, surfix=None)
Save evaluation scores obtained from a method
read_evaluation_score(self, method_name, surfix=None)
Read the requested evaluation scores obtained from a method
'''
def __init__(self):
super().__init__()
@abstractmethod
def save_record(self, genre, type_name, name, key, fold_number, train_test, surfix):
pass
@abstractmethod
def read_records(self):
pass
@abstractmethod
def save_result(self, df, key, data_type='data', data_name=None, fold_number=None, train_test=None, surfix=None):
pass
@abstractmethod
def read_result(self, key, data_type='data', data_name=None, fold_number=None, train_test=None, surfix=None):
pass
@abstractmethod
def save_class(self, c, method_name, class_name, subclass_name=None, fold_number=None, surfix=None):
pass
@abstractmethod
def read_class(self, method_name, class_name, subclass_name=None, fold_number=None, surfix=None):
pass
@abstractmethod
def save_bayesian_estimation_trace(self, trace, group1_name, group2_name, surfix=None):
pass
@abstractmethod
def read_bayesian_estimation_trace(self, group1_name, group2_name, surfix=None):
pass
def save_feature_set(self, df, method_name, key='X', fold_number=None, train_test=None, surfix=None):
self.save_result(df, key, data_type='feature', data_name=method_name, fold_number=fold_number, train_test=train_test, surfix=surfix)
def read_feature_set(self, method_name, key='X', fold_number=None, train_test=None, surfix=None):
return self.read_result(key, data_type='feature', data_name=method_name, fold_number=fold_number, train_test=train_test, surfix=surfix)
def save_intermediate_result(self, df, method_name, key, fold_number=None, train_test=None, surfix=None):
self.save_result(df, key, data_type='intermediate_result', data_name=method_name, fold_number=fold_number, train_test=train_test,
surfix=surfix)
def read_intermediate_result(self, method_name, key, fold_number=None, train_test=None, surfix=None):
return self.read_result(key, data_type='intermediate_result', data_name=method_name, fold_number=fold_number, train_test=train_test,
surfix=surfix)
def save_feature_relevance_table(self, relevance_table, method_name, key='feature_relevance_table', fold_number=None, surfix=None):
self.save_result(relevance_table, key, data_type='result', data_name=method_name, fold_number=fold_number, train_test=None, surfix=surfix)
def read_feature_relevance_table(self, method_name, key='feature_relevance_table', fold_number=None, surfix=None):
return self.read_result(key, data_type='result', data_name=method_name, fold_number=fold_number, train_test=None, surfix=surfix)
def save_prediction(self, pred_df, method_name, key='prediction', fold_number=None, train_test=None, surfix=None):
self.save_result(pred_df, key, data_type='result', data_name=method_name, fold_number=fold_number, train_test=train_test, surfix=surfix)
def read_prediction(self, method_name, key='prediction', fold_number=None, train_test=None, surfix=None):
return self.read_result(key, data_type='result', data_name=method_name, fold_number=fold_number, train_test=train_test, surfix=surfix)
def save_class_attribute(self, attribute_df, method_name, class_name, attribute_name, fold_number=None, surfix=None):
key = '{}__{}'.format(class_name, attribute_name)
self.save_result(attribute_df, key, data_type='class_attribute', data_name=method_name, fold_number=fold_number, train_test=None, surfix=surfix)
def read_class_attribute(self, method_name, class_name, attribute_name, fold_number=None, surfix=None):
key = '{}__{}'.format(class_name, attribute_name)
return self.read_result(key, data_type='class_attribute', data_name=method_name, fold_number=fold_number, train_test=None, surfix=surfix)
def save_evaluation_score(self, score_df, method_name, surfix=None):
key = 'cv_scores__{}'.format(method_name)
self.save_result(score_df, key, data_type='score', data_name=None, fold_number=None,
train_test=None, surfix=surfix)
def read_evaluation_score(self, method_name, surfix=None):
key = 'cv_scores__{}'.format(method_name)
return self.read_result(key, data_type='score', data_name=None, fold_number=None,
train_test=None, surfix=surfix)
class LocalBuffer(BaseBuffer):
'''The buffer that saves/reads files into/from computer's hard drive.
The LocalBuffer creates a few folders (data, results, figures, and classes) under the specified project
path and save data into subfolders of a specified name (if given) under these folders.
For example, for a project at "../project_lantiseaa/" and with specified subfolder name "trail_1", the
project structure will be something like the following (if all folders are used - if a folder is not
used, it will not appear on the disk):
project_lantiseaa
|-- data
| |-- trail_1
| |-- data1.csv
|-- results
| |-- trail_1
| |-- result1.hdf
| |-- result2.hdf
|-- figures
| |-- trail_1
| |-- fig1.png
|-- classes
| |-- trail_1
| |-- class1.pkl
'''
def __init__(self, project_path=None, subfolder=''):
super().__init__()
self.reset_path(project_path, subfolder)
def reset_path(self, project_path=None, subfolder=''):
"""Reset the default project path and the subfolder name for saving/reading data and results
If the project_path is not given, the parent of the 'LanTiSEAA' folder will be set as the
project_path in default. If the subfolder is not given, all savings/readings will be done from
the root 'data', 'results', 'figure' and 'classes' folders in default (this can be override on each save/read method).
Parameters
----------
project_path : str, optional
The root path of the project where the data and results will be stored in (default is None).
subfolder : str, optional
The subfolder under the root 'data', 'results', 'figures' and 'classes' folders where the data
and results will be saved to (default is an empty string '').
"""
if project_path == None:
# Assume this file is under '../workspace/LanTiSEAA/src/lantiseaa', in default set '../workspace' as the project path
self.project_path = os.path.normpath(os.path.join(os.path.dirname(os.path.abspath(__file__)),
'../../..')
)
else:
if os.path.isdir(project_path):
self.project_path = project_path
else:
raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), project_path)
self.subfolder = subfolder
def project(self, filename, folder=''):
"""Return absolute path of file within folder hierarchy"""
return os.path.join(self.project_path, folder, filename)
def data(self, filename, subfolder=''):
"""Return absolute path of file within the data folder"""
return self.project(filename, folder=os.path.join('data', subfolder))
def results(self, filename, subfolder=''):
"""Return absolute path of file within the results folder"""
return self.project(filename, folder=os.path.join('results', subfolder))
def figures(self, filename, subfolder=''):
"""Return absolute path of file within the figures folder"""
return self.project(filename, folder=os.path.join('figures', subfolder))
def classes(self, filename, subfolder=''):
"""Return absolute path of file within the classes folder"""
return self.project(filename, folder=os.path.join('classes', subfolder))
def save_record(self, genre, type_name, name, key, fold_number, train_test, surfix):
'''Append a record in "records.csv" under results folder.
Parameters
----------
genre : str
"result", "class" or "traces"
type_name : str
'data_type' in save_result, 'method_name' in save_class or 'file_name' in save_bayesian_estimation_trace
name : str
'data_name' in save_result or 'class_name' in save_class
key : str
'key' in save_result or 'subclass_name' in save_class
fold_number : int or str
'fold_number' in save_result and save_class
train_test : str
'train_test' in save_result
surfix : str
'surfix' in save_result, save_class and save_bayesian_estimation_trace
'''
# create the directory if not exist
if not os.path.isdir(self.results('')):
os.mkdir(self.results(''))
if not os.path.isdir(self.results('', self.subfolder)):
os.mkdir(self.results('', self.subfolder))
records = self.results("records.csv", subfolder=self.subfolder)
if not os.path.exists(records):
with open(records, 'w', newline='') as csvfile:
csv.writer(csvfile, delimiter=',', quotechar='|').writerow(['Genre', 'Type/Method', 'Data/Class', 'Key/Subclass', 'Fold', 'Train/Test', 'Surfix'])
with open(records, 'a', newline='') as csvfile:
csv.writer(csvfile, delimiter=',', quotechar='|').writerow([genre, type_name, name, key, fold_number, train_test, surfix])
def read_records(self):
'''Read the records stored in "records.csv" under results folder.'''
records = self.results("records.csv", subfolder=self.subfolder)
if not os.path.exists(records):
return None
else:
return pd.read_csv(records).sort_values(by=['Genre', 'Type/Method', 'Data/Class', 'Key/Subclass', 'Fold', 'Train/Test', 'Surfix']).drop_duplicates().reset_index(drop=True).fillna('')
def save_result(self, df, key, data_type='data', data_name=None, fold_number=None, train_test=None, surfix=None):
'''Save result data under the results folder.
Parameters
----------
df : pandas.DataFrame
the data to be saved
key : str
key to identify the data
data_type : str, optional
data_type to identify the data
data_name : str, optional
data_name to identify the data
fold_number : int or str, optional
the fold the data came from, also to identify the data
train_test : str, optional
train or test where the data came from, also to identify the data
surfix : str, optional
surfix to add to the end of the file name, also to identify the data
'''
# create the directory if not exist
if not os.path.isdir(self.results('')):
os.mkdir(self.results(''))
if not os.path.isdir(self.results('', self.subfolder)):
os.mkdir(self.results('', self.subfolder))
if data_name is not None:
data_type += '__{}'.format(data_name)
if fold_number is not None:
key += '__fold_{}'.format(fold_number)
if train_test is not None:
key += '__{}'.format(train_test)
if surfix is not None:
key += '__{}'.format(surfix)
df.to_hdf(self.results('{}.hdf'.format(data_type), self.subfolder), key)
self.save_record(genre='result', type_name=data_type, name=data_name, key=key, fold_number=fold_number, train_test=train_test, surfix=surfix)
def read_result(self, key, data_type='data', data_name=None, fold_number=None, train_test=None, surfix=None):
'''Read result data from under the results folder.
Parameters
----------
key : str
key to identify the data
data_type : str, optional
data_type to identify the data (default is 'data')
data_name : str, optional
data_name to identify the data (default is None)
fold_number : int or str, optional
the fold the data came from, also to identify the data (default is None)
train_test : str, optional
train or test where the data came from, also to identify the data (default is None)
surfix : str, optional
surfix to add to the end of the file name, also to identify the data (default is None)
'''
if data_name is not None:
data_type += '__{}'.format(data_name)
if fold_number is not None:
key += '__fold_{}'.format(fold_number)
if train_test is not None:
key += '__{}'.format(train_test)
if surfix is not None:
key += '__{}'.format(surfix)
return pd.read_hdf(self.results('{}.hdf'.format(data_type), self.subfolder), key)
def save_class(self, c, method_name, class_name, subclass_name=None, fold_number=None, surfix=None):
'''Save class under the classes folder.
Parameters
----------
c : object
the class object to be saved
method_name : str
the name of the method (e.g. tokenfreqseq) the class object obtained from, also to identify the class object
class_name : str
the name of the class object, to identify the class object
subclass_name : str
the name of the subclass (if the class is an object comtained by another object), to identify the subclass
fold_number : int or str, optional
the fold the class object came from, also to identify the class object (default is None)
surfix : str, optional
surfix to add to the end of the file name, also to identify the class object (default is None)
'''
# create the directory if not exist
if not os.path.isdir(self.classes('')):
os.mkdir(self.classes(''))
if not os.path.isdir(self.classes('', self.subfolder)):
os.mkdir(self.classes('', self.subfolder))
filename = '{}__{}'.format(method_name, class_name)
if subclass_name is not None:
filename += '__{}'.format(subclass_name)
if fold_number is not None:
filename += '__fold_{}'.format(fold_number)
if surfix is not None:
filename += '__{}'.format(surfix)
joblib.dump(c, self.classes('{}.pkl'.format(filename), self.subfolder))
self.save_record(genre='class', type_name=method_name, name=class_name, key=subclass_name, fold_number=fold_number, train_test=None, surfix=surfix)
def read_class(self, method_name, class_name, subclass_name=None, fold_number=None, surfix=None):
'''Read class from under the classes folder.
Parameters
----------
method_name : str
the name of the method (e.g. tokenfreqseq) the class object obtained from, also to identify the class object
class_name : str
the name of the class object, to identify the class object
subclass_name : str
the name of the subclass (if the class is an object comtained by another object), to identify the subclass
fold_number : int or str, optional
the fold the class object came from, also to identify the class object (default is None)
surfix : str, optional
surfix to add to the end of the file name, also to identify the class object (default is None)
'''
filename = '{}__{}'.format(method_name, class_name)
if subclass_name is not None:
filename += '__{}'.format(subclass_name)
if fold_number is not None:
filename += '__fold_{}'.format(fold_number)
if surfix is not None:
filename += '__{}'.format(surfix)
return joblib.load(self.classes('{}.pkl'.format(filename), self.subfolder))
def save_bayesian_estimation_trace(self, trace, group1_name, group2_name, surfix=None):
'''Save the bayesian estimation trace under the classes folder.
Parameters
----------
trace : object
the trace object to be saved
group1_name : str
the name of group1 in the bayesian estimation, also to identify the trace object
group2_name : str
the name of group2 in the bayesian estimation, also to identify the trace object
surfix : str, optional
surfix to add to the end of the file name, also to identify the trace object (default is None)
'''
# create the directory if not exist
if not os.path.isdir(self.classes('')):
os.mkdir(self.classes(''))
if not os.path.isdir(self.classes('', self.subfolder)):
os.mkdir(self.classes('', self.subfolder))
filename = 'traces__{}__{}'.format(group1_name, group2_name)
if surfix is not None:
filename += '__{}'.format(surfix)
joblib.dump(trace, self.classes(filename, self.subfolder))
self.save_record(genre='traces', type_name=filename, name=None, key=None, fold_number=None, train_test=None, surfix=surfix)
def read_bayesian_estimation_trace(self, group1_name, group2_name, surfix=None):
'''Read the bayesian estimation trace from under the classes folder.
Parameters
----------
group1_name : str
the name of group1 in the bayesian estimation, also to identify the trace object
group2_name : str
the name of group2 in the bayesian estimation, also to identify the trace object
surfix : str, optional
surfix to add to the end of the file name, also to identify the trace object (default is None)
'''
filename = 'traces__{}__{}'.format(group1_name, group2_name)
if surfix is not None:
filename += '__{}'.format(surfix)
return joblib.load(self.classes(filename, self.subfolder))
class MemoryBuffer(BaseBuffer):
'''The buffer that stores/retrieves data into/from computer's memory.'''
def __init__(self):
super().__init__()
self.records_ = None
self.results_ = {}
self.classes_ = {}
self.traces_ = {}
def save_record(self, genre, type_name, name, key, fold_number, train_test, surfix):
new_record = pd.DataFrame([[genre, type_name, name, key, fold_number, train_test, surfix]],
columns=['Genre', 'Type/Method', 'Data/Class', 'Key/Subclass', 'Fold', 'Train/Test', 'Surfix'])
if self.records_ is None:
self.records_ = new_record
else:
self.records_.append(new_record, ignore_index=True)
def read_records(self):
return self.records_.sort_values(by=['Genre', 'Type/Method', 'Data/Class', 'Key/Subclass', 'Fold', 'Train/Test', 'Surfix']).drop_duplicates().reset_index(drop=True).fillna('')
def save_result(self, df, key, data_type='data', data_name=None, fold_number=None, train_test=None, surfix=None):
if data_name is not None:
data_type += '__{}'.format(data_name)
if data_type not in self.results_.keys():
self.results_.update({data_type: {}})
if fold_number is not None:
key += '__fold_{}'.format(fold_number)
if train_test is not None:
key += '__{}'.format(train_test)
if surfix is not None:
key += '__{}'.format(surfix)
self.results_[data_type].update({key: df})
self.save_record(genre='result', type_name=data_type, name=data_name, key=key, fold_number=fold_number, train_test=train_test, surfix=surfix)
def read_result(self, key, data_type='data', data_name=None, fold_number=None, train_test=None, surfix=None):
if data_name is not None:
data_type += '__{}'.format(data_name)
if fold_number is not None:
key += '__fold_{}'.format(fold_number)
if train_test is not None:
key += '__{}'.format(train_test)
if surfix is not None:
key += '__{}'.format(surfix)
return self.results_[data_type][key]
def save_class(self, c, method_name, class_name, subclass_name=None, fold_number=None, surfix=None):
key = '{}__{}'.format(method_name, class_name)
if subclass_name is not None:
key += '__{}'.format(subclass_name)
if fold_number is not None:
key += '__fold_{}'.format(fold_number)
if surfix is not None:
key += '__{}'.format(surfix)
self.classes_.update({key: copy.deepcopy(c)})
self.save_record(genre='class', type_name=method_name, name=class_name, key=subclass_name, fold_number=fold_number, train_test=None, surfix=surfix)
def read_class(self, method_name, class_name, subclass_name=None, fold_number=None, surfix=None):
key = '{}__{}'.format(method_name, class_name)
if subclass_name is not None:
key += '__{}'.format(subclass_name)
if fold_number is not None:
key += '__fold_{}'.format(fold_number)
if surfix is not None:
key += '__{}'.format(surfix)
return self.classes_[key]
def save_bayesian_estimation_trace(self, trace, group1_name, group2_name, surfix=None):
key = '{}__{}'.format(group1_name, group2_name)
if surfix is not None:
key += '__{}'.format(surfix)
self.traces_.update({key: copy.deepcopy(trace)})
self.save_record(genre='traces', type_name=key, name=None, key=None, fold_number=None, train_test=None, surfix=surfix)
def read_bayesian_estimation_trace(self, group1_name, group2_name, surfix=None):
key = '{}__{}'.format(group1_name, group2_name)
if surfix is not None:
key += '__{}'.format(surfix)
return self.traces_[key]
| 40.368839
| 194
| 0.651032
| 3,353
| 25,392
| 4.717566
| 0.071578
| 0.06069
| 0.035403
| 0.036035
| 0.786319
| 0.757744
| 0.739031
| 0.723796
| 0.713997
| 0.7011
| 0
| 0.002245
| 0.245747
| 25,392
| 628
| 195
| 40.433121
| 0.823674
| 0.356845
| 0
| 0.634855
| 0
| 0
| 0.055219
| 0.003064
| 0
| 0
| 0
| 0
| 0
| 1
| 0.186722
| false
| 0.033195
| 0.033195
| 0.020747
| 0.315353
| 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
|
24f562f4c18d46a43349687d1f9aa9e3c9217623
| 111
|
py
|
Python
|
pyqtgraph/flowchart/__init__.py
|
robertsj/poropy
|
481a604339c9fa797817b2b0a55448329685c1d8
|
[
"MIT"
] | 1
|
2018-02-11T11:24:14.000Z
|
2018-02-11T11:24:14.000Z
|
pyqtgraph/flowchart/__init__.py
|
robertsj/poropy
|
481a604339c9fa797817b2b0a55448329685c1d8
|
[
"MIT"
] | 1
|
2018-06-12T16:15:31.000Z
|
2018-06-12T16:15:31.000Z
|
pyqtgraph/flowchart/__init__.py
|
robertsj/poropy
|
481a604339c9fa797817b2b0a55448329685c1d8
|
[
"MIT"
] | 7
|
2015-03-27T16:58:07.000Z
|
2022-01-01T17:44:02.000Z
|
# -*- coding: utf-8 -*-
from Flowchart import *
from library import getNodeType, registerNodeType, getNodeTree
| 27.75
| 62
| 0.756757
| 12
| 111
| 7
| 0.833333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.010417
| 0.135135
| 111
| 4
| 62
| 27.75
| 0.864583
| 0.189189
| 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
|
700f4ae41f0e02e7aa56e6b82b93339787ea8e07
| 262
|
py
|
Python
|
ca_on_peel/people.py
|
tor-councilmatic/scrapers-ca
|
821be4ccfc4f5aef3f8272b626b031e225aef7ee
|
[
"MIT"
] | 2
|
2017-06-02T09:41:28.000Z
|
2017-11-17T15:27:07.000Z
|
ca_on_peel/people.py
|
tor-councilmatic/scrapers-ca
|
821be4ccfc4f5aef3f8272b626b031e225aef7ee
|
[
"MIT"
] | null | null | null |
ca_on_peel/people.py
|
tor-councilmatic/scrapers-ca
|
821be4ccfc4f5aef3f8272b626b031e225aef7ee
|
[
"MIT"
] | null | null | null |
from __future__ import unicode_literals
from utils import CSVScraper
COUNCIL_PAGE = 'http://opendata.peelregion.ca/media/33531/wards1418_csv.csv'
class PeelPersonScraper(CSVScraper):
csv_url = 'http://opendata.peelregion.ca/media/33531/wards1418_csv.csv'
| 29.111111
| 76
| 0.80916
| 34
| 262
| 5.970588
| 0.588235
| 0.118227
| 0.216749
| 0.236453
| 0.482759
| 0.482759
| 0.482759
| 0.482759
| 0.482759
| 0
| 0
| 0.075314
| 0.087786
| 262
| 8
| 77
| 32.75
| 0.774059
| 0
| 0
| 0
| 0
| 0
| 0.450382
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.4
| 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
|
703ae7715b6a5c0abc0917785ca12f6c4d5af5ac
| 1,121
|
py
|
Python
|
tests/test_parse_metaconfig.py
|
rzhilkibaev/metaconfig
|
856c2c2e39a4ffadba2501df2c7dcf6b56b16543
|
[
"MIT"
] | null | null | null |
tests/test_parse_metaconfig.py
|
rzhilkibaev/metaconfig
|
856c2c2e39a4ffadba2501df2c7dcf6b56b16543
|
[
"MIT"
] | null | null | null |
tests/test_parse_metaconfig.py
|
rzhilkibaev/metaconfig
|
856c2c2e39a4ffadba2501df2c7dcf6b56b16543
|
[
"MIT"
] | null | null | null |
from cfgen import cfgen
from nose.tools import assert_equals
from nose.tools.nontrivial import raises
def test_parse_metaconfig_line_spaces():
assert_equals(cfgen.parse_metaconfig_line("var=expr"), ("var", "expr"))
assert_equals(cfgen.parse_metaconfig_line("var =expr"), ("var", "expr"))
assert_equals(cfgen.parse_metaconfig_line("var= expr"), ("var", "expr"))
assert_equals(cfgen.parse_metaconfig_line("var = expr"), ("var", "expr"))
assert_equals(cfgen.parse_metaconfig_line("var = expr"), ("var", "expr"))
def test_parse_metaconfig_line_special_characters():
assert_equals(cfgen.parse_metaconfig_line("var=\\"), ("var", "\\"))
assert_equals(cfgen.parse_metaconfig_line("var=\""), ("var", "\""))
assert_equals(cfgen.parse_metaconfig_line("var="), ("var", ""))
for ch in "!@#$%^&*()_+=-|{}[];':/.,<>?`~":
assert_equals(cfgen.parse_metaconfig_line("var=" + ch), ("var", ch))
@raises(ValueError)
def test_parse_metaconfig_line_errors():
cfgen.parse_metaconfig_line("var asdf")
cfgen.parse_metaconfig_line("var:asdf")
cfgen.parse_metaconfig_line("=asdf")
| 40.035714
| 79
| 0.692239
| 141
| 1,121
| 5.163121
| 0.177305
| 0.309066
| 0.391484
| 0.395604
| 0.79533
| 0.688187
| 0.688187
| 0.634615
| 0.634615
| 0.634615
| 0
| 0
| 0.115968
| 1,121
| 27
| 80
| 41.518519
| 0.734612
| 0
| 0
| 0.25
| 0
| 0
| 0.15165
| 0.026762
| 0
| 0
| 0
| 0
| 0.5
| 1
| 0.15
| false
| 0
| 0.15
| 0
| 0.3
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
703cd365385e2a440544302b1e89394771c05e1b
| 137
|
py
|
Python
|
carbonium/__init__.py
|
pietrogiuffrida/carbonium
|
b291f163e00e51d4f9c0027660b04cda7750d262
|
[
"MIT"
] | 1
|
2021-06-26T04:33:03.000Z
|
2021-06-26T04:33:03.000Z
|
carbonium/__init__.py
|
pietrogiuffrida/carbonium
|
b291f163e00e51d4f9c0027660b04cda7750d262
|
[
"MIT"
] | null | null | null |
carbonium/__init__.py
|
pietrogiuffrida/carbonium
|
b291f163e00e51d4f9c0027660b04cda7750d262
|
[
"MIT"
] | null | null | null |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from .version import __version__
from .name import Name
from .structure import Structure
| 19.571429
| 32
| 0.729927
| 19
| 137
| 5.052632
| 0.631579
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.017094
| 0.145985
| 137
| 6
| 33
| 22.833333
| 0.803419
| 0.313869
| 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
|
7046a24d69a28331ca554663bf2422a33a13379e
| 130
|
py
|
Python
|
boolibsy.py
|
kamkalian/boolibsy
|
f4b9d47cc102a1246b0e4d6759038586cc4bc456
|
[
"MIT"
] | null | null | null |
boolibsy.py
|
kamkalian/boolibsy
|
f4b9d47cc102a1246b0e4d6759038586cc4bc456
|
[
"MIT"
] | null | null | null |
boolibsy.py
|
kamkalian/boolibsy
|
f4b9d47cc102a1246b0e4d6759038586cc4bc456
|
[
"MIT"
] | null | null | null |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Donnerstag 13. Dezember 2018
@author: akurm
"""
from app import app
| 16.25
| 39
| 0.661538
| 19
| 130
| 4.526316
| 0.947368
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.073395
| 0.161538
| 130
| 8
| 40
| 16.25
| 0.715596
| 0.753846
| 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
|
7065f6cc6bc7cc35310572f775656002498a5839
| 479
|
py
|
Python
|
cursoemvideo/ex018.py
|
joaorobsonR/python-guanabara
|
ce18f0a9fec7c3f669e8cf26f446022d10eea551
|
[
"MIT"
] | null | null | null |
cursoemvideo/ex018.py
|
joaorobsonR/python-guanabara
|
ce18f0a9fec7c3f669e8cf26f446022d10eea551
|
[
"MIT"
] | null | null | null |
cursoemvideo/ex018.py
|
joaorobsonR/python-guanabara
|
ce18f0a9fec7c3f669e8cf26f446022d10eea551
|
[
"MIT"
] | null | null | null |
import math
c = float(input('digite um angulo para o cosseno '))
s = float(input('digite um angulo para o seno '))
t = float(input('digite o angulo da tangente '))
print(f'cosseno {math.cos(math.radians(c)):.3f} seno {math.sin(math.radians(s)):.3f} tangente {math.tan(math.radians(t)):.3f}')
#só de um angulo
a = int(input('digite o angulo '))
print(f'o seno {math.sin(math.radians(a)):.3f} o cosseno {math.cos(math.radians(a)):.3f} a tangente {math.tan(math.radians(a)):.3f}')
| 47.9
| 133
| 0.68476
| 87
| 479
| 3.770115
| 0.310345
| 0.20122
| 0.146341
| 0.128049
| 0.621951
| 0.176829
| 0.176829
| 0
| 0
| 0
| 0
| 0.014118
| 0.112735
| 479
| 9
| 134
| 53.222222
| 0.757647
| 0.031315
| 0
| 0
| 0
| 0.285714
| 0.74514
| 0.401728
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.142857
| 0
| 0.142857
| 0.285714
| 0
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
7069d40e6317ea15d6af113299bb774a70816d16
| 2,508
|
py
|
Python
|
model/input_fn.py
|
MapleLeafKiller/tensorflow-triplet-loss
|
ac349e344a647c5aeed7248926a76a0fe64f4cb7
|
[
"MIT"
] | null | null | null |
model/input_fn.py
|
MapleLeafKiller/tensorflow-triplet-loss
|
ac349e344a647c5aeed7248926a76a0fe64f4cb7
|
[
"MIT"
] | null | null | null |
model/input_fn.py
|
MapleLeafKiller/tensorflow-triplet-loss
|
ac349e344a647c5aeed7248926a76a0fe64f4cb7
|
[
"MIT"
] | null | null | null |
"""Create the input data pipeline using `tf.data`"""
import tensorflow as tf
import model.mnist_dataset as mnist_dataset
import model.cifar10_input as cifar10_dataset
def train_input_fn(data_dir, params):
"""Train input function for the MNIST dataset.
Args:
data_dir: (string) path to the data directory
params: (Params) contains hyperparameters of the model (ex: `params.num_epochs`)
"""
dataset = mnist_dataset.train(data_dir)
dataset = dataset.shuffle(params.train_size)
dataset = dataset.repeat(params.num_epochs) # repeat for multiple epochs
dataset = dataset.batch(params.batch_size)
dataset = dataset.prefetch(1) # make sure you always have one batch ready to serve
return dataset
def test_input_fn(data_dir, params):
"""Test input function for the MNIST dataset.
Args:
data_dir: (string) path to the data directory
params: (Params) contains hyperparameters of the model (ex: `params.num_epochs`)
"""
dataset = mnist_dataset.test(data_dir)
dataset = dataset.batch(params.batch_size)
dataset = dataset.prefetch(1) # make sure you always have one batch ready to serve
return dataset
def train_embedding_fn(data_dir, params):
"""Compute embedding of the training set,remember:No shuffle!!! Need to keep order with labels
Args:
data_dir: (string) path to the data directory
params: (Params) contains hyperparameters of the model (ex: `params.num_epochs`)
"""
dataset = mnist_dataset.train(data_dir)
dataset = dataset.batch(params.batch_size)
dataset = dataset.prefetch(1) # make sure you always have one batch ready to serve
return dataset
def train_input_fn_cifar10(data_dir, params):
"""Train input function for the MNIST dataset.
Args:
data_dir: (string) path to the data directory
params: (Params) contains hyperparameters of the model (ex: `params.num_epochs`)
"""
dataset = cifar10_dataset.distorted_inputs("train", params.batch_size, data_dir)
return dataset
def test_input_fn_cifar10(data_dir, params):
"""Test input function for the MNIST dataset.
Args:
data_dir: (string) path to the data directory
params: (Params) contains hyperparameters of the model (ex: `params.num_epochs`)
"""
dataset = cifar10_dataset.distorted_inputs("test", params.batch_size, data_dir)
print("----dataset:", dataset)
print("----dataset.shape:", dataset.shape)
return dataset
| 34.356164
| 98
| 0.708931
| 340
| 2,508
| 5.082353
| 0.188235
| 0.060764
| 0.052083
| 0.04919
| 0.78125
| 0.743056
| 0.708912
| 0.708912
| 0.708912
| 0.708912
| 0
| 0.007478
| 0.200159
| 2,508
| 72
| 99
| 34.833333
| 0.853938
| 0.479665
| 0
| 0.464286
| 0
| 0
| 0.032884
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.178571
| false
| 0
| 0.107143
| 0
| 0.464286
| 0.071429
| 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
|
7088a2b5011f7008bad79d9782275881b41af09f
| 85
|
py
|
Python
|
src/videoanalizer/openface/__init__.py
|
thomasreolon/DeepfakeDetection
|
5bbeefdeeb05b2abd45336ad3382da6ce90c2fef
|
[
"MIT"
] | 2
|
2021-04-21T03:02:59.000Z
|
2021-07-31T23:35:58.000Z
|
src/videoanalizer/openface/__init__.py
|
thomasreolon/DeepfakeDetection
|
5bbeefdeeb05b2abd45336ad3382da6ce90c2fef
|
[
"MIT"
] | null | null | null |
src/videoanalizer/openface/__init__.py
|
thomasreolon/DeepfakeDetection
|
5bbeefdeeb05b2abd45336ad3382da6ce90c2fef
|
[
"MIT"
] | null | null | null |
from . import openfaceapi
from . import parts
OpenFaceAPI = openfaceapi.OpenFaceAPI
| 17
| 37
| 0.811765
| 9
| 85
| 7.666667
| 0.444444
| 0.289855
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.141176
| 85
| 4
| 38
| 21.25
| 0.945205
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.666667
| 0
| 0.666667
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
70a3d42832376a110a8f3a00c02360f157beb91c
| 461
|
py
|
Python
|
src/models/multibuy.py
|
radeklat/price-basket
|
a6fb5798f505680426234aff0c80b5721902d572
|
[
"MIT"
] | null | null | null |
src/models/multibuy.py
|
radeklat/price-basket
|
a6fb5798f505680426234aff0c80b5721902d572
|
[
"MIT"
] | null | null | null |
src/models/multibuy.py
|
radeklat/price-basket
|
a6fb5798f505680426234aff0c80b5721902d572
|
[
"MIT"
] | null | null | null |
from typing import Final
from attr import attrs, attrib, validators
from src.models.validators import is_percent, positive_int
@attrs
class MultibuyModel:
quantity: int = attrib(validator=[validators.instance_of(int), positive_int])
discounts_goods: str = attrib(validator=validators.instance_of(str))
percent: float = attrib(validator=[validators.instance_of(float), is_percent])
NO_MULTIBUY: Final[MultibuyModel] = MultibuyModel(1, "", 0.0)
| 28.8125
| 82
| 0.774403
| 59
| 461
| 5.898305
| 0.474576
| 0.12931
| 0.215517
| 0.284483
| 0.301724
| 0
| 0
| 0
| 0
| 0
| 0
| 0.007407
| 0.121475
| 461
| 15
| 83
| 30.733333
| 0.851852
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.333333
| 0
| 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
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
70a990024d3034f90be9742e26a1ddb045b452db
| 88
|
py
|
Python
|
toml_sort/__init__.py
|
kasium/toml-sort
|
aeefd8787b76d030fbd5577060e8317cee72857f
|
[
"MIT"
] | 34
|
2019-08-06T23:10:27.000Z
|
2022-03-20T08:49:12.000Z
|
toml_sort/__init__.py
|
kasium/toml-sort
|
aeefd8787b76d030fbd5577060e8317cee72857f
|
[
"MIT"
] | 13
|
2019-08-06T17:15:08.000Z
|
2022-03-31T00:15:47.000Z
|
toml_sort/__init__.py
|
kasium/toml-sort
|
aeefd8787b76d030fbd5577060e8317cee72857f
|
[
"MIT"
] | 8
|
2020-04-17T11:45:16.000Z
|
2022-03-10T14:48:12.000Z
|
"""Toml Sort.
A library to easily sort toml files.
"""
from .tomlsort import TomlSort
| 12.571429
| 36
| 0.715909
| 13
| 88
| 4.846154
| 0.769231
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.181818
| 88
| 6
| 37
| 14.666667
| 0.875
| 0.545455
| 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
|
564cb7344ebfe59a46ea0af52d720655ded1daa6
| 67
|
py
|
Python
|
pm4pyws/handlers/xes/process_schema/alpha_freq/__init__.py
|
ehbasouri/pm4py-ws
|
9bf5f88848a4aa2873bae86af95d37f64ae1dde1
|
[
"Apache-2.0"
] | null | null | null |
pm4pyws/handlers/xes/process_schema/alpha_freq/__init__.py
|
ehbasouri/pm4py-ws
|
9bf5f88848a4aa2873bae86af95d37f64ae1dde1
|
[
"Apache-2.0"
] | null | null | null |
pm4pyws/handlers/xes/process_schema/alpha_freq/__init__.py
|
ehbasouri/pm4py-ws
|
9bf5f88848a4aa2873bae86af95d37f64ae1dde1
|
[
"Apache-2.0"
] | null | null | null |
from pm4pyws.handlers.xes.process_schema.alpha_freq import get_vis
| 33.5
| 66
| 0.880597
| 11
| 67
| 5.090909
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.015873
| 0.059701
| 67
| 1
| 67
| 67
| 0.873016
| 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
|
567dfc420bf4a9501cf389eecf4711a1c297474a
| 36
|
py
|
Python
|
malib/envs/star_craft2/__init__.py
|
apexrl/malib
|
3785309e9b695ff359131fbbecabb6b5a52ef559
|
[
"MIT"
] | 258
|
2021-05-10T11:17:45.000Z
|
2022-03-30T13:41:09.000Z
|
malib/envs/star_craft2/__init__.py
|
apexrl/malib
|
3785309e9b695ff359131fbbecabb6b5a52ef559
|
[
"MIT"
] | 28
|
2021-05-13T06:50:04.000Z
|
2022-03-30T14:19:15.000Z
|
malib/envs/star_craft2/__init__.py
|
apexrl/malib
|
3785309e9b695ff359131fbbecabb6b5a52ef559
|
[
"MIT"
] | 34
|
2021-05-31T16:17:49.000Z
|
2022-03-26T06:59:59.000Z
|
from .start_craft_env import SC2Env
| 18
| 35
| 0.861111
| 6
| 36
| 4.833333
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.03125
| 0.111111
| 36
| 1
| 36
| 36
| 0.875
| 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
|
5691abf865cfd6c88c132a623bfe5ab0ebfc7dd7
| 252
|
py
|
Python
|
office365/onedrive/columns/calculated_column.py
|
rikeshtailor/Office365-REST-Python-Client
|
ca7bfa1b22212137bb4e984c0457632163e89a43
|
[
"MIT"
] | 544
|
2016-08-04T17:10:16.000Z
|
2022-03-31T07:17:20.000Z
|
office365/onedrive/columns/calculated_column.py
|
rikeshtailor/Office365-REST-Python-Client
|
ca7bfa1b22212137bb4e984c0457632163e89a43
|
[
"MIT"
] | 438
|
2016-10-11T12:24:22.000Z
|
2022-03-31T19:30:35.000Z
|
office365/onedrive/columns/calculated_column.py
|
rikeshtailor/Office365-REST-Python-Client
|
ca7bfa1b22212137bb4e984c0457632163e89a43
|
[
"MIT"
] | 202
|
2016-08-22T19:29:40.000Z
|
2022-03-30T20:26:15.000Z
|
from office365.runtime.client_value import ClientValue
class CalculatedColumn(ClientValue):
"""The calculatedColumn on a columnDefinition resource indicates that the column's
data is calculated based on other columns in the site."""
pass
| 31.5
| 86
| 0.785714
| 32
| 252
| 6.15625
| 0.84375
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.014218
| 0.162698
| 252
| 7
| 87
| 36
| 0.919431
| 0.531746
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0.333333
| 0.333333
| 0
| 0.666667
| 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
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.