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
98ff2164d213a1d16dfed49b4747abdb5088d56e
1,068
py
Python
Day 14/AntiPalindromeStrings.py
sandeep-krishna/100DaysOfCode
af4594fb6933e4281d298fa921311ccc07295a7c
[ "MIT" ]
null
null
null
Day 14/AntiPalindromeStrings.py
sandeep-krishna/100DaysOfCode
af4594fb6933e4281d298fa921311ccc07295a7c
[ "MIT" ]
null
null
null
Day 14/AntiPalindromeStrings.py
sandeep-krishna/100DaysOfCode
af4594fb6933e4281d298fa921311ccc07295a7c
[ "MIT" ]
null
null
null
''' Anti-palindrome strings You are given a string containing only lowercase alphabets. You can swap two adjacent characters any number of times (including 0). A string is called anti-palindrome if it is not a palindrome. If it is possible to make a string anti-palindrome, then find the lexicographically smallest an...
26.04878
190
0.735955
169
1,068
4.64497
0.485207
0.089172
0.056051
0.040764
0
0
0
0
0
0
0
0.005841
0.198502
1,068
41
191
26.04878
0.911215
0.852996
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c703e8369ae6294906046cc81026872b775cf47b
757
py
Python
cvxpy/cvxcore/tests/python/364A_scripts/kvl_kcl.py
jasondark/cvxpy
56aaa01b0e9d98ae5a91a923708129a7b37a6f18
[ "ECL-2.0", "Apache-2.0" ]
38
2015-10-16T16:55:28.000Z
2022-02-16T05:06:01.000Z
cvxpy/cvxcore/tests/python/364A_scripts/kvl_kcl.py
h-vetinari/cvxpy
86307f271819bb78fcdf64a9c3a424773e8269fa
[ "ECL-2.0", "Apache-2.0" ]
28
2015-09-16T16:33:23.000Z
2021-11-23T07:31:44.000Z
cvxpy/cvxcore/tests/python/364A_scripts/kvl_kcl.py
h-vetinari/cvxpy
86307f271819bb78fcdf64a9c3a424773e8269fa
[ "ECL-2.0", "Apache-2.0" ]
21
2015-09-16T14:56:16.000Z
2022-02-16T05:06:03.000Z
import numpy as np from cvxpy import * import math ANSWERS = [] A = np.array(np.mat('-1 -1 0 0 0;\ 0 1 -1 -1 0;\ 0 0 0 1 1')) I = Variable(5) I_entr = Variable(2) f_0 = -entr(I_entr[0])-I[2] - 26.0 * log(I[2]) f_0 += -entr(I_entr[1])-I[3] - 26.0 * log(I[3]) constraints = [] constraints = [I_entr[0] == I[2] - 26.0...
21.027778
67
0.582563
166
757
2.608434
0.253012
0.027714
0.027714
0.018476
0.288684
0.168591
0.136259
0.034642
0
0
0
0.12013
0.186262
757
36
68
21.027778
0.582792
0.042272
0
0.103448
0
0
0
0
0
0
0
0
0
1
0
false
0.103448
0.103448
0
0.103448
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
c70add7f728b4a861487ece99791963d54ec3f16
4,858
py
Python
common/patterns.py
mulinfro/jaikuengine
7399d27238136d203fa471b6757025a78166fe3d
[ "Apache-2.0" ]
8
2016-01-02T17:15:39.000Z
2017-10-18T01:26:18.000Z
common/patterns.py
mulinfro/jaikuengine
7399d27238136d203fa471b6757025a78166fe3d
[ "Apache-2.0" ]
1
2015-06-08T13:32:16.000Z
2015-06-08T13:33:42.000Z
common/patterns.py
mulinfro/jaikuengine
7399d27238136d203fa471b6757025a78166fe3d
[ "Apache-2.0" ]
4
2016-08-01T14:50:11.000Z
2021-04-03T19:43:06.000Z
# 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, ...
27.139665
96
0.675175
674
4,858
4.807122
0.295252
0.054321
0.05216
0.07037
0.417593
0.400926
0.323148
0.273457
0.247531
0.21821
0
0.003711
0.16797
4,858
178
97
27.292135
0.797872
0.239605
0
0.337079
0
0
0.099507
0.063534
0
0
0
0.005618
0
1
0.179775
false
0.044944
0.011236
0.011236
0.516854
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
c70ec682d6aaebef9b3aa7170d4a452c7cf29a8b
5,060
py
Python
Plugins/Aspose_Words_Java_for_Jython/asposewords/rendering_printing/RenderShapes.py
bzhang-dev/Aspose.Words-for-Java
24be731cc25c3e50ec371ded8d9208211f7d6d44
[ "MIT" ]
274
2016-04-07T08:43:18.000Z
2022-03-31T08:24:34.000Z
Plugins/Aspose_Words_Java_for_Jython/asposewords/rendering_printing/RenderShapes.py
bzhang-dev/Aspose.Words-for-Java
24be731cc25c3e50ec371ded8d9208211f7d6d44
[ "MIT" ]
44
2016-04-06T17:53:18.000Z
2022-03-28T17:54:41.000Z
Plugins/Aspose_Words_Java_for_Jython/asposewords/rendering_printing/RenderShapes.py
bzhang-dev/Aspose.Words-for-Java
24be731cc25c3e50ec371ded8d9208211f7d6d44
[ "MIT" ]
174
2016-04-07T08:43:22.000Z
2022-03-03T05:14:13.000Z
from asposewords import Settings from com.aspose.words import Document from com.aspose.words import ImageSaveOptions from com.aspose.words import SaveFormat from com.aspose.words import NodeType from com.aspose.words import ImageColorMode from javax.imageio import ImageIO from java.awt import * from java.awt.image imp...
40.806452
119
0.694862
622
5,060
5.580386
0.310289
0.020743
0.032844
0.025929
0.267934
0.104293
0.104293
0.081821
0.058773
0.058773
0
0.010783
0.230237
5,060
124
120
40.806452
0.880359
0.28913
0
0.136364
0
0
0.091214
0.02714
0
0
0
0
0
0
null
null
0
0.181818
null
null
0.075758
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
c71013a2e4717409db42c10df592ab22d6a39fac
371
py
Python
exo_sketchfab/badges/serializers.py
LeoChaz/exo_sketchfab_django
0d51f187e41b19a9dcba05dd389ea1a26786bc8e
[ "MIT" ]
null
null
null
exo_sketchfab/badges/serializers.py
LeoChaz/exo_sketchfab_django
0d51f187e41b19a9dcba05dd389ea1a26786bc8e
[ "MIT" ]
null
null
null
exo_sketchfab/badges/serializers.py
LeoChaz/exo_sketchfab_django
0d51f187e41b19a9dcba05dd389ea1a26786bc8e
[ "MIT" ]
null
null
null
__author__ = 'leomaltrait' from rest_framework import serializers from .models import Badges, BadgesExtended class BadgeListSerializer(serializers.HyperlinkedModelSerializer): name = serializers.CharField(source='badge.name') class Meta: model = BadgesExtended fields = [ ...
20.611111
66
0.625337
29
371
7.827586
0.724138
0
0
0
0
0
0
0
0
0
0
0
0.296496
371
17
67
21.823529
0.869732
0.013477
0
0
0
0
0.068493
0
0
0
0
0
0
1
0
false
0
0.2
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c71057e4b0cfbc5fd84a06f28cc012fb214df995
510
py
Python
eventhandler/migrations/0006_auto_20190516_1317.py
rualb/eventmanager
3615b6d0e6993be8ddcd6c57b13954a25c92e521
[ "MIT" ]
null
null
null
eventhandler/migrations/0006_auto_20190516_1317.py
rualb/eventmanager
3615b6d0e6993be8ddcd6c57b13954a25c92e521
[ "MIT" ]
null
null
null
eventhandler/migrations/0006_auto_20190516_1317.py
rualb/eventmanager
3615b6d0e6993be8ddcd6c57b13954a25c92e521
[ "MIT" ]
null
null
null
# Generated by Django 2.1.5 on 2019-05-16 09:17 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('eventhandler', '0005_auto_20190516_1243'), ] operations = [ migrations.AlterField( model_name='...
25.5
130
0.656863
58
510
5.655172
0.689655
0.073171
0.085366
0.134146
0
0
0
0
0
0
0
0.078481
0.22549
510
19
131
26.842105
0.751899
0.088235
0
0
1
0
0.170626
0.097192
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
c713d05cc0c699b908fb035f7e073fab002c201a
5,077
py
Python
Lib/test/test_strftime.py
1byte2bytes/cpython
7fbaeb819ca7b20dca048217ff585ec195e999ec
[ "Unlicense", "TCL", "DOC", "AAL", "X11" ]
1
2019-10-25T21:41:07.000Z
2019-10-25T21:41:07.000Z
Lib/test/test_strftime.py
1byte2bytes/cpython
7fbaeb819ca7b20dca048217ff585ec195e999ec
[ "Unlicense", "TCL", "DOC", "AAL", "X11" ]
null
null
null
Lib/test/test_strftime.py
1byte2bytes/cpython
7fbaeb819ca7b20dca048217ff585ec195e999ec
[ "Unlicense", "TCL", "DOC", "AAL", "X11" ]
null
null
null
#! /usr/bin/env python # Sanity checker for time.strftime import time, calendar, sys, string, os, re from test_support import verbose def main(): global verbose now = time.time() strftest(now) verbose = 0 # Try a bunch of dates and times, chosen to vary through time of # day and daylight sav...
37.607407
79
0.470553
683
5,077
3.486091
0.2694
0.032759
0.035279
0.01008
0.323394
0.265435
0.218816
0.179336
0.114238
0.114238
0
0.066744
0.321253
5,077
134
80
37.88806
0.624202
0.055742
0
0.174312
0
0
0.267085
0
0
0
0
0
0
0
null
null
0
0.018349
null
null
0.100917
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
c7222398061926e9e9d9bccee2ab613d715dac77
11,268
py
Python
scripts/core/utils/stats.py
SecureThemAll/SecureThemAll
60337dab9ace6153c108c9c7faa69a9f4cde152d
[ "MIT" ]
null
null
null
scripts/core/utils/stats.py
SecureThemAll/SecureThemAll
60337dab9ace6153c108c9c7faa69a9f4cde152d
[ "MIT" ]
null
null
null
scripts/core/utils/stats.py
SecureThemAll/SecureThemAll
60337dab9ace6153c108c9c7faa69a9f4cde152d
[ "MIT" ]
null
null
null
from pathlib import Path from core.utils.metrics import Metrics from core.utils.results.results import Results # Low bound constant c = 10 genprog_def_err = "cat: /etc/redhat-release: No such file or directory\n" def inv_eq(x: int, upper: int): return c ** (-x / upper) class Stats(Results): def __init__(s...
33.141176
120
0.595492
1,427
11,268
4.465312
0.110722
0.047709
0.026522
0.022599
0.423258
0.29049
0.235719
0.204331
0.159605
0.140458
0
0.011424
0.316383
11,268
339
121
33.238938
0.815786
0.038782
0
0.271186
0
0
0.037078
0
0
0
0
0.00295
0
1
0.15678
false
0.199153
0.012712
0.059322
0.444915
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
c7237e830c2472b4d9ab3ed977ed7fa0e936b4aa
382
py
Python
src/hotel/migrations/0007_rename_valor_reserva_valor_diaria.py
RicardoTaverna/sunset-hotelaria
2dd6f77b477e22d7cf31135bbf6d4e9d5153581d
[ "MIT" ]
null
null
null
src/hotel/migrations/0007_rename_valor_reserva_valor_diaria.py
RicardoTaverna/sunset-hotelaria
2dd6f77b477e22d7cf31135bbf6d4e9d5153581d
[ "MIT" ]
null
null
null
src/hotel/migrations/0007_rename_valor_reserva_valor_diaria.py
RicardoTaverna/sunset-hotelaria
2dd6f77b477e22d7cf31135bbf6d4e9d5153581d
[ "MIT" ]
null
null
null
# Generated by Django 3.2.8 on 2021-11-13 03:34 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('hotel', '0006_alter_produto_cliente_valor_total'), ] operations = [ migrations.RenameField( model_name='reserva', old_name='...
20.105263
60
0.604712
42
382
5.285714
0.809524
0.081081
0
0
0
0
0
0
0
0
0
0.069853
0.287958
382
18
61
21.222222
0.746324
0.117801
0
0
1
0
0.2
0.113433
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c7298b2490343656c92e47156f5147cc7f6d6d4f
267
py
Python
Intro-to-Portfolio-Risk-Management-in-Python/Skewness.py
RKiddle/python_finance
7c0ed2998c0f82a0998ba0cb06225453ba8ee3fe
[ "MIT" ]
1
2021-04-28T01:26:38.000Z
2021-04-28T01:26:38.000Z
Intro-to-Portfolio-Risk-Management-in-Python/Skewness.py
RKiddle/python_finance
7c0ed2998c0f82a0998ba0cb06225453ba8ee3fe
[ "MIT" ]
null
null
null
Intro-to-Portfolio-Risk-Management-in-Python/Skewness.py
RKiddle/python_finance
7c0ed2998c0f82a0998ba0cb06225453ba8ee3fe
[ "MIT" ]
null
null
null
# Import skew from scipy.stats from scipy.stats import skew # Drop the missing values clean_returns = StockPrices['Returns'].dropna() # Calculate the third moment (skewness) of the returns distribution returns_skewness = skew(clean_returns) print(returns_skewness)
26.7
67
0.801498
36
267
5.833333
0.555556
0.095238
0.133333
0
0
0
0
0
0
0
0
0
0.123596
267
9
68
29.666667
0.897436
0.441948
0
0
0
0
0.048276
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c730603b162bfe3556cc6d52adf37afdffa7e12e
3,838
py
Python
opentelemetry-api/tests/distributedcontext/test_distributed_context.py
Skeen/opentelemetry-python
ad7a809a6dda7fbf73d9f47a3ff2ed85752cd0af
[ "Apache-2.0" ]
1
2020-01-15T06:58:27.000Z
2020-01-15T06:58:27.000Z
opentelemetry-api/tests/distributedcontext/test_distributed_context.py
Skeen/opentelemetry-python
ad7a809a6dda7fbf73d9f47a3ff2ed85752cd0af
[ "Apache-2.0" ]
null
null
null
opentelemetry-api/tests/distributedcontext/test_distributed_context.py
Skeen/opentelemetry-python
ad7a809a6dda7fbf73d9f47a3ff2ed85752cd0af
[ "Apache-2.0" ]
null
null
null
# Copyright 2019, OpenTelemetry Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
33.964602
74
0.687858
396
3,838
6.527778
0.295455
0.040619
0.030174
0.037137
0.434043
0.379497
0.273888
0.208124
0.153965
0.113733
0
0.006376
0.223554
3,838
112
75
34.267857
0.861074
0.145649
0
0.293333
0
0
0.012557
0
0
0
0
0
0.2
1
0.226667
false
0
0.026667
0
0.32
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
c73455af38daa66282492e0b7c79af3e578df265
1,474
py
Python
begin/entitymanager.py
migdall/begin
f2c61c959645460a1c5bf79eefda552430aa0e0e
[ "MIT" ]
null
null
null
begin/entitymanager.py
migdall/begin
f2c61c959645460a1c5bf79eefda552430aa0e0e
[ "MIT" ]
null
null
null
begin/entitymanager.py
migdall/begin
f2c61c959645460a1c5bf79eefda552430aa0e0e
[ "MIT" ]
null
null
null
# Entity Manager, acts as the “database” where you can look up entities and get their list of components, entity management # Jesus Noland # 7/6/2015 # Last Updated: 8/1/2019 from .entity import Entity class EntityManager(): def __init__(self, ENTITY_MAX=100): self._entities = [] self._component...
34.27907
123
0.681818
162
1,474
6.006173
0.401235
0.129496
0.12333
0.135663
0.156218
0
0
0
0
0
0
0.015845
0.229308
1,474
42
124
35.095238
0.840669
0.15536
0
0
0
0
0
0
0
0
0
0
0
1
0.214286
false
0
0.035714
0.035714
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
c742f6f1ed9f5de4c95382ef1d6a8fd7cbf8bbc6
328
py
Python
pixels/migrations/0016_remove_image_comments.py
benjaminbills/pixelgram
15f438667c2cdc88ec16153bd598f4f0aa059369
[ "MIT" ]
null
null
null
pixels/migrations/0016_remove_image_comments.py
benjaminbills/pixelgram
15f438667c2cdc88ec16153bd598f4f0aa059369
[ "MIT" ]
null
null
null
pixels/migrations/0016_remove_image_comments.py
benjaminbills/pixelgram
15f438667c2cdc88ec16153bd598f4f0aa059369
[ "MIT" ]
null
null
null
# Generated by Django 3.2.3 on 2021-05-26 10:20 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('pixels', '0015_auto_20210526_0226'), ] operations = [ migrations.RemoveField( model_name='image', name='comments', )...
18.222222
47
0.591463
35
328
5.428571
0.828571
0
0
0
0
0
0
0
0
0
0
0.134199
0.295732
328
17
48
19.294118
0.688312
0.137195
0
0
1
0
0.149466
0.081851
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
c744c841592a6e16abc1fc596d5faf4ef21eec6a
624
py
Python
db/models/profile_type.py
matchd-ch/matchd-backend
84be4aab1b4708cae50a8988301b15df877c8db0
[ "Apache-2.0" ]
1
2022-03-03T09:55:57.000Z
2022-03-03T09:55:57.000Z
db/models/profile_type.py
matchd-ch/matchd-backend
84be4aab1b4708cae50a8988301b15df877c8db0
[ "Apache-2.0" ]
7
2022-02-09T10:44:53.000Z
2022-03-28T03:29:43.000Z
db/models/profile_type.py
matchd-ch/matchd-backend
84be4aab1b4708cae50a8988301b15df877c8db0
[ "Apache-2.0" ]
null
null
null
from django.db import models from django.utils.translation import gettext as _ class ProfileType(models.TextChoices): INTERNAL = 'internal', _('Internal') STUDENT = 'student', _('Student') COLLEGE_STUDENT = 'college-student', _('College Student') JUNIOR = 'junior', _('Junior') COMPANY = 'company',...
29.714286
61
0.676282
65
624
6.276923
0.384615
0.137255
0.154412
0.137255
0.120098
0
0
0
0
0
0
0
0.189103
624
20
62
31.2
0.806324
0
0
0.125
0
0
0.185897
0
0
0
0
0
0
1
0.125
false
0
0.125
0.125
0.875
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
c747a5f1346997b719e49fb63782ff10c40df296
3,249
py
Python
tools/vm-placement.py
kvshamray/terracota
8f6419693a2add12c0cd27005e6f58f8295ad7e6
[ "Apache-2.0" ]
1
2020-01-21T11:31:39.000Z
2020-01-21T11:31:39.000Z
tools/vm-placement.py
kvshamray/terracota
8f6419693a2add12c0cd27005e6f58f8295ad7e6
[ "Apache-2.0" ]
null
null
null
tools/vm-placement.py
kvshamray/terracota
8f6419693a2add12c0cd27005e6f58f8295ad7e6
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python2 # Copyright 2012 Anton Beloglazov # # 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 ...
34.2
78
0.627886
464
3,249
4.142241
0.340517
0.05411
0.026015
0.016649
0.066597
0.047867
0
0
0
0
0
0.014901
0.256387
3,249
94
79
34.56383
0.780629
0.175746
0
0
0
0.029851
0.102853
0.022147
0
0
0
0
0
0
null
null
0.014925
0.074627
null
null
0.044776
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
c749d15fe951751bea7ad41ee0542c2deb265373
3,360
py
Python
shc.py
dziedzic99/vlo-heatbed
1f26076dfb2ae579a59a79661b09c1931c023eb3
[ "MIT" ]
null
null
null
shc.py
dziedzic99/vlo-heatbed
1f26076dfb2ae579a59a79661b09c1931c023eb3
[ "MIT" ]
null
null
null
shc.py
dziedzic99/vlo-heatbed
1f26076dfb2ae579a59a79661b09c1931c023eb3
[ "MIT" ]
null
null
null
import Tkinter as tk import serial import threading from time import sleep current = -273.15 desired = -273.15 newdesired = -273.15 abort = False port = "/dev/ttyUSB0" isset = False def setter(): global isset isset = True root = tk.Tk() frame1 = tk.Frame(root) frame2 = tk.Frame(root) frame3 = tk.Frame(...
26.88
78
0.573512
405
3,360
4.735802
0.283951
0.034411
0.036496
0.050052
0.16684
0.156413
0.087591
0.087591
0.056309
0
0
0.031503
0.300893
3,360
124
79
27.096774
0.785015
0
0
0.25
0
0
0.047336
0
0
0
0
0
0
1
0.038462
false
0.057692
0.038462
0
0.076923
0.009615
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
c75674df80863475da3f9960ddcaccec02f47b5c
1,960
py
Python
tests/test_helpers/test_multiple_executor.py
ejfitzgerald/agents-aea
6411fcba8af2cdf55a3005939ae8129df92e8c3e
[ "Apache-2.0" ]
126
2019-09-07T09:32:44.000Z
2022-03-29T14:28:41.000Z
tests/test_helpers/test_multiple_executor.py
salman6049/agents-aea
d3f177a963eb855d9528555167255bf2b478f4ba
[ "Apache-2.0" ]
1,814
2019-08-24T10:08:07.000Z
2022-03-31T14:28:36.000Z
tests/test_helpers/test_multiple_executor.py
salman6049/agents-aea
d3f177a963eb855d9528555167255bf2b478f4ba
[ "Apache-2.0" ]
46
2019-09-03T22:13:58.000Z
2022-03-22T01:25:16.000Z
# -*- coding: utf-8 -*- # ------------------------------------------------------------------------------ # # Copyright 2018-2019 Fetch.AI Limited # # 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 ...
28.405797
80
0.631122
232
1,960
5.293103
0.478448
0.057003
0.057003
0.061889
0.199511
0.162052
0.138436
0.138436
0.104235
0.104235
0
0.008349
0.205612
1,960
68
81
28.823529
0.780347
0.543367
0
0.434783
0
0
0
0
0
0
0
0
0.217391
1
0.173913
false
0.130435
0.130435
0
0.347826
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
c75729dda34f44378f1f02da98c296ce6020d9b8
720
py
Python
weibo/login/WeiboSearch.py
haiboz/weiboSpider
517cae2ef3e7bccd9e1d328a40965406707f5362
[ "Apache-2.0" ]
null
null
null
weibo/login/WeiboSearch.py
haiboz/weiboSpider
517cae2ef3e7bccd9e1d328a40965406707f5362
[ "Apache-2.0" ]
null
null
null
weibo/login/WeiboSearch.py
haiboz/weiboSpider
517cae2ef3e7bccd9e1d328a40965406707f5362
[ "Apache-2.0" ]
null
null
null
#encoding:utf8 ''' Created on 2016年4月11日 @author: wb-zhaohaibo ''' import re import json def sServerData(serverData): "Search the server time & nonce from server data" p = re.compile('\((.*)\)') jsonData = p.search(serverData).group(1) data = json.loads(jsonData) serverTime = str(d...
25.714286
59
0.613889
82
720
5.390244
0.47561
0.045249
0.045249
0
0
0
0
0
0
0
0
0.017857
0.222222
720
28
60
25.714286
0.771429
0.018056
0
0
0
0
0.230032
0.033546
0
0
0
0
0
0
null
null
0
0.105263
null
null
0.157895
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
c75c0a4ad447621ee8d93aad8d1aafd6d4a5ddc2
2,002
py
Python
shelf/doccopy.py
MIT-Informatics/PreservationSimulation
38c6641a25108022ce8f225a352f566ad007b0f3
[ "X11" ]
9
2016-08-24T05:54:45.000Z
2020-11-12T16:44:48.000Z
shelf/doccopy.py
MIT-Informatics/PreservationSimulation
38c6641a25108022ce8f225a352f566ad007b0f3
[ "X11" ]
1
2021-03-20T02:55:37.000Z
2021-03-20T02:55:37.000Z
shelf/doccopy.py
MIT-Informatics/PreservationSimulation
38c6641a25108022ce8f225a352f566ad007b0f3
[ "X11" ]
null
null
null
#!/usr/bin/python # doccopy.py # NOTE: we have to call this file something other than copy.py because of the # standard library "copy" module. The classname, however, is okay. import simpy from NewTraceFac import NTRC, ntrace, ntracef import itertools from globaldata import G from math ...
26.693333
103
0.6004
233
2,002
5.141631
0.476395
0.041736
0.036728
0.046745
0.153589
0.048414
0
0
0
0
0
0.014835
0.259241
2,002
74
104
27.054054
0.792987
0.254246
0
0.25
0
0
0.012855
0
0
0
0
0
0
1
0.159091
false
0
0.204545
0.113636
0.545455
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
c75ee8228230d2232328ce71872fb3a9e0fe5e04
2,351
py
Python
assemblyline/assemblyline/al/service/run_service_live.py
dendisuhubdy/grokmachine
120a21a25c2730ed356739231ec8b99fc0575c8b
[ "BSD-3-Clause" ]
46
2017-05-15T11:15:08.000Z
2018-07-02T03:32:52.000Z
al/service/run_service_live.py
rtruxal/assemblyline
d1f02c9c7c8859d4c0b7ac231d91d544bb3a33eb
[ "MIT" ]
null
null
null
al/service/run_service_live.py
rtruxal/assemblyline
d1f02c9c7c8859d4c0b7ac231d91d544bb3a33eb
[ "MIT" ]
24
2017-05-17T03:26:17.000Z
2018-07-09T07:00:50.000Z
#!/usr/bin/env python # Run a standalone AL service. # # Usage: python ./run_service_live <servicename> import logging import sys import time from assemblyline.common.importing import class_by_name from assemblyline.al.common import forge, log from assemblyline.al.common.queue import CommsQueue from assemblyline.al....
27.658824
90
0.680987
300
2,351
5.116667
0.396667
0.062541
0.058632
0.062541
0.03127
0
0
0
0
0
0
0.007491
0.205019
2,351
84
91
27.988095
0.813804
0.062952
0
0.086207
0
0
0.120301
0.011278
0
0
0
0
0
0
null
null
0
0.155172
null
null
0.068966
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
c7617b44169cb5186dcee1c8346c9a2e5b482ea6
4,338
py
Python
python/SMLR.py
awangga/SOLR
0dcf2bcf75d305c9ff479b48139049de12c41e70
[ "MIT" ]
8
2017-12-30T21:13:32.000Z
2021-10-03T14:21:56.000Z
python/SMLR.py
awangga/SOLR
0dcf2bcf75d305c9ff479b48139049de12c41e70
[ "MIT" ]
2
2019-10-15T06:32:30.000Z
2019-10-15T06:46:18.000Z
python/SMLR.py
KamitaniLab/SOLR
cdd7a05547dc5d51ec5298338d44c0247e6984fe
[ "MIT" ]
6
2017-12-26T17:38:20.000Z
2021-08-05T04:19:51.000Z
""" SMLR (sparse multinomial logistic regression) """ import numpy import SMLRupdate from sklearn.base import BaseEstimator, ClassifierMixin class SMLR(BaseEstimator, ClassifierMixin): def __init__(self): print "SMLR (sparse multinomial logistic regression)" def fit(self,feature,label): ...
34.15748
116
0.58414
531
4,338
4.706215
0.284369
0.039616
0.030012
0.02561
0.315326
0.2497
0.2497
0.2497
0.238495
0.238495
0
0.016388
0.296681
4,338
126
117
34.428571
0.802688
0.189949
0
0.318841
0
0
0.030303
0
0
0
0
0
0
0
null
null
0
0.043478
null
null
0.028986
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
c76198c7e2a527743d8aee5e04237fbaa5713c81
281
py
Python
test_chain_util.py
pochangl/blockchain
48a14bf2612a5e4070a62eac6320a94df568dc06
[ "MIT" ]
null
null
null
test_chain_util.py
pochangl/blockchain
48a14bf2612a5e4070a62eac6320a94df568dc06
[ "MIT" ]
null
null
null
test_chain_util.py
pochangl/blockchain
48a14bf2612a5e4070a62eac6320a94df568dc06
[ "MIT" ]
null
null
null
import chain_util import json def test_hash_consistency(): data1 = {} data2 = {} data1['a'] = 1 data1['b'] = 2 data2['b'] = 2 data2['a'] = 1 assert json.dumps(data1) != json.dumps(data2) assert chain_util.hash(data1) == chain_util.hash(data1)
15.611111
59
0.590747
39
281
4.128205
0.410256
0.167702
0.086957
0.223602
0
0
0
0
0
0
0
0.066351
0.24911
281
17
60
16.529412
0.696682
0
0
0
0
0
0.014235
0
0
0
0
0
0.181818
1
0.090909
false
0
0.181818
0
0.272727
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
c763b8de45cf161ff338b229bd2496302f8971d3
520
py
Python
src/ml/training/tests/test_train.py
raywu60kg/mini-demand-side-platform
a9613c4cf955d72174d8c5d8638ddcd0365bfb68
[ "MIT" ]
null
null
null
src/ml/training/tests/test_train.py
raywu60kg/mini-demand-side-platform
a9613c4cf955d72174d8c5d8638ddcd0365bfb68
[ "MIT" ]
null
null
null
src/ml/training/tests/test_train.py
raywu60kg/mini-demand-side-platform
a9613c4cf955d72174d8c5d8638ddcd0365bfb68
[ "MIT" ]
null
null
null
from app.train import SklearnTrain from tests.test_data.test_data import test_formated_x, test_formated_y from unittest import TestCase class TestSklearnTrain(TestCase): skt = SklearnTrain( X_train=test_formated_x, y_train=test_formated_y, X_test=test_formated_x, y_test=test_forma...
27.368421
70
0.707692
72
520
4.791667
0.375
0.208696
0.113043
0.081159
0
0
0
0
0
0
0
0.002451
0.215385
520
18
71
28.888889
0.843137
0
0
0
0
0
0
0
0
0
0
0
0.071429
1
0.071429
false
0
0.214286
0
0.428571
0.071429
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
c763f51177689349b033fae98fa87a7a00d261c8
12,921
py
Python
test/test_controller_socket.py
andrewvaughan/rfid
ff6e78074a3030dbb43b40fa47198f28e38b6026
[ "Apache-2.0" ]
6
2017-12-06T21:36:05.000Z
2022-01-10T11:25:44.000Z
test/test_controller_socket.py
andrewvaughan/uhppote-rfid
ff6e78074a3030dbb43b40fa47198f28e38b6026
[ "Apache-2.0" ]
33
2017-09-16T19:01:47.000Z
2017-12-05T16:15:17.000Z
test/test_controller_socket.py
andrewvaughan/rfid
ff6e78074a3030dbb43b40fa47198f28e38b6026
[ "Apache-2.0" ]
3
2018-01-08T19:05:33.000Z
2020-09-24T12:58:04.000Z
#!/usr/bin/env python import mock import os import socket import threading import time import unittest from uhppote_rfid import ControllerSocket, SocketConnectionException, SocketTransmitException class TestControllerSocket(unittest.TestCase): """ Tests UHPPOTE socket transmission by emulating the control b...
32.3025
288
0.658308
1,397
12,921
5.911238
0.140301
0.056793
0.123517
0.133689
0.701259
0.636353
0.601477
0.542746
0.52652
0.403972
0
0.027581
0.236746
12,921
399
289
32.383459
0.809775
0.007043
0
0.366667
0
0.003704
0.074157
0.043245
0
0
0
0
0.240741
0
null
null
0.003704
0.025926
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
c76554164950214d2dc55ad7a8aaeb50e1237c4a
5,185
py
Python
python-plot-utils/psql_line_plotter.py
rirwin/sandbox
76b4d876c213dcad04de7084e78159c25209f060
[ "MIT" ]
null
null
null
python-plot-utils/psql_line_plotter.py
rirwin/sandbox
76b4d876c213dcad04de7084e78159c25209f060
[ "MIT" ]
null
null
null
python-plot-utils/psql_line_plotter.py
rirwin/sandbox
76b4d876c213dcad04de7084e78159c25209f060
[ "MIT" ]
null
null
null
import numpy as np from pylab import ylim import matplotlib.pyplot as plt import math import sys import time import ConfigParser from pprint import pprint as pprint opsmon_base = '/usr/local/ops-monitoring/' config_path = opsmon_base + 'config/' sys.path.append('/usr/local/ops-monitoring/common/') import table_manage...
28.027027
181
0.55892
649
5,185
4.241911
0.24037
0.03923
0.050854
0.045768
0.457319
0.434072
0.382492
0.382492
0.382492
0.382492
0
0.014438
0.332112
5,185
184
182
28.179348
0.780537
0.052073
0
0.414815
0
0
0.101833
0.012016
0
0
0
0
0
0
null
null
0
0.066667
null
null
0.051852
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
c767be55c0c6c23050616233e57e4c67e88cc973
2,320
py
Python
solarviewer/ui/data_tool.py
RobertJaro/qt-solar-viewer
dcecdc8040f457abf8d978a5ecbff61396358c32
[ "BSD-3-Clause" ]
6
2018-01-23T09:18:23.000Z
2019-09-04T20:48:01.000Z
solarviewer/ui/data_tool.py
RobertJaro/qt-solar-viewer
dcecdc8040f457abf8d978a5ecbff61396358c32
[ "BSD-3-Clause" ]
6
2018-01-28T13:17:27.000Z
2018-07-18T16:33:43.000Z
solarviewer/ui/data_tool.py
RobertJaro/qt-solar-viewer
dcecdc8040f457abf8d978a5ecbff61396358c32
[ "BSD-3-Clause" ]
1
2018-07-18T16:15:09.000Z
2018-07-18T16:15:09.000Z
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'data_tool.ui' # # Created by: PyQt5 UI code generator 5.10.1 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_DataTool(object): def setupUi(self, DataTool): DataTool.s...
44.615385
91
0.73319
237
2,320
7.097046
0.375527
0.074911
0.041617
0.048157
0.035672
0
0
0
0
0
0
0.01298
0.169828
2,320
51
92
45.490196
0.860332
0.078879
0
0
1
0
0.042254
0
0
0
0
0
0
1
0.051282
false
0
0.051282
0
0.128205
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
c7680b9d2ccba0b516e79b29e3e30a0ea8c33c75
3,924
py
Python
assignment1/cs231n/classifiers/softmax.py
hudalao/Implementation_deep_learning_base_Stanford_CS231n
d2999e2dd42d10f015b6d8337847c22441c9cec0
[ "MIT" ]
null
null
null
assignment1/cs231n/classifiers/softmax.py
hudalao/Implementation_deep_learning_base_Stanford_CS231n
d2999e2dd42d10f015b6d8337847c22441c9cec0
[ "MIT" ]
null
null
null
assignment1/cs231n/classifiers/softmax.py
hudalao/Implementation_deep_learning_base_Stanford_CS231n
d2999e2dd42d10f015b6d8337847c22441c9cec0
[ "MIT" ]
null
null
null
import numpy as np from random import shuffle def softmax_loss_naive(W, X, y, reg): """ Softmax loss function, naive implementation (with loops) Inputs have dimension D, there are C classes, and we operate on minibatches of N examples. Inputs: - W: A numpy array of shape (D, C) containing weights. - X:...
40.875
92
0.484964
520
3,924
3.576923
0.253846
0.030108
0.047312
0.026882
0.473656
0.459677
0.406452
0.346237
0.319355
0.272043
0
0.007802
0.248726
3,924
95
93
41.305263
0.623134
0.480377
0
0.432432
0
0
0
0
0
0
0
0.021053
0
1
0.054054
false
0
0.054054
0
0.162162
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
c7693c47b40cd7011390a8c19860d99b3e4b7d6d
6,807
py
Python
letsmeet/communities/views.py
letsmeet-click/letsmeet.click
e9332fd37b0f9c289453828dcecb12b4203dc439
[ "MIT" ]
15
2015-12-20T20:29:29.000Z
2020-01-21T11:49:14.000Z
letsmeet/communities/views.py
letsmeet-click/letsmeet.click
e9332fd37b0f9c289453828dcecb12b4203dc439
[ "MIT" ]
61
2015-12-29T10:23:56.000Z
2018-06-03T19:58:30.000Z
letsmeet/communities/views.py
letsmeet-click/letsmeet.click
e9332fd37b0f9c289453828dcecb12b4203dc439
[ "MIT" ]
9
2015-12-27T14:48:19.000Z
2017-10-07T13:40:20.000Z
import rules from rules.contrib.views import PermissionRequiredMixin from django.contrib.auth.mixins import LoginRequiredMixin from django.contrib import messages from django.db import transaction from django.http import Http404 from django.shortcuts import redirect, get_object_or_404 from django.views.generic.base im...
36.596774
108
0.690172
705
6,807
6.534752
0.202837
0.023877
0.02583
0.03473
0.381593
0.349034
0.288691
0.270458
0.199696
0.199696
0
0.002255
0.218158
6,807
185
109
36.794595
0.863397
0
0
0.321918
0
0
0.114882
0.040987
0
0
0
0
0
1
0.089041
false
0
0.09589
0.020548
0.541096
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
c776cc1a9abe040699b1fd8b7d898dd334fd7595
1,867
py
Python
uncertaintorch/models/unet_tools.py
jcreinhold/uncertaintorch
0cdc9f25fefad938c9f0bd3a6b40dfaa362dfca5
[ "Apache-2.0" ]
1
2021-03-21T23:13:45.000Z
2021-03-21T23:13:45.000Z
uncertaintorch/models/unet_tools.py
jcreinhold/uncertaintorch
0cdc9f25fefad938c9f0bd3a6b40dfaa362dfca5
[ "Apache-2.0" ]
null
null
null
uncertaintorch/models/unet_tools.py
jcreinhold/uncertaintorch
0cdc9f25fefad938c9f0bd3a6b40dfaa362dfca5
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ unet_tools miscellaneous functions for unet definitions Author: Jacob Reinhold (jacob.reinhold@jhu.edu) Created on: December 31, 2019 """ __all__ = ['conv','conv2d','unet_block','unet_block2d','unet_list','unet_up'] from functools import partial import numpy as np...
29.634921
105
0.650777
343
1,867
3.498542
0.265306
0.013333
0.065
0.053333
0.471667
0.471667
0.423333
0.361667
0.32
0.241667
0
0.042199
0.162292
1,867
62
106
30.112903
0.725064
0.095876
0
0.176471
0
0
0.028588
0
0
0
0
0
0
1
0.176471
false
0
0.205882
0.058824
0.558824
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
c7792a16619a6f00dfa0a2a76b27b3f8072ee873
486
py
Python
feder/monitorings/migrations/0006_monitoring_subject.py
dzemeuksis/feder
32ef7793af6256d4ecada61505c7baf334b34419
[ "MIT" ]
16
2015-08-11T17:20:26.000Z
2022-02-11T20:15:41.000Z
feder/monitorings/migrations/0006_monitoring_subject.py
dzemeuksis/feder
32ef7793af6256d4ecada61505c7baf334b34419
[ "MIT" ]
534
2015-08-04T00:10:54.000Z
2022-03-17T10:44:47.000Z
feder/monitorings/migrations/0006_monitoring_subject.py
dzemeuksis/feder
32ef7793af6256d4ecada61505c7baf334b34419
[ "MIT" ]
10
2017-08-30T13:34:32.000Z
2022-02-18T13:00:35.000Z
# Generated by Django 1.10.1 on 2016-09-17 13:47 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [("monitorings", "0005_auto_20160914_2201")] operations = [ migrations.AddField( model_name="monitoring", name="subject", ...
25.578947
72
0.602881
50
486
5.72
0.8
0.076923
0
0
0
0
0
0
0
0
0
0.098551
0.290123
486
18
73
27
0.730435
0.09465
0
0
1
0
0.148402
0.052511
0
0
0
0
0
1
0
false
0
0.076923
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c779dce05e489be9254d0eca0f73ce48dcb13132
1,068
py
Python
tributary/streaming/output/postgres.py
ceball/tributary
5e30f90d1a5cc176c0f231f525d9dc5a81353925
[ "Apache-2.0" ]
null
null
null
tributary/streaming/output/postgres.py
ceball/tributary
5e30f90d1a5cc176c0f231f525d9dc5a81353925
[ "Apache-2.0" ]
null
null
null
tributary/streaming/output/postgres.py
ceball/tributary
5e30f90d1a5cc176c0f231f525d9dc5a81353925
[ "Apache-2.0" ]
null
null
null
import asyncpg from ..node import Node def Postgres(node, user, password, database, host, query_parser): '''Connects to Postgres and executes queries Args: user (str): postgres user password (str): postgres password database (str): postgres database host (s...
33.375
69
0.533708
111
1,068
5.072072
0.396396
0.097691
0.053286
0.085258
0.170515
0.170515
0.170515
0.170515
0
0
0
0.004505
0.376404
1,068
31
70
34.451613
0.840841
0.229401
0
0
0
0
0.018325
0
0
0
0
0
0
1
0.055556
false
0.166667
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
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
c77b1b96bbdc52110041d15dfb6ccd25d6ab5a2d
1,585
py
Python
src/main.py
oskarszubert/trend_twitter_analysis
e3add4db79187b708c1f0579c03a30cfb3a5f3db
[ "MIT" ]
null
null
null
src/main.py
oskarszubert/trend_twitter_analysis
e3add4db79187b708c1f0579c03a30cfb3a5f3db
[ "MIT" ]
null
null
null
src/main.py
oskarszubert/trend_twitter_analysis
e3add4db79187b708c1f0579c03a30cfb3a5f3db
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from OfflineMenu import * if __name__ == '__main__': os.system('cls' if os.name == 'nt' else 'clear') try: input_method = int(input('------------Run tool: \ \n\t[ 1 ] Predict Tweets and create Raport.\ \n\t[ 2 ] ...
36.022727
74
0.461199
173
1,585
3.99422
0.416185
0.15919
0.173661
0.172214
0
0
0
0
0
0
0
0.022901
0.421451
1,585
43
75
36.860465
0.730643
0.013249
0
0
0
0
0.030941
0
0
0
0
0
0
1
0
false
0
0.025
0
0.025
0.025
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
c7851890c9dc03d4c83721743c951f9d42a011bc
811
py
Python
check_stock_method/dummy.py
kiotex/Web_scraping
3aeab04115931d05540f80b221a2c4ec69ca0b03
[ "MIT" ]
null
null
null
check_stock_method/dummy.py
kiotex/Web_scraping
3aeab04115931d05540f80b221a2c4ec69ca0b03
[ "MIT" ]
5
2021-04-18T07:59:49.000Z
2021-04-18T08:07:21.000Z
check_stock_method/dummy.py
kiotex/Web_scraping_E_commerce
3aeab04115931d05540f80b221a2c4ec69ca0b03
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import re import random import datetime from core.requests_interface import Request_Interface class Dummy(Request_Interface): base_url = "example.com" site = "ダミー通販サイト" def __init__(self, url, notify=True, notify_method=None): super().__init__(url, no...
23.171429
74
0.602959
98
811
4.806122
0.602041
0.044586
0.067941
0
0
0
0
0
0
0
0
0.019802
0.252774
811
34
75
23.852941
0.757426
0.165228
0
0
0
0
0.068362
0.038156
0
0
0
0
0
1
0.125
false
0
0.25
0
0.5625
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c7858a44f88ee9f0de90c79573b0a742f7ebc369
12,431
py
Python
fanficfare/adapters/adapter_buffynfaithnet.py
davidferguson/FanFicUpload
dcc3010b9c35c6d0e479cfc2aa07d951d280d9b2
[ "Apache-2.0" ]
1
2019-06-13T11:20:33.000Z
2019-06-13T11:20:33.000Z
fanficfare/adapters/adapter_buffynfaithnet.py
davidferguson/FanFicUpload
dcc3010b9c35c6d0e479cfc2aa07d951d280d9b2
[ "Apache-2.0" ]
null
null
null
fanficfare/adapters/adapter_buffynfaithnet.py
davidferguson/FanFicUpload
dcc3010b9c35c6d0e479cfc2aa07d951d280d9b2
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2013 Fanficdownloader team, 2015 FanFicFare team # # 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 # # Un...
42.426621
228
0.575899
1,527
12,431
4.665357
0.309103
0.035373
0.042111
0.030882
0.177428
0.154267
0.136159
0.104576
0.078186
0.065132
0
0.012123
0.303274
12,431
292
229
42.571918
0.810299
0.275199
0
0.117647
0
0.011765
0.14811
0.031097
0
0
0
0
0
0
null
null
0.005882
0.047059
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
c78597b8a1fc28b057659d71cd3fc0814b4fd545
3,514
py
Python
skills_ml/datasets/job_titles/onet.py
bhagyaramgpo/skills-ml
be520fc2a2f88bff756d25e57c3378a465a1dcb2
[ "MIT" ]
147
2016-12-05T19:45:05.000Z
2022-02-17T03:03:28.000Z
skills_ml/datasets/job_titles/onet.py
bhagyaramgpo/skills-ml
be520fc2a2f88bff756d25e57c3378a465a1dcb2
[ "MIT" ]
390
2016-12-02T03:11:13.000Z
2022-03-28T22:08:20.000Z
skills_ml/datasets/job_titles/onet.py
bhagyaramgpo/skills-ml
be520fc2a2f88bff756d25e57c3378a465a1dcb2
[ "MIT" ]
66
2017-12-14T16:33:24.000Z
2022-02-17T03:03:31.000Z
"""Process ONET job titles into a common format""" import pandas as pd from skills_ml.algorithms.nlp import transforms, lowercase_strip_punc class Onet_Title(object): """An object representing job title data from different ONET files Originally written by Kwame Porter Robinson """ def __init__(self,...
37.382979
79
0.581389
384
3,514
5.15625
0.278646
0.022727
0.017677
0.027778
0.189394
0.133333
0.133333
0.133333
0.10202
0.040404
0
0.000419
0.320148
3,514
93
80
37.784946
0.82838
0.202618
0
0
0
0
0.122726
0
0
0
0
0.010753
0
1
0.075472
false
0
0.037736
0
0.169811
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
c785f7b2e0cd80943e6fe1c3359751b9c4e28f0b
938
py
Python
tests/run/property_decorator_T593.py
c-blake/cython
2b3f99e6a28d8d4ac2035b07bf5a750eb161e7ae
[ "Apache-2.0" ]
null
null
null
tests/run/property_decorator_T593.py
c-blake/cython
2b3f99e6a28d8d4ac2035b07bf5a750eb161e7ae
[ "Apache-2.0" ]
null
null
null
tests/run/property_decorator_T593.py
c-blake/cython
2b3f99e6a28d8d4ac2035b07bf5a750eb161e7ae
[ "Apache-2.0" ]
null
null
null
# mode: run # ticket: 593 # tag: property, decorator my_property = property class Prop(object): """ >>> p = Prop() >>> p.prop GETTING 'None' >>> p.prop = 1 SETTING '1' (previously: 'None') >>> p.prop GETTING '1' 1 >>> p.prop = 2 SETTING '2' (previously: '1') >>> p.prop ...
18.76
71
0.527719
113
938
4.265487
0.256637
0.072614
0.074689
0.06639
0
0
0
0
0
0
0
0.029457
0.312367
938
49
72
19.142857
0.717829
0.33049
0
0.105263
0
0
0.160517
0
0
0
0
0
0
1
0.210526
false
0
0
0
0.421053
0.210526
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
c78f860d29c73ba403dbd65b8e0b4da79f5d7bce
246
py
Python
nose/tests.py
ouinformatics/queue
eff1c31b420902ac36b437ba60176374ac072b63
[ "MIT" ]
null
null
null
nose/tests.py
ouinformatics/queue
eff1c31b420902ac36b437ba60176374ac072b63
[ "MIT" ]
null
null
null
nose/tests.py
ouinformatics/queue
eff1c31b420902ac36b437ba60176374ac072b63
[ "MIT" ]
null
null
null
from queue_status import Root() import re q = Root() def test_run(): task_id = q.run('tasks.add','1','2') reuuid = re.compile(r'[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9af]{4}-[0-9a-f]{12}') assert len(reuuid.findall(task_id)) == 1
22.363636
87
0.581301
50
246
2.78
0.58
0.086331
0.115108
0.071942
0.079137
0
0
0
0
0
0
0.090476
0.146341
246
10
88
24.6
0.571429
0
0
0
0
0.142857
0.285714
0.240816
0
0
0
0
0.142857
0
null
null
0
0.285714
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
c7914d864991b33d666ae57f665046d161e85d04
586
py
Python
river/compose/__init__.py
mathco-wf/river
c6ff38fa4ce4843ede1cba77248e0370a67a36f6
[ "BSD-3-Clause" ]
4
2019-04-09T16:51:08.000Z
2021-07-26T15:43:30.000Z
river/compose/__init__.py
mathco-wf/river
c6ff38fa4ce4843ede1cba77248e0370a67a36f6
[ "BSD-3-Clause" ]
null
null
null
river/compose/__init__.py
mathco-wf/river
c6ff38fa4ce4843ede1cba77248e0370a67a36f6
[ "BSD-3-Clause" ]
1
2021-10-19T03:16:07.000Z
2021-10-19T03:16:07.000Z
"""Model composition. This module contains utilities for merging multiple modeling steps into a single pipeline. Although pipelines are not the only way to process a stream of data, we highly encourage you to use them. """ from .func import FuncTransformer from .grouper import Grouper from .pipeline import Pipeline f...
24.416667
99
0.737201
70
586
6.114286
0.657143
0.074766
0
0
0
0
0
0
0
0
0
0
0.186007
586
23
100
25.478261
0.897275
0.368601
0
0
0
0
0.209945
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
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
c791cb2e3e1a4b1a898e2dc3a8deff1b1a2e0dfe
10,878
py
Python
src/robot/parsing/model/statements.py
Global19/robotframework
c908c15951bf6fcb193828d8b93e0f5bd42382d4
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/robot/parsing/model/statements.py
Global19/robotframework
c908c15951bf6fcb193828d8b93e0f5bd42382d4
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/robot/parsing/model/statements.py
Global19/robotframework
c908c15951bf6fcb193828d8b93e0f5bd42382d4
[ "ECL-2.0", "Apache-2.0" ]
1
2020-11-23T03:44:31.000Z
2020-11-23T03:44:31.000Z
# Copyright 2008-2015 Nokia Networks # Copyright 2016- Robot Framework Foundation # # 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 ...
22.382716
78
0.661519
1,324
10,878
5.336103
0.156344
0.052229
0.115216
0.052937
0.311819
0.276858
0.255343
0.228025
0.194197
0.19264
0
0.004369
0.242508
10,878
485
79
22.428866
0.853034
0.094135
0
0.402516
0
0
0.009621
0
0
0
0
0
0
1
0.157233
false
0
0.022013
0.09434
0.616352
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
c799e7f6490ceeeb374d1fc3a04e12df0c99c7ea
1,390
py
Python
CreatePR.py
judysu1983/PythonMBSi
9481bf1409a888c3f8511bcd05718ea81a063fa1
[ "bzip2-1.0.6" ]
null
null
null
CreatePR.py
judysu1983/PythonMBSi
9481bf1409a888c3f8511bcd05718ea81a063fa1
[ "bzip2-1.0.6" ]
null
null
null
CreatePR.py
judysu1983/PythonMBSi
9481bf1409a888c3f8511bcd05718ea81a063fa1
[ "bzip2-1.0.6" ]
null
null
null
from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.webdriver.support.ui import WebDriverWait browser = webdriver.Firefox() browser.get('https://msdyneng.visualstudio.com/PowerApps%20Runtime/_git/PowerApps-Runtime-Metadata') # wait until sign in and the page loaded brows...
36.578947
105
0.78777
206
1,390
5.121359
0.461165
0.093839
0.153555
0.170616
0.295735
0.25782
0.140284
0.073934
0
0
0
0.010269
0.089209
1,390
37
106
37.567568
0.823065
0.158273
0
0
0
0.052632
0.373665
0.19395
0
0
0
0
0
1
0
false
0
0.157895
0
0.157895
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
c7a16288b36b92958493b5d2d41514fb5cea2dd5
371
py
Python
permutation.py
selfmodify/mushroom
da4b4cd1d9362f67b90a8944fd1abb9a7a882814
[ "MIT" ]
null
null
null
permutation.py
selfmodify/mushroom
da4b4cd1d9362f67b90a8944fd1abb9a7a882814
[ "MIT" ]
null
null
null
permutation.py
selfmodify/mushroom
da4b4cd1d9362f67b90a8944fd1abb9a7a882814
[ "MIT" ]
null
null
null
# Permutation def permutation_rec(a): if len(a) == 0: return [] if len(a) == 1: return [a] l = [] for i in range(len(a)): x = a[:i] + a[i+1:] for j in permutation_rec(x): str2 = a[i] + j l.append(str2) return l count = 0 for r in permutati...
16.130435
36
0.469003
57
371
3
0.385965
0.245614
0.070175
0
0
0
0
0
0
0
0
0.030435
0.380054
371
22
37
16.863636
0.713043
0.02965
0
0
0
0
0.011173
0
0
0
0
0
0
1
0.0625
false
0
0
0
0.25
0.0625
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
c7a18b85ea59f8ca636864c46a0930e93e3c2185
924
py
Python
apps/companies/models/companies.py
vinsmokemau/FlinkBackend
86ed9dd11a4fe5a5fadfab3971ffffd62d91ea69
[ "MIT" ]
null
null
null
apps/companies/models/companies.py
vinsmokemau/FlinkBackend
86ed9dd11a4fe5a5fadfab3971ffffd62d91ea69
[ "MIT" ]
2
2022-01-31T04:52:48.000Z
2022-02-01T07:07:34.000Z
apps/companies/models/companies.py
vinsmokemau/FlinkBackend
86ed9dd11a4fe5a5fadfab3971ffffd62d91ea69
[ "MIT" ]
null
null
null
"""Company model.""" # Django from django.db import models from django.contrib.postgres.fields import ArrayField # Utilities import uuid from apps.utils.models import BaseModel class Company(BaseModel): """Company model: A company is our entity of the NYSE companies. To create a new company the symbol n...
24.315789
75
0.6829
116
924
5.310345
0.594828
0.073052
0.087662
0.116883
0
0
0
0
0
0
0
0.015493
0.231602
924
37
76
24.972973
0.852113
0.179654
0
0
0
0
0.021828
0
0
0
0
0
0
1
0.043478
false
0
0.173913
0.043478
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
c7a1a08a55bb258ada1bd8cd0cff0bcc6b95fa0e
538
py
Python
course/migrations/0002_episodecomment_episode.py
CengineLab/cenginelab
83fa9fb9ab8a76b03778ac17d73aa6c00a7bf978
[ "MIT" ]
1
2020-10-10T09:05:19.000Z
2020-10-10T09:05:19.000Z
course/migrations/0002_episodecomment_episode.py
Koffi-Cobbin/cenginelab
29d32c15541b36910fad8154b50f67afb8810ab6
[ "MIT" ]
6
2021-04-08T20:09:57.000Z
2022-03-12T00:49:24.000Z
course/migrations/0002_episodecomment_episode.py
Joetib/cenginelab
30fade3ca3d9e42923ba8098bc09c153be6b411d
[ "MIT" ]
3
2020-10-07T20:19:52.000Z
2020-11-09T14:42:55.000Z
# Generated by Django 3.1.2 on 2020-10-09 13:36 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('course', '0001_initial'), ] operations = [ migrations.AddField( model_name='episodecomment', ...
25.619048
138
0.641264
60
538
5.666667
0.666667
0.070588
0.082353
0.129412
0
0
0
0
0
0
0
0.0489
0.239777
538
20
139
26.9
0.782396
0.083643
0
0
1
0
0.124236
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.357143
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
c7a296f75c7c1adbfd4aa4971831013f8ef1d32e
2,503
py
Python
args.py
Jihackstory/voice_activity_detection
fdc72ca6838227c1ed7894628aea2fa58ee14a24
[ "MIT" ]
null
null
null
args.py
Jihackstory/voice_activity_detection
fdc72ca6838227c1ed7894628aea2fa58ee14a24
[ "MIT" ]
null
null
null
args.py
Jihackstory/voice_activity_detection
fdc72ca6838227c1ed7894628aea2fa58ee14a24
[ "MIT" ]
null
null
null
import argparse parser = argparse.ArgumentParser(description='Voice Activity Detection (VAD) using pytorch') # mode to run the program parser.add_argument('--mode', default='prediction', type=str, choices=['creating_data', 'training', 'prediction']) # a set of dataset paths parser.add_argument('--training-speech-di...
71.514286
140
0.7499
377
2,503
4.899204
0.291777
0.097455
0.184082
0.046021
0.441256
0.31294
0.268544
0.234976
0.234976
0.129399
0
0.017606
0.092289
2,503
35
141
71.514286
0.795335
0.064323
0
0
0
0
0.483526
0.029525
0
0
0
0
0
1
0
false
0
0.045455
0
0.045455
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
c7a4f74e93443c8dfeaefa58ed7dcb47e3e18267
2,989
py
Python
Face Cluster/Project/face_cluster.py
adius0711/CVIP
c8fe00c607cd69260ec48eeeb7baee6ef28cd898
[ "Apache-2.0" ]
null
null
null
Face Cluster/Project/face_cluster.py
adius0711/CVIP
c8fe00c607cd69260ec48eeeb7baee6ef28cd898
[ "Apache-2.0" ]
null
null
null
Face Cluster/Project/face_cluster.py
adius0711/CVIP
c8fe00c607cd69260ec48eeeb7baee6ef28cd898
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """face_cluster.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1M10T304NmhDr8LL602Fbep8_BHMVSOJb %%<br> -*- coding: utf-8 -*- FaceCluster.ipynb<br> Automatically generated by Colaboratory.<br> Original file is located at...
28.466667
107
0.697558
412
2,989
4.929612
0.364078
0.023634
0.047267
0.035451
0.115214
0.062038
0
0
0
0
0
0.021345
0.169287
2,989
104
108
28.740385
0.796617
0.225159
0
0
1
0
0.067826
0
0
0
0
0
0
1
0
false
0
0.126984
0
0.126984
0.063492
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
c7ad211b5ec3c50c5f6c83107ed932338e24f788
1,660
py
Python
src/alfred3/messages.py
mate-code/alfred
e687e9318ecefe3a49565027841ca8d910647978
[ "MIT" ]
9
2020-05-11T08:13:12.000Z
2022-01-20T11:35:14.000Z
src/alfred3/messages.py
mate-code/alfred
e687e9318ecefe3a49565027841ca8d910647978
[ "MIT" ]
77
2019-02-22T07:34:58.000Z
2022-02-23T15:32:34.000Z
src/alfred3/messages.py
mate-code/alfred
e687e9318ecefe3a49565027841ca8d910647978
[ "MIT" ]
6
2020-11-11T16:51:04.000Z
2022-02-21T10:29:02.000Z
from builtins import object import threading import cmarkgfm import queue from emoji import emojize from cmarkgfm.cmark import Options as cmarkgfmOptions class MessageManager: """ Args: default_level: Sets the default message level for this message manager. Levels can be 'debug', 'info', 'w...
27.213115
105
0.625904
194
1,660
5.123711
0.365979
0.06338
0.04829
0.034205
0.215292
0.16499
0.16499
0.16499
0.16499
0.16499
0
0
0.277711
1,660
60
106
27.666667
0.829024
0.122892
0
0.162791
0
0
0.002801
0
0
0
0
0
0
1
0.209302
false
0
0.139535
0.046512
0.488372
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
c7b05ffcdf1e7e6c407776988dca06881e94f99c
2,352
py
Python
master/searx-master/searx/engines/mediawiki.py
AlexRogalskiy/DevArtifacts
931aabb8cbf27656151c54856eb2ea7d1153203a
[ "MIT" ]
4
2018-09-07T15:35:24.000Z
2019-03-27T09:48:12.000Z
master/searx-master/searx/engines/mediawiki.py
AlexRogalskiy/DevArtifacts
931aabb8cbf27656151c54856eb2ea7d1153203a
[ "MIT" ]
371
2020-03-04T21:51:56.000Z
2022-03-31T20:59:11.000Z
master/searx-master/searx/engines/mediawiki.py
AlexRogalskiy/DevArtifacts
931aabb8cbf27656151c54856eb2ea7d1153203a
[ "MIT" ]
3
2019-06-18T19:57:17.000Z
2020-11-06T03:55:08.000Z
""" general mediawiki-engine (Web) @website websites built on mediawiki (https://www.mediawiki.org) @provide-api yes (http://www.mediawiki.org/wiki/API:Search) @using-api yes @results JSON @stable yes @parse url, title @todo content """ from json import loads from string import F...
26.727273
95
0.618622
269
2,352
5.301115
0.394052
0.019635
0.031557
0.02244
0
0
0
0
0
0
0
0.002786
0.23682
2,352
87
96
27.034483
0.791643
0.264031
0
0
0
0
0.170088
0.012903
0
0
0
0.011494
0
1
0.045455
false
0
0.068182
0
0.181818
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
c7b0f1019e5d9f1749e70efc06c9ef5f4311e85b
1,639
py
Python
examples/circuit.py
brsynth/pySBOL3
5ae15b4f171991b3cd216b7548ffde7902f41c12
[ "MIT" ]
14
2020-09-14T20:28:08.000Z
2022-01-23T13:04:31.000Z
examples/circuit.py
brsynth/pySBOL3
5ae15b4f171991b3cd216b7548ffde7902f41c12
[ "MIT" ]
203
2020-05-13T16:15:21.000Z
2022-03-24T17:40:09.000Z
examples/circuit.py
brsynth/pySBOL3
5ae15b4f171991b3cd216b7548ffde7902f41c12
[ "MIT" ]
8
2020-07-29T16:37:19.000Z
2022-03-23T12:22:55.000Z
import sbol3 # This example encodes a circuit depicted at # https://github.com/BuildACell/BioCRNPyler/blob/master/README.md sbol3.set_namespace('https://github.com/BuildACell/BioCRNPyler') # Ptet promoter ptet = sbol3.Component('pTetR', sbol3.SBO_DNA) ptet.roles = [sbol3.SO_PROMOTER] ptet.name = 'pTetR' ptet.descrip...
29.8
78
0.744966
236
1,639
5.04661
0.322034
0.035264
0.04618
0.060453
0.142737
0.057095
0
0
0
0
0
0.03554
0.124466
1,639
54
79
30.351852
0.794425
0.185479
0
0
0
0
0.126038
0
0
0
0
0.018519
0
1
0
false
0
0.028571
0
0.028571
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
c7b5710b8bf4dc17ea3014dec6b97363f737fe8f
1,758
py
Python
fastapi/src/routers/sessions.py
smilix/cooking
6ecb4d547e0c7e9996607290f51de8356af6c420
[ "MIT" ]
null
null
null
fastapi/src/routers/sessions.py
smilix/cooking
6ecb4d547e0c7e9996607290f51de8356af6c420
[ "MIT" ]
null
null
null
fastapi/src/routers/sessions.py
smilix/cooking
6ecb4d547e0c7e9996607290f51de8356af6c420
[ "MIT" ]
null
null
null
import secrets from fastapi import APIRouter from fastapi import Depends, HTTPException from pydantic import BaseModel from sqlalchemy.orm import Session from starlette import status from starlette.responses import JSONResponse import crud from internals import deps from internals.config import settings router = API...
31.963636
116
0.729807
211
1,758
5.867299
0.398104
0.053312
0.048465
0.054927
0.298869
0.298869
0.117932
0.117932
0.117932
0.117932
0
0.006207
0.175199
1,758
54
117
32.555556
0.847586
0
0
0.095238
0
0
0.05802
0
0
0
0
0
0
1
0
false
0.071429
0.238095
0
0.357143
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
c7b8c184e688f795dddb07560e367d4b978eb750
6,144
py
Python
core/gdrn_modeling/models/heads/conv_pnp_net_no_region.py
THU-DA-6D-Pose-Group/self6dpp
c267cfa55e440e212136a5e9940598720fa21d16
[ "Apache-2.0" ]
33
2021-12-15T07:11:47.000Z
2022-03-29T08:58:32.000Z
core/self6dpp/models/heads/conv_pnp_net_no_region.py
THU-DA-6D-Pose-Group/self6dpp
c267cfa55e440e212136a5e9940598720fa21d16
[ "Apache-2.0" ]
3
2021-12-15T11:39:54.000Z
2022-03-29T07:24:23.000Z
core/self6dpp/models/heads/conv_pnp_net_no_region.py
THU-DA-6D-Pose-Group/self6dpp
c267cfa55e440e212136a5e9940598720fa21d16
[ "Apache-2.0" ]
null
null
null
import torch from torch import nn from torch.nn.modules.batchnorm import _BatchNorm from mmcv.cnn import normal_init, constant_init from lib.torch_utils.layers.layer_utils import get_norm, get_nn_act_func from lib.torch_utils.layers.dropblock import DropBlock2D, LinearScheduler class ConvPnPNetNoRegion(nn.Module): ...
35.108571
100
0.527995
759
6,144
4.046113
0.230567
0.033865
0.050798
0.034191
0.286226
0.21296
0.121784
0.121784
0.121784
0.100293
0
0.033139
0.356608
6,144
174
101
35.310345
0.743739
0.135579
0
0.174242
0
0
0.034569
0.005021
0
0
0
0.011494
0.007576
1
0.015152
false
0
0.045455
0
0.075758
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
c7c1351f79d0951b8699b4b4356c4257a92044f9
3,068
py
Python
src/apps/trainings/viewsets/network.py
petgo3/katago-server
c661ceb597eeaba5a78e9fceaec4b3c7728b03d9
[ "MIT" ]
null
null
null
src/apps/trainings/viewsets/network.py
petgo3/katago-server
c661ceb597eeaba5a78e9fceaec4b3c7728b03d9
[ "MIT" ]
null
null
null
src/apps/trainings/viewsets/network.py
petgo3/katago-server
c661ceb597eeaba5a78e9fceaec4b3c7728b03d9
[ "MIT" ]
null
null
null
from django_filters import rest_framework as filters from rest_framework import viewsets from rest_framework.decorators import action from rest_framework.permissions import IsAdminUser from rest_framework.response import Response from src.apps.runs.models import Run from src.apps.trainings.models import Network from s...
42.027397
168
0.717731
346
3,068
6.245665
0.33526
0.027765
0.031467
0.038871
0.497918
0.497918
0.431282
0.398889
0.309116
0.309116
0
0.0049
0.20176
3,068
72
169
42.611111
0.877501
0.165906
0
0.48
0
0
0.075704
0
0
0
0
0.013889
0
1
0.04
false
0
0.18
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
c7caf3a5b7671e63a9e953de9263aeadb2e09a8c
10,402
py
Python
packaging/setup/plugins/ovirt-engine-setup/config/options.py
SunOfShine/ovirt-engine
7684597e2d38ff854e629e5cbcbb9f21888cb498
[ "Apache-2.0" ]
1
2021-02-02T05:38:35.000Z
2021-02-02T05:38:35.000Z
packaging/setup/plugins/ovirt-engine-setup/config/options.py
SunOfShine/ovirt-engine
7684597e2d38ff854e629e5cbcbb9f21888cb498
[ "Apache-2.0" ]
null
null
null
packaging/setup/plugins/ovirt-engine-setup/config/options.py
SunOfShine/ovirt-engine
7684597e2d38ff854e629e5cbcbb9f21888cb498
[ "Apache-2.0" ]
null
null
null
# # ovirt-engine-setup -- ovirt engine setup # Copyright (C) 2013 Red Hat, 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 r...
33.554839
78
0.444722
728
10,402
6.217033
0.306319
0.041317
0.066284
0.036456
0.515687
0.47437
0.388422
0.349315
0.349315
0.238621
0
0.011105
0.471928
10,402
309
79
33.66343
0.812853
0.067391
0
0.390977
0
0
0.119508
0.034219
0
0
0
0
0
1
0.026316
false
0.078947
0.037594
0
0.067669
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
c7cc0b46a78b43f3f34c6ed7ce38f8aad353104e
392
py
Python
Test06.py
CountChu/DashboardPusher
9b803622a32d69811d6170346e79453bc541494e
[ "MIT" ]
null
null
null
Test06.py
CountChu/DashboardPusher
9b803622a32d69811d6170346e79453bc541494e
[ "MIT" ]
null
null
null
Test06.py
CountChu/DashboardPusher
9b803622a32d69811d6170346e79453bc541494e
[ "MIT" ]
null
null
null
import pandas as pd import requests from bs4 import BeautifulSoup import lxml.etree import pdb url = "https://apidojo-yahoo-finance-v1.p.rapidapi.com/stock/get-detail?region=US&lang=en&symbol=NBEV" url = "https://histock.tw/shstock/601138" response = requests.get( url ) html...
18.666667
102
0.655612
54
392
4.740741
0.759259
0.0625
0
0
0
0
0
0
0
0
0
0.029605
0.22449
392
20
103
19.6
0.8125
0
0
0
0
0.076923
0.338462
0
0
0
0
0
0
1
0
false
0
0.384615
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
c7cf33afc5d7b7ca8a356bb9bd9d75d066ae9ce4
1,059
py
Python
healthier/settings/production.py
paulgirmes/P11
a686dc1d1215d2067636498ec233aaf607d6979d
[ "MIT" ]
null
null
null
healthier/settings/production.py
paulgirmes/P11
a686dc1d1215d2067636498ec233aaf607d6979d
[ "MIT" ]
3
2021-03-30T14:41:20.000Z
2021-06-17T07:08:33.000Z
healthier/settings/production.py
paulgirmes/P11
a686dc1d1215d2067636498ec233aaf607d6979d
[ "MIT" ]
null
null
null
import os from . import * import sentry_sdk from sentry_sdk.integrations.django import DjangoIntegration # settings for sentry app monitoring. sentry_sdk.init( dsn="https://8a46c6da63b64b3cbc68ae59ede4f046@o406231.ingest.sentry.io" "/5289045", integrations=[DjangoIntegration()], # If you wish to asso...
24.068182
75
0.690274
129
1,059
5.51938
0.612403
0.050562
0.033708
0
0
0
0
0
0
0
0
0.060046
0.182247
1,059
43
76
24.627907
0.762125
0.186025
0
0
0
0
0.33839
0.084014
0
0
0
0
0
1
0
false
0.064516
0.129032
0
0.129032
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
c7d4d4130c89ab80774a4ae60803d2533b63d93d
4,038
py
Python
py1.py
smth-0/morsepy
45b25ad0770361e0949676335cf493662e63f24f
[ "Apache-2.0" ]
null
null
null
py1.py
smth-0/morsepy
45b25ad0770361e0949676335cf493662e63f24f
[ "Apache-2.0" ]
null
null
null
py1.py
smth-0/morsepy
45b25ad0770361e0949676335cf493662e63f24f
[ "Apache-2.0" ]
null
null
null
# UNDER APACHE 2.0 LICENSE # LICENSED TO LUNAR # USE ONLY WITH PERMISSION # ILLEGAL COPIES ARE DISALLOWED import os from sys import platform import time enc = {'A': '.-', 'B': '-...', 'C': '-.-.', 'D': '-..', 'E': '.', 'F': '..-.', 'G': '--.', 'H': '....', 'I': '..', 'J': '.---', 'K':...
34.512821
103
0.300644
304
4,038
3.759868
0.384868
0.036745
0.044619
0.045494
0.142607
0.142607
0.142607
0.132108
0.132108
0.069116
0
0.009722
0.439574
4,038
116
104
34.810345
0.49536
0.032689
0
0.215054
0
0
0.494299
0
0
0
0
0
0
1
0.064516
false
0
0.032258
0
0.150538
0.139785
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
c7d612ce1a692ac67d495e72d77747a6ee036f34
769
py
Python
problem/migrations/0015_auto_20180704_0636.py
jxtxzzw/eoj3
468c16ed6de8b9b542972d0e83b02fd2cfa35e4f
[ "MIT" ]
1
2020-11-17T13:08:07.000Z
2020-11-17T13:08:07.000Z
problem/migrations/0015_auto_20180704_0636.py
zerolfx/eoj3
156060399d1c3e5f7bcdbf34eaffbe2be66e1b20
[ "MIT" ]
2
2020-09-23T21:27:55.000Z
2021-06-25T15:24:46.000Z
problem/migrations/0015_auto_20180704_0636.py
zerolfx/eoj3
156060399d1c3e5f7bcdbf34eaffbe2be66e1b20
[ "MIT" ]
1
2019-07-13T00:44:39.000Z
2019-07-13T00:44:39.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-07-04 06:36 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('problem', '0014_problem_group_config'), ] operations = [ migrations.AddField(...
29.576923
173
0.596879
82
769
5.439024
0.621951
0.080717
0.103139
0.121076
0.170404
0.170404
0
0
0
0
0
0.044983
0.248375
769
25
174
30.76
0.726644
0.085826
0
0.333333
1
0
0.182857
0.035714
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
c7d925ca1c0fc7a52515f01455434c811a6e77d3
1,989
py
Python
qtpyvcp/widgets/hal_widgets/hal_double_spinbox.py
awigen/qtpyvcp
5a23c4bca78accb159a76ac03652c74d5a07d14f
[ "BSD-3-Clause-LBNL", "MIT" ]
null
null
null
qtpyvcp/widgets/hal_widgets/hal_double_spinbox.py
awigen/qtpyvcp
5a23c4bca78accb159a76ac03652c74d5a07d14f
[ "BSD-3-Clause-LBNL", "MIT" ]
null
null
null
qtpyvcp/widgets/hal_widgets/hal_double_spinbox.py
awigen/qtpyvcp
5a23c4bca78accb159a76ac03652c74d5a07d14f
[ "BSD-3-Clause-LBNL", "MIT" ]
null
null
null
""" HAL DoubleSpinBox ----------------- DoubleSpinBox for displaying and setting `float` HAL pin values. .. table:: Generated HAL Pins ========================= ========= ========= HAL Pin Name Type Direction ========================= ========= ========= qtpyvcp.spinbox.enable bi...
32.080645
75
0.605832
215
1,989
5.404651
0.306977
0.048193
0.072289
0.041308
0.185886
0.144578
0
0
0
0
0
0
0.228758
1,989
61
76
32.606557
0.757497
0.284565
0
0.071429
1
0
0.03054
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.321429
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
c7db8b6936dc5f4210a5b8f18535328eb3b8a849
708
py
Python
examples/module_04_measure/numba/pythagorus.py
DSE512/twelve
89ced1db394e5689c617edb4c819aec4138c48c3
[ "BSD-3-Clause" ]
3
2021-02-09T15:31:53.000Z
2021-10-31T15:46:51.000Z
examples/module_04_measure/numba/pythagorus.py
yngtodd/twelve
89ced1db394e5689c617edb4c819aec4138c48c3
[ "BSD-3-Clause" ]
null
null
null
examples/module_04_measure/numba/pythagorus.py
yngtodd/twelve
89ced1db394e5689c617edb4c819aec4138c48c3
[ "BSD-3-Clause" ]
1
2021-12-16T15:33:50.000Z
2021-12-16T15:33:50.000Z
import time import math from numba import jit, njit from contextlib import contextmanager @njit(cache=True) def square(x): return x ** 2 @jit(nopython=True, cache=True) def pythagorean_theorem(x, y): return math.sqrt(square(x) + square(y)) def pythagorus(x, y): return math.sqrt(x**2 + y**2) @context...
16.465116
43
0.644068
96
708
4.614583
0.40625
0.121896
0.054176
0.054176
0.234763
0.162528
0.162528
0.162528
0.162528
0
0
0.016216
0.216102
708
42
44
16.857143
0.781982
0
0
0.148148
0
0
0.073446
0
0
0
0
0
0
1
0.185185
false
0
0.148148
0.111111
0.444444
0.037037
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
c7dcc9b674ccfda3a006ff6095727e323c8117a5
1,269
py
Python
ee/api/license.py
tino/posthog
b60b08f281ae31e9e260e952331b3440837d8d59
[ "MIT" ]
null
null
null
ee/api/license.py
tino/posthog
b60b08f281ae31e9e260e952331b3440837d8d59
[ "MIT" ]
null
null
null
ee/api/license.py
tino/posthog
b60b08f281ae31e9e260e952331b3440837d8d59
[ "MIT" ]
null
null
null
from typing import Any from django.conf import settings from django.db.models import QuerySet from rest_framework import authentication, exceptions, request, response, serializers, viewsets from rest_framework.response import Response from ee.models import License from ee.models.license import LicenseError class Li...
30.95122
95
0.670607
138
1,269
6.07971
0.463768
0.05006
0.040524
0.045292
0
0
0
0
0
0
0
0.003055
0.226162
1,269
40
96
31.725
0.851324
0
0
0
0
0
0.06777
0
0
0
0
0
0
1
0.066667
false
0
0.233333
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c7e1860538b72efeaaf0f0bdcb5281e1f8c41f1a
89,498
py
Python
gs_quant/target/assets.py
hausea/gs-quant
52b280b35cf8dcca55e1f124cbe65003aeee0ba6
[ "Apache-2.0" ]
4
2021-05-11T14:35:53.000Z
2022-03-14T03:52:34.000Z
gs_quant/target/assets.py
hausea/gs-quant
52b280b35cf8dcca55e1f124cbe65003aeee0ba6
[ "Apache-2.0" ]
null
null
null
gs_quant/target/assets.py
hausea/gs-quant
52b280b35cf8dcca55e1f124cbe65003aeee0ba6
[ "Apache-2.0" ]
null
null
null
""" Copyright 2019 Goldman Sachs. 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, software di...
31.974991
94
0.64721
10,159
89,498
5.375037
0.073137
0.032634
0.067851
0.049153
0.553374
0.406318
0.343815
0.227305
0.179745
0.145683
0
0.001128
0.266699
89,498
2,798
95
31.986419
0.830898
0.136875
0
0.297177
0
0
0.043722
0.007685
0
0
0
0
0
1
0.204557
false
0
0.002476
0.005944
0.356117
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
c7e95074941351d87be42934a3d5c137fe68ff0d
1,413
py
Python
tool/json-generator/unittest/test.py
Spillage/visual-wrk
20f970280afc455cf165b03705f0ee8bc2729618
[ "Apache-2.0" ]
47
2019-04-30T03:22:20.000Z
2022-02-08T01:42:02.000Z
tool/json-generator/unittest/test.py
Spillage/visual-wrk
20f970280afc455cf165b03705f0ee8bc2729618
[ "Apache-2.0" ]
5
2019-06-26T03:34:49.000Z
2021-08-04T09:51:36.000Z
tool/json-generator/unittest/test.py
Spillage/visual-wrk
20f970280afc455cf165b03705f0ee8bc2729618
[ "Apache-2.0" ]
9
2019-07-08T03:13:10.000Z
2022-01-21T07:36:33.000Z
#!/usr/bin/python3 # coding: utf-8 import unittest import jsonGenerator class jsonGeneratorTestCase(unittest.TestCase): def setUp(self): # If user need to visit http://127.0.0.1/nc/v1/welcome?name=John url_postfix = "/nc/v1/welcome?name=John" self.creater = jsonGenerator.jsonGenerator() ...
35.325
89
0.685067
158
1,413
6.018987
0.335443
0.092534
0.161935
0.173502
0.67613
0.636172
0.590957
0.49632
0.442692
0.138801
0
0.024605
0.194621
1,413
39
90
36.230769
0.811072
0.102619
0
0.291667
0
0
0.189382
0.019017
0
0
0
0
0.291667
1
0.083333
false
0
0.083333
0
0.208333
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
c7e9f334acb1399234e06207e322a06d2ba17f28
6,987
py
Python
pysnmp/XEDIA-DHCP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/XEDIA-DHCP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/XEDIA-DHCP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module XEDIA-DHCP-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/XEDIA-DHCP-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 21:36:09 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2...
120.465517
888
0.758695
777
6,987
6.81982
0.191763
0.008681
0.011889
0.015852
0.347235
0.236837
0.199094
0.174184
0.174184
0.171919
0
0.07231
0.083584
6,987
57
889
122.578947
0.755271
0.046086
0
0.040816
0
0
0.185246
0.034105
0
0
0
0
0
1
0
false
0
0.163265
0
0.163265
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c7ee9a6532f38fdb4383e3ac7d05977f19ce6cdc
4,765
py
Python
python/compare_cpu_gpu.py
sigurdstorve/OpenBCSim
500025c1b63bc6ff083cbd649771d1b98e3f7314
[ "BSD-3-Clause" ]
17
2016-05-27T13:09:19.000Z
2022-03-21T07:08:47.000Z
python/compare_cpu_gpu.py
rojsc/OpenBCSim
53773172974ad42fc3faceb7b36611573abf1c4c
[ "BSD-3-Clause" ]
63
2015-09-10T11:22:56.000Z
2021-05-21T14:52:39.000Z
python/compare_cpu_gpu.py
rojsc/OpenBCSim
53773172974ad42fc3faceb7b36611573abf1c4c
[ "BSD-3-Clause" ]
15
2016-07-26T14:52:18.000Z
2022-01-02T15:52:28.000Z
import numpy as np from pyrfsim import RfSimulator import argparse from scipy.signal import gausspulse from time import time import h5py import matplotlib.pyplot as plt description=""" Compare GPU and CPU for a linear scan in the XZ plane """ if __name__ == "__main__": parser = argparse.ArgumentParser(descrip...
40.381356
102
0.650367
688
4,765
4.273256
0.241279
0.02449
0.02449
0.030612
0.391837
0.24898
0.226531
0.162585
0.142177
0.142177
0
0.026882
0.219307
4,765
118
103
40.381356
0.763441
0.037356
0
0.042105
0
0
0.140581
0
0
0
0
0
0
0
null
null
0
0.073684
null
null
0.042105
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
1be0221110e2f65c80aa209b2abce2efdc3d152f
440
py
Python
setup.py
taehoonlee/tmatplot
c9256c0d4d4eb0414efa67a1dbf8dabdaf19ee9c
[ "MIT" ]
5
2018-06-18T06:31:15.000Z
2020-12-06T23:14:35.000Z
setup.py
taehoonlee/tmatplot
c9256c0d4d4eb0414efa67a1dbf8dabdaf19ee9c
[ "MIT" ]
null
null
null
setup.py
taehoonlee/tmatplot
c9256c0d4d4eb0414efa67a1dbf8dabdaf19ee9c
[ "MIT" ]
null
null
null
from setuptools import setup setup(name='tmatplot', version='0.1.5', description='high level interface based on matplotlib for personal use', author='Taehoon Lee', author_email='me@taehoonlee.com', url='https://github.com/taehoonlee/tmatplot', download_url='https://github.com/taehoo...
33.846154
78
0.679545
51
440
5.803922
0.745098
0.054054
0.094595
0.114865
0.236486
0.236486
0
0
0
0
0
0.008287
0.177273
440
12
79
36.666667
0.809392
0
0
0
0
0
0.477273
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
1be4a21dc7d26fc11cc0a80909633dcea3ca91d0
584
py
Python
longest_common_prefix.py
lutianming/leetcode
848c7470ff5fd23608cc954be23732f60488ed8a
[ "MIT" ]
null
null
null
longest_common_prefix.py
lutianming/leetcode
848c7470ff5fd23608cc954be23732f60488ed8a
[ "MIT" ]
null
null
null
longest_common_prefix.py
lutianming/leetcode
848c7470ff5fd23608cc954be23732f60488ed8a
[ "MIT" ]
null
null
null
class Solution: # @return a string def longestCommonPrefix(self, strs): n = len(strs) if n == 0: return '' if n == 1: return strs[0] prefix = '' m = min([len(s) for s in strs]) for i in range(m): first = strs[0] com...
24.333333
40
0.386986
64
584
3.53125
0.453125
0.026549
0.053097
0.088496
0
0
0
0
0
0
0
0.017794
0.518836
584
23
41
25.391304
0.786477
0.027397
0
0.095238
0
0
0
0
0
0
0
0
0
1
0.047619
false
0
0
0
0.238095
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
1be5d5090b3f551da2a534e63f772f81d046eccd
1,759
py
Python
Google_Place_Add_Place.py
hanhanwu/Hanhan_Play_With_Social_Media
c39f5edba71ca2d16dc726912c33b7f06ccdfa7a
[ "MIT" ]
4
2016-09-18T20:32:09.000Z
2018-08-06T07:41:26.000Z
Google_Place_Add_Place.py
hanhanwu/Hanhan_Play_With_Social_Media
c39f5edba71ca2d16dc726912c33b7f06ccdfa7a
[ "MIT" ]
null
null
null
Google_Place_Add_Place.py
hanhanwu/Hanhan_Play_With_Social_Media
c39f5edba71ca2d16dc726912c33b7f06ccdfa7a
[ "MIT" ]
1
2018-03-12T09:26:48.000Z
2018-03-12T09:26:48.000Z
# cell 1 - Add a place to Google API, it will be searchable immediately from Nearby Search method from googleplaces import GooglePlaces, types, lang, GooglePlacesError, GooglePlacesAttributeError import requests API_KEY = "[YOUR API KEY]" post_url = "https://maps.googleapis.com/maps/api/place/add/json?key=" + API_KE...
27.920635
135
0.723138
247
1,759
5.024292
0.417004
0.064464
0.019339
0.035455
0.143433
0.059629
0.059629
0.059629
0
0
0
0.026171
0.174531
1,759
62
136
28.370968
0.828512
0.254122
0
0.052632
0
0
0.226575
0
0
0
0
0
0
0
null
null
0
0.052632
null
null
0.315789
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
1be750f46ee3ed81a1439c9f22626417ae31886c
858
py
Python
setup.py
ipartola/groper
4c5838fa82a900f0296ab14d0b8e75d1baaf3400
[ "MIT" ]
10
2015-04-07T00:37:06.000Z
2021-06-26T06:10:21.000Z
setup.py
ipartola/groper
4c5838fa82a900f0296ab14d0b8e75d1baaf3400
[ "MIT" ]
null
null
null
setup.py
ipartola/groper
4c5838fa82a900f0296ab14d0b8e75d1baaf3400
[ "MIT" ]
null
null
null
#!/usr/bin/env python from setuptools import setup from groper import __version__ as VERSION setup( name = 'groper', version = VERSION, description = 'Library for parsing config files and command line arguments', author = 'Igor Partola', author_email = 'igor@igorpartola.com', url = 'https://g...
29.586207
80
0.617716
87
858
6
0.724138
0.057471
0.095785
0
0
0
0
0
0
0
0
0.003125
0.254079
858
28
81
30.642857
0.8125
0.02331
0
0
0
0
0.530466
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
1bebc3343d22fbe54f3ef33b54efd022e516e3cd
3,030
py
Python
run.py
heatherbaier/hdx-ext-scraper-geoboundaries
9beb9399740fbe1503f0ac98422fad7b8148a337
[ "MIT" ]
null
null
null
run.py
heatherbaier/hdx-ext-scraper-geoboundaries
9beb9399740fbe1503f0ac98422fad7b8148a337
[ "MIT" ]
null
null
null
run.py
heatherbaier/hdx-ext-scraper-geoboundaries
9beb9399740fbe1503f0ac98422fad7b8148a337
[ "MIT" ]
null
null
null
#!/usr/bin/python """ Top level script. Calls other functions that generate datasets that this script then creates in HDX. """ import argparse import logging from os import environ from os.path import join import sys from hdx.facades.simple import facade from hdx.hdx_configuration import Configuration from hdx.utili...
35.232558
154
0.620792
339
3,030
5.348083
0.380531
0.030888
0.009928
0.013238
0
0
0
0
0
0
0
0.003656
0.277888
3,030
85
155
35.647059
0.824954
0.051155
0
0
1
0.014493
0.149598
0.026914
0
0
0
0
0
1
0.014493
false
0
0.144928
0
0.15942
0.028986
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
1bf0f37bca28a1bd26537e45834d4fff4bd448c5
10,243
py
Python
src/python/bgp-rib-diffs.py
smlng/bgp-stats
b82015a405e503a7e3caa98e4f21558180129997
[ "MIT" ]
null
null
null
src/python/bgp-rib-diffs.py
smlng/bgp-stats
b82015a405e503a7e3caa98e4f21558180129997
[ "MIT" ]
null
null
null
src/python/bgp-rib-diffs.py
smlng/bgp-stats
b82015a405e503a7e3caa98e4f21558180129997
[ "MIT" ]
null
null
null
#!/usr/bin/python from __future__ import print_function import argparse import gzip import os import radix import re import sys from bz2 import BZ2File from datetime import datetime, timedelta from multiprocessing import Process, Queue, cpu_count from netaddr import IPSet, IPNetwork # own imports import mrtx verbo...
35.565972
139
0.555697
1,370
10,243
4.029927
0.239416
0.007245
0.008694
0.008694
0.271328
0.214092
0.192356
0.150335
0.135483
0.123528
0
0.044801
0.293957
10,243
288
140
35.565972
0.718612
0.042566
0
0.180617
0
0.004405
0.14197
0.012945
0
0
0
0
0
0
null
null
0
0.052863
null
null
0.123348
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
1bf30d30f273918331df43289d35b9a9a61402ac
693
py
Python
common/util/updateQubitPulseParams.py
silky/Qlab
ce4085d3ad5bac7f6056c6b71e4cdfad2d70820c
[ "Apache-2.0" ]
1
2019-06-27T11:33:05.000Z
2019-06-27T11:33:05.000Z
common/util/updateQubitPulseParams.py
silky/Qlab
ce4085d3ad5bac7f6056c6b71e4cdfad2d70820c
[ "Apache-2.0" ]
null
null
null
common/util/updateQubitPulseParams.py
silky/Qlab
ce4085d3ad5bac7f6056c6b71e4cdfad2d70820c
[ "Apache-2.0" ]
null
null
null
import argparse import sys, os parser = argparse.ArgumentParser() parser.add_argument('pyqlabpath', help='path to PyQLab directory') parser.add_argument('qubit', help='qubit') parser.add_argument('piAmp', type=float, help='piAmp') parser.add_argument('pi2Amp', type=float, help='pi2Amp') parser.add_argument('dragScaling...
36.473684
68
0.782107
91
693
5.89011
0.362637
0.083955
0.158582
0.16791
0
0
0
0
0
0
0
0.007776
0.07215
693
19
68
36.473684
0.825816
0
0
0
0
0
0.158501
0
0
0
0
0
0
1
0
false
0
0.1875
0
0.1875
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
1bf3620fdcfcd92bd7039c61fe50ad148179597d
2,824
py
Python
django/axf/userauth/views.py
zhang15780/web_project
820708ae68f4d1bc06cdde4a86e40a5457c11df8
[ "Apache-2.0" ]
null
null
null
django/axf/userauth/views.py
zhang15780/web_project
820708ae68f4d1bc06cdde4a86e40a5457c11df8
[ "Apache-2.0" ]
null
null
null
django/axf/userauth/views.py
zhang15780/web_project
820708ae68f4d1bc06cdde4a86e40a5457c11df8
[ "Apache-2.0" ]
null
null
null
import random import time from django.contrib.auth.hashers import make_password, check_password from django.http import HttpResponseRedirect, HttpResponse from django.shortcuts import render # Create your views here. from app.models import UserModel from userauth.models import UserLogin def login(request): if r...
35.3
77
0.56728
280
2,824
5.667857
0.282143
0.035287
0.044108
0.057971
0.255198
0.218652
0.218652
0.215501
0.165091
0.165091
0
0.011053
0.327195
2,824
79
78
35.746835
0.824211
0.027266
0
0.235294
0
0
0.08309
0.021501
0
0
0
0
0
1
0.044118
false
0.088235
0.102941
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1bf87c1e8d61ea65e746c9c7364ad3fbf90d825d
6,078
py
Python
correlation_clip.py
jakubsilhavy/mhhc
62b031201642931ecb350fee630b930f28b941f8
[ "MIT" ]
2
2017-06-23T06:54:12.000Z
2019-10-11T03:05:23.000Z
correlation_clip.py
jakubsilhavy/mhhc
62b031201642931ecb350fee630b930f28b941f8
[ "MIT" ]
null
null
null
correlation_clip.py
jakubsilhavy/mhhc
62b031201642931ecb350fee630b930f28b941f8
[ "MIT" ]
null
null
null
# compare two sets of lines # import line_stats import time startTime = time.strftime("%m%d_%H%M%S") import arcpy import autoLin import os # import line_stats arcpy.gp.overwriteOutput = True print "time %s - arcpy imported" % (time.strftime("%m%d_%H%M%S")) ################## start ######################...
41.067568
276
0.67769
809
6,078
4.928307
0.223733
0.061951
0.010033
0.022072
0.476298
0.429145
0.411588
0.397793
0.388262
0.345372
0
0.039015
0.165021
6,078
148
277
41.067568
0.746601
0.698421
0
0.057143
0
0.028571
0.222149
0.037135
0
0
0
0.006757
0
0
null
null
0
0.142857
null
null
0.085714
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
4014fcc9a967b117712466dcfef554a25cf6470e
2,537
py
Python
Projects/ABM_DA/experiments/ukf_experiments/misc_plots/square_grid_plot.py
RobertClay/DUST-RC
09f7ec9d8d093021d068dff8a7a48c15ea318b86
[ "MIT" ]
15
2018-11-21T14:57:24.000Z
2022-03-04T15:42:09.000Z
Projects/ABM_DA/experiments/ukf_experiments/misc_plots/square_grid_plot.py
RobertClay/DUST-RC
09f7ec9d8d093021d068dff8a7a48c15ea318b86
[ "MIT" ]
125
2019-11-06T13:03:35.000Z
2022-03-07T13:38:33.000Z
Projects/ABM_DA/experiments/ukf_experiments/misc_plots/square_grid_plot.py
RobertClay/DUST-RC
09f7ec9d8d093021d068dff8a7a48c15ea318b86
[ "MIT" ]
6
2018-11-20T15:56:49.000Z
2021-10-08T10:21:06.000Z
# -*- coding: utf-8 -*- """ Created on Thu May 23 11:13:26 2019 @author: RC first attempt at a square root UKF class class built into 5 steps -init -Prediction SP generation -Predictions -Update SP generation -Update UKF filter using own function rather than filterpys based on citeseerx.ist.psu.edu/viewdoc/downloa...
27.879121
76
0.718171
400
2,537
4.505
0.5475
0.027192
0.027747
0.024417
0.036626
0.036626
0.036626
0.036626
0.018868
0
0
0.029412
0.195901
2,537
91
77
27.879121
0.853922
0.375246
0
0
0
0
0.136752
0.017871
0
0
0
0
0
1
0.027027
false
0
0.432432
0
0.486486
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
401e2d5488af9e04f990f2398cd14323d0e8f315
871
py
Python
packet_sniff.py
jingle1000/Black-Hat-Python-ARP-Spoofing
8157c32e548b46f70d0fbc1e5c1de11259e5a70b
[ "MIT" ]
null
null
null
packet_sniff.py
jingle1000/Black-Hat-Python-ARP-Spoofing
8157c32e548b46f70d0fbc1e5c1de11259e5a70b
[ "MIT" ]
null
null
null
packet_sniff.py
jingle1000/Black-Hat-Python-ARP-Spoofing
8157c32e548b46f70d0fbc1e5c1de11259e5a70b
[ "MIT" ]
null
null
null
import scapy.all as scapy from scapy.layers import http def sniff(interface): scapy.sniff(iface=interface, store=False, prn=process_sniffed_packet) def get_url(packet): return packet[http.HTTPRequest].Host + packet[http.HTTPRequest].Path def get_login_info(packet): if packet.haslayer(scapy.Raw): ...
28.096774
89
0.642939
113
871
4.823009
0.39823
0.099083
0.073395
0.066055
0.073395
0
0
0
0
0
0
0.001488
0.228473
871
31
90
28.096774
0.809524
0
0
0
0
0
0.105505
0
0
0
0
0
0
1
0.217391
false
0.043478
0.086957
0.043478
0.391304
0.086957
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
401f44d1689f6090698c5216094a0bd082f1089e
1,049
py
Python
controller/user_controller.py
17621192638/flaskfd
e73ea0c98bb37ac92ff28b91d1e92d0d7edff41d
[ "MIT" ]
1
2020-11-03T02:05:15.000Z
2020-11-03T02:05:15.000Z
controller/user_controller.py
17621192638/flaskfd
e73ea0c98bb37ac92ff28b91d1e92d0d7edff41d
[ "MIT" ]
null
null
null
controller/user_controller.py
17621192638/flaskfd
e73ea0c98bb37ac92ff28b91d1e92d0d7edff41d
[ "MIT" ]
1
2022-02-27T12:28:53.000Z
2022-02-27T12:28:53.000Z
#!/usr/bin/env python # -*- encoding: utf-8 -*- """ @Author : jzy @Contact : : 905414225@qq.com @Software: PyCharm @File : @Time : @Desc : @Scene : """ from flask_restful import Resource, request from service.user_service import user_service import utils.response_util as response_util service =user_servi...
22.804348
47
0.690181
136
1,049
5.044118
0.367647
0.093294
0.116618
0.151604
0.454811
0.454811
0.454811
0.454811
0.454811
0.454811
0
0.016687
0.200191
1,049
45
48
23.311111
0.800954
0.159199
0
0.5
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.125
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
40250ba4bd0f1b7a68aa599d355ef9b5666519f2
1,844
py
Python
tests/conftest.py
NerdWalletOSS/nwpy-savage
ae1653b489428b02d699d6f4f7bdee5c849f1312
[ "MIT" ]
null
null
null
tests/conftest.py
NerdWalletOSS/nwpy-savage
ae1653b489428b02d699d6f4f7bdee5c849f1312
[ "MIT" ]
null
null
null
tests/conftest.py
NerdWalletOSS/nwpy-savage
ae1653b489428b02d699d6f4f7bdee5c849f1312
[ "MIT" ]
null
null
null
from __future__ import absolute_import import pytest from sqlalchemy import create_engine import savage from savage.utils import savage_json_serializer from tests.db_utils import create_test_db, drop_test_db, get_test_database_url, Session from tests.models import ( ArchiveTable, Base, MultiColumnArchiveT...
21.44186
92
0.732104
241
1,844
5.360996
0.307054
0.100619
0.111455
0.048762
0.090557
0
0
0
0
0
0
0.022654
0.162148
1,844
85
93
21.694118
0.813592
0.04718
0
0.189655
0
0
0.019473
0
0
0
0
0
0
1
0.172414
false
0
0.12069
0.137931
0.431034
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
4028314a44691dd4096d31381cdb442d922b6e6c
1,027
py
Python
modules/colops.py
seckujdivad/Gold-DOfE
46dc39522d819b431c498cdb3d15b78b2d35d705
[ "MIT" ]
null
null
null
modules/colops.py
seckujdivad/Gold-DOfE
46dc39522d819b431c498cdb3d15b78b2d35d705
[ "MIT" ]
7
2018-11-28T13:09:21.000Z
2019-07-08T21:48:50.000Z
modules/colops.py
seckujdivad/Silver-DOfE
46dc39522d819b431c498cdb3d15b78b2d35d705
[ "MIT" ]
null
null
null
def increase(colour, increments): """Take a colour and increase each channel by the increments given in the list""" colour_values = [int(colour[1:3], 16), int(colour[3:5], 16), int(colour[5:], 16)] output = [min(255, colour_values[0] + increments[0]), min(255, colour_values[1] + increments[1]), min(255, col...
79
148
0.633885
166
1,027
3.873494
0.186747
0.1493
0.111975
0.167963
0.66563
0.66563
0.541213
0.541213
0.541213
0.541213
0
0.085876
0.138267
1,027
13
149
79
0.640678
0.148004
0
0.6
0
0
0.016185
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
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
402ca89ea7998f5324d9b54a7d8f81db03b68ee9
524
py
Python
code/tests/test_simulation.py
FrederikWR/course-02443-stochastic-virus-outbreak
4f1d7f1fa4aa197b31ed86c4daf420d5a637974e
[ "MIT" ]
null
null
null
code/tests/test_simulation.py
FrederikWR/course-02443-stochastic-virus-outbreak
4f1d7f1fa4aa197b31ed86c4daf420d5a637974e
[ "MIT" ]
null
null
null
code/tests/test_simulation.py
FrederikWR/course-02443-stochastic-virus-outbreak
4f1d7f1fa4aa197b31ed86c4daf420d5a637974e
[ "MIT" ]
null
null
null
import _setup from nose.tools import * from simulator import State, Simulator from world import regions, routes def test_simulate(): state = State(regions, routes) state.set_outbreak('Paris', 1000) sim = Simulator(state) total_population_pre = sim.state.total_sir().total_pop sim.step() tot...
23.818182
69
0.744275
71
524
5.267606
0.521127
0.160428
0.096257
0.085562
0.128342
0.128342
0
0
0
0
0
0.009259
0.175573
524
21
70
24.952381
0.856481
0.14313
0
0
0
0
0.011236
0
0
0
0
0
0.083333
1
0.083333
false
0
0.333333
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
402d9f46c6ebbd6d162d4c36fcb7427d41f5f637
204
py
Python
a-practical-introduction-to-python-programming-brian-heinold/chapter-09/exercise-01.py
elarabyelaidy19/awesome-reading
5c01a4272ba58e4f7ea665aab14b4c0aa252ea89
[ "MIT" ]
31
2021-11-02T19:51:13.000Z
2022-02-17T10:55:26.000Z
a-practical-introduction-to-python-programming-brian-heinold/chapter-09/exercise-01.py
MosTafaHoSamm/awesome-reading
469408fefc049d78ed53a2b2331b5d5cecdc6c06
[ "MIT" ]
1
2022-01-18T12:27:54.000Z
2022-01-18T12:27:54.000Z
a-practical-introduction-to-python-programming-brian-heinold/chapter-09/exercise-01.py
MosTafaHoSamm/awesome-reading
469408fefc049d78ed53a2b2331b5d5cecdc6c06
[ "MIT" ]
3
2022-01-11T05:01:34.000Z
2022-02-05T14:36:29.000Z
# 1. The code below prints the numbers from 1 to 50. Rewrite the code using a while loop to # accomplish the same thing. # for i in range(1,51): # print(i) i = 1 while i <= 50: print(i) i += 1
20.4
91
0.632353
40
204
3.225
0.575
0.108527
0.108527
0.124031
0
0
0
0
0
0
0
0.073333
0.264706
204
9
92
22.666667
0.786667
0.730392
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
403a0e98016e251d2ff7cd9f4a43743c055dd5c6
417
py
Python
zerver/migrations/0291_realm_retention_days_not_null.py
kaustubh-nair/zulip
fb96407607c1f42b350980ad13af20b884750606
[ "Apache-2.0" ]
6
2019-05-09T20:43:20.000Z
2022-03-29T05:53:50.000Z
zerver/migrations/0291_realm_retention_days_not_null.py
kaustubh-nair/zulip
fb96407607c1f42b350980ad13af20b884750606
[ "Apache-2.0" ]
2
2016-10-18T04:01:56.000Z
2016-10-20T18:19:09.000Z
zerver/migrations/0291_realm_retention_days_not_null.py
kaustubh-nair/zulip
fb96407607c1f42b350980ad13af20b884750606
[ "Apache-2.0" ]
7
2016-08-10T02:24:32.000Z
2022-03-28T15:14:18.000Z
# Generated by Django 2.2.13 on 2020-06-24 09:24 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('zerver', '0290_remove_night_mode_add_color_scheme'), ] operations = [ migrations.AlterField( model_name='realm', na...
21.947368
62
0.625899
46
417
5.478261
0.826087
0
0
0
0
0
0
0
0
0
0
0.068627
0.266187
417
18
63
23.166667
0.754902
0.110312
0
0
1
0
0.195122
0.165312
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
403c561045f7a600899ee3c41a66089cfc93b0bc
1,115
py
Python
Python-101/01-keywords&identifiers.py
AnkitaxPriya/LearningWire
0be5e5f4bb335661055dc7906815bf29f39a12ce
[ "MIT" ]
null
null
null
Python-101/01-keywords&identifiers.py
AnkitaxPriya/LearningWire
0be5e5f4bb335661055dc7906815bf29f39a12ce
[ "MIT" ]
null
null
null
Python-101/01-keywords&identifiers.py
AnkitaxPriya/LearningWire
0be5e5f4bb335661055dc7906815bf29f39a12ce
[ "MIT" ]
null
null
null
# Keywords are the reserved words in Python # We cannot use a keyword as variable name, function or any other identifier # Keywords are case sensitive # Get all keywords in python 3.9 import keyword print(keyword.kwlist) print("\n Total number of keywords: ", len(keyword.kwlist)) """ ['False', 'None', 'True', '_...
28.589744
313
0.669955
164
1,115
4.518293
0.664634
0.032389
0.035088
0.05668
0
0
0
0
0
0
0
0.018359
0.169507
1,115
38
314
29.342105
0.781857
0.193722
0
0
0
0
0.19863
0
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
403eca86b9d76f19a7d17c04b706574fe893e580
341
py
Python
tests/test1.py
ashears/osiris
3b2c6b56f4a8e79747b45b1babaf82c74177e34e
[ "MIT" ]
null
null
null
tests/test1.py
ashears/osiris
3b2c6b56f4a8e79747b45b1babaf82c74177e34e
[ "MIT" ]
null
null
null
tests/test1.py
ashears/osiris
3b2c6b56f4a8e79747b45b1babaf82c74177e34e
[ "MIT" ]
null
null
null
from pydantic import BaseModel from onlinesheets import OnlineSheets import requests class Dogs(BaseModel): dog_name: str dog_breed: str dog_color: str dog_age: int class Cats(BaseModel): cat_name: str cat_color: str cat_age: int app = OnlineSheets(tables=[Cats, Dogs]) if __name__ == ...
14.826087
39
0.703812
46
341
4.891304
0.478261
0.08
0
0
0
0
0
0
0
0
0
0
0.222874
341
22
40
15.5
0.849057
0
0
0
0
0
0.02346
0
0
0
0
0
0
1
0
false
0.066667
0.2
0
0.8
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
403f3bc18e1937d6d5b91ba31ab42db016236ba9
717
py
Python
Routes/share_x.py
MoistSenpai/Ne-PI.py
dc90c42a9ad0a198d755bc134b1227966c678395
[ "MIT" ]
null
null
null
Routes/share_x.py
MoistSenpai/Ne-PI.py
dc90c42a9ad0a198d755bc134b1227966c678395
[ "MIT" ]
null
null
null
Routes/share_x.py
MoistSenpai/Ne-PI.py
dc90c42a9ad0a198d755bc134b1227966c678395
[ "MIT" ]
null
null
null
import mimetypes import os from flask import Blueprint, request, url_for from server import PyMongo share_x = Blueprint('api', __name__) @share_x.route('/api/share_x', methods=['POST']) def sx(): # Get sent file, key, and name file = request.files['d'] key = request.form.get('key') name = request.fo...
25.607143
84
0.644351
103
717
4.359223
0.514563
0.053452
0.062361
0
0
0
0
0
0
0
0
0.010453
0.199442
717
27
85
26.555556
0.771777
0.152022
0
0
0
0
0.210963
0.109635
0
0
0
0.037037
0
1
0.066667
false
0
0.266667
0
0.466667
0.133333
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
4041e6ee626d94c090860fb82ce32a6d5d5bc24a
780
py
Python
22_popular_libraries/projects/sending_email/email_smtplib.py
gdia/The-Complete-Python-Course
ed375b65242249bc749c3e292a6149f8528b9dcf
[ "MIT" ]
29
2019-09-02T21:15:59.000Z
2022-01-14T02:20:05.000Z
22_popular_libraries/projects/sending_email/email_smtplib.py
gdia/The-Complete-Python-Course
ed375b65242249bc749c3e292a6149f8528b9dcf
[ "MIT" ]
2
2020-08-20T05:48:36.000Z
2021-06-02T03:16:31.000Z
22_popular_libraries/projects/sending_email/email_smtplib.py
gdia/The-Complete-Python-Course
ed375b65242249bc749c3e292a6149f8528b9dcf
[ "MIT" ]
38
2019-10-20T14:29:12.000Z
2022-03-27T19:50:05.000Z
""" If you get an SMTPAuthenticationError even when your password is correct, it's possible that you have 2-factor authentication enabled. You'll need to use an App Password to log in instead of your normal password. If you don't have 2-FA enabled, you'll have to allow access by less secure apps in your Gmail security...
26.896552
81
0.753846
128
780
4.585938
0.601563
0.054514
0.040886
0
0
0
0
0
0
0
0
0.007429
0.137179
780
28
82
27.857143
0.863299
0.546154
0
0
0
0
0.283237
0
0
0
0
0
0
1
0
false
0.083333
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4046d5bc99faab2bd1353b3552f4e97e9dbca4f3
893
py
Python
mathgenerator/funcs/definite_integral.py
dlwlrmaAHAH/mathgenerator
9c3bd5872d6d443d3487164f7e296ef9f807ab0e
[ "MIT" ]
null
null
null
mathgenerator/funcs/definite_integral.py
dlwlrmaAHAH/mathgenerator
9c3bd5872d6d443d3487164f7e296ef9f807ab0e
[ "MIT" ]
null
null
null
mathgenerator/funcs/definite_integral.py
dlwlrmaAHAH/mathgenerator
9c3bd5872d6d443d3487164f7e296ef9f807ab0e
[ "MIT" ]
null
null
null
from .__init__ import * import scipy from scipy.integrate import quad def definiteIntegralFunc(max_coeff=100): def integrand(x, a, b, c): return a * x**2 + b * x + c a = random.randint(0, max_coeff) b = random.randint(0, max_coeff) c = random.randint(0, max_coeff) lbound = random.randint...
27.90625
111
0.628219
127
893
4.346457
0.385827
0.117754
0.076087
0.092391
0.231884
0
0
0
0
0
0
0.027941
0.238522
893
31
112
28.806452
0.783824
0
0
0
0
0
0.216125
0
0
0
0
0
0
0
null
null
0
0.142857
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
4050a976e57c82fe9a23efc0975bfaf41e647aa1
1,260
py
Python
tests/testall.py
georgedpeterson/em-media-handler
3bcc937faed0f8904b5d9e812c8268a140fafb5b
[ "MIT" ]
9
2017-05-21T09:39:39.000Z
2021-02-07T20:06:38.000Z
tests/testall.py
georgedpeterson/em-media-handler
3bcc937faed0f8904b5d9e812c8268a140fafb5b
[ "MIT" ]
3
2021-04-19T17:20:44.000Z
2021-08-13T03:33:39.000Z
tests/testall.py
georgedpeterson/em-media-handler
3bcc937faed0f8904b5d9e812c8268a140fafb5b
[ "MIT" ]
1
2021-04-19T17:27:23.000Z
2021-04-19T17:27:23.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- # # This file is a part of EM Media Handler Testing Module # Copyright (c) 2014-2021 Erin Morelli # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software w...
30
71
0.716667
180
1,260
4.922222
0.594444
0.062077
0.029345
0.047404
0
0
0
0
0
0
0
0.010742
0.187302
1,260
41
72
30.731707
0.854492
0.573016
0
0
0
0
0.056093
0
0
0
0
0
0
1
0.058824
false
0
0.352941
0
0.470588
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
405706531a60adc72fe3b5ba18f05812d22e484b
1,284
py
Python
pokerIA/MTCS.py
DanielYe1/artificial-intelligence
a194ccf41cca0461a84c0fb1fcb8125081922531
[ "MIT" ]
null
null
null
pokerIA/MTCS.py
DanielYe1/artificial-intelligence
a194ccf41cca0461a84c0fb1fcb8125081922531
[ "MIT" ]
null
null
null
pokerIA/MTCS.py
DanielYe1/artificial-intelligence
a194ccf41cca0461a84c0fb1fcb8125081922531
[ "MIT" ]
null
null
null
from math import * from deuces.card import Card from deuces.evaluator import Evaluator from deuces.evaluator import Deck import random class PokerState: def __init__(self): self.playerJustMoved = 2 self.deck = Deck() self.board = self.deck.draw(3) self.player1 = self.deck.draw(2) ...
26.204082
69
0.619159
164
1,284
4.810976
0.335366
0.053232
0.045627
0.063371
0.043093
0
0
0
0
0
0
0.025237
0.259346
1,284
49
70
26.204082
0.804416
0
0
0
0
0
0.017767
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.057143
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
405f1896ee48c00d71deba11a81cf354a9ce8e9a
489
py
Python
setup.py
raphaelm/cwa-qr
3502b8aa07fe41234a9af967491f517ade839f28
[ "MIT" ]
null
null
null
setup.py
raphaelm/cwa-qr
3502b8aa07fe41234a9af967491f517ade839f28
[ "MIT" ]
null
null
null
setup.py
raphaelm/cwa-qr
3502b8aa07fe41234a9af967491f517ade839f28
[ "MIT" ]
null
null
null
#!/usr/bin/env python from setuptools import find_packages, setup setup( name='cwa', version='1.0', description='Python Implementation of the CoronaWarnApp (CWA) Event Registration', author='Greg Ward', author_email='github@mazdermind.de', url='https://github.com/MaZderMind/cwa-qr', package...
24.45
86
0.621677
63
489
4.746032
0.746032
0.080268
0
0
0
0
0
0
0
0
0
0.038961
0.212679
489
19
87
25.736842
0.737662
0.0409
0
0
0
0
0.403846
0
0
0
0
0
0
1
0
true
0
0.058824
0
0.058824
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
406253be2fde103e0a810af9a9099defdaae957b
613
py
Python
imgsend/libs/ImageSender.py
smthnspcl/imgsend
60c2adc99c7a78cf83e3b81fe5349566d8611d06
[ "MIT" ]
null
null
null
imgsend/libs/ImageSender.py
smthnspcl/imgsend
60c2adc99c7a78cf83e3b81fe5349566d8611d06
[ "MIT" ]
null
null
null
imgsend/libs/ImageSender.py
smthnspcl/imgsend
60c2adc99c7a78cf83e3b81fe5349566d8611d06
[ "MIT" ]
null
null
null
from runnable import Runnable from time import sleep from requests import post from . import CameraReader class ImageSender(Runnable): url = None res = None every = None camera = None def __init__(self, url, every=30, res=(1920, 1080)): # every 30 seconds Runnable.__init__(self) ...
22.703704
76
0.621533
79
613
4.721519
0.379747
0.0563
0
0
0
0
0
0
0
0
0
0.026726
0.267537
613
26
77
23.576923
0.804009
0.026101
0
0
0
0
0.02521
0
0
0
0
0
0
1
0.15
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
406b41aed855f48ea9cac188f387f07655dd5186
2,748
py
Python
tests/test_valtonenornhag_arxiv_2020b_frHfr.py
marcusvaltonen/python-homlib
ce7d41211b72185b93f672e05ff582e40dcf44fa
[ "MIT" ]
null
null
null
tests/test_valtonenornhag_arxiv_2020b_frHfr.py
marcusvaltonen/python-homlib
ce7d41211b72185b93f672e05ff582e40dcf44fa
[ "MIT" ]
null
null
null
tests/test_valtonenornhag_arxiv_2020b_frHfr.py
marcusvaltonen/python-homlib
ce7d41211b72185b93f672e05ff582e40dcf44fa
[ "MIT" ]
null
null
null
import unittest from approvaltests import verify from tests.helpers import verify_numpy_array import numpy as np import homlib class ValtonenOrnhagArxiv2020BfrHfrTestCase(unittest.TestCase): def setUp(self): self.tol = 14 def test_valtonenornhag_arxiv_2020b_frHfr(self): p1 = np.array([ ...
37.643836
83
0.60917
287
2,748
5.714286
0.33101
0.117073
0.063415
0.106098
0.503049
0.485366
0.382927
0.357317
0.357317
0.357317
0
0.298629
0.283479
2,748
72
84
38.166667
0.534281
0.050946
0
0.416667
0
0
0.001926
0
0
0
0
0
0.066667
1
0.066667
false
0
0.083333
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
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
406c913d79635689fbdbddaa112da8cf56cb2924
792
py
Python
LeetCode/Easy/Problem1/p1Sol1.py
RyanHelgoth/algorithms-practice
fec5f6710613dc8655a0f390cd5fe3b33d29ac35
[ "Apache-2.0" ]
null
null
null
LeetCode/Easy/Problem1/p1Sol1.py
RyanHelgoth/algorithms-practice
fec5f6710613dc8655a0f390cd5fe3b33d29ac35
[ "Apache-2.0" ]
null
null
null
LeetCode/Easy/Problem1/p1Sol1.py
RyanHelgoth/algorithms-practice
fec5f6710613dc8655a0f390cd5fe3b33d29ac35
[ "Apache-2.0" ]
null
null
null
#Code written by Ryan Helgoth class Solution: def twoSum(self, nums: List[int], target: int) -> List[int]: sol = [] for i in range(len(nums)): currentNum = nums[i] if currentNum <= target: amountLeft = target - currentNum try: ...
41.684211
87
0.482323
78
792
4.897436
0.5
0.102094
0.133508
0.180628
0.327225
0.327225
0.327225
0.246073
0.246073
0.246073
0
0.019694
0.42298
792
19
88
41.684211
0.816193
0.035354
0
0.117647
0
0
0.159686
0
0
0
0
0
0
1
0.058824
false
0
0
0
0.176471
0.176471
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
4072762aa39a16b9dbf0d1feddc206ae8abc789e
836
py
Python
coinbase/api.py
jpradass/CoinbaseBot
18adbda9e545f786ba9356eb156d99ea24f93f05
[ "Apache-2.0" ]
null
null
null
coinbase/api.py
jpradass/CoinbaseBot
18adbda9e545f786ba9356eb156d99ea24f93f05
[ "Apache-2.0" ]
null
null
null
coinbase/api.py
jpradass/CoinbaseBot
18adbda9e545f786ba9356eb156d99ea24f93f05
[ "Apache-2.0" ]
null
null
null
from typing import Dict from coinbase.auth import auth from coinbase.constants import COINBASE_API_URL from coinbase.exceptions import APIException import requests class APIRequest: def __init__(self) -> None: pass @classmethod def get_request(cls, resource: str) -> Dict: res = requests.ge...
34.833333
81
0.696172
109
836
5.211009
0.412844
0.06338
0.073944
0.073944
0.447183
0.447183
0.242958
0.242958
0.242958
0.242958
0
0
0.223684
836
23
82
36.347826
0.875193
0
0
0.3
0
0
0.11244
0
0
0
0
0
0
1
0.15
false
0.05
0.25
0
0.55
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
4073fa5b9a9974525aa9b5ea35f0ab83da0a6594
1,950
py
Python
flowcells/management/commands/import_legacy_messages.py
bihealth/digestiflow-server
298c53f95dbf56e7be0d0b8bcceacabc21257d5f
[ "MIT" ]
13
2019-11-27T19:12:15.000Z
2021-12-01T21:32:18.000Z
flowcells/management/commands/import_legacy_messages.py
bihealth/digestiflow-server
298c53f95dbf56e7be0d0b8bcceacabc21257d5f
[ "MIT" ]
60
2019-03-27T14:43:19.000Z
2022-03-22T09:12:53.000Z
flowcells/management/commands/import_legacy_messages.py
bihealth/digestiflow-server
298c53f95dbf56e7be0d0b8bcceacabc21257d5f
[ "MIT" ]
3
2020-11-09T07:08:42.000Z
2022-02-09T11:37:54.000Z
from datetime import datetime import json from django.contrib.auth import get_user_model from django.db import transaction from django.core.management.base import BaseCommand from projectroles.models import Project from flowcells.models import Message, MSG_STATE_SENT class Command(BaseCommand): help = "Import ...
41.489362
96
0.648718
256
1,950
4.757813
0.398438
0.074713
0.041872
0.029557
0.049261
0.014778
0.014778
0
0
0
0
0.00065
0.211282
1,950
46
97
42.391304
0.791287
0
0
0
0
0
0.166667
0.021538
0
0
0
0
0
1
0.078947
false
0
0.315789
0
0.447368
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
40784b963016946517928e3366fb89b9079163fa
2,522
py
Python
plnt.py
MiseryMyra/monstergenetics
a513356718d91b63c31d7f81bf4bc94fdd57c7b7
[ "MIT" ]
12
2018-05-17T18:29:00.000Z
2019-08-17T22:04:22.000Z
plnt.py
MiseryMyra/monstergenetics
a513356718d91b63c31d7f81bf4bc94fdd57c7b7
[ "MIT" ]
null
null
null
plnt.py
MiseryMyra/monstergenetics
a513356718d91b63c31d7f81bf4bc94fdd57c7b7
[ "MIT" ]
3
2018-05-16T17:27:52.000Z
2021-01-04T18:07:35.000Z
#module for defining the initial properties for all the different plant types import libtcodpy as libtcod import cfg class Plant: def __init__(self, char=cfg.PLANT_CHAR, color=libtcod.desaturated_green, nutrition=cfg.BASE_PLANT_NUTRITION, health=cfg.HP_FROM_FOOD, fp=1, chances=1): self.char = char ...
81.354839
155
0.660587
336
2,522
4.824405
0.27381
0.072178
0.096237
0.168415
0.498458
0.32079
0.240592
0.236274
0.082665
0.082665
0
0.033881
0.204203
2,522
30
156
84.066667
0.773792
0.090404
0
0
0
0.148148
0.06291
0
0
0
0
0
0
1
0.037037
false
0
0.074074
0
0.148148
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
4079adfc5085beea697a492ec62267be46c9758d
1,949
py
Python
lite_content/lite_internal_frontend/users.py
django-doctor/lite-frontend
330ff9575fd22d7c4c42698ac2d653244e6180d6
[ "MIT" ]
1
2021-10-16T16:36:58.000Z
2021-10-16T16:36:58.000Z
lite_content/lite_internal_frontend/users.py
django-doctor/lite-frontend
330ff9575fd22d7c4c42698ac2d653244e6180d6
[ "MIT" ]
45
2020-08-11T14:37:46.000Z
2022-03-29T17:03:02.000Z
lite_content/lite_internal_frontend/users.py
django-doctor/lite-frontend
330ff9575fd22d7c4c42698ac2d653244e6180d6
[ "MIT" ]
3
2021-02-01T06:26:19.000Z
2022-02-21T23:02:46.000Z
class UsersPage: TITLE = "All users" INVITE_BUTTON = "Invite a new user" MANAGE_ROLES_BUTTON = "Manage roles" INVITE_SUCCESSFUL_BANNER = "User has been invited successfully" class Table: NAME = "Name" EMAIL = "Email" TEAM = "Team" ROLE = "Role" STATUS = "Stat...
22.147727
87
0.581837
203
1,949
5.477833
0.320197
0.115108
0.032374
0.03777
0.415468
0.415468
0.363309
0.25
0.25
0.25
0
0.003028
0.322217
1,949
87
88
22.402299
0.838759
0
0
0.507463
0
0
0.243202
0
0
0
0
0
0
1
0
false
0
0
0
0.537313
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
407c9effd417cd7b178bf4a753cd938f271d4f29
344
py
Python
experiments/mario/gym-super-mario-bros-master/speedtest.py
selfemergence/NEAT-multiprocessing
3dc57c6ec18658253398ae0b361b72f78e3fd0c9
[ "MIT" ]
5
2021-02-19T01:35:22.000Z
2022-03-29T20:48:34.000Z
experiments/mario/gym-super-mario-bros-master/speedtest.py
selfemergence/NEAT-multiprocessing
3dc57c6ec18658253398ae0b361b72f78e3fd0c9
[ "MIT" ]
9
2018-04-25T03:55:26.000Z
2018-04-26T13:13:05.000Z
rlpyt/envs/gym-super-mario-bros/speedtest.py
williamd4112/curiosity_baselines
45939f3f24c53cfff5153ef012486a6a058660be
[ "MIT" ]
2
2021-04-17T09:11:56.000Z
2022-03-24T04:21:17.000Z
from gym_super_mario_bros import SuperMarioBrosEnv import tqdm env = SuperMarioBrosEnv() done = True try: for _ in tqdm.tqdm(range(5000)): if done: state = env.reset() done = False else: state, reward, done, info = env.step(env.action_space.sample()) except Keyb...
21.5
75
0.630814
41
344
5.170732
0.731707
0
0
0
0
0
0
0
0
0
0
0.016194
0.281977
344
15
76
22.933333
0.842105
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.076923
0.153846
0
0.153846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4080f7ab622de55445246fff4282968379513852
353
py
Python
src/proxy/proxy_factories.py
polzbit/mitm_proxy_server
a4f2b4385caf3063de56d1dc97d15d777bc7e9dc
[ "MIT" ]
null
null
null
src/proxy/proxy_factories.py
polzbit/mitm_proxy_server
a4f2b4385caf3063de56d1dc97d15d777bc7e9dc
[ "MIT" ]
null
null
null
src/proxy/proxy_factories.py
polzbit/mitm_proxy_server
a4f2b4385caf3063de56d1dc97d15d777bc7e9dc
[ "MIT" ]
null
null
null
from twisted.internet import protocol from proxy.proxy_protocols import TCPProxyProtocol class TCPFactory(protocol.ServerFactory): ''' Factory for tcp communication ''' protocol = TCPProxyProtocol def __init__(self, dst_ip, dst_port, ssl=True): self.dst_ip = dst_ip self.dst_port =...
32.090909
52
0.699717
43
353
5.488372
0.534884
0.088983
0.076271
0.101695
0
0
0
0
0
0
0
0
0.226629
353
11
53
32.090909
0.864469
0.082153
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
40862ee792711cb01eec2a12f0dccc39d80294c4
1,257
py
Python
libdev/aws.py
kosyachniy/lib
4174eb7b91b2c5908b47b353cc55cc617b74799f
[ "MIT" ]
null
null
null
libdev/aws.py
kosyachniy/lib
4174eb7b91b2c5908b47b353cc55cc617b74799f
[ "MIT" ]
null
null
null
libdev/aws.py
kosyachniy/lib
4174eb7b91b2c5908b47b353cc55cc617b74799f
[ "MIT" ]
null
null
null
""" Functionality of Amazon Web Services """ import boto3 from botocore.exceptions import ClientError from .cfg import cfg from .gen import generate LINK = ( f"https://{cfg('amazon.bucket')}.s3." f"{cfg('amazon.region')}.amazonaws.com/" ) s3 = boto3.resource( 's3', region_name=cfg('amazon.region')...
19.338462
63
0.629276
157
1,257
4.872611
0.375796
0.082353
0.058824
0.054902
0
0
0
0
0
0
0
0.013185
0.215593
1,257
64
64
19.640625
0.762677
0.054097
0
0.046512
1
0
0.19846
0.062447
0
0
0
0
0
1
0.046512
false
0
0.093023
0
0.186047
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
408a0bea47c469398eb2d37233569869dfff2c4d
697
py
Python
src/kpi_WV_nrcs/compute_wind_azimuth.py
tlechauveCLS/kpi_mpc
4dc61d210c2b97e6ac240e54a8d96c35cf9123de
[ "MIT" ]
null
null
null
src/kpi_WV_nrcs/compute_wind_azimuth.py
tlechauveCLS/kpi_mpc
4dc61d210c2b97e6ac240e54a8d96c35cf9123de
[ "MIT" ]
null
null
null
src/kpi_WV_nrcs/compute_wind_azimuth.py
tlechauveCLS/kpi_mpc
4dc61d210c2b97e6ac240e54a8d96c35cf9123de
[ "MIT" ]
1
2022-03-23T07:48:27.000Z
2022-03-23T07:48:27.000Z
import numpy as np from format_angle import format_angle def method_wind_azi_range(wind_u,wind_v,trackangle): """ agrouaze: January 2020 code adapted from IPF owi_lop_application :return: param ancillary_wind_dir_range: in meteorological convention from range """ # the wind direction in ...
49.785714
136
0.771879
100
697
5.09
0.46
0.127701
0.125737
0.123772
0.094303
0
0
0
0
0
0
0.022491
0.170732
697
14
137
49.785714
0.858131
0.45911
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
408b334b8dcc9e0b47d21c1ec1aa94d4e801f33b
3,501
py
Python
pyStudy/Investment.py
DivadOEC/HStudyDocs
1128ed88d9e92f76629dc7b9881e92ea89024a6b
[ "MIT" ]
null
null
null
pyStudy/Investment.py
DivadOEC/HStudyDocs
1128ed88d9e92f76629dc7b9881e92ea89024a6b
[ "MIT" ]
null
null
null
pyStudy/Investment.py
DivadOEC/HStudyDocs
1128ed88d9e92f76629dc7b9881e92ea89024a6b
[ "MIT" ]
null
null
null
# encoding: utf-8 import datetime,time; INVS_REPAY_BY_MONTH = 1 INVS_REPAY_BY_DAYS = 2 class RepayMent(object): def __init__(self,repayDate,repayTerm,repayAmout) self.repayDate = repayDate self.repayTerm = repayTerm # when INVS_REPAY_BY_MONTH,set -1 self.repayAmout = repayAmout class Investment(object...
35.01
127
0.71094
399
3,501
6.180451
0.20802
0.048662
0.048662
0.058394
0.452555
0.390916
0.353204
0.353204
0.306164
0.306164
0
0.025979
0.175378
3,501
99
128
35.363636
0.828195
0.107969
0
0.238806
0
0
0.017075
0
0
0
0
0
0
0
null
null
0
0.014925
null
null
0.044776
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