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
19cefb59554afa364e4773842b11bb4a32b5748b
575
py
Python
deepnet/datasets/setup_data_paths.py
smoitra87/deepnet
c4f89c65f78298d846bd6dc0654b9c8f5e223f2b
[ "BSD-3-Clause" ]
null
null
null
deepnet/datasets/setup_data_paths.py
smoitra87/deepnet
c4f89c65f78298d846bd6dc0654b9c8f5e223f2b
[ "BSD-3-Clause" ]
null
null
null
deepnet/datasets/setup_data_paths.py
smoitra87/deepnet
c4f89c65f78298d846bd6dc0654b9c8f5e223f2b
[ "BSD-3-Clause" ]
null
null
null
from deepnet import util import os def SetupDataPbtxt(data_pbtxt_file, data_path): data_pbtxt = util.ReadData(data_pbtxt_file) for data in data_pbtxt.data: fname = os.path.basename(data.file_pattern) data.file_pattern = os.path.join(data_path, fname) util.WritePbtxt(data_pbtxt_file, data_pbtxt) if __n...
35.9375
83
0.735652
81
575
4.888889
0.358025
0.227273
0.19697
0.136364
0
0
0
0
0
0
0
0.002075
0.161739
575
15
84
38.333333
0.819502
0
0
0
0
0
0.057391
0
0
0
0
0
0
1
0.076923
false
0
0.230769
0
0.307692
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
19d4e6ce2d2944c11621e48439ce13e4b92cc071
6,084
py
Python
draguilator/draguitax.py
robsonzagrejr/draguilator
3379f79250dc78f88b14fb6a819372eed4caf970
[ "MIT" ]
null
null
null
draguilator/draguitax.py
robsonzagrejr/draguilator
3379f79250dc78f88b14fb6a819372eed4caf970
[ "MIT" ]
null
null
null
draguilator/draguitax.py
robsonzagrejr/draguilator
3379f79250dc78f88b14fb6a819372eed4caf970
[ "MIT" ]
null
null
null
""" Implementation of a Compiler for INE5426 - UFSC Authors: Mateus Favarin Costa (18100539) Robson Zagre Junior (18102721) Wesly Carmesini Ataide (18100547) """ import ply.yacc as yacc from draguilexer import tokens def p_program(p): '''program : statement | funclist | e...
19.192429
96
0.571499
590
6,084
5.615254
0.184746
0.049502
0.09176
0.054935
0.347117
0.261395
0.106852
0.039843
0.039843
0.039843
0
0.007268
0.344181
6,084
316
97
19.253165
0.823058
0.506739
0
0.454545
0
0
0.049255
0
0
0
0
0
0
1
0.465909
false
0.454545
0.022727
0
0.488636
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
19dbc53d03d9bbf0bca3d6a3a06ede254031c55c
6,103
py
Python
unittest/yaml_util_test.py
gregturn/spinnaker
8731e9edc1619e798a76fedb30b26cf48fa62897
[ "Apache-2.0" ]
null
null
null
unittest/yaml_util_test.py
gregturn/spinnaker
8731e9edc1619e798a76fedb30b26cf48fa62897
[ "Apache-2.0" ]
null
null
null
unittest/yaml_util_test.py
gregturn/spinnaker
8731e9edc1619e798a76fedb30b26cf48fa62897
[ "Apache-2.0" ]
null
null
null
# Copyright 2015 Google Inc. 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 applicable law or a...
31.621762
79
0.612977
729
6,103
5.015089
0.226337
0.095733
0.145514
0.176696
0.55279
0.460339
0.372265
0.324672
0.253282
0.207604
0
0.008658
0.205145
6,103
192
80
31.786458
0.745001
0.093233
0
0.476821
0
0.006623
0.180978
0.013043
0
0
0
0
0.172185
0
null
null
0
0.192053
null
null
0.006623
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
1
0
0
0
0
0
0
0
0
2
19dc9d5ed99e8eeab8f90952e95c511b70380d0a
1,210
py
Python
tests/test_is_uuid.py
alvistack/daveoncode-python-string-utils
78929d88d90b1f90cb4837528ed955166bf0f559
[ "MIT" ]
3
2020-08-20T10:27:13.000Z
2021-11-02T20:28:16.000Z
tests/test_is_uuid.py
alvistack/daveoncode-python-string-utils
78929d88d90b1f90cb4837528ed955166bf0f559
[ "MIT" ]
null
null
null
tests/test_is_uuid.py
alvistack/daveoncode-python-string-utils
78929d88d90b1f90cb4837528ed955166bf0f559
[ "MIT" ]
null
null
null
from unittest import TestCase from uuid import uuid4, uuid1 from string_utils import is_uuid class IsUUIDTestCase(TestCase): def test_should_consider_false_non_string_objects(self): # noinspection PyTypeChecker self.assertFalse(is_uuid(None)) # noinspection PyTypeChecker self.ass...
30.25
60
0.661157
141
1,210
5.432624
0.29078
0.093995
0.265013
0.156658
0.712794
0.58094
0.302872
0.180157
0.180157
0.180157
0
0.02407
0.244628
1,210
39
61
31.025641
0.814004
0.155372
0
0.136364
0
0
0.000986
0
0
0
0
0
0.5
1
0.181818
false
0
0.136364
0
0.363636
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
1
0
0
0
0
0
0
0
0
0
2
19dd4cb9e26fbf8d0f017d672356a19e0819e983
695
py
Python
api/PalDB.py
zhaozhongyu/PalDB
3249df7819009622d252470d27a4ca8aac03fe27
[ "Apache-2.0" ]
2
2017-04-11T00:20:53.000Z
2017-04-24T08:03:07.000Z
api/PalDB.py
zhaozhongyu/PalDB
3249df7819009622d252470d27a4ca8aac03fe27
[ "Apache-2.0" ]
null
null
null
api/PalDB.py
zhaozhongyu/PalDB
3249df7819009622d252470d27a4ca8aac03fe27
[ "Apache-2.0" ]
null
null
null
#------------------------------------------------------------------------------- # Project: Paldb # Name: Paldb # Purpose: # Author: zhaozhongyu # Created: 2/9/2017 4:23 PM # Copyright: (c) "zhaozhongyu" "2/9/2017 4:23 PM" # Licence: <your licence> # -*- coding:utf-8 -*- #---------------...
25.740741
80
0.493525
63
695
5.380952
0.539683
0.088496
0.035398
0.041298
0.064897
0.064897
0
0
0
0
0
0.033159
0.17554
695
26
81
26.730769
0.558464
0.52518
0
0
0
0
0.153125
0
0
0
0
0
0
1
0.3
false
0
0.1
0
0.7
0.3
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
19e86df55eb77d18e63228fef4b36910e3bf4d42
6,799
py
Python
pysemeels/tools/generate_hdf5_file.py
drix00/pysemeels
64087a64f6b065027d978e0c5d1e48847c2802cf
[ "Apache-2.0" ]
null
null
null
pysemeels/tools/generate_hdf5_file.py
drix00/pysemeels
64087a64f6b065027d978e0c5d1e48847c2802cf
[ "Apache-2.0" ]
null
null
null
pysemeels/tools/generate_hdf5_file.py
drix00/pysemeels
64087a64f6b065027d978e0c5d1e48847c2802cf
[ "Apache-2.0" ]
null
null
null
# !/usr/bin/env python # -*- coding: utf-8 -*- """ .. py:currentmodule:: pysemeels.tools.generate_hdf5_file .. moduleauthor:: Hendrix Demers <hendrix.demers@mail.mcgill.ca> Generate HDF5 file from Hitachi EELS data. """ ############################################################################### # Copyright 2017...
48.913669
106
0.698779
905
6,799
4.868508
0.233149
0.138675
0.147072
0.164775
0.302315
0.222424
0.128688
0.053336
0.043123
0
0
0.020547
0.198264
6,799
138
107
49.268116
0.787745
0.128548
0
0
1
0
0.012544
0
0
0
0
0
0
1
0.035294
false
0
0.070588
0
0.117647
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
19e983d6fa6ccacdf56013ebe5512a2bfbc502f4
266
py
Python
MLModule/loss.py
qai222/ATMOxide
42702c1ce299233569c8a3c0a9712b0e62ef6b16
[ "MIT" ]
null
null
null
MLModule/loss.py
qai222/ATMOxide
42702c1ce299233569c8a3c0a9712b0e62ef6b16
[ "MIT" ]
null
null
null
MLModule/loss.py
qai222/ATMOxide
42702c1ce299233569c8a3c0a9712b0e62ef6b16
[ "MIT" ]
null
null
null
import torch class CELoss(torch.nn.Module): def __init__(self): super(CELoss, self).__init__() def forward(self, y_pred, y_true): y_pred = torch.clamp(y_pred, 1e-9, 1 - 1e-9) return -(y_true * torch.log(y_pred)).sum(dim=1).mean()
22.166667
62
0.620301
43
266
3.511628
0.534884
0.13245
0
0
0
0
0
0
0
0
0
0.028986
0.221805
266
11
63
24.181818
0.700483
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.142857
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
1
0
0
0
0
1
0
0
2
c203432f8c53e83233d8d52f9f44b299487593fa
804
py
Python
ninja_auth/schema.py
mugartec/django-ninja-auth
bf36b4583a37213001131678d5ecda07f92ba2f6
[ "WTFPL" ]
9
2021-07-21T21:58:08.000Z
2022-03-11T07:02:26.000Z
ninja_auth/schema.py
mugartec/django-ninja-auth
bf36b4583a37213001131678d5ecda07f92ba2f6
[ "WTFPL" ]
1
2022-01-05T17:14:26.000Z
2022-03-11T18:46:17.000Z
ninja_auth/schema.py
mugartec/django-ninja-auth
bf36b4583a37213001131678d5ecda07f92ba2f6
[ "WTFPL" ]
4
2021-07-30T12:35:36.000Z
2022-01-26T15:40:34.000Z
from django.contrib.auth import get_user_model from ninja import Schema from ninja.orm import create_schema from typing import Dict, List UsernameSchemaMixin = create_schema( get_user_model(), fields=[get_user_model().USERNAME_FIELD] ) EmailSchemaMixin = create_schema( get_user_model(), fields=[get_u...
17.866667
47
0.746269
95
804
6.073684
0.4
0.07279
0.124783
0.098787
0.291161
0.249567
0.145581
0.145581
0.145581
0
0
0.005997
0.170398
804
44
48
18.272727
0.85907
0
0
0.233333
0
0
0.00995
0
0
0
0
0
0
1
0
false
0.366667
0.133333
0
0.566667
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
1
0
0
2
c21f20598fcb4edb1815430a740e9fd92d38d7c4
1,767
py
Python
sichu/apiserver/urls.py
ax003d/sichu_web
f01002f169fb5a683996bd5987572d55f1fa7c3b
[ "MIT" ]
55
2016-04-05T15:42:21.000Z
2018-07-19T07:13:09.000Z
sichu/apiserver/urls.py
ax003d/sichu_web
f01002f169fb5a683996bd5987572d55f1fa7c3b
[ "MIT" ]
null
null
null
sichu/apiserver/urls.py
ax003d/sichu_web
f01002f169fb5a683996bd5987572d55f1fa7c3b
[ "MIT" ]
18
2016-04-05T15:40:13.000Z
2018-03-15T23:50:27.000Z
from django.conf.urls import patterns, include, url from apiserver.resources import v1_api urlpatterns = patterns( 'apiserver.views', (r'^v1/account/register/$', 'account__register'), (r'^v1/account/login/$', 'account__login'), (r'^v1/account/login_by_weibo/$', 'account__login_by_weibo'), (r'^v1/a...
44.175
71
0.658744
216
1,767
5.046296
0.305556
0.06055
0.082569
0.041284
0
0
0
0
0
0
0
0.020248
0.13356
1,767
39
72
45.307692
0.691705
0.14601
0
0
0
0
0.646783
0.428284
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c228a9b1d80f8cfbee6a5a60ed922e91b7ade1a6
176
py
Python
noxfile.py
ucodery/slicetime
cc5eb15b9afc5fa701a84ee2049bd582cc82db90
[ "MIT" ]
1
2022-03-29T06:53:37.000Z
2022-03-29T06:53:37.000Z
noxfile.py
ucodery/slicetime
cc5eb15b9afc5fa701a84ee2049bd582cc82db90
[ "MIT" ]
null
null
null
noxfile.py
ucodery/slicetime
cc5eb15b9afc5fa701a84ee2049bd582cc82db90
[ "MIT" ]
null
null
null
import nox @nox.session(python=['3.7', '3.8', '3.9', '3.10', 'pypy3.7', 'pypy3.8', 'pypy3.9']) def unittest(session): session.install('.[test]') session.run('pytest')
25.142857
83
0.590909
28
176
3.714286
0.571429
0
0
0
0
0
0
0
0
0
0
0.097403
0.125
176
6
84
29.333333
0.577922
0
0
0
0
0
0.267045
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c23545ce408d38954fc18d89851addac263b547f
651
py
Python
darwin/importer/formats/darwin.py
v7labs/darwin-lib
13efb4867effd3d312bcfafe1ee242aed61fae3a
[ "MIT" ]
2
2019-09-04T13:32:07.000Z
2019-09-19T10:10:41.000Z
darwin/importer/formats/darwin.py
v7labs/darwin-lib
13efb4867effd3d312bcfafe1ee242aed61fae3a
[ "MIT" ]
1
2019-09-19T11:17:44.000Z
2019-09-19T17:34:31.000Z
darwin/importer/formats/darwin.py
v7labs/darwin-cli
13efb4867effd3d312bcfafe1ee242aed61fae3a
[ "MIT" ]
null
null
null
from pathlib import Path from typing import Optional import darwin.datatypes as dt from darwin.utils import parse_darwin_json def parse_path(path: Path) -> Optional[dt.AnnotationFile]: """ Parses the given file into a darwin ``AnnotationFile`` or returns ``None`` if the file does not have a ``.json`` ext...
25.038462
99
0.645161
85
651
4.882353
0.435294
0.057831
0.072289
0.062651
0
0
0
0
0
0
0
0.002016
0.238095
651
25
100
26.04
0.834677
0.486943
0
0
0
0
0.017731
0
0
0
0
0
0
1
0.125
false
0
0.5
0
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
c238cadb5993cdf46dc561a36f19902caaa298f8
325
py
Python
BubbleBobble/BubbleBobble.py
NadanKim/Python
0b47e0051b70b67fbdbe9188efc631d96ac6686a
[ "MIT" ]
1
2020-05-04T05:54:06.000Z
2020-05-04T05:54:06.000Z
BubbleBobble/BubbleBobble.py
NadanKim/Python
0b47e0051b70b67fbdbe9188efc631d96ac6686a
[ "MIT" ]
null
null
null
BubbleBobble/BubbleBobble.py
NadanKim/Python
0b47e0051b70b67fbdbe9188efc631d96ac6686a
[ "MIT" ]
null
null
null
import platform import os if platform.architecture()[0] == '32bit': os.environ["PYSDL2_DLL_PATH"] = "./SDL2/x86" else: os.environ["PYSDL2_DLL_PATH"] = "./SDL2/x64" import game_framework from pico2d import * import start_state # fill here open_canvas(1200, 800, True) game_framework.run(start_state) close_can...
19.117647
48
0.735385
47
325
4.87234
0.638298
0.078603
0.131004
0.157205
0.227074
0.227074
0
0
0
0
0
0.067138
0.129231
325
17
49
19.117647
0.742049
0.027692
0
0
0
0
0.174603
0
0
0
0
0
0
1
0
true
0
0.416667
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
c2416378b5347dc2b26104a502e6c271d41efa81
6,765
py
Python
Demo/cims_db.py
ComtecSystem-dev/Python_DB_Pool
332cbe9986569e57809dc2e76fe97f7df77b47d8
[ "Apache-2.0" ]
null
null
null
Demo/cims_db.py
ComtecSystem-dev/Python_DB_Pool
332cbe9986569e57809dc2e76fe97f7df77b47d8
[ "Apache-2.0" ]
null
null
null
Demo/cims_db.py
ComtecSystem-dev/Python_DB_Pool
332cbe9986569e57809dc2e76fe97f7df77b47d8
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- ################################################################################ # _____ _ # # / ____ | | # # | | ___ _ __ ____| |__ ___ ___ ...
42.018634
160
0.376201
504
6,765
4.674603
0.253968
0.040747
0.025467
0.040747
0.406197
0.352292
0.342954
0.269949
0.225806
0.188879
0
0.009527
0.503474
6,765
161
161
42.018634
0.691873
0.414339
0
0.505155
0
0.010309
0.066923
0.018925
0
0
0
0
0
0
null
null
0.020619
0.020619
null
null
0.092784
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
c248808de352dba7cf537239fff1a9413acf6d6b
963
py
Python
valid-parenthesis-string.py
daicang/Leetcode
676b05c1222670f73294eb2ed2665433eac148f4
[ "MIT" ]
null
null
null
valid-parenthesis-string.py
daicang/Leetcode
676b05c1222670f73294eb2ed2665433eac148f4
[ "MIT" ]
null
null
null
valid-parenthesis-string.py
daicang/Leetcode
676b05c1222670f73294eb2ed2665433eac148f4
[ "MIT" ]
null
null
null
class Solution: def checkValidString(self, s: str) -> bool: left_count = 0 star_count = 0 for char in s: if char == '(': left_count += 1 elif char == '*': star_count += 1 else: if left_count > 0: ...
26.75
47
0.369678
93
963
3.645161
0.247312
0.159292
0.117994
0.176991
0.59587
0.59587
0.59587
0.59587
0.59587
0.265487
0
0.04186
0.553479
963
36
48
26.75
0.746512
0
0
0.545455
0
0
0.004149
0
0
0
0
0
0
1
0.030303
false
0
0
0
0.181818
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
dfa13542a9552093d48e374336dd6982ac97d981
208
py
Python
nicedit/forms.py
jardev/django-nicedit
56adebb0f0313ebb1b855a832c5f2e5c788cedb2
[ "MIT" ]
null
null
null
nicedit/forms.py
jardev/django-nicedit
56adebb0f0313ebb1b855a832c5f2e5c788cedb2
[ "MIT" ]
null
null
null
nicedit/forms.py
jardev/django-nicedit
56adebb0f0313ebb1b855a832c5f2e5c788cedb2
[ "MIT" ]
2
2019-06-07T10:37:06.000Z
2021-11-26T14:45:42.000Z
from django import forms from .models import NicEditImage __all__ = ('NicEditImageForm',) class NicEditImageForm(forms.ModelForm): class Meta: model = NicEditImage fields = '__all__'
16
40
0.701923
20
208
6.9
0.65
0
0
0
0
0
0
0
0
0
0
0
0.221154
208
13
41
16
0.851852
0
0
0
0
0
0.110048
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
dfc27fbfd9eab2bd3bd88883c044f6ab22a63657
402
py
Python
Python/List_1/rotate_left3.py
RCoon/CodingBat
c5004c03e668c62751dc7f13154c79e25ea34339
[ "MIT" ]
1
2015-11-06T02:26:50.000Z
2015-11-06T02:26:50.000Z
Python/List_1/rotate_left3.py
RCoon/CodingBat
c5004c03e668c62751dc7f13154c79e25ea34339
[ "MIT" ]
null
null
null
Python/List_1/rotate_left3.py
RCoon/CodingBat
c5004c03e668c62751dc7f13154c79e25ea34339
[ "MIT" ]
null
null
null
# Given an array of ints length 3, return an array with the elements "rotated # left" so {1, 2, 3} yields {2, 3, 1}. # rotate_left3([1, 2, 3]) --> [2, 3, 1] # rotate_left3([5, 11, 9]) --> [11, 9, 5] # rotate_left3([7, 0, 0]) --> [0, 0, 7] def rotate_left3(nums): nums.append(nums.pop(0)) return nums print(rotate...
26.8
77
0.60199
76
402
3.092105
0.381579
0.32766
0.038298
0.076596
0.391489
0
0
0
0
0
0
0.135952
0.176617
402
14
78
28.714286
0.574018
0.569652
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
0.5
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
1
0
2
dfd16e7f7186f4d548a8b339ad96b392fe186ea1
20,857
py
Python
sdk/python/pulumi_azure_native/customerinsights/v20170101/link.py
sebtelko/pulumi-azure-native
711ec021b5c73da05611c56c8a35adb0ce3244e4
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure_native/customerinsights/v20170101/link.py
sebtelko/pulumi-azure-native
711ec021b5c73da05611c56c8a35adb0ce3244e4
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure_native/customerinsights/v20170101/link.py
sebtelko/pulumi-azure-native
711ec021b5c73da05611c56c8a35adb0ce3244e4
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
46.975225
376
0.666443
2,350
20,857
5.637447
0.078723
0.089674
0.053895
0.03442
0.799139
0.715202
0.631341
0.567482
0.537591
0.481884
0
0.002055
0.230091
20,857
443
377
47.081264
0.822954
0.233399
0
0.402174
1
0
0.163188
0.08229
0
0
0
0
0
1
0.148551
false
0.003623
0.028986
0
0.275362
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
dfece35aa41f364b2c33910decca79059fefe080
144
py
Python
backend/python3/practice/loop_while.py
cmdlhz/study_for_ver2
2e5110d0ce80e70a163a132c9c9cbb0cd9f4f134
[ "MIT" ]
null
null
null
backend/python3/practice/loop_while.py
cmdlhz/study_for_ver2
2e5110d0ce80e70a163a132c9c9cbb0cd9f4f134
[ "MIT" ]
null
null
null
backend/python3/practice/loop_while.py
cmdlhz/study_for_ver2
2e5110d0ce80e70a163a132c9c9cbb0cd9f4f134
[ "MIT" ]
null
null
null
age = 10 num = 0 while num < age: if num == 0: num += 1 continue if num % 2 == 0: print(num) if num > 4: break num += 1
12
18
0.472222
25
144
2.72
0.48
0.220588
0
0
0
0
0
0
0
0
0
0.103448
0.395833
144
12
19
12
0.678161
0
0
0.181818
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.090909
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5f097c38682586536a4136ac804db165e16d7bca
9,630
py
Python
_/elasticsearch-essentials-python-examples/chapter-6/relational_data_examples.py
paullewallencom/elasticsearch-978-1-7843-9101-0
ff74cb7faafdf54c9d1ba828f74fea592898201f
[ "Apache-2.0" ]
null
null
null
_/elasticsearch-essentials-python-examples/chapter-6/relational_data_examples.py
paullewallencom/elasticsearch-978-1-7843-9101-0
ff74cb7faafdf54c9d1ba828f74fea592898201f
[ "Apache-2.0" ]
null
null
null
_/elasticsearch-essentials-python-examples/chapter-6/relational_data_examples.py
paullewallencom/elasticsearch-978-1-7843-9101-0
ff74cb7faafdf54c9d1ba828f74fea592898201f
[ "Apache-2.0" ]
null
null
null
__author__ = 'bharvi' from elasticsearch import Elasticsearch import json #Creating Elasticsearch Client es = Elasticsearch('localhost:9200') def create_index_with_nested_mapping(index_name, doc_type): ''' Function to create index with nested mapping :param index_name: Name of the index to be created ...
30.766773
98
0.552648
1,048
9,630
4.83874
0.118321
0.053244
0.037862
0.050483
0.75843
0.722737
0.666535
0.632025
0.575823
0.564189
0
0.023744
0.322118
9,630
312
99
30.865385
0.753064
0.007373
0
0.408907
0
0
0.235627
0
0
0
0
0
0
0
null
null
0
0.008097
null
null
0.040486
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
1
0
0
0
0
0
0
0
0
2
5f15b99e042bd43771e58506cde68e2ce5189fb4
153
py
Python
src/essentials/io/print.py
ozanyldzgithuboffical/OzzyPythonSeriesPack
5ba98449d8ab744db98ae038dc7a137edbaaff5d
[ "MIT" ]
null
null
null
src/essentials/io/print.py
ozanyldzgithuboffical/OzzyPythonSeriesPack
5ba98449d8ab744db98ae038dc7a137edbaaff5d
[ "MIT" ]
null
null
null
src/essentials/io/print.py
ozanyldzgithuboffical/OzzyPythonSeriesPack
5ba98449d8ab744db98ae038dc7a137edbaaff5d
[ "MIT" ]
null
null
null
# @Author: Ozan YILDIZ@2022 # Simple printing operation val = 12 if __name__ == '__main__': #print operation print("Boolean True (True)", val)
17
37
0.673203
19
153
5
0.789474
0
0
0
0
0
0
0
0
0
0
0.04918
0.202614
153
8
38
19.125
0.729508
0.431373
0
0
0
0
0.329268
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5f1dd68567246b09750f7089819a42aeed2a93b5
1,727
py
Python
src/controllers/thread.py
xoudini/tsoha
39535ae851a4600089df2503961b6446e1f12253
[ "Apache-2.0" ]
1
2018-01-15T14:04:38.000Z
2018-01-15T14:04:38.000Z
src/controllers/thread.py
xoudini/tsoha
39535ae851a4600089df2503961b6446e1f12253
[ "Apache-2.0" ]
1
2018-01-13T20:30:15.000Z
2018-01-14T16:18:26.000Z
src/controllers/thread.py
xoudini/tsoha
39535ae851a4600089df2503961b6446e1f12253
[ "Apache-2.0" ]
null
null
null
from flask import render_template from typing import Dict, List from src.models.thread import Thread from src.models.tag import Tag class ThreadController: ### View rendering. @staticmethod def view_for_threads(): threads = Thread.find_all() return render_template('threads.html', ti...
28.783333
116
0.672843
224
1,727
5.022321
0.223214
0.12
0.067556
0.078222
0.435556
0.337778
0.211556
0.101333
0.101333
0.101333
0
0
0.219456
1,727
59
117
29.271186
0.83457
0.028373
0
0.384615
0
0
0.052758
0
0
0
0
0
0
1
0.230769
false
0
0.102564
0.051282
0.564103
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
1
0
0
2
a024701995b568e3c6e354e6a372130d13c65f5c
948
py
Python
src/Core/IssuerHandler.py
flexiooss/flexio-flow
47491c7e5b49a02dc859028de0d486edc0014b26
[ "Apache-2.0" ]
null
null
null
src/Core/IssuerHandler.py
flexiooss/flexio-flow
47491c7e5b49a02dc859028de0d486edc0014b26
[ "Apache-2.0" ]
44
2019-04-05T06:08:15.000Z
2021-09-13T19:37:49.000Z
src/Core/IssuerHandler.py
flexiooss/flexio-flow
47491c7e5b49a02dc859028de0d486edc0014b26
[ "Apache-2.0" ]
null
null
null
from typing import Optional from Core.ConfigHandler import ConfigHandler from FlexioFlow.Options import Options from FlexioFlow.StateHandler import StateHandler from VersionControlProvider.Issuer import Issuer from VersionControlProvider.IssuerFactory import IssuerFactory from VersionControlProvider.Issuers import Iss...
35.111111
111
0.742616
98
948
7.061224
0.336735
0.069364
0.069364
0.080925
0.083815
0
0
0
0
0
0
0
0.198312
948
26
112
36.461538
0.910526
0
0
0
0
0
0.004219
0
0
0
0
0
0
1
0.095238
false
0
0.333333
0
0.52381
0.047619
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
a0268b071ea7f0de2f166e0ff7fd289453395a45
2,452
py
Python
code/deprecated/push_relabel.py
campovski/bachelor
36587a42bd95420fe030c5a903369c1b025c1ce0
[ "MIT" ]
null
null
null
code/deprecated/push_relabel.py
campovski/bachelor
36587a42bd95420fe030c5a903369c1b025c1ce0
[ "MIT" ]
null
null
null
code/deprecated/push_relabel.py
campovski/bachelor
36587a42bd95420fe030c5a903369c1b025c1ce0
[ "MIT" ]
null
null
null
class Graph: class Vertex: def __init__(self, h, e): self.h = h self.e = e class Edge: def __init__(self, u, v, c, f): self.u = u self.v = v self.c = c self.f = f def __init__(self, V): self.vertices = [self.Vertex(0, 0) for _ in range(V)] self.edges = [] def max_flow(self): s...
25.020408
80
0.62398
437
2,452
3.379863
0.148741
0.207177
0.169262
0.05958
0.369668
0.315504
0.268111
0.1652
0.150305
0.150305
0
0.009207
0.202692
2,452
97
81
25.278351
0.746292
0.022023
0
0.041096
0
0
0.020868
0
0
0
0
0
0
0
null
null
0
0.013699
null
null
0.013699
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
1
0
0
0
0
0
0
0
0
2
a02e0a082de3fbb3c2ed2d36ddef397fafd72c56
317
py
Python
Luke 03/03.py
Nilzone-/Knowit-Julekalender-2017
66ef8a651277e0fef7d9278f3f129410b5b98ee0
[ "MIT" ]
null
null
null
Luke 03/03.py
Nilzone-/Knowit-Julekalender-2017
66ef8a651277e0fef7d9278f3f129410b5b98ee0
[ "MIT" ]
null
null
null
Luke 03/03.py
Nilzone-/Knowit-Julekalender-2017
66ef8a651277e0fef7d9278f3f129410b5b98ee0
[ "MIT" ]
null
null
null
from bitarray import bitarray from PIL import Image image = Image.open('knowit_03.png') red, *_ = image.split() bits = [x & 1 for x in red.tobytes()] #byte_string, *_ = bitarray(bits, endian='little').tobytes().partition(b'\0') #result = byte_string.decode('ascii') print(bitarray(bits, endian='little').tobytes())
28.818182
77
0.706625
46
317
4.76087
0.608696
0.091324
0.164384
0.219178
0.283105
0
0
0
0
0
0
0.014235
0.113565
317
11
78
28.818182
0.765125
0.353312
0
0
0
0
0.093137
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
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
1
0
0
0
0
2
a0335023fe1f244d748c1159f41b888a2ca0ca0a
1,006
py
Python
Statistics/Population_corelation_coefficient.py
rar9898/StatisticalCalculator
34ffd7e9e60facd5cce7af3e43ceb244f741138b
[ "MIT" ]
null
null
null
Statistics/Population_corelation_coefficient.py
rar9898/StatisticalCalculator
34ffd7e9e60facd5cce7af3e43ceb244f741138b
[ "MIT" ]
null
null
null
Statistics/Population_corelation_coefficient.py
rar9898/StatisticalCalculator
34ffd7e9e60facd5cce7af3e43ceb244f741138b
[ "MIT" ]
null
null
null
from Statistics.ZScore import zscore from Statistics.Mean import mean from Statistics.StandardDeviation import standard_deviation from Calculator.Subtraction import subtraction from Calculator.Division import division from Calculator.Multiplication import multiplication from Calculator.Addition import addition def po...
29.588235
70
0.676938
131
1,006
5.160305
0.343511
0.08284
0.026627
0
0
0
0
0
0
0
0
0.008895
0.217694
1,006
34
71
29.588235
0.850064
0
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0.538462
0
0.692308
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
1
0
0
2
a04b8036c2e618fe8ab0e227a7e9e5bace8accf3
806
py
Python
src/controller/locationRoutes.py
Bocampagni/Shipping-api
4cdf074467e4478885fe55d7c82a16e1a577b045
[ "MIT" ]
null
null
null
src/controller/locationRoutes.py
Bocampagni/Shipping-api
4cdf074467e4478885fe55d7c82a16e1a577b045
[ "MIT" ]
null
null
null
src/controller/locationRoutes.py
Bocampagni/Shipping-api
4cdf074467e4478885fe55d7c82a16e1a577b045
[ "MIT" ]
null
null
null
""" Routes here: - Where am I ? - Return the street, city and country a given geolocation point is at. - Linear distance (Haversine) - Return the linear distance on a globe given two geo-coordinates. """ from fastapi import APIRouter from src.service.HaversineService import linear_distance from src.model.l...
26
74
0.776675
98
806
6.27551
0.479592
0.113821
0.026016
0
0
0
0
0
0
0
0
0
0.140199
806
30
75
26.866667
0.887446
0.254342
0
0
0
0
0.071066
0
0
0
0
0
0
1
0.142857
false
0
0.357143
0
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
a0631cc292309e8b9997f259d7c5466d5db03bb2
267
py
Python
datahub/investment/summary/urls.py
Staberinde/data-hub-api
3d0467dbceaf62a47158eea412a3dba827073300
[ "MIT" ]
null
null
null
datahub/investment/summary/urls.py
Staberinde/data-hub-api
3d0467dbceaf62a47158eea412a3dba827073300
[ "MIT" ]
4
2021-06-30T10:34:50.000Z
2021-06-30T10:34:51.000Z
datahub/investment/summary/urls.py
Staberinde/data-hub-api
3d0467dbceaf62a47158eea412a3dba827073300
[ "MIT" ]
null
null
null
from django.urls import path from datahub.investment.summary.views import IProjectSummaryView urlpatterns = [ path( 'adviser/<uuid:adviser_pk>/investment-summary', IProjectSummaryView.as_view(), name='investment-summary-item', ), ]
20.538462
64
0.696629
27
267
6.814815
0.666667
0.277174
0
0
0
0
0
0
0
0
0
0
0.194757
267
12
65
22.25
0.855814
0
0
0
0
0
0.250936
0.250936
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a063d521cdf29cd6f0c8ec8a587747f330d103e6
1,598
py
Python
VulnerableScan/migrations/0004_remove_exploitregister_file_object_and_more.py
b0bac/ApolloScanner
26612454bfb302611e407e495c2943b27285f23d
[ "MIT" ]
289
2022-03-17T01:37:11.000Z
2022-03-31T16:04:00.000Z
VulnerableScan/migrations/0004_remove_exploitregister_file_object_and_more.py
SoryegeToon/ApolloScanner
8f321976bf892b492e42fecdeb25f7d2e45f6a59
[ "MIT" ]
18
2022-03-17T02:43:05.000Z
2022-03-30T03:10:56.000Z
VulnerableScan/migrations/0004_remove_exploitregister_file_object_and_more.py
SoryegeToon/ApolloScanner
8f321976bf892b492e42fecdeb25f7d2e45f6a59
[ "MIT" ]
71
2022-03-17T02:23:06.000Z
2022-03-31T13:30:38.000Z
# Generated by Django 4.0.1 on 2022-03-10 17:36 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('Assets', '0003_alter_assetlist_timestamp_alter_assettask_timestamp'), ('VulnerableScan', '0003_alter_exploitregister...
35.511111
148
0.621402
158
1,598
6.075949
0.417722
0.05625
0.15
0.175
0.25
0.191667
0
0
0
0
0
0.021867
0.255945
1,598
44
149
36.318182
0.785534
0.02816
0
0.421053
1
0
0.219213
0.065119
0
0
0
0
0
1
0
false
0
0.052632
0
0.131579
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a08de9a7f78d2b4c6c046592a71b3e0b286148ff
1,391
py
Python
misc/make_fulltohalf.py
atsuoishimoto/pyjf3
6f4b22e24c8f3bae5120b00e1de86e66fabb1785
[ "Unlicense" ]
null
null
null
misc/make_fulltohalf.py
atsuoishimoto/pyjf3
6f4b22e24c8f3bae5120b00e1de86e66fabb1785
[ "Unlicense" ]
2
2015-10-01T20:41:28.000Z
2016-03-14T14:50:41.000Z
misc/make_fulltohalf.py
atsuoishimoto/pyjf3
6f4b22e24c8f3bae5120b00e1de86e66fabb1785
[ "Unlicense" ]
null
null
null
import unicodedata import unicodedata chars = [] for c in range(1, 65536): c = unichr(c) name = unicodedata.name(c, '') if name.startswith("FULLWIDTH") or name.startswith("HALFWIDTH"): chars.append((name, c)) d = {} for name, c in chars: p = name.split() if p[0] in ('HALFWID...
20.761194
69
0.498922
161
1,391
4.310559
0.304348
0.080692
0.060519
0.095101
0.072046
0
0
0
0
0
0
0.024915
0.365205
1,391
66
70
21.075758
0.761042
0
0
0.32
0
0
0.073318
0
0
0
0
0
0
0
null
null
0.06
0.04
null
null
0.02
0
0
0
null
0
0
0
0
0
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
1
0
0
0
0
0
2
a08e666451ce46ff1ce96123e7fca104a0847a50
957
py
Python
server/service_user/exports.py
yseiren87/jellicleSpace
10d693bbc04e6b89a7ce15d2dc9797cec2a553b7
[ "Apache-2.0" ]
null
null
null
server/service_user/exports.py
yseiren87/jellicleSpace
10d693bbc04e6b89a7ce15d2dc9797cec2a553b7
[ "Apache-2.0" ]
7
2021-03-19T04:47:00.000Z
2021-09-22T19:10:46.000Z
server/service_user/exports.py
yseiren87/jellicleSpace
10d693bbc04e6b89a7ce15d2dc9797cec2a553b7
[ "Apache-2.0" ]
null
null
null
from service_user.models import UserModel from django.core.exceptions import ValidationError def get_user_instance_with_session_id(user_id, session_id): try: instance = UserModel.objects.get( user_id__exact=user_id, session_id__exact=session_id ) except (UserModel.DoesN...
26.583333
90
0.734587
134
957
4.791045
0.201493
0.102804
0.087227
0.11838
0.775701
0.746106
0.727414
0.65109
0.551402
0.551402
0
0
0.207941
957
35
91
27.342857
0.846966
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.083333
0.083333
0.5
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a090bdf83760eb6503d8fb43df6988333a3549dc
178
py
Python
basics/8 - conditional logic/app.py
gilbertgit95/py-tests
cc0028a92b40cd6f5476a184b1c6d69009c5a68a
[ "MIT" ]
null
null
null
basics/8 - conditional logic/app.py
gilbertgit95/py-tests
cc0028a92b40cd6f5476a184b1c6d69009c5a68a
[ "MIT" ]
10
2020-02-12T02:55:21.000Z
2022-02-10T09:46:47.000Z
basics/8 - conditional logic/app.py
gilbertgit95/py-tests
cc0028a92b40cd6f5476a184b1c6d69009c5a68a
[ "MIT" ]
null
null
null
province = input('Enter you province: ') if province.lower() == 'surigao': print('Hi, I am from Surigao too.') else: print(f'Hi, so your from { province.capitalize() }')
29.666667
56
0.646067
25
178
4.6
0.72
0
0
0
0
0
0
0
0
0
0
0
0.179775
178
6
56
29.666667
0.787671
0
0
0
0
0
0.530726
0.117318
0
0
0
0
0
1
0
false
0
0
0
0
0.4
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a0a44839a72d7d8be56e23c36ab6608c90156600
1,427
py
Python
tests/test_primes.py
dazfuller/python_testing
7ef763ce5a78dcda158364eb3c564dd74a9405a5
[ "MIT" ]
null
null
null
tests/test_primes.py
dazfuller/python_testing
7ef763ce5a78dcda158364eb3c564dd74a9405a5
[ "MIT" ]
null
null
null
tests/test_primes.py
dazfuller/python_testing
7ef763ce5a78dcda158364eb3c564dd74a9405a5
[ "MIT" ]
null
null
null
""" Test cases for sample module """ import unittest from sample.primes import (approx_number_primes, is_prime) class TestPrimeMethods(unittest.TestCase): """ Test the methods defined for prime numbers """ def test_approx_small_values(self): """ Check that the method to approximate number of prim...
31.711111
73
0.640505
175
1,427
5.057143
0.394286
0.071186
0.072316
0.094915
0.128814
0
0
0
0
0
0
0.023166
0.274001
1,427
44
74
32.431818
0.831081
0.320252
0
0
0
0
0.008314
0
0
0
0
0
0.526316
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
1
0
1
0
0
0
0
0
0
0
2
a0a7a1a4f0c41ecd55f54af87c75350bfdbefffc
1,395
py
Python
peachproxy/setup.py
Meddington/TravisExample
334344a3bdf76cc81950f707003f73e7e5f06661
[ "MIT" ]
null
null
null
peachproxy/setup.py
Meddington/TravisExample
334344a3bdf76cc81950f707003f73e7e5f06661
[ "MIT" ]
null
null
null
peachproxy/setup.py
Meddington/TravisExample
334344a3bdf76cc81950f707003f73e7e5f06661
[ "MIT" ]
null
null
null
from setuptools import setup setup( name = 'peachproxy', version = '4.1.0', #use_scm_version=True, description = 'Peach Web Proxy API module', long_description = "blah blah blah", author = 'Peach Fuzzer, LLC', author_email = 'contact@peachfuzzer.com', url = 'http://peachfuzzer.com', ...
32.44186
61
0.58638
137
1,395
5.89781
0.569343
0.164604
0.216584
0.128713
0
0
0
0
0
0
0
0.020629
0.270251
1,395
42
62
33.214286
0.773084
0.017921
0
0
0
0
0.58114
0.016813
0
0
0
0
0
1
0
true
0
0.030303
0
0.030303
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
1
0
0
0
0
0
0
2
a0b95281e810c294a2a866c57cc8b3ec0542cc4d
1,202
py
Python
mopidy_beep/__init__.py
hayribakici/mopidy-beep
d534caff4f5469d2c24e4040f52a2e700834a680
[ "Apache-2.0" ]
null
null
null
mopidy_beep/__init__.py
hayribakici/mopidy-beep
d534caff4f5469d2c24e4040f52a2e700834a680
[ "Apache-2.0" ]
null
null
null
mopidy_beep/__init__.py
hayribakici/mopidy-beep
d534caff4f5469d2c24e4040f52a2e700834a680
[ "Apache-2.0" ]
null
null
null
''' Mopidy Beep Python module. ''' import os import mopidy __version__ = '0.1' class Extension(mopidy.ext.Extension): ''' Mopidy Beep extension. ''' dist_name = 'Mopidy-Beep' ext_name = 'beep' version = __version__ def get_default_config(self): # pylint: disable=no-self-use ''...
22.259259
74
0.613145
138
1,202
5.173913
0.463768
0.05042
0.044818
0.061625
0
0
0
0
0
0
0
0.002345
0.290349
1,202
53
75
22.679245
0.834701
0.343594
0
0
0
0
0.050822
0
0
0
0
0
0
1
0.222222
false
0.055556
0.166667
0
0.722222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
2611696052388cf7da145be3bdca70a633645ea6
3,089
py
Python
db_bascline.py
wstart/DB_BaseLine
fb54b4faa199dfdf3539d8b7c855684e850cbee5
[ "Apache-2.0" ]
152
2018-04-23T00:47:23.000Z
2022-03-24T07:34:40.000Z
db_bascline.py
Dm2333/DB_BaseLine
fb54b4faa199dfdf3539d8b7c855684e850cbee5
[ "Apache-2.0" ]
4
2018-05-24T03:09:39.000Z
2021-06-12T07:40:46.000Z
db_bascline.py
wstart/DB_BaseLine
fb54b4faa199dfdf3539d8b7c855684e850cbee5
[ "Apache-2.0" ]
49
2018-04-23T00:57:22.000Z
2022-03-24T07:34:42.000Z
# -*- coding: utf-8 -*- import sys reload(sys) sys.setdefaultencoding('utf-8') from script.mysql_baseline import * from loghandle import * import getopt if __name__ == "__main__": bannber = ''' ____ ____ ____ _ _ {''' + db_baseline_basic.getVersion() + '''} | _ \| __ )| __ ) __ _ ___ _...
30.584158
112
0.499838
293
3,089
4.897611
0.337884
0.04878
0.029268
0.0223
0.165854
0.146341
0.122648
0.072474
0
0
0
0.007707
0.327938
3,089
100
113
30.89
0.683526
0.006798
0
0.126582
0
0.037975
0.454012
0.058056
0
0
0
0
0
0
null
null
0.063291
0.050633
null
null
0.063291
0
0
0
null
0
0
0
0
0
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
1
0
0
0
0
0
2
26174133f8e58b2e662f395618e6c08edeaae306
5,653
py
Python
monitor/dispatch/install_clients.py
opnfv/bottlenecks
b6c7bba0c071b42172283e4d97a3641f6464857a
[ "Apache-2.0" ]
1
2019-04-20T08:42:49.000Z
2019-04-20T08:42:49.000Z
monitor/dispatch/install_clients.py
opnfv/bottlenecks
b6c7bba0c071b42172283e4d97a3641f6464857a
[ "Apache-2.0" ]
2
2020-04-30T00:07:15.000Z
2021-06-02T00:33:47.000Z
monitor/dispatch/install_clients.py
opnfv/bottlenecks
b6c7bba0c071b42172283e4d97a3641f6464857a
[ "Apache-2.0" ]
3
2016-12-09T10:20:55.000Z
2019-04-22T12:45:00.000Z
############################################################################## # Copyright (c) 2018 Huawei Tech and others. # # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 # which accompanies this distribution, and is available...
43.821705
79
0.537944
586
5,653
5.042662
0.303754
0.073096
0.033841
0.045685
0.225381
0.192893
0.157022
0.093401
0.064975
0.064975
0
0.002132
0.336105
5,653
128
80
44.164063
0.785238
0.12542
0
0.136842
0
0
0.222149
0.0439
0
0
0
0
0
0
null
null
0.052632
0.052632
null
null
0.021053
0
0
0
null
0
0
0
0
0
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
1
0
0
0
0
0
2
26441a9d01cbe05dfe88c39dbad0f18d05f95cd3
281
py
Python
src/api/serializers/operations.py
artinnok/billing-gateway
fbb0b358066a0038e775e6a9c4d40bcdf8f79e8e
[ "MIT" ]
null
null
null
src/api/serializers/operations.py
artinnok/billing-gateway
fbb0b358066a0038e775e6a9c4d40bcdf8f79e8e
[ "MIT" ]
4
2021-03-18T23:34:38.000Z
2021-06-04T22:27:26.000Z
src/api/serializers/operations.py
artinnok/billing-gateway
fbb0b358066a0038e775e6a9c4d40bcdf8f79e8e
[ "MIT" ]
1
2020-02-11T09:20:30.000Z
2020-02-11T09:20:30.000Z
from rest_framework.serializers import ModelSerializer from billing.models import Operation class OperationSerializer(ModelSerializer): class Meta: model = Operation fields = ('id', 'direction', 'amount', 'fee', 'sender', 'receiver', 'payment', 'account',)
25.545455
98
0.704626
27
281
7.296296
0.814815
0
0
0
0
0
0
0
0
0
0
0
0.174377
281
10
99
28.1
0.849138
0
0
0
0
0
0.170819
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
26444bcfc025a10d1d56e997d8f362078f4f5b52
367
py
Python
app/tests/conftest.py
pkavousi/similar-users
8434e0a03dc8dfa218a34601431c564dff3e80b6
[ "FTL", "RSA-MD" ]
null
null
null
app/tests/conftest.py
pkavousi/similar-users
8434e0a03dc8dfa218a34601431c564dff3e80b6
[ "FTL", "RSA-MD" ]
null
null
null
app/tests/conftest.py
pkavousi/similar-users
8434e0a03dc8dfa218a34601431c564dff3e80b6
[ "FTL", "RSA-MD" ]
null
null
null
from typing import Generator import pytest from fastapi.testclient import TestClient from app.main import app @pytest.fixture(scope="module") def test_data(): sample_data = {"user_handle": 1} return sample_data @pytest.fixture() def client() -> Generator: with TestClient(app) as _client: yield...
18.35
41
0.713896
46
367
5.543478
0.565217
0.101961
0
0
0
0
0
0
0
0
0
0.003378
0.19346
367
19
42
19.315789
0.858108
0
0
0
0
0
0.046322
0
0
0
0
0
0
1
0.153846
false
0
0.307692
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
1
0
1
0
0
2
264e6add1ba15a65e94aadac1a00129404f02466
3,323
py
Python
code/benchmark_networks/save_method.py
datalw/EEGdenoiseNet
f32d3a3e417fdc3c473854d3373ed470e89a67f9
[ "MIT" ]
null
null
null
code/benchmark_networks/save_method.py
datalw/EEGdenoiseNet
f32d3a3e417fdc3c473854d3373ed470e89a67f9
[ "MIT" ]
null
null
null
code/benchmark_networks/save_method.py
datalw/EEGdenoiseNet
f32d3a3e417fdc3c473854d3373ed470e89a67f9
[ "MIT" ]
null
null
null
import os import numpy as np from data_prepare import * from Network_structure import * from loss_function import * from train_method import * def save_eeg(saved_model, result_location, foldername, save_train, save_vali, save_test, noiseEEG_train, EEG_train, noiseEEG_val, EEG_val, noiseEEG_test,...
70.702128
212
0.569064
344
3,323
5.19186
0.165698
0.12542
0.215006
0.243561
0.675812
0.585106
0.569429
0.569429
0.569429
0.515677
0
0
0.269335
3,323
47
213
70.702128
0.735585
0.050557
0
0.315789
0
0
0.14949
0.021732
0
0
0
0
0
1
0.026316
false
0
0.157895
0
0.184211
0.078947
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
267c0047e7d0c4375c0eee85199b970bfa59da8b
567
py
Python
contrib/C/libid3tag/test.py
finnianr/Eiffel-Loop
387134fee1eae228abea6eea8f11a29ceef4c283
[ "MIT" ]
17
2016-03-15T19:41:19.000Z
2021-12-25T18:55:17.000Z
contrib/C/libid3tag/test.py
finnianr/Eiffel-Loop
387134fee1eae228abea6eea8f11a29ceef4c283
[ "MIT" ]
1
2017-05-18T18:55:03.000Z
2017-05-18T19:14:10.000Z
contrib/C/libid3tag/test.py
finnianr/Eiffel-Loop
387134fee1eae228abea6eea8f11a29ceef4c283
[ "MIT" ]
1
2016-11-18T18:18:41.000Z
2016-11-18T18:18:41.000Z
import os from os import path from eiffel_loop.scons.c_library import LIBRARY_INFO from eiffel_loop.package import TAR_GZ_SOFTWARE_PACKAGE from eiffel_loop.package import SOFTWARE_PATCH info = LIBRARY_INFO ('source/id3.getlib') print 'is_list', isinstance (info.configure [0], list) print 'url', info.url print inf...
21
68
0.784832
90
567
4.711111
0.411111
0.070755
0.099057
0.099057
0.264151
0.136792
0.136792
0
0
0
0
0.004016
0.121693
567
26
69
21.807692
0.84739
0.070547
0
0
0
0
0.068702
0
0
0
0
0
0
0
null
null
0
0.384615
null
null
0.307692
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
2681002937e85246bec45ea2f0afad09060bd398
306
py
Python
phone_communication_backup_coalescer/__main__.py
phillipgreenii/phone_communication_backup_coalescer
58b47e8d05c66b4f3deae8ae1bc2bdb2cf1b71d6
[ "MIT" ]
null
null
null
phone_communication_backup_coalescer/__main__.py
phillipgreenii/phone_communication_backup_coalescer
58b47e8d05c66b4f3deae8ae1bc2bdb2cf1b71d6
[ "MIT" ]
7
2015-06-01T11:33:10.000Z
2021-05-24T13:29:31.000Z
phone_communication_backup_coalescer/__main__.py
phillipgreenii/phone_communication_backup_coalescer
58b47e8d05c66b4f3deae8ae1bc2bdb2cf1b71d6
[ "MIT" ]
null
null
null
''' phone_communication_backup_coalescer Copyright 2016, Phillip Green II Licensed under MIT. ''' import logging import sys import cli logging.basicConfig(level=logging.INFO, format='%(asctime)s %(levelname)s:%(message)s') def main(): cli.run(sys.argv[1:]) if __name__ == "__main__": main()
14.571429
87
0.715686
41
306
5.073171
0.756098
0
0
0
0
0
0
0
0
0
0
0.019011
0.140523
306
20
88
15.3
0.771863
0.29085
0
0
0
0
0.215311
0.119617
0
0
0
0
0
1
0.125
true
0
0.375
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
1
0
1
0
0
0
0
2
26872cc3f537a0ffe66c811df2a6c89c185cd030
399
py
Python
databases/migrations/2020_09_22_071121_add_data_pressure.py
krishotte/env_data2
379f3bef686e5668019d11351aa4dae4eae05d37
[ "MIT" ]
null
null
null
databases/migrations/2020_09_22_071121_add_data_pressure.py
krishotte/env_data2
379f3bef686e5668019d11351aa4dae4eae05d37
[ "MIT" ]
null
null
null
databases/migrations/2020_09_22_071121_add_data_pressure.py
krishotte/env_data2
379f3bef686e5668019d11351aa4dae4eae05d37
[ "MIT" ]
null
null
null
from orator.migrations import Migration class AddDataPressure(Migration): def up(self): """ Run the migrations. """ with self.schema.table('data') as table: table.float('pressure') def down(self): """ Revert the migrations. """ with...
21
48
0.553885
41
399
5.365854
0.560976
0.118182
0.154545
0.190909
0.436364
0.436364
0.436364
0.436364
0.436364
0.436364
0
0
0.325815
399
18
49
22.166667
0.817844
0.105263
0
0.25
0
0
0.077419
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
cd2050df8a85fddacffc2ef8c51ed38d55e95d95
1,432
py
Python
examples/action_models/AD4_XOr_2Actions_Test.py
pcyoung75/SysMPy
2684e28eb8ad63c351e3327591bc2d988480e6a3
[ "Apache-2.0" ]
null
null
null
examples/action_models/AD4_XOr_2Actions_Test.py
pcyoung75/SysMPy
2684e28eb8ad63c351e3327591bc2d988480e6a3
[ "Apache-2.0" ]
null
null
null
examples/action_models/AD4_XOr_2Actions_Test.py
pcyoung75/SysMPy
2684e28eb8ad63c351e3327591bc2d988480e6a3
[ "Apache-2.0" ]
null
null
null
from sysmpy import * import asyncio """ +---------------+ | | | start | | | +---------------+ | process ...
34.926829
57
0.168994
61
1,432
3.819672
0.52459
0.038627
0.085837
0
0
0
0
0
0
0
0
0.02995
0.580307
1,432
40
58
35.8
0.357737
0.024441
0
0
0
0
0.179688
0.082031
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
cd24412577cb4d8966d1f35a9dca22dd26ef8547
522
py
Python
minpmt.py
joeryan/mit600x
18c9c6606d9476b436216eccc6fae5b7ef5b6015
[ "MIT" ]
null
null
null
minpmt.py
joeryan/mit600x
18c9c6606d9476b436216eccc6fae5b7ef5b6015
[ "MIT" ]
null
null
null
minpmt.py
joeryan/mit600x
18c9c6606d9476b436216eccc6fae5b7ef5b6015
[ "MIT" ]
null
null
null
# edX MIT6.00.1x programming in python # problem set 2, week 2, problem 2 # minumum payment to pay off debt in one year annualInterestRate = 0.2 balance = 3926.0 monthlyInterest = annualInterestRate / 12 remainingBal = balance monthlyPmt = 10 while (remainingBal > 0): for month in range(1,13): remainingB...
24.857143
54
0.687739
62
522
5.790323
0.612903
0.10585
0.16156
0.172702
0
0
0
0
0
0
0
0.062972
0.239464
522
21
55
24.857143
0.84131
0.216475
0
0.153846
0
0
0.044335
0
0
0
0
0
0
0
null
null
0
0
null
null
0.076923
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
1
0
0
0
0
0
0
0
0
2
cd2dddb933352e4e52dfaa33fde7af380ff1ac57
171
py
Python
src/config/deprecated/tos-tossim/tester.py
BigstarPie/WuKongProject
e8e4a9d3f56732b2fdc8c5c48d0be93d31f57376
[ "BSD-2-Clause-FreeBSD" ]
16
2015-01-07T10:32:47.000Z
2019-01-16T16:13:51.000Z
src/config/deprecated/tos-tossim/tester.py
BigstarPie/WuKongProject
e8e4a9d3f56732b2fdc8c5c48d0be93d31f57376
[ "BSD-2-Clause-FreeBSD" ]
14
2015-05-01T04:45:45.000Z
2016-05-11T01:29:23.000Z
src/config/deprecated/tos-tossim/tester.py
BigstarPie/WuKongProject
e8e4a9d3f56732b2fdc8c5c48d0be93d31f57376
[ "BSD-2-Clause-FreeBSD" ]
13
2015-06-17T06:42:17.000Z
2020-11-27T18:23:08.000Z
import sys from TOSSIM import * t = Tossim([]) t.runNextEvent() m = t.getNode(32) m.turnOn() t.addChannel("DEBUG", sys.stdout) while (m.isOn()==1): t.runNextEvent()
14.25
33
0.654971
26
171
4.307692
0.615385
0.232143
0
0
0
0
0
0
0
0
0
0.020548
0.146199
171
11
34
15.545455
0.746575
0
0
0.222222
0
0
0.029412
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
cd4deeae46aef01f74825efa49b6f08354b32266
7,875
py
Python
app.py
guof25/watchlist
1c35ee4bd70e4cd83007f38a490f6a14a1e060b7
[ "MIT" ]
null
null
null
app.py
guof25/watchlist
1c35ee4bd70e4cd83007f38a490f6a14a1e060b7
[ "MIT" ]
null
null
null
app.py
guof25/watchlist
1c35ee4bd70e4cd83007f38a490f6a14a1e060b7
[ "MIT" ]
null
null
null
from watchlist import app ''' from flask import Flask,url_for,render_template,request,flash,redirect # 引入Flask类 ,url_for反向解析 from faker import Factory # 使用faker生成测试数据 from settings import DebugMode,TestingMode # 设置模式 from flask_sqlalchemy import SQLAlchemy # 数据库扩展 from werkzeug.security import generate_password_...
33.368644
114
0.594794
890
7,875
5.162921
0.273034
0.018281
0.048096
0.056583
0.216322
0.135147
0.089445
0.049619
0.024374
0.024374
0
0.006716
0.205841
7,875
235
115
33.510638
0.722578
0.008889
0
0
0
0
0.112676
0
0
0
0
0
0
1
0
true
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
1
0
1
0
0
0
0
2
cd5ac9f446b1220c704f787f2f973a8cf1ad49f9
1,700
py
Python
_GTW/_OMP/_Auth/Account_in_Group.py
Tapyr/tapyr
4235fba6dce169fe747cce4d17d88dcf4a3f9f1d
[ "BSD-3-Clause" ]
6
2016-12-10T17:51:10.000Z
2021-10-11T07:51:48.000Z
_GTW/_OMP/_Auth/Account_in_Group.py
Tapyr/tapyr
4235fba6dce169fe747cce4d17d88dcf4a3f9f1d
[ "BSD-3-Clause" ]
null
null
null
_GTW/_OMP/_Auth/Account_in_Group.py
Tapyr/tapyr
4235fba6dce169fe747cce4d17d88dcf4a3f9f1d
[ "BSD-3-Clause" ]
3
2020-03-29T07:37:03.000Z
2021-01-21T16:08:40.000Z
# -*- coding: utf-8 -*- # Copyright (C) 2010-2013 Mag. Christian Tanzer All rights reserved # Glasauergasse 32, A--1130 Wien, Austria. tanzer@swing.co.at # **************************************************************************** # This module is part of the package GTW.OMP.Auth. # # This module is licensed under th...
26.153846
78
0.594706
209
1,700
4.535885
0.435407
0.050633
0.084388
0.053797
0.160338
0.097046
0
0
0
0
0
0.028679
0.220588
1,700
64
79
26.5625
0.681509
0.512353
0
0.105263
0
0
0.011335
0
0
0
0
0
0
1
0
false
0
0.368421
0
0.578947
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
1
0
0
2
cd7163ba843663ad805f853b3b02b2587fa6d694
1,038
py
Python
karp/query_dsl/node.py
spraakbanken/karp-backend-v6-tmp
e5b78157bd999df18c188973ae2a337015b6f35d
[ "MIT" ]
1
2021-12-08T15:33:42.000Z
2021-12-08T15:33:42.000Z
karp/query_dsl/node.py
spraakbanken/karp-backend-v6-tmp
e5b78157bd999df18c188973ae2a337015b6f35d
[ "MIT" ]
null
null
null
karp/query_dsl/node.py
spraakbanken/karp-backend-v6-tmp
e5b78157bd999df18c188973ae2a337015b6f35d
[ "MIT" ]
null
null
null
class Node: def __init__(self, type_, arity: int, value=None): self.type = type_ self.arity = arity self.value = value self.children = [] def __repr__(self): return "<Node {t} {v} {c}>".format(t=self.type, v=self.value, c=self.children) def _pprint(self, level): ...
24.714286
86
0.569364
135
1,038
4.192593
0.288889
0.127208
0.079505
0.035336
0.254417
0.176678
0.109541
0
0
0
0
0.005563
0.307322
1,038
41
87
25.317073
0.781641
0
0
0.064516
0
0
0.038536
0
0
0
0
0
0
1
0.290323
false
0
0
0.129032
0.451613
0.16129
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
cd79fbd3b3e7215ef315a80dd8ce6ee0fef9eb15
4,335
py
Python
Buffer Overflow BOF Scripts/FFTPS_v1.0.py
JAYMONSECURITY/JMSec-Blog-Resources
61bcab0cbfceab8d46c039f5a5165b8f9da6737f
[ "MIT" ]
2
2021-09-08T23:57:47.000Z
2022-02-15T09:58:36.000Z
Buffer Overflow BOF Scripts/FFTPS_v1.0.py
JAYMONSECURITY/JMSec-Blog-Resources
61bcab0cbfceab8d46c039f5a5165b8f9da6737f
[ "MIT" ]
null
null
null
Buffer Overflow BOF Scripts/FFTPS_v1.0.py
JAYMONSECURITY/JMSec-Blog-Resources
61bcab0cbfceab8d46c039f5a5165b8f9da6737f
[ "MIT" ]
2
2021-09-09T13:42:12.000Z
2022-02-15T23:39:02.000Z
#!/usr/bin/env python #---------------------------------------------------------------------------------------------# # Software = Freefloat FTP server version 1.0 # # Download Link = http://www.mediafire.com/file/9cds1786340avnn/Freefloat+FTP+Server+v1.0.rar # # Date ...
42.5
103
0.473126
526
4,335
3.891635
0.574144
0.029311
0.043967
0.016121
0.053249
0.045921
0
0
0
0
0
0.110977
0.235063
4,335
101
104
42.920792
0.506333
0.459746
0
0.084746
0
0.305085
0.552828
0.378781
0
0
0.004384
0
0
0
null
null
0.033898
0.067797
null
null
0.169492
0
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
1
0
0
0
0
0
0
0
0
2
cd93571ddd3f2aef88974838f9012f1f21d85a0a
1,005
py
Python
jupyterlab/rootfs/etc/jupyter/jupyter_notebook_config.py
kuchel77/addon-jupyterlab-lite
e764df206838211dc61166b8c58f755bc069c9ad
[ "MIT" ]
null
null
null
jupyterlab/rootfs/etc/jupyter/jupyter_notebook_config.py
kuchel77/addon-jupyterlab-lite
e764df206838211dc61166b8c58f755bc069c9ad
[ "MIT" ]
null
null
null
jupyterlab/rootfs/etc/jupyter/jupyter_notebook_config.py
kuchel77/addon-jupyterlab-lite
e764df206838211dc61166b8c58f755bc069c9ad
[ "MIT" ]
1
2020-09-01T12:52:34.000Z
2020-09-01T12:52:34.000Z
# Configuration file for ipython-notebook. c = get_config() # ------------------------------------------------------------------------------ # NotebookApp configuration # ------------------------------------------------------------------------------ c.GitHubConfig.access_token = '' c.JupyterApp.answer_yes = True c.L...
32.419355
80
0.631841
109
1,005
5.642202
0.46789
0.273171
0.110569
0.087805
0
0
0
0
0
0
0
0.012101
0.095522
1,005
30
81
33.5
0.664466
0.222886
0
0
0
0
0.173969
0.029639
0
0
0
0
0
1
0
false
0.086957
0
0
0
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
2697eb8543d184a4917850ada01be10ee520ca14
1,050
py
Python
instance/config.py
imsplitbit/usermanager
fed3b3c049df1257becfe9ba4cda97a509bba0ec
[ "MIT" ]
null
null
null
instance/config.py
imsplitbit/usermanager
fed3b3c049df1257becfe9ba4cda97a509bba0ec
[ "MIT" ]
null
null
null
instance/config.py
imsplitbit/usermanager
fed3b3c049df1257becfe9ba4cda97a509bba0ec
[ "MIT" ]
null
null
null
import os class Config(object): """ Parent configuration class """ DEBUG = False CSRF_ENABLED = True SECRET = os.getenv('SECRET') SQLALCHEMY_DATABASE_URI = os.getenv('DATABASE_URL') class DevelopmentConfig(Config): """ Configuration for Dev """ DEBUG = True SQLALCHEMY...
19.444444
64
0.651429
100
1,050
6.71
0.39
0.134128
0.156483
0.160954
0.211624
0.166915
0.116244
0
0
0
0
0
0.225714
1,050
53
65
19.811321
0.825338
0.135238
0
0.192308
0
0
0.205529
0.141827
0
0
0
0
0
1
0
false
0
0.038462
0
0.769231
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
1
0
0
2
26a02fe66b8303fda126f3d53067be58fe0ee66d
3,019
py
Python
deepcvr/data/operator.py
john-james-ai/DeepCVR
d8c2f98ee4febf7b0a7131d1cf198cee02fcdb2e
[ "BSD-3-Clause" ]
null
null
null
deepcvr/data/operator.py
john-james-ai/DeepCVR
d8c2f98ee4febf7b0a7131d1cf198cee02fcdb2e
[ "BSD-3-Clause" ]
null
null
null
deepcvr/data/operator.py
john-james-ai/DeepCVR
d8c2f98ee4febf7b0a7131d1cf198cee02fcdb2e
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 # -*- coding:utf-8 -*- # ================================================================================================ # # Project : DeepCVR: Deep Learning for Conversion Rate Prediction # # Version : 0.1.0 ...
45.742424
100
0.358397
235
3,019
4.47234
0.510638
0.045671
0.038059
0.03235
0.081827
0.047574
0
0
0
0
0
0.018717
0.38059
3,019
65
101
46.446154
0.543316
0.698576
0
0.115385
0
0
0.045292
0
0
0
0
0
0
1
0.230769
false
0.038462
0.115385
0.153846
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
1
0
0
0
1
0
0
0
2
26b05d0468e1ce34d5f5ce4a0d7aa6143f0f46e1
1,165
py
Python
centralpy/responses/attachment_listing.py
pmaengineering/centralpy
edd89925bcc4204add1bf93b7ff3437cc0e6ea92
[ "MIT" ]
null
null
null
centralpy/responses/attachment_listing.py
pmaengineering/centralpy
edd89925bcc4204add1bf93b7ff3437cc0e6ea92
[ "MIT" ]
1
2022-01-22T14:36:57.000Z
2022-01-24T07:19:44.000Z
centralpy/responses/attachment_listing.py
pmaengineering/centralpy
edd89925bcc4204add1bf93b7ff3437cc0e6ea92
[ "MIT" ]
1
2021-06-30T13:45:09.000Z
2021-06-30T13:45:09.000Z
"""A module for the AttachmentListing class.""" from typing import List from requests.models import Response class AttachmentListing: """A class to respresent an attachments listing.""" def __init__(self, response: Response): self.response = response def has_attachment(self, filename: str) -> b...
32.361111
79
0.630901
136
1,165
5.286765
0.352941
0.066759
0.037552
0.041725
0.105702
0.105702
0.105702
0.105702
0.105702
0
0
0
0.243777
1,165
35
80
33.285714
0.816118
0.201717
0
0
0
0
0.131257
0.040044
0
0
0
0
0
1
0.3
false
0
0.1
0.05
0.65
0.15
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
26b0869d667ae5f86081d97cacbdab9265068d3d
436
py
Python
test/base.py
nathanhilbert/pygtfs_atx
ab620ba730f9dbe96bcc904aca8dfa9a70d77412
[ "MIT" ]
null
null
null
test/base.py
nathanhilbert/pygtfs_atx
ab620ba730f9dbe96bcc904aca8dfa9a70d77412
[ "MIT" ]
7
2016-02-24T15:08:51.000Z
2016-02-25T14:58:24.000Z
test/base.py
nathanhilbert/pygtfs_atx
ab620ba730f9dbe96bcc904aca8dfa9a70d77412
[ "MIT" ]
null
null
null
from pygtfs import Schedule from pygtfs import append_feed, delete_feed, overwrite_feed, list_feeds class GTFSSmallSetup(object): def __init__(self): self.schedule = Schedule(":memory:") append_feed(self.schedule, "test/data/atx_small" ) # class GTFSATXSetup(object): # def __init__(...
33.538462
72
0.678899
51
436
5.490196
0.431373
0.171429
0.114286
0.121429
0.578571
0.578571
0.578571
0.578571
0.578571
0.578571
0
0
0.204128
436
13
73
33.538462
0.806916
0.355505
0
0
0
0
0.101887
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
26b2a19eddfdb3a10685a4136d20812f47f2c278
41,729
py
Python
pysnmp/JUNIPER-WX-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/JUNIPER-WX-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/JUNIPER-WX-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module JUNIPER-WX-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/JUNIPER-WX-GLOBAL-REG # Produced by pysmi-0.3.4 at Mon Apr 29 19:50:41 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, M...
117.216292
7,837
0.767835
4,695
41,729
6.824068
0.067093
0.012485
0.015637
0.020725
0.395768
0.384719
0.304816
0.277599
0.226692
0.16689
0
0.085295
0.086606
41,729
355
7,838
117.546479
0.755293
0.007884
0
0
0
0
0.099756
0.026455
0
0
0
0
0
1
0
false
0
0.025862
0
0.025862
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
26bca4635602b2dea4dadcc1b88a6836226fb74e
2,524
py
Python
backend/tensor_site/decorators.py
b3none/Tensor
6c70c7d3ade6eabe4162d0b9eef0923c79ea1eba
[ "MIT" ]
null
null
null
backend/tensor_site/decorators.py
b3none/Tensor
6c70c7d3ade6eabe4162d0b9eef0923c79ea1eba
[ "MIT" ]
null
null
null
backend/tensor_site/decorators.py
b3none/Tensor
6c70c7d3ade6eabe4162d0b9eef0923c79ea1eba
[ "MIT" ]
3
2021-09-06T18:01:52.000Z
2021-10-18T02:49:53.000Z
# Tout ce code est un snippet volé sur plusieurs threads Stackoverflow # Il permet de créer un décorateur qui vérifie si un utilisateur est bien identifié, # et le redirige vers la page de login sinon. Django ne fait pas cette dernière partie seul... try: from functools import wraps except ImportError: from django...
32.779221
138
0.765055
357
2,524
5.226891
0.364146
0.048767
0.063773
0.062165
0.340836
0.340836
0.340836
0.259378
0.259378
0.19507
0
0.001435
0.171553
2,524
77
139
32.779221
0.890961
0.269414
0
0.191489
0
0
0.011111
0
0
0
0
0
0
1
0.148936
false
0.06383
0.170213
0
0.553191
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
1
0
0
2
26c4cd3412477aa9a4e2d8f9807e5a95e1651606
2,136
py
Python
navigator/models.py
nmussat/Navigator
38bc8cb31367bfc9ebc780c99ab40269091508f6
[ "MIT" ]
null
null
null
navigator/models.py
nmussat/Navigator
38bc8cb31367bfc9ebc780c99ab40269091508f6
[ "MIT" ]
null
null
null
navigator/models.py
nmussat/Navigator
38bc8cb31367bfc9ebc780c99ab40269091508f6
[ "MIT" ]
1
2021-10-07T19:56:40.000Z
2021-10-07T19:56:40.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function, unicode_literals from collections import OrderedDict from flask.ext.sqlalchemy import SQLAlchemy from sqlalchemy.dialects import postgresql from sqlalchemy.types import TypeDecorator db = SQLAlchemy() cla...
34.451613
91
0.663858
268
2,136
5.085821
0.399254
0.082172
0.035216
0.052825
0.169479
0.091709
0.061629
0.061629
0.061629
0.061629
0
0.001181
0.207397
2,136
61
92
35.016393
0.803898
0.076779
0
0.159091
0
0
0.107833
0.01119
0
0
0
0.016393
0
1
0.068182
false
0
0.113636
0
0.772727
0.022727
0
0
0
null
0
0
0
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
1
0
0
2
26dd9d8d667f977ffc2bddba99241cfb4d40b617
2,518
py
Python
configure_templates.py
kumc-bmi/shrine-docker-image
a9f917912e7c4178157518d7b241ee11c096a64d
[ "BSD-3-Clause" ]
null
null
null
configure_templates.py
kumc-bmi/shrine-docker-image
a9f917912e7c4178157518d7b241ee11c096a64d
[ "BSD-3-Clause" ]
null
null
null
configure_templates.py
kumc-bmi/shrine-docker-image
a9f917912e7c4178157518d7b241ee11c096a64d
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python3 import os from jinja2 import Environment, FileSystemLoader file_loader = FileSystemLoader('/opt/templates') env = Environment(loader=file_loader) template = env.get_template('shrine.conf.j2') output = template.render(shrineDatabaseType=os.environ['SHRINE_DB_TYPE'], hive_p...
55.955556
97
0.619539
263
2,518
5.65019
0.21673
0.145357
0.242261
0.06393
0.130552
0.10498
0.079408
0.079408
0.079408
0
0
0.002188
0.274027
2,518
44
98
57.227273
0.810722
0.061557
0
0.162162
0
0
0.268261
0.186672
0
0
0
0
0
1
0
false
0.189189
0.054054
0
0.054054
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
1
0
0
0
0
0
2
26ee085bd32572ff40cf2197f756c83189545036
2,314
py
Python
modules/tests/photons_transport_tests/test_catch_errors.py
Djelibeybi/photons
bc0aa91771d8e88fd3c691fb58f18cb876f292ec
[ "MIT" ]
51
2020-07-03T08:34:48.000Z
2022-03-16T10:56:08.000Z
modules/tests/photons_transport_tests/test_catch_errors.py
delfick/photons
bc0aa91771d8e88fd3c691fb58f18cb876f292ec
[ "MIT" ]
81
2020-07-03T08:13:59.000Z
2022-03-31T23:02:54.000Z
modules/tests/photons_transport_tests/test_catch_errors.py
Djelibeybi/photons
bc0aa91771d8e88fd3c691fb58f18cb876f292ec
[ "MIT" ]
8
2020-07-24T23:48:20.000Z
2021-05-24T17:20:16.000Z
# coding: spec from photons_transport import catch_errors from photons_app.errors import RunErrors, PhotonsAppError from photons_app import helpers as hp from delfick_project.errors_pytest import assertRaises describe "throw_error": it "passes on errors if error_catcher is a callable": es = [] ...
26
65
0.554451
283
2,314
4.409894
0.222615
0.096955
0.120192
0.057692
0.5625
0.516026
0.516026
0.488782
0.418269
0.266827
0
0.022667
0.351772
2,314
88
66
26.295455
0.809333
0.005186
0
0.634921
0
0
0.12913
0
0
0
0
0
0.190476
0
null
null
0.079365
0.063492
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
1
0
0
0
0
0
2
26f4eadc70e27aa1e98f38da3c8d30e443528f7e
620
py
Python
wonderbits/WBUltrasonic.py
daejong123/wb-py-sdk
f77edb435a22bf6d3d37e0ad716117b8680c544b
[ "MIT" ]
1
2019-05-09T07:15:43.000Z
2019-05-09T07:15:43.000Z
wonderbits/WBUltrasonic.py
daejong123/wb-py-sdk
f77edb435a22bf6d3d37e0ad716117b8680c544b
[ "MIT" ]
null
null
null
wonderbits/WBUltrasonic.py
daejong123/wb-py-sdk
f77edb435a22bf6d3d37e0ad716117b8680c544b
[ "MIT" ]
null
null
null
from .wbits import Wonderbits def _format_str_type(x): if isinstance(x, str): x = str(x).replace('"', '\\"') x = "\"" + x + "\"" return x class Ultrasonic(Wonderbits): def __init__(self, index = 1): Wonderbits.__init__(self) self.index = index def register_distance(...
23.846154
79
0.579032
69
620
4.942029
0.42029
0.105572
0.029326
0
0
0
0
0
0
0
0
0.002208
0.269355
620
26
80
23.846154
0.750552
0.045161
0
0
0
0
0.103691
0.047452
0
0
0
0
0
1
0.266667
false
0
0.066667
0
0.533333
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
1
0
0
2
26f9a11a19644550efcba31e08b36d91ed82c4d9
124
py
Python
experiments/Catalan.py
johnpaulguzman/Algorithm-Analyzer
e93abfb51f2f67b6df1af8d95cc6855ad7de69f2
[ "MIT" ]
null
null
null
experiments/Catalan.py
johnpaulguzman/Algorithm-Analyzer
e93abfb51f2f67b6df1af8d95cc6855ad7de69f2
[ "MIT" ]
null
null
null
experiments/Catalan.py
johnpaulguzman/Algorithm-Analyzer
e93abfb51f2f67b6df1af8d95cc6855ad7de69f2
[ "MIT" ]
null
null
null
def f(n): if n <=0: return 1 res = 0 for i in range(n): res += f(i) * f(n-i-1) return res
17.714286
30
0.403226
24
124
2.083333
0.5
0.08
0
0
0
0
0
0
0
0
0
0.057971
0.443548
124
7
31
17.714286
0.666667
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.428571
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
26fa4ab137e1cd66b58f73571d25f8fb1027d414
312
py
Python
tests/test_delattribute.py
pylover/pymlconf
4111ed84b23201957ee789b58e6818f330eeb28b
[ "MIT" ]
36
2015-02-09T14:20:32.000Z
2020-12-18T03:01:29.000Z
tests/test_delattribute.py
pylover/pymlconf
4111ed84b23201957ee789b58e6818f330eeb28b
[ "MIT" ]
23
2015-06-05T07:30:18.000Z
2020-05-26T17:45:46.000Z
tests/test_delattribute.py
pylover/pymlconf
4111ed84b23201957ee789b58e6818f330eeb28b
[ "MIT" ]
5
2016-02-19T14:22:28.000Z
2018-08-06T14:04:44.000Z
import pytest from pymlconf import Root def test_delattribute(): root = Root(''' app: name: MyApp ''') assert hasattr(root.app, 'name') del root.app.name assert not hasattr(root.app, 'name') with pytest.raises(AttributeError): del root.app.invalidattribute
17.333333
40
0.625
37
312
5.243243
0.513514
0.180412
0.226804
0.185567
0
0
0
0
0
0
0
0
0.266026
312
17
41
18.352941
0.847162
0
0
0
0
0
0.153846
0
0
0
0
0
0.166667
1
0.083333
false
0
0.166667
0
0.25
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f80e14d31ba59b5772064b17b1e2d0d9764b5671
2,022
py
Python
src/xie/graphics/stroke.py
xrloong/Xie
c45c454b4467d91e242a84fda665b67bd3d43ca9
[ "Apache-2.0" ]
null
null
null
src/xie/graphics/stroke.py
xrloong/Xie
c45c454b4467d91e242a84fda665b67bd3d43ca9
[ "Apache-2.0" ]
null
null
null
src/xie/graphics/stroke.py
xrloong/Xie
c45c454b4467d91e242a84fda665b67bd3d43ca9
[ "Apache-2.0" ]
null
null
null
from .shape import Shape, Pane from .stroke_path import StrokePath from . import DrawingSystem class StrokePosition: def __init__(self, startPoint, statePane: Pane = None): self.startPoint = startPoint self.statePane = statePane def transform(self, fromPane, toPane): newStatePane = fromPane.transformRelative...
28.478873
86
0.786845
203
2,022
7.793103
0.256158
0.037927
0.053097
0.035398
0
0
0
0
0
0
0
0.003365
0.1182
2,022
70
87
28.885714
0.883904
0
0
0
0
0
0
0
0
0
0
0
0
1
0.215686
false
0
0.058824
0.117647
0.470588
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
f81e877f703a45f50e56f90f169d90c0d93ffb11
7,065
py
Python
tasks/tasks_fetch_entity.py
xyla-io/almacen
7b7f235dc7939777f971f1b5eadd5621e980c15e
[ "MIT" ]
2
2020-10-15T22:12:17.000Z
2020-10-26T07:17:17.000Z
tasks/tasks_fetch_entity.py
xyla-io/almacen
7b7f235dc7939777f971f1b5eadd5621e980c15e
[ "MIT" ]
null
null
null
tasks/tasks_fetch_entity.py
xyla-io/almacen
7b7f235dc7939777f971f1b5eadd5621e980c15e
[ "MIT" ]
null
null
null
import models import re from . import base from . import tasks_fetch_currency_exchange from abc import abstractproperty from typing import TypeVar, List, Optional class ParseTagsMutationSpecifier: parser: Optional[str] channel: str entity: str id_column: str name_column: str @classmethod def task_parse...
38.606557
132
0.754706
684
7,065
7.539474
0.157895
0.148924
0.093077
0.104712
0.716502
0.705061
0.691099
0.665115
0.665115
0.665115
0
0.00051
0.167587
7,065
183
133
38.606557
0.876382
0
0
0.620482
0
0
0.012737
0
0
0
0
0
0
1
0.084337
false
0.03012
0.036145
0.03012
0.271084
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f81f6b88dfb0bfa0ed2fc6759e1859cc964832d9
2,901
py
Python
pysnmp-with-texts/TPLINK-CLUSTER-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/TPLINK-CLUSTER-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/TPLINK-CLUSTER-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module TPLINK-CLUSTER-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/TPLINK-CLUSTER-MIB # Produced by pysmi-0.3.4 at Wed May 1 15:24:19 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, ...
103.607143
477
0.783178
324
2,901
7.006173
0.438272
0.070925
0.046256
0.081498
0.280617
0.193392
0.193392
0.193392
0.193392
0.193392
0
0.062524
0.090314
2,901
27
478
107.444444
0.797651
0.113754
0
0
0
0.052632
0.346995
0.034738
0
0
0
0
0
1
0
false
0
0.368421
0
0.368421
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
f8287f932ae9368561250875bb2b9820c5a3ddda
23,025
py
Python
colossalai/nn/layer/parallel_3d/_operation.py
DevinCheung/ColossalAI
632e622de818697f9949e35117c0432d88f62c87
[ "Apache-2.0" ]
null
null
null
colossalai/nn/layer/parallel_3d/_operation.py
DevinCheung/ColossalAI
632e622de818697f9949e35117c0432d88f62c87
[ "Apache-2.0" ]
null
null
null
colossalai/nn/layer/parallel_3d/_operation.py
DevinCheung/ColossalAI
632e622de818697f9949e35117c0432d88f62c87
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- encoding: utf-8 -*- from typing import Any, Optional, Tuple import torch import torch.distributed as dist from colossalai.communication import all_gather, all_reduce, reduce_scatter from colossalai.context.parallel_mode import ParallelMode from colossalai.core import global_context as gpc ...
40.824468
105
0.568903
2,796
23,025
4.375894
0.055794
0.152023
0.061136
0.027462
0.782101
0.728239
0.700776
0.662852
0.619207
0.597793
0
0.009042
0.332378
23,025
563
106
40.89698
0.786885
0.203735
0
0.637143
0
0
0.003685
0
0
0
0
0
0.005714
1
0.051429
false
0
0.022857
0.002857
0.151429
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f82c12ed8951d265d131d91c77eea61d5c672a59
187
py
Python
Cursoemvideo/Desafios/Desafio 29.py
Guilherme-Lanna/Python
fc5b677300f9829eb3ef58c288a083e398ada3fa
[ "MIT" ]
null
null
null
Cursoemvideo/Desafios/Desafio 29.py
Guilherme-Lanna/Python
fc5b677300f9829eb3ef58c288a083e398ada3fa
[ "MIT" ]
null
null
null
Cursoemvideo/Desafios/Desafio 29.py
Guilherme-Lanna/Python
fc5b677300f9829eb3ef58c288a083e398ada3fa
[ "MIT" ]
null
null
null
v = int(input('Velocidade do carro ao passar no radar = ')) m = v-80 if v > 80: print('O carro estava acima da velocidade permitida') print('A multa irá custar R${}'.format(m*7))
31.166667
59
0.652406
33
187
3.69697
0.787879
0.04918
0
0
0
0
0
0
0
0
0
0.033557
0.203209
187
5
60
37.4
0.785235
0
0
0
0
0
0.57754
0
0
0
0
0
0
1
0
false
0.2
0
0
0
0.4
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
f83a0b0faefa02aa919355b762075d9c15fc1587
590
py
Python
chapter_3/ex_3-10.py
akshaymoharir/PythonCrashCourse
742b9841cff61d36567e8706efc69c5f5d5435ff
[ "MIT" ]
null
null
null
chapter_3/ex_3-10.py
akshaymoharir/PythonCrashCourse
742b9841cff61d36567e8706efc69c5f5d5435ff
[ "MIT" ]
null
null
null
chapter_3/ex_3-10.py
akshaymoharir/PythonCrashCourse
742b9841cff61d36567e8706efc69c5f5d5435ff
[ "MIT" ]
null
null
null
## Python Crash Course # Exercise 3.10: Every Function: # Think of something you could store in a list. # For example, you could make a list of mountains, rivers, countries, cities, languages, or any- thing else you’d like. # Write a program that creates a list contain...
32.777778
148
0.657627
80
590
4.75
0.7875
0.039474
0
0
0
0
0
0
0
0
0
0.007092
0.283051
590
17
149
34.705882
0.891253
0.666102
0
0
0
0
0.553763
0
0
0
0
0
0
1
0.25
true
0
0
0
0.25
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
0
0
2
f843b7049cf0fac0b50d40a3b92837a09a8e3362
896
py
Python
application/auth/views.py
villeheikkila/herkkupankki
5848fbf29197c110d3bddedd1e439834ac8ea988
[ "MIT" ]
null
null
null
application/auth/views.py
villeheikkila/herkkupankki
5848fbf29197c110d3bddedd1e439834ac8ea988
[ "MIT" ]
2
2018-11-27T22:40:51.000Z
2018-12-15T13:51:35.000Z
application/auth/views.py
villeheikkila/herkkupankki
5848fbf29197c110d3bddedd1e439834ac8ea988
[ "MIT" ]
null
null
null
from flask import render_template, request, redirect, url_for from flask_login import login_user, logout_user from application import app from application.auth.models import User from application.auth.forms import LoginForm @app.route("/auth/login", methods = ["GET", "POST"]) def auth_login(): if request.method...
33.185185
97
0.690848
114
896
5.307018
0.377193
0.069421
0.069421
0.079339
0.231405
0.231405
0.135537
0
0
0
0
0
0.19308
896
27
98
33.185185
0.836791
0.02567
0
0.1
0
0
0.125
0
0
0
0
0
0
1
0.1
false
0.1
0.25
0
0.55
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
f8462801593ecea070691b29edbb3c4767e94112
233
py
Python
mudrex/about.py
surajiyer/mudrex
341c02b3e7148f5238324f51a36a964ea8076322
[ "MIT" ]
1
2021-09-07T08:03:51.000Z
2021-09-07T08:03:51.000Z
mudrex/about.py
surajiyer/mudrex
341c02b3e7148f5238324f51a36a964ea8076322
[ "MIT" ]
null
null
null
mudrex/about.py
surajiyer/mudrex
341c02b3e7148f5238324f51a36a964ea8076322
[ "MIT" ]
null
null
null
__title__ = 'mudrex' __version__ = '0.1.2' __summary__ = 'Send external webhook signals to Mudrex platform.' __uri__ = 'https://github.com/surajiyer/mudrex' __author__ = 'Suraj Iyer' __email__ = 'me@surajiyer.com' __license__ = 'MIT'
33.285714
65
0.746781
29
233
5.034483
0.862069
0
0
0
0
0
0
0
0
0
0
0.014563
0.11588
233
7
66
33.285714
0.694175
0
0
0
0
0
0.529915
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f85998730f5834af63ac4c2799d1d60a4a6d530d
2,653
py
Python
fclsp/laplacian_coef.py
idc9/fclsp
8e379c88386580df9ab2574e01240a43bd5fa51c
[ "MIT" ]
null
null
null
fclsp/laplacian_coef.py
idc9/fclsp
8e379c88386580df9ab2574e01240a43bd5fa51c
[ "MIT" ]
null
null
null
fclsp/laplacian_coef.py
idc9/fclsp
8e379c88386580df9ab2574e01240a43bd5fa51c
[ "MIT" ]
null
null
null
import numpy as np from scipy.sparse import diags from sklearn.metrics import pairwise_distances from fclsp.reshaping_utils import vec_hollow_sym def get_lap_coef(V, w, var_type, shape): """ Computes the Laplacian coefficent vector TODO: finish documenting Parameters ---------- V: array-lik...
21.92562
149
0.598191
385
2,653
4.007792
0.264935
0.015554
0.045366
0.033701
0.466623
0.394038
0.269605
0.269605
0.269605
0.217758
0
0.002619
0.280437
2,653
120
150
22.108333
0.805657
0.562759
0
0.090909
0
0
0.052106
0
0
0
0
0.016667
0.090909
1
0.181818
false
0
0.181818
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
2
f862ac415f828e0a22935f07ae2502ead0cdf448
786
py
Python
src/server/server_callbacks.py
DuckBoss/AtleastOne-Server
86be389d4918558f65baa4127a823d14ff4e2ed2
[ "MIT" ]
null
null
null
src/server/server_callbacks.py
DuckBoss/AtleastOne-Server
86be389d4918558f65baa4127a823d14ff4e2ed2
[ "MIT" ]
6
2020-04-27T03:20:39.000Z
2020-06-20T03:49:08.000Z
src/server/server_callbacks.py
DuckBoss/AtleastOne-Server
86be389d4918558f65baa4127a823d14ff4e2ed2
[ "MIT" ]
null
null
null
from threading import Thread class ServerCallbacks(dict): def __init__(self): super().__init__() self.update({ 'on_client_connect': None, 'on_client_disconnect': None, 'on_server_start': None, }) def register_callback(self, callback, dest): ...
23.818182
60
0.559796
79
786
5.35443
0.455696
0.255319
0.189125
0.108747
0
0
0
0
0
0
0
0
0.348601
786
32
61
24.5625
0.826172
0
0
0.153846
0
0
0.066158
0
0
0
0
0
0
1
0.192308
false
0
0.038462
0
0.384615
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f869391639d52fb0f0b3b3152e31b178d13ecb7d
333
py
Python
bunruija/tokenizers/space_tokenizer.py
tma15/bunruija
64a5c993a06e9de75f8f382cc4b817f91965223f
[ "MIT" ]
4
2020-12-22T11:12:35.000Z
2021-12-15T13:30:02.000Z
bunruija/tokenizers/space_tokenizer.py
tma15/bunruija
64a5c993a06e9de75f8f382cc4b817f91965223f
[ "MIT" ]
4
2021-01-16T07:34:22.000Z
2021-08-14T06:56:07.000Z
bunruija/tokenizers/space_tokenizer.py
tma15/bunruija
64a5c993a06e9de75f8f382cc4b817f91965223f
[ "MIT" ]
null
null
null
from bunruija.tokenizers import BaseTokenizer class SpaceTokenizer(BaseTokenizer): def __init__(self, **kwargs): super().__init__(name='space') def __call__(self, text): result = text.split(' ') return result def __repr__(self): out = f'{self.__class__.__name__}()' ...
22.2
45
0.633634
35
333
5.342857
0.628571
0
0
0
0
0
0
0
0
0
0
0
0.246246
333
14
46
23.785714
0.74502
0
0
0
0
0
0.099099
0.081081
0
0
0
0
0
1
0.3
false
0
0.1
0
0.7
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
1
0
0
2
f869bdaba494df9c8da46be22e6af9b8a2ccfb84
59
py
Python
python_aulas/aula014_while.py
gilsonaureliano/Python-aulas
64269872acd482bcf297941ba28d30f13f29c752
[ "MIT" ]
1
2021-08-05T13:52:12.000Z
2021-08-05T13:52:12.000Z
python_aulas/aula014_while.py
gilsonaureliano/Python-aulas
64269872acd482bcf297941ba28d30f13f29c752
[ "MIT" ]
null
null
null
python_aulas/aula014_while.py
gilsonaureliano/Python-aulas
64269872acd482bcf297941ba28d30f13f29c752
[ "MIT" ]
null
null
null
c = 0 while c < 10: print(c) c = c + 1 print('FIM')
11.8
13
0.457627
12
59
2.25
0.583333
0.148148
0
0
0
0
0
0
0
0
0
0.105263
0.355932
59
5
14
11.8
0.605263
0
0
0
0
0
0.05
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f869d690dda6dacf2f93199e09d167ef6faf33a5
983
py
Python
supplement/03_property.py
kaixiang1992/python-learning
c74aa4bec0c72e26cf18f138e6faf110ed64d8c0
[ "MIT" ]
null
null
null
supplement/03_property.py
kaixiang1992/python-learning
c74aa4bec0c72e26cf18f138e6faf110ed64d8c0
[ "MIT" ]
7
2020-06-05T23:24:41.000Z
2021-06-10T19:02:09.000Z
supplement/03_property.py
kaixiang1992/python-learning
c74aa4bec0c72e26cf18f138e6faf110ed64d8c0
[ "MIT" ]
null
null
null
''' @description 【Python知识补充】get和set方法 2019/10/05 14:48 ''' class Plane(object): def __init__(self): # TODO: 存活状态 self.alive = True # TODO: 累计积分 self.score = 0 # TODO: 更改存活状态 def set_alive(self, value): self.alive = value if value == False: ...
20.914894
51
0.568667
118
983
4.567797
0.381356
0.06679
0.048237
0
0
0
0
0
0
0
0
0.023564
0.309257
983
47
52
20.914894
0.77025
0.168871
0
0
0
0
0.0399
0
0
0
0
0.021277
0
1
0.259259
false
0
0
0
0.333333
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
1
0
0
1
0
0
0
0
0
0
0
2
f87de822683a7c83c2711cdc3627d3677019f42c
1,627
py
Python
ragpicker/reporting/mysql.py
K4lium/Snakepit
c11f3fb7f78b886dad09421bc84a97ee14b9bf0b
[ "MIT" ]
7
2016-09-09T08:09:24.000Z
2018-03-28T11:51:56.000Z
ragpicker/reporting/mysql.py
Kalium/Snakepit
c11f3fb7f78b886dad09421bc84a97ee14b9bf0b
[ "MIT" ]
2
2016-11-13T01:43:29.000Z
2017-08-16T07:51:51.000Z
ragpicker/reporting/mysql.py
K4lium/Snakepit
c11f3fb7f78b886dad09421bc84a97ee14b9bf0b
[ "MIT" ]
8
2016-09-09T08:09:37.000Z
2018-08-15T20:58:14.000Z
# Copyright (C) 2013-2015 Ragpicker Developers. # This file is part of Ragpicker Malware Crawler - http://code.google.com/p/malware-crawler/ from yapsy.IPlugin import IPlugin from core.abstracts import Report class MySQL(IPlugin, Report): """Stores data from long-run analysis in MySQL.""" def run(self, resu...
36.155556
104
0.606638
179
1,627
5.513966
0.575419
0.028369
0.024316
0.038501
0
0
0
0
0
0
0
0.009632
0.298095
1,627
45
105
36.155556
0.854641
0.13276
0
0
0
0
0.116162
0
0
0
0
0
0
0
null
null
0
0.333333
null
null
0.222222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
f87fbecb1aa5df093ef07d9095b3cbbfa22b5190
59,284
py
Python
pysnmp-with-texts/NSCRTV-ROOT.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/NSCRTV-ROOT.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/NSCRTV-ROOT.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module NSCRTV-ROOT (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/NSCRTV-ROOT # Produced by pysmi-0.3.4 at Wed May 1 14:25:05 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 0...
143.893204
5,737
0.789404
7,028
59,284
6.659789
0.110273
0.010939
0.113514
0.012306
0.500395
0.36432
0.317787
0.29969
0.274607
0.261254
0.000101
0.056326
0.091104
59,284
411
5,738
144.243309
0.812204
0.00533
0
0
0
0.118812
0.29166
0.004054
0
0
0.000068
0
0
1
0
false
0
0.014851
0
0.014851
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f89f9d595d76922df28dcd1b0504933e5a49f052
527
py
Python
auctions/context_processors.py
juannajul/CS50Ecommerce
d3e8b07b4f3266f99075d408c42019426d6b7f07
[ "MIT" ]
null
null
null
auctions/context_processors.py
juannajul/CS50Ecommerce
d3e8b07b4f3266f99075d408c42019426d6b7f07
[ "MIT" ]
null
null
null
auctions/context_processors.py
juannajul/CS50Ecommerce
d3e8b07b4f3266f99075d408c42019426d6b7f07
[ "MIT" ]
null
null
null
from auctions.models import * from django.contrib.auth import authenticate, login, logout from django.contrib.auth.decorators import login_required def get_watchlist(request): watchlist_number="" if request.user.is_authenticated: user = request.user watchlist_number = WatchList.objects.filter(...
26.35
78
0.658444
54
527
6.240741
0.5
0.267062
0.21365
0.124629
0.21365
0
0
0
0
0
0
0
0.265655
527
19
79
27.736842
0.870801
0
0
0.266667
0
0
0.060837
0
0
0
0
0
0
1
0.066667
false
0
0.2
0
0.4
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f8b0dbb0df374378b1d09d8e75618bfe40e75334
873
py
Python
algorithms/3 - Spatial filtering for smoothing/3 - Median Filter/med.py
MatheusRV/Image-Processing-Course
c54f58a171c705839ab39aa0c30b555dc065747b
[ "MIT" ]
null
null
null
algorithms/3 - Spatial filtering for smoothing/3 - Median Filter/med.py
MatheusRV/Image-Processing-Course
c54f58a171c705839ab39aa0c30b555dc065747b
[ "MIT" ]
null
null
null
algorithms/3 - Spatial filtering for smoothing/3 - Median Filter/med.py
MatheusRV/Image-Processing-Course
c54f58a171c705839ab39aa0c30b555dc065747b
[ "MIT" ]
null
null
null
# Universidade Federal de Viçosa - Campus Rio Paranaíba # Sistemas de Informação - Processamento Digital de Imagens # # Professor: Joao Mari # Autores: # - MatheusRV (3929) # - iguit0 (3902) # - ThiagoMunich (3628) # # Filtragem espacial para suavização - Filtro de máximo e mínimo # Como Exec...
25.676471
93
0.721649
129
873
4.813953
0.658915
0.038647
0
0
0
0
0
0
0
0
0
0.028169
0.186712
873
33
94
26.454545
0.846479
0.504009
0
0
0
0
0.02864
0
0
0
0
0
0
1
0.066667
false
0
0.466667
0.066667
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
1
0
1
0
0
2
f8c48be304b1a548130ccc797d3d65f47accef6d
1,496
py
Python
nodes/Scene/SceneRenderEngine.py
kant/RenderStackNode
19876fc75a03edf36ae27837d193509907adbd4a
[ "Apache-2.0" ]
null
null
null
nodes/Scene/SceneRenderEngine.py
kant/RenderStackNode
19876fc75a03edf36ae27837d193509907adbd4a
[ "Apache-2.0" ]
null
null
null
nodes/Scene/SceneRenderEngine.py
kant/RenderStackNode
19876fc75a03edf36ae27837d193509907adbd4a
[ "Apache-2.0" ]
null
null
null
import bpy from bpy.props import * from ...nodes.BASE.node_tree import RenderStackNode def update_node(self, context): self.update_parms() class RenderNodeSceneRenderEngine(RenderStackNode): """A simple input node""" bl_idname = 'RenderNodeSceneRenderEngine' bl_label = 'Scene Render Engine' _en...
27.2
88
0.680481
164
1,496
6.006098
0.414634
0.082234
0.045685
0.04467
0
0
0
0
0
0
0
0.000847
0.210562
1,496
54
89
27.703704
0.833192
0.042781
0
0
0
0
0.114386
0.035789
0
0
0
0
0
1
0.21875
false
0
0.09375
0
0.53125
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
1
0
0
2
f8c96c26d60fafc372cb50608cf2a61feb03cd36
14,688
py
Python
test/test_posts.py
andreymal/tabun_api
30b6a15c78c4d2f93018e570f9114058d61ba094
[ "MIT" ]
7
2015-06-18T04:57:58.000Z
2021-05-24T05:36:39.000Z
test/test_posts.py
andreymal/tabun_api
30b6a15c78c4d2f93018e570f9114058d61ba094
[ "MIT" ]
1
2015-07-02T00:02:44.000Z
2015-07-02T01:40:14.000Z
test/test_posts.py
andreymal/tabun_api
30b6a15c78c4d2f93018e570f9114058d61ba094
[ "MIT" ]
3
2015-07-03T02:20:05.000Z
2017-01-17T20:30:09.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # pylint: disable=W0611, W0613, W0621, E1101 from __future__ import unicode_literals import time import json from io import BytesIO import pytest import tabun_api as api from tabun_api.compat import text from testutil import UserTest, load_file, form_intercept, as_gues...
43.455621
170
0.656182
2,006
14,688
4.645563
0.14656
0.0558
0.034875
0.029295
0.710806
0.677326
0.636334
0.611654
0.604571
0.604357
0
0.067322
0.18287
14,688
337
171
43.58457
0.709132
0.027982
0
0.52381
0
0.007326
0.266054
0.081674
0
0
0
0.002967
0.571429
1
0.076923
false
0
0.029304
0.003663
0.10989
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
1
0
0
0
0
0
0
0
0
0
2
f8ccc3a249f05d3d69f60b2904dd45f6d745429d
3,128
py
Python
R_3_1_1.py
meissnert/StarCluster-Plugins
a84dc5f62b5a37e7843c0fb4ac69011ecd766e51
[ "MIT" ]
1
2016-05-27T19:58:53.000Z
2016-05-27T19:58:53.000Z
R_3_1_1.py
meissnert/StarCluster-Plugins
a84dc5f62b5a37e7843c0fb4ac69011ecd766e51
[ "MIT" ]
null
null
null
R_3_1_1.py
meissnert/StarCluster-Plugins
a84dc5f62b5a37e7843c0fb4ac69011ecd766e51
[ "MIT" ]
null
null
null
from starcluster.clustersetup import ClusterSetup from starcluster.logger import log class RInstaller(ClusterSetup): def run(self, nodes, master, user, user_shell, volumes): for node in nodes: log.info("Installing R 3.1.1 on %s" % (node.alias)) log.info("...installing dependencies") node.ssh.execute('apt-g...
78.2
293
0.735934
477
3,128
4.786164
0.278826
0.055191
0.110381
0.022777
0.477442
0.465177
0.452913
0.40035
0.386772
0.386772
0
0.062544
0.095269
3,128
40
294
78.2
0.74417
0
0
0
0
0.428571
0.730585
0.161393
0
0
0
0
0
1
0.028571
false
0
0.057143
0
0.114286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f8cff9c1f3626dd78542132a31d4f76a9704d49a
1,128
py
Python
face-replace-tests.py
micah-rufsvold/yt-swap
59de236de89853e630772a0b64d5a19b677a04d0
[ "MIT" ]
null
null
null
face-replace-tests.py
micah-rufsvold/yt-swap
59de236de89853e630772a0b64d5a19b677a04d0
[ "MIT" ]
null
null
null
face-replace-tests.py
micah-rufsvold/yt-swap
59de236de89853e630772a0b64d5a19b677a04d0
[ "MIT" ]
null
null
null
import unittest import os from os import listdir, path from pathlib import Path class TestSwap(unittest.TestCase): def test_imports(self): from pytube import YouTube def test_get_video(self): from main import get_video rickroll = 'https://youtu.be/dQw4w9WgXcQ' video_path = get_v...
34.181818
117
0.673759
161
1,128
4.496894
0.341615
0.038674
0.049724
0.074586
0.310773
0.247238
0.247238
0.247238
0.201657
0
0
0.033219
0.226064
1,128
33
118
34.181818
0.796105
0
0
0
0
0.074074
0.234721
0.123118
0
0
0
0
0.111111
1
0.148148
false
0
0.333333
0
0.518519
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
1
0
0
2
3e04a9768bbbb17f4ed78b49697ea7057eb92cd4
1,145
py
Python
data_loading/sampler/abstract_sampler.py
justusschock/data_loading_stuff
08a8d7b86f14a4901a9af4981d9a3c25a63ccb2a
[ "MIT" ]
null
null
null
data_loading/sampler/abstract_sampler.py
justusschock/data_loading_stuff
08a8d7b86f14a4901a9af4981d9a3c25a63ccb2a
[ "MIT" ]
null
null
null
data_loading/sampler/abstract_sampler.py
justusschock/data_loading_stuff
08a8d7b86f14a4901a9af4981d9a3c25a63ccb2a
[ "MIT" ]
null
null
null
from abc import abstractmethod from ..dataset import AbstractDataset class AbstractSampler(object): """ Class to define an abstract Sampling API """ def __init__(self, indices=None): self._num_samples = len(indices) @classmethod def from_dataset(cls, dataset: AbstractDataset, **kwa...
21.203704
66
0.582533
112
1,145
5.732143
0.473214
0.03271
0.065421
0
0
0
0
0
0
0
0
0
0.328384
1,145
53
67
21.603774
0.83485
0.310044
0
0
0
0
0
0
0
0
0
0
0
1
0.294118
false
0
0.117647
0.058824
0.588235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
3e18c9a970af1d41319fdc1a7a55096c5b3309da
10,286
py
Python
pysnmp/GARP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/GARP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/GARP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module GARP-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/GARP-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 19:04:38 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:1...
128.575
1,532
0.740813
1,231
10,286
6.190089
0.139724
0.018635
0.014173
0.018898
0.380184
0.316011
0.275984
0.267323
0.179528
0.17664
0
0.084702
0.0944
10,286
79
1,533
130.202532
0.733333
0.030138
0
0
0
0
0.138557
0.020568
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3e1b695fb9a66ef5adede04edcba06f1996913b4
3,530
py
Python
crazyflie_demo/scripts/generateLaunch.py
xqgex/CrazyFlie_ros
a116807102506ca70ad1f2045c15ec9cc3f57b9d
[ "MIT" ]
2
2018-09-13T14:36:46.000Z
2018-11-28T09:59:15.000Z
crazyflie_demo/scripts/generateLaunch.py
xqgex/CrazyFlie_ros
a116807102506ca70ad1f2045c15ec9cc3f57b9d
[ "MIT" ]
null
null
null
crazyflie_demo/scripts/generateLaunch.py
xqgex/CrazyFlie_ros
a116807102506ca70ad1f2045c15ec9cc3f57b9d
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import logger, sys cf_logger = logger.get_logger(__name__) # debug(), info(), warning(), error(), exception(), critical() def droneNode(current_drone_number): return """ <group ns="$(arg frame{num})"> <node pkg="crazyflie_driver" type="crazyflie_add" name="crazyflie_...
38.369565
131
0.670538
471
3,530
4.789809
0.29724
0.039894
0.034131
0.068262
0.332447
0.306738
0.222518
0.195922
0.195922
0.195922
0
0.010159
0.163456
3,530
91
132
38.791209
0.75381
0.029178
0
0.289157
0
0.036145
0.690622
0.185218
0
0
0
0
0
0
null
null
0
0.012048
null
null
0.012048
0
0
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
1
0
0
0
0
0
0
0
0
2
3e1ce864a0f64b7fa10c0bf34876f18f9314b893
1,519
py
Python
NexGCN/Test.py
abhilash1910/NexGCN
ceb50a2e8426f89cd6f88c49f54507e7e06f8c48
[ "MIT" ]
1
2020-09-14T10:21:53.000Z
2020-09-14T10:21:53.000Z
NexGCN/Test.py
abhilash1910/NexGCN
ceb50a2e8426f89cd6f88c49f54507e7e06f8c48
[ "MIT" ]
1
2020-09-28T09:49:08.000Z
2020-09-28T09:49:08.000Z
NexGCN/Test.py
abhilash1910/NexGCN
ceb50a2e8426f89cd6f88c49f54507e7e06f8c48
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Sat Sep 12 01:38:00 2020 @author: 45063883 """ import networkx as nx from networkx import karate_club_graph, to_numpy_matrix import tensorflow as tf from tensorflow import keras from tensorflow.keras.layers import Dense, Flatten,Embedding,Dropout from keras.models import Sequent...
33.755556
204
0.782752
224
1,519
5.15625
0.508929
0.027706
0.033766
0.04329
0.087446
0.033766
0
0
0
0
0
0.039764
0.105991
1,519
44
205
34.522727
0.810751
0.245556
0
0
0
0
0.015957
0
0
0
0
0
0
1
0
false
0
0.583333
0
0.583333
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
3e1e15d7d290ad4d56b7bdb918e5a454e11409e8
253
py
Python
deepbiome/__init__.py
Young-won/deepbiome
644bc226f1149038d0af7203a03a77ca6e931835
[ "BSD-3-Clause" ]
4
2019-10-20T15:56:19.000Z
2021-03-17T16:48:35.000Z
deepbiome/__init__.py
Young-won/deepbiome
644bc226f1149038d0af7203a03a77ca6e931835
[ "BSD-3-Clause" ]
1
2019-11-11T22:47:57.000Z
2019-11-11T22:47:57.000Z
deepbiome/__init__.py
Young-won/deepbiome
644bc226f1149038d0af7203a03a77ca6e931835
[ "BSD-3-Clause" ]
1
2019-11-11T18:17:58.000Z
2019-11-11T18:17:58.000Z
# -*- coding: utf-8 -*- """Top-level package for deepmicrobiome.""" __author__ = """Youngwon Choi""" __email__ = 'youngwon08@gmail.com' __version__ = '1.0.0' from ._version import get_versions __version__ = get_versions()['version'] del get_versions
21.083333
43
0.711462
31
253
5.16129
0.741935
0.20625
0.225
0
0
0
0
0
0
0
0
0.027027
0.12253
253
11
44
23
0.693694
0.237154
0
0
0
0
0.240642
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3e2ba038c29840e9df03e7839cb0602b9784b313
773
py
Python
ITcoach/len_more_program/more_program.py
ww35133634/chenxusheng
666e0eb3aedde46342faf0d4030f5c72b10c9732
[ "AFL-3.0" ]
null
null
null
ITcoach/len_more_program/more_program.py
ww35133634/chenxusheng
666e0eb3aedde46342faf0d4030f5c72b10c9732
[ "AFL-3.0" ]
null
null
null
ITcoach/len_more_program/more_program.py
ww35133634/chenxusheng
666e0eb3aedde46342faf0d4030f5c72b10c9732
[ "AFL-3.0" ]
null
null
null
# import threading # # num = 1 # # # def demo1(): # global num # 把num提升为全局变量 # num += 1 # print("demo1的num是%s" % num) # # # def demo2(): # print("demo2的num是%s" % num) # # # def main(): # t1 = threading.Thread(target=demo1) # t2 = threading.Thread(target=demo2) # t1.start() # t2.start() ...
15.156863
68
0.583441
93
773
4.677419
0.387097
0.137931
0.193103
0.082759
0.418391
0.418391
0.418391
0.257471
0.257471
0.257471
0
0.059727
0.241915
773
50
69
15.46
0.682594
0.48771
0
0
0
0
0.098093
0
0
0
0
0
0
1
0.214286
false
0
0.071429
0
0.285714
0.142857
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
1
0
0
0
0
0
0
0
2
3e2d690f43c8e5be85e9974b9a4e94736675770f
329
py
Python
src/rectangle_perimeter.py
Athenian-Computer-Science/variables-intro-practice-template
19a4ec0f164eb019dbbc6bc5135157509991db41
[ "Apache-2.0" ]
null
null
null
src/rectangle_perimeter.py
Athenian-Computer-Science/variables-intro-practice-template
19a4ec0f164eb019dbbc6bc5135157509991db41
[ "Apache-2.0" ]
null
null
null
src/rectangle_perimeter.py
Athenian-Computer-Science/variables-intro-practice-template
19a4ec0f164eb019dbbc6bc5135157509991db41
[ "Apache-2.0" ]
null
null
null
############################# # Collaborators: (enter people or resources who/that helped you) # If none, write none # # ############################# # Fix the program below: base = input(Enter the base: ) input(Enter the height: ) = height perimeter = base + height * 2 print("The perimeter of the rectangle is {peri...
25.307692
64
0.583587
39
329
4.923077
0.641026
0.09375
0.145833
0.177083
0
0
0
0
0
0
0
0.003584
0.151976
329
13
65
25.307692
0.684588
0.319149
0
0
0
0
0.285714
0
0
0
0
0
0
0
null
null
0
0
null
null
0.25
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
1
0
0
0
0
0
0
0
0
2
3e54192ca38bd453d7a17e53fe87c4825f2f46bf
339
py
Python
bigchaindb/exceptions.py
AbhishaB/bigchaindb
edcd59e235776755e08219ba7e72fc110ba7b001
[ "Apache-2.0" ]
474
2020-02-05T06:22:58.000Z
2022-03-29T00:02:10.000Z
packages/p2lara/src/storages/bigchaindb/exceptions.py
Imranashraf101/Decentralized-Internet
5c3b0e30fcc0f78f5434fdfdc1d0557fb8cf91ca
[ "MIT" ]
1,823
2019-12-18T19:36:48.000Z
2022-03-31T20:24:51.000Z
packages/p2lara/src/storages/bigchaindb/exceptions.py
Imranashraf101/Decentralized-Internet
5c3b0e30fcc0f78f5434fdfdc1d0557fb8cf91ca
[ "MIT" ]
174
2019-12-18T19:33:23.000Z
2022-03-24T12:40:56.000Z
# Copyright BigchainDB GmbH and BigchainDB contributors # SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) # Code is Apache-2.0 and docs are CC-BY-4.0 class BigchainDBError(Exception): """Base class for BigchainDB exceptions.""" class CriticalDoubleSpend(BigchainDBError): """Data integrity error that req...
28.25
55
0.752212
46
339
5.543478
0.673913
0.054902
0.062745
0.086275
0
0
0
0
0
0
0
0.027397
0.138643
339
11
56
30.818182
0.84589
0.681416
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
2
3e6d4e8d9f992a192ea75508605db92930cbd603
883
py
Python
buggyFile/8.py
anonymousWork000/TVMfuzz
0ccbb33af89758b8ead59a8c686645246ccd0545
[ "Apache-2.0" ]
16
2021-05-22T07:39:53.000Z
2022-02-23T14:50:38.000Z
buggyFile/8.py
anonymousWork000/TVMfuzz
0ccbb33af89758b8ead59a8c686645246ccd0545
[ "Apache-2.0" ]
null
null
null
buggyFile/8.py
anonymousWork000/TVMfuzz
0ccbb33af89758b8ead59a8c686645246ccd0545
[ "Apache-2.0" ]
3
2021-05-28T07:12:14.000Z
2021-11-28T02:10:48.000Z
import tvm.topi.testing import tvm.relay.transform import tvm.relay.testing import tvm import tvm.relay as relay import pytest import tvm.testing from tvm.tir.expr import * from tvm.relay.dataflow_pattern import * warning=pytest.raises(tvm.error.DiagnosticError) def assert_graph_equal(lhs, rhs): tvm.ir.assert_st...
21.536585
64
0.750849
137
883
4.664234
0.343066
0.084507
0.068858
0.050078
0.197183
0.197183
0.122066
0.122066
0.122066
0
0
0.006562
0.137033
883
40
65
22.075
0.832021
0
0
0.074074
0
0
0.028377
0.028377
0
0
0
0
0.148148
1
0.185185
false
0
0.333333
0.037037
0.592593
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
1
0
0
2
3e6f2d3f752221ea070d3684a0dcc749e3111a9b
2,564
py
Python
pysnmp/CISCO-BITS-CLOCK-CAPABILITY.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/CISCO-BITS-CLOCK-CAPABILITY.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/CISCO-BITS-CLOCK-CAPABILITY.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module CISCO-BITS-CLOCK-CAPABILITY (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-BITS-CLOCK-CAPABILITY # Produced by pysmi-0.3.4 at Mon Apr 29 17:34:01 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python versio...
102.56
477
0.793292
249
2,564
8.160643
0.477912
0.079232
0.020669
0.035433
0.358268
0.260827
0.260827
0.260827
0.260827
0.25
0
0.083157
0.076053
2,564
24
478
106.833333
0.774588
0.135725
0
0.117647
0
0
0.273222
0.03217
0
0
0
0
0
1
0
false
0
0.411765
0
0.411765
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
3e706d4ca4ce69c37c5ac6d4eae2fc2df63f0515
348
py
Python
packages/PIPS/validation/Terapix/convol3x3.py
DVSR1966/par4all
86b33ca9da736e832b568c5637a2381f360f1996
[ "MIT" ]
51
2015-01-31T01:51:39.000Z
2022-02-18T02:01:50.000Z
packages/PIPS/validation/Terapix/convol3x3.py
DVSR1966/par4all
86b33ca9da736e832b568c5637a2381f360f1996
[ "MIT" ]
7
2017-05-29T09:29:00.000Z
2019-03-11T16:01:39.000Z
packages/PIPS/validation/Terapix/convol3x3.py
DVSR1966/par4all
86b33ca9da736e832b568c5637a2381f360f1996
[ "MIT" ]
12
2015-03-26T08:05:38.000Z
2022-02-18T02:01:51.000Z
from __future__ import with_statement # this is to work with python2.5 import terapyps from pyps import workspace workspace.delete("convol3x3") with terapyps.workspace("convol3x3.c", name="convol3x3", deleteOnClose=False,recoverInclude=False) as w: for f in w.fun: f.terapix_code_generation(debug=True) # ...
38.666667
104
0.767241
49
348
5.306122
0.693878
0
0
0
0
0
0
0
0
0
0
0.02649
0.132184
348
8
105
43.5
0.834437
0.175287
0
0
0
0
0.102113
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
3e77aa2d4741af2fa6a08175efdbd41fc84d36f3
2,958
py
Python
visualization/bar_line_hybrid.py
Asichurter/APISeqFewShot
b4b7843da1f53cdc1d1711537c31305e7d5c6555
[ "MIT" ]
8
2020-05-14T19:29:41.000Z
2022-03-09T03:29:51.000Z
visualization/bar_line_hybrid.py
Asichurter/APISeqFewShot
b4b7843da1f53cdc1d1711537c31305e7d5c6555
[ "MIT" ]
null
null
null
visualization/bar_line_hybrid.py
Asichurter/APISeqFewShot
b4b7843da1f53cdc1d1711537c31305e7d5c6555
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt # plt.style.use('ggplot') ''' Shot Accuracy Plot ticks = [5,6,7,8,9,10,11,12,13,14,15]#[1,2,3,4,5] data_lists = [ [92.35,92.52,93.2,93.71,93.85,94.15,94.22,94.37,94.68,94.73,94.82], [89.15,89.74,90.41,90.88,91.31,91.47,91.84,92.03,92.2,92.3,92.48], [86.13...
32.505495
184
0.657201
608
2,958
3.0625
0.304276
0.026316
0.042965
0.042965
0.141246
0.082707
0.030075
0.030075
0
0
0
0.23095
0.134888
2,958
90
185
32.866667
0.496678
0.069642
0
0
0
0
0.13093
0
0
0
0
0
0
1
0
false
0
0.039216
0
0.039216
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3e91dcfe20da113c204be1e70697cf9fc4d516cc
240
gyp
Python
examples-rust/example1/binding.gyp
aqrln/jsfest2019-napi-rust
02f8e75ae459c890309804c12372a016119ee462
[ "MIT" ]
null
null
null
examples-rust/example1/binding.gyp
aqrln/jsfest2019-napi-rust
02f8e75ae459c890309804c12372a016119ee462
[ "MIT" ]
null
null
null
examples-rust/example1/binding.gyp
aqrln/jsfest2019-napi-rust
02f8e75ae459c890309804c12372a016119ee462
[ "MIT" ]
4
2020-05-30T19:58:24.000Z
2020-12-02T20:23:15.000Z
{ 'targets': [ { 'target_name': 'example1', 'sources': ['manifest.c'], 'libraries': [ '../../target/release/libnapi_example1.a', ], 'include_dirs': [ '../napi/include' ] } ] }
16
50
0.433333
17
240
5.941176
0.823529
0
0
0
0
0
0
0
0
0
0
0.012739
0.345833
240
14
51
17.142857
0.630573
0
0
0
0
0
0.491667
0.1625
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
e41ba32b99f78bd45f179b7fc569830496a91628
2,381
py
Python
sdk/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2017_05_01_preview/models/__init__.py
vincenttran-msft/azure-sdk-for-python
348b56f9f03eeb3f7b502eed51daf494ffff874d
[ "MIT" ]
1
2022-02-01T18:50:12.000Z
2022-02-01T18:50:12.000Z
sdk/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2017_05_01_preview/models/__init__.py
vincenttran-msft/azure-sdk-for-python
348b56f9f03eeb3f7b502eed51daf494ffff874d
[ "MIT" ]
null
null
null
sdk/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2017_05_01_preview/models/__init__.py
vincenttran-msft/azure-sdk-for-python
348b56f9f03eeb3f7b502eed51daf494ffff874d
[ "MIT" ]
null
null
null
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
35.014706
94
0.755565
194
2,381
9.005155
0.381443
0.12593
0.163709
0.239267
0
0
0
0
0
0
0
0.011074
0.127677
2,381
67
95
35.537313
0.830043
0.189836
0
0
0
0
0.271213
0.158251
0
0
0
0
0
1
0
false
0
0.410714
0
0.410714
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
1
0
0
0
0
2
e424d02c1c6874a3cc7557673665a4fc913a01c4
9,390
py
Python
adafruit_io/adafruit_io_using_requests/feeds_response.py
brucestull/Arduino
9ae47eabd515fb7d657f00d40b483464eca2dc65
[ "MIT" ]
1
2021-12-15T02:48:33.000Z
2021-12-15T02:48:33.000Z
adafruit_io/adafruit_io_using_requests/feeds_response.py
brucestull/Arduino
9ae47eabd515fb7d657f00d40b483464eca2dc65
[ "MIT" ]
null
null
null
adafruit_io/adafruit_io_using_requests/feeds_response.py
brucestull/Arduino
9ae47eabd515fb7d657f00d40b483464eca2dc65
[ "MIT" ]
null
null
null
# https://io.adafruit.com/api/v2/{username}/feeds import pprint headers = {'server': 'nginx', 'date': 'Sun, 06 Feb 2022 00:40:21 GMT', 'content-type': 'application/json; charset=utf-8', 'transfer-encoding': 'chunked', 'x-frame-options': 'SAMEORIGIN', 'x-xss-protection': '1; mode=block', 'x-content-type-options': 'n...
38.962656
1,223
0.538552
981
9,390
5
0.236493
0.033028
0.024465
0.04159
0.666667
0.665443
0.653619
0.641386
0.60632
0.597554
0
0.098247
0.276997
9,390
241
1,224
38.962656
0.624245
0.015335
0
0.767544
0
0.008772
0.508658
0.055195
0
0
0
0
0
1
0
false
0
0.004386
0
0.004386
0.02193
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e427db39d3949d3b4b0e8b7d7f6cf8c9bff32599
2,071
py
Python
assignment_3/complex.py
slchangtw/Advanced_Programming_in_Python_Jacobs
46df6a77e23d92fc97c15b6112a3f428b2bbcb42
[ "MIT" ]
null
null
null
assignment_3/complex.py
slchangtw/Advanced_Programming_in_Python_Jacobs
46df6a77e23d92fc97c15b6112a3f428b2bbcb42
[ "MIT" ]
null
null
null
assignment_3/complex.py
slchangtw/Advanced_Programming_in_Python_Jacobs
46df6a77e23d92fc97c15b6112a3f428b2bbcb42
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # JTSK-350112 # complex.py # Shun-Lung Chang # sh.chang@jacobs-university.de class Complex(object): def __init__(self, real, imag): self._real = real self._imag = imag def __add__(self, other): if type(self) != type(other): ...
41.42
94
0.468856
222
2,071
4.121622
0.216216
0.078689
0.104918
0.148634
0.718033
0.718033
0.680874
0.680874
0.627322
0.627322
0
0.019769
0.41381
2,071
50
95
41.42
0.733937
0.05408
0
0.4
0
0
0.099795
0
0
0
0
0
0
1
0.2
false
0
0
0.033333
0.4
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e436572a81b7f2dfc45ed253e13b54249a9f1cda
1,342
py
Python
think/skills/tests/test_arithmetic.py
kat-dearstyne/think
1f6de81b694e05996948639b7f7ce14b6dd4ecae
[ "MIT" ]
2
2018-04-18T11:14:19.000Z
2020-07-23T16:25:41.000Z
think/skills/tests/test_arithmetic.py
kat-dearstyne/think
1f6de81b694e05996948639b7f7ce14b6dd4ecae
[ "MIT" ]
1
2019-02-08T15:11:50.000Z
2019-04-30T10:14:46.000Z
think/skills/tests/test_arithmetic.py
kat-dearstyne/think
1f6de81b694e05996948639b7f7ce14b6dd4ecae
[ "MIT" ]
1
2020-12-20T17:43:40.000Z
2020-12-20T17:43:40.000Z
# import unittest # from think import Agent, Arithmetic, Memory, Speech # class ArithmeticTest(unittest.TestCase): # def test_arithmetic(self): # agent = Agent(output=False) # arithmetic = Arithmetic(agent, Memory(agent), Speech(agent)) # arithmetic.count_to(5) # self.assertEqua...
35.315789
70
0.581967
151
1,342
5.112583
0.410596
0.15544
0.062176
0.101036
0.209845
0.121762
0.121762
0
0
0
0
0.053224
0.271982
1,342
37
71
36.27027
0.73695
0.95082
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2