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
20ab84447435a398ce0b773d1c81b9b26e46b05f
22
py
Python
tests/__init__.py
Lokaltog/axis
f602ef8089ed0332317274e0433f4ede75109533
[ "MIT" ]
16
2018-05-29T20:07:04.000Z
2022-01-27T14:15:16.000Z
tests/__init__.py
Lokaltog/axis
f602ef8089ed0332317274e0433f4ede75109533
[ "MIT" ]
27
2017-11-05T12:14:17.000Z
2022-02-07T08:07:48.000Z
tests/__init__.py
Lokaltog/axis
f602ef8089ed0332317274e0433f4ede75109533
[ "MIT" ]
6
2019-10-03T07:59:49.000Z
2021-07-18T16:57:28.000Z
"""Tests for Axis."""
11
21
0.545455
3
22
4
1
0
0
0
0
0
0
0
0
0
0
0
0.136364
22
1
22
22
0.631579
0.681818
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
20c9733103a4aade6d17a1d2918920d52c4be9d2
360
py
Python
py/query_parsers/getUserDB.py
rSimulate/Cosmosium
f2489862b9b747458a6be9b884c9de75bd6eb3d2
[ "CC-BY-4.0" ]
18
2015-01-02T05:22:43.000Z
2021-11-12T12:11:12.000Z
py/query_parsers/getUserDB.py
rSimulate/Cosmosium
f2489862b9b747458a6be9b884c9de75bd6eb3d2
[ "CC-BY-4.0" ]
3
2015-07-14T19:11:54.000Z
2018-09-17T19:09:52.000Z
py/query_parsers/getUserDB.py
rSimulate/Cosmosium
f2489862b9b747458a6be9b884c9de75bd6eb3d2
[ "CC-BY-4.0" ]
4
2016-02-24T05:19:07.000Z
2022-02-15T17:36:37.000Z
from py.game_logic.user.User import User import pymongo def createUser(name, icon, agency, subtext ): use = User() use.setProfileInfo(name,icon,agency,subtext) return use def getProfile(userName): return createUser(str(db.test_user.find_one({"user":userName},{"user": 1,"_id":0})),'/img/profiles/mart...
20
141
0.713889
51
360
4.921569
0.647059
0.079681
0.111554
0.167331
0
0
0
0
0
0
0
0.009554
0.127778
360
17
142
21.176471
0.789809
0
0
0
0
0
0.160112
0.070225
0
0
0
0
0
1
0.25
false
0
0.25
0.125
0.75
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
45961bd373ef84861ae0f8e0364c17b13ad6ce2c
5,538
py
Python
es1/missionaries_and_cannibals_prob.py
biromiro/feup-iart
aa2c8eb4fc31401ac40c9a0b87f4ac9b74dd0904
[ "MIT" ]
null
null
null
es1/missionaries_and_cannibals_prob.py
biromiro/feup-iart
aa2c8eb4fc31401ac40c9a0b87f4ac9b74dd0904
[ "MIT" ]
null
null
null
es1/missionaries_and_cannibals_prob.py
biromiro/feup-iart
aa2c8eb4fc31401ac40c9a0b87f4ac9b74dd0904
[ "MIT" ]
null
null
null
""" a) State Representation: (miss_a, cann_a, miss_b, cann_b, side) Initial State: (3, 3, 0, 0, A) For every state: miss_a >= cann_a && miss_b >= cann_b on result state Operators: (miss_a, cann_a, miss_b, cann_b, A) -> (miss_a - 1, cann_a, miss_b + 1, cann_b, B) (miss_a, cann_a, miss_b, cann_b, A) -> (miss...
57.6875
177
0.630914
863
5,538
3.774044
0.077636
0.081363
0.069082
0.058336
0.737488
0.724593
0.719374
0.719374
0.689285
0.688978
0
0.021996
0.236547
5,538
95
178
58.294737
0.748344
0.22138
0
0.037037
0
0.037037
0.042761
0
0
0
0
0
0
1
0.12963
false
0
0.018519
0.055556
0.296296
0.055556
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
45ad29e55db5c4aa7310627ba31608cc4e0f943d
16,703
py
Python
gen.py
GBLin5566/An-Automated-Traditional-Chinese-Dialogue-Generating-System
3f6d0e3b52602eee1eb97c943cb806508f8647bb
[ "MIT" ]
4
2018-01-22T01:48:10.000Z
2021-11-19T06:45:23.000Z
gen.py
GBLin5566/An-Automated-Traditional-Chinese-Dialogue-Generating-System
3f6d0e3b52602eee1eb97c943cb806508f8647bb
[ "MIT" ]
1
2019-03-14T05:57:11.000Z
2019-03-14T17:08:59.000Z
gen.py
GBLin5566/An-Automated-Traditional-Chinese-Dialogue-Generating-System
3f6d0e3b52602eee1eb97c943cb806508f8647bb
[ "MIT" ]
10
2017-07-22T09:33:05.000Z
2020-01-14T09:57:57.000Z
# -*- coding: utf-8 -*- """Generator for model""" from __future__ import absolute_import from __future__ import division from __future__ import print_function from builtins import range import argparse import os import sys import random import pickle from math import exp import torch from torch.autograd import Variab...
48.414493
110
0.565108
1,861
16,703
4.853842
0.117141
0.046275
0.021255
0.026569
0.74571
0.718255
0.702646
0.689915
0.654046
0.648068
0
0.022274
0.336107
16,703
344
111
48.555233
0.792317
0.046339
0
0.706667
0
0
0.047931
0
0
0
0
0
0
1
0.01
false
0
0.06
0
0.076667
0.026667
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
45bcd814349ab20a5e5a56fdb877d35f210e45a3
143
py
Python
python/twisted/webservers/webecho.py
drichardson/examples
89cd96741f6110729138f5c904317dd1a42f63ff
[ "Unlicense" ]
33
2015-04-21T20:10:42.000Z
2021-09-28T05:54:37.000Z
python/twisted/webservers/webecho.py
drichardson/examples
d8b285db4ad1cfd9a92091deab2eb385748f97c8
[ "Unlicense" ]
1
2020-03-15T18:54:19.000Z
2020-03-15T18:54:19.000Z
python/twisted/webservers/webecho.py
drichardson/examples
89cd96741f6110729138f5c904317dd1a42f63ff
[ "Unlicense" ]
19
2015-01-09T13:39:06.000Z
2021-09-15T05:39:33.000Z
from twisted.protocols import basic from twisted.internet import protocol, reactor class HttpEchoProtocol(basic.LineReceiver): def __init__
23.833333
46
0.839161
17
143
6.823529
0.764706
0.189655
0
0
0
0
0
0
0
0
0
0
0.111888
143
6
47
23.833333
0.913386
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.5
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
4
45e35e23f938edff8f5d7293af864aaef9b819ec
428
py
Python
TAKfreeServer/Controllers/ManageRacacatPinController.py
tma5/FreeTakServer
794eee7cc0086d5d54193b2033fab2396b90b0e2
[ "MIT" ]
null
null
null
TAKfreeServer/Controllers/ManageRacacatPinController.py
tma5/FreeTakServer
794eee7cc0086d5d54193b2033fab2396b90b0e2
[ "MIT" ]
null
null
null
TAKfreeServer/Controllers/ManageRacacatPinController.py
tma5/FreeTakServer
794eee7cc0086d5d54193b2033fab2396b90b0e2
[ "MIT" ]
null
null
null
####################################################### # # ManageRacacatPinController.py # Python implementation of the Class ManageRacacatPinController # Generated by Enterprise Architect # Created on: 15-Apr-2020 4:57:23 PM # Original author: Giu Platania # ############################################...
28.533333
64
0.542056
33
428
6.909091
0.909091
0.27193
0
0
0
0
0
0
0
0
0
0.030471
0.156542
428
15
65
28.533333
0.601108
0.553738
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
4
afd8a613791837c973da5e45512841674956397b
74
py
Python
pyecog/visualisation/pyqtgraph_examples.py
mikailweston/pyecog
9a1674ec95b63ad9aa0a2d3aedc1a74be6441446
[ "MIT" ]
10
2016-09-07T16:01:39.000Z
2019-03-26T11:14:28.000Z
pyecog/visualisation/pyqtgraph_examples.py
mikailweston/pyecog
9a1674ec95b63ad9aa0a2d3aedc1a74be6441446
[ "MIT" ]
54
2016-11-21T14:41:52.000Z
2022-03-18T08:41:11.000Z
pyecog/visualisation/pyqtgraph_examples.py
jcornford/pyecog
356439bd5e3c50fd0cd74eef90a897bd41363920
[ "MIT" ]
5
2016-10-11T14:14:44.000Z
2017-08-02T11:45:48.000Z
__author__ = 'Jonathan' import pyqtgraph.examples pyqtgraph.examples.run()
24.666667
25
0.824324
8
74
7.125
0.75
0.596491
0
0
0
0
0
0
0
0
0
0
0.067568
74
3
26
24.666667
0.826087
0
0
0
0
0
0.106667
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
afe45f3ec3e4de1290e8dc5832721a7016ffd7cd
185
py
Python
01_Language/01_Functions/python/lstat.py
cliff363825/TwentyFour
09df59bd5d275e66463e343647f46027397d1233
[ "MIT" ]
3
2020-06-28T07:42:51.000Z
2021-01-15T10:32:11.000Z
01_Language/01_Functions/python/lstat.py
cliff363825/TwentyFour
09df59bd5d275e66463e343647f46027397d1233
[ "MIT" ]
9
2021-03-10T22:45:40.000Z
2022-02-27T06:53:20.000Z
01_Language/01_Functions/python/lstat.py
cliff363825/TwentyFour
09df59bd5d275e66463e343647f46027397d1233
[ "MIT" ]
1
2021-01-15T10:51:24.000Z
2021-01-15T10:51:24.000Z
# coding: utf-8 import os def lstat(filename): return os.lstat(filename) if __name__ == '__main__': import link link.link('test.txt', 'test') print(lstat('test'))
12.333333
33
0.627027
25
185
4.32
0.64
0.240741
0
0
0
0
0
0
0
0
0
0.006897
0.216216
185
14
34
13.214286
0.737931
0.07027
0
0
0
0
0.141176
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0.142857
0.571429
0.142857
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
4
afe4ecb877a8926e390aef6b5c379edad929be8c
60
py
Python
codes/course8/b1.py
BigShuang/big-shuang-python-introductory-course
c4fd1343c4c539567180072c749b68bda7c28075
[ "MIT" ]
null
null
null
codes/course8/b1.py
BigShuang/big-shuang-python-introductory-course
c4fd1343c4c539567180072c749b68bda7c28075
[ "MIT" ]
null
null
null
codes/course8/b1.py
BigShuang/big-shuang-python-introductory-course
c4fd1343c4c539567180072c749b68bda7c28075
[ "MIT" ]
null
null
null
def show_first(word): print(word[0]) show_first("abc")
12
21
0.666667
10
60
3.8
0.7
0.473684
0
0
0
0
0
0
0
0
0
0.019608
0.15
60
4
22
15
0.72549
0
0
0
0
0
0.05
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.333333
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
affbaa242a95486d930b01ca8530dd5379aefaf1
112
py
Python
tests/staticfiles_tests/urls/helper.py
Yoann-Vie/esgi-hearthstone
115d03426c7e8e80d89883b78ac72114c29bed12
[ "PSF-2.0", "BSD-3-Clause" ]
null
null
null
tests/staticfiles_tests/urls/helper.py
Yoann-Vie/esgi-hearthstone
115d03426c7e8e80d89883b78ac72114c29bed12
[ "PSF-2.0", "BSD-3-Clause" ]
null
null
null
tests/staticfiles_tests/urls/helper.py
Yoann-Vie/esgi-hearthstone
115d03426c7e8e80d89883b78ac72114c29bed12
[ "PSF-2.0", "BSD-3-Clause" ]
null
null
null
from django.contrib.staticfiles.urls import staticfiles_urlpatterns urlpatterns = staticfiles_urlpatterns()
28
68
0.848214
11
112
8.454545
0.636364
0.473118
0
0
0
0
0
0
0
0
0
0
0.098214
112
3
69
37.333333
0.920792
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
affc461046eca19aed3bccc1303c15af9277b607
91
py
Python
exporter/licences/apps.py
django-doctor/lite-frontend
330ff9575fd22d7c4c42698ac2d653244e6180d6
[ "MIT" ]
3
2019-05-31T06:36:17.000Z
2020-02-12T16:02:24.000Z
exporter/licences/apps.py
django-doctor/lite-frontend
330ff9575fd22d7c4c42698ac2d653244e6180d6
[ "MIT" ]
45
2020-08-11T14:37:46.000Z
2022-03-29T17:03:02.000Z
exporter/licences/apps.py
django-doctor/lite-frontend
330ff9575fd22d7c4c42698ac2d653244e6180d6
[ "MIT" ]
3
2021-02-01T06:26:19.000Z
2022-02-21T23:02:46.000Z
from django.apps import AppConfig class LicencesConfig(AppConfig): name = "licences"
15.166667
33
0.758242
10
91
6.9
0.9
0
0
0
0
0
0
0
0
0
0
0
0.164835
91
5
34
18.2
0.907895
0
0
0
0
0
0.087912
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
b3063521480cd9ee62ab2278f339090fde15af1c
194
py
Python
telegram_bot/telegram_commands/new_multiplayer.py
dmitrijun/wikihow_guessr_telegram
b039770f16afdb4aad7d5bc84c353be1f0e6547b
[ "MIT" ]
null
null
null
telegram_bot/telegram_commands/new_multiplayer.py
dmitrijun/wikihow_guessr_telegram
b039770f16afdb4aad7d5bc84c353be1f0e6547b
[ "MIT" ]
null
null
null
telegram_bot/telegram_commands/new_multiplayer.py
dmitrijun/wikihow_guessr_telegram
b039770f16afdb4aad7d5bc84c353be1f0e6547b
[ "MIT" ]
null
null
null
def new_multiplayer(bot, message): """ /new_multiplayer command handler """ chat_id = message.chat.id bot.send_message(chat_id=chat_id, text="Not implemented yet")
27.714286
65
0.654639
25
194
4.84
0.56
0.198347
0.214876
0
0
0
0
0
0
0
0
0
0.231959
194
7
65
27.714286
0.812081
0.164948
0
0
0
0
0.138686
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.333333
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
b30795ca001c3a2ef4e886a0818a593b541913d4
362
py
Python
awareness_detector/test/testrunner.py
hofbi/driver-awareness
c16edc6b1ed26c252959ab85bbc33fe4f5598424
[ "MIT" ]
null
null
null
awareness_detector/test/testrunner.py
hofbi/driver-awareness
c16edc6b1ed26c252959ab85bbc33fe4f5598424
[ "MIT" ]
null
null
null
awareness_detector/test/testrunner.py
hofbi/driver-awareness
c16edc6b1ed26c252959ab85bbc33fe4f5598424
[ "MIT" ]
1
2022-02-04T11:53:29.000Z
2022-02-04T11:53:29.000Z
"""Awareness Detector Test Runner""" import rosunit if __name__ == "__main__": rosunit.unitrun( "awareness_detector", "test_geometry", "test.test_geometry.GeometryTestSuite" ) rosunit.unitrun("awareness_detector", "test_sa", "test.test_sa.SATestSuite") rosunit.unitrun("awareness_detector", "te...
32.909091
86
0.732044
39
362
6.358974
0.410256
0.274194
0.33871
0.375
0.423387
0
0
0
0
0
0
0
0.129834
362
10
87
36.2
0.787302
0.082873
0
0
0
0
0.54908
0.269939
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
b34a5c0666ed2308230a4db560b7bf539fac5fac
126
py
Python
detection/models/bbox_heads/__init__.py
HirataYurina/cascade-rcnn-tf2.2
f756b811ab31c9dab2a8f8afe68f46465422f64b
[ "MIT" ]
1
2021-08-12T06:51:29.000Z
2021-08-12T06:51:29.000Z
detection/models/necks/__init__.py
HirataYurina/cascade-rcnn-tf2.2
f756b811ab31c9dab2a8f8afe68f46465422f64b
[ "MIT" ]
3
2021-04-05T08:04:39.000Z
2021-11-12T19:16:26.000Z
detection/models/detectors/__init__.py
HirataYurina/cascade-rcnn-tf2.2
f756b811ab31c9dab2a8f8afe68f46465422f64b
[ "MIT" ]
1
2021-09-06T06:05:31.000Z
2021-09-06T06:05:31.000Z
# -*- coding:utf-8 -*- # author:栗山未来ii # e-mail:1353593259@qq.com # datetime:1993/12/01 # filename:aaa.py # software: PyCharm
18
26
0.68254
19
126
4.526316
1
0
0
0
0
0
0
0
0
0
0
0.171171
0.119048
126
6
27
21
0.603604
0.896825
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
b35c7b0b6971ac88d14adf53ebe1e173083e1c1b
3,378
py
Python
app/tables.py
knmueller/golf-scoring
918af0d589ac9b7b5362c7d336dc8889f0f5369f
[ "MIT" ]
null
null
null
app/tables.py
knmueller/golf-scoring
918af0d589ac9b7b5362c7d336dc8889f0f5369f
[ "MIT" ]
null
null
null
app/tables.py
knmueller/golf-scoring
918af0d589ac9b7b5362c7d336dc8889f0f5369f
[ "MIT" ]
null
null
null
from flask_table import Table, Col # used for front, back, total class PlayerScoreTable(Table): classes = ['scoring_table', 'inline_table'] name = Col('Name', td_html_attrs={'class': 'table__cell'}, th_html_attrs={'class': 'table__cell'}) # player name gross_score = Col('Gross Score', td_html_attrs={'cla...
35.93617
129
0.664298
467
3,378
4.379015
0.152034
0.136919
0.136919
0.185819
0.688509
0.643032
0.575061
0.543765
0.511491
0.511491
0
0.010302
0.195382
3,378
93
130
36.322581
0.74209
0.105388
0
0.5
0
0
0.197609
0
0
0
0
0
0
1
0.233333
false
0
0.016667
0.15
0.766667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
b35e1d223b2984b70d9b5b506c46ef3279313d6c
658
py
Python
python/lru_cache.py
robotlightsyou/test
015f13943fc402d8ce86c5f6d2f5a7d032b3340a
[ "MIT" ]
2
2019-05-26T15:09:34.000Z
2021-09-12T08:01:23.000Z
python/lru_cache.py
robotlightsyou/test
015f13943fc402d8ce86c5f6d2f5a7d032b3340a
[ "MIT" ]
null
null
null
python/lru_cache.py
robotlightsyou/test
015f13943fc402d8ce86c5f6d2f5a7d032b3340a
[ "MIT" ]
1
2021-04-11T20:28:21.000Z
2021-04-11T20:28:21.000Z
import functools if False: @functools.lru_cache() def foo(): print('here!') return 1 print(foo()) print(foo()) @functools.lru_cache() def bar(test=None): print('bar!', test) return (2, test) print(bar()) print(bar(1)) print(bar()) print(bar(...
14
31
0.545593
90
658
3.9
0.244444
0.205128
0.193732
0.17094
0.458689
0.099715
0
0
0
0
0
0.01875
0.270517
658
46
32
14.304348
0.7125
0.080547
0
0.533333
0
0
0.026667
0
0
0
0
0
0
1
0.133333
false
0
0.033333
0
0.3
0.466667
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
6412b871ee292e5c7effe0f7cc823b3428b982f0
138
py
Python
class_import.py
shreya-n-kumari/python
2462cf01891770b078815f9925f37842aaec7b91
[ "MIT" ]
null
null
null
class_import.py
shreya-n-kumari/python
2462cf01891770b078815f9925f37842aaec7b91
[ "MIT" ]
null
null
null
class_import.py
shreya-n-kumari/python
2462cf01891770b078815f9925f37842aaec7b91
[ "MIT" ]
null
null
null
from class_car import ElectricCar Tesla = ElectricCar('tesla','model s',2016) print(Tesla.get_name()) print(Tesla.describe_battery())
27.6
44
0.76087
19
138
5.368421
0.736842
0.313725
0
0
0
0
0
0
0
0
0
0.032258
0.101449
138
5
45
27.6
0.790323
0
0
0
0
0
0.088889
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.5
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
642226b977cfb58d17f615a36c7716e2a62fef7a
194
py
Python
global.py
joshavenue/python_notebook
8d46ba88ef4f05dea6801364bc134edb981df02e
[ "Unlicense" ]
null
null
null
global.py
joshavenue/python_notebook
8d46ba88ef4f05dea6801364bc134edb981df02e
[ "Unlicense" ]
null
null
null
global.py
joshavenue/python_notebook
8d46ba88ef4f05dea6801364bc134edb981df02e
[ "Unlicense" ]
null
null
null
count = 0 # A global count variable def remember(): global count count += 1 # Count this invocation print(str(count)) remember() remember() remember() remember() remember()
13.857143
40
0.649485
23
194
5.478261
0.521739
0.507937
0.571429
0.507937
0
0
0
0
0
0
0
0.013514
0.237113
194
13
41
14.923077
0.837838
0.231959
0
0.5
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0
0
0.1
0.1
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
6430efc0ee5b20cdc1053234ee3892e51ba21c13
1,085
py
Python
test/test_phones.py
Ksusha2626/Python_test
c4381067bbb9c23472540092532c00a62b2b727a
[ "Apache-2.0" ]
null
null
null
test/test_phones.py
Ksusha2626/Python_test
c4381067bbb9c23472540092532c00a62b2b727a
[ "Apache-2.0" ]
null
null
null
test/test_phones.py
Ksusha2626/Python_test
c4381067bbb9c23472540092532c00a62b2b727a
[ "Apache-2.0" ]
null
null
null
import re def test_phones_on_home_page(app): contact_from_home_page = app.contact.get_contact_list()[0] contact_from_edit_page = app.contact.get_contact_info_from_edit_page(0) assert contact_from_home_page.all_phones_from_home_page == merge_phones_on_home_page(contact_from_edit_page) def test_phones_on_...
40.185185
112
0.719816
165
1,085
4.236364
0.218182
0.204578
0.137339
0.16309
0.546495
0.37196
0.211731
0.211731
0.211731
0.211731
0
0.004561
0.191705
1,085
26
113
41.730769
0.792474
0
0
0.111111
0
0
0.007373
0
0
0
0
0
0.222222
1
0.222222
false
0
0.055556
0.111111
0.388889
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
4
643a6847786b774658b31938f6750313888df672
138
py
Python
tests/test_resizers.py
ESA-PhiLab/eo4dl
1d82ca5835053aa6839164d563ffb1e56fba300c
[ "MIT" ]
22
2019-10-21T07:25:45.000Z
2022-03-20T10:35:17.000Z
tests/test_resizers.py
ESA-PhiLab/eo4dl
1d82ca5835053aa6839164d563ffb1e56fba300c
[ "MIT" ]
5
2019-10-28T13:30:12.000Z
2021-05-18T12:14:38.000Z
tests/test_resizers.py
ESA-PhiLab/eo4dl
1d82ca5835053aa6839164d563ffb1e56fba300c
[ "MIT" ]
3
2019-10-22T09:09:08.000Z
2020-02-12T05:27:05.000Z
# import numpy as np # import pytest # # from eo4ai.utils import resizers # # # def test_BandsMaskResizer(all_dummy_datasets): # pass
15.333333
48
0.731884
18
138
5.444444
0.888889
0
0
0
0
0
0
0
0
0
0
0.00885
0.181159
138
8
49
17.25
0.858407
0.876812
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
ff430c0e7b2de4b6addedddc46852d2b10405d0a
51
py
Python
tests/components/garages_amsterdam/__init__.py
MrDelik/core
93a66cc357b226389967668441000498a10453bb
[ "Apache-2.0" ]
30,023
2016-04-13T10:17:53.000Z
2020-03-02T12:56:31.000Z
tests/components/garages_amsterdam/__init__.py
MrDelik/core
93a66cc357b226389967668441000498a10453bb
[ "Apache-2.0" ]
31,101
2020-03-02T13:00:16.000Z
2022-03-31T23:57:36.000Z
tests/components/garages_amsterdam/__init__.py
Vaarlion/core
f3de8b9f28de01abf72c0f5bb0b457eb1841f201
[ "Apache-2.0" ]
11,956
2016-04-13T18:42:31.000Z
2020-03-02T09:32:12.000Z
"""Tests for the Garages Amsterdam integration."""
25.5
50
0.745098
6
51
6.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.117647
51
1
51
51
0.844444
0.862745
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
ff45614c8047c94e1aa076f07f77b599227475ea
243
py
Python
language_demos/input_output.py
t4d-classes/python_03222021_morning
9759293a2c3291baa4c50ec6b982e23532fc0e57
[ "MIT" ]
null
null
null
language_demos/input_output.py
t4d-classes/python_03222021_morning
9759293a2c3291baa4c50ec6b982e23532fc0e57
[ "MIT" ]
null
null
null
language_demos/input_output.py
t4d-classes/python_03222021_morning
9759293a2c3291baa4c50ec6b982e23532fc0e57
[ "MIT" ]
null
null
null
first_name = input("Please enter your first name: ") print(f"Your first name is: {first_name}") print("a regular string: " + first_name) print('a regular string' + first_name) # string literal with the r prefix print(r'a regular string')
20.25
52
0.720165
39
243
4.384615
0.435897
0.315789
0.245614
0.175439
0.380117
0.380117
0.380117
0.380117
0
0
0
0
0.160494
243
11
53
22.090909
0.838235
0.131687
0
0
0
0
0.541063
0
0
0
0
0
0
1
0
false
0
0
0
0
0.8
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
ff4a2658c7d97b2030dc3a1e1999d34a9efab45e
63
py
Python
python/coffer/coins/impl/_slip173.py
Steve132/wallet_standard
09c909b24dc17cf6a0a433644d8f1912e886ab1c
[ "MIT" ]
null
null
null
python/coffer/coins/impl/_slip173.py
Steve132/wallet_standard
09c909b24dc17cf6a0a433644d8f1912e886ab1c
[ "MIT" ]
null
null
null
python/coffer/coins/impl/_slip173.py
Steve132/wallet_standard
09c909b24dc17cf6a0a433644d8f1912e886ab1c
[ "MIT" ]
null
null
null
#https://github.com/satoshilabs/slips/blob/master/slip-0173.md
31.5
62
0.793651
10
63
5
1
0
0
0
0
0
0
0
0
0
0
0.064516
0.015873
63
1
63
63
0.741935
0.968254
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
44386021172ccef0643a821d69e16e2d04943f9f
4,478
py
Python
experiments/skeleton_omission.py
Yomguithereal/fog
0b2defd7c413b55766c4368e17e1238dfc3c8b81
[ "MIT" ]
17
2018-04-26T15:37:45.000Z
2021-05-18T05:58:10.000Z
experiments/skeleton_omission.py
Yomguithereal/fog
0b2defd7c413b55766c4368e17e1238dfc3c8b81
[ "MIT" ]
29
2018-04-27T14:54:20.000Z
2021-05-27T15:30:14.000Z
experiments/skeleton_omission.py
Yomguithereal/fog
0b2defd7c413b55766c4368e17e1238dfc3c8b81
[ "MIT" ]
1
2019-11-27T18:14:49.000Z
2019-11-27T18:14:49.000Z
# Little experiments testing the recall of the skeleton and omission keys # # Note that counting the number of clusters may be erroneous but with # a low Levenshtein distance, clusters are rarely very large and this is # good enough. # import csv from Levenshtein import distance as levenshtein from fog.clustering impor...
53.309524
166
0.782269
581
4,478
5.817556
0.144578
0.05858
0.115385
0.142012
0.789645
0.734024
0.734024
0.681361
0.662722
0.646154
0
0.015218
0.090219
4,478
83
167
53.951807
0.814433
0.079276
0
0
0
0
0.184735
0.025766
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0.425
0
0
0
null
0
0
0
0
1
1
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
1
0
4
445a6a47e9d6ce719070329cce543cbcf26685ef
115
py
Python
tests/utils.py
natachabertin/nbcv-api
54a476334f167ca6896ae6ee025d3d3c5da31485
[ "MIT" ]
1
2021-03-12T21:58:12.000Z
2021-03-12T21:58:12.000Z
tests/utils.py
natachabertin/nbcv-api
54a476334f167ca6896ae6ee025d3d3c5da31485
[ "MIT" ]
null
null
null
tests/utils.py
natachabertin/nbcv-api
54a476334f167ca6896ae6ee025d3d3c5da31485
[ "MIT" ]
null
null
null
def get_the_first_id(entity, client): response = client.get(f"/{entity}/") return response.json()[0]['id']
28.75
40
0.66087
17
115
4.294118
0.705882
0
0
0
0
0
0
0
0
0
0
0.010101
0.13913
115
3
41
38.333333
0.727273
0
0
0
0
0
0.104348
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
447c2260d2f14a7f4dc1432a5325e7f2eaddbbcf
86
py
Python
dutool/__init__.py
revang/dutool
a206bad28920069e9049635e030f8479899c677c
[ "MIT" ]
null
null
null
dutool/__init__.py
revang/dutool
a206bad28920069e9049635e030f8479899c677c
[ "MIT" ]
null
null
null
dutool/__init__.py
revang/dutool
a206bad28920069e9049635e030f8479899c677c
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding:utf-8 -*- from .models import * from .db import *
14.333333
22
0.616279
13
86
4.076923
0.846154
0
0
0
0
0
0
0
0
0
0
0.014085
0.174419
86
5
23
17.2
0.732394
0.476744
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
44938982d57f29c46d56536b5d981cedaa51dbf5
7,973
py
Python
s3/replication/manager/tests/system/test_subscribers_resource.py
rajkumarpatel2602/cortx-multisite
7557b27f72e4a3b5de98fa123ef46ef18a76aa85
[ "Apache-2.0" ]
1
2022-01-13T12:26:30.000Z
2022-01-13T12:26:30.000Z
s3/replication/manager/tests/system/test_subscribers_resource.py
rajkumarpatel2602/cortx-multisite
7557b27f72e4a3b5de98fa123ef46ef18a76aa85
[ "Apache-2.0" ]
null
null
null
s3/replication/manager/tests/system/test_subscribers_resource.py
rajkumarpatel2602/cortx-multisite
7557b27f72e4a3b5de98fa123ef46ef18a76aa85
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # # Copyright (c) 2021 Seagate Technology LLC and/or its Affiliates # # 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 #...
39.865
77
0.625862
844
7,973
5.719194
0.187204
0.068365
0.085768
0.053864
0.752641
0.74912
0.712451
0.695049
0.683862
0.683862
0
0.008328
0.27706
7,973
199
78
40.065327
0.829112
0.123542
0
0.728682
0
0
0.20905
0.01276
0
0
0
0
0.077519
1
0
false
0
0.023256
0
0.023256
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
925348e0943141cd8864bde91a13f0a3729370f9
132
py
Python
Python3.x/Python3.x-1-high/102_socket.py
mrxuyong/Python-dev
8ae4c668a458819a60e39f3e231159afcceb97ee
[ "MIT" ]
null
null
null
Python3.x/Python3.x-1-high/102_socket.py
mrxuyong/Python-dev
8ae4c668a458819a60e39f3e231159afcceb97ee
[ "MIT" ]
null
null
null
Python3.x/Python3.x-1-high/102_socket.py
mrxuyong/Python-dev
8ae4c668a458819a60e39f3e231159afcceb97ee
[ "MIT" ]
null
null
null
# -*- coding: UTF-8 -*- # @author: xuyong # @file: 102_socket.py # @time: 2017/2/27 下午3:00 # @desc: import socket import sys
8.8
25
0.598485
20
132
3.9
0.9
0
0
0
0
0
0
0
0
0
0
0.134615
0.212121
132
14
26
9.428571
0.615385
0.674242
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
9256e80f9b90908960d838ec55638d2369e6919c
187
py
Python
images/events/thumbs/imagelist.py
rcastro2/CPWDCTE
91790bc4e1011158ec55c1c9cc60d652618c52f5
[ "MIT" ]
null
null
null
images/events/thumbs/imagelist.py
rcastro2/CPWDCTE
91790bc4e1011158ec55c1c9cc60d652618c52f5
[ "MIT" ]
null
null
null
images/events/thumbs/imagelist.py
rcastro2/CPWDCTE
91790bc4e1011158ec55c1c9cc60d652618c52f5
[ "MIT" ]
null
null
null
import os open("images.js", 'w').write("var thumbs = [" + ',\n'.join(["'images/events/thumbs/%s'"%file for file in os.listdir(os.getcwd()) if file.lower().endswith(".jpg") ]) + "]")
46.75
171
0.593583
28
187
3.964286
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.122995
187
3
172
62.333333
0.676829
0
0
0
0
0
0.304813
0.13369
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
926d877bab92ea07718322e911663df00e1fd712
25
py
Python
sphinx_astropy/__init__.py
wtbarnes/sphinx-astropy
85e3f541b6331403c84421abf1c920a9869cacb6
[ "BSD-3-Clause" ]
null
null
null
sphinx_astropy/__init__.py
wtbarnes/sphinx-astropy
85e3f541b6331403c84421abf1c920a9869cacb6
[ "BSD-3-Clause" ]
null
null
null
sphinx_astropy/__init__.py
wtbarnes/sphinx-astropy
85e3f541b6331403c84421abf1c920a9869cacb6
[ "BSD-3-Clause" ]
null
null
null
__version__ = '1.4.dev0'
12.5
24
0.68
4
25
3.25
1
0
0
0
0
0
0
0
0
0
0
0.136364
0.12
25
1
25
25
0.454545
0
0
0
0
0
0.32
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
927752876b3b5a52a54af328e8089604271da99b
110
py
Python
rdmo/system_integration/apps.py
hkrock/rdmo
80bbd3b5749f48a918e9aa4549a96479bf665b93
[ "Apache-2.0" ]
null
null
null
rdmo/system_integration/apps.py
hkrock/rdmo
80bbd3b5749f48a918e9aa4549a96479bf665b93
[ "Apache-2.0" ]
null
null
null
rdmo/system_integration/apps.py
hkrock/rdmo
80bbd3b5749f48a918e9aa4549a96479bf665b93
[ "Apache-2.0" ]
null
null
null
from django.apps import AppConfig class SystemIntegrationConfig(AppConfig): name = 'system_integration'
18.333333
41
0.8
11
110
7.909091
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.136364
110
5
42
22
0.915789
0
0
0
0
0
0.163636
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
92ba3e6332068aef35d6f0ece18ee03d900b32a3
211
py
Python
20-internationalization-i18n/instance/settings.py
quietcoolwu/docker_flask_app
4a020fa6683ca156b8ff350cf0991db516984ac5
[ "MIT" ]
null
null
null
20-internationalization-i18n/instance/settings.py
quietcoolwu/docker_flask_app
4a020fa6683ca156b8ff350cf0991db516984ac5
[ "MIT" ]
null
null
null
20-internationalization-i18n/instance/settings.py
quietcoolwu/docker_flask_app
4a020fa6683ca156b8ff350cf0991db516984ac5
[ "MIT" ]
null
null
null
MAIL_USERNAME = 'buildasaasappwithflask@gmail.com' MAIL_PASSWORD = 'helicopterpantswalrusfoot' STRIPE_SECRET_KEY = 'sk_test_nycOOQdO9C16zxubr2WWtbug' STRIPE_PUBLISHABLE_KEY = 'pk_test_ClU5mzNj1YxRRnrdZB5jEO29'
35.166667
59
0.872038
20
211
8.7
0.8
0
0
0
0
0
0
0
0
0
0
0.045455
0.061611
211
5
60
42.2
0.833333
0
0
0
0
0
0.57346
0.57346
0
0
0
0
0
1
0
false
0.25
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
4
2b8d4517f66a5e3b82803b5014e9dbacf0917639
1,285
py
Python
docs/examples/query_params.py
jsandovalc/treq
72b7b5e67b4517dba6fad138e03a072656c4521a
[ "MIT" ]
4
2016-12-17T09:40:59.000Z
2020-05-19T19:49:42.000Z
docs/examples/query_params.py
jsandovalc/treq
72b7b5e67b4517dba6fad138e03a072656c4521a
[ "MIT" ]
null
null
null
docs/examples/query_params.py
jsandovalc/treq
72b7b5e67b4517dba6fad138e03a072656c4521a
[ "MIT" ]
1
2020-11-05T15:58:42.000Z
2020-11-05T15:58:42.000Z
import asyncio import json from _utils import print_response import aiorequests @asyncio.coroutine def main(): print('List of tuples') resp = yield from aiorequests.get('http://httpbin.org/get', params=[('foo', 'bar'), ('baz', 'bax')]) content = yield from resp.text(...
31.341463
78
0.585214
149
1,285
5.006711
0.275168
0.120643
0.087131
0.160858
0.727882
0.727882
0.727882
0.727882
0.672922
0.557641
0
0
0.259144
1,285
40
79
32.125
0.783613
0
0
0.4375
0
0
0.220233
0
0
0
0
0
0
1
0.03125
false
0
0.125
0
0.15625
0.34375
0
0
0
null
0
0
1
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
2b90e916b673ff1e46ec5570b5660d43a64bca95
819
py
Python
hpwnwaf.py
wjbsyc/homura_pwn_waf
1148016804e219836dceb93a380fd5da6be569fa
[ "MIT" ]
69
2018-07-12T13:10:21.000Z
2022-02-22T01:53:26.000Z
hpwnwaf.py
wjbsyc/homura_pwn_waf
1148016804e219836dceb93a380fd5da6be569fa
[ "MIT" ]
null
null
null
hpwnwaf.py
wjbsyc/homura_pwn_waf
1148016804e219836dceb93a380fd5da6be569fa
[ "MIT" ]
17
2018-08-19T05:32:40.000Z
2021-09-29T07:23:22.000Z
#coding:utf-8 def replace_waf(pt): main_addr = 0x4011e6 #main函数入口地址 new_main = pt.inject(asm=r''' push rbp; mov rbp,rsp; mov r15,6; push r15; mov r15,7FFF000000000006H; push r15; mov r15,3B00010015H; push r15; mov r15 , 3800020015h; push r15; mov r15 , 3200030015h; push r15; mov r15 , 3100040015h; push...
14.625
33
0.667888
137
819
3.956204
0.357664
0.177122
0.276753
0.335793
0.095941
0.095941
0.095941
0.095941
0
0
0
0.311526
0.216117
819
55
34
14.890909
0.53271
0.026862
0
0.411765
0
0
0.861111
0.027778
0
0
0.010101
0
0
1
0.019608
false
0
0
0
0.019608
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
1
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
4
2bbe2f90f9445d3366cabcd606c3d1f0ac93592e
99
py
Python
britecoreapi/apps.py
emmanuel-nike/django-generic-datamodel
f8d19ba55f2af2c238f7e8f493bd0e2c28a91d7c
[ "Unlicense" ]
null
null
null
britecoreapi/apps.py
emmanuel-nike/django-generic-datamodel
f8d19ba55f2af2c238f7e8f493bd0e2c28a91d7c
[ "Unlicense" ]
6
2021-05-08T17:05:14.000Z
2022-02-26T10:36:59.000Z
britecoreapi/apps.py
emmanuel-nike/django-generic-datamodel
f8d19ba55f2af2c238f7e8f493bd0e2c28a91d7c
[ "Unlicense" ]
1
2022-02-13T17:22:39.000Z
2022-02-13T17:22:39.000Z
from django.apps import AppConfig class BritecoreapiConfig(AppConfig): name = 'britecoreapi'
16.5
36
0.777778
10
99
7.7
0.9
0
0
0
0
0
0
0
0
0
0
0
0.151515
99
5
37
19.8
0.916667
0
0
0
0
0
0.121212
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
2bcc3ce08bb3d95791beaf47a75a219f58ebeed0
47,344
py
Python
cellpack/mgl_tools/DejaVu/VisionInterface/MapPotOnGeom.py
mesoscope/cellpack
ec6b736fc706c1fae16392befa814b5337a3a692
[ "MIT" ]
null
null
null
cellpack/mgl_tools/DejaVu/VisionInterface/MapPotOnGeom.py
mesoscope/cellpack
ec6b736fc706c1fae16392befa814b5337a3a692
[ "MIT" ]
21
2021-10-02T00:07:05.000Z
2022-03-30T00:02:10.000Z
cellpack/mgl_tools/DejaVu/VisionInterface/MapPotOnGeom.py
mesoscope/cellpack
ec6b736fc706c1fae16392befa814b5337a3a692
[ "MIT" ]
null
null
null
######################################################################## # # Vision Macro - Python source code - file generated by vision # Monday 06 March 2006 12:05:47 # # The Scripps Research Institute (TSRI) # Molecular Graphics Lab # La Jolla, CA 92037, USA # # Copyright: Daniel Stoffler, M...
47.06163
110
0.496409
4,465
47,344
5.187906
0.121165
0.044725
0.03445
0.045588
0.574858
0.485063
0.423934
0.229753
0.179546
0.162709
0
0.346236
0.380133
47,344
1,005
111
47.108458
0.443078
0.017045
0
0.331133
1
0
0.090561
0.002939
0
0
0
0
0
0
null
null
0
0.029703
null
null
0.038504
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
2bd55d47c87ea8604c3046980ab875ad0fb1e412
80
py
Python
routeros/system/note.py
hexatester/RouterOS
187214e12ef92fbe5c62d3475d32430537a15c68
[ "MIT" ]
null
null
null
routeros/system/note.py
hexatester/RouterOS
187214e12ef92fbe5c62d3475d32430537a15c68
[ "MIT" ]
null
null
null
routeros/system/note.py
hexatester/RouterOS
187214e12ef92fbe5c62d3475d32430537a15c68
[ "MIT" ]
null
null
null
import attr @attr.dataclass class Note: note: str show_at_login: bool
10
23
0.7
12
80
4.5
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.2375
80
7
24
11.428571
0.885246
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.2
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
4
921e3229ce30a04bf833c48374b4a3904dbfdde2
69
py
Python
tests/__init__.py
fossabot/django-opt-out
82b2fda6d55974df19e620e9a55cac56688f74b2
[ "MIT" ]
3
2018-11-30T23:02:18.000Z
2019-10-04T09:11:11.000Z
tests/__init__.py
fossabot/django-opt-out
82b2fda6d55974df19e620e9a55cac56688f74b2
[ "MIT" ]
5
2017-11-24T20:00:22.000Z
2020-10-12T04:33:56.000Z
tests/__init__.py
fossabot/django-opt-out
82b2fda6d55974df19e620e9a55cac56688f74b2
[ "MIT" ]
3
2018-09-08T03:16:13.000Z
2018-12-25T06:09:11.000Z
# -*- coding: utf-8 -*- """Unit test package for django-opt-out."""
17.25
43
0.57971
10
69
4
1
0
0
0
0
0
0
0
0
0
0
0.017241
0.15942
69
3
44
23
0.672414
0.869565
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
ecff2b45e61b8fc7ecba321aa9e0be1ea28bb23b
259
py
Python
src/prosi3d/datahandler.py
pzimbrod/prosi-3d
6eaa5b9cdb7192f542417429b1775c3e61a9bc60
[ "MIT" ]
null
null
null
src/prosi3d/datahandler.py
pzimbrod/prosi-3d
6eaa5b9cdb7192f542417429b1775c3e61a9bc60
[ "MIT" ]
3
2021-11-11T07:32:01.000Z
2021-11-23T15:42:26.000Z
src/prosi3d/datahandler.py
pzimbrod/prosi-3d
6eaa5b9cdb7192f542417429b1775c3e61a9bc60
[ "MIT" ]
null
null
null
import h5py """ This is a class that reads the HDF5 Container and extracts the data """ class DataHandler: """ Read the data """ def read_container(): pass """ Extract the data to RAM """ def extract(): pass
16.1875
68
0.563707
32
259
4.53125
0.65625
0.144828
0
0
0
0
0
0
0
0
0
0.011696
0.339768
259
15
69
17.266667
0.836257
0.050193
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.333333
true
0.333333
0.166667
0
0.666667
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
1
1
0
0
1
0
0
4
a610392982e1d65fe1a61cf9d31f50395130615a
10,835
py
Python
gtfs/migrations/0022_add_translations.py
montel-ig/maritime-maas
68a3fe30d47745aba40ebf911d599346c070dfa4
[ "MIT" ]
null
null
null
gtfs/migrations/0022_add_translations.py
montel-ig/maritime-maas
68a3fe30d47745aba40ebf911d599346c070dfa4
[ "MIT" ]
34
2021-03-05T15:07:17.000Z
2022-02-23T19:05:39.000Z
gtfs/migrations/0022_add_translations.py
montel-ig/maritime-maas
68a3fe30d47745aba40ebf911d599346c070dfa4
[ "MIT" ]
1
2022-02-24T13:57:52.000Z
2022-02-24T13:57:52.000Z
# Generated by Django 3.1.7 on 2021-04-30 04:20 from django.db import migrations, models import django.db.models.deletion import parler.fields import parler.models class Migration(migrations.Migration): dependencies = [ ("gtfs", "0021_change_times_to_durations"), ] operations = [ migrat...
33.965517
88
0.394739
697
10,835
5.939742
0.146341
0.077053
0.087923
0.101449
0.794928
0.767391
0.657971
0.616908
0.616908
0.568599
0
0.00989
0.505399
10,835
318
89
34.072327
0.762642
0.004153
0
0.711538
1
0
0.132369
0.013163
0
0
0
0
0
1
0
false
0
0.012821
0
0.022436
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
a610aa12122d8908499b0823ea165f2f022b0449
149
py
Python
flax_id/django/models.py
arshsingh/python-flax-id
6121394da26c84e9c7ab7785f6487a03c6bb4935
[ "MIT" ]
5
2018-04-25T05:57:15.000Z
2022-01-30T12:43:13.000Z
flax_id/django/models.py
arshsingh/python-flax-id
6121394da26c84e9c7ab7785f6487a03c6bb4935
[ "MIT" ]
null
null
null
flax_id/django/models.py
arshsingh/python-flax-id
6121394da26c84e9c7ab7785f6487a03c6bb4935
[ "MIT" ]
2
2018-09-19T10:07:14.000Z
2018-12-11T23:12:44.000Z
from django.db import models from .fields import FlaxId class FlaxModel(models.Model): id = FlaxId() class Meta: abstract = True
13.545455
30
0.671141
19
149
5.263158
0.736842
0.22
0
0
0
0
0
0
0
0
0
0
0.255034
149
10
31
14.9
0.900901
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.833333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
a64502daed30e0ddc64341a3bac9cdacb7c0abc7
117
py
Python
TagMeGooey/__main__.py
zordsdavini/TagMe-gooey
3c59823e0e42ab218c62cd286a78d7e347d28493
[ "MIT" ]
null
null
null
TagMeGooey/__main__.py
zordsdavini/TagMe-gooey
3c59823e0e42ab218c62cd286a78d7e347d28493
[ "MIT" ]
null
null
null
TagMeGooey/__main__.py
zordsdavini/TagMe-gooey
3c59823e0e42ab218c62cd286a78d7e347d28493
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """executed when tagme directory is called as script.""" from .gooey_ui import main main()
16.714286
56
0.666667
17
117
4.529412
0.941176
0
0
0
0
0
0
0
0
0
0
0.010309
0.17094
117
6
57
19.5
0.783505
0.623932
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
a6566ceec1d4e292b335a13a405522baf8fd741b
145
py
Python
Regex/Alternative Matching.py
rafaelgreca/hackerrank-solutions
2be6c8fdd9b7f2ab3a678e7dcdc27e730edfaef3
[ "MIT" ]
null
null
null
Regex/Alternative Matching.py
rafaelgreca/hackerrank-solutions
2be6c8fdd9b7f2ab3a678e7dcdc27e730edfaef3
[ "MIT" ]
null
null
null
Regex/Alternative Matching.py
rafaelgreca/hackerrank-solutions
2be6c8fdd9b7f2ab3a678e7dcdc27e730edfaef3
[ "MIT" ]
null
null
null
Regex_Pattern = r'^(Mr\.|Mrs\.|Dr\.|Er\.)[a-zA-Z]+$' # Do not delete 'r'. import re print(str(bool(re.search(Regex_Pattern, input()))).lower())
29
73
0.62069
25
145
3.52
0.84
0.272727
0
0
0
0
0
0
0
0
0
0
0.089655
145
5
74
29
0.666667
0.124138
0
0
0
0
0.261905
0.261905
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
a66982dc5cf8441cac56bba65e1be599ac99b854
138
py
Python
root/functions/find_in_text/utils.py
eric0111/prove_it_finder
ce6f34afeb0c22bc79e188c71c0949f98f38258b
[ "MIT" ]
1
2021-12-29T22:22:00.000Z
2021-12-29T22:22:00.000Z
root/functions/find_in_text/utils.py
eric0111/prove_it_finder
ce6f34afeb0c22bc79e188c71c0949f98f38258b
[ "MIT" ]
null
null
null
root/functions/find_in_text/utils.py
eric0111/prove_it_finder
ce6f34afeb0c22bc79e188c71c0949f98f38258b
[ "MIT" ]
null
null
null
def get_sec(time_str): """Get Seconds from time.""" h, m, s = time_str.split(':') return int(h) * 3600 + int(m) * 60 + int(s)
27.6
47
0.550725
24
138
3.041667
0.625
0.191781
0
0
0
0
0
0
0
0
0
0.057143
0.23913
138
4
48
34.5
0.638095
0.15942
0
0
0
0
0.009091
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
a66a4c97a471d14cb263ee5b3dfcf9c2b50a5ee4
180
py
Python
naive_bayes/__init__.py
dayyass/extended_naive_bayes
3178b3a79b4094ec7e0a553e9203ac947a83aadd
[ "MIT" ]
5
2021-07-22T19:48:22.000Z
2021-09-05T15:03:15.000Z
naive_bayes/__init__.py
dayyass/naive_bayes
3178b3a79b4094ec7e0a553e9203ac947a83aadd
[ "MIT" ]
10
2021-05-25T20:28:38.000Z
2021-05-30T19:54:59.000Z
naive_bayes/__init__.py
dayyass/extended-naive-bayes
3178b3a79b4094ec7e0a553e9203ac947a83aadd
[ "MIT" ]
null
null
null
from naive_bayes.models import ( # noqa: F401 BernoulliNaiveBayes, CategoricalNaiveBayes, ExtendedNaiveBayes, GaussianNaiveBayes, SklearnExtendedNaiveBayes, )
22.5
46
0.755556
12
180
11.25
1
0
0
0
0
0
0
0
0
0
0
0.020548
0.188889
180
7
47
25.714286
0.90411
0.055556
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
a66c1b3970bbcf63702eb3940ddc0ed48b1d0f42
103
py
Python
Beta/Joules to calories.py
mwk0408/codewars_solutions
9b4f502b5f159e68024d494e19a96a226acad5e5
[ "MIT" ]
6
2020-09-03T09:32:25.000Z
2020-12-07T04:10:01.000Z
Beta/Joules to calories.py
mwk0408/codewars_solutions
9b4f502b5f159e68024d494e19a96a226acad5e5
[ "MIT" ]
1
2021-12-13T15:30:21.000Z
2021-12-13T15:30:21.000Z
Beta/Joules to calories.py
mwk0408/codewars_solutions
9b4f502b5f159e68024d494e19a96a226acad5e5
[ "MIT" ]
null
null
null
def calories(string): res=string.split() return round(int(res[0])*[1, 1000][res[1]!="J"]/4.184)
34.333333
58
0.61165
18
103
3.5
0.777778
0
0
0
0
0
0
0
0
0
0
0.122222
0.126214
103
3
58
34.333333
0.577778
0
0
0
0
0
0.009615
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
a68c59cbe240fc29a4790822ef8199ec04057ecd
126
py
Python
Server/Code/database/engine.py
HueyPark/Unreal-Knights
9a08dd15c65d8853f1322bf6de4b892cd88c571a
[ "MIT" ]
null
null
null
Server/Code/database/engine.py
HueyPark/Unreal-Knights
9a08dd15c65d8853f1322bf6de4b892cd88c571a
[ "MIT" ]
null
null
null
Server/Code/database/engine.py
HueyPark/Unreal-Knights
9a08dd15c65d8853f1322bf6de4b892cd88c571a
[ "MIT" ]
null
null
null
from sqlalchemy import create_engine engine = create_engine('mysql+pymysql://root:@127.0.0.1:3306/unrealknights', echo=True)
31.5
87
0.785714
19
126
5.105263
0.789474
0.247423
0
0
0
0
0
0
0
0
0
0.08547
0.071429
126
3
88
42
0.74359
0
0
0
0
0
0.396825
0.396825
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
a68cec21375dc5b44c798d1b43a90860ff259e5b
3,342
py
Python
RecoBTag/PerformanceDB/python/measure/Pool_btagMistagABCD.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
RecoBTag/PerformanceDB/python/measure/Pool_btagMistagABCD.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
RecoBTag/PerformanceDB/python/measure/Pool_btagMistagABCD.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms from CondCore.DBCommon.CondDBCommon_cfi import * PoolDBESSourcebtagMistagABCD = cms.ESSource("PoolDBESSource", CondDBCommon, toGet = cms.VPSet( # # working points # cms.PSet( record = cms.string('P...
38.413793
88
0.699581
296
3,342
7.695946
0.152027
0.110623
0.079895
0.098332
0.895961
0.895961
0.895961
0.895961
0.530729
0.530729
0
0.006259
0.187313
3,342
86
89
38.860465
0.832474
0.004189
0
0.545455
0
0
0.407641
0.295126
0
0
0
0
0
1
0
false
0
0.025974
0
0.025974
0
0
0
0
null
0
0
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
a6d73b27b7783bc7a8fa972669a3dee7d104566e
15,982
py
Python
data.py
sjmoran/CURL
919e519717b66e14d92ac6fa404c328ee3f254a5
[ "BSD-3-Clause" ]
125
2020-10-16T12:25:59.000Z
2022-03-22T06:04:57.000Z
data.py
sjmoran/deepraw2rgb
a76b6cefff95972af86594f34d4182d0fb460ed9
[ "BSD-3-Clause" ]
22
2020-10-19T10:40:05.000Z
2022-02-14T12:01:46.000Z
data.py
sjmoran/difar
a4e59533685257098eb02a25d0f90e40cf04e0a1
[ "BSD-3-Clause" ]
23
2020-11-05T09:23:52.000Z
2022-03-24T08:00:50.000Z
# -*- coding: utf-8 -*- ''' This is a PyTorch implementation of CURL: Neural Curve Layers for Global Image Enhancement https://arxiv.org/pdf/1911.13175.pdf Please cite paper if you use this code. Tested with Pytorch 1.7.1, Python 3.7.9 Authors: Sean Moran (sean.j.moran@gmail.com), 2020 ''' import matplotlib matplot...
36.655963
120
0.535227
1,872
15,982
4.358974
0.144231
0.063725
0.052941
0.042279
0.770466
0.749755
0.726961
0.709681
0.68701
0.6625
0
0.013505
0.374546
15,982
435
121
36.74023
0.802821
0.231886
0
0.624413
0
0
0.043256
0
0
0
0
0
0.018779
1
0.061033
false
0.00939
0.061033
0
0.178404
0.004695
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
472179ed6293f80ea764f1dd8cfda7889a2ac59f
84
py
Python
number_parser/__init__.py
bsekiewicz/number-parser
8367865ed29a9b221809aed0aa40963361709c0d
[ "BSD-3-Clause" ]
44
2020-09-03T17:35:21.000Z
2022-02-19T20:47:10.000Z
number_parser/__init__.py
bsekiewicz/number-parser
8367865ed29a9b221809aed0aa40963361709c0d
[ "BSD-3-Clause" ]
32
2020-06-03T05:17:10.000Z
2020-08-26T09:43:49.000Z
number_parser/__init__.py
bsekiewicz/number-parser
8367865ed29a9b221809aed0aa40963361709c0d
[ "BSD-3-Clause" ]
15
2020-10-16T16:11:37.000Z
2022-01-11T03:18:02.000Z
from number_parser.parser import parse, parse_number, parse_ordinal, parse_fraction
42
83
0.869048
12
84
5.75
0.583333
0
0
0
0
0
0
0
0
0
0
0
0.083333
84
1
84
84
0.896104
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
5b29a6b8c00a0b2bfed3070c4c07a989ef82f96c
321
py
Python
utils/utils.py
EMBEDDIA/multilingual_entity_linking
9042259dd72ae85d94a460a981e9716df4eac203
[ "Apache-2.0" ]
null
null
null
utils/utils.py
EMBEDDIA/multilingual_entity_linking
9042259dd72ae85d94a460a981e9716df4eac203
[ "Apache-2.0" ]
2
2021-04-20T13:30:09.000Z
2021-05-03T14:24:06.000Z
utils/utils.py
EMBEDDIA/multilingual_entity_linking
9042259dd72ae85d94a460a981e9716df4eac203
[ "Apache-2.0" ]
null
null
null
def string_starts(s, m): return s[:len(m)] == m def split_sentence_in_words(s): return s.split() def modify_uppercase_phrase(s): if s == s.upper(): words = split_sentence_in_words( s.lower() ) res = [ w.capitalize() for w in words ] return ' '.join( res ) else: return s...
22.928571
52
0.58567
48
321
3.729167
0.479167
0.117318
0.167598
0.223464
0.234637
0
0
0
0
0
0
0
0.277259
321
13
53
24.692308
0.771552
0
0
0
0
0
0.003115
0
0
0
0
0
0
1
0.272727
false
0
0
0.181818
0.636364
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
5b43642d7a30c2e3281ae526db61aea821cfc38d
38
py
Python
foiamachine/local/lib/python2.7/encodings/cp1026.py
dwillis/foiamachine
26d3b02870227696cdaab639c39d47b2a7a42ae5
[ "Unlicense", "MIT" ]
3
2021-08-07T04:01:55.000Z
2021-08-07T05:12:11.000Z
foiamachine/local/lib/python2.7/encodings/cp1026.py
dwillis/foiamachine
26d3b02870227696cdaab639c39d47b2a7a42ae5
[ "Unlicense", "MIT" ]
null
null
null
foiamachine/local/lib/python2.7/encodings/cp1026.py
dwillis/foiamachine
26d3b02870227696cdaab639c39d47b2a7a42ae5
[ "Unlicense", "MIT" ]
1
2021-08-05T22:51:14.000Z
2021-08-05T22:51:14.000Z
/usr/lib/python2.7/encodings/cp1026.py
38
38
0.815789
7
38
4.428571
1
0
0
0
0
0
0
0
0
0
0
0.157895
0
38
1
38
38
0.657895
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
5b43c14b4cbbb327435c994eaa330408408dcaeb
27,971
py
Python
scrapi/harvesters/mit.py
wearpants/scrapi
b1619a1212d9fc7e1f2247336fc2e4a3d453a4bb
[ "Apache-2.0" ]
34
2015-10-06T20:08:43.000Z
2022-03-16T12:46:24.000Z
scrapi/harvesters/mit.py
jgw4sq/twilio
796e97dc6a8fdb8983fd736b328ad907bb1ff73e
[ "Apache-2.0" ]
100
2015-09-10T19:57:32.000Z
2016-06-22T03:09:51.000Z
scrapi/harvesters/mit.py
jgw4sq/twilio
796e97dc6a8fdb8983fd736b328ad907bb1ff73e
[ "Apache-2.0" ]
32
2015-09-09T21:28:54.000Z
2019-05-09T03:18:02.000Z
"""Harvests MIT DSpace metadata for ingestion into the SHARE service More information available here: https://github.com/CenterForOpenScience/SHARE/blob/master/providers/edu.mit.md Example metadata URL: http://dspace.mit.edu/oai/request?verb=ListRecords&metadataPrefix=oai_dc&from=2014-09-28 """ from __future__ impo...
31.357623
110
0.46777
3,541
27,971
3.205027
0.262355
0.531677
0.607631
0.004229
0.006785
0.005111
0.005111
0
0
0
0
0.496122
0.40542
27,971
891
111
31.392817
0.186279
0.010368
0
0
0
0
0.489449
0
0
0
0
0
0
1
0.00114
false
0
0.002281
0.00114
0.011403
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
5b6bf6c5b6fc6456914fcb35c83ea3667ae9cba4
200
py
Python
aopy/aperture/view.py
alexrudy/aopy
0242bdc81a10ac1a025e6e4cc447cfe90f16dd33
[ "BSD-3-Clause" ]
3
2016-02-05T14:30:21.000Z
2020-05-05T11:58:38.000Z
aopy/aperture/view.py
alexrudy/aopy
0242bdc81a10ac1a025e6e4cc447cfe90f16dd33
[ "BSD-3-Clause" ]
null
null
null
aopy/aperture/view.py
alexrudy/aopy
0242bdc81a10ac1a025e6e4cc447cfe90f16dd33
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # # view.py # aopy # # Created by Alexander Rudy on 2014-07-16. # Copyright 2014 Alexander Rudy. All rights reserved. # """ :mod:`aperture.view` ==================== """
13.333333
54
0.55
24
200
4.583333
0.833333
0.236364
0
0
0
0
0
0
0
0
0
0.079755
0.185
200
15
55
13.333333
0.595092
0.87
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
5b702bf5caa3d556c080cd3e0261f77ab75b396d
329
py
Python
mundo3/D109.py
KayanOkagawa/Cursoemvideo-Python3-Exercicios
10c8386102cc0928f8f090070eb3218deb3d60fe
[ "MIT" ]
null
null
null
mundo3/D109.py
KayanOkagawa/Cursoemvideo-Python3-Exercicios
10c8386102cc0928f8f090070eb3218deb3d60fe
[ "MIT" ]
null
null
null
mundo3/D109.py
KayanOkagawa/Cursoemvideo-Python3-Exercicios
10c8386102cc0928f8f090070eb3218deb3d60fe
[ "MIT" ]
null
null
null
from utilidadecv.moeda import moeda preco = float(input('Digite o Preço: ')) print(f'A Metade de {moeda.metade(preco, show=True)}') print(f'O Dobro de {moeda.dobro(preco, show=True)}') print(f'O Aumento de 10%, temos {moeda.aumentar(preco, 10, show=True)}') print(f'Reduzindo 13%, temos {moeda.diminuir(preco, 13, show=...
41.125
72
0.714286
55
329
4.272727
0.454545
0.102128
0.165957
0.178723
0.170213
0.170213
0
0
0
0
0
0.027211
0.106383
329
7
73
47
0.772109
0
0
0
0
0
0.677812
0.133739
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.666667
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
5b9695289815ebe2c465f83868b09e69d63adc0d
84
py
Python
Python180feet/oops/MyNewClass.py
parthasarathipandeygcp/gcpade001
1c353d48d21d276cc0597e88107f77525518264f
[ "Apache-2.0" ]
null
null
null
Python180feet/oops/MyNewClass.py
parthasarathipandeygcp/gcpade001
1c353d48d21d276cc0597e88107f77525518264f
[ "Apache-2.0" ]
null
null
null
Python180feet/oops/MyNewClass.py
parthasarathipandeygcp/gcpade001
1c353d48d21d276cc0597e88107f77525518264f
[ "Apache-2.0" ]
null
null
null
class MyNewClass: '''This is a docstring. I have created a new class''' pass
28
57
0.666667
13
84
4.307692
0.846154
0
0
0
0
0
0
0
0
0
0
0
0.238095
84
3
58
28
0.875
0.559524
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
4
5b9a91e2bbb7ff14ab9c74d8deab278ea0660f51
174
py
Python
vrm/version.py
saturday06/VReducer
591b40c16ab3ee594637185df9363e2a3c589894
[ "MIT" ]
2
2021-10-10T13:27:12.000Z
2022-01-04T02:38:54.000Z
vrm/version.py
saturday06/VReducer
591b40c16ab3ee594637185df9363e2a3c589894
[ "MIT" ]
null
null
null
vrm/version.py
saturday06/VReducer
591b40c16ab3ee594637185df9363e2a3c589894
[ "MIT" ]
1
2022-01-04T18:38:10.000Z
2022-01-04T18:38:10.000Z
#!/usr/bin/env python # -*- coding:utf-8 -*- """ アプリケーション、バージョン情報 """ APP_NAME = 'VReducer' VERSION = '0.2.0' def app_name(): return '{}-{}'.format(APP_NAME, VERSION)
13.384615
44
0.597701
24
174
4.208333
0.75
0.207921
0
0
0
0
0
0
0
0
0
0.027211
0.155172
174
12
45
14.5
0.659864
0.333333
0
0
0
0
0.168224
0
0
0
0
0
0
1
0.25
false
0
0
0.25
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
4
5bbb688e62bd3f53a6655e0dcc5e772fe55ab1e8
100
py
Python
Chapter07/plotly_django_app1/visual_plotly/apps.py
allen-zqh/plotly
bcaf0930901e77db07245b63bff049eb75893416
[ "MIT" ]
null
null
null
Chapter07/plotly_django_app1/visual_plotly/apps.py
allen-zqh/plotly
bcaf0930901e77db07245b63bff049eb75893416
[ "MIT" ]
null
null
null
Chapter07/plotly_django_app1/visual_plotly/apps.py
allen-zqh/plotly
bcaf0930901e77db07245b63bff049eb75893416
[ "MIT" ]
1
2021-02-04T06:56:18.000Z
2021-02-04T06:56:18.000Z
from django.apps import AppConfig class VisualPlotlyConfig(AppConfig): name = 'visual_plotly'
16.666667
36
0.78
11
100
7
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.15
100
5
37
20
0.905882
0
0
0
0
0
0.13
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
5bc95e996cdd1e4d8efa817caaefdff708a14de7
2,425
py
Python
device_battery.py
dnkorte/linefollower_controller
a653f8b7fad6e362037e369ff833d388621811e2
[ "MIT" ]
null
null
null
device_battery.py
dnkorte/linefollower_controller
a653f8b7fad6e362037e369ff833d388621811e2
[ "MIT" ]
null
null
null
device_battery.py
dnkorte/linefollower_controller
a653f8b7fad6e362037e369ff833d388621811e2
[ "MIT" ]
null
null
null
""" # Controller for Line-Following Robot # This runs on an Adafruit Feather M4, with a MiniTFT board. # It drives a TB6612 to control 2 DC Motors (in blue servo case) # and talks over I2C to an ItsyBitsy that interfaces a Pololu # line following sensor # # Author(s): Don Korte # Module: device_battgery.py reports bat...
41.101695
103
0.754639
373
2,425
4.852547
0.514745
0.048619
0.018785
0.01989
0.01768
0.01768
0
0
0
0
0
0.020613
0.179794
2,425
58
104
41.810345
0.889392
0.834227
0
0
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0.2
0.2
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
5be1e836cdcdd3a403d9d7d6bcbfd57d7a283877
291
py
Python
artificial_neural_networks/__init__.py
kourouklides/artificial_neural_networks
c22f80c092481dda4bb219d981e27295d06222b0
[ "Apache-2.0" ]
39
2018-08-25T08:04:09.000Z
2022-02-23T16:35:42.000Z
artificial_neural_networks/__init__.py
kourouklides/bayesian_nn
c22f80c092481dda4bb219d981e27295d06222b0
[ "Apache-2.0" ]
4
2020-04-12T16:07:41.000Z
2022-02-10T00:26:37.000Z
artificial_neural_networks/__init__.py
kourouklides/bayesian_nn
c22f80c092481dda4bb219d981e27295d06222b0
[ "Apache-2.0" ]
10
2018-08-28T07:04:03.000Z
2022-03-28T10:29:01.000Z
""" Author: Ioannis Kourouklides, www.kourouklides.com License: https://github.com/kourouklides/artificial_neural_networks/blob/master/LICENSE/ """ # %% # IMPORTS from __future__ import absolute_import from __future__ import division from __future__ import print_function
20.785714
87
0.766323
32
291
6.46875
0.65625
0.144928
0.231884
0
0
0
0
0
0
0
0
0
0.147766
291
13
88
22.384615
0.834677
0.532646
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0.333333
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
5be7eb785365ccf56fa83513f4a0f4beabee62cf
85
py
Python
AI_Web/Astar/apps.py
xwy27/ArtificialIntelligenceProjects
e2b0154f07d749084e2d670260fa82f8f5ea23ed
[ "MIT" ]
4
2018-12-19T14:10:56.000Z
2021-07-12T06:05:17.000Z
AI_Web/Astar/apps.py
xwy27/ArtificialIntelligenceProjects
e2b0154f07d749084e2d670260fa82f8f5ea23ed
[ "MIT" ]
1
2019-08-06T01:57:41.000Z
2019-08-06T01:57:41.000Z
AI_Web/Astar/apps.py
xwy27/ArtificialIntelligenceProjects
e2b0154f07d749084e2d670260fa82f8f5ea23ed
[ "MIT" ]
null
null
null
from django.apps import AppConfig class AstarConfig(AppConfig): name = 'Astar'
14.166667
33
0.741176
10
85
6.3
0.9
0
0
0
0
0
0
0
0
0
0
0
0.176471
85
5
34
17
0.9
0
0
0
0
0
0.058824
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
5bebb157eec30c250568b48a5e73c3ecbd0e1a5e
216
py
Python
backend/pennclubs/asgi.py
pennlabs/penn-clubs
6165e56ee5745295adc14fe114c4973173c2cb43
[ "MIT" ]
23
2020-01-15T20:11:06.000Z
2022-01-01T12:47:50.000Z
backend/pennclubs/asgi.py
pennlabs/penn-clubs
6165e56ee5745295adc14fe114c4973173c2cb43
[ "MIT" ]
397
2020-01-17T03:42:30.000Z
2022-03-07T23:37:16.000Z
backend/pennclubs/asgi.py
pennlabs/penn-clubs
6165e56ee5745295adc14fe114c4973173c2cb43
[ "MIT" ]
7
2020-01-29T05:11:38.000Z
2022-01-03T19:41:59.000Z
import os import django from channels.routing import get_default_application os.environ.setdefault("DJANGO_SETTINGS_MODULE", "pennclubs.settings.production") django.setup() application = get_default_application()
21.6
80
0.837963
26
216
6.730769
0.615385
0.114286
0.24
0
0
0
0
0
0
0
0
0
0.078704
216
9
81
24
0.879397
0
0
0
0
0
0.236111
0.236111
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
750386cbb9a46549ffa9853a246a3d355a67807b
263
py
Python
tests/ex21_tests.py
gravyboat/python-exercises
50162a9e6f3d51fbb2c15ed08fcecba810d61338
[ "MIT" ]
null
null
null
tests/ex21_tests.py
gravyboat/python-exercises
50162a9e6f3d51fbb2c15ed08fcecba810d61338
[ "MIT" ]
null
null
null
tests/ex21_tests.py
gravyboat/python-exercises
50162a9e6f3d51fbb2c15ed08fcecba810d61338
[ "MIT" ]
null
null
null
from nose.tools import * from exercises import ex21 def test_char_freq(): ''' Check to make sure our translation is accurate ''' test_char_freq_dict = ex21.char_freq('aaaabbbcc') assert_equal(test_char_freq_dict, {'a': 4, 'b': 3, 'c': 2})
20.230769
63
0.669202
40
263
4.15
0.7
0.192771
0.216867
0.192771
0
0
0
0
0
0
0
0.033493
0.205323
263
12
64
21.916667
0.760766
0.174905
0
0
0
0
0.06
0
0
0
0
0
0.2
1
0.2
false
0
0.4
0
0.6
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
751480f28e5ee76b1abb4bb840862d9ec96ec708
98
py
Python
toki/[Versi Lama] Training Gate TOKI Learning Center/Bab 1. Pengenalan/1B. Percabangan/E.py
andraantariksa/code-exercise-answer
69b7dbdc081cdb094cb110a72bc0c9242d3d344d
[ "MIT" ]
1
2019-11-06T15:17:48.000Z
2019-11-06T15:17:48.000Z
toki/[Versi Lama] Training Gate TOKI Learning Center/Bab 1. Pengenalan/1B. Percabangan/E.py
andraantariksa/code-exercise-answer
69b7dbdc081cdb094cb110a72bc0c9242d3d344d
[ "MIT" ]
null
null
null
toki/[Versi Lama] Training Gate TOKI Learning Center/Bab 1. Pengenalan/1B. Percabangan/E.py
andraantariksa/code-exercise-answer
69b7dbdc081cdb094cb110a72bc0c9242d3d344d
[ "MIT" ]
1
2018-11-13T08:43:26.000Z
2018-11-13T08:43:26.000Z
'''input -1 -1 1 1 ''' a = list(map(int, input().split())) print(abs(a[2]-a[0]) + abs(a[3]-a[1]))
16.333333
38
0.5
22
98
2.227273
0.545455
0.122449
0.122449
0
0
0
0
0
0
0
0
0.094118
0.132653
98
5
39
19.6
0.482353
0.153061
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
751924360f3bf6b0175884f1f2e31e29ba411268
815
py
Python
Task/Test-a-function/Python/test-a-function.py
LaudateCorpus1/RosettaCodeData
9ad63ea473a958506c041077f1d810c0c7c8c18d
[ "Info-ZIP" ]
1
2018-11-09T22:08:38.000Z
2018-11-09T22:08:38.000Z
Task/Test-a-function/Python/test-a-function.py
seanwallawalla-forks/RosettaCodeData
9ad63ea473a958506c041077f1d810c0c7c8c18d
[ "Info-ZIP" ]
null
null
null
Task/Test-a-function/Python/test-a-function.py
seanwallawalla-forks/RosettaCodeData
9ad63ea473a958506c041077f1d810c0c7c8c18d
[ "Info-ZIP" ]
1
2018-11-09T22:08:40.000Z
2018-11-09T22:08:40.000Z
def is_palindrome(s): ''' >>> is_palindrome('') True >>> is_palindrome('a') True >>> is_palindrome('aa') True >>> is_palindrome('baa') False >>> is_palindrome('baab') True >>> is_palindrome('ba_ab') True >>> is_p...
20.375
38
0.447853
80
815
4.2625
0.3625
0.387097
0.281525
0.140762
0.211144
0.187683
0.187683
0
0
0
0
0.033932
0.385276
815
39
39
20.897436
0.646707
0.534969
0
0
0
0
0.05298
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.571429
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
752fab4197d9c033188ae991469d0508b645d50f
3,776
py
Python
DailyProgrammer/DP20150626C.py
DayGitH/Python-Challenges
bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf
[ "MIT" ]
2
2020-12-23T18:59:22.000Z
2021-04-14T13:16:09.000Z
DailyProgrammer/DP20150626C.py
DayGitH/Python-Challenges
bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf
[ "MIT" ]
null
null
null
DailyProgrammer/DP20150626C.py
DayGitH/Python-Challenges
bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf
[ "MIT" ]
null
null
null
""" [2015-06-26] Challenge #220 [Hard] Substitution Cryptanalysis https://www.reddit.com/r/dailyprogrammer/comments/3b668g/20150626_challenge_220_hard_substitution/ # [](#HardIcon) _(Hard)_: Substitution Cryptanalysis A [substitution cipher](https://en.wikipedia.org/?title=Substitution_cipher) is one where each lette...
40.170213
119
0.746028
619
3,776
4.52504
0.486268
0.01071
0.011424
0.019993
0.017137
0.017137
0.017137
0
0
0
0
0.018561
0.186706
3,776
93
120
40.602151
0.89352
0.980932
0
0
0
0
0.125
0
0
0
0
0
0
1
0.25
true
0.25
0
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
1
0
0
0
0
0
0
null
0
0
0
0
0
1
1
1
0
0
0
0
0
4
753070b868b25335db628673e1563e51c017f544
20,730
py
Python
sdk/python/pulumi_gcp/compute/instance_group_manager.py
dimpu47/pulumi-gcp
38355de300a5768e11c49d344a8165ba0735deed
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_gcp/compute/instance_group_manager.py
dimpu47/pulumi-gcp
38355de300a5768e11c49d344a8165ba0735deed
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_gcp/compute/instance_group_manager.py
dimpu47/pulumi-gcp
38355de300a5768e11c49d344a8165ba0735deed
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Dict, List, Mapping, Optional, Tuple, Union from .. import ...
57.423823
422
0.684274
2,393
20,730
5.768491
0.120769
0.061359
0.033469
0.03767
0.746957
0.716966
0.704941
0.693495
0.685816
0.657563
0
0.001556
0.22494
20,730
360
423
57.583333
0.857596
0.48466
0
0.284153
1
0
0.177596
0.07039
0
0
0
0
0
1
0.114754
false
0.005464
0.038251
0.016393
0.26776
0.027322
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
755f62a0d6629657e63584769a8a0fa6c38da7ec
161
py
Python
code/installation/THP/tools/scraper.py
CreativeInquiry/TeenieHarrisProject
c7c2e1730ade29ed086a4bd21d5d21315fcde5e5
[ "MIT" ]
null
null
null
code/installation/THP/tools/scraper.py
CreativeInquiry/TeenieHarrisProject
c7c2e1730ade29ed086a4bd21d5d21315fcde5e5
[ "MIT" ]
9
2019-03-27T18:42:41.000Z
2019-03-31T17:04:24.000Z
code/installation/THP/tools/scraper.py
CreativeInquiry/TeenieHarrisProject
c7c2e1730ade29ed086a4bd21d5d21315fcde5e5
[ "MIT" ]
null
null
null
import urllib.request import re x = str(urllib.request.urlopen('https://collection.cmoa.org/?q=6977').read()) results = re.findall(r'objects/',x) print(results)
26.833333
77
0.73913
25
161
4.76
0.76
0.218487
0
0
0
0
0
0
0
0
0
0.026667
0.068323
161
6
78
26.833333
0.766667
0
0
0
0
0
0.265432
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0.2
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
f33bd3ced5032dee21376c05b1076595c7787ac4
145
py
Python
examples/animated_plot.py
BuildJet/xBOUT
523a78c8fa62cc390cfb9e434fc152c51ba9db7c
[ "Apache-2.0" ]
15
2018-12-08T15:57:58.000Z
2022-03-22T11:40:25.000Z
examples/animated_plot.py
BuildJet/xBOUT
523a78c8fa62cc390cfb9e434fc152c51ba9db7c
[ "Apache-2.0" ]
210
2018-12-07T19:12:14.000Z
2022-03-28T13:06:05.000Z
examples/animated_plot.py
BuildJet/xBOUT
523a78c8fa62cc390cfb9e434fc152c51ba9db7c
[ "Apache-2.0" ]
13
2019-02-12T14:39:19.000Z
2021-09-07T18:54:30.000Z
from xbout import open_boutdataset bd = open_boutdataset().squeeze(drop=True) bd.bout.animate("n", animate_over="t", x="x", y="z", sep_pos=40)
24.166667
64
0.717241
25
145
4
0.8
0.3
0
0
0
0
0
0
0
0
0
0.015267
0.096552
145
5
65
29
0.748092
0
0
0
0
0
0.027586
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
f38de3a80f985c7768e949a3e90901f008b621f7
22
py
Python
src/modules/sample/cohort_selection/__init__.py
awkywoo/nb-practice
9684da9397a15cef820f667fc9e149e1aadbea1d
[ "MIT" ]
null
null
null
src/modules/sample/cohort_selection/__init__.py
awkywoo/nb-practice
9684da9397a15cef820f667fc9e149e1aadbea1d
[ "MIT" ]
null
null
null
src/modules/sample/cohort_selection/__init__.py
awkywoo/nb-practice
9684da9397a15cef820f667fc9e149e1aadbea1d
[ "MIT" ]
null
null
null
'''cohort selection'''
22
22
0.681818
2
22
7.5
1
0
0
0
0
0
0
0
0
0
0
0
0.045455
22
1
22
22
0.714286
0.727273
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
f3b5f076dfff6724ad100a3328ed878bd2fd72c8
31
py
Python
awspds_mosaic/landsat/handlers/__init__.py
RichardScottOZ/awspds-mosaic
32e53403ad76732b8af25a8f9ade7691b8e13dea
[ "BSD-2-Clause" ]
9
2020-02-10T19:11:51.000Z
2022-01-27T15:43:33.000Z
awspds_mosaic/landsat/handlers/__init__.py
RichardScottOZ/awspds-mosaic
32e53403ad76732b8af25a8f9ade7691b8e13dea
[ "BSD-2-Clause" ]
9
2020-02-10T19:12:11.000Z
2020-10-15T14:51:52.000Z
awspds_mosaic/landsat/handlers/__init__.py
RichardScottOZ/awspds-mosaic
32e53403ad76732b8af25a8f9ade7691b8e13dea
[ "BSD-2-Clause" ]
4
2020-03-03T04:35:30.000Z
2022-01-27T10:02:49.000Z
"""landsat_mosaic: handlers"""
15.5
30
0.709677
3
31
7
1
0
0
0
0
0
0
0
0
0
0
0
0.064516
31
1
31
31
0.724138
0.774194
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
f3bf01da8fef7f117b5d66b7b93ff619b95e65fb
347
py
Python
misc/monte_carlo_pi/monte_carlo_pi.py
jcockbain/daily-coding-problem
ddfe07ff599ee07a0c20bdbef16669858b7d5c25
[ "MIT" ]
null
null
null
misc/monte_carlo_pi/monte_carlo_pi.py
jcockbain/daily-coding-problem
ddfe07ff599ee07a0c20bdbef16669858b7d5c25
[ "MIT" ]
2
2020-04-04T14:25:48.000Z
2020-04-10T21:46:19.000Z
misc/monte_carlo_pi/monte_carlo_pi.py
jcockbain/daily-coding-problem
ddfe07ff599ee07a0c20bdbef16669858b7d5c25
[ "MIT" ]
null
null
null
from random import uniform from math import pow def generate(): return (uniform(-1, 1), uniform(-1, 1)) def is_in_circle(coords): return coords[0] * coords[0] + coords[1] * coords[1] < 1 def estimate(iterations): in_circle = len([x for x in range(iterations) if is_in_circle(generate())]) return 4 ...
21.6875
79
0.674352
54
347
4.222222
0.425926
0.140351
0.078947
0
0
0
0
0
0
0
0
0.035587
0.190202
347
15
80
23.133333
0.775801
0
0
0
1
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.222222
0.222222
0.888889
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
1
0
0
0
1
1
0
0
4
45e9a163688d99d24be1b763402c42e10b8558e4
73
py
Python
pypospack/io/aflowlib.py
eragasa/pypospack
21cdecaf3b05c87acc532d992be2c04d85bfbc22
[ "MIT" ]
4
2018-01-18T19:59:56.000Z
2020-08-25T11:56:52.000Z
mexm/io/aflowlib.py
eragasa/mexm-base
c8d84057c483e1bd06bb8b2e835274f6a4cd61b9
[ "MIT" ]
1
2018-04-22T23:02:13.000Z
2018-04-22T23:02:13.000Z
mexm/io/aflowlib.py
eragasa/mexm-base
c8d84057c483e1bd06bb8b2e835274f6a4cd61b9
[ "MIT" ]
1
2019-09-14T07:04:42.000Z
2019-09-14T07:04:42.000Z
# this contains directions on how to integrate aflowlib into pypospack
18.25
70
0.808219
10
73
5.9
1
0
0
0
0
0
0
0
0
0
0
0
0.178082
73
3
71
24.333333
0.983333
0.931507
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
340910f4a4c7d91a17abae35ff047ae7865dad24
757
py
Python
config_reader.py
isspek/veracity-detection
9368309722bead209e49e52c206758e3d173092a
[ "MIT" ]
null
null
null
config_reader.py
isspek/veracity-detection
9368309722bead209e49e52c206758e3d173092a
[ "MIT" ]
null
null
null
config_reader.py
isspek/veracity-detection
9368309722bead209e49e52c206758e3d173092a
[ "MIT" ]
null
null
null
from configparser import ConfigParser from pathlib import Path def get_project_root() -> Path: """Returns project root folder.""" return Path(__file__).parent root = get_project_root() config = ConfigParser() config.read(root/'config.ini') def get_final_key(): return root/config['RumourEval2019']['fin...
22.264706
60
0.742404
89
757
6.067416
0.337079
0.148148
0.177778
0.333333
0.137037
0
0
0
0
0
0
0.037707
0.124174
757
33
61
22.939394
0.776772
0.036988
0
0
0
0
0.232365
0
0
0
0
0
0
1
0.368421
false
0
0.105263
0.315789
0.842105
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
341380ac4b09b8087c4616f99f52744213971890
203
py
Python
tests/test_encoder.py
wikimedia/mediawiki-services-similar-users
dcae8be6ce57d6eecbdbf4e2e3e8dddcbaf17da9
[ "MIT" ]
null
null
null
tests/test_encoder.py
wikimedia/mediawiki-services-similar-users
dcae8be6ce57d6eecbdbf4e2e3e8dddcbaf17da9
[ "MIT" ]
null
null
null
tests/test_encoder.py
wikimedia/mediawiki-services-similar-users
dcae8be6ce57d6eecbdbf4e2e3e8dddcbaf17da9
[ "MIT" ]
null
null
null
from similar_users.factory import BinaryJSONEncoder import json def test_binary_jsonencoder(): data = {'key1': b"binary_value", "key2": "value"} assert json.dumps(data, cls=BinaryJSONEncoder)
22.555556
53
0.748768
25
203
5.92
0.76
0
0
0
0
0
0
0
0
0
0
0.011429
0.137931
203
8
54
25.375
0.834286
0
0
0
0
0
0.123153
0
0
0
0
0
0.2
1
0.2
false
0
0.4
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
34179bd94a3ff584b7767f823f5ebb2e3a75a8eb
141
py
Python
hadar_dashboard/__init__.py
hadar-simulator/jupyter-dashboard
092dcaf1f823f497c846ca53338bd74b060efa84
[ "Apache-2.0" ]
null
null
null
hadar_dashboard/__init__.py
hadar-simulator/jupyter-dashboard
092dcaf1f823f497c846ca53338bd74b060efa84
[ "Apache-2.0" ]
null
null
null
hadar_dashboard/__init__.py
hadar-simulator/jupyter-dashboard
092dcaf1f823f497c846ca53338bd74b060efa84
[ "Apache-2.0" ]
null
null
null
from hadar_dashboard.dashboard import dashboard import hadar as hd # Dashboard use the same version than hadar __version__ = hd.__version__
23.5
47
0.829787
20
141
5.4
0.55
0.277778
0
0
0
0
0
0
0
0
0
0
0.141844
141
5
48
28.2
0.892562
0.29078
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
342c75611a2c19cb49865baa2b8b53736e49366c
83
py
Python
moonshine/beer/apps.py
ivelintod/moonshine
5e9598fc61bc41a47ef9525f1d62d34fed02664a
[ "MIT" ]
null
null
null
moonshine/beer/apps.py
ivelintod/moonshine
5e9598fc61bc41a47ef9525f1d62d34fed02664a
[ "MIT" ]
10
2020-02-12T00:00:15.000Z
2022-03-11T23:44:08.000Z
moonshine/beer/apps.py
ivelintod/moonshine
5e9598fc61bc41a47ef9525f1d62d34fed02664a
[ "MIT" ]
6
2019-10-10T13:04:33.000Z
2020-09-02T14:11:31.000Z
from django.apps import AppConfig class BeerConfig(AppConfig): name = 'beer'
13.833333
33
0.73494
10
83
6.1
0.9
0
0
0
0
0
0
0
0
0
0
0
0.180723
83
5
34
16.6
0.897059
0
0
0
0
0
0.048193
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
3430127d709831609940e660ce9803e76e7c4aab
148
py
Python
20191016/StringSplit.py
a8252525/IoTTalk
07a84cf4278ea12d830aa3f71728a557f5b81899
[ "MIT" ]
null
null
null
20191016/StringSplit.py
a8252525/IoTTalk
07a84cf4278ea12d830aa3f71728a557f5b81899
[ "MIT" ]
null
null
null
20191016/StringSplit.py
a8252525/IoTTalk
07a84cf4278ea12d830aa3f71728a557f5b81899
[ "MIT" ]
null
null
null
if __name__ == '__main__': Str1 = '14:59~15:20' StrList = Str1.split('~') print(StrList) print(StrList[0]) print(StrList[1])
14.8
29
0.567568
19
148
4
0.684211
0.473684
0
0
0
0
0
0
0
0
0
0.107143
0.243243
148
9
30
16.444444
0.571429
0
0
0
0
0
0.136986
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
343bb3adb958bd012389879b6a2f6e52e133fe3c
30,519
py
Python
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_wd_oper.py
tkamata-test/ydk-py
b637e7853a8edbbd31fbc05afa3aa4110b31c5f9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_wd_oper.py
tkamata-test/ydk-py
b637e7853a8edbbd31fbc05afa3aa4110b31c5f9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_wd_oper.py
tkamata-test/ydk-py
b637e7853a8edbbd31fbc05afa3aa4110b31c5f9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
""" Cisco_IOS_XR_wd_oper This module contains a collection of YANG definitions for Cisco IOS\-XR wd package operational data. This module contains definitions for the following management objects\: watchdog\: Watchdog information Copyright (c) 2013\-2016 by Cisco Systems, Inc. All rights reserved. """ import r...
34.214126
170
0.445853
2,676
30,519
4.880419
0.06577
0.045329
0.056662
0.042266
0.776953
0.736677
0.709495
0.696095
0.685069
0.675804
0
0.022936
0.482847
30,519
891
171
34.252525
0.804537
0.234706
0
0.727027
0
0.005405
0.090482
0.049354
0
0
0
0
0
1
0.167568
false
0
0.051351
0.005405
0.535135
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
34556d97a7998017fe9971f706b0421d23048729
118
py
Python
graphanalyzer/forms.py
sergiopaniego/TwitterGraphAnalyzer
c40bc2c8505ecbb7466c9635bc8ae7bd89d90199
[ "Apache-2.0" ]
2
2018-11-23T17:17:11.000Z
2021-05-08T09:14:23.000Z
graphanalyzer/forms.py
sergiopaniego/TwitterGraphAnalyzer
c40bc2c8505ecbb7466c9635bc8ae7bd89d90199
[ "Apache-2.0" ]
null
null
null
graphanalyzer/forms.py
sergiopaniego/TwitterGraphAnalyzer
c40bc2c8505ecbb7466c9635bc8ae7bd89d90199
[ "Apache-2.0" ]
null
null
null
from django import forms class HashtagForm(forms.Form): hashtag = forms.CharField(label='hashtag', max_length=50)
29.5
61
0.771186
16
118
5.625
0.8125
0
0
0
0
0
0
0
0
0
0
0.019231
0.118644
118
4
61
29.5
0.846154
0
0
0
0
0
0.058824
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
3463dbdbca267688eae9b722df651cb5dd42b6f4
230
py
Python
tests/test_monitoring.py
jagadeesh6jaga/vakyansh-realtime-server
a914adb29570ded792f4692c595527492c99b8c6
[ "MIT" ]
4
2021-06-18T18:05:09.000Z
2022-03-09T20:43:50.000Z
tests/test_monitoring.py
jagadeesh6jaga/vakyansh-realtime-server
a914adb29570ded792f4692c595527492c99b8c6
[ "MIT" ]
2
2021-06-21T05:40:50.000Z
2022-03-03T10:28:12.000Z
tests/test_monitoring.py
jagadeesh6jaga/vakyansh-realtime-server
a914adb29570ded792f4692c595527492c99b8c6
[ "MIT" ]
5
2021-06-09T12:44:07.000Z
2022-03-01T05:49:01.000Z
from src.monitoring import monitor @monitor def tryThis(): tryThisToo() print('function called try this') @monitor def tryThisToo(): print('function called try this too') if __name__ == '__main__': tryThis()
13.529412
41
0.682609
27
230
5.518519
0.62963
0.134228
0.308725
0.389262
0.483221
0.483221
0
0
0
0
0
0
0.204348
230
16
42
14.375
0.814208
0
0
0.2
0
0
0.26087
0
0
0
0
0
0
1
0.2
true
0
0.1
0
0.3
0.2
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
34723e59d6aff9ff8fff724de9122de43bc25fa9
274
py
Python
pypal_api/exceptions.py
IvanCampos11/Python-Package
761a6fc1c5574640936382f676109c92fca17868
[ "MIT" ]
1
2021-12-06T17:28:37.000Z
2021-12-06T17:28:37.000Z
pypal_api/exceptions.py
IvanCampos11/Python-Package
761a6fc1c5574640936382f676109c92fca17868
[ "MIT" ]
1
2021-11-30T20:11:11.000Z
2021-11-30T20:11:48.000Z
pypal_api/exceptions.py
IvanCampos11/Python-Package
761a6fc1c5574640936382f676109c92fca17868
[ "MIT" ]
null
null
null
class InvalidInputError(Exception): """ This will be raised when one tries to input a type thats not in its list of types that can be used. """ def __init__(self, message): self.message = message def __str__(self): return self.message
30.444444
71
0.653285
38
274
4.5
0.789474
0.192982
0
0
0
0
0
0
0
0
0
0
0.273723
274
9
72
30.444444
0.859296
0.361314
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0
0.2
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
3482ed9f7d533ec5e99c7c8efe5b1438e534bdd9
458
py
Python
previewers/event/EventWaiter.py
C3RV1/LaytonEditor
51e1a9a372a8acdaa4183ae008235a721dc56cdc
[ "Unlicense" ]
6
2019-12-24T00:18:54.000Z
2022-02-28T17:09:22.000Z
previewers/event/EventWaiter.py
C3RV1/LaytonEditor
51e1a9a372a8acdaa4183ae008235a721dc56cdc
[ "Unlicense" ]
1
2021-08-18T11:10:35.000Z
2021-08-18T17:32:21.000Z
previewers/event/EventWaiter.py
C3RV1/LaytonEditor
51e1a9a372a8acdaa4183ae008235a721dc56cdc
[ "Unlicense" ]
2
2021-01-17T10:42:48.000Z
2021-08-18T11:10:54.000Z
from pg_utils.rom.rom_extract import ORIGINAL_FPS class EventWaiter: def __init__(self): self.current_wait_time = 0 def wait(self, wait_frames): self.current_wait_time = wait_frames / ORIGINAL_FPS def busy(self): return self.current_wait_time > 0 def stop(self): self...
22.9
59
0.661572
65
458
4.307692
0.384615
0.235714
0.321429
0.407143
0.346429
0.275
0.192857
0
0
0
0
0.011799
0.259825
458
19
60
24.105263
0.814159
0
0
0.153846
0
0
0
0
0
0
0
0
0
1
0.384615
false
0
0.076923
0.076923
0.615385
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
cac503221315a737a6aaf1b08e6c81b1bfe90930
149
py
Python
python_programming/basics/internals.py
JoshuaTPritchett/30DaysCoding
b361a4cf38dea66b43231fabf43252d202440811
[ "Unlicense" ]
null
null
null
python_programming/basics/internals.py
JoshuaTPritchett/30DaysCoding
b361a4cf38dea66b43231fabf43252d202440811
[ "Unlicense" ]
null
null
null
python_programming/basics/internals.py
JoshuaTPritchett/30DaysCoding
b361a4cf38dea66b43231fabf43252d202440811
[ "Unlicense" ]
null
null
null
""" Holy shit python can compile code? Source code -> byte code -> runs in Virtual Machine PVM """ import py_compile py_compile.compile('basic.py')
18.625
55
0.731544
23
149
4.652174
0.695652
0.168224
0
0
0
0
0
0
0
0
0
0
0.154362
149
7
56
21.285714
0.849206
0.604027
0
0
0
0
0.16
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
caf7f85d2a48093f37a902f97a86b5911b5c76d7
157
py
Python
project/api/__init__.py
pmoran13800/rhgamestation-manager
dd5ca1190ae92455fce10a3475a9a14e684024d8
[ "MIT" ]
null
null
null
project/api/__init__.py
pmoran13800/rhgamestation-manager
dd5ca1190ae92455fce10a3475a9a14e684024d8
[ "MIT" ]
null
null
null
project/api/__init__.py
pmoran13800/rhgamestation-manager
dd5ca1190ae92455fce10a3475a9a14e684024d8
[ "MIT" ]
null
null
null
""" RHGamestation manager API Well in fact it's not really an API, this is mostly JSON views for some special jobs like executing some command scripts. """
26.166667
72
0.764331
26
157
4.615385
0.923077
0
0
0
0
0
0
0
0
0
0
0
0.178344
157
6
73
26.166667
0.930233
0.949045
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
1b066cf2132cc0bcf20a27dc35c2dc9bfda22de7
314
py
Python
GA/mutation.py
raj-1411/Deep-Convolutional-Neural-Networks-improvisation-with-applied-Genetic-Algorithm
bebac65cd82f977c68a865f527e33ceba4e6966a
[ "MIT" ]
null
null
null
GA/mutation.py
raj-1411/Deep-Convolutional-Neural-Networks-improvisation-with-applied-Genetic-Algorithm
bebac65cd82f977c68a865f527e33ceba4e6966a
[ "MIT" ]
null
null
null
GA/mutation.py
raj-1411/Deep-Convolutional-Neural-Networks-improvisation-with-applied-Genetic-Algorithm
bebac65cd82f977c68a865f527e33ceba4e6966a
[ "MIT" ]
null
null
null
import numpy as np def mutation(crossed_offsprings, num_mutations): mutation_id = np.random.randint(low=0, high=crossed_offsprings.shape[1],size=num_mutations) for n in range(crossed_offsprings.shape[0]): crossed_offsprings[n,mutation_id] = 1-crossed_offsprings[n,mutation_id] return crossed_offsprings
39.25
93
0.802548
47
314
5.12766
0.510638
0.423237
0.182573
0.215768
0.232365
0
0
0
0
0
0
0.014134
0.098726
314
8
94
39.25
0.837456
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
1b0a8d34df0a40cb136d16bd62a636736c817316
2,977
py
Python
pupa/tests/importers/test_disclosure_importer.py
influence-usa/pupa
5105c39a535ad401f7babe4eecb3861bed1f8326
[ "BSD-3-Clause" ]
null
null
null
pupa/tests/importers/test_disclosure_importer.py
influence-usa/pupa
5105c39a535ad401f7babe4eecb3861bed1f8326
[ "BSD-3-Clause" ]
3
2015-06-09T19:22:50.000Z
2015-06-09T21:41:22.000Z
pupa/tests/importers/test_disclosure_importer.py
influence-usa/pupa
5105c39a535ad401f7babe4eecb3861bed1f8326
[ "BSD-3-Clause" ]
null
null
null
import pytest from pupa.scrape import Disclosure as ScrapeDisclosure from pupa.importers import (DisclosureImporter, OrganizationImporter, PersonImporter, EventImporter) from opencivicdata.models import Jurisdiction def gd(): disclosure = ScrapeDisclosure( classification="lobby...
33.449438
87
0.640242
322
2,977
5.748447
0.248447
0.029173
0.068071
0.077796
0.74014
0.729876
0.729876
0.649379
0.649379
0.625608
0
0.015783
0.233792
2,977
88
88
33.829545
0.795704
0
0
0.545455
0
0
0.110178
0
0
0
0
0
0.075758
1
0.060606
false
0
0.393939
0
0.469697
0
0
0
0
null
0
0
0
0
1
1
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
1
0
0
0
0
4
1b0de19b76b00782e00cbfc97eaaa6509f0a2c4b
102
py
Python
docs/sklearndb.py
crazysal/chemml
300ed183c623fc8762ed2343e48c9e2ac5102c0f
[ "BSD-3-Clause" ]
108
2018-03-23T20:06:03.000Z
2022-01-06T19:32:46.000Z
docs/sklearndb.py
crazysal/chemml
300ed183c623fc8762ed2343e48c9e2ac5102c0f
[ "BSD-3-Clause" ]
18
2019-08-09T21:16:14.000Z
2022-02-14T21:52:06.000Z
docs/sklearndb.py
crazysal/chemml
300ed183c623fc8762ed2343e48c9e2ac5102c0f
[ "BSD-3-Clause" ]
28
2018-04-28T17:07:33.000Z
2022-02-28T07:22:56.000Z
import numpy as np from .containers import Input, Output, Parameter, req, regression_types, cv_types
25.5
81
0.803922
15
102
5.333333
0.866667
0
0
0
0
0
0
0
0
0
0
0
0.137255
102
3
82
34
0.909091
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
1b1893a31ff022af7687ec594a198d05644a34bb
144
py
Python
Python/2. Basic Data Types/01 - List Comprehensions.py
rosiejh/HackerRank
bfb07b8add04d3f3b67a61754db483f88a79e5a5
[ "Apache-2.0" ]
null
null
null
Python/2. Basic Data Types/01 - List Comprehensions.py
rosiejh/HackerRank
bfb07b8add04d3f3b67a61754db483f88a79e5a5
[ "Apache-2.0" ]
null
null
null
Python/2. Basic Data Types/01 - List Comprehensions.py
rosiejh/HackerRank
bfb07b8add04d3f3b67a61754db483f88a79e5a5
[ "Apache-2.0" ]
null
null
null
x, y, z, n = [int(input()) for _ in range(4)] print([[i, j, k] for i in range(x+1) for j in range(y+1) for k in range(z+1) if (i + j + k) != n])
72
98
0.534722
37
144
2.054054
0.432432
0.368421
0.078947
0
0
0
0
0
0
0
0
0.035714
0.222222
144
2
98
72
0.642857
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0.5
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
4
1b1c9eaa7d0345e4f3b35a1f4df5f5646da28e7c
182
py
Python
core/dbt/parser/models.py
pushpay/dbt
8b96de893af692bd77fe9eb9a8104317be7b5413
[ "Apache-2.0" ]
1
2022-01-09T19:33:25.000Z
2022-01-09T19:33:25.000Z
core/dbt/parser/models.py
pushpay/dbt
8b96de893af692bd77fe9eb9a8104317be7b5413
[ "Apache-2.0" ]
1
2019-02-14T20:10:46.000Z
2019-02-19T13:06:38.000Z
core/dbt/parser/models.py
pushpay/dbt
8b96de893af692bd77fe9eb9a8104317be7b5413
[ "Apache-2.0" ]
1
2019-04-16T10:51:10.000Z
2019-04-16T10:51:10.000Z
from dbt.parser.base_sql import BaseSqlParser class ModelParser(BaseSqlParser): @classmethod def get_compiled_path(cls, name, relative_path): return relative_path
20.222222
52
0.763736
22
182
6.090909
0.818182
0.179104
0
0
0
0
0
0
0
0
0
0
0.175824
182
8
53
22.75
0.893333
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
4
1b391d892fa4d9147a44c3fe3bea515019ee5835
215
py
Python
app/data/__init__.py
dwreeves/flagging
32897f579a2528c51dae04d1ac5311cfd9cf1836
[ "MIT" ]
null
null
null
app/data/__init__.py
dwreeves/flagging
32897f579a2528c51dae04d1ac5311cfd9cf1836
[ "MIT" ]
null
null
null
app/data/__init__.py
dwreeves/flagging
32897f579a2528c51dae04d1ac5311cfd9cf1836
[ "MIT" ]
null
null
null
# flake8: noqa """" The data module contains exactly what you'd expect: everything related to data processing, collection, and storage. """ from .database import db # Register to metadata. from .models import _all
21.5
78
0.75814
30
215
5.4
0.866667
0
0
0
0
0
0
0
0
0
0
0.005525
0.15814
215
9
79
23.888889
0.889503
0.711628
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
1b53b346083c274f7d4ed2f5d4409591a375ca2d
56
py
Python
edit/core/__init__.py
tpoisonooo/basicVSR_mge
53df836a7dcc075083ef7c9ff7cabea69fec3192
[ "Apache-2.0" ]
28
2021-03-23T09:00:33.000Z
2022-03-10T03:55:00.000Z
edit/core/__init__.py
tpoisonooo/basicVSR_mge
53df836a7dcc075083ef7c9ff7cabea69fec3192
[ "Apache-2.0" ]
2
2021-04-17T20:08:55.000Z
2022-02-01T17:48:55.000Z
edit/core/__init__.py
tpoisonooo/basicVSR_mge
53df836a7dcc075083ef7c9ff7cabea69fec3192
[ "Apache-2.0" ]
5
2021-05-19T07:35:56.000Z
2022-01-13T02:11:50.000Z
from .optimizer import build_optimizers, MGE_OPTIMIZERS
28
55
0.875
7
56
6.714286
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.089286
56
1
56
56
0.921569
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
1b5a68e2c0cdcb3414164090689114247fcee571
319
py
Python
pytpp/attributes/flow_action_team_owner_approval.py
Venafi/pytpp
42af655b2403b8c9447c86962abd4aaa0201f646
[ "MIT" ]
4
2022-02-04T23:58:55.000Z
2022-02-15T18:53:08.000Z
pytpp/attributes/flow_action_team_owner_approval.py
Venafi/pytpp
42af655b2403b8c9447c86962abd4aaa0201f646
[ "MIT" ]
null
null
null
pytpp/attributes/flow_action_team_owner_approval.py
Venafi/pytpp
42af655b2403b8c9447c86962abd4aaa0201f646
[ "MIT" ]
null
null
null
from pytpp.attributes._helper import IterableMeta from pytpp.attributes.flow_action_config_read_approvers import FlowActionConfigReadApproversAttributes class FlowActionTeamOwnerApprovalAttributes(FlowActionConfigReadApproversAttributes, metaclass=IterableMeta): __config_class__ = "Flow Action Team Owner Approval"
45.571429
109
0.896552
28
319
9.857143
0.642857
0.065217
0.137681
0
0
0
0
0
0
0
0
0
0.065831
319
6
110
53.166667
0.926175
0
0
0
0
0
0.097179
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
1b61893c070621b4a52707ea8b3bdce381fab3b6
10,297
py
Python
tests/test_formatter.py
nikitanovosibirsk/valera
f2111f5b886fe58f6f8054c20de35102c4518114
[ "Apache-2.0" ]
null
null
null
tests/test_formatter.py
nikitanovosibirsk/valera
f2111f5b886fe58f6f8054c20de35102c4518114
[ "Apache-2.0" ]
2
2021-12-05T11:41:46.000Z
2022-02-01T15:13:19.000Z
tests/test_formatter.py
nikitanovosibirsk/valera
f2111f5b886fe58f6f8054c20de35102c4518114
[ "Apache-2.0" ]
null
null
null
import pytest from baby_steps import given, then, when from district42 import schema from th import PathHolder, _ from valera import Formatter from valera.errors import ( AlphabetValidationError, ExtraElementValidationError, ExtraKeyValidationError, LengthValidationError, MaxLengthValidationError, ...
32.380503
99
0.65456
1,228
10,297
5.348534
0.089577
0.075213
0.066991
0.070037
0.769488
0.75746
0.730359
0.71422
0.683465
0.665347
0
0.011265
0.206856
10,297
317
100
32.48265
0.792947
0
0
0.550847
0
0.063559
0.266583
0.002137
0
0
0
0
0.084746
1
0.088983
false
0
0.025424
0.004237
0.118644
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
1b64295f4ab1100cba4cc2d13e5c144e20437ab4
500
py
Python
Python/code/thread_demo.py
Ljazz/studyspace
b235e7d16fecf93dd64ad785833d4de5bb17db64
[ "MIT" ]
null
null
null
Python/code/thread_demo.py
Ljazz/studyspace
b235e7d16fecf93dd64ad785833d4de5bb17db64
[ "MIT" ]
null
null
null
Python/code/thread_demo.py
Ljazz/studyspace
b235e7d16fecf93dd64ad785833d4de5bb17db64
[ "MIT" ]
null
null
null
from threading import Thread, current_thread def thread_test(name): print("thread {} is running...".format(current_thread().name)) print("hello ", name) print("thread {} ended".format(current_thread().name)) if __name__ == '__main__': print("thread {} is running...".format(current_thread().name)) ...
29.411765
70
0.658
62
500
5.064516
0.370968
0.207006
0.242038
0.292994
0.585987
0.585987
0.585987
0.33758
0.33758
0.33758
0
0
0.156
500
16
71
31.25
0.744076
0
0
0.333333
0
0
0.23
0
0
0
0
0
0
1
0.083333
false
0
0.083333
0
0.166667
0.5
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
1b6a1a8b020372866e0ae6f6c0491d817248c97a
1,982
py
Python
rfim2d/tests/test_residuals.py
lxh3/rfim2d
5283d0df492ad20ecef30b17803437ca9155f8b3
[ "MIT" ]
null
null
null
rfim2d/tests/test_residuals.py
lxh3/rfim2d
5283d0df492ad20ecef30b17803437ca9155f8b3
[ "MIT" ]
null
null
null
rfim2d/tests/test_residuals.py
lxh3/rfim2d
5283d0df492ad20ecef30b17803437ca9155f8b3
[ "MIT" ]
null
null
null
from rfim2d import residuals r_list = [1., 2., 3.] Sigma_list = [1., 1., 1.] eta_list = [1., 1., 1.] def test_Sigma_residual(): func_type = 'power law' keys = ['rScale', 'rc', 'sScale', 'sigma'] fixed_dict = dict([('rScale', 1.)]) args = [r_list, Sigma_list, keys, fixed_dict, func_type] params = ...
30.96875
147
0.588295
270
1,982
4.114815
0.151852
0.027003
0.024302
0.050405
0.783078
0.761476
0.761476
0.744374
0.656166
0.656166
0
0.028463
0.202321
1,982
63
148
31.460317
0.674257
0.317356
0
0.5
0
0
0.1092
0
0
0
0
0
0
1
0.055556
false
0
0.027778
0
0.138889
0.111111
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
1b77560b34ed3076ab15f4796f20151b3d948bc5
137
py
Python
GPyNotebook/util.py
mzwiessele/GPyNotebook
668853c975d04f4f8ea9687921706497086e6f5e
[ "BSD-2-Clause" ]
1
2016-12-20T13:53:50.000Z
2016-12-20T13:53:50.000Z
GPyNotebook/util.py
mzwiessele/GPyNotebook
668853c975d04f4f8ea9687921706497086e6f5e
[ "BSD-2-Clause" ]
null
null
null
GPyNotebook/util.py
mzwiessele/GPyNotebook
668853c975d04f4f8ea9687921706497086e6f5e
[ "BSD-2-Clause" ]
null
null
null
''' Created on Mar 27, 2015 @author: maxz ''' def lim(x, perc=.1): r = x.max() - x.min() return x.min()-perc*r, x.max()+perc*r
13.7
41
0.532847
26
137
2.807692
0.615385
0.054795
0.136986
0
0
0
0
0
0
0
0
0.065421
0.218978
137
9
42
15.222222
0.616822
0.277372
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
1b7d7f85ef752702b6f5880a676a80a5eebf0879
80
py
Python
src/lib/_MozillaCookieJar.py
timmartin/skulpt
2e3a3fbbaccc12baa29094a717ceec491a8a6750
[ "MIT" ]
10
2015-11-13T17:02:40.000Z
2021-02-09T23:21:05.000Z
src/lib/_MozillaCookieJar.py
timmartin/skulpt
2e3a3fbbaccc12baa29094a717ceec491a8a6750
[ "MIT" ]
43
2015-06-03T17:59:23.000Z
2021-09-17T10:45:21.000Z
src/lib/_MozillaCookieJar.py
timmartin/skulpt
2e3a3fbbaccc12baa29094a717ceec491a8a6750
[ "MIT" ]
13
2017-07-02T03:16:46.000Z
2021-07-05T14:53:56.000Z
raise NotImplementedError("_MozillaCookieJar is not yet implemented in Skulpt")
40
79
0.85
9
80
7.444444
1
0
0
0
0
0
0
0
0
0
0
0
0.1
80
1
80
80
0.930556
0
0
0
0
0
0.625
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
1ba679f2a1e713e6dad3121aa14588edc28c0d76
181
py
Python
likes/apps.py
cxq1/c
52507017f676b4ebed561581ced0d4edf15cdc70
[ "MIT" ]
1
2019-03-22T05:54:24.000Z
2019-03-22T05:54:24.000Z
likes/apps.py
cxq1/c
52507017f676b4ebed561581ced0d4edf15cdc70
[ "MIT" ]
4
2021-04-08T18:40:39.000Z
2021-06-10T17:40:34.000Z
likes/apps.py
cxq1/c
52507017f676b4ebed561581ced0d4edf15cdc70
[ "MIT" ]
null
null
null
from django.apps import AppConfig class LikesConfig(AppConfig): name = 'likes' def ready(self): super(LikesConfig,self).ready() from .import signals
22.625
40
0.646409
20
181
5.85
0.7
0
0
0
0
0
0
0
0
0
0
0
0.259669
181
8
41
22.625
0.873134
0
0
0
0
0
0.028571
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.833333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
1bc3bceba00626b00593511b0ec9b1fc4de4d1b7
90
py
Python
main/classes/__init__.py
MHenderson1988/PyLineofsight
169a693320fd39ded4c76fd96b4613de2d0de85c
[ "MIT" ]
4
2021-07-05T09:19:42.000Z
2022-01-22T01:51:02.000Z
main/classes/__init__.py
MHenderson1988/PyLineofsight
169a693320fd39ded4c76fd96b4613de2d0de85c
[ "MIT" ]
3
2020-06-20T10:47:44.000Z
2022-01-11T19:50:27.000Z
main/classes/__init__.py
MHenderson1988/PyLineofsight
169a693320fd39ded4c76fd96b4613de2d0de85c
[ "MIT" ]
2
2020-06-20T10:23:36.000Z
2022-01-11T16:14:30.000Z
class Location: pass class DecimalLocation: pass class GridLocation: pass
8.181818
22
0.688889
9
90
6.888889
0.555556
0.290323
0
0
0
0
0
0
0
0
0
0
0.277778
90
10
23
9
0.953846
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
4