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
6118e7fda91bde938dee6b698fa6a4aabd161955
203
py
Python
BOJ_Solved/BOJ-16199.py
CodingLeeSeungHoon/Python_Algorithm_TeamNote
1e92986999b45aa9951e12e67b23062e410e9b36
[ "MIT" ]
7
2021-11-19T14:50:59.000Z
2022-02-25T20:00:20.000Z
BOJ_Solved/BOJ-16199.py
CodingLeeSeungHoon/Python_Algorithm_TeamNote
1e92986999b45aa9951e12e67b23062e410e9b36
[ "MIT" ]
null
null
null
BOJ_Solved/BOJ-16199.py
CodingLeeSeungHoon/Python_Algorithm_TeamNote
1e92986999b45aa9951e12e67b23062e410e9b36
[ "MIT" ]
null
null
null
""" 백준 16199번 : 나이 계산하기 """ by, bm, bd = map(int, input().split()) ny, nm, nd = map(int, input().split()) print(ny-by if nm > bm or (nm == bm and nd >= bd) else ny - by - 1) print(ny-by+1) print(ny-by)
20.3
67
0.561576
41
203
2.780488
0.487805
0.140351
0.236842
0.280702
0.210526
0.210526
0
0
0
0
0
0.04321
0.20197
203
10
68
20.3
0.660494
0.093596
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0.6
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
4
b6403b5b551eb96f0589f21350fa46bb652f4f67
195
py
Python
modules/sojobs/punctuation.py
susumuasaga/Python-Web-Scraping-Cookbook
dcb6241c5ead11070648b9c829b18f4e0d90f464
[ "MIT" ]
1
2019-09-29T13:58:54.000Z
2019-09-29T13:58:54.000Z
modules/sojobs/punctuation.py
MindaugasVaitkus2/Python-Web-Scraping-Cookbook
dcb6241c5ead11070648b9c829b18f4e0d90f464
[ "MIT" ]
null
null
null
modules/sojobs/punctuation.py
MindaugasVaitkus2/Python-Web-Scraping-Cookbook
dcb6241c5ead11070648b9c829b18f4e0d90f464
[ "MIT" ]
null
null
null
def remove_punctuation(tokens): punctuation = [':', ',', '.', "``", "''", '(', ')', '-', '!', '#', '&', '/', '\\', ';', '?'] return [token for token in tokens if token not in punctuation]
65
96
0.451282
16
195
5.4375
0.625
0
0
0
0
0
0
0
0
0
0
0
0.189744
195
3
97
65
0.550633
0
0
0
0
0
0.091837
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
b671b370e758658de3f461fdb7bc3a07e8a24613
159
py
Python
python/config.py
11bio/examples
5d5c243085f2cfb23379ef85e7805d673187d896
[ "MIT" ]
null
null
null
python/config.py
11bio/examples
5d5c243085f2cfb23379ef85e7805d673187d896
[ "MIT" ]
null
null
null
python/config.py
11bio/examples
5d5c243085f2cfb23379ef85e7805d673187d896
[ "MIT" ]
null
null
null
class Config(): API_KEY = '9b680a8b-22d4-4069-b0e6-f6cc97cd9d71' API_URL = 'https://api.demo.11b.io' API_ACCOUNT = 'A00-000-030' config = Config()
26.5
52
0.666667
23
159
4.478261
0.782609
0
0
0
0
0
0
0
0
0
0
0.225564
0.163522
159
6
53
26.5
0.548872
0
0
0
0
0
0.4375
0.225
0
0
0
0
0
1
0
false
0
0
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
b6b3001be5012435124071b4f814710eb2bbc6a3
169
py
Python
preprocessing/serie a/src/top-scorers.py
adrianomundo/football-data-visualization
69725d96a3b7c8225703cd7837b8668437b1fe49
[ "Apache-2.0" ]
null
null
null
preprocessing/serie a/src/top-scorers.py
adrianomundo/football-data-visualization
69725d96a3b7c8225703cd7837b8668437b1fe49
[ "Apache-2.0" ]
4
2021-06-08T22:46:18.000Z
2022-03-12T00:51:33.000Z
preprocessing/serie a/src/top-scorers.py
adrianomundo/football-data-visualization
69725d96a3b7c8225703cd7837b8668437b1fe49
[ "Apache-2.0" ]
null
null
null
import requests import json from retriever_library import get_top_scoreres import time import pandas as pd import numpy as np data_path = "../data/" get_top_scoreres()
16.9
46
0.810651
27
169
4.851852
0.62963
0.091603
0.21374
0
0
0
0
0
0
0
0
0
0.136095
169
10
47
16.9
0.89726
0
0
0
0
0
0.047059
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
fcd5d2da6a3ebed8826439410d9e468e44f33588
586
py
Python
sympycore/calculus/tests/test_pickle.py
radovankavicky/pymaclab
21da758f64ed0b62969c9289576f677e977cfd98
[ "Apache-2.0" ]
96
2015-01-25T05:59:56.000Z
2021-12-29T14:05:22.000Z
sympycore/calculus/tests/test_pickle.py
1zinnur9/pymaclab
21da758f64ed0b62969c9289576f677e977cfd98
[ "Apache-2.0" ]
3
2015-12-17T19:25:46.000Z
2018-06-19T07:05:20.000Z
sympycore/calculus/tests/test_pickle.py
1zinnur9/pymaclab
21da758f64ed0b62969c9289576f677e977cfd98
[ "Apache-2.0" ]
36
2016-01-31T15:22:01.000Z
2021-03-29T07:03:07.000Z
import os import tempfile import pickle from sympycore import * def pickler(obj): fn = tempfile.mktemp() f = open(fn, 'wb') pickle.dump(obj, f) f.close() f = open(fn, 'rb') obj2 = pickle.load(f) f.close() os.remove(fn) return obj2 def test_pickle(): x, y, z = map(Symbo...
14.65
48
0.566553
92
586
3.597826
0.369565
0.21148
0.23565
0.287009
0.386707
0.283988
0.145015
0
0
0
0
0.01182
0.278157
586
39
49
15.025641
0.770686
0
0
0.230769
0
0
0.011966
0
0
0
0
0
0.192308
0
null
null
0
0.153846
null
null
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
1
0
0
0
0
0
0
0
0
4
fcddcbb822bd6087018aec1bdf2e74582aed3a37
557
py
Python
tests/unit/baskerville_tests/helpers/utils.py
equalitie/baskerville
433551d03aee85d5c983ff6b25b388155b54190d
[ "CC-BY-4.0" ]
25
2020-05-19T11:20:47.000Z
2021-09-20T03:15:28.000Z
tests/unit/baskerville_tests/helpers/utils.py
mkaranasou/baskerville
433551d03aee85d5c983ff6b25b388155b54190d
[ "CC-BY-4.0" ]
29
2020-05-26T13:21:48.000Z
2021-09-21T06:52:28.000Z
tests/unit/baskerville_tests/helpers/utils.py
mkaranasou/baskerville
433551d03aee85d5c983ff6b25b388155b54190d
[ "CC-BY-4.0" ]
4
2020-06-11T07:00:16.000Z
2021-05-07T09:10:36.000Z
# Copyright (c) 2020, eQualit.ie inc. # All rights reserved. # # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. import os def get_default_data_path(): """ Returns the absolute path to the data folder :return: """ re...
22.28
71
0.67684
82
557
4.426829
0.52439
0.066116
0.071625
0.121212
0.446281
0.446281
0.446281
0.275482
0.275482
0.275482
0
0.009009
0.202873
557
24
72
23.208333
0.808559
0.520646
0
0
0
0
0.473214
0.473214
0
0
0
0
0
1
0.4
true
0
0.2
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
1
1
0
0
0
1
0
0
4
1e11d715ba96d65fac188a1a53eecd4e3e65e8ae
2,654
py
Python
blog/migrations/0002_auto_20171010_0451.py
OleMissSquad/MyBlog
72902a00d134e662834ab76f75f240a0616265cf
[ "MIT" ]
null
null
null
blog/migrations/0002_auto_20171010_0451.py
OleMissSquad/MyBlog
72902a00d134e662834ab76f75f240a0616265cf
[ "MIT" ]
11
2017-09-17T16:53:23.000Z
2017-10-06T13:47:14.000Z
blog/migrations/0002_auto_20171010_0451.py
khoa102/MyBlog
72902a00d134e662834ab76f75f240a0616265cf
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2017-10-10 04:51 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0001_initial'), ] operations = [ migrations.AddField( m...
30.860465
90
0.55049
244
2,654
5.852459
0.278689
0.088235
0.227591
0.264006
0.667367
0.664566
0.605742
0.571429
0.571429
0.387955
0
0.017416
0.329314
2,654
85
91
31.223529
0.784831
0.025622
0
0.705128
1
0
0.084785
0
0
0
0
0
0
1
0
false
0
0.025641
0
0.064103
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
1e344646dbf7cde801b7cfa2197daeb62ceecfd9
150
py
Python
dropbox_webclient/dropbox_webclient/uploader/forms.py
marciogualtieri/DropBoxWebClient
6a7237af7bfc66e9c05e9826c56e8554bd592f2d
[ "MIT" ]
null
null
null
dropbox_webclient/dropbox_webclient/uploader/forms.py
marciogualtieri/DropBoxWebClient
6a7237af7bfc66e9c05e9826c56e8554bd592f2d
[ "MIT" ]
null
null
null
dropbox_webclient/dropbox_webclient/uploader/forms.py
marciogualtieri/DropBoxWebClient
6a7237af7bfc66e9c05e9826c56e8554bd592f2d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from django import forms class UploadForm(forms.Form): upload_file = forms.FileField(label='Select a File to Upload')
16.666667
66
0.693333
21
150
4.904762
0.809524
0
0
0
0
0
0
0
0
0
0
0.008065
0.173333
150
8
67
18.75
0.822581
0.14
0
0
0
0
0.181102
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
1e39202960863ac84c721138a1a62acb6e847d34
211
py
Python
remoteworkEval/serializers.py
boussier/CCPSMV_dashboard
5a0ac667713f7fd9e3e93c2a83e3da6f3657323f
[ "MIT" ]
null
null
null
remoteworkEval/serializers.py
boussier/CCPSMV_dashboard
5a0ac667713f7fd9e3e93c2a83e3da6f3657323f
[ "MIT" ]
null
null
null
remoteworkEval/serializers.py
boussier/CCPSMV_dashboard
5a0ac667713f7fd9e3e93c2a83e3da6f3657323f
[ "MIT" ]
null
null
null
from rest_framework import serializers from .models import RemoteworkEval class RemoteworkEvalSeriailzer(serializers.ModelSerializer): class Meta: model = RemoteworkEval fields = '__all__'
23.444444
60
0.763033
19
211
8.210526
0.736842
0
0
0
0
0
0
0
0
0
0
0
0.189573
211
8
61
26.375
0.912281
0
0
0
0
0
0.033175
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
1e6230945b49ead032c544907779781cc3158ad6
44
py
Python
s3pypi/__init__.py
johnwatsonncr/s3pypi
fe752b4a1d2370d2b34b28d64c6f078928b3c6cc
[ "MIT" ]
null
null
null
s3pypi/__init__.py
johnwatsonncr/s3pypi
fe752b4a1d2370d2b34b28d64c6f078928b3c6cc
[ "MIT" ]
null
null
null
s3pypi/__init__.py
johnwatsonncr/s3pypi
fe752b4a1d2370d2b34b28d64c6f078928b3c6cc
[ "MIT" ]
4
2020-04-28T02:30:28.000Z
2022-01-02T01:07:32.000Z
__prog__ = "s3pypi" __version__ = u"0.10.0"
14.666667
23
0.681818
7
44
3.142857
0.857143
0
0
0
0
0
0
0
0
0
0
0.131579
0.136364
44
2
24
22
0.447368
0
0
0
0
0
0.272727
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
1e745d3008b7876102524dd7e24b38ccfc8f1755
189
py
Python
Keywords/HardwareControl/motor.py
cassie01/PumpLibrary
c2a4884a36f4c6c6552fa942143ae5d21c120b41
[ "Apache-2.0" ]
null
null
null
Keywords/HardwareControl/motor.py
cassie01/PumpLibrary
c2a4884a36f4c6c6552fa942143ae5d21c120b41
[ "Apache-2.0" ]
null
null
null
Keywords/HardwareControl/motor.py
cassie01/PumpLibrary
c2a4884a36f4c6c6552fa942143ae5d21c120b41
[ "Apache-2.0" ]
null
null
null
# -*-coding:utf-8 -*- from Keywords.keywordgroup import KeywordGroup class Motor(KeywordGroup): """ This class is used to define all related methods with motor. """ pass
17.181818
64
0.671958
23
189
5.521739
0.826087
0
0
0
0
0
0
0
0
0
0
0.006803
0.222222
189
10
65
18.9
0.857143
0.428571
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
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
1
1
0
0
0
0
4
1ebdd915cbe9ac8fea444af41dd65777d6e7cf2a
189
py
Python
cgan/converttomono.py
donaldjohnroy/CGAN-with-LFW-dataset
bab31252ae575fcff8589ec5f5b79eca6338c34c
[ "MIT" ]
null
null
null
cgan/converttomono.py
donaldjohnroy/CGAN-with-LFW-dataset
bab31252ae575fcff8589ec5f5b79eca6338c34c
[ "MIT" ]
null
null
null
cgan/converttomono.py
donaldjohnroy/CGAN-with-LFW-dataset
bab31252ae575fcff8589ec5f5b79eca6338c34c
[ "MIT" ]
null
null
null
from PIL import Image image_file = Image.open("convert_image.jpg") # open colour image image_file = image_file.convert('1') # convert image to black and white image_file.save('result.jpg')
47.25
71
0.772487
31
189
4.548387
0.516129
0.255319
0.198582
0.269504
0
0
0
0
0
0
0
0.005988
0.116402
189
4
72
47.25
0.838323
0.26455
0
0
0
0
0.20438
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
1ec8eedd03c15f1a7d24a11f984d7e583f3383c1
39
py
Python
webinterface/src/__init__.py
FoxyRabbit67/enigma2-plugins
f6b94012726931fdf28e80a26226aec612b350de
[ "Linux-OpenIB" ]
41
2016-01-21T17:54:44.000Z
2021-06-26T05:54:41.000Z
webinterface/src/__init__.py
FoxyRabbit67/enigma2-plugins
f6b94012726931fdf28e80a26226aec612b350de
[ "Linux-OpenIB" ]
22
2016-11-16T11:25:26.000Z
2021-12-13T09:13:06.000Z
webinterface/src/__init__.py
FoxyRabbit67/enigma2-plugins
f6b94012726931fdf28e80a26226aec612b350de
[ "Linux-OpenIB" ]
62
2016-02-05T22:55:48.000Z
2022-03-12T21:48:22.000Z
import hashlib __version__ = "1.9.1"
7.8
21
0.692308
6
39
3.833333
0.833333
0
0
0
0
0
0
0
0
0
0
0.09375
0.179487
39
4
22
9.75
0.625
0
0
0
0
0
0.131579
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
94966fe2b8f5d072110539957fa88617e357f1d5
87
py
Python
Level1_Input_Output/10718.py
jaeheeLee17/BOJ_Algorithms
c14641693d7ef0f5bba0a6637166c7ceadb2a0be
[ "MIT" ]
null
null
null
Level1_Input_Output/10718.py
jaeheeLee17/BOJ_Algorithms
c14641693d7ef0f5bba0a6637166c7ceadb2a0be
[ "MIT" ]
null
null
null
Level1_Input_Output/10718.py
jaeheeLee17/BOJ_Algorithms
c14641693d7ef0f5bba0a6637166c7ceadb2a0be
[ "MIT" ]
null
null
null
def main(): print(("강한친구 대한육군" + "\n") * 2) if __name__ == "__main__": main()
14.5
35
0.505747
11
87
3.272727
0.818182
0
0
0
0
0
0
0
0
0
0
0.015385
0.252874
87
5
36
17.4
0.538462
0
0
0
0
0
0.218391
0
0
0
0
0
0
1
0.25
true
0
0
0
0.25
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
0
0
4
94a5c220b2456ad5c45fd7a72faaef980c52f7ab
1,126
py
Python
util/pfunc.py
thorwhalen/ut
353a4629c35a2cca76ef91a4d5209afe766433b4
[ "MIT" ]
4
2016-12-17T20:06:10.000Z
2021-11-19T04:45:29.000Z
util/pfunc.py
thorwhalen/ut
353a4629c35a2cca76ef91a4d5209afe766433b4
[ "MIT" ]
11
2021-01-06T05:35:11.000Z
2022-03-11T23:28:31.000Z
util/pfunc.py
thorwhalen/ut
353a4629c35a2cca76ef91a4d5209afe766433b4
[ "MIT" ]
3
2015-06-12T10:44:16.000Z
2021-07-26T18:39:47.000Z
"""Utils to work with functions""" __author__ = 'thor' import functools def compose(f, g): return lambda *a, **kw: f(g(*a, **kw)) def filter_kwargs_to_func_arguments(func, kwargs): return dict([(k, v) for k, v in kwargs.items() if k in func.__code__.co_varnames]) def multi_compose(x): return functoo...
22.979592
116
0.633215
161
1,126
4.304348
0.378882
0.08658
0.10101
0.082251
0.323232
0.290043
0.290043
0.251082
0.251082
0.126984
0
0
0.242451
1,126
48
117
23.458333
0.812427
0.30373
0
0.347826
0
0
0.005487
0
0
0
0
0
0
1
0.26087
false
0.086957
0.043478
0.130435
0.521739
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
4
94ca15002f7163007ae8a3be29de6127476c7f98
181
py
Python
Emmanuel ANENE/Phase 1/Python Basic 1/Day5/task1.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
6
2020-05-23T19:53:25.000Z
2021-05-08T20:21:30.000Z
Emmanuel ANENE/Phase 1/Python Basic 1/Day5/task1.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
8
2020-05-14T18:53:12.000Z
2020-07-03T00:06:20.000Z
Emmanuel ANENE/Phase 1/Python Basic 1/Day5/task1.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
39
2020-05-10T20:55:02.000Z
2020-09-12T17:40:59.000Z
from math import * num1 = int(input("Enter first digit: ")) num2 = int(input("Enter second digit: ")) def comDiv(num1, num2): return gcd(num1, num2) print(comDiv(num1, num2))
20.111111
41
0.674033
27
181
4.518519
0.592593
0.196721
0.213115
0
0
0
0
0
0
0
0
0.05298
0.165746
181
9
42
20.111111
0.754967
0
0
0
0
0
0.214286
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.166667
0.5
0.166667
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
0
1
0
0
0
4
94ccb26999b4924cdf4eae81fb1d96f3abe394cc
71
py
Python
addons/s3compatb3/__init__.py
tsukaeru/RDM-osf.io
2dc3e539322b6110e51772f8bd25ebdeb8e12d0e
[ "Apache-2.0" ]
11
2018-12-11T16:39:40.000Z
2022-02-26T09:51:32.000Z
addons/s3compatb3/__init__.py
tsukaeru/RDM-osf.io
2dc3e539322b6110e51772f8bd25ebdeb8e12d0e
[ "Apache-2.0" ]
52
2018-04-13T05:03:21.000Z
2022-03-22T02:56:19.000Z
addons/s3compatb3/__init__.py
tsukaeru/RDM-osf.io
2dc3e539322b6110e51772f8bd25ebdeb8e12d0e
[ "Apache-2.0" ]
16
2018-07-09T01:44:51.000Z
2021-06-30T01:57:16.000Z
default_app_config = 'addons.s3compatb3.apps.S3CompatB3AddonAppConfig'
35.5
70
0.873239
7
71
8.571429
1
0
0
0
0
0
0
0
0
0
0
0.058824
0.042254
71
1
71
71
0.823529
0
0
0
0
0
0.661972
0.661972
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
94f0ae8146cc53949498536b3f7430e706649ddd
38
py
Python
csv_tools/base/__init__.py
dwbzero/csv-tools
608409d9a221a9ae7956b6499fc4311b4b322f79
[ "MIT" ]
null
null
null
csv_tools/base/__init__.py
dwbzero/csv-tools
608409d9a221a9ae7956b6499fc4311b4b322f79
[ "MIT" ]
null
null
null
csv_tools/base/__init__.py
dwbzero/csv-tools
608409d9a221a9ae7956b6499fc4311b4b322f79
[ "MIT" ]
1
2020-12-05T20:03:56.000Z
2020-12-05T20:03:56.000Z
""" Support module for csv_tools. """
19
37
0.657895
5
38
4.8
1
0
0
0
0
0
0
0
0
0
0
0
0.157895
38
1
38
38
0.75
0.763158
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
a2035f3e876a48d1ee11f34aea963864bd3595b7
409
py
Python
components/__init__.py
auroua/Udacity_Continuous_Control
fcc21f8682b745f55c2900616eac632f430ab828
[ "MIT" ]
1
2019-11-24T13:33:52.000Z
2019-11-24T13:33:52.000Z
components/__init__.py
auroua/Udacity_Continuous_Control
fcc21f8682b745f55c2900616eac632f430ab828
[ "MIT" ]
null
null
null
components/__init__.py
auroua/Udacity_Continuous_Control
fcc21f8682b745f55c2900616eac632f430ab828
[ "MIT" ]
null
null
null
from .config_ppo import get_cfg_defaults from .config_ac2 import get_ac_cfg_defaults from .config_ppo_ac import get_ppo_ac_cfg_defaults from .envs import Task from .utils import device, to_np, tensor, layer_init, random_sample, Storage, get_episodes_count __all__ = (get_cfg_defaults, get_ac_cfg_defaults, Task, Storag...
40.9
96
0.819071
67
409
4.492537
0.358209
0.219269
0.172757
0.139535
0.372093
0.245847
0.245847
0.245847
0
0
0
0.002793
0.124694
409
9
97
45.444444
0.837989
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.714286
0
0.714286
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
bf9292b527e1b59ff6c4167d71a9b4b2e73d1b89
209
py
Python
demanage/organizations/admin.py
Egor4ik325/demanage
f5fd1d2ad264f6d2dc3c95322962569dc591f30c
[ "MIT" ]
null
null
null
demanage/organizations/admin.py
Egor4ik325/demanage
f5fd1d2ad264f6d2dc3c95322962569dc591f30c
[ "MIT" ]
1
2022-03-01T11:21:05.000Z
2022-03-01T11:21:05.000Z
demanage/organizations/admin.py
Egor4ik325/demanage
f5fd1d2ad264f6d2dc3c95322962569dc591f30c
[ "MIT" ]
null
null
null
from django.contrib import admin from demanage.organizations.models import Organization @admin.register(Organization) class OrganizationAdmin(admin.ModelAdmin): prepopulated_fields = {"slug": ["name"]}
23.222222
54
0.794258
22
209
7.5
0.772727
0
0
0
0
0
0
0
0
0
0
0
0.105263
209
8
55
26.125
0.882353
0
0
0
0
0
0.038278
0
0
0
0
0
0
1
0
false
0
0.4
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
bf9b6a32bb0c42c16b58683bedc07bb364180c62
2,227
py
Python
uPark_client/entities/user.py
GrassoMichele/uPark
d96310c165c3efa9b0251c51ababe06639c4570a
[ "MIT" ]
null
null
null
uPark_client/entities/user.py
GrassoMichele/uPark
d96310c165c3efa9b0251c51ababe06639c4570a
[ "MIT" ]
null
null
null
uPark_client/entities/user.py
GrassoMichele/uPark
d96310c165c3efa9b0251c51ababe06639c4570a
[ "MIT" ]
null
null
null
class User: def __init__(self, id = None, email = None, name = None, surname = None, password = None, wallet = 0.00, disability = False, active_account = False, id_user_category = 2): # id_user_category = 2 -> Student self._id = id self._email = email self._name = name self._surna...
28.189873
212
0.64167
278
2,227
4.766187
0.118705
0.05434
0.126792
0.067925
0.169057
0.101132
0.101132
0.05283
0
0
0
0.003049
0.263583
2,227
78
213
28.551282
0.804878
0.128873
0
0.208333
0
0.041667
0.131606
0.024352
0
0
0
0
0
1
0.354167
false
0.145833
0
0.1875
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
4
bfa22790c8d4dba36a8c661c7ce1ef5886f4e2a9
74
py
Python
__init__.py
LUke8544/Chinese-Python
4fc27b3e9ee67783c0ec321f3e939e29e005dd27
[ "MIT" ]
null
null
null
__init__.py
LUke8544/Chinese-Python
4fc27b3e9ee67783c0ec321f3e939e29e005dd27
[ "MIT" ]
null
null
null
__init__.py
LUke8544/Chinese-Python
4fc27b3e9ee67783c0ec321f3e939e29e005dd27
[ "MIT" ]
null
null
null
def 打印(a): print (a) def 系统(a): import os os.system(a)
10.571429
17
0.472973
13
74
2.692308
0.615385
0
0
0
0
0
0
0
0
0
0
0
0.378378
74
6
18
12.333333
0.76087
0
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0.2
0
0.6
0.2
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
bfc995d1ea6ee9a3bcee3447ef2dfb2bafa8086a
6,494
py
Python
tone_est_ok.py
amikey/audio_scripts
3c6adc3c4e2a338590bb69e2a13c954bfd8cec46
[ "MIT" ]
6
2016-05-29T23:20:17.000Z
2019-03-10T18:18:05.000Z
tone_est_ok.py
amikey/audio_scripts
3c6adc3c4e2a338590bb69e2a13c954bfd8cec46
[ "MIT" ]
null
null
null
tone_est_ok.py
amikey/audio_scripts
3c6adc3c4e2a338590bb69e2a13c954bfd8cec46
[ "MIT" ]
null
null
null
#!/Users/tkirke/anaconda/bin/python # -*- coding: utf-8 -*- import re,sys,os from math import sqrt,log,pi,sin,cos,atan2,floor import cmath from scipy import signal,fft import numpy # Quinn's method in # B. G. Quinn, "Estimating Frequency by Interpolation Using Fourier # Coefficients," IEEE Trans. Signal Processing, V...
30.92381
109
0.588081
1,177
6,494
3.107901
0.11215
0.110716
0.117277
0.06889
0.785675
0.72608
0.710771
0.692182
0.675232
0.653362
0
0.036507
0.236526
6,494
209
110
31.07177
0.701291
0.086079
0
0.680272
0
0
0.031757
0
0
0
0
0
0
0
null
null
0
0.034014
null
null
0.040816
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
1
0
0
0
0
0
0
0
0
4
449d9cc78562a4d8089443226af580e1b60e543f
115
py
Python
srcs/lexer/lexemes/number_lexeme.py
pomponchik/computor_v2
742b3f3b47c8d46806b2f733b4ec07ae63a23f00
[ "MIT" ]
null
null
null
srcs/lexer/lexemes/number_lexeme.py
pomponchik/computor_v2
742b3f3b47c8d46806b2f733b4ec07ae63a23f00
[ "MIT" ]
null
null
null
srcs/lexer/lexemes/number_lexeme.py
pomponchik/computor_v2
742b3f3b47c8d46806b2f733b4ec07ae63a23f00
[ "MIT" ]
null
null
null
from srcs.lexer.lexemes.abstract_lexeme import AbstractLexeme class NumberLexeme(AbstractLexeme): name = 'n'
19.166667
61
0.791304
13
115
6.923077
0.923077
0
0
0
0
0
0
0
0
0
0
0
0.130435
115
5
62
23
0.9
0
0
0
0
0
0.008696
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
44f7969285408536d6a09a0bde0555a8d3f3dd9a
17,301
py
Python
results.py
StannisZhou/rna_statistics
29e96845ae03d2b571fb2c69a9c642aa60c46391
[ "MIT" ]
null
null
null
results.py
StannisZhou/rna_statistics
29e96845ae03d2b571fb2c69a9c642aa60c46391
[ "MIT" ]
null
null
null
results.py
StannisZhou/rna_statistics
29e96845ae03d2b571fb2c69a9c642aa60c46391
[ "MIT" ]
null
null
null
from collections import defaultdict import matplotlib.pyplot as plt import numpy as np import pandas as pd from scipy.stats import hypergeom from sklearn.metrics import roc_auc_score, roc_curve from statsmodels.nonparametric.smoothers_lowess import lowess GROUP_NAMES = { 'Group_I_Introns': 'Group I Introns', ...
38.704698
88
0.565459
2,015
17,301
4.568238
0.091315
0.11157
0.102662
0.143726
0.83107
0.777404
0.74818
0.686257
0.681152
0.670071
0
0.006997
0.306052
17,301
446
89
38.79148
0.759703
0.003468
0
0.517327
0
0
0.167479
0.002436
0
0
0
0
0
1
0.022277
false
0
0.017327
0
0.064356
0
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
44fa232431252b465c02bc1391da70d7a159d203
1,830
py
Python
pylef/__init__.py
pfjarschel/pylef
9a577b94b9461e1057439dc3e46c6c5cee9da921
[ "MIT" ]
null
null
null
pylef/__init__.py
pfjarschel/pylef
9a577b94b9461e1057439dc3e46c6c5cee9da921
[ "MIT" ]
14
2017-03-08T17:25:39.000Z
2017-03-17T11:56:56.000Z
pylef/__init__.py
pfjarschel/pylef
9a577b94b9461e1057439dc3e46c6c5cee9da921
[ "MIT" ]
4
2017-03-14T12:41:08.000Z
2022-03-08T18:09:33.000Z
# -*- coding: utf-8 -*- """ PyLEF v0.1.0 Compilamos aqui as bibliotecas de aquisição de dados utilizados nos cursos do Laboratório de Ensino de Física (LEF) do Instituto de Física Gleb Wataghin na Unicamp. Este projeto tem como objetivo facilitar a comunicação com instrumentos utilizados nos cursos do IFGW. A com...
28.59375
67
0.719672
229
1,830
5.746725
0.554585
0.053191
0.028875
0.031915
0
0
0
0
0
0
0
0.018443
0.2
1,830
63
68
29.047619
0.880464
0.935519
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
44fca6cd6671636214df7f4a3944403755c27ea1
35
py
Python
nautobot_circuit_maintenance/tests/__init__.py
nautobot/nautobot-plugin-circuit-maintenance
f77c8a55756b41bd75a0837d68b5bac152753853
[ "Apache-2.0" ]
18
2021-05-13T19:02:32.000Z
2022-02-16T10:01:44.000Z
nautobot_circuit_maintenance/tests/__init__.py
nautobot/nautobot-plugin-circuit-maintenance
f77c8a55756b41bd75a0837d68b5bac152753853
[ "Apache-2.0" ]
83
2021-05-05T15:03:13.000Z
2022-03-07T13:54:43.000Z
nautobot_circuit_maintenance/tests/__init__.py
nautobot/nautobot-plugin-circuit-maintenance
f77c8a55756b41bd75a0837d68b5bac152753853
[ "Apache-2.0" ]
1
2021-12-05T21:07:25.000Z
2021-12-05T21:07:25.000Z
"""Test for Circuit Maintenace."""
17.5
34
0.685714
4
35
6
1
0
0
0
0
0
0
0
0
0
0
0
0.114286
35
1
35
35
0.774194
0.8
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
780bdf26696bb3990f2bcbedae7fe6adcc26e419
2,301
py
Python
clients/python-fastapi/generated/src/openapi_server/models/pipelinelatest_run.py
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
clients/python-fastapi/generated/src/openapi_server/models/pipelinelatest_run.py
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
clients/python-fastapi/generated/src/openapi_server/models/pipelinelatest_run.py
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
# coding: utf-8 from __future__ import annotations from datetime import date, datetime # noqa: F401 import re # noqa: F401 from typing import Any, Dict, List, Optional # noqa: F401 from pydantic import AnyUrl, BaseModel, EmailStr, validator # noqa: F401 from openapi_server.models.pipelinelatest_runartifacts impo...
42.611111
108
0.734463
275
2,301
5.985455
0.265455
0.054678
0.209599
0.282503
0.198663
0.094775
0.057108
0
0
0
0
0.007008
0.193829
2,301
53
109
43.415094
0.880323
0.548892
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.26087
0
0.956522
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
4
7870c2688fe6f6098919c7bed6dacd219fdd18af
108,311
py
Python
resources_rc.py
mysiar/seismic-fold-calculation-ui
3d308bf68c643ed65cffec76e76d204a8252f581
[ "MIT" ]
null
null
null
resources_rc.py
mysiar/seismic-fold-calculation-ui
3d308bf68c643ed65cffec76e76d204a8252f581
[ "MIT" ]
null
null
null
resources_rc.py
mysiar/seismic-fold-calculation-ui
3d308bf68c643ed65cffec76e76d204a8252f581
[ "MIT" ]
1
2021-01-30T12:27:23.000Z
2021-01-30T12:27:23.000Z
# -*- coding: utf-8 -*- # Resource object code # # Created by: The Resource Compiler for PyQt5 (Qt v5.15.2) # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore qt_resource_data = b"\ \x00\x00\x02\x20\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x10\x...
62.752607
129
0.726574
26,149
108,311
3.008069
0.01174
0.032571
0.025287
0.014341
0.083221
0.082649
0.080157
0.078288
0.077678
0.077678
0
0.314748
0.016739
108,311
1,725
130
62.788986
0.423839
0.001403
0
0.071387
0
0.939731
0.000009
0
0
1
0
0
0
1
0.00117
false
0
0.000585
0
0.001755
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
4
7877ee9fd93ae1c06fbf3b94827b2303c45d354f
7,296
py
Python
architectures.py
Vicent-xd/Residual_autoencoding
0aa22db424b4696a751882aaaf7669bfe0180e92
[ "MIT" ]
432
2016-02-14T04:10:32.000Z
2022-01-08T14:38:20.000Z
architectures.py
zhangqianhui/autoencoding_beyond_pixels
24aa0f20f1a73a3886551e065bbda818ad139ac2
[ "MIT" ]
13
2016-03-15T03:04:47.000Z
2020-09-23T11:51:35.000Z
architectures.py
zhangqianhui/autoencoding_beyond_pixels
24aa0f20f1a73a3886551e065bbda818ad139ac2
[ "MIT" ]
107
2016-02-19T13:32:44.000Z
2022-01-29T06:09:22.000Z
import numpy as np import deeppy as dp import deeppy.expr as ex import model.ae def affine(n_out, gain, wdecay=0.0, bias=0.0): if bias is None: return ex.nnet.Linear( n_out=n_out, weights=dp.Parameter(dp.AutoFiller(gain), weight_decay=wdecay), ) else: return ex...
30.14876
79
0.575247
886
7,296
4.549661
0.11851
0.050608
0.03225
0.062516
0.763582
0.738526
0.710494
0.710494
0.697594
0.662367
0
0.033333
0.305099
7,296
241
80
30.273859
0.761736
0
0
0.605634
0
0
0.002056
0
0
0
0
0
0
1
0.056338
false
0
0.018779
0.018779
0.13615
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
789af4bb376c99e3b965341cbb33bf1557cd56bf
55
py
Python
gym_connect4/envs/__init__.py
ColdFrenzy/gym-connect4
7ac3eeafea12ee08862f1e6780aef6bd57c82207
[ "MIT" ]
5
2020-03-28T17:23:06.000Z
2021-06-19T11:28:04.000Z
gym_connect4/envs/__init__.py
ColdFrenzy/gym-connect4
7ac3eeafea12ee08862f1e6780aef6bd57c82207
[ "MIT" ]
1
2020-05-16T01:03:15.000Z
2020-05-28T13:54:12.000Z
gym_connect4/envs/__init__.py
ColdFrenzy/gym-connect4
7ac3eeafea12ee08862f1e6780aef6bd57c82207
[ "MIT" ]
2
2020-05-11T16:02:23.000Z
2021-01-03T15:17:39.000Z
from gym_connect4.envs.connect4_env import Connect4Env
27.5
54
0.890909
8
55
5.875
0.875
0
0
0
0
0
0
0
0
0
0
0.058824
0.072727
55
1
55
55
0.862745
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
78c83c63ff835cc1789294ac934b1616d3826e1f
253
py
Python
safe_grid_agents/parsing/__init__.py
alok/safe-grid-agents
6cc12db29d2209f11144fc082b6cb8f81457c0d4
[ "Apache-2.0" ]
null
null
null
safe_grid_agents/parsing/__init__.py
alok/safe-grid-agents
6cc12db29d2209f11144fc082b6cb8f81457c0d4
[ "Apache-2.0" ]
null
null
null
safe_grid_agents/parsing/__init__.py
alok/safe-grid-agents
6cc12db29d2209f11144fc082b6cb8f81457c0d4
[ "Apache-2.0" ]
null
null
null
core_config = 'safe_grid_agents/parsing/core_parser_configs.yaml' agent_config = 'safe_grid_agents/parsing/agent_parser_configs.yaml' env_config = 'safe_grid_agents/parsing/env_parser_configs.yaml' from .parse import prepare_parser, env_map, agent_map
42.166667
67
0.853755
39
253
5.076923
0.410256
0.151515
0.212121
0.30303
0.409091
0
0
0
0
0
0
0
0.063241
253
5
68
50.6
0.835443
0
0
0
0
0
0.581028
0.581028
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
158d4c65c1d3270811d5006c0a8b5db5ea61fd6b
657
py
Python
hmi/pages/page0.py
z1mEk/CamPanel2
1474931f913e7137e228323061f058a612310e4a
[ "MIT" ]
null
null
null
hmi/pages/page0.py
z1mEk/CamPanel2
1474931f913e7137e228323061f058a612310e4a
[ "MIT" ]
null
null
null
hmi/pages/page0.py
z1mEk/CamPanel2
1474931f913e7137e228323061f058a612310e4a
[ "MIT" ]
null
null
null
from hmi.pages import controls from hmi import hmi, methods async def Show(): await hmi.client.command('page 0') class b0(controls.TButton): name = 'page0.b0' pass class j0(controls.TProgressBar): name = 'page0.j0' pass class j1(controls.TProgressBar): name = 'page0.j1' pass class t2(co...
16.02439
38
0.636225
91
657
4.593407
0.32967
0.19378
0.244019
0.315789
0
0
0
0
0
0
0
0.055888
0.237443
657
41
39
16.02439
0.778443
0
0
0.290323
0
0
0.118541
0
0
0
0
0
0
1
0
false
0.290323
0.064516
0
0.645161
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
1
0
0
1
0
0
4
158f528627592452f617c88bafc334eebe249fc5
223
py
Python
admin.py
stfab/restaurant_homepage
60719493c14bdb707711f648acd5b2ad50e8780c
[ "MIT" ]
null
null
null
admin.py
stfab/restaurant_homepage
60719493c14bdb707711f648acd5b2ad50e8780c
[ "MIT" ]
null
null
null
admin.py
stfab/restaurant_homepage
60719493c14bdb707711f648acd5b2ad50e8780c
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import * # Register your models here. admin.site.register(Image) admin.site.register(Menu) admin.site.register(Dish) admin.site.register(Staff) admin.site.register(Reservation)
24.777778
32
0.807175
32
223
5.625
0.46875
0.25
0.472222
0
0
0
0
0
0
0
0
0
0.080717
223
9
33
24.777778
0.878049
0.116592
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.285714
0
0.285714
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
15a0af5fdd42c459ab662838ba12ca8fc49687b7
2,339
py
Python
nbs/dl2/expDJ/nb_6DJ.py
NachoDave/fastai-v3
4b3b8206a53dd81fa46ff0ee8431f886164db884
[ "Apache-2.0" ]
null
null
null
nbs/dl2/expDJ/nb_6DJ.py
NachoDave/fastai-v3
4b3b8206a53dd81fa46ff0ee8431f886164db884
[ "Apache-2.0" ]
null
null
null
nbs/dl2/expDJ/nb_6DJ.py
NachoDave/fastai-v3
4b3b8206a53dd81fa46ff0ee8431f886164db884
[ "Apache-2.0" ]
null
null
null
################################################# ### THIS FILE WAS AUTOGENERATED! DO NOT EDIT! ### ################################################# # file to edit: dev_nb/6DJ.ipynb from expDJ.nb_4Dj import * # Function to normalize the trainig data and validation data def normalize_to(train, valid): m,s = trai...
25.988889
81
0.594271
331
2,339
3.936556
0.311178
0.075979
0.033768
0.018419
0.044513
0.044513
0.044513
0
0
0
0
0.008767
0.219752
2,339
89
82
26.280899
0.705205
0.085079
0
0
1
0.019231
0.036085
0.024716
0
0
0
0
0.019231
1
0.423077
false
0
0.038462
0.115385
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
15b429c30b9a3f5b548f8c0ebc17faaa76b946cd
3,542
py
Python
tests/providers/test_credit_card.py
oeuftete/faker
6894660b8f6cfdd73f99fda1d60274ad9e42eb20
[ "MIT" ]
1
2019-11-09T14:47:20.000Z
2019-11-09T14:47:20.000Z
tests/providers/test_credit_card.py
oeuftete/faker
6894660b8f6cfdd73f99fda1d60274ad9e42eb20
[ "MIT" ]
5
2019-10-31T10:17:41.000Z
2019-11-08T11:47:29.000Z
tests/providers/test_credit_card.py
oeuftete/faker
6894660b8f6cfdd73f99fda1d60274ad9e42eb20
[ "MIT" ]
null
null
null
# coding=utf-8 import re import unittest import faker from faker.providers import credit_card class MastercardGeneratorTestCase(unittest.TestCase): def setUp(self): self.base_provider = credit_card.Provider(faker.generator.Generator()) self.factory = faker.Faker(locale='en_US') self.patt...
38.086022
109
0.628458
469
3,542
4.590618
0.217484
0.066883
0.096609
0.063168
0.758477
0.748258
0.734324
0.701811
0.684626
0.684626
0
0.074317
0.225014
3,542
92
110
38.5
0.710018
0.003388
0
0.535211
0
0.028169
0.09042
0.056689
0
0
0
0
0.112676
1
0.183099
false
0
0.056338
0
0.309859
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
ec6c52f94ca96dbd4f53a8bf26882c76e7263012
350
py
Python
pyseas/contrib/__init__.py
GlobalFishingWatch/pyseas
7559c4e07db3f7df8d42281029b793c8a30c552c
[ "Apache-2.0" ]
1
2021-11-04T01:49:59.000Z
2021-11-04T01:49:59.000Z
pyseas/contrib/__init__.py
GlobalFishingWatch/pyseas
7559c4e07db3f7df8d42281029b793c8a30c552c
[ "Apache-2.0" ]
7
2021-07-15T00:16:13.000Z
2021-11-30T13:50:26.000Z
pyseas/contrib/__init__.py
GlobalFishingWatch/pyseas
7559c4e07db3f7df8d42281029b793c8a30c552c
[ "Apache-2.0" ]
1
2021-11-04T01:51:34.000Z
2021-11-04T01:51:34.000Z
from .plot_tracks import track_state_panel from .plot_tracks import multi_track_panel from .plot_tracks import find_projection def _reload(): """Reload modules during development Note: Not 100% reliable! """ import imp from . import plot_tracks from pyseas import contrib imp.reload(plot_t...
23.333333
42
0.74
47
350
5.276596
0.468085
0.201613
0.169355
0.241935
0.201613
0
0
0
0
0
0
0.010676
0.197143
350
15
43
23.333333
0.871886
0.168571
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
true
0
0.666667
0
0.777778
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
0
1
0
1
0
0
0
0
4
ec6d287a072bff5b102d57c40d002ec9851140f8
218
py
Python
simple_chain.py
devjunhong/simpleChain
0adfe7f60ba0b8b8cfa0ed0469e2ec0423f8b05d
[ "MIT" ]
null
null
null
simple_chain.py
devjunhong/simpleChain
0adfe7f60ba0b8b8cfa0ed0469e2ec0423f8b05d
[ "MIT" ]
null
null
null
simple_chain.py
devjunhong/simpleChain
0adfe7f60ba0b8b8cfa0ed0469e2ec0423f8b05d
[ "MIT" ]
null
null
null
#!/usr/bin/python class Block(object): def __init__(self): print("Block") class Chain(object): def __init__(self): print("Chain") def main(): b = Block() c = Chain() if __name__ == "__main__": main()
13.625
26
0.619266
29
218
4.103448
0.551724
0.151261
0.218487
0.285714
0.369748
0
0
0
0
0
0
0
0.192661
218
16
27
13.625
0.676136
0.073395
0
0.181818
0
0
0.089109
0
0
0
0
0
0
1
0.272727
false
0
0
0
0.454545
0.181818
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
1
0
0
0
0
0
0
0
4
ec7fa53a7dbe874a344b5491b0c587149095fb81
115
py
Python
setup.py
FabienTaxil/ftd
a36e0ca59eb60e216a5de1eb93d1089a7f080ec7
[ "MIT" ]
3
2022-01-26T23:43:16.000Z
2022-02-11T07:50:49.000Z
setup.py
lixaft/ftd
a36e0ca59eb60e216a5de1eb93d1089a7f080ec7
[ "MIT" ]
null
null
null
setup.py
lixaft/ftd
a36e0ca59eb60e216a5de1eb93d1089a7f080ec7
[ "MIT" ]
null
null
null
"""Configure the package using setuptools.""" import setuptools if __name__ == "__main__": setuptools.setup()
19.166667
45
0.721739
12
115
6.25
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.147826
115
5
46
23
0.765306
0.33913
0
0
0
0
0.114286
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
ec90da701161daa8a276a4b57ff478ec48bc5c7c
16,641
py
Python
chrome/installer/mac/signing/modification_test.py
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/installer/mac/signing/modification_test.py
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/installer/mac/signing/modification_test.py
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-01-05T23:43:46.000Z
2021-01-07T23:36:34.000Z
# Copyright 2019 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import unittest from . import model, modification, test_common, test_config mock = test_common.import_mock() def plist_read(*args): bundle_id = test_...
44.854447
159
0.591251
1,686
16,641
5.704626
0.112693
0.113121
0.058016
0.049906
0.803701
0.77147
0.72645
0.693491
0.656685
0.635683
0
0.002424
0.280933
16,641
370
160
44.975676
0.801354
0.038219
0
0.574194
0
0.022581
0.381753
0.250375
0
0
0
0
0.148387
1
0.035484
false
0
0.009677
0
0.067742
0
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
eca6ad67adc9c69f5030d7d5fdc67889ae0c2414
102
py
Python
python/tests/test_common.py
personalrobotics/r3
1303e3f3ef99a0c2249abc7415d19113f0026565
[ "BSD-3-Clause" ]
181
2016-04-22T15:11:23.000Z
2022-03-26T12:51:08.000Z
python/tests/test_common.py
personalrobotics/r3
1303e3f3ef99a0c2249abc7415d19113f0026565
[ "BSD-3-Clause" ]
514
2016-04-20T04:29:51.000Z
2022-02-10T19:46:21.000Z
python/tests/test_common.py
personalrobotics/r3
1303e3f3ef99a0c2249abc7415d19113f0026565
[ "BSD-3-Clause" ]
31
2017-03-17T09:53:02.000Z
2022-03-23T10:35:05.000Z
import aikidopy as aikido def test_empty(): pass if __name__ == "__main__": pytest.main()
10.2
26
0.656863
13
102
4.461538
0.923077
0
0
0
0
0
0
0
0
0
0
0
0.235294
102
9
27
11.333333
0.74359
0
0
0
0
0
0.078431
0
0
0
0
0
0
1
0.2
true
0.2
0.2
0
0.4
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
ecb21f0038c814cfdeac0311b545f4e087dd6226
78
py
Python
blaze/environment/__init__.py
henry1jin/alohamora
e51e2488ecdf3e9692d5bb6b25ebc88622087c20
[ "MIT" ]
5
2020-12-16T03:13:59.000Z
2022-03-06T07:16:39.000Z
blaze/environment/__init__.py
henry1jin/alohamora
e51e2488ecdf3e9692d5bb6b25ebc88622087c20
[ "MIT" ]
9
2020-09-25T23:25:59.000Z
2022-03-11T23:45:14.000Z
blaze/environment/__init__.py
henry1jin/alohamora
e51e2488ecdf3e9692d5bb6b25ebc88622087c20
[ "MIT" ]
3
2019-10-16T21:22:07.000Z
2020-07-21T13:38:22.000Z
""" Defines the training environment """ from .environment import Environment
26
40
0.782051
8
78
7.625
0.75
0
0
0
0
0
0
0
0
0
0
0
0.128205
78
2
41
39
0.897059
0.410256
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
ecbac8b1106263c83bc7ca62f53f4247618c1afa
331
py
Python
junopy/utils/constants.py
robertons/junopy
1acc64ab99d8ea49bb0dac979cd34da43541f243
[ "MIT" ]
3
2021-07-12T15:05:13.000Z
2022-01-31T03:35:43.000Z
junopy/utils/constants.py
robertons/junopy
1acc64ab99d8ea49bb0dac979cd34da43541f243
[ "MIT" ]
2
2022-01-29T20:14:51.000Z
2022-02-07T16:16:24.000Z
junopy/utils/constants.py
robertons/junopy
1acc64ab99d8ea49bb0dac979cd34da43541f243
[ "MIT" ]
1
2022-02-01T18:36:10.000Z
2022-02-01T18:36:10.000Z
# DEFAULT ROUTE ROUTE_SANDBOX = 'https://sandbox.boletobancario.com/api-integration' ROUTE_SANDBOX_AUTORIZATION_SERVER = "https://sandbox.boletobancario.com/authorization-server/oauth/token" ROUTE_PRODUCAO = 'https://api.juno.com.br' ROUTE_PRODUCAO_AUTORIZATION_SERVER = "https://api.juno.com.br/authorization-server/oa...
47.285714
105
0.81571
42
331
6.238095
0.380952
0.091603
0.198473
0.221374
0.129771
0
0
0
0
0
0
0
0.048338
331
6
106
55.166667
0.831746
0.039275
0
0
0
0
0.620253
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
ecc28740b10e3a52b81a5f86bb89c525974e1040
117
py
Python
plugin_resources/__init__.py
ElectricImp-CSE/ElectricImp-Sublime
921f9b275348df9859e328c7987c715206c17ddd
[ "MIT" ]
4
2016-12-20T21:53:08.000Z
2019-02-02T23:40:11.000Z
plugin_resources/__init__.py
ElectricImp-CSE/ElectricImp-Sublime
921f9b275348df9859e328c7987c715206c17ddd
[ "MIT" ]
13
2016-11-18T13:24:05.000Z
2019-03-06T16:25:14.000Z
plugin_resources/__init__.py
ElectricImp-CSE/ElectricImp-Sublime
921f9b275348df9859e328c7987c715206c17ddd
[ "MIT" ]
2
2017-04-29T16:20:02.000Z
2017-04-29T16:34:23.000Z
# Copyright (c) 2016 Electric Imp # This file is licensed under the MIT License # http://opensource.org/licenses/MIT
29.25
45
0.760684
18
117
4.944444
0.944444
0
0
0
0
0
0
0
0
0
0
0.04
0.145299
117
3
46
39
0.85
0.940171
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
ecce363ab37be7cff0399d1966a3906470069673
4,645
py
Python
tests/test_counters.py
facebook/sparts
c03df928677444ad638d10fa96f4144ca4d644e1
[ "BSD-3-Clause" ]
220
2015-01-04T07:17:31.000Z
2018-10-10T09:06:45.000Z
tests/test_counters.py
martina6hall/sparts
c03df928677444ad638d10fa96f4144ca4d644e1
[ "BSD-3-Clause" ]
49
2015-02-02T22:25:08.000Z
2017-07-26T05:46:10.000Z
tests/test_counters.py
martina6hall/sparts
c03df928677444ad638d10fa96f4144ca4d644e1
[ "BSD-3-Clause" ]
39
2015-03-11T03:12:41.000Z
2018-10-10T09:07:11.000Z
# Copyright (c) 2014, Facebook, Inc. All rights reserved. # # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. An additional grant # of patent rights can be found in the PATENTS file in the same directory. # from sparts.tests.base import Ba...
32.256944
78
0.58084
620
4,645
4.333871
0.201613
0.240045
0.226275
0.212877
0.516933
0.484927
0.414589
0.354298
0.354298
0.332713
0
0.076923
0.266738
4,645
143
79
32.482517
0.711979
0.177826
0
0.371134
0
0
0.052799
0
0
0
0
0
0.463918
1
0.082474
false
0
0.030928
0
0.123711
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
4
ecdf7f0ecc6d3a0be6acd0cebd5377d26845611e
25
py
Python
lib/python3.4/abc.py
caiocsalvador/whats_the_craic
c49ef62f1acd7379f6fd90c2b93aa1fa00c8661d
[ "MIT" ]
7
2017-04-26T12:28:22.000Z
2021-02-09T18:59:50.000Z
django-ng/lib/python3.4/abc.py
Arsalen/BusinessStrategies
209e57340359af3ea063c064982198848dc36c5f
[ "MIT" ]
13
2015-12-04T03:38:37.000Z
2015-12-12T00:15:46.000Z
django-ng/lib/python3.4/abc.py
Arsalen/BusinessStrategies
209e57340359af3ea063c064982198848dc36c5f
[ "MIT" ]
8
2017-06-01T08:42:16.000Z
2020-07-23T12:30:19.000Z
/usr/lib/python3.4/abc.py
25
25
0.76
6
25
3.166667
1
0
0
0
0
0
0
0
0
0
0
0.08
0
25
1
25
25
0.68
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
ecf199fa752679c48ab890956828f4b6315c382f
120
py
Python
examples/python/cpu/tensors/ocean_astensor_07.py
kant/ocean-tensor-package
fb3fcff8bba7f4ef6cd8b8d02f0e1be1258da02d
[ "Apache-2.0" ]
27
2018-08-16T21:32:49.000Z
2021-11-30T10:31:08.000Z
examples/python/cpu/tensors/ocean_astensor_07.py
kant/ocean-tensor-package
fb3fcff8bba7f4ef6cd8b8d02f0e1be1258da02d
[ "Apache-2.0" ]
null
null
null
examples/python/cpu/tensors/ocean_astensor_07.py
kant/ocean-tensor-package
fb3fcff8bba7f4ef6cd8b8d02f0e1be1258da02d
[ "Apache-2.0" ]
13
2018-08-17T17:33:16.000Z
2021-11-30T10:31:09.000Z
import pyOcean_cpu as ocean a = ocean.asTensor([1,2,3]) b = ocean.asTensor([0,3,6],'r') print(a) print(b) print(a+b)
12
31
0.65
25
120
3.08
0.6
0.337662
0
0
0
0
0
0
0
0
0
0.057692
0.133333
120
9
32
13.333333
0.682692
0
0
0
0
0
0.008403
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
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
01add464a5627ee53a881b778275e50edf5cea52
255
py
Python
Caesar/Caesar.py
AVM-Martin/CTF-EncryptionAlgorithm
1226f3db8d3358e1f50ae2f2722f66dee281507a
[ "WTFPL" ]
null
null
null
Caesar/Caesar.py
AVM-Martin/CTF-EncryptionAlgorithm
1226f3db8d3358e1f50ae2f2722f66dee281507a
[ "WTFPL" ]
null
null
null
Caesar/Caesar.py
AVM-Martin/CTF-EncryptionAlgorithm
1226f3db8d3358e1f50ae2f2722f66dee281507a
[ "WTFPL" ]
null
null
null
from helper import Cryptography from Caesar.helper import * class Caesar(Cryptography): def encrypt(self, text): return "".join(transform(c, self.key) for c in text) def decrypt(self, text): return "".join(transform(c, -self.key) for c in text)
21.25
55
0.717647
39
255
4.692308
0.461538
0.131148
0.153005
0.196721
0.491803
0.491803
0.491803
0.491803
0.491803
0.491803
0
0
0.156863
255
11
56
23.181818
0.851163
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0.285714
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
01b8eb63a1d18ac387016f175edae92910d68a4c
227
py
Python
core/cooggerapp/middleware/settings.py
maksatweb/coogger
480d4cccb2c6876fba116511b72775e2e434245b
[ "MIT" ]
null
null
null
core/cooggerapp/middleware/settings.py
maksatweb/coogger
480d4cccb2c6876fba116511b72775e2e434245b
[ "MIT" ]
null
null
null
core/cooggerapp/middleware/settings.py
maksatweb/coogger
480d4cccb2c6876fba116511b72775e2e434245b
[ "MIT" ]
1
2019-07-01T10:08:33.000Z
2019-07-01T10:08:33.000Z
# django from django.utils.deprecation import MiddlewareMixin from django.conf import settings class SettingsMiddleware(MiddlewareMixin): def process_request(self, request): request.page_size = settings.PAGE_SIZE
25.222222
52
0.797357
26
227
6.846154
0.615385
0.11236
0
0
0
0
0
0
0
0
0
0
0.140969
227
9
53
25.222222
0.912821
0.026432
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
01d43a1367d62f711952b5fd1f2dc638532f5aab
131
py
Python
gammapy/image/models/__init__.py
mealworm/gammapy
a838b2ca347dd6321f8da4e4097a33150d7b9be6
[ "BSD-3-Clause" ]
null
null
null
gammapy/image/models/__init__.py
mealworm/gammapy
a838b2ca347dd6321f8da4e4097a33150d7b9be6
[ "BSD-3-Clause" ]
null
null
null
gammapy/image/models/__init__.py
mealworm/gammapy
a838b2ca347dd6321f8da4e4097a33150d7b9be6
[ "BSD-3-Clause" ]
null
null
null
# Licensed under a 3-clause BSD style license - see LICENSE.rst """ Morphology models. """ from .gauss import * from .new import *
18.714286
63
0.709924
19
131
4.894737
0.842105
0
0
0
0
0
0
0
0
0
0
0.009259
0.175573
131
6
64
21.833333
0.851852
0.618321
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
01e058ef540580c3ae24f4d5447db77ed32b9b3b
705
py
Python
djangoautoconf/auto_conf_admin_tools/model_with_full_permission_feature.py
weijia/djangoautoconf
590acfdcc6a3e051a2048ba1dbf980f908a7af91
[ "BSD-3-Clause" ]
null
null
null
djangoautoconf/auto_conf_admin_tools/model_with_full_permission_feature.py
weijia/djangoautoconf
590acfdcc6a3e051a2048ba1dbf980f908a7af91
[ "BSD-3-Clause" ]
null
null
null
djangoautoconf/auto_conf_admin_tools/model_with_full_permission_feature.py
weijia/djangoautoconf
590acfdcc6a3e051a2048ba1dbf980f908a7af91
[ "BSD-3-Clause" ]
null
null
null
from djangoautoconf.auto_conf_admin_tools.admin_feature_base import AdminFeatureBase __author__ = 'weijia' def get_model_perms(self, request): return {'add': True, 'change': True, 'delete': False} def has_change_permission(self, request, obj=None): return True class ModelWithFullPermissionFeature(AdminFe...
29.375
84
0.767376
86
705
5.848837
0.44186
0.071571
0.151093
0.115308
0
0
0
0
0
0
0
0
0.151773
705
23
85
30.652174
0.841137
0.04539
0
0
0
0
0.11194
0.031343
0
0
0
0
0
1
0.307692
false
0.076923
0.076923
0.153846
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
4
01fcab3c9c364808a9e04cbf76d85f98ff669a7c
25,505
py
Python
ckanext-infographic/ckanext/infographic/tests/action/test_get.py
smallmedia/iod-ckan
dfd85b41286fe86924ec16b0a88efc7292848ceb
[ "Apache-2.0" ]
4
2017-06-12T15:18:30.000Z
2019-10-11T15:12:43.000Z
ckanext-infographic/ckanext/infographic/tests/action/test_get.py
smallmedia/iod-ckan
dfd85b41286fe86924ec16b0a88efc7292848ceb
[ "Apache-2.0" ]
64
2017-05-14T22:15:53.000Z
2020-03-08T15:26:49.000Z
ckanext-infographic/ckanext/infographic/tests/action/test_get.py
smallmedia/iod-ckan
dfd85b41286fe86924ec16b0a88efc7292848ceb
[ "Apache-2.0" ]
2
2018-09-08T08:02:25.000Z
2020-04-24T13:02:06.000Z
from nose import tools as nosetools from nose import SkipTest import ckan.plugins.toolkit as toolkit try: import ckan.tests.factories as factories except ImportError: # for ckan <= 2.3 import ckan.new_tests.factories as factories try: import ckan.tests.helpers as helpers except ImportError: # for ckan <...
42.508333
113
0.651598
2,646
25,505
5.980726
0.07294
0.054218
0.061232
0.077346
0.811058
0.766635
0.726319
0.679937
0.640253
0.609415
0
0.001751
0.261164
25,505
599
114
42.579299
0.838039
0.156283
0
0.636076
0
0
0.141427
0.090657
0
0
0
0
0.151899
1
0.091772
false
0
0.031646
0
0.14557
0
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
bf12c913eea83852cf2551fca54f2a702c84f692
423
py
Python
qencode/decoders/base.py
ankit27kh/temporaryRepoQhack
e7e942a1e4b23bbfeda605c6c4dc0320b08b974e
[ "MIT" ]
1
2022-02-25T21:09:14.000Z
2022-02-25T21:09:14.000Z
qencode/decoders/base.py
ankit27kh/temporaryRepoQhack
e7e942a1e4b23bbfeda605c6c4dc0320b08b974e
[ "MIT" ]
null
null
null
qencode/decoders/base.py
ankit27kh/temporaryRepoQhack
e7e942a1e4b23bbfeda605c6c4dc0320b08b974e
[ "MIT" ]
4
2022-02-25T20:46:44.000Z
2022-03-29T04:31:48.000Z
""" The most basic decoder possible is the inverse of the encoder. """ import pennylane as qml def decoder_adjoint(encoder_circuit, params, wires): """ :encoder_circuit: the circuit used to encode the data :params: the encoder parameters :wires: list of qubits on which decoder is applied This de...
23.5
57
0.72104
59
423
5.101695
0.508475
0.099668
0.079734
0.179402
0.212625
0
0
0
0
0
0
0
0.205674
423
17
58
24.882353
0.895833
0.600473
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
4
bf23ab58300d07b9b02f2c903b4226021ed01b42
6,681
py
Python
test/test_git.py
Flowdalic/nattka
0f85e8f9a7b3cd1481f14d8257a07dc5ee9e4f8a
[ "BSD-2-Clause" ]
7
2020-03-31T02:55:05.000Z
2022-03-25T21:51:05.000Z
test/test_git.py
Flowdalic/nattka
0f85e8f9a7b3cd1481f14d8257a07dc5ee9e4f8a
[ "BSD-2-Clause" ]
65
2020-03-30T19:40:43.000Z
2022-03-18T20:21:38.000Z
test/test_git.py
Flowdalic/nattka
0f85e8f9a7b3cd1481f14d8257a07dc5ee9e4f8a
[ "BSD-2-Clause" ]
4
2020-04-25T03:19:24.000Z
2022-02-28T18:10:41.000Z
# (c) 2020 Michał Górny # 2-clause BSD license """ Tests for git support. """ import os import subprocess import tempfile import unittest from pathlib import Path from nattka.git import (git_get_toplevel, git_is_dirty, git_commit, git_reset_changes, GitDirtyWorkTree, ...
33.405
75
0.505763
771
6,681
4.312581
0.14786
0.112782
0.135338
0.166015
0.738947
0.700451
0.681504
0.681504
0.681504
0.681504
0
0.006658
0.32555
6,681
199
76
33.572864
0.731247
0.05134
0
0.731884
0
0
0.112906
0.006853
0
0
0
0
0.282609
1
0.072464
false
0.007246
0.043478
0
0.123188
0
0
0
0
null
0
0
1
0
1
0
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
171c2575c5b034b8534b33bc61af213d0517e5ec
256
py
Python
code/keyence2019_b_02.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
3
2019-08-16T16:55:48.000Z
2021-04-11T10:21:40.000Z
code/keyence2019_b_02.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
code/keyence2019_b_02.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
import re s=input() if re.match(".*keyence$",s) or re.match("^k.*eyence$",s) or re.match("^ke.*yence$",s) or re.match("^key.*ence$",s) or re.match("^keye.*nce$",s) or re.match("^keyen.*ce$",s)or re.match("^keyenc.*e$",s): print("YES") else:print("NO")
51.2
202
0.59375
50
256
3.04
0.48
0.322368
0.197368
0.394737
0
0
0
0
0
0
0
0
0.085938
256
5
203
51.2
0.649573
0
0
0
0
0
0.315175
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.4
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
17458301c84d738a59fee456dcb8e2142fa8468b
641
py
Python
tests/test_codec.py
vaporydev/pyrlp
8bef01b6c97f90d6f21472a89ca27eddd964d82d
[ "MIT" ]
null
null
null
tests/test_codec.py
vaporydev/pyrlp
8bef01b6c97f90d6f21472a89ca27eddd964d82d
[ "MIT" ]
null
null
null
tests/test_codec.py
vaporydev/pyrlp
8bef01b6c97f90d6f21472a89ca27eddd964d82d
[ "MIT" ]
null
null
null
import pytest import rlp def test_compare_length(): data = rlp.encode([1,2,3,4,5]) assert rlp.compare_length(data, 100) == -1 assert rlp.compare_length(data, 5) == 0 assert rlp.compare_length(data, 1) == 1 data = rlp.encode([]) assert rlp.compare_length(data, 100) == -1 assert rlp.compare_...
29.136364
53
0.675507
94
641
4.457447
0.340426
0.217184
0.28401
0.315036
0.505967
0.405728
0.405728
0.405728
0.267303
0.267303
0
0.076336
0.182527
641
21
54
30.52381
0.723282
0
0
0.117647
0
0
0.048362
0
0
0
0
0
0.411765
1
0.117647
false
0
0.117647
0
0.235294
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
4
1766a38e614d7850dfe9e3da5310fc0b3cb1df8c
26,084
py
Python
occurrence/tests/test_views.py
dbca-wa/tsc
d1ea31c0d3ff85020762b6e58884a164516e29b0
[ "MIT" ]
1
2022-01-27T09:39:58.000Z
2022-01-27T09:39:58.000Z
occurrence/tests/test_views.py
dbca-wa/tsc
d1ea31c0d3ff85020762b6e58884a164516e29b0
[ "MIT" ]
79
2020-07-27T06:06:14.000Z
2022-03-12T01:44:34.000Z
occurrence/tests/test_views.py
dbca-wa/tsc
d1ea31c0d3ff85020762b6e58884a164516e29b0
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """. Occurrence view tests ^^^^^^^^^^^^^^^^^^^^^ """ from __future__ import unicode_literals import uuid from django.utils import timezone from django.contrib.auth import get_user_model from django.contrib.gis.geos import GEOSGeometry # Point, Polygon from django.core.files.uploadedfile imp...
38.989537
99
0.635447
2,775
26,084
5.778018
0.114955
0.044905
0.058376
0.068105
0.825745
0.756517
0.721841
0.698266
0.669702
0.661532
0
0.02852
0.237809
26,084
668
100
39.047904
0.777979
0.174283
0
0.636971
0
0.008909
0.094887
0.046687
0
0
0
0.002994
0.18931
1
0.082405
false
0.006682
0.028953
0
0.120267
0
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
178fab62fc4415419e43064e55f595e35fcf4842
152
py
Python
07-Array-Oriented-Programming-with-NumPy/7-3-Element-Wise-Array-Multiplication.py
rajevac/deitel-intro-to-python-exercises
05f427d35ebb4bd315904f6919659335b1bf3fc9
[ "MIT" ]
null
null
null
07-Array-Oriented-Programming-with-NumPy/7-3-Element-Wise-Array-Multiplication.py
rajevac/deitel-intro-to-python-exercises
05f427d35ebb4bd315904f6919659335b1bf3fc9
[ "MIT" ]
null
null
null
07-Array-Oriented-Programming-with-NumPy/7-3-Element-Wise-Array-Multiplication.py
rajevac/deitel-intro-to-python-exercises
05f427d35ebb4bd315904f6919659335b1bf3fc9
[ "MIT" ]
null
null
null
import numpy as np arr_1 = np.arange(2, 19, 2).reshape(3, 3) print(arr_1) arr_2 = np.arange(9, 0, -1).reshape(3, 3) print(arr_2) print(arr_1 * arr_2)
16.888889
41
0.664474
35
152
2.714286
0.4
0.126316
0.189474
0.294737
0.547368
0
0
0
0
0
0
0.131783
0.151316
152
9
42
16.888889
0.604651
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.5
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
1797bc3df7a60b9a64e44798134c49dd69e9da5d
177
py
Python
entities/admin.py
acdh-oeaw/metarita
de7484adc689fcb461cbe0abe40672e05e78e37e
[ "MIT" ]
null
null
null
entities/admin.py
acdh-oeaw/metarita
de7484adc689fcb461cbe0abe40672e05e78e37e
[ "MIT" ]
6
2018-06-13T15:05:30.000Z
2021-06-10T20:15:37.000Z
entities/admin.py
acdh-oeaw/metarita
de7484adc689fcb461cbe0abe40672e05e78e37e
[ "MIT" ]
null
null
null
from django.contrib import admin from reversion_compare.admin import CompareVersionAdmin from .models import Person, Place, Institution, Event, Work admin.site.register(Work)
25.285714
59
0.830508
23
177
6.347826
0.695652
0
0
0
0
0
0
0
0
0
0
0
0.107345
177
6
60
29.5
0.924051
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.75
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
bd853aa61a712e78d48d2cbc0b0159cae32d6a11
167
py
Python
api/app/schemas/note.py
malokhvii-eduard/yanotes
3f0a3acdd5c2ea51a9e0ade3a713f937b0f1548d
[ "MIT" ]
null
null
null
api/app/schemas/note.py
malokhvii-eduard/yanotes
3f0a3acdd5c2ea51a9e0ade3a713f937b0f1548d
[ "MIT" ]
null
null
null
api/app/schemas/note.py
malokhvii-eduard/yanotes
3f0a3acdd5c2ea51a9e0ade3a713f937b0f1548d
[ "MIT" ]
null
null
null
from pydantic import BaseModel, conint class NoteIn(BaseModel): title: str content: str user_id: conint(ge=1) class Note(NoteIn): id: conint(ge=1)
13.916667
38
0.676647
24
167
4.666667
0.625
0.142857
0.178571
0.196429
0
0
0
0
0
0
0
0.015385
0.221557
167
11
39
15.181818
0.846154
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.142857
0
1
0
1
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
4
bd9d2eaaff6e1ed36d8f8fe1f36744de17f8adc8
56,108
py
Python
Lib/site-packages/OCC/BRepFilletAPI.py
JWerbrouck/RWTH_M1_Projekt
7ae63a2277361fa3273cf0677b297379482b8240
[ "bzip2-1.0.6" ]
null
null
null
Lib/site-packages/OCC/BRepFilletAPI.py
JWerbrouck/RWTH_M1_Projekt
7ae63a2277361fa3273cf0677b297379482b8240
[ "bzip2-1.0.6" ]
1
2022-03-17T16:46:04.000Z
2022-03-17T16:46:04.000Z
Lib/site-packages/OCC/BRepFilletAPI.py
JWerbrouck/RWTH_M1_Projekt
7ae63a2277361fa3273cf0677b297379482b8240
[ "bzip2-1.0.6" ]
null
null
null
# This file was automatically generated by SWIG (http://www.swig.org). # Version 3.0.1 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info if version_info >= (3,0,0): new_instancemethod = lambda func, inst, cls: _BRepFi...
43.027607
1,355
0.718757
6,651
56,108
5.886784
0.083747
0.101601
0.069726
0.082369
0.696677
0.466631
0.422879
0.392486
0.376829
0.360228
0
0.005886
0.215709
56,108
1,303
1,356
43.060629
0.883854
0.420225
0
0.144254
1
0
0.011281
0
0
0
0
0
0
1
0.215159
false
0.01467
0.146699
0.00489
0.591687
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
bda4a73fd0a616c97c27554193c8baec651c7349
145
py
Python
eecr/__init__.py
VitoJanko/Energy-Efficient-Context-Recognition
51f0918987d8f357340a0762c0527ae38d966c58
[ "MIT" ]
null
null
null
eecr/__init__.py
VitoJanko/Energy-Efficient-Context-Recognition
51f0918987d8f357340a0762c0527ae38d966c58
[ "MIT" ]
null
null
null
eecr/__init__.py
VitoJanko/Energy-Efficient-Context-Recognition
51f0918987d8f357340a0762c0527ae38d966c58
[ "MIT" ]
null
null
null
from eecr.cstree import CostSensitiveTree from eecr.eeoptimizer import EnergyOptimizer #from eecr.Datasets import SHL_data #import eecr.eeutility
36.25
44
0.868966
19
145
6.578947
0.578947
0.192
0
0
0
0
0
0
0
0
0
0
0.089655
145
4
45
36.25
0.94697
0.37931
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
da0be4f7d28af0fc17a8647f2c5e38192bbe4dfc
245
py
Python
mmdet3d/models/roi_heads/roi_extractors/__init__.py
Guangyun-Xu/mmdetection3d
75c5c6cd590386bd1539a686c5fd2cc45c5480d5
[ "Apache-2.0" ]
2,216
2020-07-09T19:10:11.000Z
2022-03-31T12:39:26.000Z
mmdet3d/models/roi_heads/roi_extractors/__init__.py
Guangyun-Xu/mmdetection3d
75c5c6cd590386bd1539a686c5fd2cc45c5480d5
[ "Apache-2.0" ]
1,174
2020-07-10T07:02:28.000Z
2022-03-31T12:38:56.000Z
mmdet3d/models/roi_heads/roi_extractors/__init__.py
Guangyun-Xu/mmdetection3d
75c5c6cd590386bd1539a686c5fd2cc45c5480d5
[ "Apache-2.0" ]
681
2020-07-09T19:40:06.000Z
2022-03-31T11:02:24.000Z
# Copyright (c) OpenMMLab. All rights reserved. from mmdet.models.roi_heads.roi_extractors import SingleRoIExtractor from .single_roiaware_extractor import Single3DRoIAwareExtractor __all__ = ['SingleRoIExtractor', 'Single3DRoIAwareExtractor']
40.833333
68
0.84898
24
245
8.333333
0.75
0
0
0
0
0
0
0
0
0
0
0.008889
0.081633
245
5
69
49
0.88
0.183673
0
0
0
0
0.217172
0.126263
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
da3405adb4a928fe373c30c80e0975cf0869614c
328
py
Python
src/python/packages/amwg/derivations/__init__.py
UV-CDAT/uvcmetrics
b29ac2b2698ba09061e3ca7b115abf3e114324e2
[ "BSD-3-Clause" ]
3
2017-03-03T21:28:06.000Z
2017-05-23T02:03:22.000Z
src/python/packages/amwg/derivations/__init__.py
CDAT/uvcmetrics
b29ac2b2698ba09061e3ca7b115abf3e114324e2
[ "BSD-3-Clause" ]
192
2015-01-05T19:39:56.000Z
2017-01-17T22:28:34.000Z
src/python/packages/amwg/derivations/__init__.py
UV-CDAT/uvcmetrics
b29ac2b2698ba09061e3ca7b115abf3e114324e2
[ "BSD-3-Clause" ]
6
2016-02-26T19:03:46.000Z
2017-07-12T16:55:33.000Z
from oaht import * from ncl_isms import * from package_version import * from atmconst import * from is_numeric_float import * from press2alt import * from vertical import * from masks import * from set13 import * from simple_vars import * from clouds import * from heat import * from WC_diag_amwg import * import WC_dia...
19.294118
30
0.789634
50
328
5
0.44
0.48
0.08
0
0
0
0
0
0
0
0
0.011029
0.170732
328
16
31
20.5
0.908088
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
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
da8f7945e1dfec73b55e41a8eb12ecdcf38b9dfe
163
py
Python
pythonsolutions/math_and_logic_puzzles/test/test_the_heavy_pill.py
danong/ctci-6th-solutions
70034793895864bab0737a0c1eee0a9ea35ed26f
[ "MIT" ]
null
null
null
pythonsolutions/math_and_logic_puzzles/test/test_the_heavy_pill.py
danong/ctci-6th-solutions
70034793895864bab0737a0c1eee0a9ea35ed26f
[ "MIT" ]
null
null
null
pythonsolutions/math_and_logic_puzzles/test/test_the_heavy_pill.py
danong/ctci-6th-solutions
70034793895864bab0737a0c1eee0a9ea35ed26f
[ "MIT" ]
null
null
null
import unittest from ..the_heavy_pill import bottle_id class Test(unittest.TestCase): def test_basic(self): self.assertEqual(bottle_id(211.3), 13)
16.3
46
0.730061
24
163
4.75
0.75
0.140351
0
0
0
0
0
0
0
0
0
0.044444
0.171779
163
9
47
18.111111
0.8
0
0
0
0
0
0
0
0
0
0
0
0.2
1
0.2
false
0
0.4
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
e50581f4cad3e7e35c51e46cd30aa82d3f8b6bf0
193
py
Python
version_checker/settings.py
jalvaradosegura/version-checker
69e5551662c880ebf2f0b1e067bd37608a7eaf3a
[ "MIT" ]
1
2022-02-02T15:10:30.000Z
2022-02-02T15:10:30.000Z
version_checker/settings.py
jalvaradosegura/version-checker
69e5551662c880ebf2f0b1e067bd37608a7eaf3a
[ "MIT" ]
null
null
null
version_checker/settings.py
jalvaradosegura/version-checker
69e5551662c880ebf2f0b1e067bd37608a7eaf3a
[ "MIT" ]
null
null
null
import sys if sys.version_info < (3, 8): # pragma: no cover from typing_extensions import Final else: from typing import Final DEFAULT_FILE_TO_GRAB_VERSION: Final = "pyproject.toml"
21.444444
54
0.746114
29
193
4.758621
0.724138
0.144928
0
0
0
0
0
0
0
0
0
0.012658
0.181347
193
8
55
24.125
0.860759
0.082902
0
0
0
0
0.08
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
e55a2b1b10724a3069b9143dedcb02e3fa967922
461
py
Python
tests/unit/containers/test_types_py36.py
whysage/python-dependency-injector
cef6d35cfdf5f39438a89f000d11a21860bc8c5f
[ "BSD-3-Clause" ]
1,997
2016-04-26T13:41:45.000Z
2022-03-31T16:17:53.000Z
tests/unit/containers/test_types_py36.py
whysage/python-dependency-injector
cef6d35cfdf5f39438a89f000d11a21860bc8c5f
[ "BSD-3-Clause" ]
399
2016-05-16T07:20:07.000Z
2022-03-31T18:23:49.000Z
tests/unit/containers/test_types_py36.py
whysage/python-dependency-injector
cef6d35cfdf5f39438a89f000d11a21860bc8c5f
[ "BSD-3-Clause" ]
162
2016-05-16T09:21:43.000Z
2022-03-30T23:00:26.000Z
import unittest from dependency_injector import containers class SomeClass: ... class TypesTest(unittest.TestCase): def test_declarative(self): container: containers.Container = containers.DeclarativeContainer() self.assertIsInstance(container, containers.Container) def test_dynamic(s...
24.263158
75
0.752711
41
461
8.390244
0.463415
0.331395
0.325581
0.186047
0.523256
0
0
0
0
0
0
0
0.169197
461
18
76
25.611111
0.898172
0
0
0.181818
0
0
0
0
0
0
0
0
0.181818
1
0.181818
false
0
0.181818
0
0.545455
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
e55d7e9f290c505862c8d413f92e7de001f6fa0d
32
py
Python
codestar_tests.py
codelucas/codestar
e6c3e31458da639097829b3abbc15c6df793ff20
[ "Apache-2.0" ]
2
2021-11-07T12:52:46.000Z
2021-11-14T17:20:26.000Z
codestar_tests.py
codelucas/codestar
e6c3e31458da639097829b3abbc15c6df793ff20
[ "Apache-2.0" ]
null
null
null
codestar_tests.py
codelucas/codestar
e6c3e31458da639097829b3abbc15c6df793ff20
[ "Apache-2.0" ]
null
null
null
""" Test driven dev! :D """
8
23
0.4375
4
32
3.5
1
0
0
0
0
0
0
0
0
0
0
0
0.3125
32
3
24
10.666667
0.636364
0.59375
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
e565f151cdc9e6bd9b846828fde05c90043d2947
78
py
Python
mlsurvey/exceptions/model_error.py
jlaumonier/mlsurvey
373598d067c7f0930ba13fe8da9756ce26eecbaf
[ "MIT" ]
null
null
null
mlsurvey/exceptions/model_error.py
jlaumonier/mlsurvey
373598d067c7f0930ba13fe8da9756ce26eecbaf
[ "MIT" ]
null
null
null
mlsurvey/exceptions/model_error.py
jlaumonier/mlsurvey
373598d067c7f0930ba13fe8da9756ce26eecbaf
[ "MIT" ]
null
null
null
class ModelError(Exception): """ Errors about Models """ pass
13
28
0.576923
7
78
6.428571
1
0
0
0
0
0
0
0
0
0
0
0
0.307692
78
5
29
15.6
0.833333
0.24359
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
e579bfe411426c396dd68ba2f97f7f96be161c14
188
py
Python
ddq_1/fol/inference.py
jadnohra/connect
8eb21e6f122898094447bc3d5edb3053d5a2adf2
[ "Unlicense" ]
null
null
null
ddq_1/fol/inference.py
jadnohra/connect
8eb21e6f122898094447bc3d5edb3053d5a2adf2
[ "Unlicense" ]
6
2021-03-19T12:06:56.000Z
2022-03-12T00:23:09.000Z
ddq_1/fol/inference.py
jadnohra/connect
8eb21e6f122898094447bc3d5edb3053d5a2adf2
[ "Unlicense" ]
null
null
null
from typing import List from .lang import Wff class Inference: def short_name(self): pass def possible_inferences(self, permisses: List[Wff]) -> List[Wff]: pass
17.090909
69
0.664894
25
188
4.92
0.64
0.113821
0
0
0
0
0
0
0
0
0
0
0.25
188
10
70
18.8
0.87234
0
0
0.285714
0
0
0
0
0
0
0
0
0
1
0.285714
false
0.285714
0.285714
0
0.714286
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
1
0
1
0
0
1
0
0
4
e59aaa18f649e3c18528233576b5bda62be9f511
179
py
Python
slack_rtm_bot/handlers/ping.py
nkouevda/slack-rtm-bot
e92ac8f73b561d5d39bc06b0858563ae41b3be5c
[ "MIT" ]
null
null
null
slack_rtm_bot/handlers/ping.py
nkouevda/slack-rtm-bot
e92ac8f73b561d5d39bc06b0858563ae41b3be5c
[ "MIT" ]
null
null
null
slack_rtm_bot/handlers/ping.py
nkouevda/slack-rtm-bot
e92ac8f73b561d5d39bc06b0858563ae41b3be5c
[ "MIT" ]
1
2015-08-07T20:59:02.000Z
2015-08-07T20:59:02.000Z
from .base import MessageHandler class PingHandler(MessageHandler): TRIGGERS = ['ping'] HELP = 'pong' def handle_message(self, event, triggers, query): return 'pong'
17.9
51
0.709497
20
179
6.3
0.85
0
0
0
0
0
0
0
0
0
0
0
0.178771
179
9
52
19.888889
0.857143
0
0
0
0
0
0.067039
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.166667
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
0
1
1
0
0
4
e5c8d48d1e97dd1be52232a51334eb009fac9187
88
py
Python
python_basics/datatypes/dictionary/dict_keys.py
danielkpodo/python-zero-to-mastery
d39468f48211bc82e4e2613745d9107d433e05af
[ "MIT" ]
null
null
null
python_basics/datatypes/dictionary/dict_keys.py
danielkpodo/python-zero-to-mastery
d39468f48211bc82e4e2613745d9107d433e05af
[ "MIT" ]
null
null
null
python_basics/datatypes/dictionary/dict_keys.py
danielkpodo/python-zero-to-mastery
d39468f48211bc82e4e2613745d9107d433e05af
[ "MIT" ]
null
null
null
# A dictionary key mus be unique # A key must be immutable, thus lists cannot be a key
29.333333
54
0.738636
17
88
3.823529
0.647059
0.123077
0
0
0
0
0
0
0
0
0
0
0.227273
88
2
55
44
0.955882
0.943182
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
e5cf855129af23e3f9db2cb527cbf96440be1f07
54,241
py
Python
dictionaries/french.py
Guillaume-Docquier/wordle-solver
f2c12417f177b560de4a973dea4d3942d05f4b07
[ "MIT" ]
null
null
null
dictionaries/french.py
Guillaume-Docquier/wordle-solver
f2c12417f177b560de4a973dea4d3942d05f4b07
[ "MIT" ]
null
null
null
dictionaries/french.py
Guillaume-Docquier/wordle-solver
f2c12417f177b560de4a973dea4d3942d05f4b07
[ "MIT" ]
null
null
null
french_words = ["comme", "cette", "aussi", "autre", "faire", "entre", "temps", "quand", "apres", "leurs", "alors", "moins", "toute", "homme", "elles", "grand", "ainsi", "avoir", "avant", "monde", "notre", "trois", "celui", "celle", "petit", "chose", "porte", "point", "parce", "place", "femme", "enfin", "passe", "corps"...
27,120.5
54,240
0.555613
6,027
54,241
5.000166
1
0
0
0
0
0
0
0
0
0
0
0
0.111115
54,241
1
54,241
54,241
0.625047
0
0
0
0
0
0.555392
0
0
0
0
0
0
1
0
false
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
4
e5f8f7cc5f7ac97953c002a3ee04a212f8ad2fcc
32
py
Python
nssrc/com/citrix/netscaler/nitro/resource/config/reputation/__init__.py
guardicore/nitro-python
5346a5086134aead80968f15a41ff527adaa0ec1
[ "Apache-2.0" ]
2
2020-08-24T18:04:22.000Z
2020-08-24T18:04:47.000Z
nitro/resource/config/reputation/__init__.py
HanseMerkur/nitro-python
d03eb11f492a35a2a8b2a140322fbce22d25a8f7
[ "Apache-2.0" ]
null
null
null
nitro/resource/config/reputation/__init__.py
HanseMerkur/nitro-python
d03eb11f492a35a2a8b2a140322fbce22d25a8f7
[ "Apache-2.0" ]
null
null
null
__all__ = ['reputationsettings']
32
32
0.78125
2
32
10.5
1
0
0
0
0
0
0
0
0
0
0
0
0.0625
32
1
32
32
0.7
0
0
0
0
0
0.545455
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
e5faee39fc30d96b9cb1a10d34823adc202111d5
167
py
Python
Factorial Recursion.py
FreeBirdsCrew/Brainstorming_Codes
9d06216cd0772ce56586acff2c240a210b94ba1f
[ "Apache-2.0" ]
1
2020-12-11T10:24:08.000Z
2020-12-11T10:24:08.000Z
Factorial Recursion.py
FreeBirdsCrew/Brainstorming_Codes
9d06216cd0772ce56586acff2c240a210b94ba1f
[ "Apache-2.0" ]
null
null
null
Factorial Recursion.py
FreeBirdsCrew/Brainstorming_Codes
9d06216cd0772ce56586acff2c240a210b94ba1f
[ "Apache-2.0" ]
null
null
null
# Factorial of a Given Number by User def factorial(x): if x == 0: return 1 return x * factorial(x - 1) x=int(raw_input()) print factorial(x)
18.555556
38
0.592814
27
167
3.62963
0.62963
0.306122
0
0
0
0
0
0
0
0
0
0.025641
0.299401
167
9
39
18.555556
0.811966
0.209581
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.166667
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
1
0
0
0
0
0
0
0
0
4
00666ab30bf2118bca3dfb2d2c3b289ef1a704df
130
py
Python
nr.4_working.py
kociumba/algorithms-for-it
8317229845a877568879c1b9e966cd1cc03c7a6b
[ "MIT" ]
null
null
null
nr.4_working.py
kociumba/algorithms-for-it
8317229845a877568879c1b9e966cd1cc03c7a6b
[ "MIT" ]
null
null
null
nr.4_working.py
kociumba/algorithms-for-it
8317229845a877568879c1b9e966cd1cc03c7a6b
[ "MIT" ]
null
null
null
a = input('please input a number: ') b = input('please input a second number: ') ax = a bx = b a = bx b = ax print(a) print(b)
10.833333
43
0.6
25
130
3.12
0.36
0.282051
0.410256
0.435897
0
0
0
0
0
0
0
0
0.246154
130
11
44
11.818182
0.795918
0
0
0
0
0
0.407692
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
007bc018cadf634e6a19ae045067562718485c12
106
py
Python
bleak/backends/__init__.py
pjbosco/bleak
7c65d74e7dda14d130de4065eb33d1ca20553adf
[ "MIT" ]
753
2018-08-01T08:46:21.000Z
2022-03-31T22:58:12.000Z
bleak/backends/__init__.py
pjbosco/bleak
7c65d74e7dda14d130de4065eb33d1ca20553adf
[ "MIT" ]
587
2018-04-27T09:47:58.000Z
2022-03-31T14:55:57.000Z
bleak/backends/__init__.py
pjbosco/bleak
7c65d74e7dda14d130de4065eb33d1ca20553adf
[ "MIT" ]
180
2018-09-28T09:34:58.000Z
2022-03-30T19:19:34.000Z
# -*- coding: utf-8 -*- """ __init__.py Created on 2017-11-19 by hbldh <henrik.blidh@nedomkull.com> """
13.25
59
0.632075
16
106
3.9375
1
0
0
0
0
0
0
0
0
0
0
0.1
0.150943
106
7
60
15.142857
0.6
0.896226
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
009a9c57dd383eb213cf4788ccad40025ab68ad9
67
py
Python
module_ambulance/__init__.py
SoftButterfly/appsxsalud2016
3986f531a2c0ea3fc815b9519d2bb32b08949cbc
[ "MIT" ]
null
null
null
module_ambulance/__init__.py
SoftButterfly/appsxsalud2016
3986f531a2c0ea3fc815b9519d2bb32b08949cbc
[ "MIT" ]
null
null
null
module_ambulance/__init__.py
SoftButterfly/appsxsalud2016
3986f531a2c0ea3fc815b9519d2bb32b08949cbc
[ "MIT" ]
null
null
null
default_app_config = 'module_ambulance.apps.ModuleAmbulanceConfig'
33.5
66
0.880597
7
67
8
1
0
0
0
0
0
0
0
0
0
0
0
0.044776
67
1
67
67
0.875
0
0
0
0
0
0.641791
0.641791
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
00c927a19966981efc54e2dc291e114559800461
224
py
Python
blog/admin.py
lokeshmeher/django-blogging-platform
ca90c91917fad5bb183bd3f2aef8e999a3234015
[ "MIT" ]
null
null
null
blog/admin.py
lokeshmeher/django-blogging-platform
ca90c91917fad5bb183bd3f2aef8e999a3234015
[ "MIT" ]
null
null
null
blog/admin.py
lokeshmeher/django-blogging-platform
ca90c91917fad5bb183bd3f2aef8e999a3234015
[ "MIT" ]
1
2020-09-18T08:52:10.000Z
2020-09-18T08:52:10.000Z
from django.contrib import admin from .models import Article @admin.register(Article) class ArticleAdmin(admin.ModelAdmin): exclude = ('word_count', 'read_time_in_mins') prepopulated_fields = {'slug': ('title',)}
22.4
49
0.736607
27
224
5.925926
0.814815
0
0
0
0
0
0
0
0
0
0
0
0.133929
224
9
50
24.888889
0.824742
0
0
0
0
0
0.160714
0
0
0
0
0
0
1
0
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
00d6c0a821802dc91c4e7c988ae161e3f08e0bb1
69
py
Python
test/python/WMCore_t/Agent_t/Daemon_t/__init__.py
hufnagel/WMCore
b150cc725b68fc1cf8e6e0fa07c826226a4421fa
[ "Apache-2.0" ]
21
2015-11-19T16:18:45.000Z
2021-12-02T18:20:39.000Z
test/python/WMCore_t/Agent_t/Daemon_t/__init__.py
hufnagel/WMCore
b150cc725b68fc1cf8e6e0fa07c826226a4421fa
[ "Apache-2.0" ]
5,671
2015-01-06T14:38:52.000Z
2022-03-31T22:11:14.000Z
test/python/WMCore_t/Agent_t/Daemon_t/__init__.py
hufnagel/WMCore
b150cc725b68fc1cf8e6e0fa07c826226a4421fa
[ "Apache-2.0" ]
67
2015-01-21T15:55:38.000Z
2022-02-03T19:53:13.000Z
#!/usr/bin/env python """ __init__ Tests for creating daemons. """
7.666667
21
0.666667
9
69
4.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.15942
69
8
22
8.625
0.724138
0.84058
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
daae9e8dabbe98694d563317ed28b07279e80f59
55
py
Python
api/views/__init__.py
robohead/minimal-django-rest-api-boilerplate
279bd8ba7545573e4bd02a29a46c93e17839a72b
[ "MIT" ]
4
2019-07-03T18:33:09.000Z
2022-01-07T17:10:03.000Z
api/views/__init__.py
robohead/minimal-django-rest-api-boilerplate
279bd8ba7545573e4bd02a29a46c93e17839a72b
[ "MIT" ]
null
null
null
api/views/__init__.py
robohead/minimal-django-rest-api-boilerplate
279bd8ba7545573e4bd02a29a46c93e17839a72b
[ "MIT" ]
null
null
null
# coding=utf-8 # flake8: noqa from .index import index
13.75
24
0.727273
9
55
4.444444
0.888889
0
0
0
0
0
0
0
0
0
0
0.043478
0.163636
55
3
25
18.333333
0.826087
0.454545
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
daf3a85a9282861b8240594564dfb0557a7d916e
83
py
Python
purple/extras/performance_counter.py
a8ksh4/purple
11460cc44cda7edf6f8fce5a5c841d4b04a47741
[ "MIT" ]
3
2021-12-24T04:14:48.000Z
2022-01-19T16:48:14.000Z
purple/extras/performance_counter.py
a8ksh4/purple
11460cc44cda7edf6f8fce5a5c841d4b04a47741
[ "MIT" ]
1
2022-01-25T05:32:21.000Z
2022-01-25T05:32:21.000Z
purple/extras/performance_counter.py
a8ksh4/purple
11460cc44cda7edf6f8fce5a5c841d4b04a47741
[ "MIT" ]
1
2022-01-19T00:41:04.000Z
2022-01-19T00:41:04.000Z
class PerformanceCounter: def update(self, status): print(status.delta)
27.666667
29
0.698795
9
83
6.444444
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.204819
83
3
30
27.666667
0.878788
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0.333333
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
970c0daf137456a382c98ed6e1781782a69e4694
188
py
Python
solr_utils.py
gongchengshi/python_common
a68ab61e03c433a33f16119910e1e73e848ea824
[ "MIT" ]
null
null
null
solr_utils.py
gongchengshi/python_common
a68ab61e03c433a33f16119910e1e73e848ea824
[ "MIT" ]
null
null
null
solr_utils.py
gongchengshi/python_common
a68ab61e03c433a33f16119910e1e73e848ea824
[ "MIT" ]
1
2018-09-19T00:33:35.000Z
2018-09-19T00:33:35.000Z
import pysolr def document_exists(self, id): results = self.search('id:%s' % id) return results.hits > 0 def extend_pysolr(): pysolr.Solr.document_exists = document_exists
17.090909
49
0.702128
26
188
4.923077
0.576923
0.328125
0
0
0
0
0
0
0
0
0
0.006536
0.18617
188
10
50
18.8
0.830065
0
0
0
0
0
0.026596
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0
0.666667
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
0
1
0
0
4
9740eec9b5f1c87e2a08fecf24a8e76dc458899f
123
py
Python
src/settings.py
wespatrocinio/basic_recommender_over_spark
53ffdff671e9e2f2f78117d060192fd7c2dca07e
[ "MIT" ]
null
null
null
src/settings.py
wespatrocinio/basic_recommender_over_spark
53ffdff671e9e2f2f78117d060192fd7c2dca07e
[ "MIT" ]
null
null
null
src/settings.py
wespatrocinio/basic_recommender_over_spark
53ffdff671e9e2f2f78117d060192fd7c2dca07e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- INPUT_PATH = "../data/data_reduced.json" OUTPUT_PATH = "../data/recommendations.json" NUM_RECS = 5
24.6
44
0.674797
17
123
4.647059
0.764706
0.202532
0
0
0
0
0
0
0
0
0
0.018349
0.113821
123
5
45
24.6
0.706422
0.170732
0
0
0
0
0.524752
0.524752
0
0
0
0
0
1
0
false
0
0
0
0
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
97416b45d603d67ab058636ea02bee7be8c86275
25,564
py
Python
tests/pytest/core_tests/test_ndarray_elementwise_op.py
SX-Aurora/nlcpy
0a53eec8778073bc48b12687b7ce37ab2bf2b7e0
[ "BSD-3-Clause" ]
11
2020-07-31T02:21:55.000Z
2022-03-10T03:12:11.000Z
tests/pytest/core_tests/test_ndarray_elementwise_op.py
SX-Aurora/nlcpy
0a53eec8778073bc48b12687b7ce37ab2bf2b7e0
[ "BSD-3-Clause" ]
null
null
null
tests/pytest/core_tests/test_ndarray_elementwise_op.py
SX-Aurora/nlcpy
0a53eec8778073bc48b12687b7ce37ab2bf2b7e0
[ "BSD-3-Clause" ]
null
null
null
# # * The source code in this file is based on the soure code of CuPy. # # # NLCPy License # # # Copyright (c) 2020-2021 NEC Corporation # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are ...
37.265306
88
0.688546
3,590
25,564
4.607799
0.083844
0.059243
0.106638
0.109902
0.808427
0.772035
0.725245
0.665397
0.529984
0.407629
0
0.0161
0.203059
25,564
685
89
37.319708
0.795857
0.107456
0
0.300211
0
0
0.035366
0
0
0
0
0
0.002114
1
0.325581
false
0
0.010571
0
0.393235
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
9746ee1931bea9f6bf3da99f6706fa6ba5b84d75
146
py
Python
run.py
avocadopelvis/Group-37_restaurant-website
7babe171bb77bb980f45c86a58cb99e4ca53b4c6
[ "MIT" ]
1
2022-03-24T12:07:29.000Z
2022-03-24T12:07:29.000Z
run.py
avocadopelvis/Group-37_restaurant-website
7babe171bb77bb980f45c86a58cb99e4ca53b4c6
[ "MIT" ]
null
null
null
run.py
avocadopelvis/Group-37_restaurant-website
7babe171bb77bb980f45c86a58cb99e4ca53b4c6
[ "MIT" ]
3
2021-11-19T11:13:20.000Z
2021-11-20T20:36:35.000Z
from restaurant.routes import app #checks if main.py has executed directly and not imported if __name__ == '__main__': app.run(debug = True)
24.333333
57
0.746575
22
146
4.590909
0.863636
0
0
0
0
0
0
0
0
0
0
0
0.171233
146
5
58
29.2
0.834711
0.383562
0
0
0
0
0.089888
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
9750415e6f405428d438bf80f063341f89fbce07
549
py
Python
Chapter_3/End_of_Chapter_3/3_1.py
charliealpha094/Introduction-to-Python-Programming-for-Business-and-Social-Sciences-Applications
52c4612b0d80da3311411bc7aee1d98f75de3d95
[ "MIT" ]
null
null
null
Chapter_3/End_of_Chapter_3/3_1.py
charliealpha094/Introduction-to-Python-Programming-for-Business-and-Social-Sciences-Applications
52c4612b0d80da3311411bc7aee1d98f75de3d95
[ "MIT" ]
null
null
null
Chapter_3/End_of_Chapter_3/3_1.py
charliealpha094/Introduction-to-Python-Programming-for-Business-and-Social-Sciences-Applications
52c4612b0d80da3311411bc7aee1d98f75de3d95
[ "MIT" ]
null
null
null
# Done by Carlos Amaral (2020/09/19) taxi_ride_info = ["da7a62fce04", 180, 1.1, True] print("The data type for the taxi_ride_info variable is: ", type(taxi_ride_info)) print("The data type for the first element of taxi_ride_info is: ", type(taxi_ride_info[0])) print("The data type for the second element of taxi_rid...
42.230769
95
0.746812
102
549
3.803922
0.294118
0.226804
0.340206
0.206186
0.731959
0.685567
0.402062
0.402062
0.402062
0.402062
0
0.04661
0.140255
549
13
95
42.230769
0.775424
0.061931
0
0
0
0
0.575875
0
0
0
0
0
0
1
0
false
0
0
0
0
0.833333
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
9769516993b3ccc19e13a52b8ef97b196e831e55
159
py
Python
pytest_cloudflare_worker/__init__.py
samuelcolvin/pytest-cloudflare-worker
225db7b26c8bd44e5f7d0199819a6e33e1e52efa
[ "MIT" ]
5
2020-10-19T08:37:15.000Z
2021-10-06T06:57:33.000Z
pytest_cloudflare_worker/__init__.py
samuelcolvin/pytest-cloudflare-worker
225db7b26c8bd44e5f7d0199819a6e33e1e52efa
[ "MIT" ]
6
2020-10-18T13:08:32.000Z
2020-11-01T19:14:21.000Z
pytest_cloudflare_worker/__init__.py
samuelcolvin/pytest-cloudflare-worker
225db7b26c8bd44e5f7d0199819a6e33e1e52efa
[ "MIT" ]
1
2021-09-23T10:44:59.000Z
2021-09-23T10:44:59.000Z
from .main import TestClient, WorkerError, deploy from .version import VERSION __version__ = VERSION __all__ = VERSION, 'TestClient', 'deploy', 'WorkerError'
26.5
56
0.779874
17
159
6.823529
0.470588
0.241379
0
0
0
0
0
0
0
0
0
0
0.125786
159
5
57
31.8
0.834532
0
0
0
0
0
0.169811
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
979df98d48675770b636d6bef61b317348ccb8f4
148
py
Python
BitterYear/__main__.py
jayrod/BitterYear
ad0ffab8b58530d5d9665771c370f6dd2ecee6ce
[ "Apache-2.0" ]
null
null
null
BitterYear/__main__.py
jayrod/BitterYear
ad0ffab8b58530d5d9665771c370f6dd2ecee6ce
[ "Apache-2.0" ]
null
null
null
BitterYear/__main__.py
jayrod/BitterYear
ad0ffab8b58530d5d9665771c370f6dd2ecee6ce
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """BitterYear.__main__: executed when BitterYear directory is called as script.""" from .BitterYear import main main()
14.8
82
0.695946
18
148
5.5
0.777778
0
0
0
0
0
0
0
0
0
0
0.008065
0.162162
148
9
83
16.444444
0.790323
0.668919
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
97c427d896cb05c982a06d3616b6db3142d3a690
84
py
Python
LSSTseeingEscapades/__init__.py
ivezic/LSSTseeingEscapades
acc7de9959ada7c789f7b0cac3287d4002b7ccdb
[ "MIT" ]
null
null
null
LSSTseeingEscapades/__init__.py
ivezic/LSSTseeingEscapades
acc7de9959ada7c789f7b0cac3287d4002b7ccdb
[ "MIT" ]
null
null
null
LSSTseeingEscapades/__init__.py
ivezic/LSSTseeingEscapades
acc7de9959ada7c789f7b0cac3287d4002b7ccdb
[ "MIT" ]
null
null
null
from .LSSTseeingEscapades import * # noqa from .version import __version__ # noqa
28
42
0.77381
9
84
6.777778
0.555556
0
0
0
0
0
0
0
0
0
0
0
0.166667
84
2
43
42
0.871429
0.107143
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
8af5fa173ed8025b206665a532af1c14f749ffcd
33
py
Python
source/__init__.py
aditya2469/galaga-2
5b5a979a8cc59a2f30700d35c10053394c2b34fe
[ "MIT" ]
5
2020-01-16T05:04:45.000Z
2022-03-16T17:29:23.000Z
source/__init__.py
aditya2469/galaga-2
5b5a979a8cc59a2f30700d35c10053394c2b34fe
[ "MIT" ]
1
2020-03-11T04:43:41.000Z
2020-03-11T04:43:41.000Z
source/__init__.py
aditya2469/galaga-2
5b5a979a8cc59a2f30700d35c10053394c2b34fe
[ "MIT" ]
5
2020-11-06T21:02:12.000Z
2022-03-18T21:52:14.000Z
# __init__.py """ Hi there! """
5.5
13
0.515152
4
33
3.25
1
0
0
0
0
0
0
0
0
0
0
0
0.212121
33
5
14
6.6
0.5
0.666667
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
8afacbb9b72283054d6759d79dc94199ad720e69
100
py
Python
ois_api_client/v2_0/dto/RequestVersion.py
peterkulik/ois_api_client
51dabcc9f920f89982c4419bb058f5a88193cee0
[ "MIT" ]
7
2020-10-22T08:15:29.000Z
2022-01-27T07:59:39.000Z
ois_api_client/v2_0/dto/RequestVersion.py
peterkulik/ois_api_client
51dabcc9f920f89982c4419bb058f5a88193cee0
[ "MIT" ]
null
null
null
ois_api_client/v2_0/dto/RequestVersion.py
peterkulik/ois_api_client
51dabcc9f920f89982c4419bb058f5a88193cee0
[ "MIT" ]
null
null
null
from enum import Enum class RequestVersion(Enum): """Request header type""" R_2_0 = '2.0'
14.285714
29
0.65
15
100
4.2
0.733333
0.063492
0
0
0
0
0
0
0
0
0
0.051282
0.22
100
6
30
16.666667
0.75641
0.19
0
0
0
0
0.04
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
8afc2e250f4ce5f02c118ac55509f58e5e4fc4f8
149
py
Python
src/core/auth_pipeline.py
bartmanos/sfn
8e11689d453c0cdb10f08a12a84c47dce19ea812
[ "MIT" ]
2
2022-03-19T23:17:10.000Z
2022-03-22T13:52:20.000Z
src/core/auth_pipeline.py
bartmanos/sfn
8e11689d453c0cdb10f08a12a84c47dce19ea812
[ "MIT" ]
37
2022-03-13T22:08:03.000Z
2022-03-25T20:07:44.000Z
src/core/auth_pipeline.py
bartmanos/sfn
8e11689d453c0cdb10f08a12a84c47dce19ea812
[ "MIT" ]
1
2022-03-19T19:25:11.000Z
2022-03-19T19:25:11.000Z
def save_user(backend, user, response, *args, **kwargs) -> None: if user and not user.is_staff: user.is_staff = True user.save()
29.8
64
0.624161
22
149
4.090909
0.636364
0.133333
0.244444
0
0
0
0
0
0
0
0
0
0.248322
149
4
65
37.25
0.803571
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.25
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
c103abf30876f6eab5448e2cf2bd81e8304f7c7d
53
py
Python
uhl_etl.py
LCBRU/no_api_etl
80272743047f8a36ede4b092150e3b76c2fb0186
[ "MIT" ]
null
null
null
uhl_etl.py
LCBRU/no_api_etl
80272743047f8a36ede4b092150e3b76c2fb0186
[ "MIT" ]
null
null
null
uhl_etl.py
LCBRU/no_api_etl
80272743047f8a36ede4b092150e3b76c2fb0186
[ "MIT" ]
null
null
null
import api.uhl_etl from runner import run run()
10.6
23
0.716981
9
53
4.111111
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.226415
53
4
24
13.25
0.902439
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
c1376605d901bc3c4141687e66267caab3b77f12
80
py
Python
aiopenapi3/__main__.py
commonism/aiopenapi3
3efb0e65fdcdce7408c888df3f4adbad8abb4359
[ "BSD-3-Clause" ]
null
null
null
aiopenapi3/__main__.py
commonism/aiopenapi3
3efb0e65fdcdce7408c888df3f4adbad8abb4359
[ "BSD-3-Clause" ]
7
2022-01-03T19:48:06.000Z
2022-03-14T22:01:57.000Z
aiopenapi3/__main__.py
commonism/aiopenapi3
3efb0e65fdcdce7408c888df3f4adbad8abb4359
[ "BSD-3-Clause" ]
null
null
null
import sys from .cli import main if __name__ == "__main__": main(sys.argv)
13.333333
26
0.6875
12
80
3.916667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.2
80
5
27
16
0.734375
0
0
0
0
0
0.1
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
c1814ababcf85722ca717c4015b89b751f124eb1
99
py
Python
setup.py
eherget/kerlescan
19aed245e9b5a470774ee9818f95ab28e9096fcc
[ "MIT" ]
null
null
null
setup.py
eherget/kerlescan
19aed245e9b5a470774ee9818f95ab28e9096fcc
[ "MIT" ]
null
null
null
setup.py
eherget/kerlescan
19aed245e9b5a470774ee9818f95ab28e9096fcc
[ "MIT" ]
null
null
null
from distutils.core import setup setup(name="kerlescan", version="0.1", py_modules=["kerlescan"])
24.75
64
0.747475
14
99
5.214286
0.857143
0
0
0
0
0
0
0
0
0
0
0.021978
0.080808
99
3
65
33
0.78022
0
0
0
0
0
0.212121
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
c1b835cbc53015d9e0c5685ebdfacf03fb28888a
182
py
Python
tests/test_logging/basic_scenes_square_to_circle.py
philschatz/manim
e3359a571d9a02a08979b3e037ddada3e874eb7c
[ "MIT" ]
9,497
2020-05-19T04:05:51.000Z
2022-03-31T19:00:02.000Z
tests/test_logging/basic_scenes_square_to_circle.py
philschatz/manim
e3359a571d9a02a08979b3e037ddada3e874eb7c
[ "MIT" ]
2,052
2020-05-19T03:35:26.000Z
2022-03-31T16:18:06.000Z
tests/test_logging/basic_scenes_square_to_circle.py
philschatz/manim
e3359a571d9a02a08979b3e037ddada3e874eb7c
[ "MIT" ]
1,016
2020-05-20T01:16:11.000Z
2022-03-30T16:47:14.000Z
from manim import * # This module is used in the CLI tests in tests_CLi.py. class SquareToCircle(Scene): def construct(self): self.play(Transform(Square(), Circle()))
20.222222
55
0.692308
26
182
4.807692
0.846154
0
0
0
0
0
0
0
0
0
0
0
0.197802
182
8
56
22.75
0.856164
0.291209
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
4
c1d234e7ad04b5aa3c9909e9bb92c7801c51390d
66
py
Python
2-3/fizzbuzz.py
mttaggart/everlive-python-intro
f3502d035c56d2eec7a738b9cdc8445e07ca14f9
[ "MIT" ]
null
null
null
2-3/fizzbuzz.py
mttaggart/everlive-python-intro
f3502d035c56d2eec7a738b9cdc8445e07ca14f9
[ "MIT" ]
null
null
null
2-3/fizzbuzz.py
mttaggart/everlive-python-intro
f3502d035c56d2eec7a738b9cdc8445e07ca14f9
[ "MIT" ]
null
null
null
# Define fizzbuzz function # Do it for a given number of steps
11
35
0.727273
11
66
4.363636
1
0
0
0
0
0
0
0
0
0
0
0
0.242424
66
5
36
13.2
0.96
0.878788
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
c1d9d971d8b10f97701669aae4dab1b0638346b5
157
py
Python
waiting/src/lib/mine/sample_python/src/example/test/dummy_test.py
rdw20170120/workstation
ed19aa930a83885c2a8cb58eb0bb5afe58f95df3
[ "MIT" ]
null
null
null
waiting/src/lib/mine/sample_python/src/example/test/dummy_test.py
rdw20170120/workstation
ed19aa930a83885c2a8cb58eb0bb5afe58f95df3
[ "MIT" ]
2
2021-04-06T18:07:32.000Z
2021-06-02T01:50:40.000Z
waiting/src/lib/mine/sample_python/src/example/test/dummy_test.py
rdw20170120/workstation
ed19aa930a83885c2a8cb58eb0bb5afe58f95df3
[ "MIT" ]
null
null
null
""" Dummy tests """ def test_pass(): """Test nothing at all (well, "pass" anyway).""" pass def test_true(): """Test True.""" assert True
12.076923
52
0.547771
20
157
4.2
0.6
0.166667
0
0
0
0
0
0
0
0
0
0
0.254777
157
12
53
13.083333
0.717949
0.414013
0
0
0
0
0
0
0
0
0
0
0.25
1
0.5
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
1
0
0
0
0
0
4
de01aa30f4109ed7745ed61580a912fea29f4b04
63
py
Python
run.py
Midas0615/react-flask-E-commerce
0d18409e9b58363b8035cce96b930602ec648fbd
[ "MIT" ]
54
2017-08-22T05:59:11.000Z
2021-09-28T06:48:23.000Z
run.py
Midas0615/react-flask-E-commerce
0d18409e9b58363b8035cce96b930602ec648fbd
[ "MIT" ]
5
2021-02-08T20:14:18.000Z
2021-12-13T19:36:25.000Z
run.py
Midas0615/react-flask-E-commerce
0d18409e9b58363b8035cce96b930602ec648fbd
[ "MIT" ]
30
2017-10-24T19:36:17.000Z
2021-11-03T04:41:50.000Z
from app import webapp webapp.run(host='0.0.0.0', debug=True)
15.75
38
0.714286
13
63
3.461538
0.692308
0.133333
0.133333
0
0
0
0
0
0
0
0
0.071429
0.111111
63
3
39
21
0.732143
0
0
0
0
0
0.112903
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