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
f0d430b99408e4130e27e282b8dc73c5b7dfe13e
2,473
py
Python
src/booze/gin/chars_test.py
slobberchops/booze
e7d5fc8f61ce0431d7a7180c7e62724c3b5fc39d
[ "Apache-2.0" ]
null
null
null
src/booze/gin/chars_test.py
slobberchops/booze
e7d5fc8f61ce0431d7a7180c7e62724c3b5fc39d
[ "Apache-2.0" ]
null
null
null
src/booze/gin/chars_test.py
slobberchops/booze
e7d5fc8f61ce0431d7a7180c7e62724c3b5fc39d
[ "Apache-2.0" ]
null
null
null
# Copyright 2015 Rafe Kaplan # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, soft...
28.425287
74
0.646583
349
2,473
4.461318
0.363897
0.058446
0.064226
0.096339
0.172768
0.03982
0
0
0
0
0
0.018172
0.221189
2,473
86
75
28.755814
0.790239
0.219976
0
0.040816
0
0
0.054308
0
0
0
0
0
0.163265
1
0.306122
false
0
0.081633
0
0.428571
0.061224
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
f0d638546088686ff9feadd1303b3c18e87edbed
343
py
Python
catalog/bindings/csw/second_defining_parameter.py
NIVANorge/s-enda-playground
56ae0a8978f0ba8a5546330786c882c31e17757a
[ "Apache-2.0" ]
null
null
null
catalog/bindings/csw/second_defining_parameter.py
NIVANorge/s-enda-playground
56ae0a8978f0ba8a5546330786c882c31e17757a
[ "Apache-2.0" ]
null
null
null
catalog/bindings/csw/second_defining_parameter.py
NIVANorge/s-enda-playground
56ae0a8978f0ba8a5546330786c882c31e17757a
[ "Apache-2.0" ]
null
null
null
from dataclasses import dataclass from bindings.csw.second_defining_parameter_type import SecondDefiningParameterType __NAMESPACE__ = "http://www.opengis.net/gml" @dataclass class SecondDefiningParameter(SecondDefiningParameterType): class Meta: name = "secondDefiningParameter" namespace = "http:...
28.583333
83
0.787172
33
343
7.969697
0.636364
0.098859
0.121673
0.174905
0.220532
0.220532
0
0
0
0
0
0
0.131195
343
11
84
31.181818
0.88255
0
0
0
0
0
0.218659
0.067055
0
0
0
0
0
1
0
false
0
0.25
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f0d85f514314b46ed98b0472b6f658e885805634
582
py
Python
sandbox/openMotors.py
kdglider/enpm809t
67d85877514a3df0d3e1b587e4a71e0070b57139
[ "BSD-3-Clause" ]
null
null
null
sandbox/openMotors.py
kdglider/enpm809t
67d85877514a3df0d3e1b587e4a71e0070b57139
[ "BSD-3-Clause" ]
null
null
null
sandbox/openMotors.py
kdglider/enpm809t
67d85877514a3df0d3e1b587e4a71e0070b57139
[ "BSD-3-Clause" ]
2
2021-03-06T03:51:07.000Z
2021-04-23T17:08:00.000Z
''' Copyright (c) 2020 Hao Da (Kevin) Dong, Krithika Govindaraj @file openMotors.py @date 2020/04/17 @brief Script to run at RPi startup to set all H-bridge motor control pins low @license This project is released under the BSD-3-Clause license. ''' import RPi.GPIO as GPIO GPIO.setmode(GPIO.BOARD)...
25.304348
83
0.671821
94
582
4.159574
0.617021
0.092072
0.11509
0
0
0
0
0
0
0
0
0.071584
0.207904
582
22
84
26.454545
0.776573
0.477663
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.090909
0
0.090909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
f0de4140558f5f4feecb5be9cdfffc2d2a3786a5
1,263
py
Python
config/dev.py
wangzishuo111/bk_test
e3c70444500bf25ee50627b8fd3ae75f331039be
[ "MIT" ]
null
null
null
config/dev.py
wangzishuo111/bk_test
e3c70444500bf25ee50627b8fd3ae75f331039be
[ "MIT" ]
2
2021-02-08T20:50:31.000Z
2021-06-10T23:01:54.000Z
config/dev.py
wangzishuo111/bk_test
e3c70444500bf25ee50627b8fd3ae75f331039be
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from config import RUN_VER if RUN_VER == 'open': from blueapps.patch.settings_open_saas import * # noqa else: from blueapps.patch.settings_paas_services import * # noqa # 本地开发环境 RUN_MODE = 'DEVELOP' # APP本地静态资源目录 STATIC_URL = '/static/' # APP静态资源目录url # REMOTE_STATIC_URL = '%sremote...
24.288462
102
0.64133
147
1,263
5.353742
0.605442
0.038119
0.043202
0.063532
0.193139
0.193139
0.114358
0.114358
0
0
0
0.039594
0.220111
1,263
51
103
24.764706
0.759391
0.357878
0
0.322581
0
0
0.302648
0.090794
0
0
0
0
0
1
0
false
0.096774
0.16129
0
0.16129
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
f0e54c489c167613f6ac13e94bc3c572ce4ffac8
735
py
Python
python/ql/test/library-tests/frameworks/internal-ql-helpers/test.py
angie1148/codeql
ab3cad749cabe762437d2eb0aab554acea6ce84d
[ "MIT" ]
643
2018-08-03T11:16:54.000Z
2020-04-27T23:10:55.000Z
python/ql/test/library-tests/frameworks/internal-ql-helpers/test.py
angie1148/codeql
ab3cad749cabe762437d2eb0aab554acea6ce84d
[ "MIT" ]
1,880
2018-08-03T11:28:32.000Z
2020-04-28T13:18:51.000Z
python/ql/test/library-tests/frameworks/internal-ql-helpers/test.py
ScriptBox99/github-codeql
2ecf0d3264db8fb4904b2056964da469372a235c
[ "MIT" ]
218
2018-08-03T11:16:58.000Z
2020-04-24T02:24:00.000Z
def func(): print("func") func() # $ resolved=func class MyBase: def base_method(self): print("base_method", self) class MyClass(MyBase): def method1(self): print("method1", self) @classmethod def cls_method(cls): print("cls_method", cls) @staticmethod def stat...
17.093023
49
0.610884
87
735
5.034483
0.195402
0.143836
0.09589
0.091324
0.118721
0
0
0
0
0
0
0.014363
0.242177
735
42
50
17.5
0.771993
0.155102
0
0
0
0
0.07329
0
0
0
0
0
0
1
0.206897
false
0
0
0
0.275862
0.206897
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
f0f33bd6dda26ba072b4c25aec0c8325670c715d
1,572
py
Python
code/monitor.py
yqjdcyy/Product_Python_AutoCloseOfficeDialog
70a0cf9aec0c4dcc84ace0be0a498216a6dc88f6
[ "MIT" ]
1
2018-04-13T04:30:40.000Z
2018-04-13T04:30:40.000Z
code/monitor.py
yqjdcyy/Utils_Python_AutoCloseOfficeDialog
70a0cf9aec0c4dcc84ace0be0a498216a6dc88f6
[ "MIT" ]
null
null
null
code/monitor.py
yqjdcyy/Utils_Python_AutoCloseOfficeDialog
70a0cf9aec0c4dcc84ace0be0a498216a6dc88f6
[ "MIT" ]
null
null
null
import getopt import sys import test from config import config as conf from config import ReqType import windows def main(): # opts try: opts, args = getopt.getopt( sys.argv[1:], "hlt:d:p:", ["help", "logList", "type=", "duration=", "logPath="]) except getopt....
23.818182
97
0.504453
199
1,572
3.934673
0.376884
0.022989
0.057471
0.086845
0.090677
0.063857
0
0
0
0
0
0.010397
0.326972
1,572
65
98
24.184615
0.729679
0.015267
0
0.06
0
0.04
0.211277
0.128321
0
0
0
0
0
1
0.04
true
0
0.12
0
0.16
0.04
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
f0f3d06bb94fef63ee837261be97d6c6ce193e9d
719
py
Python
acondbs/_warnings.py
simonsobs/acondbs
6ca11c2889d827ecdb2b54d0cf3b94b8cdd281e6
[ "MIT" ]
null
null
null
acondbs/_warnings.py
simonsobs/acondbs
6ca11c2889d827ecdb2b54d0cf3b94b8cdd281e6
[ "MIT" ]
24
2020-04-02T19:29:07.000Z
2022-03-08T03:05:43.000Z
acondbs/_warnings.py
simonsobs/acondbs
6ca11c2889d827ecdb2b54d0cf3b94b8cdd281e6
[ "MIT" ]
1
2020-04-08T15:48:28.000Z
2020-04-08T15:48:28.000Z
"""Configure the module warnings https://docs.python.org/3/library/warnings.html """ import warnings from pathlib import Path ##__________________________________________________________________|| _module_path = Path(__file__).resolve().parent.parent # the path to the dir in which the module is installed, # i.e., th...
26.62963
70
0.748261
78
719
5.089744
0.576923
0.06801
0
0
0
0
0
0
0
0
0
0.001623
0.143255
719
26
71
27.653846
0.642857
0.431154
0
0
0
0
0.027778
0
0
0
0
0
0
1
0.090909
false
0.090909
0.181818
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
f0f9f2cbbd5ce23e82b44400fd1eaf898bd6043c
1,058
py
Python
py/leetcode/BuddyStrings.py
danyfang/SourceCode
8168f6058648f2a330a7354daf3a73a4d8a4e730
[ "MIT" ]
null
null
null
py/leetcode/BuddyStrings.py
danyfang/SourceCode
8168f6058648f2a330a7354daf3a73a4d8a4e730
[ "MIT" ]
null
null
null
py/leetcode/BuddyStrings.py
danyfang/SourceCode
8168f6058648f2a330a7354daf3a73a4d8a4e730
[ "MIT" ]
null
null
null
''' Leetcode problem No 859 Buddy Strings Solution written by Xuqiang Fang on 24 June, 2018 ''' class Solution(object): def buddyStrings(self, A, B): if len(A) != len(B): return False dica = {} dicb = {} c = 0 for i in range(len(A)): a = A[i] ...
25.190476
49
0.414934
128
1,058
3.429688
0.390625
0.068337
0.205011
0.136674
0
0
0
0
0
0
0
0.031304
0.456522
1,058
41
50
25.804878
0.732174
0.082231
0
0.166667
0
0
0.031153
0
0
0
0
0
0
1
0.055556
false
0
0
0
0.194444
0.138889
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f0fdfde94835040ea6d1408cc36842e2260caa3b
2,026
py
Python
nbackseq.py
vassiki/psyc161-nbackseq
142ee17ae13a8fdaad2253778d3c3557a9771f1c
[ "Apache-2.0" ]
null
null
null
nbackseq.py
vassiki/psyc161-nbackseq
142ee17ae13a8fdaad2253778d3c3557a9771f1c
[ "Apache-2.0" ]
null
null
null
nbackseq.py
vassiki/psyc161-nbackseq
142ee17ae13a8fdaad2253778d3c3557a9771f1c
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import random import sys def make_nbackseq(l, words): seq = [] # first make sure each word occurs at least once for w in words: seq.append(w) # now if length is less than l, append random words while len(seq) < l: word = random.sample(words,1) seq.app...
27.378378
76
0.590819
278
2,026
4.223022
0.320144
0.025554
0.03322
0.045997
0.214651
0.178876
0.178876
0.178876
0.178876
0.178876
0
0.008463
0.300099
2,026
73
77
27.753425
0.819464
0.176209
0
0.26087
0
0
0.087526
0
0
0
0
0
0
0
null
null
0
0.043478
null
null
0.021739
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0b095e8135d835c08ca6d10ec7d0ea41f96e6753
416
py
Python
inventory/migrations/0005_auto_20190131_1220.py
zyayoung/lab-item-tracking
6d0ee000114300d6693ec078f974b9a6ef4dfe40
[ "MIT" ]
4
2019-01-14T15:44:22.000Z
2019-01-16T16:07:19.000Z
inventory/migrations/0005_auto_20190131_1220.py
zyayoung/lab-item-tracking
6d0ee000114300d6693ec078f974b9a6ef4dfe40
[ "MIT" ]
2
2019-02-01T00:50:20.000Z
2019-02-22T15:15:54.000Z
inventory/migrations/0005_auto_20190131_1220.py
zyayoung/lab-item-tracking
6d0ee000114300d6693ec078f974b9a6ef4dfe40
[ "MIT" ]
null
null
null
# Generated by Django 2.1.4 on 2019-01-31 12:20 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('inventory', '0004_auto_20190130_2212'), ] operations = [ migrations.AlterField( model_name='item', name='quantity', ...
21.894737
78
0.608173
46
416
5.391304
0.847826
0
0
0
0
0
0
0
0
0
0
0.105611
0.271635
416
18
79
23.111111
0.712871
0.108173
0
0
1
0
0.124661
0.062331
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0b0ed355feaff24f9e3f722b5f884bccc248f6aa
1,447
py
Python
py/admin/base.py
newdefence/cj
3ba3b41424a44c2328a340f78074e04f6faff72f
[ "MIT" ]
1
2019-03-21T09:12:26.000Z
2019-03-21T09:12:26.000Z
py/admin/base.py
newdefence/cj
3ba3b41424a44c2328a340f78074e04f6faff72f
[ "MIT" ]
null
null
null
py/admin/base.py
newdefence/cj
3ba3b41424a44c2328a340f78074e04f6faff72f
[ "MIT" ]
null
null
null
# coding=utf-8 from tornado.web import authenticated, RequestHandler, HTTPError from tornado.gen import coroutine from bson.json_util import dumps, loads __author__ = 'defence.zhang@gmail.com' __date__ = "2018/12/17 下午5:54:00" # TODO: 有时间需要做 json_schema 验证 class AuthBaseHandler(RequestHandler): bson = None ...
30.145833
118
0.627505
184
1,447
4.836957
0.483696
0.049438
0.033708
0
0
0
0
0
0
0
0
0.021024
0.243953
1,447
47
119
30.787234
0.792505
0.027643
0
0
0
0
0.103989
0.016382
0
0
0
0.021277
0
1
0.181818
false
0.030303
0.090909
0.060606
0.484848
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0b1052ee87f08f7ccdd31edbea53c2f75b256719
1,072
py
Python
wacky_rl/losses/val_losses.py
maik97/wacky-rl
7fde3bc473387f69deb69fadf21db1e82479516c
[ "MIT" ]
null
null
null
wacky_rl/losses/val_losses.py
maik97/wacky-rl
7fde3bc473387f69deb69fadf21db1e82479516c
[ "MIT" ]
1
2021-09-19T06:38:33.000Z
2021-09-29T21:25:54.000Z
wacky_rl/losses/val_losses.py
maik97/wacky-rl
7fde3bc473387f69deb69fadf21db1e82479516c
[ "MIT" ]
null
null
null
import tensorflow as tf from wacky_rl import losses from itertools import count class SoftValueLoss(losses.WackyLoss): _ids = count(0) def __init__(self, logger=None): super().__init__() self.logger = logger self.id = next(self._ids) def __call__(self, prediction, log_probs, q): ...
27.487179
75
0.636194
144
1,072
4.458333
0.305556
0.124611
0.087227
0.071651
0.694704
0.694704
0.694704
0.610592
0.610592
0.610592
0
0.007389
0.242537
1,072
38
76
28.210526
0.783251
0
0
0.592593
0
0
0.01959
0
0
0
0
0
0
1
0.148148
false
0
0.111111
0
0.481481
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0b11bd02606966f73b3ce247ed12a6b6eb5d8de6
1,003
py
Python
airtech/apps/tickets/models.py
sam-karis/airtech
8e1cd7a9821719d27db046218625d70daaa46139
[ "MIT" ]
null
null
null
airtech/apps/tickets/models.py
sam-karis/airtech
8e1cd7a9821719d27db046218625d70daaa46139
[ "MIT" ]
4
2021-03-18T23:42:26.000Z
2022-02-10T12:36:23.000Z
airtech/apps/tickets/models.py
sam-karis/airtech
8e1cd7a9821719d27db046218625d70daaa46139
[ "MIT" ]
null
null
null
from django.db import models from airtech.apps.authentication.models import User from airtech.apps.flights.models import Flight from airtech.helpers.id_generator import id_gen from airtech.models import BaseModel class Ticket(BaseModel): ''' Handles creation of tickets ''' flight = models.ForeignKey(...
32.354839
73
0.715852
121
1,003
5.760331
0.487603
0.063128
0.043042
0.057389
0.186514
0.111908
0.111908
0
0
0
0
0.008516
0.180459
1,003
30
74
33.433333
0.839416
0.026919
0
0
0
0
0.096875
0
0
0
0
0
0
1
0.045455
false
0
0.227273
0.045455
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0b128ca9e862952f7629fa30327d0adcb7a69bf0
1,098
py
Python
agronopy/crop/__init__.py
farmlab/agronopy
340a881881a591d90d8a302ed73ebd606d1343e6
[ "MIT" ]
null
null
null
agronopy/crop/__init__.py
farmlab/agronopy
340a881881a591d90d8a302ed73ebd606d1343e6
[ "MIT" ]
288
2018-02-04T19:28:07.000Z
2022-03-27T22:00:18.000Z
agronopy/crop/__init__.py
farmlab/agronopy
340a881881a591d90d8a302ed73ebd606d1343e6
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Crop package for agronopy.""" __author__ = """Jerome Dury""" __email__ = 'biodiversite@agrobioperigord.fr' __version__ = '0.1.0' from agronopy.crop import phenology from agronopy.crop import grain __all__ = ['phenology', 'grain'] # def normalize_weight(weight, moisture, moisture_norm): # ...
30.5
79
0.710383
148
1,098
5.094595
0.425676
0.095491
0.079576
0.058355
0.355438
0.355438
0.246684
0.246684
0.246684
0.246684
0
0.022484
0.149362
1,098
35
80
31.371429
0.784797
0.769581
0
0
0
0
0.266376
0.135371
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0b164db74cecf4cac5953d27b22a7a4ff111213f
303
py
Python
stream_samples.py
chewett/TrendAnalyser
62a13efa9b9d78449535e791b1932cf3fd60f2a6
[ "MIT" ]
null
null
null
stream_samples.py
chewett/TrendAnalyser
62a13efa9b9d78449535e791b1932cf3fd60f2a6
[ "MIT" ]
null
null
null
stream_samples.py
chewett/TrendAnalyser
62a13efa9b9d78449535e791b1932cf3fd60f2a6
[ "MIT" ]
1
2020-10-26T15:14:10.000Z
2020-10-26T15:14:10.000Z
''' This downloads the sample API and stores it to json files ''' from TrendAnalyser import TrendAnalyser TA = TrendAnalyser() response = TA.api.request("statuses/sample") print "Starting to download streaming sample data" for item in response.get_iterator(): TA.save_twitter_sample_data(item)
20.2
57
0.768977
42
303
5.452381
0.714286
0.087336
0
0
0
0
0
0
0
0
0
0
0.145215
303
14
58
21.642857
0.88417
0
0
0
0
0
0.240506
0
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9bc2a2f443bd650365c1ea17c20c23a0f04126d4
8,082
py
Python
sdk/python/pulumi_google_native/gkehub/v1/get_feature.py
AaronFriel/pulumi-google-native
75d1cda425e33d4610348972cd70bddf35f1770d
[ "Apache-2.0" ]
44
2021-04-18T23:00:48.000Z
2022-02-14T17:43:15.000Z
sdk/python/pulumi_google_native/gkehub/v1/get_feature.py
AaronFriel/pulumi-google-native
75d1cda425e33d4610348972cd70bddf35f1770d
[ "Apache-2.0" ]
354
2021-04-16T16:48:39.000Z
2022-03-31T17:16:39.000Z
sdk/python/pulumi_google_native/gkehub/v1/get_feature.py
AaronFriel/pulumi-google-native
75d1cda425e33d4610348972cd70bddf35f1770d
[ "Apache-2.0" ]
8
2021-04-24T17:46:51.000Z
2022-01-05T10:40:21.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
42.314136
819
0.662831
979
8,082
5.258427
0.191011
0.02331
0.03108
0.058275
0.313714
0.246504
0.173271
0.14899
0.071096
0.071096
0
0.000325
0.238431
8,082
190
820
42.536842
0.836068
0.23707
0
0.107692
1
0
0.157235
0.027448
0
0
0
0
0
1
0.107692
false
0
0.046154
0
0.261538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9bc7f3e5c1bd62d1d89c1ed4c14db41b6456c264
2,924
py
Python
application/workprogramsapp/expertise/serializers.py
anyaarz/analytics_backend
0755554c88432e6305ce1d7f382d343f2faa2d8e
[ "MIT" ]
null
null
null
application/workprogramsapp/expertise/serializers.py
anyaarz/analytics_backend
0755554c88432e6305ce1d7f382d343f2faa2d8e
[ "MIT" ]
null
null
null
application/workprogramsapp/expertise/serializers.py
anyaarz/analytics_backend
0755554c88432e6305ce1d7f382d343f2faa2d8e
[ "MIT" ]
null
null
null
from rest_framework import serializers from dataprocessing.serializers import userProfileSerializer #from workprogramsapp.educational_program.serializers import EducationalProgramSerializer from workprogramsapp.expertise.models import UserExpertise, Expertise, ExpertiseComments from workprogramsapp.serializers import ...
35.228916
109
0.736662
269
2,924
7.825279
0.252788
0.060808
0.039905
0.043705
0.541093
0.501188
0.462233
0.370071
0.304513
0.220903
0
0
0.172709
2,924
82
110
35.658537
0.870194
0.204856
0
0.466667
0
0
0.070962
0.018285
0
0
0
0
0
1
0.111111
false
0
0.088889
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
9bca0a599b97306376d413bc465f1f5504b19707
4,216
py
Python
day_01.py
bob-white/advent_2018
4139359b322eb42ac6cfef9e574e43bc91caa62d
[ "MIT" ]
1
2018-12-02T05:41:56.000Z
2018-12-02T05:41:56.000Z
day_01.py
bob-white/advent_2018
4139359b322eb42ac6cfef9e574e43bc91caa62d
[ "MIT" ]
null
null
null
day_01.py
bob-white/advent_2018
4139359b322eb42ac6cfef9e574e43bc91caa62d
[ "MIT" ]
null
null
null
"""--- Day 1: Chronal Calibration --- "We've detected some temporal anomalies," one of Santa's Elves at the Temporal Anomaly Research and Detection Instrument Station tells you. She sounded pretty worried when she called you down here. "At 500-year intervals into the past, someone has been changing Santa's history!" ...
51.414634
420
0.733397
696
4,216
4.435345
0.360632
0.062196
0.014577
0.029155
0.143829
0.116618
0.116618
0.116618
0.116618
0.116618
0
0.031204
0.20185
4,216
81
421
52.049383
0.886181
0.878083
0
0
0
0
0.025692
0
0
0
0
0
0
1
0.117647
false
0
0.117647
0.058824
0.352941
0.117647
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9bcbd200bbad57c01a15348aef13b2a3f519f801
550
py
Python
streams/migrations/0002_subscriptions_user.py
VJPranay/PPV-django
e462245233af481f25d28b0a1422eb070b7b8c20
[ "MIT" ]
4
2019-08-04T10:41:43.000Z
2020-08-29T19:55:59.000Z
streams/migrations/0002_subscriptions_user.py
VJPranay/PPV-django
e462245233af481f25d28b0a1422eb070b7b8c20
[ "MIT" ]
9
2019-12-05T00:07:18.000Z
2021-06-10T18:46:42.000Z
streams/migrations/0002_subscriptions_user.py
VJPranay/PPV-django
e462245233af481f25d28b0a1422eb070b7b8c20
[ "MIT" ]
2
2020-11-25T20:49:07.000Z
2021-03-06T02:06:45.000Z
# Generated by Django 2.2 on 2019-07-02 02:36 from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('streams', '0001_initial'), ] o...
23.913043
104
0.650909
62
550
5.645161
0.629032
0.057143
0.091429
0.12
0
0
0
0
0
0
0
0.043373
0.245455
550
22
105
25
0.8
0.078182
0
0
1
0
0.071287
0
0
0
0
0
0
1
0
false
0
0.133333
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9bcc5ede29b7a4af341e4f8c0e4118c900a9eb9c
788
py
Python
model/chat.py
TintypeMolly/Yuzuki
94dc874c4000ac918f0b52846927311b3f25ce2c
[ "MIT" ]
6
2015-01-09T06:32:15.000Z
2015-08-15T13:23:34.000Z
model/chat.py
TintypeMolly/Yuzuki
94dc874c4000ac918f0b52846927311b3f25ce2c
[ "MIT" ]
73
2015-01-08T11:38:34.000Z
2015-09-10T09:55:08.000Z
model/chat.py
TintypeMolly/Yuzuki
94dc874c4000ac918f0b52846927311b3f25ce2c
[ "MIT" ]
11
2015-01-09T06:26:12.000Z
2015-03-26T13:16:19.000Z
# -*- coding: utf-8 -*- from datetime import datetime from sqlalchemy import Column, DateTime, ForeignKey, Integer, Text from sqlalchemy.orm import relationship from model.base import Base class Chat(Base): __tablename__ = "chat" uid = Column(Integer(), primary_key=True) content = Column(Text()) use...
29.185185
72
0.624365
96
788
4.958333
0.4375
0.037815
0.054622
0
0
0
0
0
0
0
0
0.001664
0.23731
788
26
73
30.307692
0.790349
0.02665
0
0
0
0
0.115033
0
0
0
0
0
0
1
0.05
false
0
0.2
0.05
0.65
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
9bce08aa8a111d813fd3c2b4bae104543b2fd4e5
655
py
Python
mmpose/datasets/datasets/base/__init__.py
yawara/mmpose
228747c298c0801dea093371abeca539d41a7584
[ "Apache-2.0" ]
1
2021-12-22T01:45:55.000Z
2021-12-22T01:45:55.000Z
mmpose/datasets/datasets/base/__init__.py
KHB1698/mmpose
93c3a742c540dfb4ca515ad545cef705a07d90b4
[ "Apache-2.0" ]
null
null
null
mmpose/datasets/datasets/base/__init__.py
KHB1698/mmpose
93c3a742c540dfb4ca515ad545cef705a07d90b4
[ "Apache-2.0" ]
null
null
null
# Copyright (c) OpenMMLab. All rights reserved. from .kpt_2d_sview_rgb_img_bottom_up_dataset import \ Kpt2dSviewRgbImgBottomUpDataset from .kpt_2d_sview_rgb_img_top_down_dataset import \ Kpt2dSviewRgbImgTopDownDataset from .kpt_2d_sview_rgb_vid_top_down_dataset import \ Kpt2dSviewRgbVidTopDownDataset from ....
38.529412
71
0.847328
65
655
7.969231
0.384615
0.067568
0.052124
0.081081
0.208494
0.175676
0.119691
0
0
0
0
0.030717
0.105344
655
16
72
40.9375
0.853242
0.068702
0
0
0
0
0.235197
0.235197
0
0
0
0
0
1
0
false
0
0.357143
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
9bd12afe7959992c2c25621d30c8c22bdc98fd42
1,893
py
Python
tests/infrastructure/cli/test_admin.py
MarlonIC/demo-clean-architecture-projects-tasks
86f5add11145ec31404b4d41cad0467e6e436f77
[ "MIT" ]
11
2018-06-06T03:07:35.000Z
2020-04-16T21:35:16.000Z
tests/infrastructure/cli/test_admin.py
nubark/clean-architecture-python
e194136001662d31acb3b144de45b2b1a5dcbc7d
[ "MIT" ]
2
2019-10-21T15:18:24.000Z
2020-03-12T17:20:15.000Z
tests/infrastructure/cli/test_admin.py
MarlonIC/demo-clean-architecture-projects-tasks
86f5add11145ec31404b4d41cad0467e6e436f77
[ "MIT" ]
5
2020-06-24T02:22:08.000Z
2021-11-11T07:33:23.000Z
from unittest.mock import Mock, ANY from click.testing import CliRunner from taskit.infrastructure.cli.taskit import cli def test_cli_admin_new_project(mock_state: Mock): runner = CliRunner() result = runner.invoke( cli, ['admin', 'new', 'project'], obj=mock_state, input="Academic\n") project_dict...
29.578125
77
0.657158
244
1,893
4.827869
0.184426
0.114601
0.042445
0.063667
0.7691
0.717317
0.634975
0.497453
0.497453
0.497453
0
0.008754
0.215531
1,893
63
78
30.047619
0.784512
0
0
0.433962
0
0
0.104068
0
0
0
0
0
0.188679
1
0.09434
false
0
0.056604
0
0.150943
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9bd399391e240f945c4e59ae8bb996f777e75eff
2,764
py
Python
coax/utils/_quantile_funcs.py
coax-dev/coax
7553ab11b0f709e69d8d70d1d3b4326296b0b479
[ "MIT" ]
81
2021-03-11T06:10:25.000Z
2022-03-18T18:00:10.000Z
coax/utils/_quantile_funcs.py
coax-dev/coax
7553ab11b0f709e69d8d70d1d3b4326296b0b479
[ "MIT" ]
12
2021-05-27T12:21:54.000Z
2022-02-07T16:12:54.000Z
coax/utils/_quantile_funcs.py
coax-dev/coax
7553ab11b0f709e69d8d70d1d3b4326296b0b479
[ "MIT" ]
2
2021-08-10T06:03:22.000Z
2022-03-14T06:05:33.000Z
import haiku as hk import jax import jax.numpy as jnp import numpy as onp __all__ = ( 'quantiles', 'quantiles_uniform', 'quantile_cos_embedding' ) def quantiles_uniform(rng, batch_size, num_quantiles=32): """ Generate :code:`batch_size` quantile fractions that split the interval :math:`[0, 1]` ...
28.494845
90
0.662084
333
2,764
5.333333
0.306306
0.268018
0.053491
0.04955
0.40991
0.379505
0.379505
0.301802
0.239865
0.239865
0
0.013725
0.235528
2,764
96
91
28.791667
0.826787
0.499276
0
0.064516
0
0
0.040336
0.018487
0
0
0
0
0
1
0.096774
false
0
0.129032
0
0.322581
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9bd72ba91b3e6fac6b5354d729a13897efa11e48
1,521
py
Python
app_dev.py
xbarusui/streamlit_AuthorAI_V2
ed18856e94673a5655e3d60ebf1118c122c5fd9a
[ "Apache-2.0" ]
1
2021-12-11T13:16:46.000Z
2021-12-11T13:16:46.000Z
app_dev.py
xbarusui/streamlit_AuthorAI_V2
ed18856e94673a5655e3d60ebf1118c122c5fd9a
[ "Apache-2.0" ]
null
null
null
app_dev.py
xbarusui/streamlit_AuthorAI_V2
ed18856e94673a5655e3d60ebf1118c122c5fd9a
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import streamlit as st import ai_learning as learning import ai_learning_novelup as learning_n import ai_generate as generate import text_analyze as analyze import model_upload as upload ##google colab #st.session_state.content_dir = "/content/" ##streamlit sharing st.session_state.content_dir...
20.554054
71
0.650888
178
1,521
5.269663
0.365169
0.085288
0.072495
0.044776
0.051173
0
0
0
0
0
0
0.000856
0.232084
1,521
73
72
20.835616
0.802226
0.095989
0
0.088889
1
0
0.098313
0
0
0
0
0
0
1
0.177778
false
0
0.133333
0
0.311111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9be5f9051a493964cc79670f3636660f3400ae30
3,429
py
Python
uw_bookstore/tests/test_by_schedule.py
uw-it-aca/uw-restclients-bookstore
fe0bf86c9eb550bc6858b61a3aff867a44bdde15
[ "Apache-2.0" ]
null
null
null
uw_bookstore/tests/test_by_schedule.py
uw-it-aca/uw-restclients-bookstore
fe0bf86c9eb550bc6858b61a3aff867a44bdde15
[ "Apache-2.0" ]
23
2017-06-20T20:44:51.000Z
2021-05-24T16:18:16.000Z
uw_bookstore/tests/test_by_schedule.py
uw-it-aca/uw-restclients-bookstore
fe0bf86c9eb550bc6858b61a3aff867a44bdde15
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 UW-IT, University of Washington # SPDX-License-Identifier: Apache-2.0 import logging from unittest import skipIf, TestCase from uw_bookstore import Bookstore from uw_sws.term import get_current_term,\ get_term_by_year_and_quarter from uw_sws.registration import get_schedule_by_regid_and_term from ...
36.478723
67
0.696121
394
3,429
5.751269
0.22335
0.084731
0.034422
0.047661
0.693733
0.666372
0.642101
0.616505
0.616505
0.616505
0
0.064983
0.21464
3,429
93
68
36.870968
0.776457
0.027705
0
0.541667
0
0
0.101802
0.048048
0
0
0
0
0.194444
1
0.055556
false
0
0.111111
0
0.180556
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9be9be7694b82281257e2b0771bbca0708954626
2,658
py
Python
hsm_software/pi/resources/system_init.py
DiamondKeySecurity/HSM
6b6a0d691a22863411e048c7c211ac63bf9ffaa7
[ "BSD-3-Clause" ]
null
null
null
hsm_software/pi/resources/system_init.py
DiamondKeySecurity/HSM
6b6a0d691a22863411e048c7c211ac63bf9ffaa7
[ "BSD-3-Clause" ]
null
null
null
hsm_software/pi/resources/system_init.py
DiamondKeySecurity/HSM
6b6a0d691a22863411e048c7c211ac63bf9ffaa7
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # Copyright (c) 2019 Diamond Key Security, NFP # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; version 2 # of the License only. # # This program is distributed in the ...
31.270588
90
0.63845
362
2,658
4.566298
0.400552
0.033273
0.023593
0.034483
0.072595
0.033878
0
0
0
0
0
0.008556
0.252445
2,658
84
91
31.642857
0.823352
0.294582
0
0
0
0
0.144518
0.013843
0
0
0
0
0
0
null
null
0
0.093023
null
null
0.046512
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9bf08f788dbaef174a7c3d5e8ad7d6c48a9e0212
510
py
Python
api-v2/ContactForm/migrations/0008_alter_contactformentry_message.py
MikeChurvis/mikechurvis.github.io
4271e5bb555f4ea1d6781f50b4344eb3bec1761c
[ "MIT" ]
1
2022-01-26T16:58:40.000Z
2022-01-26T16:58:40.000Z
api-v2/ContactForm/migrations/0008_alter_contactformentry_message.py
MikeChurvis/mikechurvis.github.io
4271e5bb555f4ea1d6781f50b4344eb3bec1761c
[ "MIT" ]
null
null
null
api-v2/ContactForm/migrations/0008_alter_contactformentry_message.py
MikeChurvis/mikechurvis.github.io
4271e5bb555f4ea1d6781f50b4344eb3bec1761c
[ "MIT" ]
null
null
null
# Generated by Django 4.0.4 on 2022-05-25 22:06 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('ContactForm', '0007_alter_contactformentry_organization'), ] operations = [ migrations.AlterField( ...
25.5
112
0.668627
52
510
6.461538
0.730769
0.059524
0.119048
0
0
0
0
0
0
0
0
0.063131
0.223529
510
19
113
26.842105
0.785354
0.088235
0
0
1
0
0.159827
0.086393
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9bf26caf05ac0355aa56a3178338823ecb0f9d83
2,629
py
Python
auth0_login/saml/command.py
binxio/oauth-cli
bd905ca0539210d9c8bfdd941a284e0d7b59c97d
[ "Apache-2.0" ]
9
2019-05-01T01:03:48.000Z
2021-10-31T17:49:52.000Z
auth0_login/saml/command.py
binxio/oauth-cli
bd905ca0539210d9c8bfdd941a284e0d7b59c97d
[ "Apache-2.0" ]
6
2019-05-15T18:05:56.000Z
2021-06-07T10:18:49.000Z
auth0_login/saml/command.py
binxio/oauth-cli
bd905ca0539210d9c8bfdd941a284e0d7b59c97d
[ "Apache-2.0" ]
9
2019-03-20T07:38:21.000Z
2022-02-25T09:35:30.000Z
# # Copyright 2019 - binx.io B.V. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
31.674699
89
0.718524
348
2,629
5.224138
0.385057
0.079208
0.044004
0.017602
0.075908
0
0
0
0
0
0
0.007102
0.196653
2,629
82
90
32.060976
0.853693
0.318372
0
0.069767
0
0
0.070034
0.02124
0
0
0
0
0.046512
1
0.209302
false
0
0.139535
0.069767
0.44186
0.023256
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
9bf457f0f5bebc11750065e04cde101a28be932c
3,946
py
Python
hscommon/gui/selectable_list.py
astrofrog/dupeguru
d0a3f081dab21ea3d2fc69830c9e71a18078c150
[ "BSD-3-Clause" ]
1
2017-01-03T05:50:39.000Z
2017-01-03T05:50:39.000Z
hscommon/gui/selectable_list.py
astrofrog/dupeguru
d0a3f081dab21ea3d2fc69830c9e71a18078c150
[ "BSD-3-Clause" ]
null
null
null
hscommon/gui/selectable_list.py
astrofrog/dupeguru
d0a3f081dab21ea3d2fc69830c9e71a18078c150
[ "BSD-3-Clause" ]
null
null
null
# Created By: Virgil Dupras # Created On: 2011-09-06 # Copyright 2013 Hardcoded Software (http://www.hardcoded.net) # # This software is licensed under the "BSD" License as described in the "LICENSE" file, # which should be included with this package. The terms are also available at # http://www.hardcoded.net/licens...
29.893939
100
0.634313
469
3,946
5.051173
0.324094
0.10764
0.112284
0.029126
0.135078
0.057408
0.029548
0
0
0
0
0.005245
0.275215
3,946
131
101
30.122137
0.823077
0.247086
0
0.3
0
0
0
0
0
0
0
0
0
1
0.275
false
0.025
0.025
0.05
0.425
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
9bf4d36a6725c9bafc9967caf1850bf58b321832
287
py
Python
tributary/__init__.py
femtotrader/tributary
adf108da14bfc32818171021b8eb3e8285f112c9
[ "Apache-2.0" ]
1
2020-03-23T21:10:56.000Z
2020-03-23T21:10:56.000Z
tributary/__init__.py
femtotrader/tributary
adf108da14bfc32818171021b8eb3e8285f112c9
[ "Apache-2.0" ]
null
null
null
tributary/__init__.py
femtotrader/tributary
adf108da14bfc32818171021b8eb3e8285f112c9
[ "Apache-2.0" ]
null
null
null
from gevent import monkey _PATCHED = False if not _PATCHED: monkey.patch_all(thread=False, select=False) _PATCHED = True from ._version import VERSION as __version__ # noqa: F401 from .functional import pipeline, stop # noqa: F401 from .reactive import * # noqa: F401, F403
26.090909
58
0.74216
39
287
5.230769
0.564103
0.117647
0.117647
0
0
0
0
0
0
0
0
0.051282
0.184669
287
10
59
28.7
0.820513
0.132404
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
50006cd0e45e6adfa13d00d8077c9b24b086b571
1,199
py
Python
decks.py
joaquinlpereyra/uno
97aba543d9bb3595fd1b31860d089816be5e89ec
[ "MIT" ]
null
null
null
decks.py
joaquinlpereyra/uno
97aba543d9bb3595fd1b31860d089816be5e89ec
[ "MIT" ]
null
null
null
decks.py
joaquinlpereyra/uno
97aba543d9bb3595fd1b31860d089816be5e89ec
[ "MIT" ]
null
null
null
import random from exceptions import CantTakeFromEmptyDeck, CantCheckEmptyDeck """ Holds all the deck related classes. Decks are thought of of mostly as stacks. The DiscardedDeck is special in the sense that we (almost) never take from it, we only keep adding stuff. Class and methods don't have docstrings because of ...
21.8
78
0.632193
152
1,199
4.822368
0.473684
0.07367
0.04502
0.061392
0.133697
0.133697
0.07367
0
0
0
0
0.002315
0.2794
1,199
54
79
22.203704
0.846065
0
0
0.205882
0
0
0
0
0
0
0
0
0
1
0.264706
false
0
0.058824
0.029412
0.529412
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
500bd363d31e61267d2d68c86be9d744f614e1a8
42,599
py
Python
scarce/fields.py
SiLab-Bonn/SiliconProperties
df251ffad0aa10761bae7a22b9063ba8e3daafd9
[ "MIT" ]
2
2017-05-23T19:46:24.000Z
2019-07-12T21:11:11.000Z
scarce/fields.py
SiLab-Bonn/SiliconProperties
df251ffad0aa10761bae7a22b9063ba8e3daafd9
[ "MIT" ]
5
2016-12-05T15:57:26.000Z
2017-10-09T07:24:23.000Z
scarce/fields.py
SiLab-Bonn/Scarce
df251ffad0aa10761bae7a22b9063ba8e3daafd9
[ "MIT" ]
null
null
null
r"""The field module calculates the potentials and fields of silicon sensors. The potential is determined numerically by solving these equations on a mesh: .. math:: \nabla^2 \Phi = 0 :label: laplace .. math:: \nabla^2 \Phi = \frac{\rho}{\epsilon} :label: poisson For the weighting potential equation :eq:`lapl...
38.102862
181
0.558886
5,588
42,599
4.106299
0.098783
0.003051
0.013946
0.003661
0.57923
0.518696
0.483047
0.455156
0.435283
0.424649
0
0.014846
0.326416
42,599
1,117
182
38.136974
0.784833
0.113148
0
0.463221
0
0
0.051329
0
0
0
0
0.001791
0
0
null
null
0
0.017893
null
null
0.001988
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
500ea5cee28e0248ec7cafd69e40e1a65bd228f3
295
py
Python
src/_leetcode/_search/_1760/Solution.py
caffebaby/_leetcode
bb45dfed5ea53dffb54dc9f975697571830410f1
[ "MIT" ]
null
null
null
src/_leetcode/_search/_1760/Solution.py
caffebaby/_leetcode
bb45dfed5ea53dffb54dc9f975697571830410f1
[ "MIT" ]
null
null
null
src/_leetcode/_search/_1760/Solution.py
caffebaby/_leetcode
bb45dfed5ea53dffb54dc9f975697571830410f1
[ "MIT" ]
null
null
null
class Solution: def minimumSize(self, nums: List[int], maxOperations: int) -> int: lo, hi = 1, 1_000_000_000 while lo < hi: mid = lo + hi >> 1 if sum((x-1)//mid for x in nums) <= maxOperations: hi = mid else: lo = mid + 1 return lo
36.875
71
0.515254
43
295
3.465116
0.511628
0.080537
0.067114
0
0
0
0
0
0
0
0
0.074866
0.366102
295
8
72
36.875
0.721925
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
500ec463dab88c6bf80be694aaf8d51347aa6cb1
1,799
py
Python
sequenceObjects.py
smadhiv/KakuroSolver
6a9d20d62fd4e759d740c902f8cb0eebf6129407
[ "MIT" ]
1
2021-09-16T12:16:23.000Z
2021-09-16T12:16:23.000Z
sequenceObjects.py
smadhiv/KakuroSolver
6a9d20d62fd4e759d740c902f8cb0eebf6129407
[ "MIT" ]
null
null
null
sequenceObjects.py
smadhiv/KakuroSolver
6a9d20d62fd4e759d740c902f8cb0eebf6129407
[ "MIT" ]
null
null
null
class sequenceObjects(object): """generate objects for each vertical and horizontal sequences""" def __init__(self, index, length, sumOfInts, isHorizontal): self.isFilled = False self.index = index self.lengthOfSequence = length self.sumOfInts = sumOfInts reverseIndex = reversed(self.inde...
47.342105
161
0.678155
213
1,799
5.70892
0.319249
0.037007
0.014803
0.027138
0.196546
0.149671
0.126645
0.126645
0.126645
0.126645
0
0.01567
0.219566
1,799
37
162
48.621622
0.850427
0.125625
0
0
1
0
0.011184
0
0
0
0
0
0
1
0.09375
false
0
0
0
0.1875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
500febba700583ff8d706ea91b03196ea59905ff
918
py
Python
app/__init__.py
redforge/Flask_Signin
b9fe05e0a9af07603622c22d8eba060c2d696d52
[ "Unlicense" ]
2
2018-08-08T20:26:16.000Z
2020-06-03T01:06:27.000Z
app/__init__.py
redforge/Flask_Signin
b9fe05e0a9af07603622c22d8eba060c2d696d52
[ "Unlicense" ]
2
2018-08-08T23:26:19.000Z
2018-08-08T23:41:33.000Z
app/__init__.py
threethan/Parts-and-Crafts-Sign-In
b9fe05e0a9af07603622c22d8eba060c2d696d52
[ "Unlicense" ]
null
null
null
from flask import Flask from flask_login import LoginManager from app.data import user_roles #from flask_sslify import SSLify from app.configs.config_flask import Config import os.path from flask_bcrypt import Bcrypt app = Flask(__name__) app.config.from_object(Config) if True: from app.data.get_time import get_t...
30.6
147
0.776688
142
918
4.852113
0.457746
0.050798
0.047896
0
0
0
0
0
0
0
0
0
0.135076
918
29
148
31.655172
0.867758
0.093682
0
0
0
0.047619
0.2
0
0
0
0
0
0
1
0
false
0
0.47619
0
0.47619
0.095238
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
5011fc949c554c1ae0cfe7801eed490650933e86
2,716
py
Python
Modules/languageDetect.py
A1S0N/Qu1cksc0pe
5298b49dec4f3529d6050b64c6a63bbd05d1b582
[ "Apache-2.0" ]
255
2019-10-19T13:43:33.000Z
2022-03-27T16:45:36.000Z
Modules/languageDetect.py
0x731/Qu1cksc0pe
931e8d32370cdc74a85e5ce6ee98537ee5a26675
[ "Apache-2.0" ]
7
2021-02-21T19:21:18.000Z
2022-03-31T15:19:23.000Z
Modules/languageDetect.py
0x731/Qu1cksc0pe
931e8d32370cdc74a85e5ce6ee98537ee5a26675
[ "Apache-2.0" ]
54
2020-01-23T18:37:06.000Z
2022-03-07T21:01:31.000Z
#!/usr/bin/python3 import sys try: import puremagic as pr except: print("Error: >puremagic< module not found.") sys.exit(1) try: from colorama import Fore, Style except: print("Error: >colorama< module not found.") sys.exit(1) # Getting name of the file for executable checker function fileNa...
33.121951
143
0.621502
342
2,716
4.818713
0.48538
0.021238
0.019417
0.021845
0.095267
0.06432
0
0
0
0
0
0.015632
0.222754
2,716
82
144
33.121951
0.76504
0.125552
0
0.2
0
0
0.350951
0.052431
0
0
0
0.012195
0
1
0.033333
false
0.016667
0.05
0
0.116667
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
5015dc1a7cea2aac99d499b519d0baf1c5de431c
544
py
Python
soli/aria/validation/geometry.py
rcdixon/soli
d29c77c1d391dfcc3c0dd0297ecf93fa9aa046ab
[ "MIT" ]
null
null
null
soli/aria/validation/geometry.py
rcdixon/soli
d29c77c1d391dfcc3c0dd0297ecf93fa9aa046ab
[ "MIT" ]
null
null
null
soli/aria/validation/geometry.py
rcdixon/soli
d29c77c1d391dfcc3c0dd0297ecf93fa9aa046ab
[ "MIT" ]
null
null
null
from functools import reduce import operator import math def calculateDistance(pointA, pointB): distance = math.sqrt((pointA[0] - pointB[0])**2 + (pointA[1] - pointB[1])**2) return distance def orderCoordinates(*coords): if len(coords) == 0 or coords is None: return center = tuple(map(ope...
32
132
0.665441
76
544
4.763158
0.513158
0.09116
0.088398
0
0
0
0
0
0
0
0
0.035556
0.172794
544
16
133
34
0.768889
0
0
0
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
0.272727
0
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
501fc0a933c6b80256177f6f15e237fbd8936f75
8,108
py
Python
deprecated/distribution_tests.py
pytaunay/multiwavelength-pyrometry
b74ff7d7f56e80ccf0c8a081193805bd912e56b6
[ "MIT" ]
null
null
null
deprecated/distribution_tests.py
pytaunay/multiwavelength-pyrometry
b74ff7d7f56e80ccf0c8a081193805bd912e56b6
[ "MIT" ]
null
null
null
deprecated/distribution_tests.py
pytaunay/multiwavelength-pyrometry
b74ff7d7f56e80ccf0c8a081193805bd912e56b6
[ "MIT" ]
null
null
null
import numpy as np from numpy.polynomial import Polynomial, polynomial import matplotlib.pyplot as plt from scipy.stats import norm import spectropyrometer_constants as sc import generate_spectrum as gs import temperature_functions as tf import pixel_operations as po from statistics import tukey_fence from sklearn.n...
30.828897
88
0.686729
1,410
8,108
3.800709
0.199291
0.031349
0.041239
0.044411
0.357716
0.292592
0.257138
0.255272
0.230453
0.189401
0
0.064027
0.137025
8,108
263
89
30.828897
0.701872
0.591638
0
0.026316
1
0
0.062739
0
0
0
0
0.003802
0
1
0
false
0
0.157895
0
0.157895
0.078947
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
50236ae9f5d4a25c459b471459333c09caa1b36f
2,425
py
Python
6P/SD/servidor-nomes/grpc/produto_pb2_grpc.py
rwnicholas/fluffy-potato
52ccd25cf77f8cebce1420e7fe9028a277811986
[ "MIT" ]
null
null
null
6P/SD/servidor-nomes/grpc/produto_pb2_grpc.py
rwnicholas/fluffy-potato
52ccd25cf77f8cebce1420e7fe9028a277811986
[ "MIT" ]
null
null
null
6P/SD/servidor-nomes/grpc/produto_pb2_grpc.py
rwnicholas/fluffy-potato
52ccd25cf77f8cebce1420e7fe9028a277811986
[ "MIT" ]
null
null
null
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc import produto_pb2 as produto__pb2 class Produto_EntregueStub(object): """Missing associated documentation comment in .proto file.""" def __init__(sel...
36.19403
97
0.673402
233
2,425
6.746781
0.386266
0.050891
0.076336
0.094148
0.137405
0.137405
0.137405
0.10687
0.072519
0
0
0.004384
0.247423
2,425
66
98
36.742424
0.856986
0.188866
0
0
1
0
0.073298
0.033508
0
0
0
0
0
1
0.095238
false
0
0.047619
0.02381
0.238095
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5029848e635c2fe4204263d3d7a6286e6912c0c2
363
py
Python
commercia/quotes/management/commands/create_quote_items.py
commoncode/economica
3de2415d7f0e0e81cc6ac7a054839daeb1ba6748
[ "IJG" ]
2
2015-09-14T10:13:39.000Z
2015-09-14T12:53:45.000Z
commercia/quotes/management/commands/create_quote_items.py
commoncode/economica
3de2415d7f0e0e81cc6ac7a054839daeb1ba6748
[ "IJG" ]
null
null
null
commercia/quotes/management/commands/create_quote_items.py
commoncode/economica
3de2415d7f0e0e81cc6ac7a054839daeb1ba6748
[ "IJG" ]
null
null
null
from django.core.management.base import BaseCommand, CommandError from ... import factories class Command(BaseCommand): help = 'Create a sample of QuoteItems' def handle(self, *args, **options): for i in range(3): quote_item_instance = factories.QuoteItemFactory() print "Quo...
25.928571
65
0.68595
42
363
5.833333
0.833333
0.073469
0.138776
0
0
0
0
0
0
0
0
0.003497
0.212121
363
13
66
27.923077
0.853147
0
0
0
0
0
0.115702
0
0
0
0
0
0
0
null
null
0
0.25
null
null
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
5029e9ad355f25e66144c0542a62a97d7f971e03
6,426
py
Python
examples/bidspath.py
skjerns/mne-bids
dfedceee1f0b00c6f4e0fe6b19dd94f82f498802
[ "BSD-3-Clause" ]
83
2017-09-25T21:27:45.000Z
2022-03-31T19:33:37.000Z
examples/bidspath.py
skjerns/mne-bids
dfedceee1f0b00c6f4e0fe6b19dd94f82f498802
[ "BSD-3-Clause" ]
953
2017-07-12T00:43:40.000Z
2022-03-31T19:52:28.000Z
examples/bidspath.py
skjerns/mne-bids
dfedceee1f0b00c6f4e0fe6b19dd94f82f498802
[ "BSD-3-Clause" ]
69
2017-07-12T00:22:42.000Z
2022-03-15T10:37:28.000Z
""" .. _bidspath-example: =============================== 10. An introduction to BIDSPath =============================== BIDSPath is MNE-BIDS's working horse when it comes to file and folder operations. Learn here how to use it. """ # Author: Richard Höchenberger <richard.hoechenberger@gmail.com> # # License: BSD-3-...
35.307692
79
0.718332
1,040
6,426
4.390385
0.317308
0.04205
0.025624
0.007884
0.026719
0.019273
0
0
0
0
0
0.002805
0.167756
6,426
181
80
35.502762
0.850972
0.823996
0
0.181818
0
0
0.038273
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0.272727
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
503500f1c9ed3fe4a51b895a3f43192858ae3785
579
py
Python
aioserf/result.py
smurfix/aioserf
2cfaf7be377a0d3370c23f72606aa8c216fa20be
[ "MIT" ]
2
2019-05-22T13:28:38.000Z
2019-05-22T15:01:26.000Z
aioserf/result.py
smurfix/aioserf
2cfaf7be377a0d3370c23f72606aa8c216fa20be
[ "MIT" ]
1
2019-01-23T19:10:50.000Z
2019-01-23T19:10:50.000Z
aioserf/result.py
smurfix/aioserf
2cfaf7be377a0d3370c23f72606aa8c216fa20be
[ "MIT" ]
null
null
null
# simple result class class SerfResult(object): """ Result object for responses from a Serf agent. """ def __init__(self, head=None, body=None): self.head, self.body = head, body def __iter__(self): """ Iterator. Used for assignment, i.e.:: head, bod...
20.678571
51
0.511226
67
579
4.119403
0.447761
0.115942
0
0
0
0
0
0
0
0
0
0
0.350604
579
27
52
21.444444
0.734043
0.226252
0
0
0
0
0.099237
0.081425
0
0
0
0
0
1
0.272727
false
0
0
0.090909
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
503649b1054371b110b2e2aeee5cbc7175a2a623
216
py
Python
Modelling/Clustering/DB-Scan clustering.py
fraunhofer-iais/IAIS-Python-Snippets
a3ee610d6270cda2c891688851696c34831ffa2b
[ "MIT" ]
null
null
null
Modelling/Clustering/DB-Scan clustering.py
fraunhofer-iais/IAIS-Python-Snippets
a3ee610d6270cda2c891688851696c34831ffa2b
[ "MIT" ]
null
null
null
Modelling/Clustering/DB-Scan clustering.py
fraunhofer-iais/IAIS-Python-Snippets
a3ee610d6270cda2c891688851696c34831ffa2b
[ "MIT" ]
null
null
null
# Calculate density based clusters via DBSCAN # NOTE THAT YOUR DATA NEEDS TO BE NORMALIZED from sklearn.cluster import DBSCAN clus = DBSCAN(eps=0.3, min_samples=10) clus.fit(data) labels = clus.labels_.astype(float)
30.857143
45
0.787037
35
216
4.8
0.828571
0
0
0
0
0
0
0
0
0
0
0.021277
0.12963
216
7
46
30.857143
0.87234
0.398148
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5039e8f8150de28150715fdd2e86ce49cc1fc739
365
py
Python
tensorflow/compiler/aot/custom/input_image.py
Edward7Zhang/tensorflow_XLA_AOT
e09f5e0b9cc1e25c570e8eb0fad84935cb17f4ae
[ "Apache-2.0" ]
null
null
null
tensorflow/compiler/aot/custom/input_image.py
Edward7Zhang/tensorflow_XLA_AOT
e09f5e0b9cc1e25c570e8eb0fad84935cb17f4ae
[ "Apache-2.0" ]
null
null
null
tensorflow/compiler/aot/custom/input_image.py
Edward7Zhang/tensorflow_XLA_AOT
e09f5e0b9cc1e25c570e8eb0fad84935cb17f4ae
[ "Apache-2.0" ]
null
null
null
from keras.preprocessing import image from keras.applications.imagenet_utils import preprocess_input, decode_predictions from tensorflow.compiler.aot.custom.predict_model import predict image_path = input() x = image.img_to_array(image.load_img(image_path, target_size=(160, 160))) x = x[None, ...] x = preprocess_inp...
30.416667
82
0.79726
55
365
5.072727
0.545455
0.064516
0
0
0
0
0
0
0
0
0
0.021148
0.093151
365
12
83
30.416667
0.821752
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
503bdfc8ebbc0f073fe10442c99d50fcf9d9debf
3,135
py
Python
examples/openmdao.examples.metamodel_tutorial/openmdao/examples/metamodel_tutorial/krig_sin.py
JustinSGray/OpenMDAO-Framework
7ebd7fda0b10fbe8a86ae938dc4f135396dd9759
[ "Apache-2.0" ]
3
2015-06-02T00:36:28.000Z
2018-11-03T00:35:21.000Z
examples/openmdao.examples.metamodel_tutorial/openmdao/examples/metamodel_tutorial/krig_sin.py
JustinSGray/OpenMDAO-Framework
7ebd7fda0b10fbe8a86ae938dc4f135396dd9759
[ "Apache-2.0" ]
null
null
null
examples/openmdao.examples.metamodel_tutorial/openmdao/examples/metamodel_tutorial/krig_sin.py
JustinSGray/OpenMDAO-Framework
7ebd7fda0b10fbe8a86ae938dc4f135396dd9759
[ "Apache-2.0" ]
null
null
null
from openmdao.main.api import Assembly, Component, SequentialWorkflow, set_as_top from math import sin from openmdao.lib.datatypes.api import Float from openmdao.lib.drivers.api import DOEdriver from openmdao.lib.doegenerators.api import FullFactorial, Uniform from openmdao.lib.components.api import MetaModel from ope...
37.321429
88
0.676874
426
3,135
4.758216
0.286385
0.048347
0.082881
0.025654
0.176616
0.157375
0.111495
0.073014
0.073014
0.073014
0
0.008451
0.207337
3,135
83
89
37.771084
0.807243
0.082616
0
0
0
0
0.115023
0.008714
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.018519
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
503c8e98a73bd9528734718315df2521929e808b
938
py
Python
lib/medipy/gui/__init__.py
bsavelev/medipy
f0da3750a6979750d5f4c96aedc89ad5ae74545f
[ "CECILL-B" ]
null
null
null
lib/medipy/gui/__init__.py
bsavelev/medipy
f0da3750a6979750d5f4c96aedc89ad5ae74545f
[ "CECILL-B" ]
null
null
null
lib/medipy/gui/__init__.py
bsavelev/medipy
f0da3750a6979750d5f4c96aedc89ad5ae74545f
[ "CECILL-B" ]
1
2022-03-04T05:47:08.000Z
2022-03-04T05:47:08.000Z
########################################################################## # MediPy - Copyright (C) Universite de Strasbourg # Distributed under the terms of the CeCILL-B license, as published by # the CEA-CNRS-INRIA. Refer to the LICENSE file or to # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html # for de...
49.368421
78
0.67484
92
938
6.673913
0.576087
0.058632
0.065147
0.078176
0.136808
0.136808
0.136808
0
0
0
0
0.004779
0.107676
938
18
79
52.111111
0.728793
0.25693
0
0
0
0
0.255985
0.130755
0
0
0
0
0
1
0
false
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
0
0
1
0
0
0
0
1
5044d6dc112752027398e59579500e3987b5ae30
1,225
py
Python
loader.py
bbt-t/bot-pet-project
6b0d7862b14fe739be52d87ff8c8610a3f4548e1
[ "Apache-2.0" ]
null
null
null
loader.py
bbt-t/bot-pet-project
6b0d7862b14fe739be52d87ff8c8610a3f4548e1
[ "Apache-2.0" ]
null
null
null
loader.py
bbt-t/bot-pet-project
6b0d7862b14fe739be52d87ff8c8610a3f4548e1
[ "Apache-2.0" ]
null
null
null
from asyncio import set_event_loop_policy from aiogram import Bot, Dispatcher, types from aiogram.contrib.fsm_storage.redis import RedisStorage2 from apscheduler.jobstores.sqlalchemy import SQLAlchemyJobStore from apscheduler.schedulers.asyncio import AsyncIOScheduler from sqlalchemy.ext.declarative import declarative...
32.236842
93
0.787755
161
1,225
5.813665
0.453416
0.041667
0.025641
0.038462
0
0
0
0
0
0
0
0.008204
0.10449
1,225
37
94
33.108108
0.845032
0
0
0
0
0
0.13551
0.097143
0
0
0
0
0
1
0
false
0
0.357143
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
50504f9b9fbd5121e64855a2de52c5dcf6f39901
348
py
Python
src/coco/hostapi/config.py
ipynbsrv/hostapi
2ec768495d71a76220d30945758e7c4dee81885f
[ "BSD-3-Clause" ]
null
null
null
src/coco/hostapi/config.py
ipynbsrv/hostapi
2ec768495d71a76220d30945758e7c4dee81885f
[ "BSD-3-Clause" ]
null
null
null
src/coco/hostapi/config.py
ipynbsrv/hostapi
2ec768495d71a76220d30945758e7c4dee81885f
[ "BSD-3-Clause" ]
null
null
null
""" Stores a Boolean indicating if the app should run in debug mode or not. This option can be set with -d or --debug on start. """ debug = False """ Variable storing a reference to the container backend implementation the API should use. This option can be set with --container-backend CONTAINER_BACKEND on start. "...
23.2
88
0.752874
55
348
4.727273
0.618182
0.246154
0.1
0.115385
0.169231
0.169231
0
0
0
0
0
0
0.178161
348
14
89
24.857143
0.909091
0.356322
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
505051264275302d9514d44b913f391c5d4439fd
4,251
py
Python
apps/verifications/forms.py
dawang-youy/Django-blog
529e7ef16d65170dc56cd628c34c5c9806138eed
[ "Apache-2.0" ]
null
null
null
apps/verifications/forms.py
dawang-youy/Django-blog
529e7ef16d65170dc56cd628c34c5c9806138eed
[ "Apache-2.0" ]
null
null
null
apps/verifications/forms.py
dawang-youy/Django-blog
529e7ef16d65170dc56cd628c34c5c9806138eed
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/myblog_env python3 # -*- coding: utf-8 -*- """ ------------------------------------------------- @Time : 2018/12/3 4:18 PM @Auth : Youkou @Site : www.youkou.site @File : forms.py @IDE : PyCharm @Edit : 2018/12/3 ------------------------------------------------- """ import re from django import ...
36.333333
101
0.599153
488
4,251
5.010246
0.364754
0.033129
0.0818
0.026994
0.08998
0.051534
0.051534
0.051534
0.051534
0.051534
0
0.019084
0.260409
4,251
117
102
36.333333
0.758588
0.165373
0
0.066667
0
0
0.122461
0
0
0
0
0
0
1
0.05
false
0.066667
0.1
0
0.3
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
5050605ac53bfbbdda62a0bbac703b1612b24b63
6,698
py
Python
valentyusb/usbcore/rx/crc_test.py
rjeschmi/valentyusb
a0526ad053c394306ad7a585a7ddd463831ad09d
[ "BSD-3-Clause" ]
105
2019-05-12T22:52:34.000Z
2022-03-19T15:40:28.000Z
valentyusb/usbcore/rx/crc_test.py
rjeschmi/valentyusb
a0526ad053c394306ad7a585a7ddd463831ad09d
[ "BSD-3-Clause" ]
18
2019-05-13T02:56:14.000Z
2021-06-15T01:12:08.000Z
valentyusb/usbcore/rx/crc_test.py
rjeschmi/valentyusb
a0526ad053c394306ad7a585a7ddd463831ad09d
[ "BSD-3-Clause" ]
19
2019-07-06T19:55:02.000Z
2022-01-31T15:01:39.000Z
#!/usr/bin/env python3 import unittest from migen import * from migen.fhdl.decorators import ResetInserter from ..test.common import BaseUsbTestCase from .crc import RxCrcChecker class TestRxCrcChecker(BaseUsbTestCase): def shifter_test(self, i, vector): def send(reset, valid, value): crc_go...
37.841808
128
0.485667
449
6,698
5.394209
0.202673
0.052023
0.06441
0.056152
0.557391
0.513212
0.421965
0.357556
0.334847
0.263419
0
0.156491
0.400866
6,698
176
129
38.056818
0.447047
0.042401
0
0.372414
0
0
0.224044
0.166745
0
0
0
0
0.006897
1
0.075862
false
0
0.034483
0.055172
0.17931
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5051b7e90743e4f7969a056064e028fe67cbd4aa
9,867
py
Python
HEC/VB_Mgmt.py
LANINCE3/LAN_INF
6c02093e5d48fe60f672717d86a1c29571fa4b56
[ "MIT" ]
null
null
null
HEC/VB_Mgmt.py
LANINCE3/LAN_INF
6c02093e5d48fe60f672717d86a1c29571fa4b56
[ "MIT" ]
null
null
null
HEC/VB_Mgmt.py
LANINCE3/LAN_INF
6c02093e5d48fe60f672717d86a1c29571fa4b56
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on August 08 08:44:25 2018 @author: Alexander Govea This script is a part of the Watershed Planning Tool development project, which is developed by Lockwood Andrews & Newnam Inc (LAN) for Harris County Flood Control District (HCFCD). The VB_Mgmt.py Files functions as a ...
49.582915
153
0.528631
1,174
9,867
4.306644
0.225724
0.042722
0.033623
0.040348
0.447389
0.422666
0.371835
0.371835
0.34731
0.34731
0
0.011801
0.373062
9,867
199
154
49.582915
0.805529
0.244046
0
0.573427
0
0
0.053771
0
0
0
0
0
0
1
0.020979
false
0.062937
0.06993
0
0.146853
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
505a833c3182d81097be35901ac1932dffaad57a
1,373
py
Python
iota_mnemonic/__main__.py
monperrus/iota-mnemonic
0eb2adf28a05e8de541b0a0c40593f45ae5a0358
[ "MIT" ]
14
2017-12-28T17:38:25.000Z
2021-04-17T15:06:53.000Z
iota_mnemonic/__main__.py
monperrus/iota-mnemonic
0eb2adf28a05e8de541b0a0c40593f45ae5a0358
[ "MIT" ]
3
2018-01-31T06:36:49.000Z
2020-06-04T12:02:13.000Z
iota_mnemonic/__main__.py
monperrus/iota-mnemonic
0eb2adf28a05e8de541b0a0c40593f45ae5a0358
[ "MIT" ]
10
2017-12-28T17:38:34.000Z
2021-04-26T17:28:47.000Z
# -*- coding: utf-8 -*- import argparse from .iotamnemonic import IOTAMnemonic def main(): prog = 'iotamenomic' description = 'Create and recover IOTA seed from Bitcoin BIP39 mnemonic' parser = argparse.ArgumentParser(prog=prog, description=description) parser.add_argument('-s', '--strength', nargs=...
31.204545
82
0.618354
161
1,373
5.173913
0.465839
0.048019
0.102041
0.045618
0.057623
0
0
0
0
0
0
0.021947
0.236708
1,373
43
83
31.930233
0.772901
0.075747
0
0.068966
0
0
0.233992
0.018182
0
0
0
0
0
1
0.034483
false
0.068966
0.068966
0
0.103448
0.068966
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
505f9bab33da77d4469315f495b2dea219834822
6,396
py
Python
S2TruckDetect/src/S2TD/osm_utils/osm_utils.py
hfisser/s2_trucks
323e73edb82e314e6695e8cf8d89c2de22f54b04
[ "MIT" ]
4
2021-06-17T07:44:16.000Z
2021-10-15T22:32:12.000Z
S2TruckDetect/src/S2TD/osm_utils/osm_utils.py
hfisser/s2_trucks
323e73edb82e314e6695e8cf8d89c2de22f54b04
[ "MIT" ]
null
null
null
S2TruckDetect/src/S2TD/osm_utils/osm_utils.py
hfisser/s2_trucks
323e73edb82e314e6695e8cf8d89c2de22f54b04
[ "MIT" ]
null
null
null
import os import numpy as np import pandas as pd import geopandas as gpd from shapely.geometry import Point from S2TruckDetect.src.S2TD.array_utils.points import rasterize from OSMPythonTools.overpass import Overpass from OSMPythonTools.overpass import overpassQueryBuilder def buffer_bbox(bbox_osm): """ Buffe...
43.510204
116
0.629612
840
6,396
4.62619
0.263095
0.043232
0.014153
0.020587
0.120432
0.112198
0.07051
0.07051
0.07051
0.048893
0
0.010778
0.274703
6,396
146
117
43.808219
0.826902
0.264697
0
0.171429
0
0
0.053936
0
0
0
0
0
0
1
0.038095
false
0.057143
0.07619
0
0.152381
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ac8f1596ad5b7101e396ee4c0bf38249345fe184
1,318
py
Python
ckanext/scheming/tests/test_group_logic.py
TomeCirun/ckanext-scheming
79270b11f2e9b3e2ef23b19c93eb47d1cddd3016
[ "MIT" ]
52
2016-01-19T16:42:12.000Z
2022-03-15T20:44:27.000Z
ckanext/scheming/tests/test_group_logic.py
TomeCirun/ckanext-scheming
79270b11f2e9b3e2ef23b19c93eb47d1cddd3016
[ "MIT" ]
165
2015-12-04T13:05:43.000Z
2022-03-18T00:06:29.000Z
ckanext/scheming/tests/test_group_logic.py
TomeCirun/ckanext-scheming
79270b11f2e9b3e2ef23b19c93eb47d1cddd3016
[ "MIT" ]
118
2015-12-04T13:12:12.000Z
2022-03-04T22:05:30.000Z
import pytest from ckanapi import LocalCKAN, NotFound class TestGroupSchemaLists(object): def test_group_schema_list(self): lc = LocalCKAN("visitor") group_schemas = lc.action.scheming_group_schema_list() assert sorted(group_schemas) == ["group", "theme"] def test_group_schema_show(se...
35.621622
68
0.672989
149
1,318
5.671141
0.268456
0.049704
0.106509
0.156213
0.618935
0.489941
0.414201
0.307692
0.307692
0.307692
0
0.001929
0.213202
1,318
36
69
36.611111
0.812922
0
0
0.275862
0
0
0.10698
0
0
0
0
0
0.137931
1
0.206897
false
0
0.068966
0
0.310345
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
ac8f31a48ff1f0fd54183a475cd2ea86ddfd46db
651
py
Python
src/Day24_MergeKSortedLists_test.py
ruarfff/leetcode-jan-2021
9436c0d6b82e83c0b21a498c998fa9e41d443d3c
[ "MIT" ]
null
null
null
src/Day24_MergeKSortedLists_test.py
ruarfff/leetcode-jan-2021
9436c0d6b82e83c0b21a498c998fa9e41d443d3c
[ "MIT" ]
null
null
null
src/Day24_MergeKSortedLists_test.py
ruarfff/leetcode-jan-2021
9436c0d6b82e83c0b21a498c998fa9e41d443d3c
[ "MIT" ]
null
null
null
import pytest from .util import toListNode, toList from .Day24_MergeKSortedLists import Solution s = Solution() @pytest.mark.parametrize( "lists,expected", [([[1, 4, 5], [1, 3, 4], [2, 6]], [1, 1, 2, 3, 4, 4, 5, 6]), ([], []), ([[]], [])], ) def test_merge_k_lists(lists, expected): assert toList(s.mergeK...
32.55
88
0.592934
94
651
4.031915
0.340426
0.205805
0.110818
0.137203
0.670185
0.532982
0.532982
0.532982
0.332454
0.332454
0
0.066176
0.164363
651
20
88
32.55
0.630515
0
0
0.375
0
0
0.042945
0
0
0
0
0
0.125
1
0.125
false
0
0.1875
0
0.3125
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
acaa9588725abbe9382c6c728e15e23821cff62d
8,677
py
Python
2018/2018-05-20-RCTF/misc/NumberGame/src/masterminder/masterminder.py
aicioara/ctf
69ffdb0f7448e4ddc95c7090c68d9ff1f1b2aa0d
[ "MIT" ]
4
2018-05-21T11:49:33.000Z
2019-09-14T16:08:37.000Z
2018/2018-05-20-RCTF/misc/NumberGame/src/masterminder/masterminder.py
aicioara/ctf
69ffdb0f7448e4ddc95c7090c68d9ff1f1b2aa0d
[ "MIT" ]
null
null
null
2018/2018-05-20-RCTF/misc/NumberGame/src/masterminder/masterminder.py
aicioara/ctf
69ffdb0f7448e4ddc95c7090c68d9ff1f1b2aa0d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import itertools import operator import random import sys import time NUMBER_OF_SLOTS = 4 COLORS = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'] COLOR_NAMES = { '0': '0', '1': '1', '2': '2', '3': '3', '4': '4', '5': '5', '6': '6', '7': '7', '8': '8', ...
34.43254
101
0.574162
1,010
8,677
4.80297
0.274257
0.039579
0.013399
0.008658
0.105133
0.074212
0.051123
0.035457
0.018553
0.018553
0
0.016118
0.320733
8,677
251
102
34.569721
0.806583
0.015328
0
0.06135
0
0
0.104624
0
0
0
0
0
0
0
null
null
0
0.030675
null
null
0.08589
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
acbc0e70c407eb7fcb84c5ba26743d9445316293
14,180
py
Python
in_progress/GiRaFFE_NRPy/GiRaFFE_NRPy_Afield_flux_handwritten.py
terrencepierrej/nrpytutorial
3ea18beed99cf6b7d67c89c140ca68630452001e
[ "BSD-2-Clause" ]
null
null
null
in_progress/GiRaFFE_NRPy/GiRaFFE_NRPy_Afield_flux_handwritten.py
terrencepierrej/nrpytutorial
3ea18beed99cf6b7d67c89c140ca68630452001e
[ "BSD-2-Clause" ]
null
null
null
in_progress/GiRaFFE_NRPy/GiRaFFE_NRPy_Afield_flux_handwritten.py
terrencepierrej/nrpytutorial
3ea18beed99cf6b7d67c89c140ca68630452001e
[ "BSD-2-Clause" ]
null
null
null
# Step 0: Add NRPy's directory to the path # https://stackoverflow.com/questions/16780014/import-file-from-parent-directory import os,sys nrpy_dir_path = os.path.join("..") if nrpy_dir_path not in sys.path: sys.path.append(nrpy_dir_path) import cmdline_helper as cmd # NRPy+: Multi-platform Python command-line ...
58.114754
128
0.535896
1,965
14,180
3.699746
0.196947
0.06685
0.007428
0.008253
0.213067
0.164374
0.125309
0.096836
0.06685
0.06685
0
0.05124
0.349013
14,180
243
129
58.353909
0.736323
0.026516
0
0.084112
0
0.135514
0.923456
0.136271
0
0
0
0
0
1
0.004673
false
0
0.028037
0
0.037383
0.009346
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
acbe7114a8ee77f194e9210bea5cdfcca4ae71dc
1,407
py
Python
database_setup.py
aldefy/FSND_Item_Catalog
b7f2ef5e96c2b27e338ff5aa6ab148a0527c9501
[ "Unlicense" ]
null
null
null
database_setup.py
aldefy/FSND_Item_Catalog
b7f2ef5e96c2b27e338ff5aa6ab148a0527c9501
[ "Unlicense" ]
null
null
null
database_setup.py
aldefy/FSND_Item_Catalog
b7f2ef5e96c2b27e338ff5aa6ab148a0527c9501
[ "Unlicense" ]
null
null
null
from sqlalchemy import Column, ForeignKey, Integer, String from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import relationship, backref from sqlalchemy import create_engine Base = declarative_base() class User(Base): __tablename__ = "user" id = Column(Integer, primary_key = True) name ...
26.055556
79
0.719972
169
1,407
5.857988
0.260355
0.048485
0.090909
0.116162
0.437374
0.380808
0.380808
0.380808
0.29596
0.29596
0
0.014963
0.144989
1,407
53
80
26.54717
0.80798
0
0
0.47619
0
0
0.09737
0.017058
0
0
0
0
0
1
0.047619
false
0
0.095238
0.047619
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
acbf23f58a4d8e31d53b701c13bd5a1cdd19f2e6
2,257
py
Python
Python/Number To Words.py
msidrisi91/learn2code
250d1a23affdda9f049874f0718864b42a013c64
[ "MIT" ]
13
2021-10-01T03:47:31.000Z
2022-03-27T15:07:27.000Z
Python/Number To Words.py
msidrisi91/learn2code
250d1a23affdda9f049874f0718864b42a013c64
[ "MIT" ]
17
2021-10-01T06:30:33.000Z
2021-10-17T14:35:40.000Z
Python/Number To Words.py
msidrisi91/learn2code
250d1a23affdda9f049874f0718864b42a013c64
[ "MIT" ]
41
2021-10-01T01:54:26.000Z
2021-10-31T09:06:41.000Z
# Works from Zero til One Thousand! def InWords(num): # We must define all unique numbers TillFifteen = {0: "zero", 1: "one", 2: "two", 3: "three", 4: "four", 5: "five", 6: "six", 7: "seven", 8: "eight", 9: "nine", 10: "ten", 11: "eleven", 12: "twelve", 13: "thirteen", 15: "fifteen"} # Mul...
37
117
0.568897
283
2,257
4.515901
0.459364
0.046948
0.035211
0.023474
0.097027
0.070423
0.070423
0.070423
0.070423
0.070423
0
0.044127
0.317235
2,257
60
118
37.616667
0.785204
0.319451
0
0.083333
0
0
0.14389
0
0
0
0
0.016667
0
1
0.041667
false
0
0
0
0.333333
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
acc068149f21d4fbb97eca80bcbe8c4499db5c1e
2,341
py
Python
_MOM/__init__.py
Tapyr/tapyr
4235fba6dce169fe747cce4d17d88dcf4a3f9f1d
[ "BSD-3-Clause" ]
6
2016-12-10T17:51:10.000Z
2021-10-11T07:51:48.000Z
_MOM/__init__.py
Tapyr/tapyr
4235fba6dce169fe747cce4d17d88dcf4a3f9f1d
[ "BSD-3-Clause" ]
null
null
null
_MOM/__init__.py
Tapyr/tapyr
4235fba6dce169fe747cce4d17d88dcf4a3f9f1d
[ "BSD-3-Clause" ]
3
2020-03-29T07:37:03.000Z
2021-01-21T16:08:40.000Z
# -*- coding: utf-8 -*- # Copyright (C) 2009-2017 Mag. Christian Tanzer. All rights reserved # Glasauergasse 32, A--1130 Wien, Austria. tanzer@swing.co.at # **************************************************************************** # This file is part of the package _MOM. # # This module is licensed under the terms o...
32.513889
78
0.699701
335
2,341
4.767164
0.423881
0.035066
0.028178
0.030056
0.162805
0.162805
0.107702
0.107702
0.107702
0.05886
0
0.018362
0.139257
2,341
71
79
32.971831
0.77072
0.315677
0
0
0
0
0.905397
0.211429
0
0
0
0
0
1
0
false
0
0.032258
0
0.032258
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
acc64547f26280eaf0ec6eeeb833f86295852a62
3,356
py
Python
workspace/src/code/data.py
nsfzyzz/loss_landscape_taxonomy
c1ec1fd59a6af5f72d4ff23679abb2f815f69101
[ "MIT" ]
5
2022-01-02T01:45:19.000Z
2022-02-22T06:23:37.000Z
workspace/src/code/data.py
nsfzyzz/loss_landscape_taxonomy
c1ec1fd59a6af5f72d4ff23679abb2f815f69101
[ "MIT" ]
null
null
null
workspace/src/code/data.py
nsfzyzz/loss_landscape_taxonomy
c1ec1fd59a6af5f72d4ff23679abb2f815f69101
[ "MIT" ]
2
2022-01-02T02:11:29.000Z
2022-01-04T06:04:15.000Z
from cifar10_data_random_labels import CIFAR10RandomLabels from cifar10_data_subset import CIFAR10Subset from torchvision import datasets, transforms import torch def get_loader(args): CIFAR10_mean, CIFAR10_var = (0.4914, 0.4822, 0.4465), (0.2023, 0.1994, 0.2010) transform_train = transforms.Compose([ ...
51.630769
114
0.637068
379
3,356
5.372032
0.187335
0.035363
0.047151
0.058939
0.715128
0.70776
0.634086
0.528487
0.505403
0.448428
0
0.026645
0.261919
3,356
64
115
52.4375
0.795317
0.014005
0
0.285714
0
0
0.046596
0.021785
0
0
0
0
0
1
0.020408
false
0
0.081633
0
0.122449
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
acca8fcff470e6310791c9b87d5a1c0df9c55cf9
1,158
py
Python
videos/views.py
entropy1208/Chucky
55bf02b18cfee9fffbc2a76692c7fe90e4a91582
[ "MIT" ]
null
null
null
videos/views.py
entropy1208/Chucky
55bf02b18cfee9fffbc2a76692c7fe90e4a91582
[ "MIT" ]
null
null
null
videos/views.py
entropy1208/Chucky
55bf02b18cfee9fffbc2a76692c7fe90e4a91582
[ "MIT" ]
null
null
null
from django.views.generic.edit import FormView from django.views.generic import DetailView from django.core.urlresolvers import reverse from .models import VideoCategory, Video from .forms import UploadVideoForm class HomeView(FormView): template_name = 'home.html' form_class = UploadVideoForm success_u...
29.692308
73
0.707254
131
1,158
6.10687
0.40458
0.0375
0.0375
0.055
0
0
0
0
0
0
0
0
0.183938
1,158
38
74
30.473684
0.846561
0
0
0
0
0
0.132124
0.022453
0
0
0
0
0
1
0.071429
false
0
0.178571
0
0.821429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
accb19008cfba69c3da8675be3ef874176fa0c28
599
py
Python
setup.py
fxcm-pguz/fxcmrest-py
1f470a2b998ceff6a131dc19970b67d402881f4a
[ "MIT" ]
1
2019-03-29T05:31:23.000Z
2019-03-29T05:31:23.000Z
setup.py
fxcm-pguz/fxcmrest-py
1f470a2b998ceff6a131dc19970b67d402881f4a
[ "MIT" ]
null
null
null
setup.py
fxcm-pguz/fxcmrest-py
1f470a2b998ceff6a131dc19970b67d402881f4a
[ "MIT" ]
1
2019-05-28T19:07:35.000Z
2019-05-28T19:07:35.000Z
from setuptools import setup, find_packages setup( name = 'fxcmrest', packages = find_packages(), use_scm_version = True, setup_requires = ['setuptools_scm'], description = 'FXCM Rest API library for Python', author = 'Pawel Guz', author_email = 'pguz@fxcm.com', license = 'BSD', url = 'https://fxcm-pguz.githu...
27.227273
59
0.694491
77
599
5.233766
0.623377
0.059553
0.054591
0
0
0
0
0
0
0
0
0.005859
0.145242
599
21
60
28.52381
0.78125
0
0
0
0
0
0.375626
0
0
0
0
0
0
1
0
true
0
0.05
0
0.05
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
accf00280ba711679722406163c6bddec3866fc6
3,241
py
Python
markitup/widgets.py
iris-edu-int/django-markitup
7315bde021170cc7e1283eae7358e47c3f7a4a06
[ "BSD-3-Clause" ]
3
2020-02-27T16:08:38.000Z
2021-08-05T15:26:04.000Z
markitup/widgets.py
iris-edu-int/django-markitup
7315bde021170cc7e1283eae7358e47c3f7a4a06
[ "BSD-3-Clause" ]
4
2020-02-15T22:57:36.000Z
2021-07-01T16:27:51.000Z
markitup/widgets.py
iris-edu-int/django-markitup
7315bde021170cc7e1283eae7358e47c3f7a4a06
[ "BSD-3-Clause" ]
3
2018-07-03T10:30:51.000Z
2020-11-16T23:36:12.000Z
from __future__ import unicode_literals import posixpath from django import forms from django.contrib.admin.widgets import AdminTextareaWidget from django.template.loader import render_to_string try: from django.urls import NoReverseMatch, reverse_lazy except ImportError: from django.core.urlresolvers import N...
33.412371
97
0.650725
368
3,241
5.557065
0.331522
0.043032
0.046455
0.02934
0.0978
0.044988
0.044988
0.044988
0.044988
0.044988
0
0.00042
0.265659
3,241
96
98
33.760417
0.858824
0.181734
0
0.12069
0
0
0.072727
0.037524
0
0
0
0
0
1
0.051724
false
0.068966
0.189655
0
0.37931
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
acdc1030e5222a7add9bc483b384dbb9430ebda2
3,123
py
Python
SU2-Quantum/Common/src/toolboxes/MMS/CreateMMSSourceTerms/CMMSIncNSSolution.py
Agony5757/SU2-Quantum
16e7708371a597511e1242f3a7581e8c4187f5b2
[ "Apache-2.0" ]
null
null
null
SU2-Quantum/Common/src/toolboxes/MMS/CreateMMSSourceTerms/CMMSIncNSSolution.py
Agony5757/SU2-Quantum
16e7708371a597511e1242f3a7581e8c4187f5b2
[ "Apache-2.0" ]
null
null
null
SU2-Quantum/Common/src/toolboxes/MMS/CreateMMSSourceTerms/CMMSIncNSSolution.py
Agony5757/SU2-Quantum
16e7708371a597511e1242f3a7581e8c4187f5b2
[ "Apache-2.0" ]
1
2021-12-03T06:40:08.000Z
2021-12-03T06:40:08.000Z
#!/usr/bin/env python ## \file CMMSIncNSSolution.py # \brief Python script that generates the source terms for a # manufactured solution for the incompressible Navier-Stokes eqns. # \author T. Economon # \version 7.0.6 "Blackbird" # # The current SU2 release has been coordinated by the # SU2 International ...
39.0375
152
0.712136
506
3,123
4.359684
0.41502
0.029012
0.021759
0.025839
0.125113
0.116954
0.074343
0.043518
0.020852
0
0
0.021105
0.165546
3,123
79
153
39.531646
0.825403
0.653538
0
0
1
0
0.069364
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ace2eca5f3f73bd6e320a0a37f734cf5f62ff776
359
py
Python
appengine/findit/dto/int_range.py
allaparthi/monorail
e18645fc1b952a5a6ff5f06e0c740d75f1904473
[ "BSD-3-Clause" ]
2
2021-04-13T21:22:18.000Z
2021-09-07T02:11:57.000Z
appengine/findit/dto/int_range.py
allaparthi/monorail
e18645fc1b952a5a6ff5f06e0c740d75f1904473
[ "BSD-3-Clause" ]
21
2020-09-06T02:41:05.000Z
2022-03-02T04:40:01.000Z
appengine/findit/dto/int_range.py
allaparthi/monorail
e18645fc1b952a5a6ff5f06e0c740d75f1904473
[ "BSD-3-Clause" ]
null
null
null
# Copyright 2018 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. from libs.structured_object import StructuredObject class IntRange(StructuredObject): """Represents a generic integer range to include an upper and lower...
29.916667
79
0.768802
53
359
5.188679
0.867925
0
0
0
0
0
0
0
0
0
0
0.013514
0.175487
359
11
80
32.636364
0.915541
0.635097
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ace3846545f18e31c091c297eff450e5a9b03c27
417
py
Python
gems/migrations/0014_gemsmeta_background.py
0xOddrey/DroppingGemsNFT
536c0c3f0f53ac9437d88625709609037306848e
[ "MIT" ]
null
null
null
gems/migrations/0014_gemsmeta_background.py
0xOddrey/DroppingGemsNFT
536c0c3f0f53ac9437d88625709609037306848e
[ "MIT" ]
null
null
null
gems/migrations/0014_gemsmeta_background.py
0xOddrey/DroppingGemsNFT
536c0c3f0f53ac9437d88625709609037306848e
[ "MIT" ]
null
null
null
# Generated by Django 3.2.10 on 2022-02-08 02:58 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('gems', '0013_twitterconnection_user_id'), ] operations = [ migrations.AddField( model_name='gemsmeta', name='backgr...
21.947368
72
0.613909
45
417
5.6
0.822222
0
0
0
0
0
0
0
0
0
0
0.069079
0.270983
417
18
73
23.166667
0.759868
0.110312
0
0
1
0
0.140921
0.081301
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ace87b4fbb392029bb61cb1641f27630d8f12e38
274
py
Python
problem10.py
charlesfranciscodev/project-euler
a66772853a636130fa37d83a3129ca3a66db7fd2
[ "MIT" ]
null
null
null
problem10.py
charlesfranciscodev/project-euler
a66772853a636130fa37d83a3129ca3a66db7fd2
[ "MIT" ]
null
null
null
problem10.py
charlesfranciscodev/project-euler
a66772853a636130fa37d83a3129ca3a66db7fd2
[ "MIT" ]
null
null
null
# Summation of primes # Answer: 142913828922 from problem3 import is_prime def sum_of_primes(limit): total = 0 for i in range(2, limit): if is_prime(i): total += i return total limit = 2000000 print(sum_of_primes(limit))
16.117647
30
0.613139
38
274
4.263158
0.631579
0.148148
0.135802
0.197531
0
0
0
0
0
0
0
0.116402
0.310219
274
16
31
17.125
0.740741
0.145985
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.333333
0.111111
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
acee12cea534585486304849aee10fb620301cd3
4,662
py
Python
texar/modules/encoders/bert_encoders_test.py
weiwei718/texar
1fe1b46a58941641d83560d0ecefd2517729c643
[ "Apache-2.0" ]
1
2021-06-23T19:47:50.000Z
2021-06-23T19:47:50.000Z
texar/modules/encoders/bert_encoders_test.py
mihirpurwar/texar
b4ac155a554db4c82a0b09ea36e85d64b8802644
[ "Apache-2.0" ]
null
null
null
texar/modules/encoders/bert_encoders_test.py
mihirpurwar/texar
b4ac155a554db4c82a0b09ea36e85d64b8802644
[ "Apache-2.0" ]
null
null
null
# """ Unit tests for Bert encoders. """ from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import tensorflow as tf from texar.modules.encoders.bert_encoders import BertEncoder class BertEncoderTest(tf.test.TestCase): ...
32.830986
73
0.583441
477
4,662
5.436059
0.209644
0.070189
0.051292
0.075588
0.738912
0.709988
0.656383
0.656383
0.610104
0.570767
0
0.020853
0.321107
4,662
141
74
33.06383
0.79842
0.117117
0
0.617021
0
0
0.065731
0.031019
0
0
0
0
0.117021
1
0.031915
false
0
0.06383
0
0.106383
0.010638
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
acf2a858098d4ea2a6765f27b5804d3733a903e7
2,433
py
Python
gas_mileage/test_listTrips.py
ankitsumitg/python-projects
34a3df6fcd8544bf83aa9f3d47ec160e3838b1d1
[ "MIT" ]
1
2021-03-22T20:45:06.000Z
2021-03-22T20:45:06.000Z
gas_mileage/test_listTrips.py
ankitsumitg/python-projects
34a3df6fcd8544bf83aa9f3d47ec160e3838b1d1
[ "MIT" ]
null
null
null
gas_mileage/test_listTrips.py
ankitsumitg/python-projects
34a3df6fcd8544bf83aa9f3d47ec160e3838b1d1
[ "MIT" ]
null
null
null
""" Do Not Edit this file. You may and are encouraged to look at it for reference. """ import unittest import re import gas_mileage class TestListTrips(unittest.TestCase): def verifyLines(self, notebook, mpg): from gas_mileage import listTrips trips = listTrips(notebook) self.assertTrue(...
34.267606
118
0.55076
287
2,433
4.61324
0.337979
0.095166
0.033233
0.048338
0.320997
0.169184
0.074018
0.074018
0.074018
0.074018
0
0.050699
0.294698
2,433
70
119
34.757143
0.720862
0.032059
0
0.122449
1
0
0.187047
0
0
0
0
0
0.183673
1
0.102041
false
0
0.102041
0
0.244898
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
acf449de30c697b4a73f7d764c27db178a664907
552
py
Python
tests/base/test_endpoint_config.py
saleweaver/rapid_rest_client
6b249d9476487a89d09f78006d3422432490403e
[ "MIT" ]
5
2022-01-11T00:59:45.000Z
2022-01-16T20:26:51.000Z
tests/base/test_endpoint_config.py
saleweaver/rapid_rest_client
6b249d9476487a89d09f78006d3422432490403e
[ "MIT" ]
null
null
null
tests/base/test_endpoint_config.py
saleweaver/rapid_rest_client
6b249d9476487a89d09f78006d3422432490403e
[ "MIT" ]
null
null
null
from dataclasses import FrozenInstanceError import pytest from rest_client.base.config import BaseUrlConfig base_url = 'https://www.saleweaver.com/' def test_create_endpoint_config(): endpoint_config = BaseUrlConfig(base_url) assert endpoint_config.base_url == base_url assert endpoint_config.sandbox_url...
26.285714
55
0.78442
68
552
6.088235
0.470588
0.202899
0.144928
0.149758
0.277778
0
0
0
0
0
0
0
0.146739
552
20
56
27.6
0.878981
0
0
0.153846
0
0
0.054446
0
0
0
0
0
0.230769
1
0.153846
false
0
0.230769
0
0.384615
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
acf45dbb2e0c0e36d1f600c86f100c7d7ae215a2
525
py
Python
iOS/bus-schedule/genTestSchedule.py
leochoo/ios-sfcbustimer
e7e49a3c7a8270583ab2907ad1d8f9826341ef5b
[ "MIT" ]
4
2019-03-25T08:26:45.000Z
2019-04-27T02:56:37.000Z
iOS/bus-schedule/genTestSchedule.py
leochoo/ios-sfcbustimer
e7e49a3c7a8270583ab2907ad1d8f9826341ef5b
[ "MIT" ]
38
2018-10-12T06:13:46.000Z
2019-04-06T16:44:33.000Z
iOS/bus-schedule/genTestSchedule.py
leochoo/SFC-Bustimer
e7e49a3c7a8270583ab2907ad1d8f9826341ef5b
[ "MIT" ]
1
2019-04-27T03:09:33.000Z
2019-04-27T03:09:33.000Z
import json testData = {} testData["sfcsho"] = {} testData["sfcsho"]["weekday"] = [] # testData["sfcsho"]["sat"] = {} # testData["sfcsho"]["sun"] = {} for h in range(0,24): for m in range(0,60): busData = { "hour": h, "min": m, "type": None, "rotary": Fal...
18.75
53
0.531429
59
525
4.728814
0.559322
0.250896
0.150538
0
0
0
0
0
0
0
0
0.018182
0.266667
525
27
54
19.444444
0.706494
0.2
0
0
0
0
0.152174
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
acf66a8bd443fa0d4d7915f476273290f694fece
1,079
py
Python
core/views.py
uadson/django-api-user-register
d09415c84e5a563566e83c544dd9edf47d991280
[ "MIT" ]
1
2021-11-17T02:41:45.000Z
2021-11-17T02:41:45.000Z
core/views.py
uadson/django-api-user-register
d09415c84e5a563566e83c544dd9edf47d991280
[ "MIT" ]
2
2021-11-16T15:37:39.000Z
2021-11-16T15:37:51.000Z
core/views.py
uadson/django-api-user-register
d09415c84e5a563566e83c544dd9edf47d991280
[ "MIT" ]
null
null
null
from django.http import JsonResponse from .models import Client from .forms import ClientForm from django.contrib import messages from django.views.generic import FormView from django.urls import reverse_lazy # Function Based View def json_view(request): # getting data from models and returning in json format ...
33.71875
87
0.723818
139
1,079
5.52518
0.47482
0.052083
0.072917
0.046875
0.083333
0
0
0
0
0
0
0
0.177016
1,079
31
88
34.806452
0.864865
0.084337
0
0
0
0
0.112805
0
0
0
0
0
0
1
0.136364
false
0
0.272727
0
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4a02b233f71c5c573b7ff6c230dfbab5aefcb422
1,219
py
Python
code/solver/meta_heur/__init__.py
ahillbs/minimum_scan_cover
e41718e5a8e0e3039d161800da70e56bd50a1b97
[ "MIT" ]
null
null
null
code/solver/meta_heur/__init__.py
ahillbs/minimum_scan_cover
e41718e5a8e0e3039d161800da70e56bd50a1b97
[ "MIT" ]
null
null
null
code/solver/meta_heur/__init__.py
ahillbs/minimum_scan_cover
e41718e5a8e0e3039d161800da70e56bd50a1b97
[ "MIT" ]
null
null
null
from .genetic_algorithm import AngularGeneticMinSumSolver, AngularGeneticLocalMinSumSolver, AngularGeneticMakespanSolver from .iterated_local_search import AngularIteratedMinSumSolver, AngularIteratedLocalMinSumSolver, AngularIteratedMakespanSolver from .simulated_annealing import AngularSimulatedAnnealingMinSumSolver,...
60.95
155
0.876128
60
1,219
17.516667
0.383333
0.022835
0.045671
0.03235
0
0
0
0
0
0
0
0
0.073011
1,219
20
156
60.95
0.930089
0
0
0
0
0
0.238525
0.238525
0
0
0
0
0
1
0
false
0
0.157895
0
0.157895
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4a0718c5495d489ec69fdfbe880de9a1ebf2dab9
1,021
py
Python
auth.py
ellygaytor/trasheddit
b8008f098a234125d4fb19c671ea3243d25c44a5
[ "MIT" ]
3
2021-10-15T16:52:43.000Z
2022-01-05T00:33:01.000Z
auth.py
ellygaytor/trasheddit
b8008f098a234125d4fb19c671ea3243d25c44a5
[ "MIT" ]
2
2022-01-15T21:25:48.000Z
2022-02-16T16:22:00.000Z
auth.py
ellygaytor/trasheddit
b8008f098a234125d4fb19c671ea3243d25c44a5
[ "MIT" ]
1
2022-01-15T18:40:28.000Z
2022-01-15T18:40:28.000Z
import praw import keyring import json def auth(username): account = keyring.get_password("trasheddit", username) if account is None: print( "No configuration found for '{}'. Please enter the PRAW configuration details now:".format( username ) ) ...
27.594595
103
0.593536
104
1,021
5.682692
0.365385
0.081218
0.094755
0.101523
0.121827
0
0
0
0
0
0
0
0.298727
1,021
36
104
28.361111
0.825419
0
0
0
0
0
0.181195
0
0
0
0
0
0
1
0.032258
false
0.16129
0.096774
0
0.16129
0.032258
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4a09ae38df0ab682c40c94f4be0fcbee8c7f7f35
936
py
Python
scoreboard.py
mvanderblom/yahtzee
6b5feb94b0268c133ea379981bcd7e927e6c0430
[ "MIT" ]
null
null
null
scoreboard.py
mvanderblom/yahtzee
6b5feb94b0268c133ea379981bcd7e927e6c0430
[ "MIT" ]
null
null
null
scoreboard.py
mvanderblom/yahtzee
6b5feb94b0268c133ea379981bcd7e927e6c0430
[ "MIT" ]
null
null
null
from dataclasses import dataclass from typing import List from exceptions import GameException from rules import Rule class ScoreBoard: rules: List[Rule] = [] scores: List[int] = [] def register_rules(self, rules: List[Rule]): self.rules = rules self.scores = [None] * len(rules) def...
30.193548
86
0.655983
130
936
4.623077
0.330769
0.104825
0.043261
0.063228
0.079867
0
0
0
0
0
0
0.002817
0.241453
936
31
87
30.193548
0.843662
0
0
0
0
0
0.084312
0
0
0
0
0
0
1
0.181818
false
0
0.181818
0.090909
0.590909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4a09df831e64341b71255227c058d148cc118c84
6,059
py
Python
PyAlgorithm/Graph_Algorithm/depth_first_search.py
allenliuzihao/PyAlgorithm
0468f1fc90795d7524e8674aecbfbd2214b256a7
[ "MIT" ]
null
null
null
PyAlgorithm/Graph_Algorithm/depth_first_search.py
allenliuzihao/PyAlgorithm
0468f1fc90795d7524e8674aecbfbd2214b256a7
[ "MIT" ]
null
null
null
PyAlgorithm/Graph_Algorithm/depth_first_search.py
allenliuzihao/PyAlgorithm
0468f1fc90795d7524e8674aecbfbd2214b256a7
[ "MIT" ]
null
null
null
''' Implementation and applications for depth first search ''' from graph import Graph # for finding the strongest connected components in a graph finishing_time = 0 # for recording the current finishing time leader = None # for recording the current leader of the SCC ''' Given a node in the graph, find its de...
32.575269
128
0.674039
863
6,059
4.643105
0.215527
0.144747
0.03993
0.02845
0.262291
0.215872
0.132269
0.122036
0.076865
0.076865
0
0.024135
0.227265
6,059
185
129
32.751351
0.831696
0.077571
0
0.25
0
0
0.043753
0.034397
0
0
0
0
0
0
null
null
0
0.009615
null
null
0.028846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4a0d0d8b9574b20433b22df71b53c400f9d77b7f
4,937
py
Python
python/qitoolchain/test/test_toolchain.py
vbarbaresi/qibuild
eab6b815fe0af49ea5c41ccddcd0dff2363410e1
[ "BSD-3-Clause" ]
null
null
null
python/qitoolchain/test/test_toolchain.py
vbarbaresi/qibuild
eab6b815fe0af49ea5c41ccddcd0dff2363410e1
[ "BSD-3-Clause" ]
null
null
null
python/qitoolchain/test/test_toolchain.py
vbarbaresi/qibuild
eab6b815fe0af49ea5c41ccddcd0dff2363410e1
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2012-2018 SoftBank Robotics. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the COPYING file. import os import qisrc.git from qisrc.test.conftest import git_server, svn_server # pylint: disable=unused-import import qitoolchain.toolchain # pyli...
34.524476
92
0.709135
657
4,937
5.12481
0.21309
0.07128
0.094743
0.085536
0.322839
0.290466
0.223641
0.187407
0.147609
0.147609
0
0.010577
0.157383
4,937
142
93
34.767606
0.798798
0.052664
0
0.272727
0
0
0.168332
0.01629
0
0
0
0
0.127273
0
null
null
0
0.036364
null
null
0.009091
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4a0e41a04f29075988d34977962fdb3424983ba2
1,280
py
Python
compile.py
TOMODOcom/TOMODO-ChromeExtension
fcc44aa79b23fe4ddc6e23c98483b3ee8b8d1593
[ "BSD-3-Clause" ]
1
2019-02-05T15:18:37.000Z
2019-02-05T15:18:37.000Z
compile.py
TOMODOcom/TOMODO-ChromeExtension
fcc44aa79b23fe4ddc6e23c98483b3ee8b8d1593
[ "BSD-3-Clause" ]
null
null
null
compile.py
TOMODOcom/TOMODO-ChromeExtension
fcc44aa79b23fe4ddc6e23c98483b3ee8b8d1593
[ "BSD-3-Clause" ]
null
null
null
#! /usr/bin/python from json import load, dump from os import chdir, remove, getcwd, popen, system from os.path import dirname, abspath from shutil import copytree, copy2, rmtree from subprocess import call from sys import argv def increment_version(version): v = version.split(".") v = map(int, v) v.rever...
21.333333
70
0.648438
169
1,280
4.828402
0.431953
0.007353
0.077206
0.091912
0.080882
0.080882
0.080882
0
0
0
0
0.007782
0.196875
1,280
59
71
21.694915
0.785992
0.013281
0
0.27907
0
0
0.217288
0.103886
0
0
0
0
0
0
null
null
0.046512
0.139535
null
null
0.046512
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4a153eb36681d2f1cf7aed09b5f72af4b7f019db
2,220
py
Python
python/dqTools/Handler.py
WhiteTshirtXI/subgrid
724dfd543c19563bd7874cf952c21f25dd7d1352
[ "MIT" ]
null
null
null
python/dqTools/Handler.py
WhiteTshirtXI/subgrid
724dfd543c19563bd7874cf952c21f25dd7d1352
[ "MIT" ]
3
2018-10-22T08:35:17.000Z
2018-11-07T16:14:36.000Z
python/dqTools/Handler.py
otbrown/subgrid
724dfd543c19563bd7874cf952c21f25dd7d1352
[ "MIT" ]
1
2020-05-07T07:48:02.000Z
2020-05-07T07:48:02.000Z
"""Adds the ability to Controllers to checkpoint upon receipt of a signal, by default SIGTERM. There can be only one instance of Handler. Your class must subclass from both Handler.Handler and Controller.Controller, furthermore Handler must be the leftmost of the superclasses. E.g., class MyController(Handler.Handler...
30.833333
87
0.625225
279
2,220
4.924731
0.458781
0.047307
0.014556
0.02329
0
0
0
0
0
0
0
0.001923
0.297297
2,220
71
88
31.267606
0.878846
0.390991
0
0.166667
0
0
0.092481
0
0
0
0
0
0
1
0.111111
false
0.055556
0.083333
0
0.388889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4a18b10ef4b4b586170bbd67d94288f566d8044b
407
py
Python
catalog/migrations/0011_dayinstance_day_image.py
esalascolas/blog_diari
43f6d22db745a38559fc2dcb8ea52c39a9d28753
[ "MIT" ]
null
null
null
catalog/migrations/0011_dayinstance_day_image.py
esalascolas/blog_diari
43f6d22db745a38559fc2dcb8ea52c39a9d28753
[ "MIT" ]
13
2020-02-11T22:06:44.000Z
2022-02-10T08:23:36.000Z
catalog/migrations/0011_dayinstance_day_image.py
esalascolas/blog_diari
43f6d22db745a38559fc2dcb8ea52c39a9d28753
[ "MIT" ]
null
null
null
# Generated by Django 2.0.1 on 2018-05-27 10:50 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('catalog', '0010_auto_20180527_1235'), ] operations = [ migrations.AddField( model_name='dayinstance', name='day_imag...
21.421053
65
0.601966
44
407
5.431818
0.840909
0
0
0
0
0
0
0
0
0
0
0.105085
0.275184
407
18
66
22.611111
0.705085
0.110565
0
0
1
0
0.147222
0.063889
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4a1d50b60224cecbfe15de09758d27935ef83d12
5,998
py
Python
parser.py
inutza/spaceflight-parser
d723d45d4d1a6c484f2324644d5b14387bec6b39
[ "MIT" ]
null
null
null
parser.py
inutza/spaceflight-parser
d723d45d4d1a6c484f2324644d5b14387bec6b39
[ "MIT" ]
null
null
null
parser.py
inutza/spaceflight-parser
d723d45d4d1a6c484f2324644d5b14387bec6b39
[ "MIT" ]
null
null
null
import urllib2 import re from HTMLParser import HTMLParser from datetime import datetime, date, time, timedelta import pytz from icalendar import Calendar, Event, vDatetime # Tags which help extract each section DATETAG = '<div class="datename"><span class="launchdate">' SPANENDTAG = '</span>' SPANSTARTTAG = '<span cl...
41.652778
133
0.603201
805
5,998
4.240994
0.26087
0.060633
0.026362
0.039543
0.262449
0.16696
0.125073
0.112185
0.070299
0.070299
0
0.014036
0.275425
5,998
143
134
41.944056
0.771514
0.113371
0
0.089109
0
0
0.115893
0.012835
0
0
0
0
0
0
null
null
0
0.059406
null
null
0.009901
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4a1e4f530d76885c544a70687c8b26c8ff21048d
5,058
py
Python
EXP/dir_645_rce.py
Octoberr/swm0920
8f05a6b91fc205960edd57f9076facec04f49a1a
[ "Apache-2.0" ]
2
2019-05-19T11:54:26.000Z
2019-05-19T12:03:49.000Z
EXP/dir_645_rce.py
Octoberr/swm0920
8f05a6b91fc205960edd57f9076facec04f49a1a
[ "Apache-2.0" ]
1
2020-11-27T07:55:15.000Z
2020-11-27T07:55:15.000Z
EXP/dir_645_rce.py
Octoberr/swm0920
8f05a6b91fc205960edd57f9076facec04f49a1a
[ "Apache-2.0" ]
2
2021-09-06T18:06:12.000Z
2021-12-31T07:44:43.000Z
#coding: utf-8 ''' @Test list: DIR 645 A1 1.01 DIR 815 1.01 ''' import string import random import datetime import struct from routelib import * from exp_template import * class dir_645_rce(Exploit): def __init__(self, url, taskid=0, targetid=0, cmd_connect='', data_redirect='', dns_server='', proxies={}): ...
35.619718
148
0.580071
608
5,058
4.651316
0.370066
0.033946
0.026521
0.021216
0.092291
0.028996
0.028996
0.028996
0.028996
0
0
0.044426
0.292408
5,058
141
149
35.87234
0.745739
0.04567
0
0.053097
0
0.026549
0.205827
0.006917
0
0
0.008384
0
0
0
null
null
0.017699
0.061947
null
null
0.035398
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4a25c6d345fad7a216ab59ed9e0565341c38f0f6
613
py
Python
PlanningBoard/migrations/0003_auto_20180205_0339.py
insung151/Pwannar
9f0be39e763dfc709a4b43a2498a95a19bfa435f
[ "MIT" ]
null
null
null
PlanningBoard/migrations/0003_auto_20180205_0339.py
insung151/Pwannar
9f0be39e763dfc709a4b43a2498a95a19bfa435f
[ "MIT" ]
4
2018-02-14T11:58:51.000Z
2018-02-14T14:03:16.000Z
PlanningBoard/migrations/0003_auto_20180205_0339.py
insung151/Pwannar
9f0be39e763dfc709a4b43a2498a95a19bfa435f
[ "MIT" ]
null
null
null
# Generated by Django 2.0.1 on 2018-02-04 18:39 from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('PlanningBoard', '0002_auto_20180205_0334'), ] op...
24.52
70
0.623165
63
613
5.904762
0.650794
0.053763
0.086022
0.112903
0
0
0
0
0
0
0
0.069663
0.274062
613
24
71
25.541667
0.766292
0.073409
0
0.111111
1
0
0.106007
0.040636
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c57fd67921a73430ec8d3afec7a63e5f7698d9f0
660
py
Python
lib/writeFiles.py
NeQuissimus/nix-home
41e8df335456e897b14efd7f6c5f335e2731efaa
[ "MIT" ]
1
2021-03-18T19:07:48.000Z
2021-03-18T19:07:48.000Z
lib/writeFiles.py
NeQuissimus/nix-home
41e8df335456e897b14efd7f6c5f335e2731efaa
[ "MIT" ]
null
null
null
lib/writeFiles.py
NeQuissimus/nix-home
41e8df335456e897b14efd7f6c5f335e2731efaa
[ "MIT" ]
null
null
null
import json import sys import os f = open(sys.argv[1]) out = sys.argv[2] data = json.load(f) for key in data["files"]: val = data["files"][key] try: os.makedirs(out + "/" + os.path.dirname(key)) except: print "ignoring error" if type(val) == str or type(val) == unicode: print ...
25.384615
62
0.506061
92
660
3.630435
0.5
0.08982
0.053892
0
0
0
0
0
0
0
0
0.008734
0.306061
660
25
63
26.4
0.720524
0
0
0
0
0
0.115152
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c58047d647164c38cfce49ff8f4f5f80b4b883f9
2,691
py
Python
ocean_lib/ocean/test/test_util.py
oceanprotocol/ocean.py
0daa7bf22e53a9a13efa2400d16e1991731cfd2c
[ "Apache-2.0" ]
89
2020-10-27T08:50:47.000Z
2022-03-21T08:42:23.000Z
ocean_lib/ocean/test/test_util.py
biroedonker/ocean.py
68d38cfe6001f07e5102669630c383f5d659a9a8
[ "Apache-2.0" ]
480
2020-10-30T07:56:39.000Z
2022-03-31T20:01:27.000Z
ocean_lib/ocean/test/test_util.py
biroedonker/ocean.py
68d38cfe6001f07e5102669630c383f5d659a9a8
[ "Apache-2.0" ]
50
2020-11-07T15:01:02.000Z
2022-03-06T05:49:54.000Z
# # Copyright 2021 Ocean Protocol Foundation # SPDX-License-Identifier: Apache-2.0 # import pytest from ocean_lib.ocean import util from ocean_lib.ocean.util import ( get_bfactory_address, get_dtfactory_address, get_ocean_token_address, ) def test_get_web3_connection_provider(monkeypatch): # GANACHE_...
32.035714
76
0.719807
336
2,691
5.550595
0.205357
0.03378
0.063807
0.09008
0.61126
0.507775
0.487936
0.454692
0.408579
0.408579
0
0.009013
0.175399
2,691
83
77
32.421687
0.831456
0.080268
0
0.267857
0
0
0.142799
0
0
0
0
0
0.446429
1
0.089286
false
0
0.053571
0
0.142857
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
0
0
0
0
0
0
0
0
1
c588e0ae9576497d5ee5e6b1d17c42f9588d5095
706
py
Python
Ejercicios/Puzzle.py
rnoguer22/Entrega_por_Parejas_UML_Codigo
5a1511196e04bf52db33a83e3604c28726a3bdbb
[ "Apache-2.0" ]
null
null
null
Ejercicios/Puzzle.py
rnoguer22/Entrega_por_Parejas_UML_Codigo
5a1511196e04bf52db33a83e3604c28726a3bdbb
[ "Apache-2.0" ]
null
null
null
Ejercicios/Puzzle.py
rnoguer22/Entrega_por_Parejas_UML_Codigo
5a1511196e04bf52db33a83e3604c28726a3bdbb
[ "Apache-2.0" ]
null
null
null
class A: def z(self): return self def y(self, t): return len(t) #Funcion que abriremos desde el archivo main.py def main_puzzle(): a = A y = a.z print(y(a)) #Muestra por pantalla <class '__main__.A'> ya que la funcion z devuelve self aa = a() print(aa is a()) #Impri...
37.157895
95
0.594901
129
706
3.217054
0.364341
0.060241
0.014458
0
0
0
0
0
0
0
0
0.015296
0.259207
706
19
96
37.157895
0.778203
0.553824
0
0
0
0
0.003236
0
0
0
0
0
0
1
0.1875
false
0
0
0.125
0.375
0.375
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
c5965d5f6d3c8de12c1a933953a3e4bec734455b
288
py
Python
Topic_2_statements/simpleSubtraction.py
Izardo/myWork
f2a6fd46f31f840589108963d6c0e9d7fdc9ddde
[ "MIT" ]
null
null
null
Topic_2_statements/simpleSubtraction.py
Izardo/myWork
f2a6fd46f31f840589108963d6c0e9d7fdc9ddde
[ "MIT" ]
null
null
null
Topic_2_statements/simpleSubtraction.py
Izardo/myWork
f2a6fd46f31f840589108963d6c0e9d7fdc9ddde
[ "MIT" ]
null
null
null
# This program subtracts one number from another # Author: Isabella Doyle first = int(input("Enter the first number:")) # requests input of integer from user second = int(input("Enter the second number:")) # requests input of integer from user # prints sum below print(first - second)
36
85
0.746528
42
288
5.119048
0.571429
0.074419
0.12093
0.148837
0.334884
0.334884
0.334884
0
0
0
0
0
0.166667
288
8
86
36
0.895833
0.548611
0
0
0
0
0.376
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c596feb2c79de2a96eba72c9b50afd51bd9b04a2
2,765
py
Python
2020_October_Leetcode_30_days_challenge/Week_2_Buddy String/by_iteration.py
coderMaruf/leetcode-1
20ffe26e43999e44c8acf9800acb371a49bb5853
[ "MIT" ]
32
2020-01-05T13:37:16.000Z
2022-03-26T07:27:09.000Z
2020_October_Leetcode_30_days_challenge/Week_2_Buddy String/by_iteration.py
coderMaruf/leetcode-1
20ffe26e43999e44c8acf9800acb371a49bb5853
[ "MIT" ]
null
null
null
2020_October_Leetcode_30_days_challenge/Week_2_Buddy String/by_iteration.py
coderMaruf/leetcode-1
20ffe26e43999e44c8acf9800acb371a49bb5853
[ "MIT" ]
8
2020-06-18T16:17:27.000Z
2022-03-15T23:58:18.000Z
''' Description: Given two strings A and B of lowercase letters, return true if you can swap two letters in A so the result is equal to B, otherwise, return false. Swapping letters is defined as taking two indices i and j (0-indexed) such that i != j and swapping the characters at A[i] and A[j]. For example, swappin...
21.944444
202
0.597468
409
2,765
3.98044
0.283619
0.014742
0.033784
0.092138
0.29484
0.189189
0.162162
0.047912
0.047912
0.047912
0
0.01765
0.282821
2,765
126
203
21.944444
0.803328
0.533816
0
0.185185
0
0
0.031546
0
0
0
0
0
0.185185
1
0.222222
false
0
0.037037
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
c59a0d57bc898138d973607347d9910009d401d9
176
py
Python
count_word.py
ximury/python
8624464e214c74e640d01a83b21c66df8eb7ad8c
[ "Apache-2.0" ]
null
null
null
count_word.py
ximury/python
8624464e214c74e640d01a83b21c66df8eb7ad8c
[ "Apache-2.0" ]
null
null
null
count_word.py
ximury/python
8624464e214c74e640d01a83b21c66df8eb7ad8c
[ "Apache-2.0" ]
null
null
null
from collections import Counter a = "kjalfj;ldsjafl;hdsllfdhg;lahfbl;hl;ahlf;h" res = Counter(a) print(res) str = "张三 李四 美国 三国 中国" res = str.count("国") print(res)
16
48
0.659091
29
176
4
0.758621
0.137931
0
0
0
0
0
0
0
0
0
0
0.198864
176
10
49
17.6
0.822695
0
0
0.285714
0
0
0.337349
0.246988
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.285714
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c59b18938094773127c8a3ad5915f122fc083e06
8,226
py
Python
tests/bugs/gh_3106_test.py
FirebirdSQL/firebird-qa
96af2def7f905a06f178e2a80a2c8be4a4b44782
[ "MIT" ]
1
2022-02-05T11:37:13.000Z
2022-02-05T11:37:13.000Z
tests/bugs/gh_3106_test.py
FirebirdSQL/firebird-qa
96af2def7f905a06f178e2a80a2c8be4a4b44782
[ "MIT" ]
1
2021-09-03T11:47:00.000Z
2021-09-03T12:42:10.000Z
tests/bugs/gh_3106_test.py
FirebirdSQL/firebird-qa
96af2def7f905a06f178e2a80a2c8be4a4b44782
[ "MIT" ]
1
2021-06-30T14:14:16.000Z
2021-06-30T14:14:16.000Z
#coding:utf-8 # # id: bugs.gh_3106 # title: Many indexed reads in a compound index with NULLs [CORE2709] # decription: # https://github.com/FirebirdSQL/firebird/issues/3106 # # BEFORE fix trace log was like this: # ====== # ...
35.61039
157
0.562606
1,144
8,226
3.843531
0.251748
0.017285
0.032522
0.03184
0.347055
0.30771
0.282693
0.282693
0.263361
0.254037
0
0.024976
0.2407
8,226
230
158
35.765217
0.678995
0.844031
0
0
0
0
0.15805
0
0
0
0
0
0
1
0.071429
false
0
0.142857
0
0.214286
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
0
0
0
0
0
0
0
1
c59ec7331fd732e0520e4e23b258dfdb68d961b7
824
py
Python
api/migrations/0059_auto_20200430_0801.py
IFRCGo/ifrcgo-api
c1c3e0cf1076ab48d03db6aaf7a00f8485ca9e1a
[ "MIT" ]
11
2018-06-11T06:05:12.000Z
2022-03-25T09:31:44.000Z
api/migrations/0059_auto_20200430_0801.py
IFRCGo/ifrcgo-api
c1c3e0cf1076ab48d03db6aaf7a00f8485ca9e1a
[ "MIT" ]
498
2017-11-07T21:20:13.000Z
2022-03-31T14:37:18.000Z
api/migrations/0059_auto_20200430_0801.py
IFRCGo/ifrcgo-api
c1c3e0cf1076ab48d03db6aaf7a00f8485ca9e1a
[ "MIT" ]
6
2018-04-11T13:29:50.000Z
2020-07-16T16:52:11.000Z
# Generated by Django 2.2.10 on 2020-04-30 08:01 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('api', '0058_auto_20200415_1606'), ] operations = [ migrations.AddField( model_name='fieldreport', name='is_covid_re...
34.333333
249
0.633495
88
824
5.829545
0.693182
0.035088
0.109162
0
0
0
0
0
0
0
0
0.057052
0.234223
824
23
250
35.826087
0.755943
0.055825
0
0.117647
1
0
0.33634
0.029639
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c59ede70e9b679f16d5de0cbc25adbd4e13c55aa
5,425
py
Python
fn_qradar_advisor/fn_qradar_advisor/lib/qradar_http_info.py
rudimeyer/resilient-community-apps
7a46841ba41fa7a1c421d4b392b0a3ca9e36bd00
[ "MIT" ]
1
2020-08-25T03:43:07.000Z
2020-08-25T03:43:07.000Z
fn_qradar_advisor/fn_qradar_advisor/lib/qradar_http_info.py
rudimeyer/resilient-community-apps
7a46841ba41fa7a1c421d4b392b0a3ca9e36bd00
[ "MIT" ]
1
2019-07-08T16:57:48.000Z
2019-07-08T16:57:48.000Z
fn_qradar_advisor/fn_qradar_advisor/lib/qradar_http_info.py
rudimeyer/resilient-community-apps
7a46841ba41fa7a1c421d4b392b0a3ca9e36bd00
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # pragma pylint: disable=unused-argument, no-self-use # (c) Copyright IBM Corp. 2010, 2019. All Rights Reserved. import requests import base64 QRADAR_PULGIN_API_URL = "{host}/console/plugins/{app_id}/app_proxy/api" QRADAR_OFFENSE_INSIGHTS_URL="/offense/{offense_id}/insights" QRADAR_QUICK_SEARCH...
31.540698
100
0.617143
672
5,425
4.720238
0.171131
0.059584
0.041614
0.052963
0.430643
0.333544
0.243064
0.197982
0.12232
0.12232
0
0.004336
0.277235
5,425
171
101
31.725146
0.804642
0.193364
0
0.027397
0
0
0.135998
0.057617
0
0
0
0
0
1
0.232877
false
0
0.027397
0
0.452055
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
c5a5c2bb9c6f2266fc7ec871216cb751600d84c2
2,524
py
Python
gcAPI/event.py
BrianArch96/Mycroft-appointment
3debc762e535f56b4565b6d72c449954ff7cd3d8
[ "Apache-2.0" ]
null
null
null
gcAPI/event.py
BrianArch96/Mycroft-appointment
3debc762e535f56b4565b6d72c449954ff7cd3d8
[ "Apache-2.0" ]
null
null
null
gcAPI/event.py
BrianArch96/Mycroft-appointment
3debc762e535f56b4565b6d72c449954ff7cd3d8
[ "Apache-2.0" ]
null
null
null
from __future__ import print_function import datetime from googleapiclient.discovery import build from httplib2 import Http from oauth2client import file, client, tools import os def addEvent(EVENT): try: import argparse flags = argparse.ArgumentParser(parents=[tools.argparser]).parse_args() ex...
40.063492
130
0.643819
321
2,524
4.903427
0.317757
0.068615
0.038119
0.045743
0.639136
0.625159
0.625159
0.625159
0.625159
0.625159
0
0.018344
0.200872
2,524
62
131
40.709677
0.762023
0.068146
0
0.568627
0
0
0.154305
0
0
0
0
0
0
1
0.039216
false
0
0.196078
0
0.235294
0.137255
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c5aaf3cf4b2a051e637328ddc4b3192518d7d168
375
py
Python
pharma/user/migrations/0012_order_cost.py
subban358/pharmacy-management
77d4e363a4ea0eb7c2cf9f1b6440b49372617599
[ "MIT" ]
1
2020-06-05T11:40:41.000Z
2020-06-05T11:40:41.000Z
pharma/user/migrations/0012_order_cost.py
subban358/pharmacy-management
77d4e363a4ea0eb7c2cf9f1b6440b49372617599
[ "MIT" ]
8
2021-03-30T13:29:09.000Z
2022-03-12T00:33:50.000Z
pharma/user/migrations/0012_order_cost.py
subban358/pharmacy-management
77d4e363a4ea0eb7c2cf9f1b6440b49372617599
[ "MIT" ]
null
null
null
# Generated by Django 3.0 on 2020-06-08 06:00 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('user', '0011_auto_20200606_2056'), ] operations = [ migrations.AddField( model_name='order', name='cost', ...
19.736842
49
0.589333
40
375
5.425
0.8
0
0
0
0
0
0
0
0
0
0
0.117424
0.296
375
18
50
20.833333
0.704545
0.114667
0
0
1
0
0.109091
0.069697
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c5abbff73b6300cf969ab78ab7f3ff4833806136
6,883
py
Python
postgresqleu/confsponsor/management/commands/sponsor_generate_discount_invoices.py
bradfordboyle/pgeu-system
bbe70e7a94092c10f11a0f74fda23079532bb018
[ "MIT" ]
11
2020-08-20T11:16:02.000Z
2022-03-12T23:25:04.000Z
postgresqleu/confsponsor/management/commands/sponsor_generate_discount_invoices.py
bradfordboyle/pgeu-system
bbe70e7a94092c10f11a0f74fda23079532bb018
[ "MIT" ]
71
2019-11-18T10:11:22.000Z
2022-03-27T16:12:57.000Z
postgresqleu/confsponsor/management/commands/sponsor_generate_discount_invoices.py
bradfordboyle/pgeu-system
bbe70e7a94092c10f11a0f74fda23079532bb018
[ "MIT" ]
18
2019-11-18T09:56:31.000Z
2022-01-08T03:16:43.000Z
# Generate invoices for discount codes. That is, sponsors that have ordered discount codes, # that have now either expired or been used fully. # from django.core.management.base import BaseCommand from django.utils import timezone from django.db import transaction from django.conf import settings from datetime import...
52.541985
186
0.524626
672
6,883
5.287202
0.31994
0.055165
0.014636
0.027864
0.233043
0.185196
0.131157
0.131157
0.131157
0.097382
0
0.006793
0.401133
6,883
130
187
52.946154
0.855167
0.156763
0
0.247423
1
0.010309
0.101833
0.012967
0
0
0
0
0
1
0.020619
false
0
0.113402
0.010309
0.175258
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c5af00b4261740a13a439ace43bd5bb2850f00ca
1,211
py
Python
src/pds_doi_service/core/outputs/service_validator.py
NASA-PDS/doi-service
b4c11b4468b32980a3f89560e2f78092e66f261d
[ "Apache-2.0" ]
2
2020-11-03T19:29:11.000Z
2021-09-26T01:42:41.000Z
src/pds_doi_service/core/outputs/service_validator.py
NASA-PDS/pds-doi-service
b994381a5757700229865e8fe905553559684e0d
[ "Apache-2.0" ]
222
2020-05-07T21:05:23.000Z
2021-12-16T22:14:54.000Z
src/pds_doi_service/core/outputs/service_validator.py
NASA-PDS-Incubator/pds-doi-service
b4c11b4468b32980a3f89560e2f78092e66f261d
[ "Apache-2.0" ]
null
null
null
# # Copyright 2020–21, by the California Institute of Technology. ALL RIGHTS # RESERVED. United States Government Sponsorship acknowledged. Any commercial # use must be negotiated with the Office of Technology Transfer at the # California Institute of Technology. # """ ==================== service_validator.py ===...
30.275
104
0.680429
134
1,211
6.007463
0.641791
0.044721
0.054658
0.059627
0.084472
0
0
0
0
0
0
0.006369
0.22213
1,211
39
105
31.051282
0.847134
0.605285
0
0
0
0
0.222513
0.065445
0
0
0
0
0
1
0.25
false
0
0.125
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
c5b1848d974c4d02d9fff7680d54231e34c30ae2
12,931
py
Python
splunk_sdk/kvstore/v1beta1/gen_models.py
ianlee4/splunk-cloud-sdk-python
d2870cd1e506d3844869d17becdcdf9d8d60a9a1
[ "ECL-2.0", "Apache-2.0" ]
12
2019-08-01T06:16:17.000Z
2021-04-16T20:00:02.000Z
splunk_sdk/kvstore/v1beta1/gen_models.py
ianlee4/splunk-cloud-sdk-python
d2870cd1e506d3844869d17becdcdf9d8d60a9a1
[ "ECL-2.0", "Apache-2.0" ]
5
2020-09-27T12:03:24.000Z
2021-08-06T18:01:32.000Z
splunk_sdk/kvstore/v1beta1/gen_models.py
ianlee4/splunk-cloud-sdk-python
d2870cd1e506d3844869d17becdcdf9d8d60a9a1
[ "ECL-2.0", "Apache-2.0" ]
4
2019-08-20T17:49:27.000Z
2022-03-27T16:39:10.000Z
# Copyright © 2021 Splunk, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"): you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # [http://www.apache.org/licenses/LICENSE-2.0] # # Unless required by applicable law or agreed to in writing,...
29.455581
193
0.599876
1,539
12,931
4.938921
0.116959
0.068675
0.035916
0.022234
0.599921
0.514669
0.463229
0.365478
0.300224
0.300224
0
0.001202
0.292089
12,931
438
194
29.522831
0.829036
0.282577
0
0.504673
0
0
0.124393
0.018481
0
0
0
0
0
1
0.21028
false
0
0.023364
0.028037
0.411215
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
c5bd668fdd3d2553ac020b994cc3777bfbc85f0e
2,247
py
Python
icetea_lib/tools/deprecated.py
noralsydmp/icetea
b486cdc8e0d2211e118f1f8211aa4d284ca02422
[ "Apache-2.0" ]
6
2018-08-10T17:11:10.000Z
2020-04-29T07:05:36.000Z
icetea_lib/tools/deprecated.py
noralsydmp/icetea
b486cdc8e0d2211e118f1f8211aa4d284ca02422
[ "Apache-2.0" ]
58
2018-08-13T08:36:08.000Z
2021-07-07T08:32:52.000Z
icetea_lib/tools/deprecated.py
noralsydmp/icetea
b486cdc8e0d2211e118f1f8211aa4d284ca02422
[ "Apache-2.0" ]
7
2018-08-10T12:53:18.000Z
2021-11-08T05:15:42.000Z
""" Copyright 2017 ARM Limited Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software dis...
36.241935
97
0.70138
281
2,247
5.523132
0.523132
0.03866
0.032861
0.044459
0.056057
0
0
0
0
0
0
0.005242
0.23587
2,247
61
98
36.836066
0.89866
0.553627
0
0
0
0
0.04635
0
0
0
0
0
0
1
0.166667
false
0
0.222222
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c5bdf5f6c3115fbfd537f1f329d620d80930c489
1,814
py
Python
fluent_contents/tests/testapp/content_plugins.py
francofuji/django-fluent-contents
03da447ef0854b0e6a6f8ff39d9281d11efc8587
[ "Apache-2.0" ]
null
null
null
fluent_contents/tests/testapp/content_plugins.py
francofuji/django-fluent-contents
03da447ef0854b0e6a6f8ff39d9281d11efc8587
[ "Apache-2.0" ]
null
null
null
fluent_contents/tests/testapp/content_plugins.py
francofuji/django-fluent-contents
03da447ef0854b0e6a6f8ff39d9281d11efc8587
[ "Apache-2.0" ]
null
null
null
from django.http import HttpResponseRedirect from django.utils.safestring import mark_safe from fluent_contents.extensions import ContentPlugin, plugin_pool from fluent_contents.tests.testapp.models import RawHtmlTestItem, TimeoutTestItem, MediaTestItem, RedirectTestItem @plugin_pool.register class RawHtmlTestPlugin(...
28.793651
114
0.698456
195
1,814
6.379487
0.430769
0.040193
0.084405
0.073955
0.217846
0.217846
0.096463
0.096463
0.096463
0.096463
0
0.001402
0.213341
1,814
62
115
29.258065
0.870357
0.202315
0
0.272727
0
0
0.064353
0.047722
0
0
0
0
0
1
0.121212
false
0
0.121212
0.121212
0.69697
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1