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
fffbe6cc3576672027352ffc942c86e21aee430b
582
py
Python
codigo_das_aulas/aula_05/aula_05_03.py
VeirichR/curso-python-selenium
9b9107a64adb4e6bcf10c76287e0b4cc7d024321
[ "CC0-1.0" ]
234
2020-04-03T02:59:30.000Z
2022-03-27T15:29:21.000Z
codigo_das_aulas/aula_05/aula_05_03.py
VeirichR/curso-python-selenium
9b9107a64adb4e6bcf10c76287e0b4cc7d024321
[ "CC0-1.0" ]
8
2020-04-20T11:20:43.000Z
2021-08-18T16:41:15.000Z
codigo_das_aulas/aula_05/aula_05_03.py
VeirichR/curso-python-selenium
9b9107a64adb4e6bcf10c76287e0b4cc7d024321
[ "CC0-1.0" ]
77
2020-04-03T13:25:19.000Z
2022-02-24T15:31:26.000Z
from selenium.webdriver import Firefox url = 'http://selenium.dunossauro.live/aula_05_c.html' firefox = Firefox() firefox.get(url) def melhor_filme(browser, filme, email, telefone): """Preenche o formulário do melhor filme de 2020.""" browser.find_element_by_name('filme').send_keys(filme) browser.find...
21.555556
64
0.725086
79
582
5.101266
0.518987
0.109181
0.17866
0.198511
0.238213
0
0
0
0
0
0
0.035857
0.137457
582
26
65
22.384615
0.766932
0.079038
0
0
0
0
0.19434
0
0
0
0
0
0
1
0.0625
false
0
0.0625
0
0.125
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
08018d89105751e7ebab8e44aec27d2942beaca5
1,949
py
Python
profiles_api/serializers.py
grreenkk/outlines_rest_api
a8e8411e6e620de9eaf62da23ae5ae7f53c8ebac
[ "MIT" ]
null
null
null
profiles_api/serializers.py
grreenkk/outlines_rest_api
a8e8411e6e620de9eaf62da23ae5ae7f53c8ebac
[ "MIT" ]
null
null
null
profiles_api/serializers.py
grreenkk/outlines_rest_api
a8e8411e6e620de9eaf62da23ae5ae7f53c8ebac
[ "MIT" ]
null
null
null
from rest_framework import serializers from . import models class HelloSerializer(serializers.Serializer): """Serialzes a name field for testing our APIView""" name = serializers.CharField(max_length=10) class UserProfileSerializer(serializers.ModelSerializer): #The ModelSerializer uses a meta to configure...
42.369565
164
0.69215
239
1,949
5.569038
0.476987
0.039068
0.022539
0.027047
0
0
0
0
0
0
0
0.001333
0.230375
1,949
45
165
43.311111
0.886
0.449461
0
0.076923
0
0
0.127517
0
0
0
0
0
0
1
0.038462
false
0.153846
0.076923
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
080a8e48142aa9f9cd9b1433f9fe5c3e2cc5a854
2,987
py
Python
accuracy.py
axa-rev-research/quackie
8f63fedb382b3ac9d705be691cc7510a512a8659
[ "Apache-2.0" ]
1
2021-11-11T02:14:37.000Z
2021-11-11T02:14:37.000Z
accuracy.py
axa-rev-research/quackie
8f63fedb382b3ac9d705be691cc7510a512a8659
[ "Apache-2.0" ]
null
null
null
accuracy.py
axa-rev-research/quackie
8f63fedb382b3ac9d705be691cc7510a512a8659
[ "Apache-2.0" ]
1
2021-11-19T05:26:24.000Z
2021-11-19T05:26:24.000Z
import pandas as pd from sklearn.metrics import accuracy_score, recall_score import models import qa_experimenters from interpreters import baseline_interpreter # disable info logging for datasets qa_experimenters.datasets.logging.set_verbosity_error() # load models model_classif = models.Model_Classification() mode...
40.917808
139
0.775025
339
2,987
6.572271
0.265487
0.08079
0.078995
0.16158
0.608618
0.582585
0.556553
0.522442
0.522442
0.522442
0
0.003432
0.122196
2,987
73
140
40.917808
0.846301
0.052561
0
0.196078
0
0
0.136331
0
0
0
0
0
0
1
0.019608
false
0
0.098039
0
0.137255
0.27451
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
08179f6e37ac1cf8974dc668922f396b344fedf5
414
py
Python
06 Functions/arguments_1.py
gitter-badger/survival-python
c9c7f336ecd0b8196934386d334f53cd79cb7284
[ "MIT" ]
1
2020-12-19T04:41:50.000Z
2020-12-19T04:41:50.000Z
06 Functions/arguments_1.py
gitter-badger/survival-python
c9c7f336ecd0b8196934386d334f53cd79cb7284
[ "MIT" ]
null
null
null
06 Functions/arguments_1.py
gitter-badger/survival-python
c9c7f336ecd0b8196934386d334f53cd79cb7284
[ "MIT" ]
3
2020-01-08T00:34:24.000Z
2021-07-08T23:06:52.000Z
def first_last(full_name): first_name = '' last_name = '' has_been_a_space = False for letter in full_name: if letter == ' ': has_been_a_space = True elif has_been_a_space: last_name = last_name + letter else: first_name = first_name + letter ...
23
44
0.589372
54
414
4.12963
0.37037
0.161435
0.107623
0.174888
0
0
0
0
0
0
0
0
0.316425
414
17
45
24.352941
0.787986
0
0
0
0
0
0.065217
0
0
0
0
0
0
1
0.071429
false
0
0
0
0.071429
0.142857
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
081a88022c93a5d99341609f251d7b37b6554e34
2,384
py
Python
mainApp/forms.py
ShivSt/Django-Tutorial
9e1acd117d027d13256711536016a9dc3004ac76
[ "MIT" ]
null
null
null
mainApp/forms.py
ShivSt/Django-Tutorial
9e1acd117d027d13256711536016a9dc3004ac76
[ "MIT" ]
5
2021-03-30T14:11:51.000Z
2021-09-22T19:31:48.000Z
mainApp/forms.py
ShivSt/Django-Tutorial
9e1acd117d027d13256711536016a9dc3004ac76
[ "MIT" ]
null
null
null
from django import forms from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.models import User from .models import Tutorial, TutorialSeries, TutorialCategory """ class NewUserForm(UserCreationForm): email = forms.EmailField(required=False) class Meta: model = User ...
33.111111
127
0.679111
268
2,384
5.902985
0.317164
0.053097
0.044248
0.041719
0.232617
0.206068
0.206068
0.206068
0.206068
0.206068
0
0.003235
0.221896
2,384
71
128
33.577465
0.849596
0.188758
0
0.16129
0
0
0.149933
0
0
0
0
0
0
1
0.032258
false
0
0.129032
0
0.580645
0
0
0
0
null
0
0
0
0
0
0
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
081dc46cf2601e29490e31ccdb2e1e6ba228b57a
962
py
Python
oo/pessoa.py
Erikcassio48/pythonbirds
84faa2646583e119c932404ce92687bf94af7c25
[ "MIT" ]
null
null
null
oo/pessoa.py
Erikcassio48/pythonbirds
84faa2646583e119c932404ce92687bf94af7c25
[ "MIT" ]
null
null
null
oo/pessoa.py
Erikcassio48/pythonbirds
84faa2646583e119c932404ce92687bf94af7c25
[ "MIT" ]
null
null
null
class Pessoa: olhos = 2 #atributs de classe def __init__(self, *filhos, nome=None, idade=35): #dá um alt+enter self.idade = idade #atributos de instância self.nome = nome self.filhos = list(filhos) def Cumprimentar(self): return 'Olá' @staticmethod def metodo_estatic...
32.066667
84
0.673597
119
962
5.184874
0.445378
0.051864
0.068071
0.077796
0.106969
0
0
0
0
0
0
0.006658
0.219335
962
30
84
32.066667
0.814913
0.128898
0
0
0
0
0.072029
0
0
0
0
0
0
1
0.16
false
0
0
0.12
0.36
0.16
0
0
0
null
0
0
0
0
0
0
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
08200d04c8e132e7e5712f82fcd9896c4e523133
6,176
py
Python
gotti/modules/translations/English.py
HellBringerReal/HellYeah
c204de5e8212fd32aaae6afd92c2bc7999457d4f
[ "MIT" ]
1
2020-11-30T10:14:15.000Z
2020-11-30T10:14:15.000Z
gotti/modules/translations/English.py
HellBringerReal/HellYeah
c204de5e8212fd32aaae6afd92c2bc7999457d4f
[ "MIT" ]
null
null
null
gotti/modules/translations/English.py
HellBringerReal/HellYeah
c204de5e8212fd32aaae6afd92c2bc7999457d4f
[ "MIT" ]
2
2020-12-03T05:45:52.000Z
2021-12-24T13:33:42.000Z
RUN_STRINGS = ( "Where do you think you're going?", "Huh? what? did they get away?", "ZZzzZZzz... Huh? what? oh, just them again, nevermind.", "Get back here!", "Not so fast...", "Look out for the wall!", "Don't leave me alone with them!!", "You run, you die.", "Jokes on you, I'm eve...
36.329412
136
0.646049
951
6,176
4.184017
0.437434
0.012566
0.011309
0.017592
0.04951
0.04951
0.014577
0
0
0
0
0.004737
0.213892
6,176
169
137
36.544379
0.81483
0.001295
0
0
0
0
0.819007
0.0506
0
0
0
0
0
1
0
false
0
0
0
0
0.006494
0
0
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
0824b3c0c5168fc2da0aff08f147c6fe6b2f06bb
5,641
py
Python
smarthome-web-portal/DB/api/database.py
kyper999/SmartHome-Demo2
3e7e23c59c5e7c31b334dbb8eda280dc591eec44
[ "Apache-2.0" ]
null
null
null
smarthome-web-portal/DB/api/database.py
kyper999/SmartHome-Demo2
3e7e23c59c5e7c31b334dbb8eda280dc591eec44
[ "Apache-2.0" ]
null
null
null
smarthome-web-portal/DB/api/database.py
kyper999/SmartHome-Demo2
3e7e23c59c5e7c31b334dbb8eda280dc591eec44
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Provider interfaces to manipulate database. """ import functools import logging import sqlalchemy from threading import local from contextlib import contextmanager from sqlalchemy import create_engine from sqlalchemy.exc import IntegrityError from sqlalchemy.exc import Operational...
25.876147
80
0.620457
578
5,641
5.918685
0.288927
0.036831
0.029231
0.028062
0.167203
0.150248
0.106109
0.054955
0.054955
0.054955
0
0.000249
0.287538
5,641
217
81
25.995392
0.850958
0.108137
0
0.216783
0
0
0.09263
0
0
0
0
0
0
0
null
null
0
0.111888
null
null
0.006993
0
0
0
null
0
0
0
0
0
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
0829360709e8a9729091bb954b8fd850e94c8aab
1,166
py
Python
thx_bot/tests/test_commands/test_login_wallet_command.py
thxprotocol/telegram-bot
d8c77060740f76ed50aab93cb7c6ca83567d1710
[ "Apache-2.0" ]
null
null
null
thx_bot/tests/test_commands/test_login_wallet_command.py
thxprotocol/telegram-bot
d8c77060740f76ed50aab93cb7c6ca83567d1710
[ "Apache-2.0" ]
null
null
null
thx_bot/tests/test_commands/test_login_wallet_command.py
thxprotocol/telegram-bot
d8c77060740f76ed50aab93cb7c6ca83567d1710
[ "Apache-2.0" ]
3
2021-10-31T19:20:39.000Z
2021-12-04T03:35:23.000Z
import os import responses from cryptography.fernet import Fernet from thx_bot.commands.login_wallet import login_wallet from thx_bot.models.channels import Channel from thx_bot.models.users import User from thx_bot.services.thx_api_client import ACTIVATION_URL from thx_bot.services.thx_api_client import URL_GET_TOKE...
34.294118
88
0.740995
161
1,166
5.161491
0.416149
0.042118
0.060168
0.038508
0.11793
0.086643
0.086643
0.086643
0
0
0
0.039634
0.156089
1,166
33
89
35.333333
0.802846
0
0
0
0
0
0.118353
0
0
0
0.024014
0
0.071429
1
0.035714
false
0.071429
0.285714
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
0
0
0
0
0
1
0
0
0
0
0
1
083b844ef804e070cace08c5305f8fd47a212773
346
py
Python
src/Factory.py
CaC-Grupo-9/backend
107067d8bc13ee2ba28c9c1a8bd0b19a4cf55277
[ "MIT" ]
1
2021-12-03T16:10:27.000Z
2021-12-03T16:10:27.000Z
src/Factory.py
CaC-Grupo-9/backend
107067d8bc13ee2ba28c9c1a8bd0b19a4cf55277
[ "MIT" ]
null
null
null
src/Factory.py
CaC-Grupo-9/backend
107067d8bc13ee2ba28c9c1a8bd0b19a4cf55277
[ "MIT" ]
5
2021-11-15T23:30:05.000Z
2021-11-30T13:10:59.000Z
from Gato import Gato from Perro import Perro from Pajaro import Pajaro class Factory: @staticmethod def creadorDeAnimales(type): if type == "Perro": return Perro() elif type == "Gato": return Gato() elif type == "Pajaro": return Pajaro() els...
21.625
32
0.554913
36
346
5.333333
0.444444
0.083333
0
0
0
0
0
0
0
0
0
0
0.367052
346
16
33
21.625
0.876712
0
0
0
0
0
0.043228
0
0
0
0
0
0
1
0.071429
false
0
0.214286
0
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0847a331633c90f2edec4b13095403bedb84d4aa
233
py
Python
pitop/version.py
pi-top/pi-top-Python-SDK
6c83cc5f612d77f86f8d391c7f2924a28f7b1232
[ "Apache-2.0" ]
28
2020-11-24T08:02:58.000Z
2022-02-27T18:37:33.000Z
pitop/version.py
pi-top/pi-top-Python-SDK
6c83cc5f612d77f86f8d391c7f2924a28f7b1232
[ "Apache-2.0" ]
263
2020-11-10T14:35:10.000Z
2022-03-31T12:35:13.000Z
pitop/version.py
pi-top/pi-top-Python-SDK
6c83cc5f612d77f86f8d391c7f2924a28f7b1232
[ "Apache-2.0" ]
1
2022-01-31T22:48:35.000Z
2022-01-31T22:48:35.000Z
import os HERE = os.path.abspath(os.path.dirname(__file__)) __version__ = "N/A" try: with open(f"{HERE}/version.txt", "r+") as f: # Reading form a file __version__ = f.read().strip() except Exception: pass
17.923077
49
0.622318
34
233
3.911765
0.705882
0.090226
0
0
0
0
0
0
0
0
0
0
0.223176
233
12
50
19.416667
0.734807
0.081545
0
0
0
0
0.108491
0
0
0
0
0
0
1
0
false
0.125
0.125
0
0.125
0
0
0
0
null
0
0
0
0
0
0
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
084f96fcb3edbbcfc96708995b489ffdcc869a60
7,282
py
Python
ver_keras/mdl_data.py
lheadjh/MultimodalDeepLearning
a4bb4044e7ab50be36ebb45d711f6aa35ac62a42
[ "MIT" ]
17
2016-08-10T05:17:49.000Z
2021-06-12T02:18:06.000Z
ver_keras/mdl_data.py
lheadjh/MultimodalDeepLearning
a4bb4044e7ab50be36ebb45d711f6aa35ac62a42
[ "MIT" ]
null
null
null
ver_keras/mdl_data.py
lheadjh/MultimodalDeepLearning
a4bb4044e7ab50be36ebb45d711f6aa35ac62a42
[ "MIT" ]
12
2016-01-25T06:22:10.000Z
2018-09-23T12:32:38.000Z
__author__ = 'jhlee' import cPickle import numpy as np import csv import sys import time import os.path EVENT = {'Ev101': 1, 'Ev102': 2, 'Ev103': 3, 'Ev104': 4, 'Ev105': 5, 'Ev106': 6, 'Ev107': 7, 'Ev108': 8, 'Ev109': 9, 'Ev110': 0} RATIO = {'Training': 0, 'Test': 1} class YLIMED(): def __init__(self, pathInfo, ...
35.009615
128
0.50563
888
7,282
3.93018
0.175676
0.017192
0.025215
0.034097
0.382808
0.292264
0.204011
0.17765
0.093983
0.093983
0
0.024436
0.342488
7,282
207
129
35.178744
0.70447
0.132107
0
0.238095
0
0
0.127406
0.035629
0
0
0
0.004831
0
0
null
null
0
0.040816
null
null
0.108844
0
0
0
null
0
0
0
0
0
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
085a99896a4b38179aae9714d0b3ef7edef85db9
16,161
py
Python
sim/sec_hop/experiment.py
bx3/perigee-bandit
73771672abe9321edbb7d455a59bfb072fafa33f
[ "MIT" ]
null
null
null
sim/sec_hop/experiment.py
bx3/perigee-bandit
73771672abe9321edbb7d455a59bfb072fafa33f
[ "MIT" ]
null
null
null
sim/sec_hop/experiment.py
bx3/perigee-bandit
73771672abe9321edbb7d455a59bfb072fafa33f
[ "MIT" ]
null
null
null
import sys import pickle import json import os import math import networkx as nx from collections import defaultdict from net_init import load_network from net_init import generate_random_outs_conns_with_oracle as gen_rand_outs_with_oracle from network.sparse_table import SparseTable from network.communicator import C...
38.848558
153
0.548481
2,107
16,161
3.973897
0.129568
0.028425
0.026275
0.026753
0.379314
0.291413
0.264182
0.230503
0.210438
0.203034
0
0.008125
0.345028
16,161
415
154
38.942169
0.7829
0.265887
0
0.280543
1
0
0.013987
0
0
0
0
0
0.013575
1
0.072398
false
0
0.076923
0
0.180995
0.0181
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
085bc7656f04dde82550b85fef5a7a5579b425a3
1,518
py
Python
wiki/migrations/0005_auto_20191016_2033.py
duplxey/NForum
990215e5a841ac054fd3c0a167dee37298a70fb8
[ "MIT" ]
7
2019-11-12T14:01:17.000Z
2022-01-29T19:17:09.000Z
wiki/migrations/0005_auto_20191016_2033.py
duplxey/NForum
990215e5a841ac054fd3c0a167dee37298a70fb8
[ "MIT" ]
4
2019-12-08T10:03:21.000Z
2020-04-07T20:27:53.000Z
wiki/migrations/0005_auto_20191016_2033.py
duplxey/NForum
990215e5a841ac054fd3c0a167dee37298a70fb8
[ "MIT" ]
1
2022-01-29T13:44:24.000Z
2022-01-29T13:44:24.000Z
# Generated by Django 2.2.5 on 2019-10-16 18:33 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import tinymce.models class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('wi...
33.733333
149
0.633729
158
1,518
5.911392
0.398734
0.04818
0.091006
0.11242
0.494647
0.470021
0.278373
0.278373
0.278373
0.164882
0
0.034574
0.256917
1,518
44
150
34.5
0.79344
0.029644
0
0.447368
1
0
0.104691
0.03535
0
0
0
0
0
1
0
false
0
0.105263
0
0.184211
0
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
f228eb51f0b25cdcf013dba2a3d76da28d6001d0
913
py
Python
tests/test_replay_memory.py
bestvibes/multi-agent-cooperation
d1233865123fde388ba84a917221265c1cfea550
[ "MIT" ]
3
2019-11-02T05:14:49.000Z
2019-11-12T12:48:53.000Z
tests/test_replay_memory.py
bestvibes/multi-agent-cooperation
d1233865123fde388ba84a917221265c1cfea550
[ "MIT" ]
null
null
null
tests/test_replay_memory.py
bestvibes/multi-agent-cooperation
d1233865123fde388ba84a917221265c1cfea550
[ "MIT" ]
1
2019-10-02T17:22:39.000Z
2019-10-02T17:22:39.000Z
import unittest from collections import namedtuple import src.replay_memory class TestReplayMemoryPusher(unittest.TestCase): def setUp(self): self.test_type = namedtuple('Test', ('value')) def test_push_to_capacity(self): replay_memory = [] capacity = 5 pusher = src.replay_mem...
35.115385
98
0.673604
116
913
5.103448
0.37931
0.243243
0.101351
0.081081
0.412162
0.412162
0.412162
0.412162
0.412162
0.412162
0
0.024079
0.226725
913
25
99
36.52
0.814448
0
0
0.4
0
0
0.009858
0
0
0
0
0
0.1
1
0.15
false
0
0.15
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
f2308f837b0a0b135415900af2e79b81294105fe
9,938
py
Python
main/api.py
EasonHe/zabbix_api_op
29efd42d9c628a334d83465ce789f6a53866826b
[ "MIT" ]
2
2017-09-26T01:45:14.000Z
2017-10-16T06:56:29.000Z
main/api.py
EasonHe/zabbix_api_op
29efd42d9c628a334d83465ce789f6a53866826b
[ "MIT" ]
null
null
null
main/api.py
EasonHe/zabbix_api_op
29efd42d9c628a334d83465ce789f6a53866826b
[ "MIT" ]
null
null
null
#-*- coding: utf-8 -*- import requests import sys from config import base_conf,host_add_temp import json reload(sys) sys.setdefaultencoding('utf-8') class send_tos(): @classmethod def post_server(cls,data): try: result = requests.post(url=base_conf.url,data=json.dumps(data),headers=base_...
33.016611
126
0.444053
907
9,938
4.761852
0.14333
0.019449
0.030563
0.03311
0.68326
0.655244
0.61843
0.614726
0.605927
0.590646
0
0.026957
0.41769
9,938
300
127
33.126667
0.719371
0.007849
0
0.559859
0
0
0.163487
0
0
0
0
0
0
0
null
null
0
0.014085
null
null
0.105634
0
0
0
null
0
0
0
0
0
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
f23ecbef4f33da56857bfb3efbcbe54592b944c2
4,205
py
Python
client/request_generator2.py
chetmancini/Timber
2d7a5663c803a057060f9c67bc1e00e2fe5adc0f
[ "MIT" ]
1
2015-05-31T12:00:33.000Z
2015-05-31T12:00:33.000Z
client/request_generator2.py
chetmancini/Timber
2d7a5663c803a057060f9c67bc1e00e2fe5adc0f
[ "MIT" ]
null
null
null
client/request_generator2.py
chetmancini/Timber
2d7a5663c803a057060f9c67bc1e00e2fe5adc0f
[ "MIT" ]
null
null
null
############################################################################## # .___________. __ .___ ___. .______ _______ .______ # # | || | | \/ | | _ \ | ____|| _ \ # # `---| |----`| | | \ / | | |_) | | |__ | |_) | # # ...
28.221477
78
0.41522
309
4,205
5.313916
0.462783
0.043849
0.082826
0.019488
0.059074
0
0
0
0
0
0
0.018109
0.290844
4,205
149
79
28.221477
0.532529
0.202616
0
0.139241
0
0
0.189772
0.02071
0
0
0
0
0
0
null
null
0.012658
0.075949
null
null
0.037975
0
0
0
null
0
0
0
0
0
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
f251dbbba56250cec8b3a32c202be3a8ee80365d
2,344
py
Python
accounts/models.py
jpaav/comm
514d62b8c3ed301dee559538825ad8f253e25fc8
[ "MIT" ]
null
null
null
accounts/models.py
jpaav/comm
514d62b8c3ed301dee559538825ad8f253e25fc8
[ "MIT" ]
65
2018-06-08T02:59:14.000Z
2018-06-22T20:42:54.000Z
accounts/models.py
jpaav/comm
514d62b8c3ed301dee559538825ad8f253e25fc8
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import User from django.db.models.signals import post_save from django.dispatch import receiver # Custom Profile linked to a User from rooms.models import Org class Profile(models.Model): def __str__(self): return 'Profile: ' + self.user.get_full_name(...
31.253333
169
0.743174
345
2,344
4.991304
0.371014
0.04065
0.031359
0.041812
0.062718
0.033682
0
0
0
0
0
0.004557
0.157423
2,344
74
170
31.675676
0.867342
0.278157
0
0.075472
0
0
0.016071
0
0
0
0
0.013514
0
1
0.113208
false
0
0.09434
0.037736
0.433962
0.09434
0
0
0
null
0
0
0
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
f261d43785f134d19550099777040b9e92f91b2a
1,802
py
Python
manage.py
thatarchguy/ManaGRR
34704fad697ae373328022bbac6f59d29af10443
[ "MIT" ]
1
2016-03-30T21:34:47.000Z
2016-03-30T21:34:47.000Z
manage.py
thatarchguy/ManaGRR
34704fad697ae373328022bbac6f59d29af10443
[ "MIT" ]
null
null
null
manage.py
thatarchguy/ManaGRR
34704fad697ae373328022bbac6f59d29af10443
[ "MIT" ]
null
null
null
'''Management commands.''' import os from flask.ext.script import Manager from managrr import app, db, models from flask.ext.migrate import Migrate, MigrateCommand manager = Manager(app) app.config.from_object('config.BaseConfiguration') migrate = Migrate(app, db) manager = Manager(app) manager.add_command('db', Mi...
27.30303
117
0.659822
227
1,802
5.162996
0.440529
0.047782
0.072526
0.051195
0.154437
0.116041
0
0
0
0
0
0.016304
0.18313
1,802
65
118
27.723077
0.779891
0.015538
0
0.243902
0
0.02439
0.363694
0.094904
0
0
0
0
0
0
null
null
0
0.097561
null
null
0.02439
0
0
0
null
0
0
0
0
0
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
f268e41374ff70a6bbceb806e6338c24f3b7e4e2
2,107
py
Python
meizhi.py
kangbingbing/Python
23cb3fb666dc062a0d3102bd20ab623d99a90d72
[ "MIT" ]
null
null
null
meizhi.py
kangbingbing/Python
23cb3fb666dc062a0d3102bd20ab623d99a90d72
[ "MIT" ]
null
null
null
meizhi.py
kangbingbing/Python
23cb3fb666dc062a0d3102bd20ab623d99a90d72
[ "MIT" ]
null
null
null
#!/usr/bin/python #-*- coding: utf-8 -*- #encoding=utf-8 import urllib2 import urllib import os from BeautifulSoup import BeautifulSoup import requests headers = { 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36', 'Refere...
29.263889
142
0.578548
248
2,107
4.875
0.467742
0.046319
0.029777
0.037221
0
0
0
0
0
0
0
0.035456
0.277171
2,107
71
143
29.676056
0.758372
0.125771
0
0.046512
0
0.023256
0.161555
0.020811
0
0
0
0
0
0
null
null
0
0.116279
null
null
0.046512
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f26f3f7d8b762d5f32f7607d7c1c3532382afe31
2,071
py
Python
greedy_algorithms/highest_product_of_3.py
Oyekunle-Mark/eat-that-cake
85b46ae5e7aad38d0827ac68ae7492a95ced74a3
[ "MIT" ]
1
2021-10-31T14:39:33.000Z
2021-10-31T14:39:33.000Z
greedy_algorithms/highest_product_of_3.py
Oyekunle-Mark/eat-that-cake
85b46ae5e7aad38d0827ac68ae7492a95ced74a3
[ "MIT" ]
null
null
null
greedy_algorithms/highest_product_of_3.py
Oyekunle-Mark/eat-that-cake
85b46ae5e7aad38d0827ac68ae7492a95ced74a3
[ "MIT" ]
1
2021-10-31T14:39:34.000Z
2021-10-31T14:39:34.000Z
def highest_product_of_3(list_of_ints): # initialize lowest to the minimum of the first two integers lowest = min(list_of_ints[0], list_of_ints[1]) # initialize highest to the maximum of the first two integers highest = max(list_of_ints[0], list_of_ints[1]) # initialize lowest_product_of_two and hi...
46.022222
104
0.725254
312
2,071
4.471154
0.137821
0.174194
0.194982
0.103226
0.699642
0.460932
0.342652
0.298208
0.18638
0.094624
0
0.00812
0.226944
2,071
44
105
47.068182
0.86321
0.475133
0
0
0
0
0
0
0
0
0
0
0
1
0.055556
false
0
0
0
0.111111
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f27c5afe7d51d0466c4db0355671105a0e379d7f
2,942
py
Python
instag/models.py
michael760odhiambo/instagrame-clone
716261fee88ef000a47a58cb5d33fe5bd3c309b3
[ "Unlicense" ]
null
null
null
instag/models.py
michael760odhiambo/instagrame-clone
716261fee88ef000a47a58cb5d33fe5bd3c309b3
[ "Unlicense" ]
5
2020-02-12T03:14:42.000Z
2021-09-08T01:23:34.000Z
instag/models.py
michael760odhiambo/instagrame-clone
716261fee88ef000a47a58cb5d33fe5bd3c309b3
[ "Unlicense" ]
null
null
null
from django.db import models import datetime as dt from django.contrib.auth.models import User from django.urls import reverse #from tinymce.models import HTMLField #from django.conf import settings class Pic(models.Model): pic = models.ImageField(upload_to='media') user = models.ForeignKey(User, null=True) ...
19.228758
77
0.660435
376
2,942
4.960106
0.226064
0.047185
0.04504
0.051475
0.370509
0.308311
0.189276
0.137265
0.112601
0.112601
0
0.004423
0.231475
2,942
152
78
19.355263
0.820433
0.023114
0
0.361446
0
0
0.010942
0
0
0
0
0
0
1
0.26506
false
0
0.048193
0.084337
0.759036
0
0
0
0
null
0
0
0
0
0
0
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
f27f61242c7186d97d1eb64b5197a124ab271045
5,743
py
Python
examples/driving.py
DeflatedPickle/rabbyt
c28718379e6ef8961b5e9788d667ed365a788d92
[ "MIT" ]
11
2015-09-11T09:44:50.000Z
2021-11-16T11:54:52.000Z
examples/driving.py
DeflatedPickle/rabbyt
c28718379e6ef8961b5e9788d667ed365a788d92
[ "MIT" ]
6
2016-04-18T04:24:13.000Z
2021-07-10T14:46:26.000Z
examples/driving.py
DeflatedPickle/rabbyt
c28718379e6ef8961b5e9788d667ed365a788d92
[ "MIT" ]
3
2018-06-30T06:10:37.000Z
2021-08-29T16:13:10.000Z
from __future__ import division import pygame import rabbyt from math import cos, sin, radians import random import os.path rabbyt.data_directory = os.path.dirname(__file__) class Car(rabbyt.Sprite): boost_particles = set() dust_particles = set() def __init__(self, name): rabbyt.Sprite.__init__...
28.715
93
0.574961
802
5,743
3.998753
0.229426
0.037418
0.036483
0.02744
0.227315
0.156533
0.101029
0.065482
0.065482
0.038042
0
0.037463
0.288873
5,743
199
94
28.859296
0.747796
0.079401
0
0.045455
0
0
0.030723
0
0
0
0
0
0
0
null
null
0
0.060606
null
null
0.007576
0
0
0
null
0
0
0
0
0
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
f284325b6fbe34a2f57e990fa8ef954fadbdd24f
814
py
Python
podcasts/serializers.py
marcphilippebeaujean-abertay/castspot
c39c230161091380b2a1b3612a8a2e52f414ea72
[ "MIT" ]
null
null
null
podcasts/serializers.py
marcphilippebeaujean-abertay/castspot
c39c230161091380b2a1b3612a8a2e52f414ea72
[ "MIT" ]
null
null
null
podcasts/serializers.py
marcphilippebeaujean-abertay/castspot
c39c230161091380b2a1b3612a8a2e52f414ea72
[ "MIT" ]
null
null
null
from rest_framework import serializers from .models import Podcast, PodcastPublishingLinks class PodcastPublishingLinksSerializer(serializers.ModelSerializer): class Meta: model = PodcastPublishingLinks fields = ('id', 'spotify', 'apple_podcast', 'website') class PodcastSerializer(serializers.Mo...
31.307692
71
0.756757
75
814
8.026667
0.573333
0.0299
0.046512
0
0
0
0
0
0
0
0
0
0.159705
814
25
72
32.56
0.880117
0
0
0.117647
0
0
0.08231
0
0
0
0
0
0
1
0.058824
false
0
0.117647
0.058824
0.764706
0
0
0
0
null
0
0
0
0
0
0
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
f29908a1b9ed3ed07d5178db0344203dc9808d7e
5,158
py
Python
sanctum_dnd/ui/cli/log_entry.py
zachwood0s/dnd-inventory
6874edeba6e549707e9346a788a6decd95f774a0
[ "MIT" ]
null
null
null
sanctum_dnd/ui/cli/log_entry.py
zachwood0s/dnd-inventory
6874edeba6e549707e9346a788a6decd95f774a0
[ "MIT" ]
null
null
null
sanctum_dnd/ui/cli/log_entry.py
zachwood0s/dnd-inventory
6874edeba6e549707e9346a788a6decd95f774a0
[ "MIT" ]
null
null
null
import textwrap import npyscreen from sanctum_dnd import resource_manager, character, settings from sanctum_dnd.ui.cli import stat_box from sanctum_dnd.utils import columns class TraitGrid(npyscreen.BoxTitle): _contained_widget = npyscreen.GridColTitles class LogEntry(npyscreen.Popup): DEFAULT_LINES = sett...
48.660377
120
0.629508
642
5,158
4.819315
0.188474
0.027149
0.039108
0.036846
0.590175
0.569813
0.540078
0.518746
0.518746
0.518746
0
0.006534
0.25824
5,158
105
121
49.12381
0.802143
0
0
0.356322
0
0
0.046917
0
0
0
0
0
0
1
0.057471
false
0.091954
0.057471
0
0.206897
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
f29bbe00b1e795c37db3079c802752e38ad6c530
1,509
py
Python
flask_youtube_dl/__init__.py
ferlzc/youtube-dl-flask
afc01922c70650a05919c071f176c72479e5bf47
[ "Unlicense" ]
null
null
null
flask_youtube_dl/__init__.py
ferlzc/youtube-dl-flask
afc01922c70650a05919c071f176c72479e5bf47
[ "Unlicense" ]
null
null
null
flask_youtube_dl/__init__.py
ferlzc/youtube-dl-flask
afc01922c70650a05919c071f176c72479e5bf47
[ "Unlicense" ]
null
null
null
import subprocess import os import time from flask import Flask, render_template, Response, request, send_file from youtube_dl import YoutubeDL app = Flask(__name__) class Mylogger(object): def debug(self, msg): print (msg) pass def warning(self, msg): pass def error(self, msg): ...
22.863636
89
0.57389
169
1,509
4.970414
0.538462
0.032143
0.028571
0.035714
0
0
0
0
0
0
0
0.012891
0.280318
1,509
65
90
23.215385
0.760589
0.292247
0
0.111111
0
0
0.178368
0
0
0
0
0
0
1
0.138889
false
0.055556
0.138889
0
0.333333
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
f29e8ed7f268892329aef9f58a9102b70311ed85
8,063
py
Python
dimp/protocol/file.py
dimchat/core-py
9f9f52de2f8e745c05106efa07345b6f63d05ee0
[ "MIT" ]
4
2019-01-23T15:54:04.000Z
2020-01-22T17:16:57.000Z
dimp/protocol/file.py
dimchat/core-py
9f9f52de2f8e745c05106efa07345b6f63d05ee0
[ "MIT" ]
null
null
null
dimp/protocol/file.py
dimchat/core-py
9f9f52de2f8e745c05106efa07345b6f63d05ee0
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # DIMP : Decentralized Instant Messaging Protocol # # Written in 2019 by Moky <albert.moky@gmail.com> # # ============================================================================== # MIT License # # Copyright (c) 2019 Albert Moky # # Permission is hereby gr...
32.381526
116
0.567407
874
8,063
5.10984
0.221968
0.028661
0.016122
0.023287
0.329154
0.22996
0.184505
0.164801
0.145544
0.107031
0
0.016006
0.302617
8,063
248
117
32.512097
0.778232
0.331638
0
0.208
0
0
0.03324
0
0
0
0
0
0
1
0.152
false
0.08
0.032
0.024
0.288
0
0
0
0
null
0
0
0
0
0
0
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
f2a40841245250d98f8bb6750446daed7ff19e1f
999
py
Python
backend/src/games/admin.py
marktai/pictomania
ca78aa490304c2aca540913f76c6b8a3a7dc0a74
[ "MIT" ]
null
null
null
backend/src/games/admin.py
marktai/pictomania
ca78aa490304c2aca540913f76c6b8a3a7dc0a74
[ "MIT" ]
8
2020-06-05T17:58:25.000Z
2022-03-11T23:19:16.000Z
backend/src/games/admin.py
marktai/pictomania
ca78aa490304c2aca540913f76c6b8a3a7dc0a74
[ "MIT" ]
2
2017-12-26T10:28:26.000Z
2018-04-24T21:18:18.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.contrib import admin from django.utils.html import mark_safe from . import models # Register your models here. @admin.register(models.Game) class GameAdmin(admin.ModelAdmin): fields = ('white_player', 'black_player', 'board_link', 'turn...
34.448276
110
0.667668
136
999
4.661765
0.360294
0.069401
0.094637
0.138801
0.394322
0.394322
0.384858
0.233438
0.233438
0.094637
0
0.001179
0.151151
999
28
111
35.678571
0.746462
0.048048
0
0
0
0
0.317511
0.049578
0
0
0
0
0
1
0.111111
false
0
0.222222
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
f2aac7452fccb5d2581042c788a0ab5db8aacd5d
19,211
py
Python
tests/test_level1.py
lweydemann/ascat
9c986ba40694a13356c44f403c66d73ccaab83bf
[ "MIT" ]
null
null
null
tests/test_level1.py
lweydemann/ascat
9c986ba40694a13356c44f403c66d73ccaab83bf
[ "MIT" ]
null
null
null
tests/test_level1.py
lweydemann/ascat
9c986ba40694a13356c44f403c66d73ccaab83bf
[ "MIT" ]
null
null
null
# Copyright (c) 2020, TU Wien, Department of Geodesy and Geoinformation # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice,...
44.264977
133
0.60304
2,534
19,211
4.374901
0.250987
0.04871
0.046906
0.056287
0.55331
0.503608
0.466715
0.452463
0.431174
0.391846
0
0.232916
0.280152
19,211
433
134
44.367206
0.568732
0.096091
0
0.409091
0
0.006494
0.088638
0.05234
0
0
0
0
0.142857
1
0.090909
false
0.00974
0.019481
0
0.126623
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f2b1b8c06d84caf896f9f352bbc621e2fa98288a
767
py
Python
main/WSE/XDP/scs/parser/wse/messages.py
scltd/main
7147931967c64cf37ff5023d847154a24eb8195f
[ "BSD-3-Clause" ]
null
null
null
main/WSE/XDP/scs/parser/wse/messages.py
scltd/main
7147931967c64cf37ff5023d847154a24eb8195f
[ "BSD-3-Clause" ]
null
null
null
main/WSE/XDP/scs/parser/wse/messages.py
scltd/main
7147931967c64cf37ff5023d847154a24eb8195f
[ "BSD-3-Clause" ]
null
null
null
class MessageTypes: InstrumentStateChange = 505 ClassStateChange = 516 Mail = 523 IndicativeMatchingPrice = 530 Collars = 537 SessionTimetable = 539 StartReferential = 550 EndReferential = 551 Referential = 556 ShortSaleChange = 560 SessionSummary = 561 GenericMessage = 592 OpenPosition = 59...
20.72973
32
0.73794
68
767
8.323529
1
0
0
0
0
0
0
0
0
0
0
0.146423
0.216428
767
37
33
20.72973
0.795341
0.050847
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
f2bec1d6d4c4a5452adc2f5c3109e9eb8ac07ed8
404
py
Python
paas-ce/websocket/control/migrations/0028_auto_20200928_1720.py
kerven88/opsany-paas
78b83d0b6a46f3e70226ca99992d736b2af0af72
[ "Apache-2.0" ]
42
2021-06-16T12:06:03.000Z
2022-03-29T13:18:00.000Z
paas-ce/websocket/control/migrations/0028_auto_20200928_1720.py
kerven88/opsany-paas
78b83d0b6a46f3e70226ca99992d736b2af0af72
[ "Apache-2.0" ]
null
null
null
paas-ce/websocket/control/migrations/0028_auto_20200928_1720.py
kerven88/opsany-paas
78b83d0b6a46f3e70226ca99992d736b2af0af72
[ "Apache-2.0" ]
16
2021-07-13T01:17:57.000Z
2022-03-01T12:39:32.000Z
# Generated by Django 2.2.6 on 2020-09-28 17:20 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('control', '0027_auto_20200928_1146'), ] operations = [ migrations.AlterField( model_name='agentadmin', name='zabbix_...
21.263158
52
0.616337
43
404
5.651163
0.837209
0
0
0
0
0
0
0
0
0
0
0.105802
0.274752
404
18
53
22.444444
0.723549
0.111386
0
0
1
0
0.162465
0.064426
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f2c171a845522af2aa2e7237981585236469765f
3,205
py
Python
Daily_challege/Day2/setZeroes.py
pavi-ninjaac/leetcode
a674b6d9576cf9ac612c2ad3b6ef7709cad4c410
[ "MIT" ]
null
null
null
Daily_challege/Day2/setZeroes.py
pavi-ninjaac/leetcode
a674b6d9576cf9ac612c2ad3b6ef7709cad4c410
[ "MIT" ]
null
null
null
Daily_challege/Day2/setZeroes.py
pavi-ninjaac/leetcode
a674b6d9576cf9ac612c2ad3b6ef7709cad4c410
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Tue Apr 6 08:39:12 2021 @author: ELCOT """ """ Given an m x n matrix. If an element is 0, set its entire row and column to 0. Do it in-place. Follow up: A straight forward solution using O(mn) space is probably a bad idea. A simple improvement uses O(m + n) space, ...
30.817308
96
0.365367
419
3,205
2.794749
0.260143
0.077711
0.027327
0.025619
0.327071
0.216909
0.148591
0.12468
0.12468
0
0
0.055028
0.506708
3,205
104
97
30.817308
0.685642
0.151014
0
0.490566
0
0
0.04927
0
0
0
0
0
0
1
0.018868
false
0
0
0
0.037736
0.283019
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f2c186e2144691ba122528aadc030b479aa8972b
1,261
py
Python
Example_script.py
BillyGTCarlyle/BTS
67e06af77ed41b9c7aef53f38bf3eedb7865d1af
[ "MIT" ]
1
2018-05-18T17:37:58.000Z
2018-05-18T17:37:58.000Z
Example_script.py
BillyGTCarlyle/BTS
67e06af77ed41b9c7aef53f38bf3eedb7865d1af
[ "MIT" ]
1
2018-06-25T15:03:18.000Z
2018-06-25T15:03:18.000Z
Example_script.py
BillyGTCarlyle/BTS
67e06af77ed41b9c7aef53f38bf3eedb7865d1af
[ "MIT" ]
7
2018-05-16T09:42:51.000Z
2021-10-04T13:45:24.000Z
#### A script to show how to use each of the 4 functions in BTS. import BTS import numpy as np ##### First run the single Gaussian test BTS.single_gaussian_test("./Example_files/SingleGaussianTest.param") ##### Next run the multiple Gaussian test BTS.multi_gaussian_test("./Example_files/MultipleGaussianTest.param"...
28.022222
136
0.740682
197
1,261
4.639594
0.436548
0.052516
0.039387
0.052516
0
0
0
0
0
0
0
0.030909
0.127676
1,261
44
137
28.659091
0.8
0.31245
0
0
0
0
0.332934
0.184431
0
0
0
0
0
0
null
null
0
0.117647
null
null
0.117647
0
0
0
null
0
0
0
0
0
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
f2c6c8166bfbc730cdf0244446b97887c35b1a3c
687
py
Python
ci-wrappers/pythonpreview/wrapper/python_glue/internal_device_glue.py
gregga/iot-sdks-e2e-fx
02d0ce0823f0190ef26ccfbf3fd3ba7ccde8d6cb
[ "MIT" ]
null
null
null
ci-wrappers/pythonpreview/wrapper/python_glue/internal_device_glue.py
gregga/iot-sdks-e2e-fx
02d0ce0823f0190ef26ccfbf3fd3ba7ccde8d6cb
[ "MIT" ]
1
2021-06-01T23:42:31.000Z
2021-06-01T23:42:31.000Z
ci-wrappers/pythonpreview/wrapper/python_glue/internal_device_glue.py
gregga/my-iot-sdks-e2e-fx
f043aff93b415e214136110ed52c15e581892b42
[ "MIT" ]
null
null
null
#!/usr/bin/env python # Copyright (c) Microsoft. All rights reserved. # Licensed under the MIT license. See LICENSE file in the project root for # full license information. import logging import internal_wrapper_glue from internal_device_glue_sync import InternalDeviceGlueSync try: from internal_device_glue_async ...
28.625
74
0.780204
75
687
6.946667
0.653333
0.057582
0.072937
0.084453
0
0
0
0
0
0
0
0
0.161572
687
23
75
29.869565
0.904514
0.240175
0
0
0
0
0.121622
0.086873
0
0
0
0
0
1
0.066667
false
0.066667
0.266667
0
0.466667
0
0
0
0
null
0
0
0
0
0
0
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
f2c7ced1309974aa41278df072ebf59305bb8d14
1,238
py
Python
investmentGame/User.py
tobiaskamphuis/Investment-game
7042f0527ea5e046f6ffbe73097996e94c8bb559
[ "MIT" ]
null
null
null
investmentGame/User.py
tobiaskamphuis/Investment-game
7042f0527ea5e046f6ffbe73097996e94c8bb559
[ "MIT" ]
1
2021-06-02T00:46:12.000Z
2021-06-02T00:46:12.000Z
investmentGame/User.py
tobiaskamphuis/Investment-game
7042f0527ea5e046f6ffbe73097996e94c8bb559
[ "MIT" ]
null
null
null
from investmentGame.Order import Order #from investmentGame.Portfolio import Portfolio from sqlalchemy import Column, Integer, String, Boolean from sqlalchemy.orm import relationship from sqlalchemy.ext.declarative import declarative_base from investmentGame.db import Base class User(Base): __tablename__ = "users"...
36.411765
104
0.727787
148
1,238
5.945946
0.385135
0.075
0.051136
0.075
0.170455
0.097727
0.097727
0.097727
0
0
0
0.008763
0.170436
1,238
34
105
36.411765
0.848101
0.134087
0
0
0
0
0.028195
0
0
0
0
0
0
1
0.136364
false
0.045455
0.227273
0
0.772727
0
0
0
0
null
0
0
0
0
0
0
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
f2c9d0aa82fd7f3226d934b7b3474f7e0e6596fe
679
py
Python
tools/translate/api/__init__.py
HsOjo/PyJSONEditor
c2cf5398fa569ba0575048f3deebbf23028a61a1
[ "MIT" ]
null
null
null
tools/translate/api/__init__.py
HsOjo/PyJSONEditor
c2cf5398fa569ba0575048f3deebbf23028a61a1
[ "MIT" ]
null
null
null
tools/translate/api/__init__.py
HsOjo/PyJSONEditor
c2cf5398fa569ba0575048f3deebbf23028a61a1
[ "MIT" ]
null
null
null
import json import os from app.util import pyinstaller from .baidu import BaiduTranslate from .google import GoogleTranslate from .translator import Translator from .zhconv import ZHConv CONFIG_FILE = '%s/tools/translate/config.json' % pyinstaller.get_runtime_dir() config = {} if os.path.exists(CONFIG_FILE): wit...
21.903226
78
0.718704
91
679
5.285714
0.450549
0.06237
0
0
0
0
0
0
0
0
0
0.001792
0.178203
679
30
79
22.633333
0.860215
0
0
0
0
0
0.060383
0.044183
0
0
0
0
0
1
0.142857
false
0
0.333333
0.095238
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
4b3160540f8d689437505560ac6d2f951bb7ce21
1,240
py
Python
utilities/communication/mail.py
jalpeshborad/utilities
14f85c7297389c7d1881973acf933641cfc1621a
[ "MIT" ]
null
null
null
utilities/communication/mail.py
jalpeshborad/utilities
14f85c7297389c7d1881973acf933641cfc1621a
[ "MIT" ]
null
null
null
utilities/communication/mail.py
jalpeshborad/utilities
14f85c7297389c7d1881973acf933641cfc1621a
[ "MIT" ]
null
null
null
# coding: utf-8 # -*- coding: utf-8 -*- __author__ = "Jalpesh Borad" __copyright__ = "Copyright 2018" __version__ = "0.0.1" __maintainer__ = "Jalpesh Borad" __email__ = "jalpeshborad@gmail.com" __status__ = "Development" import smtplib from traceback import format_exc from email.mime.multipart import MIMEMultipart...
23.846154
57
0.634677
148
1,240
5.074324
0.466216
0.083888
0.026631
0
0
0
0
0
0
0
0
0.009544
0.239516
1,240
51
58
24.313725
0.78685
0.091935
0
0
0
0
0.121818
0.02
0
0
0
0
0
1
0.03125
false
0.0625
0.15625
0
0.1875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4b324f574e663576a67f0bac0059e2322155920d
289
py
Python
alttprbot/alttprgen/smvaria.py
DuoDeca/sahasrahbot
27058b0644487e0b22e91eccaf3c638743bdf826
[ "MIT" ]
null
null
null
alttprbot/alttprgen/smvaria.py
DuoDeca/sahasrahbot
27058b0644487e0b22e91eccaf3c638743bdf826
[ "MIT" ]
null
null
null
alttprbot/alttprgen/smvaria.py
DuoDeca/sahasrahbot
27058b0644487e0b22e91eccaf3c638743bdf826
[ "MIT" ]
null
null
null
from alttprbot_discord.util.smvaria_discord import SuperMetroidVariaDiscord async def generate_preset(settings, skills, race=False): seed = await SuperMetroidVariaDiscord.create( skills_preset=skills, settings_preset=settings, race=race ) return seed
26.272727
75
0.743945
30
289
7
0.633333
0.133333
0
0
0
0
0
0
0
0
0
0
0.197232
289
10
76
28.9
0.905172
0
0
0
1
0
0
0
0
0
0
0
0
1
0
false
0
0.125
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
4b4bd577862ea37c7a298374586b11a0e3ce6097
8,506
py
Python
src/data/EDA_Food2.py
bmaingret/open_food_facts
39662ec32af07f3772a7787282d8b2ed1ece2970
[ "FTL" ]
null
null
null
src/data/EDA_Food2.py
bmaingret/open_food_facts
39662ec32af07f3772a7787282d8b2ed1ece2970
[ "FTL" ]
null
null
null
src/data/EDA_Food2.py
bmaingret/open_food_facts
39662ec32af07f3772a7787282d8b2ed1ece2970
[ "FTL" ]
null
null
null
#!pip install missingno import pandas as pd import math from collections import defaultdict import numpy as np import seaborn as sns import matplotlib.pyplot as plt import os.path import missingno as mno from sklearn.preprocessing import StandardScaler from sklearn.neighbors import NearestNeighbors from sklearn.model_...
46.480874
259
0.755114
1,320
8,506
4.533333
0.211364
0.085562
0.072694
0.043449
0.450201
0.359793
0.293282
0.212567
0.163436
0.126003
0
0.011556
0.125088
8,506
182
260
46.736264
0.792529
0.089231
0
0.031008
0
0
0.126602
0.028608
0
0
0
0
0
0
null
null
0
0.108527
null
null
0.031008
0
0
0
null
0
0
0
0
0
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
4b50d3de7aa13a7d18bc3e9e42bbccb6ae536642
2,681
py
Python
taskstack/app/routes/forgot_password.py
juliuskrahn/Taskstack
31de1e79610db50591c7a24dfad920477760125b
[ "MIT" ]
2
2020-08-17T19:34:42.000Z
2021-09-28T15:05:41.000Z
taskstack/app/routes/forgot_password.py
juliuskrahn/Taskstack
31de1e79610db50591c7a24dfad920477760125b
[ "MIT" ]
1
2020-11-09T20:03:13.000Z
2020-11-09T20:03:13.000Z
taskstack/app/routes/forgot_password.py
juliuskrahn/Taskstack
31de1e79610db50591c7a24dfad920477760125b
[ "MIT" ]
null
null
null
from flask import request, redirect import urllib.parse from uuid import uuid4 from secrets import token_urlsafe from app import app, bcrypt, db, ses_cli, render_template from app.db_models import User from app.templating.text import get_lexicon_and_lang @app.route("/forgot-password", methods=["GET", "POST"]) def for...
35.276316
114
0.547557
283
2,681
4.869258
0.321555
0.169811
0.07402
0.045718
0.332366
0.217707
0.217707
0.217707
0.217707
0.217707
0
0.006889
0.350242
2,681
75
115
35.746667
0.784156
0.005222
0
0.12069
0
0
0.158784
0.065691
0
0
0
0
0
1
0.017241
false
0.293103
0.12069
0
0.189655
0
0
0
0
null
0
0
0
0
0
0
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
4b55780c57655e3b2519867f136d50fbfc1cd4d0
5,012
py
Python
conf/setting.py
Watch-Dogs-HIT/Watch_Dogs-Server
3dfcb412197c56d6fcbf1a7e12f4fcaf16ca1eae
[ "WTFPL" ]
4
2019-02-27T01:29:03.000Z
2021-08-23T03:43:59.000Z
conf/setting.py
Watch-Dogs-HIT/Watch_Dogs-Server
3dfcb412197c56d6fcbf1a7e12f4fcaf16ca1eae
[ "WTFPL" ]
1
2020-05-28T02:50:33.000Z
2020-05-28T02:50:33.000Z
conf/setting.py
Watch-Dogs-HIT/Watch_Dogs-Server
3dfcb412197c56d6fcbf1a7e12f4fcaf16ca1eae
[ "WTFPL" ]
null
null
null
#!/usr/bin/env python # encoding:utf8 """ Watch_Dogs 配置文件&日志 """ import os import sys import json import datetime import logging import logging.config PROJECT_NAME = "Watch_Dogs-Server" LOGGER_CONF_NAME = "logger.conf" SETTING_JOSN_NAME = "setting.json" class Setting(object): """静态配置""" # Singleton _i...
34.095238
106
0.644653
619
5,012
4.857835
0.214863
0.073495
0.053874
0.022614
0.333222
0.172597
0.022614
0
0
0
0
0.006205
0.228252
5,012
146
107
34.328767
0.7712
0.030527
0
0.019417
0
0
0.137284
0.037959
0
0
0
0
0
0
null
null
0.038835
0.058252
null
null
0.009709
0
0
0
null
0
0
0
0
0
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
4b56c8f508acc5d7902de9a93de4c56341a845d6
1,436
py
Python
tql/algo_ml/explainer/ExplainerText.py
Jie-Yuan/1_DataMining
f5338388b4f883233f350d4fb9c5903180883430
[ "Apache-2.0" ]
14
2019-06-25T13:46:32.000Z
2020-10-27T02:04:59.000Z
tql/algo_ml/explainer/ExplainerText.py
Jie-Yuan/2_DataMining
f5338388b4f883233f350d4fb9c5903180883430
[ "Apache-2.0" ]
null
null
null
tql/algo_ml/explainer/ExplainerText.py
Jie-Yuan/2_DataMining
f5338388b4f883233f350d4fb9c5903180883430
[ "Apache-2.0" ]
7
2019-06-25T13:26:16.000Z
2020-10-27T02:05:03.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Project : tql-Python. # @File : ExplainNLP # @Time : 2019-06-20 13:24 # @Author : yuanjie # @Email : yuanjie@xiaomi.com # @Software : PyCharm # @Description : from nlp.models import BaselineBow from sklearn.linear_model import Log...
27.09434
82
0.647632
177
1,436
5.090395
0.559322
0.008879
0.011099
0
0
0
0
0
0
0
0
0.0217
0.229805
1,436
52
83
27.615385
0.792948
0.414345
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4b59af184eb6bc7d70e3890284a96f06c7177fab
396
py
Python
mailer/settings.py
mvpoland/django-mailer
6fa4f2968dfd60b3dabb803f10279ed4d2502d88
[ "MIT" ]
null
null
null
mailer/settings.py
mvpoland/django-mailer
6fa4f2968dfd60b3dabb803f10279ed4d2502d88
[ "MIT" ]
2
2018-05-11T10:27:15.000Z
2019-08-26T09:53:27.000Z
mailer/settings.py
mvpoland/django-mailer
6fa4f2968dfd60b3dabb803f10279ed4d2502d88
[ "MIT" ]
null
null
null
from django.conf import settings """ Add here dictionary of extra headers pushed forward to django's EmailMultiAlternatives and EmailMessage. Example: to activate click and open action for e-mails sent by Mandrillapp you'll need to define this as follows: MAIL_EXTRA_HEADERS = {'X-MC-Track': 'opens,clicks'} ...
30.461538
108
0.770202
57
396
5.245614
0.789474
0.160535
0.120401
0
0
0
0
0
0
0
0
0
0.151515
396
12
109
33
0.889881
0
0
0
0
0
0.186916
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
4b5c024114913d6dde09bf853ae5ebe4cae256bd
427
py
Python
setup.py
JensMunkHansen/contour
f0b663333517aa57b7f6f8b7e6253814e7fc926a
[ "BSD-3-Clause" ]
1
2020-10-22T08:31:10.000Z
2020-10-22T08:31:10.000Z
setup.py
JensMunkHansen/contour
f0b663333517aa57b7f6f8b7e6253814e7fc926a
[ "BSD-3-Clause" ]
null
null
null
setup.py
JensMunkHansen/contour
f0b663333517aa57b7f6f8b7e6253814e7fc926a
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python import numpy from distutils.core import setup, Extension setup(name="swig_contour", py_modules=["swig_contour"], ext_modules=[Extension("contour/_swig_contour", ["contour/swig_contour.i", "contour/contour.cpp", "contour/conrec.c"], include_dir...
25.117647
91
0.552693
45
427
5.022222
0.555556
0.19469
0.159292
0
0
0
0
0
0
0
0
0
0.283372
427
16
92
26.6875
0.738562
0.046838
0
0
0
0
0.272953
0.1067
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
0
0
0
null
0
0
0
0
0
0
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
4b5de6dd8f7ad38e478d3e21e6571a0430bfc574
2,535
py
Python
_clientsocket.py
khowarizmi/tornado-rpc
4a81c14575d9a01b87c7e15d8f42f97835731e49
[ "MIT" ]
1
2017-11-19T06:57:29.000Z
2017-11-19T06:57:29.000Z
_clientsocket.py
khowarizmi/tornado-rpc
4a81c14575d9a01b87c7e15d8f42f97835731e49
[ "MIT" ]
null
null
null
_clientsocket.py
khowarizmi/tornado-rpc
4a81c14575d9a01b87c7e15d8f42f97835731e49
[ "MIT" ]
null
null
null
import netutils import config from tornado import tcpclient from tornado import gen from tornado.ioloop import IOLoop import time import os import resource resource.setrlimit(resource.RLIMIT_NOFILE, (10000, 10000)) class Client(): def __init__(self, host, port): self.tcpClient = tcpclient.TCPClient() ...
23.691589
87
0.548323
303
2,535
4.481848
0.244224
0.035346
0.035346
0.013255
0.275405
0.197349
0.103093
0.069219
0.069219
0
0
0.033468
0.316371
2,535
106
88
23.915094
0.750144
0.245365
0
0.133333
0
0
0.023847
0
0
0
0
0
0
0
null
null
0.016667
0.133333
null
null
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
1
0
0
0
0
0
0
0
0
1
4b5e0bb4115e1af8a6a367aaa2f79061217267dd
12,290
py
Python
RepeatAnalysisTools/previous/SL6/NoAmpRestrictionDiagnostics.py
PacificBiosciences/apps-scripts
dd741d72f6b5483eb6d1f9a7f33cd42f9b56b5a7
[ "BSD-3-Clause-Clear" ]
19
2017-03-02T22:35:42.000Z
2022-03-30T21:34:00.000Z
RepeatAnalysisTools/previous/SL6/NoAmpRestrictionDiagnostics.py
PacificBiosciences/apps-scripts
dd741d72f6b5483eb6d1f9a7f33cd42f9b56b5a7
[ "BSD-3-Clause-Clear" ]
9
2017-04-07T16:11:49.000Z
2021-06-24T16:54:52.000Z
RepeatAnalysisTools/previous/SL6/NoAmpRestrictionDiagnostics.py
PacificBiosciences/apps-scripts
dd741d72f6b5483eb6d1f9a7f33cd42f9b56b5a7
[ "BSD-3-Clause-Clear" ]
12
2017-02-23T01:18:17.000Z
2022-01-28T18:29:42.000Z
#! /home/UNIXHOME/jharting/anaconda2/bin/python import numpy as np import pandas as pd import re,os,sys import pysam from pbcore.io import FastaReader from resources.utils import rc,\ readBED,\ getHn ALIGNFILTER=0x900 FLOATFORMAT='%.2f' PCTFUNC='{:,.2%}'.format ...
47.088123
169
0.561513
1,303
12,290
5.257099
0.294705
0.013139
0.024818
0.007445
0.104234
0.060438
0.051679
0.011387
0
0
0
0.006746
0.324573
12,290
260
170
47.269231
0.818456
0.130838
0
0.056995
0
0
0.151635
0.007445
0
0
0.000471
0
0
0
null
null
0.005181
0.036269
null
null
0.020725
0
0
0
null
0
0
0
0
0
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
4b7d726c5b44935487f476dab612ec75f83242e3
35,691
py
Python
tests/functional/Damage/ExpandingTube/ExpandingTube-rz.py
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
22
2018-07-31T21:38:22.000Z
2020-06-29T08:58:33.000Z
tests/Damage/ExpandingTube/ExpandingTube-rz.py
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
41
2020-09-28T23:14:27.000Z
2022-03-28T17:01:33.000Z
tests/Damage/ExpandingTube/ExpandingTube-rz.py
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
7
2019-12-01T07:00:06.000Z
2020-09-15T21:12:39.000Z
#------------------------------------------------------------------------------- # A tube of stainless steel undergoing expansion due to a projectile entering # and smacking into a stop. # # This is the mock 3-D cylindrical geometry "RZ" version. # # See Vogler et al., 2003, International Journal of Impact Engineering,...
43.846437
113
0.423916
2,397
35,691
6.308302
0.287443
0.009788
0.008531
0.00873
0.055353
0.031612
0.019311
0.010846
0.007671
0.007671
0
0.049071
0.385055
35,691
813
114
43.900369
0.639876
0.215096
0
0.134959
0
0
0.054915
0.013082
0
0
0
0
0.003252
0
null
null
0
0.027642
null
null
0.014634
0
0
0
null
0
0
0
0
0
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
4b80ae279d3864b68183f6c669f73ccf461672ad
2,019
py
Python
chainablemanager/manager.py
timheap/django-chainable-manager
59e5ca70228ed30452e56ba1ce4bced222f7be3e
[ "Unlicense" ]
2
2015-09-11T20:20:02.000Z
2016-09-09T14:46:44.000Z
chainablemanager/manager.py
timheap/django-chainable-manager
59e5ca70228ed30452e56ba1ce4bced222f7be3e
[ "Unlicense" ]
null
null
null
chainablemanager/manager.py
timheap/django-chainable-manager
59e5ca70228ed30452e56ba1ce4bced222f7be3e
[ "Unlicense" ]
null
null
null
from functools import wraps from django.db.models import Manager from django.db.models.query import QuerySet from django.utils.six import with_metaclass def _make_proxy(name, fn): @wraps(fn) def _proxy(self, *args, **kwargs): qs = self.get_queryset() return getattr(qs, name)(*args, **kwargs) ...
31.061538
76
0.670134
241
2,019
5.502075
0.40249
0.022624
0.022624
0.033937
0.099548
0.084465
0.084465
0.084465
0.084465
0
0
0
0.255572
2,019
64
77
31.546875
0.882236
0.3368
0
0.071429
0
0
0.037302
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4b894b4c83acbad6ad9867cf36db13977869a2bb
19,160
py
Python
Scripts/MaxwellPro/dce_ctl.py
ToyotaResearchInstitute/rad-robot
9a47e4d88382719ab9bf142932fbcc83dcbcd665
[ "MIT" ]
null
null
null
Scripts/MaxwellPro/dce_ctl.py
ToyotaResearchInstitute/rad-robot
9a47e4d88382719ab9bf142932fbcc83dcbcd665
[ "MIT" ]
null
null
null
Scripts/MaxwellPro/dce_ctl.py
ToyotaResearchInstitute/rad-robot
9a47e4d88382719ab9bf142932fbcc83dcbcd665
[ "MIT" ]
2
2018-06-04T12:38:54.000Z
2018-09-22T10:31:27.000Z
#!/bin/env python #********************************************************************** # $Id: dce_ctl.py 66 2015-03-08 14:09:31Z karl $ #********************************************************************** # If the servercomm module isn't in the same directory as this module # then we need to add its path locati...
39.182004
98
0.517328
1,763
19,160
5.425978
0.243335
0.059272
0.00784
0.007527
0.448672
0.417729
0.38365
0.36128
0.291658
0.268033
0
0.021635
0.355898
19,160
488
99
39.262295
0.753505
0.284656
0
0.566434
0
0
0.051008
0
0
0
0.004597
0
0.038462
0
null
null
0.048951
0.017483
null
null
0.024476
0
0
0
null
0
0
0
0
0
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
4b89fc86696ae406e965d4177e1e6ffc5abfa496
2,059
py
Python
src/main/resources/variablesetter/set_variables_from_variable_source_task.py
xebialabs-community/xlr-variable-setter-plugin
68d53a877a38e9640619f54055f4e531616de676
[ "MIT" ]
2
2020-02-26T18:57:22.000Z
2020-02-27T13:04:24.000Z
src/main/resources/variablesetter/set_variables_from_variable_source_task.py
xebialabs-community/xlr-variable-setter-plugin
68d53a877a38e9640619f54055f4e531616de676
[ "MIT" ]
8
2019-05-07T18:10:05.000Z
2021-11-08T06:59:15.000Z
src/main/resources/variablesetter/set_variables_from_variable_source_task.py
xebialabs-community/xlr-variable-setter-plugin
68d53a877a38e9640619f54055f4e531616de676
[ "MIT" ]
2
2019-10-14T00:56:14.000Z
2020-09-24T18:03:01.000Z
# # Copyright 2021 XEBIALABS # # 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, distribute, subli...
45.755556
462
0.769305
274
2,059
5.715328
0.521898
0.056194
0.016603
0.037037
0.038314
0.038314
0
0
0
0
0
0.003497
0.166586
2,059
44
463
46.795455
0.909091
0.561438
0
0
0
0
0.094382
0.023596
0
0
0
0
0
1
0.047619
false
0
0.380952
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
4b956ddad49b396871fe6872dac0530302ee10b3
4,753
py
Python
neuronmi/simulators/example_simple.py
MiroK/nEuronMI
227b26598fa2cde5aabec68db898f308fb44aa31
[ "Apache-2.0" ]
1
2020-06-16T07:35:53.000Z
2020-06-16T07:35:53.000Z
neuronmi/simulators/example_simple.py
MiroK/nEuronMI
227b26598fa2cde5aabec68db898f308fb44aa31
[ "Apache-2.0" ]
17
2019-11-08T16:59:53.000Z
2020-05-05T10:44:49.000Z
neuronmi/simulators/example_simple.py
MiroK/nEuronMI
227b26598fa2cde5aabec68db898f308fb44aa31
[ "Apache-2.0" ]
1
2021-04-03T05:15:46.000Z
2021-04-03T05:15:46.000Z
# This example demonstrates the entire pipeline from geometry creation, # to mesh generation and finally solution. In a realistic workflow # the 3 steps are done separately. from mesh.simple_geometry.shapes import SphereNeuron, CylinderProbe from mesh.simple_geometry.geogen import geofile from mesh.msh_convert import ...
39.941176
123
0.557753
649
4,753
3.933744
0.35131
0.027419
0.008226
0.021152
0.107716
0.057971
0
0
0
0
0
0.040986
0.317273
4,753
118
124
40.279661
0.745763
0.217968
0
0
0
0
0.153679
0.023894
0
0
0
0
0.039474
0
null
null
0
0.092105
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
4ba47c94d9c6fffd8c85282f6f907370854e9d37
3,759
py
Python
service/database/initialization_queries.py
stvgt/interfaces
813e58304f2bdc0333b015bf5a15f8a46cfb9073
[ "MIT" ]
null
null
null
service/database/initialization_queries.py
stvgt/interfaces
813e58304f2bdc0333b015bf5a15f8a46cfb9073
[ "MIT" ]
1
2019-07-01T21:31:36.000Z
2019-07-01T21:31:36.000Z
service/database/initialization_queries.py
stvgt/interfaces
813e58304f2bdc0333b015bf5a15f8a46cfb9073
[ "MIT" ]
null
null
null
SQL_INIT_TABLES_AND_TRIGGERS = ''' CREATE TABLE consumers ( component TEXT NOT NULL, subcomponent TEXT NOT NULL, host TEXT NOT NULL, itype TEXT NOT NULL, iprimary TEXT NOT NULL, isecondary TEXT NOT NULL, itertiary TEXT NOT NULL, optional BOOLEAN NO...
35.130841
92
0.578345
395
3,759
5.420253
0.167089
0.052312
0.071929
0.023821
0.44979
0.401214
0.371322
0.371322
0.371322
0.371322
0
0.001253
0.362862
3,759
106
93
35.462264
0.892693
0
0
0.505051
0
0
0.983772
0.041766
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4bae7f6bd2459eb85babda0f7acaea579297c16b
1,650
py
Python
move3.py
YugoNishio/CITBrains_2021linetrace2
a6d87c4ad59fb2d4d1ead3682fad1f28676be2fe
[ "MIT" ]
1
2021-04-14T13:58:34.000Z
2021-04-14T13:58:34.000Z
move3.py
YugoNishio/CITBrains_2021linetrace2
a6d87c4ad59fb2d4d1ead3682fad1f28676be2fe
[ "MIT" ]
null
null
null
move3.py
YugoNishio/CITBrains_2021linetrace2
a6d87c4ad59fb2d4d1ead3682fad1f28676be2fe
[ "MIT" ]
null
null
null
#coding:utf-8 import pigpio import time pi1 = pigpio.pi() rPIN1 = 13 rPIN2 = 19 lPIN1 = 18 lPIN2 = 12 rline = 16 lline = 20 pi1.set_mode(rPIN1, pigpio.OUTPUT) pi1.set_mode(rPIN2, pigpio.OUTPUT) pi1.set_mode(lPIN1, pigpio.OUTPUT) pi1.set_mode(lPIN2, pigpio.OUTPUT) pi1.set_mode(rline, pigpio.INPUT) pi1.set_mode(lline,...
20.37037
39
0.697576
297
1,650
3.693603
0.212121
0.114859
0.123063
0.213309
0.473108
0.179581
0.179581
0.179581
0.179581
0.179581
0
0.116312
0.145455
1,650
80
40
20.625
0.661702
0.115152
0
0.193548
0
0
0.009635
0
0
0
0
0
0
1
0.080645
false
0
0.032258
0
0.112903
0.048387
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
4bafaec6a1a35dadcaa608ed79ce877895a80a01
1,142
py
Python
zcls/model/attention_helper.py
ZJCV/PyCls
1ef59301646b6134f2ffcc009b4fd76550fa4089
[ "Apache-2.0" ]
110
2021-02-04T14:32:57.000Z
2022-03-30T01:51:56.000Z
zcls/model/attention_helper.py
likyoo/ZCls
568621aca3a8b090c93345f0858d52c5757f2f0e
[ "Apache-2.0" ]
8
2021-04-11T02:46:57.000Z
2021-12-14T19:30:58.000Z
zcls/model/attention_helper.py
likyoo/ZCls
568621aca3a8b090c93345f0858d52c5757f2f0e
[ "Apache-2.0" ]
20
2021-02-07T14:17:07.000Z
2022-03-22T05:20:40.000Z
# -*- coding: utf-8 -*- """ @date: 2020/12/30 下午4:44 @file: attention_helper.py @author: zj @description: """ from zcls.model.layers.global_context_block import GlobalContextBlock2D from zcls.model.layers.squeeze_and_excitation_block import SqueezeAndExcitationBlock2D from zcls.model.layers.non_local_embedded_gaussi...
42.296296
105
0.803853
117
1,142
7.598291
0.444444
0.044994
0.058493
0.085489
0.148481
0.08099
0
0
0
0
0
0.023786
0.116462
1,142
26
106
43.923077
0.857284
0.088441
0
0
0
0
0.121007
0.086157
0
0
0
0
0
1
0.066667
false
0
0.266667
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4bb4bf077eb85d6420546cf9c9159e92b3e94a0b
429
py
Python
src/paper/migrations/0037_paper_external_source.py
ResearchHub/ResearchHub-Backend-Open
d36dca33afae2d442690694bb2ab17180d84bcd3
[ "MIT" ]
18
2021-05-20T13:20:16.000Z
2022-02-11T02:40:18.000Z
src/paper/migrations/0037_paper_external_source.py
ResearchHub/ResearchHub-Backend-Open
d36dca33afae2d442690694bb2ab17180d84bcd3
[ "MIT" ]
109
2021-05-21T20:14:23.000Z
2022-03-31T20:56:10.000Z
src/paper/migrations/0037_paper_external_source.py
ResearchHub/ResearchHub-Backend-Open
d36dca33afae2d442690694bb2ab17180d84bcd3
[ "MIT" ]
4
2021-05-17T13:47:53.000Z
2022-02-12T10:48:21.000Z
# Generated by Django 2.2.11 on 2020-03-20 15:49 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('paper', '0036_auto_20200319_2159'), ] operations = [ migrations.AddField( model_name='paper', name='external_source...
22.578947
88
0.617716
49
429
5.285714
0.816327
0
0
0
0
0
0
0
0
0
0
0.111111
0.265734
429
18
89
23.833333
0.711111
0.107226
0
0
1
0
0.125984
0.060367
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4bb93c6806e19abe6bc23a43823e7fecb2f25f87
223
py
Python
globalModelParameters.py
jcavalieri8619/OCRerror_correct
bd7b96139a2b90cda5957eff75f516a31b052b3a
[ "MIT" ]
3
2018-03-12T07:31:12.000Z
2018-09-12T02:14:56.000Z
globalModelParameters.py
jcavalieri8619/OCRerror_correct
bd7b96139a2b90cda5957eff75f516a31b052b3a
[ "MIT" ]
null
null
null
globalModelParameters.py
jcavalieri8619/OCRerror_correct
bd7b96139a2b90cda5957eff75f516a31b052b3a
[ "MIT" ]
null
null
null
__project__ = 'OCRErrorCorrectpy3' __author__ = 'jcavalie' __email__ = "Jcavalieri8619@gmail.com" __date__ = '10/25/14' EpsilonTransition = None TransitionWeight = None outputsModel=None NUM_PARTITIONS=None EM_STEP=True
17.153846
38
0.798206
24
223
6.666667
0.875
0
0
0
0
0
0
0
0
0
0
0.055276
0.107623
223
12
39
18.583333
0.748744
0
0
0
0
0
0.26009
0.107623
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
4bb9ad61fda094bd12ad1a7aa25180b091e16883
403
py
Python
azbankgateways/urls.py
omidpypi/az-iranian-bank-gateways
9e1c557895580607f9258006e38c5adb42ac138a
[ "MIT" ]
10
2021-06-01T19:03:55.000Z
2022-03-27T11:53:58.000Z
azbankgateways/urls.py
omidpypi/az-iranian-bank-gateways
9e1c557895580607f9258006e38c5adb42ac138a
[ "MIT" ]
null
null
null
azbankgateways/urls.py
omidpypi/az-iranian-bank-gateways
9e1c557895580607f9258006e38c5adb42ac138a
[ "MIT" ]
5
2021-07-01T10:36:38.000Z
2022-03-28T07:30:50.000Z
from django.urls import path from .apps import AZIranianBankGatewaysConfig from .views import callback_view, go_to_bank_gateway app_name = AZIranianBankGatewaysConfig.name _urlpatterns = [ path('callback/', callback_view, name='callback'), path('go-to-bank-gateway/', go_to_bank_gateway, name='go-to-bank-gatew...
26.866667
79
0.776675
54
403
5.5
0.388889
0.053872
0.107744
0.20202
0
0
0
0
0
0
0
0
0.119107
403
14
80
28.785714
0.83662
0
0
0
0
0
0.133995
0
0
0
0
0
0
1
0.1
false
0
0.3
0.1
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4bbd736bcc0a05e50e32d1dd464ae91871782b75
991
py
Python
api/auth.py
YiSang665/fastapi-async-databases
f9041c5b607eefe9d266ab490190c3ace36b0e2f
[ "MIT" ]
null
null
null
api/auth.py
YiSang665/fastapi-async-databases
f9041c5b607eefe9d266ab490190c3ace36b0e2f
[ "MIT" ]
null
null
null
api/auth.py
YiSang665/fastapi-async-databases
f9041c5b607eefe9d266ab490190c3ace36b0e2f
[ "MIT" ]
null
null
null
from fastapi import APIRouter, Depends, HTTPException, status from fastapi.security import OAuth2PasswordRequestForm from .database import db, User from .schemas import Token from passlib.hash import pbkdf2_sha256 from .token import create_access_token router = APIRouter(tags=["Auth"]) @router.post("/login", respon...
38.115385
69
0.709384
120
991
5.7
0.475
0.080409
0.049708
0.081871
0.111111
0.111111
0
0
0
0
0
0.019901
0.188698
991
25
70
39.64
0.830846
0
0
0
0
0
0.084763
0
0
0
0
0
0
1
0
false
0.190476
0.285714
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
1
0
0
0
0
0
1
2989580e6191d95e97aef6130d5cfe882748f925
791
py
Python
scale/job/migrations/0045_auto_20180830_1812.py
kaydoh/scale
1b6a3b879ffe83e10d3b9d9074835a4c3bf476ee
[ "Apache-2.0" ]
121
2015-11-18T18:15:33.000Z
2022-03-10T01:55:00.000Z
scale/job/migrations/0045_auto_20180830_1812.py
kaydoh/scale
1b6a3b879ffe83e10d3b9d9074835a4c3bf476ee
[ "Apache-2.0" ]
1,415
2015-12-23T23:36:04.000Z
2022-01-07T14:10:09.000Z
scale/job/migrations/0045_auto_20180830_1812.py
kaydoh/scale
1b6a3b879ffe83e10d3b9d9074835a4c3bf476ee
[ "Apache-2.0" ]
66
2015-12-03T20:38:56.000Z
2020-07-27T15:28:11.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.15 on 2018-08-30 18:12 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('job', '0044_jobtypetag_job_type'), ] operations = [ migrations.AddField( ...
25.516129
63
0.582807
77
791
5.792208
0.636364
0.060538
0.100897
0.134529
0.215247
0.156951
0
0
0
0
0
0.044964
0.297092
791
30
64
26.366667
0.757194
0.087231
0
0.347826
1
0
0.13491
0.03338
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
298cf01c23a1603b90e233c69c372105adfe2a43
2,918
py
Python
main.py
KFChinese/Automatic-Quora-Question-Asker-
9adaeda174054a4c2f0c2a98310424c9b9573caf
[ "MIT" ]
null
null
null
main.py
KFChinese/Automatic-Quora-Question-Asker-
9adaeda174054a4c2f0c2a98310424c9b9573caf
[ "MIT" ]
null
null
null
main.py
KFChinese/Automatic-Quora-Question-Asker-
9adaeda174054a4c2f0c2a98310424c9b9573caf
[ "MIT" ]
null
null
null
from os import system, name from selenium import webdriver from selenium.webdriver.common.keys import Keys from time import sleep import getpass def clear(): # for windows if name == "nt": _ = system("cls") # for mac and linux(here, os.name is 'posix') else: _ = system("clear") def...
26.770642
119
0.551405
359
2,918
4.395543
0.448468
0.026616
0.032319
0.036122
0.072243
0.072243
0
0
0
0
0
0.016451
0.312543
2,918
108
120
27.018519
0.770189
0.018849
0
0.211765
0
0.023529
0.372378
0.032867
0
0
0
0
0
1
0.058824
false
0.070588
0.058824
0
0.117647
0.258824
0
0
0
null
0
0
0
0
0
0
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
298d17b49e74f6e95c3a390673c9ff6264aa86fb
3,917
py
Python
codes/web/handlers/MainHandler.py
sharpdeep/MBox_Server
33016c6837755ae3168dcd664f97e6697ec52676
[ "MIT" ]
null
null
null
codes/web/handlers/MainHandler.py
sharpdeep/MBox_Server
33016c6837755ae3168dcd664f97e6697ec52676
[ "MIT" ]
null
null
null
codes/web/handlers/MainHandler.py
sharpdeep/MBox_Server
33016c6837755ae3168dcd664f97e6697ec52676
[ "MIT" ]
null
null
null
#coding=utf-8 import tornado.web import sys sys.path.append('..') import setting from core.model import User import time class BaseHandler(tornado.web.RequestHandler): def get_current_user(self): return self.get_secure_cookie('user') class LoginHandler(BaseHandler): def get(self): self.render...
34.06087
173
0.543018
455
3,917
4.628571
0.230769
0.051282
0.022792
0.045109
0.493352
0.451567
0.409307
0.340456
0.285375
0.285375
0
0.012696
0.316314
3,917
114
174
34.359649
0.773712
0.003064
0
0.468085
0
0
0.037549
0
0
0
0
0
0
0
null
null
0.021277
0.053191
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
298ecef61e36996f973b0c6748c6ae62c9a82217
524
py
Python
payment/backends/xsolla.py
anthill-gaming/store
5589ad903a9fe86dd711be718400dbe536bdcb06
[ "MIT" ]
null
null
null
payment/backends/xsolla.py
anthill-gaming/store
5589ad903a9fe86dd711be718400dbe536bdcb06
[ "MIT" ]
null
null
null
payment/backends/xsolla.py
anthill-gaming/store
5589ad903a9fe86dd711be718400dbe536bdcb06
[ "MIT" ]
null
null
null
from .base import BasePaymentBackend import os class XsollaBackend(BasePaymentBackend): def __init__(self, project_id, project_key, merchant_id, api_key, sandbox=False): super().__init__(sandbox) self.project_id = project_id self.project_key = os.getenv('XSOLLA_PROJECT_KEY', project_key) ...
34.933333
85
0.711832
69
524
5.014493
0.376812
0.115607
0.121387
0.115607
0
0
0
0
0
0
0
0
0.187023
524
14
86
37.428571
0.812207
0
0
0
0
0
0.09542
0
0
0
0
0
0
1
0.090909
false
0.090909
0.181818
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
2996e61512f43a4089c250ce0cbbaeaf33540197
2,278
py
Python
class_fi_realtime_ui.py
inomuh/Camera-Fault-Injection-Demo-Tool
4edd69c054d59a27eb5b98c6a8800bf612e9f8a3
[ "Apache-2.0" ]
1
2021-11-12T07:38:38.000Z
2021-11-12T07:38:38.000Z
class_fi_realtime_ui.py
inomuh/Camera-Fault-Injection-Demo-Tool
4edd69c054d59a27eb5b98c6a8800bf612e9f8a3
[ "Apache-2.0" ]
5
2021-12-02T11:29:27.000Z
2021-12-06T12:02:56.000Z
class_fi_realtime_ui.py
inomuh/Camera-Fault-Injection-Demo-Tool
4edd69c054d59a27eb5b98c6a8800bf612e9f8a3
[ "Apache-2.0" ]
5
2021-12-06T12:56:06.000Z
2022-02-17T07:08:18.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Real-time Fault Injection Python Class For Camera FI Demo Tool """ import cv2 from cv_bridge import CvBridge class RealtimeImageFault: """ TOF/RGB Camera Image (Realtime) Fault Library For Camera FI Demo Tool ----------------------------------------------...
28.835443
74
0.58604
252
2,278
5.206349
0.281746
0.083841
0.077744
0.091463
0.252287
0.154726
0.154726
0.10747
0.10747
0
0
0.013033
0.258999
2,278
78
75
29.205128
0.764218
0.47849
0
0
0
0
0
0
0
0
0
0
0
1
0.44
false
0
0.08
0
0.8
0
0
0
0
null
0
0
0
0
0
0
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
2998c5e7f4a2b98bdd3dec7d2221b95f32510de1
876
py
Python
tests/test_utils.py
wkcn/MobulaOP
ae693a6a55824e9a0785f5b9befde6bd8ecccfd6
[ "MIT" ]
161
2018-05-07T13:30:31.000Z
2022-01-05T09:39:44.000Z
tests/test_utils.py
wkcn/MobulaOP
ae693a6a55824e9a0785f5b9befde6bd8ecccfd6
[ "MIT" ]
88
2018-05-14T21:06:30.000Z
2020-09-27T10:48:08.000Z
tests/test_utils.py
wkcn/MobulaOP
ae693a6a55824e9a0785f5b9befde6bd8ecccfd6
[ "MIT" ]
23
2018-07-19T12:40:00.000Z
2020-08-24T01:02:29.000Z
from mobula.utils import get_git_hash def test_get_git_hash(): git_hash = get_git_hash() assert type(git_hash) == str, (git_hash, type(git_hash)) assert len(git_hash) == 7 or git_hash == 'custom', git_hash def test_edict(): from mobula.internal.edict import edict data = edict(a=3, b=4) asser...
21.9
63
0.579909
144
876
3.423611
0.243056
0.141988
0.121704
0.056795
0.241379
0.105477
0.105477
0
0
0
0
0.025
0.269406
876
39
64
22.461538
0.745313
0
0
0.064516
0
0
0.025114
0
0
0
0
0
0.612903
1
0.064516
false
0
0.064516
0
0.129032
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
299d25710b19d08e34d7c596ea9cf3ff90a538dd
7,189
py
Python
video_chat/ui/Ui_main.py
injahow/python-demo
f21cf3a258a6fa1b1724a8148de890bf8397ed95
[ "MIT" ]
2
2020-10-15T03:32:04.000Z
2022-03-06T04:19:46.000Z
video_chat/ui/Ui_main.py
injahow/python-demo
f21cf3a258a6fa1b1724a8148de890bf8397ed95
[ "MIT" ]
null
null
null
video_chat/ui/Ui_main.py
injahow/python-demo
f21cf3a258a6fa1b1724a8148de890bf8397ed95
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'd:\Users\injah\Documents\GitHub\python-demo\video_chat\ui\main.ui' # # Created by: PyQt5 UI code generator 5.15.4 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless...
50.985816
121
0.682431
818
7,189
5.836186
0.202934
0.102639
0.079598
0.045245
0.315249
0.277755
0.198995
0.11814
0.108504
0.108504
0
0.047436
0.202393
7,189
140
122
51.35
0.785141
0.045486
0
0.18254
1
0
0.071939
0
0
0
0
0
0
1
0.015873
false
0
0.007937
0
0.031746
0
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
29b0a7556b2ef28f49cbf16cd8a8c1dc57d216ae
10,781
py
Python
algoritmo_3/feature_tools/comparison_functions.py
cinai/identification-algorithms
e7e540ee06746bb3d556736043989a773757ee36
[ "MIT" ]
null
null
null
algoritmo_3/feature_tools/comparison_functions.py
cinai/identification-algorithms
e7e540ee06746bb3d556736043989a773757ee36
[ "MIT" ]
null
null
null
algoritmo_3/feature_tools/comparison_functions.py
cinai/identification-algorithms
e7e540ee06746bb3d556736043989a773757ee36
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import numpy as np import time from geopy.distance import vincenty from auxiliar_functions import * #get_neighbours_index: np.matrix int -> np.array #obtiene los vecinos del usuario "user", #considerando como vecino a quien comparte dos ubicaciones def get_neighbours_index(rois_a,shared_rois,us...
40.992395
176
0.573602
1,380
10,781
4.22029
0.136957
0.047218
0.041552
0.075549
0.639423
0.598043
0.570227
0.546188
0.546188
0.518201
0
0.01826
0.329469
10,781
263
177
40.992395
0.787384
0.070958
0
0.615044
0
0
0.001401
0
0
0
0
0
0
0
null
null
0.00885
0.017699
null
null
0.061947
0
0
0
null
0
0
0
0
0
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
29b6c0816010c061a19173a1298d25bf0ac4dd88
1,202
py
Python
backend/apps/image_net/migrations/0001_initial.py
mjroson/base-ai
1bffc465d66193f1c52586c9af180ed778ed8210
[ "MIT" ]
null
null
null
backend/apps/image_net/migrations/0001_initial.py
mjroson/base-ai
1bffc465d66193f1c52586c9af180ed778ed8210
[ "MIT" ]
16
2020-01-28T22:23:32.000Z
2022-03-11T23:26:40.000Z
backend/apps/image_net/migrations/0001_initial.py
mjroson/base-ai
1bffc465d66193f1c52586c9af180ed778ed8210
[ "MIT" ]
null
null
null
# Generated by Django 2.0.6 on 2018-08-18 23:56 import django.contrib.postgres.fields import django.contrib.postgres.fields.jsonb from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( ...
35.352941
147
0.59817
119
1,202
5.915966
0.588235
0.073864
0.119318
0.153409
0.225852
0
0
0
0
0
0
0.020501
0.269551
1,202
33
148
36.424242
0.781321
0.037438
0
0
1
0
0.100433
0
0
0
0
0
0
1
0
false
0
0.115385
0
0.269231
0
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
29bd254e51860c8b48182182d2c26569737db06a
1,643
py
Python
psana/psana/psexp/mpi_ds.py
AntoineDujardin/lcls2
8b9d2815497fbbabb4d37800fd86a7be1728b552
[ "BSD-3-Clause-LBNL" ]
null
null
null
psana/psana/psexp/mpi_ds.py
AntoineDujardin/lcls2
8b9d2815497fbbabb4d37800fd86a7be1728b552
[ "BSD-3-Clause-LBNL" ]
null
null
null
psana/psana/psexp/mpi_ds.py
AntoineDujardin/lcls2
8b9d2815497fbbabb4d37800fd86a7be1728b552
[ "BSD-3-Clause-LBNL" ]
null
null
null
import os from .tools import mode from .ds_base import DataSourceBase from psana.psexp.run import RunParallel class InvalidEventBuilderCores(Exception): pass if mode == 'mpi': from mpi4py import MPI comm = MPI.COMM_WORLD rank = comm.Get_rank() size = comm.Get_size() class MPIDataSource(DataSourceBase...
33.530612
173
0.629945
215
1,643
4.669767
0.427907
0.055777
0.032869
0.041833
0
0
0
0
0
0
0
0.005858
0.272672
1,643
48
174
34.229167
0.83431
0.093122
0
0
0
0.028571
0.086869
0
0
0
0
0.020833
0.028571
1
0.085714
false
0.028571
0.142857
0.028571
0.314286
0
0
0
0
null
0
0
0
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
29c10de0acc271e0bc2fa93bde45311db2d62d09
1,160
py
Python
test_discretization/gmm_on_data.py
wsgan001/AnomalyDetection
397673dc6ce978361a3fc6f2fd34879f69bc962a
[ "MIT" ]
null
null
null
test_discretization/gmm_on_data.py
wsgan001/AnomalyDetection
397673dc6ce978361a3fc6f2fd34879f69bc962a
[ "MIT" ]
null
null
null
test_discretization/gmm_on_data.py
wsgan001/AnomalyDetection
397673dc6ce978361a3fc6f2fd34879f69bc962a
[ "MIT" ]
1
2020-03-16T21:50:52.000Z
2020-03-16T21:50:52.000Z
import numpy as np import matplotlib.pyplot as plt from sklearn import mixture import matplotlib.pyplot import matplotlib.mlab samples = 100000 data = np.zeros(samples) mu, sigma = 0.05, 0.015 data[0:samples/2] = np.random.normal(mu, sigma, (samples/2)) mu, sigma = 0.18, 0.01 data[(samples/2):samples] = np.random.n...
27.619048
106
0.697414
197
1,160
4.060914
0.385787
0.045
0.0975
0.0675
0.2675
0.15875
0.0725
0
0
0
0
0.074219
0.117241
1,160
41
107
28.292683
0.707031
0.037069
0
0
0
0
0.030603
0
0
0
0
0
0
0
null
null
0
0.185185
null
null
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
29c643a9c62e12685de934e016afa4d56292fa84
1,091
py
Python
apps/citizens/migrations/0001_initial.py
siauPatrick/ztpd
cacc4510df07ceaf2422c2f87794a9b8df6c2421
[ "BSD-3-Clause" ]
null
null
null
apps/citizens/migrations/0001_initial.py
siauPatrick/ztpd
cacc4510df07ceaf2422c2f87794a9b8df6c2421
[ "BSD-3-Clause" ]
null
null
null
apps/citizens/migrations/0001_initial.py
siauPatrick/ztpd
cacc4510df07ceaf2422c2f87794a9b8df6c2421
[ "BSD-3-Clause" ]
1
2018-07-24T10:23:32.000Z
2018-07-24T10:23:32.000Z
# Generated by Django 2.0.3 on 2018-03-24 22:28 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='AnimalKind', fields=[ ...
33.060606
140
0.590284
113
1,091
5.557522
0.504425
0.038217
0.090764
0.105096
0.39172
0.347134
0.251592
0.251592
0.251592
0.251592
0
0.027883
0.27681
1,091
32
141
34.09375
0.768061
0.041247
0
0.4
1
0
0.088123
0
0
0
0
0
0
1
0
false
0
0.08
0
0.24
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
29cbc23f70e5f2dad3168e408960e333324f7c8b
377
py
Python
2021/d14.py
zmerlynn/advent-of-code
20daa2df1ff57fff89fc88ea778cae59755424e3
[ "BSD-3-Clause" ]
null
null
null
2021/d14.py
zmerlynn/advent-of-code
20daa2df1ff57fff89fc88ea778cae59755424e3
[ "BSD-3-Clause" ]
null
null
null
2021/d14.py
zmerlynn/advent-of-code
20daa2df1ff57fff89fc88ea778cae59755424e3
[ "BSD-3-Clause" ]
1
2021-12-25T00:12:44.000Z
2021-12-25T00:12:44.000Z
#!/usr/bin/python3 import collections import fileinput import itertools import math import re import sys def solve(inp): start = next(inp).strip() next(inp) rules = {} for l in inp: pair, middle = l.strip().split() rules[ (pair[0], pair[1]) ] = middle print(rules) if __name_...
17.952381
46
0.618037
51
377
4.411765
0.607843
0.062222
0
0
0
0
0
0
0
0
0
0.013986
0.241379
377
20
47
18.85
0.772727
0.045093
0
0
0
0
0.022284
0
0
0
0
0
0
1
0.0625
false
0
0.375
0
0.4375
0.0625
0
0
0
null
0
0
0
0
0
0
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
29cd448203e8d4803f58d0a9f25912d5db426531
940
py
Python
src/front-door/azext_front_door/vendored_sdks/operations/__init__.py
michimune/azure-cli-extensions
697e2c674e5c0825d44c72d714542fe01331e107
[ "MIT" ]
1
2022-03-22T15:02:32.000Z
2022-03-22T15:02:32.000Z
src/front-door/azext_front_door/vendored_sdks/operations/__init__.py
michimune/azure-cli-extensions
697e2c674e5c0825d44c72d714542fe01331e107
[ "MIT" ]
1
2021-02-10T22:04:59.000Z
2021-02-10T22:04:59.000Z
src/front-door/azext_front_door/vendored_sdks/operations/__init__.py
michimune/azure-cli-extensions
697e2c674e5c0825d44c72d714542fe01331e107
[ "MIT" ]
1
2021-06-03T19:31:10.000Z
2021-06-03T19:31:10.000Z
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
37.6
76
0.679787
82
940
7.634146
0.682927
0.127796
0.079872
0
0
0
0
0
0
0
0
0.0012
0.11383
940
24
77
39.166667
0.7503
0.480851
0
0
0
0
0.228512
0.109015
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
29d06ef1ee0dcd745caaf24f3147ac031c2d324d
298
py
Python
leetCode/algorithms/easy/minimum_absolute_difference.py
ferhatelmas/algo
a7149c7a605708bc01a5cd30bf5455644cefd04d
[ "WTFPL" ]
25
2015-01-21T16:39:18.000Z
2021-05-24T07:01:24.000Z
leetCode/algorithms/easy/minimum_absolute_difference.py
gauravsingh58/algo
397859a53429e7a585e5f6964ad24146c6261326
[ "WTFPL" ]
2
2020-09-30T19:39:36.000Z
2020-10-01T17:15:16.000Z
leetCode/algorithms/easy/minimum_absolute_difference.py
ferhatelmas/algo
a7149c7a605708bc01a5cd30bf5455644cefd04d
[ "WTFPL" ]
15
2015-01-21T16:39:27.000Z
2020-10-01T17:00:22.000Z
from typing import List class Solution: def minimumAbsDifference(self, arr: List[int]) -> List[List[int]]: arr.sort() l = len(arr) m = min(arr[i] - arr[i - 1] for i in range(1, l)) return [[arr[i - 1], arr[i]] for i in range(1, l) if arr[i] - arr[i - 1] == m]
29.8
86
0.540268
52
298
3.096154
0.442308
0.149068
0.093168
0.099379
0.273292
0.161491
0
0
0
0
0
0.023364
0.281879
298
9
87
33.111111
0.728972
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
29d9d00fc4f3056338b16946acc87923e5e94e7f
6,486
py
Python
sdk/python/pulumi_azure/siterecovery/get_protection_container.py
henriktao/pulumi-azure
f1cbcf100b42b916da36d8fe28be3a159abaf022
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure/siterecovery/get_protection_container.py
henriktao/pulumi-azure
f1cbcf100b42b916da36d8fe28be3a159abaf022
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure/siterecovery/get_protection_container.py
henriktao/pulumi-azure
f1cbcf100b42b916da36d8fe28be3a159abaf022
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
41.845161
164
0.697965
744
6,486
5.77957
0.181452
0.069535
0.079535
0.022326
0.556279
0.50814
0.418372
0.341395
0.312093
0.296744
0
0.000198
0.220937
6,486
154
165
42.116883
0.850782
0.299414
0
0.08046
1
0
0.147436
0.056777
0
0
0
0
0
1
0.103448
false
0
0.057471
0.045977
0.264368
0
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
29de231d51a03df1039dc9bf2beb493371fb109e
2,097
py
Python
Network_and_802.11/scapy/check_if_rogue_dhcp.py
hacky1997/My-Gray-Hacker-Resources
e9b10ac7b0e557a9e624a5a6e761f9af4488d777
[ "MIT" ]
14
2017-06-14T06:10:07.000Z
2019-02-22T03:21:15.000Z
Network_and_802.11/scapy/check_if_rogue_dhcp.py
rookie-12/My-Gray-Hacker-Resources
e9b10ac7b0e557a9e624a5a6e761f9af4488d777
[ "MIT" ]
1
2021-04-30T21:19:32.000Z
2021-04-30T21:19:32.000Z
Network_and_802.11/scapy/check_if_rogue_dhcp.py
rookie-12/My-Gray-Hacker-Resources
e9b10ac7b0e557a9e624a5a6e761f9af4488d777
[ "MIT" ]
7
2015-10-01T09:47:05.000Z
2022-01-21T14:25:37.000Z
#!/usr/bin/env python from scapy.all import * import threading from colorama import Back from sys import argv from time import sleep global lock lock = threading.Lock() def BootpPacket(): fm, hw = get_if_raw_hwaddr(scapy.all.conf.iface) ether=Ether(dst="ff:ff:ff:ff:ff:ff") ip=IP(src="0.0.0.0",dst="255.25...
28.726027
99
0.531712
253
2,097
4.363636
0.438735
0.040761
0.057971
0.021739
0.15942
0.148551
0.105072
0.105072
0.105072
0.105072
0
0.026316
0.347639
2,097
73
100
28.726027
0.780702
0.041488
0
0.322581
0
0
0.078148
0
0
0
0
0
0
0
null
null
0.048387
0.080645
null
null
0.048387
0
0
0
null
0
0
0
0
0
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
29ea059959cb0e9914964fb47f36199ee4d4d66c
576
py
Python
models/Connection.py
gve-sw/GVE_DevNet_IOS_Configuration_Change_Dashboard
b8f53863e4ccc2f25cde12b472d4f1043340c8e1
[ "RSA-MD" ]
null
null
null
models/Connection.py
gve-sw/GVE_DevNet_IOS_Configuration_Change_Dashboard
b8f53863e4ccc2f25cde12b472d4f1043340c8e1
[ "RSA-MD" ]
null
null
null
models/Connection.py
gve-sw/GVE_DevNet_IOS_Configuration_Change_Dashboard
b8f53863e4ccc2f25cde12b472d4f1043340c8e1
[ "RSA-MD" ]
null
null
null
from genie.testbed import load from prettyprinter import pprint class PYATSConnection: def __init__(self): self.__testbed = load("./res/testbeds/testbed.yaml") def __find_device_by_ip(self, ip): for device_name, device in self.__testbed.devices.items(): if ip == str(device.connections['ssh']['ip']): retu...
25.043478
60
0.734375
82
576
4.865854
0.487805
0.055138
0.06015
0.070175
0
0
0
0
0
0
0
0
0.151042
576
22
61
26.181818
0.815951
0
0
0.111111
0
0
0.065972
0.046875
0
0
0
0
0
1
0.166667
false
0
0.111111
0
0.555556
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
29ee713c8d8cba87a51a85740b181b3468d6f671
11,598
py
Python
_unittest/test_3dlayout_modeler.py
sparfenyuk/PyAEDT
efe8d219be974fa8a164d84ca9bc5c0e1b32256c
[ "MIT" ]
null
null
null
_unittest/test_3dlayout_modeler.py
sparfenyuk/PyAEDT
efe8d219be974fa8a164d84ca9bc5c0e1b32256c
[ "MIT" ]
null
null
null
_unittest/test_3dlayout_modeler.py
sparfenyuk/PyAEDT
efe8d219be974fa8a164d84ca9bc5c0e1b32256c
[ "MIT" ]
null
null
null
import os import time try: import pytest except ImportError: import _unittest_ironpython.conf_unittest as pytest # Setup paths for module imports from _unittest.conftest import scratch_path import gc # Import required modules from pyaedt import Hfss3dLayout from pyaedt.hfss3dlayout import SweepString from pya...
44.953488
126
0.660717
1,417
11,598
5.177841
0.243472
0.097451
0.071146
0.072509
0.418972
0.339103
0.26673
0.199537
0.182363
0.13098
0
0.051118
0.220728
11,598
257
127
45.128405
0.760677
0.013537
0
0.072816
0
0
0.124967
0.019589
0
0
0
0
0.305825
1
0.203884
false
0.029126
0.048544
0
0.257282
0
0
0
0
null
0
0
0
0
0
0
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
29f0e77fba131458e6ba7c4ac61c39e65e7f667c
204
py
Python
23/aoc23-2-parallel.py
combs/AdventOfCode2021
925df8a3526cb9c0dde368cf828673f345096e06
[ "MIT" ]
null
null
null
23/aoc23-2-parallel.py
combs/AdventOfCode2021
925df8a3526cb9c0dde368cf828673f345096e06
[ "MIT" ]
null
null
null
23/aoc23-2-parallel.py
combs/AdventOfCode2021
925df8a3526cb9c0dde368cf828673f345096e06
[ "MIT" ]
null
null
null
import pyximport pyximport.install() from aoc23 import do_it_parallel with open("data.sample2.txt", "r") as fh: board = fh.readlines() board = [i.rstrip() for i in board] do_it_parallel(board)
18.545455
41
0.710784
32
204
4.40625
0.6875
0.056738
0.170213
0
0
0
0
0
0
0
0
0.017647
0.166667
204
10
42
20.4
0.811765
0
0
0
0
0
0.083333
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
29fe7058d9a33d0a84b0bf304c6749158eaa8829
700
py
Python
surefire/__init__.py
jasonkriss/surefire
55365939dbb4a7e41ec28fa40471a6c1e8dd23a1
[ "MIT" ]
null
null
null
surefire/__init__.py
jasonkriss/surefire
55365939dbb4a7e41ec28fa40471a6c1e8dd23a1
[ "MIT" ]
null
null
null
surefire/__init__.py
jasonkriss/surefire
55365939dbb4a7e41ec28fa40471a6c1e8dd23a1
[ "MIT" ]
null
null
null
import torch from torch.nn import Module, ModuleDict class EncoderDict(ModuleDict): @property def out_features(self): return sum((encoder.out_features for encoder in self.values())) class DecoderDict(ModuleDict): pass class ECD(Module): def __init__(self, encoders, combiner, decoders): ...
26.923077
82
0.675714
84
700
5.440476
0.428571
0.039387
0.056893
0
0
0
0
0
0
0
0
0.001825
0.217143
700
25
83
28
0.832117
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0.055556
0.111111
0.055556
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
1
0
0
0
0
0
1
4b01b445a7b844d0acf54172d970d2457aff0aa1
169
py
Python
notebooks/exercise_solutions/n01_vector_dot_product.py
pydy/pydy-tutorial-human-standing
72b1d8513e339e9b10e501bd3490caa3fa997bc4
[ "CC-BY-4.0" ]
134
2015-05-19T15:24:18.000Z
2022-03-12T09:39:03.000Z
notebooks/exercise_solutions/n01_vector_dot_product.py
pydy/pydy-tutorial-human-standing
72b1d8513e339e9b10e501bd3490caa3fa997bc4
[ "CC-BY-4.0" ]
46
2015-05-05T18:08:20.000Z
2022-01-28T11:12:42.000Z
notebooks/exercise_solutions/n01_vector_dot_product.py
pydy/pydy-tutorial-pycon-2014
72b1d8513e339e9b10e501bd3490caa3fa997bc4
[ "CC-BY-4.0" ]
62
2015-06-16T01:50:51.000Z
2022-02-26T07:39:41.000Z
from sympy import acos N = ReferenceFrame('N') v1 = a * N.x + b * N.y + a * N.z v2 = b * N.x + a * N.y + b * N.z acos(v1.dot(v2) / (v1.magnitude() * v2.magnitude()))
18.777778
52
0.532544
35
169
2.571429
0.428571
0.066667
0
0
0
0
0
0
0
0
0
0.046875
0.242604
169
8
53
21.125
0.65625
0
0
0
0
0
0.005917
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4b02b70012ac0b16f0190bff37bfe2a1bc29671d
1,745
py
Python
Projects/Cannes/src/scan_sessions/scanned.py
ShipJ/Code
6ee1e207381447d0427cce4121f2e40ce65c13fa
[ "MIT" ]
null
null
null
Projects/Cannes/src/scan_sessions/scanned.py
ShipJ/Code
6ee1e207381447d0427cce4121f2e40ce65c13fa
[ "MIT" ]
null
null
null
Projects/Cannes/src/scan_sessions/scanned.py
ShipJ/Code
6ee1e207381447d0427cce4121f2e40ce65c13fa
[ "MIT" ]
null
null
null
import pandas as pd pd.set_option('display.width', 380) import numpy as np import sys from Code.config import get_path path = get_path() delegates16 = pd.DataFrame(pd.read_csv(path+'/ScanSessions16/2016Delegates.csv', usecols=['Delegate_ID', 'FestivalGenericName', 'ProductName'...
34.9
116
0.641834
182
1,745
6.021978
0.450549
0.10219
0.035584
0.046533
0.104015
0.104015
0.104015
0
0
0
0
0.037993
0.200573
1,745
49
117
35.612245
0.74767
0
0
0
0
0
0.281437
0.062874
0
0
0
0
0
0
null
null
0
0.153846
null
null
0.038462
0
0
0
null
0
0
0
0
0
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
4b0fc29d4c964093ffe143ad8d599af99ad1cd5d
341
py
Python
db_models/User.py
Batya02/garant-bot
751bed648e72cf7cac19fb76d475c00e9e12a0e4
[ "BSD-3-Clause" ]
1
2021-06-10T11:44:36.000Z
2021-06-10T11:44:36.000Z
db_models/User.py
Batya02/garant-bot
751bed648e72cf7cac19fb76d475c00e9e12a0e4
[ "BSD-3-Clause" ]
null
null
null
db_models/User.py
Batya02/garant-bot
751bed648e72cf7cac19fb76d475c00e9e12a0e4
[ "BSD-3-Clause" ]
1
2021-07-14T09:40:08.000Z
2021-07-14T09:40:08.000Z
from orm import Model, String, Integer, DateTime, Float from objects.globals import db, metadata class User(Model): __tablename__ = "users" __database__ = db __metadata__ = metadata id = Integer(primary_key=True) user_id = Integer() username = String(max_length=100) created = DateTime() ...
22.733333
55
0.692082
40
341
5.525
0.675
0.090498
0
0
0
0
0
0
0
0
0
0.011236
0.217009
341
15
56
22.733333
0.816479
0
0
0
0
0
0.01462
0
0
0
0
0
0
1
0
false
0
0.181818
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
4b1819d11af8902e4991eae176f68a5f99b03d08
4,204
py
Python
anvil/components/helpers/db.py
timjr/Openstack-Anvil
5a8199cfef2a7cd83d1886aaa6aa8e0b24cd589d
[ "Apache-2.0" ]
1
2021-06-29T06:09:58.000Z
2021-06-29T06:09:58.000Z
anvil/components/helpers/db.py
timjr/Openstack-Anvil
5a8199cfef2a7cd83d1886aaa6aa8e0b24cd589d
[ "Apache-2.0" ]
null
null
null
anvil/components/helpers/db.py
timjr/Openstack-Anvil
5a8199cfef2a7cd83d1886aaa6aa8e0b24cd589d
[ "Apache-2.0" ]
null
null
null
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright (C) 2012 Yahoo! Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.or...
32.589147
108
0.60942
529
4,204
4.769376
0.362949
0.023781
0.023781
0.026159
0.263179
0.191042
0.176774
0.118906
0.095125
0.095125
0
0.004577
0.27236
4,204
128
109
32.84375
0.820203
0.233111
0
0.292135
0
0
0.156672
0
0
0
0
0
0
1
0.05618
false
0.067416
0.044944
0
0.134831
0
0
0
0
null
0
0
0
0
0
0
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
4b18d326804ee98ba76d822ffcf4f500695d8c9b
41,221
py
Python
verification/LMR_verify_gridRNL.py
frodre/LMR
4c00d3f9db96447e69bd3f426d59524f7b5f3ef5
[ "BSD-3-Clause" ]
17
2018-08-27T18:50:36.000Z
2021-03-17T22:48:55.000Z
verification/LMR_verify_gridRNL.py
mingsongli/LMR
4c00d3f9db96447e69bd3f426d59524f7b5f3ef5
[ "BSD-3-Clause" ]
5
2018-10-15T22:13:27.000Z
2019-04-26T11:45:58.000Z
verification/LMR_verify_gridRNL.py
mingsongli/LMR
4c00d3f9db96447e69bd3f426d59524f7b5f3ef5
[ "BSD-3-Clause" ]
11
2018-10-11T19:35:34.000Z
2021-08-17T12:08:11.000Z
""" Module: LMR_verify_gridRNL.py Purpose: Generates spatial verification statistics of various LMR gridded fields against 20th century reanalyses. Originator: Robert Tardif, U. of Washington, March 2016 Revisions: """ import matplotlib # need to do this backend when running remotely or to suppress fig...
41.976578
179
0.591689
5,946
41,221
3.938614
0.118399
0.018831
0.024083
0.016653
0.61685
0.584995
0.542722
0.494769
0.443998
0.41603
0
0.046091
0.219961
41,221
981
180
42.019368
0.682248
0.182941
0
0.40566
1
0
0.09737
0.008978
0
0
0
0
0
1
0
false
0
0.02044
0
0.02044
0.056604
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
4b1ebb0d90ff39cc14f413252e1eeb6da38a3c4e
364
py
Python
core/common/service_code.py
jiangxuewen16/hq-crawler
f03ec1e454513307e335943f224f4d927eaf2bbf
[ "MIT" ]
1
2021-02-25T08:33:40.000Z
2021-02-25T08:33:40.000Z
core/common/service_code.py
jiangxuewen16/hq-crawler
f03ec1e454513307e335943f224f4d927eaf2bbf
[ "MIT" ]
null
null
null
core/common/service_code.py
jiangxuewen16/hq-crawler
f03ec1e454513307e335943f224f4d927eaf2bbf
[ "MIT" ]
2
2021-03-08T07:25:16.000Z
2021-12-07T15:28:02.000Z
from collections import namedtuple from enum import Enum, unique """ 系统定义的service code """ @unique class ServiceCode(Enum): value = namedtuple('value', 'code msg') # 具名元组(code msg) param_not_exists = value(100132, '参数不能为空') insert_failure = value(100133, '新增失败') other_failure = value(100999, '...
20.222222
61
0.681319
44
364
5.522727
0.636364
0.057613
0
0
0
0
0
0
0
0
0
0.064626
0.192308
364
17
62
21.411765
0.761905
0.038462
0
0
0
0
0.095975
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.888889
0
0
0
0
null
0
0
0
0
0
0
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
4b26a8aa9bbb97cd489f337da16aade30f6787d9
240
py
Python
ex013.py
thiagobachiega/python
493b6bdee9c94e1ae8d4db06c8e5295a96f8922c
[ "MIT" ]
null
null
null
ex013.py
thiagobachiega/python
493b6bdee9c94e1ae8d4db06c8e5295a96f8922c
[ "MIT" ]
null
null
null
ex013.py
thiagobachiega/python
493b6bdee9c94e1ae8d4db06c8e5295a96f8922c
[ "MIT" ]
null
null
null
salario = float(input('Qual o salário do funcionário?: ')) porcentagem = float(input('Quantos % de aumento?: ')) aumento = salario + (salario * porcentagem /100) print('O aumento vai ser de {:.2f}R$ para {:.2f}R$'.format(salario, aumento))
48
77
0.6875
33
240
5
0.606061
0.121212
0
0
0
0
0
0
0
0
0
0.024038
0.133333
240
4
78
60
0.769231
0
0
0
0
0
0.408333
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d99dc6c1805e70e031976c6ceb8d41e50f2bb7f8
583
py
Python
tests/test_spark_helpers.py
elehcimd/spark_cluster
c1aec034bcb0e5ac7b3d7782548148b845f47e03
[ "MIT" ]
4
2019-03-17T08:21:13.000Z
2020-07-23T21:19:19.000Z
tests/test_spark_helpers.py
minodes/spark_cluster
c1aec034bcb0e5ac7b3d7782548148b845f47e03
[ "MIT" ]
null
null
null
tests/test_spark_helpers.py
minodes/spark_cluster
c1aec034bcb0e5ac7b3d7782548148b845f47e03
[ "MIT" ]
null
null
null
from pyspark.sql.functions import * from spark_helpers.spark_helpers import create_df from pyspark.sql.types import StructType, IntegerType, StructField def test_create_spark_dataframe(): """ Purpose of the test: verify that we can create a spark dataframe. Implicitly, it tests the availability of a Spark...
29.15
95
0.701544
81
583
4.962963
0.592593
0.054726
0.069652
0
0
0
0
0
0
0
0
0.010707
0.198971
583
19
96
30.684211
0.850107
0.339623
0
0
0
0
0.00554
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.5
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d99e308cff3bf81cd7289f3e73a19ad35aad85c8
3,006
py
Python
flask_seed/exceptions.py
syfun/flask-seed
16c61a5d9a44fd5dd0a0a503fed76c713dadd3f4
[ "MIT" ]
null
null
null
flask_seed/exceptions.py
syfun/flask-seed
16c61a5d9a44fd5dd0a0a503fed76c713dadd3f4
[ "MIT" ]
null
null
null
flask_seed/exceptions.py
syfun/flask-seed
16c61a5d9a44fd5dd0a0a503fed76c713dadd3f4
[ "MIT" ]
null
null
null
# coding=utf-8 import sys from flask import jsonify, current_app as app import six class ProjectException(Exception): """Base class for all exceptions.""" message = "An unknown exception occurred." # make exception message format errors fatal fatal_exception_format_errors = False def __init__(...
26.368421
78
0.634065
349
3,006
5.329513
0.383954
0.048387
0.06129
0.027957
0.030108
0.030108
0.030108
0
0
0
0
0.018257
0.271124
3,006
113
79
26.60177
0.830671
0.155356
0
0.0625
0
0
0.128093
0
0
0
0
0
0
1
0.09375
false
0
0.046875
0.0625
0.6875
0
0
0
0
null
0
0
0
0
0
0
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
d9a0fad13e7f61de2ead13450e2f8ad38964aa1e
452
py
Python
random_customer/PersonFactorySeeds/Email.py
sonigovi/random_customer
96b702ac2b5ab406c19ad5c5cff028ae4f0a6f60
[ "MIT" ]
null
null
null
random_customer/PersonFactorySeeds/Email.py
sonigovi/random_customer
96b702ac2b5ab406c19ad5c5cff028ae4f0a6f60
[ "MIT" ]
null
null
null
random_customer/PersonFactorySeeds/Email.py
sonigovi/random_customer
96b702ac2b5ab406c19ad5c5cff028ae4f0a6f60
[ "MIT" ]
null
null
null
import string import random def random_string(length): return ''.join(random.choice(string.ascii_letters) for m in range(length)) email={} def getEmailAddress(firstName, lastName, isPrimary=True, emailType='Personal'): email['isPrimary'] = isPrimary email['emailType'] = emailType email['emailAddress']...
32.285714
96
0.716814
51
452
6.294118
0.588235
0.074766
0
0
0
0
0
0
0
0
0
0.002513
0.119469
452
14
97
32.285714
0.80402
0.088496
0
0
0
0
0.126521
0
0
0
0
0
0
1
0.2
false
0
0.2
0.1
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d9a408a496bfa18fd0f9c8f7e1381557918f54c4
15,136
py
Python
tests/test_ha.py
procore/patroni
70bae1b267db4cf76d3ade299a3bef6741ec2b89
[ "MIT" ]
null
null
null
tests/test_ha.py
procore/patroni
70bae1b267db4cf76d3ade299a3bef6741ec2b89
[ "MIT" ]
null
null
null
tests/test_ha.py
procore/patroni
70bae1b267db4cf76d3ade299a3bef6741ec2b89
[ "MIT" ]
null
null
null
import etcd import unittest from mock import Mock, MagicMock, patch from patroni.dcs import Cluster, Failover, Leader, Member from patroni.etcd import Client, Etcd from patroni.exceptions import DCSError, PostgresException from patroni.ha import Ha from test_etcd import socket_getaddrinfo, etcd_read, etcd_write, reque...
45.047619
116
0.69708
2,094
15,136
4.82426
0.118911
0.076025
0.079192
0.087111
0.638784
0.600673
0.553554
0.51762
0.461493
0.393783
0
0.008944
0.194834
15,136
335
117
45.18209
0.819972
0.033298
0
0.397683
0
0
0.167636
0.010943
0
0
0
0
0.204633
1
0.200772
false
0.007722
0.030888
0.057915
0.324324
0
0
0
0
null
0
0
0
0
0
0
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
d9a64783c97fee72f6cac1446d68070f7fa9b3e8
13,816
py
Python
theia/ide/theia-base/cli/anubis/assignment/utils.py
jepst/Anubis
45f08b8057e295fcf5a3bf25b1947337444dca84
[ "MIT" ]
65
2021-06-27T07:18:27.000Z
2021-09-17T16:58:24.000Z
theia/ide/theia-base/cli/anubis/assignment/utils.py
jepst/Anubis
45f08b8057e295fcf5a3bf25b1947337444dca84
[ "MIT" ]
114
2021-06-27T08:37:43.000Z
2021-10-24T00:51:01.000Z
theia/ide/theia-base/cli/anubis/assignment/utils.py
jepst/Anubis
45f08b8057e295fcf5a3bf25b1947337444dca84
[ "MIT" ]
15
2021-06-27T07:26:51.000Z
2021-10-06T18:42:39.000Z
import collections import difflib import functools import json import logging import os import subprocess import typing import warnings registered_tests: typing.Dict[str, typing.Callable[[], "TestResult"]] = {} build_function = None CompareFuncReturnT = typing.Tuple[bool, typing.List[str]] CompareFuncT = typing.Calla...
32.431925
111
0.621164
1,788
13,816
4.6717
0.192953
0.067162
0.018676
0.015084
0.260745
0.210224
0.180295
0.137915
0.100323
0.092182
0
0.007671
0.264042
13,816
425
112
32.508235
0.813828
0.303127
0
0.300847
0
0.004237
0.104082
0.009345
0.012712
0
0
0
0
1
0.088983
false
0.072034
0.038136
0.008475
0.233051
0.008475
0
0
0
null
0
0
0
0
0
0
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
d9aca99e35880059ca10b08bcd26948d6d268398
1,241
py
Python
var/spack/repos/builtin/packages/commons-lang3/package.py
xiki-tempula/spack
9d66c05e93ab8a933fc59915040c0e0c86a4aac4
[ "ECL-2.0", "Apache-2.0", "MIT" ]
9
2018-04-18T07:51:40.000Z
2021-09-10T03:56:57.000Z
var/spack/repos/builtin/packages/commons-lang3/package.py
xiki-tempula/spack
9d66c05e93ab8a933fc59915040c0e0c86a4aac4
[ "ECL-2.0", "Apache-2.0", "MIT" ]
907
2018-04-18T11:17:57.000Z
2022-03-31T13:20:25.000Z
var/spack/repos/builtin/packages/commons-lang3/package.py
xiki-tempula/spack
9d66c05e93ab8a933fc59915040c0e0c86a4aac4
[ "ECL-2.0", "Apache-2.0", "MIT" ]
29
2018-11-05T16:14:23.000Z
2022-02-03T16:07:09.000Z
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class CommonsLang3(Package): """The standard Java libraries fail to provide enough methods for ...
40.032258
99
0.744561
162
1,241
5.697531
0.703704
0.035753
0
0
0
0
0
0
0
0
0
0.064609
0.164384
1,241
30
100
41.366667
0.825458
0.574537
0
0
0
0.111111
0.470226
0.174538
0
0
0
0
0
1
0.111111
false
0
0.111111
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
d9aeb85da117326d1b46c639d50a80bb418e9382
2,554
py
Python
hw3/q1_randomForest.py
1452712/DataMining_course_project
043cc7851c391f6b99f692f5a9dd843db34a27ca
[ "MIT" ]
null
null
null
hw3/q1_randomForest.py
1452712/DataMining_course_project
043cc7851c391f6b99f692f5a9dd843db34a27ca
[ "MIT" ]
null
null
null
hw3/q1_randomForest.py
1452712/DataMining_course_project
043cc7851c391f6b99f692f5a9dd843db34a27ca
[ "MIT" ]
null
null
null
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Tue Apr 26 16:11:13 2017 Q1: Random Forest @author: luminous """ import numpy as np import pandas as pd import math import matplotlib.pyplot as plt from sklearn.ensemble import RandomForestClassifier, RandomForestRegressor # import data def importData(inFi...
27.170213
74
0.652702
356
2,554
4.595506
0.351124
0.033007
0.01467
0.026895
0.147922
0.147922
0.128362
0.09291
0.09291
0.09291
0
0.048473
0.192247
2,554
93
75
27.462366
0.744062
0.143305
0
0.131148
0
0
0.105034
0
0
0
0
0
0
0
null
null
0
0.131148
null
null
0.032787
0
0
0
null
0
0
0
0
0
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
d9b1e9d2e3177c64e3c6f082eb69d50c0dae4c38
364
py
Python
profiles/migrations/New folder/0004_auto_20200924_1614.py
Rxavio/link
a0aa34b89a769cfaa20a92a04980e142e42eaa10
[ "MIT" ]
null
null
null
profiles/migrations/New folder/0004_auto_20200924_1614.py
Rxavio/link
a0aa34b89a769cfaa20a92a04980e142e42eaa10
[ "MIT" ]
null
null
null
profiles/migrations/New folder/0004_auto_20200924_1614.py
Rxavio/link
a0aa34b89a769cfaa20a92a04980e142e42eaa10
[ "MIT" ]
null
null
null
# Generated by Django 3.0.3 on 2020-09-24 14:14 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('profiles', '0003_auto_20200924_1528'), ] operations = [ migrations.RenameField( model_name='profile', old_name='avatar', ...
19.157895
48
0.585165
39
364
5.307692
0.794872
0
0
0
0
0
0
0
0
0
0
0.122047
0.302198
364
18
49
20.222222
0.692913
0.123626
0
0
1
0
0.154574
0.072555
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d9b3ea6698f8c286ab572493f7b7c574caea253d
6,767
py
Python
sdk/python/pulumi_azure_native/network/v20190901/get_virtual_network_gateway_vpnclient_ipsec_parameters.py
pulumi-bot/pulumi-azure-native
f7b9490b5211544318e455e5cceafe47b628e12c
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure_native/network/v20190901/get_virtual_network_gateway_vpnclient_ipsec_parameters.py
pulumi-bot/pulumi-azure-native
f7b9490b5211544318e455e5cceafe47b628e12c
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure_native/network/v20190901/get_virtual_network_gateway_vpnclient_ipsec_parameters.py
pulumi-bot/pulumi-azure-native
f7b9490b5211544318e455e5cceafe47b628e12c
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables __a...
43.101911
205
0.69499
774
6,767
5.719638
0.184755
0.020556
0.027106
0.051502
0.373842
0.288909
0.196521
0.174836
0.090355
0.053309
0
0.003986
0.221516
6,767
156
206
43.378205
0.836371
0.14216
0
0.078431
1
0
0.179961
0.065424
0
0
0
0
0
1
0.107843
false
0
0.04902
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d9b4164be2df32970b6b07ecf41819ecddd2d31e
5,864
py
Python
keystone/catalog/backends/kvs.py
UTSA-ICS/keystone-kerberos
0e633302e87261fdb3b0126c632fd676fc0a4d39
[ "Apache-2.0" ]
null
null
null
keystone/catalog/backends/kvs.py
UTSA-ICS/keystone-kerberos
0e633302e87261fdb3b0126c632fd676fc0a4d39
[ "Apache-2.0" ]
null
null
null
keystone/catalog/backends/kvs.py
UTSA-ICS/keystone-kerberos
0e633302e87261fdb3b0126c632fd676fc0a4d39
[ "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 or agreed to in...
37.589744
79
0.664052
806
5,864
4.599256
0.174938
0.048557
0.03399
0.020772
0.414621
0.25816
0.235231
0.178042
0.144052
0.144052
0
0.001767
0.227831
5,864
155
80
37.832258
0.816917
0.178377
0
0.147368
0
0
0.091427
0
0
0
0
0
0
1
0.210526
false
0
0.031579
0.073684
0.410526
0
0
0
0
null
0
0
0
0
0
0
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
d9c00cededc6887e0b163bca7fc52a11f0583b4a
18,693
py
Python
Exareme-Docker/src/exareme/exareme-tools/madis/src/lib/pyreadline/rlmain.py
tchamabe1979/exareme
462983e4feec7808e1fd447d02901502588a8879
[ "MIT" ]
null
null
null
Exareme-Docker/src/exareme/exareme-tools/madis/src/lib/pyreadline/rlmain.py
tchamabe1979/exareme
462983e4feec7808e1fd447d02901502588a8879
[ "MIT" ]
null
null
null
Exareme-Docker/src/exareme/exareme-tools/madis/src/lib/pyreadline/rlmain.py
tchamabe1979/exareme
462983e4feec7808e1fd447d02901502588a8879
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # ***************************************************************************** # Copyright (C) 2003-2006 Gary Bishop. # Copyright (C) 2006 Jorgen Stenarson. <jorgen.stenarson@bostream.nu> # # Distributed under the terms of the BSD License. The full license is in # the file COPYI...
37.163022
117
0.599208
2,383
18,693
4.504406
0.185061
0.017421
0.011273
0.010061
0.23896
0.193218
0.161729
0.132104
0.114403
0.105832
0
0.009462
0.287648
18,693
502
118
37.237052
0.796636
0.088643
0
0.139535
0
0.020349
0.095205
0.013591
0
0
0
0
0.002907
0
null
null
0.005814
0.043605
null
null
0.020349
0
0
0
null
0
0
0
0
0
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
d9c6fcaf506faaac136d45bb81b554e5899fc7df
3,647
py
Python
code_sentiment/train.py
Nrgeup/review_assistant
bf03d62773501b84069afcc8b3da66d6d7829218
[ "Apache-2.0" ]
1
2020-01-17T00:41:51.000Z
2020-01-17T00:41:51.000Z
code_sentiment/train.py
Nrgeup/review_assistant
bf03d62773501b84069afcc8b3da66d6d7829218
[ "Apache-2.0" ]
null
null
null
code_sentiment/train.py
Nrgeup/review_assistant
bf03d62773501b84069afcc8b3da66d6d7829218
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- ###################################################################################### # Import Packages ###################################################################################### # Basic Packages import os import time import argparse import math import numpy import torc...
42.406977
126
0.574171
402
3,647
5.027363
0.363184
0.097971
0.185057
0.044532
0.206828
0.145473
0.145473
0.073231
0
0
0
0.009557
0.139293
3,647
85
127
42.905882
0.634278
0.079517
0
0
0
0.022222
0.328205
0.033136
0
0
0
0
0
1
0.022222
false
0
0.222222
0
0.244444
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d9c7fe94143db7eedd6ef8a3ede3119cc42018ea
6,633
py
Python
modules/tools/lattice_autotuning/generate_future_adc_trajectory.py
DavidSplit/apollo-3.0
9f82838e857e4c9146952946cbc34b9f35098deb
[ "Apache-2.0" ]
6
2019-10-11T07:57:49.000Z
2022-02-23T15:23:41.000Z
modules/tools/lattice_autotuning/generate_future_adc_trajectory.py
DavidSplit/apollo-3.0
9f82838e857e4c9146952946cbc34b9f35098deb
[ "Apache-2.0" ]
null
null
null
modules/tools/lattice_autotuning/generate_future_adc_trajectory.py
DavidSplit/apollo-3.0
9f82838e857e4c9146952946cbc34b9f35098deb
[ "Apache-2.0" ]
12
2019-10-11T07:57:49.000Z
2022-03-16T05:13:00.000Z
#!/usr/bin/env python ############################################################################### # Copyright 2018 The Apollo Authors. All Rights Reserved. # Modifications Copyright (c) 2018 LG Electronics, Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not ...
42.519231
79
0.655058
878
6,633
4.714123
0.233485
0.083353
0.055086
0.069582
0.369171
0.324475
0.273254
0.236047
0.155593
0.119353
0
0.014995
0.22584
6,633
155
80
42.793548
0.791042
0.136741
0
0.016807
0
0
0.050325
0.013889
0
0
0
0
0
0
null
null
0.008403
0.10084
null
null
0.016807
0
0
0
null
0
0
0
0
0
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
d9cd3682a689fbf3a6518e2c778d2c9866fdda37
2,750
py
Python
peeps/models.py
Tellvinch/peep
ecc307ea61cee28247be4af9961a817aad52a763
[ "MIT" ]
null
null
null
peeps/models.py
Tellvinch/peep
ecc307ea61cee28247be4af9961a817aad52a763
[ "MIT" ]
null
null
null
peeps/models.py
Tellvinch/peep
ecc307ea61cee28247be4af9961a817aad52a763
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import User from django.utils import timezone from django.db.models.signals import post_save from django.dispatch import receiver from django.http import Http404 class Neighborhood(models.Model): name = models.CharField(max_length=50) location = mod...
28.645833
87
0.704727
335
2,750
5.608955
0.250746
0.055881
0.067057
0.089409
0.381586
0.348057
0.294838
0.244811
0.116019
0.116019
0
0.009396
0.187273
2,750
96
88
28.645833
0.83132
0
0
0.338235
0
0
0.057797
0
0
0
0
0
0
1
0.191176
false
0
0.088235
0.058824
0.764706
0
0
0
0
null
0
0
0
0
0
0
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