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
09efa5740919f4f4e29eab879b43db8fab69c47e
602
py
Python
Class1/ex6_YAML_JSON_write.py
karimjamali/Class-1
64a97e143dd0a9bd0e177481a6a858638bfd3766
[ "Apache-2.0" ]
null
null
null
Class1/ex6_YAML_JSON_write.py
karimjamali/Class-1
64a97e143dd0a9bd0e177481a6a858638bfd3766
[ "Apache-2.0" ]
null
null
null
Class1/ex6_YAML_JSON_write.py
karimjamali/Class-1
64a97e143dd0a9bd0e177481a6a858638bfd3766
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env/python import yaml import json import pprint def main(): #my_dict={'karim':'32','yasmine':'26','amine':'1','dad':'76','mum':'67'} yaml_output="yaml_output.yml" json_output="json_output.json" my_dict={} my_dict['karim']='32' my_dict['yasmine']='26' my_dict['amine']='1' my_dict['dad']='76' my...
18.8125
72
0.657807
101
602
3.643564
0.435644
0.130435
0.059783
0.070652
0
0
0
0
0
0
0
0.033962
0.119601
602
31
73
19.419355
0.660377
0.151163
0
0
0
0
0.192534
0
0
0
0
0
0
0
null
null
0
0.15
null
null
0.1
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
1
0
0
0
0
0
0
0
0
1
09f3cc9b83331576ee6b81c65421ead745ae9825
395
py
Python
bing_images/utils.py
walmsles/bing-cli-python
8d9dff7efea21862060e18e6cb31928cda8f3bab
[ "MIT" ]
null
null
null
bing_images/utils.py
walmsles/bing-cli-python
8d9dff7efea21862060e18e6cb31928cda8f3bab
[ "MIT" ]
4
2021-01-02T03:30:01.000Z
2021-01-02T04:41:50.000Z
bing_images/utils.py
walmsles/bing-images-python
8d9dff7efea21862060e18e6cb31928cda8f3bab
[ "MIT" ]
null
null
null
import os import os.path def get_image_path(): """get image path from environment var and validate it is a valid folder""" image_path = os.environ.get('BING_IMAGE_PATH') if image_path == None: raise Exception('Failed: BING_IMAGE_PATH env var not defined') if not os.path.isdir(image_path): raise Exception(f'...
30.384615
76
0.75443
66
395
4.318182
0.469697
0.315789
0.136842
0.133333
0
0
0
0
0
0
0
0
0.146835
395
13
77
30.384615
0.845697
0.174684
0
0
0
0
0.345794
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0
0.444444
0
0
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
0
0
0
0
0
1
09f80b0c0c1529d0a61133b8e6529708440ff767
1,248
py
Python
tool/cpp_test_generator/cpp_test_generator.py
zoloypzuo/ZeloPy
43d9242a509737fe1bb66deba73aa9e749b53c62
[ "MIT" ]
null
null
null
tool/cpp_test_generator/cpp_test_generator.py
zoloypzuo/ZeloPy
43d9242a509737fe1bb66deba73aa9e749b53c62
[ "MIT" ]
null
null
null
tool/cpp_test_generator/cpp_test_generator.py
zoloypzuo/ZeloPy
43d9242a509737fe1bb66deba73aa9e749b53c62
[ "MIT" ]
null
null
null
def compile(fn): return '"C:\\Python27\\python.exe" -m compileall py\\%s.py\n' % fn def mv(fn): return 'move py\\%s.pyc pyc\n' % fn def writeall(text, fn): with open(fn, 'w') as f: f.write(text) TEST_FILES = [ 'hello', # ch 4 'test_if', 'test_var', 'test_while', 'simple...
16.421053
89
0.605769
189
1,248
3.883598
0.449735
0.061308
0.016349
0.029973
0.043597
0
0
0
0
0
0
0.01417
0.208333
1,248
75
90
16.64
0.728745
0.067308
0
0.06
0
0
0.382556
0.083765
0
0
0
0.013333
0
1
0.06
false
0
0.02
0.04
0.12
0.14
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
1
0
0
0
0
0
0
0
0
0
0
1
61d2eabc13282af21587dd088dc33dd8305f17ee
996
py
Python
code-1mwtt/ex16_poly_sum.py
shilpasayura/bk
2b0a1aa9300da80e201264bcf80226b3c5ff4ad6
[ "MIT" ]
4
2018-09-08T10:30:27.000Z
2021-07-23T07:59:24.000Z
code-1mwtt/ex16_poly_sum.py
shilpasayura/bk
2b0a1aa9300da80e201264bcf80226b3c5ff4ad6
[ "MIT" ]
null
null
null
code-1mwtt/ex16_poly_sum.py
shilpasayura/bk
2b0a1aa9300da80e201264bcf80226b3c5ff4ad6
[ "MIT" ]
6
2018-09-07T05:54:17.000Z
2021-07-23T07:59:25.000Z
def poly_sum(xs, ys): # return the list representing the sum of the polynomials represented by the # lists xs and ys zs = [] l = min(len(xs), len(ys)) for i in range(0, l): zs.append(xs[i] + ys[i]) if len(xs) > len(ys): for i in range(l, len(xs)): zs.append(xs[i]) ...
34.344828
92
0.534137
177
996
2.903955
0.293785
0.124514
0.029183
0.064202
0.38716
0.324903
0.210117
0.210117
0.128405
0.128405
0
0.066025
0.27008
996
29
93
34.344828
0.64099
0.090361
0
0.083333
0
0
0.089701
0
0
0
0
0
0
1
0.083333
false
0.083333
0
0
0.125
0.125
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
0
1
0
0
0
0
0
1
61e397133f84ebc2600231bee00add71abf4bf98
3,283
py
Python
blcalc/methods/terzaghi.py
rupakbajgain/BLCalc
e6bea401911af2b14672bb61021c982a1041c14e
[ "MIT" ]
null
null
null
blcalc/methods/terzaghi.py
rupakbajgain/BLCalc
e6bea401911af2b14672bb61021c982a1041c14e
[ "MIT" ]
1
2020-09-12T12:14:38.000Z
2020-09-12T12:14:38.000Z
blcalc/methods/terzaghi.py
rupakbajgain/BLCalc
e6bea401911af2b14672bb61021c982a1041c14e
[ "MIT" ]
null
null
null
""" Terzaghi method for square fondation """ #TODO: consider local shear correction of soil #Use interpolation based method since using formula is not giving result #Need fix from math import exp, pi from ..dmath import tan, cos, sin # (Note: from Boweles, Foundation analysis and design, "Terzaghi never # explained.....
34.197917
140
0.636917
497
3,283
4.082495
0.303823
0.065057
0.0552
0.047314
0.337112
0.282405
0.262691
0.262691
0.222277
0.204041
0
0.051028
0.229973
3,283
95
141
34.557895
0.751582
0.232105
0
0.071429
0
0
0.01228
0
0
0
0
0.010526
0
1
0.160714
false
0
0.053571
0.089286
0.392857
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
1
0
0
0
0
0
0
0
0
0
0
1
61f04df590470f20a95ddd74bf8da718869daa71
468
py
Python
QuestionsBidding/bidding/migrations/0002_allotment.py
Athi223/Questions-Bidding
e203262e6e95e0a2ebe799d70d2fd2e0b4ba4112
[ "MIT" ]
null
null
null
QuestionsBidding/bidding/migrations/0002_allotment.py
Athi223/Questions-Bidding
e203262e6e95e0a2ebe799d70d2fd2e0b4ba4112
[ "MIT" ]
null
null
null
QuestionsBidding/bidding/migrations/0002_allotment.py
Athi223/Questions-Bidding
e203262e6e95e0a2ebe799d70d2fd2e0b4ba4112
[ "MIT" ]
null
null
null
# Generated by Django 3.2.5 on 2021-07-17 06:41 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('bidding', '0001_initial'), ] operations = [ migrations.CreateModel( name='Allotment', fields=[ ('roo...
22.285714
84
0.557692
44
468
5.863636
0.863636
0
0
0
0
0
0
0
0
0
0
0.059375
0.316239
468
20
85
23.4
0.746875
0.096154
0
0
1
0
0.106888
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
61f491bf6a8aa725f50035c210d57f67cfd39eb7
3,631
py
Python
finetune_v2/tasks/text_to_code/code_generation/eval.py
serjtroshin/PLBART
58e5de3041a2fc8b98e54648c6489fb3c23db9cb
[ "MIT" ]
null
null
null
finetune_v2/tasks/text_to_code/code_generation/eval.py
serjtroshin/PLBART
58e5de3041a2fc8b98e54648c6489fb3c23db9cb
[ "MIT" ]
null
null
null
finetune_v2/tasks/text_to_code/code_generation/eval.py
serjtroshin/PLBART
58e5de3041a2fc8b98e54648c6489fb3c23db9cb
[ "MIT" ]
null
null
null
import argparse import logging import os from pathlib import Path logging.basicConfig(level=logging.INFO) from submit import submit_local def run_generate(args): logging.info("run_generate") model = args.save_dir + f"/{args.model_name}" FILE_PREF = args.save_dir + "/output" additional = "" args....
30.258333
118
0.635362
484
3,631
4.524793
0.252066
0.047489
0.0621
0.069406
0.485388
0.46895
0.404566
0.29589
0.260274
0.260274
0
0.006925
0.204627
3,631
120
119
30.258333
0.751385
0.143211
0
0.282353
1
0.011765
0.40517
0.033926
0
0
0
0
0
1
0.058824
false
0
0.058824
0
0.117647
0.011765
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
61fa6249997654b24650f44d3426ce04bc5c5a8f
625
py
Python
sols/696.py
Paul11100/LeetCode
9896c579dff1812c0c76964db8d60603ee715e35
[ "MIT" ]
null
null
null
sols/696.py
Paul11100/LeetCode
9896c579dff1812c0c76964db8d60603ee715e35
[ "MIT" ]
null
null
null
sols/696.py
Paul11100/LeetCode
9896c579dff1812c0c76964db8d60603ee715e35
[ "MIT" ]
null
null
null
class Solution: # Count Consecutive Groups (Top Voted), O(n) time and space def countBinarySubstrings(self, s: str) -> int: s = list(map(len, s.replace('01', '0 1').replace('10', '1 0').split())) return sum(min(a, b) for a, b in zip(s, s[1:])) # Linear Scan (Solution), O(n) time, O(1) space...
34.722222
79
0.4976
95
625
3.273684
0.463158
0.090032
0.038585
0.212219
0.257235
0.257235
0.257235
0
0
0
0
0.041262
0.3408
625
17
80
36.764706
0.713592
0.1648
0
0.153846
0
0
0.019268
0
0
0
0
0
0
1
0.153846
false
0
0
0
0.384615
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
0
0
0
0
0
0
0
1
110989ecd2fff551f742df6f163dd23a0464fe4a
4,456
py
Python
root/bin/confd_update_slurm.py
ChristianKniep/docker-compute
85919ba04b4406508663128bd486b4cdba37313c
[ "MIT" ]
6
2015-03-23T22:42:58.000Z
2017-01-08T01:03:57.000Z
root/bin/confd_update_slurm.py
ChristianKniep/docker-slurmctld
59423c6fc4a9d0cc4deed2d7bb5f2fab3b5af812
[ "MIT" ]
1
2016-03-17T13:37:26.000Z
2016-03-19T10:48:32.000Z
root/bin/confd_update_slurm.py
ChristianKniep/docker-slurmctld
59423c6fc4a9d0cc4deed2d7bb5f2fab3b5af812
[ "MIT" ]
4
2015-08-26T19:48:56.000Z
2021-09-13T19:33:51.000Z
#! /usr/bin/env python2.7 # -*- coding: utf-8 -*- """ Usage: confd_update_slurm.py [options] Options: -h --help Show this screen. --version Show version. --daemon=<str> Daemon to restart [default: slurmd] --onetime Just run the iteration once --watch-ti...
31.380282
106
0.552513
532
4,456
4.473684
0.340226
0.071849
0.028571
0.02395
0.108403
0
0
0
0
0
0
0.007232
0.317325
4,456
141
107
31.602837
0.775148
0.019973
0
0.11828
0
0.010753
0.190172
0.09578
0
0
0
0
0.010753
0
null
null
0.021505
0.086022
null
null
0.043011
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
1
0
0
0
0
0
0
0
0
1
110d52ccc9b8be9b5de1d6569021784daf36cb6d
327
py
Python
base/migrations/0006_remove_contact_subject.py
HenryOchieng/Henry-Ndaga
a6d82d87455f7b1d6041e08de195c683fc02adf4
[ "bzip2-1.0.6" ]
1
2021-07-07T09:47:15.000Z
2021-07-07T09:47:15.000Z
base/migrations/0006_remove_contact_subject.py
HenryOchieng/Henry-Ndaga
a6d82d87455f7b1d6041e08de195c683fc02adf4
[ "bzip2-1.0.6" ]
null
null
null
base/migrations/0006_remove_contact_subject.py
HenryOchieng/Henry-Ndaga
a6d82d87455f7b1d6041e08de195c683fc02adf4
[ "bzip2-1.0.6" ]
null
null
null
# Generated by Django 3.1.6 on 2021-04-08 10:03 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('base', '0005_auto_20210408_1248'), ] operations = [ migrations.RemoveField( model_name='contact', name='subject', ),...
18.166667
47
0.590214
35
327
5.4
0.857143
0
0
0
0
0
0
0
0
0
0
0.134783
0.296636
327
17
48
19.235294
0.686957
0.137615
0
0
1
0
0.146429
0.082143
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
111be2e68af41ba240538c3b4bc62450e3c3bead
2,197
py
Python
initNavigation.py
eks-yj/md_blog
e6d51916a078a084f5a048e1420b6bd110bfe6cb
[ "Apache-2.0" ]
1
2017-10-18T03:14:55.000Z
2017-10-18T03:14:55.000Z
initNavigation.py
eks-yj/md_blog
e6d51916a078a084f5a048e1420b6bd110bfe6cb
[ "Apache-2.0" ]
null
null
null
initNavigation.py
eks-yj/md_blog
e6d51916a078a084f5a048e1420b6bd110bfe6cb
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # !/usr/bin/env python2 import os import sys reload(sys) sys.setdefaultencoding('utf-8') print sys.getdefaultencoding() next_line_tag = '\n' navigation = [u"关于我",u"Java",u"数据库",u"设计模式",u"集成框架",u"Linux",u"Go",u"Python",u"Docker",u"大前端",u"工具",u"解决方案",u"管理相关",u"面试题"] navigationName = 'navigation...
32.791045
158
0.554848
273
2,197
4.260073
0.333333
0.082545
0.094583
0.065348
0.263972
0.151333
0.108341
0.060189
0
0
0
0.013487
0.291306
2,197
66
159
33.287879
0.733462
0.086026
0
0.088889
0
0
0.093594
0.012513
0
0
0
0
0
0
null
null
0
0.044444
null
null
0.044444
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
1
0
0
0
0
0
0
0
0
1
111cf2dc8af6c9d4d56258beed98d784e3c0c46d
594
py
Python
Example/porn.py
goodop/api-imjustgood.com
6406b531c4393fa8a4ace3c206d23895da915caf
[ "MIT" ]
4
2021-01-01T10:20:13.000Z
2021-11-08T09:32:54.000Z
Example/porn.py
goodop/api-imjustgood.com
6406b531c4393fa8a4ace3c206d23895da915caf
[ "MIT" ]
null
null
null
Example/porn.py
goodop/api-imjustgood.com
6406b531c4393fa8a4ace3c206d23895da915caf
[ "MIT" ]
25
2021-01-09T18:22:32.000Z
2021-05-29T07:42:06.000Z
from justgood import imjustgood media = imjustgood("YOUR_APIKEY_HERE") query = "blonde" # example query data = media.porn(query) # Get attributes result = "Porn Videos" result += "\nTitle : {}".format(data["result"]["title"]) result += "\nDuration : {}".format(data["result"]["duration"]) result += "\nQuality : {}".fo...
31.263158
67
0.661616
70
594
5.585714
0.5
0.153453
0.245524
0.086957
0
0
0
0
0
0
0
0
0.102694
594
18
68
33
0.733583
0.075758
0
0
0
0
0.377982
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
0.153846
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
0
0
0
0
0
0
0
1
112a110f56fcf4ce69e725b2b0c0d301459d176d
448
py
Python
songbase/manage.py
missystrab/misy350-s18-exercises
67ce7bd7be0e3aa0978889460465dd2e1a7a1e68
[ "MIT" ]
null
null
null
songbase/manage.py
missystrab/misy350-s18-exercises
67ce7bd7be0e3aa0978889460465dd2e1a7a1e68
[ "MIT" ]
null
null
null
songbase/manage.py
missystrab/misy350-s18-exercises
67ce7bd7be0e3aa0978889460465dd2e1a7a1e68
[ "MIT" ]
null
null
null
from flask_script import Manager from songbase import app, db, Artist manager = Manager(app) @manager.command def deploy(): db.drop_all() db.create_all() print "inserting initial data" coldplay = Artist(name="coldplay", about="this is coldplay") m5 = Artist(name="Maroon 5", about="this is maroon ...
20.363636
64
0.678571
62
448
4.725806
0.532258
0.09215
0.075085
0
0
0
0
0
0
0
0
0.01105
0.191964
448
21
65
21.333333
0.798343
0
0
0
0
0
0.174107
0
0
0
0
0
0
0
null
null
0
0.133333
null
null
0.066667
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
1
0
0
0
0
0
0
0
0
1
112a3295102af6bdc6958354383d7c56f05b5291
368
py
Python
setup.py
nicholasbishop/modrezip
2d1b61894e6e9144d8dc96fc3eb24def7629cc1c
[ "Apache-2.0" ]
null
null
null
setup.py
nicholasbishop/modrezip
2d1b61894e6e9144d8dc96fc3eb24def7629cc1c
[ "Apache-2.0" ]
null
null
null
setup.py
nicholasbishop/modrezip
2d1b61894e6e9144d8dc96fc3eb24def7629cc1c
[ "Apache-2.0" ]
null
null
null
from setuptools import setup setup(name='modrezip', version='1.0.0', description='module for creating a modified copy of a zip file', author='Nicholas Bishop', author_email='nicholasbishop@gmail.com', license='Apache License 2.0', packages=['modrezip'], url='https://github.com...
30.666667
70
0.668478
46
368
5.304348
0.76087
0
0
0
0
0
0
0
0
0
0
0.017007
0.201087
368
11
71
33.454545
0.812925
0
0
0
0
0
0.459239
0.065217
0
0
0
0
0
1
0
true
0
0.1
0
0.1
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
0
0
0
0
0
0
1
112a7710e1cffca73a5f4478dc9f52097be3c4d2
450
py
Python
group06/operadores/Arithmetic.py
Luisets/HeuristicOp
ce54badfee8a218c68cf47a3f5478d61908dc9e8
[ "MIT" ]
null
null
null
group06/operadores/Arithmetic.py
Luisets/HeuristicOp
ce54badfee8a218c68cf47a3f5478d61908dc9e8
[ "MIT" ]
null
null
null
group06/operadores/Arithmetic.py
Luisets/HeuristicOp
ce54badfee8a218c68cf47a3f5478d61908dc9e8
[ "MIT" ]
null
null
null
from ..CrossoverOperator import CrossoverOperator from ..Genome import Genome class Arithmetic(CrossoverOperator): def __init__(self, f_fitnes): self.K = 0.9 self.f_fitnes = f_fitnes pass def apply(self, genomes): x_i = genomes[0].getSolution() mutant = genomes[1].getS...
23.684211
50
0.626667
56
450
4.839286
0.428571
0.103321
0.121771
0
0
0
0
0
0
0
0
0.012232
0.273333
450
18
51
25
0.816514
0
0
0.214286
0
0
0
0
0
0
0
0
0
1
0.142857
false
0.214286
0.142857
0
0.428571
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
0
1
0
0
0
0
0
1
112bb5e943f467a1fcc2fbbe8d0e81ea3e15fa8f
7,001
py
Python
python/tk_desktop_timecard/user_cache.py
ajoss/tk-desktop-timecard
188e3a9f09b1c69b1200fdd02f492ce2ab55378b
[ "BSD-Source-Code" ]
10
2018-10-29T04:36:52.000Z
2022-01-28T17:07:04.000Z
python/tk_desktop_timecard/user_cache.py
demon7x/tk-desktop-timecard
6f4ddb8497f29c3fc33481667fb34154b93caa05
[ "BSD-Source-Code" ]
null
null
null
python/tk_desktop_timecard/user_cache.py
demon7x/tk-desktop-timecard
6f4ddb8497f29c3fc33481667fb34154b93caa05
[ "BSD-Source-Code" ]
7
2018-11-06T15:33:22.000Z
2021-12-21T18:19:29.000Z
# Copyright (c) 2015 Shotgun Software Inc. # # CONFIDENTIAL AND PROPRIETARY # # This work is provided "AS IS" and subject to the Shotgun Pipeline Toolkit # Source Code License included in this distribution package. See LICENSE. # By accessing, using, copying or modifying this work you indicate your # agreement to t...
36.274611
118
0.606199
922
7,001
4.407809
0.211497
0.035433
0.019931
0.025098
0.296506
0.21875
0.181102
0.15625
0.096949
0.096949
0
0.001272
0.326382
7,001
193
119
36.274611
0.860475
0.141551
0
0.166667
0
0
0.032833
0
0
0
0
0.005181
0
0
null
null
0.02381
0.059524
null
null
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
1
0
0
0
0
0
0
0
0
1
112d630207bbbd3b7725781c744ecec17bd7cadc
3,469
py
Python
python/lsst/eo_utils/dark/meta_analysis.py
lsst-camera-dh/EO-utilities
28418284fdaf2b2fb0afbeccd4324f7ad3e676c8
[ "BSD-3-Clause-LBNL" ]
1
2019-05-21T22:40:20.000Z
2019-05-21T22:40:20.000Z
python/lsst/eo_utils/dark/meta_analysis.py
lsst-camera-dh/EO-utilities
28418284fdaf2b2fb0afbeccd4324f7ad3e676c8
[ "BSD-3-Clause-LBNL" ]
2
2018-01-26T18:59:05.000Z
2020-12-03T17:50:46.000Z
python/lsst/eo_utils/dark/meta_analysis.py
lsst-camera-dh/EO-utilities
28418284fdaf2b2fb0afbeccd4324f7ad3e676c8
[ "BSD-3-Clause-LBNL" ]
1
2018-01-11T22:50:35.000Z
2018-01-11T22:50:35.000Z
"""Functions to analyse summary data from bias and superbias frames""" from lsst.eo_utils.base.config_utils import EOUtilOptions from lsst.eo_utils.base.iter_utils import TableAnalysisByRaft,\ SummaryAnalysisIterator, TableAnalysisBySlot from lsst.eo_utils.base.analysis import AnalysisConfig, AnalysisTask from ...
32.726415
71
0.783799
349
3,469
7.510029
0.206304
0.069439
0.087753
0.022892
0.542541
0.367799
0.306753
0.306753
0.306753
0.306753
0
0
0.152494
3,469
105
72
33.038095
0.891497
0.179014
0
0.232143
0
0
0.065023
0.037871
0
0
0
0
0
1
0
false
0
0.071429
0
0.892857
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
0
0
0
0
1
0
0
1
112d98f5081c4b8753eceade5de06f840291ca90
1,351
py
Python
Python_L2_Assignment/inheritenceEx.py
deb991/TopGear__Projects_n_Assignments
f86cd4883feb40ab3ae0740a7f83c9ecf05df053
[ "MIT" ]
null
null
null
Python_L2_Assignment/inheritenceEx.py
deb991/TopGear__Projects_n_Assignments
f86cd4883feb40ab3ae0740a7f83c9ecf05df053
[ "MIT" ]
null
null
null
Python_L2_Assignment/inheritenceEx.py
deb991/TopGear__Projects_n_Assignments
f86cd4883feb40ab3ae0740a7f83c9ecf05df053
[ "MIT" ]
null
null
null
#!/usr/bin/env python import os import sys class first(): def __init__(self): print('This is the fist class, which will be inharited by second & third class in this program \n') self.order = 1 def method1(self): order = self.order print(order) pass clas...
22.147541
108
0.543301
158
1,351
4.35443
0.297468
0.156977
0.063953
0.110465
0.492733
0.492733
0.452035
0.452035
0.452035
0.34157
0
0.027211
0.34715
1,351
60
109
22.516667
0.752834
0.014804
0
0.5
0
0
0.119685
0
0
0
0
0
0
1
0.166667
false
0.083333
0.041667
0
0.291667
0.125
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
0
1
0
0
0
0
0
1
1133c2df639bf31318b167ca9df6c48ada6cfd0d
8,894
py
Python
capstone/Capstone/Capstone/Classifiers/Transfer.py
Ayshine/machine-learning
e64800534b75b6488afe0a4dabfd995956983a54
[ "MIT" ]
2
2018-03-24T23:11:19.000Z
2018-04-05T10:04:19.000Z
capstone/Capstone/Capstone/Classifiers/Transfer.py
Ayshine/machine-learning
e64800534b75b6488afe0a4dabfd995956983a54
[ "MIT" ]
13
2020-11-13T17:59:17.000Z
2022-03-11T23:29:33.000Z
capstone/Capstone/Capstone/Classifiers/Transfer.py
Ayshine/machine-learning
e64800534b75b6488afe0a4dabfd995956983a54
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Fri Oct 27 10:00:12 2017 @author: Ayshine """ from sklearn.datasets import load_files from keras.utils import np_utils import numpy as np from glob import glob import os import cv2 # load labelled data def load_labelled_dataset(path): data = load_files(path) cla...
32.698529
132
0.720935
1,360
8,894
4.555147
0.231618
0.011622
0.010654
0.007748
0.228733
0.196772
0.179015
0.179015
0.179015
0.179015
0
0.027122
0.166742
8,894
272
133
32.698529
0.808798
0.213065
0
0.181818
0
0
0.112868
0.012767
0
0
0
0
0
0
null
null
0.006494
0.12987
null
null
0.116883
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
1
0
0
0
0
0
0
0
0
1
1136be4fcc845e31d01eb097a1aceaaee5c53f24
218
py
Python
dist_zero/cgen/common.py
koreiklein/dist_zero
68ef5a0603edc53925daeec1f4bb684025cacbd4
[ "Unlicense" ]
1
2019-03-18T13:27:35.000Z
2019-03-18T13:27:35.000Z
dist_zero/cgen/common.py
koreiklein/dist_zero
68ef5a0603edc53925daeec1f4bb684025cacbd4
[ "Unlicense" ]
null
null
null
dist_zero/cgen/common.py
koreiklein/dist_zero
68ef5a0603edc53925daeec1f4bb684025cacbd4
[ "Unlicense" ]
null
null
null
import json def escape_c_string(s): return json.dumps(s) global_i = [0] def inc_i(): global_i[0] += 1 return global_i[0] INDENT = ' ' INDENT_TWO = INDENT + INDENT INDENT_THREE = INDENT + INDENT + INDENT
11.473684
39
0.665138
35
218
3.914286
0.485714
0.437956
0.175182
0
0
0
0
0
0
0
0
0.023392
0.215596
218
18
40
12.111111
0.777778
0
0
0
0
0
0.009174
0
0
0
0
0
0
1
0.2
false
0
0.1
0.1
0.5
0
0
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
0
0
0
0
0
1
11386a3af2ba33f5030673d2b1215a259de8488a
8,662
py
Python
project/accounts/tests/test_password_reset.py
beijbom/coralnet
c3f4a44eeb60cb41a079329a0068dc8b34096e89
[ "BSD-2-Clause" ]
31
2019-12-08T14:22:52.000Z
2021-12-27T04:58:12.000Z
project/accounts/tests/test_password_reset.py
beijbom/coralnet
c3f4a44eeb60cb41a079329a0068dc8b34096e89
[ "BSD-2-Clause" ]
193
2019-12-07T23:27:43.000Z
2022-03-05T08:05:46.000Z
project/accounts/tests/test_password_reset.py
beijbom/coralnet
c3f4a44eeb60cb41a079329a0068dc8b34096e89
[ "BSD-2-Clause" ]
null
null
null
from django.conf import settings from django.core import mail from django.urls import reverse from django.utils.html import escape from lib.tests.utils import BasePermissionTest, ClientTest class PermissionTest(BasePermissionTest): def test_password_reset(self): url = reverse('password_reset') t...
38.327434
79
0.640383
979
8,662
5.509704
0.220633
0.072303
0.060252
0.053393
0.590286
0.519095
0.493882
0.486652
0.474601
0.431034
0
0.001903
0.271993
8,662
225
80
38.497778
0.853473
0.157469
0
0.5375
0
0
0.209842
0.097595
0
0
0
0
0.2
1
0.08125
false
0.26875
0.03125
0
0.13125
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
0
1
0
0
0
0
0
1
11448789863f80c7d9a4e84d38771278bde53e4d
2,790
py
Python
src/ctc/binary/hashes.py
fei-protocol/checkthechain
ec838f3d0d44af228f45394d9ba8d8eb7f677520
[ "MIT" ]
94
2022-02-15T19:34:49.000Z
2022-03-26T19:26:22.000Z
src/ctc/binary/hashes.py
fei-protocol/checkthechain
ec838f3d0d44af228f45394d9ba8d8eb7f677520
[ "MIT" ]
7
2022-03-03T02:58:47.000Z
2022-03-11T18:41:05.000Z
src/ctc/binary/hashes.py
fei-protocol/checkthechain
ec838f3d0d44af228f45394d9ba8d8eb7f677520
[ "MIT" ]
7
2022-02-15T17:53:07.000Z
2022-03-17T19:14:17.000Z
from __future__ import annotations import typing from typing_extensions import Literal from ctc import spec from . import formats @typing.overload def keccak( data: spec.BinaryInteger, output_format: Literal['integer'], library: typing.Optional[typing.Literal['pysha3', 'pycryptodome']] = None, ) -> int:...
24.910714
78
0.65914
313
2,790
5.773163
0.210863
0.073049
0.092972
0.119535
0.640841
0.640841
0.640841
0.605977
0.605977
0.605977
0
0.011712
0.204301
2,790
111
79
25.135135
0.802252
0.051971
0
0.641026
0
0
0.123954
0
0
0
0
0
0
1
0.102564
false
0
0.115385
0
0.24359
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
11492ead115fe37d3a5613487eb6e1ba08359fc9
484
py
Python
app/core/migrations/0013_alter_student_phone_number.py
IVEWOR/study-app-platform
87ca2d4b60c6233f02a08f4fea533edcfad0c57c
[ "MIT" ]
null
null
null
app/core/migrations/0013_alter_student_phone_number.py
IVEWOR/study-app-platform
87ca2d4b60c6233f02a08f4fea533edcfad0c57c
[ "MIT" ]
null
null
null
app/core/migrations/0013_alter_student_phone_number.py
IVEWOR/study-app-platform
87ca2d4b60c6233f02a08f4fea533edcfad0c57c
[ "MIT" ]
null
null
null
# Generated by Django 4.0 on 2021-12-17 12:58 from django.db import migrations import phonenumber_field.modelfields class Migration(migrations.Migration): dependencies = [ ('core', '0012_student_author'), ] operations = [ migrations.AlterField( model_name='student', ...
24.2
121
0.650826
52
484
5.923077
0.769231
0.103896
0.175325
0
0
0
0
0
0
0
0
0.0625
0.239669
484
19
122
25.473684
0.774457
0.088843
0
0
1
0
0.104784
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1152dcc119f84b7cc7bb39416b7a9def1b00cd3d
2,753
py
Python
src/main/python/leetcode-python/easy/maxDepth.py
sonymoon/algorithm
cc2a9e0125fc64bdbf6549034bad6482d2027ea2
[ "Apache-2.0" ]
null
null
null
src/main/python/leetcode-python/easy/maxDepth.py
sonymoon/algorithm
cc2a9e0125fc64bdbf6549034bad6482d2027ea2
[ "Apache-2.0" ]
null
null
null
src/main/python/leetcode-python/easy/maxDepth.py
sonymoon/algorithm
cc2a9e0125fc64bdbf6549034bad6482d2027ea2
[ "Apache-2.0" ]
null
null
null
# Definition for a binary tree node. class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None from collections import deque class Solution: def maxDepth(self, root): """ :type root: TreeNode :rtype: int """ if not ...
22.941667
89
0.534326
303
2,753
4.815182
0.240924
0.054832
0.05209
0.06854
0.636737
0.636737
0.636737
0.636737
0.636737
0.636737
0
0.011325
0.358518
2,753
119
90
23.134454
0.814836
0.0247
0
0.640449
0
0
0.010554
0
0
0
0
0
0
1
0.078652
false
0
0.022472
0
0.213483
0.011236
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
febc058a50a0b0b3624600f8b8db892765d04282
2,060
py
Python
vb2py/PythonCard/samples/SourceForgeTracker/SourceForgeTracker.rsrc.py
ceprio/xl_vb2py
899fec0301140fd8bd313e8c80b3fa839b3f5ee4
[ "BSD-3-Clause" ]
null
null
null
vb2py/PythonCard/samples/SourceForgeTracker/SourceForgeTracker.rsrc.py
ceprio/xl_vb2py
899fec0301140fd8bd313e8c80b3fa839b3f5ee4
[ "BSD-3-Clause" ]
null
null
null
vb2py/PythonCard/samples/SourceForgeTracker/SourceForgeTracker.rsrc.py
ceprio/xl_vb2py
899fec0301140fd8bd313e8c80b3fa839b3f5ee4
[ "BSD-3-Clause" ]
null
null
null
# Changes - 7/25/01 - RDS # -Added 'label' item to Menu and MenuItem definitions. # -StaticText.label => StaticText.text # { 'application': { 'type':'Application', 'name':'SourceForgeTracker', 'menubar': { 'type':'MenuBar', 'menus': [ {'type'...
38.148148
183
0.445146
160
2,060
5.73125
0.55625
0.029444
0.058888
0
0
0
0
0
0
0
0
0.047198
0.341748
2,060
53
184
38.867925
0.629056
0.057282
0
0
0
0
0.403926
0
0
0
0
0
0
1
0
true
0
0
0
0
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
0
0
0
0
0
0
1
febefd94802577587132eb92b0bb9d670ec761bc
1,163
py
Python
yelp/client.py
ricwillis98/yelp-python
938045e1ba2b46e31083d9bcf8723624e0edead5
[ "MIT" ]
195
2015-11-11T22:26:54.000Z
2022-03-18T03:19:52.000Z
yelp/client.py
ricwillis98/yelp-python
938045e1ba2b46e31083d9bcf8723624e0edead5
[ "MIT" ]
57
2015-11-11T22:32:05.000Z
2020-10-20T14:50:11.000Z
yelp/client.py
ricwillis98/yelp-python
938045e1ba2b46e31083d9bcf8723624e0edead5
[ "MIT" ]
138
2015-11-12T15:28:10.000Z
2022-02-13T00:56:57.000Z
# -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import unicode_literals import requests import six from yelp.config import API_ROOT_URL from yelp.endpoint.business import BusinessEndpoints from yelp.errors import YelpError class Client(object): def __init__(self, api_key): ...
30.605263
76
0.685297
153
1,163
4.921569
0.477124
0.047809
0.042497
0.047809
0.053121
0
0
0
0
0
0
0.00547
0.214101
1,163
37
77
31.432432
0.818381
0.11264
0
0
0
0
0.036965
0
0
0
0
0
0
1
0.125
false
0
0.291667
0.041667
0.541667
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
0
0
0
0
1
0
0
1
fec313a2dfde7614b601fe82c7d6c201d70a7b93
4,042
py
Python
jsogen/jsogen.py
bukka/jsogen
ca80e72dc4e9abdcec904b22268fcf3888522a10
[ "BSD-3-Clause" ]
null
null
null
jsogen/jsogen.py
bukka/jsogen
ca80e72dc4e9abdcec904b22268fcf3888522a10
[ "BSD-3-Clause" ]
null
null
null
jsogen/jsogen.py
bukka/jsogen
ca80e72dc4e9abdcec904b22268fcf3888522a10
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python import argparse import os from os.path import join import sys from template import Template class TemplateGenerator: """Generate template from supplied arguments Template generator expects parameters processed by argparse in the main function.""" def __init__(self, args): ...
34.844828
105
0.61999
483
4,042
5.095238
0.258799
0.039009
0.032507
0.048761
0.313287
0.277936
0.25193
0.25193
0.224299
0.158472
0
0.001359
0.271895
4,042
115
106
35.147826
0.834862
0.069767
0
0.2
1
0
0.122624
0
0
0
0
0
0
1
0.105882
false
0
0.058824
0
0.235294
0.035294
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fec5500ea9de645cee4709542b555acc1c1f24b1
809
py
Python
armulator/armv6/opcodes/thumb_instruction_set/thumb_instruction_set_encoding_32_bit/thumb_data_processing_plain_binary_immediate/ubfx_t1.py
matan1008/armulator
04d24dcec6ab42326018f5e09331e5b4738d6b52
[ "MIT" ]
16
2018-01-22T14:36:49.000Z
2021-12-17T15:39:52.000Z
armulator/armv6/opcodes/thumb_instruction_set/thumb_instruction_set_encoding_32_bit/thumb_data_processing_plain_binary_immediate/ubfx_t1.py
AhmedMounir/armulator
04d24dcec6ab42326018f5e09331e5b4738d6b52
[ "MIT" ]
3
2019-02-19T17:51:47.000Z
2022-03-31T20:45:21.000Z
armulator/armv6/opcodes/thumb_instruction_set/thumb_instruction_set_encoding_32_bit/thumb_data_processing_plain_binary_immediate/ubfx_t1.py
AhmedMounir/armulator
04d24dcec6ab42326018f5e09331e5b4738d6b52
[ "MIT" ]
4
2020-06-18T23:51:03.000Z
2022-02-09T17:43:13.000Z
from armulator.armv6.opcodes.abstract_opcodes.ubfx import Ubfx from armulator.armv6.opcodes.opcode import Opcode class UbfxT1(Ubfx, Opcode): def __init__(self, instruction, lsbit, widthminus1, d, n): Opcode.__init__(self, instruction) Ubfx.__init__(self, lsbit, widthminus1, d, n) def is_pc_ch...
32.36
109
0.619283
106
809
4.566038
0.462264
0.049587
0.07438
0.103306
0
0
0
0
0
0
0
0.06822
0.257108
809
24
110
33.708333
0.737105
0
0
0
0
0
0.038319
0
0
0
0
0
0
0
null
null
0
0.1
null
null
0.05
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
1
0
0
0
0
0
0
0
0
1
feceb5031e4a7b16654ab70eac6cb5bc9e062520
4,933
py
Python
app.py
arondasamuel123/PasswordLocker
9dfcda39faf2520949575787a3322509aebf29d0
[ "MIT" ]
null
null
null
app.py
arondasamuel123/PasswordLocker
9dfcda39faf2520949575787a3322509aebf29d0
[ "MIT" ]
null
null
null
app.py
arondasamuel123/PasswordLocker
9dfcda39faf2520949575787a3322509aebf29d0
[ "MIT" ]
null
null
null
from client import Client from account_details import AccountDetails import strgen def create_client(fn, ln, email, password): """ Function to create user """ new_acc = Client(fn,ln, email, password) return new_acc def save_client(client): """ Function to save the user to a list """ ...
33.331081
150
0.530914
505
4,933
5.015842
0.219802
0.05527
0.041453
0.039479
0.172917
0.044216
0
0
0
0
0
0.008146
0.377863
4,933
148
151
33.331081
0.817204
0.048247
0
0.123711
0
0.010309
0.243349
0.023768
0
0
0
0
0
1
0.092784
false
0.268041
0.030928
0
0.185567
0.350515
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
0
1
0
0
0
0
0
1
fed797347430cd1fa15dddd0621aab8b6e26af92
2,278
py
Python
tests/case_3_.py
trackow/jigsaw-geo-python
24fc1aaf72d7693ae7155e292c38daff03043a1e
[ "Unlicense" ]
13
2019-06-24T13:10:53.000Z
2021-11-18T07:31:21.000Z
tests/case_3_.py
trackow/jigsaw-geo-python
24fc1aaf72d7693ae7155e292c38daff03043a1e
[ "Unlicense" ]
13
2019-06-11T14:03:27.000Z
2020-01-30T19:35:23.000Z
tests/case_3_.py
dengwirda/jigsaw-geo-python
24fc1aaf72d7693ae7155e292c38daff03043a1e
[ "Unlicense" ]
8
2019-05-16T08:31:26.000Z
2022-01-31T09:30:48.000Z
import os import copy import numpy as np import jigsawpy def case_3_(src_path, dst_path): # DEMO-3: generate multi-resolution spacing, via local refi- # nement along coastlines and shallow ridges. Global grid # resolution is 150KM, background resolution is 67KM and the # min. adaptive resolution is 33KM. opts...
23.729167
60
0.562774
290
2,278
4.313793
0.37931
0.033573
0.047962
0.051958
0.18785
0.11271
0.06235
0.06235
0.06235
0
0
0.029651
0.244952
2,278
95
61
23.978947
0.697674
0.246708
0
0.08
1
0
0.08348
0
0
0
0
0
0
1
0.02
false
0
0.08
0
0.12
0.04
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fed8c18c3d1339c960c8aeae780ff666f6ab45b2
2,320
py
Python
examples/distributed_dl/distributed_ml.py
james-tn/ray-on-aml
e781e653f0989d137154ae89e0256e815c3a40f6
[ "MIT" ]
19
2021-12-14T16:52:32.000Z
2022-03-18T19:58:55.000Z
examples/distributed_dl/distributed_ml.py
james-tn/ray-on-aml
e781e653f0989d137154ae89e0256e815c3a40f6
[ "MIT" ]
8
2021-12-14T18:56:40.000Z
2022-03-02T15:49:12.000Z
examples/distributed_dl/distributed_ml.py
microsoft/ray-on-aml
2fe0795e5fb35d84281f26d2d07b33632edb4fbf
[ "MIT" ]
4
2021-12-15T22:03:17.000Z
2022-02-24T14:44:40.000Z
from ray_on_aml.core import Ray_On_AML from azureml.core import Run import numpy as np import torch import torch.optim as optim import torch.nn as nn from torchvision import datasets, transforms from torch.utils.data import DataLoader import torch.nn.functional as F import ray.train.torch from ray import train from ra...
30.526316
76
0.664655
338
2,320
4.414201
0.399408
0.05429
0.02681
0.020107
0.072386
0.072386
0.044236
0
0
0
0
0.012764
0.223276
2,320
75
77
30.933333
0.815205
0.148707
0
0.115385
0
0
0.073469
0
0
0
0
0
0
1
0.019231
false
0
0.346154
0
0.365385
0.115385
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
0
0
1
0
0
0
0
1
fed915cd3d6eed7a2aa4e2e343eec0835da6c97d
6,600
py
Python
lib/sds/client/clientfactory.py
GeorryHuang/galaxy-sdk-python
265d56709b5ea125fbc89e4bfc05e5e8e8d9fce4
[ "Apache-2.0" ]
17
2015-06-18T07:17:50.000Z
2019-11-20T07:23:33.000Z
lib/sds/client/clientfactory.py
GeorryHuang/galaxy-sdk-python
265d56709b5ea125fbc89e4bfc05e5e8e8d9fce4
[ "Apache-2.0" ]
6
2017-06-08T08:37:55.000Z
2020-12-30T10:08:49.000Z
lib/sds/client/clientfactory.py
GeorryHuang/galaxy-sdk-python
265d56709b5ea125fbc89e4bfc05e5e8e8d9fce4
[ "Apache-2.0" ]
19
2016-09-21T17:34:59.000Z
2020-07-18T22:35:15.000Z
# encoding: utf-8 import os import sys import platform import time import socket import random import uuid from sds.auth import AuthService from sds.admin import AdminService from sds.metrics.Common import EXCUTION_TIME from sds.metrics.metricscollector import MetricsCollector from sds.metrics.requestmetrics import Re...
39.285714
130
0.717273
805
6,600
5.637267
0.185093
0.030851
0.025782
0.038784
0.267298
0.217937
0.20097
0.129352
0.083737
0.046717
0
0.003766
0.195455
6,600
168
131
39.285714
0.850847
0.002273
0
0.122449
0
0
0.032655
0.006379
0
0
0
0
0
0
null
null
0
0.190476
null
null
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
1
0
0
0
0
0
0
0
0
1
fee15265276c55d111195305517852634ef92297
895
py
Python
isolates/log.py
josl/ASM_challenge
f6bc31ab29d7589e259e1f3a2acbb613db6f03f3
[ "Apache-2.0" ]
2
2015-11-12T11:18:11.000Z
2015-11-12T22:29:59.000Z
isolates/log.py
josl/ASM_challenge
f6bc31ab29d7589e259e1f3a2acbb613db6f03f3
[ "Apache-2.0" ]
null
null
null
isolates/log.py
josl/ASM_challenge
f6bc31ab29d7589e259e1f3a2acbb613db6f03f3
[ "Apache-2.0" ]
1
2015-11-10T16:10:36.000Z
2015-11-10T16:10:36.000Z
import logging import sys class log_obj(): ''' Object for handling logging across sevaral modules/scripts USAGE: >>> from log import _logger >>> _logger.Set(filename='metadata.log') >>> _logger.error("error msg %s, %s", 'arg1', 'arg2') ''' def __init__(self): pass def Set(self, filename='...
24.861111
65
0.612291
113
895
4.716814
0.39823
0.11257
0.103189
0.159475
0
0
0
0
0
0
0
0.002915
0.23352
895
35
66
25.571429
0.774052
0.242458
0
0
0
0
0.058104
0.038226
0
0
0
0
0
1
0.28
false
0.04
0.08
0
0.4
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
0
0
0
0
0
0
1
feeda7977b8cc771a6f53890c8380d17b60468c5
555
py
Python
src/example/4.Color_sensor/color_sensor.get_color.py
rundhall/ESP-LEGO-SPIKE-Simulator
dc83b895ff2aac5cf2fe576d0ba98426fea60827
[ "MIT" ]
null
null
null
src/example/4.Color_sensor/color_sensor.get_color.py
rundhall/ESP-LEGO-SPIKE-Simulator
dc83b895ff2aac5cf2fe576d0ba98426fea60827
[ "MIT" ]
null
null
null
src/example/4.Color_sensor/color_sensor.get_color.py
rundhall/ESP-LEGO-SPIKE-Simulator
dc83b895ff2aac5cf2fe576d0ba98426fea60827
[ "MIT" ]
null
null
null
get_color() Retrieves the detected color of a surface. Returns Name of the color. Type : String (text) Values : 'black','violet','blue','cyan','green','yellow','red','white',None Errors RuntimeError The sensor has been disconnected from the Port. Example from spike import ColorSensor # Initialize the Color Sensor p...
14.605263
66
0.722523
82
555
4.841463
0.597561
0.080605
0
0
0
0
0
0
0
0
0
0
0.163964
555
37
67
15
0.855603
0.201802
0
0
0
0
0.139269
0
0
0
0
0
0
0
null
null
0
0.05
null
null
0.1
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
1
0
0
0
0
0
0
0
0
1
fef35382c23ce3c90231319470b6c15144adf2b9
459
py
Python
setup.py
chubbymaggie/dispatch
5a8f3eece1a7511e1c0b204704ff58675af9a0e6
[ "MIT" ]
53
2016-04-28T19:59:25.000Z
2018-09-25T23:48:34.000Z
setup.py
chubbymaggie/dispatch
5a8f3eece1a7511e1c0b204704ff58675af9a0e6
[ "MIT" ]
3
2016-04-29T19:49:48.000Z
2018-04-26T17:59:38.000Z
setup.py
chubbymaggie/dispatch
5a8f3eece1a7511e1c0b204704ff58675af9a0e6
[ "MIT" ]
12
2016-04-29T02:21:27.000Z
2018-09-21T01:38:21.000Z
from setuptools import setup setup( name='dispatch', version='0.9', author='NYU OSIRIS Lab', url='https://github.com/isislab/dispatch', description='Programmatic disassembly and patching from NYU\'s OSIRIS lab', packages=['dispatch', 'dispatch.util', 'dispatch.formats', 'dispatch.analysis'], ...
25.5
84
0.623094
48
459
5.9375
0.770833
0.063158
0
0
0
0
0
0
0
0
0
0.011268
0.22658
459
17
85
27
0.791549
0
0
0
0
0
0.461874
0
0
0
0
0
0
1
0
true
0
0.0625
0
0.0625
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
0
0
0
0
0
0
1
fef5fbb5fdddada74d042de5b357b44486b697ec
439
py
Python
parent/parent/urls.py
BirnadinErick/lab-ctrl
09034bcb52241521e9e951f0b659fabcf2d15744
[ "MIT" ]
null
null
null
parent/parent/urls.py
BirnadinErick/lab-ctrl
09034bcb52241521e9e951f0b659fabcf2d15744
[ "MIT" ]
null
null
null
parent/parent/urls.py
BirnadinErick/lab-ctrl
09034bcb52241521e9e951f0b659fabcf2d15744
[ "MIT" ]
null
null
null
# Imports from django.contrib import admin from django.urls import path, include # BEGIN urlpatterns = [ path('admin/', admin.site.urls), path('watchdog/', include('watchdog.urls')), path('dashboard/', include('dashboard.urls')), path('smarttasks/', include('smarttasks.urls')), path('nursehouse/',...
21.95
52
0.656036
49
439
5.714286
0.44898
0.142857
0
0
0
0
0
0
0
0
0
0
0.154897
439
20
53
21.95
0.754717
0.038724
0
0
0
0
0.305489
0
0
0
0
0
0
1
0
false
0.083333
0.166667
0
0.166667
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
0
1
0
0
0
0
0
1
fef9f9410e94c884c6596d303d4dc70eb9c1373f
10,902
py
Python
Lib/objc/_CloudPhotoLibrary.py
snazari/Pyto
bcea7bbef35cab21ce73087b1a0c00a07d07ec72
[ "MIT" ]
701
2018-10-22T11:54:09.000Z
2022-03-31T14:39:30.000Z
Lib/objc/_CloudPhotoLibrary.py
snazari/Pyto
bcea7bbef35cab21ce73087b1a0c00a07d07ec72
[ "MIT" ]
229
2018-10-24T09:15:31.000Z
2021-12-24T16:51:37.000Z
Lib/objc/_CloudPhotoLibrary.py
snazari/Pyto
bcea7bbef35cab21ce73087b1a0c00a07d07ec72
[ "MIT" ]
131
2018-11-25T18:33:03.000Z
2022-03-24T03:18:07.000Z
""" Classes from the 'CloudPhotoLibrary' framework. """ try: from rubicon.objc import ObjCClass except ValueError: def ObjCClass(name): return None def _Class(name): try: return ObjCClass(name) except NameError: return None CPLDateFormatter = _Class("CPLDateFormatter") CPLP...
50.706977
83
0.850028
602
10,902
15.038206
0.347176
0.002872
0
0
0
0
0
0
0
0
0
0
0.060356
10,902
214
84
50.943925
0.883737
0.004311
0
0.019512
0
0
0.366276
0.219323
0
0
0
0
0.004878
1
0.009756
false
0
0.004878
0.004878
0.029268
0
0
0
1
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
0
0
0
0
0
0
0
1
3a066efa67b33089025f7cab78d0b64f3667d985
417
py
Python
spInDP/LegMovement.py
henkmollema/spInDP
a12f4bc6674565009c21179bbcd371f0982a13d7
[ "MIT" ]
null
null
null
spInDP/LegMovement.py
henkmollema/spInDP
a12f4bc6674565009c21179bbcd371f0982a13d7
[ "MIT" ]
null
null
null
spInDP/LegMovement.py
henkmollema/spInDP
a12f4bc6674565009c21179bbcd371f0982a13d7
[ "MIT" ]
null
null
null
class LegMovement(object): """Represents a leg movement.""" def __init__(self): """Initializes a new instance of the LegMovement class.""" self.empty = False self.coxa = 0.0 self.tibia = 0.0 self.femur = 0.0 self.coxaSpeed = 0.0 self.tibiaSpeed = 0.0 ...
26.0625
66
0.558753
54
417
4.240741
0.481481
0.078603
0.183406
0
0
0
0
0
0
0
0
0.060284
0.323741
417
15
67
27.8
0.751773
0.189448
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.181818
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
0
0
0
0
0
0
0
1
3a0f0e5a97c1e950b79ad4ed1b08e22098560274
2,368
py
Python
scratchpad_random_input.py
dicryptor/MSAS
48a7bca2e415b28f5d95dbbfad0e723a8fe74d07
[ "MIT" ]
null
null
null
scratchpad_random_input.py
dicryptor/MSAS
48a7bca2e415b28f5d95dbbfad0e723a8fe74d07
[ "MIT" ]
null
null
null
scratchpad_random_input.py
dicryptor/MSAS
48a7bca2e415b28f5d95dbbfad0e723a8fe74d07
[ "MIT" ]
null
null
null
import numpy as np import time import ResponsiveValue import random ALPHA = 0.5 deg_sym = u'\u00b0' def low_pass_test(input_list, output_list=None): if not output_list: return input_list for i in range(3): output[i] = output_list[i] + ALPHA * (input_list[i] - output_list[i]) return output def ...
27.858824
117
0.600084
294
2,368
4.676871
0.312925
0.087273
0.011636
0.017455
0.08
0.08
0.018909
0
0
0
0
0.027943
0.289696
2,368
84
118
28.190476
0.789536
0.21875
0
0.056604
0
0
0.021207
0.011963
0
0
0
0
0
1
0.075472
false
0.075472
0.075472
0
0.245283
0.018868
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
0
1
0
0
0
0
0
1
3a1301d071ac06075f0d6878fc52b006e7bf8deb
1,785
py
Python
Python/grammers/urls.py
melody-story/Today-I-Learned
3108e067a00163ebf5d1ac68b2ab2fcdafa8e74c
[ "MIT" ]
null
null
null
Python/grammers/urls.py
melody-story/Today-I-Learned
3108e067a00163ebf5d1ac68b2ab2fcdafa8e74c
[ "MIT" ]
1
2021-11-16T12:40:52.000Z
2021-11-16T12:40:52.000Z
Python/grammers/urls.py
melody-story/Today-I-Learned
3108e067a00163ebf5d1ac68b2ab2fcdafa8e74c
[ "MIT" ]
null
null
null
from django.urls import path from grammers.views import GrammerView, ProgrammersExample10_1View, ProgrammersExample10_2View, ProgrammersExample10_3View, ProgrammersExample10_4View, ProgrammersExample11View, ProgrammersExample12View, ProgrammersExample13View, ProgrammersExample14View, ProgrammersExample15View, Programm...
74.375
482
0.819048
147
1,785
9.62585
0.326531
0.076325
0.120141
0.252297
0.084806
0
0
0
0
0
0
0.056501
0.077871
1,785
24
483
74.375
0.803159
0
0
0
0
0
0.204927
0.12206
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
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
0
0
0
0
0
0
0
1
3a14019576da5218384612068de55f5ad31bb865
17,040
py
Python
zstacklib/zstacklib/utils/lichbd.py
wh872743880/zstack-utility
e8ba863514a62a2e5ede6ed27dd50e4307086ce7
[ "Apache-2.0" ]
null
null
null
zstacklib/zstacklib/utils/lichbd.py
wh872743880/zstack-utility
e8ba863514a62a2e5ede6ed27dd50e4307086ce7
[ "Apache-2.0" ]
null
null
null
zstacklib/zstacklib/utils/lichbd.py
wh872743880/zstack-utility
e8ba863514a62a2e5ede6ed27dd50e4307086ce7
[ "Apache-2.0" ]
null
null
null
''' @author: frank ''' import os import errno import json import socket import time import subprocess import zstacklib.utils.shell as shell import zstacklib.utils.lichbd_factory as lichbdfactory from zstacklib.utils import log logcmd = True logger = log.get_logger(__name__) class FusionStor(): PROTOCOL = None ...
32.83237
164
0.64642
2,308
17,040
4.564991
0.116551
0.062453
0.061503
0.062642
0.637339
0.577259
0.53768
0.502183
0.476651
0.462225
0
0.01135
0.229577
17,040
518
165
32.895753
0.79121
0.002817
0
0.471464
0
0.027295
0.179241
0.049688
0
0
0
0
0
0
null
null
0.037221
0.027295
null
null
0.012407
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
1
0
0
0
0
0
0
0
0
1
3a17cf2466a842a7b6132f79547fa3a0994a84be
1,911
py
Python
snark/webreader.py
hiraokusky/snark
e3080d6d005cd126751efb3e25f158ee258cbc08
[ "Apache-2.0" ]
6
2018-12-22T13:15:50.000Z
2020-04-12T14:18:34.000Z
snark/webreader.py
hiraokusky/snark
e3080d6d005cd126751efb3e25f158ee258cbc08
[ "Apache-2.0" ]
null
null
null
snark/webreader.py
hiraokusky/snark
e3080d6d005cd126751efb3e25f158ee258cbc08
[ "Apache-2.0" ]
null
null
null
""" Copyright 2019 hiraokusky Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, sof...
25.824324
102
0.650968
228
1,911
5.377193
0.517544
0.04894
0.031811
0.026101
0.030995
0.030995
0
0
0
0
0
0.009353
0.272632
1,911
73
103
26.178082
0.872662
0.438514
0
0.142857
0
0
0.017316
0
0
0
0
0
0
1
0.142857
false
0
0.214286
0
0.642857
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
0
0
0
0
1
0
0
1
3a296d218241b9941344fbddd749bf9f33b35de1
7,685
py
Python
main/dialogo_informacion_ui.py
kuttz-dev/Password-manager
b06f7a721850bb74c9a81471773293fbdfa3654e
[ "MIT" ]
1
2019-11-19T05:39:39.000Z
2019-11-19T05:39:39.000Z
main/dialogo_informacion_ui.py
kuttz-dev/Password-manager
b06f7a721850bb74c9a81471773293fbdfa3654e
[ "MIT" ]
null
null
null
main/dialogo_informacion_ui.py
kuttz-dev/Password-manager
b06f7a721850bb74c9a81471773293fbdfa3654e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'dialogo_informacion.ui', # licensing of 'dialogo_informacion.ui' applies. # # Created: Tue Dec 10 11:16:14 2019 # by: pyside2-uic running on PySide2 5.13.0 # # WARNING! All changes made in this file will be lost! from PySide2 import Q...
56.507353
603
0.732075
868
7,685
6.327189
0.270737
0.058084
0.029133
0.03059
0.270029
0.213765
0.106701
0.04461
0.04461
0.022214
0
0.022019
0.160833
7,685
135
604
56.925926
0.829586
0.036435
0
0
1
0.016807
0.134009
0.048411
0
0
0
0
0
1
0.016807
false
0
0.02521
0
0.05042
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3a2f0337a266d4472f0f14bcf1f786f0b6a2b3c5
342
py
Python
src/reading.py
skilldisk/Handling-Images-using-Pillow-in-Python
49660b837b640a6f30c966c2b3f073b62d47a475
[ "Apache-2.0" ]
null
null
null
src/reading.py
skilldisk/Handling-Images-using-Pillow-in-Python
49660b837b640a6f30c966c2b3f073b62d47a475
[ "Apache-2.0" ]
null
null
null
src/reading.py
skilldisk/Handling-Images-using-Pillow-in-Python
49660b837b640a6f30c966c2b3f073b62d47a475
[ "Apache-2.0" ]
1
2021-08-30T13:41:36.000Z
2021-08-30T13:41:36.000Z
from PIL import Image img = Image.open('../img/black_1.jpeg') print('*'*10) print('Image Format: ', img.format) print('Mode: ', img.mode) print('Size: ', img.size) print('*'*10) # To print Data use list method print(list(img.getdata())) img.close() # Use it close the file safely # with Image.open('../output/bl...
15.545455
51
0.654971
55
342
4.036364
0.509091
0.081081
0.09009
0
0
0
0
0
0
0
0
0.020548
0.146199
342
21
52
16.285714
0.739726
0.315789
0
0.222222
0
0
0.20614
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.666667
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
0
0
0
0
0
1
0
1
3a32d85e8a434b81f33ce332e15f954ac677c133
1,228
py
Python
app/server/resources/login.py
ksh-fthr/flask-work
6eaf57576ce2edbbd28528e23c16856b44c28a2f
[ "MIT" ]
null
null
null
app/server/resources/login.py
ksh-fthr/flask-work
6eaf57576ce2edbbd28528e23c16856b44c28a2f
[ "MIT" ]
null
null
null
app/server/resources/login.py
ksh-fthr/flask-work
6eaf57576ce2edbbd28528e23c16856b44c28a2f
[ "MIT" ]
null
null
null
from flask_restful import Resource, reqparse from flask_jwt_extended import ( create_access_token, create_refresh_token ) from server.models.user import UserModel parser = reqparse.RequestParser() parser.add_argument( 'username', help='This field cannot be blank', required=True ) parser.add_argument( '...
27.909091
75
0.688925
145
1,228
5.648276
0.475862
0.067155
0.041514
0.056166
0.092796
0.092796
0.092796
0.092796
0
0
0
0
0.193811
1,228
43
76
28.55814
0.827273
0.09772
0
0.068966
0
0
0.190698
0
0
0
0
0
0
1
0.034483
false
0.068966
0.103448
0
0.275862
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
0
1
0
0
0
0
0
1
3a3bfa48886706edf85e43270bd0649302772792
4,074
py
Python
RDTPConnection/SRSocket.py
RikilG/Reliable-UDP
b9585587cf650bb3dfcd80c69991ef506f6fdd23
[ "MIT" ]
null
null
null
RDTPConnection/SRSocket.py
RikilG/Reliable-UDP
b9585587cf650bb3dfcd80c69991ef506f6fdd23
[ "MIT" ]
null
null
null
RDTPConnection/SRSocket.py
RikilG/Reliable-UDP
b9585587cf650bb3dfcd80c69991ef506f6fdd23
[ "MIT" ]
1
2021-04-15T10:28:57.000Z
2021-04-15T10:28:57.000Z
from math import ceil from .SocketCore import Socket from .Packet import Packet from .Packet import ACK, SYN, FIN, NUL, BEG, END class RDTPSocket(Socket): """This class implements the Stop and Wait kind of protocol over the sockets by overriding the send_stream and inbound_stream methods. """ # imple...
51.56962
121
0.597202
559
4,074
4.223614
0.254025
0.057603
0.041931
0.053367
0.418467
0.34731
0.282507
0.21601
0.148242
0.148242
0
0.011217
0.27786
4,074
79
122
51.56962
0.791298
0.188758
0
0.271186
0
0
0.04125
0.025938
0
0
0
0.012658
0
1
0.067797
false
0.016949
0.067797
0
0.169492
0.067797
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
1
0
0
0
0
0
0
0
0
0
0
1
3a3c434d77e3e6e6e5cf50655bade8a36cfe71c0
1,672
py
Python
tools/wiktionary2lex/parsers/parser_lib.py
c-alexbrouwer/idlak_resources
33a8cf4bf768324bfebe8139a6c57c3e7b42d5c5
[ "Apache-2.0" ]
32
2019-05-13T13:26:19.000Z
2022-01-05T17:40:31.000Z
tools/wiktionary2lex/parsers/parser_lib.py
c-alexbrouwer/idlak_resources
33a8cf4bf768324bfebe8139a6c57c3e7b42d5c5
[ "Apache-2.0" ]
1
2018-07-19T11:50:32.000Z
2018-07-19T11:50:32.000Z
tools/wiktionary2lex/parsers/parser_lib.py
c-alexbrouwer/idlak_resources
33a8cf4bf768324bfebe8139a6c57c3e7b42d5c5
[ "Apache-2.0" ]
5
2018-06-29T10:03:59.000Z
2019-01-16T16:30:45.000Z
# -*- coding: utf-8 -*- # Copyright 2018 Cereproc Ltd. (author: Caoimhín Laoide-Kemp) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # THIS...
32.153846
78
0.624402
218
1,672
4.743119
0.504587
0.038685
0.025145
0.030948
0.147002
0.147002
0.147002
0
0
0
0
0.009009
0.269737
1,672
51
79
32.784314
0.837838
0.42823
0
0.214286
0
0
0.076677
0
0
0
0
0
0
0
null
null
0
0.071429
null
null
0.142857
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
1
0
0
0
0
0
0
0
0
1
3a3d9beb93c171fcfea1871edd687bde94d8eb95
391
py
Python
main.py
xiaodaxia-2008/PathPlanning
b78e706a684e4878a17dec62c953696f76d7b2df
[ "MIT" ]
2
2019-12-27T06:52:26.000Z
2020-07-29T16:39:04.000Z
main.py
xiaodaxia-2008/PathPlanning
b78e706a684e4878a17dec62c953696f76d7b2df
[ "MIT" ]
null
null
null
main.py
xiaodaxia-2008/PathPlanning
b78e706a684e4878a17dec62c953696f76d7b2df
[ "MIT" ]
1
2020-12-19T07:44:24.000Z
2020-12-19T07:44:24.000Z
""" By Zhen Xiao, Nov 29, 2019 """ from examples.PlannerExample import Planner_Example, np if __name__ == "__main__": random_seed = np.random.randint(0, 10000, (2,)) # random_seed = [8881, 7511] Planner_Example(method="AStar", display_result=True, update_nearby_grd=False, rando...
32.583333
82
0.677749
51
391
4.784314
0.745098
0.204918
0
0
0
0
0
0
0
0
0
0.067742
0.207161
391
11
83
35.545455
0.719355
0.138107
0
0
0
0
0.040881
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.166667
0
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
0
0
0
0
0
1
3a42487fd052da35b495e480f5eba224a7b95e14
8,001
py
Python
my_functions_automated_prediction.py
AfroSamurai202/automated_stock_prediction
a963f469072ebf5aa7e6a2f901be1e1b004abc5a
[ "MIT" ]
1
2020-12-03T09:36:32.000Z
2020-12-03T09:36:32.000Z
my_functions_automated_prediction.py
AfroSamurai202/automated_stock_prediction
a963f469072ebf5aa7e6a2f901be1e1b004abc5a
[ "MIT" ]
null
null
null
my_functions_automated_prediction.py
AfroSamurai202/automated_stock_prediction
a963f469072ebf5aa7e6a2f901be1e1b004abc5a
[ "MIT" ]
2
2020-12-03T09:35:21.000Z
2020-12-15T06:24:28.000Z
#!/usr/bin/env python # coding: utf-8 ### Create Main Dataframe import pandas as pd import os import numpy as np from datetime import datetime, timedelta from matplotlib import pyplot as plt ### Name/ Sector Label Function def get_name_sectors(csv, directory, stock_dictionary): if f"{csv}".startswith("BATS"...
28.47331
222
0.606424
1,093
8,001
4.200366
0.115279
0.121978
0.13069
0.163363
0.64975
0.617077
0.617077
0.586147
0.586147
0.586147
0
0.015171
0.225597
8,001
280
223
28.575
0.725791
0.044744
0
0.542683
0
0
0.107678
0
0
0
0
0
0
1
0.04878
false
0
0.030488
0
0.128049
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
0
0
0
0
0
0
0
1
3a489fa34e32854d1a7c168da075db54d47388f2
2,699
py
Python
proj/cheese-emp-ai/com_cheese_api/cop/rev/review/model/review_dto.py
youjeong2/EMP
1afdf2789b09e55e4f6a2241a2cc2d0d1b607d9e
[ "MIT" ]
1
2021-11-17T06:37:50.000Z
2021-11-17T06:37:50.000Z
proj/cheese-emp-ai/com_cheese_api/cop/rev/review/model/review_dto.py
youjeong2/EMP
1afdf2789b09e55e4f6a2241a2cc2d0d1b607d9e
[ "MIT" ]
1
2020-10-26T06:06:41.000Z
2020-10-26T06:06:41.000Z
proj/cheese-emp-ai/com_cheese_api/cop/rev/review/model/review_dto.py
youjeong2/EMP
1afdf2789b09e55e4f6a2241a2cc2d0d1b607d9e
[ "MIT" ]
8
2020-10-05T08:19:16.000Z
2021-11-17T06:37:52.000Z
from flask_restful import Resource, reqparse, fields, marshal_with # from com_cheese_api.usr.user import UserDto from com_cheese_api.ext.db import db, openSession from com_cheese_api.usr.user.model.user_dto import UserDto from com_cheese_api.cop.itm.cheese.model.cheese_dto import CheeseDto # ==========================...
36.472973
97
0.600222
333
2,699
4.552553
0.27027
0.043536
0.046174
0.042216
0.347625
0.197889
0.129288
0.129288
0.07124
0.07124
0
0.006464
0.197481
2,699
73
98
36.972603
0.693444
0.374583
0
0
0
0
0.051298
0
0
0
0
0
0
1
0.085714
false
0
0.114286
0.057143
0.657143
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
0
0
0
0
1
0
0
1
3a4d08dafdc78bf7aa675bbc9164d0ad12340b4b
532
py
Python
setup.py
lendle/SuPyLearner
b1a44e30b24be0afd709f368959c6864d37262a1
[ "MIT" ]
23
2015-02-02T14:36:57.000Z
2020-09-01T15:06:37.000Z
setup.py
lendle/SuPyLearner
b1a44e30b24be0afd709f368959c6864d37262a1
[ "MIT" ]
null
null
null
setup.py
lendle/SuPyLearner
b1a44e30b24be0afd709f368959c6864d37262a1
[ "MIT" ]
15
2015-04-15T03:23:47.000Z
2020-05-12T09:45:16.000Z
from distutils.core import setup setup( name='SuPyLearner', version='0.1.0', author='Sam Lendle', description='Implementation of the SuperLearner algorithm', author_email='lendle@stat.berkeley.edu', packages=['supylearner'], url='https://github.com/lendle/SuPyLearner', license='GPL-3', ...
28
88
0.620301
65
532
5.046154
0.738462
0.018293
0
0
0
0
0
0
0
0
0
0.030733
0.204887
532
18
89
29.555556
0.744681
0.146617
0
0
0
0
0.414414
0.054054
0
0
0
0
0
1
0
true
0
0.0625
0
0.0625
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
0
0
0
0
0
0
1
3a4e1f46a410f39d50d8330b9b3a31e5b6071db6
11,762
py
Python
frictionless_dfour/dfour.py
cividi/frictionless-dfour
02e2a3720f980ca31ad5d5443980f8d9d399868b
[ "MIT" ]
2
2021-09-27T07:52:40.000Z
2021-12-13T12:56:18.000Z
frictionless_dfour/dfour.py
cividi/frictionless-dfour
02e2a3720f980ca31ad5d5443980f8d9d399868b
[ "MIT" ]
7
2021-07-30T09:56:33.000Z
2021-08-20T11:43:04.000Z
frictionless_dfour/dfour.py
cividi/frictionless-dfour
02e2a3720f980ca31ad5d5443980f8d9d399868b
[ "MIT" ]
null
null
null
import os import json import base64 import requests import urllib.parse from gql import Client, gql from gql.transport.requests import RequestsHTTPTransport from frictionless import ( Plugin, Dialect, Storage, Metadata, Package, errors, ) from frictionless.exception import FrictionlessException...
33.225989
164
0.537494
1,000
11,762
6.1
0.223
0.022131
0.028852
0.016721
0.161148
0.128033
0.082787
0.044754
0.022459
0.016066
0
0.001322
0.356827
11,762
353
165
33.320113
0.805023
0.120983
0
0.115044
0
0.004425
0.148938
0.02966
0
0
0
0
0
1
0.088496
false
0.057522
0.039823
0.030973
0.216814
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
0
1
0
0
0
0
0
1
3a559e618de51389eae989b68179fdd4ce5844b3
1,924
py
Python
fedjax/core/util.py
ModestGoblin/fedjax
61223394892db3ca63768c4e39eb2caefcc02b65
[ "Apache-2.0" ]
null
null
null
fedjax/core/util.py
ModestGoblin/fedjax
61223394892db3ca63768c4e39eb2caefcc02b65
[ "Apache-2.0" ]
null
null
null
fedjax/core/util.py
ModestGoblin/fedjax
61223394892db3ca63768c4e39eb2caefcc02b65
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
33.754386
99
0.745322
293
1,924
4.887372
0.511945
0.041899
0.018156
0.022346
0.053073
0.053073
0.053073
0
0
0
0
0.014031
0.185031
1,924
56
100
34.357143
0.899235
0.64553
0
0
0
0
0
0
0
0
0
0.017857
0
1
0.166667
false
0
0.25
0
0.583333
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
1
0
0
0
0
0
0
0
0
0
0
1
3a5b280eb723fcd8aaebdbd11542bf6ac235d2e5
4,416
py
Python
lib/mixminion/directory/ServerInbox.py
Hasimir/mixminion
705c4b21d3d43631007821bd73423908a075c689
[ "MIT" ]
51
2015-02-01T02:09:29.000Z
2022-02-23T16:07:09.000Z
lib/mixminion/directory/ServerInbox.py
cybernetics/mixminion
35b33d945afb89a0a7438219c2e89906e0191e61
[ "MIT" ]
1
2017-04-22T23:09:10.000Z
2017-04-22T23:09:10.000Z
lib/mixminion/directory/ServerInbox.py
cybernetics/mixminion
35b33d945afb89a0a7438219c2e89906e0191e61
[ "MIT" ]
10
2015-03-13T12:34:29.000Z
2022-02-13T07:49:23.000Z
# Copyright 2003-2011 Nick Mathewson. See LICENSE for licensing information. """mixminion.directory.ServerInbox A ServerInbox holds server descriptors received from the outside world that are not yet ready to be included in the directory. It is designed to be written to by an untrusted user (e.g., CGI). ""...
40.145455
80
0.602582
491
4,416
5.399185
0.378819
0.030555
0.016975
0.021501
0.144474
0.123727
0.123727
0.123727
0.123727
0.087514
0
0.005275
0.313179
4,416
109
81
40.513761
0.868777
0.062274
0
0.15873
0
0
0.180441
0
0
0
0
0
0.015873
0
null
null
0.015873
0.047619
null
null
0.015873
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
1
0
0
0
0
0
0
0
0
1
3a5bca7bf7e64b6f8558a654d1009e4e5ff4d1e9
849
py
Python
piston/commands/theme_list.py
ethancedwards8/piston-cli
a3fd4629454d06ba3d4a07c3d75d298d074ad072
[ "MIT" ]
null
null
null
piston/commands/theme_list.py
ethancedwards8/piston-cli
a3fd4629454d06ba3d4a07c3d75d298d074ad072
[ "MIT" ]
null
null
null
piston/commands/theme_list.py
ethancedwards8/piston-cli
a3fd4629454d06ba3d4a07c3d75d298d074ad072
[ "MIT" ]
null
null
null
from pygments import highlight from pygments.formatters.terminal256 import Terminal256Formatter from pygments.lexers.python import Python3Lexer from pygments.styles import get_style_by_name from pygments.util import ClassNotFound from piston.colorschemes import scheme_dict from piston.utils.constants import CONSOLE, T...
33.96
84
0.679623
95
849
5.957895
0.505263
0.106007
0.035336
0.04947
0
0
0
0
0
0
0
0.017323
0.252061
849
24
85
35.375
0.874016
0.061249
0
0
0
0
0.073325
0
0
0
0
0
0
1
0.05
false
0
0.35
0
0.4
0.1
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
0
0
1
0
0
0
0
1
28acca9c8254de305c3d54d27abac0781d767b92
1,600
py
Python
test/algorithms/collaborative_filtering/neighborhood/implicit_feedback/user_based/user_clustering_implicit_test.py
joaoms/incRec
99729099ed51fd1d40a7468da4ddc8279532b53f
[ "MIT" ]
5
2020-07-05T16:17:19.000Z
2020-07-26T17:06:44.000Z
test/algorithms/collaborative_filtering/neighborhood/implicit_feedback/user_based/user_clustering_implicit_test.py
joaoms/incRec
99729099ed51fd1d40a7468da4ddc8279532b53f
[ "MIT" ]
1
2020-07-05T14:23:17.000Z
2020-07-05T14:23:17.000Z
test/algorithms/collaborative_filtering/neighborhood/implicit_feedback/user_based/user_clustering_implicit_test.py
joaoms/incRec
99729099ed51fd1d40a7468da4ddc8279532b53f
[ "MIT" ]
1
2020-12-30T11:42:05.000Z
2020-12-30T11:42:05.000Z
import unittest from algorithms.collaborative_filtering.\ neighborhood.implicit_feedback.user_based import UserBasedClustering class UserBasedClusteringTest(unittest.TestCase): def test_clustering(self): matrix = [ [1, None, None, None, 1, None, None, None, 1], [1, None, 1, Non...
39.02439
73
0.578125
216
1,600
4.180556
0.194444
0.166113
0.239203
0.155039
0.599114
0.509413
0.41639
0.41639
0.41639
0.41639
0
0.052991
0.26875
1,600
40
74
40
0.718803
0
0
0.4
0
0
0.005
0
0
0
0
0
0.285714
1
0.057143
false
0
0.057143
0
0.142857
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
0
0
0
0
0
0
0
1
28b61ef17aaa0ee04df7594f0d6c5937f1e1a7ad
958
py
Python
thinglang/lexer/operators/comparison.py
ofples/thinglang
b1391e8fb42d518fc0018400eecb608d18da915a
[ "MIT" ]
5
2017-11-07T21:32:22.000Z
2019-06-30T18:35:17.000Z
thinglang/lexer/operators/comparison.py
ofples/thinglang
b1391e8fb42d518fc0018400eecb608d18da915a
[ "MIT" ]
null
null
null
thinglang/lexer/operators/comparison.py
ofples/thinglang
b1391e8fb42d518fc0018400eecb608d18da915a
[ "MIT" ]
1
2020-03-25T18:14:08.000Z
2020-03-25T18:14:08.000Z
from thinglang.lexer.lexical_token import LexicalToken class LexicalComparison(LexicalToken): """ The binary and unary comparison operators (e.g. less than, greater than, equals, not, etc...) """ @classmethod def transpile(cls): return cls.format_name() class LexicalNegation(LexicalToke...
19.958333
97
0.67119
93
958
6.892473
0.494624
0.121685
0.140406
0.056162
0
0
0
0
0
0
0
0
0.218163
958
47
98
20.382979
0.855808
0.403967
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.090909
0.090909
0.909091
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
0
0
0
0
1
0
0
1
28bb9998411752649f09f5479707fc1aa206ce5b
573
py
Python
backend/util/signupform.py
mitche50/nano-repeat
86f419b92bfa22f4072bd35944fb0ecde84d01ba
[ "MIT" ]
1
2022-02-10T04:12:14.000Z
2022-02-10T04:12:14.000Z
backend/util/signupform.py
mitche50/nano-repeat
86f419b92bfa22f4072bd35944fb0ecde84d01ba
[ "MIT" ]
null
null
null
backend/util/signupform.py
mitche50/nano-repeat
86f419b92bfa22f4072bd35944fb0ecde84d01ba
[ "MIT" ]
1
2021-01-23T00:13:33.000Z
2021-01-23T00:13:33.000Z
from fastapi import FastAPI from pydantic import BaseModel class SignUpForm(BaseModel): first_name: str last_name: str email: str password: str = None forwarding_address: str = None class Config: schema_extra = { "example": { 'first_name': 'John', ...
27.285714
105
0.582897
47
573
6.93617
0.595745
0.055215
0
0
0
0
0
0
0
0
0
0.041667
0.329843
573
21
106
27.285714
0.807292
0
0
0
0
0
0.287456
0.11324
0
0
0
0
0
1
0
false
0.111111
0.111111
0
0.5
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
0
1
0
0
0
0
0
1
28c16b63a26dd1aa0060f0bdbdc73fbc6c150010
10,902
py
Python
python/examples/AbcView/lib/abcview/style.py
ahmidou/alembic
a54f402d6cae018dbfb434c1a761a2c08dcf867a
[ "MIT" ]
null
null
null
python/examples/AbcView/lib/abcview/style.py
ahmidou/alembic
a54f402d6cae018dbfb434c1a761a2c08dcf867a
[ "MIT" ]
null
null
null
python/examples/AbcView/lib/abcview/style.py
ahmidou/alembic
a54f402d6cae018dbfb434c1a761a2c08dcf867a
[ "MIT" ]
null
null
null
#! /usr/bin/env python #-****************************************************************************** # # Copyright (c) 2012-2013, # Sony Pictures Imageworks Inc. and # Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. # # All rights reserved. # # Redistribution and use in source and bina...
22.665281
80
0.64933
1,333
10,902
5.296324
0.258815
0.028329
0.03187
0.045609
0.465156
0.443343
0.426629
0.378045
0.341926
0.328612
0
0.050816
0.202165
10,902
480
81
22.7125
0.760865
0.18914
0
0.460094
0
0
0.953753
0.263925
0
0
0
0.002083
0
1
0.002347
false
0
0.007042
0
0.011737
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
28c21c72d74aa6f1ab81cc30e2ae9c6213a0a181
759
py
Python
__matplotlib/03.py
zlikun-lang/python-data-analysis
66eaa04952e422fa881281dc2244f2984a15e9bf
[ "Apache-2.0" ]
1
2020-05-29T07:43:10.000Z
2020-05-29T07:43:10.000Z
__matplotlib/03.py
zlikun-lang/python-data-analysis
66eaa04952e422fa881281dc2244f2984a15e9bf
[ "Apache-2.0" ]
null
null
null
__matplotlib/03.py
zlikun-lang/python-data-analysis
66eaa04952e422fa881281dc2244f2984a15e9bf
[ "Apache-2.0" ]
null
null
null
import datetime import matplotlib.dates as mdates import matplotlib.pyplot as plt # 日期列表 events = [ datetime.date(2015, 1, 23), datetime.date(2015, 1, 28), datetime.date(2015, 2, 3), datetime.date(2015, 2, 21), datetime.date(2015, 3, 15), datetime.date(2015, 3, 24), datetime.date(2015, 4, ...
19.973684
43
0.689065
112
759
4.616071
0.526786
0.185687
0.247582
0.065764
0
0
0
0
0
0
0
0.109375
0.156785
759
37
44
20.513514
0.698438
0.102767
0
0
0
0
0.007418
0
0
0
0
0
0
1
0
false
0
0.130435
0
0.130435
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
0
0
0
0
0
0
0
1
28c6baf4efacd40740f0f2e6227f39f16c80c78c
2,384
py
Python
kisensum/openadr/openadr/vtn/migrations/0023_auto_20171114_1801.py
ChargePoint/volttron-applications
8d99c01a93f7c1ea98d4e4b0cfcefe85fe26320b
[ "BSD-3-Clause" ]
null
null
null
kisensum/openadr/openadr/vtn/migrations/0023_auto_20171114_1801.py
ChargePoint/volttron-applications
8d99c01a93f7c1ea98d4e4b0cfcefe85fe26320b
[ "BSD-3-Clause" ]
4
2021-03-19T23:36:34.000Z
2021-12-13T19:45:54.000Z
kisensum/openadr/openadr/vtn/migrations/0023_auto_20171114_1801.py
ChargePoint/volttron-applications
8d99c01a93f7c1ea98d4e4b0cfcefe85fe26320b
[ "BSD-3-Clause" ]
1
2020-05-25T05:03:55.000Z
2020-05-25T05:03:55.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2017-11-14 18:01 from __future__ import unicode_literals import datetime from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('vtn', '0022_auto_20171114_1718'), ] ...
41.824561
197
0.603188
258
2,384
5.430233
0.337209
0.038544
0.042827
0.028551
0.503212
0.481085
0.438258
0.335475
0.335475
0.246966
0
0.059022
0.253775
2,384
56
198
42.571429
0.728499
0.028523
0
0.285714
1
0
0.142672
0.009944
0
0
0
0
0
1
0
false
0
0.081633
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
28d2206dbc7e57c854bd8de0f2f04b446c8cdf8f
473
py
Python
Paracha_Junaid/Assignments/Python/Web_fund/coin.py
webguru001/Python-Django-Web
6264bc4c90ef1432ba0902c76b567cf3caaae221
[ "MIT" ]
5
2019-05-17T01:30:02.000Z
2021-06-17T21:02:58.000Z
Paracha_Junaid/Assignments/Python/Web_fund/coin.py
curest0x1021/Python-Django-Web
6264bc4c90ef1432ba0902c76b567cf3caaae221
[ "MIT" ]
null
null
null
Paracha_Junaid/Assignments/Python/Web_fund/coin.py
curest0x1021/Python-Django-Web
6264bc4c90ef1432ba0902c76b567cf3caaae221
[ "MIT" ]
null
null
null
head=0 tail=0 print 'starting the Program' for i in range (1,51): import random random_num = round(random.random()) if random_num == 0: head += 1 print "Attempt#"+str(i)+" Throwing a coin... It's head! ...Got " + str(head) + "head(s) so far and "+str(tail)+" tail(s) so far" i+=1 else: tail += 1 print "At...
31.533333
130
0.613108
86
473
3.348837
0.360465
0.041667
0.083333
0.111111
0.520833
0.520833
0.520833
0.520833
0.520833
0.520833
0
0.026042
0.188161
473
15
131
31.533333
0.723958
0
0
0.133333
0
0
0.417722
0
0
0
0
0
0
0
null
null
0
0.066667
null
null
0.266667
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
1
0
0
0
0
0
0
0
0
1
28e3718c6763388640befef88217522c0003310b
1,211
py
Python
freelancefinder/jobs/migrations/0003_auto_20170221_2011.py
ScorpionResponse/freelancefinder
7882aa8ed42afe689e594a3e10c9fc6369f70bf5
[ "BSD-3-Clause" ]
2
2017-03-18T04:28:58.000Z
2017-04-25T10:01:28.000Z
freelancefinder/jobs/migrations/0003_auto_20170221_2011.py
ScorpionResponse/freelancefinder
7882aa8ed42afe689e594a3e10c9fc6369f70bf5
[ "BSD-3-Clause" ]
20
2017-03-18T04:29:33.000Z
2017-06-13T22:37:42.000Z
freelancefinder/jobs/migrations/0003_auto_20170221_2011.py
ScorpionResponse/freelancefinder
7882aa8ed42afe689e594a3e10c9fc6369f70bf5
[ "BSD-3-Clause" ]
1
2019-01-14T19:02:06.000Z
2019-01-14T19:02:06.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-02-21 20:11 from __future__ import unicode_literals from django.db import migrations, models import django.utils.timezone import model_utils.fields class Migration(migrations.Migration): dependencies = [ ('remotes', '0002_initial_data'), ...
31.051282
135
0.620974
123
1,211
5.943089
0.504065
0.060192
0.103967
0.110807
0.328317
0.288646
0.145007
0.145007
0.145007
0
0
0.044444
0.256813
1,211
38
136
31.868421
0.767778
0.056152
0
0.322581
1
0
0.100877
0.020175
0
0
0
0
0
1
0
false
0
0.129032
0
0.225806
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
28ee28ab2116a78c1814699d8e32f1e6e0411231
398
py
Python
rameniaapp/migrations/0020_auto_20201030_2328.py
awlane/ramenia
6bf8e75a1f279ac584daa4ee19927ffccaa67551
[ "MIT" ]
null
null
null
rameniaapp/migrations/0020_auto_20201030_2328.py
awlane/ramenia
6bf8e75a1f279ac584daa4ee19927ffccaa67551
[ "MIT" ]
null
null
null
rameniaapp/migrations/0020_auto_20201030_2328.py
awlane/ramenia
6bf8e75a1f279ac584daa4ee19927ffccaa67551
[ "MIT" ]
null
null
null
# Generated by Django 3.1.1 on 2020-10-30 23:28 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('rameniaapp', '0019_merge_20201030_2328'), ] operations = [ migrations.AlterField( model_name='tag', name='name', ...
20.947368
63
0.603015
44
398
5.340909
0.818182
0
0
0
0
0
0
0
0
0
0
0.115385
0.281407
398
18
64
22.111111
0.706294
0.113065
0
0
1
0
0.116809
0.068376
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
28f09a1a01e007afc4a14d86e37a933f542c6a22
2,100
py
Python
utils/filter_utils.py
hardore007/FeedSDK-Python
c94795f75c0654d160e77301bb15ce055fe81e96
[ "Apache-2.0" ]
27
2019-04-18T18:56:11.000Z
2022-03-27T14:33:05.000Z
utils/filter_utils.py
hardore007/FeedSDK-Python
c94795f75c0654d160e77301bb15ce055fe81e96
[ "Apache-2.0" ]
1
2021-12-12T10:50:19.000Z
2021-12-12T10:50:19.000Z
utils/filter_utils.py
hardore007/FeedSDK-Python
c94795f75c0654d160e77301bb15ce055fe81e96
[ "Apache-2.0" ]
14
2019-06-13T17:56:28.000Z
2022-01-11T22:32:13.000Z
# ************************************************************************** # Copyright 2018-2019 eBay Inc. # Author/Developers: -- # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # https:...
30.434783
77
0.648095
281
2,100
4.66548
0.391459
0.061022
0.045767
0.045767
0.356217
0.356217
0.356217
0.2746
0.2746
0.2746
0
0.007625
0.188095
2,100
68
78
30.882353
0.76129
0.344286
0
0.432432
0
0
0.03595
0
0
0
0
0
0
1
0.189189
false
0
0.081081
0
0.648649
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
0
0
0
0
1
0
0
1
28f1a378bcc9cc1e3f2fef64bc4eca55671ab486
171
py
Python
exercicio22.py
NicolasFreitas1/infosatc-lp-avaliativo-01
f9f9ee383708e7572b24f5e3ee4b281330af677b
[ "MIT" ]
null
null
null
exercicio22.py
NicolasFreitas1/infosatc-lp-avaliativo-01
f9f9ee383708e7572b24f5e3ee4b281330af677b
[ "MIT" ]
null
null
null
exercicio22.py
NicolasFreitas1/infosatc-lp-avaliativo-01
f9f9ee383708e7572b24f5e3ee4b281330af677b
[ "MIT" ]
null
null
null
#Nicolas Andrade de Freitas - Turma 2190 #Exercicio 22 j = float(input("Digite o valor em jardas")) m = j*0.91 print("o valor {} jardas em metros é de:{}".format(j,m))
19
56
0.672515
31
171
3.709677
0.741935
0.104348
0
0
0
0
0
0
0
0
0
0.06383
0.175439
171
8
57
21.375
0.751773
0.298246
0
0
0
0
0.5
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
0
0
0
0
0
1
28f72d057bfdc654c64de43b8db0a0428a9dc569
3,618
py
Python
release/stubs.min/Autodesk/Revit/DB/__init___parts/SpatialElementTag.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs.min/Autodesk/Revit/DB/__init___parts/SpatialElementTag.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs.min/Autodesk/Revit/DB/__init___parts/SpatialElementTag.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
class SpatialElementTag(Element, IDisposable): """ A tag attached to an SpatialElement (room,space or area) in Autodesk Revit. """ def Dispose(self): """ Dispose(self: Element,A_0: bool) """ pass def getBoundingBox(self, *args): """ getBoundingBox(self: Element,view: View) ...
22.754717
221
0.633223
395
3,618
5.648101
0.23038
0.134469
0.080681
0.107575
0.342896
0.342896
0.342896
0.342896
0.342896
0.342896
0
0.000368
0.249862
3,618
158
222
22.898734
0.821665
0.176064
0
0.342857
0
0
0
0
0
0
0
0
0
1
0.2
false
0.2
0
0
0.514286
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
0
1
0
0
0
0
0
1
28f7e6cc2233be42db3d3281599d7e9efd80011c
4,912
py
Python
src/ewatercycle/forcing/_lisflood.py
cffbots/ewatercycle
29571aace32fcea8f70948259e33a62c9c834808
[ "Apache-2.0" ]
18
2021-03-25T08:25:32.000Z
2022-03-25T09:23:09.000Z
src/ewatercycle/forcing/_lisflood.py
cffbots/ewatercycle
29571aace32fcea8f70948259e33a62c9c834808
[ "Apache-2.0" ]
323
2016-08-11T12:13:58.000Z
2022-03-30T11:29:04.000Z
src/ewatercycle/forcing/_lisflood.py
cffbots/ewatercycle
29571aace32fcea8f70948259e33a62c9c834808
[ "Apache-2.0" ]
4
2018-06-27T11:47:23.000Z
2022-02-02T14:14:13.000Z
"""Forcing related functionality for lisflood""" import logging from typing import Optional from esmvalcore.experimental import get_recipe from ..util import ( data_files_from_recipe_output, get_extents, get_time, to_absolute_path, ) from ._default import DefaultForcing from .datasets import DATASETS...
34.34965
83
0.607899
534
4,912
5.423221
0.335206
0.01692
0.012086
0.022445
0.236878
0.194751
0.154006
0.154006
0.132597
0.118785
0
0.006771
0.308428
4,912
142
84
34.591549
0.845746
0.245114
0
0.085106
0
0
0.163364
0.008211
0
0
0
0.028169
0
1
0.031915
false
0
0.06383
0
0.117021
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
1
0
0
0
0
0
0
0
0
0
0
1
28fc5d56b29523553a55de584b928de2d5dbab13
239
py
Python
app.py
CaioCesarS/Como-Criar-RESTful-API-usando-Python-Flask-e-MongoDB
5a443c0e5f02930194de559aa9bb306b6ec37791
[ "MIT" ]
null
null
null
app.py
CaioCesarS/Como-Criar-RESTful-API-usando-Python-Flask-e-MongoDB
5a443c0e5f02930194de559aa9bb306b6ec37791
[ "MIT" ]
null
null
null
app.py
CaioCesarS/Como-Criar-RESTful-API-usando-Python-Flask-e-MongoDB
5a443c0e5f02930194de559aa9bb306b6ec37791
[ "MIT" ]
null
null
null
from flask import Flask from developers import developers app = Flask(__name__) app.register_blueprint(developers) @app.route('/') def index(): return 'Index Page' if __name__ == '__main__': app.run(debug=False, host='0.0.0.0')
18.384615
40
0.711297
34
239
4.617647
0.588235
0.038217
0.038217
0
0
0
0
0
0
0
0
0.019608
0.146444
239
12
41
19.916667
0.75
0
0
0
0
0
0.108787
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0.111111
0.444444
0.111111
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
0
0
0
1
0
0
0
1
28fe0f2b4f241aeee53af76bfbb59efaf9672f52
2,106
py
Python
asyncio_rpc_aiopqueue.py
smheidrich/asyncio-rpc-aiopqueue
14e592b526c0067c951e89f34f8df5a7eb0e81ab
[ "BSD-3-Clause" ]
null
null
null
asyncio_rpc_aiopqueue.py
smheidrich/asyncio-rpc-aiopqueue
14e592b526c0067c951e89f34f8df5a7eb0e81ab
[ "BSD-3-Clause" ]
null
null
null
asyncio_rpc_aiopqueue.py
smheidrich/asyncio-rpc-aiopqueue
14e592b526c0067c951e89f34f8df5a7eb0e81ab
[ "BSD-3-Clause" ]
null
null
null
from asyncio_rpc.base import AbstractRPCCommLayer from asyncio_rpc.models import RPCBase from aioprocessing import AioQueue class AiopQueueCommLayer(AbstractRPCCommLayer): """ aioprocessing.Queue remote procedure call communication layer """ @classmethod def create_pair(cls): q1, q2 = AioQu...
28.849315
70
0.618234
230
2,106
5.53913
0.426087
0.027473
0.034537
0.028257
0.042386
0
0
0
0
0
0
0.004808
0.308642
2,106
72
71
29.25
0.870192
0.110161
0
0.114286
0
0
0.007353
0
0
0
0
0
0.028571
1
0.057143
false
0.057143
0.085714
0
0.257143
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
0
1
0
0
0
0
0
1
e90445a7316a903e0096531e0558732e33ff74bd
1,561
py
Python
lib/rfk/liquidsoapdaemon.py
buckket/PyRfK
531ecadb5df4733be79757f6c8f45a9b8596cabb
[ "BSD-3-Clause" ]
null
null
null
lib/rfk/liquidsoapdaemon.py
buckket/PyRfK
531ecadb5df4733be79757f6c8f45a9b8596cabb
[ "BSD-3-Clause" ]
null
null
null
lib/rfk/liquidsoapdaemon.py
buckket/PyRfK
531ecadb5df4733be79757f6c8f45a9b8596cabb
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python import sys import argparse import rfk import rfk.database from rfk.helper import get_path import rfk.helper.daemonize from rfk.liquidsoap.daemon import LiquidsoapDaemon, SocketExists def main(): parser = argparse.ArgumentParser(description='PyRfK Daemon for running Liquidsoap', ...
33.212766
95
0.586163
164
1,561
5.469512
0.445122
0.060201
0.080268
0.111483
0
0
0
0
0
0
0
0
0.294042
1,561
46
96
33.934783
0.813975
0.012812
0
0
0
0
0.194156
0
0
0
0
0
0
0
null
null
0.028571
0.2
null
null
0.028571
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
1
0
0
0
0
0
0
0
0
1
e911d37c5a045b11dc12a689b33b7bc382bce841
1,157
py
Python
data_structures/stack.py
jeli-t/algorithms
75213b77c2de6a905c6bbdee51fa540359738c2d
[ "MIT" ]
2
2021-11-08T10:46:17.000Z
2021-12-12T15:27:48.000Z
data_structures/stack.py
jeli-t/algorithms
75213b77c2de6a905c6bbdee51fa540359738c2d
[ "MIT" ]
null
null
null
data_structures/stack.py
jeli-t/algorithms
75213b77c2de6a905c6bbdee51fa540359738c2d
[ "MIT" ]
null
null
null
# basic stack implementation # author: D1N3SHh # https://github.com/D1N3SHh/algorithms class StackOverflowError(BaseException): pass class StackEmptyError(BaseException): pass class Stack(): def __init__(self, max_size = 10): self.max_size = max_size self.s = [] def __repr__(self):...
23.612245
60
0.530683
133
1,157
4.451128
0.368421
0.059122
0.055743
0.040541
0
0
0
0
0
0
0
0.091984
0.342264
1,157
49
61
23.612245
0.68594
0.153846
0
0.121212
0
0
0.0258
0
0
0
0
0
0
1
0.181818
false
0.060606
0
0.030303
0.333333
0.090909
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
0
1
0
0
0
0
0
1
e920081552c3040c95b6a7b55779249f76cbad4b
3,555
py
Python
gmflow/matching.py
haofeixu/gmflow
d304e5e516c11df378d63808d6679aea43bc564a
[ "Apache-2.0" ]
58
2021-11-26T01:00:22.000Z
2022-03-31T18:44:58.000Z
gmflow/matching.py
haofeixu/gmflow
d304e5e516c11df378d63808d6679aea43bc564a
[ "Apache-2.0" ]
1
2022-03-15T02:16:57.000Z
2022-03-30T15:16:58.000Z
gmflow/matching.py
haofeixu/gmflow
d304e5e516c11df378d63808d6679aea43bc564a
[ "Apache-2.0" ]
null
null
null
import torch import torch.nn.functional as F from .geometry import coords_grid, generate_window_grid, normalize_coords def global_correlation_softmax(feature0, feature1, pred_bidir_flow=False, ): # global correlation b, c, h, w = feature...
42.321429
109
0.548523
540
3,555
3.481481
0.166667
0.041489
0.038298
0.02234
0.219681
0.166489
0.093085
0.054255
0.046809
0.046809
0
0.05529
0.292827
3,555
83
110
42.831325
0.692522
0.186779
0
0.038462
1
0
0.001801
0
0
0
0
0
0
1
0.038462
false
0
0.057692
0
0.134615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e924ffe9a6b1c3131b6d0d5ab9b3399a7aef5d30
496
py
Python
app/models/__init__.py
tonyin/flask-base
464fbbbc89c6deae4da9a7d60980eb896b4968ac
[ "Apache-2.0" ]
3
2020-05-08T20:56:38.000Z
2022-03-17T01:37:28.000Z
app/models/__init__.py
tonyin/flask-base
464fbbbc89c6deae4da9a7d60980eb896b4968ac
[ "Apache-2.0" ]
3
2019-10-21T17:13:51.000Z
2019-10-21T17:39:36.000Z
app/models/__init__.py
tonyin/flask-base
464fbbbc89c6deae4da9a7d60980eb896b4968ac
[ "Apache-2.0" ]
3
2019-11-30T16:04:28.000Z
2021-04-28T01:15:36.000Z
from app import db class TimestampMixin(object): created_at = db.Column(db.DateTime, default=db.func.now()) last_updated = db.Column(db.DateTime, server_default=db.func.now(), onupdate=db.func.now()) def get_or_create(model, **kwargs): instance = db.session.query(model).filter_by(**kwargs).first() if ...
29.176471
95
0.6875
69
496
4.855072
0.536232
0.053731
0.080597
0.107463
0
0
0
0
0
0
0
0
0.175403
496
16
96
31
0.819071
0
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0.230769
0
0.615385
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
0
0
0
0
1
0
0
1
e92742ef987ef7c0cba2bca5e1dbc41d1cf9464b
3,721
py
Python
src/python/approxeng/hwsupport/leds.py
ApproxEng/approxeng.hwsupport
0aa9b3bbd6298ef088ae753456378fd230c6216b
[ "Apache-2.0" ]
1
2020-09-24T21:32:52.000Z
2020-09-24T21:32:52.000Z
src/python/approxeng/hwsupport/leds.py
ApproxEng/approxeng.hwsupport
0aa9b3bbd6298ef088ae753456378fd230c6216b
[ "Apache-2.0" ]
null
null
null
src/python/approxeng/hwsupport/leds.py
ApproxEng/approxeng.hwsupport
0aa9b3bbd6298ef088ae753456378fd230c6216b
[ "Apache-2.0" ]
null
null
null
# -*- coding: future_fstrings -*- import colorsys import logging from approxeng.hwsupport.css4_colours import CSS4_COLOURS from approxeng.hwsupport.util import check_positive, check_positive_range LOGGER = logging.getLogger(name='approxeng.hwsupport.leds') LEDS = 'leds' class LED: def __init__(self, led, boar...
32.929204
113
0.634776
516
3,721
4.356589
0.186047
0.046708
0.05605
0.040036
0.331851
0.252669
0.156584
0.041815
0
0
0
0.006904
0.260414
3,721
112
114
33.223214
0.809956
0.033056
0
0.144578
0
0
0.098769
0.015949
0
0
0
0
0
1
0.216867
false
0
0.048193
0.060241
0.361446
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
0
0
0
0
0
0
1
e92a7aedfd53438168cb3e46db85b6f43c4360a9
2,744
py
Python
run_pyglet.py
zhy0216-collection/Meisjie
57e33b8b8095cfaf9392cd7635dc2f29bdb49892
[ "MIT" ]
null
null
null
run_pyglet.py
zhy0216-collection/Meisjie
57e33b8b8095cfaf9392cd7635dc2f29bdb49892
[ "MIT" ]
null
null
null
run_pyglet.py
zhy0216-collection/Meisjie
57e33b8b8095cfaf9392cd7635dc2f29bdb49892
[ "MIT" ]
null
null
null
import time from PIL import Image, ImageDraw import pyglet from genetic import Myimage, ImagePopulation from sprite import ImagePopulationSprite window = pyglet.window.Window() # 640x480 if __name__ == "__main__": current_generation = 0 current_evolve = 0 start_time = time.time() refer_image = Myimag...
30.153846
87
0.619169
301
2,744
5.392027
0.30897
0.104744
0.049908
0.038817
0.219963
0.10228
0.07024
0.07024
0.07024
0.07024
0
0.02145
0.286443
2,744
90
88
30.488889
0.807457
0.088921
0
0.145455
0
0
0.07916
0.010097
0
0
0
0
0
0
null
null
0.018182
0.090909
null
null
0.036364
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
1
0
0
0
0
0
0
0
0
1
e92eee2770df1d362bea106ea6262491348516a1
3,695
py
Python
gorilla/evaluation/evaluator.py
sunjiahao1999/gorilla-core
bf43e3a49c7f79834ae969db38edd50f17ef5288
[ "MIT" ]
4
2021-07-28T04:50:26.000Z
2021-09-23T12:59:01.000Z
gorilla/evaluation/evaluator.py
sunjiahao1999/gorilla-core
bf43e3a49c7f79834ae969db38edd50f17ef5288
[ "MIT" ]
null
null
null
gorilla/evaluation/evaluator.py
sunjiahao1999/gorilla-core
bf43e3a49c7f79834ae969db38edd50f17ef5288
[ "MIT" ]
2
2021-08-05T04:01:12.000Z
2021-12-25T02:17:03.000Z
# Copyright (c) Facebook, Inc. and its affiliates. import logging from typing import Sequence from collections import OrderedDict import numpy as np from ..core import is_main_process class DatasetEvaluator: r""" Base class for a dataset evaluator. The function :func:`inference_on_dataset` runs the mod...
32.991071
94
0.602436
452
3,695
4.80531
0.353982
0.037293
0.03453
0.024862
0.117864
0.03407
0
0
0
0
0
0.001574
0.312043
3,695
111
95
33.288288
0.852872
0.397564
0
0.254545
0
0
0.118888
0.025219
0
0
0
0
0.036364
1
0.145455
false
0.054545
0.090909
0
0.290909
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
0
1
0
0
0
0
0
1
e92f7feda3422c7ba1fe824add879766b1ad800e
1,190
py
Python
src/api/api.py
AnthonyKenny98/DailyBriefing
8600241cc45ce647c9cb29dd902923806dbd4c40
[ "MIT" ]
null
null
null
src/api/api.py
AnthonyKenny98/DailyBriefing
8600241cc45ce647c9cb29dd902923806dbd4c40
[ "MIT" ]
20
2020-05-04T23:21:26.000Z
2021-12-13T20:37:45.000Z
src/api/api.py
AnthonyKenny98/DailyBriefing
8600241cc45ce647c9cb29dd902923806dbd4c40
[ "MIT" ]
null
null
null
"""Super API Accessing Class to reduce code complexity.""" # -*- coding: utf-8 -*- # @Author: AnthonyKenny98 # @Date: 2020-04-21 15:13:04 # @Last Modified by: AnthonyKenny98 # @Last Modified time: 2020-05-05 20:08:28 import os import requests import sys class API: """Super API Class.""" # Class Attribut...
30.512821
77
0.612605
160
1,190
4.3875
0.5125
0.039886
0.02849
0
0
0
0
0
0
0
0
0.037543
0.261345
1,190
38
78
31.315789
0.761092
0.352101
0
0
0
0
0.009485
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.555556
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
0
0
0
0
1
0
0
1
e9385584cbb00d4d9ae5a84401ca90cd4d79517f
1,316
py
Python
problems/B/SortedAdjacentDifferences.py
deveshbajpai19/CodeForces
707b374f03012ec68054841f791d48b33ae4ef1b
[ "MIT" ]
55
2016-06-19T05:45:15.000Z
2022-03-31T15:18:53.000Z
problems/B/SortedAdjacentDifferences.py
farhadcu/CodeForces-2
707b374f03012ec68054841f791d48b33ae4ef1b
[ "MIT" ]
null
null
null
problems/B/SortedAdjacentDifferences.py
farhadcu/CodeForces-2
707b374f03012ec68054841f791d48b33ae4ef1b
[ "MIT" ]
25
2016-07-29T13:03:15.000Z
2021-09-17T01:45:45.000Z
__author__ = 'Devesh Bajpai' ''' https://codeforces.com/problemset/problem/1339/B Solution: Sort the array. Keep 2 pointers left and right. Take the pair of elements of these pointed elements in the result array. Move the left leftwards and right rightwards. This ensures the net distance on the number line is smalle...
23.5
109
0.595745
198
1,316
3.868687
0.469697
0.010444
0.043081
0.041775
0
0
0
0
0
0
0
0.02823
0.300152
1,316
55
110
23.927273
0.803474
0
0
0.066667
0
0
0.030423
0
0
0
0
0
0
0
null
null
0
0
null
null
0.033333
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
1
0
0
0
0
0
0
0
0
1
e9437e5eaf4f5b8d5c8064678abfb280593f5d38
4,192
py
Python
python/Windows/createUsers.py
jokimina/miscellany
a2b80befb8037dc04cdbbe8185c5f7830976c837
[ "MIT" ]
1
2018-12-15T02:12:37.000Z
2018-12-15T02:12:37.000Z
python/Windows/createUsers.py
oldthreefeng/miscellany
8d3c7a14b53929d752c7356c85ae6681000cd526
[ "MIT" ]
null
null
null
python/Windows/createUsers.py
oldthreefeng/miscellany
8d3c7a14b53929d752c7356c85ae6681000cd526
[ "MIT" ]
2
2018-12-10T12:55:38.000Z
2019-01-04T07:43:55.000Z
#!/usr/bin/env python #encoding:utf8 import urllib2 import simplejson as json import sys import os import pypinyin import ssl ssl._create_default_https_context = ssl._create_unverified_context class weChat: def __init__(self,url,Corpid,Secret): url = '%s/cgi-bin/gettoken?corpid=%s&corpsecret=%s' % (url,...
36.77193
141
0.521469
451
4,192
4.718404
0.283814
0.026316
0.044643
0.024436
0.246711
0.210056
0.113722
0.042293
0
0
0
0.022534
0.354246
4,192
113
142
37.097345
0.763576
0.098998
0
0.090909
0
0.038961
0.193654
0.031732
0
0
0
0
0
0
null
null
0
0.077922
null
null
0.077922
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
1
0
0
0
0
0
0
0
0
1
e9456e26edb566b58ad0e4f88270d54e4c5f62f2
573
py
Python
src/email_verification/migrations/0003_sessionstate.py
WadeBarnes/indy-email-verification
c6a7aacbed67293ba05c568e940d76461955a87c
[ "Apache-2.0" ]
10
2020-02-09T15:04:40.000Z
2022-01-06T18:55:58.000Z
src/email_verification/migrations/0003_sessionstate.py
WadeBarnes/indy-email-verification
c6a7aacbed67293ba05c568e940d76461955a87c
[ "Apache-2.0" ]
21
2019-07-03T20:54:14.000Z
2021-11-23T22:22:22.000Z
src/email_verification/migrations/0003_sessionstate.py
asa1997/KOB-email-verification
0ac013430440829e6b3ba285e0bca636c4b4cb9d
[ "Apache-2.0" ]
17
2019-04-25T21:54:46.000Z
2021-11-18T15:33:41.000Z
# Generated by Django 2.2.4 on 2019-10-22 17:53 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('email_verification', '0002_auto_20190415_1718'), ] operations = [ migrations.CreateModel( name='SessionState', field...
26.045455
114
0.577661
56
573
5.767857
0.767857
0.049536
0
0
0
0
0
0
0
0
0
0.076543
0.293194
573
21
115
27.285714
0.720988
0.078534
0
0
1
0
0.142586
0.043726
0
0
0
0
0
1
0
false
0
0.066667
0
0.266667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3a6200536fb09828efa2ba5bc6e325649788a316
529
py
Python
doltcli/__init__.py
TannerAMay/doltcli
0d073d65a20530f40e25fd696629d473600a634c
[ "Apache-2.0" ]
null
null
null
doltcli/__init__.py
TannerAMay/doltcli
0d073d65a20530f40e25fd696629d473600a634c
[ "Apache-2.0" ]
null
null
null
doltcli/__init__.py
TannerAMay/doltcli
0d073d65a20530f40e25fd696629d473600a634c
[ "Apache-2.0" ]
null
null
null
from .dolt import ( Branch, Commit, Dolt, DoltException, DoltHubContext, _execute, KeyPair, Remote, Status, Table, ) from .types import ( BranchT, CommitT, DoltT, KeyPairT, RemoteT, StatusT, TableT, ) from .utils import ( CREATE, FORCE_CREATE, ...
13.921053
21
0.603025
55
529
5.509091
0.654545
0.072607
0
0
0
0
0
0
0
0
0
0
0.321361
529
37
22
14.297297
0.844011
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.081081
0
0.081081
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
0
0
0
0
0
0
1
3a62db4bd65765d304546ab9bbecde61034b3928
10,485
py
Python
datablox_framework/datablox_framework/loader.py
mpi-sws-rse/datablox
93af071e5f8a68dc83df1700ed657bd64aca8849
[ "Apache-2.0" ]
null
null
null
datablox_framework/datablox_framework/loader.py
mpi-sws-rse/datablox
93af071e5f8a68dc83df1700ed657bd64aca8849
[ "Apache-2.0" ]
null
null
null
datablox_framework/datablox_framework/loader.py
mpi-sws-rse/datablox
93af071e5f8a68dc83df1700ed657bd64aca8849
[ "Apache-2.0" ]
null
null
null
"""This is the command line interface to the master. """ import os import os.path import sys from optparse import OptionParser import logging from logging.handlers import RotatingFileHandler logger = logging.getLogger(__name__) from master import * import defs try: import datablox_engage_adapter.file_locator usin...
40.797665
272
0.686218
1,466
10,485
4.703274
0.196453
0.024801
0.028281
0.010877
0.217259
0.15388
0.1124
0.065845
0.065845
0.065845
0
0.003617
0.208965
10,485
256
273
40.957031
0.827707
0.054173
0
0.144144
0
0.009009
0.246094
0.02175
0
0
0
0
0
0
null
null
0.004505
0.058559
null
null
0.004505
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
1
0
0
0
0
0
0
0
0
1
3a7409953f07bfcf65789849ee7af1377b9abf55
1,158
py
Python
health_check/backends/base.py
albandum/django-health-check-1.6
c2a9e424ac6e4b9a5ba2cd5bf2dc9a2c558deb36
[ "MIT" ]
null
null
null
health_check/backends/base.py
albandum/django-health-check-1.6
c2a9e424ac6e4b9a5ba2cd5bf2dc9a2c558deb36
[ "MIT" ]
null
null
null
health_check/backends/base.py
albandum/django-health-check-1.6
c2a9e424ac6e4b9a5ba2cd5bf2dc9a2c558deb36
[ "MIT" ]
1
2021-03-08T17:17:59.000Z
2021-03-08T17:17:59.000Z
from django.utils.translation import ugettext_lazy as _ class HealthCheckStatusType(object): unavailable = 0 working = 1 unexpected_result = 2 HEALTH_CHECK_STATUS_TYPE_TRANSLATOR = { 0: _("unavailable"), 1: _("working"), 2: _("unexpected result"), } class HealthCheckException(Exception): ...
22.269231
78
0.681347
118
1,158
6.40678
0.432203
0.087302
0.089947
0.111111
0.238095
0.19709
0.153439
0
0
0
0
0.011223
0.23057
1,158
51
79
22.705882
0.837262
0
0
0
0
0
0.05013
0
0
0
0
0
0
1
0.117647
false
0.029412
0.029412
0.088235
0.617647
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
0
0
0
0
1
0
0
1
3a751a879e5e05a7ee9a92cf27ee846daa3edf13
159,986
py
Python
python/acpi.py
3mdeb/bits
19da7046a7303f1de8b53165eea1a6f486757c03
[ "BSD-3-Clause" ]
215
2015-08-05T07:31:35.000Z
2022-03-25T17:34:54.000Z
python/acpi.py
marcol3786/bits
19da7046a7303f1de8b53165eea1a6f486757c03
[ "BSD-3-Clause" ]
12
2015-09-07T14:09:53.000Z
2021-04-07T05:03:26.000Z
python/acpi.py
marcol3786/bits
19da7046a7303f1de8b53165eea1a6f486757c03
[ "BSD-3-Clause" ]
71
2015-08-05T02:35:13.000Z
2022-02-11T21:16:39.000Z
# Copyright (c) 2015, Intel Corporation # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, # this list of condit...
33.745201
217
0.629468
19,161
159,986
4.916915
0.069203
0.063378
0.046873
0.033881
0.556717
0.480581
0.423689
0.381062
0.332459
0.306412
0
0.023004
0.245453
159,986
4,740
218
33.752321
0.757441
0.020508
0
0.424393
0
0.000248
0.132515
0.025016
0
0
0.001375
0
0.001239
0
null
null
0.000744
0.007189
null
null
0.016113
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
1
0
0
0
0
0
0
0
0
1
3a7b237c9a0ab251478a01f69868af1a2285ab21
1,948
py
Python
scripts/parse_results.py
Alchem-Lab/deneva
5201ef12fd8235fea7833709b8bffe45f53877eb
[ "Apache-2.0" ]
88
2017-01-19T03:15:24.000Z
2022-03-30T16:22:19.000Z
scripts/parse_results.py
Alchem-Lab/deneva
5201ef12fd8235fea7833709b8bffe45f53877eb
[ "Apache-2.0" ]
null
null
null
scripts/parse_results.py
Alchem-Lab/deneva
5201ef12fd8235fea7833709b8bffe45f53877eb
[ "Apache-2.0" ]
22
2017-01-20T10:22:31.000Z
2022-02-10T18:55:36.000Z
#!/usr/bin/python import os,re,sys,datetime,itertools,math import glob import numpy as np import matplotlib as mpl mpl.use('Agg') import matplotlib.pyplot as pyplot PATH=os.getcwd() result_dir = PATH + "/results/" summary = {} def avg(l): return float(sum(l) / float(len(l))) def get_summary(sfile): result...
27.43662
170
0.629877
307
1,948
3.824104
0.332248
0.068143
0.034072
0.046848
0.193356
0.109029
0.109029
0.109029
0.109029
0.109029
0
0.012812
0.198665
1,948
70
171
27.828571
0.73927
0.027721
0
0
0
0
0.190904
0
0
0
0
0
0
0
null
null
0
0.09434
null
null
0.169811
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
1
0
0
0
0
0
0
0
0
1
3a8233db1f8c18ca4d1286359e93dc9aec5483ce
4,408
py
Python
app/forum/migrations/0002_auto_20200207_1947.py
Diaga/knctU-Server
a3fb9ac00662fcdf6066ee838fa8c40bb8c208f3
[ "MIT" ]
null
null
null
app/forum/migrations/0002_auto_20200207_1947.py
Diaga/knctU-Server
a3fb9ac00662fcdf6066ee838fa8c40bb8c208f3
[ "MIT" ]
null
null
null
app/forum/migrations/0002_auto_20200207_1947.py
Diaga/knctU-Server
a3fb9ac00662fcdf6066ee838fa8c40bb8c208f3
[ "MIT" ]
null
null
null
# Generated by Django 3.0.2 on 2020-02-07 14:47 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone import uuid class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_M...
46.4
155
0.59823
451
4,408
5.667406
0.195122
0.064554
0.065728
0.103286
0.682707
0.644366
0.602504
0.602504
0.602504
0.548513
0
0.008032
0.265653
4,408
94
156
46.893617
0.781588
0.010209
0
0.465909
1
0
0.126118
0
0
0
0
0
0
1
0
false
0
0.056818
0
0.090909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3a83ad7a5ad20ae4dcfd1f643c0c8f10864d0d54
1,181
py
Python
ava_cmds.py
fossabot/ava
e8541c43b7bc4e92f2cfb21f64f0167057d8b565
[ "Apache-2.0" ]
null
null
null
ava_cmds.py
fossabot/ava
e8541c43b7bc4e92f2cfb21f64f0167057d8b565
[ "Apache-2.0" ]
null
null
null
ava_cmds.py
fossabot/ava
e8541c43b7bc4e92f2cfb21f64f0167057d8b565
[ "Apache-2.0" ]
null
null
null
""" AVA's primary commands file Located here are all of AVA's core commands """ def speak(text=None): """ The voice of AVA """ import pyttsx3 # Initialize the engine engine = pyttsx3.init(driverName=None, debug=True) # Get and set female voice, because in this case Ava is a female. v...
25.12766
80
0.663844
153
1,181
5.111111
0.588235
0.01023
0
0
0
0
0
0
0
0
0
0.003371
0.246401
1,181
46
81
25.673913
0.875281
0.499577
0
0
0
0
0.053131
0
0
0
0
0.043478
0
1
0.1875
false
0
0.125
0
0.4375
0.0625
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
1
0
0
0
0
0
0
0
0
0
0
1
3a848076eb35443bbc91b7ed2dfb5d781dc3b302
426
py
Python
cart/migrations/0002_auto_20180513_2035.py
niansir/fresh_demo
67973d9ecf597aef1bc17ee6eeabe81c9303e937
[ "Apache-2.0" ]
1
2019-01-18T05:46:57.000Z
2019-01-18T05:46:57.000Z
cart/migrations/0002_auto_20180513_2035.py
niansir/fresh_demo
67973d9ecf597aef1bc17ee6eeabe81c9303e937
[ "Apache-2.0" ]
null
null
null
cart/migrations/0002_auto_20180513_2035.py
niansir/fresh_demo
67973d9ecf597aef1bc17ee6eeabe81c9303e937
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.0.4 on 2018-05-13 12:35 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('reg', '0004_auto_20180513_1958'), ('goods', '0002_auto_20180513_0124'), ('cart', '0001_initial'), ] operations = [ mig...
21.3
48
0.556338
44
426
5.181818
0.818182
0.105263
0
0
0
0
0
0
0
0
0
0.175862
0.319249
426
19
49
22.421053
0.610345
0.105634
0
0
1
0
0.230556
0.127778
0
0
0
0
0
1
0
false
0
0.076923
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3a8c76b88e13deac357ed4ffd9717f18b4074569
460
py
Python
057_BiSeNetV2/02_celebamaskhq/01_float32/08_saved_model_to_coreml.py
IgiArdiyanto/PINTO_model_zoo
9247b56a7dff37f28a8a7822a7ef4dd9adf7234d
[ "MIT" ]
1,529
2019-12-11T13:36:23.000Z
2022-03-31T18:38:27.000Z
057_BiSeNetV2/02_celebamaskhq/01_float32/08_saved_model_to_coreml.py
IgiArdiyanto/PINTO_model_zoo
9247b56a7dff37f28a8a7822a7ef4dd9adf7234d
[ "MIT" ]
200
2020-01-06T09:24:42.000Z
2022-03-31T17:29:08.000Z
057_BiSeNetV2/02_celebamaskhq/01_float32/08_saved_model_to_coreml.py
IgiArdiyanto/PINTO_model_zoo
9247b56a7dff37f28a8a7822a7ef4dd9adf7234d
[ "MIT" ]
288
2020-02-21T14:56:02.000Z
2022-03-30T03:00:35.000Z
### tensorflow==2.3.0 import tensorflow as tf import coremltools as ct mlmodel = ct.convert('saved_model_256x256', source='tensorflow') mlmodel.save("bisenetv2_celebamaskhq_256x256_float32.mlmodel") mlmodel = ct.convert('saved_model_448x448', source='tensorflow') mlmodel.save("bisenetv2_celebamaskhq_448x448_float32....
30.666667
64
0.815217
57
460
6.315789
0.368421
0.075
0.133333
0.175
0.694444
0.622222
0.222222
0
0
0
0
0.111628
0.065217
460
14
65
32.857143
0.725581
0.036957
0
0
0
0
0.513699
0.315068
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
0
0
0
0
0
0
0
1
3aa52caff260746d2537d276c97142a2d673c905
2,539
py
Python
recip/network/SocketNode.py
anthonybuckle/Reciprocity-Core
3254073f44e8fe2222aed9879885a2e609d4044a
[ "MIT" ]
null
null
null
recip/network/SocketNode.py
anthonybuckle/Reciprocity-Core
3254073f44e8fe2222aed9879885a2e609d4044a
[ "MIT" ]
null
null
null
recip/network/SocketNode.py
anthonybuckle/Reciprocity-Core
3254073f44e8fe2222aed9879885a2e609d4044a
[ "MIT" ]
null
null
null
from concurrent.futures import ThreadPoolExecutor from recip.network.messages.core import MessageFactory from socketserver import BaseRequestHandler from recip.network.SyncManager import SyncManager from socketserver import TCPServer from recip.util import Config, DataType, RLP, Network import socket class SocketNode:...
36.271429
103
0.680977
249
2,539
6.815261
0.37751
0.038892
0.018857
0.010607
0.017678
0
0
0
0
0
0
0.004543
0.219772
2,539
70
104
36.271429
0.852095
0
0
0
0
0
0.040551
0.020866
0
0
0
0
0
1
0.236364
false
0
0.127273
0
0.472727
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
0
0
0
0
0
0
1
3aa6dc8de056aa9dc8724431a988351c1c2e901e
1,288
py
Python
generated-libraries/python/netapp/aggr/contained_volume_info.py
radekg/netapp-ontap-lib-get
6445ebb071ec147ea82a486fbe9f094c56c5c40d
[ "MIT" ]
2
2017-03-28T15:31:26.000Z
2018-08-16T22:15:18.000Z
generated-libraries/python/netapp/aggr/contained_volume_info.py
radekg/netapp-ontap-lib-get
6445ebb071ec147ea82a486fbe9f094c56c5c40d
[ "MIT" ]
null
null
null
generated-libraries/python/netapp/aggr/contained_volume_info.py
radekg/netapp-ontap-lib-get
6445ebb071ec147ea82a486fbe9f094c56c5c40d
[ "MIT" ]
null
null
null
from netapp.netapp_object import NetAppObject class ContainedVolumeInfo(NetAppObject): """ Information about a volume contained in the aggregate. """ _vserver = None @property def vserver(self): """ Name of the vserver to which this volume belongs. This field is...
24.301887
89
0.544255
131
1,288
5.244275
0.40458
0.034935
0.043668
0.034935
0.180495
0.180495
0.081514
0
0
0
0
0
0.350932
1,288
52
90
24.769231
0.82177
0.152174
0
0.176471
0
0
0.108911
0.020792
0
0
0
0
0
1
0.205882
false
0
0.029412
0.088235
0.470588
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
0
0
0
0
0
0
1
3aa8610ce044c74e13e4c22781cdc545b4a5a383
7,211
py
Python
manual_doc/torqata_test.py
zahed3795/Super-Automation
a207d39910943256ad2117b1a84ebcaaaf7aa43e
[ "MIT" ]
2
2020-11-12T14:01:49.000Z
2020-11-12T14:01:52.000Z
manual_doc/torqata_test.py
zahed3795/Super-Automation
a207d39910943256ad2117b1a84ebcaaaf7aa43e
[ "MIT" ]
null
null
null
manual_doc/torqata_test.py
zahed3795/Super-Automation
a207d39910943256ad2117b1a84ebcaaaf7aa43e
[ "MIT" ]
null
null
null
from automation import BaseCase class Torqata_Test_Class(BaseCase): # UNIT TEST 00001----Test id 00001 def test_torqata_00001(self): # User Go to https://torqata.com/ self.open("https://torqata.com/") url_status_code = self.get_link_status_code("https://torqata.com/") assert u...
52.635036
110
0.603661
924
7,211
4.645022
0.166667
0.071295
0.087139
0.071295
0.669152
0.597158
0.576654
0.526561
0.502563
0.474837
0
0.035551
0.212037
7,211
136
111
53.022059
0.716649
0.180141
0
0.489583
0
0.041667
0.474651
0.322218
0
0
0
0
0.09375
1
0.052083
false
0.177083
0.010417
0
0.072917
0.072917
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
0
1
0
0
0
0
0
1
3aab109cc9b63579298c240128afe8a6ffa60c7b
1,339
py
Python
problems/514.Freedom_Trail/li_bfs_heapq_TLE.py
subramp-prep/leetcode
d125201d9021ab9b1eea5e5393c2db4edd84e740
[ "Unlicense" ]
null
null
null
problems/514.Freedom_Trail/li_bfs_heapq_TLE.py
subramp-prep/leetcode
d125201d9021ab9b1eea5e5393c2db4edd84e740
[ "Unlicense" ]
null
null
null
problems/514.Freedom_Trail/li_bfs_heapq_TLE.py
subramp-prep/leetcode
d125201d9021ab9b1eea5e5393c2db4edd84e740
[ "Unlicense" ]
null
null
null
# coding=utf-8 # Author: Jianghan LI # Question: 514.Freedom_Trail # Date: 08/03/2017 import heapq class Solution(object): def findRotateSteps(self, ring, key): """ :type ring: str :type key: str :rtype: int """ pos = {} for i, c in enumerate(ring): ...
29.108696
98
0.48469
163
1,339
3.95092
0.417178
0.037267
0.037267
0
0
0
0
0
0
0
0
0.042067
0.378641
1,339
45
99
29.755556
0.731971
0.11053
0
0
0
0
0.077413
0.040984
0
0
0
0
0
0
null
null
0
0.035714
null
null
0.142857
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
1
0
0
0
0
0
0
0
0
1
3ab927928da533089cc12ef929918a0dd8664894
3,117
py
Python
wriiten by zwang/mapping.py
ashinwz/lmmd_experiments
05f235236fe7ffc9902b4452fe2b3ec00d447c14
[ "MIT" ]
null
null
null
wriiten by zwang/mapping.py
ashinwz/lmmd_experiments
05f235236fe7ffc9902b4452fe2b3ec00d447c14
[ "MIT" ]
null
null
null
wriiten by zwang/mapping.py
ashinwz/lmmd_experiments
05f235236fe7ffc9902b4452fe2b3ec00d447c14
[ "MIT" ]
null
null
null
#coding=utf-8 #mapping for everything you want #all file using ".tsv" out=raw_input("please input out_filename: ") pi=raw_input("please input your mapping filename: ") ji=raw_input("please input your mapping number key: ") content=raw_input("please input your mapping content number: ") yes=raw_input("Anythingels...
34.252747
109
0.572666
482
3,117
3.580913
0.1639
0.041715
0.06489
0.088065
0.626883
0.555041
0.472769
0.472769
0.460603
0.454809
0
0.013877
0.237087
3,117
90
110
34.633333
0.711943
0.028553
0
0.428571
0
0
0.12056
0.007172
0
0
0
0
0
0
null
null
0.02381
0
null
null
0.011905
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
1
0
0
0
0
0
0
0
0
1
3abf0dd6990492e015dcdb33425942702e6a917d
1,146
py
Python
vc/models/vctype.py
prorevizor/noc
37e44b8afc64318b10699c06a1138eee9e7d6a4e
[ "BSD-3-Clause" ]
84
2017-10-22T11:01:39.000Z
2022-02-27T03:43:48.000Z
vc/models/vctype.py
prorevizor/noc
37e44b8afc64318b10699c06a1138eee9e7d6a4e
[ "BSD-3-Clause" ]
22
2017-12-11T07:21:56.000Z
2021-09-23T02:53:50.000Z
vc/models/vctype.py
prorevizor/noc
37e44b8afc64318b10699c06a1138eee9e7d6a4e
[ "BSD-3-Clause" ]
23
2017-12-06T06:59:52.000Z
2022-02-24T00:02:25.000Z
# --------------------------------------------------------------------- # VCType model # --------------------------------------------------------------------- # Copyright (C) 2007-2020 The NOC Project # See LICENSE for details # --------------------------------------------------------------------- # Third-party module...
30.972973
73
0.557592
125
1,146
4.952
0.48
0.145396
0.035541
0.051696
0
0
0
0
0
0
0
0.019833
0.164049
1,146
36
74
31.833333
0.626305
0.28534
0
0
0
0
0.120603
0
0
0
0
0
0
1
0.055556
false
0
0.166667
0.055556
0.722222
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
0
0
0
0
1
0
0
1
3ac2d990598ec23258f7f25279d68d4522e1b323
493
py
Python
find_core_reviewers.py
som-mishra/findingCoreReviewers
7b83d8214f84773c0d28794cd942ac2768b68b45
[ "Apache-2.0" ]
null
null
null
find_core_reviewers.py
som-mishra/findingCoreReviewers
7b83d8214f84773c0d28794cd942ac2768b68b45
[ "Apache-2.0" ]
null
null
null
find_core_reviewers.py
som-mishra/findingCoreReviewers
7b83d8214f84773c0d28794cd942ac2768b68b45
[ "Apache-2.0" ]
null
null
null
# https://github.com/openstack/governance/blob/master/reference/projects.yaml # Retreive the file above, the raw version of it. # Need to parse the file above and figure out all of the projects. # Then go to Gerrit and figure out who the core reviewers are for each projects. import urllib2 targeturl = 'https:/...
37.923077
90
0.770791
72
493
5.277778
0.583333
0.057895
0.073684
0.121053
0.336842
0.336842
0.336842
0.336842
0.336842
0.336842
0
0.004785
0.15213
493
12
91
41.083333
0.904306
0.543611
0
0
0
0
0.362319
0
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.333333
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
1
0
0
0
0
0
0
0
0
1
3ac88c97617af531efcbec57a9004d40ab7b39a0
390
py
Python
setup.py
dongying/dear
6f9a4f63bf3ee197dc03d7d2bd0451a83906d2ba
[ "MIT" ]
2
2015-03-10T12:40:29.000Z
2015-09-07T05:05:34.000Z
setup.py
dongying/dear
6f9a4f63bf3ee197dc03d7d2bd0451a83906d2ba
[ "MIT" ]
null
null
null
setup.py
dongying/dear
6f9a4f63bf3ee197dc03d7d2bd0451a83906d2ba
[ "MIT" ]
null
null
null
#!/usr/bin/env python #from distutils.core import setup from setuptools import setup setup(name='dear', version='0.1.1', description='Dear EARs Audio Analysis Framework', author='Dongying Zhang', author_email='zhdongying@gmail.com', url='http://dongying.github.com/dear', packages=['dear','dear...
24.375
65
0.687179
51
390
5.235294
0.686275
0.082397
0
0
0
0
0
0
0
0
0
0.009009
0.146154
390
15
66
26
0.792793
0.133333
0
0
0
0
0.465672
0
0
0
0
0
0
1
0
true
0
0.1
0
0.1
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
0
0
0
0
0
0
1
3acc9c8741bfb08879720d0376e83018666eb4af
398
py
Python
src/apiCall/migrations/0004_auto_20200429_1214.py
Akash16s/youtube-video-fetch-api
a662a089c33efd0f7454f7e34b4f291ffdc8a9ff
[ "Apache-2.0" ]
1
2021-11-14T10:30:16.000Z
2021-11-14T10:30:16.000Z
src/apiCall/migrations/0004_auto_20200429_1214.py
Akash16s/youtube-video-fetch-api
a662a089c33efd0f7454f7e34b4f291ffdc8a9ff
[ "Apache-2.0" ]
5
2021-03-30T13:22:16.000Z
2021-09-22T18:57:04.000Z
src/apiCall/migrations/0004_auto_20200429_1214.py
Akash16s/youtube-video-fetch-api
a662a089c33efd0f7454f7e34b4f291ffdc8a9ff
[ "Apache-2.0" ]
2
2020-09-04T04:35:35.000Z
2021-12-19T15:56:21.000Z
# Generated by Django 3.0.5 on 2020-04-29 06:44 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('apiCall', '0003_youtubemodel'), ] operations = [ migrations.AlterField( model_name='youtubemodel', nam...
20.947368
48
0.567839
38
398
5.868421
0.815789
0
0
0
0
0
0
0
0
0
0
0.070632
0.324121
398
18
49
22.111111
0.758364
0.113065
0
0
1
0
0.147147
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3acf60539c9e4d52b5fdddb2f7fcc3ac0244aadb
1,598
py
Python
Asap-3.8.4/Projects/NanoparticleMC/queuemultipleamc.py
auag92/n2dm
03403ef8da303b79478580ae76466e374ec9da60
[ "MIT" ]
1
2021-10-19T11:35:34.000Z
2021-10-19T11:35:34.000Z
Asap-3.8.4/Projects/NanoparticleMC/queuemultipleamc.py
auag92/n2dm
03403ef8da303b79478580ae76466e374ec9da60
[ "MIT" ]
null
null
null
Asap-3.8.4/Projects/NanoparticleMC/queuemultipleamc.py
auag92/n2dm
03403ef8da303b79478580ae76466e374ec9da60
[ "MIT" ]
3
2016-07-18T19:22:48.000Z
2021-07-06T03:06:42.000Z
#!/usr/bin/env python import os import sys import time import subprocess import numpy as np smc_file = sys.argv[1] id_digits = 6 v0 = 1 n = 2 name = 'AuO_Amc' outdir = smc_file.split('.smc')[0]+"_amc_gas" #string to split is e.g. t4000s500000a300_smc_e1.0_surf_end.smc and folder is named t4000s500000a300_smc_e1.0_su...
31.333333
172
0.645181
240
1,598
4.195833
0.479167
0.027805
0.041708
0.043694
0.174777
0.103277
0.04568
0.04568
0
0
0
0.060821
0.20776
1,598
50
173
31.96
0.734597
0.110763
0
0
0
0
0.268688
0.098025
0
0
0
0
0
0
null
null
0
0.131579
null
null
0.105263
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
1
0
0
0
0
0
0
0
0
1