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
a91b524b3aa0e064f7fc720bd6277fe509a576c2
399
py
Python
leetcode/python/1299_replace_elements_with_greatest_element_on_right_side.py
VVKot/leetcode-solutions
7d6e599b223d89a7861929190be715d3b3604fa4
[ "MIT" ]
4
2019-04-22T11:57:36.000Z
2019-10-29T09:12:56.000Z
leetcode/python/1299_replace_elements_with_greatest_element_on_right_side.py
VVKot/coding-competitions
7d6e599b223d89a7861929190be715d3b3604fa4
[ "MIT" ]
null
null
null
leetcode/python/1299_replace_elements_with_greatest_element_on_right_side.py
VVKot/coding-competitions
7d6e599b223d89a7861929190be715d3b3604fa4
[ "MIT" ]
null
null
null
""" T: O(N) S: O(1) Iterate from the back, remember the max element to right, reassign the current element before updating the max. """ from typing import List class Solution: def replaceElements(self, arr: List[int]) -> List[int]: max_right, N = -1, len(arr) for i in reversed(range(N)): ...
21
78
0.634085
63
399
3.952381
0.555556
0.128514
0.088353
0
0
0
0
0
0
0
0
0.006645
0.245614
399
18
79
22.166667
0.820598
0.320802
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
a91cf8cf2d104fcc1c72429bb9c54b7965447eda
1,366
py
Python
tui/components/runningTime.py
developer-foundry/diminish
e8d919a1a8ebc8605f69d00378d2bfaa533731eb
[ "Apache-2.0" ]
14
2020-05-25T09:23:21.000Z
2021-09-03T17:37:38.000Z
tui/components/runningTime.py
developer-foundry/diminish
e8d919a1a8ebc8605f69d00378d2bfaa533731eb
[ "Apache-2.0" ]
4
2020-05-22T18:20:54.000Z
2020-11-30T15:54:13.000Z
tui/components/runningTime.py
developer-foundry/diminish
e8d919a1a8ebc8605f69d00378d2bfaa533731eb
[ "Apache-2.0" ]
2
2021-04-13T01:24:12.000Z
2021-05-26T08:56:06.000Z
import urwid import time class RunningTime(urwid.WidgetWrap): """ The RunningTime component represents a box displaying seconds counting up from 0. """ def __init__(self): """ Parameters ---------- None """ self.startTime = time.time() urwid.Wid...
22.393443
97
0.530015
131
1,366
5.458015
0.519084
0.058741
0.058741
0.06993
0.097902
0.097902
0
0
0
0
0
0.005562
0.341874
1,366
60
98
22.766667
0.789766
0.311859
0
0
0
0
0.106475
0
0
0
0
0
0
1
0.1875
false
0.125
0.125
0
0.4375
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
a91e6a1317533cb5382a90d15b536d385a4b967c
740
py
Python
setup.py
czbiohub/microbiome-igg
fd4bc62bee15e53587a947ca32bf3c5b9e8022e6
[ "MIT" ]
null
null
null
setup.py
czbiohub/microbiome-igg
fd4bc62bee15e53587a947ca32bf3c5b9e8022e6
[ "MIT" ]
6
2022-03-14T19:37:52.000Z
2022-03-14T19:51:47.000Z
setup.py
czbiohub/microbiome-igg
fd4bc62bee15e53587a947ca32bf3c5b9e8022e6
[ "MIT" ]
null
null
null
from setuptools import setup from midas2 import version setup(name='midas2', version=version, description='https://github.com/czbiohub/MIDAS2.0/wiki/3.-MIDAS-2.0', url='https://github.com/czbiohub/MIDAS2.0', author='Chunyu Zhao and Boris Dimitrov', author_email='chunyu.zhao@czbiohub.org'...
27.407407
99
0.590541
83
740
5.144578
0.638554
0.051522
0.065574
0.103045
0.135831
0.135831
0
0
0
0
0
0.048649
0.25
740
26
100
28.461538
0.720721
0
0
0
0
0.041667
0.425676
0.032432
0
0
0
0
0
1
0
true
0
0.083333
0
0.083333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
a92e8346db0ac42ef1b2603cf5c2a0a607f31d96
1,376
py
Python
accounts/migrations/0002_auto_20201129_0843.py
Simomir/My_shop
8632433f1bff2c2d6d52fa79ce18410d4dd5c03a
[ "MIT" ]
null
null
null
accounts/migrations/0002_auto_20201129_0843.py
Simomir/My_shop
8632433f1bff2c2d6d52fa79ce18410d4dd5c03a
[ "MIT" ]
null
null
null
accounts/migrations/0002_auto_20201129_0843.py
Simomir/My_shop
8632433f1bff2c2d6d52fa79ce18410d4dd5c03a
[ "MIT" ]
null
null
null
# Generated by Django 3.1.3 on 2020-11-29 08:43 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0001_initial'), ] operations = [ migrations.RemoveField( model_name='account', name='is_admin', ...
32.761905
182
0.587936
143
1,376
5.51049
0.412587
0.083756
0.101523
0.126904
0.409898
0.373096
0.220812
0.139594
0.139594
0.139594
0
0.027636
0.289971
1,376
41
183
33.560976
0.778915
0.032703
0
0.4
1
0
0.187359
0
0
0
0
0
0
1
0
false
0
0.028571
0
0.114286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a931ea42015c8eb4baeaff55309d79c59108d077
418
py
Python
Lib/__init__.py
xylar/distarray
b8675733feb3e38e62f377105ccee7c18f4b7eac
[ "BSD-3-Clause" ]
null
null
null
Lib/__init__.py
xylar/distarray
b8675733feb3e38e62f377105ccee7c18f4b7eac
[ "BSD-3-Clause" ]
1
2021-06-17T09:50:17.000Z
2021-06-17T15:36:04.000Z
Lib/__init__.py
UV-CDAT/distarray
b8675733feb3e38e62f377105ccee7c18f4b7eac
[ "BSD-3-Clause" ]
1
2021-06-17T09:44:36.000Z
2021-06-17T09:44:36.000Z
""" Distributed array """ __all__ = ["mvMultiArrayIter"] from .mvMultiArrayIter import MultiArrayIter # is mpi4py available? hasMpi4py = True try: from mpi4py import MPI except: hasMpi4py = False if hasMpi4py: from .mvDistArray import DistArray, daZeros, daOnes, daArray from .mvGhostedDistArray impor...
23.222222
78
0.746411
40
418
7.6
0.675
0
0
0
0
0
0
0
0
0
0
0.014368
0.167464
418
17
79
24.588235
0.859195
0.093301
0
0
0
0
0.121294
0
0
0
0
0
0
1
0
false
0
0.363636
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
a93b499b30ad99fdab4b63afa6550d4489581317
1,398
py
Python
privateMCproductionGenSimAODSim/crabconfig_draft_part1.py
mharrend/privateMCproduction
3dde7bc02933aecd5b6c8cf8e9a683fa433c77fc
[ "MIT" ]
2
2016-08-19T09:37:10.000Z
2017-04-26T15:36:26.000Z
privateMCproductionGenSimAODSim/crabconfig_draft_part1.py
mharrend/privateMCproduction
3dde7bc02933aecd5b6c8cf8e9a683fa433c77fc
[ "MIT" ]
1
2017-01-23T14:37:18.000Z
2017-01-23T14:37:18.000Z
privateMCproductionGenSimAODSim/crabconfig_draft_part1.py
mharrend/privateMCproduction
3dde7bc02933aecd5b6c8cf8e9a683fa433c77fc
[ "MIT" ]
10
2016-08-19T09:33:24.000Z
2021-09-17T01:29:19.000Z
from WMCore.Configuration import Configuration config = Configuration() config.section_("General") config.General.requestName = "privateMCProductionAODSIM#REQUESTDATE##WHOAMI#" config.General.workArea = 'crab_privateMCProduction' config.General.transferLogs = True config.section_("JobType") #config.JobType.pluginName...
39.942857
133
0.802575
149
1,398
7.42953
0.456376
0.117435
0.041554
0.039747
0
0
0
0
0
0
0
0.013825
0.06867
1,398
34
134
41.117647
0.836406
0
0
0
0
0
0.330667
0.256
0
0
0
0
0
0
null
null
0
0.043478
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
a93deb557f73e254c5b7bbbaf8c125a54439dc7d
2,317
py
Python
source/assetmgr_hiero/session.py
IngenuityEngine/ftrack-connect-foundry
a0d5ba788e3dc5c1536ebe9740bcf4393e3f5e1d
[ "MIT" ]
1
2019-10-22T06:33:08.000Z
2019-10-22T06:33:08.000Z
source/assetmgr_hiero/session.py
IngenuityEngine/ftrack-connect-foundry
a0d5ba788e3dc5c1536ebe9740bcf4393e3f5e1d
[ "MIT" ]
null
null
null
source/assetmgr_hiero/session.py
IngenuityEngine/ftrack-connect-foundry
a0d5ba788e3dc5c1536ebe9740bcf4393e3f5e1d
[ "MIT" ]
null
null
null
import os import FnAssetAPI import hiero.core __all__ = [ 'restoreAssetAPISessionSettings', 'saveManagerSessionSettings', 'saveAssetAPISettings' ] def restoreAssetAPISessionSettings(session): # See if we have anything stored in the application prefs appSettings = hiero.core.ApplicationSettings() if '...
33.1
119
0.773845
229
2,317
7.764192
0.353712
0.095613
0.075928
0.065804
0.194601
0.055118
0.055118
0
0
0
0
0.001517
0.146741
2,317
69
120
33.57971
0.897825
0.09754
0
0.121951
0
0
0.195767
0.055796
0
0
0
0.014493
0
1
0.073171
false
0
0.073171
0
0.146341
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
a94234f6081c9923f16311b5bd9daa9aa79ec68c
1,502
py
Python
tests/test_env.py
edblancas/ploomber
f9cec77ba8e69cc13a238cf917914c1f19f37bd3
[ "Apache-2.0" ]
null
null
null
tests/test_env.py
edblancas/ploomber
f9cec77ba8e69cc13a238cf917914c1f19f37bd3
[ "Apache-2.0" ]
null
null
null
tests/test_env.py
edblancas/ploomber
f9cec77ba8e69cc13a238cf917914c1f19f37bd3
[ "Apache-2.0" ]
null
null
null
from pathlib import Path import pytest from ploomber.env.env import _get_name, Env def test_path_returns_Path_objects(cleanup_env): env = Env.start({'path': {'a': '/tmp/path/file.txt', 'b': '/another/path/file.csv'}}) assert isinstance(env.path.a, Path) assert isinstance(env...
27.309091
79
0.659121
207
1,502
4.415459
0.31401
0.076586
0.071116
0.052516
0.257112
0.234136
0.234136
0.177243
0.089716
0
0
0.003404
0.21771
1,502
54
80
27.814815
0.774468
0
0
0.121212
0
0
0.147803
0.047936
0
0
0
0
0.212121
1
0.30303
false
0
0.121212
0
0.424242
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
a94975250f9816954a4b13cc9826b55ee8c7716a
3,148
py
Python
train_snake.py
kkatrio/ai-snake
073350f02bf82c168ed2cbe59a3cc15e935db97b
[ "MIT" ]
null
null
null
train_snake.py
kkatrio/ai-snake
073350f02bf82c168ed2cbe59a3cc15e935db97b
[ "MIT" ]
null
null
null
train_snake.py
kkatrio/ai-snake
073350f02bf82c168ed2cbe59a3cc15e935db97b
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from dqn.snake_world import Environment, Actions from dqn.agent import DQNAgent def train_snake(): # todo: put all these parameters using a configuration file numberOfCells = 10 # in each axis startingPosition = (4, 5) # head foodPosition = (3, 6) max_steps_allowed = 1000 ...
36.183908
178
0.581321
373
3,148
4.723861
0.407507
0.066402
0.044268
0.029512
0.07151
0.035187
0
0
0
0
0
0.023321
0.318933
3,148
86
179
36.604651
0.798507
0.281449
0
0
0
0.022727
0.071077
0
0
0
0
0.011628
0
1
0.022727
false
0
0.045455
0
0.068182
0.022727
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
a94c1f4953cc0305122c00d43c6bdffe66f06bc8
7,839
py
Python
botData.py
pvict/bial-telegram-bot
a423d3e6b3cca49e0ea9f7042d8c992c1eee8b81
[ "MIT" ]
1
2021-03-24T01:14:25.000Z
2021-03-24T01:14:25.000Z
botData.py
pvict/bial-telegram-bot
a423d3e6b3cca49e0ea9f7042d8c992c1eee8b81
[ "MIT" ]
null
null
null
botData.py
pvict/bial-telegram-bot
a423d3e6b3cca49e0ea9f7042d8c992c1eee8b81
[ "MIT" ]
null
null
null
anjoValue = "o Gilberto e o Fiuk" liderValue = "o Caio" monstroArray = ["Caio", "Rodolffo"] paredaoArray = ["Arthur", "Fiuk", "Thaís"] elenco = [ ['o Arthur', 'https://uploads.metropoles.com/wp-content/uploads/2021/03/02145955/arthur_bbb21-600x400.jpg'], ['a Karol Conká', 'https://files.nsctotal.com.br/s3fs...
62.712
243
0.693073
1,282
7,839
4.294072
0.431357
0.039964
0.023978
0.032698
0.100999
0.077748
0.059946
0.031244
0.031244
0
0
0.07275
0.17936
7,839
124
244
63.217742
0.768537
0
0
0
0
0.184874
0.856997
0
0
0
0
0
0
1
0
false
0.008403
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a953395f7a31627bcab9a269f230bb2d71882b6a
214
py
Python
src/main/python/SimpleFileReaderNPrinter.py
debmalya/EmailClassification
9bb2bf34c81ed01d8258814b79c6c99aaed769a5
[ "Apache-2.0" ]
null
null
null
src/main/python/SimpleFileReaderNPrinter.py
debmalya/EmailClassification
9bb2bf34c81ed01d8258814b79c6c99aaed769a5
[ "Apache-2.0" ]
null
null
null
src/main/python/SimpleFileReaderNPrinter.py
debmalya/EmailClassification
9bb2bf34c81ed01d8258814b79c6c99aaed769a5
[ "Apache-2.0" ]
null
null
null
def readNPrintFile(fileName): """ Read the passed file name. Print each word in a separte line. """ for line in open(fileName): for word in line.split(): print word readNPrintFile("./Gutso Gold.txt")
19.454545
35
0.686916
31
214
4.741935
0.677419
0.081633
0
0
0
0
0
0
0
0
0
0
0.196262
214
11
36
19.454545
0.854651
0
0
0
0
0
0.111888
0
0
0
0
0
0
0
null
null
0
0
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a955f9dbf0bfc1be076c995a64439728db16b719
4,474
py
Python
osoriweb/website/views.py
HyOsori/Osori-Website
57a2e62f320e5eac15c73416962b5b6cf049250f
[ "MIT" ]
15
2017-04-01T06:17:56.000Z
2018-01-13T13:26:01.000Z
osoriweb/website/views.py
HyOsori/Osori-Website
57a2e62f320e5eac15c73416962b5b6cf049250f
[ "MIT" ]
7
2019-08-22T07:24:30.000Z
2022-03-11T23:14:38.000Z
osoriweb/website/views.py
HyOsori/Osori-Website
57a2e62f320e5eac15c73416962b5b6cf049250f
[ "MIT" ]
3
2017-08-25T14:02:28.000Z
2017-09-01T04:18:52.000Z
from .forms import InquiryForm, UserForm from .models import History from django import forms from django.http import HttpResponse from django.contrib import messages from django.shortcuts import render, redirect from django.views.generic import TemplateView from django.views.decorators.csrf import csrf_exempt from...
32.897059
108
0.658918
501
4,474
5.768463
0.261477
0.033218
0.05917
0.053979
0.280277
0.195848
0.129758
0.085121
0.085121
0.085121
0
0.000573
0.220161
4,474
135
109
33.140741
0.827744
0.005141
0
0.2
0
0
0.16839
0.048786
0
0
0
0
0
1
0.1
false
0.11
0.1
0.05
0.46
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
a95a8ef2b1f5c51c5ec438c741be78174d43dd63
3,822
py
Python
rss_temple/api/tests/views/test_passwordresettoken.py
murrple-1/rss_temple
289197923b1e7d1213f1673d164337df17d7269b
[ "MIT" ]
null
null
null
rss_temple/api/tests/views/test_passwordresettoken.py
murrple-1/rss_temple
289197923b1e7d1213f1673d164337df17d7269b
[ "MIT" ]
8
2019-12-04T21:58:35.000Z
2021-12-15T02:29:49.000Z
rss_temple/api/tests/views/test_passwordresettoken.py
murrple-1/rss_temple
289197923b1e7d1213f1673d164337df17d7269b
[ "MIT" ]
null
null
null
import datetime import logging import uuid from django.test import TestCase, Client from api import models from api.password_hasher import password_hasher class UserTestCase(TestCase): USER_EMAIL = 'test@test.com' USER_PASSWORD = 'password' @classmethod def setUpClass(cls): super().setUpCl...
31.85
93
0.632915
372
3,822
6.395161
0.174731
0.04918
0.071038
0.087432
0.624632
0.605296
0.600252
0.600252
0.600252
0.551492
0
0.014236
0.246468
3,822
119
94
32.117647
0.811806
0
0
0.5
0
0
0.152015
0.107274
0
0
0
0
0.144444
1
0.055556
false
0.266667
0.066667
0
0.155556
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
a95d43be67c9d2e0a924c5eabc6cb501a579299f
1,435
py
Python
code/karte.py
matthewReff/Kattis-Problems
848628af630c990fb91bde6256a77afad6a3f5f6
[ "MIT" ]
8
2020-02-21T22:21:01.000Z
2022-02-16T05:30:54.000Z
code/karte.py
matthewReff/Kattis-Problems
848628af630c990fb91bde6256a77afad6a3f5f6
[ "MIT" ]
null
null
null
code/karte.py
matthewReff/Kattis-Problems
848628af630c990fb91bde6256a77afad6a3f5f6
[ "MIT" ]
3
2020-08-05T05:42:35.000Z
2021-08-30T05:39:51.000Z
def karte(): inputString = raw_input() cards = len(inputString) / 3 suit = "" number = "" notError = True totalP = 13 totalK = 13 totalH = 13 totalT = 13 outString = "" P = [] K = [] H = [] T = [] for i in range(0,13): P.append(False) K.append(...
24.322034
38
0.396516
156
1,435
3.641026
0.262821
0.056338
0.084507
0.119718
0.147887
0
0
0
0
0
0
0.044177
0.479443
1,435
59
39
24.322034
0.716198
0
0
0.152542
0
0
0.009053
0
0
0
0
0
0
0
null
null
0
0
null
null
0.016949
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a9603ec47734739f790aa07ab4b116c73cdffc5c
895
py
Python
python/withas_user.py
seckcoder/lang-learn
1e0d6f412bbd7f89b1af00293fd907ddb3c1b571
[ "Unlicense" ]
1
2017-10-14T04:23:45.000Z
2017-10-14T04:23:45.000Z
python/withas_user.py
seckcoder/lang-learn
1e0d6f412bbd7f89b1af00293fd907ddb3c1b571
[ "Unlicense" ]
null
null
null
python/withas_user.py
seckcoder/lang-learn
1e0d6f412bbd7f89b1af00293fd907ddb3c1b571
[ "Unlicense" ]
null
null
null
'''Context Manager simulation''' import traceback class MyException(Exception): pass class TraceBlock(): def message(self, args): print 'running', args def __enter__(self): print 'starting with block' return self def __exit__(self, exc_type, exc_value, exc_tb): if exc_typ...
19.042553
52
0.596648
109
895
4.788991
0.486239
0.02682
0.061303
0.084291
0.172414
0.172414
0.172414
0.172414
0
0
0
0.029641
0.283799
895
46
53
19.456522
0.784711
0.008939
0
0.047619
0
0
0.114754
0
0
0
0
0
0
0
null
null
0.02381
0.02381
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
a961e6ed38177ba021451237a61939b0e67f2c9f
5,220
py
Python
Modules/Scripted/EditorLib/Testing/ThresholdThreadingTest.py
TheInterventionCentre/NorMIT-Plan-App
765ed9a5dccc1cc134b65ccabe93fc132baeb2ea
[ "MIT" ]
null
null
null
Modules/Scripted/EditorLib/Testing/ThresholdThreadingTest.py
TheInterventionCentre/NorMIT-Plan-App
765ed9a5dccc1cc134b65ccabe93fc132baeb2ea
[ "MIT" ]
null
null
null
Modules/Scripted/EditorLib/Testing/ThresholdThreadingTest.py
TheInterventionCentre/NorMIT-Plan-App
765ed9a5dccc1cc134b65ccabe93fc132baeb2ea
[ "MIT" ]
null
null
null
import unittest import qt import slicer import EditorLib from EditorLib.EditUtil import EditUtil class ThresholdThreading(unittest.TestCase): def setUp(self): pass def delayDisplay(self,message,msec=1000): """This utility method displays a small dialog and waits. This does two things: 1) it lets the ...
28.681319
126
0.696743
589
5,220
6.149406
0.451613
0.011044
0.006626
0.007178
0.033683
0.0127
0.0127
0
0
0
0
0.012034
0.204023
5,220
181
127
28.839779
0.859687
0.222222
0
0.097087
0
0
0.113665
0.011114
0
0
0
0
0.009709
1
0.097087
false
0.058252
0.058252
0
0.184466
0.029126
0
0
0
null
0
0
0
0
0
0
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
a969b0e7dc0e05d290d416a9369cd6fab80377e6
6,580
py
Python
rdr_service/resource/tasks.py
all-of-us/raw-data-repository
d28ad957557587b03ff9c63d55dd55e0508f91d8
[ "BSD-3-Clause" ]
39
2017-10-13T19:16:27.000Z
2021-09-24T16:58:21.000Z
rdr_service/resource/tasks.py
all-of-us/raw-data-repository
d28ad957557587b03ff9c63d55dd55e0508f91d8
[ "BSD-3-Clause" ]
312
2017-09-08T15:42:13.000Z
2022-03-23T18:21:40.000Z
rdr_service/resource/tasks.py
all-of-us/raw-data-repository
d28ad957557587b03ff9c63d55dd55e0508f91d8
[ "BSD-3-Clause" ]
19
2017-09-15T13:58:00.000Z
2022-02-07T18:33:20.000Z
# # This file is subject to the terms and conditions defined in the # file 'LICENSE', which is part of this source code package. # # import json import logging from datetime import datetime import rdr_service.config as config from rdr_service.dao.bigquery_sync_dao import BigQuerySyncDao from rdr_service.dao.bq_partic...
46.666667
118
0.71383
868
6,580
5.214286
0.289171
0.043747
0.027839
0.015024
0.127486
0.098984
0.056562
0.049492
0.022978
0.022978
0
0.002336
0.219301
6,580
140
119
47
0.878723
0.292249
0
0.125
0
0
0.147627
0.019332
0
0
0
0.014286
0
1
0.05
false
0
0.15
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
a969cf94ddca5e25b7bb55b24783226245f12edc
1,827
py
Python
src/graphs/connected_components.py
lucas54neves/sorting-algorithms
e3f04ad2b9e4b07eff1b965252d3e75660c2eb5d
[ "MIT" ]
2
2021-09-18T14:17:45.000Z
2021-09-18T14:17:47.000Z
src/graphs/connected_components.py
lucas54neves/algorithms-in-python
e3f04ad2b9e4b07eff1b965252d3e75660c2eb5d
[ "MIT" ]
null
null
null
src/graphs/connected_components.py
lucas54neves/algorithms-in-python
e3f04ad2b9e4b07eff1b965252d3e75660c2eb5d
[ "MIT" ]
null
null
null
class Node: def __init__(self, index): self.index = index self.visited = False self._neighbors = [] def __repr__(self): return str(self.index) @property def neighbors(self): return self._neighbors @neighbors.setter def neighbors(self, neighbor):...
29
79
0.611385
200
1,827
5.35
0.22
0.092523
0.091589
0.042056
0.143925
0.143925
0.072897
0.072897
0.072897
0
0
0.007758
0.294472
1,827
63
80
29
0.822343
0
0
0.133333
0
0
0.057987
0.032276
0
0
0
0
0
1
0.222222
false
0
0
0.088889
0.355556
0.044444
0
0
0
null
0
0
0
0
0
0
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
a96cef848a392dd017e7da172d02efb08d2a2b6f
468
py
Python
model/skl.py
0xdomyz/sklearn_collection
701a6d3b22599a9c71575589ff53afc309bb9bea
[ "MIT" ]
1
2022-02-19T03:31:48.000Z
2022-02-19T03:31:48.000Z
model/skl.py
0xdomyz/python_collection
1b383ce44a14b69a11178b2bda992ca3f20a9a72
[ "MIT" ]
null
null
null
model/skl.py
0xdomyz/python_collection
1b383ce44a14b69a11178b2bda992ca3f20a9a72
[ "MIT" ]
null
null
null
from sklearn.model_selection import train_test_split from sklearn.preprocessing import StandardScaler, scale from sklearn.metrics import auc, roc_auc_score, mean_absolute_percentage_error from sklearn.base import BaseEstimator, TransformerMixin, is_outlier_detector x_train = 1 y_train = 1 train_test_split(x_train, y_...
29.25
78
0.848291
70
468
5.342857
0.514286
0.117647
0.074866
0.112299
0
0
0
0
0
0
0
0.01171
0.087607
468
15
79
31.2
0.864169
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
a97112cf13b7dca6b58ef6f1a318b49873f9b9bb
788
py
Python
von_zeipel/vzc.py
uhrwecker/GRDonuts
3087aeb5c169251bdb711b425dcc3040ff962da7
[ "MIT" ]
null
null
null
von_zeipel/vzc.py
uhrwecker/GRDonuts
3087aeb5c169251bdb711b425dcc3040ff962da7
[ "MIT" ]
25
2020-03-26T11:16:58.000Z
2020-09-10T18:31:52.000Z
von_zeipel/vzc.py
uhrwecker/GRDonuts
3087aeb5c169251bdb711b425dcc3040ff962da7
[ "MIT" ]
null
null
null
import numpy as np ''' Label any new implementation of von-Zeipel cylinders in another spacetime by prefixing VZC, followed by the id of the spacetime. ''' class VZCBase(): def __init__(self, l, r0, r_range=(2, 18), num=10000, verbose=True): self.r_in, self.r_out = r_range self.nu...
22.514286
73
0.588832
111
788
4.036036
0.423423
0.078125
0.03125
0.049107
0.066964
0.066964
0
0
0
0
0
0.027778
0.314721
788
34
74
23.176471
0.801852
0
0
0.095238
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.047619
0.095238
0.47619
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
a9770ff4fd4ec1b766f0b783ac1a4acb7bcec696
339
py
Python
tests/qt_test/test_tango_qt.py
flegac/piaf-edit
d100231c0c60cd4412dd37b22a88fe7bb5fb4982
[ "MIT" ]
null
null
null
tests/qt_test/test_tango_qt.py
flegac/piaf-edit
d100231c0c60cd4412dd37b22a88fe7bb5fb4982
[ "MIT" ]
null
null
null
tests/qt_test/test_tango_qt.py
flegac/piaf-edit
d100231c0c60cd4412dd37b22a88fe7bb5fb4982
[ "MIT" ]
null
null
null
from PyQt5 import QtGui from PyQt5.QtCore import QSize from PyQt5.QtWidgets import QPushButton from piafedit.ui_utils import gui_app if __name__ == "__main__": with gui_app(): win = QPushButton() win.setIconSize(QSize(128, 128)) win.setIcon(QtGui.QIcon.fromTheme('accessories-calculator')) ...
26.076923
68
0.705015
43
339
5.302326
0.604651
0.118421
0
0
0
0
0
0
0
0
0
0.033088
0.19764
339
12
69
28.25
0.805147
0
0
0
0
0
0.088496
0.064897
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
a977e413c37e7caf13f32c86cd60b1a863bd8afc
27,945
py
Python
uncertainty_baselines/models/resnet50_fsvi.py
dvdzhang/uncertainty-baselines
8ce0d7494e5cae0719c1b750da4b61564e536636
[ "Apache-2.0" ]
null
null
null
uncertainty_baselines/models/resnet50_fsvi.py
dvdzhang/uncertainty-baselines
8ce0d7494e5cae0719c1b750da4b61564e536636
[ "Apache-2.0" ]
null
null
null
uncertainty_baselines/models/resnet50_fsvi.py
dvdzhang/uncertainty-baselines
8ce0d7494e5cae0719c1b750da4b61564e536636
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # Copyright 2022 The Uncertainty Baselines Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ap...
34.671216
80
0.654285
3,624
27,945
4.783389
0.116446
0.045688
0.035304
0.024921
0.523796
0.483069
0.434554
0.391347
0.35362
0.321546
0
0.011096
0.24856
27,945
805
81
34.714286
0.81442
0.192306
0
0.529915
0
0
0.044532
0.00434
0
0
0
0.012422
0
1
0.034188
false
0
0.011966
0.001709
0.090598
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
a9855fd3d74b698b6c10c394fcb832382c778826
2,459
py
Python
BluenetTestSuite/notebooks/behaviourstoreeditor/behaviourstoreserialisation.py
crownstone/bluenet-test-suite
2e1edcee18c0ee33231ea7a497c3165d69f016c8
[ "MIT" ]
null
null
null
BluenetTestSuite/notebooks/behaviourstoreeditor/behaviourstoreserialisation.py
crownstone/bluenet-test-suite
2e1edcee18c0ee33231ea7a497c3165d69f016c8
[ "MIT" ]
1
2021-02-15T10:55:27.000Z
2021-02-15T10:55:27.000Z
BluenetTestSuite/notebooks/behaviourstoreeditor/behaviourstoreserialisation.py
crownstone/bluenet-test-suite
2e1edcee18c0ee33231ea7a497c3165d69f016c8
[ "MIT" ]
null
null
null
import uuid from crownstone_core.packets.behaviour.BehaviourTypes import BehaviourType from crownstone_core.packets.behaviour.SwitchBehaviour import SwitchBehaviour from crownstone_core.packets.behaviour.TwilightBehaviour import TwilightBehaviour from crownstone_core.packets.behaviour.ExtendedSwitchBehaviour import Ex...
33.22973
110
0.682798
253
2,459
6.43083
0.312253
0.044253
0.044253
0.061463
0.278427
0.194837
0.095882
0.095882
0.047941
0
0
0.019068
0.232208
2,459
73
111
33.684932
0.842691
0.104921
0
0.3125
0
0
0
0
0
0
0
0.013699
0
1
0.145833
false
0
0.104167
0
0.4375
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
a98590997e6dc2050d3c318d9fe7b720782b4d59
1,619
py
Python
util/ThreadingPool.py
M3r0dach/CUIT-ACM-Website
c464da7275ada1a06e8b85e1428396ef1ba61f96
[ "MIT" ]
5
2015-07-19T09:38:50.000Z
2017-11-10T05:01:31.000Z
util/ThreadingPool.py
M3r0dach/CUIT-ACM-Website
c464da7275ada1a06e8b85e1428396ef1ba61f96
[ "MIT" ]
3
2015-07-22T02:10:03.000Z
2016-07-27T02:13:19.000Z
util/ThreadingPool.py
M3r0dach/CUIT-ACM-Website
c464da7275ada1a06e8b85e1428396ef1ba61f96
[ "MIT" ]
6
2015-07-21T02:28:32.000Z
2019-01-06T14:05:16.000Z
from Queue import Queue, Empty from threading import Thread class Worker(Thread): def __init__(self, thread_pool, **kargs): Thread.__init__(self) self.thread_pool = thread_pool self.setDaemon(True) self.is_stop = False self.start() def run(self): while True: ...
24.530303
69
0.573193
198
1,619
4.439394
0.277778
0.136519
0.143345
0.03868
0.061433
0.061433
0
0
0
0
0
0.002747
0.32551
1,619
65
70
24.907692
0.802198
0
0
0.083333
0
0
0
0
0
0
0
0
0
1
0.229167
false
0
0.041667
0.041667
0.354167
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
a9862cd6737454aeea98c451ba0c1d9b47d42995
159
py
Python
AA/dp_arithmetic_parenthesization.py
zzvsjs1/MyPyScripts
0b161d8a0096c5253d2c6a9e7d5c9bebcfbe0f07
[ "MIT" ]
null
null
null
AA/dp_arithmetic_parenthesization.py
zzvsjs1/MyPyScripts
0b161d8a0096c5253d2c6a9e7d5c9bebcfbe0f07
[ "MIT" ]
null
null
null
AA/dp_arithmetic_parenthesization.py
zzvsjs1/MyPyScripts
0b161d8a0096c5253d2c6a9e7d5c9bebcfbe0f07
[ "MIT" ]
null
null
null
def solve(lin: str): lin = lin.replace(' ', '') eval(f'print({lin})', globals(), locals()) if __name__ == '__main__': solve('7 - 4 * 3 - 5')
13.25
46
0.503145
21
159
3.428571
0.809524
0
0
0
0
0
0
0
0
0
0
0.033613
0.251572
159
11
47
14.454545
0.571429
0
0
0
0
0
0.21519
0
0
0
0
0
0
1
0.2
false
0
0
0
0.2
0.2
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
a98c98a87521594abe452bf590e91ec20e9bd210
842
py
Python
disperse_bonsuly/reason.py
chatton/DisperseBonusly
265b0df013ab42bdc19efedaea21be7c50085e8a
[ "MIT" ]
1
2021-06-01T11:00:55.000Z
2021-06-01T11:00:55.000Z
disperse_bonsuly/reason.py
chatton/DisperseBonusly
265b0df013ab42bdc19efedaea21be7c50085e8a
[ "MIT" ]
null
null
null
disperse_bonsuly/reason.py
chatton/DisperseBonusly
265b0df013ab42bdc19efedaea21be7c50085e8a
[ "MIT" ]
null
null
null
from typing import List def generate_reason(total_points: int, message: str, recipients: List[str]) -> str: """ :param total_points: the amount of points that should be distributed :param message: the message used when awarding points :param recipients: a list of email addressed for users who should r...
36.608696
84
0.706651
115
842
5.026087
0.495652
0.114187
0.103806
0.072664
0
0
0
0
0
0
0
0.006051
0.214964
842
22
85
38.272727
0.868381
0.365796
0
0
1
0
0.171937
0
0
0
0
0
0
1
0.1
false
0
0.1
0
0.3
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
a98ede8e4f009add6bb57a6bdde874c72be99498
9,400
py
Python
vendor/UIforETWbins/bin/StripChromeSymbols.py
ccccjason/OSVR_device_plugin
6c9171265900530341cfa79357151daa39618737
[ "Apache-2.0" ]
1
2022-03-28T05:09:11.000Z
2022-03-28T05:09:11.000Z
vendor/UIforETWbins/bin/StripChromeSymbols.py
ccccjason/my_osvr
fdb2a64cbf88211c34f8c8bd42f0f83a6b98769e
[ "Apache-2.0" ]
null
null
null
vendor/UIforETWbins/bin/StripChromeSymbols.py
ccccjason/my_osvr
fdb2a64cbf88211c34f8c8bd42f0f83a6b98769e
[ "Apache-2.0" ]
null
null
null
# Copyright 2015 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
42.533937
130
0.688723
1,367
9,400
4.637162
0.290417
0.015144
0.013251
0.010096
0.102382
0.072882
0.065625
0.055845
0.032182
0.032182
0
0.013763
0.211596
9,400
220
131
42.727273
0.841452
0.237128
0
0.156716
0
0
0.242588
0.009524
0
0
0
0
0
0
null
null
0.007463
0.052239
null
null
0.186567
0
0
0
null
0
0
0
0
0
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
a98f4db8b7c92621ce3fba105e0d039aad79cc30
2,448
py
Python
machine_learn/DBSCAN.py
tianyuningmou/machine_learning
7d58d03a83e1cf45040870b9ff88dc95cf712d01
[ "MIT" ]
1
2018-04-11T14:40:40.000Z
2018-04-11T14:40:40.000Z
machine_learn/DBSCAN.py
tianyuningmou/machine_learning
7d58d03a83e1cf45040870b9ff88dc95cf712d01
[ "MIT" ]
null
null
null
machine_learn/DBSCAN.py
tianyuningmou/machine_learning
7d58d03a83e1cf45040870b9ff88dc95cf712d01
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Copyright () 2018 All rights reserved FILE: DBSCAN.py AUTHOR: tianyuningmou DATE CREATED: @Time : 2018/3/6 上午10:47 DESCRIPTION: . VERSION: : #1 CHANGED By: : tianyuningmou CHANGE: : MODIFIED: : @Time : 2018/3/6 上午10:47 """ """ 密度聚类的思想:通过计算样本点的密度大小来实现一个簇/类别的形成,样本点密度越大,越容易形成一个类,...
26.042553
73
0.677288
321
2,448
5.096573
0.398754
0.03912
0.040342
0.04401
0.46088
0.46088
0.44132
0.386308
0.386308
0.386308
0
0.031297
0.177696
2,448
93
74
26.322581
0.781421
0.118056
0
0.8
0
0
0.038023
0
0
0
0
0
0
1
0
false
0
0.15
0
0.15
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a9944762d5e23ca83b4c4cb2c175cd938a858696
2,233
py
Python
currency/exchange_rates.py
Boring-Mind/bank-transactions
e537114c0dd1402c9beb579d78c31519cb6da64b
[ "MIT" ]
null
null
null
currency/exchange_rates.py
Boring-Mind/bank-transactions
e537114c0dd1402c9beb579d78c31519cb6da64b
[ "MIT" ]
3
2021-06-04T23:47:36.000Z
2021-09-22T19:30:21.000Z
currency/exchange_rates.py
Boring-Mind/bank-transactions
e537114c0dd1402c9beb579d78c31519cb6da64b
[ "MIT" ]
null
null
null
import logging from typing import List import requests from django.conf import settings from django.db.models import Q from .models import Currency from .settings import get_currencies err_logger = logging.getLogger('error_logger') def parse_currencies_to_params(currencies: List[str]) -> str: """Convert curren...
25.089888
85
0.649351
287
2,233
4.919861
0.439024
0.036827
0.024079
0.032578
0.025496
0
0
0
0
0
0
0.008998
0.253471
2,233
88
86
25.375
0.838032
0.217644
0
0
0
0
0.113008
0
0
0
0
0.011364
0
1
0.12
false
0
0.14
0.02
0.4
0.02
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
a9a0a24a166f6d8b4f7053fbb13e3d07da109626
7,138
py
Python
markovflow/gauss_markov.py
prakharverma/markovflow
9b7fafc199dae2f7f3207c2945fd43f674386dc1
[ "Apache-2.0" ]
17
2021-09-16T10:34:19.000Z
2022-03-11T20:24:28.000Z
markovflow/gauss_markov.py
prakharverma/markovflow
9b7fafc199dae2f7f3207c2945fd43f674386dc1
[ "Apache-2.0" ]
2
2021-12-01T17:53:53.000Z
2021-12-16T15:55:49.000Z
markovflow/gauss_markov.py
prakharverma/markovflow
9b7fafc199dae2f7f3207c2945fd43f674386dc1
[ "Apache-2.0" ]
1
2021-12-16T09:29:49.000Z
2021-12-16T09:29:49.000Z
# # Copyright (c) 2021 The Markovflow Contributors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
32.894009
99
0.650462
879
7,138
5.186576
0.274175
0.017548
0.023031
0.022373
0.268919
0.221759
0.159684
0.145207
0.114279
0.108796
0
0.009767
0.254133
7,138
216
100
33.046296
0.844666
0.57313
0
0.392857
0
0
0.030859
0.030859
0
0
0
0
0.071429
1
0.303571
false
0
0.107143
0
0.464286
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
a9a11026d0249c405a00b4b7e8f45474060c7152
9,681
py
Python
flip.py
puggan/flip
3b3c5a81fba9469b58c4d9577a2330814635dacf
[ "BSD-2-Clause" ]
1
2015-03-12T07:05:18.000Z
2015-03-12T07:05:18.000Z
flip.py
puggan/flip
3b3c5a81fba9469b58c4d9577a2330814635dacf
[ "BSD-2-Clause" ]
1
2019-05-17T11:53:52.000Z
2019-05-27T21:49:27.000Z
flip.py
puggan/flip
3b3c5a81fba9469b58c4d9577a2330814635dacf
[ "BSD-2-Clause" ]
1
2019-05-24T20:18:47.000Z
2019-05-24T20:18:47.000Z
#!/usr/local/bin/python # -*- coding: utf-8 -*- # flip.py - attempts to solve any flip puzzle (from Simon Tatham's puzzle collection) # in the least number of moves # # Copyright (c) 2014, Berk Özbalcı # All rights reserved. # # Redistribution and use in source and binary forms, with or without modification...
30.83121
85
0.574114
1,409
9,681
3.912704
0.226402
0.040631
0.007618
0.010158
0.222202
0.181208
0.170325
0.154
0.144567
0.132233
0
0.01218
0.313087
9,681
313
86
30.929712
0.816842
0.322487
0
0.234043
0
0
0.072614
0.015826
0
0
0
0
0
0
null
null
0.026596
0.005319
null
null
0.047872
0
0
0
null
0
0
0
0
0
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
8d1965ac451cec79e30bb9f10e015d657f013fec
4,785
py
Python
pyhanko_tests/test_sign_encrypted.py
MatthiasValvekens/pdf-stamp
08fc0fc8cd5f82845e72a1c0efde1a12d64970ce
[ "MIT" ]
5
2020-08-06T15:25:21.000Z
2020-11-28T04:40:02.000Z
pyhanko_tests/test_sign_encrypted.py
MatthiasValvekens/pdf-stamp
08fc0fc8cd5f82845e72a1c0efde1a12d64970ce
[ "MIT" ]
1
2020-11-11T10:46:08.000Z
2020-11-11T10:46:08.000Z
pyhanko_tests/test_sign_encrypted.py
MatthiasValvekens/pdf-stamp
08fc0fc8cd5f82845e72a1c0efde1a12d64970ce
[ "MIT" ]
3
2020-10-15T20:48:40.000Z
2020-11-21T13:28:18.000Z
from io import BytesIO import pytest from freezegun import freeze_time from pyhanko.pdf_utils.incremental_writer import IncrementalPdfFileWriter from pyhanko.pdf_utils.reader import PdfFileReader from pyhanko.sign import signers from pyhanko.sign.diff_analysis import ModificationLevel from pyhanko.sign.signers.pdf_si...
29.720497
77
0.732915
601
4,785
5.522463
0.179701
0.040675
0.029527
0.033745
0.663453
0.642663
0.622175
0.557096
0.539319
0.539319
0
0.030905
0.168234
4,785
160
78
29.90625
0.803015
0
0
0.503759
0
0
0.047649
0
0
0
0
0
0.022556
1
0.052632
false
0.150376
0.082707
0
0.135338
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
8d3528c37612281f580a09c993e4fcb203675787
1,654
py
Python
sensors/emeter/emeter-reader.py
BozoDev/MyHouse
e638670e3cb117bb3b38716e1ccc37107d2ad48c
[ "MIT" ]
null
null
null
sensors/emeter/emeter-reader.py
BozoDev/MyHouse
e638670e3cb117bb3b38716e1ccc37107d2ad48c
[ "MIT" ]
null
null
null
sensors/emeter/emeter-reader.py
BozoDev/MyHouse
e638670e3cb117bb3b38716e1ccc37107d2ad48c
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf_8 -*- import sys, getopt, struct, serial # from sys import argv import modbus_tk import modbus_tk.defines as cst from modbus_tk import modbus_rtu #PORT = 1 PORT = '/dev/ttyUSB0' BAUD = 2400 SLAVE=2 def main(argv): vals=3 startReg=0 verbose=0 try: opts, args = geto...
27.114754
93
0.609432
254
1,654
3.877953
0.425197
0.040609
0.027411
0.040609
0.067005
0.036548
0.036548
0.036548
0
0
0
0.025895
0.206167
1,654
60
94
27.566667
0.724296
0.055018
0
0.085106
0
0.042553
0.199871
0
0
0
0
0
0
0
null
null
0
0.085106
null
null
0.085106
0
0
0
null
0
0
0
0
0
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
8d352d8ea2caca5b073a99015bf2abf7ee662a70
2,207
py
Python
wwwatch/taillog.py
vitek/wwwatch
f11f0b96218abc277b9f9c74d80c0ca9686d3657
[ "MIT" ]
null
null
null
wwwatch/taillog.py
vitek/wwwatch
f11f0b96218abc277b9f9c74d80c0ca9686d3657
[ "MIT" ]
null
null
null
wwwatch/taillog.py
vitek/wwwatch
f11f0b96218abc277b9f9c74d80c0ca9686d3657
[ "MIT" ]
null
null
null
import time import os class Taillog(object): def __init__(self, path, position=0, delay=0.1, idle_func=None): self.delay = delay self.path = path self.fp = None self.fp_inode = None self.initial_position = position self.idle_func = idle_func def close(self): ...
25.367816
68
0.51382
268
2,207
4.074627
0.283582
0.098901
0.086996
0.025641
0.078755
0.038462
0
0
0
0
0
0.008791
0.381513
2,207
86
69
25.662791
0.791209
0.011781
0
0.197183
0
0
0.010555
0
0
0
0
0
0
0
null
null
0
0.056338
null
null
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
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8d38bb0a76c136e82bc3f55e8ae6c0fa4dbef459
1,357
py
Python
generator/framework/codegen/service/tests/test_grpc_py_def.py
sinsay/ds_generator
9365e22e8730418caf29b8ed6ada1f30f936a297
[ "Apache-2.0" ]
null
null
null
generator/framework/codegen/service/tests/test_grpc_py_def.py
sinsay/ds_generator
9365e22e8730418caf29b8ed6ada1f30f936a297
[ "Apache-2.0" ]
null
null
null
generator/framework/codegen/service/tests/test_grpc_py_def.py
sinsay/ds_generator
9365e22e8730418caf29b8ed6ada1f30f936a297
[ "Apache-2.0" ]
null
null
null
from generator.common import fields, CommonBase, CommonImpl from generator.common.base_util import impl_name from generator.framework.analyser import Analyser from generator.framework.codegen.service.grpc_py_def import GrpcPyDef Args = fields.args(fields.model("DemoArgs", dict( name=fields.String(description="nam...
30.155556
89
0.686072
169
1,357
5.426036
0.455621
0.056707
0.041439
0
0
0
0
0
0
0
0
0.005425
0.184967
1,357
44
90
30.840909
0.823689
0.082535
0
0.133333
0
0
0.113985
0
0
0
0
0
0
1
0.1
false
0.066667
0.133333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
8d3aac3b68a5520ee2ff4da6b5338bcd179a77a1
3,563
py
Python
zmon_worker_monitor/builtins/plugins/memcached.py
heroldus/zmon-worker
458f8bacb5a00f7fd93d59db406a2c80870519d1
[ "Apache-2.0" ]
17
2016-06-03T14:59:21.000Z
2020-11-06T13:12:18.000Z
zmon_worker_monitor/builtins/plugins/memcached.py
heroldus/zmon-worker
458f8bacb5a00f7fd93d59db406a2c80870519d1
[ "Apache-2.0" ]
394
2016-06-03T14:47:37.000Z
2020-04-21T09:31:23.000Z
zmon_worker_monitor/builtins/plugins/memcached.py
heroldus/zmon-worker
458f8bacb5a00f7fd93d59db406a2c80870519d1
[ "Apache-2.0" ]
55
2016-08-15T12:42:28.000Z
2021-04-06T10:49:35.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from pymemcache.client.base import Client from zmon_worker_monitor.zmon_worker.errors import ConfigurationError from zmon_worker_monitor.adapters.ifunctionfactory_plugin import IFunctionFactoryPlugin, propartial from zmon_worker_monitor import plugin_manager import json...
29.446281
119
0.648891
421
3,563
5.230404
0.401425
0.041326
0.032698
0.02861
0.057221
0.04178
0.04178
0.04178
0.04178
0
0
0.004469
0.246422
3,563
120
120
29.691667
0.815642
0.079147
0
0.049383
0
0
0.147059
0
0
0
0
0
0
0
null
null
0
0.08642
null
null
0.012346
0
0
0
null
0
0
0
0
0
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
8d3c72d60c11eaaacac15dc83d8bde4b9669fe86
4,818
py
Python
pynocle/sloc/slocing.py
Totti20/pynocle
05f781a932bfb4f78c02f3a8f3c5cf6cf6186356
[ "MIT" ]
null
null
null
pynocle/sloc/slocing.py
Totti20/pynocle
05f781a932bfb4f78c02f3a8f3c5cf6cf6186356
[ "MIT" ]
null
null
null
pynocle/sloc/slocing.py
Totti20/pynocle
05f781a932bfb4f78c02f3a8f3c5cf6cf6186356
[ "MIT" ]
null
null
null
#!/usr/bin/env python class SlocInfo(object): """Simple data wrapper for SLOC info that can be accessed by attribute, key, or index. Index order is code, comment, blank. code, comment, and blank args/attrs are the lines of code of those classifications. """ def __init__(self, code, commen...
41.179487
120
0.638024
598
4,818
5.091973
0.285953
0.0289
0.031527
0.019704
0.131363
0.131363
0.113629
0.113629
0.113629
0.048604
0
0.002841
0.269406
4,818
116
121
41.534483
0.862216
0.019718
0
0
0
0
0.037459
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8d40cf55eaac5accdb957a84a6f62b7b81f6035b
8,462
py
Python
utils/semantic_labeling/dfanalyzer.py
ucsb-seclab/LoopMC
6798db32ad2209a53c0ef9192c2172b6927817c6
[ "BSD-2-Clause" ]
7
2019-03-27T08:03:47.000Z
2020-07-11T03:30:40.000Z
utils/semantic_labeling/dfanalyzer.py
ucsb-seclab/LoopMC
6798db32ad2209a53c0ef9192c2172b6927817c6
[ "BSD-2-Clause" ]
null
null
null
utils/semantic_labeling/dfanalyzer.py
ucsb-seclab/LoopMC
6798db32ad2209a53c0ef9192c2172b6927817c6
[ "BSD-2-Clause" ]
1
2019-03-27T08:03:49.000Z
2019-03-27T08:03:49.000Z
import sys from os.path import abspath, dirname, isdir, join import re import traceback import json from ConfigParser import SafeConfigParser from docopt import docopt from collections import defaultdict try: from clint.textui import colored except: class Passthrough(object): def __getattr__(self, na...
32.05303
88
0.611439
995
8,462
4.936683
0.217085
0.058632
0.012826
0.018526
0.34263
0.267508
0.213151
0.183225
0.125
0.059853
0
0.003769
0.278776
8,462
263
89
32.174905
0.801081
0.039589
0
0.183099
0
0
0.079369
0.005423
0.004695
0
0
0
0
0
null
null
0.00939
0.051643
null
null
0.004695
0
0
0
null
0
0
0
0
0
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
8d4693d5e4e5ba4d23b37644830ba0048759e516
416
py
Python
Exercicios/EX040.py
KaioPlandel/Estudos-Python-3
21c3dfb73b9ef0420eac093434050e4aff8fd61e
[ "MIT" ]
null
null
null
Exercicios/EX040.py
KaioPlandel/Estudos-Python-3
21c3dfb73b9ef0420eac093434050e4aff8fd61e
[ "MIT" ]
null
null
null
Exercicios/EX040.py
KaioPlandel/Estudos-Python-3
21c3dfb73b9ef0420eac093434050e4aff8fd61e
[ "MIT" ]
null
null
null
#classificação do atleta de acordo com a idade from datetime import date nascimento = int(input('Digite o Ano de Nascimento: ')) idade = date.today().year - nascimento print(f'A IDADE DO ATLETA É {idade}') if idade <= 9: print('ATLETA MIRIM') elif idade <= 14: print('ATLETA INFANTIL') elif idade <= 19: prin...
27.733333
55
0.685096
61
416
4.672131
0.57377
0.192982
0
0
0
0
0
0
0
0
0
0.020649
0.185096
416
15
56
27.733333
0.820059
0.108173
0
0
0
0
0.326146
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
0.428571
0
0
0
null
0
0
0
0
0
0
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
8d46d48cfa373dcfbd0b388fde714f35e1c209ff
3,586
py
Python
chaoshumio/control.py
chaostoolkit-incubator/chaostoolkit-humio
8834820149f9ada1a0e59f204f7e344b40a80114
[ "Apache-2.0" ]
5
2019-03-05T21:11:44.000Z
2020-10-03T21:52:15.000Z
chaoshumio/control.py
chaostoolkit-incubator/chaostoolkit-humio
8834820149f9ada1a0e59f204f7e344b40a80114
[ "Apache-2.0" ]
11
2018-02-21T13:07:21.000Z
2020-01-16T11:48:15.000Z
chaoshumio/control.py
chaostoolkit-incubator/chaostoolkit-humio
8834820149f9ada1a0e59f204f7e344b40a80114
[ "Apache-2.0" ]
3
2018-03-07T22:00:52.000Z
2019-11-05T12:47:12.000Z
# -*- coding: utf-8 -*- import threading from typing import Any, Dict, List from chaoslib.types import (Activity, Configuration, Experiment, Hypothesis, Journal, Run, Secrets) from logzero import logger from . import push_to_humio __all__ = ["configure_control", "before_experiment_control...
27.374046
77
0.619632
359
3,586
6.041783
0.197772
0.08391
0.149378
0.2213
0.540802
0.489166
0.445828
0.393269
0.375749
0.327801
0
0.000384
0.273285
3,586
130
78
27.584615
0.831926
0.078918
0
0.487805
0
0
0.145944
0.036643
0
0
0
0
0
1
0.085366
false
0
0.060976
0
0.231707
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8d472d718e6c7e753b6e95b5164381428cacd139
1,124
py
Python
multi_goal_pure_pursuit/scripts/datacollector_update_rate.py
szenergy/szenergy-path-tracking
83cccd326d9999234e289507e35e65531a86bed9
[ "MIT" ]
null
null
null
multi_goal_pure_pursuit/scripts/datacollector_update_rate.py
szenergy/szenergy-path-tracking
83cccd326d9999234e289507e35e65531a86bed9
[ "MIT" ]
null
null
null
multi_goal_pure_pursuit/scripts/datacollector_update_rate.py
szenergy/szenergy-path-tracking
83cccd326d9999234e289507e35e65531a86bed9
[ "MIT" ]
null
null
null
import rospy from std_msgs.msg import Float64 class TimeOfCalcDataCollector(): def cbTimeOfCalc(self, data): if (not self.initialized): self.avg_time_of_calc = data.data self.max_time_of_calc = data.data self.initialized = True else: self.avg_time_of_...
34.060606
115
0.672598
158
1,124
4.424051
0.303797
0.128755
0.200286
0.111588
0.300429
0.230329
0.131617
0
0
0
0
0.013746
0.22331
1,124
33
116
34.060606
0.786942
0
0
0
0
0
0.112889
0.065778
0
0
0
0
0
1
0.185185
false
0
0.074074
0
0.296296
0.037037
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
8d4ad8b8579f3b780f1121960088be3b1ec645f6
603
py
Python
python-sryapicli/sryapicli/plugins/user.py
Dataman-Cloud/sryapicli
67c471529be427fcb6fb30d2a0ec6f0fd566311e
[ "Apache-2.0" ]
1
2017-09-28T03:36:43.000Z
2017-09-28T03:36:43.000Z
python-sryapicli/sryapicli/plugins/user.py
Dataman-Cloud/sryapicli
67c471529be427fcb6fb30d2a0ec6f0fd566311e
[ "Apache-2.0" ]
null
null
null
python-sryapicli/sryapicli/plugins/user.py
Dataman-Cloud/sryapicli
67c471529be427fcb6fb30d2a0ec6f0fd566311e
[ "Apache-2.0" ]
1
2017-07-13T08:35:19.000Z
2017-07-13T08:35:19.000Z
import argparse from sryapicli.plugin_helpers import SRYClientPlugin import omegaclient class UserPlugin(SRYClientPlugin): def register(self): # command: me self.set_command('user', help='get user information') user_info_parser = self.add_action('info', help='show current login user info...
31.736842
99
0.716418
75
603
5.506667
0.52
0.033898
0.09201
0.11138
0.140436
0
0
0
0
0
0
0
0.18408
603
18
100
33.5
0.839431
0.018242
0
0
0
0
0.122034
0
0
0
0
0
0
1
0.166667
false
0
0.25
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
0
0
1
0
0
1
8d52a255ff78b7bc9f7c1c2f576fac4d0a90c087
2,581
py
Python
analysis/permeability_profiles/calc_perme.py
vtlim/permeability
56c9379b82ab586e76224937b72397011fd6acc0
[ "MIT" ]
1
2017-08-18T16:15:02.000Z
2017-08-18T16:15:02.000Z
analysis/permeability_profiles/calc_perme.py
vtlim/permeability
56c9379b82ab586e76224937b72397011fd6acc0
[ "MIT" ]
1
2018-10-01T18:04:59.000Z
2018-10-01T18:04:59.000Z
analysis/permeability_profiles/calc_perme.py
vtlim/permeability
56c9379b82ab586e76224937b72397011fd6acc0
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ Usage: python calc_perme.py -p pmf.dat -d diffuse.dat -t 295.0 > output.dat Purpose: Compute membrane permeability from potential of mean force and diffusivity data. _________________________________________________________________________ Formula: For potential of mean force w(z),...
30.72619
93
0.605579
321
2,581
4.317757
0.479751
0.020202
0.032468
0.04329
0.047619
0.047619
0.047619
0
0
0
0
0.031847
0.27005
2,581
83
94
31.096386
0.703822
0.374274
0
0
0
0.026316
0.251726
0
0
0
0
0.012048
0
1
0.026316
false
0
0.078947
0
0.105263
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
8d5dbaef40cfd1de08f696b884e14782e437ea63
363
py
Python
matplotlib/axis/min_max.py
programmer1017/python
3dce528be121ced032157c9d800b4770989889bf
[ "MIT" ]
null
null
null
matplotlib/axis/min_max.py
programmer1017/python
3dce528be121ced032157c9d800b4770989889bf
[ "MIT" ]
null
null
null
matplotlib/axis/min_max.py
programmer1017/python
3dce528be121ced032157c9d800b4770989889bf
[ "MIT" ]
null
null
null
#info: https://wikidocs.net/images/page/92082/axis_range_04.png import matplotlib.pyplot as plt plt.plot([1, 2, 3, 4], [2, 3, 5, 10]) plt.xlabel('X-Axis') plt.ylabel('Y-Axis') """ plt.xlim([0, 5]) plt.ylim([0, 20]) #plt.xlim([X_min, X_max]): 각각 X좌표의 최소값, 최대값 지정. plt.ylim에도 동일하게 적용 """ plt.axis([0, 5, 0, 20]) # X, Y...
21.352941
66
0.628099
72
363
3.111111
0.666667
0.017857
0
0
0
0
0
0
0
0
0
0.082803
0.134986
363
17
67
21.352941
0.630573
0.269972
0
0
0
0
0.077922
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
8d602b51f927b084999cc98ec6bd353f517ab36c
1,465
py
Python
snowflake/snowflake.py
ronmorgen1/snowflake
f038179c7188021757085938a0de5aadf6dc5e5b
[ "MIT" ]
null
null
null
snowflake/snowflake.py
ronmorgen1/snowflake
f038179c7188021757085938a0de5aadf6dc5e5b
[ "MIT" ]
null
null
null
snowflake/snowflake.py
ronmorgen1/snowflake
f038179c7188021757085938a0de5aadf6dc5e5b
[ "MIT" ]
null
null
null
import pandas as pd import snowflake.connector class Snowflake: def __init__(self, user, password): self.__user = user self.__password = password self.ctx = None self.cs = None self.is_connected = False def __enter__(self): if not self.is_connected: ...
28.173077
61
0.539932
146
1,465
5.191781
0.465753
0.039578
0.098945
0.05277
0
0
0
0
0
0
0
0
0.366553
1,465
51
62
28.72549
0.81681
0.046416
0
0.051282
0
0
0.088148
0
0
0
0
0
0
1
0.128205
false
0.076923
0.051282
0
0.230769
0.051282
0
0
0
null
0
0
0
0
0
0
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
8d60b7d7f9b1a574f068f161e3ee9ab8bf326002
350
py
Python
python/python2/rsm.py
ConvertToRGB/simpeProjects
36de7e1dd356cfefcf178d2c43d359234e648cb6
[ "MIT" ]
null
null
null
python/python2/rsm.py
ConvertToRGB/simpeProjects
36de7e1dd356cfefcf178d2c43d359234e648cb6
[ "MIT" ]
null
null
null
python/python2/rsm.py
ConvertToRGB/simpeProjects
36de7e1dd356cfefcf178d2c43d359234e648cb6
[ "MIT" ]
null
null
null
#!python2 # coding: utf-8 a = raw_input('') a = a.decode('cp866') def repeat(s): if s: while not s[0].isalnum(): s = s[1:] st = s first = s[0] if not st.find(first) == -1: index = st.find(first) letter = st[index] st = st.replace(letter, '') print s.encode('cp866'), first.encode('cp866') repe...
15.909091
48
0.58
59
350
3.40678
0.440678
0.039801
0.089552
0
0
0
0
0
0
0
0
0.054545
0.214286
350
22
49
15.909091
0.676364
0.062857
0
0
0
0
0.045872
0
0
0
0
0
0
0
null
null
0
0
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
8d64277b0e124c4bccb29f51ed472453b31c0d53
348
py
Python
src/coloranalysis/colorfunctionshelper.py
Kimberly-Feldman/color-analysis-java
6d4549e7c0f94fe2ed39abb2f0cec32077ff8a25
[ "MIT" ]
null
null
null
src/coloranalysis/colorfunctionshelper.py
Kimberly-Feldman/color-analysis-java
6d4549e7c0f94fe2ed39abb2f0cec32077ff8a25
[ "MIT" ]
null
null
null
src/coloranalysis/colorfunctionshelper.py
Kimberly-Feldman/color-analysis-java
6d4549e7c0f94fe2ed39abb2f0cec32077ff8a25
[ "MIT" ]
null
null
null
import urllib.request, json #returns palette dictionary of hosted jpg def imgix_json (user_url): url_extension = "?w=640&h=320&fit=crop&palette=json" url = user_url+url_extension data = "" with urllib.request.urlopen(url) as url: data = json.loads(url.read().decode()) colors = data["col...
18.315789
56
0.666667
49
348
4.632653
0.612245
0.114537
0.088106
0.167401
0
0
0
0
0
0
0
0.021898
0.212644
348
18
57
19.333333
0.806569
0.114943
0
0
0
0
0.131579
0.111842
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8d64b8683d34a4abb345cf1d4018231ca40e3372
1,674
py
Python
server/python/app.py
GjjvdBurg/wrattler
1e4937b42fbe15a87a8204a61dbdd0b4526d9b6c
[ "MIT" ]
null
null
null
server/python/app.py
GjjvdBurg/wrattler
1e4937b42fbe15a87a8204a61dbdd0b4526d9b6c
[ "MIT" ]
null
null
null
server/python/app.py
GjjvdBurg/wrattler
1e4937b42fbe15a87a8204a61dbdd0b4526d9b6c
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """ Two API endpoints 'eval' and 'exports' representing the wrattler python service. A POST request to 'exports' will analyze a code fragment and return lists of 'imports' and 'exports', i.e. frames that the code will read in from the datastore and write back to the datastore. A POST request to...
27.9
102
0.747909
236
1,674
5.105932
0.360169
0.107884
0.109544
0.06722
0.056432
0.056432
0.056432
0.056432
0
0
0
0.007725
0.149343
1,674
59
103
28.372881
0.838483
0.267622
0
0.060606
0
0
0.075534
0
0
0
0
0
0
1
0.151515
false
0
0.242424
0.030303
0.545455
0.212121
0
0
0
null
0
0
0
0
0
0
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
8d70b19d7a518cd9ffbdce086d027de6e6b883cc
8,593
py
Python
gtas/parent/admin.py
minelytics/GTAS
81b034a740837e61b00a17f6521a9a33fb0935bd
[ "MIT" ]
null
null
null
gtas/parent/admin.py
minelytics/GTAS
81b034a740837e61b00a17f6521a9a33fb0935bd
[ "MIT" ]
null
null
null
gtas/parent/admin.py
minelytics/GTAS
81b034a740837e61b00a17f6521a9a33fb0935bd
[ "MIT" ]
null
null
null
from django.contrib import admin from reversion.admin import VersionAdmin from gtas.parent.models.parent import Airport from gtas.parent.models.parent import AirportRestore from gtas.parent.models.parent import ApiAccess from gtas.parent.models.parent import AppConfiguration from gtas.parent.models.parent import Audit...
33.566406
126
0.664727
1,022
8,593
5.399217
0.104697
0.045669
0.07104
0.101486
0.699529
0.67017
0.588982
0.588982
0.588982
0.540051
0
0.001157
0.195624
8,593
255
127
33.698039
0.797164
0.045502
0
0.619565
0
0
0.169475
0.011315
0
0
0
0
0
1
0.076087
false
0.005435
0.086957
0
0.619565
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
8d719cd6fadeee01543f7f9598b50e07e1be165c
2,084
py
Python
tests/rules/test_pacman.py
John-Appleseed/fix
6d8ee9a3cbeee70593f0f8f570a50869dfc7552b
[ "MIT" ]
null
null
null
tests/rules/test_pacman.py
John-Appleseed/fix
6d8ee9a3cbeee70593f0f8f570a50869dfc7552b
[ "MIT" ]
null
null
null
tests/rules/test_pacman.py
John-Appleseed/fix
6d8ee9a3cbeee70593f0f8f570a50869dfc7552b
[ "MIT" ]
null
null
null
import pytest from mock import patch from thefuck.rules import pacman from thefuck.rules.pacman import match, get_new_command from tests.utils import Command pacman_cmd = getattr(pacman, 'pacman', 'pacman') @pytest.mark.skipif(not getattr(pacman, 'enabled_by_default', True), reason='Skip if pacm...
38.592593
79
0.724568
278
2,084
5.241007
0.194245
0.075498
0.044612
0.096088
0.757721
0.714482
0.638984
0.616335
0.366507
0.366507
0
0
0.134357
2,084
53
80
39.320755
0.80765
0
0
0.439024
0
0
0.222169
0.02975
0
0
0
0
0.170732
1
0.121951
false
0
0.121951
0
0.243902
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8d753c35e8e42121acce4ea43244d7c617ea5daa
4,401
py
Python
cxx/tsqr_cxx.py
arbenson/mrtsqr
006a2de645db9ad4735971cc0a77739249c1437d
[ "BSD-2-Clause" ]
11
2015-01-09T18:36:29.000Z
2022-02-09T09:02:36.000Z
cxx/tsqr_cxx.py
arbenson/mrtsqr
006a2de645db9ad4735971cc0a77739249c1437d
[ "BSD-2-Clause" ]
null
null
null
cxx/tsqr_cxx.py
arbenson/mrtsqr
006a2de645db9ad4735971cc0a77739249c1437d
[ "BSD-2-Clause" ]
1
2020-05-13T12:55:51.000Z
2020-05-13T12:55:51.000Z
""" Copyright (c) 2012-2014, Austin Benson and David Gleich All rights reserved. This file is part of MRTSQR and is under the BSD 2-Clause License, which can be found in the LICENSE file in the root directory, or at http://opensource.org/licenses/BSD-2-Clause """ """ tsqr_cxx.py =========== Submit t...
29.736486
98
0.588275
570
4,401
4.414035
0.319298
0.075517
0.082671
0.047695
0.215421
0.191574
0.168521
0.148649
0.124006
0.124006
0
0.027534
0.249034
4,401
147
99
29.938776
0.733737
0.083845
0
0.109756
0
0.04878
0.295901
0.155023
0
0
0
0.006803
0
0
null
null
0
0.036585
null
null
0.073171
0
0
0
null
0
0
0
0
0
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
8d7937e85e062312a601e0c9870f1a9b829e230b
653
py
Python
pagemail/util.py
garrettreid/pagemail
444b9d5bbda29c44367057f71903865adf7889df
[ "MIT" ]
null
null
null
pagemail/util.py
garrettreid/pagemail
444b9d5bbda29c44367057f71903865adf7889df
[ "MIT" ]
null
null
null
pagemail/util.py
garrettreid/pagemail
444b9d5bbda29c44367057f71903865adf7889df
[ "MIT" ]
null
null
null
from uuid import uuid4 from .database import _open_database_connection # Generates a nicely-formatted non-identifying UUID def gen_uuid(): # It's easier to split URN than insert -s into hex return uuid4().urn.split(':')[-1].upper() # Inserts an email, returns (view_uuid, admin_uuid) def insert_email(sender, subject...
34.368421
174
0.730475
96
653
4.760417
0.5
0.087527
0.142232
0.148797
0
0
0
0
0
0
0
0.007067
0.133231
653
18
175
36.277778
0.800353
0.226646
0
0
1
0
0.197605
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.083333
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8d8026e128b8d8abc5a03870743d76b749cf50a0
2,665
py
Python
revitAPI/filteredElementCollectorByParameter.py
Racel/dynamoPython
8bdb429e2f54661c96cbd967b6ffe33c9de0d9a6
[ "MIT" ]
1
2018-07-21T19:42:46.000Z
2018-07-21T19:42:46.000Z
revitAPI/filteredElementCollectorByParameter.py
DutchSailor/dynamoPython
8bdb429e2f54661c96cbd967b6ffe33c9de0d9a6
[ "MIT" ]
null
null
null
revitAPI/filteredElementCollectorByParameter.py
DutchSailor/dynamoPython
8bdb429e2f54661c96cbd967b6ffe33c9de0d9a6
[ "MIT" ]
null
null
null
""" FILTERED ELEMENT COLLECTOR - ANALYTICAL MODEL PARAMETER ELEMENTS ONLY """ __author__ = 'Sol Amour - amoursol@gmail.com' __twitter__ = '@solamour' __version__ = '1.0.0' # Importing Reference Modules import clr # CLR ( Common Language Runtime Module ) clr.AddReference("RevitServices") # Adding the RevitSe...
55.520833
110
0.771857
383
2,665
5.334204
0.451697
0.036711
0.035242
0.014684
0
0
0
0
0
0
0
0.002284
0.178612
2,665
47
111
56.702128
0.931019
0.699437
0
0
0
0
0.090028
0
0
0
0
0
0
1
0
false
0.055556
0.277778
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
8d802db1dc54795fa22ad46dc1ac35adc63827e7
21,005
py
Python
data_service/store/memberships.py
freelancing-solutions/GCP-Based-Database-as-a-Service
7d6a12c33db238ca2f748bf4ddea6d2cf3c16da3
[ "MIT" ]
1
2021-04-15T19:45:04.000Z
2021-04-15T19:45:04.000Z
data_service/store/memberships.py
freelancing-solutions/pinydesk
7d6a12c33db238ca2f748bf4ddea6d2cf3c16da3
[ "MIT" ]
516
2021-05-02T11:46:36.000Z
2022-03-29T06:09:49.000Z
data_service/store/memberships.py
freelancing-solutions/pinydesk
7d6a12c33db238ca2f748bf4ddea6d2cf3c16da3
[ "MIT" ]
1
2021-09-04T22:40:14.000Z
2021-09-04T22:40:14.000Z
import typing from datetime import datetime, date from google.api_core.exceptions import RetryError, Aborted from google.cloud import ndb from data_service.store.mixins import AmountMixin from data_service.utils.utils import get_days, get_payment_methods class MembershipValidators: @staticmethod def start_da...
37.242908
119
0.608474
2,344
21,005
5.250427
0.103669
0.048265
0.054034
0.029008
0.700658
0.667181
0.624523
0.598359
0.530674
0.461526
0
0.002243
0.299691
21,005
563
120
37.309059
0.834398
0.060652
0
0.659574
0
0
0.051958
0
0
0
0
0.008881
0
1
0.120567
false
0.004728
0.014184
0.044917
0.553191
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
8d89a6e7501cac372e053e1c179497cedf5cf741
639
py
Python
scousepy/stage_2.py
jdhenshaw/SCOUSEpy
5f472cdb766f818432286a49b49f8e07c500cb45
[ "MIT" ]
null
null
null
scousepy/stage_2.py
jdhenshaw/SCOUSEpy
5f472cdb766f818432286a49b49f8e07c500cb45
[ "MIT" ]
null
null
null
scousepy/stage_2.py
jdhenshaw/SCOUSEpy
5f472cdb766f818432286a49b49f8e07c500cb45
[ "MIT" ]
null
null
null
# Licensed under an MIT open source license - see LICENSE def generate_saa_list(scouseobject): """ Returns a list constaining all spectral averaging areas. Parameters ---------- scouseobject : Instance of the scousepy class """ saa_list=[] for i in range(len(scouseobject.wsaa)): ...
26.625
60
0.594679
84
639
4.369048
0.535714
0.114441
0.054496
0
0
0
0
0
0
0
0
0
0.302034
639
23
61
27.782609
0.82287
0.402191
0
0
1
0
0
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.222222
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
8d8a9103eaab829a18a1e5e1f9c4f8160c0d3333
2,575
py
Python
source/python/e2c.examples/web_mud/actors/repository/models/models.py
elastic-event-components/e2c
15be10c167e6a02f725bae0ea933667c4b2b257b
[ "Apache-2.0" ]
null
null
null
source/python/e2c.examples/web_mud/actors/repository/models/models.py
elastic-event-components/e2c
15be10c167e6a02f725bae0ea933667c4b2b257b
[ "Apache-2.0" ]
1
2017-09-27T09:20:40.000Z
2017-09-27T09:20:40.000Z
source/python/e2c.examples/web_mud/actors/repository/models/models.py
elastic-event-components/e2c
15be10c167e6a02f725bae0ea933667c4b2b257b
[ "Apache-2.0" ]
null
null
null
# # Copyright 2017 The E2C Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
26.546392
80
0.48699
230
2,575
5.417391
0.5
0.064205
0.109149
0.0626
0.174157
0.089888
0.069021
0.069021
0.069021
0
0
0.004831
0.196117
2,575
96
81
26.822917
0.597101
0.506796
0
0.244444
0
0
0.01873
0
0
0
0
0
0
1
0.022222
false
0.022222
0.022222
0
0.622222
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
8d8faac576fcbbcff11c4a5a4039ebc80a779585
1,830
py
Python
JARVIS/queue/migrations/0001_initial.py
Jagjot1585/JARVIS-py
d4fb86a08760a8762873e28672a8cd90e2973746
[ "MIT" ]
null
null
null
JARVIS/queue/migrations/0001_initial.py
Jagjot1585/JARVIS-py
d4fb86a08760a8762873e28672a8cd90e2973746
[ "MIT" ]
1
2016-06-23T18:49:28.000Z
2016-06-24T08:33:48.000Z
JARVIS/queue/migrations/0001_initial.py
Jagjot1585/JARVIS-py
d4fb86a08760a8762873e28672a8cd90e2973746
[ "MIT" ]
2
2016-07-18T05:28:23.000Z
2017-02-05T10:42:02.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2016-09-08 07:34 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('tf', '0001_initial'), ] operati...
39.782609
128
0.570492
182
1,830
5.604396
0.489011
0.044118
0.05098
0.066667
0.229412
0.229412
0.229412
0.154902
0.154902
0.154902
0
0.022642
0.275956
1,830
45
129
40.666667
0.74717
0.036612
0
0.27027
1
0
0.1125
0.0125
0
0
0
0
0
1
0
false
0
0.081081
0
0.189189
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
8d9d6842674de22e6884b03c040e8d6c8554b107
9,222
py
Python
irisanalysis.py
Kennymctigue/Project-2018
197ddee7e0267fc82d37c41a6c54e25b7b174e6c
[ "Apache-2.0" ]
null
null
null
irisanalysis.py
Kennymctigue/Project-2018
197ddee7e0267fc82d37c41a6c54e25b7b174e6c
[ "Apache-2.0" ]
null
null
null
irisanalysis.py
Kennymctigue/Project-2018
197ddee7e0267fc82d37c41a6c54e25b7b174e6c
[ "Apache-2.0" ]
null
null
null
# Kenny McTigue, 18/04/2018 # Project 2018, Iris Dataset Analysis # https://web.microsoftstream.com/video/74b18405-5ee1-47f0-a42d-e8831a453a91 # https://docs.scipy.org/doc/numpy/reference/generated/numpy.amin.html # https://docs.scipy.org/doc/numpy-1.14.0/reference/generated/numpy.amax.html # https://web.microsoftstrea...
42.497696
118
0.737801
1,350
9,222
5.037778
0.15037
0.032936
0.038818
0.026467
0.494927
0.360535
0.315542
0.293486
0.235112
0.108072
0
0.049455
0.133919
9,222
216
119
42.694444
0.802053
0.204403
0
0.081081
1
0
0.237228
0
0
0
0
0
0
1
0
false
0
0.013514
0
0.013514
0.189189
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
a5c34a009407e90259d49b41e2c507b6330b0c20
676
py
Python
create_zipfile_from_testimage.py
docker-forensics-toolkit/toolkit
c9bb176b15e26a82036d2292493a3ea789ed5144
[ "Apache-2.0" ]
39
2019-03-27T03:34:17.000Z
2022-03-24T20:02:56.000Z
create_zipfile_from_testimage.py
docker-forensics-toolkit/toolkit
c9bb176b15e26a82036d2292493a3ea789ed5144
[ "Apache-2.0" ]
2
2019-04-07T11:57:38.000Z
2021-01-23T14:06:30.000Z
create_zipfile_from_testimage.py
docker-forensics-toolkit/toolkit
c9bb176b15e26a82036d2292493a3ea789ed5144
[ "Apache-2.0" ]
7
2020-02-21T04:13:27.000Z
2022-03-26T21:01:21.000Z
#!/usr/bin/env python import argparse import subprocess import os from pathlib import Path FILES_USED_IN_TEST = [ "usr/bin/docker", "usr/bin/dockerd", "var/lib/docker", ] parser = argparse.ArgumentParser() parser.add_argument('--image-mountpoint') args = parser.parse_args() image_mountpoint = Path(args.i...
27.04
91
0.730769
91
676
5.230769
0.549451
0.220588
0.046218
0.063025
0
0
0
0
0
0
0
0
0.131657
676
24
92
28.166667
0.810903
0.029586
0
0
0
0
0.238532
0.045872
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a5c38330577910be1168cff0470aebeca1451871
3,677
py
Python
reed_solomon.py
mbingenheimer/sutra2DNA
bb1c9de4f7937fe6e0c338b500104102bc63ec35
[ "CC0-1.0" ]
null
null
null
reed_solomon.py
mbingenheimer/sutra2DNA
bb1c9de4f7937fe6e0c338b500104102bc63ec35
[ "CC0-1.0" ]
null
null
null
reed_solomon.py
mbingenheimer/sutra2DNA
bb1c9de4f7937fe6e0c338b500104102bc63ec35
[ "CC0-1.0" ]
null
null
null
import unireedsolomon def convert_unicode_to_binary(unicode_input): """ converts unicode string input into binary integer :param unicode_input: String :return: int """ binary_output = '' for character in unicode_input: binary_output += str(bin(ord(character)))[2:].zfil...
32.830357
121
0.670927
449
3,677
5.273942
0.135857
0.038007
0.025338
0.040541
0.38598
0.298142
0.265203
0.196791
0.053209
0.053209
0
0.009681
0.241501
3,677
111
122
33.126126
0.839369
0.339407
0
0
0
0
0
0
0
0
0
0
0
1
0.216216
false
0
0.027027
0
0.459459
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
a5caae61ebf169298f0f66fd62bf4bdf8acbdc1c
412
py
Python
tests/integration/workflows/go_modules/utils.py
ekmixon/aws-lambda-builders
01031a52ea314217e1c373f6ab2edc0a265ce552
[ "Apache-2.0" ]
180
2018-11-09T04:51:19.000Z
2020-08-06T21:43:20.000Z
tests/integration/workflows/go_modules/utils.py
ekmixon/aws-lambda-builders
01031a52ea314217e1c373f6ab2edc0a265ce552
[ "Apache-2.0" ]
108
2018-11-08T18:34:51.000Z
2020-08-12T17:59:41.000Z
tests/integration/workflows/go_modules/utils.py
ekmixon/aws-lambda-builders
01031a52ea314217e1c373f6ab2edc0a265ce552
[ "Apache-2.0" ]
91
2018-11-08T22:58:00.000Z
2020-08-17T21:15:31.000Z
from elftools.elf.elffile import ELFFile def get_executable_arch(path): """ Returns the architecture of an executable binary Parameters ---------- path : str path to the Go binaries generated Returns ------- str Architecture type of the generated binaries """ ...
19.619048
52
0.601942
50
412
4.88
0.62
0.057377
0
0
0
0
0
0
0
0
0
0
0.293689
412
20
53
20.6
0.838488
0.458738
0
0
0
0
0.011429
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
a5d3621453d6a60c061c6e4ed4ac03fbe18a8c7b
633
py
Python
gan/unit_test/unit_test_visualizer.py
jianliang90/MedCommon
961384c7387cf8307275752d6399c6f9c8ce227c
[ "MIT" ]
1
2021-12-16T15:06:59.000Z
2021-12-16T15:06:59.000Z
gan/unit_test/unit_test_visualizer.py
jianliang90/MedCommon
961384c7387cf8307275752d6399c6f9c8ce227c
[ "MIT" ]
null
null
null
gan/unit_test/unit_test_visualizer.py
jianliang90/MedCommon
961384c7387cf8307275752d6399c6f9c8ce227c
[ "MIT" ]
null
null
null
import os import sys import time import numpy as np from collections import OrderedDict import torch sys.path.append(os.path.join(os.path.dirname(__file__), os.path.pardir)) from util.visualizer import Visualizer from options.train_options import TrainOptions opt = TrainOptions().parse() visualizer = Visualizer(o...
20.419355
72
0.71406
92
633
4.836957
0.5
0.040449
0.067416
0.07191
0.134831
0.134831
0.134831
0.134831
0.134831
0
0
0.05618
0.156398
633
31
73
20.419355
0.777154
0
0
0
0
0
0.022082
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0.1
0
0
0
null
0
0
0
0
0
0
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
a5de092e9ba5ede2fc3b6170b5a5c88184172543
1,189
py
Python
api/models/jokenpo.py
robscarvalho8/jokenpogame
2007cb03e8721a91bdb0edc095790f296d5abd43
[ "MIT" ]
null
null
null
api/models/jokenpo.py
robscarvalho8/jokenpogame
2007cb03e8721a91bdb0edc095790f296d5abd43
[ "MIT" ]
null
null
null
api/models/jokenpo.py
robscarvalho8/jokenpogame
2007cb03e8721a91bdb0edc095790f296d5abd43
[ "MIT" ]
null
null
null
from flask_restx import fields from api.server.instance import server play = server.api.model('Play', { 'player': fields.Integer(required=True, description='Player Number'), 'entrance': fields.Integer(required=True, description='Entrance Number'), 'play': fields.String(required=True, min_length=1, max_len...
37.15625
109
0.726661
147
1,189
5.816327
0.278912
0.098246
0.098246
0.169591
0.378947
0.238596
0.191813
0.11462
0
0
0
0.007678
0.123633
1,189
31
110
38.354839
0.81286
0
0
0.25
0
0
0.326325
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a5df1bfc6b57039ce084075d291bf3df2ac8dcef
1,383
py
Python
src/bot_commands/ctftime.py
Hacker-Lounge/0xb07
06aaef7e3f5ff3004a4c8fc593c025adb303e7de
[ "MIT" ]
2
2020-04-15T06:35:28.000Z
2020-04-15T06:58:14.000Z
src/bot_commands/ctftime.py
Hacker-Lounge/0xb07
06aaef7e3f5ff3004a4c8fc593c025adb303e7de
[ "MIT" ]
null
null
null
src/bot_commands/ctftime.py
Hacker-Lounge/0xb07
06aaef7e3f5ff3004a4c8fc593c025adb303e7de
[ "MIT" ]
1
2020-04-15T06:34:38.000Z
2020-04-15T06:34:38.000Z
import urllib.request, json, time,utils def now(msg): print("[*] ctftime.now request") results=[] with urllib.request.urlopen(urllib.request.Request(f"https://ctftime.org/api/v1/events/?limit=100&start={int(time.time())-259200}&finish={int(time.time())+259200}",None,headers={'User-Agent':'Mozilla/5.0'})) as...
55.32
219
0.587129
179
1,383
4.469274
0.318436
0.0525
0.0825
0.06
0.7125
0.6675
0.6675
0.6675
0.6675
0.6675
0
0.030514
0.170644
1,383
25
220
55.32
0.666957
0
0
0.5
0
0.083333
0.365607
0.07659
0
0
0
0
0
1
0.083333
false
0
0.041667
0
0.208333
0.166667
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
a5e237f093eba203d18509d9159bb3a3809f101f
321
py
Python
AtCoder/BeginnerContest140/d_.py
scnsh/CompetitiveProgramming
3f08b4719ffe9511cba6d1ba7909f1899def702b
[ "MIT" ]
1
2019-08-04T23:40:18.000Z
2019-08-04T23:40:18.000Z
AtCoder/BeginnerContest140/d_.py
scnsh/CompetitiveProgramming
3f08b4719ffe9511cba6d1ba7909f1899def702b
[ "MIT" ]
null
null
null
AtCoder/BeginnerContest140/d_.py
scnsh/CompetitiveProgramming
3f08b4719ffe9511cba6d1ba7909f1899def702b
[ "MIT" ]
null
null
null
N, K = map(int, input().split()) S = list(input()) Y = 0 if N == 1: print(0) exit(0) if S[0] == 'L': Y += 1 if S[N-1] == 'R': Y += 1 count = 0 X = 0 for i in range(N-1): if S[i] == 'R' and S[i+1] == 'L': X += 1 if S[i] == S[i+1]: count += 1 count += K*2 print(min(N-1, count)) ...
13.375
37
0.404984
68
321
1.911765
0.367647
0.061538
0.092308
0.076923
0
0
0
0
0
0
0
0.079812
0.336449
321
23
38
13.956522
0.530516
0
0
0.105263
0
0
0.0125
0
0
0
0
0
0
1
0
false
0
0
0
0
0.105263
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
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a5e24eab973b7372939e87b5d10f922daf0afd39
5,336
py
Python
nautobot/core/runner/importer.py
psmware-ltd/nautobot
ac516287fb8edcc3482bd011839de837c6bbf0df
[ "Apache-2.0" ]
384
2021-02-24T01:40:40.000Z
2022-03-30T10:30:59.000Z
nautobot/core/runner/importer.py
psmware-ltd/nautobot
ac516287fb8edcc3482bd011839de837c6bbf0df
[ "Apache-2.0" ]
1,067
2021-02-24T00:58:08.000Z
2022-03-31T23:38:23.000Z
nautobot/core/runner/importer.py
psmware-ltd/nautobot
ac516287fb8edcc3482bd011839de837c6bbf0df
[ "Apache-2.0" ]
128
2021-02-24T02:45:16.000Z
2022-03-20T18:48:36.000Z
""" logan.importer ~~~~~~~~~~~~~~ :copyright: (c) 2012 David Cramer. :license: Apache License 2.0, see LICENSE for more details. """ from __future__ import absolute_import, unicode_literals try: unicode except NameError: basestring = unicode = str # Python 3 try: execfile except NameError: # Python3 ...
33.987261
117
0.671289
661
5,336
5.246596
0.276853
0.077855
0.032295
0.036044
0.4109
0.360438
0.322953
0.303345
0.277393
0.277393
0
0.003453
0.240067
5,336
156
118
34.205128
0.851788
0.377999
0
0.341772
0
0
0.008574
0
0
0
0
0.032051
0
1
0.113924
false
0.012658
0.113924
0.012658
0.341772
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
a5e61c810ddec8c9701f5da9598f5a0e55c18aa3
1,894
py
Python
bot/actions/db/model.py
MichaelRabideau/slack-bot
5e14d9dccf09c1e929e1fe8d63ab9cc8cd9209da
[ "Apache-2.0" ]
null
null
null
bot/actions/db/model.py
MichaelRabideau/slack-bot
5e14d9dccf09c1e929e1fe8d63ab9cc8cd9209da
[ "Apache-2.0" ]
null
null
null
bot/actions/db/model.py
MichaelRabideau/slack-bot
5e14d9dccf09c1e929e1fe8d63ab9cc8cd9209da
[ "Apache-2.0" ]
null
null
null
from sqlalchemy import Column, DateTime, String, Integer, Boolean, ForeignKey, func from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import relationship Base = declarative_base() # deprecated class Action(Base): __tablename__ = 'actions' id = Column(Integer, primary_key=True) ...
35.074074
83
0.721225
204
1,894
6.455882
0.22549
0.053151
0.085042
0.122248
0.562642
0.53303
0.48899
0.48899
0.48899
0.368261
0
0
0.170011
1,894
53
84
35.735849
0.837786
0.00528
0
0.487179
0
0
0.117428
0.036132
0
0
0
0
0
1
0
false
0
0.076923
0
0.923077
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
a5e7e0f180db02049300bcc7cdae1e436d09ca10
356
py
Python
server/pitches/migrations/0008_auto_20171209_0859.py
bholtbholt/unconf
beb33f93bad7f98d6bca1b0e3c70f0f93cdbc7e5
[ "MIT" ]
10
2018-04-21T20:09:00.000Z
2021-08-05T20:03:52.000Z
server/pitches/migrations/0008_auto_20171209_0859.py
bholtbholt/unconf
beb33f93bad7f98d6bca1b0e3c70f0f93cdbc7e5
[ "MIT" ]
16
2018-04-24T00:41:12.000Z
2020-06-05T17:30:10.000Z
server/pitches/migrations/0008_auto_20171209_0859.py
bholtbholt/unconf
beb33f93bad7f98d6bca1b0e3c70f0f93cdbc7e5
[ "MIT" ]
3
2018-06-13T20:38:51.000Z
2019-08-17T22:56:54.000Z
# Generated by Django 2.0 on 2017-12-09 16:59 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('pitches', '0007_auto_20171119_1839'), ] operations = [ migrations.AlterUniqueTogether( name='vote', unique_together={('client_...
19.777778
56
0.603933
37
356
5.648649
0.864865
0
0
0
0
0
0
0
0
0
0
0.116279
0.275281
356
17
57
20.941176
0.693798
0.120787
0
0
1
0
0.163987
0.073955
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
a5ec6ed9cdada47dac0df597b56182647571f129
710
py
Python
tf.py
nvs-abhilash/headlineGen
21d95cc9f6d4b03051e2a96959dda4d0fd14b5c8
[ "MIT" ]
null
null
null
tf.py
nvs-abhilash/headlineGen
21d95cc9f6d4b03051e2a96959dda4d0fd14b5c8
[ "MIT" ]
1
2020-03-18T03:55:42.000Z
2020-03-18T03:55:42.000Z
tf.py
nvs-abhilash/headlineGen
21d95cc9f6d4b03051e2a96959dda4d0fd14b5c8
[ "MIT" ]
null
null
null
""" Implementation of Tf scores """ import nltk import sys from nltk.corpus import reuters from math import log10 from reuters_tf_idf import tfIdf import operator def tf (tokenized_words, tagged_words): stopwords = nltk.corpus.stopwords.words('english') filtered_text = [] for w in tokenized_words: ...
28.4
87
0.695775
98
710
4.938776
0.459184
0.07438
0.024793
0
0
0
0
0
0
0
0
0.010733
0.212676
710
25
88
28.4
0.855098
0.061972
0
0
0
0
0.010606
0
0
0
0
0
0
1
0.055556
false
0
0.333333
0
0.444444
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
a5f9da87dd3737dbc38a530566f9e9c9860c9a75
460
py
Python
models/yolo/yolo.py
xinhaixiangyunpiao/SmartPipe
5d26e642224108b65f21456cbc41fcc48afe1934
[ "MIT" ]
2
2021-12-08T03:45:43.000Z
2021-12-08T13:43:02.000Z
models/yolo/yolo.py
xinhaixiangyunpiao/SmartPipe
5d26e642224108b65f21456cbc41fcc48afe1934
[ "MIT" ]
null
null
null
models/yolo/yolo.py
xinhaixiangyunpiao/SmartPipe
5d26e642224108b65f21456cbc41fcc48afe1934
[ "MIT" ]
null
null
null
from repo.yolov5.hubconf import yolov5x # 载入模型 class yolo: # 构造 def __init__(self): print("yolo is build.") # 载入模型 def load_model(self): self.model = yolov5x() self.model = self.model.cuda() print("model load completed.") # 模型推理 def inference(self, data): ...
20
39
0.56087
56
460
4.517857
0.464286
0.142292
0.086957
0
0
0
0
0
0
0
0
0.009585
0.319565
460
23
40
20
0.798722
0.05
0
0
0
0
0.092593
0
0
0
0
0
0
1
0.285714
false
0
0.071429
0
0.5
0.285714
0
0
0
null
0
0
0
0
0
0
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
570004bfa6e3c9224ffd68be77b5e56e0417c59e
478
py
Python
centinela_cms/centinela/templatetags/centinela_site.py
esbozos/megax
3d7e00b0a19b687595af3d49b2b1f7e8b817209f
[ "MIT" ]
null
null
null
centinela_cms/centinela/templatetags/centinela_site.py
esbozos/megax
3d7e00b0a19b687595af3d49b2b1f7e8b817209f
[ "MIT" ]
null
null
null
centinela_cms/centinela/templatetags/centinela_site.py
esbozos/megax
3d7e00b0a19b687595af3d49b2b1f7e8b817209f
[ "MIT" ]
null
null
null
from centinela.models import SocialShare from django import template from django.conf import settings from centinela.models import Theme register = template.Library() @register.assignment_tag def get_title(): return {'title': settings.CENTINELA['SITE_TITLE']} @register.assignment_tag def get_theme(): t = Th...
23.9
54
0.738494
66
478
5.19697
0.5
0.116618
0.110787
0.145773
0.157434
0
0
0
0
0
0
0.002488
0.158996
478
20
55
23.9
0.850746
0
0
0.133333
0
0
0.085595
0
0
0
0
0
0
1
0.133333
false
0
0.266667
0.066667
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
5703a9445d3c6dd7ca904b257b097203fe97126a
351
py
Python
settings.py
lzyer2016/python-webpy-sample
6374574f927c5c3adc418fb390dd564b4b11588a
[ "MIT" ]
null
null
null
settings.py
lzyer2016/python-webpy-sample
6374574f927c5c3adc418fb390dd564b4b11588a
[ "MIT" ]
null
null
null
settings.py
lzyer2016/python-webpy-sample
6374574f927c5c3adc418fb390dd564b4b11588a
[ "MIT" ]
null
null
null
#encoding:utf-8 # setting模块 import MySQLdb import MySQLdb.cursors host='localhost' user='root' passwd='123456' db='auth' port=3306 charset='utf8' cursorclass=MySQLdb.cursors.DictCursor def getconn(): conn = MySQLdb.connect(host=host, user=user, passwd=passwd,db=db, port=port,charset=charset,cursorcla...
18.473684
70
0.74359
46
351
5.673913
0.565217
0.099617
0
0
0
0
0
0
0
0
0
0.039344
0.131054
351
19
71
18.473684
0.816393
0.074074
0
0
0
0
0.083333
0
0
0
0
0
0
1
0.076923
false
0.153846
0.153846
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
5705f04246b9ad76333d2dc815abfb9d050b04a2
2,690
py
Python
util/pydevd/pysrc/pydev_ipython_console_010.py
hinesmr/mica
82d26b9c6b04e1b8cea7d80c054e2cf482a58520
[ "Apache-2.0" ]
6
2015-01-26T16:14:43.000Z
2019-08-22T01:29:24.000Z
util/pydevd/pysrc/pydev_ipython_console_010.py
hinesmr/mica
82d26b9c6b04e1b8cea7d80c054e2cf482a58520
[ "Apache-2.0" ]
3
2015-01-06T13:31:28.000Z
2016-10-11T16:52:09.000Z
util/pydevd/pysrc/pydev_ipython_console_010.py
hinesmr/mica
82d26b9c6b04e1b8cea7d80c054e2cf482a58520
[ "Apache-2.0" ]
null
null
null
from IPython.frontend.prefilterfrontend import PrefilterFrontEnd from pydev_console_utils import Null import sys original_stdout = sys.stdout original_stderr = sys.stderr #======================================================================================================================= # PyDevFrontEnd #=========...
30.568182
120
0.50632
264
2,690
4.920455
0.340909
0.049269
0.073903
0.104696
0.287144
0.164742
0.070824
0.070824
0.070824
0.070824
0
0
0.332342
2,690
87
121
30.91954
0.723274
0.241636
0
0.291667
0
0
0.001974
0
0
0
0
0
0
1
0.229167
false
0.041667
0.083333
0.041667
0.479167
0.020833
0
0
0
null
0
0
0
0
0
0
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
57066778b80ba982f7660bd69a802e32e9a4658a
454
py
Python
test_execute.py
vfrc2/xmpp-syschat
a5fd31e81f1b96f6d0c7d67d8d30495bd499650c
[ "MIT" ]
1
2015-12-16T04:55:39.000Z
2015-12-16T04:55:39.000Z
test_execute.py
vfrc2/xmpp-syschat
a5fd31e81f1b96f6d0c7d67d8d30495bd499650c
[ "MIT" ]
null
null
null
test_execute.py
vfrc2/xmpp-syschat
a5fd31e81f1b96f6d0c7d67d8d30495bd499650c
[ "MIT" ]
null
null
null
import execute import logging logging.basicConfig(level=logging.DEBUG) def printMessage(text): print text exe = execute.Executer("./bin", printMessage) print "Executer test" while True: try: line = raw_input() exe.StartExecCommand(line) except execute.ExecuterAlreadyRunningException as err: print "Already...
17.461538
55
0.759912
54
454
6.37037
0.648148
0.075581
0.05814
0
0
0
0
0
0
0
0
0
0.145374
454
25
56
18.16
0.886598
0
0
0
0
0
0.191537
0
0
0
0
0
0
0
null
null
0
0.133333
null
null
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
1
0
0
0
0
0
0
0
0
1
571a551472f7c9f47b77687120a3d6189fd85116
1,951
py
Python
src/start.py
ayushgoel/flock-message-reporter
7dd08035e82e0818fc6b5a07093346e7e16ee5ca
[ "MIT" ]
null
null
null
src/start.py
ayushgoel/flock-message-reporter
7dd08035e82e0818fc6b5a07093346e7e16ee5ca
[ "MIT" ]
null
null
null
src/start.py
ayushgoel/flock-message-reporter
7dd08035e82e0818fc6b5a07093346e7e16ee5ca
[ "MIT" ]
null
null
null
from flask import Flask from flask import Blueprint from flask import request from flask import abort from flask import jsonify from flask import send_from_directory import events import config app = Flask(__name__) bp = Blueprint('report-message', __name__) @app.route("/status") def status(): return "Up!" @bp.r...
27.871429
75
0.642747
230
1,951
5.278261
0.317391
0.044481
0.074135
0.046952
0.047776
0
0
0
0
0
0
0.003968
0.225013
1,951
69
76
28.275362
0.798942
0
0
0.083333
0
0
0.161456
0
0
0
0
0
0
0
null
null
0
0.133333
null
null
0.166667
0
0
0
null
0
0
0
0
0
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
572161c724d23c8c3e703274f62263bbdfaff0b4
3,811
py
Python
pysnmp-with-texts/ELTEX-MES-IP.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/ELTEX-MES-IP.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/ELTEX-MES-IP.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module ELTEX-MES-IP (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ELTEX-MES-IP # Produced by pysmi-0.3.4 at Wed May 1 13:00:06 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019,...
100.289474
477
0.780635
420
3,811
7.078571
0.357143
0.0444
0.077699
0.009418
0.299025
0.166835
0.166835
0.166835
0.166835
0.166835
0
0.064062
0.086591
3,811
37
478
103
0.790003
0.083443
0
0
0
0
0.256028
0.012629
0
0
0
0
0
1
0
false
0
0.275862
0
0.275862
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5729177ca9495fb5229982a6efec2c3135fcca45
10,289
py
Python
modules/dbnd/test_dbnd/decorator/test_fast_tracking.py
ipattarapong/dbnd
7bd65621c46c73e078eb628f994127ad4c7dbd1a
[ "Apache-2.0" ]
null
null
null
modules/dbnd/test_dbnd/decorator/test_fast_tracking.py
ipattarapong/dbnd
7bd65621c46c73e078eb628f994127ad4c7dbd1a
[ "Apache-2.0" ]
null
null
null
modules/dbnd/test_dbnd/decorator/test_fast_tracking.py
ipattarapong/dbnd
7bd65621c46c73e078eb628f994127ad4c7dbd1a
[ "Apache-2.0" ]
null
null
null
import datetime from collections import Counter import mock import pandas as pd import pytest from dbnd import config, dbnd_run_stop, log_metric, task from dbnd._core.configuration.environ_config import ( get_max_calls_per_func, reset_dbnd_project_config, ) from dbnd._core.constants import RunState, TaskRunS...
31.658462
124
0.630965
1,294
10,289
4.649923
0.155332
0.053016
0.039887
0.028253
0.651487
0.589496
0.558252
0.541632
0.50457
0.469669
0
0.010019
0.282146
10,289
324
125
31.756173
0.80463
0.117893
0
0.442623
0
0
0.130747
0.02973
0
0
0
0
0.106557
1
0.077869
false
0.106557
0.045082
0.012295
0.147541
0.012295
0
0
0
null
0
0
0
0
0
0
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
57326d12aa9002943959a90830841aef89228173
876
py
Python
bdc_sample/__init__.py
raphaelrpl/sample-db
369e80f035f9e8d6dd15b020e3639bb471b29343
[ "MIT" ]
null
null
null
bdc_sample/__init__.py
raphaelrpl/sample-db
369e80f035f9e8d6dd15b020e3639bb471b29343
[ "MIT" ]
null
null
null
bdc_sample/__init__.py
raphaelrpl/sample-db
369e80f035f9e8d6dd15b020e3639bb471b29343
[ "MIT" ]
1
2019-06-19T20:16:59.000Z
2019-06-19T20:16:59.000Z
import os from flask import Flask from flask_bcrypt import Bcrypt from flask_cors import CORS from bdc_sample.blueprint import bp from bdc_sample.config import get_settings from bdc_sample.models import db flask_bcrypt = Bcrypt() def create_app(config_name): """ Creates Brazil Data Cube Samples application ...
22.461538
69
0.712329
117
876
5.119658
0.393162
0.0601
0.065109
0
0
0
0
0
0
0
0
0
0.194064
876
38
70
23.052632
0.848442
0.22032
0
0
0
0
0.082949
0
0
0
0
0
0
1
0.052632
false
0
0.368421
0
0.473684
0.105263
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
573f8ef0ba7755db41bab53fdf4da4463aef2337
351
py
Python
Pycharm/pratica/ex020(sorteando v2.0.py
Augustos697/Python
4d8f27c39b359fa34c0f770a4229b456a0b45e62
[ "MIT" ]
null
null
null
Pycharm/pratica/ex020(sorteando v2.0.py
Augustos697/Python
4d8f27c39b359fa34c0f770a4229b456a0b45e62
[ "MIT" ]
null
null
null
Pycharm/pratica/ex020(sorteando v2.0.py
Augustos697/Python
4d8f27c39b359fa34c0f770a4229b456a0b45e62
[ "MIT" ]
null
null
null
'''O mesmo prfessor do desafio anterior quer sortear a ordem de apresentação de trabalhos dos alunos. Faça um programa que leia o nome dos quatro alunos e mostre a ordem sorteada''' import random alunos = ["Maria",'Pedro','Gustavo','Rafaela'] random.shuffle(alunos) print(' A ordem da apresentação do trabalho vai ser a ...
39
101
0.760684
54
351
4.944444
0.722222
0.067416
0
0
0
0
0
0
0
0
0
0
0.14245
351
8
102
43.875
0.887043
0.498576
0
0
0
0
0.488095
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5747859b351a2c42201aa27cf6c1b99e45eec655
6,579
py
Python
scripts/trns_download_hndlr.py
plane83/transform
d211e2fd8052087efe7f1a187351078d9c8b9742
[ "MIT" ]
null
null
null
scripts/trns_download_hndlr.py
plane83/transform
d211e2fd8052087efe7f1a187351078d9c8b9742
[ "MIT" ]
null
null
null
scripts/trns_download_hndlr.py
plane83/transform
d211e2fd8052087efe7f1a187351078d9c8b9742
[ "MIT" ]
null
null
null
#!/usr/bin/python import argparse import sys import os import time import traceback import sys import ctypes import subprocess from subprocess import Popen, PIPE import shutil from optparse import OptionParser from biokbase.workspace.client import Workspace import urllib import urllib2 import json from biokbase import ...
40.863354
179
0.678523
930
6,579
4.607527
0.266667
0.031505
0.05951
0.039207
0.269078
0.228238
0.154959
0.103617
0.074212
0.06021
0
0.003672
0.172063
6,579
160
180
41.11875
0.783
0.074327
0
0.101852
0
0.018519
0.316908
0.011206
0
0
0
0.00625
0
0
null
null
0.018519
0.175926
null
null
0.027778
0
0
0
null
0
0
0
0
0
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
5750df3c5d583cee81aea142033674eb0a0331ed
12,113
py
Python
ap.py
WillB97/simple-cisco
c62a0fa4034a63934404fdedd7c60ee415aa5dd4
[ "MIT" ]
null
null
null
ap.py
WillB97/simple-cisco
c62a0fa4034a63934404fdedd7c60ee415aa5dd4
[ "MIT" ]
null
null
null
ap.py
WillB97/simple-cisco
c62a0fa4034a63934404fdedd7c60ee415aa5dd4
[ "MIT" ]
null
null
null
#! /usr/bin/env python3 import getopt import sys import json from inspect import cleandoc as trim from scan import cdp_scan from cisco_telnet import Cisco def load_config(path): with open(path) as f: config = json.load(f) ip = config.get('ip','') password = config.get('password','') return ip...
44.047273
128
0.511682
1,549
12,113
3.899935
0.186572
0.014898
0.025327
0.011919
0.169674
0.110247
0.092369
0.043039
0.031783
0.031783
0
0.01953
0.374391
12,113
274
129
44.208029
0.777646
0.306943
0
0.233333
0
0.028571
0.188444
0.00624
0
0
0
0
0
1
0.009524
false
0.095238
0.028571
0
0.085714
0.104762
0
0
0
null
0
0
0
0
0
0
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
5751d5f1bb2eeb44689baa6272a948fe0a67e7e5
470
py
Python
pywiktionary/__init__.py
abuccts/wikt2pron
bfb9c3a3d5d71363ca7e9f8d9967823adcfd8038
[ "BSD-2-Clause" ]
22
2018-02-22T13:56:27.000Z
2022-03-14T13:31:13.000Z
pywiktionary/__init__.py
abuccts/wikt2pron
bfb9c3a3d5d71363ca7e9f8d9967823adcfd8038
[ "BSD-2-Clause" ]
5
2017-07-21T13:16:15.000Z
2019-07-05T05:42:57.000Z
pywiktionary/__init__.py
abuccts/wikt2pron
bfb9c3a3d5d71363ca7e9f8d9967823adcfd8038
[ "BSD-2-Clause" ]
4
2017-11-26T14:18:40.000Z
2021-12-23T02:00:09.000Z
"""`Wiktionary pronunciation collector` A Python toolkit converting pronunciation in enwiktionary xml dump to cmudict format. Support `IPA`_ and `X-SAMPA`_ format at present. .. _IPA: https://en.wikipedia.org/wiki/International_Phonetic_Alphabet .. _X-SAMPA: https://en.wikipedia.org/wiki/X-SAMPA """ from .wiktionary...
26.111111
70
0.768085
64
470
5.359375
0.65625
0.052478
0.093294
0.110787
0.134111
0
0
0
0
0
0
0.007246
0.119149
470
17
71
27.647059
0.821256
0.62766
0
0
0
0
0.196429
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
5754415cab3ac55bfb86ccee6395e3b09c49f244
253
py
Python
api/management/commands/scan.py
leupibr/undeep
66c8689c438872d4ea38b95e985023f246a99ea0
[ "MIT" ]
1
2020-06-04T13:21:32.000Z
2020-06-04T13:21:32.000Z
api/management/commands/scan.py
leupibr/undeep
66c8689c438872d4ea38b95e985023f246a99ea0
[ "MIT" ]
18
2020-06-04T17:28:08.000Z
2022-02-27T06:00:53.000Z
api/management/commands/scan.py
leupibr/undeep
66c8689c438872d4ea38b95e985023f246a99ea0
[ "MIT" ]
2
2020-06-04T13:19:55.000Z
2020-09-01T13:38:48.000Z
from django.core.management.base import BaseCommand from api.scan import scan class Command(BaseCommand): help = 'Scans a document from the attach scanner, and imports it into the database' def handle(self, *args, **options): scan()
23
87
0.719368
35
253
5.2
0.8
0
0
0
0
0
0
0
0
0
0
0
0.197628
253
10
88
25.3
0.896552
0
0
0
0
0
0.29249
0
0
0
0
0
0
1
0.166667
false
0
0.5
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
93863e8460f57d178c0a9fbdc4822e6a9dd8b932
3,860
py
Python
experiments/test_gripper.py
yutian-zhao/STRIPS-HGN
2b5024335fe0f1518c4a2bab76983c504df09726
[ "MIT" ]
null
null
null
experiments/test_gripper.py
yutian-zhao/STRIPS-HGN
2b5024335fe0f1518c4a2bab76983c504df09726
[ "MIT" ]
null
null
null
experiments/test_gripper.py
yutian-zhao/STRIPS-HGN
2b5024335fe0f1518c4a2bab76983c504df09726
[ "MIT" ]
null
null
null
from os.path import join from pyperplan.search import searchspace # from strips_hgn.training_data import _generate_optimal_state_value_pairs_for_problem from strips_hgn.planning.pyperplan_api import get_optimal_actions_using_py from strips_hgn.utils.args.base_args import BaseArgs from hypergraph_nets.hypergraphs impo...
39.387755
129
0.710881
453
3,860
5.763797
0.300221
0.031023
0.039831
0.044044
0.161241
0.130601
0.091919
0.091919
0.091919
0.091919
0
0.005561
0.208031
3,860
98
130
39.387755
0.848544
0.139896
0
0.030303
1
0
0.029021
0.006348
0
0
0
0
0.030303
1
0.030303
false
0
0.151515
0.015152
0.212121
0.015152
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
938b702407623f5b92afd7c4d755f11bfcccb809
447
py
Python
mirari/SV/migrations/0065_product_description.py
gcastellan0s/mirariapp
24a9db06d10f96c894d817ef7ccfeec2a25788b7
[ "MIT" ]
null
null
null
mirari/SV/migrations/0065_product_description.py
gcastellan0s/mirariapp
24a9db06d10f96c894d817ef7ccfeec2a25788b7
[ "MIT" ]
18
2019-12-27T19:58:20.000Z
2022-02-27T08:17:49.000Z
mirari/SV/migrations/0065_product_description.py
gcastellan0s/mirariapp
24a9db06d10f96c894d817ef7ccfeec2a25788b7
[ "MIT" ]
null
null
null
# Generated by Django 2.0.5 on 2019-05-27 20:45 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('SV', '0064_auto_20190521_1606'), ] operations = [ migrations.AddField( model_name='product', name='description', ...
23.526316
112
0.624161
51
447
5.352941
0.843137
0
0
0
0
0
0
0
0
0
0
0.102719
0.259508
447
18
113
24.833333
0.722054
0.100671
0
0
1
0
0.16
0.0575
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
938b7cda22e8172fdb93bff07883cdc7ba488ee7
380
py
Python
core/urls.py
nexusrealms/website
d5f2e49a4a5d5b7d6760bf2103cec62cca3c1d3d
[ "MIT" ]
1
2020-07-13T03:16:52.000Z
2020-07-13T03:16:52.000Z
core/urls.py
nexusrealms/website
d5f2e49a4a5d5b7d6760bf2103cec62cca3c1d3d
[ "MIT" ]
null
null
null
core/urls.py
nexusrealms/website
d5f2e49a4a5d5b7d6760bf2103cec62cca3c1d3d
[ "MIT" ]
null
null
null
from core.views import announcements from django.urls import path from . import views urlpatterns = [ path('', views.index, name='index'), path('home/announcements.html', views.announcements, name='announcements'), path('home/policies.html', views.policies, name='policies'), path('home/terms-condition...
31.666667
87
0.728947
46
380
6
0.347826
0.086957
0
0
0
0
0
0
0
0
0
0
0.121053
380
11
88
34.545455
0.826347
0
0
0
0
0
0.286842
0.128947
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
938c138a8c43162a71ca432e165822f363ae3912
467
py
Python
judge/migrations/0003_auto_20200813_1825.py
archit-dwevedi/Coding-Judge
0228b5533736d82b3007e8b68e4764e3e976219b
[ "MIT" ]
null
null
null
judge/migrations/0003_auto_20200813_1825.py
archit-dwevedi/Coding-Judge
0228b5533736d82b3007e8b68e4764e3e976219b
[ "MIT" ]
null
null
null
judge/migrations/0003_auto_20200813_1825.py
archit-dwevedi/Coding-Judge
0228b5533736d82b3007e8b68e4764e3e976219b
[ "MIT" ]
null
null
null
# Generated by Django 3.0.7 on 2020-08-13 18:25 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('judge', '0002_auto_20200813_1727'), ] operations = [ migrations.AlterField( model_name='submission', name='language'...
24.578947
127
0.567452
51
467
5.098039
0.764706
0.015385
0
0
0
0
0
0
0
0
0
0.091954
0.254818
467
18
128
25.944444
0.655172
0.09636
0
0
1
0
0.17619
0.054762
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
9396c66565e9186c828580d580fc79f2c2ad5f44
186
py
Python
ex007-Conversor de metros.py
Mathelzu/PythonExercicios
9bb3f4ce97818fd4f0cb296c262818d7b1c76adb
[ "Apache-2.0" ]
null
null
null
ex007-Conversor de metros.py
Mathelzu/PythonExercicios
9bb3f4ce97818fd4f0cb296c262818d7b1c76adb
[ "Apache-2.0" ]
null
null
null
ex007-Conversor de metros.py
Mathelzu/PythonExercicios
9bb3f4ce97818fd4f0cb296c262818d7b1c76adb
[ "Apache-2.0" ]
null
null
null
metro = float(input('Insira o valor em Metros: ')) cent = metro * 100 mili = metro * 1000 print('O valor em Centímetros é: {:.3f} \nO valor em Milímetros é: {:.3f}'.format(cent , mili) )
46.5
96
0.66129
30
186
4.1
0.633333
0.170732
0.130081
0
0
0
0
0
0
0
0
0.058442
0.172043
186
4
96
46.5
0.74026
0
0
0
0
0
0.491979
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9399531d93fea60de1d898265af57697882e2c6e
14,363
py
Python
random-generator/outbreak_simulator.py
Aiky30/generic-hospital-movement-and-disease-random-data-generator
8923f019554c552a46effbc5deb00366c85cbe36
[ "MIT" ]
null
null
null
random-generator/outbreak_simulator.py
Aiky30/generic-hospital-movement-and-disease-random-data-generator
8923f019554c552a46effbc5deb00366c85cbe36
[ "MIT" ]
null
null
null
random-generator/outbreak_simulator.py
Aiky30/generic-hospital-movement-and-disease-random-data-generator
8923f019554c552a46effbc5deb00366c85cbe36
[ "MIT" ]
null
null
null
from config import * from models import * import random import csv import radar from dateutil.relativedelta import relativedelta # TODO: Need the time that the overlap occured to better add an isolate date!! # FIXME: Should be an external package!! def two_date_blocks_overlap(master_start, master_end, test_start, ...
37.209845
133
0.61547
1,539
14,363
5.471735
0.17219
0.035625
0.016031
0.00855
0.288564
0.228951
0.201401
0.182876
0.172426
0.152713
0
0.002271
0.325489
14,363
385
134
37.306494
0.866949
0.179071
0
0.205882
0
0
0.062111
0.003737
0
0
0
0.01039
0
1
0.073529
false
0
0.029412
0.004902
0.176471
0.053922
0
0
0
null
0
0
0
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
939a2b7b9453b6b17a27468a1f2d4a625986b187
1,296
py
Python
gammapy/scripts/irf_root_to_fits.py
joleroi/gammapy
c4e0c4bd74c79d30e0837559d18b7a1a269f70d9
[ "BSD-3-Clause" ]
null
null
null
gammapy/scripts/irf_root_to_fits.py
joleroi/gammapy
c4e0c4bd74c79d30e0837559d18b7a1a269f70d9
[ "BSD-3-Clause" ]
null
null
null
gammapy/scripts/irf_root_to_fits.py
joleroi/gammapy
c4e0c4bd74c79d30e0837559d18b7a1a269f70d9
[ "BSD-3-Clause" ]
null
null
null
# Licensed under a 3-clause BSD style license - see LICENSE.rst from __future__ import (absolute_import, division, print_function, unicode_literals) from ..utils.scripts import get_parser __all__ = ['irf_root_to_fits'] # TODO: rewrite and make it work for the latest CTA IRFs # TODO: make this...
36
109
0.688272
185
1,296
4.518919
0.491892
0.100478
0.083732
0.093301
0.119617
0.057416
0.057416
0
0
0
0
0.014822
0.219136
1,296
35
110
37.028571
0.811265
0.262346
0
0
0
0
0.15508
0
0
0
0
0.028571
0
1
0.105263
false
0
0.210526
0
0.315789
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
93a07f6f2f4474cebd1abd3248c70c4e14c32cc3
519
py
Python
settings.py
INTERPOL-Innovation-Centre/GraphSense-Maltego-transform
2a9b352289ab64903a7012c5d84cb4c6d8172ade
[ "MIT" ]
null
null
null
settings.py
INTERPOL-Innovation-Centre/GraphSense-Maltego-transform
2a9b352289ab64903a7012c5d84cb4c6d8172ade
[ "MIT" ]
1
2022-03-03T12:29:52.000Z
2022-03-03T12:30:09.000Z
settings.py
INTERPOL-Innovation-Centre/GraphSense-Maltego-transform
2a9b352289ab64903a7012c5d84cb4c6d8172ade
[ "MIT" ]
null
null
null
# settings.py from maltego_trx.decorator_registry import TransformSetting api_key_setting = TransformSetting(name='api_key', display_name='API Key', setting_type='string', global_setting=True) api_url_setting = Tra...
47.181818
59
0.489403
43
519
5.581395
0.44186
0.116667
0.108333
0.25
0
0
0
0
0
0
0
0
0.44316
519
11
60
47.181818
0.83045
0.021195
0
0.222222
0
0
0.072978
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
93aba0a4300f8fcbc22e068f3171d183c238b5a4
5,497
py
Python
unitTesting/kineromeo.py
florent-lamiraux/sot-dynamic-pinocchio
04bb7bda2e4d817ab85dbcd9b41330bf97ef4f12
[ "BSD-2-Clause" ]
6
2019-03-07T14:17:32.000Z
2022-01-23T12:53:47.000Z
unitTesting/kineromeo.py
florent-lamiraux/sot-dynamic-pinocchio
04bb7bda2e4d817ab85dbcd9b41330bf97ef4f12
[ "BSD-2-Clause" ]
42
2015-04-21T11:59:42.000Z
2021-08-18T11:29:54.000Z
unitTesting/kineromeo.py
florent-lamiraux/sot-dynamic-pinocchio
04bb7bda2e4d817ab85dbcd9b41330bf97ef4f12
[ "BSD-2-Clause" ]
24
2015-04-13T11:12:17.000Z
2021-01-23T08:23:58.000Z
# flake8: noqa # ______________________________________________________________________________ # ****************************************************************************** # # The simplest robot task: Just go and reach a point # # ______________________________________________________________________________ # ***...
32.335294
101
0.465345
463
5,497
5.161987
0.401728
0.010879
0.040167
0.039749
0.089121
0.059414
0.035146
0.035146
0.035146
0.012552
0
0.03334
0.116063
5,497
169
102
32.526627
0.458531
0.521921
0
0.30303
0
0
0.055922
0.024466
0
0
0
0.005917
0
1
0.010101
false
0
0.080808
0
0.090909
0.010101
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
93ae0cf454c4ca0564f0718e351f8aa04c6552fe
252
py
Python
simple_signal.py
LingboTang/LearningFiles
efe3174dd7700d1f39851d9d813929425b4e473f
[ "Apache-2.0" ]
null
null
null
simple_signal.py
LingboTang/LearningFiles
efe3174dd7700d1f39851d9d813929425b4e473f
[ "Apache-2.0" ]
null
null
null
simple_signal.py
LingboTang/LearningFiles
efe3174dd7700d1f39851d9d813929425b4e473f
[ "Apache-2.0" ]
null
null
null
import sys import os import time try: while True: print("I'm infinite, come and get me!") os.system("python myParsePDB.py -i BP1.pdb -o BP1_testout.pdb -a 2 -s 2 -m 2 -t 0") except KeyboardInterrupt: print("Ctrl + C mother fucker!") sys.exit(0)
22.909091
85
0.694444
47
252
3.702128
0.744681
0
0
0
0
0
0
0
0
0
0
0.033654
0.174603
252
11
86
22.909091
0.802885
0
0
0
0
0.1
0.486166
0
0
0
0
0
0
1
0
true
0
0.3
0
0.3
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
1
0
0
0
0
0
0
1
93b0f50862d4196bade972920509392b6798a81a
260
py
Python
scheduled_tasks/urls.py
aucoeur/WeVoteServer
7b30bdbb59d6e0c19abc81237aa42fba7de1a432
[ "MIT" ]
44
2015-11-19T04:52:39.000Z
2021-03-17T02:08:26.000Z
scheduled_tasks/urls.py
aucoeur/WeVoteServer
7b30bdbb59d6e0c19abc81237aa42fba7de1a432
[ "MIT" ]
748
2015-09-03T04:18:33.000Z
2022-03-10T14:08:10.000Z
scheduled_tasks/urls.py
aucoeur/WeVoteServer
7b30bdbb59d6e0c19abc81237aa42fba7de1a432
[ "MIT" ]
145
2015-09-19T10:10:44.000Z
2022-03-04T21:01:12.000Z
# scheduled_tasks/urls.py # Brought to you by We Vote. Be good. # -*- coding: UTF-8 -*- from django.conf.urls import re_path from . import views_admin urlpatterns = [ re_path(r'^task_list/$', views_admin.scheduled_tasks_list_view, name='task_list'), ]
20
86
0.715385
41
260
4.292683
0.707317
0.159091
0
0
0
0
0
0
0
0
0
0.004525
0.15
260
12
87
21.666667
0.791855
0.311538
0
0
0
0
0.12
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
93ba67084a58330702d9235610b34f3ec108e759
229
py
Python
bin/convert_stata.py
chrisroederucdenver/Kao-Harmonization-Release
1a90db58cd378244a8aba138e27f049376045729
[ "Apache-2.0" ]
null
null
null
bin/convert_stata.py
chrisroederucdenver/Kao-Harmonization-Release
1a90db58cd378244a8aba138e27f049376045729
[ "Apache-2.0" ]
null
null
null
bin/convert_stata.py
chrisroederucdenver/Kao-Harmonization-Release
1a90db58cd378244a8aba138e27f049376045729
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # convert_stata.py <file.dta> # # croeder 10/2017 import sys import re import pandas as pd FILE=sys.argv[1] OUTFILE=re.sub('.dta', '.csv', FILE) data = pd.io.stata.read_stata(FILE) data.to_csv(OUTFILE)
14.3125
36
0.707424
41
229
3.878049
0.658537
0.100629
0
0
0
0
0
0
0
0
0
0.04
0.126638
229
15
37
15.266667
0.755
0.283843
0
0
0
0
0.05
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
93cbc7cc90c6f3096e188e7c385fd2639b51b397
339
py
Python
bot/webgram/config.py
yassirgani/beardrive
0b558e88868b96810e384e507963dd692b76af94
[ "MIT" ]
null
null
null
bot/webgram/config.py
yassirgani/beardrive
0b558e88868b96810e384e507963dd692b76af94
[ "MIT" ]
null
null
null
bot/webgram/config.py
yassirgani/beardrive
0b558e88868b96810e384e507963dd692b76af94
[ "MIT" ]
null
null
null
import os class Config: class config: APP_ID = 1540699 API_HASH = "ca5b7460fe9f242bf5e0e7ed2f4d1001" BOT_TOKEN = "2070126389:AAHSq1zn9gpZBeq4L3BzHhSBphVOvBbgKLU" channel = 'rocketworld' ROOT_URI = f"http://tgdr989.herokuapp.com" ...
19.941176
68
0.587021
27
339
7.222222
0.925926
0.112821
0
0
0
0
0
0
0
0
0
0.192825
0.342183
339
16
69
21.1875
0.681614
0
0
0
0
0
0.356932
0.230089
0
0
0
0
0
1
0
false
0
0.111111
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
93f89c8842f72e73e2caa3df3d5e9052068ec759
191
py
Python
Language_Proficiency/Python/13_Regex_and_Parsing/09_hex-color-code-English.py
canbecerik/HackerRank_solutions
7f90a145fed29103401be94adc069a2731926d26
[ "MIT" ]
1
2020-04-20T10:27:37.000Z
2020-04-20T10:27:37.000Z
Language_Proficiency/Python/13_Regex_and_Parsing/09_hex-color-code-English.py
canbecerik/HackerRank_solutions
7f90a145fed29103401be94adc069a2731926d26
[ "MIT" ]
null
null
null
Language_Proficiency/Python/13_Regex_and_Parsing/09_hex-color-code-English.py
canbecerik/HackerRank_solutions
7f90a145fed29103401be94adc069a2731926d26
[ "MIT" ]
null
null
null
import re N = int(input()) regex = r"(?<!^)(#(?:[\da-f]{3}){1,2})" for _ in range(N): matches = re.findall(regex, input(), flags=re.I) print(*matches, sep='\n') if matches else next
23.875
52
0.565445
32
191
3.34375
0.75
0
0
0
0
0
0
0
0
0
0
0.018868
0.167539
191
8
53
23.875
0.654088
0
0
0
0
0
0.15625
0.145833
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
93fb86aec37c8ff6bc1b0cc7b5508b5e27f1228a
12,476
py
Python
pysnmp-with-texts/RFC1406Ext-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/RFC1406Ext-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/RFC1406Ext-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module RFC1406Ext-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/RFC1406Ext-MIB # Produced by pysmi-0.3.4 at Wed May 1 14:56:59 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2...
164.157895
894
0.785027
1,572
12,476
6.23028
0.20229
0.04901
0.085767
0.008168
0.514192
0.390035
0.32571
0.288748
0.255156
0.243721
0
0.071907
0.102677
12,476
75
895
166.346667
0.802948
0.02581
0
0
0
0.191176
0.401564
0.003623
0
0
0
0
0
1
0
false
0.044118
0.102941
0
0.102941
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
93fe08a6e216fdd75cb34ba83634744228d6178b
2,871
py
Python
Lectures_Codes/examples-03/lecture03/sequences.py
MichalKyjovsky/NPRG065_Programing_in_Python
14436fbf8f0e547ab084083135a84c8ae49e083c
[ "MIT" ]
null
null
null
Lectures_Codes/examples-03/lecture03/sequences.py
MichalKyjovsky/NPRG065_Programing_in_Python
14436fbf8f0e547ab084083135a84c8ae49e083c
[ "MIT" ]
null
null
null
Lectures_Codes/examples-03/lecture03/sequences.py
MichalKyjovsky/NPRG065_Programing_in_Python
14436fbf8f0e547ab084083135a84c8ae49e083c
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # let's create several lists alist1 = [1, 2, 3, 4, 5] alist2 = ['a', 'b', 'c', 'd', 'e'] alist3 = [] # empty list alist4 = list() # Also creates an empty list. As an argument, anything iterable can be used and a list is created from it. print(len(alist1)) # The buil...
32.625
152
0.688262
454
2,871
4.343612
0.376652
0.050203
0.040568
0.004057
0.029412
0.029412
0.029412
0
0
0
0
0.036662
0.173459
2,871
87
153
33
0.794353
0.453152
0
0.145833
0
0
0.267359
0
0
0
0
0
0
1
0
false
0
0
0
0
0.520833
0
0
0
null
0
0
0
0
0
0
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
9e04c5d1908c0ae941829815c0c20628c2a29458
254
py
Python
src/core/models/User.py
vss365today/admin
0d7b9b7c2a6b689c5b4fd24faf581bc3954b6b68
[ "MIT" ]
null
null
null
src/core/models/User.py
vss365today/admin
0d7b9b7c2a6b689c5b4fd24faf581bc3954b6b68
[ "MIT" ]
1
2021-07-22T00:25:48.000Z
2021-07-22T00:25:48.000Z
src/core/models/User.py
le717/vss365today-admin
909a7d5579d61c5c43644bd373a5e0ac51e256d7
[ "MIT" ]
null
null
null
from dataclasses import InitVar, dataclass __all__ = ["User"] @dataclass class User: username: str is_superuser: bool date_last_login: str # Do not store the token. We'll do that in the other model api_token: InitVar[str] = None
16.933333
62
0.69685
37
254
4.567568
0.783784
0
0
0
0
0
0
0
0
0
0
0
0.232283
254
14
63
18.142857
0.866667
0.220472
0
0
0
0
0.020408
0
0
0
0
0
0
1
0
false
0
0.125
0
0.75
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