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
d85d07c94c953c6ddb47057dd695b08ff1db7471
2,581
py
Python
csv_uploader/views.py
treebohotels/treebo-csv-uploader
6fad3c33e34627bf3be1365c4526ab2f7d385741
[ "MIT" ]
null
null
null
csv_uploader/views.py
treebohotels/treebo-csv-uploader
6fad3c33e34627bf3be1365c4526ab2f7d385741
[ "MIT" ]
null
null
null
csv_uploader/views.py
treebohotels/treebo-csv-uploader
6fad3c33e34627bf3be1365c4526ab2f7d385741
[ "MIT" ]
null
null
null
import logging from django.http import HttpResponse from django.utils.datastructures import MultiValueDictKeyError from rest_framework.views import APIView from rest_framework.response import Response from rest_framework.renderers import TemplateHTMLRenderer from .handler import CsvHandler from .validator import Csv...
44.5
120
0.665633
271
2,581
6.154982
0.317343
0.100719
0.134293
0.05036
0.51259
0.496403
0.479616
0.43765
0.43765
0.43765
0
0.002012
0.229756
2,581
58
121
44.5
0.837022
0
0
0.288889
0
0
0.111541
0
0
0
0
0
0
1
0.088889
false
0
0.2
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d85d2d19f951d9db76457ffec3892cff2c16064c
2,979
py
Python
Voltron/Voltron/Entrevue/LeetCode/Array-SingleNumber.py
ernestyalumni/HrdwCCppCUDA
17ed937dea06431a4d5ca103f993ea69a6918734
[ "MIT" ]
1
2018-02-09T19:44:51.000Z
2018-02-09T19:44:51.000Z
Voltron/Voltron/Entrevue/LeetCode/Array-SingleNumber.py
ernestyalumni/HrdwCCppCUDA
17ed937dea06431a4d5ca103f993ea69a6918734
[ "MIT" ]
null
null
null
Voltron/Voltron/Entrevue/LeetCode/Array-SingleNumber.py
ernestyalumni/HrdwCCppCUDA
17ed937dea06431a4d5ca103f993ea69a6918734
[ "MIT" ]
null
null
null
""" @file Array-SingleNumber.py Log: 2020/10/13 8:31 9:07 working implementation """ example_input_1 = [2, 2, 1] example_input_2 = [4, 1, 2, 1, 2] example_input_3 = [1] example_output_1 = 1 example_output_2 = 4 example_output_3 = 1 """ Given a non-empty array of integers nums, every element appears twice except for ...
24.418033
79
0.631756
496
2,979
3.600806
0.209677
0.206047
0.089586
0.011198
0.322508
0.24804
0.202128
0.118141
0.019037
0
0
0.037796
0.26284
2,979
122
80
24.418033
0.775501
0.154414
0
0.272727
0
0
0.016911
0.012401
0
0
0
0
0
1
0.090909
false
0
0
0.018182
0.345455
0.018182
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d85e74f89e6ba559f49b28f11f9fbb57d950463e
2,910
py
Python
new_h1st/my_ml_modeler.py
TgithubJ/h1st
18c8ab2ca5e3a047aea255c636d27fd66bb80ec5
[ "Apache-2.0" ]
null
null
null
new_h1st/my_ml_modeler.py
TgithubJ/h1st
18c8ab2ca5e3a047aea255c636d27fd66bb80ec5
[ "Apache-2.0" ]
null
null
null
new_h1st/my_ml_modeler.py
TgithubJ/h1st
18c8ab2ca5e3a047aea255c636d27fd66bb80ec5
[ "Apache-2.0" ]
null
null
null
from typing import Any, Dict from h1st_ml import MLModeler import pandas as pd from sklearn.linear_model import LogisticRegression from sklearn.preprocessing import StandardScaler from sklearn.metrics import r2_score from my_ml_model import MyMLModel class MyMLModeler(MLModeler): def __init__(self): sel...
36.835443
83
0.631271
406
2,910
4.248768
0.288177
0.046377
0.02087
0.044058
0.156522
0.107826
0.075362
0.041739
0.041739
0.041739
0
0.00463
0.257732
2,910
79
84
36.835443
0.793981
0.090034
0
0
0
0
0.078618
0
0
0
0
0.012658
0
1
0.125
false
0
0.125
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
d862604d092bad15f0b361b2e53da5ab2a37c8ae
942
py
Python
eegpy/formats/tests/TestLoc3dMarker.py
thorstenkranz/eegpy
0f9461456999874abbb774896ca832eb27740a9d
[ "BSD-2-Clause-FreeBSD" ]
10
2015-05-12T10:42:51.000Z
2021-07-20T02:08:03.000Z
eegpy/formats/tests/TestLoc3dMarker.py
thorstenkranz/eegpy
0f9461456999874abbb774896ca832eb27740a9d
[ "BSD-2-Clause-FreeBSD" ]
2
2015-11-19T11:36:30.000Z
2018-03-21T05:00:09.000Z
eegpy/formats/tests/TestLoc3dMarker.py
thorstenkranz/eegpy
0f9461456999874abbb774896ca832eb27740a9d
[ "BSD-2-Clause-FreeBSD" ]
2
2016-09-21T22:41:34.000Z
2019-01-28T13:55:19.000Z
import os import numpy as np import time from numpy.testing import (assert_array_almost_equal, assert_array_equal) from nose.tools import assert_true, assert_equal, assert_raises, raises from tempfile import mktemp from eegpy.formats.loc3dmarker import Loc3dMarkers test_data = """A,-...
24.789474
71
0.673036
177
942
3.435028
0.435028
0.052632
0.059211
0.052632
0.052632
0.052632
0.052632
0.052632
0
0
0
0.113956
0.170913
942
37
72
25.459459
0.664533
0.070064
0
0
0
0.153846
0.175459
0.169725
0
0
0
0
0.230769
0
null
null
0
0.269231
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d863c07896bcb5f1642fe8d4a4e1720169611bc3
759
py
Python
qset_core/configuration/environment.py
adragolov/qset-core
ca2beb9d1a530b75f8f93194649c9d9c3e8d6ac1
[ "MIT" ]
null
null
null
qset_core/configuration/environment.py
adragolov/qset-core
ca2beb9d1a530b75f8f93194649c9d9c3e8d6ac1
[ "MIT" ]
null
null
null
qset_core/configuration/environment.py
adragolov/qset-core
ca2beb9d1a530b75f8f93194649c9d9c3e8d6ac1
[ "MIT" ]
null
null
null
import os from threading import RLock ENVIRONMENT_VAR_NAME: str = "QSET_ENVIRONMENT" ENVIRONMENT_NAME_DEFAULT: str = 'Development' ENVIRONMENT_NAME_PRODUCTION: str = 'Production' class Environment: __Default = None __Lock = RLock() def __init__(self, environment_name: str = None): self._environ...
26.172414
118
0.670619
85
759
5.552941
0.352941
0.254237
0.120763
0.09322
0.076271
0
0
0
0
0
0
0
0.252964
759
28
119
27.107143
0.832452
0
0
0.095238
0
0
0.048748
0
0
0
0
0
0
1
0.142857
false
0
0.095238
0.047619
0.47619
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d868e0721a8fe2dce25eaeb0e1b2ad04eea694ba
5,144
py
Python
src/main/nspawn/wrapper/sudo.py
Andrei-Pozolotin/nspawn
9dd3926f1d1a3a0648f6ec14199cbf4069af1c98
[ "Apache-2.0" ]
15
2019-10-10T17:35:48.000Z
2022-01-29T10:41:01.000Z
src/main/nspawn/wrapper/sudo.py
Andrei-Pozolotin/nspawn
9dd3926f1d1a3a0648f6ec14199cbf4069af1c98
[ "Apache-2.0" ]
null
null
null
src/main/nspawn/wrapper/sudo.py
Andrei-Pozolotin/nspawn
9dd3926f1d1a3a0648f6ec14199cbf4069af1c98
[ "Apache-2.0" ]
2
2019-10-10T17:36:43.000Z
2020-06-20T15:28:33.000Z
""" Wrapper for sudo https://linux.die.net/man/8/sudo """ import os import shlex from typing import List, Mapping from nspawn import CONFIG from nspawn.wrapper.base import Base from nspawn.support.parser import parse_text2dict class Sudo(Base): """ Provide basic file system operations """ def __ini...
35.232877
107
0.628888
681
5,144
4.604993
0.234949
0.029018
0.045599
0.060587
0.293686
0.165816
0.157526
0.100765
0.052934
0.028061
0
0.001537
0.241058
5,144
145
108
35.475862
0.801742
0.195956
0
0.073684
0
0
0.154854
0.005554
0
0
0
0
0.042105
1
0.252632
false
0
0.063158
0.031579
0.421053
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
d8693bfd84c89857d5a17510a59ef22ad4a7f847
4,346
py
Python
collisionSat.py
vzayakov/satelliteprogram
24c699215c44caff4ca793be3bb71890c4b41416
[ "MIT" ]
null
null
null
collisionSat.py
vzayakov/satelliteprogram
24c699215c44caff4ca793be3bb71890c4b41416
[ "MIT" ]
null
null
null
collisionSat.py
vzayakov/satelliteprogram
24c699215c44caff4ca793be3bb71890c4b41416
[ "MIT" ]
null
null
null
from skyfield.api import Topos, load from astropy import units as u from astropy import time import matplotlib.pyplot as plt import numpy as np from datetime import datetime import sys ts = load.timescale(builtin=True) #This program is able to calculate the closest pass between two given satellites over the next 5 day...
35.048387
142
0.736539
662
4,346
4.805136
0.39426
0.011003
0.017605
0.011317
0.069789
0.041496
0.041496
0.041496
0
0
0
0.019436
0.159457
4,346
123
143
35.333333
0.851355
0.439254
0
0
0
0
0.183023
0.012008
0
0
0
0
0
1
0.014286
false
0.128571
0.1
0
0.114286
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d869a760e43d690b730eb44ae5328a3cd8766067
3,738
py
Python
webdev/fornecedores/tests/test_fornecedores_post.py
h-zanetti/jewelry-manager
74166b89f492303b8ebf5ff8af058f394eb2a28b
[ "MIT" ]
null
null
null
webdev/fornecedores/tests/test_fornecedores_post.py
h-zanetti/jewelry-manager
74166b89f492303b8ebf5ff8af058f394eb2a28b
[ "MIT" ]
103
2021-04-25T21:28:11.000Z
2022-03-15T01:36:31.000Z
webdev/fornecedores/tests/test_fornecedores_post.py
h-zanetti/jewelry-manager
74166b89f492303b8ebf5ff8af058f394eb2a28b
[ "MIT" ]
null
null
null
import pytest from pytest_django.asserts import assertRedirects from django.urls import reverse from django.contrib.auth.models import User from webdev.fornecedores.models import Fornecedor, Fornecimento, Email, Telefone, Local, DadosBancarios # Novo Fornecedor @pytest.fixture def fornecimento(db): return Fornecim...
32.224138
103
0.692616
397
3,738
6.322418
0.229219
0.062151
0.095618
0.14741
0.476892
0.417131
0.417131
0.417131
0.417131
0.417131
0
0.01992
0.194222
3,738
115
104
32.504348
0.813413
0.02595
0
0.410526
0
0
0.187672
0.045129
0
0
0
0
0.073684
1
0.136842
false
0.105263
0.052632
0.021053
0.263158
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d86dfa846b06600cb6626bf01cc13c4b4ba732dd
1,656
py
Python
humimp/urls.py
zain-Z/humimp
fd7e4e211dce62639e2fce2dd9f9506240a7a3d9
[ "MIT" ]
null
null
null
humimp/urls.py
zain-Z/humimp
fd7e4e211dce62639e2fce2dd9f9506240a7a3d9
[ "MIT" ]
null
null
null
humimp/urls.py
zain-Z/humimp
fd7e4e211dce62639e2fce2dd9f9506240a7a3d9
[ "MIT" ]
null
null
null
"""humimp URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based ...
37.636364
78
0.736715
226
1,656
5.318584
0.353982
0.058236
0.012479
0.019967
0.097338
0.097338
0.062396
0
0
0
0
0.009777
0.135266
1,656
43
79
38.511628
0.829609
0.38587
0
0
0
0
0.157426
0.024752
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d870d81902f0c3d976bb8c7ff8e74c4445f9877c
6,176
py
Python
siiptool/common/configparser.py
kdbarnes-intel/iotg-fbu
bf6c38240ef13c64d2776e48ec277b3c8bebce6f
[ "BSD-2-Clause" ]
15
2020-03-21T03:19:46.000Z
2022-03-02T07:12:57.000Z
siiptool/common/configparser.py
kdbarnes-intel/iotg-fbu
bf6c38240ef13c64d2776e48ec277b3c8bebce6f
[ "BSD-2-Clause" ]
7
2020-03-10T03:17:24.000Z
2021-06-08T17:47:34.000Z
siiptool/common/configparser.py
kdbarnes-intel/iotg-fbu
bf6c38240ef13c64d2776e48ec277b3c8bebce6f
[ "BSD-2-Clause" ]
11
2020-02-28T19:52:22.000Z
2022-03-02T07:15:51.000Z
from collections.abc import MutableMapping import warnings import json from configparser import * from configparser import __all__ __all__.append("JSONConfigParser") _ConfigParser = ConfigParser class ConfigParser: """Accepts extra keyword config_type and returns the instance based on it""" def __new__(cls,...
31.510204
81
0.599093
710
6,176
5.083099
0.269014
0.044334
0.037406
0.028263
0.229149
0.167636
0.151011
0.151011
0.140482
0.140482
0
0.000236
0.312986
6,176
195
82
31.671795
0.850342
0.214864
0
0.317829
0
0
0.029185
0
0
0
0
0
0
1
0.209302
false
0.007752
0.03876
0.023256
0.379845
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
d871d406a36eb042f0249d4cd661dbf2e8cf3a59
5,859
py
Python
tests/test_validation.py
danielgis/invest
b9687d249361556b874750368e856ef049447b5a
[ "BSD-3-Clause" ]
null
null
null
tests/test_validation.py
danielgis/invest
b9687d249361556b874750368e856ef049447b5a
[ "BSD-3-Clause" ]
null
null
null
tests/test_validation.py
danielgis/invest
b9687d249361556b874750368e856ef049447b5a
[ "BSD-3-Clause" ]
1
2021-04-21T10:46:17.000Z
2021-04-21T10:46:17.000Z
import unittest class ValidatorTest(unittest.TestCase): def test_args_wrong_type(self): """Validation: check for error when args is the wrong type.""" from natcap.invest import validation @validation.invest_validator def validate(args, limit_to=None): pass wit...
34.263158
78
0.640894
666
5,859
5.471471
0.135135
0.038419
0.065862
0.09056
0.716246
0.681669
0.643249
0.603732
0.576015
0.493688
0
0.00527
0.255163
5,859
170
79
34.464706
0.829743
0.151732
0
0.6
0
0
0.041684
0
0
0
0
0
0.172727
1
0.236364
false
0.045455
0.145455
0.054545
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
d8733f6f6015bbf69ccc3df24284440196f1074d
1,314
py
Python
src/zope/app/publication/publicationtraverse.py
zopefoundation/zope.app.publication
fd5cde576c4679aac1f7dc091d2fd6fb5ae51db4
[ "ZPL-2.1" ]
1
2021-02-01T06:13:49.000Z
2021-02-01T06:13:49.000Z
src/zope/app/publication/publicationtraverse.py
zopefoundation/zope.app.publication
fd5cde576c4679aac1f7dc091d2fd6fb5ae51db4
[ "ZPL-2.1" ]
11
2015-08-03T07:40:13.000Z
2020-12-17T06:54:55.000Z
src/zope/app/publication/publicationtraverse.py
zopefoundation/zope.app.publication
fd5cde576c4679aac1f7dc091d2fd6fb5ae51db4
[ "ZPL-2.1" ]
3
2015-04-03T07:58:39.000Z
2016-11-04T06:00:03.000Z
############################################################################## # # Copyright (c) 2001, 2002 Zope Foundation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # TH...
37.542857
107
0.679604
155
1,314
5.735484
0.612903
0.047244
0.111361
0.08324
0.191226
0.058493
0.058493
0
0
0
0
0.020282
0.136986
1,314
34
108
38.647059
0.763668
0.502283
0
0
0
0
0.306554
0.120507
0
0
0
0
0
1
0
true
0
0.3
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
0
0
0
0
0
1
d8861a99b9bc42b6ddf7bfddb993259aa9336913
720
py
Python
generator/migrations/0001_initial.py
danielcoker/random-uuid
0cf459eb2a838923e9ee5f17e20dbd9ece27a4ce
[ "MIT" ]
null
null
null
generator/migrations/0001_initial.py
danielcoker/random-uuid
0cf459eb2a838923e9ee5f17e20dbd9ece27a4ce
[ "MIT" ]
null
null
null
generator/migrations/0001_initial.py
danielcoker/random-uuid
0cf459eb2a838923e9ee5f17e20dbd9ece27a4ce
[ "MIT" ]
null
null
null
# Generated by Django 3.2.11 on 2022-01-18 12:43 from django.db import migrations, models import generator.models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Vault', fields=[ (...
26.666667
117
0.579167
73
720
5.589041
0.69863
0.073529
0
0
0
0
0
0
0
0
0
0.035573
0.297222
720
26
118
27.692308
0.770751
0.063889
0
0
1
0
0.0625
0
0
0
0
0
0
1
0
false
0
0.105263
0
0.315789
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d88805a961c2bd2e72ffebe23a8679a83ce2e0f0
1,529
py
Python
biostar/recipes/migrations/0008_label.py
Oribyne/biostar-central-fork
89a459bc66d438518cf968c3f2e3ce1f50573b9e
[ "MIT" ]
477
2015-01-01T00:18:54.000Z
2022-03-21T10:29:29.000Z
biostar/recipes/migrations/0008_label.py
coreydipsy/biostar-central
2b2f09199a6332877885ef54d9ac588ed0765770
[ "MIT" ]
247
2015-01-02T08:12:03.000Z
2022-02-24T15:20:58.000Z
biostar/recipes/migrations/0008_label.py
coreydipsy/biostar-central
2b2f09199a6332877885ef54d9ac588ed0765770
[ "MIT" ]
251
2015-01-01T16:05:57.000Z
2022-03-25T21:32:44.000Z
# Generated by Django 3.0.2 on 2020-02-17 22:42 from django.db import migrations, models import hjson import toml def init_toml(apps, schema_editor): Recipes = apps.get_model('recipes', 'Analysis') for recipe in Recipes.objects.all(): # Load the json data json_data = hjson.loads(recipe.json_t...
27.8
74
0.620013
175
1,529
5.28
0.422857
0.038961
0.055195
0.068182
0.160173
0.160173
0.099567
0
0
0
0
0.023235
0.268149
1,529
54
75
28.314815
0.802502
0.096141
0
0.230769
1
0
0.081336
0
0
0
0
0
0
1
0.051282
false
0
0.076923
0
0.205128
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d88d8616334079599791ffad043f9440390cda86
482
py
Python
src/views.py
DarFig/bLg0
e8e570af13e977fe867f858c7247dfe16cc22488
[ "MIT" ]
null
null
null
src/views.py
DarFig/bLg0
e8e570af13e977fe867f858c7247dfe16cc22488
[ "MIT" ]
null
null
null
src/views.py
DarFig/bLg0
e8e570af13e977fe867f858c7247dfe16cc22488
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from src import app from flask import render_template from .controladores.blog import * from .controladores.about import * from .controladores.post import * from .interpreter import get_all_proy, get_all_posts @app.route('/') @app.route('/', methods=['GET']) def index(): title = "BLG0" ...
20.083333
88
0.711618
67
482
4.955224
0.477612
0.072289
0.138554
0
0
0
0
0
0
0
0
0.00978
0.151452
482
23
89
20.956522
0.801956
0.043568
0
0
0
0
0.057143
0
0
0
0
0
0
1
0.076923
false
0
0.461538
0
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d88e2fadb48418563200bc00bbc87d76d7edb36c
447
py
Python
src/L00_Entry_tasks/entry_task3.py
VeraVol42/EduNet
e24ef5f0bfe24df54da7d77f1e3b2164083b3331
[ "CC0-1.0" ]
null
null
null
src/L00_Entry_tasks/entry_task3.py
VeraVol42/EduNet
e24ef5f0bfe24df54da7d77f1e3b2164083b3331
[ "CC0-1.0" ]
null
null
null
src/L00_Entry_tasks/entry_task3.py
VeraVol42/EduNet
e24ef5f0bfe24df54da7d77f1e3b2164083b3331
[ "CC0-1.0" ]
null
null
null
operand = input() st1 = input().split(' ') st2 = input().split(' ') x1, y1, z1, x2, y2, z2 = float(st1[0]), float(st1[1]), float(st1[2]), float(st2[0]), float(st2[1]), float(st2[2]) if operand == "+": res = (x1+x2, y1+y2, z1+z2) elif operand == "-": res = (x1-x2, y1-y2, z1-z2) elif operand == "@": res = (x1...
31.928571
113
0.536913
81
447
2.962963
0.259259
0.066667
0.15
0.175
0.308333
0.308333
0.308333
0.308333
0.308333
0.308333
0
0.143631
0.174497
447
13
114
34.384615
0.506775
0
0
0
0
0
0.042506
0
0
0
0
0
0
1
0
false
0
0
0
0
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
0
0
0
0
0
0
0
0
0
1
d894b0c0efe076de25e246895a699bb7e8b99808
417
py
Python
app/__init__.py
6ixBit/Personal-Website
0f51563b06c1955775ba2ac4e78786cad21cdefa
[ "MIT" ]
null
null
null
app/__init__.py
6ixBit/Personal-Website
0f51563b06c1955775ba2ac4e78786cad21cdefa
[ "MIT" ]
1
2021-06-02T00:29:28.000Z
2021-06-02T00:29:28.000Z
app/__init__.py
6ixBit/Personal-Website
0f51563b06c1955775ba2ac4e78786cad21cdefa
[ "MIT" ]
null
null
null
from flask import Flask from flask_bootstrap import Bootstrap from flask_nav import Nav from flask_sqlalchemy import SQLAlchemy from flask_migrate import Migrate from flask_mail import Mail from Config import Config app = Flask(__name__) app.config.from_object(Config) Bootstrap(app) nav = Nav(app) db = SQLAlchemy(app)...
24.529412
51
0.805755
64
417
5.09375
0.28125
0.165644
0
0
0
0
0
0
0
0
0
0
0.131894
417
17
51
24.529412
0.900552
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.533333
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
0
0
0
1
0
0
0
0
1
d896eb0aaef01df589adcc60f76141166ae14cf0
1,716
py
Python
corehq/ex-submodules/dimagi/utils/parsing.py
dimagilg/commcare-hq
ea1786238eae556bb7f1cbd8d2460171af1b619c
[ "BSD-3-Clause" ]
471
2015-01-10T02:55:01.000Z
2022-03-29T18:07:18.000Z
corehq/ex-submodules/dimagi/utils/parsing.py
dimagilg/commcare-hq
ea1786238eae556bb7f1cbd8d2460171af1b619c
[ "BSD-3-Clause" ]
14,354
2015-01-01T07:38:23.000Z
2022-03-31T20:55:14.000Z
corehq/ex-submodules/dimagi/utils/parsing.py
dimagilg/commcare-hq
ea1786238eae556bb7f1cbd8d2460171af1b619c
[ "BSD-3-Clause" ]
175
2015-01-06T07:16:47.000Z
2022-03-29T13:27:01.000Z
from datetime import date, time, datetime from dateutil.parser import parse import dateutil.tz TRUE_STRINGS = ("true", "t", "yes", "y", "1") FALSE_STRINGS = ("false", "f", "no", "n", "0") def string_to_boolean(val): """ A very dumb string to boolean converter. Will fail hard if the conversion doesn't s...
26.8125
77
0.654429
241
1,716
4.510373
0.365145
0.044158
0.066237
0.027599
0
0
0
0
0
0
0
0.023845
0.217949
1,716
63
78
27.238095
0.78614
0.147436
0
0.081081
0
0
0.121708
0.014947
0
0
0
0
0.081081
1
0.135135
false
0
0.108108
0.027027
0.513514
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d8a1ec63d4e8397c65e7cf35b675ad0d08be473f
3,850
py
Python
pulsemeeter/EqPopover.py
dacid44/pulsemeeter
5367fe910c8d1eea2a0523549c2c26c446547445
[ "MIT" ]
null
null
null
pulsemeeter/EqPopover.py
dacid44/pulsemeeter
5367fe910c8d1eea2a0523549c2c26c446547445
[ "MIT" ]
null
null
null
pulsemeeter/EqPopover.py
dacid44/pulsemeeter
5367fe910c8d1eea2a0523549c2c26c446547445
[ "MIT" ]
null
null
null
import os from .settings import LAYOUT_DIR from gi import require_version as gi_require_version gi_require_version('Gtk', '3.0') from gi.repository import Gtk,Gdk class EqPopover(): def __init__(self, button, pulse, index): self.builder = Gtk.Builder() self.pulse = pulse self.layout = pu...
37.378641
73
0.585714
524
3,850
3.975191
0.192748
0.116179
0.1277
0.182429
0.432549
0.356697
0.329813
0.303889
0.287566
0.287566
0
0.034103
0.291688
3,850
102
74
37.745098
0.72974
0
0
0.023256
0
0
0.172468
0
0
0
0
0
0
1
0.05814
false
0
0.046512
0
0.127907
0.011628
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d8a43b2abf45ed0ee34b929a0e82dda9a77e57e1
717
py
Python
ModfiyImagesSizes.py
Idolized22/Coco-llike-dataset-creator-
f0aa95710fdb339e31788b366d7360f0f994b88e
[ "MIT" ]
null
null
null
ModfiyImagesSizes.py
Idolized22/Coco-llike-dataset-creator-
f0aa95710fdb339e31788b366d7360f0f994b88e
[ "MIT" ]
null
null
null
ModfiyImagesSizes.py
Idolized22/Coco-llike-dataset-creator-
f0aa95710fdb339e31788b366d7360f0f994b88e
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ @author: idolized22 """ import PIL.Image from matplotlib import pyplot import numpy as np def resize_image (Img, DesieredSize=[1300,1300]): #desired size to be passed as [width , height ] factor=1 while (Img.size[0] * Img.size[1])>( DesieredSize[0]* D...
24.724138
82
0.659693
104
717
4.480769
0.5
0.075107
0.034335
0
0
0
0
0
0
0
0
0.04475
0.189679
717
28
83
25.607143
0.757315
0.205021
0
0
0
0
0
0
0
0
0
0
0
1
0.153846
false
0
0.230769
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d8a6e96e4ea3e27e49331d747cf1b4b5f9ab87ec
3,426
py
Python
merge_vcfs_individual.py
AndersenLab/pyPipeline
89af32c545f309686b6bbf2d1f0e9681136642ba
[ "MIT" ]
5
2015-09-18T15:48:01.000Z
2022-03-11T02:24:12.000Z
merge_vcfs_individual.py
AndersenLab/pyPipeline
89af32c545f309686b6bbf2d1f0e9681136642ba
[ "MIT" ]
null
null
null
merge_vcfs_individual.py
AndersenLab/pyPipeline
89af32c545f309686b6bbf2d1f0e9681136642ba
[ "MIT" ]
null
null
null
#!/usr/bin/python #SBATCH --nodes=1 #SBATCH --ntasks=1 #SBATCH --cpus-per-task=8 #SBATCH --nodes=1 #SBATCH --mem=8192 # # This script merges SNP and Indel Files called with Samtool and Freebayes that are called individually. # import sys import os from utils import * from utils.configuration import * from commands im...
38.066667
131
0.585231
448
3,426
4.254464
0.292411
0.094439
0.044071
0.027282
0.435992
0.395068
0.360441
0.330535
0.313746
0.241343
0
0.00471
0.256276
3,426
89
132
38.494382
0.743328
0.158786
0
0.385965
0
0.052632
0.318596
0.130175
0
0
0
0
0.035088
0
null
null
0.017544
0.122807
null
null
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d8aa198eaa6cbdf332e325c46c63a1a3c514ea9f
2,020
py
Python
linux-distro/package/nuxleus/Source/Vendor/Microsoft/IronPython-2.0.1/Lib/headstock/api/activity.py
mdavid/nuxleus
653f1310d8bf08eaa5a7e3326c2349e56a6abdc2
[ "BSD-3-Clause" ]
1
2017-03-28T06:41:51.000Z
2017-03-28T06:41:51.000Z
linux-distro/package/nuxleus/Source/Vendor/Microsoft/IronPython-2.0.1/Lib/headstock/api/activity.py
mdavid/nuxleus
653f1310d8bf08eaa5a7e3326c2349e56a6abdc2
[ "BSD-3-Clause" ]
null
null
null
linux-distro/package/nuxleus/Source/Vendor/Microsoft/IronPython-2.0.1/Lib/headstock/api/activity.py
mdavid/nuxleus
653f1310d8bf08eaa5a7e3326c2349e56a6abdc2
[ "BSD-3-Clause" ]
1
2016-12-13T21:08:58.000Z
2016-12-13T21:08:58.000Z
# -*- coding: utf-8 -*- # supports for XEP 0012 __all__ = ['Activity'] from headstock.api import Entity from headstock.api.jid import JID from headstock.lib.utils import generate_unique from bridge import Element as E from bridge import Attribute as A from bridge.common import XMPP_LAST_NS, XMPP_CLIENT_NS class Ac...
30.606061
73
0.578713
260
2,020
4.276923
0.273077
0.043165
0.076439
0.064748
0.082734
0.082734
0
0
0
0
0
0.003605
0.313366
2,020
65
74
31.076923
0.798125
0.021287
0
0.04
1
0
0.039007
0
0
0
0
0
0
1
0.08
false
0
0.12
0.02
0.28
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d8b1d59e248305d321ae1893e6fe00d702a94519
4,480
py
Python
public/PushPrices.py
efalken/OracleSwap
4884cf06f809103a22e39486fcc83c0b956ca7f5
[ "MIT" ]
5
2020-03-11T07:18:36.000Z
2020-09-14T23:57:21.000Z
public/PushPrices.py
efalken/OracleSwap
4884cf06f809103a22e39486fcc83c0b956ca7f5
[ "MIT" ]
null
null
null
public/PushPrices.py
efalken/OracleSwap
4884cf06f809103a22e39486fcc83c0b956ca7f5
[ "MIT" ]
1
2020-08-18T00:01:46.000Z
2020-08-18T00:01:46.000Z
import requests from datetime import datetime, timedelta import os from pathlib import Path from web3 import Web3, HTTPProvider import time import json # put real private key and address here wallet_private_key = "0x00000000000000000000000000000000" wallet_address = "0x000000000000000000000000000000" # put personal in...
36.422764
114
0.707143
595
4,480
5.112605
0.302521
0.016437
0.028928
0.027613
0.380671
0.359632
0.332018
0.332018
0.332018
0.332018
0
0.048959
0.174777
4,480
122
115
36.721311
0.773871
0.036607
0
0.329787
0
0
0.125157
0.053173
0
0
0.02458
0
0
0
null
null
0
0.074468
null
null
0.010638
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d8b43126c4341230aae3fa4c8b5aa73490e76164
356
py
Python
uebung/bmi.py
wieerwill/Python-Intro
6b6f1d8b1b5c95590ffe15b0b4ddf188b680b491
[ "MIT" ]
3
2019-03-02T16:34:53.000Z
2021-11-15T11:43:53.000Z
uebung/bmi.py
wieerwill/Python-Intro
6b6f1d8b1b5c95590ffe15b0b4ddf188b680b491
[ "MIT" ]
null
null
null
uebung/bmi.py
wieerwill/Python-Intro
6b6f1d8b1b5c95590ffe15b0b4ddf188b680b491
[ "MIT" ]
null
null
null
# Calculate your Body-Mass-Index with Python print("BMI - Calculator!") weight_str = input("Please insert your weight (in kg): ") height_str = input("Please insert your bodys height(in m): ") weight = float(weight_str.replace(",", ".")) height = float(height_str.replace(",", ".")) bmi = weight / height ** 2 print("...
29.666667
61
0.668539
51
356
4.588235
0.509804
0.076923
0.119658
0.17094
0.205128
0
0
0
0
0
0
0.006579
0.146067
356
12
62
29.666667
0.763158
0.117978
0
0
0
0
0.345048
0
0
0
0
0
0
1
0
false
0
0
0
0
0.285714
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d8b44da55092c3a84cde6a1b4d363471d58fc94a
333
py
Python
PBO_18126/tugas 3.1.py
nurhumairaabri21/PBO
12bbc2e3ca408330ac5ff2e02492bfa56b21c3eb
[ "MIT" ]
null
null
null
PBO_18126/tugas 3.1.py
nurhumairaabri21/PBO
12bbc2e3ca408330ac5ff2e02492bfa56b21c3eb
[ "MIT" ]
null
null
null
PBO_18126/tugas 3.1.py
nurhumairaabri21/PBO
12bbc2e3ca408330ac5ff2e02492bfa56b21c3eb
[ "MIT" ]
null
null
null
#input--> berfungsi untuk menerima baris input dari user dan mengembalikan dalam bentuk string #int--> berfungsi untuk menkonversi bilangan maupun string angka menjadi bilangan bulat a=int(input("masukan nilai A: ")) b=int(input("masukan nilai B: ")) a +=3 print(a) b -=10 print(b) a *=4 print(a) b *...
19.588235
95
0.684685
52
333
4.384615
0.538462
0.026316
0.131579
0.175439
0
0
0
0
0
0
0
0.018587
0.192192
333
17
96
19.588235
0.828996
0.537538
0
0.4
0
0
0.248175
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d8bbf917cb0bbef6cac30c8d90613ab18336f8eb
2,145
py
Python
d3d/box/__init__.py
minghanz/d3d
1d08013238b300489f61be57cdd20a105d16a632
[ "MIT" ]
null
null
null
d3d/box/__init__.py
minghanz/d3d
1d08013238b300489f61be57cdd20a105d16a632
[ "MIT" ]
null
null
null
d3d/box/__init__.py
minghanz/d3d
1d08013238b300489f61be57cdd20a105d16a632
[ "MIT" ]
null
null
null
import torch from .box_impl import ( iou2d as iou2d_cc, iou2d_cuda, nms2d as nms2d_cc, nms2d_cuda, rbox_2d_crop as rbox_2d_crop_cc, IouType, SupressionType) def box2d_iou(boxes1, boxes2, method="box"): ''' :param method: 'box' - normal box, 'rbox' - rotated box ''' if len(boxes1.shape) ...
34.047619
175
0.673193
304
2,145
4.611842
0.394737
0.017118
0.021398
0.017118
0.052782
0.052782
0.052782
0.052782
0
0
0
0.032316
0.220979
2,145
62
176
34.596774
0.806703
0.24662
0
0.051282
0
0
0.09283
0
0
0
0
0.016129
0
1
0.076923
false
0
0.051282
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
d8c6bd57ec5db427c92f2222ca7c809d32503546
571
py
Python
src/arrays/combination-sum-2.py
vighnesh153/ds-algo
79c401dad2d2e575ce1913184ca8665f2712a5b8
[ "MIT" ]
null
null
null
src/arrays/combination-sum-2.py
vighnesh153/ds-algo
79c401dad2d2e575ce1913184ca8665f2712a5b8
[ "MIT" ]
null
null
null
src/arrays/combination-sum-2.py
vighnesh153/ds-algo
79c401dad2d2e575ce1913184ca8665f2712a5b8
[ "MIT" ]
1
2020-08-09T06:37:21.000Z
2020-08-09T06:37:21.000Z
def recursion(arr, target, index, solutions, current): if target == 0: solutions.add(tuple(current)) return if target < 0 or index >= len(arr): return current.append(arr[index]) recursion(arr, target - arr[index], index + 1, solutions, current) current.pop() recursion(a...
22.84
70
0.607706
79
571
4.392405
0.417722
0.129683
0.207493
0.132565
0
0
0
0
0
0
0
0.032558
0.246935
571
24
71
23.791667
0.774419
0
0
0.111111
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.277778
0.055556
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d8c794bc8aa2a91941f9265c3fe17da6aef9d56a
472
py
Python
mmhuman3d/core/visualization/__init__.py
ttxskk/mmhuman3d
f6d39e24a2d5cc216448fc3bd82832ff45eee436
[ "Apache-2.0" ]
1
2021-12-03T04:17:52.000Z
2021-12-03T04:17:52.000Z
mmhuman3d/core/visualization/__init__.py
ttxskk/mmhuman3d
f6d39e24a2d5cc216448fc3bd82832ff45eee436
[ "Apache-2.0" ]
null
null
null
mmhuman3d/core/visualization/__init__.py
ttxskk/mmhuman3d
f6d39e24a2d5cc216448fc3bd82832ff45eee436
[ "Apache-2.0" ]
null
null
null
from .visualize_keypoints2d import visualize_kp2d from .visualize_keypoints3d import visualize_kp3d from .visualize_smpl import ( render_smpl, visualize_smpl_calibration, visualize_smpl_hmr, visualize_smpl_pose, visualize_smpl_vibe, visualize_T_pose, ) __all__ = [ 'visualize_kp2d', 'visuali...
27.764706
62
0.777542
55
472
6.072727
0.272727
0.350299
0.113772
0.137725
0.239521
0.239521
0
0
0
0
0
0.014851
0.144068
472
16
63
29.5
0.811881
0
0
0
0
0
0.290254
0.055085
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d8d6b40e4e24a3388d3de220686239dd259ccfe1
2,141
py
Python
util/intensity_scaling.py
LeHenschel/DeepFCD
494c92dfd80b55aa2369095853bfea84b770acdc
[ "MIT" ]
3
2020-03-24T11:16:50.000Z
2022-01-21T14:50:41.000Z
util/intensity_scaling.py
LeHenschel/DeepFCD
494c92dfd80b55aa2369095853bfea84b770acdc
[ "MIT" ]
null
null
null
util/intensity_scaling.py
LeHenschel/DeepFCD
494c92dfd80b55aa2369095853bfea84b770acdc
[ "MIT" ]
3
2022-01-07T10:53:45.000Z
2022-03-02T15:31:29.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Apr 7 17:24:20 2020 Rescaling exported synthetic PNGs to the intensity range of real PNGs. MinMax-Scaling not recommended. Better use Histogram Matching TODO: Integrate directly into apply_GAN notebook @author: bdavid """ import os import numpy as n...
32.439394
98
0.744512
339
2,141
4.463127
0.330383
0.137475
0.052875
0.059484
0.487112
0.442168
0.27495
0.27495
0.220753
0.220753
0
0.018104
0.12284
2,141
65
99
32.938462
0.78754
0.317609
0
0.214286
0
0
0.154539
0.139986
0
0
0
0.015385
0
1
0.071429
false
0
0.178571
0
0.321429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
d8d72c5cdaafc3330e3c8acc96c27ff888c380fc
2,549
py
Python
ceraon/api/v1/meals/schema.py
Rdbaker/Mealbound
37cec6b45a632ac26a5341a0c9556279b6229ea8
[ "BSD-3-Clause" ]
1
2018-11-03T17:48:50.000Z
2018-11-03T17:48:50.000Z
ceraon/api/v1/meals/schema.py
Rdbaker/Mealbound
37cec6b45a632ac26a5341a0c9556279b6229ea8
[ "BSD-3-Clause" ]
3
2021-03-09T09:47:04.000Z
2022-02-12T13:04:41.000Z
ceraon/api/v1/meals/schema.py
Rdbaker/Mealbound
37cec6b45a632ac26a5341a0c9556279b6229ea8
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """Meal schema.""" from datetime import datetime as dt from marshmallow import Schema, ValidationError, fields, validates from ceraon.api.v1.locations.schema import LocationSchema from ceraon.api.v1.users.schema import UserSchema from ceraon.api.v1.tags.schema import TagSchema from ceraon.cons...
34.445946
69
0.640251
304
2,549
5.233553
0.315789
0.035198
0.052797
0.050283
0.134507
0.056568
0.056568
0.056568
0
0
0
0.006276
0.249902
2,549
73
70
34.917808
0.825837
0.101608
0
0.04
0
0
0.040853
0
0
0
0
0
0
1
0.08
false
0
0.12
0
0.54
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d8d7c06e5b65b400c9d18a38d0705a519de0d5e6
506
py
Python
Vbox_postgres_conn.py
RajasKhokle/Drug_Web
e59496fc4af69e34a5b0b4d3acb498a038ad831c
[ "BSD-3-Clause" ]
null
null
null
Vbox_postgres_conn.py
RajasKhokle/Drug_Web
e59496fc4af69e34a5b0b4d3acb498a038ad831c
[ "BSD-3-Clause" ]
null
null
null
Vbox_postgres_conn.py
RajasKhokle/Drug_Web
e59496fc4af69e34a5b0b4d3acb498a038ad831c
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Fri Mar 29 08:14:44 2019 Purpose: Connect to the Postgresql Drug Database on local virtual machine on UBUNTU @author: Rajas Khokle """ import pandas as pd from sqlalchemy import create_engine # Create Connection to the database engine = create_engine('postgres://postgres:raj_d...
28.111111
92
0.758893
80
506
4.7125
0.725
0.026525
0
0
0
0
0
0
0
0
0
0.065169
0.120553
506
18
93
28.111111
0.782022
0.391304
0
0
0
0
0.463333
0.306667
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d8debc26659ca852de091f669c8c62e62434b95f
3,208
py
Python
EMD_ensembled_data_prepare_Test_server.py
NahianHasan/Cardiovascular_Disease_Classification_Employing_EMD
57bf6425808bcff4f1c54e6be2e1df9c14b61313
[ "MIT" ]
6
2019-10-10T18:53:13.000Z
2020-08-13T08:39:43.000Z
EMD_ensembled_data_prepare_Test_server.py
NahianHasan/Cardiovascular_Disease_Classification_Employing_EMD
57bf6425808bcff4f1c54e6be2e1df9c14b61313
[ "MIT" ]
null
null
null
EMD_ensembled_data_prepare_Test_server.py
NahianHasan/Cardiovascular_Disease_Classification_Employing_EMD
57bf6425808bcff4f1c54e6be2e1df9c14b61313
[ "MIT" ]
1
2020-04-22T07:50:49.000Z
2020-04-22T07:50:49.000Z
import pyhht from pyhht.emd import EMD from pyhht.visualization import plot_imfs import numpy as np import math from pyhht.utils import extr from pyhht.utils import get_envelops import matplotlib.pyplot as plt from pyhht.utils import inst_freq import wfdb import os import sys import glob def EMD_data_pre...
37.302326
155
0.7101
469
3,208
4.684435
0.321962
0.032772
0.061903
0.034593
0.137915
0.103778
0.071006
0.032772
0
0
0
0.009098
0.143392
3,208
85
156
37.741176
0.790393
0
0
0.074627
0
0.014925
0.210755
0
0
0
0
0
0
0
null
null
0
0.19403
null
null
0.029851
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d8e4dee2464dfe2fbd5f649c5d1fede75cf0bf21
3,198
py
Python
src/main/python/utils/handle_null.py
meowpunch/bobsim-research
4411ac6eaf5b760611f689b0a9e290546e2f5435
[ "MIT" ]
2
2020-03-01T17:42:44.000Z
2020-03-09T06:13:34.000Z
src/main/python/utils/handle_null.py
meowpunch/bobsim-research
4411ac6eaf5b760611f689b0a9e290546e2f5435
[ "MIT" ]
2
2020-04-01T16:48:06.000Z
2020-04-04T11:04:10.000Z
src/main/python/utils/handle_null.py
meowpunch/bobsim-research
4411ac6eaf5b760611f689b0a9e290546e2f5435
[ "MIT" ]
null
null
null
import sys from functools import reduce import pandas as pd from utils.logging import init_logger from utils.s3_manager.manage import S3Manager class NullHandler: def __init__(self, strategy=None, df=None): self.logger = init_logger() self.input_df = df self.strategy = strategy ...
26.213115
107
0.583177
394
3,198
4.576142
0.340102
0.046589
0.028841
0.041597
0.023295
0
0
0
0
0
0
0.011706
0.305503
3,198
121
108
26.429752
0.79964
0.209819
0
0.101449
0
0
0.054144
0.027905
0
0
0
0.016529
0
1
0.15942
false
0.014493
0.072464
0.043478
0.42029
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
d8ee816a339e470ff77545c7b6f55ec86374feb8
362
py
Python
examinations/serializers.py
CASDON-MYSTERY/studentapp
0fd942e963a10a02a6c9f358dd362cfd646eecc3
[ "MIT" ]
null
null
null
examinations/serializers.py
CASDON-MYSTERY/studentapp
0fd942e963a10a02a6c9f358dd362cfd646eecc3
[ "MIT" ]
null
null
null
examinations/serializers.py
CASDON-MYSTERY/studentapp
0fd942e963a10a02a6c9f358dd362cfd646eecc3
[ "MIT" ]
null
null
null
from rest_framework import serializers from .models import Examination, Exam_day_and_venue class Examination_Serializer(serializers.ModelSerializer): class Meta: model=Examination fields= "__all__" class Exam_day_and_venue_Serializer(serializers.ModelSerializer): class Meta: model=Ex...
25.857143
65
0.762431
41
362
6.243902
0.439024
0.082031
0.117188
0.175781
0.390625
0.390625
0
0
0
0
0
0
0.18232
362
14
66
25.857143
0.864865
0
0
0.4
0
0
0.038567
0
0
0
0
0
0
1
0
false
0
0.2
0
0.6
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d8f1c63452f9e657da2dce69409e74cc04262524
2,008
py
Python
server/settings.py
codingismycraft/pinta
bbeb721f5d365cf2643d01e1f3196e90e2658d05
[ "MIT" ]
null
null
null
server/settings.py
codingismycraft/pinta
bbeb721f5d365cf2643d01e1f3196e90e2658d05
[ "MIT" ]
null
null
null
server/settings.py
codingismycraft/pinta
bbeb721f5d365cf2643d01e1f3196e90e2658d05
[ "MIT" ]
null
null
null
"""Exposes the configuration settings.""" import os import json class _Settings: """Exposes the configuration settings.""" _project_root = None _include_root = None _dependencies_filename = None _pinta_executable = None _history_db = None def __init__(self): """Initializer. ...
25.417722
74
0.616036
224
2,008
5.294643
0.223214
0.064924
0.059022
0.075885
0.274874
0.227656
0.118044
0.072513
0
0
0
0
0.289841
2,008
78
75
25.74359
0.831697
0.313745
0
0.147059
0
0
0.073456
0.017529
0
0
0
0
0
1
0.176471
false
0
0.058824
0
0.558824
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d8f2c334a4aedf8eab7e4c82a7180f26920b4989
2,533
py
Python
pages/header_page.py
Morjus/kinoposk_ui_tests
0e5c0660593731529db7df5912e10a81e80a55ea
[ "MIT" ]
null
null
null
pages/header_page.py
Morjus/kinoposk_ui_tests
0e5c0660593731529db7df5912e10a81e80a55ea
[ "MIT" ]
null
null
null
pages/header_page.py
Morjus/kinoposk_ui_tests
0e5c0660593731529db7df5912e10a81e80a55ea
[ "MIT" ]
null
null
null
import allure import logging from selenium.webdriver.common.by import By from pages.base_page import BasePage class HeaderPage(BasePage): LOGIN_BUTTON = (By.XPATH, '//button[contains(text(), "Войти")]') EMAIL_FIELD = (By.CSS_SELECTOR, '#passp-field-login') PASSW_FIELD = (By.CSS_SELECTOR, '#passp-field-pas...
43.672414
79
0.658113
338
2,533
4.745562
0.275148
0.068579
0.09601
0.130299
0.36596
0.228803
0.142145
0.099751
0.099751
0.099751
0
0.000982
0.19621
2,533
58
80
43.672414
0.786837
0.044611
0
0.086957
0
0
0.252275
0.05335
0
0
0
0
0
1
0.130435
false
0.152174
0.086957
0
0.434783
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d8ff3f9b9d076df28a9f625cded5efea0322cd15
16,309
py
Python
apps/dash-baseball-statistics/layouts.py
JeroenvdSande/dash-sample-apps
106fa24693cfdaf47c06466a0aed78e642344f91
[ "MIT" ]
2,332
2019-05-10T18:24:20.000Z
2022-03-30T21:46:29.000Z
apps/dash-baseball-statistics/layouts.py
JeroenvdSande/dash-sample-apps
106fa24693cfdaf47c06466a0aed78e642344f91
[ "MIT" ]
384
2019-05-09T19:19:56.000Z
2022-03-12T00:58:24.000Z
apps/dash-baseball-statistics/layouts.py
JeroenvdSande/dash-sample-apps
106fa24693cfdaf47c06466a0aed78e642344f91
[ "MIT" ]
3,127
2019-05-16T17:20:45.000Z
2022-03-31T17:59:07.000Z
# Dash components, html, and dash tables import dash_core_components as dcc import dash_html_components as html import dash_table # Import Bootstrap components import dash_bootstrap_components as dbc # Import custom data.py import data # Import data from data.py file teams_df = data.teams # Hardcoded list that conta...
35.843956
139
0.365565
1,417
16,309
4.177841
0.160903
0.122973
0.113514
0.11402
0.691216
0.683784
0.667399
0.629899
0.594088
0.551351
0
0.0365
0.475872
16,309
454
140
35.922907
0.65606
0.063768
0
0.717391
0
0
0.188651
0
0
0
0
0
0
1
0
false
0
0.012077
0
0.012077
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2b05abd8c972d299aef12d9ffb9c918cfcc45604
5,956
py
Python
src/pylightnix/repl.py
stagedml/pylightnix
b475057f03db1d0b975500d079745c4de9c42069
[ "Apache-2.0" ]
9
2020-01-25T12:03:12.000Z
2021-10-12T08:22:33.000Z
src/pylightnix/repl.py
stagedml/pylightnix
b475057f03db1d0b975500d079745c4de9c42069
[ "Apache-2.0" ]
1
2020-02-16T10:47:34.000Z
2020-02-20T17:11:45.000Z
src/pylightnix/repl.py
stagedml/pylightnix
b475057f03db1d0b975500d079745c4de9c42069
[ "Apache-2.0" ]
null
null
null
# Copyright 2020, Sergey Mironov # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
34.427746
81
0.712727
867
5,956
4.78316
0.272203
0.014468
0.023873
0.023149
0.297082
0.262358
0.251025
0.236798
0.199662
0.199662
0
0.003938
0.189893
5,956
172
82
34.627907
0.855544
0.273842
0
0.353982
0
0
0.043907
0
0
0
0
0.011628
0.141593
1
0.079646
false
0
0.026549
0.00885
0.212389
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
2b0eda6bd56eca2e8afd3f6bc6ca556e0abd44cd
374
py
Python
Learning+Misc/Quantum-Circuits/deutsch_oracle.py
Gregory-Eales/QA-Reimplementations
bef0b3e67397a73c468e539c426c6629d398433b
[ "MIT" ]
1
2019-05-03T21:48:29.000Z
2019-05-03T21:48:29.000Z
Learning+Misc/Quantum-Circuits/deutsch_oracle.py
Gregory-Eales/QA-Reimplementations
bef0b3e67397a73c468e539c426c6629d398433b
[ "MIT" ]
null
null
null
Learning+Misc/Quantum-Circuits/deutsch_oracle.py
Gregory-Eales/QA-Reimplementations
bef0b3e67397a73c468e539c426c6629d398433b
[ "MIT" ]
null
null
null
import cirq import numpy as np class DeutschOracle(object): def __init__(self): self.circuit = cirq.Circuit() self.x_gate = cirq.X self.hadmard_gate = cirq.H self.measure_gate = cirq.MeasurementGate def init_qubits(self, length=3): q = [cirq.GridQubit(i, j) for i in r...
23.375
80
0.639037
54
374
4.277778
0.537037
0.103896
0.112554
0
0
0
0
0
0
0
0
0.003636
0.264706
374
15
81
24.933333
0.836364
0
0
0
0
0
0
0
0
0
0
0
0
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
0
0
0
0
0
0
0
0
1
0
0
1
2b175fc4f0131469f592b2c384a3aa753931cdfb
294
py
Python
setup.py
bzdvdn/sipuni-api-wrapper
44c799244388e65e9f455ed21dd16481be36f5f6
[ "MIT" ]
1
2019-12-05T14:28:31.000Z
2019-12-05T14:28:31.000Z
setup.py
bzdvdn/sipuni-api-wrapper
44c799244388e65e9f455ed21dd16481be36f5f6
[ "MIT" ]
3
2020-03-24T17:55:25.000Z
2021-02-02T22:22:17.000Z
setup.py
bzdvdn/sipuni-api-wrapper
44c799244388e65e9f455ed21dd16481be36f5f6
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages setup( name='sipuni-api', version='0.0.1.1', packages=find_packages(), install_requires=[ 'requests' ], author='bzdvdn', author_email='bzdv.dn@gmail.com', url='https://github.com/bzdvdn/sipuni-api-wrapper', )
21
55
0.642857
37
294
5
0.702703
0.12973
0
0
0
0
0
0
0
0
0
0.016878
0.193878
294
13
56
22.615385
0.763713
0
0
0
0
0
0.312925
0
0
0
0
0
0
1
0
true
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
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
2b1d50c991de2a9641935aabe9ff1cac8d06aaa8
506
py
Python
demo/blog/migrations/0003_auto_20200424_2258.py
erdem/django-marshmallow
3b9f3cefd70d98e9348f5a69fa61837ca28be7a6
[ "MIT" ]
3
2020-05-05T16:17:34.000Z
2021-05-13T19:05:12.000Z
demo/blog/migrations/0003_auto_20200424_2258.py
erdem/django-marshmallow
3b9f3cefd70d98e9348f5a69fa61837ca28be7a6
[ "MIT" ]
3
2021-09-08T02:12:25.000Z
2022-03-12T00:36:59.000Z
demo/blog/migrations/0003_auto_20200424_2258.py
erdem/django-marshmallow
3b9f3cefd70d98e9348f5a69fa61837ca28be7a6
[ "MIT" ]
null
null
null
# Generated by Django 2.2.11 on 2020-04-24 22:58 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0002_tag_related_tags'), ] operations = [ migrations.RemoveField( model_name='tag', name='related_tags', ...
22
67
0.571146
53
506
5.320755
0.641509
0.117021
0.085106
0.113475
0.191489
0.191489
0
0
0
0
0
0.057143
0.3083
506
22
68
23
0.748571
0.090909
0
0.375
1
0
0.137555
0.045852
0
0
0
0
0
1
0
false
0
0.0625
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2b202431420e6ee7ee27a4ade6e7bbf3a50a0b94
7,741
py
Python
commander/thirdparty/covertutils/shells/multi/shell.py
how2how/ToyHome
4457b1d28e21ed6fd4ab980a0f7fed345c570ae3
[ "Apache-2.0" ]
1
2020-07-26T01:08:30.000Z
2020-07-26T01:08:30.000Z
commander/thirdparty/covertutils/shells/multi/shell.py
how2how/ToyHome
4457b1d28e21ed6fd4ab980a0f7fed345c570ae3
[ "Apache-2.0" ]
null
null
null
commander/thirdparty/covertutils/shells/multi/shell.py
how2how/ToyHome
4457b1d28e21ed6fd4ab980a0f7fed345c570ae3
[ "Apache-2.0" ]
null
null
null
import cmd import sys import argparse import threading from covertutils.handlers.multi import MultiHandler # # The idea is to pass a list of handlers to start with, and create a MultiHandler object from this list. # # The initial arguments for this should be a list of Shells. From shells, the handlers will be retrieve...
34.101322
172
0.677949
1,076
7,741
4.731413
0.215613
0.033392
0.018857
0.0275
0.14614
0.128855
0.091534
0.065999
0.052642
0.025142
0
0.00306
0.197778
7,741
226
173
34.252212
0.816747
0.104379
0
0.179641
0
0.005988
0.195624
0.008694
0
0
0
0
0
0
null
null
0.017964
0.02994
null
null
0.107784
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2b2fdb3f5840708a53911e04a2280ed67c225b83
6,055
py
Python
back-end/python-scripts/add_vm.py
matteomitico/vtc-senior-project
778b59537edae54fbcb284a862bad587469b96af
[ "MIT" ]
null
null
null
back-end/python-scripts/add_vm.py
matteomitico/vtc-senior-project
778b59537edae54fbcb284a862bad587469b96af
[ "MIT" ]
null
null
null
back-end/python-scripts/add_vm.py
matteomitico/vtc-senior-project
778b59537edae54fbcb284a862bad587469b96af
[ "MIT" ]
null
null
null
#!/usr/bin/env python import json import sys, os import virtualbox from os.path import expanduser from pprint import pprint from subprocess import call #create virtual machine from the repository # arg1 = vmType # arg2 = vmName # return 1|0 success or failure # list of all VMs gateway = '155.42.97.220' #gateway = ...
34.798851
193
0.605945
850
6,055
4.184706
0.215294
0.018555
0.02474
0.03711
0.467529
0.444195
0.4307
0.402305
0.394152
0.394152
0
0.06442
0.166804
6,055
173
194
35
0.640634
0.196367
0
0.278689
0
0
0.435728
0.049265
0
0
0
0
0
1
0
false
0.057377
0.057377
0
0.057377
0.02459
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
2b359813930ee57144554a0a7d67900329a97efb
1,208
py
Python
faeAuditor/audits/urls.py
opena11y/fae-auditor
ea9099b37b77ddc30092b0cdd962647c92b143a7
[ "Apache-2.0" ]
2
2018-02-28T19:03:28.000Z
2021-09-30T13:40:23.000Z
faeAuditor/audits/urls.py
opena11y/fae-auditor
ea9099b37b77ddc30092b0cdd962647c92b143a7
[ "Apache-2.0" ]
6
2020-02-11T21:53:58.000Z
2022-02-10T07:57:58.000Z
faeAuditor/audits/urls.py
opena11y/fae-auditor
ea9099b37b77ddc30092b0cdd962647c92b143a7
[ "Apache-2.0" ]
1
2019-12-05T06:05:20.000Z
2019-12-05T06:05:20.000Z
""" Copyright 2014-2018 University of Illinois Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writ...
32.648649
94
0.701159
171
1,208
4.877193
0.54386
0.071942
0.071942
0.053957
0
0
0
0
0
0
0
0.01227
0.190397
1,208
36
95
33.555556
0.840491
0.520695
0
0
0
0
0.187719
0.098246
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
2b39d94acac82237469a41ceac176d9288d8268a
522
py
Python
app/api/utility.py
yeniky/B_back
2b45b4dc77bc191cb250a9868eb9347d9072b905
[ "Apache-2.0" ]
null
null
null
app/api/utility.py
yeniky/B_back
2b45b4dc77bc191cb250a9868eb9347d9072b905
[ "Apache-2.0" ]
null
null
null
app/api/utility.py
yeniky/B_back
2b45b4dc77bc191cb250a9868eb9347d9072b905
[ "Apache-2.0" ]
null
null
null
import flask_excel as excel from app.api import bp from flask import request from app.utils.user_auth import token_auth from app.models import Alert, InactivityAlert from sqlalchemy.orm import with_polymorphic from dateutil import parser @bp.route('/utility/csv', methods=['POST']) @token_auth.login_required def get_c...
23.727273
51
0.758621
78
522
4.897436
0.538462
0.054974
0.068063
0
0
0
0
0
0
0
0
0
0.141762
522
21
52
24.857143
0.852679
0
0
0
0
0
0.055877
0
0
0
0
0
0
1
0.133333
false
0
0.466667
0.066667
0.733333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
2b43532c39ab8e6417a57dfd057de5791661d19d
7,572
py
Python
lldb_commands/generate_new_script.py
lanza/ds-lldb
fdab1addb05c571460ad31b3256688a223a5022a
[ "MIT" ]
null
null
null
lldb_commands/generate_new_script.py
lanza/ds-lldb
fdab1addb05c571460ad31b3256688a223a5022a
[ "MIT" ]
null
null
null
lldb_commands/generate_new_script.py
lanza/ds-lldb
fdab1addb05c571460ad31b3256688a223a5022a
[ "MIT" ]
null
null
null
# MIT License # Copyright (c) 2017 Derek Selander # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge,...
35.716981
155
0.644216
932
7,572
5.080472
0.254292
0.022809
0.025343
0.009293
0.437804
0.421542
0.390074
0.373601
0.355016
0.330517
0
0.001602
0.258188
7,572
211
156
35.886256
0.841374
0.167195
0
0.615385
0
0.006993
0.600096
0.107931
0
0
0
0
0
1
0.041958
false
0.006993
0.090909
0
0.216783
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2b4bf872bc2a27fddc6346a99b6908fbc9a52903
515
py
Python
tets.py
Parzival129/XML-use-webcam-detection
2bde84882317b6abfe25cb1e52d8aed5c0896e20
[ "MIT" ]
null
null
null
tets.py
Parzival129/XML-use-webcam-detection
2bde84882317b6abfe25cb1e52d8aed5c0896e20
[ "MIT" ]
null
null
null
tets.py
Parzival129/XML-use-webcam-detection
2bde84882317b6abfe25cb1e52d8aed5c0896e20
[ "MIT" ]
1
2021-08-10T14:33:24.000Z
2021-08-10T14:33:24.000Z
from ursina import * from ursina.prefabs.first_person_controller import FirstPersonController import random import time app = Ursina() from ursina.shaders import lit_with_shadows_shader # you have to apply this shader to enties for them to recieve shadows. EditorCamera() Entity(model='plane', scale=10, color=color.g...
30.294118
121
0.8
78
515
5.141026
0.576923
0.074813
0.104738
0.149626
0.129676
0
0
0
0
0
0
0.010823
0.102913
515
16
122
32.1875
0.857143
0.132039
0
0
0
0
0.020225
0
0
0
0
0
0
1
0
false
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
0
0
1
0
0
0
0
1
2b4cafa0713ccff87fbd45632542831ae46ce20c
3,331
py
Python
cdap-authentication-clients/python/cdap_auth_client/basic_authentication_client.py
ThalesGroup/cdap-clients
46c31377d3f3652bb0af1b461905aca4bae792ce
[ "Apache-2.0" ]
1
2020-02-08T08:45:47.000Z
2020-02-08T08:45:47.000Z
cdap-authentication-clients/python/cdap_auth_client/basic_authentication_client.py
ThalesGroup/cdap-clients
46c31377d3f3652bb0af1b461905aca4bae792ce
[ "Apache-2.0" ]
2
2020-03-09T11:31:19.000Z
2020-03-11T08:00:51.000Z
cdap-authentication-clients/python/cdap_auth_client/basic_authentication_client.py
ThalesGroup/cdap-clients
46c31377d3f3652bb0af1b461905aca4bae792ce
[ "Apache-2.0" ]
5
2019-05-17T10:44:49.000Z
2022-03-21T18:54:58.000Z
# -*- coding: utf-8 -*- # Copyright © 2014 Cask Data, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy of # the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
36.206522
113
0.667067
389
3,331
5.439589
0.354756
0.062382
0.021267
0.037807
0.136578
0.05482
0
0
0
0
0
0.008481
0.25668
3,331
91
114
36.604396
0.845719
0.17172
0
0.033898
0
0
0.147959
0.029519
0
0
0
0
0
1
0.152542
false
0.254237
0.084746
0.067797
0.40678
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
2b4fc66f8378ab47766265034b510874f15cbe9d
1,784
py
Python
historian.py
callahad/historian
710f7bcacaa65bde666b120dd9a77fb1dd5cde52
[ "MIT" ]
2
2016-07-01T21:44:21.000Z
2016-07-04T01:40:46.000Z
historian.py
callahad/historian
710f7bcacaa65bde666b120dd9a77fb1dd5cde52
[ "MIT" ]
null
null
null
historian.py
callahad/historian
710f7bcacaa65bde666b120dd9a77fb1dd5cde52
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """Historian discovers what you did last quarter.""" from datetime import datetime, timezone from os import mkdir from shutil import rmtree from sys import exit from configobj import ConfigObj import sources def main(): """Generate reports of online activity.""" try: config ...
30.237288
78
0.598094
208
1,784
5.004808
0.485577
0.038425
0.026897
0.042267
0.048031
0
0
0
0
0
0
0.014129
0.285874
1,784
58
79
30.758621
0.802983
0.138453
0
0.105263
0
0
0.105125
0
0
0
0
0.017241
0
1
0.026316
false
0
0.157895
0
0.184211
0.105263
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
2b522e42fdec51401cf2c96d9e000b4b82299579
4,445
py
Python
analysis/model_selection/stage1/amb_forecast/ensemble.py
TomMonks/swast-benchmarking
96964fb705a8b3cebbce8adcf03e42d4fc3dd05a
[ "MIT" ]
null
null
null
analysis/model_selection/stage1/amb_forecast/ensemble.py
TomMonks/swast-benchmarking
96964fb705a8b3cebbce8adcf03e42d4fc3dd05a
[ "MIT" ]
null
null
null
analysis/model_selection/stage1/amb_forecast/ensemble.py
TomMonks/swast-benchmarking
96964fb705a8b3cebbce8adcf03e42d4fc3dd05a
[ "MIT" ]
1
2021-11-16T14:38:22.000Z
2021-11-16T14:38:22.000Z
import numpy as np import pandas as pd from abc import ABC, abstractmethod class AbstractEnsembleVote(ABC): @abstractmethod def fit(self, train): pass @abstractmethod def predict(self, predictions): pass class UnweightedVote(AbstractEnsembleVote): def __init__(self): pass...
28.312102
78
0.564004
483
4,445
4.94617
0.219462
0.040184
0.016743
0.025115
0.226036
0.152365
0.152365
0.106321
0.106321
0.106321
0
0.002714
0.336783
4,445
157
79
28.312102
0.807666
0.171654
0
0.267442
0
0
0.002568
0
0
0
0
0
0
1
0.151163
false
0.05814
0.034884
0.023256
0.325581
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
2b57ab90dea74a7557a373ef4b1e5309bd66e57b
2,255
py
Python
tf_encrypted/protocol/protocol.py
bendecoste/tf-encrypted
00c9b80435411299a518f777de644c61d64cceea
[ "Apache-2.0" ]
null
null
null
tf_encrypted/protocol/protocol.py
bendecoste/tf-encrypted
00c9b80435411299a518f777de644c61d64cceea
[ "Apache-2.0" ]
null
null
null
tf_encrypted/protocol/protocol.py
bendecoste/tf-encrypted
00c9b80435411299a518f777de644c61d64cceea
[ "Apache-2.0" ]
null
null
null
from abc import ABC, abstractmethod import functools from typing import Optional, Type, Any, Callable from types import TracebackType import tensorflow as tf from ..tensor.factory import AbstractTensor __PROTOCOL__ = None global_cache_updators = list() nodes = dict() class Protocol(ABC): """ Protocol is t...
27.168675
145
0.68071
267
2,255
5.546816
0.397004
0.064821
0.091155
0.064821
0.058069
0
0
0
0
0
0
0
0.218182
2,255
82
146
27.5
0.840045
0.274501
0
0
0
0
0.012771
0
0
0
0
0
0
1
0.190476
false
0.02381
0.142857
0
0.52381
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
2b58ade6112166878322d31fab707c7a8ad56963
820
py
Python
Python/CountingSort.py
lonelycoder2004/hacktoberfest2020-3
b481f995ea1a8c25aa4e467d43b334e118025a8b
[ "MIT" ]
71
2020-10-06T05:53:59.000Z
2021-11-27T03:14:42.000Z
Python/CountingSort.py
lonelycoder2004/hacktoberfest2020-3
b481f995ea1a8c25aa4e467d43b334e118025a8b
[ "MIT" ]
92
2020-10-05T19:18:14.000Z
2021-10-09T04:35:16.000Z
Python/CountingSort.py
lonelycoder2004/hacktoberfest2020-3
b481f995ea1a8c25aa4e467d43b334e118025a8b
[ "MIT" ]
572
2020-10-05T20:11:28.000Z
2021-10-10T16:28:29.000Z
#setup def countingSort(a = []): finalList = [0] * len(a) maxVal = a[0] minVal = a[0] for i in range(1, len(a)): if a[i] > maxVal: maxVal = a[i] elif a[i] < minVal: minVal = a[i] k = maxVal - minVal + 1 countList = [0]*k for i i...
20.5
55
0.452439
130
820
2.853846
0.2
0.059299
0.113208
0.207547
0.477089
0.393531
0.393531
0.350404
0.291105
0.134771
0
0.044402
0.368293
820
39
56
21.025641
0.671815
0.010976
0
0.259259
0
0
0.002597
0
0
0
0
0
0
1
0.037037
false
0
0
0
0.037037
0.111111
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2b682e0dcc50ac9dca2be35fefa089b6c34ff322
798
py
Python
src/services/utils/rsa_key_to_jwk.py
its-dirg/oidc-fed
7be273957a89ec9cec281870cbc35acb659c5b20
[ "Apache-2.0" ]
3
2016-01-19T19:41:19.000Z
2016-11-23T13:42:06.000Z
src/services/utils/rsa_key_to_jwk.py
its-dirg/oidc-fed
7be273957a89ec9cec281870cbc35acb659c5b20
[ "Apache-2.0" ]
null
null
null
src/services/utils/rsa_key_to_jwk.py
its-dirg/oidc-fed
7be273957a89ec9cec281870cbc35acb659c5b20
[ "Apache-2.0" ]
null
null
null
#! /usr/bin/env python3 from argparse import ArgumentParser from jwkest.jwk import RSAKey, import_rsa_key_from_file from oic import rndstr from oidc_fed.util import write_private_key_to_jwk, write_key_to_jwk if __name__ == "__main__": parser = ArgumentParser() parser.add_argument("hostname") parser.add_...
38
112
0.729323
114
798
4.77193
0.447368
0.036765
0.058824
0.058824
0.308824
0.084559
0
0
0
0
0
0.005839
0.141604
798
20
113
39.9
0.788321
0.027569
0
0
0
0
0.126452
0
0
0
0
0
0
1
0
false
0
0.357143
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
2b6c7237fa9a38e57467338c82e8ab717aefaf34
2,383
py
Python
tests/units/modules/test_kubevirt_vm_status.py
masayag/ansible-kubevirt-modules
c6dde1bd20bee9136fc9be0107c79f3e5a5f4ada
[ "Apache-2.0" ]
1
2018-12-24T09:07:43.000Z
2018-12-24T09:07:43.000Z
tests/units/modules/test_kubevirt_vm_status.py
masayag/ansible-kubevirt-modules
c6dde1bd20bee9136fc9be0107c79f3e5a5f4ada
[ "Apache-2.0" ]
null
null
null
tests/units/modules/test_kubevirt_vm_status.py
masayag/ansible-kubevirt-modules
c6dde1bd20bee9136fc9be0107c79f3e5a5f4ada
[ "Apache-2.0" ]
null
null
null
import json import sys import pytest from ansible.compat.tests.mock import patch from ansible.module_utils import basic from ansible.module_utils._text import to_bytes # FIXME: paths/imports should be fixed before submitting a PR to Ansible sys.path.append('lib/ansible/modules/cloud/kubevirt') import kubevirt_vm_sta...
35.044118
79
0.718003
293
2,383
5.604096
0.358362
0.034105
0.076736
0.090134
0.445189
0.427527
0.427527
0.427527
0.427527
0.427527
0
0.002558
0.179606
2,383
67
80
35.567164
0.83734
0.062107
0
0.313725
0
0
0.205393
0.154607
0
0
0
0.014925
0.058824
1
0.098039
false
0.019608
0.137255
0
0.27451
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
2b70cc37176d4ff82b56496b3bb0b59777850b06
1,317
py
Python
p2/core/migrations/0022_auto_20190604_1725.py
BeryJu/p2
80b5c6a821f90cef73d6e8cd3c6cdb05ffa86b27
[ "MIT" ]
null
null
null
p2/core/migrations/0022_auto_20190604_1725.py
BeryJu/p2
80b5c6a821f90cef73d6e8cd3c6cdb05ffa86b27
[ "MIT" ]
null
null
null
p2/core/migrations/0022_auto_20190604_1725.py
BeryJu/p2
80b5c6a821f90cef73d6e8cd3c6cdb05ffa86b27
[ "MIT" ]
null
null
null
# Generated by Django 2.2.1 on 2019-06-04 17:25 from django.db import migrations, models import p2.core.validators class Migration(migrations.Migration): dependencies = [ ('p2_core', '0021_auto_20190517_1647'), ] operations = [ migrations.AlterField( model_name='blob', ...
42.483871
369
0.686409
118
1,317
7.559322
0.474576
0.026906
0.084081
0.097534
0.105381
0.105381
0.105381
0.105381
0
0
0
0.040854
0.182232
1,317
30
370
43.9
0.787372
0.034169
0
0.347826
1
0
0.446457
0.359843
0
0
0
0
0
1
0
false
0
0.086957
0
0.217391
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2b73520f6d9b5c53da710ad7256889ffc791f69c
2,627
py
Python
tests/test_logit.py
wbbradley/logit
97dcff8b1e730d4df31b496d69b350999a2e05d3
[ "CC0-1.0" ]
null
null
null
tests/test_logit.py
wbbradley/logit
97dcff8b1e730d4df31b496d69b350999a2e05d3
[ "CC0-1.0" ]
null
null
null
tests/test_logit.py
wbbradley/logit
97dcff8b1e730d4df31b496d69b350999a2e05d3
[ "CC0-1.0" ]
null
null
null
import cStringIO import tempfile import mock from attrdict import AttrDict from logit.main import get_arg_parser, main from logit.crypt import get_secret_key, encrypt_json, decrypt_json def test_get_arg_parser(): """Test get arg parser.""" get_arg_parser() @mock.patch('logit.main.get_console_input') @mock...
30.195402
118
0.644081
354
2,627
4.59887
0.330508
0.071867
0.036855
0.054054
0.406634
0.313268
0.313268
0.313268
0.313268
0.313268
0
0.06174
0.216978
2,627
86
119
30.546512
0.729703
0.049867
0
0.333333
0
0.045455
0.234603
0.166532
0
0
0
0
0.106061
1
0.075758
false
0.121212
0.090909
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
99140dc5ada574c50a6593e547dcee3d99a877a7
360
py
Python
angr/procedures/java_lang/math.py
Kyle-Kyle/angr
345b2131a7a67e3a6ffc7d9fd475146a3e12f837
[ "BSD-2-Clause" ]
6,132
2015-08-06T23:24:47.000Z
2022-03-31T21:49:34.000Z
angr/procedures/java_lang/math.py
Kyle-Kyle/angr
345b2131a7a67e3a6ffc7d9fd475146a3e12f837
[ "BSD-2-Clause" ]
2,272
2015-08-10T08:40:07.000Z
2022-03-31T23:46:44.000Z
angr/procedures/java_lang/math.py
Kyle-Kyle/angr
345b2131a7a67e3a6ffc7d9fd475146a3e12f837
[ "BSD-2-Clause" ]
1,155
2015-08-06T23:37:39.000Z
2022-03-31T05:54:11.000Z
import claripy import logging from ..java import JavaSimProcedure log = logging.getLogger(name=__name__) class Random(JavaSimProcedure): __provides__ = ( ('java.lang.Math', 'random'), ) def run(self): log.debug('Called SimProcedure java.lang.Math.random with args') return clarip...
21.176471
72
0.691667
42
360
5.690476
0.666667
0.066946
0.100418
0.150628
0
0
0
0
0
0
0
0
0.194444
360
16
73
22.5
0.824138
0
0
0
0
0
0.219444
0.058333
0
0
0
0
0
1
0.090909
false
0
0.272727
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
991b66a79e8a75a7529bdc08213b2d0422fc5350
6,598
py
Python
pycherwell/models/section_field.py
greenpau/pycherwell
2a25446d5cf86d69e6158067faf27ce250aba966
[ "Apache-2.0" ]
2
2020-04-09T16:41:25.000Z
2020-08-25T21:07:53.000Z
pycherwell/models/section_field.py
greenpau/pycherwell
2a25446d5cf86d69e6158067faf27ce250aba966
[ "Apache-2.0" ]
15
2020-02-12T14:57:30.000Z
2020-11-27T23:34:15.000Z
pycherwell/models/section_field.py
greenpau/pycherwell
2a25446d5cf86d69e6158067faf27ce250aba966
[ "Apache-2.0" ]
2
2020-02-12T14:57:38.000Z
2021-07-30T11:32:28.000Z
# coding: utf-8 """ Cherwell REST API Unofficial Python Cherwell REST API library. # noqa: E501 The version of the OpenAPI document: 9.3.2 Contact: See AUTHORS. Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from pycherwell.configuration imp...
26.18254
157
0.573052
755
6,598
4.872848
0.15894
0.039141
0.117423
0.107638
0.388149
0.324273
0.303615
0.169068
0.094047
0.047295
0
0.016542
0.331161
6,598
251
158
26.286853
0.817131
0.31555
0
0.089286
1
0
0.049318
0
0
0
0
0
0
1
0.160714
false
0
0.035714
0
0.339286
0.017857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
99267bd9ac180f84f2a46d8243bfde7f8c870cf7
3,422
py
Python
pygluu/kubernetes/postgres.py
WaqasAhmedLatif/cloud-native-edition
1e6002f27ea971c153df59373e30d4506e9932dc
[ "Apache-2.0" ]
23
2020-04-18T14:51:41.000Z
2022-03-31T19:59:40.000Z
pygluu/kubernetes/postgres.py
WaqasAhmedLatif/cloud-native-edition
1e6002f27ea971c153df59373e30d4506e9932dc
[ "Apache-2.0" ]
236
2020-04-22T08:59:27.000Z
2022-03-31T07:21:12.000Z
pygluu/kubernetes/postgres.py
WaqasAhmedLatif/cloud-native-edition
1e6002f27ea971c153df59373e30d4506e9932dc
[ "Apache-2.0" ]
23
2020-04-19T15:25:59.000Z
2022-03-16T17:17:36.000Z
""" pygluu.kubernetes.postgres ~~~~~~~~~~~~~~~~~~~~~~~~~~ License terms and conditions for Gluu Cloud Native Edition: https://www.apache.org/licenses/LICENSE-2.0 Handles Postgres operations """ from pygluu.kubernetes.helpers import get_logger, exec_cmd from pygluu.kubernetes.kubeapi import Kubernetes from pygluu....
52.646154
117
0.542957
309
3,422
5.831715
0.275081
0.133185
0.158158
0.084351
0.538846
0.481687
0.441176
0.392342
0.339068
0.299667
0
0.002185
0.331385
3,422
64
118
53.46875
0.785402
0.055523
0
0.291667
0
0
0.312965
0.10794
0
0
0
0
0
1
0.0625
false
0.083333
0.0625
0
0.145833
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
992cb7733bef125104b89301a157784a8f392eb2
1,677
py
Python
tests/unit/project/libs/user/application/test_password_forget_service.py
ticdenis/python-skeleton
cb1dc68fa4453709545af4072775aeb373d20df8
[ "MIT" ]
2
2020-08-14T21:01:22.000Z
2021-02-03T12:04:39.000Z
tests/unit/project/libs/user/application/test_password_forget_service.py
ticdenis/python-skeleton
cb1dc68fa4453709545af4072775aeb373d20df8
[ "MIT" ]
null
null
null
tests/unit/project/libs/user/application/test_password_forget_service.py
ticdenis/python-skeleton
cb1dc68fa4453709545af4072775aeb373d20df8
[ "MIT" ]
1
2022-01-10T16:03:59.000Z
2022-01-10T16:03:59.000Z
from typing import final from unittest.mock import Mock import pytest from aioddd.testing import mock from project.libs.user.application.password_forget_service import ( UserPasswordForgetService, ) from project.libs.user.domain.repositories import UserNotifier, UserRepository from tests.unit.project.libs.user.do...
39
99
0.768634
198
1,677
6.131313
0.313131
0.072488
0.098847
0.108731
0.268534
0.243822
0.192751
0.07743
0
0
0
0.004228
0.153846
1,677
42
100
39.928571
0.851304
0
0
0
0
0
0.052475
0.017889
0
0
0
0
0.090909
1
0.030303
false
0.363636
0.242424
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
992ddf01dad6535bf2ac6a07d23c7afdf0b6b5ac
6,777
py
Python
sdk/python/pulumi_aws_native/servicediscovery/instance.py
pulumi/pulumi-aws-native
1ae4a4d9c2256b2a79ca536f8d8497b28d10e4c3
[ "Apache-2.0" ]
29
2021-09-30T19:32:07.000Z
2022-03-22T21:06:08.000Z
sdk/python/pulumi_aws_native/servicediscovery/instance.py
pulumi/pulumi-aws-native
1ae4a4d9c2256b2a79ca536f8d8497b28d10e4c3
[ "Apache-2.0" ]
232
2021-09-30T19:26:26.000Z
2022-03-31T23:22:06.000Z
sdk/python/pulumi_aws_native/servicediscovery/instance.py
pulumi/pulumi-aws-native
1ae4a4d9c2256b2a79ca536f8d8497b28d10e4c3
[ "Apache-2.0" ]
4
2021-11-10T19:42:01.000Z
2022-02-05T10:15:49.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __a...
41.323171
186
0.653091
768
6,777
5.446615
0.179688
0.073153
0.040163
0.036816
0.568252
0.47693
0.46163
0.38011
0.344729
0.273488
0
0.000197
0.251586
6,777
163
187
41.576687
0.824527
0.146968
0
0.362832
1
0.026549
0.18475
0.010155
0
0
0
0
0
1
0.132743
false
0.00885
0.044248
0.053097
0.256637
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9938d918011113c87124249147a2d55af4319cd2
1,465
py
Python
klimaat_helpdesk/cms/migrations/0011_auto_20200803_1507.py
Arfor/website
d67b19e9be5a33f58f607962e665389b7695cccc
[ "MIT" ]
5
2020-10-22T07:02:11.000Z
2020-11-02T10:24:43.000Z
klimaat_helpdesk/cms/migrations/0011_auto_20200803_1507.py
Arfor/website
d67b19e9be5a33f58f607962e665389b7695cccc
[ "MIT" ]
71
2020-10-21T18:11:10.000Z
2022-02-09T14:11:18.000Z
klimaat_helpdesk/cms/migrations/0011_auto_20200803_1507.py
Arfor/website
d67b19e9be5a33f58f607962e665389b7695cccc
[ "MIT" ]
5
2020-10-21T17:51:47.000Z
2021-03-21T16:33:17.000Z
# Generated by Django 3.0.5 on 2020-08-03 15:07 from django.db import migrations, models import klimaat_helpdesk.cms.blocks import wagtail.core.blocks import wagtail.core.fields class Migration(migrations.Migration): dependencies = [ ('cms', '0010_categoryanswerrelationship'), ] operations = [ ...
39.594595
314
0.644369
149
1,465
6.248322
0.442953
0.129968
0.146079
0.081633
0.234157
0.163265
0
0
0
0
0
0.021515
0.206826
1,465
36
315
40.694444
0.77969
0.030717
0
0.4
1
0
0.12835
0.021862
0
0
0
0
0
1
0
false
0
0.133333
0
0.233333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9939b2f449ad6c580c0471f4d517b6daee730bac
415
py
Python
custom_components/ping_socket/model.py
gtjamesa/hacs-ping-socket
f6573085c93b08227b2c9146589cdf52ee07208b
[ "Apache-2.0" ]
null
null
null
custom_components/ping_socket/model.py
gtjamesa/hacs-ping-socket
f6573085c93b08227b2c9146589cdf52ee07208b
[ "Apache-2.0" ]
null
null
null
custom_components/ping_socket/model.py
gtjamesa/hacs-ping-socket
f6573085c93b08227b2c9146589cdf52ee07208b
[ "Apache-2.0" ]
null
null
null
"""Models for Ping Socket platform.""" from __future__ import annotations from typing import TypedDict from homeassistant.helpers.template import Template class PingSocketSensorConfig(TypedDict): """TypedDict for PingSocketSensor config.""" name: str host: str port: str timeout: int payload...
20.75
51
0.720482
48
415
6.083333
0.625
0.047945
0
0
0
0
0
0
0
0
0
0
0.207229
415
19
52
21.842105
0.887538
0.171084
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
994265d708b917d735f3e601041c2ca08012e144
7,022
py
Python
src/python/gem5/components/memory/dram_interfaces/hbm.py
hyu-iot/gem5
aeccc8bd8e9a86f96fc7a6f40d978f8494337fc5
[ "BSD-3-Clause" ]
765
2015-01-14T16:17:04.000Z
2022-03-28T07:46:28.000Z
src/python/gem5/components/memory/dram_interfaces/hbm.py
hyu-iot/gem5
aeccc8bd8e9a86f96fc7a6f40d978f8494337fc5
[ "BSD-3-Clause" ]
148
2018-07-20T00:58:36.000Z
2021-11-16T01:52:33.000Z
src/python/gem5/components/memory/dram_interfaces/hbm.py
hyu-iot/gem5
aeccc8bd8e9a86f96fc7a6f40d978f8494337fc5
[ "BSD-3-Clause" ]
807
2015-01-06T09:55:38.000Z
2022-03-30T10:23:36.000Z
# Copyright (c) 2012-2021 Arm Limited # All rights reserved. # # The license below extends only to copyright in the software and shall # not be construed as granting a license to any other intellectual # property including but not limited to intellectual property relating # to a hardware implementation of the functiona...
35.64467
79
0.721874
1,044
7,022
4.814176
0.369732
0.020692
0.007163
0.013132
0.175885
0.12893
0.122165
0.110227
0.097493
0.066057
0
0.04553
0.227428
7,022
196
80
35.826531
0.880922
0.799487
0
0.1
0
0
0.093489
0
0
0
0
0
0
1
0
false
0
0.025
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
9946d28c6f11eadb2f0d488d601209e95eec15cf
18,232
py
Python
tests/unit/test_read_ahead_cursor.py
simonz-bq/amazon-qldb-driver-python
06c8146be0819e49d4b2ef22706ccd57e9990e03
[ "Apache-2.0" ]
39
2019-10-30T09:01:54.000Z
2022-02-06T18:30:27.000Z
tests/unit/test_read_ahead_cursor.py
simonz-bq/amazon-qldb-driver-python
06c8146be0819e49d4b2ef22706ccd57e9990e03
[ "Apache-2.0" ]
30
2020-03-05T23:52:57.000Z
2022-03-24T16:04:06.000Z
tests/unit/test_read_ahead_cursor.py
byronlin13/amazon-qldb-driver-python
2f6fb7864cd49fdf0c34cec9764d399e9b9c72c4
[ "Apache-2.0" ]
28
2019-12-09T17:21:59.000Z
2022-01-25T11:57:51.000Z
# Copyright 2019 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at # # http://www.apache.org/licenses/LICENSE-2.0 # # or in the "license" file...
53.781711
120
0.721369
2,204
18,232
5.509528
0.092559
0.091905
0.125999
0.047435
0.767109
0.725686
0.659722
0.601993
0.574487
0.558758
0
0.005427
0.201569
18,232
338
121
53.940828
0.828742
0.044153
0
0.524164
0
0
0.137844
0.116478
0
0
0
0
0.208178
1
0.078067
false
0
0.033457
0
0.122677
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
99499bf828e2f984b7709bf04b28aafa77fa10fd
5,649
py
Python
Utils/repeated_timer.py
schmouk/PythonOpenSourceProject
3ca3af15672942888560fa4edf7aef3d44e90b57
[ "MIT" ]
null
null
null
Utils/repeated_timer.py
schmouk/PythonOpenSourceProject
3ca3af15672942888560fa4edf7aef3d44e90b57
[ "MIT" ]
35
2020-08-07T09:11:23.000Z
2021-09-12T11:10:04.000Z
Utils/repeated_timer.py
schmouk/PythonOpenSourceProject
3ca3af15672942888560fa4edf7aef3d44e90b57
[ "MIT" ]
null
null
null
""" Copyright (c) 2020 Philippe Schmouker Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish...
40.06383
96
0.552133
642
5,649
4.820872
0.4081
0.020355
0.014216
0.010339
0.063974
0.063974
0.063974
0.063974
0.063974
0.063974
0
0.001487
0.285537
5,649
140
97
40.35
0.765362
0.750221
0
0
0
0
0
0
0
0
0
0
0.041667
1
0.208333
false
0
0.125
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
994dd444ad53259ecaaf7c341ddbb86dfd9de54c
363
py
Python
setup.py
wew84/cnn_bridge
7cd98e204922174ea9293d8c52c30d00733a7ed2
[ "BSD-3-Clause" ]
4
2019-05-16T01:30:24.000Z
2021-04-13T13:55:44.000Z
setup.py
wew84/cnn_bridge
7cd98e204922174ea9293d8c52c30d00733a7ed2
[ "BSD-3-Clause" ]
2
2020-01-23T23:39:45.000Z
2021-12-17T02:32:11.000Z
setup.py
wew84/cnn_bridge
7cd98e204922174ea9293d8c52c30d00733a7ed2
[ "BSD-3-Clause" ]
null
null
null
## ! DO NOT MANUALLY INVOKE THIS setup.py, USE CATKIN INSTEAD from distutils.core import setup from catkin_pkg.python_setup import generate_distutils_setup # fetch values from package.xml setup_args = generate_distutils_setup( requires=['tensorflow', 'numpy', 'opencv'], packages=['cnn_bridge_main'], packa...
25.928571
61
0.743802
48
363
5.395833
0.666667
0.131274
0.169884
0
0
0
0
0
0
0
0
0
0.137741
363
13
62
27.923077
0.827476
0.242424
0
0
1
0
0.143911
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
99511d438332d3bcdc261ac0609cfadb3d8b5557
2,751
gyp
Python
binding.gyp
Cinegy/CinecoderNodeJs
9f9e932072b5b19ef786eb5bb2ee22381c6fed34
[ "Apache-2.0" ]
3
2019-02-07T15:42:49.000Z
2019-12-07T22:17:50.000Z
binding.gyp
Cinegy/CinecoderNodeJs
9f9e932072b5b19ef786eb5bb2ee22381c6fed34
[ "Apache-2.0" ]
3
2017-01-13T19:58:04.000Z
2021-08-31T21:28:10.000Z
binding.gyp
Cinegy/CinecoderNodeJs
9f9e932072b5b19ef786eb5bb2ee22381c6fed34
[ "Apache-2.0" ]
5
2017-01-13T17:09:56.000Z
2019-12-07T22:17:53.000Z
# Copyright 2016 Streampunk Media Ltd. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
31.62069
83
0.479826
240
2,751
5.429167
0.558333
0.046048
0.092095
0.103607
0.27782
0.18726
0.18726
0.075211
0.075211
0
0
0.020349
0.374773
2,751
86
84
31.988372
0.737209
0.211559
0
0.183099
0
0
0.45311
0.231198
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
9953d0571911118b84e22efc8fdf8aadef38a916
1,373
py
Python
server/models.py
kenny-skaggs/lists
c9a46c184b8ce664c4c58c10b08a1dc7b60d1a5d
[ "Unlicense" ]
null
null
null
server/models.py
kenny-skaggs/lists
c9a46c184b8ce664c4c58c10b08a1dc7b60d1a5d
[ "Unlicense" ]
null
null
null
server/models.py
kenny-skaggs/lists
c9a46c184b8ce664c4c58c10b08a1dc7b60d1a5d
[ "Unlicense" ]
null
null
null
from datetime import datetime import sqlalchemy as sa from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import relationship BaseModel = declarative_base() class Item(BaseModel): __tablename__ = 'items' id = sa.Column(sa.Integer, primary_key=True) name = sa.Column(sa.String(300)...
32.690476
101
0.739257
176
1,373
5.568182
0.255682
0.089796
0.112245
0.085714
0.386735
0.341837
0.333673
0.302041
0.268367
0.218367
0
0.005085
0.140568
1,373
41
102
33.487805
0.825424
0
0
0.214286
0
0
0.075802
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.964286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
995fa5032672d255714e214da117b6d2228beb50
596
py
Python
django/settings/wsgi.py
radifar/django-vue-graphql-demo
bae75dacf79b5da47a49b02a275a5795cdc5b1de
[ "MIT" ]
null
null
null
django/settings/wsgi.py
radifar/django-vue-graphql-demo
bae75dacf79b5da47a49b02a275a5795cdc5b1de
[ "MIT" ]
4
2021-03-19T10:42:08.000Z
2021-06-10T20:11:15.000Z
django/settings/wsgi.py
radifar/django-vue-graphql-demo
bae75dacf79b5da47a49b02a275a5795cdc5b1de
[ "MIT" ]
null
null
null
""" WSGI config for django_vue project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from dotenv import load_dotenv PROJECT_DIR = os.path.dirname(os.path.dirname(os.path...
28.380952
78
0.791946
89
596
5.11236
0.550562
0.065934
0.057143
0.065934
0.07033
0
0
0
0
0
0
0.003697
0.092282
596
20
79
29.8
0.837338
0.362416
0
0
0
0
0.115591
0.05914
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
996441264a0388e222c0662b66693e392b112c8f
5,368
py
Python
yardstick/network_services/vnf_generic/vnf/iniparser.py
mythwm/yardstick-wm
319ced11df92456b42c80cfd6e53c66dbd22a746
[ "Apache-2.0" ]
1
2019-12-08T21:57:31.000Z
2019-12-08T21:57:31.000Z
yardstick/network_services/vnf_generic/vnf/iniparser.py
mythwm/yardstick-wm
319ced11df92456b42c80cfd6e53c66dbd22a746
[ "Apache-2.0" ]
null
null
null
yardstick/network_services/vnf_generic/vnf/iniparser.py
mythwm/yardstick-wm
319ced11df92456b42c80cfd6e53c66dbd22a746
[ "Apache-2.0" ]
null
null
null
# Copyright 2012 OpenStack Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
30.157303
79
0.600037
657
5,368
4.74277
0.234399
0.05905
0.026958
0.036585
0.204108
0.117779
0.049422
0.026316
0.026316
0
0
0.006307
0.29117
5,368
177
80
30.327684
0.812615
0.179396
0
0.17757
0
0
0.04717
0
0
0
0
0
0
1
0.205607
false
0.009346
0
0.009346
0.383178
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
99659d8149cb29fabf4d67b97757ba247c6d49a2
1,767
py
Python
tests/tests/test_settings.py
washwash/django-rest-tfa
b1b77a2220824297a471b0cfa4529e1d6fba7dfe
[ "MIT" ]
1
2019-10-11T15:25:52.000Z
2019-10-11T15:25:52.000Z
tests/tests/test_settings.py
washwash/django-rest-tfa
b1b77a2220824297a471b0cfa4529e1d6fba7dfe
[ "MIT" ]
null
null
null
tests/tests/test_settings.py
washwash/django-rest-tfa
b1b77a2220824297a471b0cfa4529e1d6fba7dfe
[ "MIT" ]
null
null
null
import mock from datetime import datetime, timedelta from django.test import override_settings from freezegun import freeze_time from django.urls import reverse from rest_framework import status from tests.tests.test_api import get_token_from_email @mock.patch('django.core.mail.outbox', new_callable=list) @override_s...
34.647059
84
0.697793
225
1,767
5.186667
0.297778
0.08569
0.137104
0.102828
0.66838
0.66838
0.613539
0.613539
0.613539
0.613539
0
0.011708
0.178268
1,767
50
85
35.34
0.792011
0
0
0.511628
0
0
0.142615
0.026033
0
0
0
0
0.069767
1
0.046512
false
0.046512
0.162791
0
0.209302
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9965fa5ba34897ab740dab94e3003731240a9286
3,131
py
Python
zorin/report.py
warnerpr/zorin
7f41029a229fd0589460a76514afd42122e92aed
[ "MIT" ]
1
2015-07-14T11:57:27.000Z
2015-07-14T11:57:27.000Z
zorin/report.py
warnerpr/zorin
7f41029a229fd0589460a76514afd42122e92aed
[ "MIT" ]
null
null
null
zorin/report.py
warnerpr/zorin
7f41029a229fd0589460a76514afd42122e92aed
[ "MIT" ]
null
null
null
import sys import json from sqlalchemy.orm import sessionmaker from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.exc import IntegrityError from sqlalchemy import Column, Integer, String, Table, PrimaryKeyConstraint, create_engine # engine = create_engine('sqlite:////tmp/zorin.db') engine = crea...
30.105769
111
0.595018
377
3,131
4.763926
0.267905
0.066815
0.038976
0.020045
0.106904
0.085746
0.085746
0.057906
0.057906
0.057906
0
0.000886
0.279144
3,131
103
112
30.398058
0.79486
0.01565
0
0.102564
0
0
0.07987
0.028247
0
0
0
0
0
0
null
null
0.012821
0.076923
null
null
0.012821
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
996e5d48a68547f594689c85765b9e52520f471a
652
py
Python
getmode.py
NeraOS/Simulation-Python
a75cd01d9dcf61caa5f1f4471194d44d841095df
[ "MIT" ]
1
2020-12-02T10:20:40.000Z
2020-12-02T10:20:40.000Z
getmode.py
NeraOS/Simulation-Python
a75cd01d9dcf61caa5f1f4471194d44d841095df
[ "MIT" ]
null
null
null
getmode.py
NeraOS/Simulation-Python
a75cd01d9dcf61caa5f1f4471194d44d841095df
[ "MIT" ]
null
null
null
"""Выбор режима""" print (""" Выберите режим загрузки: 1 - Стандартная загрузка с поддержкой сетевых драйверов 2 - Безопасный режим с записью действий в log 9 - Остановить загрузку Введите ТОЛЬКО цифру """) def wr(mode): f = open('config.ini','w') # открытие в режиме записи f.write(str(mode)) # за...
25.076923
65
0.642638
90
652
4.655556
0.522222
0.136038
0.143198
0.214797
0.534606
0.534606
0.424821
0.257757
0.257757
0
0
0.018145
0.239264
652
25
66
26.08
0.826613
0.090491
0
0.173913
0
0
0.588235
0
0
0
0
0
0
1
0.043478
false
0
0
0
0.043478
0.173913
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
996e8e0ab897144a54ed75e7fe50985334a44f7b
150
py
Python
competitive/AtCoder/ABC144/B.py
pn11/benkyokai
9ebdc46b529e76b7196add26dbc1e62ad48e72b0
[ "MIT" ]
null
null
null
competitive/AtCoder/ABC144/B.py
pn11/benkyokai
9ebdc46b529e76b7196add26dbc1e62ad48e72b0
[ "MIT" ]
22
2020-03-24T16:24:47.000Z
2022-02-26T15:51:18.000Z
competitive/AtCoder/ABC144/B.py
pn11/benkyokai
9ebdc46b529e76b7196add26dbc1e62ad48e72b0
[ "MIT" ]
null
null
null
N = int(input()) ans = 'No' for i in range(1, 10): if N % i == 0: res = N // i if res < 10: ans = 'Yes' print(ans)
12.5
23
0.393333
25
150
2.36
0.64
0.067797
0
0
0
0
0
0
0
0
0
0.070588
0.433333
150
11
24
13.636364
0.623529
0
0
0
0
0
0.033557
0
0
0
0
0
0
1
0
false
0
0
0
0
0.125
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
997013f433286a434be0bc62644d89db7ecaf942
346
py
Python
PYTHON/Py3_Mundo1_Fundamental/desafios/des001.py
Marciobroficial/CURSO-EM-VIDEO
37b10c26336a9744236603282af77661fdf8c61a
[ "MIT" ]
1
2021-10-09T18:11:20.000Z
2021-10-09T18:11:20.000Z
PYTHON/Py3_Mundo1_Fundamental/desafios/des001.py
Coppini21/CURSO-EM-VIDEO
37b10c26336a9744236603282af77661fdf8c61a
[ "MIT" ]
1
2021-09-15T04:18:34.000Z
2022-03-02T23:16:26.000Z
PYTHON/Py3_Mundo1_Fundamental/desafios/des001.py
Coppini21/CURSO-EM-VIDEO
37b10c26336a9744236603282af77661fdf8c61a
[ "MIT" ]
3
2021-12-15T17:19:51.000Z
2022-03-29T02:19:00.000Z
# Desafio 01 # Faça um programa Leia um nome de uma pessoa e que mostre uma mensagem de boas-vidas de acordo com o valor digitado. print() print('=-='*15) nome = input ('Qual é sue nome ? ') print ('Ola',nome,'Prazer em te conhecer!') nome = input('Digite seu nome: ') print('É um prazer te conhecer, {}!'.format(nome)...
26.615385
117
0.67052
57
346
4.070175
0.614035
0.116379
0
0
0
0
0
0
0
0
0
0.020833
0.16763
346
13
118
26.615385
0.784722
0.364162
0
0.5
0
0
0.431193
0
0
0
0
0
0
1
0
false
0
0
0
0
0.75
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
997314c831c988ddbd5db113b34ed31937c6e5ec
435
py
Python
parsing/question-extraction.py
hagarwa3/stackoverflow-search
990b339a1b87530894d1068eb99d0b03e6476268
[ "MIT" ]
4
2018-04-20T06:53:01.000Z
2020-02-09T12:08:52.000Z
parsing/question-extraction.py
hagarwa3/stackoverflow-bot
990b339a1b87530894d1068eb99d0b03e6476268
[ "MIT" ]
null
null
null
parsing/question-extraction.py
hagarwa3/stackoverflow-bot
990b339a1b87530894d1068eb99d0b03e6476268
[ "MIT" ]
5
2019-04-10T16:45:21.000Z
2021-12-05T16:32:03.000Z
f = open("C:\Users\Harshit Agarwal\Desktop\stackoverflow.com-Posts\Postsnew.xml", "w") f.write('<?xml version="1.0" encoding="utf-8"?>\n<posts>') i = 0 with open("C:\Users\Harshit Agarwal\Desktop\stackoverflow.com-Posts\Posts.xml") as fileobject: for line in fileobject: i +=1 if 'PostTypeId="1"' in ...
36.25
94
0.602299
65
435
4.030769
0.507692
0.068702
0.076336
0.129771
0.396947
0.396947
0.396947
0.396947
0.396947
0
0
0.038123
0.216092
435
12
95
36.25
0.730205
0
0
0
0
0
0.470183
0.293578
0
0
0
0
0
0
null
null
0
0
null
null
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9976fff4f6af74e77c73639f170ea7b55694e3d1
6,611
py
Python
src/pybel/struct/filters/edge_predicates.py
tehw0lf/pybel
6f67f8cce15052cc3c42ef87374e3b9ee45e6519
[ "Apache-2.0" ]
null
null
null
src/pybel/struct/filters/edge_predicates.py
tehw0lf/pybel
6f67f8cce15052cc3c42ef87374e3b9ee45e6519
[ "Apache-2.0" ]
null
null
null
src/pybel/struct/filters/edge_predicates.py
tehw0lf/pybel
6f67f8cce15052cc3c42ef87374e3b9ee45e6519
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """Predicates for edge data from BEL graphs.""" from functools import wraps from .utils import part_has_modifier from ..graph import BELGraph from ...constants import ( ACTIVITY, ANNOTATIONS, ASSOCIATION, CAUSAL_RELATIONS, CITATION, CITATION_AUTHORS, CITATION_TYPE, CITATION_TYPE_PUBME...
29.382222
117
0.697776
921
6,611
4.896851
0.169381
0.038803
0.031929
0.031042
0.371175
0.34612
0.278492
0.256984
0.239246
0.222395
0
0.001356
0.218878
6,611
224
118
29.513393
0.871998
0.535774
0
0.126582
0
0
0.09101
0.026003
0
0
0
0
0
1
0.202532
false
0
0.063291
0
0.481013
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
9977007f75c563a21f518b2163f15a2318a36887
1,001
py
Python
tests/ComponentTests/neck_build.py
FabricExile/Kraken
d8c1f5189cb191945e2c18a1369c458d05305afc
[ "BSD-3-Clause" ]
7
2017-12-04T16:57:42.000Z
2021-09-07T07:02:38.000Z
tests/ComponentTests/neck_build.py
xtvjxk123456/Kraken
d8c1f5189cb191945e2c18a1369c458d05305afc
[ "BSD-3-Clause" ]
null
null
null
tests/ComponentTests/neck_build.py
xtvjxk123456/Kraken
d8c1f5189cb191945e2c18a1369c458d05305afc
[ "BSD-3-Clause" ]
6
2017-11-14T06:50:48.000Z
2021-08-21T22:47:29.000Z
from kraken import plugins from kraken.core.maths import Vec3 from kraken_examples.neck_component import NeckComponentGuide, NeckComponentRig from kraken.core.profiler import Profiler from kraken.helpers.utility_methods import logHierarchy Profiler.getInstance().push("neck_build") neckGuide = NeckComponentGuide("n...
25.025
79
0.67033
106
1,001
6.216981
0.509434
0.075873
0.027314
0
0
0
0
0
0
0
0
0.044473
0.213786
1,001
39
80
25.666667
0.792884
0.040959
0
0
0
0
0.082463
0
0
0
0
0
0
0
null
null
0
0.2
null
null
0.04
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9978c4d313a84a9361e210c9564192dbd9f01882
1,354
py
Python
tests/test_xsw.py
cnelson/pysaml2
a30e51c271e27e4411a0243b65adbf5d7a3abb07
[ "Apache-2.0" ]
null
null
null
tests/test_xsw.py
cnelson/pysaml2
a30e51c271e27e4411a0243b65adbf5d7a3abb07
[ "Apache-2.0" ]
2
2020-01-17T20:13:26.000Z
2020-11-17T23:00:50.000Z
tests/test_xsw.py
cnelson/pysaml2
a30e51c271e27e4411a0243b65adbf5d7a3abb07
[ "Apache-2.0" ]
2
2020-02-24T15:18:18.000Z
2020-07-15T10:49:12.000Z
from datetime import datetime from unittest.mock import Mock from unittest.mock import patch from saml2.config import config_factory from saml2.response import authn_response from saml2.sigver import SignatureError from dateutil import parser from pytest import raises from pathutils import dotname from pathutils im...
30.088889
79
0.711226
188
1,354
4.941489
0.43617
0.071044
0.064586
0.047363
0
0
0
0
0
0
0
0.023679
0.189069
1,354
44
80
30.772727
0.822404
0
0
0
0
0
0.144756
0.068685
0
0
0
0
0.166667
1
0.066667
false
0
0.333333
0
0.433333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
997bef368503e63a63bd868a1dd0b1d4182d8089
752
py
Python
Tool/converter/convert.py
TencentOpen/icaf
d29a43c6ca89562872e044b2104c1bd5a595f1b6
[ "MIT" ]
38
2015-06-12T03:31:06.000Z
2018-08-29T06:49:14.000Z
Tool/converter/convert.py
TencentOpen/icaf
d29a43c6ca89562872e044b2104c1bd5a595f1b6
[ "MIT" ]
1
2016-01-25T01:57:40.000Z
2016-01-25T01:57:40.000Z
Tool/converter/convert.py
TencentOpen/icaf
d29a43c6ca89562872e044b2104c1bd5a595f1b6
[ "MIT" ]
35
2015-06-11T15:11:23.000Z
2020-04-05T01:26:11.000Z
import os import re def writeLine(fs, line): print "write: %s"%line fs.write(line) def fixFile(filePath): fs = open(filePath, "r") lines = fs.readlines() fs.close() fs = open(filePath, "w") for line in lines: result = re.search(r"(?<=\[NSThread\ssleepForTimeInterval:).*(?=\])", line) if not result: wri...
20.324324
77
0.62766
100
752
4.72
0.43
0.09322
0.095339
0.097458
0
0
0
0
0
0
0
0.003226
0.175532
752
36
78
20.888889
0.758065
0
0
0.214286
0
0
0.115691
0.06117
0
0
0
0
0
0
null
null
0
0.071429
null
null
0.035714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
99870a0387d9be5139c471e0259b81bcbfb1dce0
1,169
py
Python
scriptwakeup.py
mekhala1808-cmis/mekhala1808-cmis-cs2
9ec83d8a1f38dbfaebc03cea76ce39483b71c828
[ "CC0-1.0" ]
null
null
null
scriptwakeup.py
mekhala1808-cmis/mekhala1808-cmis-cs2
9ec83d8a1f38dbfaebc03cea76ce39483b71c828
[ "CC0-1.0" ]
null
null
null
scriptwakeup.py
mekhala1808-cmis/mekhala1808-cmis-cs2
9ec83d8a1f38dbfaebc03cea76ce39483b71c828
[ "CC0-1.0" ]
null
null
null
def wakeup(): print "This program will ask you for 5 integer or float values." + "\n" + "It will calculate the average of all values from 0 inclusive to 10 exclusive." + "\n" + "It will print out whether the resulting average is even or odd." def numbers(): n1 = float(raw_input("n0: ")) n2 = float(raw_i...
27.186047
232
0.588537
185
1,169
3.691892
0.308108
0.058565
0.095168
0.051245
0.191801
0.10981
0
0
0
0
0
0.057471
0.255774
1,169
42
233
27.833333
0.727586
0
0
0
0
0
0.326199
0
0
0
0
0
0
0
null
null
0
0
null
null
0.181818
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9988fe53a17ec55168391346f0d02850a22177c1
8,800
py
Python
meiduo_mall/meiduo_mall/apps/users/views.py
Zasling/meiduo_mall33
ec55597758d5052b311d65aee44533b001f6ddd8
[ "MIT" ]
1
2019-04-12T08:56:29.000Z
2019-04-12T08:56:29.000Z
meiduo_mall/meiduo_mall/apps/users/views.py
Zasling/meiduo_mall33
ec55597758d5052b311d65aee44533b001f6ddd8
[ "MIT" ]
null
null
null
meiduo_mall/meiduo_mall/apps/users/views.py
Zasling/meiduo_mall33
ec55597758d5052b311d65aee44533b001f6ddd8
[ "MIT" ]
1
2020-03-30T14:35:22.000Z
2020-03-30T14:35:22.000Z
import re from django.conf import settings from rest_framework.views import APIView from rest_framework.generics import CreateAPIView, RetrieveAPIView, UpdateAPIView from random import randint from django_redis import get_redis_connection from rest_framework.response import Response from rest_framework_jwt.views impor...
30.985915
118
0.622727
947
8,800
5.640971
0.275607
0.039311
0.016848
0.028641
0.235118
0.199176
0.125047
0.115313
0.115313
0.115313
0
0.01305
0.268523
8,800
283
119
31.095406
0.816529
0.119205
0
0.375691
0
0
0.070265
0
0
0
0
0
0
1
0.077348
false
0.060773
0.104972
0.01105
0.436464
0.016575
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
998910807a84d2343e16f6a84638953322f68a97
425
py
Python
socialregistration/contrib/googleapps/urls.py
zapier/django-socialregistration-with-google-apps
65cb2d446d30f8270c6abb866480bad105518e2b
[ "MIT" ]
1
2019-08-14T21:14:03.000Z
2019-08-14T21:14:03.000Z
socialregistration/contrib/googleapps/urls.py
mpdaugherty/django-socialregistration-with-google-apps
988c627995d48a0f861b1156401fe3e5e4c91826
[ "MIT" ]
null
null
null
socialregistration/contrib/googleapps/urls.py
mpdaugherty/django-socialregistration-with-google-apps
988c627995d48a0f861b1156401fe3e5e4c91826
[ "MIT" ]
3
2017-06-22T22:32:03.000Z
2021-09-08T10:01:50.000Z
from django.conf import settings from django.conf.urls.defaults import * from socialregistration.contrib.googleapps.views import GoogleAppsRedirect, \ GoogleAppsSetup, GoogleAppsCallback urlpatterns = patterns('', url('^redirect/$', GoogleAppsRedirect.as_view(), name='redirect'), url('^callback/$', GoogleA...
38.636364
77
0.741176
43
425
7.255814
0.534884
0.057692
0.096154
0
0
0
0
0
0
0
0
0
0.105882
425
10
78
42.5
0.821053
0
0
0
0
0
0.12
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
9993702e8c8bf3d5ffb78c094fcfca64bb634489
633
py
Python
app/migrations/0001_initial.py
bedwards/lyric-tycoon
da90f029c6a7dc5b375603561b8fcba5142ee35d
[ "Apache-2.0" ]
null
null
null
app/migrations/0001_initial.py
bedwards/lyric-tycoon
da90f029c6a7dc5b375603561b8fcba5142ee35d
[ "Apache-2.0" ]
null
null
null
app/migrations/0001_initial.py
bedwards/lyric-tycoon
da90f029c6a7dc5b375603561b8fcba5142ee35d
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.2.4 on 2021-06-26 20:27 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Sentence', fields=[ ('id', models.BigAutoFi...
26.375
117
0.579779
66
633
5.454545
0.666667
0.125
0.066667
0.133333
0
0
0
0
0
0
0
0.055804
0.292259
633
23
118
27.521739
0.747768
0.07109
0
0
1
0
0.051195
0
0
0
0
0
0
1
0
false
0
0.0625
0
0.3125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
999378e5bd86ceff2b4bb0417170acd2a54a5a27
1,571
py
Python
kinko/compat_ast.py
vmagamedov/kinko
b65f8ae97bbf5d056781e90e22d2a369f440ed4c
[ "BSD-3-Clause" ]
5
2015-11-18T20:31:14.000Z
2016-05-05T07:43:21.000Z
kinko/compat_ast.py
vmagamedov/kinko
b65f8ae97bbf5d056781e90e22d2a369f440ed4c
[ "BSD-3-Clause" ]
5
2016-03-17T14:42:30.000Z
2016-06-27T13:31:26.000Z
kinko/compat_ast.py
vmagamedov/kinko
b65f8ae97bbf5d056781e90e22d2a369f440ed4c
[ "BSD-3-Clause" ]
null
null
null
import ast as _ast from .compat import PY3, PY35 If = _ast.If Str = _ast.Str Num = _ast.Num For = _ast.For Expr = _ast.Expr Name = _ast.Name Load = _ast.Load List = _ast.List Index = _ast.Index Store = _ast.Store IfExp = _ast.IfExp IsNot = _ast.IsNot Tuple = _ast.Tuple Module = _ast.Module Assign = _ast.Assign Compa...
23.102941
71
0.665818
211
1,571
4.763033
0.246446
0.089552
0.075622
0.095522
0.354229
0.293532
0.268657
0.268657
0.268657
0.268657
0
0.00491
0.222152
1,571
67
72
23.447761
0.817512
0
0
0.235294
0
0
0
0
0
0
0
0
0
1
0.196078
false
0
0.039216
0.196078
0.431373
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
99960f95359e6723c193ed2ed1eaac33b01b2ae2
1,440
py
Python
bp_eval/bpredict/utils.py
alexf91/gem5-advanced-computer-architecture
01fb031c0cc42410e148a26d0c3d891fb1372381
[ "BSD-3-Clause" ]
1
2020-03-25T09:35:45.000Z
2020-03-25T09:35:45.000Z
bp_eval/bpredict/utils.py
alexf91/gem5-advanced-computer-architecture
01fb031c0cc42410e148a26d0c3d891fb1372381
[ "BSD-3-Clause" ]
null
null
null
bp_eval/bpredict/utils.py
alexf91/gem5-advanced-computer-architecture
01fb031c0cc42410e148a26d0c3d891fb1372381
[ "BSD-3-Clause" ]
null
null
null
# # Copyright 2018 Alexander Fasching # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed ...
31.304348
78
0.688889
201
1,440
4.79602
0.462687
0.093361
0.053942
0.059129
0.186722
0.159751
0.10166
0.10166
0.10166
0.10166
0
0.009778
0.21875
1,440
45
79
32
0.847111
0.445833
0
0.105263
0
0
0.03073
0
0
0
0
0
0.052632
1
0.263158
false
0
0
0
0.473684
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
9999a9338fc19b89e13fa629e1fae030c4729213
824
py
Python
tasks/train-model.py
wmeints/explainable-ai
ebdec372ff3f994c157dc5c47b4a8403e5c7d006
[ "MIT" ]
1
2021-06-15T08:27:06.000Z
2021-06-15T08:27:06.000Z
tasks/train-model.py
wmeints/explainable-ai
ebdec372ff3f994c157dc5c47b4a8403e5c7d006
[ "MIT" ]
null
null
null
tasks/train-model.py
wmeints/explainable-ai
ebdec372ff3f994c157dc5c47b4a8403e5c7d006
[ "MIT" ]
null
null
null
import os from pathlib import Path import joblib import pandas as pd import numpy as np from sklearn.ensemble import RandomForestClassifier from sklearn.model_selection import cross_validate root_folder = Path(os.path.dirname(os.path.dirname(__file__))) training_data = root_folder / 'data' / 'processed' / 'train.csv'...
30.518519
81
0.769417
120
824
5.083333
0.483333
0.04918
0.042623
0
0
0
0
0
0
0
0
0.002717
0.106796
824
27
81
30.518519
0.826087
0
0
0
0
0
0.172121
0.037576
0
0
0
0
0
1
0
false
0
0.35
0
0.35
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
99a671af86b1c2e857176e3f38a594911c18081a
337
py
Python
setup.py
Alexander-Sovetsky/python-image
a8ea11423b453938a8804537b836d919eb8e5b93
[ "MIT" ]
null
null
null
setup.py
Alexander-Sovetsky/python-image
a8ea11423b453938a8804537b836d919eb8e5b93
[ "MIT" ]
null
null
null
setup.py
Alexander-Sovetsky/python-image
a8ea11423b453938a8804537b836d919eb8e5b93
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages with open('README.rst') as f: readme = f.read() with open('LICENSE') as f: license = f.read() setup( name='python-image', version='0.1.0', description='project for OCT', long_description=readme, author='Alexander Sovetsky', license=license, packages=find_packages(exclude=('te...
22.466667
49
0.738872
49
337
5.020408
0.632653
0.097561
0
0
0
0
0
0
0
0
0
0.009836
0.094955
337
14
50
24.071429
0.796721
0
0
0
0
0
0.225519
0
0
0
0
0
0
0
null
null
0
0.071429
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
41d4ddc8906709d7184306ba4ee3569b358c67bc
2,359
py
Python
scripts/oscar_exclusive_data_format.py
codemechanic/oscar-sysex-grammar
88b841ee7d54a859df6de9bfa5c7a4f87bae3afd
[ "MIT" ]
null
null
null
scripts/oscar_exclusive_data_format.py
codemechanic/oscar-sysex-grammar
88b841ee7d54a859df6de9bfa5c7a4f87bae3afd
[ "MIT" ]
null
null
null
scripts/oscar_exclusive_data_format.py
codemechanic/oscar-sysex-grammar
88b841ee7d54a859df6de9bfa5c7a4f87bae3afd
[ "MIT" ]
null
null
null
#!/usr/bin/env python # This script is intended to be run from within the OSCar MIDI Sysex Grammar file # OSCar Exclusive Data Format # # 2 MIDI bytes contain one byte of data # first byte contains low 4 bit nibble # second byte contains high 4 bit nibble # # 0 8 16 # +-+-+-+-+-+-+-+-+ +-...
29.123457
81
0.660449
311
2,359
4.913183
0.360129
0.007853
0.058901
0.04123
0.024869
0
0
0
0
0
0
0.033801
0.184824
2,359
80
82
29.4875
0.76079
0.275964
0
0
0
0
0.183099
0
0
0
0.002449
0
0
0
null
null
0
0
null
null
0.277778
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
41e5c2cff74537381853da7d7af093ed89964ce8
1,080
py
Python
services/test_companies_match.py
devx3/hero-testes-tech-talk
604641f41c18cd9f9f2b59c8c25cf0a2fc6adfcb
[ "MIT" ]
null
null
null
services/test_companies_match.py
devx3/hero-testes-tech-talk
604641f41c18cd9f9f2b59c8c25cf0a2fc6adfcb
[ "MIT" ]
3
2021-09-24T01:23:38.000Z
2021-09-28T22:15:29.000Z
services/test_companies_match.py
devx3/hero-testes-tech-talk
604641f41c18cd9f9f2b59c8c25cf0a2fc6adfcb
[ "MIT" ]
1
2021-09-29T13:18:39.000Z
2021-09-29T13:18:39.000Z
from unittest import mock, TestCase from unittest.mock import Mock from services.companies_match import CompaniesMatch from services.mock import RESPONSE_MOCK class TestCompaniesMatch(TestCase): @mock.patch('services.companies_match.requests.get') def test_if_response_is_ok(self, mock_get): """Retur...
38.571429
85
0.730556
131
1,080
5.748092
0.282443
0.204515
0.086321
0.071713
0.571049
0.571049
0.507304
0.507304
0.507304
0.507304
0
0.001122
0.175
1,080
28
86
38.571429
0.843996
0.061111
0
0.4
0
0
0.095618
0.073705
0
0
0
0
0.2
1
0.1
false
0
0.2
0
0.35
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
41e6ee84a456c6b5415e417d61175deacfc9d081
2,618
py
Python
src/plot_weighted_graph.py
suning-opensource/frustrated-random-walk
7de559c20e96567a61853668f36d786b126ed57f
[ "Apache-2.0" ]
18
2020-12-24T04:26:21.000Z
2022-03-24T07:32:39.000Z
src/plot_weighted_graph.py
kiminh/frustrated-random-walk
7de559c20e96567a61853668f36d786b126ed57f
[ "Apache-2.0" ]
1
2021-05-07T06:47:34.000Z
2021-05-07T06:47:34.000Z
src/plot_weighted_graph.py
kiminh/frustrated-random-walk
7de559c20e96567a61853668f36d786b126ed57f
[ "Apache-2.0" ]
8
2020-10-22T23:51:55.000Z
2021-08-24T06:36:19.000Z
#!/usr/bin/env python """ ============== Weighted Graph ============== An example using Graph as a weighted network. """ # Author: Aric Hagberg (hagberg@lanl.gov) import matplotlib.pyplot as plt import networkx as nx def readEdgeFile(edgeFileName, pageRankFileName): import os assert(os.path.exists(edgeFileNam...
31.542169
151
0.559587
328
2,618
4.332317
0.344512
0.049261
0.022519
0.033779
0.263195
0.194229
0.173118
0.173118
0.130894
0.130894
0
0.017742
0.289534
2,618
82
152
31.926829
0.746237
0.078304
0
0.31746
0
0
0.064586
0.019072
0
0
0
0
0.031746
0
null
null
0
0.079365
null
null
0.015873
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
41ec186af56971b756995a21107e22571cd744ca
1,980
py
Python
src/util/TournamentGenerationSelector.py
athoslag/Evolutiva
408c71d89969f445fe8054666f18492a6ff26fb8
[ "MIT" ]
null
null
null
src/util/TournamentGenerationSelector.py
athoslag/Evolutiva
408c71d89969f445fe8054666f18492a6ff26fb8
[ "MIT" ]
null
null
null
src/util/TournamentGenerationSelector.py
athoslag/Evolutiva
408c71d89969f445fe8054666f18492a6ff26fb8
[ "MIT" ]
null
null
null
import operator import random from src.domain.Individual import Individual from src.util.AbstractGeneration import AbstractGeneration ''' Seletor #2 - Método de seleção por torneio A seleção por torneio sorteia aleatoriamente dois indivíduos e seleciona para participar da próxima geração aquele com melhor avaliação....
35.357143
94
0.660101
218
1,980
5.807339
0.449541
0.047393
0.026856
0.052133
0.039494
0
0
0
0
0
0
0.015972
0.272727
1,980
56
95
35.357143
0.863194
0.09899
0
0.060606
0
0
0.003171
0
0
0
0
0.017857
0
1
0.060606
false
0
0.121212
0
0.242424
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
41ee3ae8e8b92e612ac4608c7da1d0e996a06da5
3,583
py
Python
patches_tool/constants.py
Hybrid-Cloud/badam
390ad3a6fc03948008f7c04ed2f9fcc8514cc1eb
[ "Apache-2.0" ]
2
2015-06-15T02:16:33.000Z
2022-02-23T07:10:38.000Z
patches_tool/constants.py
Hybrid-Cloud/badam
390ad3a6fc03948008f7c04ed2f9fcc8514cc1eb
[ "Apache-2.0" ]
7
2016-05-13T06:39:45.000Z
2016-05-20T02:55:31.000Z
patches_tool/constants.py
Hybrid-Cloud/badam
390ad3a6fc03948008f7c04ed2f9fcc8514cc1eb
[ "Apache-2.0" ]
4
2015-11-02T04:02:50.000Z
2021-05-13T17:06:00.000Z
__author__ = 'nash.xiejun' import os class FileName(object): PATCHES_TOOL_CONFIG_FILE = 'patches_tool_config.ini' class CfgFilePath(object): HYBRID_CLOUD_CONFIG_FILES = 'hybrid_cloud_config_files' # 'neutron-l2-proxy.json' NEUTRON_L2_PROXY_JSON_FILE = 'neutron-l2-proxy.json' # '/etc/neut...
44.234568
117
0.718113
521
3,583
4.541267
0.136276
0.071006
0.071851
0.059172
0.533812
0.428994
0.385038
0.27388
0.163145
0.045647
0
0.003658
0.160759
3,583
81
118
44.234568
0.783173
0.042702
0
0.109375
0
0
0.158697
0.027496
0
0
0
0
0
1
0
false
0
0.015625
0
0.984375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
41eef09d352b027d57f768a34a0d9c5369b206e4
1,919
py
Python
samples/physics-mecanum/src/physics.py
sarosenb/pyfrc
9376b86dad6fab209bb4e904fead1155dda7a68b
[ "MIT" ]
null
null
null
samples/physics-mecanum/src/physics.py
sarosenb/pyfrc
9376b86dad6fab209bb4e904fead1155dda7a68b
[ "MIT" ]
null
null
null
samples/physics-mecanum/src/physics.py
sarosenb/pyfrc
9376b86dad6fab209bb4e904fead1155dda7a68b
[ "MIT" ]
null
null
null
# # See the notes for the other physics sample # from pyfrc import wpilib from pyfrc.physics import drivetrains class PhysicsEngine(object): ''' Simulates a 4-wheel robot using Tank Drive joystick control ''' # Specified in feet ROBOT_WIDTH = 2 ROBOT_HEIGHT = 3 ROBOT_STARTI...
30.951613
91
0.593538
234
1,919
4.717949
0.521368
0.076993
0.086957
0.097826
0
0
0
0
0
0
0
0.017241
0.33507
1,919
61
92
31.459016
0.847962
0.427827
0
0
0
0
0
0
0
0
0
0
0
1
0.105263
false
0
0.105263
0
0.526316
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
41fa5f1eb0cd72600e9f03de9938096cc411d598
538
py
Python
api/works/migrations/0004_auto_20181201_2130.py
urbrob/hackathon-2018
3261b176304c7fb1a4ed97a3e7a1ac10b1d0608f
[ "MIT" ]
null
null
null
api/works/migrations/0004_auto_20181201_2130.py
urbrob/hackathon-2018
3261b176304c7fb1a4ed97a3e7a1ac10b1d0608f
[ "MIT" ]
12
2018-12-01T12:41:36.000Z
2022-03-11T23:35:55.000Z
api/works/migrations/0004_auto_20181201_2130.py
urbrob/hackathon-2018
3261b176304c7fb1a4ed97a3e7a1ac10b1d0608f
[ "MIT" ]
1
2018-12-01T16:41:13.000Z
2018-12-01T16:41:13.000Z
# Generated by Django 2.0.2 on 2018-12-01 21:30 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('works', '0003_auto_20181201_2104'), ] operations = [ migrations.RemoveField( model_name='test', name='file', ...
22.416667
73
0.565056
54
538
5.5
0.740741
0.060606
0
0
0
0
0
0
0
0
0
0.084011
0.314126
538
23
74
23.391304
0.720867
0.083643
0
0.235294
1
0
0.118126
0.046843
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
41fc333b33ca8b6f1db8177902d0d972f89bd8ec
3,233
py
Python
corehq/apps/auditcare/migrations/0003_truncatechars.py
akashkj/commcare-hq
b00a62336ec26cea1477dfb8c048c548cc462831
[ "BSD-3-Clause" ]
471
2015-01-10T02:55:01.000Z
2022-03-29T18:07:18.000Z
corehq/apps/auditcare/migrations/0003_truncatechars.py
akashkj/commcare-hq
b00a62336ec26cea1477dfb8c048c548cc462831
[ "BSD-3-Clause" ]
14,354
2015-01-01T07:38:23.000Z
2022-03-31T20:55:14.000Z
corehq/apps/auditcare/migrations/0003_truncatechars.py
akashkj/commcare-hq
b00a62336ec26cea1477dfb8c048c548cc462831
[ "BSD-3-Clause" ]
175
2015-01-06T07:16:47.000Z
2022-03-29T13:27:01.000Z
# Generated by Django 2.2.16 on 2021-04-01 20:23 import corehq.util.models from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('auditcare', '0002_uniques'), ] operations = [ migrations.AlterField( model_name='accessaudit', ...
44.902778
110
0.62759
309
3,233
6.190939
0.229773
0.056456
0.079456
0.083638
0.756404
0.573445
0.525353
0.318348
0.318348
0.199164
0
0.048366
0.290133
3,233
71
111
45.535211
0.785185
0.014228
0
0.4
1
0
0.458713
0.24741
0
0
0
0
0
1
0
false
0
0.030769
0
0.076923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5100323735b98828e50f67b34742d19a272551ac
6,781
py
Python
tests/infrastructures/repositories/test_user_repository.py
harokki/fastapi-authenticated
baca823d3489739843b4df68f57fa785da7bf50d
[ "MIT" ]
null
null
null
tests/infrastructures/repositories/test_user_repository.py
harokki/fastapi-authenticated
baca823d3489739843b4df68f57fa785da7bf50d
[ "MIT" ]
null
null
null
tests/infrastructures/repositories/test_user_repository.py
harokki/fastapi-authenticated
baca823d3489739843b4df68f57fa785da7bf50d
[ "MIT" ]
null
null
null
from app.domains.entities.role import Role from app.domains.entities.user import User from app.domains.entities.user_role import UserRole from app.schemas.user import UserCreateSchema from tests.conftest import DbFixtureType SQLALCEMY_DATABASE_URL = "sqlite:///./test.db" def test_find_by_user_id(db: DbFixtureType): ...
29.354978
80
0.663766
846
6,781
5.062648
0.088652
0.113472
0.081952
0.042027
0.782162
0.688303
0.65188
0.612421
0.581135
0.556619
0
0.010697
0.22799
6,781
230
81
29.482609
0.80745
0
0
0.605128
0
0
0.101902
0
0
0
0
0
0.297436
1
0.030769
false
0.076923
0.025641
0
0.05641
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
510071411b69aed8738cceefd50874bfee413c3c
146
py
Python
python/reverse_string.py
jendama/training-kit
738b9743e1f3948bc867f420f75efa47d0971217
[ "MIT" ]
null
null
null
python/reverse_string.py
jendama/training-kit
738b9743e1f3948bc867f420f75efa47d0971217
[ "MIT" ]
null
null
null
python/reverse_string.py
jendama/training-kit
738b9743e1f3948bc867f420f75efa47d0971217
[ "MIT" ]
null
null
null
a = "HACKTOBERFEST" # reverse by slicing inverse print(a[::-1]) # reverse text b = "I Love Fosti" b = b.split(" ")[::-1] print(" ".join(b))
10.428571
28
0.575342
22
146
3.818182
0.681818
0
0
0
0
0
0
0
0
0
0
0.017094
0.19863
146
14
29
10.428571
0.700855
0.267123
0
0
0
0
0.257143
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
51040493dd07307ebedc78ed9f4e2afac76edbf4
1,394
py
Python
ext/numdoc.py
kawaken/typescript-guide
e3f6731e370fb834f4f292ff5806556e203c9233
[ "CC0-1.0" ]
456
2019-06-11T15:48:52.000Z
2022-03-28T06:44:10.000Z
ext/numdoc.py
kawaken/typescript-guide
e3f6731e370fb834f4f292ff5806556e203c9233
[ "CC0-1.0" ]
18
2019-06-13T19:33:24.000Z
2022-02-27T21:31:26.000Z
ext/numdoc.py
kawaken/typescript-guide
e3f6731e370fb834f4f292ff5806556e203c9233
[ "CC0-1.0" ]
62
2019-06-12T10:11:14.000Z
2022-03-29T07:31:09.000Z
# coding:utf-8 from docutils import nodes, utils from sphinx.util.nodes import split_explicit_title from sphinx import addnodes from sphinx.writers.latex import LaTeXTranslator from six import u def numdoc_role(name, rawtext, text, lineno, inliner, options={}, content=[]): """Role for making latex ref to the doc h...
33.190476
78
0.652798
177
1,394
5.067797
0.440678
0.061316
0.09476
0.050167
0.214047
0.214047
0.147157
0.069119
0
0
0
0.000887
0.191535
1,394
41
79
34
0.795031
0.027977
0
0.096774
0
0
0.107444
0.016117
0
0
0
0
0
0
null
null
0
0.16129
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1