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
086cc04c9a62e2ff1bedaaac23c04ca27ca1b7b4
2,264
py
Python
schedule/tests/scheduler_latest_test.py
conzty01/RA_Scheduler
6bf4931871aef4058d93917e62ceb31766e06b3a
[ "MIT" ]
1
2021-03-31T05:26:17.000Z
2021-03-31T05:26:17.000Z
schedule/tests/scheduler_latest_test.py
conzty01/RA_Scheduler
6bf4931871aef4058d93917e62ceb31766e06b3a
[ "MIT" ]
83
2018-03-19T18:32:34.000Z
2022-02-01T02:15:01.000Z
schedule/tests/scheduler_latest_test.py
conzty01/RA_Scheduler
6bf4931871aef4058d93917e62ceb31766e06b3a
[ "MIT" ]
2
2021-01-15T22:16:00.000Z
2021-02-10T01:03:32.000Z
from schedule.scheduler4_0 import schedule from schedule.ra_sched import Schedule, RA from unittest.mock import MagicMock, patch from datetime import date import unittest import random class TestScheduler(unittest.TestCase): def setUp(self): # -- Create a patchers for the logging -- self.patcher_...
31.444444
79
0.651502
204
2,264
7.014706
0.308824
0.115304
0.0587
0.083857
0.165618
0.148847
0.148847
0.127184
0
0
0
0.001171
0.245583
2,264
71
80
31.887324
0.836651
0.1303
0
0.157895
0
0
0.039528
0
0
0
0
0
0
1
0.210526
false
0.157895
0.157895
0
0.394737
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
086ccdd01316fbb3c32c9928ed64ba2001cd4f5d
2,583
py
Python
main.py
brpaz/ulauncher-dockerhub
22e646bda40328373a4d90fa0aece2cac0187a42
[ "MIT" ]
3
2020-09-04T07:56:47.000Z
2022-01-05T13:19:25.000Z
main.py
brpaz/ulauncher-dockerhub
22e646bda40328373a4d90fa0aece2cac0187a42
[ "MIT" ]
null
null
null
main.py
brpaz/ulauncher-dockerhub
22e646bda40328373a4d90fa0aece2cac0187a42
[ "MIT" ]
null
null
null
""" Main Module """ import logging from ulauncher.api.client.Extension import Extension from ulauncher.api.client.EventListener import EventListener from ulauncher.api.shared.event import KeywordQueryEvent from ulauncher.api.shared.item.ExtensionResultItem import ExtensionResultItem from ulauncher.api.shared.action.R...
34.905405
85
0.622145
233
2,583
6.781116
0.381974
0.065823
0.081013
0.083544
0.182278
0.111392
0.086076
0.086076
0
0
0
0.001085
0.286101
2,583
73
86
35.383562
0.855206
0.080527
0
0.163265
0
0
0.068862
0
0
0
0
0
0
1
0.061224
false
0
0.204082
0
0.387755
0
0
0
0
null
0
0
0
0
0
0
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
1
0
086fc0967062337eeb0ecb19108dc1ab0e1d65e3
957
py
Python
geeklist_examples.py
juliengrenier/python-geeklist
52528b099e94e539c3451bfd2e741e563f0924e9
[ "MIT" ]
1
2015-02-28T10:22:02.000Z
2015-02-28T10:22:02.000Z
geeklist_examples.py
juliengrenier/python-geeklist
52528b099e94e539c3451bfd2e741e563f0924e9
[ "MIT" ]
null
null
null
geeklist_examples.py
juliengrenier/python-geeklist
52528b099e94e539c3451bfd2e741e563f0924e9
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from geeklist.api import BaseGeeklistApi, GeekListOauthApi, GeekListUserApi from access import consumer_info #please access.py which contains consumer_info = { 'key': YOUR_KEY, 'secret': secret} BaseGeeklistApi.BASE_URL ='http://sandbox-api.geekli.st/v1' oauth_api = GeekListOauthApi(consumer_i...
41.608696
118
0.797283
130
957
5.6
0.407692
0.090659
0.061813
0.086538
0.087912
0.087912
0
0
0
0
0
0.002288
0.086729
957
22
119
43.5
0.830664
0.123302
0
0
0
0
0.252998
0
0
0
0
0
0
0
null
null
0
0.1875
null
null
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0871266d4d435da659b3d90a1e0729b53c28c39c
2,448
py
Python
game/gamesrc/objects/character.py
ranka47/battle-of-hogwarts
e7b2265ebe5661249dd28e472c49b74c1bbcdf23
[ "BSD-3-Clause" ]
2
2019-02-24T00:20:47.000Z
2020-04-24T15:50:31.000Z
game/gamesrc/objects/character.py
ranka47/battle-of-hogwarts
e7b2265ebe5661249dd28e472c49b74c1bbcdf23
[ "BSD-3-Clause" ]
null
null
null
game/gamesrc/objects/character.py
ranka47/battle-of-hogwarts
e7b2265ebe5661249dd28e472c49b74c1bbcdf23
[ "BSD-3-Clause" ]
1
2019-01-05T15:51:37.000Z
2019-01-05T15:51:37.000Z
""" Template for Characters Copy this module up one level and name it as you like, then use it as a template to create your own Character class. To make new logins default to creating characters of your new type, change settings.BASE_CHARACTER_TYPECLASS to point to your new class, e.g. settings.BASE_CHARACTER_TYPEC...
38.25
79
0.663807
353
2,448
4.546742
0.504249
0.071028
0.03053
0.028037
0.071028
0.071028
0.071028
0.041122
0.041122
0
0
0.012878
0.270425
2,448
64
80
38.25
0.885778
0.607843
0
0.16
0
0
0.10694
0
0
0
0
0
0
1
0.08
false
0
0.12
0
0.24
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0873053669c5a9be614101baec79eda2eb276cb9
3,170
py
Python
lesson5/lesson5_task4.py
nekdfl/GB-python-developer
ca3f34bac2a92a930779f89357941bfa9634b3d4
[ "MIT" ]
null
null
null
lesson5/lesson5_task4.py
nekdfl/GB-python-developer
ca3f34bac2a92a930779f89357941bfa9634b3d4
[ "MIT" ]
null
null
null
lesson5/lesson5_task4.py
nekdfl/GB-python-developer
ca3f34bac2a92a930779f89357941bfa9634b3d4
[ "MIT" ]
null
null
null
""" Создать (не программно) текстовый файл со следующим содержимым: One — 1 Two — 2 Three — 3 Four — 4 Необходимо написать программу, открывающую файл на чтение и считывающую построчно данные. При этом английские числительные должны заменяться на русские. Новый блок строк должен записываться в новый текстовый файл. ""...
26.864407
111
0.582334
412
3,170
4.351942
0.34466
0.023424
0.029002
0.020078
0.147239
0.147239
0.131623
0.092582
0.092582
0.092582
0
0.014641
0.288959
3,170
117
112
27.094017
0.779059
0.131861
0
0.207792
0
0
0.173421
0.018985
0
0
0
0
0
1
0.077922
false
0.025974
0
0
0.116883
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
087388739eebaad50c966ec02ed0312b37726c72
1,203
py
Python
w_cutscenes_test.py
wholetonegames/panda3d-ness-rpg
8d81e8418c1bc20706b5b3f4c0631fe9bd76a65e
[ "MIT" ]
1
2021-02-01T03:09:28.000Z
2021-02-01T03:09:28.000Z
w_cutscenes_test.py
wholetonegames/panda3d-ness-rpg
8d81e8418c1bc20706b5b3f4c0631fe9bd76a65e
[ "MIT" ]
null
null
null
w_cutscenes_test.py
wholetonegames/panda3d-ness-rpg
8d81e8418c1bc20706b5b3f4c0631fe9bd76a65e
[ "MIT" ]
null
null
null
from w_i_stage import IStage from direct.interval.IntervalGlobal import Sequence, Func, Wait class CutsceneTest(IStage): def __init__(self): IStage.__init__(self) def setup(self): self.previousMap = base.gameData.currentMap base.gameData.currentMap = 'city' self.previousPos = ...
25.0625
63
0.596841
124
1,203
5.709677
0.443548
0.101695
0.09322
0.076271
0
0
0
0
0
0
0
0.004706
0.293433
1,203
47
64
25.595745
0.828235
0
0
0.052632
0
0
0.03325
0
0
0
0
0
0
1
0.210526
false
0.052632
0.052632
0
0.289474
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
0874abf4b1ea7884b6edfbac6a754d49e5cc5678
154
py
Python
lichee/utils/__init__.py
Tencent/Lichee
7653becd6fbf8b0715f788af3c0507c012be08b4
[ "Apache-2.0" ]
91
2021-10-30T02:25:05.000Z
2022-03-28T06:51:52.000Z
lichee/utils/__init__.py
zhaijunyu/Lichee
7653becd6fbf8b0715f788af3c0507c012be08b4
[ "Apache-2.0" ]
1
2021-12-17T09:30:25.000Z
2022-03-05T12:30:13.000Z
lichee/utils/__init__.py
zhaijunyu/Lichee
7653becd6fbf8b0715f788af3c0507c012be08b4
[ "Apache-2.0" ]
17
2021-11-04T07:50:23.000Z
2022-03-24T14:24:11.000Z
# -*- coding: utf-8 -*- """ 工具包 """ from . import convertor from . import model_loader from . import storage from . import parallel from . import logging
15.4
26
0.688312
20
154
5.25
0.6
0.47619
0
0
0
0
0
0
0
0
0
0.007937
0.181818
154
9
27
17.111111
0.825397
0.168831
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
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
1
0
1
0
1
0
0
6
08757365d19fb16259355c3f4a0bc7a45ccc8fde
1,808
py
Python
networkunit/models/backends/network_model.py
russelljjarvis/NetworkUnit
32179371d3a0ba354e6637cf4f97ba70522d4054
[ "BSD-3-Clause" ]
null
null
null
networkunit/models/backends/network_model.py
russelljjarvis/NetworkUnit
32179371d3a0ba354e6637cf4f97ba70522d4054
[ "BSD-3-Clause" ]
1
2019-11-15T22:56:20.000Z
2019-11-15T22:56:20.000Z
networkunit/models/backends/network_model.py
russelljjarvis/NetworkUnit
32179371d3a0ba354e6637cf4f97ba70522d4054
[ "BSD-3-Clause" ]
null
null
null
"""NeuronUnit model class for reduced neuron models""" import numpy as np from neo.core import AnalogSignal import quantities as pq import neuronunit.capabilities as cap import neuronunit.models as mod import neuronunit.capabilities.spike_functions as sf from neuronunit.models import backends from generic_network imp...
35.45098
131
0.68031
238
1,808
5.016807
0.394958
0.033501
0.046901
0.023451
0.063652
0.063652
0.063652
0.063652
0.063652
0.063652
0
0.037518
0.233407
1,808
50
132
36.16
0.823954
0.107854
0
0
0
0
0
0
0
0
0
0.02
0
1
0.111111
false
0.027778
0.25
0.055556
0.472222
0
0
0
0
null
0
0
0
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
0876136eb46ef1d30f09dbd0eff572dd1e4a0144
28,812
py
Python
generator.py
jimstorch/DGGen
cdecbc4bfa491a634aac370de05b21bb6f6cf8e1
[ "Apache-2.0" ]
19
2016-12-04T12:43:43.000Z
2022-01-25T01:00:24.000Z
generator.py
jimstorch/DGGen
cdecbc4bfa491a634aac370de05b21bb6f6cf8e1
[ "Apache-2.0" ]
9
2017-01-04T16:33:00.000Z
2021-11-16T06:02:16.000Z
generator.py
jimstorch/DGGen
cdecbc4bfa491a634aac370de05b21bb6f6cf8e1
[ "Apache-2.0" ]
7
2016-12-04T12:43:47.000Z
2022-02-04T13:10:58.000Z
#!/usr/bin/env python3 import argparse import csv import datetime import json import logging import os import sys import warnings from collections import defaultdict from copy import copy from dataclasses import dataclass from itertools import islice, cycle, chain from random import randint, shuffle, choice, sample fro...
34.797101
103
0.530508
3,317
28,812
4.509798
0.208321
0.011699
0.009559
0.00722
0.128217
0.078548
0.061167
0.051006
0.036099
0.031018
0
0.097958
0.313342
28,812
827
104
34.839178
0.656945
0.025198
0
0.050754
0
0.002743
0.20271
0.021715
0
0
0
0
0
1
0.037037
false
0
0.024691
0.005487
0.096022
0.002743
0
0
0
null
0
0
0
0
0
0
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
1
0
087670710e46b9499b04f22d8a01fa0767bf4b47
9,093
py
Python
tests/test_remote.py
bcyran/philipstv
6037724d5fab0b72265c2de2c0441a64f6e00c00
[ "MIT" ]
null
null
null
tests/test_remote.py
bcyran/philipstv
6037724d5fab0b72265c2de2c0441a64f6e00c00
[ "MIT" ]
null
null
null
tests/test_remote.py
bcyran/philipstv
6037724d5fab0b72265c2de2c0441a64f6e00c00
[ "MIT" ]
null
null
null
from typing import Union from unittest.mock import Mock, create_autospec import pytest from pytest import MonkeyPatch from philipstv import PhilipsTVAPI, PhilipsTVPairer, PhilipsTVRemote, PhilipsTVRemoteError from philipstv.model import ( AllChannels, AmbilightColor, AmbilightColors, AmbilightLayer, ...
29.144231
94
0.698119
1,083
9,093
5.598338
0.174515
0.073891
0.036286
0.03711
0.505195
0.369949
0.280719
0.241959
0.179119
0.12535
0
0.015448
0.195535
9,093
311
95
29.237942
0.813397
0.00132
0
0.25431
0
0
0.066637
0.035136
0
0
0
0
0.107759
1
0.094828
false
0
0.025862
0.008621
0.12931
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0879ba08e89fa5f242f50ddb01acf847e7896d29
9,612
py
Python
a2t/src/test_runner.py
syeda-khurrath/fabric8-analytics-common
421f7e27869c5695ed73b51e6422e097aba00108
[ "Apache-2.0" ]
null
null
null
a2t/src/test_runner.py
syeda-khurrath/fabric8-analytics-common
421f7e27869c5695ed73b51e6422e097aba00108
[ "Apache-2.0" ]
4
2019-05-20T08:27:47.000Z
2019-05-20T08:29:57.000Z
a2t/src/test_runner.py
codeready-analytics/fabric8-analytics-common
a763c5534d601f2f40a0f02c02914c49ea23669d
[ "Apache-2.0" ]
1
2020-10-05T21:12:44.000Z
2020-10-05T21:12:44.000Z
"""Implementation of benchmarks. Copyright (c) 2019 Red Hat Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program...
37.546875
99
0.634415
1,209
9,612
4.837055
0.224152
0.029925
0.037791
0.04617
0.350205
0.233755
0.197503
0.161936
0.15236
0.112175
0
0.011998
0.24563
9,612
255
100
37.694118
0.794511
0.168435
0
0.168539
0
0
0.212343
0.046668
0
0
0
0.003922
0
1
0.061798
false
0
0.050562
0
0.123596
0
0
0
0
null
0
0
0
0
0
0
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
1
0
087dd6bb53dc8a5a49168182e90d10a64dea2f64
159
py
Python
bus_system/apps/bus/admin.py
pygabo/bus_system
ffb76d3414e058286799f3df1cb551b26286e7c3
[ "MIT" ]
null
null
null
bus_system/apps/bus/admin.py
pygabo/bus_system
ffb76d3414e058286799f3df1cb551b26286e7c3
[ "MIT" ]
null
null
null
bus_system/apps/bus/admin.py
pygabo/bus_system
ffb76d3414e058286799f3df1cb551b26286e7c3
[ "MIT" ]
null
null
null
# Core Django imports from django.contrib import admin # Imports from my apps from bus_system.apps.bus.models import BusModel admin.site.register(BusModel)
19.875
47
0.805031
24
159
5.291667
0.625
0.173228
0
0
0
0
0
0
0
0
0
0
0.132075
159
7
48
22.714286
0.92029
0.257862
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
087e3e81767ebb79be98cf41ccb71262d3691e12
2,454
py
Python
jocular/calcs.py
MartinCooke/jocular
635816d4ef6aa6ea75187137e25386dad2d551e9
[ "MIT" ]
6
2021-03-21T16:46:44.000Z
2021-11-27T14:07:06.000Z
jocular/calcs.py
MartinCooke/jocular
635816d4ef6aa6ea75187137e25386dad2d551e9
[ "MIT" ]
null
null
null
jocular/calcs.py
MartinCooke/jocular
635816d4ef6aa6ea75187137e25386dad2d551e9
[ "MIT" ]
null
null
null
''' Various astro calcs mainly based on Meuss. ''' import numpy as np import math import time from datetime import datetime def julian_date(when): # from Meuss p 61; 'when' is a datetime object y = when.year m = when.month d = when.day + when.hour/24 + when.minute/(24*60) + when.second/(24*3600) if m < 3: y...
26.106383
104
0.600652
440
2,454
3.304545
0.370455
0.030949
0.028886
0.011004
0.111417
0.053645
0.030261
0
0
0
0
0.200318
0.231051
2,454
93
105
26.387097
0.570217
0.172372
0
0.142857
0
0
0
0
0
0
0
0
0
1
0.071429
false
0
0.071429
0
0.232143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
087e86827c6cc73f03d6554fcf8f36b2777a11b4
1,221
py
Python
win/python/CAO/calcClient.py
kioto/ORiN2Sample
a7a9007b696fdd3ab29f1ec5cededc59b232fae2
[ "MIT" ]
null
null
null
win/python/CAO/calcClient.py
kioto/ORiN2Sample
a7a9007b696fdd3ab29f1ec5cededc59b232fae2
[ "MIT" ]
null
null
null
win/python/CAO/calcClient.py
kioto/ORiN2Sample
a7a9007b696fdd3ab29f1ec5cededc59b232fae2
[ "MIT" ]
null
null
null
import win32com.client import time class CalcClient(object): def __init__(self): # CAOエンジンの作成 self._eng = win32com.client.Dispatch('CAO.CaoEngine') self._ws = self._eng.Workspaces(0) self._ctrl = self._ws.AddController('bb1', 'CaoProv.Blackboard') # 変数の追加 ...
29.780488
73
0.564292
150
1,221
4.293333
0.36
0.108696
0.147516
0.055901
0
0
0
0
0
0
0
0.052817
0.302211
1,221
41
74
29.780488
0.703052
0.027027
0
0
0
0
0.091783
0
0
0
0
0
0
1
0.066667
false
0
0.066667
0
0.166667
0.066667
0
0
0
null
0
0
0
0
0
0
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
1
0
08804de9d3324b167c6447b69cc226552d4b7bbe
282
py
Python
Mundo-1/exercicio-05.py
FRafaelPA/Praticando-Python
d8a46beceeae2ac20acf4c63f86a32cba537c896
[ "MIT" ]
null
null
null
Mundo-1/exercicio-05.py
FRafaelPA/Praticando-Python
d8a46beceeae2ac20acf4c63f86a32cba537c896
[ "MIT" ]
null
null
null
Mundo-1/exercicio-05.py
FRafaelPA/Praticando-Python
d8a46beceeae2ac20acf4c63f86a32cba537c896
[ "MIT" ]
null
null
null
''' Faça um programa que leia um número inteiro e mostre na tela o seu sucessor e seu antecessor. ''' n = int(input('Entre com um valor: ')) antecessor = n - 1 sucessor = n + 1 msg = 'o antecessor do número {} é {} e seu sucessor é {}'.format(n, antecessor, sucessor) print(msg)
23.5
93
0.673759
47
282
4.042553
0.574468
0.115789
0
0
0
0
0
0
0
0
0
0.008889
0.202128
282
12
94
23.5
0.835556
0.329787
0
0
0
0
0.38674
0
0
0
0
0
0
1
0
false
0
0
0
0
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
0
0
0
0
1
0
0880a4f7dffdc5894d94be459ed45b4d22287a7c
3,505
py
Python
tests/sql_parser/ast/test_insert_statement_is_parsed.py
vladbalmos/mitzasql
06c2a96eb4494095b2b72bc1454199a4940b0700
[ "MIT" ]
69
2019-05-16T06:40:18.000Z
2022-03-24T06:23:49.000Z
tests/sql_parser/ast/test_insert_statement_is_parsed.py
vladbalmos/mitzasql
06c2a96eb4494095b2b72bc1454199a4940b0700
[ "MIT" ]
36
2019-05-15T19:55:24.000Z
2021-07-22T07:07:14.000Z
tests/sql_parser/ast/test_insert_statement_is_parsed.py
vladbalmos/mitzasql
06c2a96eb4494095b2b72bc1454199a4940b0700
[ "MIT" ]
8
2019-05-16T06:56:28.000Z
2022-02-11T02:24:12.000Z
import pytest from mitzasql.sql_parser.parser import parse from mitzasql.utils import dfs def test_simple_insert_is_parsed(): raw_sql = ''' INSERT DELAYED INTO table (col1, col2, col3) VALUES (100, 200, 300) ''' ast = parse(raw_sql) assert len(ast) > 0 ast = ast[0] assert ast.type == 'i...
26.353383
77
0.650499
493
3,505
4.525355
0.115619
0.104886
0.069027
0.087405
0.679964
0.558046
0.558046
0.51905
0.51905
0.51905
0
0.030303
0.22796
3,505
132
78
26.55303
0.794161
0
0
0.56
0
0
0.124964
0
0
0
0
0
0.56
1
0.04
false
0
0.03
0
0.07
0
0
0
0
null
0
0
0
0
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
088195a1ba4520a7f098f9cb7902e66481e7e187
21
py
Python
checkov/version.py
pmalkki/checkov
b6cdf386dd976fe27c16fed6d550756a678a5d7b
[ "Apache-2.0" ]
null
null
null
checkov/version.py
pmalkki/checkov
b6cdf386dd976fe27c16fed6d550756a678a5d7b
[ "Apache-2.0" ]
null
null
null
checkov/version.py
pmalkki/checkov
b6cdf386dd976fe27c16fed6d550756a678a5d7b
[ "Apache-2.0" ]
null
null
null
version = '2.0.1048'
10.5
20
0.619048
4
21
3.25
1
0
0
0
0
0
0
0
0
0
0
0.333333
0.142857
21
1
21
21
0.388889
0
0
0
0
0
0.380952
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
0881a63860af8a2c6c4f14401c7170b38015ba3a
775
py
Python
ArraysAndSorting/MakeItAnagram.py
tejasnikumbh/Algorithms
2a2983a522be295ce95bd970a0ee8a617866992f
[ "BSD-2-Clause" ]
8
2015-04-16T03:43:49.000Z
2018-08-14T22:47:03.000Z
ArraysAndSorting/MakeItAnagram.py
tejasnikumbh/Algorithms
2a2983a522be295ce95bd970a0ee8a617866992f
[ "BSD-2-Clause" ]
null
null
null
ArraysAndSorting/MakeItAnagram.py
tejasnikumbh/Algorithms
2a2983a522be295ce95bd970a0ee8a617866992f
[ "BSD-2-Clause" ]
7
2016-03-22T20:29:27.000Z
2018-09-29T18:55:47.000Z
# Importing standard libraires import sys ''' Main Function for the program. Logic is as follows Make two frequency tables for two strings Take overlap of both and add up the non overlapping regions (absolute values) ''' if __name__ == "__main__": # Parsing in the input s1 = list(sys.stdin.readline...
31
81
0.636129
112
775
4.330357
0.553571
0.018557
0.037113
0.082474
0.169072
0.061856
0.061856
0.061856
0
0
0
0.042955
0.249032
775
24
82
32.291667
0.790378
0.181935
0
0
0
0
0.022779
0
0
0
0
0
0
0
null
null
0
0.071429
null
null
0.071429
0
0
0
null
0
0
0
0
0
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
08826307649d95fd1f1fa357479507c8385245c7
1,181
py
Python
tests/test_get_schedule.py
j-muller/pypuregym
396862047f8b5c0b1138b5c562ddb6958aaa6817
[ "MIT" ]
1
2020-12-31T01:42:14.000Z
2020-12-31T01:42:14.000Z
tests/test_get_schedule.py
j-muller/pypuregym
396862047f8b5c0b1138b5c562ddb6958aaa6817
[ "MIT" ]
null
null
null
tests/test_get_schedule.py
j-muller/pypuregym
396862047f8b5c0b1138b5c562ddb6958aaa6817
[ "MIT" ]
null
null
null
from .utilities import Response SCHEDULE_RESPONSE = b""" {"error":{"code":200,"message":"Success"},"data":{"classes":[{ "id":113209,"sector":"F","class_type_id":48,"start_date":"2020-06-07", "end_date":"2020-06-07","start_time":"09:00:00","end_time":"09:45:00", "duration":"2700000","teacher_id":782,"location_id":10,"l...
36.90625
76
0.663844
169
1,181
4.414201
0.526627
0.040214
0.053619
0.064343
0.045576
0
0
0
0
0
0
0.096925
0.091448
1,181
31
77
38.096774
0.598322
0
0
0
0
0.111111
0.699407
0.655377
0
0
0
0
0.037037
1
0.037037
false
0
0.037037
0
0.074074
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0883af2fe80ecab9fbfc1b7be524e037979d920a
518
py
Python
testing/examples/talib-macd.py
pchaos/quanttesting
98331670547e8a45ba93b49f3e9c660495645114
[ "MIT" ]
5
2020-04-08T14:14:05.000Z
2021-06-29T03:42:01.000Z
testing/examples/talib-macd.py
pchaos/quanttesting
98331670547e8a45ba93b49f3e9c660495645114
[ "MIT" ]
null
null
null
testing/examples/talib-macd.py
pchaos/quanttesting
98331670547e8a45ba93b49f3e9c660495645114
[ "MIT" ]
7
2020-04-15T15:07:39.000Z
2022-03-23T05:44:02.000Z
''' Ta-lib计算MACD ''' import pandas as pd import numpy as np import talib as ta import tushare as ts from matplotlib import rc import matplotlib.pyplot as plt import seaborn as sns rc('mathtext', default='regular') sns.set_style('white') # %matplotlib plt.rcParams["figure.figsize"] = (20, 10) dw = ts.get_k_data("60060...
24.666667
107
0.722008
79
518
4.696203
0.594937
0.037736
0
0
0
0
0
0
0
0
0
0.032538
0.110039
518
21
108
24.666667
0.772234
0.048263
0
0
0
0
0.183128
0
0
0
0
0
0
1
0
false
0
0.466667
0
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0883de75e3222b2bd0245697a6613a014446c4c7
252
py
Python
packages/regression_model/regression_model/__init__.py
abdurrehman11/deploying-machine-learning-models
93872e4c197df2543e492af3df718bdad1817752
[ "BSD-3-Clause" ]
null
null
null
packages/regression_model/regression_model/__init__.py
abdurrehman11/deploying-machine-learning-models
93872e4c197df2543e492af3df718bdad1817752
[ "BSD-3-Clause" ]
null
null
null
packages/regression_model/regression_model/__init__.py
abdurrehman11/deploying-machine-learning-models
93872e4c197df2543e492af3df718bdad1817752
[ "BSD-3-Clause" ]
null
null
null
import logging from regression_model.config import config from regression_model.config import logging_config VERSION_PATH = config.PACKAGE_ROOT / 'VERSION' with open(VERSION_PATH, 'r') as version_file: __version__ = version_file.read().strip()
25.2
50
0.797619
34
252
5.558824
0.5
0.137566
0.201058
0.26455
0.328042
0
0
0
0
0
0
0
0.123016
252
10
51
25.2
0.855204
0
0
0
0
0
0.031621
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
0886c3adb37d4bb2d284b34954bef308daf23bd3
508
py
Python
001-Python-basico/008-desafio-pratico.py
clebertonf/Python-course
a57f405cbd27f96e0cb61128df31e9249c79a962
[ "MIT" ]
null
null
null
001-Python-basico/008-desafio-pratico.py
clebertonf/Python-course
a57f405cbd27f96e0cb61128df31e9249c79a962
[ "MIT" ]
null
null
null
001-Python-basico/008-desafio-pratico.py
clebertonf/Python-course
a57f405cbd27f96e0cb61128df31e9249c79a962
[ "MIT" ]
null
null
null
from datetime import date year_current_date = date.today().year def get_info(name, age, height, weight): year_birth = year_current_date - age imc = round(weight / (height ** 2), 2) print(f"{name} tem {age} anos, {height} de altura e pesa {weight} KG.") print(f"O IMC do {name} é: {imc}") print(f"{...
28.222222
83
0.687008
80
508
4.2625
0.6125
0.052786
0.087977
0
0
0
0
0
0
0
0
0.021739
0.185039
508
17
84
29.882353
0.801932
0.222441
0
0
0
0.111111
0.313776
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.222222
0.333333
0
0
0
null
0
0
0
0
0
0
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
1
0
0887199a887a1fbf59285a7c42522a561d36fdf6
160
py
Python
jsons.py
tebeka/py2go-cheatsheet
14c83850876ef80c36af326ab4fc6f56344781c7
[ "BSD-3-Clause" ]
13
2017-09-09T08:32:34.000Z
2022-02-28T04:32:43.000Z
jsons.py
tebeka/py2go-cheatsheet
14c83850876ef80c36af326ab4fc6f56344781c7
[ "BSD-3-Clause" ]
3
2017-11-25T18:48:11.000Z
2017-12-30T13:00:04.000Z
jsons.py
tebeka/py2go-cheatsheet
14c83850876ef80c36af326ab4fc6f56344781c7
[ "BSD-3-Clause" ]
2
2019-11-03T19:58:17.000Z
2020-04-28T01:14:17.000Z
import json from sys import stdout # START data = '''{ "name": "bugs", "age": 76 }''' obj = json.loads(data) json.dump(obj, stdout) # END print(obj)
10.666667
22
0.59375
23
160
4.130435
0.695652
0
0
0
0
0
0
0
0
0
0
0.016
0.21875
160
14
23
11.428571
0.744
0.05625
0
0
0
0
0.25
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0.111111
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
08873554c1a8d8174ca6425485bfe2a0d0880e6a
2,306
py
Python
tests/components/speedtestdotnet/test_init.py
pcaston/core
e74d946cef7a9d4e232ae9e0ba150d18018cfe33
[ "Apache-2.0" ]
1
2021-07-08T20:09:55.000Z
2021-07-08T20:09:55.000Z
tests/components/speedtestdotnet/test_init.py
pcaston/core
e74d946cef7a9d4e232ae9e0ba150d18018cfe33
[ "Apache-2.0" ]
47
2021-02-21T23:43:07.000Z
2022-03-31T06:07:10.000Z
tests/components/speedtestdotnet/test_init.py
OpenPeerPower/core
f673dfac9f2d0c48fa30af37b0a99df9dd6640ee
[ "Apache-2.0" ]
null
null
null
"""Tests for SpeedTest integration.""" from unittest.mock import patch import speedtest from openpeerpower import config_entries from openpeerpower.components import speedtestdotnet from openpeerpower.setup import async_setup_component from tests.common import MockConfigEntry async def test_setup_with_config(opp):...
28.825
82
0.717259
268
2,306
5.958955
0.276119
0.073262
0.030056
0.067627
0.365686
0.349405
0.349405
0.319975
0.319975
0.319975
0
0.004849
0.195143
2,306
79
83
29.189873
0.855603
0.013877
0
0.320755
0
0
0.077184
0.03301
0
0
0
0
0.132075
1
0
false
0
0.113208
0
0.113208
0
0
0
0
null
0
0
0
0
0
0
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
1
0
088834b65e8fc3335e7c944aeb1e307017ece6c9
1,258
py
Python
opetuskoodi/2021_10_18/2_kerta_kertaus.py
mikkokotola/pythonkoodaus
5415b3d87dfcb65b72edb916967824304d155d9a
[ "CC-BY-4.0", "MIT" ]
null
null
null
opetuskoodi/2021_10_18/2_kerta_kertaus.py
mikkokotola/pythonkoodaus
5415b3d87dfcb65b72edb916967824304d155d9a
[ "CC-BY-4.0", "MIT" ]
null
null
null
opetuskoodi/2021_10_18/2_kerta_kertaus.py
mikkokotola/pythonkoodaus
5415b3d87dfcb65b72edb916967824304d155d9a
[ "CC-BY-4.0", "MIT" ]
null
null
null
# Kertaus, kerta 3 # Muuttujat ja syötteen lukeminen käyttäjältä nimi = input("Anna nimesi: ") kengännumero = input("Mikä on kengännumerosi: ") print("Moi vaan, " + nimi + "! Kengännumerosi on " + kengännumero + ".") # F-merkkijono print(f"Moi vaan, {nimi}! Kengännumerosi on {kengännumero}.") # Numerot # Ikälaskuri...
21.689655
99
0.683625
174
1,258
4.942529
0.373563
0.04186
0.048837
0.083721
0.305814
0.215116
0.124419
0.054651
0.054651
0.054651
0
0.041825
0.163752
1,258
57
100
22.070175
0.775665
0.228935
0
0.090909
0
0
0.356621
0
0
0
0
0
0
1
0
false
0
0
0
0
0.454545
0
0
0
null
0
0
0
0
0
0
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
0888b580bb9eb1968da656fe5efb329d6602a748
616
py
Python
case/xpath.py
xierensong/learnPython
33f9891d8a8ed39772ff9bcbeb1e5cff6f3b5455
[ "MIT" ]
null
null
null
case/xpath.py
xierensong/learnPython
33f9891d8a8ed39772ff9bcbeb1e5cff6f3b5455
[ "MIT" ]
null
null
null
case/xpath.py
xierensong/learnPython
33f9891d8a8ed39772ff9bcbeb1e5cff6f3b5455
[ "MIT" ]
1
2018-10-11T08:20:44.000Z
2018-10-11T08:20:44.000Z
import requests from lxml import etree if __name__ == '__main__': headers = {"User-Agent":'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36'} url = 'https://www.apache.org/dist/ant/' sourceHTML = requests.get(url, headers = headers) selec...
41.066667
144
0.63474
89
616
4.213483
0.640449
0.08
0
0
0
0
0
0
0
0
0
0.058943
0.201299
616
15
145
41.066667
0.703252
0
0
0
0
0.076923
0.349026
0.045455
0
0
0
0
0
1
0
false
0
0.153846
0
0.153846
0.153846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
088c4b3ec59271d9af6031e07d4cb3e300f061c4
62
py
Python
hermes1d/__init__.py
certik/hermes1d-llnl
8e3b76fd3022af90e5c4c3923337a422d79604d5
[ "BSD-3-Clause" ]
1
2016-08-18T23:21:55.000Z
2016-08-18T23:21:55.000Z
hermes1d/__init__.py
certik/hermes1d-llnl
8e3b76fd3022af90e5c4c3923337a422d79604d5
[ "BSD-3-Clause" ]
null
null
null
hermes1d/__init__.py
certik/hermes1d-llnl
8e3b76fd3022af90e5c4c3923337a422d79604d5
[ "BSD-3-Clause" ]
null
null
null
from h1d_wrapper.h1d_wrapper import Element, Mesh, Linearizer
31
61
0.854839
9
62
5.666667
0.777778
0.392157
0
0
0
0
0
0
0
0
0
0.035714
0.096774
62
1
62
62
0.875
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
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
1
0
1
0
1
0
0
6
088ddea79b72540b919336ee600c90b0505ded86
5,132
py
Python
jelm/tests/unit/test_jelm_class.py
endremborza/jelm
6916bbd4ceb909ad3350c56d3a149bdb97671489
[ "MIT" ]
null
null
null
jelm/tests/unit/test_jelm_class.py
endremborza/jelm
6916bbd4ceb909ad3350c56d3a149bdb97671489
[ "MIT" ]
null
null
null
jelm/tests/unit/test_jelm_class.py
endremborza/jelm
6916bbd4ceb909ad3350c56d3a149bdb97671489
[ "MIT" ]
null
null
null
import pytest from jelm import Jelm, Node, Edge from jelm.tests.network_case_set_class import NetwokCaseTemplate def test_eq(jelm_pair_case: NetwokCaseTemplate): jelm_pair_case.evaluate_fun(non_altering_function=lambda x: x) assert not (10 == Jelm()) assert not ("fing" == Jelm()) def test_jelm_repr(...
25.034146
77
0.639517
726
5,132
4.242424
0.140496
0.031169
0.054545
0.068182
0.647078
0.516558
0.502273
0.356494
0.271429
0.237662
0
0.016153
0.227981
5,132
204
78
25.156863
0.761232
0
0
0.223141
0
0
0.055144
0
0
0
0
0
0.305785
1
0.181818
false
0
0.024793
0
0.256198
0
0
0
0
null
0
0
0
0
0
0
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
1
0
088f0e150b58a95dbcc3bacf169c6bdc57e4eedc
6,582
py
Python
trajectory_prediction/evaluation.py
libai2019/dataset-api
2f793821864f32bd210c17060a70682488bb74e0
[ "Apache-2.0" ]
385
2018-07-02T22:21:25.000Z
2022-03-28T13:12:47.000Z
trajectory_prediction/evaluation.py
libai2019/dataset-api
2f793821864f32bd210c17060a70682488bb74e0
[ "Apache-2.0" ]
102
2018-08-01T10:40:40.000Z
2022-03-16T10:32:44.000Z
trajectory_prediction/evaluation.py
libai2019/dataset-api
2f793821864f32bd210c17060a70682488bb74e0
[ "Apache-2.0" ]
98
2018-07-12T18:36:42.000Z
2022-03-20T04:38:03.000Z
''' Evaluation code for trajectory prediction. We record the objects in the last frame of every sequence in test dataset as considered objects, which is stored in considered_objects.txt. We compare the error between your predicted locations in the next 3s(six positions) and the ground truth for these considered object...
36.364641
139
0.628836
827
6,582
4.758162
0.2237
0.066074
0.034562
0.027446
0.282084
0.209911
0.191105
0.191105
0.153748
0.038628
0
0.012553
0.285931
6,582
180
140
36.566667
0.824681
0.17244
0
0.147826
0
0
0.059095
0.020499
0
0
0
0
0
1
0.043478
false
0
0.026087
0.008696
0.104348
0.052174
0
0
0
null
0
0
0
0
0
0
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
1
0
0891695cf058c07ea805662895cf40325fd7ce37
2,561
py
Python
shellfoundry/commands/install_command.py
p-sherratt/shellfoundry
d1f35a31123b9e701c801345fb633b6fda5420b7
[ "Apache-2.0" ]
null
null
null
shellfoundry/commands/install_command.py
p-sherratt/shellfoundry
d1f35a31123b9e701c801345fb633b6fda5420b7
[ "Apache-2.0" ]
1
2021-03-25T23:21:02.000Z
2021-03-25T23:21:02.000Z
shellfoundry/commands/install_command.py
p-sherratt/shellfoundry
d1f35a31123b9e701c801345fb633b6fda5420b7
[ "Apache-2.0" ]
null
null
null
# !/usr/bin/python # -*- coding: utf-8 -*- import click import os try: # Python 2.x version from urllib2 import HTTPError, URLError except: # Python 3.x version from urllib.error import HTTPError, URLError from shellfoundry.exceptions import FatalError from shellfoundry.utilities.config_reader import ...
43.40678
119
0.705193
289
2,561
6.058824
0.363322
0.068532
0.071388
0.051399
0.042262
0
0
0
0
0
0
0.004539
0.225693
2,561
58
120
44.155172
0.878467
0.029676
0
0.12766
0
0
0.157661
0
0
0
0
0
0
1
0.06383
false
0
0.234043
0
0.319149
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0893025cc2e6d02ad0cc2a38ee4b17db36c8a68d
9,064
py
Python
sam_actions/scripts/gps_fix_server.py
Jollerprutt/sam_common
dd8b43b3c69eee76fe0c35a98db9dfb67f2b79f2
[ "BSD-3-Clause" ]
1
2020-06-09T18:23:53.000Z
2020-06-09T18:23:53.000Z
sam_actions/scripts/gps_fix_server.py
Jollerprutt/sam_common
dd8b43b3c69eee76fe0c35a98db9dfb67f2b79f2
[ "BSD-3-Clause" ]
3
2020-10-06T09:46:03.000Z
2021-03-10T13:40:44.000Z
sam_actions/scripts/gps_fix_server.py
Jollerprutt/sam_common
dd8b43b3c69eee76fe0c35a98db9dfb67f2b79f2
[ "BSD-3-Clause" ]
5
2020-01-20T18:33:55.000Z
2020-12-29T12:34:22.000Z
#!/usr/bin/python import rospy from rospy import ROSException from std_msgs.msg import Header, Bool from std_srvs.srv import SetBool from geometry_msgs.msg import PoseWithCovarianceStamped, Point, Quaternion from sensor_msgs.msg import NavSatFix, NavSatStatus from sam_msgs.msg import GetGPSFixAction, GetGPSFixFeedback...
42.553991
143
0.645521
1,180
9,064
4.720339
0.205085
0.058169
0.048474
0.045242
0.371454
0.305206
0.228905
0.210233
0.20395
0.20395
0
0.008566
0.252979
9,064
212
144
42.754717
0.81406
0.076567
0
0.216216
0
0
0.145749
0.011497
0
0
0
0
0
0
null
null
0
0.101351
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
08967bfbf25d6987de9933fc65d4f932dbcd6e60
1,307
py
Python
src/model/RoleProxy.py
JulienGrv/puremvc-python-demo-PySide-employeeadmin
b076493ac34254e665b485259b0a7122fa9cfde4
[ "BSD-3-Clause" ]
4
2017-08-26T10:18:10.000Z
2020-07-28T19:50:54.000Z
src/model/RoleProxy.py
JulienGrv/puremvc-python-demo-PySide-employeeadmin
b076493ac34254e665b485259b0a7122fa9cfde4
[ "BSD-3-Clause" ]
null
null
null
src/model/RoleProxy.py
JulienGrv/puremvc-python-demo-PySide-employeeadmin
b076493ac34254e665b485259b0a7122fa9cfde4
[ "BSD-3-Clause" ]
3
2020-09-22T12:17:14.000Z
2021-07-16T12:28:18.000Z
# -*- coding: utf-8 -*- from puremvc.patterns.proxy import Proxy from .. import ApplicationFacade class RoleProxy(Proxy): NAME = 'RoleProxy' def __init__(self, proxyName=None, data=[]): super(RoleProxy, self).__init__(proxyName, data) self.data = data def addItem(self, role): ...
27.808511
72
0.61974
138
1,307
5.797101
0.311594
0.05
0.045
0.105
0.185
0.185
0.185
0.185
0.185
0.185
0
0.001071
0.285386
1,307
46
73
28.413043
0.85546
0.016067
0
0.121212
0
0
0.007009
0
0
0
0
0
0
1
0.212121
false
0
0.060606
0.030303
0.393939
0
0
0
0
null
0
0
0
0
0
0
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
0896a00f400830a8eb41593559f65d607a6a09c6
1,358
py
Python
flappy-brird/utils/radio.py
victorathanasio/Personal-projects
94c870179cec32aa733a612a6faeb047df16d977
[ "MIT" ]
null
null
null
flappy-brird/utils/radio.py
victorathanasio/Personal-projects
94c870179cec32aa733a612a6faeb047df16d977
[ "MIT" ]
null
null
null
flappy-brird/utils/radio.py
victorathanasio/Personal-projects
94c870179cec32aa733a612a6faeb047df16d977
[ "MIT" ]
null
null
null
import pygame import os class Radio: def __init__(self, settings): """ Method that initiates the object Radio for game sounds Input = (Dict) """ pygame.mixer.init() self.file_die_sound = pygame.mixer.Sound('Assets/Sounds/die.mp3') self.file_hit_sound = ...
25.148148
77
0.611193
176
1,358
4.494318
0.204545
0.131479
0.088496
0.11378
0.510746
0.510746
0.212389
0.108723
0.108723
0
0
0.006141
0.28056
1,358
53
78
25.622642
0.80348
0.150957
0
0
0
0
0.09668
0.084961
0
0
0
0
0
1
0.217391
false
0
0.086957
0
0.347826
0
0
0
0
null
0
0
0
0
0
0
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
0896e29401ea1989cb26ef01107f5729035c11a7
4,405
py
Python
app/__main__.py
pablohawz/tfg-Scan-Paint-clone
056cd50d9e4274620cf085a41ed9d326e16dd47b
[ "MIT" ]
null
null
null
app/__main__.py
pablohawz/tfg-Scan-Paint-clone
056cd50d9e4274620cf085a41ed9d326e16dd47b
[ "MIT" ]
null
null
null
app/__main__.py
pablohawz/tfg-Scan-Paint-clone
056cd50d9e4274620cf085a41ed9d326e16dd47b
[ "MIT" ]
null
null
null
# This Python file uses the following encoding: utf-8 from app.package.views.Calibrate_view import CalibrateView from app.package.controllers.Calibrate_controller import CalibrateController from app.package.models.Calibrate_model import CalibrateModel import sys import matplotlib from PySide2.QtWidgets import QApplica...
33.120301
76
0.711691
481
4,405
6.297297
0.247401
0.039947
0.032354
0.018818
0.081215
0.029713
0.029713
0.029713
0.029713
0.029713
0
0.001132
0.197503
4,405
132
77
33.371212
0.855728
0.119864
0
0
0
0
0.048187
0
0
0
0
0
0
1
0.061728
false
0
0.222222
0
0.308642
0.024691
0
0
0
null
0
0
0
0
0
0
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
1
0
0897118d6f2834e2b8c74ba12247412406dbd2c7
557
py
Python
Trakttv.bundle/Contents/Libraries/Shared/playhouse/berkeleydb.py
disrupted/Trakttv.bundle
24712216c71f3b22fd58cb5dd89dad5bb798ed60
[ "RSA-MD" ]
1,346
2015-01-01T14:52:24.000Z
2022-03-28T12:50:48.000Z
Trakttv.bundle/Contents/Libraries/Shared/playhouse/berkeleydb.py
alcroito/Plex-Trakt-Scrobbler
4f83fb0860dcb91f860d7c11bc7df568913c82a6
[ "RSA-MD" ]
474
2015-01-01T10:27:46.000Z
2022-03-21T12:26:16.000Z
Trakttv.bundle/Contents/Libraries/Shared/playhouse/berkeleydb.py
alcroito/Plex-Trakt-Scrobbler
4f83fb0860dcb91f860d7c11bc7df568913c82a6
[ "RSA-MD" ]
191
2015-01-02T18:27:22.000Z
2022-03-29T10:49:48.000Z
import datetime import decimal from playhouse.sqlite_ext import * # Peewee assumes that the `pysqlite2` module was compiled against the # BerkeleyDB SQLite libraries. from pysqlite2 import dbapi2 as berkeleydb berkeleydb.register_adapter(decimal.Decimal, str) berkeleydb.register_adapter(datetime.date, str) berkeleyd...
27.85
69
0.779174
66
557
6.454545
0.560606
0.126761
0.176056
0.131455
0.169014
0
0
0
0
0
0
0.006303
0.145422
557
19
70
29.315789
0.888655
0.172352
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0.333333
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
089a04fda175104b7a74e5689381760d2e0c8310
1,513
py
Python
PyEEA/analysis/SimulationAnalysisEngine.py
ThomasJFR/PyEEA
7927ee5ff1de8d3cf9e9654899ea4c2c0284519c
[ "MIT" ]
1
2020-06-15T03:16:06.000Z
2020-06-15T03:16:06.000Z
PyEEA/analysis/SimulationAnalysisEngine.py
ThomasJFR/PyEEA
7927ee5ff1de8d3cf9e9654899ea4c2c0284519c
[ "MIT" ]
1
2020-06-19T04:56:21.000Z
2020-06-19T04:56:21.000Z
PyEEA/analysis/SimulationAnalysisEngine.py
ThomasJFR/PyEEA
7927ee5ff1de8d3cf9e9654899ea4c2c0284519c
[ "MIT" ]
null
null
null
from numpy.random import standard_normal from numbers import Number def simulation_analysis(project, sim_dict, iterations=250, valuator=None): """ Purpose: Analyses the effects of uncertainty of a system by performing a Monte Carlo simulation. Args: project: An instance of Project to pe...
35.186047
110
0.61996
197
1,513
4.664975
0.431472
0.060936
0.043526
0.023939
0.032644
0
0
0
0
0
0
0.002921
0.321216
1,513
42
111
36.02381
0.891918
0.364177
0
0.086957
0
0
0.04126
0
0
0
0
0
0
1
0.086957
false
0
0.086957
0.043478
0.304348
0
0
0
0
null
0
0
0
0
0
0
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
1
0
089bce5935bf86ce3e21aaf4f16ec72196bcf521
433
py
Python
bot/handlers/common.py
slawiko/remindmelater_bot
76e46f7a42ee2eb02d0b06eea1eb2b8c6f76cb9e
[ "Apache-2.0" ]
null
null
null
bot/handlers/common.py
slawiko/remindmelater_bot
76e46f7a42ee2eb02d0b06eea1eb2b8c6f76cb9e
[ "Apache-2.0" ]
2
2017-06-11T11:07:30.000Z
2017-06-24T05:37:34.000Z
bot/handlers/common.py
slawiko/remindmelater_bot
76e46f7a42ee2eb02d0b06eea1eb2b8c6f76cb9e
[ "Apache-2.0" ]
null
null
null
import logging from telegram.ext import CommandHandler logger = logging.getLogger(__name__) def handle_dispatcher(dispatcher): dispatcher.add_handler(ping()) dispatcher.add_error_handler(error) def error(a, b, c): logger.error('Error %s %s "%s"' % a, b, c) def ping(): def handle(bot, update): ...
18.041667
69
0.699769
59
433
4.949153
0.491525
0.061644
0.020548
0
0
0
0
0
0
0
0
0
0.170901
433
23
70
18.826087
0.81337
0
0
0
0
0
0.055684
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
089c7e0aea70b01bb6426d16f39e585a80906239
307
py
Python
src/papierstat/datasets/data_helper.py
sdpython/papierstat
f69de884c59ada30b58224dca39f2a44d92122c1
[ "MIT" ]
7
2019-03-21T09:52:31.000Z
2021-01-17T16:56:27.000Z
src/papierstat/datasets/data_helper.py
sdpython/papierstat
f69de884c59ada30b58224dca39f2a44d92122c1
[ "MIT" ]
33
2018-02-08T23:56:57.000Z
2021-02-10T23:55:43.000Z
src/papierstat/datasets/data_helper.py
sdpython/papierstat
f69de884c59ada30b58224dca39f2a44d92122c1
[ "MIT" ]
1
2021-02-11T09:16:33.000Z
2021-02-11T09:16:33.000Z
# -*- coding: utf-8 -*- """ @file @brief Fonctions retournant des jeux de données. """ import os def get_data_folder(): """ Retourne le répertoire de données inclus dans ce module. """ this = os.path.dirname(__file__) data = os.path.join(this, "data") return os.path.abspath(data)
19.1875
60
0.641694
42
307
4.547619
0.714286
0.094241
0
0
0
0
0
0
0
0
0
0.004132
0.211726
307
15
61
20.466667
0.785124
0.436482
0
0
0
0
0.026667
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
089f58dcbc654f5aa5c0245f1cc3a918e10ba168
464
py
Python
ollivanders/offer/models.py
paradox-particle/diagon-alley
184a58da34046319c96b6d5535646497d80c4970
[ "MIT" ]
null
null
null
ollivanders/offer/models.py
paradox-particle/diagon-alley
184a58da34046319c96b6d5535646497d80c4970
[ "MIT" ]
null
null
null
ollivanders/offer/models.py
paradox-particle/diagon-alley
184a58da34046319c96b6d5535646497d80c4970
[ "MIT" ]
null
null
null
from django.db import models class Coupon(models.Model): coupon = models.CharField(max_length=20) discount = models.IntegerField() valid_from = models.DateTimeField() valid_to = models.DateTimeField() active = models.BooleanField(default=True) def __str__(self): return self.coupon ...
24.421053
46
0.661638
51
464
5.803922
0.627451
0.081081
0.114865
0
0
0
0
0
0
0
0
0.005666
0.239224
464
18
47
25.777778
0.832861
0
0
0
0
0
0.053879
0
0
0
0
0
0
1
0.071429
false
0
0.071429
0.071429
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
089fb8ac7ea2e682cd5404a50c0fbd9b93f873d7
6,470
py
Python
qa/advancedloggingplugin/advancedlogging.py
robertstarmer/aurora
ae98329c8dc466dea2c8040203624f0bfc1c7cfe
[ "Apache-2.0" ]
23
2015-01-22T22:23:35.000Z
2021-10-21T23:08:29.000Z
qa/advancedloggingplugin/advancedlogging.py
sysbot/aurora
9e319d4eb8c760cf84cb80ed2959cd52976af11c
[ "Apache-2.0" ]
2
2015-10-13T00:47:45.000Z
2019-05-06T14:52:33.000Z
qa/advancedloggingplugin/advancedlogging.py
sysbot/aurora
9e319d4eb8c760cf84cb80ed2959cd52976af11c
[ "Apache-2.0" ]
27
2015-03-18T19:39:30.000Z
2022-03-11T00:58:09.000Z
import os from os.path import join import traceback from bs4 import BeautifulSoup from nose.plugins import Plugin class AdvancedLogging(Plugin): name = "advanced-logging" enabled = False capture_screen = True score = 1 _log_path = join(os.getcwd(), 'test_output') _script_path = None def...
30.956938
75
0.52813
693
6,470
4.808081
0.243867
0.062425
0.072629
0.092437
0.217887
0.183373
0.168367
0.144358
0.12515
0.12515
0
0.005942
0.349768
6,470
208
76
31.105769
0.786071
0
0
0.267045
0
0
0.197527
0.007264
0
0
0
0
0
0
null
null
0.028409
0.028409
null
null
0.005682
0
0
0
null
0
0
0
0
0
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
08a0d32c04f17aef2a43162c106a80b10c85518c
999
py
Python
setup.py
sunghyunzz/aiohttp-toolbox
1948a1962b3bd4071f234719b6683b55cd03d6f0
[ "MIT" ]
6
2016-11-21T08:38:34.000Z
2019-02-20T12:56:16.000Z
setup.py
sunghyunzz/aiohttp-toolbox
1948a1962b3bd4071f234719b6683b55cd03d6f0
[ "MIT" ]
1
2017-07-20T02:20:03.000Z
2017-07-20T02:20:03.000Z
setup.py
sunghyunzz/aiohttp-toolbox
1948a1962b3bd4071f234719b6683b55cd03d6f0
[ "MIT" ]
2
2017-07-20T02:20:44.000Z
2019-02-21T13:37:37.000Z
""" aiohttp-ultrajson ----------------- Integrates UltraJSON with your aiohttp application. """ from setuptools import setup setup( name='aiohttp-ultrajson', version='0.1.0', url='https://github.com/sunghyunzz/aiohttp-ultrajson', license='MIT', author='sunghyunzz', author_email='me@sunghyunzz....
27
70
0.608609
98
999
6.102041
0.622449
0.107023
0.167224
0.130435
0.150502
0.150502
0
0
0
0
0
0.017016
0.235235
999
36
71
27.75
0.765707
0.088088
0
0
0
0
0.528239
0
0
0
0
0
0
1
0
true
0
0.034483
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
08a23fb05230d43cddbfc2a0b66eda446175157f
322
py
Python
PTA/PAT_B/Python3/B1061_AC.py
StrayDragon/OJ-Solutions
b31b11c01507544aded2302923da080b39cf2ba8
[ "MIT" ]
1
2019-05-13T10:09:55.000Z
2019-05-13T10:09:55.000Z
PTA/PAT_B/Python3/B1061_AC.py
StrayDragon/OJ-Solutions
b31b11c01507544aded2302923da080b39cf2ba8
[ "MIT" ]
null
null
null
PTA/PAT_B/Python3/B1061_AC.py
StrayDragon/OJ-Solutions
b31b11c01507544aded2302923da080b39cf2ba8
[ "MIT" ]
null
null
null
n, m = map(int, input().split()) scores = list(map(int, input().split())) answers = list(map(int, input().split())) for i in range(n): actuals = list(map(int, input().split())) result = 0 for i, score in enumerate(scores): if actuals[i] == answers[i]: result += score print(result...
21.466667
45
0.568323
46
322
3.978261
0.434783
0.131148
0.240437
0.349727
0.327869
0
0
0
0
0
0
0.004082
0.23913
322
14
46
23
0.742857
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.1
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
08a37f1f4c2faa26bde495db95f37f4816d7caf0
12,652
py
Python
dh/network/__init__.py
dhaase-de/dh-python-dh
40b04407e5f67ec261f559263718ec2b2588dabb
[ "MIT" ]
null
null
null
dh/network/__init__.py
dhaase-de/dh-python-dh
40b04407e5f67ec261f559263718ec2b2588dabb
[ "MIT" ]
null
null
null
dh/network/__init__.py
dhaase-de/dh-python-dh
40b04407e5f67ec261f559263718ec2b2588dabb
[ "MIT" ]
null
null
null
""" Tools for network communication. """ import abc import io import json import socket import struct import sys import time import zlib import dh.ejson import dh.utils # NumPy is only needed for some parts and is optional try: import numpy as np except ImportError as e: _NUMPY_ERROR = e else: _NUMPY_ERR...
30.858537
163
0.641084
1,467
12,652
5.462849
0.207226
0.041178
0.010981
0.017969
0.518343
0.481283
0.44597
0.441228
0.441228
0.426504
0
0.007221
0.255691
12,652
409
164
30.933985
0.843793
0.373064
0
0.437158
0
0
0.028552
0
0
0
0
0
0
1
0.169399
false
0.032787
0.076503
0.005464
0.382514
0.054645
0
0
0
null
0
0
0
0
0
0
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
1
0
08a4afc96f7c56b3ec32526d5ad975c5272d1d27
1,225
py
Python
setup.py
danizen/apache-replay
5e5cc8d0df693f2367d188d71099041c6a65317f
[ "MIT" ]
null
null
null
setup.py
danizen/apache-replay
5e5cc8d0df693f2367d188d71099041c6a65317f
[ "MIT" ]
null
null
null
setup.py
danizen/apache-replay
5e5cc8d0df693f2367d188d71099041c6a65317f
[ "MIT" ]
null
null
null
from setuptools import setup def get_readme(): with open('README.md') as f: return f.read() setup( name = 'apache-replay', version = '0.0.3', url = 'https://github.com/danizen/apache-replay.git', author = 'Daniel Davis', author_email = 'dan@danizen.net', description = 'Facilitate...
33.108108
96
0.625306
128
1,225
5.882813
0.742188
0.079681
0
0
0
0
0
0
0
0
0
0.006403
0.235102
1,225
36
97
34.027778
0.797225
0
0
0
0
0
0.526531
0.031837
0
0
0
0
0
1
0.03125
true
0
0.03125
0
0.09375
0
0
0
0
null
0
0
0
0
0
0
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
08a6713846bc912e38363c64df0ddb98d1d40470
464
py
Python
setup.py
duytintruong/do_more
3a306da78ca302d2963cc7bae5f17e668168b595
[ "MIT" ]
null
null
null
setup.py
duytintruong/do_more
3a306da78ca302d2963cc7bae5f17e668168b595
[ "MIT" ]
null
null
null
setup.py
duytintruong/do_more
3a306da78ca302d2963cc7bae5f17e668168b595
[ "MIT" ]
null
null
null
from distutils.core import setup setup( name='do_more', packages=['do_more'], version='0.1.0', description='A library enhancing pydoit features.', author='Duy Tin Truong', author_email='', url='https://github.com/duytintruong/do_more', download_url='https://github.com/duytintruong/do_mor...
27.294118
80
0.637931
60
464
4.816667
0.666667
0.083045
0.020761
0.117647
0.242215
0.242215
0.242215
0
0
0
0
0.026247
0.178879
464
16
81
29
0.732283
0
0
0
0
0.0625
0.422414
0
0
0
0
0
0
1
0
true
0
0.0625
0
0.0625
0
0
0
0
null
0
0
0
0
0
0
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
08a7afeb8a1abc10ec91968f8b8eddea6a7e071a
16,361
py
Python
qtable/engine.py
ihgazni2/qtable
269bb1052d7c7aeeae4d0b1024746fae38870c40
[ "MIT" ]
null
null
null
qtable/engine.py
ihgazni2/qtable
269bb1052d7c7aeeae4d0b1024746fae38870c40
[ "MIT" ]
null
null
null
qtable/engine.py
ihgazni2/qtable
269bb1052d7c7aeeae4d0b1024746fae38870c40
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np import elist.elist as elel import edict.edict as eded import tlist.tlist as tltl import copy __all__ = [ '_append_col', '_append_cols', '_append_row', '_append_rows', '_cn2clocs', '_col', '_cols', '_columns_map', '_crop', '_get_clocs', '_get_rlocs', '_getitem', '_ind...
27.40536
110
0.603753
2,150
16,361
4.351628
0.077209
0.038478
0.020522
0.025652
0.670051
0.594912
0.540188
0.521377
0.492946
0.448055
0
0.015329
0.242406
16,361
596
111
27.451342
0.739492
0.032883
0
0.591954
0
0
0.049693
0
0
0
0
0
0
1
0.088123
false
0.030651
0.011494
0.007663
0.099617
0
0
0
0
null
0
0
0
0
0
0
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
1
0
08a840735e2065bf6687b54ab836fe21b29363da
901
py
Python
src/npgru/predictor/tensorflow_predictor.py
grainpowder/gru-forward-numpy-app
efd24f9f397d51e7e18bdad5cba12451ad69d3de
[ "MIT" ]
null
null
null
src/npgru/predictor/tensorflow_predictor.py
grainpowder/gru-forward-numpy-app
efd24f9f397d51e7e18bdad5cba12451ad69d3de
[ "MIT" ]
null
null
null
src/npgru/predictor/tensorflow_predictor.py
grainpowder/gru-forward-numpy-app
efd24f9f397d51e7e18bdad5cba12451ad69d3de
[ "MIT" ]
null
null
null
from typing import List, Tuple import sentencepiece as spm import tensorflow as tf import tensorflow.keras as keras from npgru.predictor.category_predictor import CategoryPredictor from npgru.preprocessor.model_file import get_model_dir class TensorflowPredictor(CategoryPredictor): def __init__(self): ...
39.173913
116
0.751387
112
901
5.839286
0.491071
0.061162
0.033639
0
0
0
0
0
0
0
0
0.003916
0.149834
901
22
117
40.954545
0.849869
0
0
0
0
0
0.027747
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
08a9c217d15d92822c4d608156162c3fb67806ee
358
py
Python
eo_sensors/migrations/0005_auto_20210425_1946.py
dymaxionlabs/satlomas-back
f4568f6535755fd4a2432ecc661a264872206c6c
[ "Apache-2.0" ]
1
2021-02-18T20:11:25.000Z
2021-02-18T20:11:25.000Z
eo_sensors/migrations/0005_auto_20210425_1946.py
dymaxionlabs/satlomas-back
f4568f6535755fd4a2432ecc661a264872206c6c
[ "Apache-2.0" ]
7
2020-06-09T14:54:43.000Z
2021-09-22T21:00:13.000Z
eo_sensors/migrations/0005_auto_20210425_1946.py
dymaxionlabs/satlomas-back
f4568f6535755fd4a2432ecc661a264872206c6c
[ "Apache-2.0" ]
1
2020-05-08T20:42:49.000Z
2020-05-08T20:42:49.000Z
# Generated by Django 3.1.6 on 2021-04-25 19:46 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('eo_sensors', '0004_coveragemask'), ] operations = [ migrations.AlterUniqueTogether( name='raster', unique_together={('date',...
19.888889
57
0.592179
36
358
5.805556
0.888889
0
0
0
0
0
0
0
0
0
0
0.073359
0.276536
358
17
58
21.058824
0.733591
0.125698
0
0
1
0
0.151125
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
08ab2b8e0ae8691b40dba63be074cd70a395c8c1
503
py
Python
algorithms/course_1/assignments/frac_knapsack/code.py
ideahitme/coursera
af44c8d817481d4f9025205284f109d95a9bb45d
[ "MIT" ]
null
null
null
algorithms/course_1/assignments/frac_knapsack/code.py
ideahitme/coursera
af44c8d817481d4f9025205284f109d95a9bb45d
[ "MIT" ]
null
null
null
algorithms/course_1/assignments/frac_knapsack/code.py
ideahitme/coursera
af44c8d817481d4f9025205284f109d95a9bb45d
[ "MIT" ]
null
null
null
import math line = raw_input().strip().split() N = int(line[0]) cap = float(line[1]) items = [] for _ in xrange(N): items.append(map(float, raw_input().split())) def custcmp(x, y): _x = x[0]/x[1] _y = y[0]/y[1] if _x < _y: return 1 if _x == _y: return 0 if _x > _y: return -1 items = sorted(items, cm...
14.371429
46
0.600398
95
503
3.031579
0.378947
0.027778
0.041667
0.104167
0.114583
0
0
0
0
0
0
0.042929
0.212724
503
34
47
14.794118
0.684343
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.038462
null
null
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
08ab2c42e46cc085323887951f27802509bc2c01
1,131
py
Python
pythonDesafios/desafio058.py
mateusdev7/desafios-python
6160ddc84548c7af7f5775f9acabe58238f83008
[ "MIT" ]
null
null
null
pythonDesafios/desafio058.py
mateusdev7/desafios-python
6160ddc84548c7af7f5775f9acabe58238f83008
[ "MIT" ]
null
null
null
pythonDesafios/desafio058.py
mateusdev7/desafios-python
6160ddc84548c7af7f5775f9acabe58238f83008
[ "MIT" ]
null
null
null
from random import randint from time import sleep opcao = 123 cont = 0 while opcao != 0: print('-=-' * 20) print('Vou pensar em um número entre 0 e 10, quer tentar adivinhar?') print('-=-' * 20) print('\n[ 1 ] Sim [ 0 ] Não') opcao = int(input('Escolha uma das opções acima\n>')) if opcao == 1:...
35.34375
78
0.535809
137
1,131
4.423358
0.50365
0.039604
0.036304
0.046205
0.056106
0.056106
0
0
0
0
0
0.042272
0.330681
1,131
32
79
35.34375
0.758256
0.035367
0
0.2
0
0
0.338532
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0.4
0
0
0
null
0
0
0
0
0
0
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
1
0
08ab8c8ec2777c51be6f0455ab77ed9f159c8995
1,896
py
Python
FeatureEngineeringPy_DataScience/demo153_rarecategories.py
mahnooranjum/Programming_DataScience
f7a4215d4615b3f8460c3a1944a585628cf6930d
[ "MIT" ]
null
null
null
FeatureEngineeringPy_DataScience/demo153_rarecategories.py
mahnooranjum/Programming_DataScience
f7a4215d4615b3f8460c3a1944a585628cf6930d
[ "MIT" ]
null
null
null
FeatureEngineeringPy_DataScience/demo153_rarecategories.py
mahnooranjum/Programming_DataScience
f7a4215d4615b3f8460c3a1944a585628cf6930d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Demo153_RareCategories.ipynb ## Rare Categories - Labels - The number of labels in the dataset are different - __high cardinality__ refers to uniqueness of data values - The lower the cardinality, the more duplicated elements in a column - A column with the lowest possible cardinali...
26.704225
88
0.728903
289
1,896
4.650519
0.432526
0.060268
0.09375
0.068452
0.220982
0.18006
0.18006
0.153274
0.153274
0.116071
0
0.004884
0.136076
1,896
71
89
26.704225
0.815629
0.341245
0
0.310345
0
0
0.273927
0.031353
0
0
0
0
0
1
0
false
0
0.172414
0
0.172414
0.068966
0
0
0
null
0
0
0
0
0
0
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
1
0
08ac25798ceabd59a9de5ca3ae55d5d23549ad85
6,640
py
Python
adios-1.9.0/utils/skel/lib/skel_params.py
swatisgupta/Adaptive-compression
b97a1d3d3e0e968f59c7023c7367a7efa9f672d0
[ "BSD-2-Clause" ]
null
null
null
adios-1.9.0/utils/skel/lib/skel_params.py
swatisgupta/Adaptive-compression
b97a1d3d3e0e968f59c7023c7367a7efa9f672d0
[ "BSD-2-Clause" ]
null
null
null
adios-1.9.0/utils/skel/lib/skel_params.py
swatisgupta/Adaptive-compression
b97a1d3d3e0e968f59c7023c7367a7efa9f672d0
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python import sys import os import argparse import adios import skel_settings import skel_bpls # Command line parsing is chained together. This is stage two. The first stage happens in ../bin/skel def pparse_command_line (parent_parser): parser = argparse.ArgumentParser ( parents=[...
37.514124
181
0.613253
869
6,640
4.533947
0.27618
0.052538
0.060406
0.053299
0.338071
0.254822
0.220812
0.21066
0.188832
0.161421
0
0.006015
0.273946
6,640
176
182
37.727273
0.811242
0.12003
0
0.175926
0
0.018519
0.26836
0.009437
0
0
0
0.005682
0
0
null
null
0
0.055556
null
null
0.046296
0
0
0
null
0
0
0
0
0
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
08ac337e36cbf17a299188a90d4c593630ec7136
786
py
Python
centraldogma/util.py
line/centraldogma-python
2248e8d7d660c0535aa747a70742ddd2bb0a5268
[ "Apache-2.0" ]
8
2021-12-02T00:51:35.000Z
2022-01-07T09:49:08.000Z
centraldogma/util.py
line/centraldogma-python
2248e8d7d660c0535aa747a70742ddd2bb0a5268
[ "Apache-2.0" ]
8
2021-11-22T03:37:17.000Z
2022-02-14T10:02:31.000Z
centraldogma/util.py
line/centraldogma-python
2248e8d7d660c0535aa747a70742ddd2bb0a5268
[ "Apache-2.0" ]
4
2021-11-22T03:48:39.000Z
2021-12-31T05:42:43.000Z
# Copyright 2021 LINE Corporation # # LINE Corporation licenses this file to you 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 require...
39.3
78
0.720102
121
786
4.603306
0.628099
0.10772
0.046679
0.057451
0
0
0
0
0
0
0
0.012461
0.183206
786
19
79
41.368421
0.85514
0.75827
0
0
0
0
0.291429
0.251429
0
0
0
0
0
1
0.25
false
0
0
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
08ad2e5befe9beab57f5cfbb4752e8b8f6f82193
3,834
py
Python
Build/site_scons/msvs_preprocessed.py
Syeberman/nohtyP
59d7214a5a5474a03c54f45d79ad4fd037989a79
[ "CNRI-Python-GPL-Compatible" ]
null
null
null
Build/site_scons/msvs_preprocessed.py
Syeberman/nohtyP
59d7214a5a5474a03c54f45d79ad4fd037989a79
[ "CNRI-Python-GPL-Compatible" ]
null
null
null
Build/site_scons/msvs_preprocessed.py
Syeberman/nohtyP
59d7214a5a5474a03c54f45d79ad4fd037989a79
[ "CNRI-Python-GPL-Compatible" ]
null
null
null
"""Provides a Preprocessed action for the Microsoft Visual Studio compilers. """ import os import SCons.Action import SCons.Util import preprocessed_builder # XXX These are internal to SCons and may change in the future...but it's unlikely from SCons.Tool.msvc import CSuffixes, CXXSuffixes, msvc_batch_key # TODO Con...
41.673913
139
0.684142
498
3,834
5.144578
0.401606
0.02459
0.035129
0.0605
0.177986
0.163154
0.130367
0.094457
0
0
0
0.005005
0.21831
3,834
91
140
42.131868
0.84985
0.361242
0
0.136364
0
0.045455
0.206681
0.049687
0
0
0
0.021978
0
1
0.113636
false
0
0.113636
0
0.340909
0
0
0
0
null
0
0
0
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
08af1415b9293340224b8360402e471dbf0548c7
5,716
py
Python
django_geoip/south_migrations/0001_initial.py
mandalay-rp/django-geoip
2608cb15cdd7678c2ff923aff2437b1a861b8e6b
[ "MIT" ]
38
2015-01-10T06:44:12.000Z
2021-11-16T10:53:43.000Z
django_geoip/south_migrations/0001_initial.py
mandalay-rp/django-geoip
2608cb15cdd7678c2ff923aff2437b1a861b8e6b
[ "MIT" ]
28
2015-01-11T08:44:06.000Z
2019-07-25T19:04:10.000Z
django_geoip/south_migrations/0001_initial.py
mandalay-rp/django-geoip
2608cb15cdd7678c2ff923aff2437b1a861b8e6b
[ "MIT" ]
56
2015-01-11T08:30:57.000Z
2021-10-01T05:57:00.000Z
# encoding: utf-8 import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Country' db.create_table('django_geoip_country', ( ('code', self.gf('django.db...
53.420561
147
0.601645
652
5,716
5.105828
0.115031
0.079303
0.134575
0.19225
0.794233
0.736558
0.729348
0.664464
0.612797
0.519976
0
0.006529
0.196116
5,716
106
148
53.924528
0.717954
0.079951
0
0.162162
0
0
0.47245
0.250143
0
0
0
0
0
1
0.027027
false
0
0.054054
0
0.121622
0
0
0
0
null
0
0
1
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
08af904e7f82a923beed7c2fa65793eb9bf02793
878
py
Python
popbl_servicesapp/flask_app/order/application/api_client.py
xetxezarreta/master-popbl1
253880b9ba358f63f666893cdbbffe7391fcd096
[ "MIT" ]
null
null
null
popbl_servicesapp/flask_app/order/application/api_client.py
xetxezarreta/master-popbl1
253880b9ba358f63f666893cdbbffe7391fcd096
[ "MIT" ]
1
2021-06-02T00:57:11.000Z
2021-06-02T00:57:11.000Z
popbl_servicesapp/flask_app/order/application/api_client.py
xetxezarreta/master-popbl1
253880b9ba358f63f666893cdbbffe7391fcd096
[ "MIT" ]
null
null
null
import requests import json from os import environ from .models import Order, Piece from .BLConsul import BLConsul GATEWAY_PORT = environ.get("HAPROXY_PORT") GATEWAY_ADDRESS = environ.get("HAPROXY_IP") MACHINE_SERVICE = "machine" PAYMENT_SERVICE = "payment" DELIVERY_SERVICE = "delivery" AUTH_SERVICE = "auth" CA_CERT ...
29.266667
100
0.693622
109
878
5.385321
0.46789
0.068143
0.057922
0
0
0
0
0
0
0
0
0.005556
0.179954
878
29
101
30.275862
0.809722
0
0
0
0
0
0.146925
0
0
0
0
0
0
1
0.041667
false
0
0.208333
0
0.333333
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
0
0
0
0
0
0
0
0
1
0
08b0009d58869628b97762ea4dfa9d97bd3f4777
429
py
Python
envdsys/envdaq/migrations/0006_controllerdef_component_map.py
NOAA-PMEL/envDataSystem
4db4a3569d2329658799a3eef06ce36dd5c0597d
[ "Unlicense" ]
1
2021-11-06T19:22:53.000Z
2021-11-06T19:22:53.000Z
envdsys/envdaq/migrations/0006_controllerdef_component_map.py
NOAA-PMEL/envDataSystem
4db4a3569d2329658799a3eef06ce36dd5c0597d
[ "Unlicense" ]
25
2019-06-18T20:40:36.000Z
2021-07-23T20:56:48.000Z
envdsys/envdaq/migrations/0006_controllerdef_component_map.py
NOAA-PMEL/envDataSystem
4db4a3569d2329658799a3eef06ce36dd5c0597d
[ "Unlicense" ]
null
null
null
# Generated by Django 3.1.7 on 2021-02-26 21:54 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('envdaq', '0005_controller_alias_name'), ] operations = [ migrations.AddField( model_name='controllerdef', name='comp...
22.578947
79
0.615385
45
429
5.733333
0.777778
0.100775
0.124031
0
0
0
0
0
0
0
0
0.060127
0.263403
429
18
80
23.833333
0.756329
0.104895
0
0
1
0
0.191099
0.068063
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
08b08e4c091db6970d8bd9b3e8f858f92dfeb9ac
2,569
py
Python
polya/modules/congruence_closure_module.py
holtzermann17/polya
6d611bf47185249a96f4cf7ee9b3884bc70a15ac
[ "Apache-2.0" ]
24
2015-01-01T18:21:40.000Z
2021-08-29T01:56:14.000Z
polya/modules/congruence_closure_module.py
holtzermann17/polya
6d611bf47185249a96f4cf7ee9b3884bc70a15ac
[ "Apache-2.0" ]
1
2018-09-06T17:53:13.000Z
2018-09-07T13:57:39.000Z
polya/modules/congruence_closure_module.py
holtzermann17/polya
6d611bf47185249a96f4cf7ee9b3884bc70a15ac
[ "Apache-2.0" ]
4
2017-02-08T15:04:09.000Z
2021-05-02T15:13:05.000Z
#################################################################################################### # # congruence_closure_module.py # # Authors: # Jeremy Avigad # Rob Lewis # # This module maintains a union-find structure for terms in Blackboard, which is currently only used # for congruence closure. It should perhap...
36.7
100
0.54963
323
2,569
4.28483
0.386997
0.03974
0.026012
0.028902
0.021676
0
0
0
0
0
0
0.015899
0.289996
2,569
70
101
36.7
0.742873
0.256131
0
0.054054
0
0
0.015281
0
0
0
0
0
0.027027
1
0.108108
false
0.027027
0.135135
0.027027
0.378378
0
0
0
0
null
0
0
0
0
0
0
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
1
0
08b3ea49c776eba1ca9a6e036f7a93721ad3e46b
3,280
py
Python
build.py
Jackcava/mappingToFHIR
3189b55121a50ee1c4734227cde6da58ed6cb576
[ "MIT" ]
null
null
null
build.py
Jackcava/mappingToFHIR
3189b55121a50ee1c4734227cde6da58ed6cb576
[ "MIT" ]
null
null
null
build.py
Jackcava/mappingToFHIR
3189b55121a50ee1c4734227cde6da58ed6cb576
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np import csv def buildPat(row,key): if key == "extension.valueAddress.city": return row.A01_DESC_LUOGO_NASCITA elif key == "identifier.value": return row.A01_ID_PERSONA elif key == "name.family": return row.A01_COGNOME elif key == "name.given...
34.893617
78
0.576524
383
3,280
4.785901
0.245431
0.06874
0.065466
0.061102
0.608838
0.518276
0.508456
0.47245
0.47245
0.454992
0
0.034273
0.297256
3,280
93
79
35.268817
0.760954
0
0
0.505495
0
0
0.197866
0.080793
0
0
0
0
0
1
0.021978
false
0
0.032967
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
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
1
0
08b53292c5c752e44fcf8b466dc5d84fa3ed0ec7
231
py
Python
server.py
LuisAlbizo/luisalbizo.github.io
823cac2c184686eb5056f9e1d3d0790f9a2233e1
[ "MIT" ]
null
null
null
server.py
LuisAlbizo/luisalbizo.github.io
823cac2c184686eb5056f9e1d3d0790f9a2233e1
[ "MIT" ]
null
null
null
server.py
LuisAlbizo/luisalbizo.github.io
823cac2c184686eb5056f9e1d3d0790f9a2233e1
[ "MIT" ]
null
null
null
import http.server import os import socketserver Handler = http.server.SimpleHTTPRequestHandler httpd = socketserver.TCPServer(("127.0.0.1", 8080), Handler) print("server:\thttp://127.0.0.1:8080\n\nlog:") httpd.serve_forever()
19.25
60
0.757576
33
231
5.272727
0.575758
0.114943
0.057471
0.068966
0.114943
0
0
0
0
0
0
0.094787
0.08658
231
11
61
21
0.729858
0
0
0
0
0
0.203463
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
08b53ae263a1ae583483ba9e1d84efca2906ad4a
2,109
py
Python
sources-filter-list.py
kerberizer/wikimedia-scripts
18b78d5cc0042d5efcb355a65f4309fb4ae97eaf
[ "CC0-1.0" ]
null
null
null
sources-filter-list.py
kerberizer/wikimedia-scripts
18b78d5cc0042d5efcb355a65f4309fb4ae97eaf
[ "CC0-1.0" ]
null
null
null
sources-filter-list.py
kerberizer/wikimedia-scripts
18b78d5cc0042d5efcb355a65f4309fb4ae97eaf
[ "CC0-1.0" ]
1
2016-07-31T07:26:33.000Z
2016-07-31T07:26:33.000Z
#!/usr/bin/env python3 import locale import sys from datetime import datetime as dt import pywikibot as pwb def main(argv): dump_only = False if len(argv) > 1: if argv.pop() == '--dump': dump_only = True else: print('Error: Unrecognized option.', file=sys.stderr) ...
31.477612
98
0.543385
266
2,109
4.12406
0.406015
0.087511
0.065634
0.038286
0.208751
0.177758
0.177758
0
0
0
0
0.016678
0.289237
2,109
66
99
31.954545
0.715143
0.027027
0
0.075472
0
0
0.157073
0.012195
0
0
0
0
0
1
0.018868
false
0
0.075472
0
0.09434
0.037736
0
0
0
null
0
0
0
0
0
0
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
1
0
08b87f9a1caf36c7bc295170c1ae9c29a566dd2b
1,494
py
Python
Python scripts/Mail/search-and-modify-inbox-mail.py
shartrooper/My-python-scripts
5c3a8db4ed9a75bd9ab4b29153a788d9e6c5d28c
[ "MIT" ]
null
null
null
Python scripts/Mail/search-and-modify-inbox-mail.py
shartrooper/My-python-scripts
5c3a8db4ed9a75bd9ab4b29153a788d9e6c5d28c
[ "MIT" ]
null
null
null
Python scripts/Mail/search-and-modify-inbox-mail.py
shartrooper/My-python-scripts
5c3a8db4ed9a75bd9ab4b29153a788d9e6c5d28c
[ "MIT" ]
null
null
null
Python 3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:20:19) [MSC v.1925 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license()" for more information. >>> # pip install imapclient // pip install pyzmail >>> import imapclient >>> conn= imapclient.IMAPClient('imap.gmail.com', ssl=True) #True to use S...
33.954545
101
0.680054
208
1,494
4.817308
0.548077
0.03992
0.05988
0.067864
0.139721
0.139721
0.139721
0.139721
0.139721
0.139721
0
0.034884
0.136546
1,494
44
101
33.954545
0.74186
0.127845
0
0.074074
0
0
0.277157
0
0
0
0
0
0
0
null
null
0.074074
0.074074
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
08bc79ee80be4534b8a825bbd1af9247d2662a71
2,633
py
Python
diagnosis/system_diagnosis/inference.py
opengauss-mirror/openGauss-AI
449ce3cac81ced74dd56edf76709553411b0814a
[ "MulanPSL-1.0" ]
1
2021-12-22T08:31:07.000Z
2021-12-22T08:31:07.000Z
diagnosis/system_diagnosis/inference.py
opengauss-mirror/openGauss-AI
449ce3cac81ced74dd56edf76709553411b0814a
[ "MulanPSL-1.0" ]
null
null
null
diagnosis/system_diagnosis/inference.py
opengauss-mirror/openGauss-AI
449ce3cac81ced74dd56edf76709553411b0814a
[ "MulanPSL-1.0" ]
3
2021-12-16T13:55:57.000Z
2022-02-24T09:53:49.000Z
/* * Copyright (c) 2020 Huawei Technologies Co.,Ltd. * * openGauss is licensed under Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ...
28.010638
87
0.689708
410
2,633
4.163415
0.419512
0.051552
0.023433
0.02109
0.065612
0.033978
0.033978
0.033978
0.033978
0
0
0.013514
0.18496
2,633
93
88
28.311828
0.78192
0.097607
0
0
0
0
0.058475
0.03178
0
0
0
0
0
0
null
null
0
0.084746
null
null
0.033898
0
0
0
null
0
0
0
0
0
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
08bd8918199d2e5006f69cc8ccd6b3fde0ba16d8
1,850
py
Python
python/test_golden_master.py
AEGISoft/GildedRose-Refactoring-Kata
a81452de5b6831fa6c4f42b15f827ecf6ef29807
[ "MIT" ]
null
null
null
python/test_golden_master.py
AEGISoft/GildedRose-Refactoring-Kata
a81452de5b6831fa6c4f42b15f827ecf6ef29807
[ "MIT" ]
null
null
null
python/test_golden_master.py
AEGISoft/GildedRose-Refactoring-Kata
a81452de5b6831fa6c4f42b15f827ecf6ef29807
[ "MIT" ]
null
null
null
import unittest from gilded_rose import Item, GildedRose class GoldenMasterTest(unittest.TestCase): def test_golden_master(self): output_file = None try: output_file = open("output.txt", 'r') golden_master_lines = [output_file.readlines()] finally: outp...
31.355932
87
0.617838
247
1,850
4.441296
0.368421
0.065634
0.04649
0.05196
0.244303
0.20237
0.20237
0.20237
0.136737
0.136737
0
0.027937
0.245405
1,850
58
88
31.896552
0.75788
0.003243
0
0
0
0
0.176982
0
0
0
0
0
0.022222
1
0.066667
false
0.066667
0.066667
0
0.177778
0
0
0
0
null
0
0
0
0
0
0
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
08bee3076eef6096e40c84d40b43d0ef450a6e30
895
py
Python
utils/randomdata.py
M1d0r1/py_mantis
8d2b05601b9240e76e2e07b50770e39df5bcade9
[ "Apache-2.0" ]
null
null
null
utils/randomdata.py
M1d0r1/py_mantis
8d2b05601b9240e76e2e07b50770e39df5bcade9
[ "Apache-2.0" ]
null
null
null
utils/randomdata.py
M1d0r1/py_mantis
8d2b05601b9240e76e2e07b50770e39df5bcade9
[ "Apache-2.0" ]
null
null
null
import random import string class RandomData: def __init__(self): pass @staticmethod def get_random_bool(): i = random.randrange(2) if i == 0: return True else: return False @staticmethod def get_random_list_value(list): i = rando...
22.948718
107
0.61676
103
895
5.145631
0.417476
0.135849
0.169811
0.226415
0.141509
0.141509
0.141509
0.141509
0
0
0
0.027994
0.281564
895
38
108
23.552632
0.796268
0.02905
0
0.178571
0
0
0.012687
0
0
0
0
0
0
1
0.214286
false
0.035714
0.071429
0.071429
0.535714
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
08c039eccfb3500006401f61d37873f932777364
1,120
py
Python
douyin/hot/trend.py
miaotiaotech/DouYin
e996ad99ce27e0d13f2856c497fd4b4f05f95b56
[ "MIT" ]
657
2018-10-24T16:58:04.000Z
2022-03-15T03:58:04.000Z
douyin/hot/trend.py
1997lw/DouYin
5859f4db5258ad10926fddaa2b4074c85581d419
[ "MIT" ]
15
2018-10-30T09:40:11.000Z
2020-08-09T13:58:31.000Z
douyin/hot/trend.py
1997lw/DouYin
5859f4db5258ad10926fddaa2b4074c85581d419
[ "MIT" ]
249
2018-10-25T07:12:14.000Z
2022-02-21T07:49:58.000Z
from douyin.utils import fetch from douyin.config import hot_trend_url, common_headers from douyin.utils.tranform import data_to_music, data_to_topic from douyin.structures.hot import HotTrend from douyin.utils.common import parse_datetime # define trend query params query = { 'version_code': '2.9.1', 'count'...
32
99
0.633036
142
1,120
4.838028
0.429577
0.07278
0.065502
0.037846
0
0
0
0
0
0
0
0.009335
0.234821
1,120
34
100
32.941176
0.792299
0.065179
0
0
0
0
0.093567
0
0
0
0
0
0
1
0.041667
false
0
0.208333
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
08c1a85992031481a6829f933c45c2206c709fa4
288
py
Python
hashing/hashing.py
subhamsagar524/Learn-Blockchain
316f30ed9d43f6ab806ca87b9b83c0237ef69828
[ "MIT" ]
null
null
null
hashing/hashing.py
subhamsagar524/Learn-Blockchain
316f30ed9d43f6ab806ca87b9b83c0237ef69828
[ "MIT" ]
null
null
null
hashing/hashing.py
subhamsagar524/Learn-Blockchain
316f30ed9d43f6ab806ca87b9b83c0237ef69828
[ "MIT" ]
1
2020-03-13T06:32:46.000Z
2020-03-13T06:32:46.000Z
# Import the hashing Library import hashlib # Get the string as input word = input("Enter the word for Hashing: ") # Get the hashing hashed_code = hashlib.sha256(word.encode()) final = hashed_code.hexdigest() # Print the result print("Hashed with 256 bit: ") print(final)
20.571429
45
0.704861
41
288
4.902439
0.560976
0.099502
0
0
0
0
0
0
0
0
0
0.025974
0.197917
288
13
46
22.153846
0.844156
0.288194
0
0
0
0
0.262032
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.333333
0
0
0
null
0
0
0
0
0
0
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
1
0
08c3c73fb071c563aa6c6cb9106af9a4e78d2bdf
1,416
py
Python
bookmarks/bookmarks/models.py
tom-henderson/bookmarks
5515bedf1008da3e97caf0ed5867bcf983b375b1
[ "MIT" ]
6
2017-01-09T22:59:31.000Z
2022-01-06T01:40:57.000Z
bookmarks/bookmarks/models.py
tom-henderson/bookmarks
5515bedf1008da3e97caf0ed5867bcf983b375b1
[ "MIT" ]
30
2016-09-13T07:30:26.000Z
2022-02-07T22:49:03.000Z
bookmarks/bookmarks/models.py
tom-henderson/bookmarks
5515bedf1008da3e97caf0ed5867bcf983b375b1
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from django.db import models from django.utils import timezone from django.dispatch import receiver from django.conf import settings from taggit.managers import TaggableManager import requests class Bookmark(models.Model): title = models.CharField(max_length=200, blank=T...
28.897959
74
0.631356
154
1,416
5.649351
0.545455
0.045977
0.029885
0.03908
0
0
0
0
0
0
0
0.007612
0.257768
1,416
48
75
29.5
0.820171
0.024718
0
0
0
0
0.082669
0
0
0
0
0
0
1
0.054054
false
0
0.189189
0.027027
0.486486
0
0
0
0
null
0
0
0
0
0
0
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
1
0
08c3ea3ed3c0d6241f479fa852ed05c431f46706
797
py
Python
vernam cipher.py
BenMiller3/Vernam-Cipher
19f7a447bc8080c8e275b96a85d359f4e187a4d3
[ "MIT" ]
null
null
null
vernam cipher.py
BenMiller3/Vernam-Cipher
19f7a447bc8080c8e275b96a85d359f4e187a4d3
[ "MIT" ]
null
null
null
vernam cipher.py
BenMiller3/Vernam-Cipher
19f7a447bc8080c8e275b96a85d359f4e187a4d3
[ "MIT" ]
null
null
null
""" Vernam Cipher Benjamin D. Miller Takes a key, and a message Encripts the message using the key """ def vernam(key,message): message = str(message) m = message.upper().replace(" ","") # Convert to upper case, remove whitespace encrypt = "" try: key = int(key) # if the key...
27.482759
91
0.567127
106
797
4.254717
0.566038
0.026608
0.039911
0
0
0
0
0
0
0
0
0.038321
0.312422
797
28
92
28.464286
0.784672
0.336261
0
0
0
0
0.070664
0
0
0
0
0
0
1
0.058824
false
0
0
0
0.117647
0
0
0
0
null
0
0
0
0
0
0
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
1
0
08c47e02acc3cf4c516e8edc1336ab1be1430cd8
421
py
Python
utils.py
c0derabbit/talk
26673fde934ef51e76002ea6ddc65bdb42720865
[ "MIT" ]
null
null
null
utils.py
c0derabbit/talk
26673fde934ef51e76002ea6ddc65bdb42720865
[ "MIT" ]
1
2017-05-25T20:37:54.000Z
2017-05-26T07:33:00.000Z
utils.py
c0derabbit/talk
26673fde934ef51e76002ea6ddc65bdb42720865
[ "MIT" ]
null
null
null
from datetime import datetime as d def stringify_date(date): try: return '{0}-{1}-{2}-{3}-{4}'.format(date.year, date.month, date.day, date.hour, date.minute) except ValueError: raise ValueError('Invalid date format', date) def parse_date(date): try: return d.strptime(date, '%Y-%m-...
30.071429
100
0.64133
61
421
4.393443
0.57377
0.089552
0.08209
0.126866
0
0
0
0
0
0
0
0.015015
0.209026
421
13
101
32.384615
0.78979
0
0
0.363636
0
0
0.199525
0
0
0
0
0
0
1
0.181818
false
0
0.090909
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
08c693a49ad9f776684155a7c2f26843f0a00070
3,694
py
Python
fineract/objects/org.py
mobidevke/py-fineract
712b0c20686accd7d7e0a2356ccaf59c5fe4f7dd
[ "Apache-2.0" ]
7
2019-03-11T16:17:33.000Z
2020-10-22T21:57:51.000Z
fineract/objects/org.py
mobidevke/py-fineract
712b0c20686accd7d7e0a2356ccaf59c5fe4f7dd
[ "Apache-2.0" ]
3
2019-11-05T20:22:16.000Z
2019-12-11T17:09:04.000Z
fineract/objects/org.py
mobidevke/py-fineract
712b0c20686accd7d7e0a2356ccaf59c5fe4f7dd
[ "Apache-2.0" ]
2
2020-11-19T16:00:36.000Z
2021-11-19T09:36:13.000Z
from fineract.objects.currency import Currency from fineract.objects.fineract_object import FineractObject from fineract.objects.types import ChargeTimeType, ChargeAppliesTo, ChargeCalculationType, ChargePaymentMode class Office(FineractObject): """ This class represent an Office """ def _init_attrib...
36.574257
117
0.647266
406
3,694
5.704434
0.152709
0.162349
0.047496
0.036269
0.503022
0.294041
0.247409
0.217185
0.202073
0.202073
0
0
0.252301
3,694
100
118
36.94
0.838523
0.032485
0
0.333333
0
0
0.067464
0.005978
0
0
0
0
0
1
0.111111
false
0
0.041667
0
0.208333
0
0
0
0
null
0
0
0
0
0
0
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
1
0
08c6e61cafacb0416494f10178b2d50c3d4b7ef8
1,736
py
Python
Heap/PathWithMinEffort.py
karan2808/Python-Data-Structures-and-Algorithms
a4b39ddf7297541d90dc4efcaab883f928281abd
[ "MIT" ]
2
2021-01-31T03:42:01.000Z
2021-01-31T03:43:08.000Z
Heap/PathWithMinEffort.py
karan2808/Python-Data-Structures-and-Algorithms
a4b39ddf7297541d90dc4efcaab883f928281abd
[ "MIT" ]
null
null
null
Heap/PathWithMinEffort.py
karan2808/Python-Data-Structures-and-Algorithms
a4b39ddf7297541d90dc4efcaab883f928281abd
[ "MIT" ]
1
2021-01-31T03:42:02.000Z
2021-01-31T03:42:02.000Z
from heapq import heapify, heappop, heappush class Solution: def minimumEffortPath(self, heights): # get the max rows and cols m, n = len(heights), len(heights[0]) # make a heap to store the current min cost, x, and y heap = [(0, 0, 0)] # keep track of current cost cu...
36.166667
123
0.506336
246
1,736
3.528455
0.369919
0.011521
0.011521
0.02765
0.036866
0.036866
0.036866
0.036866
0.036866
0.036866
0
0.03814
0.38076
1,736
48
124
36.166667
0.769302
0.289747
0
0
0
0.037037
0.063987
0.020509
0
0
0
0
0
1
0.074074
false
0
0.037037
0
0.222222
0.037037
0
0
0
null
0
0
0
0
0
0
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
1
0
08c9794f0bd47ea3dffb38ca1c36f7471259ea64
62
py
Python
car_acc_graphs.py
EricMbuthia/car_acc
11c1d32400279f462861793ad393f00861445b64
[ "MIT" ]
null
null
null
car_acc_graphs.py
EricMbuthia/car_acc
11c1d32400279f462861793ad393f00861445b64
[ "MIT" ]
null
null
null
car_acc_graphs.py
EricMbuthia/car_acc
11c1d32400279f462861793ad393f00861445b64
[ "MIT" ]
null
null
null
def example_plotting_functions(): #Sort then plot pass
20.666667
33
0.725806
8
62
5.375
1
0
0
0
0
0
0
0
0
0
0
0
0.209677
62
3
34
20.666667
0.877551
0.225806
0
0
0
0
0
0
0
0
0
0
0
1
0.5
true
0.5
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
1
0
0
0
0
0
5
08c9e9c176a984ea5d15821ab3616cd2313fc432
1,427
wsgi
Python
vagrant/catalog/StuffMart.wsgi
cpwhidden/StuffMart
a192b8cad8942d0bfddb3af861f1e48c460e28cf
[ "MIT" ]
null
null
null
vagrant/catalog/StuffMart.wsgi
cpwhidden/StuffMart
a192b8cad8942d0bfddb3af861f1e48c460e28cf
[ "MIT" ]
null
null
null
vagrant/catalog/StuffMart.wsgi
cpwhidden/StuffMart
a192b8cad8942d0bfddb3af861f1e48c460e28cf
[ "MIT" ]
null
null
null
activate_this = '/var/www/html/venv/bin/activate_this.py' execfile(activate_this, dict(__file__=activate_this)) import sys, os, logging from flask_apscheduler import APScheduler sys.path.insert(0, 'var/www/html/StuffMart/vagrant/catalog') logging.basicConfig(stream=sys.stderr) from server import flask as application ...
34.804878
93
0.658725
135
1,427
6.8
0.474074
0.092593
0.065359
0.08061
0.061002
0.061002
0
0
0
0
0
0.008834
0.206727
1,427
41
94
34.804878
0.80212
0
0
0.105263
0
0
0.377451
0.291317
0
0
0
0
0
1
0
false
0
0.078947
0
0.078947
0
0
0
0
null
0
0
0
0
0
0
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
1
0
08cc589cc9423942aa94cc3bb343109a1f7cba67
18,161
py
Python
tests/strategies/test_horizontal.py
rohith-bs/dgraphpandas
29e91e2e7bb1d5d991ab94709a2d7e27f7dd7316
[ "MIT" ]
1
2022-02-28T17:34:11.000Z
2022-02-28T17:34:11.000Z
tests/strategies/test_horizontal.py
rohith-bs/dgraphpandas
29e91e2e7bb1d5d991ab94709a2d7e27f7dd7316
[ "MIT" ]
null
null
null
tests/strategies/test_horizontal.py
rohith-bs/dgraphpandas
29e91e2e7bb1d5d991ab94709a2d7e27f7dd7316
[ "MIT" ]
1
2021-04-10T19:57:05.000Z
2021-04-10T19:57:05.000Z
import unittest from unittest.mock import patch, Mock import pandas as pd from pandas.testing import assert_frame_equal from parameterized import parameterized from dgraphpandas.strategies.horizontal import horizontal_transform class HorizontalTests(unittest.TestCase): @parameterized.expand([ (None, {'...
34.395833
125
0.472
1,763
18,161
4.657969
0.111174
0.05358
0.049318
0.075621
0.738066
0.687652
0.66963
0.649294
0.644423
0.612884
0
0.062297
0.38836
18,161
527
126
34.461101
0.67699
0.058587
0
0.62877
0
0
0.190721
0.032026
0
0
0
0
0.074246
1
0.025522
false
0.016241
0.013921
0
0.041763
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
08cedf482cda63c943ec43e8d04a65c278427e19
378
py
Python
clienteTCP.py
planetacomputer/pythonsecurity
5b808512afae5bc221715f37f91a0294f4800f19
[ "MIT" ]
null
null
null
clienteTCP.py
planetacomputer/pythonsecurity
5b808512afae5bc221715f37f91a0294f4800f19
[ "MIT" ]
null
null
null
clienteTCP.py
planetacomputer/pythonsecurity
5b808512afae5bc221715f37f91a0294f4800f19
[ "MIT" ]
null
null
null
#!/usr/bin/python # This is client.py file import socket # Import socket module s = socket.socket() # Create a socket object #host = socket.gethostname() # Get local machine name host = socket.gethostbyname("localhost") print host port = 53 # Reserve a port for your serv...
29.076923
59
0.637566
51
378
4.72549
0.666667
0.099585
0
0
0
0
0
0
0
0
0
0.021505
0.261905
378
13
60
29.076923
0.842294
0.470899
0
0
0
0
0.046392
0
0
0
0
0
0
0
null
null
0
0.125
null
null
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
08ceeff12c2a6ee62212a18498cd6880997296e3
1,759
py
Python
application/routes.py
N-A-Podgornov/CFT-MLC
ded9267c5b8053a15bdcc67be9f83097749cfb13
[ "Apache-2.0" ]
null
null
null
application/routes.py
N-A-Podgornov/CFT-MLC
ded9267c5b8053a15bdcc67be9f83097749cfb13
[ "Apache-2.0" ]
null
null
null
application/routes.py
N-A-Podgornov/CFT-MLC
ded9267c5b8053a15bdcc67be9f83097749cfb13
[ "Apache-2.0" ]
null
null
null
import os import shutil from flask import render_template, redirect, url_for, request from werkzeug.utils import secure_filename from config import Config from application import app from application.model import Model @app.route('/') def index(): return redirect(url_for('submit')) def allowed_file(filename): ...
30.859649
106
0.704377
230
1,759
5.195652
0.286957
0.099582
0.076987
0.057741
0.220084
0.220084
0.189121
0.189121
0.145607
0.145607
0
0.001379
0.175668
1,759
56
107
31.410714
0.822759
0
0
0.097561
0
0
0.097783
0
0
0
0
0
0
1
0.121951
false
0
0.170732
0.04878
0.414634
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
0
0
0
0
0
0
0
0
1
0
08cfc63dc9bcf57b5303ab14c053f28fd612cafc
4,095
py
Python
tests/test_onnxml_imputer_converter.py
vumichien/hummingbird
8981e11ce2536167c329a5d9d20e81125a792fe4
[ "MIT" ]
2,772
2020-05-04T21:03:40.000Z
2022-03-30T11:00:03.000Z
tests/test_onnxml_imputer_converter.py
vumichien/hummingbird
8981e11ce2536167c329a5d9d20e81125a792fe4
[ "MIT" ]
486
2020-05-05T00:45:44.000Z
2022-03-15T01:02:31.000Z
tests/test_onnxml_imputer_converter.py
vumichien/hummingbird
8981e11ce2536167c329a5d9d20e81125a792fe4
[ "MIT" ]
232
2019-11-02T22:06:38.000Z
2022-03-25T07:36:17.000Z
""" Tests onnxml Imputer converter """ import unittest import warnings import numpy as np import torch from sklearn.impute import SimpleImputer from hummingbird.ml._utils import onnx_ml_tools_installed, onnx_runtime_installed, lightgbm_installed from hummingbird.ml import convert if onnx_runtime_installed(): imp...
40.147059
125
0.70696
547
4,095
5.034735
0.20841
0.056645
0.036311
0.040668
0.631445
0.614742
0.614742
0.593682
0.593682
0.593682
0
0.013241
0.188523
4,095
101
126
40.544554
0.815528
0.080342
0
0.439394
0
0
0.086133
0
0
0
0
0
0.075758
1
0.090909
false
0
0.151515
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
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
1
0
08d1b0407331ee4e1921fc4b74a0794639337160
7,520
py
Python
rs_etl.py
jlauman/data_engineering_project_03
722c0f5226ed29c00d6b33e64da5982fe0be69e0
[ "MIT" ]
null
null
null
rs_etl.py
jlauman/data_engineering_project_03
722c0f5226ed29c00d6b33e64da5982fe0be69e0
[ "MIT" ]
null
null
null
rs_etl.py
jlauman/data_engineering_project_03
722c0f5226ed29c00d6b33e64da5982fe0be69e0
[ "MIT" ]
null
null
null
import configparser, os, glob, csv, json, hashlib, time import pandas as pd import psycopg2 from pprint import pprint from rs_sql_queries import staging_events_insert, staging_songs_insert from rs_sql_queries import insert_table_queries import boto3 from botocore import UNSIGNED from botocore.config import Config DE...
38.367347
173
0.529255
873
7,520
4.412371
0.255441
0.021807
0.020249
0.010125
0.310748
0.247923
0.204309
0.153167
0.153167
0.153167
0
0.01155
0.28617
7,520
196
174
38.367347
0.706036
0.140293
0
0.179856
0
0
0.116912
0
0
0
0
0
0
1
0.05036
false
0.007194
0.064748
0
0.122302
0.071942
0
0
0
null
0
0
0
0
0
0
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
1
0
08d269d1ebc51a6ac75c04bc8fcc26f6ea8bd98e
1,002
py
Python
cron/weather.py
joedanz/flask-weather
fe35aa359da6f5d7f942d97837403e153b5c5ede
[ "Apache-2.0" ]
1
2017-08-25T18:55:11.000Z
2017-08-25T18:55:11.000Z
cron/weather.py
joedanz/flask-weather
fe35aa359da6f5d7f942d97837403e153b5c5ede
[ "Apache-2.0" ]
null
null
null
cron/weather.py
joedanz/flask-weather
fe35aa359da6f5d7f942d97837403e153b5c5ede
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python import json, urllib2, datetime from sqlite3 import dbapi2 as sqlite3 # zip codes to log zipcodes = ['07740','11210','33139','90210'] # configuration DATABASE = '../db/weather.db' SECRET_KEY = 'hackerati' DEBUG = True # open database db = sqlite3.connect(DATABASE) for zipcode in zipcodes: # pu...
26.368421
102
0.673653
131
1,002
5.061069
0.519084
0.045249
0.042232
0
0
0
0
0
0
0
0
0.044957
0.178643
1,002
37
103
27.081081
0.760632
0.147705
0
0
0
0
0.225768
0
0
0
0
0
0
0
null
null
0
0.095238
null
null
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
08d4af28a19751f94bb0827b79075eb4b7ae0ea7
234
py
Python
tests/test_print_as_discovered.py
acardos/git_inspector
ee194a62606ddb882ce0736618bae053e6b8521d
[ "MIT" ]
4
2021-12-06T15:35:19.000Z
2022-01-23T23:17:38.000Z
tests/test_print_as_discovered.py
acardos/git_inspector
ee194a62606ddb882ce0736618bae053e6b8521d
[ "MIT" ]
12
2021-03-31T09:14:40.000Z
2022-01-31T10:01:25.000Z
tests/test_print_as_discovered.py
acardos/git_inspector
ee194a62606ddb882ce0736618bae053e6b8521d
[ "MIT" ]
1
2022-01-22T11:37:08.000Z
2022-01-22T11:37:08.000Z
from git import Repo from git_inspector import find_git_directories def test_find_git_directories(repo: Repo): generator = find_git_directories(search_paths=[repo.working_dir]) assert next(generator) == repo.working_dir
19.5
69
0.794872
33
234
5.30303
0.484848
0.12
0.308571
0
0
0
0
0
0
0
0
0
0.136752
234
11
70
21.272727
0.866337
0
0
0
0
0
0
0
0
0
0
0
0.2
1
0.2
false
0
0.4
0
0.6
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
1
0
1
0
0
3
08d50632dbe42cde10ed75ee126dd035ddf3804a
3,480
py
Python
src/frontend/function_transforms/pass_div_zero.py
mfeliu/gelpia
30c6c1030165b26bf5f84613316f6fc2ce3ebe8b
[ "MIT" ]
null
null
null
src/frontend/function_transforms/pass_div_zero.py
mfeliu/gelpia
30c6c1030165b26bf5f84613316f6fc2ce3ebe8b
[ "MIT" ]
null
null
null
src/frontend/function_transforms/pass_div_zero.py
mfeliu/gelpia
30c6c1030165b26bf5f84613316f6fc2ce3ebe8b
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 try: from gelpia import bin_dir except: print("gelpia not found, gaol_repl must be in your PATH\n") bin_dir = "" from pass_utils import * from output_flatten import flatten import re import sys import subprocess import os.path as path def div_by_zero(exp, inputs, assigns, consts): qu...
23.355705
67
0.611207
486
3,480
4.13786
0.242798
0.062655
0.067131
0.071606
0.22178
0.204873
0.191447
0.160617
0.160617
0.14371
0
0.010929
0.263793
3,480
148
68
23.513514
0.774005
0.006034
0
0.238938
0
0
0.093117
0.007808
0
0
0
0
0.00885
1
0.053097
false
0.035398
0.097345
0
0.256637
0.168142
0
0
0
null
0
0
0
0
0
0
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
1
0
08d52a54cf446718a15b7b80b28b2ccd05586869
2,150
py
Python
setup.py
bearroast/django-estimators
5dd72694dab6725335214543a59104c4de504037
[ "MIT" ]
46
2016-09-13T06:33:30.000Z
2022-01-08T00:55:37.000Z
setup.py
bearroast/django-estimators
5dd72694dab6725335214543a59104c4de504037
[ "MIT" ]
14
2016-09-10T04:56:30.000Z
2017-11-28T04:12:43.000Z
setup.py
bearroast/django-estimators
5dd72694dab6725335214543a59104c4de504037
[ "MIT" ]
19
2016-09-20T23:53:26.000Z
2022-01-08T00:55:39.000Z
import os from pip.req import parse_requirements from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: README = readme.read() # parse_requirements() returns generator of pip.req.InstallRequirement objects install_reqs = parse_requirements( os....
40.566038
88
0.670698
245
2,150
5.787755
0.563265
0.029619
0.070522
0.025388
0.049365
0.038082
0.038082
0
0
0
0
0.007009
0.203721
2,150
52
89
41.346154
0.821262
0.095349
0
0
0
0
0.527592
0.011346
0
0
0
0
0
1
0
false
0
0.068182
0
0.068182
0
0
0
0
null
0
0
0
0
0
0
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
1
0
08d5314ae1e6b39701c18dfc2466ee45cde74ef6
7,517
py
Python
ip_group.py
vectranetworks/csv-to-ip-group
f8f53f979c62c3db161fcb7fdc3b7ebb26842055
[ "MIT" ]
null
null
null
ip_group.py
vectranetworks/csv-to-ip-group
f8f53f979c62c3db161fcb7fdc3b7ebb26842055
[ "MIT" ]
null
null
null
ip_group.py
vectranetworks/csv-to-ip-group
f8f53f979c62c3db161fcb7fdc3b7ebb26842055
[ "MIT" ]
null
null
null
import csv import ipaddress import logging.handlers import sys import argparse try: import vat.vectra as vectra import requests except Exception as error: print('\nMissing import requirements: {}\n'.format(str(error))) sys.exit(0) LOG = logging.getLogger(__name__) INVALID_CHARS = ['~', '#', '$', '^'...
39.151042
118
0.596648
906
7,517
4.844371
0.258278
0.038961
0.01481
0.018455
0.248576
0.178628
0.152427
0.106175
0.052859
0.052859
0
0.014773
0.297592
7,517
191
119
39.356021
0.816477
0.214846
0
0.09434
0
0.009434
0.196857
0.015537
0
0
0
0
0
1
0.066038
false
0
0.075472
0
0.198113
0.018868
0
0
0
null
0
0
0
0
0
0
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
1
0
08d5fc45e5a26919b46ae56fd9e3cb2d53ede3e7
512
py
Python
BasicSyntax/DataType.py
Fjaxzhy/top.kagurayayoi.learn.Python
af2ad3b7da85fb0af1668d3751c0342b16d0966f
[ "MIT" ]
null
null
null
BasicSyntax/DataType.py
Fjaxzhy/top.kagurayayoi.learn.Python
af2ad3b7da85fb0af1668d3751c0342b16d0966f
[ "MIT" ]
11
2021-03-29T08:50:16.000Z
2021-03-31T08:46:55.000Z
BasicSyntax/DataType.py
Fjaxzhy/top.kagurayayoi.learn.Python
af2ad3b7da85fb0af1668d3751c0342b16d0966f
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Python变量不需要声明数据类型 # 变量在使用前必须赋值 # 变量没有类型 类型指内存中对象的类型 # 不可变数据 Number / String / Tuple # 可变数据 List / Dictionary / Set # 数字 Number # 整数 Int IntNum = 100 # 浮点数 Float FloatNum = 100.10 # 布尔值 Boolean // True:1 False:0 BoolNum = True # 复数 Complex ComplexNum = 1.00j ...
14.628571
43
0.59375
75
512
4.053333
0.733333
0.019737
0.029605
0.039474
0
0
0
0
0
0
0
0.063452
0.230469
512
34
44
15.058824
0.708122
0.541016
0
0
0
0
0.142202
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
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
08d5febbe68f3f78281ba4430f7b17df3067f244
3,526
py
Python
tcex/api/tc/v3/_gen/_gen_args_abc.py
GShepherdTC/tcex
70b1199b8bb9e63f53e2ba792489267108c909cd
[ "Apache-2.0" ]
null
null
null
tcex/api/tc/v3/_gen/_gen_args_abc.py
GShepherdTC/tcex
70b1199b8bb9e63f53e2ba792489267108c909cd
[ "Apache-2.0" ]
null
null
null
tcex/api/tc/v3/_gen/_gen_args_abc.py
GShepherdTC/tcex
70b1199b8bb9e63f53e2ba792489267108c909cd
[ "Apache-2.0" ]
null
null
null
"""Generate Docs for ThreatConnect API""" # standard library import importlib import sys from abc import ABC from typing import Any, Optional # first-party from tcex.api.tc.v3._gen._gen_abc import GenerateABC class GenerateArgsABC(GenerateABC, ABC): """Generate docstring for Model.""" def __init__(self, typ...
33.264151
89
0.574022
422
3,526
4.556872
0.265403
0.058242
0.045762
0.024961
0.133125
0.087363
0.061362
0.036401
0.036401
0
0
0.008157
0.304594
3,526
105
90
33.580952
0.776101
0.132445
0
0.084507
1
0
0.080624
0
0
0
0
0
0
1
0.070423
false
0
0.140845
0
0.295775
0.014085
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
08d6edb44ef1415e69d5e8564970749ce00f431c
382
py
Python
rename_smpls.py
Chartiza/bulls
e4e7895a37a0335572dea50f2cbaae2737b3cd5f
[ "MIT" ]
null
null
null
rename_smpls.py
Chartiza/bulls
e4e7895a37a0335572dea50f2cbaae2737b3cd5f
[ "MIT" ]
null
null
null
rename_smpls.py
Chartiza/bulls
e4e7895a37a0335572dea50f2cbaae2737b3cd5f
[ "MIT" ]
null
null
null
#!/usr/bin/python sootv = {} #Read file sootvetstviya for l in open ("filesootv"): data = l.strip().split("\t") if data[0] not in sootv: sootv[data[0]] = data[1] #Read FinalReport file for l in open('Ire30_GP'): data = l.strip().split("\t") if data[1] in sootv: print(data[0]+"\t"+sootv[data[1]]...
23.875
94
0.570681
67
382
3.238806
0.41791
0.092166
0.0553
0.092166
0.202765
0.202765
0.202765
0
0
0
0
0.037975
0.172775
382
16
95
23.875
0.648734
0.157068
0
0.222222
0
0
0.108197
0
0
0
0
0
0
1
0
false
0
0
0
0
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
0
0
1
0
08d8b9d0bef0b39a979fb0521f02328c098ccbd7
448
py
Python
3day/Quiz01_1.py
jsjang93/joony
62f7a325094c887212b894932263bf84500e0f03
[ "MIT" ]
null
null
null
3day/Quiz01_1.py
jsjang93/joony
62f7a325094c887212b894932263bf84500e0f03
[ "MIT" ]
null
null
null
3day/Quiz01_1.py
jsjang93/joony
62f7a325094c887212b894932263bf84500e0f03
[ "MIT" ]
null
null
null
# Quiz01_1.py items = {"콜라":1000,"사이다":900,"씨그램":500,"우유":700,"활명수":800} print("=== 음료 자판기 입니다 ====") print("[콜라][사이다][씨그램][우유][활명수] 중 선택") print("복수 선택 시 --> 예) 사이다,우유 ") def pItems(*args1,**args2) : price = 0 for i in args1: price = price + args2[i.strip()] return price # 선택목록 item, 가격 pr...
22.4
58
0.564732
73
448
3.465753
0.589041
0.039526
0
0
0
0
0
0
0
0
0
0.074586
0.191964
448
20
59
22.4
0.621547
0.084821
0
0
0
0
0.229064
0.05665
0
0
0
0
0
0
null
null
0
0
null
null
0.307692
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
08d8e05ba83fd1eb90111af5408ae91ffdf11318
2,619
py
Python
src/custom_arch/custom_alexnet.py
joeyseash/PruneTrain
5adb367eb90b7e1e38251f8e3a8e7eb65b167aa0
[ "Apache-2.0" ]
1
2021-10-03T00:57:32.000Z
2021-10-03T00:57:32.000Z
src/custom_arch/custom_alexnet.py
VictorSuciu/prunetrain
ef84a88ef8a34f8e79de783ffdb9d3b82545dc3b
[ "Apache-2.0" ]
null
null
null
src/custom_arch/custom_alexnet.py
VictorSuciu/prunetrain
ef84a88ef8a34f8e79de783ffdb9d3b82545dc3b
[ "Apache-2.0" ]
null
null
null
""" Copyright 2019 Sangkug Lym Copyright 2019 The University of Texas at Austin 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 require...
34.012987
104
0.658267
408
2,619
4.107843
0.375
0.050119
0.100835
0.050716
0.220167
0.203461
0.181981
0.146181
0.146181
0.124105
0
0.028004
0.154639
2,619
77
105
34.012987
0.728997
0.248186
0
0.170213
0
0
0.332478
0.023602
0
0
0
0
0
1
0.021277
false
0
0.06383
0
0.085106
0.021277
0
0
0
null
0
0
0
0
0
0
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
1
0
08da6b4771c11626f2b1e4199314a129e0c7bb3d
3,089
py
Python
app/ml/train_data.py
curioswati/scrapy-tsa
50556880125412e0b8d925fb46c41c44dd31fb37
[ "MIT" ]
2
2020-01-15T05:17:23.000Z
2020-08-13T01:50:00.000Z
app/ml/train_data.py
curioswati/scrapy-tsa
50556880125412e0b8d925fb46c41c44dd31fb37
[ "MIT" ]
null
null
null
app/ml/train_data.py
curioswati/scrapy-tsa
50556880125412e0b8d925fb46c41c44dd31fb37
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import numpy import csv import re, nltk from sklearn.feature_extraction.text import CountVectorizer from nltk.stem.porter import PorterStemmer from sklearn.linear_model import LogisticRegression # from sklearn.cross_validation import train_test_split from sklearn.externals import joblib...
26.86087
94
0.717708
414
3,089
5.154589
0.357488
0.050609
0.059044
0.033739
0.182755
0.124649
0.061856
0.061856
0
0
0
0.015058
0.161541
3,089
114
95
27.096491
0.80888
0.10586
0
0.077922
0
0
0.167455
0.033855
0
0
0
0
0
0
null
null
0
0.116883
null
null
0.155844
0
0
0
null
0
0
0
0
0
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
08da7e9d21e70b892d492b272992e48bff8c4a03
162
py
Python
November/Poor Pigs.py
parikshitgupta1/leetcode
eba6c11740dc7597204af127c0f4c2163376294f
[ "MIT" ]
null
null
null
November/Poor Pigs.py
parikshitgupta1/leetcode
eba6c11740dc7597204af127c0f4c2163376294f
[ "MIT" ]
null
null
null
November/Poor Pigs.py
parikshitgupta1/leetcode
eba6c11740dc7597204af127c0f4c2163376294f
[ "MIT" ]
null
null
null
class Solution: def poorPigs(self, buckets: int, minutesToDie: int, minutesToTest: int) -> int: return ceil(log(buckets)/log(minutesToTest//minutesToDie + 1))
40.5
80
0.746914
20
162
6.05
0.65
0
0
0
0
0
0
0
0
0
0
0.006993
0.117284
162
3
81
54
0.839161
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
08dc052ecc3d96e2ef3efe41624a974268f5c7b0
2,596
py
Python
DIP/exercises/ex10/pca.py
apeyrard/sjtu-work
ca98fec3c83b81ed9091bdc968cb5ad8a74d1d6a
[ "MIT" ]
1
2022-03-26T10:04:05.000Z
2022-03-26T10:04:05.000Z
DIP/exercises/ex10/pca.py
apeyrard/sjtu-work
ca98fec3c83b81ed9091bdc968cb5ad8a74d1d6a
[ "MIT" ]
null
null
null
DIP/exercises/ex10/pca.py
apeyrard/sjtu-work
ca98fec3c83b81ed9091bdc968cb5ad8a74d1d6a
[ "MIT" ]
1
2022-03-26T10:04:06.000Z
2022-03-26T10:04:06.000Z
#!/usr/bin/env python3 # -*- coding: UTF-8 -*- import sys import os from PIL import Image import numpy as np size = None matrix_x = None for image in os.listdir('./washington'): try: print(image) with Image.open(os.path.join('./washington',image)) as im: imgVector = np.array(list(im.get...
23.6
68
0.573575
393
2,596
3.737913
0.249364
0.061947
0.032675
0.022464
0.134105
0.123213
0.110279
0.050374
0.050374
0
0
0.022059
0.266564
2,596
109
69
23.816514
0.749475
0.057011
0
0.17284
0
0
0.020148
0
0
0
0
0
0
1
0.012346
false
0
0.049383
0
0.074074
0.074074
0
0
0
null
0
0
0
0
0
0
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
1
0
08dc36bae83be55acec0ed61f76a33d11f4bb8a1
1,677
py
Python
organisations/migrate-entities/script.py
jbarnes/aws-python-script-collection
bf2accf60b8c14af89fab3a210c4df6a3b2e0ba9
[ "MIT" ]
null
null
null
organisations/migrate-entities/script.py
jbarnes/aws-python-script-collection
bf2accf60b8c14af89fab3a210c4df6a3b2e0ba9
[ "MIT" ]
null
null
null
organisations/migrate-entities/script.py
jbarnes/aws-python-script-collection
bf2accf60b8c14af89fab3a210c4df6a3b2e0ba9
[ "MIT" ]
null
null
null
import boto3 import sys if __name__ == "__main__": if len(sys.argv) > 2: print("[ERROR] You have passed in an invalid target-id, example target-id is ou-zhz0-prn5fmbc") sys.exit() else: print("[INFO] Valid argument detected, proceeding with account migration") destination_id = ...
35.680851
103
0.556947
180
1,677
5.033333
0.461111
0.09713
0.046358
0.05298
0.142384
0.081678
0.081678
0.081678
0
0
0
0.006358
0.34347
1,677
46
104
36.456522
0.81653
0.0322
0
0.114286
0
0.028571
0.303704
0
0
0
0
0
0
1
0
false
0.028571
0.057143
0
0.057143
0.228571
0
0
0
null
0
0
0
0
0
0
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
1
0
08dcaa11c309d6ad11738f4ba7bc30c87f71fe32
274
py
Python
templates/python.py
limacat76/Polyglot-Study
ec71186d4dfbecebf372eb11affd9b5a2b76e47a
[ "MIT" ]
null
null
null
templates/python.py
limacat76/Polyglot-Study
ec71186d4dfbecebf372eb11affd9b5a2b76e47a
[ "MIT" ]
null
null
null
templates/python.py
limacat76/Polyglot-Study
ec71186d4dfbecebf372eb11affd9b5a2b76e47a
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from sys import argv from sys import stdin from sys import stdout alp = len(argv) if alp > 1 and argv[1] == "--version": print ('version 0.1') quit() if alp > 1 and argv[1] == "--help": print ('ctrl+d to quit') quit() print('todo')
17.125
38
0.605839
46
274
3.608696
0.521739
0.126506
0.23494
0.108434
0.168675
0.168675
0
0
0
0
0
0.033019
0.226277
274
15
39
18.266667
0.75
0.076642
0
0.181818
0
0
0.174603
0
0
0
0
0
0
1
0
false
0
0.272727
0
0.272727
0.272727
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
08dfdc660c21f835d66e36e8817b005006f680b0
1,142
py
Python
Transcribing_DNA_into_RNA.py
hedianeposselt/ROSALIND
6d53167e1ec98fc22992da7cd74d385a97baa870
[ "Apache-2.0" ]
1
2022-03-29T10:17:56.000Z
2022-03-29T10:17:56.000Z
Transcribing_DNA_into_RNA.py
hedianeposselt/ROSALIND
6d53167e1ec98fc22992da7cd74d385a97baa870
[ "Apache-2.0" ]
null
null
null
Transcribing_DNA_into_RNA.py
hedianeposselt/ROSALIND
6d53167e1ec98fc22992da7cd74d385a97baa870
[ "Apache-2.0" ]
null
null
null
# https://rosalind.info/problems/rna/ # Transcribing DNA into RNA exercise from ROSALIND DNA = "ACAACAAAGGATCGGCGAGGAGCTGGTTAATCTCGATTCTAACAAAGGCCTCTTGAGTGACATAAAGTTGCTGTTCGGCCCCCGTTGCAGCCAAGCCTAGACTCGAGCGGGGTCTACCTCTGTAAACCCAAGTCGCAGGCCAAGGGCATTTTAACCCCCAAAGTTAGATACGTCGATTGAGTGCGCACTCCCTAACTTCAGACAGGATGGCGCTTAGCACTGG...
81.571429
931
0.932574
31
1,142
34.354839
0.612903
0.011268
0
0
0
0
0
0
0
0
0
0
0.041156
1,142
14
932
81.571429
0.972603
0.073555
0
0
0
0
0.875947
0.874053
0
1
0
0
0
1
0
false
0
0
0
0
0.125
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
4
08e02a9b4adc8aa43eb49a2fd41a870ebd71dbaa
516
py
Python
micro_admin/migrations/0010_auto_20160804_1044.py
lance0145/micro-finance
1ba6339a9d05ff2f20b020b97a233c766b2ee6e0
[ "MIT" ]
72
2015-09-18T07:23:20.000Z
2022-03-23T14:35:46.000Z
micro_admin/migrations/0010_auto_20160804_1044.py
mohbadar/micro-finance
00fc9ad1e09cd6658aa5fa0dd991cf18fe2927a6
[ "MIT" ]
68
2015-01-03T13:44:40.000Z
2021-06-10T20:00:23.000Z
micro_admin/migrations/0010_auto_20160804_1044.py
mohbadar/micro-finance
00fc9ad1e09cd6658aa5fa0dd991cf18fe2927a6
[ "MIT" ]
73
2015-02-10T07:03:42.000Z
2022-02-24T21:11:01.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-08-04 10:44 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('micro_admin', '0009_page'), ] operations = [ migrations.AlterModelOptions( ...
25.8
162
0.629845
58
516
5.448276
0.827586
0.063291
0
0
0
0
0
0
0
0
0
0.050505
0.232558
516
19
163
27.157895
0.747475
0.129845
0
0
1
0
0.311659
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
08e07a97a9f3cede768ff174381cda6e3a2e9847
3,823
py
Python
ProgrammersGuideExamples/provisioning.py
mrhorrible78/PyU4V
5b9274fd6f5f80a4a6e7aa487e348fa91f6f315c
[ "MIT" ]
null
null
null
ProgrammersGuideExamples/provisioning.py
mrhorrible78/PyU4V
5b9274fd6f5f80a4a6e7aa487e348fa91f6f315c
[ "MIT" ]
null
null
null
ProgrammersGuideExamples/provisioning.py
mrhorrible78/PyU4V
5b9274fd6f5f80a4a6e7aa487e348fa91f6f315c
[ "MIT" ]
null
null
null
# The MIT License (MIT) # Copyright (c) 2016 Dell Inc. or its subsidiaries. # Permission is hereby granted, free of charge, to any person # obtaining a copy of this software and associated documentation # files (the "Software"), to deal in the Software without restriction, # including without limitation the rights to ...
43.443182
86
0.625948
469
3,823
4.976546
0.452026
0.037704
0.029135
0.034704
0.066838
0
0
0
0
0
0
0.011074
0.291394
3,823
87
87
43.942529
0.850498
0.309181
0
0.037037
0
0
0.230153
0
0
0
0
0
0
1
0.037037
false
0
0.037037
0
0.111111
0.092593
0
0
0
null
0
0
0
0
0
0
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
1
0
08e17200183b1b4c4b38978e4c91346462570f54
8,227
py
Python
quickdraw-doodle-recognition/gcloud/common.py
yasserglez/kaggle_titanic
7a4857ec9a99c31eb53a91dda3ad9ecd5b647278
[ "MIT" ]
2
2019-09-29T02:26:58.000Z
2020-03-06T07:38:58.000Z
quickdraw-doodle-recognition/gcloud/common.py
yasserglez/kaggle_titanic
7a4857ec9a99c31eb53a91dda3ad9ecd5b647278
[ "MIT" ]
2
2018-12-17T04:32:09.000Z
2019-10-22T00:31:06.000Z
quickdraw-doodle-recognition/gcloud/common.py
yasserglez/kaggle
7a4857ec9a99c31eb53a91dda3ad9ecd5b647278
[ "MIT" ]
null
null
null
import struct import itertools import numpy as np from bitarray import bitarray RANDOM_SEED = 2387613 IMAGE_SIZE = 128 BATCH_SIZE = 2048 # Assign an integer to each word to be predicted. WORD2LABEL = { 'The Eiffel Tower': 0, 'The Great Wall of China': 1, 'The Mona Lisa': 2, 'airplane': 3, 'alar...
20.880711
95
0.519874
943
8,227
4.497349
0.852598
0.016977
0.012969
0.012733
0.011318
0
0
0
0
0
0
0.161207
0.295004
8,227
393
96
20.933842
0.57
0.019813
0
0.005291
0
0
0.300074
0
0
0
0
0
0
1
0.010582
false
0.005291
0.010582
0
0.02381
0
0
0
0
null
0
0
0
0
0
0
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
1
0
08e17bfd02380a8da82eb6cb901cf80fe395ede2
34,734
py
Python
feature.py
TimothyChen225/AFC-X
901a0019b7c153804570c480c3da4825776dbf02
[ "MIT" ]
null
null
null
feature.py
TimothyChen225/AFC-X
901a0019b7c153804570c480c3da4825776dbf02
[ "MIT" ]
null
null
null
feature.py
TimothyChen225/AFC-X
901a0019b7c153804570c480c3da4825776dbf02
[ "MIT" ]
null
null
null
from collections import Counter from Bio import SeqIO import numpy as np import warnings import math warnings.filterwarnings(action='ignore', category=UserWarning, module='gensim') from gensim.models import Word2Vec Max_length = 100 # maximum length of used peptides def check_length(file): len...
31.040214
241
0.501324
4,472
34,734
3.799195
0.094812
0.014126
0.019776
0.015539
0.724662
0.69741
0.67575
0.645968
0.623131
0.601883
0
0.071952
0.339379
34,734
1,118
242
31.067979
0.668483
0.055479
0
0.668177
0
0.002265
0.115224
0.046324
0
0
0
0
0
1
0.03171
false
0
0.006795
0.001133
0.074745
0.005663
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
08e364b287cb5954101aa31b3cb5304b7c80b252
35
py
Python
excel4lib/macro/analysis/__init__.py
aaaddress1/boobsnail
c0c2067d7271ca76ee721998d28e8c3c81a48397
[ "MIT" ]
169
2021-05-26T13:35:16.000Z
2021-09-06T08:04:19.000Z
excel4lib/macro/analysis/__init__.py
H4xl0r/boobsnail
c0c2067d7271ca76ee721998d28e8c3c81a48397
[ "MIT" ]
2
2021-06-01T13:46:37.000Z
2021-07-12T19:06:37.000Z
excel4lib/macro/analysis/__init__.py
H4xl0r/boobsnail
c0c2067d7271ca76ee721998d28e8c3c81a48397
[ "MIT" ]
29
2021-05-27T17:28:29.000Z
2021-09-04T19:24:50.000Z
from .excel4_anti_analysis import *
35
35
0.857143
5
35
5.6
1
0
0
0
0
0
0
0
0
0
0
0.03125
0.085714
35
1
35
35
0.84375
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
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
1
0
1
0
1
0
0
6