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
35389b8957544e62aaf86a54ab11dd64525be881
1,445
py
Python
pbpstats/data_loader/data_nba/boxscore/web.py
dblackrun/pbpstats
9870aae0875069644c95522592777ca950fe4cfa
[ "MIT" ]
54
2019-10-16T00:10:51.000Z
2022-03-19T21:21:05.000Z
pbpstats/data_loader/data_nba/boxscore/web.py
dblackrun/pbpstats
9870aae0875069644c95522592777ca950fe4cfa
[ "MIT" ]
15
2019-11-19T01:20:52.000Z
2022-02-04T13:38:37.000Z
pbpstats/data_loader/data_nba/boxscore/web.py
dblackrun/pbpstats
9870aae0875069644c95522592777ca950fe4cfa
[ "MIT" ]
15
2019-11-19T11:54:51.000Z
2022-03-21T05:08:53.000Z
import json import os from pbpstats import NBA_STRING, G_LEAGUE_STRING from pbpstats.data_loader.data_nba.web_loader import DataNbaWebLoader class DataNbaBoxscoreWebLoader(DataNbaWebLoader): """ A ``DataNbaBoxscoreWebLoader`` object should be instantiated and passed into ``DataNbaBoxscoreLoader`` when loadin...
45.15625
161
0.726644
207
1,445
4.845411
0.429952
0.090728
0.084746
0.041874
0
0
0
0
0
0
0
0.003416
0.189619
1,445
31
162
46.612903
0.853117
0.316955
0
0
0
0.058824
0.208377
0.06178
0
0
0
0
0
1
0.176471
false
0
0.235294
0
0.529412
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
353be4e2bbe0ca6727e084b3fd51011b383028c4
378
py
Python
vinesF/migrations/0014_remove_emails_name.py
ORC-1/vines
d57d87666e91d3c53aff461029dd5642c973bfa4
[ "Unlicense", "MIT" ]
1
2019-02-12T08:39:11.000Z
2019-02-12T08:39:11.000Z
vinesF/migrations/0014_remove_emails_name.py
ORC-1/vines
d57d87666e91d3c53aff461029dd5642c973bfa4
[ "Unlicense", "MIT" ]
3
2021-06-10T20:20:54.000Z
2022-03-11T23:21:32.000Z
vinesF/migrations/0014_remove_emails_name.py
ORC-1/vines
d57d87666e91d3c53aff461029dd5642c973bfa4
[ "Unlicense", "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2018-06-15 04:38 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('vinesF', '0013_emails'), ] operations = [ migrations.RemoveField( model...
18.9
48
0.597884
41
378
5.341463
0.780488
0
0
0
0
0
0
0
0
0
0
0.077206
0.280423
378
19
49
19.894737
0.727941
0.179894
0
0
1
0
0.087948
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.416667
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
353eec5b3a9b9d5f88409b15b6b742a69264dbdd
673
py
Python
stanovanja/home/migrations/0020_auto_20210811_1248.py
danesjenovdan/najemniski-sos
aa68fc31d748b9e032bf52d8d9e7fda865aa9506
[ "Unlicense" ]
null
null
null
stanovanja/home/migrations/0020_auto_20210811_1248.py
danesjenovdan/najemniski-sos
aa68fc31d748b9e032bf52d8d9e7fda865aa9506
[ "Unlicense" ]
null
null
null
stanovanja/home/migrations/0020_auto_20210811_1248.py
danesjenovdan/najemniski-sos
aa68fc31d748b9e032bf52d8d9e7fda865aa9506
[ "Unlicense" ]
null
null
null
# Generated by Django 3.2.6 on 2021-08-11 10:48 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('home', '0019_rentalstory'), ] operations = [ migrations.AddField( model_name='rentalstory', name='email', ...
26.92
121
0.604755
70
673
5.7
0.7
0.045113
0.100251
0.120301
0
0
0
0
0
0
0
0.051335
0.276374
673
24
122
28.041667
0.767967
0.066865
0
0.222222
1
0
0.167732
0.036741
0
0
0
0
0
1
0
false
0
0.055556
0
0.222222
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
3541f1a8fa723dc3f75c293169d6614e1d8e8f3a
1,048
py
Python
Territory.py
youssef-sherif/riskgame
48a1758b305f463e6965c176a5bf745eb32791dd
[ "MIT" ]
null
null
null
Territory.py
youssef-sherif/riskgame
48a1758b305f463e6965c176a5bf745eb32791dd
[ "MIT" ]
3
2021-03-09T19:20:20.000Z
2021-10-06T05:04:53.000Z
Territory.py
youssef-sherif/riskgame
48a1758b305f463e6965c176a5bf745eb32791dd
[ "MIT" ]
null
null
null
from Color import Color class Territory: def __init__(self, id, x, y): self.color = Color.Grey self.troops = 0 self.neighbours = list() self.neighbour_territories = list() self.id = int(id) self.x = x self.y = y def __lt__(self, other): return ...
24.372093
52
0.570611
120
1,048
4.808333
0.3
0.069324
0.124783
0.065858
0.135182
0.135182
0.135182
0.135182
0
0
0
0.00142
0.328244
1,048
42
53
24.952381
0.818182
0
0
0
0
0
0.023855
0
0
0
0
0
0
1
0.21875
false
0
0.03125
0.09375
0.4375
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
3547eb18af411353bdad5a667245adfc812208a8
1,412
py
Python
pontoon/base/migrations/0071_auto_20161123_2349.py
Tratty/pontoon
ecb903d72f9274f02137b16669cc3c5859f6329c
[ "BSD-3-Clause" ]
3
2020-01-27T12:26:20.000Z
2022-02-03T09:56:02.000Z
pontoon/base/migrations/0071_auto_20161123_2349.py
texnoman/pontoon-src
6b40ac229605e99966c3bdd1510b772c89d4de24
[ "BSD-3-Clause" ]
1
2021-03-24T12:33:03.000Z
2021-03-24T12:50:19.000Z
pontoon/base/migrations/0071_auto_20161123_2349.py
texnoman/pontoon-src
6b40ac229605e99966c3bdd1510b772c89d4de24
[ "BSD-3-Clause" ]
4
2020-01-26T21:28:43.000Z
2021-06-10T15:25:19.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.10 on 2016-11-23 23:49 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("base", "0070_auto_20161110_1336"), ] operations = [ migrations.AddField( ...
30.695652
192
0.457507
140
1,412
4.5
0.571429
0.028571
0.033333
0
0
0
0
0
0
0
0
0.042735
0.419972
1,412
45
193
31.377778
0.726496
0.048159
0
0.157895
1
0.026316
0.237882
0.017151
0
0
0
0
0
1
0
false
0
0.052632
0
0.131579
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
3549f1ce4a6995cefa776e072a8d47a41473b27d
42,097
py
Python
controllers/default.py
SatelliteApplicationsCatapult/Orbitool
c0e6bbe0a55de28f6658b926d51168aa08920536
[ "Apache-2.0" ]
2
2018-03-19T22:19:18.000Z
2018-05-15T05:05:09.000Z
controllers/default.py
SatelliteApplicationsCatapult/Orbitool
c0e6bbe0a55de28f6658b926d51168aa08920536
[ "Apache-2.0" ]
6
2018-03-16T09:37:22.000Z
2018-03-16T09:39:04.000Z
controllers/default.py
SatelliteApplicationsCatapult/Orbitool
c0e6bbe0a55de28f6658b926d51168aa08920536
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # this file is released under public domain and you can use without limitations # ------------------------------------------------------------------------- # This is the Link Budget Controller # ------------------------------------------------------------------------- import json from datetime ...
46.930881
317
0.545811
4,756
42,097
4.603659
0.099874
0.02923
0.021101
0.021375
0.583695
0.496689
0.428865
0.379219
0.336607
0.286595
0
0.009089
0.315272
42,097
896
318
46.983259
0.749905
0.04264
0
0.270517
0
0
0.142069
0.000792
0
0
0
0.004464
0
0
null
null
0
0.018237
null
null
0.00152
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
3549f378186bbc501c44ccd869c589f5bfc74a1d
667
py
Python
enif_app/migrations/0007_auto_20210116_1546.py
aejsi5/Enif
60c82cfe5272ee748d2c10dbd21b6c52cd674d5b
[ "MIT" ]
null
null
null
enif_app/migrations/0007_auto_20210116_1546.py
aejsi5/Enif
60c82cfe5272ee748d2c10dbd21b6c52cd674d5b
[ "MIT" ]
null
null
null
enif_app/migrations/0007_auto_20210116_1546.py
aejsi5/Enif
60c82cfe5272ee748d2c10dbd21b6c52cd674d5b
[ "MIT" ]
null
null
null
# Generated by Django 3.1.5 on 2021-01-16 14:46 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('enif_app', '0006_auto_20210116_1543'), ] operations = [ migrations.RenameField( model_name='enif_r...
26.68
126
0.587706
71
667
5.338028
0.676056
0.047493
0.068602
0
0
0
0
0
0
0
0
0.105376
0.302849
667
24
127
27.791667
0.709677
0.067466
0
0.111111
1
0
0.16443
0.038591
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
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
102e9ed7784aed193b71c5d8cce4a4454a27056f
1,669
py
Python
tests/unit/cli/cmd_project_test.py
hashnfv/hashnfv-qtip
2c79d3361fdb1fcbe67682f8a205011b3ccf5e72
[ "Apache-2.0" ]
4
2016-11-27T19:21:48.000Z
2018-01-08T21:49:03.000Z
tests/unit/cli/cmd_project_test.py
hashnfv/hashnfv-qtip
2c79d3361fdb1fcbe67682f8a205011b3ccf5e72
[ "Apache-2.0" ]
null
null
null
tests/unit/cli/cmd_project_test.py
hashnfv/hashnfv-qtip
2c79d3361fdb1fcbe67682f8a205011b3ccf5e72
[ "Apache-2.0" ]
10
2017-03-19T07:38:40.000Z
2018-01-08T21:49:09.000Z
############################################################### # Copyright (c) 2017 taseer94@gmail.com and others. # # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 # which accompanies this distribution, and is available at # ht...
29.803571
78
0.665668
216
1,669
5.018519
0.319444
0.088561
0.099631
0.127306
0.595941
0.595941
0.595941
0.595941
0.595941
0.587638
0
0.00684
0.124026
1,669
55
79
30.345455
0.73461
0.170162
0
0.193548
0
0
0.223929
0
0
0
0
0
0.193548
1
0.225806
false
0
0.129032
0.032258
0.387097
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
103160979210a5d8d638f32c414aaf10baacb396
10,695
py
Python
modules/tabix.py
tyrmi/STAPLER
fd83eee4be0bb78c67a111fd1c1c1dff4c16aefe
[ "BSD-3-Clause" ]
4
2017-07-17T07:45:39.000Z
2021-01-12T00:33:10.000Z
modules/tabix.py
tyrmi/STAPLER
fd83eee4be0bb78c67a111fd1c1c1dff4c16aefe
[ "BSD-3-Clause" ]
null
null
null
modules/tabix.py
tyrmi/STAPLER
fd83eee4be0bb78c67a111fd1c1c1dff4c16aefe
[ "BSD-3-Clause" ]
null
null
null
import os import subprocess from GenericBase import GenericBase from STAPLERerror import STAPLERerror from STAPLERerror import VirtualIOError import utils class bgzip(GenericBase): """Class for indexing .vcf files with bgzip & tabix. Parameters: in_cmd: String containing a command line ...
42.951807
112
0.576905
1,346
10,695
4.448737
0.170877
0.02004
0.02338
0.010688
0.70324
0.694222
0.679192
0.673848
0.669673
0.669673
0
0.003519
0.335671
10,695
248
113
43.125
0.839268
0.318841
0
0.452381
0
0
0.251441
0
0
0
0
0
0
1
0.031746
false
0
0.047619
0
0.277778
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
1033aa86799117c4a84feaa89dd10043c4480524
286
py
Python
ex023.py
Roninho514/Treinamento-Python
fc6ad0b64fb3dc3cfa5381f8fc53b5b3243a7ff6
[ "MIT" ]
null
null
null
ex023.py
Roninho514/Treinamento-Python
fc6ad0b64fb3dc3cfa5381f8fc53b5b3243a7ff6
[ "MIT" ]
null
null
null
ex023.py
Roninho514/Treinamento-Python
fc6ad0b64fb3dc3cfa5381f8fc53b5b3243a7ff6
[ "MIT" ]
null
null
null
num = int(input('Digite um número:')) u = num // 1 % 10 d = num // 10 % 10 c = num // 100 % 10 m = num // 1000 % 10 print('Analisando o número {}'.format(num)) print('A quantidade de unidade é {} \n a de dezena é {}'.format(u,d)) print('de centena é {} \n a de milhar é {}'.format(c,m))
35.75
69
0.590909
54
286
3.12963
0.5
0.023669
0.035503
0.059172
0
0
0
0
0
0
0
0.078947
0.202797
286
8
70
35.75
0.662281
0
0
0
0
0
0.425087
0
0
0
0
0
0
1
0
false
0
0
0
0
0.375
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
1033e5ef35070235120a1946e5d16533388afbbc
2,043
py
Python
congestionfinder/congestion.py
TUDelftAutoGraph/Congestion-Finder
64caeb8a30faaddec52cc7380edb3f2fdc3955d0
[ "Apache-2.0" ]
null
null
null
congestionfinder/congestion.py
TUDelftAutoGraph/Congestion-Finder
64caeb8a30faaddec52cc7380edb3f2fdc3955d0
[ "Apache-2.0" ]
null
null
null
congestionfinder/congestion.py
TUDelftAutoGraph/Congestion-Finder
64caeb8a30faaddec52cc7380edb3f2fdc3955d0
[ "Apache-2.0" ]
null
null
null
import numpy import scipy.interpolate import scipy.ndimage import matplotlib.pyplot import matplotlib.patches import logging def parseSpeedFlowsToCongestions(speeds, flows, speedThreshold, flowThreshold): logging.debug("Starting parseSpeedFlowsToCongestions()") congestions = speeds / speedThreshold ...
35.842105
108
0.70093
198
2,043
7.212121
0.40404
0.05042
0.042017
0.032213
0.135854
0
0
0
0
0
0
0.009042
0.187959
2,043
56
109
36.482143
0.851718
0.069995
0
0.066667
0
0
0.11963
0.084829
0
0
0
0.017857
0
1
0.111111
false
0
0.133333
0
0.311111
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
10358e26a94098f1e093f246466f8ad3a1d5e09e
2,852
py
Python
noisekit/audio/output.py
ggueret/noisekit
50421ebe04c5bb28f21bfeaa685ab14581efac24
[ "MIT" ]
null
null
null
noisekit/audio/output.py
ggueret/noisekit
50421ebe04c5bb28f21bfeaa685ab14581efac24
[ "MIT" ]
8
2019-04-02T11:24:17.000Z
2021-01-16T13:27:40.000Z
noisekit/audio/output.py
ggueret/noisekit
50421ebe04c5bb28f21bfeaa685ab14581efac24
[ "MIT" ]
null
null
null
import time import queue import shlex import threading import subprocess from .sound import SoundFile, SoundTone from ..service import BaseThread class OutputProducer(BaseThread): """A producer will spawn a player and pass it a queued sound bytes through a pipe""" def __init__(self, service, settings, *args,...
32.409091
133
0.617812
351
2,852
4.880342
0.353276
0.028021
0.045534
0.031524
0.039113
0.026853
0
0
0
0
0
0.007222
0.271739
2,852
87
134
32.781609
0.817525
0.073983
0
0.068966
0
0
0.07482
0
0
0
0
0.011494
0
1
0.086207
false
0
0.12069
0
0.241379
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
1039e7ca4a31eccc6f9f90f1e021152e0fc1db69
1,510
py
Python
xpython/byteop/byteoppypy.py
rocky/xpython
ce4ed4329cee2af0aab94254276f5a5687dd25f9
[ "MIT" ]
1
2020-04-28T13:18:13.000Z
2020-04-28T13:18:13.000Z
xpython/byteop/byteoppypy.py
rocky/xbyterun
fde8f8a31ffd3e3c4545d76b4b1edf4b7e0191d9
[ "MIT" ]
null
null
null
xpython/byteop/byteoppypy.py
rocky/xbyterun
fde8f8a31ffd3e3c4545d76b4b1edf4b7e0191d9
[ "MIT" ]
null
null
null
"""Bytecode Interpreter operations for PyPy in general (all versions) Specific PyPy versions i.e. PyPy 2.7, 3.2, 3.5-3.7 inherit this. """ import inspect class ByteOpPyPy(object): def BUILD_LIST_FROM_ARG(self, count: int): """Builds a list containing TOS. Is equivalint to BUILD_LIST(0) followed b...
30.816327
69
0.599338
210
1,510
4.190476
0.495238
0.034091
0.034091
0.022727
0.05
0.05
0.05
0
0
0
0
0.013195
0.297351
1,510
48
70
31.458333
0.816211
0.421192
0
0
0
0
0.078297
0
0
0
0
0
0
1
0.222222
false
0
0.055556
0
0.388889
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
103bf28958e06bcdd927d6c8e91ffaf060341bb4
1,489
py
Python
src/player.py
ontsidec/Bomberman-python
276926452adf39a5c6ce4b4a99dc9de4d0a2f1f8
[ "MIT" ]
1
2018-01-10T04:47:01.000Z
2018-01-10T04:47:01.000Z
src/player.py
ontsidec/Bomberman-python
276926452adf39a5c6ce4b4a99dc9de4d0a2f1f8
[ "MIT" ]
null
null
null
src/player.py
ontsidec/Bomberman-python
276926452adf39a5c6ce4b4a99dc9de4d0a2f1f8
[ "MIT" ]
1
2020-02-12T15:37:25.000Z
2020-02-12T15:37:25.000Z
class Player(object): """Klasa obsługująca poszczególnych graczy.""" def __init__(self, name, x, y): """Domyślne ustawienia klasy Args: name (string): Nazwa gracza x (int): Pozycja x gracza y (int): Pozycja y gracza """ self...
22.560606
61
0.495635
172
1,489
4.186047
0.319767
0.077778
0.044444
0.0375
0.297222
0.155556
0.05
0.05
0
0
0
0.009227
0.41773
1,489
65
62
22.907692
0.821223
0.405641
0
0.181818
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0
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
1
0
0
0
0
0
0
0
1
103f7a7d8aeada3567c416433582ceae362a4143
7,000
py
Python
mlob/output.py
mwhit74/mlob
8b999047c0ea00be3d9e74e9894b8f335db9e9b7
[ "MIT" ]
4
2019-08-30T12:09:00.000Z
2020-09-03T13:24:21.000Z
mlob/output.py
mwhit74/mlob
8b999047c0ea00be3d9e74e9894b8f335db9e9b7
[ "MIT" ]
null
null
null
mlob/output.py
mwhit74/mlob
8b999047c0ea00be3d9e74e9894b8f335db9e9b7
[ "MIT" ]
null
null
null
def write_output(axle_spacing, axle_wt, span_length1, span_length2, num_user_nodes, space_to_trailing_load, distributed_load, node_loc, V_max1, M_corr1, V_max1_axle, M_max1, V_corr1, M_max1_axle, V_max2, M_corr2, V_max2_axle, M_max2, V_corr2, M_max2_axle, ...
50
95
0.488
912
7,000
3.577851
0.166667
0.027582
0.025743
0.015323
0.415875
0.342629
0.295434
0.281949
0.254367
0.172847
0
0.05422
0.394
7,000
139
96
50.359712
0.714993
0.03
0
0.304878
0
0.04878
0.161719
0.042977
0
0
0
0
0
0
null
null
0
0
null
null
0.02439
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
103fb829306d6fe3889edaf94dc7682b24b57732
367
py
Python
tests/ex6_tests.py
gravyboat/python-exercises
50162a9e6f3d51fbb2c15ed08fcecba810d61338
[ "MIT" ]
null
null
null
tests/ex6_tests.py
gravyboat/python-exercises
50162a9e6f3d51fbb2c15ed08fcecba810d61338
[ "MIT" ]
null
null
null
tests/ex6_tests.py
gravyboat/python-exercises
50162a9e6f3d51fbb2c15ed08fcecba810d61338
[ "MIT" ]
null
null
null
from nose.tools import * from exercises import ex6 def test_sum(): ''' Test out if our sum is correct ''' test_sum_total = ex6.sum(1, 2,3 ,4) assert_equal(test_sum_total, 10) def test_multiply(): ''' Test out if multiplication works ''' test_multiply_total = ex6.multiply(1, 2, 3,...
18.35
50
0.651226
56
367
4.053571
0.464286
0.092511
0.079295
0.035242
0.167401
0.167401
0.167401
0
0
0
0
0.053763
0.239782
367
19
51
19.315789
0.759857
0.171662
0
0
0
0
0
0
0
0
0
0
0.25
1
0.25
false
0
0.25
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
1
0
0
0
0
0
0
0
1
104393240d4306bd285fdfe8321794dc679cffbd
2,070
py
Python
superphy/src/upload/python/batch_download_insert.py
superphy/semantic
06b3885a6a3e424ba57be0c839ae2bd8a46364ac
[ "Apache-2.0" ]
16
2015-09-23T17:19:35.000Z
2020-05-26T16:02:54.000Z
superphy/src/upload/python/batch_download_insert.py
superphy/semantic
06b3885a6a3e424ba57be0c839ae2bd8a46364ac
[ "Apache-2.0" ]
21
2015-11-03T15:43:58.000Z
2017-10-30T02:23:37.000Z
superphy/src/upload/python/batch_download_insert.py
superphy/semantic
06b3885a6a3e424ba57be0c839ae2bd8a46364ac
[ "Apache-2.0" ]
5
2015-10-19T17:12:39.000Z
2018-09-10T16:19:56.000Z
#!/usr/bin/env python # -*- coding: UTF-8 -*- #usage python batch_download_insert.py from Bio import SeqIO def download_to_insert(accession): import subprocess r = from_nuccore(accession) if r is None: print 'OH CRAP' else: subprocess.call(['./savvy.py', '-i', from_nuccore(accession...
27.6
169
0.63913
290
2,070
4.444828
0.524138
0.031032
0.024825
0.013964
0.071373
0.037238
0.037238
0.037238
0
0
0
0.005882
0.26087
2,070
74
170
27.972973
0.836601
0.15314
0
0.205128
0
0
0.168685
0.019896
0
0
0
0
0
0
null
null
0
0.153846
null
null
0.25641
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
1045eeabcc070a5197c9bc29df35c7a5a899a1e6
1,527
py
Python
oscar/apps/dashboard/nav.py
endgame/django-oscar
e5d78436e20b55902537a6cc82edf4e22568f9d6
[ "BSD-3-Clause" ]
null
null
null
oscar/apps/dashboard/nav.py
endgame/django-oscar
e5d78436e20b55902537a6cc82edf4e22568f9d6
[ "BSD-3-Clause" ]
null
null
null
oscar/apps/dashboard/nav.py
endgame/django-oscar
e5d78436e20b55902537a6cc82edf4e22568f9d6
[ "BSD-3-Clause" ]
1
2019-07-10T06:32:14.000Z
2019-07-10T06:32:14.000Z
from django.core.urlresolvers import reverse _nodes = [] class Node(object): def __init__(self, label, url_name=None, url_args=None, url_kwargs=None, access_fn=None): self.label = label self.url_name = url_name self.url_args = url_args self.url_kwargs = url_kwargs self.ac...
25.032787
93
0.626064
211
1,527
4.336493
0.293839
0.061202
0.048087
0.034973
0.037158
0
0
0
0
0
0
0.001823
0.281598
1,527
60
94
25.45
0.83227
0.071382
0
0.093023
0
0
0
0
0
0
0
0
0
1
0.232558
false
0
0.023256
0.069767
0.465116
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
1047d1077b790746ff13b70da97c7ad6997e53e6
308
py
Python
src/pretix/base/migrations/0188_delete_requiredaction.py
fabm3n/pretix
520fb620888d5c434665a6a4a33cb2ab22dd42c7
[ "Apache-2.0" ]
1,248
2015-04-24T13:32:06.000Z
2022-03-29T07:01:36.000Z
src/pretix/base/migrations/0188_delete_requiredaction.py
fabm3n/pretix
520fb620888d5c434665a6a4a33cb2ab22dd42c7
[ "Apache-2.0" ]
2,113
2015-02-18T18:58:16.000Z
2022-03-31T11:12:32.000Z
src/pretix/base/migrations/0188_delete_requiredaction.py
fabm3n/pretix
520fb620888d5c434665a6a4a33cb2ab22dd42c7
[ "Apache-2.0" ]
453
2015-05-13T09:29:06.000Z
2022-03-24T13:39:16.000Z
# Generated by Django 3.2.2 on 2021-05-13 18:20 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('pretixbase', '0187_normalize_salutation'), ] operations = [ migrations.DeleteModel( name='RequiredAction', ), ]
18.117647
52
0.62013
31
308
6.096774
0.83871
0
0
0
0
0
0
0
0
0
0
0.084821
0.272727
308
16
53
19.25
0.758929
0.146104
0
0
1
0
0.187739
0.095785
0
0
0
0
0
1
0
false
0
0.1
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
105f2cdb79c634c37678372cc074d1fab7ac2e15
710
py
Python
maha/constants/persian/compound.py
TRoboto/Maha
f229adbb1dcccb6bf8f84852723d24f97d511b24
[ "BSD-3-Clause" ]
152
2021-09-18T08:18:47.000Z
2022-03-14T13:23:17.000Z
maha/constants/persian/compound.py
TRoboto/Maha
f229adbb1dcccb6bf8f84852723d24f97d511b24
[ "BSD-3-Clause" ]
65
2021-09-20T06:00:41.000Z
2022-03-20T22:44:39.000Z
maha/constants/persian/compound.py
TRoboto/Maha
f229adbb1dcccb6bf8f84852723d24f97d511b24
[ "BSD-3-Clause" ]
10
2021-09-18T11:56:57.000Z
2021-11-20T09:05:16.000Z
"""List of Persian constant definitions.""" from __future__ import annotations from .simple import * PERSIAN_NUMBERS: list[str] = [ PERSIAN_ZERO, PERSIAN_ONE, PERSIAN_TWO, PERSIAN_THREE, PERSIAN_FOUR, PERSIAN_FIVE, PERSIAN_SIX, PERSIAN_SEVEN, PERSIAN_EIGHT, PERSIAN_NINE, ] """...
19.189189
61
0.7
85
710
5.517647
0.458824
0.051173
0.110874
0.115139
0.132196
0
0
0
0
0
0
0
0.204225
710
36
62
19.722222
0.830089
0.052113
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.083333
0
0.083333
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
106285f6a9bd3179587cffaf8b0af8645b18655e
1,142
py
Python
backend/youngun/youngun/apps/campaigns/migrations/0003_auto_20200701_1354.py
aakashbajaj/Youngun-Campaign-Tracking
a3b4f283b22cefb92c72f7638ee2a9da72622de0
[ "Apache-2.0" ]
null
null
null
backend/youngun/youngun/apps/campaigns/migrations/0003_auto_20200701_1354.py
aakashbajaj/Youngun-Campaign-Tracking
a3b4f283b22cefb92c72f7638ee2a9da72622de0
[ "Apache-2.0" ]
1
2021-09-22T19:27:06.000Z
2021-09-22T19:27:06.000Z
backend/youngun/youngun/apps/campaigns/migrations/0003_auto_20200701_1354.py
aakashbajaj/Youngun-Campaign-Tracking
a3b4f283b22cefb92c72f7638ee2a9da72622de0
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.0.7 on 2020-07-01 13:54 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('campaigns', '0002_auto_20200701_1144'), ] operations = [ migrations.RemoveField( model_name='campaign', name='storie...
34.606061
129
0.639229
127
1,142
5.496063
0.417323
0.080229
0.097421
0.120344
0.657593
0.630372
0.630372
0.630372
0.563037
0.408309
0
0.046784
0.251313
1,142
32
130
35.6875
0.769591
0.039405
0
0.423077
1
0
0.281279
0.142466
0
0
0
0
0
1
0
false
0
0.038462
0
0.153846
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
1064e356c763d89fc9c45bd6aae5419e4775b2f7
10,303
py
Python
pktgen.py
bizarrechaos/pktgen
e1011aca44d6144e355d529553b439e6f9f11972
[ "WTFPL" ]
null
null
null
pktgen.py
bizarrechaos/pktgen
e1011aca44d6144e355d529553b439e6f9f11972
[ "WTFPL" ]
null
null
null
pktgen.py
bizarrechaos/pktgen
e1011aca44d6144e355d529553b439e6f9f11972
[ "WTFPL" ]
null
null
null
#! /usr/bin/env python import argparse import sys import random from faker import Faker from scapy.all import * class PacketGenerator(object): def __init__(self, tcpcount, udpcount, httpcount, icmpcount, dnscount): self.tcpcnt = tcpcount self.udpcnt = udpcount self.httpcnt = httpcount ...
36.928315
80
0.489275
1,117
10,303
4.481647
0.230976
0.011986
0.008989
0.011986
0.398122
0.343588
0.305433
0.243308
0.218538
0.20855
0
0.026751
0.372319
10,303
278
81
37.061151
0.747333
0.002038
0
0.262931
0
0.00431
0.121486
0.002334
0
0
0
0
0
0
null
null
0
0.021552
null
null
0.030172
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
10670e8edb6c0f6fd4fd83d2a941b3300ccfb08f
1,435
py
Python
scripts/slave/recipes/infra/rebaseline_o_matic.py
yjbanov/chromium_build
22e3872f14dbf367cd787caa638f3ac948eac7d7
[ "BSD-3-Clause" ]
null
null
null
scripts/slave/recipes/infra/rebaseline_o_matic.py
yjbanov/chromium_build
22e3872f14dbf367cd787caa638f3ac948eac7d7
[ "BSD-3-Clause" ]
null
null
null
scripts/slave/recipes/infra/rebaseline_o_matic.py
yjbanov/chromium_build
22e3872f14dbf367cd787caa638f3ac948eac7d7
[ "BSD-3-Clause" ]
1
2020-07-23T11:05:06.000Z
2020-07-23T11:05:06.000Z
# Copyright (c) 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Generates new baselines for Blink layout tests that need rebaselining. Intended to be called periodically. Syncs to the Blink repo and runs 'webkit-p...
31.195652
80
0.702439
181
1,435
5.453039
0.618785
0.033435
0.045593
0.075988
0
0
0
0
0
0
0
0.003425
0.186063
1,435
45
81
31.888889
0.84161
0.376307
0
0
1
0
0.415819
0.137853
0
0
0
0
0
1
0.086957
false
0
0
0
0.086957
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
10686d9b603e192d806826c51f0688f30d98a466
97,183
py
Python
localstack/aws/api/es/__init__.py
doytsujin/localstack
46ffd646af553f381cc567e4a7a06f604640c1c7
[ "Apache-2.0" ]
1
2022-02-21T15:36:03.000Z
2022-02-21T15:36:03.000Z
localstack/aws/api/es/__init__.py
doytsujin/localstack
46ffd646af553f381cc567e4a7a06f604640c1c7
[ "Apache-2.0" ]
null
null
null
localstack/aws/api/es/__init__.py
doytsujin/localstack
46ffd646af553f381cc567e4a7a06f604640c1c7
[ "Apache-2.0" ]
null
null
null
import sys from datetime import datetime from typing import Dict, List, Optional if sys.version_info >= (3, 8): from typing import TypedDict else: from typing_extensions import TypedDict from localstack.aws.api import RequestContext, ServiceException, ServiceRequest, handler ARN = str BackendRole = str Boole...
35.071454
161
0.747651
8,649
97,183
8.322928
0.113424
0.021199
0.02877
0.010113
0.480725
0.41128
0.365548
0.293325
0.249594
0.219115
0
0.003689
0.185619
97,183
2,770
162
35.084116
0.905855
0.392476
0
0.381391
0
0
0.066416
0.048692
0
0
0
0
0
1
0.033529
false
0.010059
0.005029
0
0.678122
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
106b07ace04657966c72b4371a9c1c2c9dc55c65
342
py
Python
configs/kd/cifar100/kd_resnet18_resnet50_cifar100_adaptivenst_logits.py
wyze-AI/AdaptiveDistillation
5f4575794101dbb1ed2f7e90a2be03856f76041c
[ "MIT" ]
1
2022-01-12T22:24:07.000Z
2022-01-12T22:24:07.000Z
configs/kd/cifar100/kd_resnet18_resnet50_cifar100_adaptivenst_logits.py
wyze-AI/AdaptiveDistillation
5f4575794101dbb1ed2f7e90a2be03856f76041c
[ "MIT" ]
null
null
null
configs/kd/cifar100/kd_resnet18_resnet50_cifar100_adaptivenst_logits.py
wyze-AI/AdaptiveDistillation
5f4575794101dbb1ed2f7e90a2be03856f76041c
[ "MIT" ]
2
2022-01-12T22:24:17.000Z
2022-02-15T05:46:30.000Z
_base_ = './kd_resnet18_resnet50_cifar100_equal.py' # model settings model = dict( adaptive=True, adaptation = dict(out_channels=[256, 512, 1024, 2048], in_channels=[64, 128, 256, 512]), distill_losses=[ dict(type='NST', mode='feature', loss_weight=1.0), dict(type='Logits', mode='logits', lo...
34.2
92
0.657895
47
342
4.553191
0.702128
0.056075
0.102804
0.11215
0
0
0
0
0
0
0
0.12766
0.175439
342
9
93
38
0.631206
0.040936
0
0
0
0
0.190184
0.122699
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
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
106be17fab4cd970bef225fafc9fc5e6a3863f25
1,723
py
Python
p1_basic/day22_26oop/day24/05_特殊成员.py
dong-pro/fullStackPython
5ad8662f7b57f14c8529e7eaf64290eeda773557
[ "Apache-2.0" ]
1
2020-04-03T01:32:05.000Z
2020-04-03T01:32:05.000Z
p1_basic/day22_26oop/day24/05_特殊成员.py
dong-pro/fullStackPython
5ad8662f7b57f14c8529e7eaf64290eeda773557
[ "Apache-2.0" ]
null
null
null
p1_basic/day22_26oop/day24/05_特殊成员.py
dong-pro/fullStackPython
5ad8662f7b57f14c8529e7eaf64290eeda773557
[ "Apache-2.0" ]
null
null
null
""" 对文件描述的注释 """ class Foo(object): def __init__(self, a1, a2): self.a1 = a1 self.a2 = a2 # def __call__(self, *args, **kwargs): # print(11111, args, kwargs) # return 123 # def __getitem__(self, item): # print(item) # return 8 # # def __setitem__(sel...
18.728261
68
0.5148
224
1,723
3.607143
0.330357
0.044554
0.024752
0.042079
0.121287
0.121287
0.121287
0.121287
0
0
0
0.079174
0.325595
1,723
91
69
18.934066
0.616179
0.554266
0
0.4
0
0
0.014331
0
0
0
0
0
0
1
0.25
false
0
0
0
0.45
0.25
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
106f710a014f1ca33d8b291f5617563b3c092444
1,818
py
Python
src/utils.py
NSBum/anki_asset_manager
055d8b6c7226ab0b4db4f4f279fae89dcd88da2a
[ "MIT" ]
2
2020-08-17T20:02:14.000Z
2021-12-18T10:31:49.000Z
src/utils.py
hgiesel/anki_script_manager
6fe07c026dbecc2a27663990208cf3b5beedbf15
[ "MIT" ]
31
2020-05-30T09:37:54.000Z
2021-12-02T16:51:05.000Z
src/utils.py
hgiesel/anki_script_manager
6fe07c026dbecc2a27663990208cf3b5beedbf15
[ "MIT" ]
1
2021-06-08T10:12:59.000Z
2021-06-08T10:12:59.000Z
from typing import Any from aqt import mw version = "2.1" def find_addon_by_name(addon_name): for name in mw.addonManager.allAddons(): if mw.addonManager.addonName(name) == addon_name: return name return None class ProfileConfig: """Can be used for profile-specific settings""" ...
23.61039
87
0.643564
223
1,818
5.121076
0.309417
0.105954
0.042032
0.052539
0.484238
0.464974
0.423818
0.423818
0.423818
0.357268
0
0.001478
0.255776
1,818
76
88
23.921053
0.842572
0.091309
0
0.479167
0
0
0.046951
0.026829
0
0
0
0
0
1
0.229167
false
0.041667
0.041667
0.0625
0.416667
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
1073d4313ba4e4e1767def3a2b8e4e15b809b540
8,598
py
Python
strategy/compute_strat_vector.py
Orpheon/All-in
016901953904250226f388422318ef2f739bf82e
[ "MIT" ]
null
null
null
strategy/compute_strat_vector.py
Orpheon/All-in
016901953904250226f388422318ef2f739bf82e
[ "MIT" ]
null
null
null
strategy/compute_strat_vector.py
Orpheon/All-in
016901953904250226f388422318ef2f739bf82e
[ "MIT" ]
null
null
null
import numpy as np import treys import random import os import constants FULL_DECK = np.array(treys.Deck.GetFullDeck()) def generate_cards(N_PLAYERS, BATCH_SIZE): cards = np.tile(np.arange(52), (BATCH_SIZE, 1)) for i in range(BATCH_SIZE): cards[i, :] = FULL_DECK[np.random.permutation(cards[i, :])] community...
45.252632
142
0.644685
1,148
8,598
4.502613
0.163763
0.05533
0.051461
0.021668
0.404334
0.344748
0.300445
0.252854
0.252854
0.225382
0
0.015574
0.245755
8,598
189
143
45.492063
0.781496
0.081647
0
0.188811
1
0
0.030968
0.009519
0
0
0
0
0
1
0.013986
false
0
0.034965
0
0.062937
0.034965
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
1076d7b0d5693672681224fb4be8ab921346915e
164
py
Python
POP1/worksheets/on-lists/ex03/code.py
silvafj/BBK-MSCCS-2017-18
d97b0f8e7434d19a1a4006989c32c4c1deb93842
[ "MIT" ]
1
2021-12-29T19:38:56.000Z
2021-12-29T19:38:56.000Z
POP1/worksheets/on-lists/ex03/code.py
silvafj/BBK-MSCCS-2017-18
d97b0f8e7434d19a1a4006989c32c4c1deb93842
[ "MIT" ]
null
null
null
POP1/worksheets/on-lists/ex03/code.py
silvafj/BBK-MSCCS-2017-18
d97b0f8e7434d19a1a4006989c32c4c1deb93842
[ "MIT" ]
2
2021-04-08T22:58:03.000Z
2021-04-09T01:16:51.000Z
n, m = [int(i) for i in input().split()] a = [["*" if (i + j) % 2 != 0 else "." for j in range(m)] for i in range(n)] for row in a: print(' '.join(row))
23.428571
57
0.47561
33
164
2.363636
0.545455
0.102564
0.153846
0
0
0
0
0
0
0
0
0.016949
0.280488
164
6
58
27.333333
0.644068
0
0
0
0
0
0.018293
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
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
107716dc12009837c267f212bdbcbbc069a63484
3,719
py
Python
manager/views/user_details.py
odrolliv13/Hex-Photos
d1b42b63394783164f843fe6343491f04fe11e0c
[ "Apache-2.0" ]
null
null
null
manager/views/user_details.py
odrolliv13/Hex-Photos
d1b42b63394783164f843fe6343491f04fe11e0c
[ "Apache-2.0" ]
null
null
null
manager/views/user_details.py
odrolliv13/Hex-Photos
d1b42b63394783164f843fe6343491f04fe11e0c
[ "Apache-2.0" ]
null
null
null
from django import forms from django.conf import settings from django.http import HttpResponse, HttpResponseRedirect, Http404 from manager import models as pmod from . import templater from django.conf import settings import decimal, datetime # This page allows an admin to make or edit a user def process_re...
41.322222
134
0.707448
470
3,719
5.495745
0.202128
0.051103
0.069686
0.097561
0.347658
0.211769
0.183895
0.034843
0
0
0
0.001556
0.135789
3,719
90
135
41.322222
0.802116
0.019898
0
0.075949
0
0
0.145816
0
0
0
0
0
0
1
0.012658
false
0.050633
0.088608
0
0.316456
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
107c0f4a1583e30812ed6ce920fb7f18e3f39d35
860
py
Python
core/python/kungfu/command/watcher.py
Grass-CLP/kungfu
6085a9e642c092c97af0df849fb18ceeb8896bba
[ "Apache-2.0" ]
1
2019-07-12T15:35:21.000Z
2019-07-12T15:35:21.000Z
core/python/kungfu/command/watcher.py
Grass-CLP/kungfu
6085a9e642c092c97af0df849fb18ceeb8896bba
[ "Apache-2.0" ]
null
null
null
core/python/kungfu/command/watcher.py
Grass-CLP/kungfu
6085a9e642c092c97af0df849fb18ceeb8896bba
[ "Apache-2.0" ]
null
null
null
import click from kungfu.command import kfc, pass_ctx_from_parent, replay_setup from kungfu.wingchun.watcher import Watcher @kfc.command() @click.option('-x', '--low_latency', is_flag=True, help='run in low latency mode') @click.option('-r', '--replay', is_flag=True, help='run in replay mode') @click.option('-i', '--...
37.391304
107
0.711628
126
860
4.674603
0.349206
0.091681
0.037351
0.057725
0.064516
0.064516
0
0
0
0
0
0
0.166279
860
22
108
39.090909
0.821478
0
0
0
0
0
0.177907
0
0
0
0
0
0
1
0.05
false
0.15
0.15
0
0.2
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
1084f7f202b31ae4452e2eb8f6d543ed44809a6c
929
py
Python
systemb/server.py
Arnawk/statserver
2c7182870859b013f1f2b556a62667fc877ab428
[ "MIT" ]
null
null
null
systemb/server.py
Arnawk/statserver
2c7182870859b013f1f2b556a62667fc877ab428
[ "MIT" ]
3
2020-07-17T13:08:35.000Z
2021-05-09T19:38:44.000Z
systemb/server.py
Arnawk/statserver
2c7182870859b013f1f2b556a62667fc877ab428
[ "MIT" ]
null
null
null
#!/usr/bin/python2.7 import sys sys.path.append('./gen-py') from StatServer import * from StatServer.ttypes import * from thrift.transport import TSocket from thrift.transport import TTransport from thrift.protocol import TBinaryProtocol from thrift.server import TServer import time import random #import statistics ...
23.225
76
0.735199
103
929
6.514563
0.533981
0.059613
0.056632
0.074516
0
0
0
0
0
0
0
0.01297
0.170075
929
39
77
23.820513
0.857328
0.065662
0
0
0
0
0.043981
0
0
0
0
0
0
1
0.074074
false
0
0.333333
0
0.481481
0.037037
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
10892fdbbedfefd414317f1d90b518a16ebd72d2
813
py
Python
tests/test_ip_address.py
BigE99/Testing_practice
4322f134bf477ac0232984dc6e4421e78164f008
[ "MIT" ]
null
null
null
tests/test_ip_address.py
BigE99/Testing_practice
4322f134bf477ac0232984dc6e4421e78164f008
[ "MIT" ]
null
null
null
tests/test_ip_address.py
BigE99/Testing_practice
4322f134bf477ac0232984dc6e4421e78164f008
[ "MIT" ]
null
null
null
import pytest import ipaddress import mypkg.ip_address ''' @pytest.mark.parametrize(('ip', 'mask'), [("10.0.0.1", ""), ("10.0.0.1", "24"), ("10.0.0.1", "/24"), ("10.0.0.1", "255.255.255.0"), ("10.0.0.0", "")]) def test_get_ip_ipv4(ip, mask): pytest.assume(ipaddress.ip_address(ip) == get_ip(ip)) pytest.assume(ipaddre...
40.65
150
0.643296
138
813
3.65942
0.224638
0.039604
0.039604
0.039604
0.469307
0.40198
0.29901
0.29901
0.29901
0.261386
0
0.073204
0.109471
813
20
151
40.65
0.624309
0
0
0
0
0
0.008889
0
0
0
0
0
0
1
0.125
false
0
0.375
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
0
1
0
0
0
0
1
108b61bf1539f23b0719f988fc268c5dabd302c7
543
py
Python
diventi/landing/migrations/0054_auto_20190412_0818.py
flavoi/diven
3173ca3ca3fbedc191b8eab3639a6bceb3c442c4
[ "Apache-2.0" ]
2
2019-06-27T16:00:17.000Z
2020-08-14T07:46:05.000Z
diventi/landing/migrations/0054_auto_20190412_0818.py
flavoi/diven
3173ca3ca3fbedc191b8eab3639a6bceb3c442c4
[ "Apache-2.0" ]
26
2020-02-15T22:39:35.000Z
2022-02-19T21:09:01.000Z
diventi/landing/migrations/0054_auto_20190412_0818.py
flavoi/diven
3173ca3ca3fbedc191b8eab3639a6bceb3c442c4
[ "Apache-2.0" ]
1
2021-11-12T22:30:15.000Z
2021-11-12T22:30:15.000Z
# Generated by Django 2.1.7 on 2019-04-12 06:18 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('landing', '0053_section_active'), ] operations = [ migrations.RemoveField( model_name='section', name='active', ...
23.608696
104
0.576427
53
543
5.792453
0.716981
0.058632
0.104235
0.130293
0
0
0
0
0
0
0
0.054688
0.292818
543
22
105
24.681818
0.744792
0.082873
0
0.25
1
0
0.143145
0
0
0
0
0
0
1
0
false
0
0.0625
0
0.25
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
108d3e9cff9ebdc6e25745fc94325bffb8226c4b
2,726
py
Python
boto/dynamodb/schema.py
bopopescu/botornado-1
324a1942fbe33ef41af7ae99c25478be2bdce5dc
[ "MIT" ]
22
2015-04-14T13:29:48.000Z
2017-11-15T18:03:25.000Z
boto/dynamodb/schema.py
bopopescu/botornado-1
324a1942fbe33ef41af7ae99c25478be2bdce5dc
[ "MIT" ]
2
2015-10-26T11:10:17.000Z
2016-04-25T23:57:57.000Z
boto/dynamodb/schema.py
bopopescu/botornado-1
324a1942fbe33ef41af7ae99c25478be2bdce5dc
[ "MIT" ]
9
2015-04-20T14:34:25.000Z
2021-06-09T00:13:26.000Z
# Copyright (c) 2011 Mitch Garnaat http://garnaat.org/ # Copyright (c) 2011 Amazon.com, Inc. or its affiliates. All Rights Reserved # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the # "Software"), to deal in the Software without ...
36.346667
77
0.687821
384
2,726
4.773438
0.367188
0.043644
0.024004
0.030551
0.230224
0.177851
0.126568
0.100927
0.057829
0.057829
0
0.004339
0.239178
2,726
74
78
36.837838
0.87946
0.600147
0
0.233333
0
0
0.160275
0
0
0
0
0
0
1
0.233333
false
0
0
0.1
0.466667
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
109ab289540d8801ad6fbc983256a0ece6bee6fd
457
py
Python
scripts/trade_history.py
Fu-Om/bitFlyer-dca
dcb0e511b602b90e8b89efb67d93387ed69e8b9e
[ "MIT" ]
null
null
null
scripts/trade_history.py
Fu-Om/bitFlyer-dca
dcb0e511b602b90e8b89efb67d93387ed69e8b9e
[ "MIT" ]
null
null
null
scripts/trade_history.py
Fu-Om/bitFlyer-dca
dcb0e511b602b90e8b89efb67d93387ed69e8b9e
[ "MIT" ]
null
null
null
#! /usr/bin/env python from dca import get_trade_history from settings import BITFLYER_API_KEY, BITFLYER_API_SECRET import pandas as pd from pathlib import Path def main(): res = get_trade_history(BITFLYER_API_KEY, BITFLYER_API_SECRET).json() df = pd.DataFrame(res) #path = Path.home() path = Path.hom...
26.882353
83
0.717724
68
457
4.485294
0.529412
0.144262
0.098361
0.144262
0.203279
0.203279
0
0
0
0
0
0.010499
0.166302
457
17
84
26.882353
0.790026
0.085339
0
0
0
0
0.129496
0.052758
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.454545
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
1
0
0
0
0
1
109d1330484e008764778bec9f5b395b5b22f82b
525
py
Python
blog/migrations/0002_auto_20181005_1833.py
hcpthanks/vCard
cc9a301f413961c398c355426013c0cc05fbb1b7
[ "MIT" ]
null
null
null
blog/migrations/0002_auto_20181005_1833.py
hcpthanks/vCard
cc9a301f413961c398c355426013c0cc05fbb1b7
[ "MIT" ]
null
null
null
blog/migrations/0002_auto_20181005_1833.py
hcpthanks/vCard
cc9a301f413961c398c355426013c0cc05fbb1b7
[ "MIT" ]
null
null
null
# Generated by Django 2.1.2 on 2018-10-05 10:33 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0001_initial'), ] operations = [ migrations.AlterModelOptions( name='comment', options={'ordering': ('-creat...
22.826087
80
0.56
51
525
5.686275
0.784314
0
0
0
0
0
0
0
0
0
0
0.051771
0.300952
525
22
81
23.863636
0.73842
0.085714
0
0.125
1
0
0.104603
0
0
0
0
0
0
1
0
false
0
0.0625
0
0.25
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
109f28243ea892954ca6905a45c730176c6be70c
4,450
py
Python
app.py
questionlp/wwdtm_scoreimage
400f60f27067a5c35a78f7fc96745ba948f929c0
[ "Apache-2.0" ]
null
null
null
app.py
questionlp/wwdtm_scoreimage
400f60f27067a5c35a78f7fc96745ba948f929c0
[ "Apache-2.0" ]
null
null
null
app.py
questionlp/wwdtm_scoreimage
400f60f27067a5c35a78f7fc96745ba948f929c0
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2019 Linh Pham # wwdtm_scoreimage is relased under the terms of the Apache License 2.0 """Generate PNG image file based on WWDTM show score totals""" import json import math import os from typing import List import mysql.connector from mysql.connector.errors import DatabaseError...
32.720588
82
0.648989
570
4,450
4.863158
0.308772
0.025253
0.025253
0.019481
0.059885
0.059885
0
0
0
0
0
0.007539
0.254831
4,450
135
83
32.962963
0.828408
0.111011
0
0.04
1
0
0.116386
0.01072
0
0
0
0
0
1
0.08
false
0
0.08
0
0.22
0.01
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
10a39aa4d9a637ca25faa9350e5ed69acf3d1425
362
py
Python
cpmd/webServer/publish.py
computePods/majorDomo
0d59f105592c375f16dcd7dcb6ec5bbbae25ce5f
[ "Apache-2.0" ]
null
null
null
cpmd/webServer/publish.py
computePods/majorDomo
0d59f105592c375f16dcd7dcb6ec5bbbae25ce5f
[ "Apache-2.0" ]
null
null
null
cpmd/webServer/publish.py
computePods/majorDomo
0d59f105592c375f16dcd7dcb6ec5bbbae25ce5f
[ "Apache-2.0" ]
null
null
null
from typing import Optional, List from fastapi import FastAPI from pydantic import BaseModel # WebServer interface definition.... class NatsMsg(BaseModel): subject: str message: List def addPublishInterface(self) : @self.app.put("/publish") async def update_item(msg: NatsMsg): await self.natsClient.sendM...
20.111111
42
0.740331
44
362
6.068182
0.727273
0
0
0
0
0
0
0
0
0
0
0
0.162983
362
17
43
21.294118
0.881188
0.093923
0
0
0
0
0.037037
0
0
0
0
0
0
1
0.090909
false
0
0.272727
0
0.727273
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
10a457606eea2633b2dc70353a5ebd34a557bcc7
199
py
Python
PythonCode/Generators2.py
aredshaw/CodePractice
1f5267d5cfc83b803a8b0da3cacc9b306492555e
[ "MIT" ]
1
2019-09-24T03:39:44.000Z
2019-09-24T03:39:44.000Z
PythonCode/Generators2.py
aredshaw/CodePractice
1f5267d5cfc83b803a8b0da3cacc9b306492555e
[ "MIT" ]
null
null
null
PythonCode/Generators2.py
aredshaw/CodePractice
1f5267d5cfc83b803a8b0da3cacc9b306492555e
[ "MIT" ]
1
2021-07-12T01:15:30.000Z
2021-07-12T01:15:30.000Z
def counting(): y = 1 while y<500: yield y #This is a great way to iterate through one number at a time. It will go forever if needed. y += 1 for y in counting(): print(y)
28.428571
107
0.603015
36
199
3.333333
0.777778
0.033333
0
0
0
0
0
0
0
0
0
0.036765
0.316583
199
7
108
28.428571
0.845588
0.452261
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.142857
0.142857
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
10a5698f9ed3b2d56316f26579c1e7fd8f775b8c
2,469
py
Python
wagtailcommerce/products/migrations/0001_initial.py
theplusagency/wagtail-commerce
6047170f29199ccaf2778534976ab0970c2877e7
[ "BSD-3-Clause" ]
3
2019-04-12T15:38:43.000Z
2019-09-22T10:23:20.000Z
wagtailcommerce/products/migrations/0001_initial.py
wagtailcommerce/wagtailcommerce
308ed8348483806c16062d09a7e69ec44d9a2e73
[ "BSD-3-Clause" ]
null
null
null
wagtailcommerce/products/migrations/0001_initial.py
wagtailcommerce/wagtailcommerce
308ed8348483806c16062d09a7e69ec44d9a2e73
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-09-17 20:09 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import wagtailcommerce.products.models class Migration(migrations.Migration): initial = True dependencies = [ ('...
49.38
241
0.64196
257
2,469
5.949416
0.346304
0.079137
0.04709
0.062786
0.366252
0.366252
0.366252
0.304774
0.304774
0.304774
0
0.01877
0.223167
2,469
49
242
50.387755
0.778415
0.027542
0
0.341463
1
0
0.172227
0.066305
0
0
0
0
0
1
0
false
0
0.097561
0
0.195122
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
10a8dde3d053e6e1d5fafa9e9bbb3f9e95aee388
694
py
Python
scripts/mgear/anim_picker/__init__.py
miabrahams/anim_picker
880903bdc49b325986e1a8d9a0db5940f01a47c6
[ "MIT" ]
null
null
null
scripts/mgear/anim_picker/__init__.py
miabrahams/anim_picker
880903bdc49b325986e1a8d9a0db5940f01a47c6
[ "MIT" ]
null
null
null
scripts/mgear/anim_picker/__init__.py
miabrahams/anim_picker
880903bdc49b325986e1a8d9a0db5940f01a47c6
[ "MIT" ]
null
null
null
# Copyright (c) 2018 Guillaume Barlier # This file is part of "anim_picker" and covered by MIT, # read LICENSE.md and COPYING.md for details. import gui reload(gui) __version__ = "1.1.0" # ============================================================================= # Load user interface function # =================...
27.76
79
0.525937
74
694
4.851351
0.689189
0.05571
0.128134
0
0
0
0
0
0
0
0
0.012195
0.172911
694
24
80
28.916667
0.61324
0.710375
0
0
0
0
0.030488
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
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
10aa6de90de59a058c03ddda9c41667509a03e8b
1,360
py
Python
var/spack/repos/builtin/packages/py-mg-rast-tools/package.py
whitfin/spack
aabd2be31a511d0e00c1017f7311a421659319d9
[ "ECL-2.0", "Apache-2.0", "MIT" ]
3
2019-06-27T13:26:50.000Z
2019-07-01T16:24:54.000Z
var/spack/repos/builtin/packages/py-mg-rast-tools/package.py
openbiox/spack
bb6ec7fb40c14b37e094a860e3625af53f633174
[ "ECL-2.0", "Apache-2.0", "MIT" ]
75
2016-07-27T11:43:00.000Z
2020-12-08T15:56:53.000Z
var/spack/repos/builtin/packages/py-mg-rast-tools/package.py
openbiox/spack
bb6ec7fb40c14b37e094a860e3625af53f633174
[ "ECL-2.0", "Apache-2.0", "MIT" ]
8
2015-10-16T13:51:49.000Z
2021-10-18T13:58:03.000Z
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class PyMgRastTools(PythonPackage): """Repository of scripts and libraries for using the MG-RAST...
41.212121
76
0.656618
191
1,360
4.596859
0.439791
0.153759
0.177677
0.259681
0.42369
0.375854
0.148064
0.077449
0.077449
0
0
0.048593
0.1375
1,360
32
77
42.5
0.699915
0.197794
0
0
0
0
0.422078
0.060297
0
0
0
0
0
1
0
false
0
0.05
0
0.2
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
529aad8b3c9b0c8ae3a87d9bc0487808fa0a57fe
2,856
py
Python
onmt/modules/Samplers.py
d-ataman/lmm
83a3c2d9289e2f4cc24c03b177c81ba16e000b55
[ "MIT" ]
9
2019-12-28T22:10:43.000Z
2021-11-11T20:26:27.000Z
onmt/modules/Samplers.py
lizezhonglaile/Char-NMT
6305959d11d7a2efd68b05d3bf867f8193b902de
[ "MIT" ]
1
2020-03-18T19:13:01.000Z
2020-07-30T09:14:06.000Z
onmt/modules/Samplers.py
lizezhonglaile/Char-NMT
6305959d11d7a2efd68b05d3bf867f8193b902de
[ "MIT" ]
3
2020-09-07T09:38:27.000Z
2021-12-09T14:11:46.000Z
from __future__ import division import torch import torch.nn as nn import torch.nn.functional as F from torch.autograd import Variable from torch.nn.utils.rnn import pack_padded_sequence as pack from torch.nn.utils.rnn import pad_packed_sequence as unpack import onmt from onmt.Utils import aeq import torch.distributi...
34
99
0.664216
363
2,856
5.035813
0.316804
0.076586
0.061269
0.041575
0.29267
0.263129
0.219912
0.219912
0.219912
0.219912
0
0.002836
0.259104
2,856
83
100
34.409639
0.861059
0
0
0.205128
0
0
0
0
0
0
0
0
0
0
null
null
0
0.25641
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
529c79a0f91175eaea3b1bd41ebfeb194bd13209
3,155
py
Python
zaobao/zaobao.py
vamdt/spider
3986b0d140476ab9c0a916c5d1670ce174f0c9ff
[ "MIT" ]
null
null
null
zaobao/zaobao.py
vamdt/spider
3986b0d140476ab9c0a916c5d1670ce174f0c9ff
[ "MIT" ]
null
null
null
zaobao/zaobao.py
vamdt/spider
3986b0d140476ab9c0a916c5d1670ce174f0c9ff
[ "MIT" ]
null
null
null
# -*- coding: UTF-8 -*- import re, json, requests, random, base64, os.path, codecs, sys from bs4 import BeautifulSoup from rss import RssBuilder, Channel, ChannelItem from zaobao_item import ZaoBaoItemParser import datetime import time import email.utils from logger import Logger class Zaobao: ZAOBAO_PREFIX =...
35.055556
141
0.615531
388
3,155
4.873711
0.39433
0.034902
0.050767
0.025383
0.023268
0
0
0
0
0
0
0.022165
0.256418
3,155
89
142
35.449438
0.783887
0.023772
0
0
0
0.027778
0.175878
0.016255
0
0
0
0
0
0
null
null
0
0.111111
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
529d7511327ccfa04a6910614de7d5f3162ce8e6
1,425
py
Python
fabfile-v1.py
firebelly/aei-craft
62b083b8262175605c1868bd03192b2955c9bfbc
[ "MIT" ]
null
null
null
fabfile-v1.py
firebelly/aei-craft
62b083b8262175605c1868bd03192b2955c9bfbc
[ "MIT" ]
7
2020-04-04T04:45:19.000Z
2022-02-12T02:00:03.000Z
fabfile-v1.py
firebelly/aei-craft
62b083b8262175605c1868bd03192b2955c9bfbc
[ "MIT" ]
null
null
null
from fabric.api import * import os env.hosts = ['aei-craft.firebelly.co'] env.user = 'firebelly' env.path = '~/Sites/aei-craft' env.remotepath = '/home/firebelly/apps/aei' env.git_branch = 'main' env.warn_only = True env.forward_agent = True def production(): env.hosts = ['aeieng.opalstacked.com'] env.user = 'aei...
26.388889
156
0.694035
203
1,425
4.802956
0.408867
0.08
0.049231
0.049231
0.262564
0.155897
0.155897
0.155897
0.155897
0.155897
0
0.002477
0.150175
1,425
53
157
26.886792
0.802642
0
0
0.227273
0
0.022727
0.442105
0.13614
0
0
0
0
0
0
null
null
0
0.045455
null
null
0.045455
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
52a3e6dacdfb1db6086dcb4b38437886e1de31f4
413
py
Python
host/receive_ack_end.py
laochanlam/cheetah-release
a836bd31f02fb9f612afaf1f90d4d2638c8294e7
[ "MIT" ]
10
2020-06-14T15:17:19.000Z
2022-03-30T19:58:41.000Z
host/receive_ack_end.py
laochanlam/cheetah-release
a836bd31f02fb9f612afaf1f90d4d2638c8294e7
[ "MIT" ]
null
null
null
host/receive_ack_end.py
laochanlam/cheetah-release
a836bd31f02fb9f612afaf1f90d4d2638c8294e7
[ "MIT" ]
3
2020-06-25T22:47:05.000Z
2022-01-26T04:07:28.000Z
import socket import sys import os from control_flow_constants import * print("HELLO") from timeit import default_timer as timer start = timer() sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) server_address = (CHEETAH_MASTER_IP, CHEETAH_MASTER_PORT) sock.bind(server_address) for i in range(CHEETAH_WORKER...
18.772727
57
0.765133
63
413
4.809524
0.603175
0.079208
0
0
0
0
0
0
0
0
0
0.011204
0.135593
413
21
58
19.666667
0.837535
0
0
0
0
0
0.05569
0
0
0
0
0
0
1
0
false
0
0.357143
0
0.357143
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
0
0
0
0
1
0
0
0
0
1
52b7107c48059357ab0d1afc83dd5aef3d3e2b96
1,874
py
Python
judge/submission/migrations/0001_initial.py
22shubh22/online-judge
08cddb0f593ec420ff87be3f8da7c9d71a929235
[ "MIT" ]
null
null
null
judge/submission/migrations/0001_initial.py
22shubh22/online-judge
08cddb0f593ec420ff87be3f8da7c9d71a929235
[ "MIT" ]
1
2021-12-24T07:44:06.000Z
2021-12-24T07:44:06.000Z
judge/submission/migrations/0001_initial.py
22shubh22/online-judge
08cddb0f593ec420ff87be3f8da7c9d71a929235
[ "MIT" ]
1
2021-12-18T05:41:19.000Z
2021-12-18T05:41:19.000Z
# Generated by Django 3.1.1 on 2021-12-26 10:44 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('question', '0005_auto_20211226_1036'), ] operations = [ migrations.CreateModel( ...
42.590909
163
0.588047
184
1,874
5.826087
0.402174
0.078358
0.052239
0.08209
0.365672
0.365672
0.365672
0.365672
0.365672
0.365672
0
0.023844
0.261473
1,874
43
164
43.581395
0.750723
0.024013
0
0.333333
1
0
0.21237
0.024083
0
0
0
0
0
1
0
false
0
0.055556
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
52baf4740bf27cfe186fe6b04033a39a76735177
10,068
py
Python
spacekit/dashboard/cal/eval.py
hakkeray/spacekit
f57e3bab80efca418b898996366d4dfb186246e0
[ "MIT" ]
1
2020-10-14T18:04:07.000Z
2020-10-14T18:04:07.000Z
spacekit/dashboard/cal/eval.py
hakkeray/spacekit
f57e3bab80efca418b898996366d4dfb186246e0
[ "MIT" ]
null
null
null
spacekit/dashboard/cal/eval.py
hakkeray/spacekit
f57e3bab80efca418b898996366d4dfb186246e0
[ "MIT" ]
null
null
null
from dash import dcc from dash import html from spacekit.dashboard.cal.config import cal layout = html.Div( children=[ html.Div( children=[ html.Br(), dcc.Link("Home", href="/"), html.Br(), dcc.Link("Analysis", href="/eda"), ...
43.773913
96
0.228149
481
10,068
4.746362
0.253638
0.03986
0.086728
0.100745
0.445028
0.416557
0.372755
0.357862
0.342532
0.321069
0
0.022029
0.679877
10,068
229
97
43.965066
0.686317
0.079261
0
0.614213
0
0
0.101169
0
0
0
0
0
0
1
0
false
0
0.015228
0
0.015228
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
52bc79bd40f4cb92f624a21c948f6a250f894022
4,467
py
Python
generate_js.py
nypl-spacetime/oldnyc
31e9360ee4e21d25b000021a2db9579c79a63cac
[ "Apache-2.0" ]
2
2016-01-23T09:52:41.000Z
2016-10-26T03:17:50.000Z
generate_js.py
nypl-spacetime/oldnyc
31e9360ee4e21d25b000021a2db9579c79a63cac
[ "Apache-2.0" ]
null
null
null
generate_js.py
nypl-spacetime/oldnyc
31e9360ee4e21d25b000021a2db9579c79a63cac
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # Reads in a photo_id -> lat,lon mapping (from geocode_pairs.py) # and the records and outputs a JS file. import json import record import sys from collections import defaultdict from json import encoder encoder.FLOAT_REPR = lambda o: format(o, '.6f') # http://stackoverflow.com/questions/1342000/ho...
27.745342
97
0.637564
652
4,467
4.194785
0.25
0.041682
0.029616
0.031079
0.224497
0.195978
0.163071
0.163071
0.123583
0.06947
0
0.012031
0.218491
4,467
160
98
27.91875
0.771412
0.069622
0
0.136752
0
0
0.089923
0
0
0
0
0
0.034188
0
null
null
0
0.042735
null
null
0.102564
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
52bf649bfe64a2521985bc85d48bf555075237d8
5,345
py
Python
cs15211/ConvertSortedListtoBinarySearchTree.py
JulyKikuAkita/PythonPrac
0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c
[ "Apache-2.0" ]
1
2021-07-05T01:53:30.000Z
2021-07-05T01:53:30.000Z
cs15211/ConvertSortedListtoBinarySearchTree.py
JulyKikuAkita/PythonPrac
0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c
[ "Apache-2.0" ]
null
null
null
cs15211/ConvertSortedListtoBinarySearchTree.py
JulyKikuAkita/PythonPrac
0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c
[ "Apache-2.0" ]
1
2018-01-08T07:14:08.000Z
2018-01-08T07:14:08.000Z
__source__ = 'https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree/description/' # https://github.com/kamyu104/LeetCode/blob/master/Python/convert-sorted-list-to-binary-search-tree.py # Time: O(n) # Space: O(logn) # Divide and Conquer # # Description: Leetcode # 109. Convert Sorted List to Binary Se...
26.859296
103
0.577736
639
5,345
4.799687
0.236307
0.020867
0.027388
0.035214
0.216172
0.184871
0.166612
0.132377
0.116726
0.116726
0
0.012606
0.317306
5,345
199
104
26.859296
0.827898
0.172498
0
0.15894
0
0.013245
0.475302
0.015934
0
0
0
0
0
0
null
null
0
0.006623
null
null
0.02649
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
52c4ffedeb73566695811aa3a8c89b5e24c44891
658
py
Python
fancygradient.py
OneMoarDevs/covid19
c678b7201cc85c1c33f7378a58bc9c387eb55668
[ "MIT" ]
1
2020-08-11T03:06:33.000Z
2020-08-11T03:06:33.000Z
fancygradient.py
OneMoarDevs/covid19
c678b7201cc85c1c33f7378a58bc9c387eb55668
[ "MIT" ]
null
null
null
fancygradient.py
OneMoarDevs/covid19
c678b7201cc85c1c33f7378a58bc9c387eb55668
[ "MIT" ]
null
null
null
from gradient import PerceptualGradient def hex2rgb(h): h = h.lstrip('#') return tuple(int(h[i:i+2], 16) for i in (0, 2, 4)) def rgb2hex(r, g, b): return '#{:02x}{:02x}{:02x}'.format(int(r), int(g), int(b)) def get_gd_colors(cl_stop_1, cl_stop_2, N=4): output = [] gd = Perceptu...
20.5625
68
0.566869
105
658
3.428571
0.371429
0.066667
0.033333
0
0
0
0
0
0
0
0
0.052083
0.270517
658
31
69
21.225806
0.697917
0
0
0.222222
0
0
0.031898
0
0
0
0
0
0
1
0.222222
false
0
0.055556
0.055556
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
1
0
0
0
0
0
0
0
1
52c8477eebbdc4861914a1ea44aa331249a8538b
461
py
Python
GoogleCodeJam/2016/Qual/A-CountingSheep/A.py
eltrai/algsContests
af6a0c61ab4bab0aebd4c76f93bbe06bc18152c9
[ "MIT" ]
null
null
null
GoogleCodeJam/2016/Qual/A-CountingSheep/A.py
eltrai/algsContests
af6a0c61ab4bab0aebd4c76f93bbe06bc18152c9
[ "MIT" ]
null
null
null
GoogleCodeJam/2016/Qual/A-CountingSheep/A.py
eltrai/algsContests
af6a0c61ab4bab0aebd4c76f93bbe06bc18152c9
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 def readint(): return int(input()) def readints(): return map(int, input().split()) def readline(): return str(input()) T = readint() for case in range(T): N = readint() if N == 0: result = "INSOMNIA" else: k = 0 s = set() while len(s) <...
15.366667
44
0.477223
64
461
3.4375
0.5625
0.072727
0
0
0
0
0
0
0
0
0
0.026316
0.340564
461
29
45
15.896552
0.697368
0.045553
0
0
0
0
0.045558
0
0
0
0
0
0
1
0.157895
false
0
0
0.157895
0.315789
0.052632
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
52d0d95737b19c0689e245da2bb76c9e6fa3ebad
3,004
py
Python
app.py
odbalogun/areavas-bl
bde6696e52cc1b1f780b26803f4071edcc6ca428
[ "Apache-2.0" ]
null
null
null
app.py
odbalogun/areavas-bl
bde6696e52cc1b1f780b26803f4071edcc6ca428
[ "Apache-2.0" ]
null
null
null
app.py
odbalogun/areavas-bl
bde6696e52cc1b1f780b26803f4071edcc6ca428
[ "Apache-2.0" ]
null
null
null
from flask import Flask, url_for, render_template from flask.blueprints import Blueprint from flask_security import Security from flask_admin import helpers as admin_helpers from flasgger import Swagger from adminlte.admin import AdminLte, admins_store from api.admin.base import FaLink from api.admin.views import Admin...
33.752809
120
0.729694
397
3,004
5.327456
0.347607
0.03026
0.041608
0.042553
0.168322
0.086998
0.052955
0.052955
0.052955
0.052955
0
0.007752
0.141145
3,004
88
121
34.136364
0.812016
0.066578
0
0
0
0
0.150984
0
0
0
0
0.011364
0
1
0.045455
false
0
0.19697
0.045455
0.287879
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
1
0
0
0
0
0
0
0
0
0
0
1
52dadc509f41ae14f689bd34bbfb61b0a2cb0122
4,403
py
Python
entitites/segment2d.py
mpentek/GraphicStatics
9f42ee8e196a76ff41005584c50a08ab23d062a1
[ "BSD-3-Clause" ]
null
null
null
entitites/segment2d.py
mpentek/GraphicStatics
9f42ee8e196a76ff41005584c50a08ab23d062a1
[ "BSD-3-Clause" ]
null
null
null
entitites/segment2d.py
mpentek/GraphicStatics
9f42ee8e196a76ff41005584c50a08ab23d062a1
[ "BSD-3-Clause" ]
null
null
null
""" Created on Tuesday Dec 4 18:00 2018 @author: mate.pentek@tum.de Partially based on the BSc Thesis of Benedikt Schatz (TUM, Statik 2018) """ from node2d import Node2D from geometric_utilities import get_line_coefficients, get_magnitude_and_direction, get_length, get_midpoint class Segment2D(object): def __...
44.03
108
0.548263
538
4,403
4.373606
0.184015
0.118572
0.063748
0.098173
0.621334
0.613685
0.578836
0.549086
0.531237
0.494688
0
0.041159
0.310243
4,403
99
109
44.474747
0.733619
0.117193
0
0.461538
0
0
0.016025
0
0
0
0
0.010101
0
1
0.076923
false
0.015385
0.030769
0
0.184615
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
52dee21b579c6a0a5dcd8aaabbb7f909d3d33624
1,213
py
Python
drink_partners/partners/tests/conftest.py
henriquebraga/drink-partners
4702263ae3e43ea9403cff5a72b68245d61880c7
[ "Apache-2.0" ]
null
null
null
drink_partners/partners/tests/conftest.py
henriquebraga/drink-partners
4702263ae3e43ea9403cff5a72b68245d61880c7
[ "Apache-2.0" ]
22
2020-05-02T19:32:24.000Z
2021-10-17T21:19:46.000Z
drink_partners/partners/tests/conftest.py
henriquebraga/drink-partners
4702263ae3e43ea9403cff5a72b68245d61880c7
[ "Apache-2.0" ]
null
null
null
import pytest from drink_partners.contrib.samples import ( partner_adega_cerveja, partner_adega_ze_ambev, partner_bar_legal ) @pytest.fixture def url(): return '/partner/1/' @pytest.fixture def partner_with_str_id_url(): return '/partner/id-str/' @pytest.fixture def partner_search_with_str_co...
19.253968
75
0.742786
155
1,213
5.490323
0.303226
0.137485
0.13161
0.108108
0.498237
0.253819
0.079906
0
0
0
0
0.017544
0.154163
1,213
62
76
19.564516
0.811891
0
0
0.268293
0
0
0.112943
0.059357
0
0
0
0
0
1
0.170732
false
0
0.04878
0.170732
0.439024
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
1
0
0
0
1
52e3b0254d959044f183d8e9f9aa902e871eb06e
369
py
Python
demo_shop/products_list/migrations/0004_auto_20190629_0344.py
Bincha3000/Django-shop
e2ea4df50ea3c542f1a0b9b6881be5c9cd8261d8
[ "MIT" ]
null
null
null
demo_shop/products_list/migrations/0004_auto_20190629_0344.py
Bincha3000/Django-shop
e2ea4df50ea3c542f1a0b9b6881be5c9cd8261d8
[ "MIT" ]
10
2020-02-12T00:49:15.000Z
2022-02-10T09:20:02.000Z
demo_shop/products_list/migrations/0004_auto_20190629_0344.py
gladunvv/django-shop
e2ea4df50ea3c542f1a0b9b6881be5c9cd8261d8
[ "MIT" ]
null
null
null
# Generated by Django 2.2.2 on 2019-06-29 03:44 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('products_list', '0003_auto_20190628_0617'), ] operations = [ migrations.RenameField( model_name='product', old_name='credit'...
19.421053
53
0.590786
40
369
5.275
0.8
0.018957
0
0
0
0
0
0
0
0
0
0.119691
0.298103
369
18
54
20.5
0.694981
0.121951
0
0
1
0
0.167702
0.071429
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
52ec1ba91e125fcd4d058f3d259ae7bf9e5f460a
380
py
Python
library/views.py
karmishin/library-app
9400cb0f658e1f9e24defe2600d97c73ae83c7cb
[ "MIT" ]
null
null
null
library/views.py
karmishin/library-app
9400cb0f658e1f9e24defe2600d97c73ae83c7cb
[ "MIT" ]
null
null
null
library/views.py
karmishin/library-app
9400cb0f658e1f9e24defe2600d97c73ae83c7cb
[ "MIT" ]
null
null
null
from django.views import generic from .models import Author, Book class IndexView(generic.ListView): template_name = 'library/index.html' context_object_name = 'all_books' def get_queryset(self): return Book.objects.order_by('pub_date') class AuthorView(generic.DetailView): mod...
21.111111
49
0.697368
46
380
5.586957
0.717391
0.093385
0.14786
0
0
0
0
0
0
0
0
0
0.213158
380
17
50
22.352941
0.859532
0
0
0
0
0
0.149584
0
0
0
0
0
0
1
0.1
false
0
0.2
0.1
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
0
0
0
0
1
0
0
1
52ed00545700a6ec9cdeb83755a883dc6ac2bb40
2,808
py
Python
util.py
majora2007/easy-java
5b9a1eaa03ae11217c3c10c16d3bd0e3c661f378
[ "MIT" ]
1
2020-07-27T16:13:51.000Z
2020-07-27T16:13:51.000Z
util.py
majora2007/easy-java
5b9a1eaa03ae11217c3c10c16d3bd0e3c661f378
[ "MIT" ]
4
2020-05-22T15:11:35.000Z
2022-02-10T01:32:14.000Z
util.py
majora2007/easy-java
5b9a1eaa03ae11217c3c10c16d3bd0e3c661f378
[ "MIT" ]
null
null
null
import re from collections import Counter from re import split from os import chdir, environ from os.path import join, dirname import sys def pyinstaller_get_full_path(filename): """ If bundling files in onefile with pyinstaller, use thise to get the temp directory where file actually resides """ if hasattr(s...
31.550562
122
0.622863
399
2,808
4.275689
0.283208
0.024619
0.014068
0.045721
0.205744
0.151231
0.151231
0.113716
0.113716
0.113716
0
0.020646
0.206553
2,808
88
123
31.909091
0.745063
0.159188
0
0.114754
0
0
0.074722
0
0
0
0
0
0
1
0.131148
false
0.065574
0.098361
0.04918
0.344262
0.065574
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
52f152246f57e16928fc48061322d0485e56066e
953
py
Python
Solutions/002.py
pedrohasantiago/Project-Euler
e6e316f64eba836a751dc906ae9ae36f344b8861
[ "MIT" ]
null
null
null
Solutions/002.py
pedrohasantiago/Project-Euler
e6e316f64eba836a751dc906ae9ae36f344b8861
[ "MIT" ]
null
null
null
Solutions/002.py
pedrohasantiago/Project-Euler
e6e316f64eba836a751dc906ae9ae36f344b8861
[ "MIT" ]
null
null
null
# Each new term in the Fibonacci sequence is generated by adding the # previous two terms. By starting with 1 and 2, the first 10 terms will # be: # 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ... # By considering the terms in the Fibonacci sequence whose values do not # exceed four million, find the sum of the even-valued term...
36.653846
72
0.677859
146
953
4.205479
0.479452
0.104235
0.09772
0.078176
0.065147
0.065147
0
0
0
0
0
0.044321
0.242392
953
26
73
36.653846
0.806094
0.543547
0
0
1
0
0.019002
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.153846
0.076923
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
52f1d2e78133e34d6495632257a739466acd2397
460
py
Python
ourcup/util/test/geo_test.py
c4fcm/our-cup
c2f8cb53acd1855e994e8d762c576b6647be06f5
[ "MIT" ]
1
2019-03-07T10:40:02.000Z
2019-03-07T10:40:02.000Z
ourcup/util/test/geo_test.py
mitmedialab/our-cup
c2f8cb53acd1855e994e8d762c576b6647be06f5
[ "MIT" ]
4
2018-06-15T13:20:35.000Z
2019-06-11T01:00:42.000Z
ourcup/util/test/geo_test.py
mitmedialab/our-cup
c2f8cb53acd1855e994e8d762c576b6647be06f5
[ "MIT" ]
null
null
null
import unittest from ourcup.util.geo import reverse_geocode SOMERVILLE_MA_LAT_LNG = [42.4000548, -71.122781] class GeoTest(unittest.TestCase): def testReverseGeocode(self): results = reverse_geocode(SOMERVILLE_MA_LAT_LNG[0], SOMERVILLE_MA_LAT_LNG[1]) self.assertEqual(results['County']['name'], ...
30.666667
85
0.715217
55
460
5.781818
0.618182
0.113208
0.141509
0.169811
0.201258
0.201258
0
0
0
0
0
0.086076
0.141304
460
14
86
32.857143
0.718987
0
0
0
0
0
0.117391
0
0
0
0
0
0.333333
1
0.111111
false
0
0.222222
0
0.444444
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
52fcf5fa3fa437b71f0230ae8df040f905d72bc0
784
py
Python
student/views.py
piyush0074/eduket
4e69cc7f6fab3fe9af64fccf8f40feaac3ae3659
[ "MIT" ]
null
null
null
student/views.py
piyush0074/eduket
4e69cc7f6fab3fe9af64fccf8f40feaac3ae3659
[ "MIT" ]
null
null
null
student/views.py
piyush0074/eduket
4e69cc7f6fab3fe9af64fccf8f40feaac3ae3659
[ "MIT" ]
null
null
null
from django.shortcuts import render, redirect from django.http import HttpResponse from django.http.response import HttpResponseRedirect from django.contrib.auth.forms import AuthenticationForm as AF from django.contrib.auth import authenticate, logout as user_logout from django.contrib.auth import login as save_login ...
25.290323
67
0.753827
106
784
5.528302
0.433962
0.102389
0.087031
0.107509
0.09215
0
0
0
0
0
0
0
0.15051
784
30
68
26.133333
0.87988
0.029337
0
0
0
0
0.048748
0
0
0
0
0
0
1
0.045455
false
0
0.363636
0
0.5
0.136364
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
52fe3eb841e1795f0d1d795da7a0f245f7a06814
4,203
py
Python
second-sem/genPlotsBetweenCoverageAndFPKM.py
piyush-kansal/masters-project
3579aec95a8dc6aabda7c0c55b5da158336e1edc
[ "MIT" ]
1
2017-01-18T15:52:17.000Z
2017-01-18T15:52:17.000Z
second-sem/genPlotsBetweenCoverageAndFPKM.py
piyush-kansal/masters-project
3579aec95a8dc6aabda7c0c55b5da158336e1edc
[ "MIT" ]
null
null
null
second-sem/genPlotsBetweenCoverageAndFPKM.py
piyush-kansal/masters-project
3579aec95a8dc6aabda7c0c55b5da158336e1edc
[ "MIT" ]
null
null
null
#!/usr/bin/env python # Main script for generating plots between coverage and FPKM values # Piyush Kansal import sys import os import subprocess import csv import rpy2.robjects as robjects import pickle # Validate number of i/p arguments def validateNumberOfArguments(): if len(sys.argv) != 5: print "Inv...
25.319277
147
0.590055
549
4,203
4.444444
0.311475
0.005738
0.016393
0.021311
0.055328
0.027869
0.027869
0.027869
0.027869
0
0
0.01087
0.277659
4,203
166
148
25.319277
0.79282
0.060909
0
0.184874
0
0.008403
0.153299
0.046193
0
0
0
0
0
0
null
null
0
0.05042
null
null
0.067227
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
52ff36bda1eb3833c5e64c5cc9b4d5a6c387096c
2,360
py
Python
app/soc/models/comment.py
jamslevy/gsoc
e995e1a8d34e0291ab988ba501ae4efc61f9516d
[ "Apache-2.0" ]
1
2016-05-09T14:43:53.000Z
2016-05-09T14:43:53.000Z
app/soc/models/comment.py
jamslevy/gsoc
e995e1a8d34e0291ab988ba501ae4efc61f9516d
[ "Apache-2.0" ]
null
null
null
app/soc/models/comment.py
jamslevy/gsoc
e995e1a8d34e0291ab988ba501ae4efc61f9516d
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python2.5 # # Copyright 2008 the Melange authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
36.307692
77
0.713983
328
2,360
5.073171
0.478659
0.036058
0.027043
0.019231
0.069712
0.069712
0.069712
0.069712
0.069712
0
0
0.005889
0.208475
2,360
64
78
36.875
0.884904
0.570763
0
0
0
0
0.107438
0.029959
0
0
0
0
0
1
0
false
0
0.263158
0
0.631579
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
5e0e51bad9e2e6e42c178829daea3fe3fc801d6e
1,310
py
Python
scrollText.py
PHSCRC/phsled
e2e0c2a26de3b6c9b6c1be6eea5b21d7f5315b86
[ "MIT" ]
1
2015-01-06T18:49:08.000Z
2015-01-06T18:49:08.000Z
scrollText.py
PHSCRC/phsled
e2e0c2a26de3b6c9b6c1be6eea5b21d7f5315b86
[ "MIT" ]
null
null
null
scrollText.py
PHSCRC/phsled
e2e0c2a26de3b6c9b6c1be6eea5b21d7f5315b86
[ "MIT" ]
null
null
null
#!/usr/bin/env python import time, sys from Adafruit_LEDBackpack import LEDBackpack from LEDLetterValues import * from timeit import default_timer grids = [LEDBackpack(address=i) for i in range(0x70, 0x74)] wait_time = float(sys.argv[2] if len(sys.argv) > 2 else raw_input("Wait time: ")) text = sys.argv[1] if len(sys...
26.734694
81
0.608397
193
1,310
4.041451
0.38342
0.044872
0.023077
0.030769
0
0
0
0
0
0
0
0.045691
0.264886
1,310
48
82
27.291667
0.764278
0.015267
0
0.15
0
0
0.051978
0
0
0
0.021722
0
0
0
null
null
0
0.1
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
5e16252936686aaaca4aa1d704dff7d34775a35b
1,831
py
Python
dotenv/__init__.py
jayvdb/dotenv
81923e7e901ed512ec91fa27058e0cb9d6b4ac6c
[ "MIT" ]
24
2015-02-14T04:27:38.000Z
2021-12-28T03:25:05.000Z
dotenv/__init__.py
gfunkmonk/dotenv
81923e7e901ed512ec91fa27058e0cb9d6b4ac6c
[ "MIT" ]
12
2015-02-16T18:35:04.000Z
2022-01-17T19:35:57.000Z
dotenv/__init__.py
gfunkmonk/dotenv
81923e7e901ed512ec91fa27058e0cb9d6b4ac6c
[ "MIT" ]
12
2015-02-14T04:30:14.000Z
2020-09-24T20:02:56.000Z
# encoding=UTF-8 from __future__ import with_statement __version__ = '0.0.5' class Dotenv(dict): def __init__(self, file_path): self.file_path = file_path super(Dotenv, self).__init__(**self.__create_dict()) def __create_dict(self): with open(self.file_path, 'r') as dotenv: ...
28.609375
72
0.564719
215
1,831
4.488372
0.334884
0.091192
0.049741
0.033161
0.049741
0.049741
0
0
0
0
0
0.005507
0.305844
1,831
63
73
29.063492
0.753737
0.072092
0
0.139535
0
0
0.024203
0
0
0
0
0
0
1
0.209302
false
0
0.023256
0.023256
0.395349
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
5e17d080d906776856265248ccccaf73e4bbfc2b
1,966
py
Python
osm_validator/activity.py
dimahaptar/osm-validator
fefae423ef61c0d6f60b92d60427fc021f3e23e7
[ "MIT" ]
null
null
null
osm_validator/activity.py
dimahaptar/osm-validator
fefae423ef61c0d6f60b92d60427fc021f3e23e7
[ "MIT" ]
3
2018-03-04T12:45:12.000Z
2018-05-23T12:19:07.000Z
osm_validator/activity.py
dimahaptar/osm-validator
fefae423ef61c0d6f60b92d60427fc021f3e23e7
[ "MIT" ]
null
null
null
import models, time async def get_all_activity (app, client): ''' getting data of all activity ''' async with app.db.acquire() as conn: await select_all = select([Activity.__table__.c.id, Activity.__table__.c.name]).\ whe...
33.896552
76
0.529502
219
1,966
4.410959
0.214612
0.121118
0.130435
0.099379
0.586957
0.516563
0.516563
0.516563
0.47619
0.47619
0
0
0.369278
1,966
57
77
34.491228
0.779032
0
0
0.322581
0
0
0
0
0
0
0
0
0
0
null
null
0
0.032258
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
5e19e31c9aea6006329195d983c06bfedb088e73
1,704
py
Python
ginger/auth.py
vivsh/django-ginger
d293109becc72845a23f2aeb732ed808a7a67d69
[ "MIT" ]
null
null
null
ginger/auth.py
vivsh/django-ginger
d293109becc72845a23f2aeb732ed808a7a67d69
[ "MIT" ]
null
null
null
ginger/auth.py
vivsh/django-ginger
d293109becc72845a23f2aeb732ed808a7a67d69
[ "MIT" ]
null
null
null
from django.contrib.auth.backends import ModelBackend from django.db.models.query_utils import Q from django.utils import six from django.contrib.auth.models import User, AbstractUser __all__ = ["GingerUser", "CaseInsensitiveBackend"] class MetaUser(type): def __new__(self, name, bases, attrs): if bases...
32.150943
102
0.607981
201
1,704
4.970149
0.427861
0.04004
0.034034
0.042042
0.03003
0.03003
0
0
0
0
0
0
0.301643
1,704
52
103
32.769231
0.839496
0.1027
0
0.054054
0
0
0.027888
0.014608
0
0
0
0
0
1
0.054054
false
0.054054
0.108108
0
0.378378
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
5e2828a7be8a1204b08ebae4b61dd3688324621f
46,963
py
Python
tests/benchmark/k8s_runner.py
mfkiwl/milvus
c440b9e8a0dcb18bee52d58da303c37a97d20f94
[ "Apache-2.0" ]
1
2021-05-25T05:39:22.000Z
2021-05-25T05:39:22.000Z
tests/benchmark/k8s_runner.py
mfkiwl/milvus
c440b9e8a0dcb18bee52d58da303c37a97d20f94
[ "Apache-2.0" ]
5
2020-08-04T09:02:55.000Z
2021-05-21T02:02:27.000Z
tests/benchmark/k8s_runner.py
mfkiwl/milvus
c440b9e8a0dcb18bee52d58da303c37a97d20f94
[ "Apache-2.0" ]
1
2022-03-09T06:13:22.000Z
2022-03-09T06:13:22.000Z
import os import logging import pdb import time import re import random import traceback import json import csv import threading from multiprocessing import Process import numpy as np from milvus import DataType from yaml import full_load, dump import concurrent.futures import locust_user from client import MilvusClie...
50.606681
149
0.541959
4,820
46,963
4.967842
0.074066
0.082439
0.017457
0.016914
0.641762
0.595991
0.547797
0.496012
0.467446
0.445479
0
0.004858
0.368801
46,963
927
150
50.661273
0.802921
0.04989
0
0.508373
0
0
0.083635
0.004401
0
0
0
0.001079
0.001196
0
null
null
0.001196
0.027512
null
null
0.002392
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
5e28cfc85f503e191c8cbdda9dc8351c1611dc1d
64,311
py
Python
NetworkAnalysis/network_analysis.py
quimaguirre/NetworkAnalysis
c7a4da3ba5696800738b4767065ce29fa0020d79
[ "MIT" ]
1
2017-07-10T17:33:31.000Z
2017-07-10T17:33:31.000Z
NetworkAnalysis/network_analysis.py
quimaguirre/NetworkAnalysis
c7a4da3ba5696800738b4767065ce29fa0020d79
[ "MIT" ]
null
null
null
NetworkAnalysis/network_analysis.py
quimaguirre/NetworkAnalysis
c7a4da3ba5696800738b4767065ce29fa0020d79
[ "MIT" ]
null
null
null
import ConfigParser import cPickle import networkx as nx import numpy as np import scipy.stats import os, sys import network_translation as NT import tissue_specificity as TS import top_scoring as TOP """ NetworkAnalysis 2017 Joaquim Aguirre-Plans Structural Bioinformatics Laboratory Universitat Pomp...
39
218
0.613208
7,696
64,311
4.936461
0.071206
0.022874
0.019689
0.008055
0.580453
0.521834
0.471533
0.434155
0.401358
0.36585
0
0.007413
0.297274
64,311
1,648
219
39.023665
0.833226
0.032187
0
0.32493
0
0.007003
0.107775
0.00755
0
0
0
0
0
0
null
null
0.001401
0.014006
null
null
0.067227
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
5e28fb226f93ca31d45d5503dceaf6fa27eec11e
2,616
py
Python
demo/examples/02_multivariate_plotting.py
pygeo/pycmbs
0df863e1575ffad21c1ea9790bcbd3a7982d99c6
[ "MIT" ]
9
2015-04-01T04:22:25.000Z
2018-08-31T03:51:34.000Z
demo/examples/02_multivariate_plotting.py
pygeo/pycmbs
0df863e1575ffad21c1ea9790bcbd3a7982d99c6
[ "MIT" ]
14
2015-01-27T20:33:10.000Z
2016-06-02T07:23:25.000Z
demo/examples/02_multivariate_plotting.py
pygeo/pycmbs
0df863e1575ffad21c1ea9790bcbd3a7982d99c6
[ "MIT" ]
8
2015-02-07T20:46:42.000Z
2019-10-25T00:36:32.000Z
# -*- coding: utf-8 -*- """ This file is part of pyCMBS. (c) 2012- Alexander Loew For COPYING and LICENSE details, please refer to the LICENSE file """ """ Basic working with the data object """ from pycmbs.data import Data from pycmbs.mapping import map_plot from pycmbs.plots import map_season, map_difference, Zonal...
27.536842
109
0.73318
416
2,616
4.514423
0.420673
0.022364
0.044728
0.034079
0.075612
0.024494
0
0
0
0
0
0.020311
0.115443
2,616
94
110
27.829787
0.791271
0.299312
0
0.042553
0
0
0.222155
0
0
0
0
0
0
0
null
null
0
0.148936
null
null
0.148936
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
5e2b8c74f091525cddd525f24161011500f60622
9,342
py
Python
custom_properties/03_FlowRegexProperties.py
IBM/api-samples
d69f7a7b74244012e835f023bceec2b0370be586
[ "Apache-2.0" ]
172
2015-02-18T21:18:31.000Z
2022-03-13T17:51:11.000Z
custom_properties/03_FlowRegexProperties.py
IBM/api-samples
d69f7a7b74244012e835f023bceec2b0370be586
[ "Apache-2.0" ]
15
2015-03-06T15:30:33.000Z
2021-03-05T09:20:34.000Z
custom_properties/03_FlowRegexProperties.py
IBM/api-samples
d69f7a7b74244012e835f023bceec2b0370be586
[ "Apache-2.0" ]
77
2015-03-06T13:14:06.000Z
2022-02-14T15:35:58.000Z
#!/usr/bin/env python3 # This sample script demonstrates how to # 1. get a list of flow regex properties # 2. create a new flow regex property # 3. get a flow regex property by id # 4. update an existing flow regex property # 5. start a find dependents task and check results when completed # 6. start a deletion task to...
37.071429
79
0.597731
1,058
9,342
5.091682
0.164461
0.139967
0.091517
0.033414
0.719324
0.677
0.658066
0.634119
0.623353
0.623353
0
0.009974
0.270178
9,342
251
80
37.219124
0.780141
0.205952
0
0.60274
0
0
0.230947
0.071467
0
0
0
0
0
1
0.006849
false
0
0.047945
0
0.054795
0.253425
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
5e2b930a856608ad54a9735fa838bc968b692235
1,892
py
Python
tests/test_column_category.py
BBVA/python-etl
f4c0e613792c93fe5833f9d5e670e8fa6cf675da
[ "Apache-2.0" ]
20
2017-11-07T15:09:45.000Z
2021-08-21T00:18:09.000Z
tests/test_column_category.py
BBVA/python-etl
f4c0e613792c93fe5833f9d5e670e8fa6cf675da
[ "Apache-2.0" ]
4
2017-11-21T13:15:30.000Z
2018-01-17T14:06:14.000Z
tests/test_column_category.py
BBVA/python-etl
f4c0e613792c93fe5833f9d5e670e8fa6cf675da
[ "Apache-2.0" ]
9
2017-11-08T10:53:43.000Z
2018-04-20T11:26:29.000Z
# Copyright 2017 BBVA # # 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, softwar...
30.031746
80
0.683932
264
1,892
4.837121
0.352273
0.101801
0.101801
0.070478
0.479248
0.458888
0.458888
0.406421
0.406421
0.406421
0
0.008661
0.20666
1,892
62
81
30.516129
0.842105
0.285941
0
0.666667
0
0
0.164547
0
0
0
0
0
0.472222
1
0.166667
false
0
0.027778
0
0.194444
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
1
0
0
0
0
0
0
0
0
0
1
5e2c1debffa1d9f930d9a14cf8870ad7773ba396
1,519
py
Python
run_queries_at_bkp.py
pboueke/PDBD
c6183754e95df6ab677efaffa369b39f67349453
[ "MIT" ]
1
2017-06-30T02:33:47.000Z
2017-06-30T02:33:47.000Z
run_queries_at_bkp.py
pboueke/PDBD
c6183754e95df6ab677efaffa369b39f67349453
[ "MIT" ]
null
null
null
run_queries_at_bkp.py
pboueke/PDBD
c6183754e95df6ab677efaffa369b39f67349453
[ "MIT" ]
null
null
null
import psycopg2 import time q1 = """SELECT DISTINCT "visc", "dens", "kxx", "kyy", "kzz", "mmodel", "mesh" FROM "scc2-edgecfd"."oedgecfdpre" , "scc2-edgecfd"."dl_mat" WHERE mesh = 'cavp.2' OR mesh = 'cavp.3' OR mesh = 'cavp.4' AND "oedgecfdpre"."dl_matid" = "dl_mat"."rid" """ q2 = """SELECT DISTINCT dat FROM "scc2-...
49
506
0.732061
207
1,519
5.285024
0.323672
0.110603
0.059415
0.054845
0.47989
0.175503
0.127971
0
0
0
0
0.025735
0.104674
1,519
30
507
50.633333
0.778676
0
0
0.272727
0
0.136364
0.737986
0.338381
0
0
0
0
0
1
0
false
0.045455
0.090909
0
0.090909
0.363636
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
5e3233ba0c546c1e0d445a0e909436f71519e8b0
270
py
Python
agent-training/utils.py
ryan-hunt-122/gym-anm-rltraining
249400357fde2e63659fca8a5122b57590bf323c
[ "MIT" ]
null
null
null
agent-training/utils.py
ryan-hunt-122/gym-anm-rltraining
249400357fde2e63659fca8a5122b57590bf323c
[ "MIT" ]
null
null
null
agent-training/utils.py
ryan-hunt-122/gym-anm-rltraining
249400357fde2e63659fca8a5122b57590bf323c
[ "MIT" ]
null
null
null
import argparse def parse_args(): """Parse command line arguments.""" parser = argparse.ArgumentParser() parser.add_argument("agent", type=str) parser.add_argument("--path", "-p", type=str, default=None) args = parser.parse_args() return args
22.5
63
0.67037
33
270
5.363636
0.606061
0.101695
0.19209
0
0
0
0
0
0
0
0
0
0.181481
270
12
64
22.5
0.800905
0.107407
0
0
0
0
0.055085
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.428571
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
5e325e9b8469018bae86bef7f21a44339ddd5703
219
py
Python
Ex015.py
paulosv2/CursoEmVideo
958de1316626845dcc6fa4ff185a64165859d14e
[ "MIT" ]
null
null
null
Ex015.py
paulosv2/CursoEmVideo
958de1316626845dcc6fa4ff185a64165859d14e
[ "MIT" ]
null
null
null
Ex015.py
paulosv2/CursoEmVideo
958de1316626845dcc6fa4ff185a64165859d14e
[ "MIT" ]
null
null
null
dias = int(input('Por quantos dias o carro ficou alugado? ')) km = float(input('Quantos quilometros o carro percorreu? ')) preco = (dias * 60) + (km * 0.15) print ('O valor a ser pago eh de R${:.2f}!'.format(preco))
27.375
61
0.648402
36
219
3.944444
0.75
0.084507
0
0
0
0
0
0
0
0
0
0.033333
0.178082
219
7
62
31.285714
0.755556
0
0
0
0
0
0.515982
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
5e32c9b67b54d6d8f78b8cdc13e110d51ef761a1
1,992
py
Python
biscuit/src/kernel/elfutil.py
whakapapa/biscuit
6a7ce0a030fd8ee6bce39510f08f261b1829bd4f
[ "BSD-3-Clause" ]
2,062
2018-10-08T18:34:22.000Z
2022-03-31T14:22:43.000Z
biscuit/src/kernel/elfutil.py
whakapapa/biscuit
6a7ce0a030fd8ee6bce39510f08f261b1829bd4f
[ "BSD-3-Clause" ]
9
2018-10-10T16:14:32.000Z
2020-08-18T01:38:05.000Z
biscuit/src/kernel/elfutil.py
whakapapa/biscuit
6a7ce0a030fd8ee6bce39510f08f261b1829bd4f
[ "BSD-3-Clause" ]
165
2018-10-08T21:19:09.000Z
2022-03-05T17:54:02.000Z
#!/usr/bin/env python import subprocess class Seg: def __init__(self, offset, va, filesz): self.offset, self.va, self.filesz = offset, va, filesz def contains(self, va): if self.va <= va and self.va + self.filesz >= va: return True return False class Pheads: def __init__(self): self.segs = [] def add(s...
28.457143
72
0.652108
297
1,992
4.316498
0.289562
0.031201
0.043682
0.028081
0.177847
0.143526
0.082683
0.082683
0.082683
0.082683
0
0.011494
0.170181
1,992
69
73
28.869565
0.764065
0.01004
0
0.098361
0
0
0.077626
0
0
0
0
0
0
0
null
null
0
0.016393
null
null
0.016393
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
5e377bddb0c54cc1cdad91d89297dd40a0c2b46d
530
py
Python
poo/class_attributes.py
obareau/TPP
8df7a79fea6403edcc71fbed9ed76772a5d85c9d
[ "CC0-1.0" ]
null
null
null
poo/class_attributes.py
obareau/TPP
8df7a79fea6403edcc71fbed9ed76772a5d85c9d
[ "CC0-1.0" ]
null
null
null
poo/class_attributes.py
obareau/TPP
8df7a79fea6403edcc71fbed9ed76772a5d85c9d
[ "CC0-1.0" ]
null
null
null
# coding: utf-8 class Person: number_of_people = 0 # Specific to the class GRAVITY = 9.8 # we define constants in the generic class def __init__(self, name): self.name = name Person.add_person() # Decorator @classmethod def number_of_people_(cls): return cls.nu...
22.083333
70
0.637736
73
530
4.383562
0.520548
0.125
0.21875
0.125
0
0
0
0
0
0
0
0.018182
0.273585
530
23
71
23.043478
0.812987
0.224528
0
0.133333
0
0
0.017327
0
0
0
0
0
0
1
0.2
false
0
0
0.066667
0.466667
0.066667
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
5e39c4a88686112bac81adc20d5322357a38b017
819
py
Python
Sorting/Pancake Sorting/Python3/pancake.py
iabhimanyu/Algorithms
adefcd165e591d2338be8fc8a62629ff072620dd
[ "MIT" ]
715
2018-10-01T21:30:10.000Z
2022-03-23T09:14:10.000Z
Sorting/Pancake Sorting/Python3/pancake.py
iabhimanyu/Algorithms
adefcd165e591d2338be8fc8a62629ff072620dd
[ "MIT" ]
157
2018-10-01T20:53:11.000Z
2021-08-03T07:00:58.000Z
Sorting/Pancake Sorting/Python3/pancake.py
iabhimanyu/Algorithms
adefcd165e591d2338be8fc8a62629ff072620dd
[ "MIT" ]
1,225
2018-10-01T20:56:22.000Z
2022-02-22T04:00:27.000Z
tutor = False def pancakesort(array): if len(array) <= 1: return array if tutor: print() for size in range(len(array), 1, -1): maxindex = max(range(size), key=lamdba i: array[i]) if maxindex+1 != size: if maxindex != 0: if tutor: ...
29.25
72
0.393162
84
819
3.833333
0.321429
0.086957
0.149068
0.099379
0.267081
0.267081
0.267081
0.267081
0.267081
0.267081
0
0.019002
0.485958
819
27
73
30.333333
0.745843
0
0
0.4
0
0
0.04884
0
0
0
0
0
0
0
null
null
0
0
null
null
0.16
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
5e3a892bef8e046dd9da09432705746d41d89638
486
py
Python
Python/Fundamentals/Functions(lab-exercise)/Sort.py
EduardV777/Softuni-Python-Exercises
79db667028aea7dfecb3dbbd834c752180c50f44
[ "Unlicense" ]
null
null
null
Python/Fundamentals/Functions(lab-exercise)/Sort.py
EduardV777/Softuni-Python-Exercises
79db667028aea7dfecb3dbbd834c752180c50f44
[ "Unlicense" ]
null
null
null
Python/Fundamentals/Functions(lab-exercise)/Sort.py
EduardV777/Softuni-Python-Exercises
79db667028aea7dfecb3dbbd834c752180c50f44
[ "Unlicense" ]
null
null
null
seq=input() def SortList(sequence): k=0; list1=[] while k<len(sequence): num="" if sequence[k]!=" ": for j in range(k,len(sequence)): if sequence[k]!=" ": num+=sequence[k] k+=1 else: ...
24.3
45
0.37037
49
486
3.673469
0.469388
0.2
0.133333
0
0
0
0
0
0
0
0
0.028926
0.502058
486
19
46
25.578947
0.714876
0
0
0.368421
0
0
0.004283
0
0
0
0
0
0
1
0.052632
false
0
0
0
0.052632
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
eaa2cef81c82e3668ce12de0979c17bac8f0b07c
2,458
py
Python
tests/manuel_aleatorio_test_case_actividad.py
ManuelMasferrer/MISW4101-202111-Grupo57-sandbox
27dcd9b17315b8a90f1adb94a107abfb14525025
[ "MIT" ]
null
null
null
tests/manuel_aleatorio_test_case_actividad.py
ManuelMasferrer/MISW4101-202111-Grupo57-sandbox
27dcd9b17315b8a90f1adb94a107abfb14525025
[ "MIT" ]
null
null
null
tests/manuel_aleatorio_test_case_actividad.py
ManuelMasferrer/MISW4101-202111-Grupo57-sandbox
27dcd9b17315b8a90f1adb94a107abfb14525025
[ "MIT" ]
1
2021-03-08T21:59:51.000Z
2021-03-08T21:59:51.000Z
from faker import Faker import unittest from src.logica.manuel_coleccion_insertar_editar_eliminar_actividad import Coleccion from src.modelo.declarative_base import Session #Ivan from src.logica.Logica_mock import * # Ivan from src.modelo.actividad import Actividad import random class ActividadTestCase(unittest.TestCa...
33.216216
91
0.661513
288
2,458
5.538194
0.305556
0.070219
0.047022
0.033856
0.226332
0.183072
0.156113
0.156113
0.131661
0.076489
0
0.005285
0.230269
2,458
73
92
33.671233
0.837738
0.074044
0
0.227273
0
0
0
0
0
0
0
0.013699
0.090909
1
0.136364
false
0
0.159091
0
0.318182
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
eaa88bf22ac5ca31c03212210f454f775cd7e7c0
591
py
Python
gym_ucv/envs/config.py
mkisantal/gym-ucv-control
979ecbf0942ce81fab8aa7a179b154194bd023f0
[ "MIT" ]
null
null
null
gym_ucv/envs/config.py
mkisantal/gym-ucv-control
979ecbf0942ce81fab8aa7a179b154194bd023f0
[ "MIT" ]
null
null
null
gym_ucv/envs/config.py
mkisantal/gym-ucv-control
979ecbf0942ce81fab8aa7a179b154194bd023f0
[ "MIT" ]
null
null
null
class Config: STATE_SHAPE = [84, 84, 3] SPEED = 20 # cm/step GOAL_DIRECTION_REWARD = 1 CRASH_REWARD = -10 SIM_DIR = '/home/mate/ucv-pkg-outdoor-8-lite/LinuxNoEditor/outdoor_lite/Binaries/Linux/' SIM_NAME = 'outdoor_lite' RANDOM_SPAWN_LOCATIONS = True MAP_X_MIN = -4000 MAP_X_MAX = ...
32.833333
99
0.673435
85
591
4.423529
0.494118
0.117021
0.087766
0.111702
0.50266
0.50266
0.50266
0.50266
0.50266
0.50266
0
0.061702
0.204738
591
18
100
32.833333
0.738298
0.011844
0
0
0
0.2
0.427101
0.391081
0
0
0
0
0
1
0
false
0
0
0
0.933333
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
eaaf6a18139653a0aff8c2f1d518043e8b492c80
1,363
py
Python
lang/Python/named-parameters-2.py
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
null
null
null
lang/Python/named-parameters-2.py
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
null
null
null
lang/Python/named-parameters-2.py
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
null
null
null
from __future__ import print_function def show_args(defparam1, defparam2 = 'default value', *posparam, **keyparam): "Straight-forward function to show its arguments" print(" Default Parameters:") print(" defparam1 value is:", defparam1) print(" defparam2 value is:", defparam2) print(" Positional Arg...
27.26
77
0.62876
149
1,363
5.651007
0.33557
0.095012
0.106888
0.160333
0.30285
0.30285
0.30285
0.204276
0.142518
0.142518
0
0.020352
0.206897
1,363
49
78
27.816327
0.758557
0.042553
0
0.294118
0
0
0.417469
0
0
0
0
0
0
1
0.029412
false
0
0.029412
0
0.058824
0.294118
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
eab180cf51a69fbabb11c9c1e043eaececdbb95a
3,981
py
Python
custom_components/marshall/media_player.py
patrickbusch/ha-marshall
5d3e7de779650a0b0f3c8ff6ad3041299da53b93
[ "MIT" ]
null
null
null
custom_components/marshall/media_player.py
patrickbusch/ha-marshall
5d3e7de779650a0b0f3c8ff6ad3041299da53b93
[ "MIT" ]
null
null
null
custom_components/marshall/media_player.py
patrickbusch/ha-marshall
5d3e7de779650a0b0f3c8ff6ad3041299da53b93
[ "MIT" ]
null
null
null
import logging from homeassistant.components.media_player.const import ( MEDIA_TYPE_MUSIC, SUPPORT_PAUSE, SUPPORT_PLAY, SUPPORT_PLAY_MEDIA, SUPPORT_SELECT_SOURCE, SUPPORT_VOLUME_MUTE, SUPPORT_VOLUME_SET, ) from homeassistant.const import ( STATE_OFF, STATE_PAUSED, STATE_PLAYING,...
25.356688
78
0.601356
444
3,981
5.146396
0.234234
0.074836
0.049015
0.066521
0.256893
0.161926
0.090153
0.075274
0.041138
0.041138
0
0.003127
0.277066
3,981
156
79
25.519231
0.790827
0.170058
0
0.150943
0
0
0.083359
0
0
0
0
0
0
1
0.179245
false
0
0.056604
0.103774
0.386792
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
1
0
0
0
1
eab35ad09e6cbe79449b8be1a90a73ce7b795bf6
1,433
py
Python
sc2/cache.py
awesome-archive/python-sc2
dd3e7b4c8e995c6e90d2a26c29451c7863a8f26c
[ "MIT" ]
621
2017-08-17T05:43:15.000Z
2022-03-29T07:46:23.000Z
sc2/cache.py
islamelnabarawy/python-sc2
608bd25f04e89d39cef68b40101d8e9a8a7f1634
[ "MIT" ]
212
2017-12-08T12:37:48.000Z
2022-03-12T10:31:00.000Z
sc2/cache.py
islamelnabarawy/python-sc2
608bd25f04e89d39cef68b40101d8e9a8a7f1634
[ "MIT" ]
242
2017-08-17T01:21:32.000Z
2022-03-13T12:51:38.000Z
from functools import wraps def cache_forever(f): f.cache = {} @wraps(f) def inner(*args): if args not in f.cache: f.cache[args] = f(*args) return f.cache[args] return inner def property_cache_forever(f): f.cached = None @wraps(f) def inner(self): i...
22.390625
123
0.60642
211
1,433
3.938389
0.255924
0.064982
0.054152
0.084236
0.45367
0.345367
0.31769
0.262335
0.202166
0.202166
0
0.000988
0.293789
1,433
63
124
22.746032
0.820158
0.145848
0
0.44186
0
0
0
0
0
0
0
0
0
1
0.232558
false
0
0.023256
0
0.488372
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
eac24f0b3abf9e42a8ad863d3bcdceabbf9379a0
1,413
py
Python
sunless_web/migrations/0024_auto_20180527_0031.py
bluedisk/SunlessSeaKo
1e6d498ff7e735b8d272dd0bca6c17741a2faedb
[ "MIT" ]
2
2019-02-19T11:53:29.000Z
2021-02-18T23:57:20.000Z
sunless_web/migrations/0024_auto_20180527_0031.py
bluedisk/SunlessSeaKo
1e6d498ff7e735b8d272dd0bca6c17741a2faedb
[ "MIT" ]
4
2018-05-26T13:18:27.000Z
2018-05-26T13:19:50.000Z
sunless_web/migrations/0024_auto_20180527_0031.py
bluedisk/SunlessSeaKo
1e6d498ff7e735b8d272dd0bca6c17741a2faedb
[ "MIT" ]
null
null
null
# Generated by Django 2.0.5 on 2018-05-26 15:31 import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('sunless_web', '0023_entity_translated'), ] operations = [ migrations.CreateModel( name='Answer',...
33.642857
114
0.537863
133
1,413
5.533835
0.488722
0.134511
0.038043
0.059783
0.214674
0.214674
0.214674
0.214674
0.214674
0.214674
0
0.026483
0.331918
1,413
41
115
34.463415
0.753178
0.031847
0
0.361111
1
0
0.141288
0.033675
0
0
0
0
0
1
0
false
0
0.055556
0
0.138889
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
eac93217b41bdf7e583365061980f8cb9061c9da
483
py
Python
Login-Sm.py
Gaxxer/python_training
04fdbb37fc744bf5ed7b43664ae1b0fba0f66c7c
[ "Apache-2.0" ]
null
null
null
Login-Sm.py
Gaxxer/python_training
04fdbb37fc744bf5ed7b43664ae1b0fba0f66c7c
[ "Apache-2.0" ]
null
null
null
Login-Sm.py
Gaxxer/python_training
04fdbb37fc744bf5ed7b43664ae1b0fba0f66c7c
[ "Apache-2.0" ]
null
null
null
from selenium.webdriver.firefox.webdriver import WebDriver import pytest from Лог import application from .application import Application @pytest.fixture def app(request): fixture = Application() request.addfinalizer(fixture.destroy) return fixture def test_test_login(app): app.open_home_page() a...
26.833333
77
0.755694
63
483
5.634921
0.603175
0.084507
0
0
0
0
0
0
0
0
0
0.004843
0.144928
483
18
78
26.833333
0.854722
0
0
0
0
0
0.068182
0
0
0
0
0
0
1
0.133333
false
0.066667
0.266667
0
0.466667
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
eac9a8b84ec71db1935df82669038f33fe3145c0
426
py
Python
compile.py
xujiboy/proj-relocate-template
7bebf65ebeac5578f7e8e114c6b0bbe4116935eb
[ "MIT" ]
null
null
null
compile.py
xujiboy/proj-relocate-template
7bebf65ebeac5578f7e8e114c6b0bbe4116935eb
[ "MIT" ]
null
null
null
compile.py
xujiboy/proj-relocate-template
7bebf65ebeac5578f7e8e114c6b0bbe4116935eb
[ "MIT" ]
null
null
null
from distutils.core import setup from distutils.extension import Extension from Cython.Distutils import build_ext from Cython.Build import cythonize ext_modules = [ Extension("my_module", ["lib/my_module.py"]), # ... all your modules that need be compiled ... ] setup( name = 'example', cmdclass = {'build...
32.769231
85
0.730047
55
426
5.472727
0.527273
0.079734
0.126246
0
0
0
0
0
0
0
0
0.002778
0.15493
426
13
86
32.769231
0.833333
0.107981
0
0
0
0
0.145889
0
0
0
0
0
0
1
0
false
0
0.333333
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
eacec8bae3f872cd601ae532ced3188f2bab7e8b
1,631
py
Python
recommendation.py
UmbraVenus/ml4a-streamlit
006311a75c655c02e593942df44bb8b749dba8d2
[ "MIT" ]
null
null
null
recommendation.py
UmbraVenus/ml4a-streamlit
006311a75c655c02e593942df44bb8b749dba8d2
[ "MIT" ]
null
null
null
recommendation.py
UmbraVenus/ml4a-streamlit
006311a75c655c02e593942df44bb8b749dba8d2
[ "MIT" ]
1
2021-08-11T19:21:43.000Z
2021-08-11T19:21:43.000Z
import streamlit as st import requests import json from PIL import Image import ipywidgets as widgets import matplotlib.pyplot as plt import deviantart import numpy as np import argparse import sys from IPython.display import display from ipywidgets import interact, interact_manual def app(): st.title('Recommendat...
33.285714
101
0.676885
223
1,631
4.838565
0.506726
0.027804
0.030584
0.041705
0.032437
0
0
0
0
0
0
0.024642
0.228694
1,631
49
102
33.285714
0.833068
0
0
0
0
0
0.197156
0.020685
0
0
0
0
0
1
0.025641
false
0
0.307692
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ead0f309e56a4ea85ef28200c0740eb0d7475374
1,026
py
Python
3_A2C_DDPG/ddpg/model.py
dongminlee94/Samsung-DRL-Code
c96f8739a09cfd708c265954ee8ecf0ea3b67395
[ "MIT" ]
116
2019-07-25T04:23:24.000Z
2022-01-17T15:20:30.000Z
pendulum/ddpg/model.py
dongminleeai/Reinforcement-Learning-Code
c72408ca29c25230687d81b7ca3a85bab40956a9
[ "MIT" ]
null
null
null
pendulum/ddpg/model.py
dongminleeai/Reinforcement-Learning-Code
c72408ca29c25230687d81b7ca3a85bab40956a9
[ "MIT" ]
29
2019-07-24T21:20:34.000Z
2021-12-08T02:07:29.000Z
import torch import torch.nn as nn class Actor(nn.Module): def __init__(self, state_size, action_size, args): super(Actor, self).__init__() self.fc1 = nn.Linear(state_size, args.hidden_size) self.fc2 = nn.Linear(args.hidden_size, args.hidden_size) self.fc3 = nn.Linear(args.hidden_si...
33.096774
72
0.620858
150
1,026
4.02
0.22
0.13267
0.185738
0.119403
0.684909
0.6733
0.6733
0.6733
0.573798
0.573798
0
0.018205
0.250487
1,026
31
73
33.096774
0.76593
0
0
0.32
0
0
0
0
0
0
0
0
0
1
0.16
false
0
0.08
0
0.4
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
ead6ae7f52324d0be6931f8d177ba87364306e6e
390
py
Python
exp3/chat_client_udp.py
sekharkaredla/cnlab
8e1ef9a904dea5260f6b6cf968508a2847f9f15c
[ "MIT" ]
null
null
null
exp3/chat_client_udp.py
sekharkaredla/cnlab
8e1ef9a904dea5260f6b6cf968508a2847f9f15c
[ "MIT" ]
null
null
null
exp3/chat_client_udp.py
sekharkaredla/cnlab
8e1ef9a904dea5260f6b6cf968508a2847f9f15c
[ "MIT" ]
2
2018-04-16T13:25:12.000Z
2018-04-16T14:49:38.000Z
import socket s=socket.socket(socket.AF_INET,socket.SOCK_DGRAM) s.bind(("127.0.0.1",2225)) while True: data,address=s.recvfrom(1024) print "server:"+str(data) input=raw_input("client:") if input=="bye" or input=="exit": s.sendto(input,("127.0.0.1",2222)) b...
30
50
0.548718
57
390
3.701754
0.561404
0.056872
0.07109
0.085308
0.208531
0.208531
0.208531
0.208531
0
0
0
0.119718
0.271795
390
12
51
32.5
0.623239
0
0
0.166667
0
0
0.123077
0
0
0
0
0
0
0
null
null
0
0.083333
null
null
0.083333
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
eae08423fea38417c16ea5c5ebd6231ea2361b1a
1,211
py
Python
app/migrations/0010_auto_20160905_1134.py
lucashanke/houseofdota
c83fbb15d58928599f47f9754e3c401d98db3c24
[ "MIT" ]
5
2016-08-18T03:50:57.000Z
2018-11-20T21:02:59.000Z
app/migrations/0010_auto_20160905_1134.py
lucashanke/houseofdota
c83fbb15d58928599f47f9754e3c401d98db3c24
[ "MIT" ]
null
null
null
app/migrations/0010_auto_20160905_1134.py
lucashanke/houseofdota
c83fbb15d58928599f47f9754e3c401d98db3c24
[ "MIT" ]
2
2016-08-05T11:04:24.000Z
2018-11-20T21:03:04.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2016-09-05 11:34 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('app', '0009_heroesstatistics_counter_pick'), ] opera...
35.617647
162
0.604459
118
1,211
6.042373
0.542373
0.089762
0.129032
0.134642
0.168303
0.098177
0
0
0
0
0
0.03125
0.260116
1,211
33
163
36.69697
0.764509
0.0545
0
0.076923
1
0
0.169877
0.029772
0
0
0
0
0
1
0
false
0
0.115385
0
0.230769
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
eae24c674200229d65c4847726dce58b03029f06
6,248
py
Python
scripts-from-suplementary-material-to-original-paper/analyze_crystal_fluctuations.py
khinsen/rescience-ten-year-challenge-paper-3
2113d0b0c8126f8002c0310733a060cf424b181c
[ "CC-BY-4.0" ]
null
null
null
scripts-from-suplementary-material-to-original-paper/analyze_crystal_fluctuations.py
khinsen/rescience-ten-year-challenge-paper-3
2113d0b0c8126f8002c0310733a060cf424b181c
[ "CC-BY-4.0" ]
null
null
null
scripts-from-suplementary-material-to-original-paper/analyze_crystal_fluctuations.py
khinsen/rescience-ten-year-challenge-paper-3
2113d0b0c8126f8002c0310733a060cf424b181c
[ "CC-BY-4.0" ]
null
null
null
# Analyze the atomic fluctuations in a protein crystal. # # This program reads a netCDF file produced by the script # calculate_crystal_fluctuations.py. # # # User-definable parameters # # The PDB code used in calculate_crystal_fluctuations.py. pdb_code = '1IEE' # The name of the PDB file to be read. This must be th...
34.32967
79
0.652369
1,048
6,248
3.717557
0.239504
0.011294
0.020021
0.011294
0.206109
0.180441
0.154261
0.135267
0.135267
0.12654
0
0.024787
0.212228
6,248
181
80
34.519337
0.766761
0.251761
0
0.083333
0
0
0.098103
0.068133
0
0
0
0
0
0
null
null
0
0.05
null
null
0.008333
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
eae5071a6543e2828d149f3a7d8b15ac46fcc575
4,759
py
Python
tests/test_methods.py
manu3618/legendary-potato
66b75c054c10c39c273f204dc81e1b2681dbb1dc
[ "MIT" ]
null
null
null
tests/test_methods.py
manu3618/legendary-potato
66b75c054c10c39c273f204dc81e1b2681dbb1dc
[ "MIT" ]
null
null
null
tests/test_methods.py
manu3618/legendary-potato
66b75c054c10c39c273f204dc81e1b2681dbb1dc
[ "MIT" ]
null
null
null
# coding: utf-8 import os from contextlib import suppress from itertools import product import numpy as np import pandas as pd import pytest import yaml import legendary_potato.composition import legendary_potato.kernel from legendary_potato.methods import KernelMethod from .common import TEST_PATH, kernel_sample_it...
31.726667
78
0.646985
641
4,759
4.664587
0.263651
0.044147
0.04214
0.02709
0.286622
0.23612
0.209365
0.209365
0.191639
0.191639
0
0.006322
0.235554
4,759
149
79
31.939597
0.815558
0.1473
0
0.183673
0
0
0.023833
0
0
0
0
0.013423
0.091837
1
0.071429
false
0.010204
0.112245
0
0.193878
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
eaf490403ccfa9615ebd17054718662b2a996449
1,301
py
Python
authentik/providers/ldap/migrations/0001_initial.py
BeryJu/passbook
350f0d836580f4411524614f361a76c4f27b8a2d
[ "MIT" ]
15
2020-01-05T09:09:57.000Z
2020-11-28T05:27:39.000Z
authentik/providers/ldap/migrations/0001_initial.py
BeryJu/passbook
350f0d836580f4411524614f361a76c4f27b8a2d
[ "MIT" ]
302
2020-01-21T08:03:59.000Z
2020-12-04T05:04:57.000Z
authentik/providers/ldap/migrations/0001_initial.py
BeryJu/passbook
350f0d836580f4411524614f361a76c4f27b8a2d
[ "MIT" ]
3
2020-03-04T08:21:59.000Z
2020-08-01T20:37:18.000Z
# Generated by Django 3.2 on 2021-04-26 12:45 import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ("authentik_core", "0019_source_managed"), ] operations = [ migrations.CreateModel( ...
28.911111
75
0.448885
101
1,301
5.633663
0.663366
0.042179
0.049209
0.077329
0
0
0
0
0
0
0
0.025605
0.459646
1,301
44
76
29.568182
0.783784
0.033052
0
0.135135
1
0
0.186306
0.058917
0
0
0
0
0
1
0
false
0
0.054054
0
0.162162
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
eaf6f143256fb1946880f7970bcdb5ea5ac900e2
10,689
py
Python
amcat4annotator/rules.py
ccs-amsterdam/amcat4annotator-backend
fd9ce3eee6e358317588d1d5cdd5c27468041c21
[ "MIT" ]
null
null
null
amcat4annotator/rules.py
ccs-amsterdam/amcat4annotator-backend
fd9ce3eee6e358317588d1d5cdd5c27468041c21
[ "MIT" ]
1
2021-10-13T14:33:30.000Z
2021-10-13T14:33:30.000Z
amcat4annotator/rules.py
ccs-amsterdam/amcat4annotator-backend
fd9ce3eee6e358317588d1d5cdd5c27468041c21
[ "MIT" ]
null
null
null
from typing import Optional, Tuple from sqlalchemy.orm import Session from sqlalchemy import func from amcat4annotator.models import Unit, User, Annotation, CodingJob, JobSetUnits from amcat4annotator.crud import crud_codingjob class ValidationError(Exception): pass class RuleSet: """ A Rule set encodes...
41.27027
191
0.646459
1,503
10,689
4.470393
0.15835
0.026194
0.048073
0.059384
0.436672
0.397678
0.330406
0.309272
0.236642
0.226968
0
0.001637
0.2569
10,689
258
192
41.430233
0.844265
0.27954
0
0.315789
0
0
0.020199
0
0
0
0
0
0
1
0.180451
false
0.015038
0.037594
0.007519
0.511278
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
d80092d095d896207b8de8427a1eb3feb121ec1f
4,319
py
Python
demo/src/main/jython/jtkdemo/dsp/BandPassFilterDemo.py
wmheigl/jtk
ca8291d93d26c48390ecbadddb5025dfde9d5cde
[ "Apache-2.0" ]
54
2015-01-11T19:18:08.000Z
2022-01-24T21:04:54.000Z
demo/src/main/jython/jtkdemo/dsp/BandPassFilterDemo.py
xinwucwp/jtk-1
03bbcaf962885882a267411a937d92fce9cf4851
[ "Apache-2.0" ]
20
2015-06-10T18:28:48.000Z
2018-03-15T22:27:57.000Z
demo/src/main/jython/jtkdemo/dsp/BandPassFilterDemo.py
xinwucwp/jtk-1
03bbcaf962885882a267411a937d92fce9cf4851
[ "Apache-2.0" ]
44
2015-01-20T13:38:42.000Z
2021-08-18T08:42:32.000Z
#/**************************************************************************** # Copyright 2010, Colorado School of Mines and others. # 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 # # htt...
27.163522
78
0.64251
653
4,319
4.245023
0.280245
0.012266
0.008658
0.032468
0.52886
0.457431
0.40873
0.376623
0.340548
0.326118
0
0.057609
0.147951
4,319
158
79
27.335443
0.695652
0.208845
0
0.560976
0
0
0.053329
0
0
0
0
0
0
0
null
null
0.04878
0.073171
null
null
0.04878
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
d80372df54bc81f73df685bc74deb5d91c5233e4
792
py
Python
app/__init__.py
ivxxi/blog
a7018ae11a7c09d17962f8f34c257fe464c05a0b
[ "MIT" ]
null
null
null
app/__init__.py
ivxxi/blog
a7018ae11a7c09d17962f8f34c257fe464c05a0b
[ "MIT" ]
null
null
null
app/__init__.py
ivxxi/blog
a7018ae11a7c09d17962f8f34c257fe464c05a0b
[ "MIT" ]
null
null
null
from flask import Flask from flask_sqlalchemy import SQLAlchemy from flask_migrate import Migrate from flask_login import LoginManager from config import config_options from flask_bootstrap import Bootstrap db = SQLAlchemy() migrate = Migrate() login = LoginManager() login.login_view = 'auth.login' login.login_message...
24
62
0.771465
110
792
5.318182
0.309091
0.076923
0.051282
0.099145
0
0
0
0
0
0
0
0
0.155303
792
32
63
24.75
0.874439
0
0
0
0
0
0.061869
0
0
0
0
0
0
1
0.043478
false
0
0.347826
0
0.434783
0.173913
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
d80be533d394218a7fce59465c3ec36fd74323d4
3,166
py
Python
kpcaWithTreeFS/mnistBackImage/mnistIMAGE_withoutFS.py
akhilpm/Masters-Project
cc10673e695cbc0531f6268d729760705890a116
[ "MIT" ]
null
null
null
kpcaWithTreeFS/mnistBackImage/mnistIMAGE_withoutFS.py
akhilpm/Masters-Project
cc10673e695cbc0531f6268d729760705890a116
[ "MIT" ]
null
null
null
kpcaWithTreeFS/mnistBackImage/mnistIMAGE_withoutFS.py
akhilpm/Masters-Project
cc10673e695cbc0531f6268d729760705890a116
[ "MIT" ]
null
null
null
''' KPCA based feature engineering for MNIST-RAND handwritten digits classification Author : Akhil P M Kernel used : Arc-cosine Kernel ''' from settings import * import kernel from sklearn.neighbors import KNeighborsClassifier def compute_J(N, theta): if N == 0: return np.pi - theta elif N == 1: return np.sin...
26.605042
111
0.674668
543
3,166
3.834254
0.274401
0.034582
0.028818
0.018732
0.04611
0.032661
0
0
0
0
0
0.035581
0.156665
3,166
118
112
26.830508
0.744195
0.072331
0
0.027027
0
0
0.057791
0
0
0
0
0
0
0
null
null
0
0.040541
null
null
0.067568
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
d80c4d6b5aa4cfa255fa3cd24107a1f699a9370a
282
py
Python
PythonExercicios/Mundo 2/8_estrutura_de_repeticao_for/ex051.py
GuilhermoCampos/Curso-Python3-curso-em-video
723767bc6069e9c1fa9e28fe412e694f9eb8d05e
[ "MIT" ]
null
null
null
PythonExercicios/Mundo 2/8_estrutura_de_repeticao_for/ex051.py
GuilhermoCampos/Curso-Python3-curso-em-video
723767bc6069e9c1fa9e28fe412e694f9eb8d05e
[ "MIT" ]
null
null
null
PythonExercicios/Mundo 2/8_estrutura_de_repeticao_for/ex051.py
GuilhermoCampos/Curso-Python3-curso-em-video
723767bc6069e9c1fa9e28fe412e694f9eb8d05e
[ "MIT" ]
null
null
null
print('{}\n {:^25}\n {}\n'.format('='*25, '10 TERMOS DE UMA PA', '='*25), end=' ') primeiro = int(input('Primeiro Termo: ')) razao = int(input(' Razão: ')) acumulador = 0 for c in range(0, 10): print(primeiro + acumulador, '=> ', end='') acumulador += razao print('ACABOU')
31.333333
82
0.574468
39
282
4.153846
0.589744
0.098765
0
0
0
0
0
0
0
0
0
0.051064
0.166667
282
8
83
35.25
0.638298
0
0
0
0
0
0.258865
0
0
0
0
0
0
1
0
false
0
0
0
0
0.375
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