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
c580b94ba05a92cd7fe1f877171d4fb887df7235
123
py
Python
python-modules/twisted/twisted/protocols/test/__init__.py
stormtheh4ck3r/python-for-android
b9ea9161392f60566b81482b1e25cd77004d5c45
[ "Apache-2.0" ]
267
2015-03-22T15:23:48.000Z
2022-03-05T21:57:34.000Z
python-modules/twisted/twisted/protocols/test/__init__.py
stormtheh4ck3r/python-for-android
b9ea9161392f60566b81482b1e25cd77004d5c45
[ "Apache-2.0" ]
133
2015-03-21T15:13:43.000Z
2021-12-11T23:37:58.000Z
python-modules/twisted/twisted/protocols/test/__init__.py
stormtheh4ck3r/python-for-android
b9ea9161392f60566b81482b1e25cd77004d5c45
[ "Apache-2.0" ]
119
2015-04-28T16:07:10.000Z
2022-03-18T03:49:48.000Z
# Copyright (c) 2009 Twisted Matrix Laboratories. # See LICENSE for details. """ Unit tests for L{twisted.protocols}. """
17.571429
49
0.715447
16
123
5.5
0.875
0
0
0
0
0
0
0
0
0
0
0.038462
0.154472
123
6
50
20.5
0.807692
0.894309
0
null
0
null
0
0
null
0
0
0
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
0
0
0
0
1
0
0
0
0
0
0
4
c59754be881e3d4c5b20a484fecac2959d5b021a
203
py
Python
config.py
Will-So/pelican_autpost
29e87fb28cb6b62692a2c106991bcb9ed62576a6
[ "MIT" ]
1
2015-11-22T22:08:36.000Z
2015-11-22T22:08:36.000Z
config.py
Will-So/pelapost
29e87fb28cb6b62692a2c106991bcb9ed62576a6
[ "MIT" ]
null
null
null
config.py
Will-So/pelapost
29e87fb28cb6b62692a2c106991bcb9ed62576a6
[ "MIT" ]
null
null
null
AUTHOR = 'Will Sorenson' # Location of the pelican Blog BLOG_DIR = '/Users/Will/Devel/tec_blog/' # Directory that posted notebooks should be moved to POSTED_DIR = '/Users/Will/Devel/blog_posts/posted/'
29
52
0.763547
31
203
4.870968
0.677419
0.10596
0.15894
0.225166
0
0
0
0
0
0
0
0
0.128079
203
6
53
33.833333
0.853107
0.389163
0
0
0
0
0.628099
0.520661
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
c5eed90098bdcf1e0fc8cf22e79adf31b1c527f6
199
py
Python
the-python-standard-library-by-example/atexit/atexit_exception.py
gottaegbert/penter
8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d
[ "MIT" ]
13
2020-01-04T07:37:38.000Z
2021-08-31T05:19:58.000Z
src/lesson_application_building_blocks/atexit_exception.py
jasonwee/asus-rt-n14uhp-mrtg
4fa96c3406e32ea6631ce447db6d19d70b2cd061
[ "Apache-2.0" ]
3
2020-06-05T22:42:53.000Z
2020-08-24T07:18:54.000Z
src/lesson_application_building_blocks/atexit_exception.py
jasonwee/asus-rt-n14uhp-mrtg
4fa96c3406e32ea6631ce447db6d19d70b2cd061
[ "Apache-2.0" ]
9
2020-10-19T04:53:06.000Z
2021-08-31T05:20:01.000Z
import atexit def exit_with_exception(message): raise RuntimeError(message) atexit.register(exit_with_exception, 'Registered first') atexit.register(exit_with_exception, 'Registered second')
19.9
57
0.81407
24
199
6.5
0.541667
0.153846
0.326923
0.282051
0.525641
0.525641
0
0
0
0
0
0
0.100503
199
9
58
22.111111
0.871508
0
0
0
0
0
0.165829
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.4
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
c5f34dea4e9ac4b9dfcdf92a65cd7d30968272e3
193
py
Python
test.py
Moon-sung-woo/MIST_Tacotron
cfd81a62c15271627fc81d3d2673e10549beb650
[ "BSD-3-Clause" ]
null
null
null
test.py
Moon-sung-woo/MIST_Tacotron
cfd81a62c15271627fc81d3d2673e10549beb650
[ "BSD-3-Clause" ]
null
null
null
test.py
Moon-sung-woo/MIST_Tacotron
cfd81a62c15271627fc81d3d2673e10549beb650
[ "BSD-3-Clause" ]
null
null
null
a = [19.310344827586206, 19.597989949748744] b = [24.796747967479675, 9.0, 9.276018099547512, 6.329113924050633, 21.145374449339208, 19.615384615384617] c = a + b print(max(c)) print(min(c))
27.571429
107
0.735751
27
193
5.259259
0.703704
0
0
0
0
0
0
0
0
0
0
0.69186
0.108808
193
7
108
27.571429
0.133721
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
1
0
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
4
6801f6ae12d907af57c6c8c915e7f3040e340621
226
py
Python
gencove/command/s3_imports/autoimports/create/constants.py
gncv/gencove-cli
b4bcbe5b6a1506544472542af8b2384d21c7cbe4
[ "Apache-2.0" ]
1
2020-04-28T06:31:53.000Z
2020-04-28T06:31:53.000Z
gencove/command/s3_imports/autoimports/create/constants.py
gncv/gencove-cli
b4bcbe5b6a1506544472542af8b2384d21c7cbe4
[ "Apache-2.0" ]
null
null
null
gencove/command/s3_imports/autoimports/create/constants.py
gncv/gencove-cli
b4bcbe5b6a1506544472542af8b2384d21c7cbe4
[ "Apache-2.0" ]
1
2021-07-29T08:24:51.000Z
2021-07-29T08:24:51.000Z
"""Constants for s3-autoimport command.""" from typing import Optional from gencove.constants import Optionals class S3AutoImportOptionals(Optionals): """S3AutoImportOptionals model""" metadata_json: Optional[str]
20.545455
42
0.774336
23
226
7.565217
0.73913
0
0
0
0
0
0
0
0
0
0
0.015306
0.132743
226
10
43
22.6
0.872449
0.283186
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.75
0
1.25
0
1
0
0
null
0
0
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
4
680640273aa89974cbaf865ae95903bd5dd9dfc3
20,369
py
Python
MasterServer/MasterServer_pb2.py
wangtl175/Distributed-Key-Value-Store-System
c6661686474ef2660a6c4e62c2db6d1f924ebf29
[ "MIT" ]
1
2021-03-13T12:43:12.000Z
2021-03-13T12:43:12.000Z
MasterServer/MasterServer_pb2.py
wangtl175/Distributed-Key-Value-Store-System
c6661686474ef2660a6c4e62c2db6d1f924ebf29
[ "MIT" ]
null
null
null
MasterServer/MasterServer_pb2.py
wangtl175/Distributed-Key-Value-Store-System
c6661686474ef2660a6c4e62c2db6d1f924ebf29
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: MasterServer.proto """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 # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() DESCRIPTOR = _descriptor.FileDescriptor( name='MasterServer.proto', package='MasterServer', syntax='proto3', serialized_options=None, create_key=_descriptor._internal_create_key, serialized_pb=b'\n\x12MasterServer.proto\x12\x0cMasterServer\"\"\n\x05Reply\x12\x0b\n\x03msg\x18\x01 \x01(\t\x12\x0c\n\x04\x63ode\x18\x02 \x01(\x05\"Z\n\x05\x43hunk\x12\n\n\x02id\x18\x01 \x01(\t\x12\n\n\x02ip\x18\x02 \x01(\t\x12\x0c\n\x04port\x18\x03 \x01(\t\x12\x10\n\x08num_keys\x18\x04 \x01(\x05\x12\x0b\n\x03msg\x18\x05 \x01(\t\x12\x0c\n\x04\x63ode\x18\x06 \x01(\x05\"!\n\x03Key\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05\x63hunk\x18\x02 \x01(\t\"Y\n\x07Replace\x12&\n\told_chunk\x18\x01 \x01(\x0b\x32\x13.MasterServer.Chunk\x12&\n\tnew_chunk\x18\x02 \x01(\x0b\x32\x13.MasterServer.Chunk\"1\n\tSecondary\x12\n\n\x02id\x18\x01 \x01(\t\x12\n\n\x02ip\x18\x02 \x01(\t\x12\x0c\n\x04port\x18\x03 \x01(\t\"B\n\tDirectory\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05\x63hunk\x18\x02 \x01(\t\x12\x0b\n\x03msg\x18\x03 \x01(\t\x12\x0c\n\x04\x63ode\x18\x04 \x01(\x05\"#\n\x07Primary\x12\n\n\x02ip\x18\x01 \x01(\t\x12\x0c\n\x04port\x18\x02 \x01(\t\"\x07\n\x05\x45mpty2\xe1\x04\n\x0cMasterServer\x12\x33\n\x05heart\x12\x13.MasterServer.Empty\x1a\x13.MasterServer.Reply\"\x00\x12\x37\n\tadd_chunk\x12\x13.MasterServer.Chunk\x1a\x13.MasterServer.Reply\"\x00\x12\x35\n\tget_chunk\x12\x11.MasterServer.Key\x1a\x13.MasterServer.Chunk\"\x00\x12\x36\n\ninsert_key\x12\x11.MasterServer.Key\x1a\x13.MasterServer.Chunk\"\x00\x12\x36\n\ndelete_key\x12\x11.MasterServer.Key\x1a\x13.MasterServer.Chunk\"\x00\x12=\n\rreplace_chunk\x12\x15.MasterServer.Replace\x1a\x13.MasterServer.Reply\"\x00\x12?\n\radd_secondary\x12\x17.MasterServer.Secondary\x1a\x13.MasterServer.Reply\"\x00\x12\x42\n\x0esync_directory\x12\x13.MasterServer.Empty\x1a\x17.MasterServer.Directory\"\x00\x30\x01\x12;\n\x0bsync_chunks\x12\x13.MasterServer.Empty\x1a\x13.MasterServer.Chunk\"\x00\x30\x01\x12;\n\x0bget_primary\x12\x13.MasterServer.Empty\x1a\x15.MasterServer.Primary\"\x00\x62\x06proto3' ) _REPLY = _descriptor.Descriptor( name='Reply', full_name='MasterServer.Reply', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='msg', full_name='MasterServer.Reply.msg', 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='code', full_name='MasterServer.Reply.code', 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), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=36, serialized_end=70, ) _CHUNK = _descriptor.Descriptor( name='Chunk', full_name='MasterServer.Chunk', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='id', full_name='MasterServer.Chunk.id', 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='ip', full_name='MasterServer.Chunk.ip', 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='port', full_name='MasterServer.Chunk.port', 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), _descriptor.FieldDescriptor( name='num_keys', full_name='MasterServer.Chunk.num_keys', 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='msg', full_name='MasterServer.Chunk.msg', index=4, number=5, 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='code', full_name='MasterServer.Chunk.code', index=5, 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), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=72, serialized_end=162, ) _KEY = _descriptor.Descriptor( name='Key', full_name='MasterServer.Key', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='key', full_name='MasterServer.Key.key', 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='chunk', full_name='MasterServer.Key.chunk', 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='proto3', extension_ranges=[], oneofs=[ ], serialized_start=164, serialized_end=197, ) _REPLACE = _descriptor.Descriptor( name='Replace', full_name='MasterServer.Replace', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='old_chunk', full_name='MasterServer.Replace.old_chunk', 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='new_chunk', full_name='MasterServer.Replace.new_chunk', 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='proto3', extension_ranges=[], oneofs=[ ], serialized_start=199, serialized_end=288, ) _SECONDARY = _descriptor.Descriptor( name='Secondary', full_name='MasterServer.Secondary', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='id', full_name='MasterServer.Secondary.id', 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='ip', full_name='MasterServer.Secondary.ip', 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='port', full_name='MasterServer.Secondary.port', 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='proto3', extension_ranges=[], oneofs=[ ], serialized_start=290, serialized_end=339, ) _DIRECTORY = _descriptor.Descriptor( name='Directory', full_name='MasterServer.Directory', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='key', full_name='MasterServer.Directory.key', 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='chunk', full_name='MasterServer.Directory.chunk', 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='msg', full_name='MasterServer.Directory.msg', 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), _descriptor.FieldDescriptor( name='code', full_name='MasterServer.Directory.code', 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), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=341, serialized_end=407, ) _PRIMARY = _descriptor.Descriptor( name='Primary', full_name='MasterServer.Primary', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='ip', full_name='MasterServer.Primary.ip', 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='port', full_name='MasterServer.Primary.port', 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='proto3', extension_ranges=[], oneofs=[ ], serialized_start=409, serialized_end=444, ) _EMPTY = _descriptor.Descriptor( name='Empty', full_name='MasterServer.Empty', 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='proto3', extension_ranges=[], oneofs=[ ], serialized_start=446, serialized_end=453, ) _REPLACE.fields_by_name['old_chunk'].message_type = _CHUNK _REPLACE.fields_by_name['new_chunk'].message_type = _CHUNK DESCRIPTOR.message_types_by_name['Reply'] = _REPLY DESCRIPTOR.message_types_by_name['Chunk'] = _CHUNK DESCRIPTOR.message_types_by_name['Key'] = _KEY DESCRIPTOR.message_types_by_name['Replace'] = _REPLACE DESCRIPTOR.message_types_by_name['Secondary'] = _SECONDARY DESCRIPTOR.message_types_by_name['Directory'] = _DIRECTORY DESCRIPTOR.message_types_by_name['Primary'] = _PRIMARY DESCRIPTOR.message_types_by_name['Empty'] = _EMPTY _sym_db.RegisterFileDescriptor(DESCRIPTOR) Reply = _reflection.GeneratedProtocolMessageType('Reply', (_message.Message,), { 'DESCRIPTOR' : _REPLY, '__module__' : 'MasterServer_pb2' # @@protoc_insertion_point(class_scope:MasterServer.Reply) }) _sym_db.RegisterMessage(Reply) Chunk = _reflection.GeneratedProtocolMessageType('Chunk', (_message.Message,), { 'DESCRIPTOR' : _CHUNK, '__module__' : 'MasterServer_pb2' # @@protoc_insertion_point(class_scope:MasterServer.Chunk) }) _sym_db.RegisterMessage(Chunk) Key = _reflection.GeneratedProtocolMessageType('Key', (_message.Message,), { 'DESCRIPTOR' : _KEY, '__module__' : 'MasterServer_pb2' # @@protoc_insertion_point(class_scope:MasterServer.Key) }) _sym_db.RegisterMessage(Key) Replace = _reflection.GeneratedProtocolMessageType('Replace', (_message.Message,), { 'DESCRIPTOR' : _REPLACE, '__module__' : 'MasterServer_pb2' # @@protoc_insertion_point(class_scope:MasterServer.Replace) }) _sym_db.RegisterMessage(Replace) Secondary = _reflection.GeneratedProtocolMessageType('Secondary', (_message.Message,), { 'DESCRIPTOR' : _SECONDARY, '__module__' : 'MasterServer_pb2' # @@protoc_insertion_point(class_scope:MasterServer.Secondary) }) _sym_db.RegisterMessage(Secondary) Directory = _reflection.GeneratedProtocolMessageType('Directory', (_message.Message,), { 'DESCRIPTOR' : _DIRECTORY, '__module__' : 'MasterServer_pb2' # @@protoc_insertion_point(class_scope:MasterServer.Directory) }) _sym_db.RegisterMessage(Directory) Primary = _reflection.GeneratedProtocolMessageType('Primary', (_message.Message,), { 'DESCRIPTOR' : _PRIMARY, '__module__' : 'MasterServer_pb2' # @@protoc_insertion_point(class_scope:MasterServer.Primary) }) _sym_db.RegisterMessage(Primary) Empty = _reflection.GeneratedProtocolMessageType('Empty', (_message.Message,), { 'DESCRIPTOR' : _EMPTY, '__module__' : 'MasterServer_pb2' # @@protoc_insertion_point(class_scope:MasterServer.Empty) }) _sym_db.RegisterMessage(Empty) _MASTERSERVER = _descriptor.ServiceDescriptor( name='MasterServer', full_name='MasterServer.MasterServer', file=DESCRIPTOR, index=0, serialized_options=None, create_key=_descriptor._internal_create_key, serialized_start=456, serialized_end=1065, methods=[ _descriptor.MethodDescriptor( name='heart', full_name='MasterServer.MasterServer.heart', index=0, containing_service=None, input_type=_EMPTY, output_type=_REPLY, serialized_options=None, create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='add_chunk', full_name='MasterServer.MasterServer.add_chunk', index=1, containing_service=None, input_type=_CHUNK, output_type=_REPLY, serialized_options=None, create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='get_chunk', full_name='MasterServer.MasterServer.get_chunk', index=2, containing_service=None, input_type=_KEY, output_type=_CHUNK, serialized_options=None, create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='insert_key', full_name='MasterServer.MasterServer.insert_key', index=3, containing_service=None, input_type=_KEY, output_type=_CHUNK, serialized_options=None, create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='delete_key', full_name='MasterServer.MasterServer.delete_key', index=4, containing_service=None, input_type=_KEY, output_type=_CHUNK, serialized_options=None, create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='replace_chunk', full_name='MasterServer.MasterServer.replace_chunk', index=5, containing_service=None, input_type=_REPLACE, output_type=_REPLY, serialized_options=None, create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='add_secondary', full_name='MasterServer.MasterServer.add_secondary', index=6, containing_service=None, input_type=_SECONDARY, output_type=_REPLY, serialized_options=None, create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='sync_directory', full_name='MasterServer.MasterServer.sync_directory', index=7, containing_service=None, input_type=_EMPTY, output_type=_DIRECTORY, serialized_options=None, create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='sync_chunks', full_name='MasterServer.MasterServer.sync_chunks', index=8, containing_service=None, input_type=_EMPTY, output_type=_CHUNK, serialized_options=None, create_key=_descriptor._internal_create_key, ), _descriptor.MethodDescriptor( name='get_primary', full_name='MasterServer.MasterServer.get_primary', index=9, containing_service=None, input_type=_EMPTY, output_type=_PRIMARY, serialized_options=None, create_key=_descriptor._internal_create_key, ), ]) _sym_db.RegisterServiceDescriptor(_MASTERSERVER) DESCRIPTOR.services_by_name['MasterServer'] = _MASTERSERVER # @@protoc_insertion_point(module_scope)
36.373214
1,847
0.742992
2,565
20,369
5.57232
0.077973
0.051634
0.085077
0.077451
0.759673
0.700203
0.681103
0.669908
0.653887
0.614637
0
0.035211
0.128578
20,369
559
1,848
36.438283
0.770028
0.033237
0
0.681102
1
0.001969
0.18893
0.139118
0
0
0
0
0
1
0
false
0
0.007874
0
0.007874
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
a83be72b12f7cf58b69d8f79620ea25164e81bad
2,154
py
Python
QVertex/tools/createGeodata.py
tuapsekad/qVertex
c243a146625ccbda6b004eb73590cc1064bbf062
[ "MIT" ]
null
null
null
QVertex/tools/createGeodata.py
tuapsekad/qVertex
c243a146625ccbda6b004eb73590cc1064bbf062
[ "MIT" ]
null
null
null
QVertex/tools/createGeodata.py
tuapsekad/qVertex
c243a146625ccbda6b004eb73590cc1064bbf062
[ "MIT" ]
1
2020-03-13T14:40:57.000Z
2020-03-13T14:40:57.000Z
# -*- coding: utf-8 -*- __name__ = 'createGeodata' __version__ = '0.1' __author__ = 'Filippov Vladislav' from PyQt4 import QtCore, QtGui import os.path from PyQt4.QtGui import QDialog, QMessageBox, QFileDialog from QVertex.tools.createGeodata_ui import Ui_Geodata from QVertex.tools.coordcatalog import CatalogData # Геоданные создаются на один ЗУ с любым количеством контуров class CreateGeodata(QDialog, Ui_Geodata): def __init__(self, iface): self.html_cataloga_data = u'' QDialog.__init__(self, iface.mainWindow()) self.iface = iface self.setupUi(self) self.curr_path = u'' self.connect(self.btnGeodata, QtCore.SIGNAL("clicked()"), self.calculate) self.connect(self.btnSave, QtCore.SIGNAL("clicked()"), self.save_catalog) def calculate(self): if (self.iface.mapCanvas().currentLayer() is not None) \ and (self.iface.mapCanvas().currentLayer().selectedFeatures() is not None): #for feature in self.iface.mapCanvas().currentLayer().selectedFeatures(): ved = CatalogData(self.iface.mapCanvas().currentLayer().selectedFeatures(), self.radioBtnNewPoint.isChecked(), self.radioBtnZiped.isChecked(), 1) data = ved.geodata self.textEdit.setHtml(data) self.btnSave.setEnabled(True) self.html_cataloga_data = data #QMessageBox.warning(self.iface.mainWindow(), 'end', \ # data, QtGui.QMessageBox.Ok, \ # QtGui.QMessageBox.Ok) def save_catalog(self): if self.curr_path == u'': self.curr_path = os.getcwd() file_name = QFileDialog.getSaveFileName(self, u'Сохраните данные', self.curr_path, u'HTML файлы(*.html *.HTML)') if not file_name is None or not file_name == u'': current_path = os.path.dirname(unicode(file_name)) self.curr_path = current_path filepath = file_name #os.path.join(current_path, '.html') ccf = open(filepath, 'w') ccf.write(self.html_cataloga_data.encode('utf8')) ccf.close()
2,154
2,154
0.63974
245
2,154
5.444898
0.395918
0.053973
0.044978
0.089955
0.128936
0
0
0
0
0
0
0.004287
0.241876
2,154
1
2,154
2,154
0.812615
0.996286
0
0
0
0
0.053965
0
0
0
0
0
0
1
0.081081
false
0
0.135135
0
0.243243
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
a85b7aea7972487bff4ad98b26e933e9eeca98a1
110
py
Python
tools/addons/update.py
Denis198700000/Impulse
f9cb33e24b1efadee922cdf72f20e9502220fb2d
[ "MIT" ]
1
2020-07-16T20:05:23.000Z
2020-07-16T20:05:23.000Z
tools/addons/update.py
Denis198700000/Impulse
f9cb33e24b1efadee922cdf72f20e9502220fb2d
[ "MIT" ]
null
null
null
tools/addons/update.py
Denis198700000/Impulse
f9cb33e24b1efadee922cdf72f20e9502220fb2d
[ "MIT" ]
null
null
null
import requests as r try: exec(r.get("http://f0398143.xsph.ru/getUpdates.php").text) except: pass
15.714286
63
0.663636
17
110
4.294118
0.941176
0
0
0
0
0
0
0
0
0
0
0.077778
0.181818
110
6
64
18.333333
0.733333
0
0
0
0
0
0.372549
0
0
0
0
0
0
1
0
true
0.25
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
4
a86ea1089d1f3767286b8a3c3fc1e28792850d42
118
py
Python
wsgi/container/pkgs/angular/__init__.py
rch/flask-openshift
17057e0500ecfde34cb501e4ec3f3d08204e3828
[ "MIT" ]
1
2017-02-01T08:13:17.000Z
2017-02-01T08:13:17.000Z
wsgi/container/pkgs/angular/__init__.py
rch/flask-openshift
17057e0500ecfde34cb501e4ec3f3d08204e3828
[ "MIT" ]
null
null
null
wsgi/container/pkgs/angular/__init__.py
rch/flask-openshift
17057e0500ecfde34cb501e4ec3f3d08204e3828
[ "MIT" ]
null
null
null
from flask import Blueprint bp = Blueprint('angular', __name__, static_folder='static', template_folder='templates')
29.5
88
0.788136
14
118
6.214286
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.09322
118
3
89
39.333333
0.813084
0
0
0
0
0
0.186441
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
1
0
4
a87f6a05d6815a4b69349a2c80a10cdeb41325f5
153
py
Python
app/views/__init__.py
ohahlev/flaskit
acc52a7a1201560bd656399bb994b1ec228c375c
[ "MIT" ]
null
null
null
app/views/__init__.py
ohahlev/flaskit
acc52a7a1201560bd656399bb994b1ec228c375c
[ "MIT" ]
null
null
null
app/views/__init__.py
ohahlev/flaskit
acc52a7a1201560bd656399bb994b1ec228c375c
[ "MIT" ]
null
null
null
from flask import ( send_file ) from app import app @app.route("/download/<path:filename>") def download(filename): return send_file(filename)
15.3
39
0.718954
21
153
5.142857
0.571429
0.148148
0
0
0
0
0
0
0
0
0
0
0.163399
153
9
40
17
0.84375
0
0
0
0
0
0.163399
0.163399
0
0
0
0
0
1
0.142857
false
0
0.285714
0.142857
0.571429
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
0
1
1
0
0
4
a88e8713e6c37e336b3261ddad46f8d7140885fd
90
py
Python
Python/04. Sets/011. The Captain's Room.py
stonehengee/HackerrankPractice
ec052e7447391e40d1919cf0b641ff5023da3da3
[ "MIT" ]
null
null
null
Python/04. Sets/011. The Captain's Room.py
stonehengee/HackerrankPractice
ec052e7447391e40d1919cf0b641ff5023da3da3
[ "MIT" ]
null
null
null
Python/04. Sets/011. The Captain's Room.py
stonehengee/HackerrankPractice
ec052e7447391e40d1919cf0b641ff5023da3da3
[ "MIT" ]
null
null
null
# Problem: https://www.hackerrank.com/challenges/py-the-captains-room/problem # Score: 10
30
77
0.766667
13
90
5.307692
0.923077
0
0
0
0
0
0
0
0
0
0
0.02381
0.066667
90
2
78
45
0.797619
0.944444
0
null
0
null
0
0
null
0
0
0
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
0
0
0
0
1
0
0
0
0
0
0
4
a8a4904cf0160a0a3a99900c2851b30fe0700c66
155
py
Python
{{cookiecutter.project_name}}/src/{{cookiecutter.project_name}}/sample_package/sample_module.py
slettner/pymetrius
5c39a2b59c37256eca18061b74aaf411bc8d5154
[ "MIT" ]
5
2021-12-06T12:02:14.000Z
2022-01-12T08:05:36.000Z
{{cookiecutter.project_name}}/src/{{cookiecutter.project_name}}/sample_package/sample_module.py
slettner/pymetrius
5c39a2b59c37256eca18061b74aaf411bc8d5154
[ "MIT" ]
4
2021-12-05T18:18:15.000Z
2022-01-13T11:03:57.000Z
{{cookiecutter.project_name}}/src/{{cookiecutter.project_name}}/sample_package/sample_module.py
slettner/pymetrius
5c39a2b59c37256eca18061b74aaf411bc8d5154
[ "MIT" ]
1
2021-12-06T10:30:51.000Z
2021-12-06T10:30:51.000Z
""" This is a module in a separate package """ def hello_stranger(): """ hello """ print("pylint does not like empty modules")
14.090909
48
0.56129
19
155
4.526316
0.894737
0
0
0
0
0
0
0
0
0
0
0
0.316129
155
10
49
15.5
0.811321
0.283871
0
0
0
0
0.435897
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
1
0
4
a8c62cd51b39104bee631eb33ad19809a3fe74bd
39
py
Python
tests/__init__.py
ValentinCalomme/syngle
1d803ccee227da158f945a916576709bb0383bcc
[ "MIT" ]
1
2020-09-29T07:40:33.000Z
2020-09-29T07:40:33.000Z
tests/__init__.py
ValentinCalomme/syngle
1d803ccee227da158f945a916576709bb0383bcc
[ "MIT" ]
null
null
null
tests/__init__.py
ValentinCalomme/syngle
1d803ccee227da158f945a916576709bb0383bcc
[ "MIT" ]
null
null
null
"""Improve convenience of imports."""
19.5
38
0.692308
4
39
6.75
1
0
0
0
0
0
0
0
0
0
0
0
0.128205
39
1
39
39
0.794118
0.794872
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
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
765eb17a6fa8c73c7c109eb5ba45cc46355a6f19
170
py
Python
judge/bin/django-admin.py
chunky2808/Karmo-Onsite-Judge
545edcf13bf90027be01f2d366f6a000f087f3b7
[ "MIT" ]
13
2018-07-22T08:05:01.000Z
2022-03-28T17:49:07.000Z
judge/bin/django-admin.py
chunky2808/Karmo-Onsite-Judge
545edcf13bf90027be01f2d366f6a000f087f3b7
[ "MIT" ]
null
null
null
judge/bin/django-admin.py
chunky2808/Karmo-Onsite-Judge
545edcf13bf90027be01f2d366f6a000f087f3b7
[ "MIT" ]
5
2018-07-26T05:49:48.000Z
2021-05-09T10:06:51.000Z
#!/home/paras/Desktop/coding/my-project/Judge/judge/bin/python3 from django.core import management if __name__ == "__main__": management.execute_from_command_line()
28.333333
63
0.788235
23
170
5.347826
0.869565
0
0
0
0
0
0
0
0
0
0
0.006452
0.088235
170
5
64
34
0.787097
0.364706
0
0
0
0
0.074766
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
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
76623841fa2acfeacebbb12cfde5a95bf47ff127
3,030
py
Python
aliyun-python-sdk-ehpc/aliyunsdkehpc/request/v20180412/ModifyImageGatewayConfigRequest.py
liumihust/aliyun-openapi-python-sdk
c7b5dd4befae4b9c59181654289f9272531207ef
[ "Apache-2.0" ]
1
2019-12-23T12:36:43.000Z
2019-12-23T12:36:43.000Z
aliyun-python-sdk-ehpc/aliyunsdkehpc/request/v20180412/ModifyImageGatewayConfigRequest.py
liumihust/aliyun-openapi-python-sdk
c7b5dd4befae4b9c59181654289f9272531207ef
[ "Apache-2.0" ]
null
null
null
aliyun-python-sdk-ehpc/aliyunsdkehpc/request/v20180412/ModifyImageGatewayConfigRequest.py
liumihust/aliyun-openapi-python-sdk
c7b5dd4befae4b9c59181654289f9272531207ef
[ "Apache-2.0" ]
null
null
null
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # # # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. from aliyunsdkcore.request import RpcRequest class ModifyImageGatewayConfigRequest(RpcRequest): def __init__(self): RpcRequest.__init__(self, 'EHPC', '2018-04-12', 'ModifyImageGatewayConfig','ehs') def get_DefaultRepoLocation(self): return self.get_query_params().get('DefaultRepoLocation') def set_DefaultRepoLocation(self,DefaultRepoLocation): self.add_query_param('DefaultRepoLocation',DefaultRepoLocation) def get_DBPassword(self): return self.get_query_params().get('DBPassword') def set_DBPassword(self,DBPassword): self.add_query_param('DBPassword',DBPassword) def get_Repos(self): return self.get_query_params().get('Repos') def set_Repos(self,Repos): for i in range(len(Repos)): if Repos[i].get('Auth') is not None: self.add_query_param('Repo.' + str(i + 1) + '.Auth' , Repos[i].get('Auth')) if Repos[i].get('Location') is not None: self.add_query_param('Repo.' + str(i + 1) + '.Location' , Repos[i].get('Location')) if Repos[i].get('URL') is not None: self.add_query_param('Repo.' + str(i + 1) + '.URL' , Repos[i].get('URL')) def get_DBType(self): return self.get_query_params().get('DBType') def set_DBType(self,DBType): self.add_query_param('DBType',DBType) def get_DBUsername(self): return self.get_query_params().get('DBUsername') def set_DBUsername(self,DBUsername): self.add_query_param('DBUsername',DBUsername) def get_DBServerInfo(self): return self.get_query_params().get('DBServerInfo') def set_DBServerInfo(self,DBServerInfo): self.add_query_param('DBServerInfo',DBServerInfo) def get_PullUpdateTimeout(self): return self.get_query_params().get('PullUpdateTimeout') def set_PullUpdateTimeout(self,PullUpdateTimeout): self.add_query_param('PullUpdateTimeout',PullUpdateTimeout) def get_ClusterId(self): return self.get_query_params().get('ClusterId') def set_ClusterId(self,ClusterId): self.add_query_param('ClusterId',ClusterId) def get_ImageExpirationTimeout(self): return self.get_query_params().get('ImageExpirationTimeout') def set_ImageExpirationTimeout(self,ImageExpirationTimeout): self.add_query_param('ImageExpirationTimeout',ImageExpirationTimeout)
35.647059
88
0.747525
401
3,030
5.483791
0.286783
0.035016
0.060027
0.085039
0.174625
0.174625
0.174625
0.047749
0.047749
0.047749
0
0.005741
0.137624
3,030
85
89
35.647059
0.835821
0.248845
0
0
0
0
0.145132
0.030937
0
0
0
0
0
1
0.413043
false
0.086957
0.021739
0.195652
0.652174
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
4
76692c66ffee099ddb410951fdb49cbfb95a9497
5,725
py
Python
tinycom/tinycom_rc.py
EnjoyLifeFund/macHighSierra-py36-pkgs
5668b5785296b314ea1321057420bcd077dba9ea
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
null
null
null
tinycom/tinycom_rc.py
EnjoyLifeFund/macHighSierra-py36-pkgs
5668b5785296b314ea1321057420bcd077dba9ea
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
null
null
null
tinycom/tinycom_rc.py
EnjoyLifeFund/macHighSierra-py36-pkgs
5668b5785296b314ea1321057420bcd077dba9ea
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Resource object code # # Created by: The Resource Compiler for PyQt4 (Qt v4.8.7) # # WARNING! All changes made in this file will be lost! from .qt import * qt_resource_data = b"\ \x00\x00\x04\x70\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x20\x00\x00\x00\x20\x08\x06\x00\x00\x00\x73\x7a\x7a\xf4\ \x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0b\x13\x00\x00\x0b\x13\ \x01\x00\x9a\x9c\x18\x00\x00\x00\x04\x67\x41\x4d\x41\x00\x00\xb1\ \x8e\x7c\xfb\x51\x93\x00\x00\x00\x20\x63\x48\x52\x4d\x00\x00\x7a\ \x25\x00\x00\x80\x83\x00\x00\xf9\xff\x00\x00\x80\xe9\x00\x00\x75\ \x30\x00\x00\xea\x60\x00\x00\x3a\x98\x00\x00\x17\x6f\x92\x5f\xc5\ \x46\x00\x00\x03\xe6\x49\x44\x41\x54\x78\xda\x62\xfc\xff\xff\x3f\ \xc3\x40\x02\x80\x00\x62\x62\x18\x60\x00\x10\x40\x03\xee\x00\x80\ \x00\x1a\x70\x07\x00\x04\x10\xcb\x40\x59\xec\xe9\xe9\x09\x4e\x7c\ \x00\x01\xc4\x48\x8d\x44\x08\x33\x0c\x04\xb6\x6f\xdf\xce\x48\x8c\ \xda\xce\xce\xce\xc3\x4c\x4c\x4c\x0c\x00\x01\xc4\x42\x0d\x4b\xa7\ \x4e\x9d\xca\xf0\xef\xef\x5f\x86\xbf\x40\x0c\x13\x47\x76\x08\xb2\ \xda\xa6\xa6\x26\xb0\xc5\xff\xfe\xfd\x63\x60\x64\x64\x64\x00\x08\ \x20\x92\x43\x00\x66\x58\x7d\x4d\x0d\xd8\x00\x90\x61\x75\x8d\x8d\ \x60\xb9\x9e\x9e\x1e\xb0\x23\x40\xb8\xaa\xaa\x0a\xae\xa7\xbc\xbc\ \xfc\x30\x33\x33\x33\x03\x0c\x83\xf4\xc0\xd8\x00\x01\x44\xb4\x03\ \x60\x16\xd7\x02\x0d\x66\x04\x1a\xc0\x04\x72\x3d\x90\x86\x39\x02\ \x44\x57\xd7\xd6\x32\xb4\xb5\xb6\x82\x1d\xf0\xe7\xcf\x1f\x86\xbf\ \x40\xdc\xd2\xd6\x06\xd6\x5f\x51\x51\x71\x18\xdd\xf2\xda\xda\x5a\ \x5b\x80\x00\x22\xe8\x00\x98\xc5\xd5\x15\x15\x70\x8b\x60\x34\xdc\ \x21\x48\x62\x15\xd5\xd5\x60\x7d\xd5\x40\x87\x22\x3b\xa4\x7f\xe2\ \x44\xb8\x23\x40\x18\x18\x15\xb6\xa0\x68\x02\x08\x20\xb0\x03\x90\ \xe3\x08\x16\x7f\x30\xb1\xaa\xf2\x72\x06\x06\x90\x05\x68\x16\x61\ \xa5\x91\x42\xa6\xa4\xac\x0c\x6c\x56\x41\x5e\x1e\xc4\x21\x40\x3c\ \x7d\xc6\x0c\x06\xf4\xc4\x0a\x10\x40\x8c\x1e\x1e\x1e\xff\xa1\x89\ \x83\x01\xe4\x98\xfa\xfa\x7a\xb8\xa2\x4a\xa0\x21\xc8\xbe\xc4\xf0\ \x3d\x3e\xc7\x40\x1d\x5d\x50\x5c\x8c\x11\xaa\xc8\x09\x14\x20\x80\ \xc0\x0e\x00\x0a\x80\x42\x01\x6c\x39\xc8\x11\x30\xdc\xd2\xd2\xc2\ \x00\x8b\x77\x06\x1c\x16\xe0\x73\x04\xb2\x9e\xdc\xfc\x7c\x86\xf8\ \x98\x18\x86\x85\x4b\x96\xa0\x38\x00\x20\x80\x58\x90\x5c\x05\x76\ \x04\x08\xd4\x00\x53\x38\x28\x9b\x54\x56\x56\x82\x1d\xd2\x0c\x4d\ \x48\x0d\xc0\x44\x06\x0e\x0d\x50\x11\x8a\x14\x2a\x70\x0c\xb5\x14\ \x4c\x83\x7c\x07\x55\x0b\xb2\x1c\x04\x40\xd1\x80\x0e\x00\x02\x88\ \x05\x9a\xd0\xe0\x8e\x40\xe6\x03\xb3\x0f\xd8\x01\xa5\xa5\xa5\x60\ \x07\x35\x34\x37\x33\x34\x35\x34\x80\x0d\x06\x5b\x80\x6c\x21\xb2\ \x43\xa0\x72\x20\x47\xe6\x16\x14\x30\x24\x27\x24\x30\xcc\x5d\xb0\ \x00\x9c\x20\xd1\x01\x40\x00\x61\x0d\x01\x74\x87\x14\x03\xe3\x11\ \xe4\x80\x02\xa0\x61\x75\x40\x07\x80\x40\x1b\x30\x7a\x18\x91\x7c\ \x09\x77\x14\x88\x86\x3a\x04\x64\x79\x58\x48\x08\xc3\xe7\x2f\x5f\ \xc0\x72\x7f\xb1\x38\x00\x20\x80\xe0\x0e\xf8\xf5\xeb\x17\xc3\xc6\ \x8d\x1b\x51\x2c\xde\xb2\x79\x33\xc3\x3f\x60\x08\xf8\xf9\xf9\x31\ \xe4\x03\x83\x11\x14\x1a\xb9\xb9\xb9\x60\xc7\x54\x01\xa3\x09\x04\ \xba\x3b\x3a\x10\x09\x14\xea\x98\x82\xa2\x22\xb0\x9c\xbb\xab\x2b\ \xc3\xc7\x8f\x1f\xe1\x96\xfd\xc5\x12\x05\x00\x01\x04\xcf\x05\x20\ \xb0\x62\xf9\x72\x14\xc9\x88\xc8\x48\x30\xbd\x76\xcd\x1a\x86\x60\ \xa0\x4f\x40\x20\x3b\x3b\x1b\xec\x00\x90\x63\x40\xf4\xac\x59\xb3\ \xc0\xe2\x7d\xc0\x52\x10\x96\xea\xcd\xcd\xcc\x30\x2c\x3a\x79\xea\ \x14\xd6\xba\x02\x20\x80\xe0\x0e\x98\x35\xbd\x84\x21\x2d\xb3\x07\ \x2c\x38\x77\xce\x1c\x14\xcd\xc9\x29\x29\x0c\xcb\x81\x8e\x03\x95\ \xf7\xd1\xc0\x94\x0c\x02\x69\x69\x69\x70\x87\x80\xf0\xbc\x79\xf3\ \xc0\xe2\xea\x6a\x6a\x18\x96\xdf\xbc\x75\x0b\x67\x45\x05\x10\x40\ \x28\x21\x00\x72\x04\xd8\x70\xa8\x43\x26\x01\x4b\x2f\x18\xc8\x83\ \xa6\xe4\x05\x40\x8b\xfe\x02\x2d\x06\x39\x0a\x04\x12\x13\x13\xe1\ \x8e\x58\xb8\x70\x21\x83\xb8\xa8\x28\x8a\x05\x2f\x5f\xbf\xc6\x5b\ \x43\x02\x04\x10\x0b\x36\xcb\x11\x6c\x88\xa5\xed\xc0\x6c\xd8\x0e\ \xcd\x8a\x09\x49\x49\x60\x7a\x26\xb0\x54\xfb\x0f\x74\x48\x46\x56\ \x16\x43\x5c\x5c\x1c\x03\xac\x48\xff\x00\x8d\xf3\x9f\xc0\x34\x45\ \x4c\xf5\x0c\x10\x40\x2c\x30\x05\xb0\xa2\x17\xbb\x43\x20\x35\x5b\ \x1d\x34\xe1\x81\xc0\x3f\xa4\x04\x05\x8b\x0a\x10\x00\x25\x3a\x0e\ \x4e\x4e\x82\x16\xc3\x00\x40\x00\xb1\xa0\x17\x8f\xb8\x1c\x02\xa2\ \x9b\x80\x59\xcf\xdc\xdc\x9c\xe1\xe4\xc9\x93\x28\x86\xc0\x12\x24\ \x08\x90\x62\x39\x08\x00\x04\x10\x0b\xae\x72\x1a\xdd\x21\x20\xa0\ \x06\x4c\x60\xef\xdf\xbf\xc7\x30\x04\x39\x04\x48\xb1\x1c\x04\x00\ \x02\x08\x67\x8b\x08\xdd\x21\x20\xf0\xfc\xf9\x73\x86\xcf\x9f\x3f\ \x63\xa8\x85\x25\x42\x72\x00\x40\x00\x11\x6c\x15\x23\xfb\x08\x64\ \x39\x8c\x9f\x09\x2c\x0f\x90\x43\x60\xe5\xca\x95\x24\xfb\x1e\x04\ \x00\x02\x88\xa2\x46\x29\x29\x8d\x51\x5c\x00\x20\x80\x18\x07\xba\ \x6b\x06\x10\x40\x03\xde\x31\x01\x08\xa0\x01\x77\x00\x40\x00\x0d\ \xb8\x03\x00\x02\x68\xc0\x1d\x00\x10\x60\x00\xb5\xca\xe4\xec\x04\ \xa3\x85\xa8\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\ " qt_resource_name = b"\ \x00\x05\ \x00\x6f\xa6\x53\ \x00\x69\ \x00\x63\x00\x6f\x00\x6e\x00\x73\ \x00\x05\ \x00\x36\x9b\x62\ \x00\x33\ \x00\x32\x00\x78\x00\x33\x00\x32\ \x00\x0b\ \x0a\xaa\x5c\xa7\ \x00\x74\ \x00\x69\x00\x6e\x00\x79\x00\x63\x00\x6f\x00\x6d\x00\x2e\x00\x70\x00\x6e\x00\x67\ " qt_resource_struct = b"\ \x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x01\ \x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x02\ \x00\x00\x00\x10\x00\x02\x00\x00\x00\x01\x00\x00\x00\x03\ \x00\x00\x00\x20\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\ " def qInitResources(): QtCore.qRegisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data) def qCleanupResources(): QtCore.qUnregisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data) qInitResources()
49.353448
96
0.726463
1,327
5,725
3.120573
0.209495
0.088384
0.060855
0.023183
0.081864
0.067375
0.067375
0.055059
0.048539
0.042019
0
0.341248
0.028996
5,725
115
97
49.782609
0.40367
0.026376
0
0.019802
0
0.752475
0
0
0
1
0.001437
0
0
1
0.019802
false
0
0.009901
0
0.029703
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
4
7687548d795131d0cf62035310d06957afc97d8b
207
py
Python
Pythonskripte/ladeBildKeras.py
NoahEmbedded/EmbeddedKWD
2380d56b0b75bae4fedeb60885358332766f7319
[ "MIT" ]
null
null
null
Pythonskripte/ladeBildKeras.py
NoahEmbedded/EmbeddedKWD
2380d56b0b75bae4fedeb60885358332766f7319
[ "MIT" ]
null
null
null
Pythonskripte/ladeBildKeras.py
NoahEmbedded/EmbeddedKWD
2380d56b0b75bae4fedeb60885358332766f7319
[ "MIT" ]
null
null
null
from keras.preprocessing.image import load_img from keras.preprocessing.image import img_to_array def ladeBild(pfad): bild = load_img(pfad,grayscale=True) array = img_to_array(bild) return array
29.571429
50
0.782609
31
207
5.032258
0.516129
0.115385
0.282051
0.346154
0.423077
0
0
0
0
0
0
0
0.144928
207
6
51
34.5
0.881356
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
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
0
0
0
4
768ab3965826467e7a3ac37cf7cdf5ca92712dca
301
py
Python
tools/import_pyglet.py
ibrahemesam/Fos
f2f284a2c7bdc24dafafebb8aa3141ebf225e451
[ "BSD-3-Clause" ]
null
null
null
tools/import_pyglet.py
ibrahemesam/Fos
f2f284a2c7bdc24dafafebb8aa3141ebf225e451
[ "BSD-3-Clause" ]
null
null
null
tools/import_pyglet.py
ibrahemesam/Fos
f2f284a2c7bdc24dafafebb8aa3141ebf225e451
[ "BSD-3-Clause" ]
1
2021-07-11T00:16:46.000Z
2021-07-11T00:16:46.000Z
* check out the latest pyglet trunk * copy it to a new aptana project * do a search and replace for " pyglet" -> " fos.lib.pyglet" "(pyglet" -> "(fos.lib.pyglet" "@pyglet" -> "@fos.lib.pyglet" In pyglet.__init__, line number 312 'pyglet.%s' -> 'fos.lib.pyglet.%s' * copy the pyglet folder into fos/lib
33.444444
37
0.687708
50
301
4.06
0.56
0.147783
0.236453
0.26601
0.26601
0.26601
0.26601
0.26601
0
0
0
0.011811
0.156146
301
9
37
33.444444
0.787402
0
0
0
0
0
0.304636
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
4
76a84cb376b262e664e3f0fd87bc0f00c83087d8
92
py
Python
legacy/Visualiser.py
JUST0M/procedural-buildings
d51add4bc769823d01f16fbe1d599d97650ec404
[ "MIT" ]
2
2021-04-13T10:46:20.000Z
2021-07-04T09:30:49.000Z
legacy/Visualiser.py
JUST0M/procedural-buildings
d51add4bc769823d01f16fbe1d599d97650ec404
[ "MIT" ]
null
null
null
legacy/Visualiser.py
JUST0M/procedural-buildings
d51add4bc769823d01f16fbe1d599d97650ec404
[ "MIT" ]
null
null
null
class Visualiser: def visualise(self, resultGeom): raise NotImplementedError
23
37
0.706522
8
92
8.125
1
0
0
0
0
0
0
0
0
0
0
0
0.23913
92
4
38
23
0.928571
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
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
0
1
0
0
4
76bbe21e352e70b0edf5eeb9de27a86cd27ae619
235
py
Python
package_name/__init__.py
ostpoller/pyprjtpl
3ca6a7a122ba6b53aa538c84abebf34d0754381c
[ "MIT" ]
null
null
null
package_name/__init__.py
ostpoller/pyprjtpl
3ca6a7a122ba6b53aa538c84abebf34d0754381c
[ "MIT" ]
null
null
null
package_name/__init__.py
ostpoller/pyprjtpl
3ca6a7a122ba6b53aa538c84abebf34d0754381c
[ "MIT" ]
null
null
null
""" Make public API available on top level of package. Clients can now use the API regardless of the internal project structure simply by calling: from package_name import api_function """ from .api import * # noqa: F401 F403
19.583333
54
0.748936
36
235
4.833333
0.777778
0
0
0
0
0
0
0
0
0
0
0.031915
0.2
235
11
55
21.363636
0.893617
0.86383
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
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
76bf67f79220282c64e6a095f3aa0454158255e5
219
py
Python
store/forms.py
alainthierry/florist
fd57b4e232d22449beb3c418161dd4fc9fc8928a
[ "MIT" ]
null
null
null
store/forms.py
alainthierry/florist
fd57b4e232d22449beb3c418161dd4fc9fc8928a
[ "MIT" ]
null
null
null
store/forms.py
alainthierry/florist
fd57b4e232d22449beb3c418161dd4fc9fc8928a
[ "MIT" ]
null
null
null
from django import forms class CustomerForm(forms.Form): name = forms.CharField(max_length=100) email = forms.EmailField() phone_number = forms.CharField(max_length=100) flower_id = forms.IntegerField()
31.285714
50
0.744292
28
219
5.678571
0.678571
0.176101
0.213836
0.289308
0.327044
0
0
0
0
0
0
0.032432
0.155251
219
7
51
31.285714
0.827027
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.166667
0
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
76ce95ea335f6345500600119fee9883206f26f4
151
py
Python
fatf/fairness/models/__init__.py
So-Cool/fat-forensics
6fa252a1d90fe543242ef030a5f8a3f9c9f692fe
[ "BSD-3-Clause" ]
48
2019-09-12T04:54:48.000Z
2022-02-27T01:49:55.000Z
fatf/fairness/models/__init__.py
So-Cool/fat-forensics
6fa252a1d90fe543242ef030a5f8a3f9c9f692fe
[ "BSD-3-Clause" ]
4
2019-11-04T00:01:15.000Z
2021-01-27T16:35:29.000Z
fatf/fairness/models/__init__.py
So-Cool/fat-forensics
6fa252a1d90fe543242ef030a5f8a3f9c9f692fe
[ "BSD-3-Clause" ]
11
2019-09-17T13:39:43.000Z
2021-07-27T11:04:33.000Z
""" The :mod:`fatf.fairness.models` module holds fairness algorithms for models. """ # Author: Kacper Sokol <k.sokol@bristol.ac.uk> # License: new BSD
25.166667
76
0.721854
22
151
4.954545
0.863636
0
0
0
0
0
0
0
0
0
0
0
0.125828
151
5
77
30.2
0.825758
0.92053
0
null
0
null
0
0
null
0
0
0
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
0
0
0
0
1
0
0
0
0
0
0
4
4f162c4100417b80dfcd7e3e9d5b759aaf3789e8
290
py
Python
gcloudtasks/admin.py
damey2011/django-gcloud-tasks
cb37ef94616ee79c5d7cae4b8376ae881b24041d
[ "MIT" ]
1
2020-05-04T03:44:55.000Z
2020-05-04T03:44:55.000Z
gcloudtasks/admin.py
damey2011/django-gcloud-tasks
cb37ef94616ee79c5d7cae4b8376ae881b24041d
[ "MIT" ]
1
2021-02-15T17:23:59.000Z
2021-02-15T19:38:03.000Z
gcloudtasks/admin.py
damey2011/django-gcloud-tasks
cb37ef94616ee79c5d7cae4b8376ae881b24041d
[ "MIT" ]
null
null
null
from django.contrib import admin class TaskAdmin(admin.ModelAdmin): def get_readonly_fields(self, request, obj=None): return list(set( [field.name for field in self.opts.local_fields] + [field.name for field in self.opts.local_many_to_many] ))
29
66
0.668966
40
290
4.7
0.675
0.095745
0.12766
0.180851
0.340426
0.340426
0.340426
0.340426
0
0
0
0
0.241379
290
9
67
32.222222
0.854545
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0.142857
0.571429
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
4
4f523b46779704e492606a0901e98f48d54f7b09
83
py
Python
brutus/executors.py
milesgranger/brutus
0cc5fc4857423f83b81dcfbb3cb5426542cbd264
[ "MIT" ]
1
2018-02-22T10:46:49.000Z
2018-02-22T10:46:49.000Z
brutus/executors.py
milesgranger/brutus
0cc5fc4857423f83b81dcfbb3cb5426542cbd264
[ "MIT" ]
null
null
null
brutus/executors.py
milesgranger/brutus
0cc5fc4857423f83b81dcfbb3cb5426542cbd264
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from brutus.aws.lambda_backend.lambda_client import Lambda
27.666667
58
0.746988
12
83
5
0.833333
0
0
0
0
0
0
0
0
0
0
0.013514
0.108434
83
3
58
27.666667
0.797297
0.253012
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
0
0
0
4
4f79a0d5402f163bbc80cc43aa45221da2fd3b05
276
py
Python
src/orbitaz/app/models/__init__.py
w0L-g0R/orbitaz
f4daf028060fe527b8c6eb809f24b011928c2fa2
[ "MIT" ]
null
null
null
src/orbitaz/app/models/__init__.py
w0L-g0R/orbitaz
f4daf028060fe527b8c6eb809f24b011928c2fa2
[ "MIT" ]
null
null
null
src/orbitaz/app/models/__init__.py
w0L-g0R/orbitaz
f4daf028060fe527b8c6eb809f24b011928c2fa2
[ "MIT" ]
null
null
null
from .mission_control import MissionControl from .luna import Luna from .worker import Worker from .forecast import Forecast from .entso.data import EntsoData from .entso.specifications import EntsoSpecs from .jao.data import JaoSpecs from .jao.specifications import JaoSpecs
30.666667
44
0.84058
37
276
6.243243
0.405405
0.077922
0
0
0
0
0
0
0
0
0
0
0.115942
276
8
45
34.5
0.946721
0
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
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
4f7ae443e96793be6032b8ac9814f200c03840d7
153
py
Python
tools/test/config_test/test21/test_data.py
pradeep-gr/mbed-os5-onsemi
576d096f2d9933c39b8a220f486e9756d89173f2
[ "Apache-2.0" ]
7
2017-01-15T16:37:41.000Z
2021-08-10T02:14:04.000Z
tools/test/config_test/test21/test_data.py
pradeep-gr/mbed-os5-onsemi
576d096f2d9933c39b8a220f486e9756d89173f2
[ "Apache-2.0" ]
1
2017-02-20T10:48:02.000Z
2017-02-21T11:34:16.000Z
tools/test/config_test/test21/test_data.py
pradeep-gr/mbed-os5-onsemi
576d096f2d9933c39b8a220f486e9756d89173f2
[ "Apache-2.0" ]
9
2017-04-27T07:54:26.000Z
2021-08-10T02:14:05.000Z
# Testing basic features expected_results = { "test_target": { "desc": "test basic features", "expected_features": ["IPV4"] } }
17
38
0.581699
14
153
6.142857
0.642857
0.302326
0.488372
0
0
0
0
0
0
0
0
0.009009
0.27451
153
8
39
19.125
0.765766
0.143791
0
0
0
0
0.426357
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
4f953729a37a4ec00acd4fa8f5bac4d68cb18b94
261
py
Python
backend/app/app/schemas/__init__.py
nocookie-analytics/core
7409e36b6805acf09af618430e56e69c8810e2ca
[ "MIT" ]
14
2021-07-22T09:49:06.000Z
2021-12-23T18:33:43.000Z
backend/app/app/schemas/__init__.py
nocookie-analytics/core
7409e36b6805acf09af618430e56e69c8810e2ca
[ "MIT" ]
95
2021-06-10T06:57:30.000Z
2022-03-29T14:02:37.000Z
backend/app/app/schemas/__init__.py
nocookie-analytics/core
7409e36b6805acf09af618430e56e69c8810e2ca
[ "MIT" ]
null
null
null
from .domain import Domain, DomainCreate, DomainInDB, DomainUpdate from .msg import Msg from .token import Token, TokenPayload from .user import User, UserCreate, UserInDB, UserUpdate from .event import EventCreate, EventCreated from .billing import StripeLink
37.285714
66
0.823755
32
261
6.71875
0.5625
0
0
0
0
0
0
0
0
0
0
0
0.122605
261
6
67
43.5
0.938865
0
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
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
96ddda7321f1137e3b5cde74dba72879263f0cdb
391
py
Python
src/firmware_variables/__init__.py
guye1296/firmware-variables
c3a8c922c6a91735b544b913e397bc1c2fbdff99
[ "MIT" ]
22
2020-04-07T14:54:24.000Z
2022-03-09T15:59:16.000Z
src/firmware_variables/__init__.py
guye1296/firmware-variables
c3a8c922c6a91735b544b913e397bc1c2fbdff99
[ "MIT" ]
4
2020-04-09T14:57:12.000Z
2020-04-25T09:54:59.000Z
src/firmware_variables/__init__.py
guye1296/firmware-variables
c3a8c922c6a91735b544b913e397bc1c2fbdff99
[ "MIT" ]
1
2021-08-30T11:03:30.000Z
2021-08-30T11:03:30.000Z
from .variables import get_variable, set_variable, delete_variable, Attributes from .variables import GLOBAL_NAMESPACE, DEFAULT_ATTRIBUTES from .privileges import privileges, patch_current_process_privileges from .boot import get_boot_order, get_boot_entry, set_boot_entry, set_boot_order from .boot import get_parsed_boot_entry, set_parsed_boot_entry from .load_option import LoadOption
39.1
80
0.869565
56
391
5.660714
0.392857
0.113565
0.113565
0.107256
0
0
0
0
0
0
0
0
0.092072
391
9
81
43.444444
0.892958
0
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
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
96f944ecd2c3b8e1a52302ac0d56d51ed898c247
217
py
Python
code/python/python-unittest/util.py
aschmied/notes
81dab9b138595c8ad0f0d2fe75401d332d8bb4e5
[ "CC-BY-4.0" ]
null
null
null
code/python/python-unittest/util.py
aschmied/notes
81dab9b138595c8ad0f0d2fe75401d332d8bb4e5
[ "CC-BY-4.0" ]
null
null
null
code/python/python-unittest/util.py
aschmied/notes
81dab9b138595c8ad0f0d2fe75401d332d8bb4e5
[ "CC-BY-4.0" ]
null
null
null
# An example util module that we want to test. # `reverse` takes a list and returns a new list with the same # elements, but with their order reversed. def reverse(l): return [element for element in reversed(l)]
31
61
0.732719
37
217
4.297297
0.810811
0
0
0
0
0
0
0
0
0
0
0
0.198157
217
6
62
36.166667
0.913793
0.668203
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
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
0
1
1
0
0
4
96fd10b709377f30c827f5aea81e1361774908d5
914
py
Python
Python/[7 kyu] basic calculator.py
KonstantinosAng/CodeWars
9ec9da9ed95b47b9656a5ecf77f486230fd15e3a
[ "MIT" ]
null
null
null
Python/[7 kyu] basic calculator.py
KonstantinosAng/CodeWars
9ec9da9ed95b47b9656a5ecf77f486230fd15e3a
[ "MIT" ]
null
null
null
Python/[7 kyu] basic calculator.py
KonstantinosAng/CodeWars
9ec9da9ed95b47b9656a5ecf77f486230fd15e3a
[ "MIT" ]
null
null
null
# see https://www.codewars.com/kata/5296455e4fe0cdf2e000059f/solutions/python from TestFunction import Test def calculate(num1, operation, num2): if operation == "+": return num1 + num2 elif operation == "-": return num1 - num2 elif operation == "*": return num1*num2 elif operation == "/": return num1/num2 if num2 != 0 else None else: return None Test(11.2).assert_result(calculate(3.2,"+", 8)) Test(-4.8).assert_result(calculate(3.2,"-", 8)) Test(0.4).assert_result(calculate(3.2,"/", 8)) Test(25.6).assert_result(calculate(3.2,"*", 8)) Test(-3).assert_result(calculate(-3,"+", 0)) Test(-3).assert_result(calculate(-3,"-", 0)) Test(1).assert_result(calculate(-2, "/", -2)) Test(0).assert_result(calculate(-3,"*", 0)) Test(None).assert_result(calculate(-3,"/", 0)) Test(None).assert_result(calculate(-3,"w", 0)) Test(None).assert_result(calculate(-3,"w", 1))
33.851852
77
0.650985
133
914
4.390977
0.263158
0.226027
0.395548
0.376712
0.666096
0.666096
0.666096
0.481164
0.321918
0.321918
0
0.086076
0.135667
914
27
78
33.851852
0.653165
0.082057
0
0
0
0
0.0179
0
0
0
0
0
0.478261
1
0.043478
false
0
0.043478
0
0.304348
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
1
0
0
0
0
0
0
0
0
0
4
8c07a78fbda0ad4b375795ce3b9b17fe947093b5
2,466
py
Python
agate/exceptions.py
captainsafia/agate
14f41d13f72160a374d2504d9c9ade958f543eab
[ "MIT" ]
null
null
null
agate/exceptions.py
captainsafia/agate
14f41d13f72160a374d2504d9c9ade958f543eab
[ "MIT" ]
null
null
null
agate/exceptions.py
captainsafia/agate
14f41d13f72160a374d2504d9c9ade958f543eab
[ "MIT" ]
1
2019-11-26T03:25:18.000Z
2019-11-26T03:25:18.000Z
#!/usr/bin/env python """ This module contains various exceptions raised by agate. """ class NullCalculationError(Exception): # pragma: no cover """ Exception raised if a calculation which can not logically account for null values is attempted on a :class:`Column` containing nulls. """ pass class UnsupportedAggregationError(Exception): # pragma: no cover """ Exception raised if an computation is applied to a column where it is not supported or it is not logically possible to complete it. """ def __init__(self, aggregation, column): self.aggregation = aggregation self.column = column def __unicode__(self): return '`%s` is not a supported operation for %s' % (type(self.aggregation), type(self.column)) def __str__(self): return str(self.__unicode__()) class UnsupportedComputationError(Exception): # pragma: no cover """ Exception raised when a :class:`.Computation` is applied to a column type that does not support it. :param computation: The :class:`.Computation` being applied. :param column: The :class:`.Column` it was applied to. """ def __init__(self, computation, column): self.computation = computation self.column = column def __unicode__(self): return '`%s` is not a supported computation for %s' % (type(self.computation), type(self.column)) def __str__(self): return str(self.__unicode__()) class CastError(Exception): #pragma: no cover """ Exception raised when a column value can not be cast to the correct type. """ pass class ColumnDoesNotExistError(Exception): # pragma: no cover """ Exception raised when trying to access a column that does not exist. :param k: The key used to access the non-existent :class:`.Column`. """ def __init__(self, k): self.k = k def __unicode__(self): return 'Column `%s` does not exist.' % (self.k) def __str__(self): return str(self.__unicode__()) class RowDoesNotExistError(Exception): # pragma: no cover """ Exception raised when trying to access a row that does not exist. :param i: The index used to access the non-existent :class:`.Row`. """ def __init__(self, i): self.i = i def __unicode__(self): return 'Row `%i` does not exist.' % (self.i) def __str__(self): return str(self.__unicode__())
28.674419
105
0.654907
312
2,466
4.971154
0.269231
0.05158
0.065764
0.085106
0.453256
0.426177
0.388781
0.279175
0.20245
0.20245
0
0
0.242498
2,466
85
106
29.011765
0.8303
0.408354
0
0.470588
0
0
0.101449
0
0
0
0
0
0
1
0.352941
false
0.058824
0
0.235294
0.764706
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
4
8c558dd62baa7657476f773a7145d59a238a105b
59
py
Python
python.py
170123/demo
87cb94d3e949fa0118a275121fe86567e5ad3dfb
[ "Apache-2.0" ]
null
null
null
python.py
170123/demo
87cb94d3e949fa0118a275121fe86567e5ad3dfb
[ "Apache-2.0" ]
null
null
null
python.py
170123/demo
87cb94d3e949fa0118a275121fe86567e5ad3dfb
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python #conding:utf-8 print('Hello world')
11.8
21
0.694915
10
59
4.1
1
0
0
0
0
0
0
0
0
0
0
0.018868
0.101695
59
4
22
14.75
0.754717
0.559322
0
0
0
0
0.458333
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
4
4ff51e5d170af7573d80aa9b7651f775551cb4c1
220
py
Python
tiddlywebconfig.py
TiddlySpace/tiddlyspace
5f2139340d2d9e3a37068b5c58ecb2e599d798b8
[ "BSD-3-Clause" ]
32
2015-01-04T10:54:29.000Z
2022-01-22T16:45:24.000Z
tiddlywebconfig.py
jdlrobson/tiddlyspace
70f500687fcd26e3fa4ef144297a05203ccf0f35
[ "BSD-3-Clause" ]
4
2016-12-08T14:04:26.000Z
2018-02-20T10:23:33.000Z
tiddlywebconfig.py
jdlrobson/tiddlyspace
70f500687fcd26e3fa4ef144297a05203ccf0f35
[ "BSD-3-Clause" ]
14
2015-01-19T23:18:20.000Z
2021-06-22T01:10:08.000Z
# this is required for testing import mangler config = { 'log_level': 'DEBUG', 'system_plugins': ['tiddlywebplugins.tiddlyspace'], 'twanager_plugins': ['tiddlywebplugins.tiddlyspace'], }
24.444444
61
0.640909
19
220
7.263158
0.842105
0.333333
0.492754
0
0
0
0
0
0
0
0
0
0.231818
220
8
62
27.5
0.816568
0.127273
0
0
0
0
0.529101
0.296296
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
4ff87bd548d64f59605c903d5fc286c7197ed542
50
py
Python
custom/__init__.py
larsmaaloee/BIVA
e47201113d779c6ea1245875714101b2bbfcbdae
[ "MIT" ]
28
2019-10-24T10:35:43.000Z
2021-07-25T04:28:44.000Z
custom/__init__.py
larsmaaloee/BIVA
e47201113d779c6ea1245875714101b2bbfcbdae
[ "MIT" ]
null
null
null
custom/__init__.py
larsmaaloee/BIVA
e47201113d779c6ea1245875714101b2bbfcbdae
[ "MIT" ]
6
2019-10-24T11:09:58.000Z
2021-02-19T01:35:38.000Z
from ._deep_vae_evaluator import DeepVAEEvaluator
25
49
0.9
6
50
7
1
0
0
0
0
0
0
0
0
0
0
0
0.08
50
1
50
50
0.913043
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
0
0
0
4
4fff2e52f96c6a60ed417269b435f9cd12ebae89
244
py
Python
pykka/_exceptions.py
fjarri/pykka
d1b33b32ba60c6a3e83576ea746b780775e8ff3e
[ "Apache-2.0" ]
796
2015-01-01T14:40:40.000Z
2022-03-31T09:57:45.000Z
pykka/_exceptions.py
fjarri/pykka
d1b33b32ba60c6a3e83576ea746b780775e8ff3e
[ "Apache-2.0" ]
123
2015-02-06T11:45:55.000Z
2022-03-25T04:11:21.000Z
pykka/_exceptions.py
fjarri/pykka
d1b33b32ba60c6a3e83576ea746b780775e8ff3e
[ "Apache-2.0" ]
103
2015-01-13T10:34:27.000Z
2022-02-23T12:47:10.000Z
__all__ = ["ActorDeadError", "Timeout"] class ActorDeadError(Exception): """Exception raised when trying to use a dead or unavailable actor.""" pass class Timeout(Exception): """Exception raised at future timeout.""" pass
17.428571
74
0.688525
27
244
6.074074
0.666667
0.219512
0.292683
0
0
0
0
0
0
0
0
0
0.196721
244
13
75
18.769231
0.836735
0.409836
0
0.4
0
0
0.157895
0
0
0
0
0
0
1
0
false
0.4
0
0
0.4
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
4
4fff637b3efb4dcc87fe43bc769fe4b45a02f911
132
py
Python
Premier-eye.API/sockets/sockets.py
Sapfir0/premier-eye
26bb27e5f804c2e9375cb6f5edebad58e7b5dffe
[ "MIT" ]
16
2019-08-05T09:38:53.000Z
2021-12-26T19:24:31.000Z
Premier-eye.API/sockets/sockets.py
Sapfir0/premier-eye
26bb27e5f804c2e9375cb6f5edebad58e7b5dffe
[ "MIT" ]
4
2020-01-09T22:22:37.000Z
2021-07-29T18:33:57.000Z
Premier-eye.API/sockets/sockets.py
Sapfir0/premier-eye
26bb27e5f804c2e9375cb6f5edebad58e7b5dffe
[ "MIT" ]
4
2019-08-04T14:02:08.000Z
2020-07-10T09:47:06.000Z
from flask_socketio import SocketIO socketio = SocketIO(cors_allowed_origins='*') def initSocket(app): socketio.init_app(app)
18.857143
45
0.780303
17
132
5.823529
0.647059
0.323232
0
0
0
0
0
0
0
0
0
0
0.121212
132
6
46
22
0.853448
0
0
0
0
0
0.007576
0
0
0
0
0
0
1
0.25
false
0
0.25
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
1
0
0
0
0
0
0
0
4
8b02dc1533fec80414f82f5c39becec1dfb39730
171
py
Python
geometric/tests/test_molecule.py
fding2015/geomeTRIC
8a62621d717de5b35ce252db20ee193012cb806a
[ "MIT" ]
null
null
null
geometric/tests/test_molecule.py
fding2015/geomeTRIC
8a62621d717de5b35ce252db20ee193012cb806a
[ "MIT" ]
null
null
null
geometric/tests/test_molecule.py
fding2015/geomeTRIC
8a62621d717de5b35ce252db20ee193012cb806a
[ "MIT" ]
1
2019-06-17T18:16:16.000Z
2019-06-17T18:16:16.000Z
""" Tests the geomeTRIC molecule class. """ import pytest import geometric def test_blank_molecule(): mol = geometric.molecule.Molecule() assert len(mol) == 0
13.153846
39
0.701754
21
171
5.619048
0.666667
0.288136
0
0
0
0
0
0
0
0
0
0.007194
0.187135
171
12
40
14.25
0.841727
0.204678
0
0
0
0
0
0
0
0
0
0
0.2
1
0.2
false
0
0.4
0
0.6
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
8b05f8341b9adee5ad4aaddfd0431fab702d5595
4,474
py
Python
scripts/tagger.test.py
9bstudios/mecco_tagger
08af7cc0939602ae15e43fa081bbc0825b2ef7a7
[ "MIT" ]
null
null
null
scripts/tagger.test.py
9bstudios/mecco_tagger
08af7cc0939602ae15e43fa081bbc0825b2ef7a7
[ "MIT" ]
null
null
null
scripts/tagger.test.py
9bstudios/mecco_tagger
08af7cc0939602ae15e43fa081bbc0825b2ef7a7
[ "MIT" ]
null
null
null
#python import tagger, traceback errors = 0 lx.eval('layout.createOrClose EventLog "Event Log_layout" title:@macros.layouts@EventLog@ width:600 height:600 persistent:true open:true') def open_scene(slug): scenesFolder = lx.eval("query platformservice alias ? {kit_mecco_tagger:testing}") lx.eval("pref.value application.defaultScene {%s/%s.lxo}" % (scenesFolder,slug)) lx.eval("scene.new") lx.eval("pref.value application.defaultScene {}") lx.eval('scene.closeAll') open_scene('testScene') lx.eval('select.drop item') lx.eval('select.drop channel') lx.eval('select.subItem Cube set') lx.eval('select.typeFrom polygon;edge;vertex;item;pivot;center;ptag true') try: lx.eval("tagger.pTagQuickSelectPopup pick seedSel") except: lx.out(traceback.print_exc()) errors += 1 try: lx.eval("tagger.pTagCopy") except: lx.out(traceback.print_exc()) errors += 1 try: lx.eval("tagger.pTagQuickSelectPopup pick hoopSet") except: lx.out(traceback.print_exc()) errors += 1 try: lx.eval("tagger.pTagPasteMaterial") except: lx.out(traceback.print_exc()) errors += 1 try: lx.eval("tagger.setMaterial_pTagRemove") except: lx.out(traceback.print_exc()) errors += 1 lx.eval("select.drop polygon") try: lx.eval("tagger.pTagQuickSelectPopup pick seedSel") except: lx.out(traceback.print_exc()) errors += 1 try: lx.eval("tagger.floodSelectMaterial") except: lx.out(traceback.print_exc()) errors += 1 try: lx.eval("tagger.setMaterial_pTag test random selected material use") except: lx.out(traceback.print_exc()) errors += 1 lx.eval("select.drop polygon") try: lx.eval("tagger.pTagQuickSelectPopup pick seedSel") except: lx.out(traceback.print_exc()) errors += 1 try: lx.eval("tagger.setMaterial_auto") except: lx.out(traceback.print_exc()) errors += 1 try: lx.eval("tagger.setMaterial_auto") except: lx.out(traceback.print_exc()) errors += 1 try: lx.eval("tagger.selectAllByMaterial test") except: lx.out(traceback.print_exc()) errors += 1 try: lx.eval("tagger.selectAllByPart p4") except: lx.out(traceback.print_exc()) errors += 1 lx.eval("select.drop polygon") try: lx.eval("tagger.pTagQuickSelectPopup pick hoopSet") except: lx.out(traceback.print_exc()) errors += 1 try: lx.eval("tagger.setMaterial_existing_Popup {material:m3}") except: lx.out(traceback.print_exc()) errors += 1 try: lx.eval("tagger.setMaterial_existing_Popup {material:m1}") except: lx.out(traceback.print_exc()) errors += 1 try: lx.eval("tagger.setMaterial_autoQuick /Users/adam/Desktop/kits/mecco_dara/Kits/mecco_Tagger/basics/matte.lxp") except: lx.out(traceback.print_exc()) errors += 1 try: lx.eval("tagger.pTagSet material test flood") except: lx.out(traceback.print_exc()) errors += 1 try: lx.eval("tagger.pTagConvert material pick") except: lx.out(traceback.print_exc()) errors += 1 lx.eval("select.drop polygon") try: lx.eval("tagger.setMaterial_pTagIslands test material") except: lx.out(traceback.print_exc()) errors += 1 try: lx.eval("tagger.shaderTree_cleanup true true") except: lx.out(traceback.print_exc()) errors += 1 try: lx.eval("tagger.pTagQuickSelectPopup pick seedSel") except: lx.out(traceback.print_exc()) errors += 1 try: lx.eval("tagger.floodSelectMaterial") except: lx.out(traceback.print_exc()) errors += 1 try: lx.eval("tagger.pTagSet pick great flood") except: lx.out(traceback.print_exc()) errors += 1 try: lx.eval("tagger.setMaterial_pTagRemove") except: lx.out(traceback.print_exc()) errors += 1 lx.eval("select.drop polygon") try: lx.eval("tagger.shaderTree_maskUnmasked material") except: lx.out(traceback.print_exc()) errors += 1 try: lx.eval("tagger.pTagRemoveUnmasked material") except: lx.out(traceback.print_exc()) errors += 1 try: lx.eval("tagger.pTagRemoveAll material selected_items") except: lx.out(traceback.print_exc()) errors += 1 try: lx.eval("tagger.pTagRemoveAll material scene") except: lx.out(traceback.print_exc()) errors += 1 lx.eval('!scene.closeAll') open_scene('testScene') if not errors: lx.out("Found zero errors. Well done, you. Be sure to check the UI buttons.") else: lx.out("Found %s errors. Get to work." % errors)
17.967871
138
0.682387
600
4,474
5.003333
0.2
0.08994
0.086942
0.144903
0.738841
0.728514
0.703198
0.680546
0.680546
0.680546
0
0.010543
0.173223
4,474
248
139
18.040323
0.801027
0.001341
0
0.794118
0
0.011765
0.381688
0.186702
0
0
0
0
0
1
0.005882
false
0
0.005882
0
0.011765
0.170588
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
8b10cbe0c5d5e22238c83238f9528cd13146315d
97
py
Python
advertising/apps.py
franciscobarrerarodriguez/redzza
69dfc983a6e34a2882cc58df5ea4dd7f4bbc2578
[ "Apache-2.0" ]
3
2019-10-30T07:15:59.000Z
2021-12-26T20:59:05.000Z
advertising/apps.py
franciscobarrerarodriguez/redzza
69dfc983a6e34a2882cc58df5ea4dd7f4bbc2578
[ "Apache-2.0" ]
322
2019-10-30T07:12:36.000Z
2022-02-10T10:55:32.000Z
advertising/apps.py
franciscobarrerarodriguez/redzza
69dfc983a6e34a2882cc58df5ea4dd7f4bbc2578
[ "Apache-2.0" ]
7
2019-10-30T13:34:54.000Z
2021-12-27T12:08:07.000Z
from django.apps import AppConfig class AdvertisingConfig(AppConfig): name = 'advertising'
16.166667
35
0.773196
10
97
7.5
0.9
0
0
0
0
0
0
0
0
0
0
0
0.154639
97
5
36
19.4
0.914634
0
0
0
0
0
0.113402
0
0
0
0
0
0
1
0
false
0
0.333333
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
0
0
1
0
1
0
0
4
8b2769777675d092fe54bd01ffb5612df322fba1
145
py
Python
ifigures/__init__.py
nikolasibalic/InteractivePublishing
9266a0c1a50744454c08f1f0c92b7b10d9d20c6f
[ "BSD-3-Clause" ]
8
2019-03-18T09:18:01.000Z
2022-03-28T09:03:07.000Z
ifigures/__init__.py
nikolasibalic/InteractivePublishing
9266a0c1a50744454c08f1f0c92b7b10d9d20c6f
[ "BSD-3-Clause" ]
null
null
null
ifigures/__init__.py
nikolasibalic/InteractivePublishing
9266a0c1a50744454c08f1f0c92b7b10d9d20c6f
[ "BSD-3-Clause" ]
1
2021-08-29T03:34:54.000Z
2021-08-29T03:34:54.000Z
__version__ = "1.1.0" from .interact import InteractiveFigure from .widgets import RadioWidget, RangeWidget, RangeWidgetViridis, DropDownWidget
29
81
0.827586
15
145
7.733333
0.8
0
0
0
0
0
0
0
0
0
0
0.023077
0.103448
145
4
82
36.25
0.869231
0
0
0
0
0
0.034483
0
0
0
0
0
0
1
0
false
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
0
0
1
0
1
0
0
4
8b2a34469adf02f24cc81b9757c0466c6709934d
196
py
Python
Z_ALL_FILE/Py1/xxtest.py
omikabir/omEngin
b8c04a5c2c12ffc3d0b67c2ceba9e5741d3f9195
[ "Apache-2.0" ]
null
null
null
Z_ALL_FILE/Py1/xxtest.py
omikabir/omEngin
b8c04a5c2c12ffc3d0b67c2ceba9e5741d3f9195
[ "Apache-2.0" ]
null
null
null
Z_ALL_FILE/Py1/xxtest.py
omikabir/omEngin
b8c04a5c2c12ffc3d0b67c2ceba9e5741d3f9195
[ "Apache-2.0" ]
1
2021-04-29T21:46:02.000Z
2021-04-29T21:46:02.000Z
import pandas as pd import cx_Oracle, pyodbc, requests, os, time from mysql import * from sqlalchemy import create_engine import OmSQ.omsqlfn as fn import OmSQ.InsUpd as fni from datetime import *
28
44
0.811224
32
196
4.90625
0.65625
0.127389
0
0
0
0
0
0
0
0
0
0
0.147959
196
7
45
28
0.94012
0
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
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
8b30377cd11927607d4423cf1dab058875b3ce6d
72
py
Python
falcon_web_demo/wsgi.py
wileykestner/falcon-sqlalchemy-demo
a1c8bdf212bafc4b577dbebab57753d724871572
[ "MIT" ]
41
2016-10-21T04:08:05.000Z
2020-11-27T22:07:18.000Z
falcon_web_demo/wsgi.py
wileykestner/falcon-sqlalchemy-demo
a1c8bdf212bafc4b577dbebab57753d724871572
[ "MIT" ]
null
null
null
falcon_web_demo/wsgi.py
wileykestner/falcon-sqlalchemy-demo
a1c8bdf212bafc4b577dbebab57753d724871572
[ "MIT" ]
8
2017-12-19T21:56:49.000Z
2022-01-30T12:29:05.000Z
from falcon_web_demo.application_routes import get_app app = get_app()
18
54
0.833333
12
72
4.583333
0.75
0.218182
0
0
0
0
0
0
0
0
0
0
0.111111
72
3
55
24
0.859375
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
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
4
8c6a10700463a414c46ffa53457475b054093d5d
110
py
Python
iam_permissions_guardrails/constructs/service_control_policies/__init__.py
lulukelu/aws-iam-permissions-guardrails
cae485e3d8589c85f55c50c442ce47916345e00d
[ "Apache-2.0" ]
88
2020-04-02T02:56:27.000Z
2022-03-18T13:22:02.000Z
iam_permissions_guardrails/constructs/service_control_policies/__init__.py
lulukelu/aws-iam-permissions-guardrails
cae485e3d8589c85f55c50c442ce47916345e00d
[ "Apache-2.0" ]
45
2020-06-26T11:11:28.000Z
2021-08-17T15:31:47.000Z
iam_permissions_guardrails/constructs/service_control_policies/__init__.py
lulukelu/aws-iam-permissions-guardrails
cae485e3d8589c85f55c50c442ce47916345e00d
[ "Apache-2.0" ]
32
2020-04-02T02:56:28.000Z
2021-12-20T18:53:04.000Z
from .scp_policy_resource import ScpPolicyResource from .scp_attachment_resource import ScpAttachmentResource
36.666667
58
0.909091
12
110
8
0.666667
0.145833
0
0
0
0
0
0
0
0
0
0
0.072727
110
2
59
55
0.941176
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
0
0
0
4
8ca8f2d002f4a65de7e8b16628f7e599ba9d026d
3,990
py
Python
webapp/graphite/hypertable_client.py
fthzkrtn/graphite
bc9788fb771a6a9c5bb14cd352be402e3a791a2c
[ "Apache-2.0" ]
1
2015-04-09T19:05:51.000Z
2015-04-09T19:05:51.000Z
webapp/graphite/hypertable_client.py
foursquare/graphite
bd9a1ff71c76f109cc9bf6232378f8ce17108445
[ "Apache-2.0" ]
1
2021-06-10T23:34:32.000Z
2021-06-10T23:34:32.000Z
webapp/graphite/hypertable_client.py
fthzkrtn/graphite
bc9788fb771a6a9c5bb14cd352be402e3a791a2c
[ "Apache-2.0" ]
null
null
null
from __future__ import with_statement from django.conf import settings from graphite.logger import log import hypertable.thriftclient import libHyperPython import threading import re import time def removePrefix(path): if hasattr(settings, 'HYPERTABLE_PREFIX') and settings.HYPERTABLE_PREFIX: return re.sub('^%s\.' % settings.HYPERTABLE_PREFIX, '', path) else: return path def addPrefix(path): if hasattr(settings, 'HYPERTABLE_PREFIX') and settings.HYPERTABLE_PREFIX: return '%s.%s' % (settings.HYPERTABLE_PREFIX, path) else: return path class ConnectionPool: def makeClient(self): (host, port) = settings.HYPERTABLE_SERVER.split(':') return hypertable.thriftclient.ThriftClient(host, int(port)) def __init__(self, count): self.freeClients = [self.makeClient() for x in range(0, count)] self.semaphore = threading.BoundedSemaphore(count) self.lock = threading.Lock() def getConn(self): with self.lock: return self.freeClients.pop() def releaseConn(self, conn): with self.lock: return self.freeClients.append(conn) def doScanAsArrays(self, spec, table, cb): with self.semaphore: start = time.time() conn = self.getConn() namespace = conn.namespace_open('monitor') scanner = conn.scanner_open(namespace, table, spec) while True: row_data = conn.scanner_get_cells_as_arrays(scanner) if(len(row_data) == 0): break for key, family, column, val, ts in row_data: cb(key, family, column, val, ts) conn.close_scanner(scanner) self.releaseConn(conn) log.info(spec) log.info('scan-arrays-fetch time: %s' % (time.time() - start)) def doScan(self, spec, table, cb): with self.semaphore: start = time.time() conn = self.getConn() namespace = conn.namespace_open('monitor') scanner = conn.scanner_open(namespace, table, spec) while True: buf = conn.scanner_get_cells_serialized(scanner) scr = libHyperPython.SerializedCellsReader(buf, len(buf)) any_rows = False while scr.has_next(): any_rows = True cb( scr.row(), scr.column_family(), scr.column_qualifier(), scr.value()[0:scr.value_len()], scr.timestamp()) if not any_rows: break conn.close_scanner(scanner) self.releaseConn(conn) log.info(spec) log.info('scan-fetch time: %s' % (time.time() - start)) def doQueryAsArrays(self, query, cb): with self.semaphore: start = time.time() conn = self.getConn() namespace = conn.namespace_open('monitor') results = conn.hql_exec2(namespace, query, 0, 1) while True: row_data = conn.scanner_get_cells_as_arrays(results.scanner) if(len(row_data) == 0): break for key, family, column, val, ts in row_data: cb(key, family, column, val, ts) conn.close_scanner(results.scanner) self.releaseConn(conn) log.info(query) log.info('query-fetch time: %s' % (time.time() - start)) def doQuery(self, query, cb): with self.semaphore: start = time.time() conn = self.getConn() namespace = conn.namespace_open('monitor') results = conn.hql_exec2(namespace, query, 0, 1) while True: buf = conn.scanner_get_cells_serialized(results.scanner) scr = libHyperPython.SerializedCellsReader(buf, len(buf)) any_rows = False while scr.has_next(): any_rows = True cb( scr.row(), scr.column_family(), scr.column_qualifier(), scr.value()[0:scr.value_len()], scr.timestamp()) if not any_rows: break conn.close_scanner(results.scanner) self.releaseConn(conn) log.info(query) log.info('query-fetch time: %s' % (time.time() - start)) HyperTablePool = ConnectionPool(20)
30
75
0.632832
484
3,990
5.088843
0.216942
0.025985
0.058465
0.030857
0.759643
0.759643
0.732846
0.710516
0.649614
0.649614
0
0.004342
0.249624
3,990
132
76
30.227273
0.818303
0
0
0.684685
0
0
0.039599
0
0
0
0
0
0
1
0.09009
false
0
0.072072
0
0.234234
0
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
0
0
0
0
0
0
0
0
0
4
8cb09aa2f7df1275918ad2387cb63f98fe59bb96
315
py
Python
pipe/tools/nuketools/nukeutils/utils.py
htinney/byupipe
7b95270caf4c1834552f53d5073db50fb5162aef
[ "Apache-2.0" ]
5
2019-04-20T19:49:55.000Z
2021-02-18T00:17:20.000Z
pipe/tools/nuketools/nukeutils/utils.py
htinney/byupipe
7b95270caf4c1834552f53d5073db50fb5162aef
[ "Apache-2.0" ]
133
2019-06-19T02:56:05.000Z
2020-09-21T23:16:22.000Z
pipe/tools/nuketools/nukeutils/utils.py
htinney/byupipe
7b95270caf4c1834552f53d5073db50fb5162aef
[ "Apache-2.0" ]
5
2019-08-22T03:14:11.000Z
2021-02-18T00:17:57.000Z
try: from PySide import QtCore from PySide import QtGui except: from PySide2 import QtCore from PySide2 import QtGui from PySide2 import QtWidgets def get_main_window(): try: return QtGui.QApplication.activeWindow() except: return QtWidgets.QApplication.activeWindow()
21
52
0.711111
36
315
6.166667
0.444444
0.148649
0.22973
0
0
0
0
0
0
0
0
0.012552
0.24127
315
14
53
22.5
0.916318
0
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.083333
true
0
0.416667
0
0.666667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
8cd89fe514cd3bfb3ebf42cf9ec5304503016110
581
py
Python
Download/login_automatico.py
Leonei1006/Login-Automatico
b55b92bfd9c80e5a0c8e433e2739b0c7cc5f5cc9
[ "MIT" ]
1
2022-01-21T19:19:53.000Z
2022-01-21T19:19:53.000Z
Download/login_automatico.py
Leonei1006/Login-Automatico
b55b92bfd9c80e5a0c8e433e2739b0c7cc5f5cc9
[ "MIT" ]
null
null
null
Download/login_automatico.py
Leonei1006/Login-Automatico
b55b92bfd9c80e5a0c8e433e2739b0c7cc5f5cc9
[ "MIT" ]
null
null
null
from selenium import webdriver navegador = webdriver.Chrome() navegador.get("https://www.amazon.com.br/") navegador.find_element_by_xpath('//*[@id="nav-link-accountList-nav-line-1"]').click() navegador.find_element_by_xpath('//*[@id="ap_email"]').send_keys('xxxxxxxxxxxxxx@xxxxxxx') navegador.find_element_by_xpath('//*[@id="continue"]').click() navegador.find_element_by_xpath('//*[@id="ap_password"]').send_keys('xxxxxxxxx') navegador.find_element_by_xpath('//*[@id="signInSubmit"]').click() navegador.find_element_by_xpath('//*[@id="ap-account-fixup-phone-skip-link"]').click()
58.1
90
0.746988
79
581
5.21519
0.468354
0.18932
0.291262
0.320388
0.473301
0.473301
0.262136
0.262136
0
0
0
0.001764
0.024096
581
9
91
64.555556
0.724868
0
0
0
0
0
0.387263
0.261618
0
0
0
0
0
1
0
false
0.111111
0.111111
0
0.111111
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
1
0
0
0
0
0
4
5071089043f6a9202f69d725950d3f363dcc7321
120
py
Python
generic_links/apps.py
johnbaldwin/django-generic-links
02b45b6b010132f6f7e33f1e1e2260619fb1c5c3
[ "BSD-3-Clause" ]
8
2015-04-11T15:53:22.000Z
2020-01-07T06:14:16.000Z
generic_links/apps.py
johnbaldwin/django-generic-links
02b45b6b010132f6f7e33f1e1e2260619fb1c5c3
[ "BSD-3-Clause" ]
6
2015-06-12T16:17:17.000Z
2022-03-01T02:08:13.000Z
generic_links/apps.py
johnbaldwin/django-generic-links
02b45b6b010132f6f7e33f1e1e2260619fb1c5c3
[ "BSD-3-Clause" ]
6
2015-06-11T13:36:09.000Z
2021-04-24T15:35:36.000Z
# -*- coding: utf-8 from django.apps import AppConfig class GenericLinksConfig(AppConfig): name = 'generic_links'
17.142857
36
0.733333
14
120
6.214286
0.928571
0
0
0
0
0
0
0
0
0
0
0.009901
0.158333
120
6
37
20
0.851485
0.141667
0
0
0
0
0.128713
0
0
0
0
0
0
1
0
false
0
0.333333
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
0
0
1
0
1
0
0
4
5092b8068b3b4409ffed39e8d1b7242ab8a85d61
103
py
Python
budget/when/__init__.py
cbosoft/budget.py
9d77631333e9a19b10cd50b94ebfd96772c33474
[ "MIT" ]
null
null
null
budget/when/__init__.py
cbosoft/budget.py
9d77631333e9a19b10cd50b94ebfd96772c33474
[ "MIT" ]
null
null
null
budget/when/__init__.py
cbosoft/budget.py
9d77631333e9a19b10cd50b94ebfd96772c33474
[ "MIT" ]
null
null
null
from .once import Once from .monthly import Monthly from .weekly import Weekly from .daily import Daily
25.75
28
0.815534
16
103
5.25
0.375
0
0
0
0
0
0
0
0
0
0
0
0.145631
103
4
29
25.75
0.954545
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
0
0
0
4
5098a31f6dcc28908a5e6237861e53a2f0791520
96
py
Python
Forms/API/is_bound/forms.py
looking-for-a-job/django-examples
dfafa450668cac5c0351f6c7238b8886511229bf
[ "Unlicense" ]
null
null
null
Forms/API/is_bound/forms.py
looking-for-a-job/django-examples
dfafa450668cac5c0351f6c7238b8886511229bf
[ "Unlicense" ]
null
null
null
Forms/API/is_bound/forms.py
looking-for-a-job/django-examples
dfafa450668cac5c0351f6c7238b8886511229bf
[ "Unlicense" ]
null
null
null
from django import forms class MyForm(forms.Form): title = forms.CharField(max_length=100)
19.2
43
0.760417
14
96
5.142857
0.857143
0
0
0
0
0
0
0
0
0
0
0.036585
0.145833
96
4
44
24
0.841463
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
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
0
0
1
0
1
0
0
4
50a52c8cf911cde6b19529abfe781637e0f28069
638
py
Python
emmascrumy/migrations/0002_auto_20180420_0401.py
emmaadesile/django-emmaadesilescrumy
21b2985846f196d3607946d93bc64caa39f33178
[ "BSD-2-Clause" ]
null
null
null
emmascrumy/migrations/0002_auto_20180420_0401.py
emmaadesile/django-emmaadesilescrumy
21b2985846f196d3607946d93bc64caa39f33178
[ "BSD-2-Clause" ]
null
null
null
emmascrumy/migrations/0002_auto_20180420_0401.py
emmaadesile/django-emmaadesilescrumy
21b2985846f196d3607946d93bc64caa39f33178
[ "BSD-2-Clause" ]
null
null
null
# Generated by Django 2.0.4 on 2018-04-20 03:01 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('emmascrumy', '0001_initial'), ] operations = [ migrations.AlterModelOptions( name='goalstatus', options={'verbose_name_plural': 'ScrumyStatus'}, ), migrations.AlterModelOptions( name='scrumygoals', options={'verbose_name_plural': 'ScrumyGoals'}, ), migrations.AlterModelOptions( name='scrumyuser', options={'verbose_name_plural': 'ScrumyUser'}, ), ]
24.538462
60
0.586207
53
638
6.924528
0.603774
0.220708
0.253406
0.196185
0
0
0
0
0
0
0
0.042222
0.294671
638
25
61
25.52
0.773333
0.070533
0
0.315789
1
0
0.241963
0
0
0
0
0
0
1
0
false
0
0.052632
0
0.210526
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
50add3fc30c9362a914996ade697e1cd0650bcd8
566
py
Python
Django/project3/languages/serializers.py
aadhityasw/Playground
ec6995edf26bcaf28053f912ee9b4b770585d449
[ "MIT" ]
null
null
null
Django/project3/languages/serializers.py
aadhityasw/Playground
ec6995edf26bcaf28053f912ee9b4b770585d449
[ "MIT" ]
null
null
null
Django/project3/languages/serializers.py
aadhityasw/Playground
ec6995edf26bcaf28053f912ee9b4b770585d449
[ "MIT" ]
null
null
null
from rest_framework import serializers from .models import Language, Paradgim, Programmer class LanguageSerializer(serializers.HyperlinkedModelSerializer) : class Meta : model = Language fields = ('id', 'url', 'name', 'paradgim') class ParadgimSerializer(serializers.HyperlinkedModelSerializer) : class Meta : model = Paradgim fields = ('id', 'url', 'name') class ProgrammerSerializer(serializers.HyperlinkedModelSerializer) : class Meta : model = Programmer fields = ('id', 'url', 'name', 'languages')
33.294118
68
0.687279
49
566
7.918367
0.428571
0.286082
0.324742
0.35567
0.39433
0
0
0
0
0
0
0
0.206714
566
17
69
33.294118
0.864143
0
0
0.214286
0
0
0.077601
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.571429
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
0
0
0
1
0
0
4
50bcebed5095794e02f3a8f4c8747bdd9105269c
1,218
py
Python
pyNastran/converters/test_formats.py
ACea15/pyNastran
5ffc37d784b52c882ea207f832bceb6b5eb0e6d4
[ "BSD-3-Clause" ]
293
2015-03-22T20:22:01.000Z
2022-03-14T20:28:24.000Z
pyNastran/converters/test_formats.py
ACea15/pyNastran
5ffc37d784b52c882ea207f832bceb6b5eb0e6d4
[ "BSD-3-Clause" ]
512
2015-03-14T18:39:27.000Z
2022-03-31T16:15:43.000Z
pyNastran/converters/test_formats.py
ACea15/pyNastran
5ffc37d784b52c882ea207f832bceb6b5eb0e6d4
[ "BSD-3-Clause" ]
136
2015-03-19T03:26:06.000Z
2022-03-25T22:14:54.000Z
import unittest from pyNastran.converters.nastran.test_nastran import TestNastran from pyNastran.converters.cart3d.test_cart3d import TestCart3d from pyNastran.converters.fast.test_fast import TestFast from pyNastran.converters.openfoam.test_openfoam import TestOpenFOAM from pyNastran.converters.panair.test_panair import TestPanair from pyNastran.converters.stl.test_stl import TestSTL from pyNastran.converters.tecplot.test_tecplot import TestTecplot from pyNastran.converters.abaqus.test_unit_abaqus import TestAbaqus from pyNastran.converters.su2.test_su2 import TestSU2 from pyNastran.converters.shabp.test_shabp import TestShabp from pyNastran.converters.usm3d.test_usm3d import TestUsm3d from pyNastran.converters.aflr.aflr2.test_bedge import TestBEdge from pyNastran.converters.aflr.ugrid.test_ugrid import TestUgrid #try: from pyNastran.converters.dev.avus.test_avus import TestAvus #except ImportError: # pragma: no cover #pass try: from pyNastran.converters.dev.code_aster.test_code_aster import TestCodeAster from pyNastran.converters.dev.vrml.test_vrml import TestVrml except ImportError: # pragma: no cover pass if __name__ == '__main__': # pragma: no cover unittest.main()
38.0625
81
0.840722
160
1,218
6.23125
0.33125
0.208626
0.369107
0.078235
0.126379
0.068205
0
0
0
0
0
0.009107
0.098522
1,218
31
82
39.290323
0.898907
0.065681
0
0
0
0
0.007067
0
0
0
0
0
0
1
0
true
0.045455
0.818182
0
0.818182
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
0
0
0
4
50d6e0909506bed2308423c8bd8af21b08e40baf
585
py
Python
conformal_predictors/nc_measures/__init__.py
SergioGonzalezSanz/conformal_predictors
80325f56145d0bb8d359db6191654690b6b4b8cc
[ "MIT" ]
null
null
null
conformal_predictors/nc_measures/__init__.py
SergioGonzalezSanz/conformal_predictors
80325f56145d0bb8d359db6191654690b6b4b8cc
[ "MIT" ]
null
null
null
conformal_predictors/nc_measures/__init__.py
SergioGonzalezSanz/conformal_predictors
80325f56145d0bb8d359db6191654690b6b4b8cc
[ "MIT" ]
null
null
null
class NCMeasure: """ This abstract class defines the behaviour of a nonconformity measure """ from abc import ABCMeta, abstractmethod __metaclass__ = ABCMeta def __init__(self): return None @abstractmethod def evaluate(self, clf, x) -> float: """ Method that computes the evaluation of the nonconformity measure. :param clf: classifier :param x: values to be evaluated, shape (n_samples, n_features) :return: nonconformity measures of x, shape (n_samples, n_classes) """ pass
24.375
74
0.632479
65
585
5.507692
0.661538
0.111732
0.072626
0.078212
0
0
0
0
0
0
0
0
0.297436
585
23
75
25.434783
0.871046
0.494017
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0.125
0.125
0.125
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
4
50d83f3957b840677e8aa924c68ff81f09401bb9
154
py
Python
python/testData/intentions/replaceListComprehensionWithFor.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/intentions/replaceListComprehensionWithFor.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/intentions/replaceListComprehensionWithFor.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
a = 2 smth = [x+y+z for x in xrange(10) if x != 2 if x != 5 for y in xrange(12) if y != 1 if y != 4 for z in xrange(14) if z != 3 <caret>if z != 8] a = 5
38.5
141
0.532468
42
154
1.952381
0.452381
0.292683
0
0
0
0
0
0
0
0
0
0.12844
0.292208
154
4
142
38.5
0.623853
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
1
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
1
0
0
0
0
0
0
0
0
4
50f2277c6bacb10188ad468f78fa13b39bbecfb6
62
py
Python
pyfiles/urls.py
mosalaheg/Git-course-from-elzero
033608a21b65442316f99ee9e664c60a04c0e4c8
[ "MIT" ]
null
null
null
pyfiles/urls.py
mosalaheg/Git-course-from-elzero
033608a21b65442316f99ee9e664c60a04c0e4c8
[ "MIT" ]
null
null
null
pyfiles/urls.py
mosalaheg/Git-course-from-elzero
033608a21b65442316f99ee9e664c60a04c0e4c8
[ "MIT" ]
null
null
null
version = 2.0 if version == 2.0: print("Version is valid")
20.666667
29
0.629032
11
62
3.545455
0.636364
0.410256
0.461538
0
0
0
0
0
0
0
0
0.081633
0.209677
62
3
29
20.666667
0.714286
0
0
0
0
0
0.253968
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
0fab57a550c9307dd422c2c48ae56e3954d72e09
277
py
Python
2020/day_09/test_day09.py
d02d33pak/Advent-Of-Code
765b0302c256ad61864095a537a3f6379901b1c2
[ "MIT" ]
null
null
null
2020/day_09/test_day09.py
d02d33pak/Advent-Of-Code
765b0302c256ad61864095a537a3f6379901b1c2
[ "MIT" ]
null
null
null
2020/day_09/test_day09.py
d02d33pak/Advent-Of-Code
765b0302c256ad61864095a537a3f6379901b1c2
[ "MIT" ]
null
null
null
""" Tests for Day 09 """ from day09 import parse_input, part1, part2 def test_part1(): """ Test part one """ assert part1(parse_input("test_input.txt"), 5) == 127 def test_part2(): """ Test part two """ assert part2(parse_input("test_input.txt"), 5) == 62
17.3125
57
0.628159
41
277
4.073171
0.512195
0.179641
0.167665
0.227545
0.275449
0.275449
0
0
0
0
0
0.077273
0.205776
277
15
58
18.466667
0.681818
0.166065
0
0
0
0
0.132701
0
0
0
0
0
0.4
1
0.4
true
0
0.2
0
0.6
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
0
0
1
0
0
4
0fbbd1883b77210c8e51b9a4751da2286460cbad
56
py
Python
lbforaging/foraging/__init__.py
LukasSchaefer/lb-foraging
11e9b2346713695192d247b97094ad5f1e7dd480
[ "MIT" ]
30
2019-04-26T11:50:34.000Z
2022-03-18T20:38:38.000Z
lbforaging/foraging/__init__.py
LukasSchaefer/lb-foraging
11e9b2346713695192d247b97094ad5f1e7dd480
[ "MIT" ]
11
2021-10-15T13:01:16.000Z
2022-03-26T01:25:06.000Z
lbforaging/foraging/__init__.py
LukasSchaefer/lb-foraging
11e9b2346713695192d247b97094ad5f1e7dd480
[ "MIT" ]
10
2020-06-11T09:18:47.000Z
2022-03-11T02:45:56.000Z
from lbforaging.foraging.environment import ForagingEnv
28
55
0.892857
6
56
8.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.071429
56
1
56
56
0.961538
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
0
0
0
4
0fc2f195f483f5e7657f7909ff3b9f7b5fa4ce74
79
py
Python
assets/code/pyds/pyds/error.py
atanx/blog
6053ac97b822c9f5754f13df3b9e00cb25f35097
[ "MIT" ]
null
null
null
assets/code/pyds/pyds/error.py
atanx/blog
6053ac97b822c9f5754f13df3b9e00cb25f35097
[ "MIT" ]
null
null
null
assets/code/pyds/pyds/error.py
atanx/blog
6053ac97b822c9f5754f13df3b9e00cb25f35097
[ "MIT" ]
null
null
null
#!/usr/bin/env python #coding=utf-8 class EmptyError(Exception): pass
11.285714
29
0.670886
11
79
4.818182
1
0
0
0
0
0
0
0
0
0
0
0.015625
0.189873
79
6
30
13.166667
0.8125
0.405063
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
4
0fc7ca3072c0b49b279cc813f62c1f57b4cb9ae3
104
py
Python
py_tdlib/constructors/message_website_connected.py
Mr-TelegramBot/python-tdlib
2e2d21a742ebcd439971a32357f2d0abd0ce61eb
[ "MIT" ]
24
2018-10-05T13:04:30.000Z
2020-05-12T08:45:34.000Z
py_tdlib/constructors/message_website_connected.py
MrMahdi313/python-tdlib
2e2d21a742ebcd439971a32357f2d0abd0ce61eb
[ "MIT" ]
3
2019-06-26T07:20:20.000Z
2021-05-24T13:06:56.000Z
py_tdlib/constructors/message_website_connected.py
MrMahdi313/python-tdlib
2e2d21a742ebcd439971a32357f2d0abd0ce61eb
[ "MIT" ]
5
2018-10-05T14:29:28.000Z
2020-08-11T15:04:10.000Z
from ..factory import Type class messageWebsiteConnected(Type): domain_name = None # type: "string"
17.333333
37
0.75
12
104
6.416667
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.153846
104
5
38
20.8
0.875
0.134615
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
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
0
0
1
0
1
0
0
4
0fda2be762830ab36695ab385b35c4d513767c62
1,786
py
Python
tests/wasp1/AllAnswerSets/Strategic_companies.test.py
bernardocuteri/wasp
05c8f961776dbdbf7afbf905ee00fc262eba51ad
[ "Apache-2.0" ]
19
2015-12-03T08:53:45.000Z
2022-03-31T02:09:43.000Z
tests/wasp1/AllAnswerSets/Strategic_companies.test.py
bernardocuteri/wasp
05c8f961776dbdbf7afbf905ee00fc262eba51ad
[ "Apache-2.0" ]
80
2017-11-25T07:57:32.000Z
2018-06-10T19:03:30.000Z
tests/wasp1/AllAnswerSets/Strategic_companies.test.py
bernardocuteri/wasp
05c8f961776dbdbf7afbf905ee00fc262eba51ad
[ "Apache-2.0" ]
6
2015-01-15T07:51:48.000Z
2020-06-18T14:47:48.000Z
input = """ % Strategic Companies % % As we want to produce X, Y or Z must be strategic. strategic(Y) v strategic(Z) :- produced_by(X,Y,Z). % W is strategic, if it is controlled by strategic % companies X, Y, and Z strategic(W) :- controlled_by(W,X,Y,Z), Strategic(X), Strategic(Y), Strategic(Z). % Handle special 0 symbol :- strategic(0). Strategic(X) :- strategic(X). Strategic(0) :- true. true. produced_by(pasta , barilla ,saiwa). produced_by(tomatoes, frutto ,barilla). produced_by(wine , barilla ,0). produced_by(bread , saiwa ,panino). produced_by(beer , heineken,budweiser). controlled_by(frutto , barilla ,saiwa,0). controlled_by(budweiser, heineken ,0 ,0). controlled_by(heineken , saiwa ,0 ,0). %controlled_by(saiwa , budweiser,0 ,0). """ output = """ {Strategic(0), Strategic(barilla), Strategic(budweiser), Strategic(frutto), Strategic(heineken), Strategic(saiwa), controlled_by(budweiser,heineken,0,0), controlled_by(frutto,barilla,saiwa,0), controlled_by(heineken,saiwa,0,0), produced_by(beer,heineken,budweiser), produced_by(bread,saiwa,panino), produced_by(pasta,barilla,saiwa), produced_by(tomatoes,frutto,barilla), produced_by(wine,barilla,0), strategic(barilla), strategic(budweiser), strategic(frutto), strategic(heineken), strategic(saiwa), true} {Strategic(0), Strategic(barilla), Strategic(budweiser), Strategic(panino), controlled_by(budweiser,heineken,0,0), controlled_by(frutto,barilla,saiwa,0), controlled_by(heineken,saiwa,0,0), produced_by(beer,heineken,budweiser), produced_by(bread,saiwa,panino), produced_by(pasta,barilla,saiwa), produced_by(tomatoes,frutto,barilla), produced_by(wine,barilla,0), strategic(barilla), strategic(budweiser), strategic(panino), true} """
49.611111
505
0.726204
241
1,786
5.26971
0.165975
0.125984
0.071654
0.044094
0.752756
0.73622
0.73622
0.637795
0.579528
0.579528
0
0.015985
0.1243
1,786
35
506
51.028571
0.796036
0
0
0.071429
0
0.071429
0.982083
0.407615
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
0fe0854cd2861cc095c65c5dcdeaf1242a11b317
59
py
Python
thing2/thing2.py
GUXIANFEI/testrepo
df9ee5c80322ae57c08dc1f49a100ed2d33442e1
[ "MIT" ]
null
null
null
thing2/thing2.py
GUXIANFEI/testrepo
df9ee5c80322ae57c08dc1f49a100ed2d33442e1
[ "MIT" ]
null
null
null
thing2/thing2.py
GUXIANFEI/testrepo
df9ee5c80322ae57c08dc1f49a100ed2d33442e1
[ "MIT" ]
null
null
null
print('I'm going to commit files for the second thing.')
14.75
56
0.711864
11
59
3.818182
1
0
0
0
0
0
0
0
0
0
0
0
0.186441
59
3
57
19.666667
0.875
0
0
0
0
0
0.017544
0
0
0
0
0
0
0
null
null
0
0
null
null
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
4
0fe6cdc8d54fd84e9c154c6d98afe09d052758d7
647
py
Python
etna/models/__init__.py
Carlosbogo/etna
b6210f0e79ee92aa9ae8ff4fcfb267be9fb7cc94
[ "Apache-2.0" ]
1
2021-11-11T21:18:42.000Z
2021-11-11T21:18:42.000Z
etna/models/__init__.py
Carlosbogo/etna
b6210f0e79ee92aa9ae8ff4fcfb267be9fb7cc94
[ "Apache-2.0" ]
null
null
null
etna/models/__init__.py
Carlosbogo/etna
b6210f0e79ee92aa9ae8ff4fcfb267be9fb7cc94
[ "Apache-2.0" ]
null
null
null
from etna import SETTINGS from etna.models.catboost import CatBoostModelMultiSegment from etna.models.catboost import CatBoostModelPerSegment from etna.models.linear import ElasticMultiSegmentModel from etna.models.linear import ElasticPerSegmentModel from etna.models.linear import LinearMultiSegmentModel from etna.models.linear import LinearPerSegmentModel from etna.models.moving_average import MovingAverageModel from etna.models.naive import NaiveModel from etna.models.sarimax import SARIMAXModel from etna.models.seasonal_ma import SeasonalMovingAverageModel if SETTINGS.prophet_required: from etna.models.prophet import ProphetModel
43.133333
62
0.877898
76
647
7.434211
0.355263
0.169912
0.272566
0.141593
0.283186
0
0
0
0
0
0
0
0.085008
647
14
63
46.214286
0.954392
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.923077
0
0.923077
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
ba2bab329f24164a61c3f933aaef38a7c7b73002
646
py
Python
applied_python/applied_python/lib/python2.7/site-packages/pylint/test/input/func_w0705.py
mith1979/ansible_automation
013dfa67c6d91720b787fadb21de574b6e023a26
[ "Apache-2.0" ]
35
2016-09-22T22:53:14.000Z
2020-02-13T15:12:21.000Z
sdks/python/.tox/lint/lib/python2.7/site-packages/pylint/test/input/func_w0705.py
axbaretto/presto
f137d2709db42b5c3e4d43a631832a8f74853065
[ "Apache-2.0" ]
28
2020-03-04T22:01:48.000Z
2022-03-12T00:59:47.000Z
sdks/python/.tox/lint/lib/python2.7/site-packages/pylint/test/input/func_w0705.py
axbaretto/presto
f137d2709db42b5c3e4d43a631832a8f74853065
[ "Apache-2.0" ]
88
2016-11-27T02:16:11.000Z
2020-02-28T05:10:26.000Z
"""test misordered except """ __revision__ = 1 try: __revision__ += 1 except Exception: __revision__ = 0 except TypeError: __revision__ = 0 try: __revision__ += 1 except LookupError: __revision__ = 0 except IndexError: __revision__ = 0 try: __revision__ += 1 except (LookupError, NameError): __revision__ = 0 except (IndexError, UnboundLocalError): __revision__ = 0 try: __revision__ += 1 except: pass except Exception: pass try: __revision__ += 1 except TypeError: __revision__ = 0 except: __revision__ = 0 try: __revision__ += 1 except Exception: pass except: pass
13.744681
39
0.671827
66
646
5.666667
0.212121
0.192513
0.192513
0.28877
0.44385
0.347594
0.203209
0
0
0
0
0.030928
0.249226
646
46
40
14.043478
0.740206
0.034056
0
0.864865
0
0
0
0
0
0
0
0
0
1
0
false
0.108108
0
0
0
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
4
e867559933f293ca14bf6ab1679d1433d9da29f5
237
py
Python
noct/schema/block/__init__.py
eternalharvest/noct
2ec4d11c5d21ed5e4146325b76bb1b8d6fd75de3
[ "Apache-2.0" ]
2
2020-05-03T04:54:03.000Z
2020-05-04T04:35:01.000Z
noct/schema/block/__init__.py
eternalharvest/noct
2ec4d11c5d21ed5e4146325b76bb1b8d6fd75de3
[ "Apache-2.0" ]
8
2020-04-30T04:47:09.000Z
2020-08-08T01:58:35.000Z
noct/schema/block/__init__.py
eternalharvest/noct
2ec4d11c5d21ed5e4146325b76bb1b8d6fd75de3
[ "Apache-2.0" ]
1
2020-04-30T04:45:35.000Z
2020-04-30T04:45:35.000Z
from noct.schema.block.divider import Divider from noct.schema.block.section import Section from noct.schema.block.field import Field from noct.schema.block.plain_text import PlainText __all__ = [ Divider, Section, Field, PlainText ]
23.7
50
0.810127
34
237
5.5
0.352941
0.171123
0.299465
0.406417
0
0
0
0
0
0
0
0
0.113924
237
9
51
26.333333
0.890476
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.571429
0
0.571429
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
0
0
0
4
e86c1f4f6dbbdacce40c80cd926be7c3f3c7d3af
273
py
Python
katas/kyu_5/rot_13.py
the-zebulan/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
40
2016-03-09T12:26:20.000Z
2022-03-23T08:44:51.000Z
katas/kyu_5/rot_13.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
null
null
null
katas/kyu_5/rot_13.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
36
2016-11-07T19:59:58.000Z
2022-03-31T11:18:27.000Z
import string # forced import by CodeWars kata from string import ascii_uppercase as up, ascii_lowercase as low, \ ascii_letters as az, maketrans ROT13 = maketrans(low[13:] + low[:13] + up[13:] + up[:13], az) def rot13(message): return message.translate(ROT13)
27.3
67
0.714286
41
273
4.682927
0.536585
0.052083
0.0625
0
0
0
0
0
0
0
0
0.062222
0.175824
273
9
68
30.333333
0.791111
0.10989
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0.166667
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
0
0
1
1
1
0
0
4
e87926fb890b18fc015e03fecb638a25de5fb9f6
806
py
Python
test/profile_med.py
iosonofabio/lshknn
6b149b67fd9346151d0f8e00e62c7ae459c6d025
[ "MIT" ]
13
2018-02-14T20:59:54.000Z
2021-04-03T07:21:47.000Z
test/profile_med.py
iosonofabio/lshknn
6b149b67fd9346151d0f8e00e62c7ae459c6d025
[ "MIT" ]
2
2018-03-28T20:52:41.000Z
2019-10-14T14:13:31.000Z
test/profile_med.py
iosonofabio/lshknn
6b149b67fd9346151d0f8e00e62c7ae459c6d025
[ "MIT" ]
2
2018-12-26T23:35:48.000Z
2021-07-19T08:00:32.000Z
import time import numpy as np import lshknn threshold = 0.2 k = 5 n_genes = 10000 n_cells = 2000 data = np.random.rand(n_genes, n_cells) t0 = time.time() c = lshknn.Lshknn( data=data, k=k, threshold=threshold, m=128, slice_length=None, ) knn, similarity, n_neighbors = c() t1 = time.time() print('No slicing time for a dataset of {:} genes and {:} cells: {:.2f} secs.'.format( n_genes, n_cells, t1 - t0), ) t0 = time.time() c = lshknn.Lshknn( data=data, k=k, threshold=threshold, m=128, slice_length=8, ) knn, similarity, n_neighbors = c() t1 = time.time() print('Slicing time for a dataset of {:} genes and {:} cells: {:.2f} secs.'.format( n_genes, n_cells, t1 - t0), )
17.911111
86
0.568238
116
806
3.844828
0.362069
0.053812
0.047085
0.080717
0.762332
0.762332
0.762332
0.762332
0.762332
0.587444
0
0.050967
0.294045
806
44
87
18.318182
0.732865
0
0
0.578947
0
0
0.169975
0
0
0
0
0
0
1
0
false
0
0.078947
0
0.078947
0.052632
0
0
0
null
0
0
0
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
e8925e42e2d7cc3ffd59f6e3dd6bebbd9d5b5506
78
py
Python
log.py
zvxr/facebook_test_user
f6e8fdba419ff21e05fce0aef124e8001fe09803
[ "MIT" ]
3
2018-04-07T04:24:15.000Z
2018-12-23T06:40:43.000Z
log.py
zvxr/facebook_test_user
f6e8fdba419ff21e05fce0aef124e8001fe09803
[ "MIT" ]
null
null
null
log.py
zvxr/facebook_test_user
f6e8fdba419ff21e05fce0aef124e8001fe09803
[ "MIT" ]
null
null
null
import logging LOG_LEVEL = logging.DEBUG logging.basicConfig(level=LOG_LEVEL)
19.5
36
0.846154
11
78
5.818182
0.545455
0.25
0
0
0
0
0
0
0
0
0
0
0.076923
78
4
36
19.5
0.888889
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
e8d71e6812e96e7a2bdc67bc8b221c9aba942a0b
303
py
Python
cdbot/__init__.py
fossabot/cyberdisc-bot
cd997a36cfb5c7a6f48d13d8177634dded1f189d
[ "MIT" ]
null
null
null
cdbot/__init__.py
fossabot/cyberdisc-bot
cd997a36cfb5c7a6f48d13d8177634dded1f189d
[ "MIT" ]
null
null
null
cdbot/__init__.py
fossabot/cyberdisc-bot
cd997a36cfb5c7a6f48d13d8177634dded1f189d
[ "MIT" ]
null
null
null
"""Initialise cdbot as a package for poetry.""" from os import environ import sentry_sdk from .bot import bot def main(): """Entry point for poetry script.""" if environ.get("SENTRY_URL") is not None: sentry_sdk.init(environ.get("SENTRY_URL")) bot.run(environ.get("BOT_TOKEN"))
20.2
50
0.683168
46
303
4.391304
0.608696
0.148515
0.158416
0.188119
0
0
0
0
0
0
0
0
0.184818
303
14
51
21.642857
0.817814
0.237624
0
0
0
0
0.131818
0
0
0
0
0
0
1
0.142857
true
0
0.428571
0
0.571429
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
0
1
0
1
0
0
4
2ce0e855d2ebb8e7ce392acc0159e4aef057df72
199
py
Python
glutil/__init__.py
Journera/glutil
aeb75974ae162456617334db4bd235c2101c8fd5
[ "BSD-3-Clause" ]
14
2019-06-19T20:14:38.000Z
2020-05-21T18:25:02.000Z
glutil/__init__.py
Journera/glutil
aeb75974ae162456617334db4bd235c2101c8fd5
[ "BSD-3-Clause" ]
2
2019-06-19T17:39:31.000Z
2019-10-29T18:24:20.000Z
glutil/__init__.py
Journera/glutil
aeb75974ae162456617334db4bd235c2101c8fd5
[ "BSD-3-Clause" ]
2
2019-10-04T04:33:06.000Z
2020-05-21T19:25:31.000Z
# flake8: noqa F401 from .partitioner import Partitioner, PartitionMap, Partition from .database_cleaner import DatabaseCleaner from .utils import GlutilError from .cli import Cli cli = Cli().main
22.111111
61
0.80402
25
199
6.36
0.6
0.075472
0
0
0
0
0
0
0
0
0
0.023256
0.135678
199
8
62
24.875
0.901163
0.085427
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.8
0
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
0
1
0
0
4
2cf1745c99b99efd4bafe4b0c3acf6eced480fcd
97
py
Python
setup.py
Bhumbra/DeepNodal
33afb2efa5e78ae6558ce60a36bb87c186c1f448
[ "BSD-3-Clause" ]
1
2019-01-06T09:49:42.000Z
2019-01-06T09:49:42.000Z
setup.py
Bhumbra/DeepNodal
33afb2efa5e78ae6558ce60a36bb87c186c1f448
[ "BSD-3-Clause" ]
3
2020-10-14T14:43:33.000Z
2022-02-09T23:46:40.000Z
setup.py
Bhumbra/DeepNodal
33afb2efa5e78ae6558ce60a36bb87c186c1f448
[ "BSD-3-Clause" ]
null
null
null
""" Module setup for DeepNodal """ from setuptools import setup setup(include_package_data=True)
24.25
34
0.793814
13
97
5.769231
0.846154
0
0
0
0
0
0
0
0
0
0
0
0.113402
97
3
35
32.333333
0.872093
0.268041
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
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
4
fa65b1b48eb02b5f31162ce1f22ba8644a8a5914
226
py
Python
commanderbot/ext/automod/__init__.py
CommanderBot-Dev/commanderbot-ext
c8798b4475b892c234a1e4ffbfb4fed3fb702938
[ "MIT" ]
4
2020-09-25T19:22:48.000Z
2021-06-16T18:08:49.000Z
commanderbot/ext/automod/__init__.py
CommanderBot-Dev/commanderbot-py
835841f733e466c5a0e6724d4020747c55856fe3
[ "MIT" ]
23
2021-08-30T04:07:29.000Z
2021-11-08T17:44:41.000Z
commanderbot/ext/automod/__init__.py
CommanderBot-Dev/commanderbot-py
835841f733e466c5a0e6724d4020747c55856fe3
[ "MIT" ]
3
2020-09-25T19:23:22.000Z
2021-03-16T18:19:48.000Z
from discord.ext.commands import Bot from commanderbot.ext.automod.automod_cog import AutomodCog from commanderbot.core.utils import add_configured_cog def setup(bot: Bot): add_configured_cog(bot, __name__, AutomodCog)
25.111111
59
0.823009
32
226
5.53125
0.53125
0.180791
0.180791
0
0
0
0
0
0
0
0
0
0.110619
226
8
60
28.25
0.880597
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.6
0
0.8
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
0
0
1
0
1
0
0
4
3afb2994bb3bb20bc9ba6f5a2bb0e8ae7dcb0885
15,401
py
Python
64.py
srisatyavinay/Covid-database_mysql
fe7e497c4cdaa3c302c23c5e5797339d403abdfd
[ "MIT" ]
null
null
null
64.py
srisatyavinay/Covid-database_mysql
fe7e497c4cdaa3c302c23c5e5797339d403abdfd
[ "MIT" ]
null
null
null
64.py
srisatyavinay/Covid-database_mysql
fe7e497c4cdaa3c302c23c5e5797339d403abdfd
[ "MIT" ]
null
null
null
import subprocess as sp import pymysql import pymysql.cursors from tabulate import tabulate def viewTable(rows): a = [] try: a.append(list(rows[0].keys())) except: print("\n-----------------\nEMPTY TABLE\n-----------------\n") return for row in rows: b = [] for k in row.keys(): b.append(row[k]) a.append(b) print(tabulate(a, tablefmt="psql", headers="firstrow")) print() return def listPeople(): query = "SELECT * FROM Person;" try: no_of_rows = cur.execute(query) except Exception as e: print(e) print("\n\nError: PLEASE TRY AGAIN WITH DIFFERENT DATA!\n") return rows = cur.fetchall() viewTable(rows) con.commit() # return def listVolunteers(): query = "SELECT * FROM Volunteer;" try: no_of_rows = cur.execute(query) except Exception as e: print(e) print("\n\nError: PLEASE TRY AGAIN WITH DIFFERENT DATA!\n") return rows = cur.fetchall() viewTable(rows) con.commit() # return return def listDependents(): try: a = int(input("Enter volunteer ID: ")) except Exception as e: print(e) print("\n\nError: PLEASE TRY AGAIN WITH DIFFERENT DATA!\n") return query = "SELECT Name FROM Dependents WHERE VID = %d;" % (a) try: no_of_rows = cur.execute(query) except Exception as e: print(e) print("\n\nError: PLEASE TRY AGAIN WITH DIFFERENT DATA!\n") return rows = cur.fetchall() viewTable(rows) con.commit() # return return def removeDependents(): try: a = int(input("Enter volunteer ID:")) except Exception as e: print(e) print("\n\nError: PLEASE TRY AGAIN WITH DIFFERENT DATA!\n") return b = input("Enter dependent name: ") query = "DELETE FROM Dependents WHERE VID=%d AND Name='%s'" % (a, b) try: cur.execute(query) con.commit() except Exception as e: print(e) print("\n\nError: PLEASE TRY AGAIN WITH DIFFERENT DATA!\n") return return def removeVolunteer(): try: a = int(input("Enter volunteer ID:")) except Exception as e: print(e) print("\n\nError: PLEASE TRY AGAIN WITH DIFFERENT DATA!\n") return # b = input("Enter dependent name: ") query = "DELETE FROM Volunteer WHERE Volunteer_ID=%d" % (a) try: cur.execute(query) con.commit() except Exception as e: print(e) print("\n\nError: PLEASE TRY AGAIN WITH DIFFERENT DATA!\n") return return def removePerson(): try: a = int(input("Enter Aadhar no:")) except Exception as e: print(e) print("\n\nError: PLEASE TRY AGAIN WITH DIFFERENT DATA!\n") return # b = input("Enter dependent name: ") query = "DELETE FROM Person WHERE Aadhar_no=%d" % (a) try: cur.execute(query) con.commit() except Exception as e: print(e) print("\n\nError: PLEASE TRY AGAIN WITH DIFFERENT DATA!\n") return return def addDependent(): brow = {} print("Enter dependent details: ") brow["name"] = input("Enter name: ") try: brow["vid"] = int( input("Enter volunteer ID to whom the dependent is related to:")) except Exception as e: print(e) print("\n\nError: PLEASE TRY AGAIN WITH DIFFERENT DATA!\n") return query = "INSERT INTO `Dependents` VALUES ('%s',%d);" % ( brow["name"], brow["vid"]) try: cur.execute(query) con.commit() except Exception as e: print(e) print("\n\nError: PLEASE TRY AGAIN WITH DIFFERENT DATA!\n") return return def addPerson(): row = {} print("Enter person details: ") try: row["Aadhar"] = int(input("Enter Aadhar no:")) except Exception as e: print(e) print("\n\nError: PLEASE TRY AGAIN WITH DIFFERENT DATA!\n") return row["State_name"] = input("State name: ") row["Person_name"] = input("Name: ") row["dob"] = input("Date of birth in YYYY-MM-DD format: ") row["gender"] = input("Gender: ") try: row["HNo"] = int(input("House no: ")) except Exception as e: print(e) print("\n\nError: PLEASE TRY AGAIN WITH DIFFERENT DATA!\n") return row["City"] = input("City: ") row["area"] = input("Area: ") try: row["pincode"] = int(input("Pin code: ")) except Exception as e: print(e) print("\n\nError: PLEASE TRY AGAIN WITH DIFFERENT DATA!\n") return query = "INSERT INTO `Person` VALUES (%d, '%s','%s','%s','%s',%d,'%s','%s','%s',%d);" % ( row["Aadhar"], row["State_name"], row["Person_name"], row["dob"], row["gender"], row["HNo"], row["City"], row["State_name"], row["area"], row["pincode"]) try: cur.execute(query) con.commit() except Exception as e: print(e) print("\n\nError: PLEASE TRY AGAIN WITH DIFFERENT DATA!\n") return return def addVolunteer(): arow = {} print("Enter volunteer details: ") try: arow["Volunteer_ID"] = int(input("Enter Volunteer ID:")) except Exception as e: print(e) print("\n\nError: PLEASE TRY AGAIN WITH DIFFERENT DATA!\n") return arow["State_name"] = input("State name: ") arow["Person_name"] = input("Name: ") arow["dob"] = input("Date of birth in YYYY-MM-DD format: ") arow["gender"] = input("Gender: ") try: arow["HNo"] = int(input("House no: ")) except Exception as e: print(e) print("\n\nError: PLEASE TRY AGAIN WITH DIFFERENT DATA!\n") return arow["City"] = input("City: ") arow["area"] = input("Area: ") try: arow["pincode"] = int(input("Pin code: ")) except Exception as e: print(e) print("\n\nError: PLEASE TRY AGAIN WITH DIFFERENT DATA!\n") return try: arow["aadhar"] = int(input("Enter Volunteer Aadhar no: ")) except Exception as e: print(e) print("\n\nError: PLEASE TRY AGAIN WITH DIFFERENT DATA!\n") return try: arow["aware"] = int( input("Is the volunteer's job spreading awareness (enter 0 or 1): ")) except Exception as e: print(e) print("\n\nError: PLEASE TRY AGAIN WITH DIFFERENT DATA!\n") return try: arow["vaccinate"] = int( input("Is the volunteer's job vaccinating people (enter 0 or 1): ")) except Exception as e: print(e) print("\n\nError: PLEASE TRY AGAIN WITH DIFFERENT DATA!\n") return query = "INSERT INTO `Volunteer` VALUES (%d, '%s','%s','%s','%s',%d,'%s','%s','%s',%d, %d, %d, %d);" % ( arow["Volunteer_ID"], arow["State_name"], arow["Person_name"], arow["dob"], arow["gender"], arow["HNo"], arow["City"], arow["State_name"], arow["area"], arow["pincode"], arow["aadhar"], arow["aware"], arow["vaccinate"]) try: cur.execute(query) con.commit() except Exception as e: print(e) print("\n\nError: PLEASE TRY AGAIN WITH DIFFERENT DATA!\n") return return def updatePersonDetails(): row = {} # print("Enter person details: ") try: row["Aadhar"] = int( input("Enter Aadhar no of the person you wish to update:")) except Exception as e: print(e) print("\n\nError: PLEASE TRY AGAIN WITH DIFFERENT DATA!\n") return print("Enter all the other details: ") row["State_name"] = input("State name: ") row["Person_name"] = input("Name: ") row["dob"] = input("Date of birth in YYYY-MM-DD format: ") row["gender"] = input("Gender: ") try: row["HNo"] = int(input("House no: ")) except Exception as e: print(e) print("\n\nError: PLEASE TRY AGAIN WITH DIFFERENT DATA!\n") return row["City"] = input("City: ") row["area"] = input("Area: ") try: row["pincode"] = int(input("Pin code: ")) except Exception as e: print(e) print("\n\nError: PLEASE TRY AGAIN WITH DIFFERENT DATA!\n") return query = "UPDATE `Person` SET Sname='%s',Name='%s',Date_of_birth='%s',Gender='%s',HNo=%d,City='%s',State='%s',Area='%s',Pin_code=%d WHERE Aadhar_no=%d;" % ( row["State_name"], row["Person_name"], row["dob"], row["gender"], row["HNo"], row["City"], row["State_name"], row["area"], row["pincode"], row["Aadhar"]) try: cur.execute(query) con.commit() except Exception as e: print(e) print("\n\nError: PLEASE TRY AGAIN WITH DIFFERENT DATA!\n") return return def updateVolunteerDetails(): arow = {} # print("Enter volunteer details: ") try: arow["Volunteer_ID"] = int( input("Enter ID of the volunteer you wish to update:")) except Exception as e: print(e) print("\n\nError: PLEASE TRY AGAIN WITH DIFFERENT DATA!\n") return arow["State_name"] = input("State name: ") arow["Person_name"] = input("Name: ") arow["dob"] = input("Date of birth in YYYY-MM-DD format: ") arow["gender"] = input("Gender: ") try: arow["HNo"] = int(input("House no: ")) except Exception as e: print(e) print("\n\nError: PLEASE TRY AGAIN WITH DIFFERENT DATA!\n") return arow["City"] = input("City: ") arow["area"] = input("Area: ") try: arow["pincode"] = int(input("Pin code: ")) except Exception as e: print(e) print("\n\nError: PLEASE TRY AGAIN WITH DIFFERENT DATA!\n") return try: arow["aadhar"] = int(input("Enter Volunteer Aadhar no: ")) except Exception as e: print(e) print("\n\nError: PLEASE TRY AGAIN WITH DIFFERENT DATA!\n") return try: arow["aware"] = int( input("Is the volunteer's job spreading awareness (enter 0 or 1): ")) except Exception as e: print(e) print("\n\nError: PLEASE TRY AGAIN WITH DIFFERENT DATA!\n") return try: arow["vaccinate"] = int( input("Is the volunteer's job vaccinating people (enter 0 or 1): ")) except Exception as e: print(e) print("\n\nError: PLEASE TRY AGAIN WITH DIFFERENT DATA!\n") return query = "UPDATE `Volunteer` SET Sname='%s',Volunteer_name='%s',Volunteer_date_of_birth='%s',Volunteer_gender='%s',Volunteer_HNo=%d,Volunteer_city='%s',Volunteer_state='%s',Volunteer_area='%s',Volunteer_pin_code=%d,Volunteer_aadhar_no=%d,Spread_flag=%d,Vaccinate_flag=%d WHERE Volunteer_ID=%d;" % ( arow["State_name"], arow["Person_name"], arow["dob"], arow["gender"], arow["HNo"], arow["City"], arow["State_name"], arow["area"], arow["pincode"], arow["aadhar"], arow["aware"], arow["vaccinate"], arow["Volunteer_ID"]) try: cur.execute(query) con.commit() except Exception as e: print(e) print("\n\nError: PLEASE TRY AGAIN WITH DIFFERENT DATA!\n") return return def updateVaccinationstatus(): try: aadhar = int(input( "Enter Aadhar no of the person whose vaccination status you wish to update:")) except Exception as e: print(e) print("\n\nError: PLEASE TRY AGAIN WITH DIFFERENT DATA!\n") return print("Enter the following details") status = input("Enter updated status (Full/Partial/None): ") datefirst = input("Enter date of first vaccination: ") datesecond = input("Enter date of second vaccination: ") if datefirst == "" and datesecond != "": query = "UPDATE `Vaccination_status` SET Status='%s', Date_of_first_vaccination=NULL, Date_of_second_vaccination='%s' WHERE Paadhar_no=%d;" % ( status, datesecond, aadhar) elif datesecond == "" and datefirst != "": query = "UPDATE `Vaccination_status` SET Status='%s', Date_of_first_vaccination='%s', Date_of_second_vaccination=NULL WHERE Paadhar_no=%d;" % ( status, datefirst, aadhar) elif datesecond == "" and datefirst == "": query = "UPDATE `Vaccination_status` SET Status='%s', Date_of_first_vaccination=NULL, Date_of_second_vaccination=NULL WHERE Paadhar_no=%d;" % ( status, aadhar) else: query = "UPDATE `Vaccination_status` SET Status='%s', Date_of_first_vaccination='%s', Date_of_second_vaccination='%s' WHERE Paadhar_no=%d;" % ( status, datefirst, datesecond, aadhar) try: cur.execute(query) con.commit() except Exception as e: print(e) print("\n\nError: PLEASE TRY AGAIN WITH DIFFERENT DATA!\n") return def dispatch(ch): """ Function that maps helper functions to option entered """ if(ch == 1): listPeople() elif(ch == 2): listVolunteers() elif(ch == 3): listDependents() elif(ch == 4): removeDependents() elif(ch == 5): removeVolunteer() elif(ch == 6): removePerson() elif(ch == 7): addDependent() elif(ch == 8): addPerson() elif(ch == 9): addVolunteer() elif(ch == 10): updatePersonDetails() elif(ch == 11): updateVolunteerDetails() elif(ch == 12): updateVaccinationstatus() else: print("Error: Invalid Option") while(1): tmp = sp.call('clear', shell=True) username = input("Username: ") password = input("Password: ") try: con = pymysql.connect(host='localhost', port=3306, user=username, password=password, db='Covid', cursorclass=pymysql.cursors.DictCursor) tmp = sp.call('clear', shell=True) if(con.open): print("Connected") else: print("Failed to connect") tmp = input("Enter any key to CONTINUE>") with con.cursor() as cur: while(1): tmp = sp.call('clear', shell=True) print("1. List all the people details") print("2. List all the volunteers details") print("3. List all the dependents of a volunteer") print("4. Remove a dependent of volunteer") print("5. Remove a volunteer") print("6. Remove a person") print("7. Add a dependent of volunteer") print("8. Add a person") print("9. Add a volunteer") print("10. Update person details") print("11. Update volunteer details") print("12. Update vaccination status") print("13. Logout") ch = int(input("Enter choice> ")) tmp = sp.call('clear', shell=True) if ch == 13: exit() else: dispatch(ch) tmp = input("Enter any key to CONTINUE>") except Exception as e: tmp = sp.call('clear', shell=True) print(e) print("Connection Refused: Either username or password is incorrect or user doesn't have access to database") tmp = input("Enter any key to CONTINUE>")
32.560254
301
0.562626
1,912
15,401
4.487971
0.105649
0.051043
0.073301
0.077613
0.736161
0.721944
0.719846
0.700035
0.693276
0.687566
0
0.004488
0.29102
15,401
472
302
32.629237
0.78139
0.013895
0
0.684834
0
0.018957
0.377052
0.047544
0
0
0
0
0
1
0.033175
false
0.007109
0.009479
0
0.137441
0.232227
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
0
0
0
0
0
0
0
0
0
4
d70773b5705fef01ea68f6166036675bbdc783b2
2,681
py
Python
auth_proxy/views.py
ChameleonIVCR/DjangoAuthProxy
97a7736373e28ccfb3fcbc0bd947b4c4860c7621
[ "MIT" ]
null
null
null
auth_proxy/views.py
ChameleonIVCR/DjangoAuthProxy
97a7736373e28ccfb3fcbc0bd947b4c4860c7621
[ "MIT" ]
null
null
null
auth_proxy/views.py
ChameleonIVCR/DjangoAuthProxy
97a7736373e28ccfb3fcbc0bd947b4c4860c7621
[ "MIT" ]
null
null
null
import json import uuid from django.http import HttpResponse from django.views.generic import View from django.core import serializers from .models import UserProxy # TODO endpoints for remote UserProxy management # class RestUserProxyView(View): # # @staticmethod # def _get_user_proxy(key): # # Try to retrieve from pk # user_proxy = UserProxy.objects.filter(pk=key) # if user_proxy.exists(): # return user_proxy.first() # # # Try to retrieve from UUID # try: # uuid_user_id = uuid.UUID(key) # except ValueError | TypeError: # raise KeyError # # user_proxy = UserProxy.objects.filter(user_id=uuid_user_id) # # if user_proxy.exists(): # return user_proxy.first() # # # Doesn't exist # raise KeyError # # def get(self, request, *args, **kwargs): # # try: # user_proxy = self._get_user_proxy(kwargs["pk"]) # except KeyError: # return HttpResponse( # "UserProxy not found", # status=404 # ) # # response = serializers.serialize("json", [user_proxy]) # return HttpResponse(response, status=200) # # def post(self, request, *args, **kwargs): # incoming_data = json.loads(request.body) # # remote_user_id = uuid.UUID(incoming_data["user_id"]) # # user_proxy = UserProxy( # user_id=remote_user_id # ) # # user_proxy.save() # # response = serializers.serialize("json", [user_proxy]) # return HttpResponse(response, status=201) # # def patch(self, request, *args, **kwargs): # return self.put(request, *args, **kwargs) # # def put(self, request, *args, **kwargs): # incoming_data = json.loads(request.body) # # try: # if "pk" in kwargs: # user_proxy = self._get_user_proxy(kwargs["pk"]) # else: # user_proxy = self._get_user_proxy(incoming_data["user_id"]) # except KeyError: # return HttpResponse( # "UserProxy not found", # status=404 # ) # # user_proxy.user_id = incoming_data["user_id"] # user_proxy.save() # # return HttpResponse(status=204) # # def delete(self, request, *args, **kwargs): # try: # user_proxy = self._get_user_proxy(kwargs["pk"]) # except KeyError: # return HttpResponse( # "UserProxy not found", # status=404 # ) # # user_proxy.delete() # return HttpResponse(status=204)
28.521277
77
0.559866
280
2,681
5.178571
0.25
0.136552
0.070345
0.072414
0.571724
0.513103
0.458621
0.458621
0.384828
0.384828
0
0.011564
0.322641
2,681
93
78
28.827957
0.786894
0.873182
0
0
0
0
0
0
0
0
0
0.010753
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
0
0
0
0
1
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
1
0
0
0
0
4
d707c75faeec314e54436129f8ee40553109f87a
70
py
Python
tests/__init__.py
nnnsyyy/tf_test
70257a84d1a2f6fdace41685c477d3138337db91
[ "MIT" ]
null
null
null
tests/__init__.py
nnnsyyy/tf_test
70257a84d1a2f6fdace41685c477d3138337db91
[ "MIT" ]
null
null
null
tests/__init__.py
nnnsyyy/tf_test
70257a84d1a2f6fdace41685c477d3138337db91
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Unit test package for tensorflow_test."""
17.5
44
0.614286
9
70
4.666667
0.888889
0
0
0
0
0
0
0
0
0
0
0.016949
0.157143
70
3
45
23.333333
0.694915
0.871429
0
null
0
null
0
0
null
0
0
0
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
0
0
0
0
1
0
0
0
0
0
0
4
d776de4891b581d450583275c6d23e42c04cd539
133
py
Python
hero/apps.py
BrunoASNascimento/Test-Company-Hero
cecbc2f3ae8879971540cc4147d7a3a633d58b32
[ "MIT" ]
null
null
null
hero/apps.py
BrunoASNascimento/Test-Company-Hero
cecbc2f3ae8879971540cc4147d7a3a633d58b32
[ "MIT" ]
null
null
null
hero/apps.py
BrunoASNascimento/Test-Company-Hero
cecbc2f3ae8879971540cc4147d7a3a633d58b32
[ "MIT" ]
null
null
null
from django.apps import AppConfig def create_app(): class HeroConfig(AppConfig): name = 'hero' my_app = create_app()
13.3
33
0.676692
17
133
5.117647
0.764706
0.206897
0
0
0
0
0
0
0
0
0
0
0.225564
133
9
34
14.777778
0.84466
0
0
0
0
0
0.030075
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.8
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
0
0
1
0
0
4
d78091f0784c1f6c6601c2b2011488d42fdc6d95
1,139
py
Python
storage/dynamo/dynamo_type.py
DS3Lab/LambdaML
0afca7819e08632ba116fec8e102084e4040a47a
[ "Apache-2.0" ]
23
2021-05-17T09:24:24.000Z
2022-01-29T18:40:44.000Z
storage/dynamo/dynamo_type.py
DS3Lab/LambdaML
0afca7819e08632ba116fec8e102084e4040a47a
[ "Apache-2.0" ]
2
2021-05-17T16:15:12.000Z
2021-07-20T09:11:22.000Z
storage/dynamo/dynamo_type.py
DS3Lab/LambdaML
0afca7819e08632ba116fec8e102084e4040a47a
[ "Apache-2.0" ]
3
2021-05-17T09:31:53.000Z
2021-12-02T16:29:59.000Z
from storage.dynamo import dynamo_operator from storage.base import BaseStorage class DynamoTable(BaseStorage): def __init__(self, _client, _table_name): super(DynamoTable, self).__init__() self.client = _client self.table = dynamo_operator.get_table(self.client, _table_name) def save(self, src_data, key="", key_col=""): return dynamo_operator.put_item(self.table, key_col, key, src_data) def load(self, key, key_col=""): return dynamo_operator.get_item(self.table, key_col, key) def load_or_wait(self, key, key_col="", sleep_time=0.1, time_out=60): return dynamo_operator.get_item_or_wait(self.table, key_col, key, sleep_time, time_out) def delete(self, key, key_col=""): if isinstance(key, str): return dynamo_operator.delete_item(self.table, key_col, key) elif isinstance(key, list): return dynamo_operator.delete_items(self.table, key_col, key) def clear(self, key_col=""): return dynamo_operator.clear_table(self.table, key_col) def list(self): return dynamo_operator.list_items(self.table)
35.59375
95
0.694469
162
1,139
4.561728
0.259259
0.08931
0.189445
0.121786
0.300406
0.200271
0
0
0
0
0
0.004362
0.194908
1,139
31
96
36.741935
0.801527
0
0
0
0
0
0
0
0
0
0
0
0
1
0.318182
false
0
0.090909
0.227273
0.772727
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
ad1cdd267ba2a761b9a4153db3b854e548e6c7f1
93
py
Python
crunchyroll_beta/errors.py
stefanodvx/crunchyroll
331bd38269114bf4c2114f86fe93fc5533d3ccee
[ "MIT" ]
19
2021-11-16T18:59:53.000Z
2022-03-30T06:38:13.000Z
crunchyroll_beta/errors.py
stefanodvx/crunchyroll
331bd38269114bf4c2114f86fe93fc5533d3ccee
[ "MIT" ]
3
2021-12-06T07:51:10.000Z
2022-03-30T06:06:18.000Z
crunchyroll_beta/errors.py
stefanodvx/crunchyroll
331bd38269114bf4c2114f86fe93fc5533d3ccee
[ "MIT" ]
4
2021-11-18T13:25:03.000Z
2021-12-20T19:16:38.000Z
class CrunchyrollError(Exception): pass class LoginError(CrunchyrollError): pass
18.6
36
0.741935
8
93
8.625
0.625
0
0
0
0
0
0
0
0
0
0
0
0.193548
93
5
37
18.6
0.92
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
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
0
0
0
0
0
4
ad310dee3694eb429e87b3647dcc25b647cfe9a1
131
py
Python
challenging/hypernews/news/apps.py
epmancini/JetBrains-Academy-Python
466ee9ad6b07285c75e4ab740bcc8b5975f28e56
[ "MIT" ]
null
null
null
challenging/hypernews/news/apps.py
epmancini/JetBrains-Academy-Python
466ee9ad6b07285c75e4ab740bcc8b5975f28e56
[ "MIT" ]
null
null
null
challenging/hypernews/news/apps.py
epmancini/JetBrains-Academy-Python
466ee9ad6b07285c75e4ab740bcc8b5975f28e56
[ "MIT" ]
null
null
null
from django.apps import AppConfig # Configuration class for the news application. class NewsConfig(AppConfig): name = 'news'
18.714286
47
0.763359
16
131
6.25
0.8125
0
0
0
0
0
0
0
0
0
0
0
0.167939
131
6
48
21.833333
0.917431
0.343511
0
0
0
0
0.047619
0
0
0
0
0
0
1
0
false
0
0.333333
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
0
0
1
0
1
0
0
4
ad4c4b95ca42611539dd77fa39f0edfa7c34aae4
980
py
Python
familysearch/utilities.py
AmEv7Fam/familysearch-python-sdk-opensource
121b4892000e7fe25b15b88357fc643115434107
[ "BSD-2-Clause" ]
24
2016-04-11T01:17:58.000Z
2022-02-08T16:05:32.000Z
familysearch/utilities.py
AmEv7Fam/familysearch-python-sdk-opensource
121b4892000e7fe25b15b88357fc643115434107
[ "BSD-2-Clause" ]
4
2018-03-10T22:47:03.000Z
2020-08-10T18:38:18.000Z
familysearch/utilities.py
AmEv7Fam/familysearch-python-sdk-opensource
121b4892000e7fe25b15b88357fc643115434107
[ "BSD-2-Clause" ]
12
2016-04-11T01:18:07.000Z
2020-11-09T02:19:25.000Z
"""FamilySearch Utilities submodule""" # Python imports # Magic class Utilities: """https://familysearch.org/developers/docs/api/resources#utilities""" def __init__(self): """https://familysearch.org/developers/docs/api/examples#utilities""" pass def pending_modifications(self): """https://familysearch.org/developers/docs/api/tree/Pending_Modifications_resource""" return self.root_collection['response']['collections'][0]['links']\ ['pending-modifications']['href'] def redirect(self, **kwargs): """https://familysearch.org/developers/docs/api/tree/Redirect_resource""" return self._add_query_params( self.base + "/platform/redirect", kwargs) def oembed(self, **kwargs): """https://familysearch.org/developers/docs/api/discovery/OEmbed_resource""" return self._add_query_params( self.base + "/platform/oembed", kwargs)
39.2
95
0.646939
99
980
6.242424
0.393939
0.13754
0.161812
0.242718
0.512945
0.512945
0.453074
0.307443
0.15534
0
0
0.00128
0.203061
980
25
96
39.2
0.790013
0.411224
0
0.166667
0
0
0.159004
0.04023
0
0
0
0
0
1
0.333333
false
0.083333
0
0
0.666667
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
1
0
0
1
0
0
4
ad9d04f7964d8916257a7fd0137c30f565be9470
146
py
Python
dentaltreatment/apps.py
DaleProctor/tscharts
5447395e0aef0b949bef8426febdec2093cf37ef
[ "Apache-2.0" ]
16
2016-08-17T21:39:10.000Z
2021-11-24T12:14:28.000Z
dentaltreatment/apps.py
DaleProctor/tscharts
5447395e0aef0b949bef8426febdec2093cf37ef
[ "Apache-2.0" ]
55
2017-04-23T18:12:04.000Z
2021-08-08T08:25:18.000Z
dentaltreatment/apps.py
DaleProctor/tscharts
5447395e0aef0b949bef8426febdec2093cf37ef
[ "Apache-2.0" ]
8
2017-08-11T02:11:46.000Z
2021-07-06T22:58:42.000Z
from __future__ import unicode_literals from django.apps import AppConfig class DentalTreatmentConfig(AppConfig): name = 'dentaltreatment'
18.25
39
0.815068
15
146
7.6
0.8
0
0
0
0
0
0
0
0
0
0
0
0.136986
146
7
40
20.857143
0.904762
0
0
0
0
0
0.10274
0
0
0
0
0
0
1
0
false
0
0.5
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
0
0
1
0
1
0
0
4
a8e43389e294b58a8489588f1ff343fa3a06ea7a
94
py
Python
tests/test_user.py
Gogen120/helpscout
7e884247f5cd59c75b12792e331b25e9873a4207
[ "MIT" ]
null
null
null
tests/test_user.py
Gogen120/helpscout
7e884247f5cd59c75b12792e331b25e9873a4207
[ "MIT" ]
null
null
null
tests/test_user.py
Gogen120/helpscout
7e884247f5cd59c75b12792e331b25e9873a4207
[ "MIT" ]
null
null
null
def test_list_users(test_client): response = test_client.user.list() assert response
18.8
38
0.744681
13
94
5.076923
0.615385
0.30303
0
0
0
0
0
0
0
0
0
0
0.170213
94
4
39
23.5
0.846154
0
0
0
0
0
0
0
0
0
0
0
0.333333
1
0.333333
false
0
0
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
1
0
0
0
0
0
0
0
4
a8ed00c99af8d02520a1256bdcf36f037d6fe436
307
py
Python
site-root/.config/init.py
TED-996/krait-twostones
51b27793b9cd536d680fb9a6785c57473d35cac1
[ "MIT" ]
null
null
null
site-root/.config/init.py
TED-996/krait-twostones
51b27793b9cd536d680fb9a6785c57473d35cac1
[ "MIT" ]
null
null
null
site-root/.config/init.py
TED-996/krait-twostones
51b27793b9cd536d680fb9a6785c57473d35cac1
[ "MIT" ]
null
null
null
import krait import mvc import sys from db_access import db_ops import json import urllib from misc import debug_config import subprocess import os db_ops.read_store_password() subprocess.Popen( ["python", os.path.normpath(os.path.join(krait.site_root, "..", "matchmaker", "matchmaker_client.py"))])
19.1875
108
0.778502
46
307
5.021739
0.608696
0.04329
0
0
0
0
0
0
0
0
0
0
0.117264
307
15
109
20.466667
0.852399
0
0
0
0
0
0.123779
0
0
0
0
0
0
1
0
true
0.083333
0.75
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
4
d110cd1d1f4fad8288bf62f2eb0f63037e91ccb6
178
py
Python
socials/apps.py
benzkji/django-socials
a032238171e5e2cf7af543cc6b5eed0d6a1956f8
[ "MIT" ]
null
null
null
socials/apps.py
benzkji/django-socials
a032238171e5e2cf7af543cc6b5eed0d6a1956f8
[ "MIT" ]
6
2020-10-20T15:47:26.000Z
2021-06-22T11:19:39.000Z
socials/apps.py
benzkji/django-socials
a032238171e5e2cf7af543cc6b5eed0d6a1956f8
[ "MIT" ]
1
2020-10-20T06:53:13.000Z
2020-10-20T06:53:13.000Z
from django.apps import AppConfig from django.utils.translation import ugettext_lazy as _ class SocialsConfig(AppConfig): name = 'socials' verbose_name = _('Socials')
19.777778
55
0.758427
21
178
6.238095
0.714286
0.152672
0
0
0
0
0
0
0
0
0
0
0.162921
178
8
56
22.25
0.879195
0
0
0
0
0
0.078652
0
0
0
0
0
0
1
0
false
0
0.4
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
0
0
1
0
1
0
0
4
d12f8b52a2d8a5b2a758af304e5721618b5d4cfd
116
py
Python
python/src/models/paymentMethod.py
Rapyd-Samples/accept-payments
74f3f22e2238642d047120139b1e6212c617a533
[ "MIT" ]
1
2022-03-22T10:20:18.000Z
2022-03-22T10:20:18.000Z
python/src/models/paymentMethod.py
Rapyd-Samples/accept-payments
74f3f22e2238642d047120139b1e6212c617a533
[ "MIT" ]
null
null
null
python/src/models/paymentMethod.py
Rapyd-Samples/accept-payments
74f3f22e2238642d047120139b1e6212c617a533
[ "MIT" ]
null
null
null
from pydantic import BaseModel class CustomerPaymentMethod(BaseModel): id: str type: str name: str
11.6
39
0.698276
13
116
6.230769
0.769231
0
0
0
0
0
0
0
0
0
0
0
0.25
116
9
40
12.888889
0.931034
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.2
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
0
0
1
0
0
4
d14090f12a7d5154df5da82c66d69d31c114c22f
98
py
Python
tests/__init__.py
abn/python-gnmi-proto
39a2262625af4c81f857cae767df13baab71d374
[ "Apache-2.0" ]
4
2021-02-05T21:49:01.000Z
2022-01-10T08:01:19.000Z
tests/__init__.py
abn/python-gnmi-proto
39a2262625af4c81f857cae767df13baab71d374
[ "Apache-2.0" ]
3
2021-02-02T00:38:02.000Z
2021-05-25T22:33:41.000Z
tests/__init__.py
abn/python-gnmi-proto
39a2262625af4c81f857cae767df13baab71d374
[ "Apache-2.0" ]
4
2020-07-23T12:25:32.000Z
2021-05-25T22:20:11.000Z
from pathlib import Path TESTS_DIR = Path(__file__).parent FIXTURES_DIR = TESTS_DIR / "fixtures"
19.6
37
0.785714
14
98
5
0.642857
0.228571
0
0
0
0
0
0
0
0
0
0
0.132653
98
4
38
24.5
0.823529
0
0
0
0
0
0.081633
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
d1433bff7ffa09ad46d4a46e8c28bc2b170ef072
252
py
Python
code/face-detection/layers/modules/__init__.py
FRH-Code-Data/Appendix
106a7c65c178d2b446e3bd8fb192ac2f4b7e323f
[ "CC-BY-4.0" ]
5
2020-02-28T09:28:55.000Z
2021-06-03T02:15:42.000Z
code/face-detection/layers/modules/__init__.py
FRH-Code-Data/Appendix
106a7c65c178d2b446e3bd8fb192ac2f4b7e323f
[ "CC-BY-4.0" ]
6
2020-03-08T22:58:13.000Z
2022-03-12T00:15:14.000Z
code/face-detection/layers/modules/__init__.py
FRH-Code-Data/Appendix
106a7c65c178d2b446e3bd8fb192ac2f4b7e323f
[ "CC-BY-4.0" ]
3
2020-02-28T09:29:03.000Z
2020-03-09T05:08:07.000Z
#-*- coding:utf-8 -*- from __future__ import division from __future__ import absolute_import from __future__ import print_function from .l2norm import L2Norm from .multibox_loss import MultiBoxLoss __all__ = ['L2Norm', 'MultiBoxLoss']
19.384615
40
0.75
29
252
5.862069
0.517241
0.176471
0.282353
0
0
0
0
0
0
0
0
0.019231
0.174603
252
12
41
21
0.798077
0.079365
0
0
0
0
0.082569
0
0
0
0
0
0
1
0
false
0
0.833333
0
0.833333
0.166667
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
0
0
1
0
1
0
0
4
d15dc9aa8327aa1db2b9587e97ff195d92fa2cf7
217
py
Python
components/RFID_in_C/rdm6300/files/pyrfid/__init__.py
minhan74/MIS-Locker
ab7e90000d566e818b4f44bd27165ed45a8f653f
[ "Apache-2.0", "MIT" ]
2
2020-07-29T13:38:54.000Z
2021-07-24T13:54:48.000Z
components/RFID_in_C/rdm6300/files/pyrfid/__init__.py
minhan74/MIS-Locker
ab7e90000d566e818b4f44bd27165ed45a8f653f
[ "Apache-2.0", "MIT" ]
4
2020-02-27T09:53:34.000Z
2020-02-27T09:54:35.000Z
components/RFID_in_C/rdm6300/files/pyrfid/__init__.py
minhan74/MIS-Locker
ab7e90000d566e818b4f44bd27165ed45a8f653f
[ "Apache-2.0", "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ PyRfid Copyright (C) 2015 Philipp Meisberger <team@pm-codeworks.de> All rights reserved. @author: Philipp Meisberger <team@pm-codeworks.de> """ __version__ = '1.2'
16.692308
60
0.686636
30
217
4.833333
0.8
0.234483
0.289655
0.317241
0.468966
0.468966
0
0
0
0
0
0.037234
0.133641
217
12
61
18.083333
0.734043
0.843318
0
0
0
0
0.12
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
0f1fea1041955f622b7359d59ff39a0ca1dcad21
75
py
Python
racetrax/__main__.py
matthewdeanmartin/racetrax
83c9442558e10ebe03647220cf32ddeae2ce50b4
[ "MIT" ]
null
null
null
racetrax/__main__.py
matthewdeanmartin/racetrax
83c9442558e10ebe03647220cf32ddeae2ce50b4
[ "MIT" ]
null
null
null
racetrax/__main__.py
matthewdeanmartin/racetrax
83c9442558e10ebe03647220cf32ddeae2ce50b4
[ "MIT" ]
null
null
null
# coding=utf-8 """ Make this module executable with python -m racetrax """
15
51
0.706667
11
75
4.818182
1
0
0
0
0
0
0
0
0
0
0
0.015873
0.16
75
4
52
18.75
0.825397
0.866667
0
null
0
null
0
0
null
0
0
0
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
0
0
0
0
1
0
0
0
0
0
0
4
0f2f17caa417a33de4487c961492e44c9242b756
221
py
Python
reactions.py
SamCHogg/GlossyMudcrab
a669bd00a9d61e3da69d4f0e132470c67fcb321f
[ "MIT" ]
null
null
null
reactions.py
SamCHogg/GlossyMudcrab
a669bd00a9d61e3da69d4f0e132470c67fcb321f
[ "MIT" ]
null
null
null
reactions.py
SamCHogg/GlossyMudcrab
a669bd00a9d61e3da69d4f0e132470c67fcb321f
[ "MIT" ]
1
2021-05-06T00:48:03.000Z
2021-05-06T00:48:03.000Z
import discord async def remove_reaction(message, user, emoji): try: await message.remove_reaction(emoji, user) except (discord.Forbidden, discord.NotFound): # Maybe send a message? pass
22.1
50
0.674208
26
221
5.653846
0.692308
0.190476
0
0
0
0
0
0
0
0
0
0
0.244344
221
9
51
24.555556
0.88024
0.095023
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.166667
0.166667
0
0.166667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
4
0f369928c9ab0cab133f4a68378ba6e1b7117452
110
py
Python
Shivani/ques 7.py
63Shivani/Python-BootCamp
2ed0ef95af35d35c0602031670fecfc92d8cea0a
[ "MIT" ]
null
null
null
Shivani/ques 7.py
63Shivani/Python-BootCamp
2ed0ef95af35d35c0602031670fecfc92d8cea0a
[ "MIT" ]
null
null
null
Shivani/ques 7.py
63Shivani/Python-BootCamp
2ed0ef95af35d35c0602031670fecfc92d8cea0a
[ "MIT" ]
null
null
null
n=int(input("enter a number\n")) if n%7==0: print("Divisible by 7") else: print("Not Divisible by 7")
18.333333
32
0.618182
21
110
3.238095
0.666667
0.323529
0.352941
0
0
0
0
0
0
0
0
0.044944
0.190909
110
5
33
22
0.719101
0
0
0
0
0
0.436364
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
0f524215f89e006c70bb9fb2706ebc27e4603472
688
py
Python
astroquery/besancon/tests/test_besancon.py
jdnc/astroquery
a89dcc5f4132bc2e9d72da1aa583dbc9e7e8216f
[ "BSD-3-Clause" ]
1
2019-12-17T00:43:56.000Z
2019-12-17T00:43:56.000Z
astroquery/besancon/tests/test_besancon.py
jdnc/astroquery
a89dcc5f4132bc2e9d72da1aa583dbc9e7e8216f
[ "BSD-3-Clause" ]
null
null
null
astroquery/besancon/tests/test_besancon.py
jdnc/astroquery
a89dcc5f4132bc2e9d72da1aa583dbc9e7e8216f
[ "BSD-3-Clause" ]
null
null
null
# Licensed under a 3-clause BSD style license - see LICENSE.rst from ... import besancon #import asciitable #from astropy.io.ascii.tests.common import assert_equal # SKIP - don't run tests because Besancon folks don't want them (based on the fact that your@email.net is now rejected) # def test_besancon_reader(): # #assert os.path.exists('besancon_test.txt') # B = asciitable.read('t/besancon_test.txt',Reader=besancon.BesanconFixed,guess=False) # assert_equal(len(B),12) # # def test_basic(): # besancon_model = besancon.request_besancon('your@email.net',10.5,0.0) # B = asciitable.read(besancon_model,Reader=besancon.BesanconFixed,guess=False) # B.pprint()
38.222222
119
0.735465
103
688
4.815534
0.592233
0.044355
0.048387
0.129032
0.149194
0
0
0
0
0
0
0.013514
0.139535
688
17
120
40.470588
0.824324
0.918605
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
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
0f5d5765e92901657d39200bf3f06dfa21a867b4
21
py
Python
data/studio21_generated/introductory/3921/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/introductory/3921/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/introductory/3921/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
def corrections(x):
10.5
19
0.714286
3
21
5
1
0
0
0
0
0
0
0
0
0
0
0
0.142857
21
2
20
10.5
0.833333
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
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
0
0
0
0
0
0
4
0f89d6c6c5081674279b651fb898311318ff3090
200
py
Python
startifact/exceptions/no_regions_available.py
cariad/startifact
ef0b855ca2061f9e6982ed28c63b3da4c5d1464d
[ "MIT" ]
null
null
null
startifact/exceptions/no_regions_available.py
cariad/startifact
ef0b855ca2061f9e6982ed28c63b3da4c5d1464d
[ "MIT" ]
15
2021-11-09T13:22:57.000Z
2021-12-17T12:24:27.000Z
startifact/exceptions/no_regions_available.py
cariad/startifact
ef0b855ca2061f9e6982ed28c63b3da4c5d1464d
[ "MIT" ]
null
null
null
from typing import List class NoRegionsAvailable(Exception): def __init__(self, regions: List[str]) -> None: super().__init__(f"None of the configured regions are available: {regions}")
28.571429
84
0.72
25
200
5.44
0.8
0
0
0
0
0
0
0
0
0
0
0
0.17
200
6
85
33.333333
0.819277
0
0
0
0
0
0.275
0
0
0
0
0
0
1
0.25
false
0
0.25
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
1
0
0
0
0
1
0
0
4
7e4e3e699974889a2b1424e1d5417f62da79080d
241
py
Python
frontend/forms.py
roman-baldaev/test-task-weather
114048583bc106ad082dcd6efe8d966f76cd476e
[ "MIT" ]
null
null
null
frontend/forms.py
roman-baldaev/test-task-weather
114048583bc106ad082dcd6efe8d966f76cd476e
[ "MIT" ]
2
2020-02-12T00:15:20.000Z
2020-06-05T18:02:22.000Z
frontend/forms.py
roman-baldaev/test-task-weather
114048583bc106ad082dcd6efe8d966f76cd476e
[ "MIT" ]
null
null
null
from django import forms from .models import * class CityForm(forms.ModelForm): class Meta: model = City exclude = [] class HistoryForm(forms.ModelForm): class Meta: model = History exclude = []
15.0625
35
0.609959
25
241
5.88
0.56
0.190476
0.258503
0.312925
0.380952
0
0
0
0
0
0
0
0.307054
241
16
36
15.0625
0.88024
0
0
0.4
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.6
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
7e69259c6a7b6975897a77061ceb08038f8052e0
115
py
Python
find_the_day.py
Pegasus-01/date-and-day-finder
558d176057dcc5d94fc3356dc9bbebc6918ced26
[ "Apache-2.0" ]
null
null
null
find_the_day.py
Pegasus-01/date-and-day-finder
558d176057dcc5d94fc3356dc9bbebc6918ced26
[ "Apache-2.0" ]
null
null
null
find_the_day.py
Pegasus-01/date-and-day-finder
558d176057dcc5d94fc3356dc9bbebc6918ced26
[ "Apache-2.0" ]
null
null
null
import time print(time.localtime()) localtime = time.asctime(time.localtime(time.time())) print(localtime)
16.428571
54
0.721739
14
115
5.928571
0.357143
0.216867
0
0
0
0
0
0
0
0
0
0
0.130435
115
7
55
16.428571
0.83
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.5
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
0
0
0
1
0
4
7e6d93e75e90bd3bb205503aedaf79e01bc838ee
177
py
Python
katas/beta/keep_up_the_hoop.py
the-zebulan/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
40
2016-03-09T12:26:20.000Z
2022-03-23T08:44:51.000Z
katas/beta/keep_up_the_hoop.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
null
null
null
katas/beta/keep_up_the_hoop.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
36
2016-11-07T19:59:58.000Z
2022-03-31T11:18:27.000Z
def hoopCount(n): """ hoop_count == PEP8 (forced mixedCase by CodeWars) """ return 'Great, now move on to tricks' if n >= 10 else\ 'Keep at it until you get it'
35.4
61
0.621469
28
177
3.892857
0.928571
0
0
0
0
0
0
0
0
0
0
0.022901
0.259887
177
4
62
44.25
0.80916
0.276836
0
0
0
0
0.458333
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
7e9d27f4c61df4be274fed9a020b2b4eda0280b2
243
py
Python
tests/test_dataset.py
will-thompson-k/deeplearning-nlp-models
d3afac437b1ddf563c8d2694ada950bf20ab1c34
[ "MIT" ]
77
2020-11-01T19:22:32.000Z
2021-12-12T20:41:34.000Z
tests/test_dataset.py
will-thompson-k/deeplearning-nlp-models
d3afac437b1ddf563c8d2694ada950bf20ab1c34
[ "MIT" ]
3
2020-11-16T02:59:22.000Z
2020-12-21T23:22:55.000Z
tests/test_dataset.py
will-thompson-k/deeplearning-nlp-models
d3afac437b1ddf563c8d2694ada950bf20ab1c34
[ "MIT" ]
6
2020-12-10T10:10:34.000Z
2020-12-21T14:17:49.000Z
import unittest from nlpmodels.utils.elt import dataset class TestAbstractDataset(unittest.TestCase): def test_cannot_instantiate_abstract_class(self): with self.assertRaises(TypeError): dataset.AbstractNLPDataset()
24.3
53
0.769547
25
243
7.32
0.8
0
0
0
0
0
0
0
0
0
0
0
0.164609
243
9
54
27
0.901478
0
0
0
0
0
0
0
0
0
0
0
0.166667
1
0.166667
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
7ea186563c3fb31b20385f38a43cc082a0697cef
616
py
Python
pytorch/unet_2d/__init__.py
mistermoutan/ModelsGenesis
98af7075b93311fe655e9692773eb1ce015b8bd0
[ "MIT" ]
null
null
null
pytorch/unet_2d/__init__.py
mistermoutan/ModelsGenesis
98af7075b93311fe655e9692773eb1ce015b8bd0
[ "MIT" ]
null
null
null
pytorch/unet_2d/__init__.py
mistermoutan/ModelsGenesis
98af7075b93311fe655e9692773eb1ce015b8bd0
[ "MIT" ]
null
null
null
from .unet_model import UNet from .unet_model_group_norm import UNetGN from .unet_model_group_norm4 import UNetGN4 from .unet_model_group_norm_no_learn import UNetGNAffine from .unet_model_group_norm_big import UNetBIGGN from .unet_model_small import UNetSmall from .unet_model_group_norm_small import UNetSmallGN from .unet_with_classifier import UnetACSWithClassifier from .unet_with_classifier_gn import UnetACSWithClassifierGN from .unet_axis_aware import UnetACSAxisAwareDecoder from .unet_classifier_only import UnetACSWithClassifierOnly from .unet_no_spatial_axis_aware import UnetACSAxisAwareDecoderNoSpatial
51.333333
72
0.904221
83
616
6.289157
0.349398
0.183908
0.17433
0.172414
0.168582
0
0
0
0
0
0
0.003515
0.076299
616
12
72
51.333333
0.913884
0
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
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
4
7eb121d2bae575edbf034dc0fc7b8a347f98d32f
9,197
py
Python
sdk/yapily/models/__init__.py
bs-yapily/yapily-sdk-python
0bba45e351b674eb655425a51190f539c4e9896f
[ "MIT" ]
null
null
null
sdk/yapily/models/__init__.py
bs-yapily/yapily-sdk-python
0bba45e351b674eb655425a51190f539c4e9896f
[ "MIT" ]
null
null
null
sdk/yapily/models/__init__.py
bs-yapily/yapily-sdk-python
0bba45e351b674eb655425a51190f539c4e9896f
[ "MIT" ]
null
null
null
# coding: utf-8 # flake8: noqa """ Yapily API To access endpoints that require authentication, use your application key and secret created in the Dashboard (https://dashboard.yapily.com) # noqa: E501 OpenAPI spec version: 0.0.155 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import # import models into model package from yapily.models.atm_map_service_links import ATMMapServiceLinks from yapily.models.atm_open_data import ATMOpenData from yapily.models.atm_open_data_brand import ATMOpenDataBrand from yapily.models.atm_open_data_response import ATMOpenDataResponse from yapily.models.account import Account from yapily.models.account_authorisation_request import AccountAuthorisationRequest from yapily.models.account_balance import AccountBalance from yapily.models.account_identification import AccountIdentification from yapily.models.account_name import AccountName from yapily.models.account_request import AccountRequest from yapily.models.account_statement import AccountStatement from yapily.models.address import Address from yapily.models.address_details import AddressDetails from yapily.models.age_eligibility import AgeEligibility from yapily.models.amount import Amount from yapily.models.api_error import ApiError from yapily.models.api_list_response_of_account import ApiListResponseOfAccount from yapily.models.api_list_response_of_account_statement import ApiListResponseOfAccountStatement from yapily.models.api_list_response_of_bulk_user_delete import ApiListResponseOfBulkUserDelete from yapily.models.api_list_response_of_consent import ApiListResponseOfConsent from yapily.models.api_list_response_of_feature_details import ApiListResponseOfFeatureDetails from yapily.models.api_list_response_of_institution import ApiListResponseOfInstitution from yapily.models.api_list_response_of_payment_response import ApiListResponseOfPaymentResponse from yapily.models.api_list_response_of_transaction import ApiListResponseOfTransaction from yapily.models.api_response_of_account import ApiResponseOfAccount from yapily.models.api_response_of_account_statement import ApiResponseOfAccountStatement from yapily.models.api_response_of_authorisation_request_response import ApiResponseOfAuthorisationRequestResponse from yapily.models.api_response_of_bulk_user_delete_details import ApiResponseOfBulkUserDeleteDetails from yapily.models.api_response_of_consent import ApiResponseOfConsent from yapily.models.api_response_of_consent_delete_response import ApiResponseOfConsentDeleteResponse from yapily.models.api_response_of_identity import ApiResponseOfIdentity from yapily.models.api_response_of_list_of_atm_open_data_response import ApiResponseOfListOfATMOpenDataResponse from yapily.models.api_response_of_list_of_personal_current_account_data import ApiResponseOfListOfPersonalCurrentAccountData from yapily.models.api_response_of_payment_response import ApiResponseOfPaymentResponse from yapily.models.api_response_of_payment_responses import ApiResponseOfPaymentResponses from yapily.models.api_response_of_transfer_response import ApiResponseOfTransferResponse from yapily.models.api_response_of_user_delete_response import ApiResponseOfUserDeleteResponse from yapily.models.application import Application from yapily.models.application_user import ApplicationUser from yapily.models.authorisation_request_response import AuthorisationRequestResponse from yapily.models.balance import Balance from yapily.models.branch import Branch from yapily.models.bulk_user_delete import BulkUserDelete from yapily.models.bulk_user_delete_details import BulkUserDeleteDetails from yapily.models.charge_details import ChargeDetails from yapily.models.consent import Consent from yapily.models.consent_auth_code_request import ConsentAuthCodeRequest from yapily.models.consent_delete_response import ConsentDeleteResponse from yapily.models.core_product import CoreProduct from yapily.models.country import Country from yapily.models.create_consent_access_token import CreateConsentAccessToken from yapily.models.credit_check import CreditCheck from yapily.models.credit_interest import CreditInterest from yapily.models.credit_interest_credit_interest_eligibility import CreditInterestCreditInterestEligibility from yapily.models.credit_interest_tier_band import CreditInterestTierBand from yapily.models.credit_interest_tier_band_set import CreditInterestTierBandSet from yapily.models.credit_line import CreditLine from yapily.models.currency_exchange import CurrencyExchange from yapily.models.eligibility import Eligibility from yapily.models.eligibility_other_eligibility import EligibilityOtherEligibility from yapily.models.feature_details import FeatureDetails from yapily.models.filter_and_sort import FilterAndSort from yapily.models.frequency_response import FrequencyResponse from yapily.models.geo_location1 import GeoLocation1 from yapily.models.geographic_coordinates1 import GeographicCoordinates1 from yapily.models.id_verification_check import IDVerificationCheck from yapily.models.identity import Identity from yapily.models.identity_address import IdentityAddress from yapily.models.inline_response2001_atm import InlineResponse2001ATM from yapily.models.inline_response2001_other_atm_services import InlineResponse2001OtherATMServices from yapily.models.inline_response2001_other_accessibility import InlineResponse2001OtherAccessibility from yapily.models.institution import Institution from yapily.models.institution_consent import InstitutionConsent from yapily.models.iso_bank_transaction_code import IsoBankTransactionCode from yapily.models.iso_code_details import IsoCodeDetails from yapily.models.location import Location from yapily.models.location_other_location_category import LocationOtherLocationCategory from yapily.models.media import Media from yapily.models.merchant import Merchant from yapily.models.merchant_info import MerchantInfo from yapily.models.monitoring_feature_status import MonitoringFeatureStatus from yapily.models.multi_authorisation import MultiAuthorisation from yapily.models.new_application_user import NewApplicationUser from yapily.models.next import Next from yapily.models.one_time_token_request import OneTimeTokenRequest from yapily.models.other_application_frequency import OtherApplicationFrequency from yapily.models.other_bank_interest_type import OtherBankInterestType from yapily.models.other_calculation_frequency import OtherCalculationFrequency from yapily.models.other_fee_rate_type import OtherFeeRateType from yapily.models.other_fee_type import OtherFeeType from yapily.models.other_residency_type import OtherResidencyType from yapily.models.other_type import OtherType from yapily.models.overdraft import Overdraft from yapily.models.overdraft_other_fee_type import OverdraftOtherFeeType from yapily.models.overdraft_overdraft_fee_charge_cap import OverdraftOverdraftFeeChargeCap from yapily.models.overdraft_overdraft_fee_charge_detail import OverdraftOverdraftFeeChargeDetail from yapily.models.overdraft_overdraft_fees_charges import OverdraftOverdraftFeesCharges from yapily.models.overdraft_overdraft_fees_charges1 import OverdraftOverdraftFeesCharges1 from yapily.models.overdraft_overdraft_tier_band import OverdraftOverdraftTierBand from yapily.models.overdraft_overdraft_tier_band_set import OverdraftOverdraftTierBandSet from yapily.models.pagination import Pagination from yapily.models.payee import Payee from yapily.models.payment_authorisation_request import PaymentAuthorisationRequest from yapily.models.payment_request import PaymentRequest from yapily.models.payment_response import PaymentResponse from yapily.models.payment_responses import PaymentResponses from yapily.models.payment_status_details import PaymentStatusDetails from yapily.models.personal_current_account_brand import PersonalCurrentAccountBrand from yapily.models.personal_current_account_data import PersonalCurrentAccountData from yapily.models.personal_current_account_pca import PersonalCurrentAccountPCA from yapily.models.personal_current_account_pca_marketing_state import PersonalCurrentAccountPCAMarketingState from yapily.models.postal_address1 import PostalAddress1 from yapily.models.proprietary_bank_transaction_code import ProprietaryBankTransactionCode from yapily.models.residency_eligibility import ResidencyEligibility from yapily.models.response_entity import ResponseEntity from yapily.models.response_list_meta import ResponseListMeta from yapily.models.response_meta import ResponseMeta from yapily.models.site import Site from yapily.models.sort_code_payment_auth_request import SortCodePaymentAuthRequest from yapily.models.sort_code_payment_request import SortCodePaymentRequest from yapily.models.statement_reference import StatementReference from yapily.models.transaction import Transaction from yapily.models.transfer_request import TransferRequest from yapily.models.transfer_response import TransferResponse from yapily.models.user_delete_request import UserDeleteRequest from yapily.models.user_delete_response import UserDeleteResponse from yapily.models.yapily_access_token import YapilyAccessToken
63.427586
158
0.905186
1,093
9,197
7.359561
0.235133
0.157882
0.252611
0.051964
0.231726
0.182745
0.11089
0.018647
0
0
0
0.004876
0.06339
9,197
144
159
63.868056
0.928953
0.035229
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
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
4
0e19558500b4736f06b66a48c43be887cdf4fbb3
188
py
Python
tests/testapp/app/handlers/v1/__init__.py
gtmanfred/teststack
c7f671b45b81a036abcb21df6f1ef26c8a138e93
[ "Apache-2.0" ]
1
2021-11-09T18:44:40.000Z
2021-11-09T18:44:40.000Z
tests/testapp/app/handlers/v1/__init__.py
gtmanfred/teststack
c7f671b45b81a036abcb21df6f1ef26c8a138e93
[ "Apache-2.0" ]
2
2021-11-11T17:43:42.000Z
2022-03-08T19:26:31.000Z
tests/testapp/app/handlers/v1/__init__.py
gtmanfred/teststack
c7f671b45b81a036abcb21df6f1ef26c8a138e93
[ "Apache-2.0" ]
null
null
null
from flask import Blueprint from . import health blueprint = Blueprint('v1', __name__, url_prefix='/api/v1') blueprint.add_url_rule('/health', view_func=health.Health.as_view('health'))
26.857143
76
0.765957
27
188
5
0.555556
0
0
0
0
0
0
0
0
0
0
0.011696
0.090426
188
6
77
31.333333
0.777778
0
0
0
0
0
0.117021
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.75
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
1
0
4