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
041d6868caa7ef5df159e27cf1c30614ced9a396
271
py
Python
build/pynja/scripts/gcc_common.py
fifoforlifo/nstd
68f5b370e10b2d1e078027ecbc040b7eaa9e08aa
[ "BSL-1.0" ]
null
null
null
build/pynja/scripts/gcc_common.py
fifoforlifo/nstd
68f5b370e10b2d1e078027ecbc040b7eaa9e08aa
[ "BSL-1.0" ]
null
null
null
build/pynja/scripts/gcc_common.py
fifoforlifo/nstd
68f5b370e10b2d1e078027ecbc040b7eaa9e08aa
[ "BSL-1.0" ]
null
null
null
import os def set_gcc_environment(installDir): oldPathEnv = os.environ.get('PATH') or "" os.environ['PATH'] = "%s/bin%s%s" % (installDir, os.pathsep, oldPathEnv) os.environ['INCLUDE'] = "%s/include" % installDir os.environ['LIB'] = "%s/lib" % installDir
33.875
76
0.649446
36
271
4.833333
0.472222
0.206897
0.218391
0
0
0
0
0
0
0
0
0
0.158672
271
7
77
38.714286
0.763158
0
0
0
0
0
0.162362
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.333333
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0430fa73e6154b4c2aee8948a9867d484b4a49d2
127
py
Python
# Lista - Condicionais/1.py
thizago/letscode
35b3db5fc628d94a957db68e813af6a6c6794591
[ "MIT" ]
null
null
null
# Lista - Condicionais/1.py
thizago/letscode
35b3db5fc628d94a957db68e813af6a6c6794591
[ "MIT" ]
null
null
null
# Lista - Condicionais/1.py
thizago/letscode
35b3db5fc628d94a957db68e813af6a6c6794591
[ "MIT" ]
null
null
null
idade = int(input('Qual a sua idade: ')) if idade < 18: print ('Não pode beber ainda') else: print ('Pode beber')
18.142857
40
0.590551
19
127
3.947368
0.736842
0.24
0
0
0
0
0
0
0
0
0
0.021277
0.259843
127
7
41
18.142857
0.776596
0
0
0
0
0
0.375
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
043221b1811251c24da0461ca3470ee83b8ba5cc
116
py
Python
solution.py
piccadimn/Python
4f382268e7956709e97fa62da642f9d684fac4a1
[ "Apache-2.0" ]
null
null
null
solution.py
piccadimn/Python
4f382268e7956709e97fa62da642f9d684fac4a1
[ "Apache-2.0" ]
null
null
null
solution.py
piccadimn/Python
4f382268e7956709e97fa62da642f9d684fac4a1
[ "Apache-2.0" ]
null
null
null
""" Sheikh Mohammad Chand Alam Aligarh Muslim University """ import sys s, f = input().split() print(s) print(f)
9.666667
26
0.681034
17
116
4.647059
0.823529
0
0
0
0
0
0
0
0
0
0
0
0.172414
116
11
27
10.545455
0.822917
0.448276
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
3
0458cb026af5b75cd30018541569b0982a66bd13
39,405
py
Python
POM/asserts.py
Mikhail-QA/HS
8ddbc09a0d1493128f3af6b8078c295609908dd7
[ "Apache-2.0" ]
null
null
null
POM/asserts.py
Mikhail-QA/HS
8ddbc09a0d1493128f3af6b8078c295609908dd7
[ "Apache-2.0" ]
null
null
null
POM/asserts.py
Mikhail-QA/HS
8ddbc09a0d1493128f3af6b8078c295609908dd7
[ "Apache-2.0" ]
null
null
null
import unittest import time import allure from POM.prolongation_page import ProlongationLocators from POM.subscribe_page import SubscribeLocatorsStepSix from POM.yakassa_page import YakassaLocators class AssertForTest001(unittest.TestCase): def __init__(self, driver): super().__init__() self.drive...
46.033879
248
0.633524
4,953
39,405
4.824147
0.120533
0.059262
0.084373
0.119528
0.794174
0.776638
0.709467
0.679627
0.637147
0.628693
0
0.028383
0.239107
39,405
855
249
46.087719
0.767735
0.015709
0
0.65896
0
0.106936
0.326551
0.159448
0
0
0
0
0.281792
1
0.128613
false
0
0.008671
0
0.17341
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f0882ef477f7f8094e89b90141d982dc7f147027
951
py
Python
fastflix/models/fastflix.py
benedicteb/FastFlix
45208b7c74a21758cb528c949422effcd0c01f44
[ "MIT" ]
null
null
null
fastflix/models/fastflix.py
benedicteb/FastFlix
45208b7c74a21758cb528c949422effcd0c01f44
[ "MIT" ]
null
null
null
fastflix/models/fastflix.py
benedicteb/FastFlix
45208b7c74a21758cb528c949422effcd0c01f44
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from dataclasses import dataclass, field from multiprocessing import Queue from pathlib import Path from typing import Dict, List, Union from appdirs import user_data_dir from fastflix.models.base import BaseDataClass from fastflix.models.config import Config from fastflix.models.video import ...
29.71875
92
0.728707
125
951
5.408
0.368
0.047337
0.048817
0.047337
0.16568
0.16568
0.16568
0.16568
0.16568
0.16568
0
0.001276
0.175605
951
31
93
30.677419
0.860969
0.029443
0
0
0
0
0.021739
0
0
0
0
0
0
1
0
true
0
0.347826
0
0.956522
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
1
0
1
0
0
3
f09120d0956e2b6d75ee52dbee1aac785ee763f4
49,149
py
Python
SparseMeasurements/EnergySweepCluster.py
danielfreeman11/thermal-toric-code
3718f1b16737dfae09443466f6cfb65036faaa89
[ "MIT" ]
6
2017-11-15T00:54:13.000Z
2021-11-21T02:08:21.000Z
SparseMeasurements/EnergySweepCluster.py
danielfreeman11/thermal-toric-code
3718f1b16737dfae09443466f6cfb65036faaa89
[ "MIT" ]
null
null
null
SparseMeasurements/EnergySweepCluster.py
danielfreeman11/thermal-toric-code
3718f1b16737dfae09443466f6cfb65036faaa89
[ "MIT" ]
null
null
null
#%matplotlib inline #pylab inline import random from random import choice import copy #import matplotlib.pyplot as plt import sys from compiler.ast import flatten from numpy import * import numpy #for Temperature in [.4,.39,.38,.37,.36,.35,.34,.33,.32,.31]:#[.3,.29,.28,.27,.26,.25,.24,.23,.22]:#.21,.2,....
40.518549
164
0.523917
5,014
49,149
5.13203
0.092341
0.006296
0.016167
0.013679
0.75443
0.724157
0.697458
0.68444
0.671188
0.665747
0
0.041795
0.351564
49,149
1,212
165
40.55198
0.76561
0.273759
0
0.628571
0
0
0.022222
0
0
0
0
0
0
0
null
null
0
0.013333
null
null
0.081905
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
f0956efd4120b3c62e81a2086857a394beca58a9
2,771
py
Python
application/auth/auth_forms.py
akelshareif/fiscally
ca44ca00537d2b9ef1bca8a3a67b66427394dc72
[ "MIT" ]
1
2020-09-18T04:18:58.000Z
2020-09-18T04:18:58.000Z
application/auth/auth_forms.py
akelshareif/fiscally
ca44ca00537d2b9ef1bca8a3a67b66427394dc72
[ "MIT" ]
null
null
null
application/auth/auth_forms.py
akelshareif/fiscally
ca44ca00537d2b9ef1bca8a3a67b66427394dc72
[ "MIT" ]
null
null
null
""" Forms related to user registration and authentication """ from flask_wtf import FlaskForm from wtforms import StringField, PasswordField from wtforms.validators import InputRequired, Email, Optional, Length, Regexp class RegisterForm(FlaskForm): """ Registration form for new user """ first_name = String...
53.288462
316
0.653916
317
2,771
5.697161
0.227129
0.127353
0.166113
0.091362
0.576412
0.567553
0.513289
0.460133
0.460133
0.460133
0
0.00531
0.18441
2,771
51
317
54.333333
0.793805
0.081559
0
0.142857
0
0.214286
0.434384
0.088552
0
0
0
0
0
1
0
false
0.357143
0.107143
0
0.642857
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
1
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
f0a78391e91d08a8f127ba52a441a199c9c9591e
1,675
py
Python
sloc_report/cli.py
depop/sloc_report
0e65ece3f5c95e6ab38313b38c110fea275326b2
[ "MIT" ]
1
2016-11-08T13:57:42.000Z
2016-11-08T13:57:42.000Z
sloc_report/cli.py
depop/sloc_report
0e65ece3f5c95e6ab38313b38c110fea275326b2
[ "MIT" ]
null
null
null
sloc_report/cli.py
depop/sloc_report
0e65ece3f5c95e6ab38313b38c110fea275326b2
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # CLI interface # TODO - import version from metadata import report import sloc_librato import click import os @click.group() @click.option('--librato-email', default=os.environ.get('LIBRATO_EMAIL'), help='Email address associated with the Librato account') @click.option('--libra...
35.638298
75
0.671045
227
1,675
4.84141
0.330396
0.087352
0.051865
0.034577
0.047316
0
0
0
0
0
0
0.001457
0.180299
1,675
46
76
36.413043
0.79898
0.066866
0
0.054054
0
0
0.245271
0
0
0
0
0.021739
0
0
null
null
0.054054
0.108108
null
null
0.027027
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
1
0
0
1
0
0
0
0
0
3
f0aff4ecbe15d9f31e6ab694f2c0bf1259e1d073
27
py
Python
python/utility_code/__init__.py
kennyjoseph/identity_extraction_pub
2d9024ad4f5c4ea936018616829931563a341698
[ "MIT" ]
7
2016-03-20T02:47:24.000Z
2021-09-08T16:11:37.000Z
python/utility_code/__init__.py
kennyjoseph/identity_extraction_pub
2d9024ad4f5c4ea936018616829931563a341698
[ "MIT" ]
null
null
null
python/utility_code/__init__.py
kennyjoseph/identity_extraction_pub
2d9024ad4f5c4ea936018616829931563a341698
[ "MIT" ]
2
2018-03-21T14:20:04.000Z
2019-03-14T14:42:26.000Z
__author__ = 'kennyjoseph'
13.5
26
0.777778
2
27
8.5
1
0
0
0
0
0
0
0
0
0
0
0
0.111111
27
1
27
27
0.708333
0
0
0
0
0
0.407407
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f0b601c7cd611d5180a91d8498d5f26f7e5bfec8
697
py
Python
src/unprocessed/unprocessed.py
FilipePintoReis/ARSI
6d3929482f31df40f5cefec646147ad84d4e653f
[ "MIT" ]
null
null
null
src/unprocessed/unprocessed.py
FilipePintoReis/ARSI
6d3929482f31df40f5cefec646147ad84d4e653f
[ "MIT" ]
null
null
null
src/unprocessed/unprocessed.py
FilipePintoReis/ARSI
6d3929482f31df40f5cefec646147ad84d4e653f
[ "MIT" ]
null
null
null
f1 = open("unprocessed/Cit-HepTh-dates.csv", "w") f2 = open("unprocessed/Cit-HepTh.csv", "w") with open("unprocessed/Cit-HepTh-dates.txt", "r") as file: c = 0 for line in file: if not c == 0: l = line.split() nl = l[0] + "," + l[1] + '\n' f1.write(nl) ...
24.034483
59
0.43472
95
697
3.147368
0.389474
0.200669
0.240803
0.307692
0.591973
0.113712
0.113712
0.113712
0.113712
0
0
0.03125
0.403156
697
28
60
24.892857
0.6875
0
0
0.434783
0
0
0.182635
0.167665
0
0
0
0
0
1
0.043478
false
0
0
0
0.086957
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f0c39e386abb6d5bc78e270eefbdac3a79fcfc18
769
py
Python
portfolio/migrations/0007_auto_20210515_0756.py
samshultz/techbitsdata
753309cbfee7bfa9a08804786f29b37f2b058436
[ "BSD-3-Clause" ]
null
null
null
portfolio/migrations/0007_auto_20210515_0756.py
samshultz/techbitsdata
753309cbfee7bfa9a08804786f29b37f2b058436
[ "BSD-3-Clause" ]
null
null
null
portfolio/migrations/0007_auto_20210515_0756.py
samshultz/techbitsdata
753309cbfee7bfa9a08804786f29b37f2b058436
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 3.2.2 on 2021-05-15 07:56 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('portfolio', '0006_portfolio_column'), ] operations = [ migrations.AlterModelOptions( name='portfolio', options={'ordering': ...
22.617647
47
0.521456
62
769
6.370968
0.516129
0.164557
0.263291
0.303797
0.435443
0.435443
0
0
0
0
0
0.038384
0.356307
769
33
48
23.30303
0.759596
0.058518
0
0.481481
1
0
0.148199
0.029086
0
0
0
0
0
1
0
false
0
0.037037
0
0.148148
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f0fc53afd37e616e03b6be5123bb712d1fd15698
5,525
py
Python
nobrainer/tests/test_spatial_transforms.py
alicebizeul/nobrainer
6817eab85ea17cb733f04b1d9fa6cbcf328dc0ce
[ "Apache-2.0" ]
17
2018-03-19T03:13:53.000Z
2019-03-27T11:10:55.000Z
nobrainer/tests/test_spatial_transforms.py
alicebizeul/nobrainer
6817eab85ea17cb733f04b1d9fa6cbcf328dc0ce
[ "Apache-2.0" ]
29
2018-02-08T14:49:06.000Z
2019-03-19T21:03:58.000Z
nobrainer/tests/test_spatial_transforms.py
tapasi-brahma/nobrainer
c46586658d226bc3ca22869fd45a2674fdd52be9
[ "Apache-2.0" ]
12
2018-01-29T20:36:31.000Z
2019-03-25T22:52:09.000Z
import numpy as np import pytest from nobrainer import spatial_transforms as transformations @pytest.fixture(scope="session") def test_centercrop(): # Test for inputs shape = (10, 10, 10) x = np.ones(shape).astype(np.float32) y = np.random.randint(0, 2, size=shape).astype(np.float32) fine = int(x...
36.348684
88
0.489412
1,006
5,525
2.643141
0.074553
0.254231
0.364423
0.463332
0.679203
0.599473
0.589319
0.524633
0.504325
0.504325
0
0.157191
0.296471
5,525
151
89
36.589404
0.526884
0.019729
0
0.409091
0
0
0.002588
0
0
0
0
0
0.143939
1
0.037879
false
0
0.022727
0
0.060606
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0b01c56ee079fe1d9cf221119f0d1257bb86104c
566
py
Python
custom_components/meteobridge/models.py
briis/meteobridge
08e42ca5750084f762c2c9ab956b932f6d5b9ae1
[ "MIT" ]
5
2020-05-27T21:33:36.000Z
2021-11-29T18:20:14.000Z
custom_components/meteobridge/models.py
briis/meteobridge
08e42ca5750084f762c2c9ab956b932f6d5b9ae1
[ "MIT" ]
20
2020-06-06T01:13:00.000Z
2022-03-28T07:12:23.000Z
custom_components/meteobridge/models.py
briis/meteobridge
08e42ca5750084f762c2c9ab956b932f6d5b9ae1
[ "MIT" ]
4
2020-10-02T08:16:21.000Z
2022-02-19T00:10:08.000Z
"""The Meteobridge integration models.""" from __future__ import annotations from dataclasses import dataclass from typing import Any from homeassistant.helpers.update_coordinator import DataUpdateCoordinator from pymeteobridgedata import MeteobridgeApiClient from pymeteobridgedata.data import DataLoggerDescription ...
28.3
74
0.830389
52
566
8.903846
0.576923
0.060475
0.107991
0
0
0
0
0
0
0
0
0
0.123675
566
19
75
29.789474
0.933468
0.128975
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.916667
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
1
0
1
0
0
3
0b19fec1b16169880658782e3709613b80cf1c28
336
py
Python
server.py
pranshu2610/telopy-ml
f6ce5f81bcc50e3211b92a6b48f8c7b14a334605
[ "MIT" ]
1
2020-05-23T07:00:34.000Z
2020-05-23T07:00:34.000Z
server.py
pranshu2610/telopy-ml
f6ce5f81bcc50e3211b92a6b48f8c7b14a334605
[ "MIT" ]
null
null
null
server.py
pranshu2610/telopy-ml
f6ce5f81bcc50e3211b92a6b48f8c7b14a334605
[ "MIT" ]
null
null
null
#This is just a demo server file to demonstrate the working of Telopy Backend #This program consist the last line of Telopy #import time #import sys #cursor = ['|','/','-','\\'] print('Telopy Server is Live ',end="") #while True: # for i in cursor: # print(i+"\x08",end="") # sys.stdout.flush() # ...
30.545455
77
0.622024
50
336
4.18
0.72
0.076555
0
0
0
0
0
0
0
0
0
0.015038
0.208333
336
11
78
30.545455
0.770677
0.827381
0
0
0
0
0.44898
0
0
0
0
0
0
1
0
true
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
3
9bd568eae938e31a435bab4745d031b937aa15ed
152
py
Python
sqlalchemy_continuum/exc.py
vhermecz/sqlalchemy-continuum
ce18c2ed4a5b7dbb2cb7b821f52ffe05f5202a38
[ "BSD-3-Clause" ]
401
2015-01-08T12:18:26.000Z
2022-03-19T03:56:02.000Z
sqlalchemy_continuum/exc.py
vhermecz/sqlalchemy-continuum
ce18c2ed4a5b7dbb2cb7b821f52ffe05f5202a38
[ "BSD-3-Clause" ]
533
2016-08-23T20:48:23.000Z
2022-03-28T15:55:13.000Z
sqlalchemy_continuum/exc.py
vhermecz/sqlalchemy-continuum
ce18c2ed4a5b7dbb2cb7b821f52ffe05f5202a38
[ "BSD-3-Clause" ]
107
2015-02-05T06:56:35.000Z
2022-03-18T10:46:16.000Z
class VersioningError(Exception): pass class ClassNotVersioned(VersioningError): pass class ImproperlyConfigured(VersioningError): pass
13.818182
44
0.776316
12
152
9.833333
0.5
0.152542
0
0
0
0
0
0
0
0
0
0
0.164474
152
10
45
15.2
0.929134
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
9bde05d25c115057286593ec3e1a8d8300305e22
1,721
py
Python
tests/test_hangul_jamo.py
jonghwanhyeon/hangul-jamo
691e79996b9d24a61f9a09225b20426613683dfb
[ "MIT" ]
16
2018-03-05T09:49:56.000Z
2022-03-11T15:17:33.000Z
tests/test_hangul_jamo.py
jonghwanhyeon/hangul-jamo
691e79996b9d24a61f9a09225b20426613683dfb
[ "MIT" ]
null
null
null
tests/test_hangul_jamo.py
jonghwanhyeon/hangul-jamo
691e79996b9d24a61f9a09225b20426613683dfb
[ "MIT" ]
3
2018-09-18T14:31:02.000Z
2020-08-04T12:52:22.000Z
import pytest from hangul_jamo import is_syllable, is_jamo_character, compose_jamo_characters, decompose_syllable, compose, decompose def test_is_syllable(): assert is_syllable('가') assert is_syllable('갛') assert is_syllable('힣') def test_is_not_syllable(): assert not is_syllable('0') assert not ...
40.97619
246
0.737943
235
1,721
5.07234
0.191489
0.10906
0.113255
0.07047
0.479027
0.425336
0.35906
0.308725
0.308725
0.308725
0
0.001374
0.15398
1,721
41
247
41.97561
0.833791
0
0
0
0
0
0.322487
0
0
0
0
0
0.6875
1
0.25
true
0
0.0625
0
0.3125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
1
0
0
0
0
0
0
3
9be177b8f9301fd2edcb0c10952403efd679462e
1,148
py
Python
blog/migrations/0005_alter_category_create_at_alter_category_published_and_more.py
robsonleal/django_blog
5ceced11ea73a43e4e5b95a15cd424805564da99
[ "MIT" ]
null
null
null
blog/migrations/0005_alter_category_create_at_alter_category_published_and_more.py
robsonleal/django_blog
5ceced11ea73a43e4e5b95a15cd424805564da99
[ "MIT" ]
null
null
null
blog/migrations/0005_alter_category_create_at_alter_category_published_and_more.py
robsonleal/django_blog
5ceced11ea73a43e4e5b95a15cd424805564da99
[ "MIT" ]
null
null
null
# Generated by Django 4.0.3 on 2022-03-24 14:57 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('blog', '0004_category_post_image_post_subtitle_alter_post_author_and_more'), ] operations = [ migrations.AlterF...
28.7
86
0.594948
114
1,148
5.789474
0.412281
0.151515
0.189394
0.219697
0.675758
0.675758
0.501515
0.439394
0.439394
0.439394
0
0.023544
0.297038
1,148
39
87
29.435897
0.7943
0.039199
0
0.69697
1
0
0.129882
0.059037
0
0
0
0
0
1
0
false
0
0.060606
0
0.151515
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9be328d67c2bf6f075657ebe3726a9e02df4e7fc
129
py
Python
pasedelista/clases/urls.py
ElForaneo/Pase-de-lsita
91b3329aedfd85be9f9c28491a5638a698ee4f5e
[ "Apache-2.0" ]
null
null
null
pasedelista/clases/urls.py
ElForaneo/Pase-de-lsita
91b3329aedfd85be9f9c28491a5638a698ee4f5e
[ "Apache-2.0" ]
null
null
null
pasedelista/clases/urls.py
ElForaneo/Pase-de-lsita
91b3329aedfd85be9f9c28491a5638a698ee4f5e
[ "Apache-2.0" ]
null
null
null
#clases urls.py from django.urls import path from .views import * urlpatterns= [ path('',clases.as_view(), name="clases") ]
16.125
44
0.689922
18
129
4.888889
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.155039
129
8
45
16.125
0.807339
0.108527
0
0
0
0
0.052174
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
501170e4b3a36167d3afd2a9744ef32d76116f24
87
py
Python
lankuai/lankuai/lkitsm/web2/lkweb2/apps.py
abiner/lankuai
55a3631528acf1c46a471cb0616e28a5396faab5
[ "MIT" ]
null
null
null
lankuai/lankuai/lkitsm/web2/lkweb2/apps.py
abiner/lankuai
55a3631528acf1c46a471cb0616e28a5396faab5
[ "MIT" ]
null
null
null
lankuai/lankuai/lkitsm/web2/lkweb2/apps.py
abiner/lankuai
55a3631528acf1c46a471cb0616e28a5396faab5
[ "MIT" ]
null
null
null
from django.apps import AppConfig class Lkweb2Config(AppConfig): name = 'lkweb2'
14.5
33
0.747126
10
87
6.5
0.9
0
0
0
0
0
0
0
0
0
0
0.027778
0.172414
87
5
34
17.4
0.875
0
0
0
0
0
0.068966
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
5013aafc425240bfb14f38efda0e528e14e940ac
352
py
Python
cogdl/wrappers/data_wrapper/heterogeneous/multiplex_embedding_dw.py
li-ziang/cogdl
60022d3334e3abae2d2a505e6e049a26acf10f39
[ "MIT" ]
6
2020-07-09T02:48:41.000Z
2021-06-16T09:04:14.000Z
cogdl/wrappers/data_wrapper/heterogeneous/multiplex_embedding_dw.py
li-ziang/cogdl
60022d3334e3abae2d2a505e6e049a26acf10f39
[ "MIT" ]
null
null
null
cogdl/wrappers/data_wrapper/heterogeneous/multiplex_embedding_dw.py
li-ziang/cogdl
60022d3334e3abae2d2a505e6e049a26acf10f39
[ "MIT" ]
1
2020-05-19T11:45:45.000Z
2020-05-19T11:45:45.000Z
from .. import DataWrapper class MultiplexEmbeddingDataWrapper(DataWrapper): def __init__(self, dataset): super(MultiplexEmbeddingDataWrapper, self).__init__() self.dataset = dataset def train_wrapper(self): return self.dataset.data.train_data def test_wrapper(self): ret...
23.466667
61
0.715909
37
352
6.486486
0.405405
0.183333
0.125
0.175
0.266667
0.266667
0
0
0
0
0
0
0.201705
352
14
62
25.142857
0.854093
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.111111
0.222222
0.777778
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
5035b43eb78b4a48f68c646217a6f129dc6a6e92
310
py
Python
services/tasks/chrono_task.py
jpfranci/StockChecker
cf56dfb7716f3e9944a5f70d8decbc28778c8e4e
[ "MIT" ]
1
2021-01-11T10:40:58.000Z
2021-01-11T10:40:58.000Z
services/tasks/chrono_task.py
jpfranci/StockChecker
cf56dfb7716f3e9944a5f70d8decbc28778c8e4e
[ "MIT" ]
null
null
null
services/tasks/chrono_task.py
jpfranci/StockChecker
cf56dfb7716f3e9944a5f70d8decbc28778c8e4e
[ "MIT" ]
null
null
null
import time class ChronoTask: # interval is in minutes def __init__(self, interval): self.interval = interval def execute(self): raise Exception("Execute for task not implemented") @staticmethod def format_time(): return time.strftime('%Y%m%d-%H%M')
22.142857
60
0.619355
37
310
5.054054
0.702703
0.128342
0
0
0
0
0
0
0
0
0
0
0.283871
310
14
61
22.142857
0.842342
0.070968
0
0
0
0
0.156934
0
0
0
0
0
0
1
0.333333
false
0
0.111111
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
503a8c8c75da7e20611049ade55158d407b151e9
188
py
Python
examples/transmitter/swagger_server/test/__init__.py
duo-labs/sharedsignals
15345e78c39a86fc6bafab642aca58a12cf57ef2
[ "BSD-3-Clause" ]
12
2021-12-01T00:16:25.000Z
2022-02-09T06:49:23.000Z
examples/transmitter/swagger_server/controllers/__init__.py
duo-labs/sharedsignals
15345e78c39a86fc6bafab642aca58a12cf57ef2
[ "BSD-3-Clause" ]
7
2021-11-30T19:04:40.000Z
2022-02-04T17:16:39.000Z
examples/transmitter/swagger_server/__init__.py
duo-labs/sharedsignals
15345e78c39a86fc6bafab642aca58a12cf57ef2
[ "BSD-3-Clause" ]
3
2022-02-13T16:23:07.000Z
2022-03-15T22:31:06.000Z
# Copyright (c) 2021 Cisco Systems, Inc. and its affiliates # All rights reserved. # Use of this source code is governed by a BSD 3-Clause License # that can be found in the LICENSE file.
37.6
63
0.75
33
188
4.272727
0.969697
0
0
0
0
0
0
0
0
0
0
0.032895
0.191489
188
4
64
47
0.894737
0.952128
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
5040ed46ec22f170620ba6302c2222882f05d6f2
1,189
py
Python
nvbclient/crypto.py
XertroV/nvbclient
a1158824d99a527d7e3563864b144fd96b6b9e43
[ "MIT" ]
7
2015-05-14T01:08:06.000Z
2018-09-10T07:06:51.000Z
nvbclient/crypto.py
XertroV/nvbclient
a1158824d99a527d7e3563864b144fd96b6b9e43
[ "MIT" ]
7
2015-05-14T04:35:03.000Z
2016-05-29T15:12:27.000Z
nvbclient/crypto.py
XertroV/nvbclient
a1158824d99a527d7e3563864b144fd96b6b9e43
[ "MIT" ]
4
2015-04-09T23:11:16.000Z
2018-03-12T10:02:29.000Z
from base64 import b64encode from cryptography.hazmat.primitives import hashes from cryptography.hazmat.primitives.kdf.pbkdf2 import PBKDF2HMAC from cryptography.hazmat.backends import default_backend ''' THIS FILE IS NOT WHERE MOST CRYPTO SHOULD GO! Most crypto used in nvb-client will be imported from the `cryptogra...
33.027778
80
0.783852
180
1,189
5.105556
0.494444
0.052231
0.071817
0.069641
0
0
0
0
0
0
0
0.021956
0.157275
1,189
35
81
33.971429
0.89521
0.079058
0
0
0
0
0
0
0
0
0
0
0
1
0.176471
false
0.235294
0.235294
0.176471
0.588235
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
1
1
0
0
3
5062993210f3afbbaa0fd6cb34d2b0e4c842655d
160
py
Python
tests/test_device.py
florin-rosca-us/easylap-server
9f938f67fd7b1ace7e1955a3a6f69254feb94cc0
[ "Apache-2.0" ]
null
null
null
tests/test_device.py
florin-rosca-us/easylap-server
9f938f67fd7b1ace7e1955a3a6f69254feb94cc0
[ "Apache-2.0" ]
null
null
null
tests/test_device.py
florin-rosca-us/easylap-server
9f938f67fd7b1ace7e1955a3a6f69254feb94cc0
[ "Apache-2.0" ]
null
null
null
# Reading from a EasyLap device. from easylap import EasyLapDevice easylap = EasyLapDevice() easylap.receive(lambda t, c: print('t: {}, c: {}'.format(t, c)))
26.666667
65
0.7
22
160
5.090909
0.590909
0.053571
0
0
0
0
0
0
0
0
0
0
0.14375
160
6
65
26.666667
0.817518
0.1875
0
0
0
0
0.093023
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
aca07400252518d6e8ae6d6d3d108322883a75c1
490
py
Python
tests/eureka/server/server_config_test.py
haribo0915/Spring-Cloud-in-Python
0bcd7093869c797df14428bf2d1b0a779f96e573
[ "Apache-2.0" ]
5
2020-10-06T09:48:23.000Z
2020-10-07T13:19:46.000Z
tests/eureka/server/server_config_test.py
haribo0915/Spring-Cloud-in-Python
0bcd7093869c797df14428bf2d1b0a779f96e573
[ "Apache-2.0" ]
5
2020-10-05T09:57:01.000Z
2020-10-12T19:52:48.000Z
tests/eureka/server/server_config_test.py
haribo0915/Spring-Cloud-in-Python
0bcd7093869c797df14428bf2d1b0a779f96e573
[ "Apache-2.0" ]
8
2020-10-05T06:34:49.000Z
2020-10-07T13:19:46.000Z
# -*- coding: utf-8 -*- __author__ = "Daniel1147 (sxn91401@gmail.com)" __license__ = "Apache 2.0" # scip plugin from eureka.server.server_config import DefaultServerConfig class TestServerConfig: def test_default_server_config(self): default_server_config = DefaultServerConfig() assert default_s...
27.222222
59
0.702041
62
490
5.225806
0.5
0.222222
0.29321
0.212963
0.287037
0.179012
0.179012
0.179012
0
0
0
0.070175
0.185714
490
17
60
28.823529
0.741855
0.112245
0
0
0
0
0.153132
0
0
0
0
0
0.222222
1
0.111111
false
0
0.111111
0
0.333333
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
acb25166f6f4ee16e353b4d4687b4f6ff6f6b95d
98
py
Python
conf/base_url_conf.py
HarshCasper/AutoTran
1e6da3fe7dc535e0bc44a20ddeb223f642da6f7c
[ "MIT" ]
2
2020-08-15T09:06:11.000Z
2020-08-24T06:20:23.000Z
conf/base_url_conf.py
rohit679/automating_trainer
b324a929d58b3a1e96e1929290344305557a2b30
[ "MIT" ]
null
null
null
conf/base_url_conf.py
rohit679/automating_trainer
b324a929d58b3a1e96e1929290344305557a2b30
[ "MIT" ]
null
null
null
""" Conf file for base_url """ base_url = "http://qxf2trainer.pythonanywhere.com/accounts/login/"
19.6
66
0.734694
13
98
5.384615
0.846154
0.2
0
0
0
0
0
0
0
0
0
0.011236
0.091837
98
4
67
24.5
0.775281
0.22449
0
0
0
0
0.779412
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
acb8e83d407776c675887f02ac7df0ffb34d2309
124
py
Python
src/validates.py
ryoma116/twitter-api-utils
523be569302afe3732460db0be75707227c4367f
[ "MIT" ]
null
null
null
src/validates.py
ryoma116/twitter-api-utils
523be569302afe3732460db0be75707227c4367f
[ "MIT" ]
14
2021-05-03T05:36:52.000Z
2021-05-04T05:22:25.000Z
src/validates.py
ryoma116/twivisu
523be569302afe3732460db0be75707227c4367f
[ "MIT" ]
null
null
null
from .errors import TweetNotFoundError def validate_tweet_exists(df): if df.empty: raise TweetNotFoundError()
17.714286
38
0.741935
14
124
6.428571
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.193548
124
6
39
20.666667
0.9
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
acc4a38ffcc0e3529adedcfd08328395de8955e4
4,991
py
Python
views/pages/nav/fg-compiler-hu-ver.py
littyboiconnor/Peterose
47ac75415047fb824ebee4ed81dad44b63e4e84b
[ "MIT" ]
124
2021-06-05T22:53:14.000Z
2022-03-22T04:34:15.000Z
views/pages/nav/fg-compiler-hu-ver.py
littyboiconnor/Peterose
47ac75415047fb824ebee4ed81dad44b63e4e84b
[ "MIT" ]
167
2021-06-07T01:35:41.000Z
2022-03-21T19:21:00.000Z
views/pages/nav/fg-compiler-hu-ver.py
littyboiconnor/Peterose
47ac75415047fb824ebee4ed81dad44b63e4e84b
[ "MIT" ]
635
2021-06-08T16:09:30.000Z
2022-03-22T03:51:48.000Z
import os, random, math outindex = "flash-out.html" breaker = "<wbr>" breakerFrequency = 4 # lower number = more common alist = ''' <a class="glink" href="#">%s</a>''' # Make flash lists # Just a premade list for now flash_1 = ['1on1soccer.swf', '3dtanks.swf', 'abobosbigadventure.swf', ...
138.638889
4,075
0.728712
557
4,991
6.518851
0.502693
0.004957
0.003305
0.006059
0.00661
0
0
0
0
0
0
0.023588
0.074133
4,991
36
4,076
138.638889
0.762173
0.024845
0
0
0
0
0.684081
0.180173
0
0
0
0
0
1
0.125
false
0
0.041667
0
0.291667
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
acc52f4b5458c8c87835ae78cbd9110689d4dae7
865
py
Python
notebooks/designpatterns/abstractfactory.py
codenamewei/pydata-science-playground
aa147b003aa4bd2afa2a6a5f00101cc0cb340f9f
[ "MIT" ]
null
null
null
notebooks/designpatterns/abstractfactory.py
codenamewei/pydata-science-playground
aa147b003aa4bd2afa2a6a5f00101cc0cb340f9f
[ "MIT" ]
null
null
null
notebooks/designpatterns/abstractfactory.py
codenamewei/pydata-science-playground
aa147b003aa4bd2afa2a6a5f00101cc0cb340f9f
[ "MIT" ]
null
null
null
import random class CourseBook: def __init__(self, course = None): self._counter = course def getcourse(self): return self._counter() class Calculus: def __str__(self): return "Calculus" def getinfo(self,): return "Calculus info" clas...
15.175439
60
0.578035
85
865
5.552941
0.341176
0.148305
0.063559
0.101695
0
0
0
0
0
0
0
0.003442
0.328324
865
56
61
15.446429
0.80895
0
0
0.178571
0
0
0.095297
0
0
0
0
0
0
1
0.321429
false
0
0.035714
0.285714
0.785714
0.035714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
ace48313242fdc2835e65b4e9bab7c284cd9524f
202
py
Python
modular_provider_architecture_definition/tests/cases/modular_provider_architecture/modular_provider_architecture/module_runtime/run.py
Incognito/python-architecture-linter
534e1508aaa46920b31601f8fffbb0f132844883
[ "MIT" ]
5
2021-06-30T09:33:09.000Z
2021-08-18T12:20:32.000Z
modular_provider_architecture_definition/tests/cases/modular_provider_architecture/modular_provider_architecture/module_runtime/run.py
Incognito/python-architecture-linter
534e1508aaa46920b31601f8fffbb0f132844883
[ "MIT" ]
45
2021-06-27T10:35:43.000Z
2022-03-28T04:09:05.000Z
modular_provider_architecture_definition/tests/cases/modular_provider_architecture/modular_provider_architecture/module_runtime/run.py
Incognito/python-architecture-linter
534e1508aaa46920b31601f8fffbb0f132844883
[ "MIT" ]
1
2021-07-04T15:48:00.000Z
2021-07-04T15:48:00.000Z
from modular_provider_architecture.module_runtime.provider import RuntimeProvider if __name__ == "__main__": provider = RuntimeProvider() runtime = provider.provide_runtime() runtime.run()
28.857143
81
0.777228
20
202
7.25
0.65
0.206897
0
0
0
0
0
0
0
0
0
0
0.138614
202
6
82
33.666667
0.833333
0
0
0
0
0
0.039604
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
acf3ef2cf59b60d2d9b5ea7981d3868bcb195dc2
293
py
Python
vol2/78.py
EdisonAlgorithms/ProjectEuler
95025ede2c92dbd3ed2dccc0f8a97e9a3db95ef0
[ "MIT" ]
null
null
null
vol2/78.py
EdisonAlgorithms/ProjectEuler
95025ede2c92dbd3ed2dccc0f8a97e9a3db95ef0
[ "MIT" ]
null
null
null
vol2/78.py
EdisonAlgorithms/ProjectEuler
95025ede2c92dbd3ed2dccc0f8a97e9a3db95ef0
[ "MIT" ]
null
null
null
if __name__ == '__main__': k = sum([[i * (3 * i - 1) / 2, i * (3 * i - 1) / 2 + i] for i in range(1, 250)], []) n = 0 m = 1e6 p = [1] sgn = [1, 1, -1, -1] while p[n] > 0: n += 1 px = 0 i = 0 while k[i] <= n: px += p[n - k[i]] * sgn[i % 4] i += 1 p.append(px % m) print n
19.533333
85
0.392491
63
293
1.698413
0.380952
0.056075
0.056075
0.074766
0.102804
0.102804
0
0
0
0
0
0.126316
0.351536
293
15
86
19.533333
0.436842
0
0
0
0
0
0.027211
0
0
0
0
0
0
0
null
null
0
0
null
null
0.066667
0
0
1
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
1
0
0
0
0
0
0
0
0
3
4a1e33cea933d5c3a1089d13cc6ee90e4658a5ba
553
py
Python
server/lib/python/cartodb_services/cartodb_services/refactor/backend/server_config.py
digideskio/dataservices-api
246ec135dbeaa3f9a52717fdac50a4ab040ce22b
[ "BSD-3-Clause" ]
22
2016-03-11T17:33:31.000Z
2021-02-22T04:00:43.000Z
server/lib/python/cartodb_services/cartodb_services/refactor/backend/server_config.py
digideskio/dataservices-api
246ec135dbeaa3f9a52717fdac50a4ab040ce22b
[ "BSD-3-Clause" ]
338
2016-02-16T16:13:13.000Z
2022-03-30T15:50:17.000Z
server/lib/python/cartodb_services/cartodb_services/refactor/backend/server_config.py
CartoDB/dataservices-api
d0f28cc002ef11df9f371d5d1fd2d0901c245f97
[ "BSD-3-Clause" ]
14
2016-09-22T15:29:33.000Z
2021-02-08T03:46:40.000Z
from cartodb_services.refactor.storage.server_config import InDbServerConfigStorage class ServerConfigBackendFactory(object): """ This class creates a backend to retrieve server configurations (implementing the ConfigBackendInterface). At this moment it will always return an InDbServerConfigStorage, but ...
39.5
109
0.777577
64
553
6.6875
0.78125
0
0
0
0
0
0
0
0
0
0
0
0.177215
553
13
110
42.538462
0.940659
0.600362
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
4a25f58d9111ba38b578740fd6a1a04f9c5f586d
331
py
Python
238_Product of Array Except Self.py
carryking1988/carryleetcode
9d6b353e8f235219d0b9e4feb131bfea6fe3ef21
[ "MIT" ]
null
null
null
238_Product of Array Except Self.py
carryking1988/carryleetcode
9d6b353e8f235219d0b9e4feb131bfea6fe3ef21
[ "MIT" ]
null
null
null
238_Product of Array Except Self.py
carryking1988/carryleetcode
9d6b353e8f235219d0b9e4feb131bfea6fe3ef21
[ "MIT" ]
null
null
null
# Given an integer array nums, return an array answer such that answer[i] is equal to the product of all the elements of nums except nums[i]. # # The product of any prefix or suffix of nums is guaranteed to fit in a 32-bit integer. # # You must write an algorithm that runs in O(n) time and without using the division op...
47.285714
141
0.755287
62
331
4.032258
0.677419
0.08
0.096
0
0
0
0
0
0
0
0
0.007491
0.193353
331
6
142
55.166667
0.928839
0.960725
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
c579b53ba07b1adce232b31762d0a0f4873f6f34
37,049
py
Python
pysnmp-with-texts/CNTEXT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/CNTEXT-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/CNTEXT-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 CNTEXT-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CNTEXT-MIB # Produced by pysmi-0.3.4 at Wed May 1 12:25:29 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:...
134.235507
3,194
0.784259
4,326
37,049
6.716135
0.136616
0.071866
0.125766
0.01184
0.532904
0.337957
0.282853
0.265609
0.249363
0.242789
0
0.057739
0.083295
37,049
275
3,195
134.723636
0.797721
0.008475
0
0
0
0.014925
0.227332
0.001797
0
0
0
0
0
1
0
false
0.141791
0.026119
0
0.026119
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
c57e6fdfd56bd74b0bf1ece20f1077901b0fc2c1
275
py
Python
tools/dict_manipulator.py
MindSet-WorkSpace/LMSTools
9d39bae49182049400cdcf5ab728f23d7c707c68
[ "MIT" ]
null
null
null
tools/dict_manipulator.py
MindSet-WorkSpace/LMSTools
9d39bae49182049400cdcf5ab728f23d7c707c68
[ "MIT" ]
1
2021-10-15T22:49:29.000Z
2021-10-30T10:42:58.000Z
tools/dict_manipulator.py
MindSet-WorkSpace/LMSTools
9d39bae49182049400cdcf5ab728f23d7c707c68
[ "MIT" ]
null
null
null
def get_dict_pos(lst, key, value): return next((index for (index, d) in enumerate(lst) if d[key] == value), None) def search_engine(search_term, data_key, data): a = filter(lambda search_found: search_term in search_found[data_key], data) return list(a)
34.375
83
0.694545
45
275
4.044444
0.555556
0.087912
0.120879
0
0
0
0
0
0
0
0
0
0.185455
275
7
84
39.285714
0.8125
0
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0
0.2
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
c59aca98b0fe2dd3ac53f2d7ff37a4cfb439af28
1,850
py
Python
release/stubs.min/System/ComponentModel/__init___parts/DefaultBindingPropertyAttribute.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
release/stubs.min/System/ComponentModel/__init___parts/DefaultBindingPropertyAttribute.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
release/stubs.min/System/ComponentModel/__init___parts/DefaultBindingPropertyAttribute.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
class DefaultBindingPropertyAttribute: """ Specifies the default binding property for a component. This class cannot be inherited. DefaultBindingPropertyAttribute() DefaultBindingPropertyAttribute(name: str) """ def ZZZ(self): """hardcoded/mock instance of the class""" return DefaultBindingPrope...
34.259259
215
0.718919
213
1,850
5.943662
0.375587
0.022117
0.120853
0.045024
0.274092
0.229858
0.089258
0.089258
0.089258
0.089258
0
0.001313
0.176757
1,850
53
216
34.90566
0.829941
0.551892
0
0.315789
0
0
0
0
0
0
0
0
0
1
0.368421
false
0.315789
0
0
0.631579
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
c5d0733bcb53877707aef3217cf62f0c664a9f4c
242
py
Python
test.py
heytanay/enigma-torch
0e595cd7adba84757aa1f448e8b3c72a09cb1fa2
[ "MIT" ]
1
2021-05-05T14:09:47.000Z
2021-05-05T14:09:47.000Z
test.py
heytanay/enigma-torch
0e595cd7adba84757aa1f448e8b3c72a09cb1fa2
[ "MIT" ]
null
null
null
test.py
heytanay/enigma-torch
0e595cd7adba84757aa1f448e8b3c72a09cb1fa2
[ "MIT" ]
null
null
null
import os import platform import warnings import numpy as np import torch from torch.cuda import CudaError import torch.nn as nn import torch.nn.functional as F print(np.__version__) print(torch.__version__) print(torch.cuda.is_available())
18.615385
32
0.818182
39
242
4.846154
0.461538
0.174603
0.137566
0
0
0
0
0
0
0
0
0
0.115702
242
13
33
18.615385
0.883178
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.727273
0
0.727273
0.272727
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
1
0
1
0
0
3
c5d9b786a2455ef869b684189d821e7fef09cabe
2,137
py
Python
plugins/cisco_firepower_management_center/icon_cisco_firepower_management_center/connection/schema.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
46
2019-06-05T20:47:58.000Z
2022-03-29T10:18:01.000Z
plugins/cisco_firepower_management_center/icon_cisco_firepower_management_center/connection/schema.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
386
2019-06-07T20:20:39.000Z
2022-03-30T17:35:01.000Z
plugins/cisco_firepower_management_center/icon_cisco_firepower_management_center/connection/schema.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
43
2019-07-09T14:13:58.000Z
2022-03-28T12:04:46.000Z
# GENERATED BY KOMAND SDK - DO NOT EDIT import komand import json class Input: DOMAIN = "domain" PORT = "port" SERVER = "server" SSL_VERIFY = "ssl_verify" USERNAME_AND_PASSWORD = "username_and_password" class ConnectionSchema(komand.Input): schema = json.loads(""" { "type": "object"...
23.744444
64
0.533458
190
2,137
5.847368
0.378947
0.079208
0.136814
0.066607
0
0
0
0
0
0
0
0.006752
0.306972
2,137
89
65
24.011236
0.743417
0.017314
0
0.168675
1
0
0.85796
0.083413
0
0
0
0
0
1
0.012048
false
0.192771
0.024096
0
0.13253
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
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
68090b12a46cb47a822dd0a3bd043067925ab3fc
189
py
Python
fpgaedu/hdl/_clockgen.py
fpgaedu/controller-nexys4
7d9399444feedb17663d391c9770b415e6baa163
[ "Apache-2.0" ]
null
null
null
fpgaedu/hdl/_clockgen.py
fpgaedu/controller-nexys4
7d9399444feedb17663d391c9770b415e6baa163
[ "Apache-2.0" ]
null
null
null
fpgaedu/hdl/_clockgen.py
fpgaedu/controller-nexys4
7d9399444feedb17663d391c9770b415e6baa163
[ "Apache-2.0" ]
null
null
null
from myhdl import delay, always def ClockGen(clk, half_period): interval = delay(half_period) @always(interval) def logic(): clk.next = not clk return logic
15.75
33
0.640212
24
189
4.958333
0.625
0.168067
0
0
0
0
0
0
0
0
0
0
0.275132
189
11
34
17.181818
0.868613
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
68096ffe37c289efb451975adf271e2850eda85c
27,345
py
Python
code/EthicAssessmentSoftware/views.py
FelixOliverLange/ethikbackend
3fd2ad6c2953966254841fb770b482c7f7741791
[ "BSD-3-Clause" ]
null
null
null
code/EthicAssessmentSoftware/views.py
FelixOliverLange/ethikbackend
3fd2ad6c2953966254841fb770b482c7f7741791
[ "BSD-3-Clause" ]
2
2021-06-10T20:36:01.000Z
2021-09-22T19:44:05.000Z
code/EthicAssessmentSoftware/views.py
FelixOliverLange/ethikbackend
3fd2ad6c2953966254841fb770b482c7f7741791
[ "BSD-3-Clause" ]
null
null
null
from django.shortcuts import render from django.http.response import JsonResponse from rest_framework import status from rest_framework.parsers import JSONParser from rest_framework.decorators import api_view from drf_yasg import openapi from drf_yasg.utils import swagger_auto_schema from EthicAssessmentSoftware.models...
57.568421
200
0.735637
3,218
27,345
6.071784
0.075202
0.065408
0.057321
0.044219
0.836634
0.79088
0.723681
0.691898
0.577307
0.544859
0
0.019897
0.158237
27,345
475
201
57.568421
0.82896
0.175133
0
0.510836
0
0
0.16456
0.000979
0
0
0
0.002105
0
1
0.037152
false
0
0.027864
0
0.28483
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
680996d2d16f404dfb787d8fe463d829af7cfee5
886
py
Python
sample/Testing.py
sbkshetry/StatsPyDistribution
1524cfde502a9cc74974e4d8723712fe817bccb7
[ "Apache-2.0" ]
null
null
null
sample/Testing.py
sbkshetry/StatsPyDistribution
1524cfde502a9cc74974e4d8723712fe817bccb7
[ "Apache-2.0" ]
null
null
null
sample/Testing.py
sbkshetry/StatsPyDistribution
1524cfde502a9cc74974e4d8723712fe817bccb7
[ "Apache-2.0" ]
null
null
null
import math import platform from src.NormalDistribution import NormalDistribution as ND from src.RectangularDistribution import RectangularDistribution as RD from src.TriangularDistribution import TriangularDistribution as TD from src.SymmetricTriangularDistribution import SymmetricTriangularDistribution as STD from s...
26.848485
86
0.77088
117
886
5.692308
0.324786
0.052553
0.135135
0.157658
0.175676
0
0
0
0
0
0
0.012594
0.103837
886
32
87
27.6875
0.826196
0.515801
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
a83ddf3a786de2854bfade9865299ba0bd161835
96
py
Python
ncsales/__init__.py
AlexLisovoy/ncsales
828c72e77b14dfa64cb727014bf39ce4e2837ce9
[ "MIT" ]
null
null
null
ncsales/__init__.py
AlexLisovoy/ncsales
828c72e77b14dfa64cb727014bf39ce4e2837ce9
[ "MIT" ]
1
2017-12-14T06:31:35.000Z
2017-12-14T06:31:35.000Z
ncsales/__init__.py
AlexLisovoy/ncsales
828c72e77b14dfa64cb727014bf39ce4e2837ce9
[ "MIT" ]
null
null
null
__version__ = '0.0.1' from .cli import * # noqa __all__ = (cli.__all__ + ('__version__',))
12
42
0.614583
12
96
3.583333
0.666667
0
0
0
0
0
0
0
0
0
0
0.038961
0.197917
96
7
43
13.714286
0.519481
0.041667
0
0
0
0
0.177778
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
a84b4e76ee55109951047fcfd7ac57cc2d504ed8
3,474
py
Python
src/nti/zope_catalog/interfaces.py
NextThought/nti.zope_catalog
76ec34e810c79b06b399f444054fcdc26d645f3e
[ "Apache-2.0" ]
null
null
null
src/nti/zope_catalog/interfaces.py
NextThought/nti.zope_catalog
76ec34e810c79b06b399f444054fcdc26d645f3e
[ "Apache-2.0" ]
8
2017-06-08T17:06:12.000Z
2021-05-13T20:27:20.000Z
src/nti/zope_catalog/interfaces.py
NextThought/nti.zope_catalog
76ec34e810c79b06b399f444054fcdc26d645f3e
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Interfaces related to catalogs. """ from __future__ import absolute_import from __future__ import division from __future__ import print_function from zc.catalog.interfaces import ISetIndex as IZCSetIndex from zc.catalog.interfaces import IValueIndex as IZCValueIndex ...
28.243902
72
0.736903
412
3,474
6.128641
0.429612
0.047921
0.047525
0.049505
0.084356
0
0
0
0
0
0
0.001762
0.183074
3,474
122
73
28.47541
0.887949
0.468912
0
0.105263
0
0
0.01861
0
0
0
0
0
0
1
0.131579
false
0.105263
0.421053
0
0.789474
0.026316
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
1
0
1
0
0
3
a86393c9136cb7d2f7878d6fa6c029b1fc8e6629
21
py
Python
__init__.py
danpovey/kaldi10feat
62955e570e8e1646298cf533acda22a0fa82ddde
[ "MIT" ]
5
2019-07-31T10:23:18.000Z
2020-04-22T01:57:09.000Z
__init__.py
danpovey/kaldi10feat
62955e570e8e1646298cf533acda22a0fa82ddde
[ "MIT" ]
null
null
null
__init__.py
danpovey/kaldi10feat
62955e570e8e1646298cf533acda22a0fa82ddde
[ "MIT" ]
3
2019-07-31T07:23:44.000Z
2019-10-01T07:48:59.000Z
name = "kaldi10feat"
10.5
20
0.714286
2
21
7.5
1
0
0
0
0
0
0
0
0
0
0
0.111111
0.142857
21
1
21
21
0.722222
0
0
0
0
0
0.52381
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a87936497fe654b2718d29bdaa735c18d9527bee
308
py
Python
supervised/gradDescent/normalEqn.py
robotenique/mlAlgorithms
612d7fb2dcf4430528f63d35d6f1d10a33fee1af
[ "Unlicense" ]
4
2017-08-16T21:37:31.000Z
2022-02-10T05:37:39.000Z
supervised/gradDescent/normalEqn.py
robotenique/mlAlgorithms
612d7fb2dcf4430528f63d35d6f1d10a33fee1af
[ "Unlicense" ]
null
null
null
supervised/gradDescent/normalEqn.py
robotenique/mlAlgorithms
612d7fb2dcf4430528f63d35d6f1d10a33fee1af
[ "Unlicense" ]
null
null
null
import numpy as np def normalEqn(X,y): """ Computes the closed-form solution to linear regression normalEqn(X,y) computes the closed-form solution to linear regression using the normal equations. """ theta = np.dot(np.linalg.pinv(np.dot(X.T, X)), np.dot(X.T, y)) return theta
28
66
0.668831
49
308
4.204082
0.510204
0.072816
0.106796
0.184466
0.563107
0.563107
0.563107
0.563107
0.563107
0.563107
0
0
0.217532
308
10
67
30.8
0.854772
0.493506
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
a8a279fa4c22453339a975700786d1dac68e5ced
383
py
Python
problem/01000~09999/02718/2718.py3.py
njw1204/BOJ-AC
1de41685725ae4657a7ff94e413febd97a888567
[ "MIT" ]
1
2019-04-19T16:37:44.000Z
2019-04-19T16:37:44.000Z
problem/01000~09999/02718/2718.py3.py
njw1204/BOJ-AC
1de41685725ae4657a7ff94e413febd97a888567
[ "MIT" ]
1
2019-04-20T11:42:44.000Z
2019-04-20T11:42:44.000Z
problem/01000~09999/02718/2718.py3.py
njw1204/BOJ-AC
1de41685725ae4657a7ff94e413febd97a888567
[ "MIT" ]
3
2019-04-19T16:37:47.000Z
2021-10-25T00:45:00.000Z
dp=[[0]*5 for i in range(101)] dp[0][0]=1 dp[1][0]=1 dp[2][0]=1 dp[2][1]=1 dp[2][2]=1 dp[2][3]=1 dp[2][4]=1 for i in range(3,101): dp[i][0]=sum(dp[i-1]) dp[i][4]=sum(dp[i-2]) j=i-2 while j>=0: dp[i][1]+=sum(dp[j]) j-=2 j=i-2 while j>=0: dp[i][2]+=sum(dp[j]) dp[i][3]+=sum(dp[j]) j-=1 for...
15.958333
30
0.477807
103
383
1.776699
0.184466
0.114754
0.10929
0.180328
0.284153
0.153005
0.153005
0.153005
0.153005
0
0
0.137821
0.185379
383
24
31
15.958333
0.448718
0
0
0.173913
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.043478
0
0
1
null
0
0
1
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
3
a8ab8462cd09f625efc45f98344b2cf88cc8d4d2
132
py
Python
CodeForces/two_regular_polygons.py
Snehakri022/Competitive-Programming-Solutions
62a2cbb2d71a040d81e3e71ad6353a86007b8cb7
[ "MIT" ]
40
2020-07-25T19:35:37.000Z
2022-01-28T02:57:02.000Z
CodeForces/two_regular_polygons.py
Snehakri022/Competitive-Programming-Solutions
62a2cbb2d71a040d81e3e71ad6353a86007b8cb7
[ "MIT" ]
34
2020-10-10T17:59:46.000Z
2021-10-05T18:29:25.000Z
CodeForces/two_regular_polygons.py
Snehakri022/Competitive-Programming-Solutions
62a2cbb2d71a040d81e3e71ad6353a86007b8cb7
[ "MIT" ]
24
2020-05-03T08:11:53.000Z
2021-10-04T03:23:20.000Z
t = int(input()) for i in range(t): n, m = list(map(int, input().split())) if(n%m == 0): print("YES") else: print("NO")
16.5
42
0.507576
24
132
2.791667
0.75
0.238806
0
0
0
0
0
0
0
0
0
0.009804
0.227273
132
7
43
18.857143
0.647059
0
0
0
0
0
0.037879
0
0
0
0
0
0
1
0
false
0
0
0
0
0.285714
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a8b11db62257d8938e3557784fa59059b9ac0e6c
223
py
Python
trivium/egesters/__init__.py
TripleDotEng/trivium-cli
4291ed1d71d728ac3c0c738f7367f21521e393f4
[ "MIT" ]
null
null
null
trivium/egesters/__init__.py
TripleDotEng/trivium-cli
4291ed1d71d728ac3c0c738f7367f21521e393f4
[ "MIT" ]
null
null
null
trivium/egesters/__init__.py
TripleDotEng/trivium-cli
4291ed1d71d728ac3c0c738f7367f21521e393f4
[ "MIT" ]
null
null
null
""" Copyright 2021 Triple Dot Engineering LLC """ from .json_egester import JSONEgester from .yaml_egester import YamlEgester from .api_egester import TriviumEgester EGESTERS = [JSONEgester, YamlEgester, TriviumEgester]
20.272727
53
0.811659
25
223
7.12
0.64
0.219101
0
0
0
0
0
0
0
0
0
0.020513
0.125561
223
10
54
22.3
0.892308
0.183857
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
a8b754c8aa5e3eafb96b77799f02412ed2f81184
103
py
Python
Python/Problems/Order!/task.py
victoroliveros/Hyperskill
bd0f81d7479fc210e4b3e36e993bf93f1815b239
[ "MIT" ]
4
2020-08-07T06:24:00.000Z
2021-01-23T14:40:35.000Z
Python/Problems/Order!/task.py
victoroliveros/Hyperskill
bd0f81d7479fc210e4b3e36e993bf93f1815b239
[ "MIT" ]
null
null
null
Python/Problems/Order!/task.py
victoroliveros/Hyperskill
bd0f81d7479fc210e4b3e36e993bf93f1815b239
[ "MIT" ]
1
2020-09-20T11:48:16.000Z
2020-09-20T11:48:16.000Z
a, b, c = (int(input()) for i in range(3)) if a <= b <= c: print("True") else: print("False")
14.714286
42
0.495146
19
103
2.684211
0.789474
0.078431
0.117647
0
0
0
0
0
0
0
0
0.013158
0.262136
103
6
43
17.166667
0.657895
0
0
0
0
0
0.087379
0
0
0
0
0
0
1
0
true
0
0
0
0
0.4
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
a8bbcec369f073d5efe4496faedd8fa8cca24611
2,060
py
Python
data/transcoder_evaluation_gfg/python/GIVEN_A_SORTED_AND_ROTATED_ARRAY_FIND_IF_THERE_IS_A_PAIR_WITH_A_GIVEN_SUM_1.py
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
241
2021-07-20T08:35:20.000Z
2022-03-31T02:39:08.000Z
data/transcoder_evaluation_gfg/python/GIVEN_A_SORTED_AND_ROTATED_ARRAY_FIND_IF_THERE_IS_A_PAIR_WITH_A_GIVEN_SUM_1.py
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
49
2021-07-22T23:18:42.000Z
2022-03-24T09:15:26.000Z
data/transcoder_evaluation_gfg/python/GIVEN_A_SORTED_AND_ROTATED_ARRAY_FIND_IF_THERE_IS_A_PAIR_WITH_A_GIVEN_SUM_1.py
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
71
2021-07-21T05:17:52.000Z
2022-03-29T23:49:28.000Z
# Copyright (c) 2019-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. # def f_gold ( arr , n , x ) : for i in range ( n ) : if arr [ i ] > arr [ i + 1 ] : break l = ( i + 1...
43.829787
180
0.421845
414
2,060
2.057971
0.316425
0.105634
0.144366
0.178404
0.122066
0.09507
0.09507
0.09507
0.09507
0.09507
0
0.331121
0.341748
2,060
47
181
43.829787
0.297198
0.089806
0
0.108108
0
0
0.012848
0
0
0
0
0
0
1
0.027027
false
0
0
0
0.081081
0.027027
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a8d58abace817f482f6e7f81925ec6e56e36487f
783
py
Python
019.py
liuyang1/euler
ba6c79b3f809711eec07a7843ec60c86990564d1
[ "MIT" ]
null
null
null
019.py
liuyang1/euler
ba6c79b3f809711eec07a7843ec60c86990564d1
[ "MIT" ]
null
null
null
019.py
liuyang1/euler
ba6c79b3f809711eec07a7843ec60c86990564d1
[ "MIT" ]
null
null
null
ruleMonth = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31] def isleap(y): return (y % 4 == 0 and y % 100 != 0) or (y % 400 == 0) def format(d): if isleap(d[0]): ruleMonth[2-1] = 29 else: ruleMonth[2-1] = 28 if d[2] > ruleMonth[d[1]-1]: d[1], d[2] = d[1]+1, 1...
18.209302
58
0.401022
151
783
2.07947
0.231788
0.050955
0.076433
0.038217
0.203822
0.070064
0.070064
0
0
0
0
0.2173
0.394636
783
42
59
18.642857
0.445148
0
0
0.194444
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.027778
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
76452818c880a7d192c75a2c94e949c5eefacefe
359
py
Python
buildkit/__main__.py
tommienu/ungoogled-chromium
f3e1b49f04150035e64b2222f7f041b98b2b2847
[ "BSD-3-Clause" ]
5
2020-05-29T05:50:51.000Z
2021-11-22T00:53:24.000Z
buildkit/__main__.py
tommienu/ungoogled-chromium
f3e1b49f04150035e64b2222f7f041b98b2b2847
[ "BSD-3-Clause" ]
null
null
null
buildkit/__main__.py
tommienu/ungoogled-chromium
f3e1b49f04150035e64b2222f7f041b98b2b2847
[ "BSD-3-Clause" ]
1
2022-01-01T09:20:47.000Z
2022-01-01T09:20:47.000Z
#!/usr/bin/env python3 # -*- coding: UTF-8 -*- # Copyright (c) 2018 The ungoogled-chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """ CLI entry point when invoking the module directly Pass in -h or --help for usage informati...
21.117647
73
0.710306
58
359
4.396552
0.896552
0
0
0
0
0
0
0
0
0
0
0.020478
0.183844
359
16
74
22.4375
0.849829
0.857939
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
765dc6e9b3bb2588d20c0d2997cd9dbbfc7c2e53
84
py
Python
locale/pot/api/examples/_autosummary/pyvista-examples-downloads-download_lobster-1.py
tkoyama010/pyvista-doc-translations
23bb813387b7f8bfe17e86c2244d5dd2243990db
[ "MIT" ]
4
2020-08-07T08:19:19.000Z
2020-12-04T09:51:11.000Z
locale/pot/api/examples/_autosummary/pyvista-examples-downloads-download_lobster-1.py
tkoyama010/pyvista-doc-translations
23bb813387b7f8bfe17e86c2244d5dd2243990db
[ "MIT" ]
19
2020-08-06T00:24:30.000Z
2022-03-30T19:22:24.000Z
locale/pot/api/examples/_autosummary/pyvista-examples-downloads-download_lobster-1.py
tkoyama010/pyvista-doc-translations
23bb813387b7f8bfe17e86c2244d5dd2243990db
[ "MIT" ]
1
2021-03-09T07:50:40.000Z
2021-03-09T07:50:40.000Z
from pyvista import examples dataset = examples.download_lobster() # doctest:+SKIP
28
54
0.797619
10
84
6.6
0.9
0
0
0
0
0
0
0
0
0
0
0
0.119048
84
2
55
42
0.891892
0.154762
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7660e25a840130d8c83a1c30e8e4be9404fa4ea8
86
py
Python
conv_lstm/__init__.py
Jimexist/ConvLSTM_pytorch
d65978e64b67ab268ee1ee1af5c11d9d94a160c1
[ "MIT" ]
null
null
null
conv_lstm/__init__.py
Jimexist/ConvLSTM_pytorch
d65978e64b67ab268ee1ee1af5c11d9d94a160c1
[ "MIT" ]
null
null
null
conv_lstm/__init__.py
Jimexist/ConvLSTM_pytorch
d65978e64b67ab268ee1ee1af5c11d9d94a160c1
[ "MIT" ]
null
null
null
from .conv_lstm import ConvLSTM, ConvLSTMCell __all__ = ["ConvLSTMCell", "ConvLSTM"]
21.5
45
0.767442
9
86
6.777778
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.116279
86
3
46
28.666667
0.802632
0
0
0
0
0
0.232558
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7673dce0975a761c823e3c29610ae5a81e70d28f
322
py
Python
Pipeline/1_Prem_Matrices_to_df/Executable/prem_matrices_to_df_make.py
johnlspouge/R0_Unstratified_Case_Data
696b4f45265904de04213bb4bd21390684ad00a6
[ "Unlicense" ]
null
null
null
Pipeline/1_Prem_Matrices_to_df/Executable/prem_matrices_to_df_make.py
johnlspouge/R0_Unstratified_Case_Data
696b4f45265904de04213bb4bd21390684ad00a6
[ "Unlicense" ]
null
null
null
Pipeline/1_Prem_Matrices_to_df/Executable/prem_matrices_to_df_make.py
johnlspouge/R0_Unstratified_Case_Data
696b4f45265904de04213bb4bd21390684ad00a6
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python from os import system log = f'prem_matrices_to_df.log' system( f'python prem_matrices_to_df.py > {log}' ) # Not all Prem countries correspond to ISO-3166 3-letter country names. # Occasional differences require ad hoc correction. system( f'python prem_matrices_to_df_country2code.py >> {log}' )...
26.833333
71
0.763975
52
322
4.538462
0.615385
0.152542
0.177966
0.20339
0.245763
0.245763
0.245763
0
0
0
0
0.021583
0.136646
322
11
72
29.272727
0.827338
0.434783
0
0
0
0
0.620112
0.446927
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7679cd06897e721b58939074e38025fdf2508011
776
py
Python
app/routers/user.py
thiere18/invoice-generator-api
2b1b099414227edaefcd072013e16c5c847a1ecb
[ "MIT" ]
1
2021-12-30T18:33:40.000Z
2021-12-30T18:33:40.000Z
app/routers/user.py
thiere18/invoice-generator-api
2b1b099414227edaefcd072013e16c5c847a1ecb
[ "MIT" ]
1
2021-11-21T13:06:46.000Z
2022-02-04T14:50:49.000Z
app/routers/user.py
thiere18/invoice-generator-api
2b1b099414227edaefcd072013e16c5c847a1ecb
[ "MIT" ]
null
null
null
from typing import List from fastapi import status, HTTPException, Depends, APIRouter from sqlalchemy.orm import Session from .. import models, schemas, utils from app.repository import user from ..database import get_db router = APIRouter( prefix="/users", tags=['Users'] ) @router.post("/", status_code=stat...
31.04
86
0.75
111
776
5.081081
0.387387
0.035461
0.085106
0.101064
0.189716
0.189716
0.189716
0.134752
0.134752
0
0
0.004405
0.122423
776
25
87
31.04
0.823789
0
0
0
0
0
0.023166
0
0
0
0
0
0
1
0.157895
false
0
0.315789
0.157895
0.631579
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
769c05fd8d313c16b08eda2427b1acb1cdd6db64
688
py
Python
bin/test/exampleMultTest.py
o-rhino/python-test-example
da365722f728aec7f95f33f854ad6f9a5740cb5e
[ "MIT" ]
null
null
null
bin/test/exampleMultTest.py
o-rhino/python-test-example
da365722f728aec7f95f33f854ad6f9a5740cb5e
[ "MIT" ]
null
null
null
bin/test/exampleMultTest.py
o-rhino/python-test-example
da365722f728aec7f95f33f854ad6f9a5740cb5e
[ "MIT" ]
null
null
null
import os import sys sys.path.append(os.path.join(os.path.dirname(__file__), "./")) sys.path.append(os.path.join(os.path.dirname(__file__), "../")) sys.path.append(os.path.join(os.path.dirname(__file__), "../../")) import xmlrunner import unittest from bin import example class examplteMultTest(unittest.TestCase): ...
23.724138
83
0.739826
91
688
5.351648
0.43956
0.073922
0.080082
0.092402
0.422998
0.422998
0.246407
0.246407
0.246407
0.246407
0
0.009662
0.097384
688
29
83
23.724138
0.774557
0
0
0
0
0
0.059507
0.03193
0
0
0
0
0.105263
1
0.210526
false
0.052632
0.263158
0
0.526316
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
76ba3280dc373b2fd1e301dc897612e0c79b3e37
718
py
Python
tests/public/sub1/__init__.py
tml/pyxer
4e3677b3f2c7f23ebf039a9ba9733f68a8460189
[ "MIT" ]
84
2017-10-25T15:49:21.000Z
2021-11-28T21:25:54.000Z
data/test/python/76ba3280dc373b2fd1e301dc897612e0c79b3e37__init__.py
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
5
2018-03-29T11:50:46.000Z
2021-04-26T13:33:18.000Z
data/test/python/76ba3280dc373b2fd1e301dc897612e0c79b3e37__init__.py
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
24
2017-11-22T08:31:00.000Z
2022-03-27T01:22:31.000Z
# -*- coding: UTF-8 -*- ############################################# ## (C)opyright by Dirk Holtwick, 2008 ## ## All rights reserved ## ############################################# from pyxer.base import * router = Router() router.add_re("^content1\/(?P<name>.*?)$", controller="content1", n...
21.757576
83
0.557103
70
718
5.657143
0.471429
0.164141
0
0
0
0
0
0
0
0
0
0.033003
0.155989
718
32
84
22.4375
0.620462
0.114206
0
0.25
0
0
0.273786
0.048544
0
0
0
0
0
1
0.25
false
0
0.05
0.25
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
1
0
0
0
1
1
0
0
3
4f1a7edcbc9f53eb8dcaf4c95d01212f699979e7
27,904
py
Python
py/LSS/ssr_tools.py
echaussidon/LSS
205ce48a288acacbd41358e6d0215f4aff355049
[ "BSD-3-Clause" ]
null
null
null
py/LSS/ssr_tools.py
echaussidon/LSS
205ce48a288acacbd41358e6d0215f4aff355049
[ "BSD-3-Clause" ]
null
null
null
py/LSS/ssr_tools.py
echaussidon/LSS
205ce48a288acacbd41358e6d0215f4aff355049
[ "BSD-3-Clause" ]
null
null
null
#Tools to study and correct for trends in spectroscopic succes rate (ssr) #Initial LRG model fitting taken from Ronpgpu Zhou's notebook import sys, os, glob, time, warnings, gc import numpy as np import matplotlib.pyplot as plt from astropy.table import Table, vstack, hstack, join import fitsio from scipy.optimize imp...
38.701803
225
0.573538
4,107
27,904
3.775749
0.085464
0.034759
0.027665
0.024183
0.78126
0.76746
0.72535
0.688915
0.667698
0.659831
0
0.039685
0.244159
27,904
721
226
38.701803
0.695557
0.099591
0
0.659813
0
0.001869
0.165082
0.026202
0
0
0
0
0
1
0.071028
false
0
0.013084
0.018692
0.15514
0.078505
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4f2c5ea3b97df735c5faf423264785970d604e96
298
py
Python
src/deluxe/admin.py
sandeepagrawal8875/deluxe_linkedin
48a6e4d2ab946efa5de6db888c8fa3a9c97e4c70
[ "MIT" ]
1
2020-11-29T11:50:36.000Z
2020-11-29T11:50:36.000Z
src/deluxe/admin.py
sandeepagrawal8875/deluxe_social_media_resume
48a6e4d2ab946efa5de6db888c8fa3a9c97e4c70
[ "MIT" ]
null
null
null
src/deluxe/admin.py
sandeepagrawal8875/deluxe_social_media_resume
48a6e4d2ab946efa5de6db888c8fa3a9c97e4c70
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import * admin.site.register(Project) admin.site.register(Blog) admin.site.register(Skills) admin.site.register(Education) admin.site.register(Hobby) admin.site.register(Certificate) admin.site.register(Comment) admin.site.register(BlogLike)
27.090909
33
0.795302
40
298
5.925
0.4
0.303797
0.57384
0
0
0
0
0
0
0
0
0
0.087248
298
11
34
27.090909
0.871324
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
4f300e91bb85c09101e485cb5395e59a3cf0e2d5
206
py
Python
app/__init__.py
schmocker/test
eb0ee9d15d17bad22fb39287f9bd03df87b2544c
[ "Apache-2.0" ]
null
null
null
app/__init__.py
schmocker/test
eb0ee9d15d17bad22fb39287f9bd03df87b2544c
[ "Apache-2.0" ]
null
null
null
app/__init__.py
schmocker/test
eb0ee9d15d17bad22fb39287f9bd03df87b2544c
[ "Apache-2.0" ]
null
null
null
from flask import Flask, escape, request, render_template app = Flask(__name__) @app.route('/') def hi(): name = request.args.get("name", "World") return render_template("index.html", name=name)
20.6
57
0.68932
28
206
4.857143
0.642857
0.205882
0
0
0
0
0
0
0
0
0
0
0.150485
206
9
58
22.888889
0.777143
0
0
0
0
0
0.097561
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4f6779cedaf451f2c0bd8af1da1c5be83d475f21
203
py
Python
commands/commands.py
ArinjoyProgrammer/Mathematician-Bot
84c0343fd4a3b25c2ee6456e3bfe9c2f6cbae85a
[ "MIT" ]
null
null
null
commands/commands.py
ArinjoyProgrammer/Mathematician-Bot
84c0343fd4a3b25c2ee6456e3bfe9c2f6cbae85a
[ "MIT" ]
null
null
null
commands/commands.py
ArinjoyProgrammer/Mathematician-Bot
84c0343fd4a3b25c2ee6456e3bfe9c2f6cbae85a
[ "MIT" ]
null
null
null
import discord from discord.ext import commands class Commands(commands.Cog): def __init__(self, client): self.client = client def setup(client): client.add_cog(Commands(client))
12.6875
36
0.704433
26
203
5.307692
0.5
0.144928
0
0
0
0
0
0
0
0
0
0
0.20197
203
15
37
13.533333
0.851852
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0
0.714286
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
4fa0a28db26c3152f064ab26cd346b07ee5c8f82
340
py
Python
services/settings.py
wenruiq/amqp-msg-service
7bf89815b8650282af45508ef36e895a4781a63a
[ "MIT" ]
null
null
null
services/settings.py
wenruiq/amqp-msg-service
7bf89815b8650282af45508ef36e895a4781a63a
[ "MIT" ]
null
null
null
services/settings.py
wenruiq/amqp-msg-service
7bf89815b8650282af45508ef36e895a4781a63a
[ "MIT" ]
null
null
null
from flask import Flask, request from flask_sqlalchemy import SQLAlchemy from flask_cors import CORS app = Flask(__name__) app.config['SQLALCHEMY_DATABASE_URI'] = 'mysql+mysqlconnector://admin:EatSomeDick@esdos.cml2qcg6djxv.ap-southeast-1.rds.amazonaws.com:3306/' app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False ...
37.777778
140
0.814706
45
340
5.933333
0.622222
0.101124
0.142322
0
0
0
0
0
0
0
0
0.022364
0.079412
340
9
141
37.777778
0.830671
0
0
0
0
0.142857
0.442815
0.442815
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
96d8b4abafc3d5a34cb232e916ebac2f8b2f78d9
92
py
Python
posts/colors/post_config.py
isabella232/lookatthis
fe9ccc896f50ede13f9c469d38d90c8a732f9a71
[ "FSFAP" ]
15
2015-02-21T13:56:25.000Z
2019-08-14T21:19:09.000Z
posts/colors/post_config.py
nprapps/lookatthis
fe9ccc896f50ede13f9c469d38d90c8a732f9a71
[ "FSFAP" ]
444
2015-01-06T16:54:13.000Z
2021-09-22T11:46:33.000Z
posts/colors/post_config.py
isabella232/lookatthis
fe9ccc896f50ede13f9c469d38d90c8a732f9a71
[ "FSFAP" ]
13
2015-01-05T14:33:15.000Z
2021-02-23T10:45:32.000Z
COPY_GOOGLE_DOC_KEY = '1jRQi9RCvVEKdgfhYUVwDdmFaKfXdHqRAPwUoIl0jIkg' DEPLOY_SLUG = 'colors'
30.666667
68
0.869565
8
92
9.5
1
0
0
0
0
0
0
0
0
0
0
0.034884
0.065217
92
2
69
46
0.848837
0
0
0
0
0
0.543478
0.478261
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8c020d83145563933817d9c028d60be9b5d46e21
3,416
py
Python
Kernels.py
Mlx11/Matura-Arbeit
3dfc164e9937cd4f68a9e9b178fd2ff66ffdfc9a
[ "MIT" ]
null
null
null
Kernels.py
Mlx11/Matura-Arbeit
3dfc164e9937cd4f68a9e9b178fd2ff66ffdfc9a
[ "MIT" ]
null
null
null
Kernels.py
Mlx11/Matura-Arbeit
3dfc164e9937cd4f68a9e9b178fd2ff66ffdfc9a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed Jun 27 11:02:19 2018 @author: Arbeiten """ import numpy as np import math # Superklasse, alle anderen Kernel sind davon abgeleitet class Kernel: def __init__(self): pass def calculate(self, x1, x2): pass def __add__(self, othe...
22.473684
93
0.537178
413
3,416
4.268765
0.210654
0.05899
0.066364
0.086784
0.559841
0.509926
0.466251
0.409529
0.371526
0.371526
0
0.041061
0.315574
3,416
151
94
22.622517
0.713003
0.159251
0
0.469136
0
0
0.0562
0
0
0
0
0
0
1
0.333333
false
0.074074
0.024691
0.160494
0.691358
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
3
8c22e87af372df5d807f0c8a0a0492e8bfaa8195
4,486
py
Python
output.py
RicoSuaveGuapo/yolact
cabb939a51878c88c20d0e929944ad5409e47642
[ "MIT" ]
2
2020-10-07T13:39:33.000Z
2021-02-12T15:25:45.000Z
output.py
RicoSuaveGuapo/yolact
cabb939a51878c88c20d0e929944ad5409e47642
[ "MIT" ]
null
null
null
output.py
RicoSuaveGuapo/yolact
cabb939a51878c88c20d0e929944ad5409e47642
[ "MIT" ]
null
null
null
import os import getpass import torch from time import time config = 'yolact_base_config' kind = 'U100' assert kind in ['A30','U100','U150','All'] uid = getpass.getuser() if uid == 'rico-li': # pth_path = 'reserve_weight/300_images/yolact_base_42934_128802_interrupt.pth' # 300 labels result # pth_path = 'we...
51.563218
234
0.726482
702
4,486
4.408832
0.235043
0.038449
0.046204
0.049758
0.646527
0.627787
0.593538
0.514055
0.507593
0.483037
0
0.071392
0.125724
4,486
86
235
52.162791
0.717746
0.620375
0
0.137931
0
0.206897
0.57497
0.49214
0
0
0
0
0.034483
1
0
false
0.068966
0.137931
0
0.137931
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
1
0
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
4fc12112e5261bb277d2c2f9ac809683923881ba
356
py
Python
Practicals02/Example04.py
MichalKyjovsky/NPRG065_Programing_in_Python
14436fbf8f0e547ab084083135a84c8ae49e083c
[ "MIT" ]
null
null
null
Practicals02/Example04.py
MichalKyjovsky/NPRG065_Programing_in_Python
14436fbf8f0e547ab084083135a84c8ae49e083c
[ "MIT" ]
null
null
null
Practicals02/Example04.py
MichalKyjovsky/NPRG065_Programing_in_Python
14436fbf8f0e547ab084083135a84c8ae49e083c
[ "MIT" ]
null
null
null
#! /usr/bin/env Python3 import sys lower_bound = int(sys.argv[1]) upper_bound = int(sys.argv[2]) if lower_bound > upper_bound: pom = lower_bound lower_bound = upper_bound upper_bound = pom for i in range(lower_bound, upper_bound + 1): for j in range(lower_bound, i): if i % j == 0: ...
18.736842
45
0.617978
57
356
3.666667
0.421053
0.287081
0.287081
0.287081
0
0
0
0
0
0
0
0.01938
0.275281
356
18
46
19.777778
0.790698
0.061798
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
0.076923
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4fd129872db7e0f6ce4dfda7e42b60387f47c05b
556
py
Python
pitchfork/models.py
lemoswilson/NewsAggregator
87da34681f12d0edb088f8bb88805667dc12dff8
[ "MIT" ]
null
null
null
pitchfork/models.py
lemoswilson/NewsAggregator
87da34681f12d0edb088f8bb88805667dc12dff8
[ "MIT" ]
8
2020-06-06T01:29:53.000Z
2022-03-12T00:16:57.000Z
pitchfork/models.py
lemoswilson/NewsAggregator
87da34681f12d0edb088f8bb88805667dc12dff8
[ "MIT" ]
null
null
null
from django.db import models from django.utils import timezone import json class Pitchfork_model(models.Model): link = models.CharField(max_length = 300, default = None) headline = models.CharField(max_length = 300, default = None) description = models.CharField(max_length = 300, default = None) date =...
30.888889
68
0.703237
74
556
5.189189
0.445946
0.15625
0.1875
0.25
0.296875
0.296875
0.296875
0
0
0
0
0.028953
0.192446
556
17
69
32.705882
0.826281
0
0
0
0
0
0
0
0
0
0
0
0
1
0.153846
false
0
0.230769
0.076923
0.923077
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
4fdd51a070cd551a2feb7d835d8aaaab441eae84
143
py
Python
ime_drafting/demo2.py
KorfLab/imeter
1e93d8c032caf02a6d839908a53c458a154f6c93
[ "MIT" ]
null
null
null
ime_drafting/demo2.py
KorfLab/imeter
1e93d8c032caf02a6d839908a53c458a154f6c93
[ "MIT" ]
null
null
null
ime_drafting/demo2.py
KorfLab/imeter
1e93d8c032caf02a6d839908a53c458a154f6c93
[ "MIT" ]
null
null
null
import imelib import sys imeter, prox, dist = imelib.train_imeter1(sys.argv[1], k=3) for k in imeter: print(k, imeter[k], prox[k], dist[k])
17.875
59
0.692308
27
143
3.62963
0.555556
0
0
0
0
0
0
0
0
0
0
0.02459
0.146853
143
7
60
20.428571
0.778689
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
4fffd7c825bc3d93a8c03028baf1bfce389ef931
51
py
Python
example_snippets/multimenus_snippets/Snippets/SciPy/Special functions/Ellipsoidal Harmonics/ellip_harm Ellipsoidal harmonic functions $E^p_n(l)$.py
kuanpern/jupyterlab-snippets-multimenus
477f51cfdbad7409eab45abe53cf774cd70f380c
[ "BSD-3-Clause" ]
null
null
null
example_snippets/multimenus_snippets/Snippets/SciPy/Special functions/Ellipsoidal Harmonics/ellip_harm Ellipsoidal harmonic functions $E^p_n(l)$.py
kuanpern/jupyterlab-snippets-multimenus
477f51cfdbad7409eab45abe53cf774cd70f380c
[ "BSD-3-Clause" ]
null
null
null
example_snippets/multimenus_snippets/Snippets/SciPy/Special functions/Ellipsoidal Harmonics/ellip_harm Ellipsoidal harmonic functions $E^p_n(l)$.py
kuanpern/jupyterlab-snippets-multimenus
477f51cfdbad7409eab45abe53cf774cd70f380c
[ "BSD-3-Clause" ]
1
2021-02-04T04:51:48.000Z
2021-02-04T04:51:48.000Z
special.ellip_harm(h2, k2, n, p, s[, signm, signn])
51
51
0.666667
10
51
3.3
1
0
0
0
0
0
0
0
0
0
0
0.044444
0.117647
51
1
51
51
0.688889
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
8b1d8942d694e12b4401d6eedb609c85c654e5d5
152
py
Python
pkgs/ops-pkg/src/genie/libs/ops/lag/lag.py
miott/genielibs
6464642cdd67aa2367bdbb12561af4bb060e5e62
[ "Apache-2.0" ]
94
2018-04-30T20:29:15.000Z
2022-03-29T13:40:31.000Z
pkgs/ops-pkg/src/genie/libs/ops/lag/lag.py
miott/genielibs
6464642cdd67aa2367bdbb12561af4bb060e5e62
[ "Apache-2.0" ]
67
2018-12-06T21:08:09.000Z
2022-03-29T18:00:46.000Z
pkgs/ops-pkg/src/genie/libs/ops/lag/lag.py
miott/genielibs
6464642cdd67aa2367bdbb12561af4bb060e5e62
[ "Apache-2.0" ]
49
2018-06-29T18:59:03.000Z
2022-03-10T02:07:59.000Z
# Genie from genie.ops.base import Base class Lag(Base): exclude = ['age', 'lacp_in_pkts', 'lacp_out_pkts']
19
32
0.513158
18
152
4.111111
0.722222
0
0
0
0
0
0
0
0
0
0
0
0.375
152
8
33
19
0.778947
0.032895
0
0
0
0
0.201439
0
0
0
0
0
0
1
0
false
0
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
8b41e0afc99e395ea497da57e5a52c122da62a15
254
py
Python
src/time_manager/schemas/extra.py
krjakbrjak/time_management
54ed55ddf0da9500722da4d0aafbc71ebfccc205
[ "MIT" ]
null
null
null
src/time_manager/schemas/extra.py
krjakbrjak/time_management
54ed55ddf0da9500722da4d0aafbc71ebfccc205
[ "MIT" ]
8
2021-11-10T11:05:34.000Z
2021-11-14T16:07:25.000Z
src/time_manager/schemas/extra.py
krjakbrjak/time_management
54ed55ddf0da9500722da4d0aafbc71ebfccc205
[ "MIT" ]
null
null
null
from typing import List from pydantic import BaseModel class ValidationErrorModel(BaseModel): field_name: str error: str class DetailModel(BaseModel): detail: List[ValidationErrorModel] class GeneralMessage(BaseModel): detail: str
14.941176
38
0.76378
27
254
7.148148
0.555556
0.15544
0
0
0
0
0
0
0
0
0
0
0.177165
254
16
39
15.875
0.923445
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.222222
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
8b44bec15a241d7aa7ecea6e40b83a112a36b48c
108
py
Python
neof_backend_root/neof_backend/settings/production.py
gentzeng/neo-framework
d19350837012c37ccf246aca740a10766b079914
[ "MIT" ]
null
null
null
neof_backend_root/neof_backend/settings/production.py
gentzeng/neo-framework
d19350837012c37ccf246aca740a10766b079914
[ "MIT" ]
null
null
null
neof_backend_root/neof_backend/settings/production.py
gentzeng/neo-framework
d19350837012c37ccf246aca740a10766b079914
[ "MIT" ]
null
null
null
from .base_settings import * # noqa: F401, F403 DEBUG = False ALLOWED_HOSTS = ["localhost", "127.0.0.1"]
18
48
0.675926
16
108
4.4375
0.9375
0
0
0
0
0
0
0
0
0
0
0.133333
0.166667
108
5
49
21.6
0.655556
0.148148
0
0
0
0
0.2
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
8c7e0be0a5ab7cff80f0ed86f94eaf226ed7ae07
176
py
Python
tests/testdata/test_mod_basic/cycleA.py
internetimagery/semantic
b0302d09a9fdd3abe770d04002e3733b36097a60
[ "MIT" ]
1
2019-09-25T08:22:29.000Z
2019-09-25T08:22:29.000Z
tests/testdata/test_mod_basic/cycleA.py
internetimagery/semantic
b0302d09a9fdd3abe770d04002e3733b36097a60
[ "MIT" ]
3
2019-08-21T00:17:30.000Z
2019-08-22T10:27:27.000Z
tests/testdata/test_mod_basic/cycleA.py
internetimagery/semantic
b0302d09a9fdd3abe770d04002e3733b36097a60
[ "MIT" ]
null
null
null
class _descriptor(object): def __get__(self, *_): from test_mod_basic.cycleB import CycleB return CycleB class CycleA(object): cycle = _descriptor()
17.6
48
0.670455
20
176
5.45
0.75
0
0
0
0
0
0
0
0
0
0
0
0.244318
176
9
49
19.555556
0.819549
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
8c8540b7eb6ba0ba24a15f0b4e021c323623b00f
10,833
py
Python
vector.py
qerty123/Vector
9f065d34b0aa8f4a0ffb6c85c32ed941009c3960
[ "MIT" ]
null
null
null
vector.py
qerty123/Vector
9f065d34b0aa8f4a0ffb6c85c32ed941009c3960
[ "MIT" ]
null
null
null
vector.py
qerty123/Vector
9f065d34b0aa8f4a0ffb6c85c32ed941009c3960
[ "MIT" ]
null
null
null
# Copyright (c) 2020 Kapitonov Stanislav <delphi.troll@mail.ru> from math import sqrt, atan2, acos, cos # Functions for working with two arguments out of vector class def dot(vector1, vector2): if len(vector1.values) != len(vector2.values): raise IOError('Wrong size vector') length = vector1.length()...
30.775568
91
0.596972
1,289
10,833
4.814585
0.088441
0.083306
0.04834
0.051563
0.769094
0.710925
0.655334
0.589752
0.577828
0.577828
0
0.014532
0.282193
10,833
351
92
30.863248
0.783565
0.025939
0
0.707407
0
0
0.038976
0
0
0
0
0
0
1
0.244444
false
0
0.003704
0.033333
0.496296
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
8c9683743e9ab17b5ed41b965326f69050e79d2e
25
py
Python
mmisc/__init__.py
maclv/AlSerpent
03d52457b9ba113cf6d592bbaf492bd7013c362b
[ "Apache-2.0" ]
null
null
null
mmisc/__init__.py
maclv/AlSerpent
03d52457b9ba113cf6d592bbaf492bd7013c362b
[ "Apache-2.0" ]
null
null
null
mmisc/__init__.py
maclv/AlSerpent
03d52457b9ba113cf6d592bbaf492bd7013c362b
[ "Apache-2.0" ]
null
null
null
__author__ = 'lvkun.lk'
12.5
24
0.68
3
25
4.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.16
25
1
25
25
0.619048
0
0
0
0
0
0.333333
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8cae828164e92a755a37aa69c3439318f2dda022
528
py
Python
awscfncli2/cli/__init__.py
andyfase/awscfncli
467297a93b74ac094202af980140f93b531800fd
[ "MIT" ]
null
null
null
awscfncli2/cli/__init__.py
andyfase/awscfncli
467297a93b74ac094202af980140f93b531800fd
[ "MIT" ]
null
null
null
awscfncli2/cli/__init__.py
andyfase/awscfncli
467297a93b74ac094202af980140f93b531800fd
[ "MIT" ]
null
null
null
# Import all commands here so they get registered in Click from .main import cfn_cli from .context import ClickContext from .commands.status import status from .commands.validate import validate from .commands.generate import generate from .stack.sync import sync from .stack.describe import describe from .stack.depl...
26.4
58
0.814394
79
528
5.43038
0.379747
0.146853
0
0
0
0
0
0
0
0
0
0
0.13447
528
19
59
27.789474
0.938731
0.106061
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
8caf6a8602180e55f98e40339628fce5cebb87f3
428
py
Python
warbend/data/__init__.py
int19h/warbend
1cee2aa547309a15ed02a879a1f3a153f17bbfc4
[ "MIT" ]
4
2018-08-03T13:29:53.000Z
2020-04-16T08:16:07.000Z
warbend/data/__init__.py
int19h/warbend
1cee2aa547309a15ed02a879a1f3a153f17bbfc4
[ "MIT" ]
1
2019-08-19T22:45:02.000Z
2019-09-20T14:18:44.000Z
warbend/data/__init__.py
int19h/warbend
1cee2aa547309a15ed02a879a1f3a153f17bbfc4
[ "MIT" ]
null
null
null
from __future__ import absolute_import, division, print_function # Commonly used from .array import array, bit_array from .enum import enum, flags from .errors import ValidationError from .id_ref import id_ref from .mutable import parent, path, root, selector, transaction from .record import record from .types import...
25.176471
64
0.75
57
428
5.473684
0.631579
0.032051
0
0
0
0
0
0
0
0
0
0.045845
0.184579
428
17
65
25.176471
0.848138
0.030374
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.571429
0
0.571429
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
8cb27d47c7ef64b86b636d1696b1a8e0af3f8d75
347
py
Python
qm-theory-benchmark/tests/test_qmtheorybenchmark.py
MobleyLab/qm-theory-benchmark
e7f0a002ecf7ec8ded2c34b1b65b96467884df61
[ "MIT" ]
null
null
null
qm-theory-benchmark/tests/test_qmtheorybenchmark.py
MobleyLab/qm-theory-benchmark
e7f0a002ecf7ec8ded2c34b1b65b96467884df61
[ "MIT" ]
null
null
null
qm-theory-benchmark/tests/test_qmtheorybenchmark.py
MobleyLab/qm-theory-benchmark
e7f0a002ecf7ec8ded2c34b1b65b96467884df61
[ "MIT" ]
null
null
null
""" Unit and regression test for the qm-theory-benchmark package. """ # Import package, test suite, and other packages as needed import qm-theory-benchmark import pytest import sys def test_qm-theory-benchmark_imported(): """Sample test, will always pass so long as import statement worked""" assert "qm-theory...
26.692308
74
0.757925
51
347
5.117647
0.607843
0.122605
0.260536
0
0
0
0
0
0
0
0
0
0.152738
347
12
75
28.916667
0.887755
0.161383
0
0
0
0
0.126667
0
0
0
0
0
0.2
0
null
null
0
0.8
null
null
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
1
0
0
0
1
0
0
0
0
3
8cbcb1fcd2c46026b42cd7f9e17e0d94bee817c9
1,074
py
Python
src/data_management/database/io/IOErrors.py
chrissteffen98/KraftKonnect
3409af2a98085c379ff44cc674ab9a8799095d88
[ "Apache-2.0" ]
null
null
null
src/data_management/database/io/IOErrors.py
chrissteffen98/KraftKonnect
3409af2a98085c379ff44cc674ab9a8799095d88
[ "Apache-2.0" ]
null
null
null
src/data_management/database/io/IOErrors.py
chrissteffen98/KraftKonnect
3409af2a98085c379ff44cc674ab9a8799095d88
[ "Apache-2.0" ]
1
2020-12-11T15:18:49.000Z
2020-12-11T15:18:49.000Z
class SqlInsertError(Exception): def __init__(self, object, table: str) -> None: self.object = object self.table = table super().__init__(f'Could not insert {object.__repr__()} in {table}.') class SqlSelectError(Exception): def __init__(self, table: str, function: str, data=None) -> No...
39.777778
95
0.641527
134
1,074
4.873134
0.208955
0.096478
0.098009
0.122511
0.732006
0.704441
0.704441
0.704441
0.650842
0.528331
0
0
0.235568
1,074
27
96
39.777778
0.795372
0
0
0.565217
0
0
0.228837
0
0
0
0
0
0
1
0.173913
false
0
0
0
0.347826
0
0
0
0
null
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8cdc9413dba713ec31fdeae0f2a385cc496bce77
345
py
Python
main.py
pi2-fga/201901-SmartWay-Treinamento2
ebc2d3fcdde424659703c270763993173dcf7289
[ "MIT" ]
1
2020-03-19T08:09:19.000Z
2020-03-19T08:09:19.000Z
main.py
VictorDeon/Crosswalk-Detector
ebc2d3fcdde424659703c270763993173dcf7289
[ "MIT" ]
null
null
null
main.py
VictorDeon/Crosswalk-Detector
ebc2d3fcdde424659703c270763993173dcf7289
[ "MIT" ]
null
null
null
""" Arquivo utilizado para detectar faixas de pedestres a partir de imagens passadas como parâmetro """ from cnn import CrosswalkCNN import cv2 as cv # Rodar o algoritmo de classificação por imagem # CrosswalkCNN.test("./test/r5.jpg") # Rodar o algoritmo de treinamento # CrosswalkCNN.training() # Validar algoritmo...
19.166667
51
0.776812
45
345
5.955556
0.733333
0.044776
0.11194
0.126866
0
0
0
0
0
0
0
0.006803
0.147826
345
17
52
20.294118
0.904762
0.730435
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
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
1
0
1
0
1
0
0
3
8cf2c16f4a198c5425cd91def2d20e7e0259774c
225
py
Python
snmpresponder/plugins/__init__.py
inexio/snmpresponder
7173f86e885037e71b54e58a9dda14cc7edb5337
[ "BSD-2-Clause" ]
5
2019-02-03T15:44:15.000Z
2020-11-19T19:46:24.000Z
snmpresponder/plugins/__init__.py
inexio/snmpresponder
7173f86e885037e71b54e58a9dda14cc7edb5337
[ "BSD-2-Clause" ]
1
2019-06-07T14:48:56.000Z
2019-06-20T15:14:19.000Z
snmpresponder/plugins/__init__.py
inexio/snmpresponder
7173f86e885037e71b54e58a9dda14cc7edb5337
[ "BSD-2-Clause" ]
1
2020-11-23T13:04:34.000Z
2020-11-23T13:04:34.000Z
# # This file is part of snmpresponder software. # # Copyright (c) 2019, Ilya Etingof <etingof@gmail.com> # License: http://snmplabs.com/snmpresponder/license.html # # This file is necessary to make this directory a package.
28.125
58
0.751111
32
225
5.28125
0.75
0.094675
0.118343
0
0
0
0
0
0
0
0
0.020725
0.142222
225
7
59
32.142857
0.854922
0.933333
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
8cffe6a3981de6b9ce3d7abbc08a167d5cdf07b1
266
py
Python
modeler/primitives/sphere.py
yngtodd/modeler
30c32687eed1aca01e0249e2ee5d1a8e9c52eace
[ "MIT" ]
null
null
null
modeler/primitives/sphere.py
yngtodd/modeler
30c32687eed1aca01e0249e2ee5d1a8e9c52eace
[ "MIT" ]
null
null
null
modeler/primitives/sphere.py
yngtodd/modeler
30c32687eed1aca01e0249e2ee5d1a8e9c52eace
[ "MIT" ]
null
null
null
from OpenGL.GL import * from OpenGL.GLU import * from OpenGL.GLUT import * from modeler.api.primitives import Primitive class Sphere(Primitive): """ Sphere primitive """ def __init__(self): super().__init__() self.call_list = G_OBJ_SPHERE
20.461538
44
0.691729
34
266
5.088235
0.588235
0.17341
0.184971
0
0
0
0
0
0
0
0
0
0.206767
266
13
45
20.461538
0.819905
0.06015
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.5
0
0.75
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
1
0
1
0
0
3
50880aa274b74c95f42b8fc7c164a2238e7977b4
392
py
Python
records/records/admin.py
hazelmollusk/django-walax
60cd05483e155bdd817df60a0c9fc7922f80c500
[ "MIT" ]
null
null
null
records/records/admin.py
hazelmollusk/django-walax
60cd05483e155bdd817df60a0c9fc7922f80c500
[ "MIT" ]
null
null
null
records/records/admin.py
hazelmollusk/django-walax
60cd05483e155bdd817df60a0c9fc7922f80c500
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Band, Album, Song, Store, Inventory admin.site.register(Band) admin.site.register(Album) admin.site.register(Song) class InventoryInline(admin.TabularInline): model = Inventory extra = 1 class StoreAdmin(admin.ModelAdmin): inlines = (InventoryInline,) ...
24.5
55
0.772959
48
392
6.3125
0.458333
0.148515
0.280528
0.171617
0
0
0
0
0
0
0
0.002899
0.119898
392
16
56
24.5
0.875362
0.076531
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.181818
0
0.636364
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
50a46320829b1ea90c5fc98c98ed6b6aa5b81b1c
466
py
Python
pysampling/sampling.py
julesy89/pysampling
178fdecc9526e75bbb1664c0b2adabef24dd94fb
[ "Apache-2.0" ]
6
2019-08-21T03:04:23.000Z
2021-05-26T01:37:27.000Z
pysampling/sampling.py
anyoptimization/pysampling
178fdecc9526e75bbb1664c0b2adabef24dd94fb
[ "Apache-2.0" ]
null
null
null
pysampling/sampling.py
anyoptimization/pysampling
178fdecc9526e75bbb1664c0b2adabef24dd94fb
[ "Apache-2.0" ]
null
null
null
import numpy as np class Sampling: """ The abstract sampling class that builds the frame for each implementation of sampling methods. """ def __init__(self, seed=None) -> None: super().__init__() self.seed = seed def sample(self, n_points, n_dim): if self.seed is not None...
23.3
98
0.622318
65
466
4.215385
0.507692
0.116788
0.087591
0.120438
0.175182
0.175182
0.175182
0
0
0
0
0
0.281116
466
20
99
23.3
0.81791
0.201717
0
0
0
0
0
0
0
0
0
0
0
1
0.272727
false
0.090909
0.090909
0
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
1
0
1
0
0
1
0
0
3
50ab20baf156957f866134436df833d64f0a3070
525
py
Python
example/kitten/models.py
valsplat/django-ajaximage
6e6ae53464acb1c308149f264d437246f1571288
[ "MIT" ]
1
2018-12-06T21:00:00.000Z
2018-12-06T21:00:00.000Z
example/kitten/models.py
valsplat/django-ajaximage
6e6ae53464acb1c308149f264d437246f1571288
[ "MIT" ]
null
null
null
example/kitten/models.py
valsplat/django-ajaximage
6e6ae53464acb1c308149f264d437246f1571288
[ "MIT" ]
2
2021-03-01T15:32:24.000Z
2021-03-01T19:14:52.000Z
from django.db import models from ajaximage.fields import AjaxImageField class Kitten(models.Model): image = AjaxImageField() thumbnail = AjaxImageField(upload_to='thumbnails', max_height=200, max_width=200, crop=False) def __unicode__(self): return unicode(self.thu...
22.826087
70
0.651429
59
525
5.610169
0.508475
0.120846
0.084592
0.138973
0
0
0
0
0
0
0
0.015504
0.262857
525
22
71
23.863636
0.839793
0
0
0.125
0
0
0.019048
0
0
0
0
0
0
1
0.25
false
0
0.125
0.25
0.8125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
50ae55b73a298240f66c222606782320f94100ac
489
py
Python
sayhello/errors.py
4l3x7/sayhello
bbda42ab520fdf5a7edc6fa0259310011d665c97
[ "MIT" ]
null
null
null
sayhello/errors.py
4l3x7/sayhello
bbda42ab520fdf5a7edc6fa0259310011d665c97
[ "MIT" ]
null
null
null
sayhello/errors.py
4l3x7/sayhello
bbda42ab520fdf5a7edc6fa0259310011d665c97
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ :author: Grey Li (李辉) :url: http://greyli.com :copyright: © 2018 Grey Li <withlihui@gmail.com> :license: MIT, see LICENSE for more details. """ from flask import render_template from sayhello import app @app.errorhandler(404) def page_not_found(): #removed e from () re...
23.285714
52
0.687117
69
489
4.782609
0.637681
0.127273
0.072727
0.109091
0.230303
0.230303
0.230303
0
0
0
0
0.05665
0.169734
489
20
53
24.45
0.753695
0.400818
0
0
0
0
0.11236
0
0
0
0
0
0
1
0.25
true
0
0.25
0.25
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
1
0
0
0
3
50b3df4bfa35eb2be0d345a70b8a0fd1ad7f9299
273
py
Python
Training/edX MIT course/Week 3/tupleTest.py
Skygear55/Training
6fe2e2e17bdc4744bc4dd0da8f3aa7bac65affc6
[ "MIT" ]
null
null
null
Training/edX MIT course/Week 3/tupleTest.py
Skygear55/Training
6fe2e2e17bdc4744bc4dd0da8f3aa7bac65affc6
[ "MIT" ]
null
null
null
Training/edX MIT course/Week 3/tupleTest.py
Skygear55/Training
6fe2e2e17bdc4744bc4dd0da8f3aa7bac65affc6
[ "MIT" ]
null
null
null
def multBy3(x): return x*3 def add5(y): return y+5 def applyfunc(f, g, p): return f(p), g(p) print(applyfunc(multBy3, add5, 3)) def returnArgsAsList(das, *lis): print(lis) print(das) returnArgsAsList(2, 1,2,3,5,6,'byn')
14.368421
36
0.556777
43
273
3.534884
0.465116
0.052632
0
0
0
0
0
0
0
0
0
0.066667
0.285714
273
19
36
14.368421
0.712821
0
0
0
0
0
0.011719
0
0
0
0
0
0
1
0.363636
false
0
0
0.272727
0.636364
0.272727
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
1
1
0
0
3
50be9c842af6da6023aa1b6e674c696eb90866dd
17,852
py
Python
unittests/proto_test.py
engeg/recipes-py
9dac536b55887262b4ce846f3db7a7f596542e5e
[ "Apache-2.0" ]
23
2016-01-20T00:45:26.000Z
2022-02-26T04:25:30.000Z
unittests/proto_test.py
engeg/recipes-py
9dac536b55887262b4ce846f3db7a7f596542e5e
[ "Apache-2.0" ]
8
2016-01-15T19:00:38.000Z
2018-03-06T00:15:24.000Z
unittests/proto_test.py
engeg/recipes-py
9dac536b55887262b4ce846f3db7a7f596542e5e
[ "Apache-2.0" ]
13
2015-09-05T05:52:43.000Z
2019-07-08T17:34:27.000Z
#!/usr/bin/env vpython # Copyright 2016 The LUCI Authors. All rights reserved. # Use of this source code is governed under the Apache License, Version 2.0 # that can be found in the LICENSE file. import json import os import shutil import subprocess import textwrap import test_env from recipe_engine.internal.simple_...
29.217676
147
0.599653
2,042
17,852
5.110186
0.106758
0.031433
0.049832
0.045616
0.774701
0.747676
0.700431
0.682607
0.674844
0.634595
0
0.006904
0.261651
17,852
610
148
29.265574
0.784766
0.015292
0
0.637624
0
0.009901
0.488771
0.138041
0
0
0
0
0.081188
1
0.035644
false
0.009901
0.083168
0
0.122772
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
50c78ec73a04ccfa27d3831512cff903596d6201
81
py
Python
model/Direction.py
frosthamster/Tower-defense
0bf373d935265e4941d1ff1b7c78a15522eef548
[ "Unlicense" ]
1
2020-02-20T21:30:20.000Z
2020-02-20T21:30:20.000Z
model/Direction.py
frosthamster/Tower-defense
0bf373d935265e4941d1ff1b7c78a15522eef548
[ "Unlicense" ]
null
null
null
model/Direction.py
frosthamster/Tower-defense
0bf373d935265e4941d1ff1b7c78a15522eef548
[ "Unlicense" ]
null
null
null
from enum import IntEnum class Direction(IntEnum): LEFT = -1 RIGHT = 1
11.571429
25
0.654321
11
81
4.818182
0.818182
0
0
0
0
0
0
0
0
0
0
0.033898
0.271605
81
6
26
13.5
0.864407
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
50ca3ad43f28d4dbd85c6dac47812197c9f6d9a6
1,314
py
Python
release/stubs.min/Autodesk/Revit/DB/__init___parts/StickSymbolLocation.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs.min/Autodesk/Revit/DB/__init___parts/StickSymbolLocation.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs.min/Autodesk/Revit/DB/__init___parts/StickSymbolLocation.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
class StickSymbolLocation(Enum, IComparable, IFormattable, IConvertible): """ Indicates the stick symbol location on the UI,which is used for the BuiltInParameter STRUCTURAL_STICK_SYMBOL_LOCATION. enum StickSymbolLocation,values: StickViewBottom (2),StickViewCenter (0),StickViewLocLine (3),StickViewTop ...
27.375
221
0.608828
143
1,314
4.909091
0.377622
0.11396
0.119658
0.128205
0.183761
0.183761
0.183761
0.160969
0.160969
0.160969
0
0.004162
0.268645
1,314
47
222
27.957447
0.726327
0.42618
0
0.384615
0
0
0
0
0
0
0
0
0
1
0.384615
false
0.384615
0
0
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
50cc0a77c1791baf8eb390a6235e23486e68e76b
597
py
Python
day_03/solution.py
juntuu/advent_of_code_2016
c2849396b4bd7b0f0e9128624fcec20130bc243f
[ "MIT" ]
null
null
null
day_03/solution.py
juntuu/advent_of_code_2016
c2849396b4bd7b0f0e9128624fcec20130bc243f
[ "MIT" ]
null
null
null
day_03/solution.py
juntuu/advent_of_code_2016
c2849396b4bd7b0f0e9128624fcec20130bc243f
[ "MIT" ]
null
null
null
def valid(triangle): big = max(triangle) return big < sum(triangle) - big def part1(triangles): return sum(map(valid, triangles)) def group(n, it): return zip(*[iter(it)]*n) def transpose(it): return zip(*it) def part2(triangles): triangles = group(3, triangles) triangles = (t for gr...
19.258065
68
0.628141
85
597
4.411765
0.388235
0.058667
0.064
0.090667
0.154667
0.154667
0
0
0
0
0
0.015021
0.21943
597
30
69
19.9
0.7897
0
0
0.1
0
0
0.023451
0
0
0
0
0
0
1
0.3
false
0
0
0.15
0.55
0.15
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
1
1
0
0
3
50dcf2a8263cd17087659a897fb3e7e828c55116
630
py
Python
mltk/utils/audio_visualizer/app.py
SiliconLabs/mltk
56b19518187e9d1c8a0d275de137fc9058984a1f
[ "Zlib" ]
null
null
null
mltk/utils/audio_visualizer/app.py
SiliconLabs/mltk
56b19518187e9d1c8a0d275de137fc9058984a1f
[ "Zlib" ]
1
2021-11-19T20:10:09.000Z
2021-11-19T20:10:09.000Z
mltk/utils/audio_visualizer/app.py
sldriedler/mltk
d82a60359cf875f542a2257f1bc7d8eb4bdaa204
[ "Zlib" ]
null
null
null
import logging from mltk.core import MltkModel from .install_wxpython import install_wxpython install_wxpython() import wx from .gui import res from .gui.generated.VisualizerFrame import VisualizerFrame class VisualizerApp(wx.App): def __init__(self): wx.App.__init__(self, 0) def On...
19.6875
88
0.677778
78
630
5.25641
0.487179
0.087805
0.102439
0
0
0
0
0
0
0
0
0.002049
0.225397
630
31
89
20.322581
0.838115
0
0
0
1
0
0.02381
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.555556
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
1
0
1
0
0
3
50e87c5ca81e8e23ef8fd9013ccd842c2c8d963b
845
py
Python
src/hijri_converter/helpers.py
mabuelhagag/hijri-converter
779516a06bcb3f72e4919d2deeed53d2c6db5e5b
[ "MIT" ]
32
2019-08-07T10:36:17.000Z
2022-01-23T13:57:04.000Z
src/hijri_converter/helpers.py
mabuelhagag/hijri-converter
779516a06bcb3f72e4919d2deeed53d2c6db5e5b
[ "MIT" ]
8
2019-12-28T19:55:32.000Z
2021-09-06T08:31:20.000Z
src/hijri_converter/helpers.py
mabuelhagag/hijri-converter
779516a06bcb3f72e4919d2deeed53d2c6db5e5b
[ "MIT" ]
12
2019-06-02T19:48:01.000Z
2021-11-12T09:07:03.000Z
"""Helper methods for Hijri conversion.""" def jdn_to_ordinal(jdn: int) -> int: """Convert Julian day number (JDN) to date ordinal number. :param jdn: Julian day number (JDN). :type jdn: int """ return jdn - 1721425 def ordinal_to_jdn(n: int) -> int: """Convert date ordinal number to Julia...
20.119048
75
0.623669
121
845
4.289256
0.198347
0.156069
0.17341
0.208092
0.396917
0.17341
0.17341
0.17341
0.17341
0.17341
0
0.044586
0.256805
845
41
76
20.609756
0.781847
0.589349
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
50f46d971990d35b2153351dfcce32ae712bdf56
24
py
Python
filelib/parser/__init__.py
plinecom/JobManager
ce2c85fa740d5dce2d582e694bb3adc9176101d7
[ "MIT" ]
null
null
null
filelib/parser/__init__.py
plinecom/JobManager
ce2c85fa740d5dce2d582e694bb3adc9176101d7
[ "MIT" ]
null
null
null
filelib/parser/__init__.py
plinecom/JobManager
ce2c85fa740d5dce2d582e694bb3adc9176101d7
[ "MIT" ]
null
null
null
__author__ = 'Masataka'
12
23
0.75
2
24
7
1
0
0
0
0
0
0
0
0
0
0
0
0.125
24
1
24
24
0.666667
0
0
0
0
0
0.333333
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
50fae32050ee4273d3b1bad489c75e47d23af0dd
616
py
Python
work/initiate.py
SilverRon/gppy
0ee56ca270af62afe1702fce37bef30add14f12a
[ "MIT" ]
4
2019-05-08T08:08:59.000Z
2021-12-22T08:57:46.000Z
work/initiate.py
SilverRon/gppy
0ee56ca270af62afe1702fce37bef30add14f12a
[ "MIT" ]
null
null
null
work/initiate.py
SilverRon/gppy
0ee56ca270af62afe1702fce37bef30add14f12a
[ "MIT" ]
2
2019-05-08T08:09:02.000Z
2019-06-27T13:41:44.000Z
# MODULES # 2019.08.?? MADE BY Gregory S.H. Paek #============================================================ # MODULE #------------------------------------------------------------ import healpy as hp import numpy as np import time import os, glob, sys from astropy.table import Table, Column, MaskedColumn, vstack, ...
29.333333
69
0.63961
80
616
4.925
0.575
0.111675
0.081218
0
0
0
0
0
0
0
0
0.011091
0.121753
616
21
70
29.333333
0.71719
0.282468
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
0f9b484545706d5d865404656aa9f7b21df2f232
16,230
py
Python
bminf/layers/attention.py
AdamBear/BMInf
8e650dc30e3ed9d7d628153b0a4dbd76d97ea948
[ "Apache-2.0" ]
206
2021-09-23T08:55:29.000Z
2022-03-26T13:15:41.000Z
bminf/layers/attention.py
AdamBear/BMInf
8e650dc30e3ed9d7d628153b0a4dbd76d97ea948
[ "Apache-2.0" ]
24
2021-09-24T05:54:39.000Z
2022-03-25T01:44:49.000Z
bminf/layers/attention.py
AdamBear/BMInf
8e650dc30e3ed9d7d628153b0a4dbd76d97ea948
[ "Apache-2.0" ]
34
2021-09-26T02:17:29.000Z
2022-03-28T07:01:54.000Z
from typing import Optional from ..core import Layer, Context, Tensor import numpy as np from cpm_kernels import kernels as ck from .linear import Linear class Attention(Layer): def __init__(self, dim_model, num_heads, dim_head, bias=False, attn_scale : float = 1) -> None: super().__init__() self....
38.459716
115
0.559889
2,241
16,230
3.729585
0.044623
0.083274
0.101938
0.130175
0.832615
0.793731
0.734386
0.688562
0.622876
0.589615
0
0.00926
0.341282
16,230
421
116
38.551069
0.772519
0.05878
0
0.546419
0
0
0.000787
0
0
0
0
0
0.04244
1
0.013263
false
0
0.013263
0
0.029178
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0fa0fcb325de484e6497261eca131d7042ede96e
88
py
Python
test/integration/expected_out_single_line/some_named.py
Inveracity/flynt
b975b6f61893d5db1114d68fbb5d212c4e11aeb8
[ "MIT" ]
487
2019-06-10T17:44:56.000Z
2022-03-26T01:28:19.000Z
test/integration/expected_out_single_line/some_named.py
Inveracity/flynt
b975b6f61893d5db1114d68fbb5d212c4e11aeb8
[ "MIT" ]
118
2019-07-03T12:26:39.000Z
2022-03-06T22:40:17.000Z
test/integration/expected_out_single_line/some_named.py
Inveracity/flynt
b975b6f61893d5db1114d68fbb5d212c4e11aeb8
[ "MIT" ]
25
2019-07-10T08:39:58.000Z
2022-03-03T14:44:15.000Z
var, f, cada_bra, what = 1, 2, 3, 4 a = f"my string {var}, but also {f} and {cada_bra}"
29.333333
51
0.590909
20
88
2.5
0.75
0.28
0
0
0
0
0
0
0
0
0
0.057971
0.215909
88
2
52
44
0.666667
0
0
0
0
0
0.5
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0fb71057a786ca4f3eddace82008a830d5588561
992
py
Python
sdk/core/azure-core/azure/core/credentials.py
tzhanl/azure-sdk-for-python
18cd03f4ab8fd76cc0498f03e80fbc99f217c96e
[ "MIT" ]
1
2021-06-02T08:01:35.000Z
2021-06-02T08:01:35.000Z
sdk/core/azure-core/azure/core/credentials.py
tzhanl/azure-sdk-for-python
18cd03f4ab8fd76cc0498f03e80fbc99f217c96e
[ "MIT" ]
1
2020-03-06T05:57:16.000Z
2020-03-06T05:57:16.000Z
sdk/core/azure-core/azure/core/credentials.py
tzhanl/azure-sdk-for-python
18cd03f4ab8fd76cc0498f03e80fbc99f217c96e
[ "MIT" ]
null
null
null
# ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See LICENSE.txt in the project root for # license information. # ------------------------------------------------------------------------- from typing...
32
82
0.574597
98
992
5.755102
0.653061
0.053191
0.056738
0.131206
0
0
0
0
0
0
0
0
0.193548
992
30
83
33.066667
0.705
0.490927
0
0
0
0
0.109244
0
0
0
0
0
0
1
0.090909
false
0.090909
0.363636
0
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
1
1
0
1
0
0
3
0ff1599d70409f1c747f6bda400b46ac8ae0c667
1,743
py
Python
section4/fillin_function_homework.py
jasontclark/hc180-udemy-python-next-level
3da7adee1a37b636cc579eb9e33cd63224f2c4b2
[ "Apache-2.0" ]
null
null
null
section4/fillin_function_homework.py
jasontclark/hc180-udemy-python-next-level
3da7adee1a37b636cc579eb9e33cd63224f2c4b2
[ "Apache-2.0" ]
null
null
null
section4/fillin_function_homework.py
jasontclark/hc180-udemy-python-next-level
3da7adee1a37b636cc579eb9e33cd63224f2c4b2
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # # Copyright 2015 Jason T Clark # # 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...
30.051724
84
0.689042
251
1,743
4.772908
0.541833
0.050083
0.021703
0.026711
0.103506
0.103506
0.103506
0.103506
0.103506
0
0
0.012744
0.234653
1,743
57
85
30.578947
0.885307
0.459553
0
0.125
0
0
0.032333
0
0
0
0
0.017544
0
0
null
null
0.0625
0.0625
null
null
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
1
0
1
0
0
1
0
0
0
0
0
3