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
4ed9066c72e27b2452eb11f959682224bfe19f4e
7,727
py
Python
state_workflow_sdk/api/state_workflow/filterInstanceOfStateWorkflow_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
5
2019-07-31T04:11:05.000Z
2021-01-07T03:23:20.000Z
state_workflow_sdk/api/state_workflow/filterInstanceOfStateWorkflow_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
null
null
null
state_workflow_sdk/api/state_workflow/filterInstanceOfStateWorkflow_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: filterInstanceOfStateWorkflow.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message fr...
42.690608
634
0.792546
789
7,727
7.457541
0.185044
0.032631
0.039259
0.03569
0.524813
0.408736
0.381713
0.368457
0.361999
0.361999
0
0.026676
0.102498
7,727
180
635
42.927778
0.821774
0.061343
0
0.605263
1
0.006579
0.259939
0.234125
0
0
0
0
0
1
0
false
0
0.039474
0
0.039474
0
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
4edb091a886897f03cb82ebe1a3cbf9db99936e7
296
py
Python
Anima.py
Daz-Riza-Seriog/Op_Heat_transfer
3ee27a049a2de5deaf13356ed3e675562233ac29
[ "MIT" ]
null
null
null
Anima.py
Daz-Riza-Seriog/Op_Heat_transfer
3ee27a049a2de5deaf13356ed3e675562233ac29
[ "MIT" ]
null
null
null
Anima.py
Daz-Riza-Seriog/Op_Heat_transfer
3ee27a049a2de5deaf13356ed3e675562233ac29
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import seaborn as sns import pandas as pd import numpy as np sns.set() path = r'C:\Users\HP\PycharmProjects\Operaciones_Calor\Data.xlsx' df = pd.read_excel("Data.xlsx") df2 = pd.read_excel("time.xlsx") df3 = np.transpose(df) ax = sns.heatmap(data=df3) plt.show()
22.769231
65
0.75
52
296
4.211538
0.615385
0.073059
0.100457
0
0
0
0
0
0
0
0
0.01145
0.114865
296
13
66
22.769231
0.824427
0
0
0
0
0
0.245791
0.185185
0
0
0
0
0
1
0
false
0
0.363636
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
0
1
0
0
0
0
1
14c8cbde65a563f12d5db26bfb9fc708e55a51a3
738
py
Python
Examples/BasicUsage/WorkingWithFolder/MoveFolder.py
groupdocs-annotation-cloud/groupdocs-annotation-cloud-python-samples
5fb6c88d0e173198753d8483ea0a75606479fa41
[ "MIT" ]
null
null
null
Examples/BasicUsage/WorkingWithFolder/MoveFolder.py
groupdocs-annotation-cloud/groupdocs-annotation-cloud-python-samples
5fb6c88d0e173198753d8483ea0a75606479fa41
[ "MIT" ]
null
null
null
Examples/BasicUsage/WorkingWithFolder/MoveFolder.py
groupdocs-annotation-cloud/groupdocs-annotation-cloud-python-samples
5fb6c88d0e173198753d8483ea0a75606479fa41
[ "MIT" ]
2
2019-07-08T12:50:55.000Z
2019-07-08T13:21:54.000Z
# Import modules import groupdocs_annotation_cloud from Common import Common class MoveFolder: @classmethod def Run(cls): # Create instance of the API api = groupdocs_annotation_cloud.FolderApi.from_config(Common.GetConfig()) try: request = groupdocs_annotation...
41
156
0.697832
75
738
6.733333
0.626667
0.150495
0.190099
0
0
0
0
0
0
0
0
0.008726
0.223577
738
18
157
41
0.8726
0.055556
0
0
0
0
0.254676
0.092086
0
0
0
0
0
1
0.083333
false
0
0.166667
0
0.333333
0.166667
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
14ca45583c2227b2168e4f681b76f28fa240e335
1,203
py
Python
ex098.py
paulo-caixeta/Exercicios_Curso_Python
3b77925499c174ea9ff81dec65d6319125219b9a
[ "MIT" ]
null
null
null
ex098.py
paulo-caixeta/Exercicios_Curso_Python
3b77925499c174ea9ff81dec65d6319125219b9a
[ "MIT" ]
null
null
null
ex098.py
paulo-caixeta/Exercicios_Curso_Python
3b77925499c174ea9ff81dec65d6319125219b9a
[ "MIT" ]
null
null
null
""" Exercício Python 098: Faça um programa que tenha uma função chamada contador(), que receba três parâmetros: início, fim e passo. Seu programa tem que realizar três contagens através da função criada: a) de 1 até 10, de 1 em 1 b) de 10 até 0, de 2 em 2 c) uma contagem personalizada """ from time import sleep def li...
23.588235
128
0.564422
189
1,203
3.592593
0.375661
0.044183
0.030928
0.055965
0.123711
0.123711
0.123711
0.123711
0.123711
0.123711
0
0.041049
0.270989
1,203
50
129
24.06
0.733181
0.266833
0
0.324324
0
0
0.155785
0
0
0
0
0
0
1
0.081081
false
0.054054
0.027027
0
0.108108
0.27027
0
0
0
null
0
0
0
0
0
0
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
14cc5e75bc05398b3bb53a79b496548b99c38a35
327
py
Python
direct/nn/varnet/config.py
cnmy-ro/direct-custom
a354e82d4f4b7598037e7b9dc73456fc361820ac
[ "Apache-2.0" ]
57
2021-12-21T23:11:46.000Z
2022-03-26T23:25:36.000Z
direct/nn/varnet/config.py
cnmy-ro/direct-custom
a354e82d4f4b7598037e7b9dc73456fc361820ac
[ "Apache-2.0" ]
102
2020-06-07T19:10:06.000Z
2021-12-18T11:34:27.000Z
direct/nn/varnet/config.py
cnmy-ro/direct-custom
a354e82d4f4b7598037e7b9dc73456fc361820ac
[ "Apache-2.0" ]
24
2020-06-06T12:06:58.000Z
2021-12-21T10:42:50.000Z
# coding=utf-8 # Copyright (c) DIRECT Contributors from dataclasses import dataclass from direct.config.defaults import ModelConfig @dataclass class EndToEndVarNetConfig(ModelConfig): num_layers: int = 8 regularizer_num_filters: int = 18 regularizer_num_pull_layers: int = 4 regularizer_dropout: float...
23.357143
46
0.7737
41
327
6
0.658537
0.073171
0
0
0
0
0
0
0
0
0
0.025547
0.16208
327
13
47
25.153846
0.872263
0.140673
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
14d7c8670ef0ff23366e664847eb0ddc0db4e76b
4,924
py
Python
src/lib/extra.py
bentherien/measevalcompetition
1d285991eb26403682a633a728629a9900923d80
[ "MIT" ]
null
null
null
src/lib/extra.py
bentherien/measevalcompetition
1d285991eb26403682a633a728629a9900923d80
[ "MIT" ]
null
null
null
src/lib/extra.py
bentherien/measevalcompetition
1d285991eb26403682a633a728629a9900923d80
[ "MIT" ]
null
null
null
import src.exerptController import networkx as nx def getGraphPaths(sentences, sourceSpan, targetSpan, getSrc, getTrg, reverse=False, pos=False, docName = ""): nonePassed = False if(type(sentences) == type(None)): print("sentences passed to getGraphPaths() as None") nonePassed = True ...
28.298851
144
0.50792
579
4,924
4.284974
0.221071
0.01451
0.021765
0.019347
0.279323
0.234986
0.234986
0.229343
0.204756
0.166868
0
0.012003
0.357027
4,924
173
145
28.462428
0.771636
0.094639
0
0.289474
0
0
0.093771
0
0
0
0
0
0
1
0.052632
false
0.078947
0.017544
0
0.201754
0.122807
0
0
0
null
0
0
0
0
0
0
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
14dfb2340b865c6fae4d40bddd82ee9333c4b009
1,024
py
Python
(Ex4)_Neural_Network_model_implementation/initializeWeight.py
HarryPham0123/Coursera_Machine_learning_AndrewNg
ae1fa34969fa0dafd44aa6606f6749c09b447239
[ "MIT" ]
1
2021-11-10T07:23:30.000Z
2021-11-10T07:23:30.000Z
(Ex4)_Neural_Network_model_implementation/initializeWeight.py
HarryPham0123/Coursera_Machine_learning_AndrewNg
ae1fa34969fa0dafd44aa6606f6749c09b447239
[ "MIT" ]
null
null
null
(Ex4)_Neural_Network_model_implementation/initializeWeight.py
HarryPham0123/Coursera_Machine_learning_AndrewNg
ae1fa34969fa0dafd44aa6606f6749c09b447239
[ "MIT" ]
null
null
null
import numpy as np # TODO: Initialize weights with fixed (Can not change) dimension -> Useful for debugging (NOT DONE) # "fan_in": # of nodes in layer "l" # "fan_out": # of nodes in layer "l+1" def debug_initialize_weight(fan_in, fan_out): W = np.zeros((fan_out, fan_in+1)) W = np.reshape(range(len(W.r...
37.925926
117
0.668945
171
1,024
3.888889
0.421053
0.03609
0.027068
0.042105
0.069173
0
0
0
0
0
0
0.014797
0.208008
1,024
26
118
39.384615
0.805179
0.595703
0
0.2
0
0
0.002681
0
0
0
0
0.038462
0
1
0.2
false
0
0.1
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
1
0
0
0
0
0
0
0
0
0
0
1
14e4c678bbb5e1b2e735a299680f167c2f0679dc
603
py
Python
tests/unit/simulation/test_reset.py
AlexanderGrooff/discrete-event-simulation
2160cebfd6106d4a1299b3a2ff5480affa63aed0
[ "MIT" ]
null
null
null
tests/unit/simulation/test_reset.py
AlexanderGrooff/discrete-event-simulation
2160cebfd6106d4a1299b3a2ff5480affa63aed0
[ "MIT" ]
null
null
null
tests/unit/simulation/test_reset.py
AlexanderGrooff/discrete-event-simulation
2160cebfd6106d4a1299b3a2ff5480affa63aed0
[ "MIT" ]
null
null
null
from simulation.framework import DiscreteSimulation from tests.helpers import TestCase class TestSimulationFramework(TestCase): def setUp(self): self.sim = DiscreteSimulation(max_duration=8, available_actions=[]) def test_reset_creates_new_timeline(self): original_timeline = self.sim.timeline...
35.470588
85
0.74461
70
603
6.214286
0.485714
0.096552
0.103448
0
0
0
0
0
0
0
0
0.017717
0.157546
603
16
86
37.6875
0.838583
0
0
0
0
0
0.016584
0
0
0
0
0
0.166667
1
0.25
false
0
0.166667
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
14ea36dc58776c58fc1d52d85063b3ce57d19adb
184
py
Python
src/main.py
M3nin0/PyBot
f2e4237d9d0f66eb070a5a7d3f2e503d75ca70f5
[ "BSD-2-Clause" ]
null
null
null
src/main.py
M3nin0/PyBot
f2e4237d9d0f66eb070a5a7d3f2e503d75ca70f5
[ "BSD-2-Clause" ]
null
null
null
src/main.py
M3nin0/PyBot
f2e4237d9d0f66eb070a5a7d3f2e503d75ca70f5
[ "BSD-2-Clause" ]
null
null
null
from ChatBot import ChatBot Bot = ChatBot("Felipe") while True: frase = Bot.escuta() resp = Bot.pensa(frase) Bot.fala(resp) if resp == "tchau": break
12.266667
27
0.581522
23
184
4.652174
0.652174
0.149533
0
0
0
0
0
0
0
0
0
0
0.298913
184
14
28
13.142857
0.829457
0
0
0
0
0
0.060109
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
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
14ea947c43c04f7bd20b6be9cbe2dc86a9730dfe
507
py
Python
bazaar/decorators.py
Jonas-Quinn/deliverance
9a99cf9d24a4711dc055f7578df0ba48bdc9bbee
[ "MIT" ]
1
2020-02-11T07:25:47.000Z
2020-02-11T07:25:47.000Z
bazaar/decorators.py
Jonas-Quinn/deliverance
9a99cf9d24a4711dc055f7578df0ba48bdc9bbee
[ "MIT" ]
9
2020-02-27T22:40:07.000Z
2022-03-12T00:14:39.000Z
bazaar/decorators.py
Jonas-Quinn/deliverance
9a99cf9d24a4711dc055f7578df0ba48bdc9bbee
[ "MIT" ]
null
null
null
from django.core.exceptions import PermissionDenied from django.utils import timezone from .models import Item from datetime import datetime def active_auction(function): def wrap(request, *args, **kwargs): item = Item.objects.get(slug=kwargs['slug']) if item.end_of_auction > timezone.now(): ...
31.6875
53
0.696252
60
507
5.566667
0.516667
0.05988
0.101796
0
0
0
0
0
0
0
0
0
0.21499
507
16
54
31.6875
0.839196
0
0
0
0
0
0.007874
0
0
0
0
0
0
1
0.142857
false
0
0.285714
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
14ebdfe49e8339b78e7bbac1a688d3fec00e758b
1,435
py
Python
examples/storageDownloadFile.py
topcats/python-o365
0378cee0120279d195a18b14bf8ca46577990417
[ "Apache-2.0" ]
null
null
null
examples/storageDownloadFile.py
topcats/python-o365
0378cee0120279d195a18b14bf8ca46577990417
[ "Apache-2.0" ]
1
2021-03-03T00:49:55.000Z
2021-03-03T00:49:55.000Z
examples/storageDownloadFile.py
topcats/python-o365
0378cee0120279d195a18b14bf8ca46577990417
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python3 # To generate an Office365 token: # python3 # from O365 import Account # account = Account(credentials=('yourregisteredappname', 'yoursecret')) # account.authenticate(scopes=['files.read', 'user.read', 'offline_access']) # It will return a URL, go to this in a browser, accept the permissions, the...
30.531915
129
0.743554
211
1,435
4.933649
0.511848
0.049952
0.026897
0.040346
0.069164
0.069164
0.069164
0
0
0
0
0.012935
0.137979
1,435
46
130
31.195652
0.828618
0.402091
0
0
1
0
0.303783
0.024823
0
0
0
0
0
1
0
false
0
0.086957
0
0.086957
0.26087
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
14ec1bcbf7c1252dcbd344ba1ea2da3aca1c06b6
437
py
Python
app/api_1_0/__init__.py
thinkingserious/apithyself
b6dcb595d4074eb9a5da9c2b5f0b8a4b68899504
[ "MIT" ]
null
null
null
app/api_1_0/__init__.py
thinkingserious/apithyself
b6dcb595d4074eb9a5da9c2b5f0b8a4b68899504
[ "MIT" ]
null
null
null
app/api_1_0/__init__.py
thinkingserious/apithyself
b6dcb595d4074eb9a5da9c2b5f0b8a4b68899504
[ "MIT" ]
null
null
null
from flask import Blueprint from flask.ext.restful import Api from .endpoints.goal import Goal from .endpoints.weight import Weight from .endpoints.calories import Calories api_blueprint = Blueprint('api', __name__) api = Api(prefix='/api/v1.0') # Register the endpoints api.add_resource(Goal, '/goal', '/goal') api.ad...
33.615385
64
0.757437
61
437
5.295082
0.344262
0.120743
0.130031
0
0
0
0
0
0
0
0
0.005051
0.093822
437
13
64
33.615385
0.810606
0.050343
0
0
0
0
0.188406
0.050725
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
14edc171ee825a9b639ac66387fb241efbce3400
2,952
py
Python
src/scraper/scraper.py
jion/python-scraper
264f9cbc4145409a6391cdac37975c91275a09b6
[ "MIT" ]
null
null
null
src/scraper/scraper.py
jion/python-scraper
264f9cbc4145409a6391cdac37975c91275a09b6
[ "MIT" ]
null
null
null
src/scraper/scraper.py
jion/python-scraper
264f9cbc4145409a6391cdac37975c91275a09b6
[ "MIT" ]
null
null
null
from dombuilder import DomBuilder from dom import SimpleDOM from urllib2 import urlopen, URLError, HTTPError # Scraper responsability: # orquestate the steps of the scraping process: # Construction phase: # 1. create the proper reader (input) # 2. construct the HTML parser # 3. customize the HTML parser adding operat...
30.122449
96
0.666667
386
2,952
5.07772
0.404145
0.014286
0.013265
0.020408
0.054082
0.054082
0.054082
0.054082
0.054082
0.054082
0
0.004097
0.255759
2,952
97
97
30.43299
0.888029
0.115515
0
0
0
0
0.093197
0
0
0
0
0
0
0
null
null
0
0.073171
null
null
0.04878
0
0
0
null
0
0
0
0
0
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
14f1cc3f25971e2c47d21da7964f4150b859ae2f
906
py
Python
Week -2/Day-4 Maximum Product Subarray.py
Jeevan-kumar-Raj/September-LeetCoding-Challenge
cf5f4abaee4eb5d4292e95ad7252c5dff43cb518
[ "MIT" ]
null
null
null
Week -2/Day-4 Maximum Product Subarray.py
Jeevan-kumar-Raj/September-LeetCoding-Challenge
cf5f4abaee4eb5d4292e95ad7252c5dff43cb518
[ "MIT" ]
null
null
null
Week -2/Day-4 Maximum Product Subarray.py
Jeevan-kumar-Raj/September-LeetCoding-Challenge
cf5f4abaee4eb5d4292e95ad7252c5dff43cb518
[ "MIT" ]
null
null
null
Day-4 Maximum Product Subarray.py /* Given an integer array nums, find the contiguous subarray within an array (containing at least one number) which has the largest product. Example 1: Input: [2,3,-2,4] Output: 6 Explanation: [2,3] has the largest product 6. Example 2: Input: [-2,0,-1] Output: 0 Ex...
26.647059
138
0.601545
136
906
3.882353
0.448529
0.121212
0.073864
0.090909
0.079545
0
0
0
0
0
0
0.034921
0.304636
906
33
139
27.454545
0.803175
0.051876
0
0
0
0
0.00486
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
14f2dc93a5e49f9af2ce7eb52d4a30803c8251b4
350
py
Python
recipes/forms.py
Bytlot/foodgram-project
fb5c39ff17c2e3fb0245036ec02a9626954e0684
[ "MIT" ]
null
null
null
recipes/forms.py
Bytlot/foodgram-project
fb5c39ff17c2e3fb0245036ec02a9626954e0684
[ "MIT" ]
2
2022-01-13T03:43:22.000Z
2022-03-12T00:56:53.000Z
recipes/forms.py
Bytlot/reshare
4be75616c4ed6127349a5d2c707581daa3535d78
[ "MIT" ]
null
null
null
from django import forms from .models import Recipe class RecipeForm(forms.ModelForm): class Meta: model = Recipe fields = ( 'title', 'tags', 'cooking_time', 'text', 'image', ) widgets = { 'tags': forms.Checkb...
18.421053
51
0.474286
27
350
6.111111
0.740741
0
0
0
0
0
0
0
0
0
0
0
0.425714
350
18
52
19.444444
0.820896
0
0
0
0
0
0.097143
0
0
0
0
0
0
1
0
false
0
0.133333
0
0.266667
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
14f35957e7f1afff3cefdbd23a93d695f4c8deb8
387
py
Python
qzzzme_app/urls.py
aboudzein/Qzzz.me-API
b5ee8e63fb7cf58d26fb5b6e4c9f22c04e90df08
[ "MIT" ]
1
2021-04-22T08:50:14.000Z
2021-04-22T08:50:14.000Z
qzzzme_app/urls.py
aboudzein/Qzzz.me-API
b5ee8e63fb7cf58d26fb5b6e4c9f22c04e90df08
[ "MIT" ]
10
2020-04-17T02:31:35.000Z
2022-02-10T11:49:33.000Z
qzzzme_app/urls.py
aboudzein/Qzzz.me-API
b5ee8e63fb7cf58d26fb5b6e4c9f22c04e90df08
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import unicode_literals # Python imports. import logging # Django imports. from django.conf.urls import url # Rest Framework imports. # Third Party Library imports # local imports. from qzzzme_app.swagger import schema_view app_name = 'qzzzme_app' urlp...
18.428571
53
0.73385
53
387
5.150943
0.622642
0.10989
0
0
0
0
0
0
0
0
0
0.00304
0.149871
387
21
54
18.428571
0.826748
0.364341
0
0
0
0
0.116667
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
14f55735d20e9103dcb557592b91446372d9a5e6
17,635
py
Python
external/snake-0.3/snake/ibamr/plotField2dVisIt.py
mesnardo/cuIBM
0b63f86c58e93e62f9dc720c08510cc88b10dd04
[ "MIT" ]
67
2015-01-25T18:33:39.000Z
2022-02-17T17:50:00.000Z
external/snake-0.3/snake/ibamr/plotField2dVisIt.py
mesnardo/cuIBM
0b63f86c58e93e62f9dc720c08510cc88b10dd04
[ "MIT" ]
20
2015-01-25T05:29:30.000Z
2018-05-14T02:07:03.000Z
external/snake-0.3/snake/ibamr/plotField2dVisIt.py
mesnardo/cuIBM
0b63f86c58e93e62f9dc720c08510cc88b10dd04
[ "MIT" ]
39
2015-01-22T16:32:11.000Z
2022-02-17T08:17:09.000Z
""" Calls VisIt in batch mode to generate .png files of the 2D field contour. cli: visit -nowin -cli -s plotField2dVisIt.py <arguments> """ import os import sys import math import argparse sys.path.append(os.environ['SNAKE']) from snake import miscellaneous def parse_command_line(): """ Parses the command-line....
41.494118
134
0.655685
1,760
17,635
6.522159
0.281818
0.027877
0.013329
0.003136
0.154804
0.120045
0.09574
0.087464
0.055493
0.039289
0
0.030332
0.240998
17,635
424
135
41.591981
0.827269
0.163992
0
0.1
1
0
0.115139
0.00185
0
0
0
0
0
1
0.011765
false
0.002941
0.014706
0
0.029412
0.055882
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
0901166f5b96cd272e1a7d9a0f266a5057bca1e0
1,725
py
Python
tests/factories.py
UNINETT/django-rtdb
a8af13c1756581fee0a02a9da9cbb4d252d77dab
[ "MIT" ]
null
null
null
tests/factories.py
UNINETT/django-rtdb
a8af13c1756581fee0a02a9da9cbb4d252d77dab
[ "MIT" ]
null
null
null
tests/factories.py
UNINETT/django-rtdb
a8af13c1756581fee0a02a9da9cbb4d252d77dab
[ "MIT" ]
null
null
null
from __future__ import unicode_literals import factory from faker import Factory as Faker from rtdb.models import Customfield from rtdb.models import Queue from rtdb.models import Ticket from rtdb.models import TicketCustomfieldValue __all__ = [ 'QueueFactory', 'TicketFactory', ] fake = Faker.create() cla...
21.036585
71
0.692174
178
1,725
6.651685
0.303371
0.027027
0.047297
0.067568
0.322635
0.296453
0.054054
0
0
0
0
0.020408
0.233043
1,725
81
72
21.296296
0.874528
0
0
0.366667
0
0
0.031903
0
0
0
0
0
0
1
0
false
0
0.116667
0
0.85
0
0
0
0
null
0
0
0
0
0
0
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
09073779c1cb3424b3bf597d5ef5057396d4f95d
3,475
py
Python
Documentation_generator/ivml_documentation_from_file.py
jegentile/IVML
6f37f71c3eafd62bf8eae8b81906d4dec024a337
[ "Apache-2.0" ]
8
2015-01-04T22:24:04.000Z
2021-03-02T22:52:13.000Z
Documentation_generator/ivml_documentation_from_file.py
jegentile/IVML
6f37f71c3eafd62bf8eae8b81906d4dec024a337
[ "Apache-2.0" ]
null
null
null
Documentation_generator/ivml_documentation_from_file.py
jegentile/IVML
6f37f71c3eafd62bf8eae8b81906d4dec024a337
[ "Apache-2.0" ]
5
2015-01-15T01:42:34.000Z
2015-06-10T20:14:07.000Z
__author__ = 'jgentile' class IVMLDocumentationFromFile: def __init__(self,file_name): self.__file_name = file_name self.__file = open(file_name) print ' Document generator looking at ',file_name self.__ivml_object_documentation = '\0' self.__type = '' self.__ivm...
33.413462
178
0.524892
370
3,475
4.562162
0.245946
0.037915
0.049763
0.059242
0.14218
0.042654
0
0
0
0
0
0.011251
0.360576
3,475
103
179
33.737864
0.748425
0.040576
0
0
0
0
0.087175
0
0
0
0
0
0
0
null
null
0
0
null
null
0.056338
0
0
0
null
0
0
0
0
0
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
09092d39bb27dcbbb648e0ff51b488e0aa0fd877
7,682
py
Python
tests/silhouette_test.py
JesusFreke/fscad
0f79ec27f9141b8735e2f66efdb7dc705fd1a574
[ "Apache-2.0" ]
35
2019-02-19T08:26:52.000Z
2022-03-17T06:05:24.000Z
tests/silhouette_test.py
JesusFreke/fscad
0f79ec27f9141b8735e2f66efdb7dc705fd1a574
[ "Apache-2.0" ]
3
2019-10-19T06:15:00.000Z
2021-12-03T06:29:57.000Z
tests/silhouette_test.py
JesusFreke/fscad
0f79ec27f9141b8735e2f66efdb7dc705fd1a574
[ "Apache-2.0" ]
3
2019-03-31T00:11:01.000Z
2020-03-26T21:29:57.000Z
# Copyright 2019 Google LLC # # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, soft...
35.897196
109
0.609607
902
7,682
5.072062
0.176275
0.009617
0.034973
0.039344
0.673224
0.651803
0.623388
0.623388
0.612896
0.60459
0
0.032662
0.262692
7,682
213
110
36.065728
0.775071
0.087738
0
0.607843
0
0
0.005149
0
0
0
0
0
0.150327
1
0.078431
false
0
0.039216
0
0.124183
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
09099ad6231f06e950b5551e02bfd0a0b2878fe9
7,794
py
Python
core/configs.py
firehose-dataset/congrad
20792f43aa89beae75454e30b82b2e1280ed3106
[ "MIT" ]
9
2020-07-21T14:37:22.000Z
2021-07-14T12:44:13.000Z
core/configs.py
firehose-dataset/congrad
20792f43aa89beae75454e30b82b2e1280ed3106
[ "MIT" ]
2
2020-09-22T18:05:03.000Z
2020-11-19T09:42:21.000Z
core/configs.py
firehose-dataset/congrad
20792f43aa89beae75454e30b82b2e1280ed3106
[ "MIT" ]
2
2020-07-21T16:39:12.000Z
2020-07-30T02:20:47.000Z
import os import time import argparse def get_basic_parser(): parser = argparse.ArgumentParser(description='Transformer Language Model', add_help=False) parser.add_argument('--gpu0_bsz', type=int, default=-1, help='batch size on gpu 0') parser.add_argument('--n_layer', type=...
60.890625
229
0.588145
907
7,794
4.907387
0.254686
0.117277
0.221523
0.049652
0.283532
0.180634
0.138171
0.100427
0.100427
0.096158
0
0.016628
0.282397
7,794
127
230
61.370079
0.779188
0
0
0.047619
0
0.007937
0.347703
0
0
0
0
0
0
1
0.007937
false
0
0.02381
0
0.039683
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
0913e4c8b9fb3ed958524ac1b07d0ed762918360
1,355
py
Python
main.py
ragequitcc/Ragequit.FritzBoxStatus
981e65d0c3b84e22384d6b5095ee8ba05bde370f
[ "MIT" ]
null
null
null
main.py
ragequitcc/Ragequit.FritzBoxStatus
981e65d0c3b84e22384d6b5095ee8ba05bde370f
[ "MIT" ]
null
null
null
main.py
ragequitcc/Ragequit.FritzBoxStatus
981e65d0c3b84e22384d6b5095ee8ba05bde370f
[ "MIT" ]
null
null
null
from os import environ from http.server import BaseHTTPRequestHandler, HTTPServer from fritzconnection.lib.fritzstatus import FritzStatus from fritzconnection import FritzConnection if "FritzBoxUri" not in environ: print("FritzBoxUri Missing") quit() if "FritzBoxUser" not in environ: print("Frit...
33.04878
122
0.653875
153
1,355
5.705882
0.405229
0.045819
0.041237
0.058419
0.201604
0.201604
0.201604
0.201604
0.201604
0.201604
0
0.018217
0.230258
1,355
40
123
33.875
0.818792
0
0
0.354839
0
0
0.196958
0
0
0
0
0
0
1
0.032258
false
0.096774
0.129032
0
0.193548
0.096774
0
0
0
null
0
0
0
0
0
0
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
091e4f3b3919380511b4de82bf25152045071808
1,951
py
Python
status/get_status_from_s3_path.py
oslokommune/dataplatform-status-api
f19845697d1a2c2592a3fa18bade2b70014c3aa1
[ "MIT" ]
null
null
null
status/get_status_from_s3_path.py
oslokommune/dataplatform-status-api
f19845697d1a2c2592a3fa18bade2b70014c3aa1
[ "MIT" ]
null
null
null
status/get_status_from_s3_path.py
oslokommune/dataplatform-status-api
f19845697d1a2c2592a3fa18bade2b70014c3aa1
[ "MIT" ]
null
null
null
import base64 import simplejson from aws_xray_sdk.core import patch_all, xray_recorder from botocore.exceptions import ClientError from okdata.aws.logging import ( logging_wrapper, log_add, log_exception, ) from okdata.resource_auth import ResourceAuthorizer from status.StatusData import StatusData from s...
30.484375
75
0.661712
242
1,951
5.078512
0.409091
0.051261
0.039056
0.041497
0.129373
0.039056
0
0
0
0
0
0.017857
0.253716
1,951
63
76
30.968254
0.826236
0.089698
0
0
0
0
0.109543
0.028233
0
0
0
0.015873
0
1
0.019608
false
0
0.156863
0
0.254902
0
0
0
0
null
0
0
0
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
09243420f3d8c289a389aaaead800458826beaf8
860
py
Python
0901-1000/0931-Median of K Sorted Arrays/0931-Median of K Sorted Arrays.py
jiadaizhao/LintCode
a8aecc65c47a944e9debad1971a7bc6b8776e48b
[ "MIT" ]
77
2017-12-30T13:33:37.000Z
2022-01-16T23:47:08.000Z
0901-1000/0931-Median of K Sorted Arrays/0931-Median of K Sorted Arrays.py
jxhangithub/LintCode-1
a8aecc65c47a944e9debad1971a7bc6b8776e48b
[ "MIT" ]
1
2018-05-14T14:15:40.000Z
2018-05-14T14:15:40.000Z
0901-1000/0931-Median of K Sorted Arrays/0931-Median of K Sorted Arrays.py
jxhangithub/LintCode-1
a8aecc65c47a944e9debad1971a7bc6b8776e48b
[ "MIT" ]
39
2017-12-07T14:36:25.000Z
2022-03-10T23:05:37.000Z
import bisect class Solution: """ @param nums: the given k sorted arrays @return: the median of the given k sorted arrays """ def findMedian(self, nums): # write your code here n = sum(len(arr) for arr in nums) if n == 0: return 0 def findKth(k): ...
27.741935
84
0.422093
103
860
3.514563
0.398058
0.066298
0.074586
0.082873
0.19337
0
0
0
0
0
0
0.038031
0.480233
860
30
85
28.666667
0.771812
0.126744
0
0.090909
0
0
0
0
0
0
0
0.033333
0
1
0.090909
false
0
0.045455
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
1
0
0
0
0
0
0
0
0
0
0
1
092c4c5b9e451b609b0d1d54ed26a56cbafeb03c
57,179
py
Python
Lib/unittest/case.py
sireliah/polish-python
605df4944c2d3bc25f8bf6964b274c0a0d297cc3
[ "PSF-2.0" ]
1
2018-06-21T18:21:24.000Z
2018-06-21T18:21:24.000Z
Lib/unittest/case.py
sireliah/polish-python
605df4944c2d3bc25f8bf6964b274c0a0d297cc3
[ "PSF-2.0" ]
null
null
null
Lib/unittest/case.py
sireliah/polish-python
605df4944c2d3bc25f8bf6964b274c0a0d297cc3
[ "PSF-2.0" ]
null
null
null
"""Test case implementation""" zaimportuj sys zaimportuj functools zaimportuj difflib zaimportuj logging zaimportuj pprint zaimportuj re zaimportuj warnings zaimportuj collections zaimportuj contextlib zaimportuj traceback z . zaimportuj result z .util zaimportuj (strclass, safe_repr, _count_diff_all_purpose, ...
40.466384
98
0.601672
6,186
57,179
5.432751
0.133042
0.00976
0.014283
0.019371
0.320142
0.271134
0.247776
0.218704
0.192638
0.180558
0
0.003902
0.318683
57,179
1,412
99
40.495042
0.858767
0.036552
0
0.309579
0
0
0.080538
0.003234
0.001168
0
0
0
0.094626
0
null
null
0
0.014019
null
null
0.005841
0
0
0
null
0
0
0
0
0
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
09339de497bce804c80e7ae435e1df64b35617dc
6,022
py
Python
RabbitMQooz.py
khalilovcmd/sd-rabbitmqooz
3771964be66b8d2dcf2d141d5b479eb40da352cf
[ "Unlicense" ]
1
2015-12-10T08:55:52.000Z
2015-12-10T08:55:52.000Z
RabbitMQooz.py
khalilovcmd/sd-rabbitmqooz
3771964be66b8d2dcf2d141d5b479eb40da352cf
[ "Unlicense" ]
null
null
null
RabbitMQooz.py
khalilovcmd/sd-rabbitmqooz
3771964be66b8d2dcf2d141d5b479eb40da352cf
[ "Unlicense" ]
null
null
null
import json import urllib2 import base64 import json import logging import os import platform import sys import time class RabbitMQooz(object): def __init__(self, agent_config, checks_logger, raw_config): self.agent_config = agent_config self.checks_logger = checks_logger self.raw_config =...
42.70922
123
0.597144
634
6,022
5.369085
0.198738
0.067568
0.094888
0.122797
0.495593
0.344301
0.221798
0.108108
0.108108
0.108108
0
0.013935
0.296911
6,022
141
124
42.70922
0.790033
0.098472
0
0.107843
0
0
0.279725
0.114821
0
0
0
0
0
0
null
null
0.029412
0.088235
null
null
0.019608
0
0
0
null
0
0
0
0
0
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
09395fae23a11419b5cc816c9b353358d4f359ad
6,489
py
Python
annotation-tool/filter_annotations.py
robotika/subt-artf
9ec40a7a41b89c9238a205dfd36c7d26bbdb1d93
[ "MIT" ]
1
2021-04-11T23:02:16.000Z
2021-04-11T23:02:16.000Z
annotation-tool/filter_annotations.py
robotika/subt-artf
9ec40a7a41b89c9238a205dfd36c7d26bbdb1d93
[ "MIT" ]
170
2020-05-27T08:22:45.000Z
2021-11-01T15:28:31.000Z
annotation-tool/filter_annotations.py
robotika/subt-artf
9ec40a7a41b89c9238a205dfd36c7d26bbdb1d93
[ "MIT" ]
null
null
null
"""Filter and convert annotations""" import json import os import cv2 USED_ARTF_NAME = ["backpack", "phone", "survivor", "drill", "fire_extinguisher", "vent", "helmet", "rope", "breadcrumb", "robot", "cube", "nothing"] BLACKLIST = [ "../virtual/helmet/local_J01_000.jpg", "../virtual/helmet/local_J...
38.39645
120
0.64016
914
6,489
4.315098
0.201313
0.159736
0.109533
0.133114
0.56212
0.332404
0.105477
0.061359
0.039047
0.020791
0
0.061661
0.185237
6,489
168
121
38.625
0.68432
0.0319
0
0.058824
0
0
0.466507
0.403509
0
0
0.000638
0
0
1
0.013072
false
0
0.026144
0
0.045752
0.006536
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
093c450e14f33b26a810c5421ff806a441e1e0f5
684
py
Python
django_mobile_app_distribution/migrations/0005_auto_20160118_1759.py
chingmeng/django-mobile-app-distribution
7f1644f635b549c46968490b66c83e4107c6cb6d
[ "MIT" ]
38
2015-09-26T00:31:10.000Z
2021-04-06T04:48:15.000Z
django_mobile_app_distribution/migrations/0005_auto_20160118_1759.py
chingmeng/django-mobile-app-distribution
7f1644f635b549c46968490b66c83e4107c6cb6d
[ "MIT" ]
4
2016-04-08T17:07:44.000Z
2019-02-10T08:15:12.000Z
django_mobile_app_distribution/migrations/0005_auto_20160118_1759.py
chingmeng/django-mobile-app-distribution
7f1644f635b549c46968490b66c83e4107c6cb6d
[ "MIT" ]
23
2015-09-16T12:12:42.000Z
2020-04-22T08:22:00.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models import django_mobile_app_distribution.storage import django_mobile_app_distribution.models class Migration(migrations.Migration): dependencies = [ ('django_mobile_app_distribution', '0004_auto_201509...
31.090909
210
0.736842
72
684
6.597222
0.555556
0.126316
0.157895
0.284211
0.307368
0
0
0
0
0
0
0.030089
0.173977
684
21
211
32.571429
0.810619
0.030702
0
0
0
0
0.122542
0.080182
0
0
0
0
0
1
0
false
0
0.266667
0
0.466667
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
093fd5eeede1a93b304aa202cbba9e19b85d9f79
2,370
py
Python
yayun.py
Gold-Sea/Poems
0a8c017f11e37e69be1646ac006ad7e95bc84a5a
[ "MIT" ]
null
null
null
yayun.py
Gold-Sea/Poems
0a8c017f11e37e69be1646ac006ad7e95bc84a5a
[ "MIT" ]
null
null
null
yayun.py
Gold-Sea/Poems
0a8c017f11e37e69be1646ac006ad7e95bc84a5a
[ "MIT" ]
null
null
null
def clarify_yayun(): with open("字表拼音.txt", "r", encoding="utf-8") as f: lines = f.readlines() zhengti = ["hi", "ri", "zi", "ci", "si"] # 整体认读音节的后两个字母 u_to_v = ["yu", "xu", "qu"] # 读作v写作u for line in lines: c = line[0] # _i指末尾i个字母组成的韵母 _1 ...
32.465753
88
0.397468
323
2,370
2.687307
0.303406
0.115207
0.190092
0.110599
0.133641
0.112903
0.039171
0
0
0
0
0.058157
0.44135
2,370
72
89
32.916667
0.597432
0.023207
0
0.037037
0
0
0.046859
0
0
0
0
0
0
1
0.037037
false
0
0
0
0.074074
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
09563535d87dcc72b1804e60da4568b9e00b350c
4,120
py
Python
analyzer_project/source_parser/abstract_source_parser.py
Dakhnovskiy/linguistic_analyzer_projects
36551d788f76be47b8892bce4073900e2cccec2f
[ "Apache-2.0" ]
null
null
null
analyzer_project/source_parser/abstract_source_parser.py
Dakhnovskiy/linguistic_analyzer_projects
36551d788f76be47b8892bce4073900e2cccec2f
[ "Apache-2.0" ]
null
null
null
analyzer_project/source_parser/abstract_source_parser.py
Dakhnovskiy/linguistic_analyzer_projects
36551d788f76be47b8892bce4073900e2cccec2f
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- __author__ = 'Dmitriy.Dakhnovskiy' import itertools from abc import ABCMeta, abstractmethod class AbstractSourceParser: __metaclass__ = ABCMeta def __init__(self, source): """ :param source: исходный код """ self.__type_identificator_funcs = { ...
30.518519
119
0.65
397
4,120
6.395466
0.287154
0.059866
0.068531
0.040961
0.325325
0.204017
0.123671
0.084285
0.050414
0
0
0.000671
0.276214
4,120
134
120
30.746269
0.850771
0.274757
0
0.258621
0
0
0.030186
0
0
0
0
0.007463
0.017241
1
0.241379
false
0
0.034483
0
0.310345
0
0
0
0
null
0
0
0
0
0
0
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
095e0c3d9c424b594012bf01b503f18a9ffd1fe2
239
py
Python
our_scripts/setup.py
shrivats-pu/Prescient
3d4238e98ddd767e2b81adc4091bb723dbf563d3
[ "BSD-3-Clause" ]
1
2021-10-14T20:39:50.000Z
2021-10-14T20:39:50.000Z
our_scripts/setup.py
shrivats-pu/Prescient
3d4238e98ddd767e2b81adc4091bb723dbf563d3
[ "BSD-3-Clause" ]
null
null
null
our_scripts/setup.py
shrivats-pu/Prescient
3d4238e98ddd767e2b81adc4091bb723dbf563d3
[ "BSD-3-Clause" ]
null
null
null
from setuptools import setup setup(name='prescient_helpers', version='0.1', description='Use prescient helper functions', url='#', author='Ethan Reese', author_email='ereese@princeton.edu', packages=['prescient_helpers'], zip_safe=False)
21.727273
45
0.774059
31
239
5.83871
0.83871
0.176796
0
0
0
0
0
0
0
0
0
0.009009
0.07113
239
10
46
23.9
0.806306
0
0
0
0
0
0.414226
0
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
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
096120c3f43bcf80287a490af405c9d8c994639a
1,998
py
Python
modelling/modelling_sample.py
PREDICTFORCE/Toolkit-for-Professional-Data-Science-Workflow-Example
90b3a54a1fffe10282617e967afed1712d39ca3f
[ "MIT" ]
null
null
null
modelling/modelling_sample.py
PREDICTFORCE/Toolkit-for-Professional-Data-Science-Workflow-Example
90b3a54a1fffe10282617e967afed1712d39ca3f
[ "MIT" ]
null
null
null
modelling/modelling_sample.py
PREDICTFORCE/Toolkit-for-Professional-Data-Science-Workflow-Example
90b3a54a1fffe10282617e967afed1712d39ca3f
[ "MIT" ]
1
2021-09-16T08:30:45.000Z
2021-09-16T08:30:45.000Z
import argparse import pickle from pathlib import Path import pandas as pd from sklearn.linear_model import LogisticRegression from sklearn.metrics import accuracy_score, confusion_matrix, classification_report from sklearn.model_selection import train_test_split parser = argparse.ArgumentParser(description='Process ...
39.176471
102
0.790791
298
1,998
5.087248
0.308725
0.042216
0.044855
0.039578
0.350264
0.307388
0.278364
0.278364
0.278364
0.251319
0
0.00542
0.076577
1,998
50
103
39.96
0.81626
0.011011
0
0.055556
0
0
0.184397
0.037994
0
0
0
0
0
1
0
false
0.055556
0.194444
0
0.194444
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
11727ab8f0fb0e0ff3484493225652e1697f3b16
5,265
py
Python
sdk/python/pulumi_rancher2/get_project_role_template_binding.py
mitchellmaler/pulumi-rancher2
e6ca44b58b5b10c12a4e628e61aa8d98330f0863
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_rancher2/get_project_role_template_binding.py
mitchellmaler/pulumi-rancher2
e6ca44b58b5b10c12a4e628e61aa8d98330f0863
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_rancher2/get_project_role_template_binding.py
mitchellmaler/pulumi-rancher2
e6ca44b58b5b10c12a4e628e61aa8d98330f0863
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import json import warnings import pulumi import pulumi.runtime from typing import Union from . import utilities, tables class GetProj...
44.243697
196
0.679012
645
5,265
5.212403
0.206202
0.078525
0.054134
0.089233
0.30696
0.203748
0.160024
0.080309
0.080309
0
0
0.000994
0.235328
5,265
118
197
44.618644
0.834078
0.148718
0
0
1
0
0.160588
0.019417
0
0
0
0
0
1
0.040541
false
0
0.081081
0
0.175676
0
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
1173a905fb25189b01d63dd9733072094d501da2
2,718
py
Python
main.py
DebNatkh/tinkoff-colloquium-bot
7c00402929a4615617d77f73e79e4243fd92220f
[ "Unlicense" ]
null
null
null
main.py
DebNatkh/tinkoff-colloquium-bot
7c00402929a4615617d77f73e79e4243fd92220f
[ "Unlicense" ]
null
null
null
main.py
DebNatkh/tinkoff-colloquium-bot
7c00402929a4615617d77f73e79e4243fd92220f
[ "Unlicense" ]
null
null
null
#! /usr/bin/env python3 import os from random import choice import filetype from telegram.ext import Updater, CommandHandler from tinydb import TinyDB, where db = TinyDB('db.json') admins_table = db.table("admins") given_questions = db.table("given") quiet_categories = ['meme'] def register_admin(update, context):...
34.846154
105
0.680648
358
2,718
4.946927
0.296089
0.088086
0.045172
0.054207
0.232637
0.203275
0.130435
0.130435
0.069452
0.04856
0
0.001852
0.205298
2,718
77
106
35.298701
0.818056
0.008094
0
0.101695
0
0
0.187384
0.057885
0
0
0
0
0.033898
1
0.067797
false
0.050847
0.084746
0
0.169492
0.016949
0
0
0
null
0
0
0
0
0
0
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
1174d352a17ae7bdbd1c4d2e5a18da54455cf336
12,059
py
Python
py/mockDensData.py
jobovy/apogee-maps
0316e95bdf9b85f3f4b758e8e67dc197d228288f
[ "BSD-3-Clause" ]
1
2020-06-28T14:22:20.000Z
2020-06-28T14:22:20.000Z
py/mockDensData.py
jobovy/apogee-maps
0316e95bdf9b85f3f4b758e8e67dc197d228288f
[ "BSD-3-Clause" ]
null
null
null
py/mockDensData.py
jobovy/apogee-maps
0316e95bdf9b85f3f4b758e8e67dc197d228288f
[ "BSD-3-Clause" ]
3
2015-10-05T21:59:32.000Z
2017-02-03T11:53:45.000Z
############################################################################### # mockDensData.py: generate mock data following a given density ############################################################################### import os, os.path import pickle import multiprocessing from optparse import OptionParser import...
43.222222
121
0.556348
1,464
12,059
4.511612
0.239754
0.004239
0.00545
0.014534
0.247237
0.203785
0.150643
0.104466
0.104466
0.062074
0
0.036291
0.291649
12,059
278
122
43.377698
0.736947
0.127623
0
0.133621
1
0.00431
0.077321
0.005753
0
0
0
0
0
1
0.017241
false
0.00431
0.051724
0
0.142241
0
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
11767732ae5f9f96a073f159f786b30544ab7d0b
1,117
py
Python
authors/apps/articles/migrations/0007_report.py
andela/ah-backend-summer
f842a3e02f8418f123dc5de36809ad67557b1c1d
[ "BSD-3-Clause" ]
1
2019-03-11T12:45:24.000Z
2019-03-11T12:45:24.000Z
authors/apps/articles/migrations/0007_report.py
andela/ah-backend-summer
f842a3e02f8418f123dc5de36809ad67557b1c1d
[ "BSD-3-Clause" ]
53
2019-01-29T08:02:23.000Z
2022-03-11T23:39:37.000Z
authors/apps/articles/migrations/0007_report.py
andela/ah-backend-summer
f842a3e02f8418f123dc5de36809ad67557b1c1d
[ "BSD-3-Clause" ]
5
2019-10-04T07:02:38.000Z
2020-06-11T12:39:22.000Z
# Generated by Django 2.1.5 on 2019-02-19 13:24 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('profiles', '0003_merge_20190214_1334'), ('articles', '0006_article_tag_list'), ] operations = [ mig...
31.027778
72
0.506714
99
1,117
5.575758
0.59596
0.057971
0.076087
0.119565
0.231884
0.231884
0.231884
0.231884
0.231884
0.231884
0
0.050432
0.378693
1,117
35
73
31.914286
0.744957
0.040286
0
0.137931
1
0
0.125234
0.042056
0
0
0
0
0
1
0
false
0
0.068966
0
0.172414
0
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
117fc72709b64a2259d1fc8bb47168d09f8d1b4b
8,876
py
Python
src/py_moveit/scripts/line_cartesian_5DOF.py
ERP1234/5DOF_Robot_arm
5dbb9b3374aea32ef38882d2fcc3cd253d49bef5
[ "MIT" ]
null
null
null
src/py_moveit/scripts/line_cartesian_5DOF.py
ERP1234/5DOF_Robot_arm
5dbb9b3374aea32ef38882d2fcc3cd253d49bef5
[ "MIT" ]
null
null
null
src/py_moveit/scripts/line_cartesian_5DOF.py
ERP1234/5DOF_Robot_arm
5dbb9b3374aea32ef38882d2fcc3cd253d49bef5
[ "MIT" ]
null
null
null
#!/usr/bin/env python import sys import copy import rospy import moveit_commander import moveit_msgs.msg import geometry_msgs.msg from math import pi from std_msgs.msg import String from moveit_commander.conversions import pose_to_list ## END_SUB_TUTORIAL def all_close(goal, actual, tolerance): all_equal = True ...
34.536965
145
0.662123
1,169
8,876
4.87083
0.244654
0.033193
0.027397
0.017914
0.251317
0.228311
0.219529
0.198455
0.186512
0.179312
0
0.011141
0.24155
8,876
256
146
34.671875
0.83467
0.436233
0
0.137615
0
0
0.114151
0.013986
0
0
0
0
0
0
null
null
0
0.082569
null
null
0.073395
0
0
0
null
0
0
0
0
0
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
1185bba91e01b4de118d2b542bfd9251ad900106
799
py
Python
reviews/migrations/0003_auto_20180610_1456.py
UrbanBogger/horrorexplosion
3698e00a6899a5e8b224cd3d1259c3deb3a2ca80
[ "MIT" ]
null
null
null
reviews/migrations/0003_auto_20180610_1456.py
UrbanBogger/horrorexplosion
3698e00a6899a5e8b224cd3d1259c3deb3a2ca80
[ "MIT" ]
4
2020-06-05T18:21:18.000Z
2021-06-10T20:17:31.000Z
reviews/migrations/0003_auto_20180610_1456.py
UrbanBogger/horrorexplosion
3698e00a6899a5e8b224cd3d1259c3deb3a2ca80
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2018-06-10 13:56 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('reviews', '0002_auto_20180610_1406'), ] operations = [ migrations.AddField(...
30.730769
139
0.630788
98
799
4.979592
0.55102
0.106557
0.131148
0.110656
0.377049
0.377049
0.377049
0.377049
0.377049
0.377049
0
0.054908
0.24781
799
25
140
31.96
0.757072
0.085106
0
0.333333
1
0
0.284341
0.031593
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
0
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
11864167f1112f6dca47939b6462e24eabe9c356
1,142
py
Python
coinbasepro/auth.py
apfelnutzer/coinbasepro
f4f7e6d2f40eca027709a15d5d81ed804a506fbb
[ "MIT" ]
46
2018-07-14T16:07:56.000Z
2022-03-19T16:40:36.000Z
coinbasepro/auth.py
apfelnutzer/coinbasepro
f4f7e6d2f40eca027709a15d5d81ed804a506fbb
[ "MIT" ]
19
2018-07-15T07:15:53.000Z
2022-03-14T08:01:53.000Z
coinbasepro/auth.py
apfelnutzer/coinbasepro
f4f7e6d2f40eca027709a15d5d81ed804a506fbb
[ "MIT" ]
20
2018-07-15T16:19:53.000Z
2022-01-17T05:16:20.000Z
import time import base64 import hashlib import hmac from requests.auth import AuthBase class CoinbaseProAuth(AuthBase): """Request authorization. Provided by Coinbase Pro: https://docs.pro.coinbase.com/?python#signing-a-message """ def __init__(self, api_key, secret_key, passphrase): s...
30.052632
86
0.619965
124
1,142
5.540323
0.467742
0.034935
0.043668
0
0
0
0
0
0
0
0
0.020507
0.274081
1,142
37
87
30.864865
0.808203
0.091944
0
0
0
0
0.09725
0
0
0
0
0
0
1
0.074074
false
0.111111
0.185185
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
1187839e1513da1980ec154bf0929f30c77d2a67
4,286
py
Python
src/rbx2/rbx2_tasks/src/rbx2_tasks/clean_house_tasks_tree.py
fujy/ROS-Project
b5e3b43c5eb5d3c1d984648f0f61710eea3a1bb8
[ "MIT" ]
9
2017-08-22T13:07:13.000Z
2021-07-13T10:02:29.000Z
src/rbx2/rbx2_tasks/src/rbx2_tasks/clean_house_tasks_tree.py
vcdanda/ROS-Turtlebot2
f24356486f55933d52e25a81715f1571aace0224
[ "MIT" ]
1
2017-12-14T06:46:58.000Z
2017-12-14T06:46:58.000Z
src/rbx2/rbx2_tasks/src/rbx2_tasks/clean_house_tasks_tree.py
vcdanda/ROS-Turtlebot2
f24356486f55933d52e25a81715f1571aace0224
[ "MIT" ]
5
2018-02-07T14:09:28.000Z
2021-01-08T20:41:52.000Z
#!/usr/bin/env python """ clean_house_tasks_tree.py - Version 1.0 2013-12-20 Create a number of simulated cleaning tasks. Created for the Pi Robot Project: http://www.pirobot.org Copyright (c) 2013 Patrick Goebel. All rights reserved. This program is free software; you can redistribute it and/or mo...
34.015873
73
0.569995
545
4,286
4.324771
0.269725
0.068731
0.101824
0.082732
0.640645
0.618583
0.609673
0.57955
0.547306
0.547306
0
0.01652
0.336211
4,286
126
74
34.015873
0.811951
0.175688
0
0.715909
0
0
0.048471
0
0
0
0
0
0
1
0.068182
false
0
0.034091
0
0.204545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
11898903547e244ea87eaac3f750b792be78816a
1,895
py
Python
blog/models.py
alegume/furry-succotash
2f8a49d4f11a50ae4884246984dc22346d6af328
[ "BSD-3-Clause" ]
null
null
null
blog/models.py
alegume/furry-succotash
2f8a49d4f11a50ae4884246984dc22346d6af328
[ "BSD-3-Clause" ]
7
2021-04-08T19:41:49.000Z
2022-03-12T00:38:27.000Z
blog/models.py
alegume/furry-succotash
2f8a49d4f11a50ae4884246984dc22346d6af328
[ "BSD-3-Clause" ]
null
null
null
from django.conf import settings from django.db import models from django.utils import timezone class Post(models.Model): author = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete=models.CASCADE) title = models.CharField(max_length=200) text = models.TextField() created_date = models.DateTimeField...
33.839286
92
0.709763
237
1,895
5.49789
0.312236
0.046048
0.042978
0.064467
0.434382
0.403684
0.320798
0.28089
0.28089
0.205679
0
0.005718
0.169393
1,895
55
93
34.454545
0.822109
0
0
0.232558
0
0
0.037467
0
0
0
0
0
0
1
0.186047
false
0
0.069767
0.139535
0.906977
0
0
0
0
null
0
0
0
0
0
0
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
118b7cd89d4c450e3759129b6c9154abc809c419
573
py
Python
ex036.py
MarcelleFranca/exercicios-python
e65c1d1f2d92db0e8f5035dea8062a53defa899f
[ "MIT" ]
null
null
null
ex036.py
MarcelleFranca/exercicios-python
e65c1d1f2d92db0e8f5035dea8062a53defa899f
[ "MIT" ]
null
null
null
ex036.py
MarcelleFranca/exercicios-python
e65c1d1f2d92db0e8f5035dea8062a53defa899f
[ "MIT" ]
null
null
null
print('-=-' * 25) print('BEM-VINDO AO SEU EMPRÉSTIMO, PARA INICIAR SIGA AS INTRUÇÕES ABAIXO!') print('-=-' * 25) salario = float(input('Qual é o seu salario atual? R$')) casa = float(input('Qual é o valo do imóvel que pretende compar? R$')) anos = int(input('Em quantos anos pretende financiar a casa? ')) fina = casa / ...
40.928571
111
0.663176
91
573
4.175824
0.593407
0.036842
0.073684
0.078947
0.084211
0
0
0
0
0
0
0.027311
0.169284
573
13
112
44.076923
0.771008
0
0
0.153846
0
0.076923
0.554974
0
0
0
0
0
0
1
0
false
0
0
0
0
0.461538
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
1196985810c472b20b259b654187b432d0eed6b4
986
py
Python
src/__main__.py
MarioBonse/MulticameraTraking
8f87c5fc3c807b2fa6ed18aacd153310855a31bf
[ "MIT" ]
null
null
null
src/__main__.py
MarioBonse/MulticameraTraking
8f87c5fc3c807b2fa6ed18aacd153310855a31bf
[ "MIT" ]
null
null
null
src/__main__.py
MarioBonse/MulticameraTraking
8f87c5fc3c807b2fa6ed18aacd153310855a31bf
[ "MIT" ]
null
null
null
import threeDplot import camera as cam import HSVObjTracking as HSVTr import numpy as np import matplotlib.pyplot as plt import mpl_toolkits.mplot3d.axes3d as p3 import matplotlib.animation as animation def main(): ######red ball ballLower = (137, 88, 55) ballUpper = (183, 255, 255) camera1...
27.388889
84
0.6643
112
986
5.767857
0.473214
0.060372
0.049536
0.058824
0.126935
0.126935
0.126935
0.126935
0.126935
0.126935
0
0.07871
0.213996
986
35
85
28.171429
0.754839
0.130832
0
0.086957
0
0
0.037406
0
0
0
0
0
0
1
0.043478
false
0
0.304348
0
0.434783
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1198641ba2be85478e0534ef9825ff1b7092342f
931
py
Python
src/genie/libs/parser/iosxe/tests/ShowIsisHostname/cli/equal/golden_output_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
204
2018-06-27T00:55:27.000Z
2022-03-06T21:12:18.000Z
src/genie/libs/parser/iosxe/tests/ShowIsisHostname/cli/equal/golden_output_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
468
2018-06-19T00:33:18.000Z
2022-03-31T23:23:35.000Z
src/genie/libs/parser/iosxe/tests/ShowIsisHostname/cli/equal/golden_output_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
309
2019-01-16T20:21:07.000Z
2022-03-30T12:56:41.000Z
expected_output = { "tag": { "VRF1": { "hostname_db": { "hostname": { "7777.77ff.eeee": {"hostname": "R7", "level": 2}, "2222.22ff.4444": {"hostname": "R2", "local_router": True}, } } }, "test": {...
35.807692
79
0.360902
76
931
4.355263
0.5
0.108761
0.108761
0.120846
0.392749
0.392749
0.392749
0.223565
0
0
0
0.179584
0.431794
931
25
80
37.24
0.446125
0
0
0.32
0
0
0.348013
0
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
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
119d49f803cf21333256f78210d4c7fe2ef2ff51
7,596
py
Python
python/biograph/internal/breadth_find_near.py
spiralgenetics/biograph
33c78278ce673e885f38435384f9578bfbf9cdb8
[ "BSD-2-Clause" ]
16
2021-07-14T23:32:31.000Z
2022-03-24T16:25:15.000Z
python/biograph/internal/breadth_find_near.py
spiralgenetics/biograph
33c78278ce673e885f38435384f9578bfbf9cdb8
[ "BSD-2-Clause" ]
9
2021-07-20T20:39:47.000Z
2021-09-16T20:57:59.000Z
python/biograph/internal/breadth_find_near.py
spiralgenetics/biograph
33c78278ce673e885f38435384f9578bfbf9cdb8
[ "BSD-2-Clause" ]
9
2021-07-15T19:38:35.000Z
2022-01-31T19:24:56.000Z
# coding: utf-8 # In[195]: from biograph import BioGraph, Sequence cseq = "GGTTTAAGGCGTTTCCGTTCTTCTTCGTCATAACTTAATG" diff = " dd * i" qseq = "GGTTTAAGGTTTCCGTTTTTCTTCAGTCATAACTTAATG" diff = " dd * i ****" qseq = "GGTTTAAGGTTTCCGTTTTTCTTCAGTCATAACTTTTTT" qseq = "GGTTTAAG...
35.330233
226
0.590837
805
7,596
5.444721
0.313043
0.024641
0.02601
0.013689
0.235455
0.180698
0.120009
0.107689
0.107689
0.089893
0
0.065609
0.269616
7,596
214
227
35.495327
0.724405
0.081885
0
0.155963
0
0
0.143386
0.101989
0
0
0
0
0
0
null
null
0.009174
0.027523
null
null
0.073395
0
0
0
null
0
0
0
0
0
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
11a349d89eed4479b108886885b0685929e596e4
21,670
py
Python
fepy/pycopia/fepy/UI.py
kdart/pycopia
1446fabaedf8c6bdd4ab1fc3f0ea731e0ef8da9d
[ "Apache-2.0" ]
89
2015-03-26T11:25:20.000Z
2022-01-12T06:25:14.000Z
fepy/pycopia/fepy/UI.py
kdart/pycopia
1446fabaedf8c6bdd4ab1fc3f0ea731e0ef8da9d
[ "Apache-2.0" ]
1
2015-07-05T03:27:43.000Z
2015-07-11T06:21:20.000Z
fepy/pycopia/fepy/UI.py
kdart/pycopia
1446fabaedf8c6bdd4ab1fc3f0ea731e0ef8da9d
[ "Apache-2.0" ]
30
2015-04-30T01:35:54.000Z
2022-01-12T06:19:49.000Z
# -*- coding: utf-8 -*- # vim:ts=4:sw=4:softtabstop=4:smarttab:expandtab # 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 ...
31.045845
111
0.534702
2,626
21,670
4.275324
0.176314
0.018705
0.013717
0.006948
0.195778
0.148838
0.118197
0.106262
0.092278
0.084439
0
0.015306
0.333687
21,670
697
112
31.090387
0.762241
0.070743
0
0.202186
0
0
0.062443
0
0
0
0
0.001435
0.005464
0
null
null
0.016393
0.020036
null
null
0.016393
0
0
0
null
0
0
0
0
0
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
11a52312ae117471edddd3a1746b612e1f57bc72
257
py
Python
airflow/plugins/helpers/fetch_page.py
makism/find-a-ps5
3f004be40554595c687a0661998065b08b1f9009
[ "MIT" ]
1
2021-02-10T14:18:49.000Z
2021-02-10T14:18:49.000Z
airflow/plugins/helpers/fetch_page.py
makism/find-a-ps5
3f004be40554595c687a0661998065b08b1f9009
[ "MIT" ]
null
null
null
airflow/plugins/helpers/fetch_page.py
makism/find-a-ps5
3f004be40554595c687a0661998065b08b1f9009
[ "MIT" ]
null
null
null
import requests from bs4 import BeautifulSoup def fetch_page(url: str) -> str: """Fetch the page from the given URL.""" try: r = requests.get(url) return r.text except Exception as err: print(err) return None
17.133333
44
0.607004
35
257
4.428571
0.657143
0
0
0
0
0
0
0
0
0
0
0.005618
0.307393
257
14
45
18.357143
0.865169
0.132296
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.222222
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
11aa968f92e21fea76b989e7ea6ae511caa8f46d
12,094
py
Python
tests/denon/test_response.py
JPHutchins/pyavreceiver
2c86d0ab1f3bca886d2a876096ac760ffb1dcd5f
[ "Apache-2.0" ]
2
2020-12-28T06:09:18.000Z
2021-01-09T22:36:57.000Z
tests/denon/test_response.py
JPHutchins/pyavreceiver
2c86d0ab1f3bca886d2a876096ac760ffb1dcd5f
[ "Apache-2.0" ]
1
2021-02-03T22:59:49.000Z
2021-02-03T22:59:49.000Z
tests/denon/test_response.py
JPHutchins/pyavreceiver
2c86d0ab1f3bca886d2a876096ac760ffb1dcd5f
[ "Apache-2.0" ]
null
null
null
"""Test responses from Denon/Marantz.""" from pyavreceiver.denon.response import DenonMessage def test_separate(message_none): """Test separation of messages.""" assert message_none.separate("PWON") == ("PW", None, "ON") assert message_none.separate("PWSTANDBY") == ("PW", None, "STANDBY") assert mess...
38.15142
88
0.620308
1,440
12,094
5.036111
0.193056
0.097077
0.142995
0.144788
0.470077
0.297297
0.156095
0.076393
0.029785
0
0
0.032035
0.210187
12,094
316
89
38.272152
0.727178
0.043741
0
0.130435
0
0.003953
0.208221
0.00869
0
0
0
0
0.517787
1
0.039526
false
0
0.003953
0
0.043478
0
0
0
0
null
0
0
0
0
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
11ad425f227427bac1da25255aac829b9be20c1e
397
py
Python
stayhome/business/migrations/0031_request_lang.py
mageo/stayhomech
5afe922b13f0350a79eaff0401709f99c5a31e8b
[ "MIT" ]
3
2020-03-20T11:01:57.000Z
2020-03-20T16:29:12.000Z
stayhome/business/migrations/0031_request_lang.py
stayhomech/stayhomech
5afe922b13f0350a79eaff0401709f99c5a31e8b
[ "MIT" ]
74
2020-03-23T21:35:07.000Z
2020-04-27T12:55:50.000Z
stayhome/business/migrations/0031_request_lang.py
mageo/stayhomech
5afe922b13f0350a79eaff0401709f99c5a31e8b
[ "MIT" ]
3
2020-03-20T11:02:35.000Z
2020-03-20T16:29:23.000Z
# Generated by Django 3.0.4 on 2020-03-26 14:52 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('business', '0030_auto_20200326_1533'), ] operations = [ migrations.AddField( model_name='request', name='lang', ...
20.894737
63
0.596977
44
397
5.272727
0.863636
0
0
0
0
0
0
0
0
0
0
0.112281
0.282116
397
18
64
22.055556
0.701754
0.11335
0
0
1
0
0.125714
0.065714
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
11ae23e035181c98b7394d75acf9ffb867b14de0
1,739
py
Python
swan/__init__.py
INM-6/swan
ecd426657d6e0ee67e8ea31f0298daf2ea065158
[ "BSD-3-Clause" ]
3
2020-06-08T12:12:40.000Z
2021-06-11T05:40:37.000Z
swan/__init__.py
INM-6/swan
ecd426657d6e0ee67e8ea31f0298daf2ea065158
[ "BSD-3-Clause" ]
29
2018-10-25T16:10:05.000Z
2021-12-18T21:41:50.000Z
swan/__init__.py
INM-6/swan
ecd426657d6e0ee67e8ea31f0298daf2ea065158
[ "BSD-3-Clause" ]
2
2015-10-07T08:00:16.000Z
2021-06-14T08:28:13.000Z
""" This module contains all the modules and subpackages required to run SWAN. The contents are organized in five folders: * src: contains all the important scripts, including src.main * gui: contains code that renders the graphical aspects of the tool * base: contains important classes for data base and ...
37.804348
118
0.706153
212
1,739
5.764151
0.641509
0.018003
0.022913
0
0
0
0
0
0
0
0
0.011346
0.239793
1,739
46
119
37.804348
0.913011
0.275446
0
0
0
0
0.808307
0
0
0
0
0
0
1
0
false
0
0.045455
0
0.045455
0
0
0
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
11afbf00aed2c5c05359ce94bca8f8577f0a9d7a
559
py
Python
python_toolbox/wx_tools/drawing_tools/pens.py
hboshnak/python_toolbox
cb9ef64b48f1d03275484d707dc5079b6701ad0c
[ "MIT" ]
119
2015-02-05T17:59:47.000Z
2022-02-21T22:43:40.000Z
python_toolbox/wx_tools/drawing_tools/pens.py
hboshnak/python_toolbox
cb9ef64b48f1d03275484d707dc5079b6701ad0c
[ "MIT" ]
4
2019-04-24T14:01:14.000Z
2020-05-21T12:03:29.000Z
python_toolbox/wx_tools/drawing_tools/pens.py
hboshnak/python_toolbox
cb9ef64b48f1d03275484d707dc5079b6701ad0c
[ "MIT" ]
14
2015-03-30T06:30:42.000Z
2021-12-24T23:45:11.000Z
# Copyright 2009-2017 Ram Rachum. # This program is distributed under the MIT license. import wx from python_toolbox import caching is_mac = (wx.Platform == '__WXMAC__') is_gtk = (wx.Platform == '__WXGTK__') is_win = (wx.Platform == '__WXMSW__') @caching.cache(max_size=100) def get_focus_pen(color='black', width=...
21.5
57
0.674419
80
559
4.45
0.65
0.08427
0
0
0
0
0
0
0
0
0
0.030905
0.189624
559
25
58
22.36
0.754967
0.21288
0
0
0
0
0.074766
0
0
0
0
0.04
0
1
0.083333
false
0
0.166667
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
11bdd932e749e2c81c59b1a1e9b7fdd80018e7d5
1,320
py
Python
tests/test_pre_gen_project/test_check_valid_email_address_format.py
lorenzwalthert/govcookiecutter
57300c5e3c7f1e9f4bcf5189f3ea74363c5cc993
[ "MIT" ]
41
2020-04-07T13:10:49.000Z
2021-07-22T07:43:38.000Z
tests/test_pre_gen_project/test_check_valid_email_address_format.py
lorenzwalthert/govcookiecutter
57300c5e3c7f1e9f4bcf5189f3ea74363c5cc993
[ "MIT" ]
36
2020-04-22T15:20:19.000Z
2021-07-23T10:36:01.000Z
tests/test_pre_gen_project/test_check_valid_email_address_format.py
lorenzwalthert/govcookiecutter
57300c5e3c7f1e9f4bcf5189f3ea74363c5cc993
[ "MIT" ]
18
2020-04-15T17:27:54.000Z
2021-07-21T11:44:23.000Z
from hooks.pre_gen_project import check_valid_email_address_format import pytest # Define test cases for the `TestCheckValidEmailAddressFormat` test class args_invalid_email_addresses = ["hello.world", "foo_bar"] args_valid_email_addresses = ["hello@world.com", "foo@bar"] class TestCheckValidEmailAddressFormat: ...
42.580645
86
0.738636
168
1,320
5.464286
0.386905
0.098039
0.111111
0.119826
0.413943
0.383442
0.383442
0.298475
0.130719
0.130719
0
0
0.184848
1,320
30
87
44
0.85316
0.308333
0
0.117647
0
0
0.099109
0
0
0
0
0
0.117647
1
0.117647
false
0.058824
0.117647
0
0.294118
0
0
0
0
null
0
0
0
0
0
0
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
11bf1ed62908bd631ac2eab3d56f1d3f3b63feaa
3,811
py
Python
bin/SampleQCI_pca_convert.py
jkaessens/gwas-assoc
1053c94222701f108362e33c99155cfc148f4ca2
[ "MIT" ]
null
null
null
bin/SampleQCI_pca_convert.py
jkaessens/gwas-assoc
1053c94222701f108362e33c99155cfc148f4ca2
[ "MIT" ]
null
null
null
bin/SampleQCI_pca_convert.py
jkaessens/gwas-assoc
1053c94222701f108362e33c99155cfc148f4ca2
[ "MIT" ]
null
null
null
#!/usr/bin/env python import sys import re import os from os.path import * import string import re import gzip import math import decimal import datetime from os import listdir import subprocess # may also need some of these: # import Ingos lib #sys.path.append(join(sys.path[0], "../../all_scripts")) sys.path.appen...
27.817518
184
0.561795
476
3,811
4.342437
0.310924
0.033866
0.038703
0.023222
0.241896
0.241896
0.195452
0.166425
0.08805
0.08805
0
0.009479
0.280241
3,811
136
185
28.022059
0.744076
0.160063
0
0.296296
0
0
0.12925
0
0
0
0
0
0
0
null
null
0
0.185185
null
null
0.061728
0
0
0
null
0
0
0
0
0
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
11d9fdaa6e790a81a67a442676505557118d1780
859
py
Python
home/kwatters/harry/gestures/howdoyoudo.py
rv8flyboy/pyrobotlab
4e04fb751614a5cb6044ea15dcfcf885db8be65a
[ "Apache-2.0" ]
63
2015-02-03T18:49:43.000Z
2022-03-29T03:52:24.000Z
home/kwatters/harry/gestures/howdoyoudo.py
rv8flyboy/pyrobotlab
4e04fb751614a5cb6044ea15dcfcf885db8be65a
[ "Apache-2.0" ]
16
2016-01-26T19:13:29.000Z
2018-11-25T21:20:51.000Z
home/kwatters/harry/gestures/howdoyoudo.py
rv8flyboy/pyrobotlab
4e04fb751614a5cb6044ea15dcfcf885db8be65a
[ "Apache-2.0" ]
151
2015-01-03T18:55:54.000Z
2022-03-04T07:04:23.000Z
def howdoyoudo(): global helvar if helvar <= 2: i01.mouth.speak("I'm fine thank you") helvar += 1 elif helvar == 3: i01.mouth.speak("you have already said that at least twice") i01.moveArm("left",43,88,22,10) i01.moveArm("right",20,90,30,10) i01.moveHand("left",0,0,0,0,0,119) i01.moveH...
28.633333
82
0.615832
150
859
3.526667
0.42
0.030246
0.034026
0.030246
0.347826
0.204159
0.117202
0.117202
0
0
0
0.177347
0.218859
859
29
83
29.62069
0.611028
0
0
0.310345
0
0
0.24447
0
0
0
0
0
0
1
0.034483
true
0
0
0
0.034483
0
0
0
0
null
0
0
0
0
0
0
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
11ec09f5a8b06f26f7b9880df4b5fb7cd6fc7cf0
4,711
py
Python
tests/typed_list/test_opt.py
canyon289/Theano-PyMC
1a9b04bfe480b758ddfa54ba49c88bee3bec419c
[ "BSD-3-Clause" ]
1
2020-12-30T19:12:52.000Z
2020-12-30T19:12:52.000Z
tests/typed_list/test_opt.py
canyon289/Theano-PyMC
1a9b04bfe480b758ddfa54ba49c88bee3bec419c
[ "BSD-3-Clause" ]
null
null
null
tests/typed_list/test_opt.py
canyon289/Theano-PyMC
1a9b04bfe480b758ddfa54ba49c88bee3bec419c
[ "BSD-3-Clause" ]
1
2020-08-15T17:09:10.000Z
2020-08-15T17:09:10.000Z
import numpy as np import theano import theano.tensor as tt import theano.typed_list from tests.tensor.utils import rand_ranged from theano import In from theano.typed_list.basic import Append, Extend, Insert, Remove, Reverse from theano.typed_list.type import TypedListType class TestInplace: def test_reverse_in...
32.267123
86
0.591806
509
4,711
5.355599
0.1611
0.040352
0.051357
0.066031
0.699193
0.695525
0.695525
0.695525
0.676082
0.655906
0
0.04776
0.284441
4,711
145
87
32.489655
0.760902
0
0
0.577586
0
0
0.026321
0.02335
0
0
0
0
0.112069
1
0.051724
false
0
0.068966
0
0.12931
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
11fa153abfd2630bf903cdbd6287a2ef981ac882
22,508
py
Python
djangotasks/tests.py
godber/crunch.io-dashboard
b7e411d63ed91e558591a2bc9d76aca8a96f09bd
[ "MIT" ]
2
2015-08-27T14:24:42.000Z
2020-10-20T20:54:28.000Z
djangotasks/tests.py
godber/crunch.io-dashboard
b7e411d63ed91e558591a2bc9d76aca8a96f09bd
[ "MIT" ]
null
null
null
djangotasks/tests.py
godber/crunch.io-dashboard
b7e411d63ed91e558591a2bc9d76aca8a96f09bd
[ "MIT" ]
null
null
null
# # Copyright (c) 2010 by nexB, Inc. http://www.nexb.com/ - All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, # ...
46.312757
232
0.651057
2,733
22,508
5.144896
0.139773
0.052912
0.02731
0.026172
0.568381
0.519238
0.442998
0.391082
0.351326
0.312709
0
0.007323
0.241647
22,508
485
233
46.408247
0.816451
0.09681
0
0.379947
0
0.002639
0.193185
0.041481
0
0
0
0
0.203166
0
null
null
0.01847
0.060686
null
null
0.01847
0
0
0
null
0
0
0
0
0
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
11fb2363bd2a523964e82107107e25596ee565b7
3,580
py
Python
ailearn/nn/losses.py
axi345/ailearn
f5a8eb5ce51b5225eb4a65a85d7a03ff93235757
[ "Apache-2.0" ]
39
2018-04-19T02:44:04.000Z
2021-12-10T14:08:58.000Z
ailearn/nn/losses.py
axi345/DRL
1e2d5328e83b1262cec006da084506d623204d27
[ "Apache-2.0" ]
5
2018-04-19T15:27:46.000Z
2021-08-30T07:49:11.000Z
ailearn/nn/losses.py
axi345/DRL
1e2d5328e83b1262cec006da084506d623204d27
[ "Apache-2.0" ]
13
2018-04-19T08:31:53.000Z
2020-10-21T09:10:40.000Z
# -*- coding: utf-8 -*- # Copyright 2018 Zhao Xingyu & An Yuexuan. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-...
36.530612
109
0.614804
534
3,580
4.088015
0.230337
0.060467
0.025653
0.036647
0.693083
0.693083
0.693083
0.683005
0.670179
0.655062
0
0.025773
0.241341
3,580
97
110
36.907216
0.777982
0.272905
0
0.627451
0
0
0
0
0
0
0
0
0.27451
1
0.117647
false
0
0.058824
0
0.294118
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
11fdd854eb6511b84989edaa9ac1f5ae3c3b7b74
4,004
py
Python
mhc_tools/tests/test_generate_peptides.py
ignatovmg/mhc-adventures
82cb91db6918d85c364b5e64714642589c892084
[ "MIT" ]
null
null
null
mhc_tools/tests/test_generate_peptides.py
ignatovmg/mhc-adventures
82cb91db6918d85c364b5e64714642589c892084
[ "MIT" ]
null
null
null
mhc_tools/tests/test_generate_peptides.py
ignatovmg/mhc-adventures
82cb91db6918d85c364b5e64714642589c892084
[ "MIT" ]
null
null
null
import unittest import prody import numpy as np import pytest import itertools from path import Path from ..mhc_peptide import BasePDB from ..sampling.generate_peptides import PeptideSampler from .. import utils from ..helpers import isolate, isolated_filesystem @pytest.fixture() def default_mhc(): return utils...
32.819672
106
0.735514
507
4,004
5.591716
0.189349
0.032099
0.059965
0.059259
0.626102
0.545679
0.422928
0.398942
0.391534
0.358377
0
0.034533
0.146603
4,004
121
107
33.090909
0.795142
0.031219
0
0.448276
1
0
0.061404
0
0
0
0
0
0.149425
1
0.172414
false
0
0.114943
0.022989
0.310345
0
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
11fdf99718db2821742652df5b1a7a7a7cca4854
862
py
Python
src/pytoydb/query_api.py
mansoor96g/py-toy-db
4e2912cb2c9a5e5a1c4632c3d1d65af1314f5fa0
[ "MIT" ]
null
null
null
src/pytoydb/query_api.py
mansoor96g/py-toy-db
4e2912cb2c9a5e5a1c4632c3d1d65af1314f5fa0
[ "MIT" ]
null
null
null
src/pytoydb/query_api.py
mansoor96g/py-toy-db
4e2912cb2c9a5e5a1c4632c3d1d65af1314f5fa0
[ "MIT" ]
2
2017-09-29T11:50:09.000Z
2019-10-10T10:52:06.000Z
# -*- coding: utf-8 -*- """ API для формирования запросов к хранилищу """ class Simple(object): """ Простейший API Запросы выглядят примерно так: data.query('a', 1)('b', 2) """ def __init__(self, dep, steps=None): self._dep = dep self._steps = steps or [] def __call__(self, na...
23.944444
66
0.519722
106
862
3.971698
0.518868
0.099762
0.057007
0.095012
0
0
0
0
0
0
0
0.008741
0.336427
862
35
67
24.628571
0.727273
0.024362
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
eea01a1945cbf6c9fab5e0649c019841a2a0827c
540
py
Python
server/code/models/article.py
Social-Do-Gooders/localy
c9f11a38a9a6cffbeaedba9e93ee5058b13657ce
[ "MIT" ]
null
null
null
server/code/models/article.py
Social-Do-Gooders/localy
c9f11a38a9a6cffbeaedba9e93ee5058b13657ce
[ "MIT" ]
null
null
null
server/code/models/article.py
Social-Do-Gooders/localy
c9f11a38a9a6cffbeaedba9e93ee5058b13657ce
[ "MIT" ]
1
2020-12-11T10:43:30.000Z
2020-12-11T10:43:30.000Z
import json from db import db class ArticleModel(db.Document): title = db.StringField(required=True) content = db.StringField() author = db.StringField() date = db.DateTimeField() article_type = db.StringField(default='other', choices=['business news', 'tech news', 'science news', 'other'...
24.545455
116
0.618519
64
540
5.125
0.53125
0.158537
0.060976
0
0
0
0
0
0
0
0
0
0.248148
540
21
117
25.714286
0.807882
0
0
0
0
0
0.119461
0
0
0
0
0
0
1
0.2
false
0
0.133333
0.066667
0.866667
0
0
0
0
null
0
0
0
0
0
0
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
eea13e48b604e45150618ed61c1603c72eb12c7f
1,081
py
Python
config.py
taeram/ineffable
fcaf1cc405f9e4dc3346fa91338b75b195325f84
[ "MIT" ]
7
2015-05-08T21:37:27.000Z
2019-01-01T22:11:07.000Z
config.py
taeram/ineffable
fcaf1cc405f9e4dc3346fa91338b75b195325f84
[ "MIT" ]
null
null
null
config.py
taeram/ineffable
fcaf1cc405f9e4dc3346fa91338b75b195325f84
[ "MIT" ]
null
null
null
from os import getenv, \ path from time import time from datetime import timedelta class Config(object): AWS_ACCESS_KEY_ID = getenv('AWS_ACCESS_KEY_ID') AWS_REGION = getenv('AWS_REGION') AWS_S3_BUCKET = getenv('AWS_S3_BUCKET') AWS_SECRET_ACCESS_KEY = getenv('AWS_SECRET_ACCESS_KEY') C...
41.576923
136
0.725254
139
1,081
5.23741
0.489209
0.049451
0.032967
0.038462
0
0
0
0
0
0
0
0.019934
0.164662
1,081
25
137
43.24
0.786268
0
0
0
0
0
0.209066
0.019426
0
0
0
0
0
1
0
false
0
0.125
0
0.958333
0
0
0
0
null
0
0
0
0
0
0
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
eea232085074a49d948920f72605827aea0e2dc0
3,050
py
Python
tests/test_wins.py
Acamol/connect-four
9db0123ad4b6527ee39b198a42ec1d537e0ecb85
[ "MIT" ]
null
null
null
tests/test_wins.py
Acamol/connect-four
9db0123ad4b6527ee39b198a42ec1d537e0ecb85
[ "MIT" ]
null
null
null
tests/test_wins.py
Acamol/connect-four
9db0123ad4b6527ee39b198a42ec1d537e0ecb85
[ "MIT" ]
null
null
null
from ConnectFour import ConnectFour import pytest def test_empty_cell(): my = ConnectFour.Game() assert not my.check_for_win(2, 2) def test_diagonal_win(): # positive slope my = ConnectFour.Game() my.move(1) # X my.move(2) # Y my.move(2) # YX my.move(3) # Y my.m...
26.293103
53
0.569836
475
3,050
3.517895
0.145263
0.16158
0.050269
0.100539
0.676242
0.609814
0.520048
0.473968
0.453621
0.453621
0
0.042654
0.308197
3,050
116
54
26.293103
0.749289
0.07377
0
0.737374
0
0
0.001865
0
0
0
0
0
0.212121
1
0.050505
false
0
0.020202
0
0.070707
0.010101
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
eea5e23c40bf133792e4c4fcbc142f8cd3d91172
4,326
py
Python
sdk/python/pulumi_gcp/dns/record_set.py
pulumi-bot/pulumi-gcp
43ff11bf1c99b4e9e493f61d9755e359b686ae67
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_gcp/dns/record_set.py
pulumi-bot/pulumi-gcp
43ff11bf1c99b4e9e493f61d9755e359b686ae67
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_gcp/dns/record_set.py
pulumi-bot/pulumi-gcp
43ff11bf1c99b4e9e493f61d9755e359b686ae67
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import pulumi import pulumi.runtime class RecordSet(pulumi.CustomResource): """ Manages a set of DNS records within Google Clo...
40.055556
173
0.625751
525
4,326
4.939048
0.291429
0.070189
0.067875
0.069418
0.190513
0.037794
0.037794
0
0
0
0
0.00065
0.289182
4,326
107
174
40.429907
0.842602
0.182386
0
0
1
0
0.231776
0.009554
0
0
0
0
0
1
0.032787
false
0
0.032787
0
0.081967
0
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
eea79038aa68bb587fd566127c104d4607b6cbfe
762
py
Python
run.py
nunenuh/crnn.pytorch
b0f8bc7fc43622f7396fa0550fb2cc6e17849551
[ "MIT" ]
1
2020-09-30T04:37:39.000Z
2020-09-30T04:37:39.000Z
run.py
nunenuh/crnn.pytorch
b0f8bc7fc43622f7396fa0550fb2cc6e17849551
[ "MIT" ]
null
null
null
run.py
nunenuh/crnn.pytorch
b0f8bc7fc43622f7396fa0550fb2cc6e17849551
[ "MIT" ]
null
null
null
import os import sys # from lmdb.cffi import version as ver sys.path.append(os.getcwd()) import torch from iqra.models.crnn import * from iqra.modules.feature import * if __name__ == '__main__': image_data = torch.rand(3,1,224,224) text_data = torch.rand(3,512).long() # text_data = torch.LongTensor(text...
21.166667
58
0.641732
110
762
4.218182
0.472727
0.077586
0.056034
0.060345
0
0
0
0
0
0
0
0.037607
0.232283
762
36
59
21.166667
0.755556
0.339895
0
0
0
0
0.01626
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.133333
0
0
0
null
0
0
0
0
0
0
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
eeaa9f209da716a2a49b70a314e3045acf4c8cf7
440
py
Python
foodplanapp/migrations/0006_dish_active.py
949027/food-plan
382791059469058614bfd028d674ba1f69b25e2b
[ "MIT" ]
null
null
null
foodplanapp/migrations/0006_dish_active.py
949027/food-plan
382791059469058614bfd028d674ba1f69b25e2b
[ "MIT" ]
null
null
null
foodplanapp/migrations/0006_dish_active.py
949027/food-plan
382791059469058614bfd028d674ba1f69b25e2b
[ "MIT" ]
1
2022-03-22T02:04:59.000Z
2022-03-22T02:04:59.000Z
# Generated by Django 4.0.3 on 2022-03-17 18:37 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('foodplanapp', '0005_merge_0002_delete_user_0004_alter_dish_calories'), ] operations = [ migrations.AddField( model_name='dish', ...
23.157895
80
0.636364
49
440
5.510204
0.836735
0
0
0
0
0
0
0
0
0
0
0.082317
0.254545
440
18
81
24.444444
0.740854
0.102273
0
0
1
0
0.201018
0.132316
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
eeb34e7812fdfc4153e4f5ac57a1441f64d25f20
539
py
Python
attack/attacker.py
smallflyingpig/adversarial_attack_and_defense
485e7cf6269c184a4ed1f3281b21a4242d5ed199
[ "MIT" ]
null
null
null
attack/attacker.py
smallflyingpig/adversarial_attack_and_defense
485e7cf6269c184a4ed1f3281b21a4242d5ed199
[ "MIT" ]
null
null
null
attack/attacker.py
smallflyingpig/adversarial_attack_and_defense
485e7cf6269c184a4ed1f3281b21a4242d5ed199
[ "MIT" ]
null
null
null
import torch from torch import nn from abc import ABC, abstractmethod class AdditiveAttacker(ABC): def __init__(self, eps, data_min=-1, data_max=1): self.eps = eps self.data_min = data_min self.data_max = data_max @abstractmethod def _get_perturbation(self, x, y=None): pass...
24.5
53
0.627087
81
539
3.950617
0.308642
0.15
0.103125
0.09375
0
0
0
0
0
0
0
0.005115
0.274583
539
21
54
25.666667
0.813299
0
0
0
0
0
0
0
0
0
0
0
0
1
0.176471
false
0.058824
0.176471
0
0.470588
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
eeb6d7d3008cc66f20e2d95cde377248ad372b18
1,036
py
Python
fixture/orm.py
Emeraldany/python_training
619565e88f0c138d58fa486df60396481daaba26
[ "Apache-2.0" ]
null
null
null
fixture/orm.py
Emeraldany/python_training
619565e88f0c138d58fa486df60396481daaba26
[ "Apache-2.0" ]
null
null
null
fixture/orm.py
Emeraldany/python_training
619565e88f0c138d58fa486df60396481daaba26
[ "Apache-2.0" ]
null
null
null
import datetime from pymysql.converters import encoders, decoders, convert_mysql_timestamp from pony.orm import * class ORMFicture: db=Database() class ORMGroup(db.Entity): _table_= 'grouplist' id= PrimaryKey(int,column='group_id') name=Optional(str,column='group_name') header...
34.533333
96
0.682432
123
1,036
5.593496
0.422764
0.079942
0.123547
0.09593
0
0
0
0
0
0
0
0
0.200772
1,036
30
97
34.533333
0.830918
0
0
0
0
0
0.09161
0
0
0
0
0
0
1
0.08
false
0.08
0.12
0
0.36
0
0
0
0
null
0
0
0
0
0
0
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
eeb9d69641a4150d26f149bcd1a060a9161a6d9a
1,114
py
Python
base/modules/tmp/sb_utils/root/sb_utils/serialize/enums.py
ScreamBun/openc2-oif-device
1666b2d202e3adb8baab618ead7fa1de556c1c58
[ "Apache-2.0" ]
2
2019-07-02T14:06:24.000Z
2021-07-07T09:45:54.000Z
base/modules/tmp/sb_utils/root/sb_utils/serialize/enums.py
ScreamBun/openc2-oif-device
1666b2d202e3adb8baab618ead7fa1de556c1c58
[ "Apache-2.0" ]
22
2020-03-24T16:58:17.000Z
2022-02-27T15:36:57.000Z
base/modules/tmp/sb_utils/root/sb_utils/serialize/enums.py
ScreamBun/openc2-oif-device
1666b2d202e3adb8baab618ead7fa1de556c1c58
[ "Apache-2.0" ]
10
2019-04-26T12:22:22.000Z
2021-08-05T09:16:05.000Z
from shutil import which from typing import Dict from ..enums import EnumBase class SerialFormats(str, EnumBase): """ The format of an OpenC2 Serialization """ # Binary Format CBOR = 'cbor' # Text Format JSON = 'json' # Extra # Binary BINN = 'binn' BSON = 'bson' ION = '...
23.208333
90
0.552065
131
1,114
4.664122
0.458015
0.02946
0
0
0
0
0
0
0
0
0
0.001325
0.322262
1,114
47
91
23.702128
0.807947
0.153501
0
0
0
0
0.130191
0
0
0
0
0
0
1
0.068966
false
0
0.103448
0
0.758621
0
0
0
0
null
0
0
0
0
0
0
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
eeba9b0c7624cec94e9b08d7ae61fc16c23c4ac8
3,120
py
Python
selectolx.py
buritica06/Scraping_Project
07532f9cef114a511ed31b6c4ade75cb989a47f8
[ "MIT" ]
null
null
null
selectolx.py
buritica06/Scraping_Project
07532f9cef114a511ed31b6c4ade75cb989a47f8
[ "MIT" ]
null
null
null
selectolx.py
buritica06/Scraping_Project
07532f9cef114a511ed31b6c4ade75cb989a47f8
[ "MIT" ]
null
null
null
import random from time import sleep from selenium import webdriver # Instancio el driver de selenium que va a controlar el navegador # A partir de este objeto voy a realizar el web scraping e interacciones driver = webdriver.Chrome(r"C:\Users\rburi\AppData\Local\Programs\Python\Python39\Proyectos\Scraping_Project\chr...
37.142857
127
0.708013
479
3,120
4.484342
0.356994
0.055866
0.094972
0.106145
0.517225
0.506052
0.463222
0.431099
0.405028
0.334264
0
0.025039
0.167949
3,120
83
128
37.590361
0.802388
0.058654
0
0.117647
0
0.058824
0.392377
0.275785
0
0
0
0.012048
0
1
0
false
0
0.176471
0
0.176471
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
eecf77c099ce9359a5ed298f84c5eefaa7076883
3,839
py
Python
numba/tests/test_overlap.py
auderson/numba
3d67c9850ab56457f418cf40af6245fd9c337705
[ "BSD-2-Clause" ]
6,620
2015-01-04T08:51:04.000Z
2022-03-31T12:52:18.000Z
numba/tests/test_overlap.py
auderson/numba
3d67c9850ab56457f418cf40af6245fd9c337705
[ "BSD-2-Clause" ]
6,457
2015-01-04T03:18:41.000Z
2022-03-31T17:38:42.000Z
numba/tests/test_overlap.py
auderson/numba
3d67c9850ab56457f418cf40af6245fd9c337705
[ "BSD-2-Clause" ]
930
2015-01-25T02:33:03.000Z
2022-03-30T14:10:32.000Z
import numpy as np from numba import jit from numba.core import types from numba.tests.support import TestCase, tag import unittest # Array overlaps involving a displacement def array_overlap1(src, dest, k=1): assert src.shape == dest.shape dest[k:] = src[:-k] def array_overlap2(src, dest, k=1): assert...
28.437037
77
0.631154
539
3,839
4.306122
0.189239
0.093063
0.089617
0.093063
0.504093
0.316243
0.316243
0.23869
0.23869
0.23869
0
0.02914
0.240167
3,839
134
78
28.649254
0.766541
0.054441
0
0.130435
0
0
0.002759
0
0
0
0
0
0.152174
1
0.304348
false
0
0.054348
0
0.369565
0
0
0
0
null
0
0
0
0
0
0
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
eed6e091bea827a49ac882826a400f0dcb0c0328
3,070
py
Python
app/authenticationUtils.py
spravesh1818/globalFantasyLeague
296eba4e450a60ef9df1664de9a59e95b9351758
[ "BSD-3-Clause" ]
null
null
null
app/authenticationUtils.py
spravesh1818/globalFantasyLeague
296eba4e450a60ef9df1664de9a59e95b9351758
[ "BSD-3-Clause" ]
null
null
null
app/authenticationUtils.py
spravesh1818/globalFantasyLeague
296eba4e450a60ef9df1664de9a59e95b9351758
[ "BSD-3-Clause" ]
null
null
null
from datetime import timedelta, datetime from typing import Optional from fastapi import HTTPException, Depends from fastapi.security import OAuth2PasswordBearer from jose import jwt, JWTError from passlib.context import CryptContext from pydantic import BaseModel from db import database as adb from usermanagement.mod...
26.929825
88
0.727687
370
3,070
5.87027
0.345946
0.030387
0.015193
0.024862
0.077348
0
0
0
0
0
0
0.023219
0.186319
3,070
113
89
27.168142
0.846277
0
0
0.121622
0
0
0.062244
0.021888
0
0
0
0
0
1
0.054054
false
0.121622
0.148649
0.040541
0.418919
0
0
0
0
null
0
0
0
0
0
0
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
eed6fb2923d095b3cf5b34bdf82bbffb01e0753a
317
py
Python
avg.py
subhendu17620/codechef
97d98433cd9e6f8925251a26185b2e05fd58a168
[ "MIT" ]
null
null
null
avg.py
subhendu17620/codechef
97d98433cd9e6f8925251a26185b2e05fd58a168
[ "MIT" ]
null
null
null
avg.py
subhendu17620/codechef
97d98433cd9e6f8925251a26185b2e05fd58a168
[ "MIT" ]
null
null
null
for t in range(int(input())): n,k,v=map(int,input().split()) a=list(map(int,input().split())) s=0 for i in range(n): s+=a[i] x=(((n+k)*v)-s)/k x=float(x) if x>0: if((x).is_integer()): print(int(x)) else: print(-1) else: print(-1)
21.133333
36
0.425868
54
317
2.481481
0.444444
0.179104
0.044776
0.238806
0
0
0
0
0
0
0
0.019231
0.343849
317
15
37
21.133333
0.625
0
0
0.266667
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
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
eedaaadaf698ed98d36ec2ed6561901b827de588
637
py
Python
codes/Python/mqtt_pub.py
abhaysbharadwaj/pscmr_vijayawada
30b37f3bae1a1229c47a4705ded22c8e34d618ac
[ "MIT" ]
null
null
null
codes/Python/mqtt_pub.py
abhaysbharadwaj/pscmr_vijayawada
30b37f3bae1a1229c47a4705ded22c8e34d618ac
[ "MIT" ]
null
null
null
codes/Python/mqtt_pub.py
abhaysbharadwaj/pscmr_vijayawada
30b37f3bae1a1229c47a4705ded22c8e34d618ac
[ "MIT" ]
null
null
null
import paho.mqtt.client as mqtt import time from random import randint statusTopic = 'abhay/home/room1/status' tempTopic = 'abhay/home/room1/temp' humdTopic = 'abhay/home/room1/humd' mqttBrokerIp = '23.20.0.61' mqttBrokerPort = 1883 client = mqtt.Client() client.connect(mqttBrokerIp, mqttBrokerPort)#52.204...
24.5
59
0.645212
83
637
4.951807
0.542169
0.072993
0.10219
0
0
0
0
0
0
0
0
0.072314
0.240188
637
25
60
25.48
0.77686
0.020408
0
0
0
0
0.175585
0.108696
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.190476
0
0
0
null
0
0
0
0
0
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
eeeb81ab94ba964715b0fef143338ba1f8bf0c4a
18,974
py
Python
Indexer/EacCpf.py
atbradley/eaccpf-indexer
da50970a0ffbc9b0eb892814ef07071ed5e843b2
[ "Apache-2.0" ]
null
null
null
Indexer/EacCpf.py
atbradley/eaccpf-indexer
da50970a0ffbc9b0eb892814ef07071ed5e843b2
[ "Apache-2.0" ]
null
null
null
Indexer/EacCpf.py
atbradley/eaccpf-indexer
da50970a0ffbc9b0eb892814ef07071ed5e843b2
[ "Apache-2.0" ]
null
null
null
""" This file is subject to the terms and conditions defined in the LICENSE file, which is part of this source code package. """ from DigitalObject import DigitalObject from lxml import etree import Cfg import Utils import hashlib import logging import os # namespaces DOC_KEY = "doc" DOC_NS = "urn:isbn:1-931666-33-4...
37.948
184
0.544324
2,035
18,974
5.05602
0.176904
0.019827
0.049762
0.029157
0.432015
0.38235
0.345126
0.315385
0.305472
0.295753
0
0.011029
0.354854
18,974
499
185
38.024048
0.829507
0.152366
0
0.431548
0
0.017857
0.149905
0.098412
0
0
0
0
0
1
0.089286
false
0.053571
0.020833
0
0.238095
0.005952
0
0
0
null
0
0
0
0
0
0
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
eeed374847556e345a4199cee72d0448be3fae3c
2,226
py
Python
nodes/ssn_node.py
aneeshads/EPAi4.0-Capstone
cc5568b23d34e503932fe68d8ae83c287fe30881
[ "CNRI-Python" ]
null
null
null
nodes/ssn_node.py
aneeshads/EPAi4.0-Capstone
cc5568b23d34e503932fe68d8ae83c287fe30881
[ "CNRI-Python" ]
null
null
null
nodes/ssn_node.py
aneeshads/EPAi4.0-Capstone
cc5568b23d34e503932fe68d8ae83c287fe30881
[ "CNRI-Python" ]
null
null
null
import bpy from bpy.types import NodeTree, Node, NodeSocket from ..customnodetree import MyCustomTreeNode class MyCustomNodeSSN(Node, MyCustomTreeNode): '''A custom node that accepts input of fake social security numbers (SSN) \ from the Faker library.''' bl_idname = 'CustomNodeSSN' bl_label = "Social...
35.333333
93
0.625786
273
2,226
5.014652
0.355311
0.065741
0.052593
0.032871
0.118335
0.075968
0
0
0
0
0
0.004676
0.231357
2,226
62
94
35.903226
0.795441
0.28257
0
0
0
0
0.213548
0.046452
0
0
0
0
0
1
0.258065
false
0.032258
0.096774
0
0.548387
0.193548
0
0
0
null
0
0
0
0
0
0
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
eeed5850537376677fe6ee3bac5bb19233632501
4,990
py
Python
api/app/reviews/models.py
martinoywa/Baobab
f87bfefa69398fb8a59fc7684323c89f2813c1a0
[ "Apache-2.0" ]
1
2020-03-08T20:00:24.000Z
2020-03-08T20:00:24.000Z
api/app/reviews/models.py
martinoywa/Baobab
f87bfefa69398fb8a59fc7684323c89f2813c1a0
[ "Apache-2.0" ]
null
null
null
api/app/reviews/models.py
martinoywa/Baobab
f87bfefa69398fb8a59fc7684323c89f2813c1a0
[ "Apache-2.0" ]
null
null
null
from datetime import datetime from app import db class ReviewForm(db.Model): id = db.Column(db.Integer(), primary_key=True) application_form_id = db.Column(db.Integer(), db.ForeignKey('application_form.id'), nullable=False) is_open = db.Column(db.Boolean(), nullable=False) deadline = db.Column...
43.017241
108
0.666934
592
4,990
5.373311
0.113176
0.080478
0.100597
0.096196
0.509274
0.501729
0.342031
0.332285
0.228544
0.228544
0
0
0.219038
4,990
115
109
43.391304
0.816269
0
0
0.178947
0
0
0.058051
0
0
0
0
0
0
1
0.052632
false
0
0.021053
0
0.589474
0
0
0
0
null
0
0
0
0
0
0
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
eeeed8395b6cdcbae78e475e2cea1bc6d9944357
1,397
py
Python
cli.py
shiftsayan/plane
008ea5d5bbe82d9b08d5a6cd56fd9071ee0c3e2b
[ "MIT" ]
null
null
null
cli.py
shiftsayan/plane
008ea5d5bbe82d9b08d5a6cd56fd9071ee0c3e2b
[ "MIT" ]
1
2021-10-02T18:43:46.000Z
2021-10-02T18:44:45.000Z
cli.py
shiftsayan/plane
008ea5d5bbe82d9b08d5a6cd56fd9071ee0c3e2b
[ "MIT" ]
2
2020-09-26T02:31:31.000Z
2021-09-23T21:22:52.000Z
from PyInquirer import prompt from schema import schema from profiles import profiles def prompt_schema(): questions = [ { 'type': 'list', 'name': 'schema', 'message': "What type of email do you want to send?", 'choices': [ ps.id for ps in schema ], ...
22.532258
65
0.518253
139
1,397
5.179856
0.294964
0.05
0.122222
0.045833
0.097222
0
0
0
0
0
0
0.001124
0.362921
1,397
61
66
22.901639
0.807865
0.035075
0
0.204082
0
0
0.205204
0
0
0
0
0.016393
0
1
0.081633
false
0
0.061224
0
0.22449
0
0
0
0
null
0
0
0
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
e10176b41a0d6addbcd1d97e5f90c0f957932b32
4,448
py
Python
python/protobufs/services/post/actions/add_to_collections_pb2.py
getcircle/protobuf-registry
20ad8463b7ac6e2cf279c08bcd3e953993fe9153
[ "MIT" ]
null
null
null
python/protobufs/services/post/actions/add_to_collections_pb2.py
getcircle/protobuf-registry
20ad8463b7ac6e2cf279c08bcd3e953993fe9153
[ "MIT" ]
null
null
null
python/protobufs/services/post/actions/add_to_collections_pb2.py
getcircle/protobuf-registry
20ad8463b7ac6e2cf279c08bcd3e953993fe9153
[ "MIT" ]
null
null
null
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: protobufs/services/post/actions/add_to_collections.proto from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_da...
37.378151
472
0.786646
551
4,448
6.00363
0.214156
0.068924
0.080411
0.093108
0.62364
0.57769
0.528114
0.510278
0.480653
0.369408
0
0.03355
0.102068
4,448
118
473
37.694915
0.794692
0.083858
0
0.536842
1
0.010526
0.257375
0.228368
0
0
0
0
0
1
0
false
0
0.063158
0
0.063158
0
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
e102b0eed20ef03e1186cc1cda6e7219fc900815
420
py
Python
tests/models.py
padeny/tastypie_api
696a17535d921fabe35d693565684803d39c451a
[ "MIT" ]
2
2019-07-10T12:09:25.000Z
2019-07-10T12:09:26.000Z
tests/models.py
padeny/tastypie_api
696a17535d921fabe35d693565684803d39c451a
[ "MIT" ]
4
2020-06-05T21:24:48.000Z
2021-11-08T00:57:37.000Z
tests/models.py
padeny/tastypie_api
696a17535d921fabe35d693565684803d39c451a
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import User class Entry(models.Model): user = models.ForeignKey(User, on_delete=models.CASCADE, null=True) title = models.CharField(max_length=128, unique=True) slug = models.CharField(max_length=128) created = models.DateTimeField() # I...
35
77
0.747619
57
420
5.438596
0.631579
0.064516
0.116129
0.154839
0.174194
0
0
0
0
0
0
0.016667
0.142857
420
11
78
38.181818
0.844444
0.052381
0
0
0
0
0.030303
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
e10a9c0c234a42a9fa6849dd35ed3d7aa98e2198
989
bzl
Python
src/cpp/model_benchmark.bzl
SanggunLee/edgetpu
d3cf166783265f475c1ddba5883e150ee84f7bfe
[ "Apache-2.0" ]
320
2019-09-19T07:10:48.000Z
2022-03-12T01:48:56.000Z
src/cpp/model_benchmark.bzl
Machine-Learning-Practice/edgetpu
6d699665efdc5d84944b5233223c55fe5d3bd1a6
[ "Apache-2.0" ]
563
2019-09-27T06:40:40.000Z
2022-03-31T23:12:15.000Z
src/cpp/model_benchmark.bzl
Machine-Learning-Practice/edgetpu
6d699665efdc5d84944b5233223c55fe5d3bd1a6
[ "Apache-2.0" ]
119
2019-09-25T02:51:10.000Z
2022-03-03T08:11:12.000Z
"""Generate model benchmark source file using template. """ _TEMPLATE = "//src/cpp:models_benchmark.cc.template" def _generate_models_benchmark_src_impl(ctx): ctx.actions.expand_template( template = ctx.file._template, output = ctx.outputs.source_file, substitutions = { "{BENCH...
32.966667
74
0.652174
104
989
5.836538
0.336538
0.098847
0.113674
0.128501
0.258649
0
0
0
0
0
0
0
0.228514
989
29
75
34.103448
0.795544
0.052578
0
0
1
0
0.2
0.115054
0
0
0
0
0
1
0.041667
false
0
0
0
0.041667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e10e3c3e8fbfcd2aafba548c2fbd85769b01995c
422
py
Python
circle/migrations/0028_person_tags.py
Acids-Bases/Marketplace
31f42a077279d891cdb6bb86abb2b8c6e841a889
[ "MIT" ]
null
null
null
circle/migrations/0028_person_tags.py
Acids-Bases/Marketplace
31f42a077279d891cdb6bb86abb2b8c6e841a889
[ "MIT" ]
null
null
null
circle/migrations/0028_person_tags.py
Acids-Bases/Marketplace
31f42a077279d891cdb6bb86abb2b8c6e841a889
[ "MIT" ]
null
null
null
# Generated by Django 3.2.5 on 2021-08-09 15:44 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('circle', '0027_auto_20210801_1047'), ] operations = [ migrations.AddField( model_name='person', name='tags', ...
22.210526
91
0.606635
47
422
5.340426
0.829787
0
0
0
0
0
0
0
0
0
0
0.100324
0.267773
422
18
92
23.444444
0.711974
0.106635
0
0
1
0
0.141333
0.061333
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
e1140990f95743f4d6963bba2460dc66551dff80
783
py
Python
examples/perceptron.py
7enTropy7/ravml
de24fd5b65ebb5f045b3f49a4eb0c09b6601595e
[ "MIT" ]
7
2021-05-06T12:27:19.000Z
2021-11-15T09:58:32.000Z
examples/perceptron.py
7enTropy7/ravml
de24fd5b65ebb5f045b3f49a4eb0c09b6601595e
[ "MIT" ]
3
2021-04-12T08:32:18.000Z
2021-05-31T11:18:41.000Z
examples/perceptron.py
7enTropy7/ravml
de24fd5b65ebb5f045b3f49a4eb0c09b6601595e
[ "MIT" ]
8
2021-03-19T07:36:41.000Z
2021-09-24T04:34:41.000Z
from sklearn.datasets import load_iris from sklearn.model_selection import train_test_split from sklearn.preprocessing import OneHotEncoder from sklearn.preprocessing import StandardScaler import ravop.core as R from ravml.linear.perceptron import Perceptron iris_data = load_iris() x_ = iris_data.data y_ = iris_dat...
27.964286
88
0.782886
125
783
4.648
0.464
0.075732
0.048193
0.10327
0
0
0
0
0
0
0
0.018786
0.11622
783
28
89
27.964286
0.820809
0.039591
0
0
0
0
0.01731
0
0
0
0
0
0
1
0
false
0
0.315789
0
0.315789
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
0
0
0
0
1
0
0
0
0
1
e11455c8dcd5dceff5966d7acd171e55b042079a
1,554
py
Python
src/tools/name.py
MorganeAudrain/Calcium_analysis
ea1ac64c5e021fe59f953e3ec09ac5a1abbcf871
[ "MIT" ]
null
null
null
src/tools/name.py
MorganeAudrain/Calcium_analysis
ea1ac64c5e021fe59f953e3ec09ac5a1abbcf871
[ "MIT" ]
null
null
null
src/tools/name.py
MorganeAudrain/Calcium_analysis
ea1ac64c5e021fe59f953e3ec09ac5a1abbcf871
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ @author: Morgane This program is for create a excel sheet where all the behavioral path are storage """ # Importation import pandas as pd df = pd.read_excel(r'calcium_analysis_checked_videos.xlsx') mouse=pd.DataFrame(df, columns= ['mouse']) date=pd.DataFrame(df, colu...
33.06383
84
0.521879
200
1,554
3.945
0.395
0.097592
0.115336
0.17744
0.159696
0.038023
0
0
0
0
0
0.028571
0.346847
1,554
46
85
33.782609
0.748768
0.100386
0
0
0
0
0.112473
0.050469
0
0
0
0
0
1
0
false
0
0.028571
0
0.028571
0.028571
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
e116916e8644e66c66dc9895052a5749be621e8c
2,072
py
Python
reminder_system/event_manager.py
ProneToAdjust/Reminder-System
fbed927f8ee1aba8371e1145764d5e53241994ca
[ "MIT" ]
null
null
null
reminder_system/event_manager.py
ProneToAdjust/Reminder-System
fbed927f8ee1aba8371e1145764d5e53241994ca
[ "MIT" ]
null
null
null
reminder_system/event_manager.py
ProneToAdjust/Reminder-System
fbed927f8ee1aba8371e1145764d5e53241994ca
[ "MIT" ]
null
null
null
from .google_calendar import GoogleCalendar import datetime from . import utils class EventManager(GoogleCalendar): def __init__(self, service_account_file): super().__init__(service_account_file) self.upcoming_events = [] self.unconfirmed_events = [] self.confirmed_events = [] def get_events_to_be_reminde...
31.393939
97
0.781853
287
2,072
5.28223
0.247387
0.138522
0.094987
0.058047
0.275066
0.191293
0.191293
0.191293
0.191293
0.14248
0
0.003917
0.137548
2,072
66
98
31.393939
0.844432
0.108591
0
0.130435
0
0
0.036896
0
0
0
0
0
0
1
0.152174
false
0.086957
0.065217
0
0.282609
0.021739
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e11ae01770df3546201a14c42658c6d78131d1fd
742
py
Python
server/openslides/assignments/migrations/0017_vote_to_y.py
Gersdorfa/OpenSlides
fca1e94759ba32de2e57fec083d8973d095f1cd0
[ "MIT" ]
3
2021-02-11T20:45:58.000Z
2022-02-09T21:59:42.000Z
server/openslides/assignments/migrations/0017_vote_to_y.py
Gersdorfa/OpenSlides
fca1e94759ba32de2e57fec083d8973d095f1cd0
[ "MIT" ]
2
2021-11-02T15:48:16.000Z
2022-03-02T08:38:19.000Z
server/openslides/assignments/migrations/0017_vote_to_y.py
DLRG-Jugend-NDS/OpenSlides
03704e4852821ccd67fe23adb6e2c38b67d93732
[ "MIT" ]
3
2021-01-18T11:44:05.000Z
2022-01-19T16:00:23.000Z
# Generated by Finn Stutzenstein on 2020-11-24 06:44 from django.db import migrations def votes_to_y(apps, schema_editor): AssignmentPoll = apps.get_model("assignments", "AssignmentPoll") for poll in AssignmentPoll.objects.all(): changed = False if poll.pollmethod == "votes": poll...
23.935484
68
0.628032
80
742
5.6625
0.6125
0.030905
0.03532
0.06181
0
0
0
0
0
0
0
0.029685
0.273585
742
30
69
24.733333
0.810761
0.067385
0
0.1
1
0
0.097101
0
0
0
0
0
0
1
0.05
false
0
0.05
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
e11e4871477974dc938efcc467ec95e8585f0631
25,317
py
Python
src/Sephrasto/UI/CharakterInfo.py
Ilaris-Tools/Sephrasto
8574a5b45da8ebfa5f69a775066fd3136da1c718
[ "MIT" ]
1
2022-02-02T16:15:59.000Z
2022-02-02T16:15:59.000Z
src/Sephrasto/UI/CharakterInfo.py
Ilaris-Tools/Sephrasto
8574a5b45da8ebfa5f69a775066fd3136da1c718
[ "MIT" ]
1
2022-01-14T11:04:19.000Z
2022-01-14T11:04:19.000Z
src/Sephrasto/UI/CharakterInfo.py
lukruh/Sephrasto
8574a5b45da8ebfa5f69a775066fd3136da1c718
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'CharakterInfo.ui' # # Created by: PyQt5 UI code generator 5.15.6 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 import QtCore...
60.566986
490
0.727258
2,544
25,317
7.141509
0.119497
0.047006
0.01288
0.0262
0.39531
0.168538
0.090324
0.05218
0.047556
0.047556
0
0.028286
0.166331
25,317
417
491
60.71223
0.832512
0.010981
0
0.084788
1
0.004988
0.099197
0.013743
0
0
0
0
0
1
0.004988
false
0
0.004988
0
0.012469
0
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
e12046cf567efa3da5dc880cccd66651d00b755e
740
py
Python
src/lab2/rawdata/WEB.py
ntuaha/NewsInsight2
86f6e4ce9cfa37a6a98fe48b01809784274fa0de
[ "MIT" ]
1
2016-04-06T06:11:34.000Z
2016-04-06T06:11:34.000Z
src/lab2/rawdata/WEB.py
ntuaha/NewsInsight2
86f6e4ce9cfa37a6a98fe48b01809784274fa0de
[ "MIT" ]
null
null
null
src/lab2/rawdata/WEB.py
ntuaha/NewsInsight2
86f6e4ce9cfa37a6a98fe48b01809784274fa0de
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- #import re #處理掉unicode 和 str 在ascii上的問題 import sys #import os import psycopg2 import cookielib, urllib2,urllib from lxml import html,etree import StringIO import datetime import json reload(sys) sys.setdefaultencoding('utf8') class WEB: def getRawData(self,url,d=None): if d is not Non...
20
60
0.690541
103
740
4.84466
0.621359
0.016032
0.08016
0.104208
0.132265
0.132265
0
0
0
0
0
0.009836
0.175676
740
36
61
20.555556
0.808197
0.089189
0
0
0
0
0.107946
0
0
0
0
0
0
0
null
null
0
0.291667
null
null
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e1235ebaaf02dc6938e8f75c93cf458c758f80ac
1,208
py
Python
sparse/repos/shane-breeze/atuproot/binder/atuproot/EventBuilder.py
yuvipanda/mybinder.org-analytics
7b654e3e21dea790505c626d688aa15640ea5808
[ "BSD-3-Clause" ]
1
2021-03-18T23:33:35.000Z
2021-03-18T23:33:35.000Z
sparse/repos/shane-breeze/atuproot/binder/atuproot/EventBuilder.py
yuvipanda/mybinder.org-analytics
7b654e3e21dea790505c626d688aa15640ea5808
[ "BSD-3-Clause" ]
17
2020-01-28T22:33:27.000Z
2021-06-10T21:05:49.000Z
sparse/repos/shane-breeze/atuproot/binder/atuproot/EventBuilder.py
yuvipanda/mybinder.org-analytics
7b654e3e21dea790505c626d688aa15640ea5808
[ "BSD-3-Clause" ]
1
2021-07-17T12:55:22.000Z
2021-07-17T12:55:22.000Z
import uproot from .BEvents import BEvents class EventBuilder(object): def __init__(self, config): self.config = config def __repr__(self): return '{}({!r})'.format( self.__class__.__name__, self.config, ) def __call__(self): if len(self.config.inp...
32.648649
74
0.577815
121
1,208
5.570248
0.504132
0.178042
0.089021
0.065282
0.204748
0.115727
0.115727
0
0
0
0
0.003764
0.340232
1,208
36
75
33.555556
0.841907
0.149834
0
0.076923
0
0
0.044031
0
0
0
0
0.027778
0
1
0.115385
false
0
0.076923
0.038462
0.307692
0
0
0
0
null
0
0
0
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
e125a598376f22c1c04a68632e9c2fe16ac81ad0
449
py
Python
posts/migrations/0011_auto_20200530_1544.py
olifirovai/yatube
dc08ca61099a83fffebd34b34f6608864dacaf39
[ "MIT" ]
null
null
null
posts/migrations/0011_auto_20200530_1544.py
olifirovai/yatube
dc08ca61099a83fffebd34b34f6608864dacaf39
[ "MIT" ]
null
null
null
posts/migrations/0011_auto_20200530_1544.py
olifirovai/yatube
dc08ca61099a83fffebd34b34f6608864dacaf39
[ "MIT" ]
null
null
null
# Generated by Django 2.2.6 on 2020-05-30 22:44 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('posts', '0010_auto_20200530_1531'), ] operations = [ migrations.AlterField( model_name='follow', name='created', ...
23.631579
114
0.636971
51
449
5.411765
0.784314
0
0
0
0
0
0
0
0
0
0
0.092262
0.25167
449
18
115
24.944444
0.729167
0.100223
0
0
1
0
0.161692
0.116915
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
bbfffefb8adc54405bffab540060d3a0ee21a1b2
1,171
py
Python
alchemist_lib/database/aum_history.py
Dodo33/alchemist-lib
40c2d3b48d5f46315eb09e7f572d578b7e5324b4
[ "MIT" ]
5
2018-07-11T05:38:51.000Z
2021-12-19T03:06:51.000Z
alchemist_lib/database/aum_history.py
Dodo33/alchemist-lib
40c2d3b48d5f46315eb09e7f572d578b7e5324b4
[ "MIT" ]
null
null
null
alchemist_lib/database/aum_history.py
Dodo33/alchemist-lib
40c2d3b48d5f46315eb09e7f572d578b7e5324b4
[ "MIT" ]
2
2019-07-12T08:51:11.000Z
2021-09-29T22:22:46.000Z
from sqlalchemy import DateTime, String, ForeignKey, Integer, Column, Float from sqlalchemy.orm import relationship from . import Base class AumHistory(Base): """ Map class for table AumHistory. - **aum_id**: Integer, primary_key. - **aum_datetime**: DateTime, not null. - **aum**: ...
30.815789
86
0.530316
117
1,171
5.119658
0.410256
0.050083
0.056761
0
0
0
0
0
0
0
0
0.015748
0.349274
1,171
37
87
31.648649
0.770341
0.248506
0
0
0
0
0.075359
0.028708
0
0
0
0
0
1
0.066667
false
0
0.2
0.066667
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
0
0
0
0
0
1
0
0
1
010001948d0e40a2baed1fda1c45ba791b3826c3
877
py
Python
ext.py
taipeithomas/adventure-wows
302b98c1d57689759f1e1c74b71d4d2717c92852
[ "BSD-3-Clause" ]
null
null
null
ext.py
taipeithomas/adventure-wows
302b98c1d57689759f1e1c74b71d4d2717c92852
[ "BSD-3-Clause" ]
null
null
null
ext.py
taipeithomas/adventure-wows
302b98c1d57689759f1e1c74b71d4d2717c92852
[ "BSD-3-Clause" ]
null
null
null
# coding: utf-8 """ ext ~~~ Good place for pluggable extensions. :copyright: (c) 2015 by Roman Zaiev. :license: BSD, see LICENSE for more details. """ from flask.ext.debugtoolbar import DebugToolbarExtension from flask.ext.gravatar import Gravatar from flask.ext.login import LoginManager from fl...
25.794118
60
0.752566
121
877
5.438017
0.603306
0.082067
0.109422
0
0
0
0
0
0
0
0
0.012262
0.163056
877
33
61
26.575758
0.884196
0.470924
0
0
0
0
0.006961
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
0100806c56992391d4c163857f323078e375795a
1,357
py
Python
notes/algo-ds-practice/problems/greedy/stock_buy_sell.py
Anmol-Singh-Jaggi/interview-notes
65af75e2b5725894fa5e13bb5cd9ecf152a0d652
[ "MIT" ]
6
2020-07-05T05:15:19.000Z
2021-01-24T20:17:14.000Z
notes/algo-ds-practice/problems/greedy/stock_buy_sell.py
Anmol-Singh-Jaggi/interview-notes
65af75e2b5725894fa5e13bb5cd9ecf152a0d652
[ "MIT" ]
null
null
null
notes/algo-ds-practice/problems/greedy/stock_buy_sell.py
Anmol-Singh-Jaggi/interview-notes
65af75e2b5725894fa5e13bb5cd9ecf152a0d652
[ "MIT" ]
2
2020-09-14T06:46:37.000Z
2021-06-15T09:17:21.000Z
''' The cost of a stock on each day is given in an array. Find the max profit that you can make by buying and selling in those days. Only 1 stock can be held at a time. For example: Array = {100, 180, 260, 310, 40, 535, 695} The maximum profit can earned by buying on day 0, selling on day 3. Again buy on day 4 and sel...
38.771429
174
0.686072
231
1,357
4.030303
0.493506
0.021482
0.025779
0.038668
0.083781
0.051557
0.051557
0
0
0
0
0.031853
0.236551
1,357
34
175
39.911765
0.866795
0.312454
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
01074bb3d271a68f45647040e5048810dd38869d
2,668
py
Python
myproxy.py
nolink/penetration
c7cf9b3c7338b3907e5c2c0ef11f76bb9210cbb7
[ "MIT" ]
null
null
null
myproxy.py
nolink/penetration
c7cf9b3c7338b3907e5c2c0ef11f76bb9210cbb7
[ "MIT" ]
null
null
null
myproxy.py
nolink/penetration
c7cf9b3c7338b3907e5c2c0ef11f76bb9210cbb7
[ "MIT" ]
null
null
null
import os import sys import socket import threading def hexdump(src, length=16): result = [] digits = 4 if isinstance(str, unicode) else 2 for i in xrange(0, len(str), length): s = src[i:i+length] hexa = b' '.join(["%0*X" % (digits, ord(x)) for x in s]) text = b''.join([x if 0x...
28.084211
124
0.613568
358
2,668
4.391061
0.25419
0.061069
0.061069
0.076336
0.338422
0.273537
0.222646
0.222646
0.189567
0.189567
0
0.015504
0.274738
2,668
94
125
28.382979
0.796899
0
0
0.263158
0
0
0.044619
0
0
0
0.003
0
0
0
null
null
0.013158
0.052632
null
null
0.039474
0
0
0
null
0
0
0
0
0
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
010cf4217c2fdf758fdaa2410e3d37d6f9d1bef0
774
py
Python
src/discord/checks.py
ttgc/zigotoland
0f1910e9853761a0f8187bb20c79a467f19ff3e2
[ "MIT" ]
2
2019-06-27T22:43:05.000Z
2021-07-08T13:22:52.000Z
src/discord/checks.py
ttgc/zigotoland
0f1910e9853761a0f8187bb20c79a467f19ff3e2
[ "MIT" ]
2
2019-06-28T08:34:52.000Z
2019-06-28T13:46:23.000Z
src/discord/checks.py
ttgc/zigotoland
0f1910e9853761a0f8187bb20c79a467f19ff3e2
[ "MIT" ]
null
null
null
#!usr/bin/env python3.7 #-*-coding:utf-8-*- from src.utils.config import * from src.games.poker.lobby import * from src.discord.manage import * from src.utils.logs import getlogger def check_botowner(ctx): config = Config() return ctx.author.id in config.owners def check_inserv(ctx): config = Config() ...
26.689655
64
0.729974
111
774
5.018018
0.432432
0.071813
0.070018
0.075404
0.086176
0
0
0
0
0
0
0.00463
0.162791
774
28
65
27.642857
0.854938
0.05168
0
0.1
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0.05
0.65
0
0
0
0
null
0
0
0
0
0
0
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
0114543aa4948cb2423e6ddcc3d9a9d38a3c9822
26,361
py
Python
python/ymt_components/ymt_arm_2jnt_02/settingsUI.py
yamahigashi/mgear_shifter_components
c4e4c19d8a972e4d78df46f4bdf0b3319da5a792
[ "MIT" ]
10
2020-01-24T10:10:39.000Z
2021-09-16T06:20:55.000Z
python/ymt_components/ymt_arm_2jnt_02/settingsUI.py
yamahigashi/mgear_shifter_components
c4e4c19d8a972e4d78df46f4bdf0b3319da5a792
[ "MIT" ]
null
null
null
python/ymt_components/ymt_arm_2jnt_02/settingsUI.py
yamahigashi/mgear_shifter_components
c4e4c19d8a972e4d78df46f4bdf0b3319da5a792
[ "MIT" ]
2
2020-01-24T10:11:07.000Z
2020-04-21T18:17:09.000Z
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'D:/Pipeline/rez-packages/third/github.com/yamahigashi/ymtshiftercomponents/mgear_shifter_components/python/ymt_components/ymt_arm_2jnt_02/settingsUI.ui', # licensing of 'D:/Pipeline/rez-packages/third/github.com/yamahigashi/ymtshiftercompone...
81.613003
211
0.774402
2,712
26,361
7.356195
0.088496
0.015789
0.070677
0.0801
0.615539
0.484411
0.362857
0.264712
0.260351
0.226566
0
0.012322
0.134934
26,361
322
212
81.86646
0.862524
0.020409
0
0.038961
1
0.048701
0.143029
0.032542
0
0
0
0
0
1
0.006494
false
0
0.003247
0
0.012987
0
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
011558cdd32ae8aa3765a951ce4a7171f77bdc57
200
py
Python
examples/simple.py
bytewax/bytewax
c935aac8d6eabb0af5a331f59fc4a1300fa6d1e3
[ "ECL-2.0", "Apache-2.0" ]
109
2022-02-05T02:38:35.000Z
2022-03-31T16:42:52.000Z
examples/simple.py
yutiansut/bytewax
54dba26cbab2afd24007865f69083a92c05cbdc1
[ "ECL-2.0", "Apache-2.0" ]
9
2022-02-08T22:13:56.000Z
2022-03-31T18:16:12.000Z
examples/simple.py
yutiansut/bytewax
54dba26cbab2afd24007865f69083a92c05cbdc1
[ "ECL-2.0", "Apache-2.0" ]
3
2022-02-14T23:45:03.000Z
2022-03-22T06:58:47.000Z
from bytewax import Dataflow, run flow = Dataflow() flow.map(lambda x: x * x) flow.capture() if __name__ == "__main__": for epoch, y in sorted(run(flow, enumerate(range(10)))): print(y)
20
60
0.655
30
200
4.1
0.733333
0.113821
0
0
0
0
0
0
0
0
0
0.012422
0.195
200
9
61
22.222222
0.751553
0
0
0
0
0
0.04
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.142857
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
011b1337ba396fd41d130511c15d49e96da40575
4,342
py
Python
scitwi/users/user.py
vahndi/scitwi
e873ea8b21710fd7b9a1cec0da594ccef91c54a2
[ "MIT" ]
null
null
null
scitwi/users/user.py
vahndi/scitwi
e873ea8b21710fd7b9a1cec0da594ccef91c54a2
[ "MIT" ]
null
null
null
scitwi/users/user.py
vahndi/scitwi
e873ea8b21710fd7b9a1cec0da594ccef91c54a2
[ "MIT" ]
null
null
null
from scitwi.users.user_entities import UserEntities from scitwi.users.user_profile import UserProfile from scitwi.utils.attrs import bool_attr, datetime_attr, str_attr, obj_attr from scitwi.utils.attrs import int_attr from scitwi.utils.strs import obj_string class User(object): """ Users can be anyone or anyt...
50.488372
94
0.68655
570
4,342
4.917544
0.168421
0.068498
0.096325
0.160542
0.196575
0.042098
0.021406
0
0
0
0
0
0.199678
4,342
85
95
51.082353
0.806619
0.049516
0
0
0
0
0.173945
0.015614
0
0
0
0
0
1
0.028571
false
0
0.071429
0
0.128571
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
01289ec9d619dfeb01a3deb3962077cae286d130
1,031
py
Python
futura_ui/app/ui/widgets/recipe_actions.py
pjamesjoyce/futura
fc4558bd07626b0d1e89093c0107ccd989ceaa6a
[ "BSD-3-Clause" ]
6
2020-05-04T16:48:03.000Z
2022-03-29T14:58:16.000Z
futura_ui/app/ui/widgets/recipe_actions.py
pjamesjoyce/futura
fc4558bd07626b0d1e89093c0107ccd989ceaa6a
[ "BSD-3-Clause" ]
1
2021-09-13T06:41:21.000Z
2021-09-13T06:41:21.000Z
futura_ui/app/ui/widgets/recipe_actions.py
pjamesjoyce/futura
fc4558bd07626b0d1e89093c0107ccd989ceaa6a
[ "BSD-3-Clause" ]
1
2020-11-13T23:02:18.000Z
2020-11-13T23:02:18.000Z
from PySide2 import QtWidgets from ..utils import load_ui_file from ...signals import signals import os from functools import partial emit_0 = partial(signals.start_status_progress.emit, 0) class RecipeWidget(QtWidgets.QWidget): def __init__(self, parent=None): super(RecipeWidget, self).__init__(parent) ...
38.185185
83
0.766246
127
1,031
5.952756
0.401575
0.12963
0.194444
0.095238
0.113757
0
0
0
0
0
0
0.003382
0.13967
1,031
26
84
39.653846
0.848929
0.068865
0
0
0
0
0.017745
0
0
0
0
0
0
1
0.055556
false
0
0.277778
0
0.388889
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
0128e338ffaee1248aaf4b27db3db28655ac577f
280
py
Python
frontend/Untitled.py
hanisaf/ODIN
8be6af05caa43a7effd3878c8bcc0147080e70b1
[ "MIT" ]
null
null
null
frontend/Untitled.py
hanisaf/ODIN
8be6af05caa43a7effd3878c8bcc0147080e70b1
[ "MIT" ]
null
null
null
frontend/Untitled.py
hanisaf/ODIN
8be6af05caa43a7effd3878c8bcc0147080e70b1
[ "MIT" ]
null
null
null
# coding: utf-8 # In[5]: from flask import Flask #from werkzeuk.utils import find_modules, import_str # In[ ]: # In[2]: def create_app(config=None): app = Flask(__name__) app.config.update(config or {}) #register_blueprints(app) return app # In[ ]:
10
52
0.635714
39
280
4.358974
0.641026
0.105882
0
0
0
0
0
0
0
0
0
0.013889
0.228571
280
27
53
10.37037
0.773148
0.414286
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
012993199dbd76e26b0f1ab66da3cb902a1d8d4e
1,141
py
Python
using_insert_many.py
julio-coelho/python-playground
730981d74471449ecdd811bfa6c862b5d9c1981f
[ "MIT" ]
null
null
null
using_insert_many.py
julio-coelho/python-playground
730981d74471449ecdd811bfa6c862b5d9c1981f
[ "MIT" ]
null
null
null
using_insert_many.py
julio-coelho/python-playground
730981d74471449ecdd811bfa6c862b5d9c1981f
[ "MIT" ]
null
null
null
import sys import pymongo connection = pymongo.MongoClient('127.0.0.1', 27017) def insert(): print "insert many, reporting for duty" db = connection.school people = db.people richard = { 'name': 'Richard Kreuter', 'company': '10gen', 'interest': [ 'horsing', ...
18.111111
52
0.555653
122
1,141
5.106557
0.42623
0.064205
0.057785
0.077047
0.372392
0.372392
0.269663
0.269663
0.269663
0.141252
0
0.019608
0.329536
1,141
62
53
18.403226
0.794771
0
0
0.355556
0
0
0.260526
0
0
0
0
0
0
0
null
null
0
0.044444
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1