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
538b76f4410339b551da4fa2f7de24e2381c86ff
8,685
py
Python
hathor/wallet/resources/thin_wallet/tokens.py
mbnunes/hathor-core
e5e0d4a627341e2a37ee46db5c9354ddb7f8dfb8
[ "Apache-2.0" ]
51
2019-12-28T03:33:27.000Z
2022-03-10T14:03:03.000Z
hathor/wallet/resources/thin_wallet/tokens.py
mbnunes/hathor-core
e5e0d4a627341e2a37ee46db5c9354ddb7f8dfb8
[ "Apache-2.0" ]
316
2019-09-10T09:20:05.000Z
2022-03-31T20:18:56.000Z
hathor/wallet/resources/thin_wallet/tokens.py
jansegre/hathor-core
22b3de6be2518e7a0797edbf0e4f6eb1cf28d6fd
[ "Apache-2.0" ]
19
2020-01-04T00:13:18.000Z
2022-02-08T21:18:46.000Z
# Copyright 2021 Hathor Labs # # 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, s...
36.1875
105
0.400461
675
8,685
5.045926
0.340741
0.026424
0.015267
0.023488
0.166765
0.111568
0.073987
0.039342
0
0
0
0.052332
0.513759
8,685
239
106
36.338912
0.754203
0.128958
0
0.196721
0
0
0.148692
0.03417
0
0
0
0
0
1
0.021858
false
0
0.038251
0
0.103825
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
538c6940579676d1127a35e46b1d495cd5bda383
16,764
py
Python
superman.py
ffont/superman
4f73537f42c376cb27c72cc025ac9d5978c62993
[ "MIT" ]
1
2021-12-29T03:04:25.000Z
2021-12-29T03:04:25.000Z
superman.py
ffont/superman
4f73537f42c376cb27c72cc025ac9d5978c62993
[ "MIT" ]
null
null
null
superman.py
ffont/superman
4f73537f42c376cb27c72cc025ac9d5978c62993
[ "MIT" ]
1
2019-03-10T15:56:23.000Z
2019-03-10T15:56:23.000Z
from essentia.standard import * from scikits.samplerate import resample from math import sqrt, ceil from random import random import numpy import scikits.audiolab as audiolab import sys import essentia import os import json import argparse import time import datetime parser = argparse.ArgumentParser(description='Make ...
41.29064
204
0.660105
2,183
16,764
4.939991
0.189189
0.011035
0.017341
0.008346
0.186851
0.140857
0.121013
0.112111
0.098479
0.067137
0
0.020752
0.223873
16,764
405
205
41.392593
0.808085
0.146206
0
0.109541
0
0.014134
0.131594
0.009146
0
0
0
0
0
0
null
null
0.003534
0.045936
null
null
0.021201
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
538db7f5210c80f7c32fbf2f15466268944a0c2f
363
py
Python
dh_abstracts/app/abstracts/migrations/0059_auto_20200505_1902.py
dSHARP-CMU/dhweb_app
fe3d89aeb6c59e6606596747a236a2df5529e9a4
[ "MIT" ]
3
2021-05-07T17:01:33.000Z
2022-01-08T07:54:22.000Z
dh_abstracts/app/abstracts/migrations/0059_auto_20200505_1902.py
dSHARP-CMU/dhweb_app
fe3d89aeb6c59e6606596747a236a2df5529e9a4
[ "MIT" ]
336
2019-12-04T23:06:08.000Z
2022-03-31T16:23:15.000Z
dh_abstracts/app/abstracts/migrations/0059_auto_20200505_1902.py
dSHARP-CMU/dhweb_app
fe3d89aeb6c59e6606596747a236a2df5529e9a4
[ "MIT" ]
null
null
null
# Generated by Django 3.0.5 on 2020-05-05 23:02 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('abstracts', '0058_conference_editing_user'), ] operations = [ migrations.AlterModelOptions( name='organizer', options={'orde...
20.166667
54
0.608815
35
363
6.228571
0.857143
0
0
0
0
0
0
0
0
0
0
0.071698
0.269972
363
17
55
21.352941
0.750943
0.123967
0
0
1
0
0.208861
0.088608
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5399321e8e25f9d926a9357f7920a25631039708
5,459
py
Python
core/views/profile_views.py
jlaunonen/turska
fc6ec4e0ae50a823e931152ce8835098b96f5966
[ "CC-BY-3.0" ]
null
null
null
core/views/profile_views.py
jlaunonen/turska
fc6ec4e0ae50a823e931152ce8835098b96f5966
[ "CC-BY-3.0" ]
null
null
null
core/views/profile_views.py
jlaunonen/turska
fc6ec4e0ae50a823e931152ce8835098b96f5966
[ "CC-BY-3.0" ]
null
null
null
# encoding: utf-8 from django.conf import settings from django.contrib import messages from django.contrib.auth import authenticate, login, logout from django.contrib.auth.decorators import login_required, user_passes_test from django.contrib.auth.models import User from django.core.urlresolvers import reverse from dj...
33.490798
129
0.700311
626
5,459
5.861022
0.290735
0.032706
0.039248
0.031344
0.230581
0.116653
0.094304
0.094304
0.07686
0.052875
0
0.000939
0.219637
5,459
162
130
33.697531
0.860329
0.005312
0
0.160305
0
0
0.154045
0.018979
0
0
0
0
0
1
0.022901
false
0.160305
0.160305
0
0.229008
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
53a698a44d9770a7285d52c438079baa21b0cce8
3,537
py
Python
modules/moderation.py
CHCMATT/Code
ada2b43135d894a8f4a43ca8d355c119062afd4e
[ "EFL-1.0", "EFL-2.0" ]
15
2015-01-11T06:08:21.000Z
2016-09-23T19:16:40.000Z
modules/moderation.py
CHCMATT/Code
ada2b43135d894a8f4a43ca8d355c119062afd4e
[ "EFL-1.0", "EFL-2.0" ]
35
2015-01-02T08:32:04.000Z
2016-08-28T16:56:20.000Z
modules/moderation.py
CHCMATT/Code
ada2b43135d894a8f4a43ca8d355c119062afd4e
[ "EFL-1.0", "EFL-2.0" ]
11
2015-01-18T17:37:40.000Z
2016-05-25T06:35:09.000Z
from random import choice as random from util.hook import * from util.tools import matchmask # Todo: # - daemon/function to loop through all users, and kick and/or ban those that match # any bans. # - use the above, in conjunction with kick(), op(), voice(), etc to give the ability # to loop through all us...
37.62766
108
0.641504
514
3,537
4.410506
0.254864
0.057345
0.063079
0.084693
0.567711
0.567711
0.495809
0.425232
0.425232
0.361712
0
0.00565
0.199321
3,537
93
109
38.032258
0.794845
0.276506
0
0.210526
0
0.035088
0.141773
0
0
0
0
0.010753
0
1
0.157895
false
0
0.052632
0.017544
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
1
0
0
0
0
0
0
0
0
0
0
1
53a99ea24d8cd2dcd2799cc55ba1260a515716f6
3,044
py
Python
pyflarum/error_handler.py
CWKevo/pyFlarum
2c4e17a16b00367f140c3436f7a9148072ddd2d3
[ "MIT" ]
1
2022-02-07T10:40:46.000Z
2022-02-07T10:40:46.000Z
pyflarum/error_handler.py
CWKevo/pyFlarum
2c4e17a16b00367f140c3436f7a9148072ddd2d3
[ "MIT" ]
1
2022-02-07T10:49:09.000Z
2022-02-07T12:25:25.000Z
pyflarum/error_handler.py
CWKevo/pyFlarum
2c4e17a16b00367f140c3436f7a9148072ddd2d3
[ "MIT" ]
null
null
null
import typing as t if t.TYPE_CHECKING: from requests.models import Response from json.decoder import JSONDecodeError class FlarumError(Exception): """ Generic class for all Flarum related errors. """ def __init__(self, message: t.Optional[str]=None, status: t.Optional[int]=None, code: t.Opt...
30.44
228
0.599869
343
3,044
5.25656
0.329446
0.088741
0.053245
0.061009
0.264559
0.211314
0.1736
0.1736
0.1736
0.1736
0
0.006922
0.288108
3,044
99
229
30.747475
0.825104
0.112681
0
0.211538
0
0.038462
0.182165
0
0
0
0
0
0
1
0.057692
false
0.057692
0.057692
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
53aebee9ac90ed941919d1f3985bd31b2ff924e1
866
py
Python
webapp/library/to_keras.py
adam-r-kowalski/melanoma-classifier
395f6c40ac52178d8337fe15316c06dbdec4ef35
[ "Apache-2.0" ]
1
2019-01-16T15:58:03.000Z
2019-01-16T15:58:03.000Z
webapp/library/to_keras.py
adam-r-kowalski/melanoma-classifier
395f6c40ac52178d8337fe15316c06dbdec4ef35
[ "Apache-2.0" ]
null
null
null
webapp/library/to_keras.py
adam-r-kowalski/melanoma-classifier
395f6c40ac52178d8337fe15316c06dbdec4ef35
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2018 Adam Kowalski # This code is available under the "Apache License 2.0" # Please see the file COPYING in this distribution for license terms. import tensorflow as tf import os import json from layer import layer from optimizer import optimizer from dataset import train_dataset def read_json(name)...
26.242424
69
0.69746
126
866
4.698413
0.492063
0.076014
0
0
0
0
0
0
0
0
0
0.012802
0.188222
866
32
70
27.0625
0.829303
0.177829
0
0
0
0
0.073446
0.059322
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.52381
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
53affaa0d1c336b3951b543ff09a792e5ecbd01b
14,146
py
Python
synbiochemdev/modelgenie/sbml_kinetics_utils.py
neilswainston/development-py
47041c8059cf4d617b9ca26c16b4a691ce68aa2c
[ "MIT" ]
null
null
null
synbiochemdev/modelgenie/sbml_kinetics_utils.py
neilswainston/development-py
47041c8059cf4d617b9ca26c16b4a691ce68aa2c
[ "MIT" ]
null
null
null
synbiochemdev/modelgenie/sbml_kinetics_utils.py
neilswainston/development-py
47041c8059cf4d617b9ca26c16b4a691ce68aa2c
[ "MIT" ]
null
null
null
''' ModelGenie (c) University of Manchester 2015 ModelGenie is licensed under the MIT License. To view a copy of this license, visit <http://opensource.org/licenses/MIT/>. @author: neilswainston ''' from StringIO import StringIO import json import libsbml from synbiochemdev.modelgenie import sbml_utils class Ki...
37.522546
79
0.590344
1,540
14,146
5.130519
0.178571
0.047842
0.019744
0.02582
0.269333
0.198709
0.164283
0.109986
0.092393
0.064296
0
0.03634
0.289976
14,146
376
80
37.62234
0.750299
0.004454
0
0.100775
0
0
0.091581
0
0
0
0
0
0
0
null
null
0
0.015504
null
null
0.003876
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
53b562d53e93d148f6537c456d1d17defb6a57e1
11,083
py
Python
seahub/share/utils.py
samuelduann/seahub
90ce99e8aa27e3e127aedff2eb2f2ee75228b857
[ "Apache-2.0" ]
420
2015-01-03T11:34:46.000Z
2022-03-10T07:15:41.000Z
seahub/share/utils.py
samuelduann/seahub
90ce99e8aa27e3e127aedff2eb2f2ee75228b857
[ "Apache-2.0" ]
735
2015-01-04T21:22:51.000Z
2022-03-31T09:26:07.000Z
seahub/share/utils.py
samuelduann/seahub
90ce99e8aa27e3e127aedff2eb2f2ee75228b857
[ "Apache-2.0" ]
379
2015-01-05T17:08:03.000Z
2022-03-06T00:11:50.000Z
import logging from seahub.group.utils import is_group_admin from seahub.constants import PERMISSION_ADMIN, PERMISSION_READ_WRITE, CUSTOM_PERMISSION_PREFIX from seahub.share.models import ExtraSharePermission, ExtraGroupsSharePermission, CustomSharePermissions from seahub.utils import is_valid_org_id import seaserv f...
42.957364
109
0.611297
1,315
11,083
4.796958
0.081369
0.051363
0.031706
0.023779
0.742866
0.70038
0.657736
0.603044
0.550254
0.459258
0
0.000267
0.325273
11,083
257
110
43.124514
0.843274
0.082469
0
0.547264
0
0
0.005517
0
0
0
0
0
0
1
0.059701
false
0
0.034826
0
0.189055
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
53b8f21e511eea7e5b45fc7362519162aa45e20c
393
py
Python
WEEKS/CD_Sata-Structures/_MISC/misc-examples/python3-book-examples/math/math_fsum.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
null
null
null
WEEKS/CD_Sata-Structures/_MISC/misc-examples/python3-book-examples/math/math_fsum.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
null
null
null
WEEKS/CD_Sata-Structures/_MISC/misc-examples/python3-book-examples/math/math_fsum.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
null
null
null
# Copyright (c) 2010 Doug Hellmann. All rights reserved. # """Calculating accurate sums of floating point values. """ # end_pymotw_header import math values = [0.1] * 10 print("Input values:", values) print("sum() : {:.20f}".format(sum(values))) s = 0.0 for i in values: s += i print("for-loop : {:.20...
18.714286
57
0.628499
57
393
4.298246
0.596491
0.110204
0
0
0
0
0
0
0
0
0
0.049383
0.175573
393
20
58
19.65
0.70679
0.320611
0
0
0
0
0.294574
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.444444
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
53bd909a49414caa0bdfaa4307fc0d1e584835a8
2,668
py
Python
ratschlab_common/scripts/bigmatrix_repack.py
ratschlab/ratschlab-common
e7d71c3220c8b991d9d1c2f2de5cf393fce8357c
[ "MIT" ]
1
2021-02-01T22:45:24.000Z
2021-02-01T22:45:24.000Z
ratschlab_common/scripts/bigmatrix_repack.py
ratschlab/ratschlab-common
e7d71c3220c8b991d9d1c2f2de5cf393fce8357c
[ "MIT" ]
2
2019-11-25T09:10:26.000Z
2020-02-14T13:08:28.000Z
ratschlab_common/scripts/bigmatrix_repack.py
ratschlab/ratschlab-common
e7d71c3220c8b991d9d1c2f2de5cf393fce8357c
[ "MIT" ]
1
2018-09-20T01:38:01.000Z
2018-09-20T01:38:01.000Z
import sys import click import subprocess from ratschlab_common.io import bigmatrix from pathlib import Path DEFAULT_MAT_OPT = ['--keep-source-filters'] DEFAULT_ROW_OPT = ['--keep-source-filters'] DEFAULT_COL_OPT = ['--keep-source-filters'] def _call_ptrepack(src, dest, key, opts): args = ['ptrepack'] args.e...
33.35
80
0.670915
348
2,668
4.905172
0.29023
0.091388
0.079672
0.046866
0.258934
0.169889
0.169889
0.147042
0.097832
0.097832
0
0.002837
0.207271
2,668
79
81
33.772152
0.804255
0.062594
0
0.071429
0
0
0.236195
0.054817
0
0
0
0
0
1
0.035714
false
0.053571
0.089286
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
0
0
0
0
1
0
0
0
0
0
1
53c1a9e76a5997585fc9c1a5c9ceacef66955818
961
py
Python
pylex.py
angajime/pylex
03ada7c42d2f370e59a39d67fd8a0afd26d5a83c
[ "MIT" ]
1
2015-10-13T20:14:07.000Z
2015-10-13T20:14:07.000Z
pylex.py
angajime/pylex
03ada7c42d2f370e59a39d67fd8a0afd26d5a83c
[ "MIT" ]
null
null
null
pylex.py
angajime/pylex
03ada7c42d2f370e59a39d67fd8a0afd26d5a83c
[ "MIT" ]
null
null
null
#!/usr/bin/python import sys import re class bcolors: HEADER = '\033[95m' OKBLUE = '\033[94m' OKGREEN = '\033[92m' WARNING = '\033[93m' FAIL = '\033[91m' ENDC = '\033[0m' BOLD = '\033[1m' UNDERLINE = '\033[4m' if len(sys.argv) != 2: print 'Hand over a file as a first argument.' sys....
18.843137
122
0.611863
143
961
4.062937
0.468531
0.055077
0.048193
0.048193
0.120482
0.120482
0.120482
0.120482
0.120482
0
0
0.06762
0.199792
961
50
123
19.22
0.687906
0.016649
0
0.057143
0
0
0.200426
0
0
0
0
0
0
0
null
null
0.028571
0.057143
null
null
0.085714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
53c41313909b1e9e99fb16a449599d3cbf9f312f
285
py
Python
quick_knn/type_hints.py
blester125/quick_knn
f38ae748db75cda8558494ab1cfd001a315826d9
[ "MIT" ]
1
2020-05-10T22:35:35.000Z
2020-05-10T22:35:35.000Z
quick_knn/type_hints.py
blester125/quick_knn
f38ae748db75cda8558494ab1cfd001a315826d9
[ "MIT" ]
null
null
null
quick_knn/type_hints.py
blester125/quick_knn
f38ae748db75cda8558494ab1cfd001a315826d9
[ "MIT" ]
null
null
null
from typing import Union, Iterable, NewType, Any, Callable import numpy as np Signature = NewType('Signature', np.ndarray) Vector = NewType('Vector', np.ndarray) Key = NewType('Key', Any) Hashable = Union[str, bytes, Iterable[Union[str, bytes]]] Integrable = Callable[[float], float]
31.666667
58
0.736842
38
285
5.526316
0.526316
0.085714
0.12381
0
0
0
0
0
0
0
0
0
0.122807
285
8
59
35.625
0.84
0
0
0
0
0
0.063158
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
53c80bfc8deb1cd531b8bfcd1b5e874b92743a77
5,405
py
Python
tests/components/media_player/test_async_helpers.py
mtarjoianu/core
44e9146463ac505eb3d1c0651ad126cb25c28a54
[ "Apache-2.0" ]
30,023
2016-04-13T10:17:53.000Z
2020-03-02T12:56:31.000Z
tests/components/media_player/test_async_helpers.py
mtarjoianu/core
44e9146463ac505eb3d1c0651ad126cb25c28a54
[ "Apache-2.0" ]
24,710
2016-04-13T08:27:26.000Z
2020-03-02T12:59:13.000Z
tests/components/media_player/test_async_helpers.py
mtarjoianu/core
44e9146463ac505eb3d1c0651ad126cb25c28a54
[ "Apache-2.0" ]
11,956
2016-04-13T18:42:31.000Z
2020-03-02T09:32:12.000Z
"""The tests for the Async Media player helper functions.""" import pytest import homeassistant.components.media_player as mp from homeassistant.const import ( STATE_IDLE, STATE_OFF, STATE_ON, STATE_PAUSED, STATE_PLAYING, ) class ExtendedMediaPlayer(mp.MediaPlayerEntity): """Media player test...
28.298429
66
0.636818
665
5,405
4.960902
0.112782
0.072749
0.063656
0.060018
0.74174
0.712337
0.685965
0.667172
0.620188
0.596544
0
0.007986
0.258649
5,405
190
67
28.447368
0.815323
0.142276
0
0.675
0
0
0
0
0
0
0
0
0.125
1
0.191667
false
0
0.025
0
0.291667
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
53c870c13a966f335929c954deced776c89e37c3
1,241
py
Python
Tools/Scripts/webkitpy/benchmark_runner/http_server_driver/__init__.py
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
6
2021-07-05T16:09:39.000Z
2022-03-06T22:44:42.000Z
Tools/Scripts/webkitpy/benchmark_runner/http_server_driver/__init__.py
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
7
2022-03-15T13:25:39.000Z
2022-03-15T13:25:44.000Z
Tools/Scripts/webkitpy/benchmark_runner/http_server_driver/__init__.py
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
null
null
null
# Required for Python to search this directory for module files # Keep this file free of any code or import statements that could # cause either an error to occur or a log message to be logged. # This ensures that calling code can import initialization code from # webkitpy before any errors or log messages due to code...
40.032258
107
0.812248
182
1,241
5.351648
0.489011
0.082136
0.131417
0.064682
0
0
0
0
0
0
0
0
0.141821
1,241
30
108
41.366667
0.914554
0.515713
0
0
0
0
0.062925
0.035714
0
0
0
0
0
1
0.083333
false
0
0.333333
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
53c94c3115fd88c3fd2a7670a21a47c7a1c8f130
1,101
py
Python
tubee/routes/__init__.py
fossabot/Tubee-1
086c73cfddc3858a086f122b407f7b86d8534990
[ "MIT" ]
null
null
null
tubee/routes/__init__.py
fossabot/Tubee-1
086c73cfddc3858a086f122b407f7b86d8534990
[ "MIT" ]
null
null
null
tubee/routes/__init__.py
fossabot/Tubee-1
086c73cfddc3858a086f122b407f7b86d8534990
[ "MIT" ]
null
null
null
from .admin import admin_blueprint from .api import api_blueprint from .api_action import api_action_blueprint from .api_channel import api_channel_blueprint from .api_tag import api_tag_blueprint from .api_task import api_task_blueprint from .api_video import api_video_blueprint from .dev import dev_blueprint from .ha...
26.853659
46
0.737511
138
1,101
5.456522
0.115942
0.191235
0.12749
0.077025
0.232404
0
0
0
0
0
0
0
0.163488
1,101
40
47
27.525
0.81759
0
0
0
0
0
0.06267
0
0
0
0
0
0
1
0
false
0
0.289474
0
0.289474
0.921053
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
53ccbef928dafb2411c87e5fc3afd30a7ca9b3b7
4,802
py
Python
build/shakaBuildHelpers.py
wader/shaka-player
51af831b72f20887c35d26249e40d23d0c530be0
[ "Apache-2.0" ]
1
2017-02-19T12:13:20.000Z
2017-02-19T12:13:20.000Z
build/shakaBuildHelpers.py
Ragh2018/shaka-player
0b4398fc7c9e18218d76e0cf67b9cb6366e8b556
[ "Apache-2.0" ]
null
null
null
build/shakaBuildHelpers.py
Ragh2018/shaka-player
0b4398fc7c9e18218d76e0cf67b9cb6366e8b556
[ "Apache-2.0" ]
1
2022-03-19T01:47:54.000Z
2022-03-19T01:47:54.000Z
# # Copyright 2016 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing...
32.445946
79
0.700958
673
4,802
4.979198
0.35364
0.010445
0.016413
0.019397
0.20561
0.154581
0.154581
0.136676
0.07162
0.07162
0
0.003844
0.187422
4,802
147
80
32.666667
0.854946
0.208871
0
0.227848
0
0
0.114042
0
0
0
0
0
0
0
null
null
0
0.063291
null
null
0.101266
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
53ce639bbe6e847b626a72570fad09a3e075138f
2,889
py
Python
rfb_mc/component/helper/z3_helper.py
Meterius/rfb-mc
94b9717dac8a23f1c956c15805e4c2ca6d617bb4
[ "MIT" ]
null
null
null
rfb_mc/component/helper/z3_helper.py
Meterius/rfb-mc
94b9717dac8a23f1c956c15805e4c2ca6d617bb4
[ "MIT" ]
null
null
null
rfb_mc/component/helper/z3_helper.py
Meterius/rfb-mc
94b9717dac8a23f1c956c15805e4c2ca6d617bb4
[ "MIT" ]
null
null
null
import z3 from typing import List, NamedTuple, Dict, Optional CloneExpressionOutput = NamedTuple("CloneExpressionOutput", [ ("clones", List[z3.BoolRef]), ("var_map", Dict[z3.ExprRef, List[z3.ExprRef]]) ]) def serialize_expression(expression: z3.ExprRef) -> str: s = z3.Solver() s.add(expression) retur...
30.09375
108
0.661128
387
2,889
4.832041
0.330749
0.048128
0.020856
0.016043
0.036364
0
0
0
0
0
0
0.010464
0.239183
2,889
95
109
30.410526
0.840309
0.290412
0
0
0
0
0.031697
0.010736
0
0
0
0
0.02
1
0.22
false
0
0.04
0.08
0.46
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
53d4fdf0f80b529dfe0877fdea66199c934ea002
837
py
Python
pythran/tests/test_cython.py
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
1
2018-03-24T00:33:03.000Z
2018-03-24T00:33:03.000Z
pythran/tests/test_cython.py
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
null
null
null
pythran/tests/test_cython.py
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
null
null
null
import os import unittest class TestCython(unittest.TestCase): pass def add_test(name, runner, target): setattr(TestCython, "test_" + name, lambda s: runner(s, target)) try: import Cython import glob import sys targets = glob.glob(os.path.join(os.path.dirname(__file__), "cython", "setup_*.py")...
25.363636
88
0.591398
102
837
4.72549
0.421569
0.099585
0.080913
0.070539
0.232365
0.136929
0.136929
0.136929
0
0
0
0
0.284349
837
32
89
26.15625
0.804674
0
0
0.153846
0
0
0.032297
0
0
0
0
0
0
1
0.076923
false
0.076923
0.230769
0
0.346154
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
53de3b026d0e693a9b0c803d89702110a1fd4bbd
850
py
Python
byfon/word.py
LyricLy/byfon
83e771c9210b242282cdac96f06e3bdc5d4f39c4
[ "MIT" ]
5
2020-04-08T10:04:52.000Z
2021-08-10T10:01:20.000Z
byfon/word.py
LyricLy/byfon
83e771c9210b242282cdac96f06e3bdc5d4f39c4
[ "MIT" ]
null
null
null
byfon/word.py
LyricLy/byfon
83e771c9210b242282cdac96f06e3bdc5d4f39c4
[ "MIT" ]
1
2020-04-09T14:22:03.000Z
2020-04-09T14:22:03.000Z
class Word: def __init__(self, cells): if not cells: raise ValueError("word cannot contain 0 cells") self.cell = cells[0] self.rest = Word(cells[1:]) if cells[1:] else None def _clear(self): self.cell |= 0 if self.rest: self.rest.clear() def ...
23.611111
59
0.468235
105
850
3.628571
0.238095
0.209974
0.104987
0.115486
0.425197
0.275591
0.275591
0.275591
0.275591
0.188976
0
0.014113
0.416471
850
35
60
24.285714
0.754032
0
0
0.333333
0
0
0.031765
0
0
0
0
0
0
1
0.2
false
0
0
0
0.233333
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
53df4730264c56e42e0fd490c8dc1d249cf62aae
1,774
py
Python
alembic/versions/20210329_185416_.py
sasano8/magnet-migrade
b5669b34a6a3b845df8df96dfedaf967df6b88e2
[ "MIT" ]
null
null
null
alembic/versions/20210329_185416_.py
sasano8/magnet-migrade
b5669b34a6a3b845df8df96dfedaf967df6b88e2
[ "MIT" ]
4
2021-03-24T23:38:22.000Z
2021-03-31T07:24:30.000Z
alembic/versions/20210329_185416_.py
sasano8/magnet-migrade
b5669b34a6a3b845df8df96dfedaf967df6b88e2
[ "MIT" ]
null
null
null
"""empty message Revision ID: 20210329_185416 Revises: 20210329_055749 Create Date: 2021-03-29 18:54:16.203463 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = "20210329_185416" down_revision = "20210329_055749" branch_labels = None depends_on = None def upgra...
30.067797
82
0.673619
224
1,774
5.080357
0.276786
0.135325
0.233743
0.084359
0.711775
0.689807
0.662566
0.52109
0.461336
0.422671
0
0.052632
0.18602
1,774
58
83
30.586207
0.735457
0.169673
0
0.25
0
0
0.267409
0
0
0
0
0
0
1
0.05
false
0
0.05
0
0.1
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
53e76aa6aaac2d60c19b168792b9dd2282dfd417
529
py
Python
src/profiles/migrations/0014_profile_background.py
GonzaloAvilez/site
10866c826fa0df89f7f25e7392fd0fc8e395f54d
[ "MIT" ]
null
null
null
src/profiles/migrations/0014_profile_background.py
GonzaloAvilez/site
10866c826fa0df89f7f25e7392fd0fc8e395f54d
[ "MIT" ]
12
2019-10-02T17:18:09.000Z
2022-03-11T23:54:53.000Z
src/profiles/migrations/0014_profile_background.py
GonzaloAvilez/site
10866c826fa0df89f7f25e7392fd0fc8e395f54d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.4 on 2016-08-30 01:12 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('profiles', '0013_auto_20160803_0244'), ] operations = [ migrations.AddField(...
25.190476
125
0.635161
61
529
5.311475
0.803279
0
0
0
0
0
0
0
0
0
0
0.078818
0.232514
529
20
126
26.45
0.719212
0.126654
0
0
1
0
0.180828
0.111111
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
53edd6c8cfee32d04a0037d5dc1a99c100042f7e
1,039
py
Python
button.py
BedrockDigger/chrome-dino-pyremake
cebb5725a25c40e7f2fae4290e64fd7a5d410575
[ "Apache-2.0" ]
2
2019-05-02T05:07:45.000Z
2019-05-02T07:46:32.000Z
button.py
BedrockDigger/chrome-dino-pyremake
cebb5725a25c40e7f2fae4290e64fd7a5d410575
[ "Apache-2.0" ]
null
null
null
button.py
BedrockDigger/chrome-dino-pyremake
cebb5725a25c40e7f2fae4290e64fd7a5d410575
[ "Apache-2.0" ]
1
2019-05-02T07:46:37.000Z
2019-05-02T07:46:37.000Z
import pygame.font import ioresolv class Button(): def __init__(self, settings, screen, message): self.screen = screen self.screen_rect = self.screen.get_rect() self.width, self.height = 200, 50 self.bg_color = (83, 83, 83) self.txt_color = (218, 218, 218) self....
30.558824
91
0.666025
145
1,039
4.593103
0.248276
0.148649
0.192192
0.12012
0.261261
0.261261
0.261261
0.261261
0.261261
0.261261
0
0.029557
0.218479
1,039
34
92
30.558824
0.79064
0
0
0.173913
0
0
0
0
0
0
0
0
0
1
0.173913
false
0
0.086957
0
0.304348
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
53f0f72bdb25da984945d55e7315fc9ec830d087
2,283
py
Python
vanko/scrapy/mongo/stats.py
ivandeex/scrapoku
2a315e0e8ed2228e17ef65a5647523e66a7bbf36
[ "BSD-3-Clause" ]
1
2018-05-08T21:29:18.000Z
2018-05-08T21:29:18.000Z
vanko/scrapy/mongo/stats.py
ivandeex/scrapoku
2a315e0e8ed2228e17ef65a5647523e66a7bbf36
[ "BSD-3-Clause" ]
10
2021-01-07T22:41:57.000Z
2022-03-29T23:18:11.000Z
vanko/scrapy/mongo/stats.py
ivandeex/scrapoku
2a315e0e8ed2228e17ef65a5647523e66a7bbf36
[ "BSD-3-Clause" ]
2
2020-08-01T10:14:17.000Z
2021-05-14T14:59:44.000Z
import logging from ..stats import PersistentStatsCollector from . import connection class MongoStatsCollector(PersistentStatsCollector): DEFAULT_STATS_MONGODB_URL = 'mongodb://localhost/test' DEFAULT_STATS_TABLE = '%(spider)s_stats' logger = logging.getLogger('.'.join(__name__.split('.')[-2:])) def ...
36.238095
78
0.600526
294
2,283
4.431973
0.244898
0.085955
0.041443
0.069071
0.24175
0.1934
0.115119
0.115119
0.115119
0.115119
0
0.002877
0.238721
2,283
62
79
36.822581
0.746835
0
0
0.142857
0
0
0.073587
0.010512
0
0
0
0
0
1
0.22449
false
0
0.061224
0.040816
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
53f8bce7c7c414e499f020c0497c641b29101a44
1,163
py
Python
manning_lab_scripts/reorder_contigs_with_MAUVE.py
jrherr/bioinformatics_scripts
0ce2db576727fdaef012f50cfc28065f2727a5a5
[ "MIT" ]
7
2015-01-29T19:07:36.000Z
2021-08-23T06:05:36.000Z
manning_lab_scripts/reorder_contigs_with_MAUVE.py
jrherr/bioinformatics_scripts
0ce2db576727fdaef012f50cfc28065f2727a5a5
[ "MIT" ]
null
null
null
manning_lab_scripts/reorder_contigs_with_MAUVE.py
jrherr/bioinformatics_scripts
0ce2db576727fdaef012f50cfc28065f2727a5a5
[ "MIT" ]
10
2015-05-15T08:48:44.000Z
2022-03-15T17:12:48.000Z
import glob import re import shutil import os os.putenv('PATH', '/Applications/Mauve.app/Contents/MacOS:' + os.getenv('PATH')) SAMPLES = "sample1 sample2 sample3 sample4".split() ROOT_FOLDER = "/path/to/root/dir" REF_NAME = "reference_strain" REF = os.path.join(ROOT_FOLDER, "fasta_genomes", REF_NAME + ".fasta")...
46.52
210
0.714531
150
1,163
5.46
0.466667
0.063492
0.069597
0.098901
0.153846
0
0
0
0
0
0
0.008824
0.122958
1,163
24
211
48.458333
0.794118
0
0
0
0
0.05
0.465789
0.295614
0
0
0
0
0
0
null
null
0
0.2
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
53fb91c18bbc53a02aca5b4b6c286f87a2a5230c
448
py
Python
tests/openQA/search.py
os-autoinst/os-autoinst-distri-openQA
4f97092ef1e1094af78da5eaed2a5da2e9eb9857
[ "MIT" ]
6
2016-01-13T10:22:27.000Z
2018-12-12T17:32:15.000Z
tests/openQA/search.py
os-autoinst/os-autoinst-distri-openQA
4f97092ef1e1094af78da5eaed2a5da2e9eb9857
[ "MIT" ]
49
2016-06-26T06:23:42.000Z
2022-03-28T18:10:20.000Z
tests/openQA/search.py
os-autoinst/os-autoinst-distri-openQA
4f97092ef1e1094af78da5eaed2a5da2e9eb9857
[ "MIT" ]
22
2016-06-18T19:33:44.000Z
2022-02-07T15:06:51.000Z
from testapi import * def run(self): assert_screen('openqa-logged-in') assert_and_click('openqa-search') type_string('shutdown.pm') send_key('ret') assert_screen('openqa-search-results') def switch_to_root_console(): send_key('ctrl-alt-f3') def post_fail_hook(self): switch_to_root_cons...
19.478261
73
0.709821
65
448
4.615385
0.646154
0.08
0.12
0.126667
0
0
0
0
0
0
0
0.005291
0.15625
448
22
74
20.363636
0.78836
0
0
0
0
0
0.285714
0.046875
0
0
0
0
0.285714
1
0.285714
false
0
0.071429
0.071429
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
53fdde0e7d7eff605bca31aa58e00b043fd1bb90
22,053
py
Python
openGaussBase/testcase/PUB_SUB/Opengauss_Function_Pub_Sub_Case0109.py
opengauss-mirror/Yat
aef107a8304b94e5d99b4f1f36eb46755eb8919e
[ "MulanPSL-1.0" ]
null
null
null
openGaussBase/testcase/PUB_SUB/Opengauss_Function_Pub_Sub_Case0109.py
opengauss-mirror/Yat
aef107a8304b94e5d99b4f1f36eb46755eb8919e
[ "MulanPSL-1.0" ]
null
null
null
openGaussBase/testcase/PUB_SUB/Opengauss_Function_Pub_Sub_Case0109.py
opengauss-mirror/Yat
aef107a8304b94e5d99b4f1f36eb46755eb8919e
[ "MulanPSL-1.0" ]
null
null
null
""" Copyright (c) 2022 Huawei Technologies Co.,Ltd. openGauss is licensed under Mulan PSL v2. You can use this software according to the terms and conditions of the Mulan PSL v2. You may obtain a copy of Mulan PSL v2 at: http://license.coscl.org.cn/MulanPSL2 THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, W...
46.039666
84
0.577336
2,773
22,053
4.358817
0.106744
0.040539
0.060975
0.046414
0.747828
0.688426
0.672706
0.637793
0.637793
0.607429
0
0.016991
0.300775
22,053
478
85
46.135983
0.766861
0.023035
0
0.624378
0
0
0.259883
0.108482
0
0
0
0
0.104478
1
0.007463
false
0.027363
0.019901
0
0.029851
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
53fe712edc7717eed5215d0297043d088275a8c5
4,846
py
Python
applications/aci-diagram/diagram.py
richardstrnad/acitoolkit
7e559dbb0b2d22ecf980733d6f8b7c894ecfdbde
[ "Apache-2.0" ]
351
2015-01-15T14:44:36.000Z
2022-03-27T17:06:52.000Z
applications/aci-diagram/diagram.py
richardstrnad/acitoolkit
7e559dbb0b2d22ecf980733d6f8b7c894ecfdbde
[ "Apache-2.0" ]
215
2015-01-11T07:05:12.000Z
2021-12-12T15:18:10.000Z
applications/aci-diagram/diagram.py
richardstrnad/acitoolkit
7e559dbb0b2d22ecf980733d6f8b7c894ecfdbde
[ "Apache-2.0" ]
324
2015-01-07T10:03:18.000Z
2022-02-23T21:48:13.000Z
#!/usr/bin/env python from acitoolkit.acitoolkit import * import pygraphviz as pgv import sys import logging creds = Credentials('apic', "Generate logical diagrams of a running Cisco ACI Application Policy Infrastructure Controller") creds.add_argument('-o', '--output', help='O...
36.164179
116
0.542716
566
4,846
4.507067
0.265018
0.082321
0.042336
0.032928
0.216386
0.152881
0.042336
0.042336
0.042336
0.042336
0
0
0.301486
4,846
133
117
36.43609
0.753619
0.004127
0
0.103093
1
0
0.185699
0.033161
0
0
0
0
0.010309
1
0.072165
false
0.010309
0.041237
0.072165
0.185567
0.072165
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
9900a594724e82c09a2d43885ee9fcaaa8017323
596
py
Python
todoApps_todoapps_taskapp_migrations_0002_auto_20200809_1019.py
BinduPython100/TodoApps
73d6e920ab16d685229fac93725bb680f228dc10
[ "CNRI-Python-GPL-Compatible", "Apache-2.0", "MIT", "BSD-3-Clause-Clear", "BSD-3-Clause" ]
null
null
null
todoApps_todoapps_taskapp_migrations_0002_auto_20200809_1019.py
BinduPython100/TodoApps
73d6e920ab16d685229fac93725bb680f228dc10
[ "CNRI-Python-GPL-Compatible", "Apache-2.0", "MIT", "BSD-3-Clause-Clear", "BSD-3-Clause" ]
null
null
null
todoApps_todoapps_taskapp_migrations_0002_auto_20200809_1019.py
BinduPython100/TodoApps
73d6e920ab16d685229fac93725bb680f228dc10
[ "CNRI-Python-GPL-Compatible", "Apache-2.0", "MIT", "BSD-3-Clause-Clear", "BSD-3-Clause" ]
null
null
null
# Generated by Django 3.0.8 on 2020-08-09 10:19 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('taskapp', '0001_initial'), ] operations = [ migrations.RenameField( model_name='taskform', old_name='date', ...
24.833333
127
0.557047
61
596
5.327869
0.737705
0.055385
0.104615
0
0
0
0
0
0
0
0
0.049881
0.293624
596
23
128
25.913043
0.72209
0.075503
0
0.235294
1
0
0.147541
0
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
99010dc027c9f0df6520eac041389edf1b243d01
1,177
py
Python
login.py
nasif92/cgi-lab
7d4cf23289415a414ddebf08bf1efff49d796c31
[ "Apache-2.0" ]
null
null
null
login.py
nasif92/cgi-lab
7d4cf23289415a414ddebf08bf1efff49d796c31
[ "Apache-2.0" ]
null
null
null
login.py
nasif92/cgi-lab
7d4cf23289415a414ddebf08bf1efff49d796c31
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 import cgi import cgitb cgitb.enable() import os as os from template import login_page, secret_page, after_login_incorrect import secret from http.cookies import SimpleCookie # setup cgi form s = cgi.FieldStorage() username = s.getfirst("username") password = s.getfirst("passwo...
23.078431
76
0.703483
160
1,177
5.04375
0.3
0.054523
0.081784
0.092937
0.116481
0.116481
0.116481
0
0
0
0
0.001042
0.184367
1,177
50
77
23.54
0.839583
0.058624
0
0
0
0
0.136493
0
0
0
0
0
0
1
0
false
0.333333
0.181818
0
0.181818
0.212121
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
9902267c04da0d4b6406ce6b23bde400d1ae325d
2,441
py
Python
misc/TestEmbeddingPyQt.py
rweigel/magnetovis
2f466df4e29c2bb71c3d92294efea7f9eb036cec
[ "BSD-2-Clause" ]
null
null
null
misc/TestEmbeddingPyQt.py
rweigel/magnetovis
2f466df4e29c2bb71c3d92294efea7f9eb036cec
[ "BSD-2-Clause" ]
2
2020-11-06T10:20:08.000Z
2021-01-25T17:44:48.000Z
misc/TestEmbeddingPyQt.py
rweigel/magnetovis
2f466df4e29c2bb71c3d92294efea7f9eb036cec
[ "BSD-2-Clause" ]
1
2021-05-22T11:35:18.000Z
2021-05-22T11:35:18.000Z
# From ParaView email list. (TODO: Find link.) # See also # https://discourse.paraview.org/t/run-paraview-in-pyqt5-widget-python/8243/2 # https://discourse.paraview.org/t/dynamic-paraview-plugins-using-python/1793 # https://public.kitware.com/pipermail/paraview-developers/2012-April/001491.html # https://markmail....
33.438356
102
0.595658
234
2,441
6.098291
0.551282
0.022425
0.030834
0.035039
0.03644
0
0
0
0
0
0
0.020062
0.203605
2,441
72
103
33.902778
0.713992
0.293732
0
0.090909
0
0
0.160422
0.01815
0
0
0
0.013889
0
1
0.159091
false
0
0.090909
0
0.340909
0.068182
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
9904d3d396c185c11c3c835d335e55222a646935
931
py
Python
setup.py
messiest/imagenet-downloader
ebd19c4d49e11cecfb7ecbe9605a2535ba72d4ca
[ "BSD-3-Clause" ]
null
null
null
setup.py
messiest/imagenet-downloader
ebd19c4d49e11cecfb7ecbe9605a2535ba72d4ca
[ "BSD-3-Clause" ]
null
null
null
setup.py
messiest/imagenet-downloader
ebd19c4d49e11cecfb7ecbe9605a2535ba72d4ca
[ "BSD-3-Clause" ]
9
2018-02-23T21:57:15.000Z
2018-02-23T22:04:54.000Z
from setuptools import setup setup(name='cifar-extender', version='1.0', description='extending the cifar datasets with imagenet images', long_description=open('README.md').read(), author='Chris Messier', license='BSD 3-Clause', author_email='messier.development@gmail.com', u...
34.481481
71
0.621912
93
931
6.139785
0.741935
0.113835
0.063047
0
0
0
0
0
0
0
0
0.008487
0.240602
931
26
72
35.807692
0.799151
0
0
0.083333
0
0
0.53276
0.121375
0
0
0
0
0
1
0
true
0
0.041667
0
0.041667
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
99064cdd2277ff63aea76040d446f6acba326bad
1,077
py
Python
main.py
chunkeat99/utm_wifi_login
af92741d19e6ee68f2bb862157d2fcad0becafc8
[ "BSD-3-Clause" ]
null
null
null
main.py
chunkeat99/utm_wifi_login
af92741d19e6ee68f2bb862157d2fcad0becafc8
[ "BSD-3-Clause" ]
null
null
null
main.py
chunkeat99/utm_wifi_login
af92741d19e6ee68f2bb862157d2fcad0becafc8
[ "BSD-3-Clause" ]
null
null
null
from selenium import webdriver from selenium.webdriver.common.by import By from webdriver_manager.firefox import GeckoDriverManager from webdriver_manager.microsoft import EdgeChromiumDriverManager import time login_link="http://1.1.1.2/" utmid = "" # username password = "" # password id_utmid = "une" id_password ="p...
33.65625
126
0.78273
148
1,077
5.47973
0.412162
0.054254
0.088779
0.098644
0.310728
0.239211
0.143033
0.108508
0.108508
0
0
0.012097
0.078923
1,077
31
127
34.741935
0.805444
0.336119
0
0
0
0
0.100141
0.029619
0
0
0
0
0
1
0
false
0.136364
0.227273
0
0.227273
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
9908d336a73ee29a087f3d7f981a408a8c5aafa8
1,356
py
Python
apps/administration/rest_api/filters.py
Colorado-Realestate-Data/CO-Database
7e2087991e3c6582e9aa9438fc34dd05f2f4a78b
[ "MIT" ]
null
null
null
apps/administration/rest_api/filters.py
Colorado-Realestate-Data/CO-Database
7e2087991e3c6582e9aa9438fc34dd05f2f4a78b
[ "MIT" ]
31
2016-04-25T17:13:00.000Z
2017-12-27T13:48:00.000Z
apps/administration/rest_api/filters.py
Colorado-Realestate-Data/CO-Database
7e2087991e3c6582e9aa9438fc34dd05f2f4a78b
[ "MIT" ]
2
2016-04-30T21:13:51.000Z
2017-12-29T17:13:15.000Z
import django_filters import operator from functools import reduce from django.contrib.auth.models import Group, Permission from django.db.models import Q from django_filters.rest_framework import FilterSet from apps.prop.models import User class UserFilter(FilterSet): min_date_joined = django_filters.IsoDateTim...
33.073171
102
0.719764
165
1,356
5.690909
0.393939
0.110756
0.127796
0.144835
0.268371
0.268371
0.268371
0.268371
0.268371
0.268371
0
0
0.166667
1,356
40
103
33.9
0.830973
0
0
0.103448
0
0
0.123156
0
0
0
0
0
0
1
0.034483
false
0
0.241379
0
0.724138
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
9909deda962abaa8dfc0a54e91d2c768426e58ce
1,933
py
Python
src/dispatch/feedback/messaging.py
JGroselle/dispatch
1db4682b9c09cd122d92b63641c7c8b2e4dee5f4
[ "Apache-2.0" ]
1
2021-06-16T17:02:35.000Z
2021-06-16T17:02:35.000Z
src/dispatch/feedback/messaging.py
dilbwagsingh/dispatch
ca7c9730dea64e196c6653321552d570dfdad069
[ "Apache-2.0" ]
10
2021-07-17T04:28:07.000Z
2022-02-05T00:40:59.000Z
src/dispatch/feedback/messaging.py
dilbwagsingh/dispatch
ca7c9730dea64e196c6653321552d570dfdad069
[ "Apache-2.0" ]
null
null
null
import logging from typing import List from dispatch.config import DISPATCH_HELP_EMAIL, INCIDENT_RESPONSE_TEAM_EMAIL from dispatch.database.core import SessionLocal from dispatch.messaging.strings import ( INCIDENT_FEEDBACK_DAILY_REPORT, MessageType, ) from dispatch.plugin import service as plugin_service fro...
31.177419
93
0.686498
213
1,933
5.99061
0.361502
0.100313
0.131661
0.169279
0.105799
0.067398
0
0
0
0
0
0
0.242628
1,933
61
94
31.688525
0.871585
0.046042
0
0.041667
0
0
0.117068
0
0
0
0
0
0
1
0.020833
false
0
0.145833
0
0.1875
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
54c88cdfccccbb3f171ea44ea8d65ed8777e5311
881
py
Python
num_beats.py
oliviagwynn1/bme590hrm
6562efd1b6414270d2f9d392e19f9aebfe629020
[ "Unlicense" ]
null
null
null
num_beats.py
oliviagwynn1/bme590hrm
6562efd1b6414270d2f9d392e19f9aebfe629020
[ "Unlicense" ]
3
2018-10-28T23:47:29.000Z
2018-10-28T23:48:31.000Z
num_beats.py
oliviagwynn1/bme590hrm
6562efd1b6414270d2f9d392e19f9aebfe629020
[ "Unlicense" ]
null
null
null
def num_beats_test(threshold=0.7, voltage_array=None): """returns number_beats This function calculates the number of beats in each strip. The function requires the peakutils package to determine the indexes of every peak/beat in the voltage array. The second line in the function calculates the n...
30.37931
82
0.740068
118
881
5.40678
0.457627
0.094044
0.065831
0.08464
0.112853
0.112853
0.112853
0
0
0
0
0.002845
0.202043
881
29
83
30.37931
0.904694
0.523269
0
0
0
0
0.04607
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
54cbe4d66812d3f47a05b2fc8e4b70beb668bc21
2,419
py
Python
coordinator/models.py
kids-first/kf-api-release-coordinator
52831b2de2e0ce734d567289f3b10d720bce8a9e
[ "Apache-2.0" ]
2
2018-09-12T01:39:05.000Z
2020-09-23T20:09:05.000Z
coordinator/models.py
kids-first/kf-api-release-coordinator
52831b2de2e0ce734d567289f3b10d720bce8a9e
[ "Apache-2.0" ]
89
2018-04-20T12:41:13.000Z
2022-02-10T07:39:41.000Z
coordinator/models.py
kids-first/kf-api-release-coordinator
52831b2de2e0ce734d567289f3b10d720bce8a9e
[ "Apache-2.0" ]
1
2018-08-31T18:52:42.000Z
2018-08-31T18:52:42.000Z
from django.db import models from django.contrib.postgres.fields import ArrayField from django.contrib.auth.models import AbstractUser, BaseUserManager from django.utils.translation import gettext_lazy as _ from coordinator.api.models.study import Study class MyUserManager(BaseUserManager): def create_user(self, ...
31.415584
76
0.649442
292
2,419
5.260274
0.373288
0.058594
0.046875
0.0625
0.227865
0.227865
0.188802
0.188802
0.128906
0.128906
0
0.009556
0.264572
2,419
76
77
31.828947
0.85385
0.163704
0
0.188679
0
0
0.074742
0
0
0
0
0
0
1
0.056604
false
0.075472
0.09434
0.018868
0.415094
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
54cd6833f76919c82cec2ee52ef9dab65c9e9b36
352
py
Python
groovesweepersite/groovesweeperapp/migrations/0003_auto_20210417_2058.py
groovesweeper/groovesweeper.github.io
6a40973eb665f6b6374a4d22c8239e74cb011798
[ "MIT" ]
3
2021-04-01T21:08:15.000Z
2022-02-18T18:26:40.000Z
groovesweepersite/groovesweeperapp/migrations/0003_auto_20210417_2058.py
groovesweeper/groovesweeper.github.io
6a40973eb665f6b6374a4d22c8239e74cb011798
[ "MIT" ]
null
null
null
groovesweepersite/groovesweeperapp/migrations/0003_auto_20210417_2058.py
groovesweeper/groovesweeper.github.io
6a40973eb665f6b6374a4d22c8239e74cb011798
[ "MIT" ]
null
null
null
# Generated by Django 3.1.6 on 2021-04-18 00:58 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('groovesweeperapp', '0002_auto_20210417_2331'), ] operations = [ migrations.AlterModelManagers( name='songmodel', managers=[ ...
18.526316
56
0.582386
33
352
6.121212
0.878788
0
0
0
0
0
0
0
0
0
0
0.128099
0.3125
352
18
57
19.555556
0.706612
0.127841
0
0
1
0
0.157377
0.07541
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
54d15cde34a5f445924126f04200d46453005e42
1,140
py
Python
Chapter08/button.py
PacktPublishing/Raspberry-Pi-Zero-Cookbook
d646b78de5170f11534951238ab96e57e3afdecd
[ "MIT" ]
8
2017-05-01T20:18:39.000Z
2021-11-13T08:11:13.000Z
Chapter08/button.py
PacktPublishing/Raspberry-Pi-Zero-Cookbook
d646b78de5170f11534951238ab96e57e3afdecd
[ "MIT" ]
null
null
null
Chapter08/button.py
PacktPublishing/Raspberry-Pi-Zero-Cookbook
d646b78de5170f11534951238ab96e57e3afdecd
[ "MIT" ]
3
2017-07-27T02:47:40.000Z
2021-08-31T02:45:04.000Z
#!/usr/bin/env python # Raspberry Pi Zero Cookbook # Chapter 8 # Detecting Pushbutton Inputs import time import RPi.GPIO as GPIO GPIO.setmode(GPIO.BCM) #LED output pins redpin=17 greenpin=18 bluepin=27 #Pushbutton input pin buttonpin=23 #Configure inputs and outputs GPIO.setup(redpin, GPIO.OUT) GPIO.setup(greenpin, GPI...
27.142857
61
0.599123
160
1,140
4.2
0.4625
0.044643
0.049107
0.071429
0.041667
0.041667
0
0
0
0
0
0.033294
0.262281
1,140
41
62
27.804878
0.765755
0.129825
0
0
0
0
0.038579
0
0
0
0
0
0
0
null
null
0
0.058824
null
null
0.058824
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
54d5251dbe88f1fa8718f5ec4b2ffacfbcb9a398
1,421
py
Python
scripts/regularized_training.py
gandhiy/lipMIP
11843e6bf2223acca44f57d29791521aac15caf3
[ "MIT" ]
11
2020-05-18T17:33:25.000Z
2022-01-28T18:42:31.000Z
scripts/regularized_training.py
gandhiy/lipMIP
11843e6bf2223acca44f57d29791521aac15caf3
[ "MIT" ]
null
null
null
scripts/regularized_training.py
gandhiy/lipMIP
11843e6bf2223acca44f57d29791521aac15caf3
[ "MIT" ]
1
2020-12-10T19:57:20.000Z
2020-12-10T19:57:20.000Z
""" Sets up training runs w/ regularizations """ """ Training with scheduled lipschitz evaluation -- what do I need? - training parameters - lipschitz evaluation parameters - how often to do lipschitz evaluation How to best organize this data? What will I use it for exactly? + plotting average lipschitz value...
23.683333
70
0.758621
201
1,421
5.124378
0.472637
0.069903
0.054369
0.036893
0.048544
0
0
0
0
0
0
0.002532
0.16608
1,421
59
71
24.084746
0.866667
0.03026
0
0
0
0
0.002247
0
0
0
0
0
0
0
null
null
0
0.208333
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
54d8f551fd29bd260a2ce7d91585f1d98e56a5c2
1,352
py
Python
bluebottle/funding/migrations/0009_auto_20190612_1319.py
terrameijar/bluebottle
b4f5ba9c4f03e678fdd36091b29240307ea69ffd
[ "BSD-3-Clause" ]
10
2015-05-28T18:26:40.000Z
2021-09-06T10:07:03.000Z
bluebottle/funding/migrations/0009_auto_20190612_1319.py
terrameijar/bluebottle
b4f5ba9c4f03e678fdd36091b29240307ea69ffd
[ "BSD-3-Clause" ]
762
2015-01-15T10:00:59.000Z
2022-03-31T15:35:14.000Z
bluebottle/funding/migrations/0009_auto_20190612_1319.py
terrameijar/bluebottle
b4f5ba9c4f03e678fdd36091b29240307ea69ffd
[ "BSD-3-Clause" ]
9
2015-02-20T13:19:30.000Z
2022-03-08T14:09:17.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.15 on 2019-06-12 11:19 from __future__ import unicode_literals import bluebottle.utils.fields from decimal import Decimal from django.db import migrations, models import django.db.models.deletion import djmoney.models.fields class Migration(migrations.Migration): ...
34.666667
143
0.647929
143
1,352
5.972028
0.454545
0.046838
0.065574
0.103045
0.370023
0.370023
0.278689
0.278689
0.278689
0.222482
0
0.032381
0.223373
1,352
38
144
35.578947
0.780952
0.051036
0
0.322581
1
0
0.182813
0.017969
0
0
0
0
0
1
0
false
0
0.193548
0
0.290323
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
54e2bbc872717837d0cad9a87a79e6d65790ed59
3,023
py
Python
sdk/python/pulumi_gcp/organizations/get_organization.py
pulumi-bot/pulumi-gcp
43ff11bf1c99b4e9e493f61d9755e359b686ae67
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_gcp/organizations/get_organization.py
pulumi-bot/pulumi-gcp
43ff11bf1c99b4e9e493f61d9755e359b686ae67
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_gcp/organizations/get_organization.py
pulumi-bot/pulumi-gcp
43ff11bf1c99b4e9e493f61d9755e359b686ae67
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import pulumi import pulumi.runtime class GetOrganizationResult(object): """ A collection of values returned by getOrganizatio...
40.306667
162
0.667549
346
3,023
5.514451
0.33237
0.041929
0.069707
0.100629
0.189727
0.066038
0
0
0
0
0
0.012195
0.24049
3,023
74
163
40.851351
0.818815
0.164737
0
0
1
0
0.2087
0.036251
0
0
0
0
0
1
0.058824
false
0
0.058824
0
0.176471
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
54e405f0810861e911d049b7aba8b7c918bbe5cd
2,423
py
Python
conf.py
FaitAccompli/asset-tracker-cloud-docs
bf1b9ca99e67dffad4ef8240c533f848fecbdfa0
[ "BSD-3-Clause" ]
5
2021-06-12T22:04:03.000Z
2022-02-24T00:05:27.000Z
conf.py
FaitAccompli/asset-tracker-cloud-docs
bf1b9ca99e67dffad4ef8240c533f848fecbdfa0
[ "BSD-3-Clause" ]
349
2021-02-09T09:04:27.000Z
2022-03-18T08:39:13.000Z
conf.py
FaitAccompli/asset-tracker-cloud-docs
bf1b9ca99e67dffad4ef8240c533f848fecbdfa0
[ "BSD-3-Clause" ]
7
2021-02-18T21:05:12.000Z
2022-03-15T11:52:24.000Z
# Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full # list see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html # -- Path setup -----------------------------------------------------------------------...
33.652778
118
0.621544
291
2,423
5.068729
0.5189
0.04339
0.028475
0.04339
0.046102
0
0
0
0
0
0
0.004325
0.141147
2,423
72
119
33.652778
0.704469
0.702022
0
0
0
0
0.446532
0.034682
0
0
0
0.013889
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
54e629f2331e8c0b1a8aaa821bca229e16e38aad
1,732
py
Python
strops/parameters/migrations/0001_initial.py
ckoerber/strops
2131354fd6822b3aa7b7d9c3c0db79723b06b8ca
[ "BSD-3-Clause" ]
1
2020-12-29T19:57:47.000Z
2020-12-29T19:57:47.000Z
strops/parameters/migrations/0001_initial.py
ckoerber/strops
2131354fd6822b3aa7b7d9c3c0db79723b06b8ca
[ "BSD-3-Clause" ]
13
2020-06-29T11:15:59.000Z
2021-09-22T19:18:36.000Z
strops/parameters/migrations/0001_initial.py
ckoerber/strops
2131354fd6822b3aa7b7d9c3c0db79723b06b8ca
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 3.1a1 on 2020-07-07 07:56 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import strops.utils.fields class Migration(migrations.Migration): initial = True dependencies = [ ('references', '0001_initial'), migrat...
48.111111
247
0.655889
199
1,732
5.59799
0.507538
0.057451
0.037702
0.059246
0.10772
0.070018
0.070018
0.070018
0
0
0
0.018519
0.220554
1,732
35
248
49.485714
0.806667
0.025982
0
0
1
0
0.274184
0.013056
0
0
0
0
0
1
0
false
0
0.142857
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
54e85d1a3b8d6b1596222465a3ea1f8268d6382a
2,390
py
Python
services/director-v2/tests/unit/test_models_comp_tasks.py
colinRawlings/osparc-simcore
bf2f18d5bc1e574d5f4c238d08ad15156184c310
[ "MIT" ]
25
2018-04-13T12:44:12.000Z
2022-03-12T15:01:17.000Z
services/director-v2/tests/unit/test_models_comp_tasks.py
colinRawlings/osparc-simcore
bf2f18d5bc1e574d5f4c238d08ad15156184c310
[ "MIT" ]
2,553
2018-01-18T17:11:55.000Z
2022-03-31T16:26:40.000Z
services/director-v2/tests/unit/test_models_comp_tasks.py
mrnicegyu11/osparc-simcore
b6fa6c245dbfbc18cc74a387111a52de9b05d1f4
[ "MIT" ]
20
2018-01-18T19:45:33.000Z
2022-03-29T07:08:47.000Z
# pylint:disable=unused-variable # pylint:disable=unused-argument # pylint:disable=redefined-outer-name from pprint import pformat from typing import Any, Dict, Type import pytest from models_library.projects_state import RunningState from pydantic.main import BaseModel from simcore_postgres_database.models.comp_pipe...
31.866667
83
0.717573
300
2,390
5.446667
0.246667
0.097919
0.078335
0.063647
0.614443
0.614443
0.614443
0.614443
0.614443
0.614443
0
0.000504
0.169456
2,390
74
84
32.297297
0.82267
0.040586
0
0.62069
0
0
0.06422
0
0
0
0
0
0.103448
1
0.068966
false
0
0.12069
0
0.189655
0.086207
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
54eb275ca8e7a4612c2ab3505fe57ded3db9c699
907
py
Python
socialregistration/templatetags/__init__.py
guitarparty/django-socialregistration
d1d34890c9f72a191723d0192398791f71ee6956
[ "MIT" ]
1
2016-03-24T05:25:44.000Z
2016-03-24T05:25:44.000Z
socialregistration/templatetags/__init__.py
assiotis/django-socialregistration
b9ac4ce0a8251bd915022816355e6f02e1cab291
[ "MIT" ]
null
null
null
socialregistration/templatetags/__init__.py
assiotis/django-socialregistration
b9ac4ce0a8251bd915022816355e6f02e1cab291
[ "MIT" ]
null
null
null
from django import template from django.utils.translation import ugettext_lazy as _ register = template.Library() def button(template): def tag(parser, token): bits = token.split_contents() try: # Is a custom button passed in? return ButtonTag(template, bits[1][1:-1]) ...
32.392857
96
0.641676
102
907
5.578431
0.509804
0.089631
0.080844
0
0
0
0
0
0
0
0
0.004511
0.266814
907
27
97
33.592593
0.851128
0.050717
0
0
0
0
0.129371
0.089744
0
0
0
0
0
1
0.2
false
0
0.1
0
0.55
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
54ec70c87c98643e08bbba741a9673020c278fd1
5,510
py
Python
nncf/pruning/schedulers.py
xianfu92/nncf
516d8c981ba43763ade17ec307bc6543ad6d46e5
[ "Apache-2.0" ]
1
2022-01-26T09:36:03.000Z
2022-01-26T09:36:03.000Z
nncf/pruning/schedulers.py
mk-nvidia/nncf
e9d487cca8e3e64e6bb12ad7fed38cc850eb9440
[ "Apache-2.0" ]
null
null
null
nncf/pruning/schedulers.py
mk-nvidia/nncf
e9d487cca8e3e64e6bb12ad7fed38cc850eb9440
[ "Apache-2.0" ]
null
null
null
""" Copyright (c) 2020 Intel Corporation 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 writin...
34.873418
116
0.663339
765
5,510
4.512418
0.220915
0.05562
0.02781
0.02781
0.411935
0.374276
0.344728
0.32445
0.311124
0.300116
0
0.013381
0.240472
5,510
157
117
35.095541
0.81147
0.238113
0
0.329545
0
0
0.024584
0.005215
0
0
0
0
0
1
0.215909
false
0
0.056818
0.045455
0.443182
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
54edf50f7fab0037c99a8428d3cb0d674ca40ed3
22,995
py
Python
maskgen/batch/batch_process.py
spongezhang/maskgen
7284e300d1cb326a5349879de0bace9cfa8788a8
[ "BSD-3-Clause" ]
null
null
null
maskgen/batch/batch_process.py
spongezhang/maskgen
7284e300d1cb326a5349879de0bace9cfa8788a8
[ "BSD-3-Clause" ]
null
null
null
maskgen/batch/batch_process.py
spongezhang/maskgen
7284e300d1cb326a5349879de0bace9cfa8788a8
[ "BSD-3-Clause" ]
null
null
null
""" Bulk Image Journal Processing """ import argparse import sys import itertools import rawpy from maskgen.software_loader import * from maskgen import scenario_model from maskgen import graph_rules import maskgen.tool_set import bulk_export import maskgen.group_operations import maskgen from maskgen.batch import pick...
45.088235
169
0.626571
2,509
22,995
5.686329
0.17218
0.016401
0.030981
0.010654
0.207332
0.151328
0.13759
0.11474
0.109834
0.105348
0
0.003821
0.271581
22,995
509
170
45.176817
0.84794
0.024223
0
0.205634
0
0.008451
0.13501
0.005493
0
0
0
0
0
0
null
null
0
0.053521
null
null
0.061972
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
54f349fdaec09a5ca4e270cddec0e7cd570ab9a5
453
py
Python
ssjsurvey/customers/migrations/0002_auto_20190629_1043.py
sivanagarajumolabanti/Shreeshubham
7efef70b9d93d9d8e5dfa90664f5fb6446bcc1c5
[ "MIT" ]
1
2019-08-27T04:20:07.000Z
2019-08-27T04:20:07.000Z
ssjsurvey/customers/migrations/0002_auto_20190629_1043.py
sivanagarajumolabanti/Shreeshubham
7efef70b9d93d9d8e5dfa90664f5fb6446bcc1c5
[ "MIT" ]
null
null
null
ssjsurvey/customers/migrations/0002_auto_20190629_1043.py
sivanagarajumolabanti/Shreeshubham
7efef70b9d93d9d8e5dfa90664f5fb6446bcc1c5
[ "MIT" ]
null
null
null
# Generated by Django 2.1.1 on 2019-06-29 17:43 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('customers', '0001_initial'), ] operations = [ migrations.AlterField( model_name='customer', name='da...
22.65
110
0.613687
51
453
5.411765
0.745098
0
0
0
0
0
0
0
0
0
0
0.114114
0.264901
453
19
111
23.842105
0.714715
0.099338
0
0
1
0
0.081281
0
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
54f7efb562a296c7531e10d94a7143ef68777aea
1,261
py
Python
videoCrawler/videoCrawler/videoCrawler.py
lovishchopra/ITRI-Car-Accident
96a1ffa25eacfb2885ea1fa0852a91c8bb5ec95d
[ "MIT" ]
null
null
null
videoCrawler/videoCrawler/videoCrawler.py
lovishchopra/ITRI-Car-Accident
96a1ffa25eacfb2885ea1fa0852a91c8bb5ec95d
[ "MIT" ]
null
null
null
videoCrawler/videoCrawler/videoCrawler.py
lovishchopra/ITRI-Car-Accident
96a1ffa25eacfb2885ea1fa0852a91c8bb5ec95d
[ "MIT" ]
null
null
null
from pytube import YouTube import os #from lxml import html #import requests #import urlparse from selenium import webdriver import time base_href="https://www.youtube.com" watch_href="https://www.youtube.com/watch?" start_page="https://www.youtube.com/results?search_query=car+accident+\"dashcam\"" def downloadYou...
26.829787
104
0.674068
169
1,261
4.899408
0.526627
0.028986
0.054348
0.065217
0.065217
0.065217
0
0
0
0
0
0.011719
0.187946
1,261
47
105
26.829787
0.796875
0.054718
0
0
0
0
0.15404
0
0
0
0
0
0
0
null
null
0
0.125
null
null
0.03125
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
54f92285691dca87a0468ccc7d41889b5254d68a
310
py
Python
Meus Projetos/gerador de senha.py
lucas0395/Meus-Projetos-em-Python
f48f3f00a525fcf2c8634672a87b3e5cc440c59d
[ "MIT" ]
1
2022-03-18T01:16:40.000Z
2022-03-18T01:16:40.000Z
Meus Projetos/gerador de senha.py
lucas0395/Meus-Projetos-em-Python
f48f3f00a525fcf2c8634672a87b3e5cc440c59d
[ "MIT" ]
null
null
null
Meus Projetos/gerador de senha.py
lucas0395/Meus-Projetos-em-Python
f48f3f00a525fcf2c8634672a87b3e5cc440c59d
[ "MIT" ]
null
null
null
import random lower = "abcdefghijklmnopqrstuvwxyz" upper = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" digits = "0123456789" symbols = "[]{}()*#;/,-_%$&!?" qnt = 8 qntInt = int(qnt) length = qntInt all = lower + upper + digits + symbols passwordAll = "".join(random.sample(all, length)) print("passwordAll= " + passwordAll)
23.846154
49
0.693548
30
310
7.133333
0.6
0
0
0
0
0
0
0
0
0
0
0.040892
0.132258
310
12
50
25.833333
0.754647
0
0
0
0
0
0.3
0.167742
0
0
0
0
0
1
0
false
0.181818
0.090909
0
0.090909
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
54fe8710c63aa1e310bd3a9f4285cadc8080cad2
9,917
py
Python
catboost/benchmarks/training_speed/plot.py
jochenater/catboost
de2786fbc633b0d6ea6a23b3862496c6151b95c2
[ "Apache-2.0" ]
6,989
2017-07-18T06:23:18.000Z
2022-03-31T15:58:36.000Z
catboost/benchmarks/training_speed/plot.py
jochenater/catboost
de2786fbc633b0d6ea6a23b3862496c6151b95c2
[ "Apache-2.0" ]
1,978
2017-07-18T09:17:58.000Z
2022-03-31T14:28:43.000Z
catboost/benchmarks/training_speed/plot.py
jochenater/catboost
de2786fbc633b0d6ea6a23b3862496c6151b95c2
[ "Apache-2.0" ]
1,228
2017-07-18T09:03:13.000Z
2022-03-29T05:57:40.000Z
import argparse import json import os import numpy as np from matplotlib import pyplot as plt from log_parser import read_results FONT_DICT = {'fontsize': 20} FIGURE_SIZE = (10, 5) def plot_time_per_iter(tracks, figsize=FIGURE_SIZE, title=None, save_path='time_per_iter.png'): fig = plt.figure(figsize=figsize) ...
32.729373
118
0.629223
1,366
9,917
4.329429
0.15959
0.028407
0.02604
0.010822
0.324822
0.259723
0.213561
0.166385
0.140007
0.118701
0
0.00653
0.24332
9,917
302
119
32.837748
0.781583
0.004336
0
0.153488
0
0
0.112844
0
0
0
0
0
0
0
null
null
0
0.027907
null
null
0.037209
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
07085aa4c53d5f6f9915e781d78be803ff0fa49c
1,294
py
Python
src/emcee/pbar.py
hamogu/emcee
1d19dd94ca11b298b319d470b4d818b61083e184
[ "MIT" ]
1
2019-12-10T14:23:55.000Z
2019-12-10T14:23:55.000Z
src/emcee/pbar.py
hamogu/emcee
1d19dd94ca11b298b319d470b4d818b61083e184
[ "MIT" ]
20
2021-05-03T18:02:23.000Z
2022-03-12T12:01:04.000Z
src/emcee/pbar.py
hamogu/emcee
1d19dd94ca11b298b319d470b4d818b61083e184
[ "MIT" ]
1
2019-12-10T08:22:27.000Z
2019-12-10T08:22:27.000Z
# -*- coding: utf-8 -*- import logging __all__ = ["get_progress_bar"] try: import tqdm except ImportError: tqdm = None class _NoOpPBar(object): """This class implements the progress bar interface but does nothing""" def __init__(self): pass def __enter__(self, *args, **kwargs): ...
23.107143
78
0.583462
155
1,294
4.716129
0.464516
0.090287
0.038304
0
0
0
0
0
0
0
0
0.001167
0.337713
1,294
55
79
23.527273
0.851809
0.341577
0
0.241379
0
0
0.11344
0
0
0
0
0
0
1
0.172414
false
0.103448
0.103448
0.034483
0.482759
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
071481cd7a204b1cefe523cb62f0c886ff1ee5b7
10,120
py
Python
mycrypto.py
honzatomek/email_ifconfig
a622b79b58e6fee3122e5fca21bb91e7ba1a4cbc
[ "MIT" ]
null
null
null
mycrypto.py
honzatomek/email_ifconfig
a622b79b58e6fee3122e5fca21bb91e7ba1a4cbc
[ "MIT" ]
null
null
null
mycrypto.py
honzatomek/email_ifconfig
a622b79b58e6fee3122e5fca21bb91e7ba1a4cbc
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # general imports --------------------------------------------------------- {{{1 import os import argparse from Cryptodome.PublicKey import RSA from Cryptodome.Random import get_random_bytes from Cryptodome.Cipher import AES, PKCS1_OAEP from subprocess import Popen, PIPE # classes ------------...
38.479087
120
0.629249
1,313
10,120
4.717441
0.194973
0.025831
0.019374
0.009687
0.19648
0.123668
0.087181
0.041007
0.041007
0.029706
0
0.007139
0.238735
10,120
262
121
38.625954
0.796859
0.25751
0
0.043478
0
0.007246
0.229438
0.002883
0
0
0
0
0.057971
1
0.043478
false
0.166667
0.057971
0
0.144928
0.094203
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
0716306ca60c02c790fe0707afb93c664381a419
453
py
Python
weather.py
lfeagan/python-cn-weather
da8811adbe74b60223554fc9429d8ba69609ba56
[ "Apache-2.0" ]
null
null
null
weather.py
lfeagan/python-cn-weather
da8811adbe74b60223554fc9429d8ba69609ba56
[ "Apache-2.0" ]
null
null
null
weather.py
lfeagan/python-cn-weather
da8811adbe74b60223554fc9429d8ba69609ba56
[ "Apache-2.0" ]
null
null
null
import requests from BeautifulSoup import BeautifulSoup from itertools import islice r = requests.get('http://www.nmc.cn/publish/forecast/ASH/shanghai.html') #print(r.status_code) #print('content-type: ' + r.headers['content-type']) #print('encoding: ' + r.encoding) #print(r.text) soup = BeautifulSoup(r.text) day0 = s...
28.3125
72
0.706402
68
453
4.691176
0.588235
0.037618
0
0
0
0
0
0
0
0
0
0.009852
0.103753
453
15
73
30.2
0.775862
0.256071
0
0
0
0
0.231231
0
0
0
0
0
0
0
null
null
0
0.3
null
null
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
0
0
1
0
0
0
0
0
0
0
0
1
071b5f0bec835cfd02d2121cebb6592625d62a91
6,135
py
Python
test/test_selections.py
Arnab-half-blood-prince/draco
f86387a63ecd739ad194dbd5195a44f4a35a521d
[ "MIT" ]
5
2016-12-12T06:37:50.000Z
2020-04-22T15:21:40.000Z
test/test_selections.py
Arnab-half-blood-prince/draco
f86387a63ecd739ad194dbd5195a44f4a35a521d
[ "MIT" ]
102
2017-04-28T13:43:01.000Z
2022-03-11T22:31:14.000Z
test/test_selections.py
Arnab-half-blood-prince/draco
f86387a63ecd739ad194dbd5195a44f4a35a521d
[ "MIT" ]
7
2017-01-27T16:55:28.000Z
2022-02-21T16:16:17.000Z
from draco.core.containers import GainData from caput import mpiarray, mpiutil import pytest import glob import numpy as np import os # Run these tests under MPI pytestmark = pytest.mark.mpi comm = mpiutil.world rank, size = mpiutil.rank, mpiutil.size len_axis = 8 dset1 = np.arange(len_axis * len_axis * len_axis)...
32.983871
88
0.667319
891
6,135
4.418631
0.162739
0.06223
0.058674
0.042672
0.793498
0.751588
0.694945
0.650495
0.593599
0.574295
0
0.01978
0.200652
6,135
185
89
33.162162
0.783034
0.124694
0
0.515873
0
0
0.051543
0.019375
0
0
0
0
0.166667
1
0.047619
false
0
0.047619
0
0.095238
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
071bab7bc198a6232c586f34283ffed8b35472f3
447
py
Python
code_snippets/api-query.py
jamesalmeida/documentation
e9e2448f62529697a75619247abd7b89af993bbd
[ "BSD-3-Clause" ]
null
null
null
code_snippets/api-query.py
jamesalmeida/documentation
e9e2448f62529697a75619247abd7b89af993bbd
[ "BSD-3-Clause" ]
null
null
null
code_snippets/api-query.py
jamesalmeida/documentation
e9e2448f62529697a75619247abd7b89af993bbd
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python from datadog import initialize, api import time options = { 'api_key': '9775a026f1ca7d1c6c5af9d94d9595a4', 'app_key': '87ce4a24b5553d2e482ea8a8500e71b8ad4554ff' } initialize(**options) start = int(time.time()) - 3600 end = start + 3600 # query for idle CPU for all machines tagged with speed...
23.526316
68
0.736018
57
447
5.736842
0.596491
0.042813
0
0
0
0
0
0
0
0
0
0.158442
0.138702
447
18
69
24.833333
0.690909
0.167785
0
0
0
0
0.302703
0.264865
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.083333
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
071eaf693a2ba5f59ba52adfaef4acf301397bf4
670
py
Python
website/resume/urls.py
adu013/ResumeBuilder
f21e367f61766fa5a3b9a46bda0649870ff92549
[ "MIT" ]
1
2019-05-03T10:26:06.000Z
2019-05-03T10:26:06.000Z
website/resume/urls.py
adu013/ResumeBuilder
f21e367f61766fa5a3b9a46bda0649870ff92549
[ "MIT" ]
null
null
null
website/resume/urls.py
adu013/ResumeBuilder
f21e367f61766fa5a3b9a46bda0649870ff92549
[ "MIT" ]
1
2020-03-01T12:53:07.000Z
2020-03-01T12:53:07.000Z
from django.conf.urls import url from . import views app_name = 'resume' urlpatterns = [ url(r'^$', views.index, name='index'), # url(r'^$', views.IndexView.as_view(), name='index'), url(r'^profile/$', views.profile, name='profile'), url(r'^profile/edit/$', views.edit_profile, name='edit_profile'), ...
41.875
79
0.668657
92
670
4.706522
0.293478
0.083141
0.076212
0.060046
0
0
0
0
0
0
0
0
0.119403
670
16
80
41.875
0.733898
0.077612
0
0
0
0
0.294976
0
0
0
0
0
0
1
0
false
0.076923
0.153846
0
0.153846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0720c2adc8648efa5666657efdec429d39b52e6f
1,430
py
Python
src/test/tinc/tincrepo/mpp/gpdb/tests/package/subt_limit_sanity/functional/test_functional.py
lintzc/GPDB
b48c8b97da18f495c10065d0853db87960aebae2
[ "PostgreSQL", "Apache-2.0" ]
1
2017-09-15T06:09:56.000Z
2017-09-15T06:09:56.000Z
src/test/tinc/tincrepo/mpp/gpdb/tests/package/subt_limit_sanity/functional/test_functional.py
guofengrichard/gpdb
29bdd6ef38d8d9b9cb04ca31d44e279eb9f640d3
[ "PostgreSQL", "Apache-2.0" ]
null
null
null
src/test/tinc/tincrepo/mpp/gpdb/tests/package/subt_limit_sanity/functional/test_functional.py
guofengrichard/gpdb
29bdd6ef38d8d9b9cb04ca31d44e279eb9f640d3
[ "PostgreSQL", "Apache-2.0" ]
1
2018-12-04T09:13:57.000Z
2018-12-04T09:13:57.000Z
""" Copyright (C) 2004-2015 Pivotal Software, Inc. All rights reserved. This program and the accompanying materials are made available under the terms of the 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 ...
31.777778
75
0.706993
192
1,430
5.208333
0.609375
0.06
0.026
0.032
0
0
0
0
0
0
0
0.011464
0.206993
1,430
44
76
32.5
0.87037
0.534965
0
0
0
0
0.131922
0
0
0
0
0
0
1
0.058824
false
0
0.235294
0
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
0
0
0
0
0
1
0
0
1
0722a98cd8e8b9dba09a7e10fa902d72abd00fdb
2,388
py
Python
tests/seldon/test_deploy.py
oavdeev/tempo-1
29e08c4cc717a5fb61028e9e7b183aa2460d4f6f
[ "Apache-2.0" ]
null
null
null
tests/seldon/test_deploy.py
oavdeev/tempo-1
29e08c4cc717a5fb61028e9e7b183aa2460d4f6f
[ "Apache-2.0" ]
null
null
null
tests/seldon/test_deploy.py
oavdeev/tempo-1
29e08c4cc717a5fb61028e9e7b183aa2460d4f6f
[ "Apache-2.0" ]
null
null
null
import numpy as np import pytest from tempo.seldon.deploy import SeldonDeployRuntime from tempo.seldon.k8s import SeldonKubernetesRuntime from tempo.seldon.protocol import SeldonProtocol from tempo.serve.metadata import ( EnterpriseRuntimeAuthType, EnterpriseRuntimeOptions, IngressOptions, KubernetesRu...
28.094118
67
0.683417
260
2,388
6.169231
0.334615
0.05985
0.022444
0.027431
0.679551
0.679551
0.679551
0.679551
0.679551
0.679551
0
0.031954
0.200586
2,388
84
68
28.428571
0.808277
0
0
0.57971
0
0
0.161642
0.025963
0
0
0
0
0.014493
1
0.028986
false
0.028986
0.101449
0
0.130435
0.014493
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
072394ece4c1bcc125f0e9be86dcb427df523618
1,141
py
Python
modules/modules.py
Hironsan/TatsujinDaifugo
8dfacf2433650eb4bdb0b498168c91faab3fa92e
[ "MIT" ]
6
2016-08-11T14:34:21.000Z
2021-11-17T20:19:26.000Z
modules/modules.py
Hironsan/TatsujinDaifugo
8dfacf2433650eb4bdb0b498168c91faab3fa92e
[ "MIT" ]
null
null
null
modules/modules.py
Hironsan/TatsujinDaifugo
8dfacf2433650eb4bdb0b498168c91faab3fa92e
[ "MIT" ]
null
null
null
import tornado.web class SearchBar(tornado.web.UIModule): def render(self, **kwargs): return self.render_string('modules/search_bar.html', **kwargs) class DeleteModal(tornado.web.UIModule): def render(self, *args, **kwargs): return self.render_string('modules/delete_modal.html', **kwargs) ...
33.558824
72
0.628396
140
1,141
5.05
0.242857
0.084866
0.101839
0.118812
0.727016
0.727016
0.592645
0.592645
0.534653
0.407355
0
0
0.228747
1,141
34
73
33.558824
0.803409
0
0
0.576923
0
0
0.109457
0.084063
0
0
0
0
0
1
0.153846
false
0
0.038462
0.076923
0.5
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
0730b9153cbd9909f0a2a03839e797f35cc58526
246
py
Python
apps/web/literotica/literotica.py
timo95/knausj_talon
735b6fda064b12c832fce2ba4ca8e0186e7db48a
[ "MIT" ]
1
2021-09-08T05:45:03.000Z
2021-09-08T05:45:03.000Z
apps/web/literotica/literotica.py
timo95/knausj_talon
735b6fda064b12c832fce2ba4ca8e0186e7db48a
[ "MIT" ]
null
null
null
apps/web/literotica/literotica.py
timo95/knausj_talon
735b6fda064b12c832fce2ba4ca8e0186e7db48a
[ "MIT" ]
null
null
null
from talon import Module # --- App definition --- mod = Module() # not including shop and forum, since those are arguably different websites mod.apps.literotica = r""" tag: browser browser.host: /^((www|tags|search|chat)\.)?literotica.com$/ """
24.6
75
0.707317
33
246
5.272727
0.878788
0
0
0
0
0
0
0
0
0
0
0
0.134146
246
9
76
27.333333
0.816901
0.390244
0
0
0
0
0.503401
0.306122
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
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
073b454cab552044c16237165e0cf858422df9be
850
py
Python
src/GenPro/genetic_algorithm/crossovers/crossover_single_point.py
Hispar/procedural_generation
ed265637cb5ddf570439ee26263d534e07fac7b1
[ "MIT" ]
null
null
null
src/GenPro/genetic_algorithm/crossovers/crossover_single_point.py
Hispar/procedural_generation
ed265637cb5ddf570439ee26263d534e07fac7b1
[ "MIT" ]
null
null
null
src/GenPro/genetic_algorithm/crossovers/crossover_single_point.py
Hispar/procedural_generation
ed265637cb5ddf570439ee26263d534e07fac7b1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Python imports # 3rd Party imports # App imports from ..crossover import Crossover from ..individual import Individual class CrossoverSinglePoint(Crossover): crossover_point: int = 0 def set_crossover_point(self, crossover_point: int): self.crossover_point = crossover_poin...
27.419355
81
0.649412
96
850
5.572917
0.40625
0.261682
0.100935
0.100935
0.119626
0
0
0
0
0
0
0.008091
0.272941
850
30
82
28.333333
0.857605
0.176471
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.4375
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
073c9e34a2916d393fde280139a47ff2c9fa29bb
12,551
py
Python
test/basic_tests/rdl_uvmmem_default/golden/output.py
prdwivedi/open-register-design-tool
1d3ec1e6ca456b610dde86966190909251f9b2e1
[ "Apache-2.0" ]
15
2019-07-30T18:23:54.000Z
2022-01-25T02:32:06.000Z
test/basic_tests/rdl_uvmmem_default/golden/output.py
prdwivedi/open-register-design-tool
1d3ec1e6ca456b610dde86966190909251f9b2e1
[ "Apache-2.0" ]
24
2019-07-25T17:07:31.000Z
2021-10-22T02:49:52.000Z
test/basic_tests/rdl_uvmmem_default/golden/output.py
prdwivedi/open-register-design-tool
1d3ec1e6ca456b610dde86966190909251f9b2e1
[ "Apache-2.0" ]
4
2019-08-29T05:50:59.000Z
2020-05-12T07:25:38.000Z
# Ordt 190725.01 autogenerated file # Input: ./rdl_uvmmem_default/test.rdl # Parms: ./rdl_uvmmem_default/test.parms # Date: Sun Nov 17 17:09:34 EST 2019 # from enum import Enum, auto class ordt_drv_error(Enum): BAD_TAG = auto() BAD_PATH = auto() BAD_ADDRESS = auto() class ordt_drv_return_type(E...
39.718354
123
0.614453
1,718
12,551
4.155995
0.092549
0.044118
0.064986
0.040336
0.657563
0.617367
0.573249
0.52409
0.426611
0.414566
0
0.039529
0.276392
12,551
315
124
39.844444
0.746642
0.023823
0
0.394531
1
0
0.047993
0
0
0
0
0
0
1
0.125
false
0.03125
0.003906
0.003906
0.371094
0.042969
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
073d6f8a1a38498691fc2a49bb4785f19dbbb7fd
8,497
py
Python
AutomatedPentestImage/exploitmanager.py
bodavk/AutoPentest
e865bfd1251a6e218c937423f4382f3efb3b79d0
[ "MIT" ]
2
2019-05-03T17:31:04.000Z
2021-03-02T15:50:47.000Z
AutomatedPentestImage/exploitmanager.py
bodavk/AutoPentest
e865bfd1251a6e218c937423f4382f3efb3b79d0
[ "MIT" ]
null
null
null
AutomatedPentestImage/exploitmanager.py
bodavk/AutoPentest
e865bfd1251a6e218c937423f4382f3efb3b79d0
[ "MIT" ]
1
2020-12-13T10:19:28.000Z
2020-12-13T10:19:28.000Z
from msfreportmanager import MsfReportManager from pymetasploit3.msfrpc import MsfRpcClient class ExploitManager(object): def __init__(self, client_conosle, output_filename, detected_services): self.msfreporter = MsfReportManager(output_filename + "_exploits") self.client_console = client_conosle ...
49.115607
141
0.648935
993
8,497
5.281974
0.215509
0.05205
0.048618
0.034318
0.284652
0.232412
0.099333
0.067684
0.045377
0.024404
0
0.005857
0.276686
8,497
173
142
49.115607
0.847543
0.086854
0
0.190141
0
0
0.08806
0.003108
0
0
0
0.011561
0
1
0.105634
false
0.007042
0.014085
0
0.239437
0.126761
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
073dcd92f369fc497cc0310bdd9cd66ee1fe7382
1,732
py
Python
StackElectChat.py
ArtOfCode-/ElectionBot
48c1cdb1e43718abb81636412ff041e6f6c9f694
[ "CC0-1.0" ]
1
2017-07-07T00:46:26.000Z
2017-07-07T00:46:26.000Z
StackElectChat.py
ArtOfCode-/ElectionBot
48c1cdb1e43718abb81636412ff041e6f6c9f694
[ "CC0-1.0" ]
null
null
null
StackElectChat.py
ArtOfCode-/ElectionBot
48c1cdb1e43718abb81636412ff041e6f6c9f694
[ "CC0-1.0" ]
2
2015-08-07T03:35:51.000Z
2018-03-20T18:56:52.000Z
import getpass import logging import os import time import urllib import sys from subprocess import call import ChatExchange.chatexchange from ChatExchange.chatexchange.events import MessageEdited logging.captureWarnings(True) class bcolors: HEADER = '\033[95m' OKBLUE = '\033[94m' OKGREEN = '\033[92m' ...
28.393443
200
0.694573
219
1,732
5.415525
0.452055
0.070826
0.033727
0.026981
0
0
0
0
0
0
0
0.030801
0.156467
1,732
60
201
28.866667
0.780972
0
0
0.044444
0
0
0.213626
0.032333
0
0
0
0
0
1
0
false
0.088889
0.2
0
0.4
0.022222
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
073f9500ae7022c066317c86f5912b1dfd656d92
656
py
Python
tasks/migrations/0030_auto_20170406_0045.py
hotosm/hot-exports-two
d60530445e89b2a46bd55ea3b7c2e72409b0f493
[ "BSD-3-Clause" ]
95
2017-09-29T13:20:38.000Z
2022-03-14T06:43:47.000Z
tasks/migrations/0030_auto_20170406_0045.py
hotosm/hot-exports-two
d60530445e89b2a46bd55ea3b7c2e72409b0f493
[ "BSD-3-Clause" ]
229
2015-07-29T08:50:27.000Z
2017-09-21T18:05:56.000Z
tasks/migrations/0030_auto_20170406_0045.py
hotosm/hot-exports-two
d60530445e89b2a46bd55ea3b7c2e72409b0f493
[ "BSD-3-Clause" ]
30
2017-10-06T23:53:48.000Z
2022-03-10T06:17:07.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2017-04-06 00:45 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tasks', '0029_remove_exporttask_celery_uid'), ] operations = [ migrations.Remo...
23.428571
55
0.592988
61
656
6.180328
0.737705
0.047745
0
0
0
0
0
0
0
0
0
0.041215
0.297256
656
27
56
24.296296
0.776573
0.099085
0
0.15
1
0
0.166667
0.056122
0
0
0
0
0
1
0
false
0
0.1
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
07439931dfabbd5740f754474725781c8c0ec571
992
py
Python
simulate/plottemp.py
adrielyeung/complex-ricepile
9a47530a76b7636540b2e7228dac0c67b95a30c4
[ "MIT" ]
1
2019-07-03T17:48:36.000Z
2019-07-03T17:48:36.000Z
simulate/plottemp.py
adrielyeung/complex-ricepile
9a47530a76b7636540b2e7228dac0c67b95a30c4
[ "MIT" ]
null
null
null
simulate/plottemp.py
adrielyeung/complex-ricepile
9a47530a76b7636540b2e7228dac0c67b95a30c4
[ "MIT" ]
null
null
null
import pickle as pk import numpy as np import matplotlib.pyplot as pl # plot data files unsmoothed = ['T2_L2.pickle', 'T2_L4.pickle', 'T2_L8.pickle', 'T2_L16.pickle', 'T2_L32.pickle', 'T2_L64.pickle', 'T2_L128.pickle', 'T2_L256.pickle', 'T2_L512.pickle', 'T2_L1024.pickle'] smoothed =...
30.060606
86
0.577621
154
992
3.571429
0.551948
0.261818
0
0
0
0
0
0
0
0
0
0.120482
0.246976
992
32
87
31
0.615797
0.037298
0
0
0
0
0.350381
0
0
0
0
0
0
1
0
false
0
0.136364
0
0.136364
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
074426b7949aae8ca49fb1ae9c6eea9b61d54930
1,079
py
Python
alipay/aop/api/response/AlipayInsScenePolicyEndorseApplyResponse.py
articuly/alipay-sdk-python-all
0259cd28eca0f219b97dac7f41c2458441d5e7a6
[ "Apache-2.0" ]
null
null
null
alipay/aop/api/response/AlipayInsScenePolicyEndorseApplyResponse.py
articuly/alipay-sdk-python-all
0259cd28eca0f219b97dac7f41c2458441d5e7a6
[ "Apache-2.0" ]
null
null
null
alipay/aop/api/response/AlipayInsScenePolicyEndorseApplyResponse.py
articuly/alipay-sdk-python-all
0259cd28eca0f219b97dac7f41c2458441d5e7a6
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import simplejson as json from alipay.aop.api.response.AlipayResponse import AlipayResponse class AlipayInsScenePolicyEndorseApplyResponse(AlipayResponse): def __init__(self): super(AlipayInsScenePolicyEndorseApplyResponse, self).__init__() self._end...
29.972222
113
0.709917
126
1,079
5.706349
0.285714
0.112656
0.150209
0.089013
0.052851
0
0
0
0
0
0
0.00117
0.2076
1,079
35
114
30.828571
0.839766
0.038925
0
0.08
0
0
0.046377
0
0
0
0
0
0
1
0.24
false
0
0.08
0.08
0.44
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
07484631c765a100965172dcd9e3ed5ee6ded168
401
py
Python
ocr/screenshot.py
ssshier/meta-realize
cc13309fa9e7e59044fb1c8e6e6b0a62caa7ca8c
[ "MIT" ]
1
2021-12-18T09:12:58.000Z
2021-12-18T09:12:58.000Z
ocr/screenshot.py
ssshier/meta-realize
cc13309fa9e7e59044fb1c8e6e6b0a62caa7ca8c
[ "MIT" ]
null
null
null
ocr/screenshot.py
ssshier/meta-realize
cc13309fa9e7e59044fb1c8e6e6b0a62caa7ca8c
[ "MIT" ]
null
null
null
from PIL import ImageGrab class PILScreenshot: def __init__(self): pass def screenshot(self, bbox: list, file_path: str): """ left, top, right, bottom = bbox """ im = ImageGrab.grab(bbox=bbox) im.save(file_path) if __name__ == '__main__': cap = PILScreen...
20.05
73
0.59601
47
401
4.787234
0.702128
0.071111
0
0
0
0
0
0
0
0
0
0.034247
0.27182
401
19
74
21.105263
0.736301
0.077307
0
0
0
0
0.112717
0.089595
0
0
0
0
0
1
0.2
false
0.1
0.1
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
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
074ca87d71f024a174e302caf84061401649dd84
3,608
py
Python
sdk/python/pulumi_azure/config/vars.py
apollo2030/pulumi-azure
034665c61665f4dc7e291b8813747012d34fa044
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure/config/vars.py
apollo2030/pulumi-azure
034665c61665f4dc7e291b8813747012d34fa044
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure/config/vars.py
apollo2030/pulumi-azure
034665c61665f4dc7e291b8813747012d34fa044
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import json import warnings import pulumi import pulumi.runtime from typing import Union from .. import utilities, tables __config__ =...
37.978947
174
0.780765
488
3,608
5.446721
0.305328
0.057562
0.07374
0.089541
0.232506
0.164409
0.125282
0.074868
0.074868
0.074868
0
0.000313
0.113359
3,608
94
175
38.382979
0.830572
0.049058
0
0
1
0
0.334152
0.176904
0
0
0
0
0
1
0
false
0.041667
0.25
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0750571d525bba5a3c0552abbd6c86fe4cecb09b
6,047
py
Python
posthog/models/user.py
nrickles3/posthog
29c952a1ce67fcc1815219e864163ab6695560d9
[ "MIT" ]
null
null
null
posthog/models/user.py
nrickles3/posthog
29c952a1ce67fcc1815219e864163ab6695560d9
[ "MIT" ]
null
null
null
posthog/models/user.py
nrickles3/posthog
29c952a1ce67fcc1815219e864163ab6695560d9
[ "MIT" ]
null
null
null
from typing import Any, Dict, List, Optional, Tuple, Union from django.conf import settings from django.contrib.auth.models import AbstractUser, BaseUserManager from django.core.exceptions import ValidationError from django.db import models, transaction from django.utils.timezone import now from django.utils.translati...
41.417808
119
0.675707
655
6,047
6.09771
0.221374
0.035804
0.046069
0.021282
0.34001
0.301202
0.182774
0.142213
0.112919
0.112919
0
0.001926
0.22722
6,047
145
120
41.703448
0.852771
0.042666
0
0.206612
0
0
0.040201
0
0
0
0
0
0
1
0.082645
false
0.057851
0.082645
0.024793
0.396694
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
07510ee316c5cd01f3f5d34a9564c30a175729fd
733
py
Python
frontera/logger/formatters/json.py
TeamHG-Memex/frontera
06ab4002428528a2d8b67c1e82368cc5988b2228
[ "BSD-3-Clause" ]
3
2015-11-11T19:37:16.000Z
2017-03-15T13:33:54.000Z
frontera/logger/formatters/json.py
TeamHG-Memex/frontera
06ab4002428528a2d8b67c1e82368cc5988b2228
[ "BSD-3-Clause" ]
16
2017-02-03T06:31:39.000Z
2020-03-03T15:15:09.000Z
frontera/logger/formatters/json.py
vy-labs/frontera
ba2c07470111270de090215dc4ebc051bbd8b7e0
[ "BSD-3-Clause" ]
2
2016-09-08T08:30:24.000Z
2018-10-02T22:00:47.000Z
from __future__ import absolute_import from pythonjsonlogger.jsonlogger import JsonFormatter import datetime from json import JSONEncoder class DateTimeEncoder(JSONEncoder): def default(self, obj): if isinstance(obj, datetime.datetime): return obj.isoformat() elif isinstance(obj, dat...
29.32
70
0.699864
75
733
6.626667
0.386667
0.078471
0.126761
0.088531
0.173038
0.173038
0.173038
0
0
0
0
0
0.216917
733
24
71
30.541667
0.865854
0
0
0.111111
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.222222
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
0
0
1
0
0
1
0754222e0b280bb48e75605634901515c0f95a72
1,222
py
Python
scripts/copy_s3_bucket.py
DMS-medical-informatics/beiwe-backend
55afe3a16e1c9b34501f3655288b5c19c663a083
[ "BSD-3-Clause" ]
1
2019-09-26T04:00:55.000Z
2019-09-26T04:00:55.000Z
scripts/copy_s3_bucket.py
DMS-medical-informatics/beiwe-backend
55afe3a16e1c9b34501f3655288b5c19c663a083
[ "BSD-3-Clause" ]
2
2020-06-05T21:58:55.000Z
2021-06-10T21:45:08.000Z
scripts/copy_s3_bucket.py
DMS-medical-informatics/beiwe-backend
55afe3a16e1c9b34501f3655288b5c19c663a083
[ "BSD-3-Clause" ]
1
2019-09-26T03:55:06.000Z
2019-09-26T03:55:06.000Z
# modify python path so that this script can be targeted directly but still import everything. import imp as _imp from os.path import abspath as _abspath _current_folder_init = _abspath(__file__).rsplit('/', 1)[0]+ "/__init__.py" _imp.load_source("__init__", _current_folder_init) from boto import connect_s3 fro...
38.1875
95
0.780687
196
1,222
4.321429
0.362245
0.042503
0.056671
0.061393
0.347107
0.347107
0.134593
0.134593
0.134593
0.134593
0
0.011396
0.138298
1,222
32
96
38.1875
0.792972
0.075286
0
0.083333
0
0
0.07377
0
0
0
0
0
0
0
null
null
0
0.208333
null
null
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
0
0
1
0
0
0
0
0
0
0
0
1
0759f11d61fd95d3ee0a1d084e217ca9a50b550b
595
py
Python
tests/test_ipynb_to_R.py
grst/jupytext
0bbcd61297d8ee75b4f0329e2617acbbade3eb10
[ "MIT" ]
null
null
null
tests/test_ipynb_to_R.py
grst/jupytext
0bbcd61297d8ee75b4f0329e2617acbbade3eb10
[ "MIT" ]
null
null
null
tests/test_ipynb_to_R.py
grst/jupytext
0bbcd61297d8ee75b4f0329e2617acbbade3eb10
[ "MIT" ]
null
null
null
import nbformat import pytest import jupytext from jupytext.compare import compare_notebooks from .utils import list_r_notebooks jupytext.file_format_version.FILE_FORMAT_VERSION = {} @pytest.mark.parametrize('nb_file', list_r_notebooks('.ipynb')) def test_identity_source_write_read(nb_file): """ Test that wr...
24.791667
63
0.72437
87
595
4.747126
0.494253
0.043584
0.067797
0
0
0
0
0
0
0
0
0.012195
0.173109
595
23
64
25.869565
0.827236
0.144538
0
0
0
0
0.034765
0
0
0
0
0
0
1
0.076923
false
0
0.384615
0
0.461538
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
075af5158577f7ea7535f2e43076df044f2e8ee7
741
py
Python
fake_user.py
snalluri2/Flask-Tables
2bd4a50239172cfc9ac3675a2df0f72c4b18c85b
[ "MIT" ]
null
null
null
fake_user.py
snalluri2/Flask-Tables
2bd4a50239172cfc9ac3675a2df0f72c4b18c85b
[ "MIT" ]
null
null
null
fake_user.py
snalluri2/Flask-Tables
2bd4a50239172cfc9ac3675a2df0f72c4b18c85b
[ "MIT" ]
null
null
null
import random import sys from faker import Faker # generates fake data from bootstrap_table import db, User def create_fake_users(n): faker = Faker() for i in range(n): user = User(name=faker.name(), age=random.randint(20, 80), address=faker.address(...
29.64
77
0.568151
98
741
4.153061
0.540816
0.066339
0.07371
0
0
0
0
0
0
0
0
0.013699
0.310391
741
25
78
29.64
0.782779
0.025641
0
0
1
0
0.15495
0
0
0
0
0
0
1
0.05
false
0.05
0.2
0
0.25
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
075b7c0cafadda6465ae2565176ff8be25288e2e
1,347
py
Python
ex039.py
MarcosLazarin/Meu-curso-em-v-deo
afe7d061a6eb4162044a47d8453bf1930831e283
[ "MIT" ]
null
null
null
ex039.py
MarcosLazarin/Meu-curso-em-v-deo
afe7d061a6eb4162044a47d8453bf1930831e283
[ "MIT" ]
null
null
null
ex039.py
MarcosLazarin/Meu-curso-em-v-deo
afe7d061a6eb4162044a47d8453bf1930831e283
[ "MIT" ]
null
null
null
# Escreva um programa que leia o ano de nascimento de uma pessoa de acordo com sua idade e diga: # Se ele ainda vai se alistar ao serviço militar # Se é hora de se alistar # Se já passou o tempo de alistamento # O programa deve identificar quanto tempo falta ou passou de se alistar. from datetime import date idade = i...
49.888889
99
0.694878
224
1,347
4.178571
0.325893
0.032051
0.096154
0.096154
0.401709
0.361111
0.33547
0.33547
0.33547
0.33547
0
0.021296
0.198218
1,347
27
100
49.888889
0.84537
0.202673
0
0.190476
0
0
0.50421
0
0
0
0
0
0
1
0
false
0
0.047619
0
0.047619
0.52381
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
075be20e96e689e02d9acfcfbae5e81f08652bda
3,407
py
Python
tests/core/test_graphtools_blossom5.py
dua-arpit/qecsim
70ded606a653fd96d517e07fbba15d9b755df752
[ "BSD-3-Clause" ]
1
2021-02-11T19:20:48.000Z
2021-02-11T19:20:48.000Z
tests/core/test_graphtools_blossom5.py
dua-arpit/qecsim
70ded606a653fd96d517e07fbba15d9b755df752
[ "BSD-3-Clause" ]
null
null
null
tests/core/test_graphtools_blossom5.py
dua-arpit/qecsim
70ded606a653fd96d517e07fbba15d9b755df752
[ "BSD-3-Clause" ]
null
null
null
import math from qecsim.graphtools import blossom5 def test_blossom5_available(): available = blossom5.available() print(available) assert isinstance(available, bool) def test_blossom5_infty(): infty = blossom5.infty() print(infty) assert isinstance(infty, int) assert infty > 0 def te...
41.048193
118
0.687702
481
3,407
4.648649
0.18711
0.042934
0.059034
0.050984
0.679338
0.635957
0.516995
0.504472
0.430233
0.430233
0
0.248371
0.189316
3,407
82
119
41.54878
0.561188
0
0
0.285714
0
0
0.075433
0
0
0
0
0
0.174603
1
0.142857
false
0
0.031746
0
0.174603
0.095238
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
075e32daed8ee9af5547abdbc289f43d57c80705
9,730
py
Python
accounts/forms.py
annevandalfsen/screenbird
38b70302be3b3dc0c74b6aae8e09666115592aef
[ "MIT", "Unlicense" ]
121
2015-01-01T23:31:36.000Z
2021-05-27T04:24:44.000Z
accounts/forms.py
annevandalfsen/screenbird
38b70302be3b3dc0c74b6aae8e09666115592aef
[ "MIT", "Unlicense" ]
1
2017-02-08T04:34:14.000Z
2017-02-08T04:34:14.000Z
accounts/forms.py
annevandalfsen/screenbird
38b70302be3b3dc0c74b6aae8e09666115592aef
[ "MIT", "Unlicense" ]
31
2015-01-13T00:23:33.000Z
2017-05-13T21:50:29.000Z
from django.conf import settings from django import forms from django.contrib.auth.models import User from django.contrib.auth.tokens import default_token_generator from django.contrib.sites.models import get_current_site from django.core.validators import email_re from django.template import Context, loader from djan...
39.233871
178
0.633402
1,124
9,730
5.296263
0.262456
0.037628
0.044347
0.045355
0.327398
0.302873
0.23064
0.154208
0.127331
0.127331
0
0.008927
0.263207
9,730
247
179
39.392713
0.821453
0.073998
0
0.238372
0
0.023256
0.137092
0.02228
0
0
0
0
0
1
0.069767
false
0.168605
0.087209
0.005814
0.372093
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
075ed64de291b500dddf29dcc8eabe338999d7dc
2,680
py
Python
pytq/scheduler_mongodb.py
MacHu-GWU/pytq-project
930a94bc5331e62ea40ed1ada7134107eade3258
[ "MIT" ]
null
null
null
pytq/scheduler_mongodb.py
MacHu-GWU/pytq-project
930a94bc5331e62ea40ed1ada7134107eade3258
[ "MIT" ]
null
null
null
pytq/scheduler_mongodb.py
MacHu-GWU/pytq-project
930a94bc5331e62ea40ed1ada7134107eade3258
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from pymongo import collection as collection_module try: from .scheduler import Task, BaseDBTableBackedScheduler, Encoder except: # pragma: no cover from pytq.scheduler import Task, BaseDBTableBackedScheduler, Encoder class MongoDBScheduler(BaseDBTableBackedSche...
28.510638
77
0.61791
313
2,680
5.092652
0.380192
0.039523
0.041405
0.022585
0.138645
0.053325
0.041405
0.041405
0.041405
0.041405
0
0.001524
0.265672
2,680
93
78
28.817204
0.808435
0.163433
0
0.040816
0
0
0.052444
0
0
0
0
0
0
1
0.22449
false
0
0.081633
0.020408
0.469388
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
0760d7de876ebf52497e7aa0a37a70a590f74eb3
3,414
py
Python
app/api/ddls.py
Ryan0v0/MicropubPlatform
bc2a3ff4278a974816b47064a58d0c66d4bcd9fa
[ "MIT" ]
null
null
null
app/api/ddls.py
Ryan0v0/MicropubPlatform
bc2a3ff4278a974816b47064a58d0c66d4bcd9fa
[ "MIT" ]
null
null
null
app/api/ddls.py
Ryan0v0/MicropubPlatform
bc2a3ff4278a974816b47064a58d0c66d4bcd9fa
[ "MIT" ]
1
2021-04-23T05:49:21.000Z
2021-04-23T05:49:21.000Z
from flask import request, jsonify, g, current_app from app.api import bp from app.api.auth import token_auth from app.api.errors import bad_request, error_response from app.extensions import db from app.models import Cradle, DDL from datetime import datetime from app.utils.decorator import permission_required, Permiss...
26.465116
105
0.663738
476
3,414
4.596639
0.184874
0.04936
0.043876
0.042048
0.64808
0.64808
0.601005
0.554845
0.539305
0.457038
0
0.008876
0.207967
3,414
128
106
26.671875
0.800296
0.042472
0
0.595238
0
0
0.124406
0
0
0
0
0.015625
0
1
0.059524
false
0
0.095238
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
1
0
0
0
0
0
0
0
0
0
0
1
0761596ca9c833e4976bd8580e606e9dcfc2b741
6,196
py
Python
optimization/genetic_methods.py
jussiks/optimization
85bd3d9ac5ce9295143b487e64698149363580bc
[ "MIT" ]
1
2020-06-23T07:12:16.000Z
2020-06-23T07:12:16.000Z
optimization/genetic_methods.py
jussiks/optimization
85bd3d9ac5ce9295143b487e64698149363580bc
[ "MIT" ]
null
null
null
optimization/genetic_methods.py
jussiks/optimization
85bd3d9ac5ce9295143b487e64698149363580bc
[ "MIT" ]
null
null
null
#!/usr/bin/env python """Selection, crossover and mutation methods used in genetic algorithms. author: jussiks """ from optimization import Solution from typing import List import random import numpy as np def tournament_selection(population: List[Solution], k: int, p: float = 1.0, selecti...
34.808989
91
0.649774
753
6,196
5.281541
0.262948
0.04702
0.040734
0.011064
0.364596
0.319085
0.294443
0.27483
0.265527
0.240382
0
0.010643
0.272111
6,196
177
92
35.00565
0.871175
0.343932
0
0.264368
0
0
0.03354
0
0
0
0
0.016949
0
1
0.091954
false
0
0.045977
0.011494
0.206897
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
0768a27b1b6ece31f282677a8cc9c556807dcdf4
1,941
py
Python
modules/users/infrastructure/repository/django/user_repository.py
eduardolujan/hexagonal_architecture_django
8055927cb460bc40f3a2651c01a9d1da696177e8
[ "BSD-3-Clause" ]
6
2020-08-09T23:41:08.000Z
2021-03-16T22:05:40.000Z
modules/users/infrastructure/repository/django/user_repository.py
eduardolujan/hexagonal_architecture_django
8055927cb460bc40f3a2651c01a9d1da696177e8
[ "BSD-3-Clause" ]
1
2020-10-02T02:59:38.000Z
2020-10-02T02:59:38.000Z
modules/users/infrastructure/repository/django/user_repository.py
eduardolujan/hexagonal_architecture_django
8055927cb460bc40f3a2651c01a9d1da696177e8
[ "BSD-3-Clause" ]
2
2021-03-16T22:05:43.000Z
2021-04-30T06:35:25.000Z
from had.app.models import User as UserModel from modules.shared.infrastructure.persistence.django import OrmManager from modules.shared.infrastructure.persistence.unit_of_work_entity import UnitOfWorkEntity from modules.users.domain.entities.user import User as AppEntity from modules.users.domain.repository import U...
27.338028
90
0.618238
200
1,941
5.82
0.225
0.122852
0.130584
0.107388
0.498282
0.426117
0.426117
0.396907
0.396907
0.396907
0
0
0.284389
1,941
70
91
27.728571
0.838013
0.261206
0
0.238095
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.238095
0
0.809524
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
4acad24b101f1b73800bd9e5c87c70156d1b1f1e
1,941
py
Python
configs/_base_/datasets/cub_bs8_384.py
colinski/mmclassification
447c8291bc2e2abda6f3eafe2e6d0f13d65843cb
[ "Apache-2.0" ]
1
2022-03-17T02:39:08.000Z
2022-03-17T02:39:08.000Z
configs/_base_/datasets/cub_bs8_384.py
colinski/mmclassification
447c8291bc2e2abda6f3eafe2e6d0f13d65843cb
[ "Apache-2.0" ]
null
null
null
configs/_base_/datasets/cub_bs8_384.py
colinski/mmclassification
447c8291bc2e2abda6f3eafe2e6d0f13d65843cb
[ "Apache-2.0" ]
1
2022-03-25T08:40:07.000Z
2022-03-25T08:40:07.000Z
# dataset settings dataset_type = 'CUB' img_norm_cfg = dict( mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375], to_rgb=True) train_pipeline = [ dict(type='LoadImageFromFile'), dict(type='Resize', size=510), dict(type='RandomCrop', size=384), dict(type='RandomFlip', flip_prob=0.5, direction...
35.290909
77
0.661515
260
1,941
4.638462
0.315385
0.112769
0.089552
0.034826
0.680763
0.650912
0.650912
0.650912
0.650912
0.650912
0
0.034395
0.191139
1,941
54
78
35.944444
0.733758
0.029882
0
0.490196
0
0
0.205851
0.035106
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
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
4acb9de8aa6b740fb6929e2b806798853dcfcd92
1,214
py
Python
examples/python/uds/greeter_client.py
echo80313/grpc
93cdc8b77e7b3fe4a3afec1c9c7e29b3f02ec3cf
[ "Apache-2.0" ]
null
null
null
examples/python/uds/greeter_client.py
echo80313/grpc
93cdc8b77e7b3fe4a3afec1c9c7e29b3f02ec3cf
[ "Apache-2.0" ]
4
2022-02-27T18:59:37.000Z
2022-02-27T18:59:53.000Z
examples/python/uds/greeter_client.py
echo80313/grpc
93cdc8b77e7b3fe4a3afec1c9c7e29b3f02ec3cf
[ "Apache-2.0" ]
null
null
null
# Copyright 2022 The gRPC Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
32.810811
77
0.737232
169
1,214
5.153846
0.579882
0.068886
0.029851
0.036739
0
0
0
0
0
0
0
0.012024
0.177924
1,214
36
78
33.722222
0.860721
0.492586
0
0
0
0
0.117057
0.045151
0
0
0
0
0
1
0.066667
false
0
0.333333
0
0.4
0.066667
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
4ad1f1bb922d101b6e7f0dd6507921f15f769905
2,372
py
Python
tests/util/test_collections.py
ianrobrien/python-computing-fundamentals
f4ba76a9ccaf5ee7c1c31b5b6c4a7afddf5ee538
[ "MIT" ]
null
null
null
tests/util/test_collections.py
ianrobrien/python-computing-fundamentals
f4ba76a9ccaf5ee7c1c31b5b6c4a7afddf5ee538
[ "MIT" ]
null
null
null
tests/util/test_collections.py
ianrobrien/python-computing-fundamentals
f4ba76a9ccaf5ee7c1c31b5b6c4a7afddf5ee538
[ "MIT" ]
null
null
null
# Copyright (c) 2018-present, Ian R. O'Brien # # Licensed under the MIT License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://opensource.org/licenses/MIT # # Unless required by applicable law or agreed to in writing, softwar...
28.238095
78
0.618465
287
2,372
5.076655
0.383275
0.055594
0.070007
0.021963
0.037062
0.037062
0.037062
0
0
0
0
0.039384
0.261383
2,372
83
79
28.578313
0.792237
0.228078
0
0.145455
0
0
0.014951
0
0
0
0
0
0.418182
1
0.072727
false
0
0.036364
0
0.127273
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
4adea7dfb9a385303160a5e750785ec165a0fac1
2,619
py
Python
cortex/diagnostics/focus.py
sergioisidoro/cognisense
405d486467cbd1330af37c2aaf43d3ce86e90aee
[ "MIT" ]
null
null
null
cortex/diagnostics/focus.py
sergioisidoro/cognisense
405d486467cbd1330af37c2aaf43d3ce86e90aee
[ "MIT" ]
1
2016-04-05T21:40:53.000Z
2016-04-05T21:40:53.000Z
cortex/diagnostics/focus.py
sergioisidoro/cognisense
405d486467cbd1330af37c2aaf43d3ce86e90aee
[ "MIT" ]
null
null
null
from cortex.api.event_stream import raw_event_stream from pybrain.structure import RecurrentNetwork from pybrain.supervised.trainers import BackpropTrainer from pybrain.tools.shortcuts import buildNetwork from pybrain.structure import TanhLayer from pybrain.datasets import SupervisedDataSet import redis import csv impo...
38.514706
77
0.489882
257
2,619
4.929961
0.392996
0.050513
0.022099
0.041042
0.239937
0.239937
0.186267
0.186267
0.186267
0.186267
0
0.021725
0.402444
2,619
67
78
39.089552
0.787859
0.020237
0
0.178571
0
0
0.099922
0.032006
0
0
0
0
0
0
null
null
0
0.160714
null
null
0.089286
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
4ae0747507ed73a2e61369463d888a9e5652e2dd
609
py
Python
fmoe/gates/base_gate.py
hclearner/fastmoe
2a77b7723f267c1663b53ebacf62da0707f59cd1
[ "Apache-2.0" ]
6
2021-08-16T09:40:16.000Z
2021-10-17T02:07:43.000Z
fmoe/gates/base_gate.py
knitvoger/fastmoe
b861e928000ddf1a94bb5f795e6286769e743bd9
[ "Apache-2.0" ]
1
2021-05-24T03:13:50.000Z
2021-05-24T03:13:50.000Z
fmoe/gates/base_gate.py
knitvoger/fastmoe
b861e928000ddf1a94bb5f795e6286769e743bd9
[ "Apache-2.0" ]
1
2021-11-04T02:10:36.000Z
2021-11-04T02:10:36.000Z
r""" Base gate with standard interface """ import torch.nn as nn class BaseGate(nn.Module): def __init__(self, num_expert, world_size): super().__init__() self.world_size = world_size self.num_expert = num_expert self.tot_expert = world_size * num_expert self.loss = None ...
23.423077
78
0.622332
82
609
4.390244
0.487805
0.111111
0.1
0
0
0
0
0
0
0
0
0
0.288998
609
25
79
24.36
0.831409
0.054187
0
0.111111
0
0
0.072183
0
0
0
0
0
0
1
0.222222
false
0
0.055556
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
1
0
0
0
0
0
0
0
1
4ae1affc03f7dc88a0e0a4a6c9ba440ddc674179
2,945
py
Python
pos/models/sumup.py
norbeta/p0sX-server
816f86e274b6cbee42588ee778298d51cb8282c0
[ "MIT" ]
null
null
null
pos/models/sumup.py
norbeta/p0sX-server
816f86e274b6cbee42588ee778298d51cb8282c0
[ "MIT" ]
null
null
null
pos/models/sumup.py
norbeta/p0sX-server
816f86e274b6cbee42588ee778298d51cb8282c0
[ "MIT" ]
null
null
null
import uuid from datetime import timedelta from django.db import models, transaction from django.utils import timezone from pos.exceptions import SumUpNoAccessCode, SumUpAccessCodeExpired from pos.service import sumup as service ACCESS_CODE_TIMEOUT = 60 class SumUpAPIKey(models.Model): """ One single API ...
30.677083
111
0.682173
346
2,945
5.65896
0.346821
0.076609
0.091931
0.122574
0.25332
0.147089
0.098059
0.098059
0.050051
0.050051
0
0.014821
0.221053
2,945
95
112
31
0.83871
0.101528
0
0.034483
0
0
0.026025
0
0
0
0
0
0
1
0.103448
false
0
0.12069
0.051724
0.689655
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
4ae9fea2b660711ec3ec51a8d5fdd971d98e32ea
2,472
py
Python
spektral/layers/convolutional/agnn_conv.py
msaroufim/spektral
6881e6650602b2f98b09516f490c185678075bc8
[ "MIT" ]
1
2020-06-25T02:08:40.000Z
2020-06-25T02:08:40.000Z
spektral/layers/convolutional/agnn_conv.py
msaroufim/spektral
6881e6650602b2f98b09516f490c185678075bc8
[ "MIT" ]
null
null
null
spektral/layers/convolutional/agnn_conv.py
msaroufim/spektral
6881e6650602b2f98b09516f490c185678075bc8
[ "MIT" ]
null
null
null
import tensorflow as tf from tensorflow.keras import backend as K from spektral.layers import ops from spektral.layers.convolutional.message_passing import MessagePassing class AGNNConv(MessagePassing): r""" An Attention-based Graph Neural Network (AGNN) as presented by [Thekumparampil et al. (2018)](htt...
28.744186
85
0.597087
328
2,472
4.353659
0.420732
0.035014
0.02521
0.019608
0.078431
0.029412
0.029412
0.029412
0
0
0
0.011117
0.272249
2,472
85
86
29.082353
0.782657
0.357605
0
0
0
0
0.019755
0
0
0
0
0
0.027027
1
0.135135
false
0.054054
0.108108
0
0.351351
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
4aeb338b266be8686cc35380f4937db492de3b48
417
py
Python
noxfile.py
buildnn/pypack-metager
0a1313bf5cb89b5ac8ba2388865257f5278435ea
[ "BSD-4-Clause" ]
null
null
null
noxfile.py
buildnn/pypack-metager
0a1313bf5cb89b5ac8ba2388865257f5278435ea
[ "BSD-4-Clause" ]
2
2021-02-24T11:45:41.000Z
2021-08-03T15:24:43.000Z
noxfile.py
buildnn/pypack-metager
0a1313bf5cb89b5ac8ba2388865257f5278435ea
[ "BSD-4-Clause" ]
null
null
null
import nox @nox.session def black(session): session.install("black") session.run("black", "src", "setup.py", "noxfile.py", "tests") @nox.session def lint(session): session.install("flake8") session.run("flake8", "src") @nox.session def tests(session): session.install("pytest") session.inst...
18.954545
66
0.635492
52
417
5.096154
0.326923
0.264151
0.14717
0
0
0
0
0
0
0
0
0.005682
0.155875
417
21
67
19.857143
0.747159
0
0
0.2
0
0
0.215827
0
0
0
0
0
0
1
0.2
false
0
0.066667
0
0.266667
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
4aed2c8b963ccea788da49da32e88a0440517e0d
559
py
Python
nengo/builder/tests/test_processes.py
gokhanagma/nengo
ee88870491af0dcec969f66613fdf4b2b68a92d4
[ "BSD-2-Clause" ]
762
2015-01-05T13:01:24.000Z
2022-03-26T11:35:38.000Z
nengo/builder/tests/test_processes.py
JadinTredup/nengo
55b5c4f7da351dfefd8b40eb14d2e47c1006cff0
[ "BSD-2-Clause" ]
1,066
2015-01-01T15:38:41.000Z
2022-03-20T19:26:44.000Z
nengo/builder/tests/test_processes.py
JadinTredup/nengo
55b5c4f7da351dfefd8b40eb14d2e47c1006cff0
[ "BSD-2-Clause" ]
205
2015-01-25T18:08:44.000Z
2022-03-22T22:03:08.000Z
import pytest from nengo.builder.processes import SimProcess from nengo.builder.tests.test_operator import _test_operator_arg_attributes def test_simprocess(): argnames = ["process", "input", "output", "t"] non_signals = ["process"] _, sim = _test_operator_arg_attributes( SimProcess, argnames, no...
32.882353
84
0.726297
64
559
6.0625
0.484375
0.123711
0.115979
0.193299
0.221649
0.221649
0
0
0
0
0
0
0.157424
559
16
85
34.9375
0.823779
0
0
0
0
0
0.159213
0
0
0
0
0
0.083333
1
0.083333
false
0
0.25
0
0.333333
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
4af249e10ef1c8457a00284bff9ace0bb190a97c
322
py
Python
manipulacao_arquivos/io_v6.py
RenatoAlves06/ExerciciosDoCursoDePython
12c527fe98b7ef301ad59a08f091061a82695140
[ "MIT" ]
null
null
null
manipulacao_arquivos/io_v6.py
RenatoAlves06/ExerciciosDoCursoDePython
12c527fe98b7ef301ad59a08f091061a82695140
[ "MIT" ]
null
null
null
manipulacao_arquivos/io_v6.py
RenatoAlves06/ExerciciosDoCursoDePython
12c527fe98b7ef301ad59a08f091061a82695140
[ "MIT" ]
null
null
null
#!python with open('pessoas.csv') as arquivo: with open('pessoas.txt', 'w') as saida: for registro in arquivo: pessoa = registro.strip().split(',') print('Nome:{}, Idade:{}'.format(*pessoa), file=saida) if saida.closed: print('Saida OK') if arquivo.closed: print('saida ok'...
23
66
0.590062
41
322
4.634146
0.585366
0.084211
0.157895
0.189474
0
0
0
0
0
0
0
0
0.232919
322
13
67
24.769231
0.769231
0.021739
0
0
0
0
0.181529
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
4af60cc1f155e576b2392727c1c1e4acf0f0281c
330
py
Python
templates/solution.py
kmcginn/advent-of-code
96a8d7d723f6f222d431fd9ede88d0a303d86761
[ "MIT" ]
null
null
null
templates/solution.py
kmcginn/advent-of-code
96a8d7d723f6f222d431fd9ede88d0a303d86761
[ "MIT" ]
null
null
null
templates/solution.py
kmcginn/advent-of-code
96a8d7d723f6f222d431fd9ede88d0a303d86761
[ "MIT" ]
null
null
null
#! python3 """ from: <LINK> <PUZZLE TEXT> """ import os def main(filename): """Solve the problem!""" script_dir = os.path.dirname(__file__) file_path = os.path.join(script_dir, filename) with open(file_path) as input_file: pass if __name__ == "__main__": main('example.txt') main('in...
15.714286
50
0.630303
44
330
4.340909
0.636364
0.094241
0
0
0
0
0
0
0
0
0
0.003846
0.212121
330
20
51
16.5
0.730769
0.169697
0
0
0
0
0.107692
0
0
0
0
0
0
1
0.111111
false
0.111111
0.111111
0
0.222222
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
4af64c5d059ba55ec6fff6f0fe01baedec92cce3
3,180
py
Python
alerta/auth/basic_ldap.py
sauber/alerta
312abf1cd02aebbcb7db972f3e0cdaaf62bbbb8a
[ "Apache-2.0" ]
null
null
null
alerta/auth/basic_ldap.py
sauber/alerta
312abf1cd02aebbcb7db972f3e0cdaaf62bbbb8a
[ "Apache-2.0" ]
null
null
null
alerta/auth/basic_ldap.py
sauber/alerta
312abf1cd02aebbcb7db972f3e0cdaaf62bbbb8a
[ "Apache-2.0" ]
null
null
null
import ldap from flask import current_app, jsonify, request from flask_cors import cross_origin from alerta.auth.utils import create_token, get_customers from alerta.exceptions import ApiError from alerta.models.permission import Permission from alerta.models.user import User from alerta.utils.audit import auth_audit...
38.313253
120
0.671384
399
3,180
5.205514
0.340852
0.038517
0.038517
0.028888
0.077034
0.051035
0.022147
0
0
0
0
0.009705
0.222327
3,180
82
121
38.780488
0.830166
0.059748
0
0.083333
0
0
0.097283
0
0
0
0
0
0
1
0.016667
false
0.066667
0.15
0
0.183333
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
4af7fe0b4acd3e519061996343734570c715b7ec
1,507
py
Python
excel2mysql/settings/database_config.py
zxjsdp/excel2mysql
4e1ed08d58366dcebc86a08fb74d20feb5369b36
[ "Apache-2.0" ]
null
null
null
excel2mysql/settings/database_config.py
zxjsdp/excel2mysql
4e1ed08d58366dcebc86a08fb74d20feb5369b36
[ "Apache-2.0" ]
null
null
null
excel2mysql/settings/database_config.py
zxjsdp/excel2mysql
4e1ed08d58366dcebc86a08fb74d20feb5369b36
[ "Apache-2.0" ]
2
2017-09-11T07:11:41.000Z
2021-11-26T06:20:15.000Z
# -*- coding: utf-8 -*- from __future__ import (print_function, unicode_literals, absolute_import, with_statement) import os # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # MySQL connection config # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...
31.395833
70
0.413404
122
1,507
4.795082
0.565574
0.030769
0.082051
0.068376
0.109402
0.109402
0
0
0
0
0
0.012801
0.118779
1,507
47
71
32.06383
0.427711
0.422031
0
0
0
0
0.365228
0.038506
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.041667
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
4af859d1b2288a37737ba3c135ed2c2322167b93
11,750
py
Python
PythonVirtEnv/Lib/site-packages/streamlit/proto/WidgetStates_pb2.py
zuhorski/EPL_Project
2d2417652879cfbe33c44c003ad77b7222590849
[ "MIT" ]
5
2022-01-20T22:59:04.000Z
2022-02-06T06:11:35.000Z
PythonVirtEnv/Lib/site-packages/streamlit/proto/WidgetStates_pb2.py
zuhorski/EPL_Project
2d2417652879cfbe33c44c003ad77b7222590849
[ "MIT" ]
1
2021-09-23T18:06:06.000Z
2021-09-24T09:34:21.000Z
PythonVirtEnv/Lib/site-packages/streamlit/proto/WidgetStates_pb2.py
zuhorski/EPL_Project
2d2417652879cfbe33c44c003ad77b7222590849
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: streamlit/proto/WidgetStates.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflectio...
50.213675
908
0.779149
1,547
11,750
5.520362
0.111183
0.035831
0.062295
0.070023
0.713466
0.678923
0.62623
0.584075
0.569555
0.569555
0
0.030527
0.102298
11,750
233
909
50.429185
0.779105
0.027915
0
0.545455
1
0.009569
0.154163
0.080982
0
0
0
0
0
1
0
false
0
0.028708
0
0.028708
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
4af9716c5e098fa1fb5eaacc7141bca78dc87386
487
py
Python
pyopenproject/business/services/command/custom_object/custom_object_command.py
webu/pyopenproject
40b2cb9fe0fa3f89bc0fe2a3be323422d9ecf966
[ "MIT" ]
5
2021-02-25T15:54:28.000Z
2021-04-22T15:43:36.000Z
pyopenproject/business/services/command/custom_object/custom_object_command.py
webu/pyopenproject
40b2cb9fe0fa3f89bc0fe2a3be323422d9ecf966
[ "MIT" ]
7
2021-03-15T16:26:23.000Z
2022-03-16T13:45:18.000Z
pyopenproject/business/services/command/custom_object/custom_object_command.py
webu/pyopenproject
40b2cb9fe0fa3f89bc0fe2a3be323422d9ecf966
[ "MIT" ]
6
2021-06-18T18:59:11.000Z
2022-03-27T04:58:52.000Z
from abc import abstractmethod, ABCMeta from pyopenproject.business.services.command.command import Command class CustomObjectCommand(Command): __metaclass__ = ABCMeta CONTEXT = "/api/v3/custom_objects" def __init__(self, connection): """Constructor for class CustomObjectCommand, from Command. ...
24.35
67
0.724846
47
487
7.319149
0.617021
0.139535
0
0
0
0
0
0
0
0
0
0.002577
0.203285
487
19
68
25.631579
0.884021
0.197125
0
0
0
0
0.059783
0.059783
0
0
0
0
0
1
0.222222
false
0
0.222222
0
0.777778
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
4af97ba516a963083a8605c63bc882249ab87ac8
440
py
Python
setup.py
kahalKevin/InspectorAgent
4852e719d4fd26a9554d1b1c2caf6c43ac06abea
[ "MIT" ]
null
null
null
setup.py
kahalKevin/InspectorAgent
4852e719d4fd26a9554d1b1c2caf6c43ac06abea
[ "MIT" ]
null
null
null
setup.py
kahalKevin/InspectorAgent
4852e719d4fd26a9554d1b1c2caf6c43ac06abea
[ "MIT" ]
null
null
null
from distutils.core import setup setup( name = 'InspectorAgent', packages = ['InspectorAgent'], version = '0.1', description = 'lib to assert perf test result to Inspector', author = 'Kevin Kahal', author_email = 'kahal.kevin@gmail.com', url = 'https://github.com/kahalKevin/InspectorAgent', download_u...
33.846154
83
0.695455
52
440
5.846154
0.692308
0.013158
0.092105
0.111842
0.269737
0.269737
0
0
0
0
0
0.010695
0.15
440
13
84
33.846154
0.802139
0
0
0
0
0
0.498866
0.047619
0
0
0
0
0.076923
1
0
true
0
0.076923
0
0.076923
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
4afa57e290e30e8730aff63dc841eefd8ca8361d
265
py
Python
csh_auth.py
ComputerScienceHouse/social-auth-backend-csh
4036739c36a87c4833352279849331bf8df391b1
[ "MIT" ]
null
null
null
csh_auth.py
ComputerScienceHouse/social-auth-backend-csh
4036739c36a87c4833352279849331bf8df391b1
[ "MIT" ]
null
null
null
csh_auth.py
ComputerScienceHouse/social-auth-backend-csh
4036739c36a87c4833352279849331bf8df391b1
[ "MIT" ]
null
null
null
""" Computer Science House OpenID Connect Backend for Python Social Auth """ from social-auth-core.backends.open_id_connect import OpenIdConnectAuth class CSHAuth(OpenIdConnectAuth): name = 'csh' OIDC_ENDPOINT = 'https://sso.csh.rit.edu/auth/realms/csh'
24.090909
71
0.762264
35
265
5.685714
0.8
0.100503
0
0
0
0
0
0
0
0
0
0
0.132075
265
10
72
26.5
0.865217
0
0
0
0
0
0.223404
0
0
0
0
0
0
0
null
null
0
0.25
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1