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
16dcfe5d6f04651a67c6f34473e8efb9c9d0477a
9,819
py
Python
scanners/scanner_plugin/web_scanner/burp_plugin.py
seclib/archerysec
a5ddacf9597c9feee6759a9905cbe6c029f046ea
[ "BSD-3-Clause" ]
null
null
null
scanners/scanner_plugin/web_scanner/burp_plugin.py
seclib/archerysec
a5ddacf9597c9feee6759a9905cbe6c029f046ea
[ "BSD-3-Clause" ]
2
2020-02-12T00:39:07.000Z
2020-06-05T18:14:46.000Z
scanners/scanner_plugin/web_scanner/burp_plugin.py
seclib/archerysec
a5ddacf9597c9feee6759a9905cbe6c029f046ea
[ "BSD-3-Clause" ]
null
null
null
# _ # /\ | | # / \ _ __ ___| |__ ___ _ __ _ _ # / /\ \ | '__/ __| '_ \ / _ \ '__| | | | # / ____ \| | | (__| | | | __/ | | |_| | # /_/ \_\_| \___|_| |_|\___|_| \__, | # __/ | # |___/ # Copyright (C) 20...
34.94306
79
0.467767
890
9,819
4.914607
0.191011
0.038409
0.028807
0.038409
0.219707
0.078875
0.027663
0.027663
0.020576
0.020576
0
0.007439
0.452388
9,819
280
80
35.067857
0.806026
0.051024
0
0.181034
0
0
0.043663
0.005486
0
0
0
0
0
0
null
null
0
0.047414
null
null
0.038793
0
0
0
null
0
0
0
0
0
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
16dea154a3d5a63b12dfe048fd6ef5fc51101b32
639
py
Python
h2o-py/tests/testdir_algos/gbm/pyunit_DEPRECATED_mnist_manyCols_largeGBM.py
huamichaelchen/h2o-3
2b52f2240652a1c73c1708762248c0773d0c073e
[ "Apache-2.0" ]
null
null
null
h2o-py/tests/testdir_algos/gbm/pyunit_DEPRECATED_mnist_manyCols_largeGBM.py
huamichaelchen/h2o-3
2b52f2240652a1c73c1708762248c0773d0c073e
[ "Apache-2.0" ]
null
null
null
h2o-py/tests/testdir_algos/gbm/pyunit_DEPRECATED_mnist_manyCols_largeGBM.py
huamichaelchen/h2o-3
2b52f2240652a1c73c1708762248c0773d0c073e
[ "Apache-2.0" ]
1
2020-01-22T19:10:37.000Z
2020-01-22T19:10:37.000Z
import sys sys.path.insert(1,"../../../") import h2o from tests import pyunit_utils def mnist_manyCols_largeGBM(): #Log.info("Importing mnist train data...\n") train = h2o.import_file(path=pyunit_utils.locate("bigdata/laptop/mnist/train.csv.gz")) #Log.info("Check that tail works...") trai...
22.821429
106
0.682316
95
639
4.336842
0.568421
0.080097
0.152913
0
0
0
0
0
0
0
0
0.033457
0.158059
639
27
107
23.666667
0.732342
0.203443
0
0
0
0
0.098814
0.065217
0
0
0
0
0
1
0.076923
false
0
0.307692
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
16e616c426714465d594fb13ac14480753faa93c
299
py
Python
contacts/urls.py
TonyKioko/PropertySasa
58182174e2ac3caacf2cc6623d184d165b20c70c
[ "MIT" ]
null
null
null
contacts/urls.py
TonyKioko/PropertySasa
58182174e2ac3caacf2cc6623d184d165b20c70c
[ "MIT" ]
null
null
null
contacts/urls.py
TonyKioko/PropertySasa
58182174e2ac3caacf2cc6623d184d165b20c70c
[ "MIT" ]
null
null
null
from django.urls import path from . import views from django.conf import settings from django.conf.urls.static import static urlpatterns = [ path('contact', views.contact, name='contact'), ] if settings.DEBUG: urlpatterns+= static(settings.MEDIA_URL, document_root = settings.MEDIA_ROOT)
23
81
0.762542
40
299
5.625
0.45
0.133333
0.124444
0
0
0
0
0
0
0
0
0
0.137124
299
12
82
24.916667
0.872093
0
0
0
0
0
0.046823
0
0
0
0
0
0
1
0
false
0
0.444444
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
16e65e256e6752e284074a4734a33c1fcce7ba72
1,267
py
Python
api-gateway/fcgi/policy/cpp/post_local_policy_c.py
intel/cloud-client-ai-service-framework
01676b08878f7a58201854aedb181134eafef7a2
[ "Apache-2.0" ]
3
2022-03-25T17:28:53.000Z
2022-03-29T03:30:25.000Z
api-gateway/fcgi/policy/cpp/post_local_policy_c.py
intel/cloud-client-ai-service-framework
01676b08878f7a58201854aedb181134eafef7a2
[ "Apache-2.0" ]
null
null
null
api-gateway/fcgi/policy/cpp/post_local_policy_c.py
intel/cloud-client-ai-service-framework
01676b08878f7a58201854aedb181134eafef7a2
[ "Apache-2.0" ]
1
2022-03-27T12:44:19.000Z
2022-03-27T12:44:19.000Z
# Copyright (C) 2020 Intel Corporation import requests import json import base64 import urllib.parse import hashlib ## python3 import time import random from collections import OrderedDict import argparse import sys def main(args): params = OrderedDict() params['device'] = args.device params['local'] = ...
30.902439
161
0.680347
171
1,267
4.929825
0.508772
0.03796
0.021352
0.042705
0.087782
0.087782
0.087782
0.087782
0
0
0
0.021463
0.191002
1,267
40
162
31.675
0.800976
0.115233
0
0
0
0
0.238779
0
0
0
0
0
0
1
0.034483
false
0
0.344828
0
0.37931
0.103448
0
0
0
null
0
0
0
0
0
0
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
16ea37e00bc0c3239cceb002ce35b0e3b54bcf7e
967
py
Python
floranet/error.py
chengzhongkai/floranet
add5a1129296dca6db55b7980c0c1091f1ca80aa
[ "MIT" ]
40
2016-10-27T03:10:45.000Z
2021-10-17T07:59:28.000Z
floranet/error.py
chengzhongkai/floranet
add5a1129296dca6db55b7980c0c1091f1ca80aa
[ "MIT" ]
2
2017-01-30T09:04:22.000Z
2017-06-29T08:44:21.000Z
floranet/error.py
chengzhongkai/floranet
add5a1129296dca6db55b7980c0c1091f1ca80aa
[ "MIT" ]
25
2017-01-01T08:37:42.000Z
2021-11-22T02:03:58.000Z
class Error(Exception): """ Base exception for all exceptions that indicate a failed request """ class DecodeError(Error): """" Raised when the request cannot be decoded by the server. """ class NoFreeOTAAddresses(Error): """" Raised when the OTA request cannot be completed due to no ...
22.488372
78
0.648397
103
967
6.048544
0.485437
0.105939
0.144462
0.105939
0.077047
0
0
0
0
0
0
0
0.259566
967
42
79
23.02381
0.870112
0.468459
0
0
0
0
0.185185
0.059259
0
0
0
0
0
1
0
false
0
0
0
0.583333
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
16eb169695cb1f22882c77401d4bc5237511a447
439
py
Python
saleor/unurshop/package/migrations/0004_auto_20200908_1755.py
nlkhagva/saleor
0d75807d08ac49afcc904733724ac870e8359c10
[ "CC-BY-4.0" ]
null
null
null
saleor/unurshop/package/migrations/0004_auto_20200908_1755.py
nlkhagva/saleor
0d75807d08ac49afcc904733724ac870e8359c10
[ "CC-BY-4.0" ]
1
2022-02-15T03:31:12.000Z
2022-02-15T03:31:12.000Z
saleor/unurshop/package/migrations/0004_auto_20200908_1755.py
nlkhagva/ushop
abf637eb6f7224e2d65d62d72a0c15139c64bb39
[ "CC-BY-4.0" ]
null
null
null
# Generated by Django 3.1 on 2020-09-08 09:55 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('package', '0003_auto_20200828_1838'), ] operations = [ migrations.AlterField( model_name='gaduurpackage', ...
23.105263
74
0.594533
46
439
5.543478
0.826087
0
0
0
0
0
0
0
0
0
0
0.103896
0.298405
439
18
75
24.388889
0.724026
0.09795
0
0
1
0
0.148936
0.06117
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
16ee6b0d904929f6544e199383f90aa32afd568a
1,767
py
Python
official/vision/beta/projects/panoptic_maskrcnn/configs/panoptic_maskrcnn.py
e-dupuis/models
77f5d1dc1d764e1fc3a915710eb39cfdb365fda9
[ "Apache-2.0" ]
1
2021-07-22T07:18:38.000Z
2021-07-22T07:18:38.000Z
official/vision/beta/projects/panoptic_maskrcnn/configs/panoptic_maskrcnn.py
e-dupuis/models
77f5d1dc1d764e1fc3a915710eb39cfdb365fda9
[ "Apache-2.0" ]
null
null
null
official/vision/beta/projects/panoptic_maskrcnn/configs/panoptic_maskrcnn.py
e-dupuis/models
77f5d1dc1d764e1fc3a915710eb39cfdb365fda9
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 The TensorFlow Authors. All Rights Reserved. # # 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 applica...
36.8125
78
0.782683
233
1,767
5.849785
0.562232
0.044021
0.055026
0.023478
0.051357
0.051357
0
0
0
0
0
0.007937
0.144312
1,767
47
79
37.595745
0.893519
0.526316
0
0.157895
0
0
0
0
0
0
0
0
0
1
0
true
0
0.210526
0
0.736842
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
bc43085f2b7c6c2284631138192df9c15e84b051
1,550
py
Python
app/test/test_model/charts/test_line_base.py
smartlab-br/datahub-api
193e71172bb4891a5bbffc902da07ef57df9ab07
[ "MIT" ]
1
2019-07-25T21:15:05.000Z
2019-07-25T21:15:05.000Z
app/test/test_model/charts/test_line_base.py
smartlab-br/datahub-api
193e71172bb4891a5bbffc902da07ef57df9ab07
[ "MIT" ]
44
2019-08-05T15:24:00.000Z
2022-01-31T23:11:31.000Z
app/test/test_model/charts/test_line_base.py
smartlab-br/datahub-api
193e71172bb4891a5bbffc902da07ef57df9ab07
[ "MIT" ]
1
2021-05-11T07:49:51.000Z
2021-05-11T07:49:51.000Z
'''Main tests in API''' import unittest from bokeh.plotting import figure from model.charts.line import Line class LineChartConfigTest(): # class LineChartConfigTest(unittest.TestCase): ''' Test behaviours linked to foundational bar charts capabilities ''' def test_bar_chart_config_no_option(self): '''...
43.055556
76
0.674839
198
1,550
5.10101
0.247475
0.087129
0.158416
0.059406
0.725743
0.694059
0.669307
0.669307
0.630693
0.630693
0
0
0.213548
1,550
35
77
44.285714
0.828548
0.23871
0
0.416667
0
0
0.061189
0
0
0
0
0
0.333333
1
0.166667
false
0
0.125
0
0.333333
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
bc471c62649ec1aa70ea794280dc66d07d3a488e
2,282
py
Python
Food/models.py
PopaGabriel/Food-Ecommerce-Site
7f7cde94939f02f13df5afa865cddc72981481e2
[ "MIT" ]
1
2021-08-12T08:46:56.000Z
2021-08-12T08:46:56.000Z
Food/models.py
PopaGabriel/Food-Ecommerce-Site
7f7cde94939f02f13df5afa865cddc72981481e2
[ "MIT" ]
null
null
null
Food/models.py
PopaGabriel/Food-Ecommerce-Site
7f7cde94939f02f13df5afa865cddc72981481e2
[ "MIT" ]
null
null
null
from django.db import models from django.urls import reverse from django.utils.translation import gettext_lazy as _ from RatingsItem.models import Ratings class MenuItem(models.Model): class AdultOriented(models.IntegerChoices): Yes = 1, _('Yes') No = 0, _('No') section = models.ForeignKey('...
32.140845
100
0.601227
256
2,282
5.269531
0.441406
0.022239
0.031134
0.035582
0.034099
0
0
0
0
0
0
0.011868
0.298422
2,282
70
101
32.6
0.830731
0.112621
0
0.046512
0
0
0.086753
0.026494
0
0
0
0
0
1
0.116279
false
0
0.093023
0.046512
0.627907
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
bc4cf71164fc2f4ca868f27909e560c38cf3ad3b
2,593
py
Python
models/exps/tut_transfer_learning.py
olavosamp/semiauto-video-annotation
b1a46f9c0ad3bdcedab76b4cd730747ee2afd2fd
[ "MIT" ]
null
null
null
models/exps/tut_transfer_learning.py
olavosamp/semiauto-video-annotation
b1a46f9c0ad3bdcedab76b4cd730747ee2afd2fd
[ "MIT" ]
20
2019-07-15T21:49:29.000Z
2020-01-09T14:35:03.000Z
models/exps/tut_transfer_learning.py
olavosamp/semiauto-video-annotation
b1a46f9c0ad3bdcedab76b4cd730747ee2afd2fd
[ "MIT" ]
null
null
null
import os import time import copy import torch import matplotlib import torchvision import torch.nn as nn import numpy as np import torch.optim as optim import matplotlib.pyplot as plt from pathlib import Path from torch.optim import lr_scheduler from tor...
31.240964
109
0.634786
289
2,593
5.615917
0.474048
0.017252
0.014787
0.045595
0.054221
0.054221
0
0
0
0
0
0.029396
0.26533
2,593
82
110
31.621951
0.822572
0.182414
0
0.08
0
0
0.021853
0.010451
0
0
0
0
0
1
0.02
false
0
0.32
0
0.34
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
bc50fffe2e7db658ba0f31a00dfd198aedee2a72
961
py
Python
tests/aws_scatter_gather/util/sqs_event_test.py
cbuschka/aws-scatter-gather
abebd22aa6449369845a08d4260607745098bb28
[ "Apache-2.0" ]
2
2020-06-23T08:27:56.000Z
2020-06-25T08:44:57.000Z
tests/aws_scatter_gather/util/sqs_event_test.py
cbuschka/aws-scatter-gather
abebd22aa6449369845a08d4260607745098bb28
[ "Apache-2.0" ]
null
null
null
tests/aws_scatter_gather/util/sqs_event_test.py
cbuschka/aws-scatter-gather
abebd22aa6449369845a08d4260607745098bb28
[ "Apache-2.0" ]
null
null
null
import unittest from aws_scatter_gather.util import sqs_event class SqsEventTest(unittest.TestCase): def test_single_body_of_no_records_is_none(self): event = {} self.assertIsNone(sqs_event.get_single_body(event)) def test_bodies_of_no_records_is_empty_list(self): event = {} ...
35.592593
73
0.661811
121
961
4.867769
0.289256
0.081494
0.093379
0.086587
0.570458
0.5382
0.444822
0.444822
0.444822
0.444822
0
0.010152
0.180021
961
26
74
36.961538
0.73731
0
0
0.210526
0
0
0.060354
0
0
0
0
0
0.263158
1
0.263158
false
0
0.105263
0
0.421053
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
bc5b294a0c9c8d8e374d1913cbd158eee1a74abe
755
py
Python
test.py
adrianrosian/emailcrawler
57af9d2136c8c1c56c49089ec42a00c962f7f3f2
[ "MIT" ]
1
2016-01-26T08:16:21.000Z
2016-01-26T08:16:21.000Z
test.py
rredpoppy/emailcrawler
57af9d2136c8c1c56c49089ec42a00c962f7f3f2
[ "MIT" ]
null
null
null
test.py
rredpoppy/emailcrawler
57af9d2136c8c1c56c49089ec42a00c962f7f3f2
[ "MIT" ]
null
null
null
''' Created on 22.12.2009 @author: Adrian ''' import thread def testfunc(): global i, p ilock.acquire() i += 1 ilock.release() writelock.acquire() print 'I am %d' % i if len(p): plock.acquire() print 'Last element of p is %s' % p.pop() plock.r...
19.868421
50
0.53245
96
755
4.135417
0.510417
0.040302
0.13602
0
0
0
0
0
0
0
0
0.021484
0.321854
755
37
51
20.405405
0.753906
0
0
0.153846
0
0
0.110119
0
0
0
0
0
0
0
null
null
0
0.038462
null
null
0.153846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
bc5d87f5d950ce9e21084d4f7020437f09a0d59f
9,340
py
Python
common/data/countries.py
ujlbu4/vas3k.club
1ec907cf7e5ae3a74059cde8729ca0b3e2d55a3e
[ "MIT" ]
2
2020-12-31T06:21:54.000Z
2021-11-15T15:35:45.000Z
common/data/countries.py
ujlbu4/vas3k.club
1ec907cf7e5ae3a74059cde8729ca0b3e2d55a3e
[ "MIT" ]
null
null
null
common/data/countries.py
ujlbu4/vas3k.club
1ec907cf7e5ae3a74059cde8729ca0b3e2d55a3e
[ "MIT" ]
null
null
null
COUNTRIES = [ ("Россия", "Россия"), ("Украина", "Украина"), ("Беларусь", "Беларусь"), ("Казахстан", "Казахстан"), ("Абхазия", "Абхазия"), ("Австралия", "Австралия"), ("Австрия", "Австрия"), ("Азербайджан", "Азербайджан"), ("Албания", "Албания"), ("Алжир", "Алжир"), ("Американ...
35.112782
95
0.577837
785
9,340
6.875159
0.414013
0.0126
0.016676
0.005929
0.143042
0.083565
0.048731
0
0
0
0
0
0.195717
9,340
265
96
35.245283
0.71845
0
0
0.045283
0
0
0.612206
0.009636
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bc651b82b72ded0203fd33be1c280f1f8837f501
9,223
py
Python
daiquiri/metadata/viewsets.py
agy-why/daiquiri
4d3e2ce51e202d5a8f1df404a0094a4e018dcb4d
[ "Apache-2.0" ]
null
null
null
daiquiri/metadata/viewsets.py
agy-why/daiquiri
4d3e2ce51e202d5a8f1df404a0094a4e018dcb4d
[ "Apache-2.0" ]
null
null
null
daiquiri/metadata/viewsets.py
agy-why/daiquiri
4d3e2ce51e202d5a8f1df404a0094a4e018dcb4d
[ "Apache-2.0" ]
null
null
null
from rest_framework import viewsets, filters, status from rest_framework.response import Response from rest_framework.decorators import action from rest_framework.permissions import IsAuthenticated from rest_framework.authentication import SessionAuthentication, TokenAuthentication from django_filters.rest_framework i...
40.1
99
0.703242
908
9,223
6.960352
0.139868
0.045253
0.03307
0.043513
0.668038
0.634335
0.614557
0.562025
0.562025
0.482437
0
0.000814
0.201128
9,223
229
100
40.275109
0.856949
0.007048
0
0.531792
0
0
0.067497
0.025229
0
0
0
0
0
1
0.063584
false
0
0.086705
0
0.50289
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
bc654321569f2c0b696f1e039137fe6d47ce6369
729
py
Python
machinetranslation/tests.py
mjthecoder65/language-translator
2c5d25bec2ae1fe5b7bd06014f07ca65b6194885
[ "Apache-2.0" ]
1
2022-03-24T16:55:26.000Z
2022-03-24T16:55:26.000Z
machinetranslation/tests.py
mjthecoder65/language-translator
2c5d25bec2ae1fe5b7bd06014f07ca65b6194885
[ "Apache-2.0" ]
null
null
null
machinetranslation/tests.py
mjthecoder65/language-translator
2c5d25bec2ae1fe5b7bd06014f07ca65b6194885
[ "Apache-2.0" ]
null
null
null
import unittest from translator import english_to_french, french_to_english class TestEnglishToFrench(unittest.TestCase): def test_null_input_text(self): self.assertRaises(ValueError, english_to_french, None) def test_correct_input_text(self): english_text="Hello" text = english_to_fre...
31.695652
62
0.735254
88
729
5.681818
0.306818
0.096
0.104
0.092
0.388
0.388
0.388
0.264
0.264
0.264
0
0
0.178326
729
23
63
31.695652
0.834725
0
0
0.222222
0
0
0.043836
0
0
0
0
0
0.222222
1
0.222222
false
0
0.111111
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
bc6f5bf3718a7580b892b7af1a9db939a3533f77
851
py
Python
statistics.py
clean-code-craft-tcq-2/sense-py-Patiljyoti12
a5e1dfd461c613f18cead32a4ef01affd03ef0a9
[ "MIT" ]
null
null
null
statistics.py
clean-code-craft-tcq-2/sense-py-Patiljyoti12
a5e1dfd461c613f18cead32a4ef01affd03ef0a9
[ "MIT" ]
null
null
null
statistics.py
clean-code-craft-tcq-2/sense-py-Patiljyoti12
a5e1dfd461c613f18cead32a4ef01affd03ef0a9
[ "MIT" ]
null
null
null
def calculateStats(numbers): val = len(numbers) result = {"max": float('NaN'), "min": float('NaN'), "avg": float('NaN')} if val == 0: return result else: result["max"] = max(numbers) result["min"] = min(numbers) result["avg"] = sum(numbers) / val return result ...
23.638889
76
0.594595
93
851
5.397849
0.354839
0.089641
0.059761
0.075697
0.163347
0.163347
0.163347
0.163347
0.163347
0
0
0.008026
0.26792
851
35
77
24.314286
0.797753
0.029377
0
0.24
0
0
0.036452
0
0
0
0
0
0
1
0.12
false
0.08
0
0
0.32
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
bc7088d48103c632f8c90911772b40c8afdcfe91
4,434
py
Python
motor_parser.py
pvandervelde/electrical-motor-data
39f685fa37431265f6d8cd7e12bc520f611e54a7
[ "Apache-2.0" ]
null
null
null
motor_parser.py
pvandervelde/electrical-motor-data
39f685fa37431265f6d8cd7e12bc520f611e54a7
[ "Apache-2.0" ]
null
null
null
motor_parser.py
pvandervelde/electrical-motor-data
39f685fa37431265f6d8cd7e12bc520f611e54a7
[ "Apache-2.0" ]
null
null
null
import math import yaml from typing import Tuple from pydantic import BaseModel, HttpUrl class Dimension(BaseModel): length: float diameter: float weight: float class Manufacturer(BaseModel): name: str url: HttpUrl class MotorPerformance(BaseModel): free_running_current: floa...
33.590909
160
0.67456
589
4,434
4.85399
0.235993
0.041973
0.054565
0.029381
0.265128
0.174537
0.147254
0.12347
0.064358
0.064358
0
0.010921
0.235904
4,434
132
161
33.590909
0.83294
0.187415
0
0.08642
0
0
0.00029
0
0
0
0
0
0
1
0.08642
false
0
0.049383
0
0.691358
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
bc7849f833e8ade533db8369cc045095bf606cc8
1,894
py
Python
.gdb_extend/gdb_thwatch.py
valley666/debugger-utils
47a3ee2553e34eb7b22d887f4209f694a9299102
[ "MIT" ]
null
null
null
.gdb_extend/gdb_thwatch.py
valley666/debugger-utils
47a3ee2553e34eb7b22d887f4209f694a9299102
[ "MIT" ]
null
null
null
.gdb_extend/gdb_thwatch.py
valley666/debugger-utils
47a3ee2553e34eb7b22d887f4209f694a9299102
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -* import gdb import gdb_utils import gdb_utils import re from functools import partial import traceback #before class thwatch(gdb.Command): def __init__(self): # This registers our class as "thwatch" super(thwatch, self).__init__("thwatch", gdb.COMMAND_DATA) def invoke(...
27.449275
72
0.68057
236
1,894
5.351695
0.398305
0.057007
0.039588
0.030879
0.186065
0.186065
0.163104
0.099762
0.099762
0.099762
0
0.002001
0.208553
1,894
68
73
27.852941
0.84056
0.208553
0
0.15
0
0
0.178692
0
0
0
0
0
0
0
null
null
0
0.15
null
null
0.275
0
0
0
null
0
0
0
0
0
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
bc7c3e8c9bdc409fada9edad4ab56fa996c8e796
12,180
py
Python
ansible/venv/lib/python2.7/site-packages/ansible/modules/network/check_point/cp_mgmt_host.py
gvashchenkolineate/gvashchenkolineate_infra_trytravis
0fb18850afe0d8609693ba4b23f29c7cda17d97f
[ "MIT" ]
17
2017-06-07T23:15:01.000Z
2021-08-30T14:32:36.000Z
ansible/venv/lib/python2.7/site-packages/ansible/modules/network/check_point/cp_mgmt_host.py
gvashchenkolineate/gvashchenkolineate_infra_trytravis
0fb18850afe0d8609693ba4b23f29c7cda17d97f
[ "MIT" ]
9
2017-06-25T03:31:52.000Z
2021-05-17T23:43:12.000Z
ansible/venv/lib/python2.7/site-packages/ansible/modules/network/check_point/cp_mgmt_host.py
gvashchenkolineate/gvashchenkolineate_infra_trytravis
0fb18850afe0d8609693ba4b23f29c7cda17d97f
[ "MIT" ]
3
2018-05-26T21:31:22.000Z
2019-09-28T17:00:45.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- # # Ansible module to manage Check Point Firewall (c) 2019 # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your o...
36.467066
158
0.594417
1,390
12,180
5.118705
0.22446
0.045257
0.035559
0.017709
0.576669
0.518342
0.490513
0.464371
0.453408
0.436543
0
0.008513
0.295977
12,180
333
159
36.576577
0.821224
0.056486
0
0.523333
0
0.046667
0.717274
0.004532
0
0
0
0
0
1
0.003333
false
0
0.01
0
0.013333
0.003333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bc837fd1b3dbe7cc0be2262d84bbcae6b712fcf8
6,985
py
Python
electrum/gui/ios/Electrum/electrum_gui/ios_native/seed_dialog.py
noirofficial/electrum
54610de21c4df712f7571b3aaa14101ffc0ec651
[ "MIT" ]
null
null
null
electrum/gui/ios/Electrum/electrum_gui/ios_native/seed_dialog.py
noirofficial/electrum
54610de21c4df712f7571b3aaa14101ffc0ec651
[ "MIT" ]
2
2021-06-01T23:17:06.000Z
2021-11-15T17:48:20.000Z
electrum/gui/ios/Electrum/electrum_gui/ios_native/seed_dialog.py
noirofficial/electrum
54610de21c4df712f7571b3aaa14101ffc0ec651
[ "MIT" ]
4
2019-01-20T21:56:43.000Z
2019-09-21T08:01:31.000Z
#!/usr/bin/env python3 # Copyright (C) 2012-2018 Thomas Voegtlin <thomasv@electrum.org> # Copyright (C) 2018 Calin Culianu <calin.culianu@gmail.com> # Copyright (C) 2018 Electrum Technologies GmbH # # This file is licensed under the MIT license. See LICENCE file for more information. # import math import re from typi...
42.078313
135
0.596994
704
6,985
5.75
0.386364
0.011117
0.025692
0.021492
0.159832
0.146986
0.103261
0.073617
0.052372
0.052372
0
0.015182
0.29277
6,985
165
136
42.333333
0.804251
0.069291
0
0.086957
0
0
0.074943
0
0
0
0
0
0
1
0.086957
false
0.095652
0.078261
0
0.191304
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
bc8391b0b9579d7280945213a3fc14d1df84440c
2,775
py
Python
test/example_thirdparty/example_thirdparty/settings.py
shubhanshu02/pybbm
cc0a18ba7f40140810f006149234e68d0ff532b8
[ "BSD-2-Clause" ]
null
null
null
test/example_thirdparty/example_thirdparty/settings.py
shubhanshu02/pybbm
cc0a18ba7f40140810f006149234e68d0ff532b8
[ "BSD-2-Clause" ]
1
2021-09-02T19:15:28.000Z
2021-09-03T11:08:46.000Z
test/example_thirdparty/example_thirdparty/settings.py
shubhanshu02/pybbm
cc0a18ba7f40140810f006149234e68d0ff532b8
[ "BSD-2-Clause" ]
1
2022-02-19T14:08:39.000Z
2022-02-19T14:08:39.000Z
# -*- coding: utf-8 -*- # Django settings for example project. import os BASE_DIR = os.path.dirname(os.path.dirname(__file__)) DEBUG = True DATABASES = { "default": { "ENGINE": "django.db.backends.sqlite3", "NAME": os.path.join(BASE_DIR, "testdb.sqlite"), } } TIME_ZONE = "UTC" LANGUAGE_CODE...
26.941748
72
0.66991
285
2,775
6.333333
0.438596
0.100831
0.069806
0.103047
0.062604
0.053186
0
0
0
0
0
0.006696
0.192793
2,775
102
73
27.205882
0.799107
0.042523
0
0.025641
0
0.012821
0.536199
0.425339
0
0
0
0
0
1
0
false
0
0.012821
0
0.012821
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bc854d1fb60cfc5cbceaea69745043a65ab7ce81
1,309
py
Python
examples/backend_frontend/example4-gui2.py
cycomanic/lantz
f2da006a5cf1a232c1576412cd63e565768ab4e1
[ "BSD-3-Clause" ]
null
null
null
examples/backend_frontend/example4-gui2.py
cycomanic/lantz
f2da006a5cf1a232c1576412cd63e565768ab4e1
[ "BSD-3-Clause" ]
null
null
null
examples/backend_frontend/example4-gui2.py
cycomanic/lantz
f2da006a5cf1a232c1576412cd63e565768ab4e1
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ lantz.action ~~~~~~~~~~~~ This example shows how to use a Frontend (with an embedded Frontend) (and apps WITHOUT graphical user interface). :copyright: 2014 by Lantz Authors, see AUTHORS for more details. :license: BSD, see LICENSE for more details. """ # From lan...
34.447368
84
0.76547
173
1,309
5.768786
0.537572
0.027054
0.028056
0
0
0
0
0
0
0
0
0.007273
0.159664
1,309
37
85
35.378378
0.9
0.647823
0
0
0
0
0.028708
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
bc85c8b28e62a3e5d4294f16633dc29cb5b4bc8a
3,089
bzl
Python
remote-apis-sdks-deps.bzl
nodirg/remote-apis-sdks
40d1266c08bdd688d691a2e4090a01d498318030
[ "Apache-2.0" ]
null
null
null
remote-apis-sdks-deps.bzl
nodirg/remote-apis-sdks
40d1266c08bdd688d691a2e4090a01d498318030
[ "Apache-2.0" ]
null
null
null
remote-apis-sdks-deps.bzl
nodirg/remote-apis-sdks
40d1266c08bdd688d691a2e4090a01d498318030
[ "Apache-2.0" ]
null
null
null
"""Load dependencies needed to depend on the remote-apis-sdks repo.""" load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies", "go_repository") def _maybe(repo_rule, name, **kwargs): if name not in native.existing_rules(): repo_rule(name = name, **kwargs) def remote_apis_sdks_go_deps(): """Load dep...
29.701923
76
0.601489
318
3,089
5.54717
0.273585
0.108844
0.144558
0.178571
0.309524
0.294785
0.209751
0
0
0
0
0.099729
0.282616
3,089
103
77
29.990291
0.6963
0.046617
0
0.306122
0
0
0.37287
0.279823
0
0
0
0
0
1
0.020408
false
0
0.153061
0
0.173469
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
bc8975cab86e3310f25c8d0c87a21fa91c41fef6
448
py
Python
DFSS/Keygen/keygen.py
calfzhou/lazy-lab
dcd67845e4bd1e0c82a05a89f53eec6912d870f8
[ "MIT" ]
null
null
null
DFSS/Keygen/keygen.py
calfzhou/lazy-lab
dcd67845e4bd1e0c82a05a89f53eec6912d870f8
[ "MIT" ]
null
null
null
DFSS/Keygen/keygen.py
calfzhou/lazy-lab
dcd67845e4bd1e0c82a05a89f53eec6912d870f8
[ "MIT" ]
null
null
null
import sys import rsa YUECHE_PRIV_KEY = {'q': 3004727651L, 'p': 781435729, 'd': 620827009530618763L} YUECHE_PUB_KEY = {'e': 15427, 'n': 2348001542405642579L} def Main(uid): sid = rsa.sign(uid, YUECHE_PRIV_KEY).encode('base64') print rsa.verify(sid.decode('base64'), YUECHE_PUB_KEY) print sid if __name__ == '__m...
24.888889
78
0.683036
67
448
4.313433
0.597015
0.069204
0.089965
0
0
0
0
0
0
0
0
0.179894
0.15625
448
17
79
26.352941
0.584656
0
0
0
0
0
0.131696
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.214286
0
0
0
null
0
0
0
0
0
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
bc8f41ac13d1ec4253b2b4b1f0543de2489eeb8b
1,195
py
Python
tests/formatters/winlnk.py
SamuelePilleri/plaso
f5687f12a89c7309797ccc285da78e855c120579
[ "Apache-2.0" ]
null
null
null
tests/formatters/winlnk.py
SamuelePilleri/plaso
f5687f12a89c7309797ccc285da78e855c120579
[ "Apache-2.0" ]
null
null
null
tests/formatters/winlnk.py
SamuelePilleri/plaso
f5687f12a89c7309797ccc285da78e855c120579
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """Tests for the Windows Shortcut (LNK) event formatter.""" from __future__ import unicode_literals import unittest from plaso.formatters import winlnk from tests.formatters import test_lib class WinLnkLinkFormatterTest(test_lib.EventFormatterTestCase): """Tests for...
29.146341
73
0.736402
122
1,195
6.877049
0.581967
0.100119
0.026222
0.042908
0.102503
0.102503
0.102503
0.102503
0
0
0
0.000992
0.156485
1,195
40
74
29.875
0.831349
0.2159
0
0.1
0
0
0.222101
0.02407
0
0
0
0.025
0.05
1
0.1
false
0
0.2
0
0.35
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
bc92d8a5da312e24e14d65abcd0fe504e20f697b
444
py
Python
scoreboard/migrations/0002_auto_20220115_0538.py
ChristianJStarr/sbs-website
db891f0a67f46cc9cdadc95714304b2ea91a162a
[ "MIT" ]
1
2022-01-09T18:54:32.000Z
2022-01-09T18:54:32.000Z
scoreboard/migrations/0002_auto_20220115_0538.py
ChristianJStarr/sbs-website
db891f0a67f46cc9cdadc95714304b2ea91a162a
[ "MIT" ]
null
null
null
scoreboard/migrations/0002_auto_20220115_0538.py
ChristianJStarr/sbs-website
db891f0a67f46cc9cdadc95714304b2ea91a162a
[ "MIT" ]
null
null
null
# Generated by Django 3.1.6 on 2022-01-15 10:38 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('scoreboard', '0001_initial'), ] operations = [ migrations.AlterField( model_name='statistics', ...
22.2
74
0.635135
47
444
5.93617
0.765957
0.078853
0.136201
0
0
0
0
0
0
0
0
0.057402
0.254505
444
19
75
23.368421
0.785498
0.101351
0
0
1
0
0.118388
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
bc93d8f1384f8271aaaec8782cb9f4ff34b20a6f
826
py
Python
config.py
arthurbarros/Flask-Scaffold
077f6be7b47560311a9942a5e246e2ef98ab1815
[ "MIT" ]
8
2019-06-05T17:17:54.000Z
2022-01-23T17:56:17.000Z
config.py
arthurbarros/Flask-Scaffold
077f6be7b47560311a9942a5e246e2ef98ab1815
[ "MIT" ]
null
null
null
config.py
arthurbarros/Flask-Scaffold
077f6be7b47560311a9942a5e246e2ef98ab1815
[ "MIT" ]
5
2019-07-05T19:08:37.000Z
2021-08-30T10:28:30.000Z
# DATABASE db_username = 'root' db_password = 'toor' db_name = 'fscaffold' db_hostname = 'localhost' DEBUG = True PORT = 5000 HOST = "0.0.0.0" SQLALCHEMY_ECHO = False SECRET_KEY = "SOME SECRET" # PostgreSQL # SQLALCHEMY_DATABASE_URI = "postgresql://{DB_USER}:{DB_PASS}@{DB_ADDR}/{DB_NAME}".format( # DB_USER=db_use...
22.324324
91
0.70339
119
826
4.563025
0.436975
0.077348
0.058932
0.044199
0.331492
0.331492
0.331492
0.331492
0.331492
0.331492
0
0.011561
0.162228
826
36
92
22.944444
0.773121
0.286925
0
0
0
0
0.411054
0.146805
0
0
0
0
0
1
0
false
0.315789
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
0
0
0
0
0
1
0
0
0
0
0
1
bc95ddf17f8adf7b60d4aa7613b29f5fc1c7640f
581
py
Python
Python/frog-jump.py
namishelex01/LeetCode-Solutions
5c87df400826d6daec9029ec2c5268bb3077a6cf
[ "MIT" ]
7
2019-04-13T13:44:26.000Z
2021-05-08T07:59:41.000Z
Python/frog-jump.py
vertina321/LeetCode-Solutions
ec6427425b086d0330eb8984efcd9cd089507028
[ "MIT" ]
null
null
null
Python/frog-jump.py
vertina321/LeetCode-Solutions
ec6427425b086d0330eb8984efcd9cd089507028
[ "MIT" ]
5
2019-06-21T13:36:41.000Z
2021-11-29T04:42:24.000Z
# Time: O(n) ~ O(n^2) # Space: O(n) class Solution(object): def canCross(self, stones): """ :type stones: List[int] :rtype: bool """ if stones[1] != 1: return False last_jump_units = {s: set() for s in stones} last_jump_units[1].add(1) f...
26.409091
56
0.480207
87
581
3.068966
0.37931
0.179775
0.292135
0.157303
0
0
0
0
0
0
0
0.028011
0.385542
581
21
57
27.666667
0.719888
0.120482
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0
0
0.333333
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
bc9a44e76dccf53d5eff98e377566da4390a0f12
980
py
Python
fisher_py/data/business/instrument_selection.py
abdelq/fisher_py
befb98732ba7c4e57858d158c68cda09ed829d66
[ "MIT" ]
3
2021-11-03T20:55:45.000Z
2022-02-01T10:11:47.000Z
fisher_py/data/business/instrument_selection.py
abdelq/fisher_py
befb98732ba7c4e57858d158c68cda09ed829d66
[ "MIT" ]
2
2022-01-28T02:04:21.000Z
2022-01-29T01:29:14.000Z
fisher_py/data/business/instrument_selection.py
abdelq/fisher_py
befb98732ba7c4e57858d158c68cda09ed829d66
[ "MIT" ]
1
2022-01-26T23:30:37.000Z
2022-01-26T23:30:37.000Z
from fisher_py.net_wrapping import NetWrapperBase, ThermoFisher from fisher_py.data import Device class InstrumentSelection(NetWrapperBase): """ Defines which instrument is selected in a file. """ _wrapped_type = ThermoFisher.CommonCore.Data.Business.InstrumentSelection def __init__(self, instru...
31.612903
88
0.690816
110
980
5.854545
0.445455
0.093168
0.037267
0.062112
0
0
0
0
0
0
0
0.001325
0.229592
980
31
89
31.612903
0.851656
0.169388
0
0.133333
0
0
0
0
0
0
0
0
0.133333
1
0.2
false
0
0.133333
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
bc9b4fb34a5713c93a0e09e7e6cdbd67c5cd15a5
507
py
Python
tests/2016/test_16_dragon_checksum.py
wimglenn/advent-of-code-wim
6308c3fa5d29b318680419f877fd5b8ac1359b5d
[ "WTFPL" ]
20
2019-10-15T07:33:13.000Z
2022-01-19T13:40:36.000Z
tests/2016/test_16_dragon_checksum.py
wimglenn/advent-of-code-wim
6308c3fa5d29b318680419f877fd5b8ac1359b5d
[ "WTFPL" ]
5
2019-02-01T23:31:27.000Z
2021-12-03T06:55:58.000Z
tests/2016/test_16_dragon_checksum.py
wimglenn/advent-of-code-wim
6308c3fa5d29b318680419f877fd5b8ac1359b5d
[ "WTFPL" ]
8
2019-12-03T15:41:23.000Z
2021-12-06T17:13:57.000Z
from aoc_wim.aoc2016 import q16 padding = """\ 1 becomes 100. 0 becomes 001. 11111 becomes 11111000000. 111100001010 becomes 1111000010100101011110000. """ def test_padding(): for line in padding.splitlines(): left, right = line.rstrip(".").split(" becomes ") assert q16.pad(left, n=len(right)) =...
18.777778
57
0.64497
67
507
4.80597
0.597015
0.065217
0.062112
0.086957
0.093168
0
0
0
0
0
0
0.260652
0.213018
507
26
58
19.5
0.546366
0
0
0
0
0
0.280079
0.051282
0
0
0
0
0.166667
1
0.166667
false
0
0.055556
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bca0a05cfbd225a8ea808a3743e1a3bc17201083
338
py
Python
django_backend/fleet/urls.py
CapacitacionDesoft/travels-log
9b70061ec6a9bde14c14b255498a04a85ecf642c
[ "MIT" ]
2
2021-05-20T18:26:08.000Z
2021-08-31T02:43:26.000Z
django_backend/fleet/urls.py
CapacitacionDesoft/travels-log
9b70061ec6a9bde14c14b255498a04a85ecf642c
[ "MIT" ]
null
null
null
django_backend/fleet/urls.py
CapacitacionDesoft/travels-log
9b70061ec6a9bde14c14b255498a04a85ecf642c
[ "MIT" ]
null
null
null
from .views import DriverViewSet, VehicleViewSet from django.urls import include, path from rest_framework.routers import DefaultRouter router = DefaultRouter() router.register('driver', DriverViewSet, basename='driver') router.register('vehicle', VehicleViewSet, basename='vehicle') urlpatterns = [ path('', inclu...
30.727273
62
0.784024
36
338
7.333333
0.527778
0.143939
0
0
0
0
0
0
0
0
0
0
0.100592
338
11
63
30.727273
0.868421
0
0
0
0
0
0.076696
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
bca75fd77e42e48f8bd25cdc8f57583978f59820
271
py
Python
LifeIsShort/c/generator.py
loopyme/Life-is-Short
bd37e8597971283aa35bc31e29543c071f03acba
[ "MIT" ]
1
2020-04-02T02:03:21.000Z
2020-04-02T02:03:21.000Z
LifeIsShort/c/generator.py
loopyme/Life-is-Short
bd37e8597971283aa35bc31e29543c071f03acba
[ "MIT" ]
null
null
null
LifeIsShort/c/generator.py
loopyme/Life-is-Short
bd37e8597971283aa35bc31e29543c071f03acba
[ "MIT" ]
null
null
null
words = "Life is short" upper_word_list = ["LIFE", "IS", "SHORT", "USE", "PYTHON"] word_generator = ( lower_w for w in upper_word_list if (lower_w := w.lower()) in words.lower() ) for w in word_generator: print(w, end=" ") # word_generator is StopIteration now
24.636364
79
0.667897
43
271
4
0.44186
0.226744
0.127907
0
0
0
0
0
0
0
0
0
0.180812
271
10
80
27.1
0.774775
0.129151
0
0
0
0
0.145299
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
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
bcb0477718335e153a88b1dd88354d98b58b1963
1,690
py
Python
revs/service.py
jsdelivrbot/revs
22fdd136c3d26828c3f4fde64f400a0cd6fac3a6
[ "MIT" ]
2
2017-10-23T05:29:47.000Z
2018-03-08T05:57:02.000Z
revs/service.py
jsdelivrbot/revs
22fdd136c3d26828c3f4fde64f400a0cd6fac3a6
[ "MIT" ]
null
null
null
revs/service.py
jsdelivrbot/revs
22fdd136c3d26828c3f4fde64f400a0cd6fac3a6
[ "MIT" ]
3
2017-10-15T07:57:02.000Z
2019-01-31T22:23:07.000Z
import psycopg2 from elasticsearch import Elasticsearch from pymongo import MongoClient from . import EntityIndexer from . import Explanation from . import PathFinder from . import TypeResolver from . import Users class KGService: def __init__(self, config): self._config = config self._pg_conn = ...
35.957447
87
0.713609
213
1,690
5.286385
0.2723
0.079929
0.062167
0.042629
0.18206
0.111901
0.069272
0.069272
0
0
0
0.001459
0.188757
1,690
46
88
36.73913
0.81984
0
0
0
0
0
0.029586
0
0
0
0
0
0
1
0.194444
false
0.111111
0.222222
0.083333
0.611111
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
bcb81de070ec74851cf74220cd10bbbcd9e5d4e6
72,705
py
Python
tests_python/tests_011/test_contract_opcodes.py
bikallem/tezos
34eb0fd5cb977cc04c3648d91d16e6210de8c8e3
[ "MIT" ]
8
2021-11-02T13:06:58.000Z
2021-11-18T19:07:33.000Z
tests_python/tests_011/test_contract_opcodes.py
bikallem/tezos
34eb0fd5cb977cc04c3648d91d16e6210de8c8e3
[ "MIT" ]
14
2020-05-07T15:51:28.000Z
2022-02-06T10:11:51.000Z
tests_python/tests_011/test_contract_opcodes.py
bikallem/tezos
34eb0fd5cb977cc04c3648d91d16e6210de8c8e3
[ "MIT" ]
3
2021-01-06T00:06:10.000Z
2021-05-31T18:07:55.000Z
from os import path import pytest from tools.client_regression import ClientRegression from tools.constants import IDENTITIES from tools.utils import ( assert_run_failure, assert_run_script_failwith, assert_run_script_success, ) from .contract_paths import MINI_SCENARIOS_CONTRACT_PATH, OPCODES_CONTRACT_PA...
38.145331
80
0.411058
6,027
72,705
4.823793
0.089929
0.01878
0.015134
0.010732
0.721322
0.684037
0.646614
0.587487
0.525574
0.492175
0
0.214703
0.441895
72,705
1,905
81
38.165354
0.501762
0.067231
0
0.614055
0
0.010369
0.42801
0.152643
0
0
0.080446
0.000525
0.010945
1
0.00576
false
0
0.003456
0
0.009793
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bcc1f1dfa536279e794209d8131068d9f6d72e5f
401
py
Python
pyfib.py
mrwizard82d1/pyfib
49ffe6a55b8daed13f3448d1a488c8a78fd05a5d
[ "MIT" ]
null
null
null
pyfib.py
mrwizard82d1/pyfib
49ffe6a55b8daed13f3448d1a488c8a78fd05a5d
[ "MIT" ]
null
null
null
pyfib.py
mrwizard82d1/pyfib
49ffe6a55b8daed13f3448d1a488c8a78fd05a5d
[ "MIT" ]
null
null
null
#! py -3 """Module to generate Fibonacci numbers""" import argparse def fib(n): a, b = 0, 1 for _ in range(n): yield a a, b = b, a + b if __name__ == '__main__': parser = argparse.ArgumentParser() parser.add_argument('count', help='Number of Fibonacci numbers to generate', ...
19.095238
90
0.608479
55
401
4.236364
0.690909
0.025751
0
0
0
0
0
0
0
0
0
0.010101
0.259352
401
20
91
20.05
0.774411
0.109726
0
0
1
0
0.148571
0
0
0
0
0
0
1
0.090909
false
0
0.090909
0
0.181818
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bcc26a0af9a67d98fd20934f5ce565301357df66
3,213
py
Python
scripts/tests/test_approve_embargo_terminations.py
tsukaeru/RDM-osf.io
2dc3e539322b6110e51772f8bd25ebdeb8e12d0e
[ "Apache-2.0" ]
11
2018-12-11T16:39:40.000Z
2022-02-26T09:51:32.000Z
scripts/tests/test_approve_embargo_terminations.py
tsukaeru/RDM-osf.io
2dc3e539322b6110e51772f8bd25ebdeb8e12d0e
[ "Apache-2.0" ]
52
2018-04-13T05:03:21.000Z
2022-03-22T02:56:19.000Z
scripts/tests/test_approve_embargo_terminations.py
tsukaeru/RDM-osf.io
2dc3e539322b6110e51772f8bd25ebdeb8e12d0e
[ "Apache-2.0" ]
16
2018-07-09T01:44:51.000Z
2021-06-30T01:57:16.000Z
# -*- coding: utf-8 -*- import mock from datetime import timedelta from django.utils import timezone from nose.tools import * # noqa from tests.base import OsfTestCase from osf_tests.factories import AuthUserFactory, NodeFactory, EmbargoTerminationApprovalFactory, RegistrationFactory, EmbargoFactory from osf.models...
45.253521
132
0.75319
339
3,213
6.849558
0.327434
0.170543
0.20155
0.081395
0.335917
0.261843
0.261843
0.198105
0.198105
0.05857
0
0.010216
0.177404
3,213
70
133
45.9
0.868331
0.070028
0
0.117647
0
0
0.028514
0.028514
0
0
0
0
0.137255
1
0.078431
false
0
0.156863
0
0.254902
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
bcc42ccd65339f4bd114a9222c97901832bd56fd
838
py
Python
src/config.py
oss-spanish-geoserver/carto-waze-lambda
ff19dc645e73545da4bb1f886904248b8616a726
[ "BSD-3-Clause" ]
3
2017-10-23T14:55:34.000Z
2021-08-12T15:00:52.000Z
src/config.py
oss-spanish-geoserver/carto-waze-lambda
ff19dc645e73545da4bb1f886904248b8616a726
[ "BSD-3-Clause" ]
1
2018-05-31T18:30:48.000Z
2018-05-31T18:30:48.000Z
src/config.py
oss-spanish-geoserver/carto-waze-lambda
ff19dc645e73545da4bb1f886904248b8616a726
[ "BSD-3-Clause" ]
1
2018-08-31T08:46:27.000Z
2018-08-31T08:46:27.000Z
""" Carto Waze Lambda Connector Developed by Geographica, 2017-2018. """ import os class Config: """ Configuration parameters: - Carto API. - WAZE API - Traffico """ # Carto API CARTO_API_KEY = os.environ.get('CARTO_API_KEY') CARTO_USER = os.environ.get('CARTO_USER')...
20.95
55
0.628878
103
838
4.708738
0.330097
0.129897
0.173196
0.131959
0.146392
0
0
0
0
0
0
0.012987
0.264916
838
39
56
21.487179
0.774351
0.199284
0
0
0
0
0.176656
0.045741
0
0
0
0
0
1
0
false
0
0.052632
0
0.631579
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
bcc55151dfe238ad756054b3e7369d6a7e8067ee
420
py
Python
captain_console/account/migrations/0008_auto_20200508_1208.py
DonNinja/VLN-2
54ba1bdc8530667c99a0da538bf23927325708f0
[ "MIT" ]
null
null
null
captain_console/account/migrations/0008_auto_20200508_1208.py
DonNinja/VLN-2
54ba1bdc8530667c99a0da538bf23927325708f0
[ "MIT" ]
null
null
null
captain_console/account/migrations/0008_auto_20200508_1208.py
DonNinja/VLN-2
54ba1bdc8530667c99a0da538bf23927325708f0
[ "MIT" ]
null
null
null
# Generated by Django 3.0.5 on 2020-05-08 12:08 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('account', '0007_remove_account_name'), ] operations = [ migrations.AlterField( model_name='account', name='profile_i...
22.105263
75
0.619048
46
420
5.5
0.73913
0.086957
0
0
0
0
0
0
0
0
0
0.061688
0.266667
420
18
76
23.333333
0.75974
0.107143
0
0
1
0
0.171582
0.064343
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
bcc779480356e11d2a67d517b7e76f64b027a77e
8,812
py
Python
modules/liftover/2.0/src/convert_for_liftover.py
LCR-BCCRC/pipelines
0cf2b50b501806be1d1a507a7c0e1eb91323c8ae
[ "MIT" ]
null
null
null
modules/liftover/2.0/src/convert_for_liftover.py
LCR-BCCRC/pipelines
0cf2b50b501806be1d1a507a7c0e1eb91323c8ae
[ "MIT" ]
null
null
null
modules/liftover/2.0/src/convert_for_liftover.py
LCR-BCCRC/pipelines
0cf2b50b501806be1d1a507a7c0e1eb91323c8ae
[ "MIT" ]
null
null
null
""" This script will convert segmentation files into BED format for conversion of genomic coordinates by liftOver tool. In addition, this script can generate segmentation file from BED file after liftOver conversion. """ #!/usr/bin/python import pandas as pd import argparse import simplejson import sys def main()...
39.873303
155
0.676464
1,250
8,812
4.6464
0.2016
0.032197
0.020489
0.01584
0.293733
0.264807
0.256543
0.205923
0.173209
0.134642
0
0.005355
0.215956
8,812
220
156
40.054545
0.835287
0.264753
0
0.105691
1
0
0.184419
0
0
0
0
0
0
1
0.065041
false
0
0.03252
0
0.113821
0.00813
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
bcc957e7e729601d20f2bafabffb01a3d6486109
918
py
Python
infrastructure/basic_setup.py
junbohuang/HearYou
8289d99ad6c0ab71725ad48c27b89e28551536ee
[ "Apache-2.0" ]
null
null
null
infrastructure/basic_setup.py
junbohuang/HearYou
8289d99ad6c0ab71725ad48c27b89e28551536ee
[ "Apache-2.0" ]
null
null
null
infrastructure/basic_setup.py
junbohuang/HearYou
8289d99ad6c0ab71725ad48c27b89e28551536ee
[ "Apache-2.0" ]
null
null
null
import os import shutil import sys import pandas as pd import numpy as np from helper_function import * def main(): if not os.path.exists("./emotion_data.csv"): get_csv() else: pass if not os.path.exists("./data/iemocap/wav_train/") and \ os.path.exists("./data/iemocap/wav_valid/")...
21.857143
90
0.61329
124
918
4.346774
0.459677
0.044527
0.089054
0.089054
0.19666
0.155844
0.107607
0
0
0
0
0.008746
0.252723
918
41
91
22.390244
0.776968
0
0
0.076923
0
0
0.224401
0.105664
0
0
0
0
0
1
0.038462
false
0.076923
0.230769
0
0.269231
0.115385
0
0
0
null
0
0
0
0
0
0
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
bcce0061fe8304d4d4aa04ba23bbf48ff6152551
341
py
Python
provider/migrations/0008_remove_provider_anonymous_status.py
iDevam/FoodPantry
fe0b64813b895e53ce7675d4316e1dbc96cdf7c9
[ "MIT" ]
null
null
null
provider/migrations/0008_remove_provider_anonymous_status.py
iDevam/FoodPantry
fe0b64813b895e53ce7675d4316e1dbc96cdf7c9
[ "MIT" ]
null
null
null
provider/migrations/0008_remove_provider_anonymous_status.py
iDevam/FoodPantry
fe0b64813b895e53ce7675d4316e1dbc96cdf7c9
[ "MIT" ]
8
2020-04-21T01:45:14.000Z
2020-09-19T13:10:04.000Z
# Generated by Django 2.2.5 on 2020-05-08 21:24 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('provider', '0007_provider_user_name'), ] operations = [ migrations.RemoveField( model_name='provider', name='anonymous_statu...
18.944444
48
0.607038
36
341
5.611111
0.75
0
0
0
0
0
0
0
0
0
0
0.077869
0.284457
341
17
49
20.058824
0.75
0.131965
0
0
1
0
0.187075
0.078231
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
bcd38cca164b325082e89c2ba13ddf274a510c4d
595
py
Python
ui/migrations/0027_edx_course_admin_group.py
mitodl/odl-video-service
9a292c88aa475f2ce720a93a769f7b46bcd8fa62
[ "BSD-3-Clause" ]
3
2017-08-19T02:00:28.000Z
2022-01-11T20:53:37.000Z
ui/migrations/0027_edx_course_admin_group.py
mitodl/odl-video-service
9a292c88aa475f2ce720a93a769f7b46bcd8fa62
[ "BSD-3-Clause" ]
915
2017-04-18T15:46:40.000Z
2022-03-23T17:47:03.000Z
ui/migrations/0027_edx_course_admin_group.py
mitodl/odl-video-service
9a292c88aa475f2ce720a93a769f7b46bcd8fa62
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 2.1.11 on 2020-03-19 21:34 from django.db import migrations from django.contrib.auth.models import Group EDX_ADMIN_GROUP = "edX Course Admin" def create_edx_course_admin_group(*args, **kwargs): """ Ensures that an auth group exists for users that can edit edX course info """ Gr...
23.8
86
0.721008
81
595
5.098765
0.617284
0.096852
0.101695
0.096852
0.121065
0
0
0
0
0
0
0.041322
0.186555
595
24
87
24.791667
0.811983
0.203361
0
0
1
0
0.093886
0.054585
0
0
0
0
0
1
0.083333
false
0
0.166667
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bcd4b266c08026324ada7f04c0b650f6c37be8af
4,381
py
Python
CreateNCService.py
rohun-tripati/pythonRepo
91a7d536f7be05adc15e4d5add0a8a4a08c28c62
[ "Unlicense" ]
1
2018-06-25T19:20:48.000Z
2018-06-25T19:20:48.000Z
CreateNCService.py
rohun-tripati/pythonRepo
91a7d536f7be05adc15e4d5add0a8a4a08c28c62
[ "Unlicense" ]
null
null
null
CreateNCService.py
rohun-tripati/pythonRepo
91a7d536f7be05adc15e4d5add0a8a4a08c28c62
[ "Unlicense" ]
null
null
null
import sys, time, os from os import walk import InfoForDifferentFolders as ID def process(pathname): dirs = [] for (r,d,f) in walk(pathname): dirs.extend(d) break for g1 in dirs: pathname = pathname.rstrip("/") + "/" + g1 dirs2 = [] for (r,d,f) in walk(pathname): dirs2.extend(d) break return path...
32.451852
168
0.68546
611
4,381
4.903437
0.289689
0.036048
0.020027
0.029039
0.466622
0.436582
0.418558
0.405207
0.405207
0.405207
0
0.016129
0.207487
4,381
135
169
32.451852
0.846774
0.205204
0
0.432692
0
0.009615
0.091434
0
0
0
0
0
0
0
null
null
0
0.028846
null
null
0.067308
0
0
0
null
0
0
0
0
0
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
bcd7299b2b2d105bc811bf85ccddb4adecb95633
617
py
Python
docker_sdk_api/application/dataset/services/dataset_service.py
hadikoub/BMW-TensorFlow-Training-GUI
0c18e65529b3fcb6a7ea9e57f8e4e2e5e6e93d5d
[ "Apache-2.0" ]
1
2020-06-22T12:56:58.000Z
2020-06-22T12:56:58.000Z
docker_sdk_api/application/dataset/services/dataset_service.py
hadikoub/BMW-TensorFlow-Training-GUI
0c18e65529b3fcb6a7ea9e57f8e4e2e5e6e93d5d
[ "Apache-2.0" ]
null
null
null
docker_sdk_api/application/dataset/services/dataset_service.py
hadikoub/BMW-TensorFlow-Training-GUI
0c18e65529b3fcb6a7ea9e57f8e4e2e5e6e93d5d
[ "Apache-2.0" ]
null
null
null
from application.paths.services.path_service import PathService from domain.services.contract.abstract_dataset_service import AbstractDatasetService from typing import List import os from domain.models.paths import Paths from domain.exceptions.dataset_exception import DatasetPathNotFound class DatasetService(Abstract...
34.277778
84
0.76175
72
617
6.319444
0.5
0.065934
0
0
0
0
0
0
0
0
0
0
0.168558
617
17
85
36.294118
0.88694
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
bcda8bef721165c9e2f88ca06a7bc7e15c0f01da
1,931
py
Python
switchmate/switch.py
dwaq/Pi-Lamp
e745e5c0b691b6983b959ffb9c05829e9ce2dfc0
[ "CC-BY-3.0" ]
1
2018-05-25T14:07:17.000Z
2018-05-25T14:07:17.000Z
switchmate/switch.py
dwaq/Pi-Lamp
e745e5c0b691b6983b959ffb9c05829e9ce2dfc0
[ "CC-BY-3.0" ]
6
2017-02-11T21:51:09.000Z
2018-01-23T13:31:53.000Z
switchmate/switch.py
dwaq/Pi-Lamp
e745e5c0b691b6983b959ffb9c05829e9ce2dfc0
[ "CC-BY-3.0" ]
null
null
null
#! /usr/bin/env python """switch.py A python-based command line utility for switching Switchmate switches Usage: ./switch.py <mac_address> <auth_key> [on | off] """ import struct import sys import ctypes from docopt import docopt from bluepy.btle import DefaultDelegate, Peripheral, ADDR_TYPE_RANDOM from binascii ...
22.988095
79
0.716727
264
1,931
5.049242
0.488636
0.021005
0.021005
0
0
0
0
0
0
0
0
0.030544
0.152253
1,931
83
80
23.26506
0.783751
0.040394
0
0.039216
0
0
0.09875
0
0
0
0.03
0
0
0
null
null
0
0.117647
null
null
0.098039
0
0
0
null
0
0
0
0
0
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
bcdb4e5327d53b177a9cd60aa010d45b7adb9107
22,336
py
Python
test/test_source_gdal.py
girder/large_image
b6c6d42fb8b6b4767323d49117ff5928cc5d3536
[ "Apache-2.0" ]
85
2017-03-10T09:48:17.000Z
2022-03-31T18:55:58.000Z
test/test_source_gdal.py
girder/large_image
b6c6d42fb8b6b4767323d49117ff5928cc5d3536
[ "Apache-2.0" ]
248
2017-01-27T16:11:13.000Z
2022-03-31T14:05:18.000Z
test/test_source_gdal.py
girder/large_image
b6c6d42fb8b6b4767323d49117ff5928cc5d3536
[ "Apache-2.0" ]
33
2017-03-10T14:06:35.000Z
2022-03-19T08:32:06.000Z
import glob import io import json import os import large_image_source_gdal import numpy import PIL.Image import PIL.ImageChops import pytest from large_image import constants from large_image.exceptions import TileSourceError from . import utilities from .datastore import datastore def _assertImageMatches(image, t...
44.761523
94
0.669905
2,678
22,336
5.486557
0.146378
0.113932
0.086572
0.059892
0.723338
0.694004
0.658137
0.626761
0.616212
0.602396
0
0.077998
0.179755
22,336
498
95
44.851406
0.723978
0.055919
0
0.582278
0
0.002532
0.141199
0.009657
0
0
0
0
0.394937
1
0.058228
false
0
0.032911
0
0.091139
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
bcdd3c622218a70bc9fae99c38f47a45298a8747
3,248
py
Python
src/hyperloop/Python/tests/test_cycle_group.py
jcchin/Hyperloop_v2
73861d2207af8738425c1d484909ed0433b9653f
[ "Apache-2.0" ]
1
2021-04-29T00:23:03.000Z
2021-04-29T00:23:03.000Z
src/hyperloop/Python/tests/test_cycle_group.py
jcchin/Hyperloop_v2
73861d2207af8738425c1d484909ed0433b9653f
[ "Apache-2.0" ]
9
2016-11-23T09:10:34.000Z
2016-12-06T01:10:09.000Z
src/hyperloop/Python/tests/test_cycle_group.py
jcchin/Hyperloop_v2
73861d2207af8738425c1d484909ed0433b9653f
[ "Apache-2.0" ]
11
2016-01-19T20:26:35.000Z
2021-02-13T11:16:20.000Z
""" Test for cycle_group.py. Uses test values and outputs given by NPSS """ from __future__ import print_function import numpy as np from openmdao.api import Group, Problem, IndepVarComp from openmdao.core.group import Group, Component, IndepVarComp from openmdao.solvers.newton import Newton from openmdao.api import ...
41.113924
108
0.669643
458
3,248
4.611354
0.373362
0.06392
0.06392
0.05303
0.222538
0.198864
0.123106
0.123106
0.107955
0.038826
0
0.040732
0.176108
3,248
78
109
41.641026
0.748505
0.033251
0
0
0
0
0.231555
0.109869
0
0
0
0
0.160714
1
0.035714
false
0
0.303571
0
0.375
0.017857
0
0
0
null
0
0
0
0
0
0
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
bce9fd21da1cbdae904f79209e84c3744b5a2890
432
py
Python
search/forms.py
DanieleSpera/from10to1000
964b05d4c3aabf9c6634cce96a17f54d23571055
[ "MIT" ]
null
null
null
search/forms.py
DanieleSpera/from10to1000
964b05d4c3aabf9c6634cce96a17f54d23571055
[ "MIT" ]
null
null
null
search/forms.py
DanieleSpera/from10to1000
964b05d4c3aabf9c6634cce96a17f54d23571055
[ "MIT" ]
null
null
null
from django.forms import ModelForm from ftft.canzoni.models import canzone from django import forms class songform(ModelForm): gruppo = forms.CharField() genere = forms.CharField() def __init__(self, *args, **kwargs): super(songform, self).__init__(*args, **kwargs) # Making name required ...
21.6
56
0.662037
49
432
5.673469
0.632653
0.071942
0
0
0
0
0
0
0
0
0
0
0.224537
432
19
57
22.736842
0.829851
0.046296
0
0
0
0
0.043902
0
0
0
0
0
0
1
0.083333
false
0
0.25
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
bceb36237e949cef2f8bff3fee000e7f22eff025
479
py
Python
calculator/operations/multiplication.py
jharilal/calculator_assignment
dd32ff4c38737748502fa42ec550f10cf8142ad4
[ "MIT" ]
null
null
null
calculator/operations/multiplication.py
jharilal/calculator_assignment
dd32ff4c38737748502fa42ec550f10cf8142ad4
[ "MIT" ]
null
null
null
calculator/operations/multiplication.py
jharilal/calculator_assignment
dd32ff4c38737748502fa42ec550f10cf8142ad4
[ "MIT" ]
null
null
null
"""Multiplication method that inherits value_a and value_b from the calculation class and multiplies the values""" from calculator.operations.calculation import Calculation class Multiplication(Calculation): """Creates the multiplication object for the Calculator class""" def get_result(self): """Get...
31.933333
114
0.713987
59
479
5.694915
0.542373
0.080357
0.136905
0
0
0
0
0
0
0
0
0.002681
0.221294
479
14
115
34.214286
0.898123
0.442589
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.571429
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
bcf2f9ac3ee75787cf8857ca1ce2e7f0164dd61c
1,661
py
Python
bokeh/sphinxext/bokeh_sitemap.py
pyjsdev/googlemap_flask
9d0dd899a9cbf756b3d83c33e3d8a47e7db40cc5
[ "BSD-3-Clause" ]
6
2018-02-13T11:06:40.000Z
2020-10-23T09:30:46.000Z
bokeh/sphinxext/bokeh_sitemap.py
adsbxchange/bokeh
47aa8f8420944c47e876c1c36be182d257c14b87
[ "BSD-3-Clause" ]
6
2018-11-29T15:40:20.000Z
2021-05-07T14:59:30.000Z
bokeh/sphinxext/bokeh_sitemap.py
adsbxchange/bokeh
47aa8f8420944c47e876c1c36be182d257c14b87
[ "BSD-3-Clause" ]
3
2020-04-28T17:47:50.000Z
2021-04-05T06:11:46.000Z
""" Generate a ``sitemap.txt`` to aid with search indexing. ``sitemap.txt`` is a plain text list of all the pages in the docs site. Each URL is listed on a line in the text file. It is machine readable and used by search engines to know what pages are available for indexing. All that is required to generate the sitem...
33.897959
73
0.651415
227
1,661
4.678414
0.46696
0.047081
0.056497
0.035782
0
0
0
0
0
0
0
0
0.249849
1,661
48
74
34.604167
0.852327
0.346779
0
0
1
0
0.130639
0
0
0
0
0
0
1
0.125
false
0
0.166667
0
0.291667
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
bcf5e13005eb4cee45195ed6ab42819906d36246
2,428
py
Python
dragon/python/core/autograph/context.py
seetaresearch/Dragon
494774d3a545f807d483fd9e6e4563cedec6dda5
[ "BSD-2-Clause" ]
81
2018-03-13T13:08:37.000Z
2020-06-13T14:36:29.000Z
dragon/python/core/autograph/context.py
seetaresearch/Dragon
494774d3a545f807d483fd9e6e4563cedec6dda5
[ "BSD-2-Clause" ]
2
2019-08-07T09:26:07.000Z
2019-08-26T07:33:55.000Z
dragon/python/core/autograph/context.py
seetaresearch/Dragon
494774d3a545f807d483fd9e6e4563cedec6dda5
[ "BSD-2-Clause" ]
13
2018-03-13T13:08:50.000Z
2020-05-28T08:20:22.000Z
# ------------------------------------------------------------ # Copyright (c) 2017-present, SeetaTech, Co.,Ltd. # # Licensed under the BSD 2-Clause License. # You should have received a copy of the BSD 2-Clause License # along with the software. If not, See, # # <https://opensource.org/licenses/BSD-2-Clause> # # C...
25.557895
95
0.637562
286
2,428
5.15035
0.342657
0.033265
0.035302
0.038697
0.067889
0
0
0
0
0
0
0.004186
0.212932
2,428
94
96
25.829787
0.766614
0.374382
0
0.130435
0
0
0.034364
0
0
0
0
0
0
1
0.217391
false
0
0.108696
0
0.5
0.021739
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
bcf77d868bcd97d4e8992815c7e911e3c52b9122
3,178
py
Python
Library/Utilities/fftw++-2.05/mpi/testfft3.py
stevend12/SolutioCpp
6fa8a12207cd1e7e806a8ef5de93dc137c33856e
[ "Apache-2.0" ]
9
2017-06-27T14:04:46.000Z
2022-02-17T17:38:03.000Z
Library/Utilities/fftw++-2.05/mpi/testfft3.py
stevend12/SolutioCpp
6fa8a12207cd1e7e806a8ef5de93dc137c33856e
[ "Apache-2.0" ]
null
null
null
Library/Utilities/fftw++-2.05/mpi/testfft3.py
stevend12/SolutioCpp
6fa8a12207cd1e7e806a8ef5de93dc137c33856e
[ "Apache-2.0" ]
3
2017-06-23T20:10:44.000Z
2021-01-13T10:09:46.000Z
#!/usr/bin/python -u import sys # so that we can return a value at the end. import random # for randum number generators import time import getopt import os.path from testutils import * pname = "fft3" timeout = 300 # cutoff time in seconds def main(argv): print "MPI fft3 unit test" retval = 0 usage = "Us...
28.630631
70
0.445563
375
3,178
3.754667
0.341333
0.06392
0.059659
0.068182
0.104403
0.097301
0.044744
0.044744
0.044744
0
0
0.043431
0.42039
3,178
110
71
28.890909
0.720955
0.035557
0
0.043956
0
0
0.096374
0
0
0
0
0
0
0
null
null
0
0.065934
null
null
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
bcf802130b6693859c6cae23d521c03ad0907b00
504
py
Python
webdev/produtos/migrations/0012_alter_produto_data_criacao.py
h-zanetti/jewelry-manager
74166b89f492303b8ebf5ff8af058f394eb2a28b
[ "MIT" ]
null
null
null
webdev/produtos/migrations/0012_alter_produto_data_criacao.py
h-zanetti/jewelry-manager
74166b89f492303b8ebf5ff8af058f394eb2a28b
[ "MIT" ]
103
2021-04-25T21:28:11.000Z
2022-03-15T01:36:31.000Z
webdev/produtos/migrations/0012_alter_produto_data_criacao.py
h-zanetti/jewelry-manager
74166b89f492303b8ebf5ff8af058f394eb2a28b
[ "MIT" ]
null
null
null
# Generated by Django 3.2.8 on 2022-01-08 15:47 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('produtos', '0011_auto_20211006_2245'), ] operations = [ migrations.AlterField( model_name='produto'...
25.2
131
0.652778
58
504
5.568966
0.758621
0.068111
0.117647
0
0
0
0
0
0
0
0
0.080311
0.234127
504
19
132
26.526316
0.756477
0.089286
0
0
1
0
0.142232
0.050328
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
bcf88c844f0e3102370b0e20cd29ad93c8d4ecfd
809
py
Python
src/users/models/componentsschemasmicrosoft_graph_plannerbuckettaskboardtaskformatallof1.py
peombwa/Sample-Graph-Python-Client
3396f531fbe6bb40a740767c4e31aee95a3b932e
[ "MIT" ]
null
null
null
src/users/models/componentsschemasmicrosoft_graph_plannerbuckettaskboardtaskformatallof1.py
peombwa/Sample-Graph-Python-Client
3396f531fbe6bb40a740767c4e31aee95a3b932e
[ "MIT" ]
null
null
null
src/users/models/componentsschemasmicrosoft_graph_plannerbuckettaskboardtaskformatallof1.py
peombwa/Sample-Graph-Python-Client
3396f531fbe6bb40a740767c4e31aee95a3b932e
[ "MIT" ]
null
null
null
# coding=utf-8 # -------------------------------------------------------------------------- # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. # -------------------------------------------------------------------------- from ...
32.36
101
0.595797
64
809
7.28125
0.703125
0.11588
0.055794
0.072961
0
0
0
0
0
0
0
0.004348
0.147095
809
24
102
33.708333
0.671014
0.467244
0
0
1
0
0.071253
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bcfd171ddbe89bc8381a00b8f9e5efe7d1e91011
543
py
Python
randStringSender.py
Lyrenhex/bHive
5a57b2b12002d9644a496809dce13226dc2a0403
[ "MIT" ]
3
2019-04-09T20:15:12.000Z
2019-04-10T23:53:07.000Z
randStringSender.py
Lyrenhex/bHive
5a57b2b12002d9644a496809dce13226dc2a0403
[ "MIT" ]
1
2019-04-10T23:21:02.000Z
2019-06-10T09:57:46.000Z
randStringSender.py
Lyrenhex/bHive
5a57b2b12002d9644a496809dce13226dc2a0403
[ "MIT" ]
3
2018-05-03T19:57:20.000Z
2019-04-09T10:39:43.000Z
""" A micro:bit MicroPython implementation of a random string sender for testing's sake. """ from microbit import * import random import radio radio.on() radio.config() primes = [2, 3, 5, 7, 11, 13, 17, 19] e = random.choice(primes) while True: p = random.choice(primes) if p % e != -1: break ...
15.514286
84
0.546961
89
543
3.337079
0.494382
0.121212
0.181818
0.13468
0
0
0
0
0
0
0
0.053985
0.28361
543
35
85
15.514286
0.709512
0.154696
0
0.217391
0
0
0.004425
0
0
0
0
0
0
1
0
false
0
0.130435
0
0.130435
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
4c0059aaea18844ead873943f6c97cad1695a9ef
2,475
py
Python
sdk/python/tests/test_pipeline_template.py
tomclegg/arvados
138eedbea2658ef397c7a58ce48d6f06077ba140
[ "Apache-2.0" ]
null
null
null
sdk/python/tests/test_pipeline_template.py
tomclegg/arvados
138eedbea2658ef397c7a58ce48d6f06077ba140
[ "Apache-2.0" ]
null
null
null
sdk/python/tests/test_pipeline_template.py
tomclegg/arvados
138eedbea2658ef397c7a58ce48d6f06077ba140
[ "Apache-2.0" ]
null
null
null
from __future__ import absolute_import # usage example: # # ARVADOS_API_TOKEN=abc ARVADOS_API_HOST=arvados.local python -m unittest discover import unittest import arvados import apiclient from . import run_test_server class PipelineTemplateTest(run_test_server.TestCaseWithServers): MAIN_SERVER = {} KEEP_SERV...
41.949153
82
0.552323
247
2,475
5.291498
0.336032
0.050497
0.061209
0.076511
0.371844
0.179801
0.087223
0.087223
0.087223
0.087223
0
0.005338
0.318788
2,475
58
83
42.672414
0.76987
0.038384
0
0.134615
0
0
0.175084
0
0
0
0
0
0.134615
1
0.019231
false
0.057692
0.096154
0
0.173077
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
4c006045c2b201f0aac1a46a36b45534e0505337
1,465
py
Python
{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/services/cms_service.py
mikeckennedy/cookiecutter-pyramid-talk-python-starter
9d6664695d73717e30e0410e3635ef22d14fb217
[ "MIT" ]
66
2017-03-17T05:59:24.000Z
2020-01-23T07:05:23.000Z
{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/services/cms_service.py
mikeckennedy/cookiecutter-pyramid-talk-python-starter
9d6664695d73717e30e0410e3635ef22d14fb217
[ "MIT" ]
5
2017-09-05T04:15:47.000Z
2019-07-21T17:33:10.000Z
{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/services/cms_service.py
mikeckennedy/cookiecutter-pyramid-talk-python-starter
9d6664695d73717e30e0410e3635ef22d14fb217
[ "MIT" ]
11
2017-03-18T09:03:19.000Z
2020-12-19T08:07:48.000Z
from {{cookiecutter.project_slug}}.data.cms_page import CmsPage from {{cookiecutter.project_slug}}.data.dbsession import DbSessionFactory class CmsService: @classmethod def get_page_by_url(cls, url): if not url: return None url = url.lower().strip() session = DbSessionFact...
25.701754
78
0.562457
175
1,465
4.565714
0.388571
0.037547
0.057572
0.067584
0.217772
0.140175
0.140175
0.140175
0.140175
0
0
0.002051
0.334471
1,465
56
79
26.160714
0.817436
0
0
0.214286
0
0
0.138567
0.022526
0
0
0
0
0
0
null
null
0
0.047619
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
4c00d727dbbae27befd3618a4875ea069cae6283
2,092
py
Python
pgbdd/qbenchmarks/data-ghostq/grab_time.py
jreeves3/qbf-definition-variable-movement-Artifact
7a241df16d494baacb59eec730f81058f0289c45
[ "MIT" ]
3
2020-11-18T15:25:45.000Z
2021-03-29T13:52:46.000Z
pgbdd/qbenchmarks/data-ghostq/grab_time.py
jreeves3/qbf-definition-variable-movement-Artifact
7a241df16d494baacb59eec730f81058f0289c45
[ "MIT" ]
null
null
null
pgbdd/qbenchmarks/data-ghostq/grab_time.py
jreeves3/qbf-definition-variable-movement-Artifact
7a241df16d494baacb59eec730f81058f0289c45
[ "MIT" ]
null
null
null
#!/usr/bin/python import sys import re # Generate csv of number specified on target line # Extracts problem sizes N from file name containing substrings of form -N- # Sample line # #Seed: 1. true. Bt:407409, Dec:2326631. T: 267.872 s. triggerPhrase = "T:" def trim(s): while len(s) > 0 and s[-1] == '\n': ...
22.021053
75
0.547801
274
2,092
4.153285
0.390511
0.02109
0.031634
0.02812
0.110721
0.110721
0.110721
0
0
0
0
0.023758
0.336042
2,092
94
76
22.255319
0.795536
0.1587
0
0.279412
1
0
0.069103
0
0
0
0
0
0
1
0.117647
false
0
0.029412
0.029412
0.308824
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4c169e6210896dea422f4260d169daef558498dd
368
wsgi
Python
index.wsgi
mjn693/captainbot
5e8bc2e8b8c4c4bf93bd6696f818b93a3b671fec
[ "MIT" ]
null
null
null
index.wsgi
mjn693/captainbot
5e8bc2e8b8c4c4bf93bd6696f818b93a3b671fec
[ "MIT" ]
null
null
null
index.wsgi
mjn693/captainbot
5e8bc2e8b8c4c4bf93bd6696f818b93a3b671fec
[ "MIT" ]
null
null
null
# coding: UTF-8 import os import sae import web from weixinInterface import WeixinInterface urls = ( '/weixin','WeixinInterface' ) app_root = os.path.dirname(__file__) templates_root = os.path.join(app_root, 'templates') render = web.template.render(templates_root) app = web.application(urls, globals()).wsgifunc()...
19.368421
57
0.75
48
368
5.541667
0.520833
0.052632
0.075188
0
0
0
0
0
0
0
0
0.003125
0.130435
368
18
58
20.444444
0.828125
0.035326
0
0
0
0
0.087819
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
4c1736de6a7e870836f964496fc0471ff71ae969
983
py
Python
w3copentracing/context.py
eyjohn/w3copentracing-python
32f784fb059150aa5ff7dae193800c9b22a8145d
[ "Apache-2.0" ]
null
null
null
w3copentracing/context.py
eyjohn/w3copentracing-python
32f784fb059150aa5ff7dae193800c9b22a8145d
[ "Apache-2.0" ]
null
null
null
w3copentracing/context.py
eyjohn/w3copentracing-python
32f784fb059150aa5ff7dae193800c9b22a8145d
[ "Apache-2.0" ]
null
null
null
import opentracing import secrets from typing import Optional, Dict from dataclasses import dataclass @dataclass class SpanContext(opentracing.SpanContext): """W3C compatible SpanContext satisfies the opentracing.SpanContext contract. This object consists of: - trace_id of 16 bytes (printed as hex) -...
26.567568
81
0.646999
130
983
4.692308
0.407692
0.057377
0.045902
0.055738
0.137705
0.098361
0
0
0
0
0
0.009346
0.238047
983
36
82
27.305556
0.805073
0.245168
0
0
0
0
0.223629
0.219409
0
0
0
0
0
1
0.15
false
0
0.2
0.15
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
4c1c40d606ae592b04eee4a4514780af2d5030ae
15,139
py
Python
sdk/python/pulumi_kubernetes/auditregistration/v1alpha1/outputs.py
sunbing81/pulumi-kubernetes
8de6b379b00e2ab95b24bc176de8b329c670d7cd
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_kubernetes/auditregistration/v1alpha1/outputs.py
sunbing81/pulumi-kubernetes
8de6b379b00e2ab95b24bc176de8b329c670d7cd
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_kubernetes/auditregistration/v1alpha1/outputs.py
sunbing81/pulumi-kubernetes
8de6b379b00e2ab95b24bc176de8b329c670d7cd
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by pulumigen. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from . import outpu...
41.705234
321
0.650439
1,915
15,139
5.029243
0.155091
0.017755
0.025646
0.037483
0.696293
0.67345
0.627557
0.594123
0.556536
0.533278
0
0.00446
0.259396
15,139
362
322
41.820442
0.854531
0.496664
0
0.353933
1
0
0.107868
0.046638
0
0
0
0
0
1
0.185393
false
0
0.039326
0.044944
0.410112
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
4c206c28f4711a2af65064abaaff1264c3b70802
1,263
py
Python
net_prep.py
Aida-Rahmattalabi/node2vec
e745464ff8e072d2e675eb786e6aa78d609d4a8f
[ "MIT" ]
null
null
null
net_prep.py
Aida-Rahmattalabi/node2vec
e745464ff8e072d2e675eb786e6aa78d609d4a8f
[ "MIT" ]
null
null
null
net_prep.py
Aida-Rahmattalabi/node2vec
e745464ff8e072d2e675eb786e6aa78d609d4a8f
[ "MIT" ]
null
null
null
import networkx as nx import pandas as pd # file = open('/Users/aida/Dropbox/PhD/Internship/RegLab/COVID-Outbreak/node2vec/emb/karate_1.txt') # i = 0 # for line in file: # line = line.strip() # line = line.split(' ') # line = [float(i) for i in line] # print(i , line) # i += 1 df = pd.read_csv('/Users/aid...
30.071429
126
0.76247
193
1,263
4.803109
0.341969
0.038835
0.06904
0.081985
0.618123
0.570658
0.508091
0.367853
0.272923
0.212513
0
0.01227
0.096595
1,263
41
127
30.804878
0.800175
0.410926
0
0.166667
0
0.25
0.407967
0.375
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4c2584ed948d31b3c75efb85467ec53325f5ed2e
12,704
py
Python
adaptnlp/question_answering.py
ElliottP-13/adaptnlp
7c6d8296ed19f6dfd23032bbc1caba0917dd0d0a
[ "Apache-2.0" ]
null
null
null
adaptnlp/question_answering.py
ElliottP-13/adaptnlp
7c6d8296ed19f6dfd23032bbc1caba0917dd0d0a
[ "Apache-2.0" ]
null
null
null
adaptnlp/question_answering.py
ElliottP-13/adaptnlp
7c6d8296ed19f6dfd23032bbc1caba0917dd0d0a
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: nbs/10_question_answering.ipynb (unless otherwise specified). __all__ = ['logger', 'QACallback', 'TransformersQuestionAnswering', 'EasyQuestionAnswering'] # Cell import logging from typing import Tuple, List, Union, Dict from collections import OrderedDict, defaultdict from...
37.364706
162
0.61335
1,415
12,704
5.2947
0.234629
0.009343
0.020822
0.016017
0.230112
0.191137
0.156967
0.156967
0.144955
0.128671
0
0.00588
0.30392
12,704
340
163
37.364706
0.841343
0.254408
0
0.254237
1
0.004237
0.049898
0.015627
0
0
0
0.002941
0.008475
1
0.04661
false
0
0.059322
0
0.152542
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
4c2a2ad096c02b15aa05d7dc448034409b39ba4e
1,070
py
Python
scripts/labelbox2pascal/test/test_labelbox2pascal.py
AromaAI/Labelbox
65720d6b2080b9b030538a6604f21bc79e8440bc
[ "Apache-2.0" ]
3
2021-03-16T23:49:50.000Z
2022-03-01T17:25:19.000Z
scripts/labelbox2pascal/test/test_labelbox2pascal.py
LouiseKlodt/Labelbox
31e35e01fddaeac3fca8e502184ff2a5ec0a4452
[ "Apache-2.0" ]
null
null
null
scripts/labelbox2pascal/test/test_labelbox2pascal.py
LouiseKlodt/Labelbox
31e35e01fddaeac3fca8e502184ff2a5ec0a4452
[ "Apache-2.0" ]
4
2020-12-08T20:56:51.000Z
2022-01-13T20:31:39.000Z
import os import labelbox2pascal as lb2pa class TestFromJSON(): def results_output(self): TEST_OUTPUT_DIR = 'test-results' if not os.path.isdir(TEST_OUTPUT_DIR): os.makedirs(TEST_OUTPUT_DIR) return TEST_OUTPUT_DIR def test_wkt_1(self): lb2pa.from_json('test-fixture...
33.4375
79
0.597196
127
1,070
4.732283
0.275591
0.194676
0.22629
0.113145
0.567388
0.567388
0.567388
0.505824
0.432612
0.282862
0
0.018817
0.304673
1,070
31
80
34.516129
0.788978
0
0
0.24
0
0
0.136449
0.114019
0
0
0
0
0
1
0.2
false
0.04
0.08
0
0.36
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
4c32fd99b33d370302ab3100d8ec021541c28c45
809
py
Python
fdm/utils.py
szajek/FDM
6270b0eb2bf3ef80f2ed87d0f39cf39ab82ae02b
[ "MIT" ]
1
2017-11-12T09:57:52.000Z
2017-11-12T09:57:52.000Z
fdm/utils.py
szajek/FDM
6270b0eb2bf3ef80f2ed87d0f39cf39ab82ae02b
[ "MIT" ]
null
null
null
fdm/utils.py
szajek/FDM
6270b0eb2bf3ef80f2ed87d0f39cf39ab82ae02b
[ "MIT" ]
null
null
null
class Immutable(type): def __new__(msc, name, bases, nmspc): new_class = type(name, bases, nmspc) original_initialization = new_class.__init__ def set_attribute(self, key, value): raise AttributeError("Attributes are immutable") def wrapper(self, *args, **kwargs): ...
26.096774
60
0.627936
87
809
5.367816
0.436782
0.102784
0.059957
0.072805
0.124197
0.124197
0
0
0
0
0
0
0.285538
809
30
61
26.966667
0.807958
0
0
0
0
0
0.029666
0
0
0
0
0
0
1
0.238095
false
0
0
0
0.47619
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
4c34f66fe75a2cadbc9bcca6095c2c9688e506d8
5,061
py
Python
capi/test/test_path_interpolator.py
vatula/capi
ee2f4c01bd4458d71893b850aa95051cd8ebda90
[ "MIT" ]
null
null
null
capi/test/test_path_interpolator.py
vatula/capi
ee2f4c01bd4458d71893b850aa95051cd8ebda90
[ "MIT" ]
null
null
null
capi/test/test_path_interpolator.py
vatula/capi
ee2f4c01bd4458d71893b850aa95051cd8ebda90
[ "MIT" ]
null
null
null
import os import typing import unittest from haversine import haversine # type: ignore from capi.src.implementation.dtos.coordinate import Coordinate from capi.src.implementation.path_interpolator import PathInterpolator from capi.test.test_files.test_files_dir import TEST_FILES_DIR class TestPathInterpolator(unit...
37.488889
116
0.642363
631
5,061
4.832013
0.264659
0.183667
0.230239
0.032798
0.265661
0.19777
0.127583
0.127583
0.090849
0.088554
0
0.112025
0.255681
5,061
134
117
37.768657
0.697372
0.002371
0
0.12844
0
0
0.011492
0
0
0
0
0
0.055046
1
0.06422
false
0
0.06422
0.009174
0.174312
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
4c377c51b527618e84d5c5f286d2a87e8f7a960c
2,341
py
Python
upgrade/1.4.5/aquilon/utils.py
ned21/aquilon
6562ea0f224cda33b72a6f7664f48d65f96bd41a
[ "Apache-2.0" ]
7
2015-07-31T05:57:30.000Z
2021-09-07T15:18:56.000Z
upgrade/1.4.5/aquilon/utils.py
ned21/aquilon
6562ea0f224cda33b72a6f7664f48d65f96bd41a
[ "Apache-2.0" ]
115
2015-03-03T13:11:46.000Z
2021-09-20T12:42:24.000Z
upgrade/1.4.5/aquilon/utils.py
ned21/aquilon
6562ea0f224cda33b72a6f7664f48d65f96bd41a
[ "Apache-2.0" ]
13
2015-03-03T11:17:59.000Z
2021-09-09T09:16:41.000Z
# -*- cpy-indent-level: 4; indent-tabs-mode: nil -*- # ex: set expandtab softtabstop=4 shiftwidth=4: # # Copyright (C) 2008,2009,2010,2013 Contributor # # 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 Li...
28.54878
79
0.612559
330
2,341
4.312121
0.469697
0.042164
0.040056
0.05903
0.119466
0.075896
0.075896
0.075896
0.075896
0.075896
0
0.015873
0.273387
2,341
81
80
28.901235
0.820694
0.284067
0
0
0
0
0.076238
0
0
0
0
0
0
0
null
null
0.027778
0.055556
null
null
0.055556
0
0
0
null
0
0
0
0
0
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
4c3f80517ae4de5d13bacdb672dddb2d1752ddfb
16,693
py
Python
critiquebrainz/frontend/views/test/test_mapping.py
AbhinavOhri/critiquebrainz
d1c1c175209ec78bcced1dbfd5bd64a46be2d1f4
[ "Apache-2.0" ]
null
null
null
critiquebrainz/frontend/views/test/test_mapping.py
AbhinavOhri/critiquebrainz
d1c1c175209ec78bcced1dbfd5bd64a46be2d1f4
[ "Apache-2.0" ]
null
null
null
critiquebrainz/frontend/views/test/test_mapping.py
AbhinavOhri/critiquebrainz
d1c1c175209ec78bcced1dbfd5bd64a46be2d1f4
[ "Apache-2.0" ]
null
null
null
# critiquebrainz - Repository for Creative Commons licensed reviews # # Copyright (C) 2018 Bimalkant Lauhny. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or...
52.993651
121
0.597795
1,678
16,693
5.772348
0.144815
0.073095
0.03758
0.047491
0.758621
0.718976
0.666735
0.65094
0.606339
0.590027
0
0.068237
0.313485
16,693
314
122
53.16242
0.776963
0.123824
0
0.590517
0
0
0.240261
0.11989
0
0
0
0
0.206897
1
0.021552
false
0
0.043103
0
0.068966
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
4c3f9f42a7aa25c10c40134a1b521c2ac8a6062d
661
py
Python
backend/src/card/cards/shatter.py
LucienLuc/project-sts
02ad13b515bcefe1c1ef30f0c06104359bff613e
[ "MIT" ]
null
null
null
backend/src/card/cards/shatter.py
LucienLuc/project-sts
02ad13b515bcefe1c1ef30f0c06104359bff613e
[ "MIT" ]
null
null
null
backend/src/card/cards/shatter.py
LucienLuc/project-sts
02ad13b515bcefe1c1ef30f0c06104359bff613e
[ "MIT" ]
null
null
null
from ..card import Card class Shatter(Card): name = 'Shatter' description = 'Deal 4 damage and inflict 2 Vulnerable' mana = 2 tags = {} def on_play(self, data): enemy = data['enemies'].get(field_position__exact = data['target']) new_attack = Card.attack_modifier(self, 4, data['batt...
34.789474
103
0.623298
78
661
5.115385
0.564103
0.162907
0.180451
0.120301
0.170426
0
0
0
0
0
0
0.014228
0.255673
661
19
104
34.789474
0.796748
0
0
0
0
0
0.141994
0
0
0
0
0
0
1
0.058824
false
0
0.058824
0
0.470588
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
4c426285fc38eae3c13b5969914d0b0302033c6e
334
py
Python
src/event/event.py
Heisenberk/Calendar
79db33ac5a1dac5dcdab44b0032352440b0cdb6b
[ "MIT" ]
null
null
null
src/event/event.py
Heisenberk/Calendar
79db33ac5a1dac5dcdab44b0032352440b0cdb6b
[ "MIT" ]
null
null
null
src/event/event.py
Heisenberk/Calendar
79db33ac5a1dac5dcdab44b0032352440b0cdb6b
[ "MIT" ]
null
null
null
from event.event import * class Event: 'Common base class for all events' # Constructor of Event def __init__(title, content, date): self.title = title self.content = content self.date = date # Print Event def displayEvent(self): print("Title : " + self.title + ", Content : " + self.content + ", Date : ...
23.857143
90
0.670659
44
334
5
0.431818
0.072727
0.136364
0
0
0
0
0
0
0
0
0
0.203593
334
14
90
23.857143
0.827068
0.197605
0
0
0
0
0.203333
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.444444
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
4c476d53ea15ae2d64c99e5c41d2b1816277d538
784
py
Python
shared-data/python/tests/module/test_typechecks.py
Opentrons/labware
e21d8db51eac5818477264a45ef12c0a2d15fb72
[ "Apache-2.0" ]
2
2015-11-10T17:49:51.000Z
2016-01-15T04:43:37.000Z
shared-data/python/tests/module/test_typechecks.py
Opentrons/labware
e21d8db51eac5818477264a45ef12c0a2d15fb72
[ "Apache-2.0" ]
null
null
null
shared-data/python/tests/module/test_typechecks.py
Opentrons/labware
e21d8db51eac5818477264a45ef12c0a2d15fb72
[ "Apache-2.0" ]
null
null
null
import sys import pytest import typeguard from opentrons_shared_data import module from opentrons_shared_data.module import dev_types from . import list_v2_defs pytestmark = pytest.mark.xfail( condition=sys.version_info >= (3, 10), reason="https://github.com/agronholm/typeguard/issues/242", ) @pytest.mar...
28
76
0.776786
99
784
5.909091
0.484848
0.041026
0.064957
0.078632
0.348718
0.348718
0.348718
0.348718
0
0
0
0.02
0.107143
784
27
77
29.037037
0.815714
0
0
0
0
0
0.135204
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
4c4c517b5300ceadd239a2212412699de68c6910
16,003
py
Python
pylearn2/scripts/papers/jia_huang_wkshp_11/extract_features.py
Menerve/pylearn2
ad7bcfda3294404aebd71f5a5c4a8623d401a98e
[ "BSD-3-Clause" ]
1
2015-11-05T19:33:07.000Z
2015-11-05T19:33:07.000Z
pylearn2/scripts/papers/jia_huang_wkshp_11/extract_features.py
Menerve/pylearn2
ad7bcfda3294404aebd71f5a5c4a8623d401a98e
[ "BSD-3-Clause" ]
null
null
null
pylearn2/scripts/papers/jia_huang_wkshp_11/extract_features.py
Menerve/pylearn2
ad7bcfda3294404aebd71f5a5c4a8623d401a98e
[ "BSD-3-Clause" ]
null
null
null
""" This file implements feature extraction using the k-means + triangle code with random pooling from the Jia and Huang paper. Usage: python feature_extractor.py config.yaml config.yaml should deserialize to an extract_features.FeatureExtractor object. See the FeatureExtractor.__init__ method for documentation of o...
35.404867
155
0.607386
2,002
16,003
4.648851
0.195305
0.032664
0.020092
0.021919
0.241216
0.17417
0.149672
0.132911
0.096272
0.078436
0
0.02754
0.298881
16,003
451
156
35.48337
0.801961
0.049866
0
0.137546
0
0
0.07752
0.045932
0
0
0
0
0.081784
0
null
null
0
0.070632
null
null
0.02974
0
0
0
null
0
0
0
0
0
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
4c4feabbab67169cbb6dfec681cc07c57e16d44d
498
py
Python
unlabel_app/unlabel_backend/migrations/0015_auto_20180623_1139.py
Amechi101/unlabel_agency
f482d425753d8afe820f155bded80349b6e50db3
[ "MIT" ]
null
null
null
unlabel_app/unlabel_backend/migrations/0015_auto_20180623_1139.py
Amechi101/unlabel_agency
f482d425753d8afe820f155bded80349b6e50db3
[ "MIT" ]
null
null
null
unlabel_app/unlabel_backend/migrations/0015_auto_20180623_1139.py
Amechi101/unlabel_agency
f482d425753d8afe820f155bded80349b6e50db3
[ "MIT" ]
null
null
null
# Generated by Django 2.0.1 on 2018-06-23 11:39 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('unlabel_backend', '0014_auto_20180623_1137'), ] operations = [ migrations.RenameModel( old_name='News', new_name='Article', ...
22.636364
83
0.590361
49
498
5.816327
0.755102
0.115789
0
0
0
0
0
0
0
0
0
0.087571
0.289157
498
21
84
23.714286
0.717514
0.090361
0
0.133333
1
0
0.226164
0.050998
0
0
0
0
0
1
0
false
0
0.066667
0
0.266667
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
4c5a1be009aa08be00c47f4724b13d485b6f029f
2,689
py
Python
database/actions/user_auth_actions.py
DiegoLing33/prestij.xyz-api
69a11a2c93dd98975f9becbc4b8f596e4941a05f
[ "MIT" ]
2
2020-10-28T14:00:05.000Z
2020-10-30T11:55:27.000Z
database/actions/user_auth_actions.py
DiegoLing33/prestij.xyz-api
69a11a2c93dd98975f9becbc4b8f596e4941a05f
[ "MIT" ]
null
null
null
database/actions/user_auth_actions.py
DiegoLing33/prestij.xyz-api
69a11a2c93dd98975f9becbc4b8f596e4941a05f
[ "MIT" ]
null
null
null
# ██╗░░░░░██╗███╗░░██╗░██████╗░░░░██████╗░██╗░░░░░░█████╗░░█████╗░██╗░░██╗ # ██║░░░░░██║████╗░██║██╔════╝░░░░██╔══██╗██║░░░░░██╔══██╗██╔══██╗██║░██╔╝ # ██║░░░░░██║██╔██╗██║██║░░██╗░░░░██████╦╝██║░░░░░███████║██║░░╚═╝█████═╝░ # ██║░░░░░██║██║╚████║██║░░╚██╗░░░██╔══██╗██║░░░░░██╔══██║██║░░██╗██╔═██╗░ # ███████╗██║██...
32.792683
111
0.487542
259
2,689
6.629344
0.359073
0.020384
0.020967
0.048923
0.153757
0.153757
0.124636
0.06756
0.06756
0.06756
0
0.008612
0.265898
2,689
81
112
33.197531
0.641844
0.26627
0
0.214286
0
0
0.053571
0
0
0
0
0
0
1
0.071429
false
0.095238
0.190476
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4c5bb245d8d29358c04a865945dc057cae7e5b24
306
py
Python
src/classes/api/get/__init__.py
matsuo7y/trade_centre
e2a4d8191963dd71a1c6aa9cfe19097b4f196e1a
[ "MIT" ]
null
null
null
src/classes/api/get/__init__.py
matsuo7y/trade_centre
e2a4d8191963dd71a1c6aa9cfe19097b4f196e1a
[ "MIT" ]
null
null
null
src/classes/api/get/__init__.py
matsuo7y/trade_centre
e2a4d8191963dd71a1c6aa9cfe19097b4f196e1a
[ "MIT" ]
null
null
null
from .account_changes import AccountChanges from .accounts import Accounts from .account import Account from .candles import Candles, CandleType from .open_trades import OpenTrades account_changes = AccountChanges() accounts = Accounts() account = Account() candles = Candles() open_trades = OpenTrades()
25.5
43
0.810458
35
306
6.971429
0.314286
0.090164
0
0
0
0
0
0
0
0
0
0
0.120915
306
11
44
27.818182
0.907063
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
4c5c07d9b06eab550b131575473efa2274e6c38d
4,482
py
Python
src/olympia/stats/models.py
atiqueahmedziad/addons-server
6e1cc00bf15d245fbcdddf618286bba943731e45
[ "BSD-3-Clause" ]
10
2018-08-16T04:55:06.000Z
2022-01-08T16:09:39.000Z
src/olympia/stats/models.py
atiqueahmedziad/addons-server
6e1cc00bf15d245fbcdddf618286bba943731e45
[ "BSD-3-Clause" ]
171
2018-05-20T00:27:59.000Z
2022-03-21T13:34:27.000Z
src/olympia/stats/models.py
atiqueahmedziad/addons-server
6e1cc00bf15d245fbcdddf618286bba943731e45
[ "BSD-3-Clause" ]
12
2018-08-01T16:46:09.000Z
2022-01-08T16:09:46.000Z
from django.db import models from django_extensions.db.fields.json import JSONField from olympia.amo.fields import PositiveAutoField from olympia.amo.models import SearchMixin def update_inc(initial, key, count): """Update or create a dict of `int` counters, for JSONField.""" initial = initial or {} init...
33.447761
79
0.687863
562
4,482
5.357651
0.302491
0.023248
0.025573
0.034872
0.374294
0.345068
0.278645
0.20724
0.187313
0.187313
0
0.001416
0.211959
4,482
133
80
33.699248
0.851076
0.323963
0
0.343284
0
0
0.078893
0.008197
0
0
0
0
0
1
0.029851
false
0
0.059701
0
0.791045
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
4c5e44e0a1c6adbdbaf332802dcdd259796cf356
1,437
py
Python
test/unit/metrics/test_annotated_metric_function.py
marymlucas/fairlearn
73e6a8ff797d5f6e6b2f5932313b72ffb95331c8
[ "MIT" ]
79
2018-05-21T14:52:34.000Z
2019-04-17T13:38:45.000Z
test/unit/metrics/test_annotated_metric_function.py
marymlucas/fairlearn
73e6a8ff797d5f6e6b2f5932313b72ffb95331c8
[ "MIT" ]
28
2019-06-09T13:17:03.000Z
2019-10-10T19:00:19.000Z
test/unit/metrics/test_annotated_metric_function.py
marymlucas/fairlearn
73e6a8ff797d5f6e6b2f5932313b72ffb95331c8
[ "MIT" ]
10
2019-05-20T17:24:54.000Z
2019-10-10T13:24:01.000Z
# Copyright (c) Microsoft Corporation and Fairlearn contributors. # Licensed under the MIT License. import functools import numpy as np from sklearn.metrics import recall_score from fairlearn.metrics._annotated_metric_function import AnnotatedMetricFunction def test_constructor_unnamed(): fc = AnnotatedMetricF...
36.846154
81
0.759916
196
1,437
5.280612
0.352041
0.023188
0.069565
0.110145
0.467633
0.43285
0.347826
0.347826
0.347826
0.347826
0
0.004882
0.144746
1,437
38
82
37.815789
0.837266
0.112735
0
0.36
0
0
0.084186
0
0
0
0
0
0.56
1
0.12
false
0
0.16
0
0.28
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
4c605da019802f388a039e8dba634d0cf75dc9f2
374
py
Python
idseq_dag/util/sequence.py
eamanu/idseq-dag
95891662175fb20f16601835ffd0c474820e917f
[ "MIT" ]
null
null
null
idseq_dag/util/sequence.py
eamanu/idseq-dag
95891662175fb20f16601835ffd0c474820e917f
[ "MIT" ]
null
null
null
idseq_dag/util/sequence.py
eamanu/idseq-dag
95891662175fb20f16601835ffd0c474820e917f
[ "MIT" ]
null
null
null
""" Some convenience methods to manipulate sequence objects (ex: list, range, set, string) """ def chunks(l, n): """ Yield successive n-sized chunks from list l. Example: l = [1,2,3,4,5,6,7,8,9,10] c = list(chunks(l, 3)) # c will be equal "[ [1,2,3], [4,5,6], [7,8,9], [10]] """ f...
26.714286
88
0.526738
68
374
2.897059
0.588235
0.071066
0.071066
0.040609
0.111675
0.111675
0.111675
0.111675
0.111675
0.111675
0
0.088235
0.272727
374
13
89
28.769231
0.636029
0.668449
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
4c64eceb5fe7b97cb1f53404c18bb6dc4629b920
281
py
Python
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/lms/djangoapps/teams/urls.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
3
2021-12-15T04:58:18.000Z
2022-02-06T12:15:37.000Z
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/lms/djangoapps/teams/urls.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
null
null
null
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/lms/djangoapps/teams/urls.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
1
2019-01-02T14:38:50.000Z
2019-01-02T14:38:50.000Z
""" Defines the URL routes for this app. """ from django.conf.urls import url from django.contrib.auth.decorators import login_required from .views import TeamsDashboardView urlpatterns = [ url(r"^$", login_required(TeamsDashboardView.as_view()), name="teams_dashboard") ]
20.071429
84
0.758007
36
281
5.805556
0.722222
0.095694
0
0
0
0
0
0
0
0
0
0
0.128114
281
13
85
21.615385
0.853061
0.128114
0
0
0
0
0.07173
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
4c6779bbd0b9c7489763a5e045fb8218ebfde122
12,754
py
Python
tests/test_bloom.py
Avital-Fine/redis-py
42b937fa1f73f3e8251eba5ec8ead2fcbaec7c50
[ "MIT" ]
null
null
null
tests/test_bloom.py
Avital-Fine/redis-py
42b937fa1f73f3e8251eba5ec8ead2fcbaec7c50
[ "MIT" ]
null
null
null
tests/test_bloom.py
Avital-Fine/redis-py
42b937fa1f73f3e8251eba5ec8ead2fcbaec7c50
[ "MIT" ]
null
null
null
import pytest import redis.commands.bf from redis.exceptions import ModuleError, RedisError from redis.utils import HIREDIS_AVAILABLE def intlist(obj): return [int(v) for v in obj] @pytest.fixture def client(modclient): assert isinstance(modclient.bf(), redis.commands.bf.BFBloom) assert isinstance(modc...
32.288608
87
0.591344
1,710
12,754
4.373099
0.130994
0.085049
0.043327
0.030891
0.532495
0.394624
0.293394
0.237898
0.197245
0.124499
0
0.047396
0.212561
12,754
394
88
32.370558
0.697202
0.093775
0
0.355932
0
0
0.10589
0
0
0
0
0
0.440678
1
0.067797
false
0
0.013559
0.00339
0.091525
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
4c6a1e058a389815c012711f3160c3aba2e8ddbe
7,134
py
Python
Microphysics/networks/general_null/write_network.py
pgrete/MAESTROeX
1d7e89365379eea57680f738f271c93d7f28e513
[ "BSD-3-Clause" ]
null
null
null
Microphysics/networks/general_null/write_network.py
pgrete/MAESTROeX
1d7e89365379eea57680f738f271c93d7f28e513
[ "BSD-3-Clause" ]
null
null
null
Microphysics/networks/general_null/write_network.py
pgrete/MAESTROeX
1d7e89365379eea57680f738f271c93d7f28e513
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 import sys import argparse HEADER = """ ! DO NOT EDIT THIS FILE!!! ! ! This file is automatically generated by write_network.py at ! compile-time. ! ! To modify the species carried by the network, edit the appropriate inputs ! file. """ class Species: """the species class holds the proper...
26.619403
104
0.536585
860
7,134
4.323256
0.227907
0.026627
0.026358
0.022593
0.189618
0.14255
0.132329
0.116729
0.065089
0.048951
0
0.005455
0.280488
7,134
267
105
26.719101
0.718878
0.220493
0
0.26
1
0
0.166728
0.007878
0
0
0
0
0
1
0.073333
false
0
0.013333
0.013333
0.146667
0.046667
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
4c6cb74d62c98471547bcee9f7ac1c808671f7ec
2,715
py
Python
kenn/KnowledgeEnhancer.py
NooneBug/entity_typing_framework
e4c3cf3a6d9c3a3453ce516de855fc22b49ae5c0
[ "MIT" ]
null
null
null
kenn/KnowledgeEnhancer.py
NooneBug/entity_typing_framework
e4c3cf3a6d9c3a3453ce516de855fc22b49ae5c0
[ "MIT" ]
null
null
null
kenn/KnowledgeEnhancer.py
NooneBug/entity_typing_framework
e4c3cf3a6d9c3a3453ce516de855fc22b49ae5c0
[ "MIT" ]
null
null
null
import torch from .ClauseEnhancer import ClauseEnhancer class KnowledgeEnhancer(torch.nn.Module): def __init__(self, predicates: [str], clauses: [str], initial_clause_weight=0.5, save_training_data=False, device=0): """Initialize the knowledge base. :param predicates: a list of predicates names ...
49.363636
126
0.686188
350
2,715
5.142857
0.388571
0.08
0.066111
0.036667
0.068889
0.068889
0.044444
0.044444
0.044444
0
0
0.003395
0.240516
2,715
54
127
50.277778
0.869544
0.423204
0
0
0
0
0.009689
0
0
0
0
0.018519
0
1
0.08
false
0
0.08
0
0.24
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
4c6f2696bab461285c64db027045c32d5ce744b5
4,162
py
Python
scripts/remote.py
viveksck/ScaCTM
0503f892b4bf441a22b8b2dbcb122dc4343c14f4
[ "Apache-1.1" ]
28
2015-02-03T11:58:17.000Z
2020-10-12T10:31:18.000Z
scripts/remote.py
viveksck/ScaCTM
0503f892b4bf441a22b8b2dbcb122dc4343c14f4
[ "Apache-1.1" ]
4
2015-02-09T05:38:47.000Z
2017-10-25T00:59:20.000Z
scripts/remote.py
cjf00000/ScaCTM
0503f892b4bf441a22b8b2dbcb122dc4343c14f4
[ "Apache-1.1" ]
13
2015-03-03T14:14:53.000Z
2021-03-20T18:31:14.000Z
from subprocess import * import os tansuo100='tansuo100' def dumpArgs(func): '''Decorator to print function call details - parameters names and effective values''' def wrapper(*func_args, **func_kwargs): arg_names = func.func_code.co_varnames[:func.func_code.co_argcount] ...
29.51773
153
0.60692
583
4,162
4.252144
0.276158
0.008068
0.010891
0.02622
0.249697
0.231948
0.157322
0.12021
0.085518
0.085518
0
0.034607
0.201586
4,162
140
154
29.728571
0.711405
0.089861
0
0.214286
0
0.010204
0.259069
0.06876
0
0
0
0
0
0
null
null
0.040816
0.020408
null
null
0.010204
0
0
0
null
0
0
0
0
0
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
4c72bc5db8cb7766c582421c17ade10259fb118c
3,180
py
Python
test_elasticsearch/test_client/__init__.py
jkbak/elasticsearch-py
6d62ce4f1b17cc41990a4d5cb3bd76e48c36a76b
[ "Apache-2.0" ]
3,353
2015-03-12T17:41:01.000Z
2022-03-31T05:03:02.000Z
test_elasticsearch/test_client/__init__.py
jkbak/elasticsearch-py
6d62ce4f1b17cc41990a4d5cb3bd76e48c36a76b
[ "Apache-2.0" ]
1,356
2015-03-11T14:27:35.000Z
2022-03-30T22:57:07.000Z
test_elasticsearch/test_client/__init__.py
jkbak/elasticsearch-py
6d62ce4f1b17cc41990a4d5cb3bd76e48c36a76b
[ "Apache-2.0" ]
1,193
2015-03-11T15:13:26.000Z
2022-03-29T02:45:55.000Z
# Licensed to Elasticsearch B.V. under one or more contributor # license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright # ownership. Elasticsearch B.V. licenses this file to you under # the Apache License, Version 2.0 (the "License"); you may # not use ...
36.551724
73
0.651572
415
3,180
4.814458
0.327711
0.035035
0.039039
0.057057
0.245245
0.128128
0.114114
0.114114
0.079079
0.041041
0
0.012485
0.219182
3,180
86
74
36.976744
0.792187
0.236792
0
0.301887
0
0
0.100457
0.01951
0
0
0
0
0.320755
1
0.188679
false
0.056604
0.056604
0
0.283019
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
4c73547eced517b53e8d239c627d9a4d85a8eb32
2,181
py
Python
audioset_tagging_cnn/inference.py
npaj/SilentCities
e68735d7a04a101aae2fb8fccac8b5b96c686585
[ "MIT" ]
null
null
null
audioset_tagging_cnn/inference.py
npaj/SilentCities
e68735d7a04a101aae2fb8fccac8b5b96c686585
[ "MIT" ]
null
null
null
audioset_tagging_cnn/inference.py
npaj/SilentCities
e68735d7a04a101aae2fb8fccac8b5b96c686585
[ "MIT" ]
null
null
null
### modified from https://github.com/qiuqiangkong/audioset_tagging_cnn import os import sys import numpy as np import argparse import librosa import matplotlib.pyplot as plt import torch from .utilities import create_folder, get_filename from .models import * from .pytorch_utils import move_data_to_device from .config...
33.045455
169
0.712976
292
2,181
5.116438
0.407534
0.033467
0.040161
0.021419
0
0
0
0
0
0
0
0.013744
0.165979
2,181
66
170
33.045455
0.807587
0.203576
0
0
0
0
0.033549
0
0
0
0
0
0
1
0.028571
false
0
0.314286
0
0.371429
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
4c738148cfd635f9d0b5ddb75e4faab350dbc807
799
py
Python
src/common/dataset/reverse_index.py
MichalPitr/fever-cs-dataset
62a9a87eafcfa18abfe24c516ca7161e8e466d08
[ "MIT" ]
71
2019-01-11T21:07:32.000Z
2021-07-10T17:59:33.000Z
src/common/dataset/reverse_index.py
MichalPitr/fever-cs-dataset
62a9a87eafcfa18abfe24c516ca7161e8e466d08
[ "MIT" ]
22
2019-02-20T13:42:28.000Z
2022-02-09T23:29:32.000Z
src/common/dataset/reverse_index.py
mithunpaul08/fever-baselines
7b2a8f9f9b599e5a00e503db06400fca655ad106
[ "Apache-2.0" ]
21
2019-01-31T09:05:30.000Z
2021-05-26T10:37:13.000Z
from collections import defaultdict import pickle from tqdm import tqdm class ReverseIndex: def __init__(self,docs, preprocessing): self.lookup = defaultdict(set) self.preprocess = preprocessing if docs is not None: for title,words in tqdm(docs): self.add(titl...
24.96875
54
0.593242
103
799
4.563107
0.38835
0.106383
0.038298
0.068085
0.085106
0
0
0
0
0
0
0
0.301627
799
32
55
24.96875
0.842294
0
0
0
0
0
0.00625
0
0
0
0
0
0
1
0.208333
false
0
0.125
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
1
0
0
0
0
0
0
0
1
4c77faf37502f9173c14959e66ed7495d8693183
2,472
py
Python
legacy/Example_4_von_Mises_vs_Tresca.py
rafael-radkowski/ME325
506d7e04d62ca456fbf499716d9e607442dd4b0d
[ "MIT" ]
null
null
null
legacy/Example_4_von_Mises_vs_Tresca.py
rafael-radkowski/ME325
506d7e04d62ca456fbf499716d9e607442dd4b0d
[ "MIT" ]
null
null
null
legacy/Example_4_von_Mises_vs_Tresca.py
rafael-radkowski/ME325
506d7e04d62ca456fbf499716d9e607442dd4b0d
[ "MIT" ]
null
null
null
""" Example for ME325 - Machine Component Design Ductule Failure Theory Example Please review the related class notes for further information about the example and the values. Rafael Radkowski Iowa State University Jan 2017 rafael@iastate.edu All rights reserved """ # Import the failure theory envelopes from ME325C...
20.262295
95
0.614482
383
2,472
3.89295
0.428198
0.016097
0.020121
0.016097
0.032193
0
0
0
0
0
0
0.0799
0.194984
2,472
122
96
20.262295
0.669347
0.225728
0
0
0
0
0.124381
0
0
0
0
0
0
0
null
null
0
0.042553
null
null
0.12766
0
0
0
null
0
0
0
0
0
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
d5b7e207b6b339786221eb7a4f03b371dc6d2adb
3,272
py
Python
test/unit/test_validator.py
DoctorBazooka/Datamatic
55e7b1db7722c3c38dc74bce85cafec935abfe4c
[ "MIT" ]
3
2021-06-12T21:06:38.000Z
2022-01-16T23:30:13.000Z
test/unit/test_validator.py
DoctorBazooka/Datamatic
55e7b1db7722c3c38dc74bce85cafec935abfe4c
[ "MIT" ]
8
2021-05-31T21:24:06.000Z
2021-06-12T11:17:34.000Z
test/unit/test_validator.py
MagicLemma/datamatic
55e7b1db7722c3c38dc74bce85cafec935abfe4c
[ "MIT" ]
null
null
null
""" Validator unit tests. """ from datamatic import validator from datamatic.validator import InvalidSpecError import pytest def test_spec_missing_components_key(): with pytest.raises(InvalidSpecError): validator.run({}) def test_validate_attribute_missing_required_key(): with pytest.raises(InvalidS...
29.745455
88
0.655868
347
3,272
5.951009
0.181556
0.087167
0.139467
0.278935
0.730751
0.697821
0.636804
0.608717
0.603874
0.543826
0
0.002667
0.197738
3,272
110
89
29.745455
0.784
0.03209
0
0.472222
0
0
0.1191
0
0
0
0
0
0
1
0.138889
false
0
0.041667
0
0.180556
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
d5bd4c5192ecfed6f8f54f7b9801094b93d9522a
1,286
py
Python
apps/feedback/utils.py
mariusaarsnes/onlineweb4
3495321dabfd7a7236e6d841b004e9f855b6f30e
[ "MIT" ]
null
null
null
apps/feedback/utils.py
mariusaarsnes/onlineweb4
3495321dabfd7a7236e6d841b004e9f855b6f30e
[ "MIT" ]
null
null
null
apps/feedback/utils.py
mariusaarsnes/onlineweb4
3495321dabfd7a7236e6d841b004e9f855b6f30e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from django.contrib.contenttypes.models import ContentType from guardian.shortcuts import get_objects_for_user from apps.authentication.models import OnlineUser as User from apps.events.models import Event from apps.feedback.models import FeedbackRelation def has_permission(feedback_relation...
31.365854
117
0.746501
166
1,286
5.560241
0.385542
0.086674
0.028169
0.036836
0.12351
0
0
0
0
0
0
0.000948
0.179627
1,286
40
118
32.15
0.873934
0.05832
0
0.153846
0
0
0.035596
0
0
0
0
0
0
1
0.115385
false
0
0.192308
0
0.538462
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
d5bd4f58ee427e425eb6bfb0b81229a675c2e39a
1,309
py
Python
scripts/mod_requests/delete_module.py
einsxiao/evawiz
12c148f46c89551c281271718893a92b26da2bfa
[ "BSD-2-Clause" ]
1
2019-06-07T03:44:39.000Z
2019-06-07T03:44:39.000Z
scripts/mod_requests/delete_module.py
einsxiao/evawiz
12c148f46c89551c281271718893a92b26da2bfa
[ "BSD-2-Clause" ]
null
null
null
scripts/mod_requests/delete_module.py
einsxiao/evawiz
12c148f46c89551c281271718893a92b26da2bfa
[ "BSD-2-Clause" ]
null
null
null
from evawiz_basic import * def request(handler,*args): #def request_delete_module(self,module_name = '',options={}): module_name=args_get(0,args) options=args_get(1,args) if not options: options = {} if not module_name: print('A module name is required.') raise Exception('a module name i...
38.5
130
0.657754
183
1,309
4.535519
0.398907
0.168675
0.043373
0.031325
0.050602
0
0
0
0
0
0
0.007843
0.220779
1,309
33
131
39.666667
0.805882
0.105424
0
0.074074
0
0
0.27078
0.019709
0
0
0
0
0
1
0.037037
false
0.074074
0.037037
0
0.074074
0.185185
0
0
0
null
0
0
0
0
0
0
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
d5c8f0bf3c0a09812d8f85d2da67980995c5da97
2,273
py
Python
testmotor.py
bgkatz/Dyno-Software
3c46329476c3d830ff6501782645b80f6d7ece1c
[ "MIT" ]
10
2019-02-12T09:27:11.000Z
2022-03-09T00:11:40.000Z
testmotor.py
bgkatz/Dyno-Software
3c46329476c3d830ff6501782645b80f6d7ece1c
[ "MIT" ]
null
null
null
testmotor.py
bgkatz/Dyno-Software
3c46329476c3d830ff6501782645b80f6d7ece1c
[ "MIT" ]
11
2019-04-05T13:50:23.000Z
2022-03-23T08:48:32.000Z
# -*- coding: utf-8 -*- """ Created on Sat Aug 27 14:48:26 2016 @author: Ben """ import serial from struct import * class testmotor(): def __init__(self, COM): try: self.ser = serial.Serial(COM, timeout = .001) self.ser.baudrate = 115200 self.period = 0 self...
25.829545
97
0.5011
293
2,273
3.78157
0.25256
0.032491
0.032491
0.032491
0.308664
0.308664
0.308664
0.308664
0.229242
0.15343
0
0.102889
0.375715
2,273
87
98
26.126437
0.677942
0.060273
0
0.363636
0
0
0.025412
0
0
0
0.009412
0
0
1
0.121212
false
0.075758
0.030303
0
0.166667
0.030303
0
0
0
null
0
0
0
0
0
0
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
d5c8f88051af6e7f4ebf920362ecbcf2e9f85ed6
5,819
py
Python
src/export_eclipse_dataset/strip_image_pii.py
isabella232/eclipse2017
a328c6d437638b1fe89aa8a24579406f01fe970d
[ "Apache-2.0" ]
18
2017-03-17T18:10:55.000Z
2022-03-30T17:35:55.000Z
src/export_eclipse_dataset/strip_image_pii.py
google/eclipse2017
a328c6d437638b1fe89aa8a24579406f01fe970d
[ "Apache-2.0" ]
1
2021-06-27T16:01:10.000Z
2021-06-27T16:21:50.000Z
src/export_eclipse_dataset/strip_image_pii.py
isabella232/eclipse2017
a328c6d437638b1fe89aa8a24579406f01fe970d
[ "Apache-2.0" ]
8
2017-03-28T13:34:50.000Z
2021-06-27T15:39:10.000Z
# # Copyright 2017 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...
38.282895
112
0.618491
743
5,819
4.658143
0.294751
0.02427
0.039295
0.020803
0.071078
0.032361
0.018492
0
0
0
0
0.005279
0.251246
5,819
151
113
38.536424
0.789075
0.139887
0
0.121739
0
0
0.147047
0.010518
0.008696
0
0
0
0
0
null
null
0
0.052174
null
null
0.008696
0
0
0
null
0
0
0
0
0
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
d5c942d094750e1e9328135ee7c54f9836ff90b0
32,185
py
Python
third_party/blink/tools/blinkpy/web_tests/models/test_expectations_unittest.py
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/blink/tools/blinkpy/web_tests/models/test_expectations_unittest.py
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/blink/tools/blinkpy/web_tests/models/test_expectations_unittest.py
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
# Copyright (C) 2010 Google Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditions and the ...
46.848617
111
0.60696
3,319
32,185
5.657126
0.10003
0.057946
0.051129
0.066468
0.739827
0.700469
0.653547
0.628994
0.609661
0.597145
0
0.016486
0.287587
32,185
686
112
46.91691
0.80239
0.056921
0
0.633277
0
0
0.259434
0.093449
0
0
0
0
0.083192
1
0.071307
false
0.010187
0.013582
0.005093
0.106961
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
d5cafe7ccbfc0739a3e807299eba4a238cd9da85
686
py
Python
projeto/contas/migrations/0003_auto_20190420_2243.py
isaquekaio/django-udemy
6ccf3928831a5f0e0dda3a1204941b0066b061f2
[ "MIT" ]
null
null
null
projeto/contas/migrations/0003_auto_20190420_2243.py
isaquekaio/django-udemy
6ccf3928831a5f0e0dda3a1204941b0066b061f2
[ "MIT" ]
null
null
null
projeto/contas/migrations/0003_auto_20190420_2243.py
isaquekaio/django-udemy
6ccf3928831a5f0e0dda3a1204941b0066b061f2
[ "MIT" ]
null
null
null
# Generated by Django 2.2 on 2019-04-20 22:43 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('contas', '0002_transacao'), ] operations = [ migrations.AlterModelOptions( name='transacao', options={'verbose_name_pl...
24.5
58
0.571429
62
686
6.225806
0.645161
0.101036
0.129534
0.150259
0.217617
0.217617
0
0
0
0
0
0.038136
0.311953
686
27
59
25.407407
0.779661
0.062682
0
0.333333
1
0
0.141966
0
0
0
0
0
0
1
0
false
0
0.047619
0
0.190476
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d5cb808cb202dd612b0e99b03e1c1866f6f616b3
3,288
py
Python
meter/migrations/0001_initial.py
sprenge/energywizard
12f3ecf532a8d44ae72cc46129e31f4201f7bfde
[ "MIT" ]
null
null
null
meter/migrations/0001_initial.py
sprenge/energywizard
12f3ecf532a8d44ae72cc46129e31f4201f7bfde
[ "MIT" ]
null
null
null
meter/migrations/0001_initial.py
sprenge/energywizard
12f3ecf532a8d44ae72cc46129e31f4201f7bfde
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-11-27 17:09 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migration...
50.584615
175
0.627129
352
3,288
5.690341
0.338068
0.082376
0.034948
0.054918
0.395407
0.355467
0.310035
0.310035
0.310035
0.262107
0
0.018341
0.237226
3,288
64
176
51.375
0.780303
0.020377
0
0.303571
1
0
0.207272
0
0
0
0
0
0
1
0
false
0
0.071429
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d5cd613eef0befc345c087eb3f67337227912096
4,813
py
Python
Sabre-TOC/light-sabre/lightsabre-client.py
aidden-laoch/sabre
0940aa51dfc5074291df9d29db827ddb4010566d
[ "MIT" ]
2
2020-11-23T23:54:32.000Z
2021-05-25T12:28:05.000Z
Sabre-TOC/light-sabre/lightsabre-client.py
aidden-laoch/sabre
0940aa51dfc5074291df9d29db827ddb4010566d
[ "MIT" ]
1
2021-03-20T05:43:02.000Z
2021-03-20T05:43:02.000Z
Sabre-TOC/light-sabre/lightsabre-client.py
aidden-laoch/sabre
0940aa51dfc5074291df9d29db827ddb4010566d
[ "MIT" ]
null
null
null
#!/usr/bin/env python #Libraries from scapy.all import * import threading import os import sys import socket import string import subprocess import re import base64 import argparse import pty import time import random #Creates --help commands parser = argparse.ArgumentParser(description='Client for Covert C2 Channel...
37.310078
176
0.654893
721
4,813
4.306519
0.331484
0.028986
0.05475
0.024155
0.080515
0
0
0
0
0
0
0.045995
0.195928
4,813
128
177
37.601563
0.756331
0.238313
0
0.075472
0
0.009434
0.177552
0.017563
0
0
0
0
0
0
null
null
0
0.122642
null
null
0.009434
0
0
0
null
0
0
0
0
0
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
d5d1f69873ee6f1e4348d645b821092808282f86
1,169
py
Python
concise/__init__.py
Avsecz/concise
4df8dd51e1eb69245cbdd6f006a64f6b056634c9
[ "MIT" ]
9
2016-10-27T21:10:06.000Z
2021-08-22T10:04:59.000Z
concise/__init__.py
Avsecz/concise
4df8dd51e1eb69245cbdd6f006a64f6b056634c9
[ "MIT" ]
9
2016-09-21T20:16:31.000Z
2018-05-06T10:11:15.000Z
concise/__init__.py
Avsecz/concise
4df8dd51e1eb69245cbdd6f006a64f6b056634c9
[ "MIT" ]
2
2017-10-23T22:05:22.000Z
2021-07-22T03:33:10.000Z
# -*- coding: utf-8 -*- __author__ = 'Žiga Avsec' __email__ = 'avsec@in.tum.de' __version__ = '0.6.4' from . import layers from . import preprocessing from . import utils from . import data from . import initializers from . import losses from . import metrics from . import eval_metrics from . import regularizers from...
25.413043
72
0.744226
153
1,169
5.444444
0.424837
0.132053
0.057623
0
0
0
0
0
0
0
0
0.004069
0.15911
1,169
45
73
25.977778
0.843337
0.08811
0
0
0
0
0.079171
0.032988
0
0
0
0
0
1
0
false
0
0.424242
0
0.424242
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
d5d406853db97798d426e041ff3f3df569e15506
2,043
py
Python
src/utils/libs/chatbridge/core/network/basic.py
DancingSnow0517/Kaiheila_bot
8fe5ac4d14987bcc1c34828ffec7fa11572339c5
[ "MIT" ]
null
null
null
src/utils/libs/chatbridge/core/network/basic.py
DancingSnow0517/Kaiheila_bot
8fe5ac4d14987bcc1c34828ffec7fa11572339c5
[ "MIT" ]
null
null
null
src/utils/libs/chatbridge/core/network/basic.py
DancingSnow0517/Kaiheila_bot
8fe5ac4d14987bcc1c34828ffec7fa11572339c5
[ "MIT" ]
1
2022-01-21T15:40:52.000Z
2022-01-21T15:40:52.000Z
from threading import Thread, current_thread, RLock from typing import NamedTuple, Callable, List, Optional from utils.libs.chatbridge.common.logger import ChatBridgeLogger from .cryptor import AESCryptor class Address(NamedTuple): hostname: str port: int def __str__(self): return '{}:{}'.format(self.hostname,...
26.532468
97
0.730788
288
2,043
4.871528
0.305556
0.064148
0.083393
0.048468
0.136137
0
0
0
0
0
0
0
0.155653
2,043
76
98
26.881579
0.813333
0.064611
0
0.055556
0
0
0.063097
0
0
0
0
0
0
1
0.203704
false
0.018519
0.074074
0.074074
0.462963
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
d5d60cdd6596f56bfa7341dc042fad7b368e1e14
7,387
py
Python
staff/tests/staff_importStaff_test.py
conzty01/RA_Scheduler
6bf4931871aef4058d93917e62ceb31766e06b3a
[ "MIT" ]
1
2021-03-31T05:26:17.000Z
2021-03-31T05:26:17.000Z
staff/tests/staff_importStaff_test.py
conzty01/RA_Scheduler
6bf4931871aef4058d93917e62ceb31766e06b3a
[ "MIT" ]
83
2018-03-19T18:32:34.000Z
2022-02-01T02:15:01.000Z
staff/tests/staff_importStaff_test.py
conzty01/RA_Scheduler
6bf4931871aef4058d93917e62ceb31766e06b3a
[ "MIT" ]
2
2021-01-15T22:16:00.000Z
2021-02-10T01:03:32.000Z
from unittest.mock import MagicMock, patch from scheduleServer import app import unittest from helperFunctions.helperFunctions import stdRet, AuthenticatedUser class TestStaff_importStaff(unittest.TestCase): def setUp(self): # Set up a number of items that will be used for these tests. # -- Mock...
39.502674
101
0.643834
809
7,387
5.651422
0.274413
0.057743
0.049869
0.030621
0.228784
0.185258
0.185258
0.178478
0.16776
0.05643
0
0.0052
0.271017
7,387
186
102
39.715054
0.843825
0.276296
0
0.071429
0
0
0.126843
0.029112
0
0
0
0
0
1
0.102041
false
0.071429
0.05102
0
0.163265
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
d5dd5731ae04deba892d3c753721817ab0689666
9,294
py
Python
octavia_f5/restclient/as3classes.py
sapcc/octavia-f5-provider-driver
979e19d011997547b4c50055c2834a0505477595
[ "Apache-2.0" ]
15
2020-01-23T16:06:52.000Z
2022-02-16T08:44:35.000Z
octavia_f5/restclient/as3classes.py
sapcc/octavia-f5-provider-driver
979e19d011997547b4c50055c2834a0505477595
[ "Apache-2.0" ]
88
2019-12-09T11:14:40.000Z
2022-02-28T11:51:58.000Z
octavia_f5/restclient/as3classes.py
sapcc/octavia-f5-provider-driver
979e19d011997547b4c50055c2834a0505477595
[ "Apache-2.0" ]
2
2020-03-23T16:21:54.000Z
2022-02-24T15:13:32.000Z
# Copyright 2018 SAP SE # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software ...
30.07767
92
0.650097
1,022
9,294
5.601761
0.23092
0.065328
0.048035
0.095371
0.221834
0.1869
0.048908
0.023406
0.023406
0
0
0.003766
0.228535
9,294
308
93
30.175325
0.7947
0.060146
0
0.111111
0
0
0.071584
0
0
0
0
0
0
1
0.217391
false
0.009662
0.024155
0.009662
0.42029
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