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
a7cc887229a4e111147e9ed187a70e58f68bbe50
666
py
Python
Basic-Python/code/password_generator.py
johnnynode/AI-LEARNING-MATERIAL
1719f5b6ecb9b9caf485b9d806c1211b142b8ed5
[ "MIT" ]
2
2018-06-08T00:40:17.000Z
2018-06-08T05:27:30.000Z
Basic-Python/code/password_generator.py
johnnynode/AI-LEARNING-MATERIAL
1719f5b6ecb9b9caf485b9d806c1211b142b8ed5
[ "MIT" ]
null
null
null
Basic-Python/code/password_generator.py
johnnynode/AI-LEARNING-MATERIAL
1719f5b6ecb9b9caf485b9d806c1211b142b8ed5
[ "MIT" ]
null
null
null
# Use an import statement at the top import random word_file = "words.txt" word_list = [] #fill up the word_list with open(word_file,'r') as words: for line in words: # remove white space and make everything lowercase word = line.strip().lower() # don't include words that are too long or too short if 3 < len(...
30.272727
89
0.747748
104
666
4.682692
0.644231
0.098563
0.098563
0.123203
0.123203
0.123203
0.123203
0.123203
0
0
0
0.00361
0.168168
666
22
90
30.272727
0.875451
0.468468
0
0
0
0
0.028902
0
0
0
0
0
0
1
0.090909
false
0.181818
0.090909
0.090909
0.272727
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
a7cd6ab538934aaa2825fa9637826c5bbcaf8c90
15,465
py
Python
software/preprocessing/Scripts/reconstruction_analysis.py
BouchardLab/ReachMaster
074ff58e2bfeddd8141de2eddc4aa11de2e58d7a
[ "BSD-3-Clause-LBNL" ]
2
2020-09-19T21:04:59.000Z
2021-07-27T15:57:49.000Z
software/preprocessing/Scripts/reconstruction_analysis.py
BouchardLab/ReachMaster
074ff58e2bfeddd8141de2eddc4aa11de2e58d7a
[ "BSD-3-Clause-LBNL" ]
1
2021-02-16T21:53:00.000Z
2021-02-16T21:53:00.000Z
software/preprocessing/Scripts/reconstruction_analysis.py
BouchardLab/ReachMaster
074ff58e2bfeddd8141de2eddc4aa11de2e58d7a
[ "BSD-3-Clause-LBNL" ]
4
2020-02-08T22:41:35.000Z
2021-09-10T20:33:00.000Z
import numpy as np import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D # noqa: F401 unused import from software.preprocessing.video_data.DLC.Reconstruction import dlt_reconstruct from mpl_toolkits.axes_grid1 import make_axes_locatable from sklearn.metrics import mean_squared_error from scipy import...
64.4375
261
0.674555
2,171
15,465
4.48503
0.076462
0.07148
0.099825
0.10722
0.787614
0.70494
0.621957
0.557153
0.442025
0.314676
0
0.023917
0.167281
15,465
239
262
64.707113
0.732179
0.015066
0
0.04
0
0
0.20531
0.047647
0
0
0
0
0
1
0.02
false
0.01
0.055
0
0.085
0.005
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a7d92e0ac2a64d85a51332d8fa78a802f090a198
3,223
py
Python
canella/form/models.py
mush42/Canella-CMS
b5132c271a3b8840f0b165c62d14de6853a3e5ac
[ "MIT" ]
8
2017-01-30T22:46:40.000Z
2018-03-30T21:35:28.000Z
canella/form/models.py
mush42/Canella-CMS
b5132c271a3b8840f0b165c62d14de6853a3e5ac
[ "MIT" ]
null
null
null
canella/form/models.py
mush42/Canella-CMS
b5132c271a3b8840f0b165c62d14de6853a3e5ac
[ "MIT" ]
2
2018-01-16T10:31:27.000Z
2020-10-01T19:49:10.000Z
from sqlalchemy.ext.hybrid import hybrid_property from .. import app, db from ..babel import lazy_gettext from ..core.models import TimeStampped from ..page.models import Page from ..util.dynamicform import FIELD_MAP from ..util.sqla import PolymorphicVerticalProperty class Field(db.Model): id = db.Column(db.Int...
49.584615
170
0.708967
450
3,223
4.982222
0.242222
0.078501
0.098127
0.075825
0.322926
0.286351
0.206958
0.179304
0.148974
0.072257
0
0.006218
0.151722
3,223
64
171
50.359375
0.813826
0
0
0.086207
0
0
0.187093
0
0
0
0
0
0
1
0
false
0
0.12069
0
0.655172
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
a7dc4c03d79aa98392af7699d4af54d1b3cd8c66
1,074
py
Python
modules/signatures/windows/vir_bagle.py
Yuanmessi/Bold-Falcon
00fcaba0b3d9c462b9d20ecb256ff85db5d119e2
[ "BSD-3-Clause" ]
24
2021-06-21T07:35:37.000Z
2022-03-22T03:33:59.000Z
modules/signatures/windows/vir_bagle.py
Yuanmessi/Bold-Falcon
00fcaba0b3d9c462b9d20ecb256ff85db5d119e2
[ "BSD-3-Clause" ]
3
2021-07-01T08:09:05.000Z
2022-01-28T03:38:36.000Z
modules/signatures/windows/vir_bagle.py
Yuanmessi/Bold-Falcon
00fcaba0b3d9c462b9d20ecb256ff85db5d119e2
[ "BSD-3-Clause" ]
6
2021-06-22T05:32:57.000Z
2022-02-11T02:05:45.000Z
# Copyright (C) 2010-2015 Cuckoo Foundation. # This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org # This signature was contributed by RedSocks - http://redsocks.nl # See the file 'docs/LICENSE' for copying permission. from lib.cuckoo.common.abstracts import Signature class Bagle(Signature): name =...
32.545455
82
0.602421
136
1,074
4.683824
0.676471
0.009419
0.014129
0.018838
0.028257
0.028257
0
0
0
0
0
0.016827
0.225326
1,074
32
83
33.5625
0.748798
0.209497
0
0
0
0.086957
0.35782
0.226303
0
0
0
0
0
1
0.043478
false
0
0.043478
0
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
0
0
0
0
0
1
0
0
1
38ea9be004300089dbb236eff3c7c2c2401a66ee
725
py
Python
commanders_handbook/preprocess.py
Arcensoth/mapmakers-guide
4d45000f7868440471677a87aee023a7ffdf91bb
[ "CC-BY-4.0" ]
10
2018-09-12T08:03:55.000Z
2022-03-29T22:22:28.000Z
commanders_handbook/preprocess.py
Arcensoth/mapmakers-guide
4d45000f7868440471677a87aee023a7ffdf91bb
[ "CC-BY-4.0" ]
2
2018-09-18T16:17:14.000Z
2018-10-21T19:31:50.000Z
commanders_handbook/preprocess.py
Arcensoth/mapmakers-guide
4d45000f7868440471677a87aee023a7ffdf91bb
[ "CC-BY-4.0" ]
7
2018-09-01T20:38:19.000Z
2020-11-01T00:05:45.000Z
""" mdbook preprocessor that checks for packs and runs beet/lectern. """ import json import os import sys from commanders_handbook.context import Context if __name__ == "__main__": if len(sys.argv) > 1: if sys.argv[1] == "supports": sys.exit(0) CWD = os.getcwd() print(f"Preprocessing...
26.851852
81
0.631724
101
725
4.445545
0.504951
0.073497
0.035635
0.071269
0.23608
0.23608
0.160356
0
0
0
0
0.008621
0.2
725
26
82
27.884615
0.765517
0.393103
0
0
0
0
0.114219
0
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
0.153846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
38eb938ef5c63e7f55cecd289ca2e05a9e1d59ba
6,076
py
Python
app.py
froi/morsel
06d0fa4db9d03acd0f4e5f941f626d1a41932e84
[ "MIT" ]
null
null
null
app.py
froi/morsel
06d0fa4db9d03acd0f4e5f941f626d1a41932e84
[ "MIT" ]
null
null
null
app.py
froi/morsel
06d0fa4db9d03acd0f4e5f941f626d1a41932e84
[ "MIT" ]
null
null
null
from flask import Flask, render_template, request, redirect, url_for, flash, g from flask.ext.login import LoginManager, login_required, current_user, login_user, logout_user from flask_wtf.csrf import CsrfProtect from flask.ext.bcrypt import Bcrypt from forms import LoginForm, RegisterForm, SnippetForm import db impo...
32.148148
104
0.644009
754
6,076
5.005305
0.168435
0.050079
0.044515
0.058294
0.449921
0.397721
0.369104
0.318495
0.318495
0.304452
0
0.00169
0.220869
6,076
188
105
32.319149
0.795522
0.009052
0
0.409722
0
0
0.145065
0.018279
0
0
0
0
0
0
null
null
0.020833
0.048611
null
null
0.027778
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
38ebd11735f1f0fafd5e79ce4002fb60a4b42132
235
py
Python
posts/views.py
aakashthapa060/Atom-Social-Media
03c45f4fa76ecc3b1afafc68ab0db555bb883957
[ "Apache-2.0" ]
1
2021-05-13T12:32:34.000Z
2021-05-13T12:32:34.000Z
posts/views.py
aakashthapa060/Atom-Social-Media
03c45f4fa76ecc3b1afafc68ab0db555bb883957
[ "Apache-2.0" ]
null
null
null
posts/views.py
aakashthapa060/Atom-Social-Media
03c45f4fa76ecc3b1afafc68ab0db555bb883957
[ "Apache-2.0" ]
null
null
null
from django.shortcuts import render from .models import Post # Create your views here. def main_view(request): posts = Post.objects.all() context = { "posts": posts } return render(request, "main.html", context)
26.111111
48
0.676596
30
235
5.266667
0.7
0
0
0
0
0
0
0
0
0
0
0
0.217021
235
9
48
26.111111
0.858696
0.097872
0
0
0
0
0.066351
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
38f0e39afed5b705293a23a107eaff91ae3882ec
1,033
py
Python
escholDBIntf.py
eScholarship/oapi_autodeposit
0a245771013bb3e06a5ca378b481e78df66c80e9
[ "BSD-3-Clause" ]
1
2021-04-29T13:47:05.000Z
2021-04-29T13:47:05.000Z
escholDBIntf.py
eScholarship/oapi_autodeposit
0a245771013bb3e06a5ca378b481e78df66c80e9
[ "BSD-3-Clause" ]
null
null
null
escholDBIntf.py
eScholarship/oapi_autodeposit
0a245771013bb3e06a5ca378b481e78df66c80e9
[ "BSD-3-Clause" ]
null
null
null
import creds import mysql.connector ######################################## # # Gets the series, group info from eschol DB # ######################################## class escholDB: queryUnits = "SELECT attrs->>'$.elements_id', id elements_id FROM units WHERE attrs->>'$.elements_id' is not null" ...
29.514286
119
0.519845
102
1,033
5.196078
0.54902
0.122642
0.056604
0
0
0
0
0
0
0
0
0.004231
0.31365
1,033
34
120
30.382353
0.7433
0.040658
0
0
0
0
0.189655
0.054023
0
0
0
0
0
1
0.105263
false
0.052632
0.105263
0
0.368421
0.105263
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
38f196b59f1610f6c879235ddcb76b7a61100ff8
272
py
Python
app/location/admin.py
FinalProject-Team4/Server_DaangnMarket
258eb8c79fcbed69d516f521e6194cac7b315a58
[ "MIT" ]
1
2020-06-20T12:52:07.000Z
2020-06-20T12:52:07.000Z
app/location/admin.py
FinalProject-Team4/Server_DaangnMarket
258eb8c79fcbed69d516f521e6194cac7b315a58
[ "MIT" ]
34
2020-03-16T12:09:14.000Z
2021-04-08T20:23:42.000Z
app/location/admin.py
FinalProject-Team4/Server_DaangnMarket
258eb8c79fcbed69d516f521e6194cac7b315a58
[ "MIT" ]
2
2020-03-22T06:45:39.000Z
2020-03-22T06:55:11.000Z
from django.contrib import admin from import_export.admin import ImportExportMixin from location.models import Locate @admin.register(Locate) class LocateAdmin(ImportExportMixin, admin.ModelAdmin): list_display = ('id', 'dong', 'address', 'longitude', 'latitude')
24.727273
69
0.779412
31
272
6.774194
0.677419
0
0
0
0
0
0
0
0
0
0
0
0.113971
272
10
70
27.2
0.871369
0
0
0
0
0
0.110294
0
0
0
0
0
0
1
0
false
0
0.666667
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
38f31adab30d736d8b3e446f26a446634bf8be6d
708
py
Python
Day13/script_13_4_pattern_1.py
Ak-Shaw/python-for-kids
81f7c575de46f295e20054f8de63ff5d57f62fc2
[ "MIT" ]
null
null
null
Day13/script_13_4_pattern_1.py
Ak-Shaw/python-for-kids
81f7c575de46f295e20054f8de63ff5d57f62fc2
[ "MIT" ]
null
null
null
Day13/script_13_4_pattern_1.py
Ak-Shaw/python-for-kids
81f7c575de46f295e20054f8de63ff5d57f62fc2
[ "MIT" ]
null
null
null
# For n = 5, print the following pattern: ''' 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 ''' # The pattern should grow for various values of n, and should be symmetrical. # n should be a positive value. def print_pattern(n): for i in range(1, n + 1): for j in range(1, i + 1): print(j, e...
21.454545
78
0.569209
124
708
3.169355
0.395161
0.076336
0.022901
0.020356
0.117048
0.117048
0
0
0
0
0
0.042169
0.29661
708
33
79
21.454545
0.746988
0.293785
0
0
0
0
0.191693
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.090909
0.454545
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
38f478b4e6afb9b15cb2c134309a60e8b64b0739
5,612
py
Python
src/oled_monitor/rascsi_oled_monitor.py
sfiera/RASCSI
25d0fdebcbeb202471b669c3c351ec46f94c1e87
[ "BSD-3-Clause" ]
null
null
null
src/oled_monitor/rascsi_oled_monitor.py
sfiera/RASCSI
25d0fdebcbeb202471b669c3c351ec46f94c1e87
[ "BSD-3-Clause" ]
null
null
null
src/oled_monitor/rascsi_oled_monitor.py
sfiera/RASCSI
25d0fdebcbeb202471b669c3c351ec46f94c1e87
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python # # RaSCSI Updates: # Updates to output rascsi status to an OLED display # Copyright (C) 2020 Tony Kuker # Author: Tony Kuker # Developed for: https://www.amazon.com/MakerFocus-Display-SSD1306-3-3V-5V-Arduino/dp/B079BN2J8V # # All other code: # Copyright (c) 2017 Adafruit Industries # Aut...
34.857143
116
0.693514
848
5,612
4.524764
0.396226
0.022935
0.034663
0.047433
0.194162
0.175397
0.175397
0.175397
0.161063
0.085483
0
0.048119
0.185317
5,612
160
117
35.075
0.79112
0.695118
0
0.085106
0
0
0.081796
0
0
0
0
0
0
0
null
null
0
0.170213
null
null
0.085106
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
38f82240a7e1a91643e9239daee61cd1e1dab8b8
466
py
Python
mayan/apps/smart_settings/permissions.py
prezi/mayan-edms
e9bc10a056c3379b57115c6e83022f48c6298e1d
[ "Apache-2.0" ]
4
2019-02-17T08:35:42.000Z
2019-03-28T06:02:11.000Z
mayan/apps/smart_settings/permissions.py
zhoubear/mayan-edms
e9bc10a056c3379b57115c6e83022f48c6298e1d
[ "Apache-2.0" ]
1
2018-10-11T13:01:34.000Z
2018-10-11T13:01:34.000Z
mayan/apps/smart_settings/permissions.py
prezi/mayan-edms
e9bc10a056c3379b57115c6e83022f48c6298e1d
[ "Apache-2.0" ]
3
2019-01-29T13:21:57.000Z
2019-10-27T03:20:15.000Z
from __future__ import absolute_import, unicode_literals from django.utils.translation import ugettext_lazy as _ from permissions import PermissionNamespace namespace = PermissionNamespace('smart_settings', _('Smart settings')) permission_settings_edit = namespace.add_permission( name='permission_settings_edit'...
31.066667
70
0.817597
51
466
7.039216
0.45098
0.200557
0.144847
0.144847
0.245125
0.245125
0
0
0
0
0
0
0.098712
466
14
71
33.285714
0.854762
0
0
0
0
0
0.218884
0.103004
0
0
0
0
0
1
0
false
0
0.3
0
0.3
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
38fa86c7596d0b624b47efd8f502f374f8302285
714
py
Python
tests/runtime/smoke/host.py
theduke/wit-bindgen
f03593bf553eec9f6e18b2ee54e275b37bf9f385
[ "Apache-2.0" ]
88
2021-12-02T11:46:28.000Z
2022-03-31T14:01:14.000Z
tests/runtime/smoke/host.py
theduke/wit-bindgen
f03593bf553eec9f6e18b2ee54e275b37bf9f385
[ "Apache-2.0" ]
67
2021-12-07T17:06:25.000Z
2022-03-31T18:47:03.000Z
tests/runtime/smoke/host.py
theduke/wit-bindgen
f03593bf553eec9f6e18b2ee54e275b37bf9f385
[ "Apache-2.0" ]
22
2021-12-02T14:57:36.000Z
2022-03-28T20:25:34.000Z
from exports.bindings import Exports from imports.bindings import add_imports_to_linker, Imports import sys import wasmtime class MyImports: def thunk(self) -> None: self.hit = True def run(wasm_file: str) -> None: store = wasmtime.Store() module = wasmtime.Module.from_file(store.engine, wasm_file...
25.5
63
0.704482
93
714
5.182796
0.408602
0.058091
0.049793
0.074689
0
0
0
0
0
0
0
0.001724
0.187675
714
27
64
26.444444
0.82931
0
0
0
0
0
0.011204
0
0
0
0
0
0.043478
1
0.086957
false
0
0.347826
0
0.478261
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
38ff7eda6a67afe153cc64f2a21f995b223918fa
452
py
Python
ecomapp/urls.py
Louis86/ecommerce
d47f13bfe4772b33a9cb6b8ec08183525fc4655d
[ "MIT" ]
null
null
null
ecomapp/urls.py
Louis86/ecommerce
d47f13bfe4772b33a9cb6b8ec08183525fc4655d
[ "MIT" ]
null
null
null
ecomapp/urls.py
Louis86/ecommerce
d47f13bfe4772b33a9cb6b8ec08183525fc4655d
[ "MIT" ]
null
null
null
from django.urls import path from django.views.generic import TemplateView from . import views from .views import ProductList, DetailProductView , AboutView , TemplateView, View app_name = 'ecomapp' urlpatterns = [ path('products/', ProductList.as_view()), path('', views.HomeView.as_view(), name='home'), ...
30.133333
82
0.710177
55
452
5.745455
0.418182
0.075949
0.094937
0
0
0
0
0
0
0
0
0
0.130531
452
14
83
32.285714
0.804071
0
0
0
0
0
0.108407
0
0
0
0
0
0
1
0
false
0
0.363636
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ac09cded7c494b073794a97fd505147c78324fbe
9,019
py
Python
autocomplete_light/tests/test_registry.py
julyzergcn/django-autocomplete-light-2.3.3
1043af9dc463bc97e0d6bf35f24133c6f7f42700
[ "MIT" ]
null
null
null
autocomplete_light/tests/test_registry.py
julyzergcn/django-autocomplete-light-2.3.3
1043af9dc463bc97e0d6bf35f24133c6f7f42700
[ "MIT" ]
2
2021-03-31T18:52:30.000Z
2021-12-13T19:50:13.000Z
autocomplete_light/tests/test_registry.py
julyzergcn/django-autocomplete-light-2.3.3
1043af9dc463bc97e0d6bf35f24133c6f7f42700
[ "MIT" ]
null
null
null
import unittest import autocomplete_light.shortcuts as autocomplete_light import django from django.contrib.auth.models import User from django.db import models from django.test import TestCase class Noname(models.Model): number = models.CharField(max_length=100) class Foo(models.Model): name = models.Char...
36.220884
117
0.700078
952
9,019
6.390756
0.143908
0.112426
0.08547
0.039448
0.519724
0.43146
0.386259
0.299967
0.206443
0.147107
0
0.003102
0.21366
9,019
248
118
36.366935
0.854766
0.001774
0
0.306452
0
0
0.111889
0.033111
0
0
0
0
0.166667
1
0.177419
false
0.069892
0.048387
0
0.349462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ac0a642c0679cb35dc17beb65cd3f5608b328222
9,709
py
Python
deobfuscate-foscam.py
ChaosFoxOverlord/PoC
893efe06b903e2fb65405d40946e22578764a67a
[ "Unlicense" ]
493
2017-03-08T05:35:36.000Z
2022-03-27T21:26:36.000Z
deobfuscate-foscam.py
leonW7/PoC
fc6f2722ade0a79fcb799bbfcf2b831ca9264539
[ "Unlicense" ]
12
2017-03-07T09:03:39.000Z
2021-05-04T21:24:18.000Z
deobfuscate-foscam.py
leonW7/PoC
fc6f2722ade0a79fcb799bbfcf2b831ca9264539
[ "Unlicense" ]
228
2017-03-07T18:34:49.000Z
2022-03-28T18:22:53.000Z
#!/usr/bin/env python2.7 # # Deobfuscate strings/login/password/cryptokey in misc Foscam IPC binaries and libs # # //bashis 2018 # import sys import os import StringIO import subprocess import argparse # # raw objdump to demo how it works # EXAMPLE = StringIO.StringIO(""" 1dcf8: e3a02080 mov r2, #128 ; 0x80 1dcfc: ...
34.066667
149
0.632506
1,577
9,709
3.774889
0.343056
0.11406
0.049891
0.075256
0.189316
0.150008
0.133714
0.1107
0.100286
0.097262
0
0.165684
0.196828
9,709
284
150
34.18662
0.597717
0.112679
0
0.050228
0
0.050228
0.50747
0.040149
0
0
0.027544
0
0
0
null
null
0.004566
0.022831
null
null
0.018265
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ac0affddab017d5211dee217bcca390dfcc51a16
2,064
py
Python
api/category/tests/api/serializer_tests.py
Egor4ik325/rankrise
c4377237c9afbdda365c01453f73151189129aa9
[ "MIT" ]
null
null
null
api/category/tests/api/serializer_tests.py
Egor4ik325/rankrise
c4377237c9afbdda365c01453f73151189129aa9
[ "MIT" ]
null
null
null
api/category/tests/api/serializer_tests.py
Egor4ik325/rankrise
c4377237c9afbdda365c01453f73151189129aa9
[ "MIT" ]
null
null
null
""" Test serializer class: - field kwargs - input data validation - converting model instance into Python dict (for JSON rendering) """ import pytest from category.serializers import CategorySerializer class TestFields: class TestReadOnly: def test_name(self): pass 4 class NotTestIsValid:...
29.913043
101
0.664729
256
2,064
5.203125
0.332031
0.108108
0.06006
0.052553
0.224474
0.177928
0.138889
0.138889
0.138889
0.094595
0
0.011472
0.239826
2,064
68
102
30.352941
0.837476
0.252422
0
0.142857
0
0
0.090483
0
0
0
0
0
0.2
1
0.228571
false
0.028571
0.057143
0.028571
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
ac0ceb938b062f8bd2a6208796ffc277555d2359
3,040
py
Python
ioflo/base/test/_testArbiting.py
BradyHammond/ioflo
177ac656d7c4ff801aebb0d8b401db365a5248ce
[ "ECL-2.0", "Apache-2.0", "MIT" ]
128
2015-01-14T12:26:56.000Z
2021-11-06T07:09:29.000Z
ioflo/base/test/_testArbiting.py
BradyHammond/ioflo
177ac656d7c4ff801aebb0d8b401db365a5248ce
[ "ECL-2.0", "Apache-2.0", "MIT" ]
17
2015-01-28T18:26:50.000Z
2020-11-19T22:08:06.000Z
ioflo/base/test/_testArbiting.py
BradyHammond/ioflo
177ac656d7c4ff801aebb0d8b401db365a5248ce
[ "ECL-2.0", "Apache-2.0", "MIT" ]
29
2015-01-27T23:28:31.000Z
2021-05-04T16:37:30.000Z
def Test(): """Module Common self test """ #clear registries storing.Store.Clear() #deeding.Deed.Clear() doing.Doer.Clear() store = storing.Store(name = 'Test') in1 = store.create('inputs.in1').create(value = 1.0).truth = 0.5 in2 = store.create('inputs.in2').create(value = 2.0).t...
25.123967
80
0.598684
352
3,040
5.099432
0.176136
0.12312
0.144847
0.188301
0.493036
0.482451
0.456267
0.456267
0.456267
0.298607
0
0.031732
0.253618
3,040
120
81
25.333333
0.759365
0.030592
0
0.539326
0
0
0.128955
0
0
0
0
0
0
1
0.011236
false
0
0
0
0.011236
0.044944
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ac11f7d244199a69c0ee240e4d1ec1559397da2c
862
py
Python
accounts/models.py
Debanjan2001/Ecommerce-WebApp
beebbdf036302036b6b3ff03b1a9f0dfe95a9c13
[ "MIT" ]
4
2021-04-21T17:58:11.000Z
2021-04-25T06:56:42.000Z
accounts/models.py
Debanjan2001/Ecommerce-WebApp
beebbdf036302036b6b3ff03b1a9f0dfe95a9c13
[ "MIT" ]
null
null
null
accounts/models.py
Debanjan2001/Ecommerce-WebApp
beebbdf036302036b6b3ff03b1a9f0dfe95a9c13
[ "MIT" ]
null
null
null
from django.utils import timezone from shop.models import Product from django.db import models from django.contrib.auth.models import User # Create your models here. class Profile(models.Model): user = models.OneToOneField(User,on_delete=models.CASCADE) first_name = models.CharField(max_length=100,blank=True...
28.733333
75
0.728538
113
862
5.389381
0.442478
0.059113
0.078818
0.07225
0.154351
0.154351
0.154351
0.154351
0.154351
0
0
0.008253
0.156613
862
29
76
29.724138
0.829436
0.11949
0
0
0
0
0.025166
0
0
0
0
0
0
1
0.125
false
0
0.25
0.0625
0.8125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ac165b632f9a28f9ce7903c2ebb072d56f61b755
4,977
py
Python
cyder/cydhcp/utils.py
ngokevin/chili
36c354ac567471d5e36dccf9eea5096c6b02d4b9
[ "BSD-3-Clause" ]
2
2019-03-16T00:47:09.000Z
2022-03-04T14:39:08.000Z
cyder/cydhcp/utils.py
ngokevin/chili
36c354ac567471d5e36dccf9eea5096c6b02d4b9
[ "BSD-3-Clause" ]
1
2020-04-24T08:24:55.000Z
2020-04-24T08:24:55.000Z
cyder/cydhcp/utils.py
ngokevin/chili
36c354ac567471d5e36dccf9eea5096c6b02d4b9
[ "BSD-3-Clause" ]
null
null
null
import ipaddr from cyder.base.constants import IP_TYPE_4, IP_TYPE_6 from django.db.models import Q class IPFilterSet(object): """ The IPFilterSet expects that all IPFilters added to it are of the same type. This might be useful later. """ def __init__(self): self.ipfs = [] def add(...
28.118644
77
0.549729
665
4,977
3.920301
0.219549
0.059839
0.021481
0.032221
0.219793
0.199079
0.199079
0.177599
0.149981
0.149981
0
0.025711
0.335744
4,977
176
78
28.278409
0.762855
0.09122
0
0.148936
0
0
0.004764
0
0
0
0
0
0
0
null
null
0
0.042553
null
null
0.042553
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ac1d2e398edd6aa836b89055e486ac88b979542b
238
py
Python
portal/urls.py
andersonags/market-place
b0215a2251e0ab31cd17a8c7e7395b34b5027c8d
[ "MIT" ]
null
null
null
portal/urls.py
andersonags/market-place
b0215a2251e0ab31cd17a8c7e7395b34b5027c8d
[ "MIT" ]
null
null
null
portal/urls.py
andersonags/market-place
b0215a2251e0ab31cd17a8c7e7395b34b5027c8d
[ "MIT" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path(r'', views.home, name='home'), path(r'my_products', views.my_products, name='my_products'), path(r'product/new', views.product_new, name='product_new'), ]
26.444444
64
0.693277
35
238
4.571429
0.4
0.09375
0
0
0
0
0
0
0
0
0
0
0.142857
238
8
65
29.75
0.784314
0
0
0
0
0
0.201681
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ac26f570f20a4b9f0ea7dc78ed9af3e32ec00743
5,125
py
Python
osp/corpus/syllabus.py
davidmcclure/open-syllabus-project
078cfd4c5a257fbfb0901d43bfbc6350824eed4e
[ "Apache-2.0" ]
220
2016-01-22T21:19:02.000Z
2022-01-25T04:33:55.000Z
osp/corpus/syllabus.py
davidmcclure/open-syllabus-project
078cfd4c5a257fbfb0901d43bfbc6350824eed4e
[ "Apache-2.0" ]
14
2016-01-23T14:34:39.000Z
2016-09-19T19:58:37.000Z
osp/corpus/syllabus.py
davidmcclure/open-syllabus-project
078cfd4c5a257fbfb0901d43bfbc6350824eed4e
[ "Apache-2.0" ]
14
2016-02-03T13:47:48.000Z
2019-03-27T13:09:05.000Z
import os import tldextract import re import magic import re from osp.corpus import utils from osp.common import config from osp.common.utils import parse_domain from contextlib import contextmanager from cached_property import cached_property # TODO: Don't use @property for the log methods. class Syllabus: ...
18.911439
75
0.522927
580
5,125
4.544828
0.241379
0.034143
0.064112
0.064492
0.123293
0.062215
0
0
0
0
0
0.00251
0.378146
5,125
270
76
18.981481
0.8246
0.286244
0
0.244444
0
0
0.031197
0
0
0
0
0.003704
0
1
0.211111
false
0.011111
0.111111
0
0.577778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
ac2753743baa0054286d26fedaaba37954c24e43
662
py
Python
backend/parking/migrations/0010_auto_20200703_2219.py
RodrigoBLima/parking-project
4444033980aec03f0cd7ba1947b24d487bff9131
[ "MIT" ]
null
null
null
backend/parking/migrations/0010_auto_20200703_2219.py
RodrigoBLima/parking-project
4444033980aec03f0cd7ba1947b24d487bff9131
[ "MIT" ]
3
2021-09-12T01:03:31.000Z
2022-02-27T06:47:30.000Z
backend/parking/migrations/0010_auto_20200703_2219.py
RodrigoBLima/parking-project
4444033980aec03f0cd7ba1947b24d487bff9131
[ "MIT" ]
null
null
null
# Generated by Django 2.0.2 on 2020-07-03 22:19 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('parking', '0009_auto_20200703_2217'), ] operations = [ migrations.RenameField( model_name='user', old_name='pais', ...
23.642857
92
0.555891
67
662
5.343284
0.701493
0.075419
0.108939
0.094972
0
0
0
0
0
0
0
0.071749
0.326284
662
27
93
24.518519
0.730942
0.067976
0
0.285714
1
0
0.131707
0.037398
0
0
0
0
0
1
0
false
0
0.047619
0
0.190476
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ac2a4ace1252ec82ddd8a7fc2c1a28aa03fc18d5
2,767
py
Python
23_1.py
Huluwa-kong/leetcode
94a1b35948f585dd2e9611be155a17e7814af846
[ "Apache-2.0" ]
null
null
null
23_1.py
Huluwa-kong/leetcode
94a1b35948f585dd2e9611be155a17e7814af846
[ "Apache-2.0" ]
null
null
null
23_1.py
Huluwa-kong/leetcode
94a1b35948f585dd2e9611be155a17e7814af846
[ "Apache-2.0" ]
null
null
null
from linkedlist_helper import * from typing import List, Optional, Tuple class MinHeap: def __init__(self): self.heap: List[ListNode] = [] def _adjust_bottom_up(self, index): while index > 0: # !!!!! parent = (index - 1) // 2 if self.heap[index].val < self....
30.406593
119
0.513191
370
2,767
3.745946
0.194595
0.20202
0.093795
0.080808
0.333333
0.28355
0.170274
0.170274
0.127706
0.127706
0
0.029073
0.341164
2,767
90
120
30.744444
0.731212
0.001807
0
0.083333
0
0.027778
0.040217
0.031522
0
0
0
0
0.041667
1
0.138889
false
0
0.027778
0.041667
0.277778
0.013889
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ac2f5f14db562511a4d2d913e45469c29c183938
4,494
py
Python
makestreet.py
vikaspushkar/MakefileDependancyGUI
e56cb890c7c3384def54a06f437c4a78d21a5191
[ "Apache-2.0" ]
null
null
null
makestreet.py
vikaspushkar/MakefileDependancyGUI
e56cb890c7c3384def54a06f437c4a78d21a5191
[ "Apache-2.0" ]
null
null
null
makestreet.py
vikaspushkar/MakefileDependancyGUI
e56cb890c7c3384def54a06f437c4a78d21a5191
[ "Apache-2.0" ]
null
null
null
import os #import Queue import matplotlib.pyplot as plt import pylab import subprocess import networkx as nx w = 2500; file_relation = [[0 for x in range(w)] for y in range(w)] files=[None]*w file_env=[dict() for x in range(w)] file_parent=[ 0 for x in range(w)] #parse_q=Queue.Queue() makefile_index=0 G=nx.DiGraph() ...
26.435294
143
0.653316
721
4,494
3.900139
0.206657
0.073969
0.027383
0.011735
0.15505
0.094595
0.0633
0.0633
0.033428
0.033428
0
0.014784
0.20227
4,494
169
144
26.591716
0.769596
0.17757
0
0.136364
0
0
0.044748
0
0
0
0
0
0
0
null
null
0
0.037879
null
null
0.098485
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ac33005d663b0cce249472125078c2302efb1fbf
796
py
Python
graph.py
LuudJanssen/evolving-network-analysis
a392cbc737ca02c1ca9d033bd858dbc60e57f757
[ "Apache-2.0" ]
null
null
null
graph.py
LuudJanssen/evolving-network-analysis
a392cbc737ca02c1ca9d033bd858dbc60e57f757
[ "Apache-2.0" ]
null
null
null
graph.py
LuudJanssen/evolving-network-analysis
a392cbc737ca02c1ca9d033bd858dbc60e57f757
[ "Apache-2.0" ]
null
null
null
import graph_tool import graph_tool.generation as generation time_start_key = 'time_start' time_end_key = 'time_end' # Reads an edge list and interprets it as a multi directional graph with time attributes def datafile_to_graph(filename): return graph_tool.load_graph_from_csv(filename, ...
36.181818
88
0.491206
75
796
4.893333
0.573333
0.073569
0.081744
0.087193
0
0
0
0
0
0
0
0.006849
0.449749
796
21
89
37.904762
0.83105
0.10804
0
0
0
0
0.048023
0
0
0
0
0
0
1
0.133333
false
0
0.133333
0.133333
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
ac34cb08e48df5b2e6c44eb18b37f64167294b2b
1,148
py
Python
wanakana/utils/english.py
Starwort/wanakana-py
fa43884e2ab516cb96297c70dc35bc09b11eb1c5
[ "MIT" ]
8
2019-07-24T14:07:12.000Z
2022-03-04T11:12:30.000Z
wanakana/utils/english.py
Starwort/wanakana-py
fa43884e2ab516cb96297c70dc35bc09b11eb1c5
[ "MIT" ]
1
2019-06-24T23:14:07.000Z
2019-06-24T23:14:07.000Z
wanakana/utils/english.py
Starwort/wanakana-py
fa43884e2ab516cb96297c70dc35bc09b11eb1c5
[ "MIT" ]
1
2021-02-05T20:51:28.000Z
2021-02-05T20:51:28.000Z
import string from ..constants import EN_PUNCTUATION_RANGES from .common import is_empty, is_char_in_range def is_char_consonant(char: str = "", include_y: bool = True) -> bool: """Tests if a character is an English consonant. Extra parameter `include_y` determines if y is treated as a consonant.""" if is...
31.027027
82
0.654181
168
1,148
4.291667
0.315476
0.049931
0.049931
0.049931
0.278779
0.214979
0.083218
0.083218
0
0
0
0.003333
0.216028
1,148
36
83
31.888889
0.797778
0.186411
0
0.26087
0
0
0.013143
0
0
0
0
0
0
1
0.173913
false
0
0.130435
0
0.608696
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ac3dc9abe0739c0a6f461639cf4ea1b4059ffc42
988
py
Python
lib/asn1/test/asn1_SUITE_data/P-Record.py
jjhoo/otp
808eccc796a05caf2f2a244db385df83c2680b9f
[ "Apache-2.0" ]
8,238
2015-01-02T01:05:29.000Z
2022-03-30T04:09:46.000Z
lib/asn1/test/asn1_SUITE_data/P-Record.py
jjhoo/otp
808eccc796a05caf2f2a244db385df83c2680b9f
[ "Apache-2.0" ]
2,988
2015-01-02T11:40:59.000Z
2022-03-31T18:29:54.000Z
lib/asn1/test/asn1_SUITE_data/P-Record.py
jjhoo/otp
808eccc796a05caf2f2a244db385df83c2680b9f
[ "Apache-2.0" ]
2,459
2015-01-01T18:54:55.000Z
2022-03-31T08:58:25.000Z
P-Record DEFINITIONS ::= BEGIN PersonnelRecord ::= [APPLICATION 0] SET { name Name, title VisibleString, number EmployeeNumber, dateOfHire Date, nameOfSpouse [1] Name, children SEQUENCE OF ChildInformation DEFAULT {} } ChildInformation ::= SET { name Name, dateOfBirth Date } Name ::=...
16.466667
53
0.653846
92
988
7.021739
0.5
0.060372
0.034056
0.071207
0
0
0
0
0
0
0
0.040789
0.230769
988
59
54
16.745763
0.809211
0
0
0.173077
0
0
0.074899
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ac43a8b687f86e8bb36cfb8bdf2d934609d84b63
2,314
py
Python
catchat/blueprints/auth.py
rufuscodes/catchat
2e161ccf950d5ac4f50170cc28143d9dd0cce829
[ "MIT" ]
null
null
null
catchat/blueprints/auth.py
rufuscodes/catchat
2e161ccf950d5ac4f50170cc28143d9dd0cce829
[ "MIT" ]
null
null
null
catchat/blueprints/auth.py
rufuscodes/catchat
2e161ccf950d5ac4f50170cc28143d9dd0cce829
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ :author: Grey Li (李辉) :url: http://greyli.com :copyright: © 2018 Grey Li <withlihui@gmail.com> :license: MIT, see LICENSE for more details. """ from flask import render_template, flash, redirect, url_for, Blueprint, request from flask_login import login_user, logout_user, log...
30.051948
79
0.638289
292
2,314
4.917808
0.328767
0.068942
0.087744
0.111421
0.314067
0.279944
0.235376
0.193593
0.137883
0.071031
0
0.00282
0.233794
2,314
76
80
30.447368
0.806543
0.070009
0
0.32
0
0
0.152726
0
0
0
0
0
0
1
0.06
false
0.12
0.08
0
0.34
0.04
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ac4452a12382f3b7898b6aaf6e174153e415210c
2,385
py
Python
python_docs/09TratarStrings/11Tratar_Strings.py
Matheus-IT/lang-python-related
dd2e5d9b9f16d3838ba1670fdfcba1fa3fe305e9
[ "MIT" ]
null
null
null
python_docs/09TratarStrings/11Tratar_Strings.py
Matheus-IT/lang-python-related
dd2e5d9b9f16d3838ba1670fdfcba1fa3fe305e9
[ "MIT" ]
null
null
null
python_docs/09TratarStrings/11Tratar_Strings.py
Matheus-IT/lang-python-related
dd2e5d9b9f16d3838ba1670fdfcba1fa3fe305e9
[ "MIT" ]
null
null
null
""" join - joins a list of strings with another string as a separator. replace - replaces one substring in a string with another. startswith and endswith - determine if there is a substring at the start and end of a string, respectively. To change the case of a string, you can use lower and upper. ...
44.166667
118
0.700629
375
2,385
4.456
0.437333
0.059844
0.026332
0.035907
0.083782
0.035907
0.035907
0
0
0
0
0.009336
0.191614
2,385
53
119
45
0.857365
0.618029
0
0
0
0.090909
0.511199
0
0
0
0
0
0
1
0
false
0
0
0
0
0.772727
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
ac4eb41dbd28dd8bafcfacc4b6d28232201d2030
381
py
Python
setup.py
sulova/creodias-finder
ac359fefcc87b9fa7b51f75b7fa016bddee84a00
[ "MIT" ]
6
2020-10-27T16:17:09.000Z
2021-09-23T11:19:07.000Z
setup.py
sulova/creodias-finder
ac359fefcc87b9fa7b51f75b7fa016bddee84a00
[ "MIT" ]
5
2019-10-31T19:27:48.000Z
2020-05-04T08:55:38.000Z
setup.py
sulova/creodias-finder
ac359fefcc87b9fa7b51f75b7fa016bddee84a00
[ "MIT" ]
6
2020-03-14T10:40:12.000Z
2022-01-21T10:52:44.000Z
from setuptools import setup, find_packages setup( name="creodias_finder", version="v0.1.0", description="Query and download data from CreoDias API", author="Pantelis Kouris", author_email="pako@dhigroup.com", packages=find_packages(), python_requires=">=3.6", install_requires=["request...
29.307692
88
0.685039
46
381
5.543478
0.804348
0.094118
0
0
0
0
0
0
0
0
0
0.018692
0.15748
381
12
89
31.75
0.775701
0
0
0
0
0
0.370079
0
0
0
0
0
0
1
0
true
0
0.090909
0
0.090909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
ac4f1a663e9cc2aa81b6c364c35ad65094e6e62a
358
py
Python
src/showcase/pages/about.py
derlin/phrasal
323f219748c05177eccdeef6330333ab8a40087b
[ "Apache-2.0" ]
1
2020-02-12T12:25:37.000Z
2020-02-12T12:25:37.000Z
src/showcase/pages/about.py
derlin/phrasal
323f219748c05177eccdeef6330333ab8a40087b
[ "Apache-2.0" ]
null
null
null
src/showcase/pages/about.py
derlin/phrasal
323f219748c05177eccdeef6330333ab8a40087b
[ "Apache-2.0" ]
null
null
null
import streamlit as st import os, re def render(): with open(os.path.join(os.path.realpath(os.path.dirname(__file__)), '..', '..', '..', 'README.md')) as f: github_markdown = f.read() markdown = re.sub(r'\\\n', '<br>', github_markdown) # streamlit doesn't handle \ for newlines... st.markd...
35.8
109
0.628492
50
358
4.34
0.68
0.082949
0
0
0
0
0
0
0
0
0
0
0.181564
358
9
110
39.777778
0.740614
0.117318
0
0
0
0
0.073248
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ac5649b8f0f3dd93cde6f913aa3dbfa31b158a25
3,619
py
Python
components/list_item.py
hknozturk/InfoVis
63ad302ea0ebf8f294f9aa6b194ec6d48aa8974a
[ "Apache-2.0" ]
null
null
null
components/list_item.py
hknozturk/InfoVis
63ad302ea0ebf8f294f9aa6b194ec6d48aa8974a
[ "Apache-2.0" ]
null
null
null
components/list_item.py
hknozturk/InfoVis
63ad302ea0ebf8f294f9aa6b194ec6d48aa8974a
[ "Apache-2.0" ]
null
null
null
import dash_html_components as html class ListItem: def __init__(self, data_processing): self.data = data_processing def generateItems(self, sort_by): self.list = [] self.font_weights = [500, 500, 500, 500, 500, 500] if sort_by == 'AccidentsPerMil': self.font_weigh...
54.833333
135
0.485217
359
3,619
4.793872
0.253482
0.087159
0.083672
0.062754
0.468332
0.371877
0.346891
0.195235
0.118536
0.118536
0
0.061815
0.369715
3,619
65
136
55.676923
0.692679
0
0
0.233333
1
0
0.206134
0.029843
0
0
0
0
0
1
0.033333
false
0
0.016667
0
0.083333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ac62856108c4ea4b9c281d9774f947a89d75708e
3,992
py
Python
netbox/circuits/api/serializers.py
tmarcucci/netbox
b29a5511df77b0a72d93cc7517450fd681aade8b
[ "Apache-2.0" ]
4,994
2019-07-01T13:15:44.000Z
2022-03-31T19:55:45.000Z
netbox/circuits/api/serializers.py
tmarcucci/netbox
b29a5511df77b0a72d93cc7517450fd681aade8b
[ "Apache-2.0" ]
4,045
2019-07-01T14:24:09.000Z
2022-03-31T16:07:39.000Z
netbox/circuits/api/serializers.py
tmarcucci/netbox
b29a5511df77b0a72d93cc7517450fd681aade8b
[ "Apache-2.0" ]
1,225
2019-07-01T15:34:03.000Z
2022-03-31T16:47:09.000Z
from rest_framework import serializers from circuits.choices import CircuitStatusChoices from circuits.models import * from dcim.api.nested_serializers import NestedCableSerializer, NestedSiteSerializer from dcim.api.serializers import CableTerminationSerializer from netbox.api import ChoiceField from netbox.api.seria...
37.308411
119
0.713176
343
3,992
8.137026
0.291545
0.030097
0.081691
0.09029
0.408456
0.380509
0.348262
0.263346
0.142601
0.048011
0
0
0.176102
3,992
106
120
37.660377
0.848586
0.009018
0
0.293333
0
0
0.212114
0.049924
0
0
0
0
0
1
0
false
0
0.12
0
0.56
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ac644598e4d7833752fe9789d7cc0d9ebb1fa82e
467
py
Python
gallery/urls.py
Kevson102/Personal-Gallery
cd9f0c29d61f6718616c46691efc67c05e291f22
[ "MIT" ]
null
null
null
gallery/urls.py
Kevson102/Personal-Gallery
cd9f0c29d61f6718616c46691efc67c05e291f22
[ "MIT" ]
null
null
null
gallery/urls.py
Kevson102/Personal-Gallery
cd9f0c29d61f6718616c46691efc67c05e291f22
[ "MIT" ]
null
null
null
from django.conf.urls import url from django.urls import re_path from . import views from django.conf import settings from django.conf.urls.static import static urlpatterns = [ url('^$', views.home, name='home'), url(r'^details/(?P<photo_id>\d+)', views.image_details, name='image_details'), url(r'^search/'...
33.357143
82
0.738758
68
467
4.941176
0.411765
0.119048
0.125
0.107143
0
0
0
0
0
0
0
0
0.117773
467
13
83
35.923077
0.815534
0
0
0
0
0
0.141328
0.055675
0
0
0
0
0
1
0
false
0
0.416667
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ac66ae527040044b53fa30bd5c325f65ba3de07e
19,375
py
Python
test/test_model.py
mmcfarland/tr-55
9f2680961841099dcbebaabdb460b11f8789a4ae
[ "Apache-2.0" ]
null
null
null
test/test_model.py
mmcfarland/tr-55
9f2680961841099dcbebaabdb460b11f8789a4ae
[ "Apache-2.0" ]
null
null
null
test/test_model.py
mmcfarland/tr-55
9f2680961841099dcbebaabdb460b11f8789a4ae
[ "Apache-2.0" ]
null
null
null
""" Model test set """ import unittest from datetime import date from math import sqrt from tr55.tablelookup import lookup_ki, is_built_type from tr55.model import runoff_nrcs, simulate_tile, simulate_all_tiles from tr55.model import simulate_year # These data are taken directly from Table 2-1 of the revised (1986) #...
26.577503
161
0.4544
3,465
19,375
2.466667
0.083694
0.045162
0.029484
0.027612
0.260208
0.225459
0.21177
0.202527
0.169767
0.138177
0
0.17227
0.293832
19,375
728
162
26.614011
0.452419
0.069574
0
0.329851
0
0
0.224377
0
0
0
0
0
0.016418
1
0.010448
false
0
0.008955
0.001493
0.023881
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ac68033fd11103128012f6c9ff275f2e342daf4a
343
py
Python
idea4u/__init__.py
TangZhongham/Idea4U
c19093b1e7a8aa60d80a028f0495cc5a4721e8bb
[ "MIT" ]
null
null
null
idea4u/__init__.py
TangZhongham/Idea4U
c19093b1e7a8aa60d80a028f0495cc5a4721e8bb
[ "MIT" ]
null
null
null
idea4u/__init__.py
TangZhongham/Idea4U
c19093b1e7a8aa60d80a028f0495cc5a4721e8bb
[ "MIT" ]
null
null
null
from flask import Flask from flask_sqlalchemy import SQLAlchemy from flask_bootstrap import Bootstrap from flask_moment import Moment # Application Basics app = Flask('idea4u') app.config.from_pyfile('settings.py') # app.debug = True bootstrap = Bootstrap(app) db = SQLAlchemy(app) moment = Moment(app) from idea4u ...
19.055556
39
0.790087
47
343
5.680851
0.404255
0.134831
0
0
0
0
0
0
0
0
0
0.006734
0.134111
343
17
40
20.176471
0.892256
0.102041
0
0
0
0
0.055738
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ac77a31dfaf160c49c2b6e02655b4a15f386b5b1
21,860
py
Python
examples/wareham_query.py
vpreston/jetyak-parsing
2f2ac14a7030962f15aae9272641f623e8ab5412
[ "MIT" ]
null
null
null
examples/wareham_query.py
vpreston/jetyak-parsing
2f2ac14a7030962f15aae9272641f623e8ab5412
[ "MIT" ]
null
null
null
examples/wareham_query.py
vpreston/jetyak-parsing
2f2ac14a7030962f15aae9272641f623e8ab5412
[ "MIT" ]
null
null
null
#!/usr/env/python ''' The main file for creating and analyzing JetYak missions. Maintainer: vpreston-at-{whoi, mit}-dot-edu ''' import numpy as np import jetyak import jviz import sensors import shapefile import matplotlib import matplotlib.pyplot as plt import pandas as pd import utm import seawater.eos80 as gsw fr...
42.862745
147
0.543047
2,863
21,860
4.04401
0.184422
0.003973
0.011228
0.007255
0.531525
0.479703
0.44265
0.425721
0.379599
0.349715
0
0.051888
0.22946
21,860
509
148
42.946955
0.635479
0.461116
0
0.403846
0
0
0.171807
0.031256
0
0
0
0
0
0
null
null
0.009615
0.067308
null
null
0.019231
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ac78ff14266107be5d1bf3900fafaac6751dc729
25,505
py
Python
sound_lib/channel.py
ctoth/sound_lib
0e0544a1f4e5da5bc2e0ee99cd7c5bac9ba934c6
[ "MIT" ]
1
2020-09-03T15:35:03.000Z
2020-09-03T15:35:03.000Z
sound_lib/channel.py
ctoth/sound_lib
0e0544a1f4e5da5bc2e0ee99cd7c5bac9ba934c6
[ "MIT" ]
2
2020-09-25T05:47:44.000Z
2021-06-25T15:25:34.000Z
sound_lib/channel.py
ctoth/sound_lib
0e0544a1f4e5da5bc2e0ee99cd7c5bac9ba934c6
[ "MIT" ]
2
2020-01-05T16:24:20.000Z
2020-09-03T15:35:07.000Z
from __future__ import absolute_import from .external.pybass import * from .main import bass_call, bass_call_0, BassError, update_3d_system, FlagObject from ctypes import pointer, c_float, c_long, c_ulong, c_buffer class Channel(FlagObject): """A "channel" can be a sample playback channel (HCHANNEL), a sam...
37.452276
281
0.61486
3,202
25,505
4.79544
0.139913
0.030088
0.021882
0.028134
0.454119
0.417258
0.37649
0.330055
0.287333
0.262455
0
0.009448
0.311155
25,505
680
282
37.507353
0.864534
0.519192
0
0.175966
0
0
0.014574
0
0
0
0
0
0
1
0.236052
false
0.012876
0.017167
0.004292
0.497854
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
ac7cd53520244f4fc2a6281e55776fe5aa19a22a
2,566
py
Python
python/cendantdim/batch/svc/generate_metrics.py
jiportilla/ontology
8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40
[ "MIT" ]
null
null
null
python/cendantdim/batch/svc/generate_metrics.py
jiportilla/ontology
8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40
[ "MIT" ]
null
null
null
python/cendantdim/batch/svc/generate_metrics.py
jiportilla/ontology
8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: UTF-8 -*- import pprint from collections import Counter from base import BaseObject from base import MandatoryParamError class GenerateMetrics(BaseObject): """ """ def __init__(self, d_results: dict, is_debug=False): """ ...
32.481013
77
0.561964
292
2,566
4.767123
0.35274
0.057471
0.068966
0.060345
0.220546
0.220546
0.118534
0.118534
0.118534
0.118534
0
0.008576
0.318394
2,566
78
78
32.897436
0.787307
0.173032
0
0.255319
1
0
0.079104
0
0
0
0
0
0
1
0.106383
false
0
0.085106
0
0.276596
0.106383
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ac8260f0e65d607d0cabdd8df2097dd2a3ad41b1
1,275
py
Python
setup.py
SofianeHADDADI/bayesian_ab_test
9082c70c173cf099ec7acb8f75f223a86a0f58a8
[ "MIT" ]
4
2016-07-17T18:53:18.000Z
2018-02-12T22:41:14.000Z
setup.py
SofianeHADDADI/bayesian_ab_test
9082c70c173cf099ec7acb8f75f223a86a0f58a8
[ "MIT" ]
null
null
null
setup.py
SofianeHADDADI/bayesian_ab_test
9082c70c173cf099ec7acb8f75f223a86a0f58a8
[ "MIT" ]
1
2018-09-14T10:32:09.000Z
2018-09-14T10:32:09.000Z
""" Bayesian AB Test ----------------- Calculates Bayesian Probabilty that A - B > x """ from setuptools import setup setup( name='bayesian_ab_test', version='0.0.3', url='http://github.com/eriktaubeneck/bayesian_ab_test', license='MIT', author='Erik Taubeneck', author_email='erik.taubeneck@gm...
28.333333
70
0.600784
132
1,275
5.651515
0.651515
0.040214
0.075067
0.018767
0
0
0
0
0
0
0
0.013584
0.249412
1,275
44
71
28.977273
0.765935
0.063529
0
0
0
0
0.559865
0.020236
0
0
0
0
0
1
0
true
0
0.027027
0
0.027027
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
ac8339419f8a928b11564c565cd30dfdb04ec7af
1,390
py
Python
securesystemslib/gpg/exceptions.py
joshuagl/securesystemslib
4fe51e95b39c9d188141f470aa7c8ed475744ada
[ "MIT" ]
1
2021-11-27T00:05:15.000Z
2021-11-27T00:05:15.000Z
securesystemslib/gpg/exceptions.py
joshuagl/securesystemslib
4fe51e95b39c9d188141f470aa7c8ed475744ada
[ "MIT" ]
null
null
null
securesystemslib/gpg/exceptions.py
joshuagl/securesystemslib
4fe51e95b39c9d188141f470aa7c8ed475744ada
[ "MIT" ]
null
null
null
""" <Program Name> exceptions.py <Author> Santiago Torres-Arias <santiago@nyu.edu> Lukas Puehringer <lukas.puehringer@nyu.edu> <Started> Dec 8, 2017 <Copyright> See LICENSE for licensing information. <Purpose> Define Exceptions used in the gpg package. Following the practice from securesystemslib the ...
24.821429
76
0.720863
167
1,390
5.862275
0.508982
0.042901
0.091931
0.067416
0.12666
0.12666
0.12666
0.106231
0
0
0
0.004322
0.167626
1,390
55
77
25.272727
0.841832
0.302158
0
0.192308
0
0
0.16129
0
0
0
0
0
0
1
0.076923
false
0.192308
0.076923
0
0.423077
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ac879feff0d352ff60a2c2ada50927a7f7076392
3,433
py
Python
src/sultan/result.py
HudsonHuang/sultan
85c8792092d265791b51685113926650c67a1d16
[ "MIT" ]
null
null
null
src/sultan/result.py
HudsonHuang/sultan
85c8792092d265791b51685113926650c67a1d16
[ "MIT" ]
null
null
null
src/sultan/result.py
HudsonHuang/sultan
85c8792092d265791b51685113926650c67a1d16
[ "MIT" ]
null
null
null
from sultan.core import Base from sultan.echo import Echo class Result(Base): """ Class that encompasses the result of a POpen command. """ def __init__(self, stdout, stderr, traceback=None, rc=None): if traceback == None: traceback = '' super(Result, self).__init__() ...
29.09322
107
0.579377
402
3,433
4.70398
0.196517
0.038075
0.028556
0.031729
0.413009
0.401904
0.249075
0.249075
0.19302
0.19302
0
0.007966
0.305272
3,433
117
108
29.34188
0.784906
0.279348
0
0.181818
0
0
0.046343
0
0
0
0
0
0
1
0.254545
false
0
0.036364
0.036364
0.454545
0.109091
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
3ba71009ff96519b3eb39e2fd9d2a191fd4aee53
835
py
Python
Xtracker/helper/handle_xl.py
abkabhishek/Xtracker
8b555e38a0f3953720feed3d58a52b8531ca2a07
[ "MIT" ]
null
null
null
Xtracker/helper/handle_xl.py
abkabhishek/Xtracker
8b555e38a0f3953720feed3d58a52b8531ca2a07
[ "MIT" ]
null
null
null
Xtracker/helper/handle_xl.py
abkabhishek/Xtracker
8b555e38a0f3953720feed3d58a52b8531ca2a07
[ "MIT" ]
null
null
null
from openpyxl import Workbook class XL_Man: def __init__(self): self.wb = Workbook() self.sheets =[] def add_sheet(self,sheet_name): setattr(self, "sheet"+str(len(self.sheets)+1), self.wb.create_sheet(sheet_name)) self.sheets.append(sheet_name) ...
25.30303
88
0.567665
106
835
4.273585
0.377358
0.15894
0.086093
0.07947
0
0
0
0
0
0
0
0.00354
0.323353
835
33
89
25.30303
0.79823
0
0
0.090909
0
0
0.027545
0
0
0
0
0
0
1
0.227273
false
0
0.045455
0
0.409091
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
3bb6cbea3fb7f76748e9b1aece3bf05555e3d516
1,941
py
Python
ExerciciosPython/Game Pedra, Papel ou Tesoura.py
NathanSoares25/ExerciciosPython
718a47ad26690355807b4ec1412e386b02acd098
[ "MIT" ]
2
2021-03-19T00:27:55.000Z
2021-03-24T01:24:08.000Z
ExerciciosPython/Game Pedra, Papel ou Tesoura.py
NathanSoares25/ExerciciosPython
718a47ad26690355807b4ec1412e386b02acd098
[ "MIT" ]
null
null
null
ExerciciosPython/Game Pedra, Papel ou Tesoura.py
NathanSoares25/ExerciciosPython
718a47ad26690355807b4ec1412e386b02acd098
[ "MIT" ]
null
null
null
# Elabore um programa que calcule o valor a ser pago por um produto, considerando o seu preço normal e condição de pagamento: # # – à vista dinheiro/cheque: 10% de desconto # # – à vista no cartão: 5% de desconto # # – em até 2x no cartão: preço formal # # – 3x ou mais no cartão: 20% de juros from random import randint...
30.809524
125
0.624936
299
1,941
4.076923
0.311037
0.124692
0.140279
0.073831
0.493847
0.454471
0.400328
0.320755
0.233798
0
0
0.133721
0.202473
1,941
62
126
31.306452
0.649871
0.199382
0
0.62
0
0
0.419103
0.044834
0
0
0
0
0
1
0
false
0
0.04
0
0.04
0.48
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
3bb6fe9d67bbbe3e470a99aa84a0c52f950c4a5f
6,797
py
Python
src/pycoolmasternet_ng/transports.py
Rjevski/pycoolmasternet-async
b6d65135a97b898b2dbbd2ea84342945c990d4cc
[ "MIT" ]
null
null
null
src/pycoolmasternet_ng/transports.py
Rjevski/pycoolmasternet-async
b6d65135a97b898b2dbbd2ea84342945c990d4cc
[ "MIT" ]
null
null
null
src/pycoolmasternet_ng/transports.py
Rjevski/pycoolmasternet-async
b6d65135a97b898b2dbbd2ea84342945c990d4cc
[ "MIT" ]
null
null
null
import asyncio import logging from typing import List, Optional, Union from .constants import PROMPT from .exceptions import ( RESULT_CODE_TO_EXCEPTION_MAP, RESULT_VERBOSE_CODE_TO_EXCEPTION_MAP, CoolMasterNetUnknownError, RequirementNotSatisfied, ) from .structures import UID logger = logging.getLogge...
32.835749
109
0.63528
824
6,797
5.116505
0.328884
0.018975
0.014232
0.017078
0.224858
0.203985
0.164611
0.137097
0.11148
0.11148
0
0.013824
0.276298
6,797
206
110
32.995146
0.843261
0.302192
0
0.27551
0
0
0.066277
0.005167
0
0
0
0.024272
0
1
0.061224
false
0
0.091837
0.020408
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
3bb882f9e594412f5104324f1270c29fae93b783
18,334
py
Python
layerimport/import_utils.py
lsalta/mapground
d927d283dab6f756574bd88b3251b9e68f000ca7
[ "MIT" ]
null
null
null
layerimport/import_utils.py
lsalta/mapground
d927d283dab6f756574bd88b3251b9e68f000ca7
[ "MIT" ]
3
2020-02-11T23:04:56.000Z
2021-06-10T18:07:53.000Z
layerimport/import_utils.py
lsalta/mapground
d927d283dab6f756574bd88b3251b9e68f000ca7
[ "MIT" ]
1
2021-08-20T14:49:09.000Z
2021-08-20T14:49:09.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from __future__ import absolute_import from MapGround import MapGroundException, LayerNotFound, LayerAlreadyExists, LayerImportError from django.utils import timezone from datetime import datetime from fileupload.models import Archivo from .models import ...
47.131105
159
0.678194
2,267
18,334
5.257168
0.161006
0.015103
0.025508
0.012083
0.703642
0.666555
0.65506
0.620238
0.587011
0.560665
0
0.010951
0.232955
18,334
388
160
47.252577
0.836521
0.156758
0
0.633987
0
0
0.100058
0
0
0
0
0.002577
0
0
null
null
0.003268
0.143791
null
null
0.009804
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
3bbd436b6875680906da0ac05450fa807946ce78
2,002
py
Python
chemdataextractor_batteries/chemdataextractor/parse/apparatus.py
ShuHuang/batterydatabase
10a94617c00ddca6e5e382f50bfe0b6079457166
[ "MIT" ]
26
2020-08-06T13:40:58.000Z
2022-03-23T13:34:45.000Z
chemdataextractor_batteries/chemdataextractor/parse/apparatus.py
ShuHuang/batterydatabase
10a94617c00ddca6e5e382f50bfe0b6079457166
[ "MIT" ]
3
2020-08-07T10:54:37.000Z
2021-07-13T20:42:21.000Z
chemdataextractor_batteries/chemdataextractor/parse/apparatus.py
ShuHuang/batterydatabase
10a94617c00ddca6e5e382f50bfe0b6079457166
[ "MIT" ]
8
2020-09-15T14:48:12.000Z
2022-01-29T05:54:24.000Z
# -*- coding: utf-8 -*- """ Parser for sentences that provide contextual information, such as apparatus, solvent, and temperature. """ from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import logging import re from lxml...
45.5
200
0.684815
260
2,002
5.146154
0.526923
0.029895
0.047833
0
0
0
0
0
0
0
0
0.004023
0.130869
2,002
43
201
46.55814
0.764368
0.076923
0
0
0
0.035714
0.217628
0.047334
0
0
0
0
0
1
0.035714
false
0
0.464286
0
0.571429
0.035714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
3bbdeb30cbe012570b84894898bf2fa0c6690df2
3,362
py
Python
getlongest3UTR.py
TaliaferroLab/AnalysisScripts
3df37d2f8fca9bc402afe5ea870c42200fca1ed3
[ "MIT" ]
null
null
null
getlongest3UTR.py
TaliaferroLab/AnalysisScripts
3df37d2f8fca9bc402afe5ea870c42200fca1ed3
[ "MIT" ]
null
null
null
getlongest3UTR.py
TaliaferroLab/AnalysisScripts
3df37d2f8fca9bc402afe5ea870c42200fca1ed3
[ "MIT" ]
1
2021-10-30T07:37:19.000Z
2021-10-30T07:37:19.000Z
import argparse import sys from Bio import SeqIO from Bio.SeqUtils import GC from numpy import mean def nameconversion(ens_to_short): #Given a file that has ENSG IDs and their corresponding short names, make a dictionary. ens2short = {} # {ENSMUSG000000 : gene_short_name} infh = open(ens_to_short, 'r') for line in...
32.326923
154
0.687983
497
3,362
4.565392
0.289738
0.035699
0.045835
0.029969
0.139709
0.108859
0.108859
0.108859
0.065227
0.065227
0
0.016014
0.164188
3,362
103
155
32.640777
0.791459
0.104105
0
0.142857
0
0.011905
0.142857
0
0
0
0
0
0
0
null
null
0
0.059524
null
null
0.035714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
3bc1a9d6994a342fe9a7f7edefec8f35f8d2e134
5,715
py
Python
spimdisasm/elf32/Elf32File.py
Decompollaborate/py-mips-disasm
1301340130f8cca539d12c486deff3a1037a8787
[ "MIT" ]
6
2021-11-17T21:21:25.000Z
2022-01-28T13:37:44.000Z
spimdisasm/elf32/Elf32File.py
Decompollaborate/py-mips-disasm
1301340130f8cca539d12c486deff3a1037a8787
[ "MIT" ]
null
null
null
spimdisasm/elf32/Elf32File.py
Decompollaborate/py-mips-disasm
1301340130f8cca539d12c486deff3a1037a8787
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # SPDX-FileCopyrightText: © 2022 Decompollaborate # SPDX-License-Identifier: MIT from __future__ import annotations from .. import common from .Elf32Constants import Elf32SectionHeaderType from .Elf32Header import Elf32Header from .Elf32SectionHeaders import Elf32SectionHeaders from .Elf32Str...
48.432203
112
0.589851
490
5,715
6.822449
0.206122
0.075681
0.110081
0.146575
0.463955
0.429853
0.314089
0.13102
0.069997
0.069997
0
0.020661
0.322485
5,715
117
113
48.846154
0.842459
0.075241
0
0.267442
0
0
0.048614
0
0
0
0
0
0
1
0.011628
false
0.069767
0.093023
0
0.116279
0.267442
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
3bc28e438ce2aa140f6be2b1ba35db42400980aa
945
py
Python
good_spot/filter/migrations/0027_auto_20190126_1049.py
jasmine92122/NightClubBackend
7f59129b78baaba0e0c25de2b493033b858f1b00
[ "MIT" ]
null
null
null
good_spot/filter/migrations/0027_auto_20190126_1049.py
jasmine92122/NightClubBackend
7f59129b78baaba0e0c25de2b493033b858f1b00
[ "MIT" ]
5
2020-02-12T03:13:11.000Z
2022-01-13T01:41:14.000Z
good_spot/filter/migrations/0027_auto_20190126_1049.py
jasmine92122/NightClubBackend
7f59129b78baaba0e0c25de2b493033b858f1b00
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2019-01-26 10:49 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('filter', '0026_auto_20180926_1302'), ] operations = [ migrations.AlterField...
36.346154
199
0.675132
113
945
5.460177
0.584071
0.103728
0.081037
0.094003
0.382496
0.382496
0.382496
0.382496
0.382496
0.210697
0
0.045144
0.226455
945
25
200
37.8
0.798906
0.071958
0
0.333333
1
0
0.374142
0.059497
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3bc445cba9051e9cb9b593a400b68200b88116e6
967
py
Python
tests/test_models.py
Suor/handy
c5503bbc053724f5bef3d1c4bf3799290834c148
[ "BSD-3-Clause" ]
41
2015-03-06T13:41:58.000Z
2021-09-06T19:06:42.000Z
tests/test_models.py
Suor/handy
c5503bbc053724f5bef3d1c4bf3799290834c148
[ "BSD-3-Clause" ]
6
2015-04-19T07:02:56.000Z
2017-11-23T11:46:23.000Z
tests/test_models.py
Suor/handy
c5503bbc053724f5bef3d1c4bf3799290834c148
[ "BSD-3-Clause" ]
8
2015-04-19T04:59:24.000Z
2021-09-06T19:09:03.000Z
# -*- coding: utf-8 -*- import pytest pytestmark = pytest.mark.django_db from .models import Post, CategoryJ, CategoryJP, CategoryP def test_stringarray(): post = Post.objects.create(tags=['django', 'cool']) assert Post.objects.get(pk=post.pk).tags == post.tags def test_stringarray_ru(): post = Post.obj...
31.193548
73
0.703206
128
967
5.257813
0.304688
0.115899
0.089153
0.118871
0.586924
0.374443
0.2526
0.2526
0.139673
0.139673
0
0.005988
0.136505
967
30
74
32.233333
0.8
0.021717
0
0.1
0
0
0.032839
0
0
0
0
0
0.25
1
0.25
false
0
0.1
0
0.35
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
3bc6009297f98aa4290e071cf81d92208adfbde3
192
py
Python
utils/constants.py
project-coswara/cloud-functions
9a46f6941a40db47c692380474729b346f1261a2
[ "MIT" ]
null
null
null
utils/constants.py
project-coswara/cloud-functions
9a46f6941a40db47c692380474729b346f1261a2
[ "MIT" ]
null
null
null
utils/constants.py
project-coswara/cloud-functions
9a46f6941a40db47c692380474729b346f1261a2
[ "MIT" ]
null
null
null
AUDIO_KEYS = [ "breathing-shallow", "breathing-deep", "cough-shallow", "cough-heavy", "vowel-a", "vowel-e", "vowel-o", "counting-normal", "counting-fast" ]
16
24
0.546875
20
192
5.2
0.7
0
0
0
0
0
0
0
0
0
0
0
0.255208
192
11
25
17.454545
0.727273
0
0
0
0
0
0.541667
0
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3bcd63bfe15d463ee6c9a1c3f26049ecf0ada2b2
3,315
py
Python
marseille/dynet_utils.py
vene/marseille
c86faf3d97fd9063a6fe0ee74b302f09250e36c5
[ "BSD-3-Clause" ]
65
2017-04-25T01:14:03.000Z
2022-03-22T06:11:48.000Z
marseille/dynet_utils.py
vene/marseille
c86faf3d97fd9063a6fe0ee74b302f09250e36c5
[ "BSD-3-Clause" ]
9
2017-07-18T16:47:51.000Z
2021-03-15T20:25:27.000Z
marseille/dynet_utils.py
vene/marseille
c86faf3d97fd9063a6fe0ee74b302f09250e36c5
[ "BSD-3-Clause" ]
34
2017-04-25T14:38:18.000Z
2021-12-20T12:50:56.000Z
# Author: Vlad Niculae <vlad@vene.ro> # Author: Tianze Shi # License: BSD 3-clause import dynet as dy import numpy as np class Dense(dy.Saveable): def __init__(self, activation, shape, model): self.activation = activation self.W = model.add_parameters(shape) self.b = model.add_parameters(...
29.598214
76
0.573454
463
3,315
3.896328
0.203024
0.044346
0.059867
0.037694
0.330931
0.228936
0.101441
0.101441
0.069845
0.069845
0
0.006525
0.306486
3,315
111
77
29.864865
0.778164
0.041931
0
0.2125
0
0
0.010091
0
0
0
0
0
0
1
0.225
false
0
0.025
0.075
0.425
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
3bd5ccc7efaf5aa2decc80cee67c2bcc3485718b
14,886
py
Python
src/oci/stack_monitoring/models/search_monitored_resource_associations_details.py
pabs3/oci-python-sdk
437ba18ce39af2d1090e277c4bb8750c89f83021
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
src/oci/stack_monitoring/models/search_monitored_resource_associations_details.py
pabs3/oci-python-sdk
437ba18ce39af2d1090e277c4bb8750c89f83021
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
src/oci/stack_monitoring/models/search_monitored_resource_associations_details.py
pabs3/oci-python-sdk
437ba18ce39af2d1090e277c4bb8750c89f83021
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
# coding: utf-8 # Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may c...
37.40201
245
0.702606
1,550
14,886
6.470323
0.106452
0.075381
0.239306
0.093329
0.760195
0.677336
0.652308
0.529165
0.406421
0.342507
0
0.001765
0.238882
14,886
397
246
37.496222
0.883407
0.561669
0
0.113821
0
0
0.138536
0.04104
0
0
0
0
0
1
0.195122
false
0
0.01626
0.01626
0.365854
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3bda3f84880ead8d09ca779d1d14c998c2ab9871
729
py
Python
sandbox/plot/powerspectrum-csv.py
jmark/turbubox
17fd3214ad4cb0c360bdb628d7bd270e8b00aadc
[ "MIT" ]
null
null
null
sandbox/plot/powerspectrum-csv.py
jmark/turbubox
17fd3214ad4cb0c360bdb628d7bd270e8b00aadc
[ "MIT" ]
null
null
null
sandbox/plot/powerspectrum-csv.py
jmark/turbubox
17fd3214ad4cb0c360bdb628d7bd270e8b00aadc
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import sys from matplotlib import pylab as plt from mpl_toolkits.mplot3d import axes3d import numpy as np import imp import gausslobatto import flash, flexi, hopr import flash_to_flexi as flfl import scipy.misc import ulz import interpolate import glob sys.argv.reverse() progpath = sys.argv.pop...
16.568182
50
0.699588
124
729
4.080645
0.483871
0.055336
0.059289
0.047431
0.195652
0.156126
0.118577
0
0
0
0
0.017516
0.138546
729
43
51
16.953488
0.788217
0.028807
0
0.096774
0
0
0.08628
0
0
0
0
0
0
1
0
false
0
0.387097
0
0.387097
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
3bdd0388289aa287b50b8faf8e01405b367194c4
1,334
py
Python
jaikucommon/templatetags/presence.py
noutrela/jaikuenginepatch
ab723e5480f36c471faa8bca4c65c2f7487f0365
[ "Apache-2.0" ]
1
2016-05-09T10:35:57.000Z
2016-05-09T10:35:57.000Z
jaikucommon/templatetags/presence.py
noutrela/jaikuenginepatch
ab723e5480f36c471faa8bca4c65c2f7487f0365
[ "Apache-2.0" ]
null
null
null
jaikucommon/templatetags/presence.py
noutrela/jaikuenginepatch
ab723e5480f36c471faa8bca4c65c2f7487f0365
[ "Apache-2.0" ]
null
null
null
# Copyright 2009 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
31.023256
74
0.682159
191
1,334
4.764398
0.528796
0.065934
0.048352
0.035165
0
0
0
0
0
0
0
0.007414
0.191154
1,334
42
75
31.761905
0.835959
0.410795
0
0
0
0
0.07772
0
0
0
0
0
0
0
null
null
0
0.12
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
3bde18dcfccf60f70959c56b8882d1c1d4f5f460
2,017
py
Python
grit/extern/FP.py
bpsinc-native/src_tools_grit
206c6aa4450db4e961d20f8367f33df42bba6a85
[ "BSD-2-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
grit/extern/FP.py
bpsinc-native/src_tools_grit
206c6aa4450db4e961d20f8367f33df42bba6a85
[ "BSD-2-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
grit/extern/FP.py
bpsinc-native/src_tools_grit
206c6aa4450db4e961d20f8367f33df42bba6a85
[ "BSD-2-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
#!/usr/bin/env python # Copyright (c) 2012 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. try: import hashlib _new_md5 = hashlib.md5 except ImportError: import md5 _new_md5 = md5.new """64-bit fingerprint suppor...
28.013889
72
0.762519
252
2,017
6
0.444444
0.064815
0.031746
0.029762
0.189153
0.189153
0.189153
0.189153
0.189153
0.095238
0
0.03184
0.159147
2,017
71
73
28.408451
0.85967
0.108081
0
0
0
0
0.016234
0
0
0
0
0
0
0
null
null
0
0.16
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
3be0cfe9317d9afdf1837f36dfb81e0208d7ff05
2,681
py
Python
api/api.py
peeyush10234/feature-hunt
612473c64afaa92b3ad0f3b6587dc136b725c253
[ "MIT" ]
null
null
null
api/api.py
peeyush10234/feature-hunt
612473c64afaa92b3ad0f3b6587dc136b725c253
[ "MIT" ]
null
null
null
api/api.py
peeyush10234/feature-hunt
612473c64afaa92b3ad0f3b6587dc136b725c253
[ "MIT" ]
null
null
null
import time import certifi from flask import Flask, Response from flask import request import json import pymongo from bson.objectid import ObjectId from flask_cors import CORS from bson.json_util import dumps import yaml import os import sys sys.path.insert(1, os.getcwd()) app = Flask(__name__) CORS(app) @app.route...
37.760563
102
0.623648
320
2,681
5.1625
0.25625
0.03632
0.048426
0.048426
0.710048
0.685835
0.654964
0.654964
0.615012
0.615012
0
0.005652
0.208131
2,681
70
103
38.3
0.772492
0
0
0.507463
0
0
0.163372
0.008579
0
0
0
0
0
1
0.059701
false
0.044776
0.179104
0.014925
0.328358
0.029851
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3bee20babfb747d0f9bfd21645854ec5e10a68f9
278
py
Python
src/deploy/deployer/filecontexts/celery.py
werelaxe/drapo
5f78da735819200f0e7efa6a5e6b3b45ba6e0d4b
[ "MIT" ]
null
null
null
src/deploy/deployer/filecontexts/celery.py
werelaxe/drapo
5f78da735819200f0e7efa6a5e6b3b45ba6e0d4b
[ "MIT" ]
null
null
null
src/deploy/deployer/filecontexts/celery.py
werelaxe/drapo
5f78da735819200f0e7efa6a5e6b3b45ba6e0d4b
[ "MIT" ]
null
null
null
import os from celery import Celery os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'deployer.settings') app = Celery('deployer.filecontexts') app.config_from_object('django.conf:settings') # Load task modules from all registered Django app configs. app.autodiscover_tasks()
25.272727
68
0.805755
37
278
5.918919
0.621622
0
0
0
0
0
0
0
0
0
0
0
0.093525
278
10
69
27.8
0.869048
0.205036
0
0
0
0
0.365297
0.196347
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
3befabdff879e6926fa7b26b15feef60cd4d221c
1,619
py
Python
eng2kor/eng2kor.py
20chan/eng2kor
a93d529f2479d5a26f6f708ea5ca5bf128aafb9b
[ "MIT" ]
7
2020-03-21T08:08:19.000Z
2021-11-08T10:02:15.000Z
eng2kor/eng2kor.py
20chan/eng2kor
a93d529f2479d5a26f6f708ea5ca5bf128aafb9b
[ "MIT" ]
null
null
null
eng2kor/eng2kor.py
20chan/eng2kor
a93d529f2479d5a26f6f708ea5ca5bf128aafb9b
[ "MIT" ]
5
2020-08-08T07:50:10.000Z
2022-03-17T07:10:03.000Z
BASE_CODE, CHO_CODE, JUNG_CODE, MAX_CODE = 44032, 588, 28, 55203 CHO_LIST = list('ㄱㄲㄴㄷㄸㄹㅁㅂㅃㅅㅆㅇㅈㅉㅊㅋㅌㅍㅎ') JUNG_LIST = list('ㅏㅐㅑㅒㅓㅔㅕㅖㅗㅘㅙㅚㅛㅜㅝㅞㅟㅠㅡㅢㅣ') JONG_LIST = list(' ㄱㄲㄳㄴㄵㄶㄷㄹㄺㄻㄼㄽㄾㄿㅀㅁㅂㅄㅅㅆㅇㅈㅊㅋㅌㅍㅎ') KORS = list('ㄱㄲㄳㄴㄵㄶㄷㄹㄺㄻㄼㄽㄾㄿㅀㅁㅂㅄㅅㅆㅇㅈㅊㅋㅌㅍㅎㅏㅐㅑㅒㅓㅔㅕㅖㅗㅘㅙㅚㅛㅜㅝㅞㅟㅠㅡㅢㅣ') ENGS = ['r', 'R', 'rt', 's', 'sw', 'sg', 'e', 'f', 'fr', 'fa...
31.745098
122
0.546634
238
1,619
3.558824
0.407563
0.041322
0.051948
0.070838
0.146399
0.101535
0
0
0
0
0
0.017327
0.25139
1,619
51
123
31.745098
0.682343
0
0
0
0
0
0.135802
0.059259
0
0
0
0
0
0
null
null
0
0
null
null
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
3bf71a468a05617756b08c91f03634dad06097a1
3,348
py
Python
actor_au/actor_au.py
probablytom/actor_au
28627d655557113b4ddfe53ae91d2efbdcf2365e
[ "MIT" ]
null
null
null
actor_au/actor_au.py
probablytom/actor_au
28627d655557113b4ddfe53ae91d2efbdcf2365e
[ "MIT" ]
null
null
null
actor_au/actor_au.py
probablytom/actor_au
28627d655557113b4ddfe53ae91d2efbdcf2365e
[ "MIT" ]
null
null
null
from Queue import Queue class BaseActor(object): def __init__(self): self.task_list = Queue() self.idle = lambda: None self.troupes = [] self.current_work_origin = None self.curr_task = None def schedule_task(self, task): self.task_list.put(task) def reci...
31
120
0.64307
426
3,348
4.868545
0.300469
0.047734
0.043394
0.060752
0.142237
0.092575
0.03568
0.03568
0
0
0
0
0.285245
3,348
108
121
31
0.866695
0.313321
0
0.25
0
0
0
0
0
0
0
0
0
1
0.267857
false
0
0.017857
0.017857
0.392857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
3bf914552d1c5fa7c9f0a1d93876958e3ebea04d
4,545
py
Python
process_mimic.py
seattleboy/medgan
885071f3b5dbe196721eb32e42303eff72bd3957
[ "BSD-3-Clause" ]
2
2019-01-09T02:58:31.000Z
2019-01-09T03:11:28.000Z
process_mimic.py
astorfi/medgan
3d178891dfe82e882052b49c501b03383e59a2e3
[ "BSD-3-Clause" ]
null
null
null
process_mimic.py
astorfi/medgan
3d178891dfe82e882052b49c501b03383e59a2e3
[ "BSD-3-Clause" ]
1
2020-06-08T13:26:45.000Z
2020-06-08T13:26:45.000Z
# This script processes MIMIC-III dataset and builds a binary matrix or a count matrix depending on your input. # The output matrix is a Numpy matrix of type float32, and suitable for training medGAN. # Written by Edward Choi (mp2893@gatech.edu) # Usage: Put this script to the folder where MIMIC-III CSV files are locat...
36.653226
162
0.614301
577
4,545
4.793761
0.315425
0.031815
0.014461
0.010846
0.175705
0.121475
0.121475
0.101952
0.101952
0.101952
0
0.015042
0.268647
4,545
123
163
36.95122
0.817088
0.235644
0
0.265306
0
0
0.098927
0
0
0
0
0
0
0
null
null
0
0.040816
null
null
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
3bfe20c9470cdc40f059bbfab8cbacccd9ce4bd6
2,985
py
Python
src/prediction/imagesPrediction.py
aivaras-ciurlionis/meteo
434759d16f7cca505d280475611d1fef5176827b
[ "MIT" ]
null
null
null
src/prediction/imagesPrediction.py
aivaras-ciurlionis/meteo
434759d16f7cca505d280475611d1fef5176827b
[ "MIT" ]
6
2020-05-23T11:30:48.000Z
2022-03-11T23:45:06.000Z
src/prediction/imagesPrediction.py
aivaras-ciurlionis/meteo
434759d16f7cca505d280475611d1fef5176827b
[ "MIT" ]
null
null
null
import os import numpy as np import arrow from src.utilities.fileProcessing.ImagePreprocessor import ImagePreprocessor from src.utilities.imageAnalysis.pixelsRainStrengthConverter import PixelsRainStrengthConverter class ImagesPrediction: resize_size = 128 source_folder = '' algorithms = [] algorthmN...
31.755319
100
0.642881
345
2,985
5.324638
0.275362
0.02613
0.056614
0.060969
0.028307
0.028307
0
0
0
0
0
0.005983
0.272027
2,985
93
101
32.096774
0.839393
0
0
0.101266
0
0
0.01407
0
0
0
0
0
0
1
0.139241
false
0
0.063291
0
0.506329
0.012658
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
3bfece60b2d675954d379c9a42fac6ae078a2e2f
405
py
Python
lang/py/pylib/code/xml/etree/ElementTree/ElementTree_extend.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
1
2022-01-29T08:32:11.000Z
2022-01-29T08:32:11.000Z
lang/py/pylib/code/xml/etree/ElementTree/ElementTree_extend.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/pylib/code/xml/etree/ElementTree/ElementTree_extend.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
1
2022-01-29T08:32:12.000Z
2022-01-29T08:32:12.000Z
#!/usr/bin/env python # encoding: utf-8 # # Copyright (c) 2010 Doug Hellmann. All rights reserved. # """Creating XML documents with lists of nodes """ #end_pymotw_header from xml.etree.ElementTree import Element, tostring from ElementTree_pretty import prettify top = Element('top') children = [ Element('child',...
17.608696
57
0.71358
57
405
5.017544
0.789474
0.076923
0
0
0
0
0
0
0
0
0
0.017804
0.167901
405
22
58
18.409091
0.830861
0.269136
0
0
0
0
0.033195
0
0
0
0
0
0
0
null
null
0
0.222222
null
null
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ce02c9382eaf2d4df91a50444e0e5cd9f286f05e
908
py
Python
addon_common/scripts/speedtest.py
Unnoen/retopoflow
73c7cfc10a0b58937198d60e308ba5248b446490
[ "OML" ]
1,600
2015-03-19T12:26:15.000Z
2022-03-30T21:07:37.000Z
addon_common/scripts/speedtest.py
Unnoen/retopoflow
73c7cfc10a0b58937198d60e308ba5248b446490
[ "OML" ]
1,026
2015-03-18T22:17:42.000Z
2022-03-28T17:47:04.000Z
addon_common/scripts/speedtest.py
Unnoen/retopoflow
73c7cfc10a0b58937198d60e308ba5248b446490
[ "OML" ]
241
2015-03-19T13:44:36.000Z
2022-03-30T21:07:39.000Z
import timeit from collections import namedtuple from ..maths import Vector, Point, Direction, Normal NTPoint = namedtuple('Point', ['x', 'y', 'z']) kwargs = { 'number': 10000, 'globals': globals(), } timings = [] timings += [timeit.timeit('[Vector((0,1,2)) for i in range(1000)]', **kwargs)] #timings +=...
36.32
83
0.60022
129
908
4.224806
0.224806
0.190826
0.278899
0.088073
0.59633
0.59633
0.59633
0.59633
0.59633
0.552294
0
0.080795
0.168502
908
24
84
37.833333
0.64106
0.090308
0
0
0
0
0.329697
0
0
0
0
0
0
1
0
false
0
0.176471
0
0.176471
0.058824
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ce0d5a58faf2354b68d2f6089cf4f10f8809a148
9,220
py
Python
tools/demo_detection_kaist_color.py
denny1108/py-faster-rcnn
1e5c8c393b6678822a25fcf8196a1a378126d7c1
[ "BSD-2-Clause" ]
27
2017-07-11T07:29:23.000Z
2022-02-21T13:01:36.000Z
tools/demo_detection_kaist_color.py
denny1108/py-faster-rcnn
1e5c8c393b6678822a25fcf8196a1a378126d7c1
[ "BSD-2-Clause" ]
null
null
null
tools/demo_detection_kaist_color.py
denny1108/py-faster-rcnn
1e5c8c393b6678822a25fcf8196a1a378126d7c1
[ "BSD-2-Clause" ]
13
2017-05-16T07:57:05.000Z
2021-05-11T07:49:15.000Z
#!/usr/bin/env python """ Demo script showing detections in sample images. See README.md for installation instructions before running. """ import matplotlib #matplotlib.use('Agg') import cPickle import _init_paths from fast_rcnn.config import cfg from fast_rcnn.test import im_detect from fast_rcnn.nms_wrapper impor...
33.046595
110
0.572451
1,280
9,220
3.964844
0.260938
0.018916
0.005517
0.007094
0.222069
0.177537
0.17202
0.160788
0.156059
0.130837
0
0.039909
0.282538
9,220
278
111
33.165468
0.727286
0.088612
0
0.179104
0
0.004975
0.108165
0.013505
0
0
0
0
0.019901
0
null
null
0
0.074627
null
null
0.049751
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ce0de8aa1d4b82ecc6e7f4ac4b22ba0adb812140
525
py
Python
api/barriers/migrations/0076_auto_20200728_1410.py
cad106uk/market-access-api
a357c33bbec93408b193e598a5628634126e9e99
[ "MIT" ]
null
null
null
api/barriers/migrations/0076_auto_20200728_1410.py
cad106uk/market-access-api
a357c33bbec93408b193e598a5628634126e9e99
[ "MIT" ]
null
null
null
api/barriers/migrations/0076_auto_20200728_1410.py
cad106uk/market-access-api
a357c33bbec93408b193e598a5628634126e9e99
[ "MIT" ]
null
null
null
# Generated by Django 2.2.13 on 2020-07-28 14:10 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('barriers', '0075_auto_20200717_1142'), ] operations = [ migrations.AlterField( model_name='pub...
26.25
146
0.666667
58
525
5.913793
0.672414
0.069971
0.081633
0.12828
0
0
0
0
0
0
0
0.078049
0.219048
525
19
147
27.631579
0.758537
0.087619
0
0
1
0
0.186583
0.098532
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ce13fb79681f2fa79290b8df952f10b59154a2c7
4,616
py
Python
src/client.py
OompahLoompah/LinodeAPI-Client
6842b5cb461676a5ae363f242c972d8b157ea67e
[ "MIT" ]
null
null
null
src/client.py
OompahLoompah/LinodeAPI-Client
6842b5cb461676a5ae363f242c972d8b157ea67e
[ "MIT" ]
null
null
null
src/client.py
OompahLoompah/LinodeAPI-Client
6842b5cb461676a5ae363f242c972d8b157ea67e
[ "MIT" ]
null
null
null
from urllib2 import Request, urlopen, URLError import yaml import os import json class linodeClient: key = None def __init__(self, configFile): f = open (configFile) config = yaml.load(f) self.key = config['key'] def call(self, url): request = Request(url) try: ...
40.491228
84
0.57279
480
4,616
5.410417
0.216667
0.032345
0.063535
0.084713
0.480554
0.457451
0.457451
0.393916
0.393916
0.283404
0
0.001825
0.287912
4,616
113
85
40.849558
0.788257
0.005416
0
0.351064
0
0
0.253813
0.099129
0
0
0
0
0
0
null
null
0.021277
0.042553
null
null
0.010638
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ce1419fb6312424e4beed8c2dff6ddae5e8a5748
8,118
py
Python
python/dlxapi/models/project.py
dlens/dlxapi
189a6519240ce625d7a9cdb89e305a335d2aa045
[ "MIT" ]
null
null
null
python/dlxapi/models/project.py
dlens/dlxapi
189a6519240ce625d7a9cdb89e305a335d2aa045
[ "MIT" ]
1
2020-08-20T17:31:43.000Z
2020-08-20T17:31:43.000Z
python/dlxapi/models/project.py
dlens/dlxapi
189a6519240ce625d7a9cdb89e305a335d2aa045
[ "MIT" ]
null
null
null
# coding: utf-8 """ Decision Lens API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: 1.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import...
28.992857
207
0.610002
987
8,118
4.761905
0.130699
0.080851
0.077447
0.075957
0.534894
0.45617
0.392128
0.254894
0.180638
0.106809
0
0.014276
0.301059
8,118
279
208
29.096774
0.814064
0.303153
0
0.087302
1
0
0.07331
0.032265
0
0
0
0
0
1
0.15873
false
0
0.031746
0
0.325397
0.015873
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ce157262f35e11b76b0e9a0715c0cd159d8712ed
6,761
py
Python
dindel-1.01-python/utils/FileUtils.py
liebermanlab/wide-variant
2fe4c54d1e4bcf0e5e06313cc9696588ab105653
[ "Unlicense" ]
null
null
null
dindel-1.01-python/utils/FileUtils.py
liebermanlab/wide-variant
2fe4c54d1e4bcf0e5e06313cc9696588ab105653
[ "Unlicense" ]
null
null
null
dindel-1.01-python/utils/FileUtils.py
liebermanlab/wide-variant
2fe4c54d1e4bcf0e5e06313cc9696588ab105653
[ "Unlicense" ]
null
null
null
import os, sys, gzip import string class FileWithHeader: def __init__(self, fname = '', mode='r', headerLabels = [], NAchar = 'NA', joinChar = ' ', headerLines = []): if mode == 'r': self.mode = 'r' elif mode == 'w': self.mode = 'w' else: raise NameError(...
28.893162
115
0.489277
757
6,761
4.350066
0.192867
0.025812
0.021257
0.016702
0.400547
0.333435
0.299423
0.213787
0.213787
0.188278
0
0.011532
0.371543
6,761
233
116
29.017167
0.763474
0.022778
0
0.354651
0
0
0.076387
0
0
0
0
0
0
0
null
null
0
0.011628
null
null
0.005814
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ce18f10a81e399507ad5f55ab1cd5f35f7627b95
724
py
Python
lib/mdi/MDI_Library/__init__.py
MolSSI/MDI_QMMM_Driver
418c809f8922bd6d8eefc14ad208bf4e9ac27908
[ "BSD-3-Clause" ]
null
null
null
lib/mdi/MDI_Library/__init__.py
MolSSI/MDI_QMMM_Driver
418c809f8922bd6d8eefc14ad208bf4e9ac27908
[ "BSD-3-Clause" ]
null
null
null
lib/mdi/MDI_Library/__init__.py
MolSSI/MDI_QMMM_Driver
418c809f8922bd6d8eefc14ad208bf4e9ac27908
[ "BSD-3-Clause" ]
null
null
null
from .mdi import MDI_COMMAND_LENGTH, MDI_NAME_LENGTH, MDI_COMM_NULL, \ MDI_INT, MDI_DOUBLE, MDI_CHAR, MDI_BYTE, \ MDI_TCP, MDI_MPI, MDI_LIB, MDI_TEST, \ MDI_DRIVER, MDI_ENGINE, \ MDI_MAJOR_VERSION, MDI_MINOR_VERSION, MDI_PATCH_VERSION, \ MDI_Init, MDI_Accept_Communicator, \ MDI_Send, MDI_Recv, M...
55.692308
90
0.799724
112
724
4.535714
0.392857
0.094488
0.070866
0
0
0
0
0
0
0
0
0
0.132597
724
12
91
60.333333
0.808917
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.083333
0
0.083333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
ce1e1923eba8011d93d2f78fefe048696ca846c6
7,947
py
Python
cleanser.py
ThomasSelvig/Discord-Flask-Bot
e27dcbe29775de38f012d01ce791faf9d06aa931
[ "Unlicense" ]
null
null
null
cleanser.py
ThomasSelvig/Discord-Flask-Bot
e27dcbe29775de38f012d01ce791faf9d06aa931
[ "Unlicense" ]
null
null
null
cleanser.py
ThomasSelvig/Discord-Flask-Bot
e27dcbe29775de38f012d01ce791faf9d06aa931
[ "Unlicense" ]
null
null
null
# https://discordapp.com/oauth2/authorize?client_id=703918313880944705&scope=bot&permissions=8 import discord, asyncio, time, datetime, threading, timeago, pytz, os from flask import Flask, render_template, request from hashlib import sha256 from subprocess import check_output TOKEN = "no, go away" GUILD = 6491...
39.735
1,400
0.690827
1,084
7,947
5.008303
0.345018
0.006631
0.031498
0.038129
0.082704
0.06539
0.015841
0.015841
0.015841
0.015841
0
0.023717
0.156411
7,947
200
1,401
39.735
0.786098
0.10268
0
0.093333
0
0.006667
0.347166
0.09384
0
0
0
0
0
1
0.04
false
0
0.026667
0.006667
0.14
0.02
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ce209d8dff6eca9949a83ffacac8e3cc1a3089a7
1,370
py
Python
Python3/496.py
rakhi2001/ecom7
73790d44605fbd51e8f7e804b9808e364fcfc680
[ "MIT" ]
854
2018-11-09T08:06:16.000Z
2022-03-31T06:05:53.000Z
Python3/496.py
rakhi2001/ecom7
73790d44605fbd51e8f7e804b9808e364fcfc680
[ "MIT" ]
29
2019-06-02T05:02:25.000Z
2021-11-15T04:09:37.000Z
Python3/496.py
rakhi2001/ecom7
73790d44605fbd51e8f7e804b9808e364fcfc680
[ "MIT" ]
347
2018-12-23T01:57:37.000Z
2022-03-12T14:51:21.000Z
__________________________________________________________________________________________________ sample 44 ms submission class Solution: def nextGreaterElement(self, nums1: List[int], nums2: List[int]) -> List[int]: stk=[] d=dict() for num in nums2: while len(stk)>0 and num...
31.136364
98
0.60219
132
1,370
3.977273
0.409091
0.08
0.060952
0.129524
0.262857
0.262857
0.262857
0.262857
0.262857
0.262857
0
0.030983
0.316788
1,370
43
99
31.860465
0.529915
0.047445
0
0.205882
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ce2c52810269a3202e4d853ba5c3f099c0ca2cd6
2,625
py
Python
sql_queries.py
an-dutra/Udacity-Project-1
b48d372b9be914aa0911faf6987d1428f6518572
[ "MIT" ]
null
null
null
sql_queries.py
an-dutra/Udacity-Project-1
b48d372b9be914aa0911faf6987d1428f6518572
[ "MIT" ]
null
null
null
sql_queries.py
an-dutra/Udacity-Project-1
b48d372b9be914aa0911faf6987d1428f6518572
[ "MIT" ]
null
null
null
# DROP TABLES songplay_table_drop = "DROP TABLE IF EXISTS songplays" user_table_drop = "DROP TABLE IF EXISTS users" song_table_drop = "DROP TABLE IF EXISTS songs" artist_table_drop = "DROP TABLE IF EXISTS artists" time_table_drop = "DROP TABLE IF EXISTS time" # CREATE TABLES songplay_table_create = (""" CREATE TABLE...
25.485437
244
0.687619
382
2,625
4.502618
0.188482
0.02907
0.034884
0.034884
0.24186
0.24186
0.162791
0.061047
0.048837
0.034884
0
0.000477
0.201905
2,625
103
245
25.485437
0.820525
0.024
0
0.166667
0
0.064103
0.726633
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ce2eb6cf03fde3afbb7d7c4bbcb9326b99c45e59
1,267
py
Python
blog/migrations/0002_auto_20191111_0219.py
pablolirag/pythonchile_v2
56a5857da3c747f33a558976dce0f34129124ac4
[ "Apache-2.0" ]
6
2020-06-07T16:09:03.000Z
2020-11-27T01:40:09.000Z
blog/migrations/0002_auto_20191111_0219.py
pablolirag/pythonchile_v2
56a5857da3c747f33a558976dce0f34129124ac4
[ "Apache-2.0" ]
7
2020-07-08T07:43:08.000Z
2021-06-09T18:39:12.000Z
blog/migrations/0002_auto_20191111_0219.py
pablolirag/pythonchile_v2
56a5857da3c747f33a558976dce0f34129124ac4
[ "Apache-2.0" ]
5
2020-01-13T15:26:44.000Z
2021-03-04T19:12:56.000Z
# Generated by Django 2.2.6 on 2019-11-11 02:19 from django.db import migrations, models import wagtail.core.blocks import wagtail.core.fields import wagtail.images.blocks class Migration(migrations.Migration): dependencies = [ ('blog', '0001_initial'), ] operations = [ migrations.AddFi...
46.925926
691
0.640884
137
1,267
5.890511
0.532847
0.109046
0.126394
0.052045
0
0
0
0
0
0
0
0.020833
0.166535
1,267
26
692
48.730769
0.743371
0.035517
0
0.2
1
0
0.187705
0
0
0
0
0
0
1
0
false
0
0.2
0
0.35
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ce36248ea8fc6d896983550b8883f37c40a4c697
9,785
py
Python
core/doctype/site_details/site_details.py
saurabh6790/OFF-RISLIB
eb7866227c5ff085ea714f79576281d82365f4fe
[ "MIT" ]
null
null
null
core/doctype/site_details/site_details.py
saurabh6790/OFF-RISLIB
eb7866227c5ff085ea714f79576281d82365f4fe
[ "MIT" ]
null
null
null
core/doctype/site_details/site_details.py
saurabh6790/OFF-RISLIB
eb7866227c5ff085ea714f79576281d82365f4fe
[ "MIT" ]
null
null
null
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors # MIT License. See license.txt # For license information, please see license.txt from __future__ import unicode_literals import webnotes import os from webnotes.utils import get_base_path from install_erpnext import exec_in_shell, create_user, pa...
33.282313
173
0.639244
1,324
9,785
4.499245
0.240181
0.037603
0.035085
0.025684
0.379889
0.357059
0.312909
0.262716
0.238039
0.238039
0
0.014365
0.210322
9,785
294
174
33.282313
0.756568
0.049463
0
0.218182
0
0.018182
0.492884
0.046496
0
0
0
0
0
1
0.063636
false
0.086364
0.05
0
0.118182
0.018182
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ce3c3a0a6e8047d7126bccadd1fc5a1f5a9cb907
4,307
py
Python
brokenChains/views.py
bunya017/brokenChains
3e20c834efd7f0ade8e3abe7acf547c093f76758
[ "MIT" ]
1
2018-12-07T09:15:57.000Z
2018-12-07T09:15:57.000Z
brokenChains/views.py
bunya017/brokenChains
3e20c834efd7f0ade8e3abe7acf547c093f76758
[ "MIT" ]
null
null
null
brokenChains/views.py
bunya017/brokenChains
3e20c834efd7f0ade8e3abe7acf547c093f76758
[ "MIT" ]
null
null
null
from django.contrib.auth.models import User from django.views.decorators.csrf import ensure_csrf_cookie from django.utils.decorators import method_decorator from rest_framework import generics, permissions, serializers, status from rest_framework.authtoken.models import Token from rest_framework.authtoken.views import ...
34.18254
93
0.778732
502
4,307
6.551793
0.2251
0.043478
0.062025
0.044694
0.526908
0.502584
0.481301
0.481301
0.457586
0.422925
0
0.000786
0.114233
4,307
126
94
34.18254
0.861337
0.004876
0
0.59596
0
0
0.042474
0
0
0
0
0
0
1
0.131313
false
0
0.10101
0.050505
0.505051
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ce3fe9b20d2cb13c25073e0e02e2cab9e8776b68
445
py
Python
linkkeep/api/views.py
Gilbishkosma/linkeep
fe981c2361a8372bb738218ad189982d38defdd9
[ "MIT" ]
null
null
null
linkkeep/api/views.py
Gilbishkosma/linkeep
fe981c2361a8372bb738218ad189982d38defdd9
[ "MIT" ]
null
null
null
linkkeep/api/views.py
Gilbishkosma/linkeep
fe981c2361a8372bb738218ad189982d38defdd9
[ "MIT" ]
null
null
null
from django.shortcuts import render from rest_framework import status, viewsets from linkkeep.api.models import LinkData from linkkeep.api.serializers import LinkDataSerializer # Create your views here. class LinkDataReadCreate(viewsets.ModelViewSet): queryset = LinkData.objects.all() serializer_class = LinkDataSe...
26.176471
55
0.813483
54
445
6.648148
0.611111
0.066852
0.083565
0
0
0
0
0
0
0
0
0
0.119101
445
16
56
27.8125
0.915816
0.051685
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.818182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
cbf3d9ee04e248201f635d763193d5c6c3bbb020
25,099
py
Python
experimental/ThaiS2T/textprocess.py
p4perf4ce/Thai-Sentence-Segmentor
28a6f3c8ca88f9dc38ff81aed4e48101a9580782
[ "Apache-2.0" ]
2
2019-06-21T03:59:45.000Z
2019-06-21T04:44:28.000Z
experimental/ThaiS2T/textprocess.py
p4perf4ce/Thai-Sentence-Segmentor
28a6f3c8ca88f9dc38ff81aed4e48101a9580782
[ "Apache-2.0" ]
null
null
null
experimental/ThaiS2T/textprocess.py
p4perf4ce/Thai-Sentence-Segmentor
28a6f3c8ca88f9dc38ff81aed4e48101a9580782
[ "Apache-2.0" ]
null
null
null
class txtprocess: """ When calling txtprocess class is called a results is required and automatically generate a list of sentence dict for using to generate srt or vtt(WIP) file. Args: results (list): A list of results(dict) obtain from Google Speech to Text API whic...
40.287319
79
0.470258
2,253
25,099
5.04838
0.170439
0.02154
0.011078
0.014507
0.259276
0.211447
0.180851
0.14498
0.124231
0.10313
0
0.012456
0.453046
25,099
622
80
40.35209
0.816069
0.206821
0
0.343358
1
0
0.057144
0.011027
0
0
0
0
0
1
0.0401
false
0.002506
0.015038
0
0.087719
0.025063
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cbf85eb82ccefe86a81bd06eebca0dae5bca7108
5,570
py
Python
bstgames/migrations/0001_initial.py
lucasazevedo/bstgames
ef03edc39c7a06995250fa0bc5d1dccf1ec1414e
[ "MIT" ]
null
null
null
bstgames/migrations/0001_initial.py
lucasazevedo/bstgames
ef03edc39c7a06995250fa0bc5d1dccf1ec1414e
[ "MIT" ]
null
null
null
bstgames/migrations/0001_initial.py
lucasazevedo/bstgames
ef03edc39c7a06995250fa0bc5d1dccf1ec1414e
[ "MIT" ]
null
null
null
# Generated by Django 3.2.6 on 2022-02-08 04:04 import bstgames.models import django.core.validators from django.db import migrations, models import django.db.models.deletion import stdimage.models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migr...
46.033058
174
0.574686
510
5,570
6.109804
0.219608
0.134146
0.051348
0.075096
0.445764
0.413671
0.413671
0.413671
0.413671
0.338254
0
0.009329
0.287971
5,570
120
175
46.416667
0.776349
0.008079
0
0.469027
1
0
0.164403
0.017563
0
0
0
0
0
1
0
false
0
0.044248
0
0.079646
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cbfd836198476708317778ebd914be1645bbbfcb
509
py
Python
Basic-Line_graph.py
mcvenkat/Python-Programs
2ff66bbd5b07c8e093b11360e1dcac06740a5024
[ "CC0-1.0", "MIT" ]
null
null
null
Basic-Line_graph.py
mcvenkat/Python-Programs
2ff66bbd5b07c8e093b11360e1dcac06740a5024
[ "CC0-1.0", "MIT" ]
5
2020-05-22T14:10:02.000Z
2022-03-25T19:13:05.000Z
Basic-Line_graph.py
mcvenkat/Python-Programs
2ff66bbd5b07c8e093b11360e1dcac06740a5024
[ "CC0-1.0", "MIT" ]
null
null
null
#Making a basic Bokeh line graph #importing Bokeh from bokeh.plotting import figure from bokeh.io import output_file, show from bokeh.embed import components from bokeh.resources import CDN #prepare some data x=[1,2,3,4,5] y=[6,7,8,9,10] #prepare the output file #output_file("Line.html") #create ...
16.419355
39
0.707269
91
509
3.89011
0.516484
0.101695
0
0
0
0
0
0
0
0
0
0.031401
0.18664
509
30
40
16.966667
0.823672
0.373281
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.363636
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
cbfdeafbc8704b7250d2a677c243f83ee2aa9ace
369
py
Python
LeetCode/top_interview_easy/math/math_02.py
smartx-jshan/Coding_Practice
bc7d485e7992031e55df62483818b721ad7d1d4f
[ "Apache-2.0" ]
null
null
null
LeetCode/top_interview_easy/math/math_02.py
smartx-jshan/Coding_Practice
bc7d485e7992031e55df62483818b721ad7d1d4f
[ "Apache-2.0" ]
null
null
null
LeetCode/top_interview_easy/math/math_02.py
smartx-jshan/Coding_Practice
bc7d485e7992031e55df62483818b721ad7d1d4f
[ "Apache-2.0" ]
null
null
null
class Solution: def countPrimes(self, n: int) -> int: n = n-1 a = [False,False] + [True]*(n-1) primes=[] for i in range(2,n+1): if a[i]: primes.append(i) for j in range(2*i, n+1, i): a[j] = False ...
20.5
44
0.360434
46
369
2.891304
0.478261
0.06015
0.120301
0
0
0
0
0
0
0
0
0.033333
0.512195
369
17
45
21.705882
0.705556
0
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
02052ea0c0c32253c7ffb4a07326c5c9463f46ff
959
py
Python
hindsight1/migrations/0007_auto_20171128_1824.py
jcaguirre89/mysite
3b118747d7129d7a249ea2ad7b6644e46e9816f1
[ "MIT" ]
null
null
null
hindsight1/migrations/0007_auto_20171128_1824.py
jcaguirre89/mysite
3b118747d7129d7a249ea2ad7b6644e46e9816f1
[ "MIT" ]
1
2020-02-11T23:49:32.000Z
2020-02-11T23:49:32.000Z
hindsight1/migrations/0007_auto_20171128_1824.py
jcaguirre89/mysite
3b118747d7129d7a249ea2ad7b6644e46e9816f1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2017-11-29 02:24 from __future__ import unicode_literals import datetime from django.db import migrations, models import django.db.models.manager class Migration(migrations.Migration): dependencies = [ ('hindsight1', '0006_auto_20171127_1826'), ...
28.205882
99
0.599583
98
959
5.734694
0.510204
0.032028
0.049822
0.074733
0.402135
0.402135
0.402135
0.234875
0.234875
0.234875
0
0.104197
0.279458
959
33
100
29.060606
0.709117
0.070907
0
0.346154
1
0
0.108108
0.025901
0
0
0
0
0
1
0
false
0
0.153846
0
0.269231
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
020d8a2ea165321de0a28cc8e14ba9f41c0375a0
230
py
Python
main/string-reversal/string-reversal.py
EliahKagan/old-practice-snapshot
1b53897eac6902f8d867c8f154ce2a489abb8133
[ "0BSD" ]
null
null
null
main/string-reversal/string-reversal.py
EliahKagan/old-practice-snapshot
1b53897eac6902f8d867c8f154ce2a489abb8133
[ "0BSD" ]
null
null
null
main/string-reversal/string-reversal.py
EliahKagan/old-practice-snapshot
1b53897eac6902f8d867c8f154ce2a489abb8133
[ "0BSD" ]
null
null
null
for t in xrange(int(raw_input())): chars = set() rev = [] for c in reversed(raw_input()): if not (c in chars or c.isspace()): chars.add(c) rev.append(c) print ''.join(rev)
20.909091
43
0.486957
33
230
3.333333
0.606061
0.145455
0
0
0
0
0
0
0
0
0
0
0.36087
230
10
44
23
0.748299
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
021a66c7133544818be64e966a918ca7100d9fa9
2,030
py
Python
tfrecorder/test_utils.py
isabella232/tensorflow-recorder
6fa13e41e23ca52041ff668c5d1f100e822469dd
[ "Apache-2.0" ]
null
null
null
tfrecorder/test_utils.py
isabella232/tensorflow-recorder
6fa13e41e23ca52041ff668c5d1f100e822469dd
[ "Apache-2.0" ]
null
null
null
tfrecorder/test_utils.py
isabella232/tensorflow-recorder
6fa13e41e23ca52041ff668c5d1f100e822469dd
[ "Apache-2.0" ]
null
null
null
# Lint as: python3 # Copyright 2020 Google LLC. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
27.432432
76
0.726601
309
2,030
4.666667
0.478964
0.041609
0.020804
0.022191
0
0
0
0
0
0
0
0.011203
0.164532
2,030
73
77
27.808219
0.839033
0.475862
0
0
0
0
0.114061
0
0
0
0
0
0
1
0.185185
false
0
0.259259
0
0.62963
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
02281cbb7d279e6fcaf93c6393f92c85f5038823
2,077
py
Python
GsSeeyonDataDict.py
330040431/GsSeeyonDataDict
1c9542b64b1ca3568e42b5a2707b85438a68de1f
[ "Apache-2.0" ]
1
2016-08-20T14:18:32.000Z
2016-08-20T14:18:32.000Z
GsSeeyonDataDict.py
godliam/GsSeeyonDataDict
1c9542b64b1ca3568e42b5a2707b85438a68de1f
[ "Apache-2.0" ]
null
null
null
GsSeeyonDataDict.py
godliam/GsSeeyonDataDict
1c9542b64b1ca3568e42b5a2707b85438a68de1f
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __author__ = 'Liam0611' import pymssql import xml.etree.ElementTree as Etree from getCode import getCode class GsSeeyonDataDict: def getModuleDataDict(self, moduleName): if not moduleName: return None sqlStr = r"SELECT FIELD_INFO FROM F...
31.469697
115
0.622051
193
2,077
6.492228
0.435233
0.047885
0.02075
0.039904
0
0
0
0
0
0
0
0.012484
0.267212
2,077
65
116
31.953846
0.810775
0.028406
0
0.043478
0
0
0.098759
0
0
0
0
0
0
1
0.086957
false
0.086957
0.065217
0
0.23913
0.021739
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
022c2404f3b5cefe6702bd42f6576fb55c6e97b4
882
py
Python
api/cases/migrations/0050_departmentsla.py
uktrade/lite-ap
4e1a57956bd921992b4a6e2b8fbacbba5720960d
[ "MIT" ]
3
2019-05-15T09:30:39.000Z
2020-04-22T16:14:23.000Z
api/cases/migrations/0050_departmentsla.py
uktrade/lite-ap
4e1a57956bd921992b4a6e2b8fbacbba5720960d
[ "MIT" ]
85
2019-04-24T10:39:35.000Z
2022-03-21T14:52:12.000Z
api/cases/migrations/0050_departmentsla.py
uktrade/lite-ap
4e1a57956bd921992b4a6e2b8fbacbba5720960d
[ "MIT" ]
1
2021-01-17T11:12:19.000Z
2021-01-17T11:12:19.000Z
# Generated by Django 3.1.12 on 2021-09-24 12:39 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('teams', '0002_auto_20210924_1241'), ('cases', '0049_auto_20210322_1838'), ] operations = [ migrati...
35.28
150
0.632653
96
882
5.645833
0.5625
0.059041
0.077491
0.121771
0.295203
0.295203
0.295203
0.295203
0.295203
0.295203
0
0.070588
0.229025
882
24
151
36.75
0.726471
0.052154
0
0
1
0
0.181055
0.055156
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
022d3cf70e16784d125a06ec69c1111d11c4a72d
1,444
py
Python
Builder/exercise.py
NachoCP/python-design-patterns
76a7834ff3f8d5c759935f3f5bd3c7c2a57ea112
[ "MIT" ]
1
2022-02-18T10:01:07.000Z
2022-02-18T10:01:07.000Z
python_design_patterns/code/udemy/builder/exercise.py
dreamPathsProjekt/training-code
8a7e5c4ddff46dc13ca7c05ae330680863f9cda9
[ "MIT" ]
null
null
null
python_design_patterns/code/udemy/builder/exercise.py
dreamPathsProjekt/training-code
8a7e5c4ddff46dc13ca7c05ae330680863f9cda9
[ "MIT" ]
null
null
null
from unittest import TestCase class Field: def __init__(self, name, value): self.value = value self.name = name def __str__(self): return 'self.%s = %s' % (self.name, self.value) class Class: def __init__(self, name): self.name = name self.fields = [] def __s...
24.066667
60
0.539474
168
1,444
4.345238
0.261905
0.076712
0.075342
0.041096
0.161644
0.106849
0.106849
0
0
0
0
0.002033
0.31856
1,444
59
61
24.474576
0.739837
0
0
0.116279
0
0
0.071795
0
0
0
0
0
0.046512
1
0.232558
false
0.046512
0.023256
0.069767
0.465116
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
022e1b319192f1029a480dfce7bae8837aaeec6e
664
py
Python
listInstancesInAllRegions.py
alphacrack/aws-boto-scripts
36780e9c5e09cbfe830a6830225222859dc55286
[ "Apache-2.0" ]
43
2015-04-28T21:55:27.000Z
2022-02-18T09:34:03.000Z
listInstancesInAllRegions.py
payalaharikrishna/aws-boto-scripts
36780e9c5e09cbfe830a6830225222859dc55286
[ "Apache-2.0" ]
null
null
null
listInstancesInAllRegions.py
payalaharikrishna/aws-boto-scripts
36780e9c5e09cbfe830a6830225222859dc55286
[ "Apache-2.0" ]
71
2015-04-26T00:30:07.000Z
2022-01-15T07:27:54.000Z
#Find list of all the regions. #Find list of all the running instances. import boto from boto import ec2 region=ec2.regions() for reg in region: connection=ec2.connect_to_region(reg.name) if reg.name == "us-gov-west-1" or reg.name == "cn-north-1": print "API call is not allowed in this regions:",...
22.133333
70
0.629518
96
664
4.302083
0.489583
0.101695
0.048426
0.062954
0.077482
0
0
0
0
0
0
0.010183
0.260542
664
29
71
22.896552
0.830957
0.103916
0
0
0
0
0.205433
0
0
0
0
0
0
0
null
null
0
0.125
null
null
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
022fcffca6cdb8a4a872ba5f892dcfb3bfe455bb
1,147
py
Python
tronx/clients/utils.py
JayPatel1314/Tron
d8f2d799eea344c0d76f0fe758ce385c7ceceea7
[ "MIT" ]
null
null
null
tronx/clients/utils.py
JayPatel1314/Tron
d8f2d799eea344c0d76f0fe758ce385c7ceceea7
[ "MIT" ]
null
null
null
tronx/clients/utils.py
JayPatel1314/Tron
d8f2d799eea344c0d76f0fe758ce385c7ceceea7
[ "MIT" ]
null
null
null
import time import pyrogram import platform from logging import getLogger, WARNING, CRITICAL from pysimplelog import Logger from config import Config from telegraph import Telegraph from tronx.methods import Methods from pyrogram import __version__ as pyro_version from pyrogram.types import Message from tronx.database...
22.057692
90
0.757629
153
1,147
5.568627
0.48366
0.03169
0.021127
0.023474
0
0
0
0
0
0
0
0.018386
0.146469
1,147
51
91
22.490196
0.847804
0.135135
0
0
0
0
0.092668
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.892857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0236c80fad07798d0f0b663398b1cdc5f3d6df1d
432
py
Python
src/downward/experiments/issue908/parser.py
ScarfZapdos/conan-bge-questgen
4d184c5bf0ae4b768b8043cec586395df9ce1451
[ "MIT" ]
1
2021-09-09T13:03:02.000Z
2021-09-09T13:03:02.000Z
src/downward/experiments/issue908/parser.py
ScarfZapdos/conan-bge-questgen
4d184c5bf0ae4b768b8043cec586395df9ce1451
[ "MIT" ]
null
null
null
src/downward/experiments/issue908/parser.py
ScarfZapdos/conan-bge-questgen
4d184c5bf0ae4b768b8043cec586395df9ce1451
[ "MIT" ]
null
null
null
#! /usr/bin/env python from lab.parser import Parser parser = Parser() parser.add_pattern('generator_computation_time', 'generator computation time: (.+)s', required=False, type=float) parser.add_pattern('cpdbs_computation_time', 'Canonical PDB heuristic computation time: (.+)s', required=False, type=float) parser.ad...
39.272727
123
0.770833
57
432
5.684211
0.45614
0.185185
0.148148
0.166667
0.42284
0.42284
0.333333
0.333333
0.333333
0.333333
0
0
0.085648
432
10
124
43.2
0.820253
0.048611
0
0
0
0
0.434146
0.170732
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
023bae902db6922617216a529e47cbe2b9a2b9c3
2,530
py
Python
web_app/common/utils.py
mycyzs/fta
a50a3c498c39b14e7df4a0a960c2a1499b1ec6bb
[ "Apache-2.0" ]
null
null
null
web_app/common/utils.py
mycyzs/fta
a50a3c498c39b14e7df4a0a960c2a1499b1ec6bb
[ "Apache-2.0" ]
null
null
null
web_app/common/utils.py
mycyzs/fta
a50a3c498c39b14e7df4a0a960c2a1499b1ec6bb
[ "Apache-2.0" ]
2
2020-02-12T03:59:28.000Z
2021-05-27T05:34:01.000Z
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available. Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file except in co...
32.025316
305
0.639526
322
2,530
4.959627
0.503106
0.03757
0.056356
0.040075
0.075767
0.040701
0.040701
0.040701
0.040701
0.040701
0
0.008256
0.233992
2,530
78
306
32.435897
0.815789
0.028063
0
0.157895
0
0
0.07971
0
0
0
0
0
0
0
null
null
0
0.078947
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
024a89fa4040a315c7d5d1b6f4ff8b761f25f6e2
1,970
py
Python
Cryptanalysis/break_vigenere.py
dendisuhubdy/grokmachine
120a21a25c2730ed356739231ec8b99fc0575c8b
[ "BSD-3-Clause" ]
89
2015-04-18T20:42:33.000Z
2022-02-20T18:44:16.000Z
Cryptanalysis/break_vigenere.py
dendisuhubdy/grokmachine
120a21a25c2730ed356739231ec8b99fc0575c8b
[ "BSD-3-Clause" ]
null
null
null
Cryptanalysis/break_vigenere.py
dendisuhubdy/grokmachine
120a21a25c2730ed356739231ec8b99fc0575c8b
[ "BSD-3-Clause" ]
45
2016-07-12T05:43:23.000Z
2021-09-14T12:08:48.000Z
from ngram_score import ngram_score from pycipher import Vigenere import re from itertools import permutations qgram = ngram_score('quadgrams.txt') trigram = ngram_score('trigrams.txt') ctext = 'kiqpbkxspshwehospzqhoinlgapp' ctext = re.sub(r'[^A-Z]','',ctext.upper()) # keep a list of the N best things we have seen, d...
29.848485
93
0.569543
267
1,970
4.127341
0.292135
0.057169
0.03539
0.025408
0.114338
0.114338
0.087114
0.087114
0.087114
0.087114
0
0.019258
0.288325
1,970
65
94
30.307692
0.766762
0.036548
0
0.113208
0
0
0.069166
0.042239
0
0
0
0
0
0
null
null
0
0.075472
null
null
0.018868
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
024b90dab9cc9549a89209c7eac301342f9b32af
312
py
Python
ex_7.py
viniciusRG1/salve
b009370430f2338d553301c9a04fdba71f0f68a3
[ "MIT" ]
null
null
null
ex_7.py
viniciusRG1/salve
b009370430f2338d553301c9a04fdba71f0f68a3
[ "MIT" ]
null
null
null
ex_7.py
viniciusRG1/salve
b009370430f2338d553301c9a04fdba71f0f68a3
[ "MIT" ]
null
null
null
numero = 0 tempo = 0 media_positivo = 0 for tempo in range(1, 11): numero = int(input('escreva o número postivo para a média \n')) if numero >= 0: media_positivo += numero else: tempo -= 1 media_positivo = media_positivo / 10 print(f'a média é {media_positivo}')
24
69
0.602564
45
312
4.066667
0.577778
0.355191
0.153005
0
0
0
0
0
0
0
0
0.045662
0.298077
312
12
70
26
0.789954
0
0
0
0
0
0.211538
0
0
0
0
0
0
1
0
false
0
0
0
0
0.090909
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
024ccd767cc0ec09a47d16917961cbe2b1704438
499
py
Python
src/bite/service/redmine/json.py
radhermit/bite
2aa2cc5db2ab0e119965741080323bfae962b787
[ "BSD-3-Clause" ]
3
2018-06-05T04:10:13.000Z
2018-06-07T04:18:10.000Z
src/bite/service/redmine/json.py
radhermit/bite
2aa2cc5db2ab0e119965741080323bfae962b787
[ "BSD-3-Clause" ]
24
2018-04-08T10:32:28.000Z
2018-06-21T15:47:36.000Z
src/bite/service/redmine/json.py
radhermit/bite
2aa2cc5db2ab0e119965741080323bfae962b787
[ "BSD-3-Clause" ]
1
2018-04-04T02:07:33.000Z
2018-04-04T02:07:33.000Z
"""Support Redmine's JSON-REST interface. API docs: - http://www.redmine.org/projects/redmine/wiki/Rest_api """ from . import Redmine, RedmineElastic, Redmine3_2 from .._jsonrest import JsonREST class RedmineJson(Redmine, JsonREST): _service = 'redmine-json' _ext = 'json' class Redmine3_2Json(Redmine...
18.481481
59
0.709419
58
499
5.913793
0.448276
0.078717
0.09621
0.093294
0
0
0
0
0
0
0
0.019324
0.170341
499
26
60
19.192308
0.809179
0.218437
0
0.272727
0
0
0.154047
0
0
0
0
0
0
1
0
false
0
0.181818
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
024dc74c2abb7003eed2f53e11cf3b9d2f99d0f3
421
py
Python
sermar/migrations/0008_alter_biology_options.py
dennereed/paleocore
d6da6c39cde96050ee4b9e7213ec1200530cbeee
[ "MIT" ]
null
null
null
sermar/migrations/0008_alter_biology_options.py
dennereed/paleocore
d6da6c39cde96050ee4b9e7213ec1200530cbeee
[ "MIT" ]
null
null
null
sermar/migrations/0008_alter_biology_options.py
dennereed/paleocore
d6da6c39cde96050ee4b9e7213ec1200530cbeee
[ "MIT" ]
null
null
null
# Generated by Django 3.2.5 on 2021-11-01 17:44 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('sermar', '0007_alter_occurrence_collection_code'), ] operations = [ migrations.AlterModelOptions( name='biology', options={'...
23.388889
105
0.643705
43
421
6.139535
0.767442
0.083333
0
0
0
0
0
0
0
0
0
0.059561
0.24228
421
17
106
24.764706
0.768025
0.106888
0
0
1
0
0.315508
0.09893
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
024dfa5a1d09424ea9ecc577fa200d936392411d
278
py
Python
src/users/users.py
Xyau/petrochamp
9712d1c28aeadcfde38173272d1e6eff8b16ecd7
[ "MIT" ]
null
null
null
src/users/users.py
Xyau/petrochamp
9712d1c28aeadcfde38173272d1e6eff8b16ecd7
[ "MIT" ]
null
null
null
src/users/users.py
Xyau/petrochamp
9712d1c28aeadcfde38173272d1e6eff8b16ecd7
[ "MIT" ]
null
null
null
import streamlit as st User = str @st.experimental_singleton def get_messages() -> list[(User, str)]: return list() def save_message(user: User, msg: str): get_messages().append((user, msg)) st.experimental_rerun() def clear_messages(): get_messages.clear()
18.533333
40
0.697842
38
278
4.921053
0.5
0.176471
0
0
0
0
0
0
0
0
0
0
0.165468
278
14
41
19.857143
0.806034
0
0
0
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0.1
0.1
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
025500770ebc0c2b0b640c2e146ca29a9041be4f
1,035
py
Python
accounts/forms.py
blackunicornlabs/Spacr
ae81eb67c298f03d113b18531a7c1d9ee3395300
[ "MIT" ]
null
null
null
accounts/forms.py
blackunicornlabs/Spacr
ae81eb67c298f03d113b18531a7c1d9ee3395300
[ "MIT" ]
null
null
null
accounts/forms.py
blackunicornlabs/Spacr
ae81eb67c298f03d113b18531a7c1d9ee3395300
[ "MIT" ]
null
null
null
# SPACR by Black Unicorn Labs e.U. # Licensed under the MIT license. from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.forms import UserChangeForm from .models import CUser from django import forms class NewUserForm(UserCreationForm): class Meta(UserCreationForm): model = CUse...
29.571429
58
0.600966
105
1,035
5.780952
0.52381
0.049423
0.059308
0.069193
0.105437
0.105437
0
0
0
0
0
0.002685
0.280193
1,035
34
59
30.441176
0.812081
0.061836
0
0.064516
0
0
0.197314
0
0
0
0
0
0
1
0.032258
false
0.064516
0.129032
0
0.290323
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
02579da2e97ff2e9bac74582db65c1e63f394c16
1,935
py
Python
robotframework-interactive/src/robotframework_interactive/server/rf_interpreter_ls_config.py
mardukbp/robotframework-lsp
57b4b2b14b712c9bf90577924a920fb9b9e831c7
[ "ECL-2.0", "Apache-2.0" ]
92
2020-01-22T22:15:29.000Z
2022-03-31T05:19:16.000Z
robotframework-interactive/src/robotframework_interactive/server/rf_interpreter_ls_config.py
mardukbp/robotframework-lsp
57b4b2b14b712c9bf90577924a920fb9b9e831c7
[ "ECL-2.0", "Apache-2.0" ]
604
2020-01-25T17:13:27.000Z
2022-03-31T18:58:24.000Z
robotframework-interactive/src/robotframework_interactive/server/rf_interpreter_ls_config.py
mardukbp/robotframework-lsp
57b4b2b14b712c9bf90577924a920fb9b9e831c7
[ "ECL-2.0", "Apache-2.0" ]
39
2020-02-06T00:38:06.000Z
2022-03-15T06:14:19.000Z
from robocorp_ls_core.config import Config OPTION_ROBOT_PYTHON_EXECUTABLE = "robot.python.executable" OPTION_ROBOT_PYTHON_ENV = "robot.python.env" OPTION_ROBOT_LANGUAGE_SERVER_TCP_PORT = "robot.language-server.tcp-port" OPTION_ROBOT_LANGUAGE_SERVER_ARGS = "robot.language-server.args" OPTION_ROBOT_VARIABLES = "robo...
33.362069
87
0.826873
247
1,935
5.939271
0.291498
0.209952
0.157464
0.118609
0.63122
0.531016
0.31561
0.177232
0.119973
0.074983
0
0
0.118346
1,935
57
88
33.947368
0.859906
0.08062
0
0
0
0
0.188169
0.12
0
0
0
0
0
1
0
false
0
0.027027
0
0.081081
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1