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
bad31635f08436ee2a866d2a03d49721eb7a8118
603
py
Python
discord_key_bot/colours.py
gadogttas/discord-key-bot
230cbc1ea90cb751cc113b3ad12b3794a9ed162d
[ "Unlicense" ]
1
2021-12-01T05:33:47.000Z
2021-12-01T05:33:47.000Z
discord_key_bot/colours.py
bayangan1991/discord-key-bot
e1ed7d23d639cc04163c0af7d32a02134c95e930
[ "Unlicense" ]
null
null
null
discord_key_bot/colours.py
bayangan1991/discord-key-bot
e1ed7d23d639cc04163c0af7d32a02134c95e930
[ "Unlicense" ]
1
2021-11-06T22:07:40.000Z
2021-11-06T22:07:40.000Z
from enum import IntEnum, unique @unique class Colours(IntEnum): DEFAULT = 0 AQUA = 1752220 GREEN = 3066993 BLUE = 3447003 PURPLE = 10181046 GOLD = 15844367 ORANGE = 15105570 RED = 15158332 GREY = 9807270 DARKER_GREY = 8359053 NAVY = 3426654 DARK_AQUA = 1146986 DARK...
20.793103
34
0.669983
70
603
5.557143
0.657143
0.046272
0
0
0
0
0
0
0
0
0
0.381944
0.283582
603
28
35
21.535714
0.518519
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.038462
0
0.961538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
baea3b2f8575034be19e0d6d559722c78a729f7c
188
py
Python
sudkampPython/turingMachAlgs.py
thundergolfer/sudkamp-langs-machines-python
04e07758464891dd9815a9578cf158638bab8f24
[ "MIT" ]
8
2016-08-21T10:28:35.000Z
2017-05-30T12:33:50.000Z
sudkampPython/turingMachAlgs.py
thundergolfer/sudkamp-langs-machines-python
04e07758464891dd9815a9578cf158638bab8f24
[ "MIT" ]
1
2018-02-27T05:10:19.000Z
2018-02-27T05:10:19.000Z
sudkampPython/turingMachAlgs.py
thundergolfer/sudkamp-langs-machines-python
04e07758464891dd9815a9578cf158638bab8f24
[ "MIT" ]
null
null
null
import turingMachines def recursiveSimulationOfNDTM( ndtm, w, configurations, constant, s_n ): raise NotImplementedError
26.857143
47
0.542553
12
188
8.416667
1
0
0
0
0
0
0
0
0
0
0
0
0.420213
188
6
48
31.333333
0.926606
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
bafbd573e6799db93aad7945d6800b943fd0c309
189
py
Python
keep_alive.py
LeoATX/blackjack-bot
c4067bf590cbc7f61a25b0fb8447b9fae79d280f
[ "MIT" ]
null
null
null
keep_alive.py
LeoATX/blackjack-bot
c4067bf590cbc7f61a25b0fb8447b9fae79d280f
[ "MIT" ]
null
null
null
keep_alive.py
LeoATX/blackjack-bot
c4067bf590cbc7f61a25b0fb8447b9fae79d280f
[ "MIT" ]
null
null
null
import flask import threading app = flask.Flask('main.py') @app.route('/') def index(): return flask.render_template("index.html") t = threading.Thread(target=app.run()) t.start()
13.5
46
0.687831
27
189
4.777778
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.132275
189
13
47
14.538462
0.786585
0
0
0
0
0
0.095238
0
0
0
0
0
0
1
0.125
false
0
0.25
0.125
0.5
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
1
0
0
0
2
240e999c966fd2219adea6ecbd775e1f4a9b09ec
306
py
Python
4. RPA Challenge - Json Parsing/libraries/MyLibrary.py
antusystem/Uipath-Challenges-with-Robocorp
a7e91a3954aa1542b3e452b5d2a9690791834eb7
[ "MIT" ]
1
2021-10-31T19:21:14.000Z
2021-10-31T19:21:14.000Z
4. RPA Challenge - Json Parsing/libraries/MyLibrary.py
antusystem/Uipath-Challenges-with-Robocorp
a7e91a3954aa1542b3e452b5d2a9690791834eb7
[ "MIT" ]
null
null
null
4. RPA Challenge - Json Parsing/libraries/MyLibrary.py
antusystem/Uipath-Challenges-with-Robocorp
a7e91a3954aa1542b3e452b5d2a9690791834eb7
[ "MIT" ]
null
null
null
from robot.api import logger class MyLibrary: """Give this library a proper name and document it.""" def example_python_keyword(self): logger.info("This is Python!") def Tipo(self, var): print("La variable es: ", var) print("El tipo de la variable es: ", type(var))
23.538462
58
0.633987
44
306
4.363636
0.727273
0.083333
0.125
0
0
0
0
0
0
0
0
0
0.248366
306
12
59
25.5
0.834783
0.156863
0
0
0
0
0.230159
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.571429
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
1
0
0
2
241bc7702cb56affbc662f5ebb938c50e4bb694b
3,922
py
Python
cinder/volume/drivers/violin/vxg/vshare/igroup.py
rlucio/cinder-violin-driver-icehouse
1632bf1bdf67f7e26a586c819dd836f6541c4f3d
[ "Apache-2.0" ]
null
null
null
cinder/volume/drivers/violin/vxg/vshare/igroup.py
rlucio/cinder-violin-driver-icehouse
1632bf1bdf67f7e26a586c819dd836f6541c4f3d
[ "Apache-2.0" ]
1
2021-01-12T23:22:22.000Z
2021-01-12T23:22:22.000Z
cinder/volume/drivers/violin/vxg/vshare/igroup.py
rlucio/cinder-violin-driver-icehouse
1632bf1bdf67f7e26a586c819dd836f6541c4f3d
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2013 Violin Memory, 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 # # ...
27.619718
78
0.59536
430
3,922
5.283721
0.316279
0.044014
0.044894
0.046215
0.465669
0.440141
0.440141
0.408451
0.333627
0.333627
0
0.005891
0.307496
3,922
141
79
27.815603
0.830633
0.359001
0
0.333333
0
0
0.095761
0
0
0
0
0
0
1
0.25
false
0
0.055556
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
241c932f8d6884657a5776df61573b2c75265623
1,062
py
Python
TWT/apps/challenges/views/__init__.py
avibn/twtcodejam.net
938b9a536dc6407dd86651697abde4f167fc52a8
[ "MIT" ]
null
null
null
TWT/apps/challenges/views/__init__.py
avibn/twtcodejam.net
938b9a536dc6407dd86651697abde4f167fc52a8
[ "MIT" ]
null
null
null
TWT/apps/challenges/views/__init__.py
avibn/twtcodejam.net
938b9a536dc6407dd86651697abde4f167fc52a8
[ "MIT" ]
null
null
null
from .home import HomeView from .logout import LogoutView from .new import NewChallengeView from .view import DetailView from .test import TestView from .end import EndView from .start import StartView from .stop_team import StopTeams from .start_submission import StartSubmission from .stop_submission import StopSubmis...
34.258065
45
0.826742
142
1,062
5.950704
0.246479
0.106509
0.039053
0
0
0
0
0
0
0
0
0
0.101695
1,062
31
46
34.258065
0.885744
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.516129
0
0.516129
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
241e95009d78fdfb77d3e61f1604105036f0346c
22,564
py
Python
tests/test_tokenizer.py
cd109/scrappybara
691385e3eb18eac4c5bec58950166b4c03c75a4b
[ "MIT" ]
null
null
null
tests/test_tokenizer.py
cd109/scrappybara
691385e3eb18eac4c5bec58950166b4c03c75a4b
[ "MIT" ]
null
null
null
tests/test_tokenizer.py
cd109/scrappybara
691385e3eb18eac4c5bec58950166b4c03c75a4b
[ "MIT" ]
1
2020-10-20T03:36:59.000Z
2020-10-20T03:36:59.000Z
import unittest from scrappybara.preprocessing.tokenizer import Tokenizer _TOKENIZE = Tokenizer() class TestTokenizer(unittest.TestCase): # BLOCKS # --------------------------------------------------------------------------> def test_indirect_speech_blocks(self): self.assertEqual('Well , he sa...
62.15978
119
0.613056
2,811
22,564
4.803629
0.126645
0.285492
0.05347
0.017922
0.605939
0.561061
0.533733
0.507221
0.450641
0.448271
0
0.019866
0.183522
22,564
362
120
62.331492
0.71237
0.011434
0
0.07767
0
0.035599
0.322361
0.010046
0
0
0
0
0.831715
1
0.122977
false
0
0.006472
0
0.132686
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
1
0
0
0
0
0
0
0
0
0
2
242341e9e1bf59a4615a25a30a10f10f8226a2f1
3,033
py
Python
python/tests/test_Board.py
klenium/tetris
ddd51715cc796da9cffef107572a2e24a5b2487a
[ "MIT" ]
2
2021-05-11T17:56:13.000Z
2021-11-01T23:14:32.000Z
python/tests/test_Board.py
klenium/tetris
ddd51715cc796da9cffef107572a2e24a5b2487a
[ "MIT" ]
11
2018-09-09T11:56:01.000Z
2019-04-20T13:58:21.000Z
python/tests/test_Board.py
klenium/tetris
ddd51715cc796da9cffef107572a2e24a5b2487a
[ "MIT" ]
1
2020-10-09T03:04:56.000Z
2020-10-09T03:04:56.000Z
import unittest import tests.helpers.util as util from tetris.logic.board.Board import Board from tetris.logic.tetromino.Tetromino import Tetromino from tetris.util.containers import Dimension class BoardTest(unittest.TestCase): def setUp(self): self.board = Board(Dimension(5, 4)) def test_new_board_...
31.268041
75
0.553907
305
3,033
5.265574
0.193443
0.280199
0.11208
0.162516
0.663761
0.62142
0.515567
0.433375
0.433375
0.311333
0
0.008372
0.291131
3,033
96
76
31.59375
0.738605
0.006924
0
0.621951
0
0
0.053387
0
0
0
0
0
0.073171
1
0.109756
false
0
0.060976
0
0.182927
0
0
0
0
null
1
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
2
2424da7f928544695c3b2c6c130e8eb4a39499bb
317
py
Python
evaluation_framework/constants.py
mozjay0619/ml-evaluation-framework
ab2ba55e8f4c94dd097b283aa0bce3c2854ed4e4
[ "BSD-3-Clause" ]
null
null
null
evaluation_framework/constants.py
mozjay0619/ml-evaluation-framework
ab2ba55e8f4c94dd097b283aa0bce3c2854ed4e4
[ "BSD-3-Clause" ]
null
null
null
evaluation_framework/constants.py
mozjay0619/ml-evaluation-framework
ab2ba55e8f4c94dd097b283aa0bce3c2854ed4e4
[ "BSD-3-Clause" ]
null
null
null
EF_UUID_NAME = "__specialEF__float32_UUID" EF_ORDERBY_NAME = "__specialEF__int32_dayDiff" EF_PREDICTION_NAME = "__specialEF__float32_predictions" EF_DUMMY_GROUP_COLUMN_NAME = "__specialEF__dummy_group" HMF_MEMMAP_MAP_NAME = "__specialHMF__memmapMap" HMF_GROUPBY_NAME = "__specialHMF__groupByNumericEncoder"
24.384615
56
0.85489
37
317
6.162162
0.540541
0.22807
0.175439
0
0
0
0
0
0
0
0
0.020761
0.088328
317
12
57
26.416667
0.768166
0
0
0
0
0
0.52381
0.52381
0
0
0
0
0
1
0
false
0
0
0
0
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
24599a876589f733a760def95d71230317d3305f
11,964
py
Python
pysnmp/Wellfleet-FNTS-ATM-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/Wellfleet-FNTS-ATM-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/Wellfleet-FNTS-ATM-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 Wellfleet-FNTS-ATM-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Wellfleet-FNTS-ATM-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 21:33:28 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (d...
130.043478
1,582
0.765714
1,326
11,964
6.908748
0.137255
0.008951
0.012444
0.016592
0.477022
0.380635
0.271477
0.253357
0.253357
0.238511
0
0.073241
0.0779
11,964
91
1,583
131.472527
0.757161
0.028251
0
0
0
0
0.122062
0.009469
0
0
0
0
0
1
0
false
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
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
24654b29f775cf7531e441acc1b26e8d1235f77b
524
py
Python
tartiflette_middleware/middleware.py
daveoconnor/tartiflette-middleware
f7ae1833156ec920703312dd4c10f9815e0de263
[ "MIT" ]
null
null
null
tartiflette_middleware/middleware.py
daveoconnor/tartiflette-middleware
f7ae1833156ec920703312dd4c10f9815e0de263
[ "MIT" ]
null
null
null
tartiflette_middleware/middleware.py
daveoconnor/tartiflette-middleware
f7ae1833156ec920703312dd4c10f9815e0de263
[ "MIT" ]
null
null
null
class Middleware: def __init__(self, context_manager, server_middleware): """ :param BaseMiddleware Your custom middleware :param package Middleware from the middleware package """ self._service = context_manager self._middleware = server_middleware.get_hooks_service_...
27.578947
74
0.660305
51
524
6.470588
0.392157
0.1
0.115152
0.133333
0
0
0
0
0
0
0
0
0.274809
524
18
75
29.111111
0.868421
0.187023
0
0.166667
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0.166667
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
246ad5806211abe8d32f41ca908a5744b6021779
147
py
Python
Squaring Spiral.py
Pallav277/Python_Turtle_Graphics
3e0d4fd6160b0aa5fbde8757051a85a81b7652d9
[ "Apache-2.0" ]
null
null
null
Squaring Spiral.py
Pallav277/Python_Turtle_Graphics
3e0d4fd6160b0aa5fbde8757051a85a81b7652d9
[ "Apache-2.0" ]
null
null
null
Squaring Spiral.py
Pallav277/Python_Turtle_Graphics
3e0d4fd6160b0aa5fbde8757051a85a81b7652d9
[ "Apache-2.0" ]
null
null
null
import turtle turtle.bgcolor("black") sq = turtle.Turtle() sq.speed(20) sq.color("white") for i in range(500): sq.forward(i) sq.left(91)
13.363636
23
0.659864
25
147
3.88
0.68
0.247423
0
0
0
0
0
0
0
0
0
0.056911
0.163265
147
10
24
14.7
0.731707
0
0
0
0
0
0.068027
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
1
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
2
79f43a8f6884032a20fe0a60cced7538e505cc13
2,059
py
Python
tests/test_intset.py
popravich/rdbtools3
c2b097f58e7d3a3b12e6671aa413c263c1fb96cf
[ "MIT" ]
3
2016-01-12T23:14:47.000Z
2019-07-10T05:36:22.000Z
tests/test_intset.py
popravich/rdbtools3
c2b097f58e7d3a3b12e6671aa413c263c1fb96cf
[ "MIT" ]
null
null
null
tests/test_intset.py
popravich/rdbtools3
c2b097f58e7d3a3b12e6671aa413c263c1fb96cf
[ "MIT" ]
null
null
null
import unittest from rdbtools3.intset import unpack_intset from rdbtools3.exceptions import RDBValueError class TestIntset(unittest.TestCase): def test_3x2bytes(self): val = (b'\x02\x00\x00\x00' # int size b'\x03\x00\x00\x00' # set length b'\x01\x00' # item 1 ...
30.279412
70
0.507528
253
2,059
4.031621
0.221344
0.258824
0.229412
0.107843
0.629412
0.608824
0.551961
0.493137
0.432353
0.394118
0
0.150376
0.354055
2,059
67
71
30.731343
0.616541
0.019427
0
0.464286
0
0
0.23994
0.031793
0
0
0.00149
0
0.142857
1
0.107143
false
0
0.053571
0
0.178571
0
0
0
0
null
1
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
2
031c1bbdf2907809a6800767549c8b50f9abcffc
1,660
py
Python
api/test/test_authentication/test_authentication.py
ghalonso94/wswallet
8f1f13a0d646166adad45b3872c2db6558d48f38
[ "MIT" ]
null
null
null
api/test/test_authentication/test_authentication.py
ghalonso94/wswallet
8f1f13a0d646166adad45b3872c2db6558d48f38
[ "MIT" ]
null
null
null
api/test/test_authentication/test_authentication.py
ghalonso94/wswallet
8f1f13a0d646166adad45b3872c2db6558d48f38
[ "MIT" ]
null
null
null
from django.contrib.auth.models import User from django.urls import reverse from rest_framework import status from rest_framework.test import APITestCase from django.contrib.auth import authenticate class AuthenticationUserTestCase(APITestCase): def setUp(self): self.list_url = reverse('Company-list') ...
44.864865
77
0.735542
200
1,660
5.925
0.29
0.03038
0.027848
0.081013
0.496203
0.462447
0.462447
0.374684
0.374684
0.374684
0
0.006545
0.171687
1,660
37
78
44.864865
0.855273
0.136747
0
0.16
0
0
0.02983
0
0
0
0
0
0.2
1
0.24
false
0.2
0.2
0
0.48
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
0321382973833ce42d92bf1b5c63c3c37fe27281
1,473
py
Python
tweet/migrations/0002_auto_20190801_1335.py
destro6984/Twitecs
9df81fd217107cd3437d15f9b49b6985a909ae14
[ "MIT" ]
null
null
null
tweet/migrations/0002_auto_20190801_1335.py
destro6984/Twitecs
9df81fd217107cd3437d15f9b49b6985a909ae14
[ "MIT" ]
12
2019-10-29T18:55:35.000Z
2022-02-10T10:04:36.000Z
tweet/migrations/0002_auto_20190801_1335.py
destro6984/Twitecs
9df81fd217107cd3437d15f9b49b6985a909ae14
[ "MIT" ]
null
null
null
# Generated by Django 2.2.3 on 2019-08-01 13:35 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('tweet', '0001_initial'), migrations.swappable_dependency(settin...
33.477273
135
0.633401
162
1,473
5.598765
0.277778
0.061742
0.092613
0.145535
0.632856
0.632856
0.632856
0.632856
0.632856
0.632856
0
0.01721
0.250509
1,473
43
136
34.255814
0.804348
0.03055
0
0.444444
1
0
0.077139
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.194444
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0321d19423a315e4931f710e342abdee508698ef
545
py
Python
iroko/records/marshmallow/__init__.py
tocororo/iroko
e1cf08bbd565178c2d60244719aad6d288b48363
[ "MIT" ]
null
null
null
iroko/records/marshmallow/__init__.py
tocororo/iroko
e1cf08bbd565178c2d60244719aad6d288b48363
[ "MIT" ]
14
2021-02-02T22:47:27.000Z
2021-12-22T18:39:46.000Z
iroko/records/marshmallow/__init__.py
tocororo/iroko
e1cf08bbd565178c2d60244719aad6d288b48363
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2021. Universidad de Pinar del Rio # This file is part of SCEIBA (sceiba.cu). # SCEIBA is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. # """Schemas for marshmallow.""" from __future__ impo...
32.058824
94
0.759633
66
545
6.121212
0.757576
0
0
0
0
0
0
0
0
0
0
0.027957
0.146789
545
16
95
34.0625
0.84086
0.510092
0
0
0
0
0.265625
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
032b982d116fea61d2d02e4210388792536137b0
113
py
Python
Q03__/51_Android_Unlock_Patterns/test.py
hsclinical/leetcode
48a57f6a5d5745199c5685cd2c8f5c4fa293e54a
[ "Apache-2.0" ]
null
null
null
Q03__/51_Android_Unlock_Patterns/test.py
hsclinical/leetcode
48a57f6a5d5745199c5685cd2c8f5c4fa293e54a
[ "Apache-2.0" ]
null
null
null
Q03__/51_Android_Unlock_Patterns/test.py
hsclinical/leetcode
48a57f6a5d5745199c5685cd2c8f5c4fa293e54a
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python from Solution import Solution obj = Solution() A = 1 B = 9 print(obj.numberOfPatterns(A, B))
12.555556
33
0.699115
18
113
4.388889
0.722222
0
0
0
0
0
0
0
0
0
0
0.021053
0.159292
113
9
33
12.555556
0.810526
0.141593
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
033abf5e8250b0746a37f8b779c20ccb2929c825
4,385
py
Python
dglib/modules/sampler.py
billzhonggz/Transfer-Learning-Library
d7a6e4298e571d5101e05515a2ab1f171160ef89
[ "MIT" ]
1,474
2020-07-24T02:55:55.000Z
2022-03-31T12:35:56.000Z
dglib/modules/sampler.py
mxliu/Transfer-Learning-Library
7b0ccb3a8087ecc65daf4b1e815e5a3f42106641
[ "MIT" ]
70
2020-08-05T10:47:33.000Z
2022-03-31T03:48:54.000Z
dglib/modules/sampler.py
mxliu/Transfer-Learning-Library
7b0ccb3a8087ecc65daf4b1e815e5a3f42106641
[ "MIT" ]
312
2020-08-01T11:08:39.000Z
2022-03-30T06:03:47.000Z
""" @author: Baixu Chen @contact: cbx_99_hasta@outlook.com """ import random import copy import numpy as np from torch.utils.data.dataset import ConcatDataset from torch.utils.data.sampler import Sampler class DefaultSampler(Sampler): r"""Traverse all :math:`N` domains, randomly select :math:`K` samples in each d...
38.464912
120
0.65496
574
4,385
4.646341
0.165505
0.077615
0.07874
0.112486
0.816648
0.748406
0.673416
0.648669
0.591676
0.56243
0
0.001863
0.26545
4,385
113
121
38.80531
0.826141
0.16488
0
0.64
0
0
0
0
0
0
0
0
0.04
1
0.08
false
0
0.066667
0.026667
0.226667
0
0
0
0
null
0
0
0
1
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
2
034307386c24988a91f1bd8dccaf719175b5c671
217
py
Python
pypay/interfaces/PayInterface.py
huangxingx/pypay
4f854554f14593c060d13dc00dfc894f24e60a2c
[ "MIT" ]
1
2019-05-28T09:04:34.000Z
2019-05-28T09:04:34.000Z
pypay/interfaces/PayInterface.py
huangxingx/pypay
4f854554f14593c060d13dc00dfc894f24e60a2c
[ "MIT" ]
null
null
null
pypay/interfaces/PayInterface.py
huangxingx/pypay
4f854554f14593c060d13dc00dfc894f24e60a2c
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # @author: x.huang # @date:29/05/19 import abc class PayInterface(metaclass=abc.ABCMeta): @abc.abstractmethod def pay(self, endpoint, payload): pass
13.5625
42
0.635945
29
217
4.758621
0.931034
0
0
0
0
0
0
0
0
0
0
0.040462
0.202765
217
15
43
14.466667
0.757225
0.341014
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0.2
0.2
0
0.6
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
1
0
0
0
0
0
2
034c61f2ec91791e279171ab1057dcc1dc8de021
315
py
Python
restapi/project/urls.py
shuvro/docker-django-postgres-pgadmin
75c03739345a8cc03b9ec25a2773edbe327bab23
[ "MIT" ]
1
2022-02-15T02:08:26.000Z
2022-02-15T02:08:26.000Z
restapi/project/urls.py
shuvro/docker-django-postgres-pgadmin
75c03739345a8cc03b9ec25a2773edbe327bab23
[ "MIT" ]
null
null
null
restapi/project/urls.py
shuvro/docker-django-postgres-pgadmin
75c03739345a8cc03b9ec25a2773edbe327bab23
[ "MIT" ]
null
null
null
from django.contrib import admin from django.urls import path # See: https://docs.djangoproject.com/en/dev/ref/contrib/admin/#hooking-adminsite-instances-into-your-urlconf admin.autodiscover() # See: https://docs.djangoproject.com/en/dev/topics/http/urls/ urlpatterns = [ path('admin/', admin.site.urls), ]
24.230769
109
0.752381
44
315
5.386364
0.590909
0.084388
0.101266
0.21097
0.278481
0.278481
0.278481
0
0
0
0
0
0.092063
315
12
110
26.25
0.828671
0.530159
0
0
0
0
0.041667
0
0
0
0
0
0
1
0
false
0
0.333333
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
1
0
0
0
0
2
034c768e8ff9942fe59487947e87279a28ca2e45
1,795
py
Python
alipay/aop/api/domain/AntMerchantExpandIndirectTiansuoBindModel.py
snowxmas/alipay-sdk-python-all
96870ced60facd96c5bce18d19371720cbda3317
[ "Apache-2.0" ]
213
2018-08-27T16:49:32.000Z
2021-12-29T04:34:12.000Z
alipay/aop/api/domain/AntMerchantExpandIndirectTiansuoBindModel.py
snowxmas/alipay-sdk-python-all
96870ced60facd96c5bce18d19371720cbda3317
[ "Apache-2.0" ]
29
2018-09-29T06:43:00.000Z
2021-09-02T03:27:32.000Z
alipay/aop/api/domain/AntMerchantExpandIndirectTiansuoBindModel.py
snowxmas/alipay-sdk-python-all
96870ced60facd96c5bce18d19371720cbda3317
[ "Apache-2.0" ]
59
2018-08-27T16:59:26.000Z
2022-03-25T10:08:15.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * from alipay.aop.api.domain.TiansuoIsvBindVO import TiansuoIsvBindVO class AntMerchantExpandIndirectTiansuoBindModel(object): def __init__(self): self._tiansuo_isv_bind_list = None @propert...
33.867925
93
0.643454
221
1,795
4.837104
0.230769
0.196445
0.275023
0.353602
0.445276
0.334892
0.188962
0.188962
0.145931
0.086062
0
0.00154
0.276323
1,795
52
94
34.519231
0.821401
0.023398
0
0.051282
0
0
0.064037
0.048027
0
0
0
0
0
1
0.128205
false
0
0.076923
0.025641
0.333333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0350b1c01f134ae5fd6651b2be6c408686aa20ca
271
py
Python
pytimize/programs/__init__.py
TerrayTM/pytimize
5d3508e8da4d2e6c8e52d3386b580bc300dc52d5
[ "Apache-2.0" ]
10
2020-02-24T01:52:20.000Z
2022-03-12T02:50:58.000Z
pytimize/programs/__init__.py
TerrayTM/pytimize
5d3508e8da4d2e6c8e52d3386b580bc300dc52d5
[ "Apache-2.0" ]
null
null
null
pytimize/programs/__init__.py
TerrayTM/pytimize
5d3508e8da4d2e6c8e52d3386b580bc300dc52d5
[ "Apache-2.0" ]
2
2021-10-03T22:18:47.000Z
2021-10-03T22:19:27.000Z
from ._linear import LinearProgram from ._integer import IntegerProgram from ._nonlinear import NonlinearProgram from ._unconstrained import UnconstrainedProgram __all__ = [ "LinearProgram", "IntegerProgram", "NonlinearProgram", "UnconstrainedProgram" ]
22.583333
48
0.782288
21
271
9.714286
0.52381
0
0
0
0
0
0
0
0
0
0
0
0.151292
271
11
49
24.636364
0.886957
0
0
0
0
0
0.232472
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
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
1
0
0
0
0
2
035a3527627af4d6489387bc138be77681de609c
387
py
Python
bireme/account/admin.py
bireme/feedback
118018a846afcb373451593cea1c2200e44e2057
[ "MIT", "Apache-2.0", "BSD-3-Clause" ]
null
null
null
bireme/account/admin.py
bireme/feedback
118018a846afcb373451593cea1c2200e44e2057
[ "MIT", "Apache-2.0", "BSD-3-Clause" ]
null
null
null
bireme/account/admin.py
bireme/feedback
118018a846afcb373451593cea1c2200e44e2057
[ "MIT", "Apache-2.0", "BSD-3-Clause" ]
null
null
null
from django.contrib import admin from django.contrib.auth.models import User from django.contrib.auth.admin import UserAdmin from models import UserProfile admin.site.unregister(User) class UserProfileInline(admin.StackedInline): model = UserProfile extra = 1 class UserProfileAdmin(UserAdmin): inlines = ...
25.8
47
0.79845
45
387
6.866667
0.466667
0.097087
0.165049
0.135922
0
0
0
0
0
0
0
0.002959
0.126615
387
15
48
25.8
0.911243
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.363636
0
0.818182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
0360cafecaaa9455d7d33a8861e7c648c65fee2c
9,049
py
Python
PyObjCTest/test_nsimage.py
Khan/pyobjc-framework-Cocoa
f8b015ea2a72d8d78be6084fb12925c4785b8f1f
[ "MIT" ]
132
2015-01-01T10:02:42.000Z
2022-03-09T12:51:01.000Z
mac/pyobjc-framework-Cocoa/PyObjCTest/test_nsimage.py
mba811/music-player
7998986b34cfda2244ef622adefb839331b81a81
[ "BSD-2-Clause" ]
6
2015-01-06T08:23:19.000Z
2019-03-14T12:22:06.000Z
mac/pyobjc-framework-Cocoa/PyObjCTest/test_nsimage.py
mba811/music-player
7998986b34cfda2244ef622adefb839331b81a81
[ "BSD-2-Clause" ]
27
2015-02-23T11:51:43.000Z
2022-03-07T02:34:18.000Z
from PyObjCTools.TestSupport import * import AppKit from AppKit import * try: unicode except NameError: unicode = str class TestNSImageHelper (NSObject): def image_didLoadRepresentation_withStatus_(self, i, r, s): pass def image_didLoadPartOfRepresentation_withValidRows_(self, i, r, c): pass class Te...
53.229412
121
0.766162
693
9,049
9.802309
0.300144
0.182541
0.234506
0.03533
0.079641
0.065803
0.041808
0.023848
0
0
0
0.013167
0.160681
9,049
169
122
53.544379
0.881238
0.007846
0
0.026846
0
0
0.004568
0
0
0
0
0
0.724832
1
0.080537
false
0.013423
0.020134
0
0.114094
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
03658fd44f182cf1f9d458475f8bbe4dd7239ccc
4,149
py
Python
src/vgf/lego_alpha_team/cli_main.py
Robmaister/VideoGameFormats
7676dde9ffaee036ba71526d8a09ee36474631e4
[ "MIT" ]
1
2019-07-21T17:46:28.000Z
2019-07-21T17:46:28.000Z
src/vgf/lego_alpha_team/cli_main.py
Robmaister/VideoGameFormats
7676dde9ffaee036ba71526d8a09ee36474631e4
[ "MIT" ]
null
null
null
src/vgf/lego_alpha_team/cli_main.py
Robmaister/VideoGameFormats
7676dde9ffaee036ba71526d8a09ee36474631e4
[ "MIT" ]
null
null
null
#Copyright (c) 2012 Robert Rouhani <robert.rouhani@gmail.com> # #Permission is hereby granted, free of charge, to any person obtaining a copy #of this software and associated documentation files (the "Software"), to deal #in the Software without restriction, including without limitation the rights #to use, copy, modify...
38.416667
96
0.610991
557
4,149
4.452424
0.290844
0.024194
0.047177
0.043548
0.233468
0.164113
0.143548
0.070161
0.070161
0.070161
0
0.011092
0.28296
4,149
108
97
38.416667
0.822521
0.256929
0
0.271605
0
0
0.273083
0
0
0
0
0
0
0
null
null
0
0.049383
null
null
0.432099
0
0
0
null
0
0
0
0
0
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
1
0
2
03668cf9440c38ae185dd40a3ea4d789b11c3bec
4,021
py
Python
supersaver/common/utils/datetime.py
ftkghost/SuperSaver
04d1f19c309b35b540f056ad9a4796225f97cb76
[ "BSD-2-Clause" ]
null
null
null
supersaver/common/utils/datetime.py
ftkghost/SuperSaver
04d1f19c309b35b540f056ad9a4796225f97cb76
[ "BSD-2-Clause" ]
1
2018-08-12T12:50:17.000Z
2018-08-12T12:50:17.000Z
supersaver/common/utils/datetime.py
ftkghost/SuperSaver
04d1f19c309b35b540f056ad9a4796225f97cb76
[ "BSD-2-Clause" ]
null
null
null
from datetime import tzinfo, timedelta, datetime from dateutil.zoneinfo import getzoneinfofile_stream, ZoneInfoFile class GeneralTZ(tzinfo): """ General timezone with hour offset. """ def __init__(self, hour_offset): self.hour_offset = hour_offset def __repr__(self): return "<TZ{0...
29.785185
113
0.730415
550
4,021
5.045455
0.203636
0.067387
0.075315
0.036036
0.476396
0.434234
0.381261
0.277477
0.225586
0.225586
0
0.015897
0.170853
4,021
134
114
30.007463
0.816437
0.082069
0
0.207792
0
0
0.016795
0
0
0
0
0
0
1
0.298701
false
0
0.025974
0.168831
0.649351
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
0
2
cee03ee940c42f68705300b559b5bd61f2b1d992
99,800
py
Python
pysnmp/A3COM-HUAWEI-IFQOS2-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/A3COM-HUAWEI-IFQOS2-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/A3COM-HUAWEI-IFQOS2-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 A3COM-HUAWEI-IFQOS2-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/A3COM-HUAWEI-IFQOS2-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 16:50:28 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 ...
139.191074
13,431
0.752555
11,763
99,800
6.384681
0.050072
0.012436
0.016417
0.01944
0.427826
0.397467
0.372089
0.369319
0.3204
0.289509
0
0.115011
0.094539
99,800
716
13,432
139.385475
0.716096
0.003407
0
0.004249
0
0
0.084715
0.023097
0
0
0
0
0
1
0
false
0.042493
0.016997
0
0.033994
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
30022d5b966a78ffbad58db514000ef1b2a328db
953
py
Python
helium_commander/device_configuration.py
helium/helium-commander
58d1fe4064c51beccbff7a0d93bf037fffdac370
[ "BSD-3-Clause" ]
5
2016-06-16T06:45:18.000Z
2022-02-18T22:19:01.000Z
helium_commander/device_configuration.py
helium/helium-commander
58d1fe4064c51beccbff7a0d93bf037fffdac370
[ "BSD-3-Clause" ]
13
2016-09-15T21:20:34.000Z
2017-02-24T02:21:26.000Z
helium_commander/device_configuration.py
helium/api-example
58d1fe4064c51beccbff7a0d93bf037fffdac370
[ "BSD-3-Clause" ]
4
2016-06-24T19:47:43.000Z
2021-04-03T10:41:33.000Z
from __future__ import unicode_literals from helium import Device, Configuration, DeviceConfiguration def display_map(cls, client, uuid=False, include=None): def _trim_id(res): return res.id if uuid or client.uuid else res.short_id def _config(self): return _trim_id(self.configuration(use_in...
27.228571
79
0.704092
123
953
5.195122
0.341463
0.062598
0.070423
0.050078
0.186228
0
0
0
0
0
0
0
0.204617
953
34
80
28.029412
0.843008
0
0
0
0
0
0.028332
0
0
0
0
0
0
1
0.272727
false
0
0.090909
0.227273
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
3014f7440d9673a22311c1d6a047a4cdab754d98
527
py
Python
src/PrettyErrorsConfig.py
Potriashka/NewsHelper
0a3c7c191d9b41f23d7835064b225d409fe388e7
[ "MIT" ]
null
null
null
src/PrettyErrorsConfig.py
Potriashka/NewsHelper
0a3c7c191d9b41f23d7835064b225d409fe388e7
[ "MIT" ]
null
null
null
src/PrettyErrorsConfig.py
Potriashka/NewsHelper
0a3c7c191d9b41f23d7835064b225d409fe388e7
[ "MIT" ]
null
null
null
import pretty_errors pretty_errors.configure( separator_character = '*', filename_display = pretty_errors.FILENAME_EXTENDED, line_number_first = True, display_link = True, lines_before = 5, lines_after = 2, line_color = pretty_errors.RED + '> ' + pretty_er...
37.642857
93
0.648956
57
527
5.596491
0.508772
0.263323
0.106583
0.15674
0.213166
0.213166
0
0
0
0
0
0.005155
0.263757
527
14
94
37.642857
0.81701
0
0
0
0
0
0.026515
0
0
0
0
0
0
1
0
true
0
0.071429
0
0.071429
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
1
0
0
0
0
0
0
2
30356e919436e141d13ba5e54fc31d1c28874061
966
py
Python
dynadb/migrations/0070_auto_20170107_1240.py
GPCRmd/GPCRmd
7dc75359ace4a00c1597bdb7a86ebee17d51f09c
[ "Apache-2.0" ]
3
2019-03-06T13:35:38.000Z
2020-08-05T15:31:29.000Z
dynadb/migrations/0070_auto_20170107_1240.py
GPCRmd/GPCRmd
7dc75359ace4a00c1597bdb7a86ebee17d51f09c
[ "Apache-2.0" ]
null
null
null
dynadb/migrations/0070_auto_20170107_1240.py
GPCRmd/GPCRmd
7dc75359ace4a00c1597bdb7a86ebee17d51f09c
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2017-01-07 11:40 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('dynadb', '0069_auto_20170107_1203'), ] operations = [ migrations.AddField( ...
26.833333
59
0.576605
94
966
5.776596
0.478723
0.132597
0.169429
0.198895
0.637201
0.637201
0.552486
0.482505
0.482505
0.482505
0
0.0462
0.305383
966
35
60
27.6
0.76304
0.067288
0
0.571429
1
0
0.121381
0.025612
0
0
0
0
0
1
0
false
0
0.071429
0
0.178571
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
304ae2ffee3dad716f333c9b7c6ebd58e4c799b7
2,318
py
Python
lux_dom/apps/core/models.py
mateuszdargacz/lux_dom
dcc5374a2e29d657b5efecf81761b38e84b492ac
[ "MIT" ]
null
null
null
lux_dom/apps/core/models.py
mateuszdargacz/lux_dom
dcc5374a2e29d657b5efecf81761b38e84b492ac
[ "MIT" ]
null
null
null
lux_dom/apps/core/models.py
mateuszdargacz/lux_dom
dcc5374a2e29d657b5efecf81761b38e84b492ac
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- __author__ = 'mateusz' __date__ = '13.11.14 / 08:59' __git__ = 'https://github.com/mateuszdargacz' from django.db import models from django.utils.translation import gettext_lazy as _ class HouseType(models.Model): name = models.CharField(_('Nazwa'), max_length=56) description = models...
31.324324
93
0.685073
273
2,318
5.534799
0.432234
0.059563
0.055592
0.066181
0.487095
0.487095
0.409001
0.307081
0.185308
0.185308
0
0.018595
0.164797
2,318
74
94
31.324324
0.76188
0.00906
0
0.288462
0
0
0.174652
0
0
0
0
0
0
1
0.115385
false
0
0.038462
0.115385
0.769231
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
304ae95989c40c10b900a6dc4b6dd05aa6d2ee66
3,672
py
Python
Dictionary.py
vitorbellotto/synonymme
93f528e2f7a099f9368f9db0126e5c2328579c8d
[ "MIT" ]
null
null
null
Dictionary.py
vitorbellotto/synonymme
93f528e2f7a099f9368f9db0126e5c2328579c8d
[ "MIT" ]
null
null
null
Dictionary.py
vitorbellotto/synonymme
93f528e2f7a099f9368f9db0126e5c2328579c8d
[ "MIT" ]
null
null
null
#!/bin/usr/python # # This class imports search results from # DUDEN website and stores in a pickle for # later use. # ############################################# import pprint, pickle from bs4 import BeautifulSoup import requests import re class Dictionary: dict_pickle = "german_dict.pickle" #meaning = list() ...
28.030534
164
0.638072
500
3,672
4.6
0.248
0.027391
0.045217
0.048696
0.296522
0.233043
0.218696
0.177826
0.177826
0.151739
0
0.009277
0.148693
3,672
130
165
28.246154
0.726488
0.332516
0
0.126984
0
0
0.120428
0
0
0
0
0
0
1
0.222222
false
0.063492
0.063492
0.015873
0.349206
0.190476
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
3055900523d2bf55effafa8afe3068e2f75ff4bd
19,787
py
Python
projet/propagation.py
xinyuhuang97/LU3IN003-Projet
c0b80752a6e4454108d0e300a344e2b985c325d2
[ "MIT" ]
null
null
null
projet/propagation.py
xinyuhuang97/LU3IN003-Projet
c0b80752a6e4454108d0e300a344e2b985c325d2
[ "MIT" ]
null
null
null
projet/propagation.py
xinyuhuang97/LU3IN003-Projet
c0b80752a6e4454108d0e300a344e2b985c325d2
[ "MIT" ]
null
null
null
import numpy as np import sys import string M=4 N=5 # grille rempli par sequence s_grille=np.full((M+N,M+N),0) # grille remplit par 0 -1 1 grille=np.full((M,N), -1) #grille[1][0]=0 sequence1=[1,1] sequence2=[2,1] # non-colore -1 # blanche 0 # noire 1 def lire_fichier(s_grille): #file=sys.argv[1:] try: ...
34.174439
199
0.468692
2,682
19,787
3.380313
0.066368
0.026252
0.079418
0.038826
0.74829
0.715089
0.690492
0.66788
0.644827
0.615707
0
0.044384
0.388538
19,787
578
200
34.233564
0.704934
0.085511
0
0.604082
0
0
0.040819
0.006322
0
0
0.000444
0
0
1
0.02449
false
0
0.006122
0
0.202041
0.153061
0
0
0
null
0
0
0
0
1
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
2
306040770b67b2e563d4229ae099ca34c25b419e
2,272
py
Python
robosuite/models/robots/kinova3_robot.py
kyungjaelee/robosuite
0d73fcca9ed8e638632f4bd7b0f1b8ebf4640fb1
[ "MIT" ]
null
null
null
robosuite/models/robots/kinova3_robot.py
kyungjaelee/robosuite
0d73fcca9ed8e638632f4bd7b0f1b8ebf4640fb1
[ "MIT" ]
null
null
null
robosuite/models/robots/kinova3_robot.py
kyungjaelee/robosuite
0d73fcca9ed8e638632f4bd7b0f1b8ebf4640fb1
[ "MIT" ]
1
2021-03-26T19:10:00.000Z
2021-03-26T19:10:00.000Z
import numpy as np from robosuite.models.robots.robot_model import RobotModel from robosuite.utils.mjcf_utils import xml_path_completion class Kinova3(RobotModel): """ The Gen3 robot is sparkly newest addition to the Kinova line Args: idn (int or str): Number or some other unique identification s...
28.049383
111
0.602553
273
2,272
4.798535
0.490842
0.10916
0.025954
0.033588
0.038168
0
0
0
0
0
0
0.046638
0.273327
2,272
80
112
28.4
0.74682
0.135123
0
0.263158
0
0
0.207645
0.012397
0
0
0
0
0
1
0.245614
false
0
0.052632
0.22807
0.54386
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
0
2
30647229a9d44d6fe36188d478ce7d532efc5085
1,591
py
Python
dilemma_lib.py
idoheinemann/Prisoners-Dilemma
ad3e9b81748f19f5bb23243e118a656a60cba450
[ "Apache-2.0" ]
3
2019-12-02T21:06:28.000Z
2020-10-31T20:22:29.000Z
dilemma_lib.py
idoheinemann/Prisoners-Dilemma
ad3e9b81748f19f5bb23243e118a656a60cba450
[ "Apache-2.0" ]
null
null
null
dilemma_lib.py
idoheinemann/Prisoners-Dilemma
ad3e9b81748f19f5bb23243e118a656a60cba450
[ "Apache-2.0" ]
null
null
null
import abc from typing import NewType from copy import copy def _(): # make the registered classes variable invisible __registered_classes = [] def _register(cls): if hasattr(cls, 'do_turn'): print(f'registering {cls.__name__}...') __registered_classes.append(cls) els...
24.859375
116
0.663105
201
1,591
4.9801
0.452736
0.118881
0.05994
0.055944
0
0
0
0
0
0
0
0
0.2577
1,591
63
117
25.253968
0.847587
0.349466
0
0
0
0
0.102941
0
0
0
0
0
0
1
0.275862
false
0
0.103448
0.103448
0.586207
0.068966
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
3069fb5225d892e1d87570d254925ed6c19fd94f
1,671
py
Python
accencis/settings/development.py
majestylink/majestyAccencis
41bdde6f9982980609f93a8b44bcaf06cc5f6ea6
[ "MIT" ]
null
null
null
accencis/settings/development.py
majestylink/majestyAccencis
41bdde6f9982980609f93a8b44bcaf06cc5f6ea6
[ "MIT" ]
null
null
null
accencis/settings/development.py
majestylink/majestyAccencis
41bdde6f9982980609f93a8b44bcaf06cc5f6ea6
[ "MIT" ]
null
null
null
from .base import * SECRET_KEY = 'zn#g)t661djs1(#p!92%#sr=2d_y3$@m_s5uxlrvobu&w&xgy0' DEBUG = True ALLOWED_HOSTS += ['*'] INSTALLED_APPS += [ 'debug_toolbar' ] MIDDLEWARE += ['debug_toolbar.middleware.DebugToolbarMiddleware', ] # DEBUG TOOLBAR SETTINGS DEBUG_TOOLBAR_PANELS = [ 'debug_toolbar.panels.versions...
27.85
67
0.745063
189
1,671
6.349206
0.529101
0.17
0.195
0.056667
0.076667
0.041667
0
0
0
0
0
0.02052
0.125075
1,671
59
68
28.322034
0.800274
0.086774
0
0
0
0
0.550658
0.476316
0
0
0
0
0
1
0.023256
false
0
0.023256
0.023256
0.069767
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
306a20b083fb472393dc2153a102396fad358364
434
py
Python
src/Zadanie2/NotesService.py
TestowanieAutomatyczneUG/laboratorium-11-LudwikaMalinowska
1e1bd74c0d098336773d5a7cda8def04bb5f0f0f
[ "MIT" ]
null
null
null
src/Zadanie2/NotesService.py
TestowanieAutomatyczneUG/laboratorium-11-LudwikaMalinowska
1e1bd74c0d098336773d5a7cda8def04bb5f0f0f
[ "MIT" ]
null
null
null
src/Zadanie2/NotesService.py
TestowanieAutomatyczneUG/laboratorium-11-LudwikaMalinowska
1e1bd74c0d098336773d5a7cda8def04bb5f0f0f
[ "MIT" ]
null
null
null
from Zadanie2.NotesStorage import NotesStorage import math import statistics class NotesService: def __init__(self, storage): self.storage = storage def add(self, note): return self.storage.add(note) def averageOf(self, name): grades = self.storage.getAllNotesOf(name) gr...
20.666667
49
0.675115
50
434
5.74
0.42
0.191638
0
0
0
0
0
0
0
0
0
0.00304
0.241935
434
20
50
21.7
0.869301
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.214286
0.071429
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
30726cf2a4a832db5bb69a907951d1c3f71809f5
742
py
Python
5_singleton/chocolate_boiler.py
hypersport/Head-First-Design-Patterns-Python
0c8b831ae89ebbbef8b203b96508deb7e3063590
[ "MIT" ]
null
null
null
5_singleton/chocolate_boiler.py
hypersport/Head-First-Design-Patterns-Python
0c8b831ae89ebbbef8b203b96508deb7e3063590
[ "MIT" ]
null
null
null
5_singleton/chocolate_boiler.py
hypersport/Head-First-Design-Patterns-Python
0c8b831ae89ebbbef8b203b96508deb7e3063590
[ "MIT" ]
null
null
null
class ChocolateBoiler: unique_instance = None def __new__(cls, *args, **kwargs): if not cls.unique_instance: cls.unique_instance = super().__new__(cls, *args, **kwargs) return cls.unique_instance def __init__(self): self.empty = True self.boiled = False def...
23.935484
71
0.579515
94
742
4.329787
0.265957
0.07371
0.125307
0.078624
0.113022
0.113022
0.113022
0
0
0
0
0
0.319407
742
30
72
24.733333
0.805941
0
0
0.173913
0
0
0
0
0
0
0
0
0
1
0.304348
false
0
0
0.086957
0.521739
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
307417c3a1dd36ee415424082366bc3645b8258e
9,717
py
Python
mediator_test.py
ssoloff/petulant-octo-adventure
b5f44d3350d332bbf8bb0a290904170babd3d5f1
[ "MIT" ]
null
null
null
mediator_test.py
ssoloff/petulant-octo-adventure
b5f44d3350d332bbf8bb0a290904170babd3d5f1
[ "MIT" ]
null
null
null
mediator_test.py
ssoloff/petulant-octo-adventure
b5f44d3350d332bbf8bb0a290904170babd3d5f1
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import functools import itertools import operator import re class _Topic: def __init__(self, mediator): self._mediator = mediator def _get_published_data_for_topic(self, topic): return [publisher(topic) for publisher in self._mediator._get_publishers_for_topic(topic)] ...
33.506897
106
0.689719
1,162
9,717
5.364028
0.098967
0.02567
0.023103
0.01829
0.486604
0.299374
0.195732
0.083427
0.046527
0.030804
0
0.002879
0.213646
9,717
289
107
33.622837
0.812852
0.033549
0
0.206573
0
0
0.033777
0
0
0
0
0
0.023474
1
0.258216
false
0
0.018779
0.103286
0.446009
0.056338
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
30753f46ece861cb8f01b59eafa2ab02208c5ffe
3,116
py
Python
Chapter10/ch10_ex5.py
leetschau/Functional-Python-Programming-Second-Edition
650c50aaaf23c988ef78ab7a46d49d993414782f
[ "MIT" ]
65
2018-04-15T00:44:42.000Z
2022-02-20T04:11:10.000Z
Chapter10/ch10_ex5.py
zaqmoda/Functional-Python-Programming-Second-Edition
bd9d9467ef906095560a5955ebc82a360794269d
[ "MIT" ]
1
2019-07-20T10:30:37.000Z
2020-09-14T09:06:08.000Z
Chapter10/ch10_ex5.py
zaqmoda/Functional-Python-Programming-Second-Edition
bd9d9467ef906095560a5955ebc82a360794269d
[ "MIT" ]
52
2018-04-12T12:51:02.000Z
2022-03-02T18:35:50.000Z
#!/usr/bin/env python3 """Functional Python Programming Chapter 10, Example Set 5 """ from collections import defaultdict from typing import ( Iterable, Callable, Dict, List, TypeVar, Iterator, Tuple, cast) D_ = TypeVar("D_") K_ = TypeVar("K_") def partition( source: Iterable[D_], key: Callabl...
29.121495
71
0.494223
577
3,116
2.582322
0.159445
0.018792
0.012081
0.010738
0.461745
0.449664
0.449664
0.432886
0.414765
0.379866
0
0.132424
0.200257
3,116
106
72
29.396226
0.46549
0.039795
0
0.345679
0
0.209877
0.577337
0
0
0
0
0
0
1
0.049383
false
0
0.049383
0
0.123457
0.049383
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
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0630c031293049b621a7573b3db56b607905b6c6
1,117
py
Python
photospicker/event/start_upload_event.py
l-vo/photos-picker
6790e0411bb46e3206ca778dbd83ddd1d4f90f21
[ "MIT" ]
null
null
null
photospicker/event/start_upload_event.py
l-vo/photos-picker
6790e0411bb46e3206ca778dbd83ddd1d4f90f21
[ "MIT" ]
52
2018-08-31T05:57:04.000Z
2019-02-19T15:26:40.000Z
photospicker/event/start_upload_event.py
l-vo/photos-picker
6790e0411bb46e3206ca778dbd83ddd1d4f90f21
[ "MIT" ]
null
null
null
class StartUploadEvent(object): """Event dispatched when an upload starts""" def __init__(self, filepath, upload_file_rank, files_to_upload): """ Constructor :param str filepath: file which starts to be uploaded :param int upload_file_rank: rank of the file in upload queue ...
26.595238
69
0.614145
139
1,117
4.690647
0.280576
0.08589
0.159509
0.078221
0.366564
0.296012
0.21319
0
0
0
0
0
0.316025
1,117
41
70
27.243902
0.853403
0.40376
0
0.214286
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0
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
1
0
0
0
0
1
0
0
2
0639d890af9f1658d5aa3ad283b2ff3b7fe8463c
244
py
Python
SomeParameters.py
mchtter/mucoTraining
4f304a4fb1bdc1a63313ae31358306ce957fe6c0
[ "MIT" ]
1
2021-08-01T17:11:28.000Z
2021-08-01T17:11:28.000Z
SomeParameters.py
mchtter/PracticePython
4f304a4fb1bdc1a63313ae31358306ce957fe6c0
[ "MIT" ]
null
null
null
SomeParameters.py
mchtter/PracticePython
4f304a4fb1bdc1a63313ae31358306ce957fe6c0
[ "MIT" ]
null
null
null
someParameters = input("Please Enter some parameters: ") def createList(*someParameters): paramList = [] for add in someParameters: paramList.append(add) print(paramList) return paramList createList(someParameters)
17.428571
56
0.709016
23
244
7.521739
0.652174
0.277457
0
0
0
0
0
0
0
0
0
0
0.204918
244
13
57
18.769231
0.891753
0
0
0
0
0
0.122951
0
0
0
0
0
0
1
0.125
false
0
0
0
0.25
0.125
1
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
2
063ecdd8605df495112b13a2da80d77dcfb6798e
3,151
py
Python
tests/controllers/test_user.py
narutox900/GotItOnboardFinal
32d4c186adb1ac0cb0cd719f4a3aa8d5e85ea07b
[ "MIT" ]
null
null
null
tests/controllers/test_user.py
narutox900/GotItOnboardFinal
32d4c186adb1ac0cb0cd719f4a3aa8d5e85ea07b
[ "MIT" ]
null
null
null
tests/controllers/test_user.py
narutox900/GotItOnboardFinal
32d4c186adb1ac0cb0cd719f4a3aa8d5e85ea07b
[ "MIT" ]
null
null
null
from tests.utils import request from app.utils.messages.message import USERNAME_DUPLICATED, INVALID_CREDENTIALS class TestRegister: def test_register_valid(self, client): data = { 'username': 'test@name', 'password': 'Abc@.12345' } rv = request.post(client, '/regist...
29.726415
79
0.550619
328
3,151
5.10061
0.179878
0.076509
0.100418
0.1578
0.780634
0.716079
0.631201
0.555888
0.555888
0.555888
0
0.046523
0.324659
3,151
105
80
30.009524
0.739662
0
0
0.527473
0
0
0.133926
0
0
0
0
0
0.175824
1
0.131868
false
0.131868
0.021978
0
0.175824
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
1
0
0
0
0
0
2
06485e93e5d509808935b9e7dff59c8e973fb02c
1,228
py
Python
initialisations/onoda_base.py
simonharris/pycluster
4d47eb12a2bbaf1b05d7ccfd0cfc9ccf78ddf86d
[ "MIT" ]
1
2019-05-01T00:10:12.000Z
2019-05-01T00:10:12.000Z
initialisations/onoda_base.py
simonharris/pycluster
4d47eb12a2bbaf1b05d7ccfd0cfc9ccf78ddf86d
[ "MIT" ]
3
2020-11-12T12:36:00.000Z
2021-06-18T12:46:59.000Z
initialisations/onoda_base.py
simonharris/pycluster
4d47eb12a2bbaf1b05d7ccfd0cfc9ccf78ddf86d
[ "MIT" ]
1
2021-12-30T01:32:32.000Z
2021-12-30T01:32:32.000Z
""" Onoda 2012 ICA- and PCA-based algorithm See: Careful seeding method based on independent components analysis for k-means clustering http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.663.5343&rep=rep1&type=pdf#page=53 """ from abc import abstractmethod import numpy as np from initialisations.base import ...
26.12766
91
0.678339
154
1,228
5.311688
0.525974
0.025672
0.041565
0.031785
0.056235
0
0
0
0
0
0
0.02487
0.214169
1,228
46
92
26.695652
0.822798
0.322476
0
0.105263
0
0
0
0
0
0
0
0
0
1
0.210526
false
0
0.157895
0
0.578947
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
0649cdda8f8c70edab2be6582f4b188914304838
352
py
Python
desafio32.py
lucasmc64/Curso_de_Python_CeV
aed942828913ff405941a7d86fb65ddcc79c414d
[ "MIT" ]
1
2021-02-19T05:13:32.000Z
2021-02-19T05:13:32.000Z
desafio32.py
lucasmc64/python_cev
aed942828913ff405941a7d86fb65ddcc79c414d
[ "MIT" ]
null
null
null
desafio32.py
lucasmc64/python_cev
aed942828913ff405941a7d86fb65ddcc79c414d
[ "MIT" ]
null
null
null
from datetime import date print('{} DESAFIO 32 {}'.format('='*10, '='*10)) ano = int(input('Digite um ano qualquer (Ou 0 se quiser a análise do ano atual): ')) if ano == 0: ano = date.today().year if ano % 4 == 0 and ano != 100 or ano % 400 == 0: print('O ano {} é BISSEXTO!'.format(ano)) else: print('O ano ...
39.111111
84
0.605114
60
352
3.55
0.6
0.046948
0.084507
0.169014
0
0
0
0
0
0
0
0.060498
0.201705
352
9
85
39.111111
0.697509
0
0
0
0
0
0.356941
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.333333
0
0
0
null
0
0
1
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
2
067e8be4afa8c1e0f21a19069097a81d4d0a42be
640
py
Python
annotation/migrations/0010_one_off_recalculate_sample_stats.py
SACGF/variantgrid
515195e2f03a0da3a3e5f2919d8e0431babfd9c9
[ "RSA-MD" ]
5
2021-01-14T03:34:42.000Z
2022-03-07T15:34:18.000Z
annotation/migrations/0010_one_off_recalculate_sample_stats.py
SACGF/variantgrid
515195e2f03a0da3a3e5f2919d8e0431babfd9c9
[ "RSA-MD" ]
551
2020-10-19T00:02:38.000Z
2022-03-30T02:18:22.000Z
annotation/migrations/0010_one_off_recalculate_sample_stats.py
SACGF/variantgrid
515195e2f03a0da3a3e5f2919d8e0431babfd9c9
[ "RSA-MD" ]
null
null
null
# Generated by Django 3.1 on 2020-11-23 02:24 from django.db import migrations from manual.operations.manual_operations import ManualOperation def test_has_sample_stats(apps): SampleVariantAnnotationStats = apps.get_model("annotation", "SampleVariantAnnotationStats") return SampleVariantAnnotationStats.obje...
27.826087
102
0.729688
65
640
6.969231
0.646154
0.072848
0.057395
0.07947
0
0
0
0
0
0
0
0.034026
0.173438
640
22
103
29.090909
0.822306
0.067188
0
0
1
0
0.168067
0.122689
0
0
0
0
0
1
0.076923
false
0
0.153846
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
0686b03cca2f9fa7f733a95e78be40d62eb48d7e
11,347
py
Python
forNSF/generate_schedules.py
ctames/conference-host
2e4c9733629053ac381669339bb6139ca6f38efa
[ "MIT" ]
1
2016-02-15T11:34:36.000Z
2016-02-15T11:34:36.000Z
forNSF/generate_schedules.py
ctames/conference-host
2e4c9733629053ac381669339bb6139ca6f38efa
[ "MIT" ]
null
null
null
forNSF/generate_schedules.py
ctames/conference-host
2e4c9733629053ac381669339bb6139ca6f38efa
[ "MIT" ]
null
null
null
### ### generate_schedules.py ### import os import sys import csv import random import datetime from utils import LogWarning, LogMessage import django os.environ.setdefault("DJANGO_SETTINGS_MODULE", "webApp.settings") django.setup() from django.shortcuts import render from django.db import transaction from webApp.mo...
49.334783
492
0.664228
1,483
11,347
5.041133
0.333109
0.055912
0.035581
0.00535
0.279428
0.262306
0.245318
0.231808
0.22191
0.217897
0
0.035452
0.207015
11,347
229
493
49.550218
0.795399
0.021151
0
0.125683
1
0.10929
0.494725
0.024168
0.005464
0
0
0
0.021858
0
null
null
0
0.065574
null
null
0.027322
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
1
0
0
0
0
0
0
0
0
2
0688236063b026668c8b71a36def9914a68bb227
1,017
py
Python
layerindex/middleware.py
epyeoh/clear-linux-dissector-web
6c8d3b73aad5a9364555711c6cc709ef8054427d
[ "MIT" ]
null
null
null
layerindex/middleware.py
epyeoh/clear-linux-dissector-web
6c8d3b73aad5a9364555711c6cc709ef8054427d
[ "MIT" ]
null
null
null
layerindex/middleware.py
epyeoh/clear-linux-dissector-web
6c8d3b73aad5a9364555711c6cc709ef8054427d
[ "MIT" ]
null
null
null
# layerindex-web - middleware definitions # # Copyright (C) 2019 Intel Corporation # # Licensed under the MIT license, see COPYING.MIT for details from django.utils.deprecation import MiddlewareMixin from django.http import HttpResponseRedirect from django.core.urlresolvers import reverse import settings import re cl...
36.321429
125
0.716814
121
1,017
5.966942
0.619835
0.041551
0.041551
0.105263
0
0
0
0
0
0
0
0.005019
0.216323
1,017
27
126
37.666667
0.900878
0.328417
0
0.142857
0
0
0.022936
0
0
0
0
0
0
1
0.071429
false
0
0.357143
0
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
068f358bbc6a1ec37d2b005f27788d30142795b4
5,966
py
Python
pegleg/engine/exceptions.py
openstack/airship-pegleg
cbc87967ebd572463a893b03097b615b99d9dbcf
[ "Apache-2.0" ]
9
2018-06-20T20:16:29.000Z
2019-03-24T23:07:25.000Z
pegleg/engine/exceptions.py
openstack/airship-pegleg
cbc87967ebd572463a893b03097b615b99d9dbcf
[ "Apache-2.0" ]
8
2020-11-16T16:22:58.000Z
2021-05-14T13:29:45.000Z
pegleg/engine/exceptions.py
airshipit/pegle
772d3a47a6db425be8249f770a732dbad4e00b08
[ "Apache-2.0" ]
2
2020-03-02T13:53:53.000Z
2021-07-19T05:02:13.000Z
# Copyright 2018 AT&T Intellectual Property. All other 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...
31.072917
79
0.717399
654
5,966
6.496942
0.336391
0.118616
0.080019
0.089433
0.168275
0.102848
0.051306
0.051306
0.035302
0.035302
0
0.002484
0.190245
5,966
191
80
31.235602
0.877044
0.306403
0
0.153846
0
0
0.402809
0.005769
0
0
0
0
0
1
0.012821
false
0.192308
0.012821
0
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
06994dc529d119cd048cde8599a924af3fbe88a6
75
py
Python
yahoo_weather/classes/errors.py
M-Ahadi/yahoo_weather
f494c38c38fd664a8ffc6440180775db135ba25a
[ "Apache-2.0" ]
7
2019-01-29T00:59:20.000Z
2020-08-25T22:41:00.000Z
yahoo_weather/classes/errors.py
M-Ahadi/yahoo_weather
f494c38c38fd664a8ffc6440180775db135ba25a
[ "Apache-2.0" ]
3
2019-03-19T18:21:37.000Z
2022-02-11T16:25:02.000Z
yahoo_weather/classes/errors.py
M-Ahadi/yahoo_weather
f494c38c38fd664a8ffc6440180775db135ba25a
[ "Apache-2.0" ]
2
2019-04-03T20:45:46.000Z
2020-10-01T10:56:47.000Z
class Error: unacceptable_json = "json input has unacceptable format."
25
61
0.76
9
75
6.222222
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.173333
75
2
62
37.5
0.903226
0
0
0
0
0
0.466667
0
0
0
0
0
0
1
0
false
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
06aa6e05d78ea1d89749a172d432589f604dcbef
502
py
Python
tests/stub.py
rafa-acioly/circuitpy
662f6ab5e85465dfde2217c3880af65d44e28219
[ "MIT" ]
null
null
null
tests/stub.py
rafa-acioly/circuitpy
662f6ab5e85465dfde2217c3880af65d44e28219
[ "MIT" ]
null
null
null
tests/stub.py
rafa-acioly/circuitpy
662f6ab5e85465dfde2217c3880af65d44e28219
[ "MIT" ]
null
null
null
from circuitpy.base import BaseCircuitBreaker class StubStorage: errors_quantity: int = 0 def increment(self, key: str) -> int: self.errors_quantity += 1 def expire(self, key: str, ttl: int) -> None: pass def get(self, key: str) -> int: return self.errors_quantity class S...
20.916667
49
0.667331
58
502
5.637931
0.568966
0.12844
0.091743
0.079511
0
0
0
0
0
0
0
0.010499
0.241036
502
23
50
21.826087
0.847769
0
0
0
0
0
0.023904
0
0
0
0
0
0
1
0.2
false
0.066667
0.066667
0.066667
0.866667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
06aab1746815047f64a7083110f6ed3040f75904
3,685
py
Python
dltb/thirdparty/tensorflow/v1.py
CogSciUOS/DeepLearningToolbox
bf07578b9486d8c48e25df357bc4b9963b513b46
[ "MIT" ]
2
2019-09-01T01:38:59.000Z
2020-02-13T19:25:51.000Z
dltb/thirdparty/tensorflow/v1.py
CogSciUOS/DeepLearningToolbox
bf07578b9486d8c48e25df357bc4b9963b513b46
[ "MIT" ]
null
null
null
dltb/thirdparty/tensorflow/v1.py
CogSciUOS/DeepLearningToolbox
bf07578b9486d8c48e25df357bc4b9963b513b46
[ "MIT" ]
null
null
null
"""Tensorflow version 1 access module. from dltb.thirdparty.tensorflow.v1 import tensorflow as tf """ import sys import logging import tensorflow # pylint: disable=wrong-import-position from . import TF_LOGGER def disable_v2_behavior(): """Disables TensorFlow 2.x behaviors. This function can be called at t...
37.989691
78
0.762551
480
3,685
5.672917
0.36875
0.066838
0.095483
0.052883
0.230261
0.118986
0.068307
0.035255
0
0
0
0.015087
0.172592
3,685
96
79
38.385417
0.877993
0.374763
0
0
0
0
0.008933
0
0
0
0
0.010417
0
1
0.02
false
0
0.32
0
0.34
0
0
0
0
null
0
0
0
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
1
0
0
0
0
2
ebea7320990078c4f8375fac844740a2e65257c5
292
py
Python
CalibPPS/ESProducers/python/ctppsRPAlignmentCorrectionsDataESSourceXML_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
CalibPPS/ESProducers/python/ctppsRPAlignmentCorrectionsDataESSourceXML_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
CalibPPS/ESProducers/python/ctppsRPAlignmentCorrectionsDataESSourceXML_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms ctppsRPAlignmentCorrectionsDataESSourceXML = cms.ESSource("CTPPSRPAlignmentCorrectionsDataESSourceXML", verbosity = cms.untracked.uint32(0), MeasuredFiles = cms.vstring(), RealFiles = cms.vstring(), MisalignedFiles = cms.vstring() )
29.2
103
0.770548
24
292
9.375
0.666667
0.133333
0
0
0
0
0
0
0
0
0
0.011811
0.130137
292
9
104
32.444444
0.874016
0
0
0
0
0
0.143836
0.143836
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ebf258292ec6f531c1895de34a95ec5e6cf95285
6,183
py
Python
approval_system/forms.py
rmboot/approvalsystem
b084ecb5fa4b401a052f3cf2a307af1d55f3c8fc
[ "MIT" ]
3
2019-04-16T04:11:11.000Z
2021-09-19T02:38:49.000Z
approval_system/forms.py
rmboot/approvalsystem
b084ecb5fa4b401a052f3cf2a307af1d55f3c8fc
[ "MIT" ]
4
2019-06-04T11:14:22.000Z
2021-09-08T01:11:26.000Z
approval_system/forms.py
rmboot/approvalsystem
b084ecb5fa4b401a052f3cf2a307af1d55f3c8fc
[ "MIT" ]
4
2019-10-10T15:04:31.000Z
2021-06-19T17:03:06.000Z
from flask_login import current_user from flask_wtf import FlaskForm from flask_ckeditor import CKEditorField from flask_wtf.file import FileField, FileAllowed, FileRequired from wtforms import StringField, SubmitField, BooleanField, PasswordField, SelectField, TextAreaField from wtforms.validators import DataRequired,...
42.349315
121
0.680738
702
6,183
5.887464
0.207977
0.170336
0.155819
0.10525
0.54827
0.502057
0.467215
0.467215
0.453908
0.453908
0
0.023672
0.159631
6,183
145
122
42.641379
0.771748
0
0
0.327103
0
0
0.048844
0
0
0
0
0
0
1
0.074766
false
0.130841
0.074766
0
0.747664
0
0
0
0
null
0
0
0
0
0
0
0
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
1
0
0
2
230e8c1540fa7285c8b3f7ee6f90ceedce9e2fc5
917
py
Python
graph_based_slam/launch/graphbasedslam.launch.py
edhml/lidarslam_ros2
40ea7cc8db47073f31bdc6d5bb4d7d3670a2c319
[ "BSD-2-Clause" ]
130
2020-04-28T23:22:46.000Z
2022-03-29T08:13:11.000Z
graph_based_slam/launch/graphbasedslam.launch.py
edhml/lidarslam_ros2
40ea7cc8db47073f31bdc6d5bb4d7d3670a2c319
[ "BSD-2-Clause" ]
14
2020-04-28T23:59:30.000Z
2022-03-11T08:52:13.000Z
graph_based_slam/launch/graphbasedslam.launch.py
edhml/lidarslam_ros2
40ea7cc8db47073f31bdc6d5bb4d7d3670a2c319
[ "BSD-2-Clause" ]
34
2020-05-01T00:03:58.000Z
2022-03-10T12:26:38.000Z
import os import launch import launch_ros.actions from ament_index_python.packages import get_package_share_directory def generate_launch_description(): graphbasedslam_param_dir = launch.substitutions.LaunchConfiguration( 'graphbasedslam_param_dir', default=os.path.join( get_package_...
29.580645
78
0.689204
89
917
6.764045
0.483146
0.157807
0.182724
0.079734
0
0
0
0
0
0
0
0
0.236641
917
31
79
29.580645
0.86
0
0
0.083333
1
0
0.197168
0.075163
0
0
0
0
0
1
0.041667
false
0
0.166667
0
0.25
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2311908b102acb4b107bcce2e0192afc0a45af69
613
py
Python
tests/classes/linkto.py
zhichao-github/jsonclasses-cli
631235a438e6def77cef22601df9c3c91c8d38f7
[ "MIT" ]
null
null
null
tests/classes/linkto.py
zhichao-github/jsonclasses-cli
631235a438e6def77cef22601df9c3c91c8d38f7
[ "MIT" ]
null
null
null
tests/classes/linkto.py
zhichao-github/jsonclasses-cli
631235a438e6def77cef22601df9c3c91c8d38f7
[ "MIT" ]
3
2021-11-22T06:56:52.000Z
2021-12-07T02:39:22.000Z
from __future__ import annotations from datetime import datetime from typing import Annotated from jsonclasses import jsonclass, types, linkto,linkedby from jsonclasses_server import api @api @jsonclass(class_graph='linkto') class User: id: str = types.readonly.str.primary.mongoid.required phone_num: str | N...
25.541667
57
0.755302
80
613
5.6875
0.4125
0.07033
0.074725
0.096703
0.334066
0.334066
0.189011
0.189011
0
0
0
0
0.14845
613
23
58
26.652174
0.871648
0
0
0.333333
0
0
0.027778
0
0
0
0
0
0
1
0
true
0
0.277778
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
2
2313f312bcdf66cdf3c8e92bea93434d1daf32f3
222
py
Python
Test Code/speak_reg/pydub_test.py
joexu01/speak_auth
05b2a10761463d45d926ff0d8b865f9f6ab86757
[ "MIT" ]
null
null
null
Test Code/speak_reg/pydub_test.py
joexu01/speak_auth
05b2a10761463d45d926ff0d8b865f9f6ab86757
[ "MIT" ]
3
2020-03-24T17:15:01.000Z
2020-03-31T04:38:24.000Z
Test Code/speak_reg/pydub_test.py
joexu01/speak_auth
05b2a10761463d45d926ff0d8b865f9f6ab86757
[ "MIT" ]
null
null
null
# -*- coding: UTF-8 -*- from pydub import AudioSegment sound = AudioSegment.from_mp3('D:/360Downloads/caixi-from-net-common.mp3').set_frame_rate(11025) sound.export('D:/360Downloads/from-net-common-3.wav', format='wav')
31.714286
96
0.743243
33
222
4.909091
0.666667
0.160494
0.160494
0
0
0
0
0
0
0
0
0.072816
0.072072
222
6
97
37
0.713592
0.094595
0
0
0
0
0.407035
0.39196
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
23197d7acf5b1414b4eb9a4391f877952b61e5ca
793
py
Python
src/api/routes/test_health.py
serinth/python-flask-boilerplate
45658f375e6a08caa0efca5175b4d8096aac3f5d
[ "MIT" ]
null
null
null
src/api/routes/test_health.py
serinth/python-flask-boilerplate
45658f375e6a08caa0efca5175b4d8096aac3f5d
[ "MIT" ]
2
2021-09-06T06:52:06.000Z
2021-09-06T06:52:06.000Z
src/api/routes/test_health.py
serinth/python-flask-boilerplate
45658f375e6a08caa0efca5175b4d8096aac3f5d
[ "MIT" ]
null
null
null
import json import unittest from utils.factory import create_app from utils.config import Config class BaseTestCase(unittest.TestCase): """A base test case""" def setUp(self): app = create_app(Config()) app.app_context().push() self.app = app.test_client() def tearDown(self): ...
29.37037
79
0.662043
97
793
5.329897
0.494845
0.040619
0.046422
0
0
0
0
0
0
0
0
0.009662
0.216898
793
27
80
29.37037
0.822866
0.129887
0
0.105263
0
0
0.054815
0
0
0
0
0
0.105263
1
0.210526
false
0
0.210526
0
0.526316
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
2334e127f516d07c0bb0b2bc0f436f5295b546f9
493
py
Python
db.py
justinhchae/jc_hw01_hci
00d3661823c44d3cadb2adfdd198b025e8fa4215
[ "Unlicense" ]
null
null
null
db.py
justinhchae/jc_hw01_hci
00d3661823c44d3cadb2adfdd198b025e8fa4215
[ "Unlicense" ]
null
null
null
db.py
justinhchae/jc_hw01_hci
00d3661823c44d3cadb2adfdd198b025e8fa4215
[ "Unlicense" ]
null
null
null
import os from flask_mongoengine import MongoEngine def init_database_connection(app): app.config['MONGODB_SETTINGS'] = { 'db': os.environ.get('DATABASE_NAME'), 'host': 'mongodb+srv://' + os.environ.get('HOST') + '/' + os.environ.get('DATABASE_NAME') + '?retryWrites=true&w=majority', 'usern...
37.923077
131
0.634888
57
493
5.368421
0.473684
0.147059
0.196078
0.130719
0.156863
0
0
0
0
0
0
0
0.184584
493
13
132
37.923077
0.761194
0.064909
0
0
0
0
0.276087
0.06087
0
0
0
0
0
1
0.090909
false
0.090909
0.181818
0
0.272727
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
233559e30b090eb877e6abac8e1e70d36416f462
2,232
py
Python
keylogger.py
Subucc/Tanit-Keylogger
f0ce269ac6ae49deca4960c8e053ecbaff51f13b
[ "MIT" ]
60
2018-11-02T05:41:39.000Z
2022-02-22T15:50:04.000Z
keylogger.py
Subucc/Tanit-Keylogger
f0ce269ac6ae49deca4960c8e053ecbaff51f13b
[ "MIT" ]
9
2020-08-26T20:47:40.000Z
2022-02-05T19:17:55.000Z
keylogger.py
Subucc/Tanit-Keylogger
f0ce269ac6ae49deca4960c8e053ecbaff51f13b
[ "MIT" ]
25
2019-03-28T10:37:27.000Z
2021-11-20T05:43:42.000Z
#!/usr/bin/python import pynput.keyboard import smtplib import threading ''' Description: This tool is part of the Ethical Hacking toolset. This is for educational use ONLY for security purposes. The keylogger takes the all key strikes on keyboard and send them to an email every specific period of time Require...
31.43662
119
0.708333
303
2,232
5.132013
0.458746
0.038585
0.021865
0.025723
0
0
0
0
0
0
0
0.001691
0.205197
2,232
70
120
31.885714
0.874859
0.168907
0
0
0
0
0.06116
0
0
0
0
0.014286
0
1
0.157895
false
0.131579
0.078947
0
0.263158
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
2
2340289b1ae101e3a111be507146563f532057a4
164
py
Python
Longest-Consecutive-Duplicate-String/solution.py
adriandarian/binary-search-io
461f016d668227e3220a15c9e9d2ee6decab384e
[ "MIT" ]
null
null
null
Longest-Consecutive-Duplicate-String/solution.py
adriandarian/binary-search-io
461f016d668227e3220a15c9e9d2ee6decab384e
[ "MIT" ]
null
null
null
Longest-Consecutive-Duplicate-String/solution.py
adriandarian/binary-search-io
461f016d668227e3220a15c9e9d2ee6decab384e
[ "MIT" ]
null
null
null
import itertools class Solution: def solve(self, s): if not s: return 0 return max(len(list(v)) for _, v in itertools.groupby(s))
18.222222
65
0.579268
24
164
3.916667
0.791667
0
0
0
0
0
0
0
0
0
0
0.009009
0.323171
164
8
66
20.5
0.837838
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.833333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
235ed822af8d9a8aa093addc6b9bd53cb6e14e97
372
py
Python
accounts/views/system_user.py
shafikshaon/daybook
cff3ebc636741e8424d1c078c9811db664675a8a
[ "MIT" ]
null
null
null
accounts/views/system_user.py
shafikshaon/daybook
cff3ebc636741e8424d1c078c9811db664675a8a
[ "MIT" ]
null
null
null
accounts/views/system_user.py
shafikshaon/daybook
cff3ebc636741e8424d1c078c9811db664675a8a
[ "MIT" ]
null
null
null
from rest_framework import viewsets from accounts.models import SystemUser from accounts.serializers.system_user import SystemUserSerializer class AccountViewSet(viewsets.ModelViewSet): """ A simple ViewSet for viewing and editing accounts. """ queryset = SystemUser.objects.all() serializer_class...
26.571429
65
0.776882
38
372
7.5
0.736842
0.084211
0
0
0
0
0
0
0
0
0
0
0.16129
372
13
66
28.615385
0.913462
0.134409
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.428571
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
1
0
0
2
88cf8de584c316e7cf85b005234a7acbbc846d8c
360
py
Python
ws-python/ex022.py
DerickSilva/Python
8e81c6fe403e3321f18d2767f0bdfc818b180fd2
[ "MIT" ]
null
null
null
ws-python/ex022.py
DerickSilva/Python
8e81c6fe403e3321f18d2767f0bdfc818b180fd2
[ "MIT" ]
null
null
null
ws-python/ex022.py
DerickSilva/Python
8e81c6fe403e3321f18d2767f0bdfc818b180fd2
[ "MIT" ]
null
null
null
nome = str(input('Digite seu nome completo ')).strip() maisculas = nome.upper() minusculas = nome.lower() letras = len(nome) - nome.count(' ') primeiro = nome.find(' ') print(f'Seu nome em maiusculas é {maisculas}') print(f'Seu nome em minusculas é {minusculas}') print(f'Seu nome tem ao todo {letras} letras') print(f'S...
40
54
0.711111
55
360
4.654545
0.436364
0.109375
0.140625
0.152344
0.117188
0
0
0
0
0
0
0
0.130556
360
9
55
40
0.817891
0
0
0
0
0
0.484765
0
0
0
0
0
0
1
0
false
0
0
0
0
0.444444
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
1
0
2
88d3ea317631fdf4f0d3aa3e657b9d8408324b9e
379
py
Python
unit 7/exc. 7.2.4.py
AviKalPython/self.py
44f8de33797a9ea28bbd1e01006920ba7c818b97
[ "MIT" ]
null
null
null
unit 7/exc. 7.2.4.py
AviKalPython/self.py
44f8de33797a9ea28bbd1e01006920ba7c818b97
[ "MIT" ]
null
null
null
unit 7/exc. 7.2.4.py
AviKalPython/self.py
44f8de33797a9ea28bbd1e01006920ba7c818b97
[ "MIT" ]
null
null
null
# exc. 7.2.4 def seven_boom(end_number): my_list = [] for i in range(0, end_number + 1): s = str(i) if '7' in s or i % 7 == 0: my_list += ['BOOM'] else: my_list += [i] print(my_list) def main(): end_number = 17 seven_bo...
19.947368
40
0.451187
53
379
2.886792
0.490566
0.235294
0.156863
0.235294
0
0
0
0
0
0
0
0.045249
0.416887
379
18
41
21.055556
0.647059
0.026385
0
0
0
0
0.037249
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.142857
0.071429
0
0
0
null
1
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
2
88d5c27c01df7f2af239dd27d875e8da5b3cf322
278
py
Python
tests/test_ping.py
naujoh/TorMySQL
09123c58f52d015ef59b490c346b20e72bcd5e30
[ "MIT" ]
340
2015-02-02T22:21:22.000Z
2022-02-24T06:52:23.000Z
tests/test_ping.py
naujoh/TorMySQL
09123c58f52d015ef59b490c346b20e72bcd5e30
[ "MIT" ]
42
2015-02-12T15:01:44.000Z
2020-11-18T02:03:22.000Z
tests/test_ping.py
naujoh/TorMySQL
09123c58f52d015ef59b490c346b20e72bcd5e30
[ "MIT" ]
78
2015-02-12T11:53:15.000Z
2022-02-03T07:30:18.000Z
#!/usr/bin/env python # encoding: utf-8 import uuid from tornado.testing import gen_test from . import BaseTestCase class TestPing(BaseTestCase): @gen_test def test1(self): with (yield self.pool.Connection()) as connection: yield connection.ping()
21.384615
58
0.697842
36
278
5.333333
0.722222
0.072917
0
0
0
0
0
0
0
0
0
0.00905
0.205036
278
12
59
23.166667
0.859729
0.129496
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
88dfd4e5191755823e87f8137531074ba9351a42
136
py
Python
dacy/about.py
peleiden/DaCy
ccda8a54ba03781cca03eb8ea6b6b82c64b3bb4c
[ "Apache-2.0" ]
null
null
null
dacy/about.py
peleiden/DaCy
ccda8a54ba03781cca03eb8ea6b6b82c64b3bb4c
[ "Apache-2.0" ]
null
null
null
dacy/about.py
peleiden/DaCy
ccda8a54ba03781cca03eb8ea6b6b82c64b3bb4c
[ "Apache-2.0" ]
null
null
null
__title__ = "dacy" __version__ = "1.0.1" # the ONLY source of version ID __download_url__ = "https://github.com/KennethEnevoldsen/DaCy"
45.333333
62
0.75
19
136
4.684211
0.842105
0
0
0
0
0
0
0
0
0
0
0.025
0.117647
136
3
62
45.333333
0.716667
0.213235
0
0
0
0
0.471698
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
2
88ea2c355f47120b9c3b48bd0713d241e22486ae
2,794
py
Python
api/users/migrations/0001_initial.py
fujikawahiroaki/webspecimanager
d46a4feec0c695d5231b21e3311f4adbe25435cb
[ "BSD-2-Clause" ]
null
null
null
api/users/migrations/0001_initial.py
fujikawahiroaki/webspecimanager
d46a4feec0c695d5231b21e3311f4adbe25435cb
[ "BSD-2-Clause" ]
10
2020-12-07T08:54:30.000Z
2022-03-13T12:23:03.000Z
api/users/migrations/0001_initial.py
fujikawahiroaki/webspecimanager
d46a4feec0c695d5231b21e3311f4adbe25435cb
[ "BSD-2-Clause" ]
null
null
null
# Generated by Django 3.1.3 on 2021-01-10 03:26 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django_countries.fields import uuid class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependenc...
58.208333
183
0.632427
315
2,794
5.431746
0.368254
0.109293
0.14962
0.210403
0.44886
0.310345
0.310345
0.216832
0.216832
0.216832
0
0.024036
0.210809
2,794
47
184
59.446809
0.751927
0.016106
0
0
1
0
0.128504
0
0
0
0
0
0
1
0
false
0
0.125
0
0.225
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
88f2b0638df39c112ccec6cd7c6cad3676a68288
318
py
Python
accounts/urls.py
SynBioUC/flapjack_api
343f44a7ca3d0ae69a38f6ee0447d8c7097b23ee
[ "MIT" ]
null
null
null
accounts/urls.py
SynBioUC/flapjack_api
343f44a7ca3d0ae69a38f6ee0447d8c7097b23ee
[ "MIT" ]
17
2020-10-08T15:52:49.000Z
2021-11-12T14:02:10.000Z
accounts/urls.py
RudgeLab/flapjack_api
59a9c03f3093e0a3c65e18d36108aec97d352867
[ "MIT" ]
1
2021-09-23T18:51:46.000Z
2021-09-23T18:51:46.000Z
from django.urls import path from rest_framework_simplejwt.views import TokenRefreshView from .views import registration, log_in urlpatterns = [ path('register/', registration, name='register'), path('log_in/', log_in, name='log_in'), path('refresh/', TokenRefreshView.as_view(), name='token_refresh'), ]
31.8
71
0.742138
40
318
5.7
0.5
0.087719
0
0
0
0
0
0
0
0
0
0
0.122642
318
9
72
35.333333
0.817204
0
0
0
0
0
0.160377
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
000d82351b84ce4d2ee799f193a82f324f2e004b
1,764
py
Python
src/tests/scanner/controls/conftest.py
alex-dya/security_scanner
7aeb6af863ccdbf6c066d52446318aaf898afe7b
[ "MIT" ]
null
null
null
src/tests/scanner/controls/conftest.py
alex-dya/security_scanner
7aeb6af863ccdbf6c066d52446318aaf898afe7b
[ "MIT" ]
7
2021-05-28T14:31:27.000Z
2022-03-12T00:57:40.000Z
src/tests/scanner/controls/conftest.py
alex-dya/security_scanner
7aeb6af863ccdbf6c066d52446318aaf898afe7b
[ "MIT" ]
1
2021-05-15T12:18:49.000Z
2021-05-15T12:18:49.000Z
from abc import ABC, abstractmethod from functools import partial from textwrap import dedent from scanner.types import ControlStatus def pytest_generate_tests(metafunc): if metafunc.function.__name__ != 'test_case': return metafunc idlist = [ f'Test case {i+1}' for i in range(len(me...
27.138462
80
0.641723
190
1,764
5.831579
0.378947
0.036101
0.057762
0.034296
0.064982
0.064982
0
0
0
0
0
0.000768
0.261905
1,764
64
81
27.5625
0.85023
0
0
0.26
1
0
0.046485
0
0
0
0
0
0.06
1
0.12
false
0.08
0.08
0.02
0.26
0
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
1
0
0
0
0
0
2
000fd5080ff000213666d72d489caa0a49e8bee8
2,517
py
Python
netbox-interact/netbox-extract.py
jmanteau/evpn-cicd-arista-containerlab
d0b9adf98070f73dec86b9fd1ae4bd6f5b47652f
[ "MIT" ]
1
2022-03-29T20:08:56.000Z
2022-03-29T20:08:56.000Z
netbox-interact/netbox-extract.py
jmanteau/evpn-cicd-arista-containerlab
d0b9adf98070f73dec86b9fd1ae4bd6f5b47652f
[ "MIT" ]
null
null
null
netbox-interact/netbox-extract.py
jmanteau/evpn-cicd-arista-containerlab
d0b9adf98070f73dec86b9fd1ae4bd6f5b47652f
[ "MIT" ]
null
null
null
from pprint import pprint from collections import defaultdict import yaml import pynetbox def get_netbox(): """ Return Netbox API handler Returns: pynetbox.API -- Netbox API handler """ nburl = "http://127.0.0.1:8000/" NETBOX_TOKEN = "0123456789abcdef0123456789abcdef01234567" ses...
25.424242
102
0.744934
309
2,517
5.815534
0.420712
0.258208
0.155815
0.066778
0.11074
0.042293
0
0
0
0
0
0.0309
0.112833
2,517
99
103
25.424242
0.773847
0.082241
0
0
0
0
0.297797
0.063436
0
0
0
0.010101
0
1
0.056604
false
0.018868
0.075472
0.018868
0.188679
0.037736
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
1
0
0
0
0
0
0
0
0
0
0
2
00188840a3f1a151e6076aa51a747a0f060bad18
581
py
Python
traiders/backend/api/models/__init__.py
rdilruba/bounswe2019group2
b373908a4a8e92481f359297aba07245f0a23c1c
[ "Apache-2.0" ]
11
2019-02-15T12:08:32.000Z
2019-11-14T19:25:09.000Z
traiders/backend/api/models/__init__.py
bounswe/bounswe2019group2
05d41cf7b6bc1b3f994e82495d2a885a6eaa7cf3
[ "Apache-2.0" ]
279
2019-02-13T14:57:39.000Z
2022-03-12T00:02:30.000Z
traiders/backend/api/models/__init__.py
rdilruba/bounswe2019group2
b373908a4a8e92481f359297aba07245f0a23c1c
[ "Apache-2.0" ]
13
2019-03-20T08:30:55.000Z
2021-01-31T16:49:14.000Z
from .equipment import Equipment from .investment import ManualInvestment, Asset, OnlineInvestment from .parity import Parity from .users import User from .article import Article from .comment import ArticleComment, EquipmentComment from .mobile_app import MobileApp from .likes import Like from .following import Follow...
34.176471
65
0.845095
71
581
6.887324
0.43662
0.0409
0
0
0
0
0
0
0
0
0
0
0.118761
581
16
66
36.3125
0.955078
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
00296f0755d7b345d440616575af2c5af1c094b3
1,539
py
Python
tests/test_temp.py
D-Bits/Converty
98207932ff8d0df78f611691b1b39d54fd82f420
[ "MIT" ]
1
2021-02-27T14:59:30.000Z
2021-02-27T14:59:30.000Z
tests/test_temp.py
D-Bits/Converty
98207932ff8d0df78f611691b1b39d54fd82f420
[ "MIT" ]
2
2021-04-06T18:20:50.000Z
2021-06-02T03:33:45.000Z
tests/test_temp.py
D-Bits/Converty
98207932ff8d0df78f611691b1b39d54fd82f420
[ "MIT" ]
null
null
null
from unittest import TestCase from converty.temperature import( fahrenheit_to_celsius, celsius_to_fahrenheit, celsius_to_kelvin, kelvin_to_celsius, fahrenheit_to_kelvin, kelvin_to_fahrenheit ) # Temperature unit tests class TempTests(TestCase): # Test that 1 degree fahrenheit = -17.22 deg...
29.037736
69
0.721897
217
1,539
4.880184
0.225806
0.060434
0.188857
0.070822
0.442871
0.188857
0.188857
0
0
0
0
0.071082
0.195582
1,539
53
70
29.037736
0.78433
0.254061
0
0
0
0
0
0
0
0
0
0
0.307692
1
0.307692
false
0
0.076923
0
0.423077
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
0036bab63ed32b35277a9779aae64c80f87c6047
225
py
Python
Scripts/Games/FirstPersonWalker.py
SeboTime/Sebo-Dos
4dbc9481bcc497c5f9f77ec665cbe3263c262f1f
[ "Apache-2.0" ]
1
2021-12-26T12:09:42.000Z
2021-12-26T12:09:42.000Z
Scripts/Games/FirstPersonWalker.py
SeboTime/Sebo-Dos
4dbc9481bcc497c5f9f77ec665cbe3263c262f1f
[ "Apache-2.0" ]
null
null
null
Scripts/Games/FirstPersonWalker.py
SeboTime/Sebo-Dos
4dbc9481bcc497c5f9f77ec665cbe3263c262f1f
[ "Apache-2.0" ]
null
null
null
import imp from os import system import platform import os print("") if platform.system() == "Windows": os.system("py Scripts/Games/FirstPersonWalker/Install.py") else: print("Your system doesn't support this game!")
22.5
62
0.733333
32
225
5.15625
0.65625
0
0
0
0
0
0
0
0
0
0
0
0.142222
225
10
63
22.5
0.854922
0
0
0
0
0
0.39823
0.185841
0
0
0
0
0
1
0
true
0
0.444444
0
0.444444
0.222222
0
0
0
null
0
0
0
0
0
0
0
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
1
0
0
0
0
2
00426b28a623ba30f9ad3f97db796ff9f5d2e470
783
py
Python
utils_timing.py
tingofurro/keep_it_simple
59c8dd5416407a117e68097810b50bc6e252c539
[ "Apache-2.0" ]
23
2021-06-19T09:02:56.000Z
2022-03-20T13:39:03.000Z
utils_timing.py
tingofurro/keep_it_simple
59c8dd5416407a117e68097810b50bc6e252c539
[ "Apache-2.0" ]
2
2022-01-23T16:55:07.000Z
2022-03-14T16:37:53.000Z
utils_timing.py
tingofurro/keep_it_simple
59c8dd5416407a117e68097810b50bc6e252c539
[ "Apache-2.0" ]
2
2021-12-27T02:11:46.000Z
2022-03-20T07:57:09.000Z
import time class TickTimer: def __init__(self, start_key=None): self.T = time.time() self.time_map = {} self.current_key = start_key def tick(self, new_key): lapse = time.time() - self.T if self.current_key is not None: if self.current_key not in self.time_...
29
109
0.554278
112
783
3.6875
0.294643
0.186441
0.237288
0.181598
0.380145
0.302663
0.121065
0
0
0
0
0.003731
0.315453
783
26
110
30.115385
0.766791
0
0
0.333333
0
0
0.042146
0
0
0
0
0
0
1
0.190476
false
0
0.047619
0
0.285714
0.047619
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
00431176bad12615c7e73a32fdf98d4a23f4fa9d
1,462
py
Python
sound/disksnd.py
gbeckers/sound
eb3c6a97974c6a9c1d86d37278048d7838a906c1
[ "BSD-3-Clause" ]
1
2021-03-08T14:57:50.000Z
2021-03-08T14:57:50.000Z
sound/disksnd.py
gbeckers/sound
eb3c6a97974c6a9c1d86d37278048d7838a906c1
[ "BSD-3-Clause" ]
null
null
null
sound/disksnd.py
gbeckers/sound
eb3c6a97974c6a9c1d86d37278048d7838a906c1
[ "BSD-3-Clause" ]
null
null
null
from darr.basedatadir import BaseDataDir, create_basedatadir from darr.metadata import MetaData from ._version import get_versions #TODO: required keys for sndinfo class DataDir(BaseDataDir): _classid = 'DataDir' _classdescr = 'object for IO for disk-persistent sounds' _version = get_versions()['version'...
28.666667
75
0.677839
171
1,462
5.608187
0.479532
0.025026
0.025026
0
0
0
0
0
0
0
0
0.000903
0.242818
1,462
50
76
29.24
0.865402
0.235978
0
0
0
0
0.077994
0
0
0
0
0.02
0
1
0.192308
false
0
0.115385
0.038462
0.692308
0
0
0
0
null
0
0
0
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
1
0
0
2
cc4e3f7d500d4ee80c820324ce43974d1968954e
238
py
Python
main.py
duyvu1991/license-plate-detection-
e42681f50fa8175df6907d19e3b5564674504ac5
[ "Net-SNMP", "Xnet" ]
null
null
null
main.py
duyvu1991/license-plate-detection-
e42681f50fa8175df6907d19e3b5564674504ac5
[ "Net-SNMP", "Xnet" ]
null
null
null
main.py
duyvu1991/license-plate-detection-
e42681f50fa8175df6907d19e3b5564674504ac5
[ "Net-SNMP", "Xnet" ]
null
null
null
from flask import Flask, render_template from blueprints import * app = Flask(__name__) app.register_blueprint(home) app.register_blueprint(upload_api) if __name__ == '__main__': app.run(debug = True, host='127.0.0.1', port=5001)
19.833333
54
0.747899
35
238
4.628571
0.685714
0.135802
0.246914
0
0
0
0
0
0
0
0
0.048309
0.130252
238
11
55
21.636364
0.7343
0
0
0
0
0
0.071429
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0.428571
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
1
0
2
cc57ee2370c61620bacf034eee8a7991d60dda0b
950
py
Python
download_recordings/source/server_paths.py
PCH-Engineering/pch-cloud
9b0f774c6f15e8ee02f8311b4965816d04d73edd
[ "MIT" ]
null
null
null
download_recordings/source/server_paths.py
PCH-Engineering/pch-cloud
9b0f774c6f15e8ee02f8311b4965816d04d73edd
[ "MIT" ]
null
null
null
download_recordings/source/server_paths.py
PCH-Engineering/pch-cloud
9b0f774c6f15e8ee02f8311b4965816d04d73edd
[ "MIT" ]
1
2020-12-03T17:53:14.000Z
2020-12-03T17:53:14.000Z
import json #import os #fn= os.path.abspath(__file__ + "/../../") #hostfile =os.path.join(fn,'config/hosts.json') from pathlib import Path; parent = Path(__file__).parents[1] hostfile=parent.joinpath('config/hosts.json') with open(hostfile) as f: hosts = json.load(f) def service_url(host, service): return hos...
24.358974
47
0.677895
110
950
5.672727
0.336364
0.104167
0.089744
0.096154
0.115385
0
0
0
0
0
0
0.005
0.157895
950
39
48
24.358974
0.775
0.102105
0
0.074074
0
0
0.171563
0
0
0
0
0
0
1
0.148148
false
0
0.074074
0.148148
0.37037
0.444444
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
1
0
2
cc66ebba68272fd3fe7e4e76a3799f1c06e5217d
163
py
Python
src/messages/__init__.py
chrishendra93/dinner_at_clemz
a884973f257bb18584a5b69d627d01f82573a082
[ "MIT" ]
null
null
null
src/messages/__init__.py
chrishendra93/dinner_at_clemz
a884973f257bb18584a5b69d627d01f82573a082
[ "MIT" ]
null
null
null
src/messages/__init__.py
chrishendra93/dinner_at_clemz
a884973f257bb18584a5b69d627d01f82573a082
[ "MIT" ]
null
null
null
from .all_messages import * __all__ = [ 'Eko', 'Emil', 'Marco', 'Ida', 'Karin', 'Rika', 'Zefa', 'Jason', 'Billy', 'Kafi', 'Indrik', 'Toto', 'Acang', 'Bena' ]
27.166667
119
0.552147
19
163
4.473684
0.947368
0
0
0
0
0
0
0
0
0
0
0
0.165644
163
5
120
32.6
0.625
0
0
0
0
0
0.374233
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
cc6d246e7d9eb8ce8cd8a7ad0af220830dbedce9
201
py
Python
Intro/longestDigitPrefix.py
sumeyaali/Code_Challenges
e130e9a2bd94f9928e92474e54736409aee69384
[ "MIT" ]
null
null
null
Intro/longestDigitPrefix.py
sumeyaali/Code_Challenges
e130e9a2bd94f9928e92474e54736409aee69384
[ "MIT" ]
null
null
null
Intro/longestDigitPrefix.py
sumeyaali/Code_Challenges
e130e9a2bd94f9928e92474e54736409aee69384
[ "MIT" ]
null
null
null
def longestDigitsPrefix(inputString): # iterate through the string arr = '' for i in inputString: if i.isdigit(): arr += i else: break return arr
22.333333
37
0.537313
21
201
5.142857
0.761905
0
0
0
0
0
0
0
0
0
0
0
0.38806
201
9
38
22.333333
0.878049
0.129353
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
cc9a38ddc8d85fa7f6758b69aa22994ab78f807f
1,083
py
Python
1301-1400/1344-Counter Diagonal Sort/1344-Counter Diagonal Sort.py
jiadaizhao/LintCode
a8aecc65c47a944e9debad1971a7bc6b8776e48b
[ "MIT" ]
77
2017-12-30T13:33:37.000Z
2022-01-16T23:47:08.000Z
1301-1400/1344-Counter Diagonal Sort/1344-Counter Diagonal Sort.py
jxhangithub/LintCode-1
a8aecc65c47a944e9debad1971a7bc6b8776e48b
[ "MIT" ]
1
2018-05-14T14:15:40.000Z
2018-05-14T14:15:40.000Z
1301-1400/1344-Counter Diagonal Sort/1344-Counter Diagonal Sort.py
jxhangithub/LintCode-1
a8aecc65c47a944e9debad1971a7bc6b8776e48b
[ "MIT" ]
39
2017-12-07T14:36:25.000Z
2022-03-10T23:05:37.000Z
class Solution: """ @param grids: a maxtrix with alphabet @return: return sorted lists """ def CounterDiagonalSort(self, grids): # write your code here m = len(grids) n = len(grids[0]) table = [] for i in range(m): temp = [] row = i ...
25.785714
44
0.374885
120
1,083
3.383333
0.316667
0.073892
0.029557
0.054187
0.35468
0.295567
0.295567
0.295567
0.295567
0.295567
0
0.024904
0.518006
1,083
41
45
26.414634
0.752874
0.081256
0
0.393939
0
0
0
0
0
0
0
0.02439
0
1
0.030303
false
0
0
0
0.090909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
2
cc9f90721971a6548b87fd57ba5bae6d6f402fc6
397
py
Python
mqueue/tests/test_apps.py
synw/django-mqueue
02d68baba29ab33d71d4238b850d44a637fec04a
[ "MIT" ]
29
2016-04-24T11:57:52.000Z
2022-03-22T17:12:36.000Z
mqueue/tests/test_apps.py
synw/django-mqueue
02d68baba29ab33d71d4238b850d44a637fec04a
[ "MIT" ]
4
2016-11-02T13:23:03.000Z
2021-07-23T12:42:03.000Z
mqueue/tests/test_apps.py
synw/django-mqueue
02d68baba29ab33d71d4238b850d44a637fec04a
[ "MIT" ]
5
2016-05-22T12:34:48.000Z
2020-03-13T10:54:46.000Z
from .base import MqueueBaseTest from django.apps import apps class MqueueTestApps(MqueueBaseTest): def test_apps(self): apps.get_app_config("mqueue") def test_apps_import_error(self): req = (("wrong.model.path", ["c", "d", "u"]),) with self.settings(MQUEUE_AUTOREGISTER=req): ...
28.357143
54
0.662469
48
397
5.291667
0.583333
0.07874
0.086614
0.125984
0.173228
0
0
0
0
0
0
0
0.211587
397
13
55
30.538462
0.811502
0
0
0.2
0
0
0.078086
0
0
0
0
0
0.1
1
0.2
false
0
0.4
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
cca34ccdb5a526a4f649e859757852532c16f394
1,437
py
Python
bluebottle/bb_donations/serializers.py
maykinmedia/bluebottle
355d4729662b5e9a03398efb4fe882e0f8cfa28d
[ "BSD-3-Clause" ]
null
null
null
bluebottle/bb_donations/serializers.py
maykinmedia/bluebottle
355d4729662b5e9a03398efb4fe882e0f8cfa28d
[ "BSD-3-Clause" ]
null
null
null
bluebottle/bb_donations/serializers.py
maykinmedia/bluebottle
355d4729662b5e9a03398efb4fe882e0f8cfa28d
[ "BSD-3-Clause" ]
null
null
null
# coding=utf-8 from bluebottle.utils.model_dispatcher import get_donation_model from bluebottle.utils.serializer_dispatcher import get_serializer_class from rest_framework import serializers DONATION_MODEL = get_donation_model() class ManageDonationSerializer(serializers.ModelSerializer): project = serializers.S...
38.837838
114
0.754349
143
1,437
7.398601
0.41958
0.073724
0.05104
0.062382
0.23535
0.12949
0.098299
0.098299
0.098299
0
0
0.003249
0.143354
1,437
36
115
39.916667
0.856214
0.043841
0
0.333333
0
0
0.134209
0.016047
0
0
0
0.027778
0
1
0
false
0
0.125
0
0.708333
0
0
0
0
null
0
0
0
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
1
0
0
2
cca41550992f461ce3e9d4e87bacf954eeead462
1,346
py
Python
src/ultru_client/utils/config.py
Ultru/ultru-client
b8dae2869804fea166e33d5d4fc05dc6dbc363be
[ "MIT" ]
null
null
null
src/ultru_client/utils/config.py
Ultru/ultru-client
b8dae2869804fea166e33d5d4fc05dc6dbc363be
[ "MIT" ]
null
null
null
src/ultru_client/utils/config.py
Ultru/ultru-client
b8dae2869804fea166e33d5d4fc05dc6dbc363be
[ "MIT" ]
null
null
null
import json import os from .globals import CLI_GLOBALS def __maybe_init_config(): if not os.path.exists(CLI_GLOBALS.ULTRU_CLI_CONFIG_DIR): os.mkdir(CLI_GLOBALS.ULTRU_CLI_CONFIG_DIR) if not os.path.exists(CLI_GLOBALS.CONFIG): with open(CLI_GLOBALS.CONFIG, 'w') as config_fp: json.dump...
28.041667
60
0.678306
181
1,346
4.674033
0.20442
0.094563
0.113475
0.106383
0.508274
0.508274
0.449173
0.385343
0.385343
0.385343
0
0
0.213967
1,346
47
61
28.638298
0.799622
0
0
0.289474
0
0
0.048327
0
0
0
0
0
0
1
0.210526
false
0.157895
0.078947
0
0.342105
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
cca88d7195510bd6d48b3a2186dbaaaa91de2323
1,259
py
Python
lang/jquery_python/read/master_python_read.py
ekzemplaro/data_base_language
e77030367ffc595f1fac8583f03f9a3ce5eb1611
[ "MIT", "Unlicense" ]
3
2015-05-12T16:44:27.000Z
2021-02-09T00:39:24.000Z
lang/jquery_python/read/master_python_read.py
ekzemplaro/data_base_language
e77030367ffc595f1fac8583f03f9a3ce5eb1611
[ "MIT", "Unlicense" ]
null
null
null
lang/jquery_python/read/master_python_read.py
ekzemplaro/data_base_language
e77030367ffc595f1fac8583f03f9a3ce5eb1611
[ "MIT", "Unlicense" ]
null
null
null
#! /usr/bin/python3 # -*- coding: utf-8 -*- # # master_python_read.py # # Jul/31/2014 import sys import json # # sys.path.append ('/var/www/data_base/common/python_common') from text_manipulate import dict_append_proc # --------------------------------------------------------------------- def data_prepare_proc (): ...
34.027027
71
0.586974
184
1,259
3.728261
0.423913
0.19242
0.16035
0.209913
0.349854
0.349854
0.349854
0.122449
0
0
0
0.132174
0.086577
1,259
36
72
34.972222
0.464348
0.228753
0
0
0
0
0.236649
0.040838
0
0
0
0
0
1
0.05
false
0
0.15
0
0.25
0.1
0
0
0
null
0
0
1
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
2
ccabbe7abf4c7fb18c55a12d8aebef89c81ec7a4
6,966
py
Python
bff-2/Rom/rom.py
Alpha-Demon404/RE-14
b5b46a9f0eee218f2a642b615c77135c33c6f4ad
[ "MIT" ]
39
2020-02-26T09:44:36.000Z
2022-03-23T00:18:25.000Z
bff-2/Rom/rom.py
B4BY-DG/reverse-enginnering
b5b46a9f0eee218f2a642b615c77135c33c6f4ad
[ "MIT" ]
15
2020-05-14T10:07:26.000Z
2022-01-06T02:55:32.000Z
bff-2/Rom/rom.py
B4BY-DG/reverse-enginnering
b5b46a9f0eee218f2a642b615c77135c33c6f4ad
[ "MIT" ]
41
2020-03-16T22:36:38.000Z
2022-03-17T14:47:19.000Z
#!usr/bin/python2.7 # coding=utf-8 import requests, json, sys, os, re, time from multiprocessing.pool import ThreadPool as th from datetime import datetime class Brute: def __init__(self): self.setpw = False self.ok = [] self.cp = [] self.loop = 0 def bruteReq...
44.941935
325
0.443296
809
6,966
3.930779
0.245983
0.07673
0.057233
0.028302
0.454717
0.384277
0.333962
0.298113
0.298113
0.298113
0
0.099175
0.373241
6,966
155
326
44.941935
0.594137
0.025553
0
0.365672
0
0.067164
0.305128
0.084917
0
0
0
0
0
0
null
null
0.164179
0.022388
null
null
0.119403
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
ccb53642d2a584a25a230bae533bd9ea08f7e834
671
py
Python
tests/test_losses.py
yutayamazaki/Machine-Learning-Scratch
aa8f8479b14dfff3451f4b2a77d721062f2e6780
[ "MIT" ]
null
null
null
tests/test_losses.py
yutayamazaki/Machine-Learning-Scratch
aa8f8479b14dfff3451f4b2a77d721062f2e6780
[ "MIT" ]
10
2019-11-27T14:54:50.000Z
2020-04-22T19:33:16.000Z
tests/test_losses.py
yutayamazaki/Machine-Learning-Scratch
aa8f8479b14dfff3451f4b2a77d721062f2e6780
[ "MIT" ]
null
null
null
import unittest import numpy as np from mlscratch.models import losses class TestBinaryCrossEntropy(unittest.TestCase): def setUp(self): self.y_true = np.array([0, 1, 0.5]) self.y_pred = np.array([0, 1, 0.5]) def test_return(self): bce = losses.binary_cross_entropy(self.y_true, sel...
23.964286
67
0.66468
99
671
4.363636
0.373737
0.092593
0.083333
0.0625
0.479167
0.479167
0.388889
0.388889
0.212963
0.212963
0
0.034026
0.211624
671
27
68
24.851852
0.782609
0
0
0.235294
0
0
0
0
0
0
0
0
0.117647
1
0.235294
false
0
0.176471
0
0.529412
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
ccbacea1ae1e606c0c786eca7fe9faca1f25038e
278
py
Python
smalldistance.py
TheAnybodys/statistics-projects
855984157221f0327a3164aba3def34eca1aacb1
[ "MIT" ]
null
null
null
smalldistance.py
TheAnybodys/statistics-projects
855984157221f0327a3164aba3def34eca1aacb1
[ "MIT" ]
null
null
null
smalldistance.py
TheAnybodys/statistics-projects
855984157221f0327a3164aba3def34eca1aacb1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed Jan 26 20:23:06 2022 @author: olivi """ import random result = 0 for i in range(1000000): X = random.uniform(0.0, 1.0) Y = random.uniform(0.0, 1.0) if abs(X - Y) <= 0.2: result += 1 print(result / 1000000)
14.631579
35
0.557554
48
278
3.229167
0.645833
0.167742
0.180645
0.193548
0.219355
0.219355
0
0
0
0
0
0.191176
0.266187
278
19
36
14.631579
0.568627
0.266187
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.125
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ccc3217e77cd568caf63f6f3f49400ed79e1c7f8
4,541
py
Python
recipe/settings.py
lirixiang123/recipe
e78deb5e67c2a4faf140fd183c1a716a23b8a508
[ "Apache-2.0" ]
null
null
null
recipe/settings.py
lirixiang123/recipe
e78deb5e67c2a4faf140fd183c1a716a23b8a508
[ "Apache-2.0" ]
null
null
null
recipe/settings.py
lirixiang123/recipe
e78deb5e67c2a4faf140fd183c1a716a23b8a508
[ "Apache-2.0" ]
1
2021-07-10T16:46:25.000Z
2021-07-10T16:46:25.000Z
""" Django settings for recipe project. Generated by 'django-admin startproject' using Django 1.11.20. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ ...
26.097701
92
0.64237
491
4,541
5.826884
0.417515
0.072702
0.053827
0.061167
0.220552
0.191541
0.095771
0.095771
0.042992
0
0
0.026109
0.215591
4,541
173
93
26.248555
0.777092
0.297291
0
0
1
0
0.513604
0.384279
0
0
0
0
0
1
0
false
0.071429
0.010204
0
0.010204
0
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
1
0
0
0
0
0
2
ccc7bc055674dd0055b622d6efd042d762b99f00
1,673
py
Python
bling/clients.py
Elizabeth-Warren/bling-open
a5fd82d1a8d62ea74afada88b4fe1219e9144fc5
[ "MIT" ]
1
2020-09-16T16:57:27.000Z
2020-09-16T16:57:27.000Z
bling/clients.py
Elizabeth-Warren/bling-open
a5fd82d1a8d62ea74afada88b4fe1219e9144fc5
[ "MIT" ]
null
null
null
bling/clients.py
Elizabeth-Warren/bling-open
a5fd82d1a8d62ea74afada88b4fe1219e9144fc5
[ "MIT" ]
null
null
null
from bling.helpscout.client import HelpScoutClient from bling.mc.client import MobileCommonsClient from twilio.rest import Client as TwilioClient from bling.incoming import IncomingHandler from bling.outgoing import OutgoingHandler from bling.config import config from bling.transport import ( Transport, Twil...
28.844828
77
0.782427
170
1,673
7.452941
0.282353
0.092344
0.029992
0.055249
0.061563
0
0
0
0
0
0
0
0.148834
1,673
58
78
28.844828
0.889747
0
0
0
0
0
0.029271
0
0
0
0
0
0
1
0.205128
false
0.025641
0.179487
0.179487
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
aea80db732950f7e91533dd06e240af2ea502040
829
py
Python
src/3_examples/Structural/adapter.py
MilovanTomasevic/Python-Design-Patterns
2a30e24e062bc623e390f8ced9c228c3ff038e54
[ "MIT" ]
2
2020-12-01T21:06:29.000Z
2022-01-11T12:40:06.000Z
src/3_examples/Structural/adapter.py
MilovanTomasevic/Python-Design-Patterns
2a30e24e062bc623e390f8ced9c228c3ff038e54
[ "MIT" ]
null
null
null
src/3_examples/Structural/adapter.py
MilovanTomasevic/Python-Design-Patterns
2a30e24e062bc623e390f8ced9c228c3ff038e54
[ "MIT" ]
1
2022-01-11T12:39:51.000Z
2022-01-11T12:39:51.000Z
""" Convert the interface of a class into another interface clients expect. Adapter lets classes work together that couldn't otherwise because of incompatible interfaces. """ from abc import ABC, abstractmethod # ---------------- # Target Interface # ---------------- class Target(ABC): """ Interface for C...
18.840909
71
0.583836
82
829
5.707317
0.5
0.070513
0.064103
0.094017
0
0
0
0
0
0
0
0
0.21351
829
44
72
18.840909
0.717791
0.401689
0
0.111111
0
0
0.069264
0
0
0
0
0
0
1
0.277778
false
0.055556
0.055556
0
0.5
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
aeb326e6b9fdaf4309888e7191dc8a23d3f77d8e
1,366
py
Python
SIGNUS/modules/crawler/etc/driver_agent.py
837477/SIGNUS
cd395dfd45d2c36d09ec9a8069e6e52e19f058e8
[ "MIT" ]
null
null
null
SIGNUS/modules/crawler/etc/driver_agent.py
837477/SIGNUS
cd395dfd45d2c36d09ec9a8069e6e52e19f058e8
[ "MIT" ]
null
null
null
SIGNUS/modules/crawler/etc/driver_agent.py
837477/SIGNUS
cd395dfd45d2c36d09ec9a8069e6e52e19f058e8
[ "MIT" ]
null
null
null
from selenium import webdriver from platform import platform import os # def chromedriver(): # options = webdriver.ChromeOptions() # options.add_argument('headless') # options.add_argument('window-size=1920x1080') # options.add_argument("disable-gpu") # options.add_argument("user-agent=Mozilla/5.0 (Macintosh; Inte...
36.918919
134
0.763543
179
1,366
5.642458
0.346369
0.128713
0.231683
0.213861
0.408911
0.257426
0.190099
0.190099
0.190099
0.190099
0
0.024331
0.097365
1,366
36
135
37.944444
0.794809
0.418009
0
0
0
0.0625
0.324775
0.154044
0
0
0
0
0
1
0.0625
false
0
0.1875
0
0.3125
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
aebcb1771fcd260b5409e7f5db8a39fc73a58c25
807
py
Python
src/unix_accounts/bin/auth_tokens.py
1nfiniteloop/unix-accounts
9b4dc6f07e203610ea58698f982727daa3389d20
[ "MIT" ]
null
null
null
src/unix_accounts/bin/auth_tokens.py
1nfiniteloop/unix-accounts
9b4dc6f07e203610ea58698f982727daa3389d20
[ "MIT" ]
null
null
null
src/unix_accounts/bin/auth_tokens.py
1nfiniteloop/unix-accounts
9b4dc6f07e203610ea58698f982727daa3389d20
[ "MIT" ]
null
null
null
import secrets from typing import FrozenSet class AuthorizationTokens: def __init__(self, filename: str): self._filename = filename def get_tokens(self) -> FrozenSet[str]: return self._read_tokens() def generate_token(self) -> str: token = secrets.token_urlsafe(32) self....
25.21875
51
0.599752
98
807
4.714286
0.367347
0.103896
0.082251
0.095238
0.099567
0
0
0
0
0
0
0.003497
0.291202
807
31
52
26.032258
0.804196
0
0
0
0
0
0.008674
0
0
0
0
0
0
1
0.26087
false
0
0.086957
0.043478
0.521739
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
aed38b35eb60930e42cb0ae1c59b8cfc1c65b304
372
py
Python
self_virtualenv/do_virtualenv.py
zhaoyu69/python3-learning
faf786f03d13c632d107b1dbd42e923f8b012a28
[ "MIT" ]
1
2018-07-08T00:19:51.000Z
2018-07-08T00:19:51.000Z
self_virtualenv/do_virtualenv.py
zhaoyu69/python3-learning
faf786f03d13c632d107b1dbd42e923f8b012a28
[ "MIT" ]
null
null
null
self_virtualenv/do_virtualenv.py
zhaoyu69/python3-learning
faf786f03d13c632d107b1dbd42e923f8b012a28
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # virtualenv: 为每个应用创建一套“隔离”的Python运行环境。 # pip3 install virtualenv # 整一套独立的python运行环境 # 1. 创建目录 # mkdir myproject # cd myproject/ # 2. 创建一个独立的Python运行环境,命名为venv # virtualenv --no-site-packages venv # --no-site-packages 不带任何第三方包 # 进入环境 # source venv/bin/activate # venv...
16.173913
39
0.72043
45
372
5.955556
0.777778
0.044776
0.104478
0
0
0
0
0
0
0
0
0.015674
0.142473
372
23
40
16.173913
0.824451
0.897849
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
aeea92b3661eb71cb5d51e828614f15e511a2c7c
482
py
Python
summarize/test.py
ChaiJT/summarize
6d364fc20784bb37dcb62d06ddbf4b4ec667e8f8
[ "MIT" ]
1
2020-12-03T10:41:09.000Z
2020-12-03T10:41:09.000Z
summarize/test.py
ChaiJT/summarize
6d364fc20784bb37dcb62d06ddbf4b4ec667e8f8
[ "MIT" ]
null
null
null
summarize/test.py
ChaiJT/summarize
6d364fc20784bb37dcb62d06ddbf4b4ec667e8f8
[ "MIT" ]
null
null
null
# from textrank4zh import TextRank4Keyword # # test_text = open("test_text.txt", "r", encoding="utf-8").read() # # # tr4w = TextRank4Keyword() # tr4w.analyze(text=test_text,lower=True, window=2, pagerank_config={'alpha':0.85}) # # for item in tr4w.get_keywords(10, word_min_len=1): # print(item.word, item.weight) #...
22.952381
83
0.678423
78
482
4.012821
0.564103
0.076677
0.095847
0.108626
0.178914
0.178914
0.178914
0.178914
0
0
0
0.052758
0.134855
482
20
84
24.1
0.697842
0.919087
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
aef6aa1450f2d3243b6b5e34cdbbe32a76c278e7
2,278
py
Python
src/utils/audio.py
Jiyao17/fledge
d622376751d7a6ec7b373c367a0dcef96a10c6a0
[ "MIT" ]
4
2021-09-15T03:46:10.000Z
2022-01-01T02:18:06.000Z
src/utils/audio.py
Jiyao17/fledge
d622376751d7a6ec7b373c367a0dcef96a10c6a0
[ "MIT" ]
null
null
null
src/utils/audio.py
Jiyao17/fledge
d622376751d7a6ec7b373c367a0dcef96a10c6a0
[ "MIT" ]
null
null
null
import os from torchaudio.datasets import SPEECHCOMMANDS import torch class SubsetSC(SPEECHCOMMANDS): def __init__(self, subset, data_path): super().__init__(root=data_path, download=True) def load_list(filename): filepath = os.path.join(self._path, filename) with open(f...
32.542857
87
0.676471
315
2,278
4.730159
0.396825
0.026846
0.024161
0.018792
0.087248
0
0
0
0
0
0
0.002841
0.227392
2,278
70
88
32.542857
0.84375
0.207199
0
0
0
0
0.052925
0
0
0
0
0
0
1
0.232558
false
0
0.069767
0.116279
0.511628
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
0
2
aef82dbd2da1020351f0d689eefdf7e06470a701
769
py
Python
setup.py
dmitriiweb/clpb
c9680c574a540c86edfcc8c733a45740424e386d
[ "MIT" ]
1
2018-12-28T05:51:52.000Z
2018-12-28T05:51:52.000Z
setup.py
dmitriiweb/clpb
c9680c574a540c86edfcc8c733a45740424e386d
[ "MIT" ]
null
null
null
setup.py
dmitriiweb/clpb
c9680c574a540c86edfcc8c733a45740424e386d
[ "MIT" ]
null
null
null
from setuptools import setup with open('README.rst') as readme: r = str(readme.read()) setup( name='clpb', version='1.0.0', url='https://github.com/dmitriiweb/clpb', license='MIT', author='Dmitrii K', author_email='winston_smith_spb@gmail.com', description=' Command line progress bar f...
29.576923
58
0.611183
86
769
5.418605
0.651163
0.075107
0.26824
0.223176
0
0
0
0
0
0
0
0.020583
0.241873
769
25
59
30.76
0.778731
0
0
0
0
0
0.544863
0.035111
0
0
0
0
0
1
0
false
0
0.043478
0
0.043478
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4e0010ffdb2965bda6160c8e8411b76654438888
7,184
py
Python
product_spider/items.py
Pandaaaa906/product_spider
cc7f865f53fd3ed68f4869be3ba917c8373dfcf2
[ "MIT" ]
null
null
null
product_spider/items.py
Pandaaaa906/product_spider
cc7f865f53fd3ed68f4869be3ba917c8373dfcf2
[ "MIT" ]
null
null
null
product_spider/items.py
Pandaaaa906/product_spider
cc7f865f53fd3ed68f4869be3ba917c8373dfcf2
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # http://doc.scrapy.org/en/latest/topics/items.html # import scrapy import scrapyautodb as scrapy class JkItem(scrapy.OrderedItem): cat_no = scrapy.Field() en_name = scrapy.Field() chs_name = scrapy.Field() ...
24.026756
81
0.585329
799
7,184
5.161452
0.173967
0.482784
0.061833
0.063046
0.669738
0.556984
0.479631
0.428952
0.348206
0.239088
0
0.002668
0.269627
7,184
298
82
24.107383
0.783305
0.028257
0
0.676113
0
0
0.025087
0
0
0
0
0
0
1
0
false
0
0.004049
0
0.842105
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
1
0
0
2
4e06f53e4dfca66992beab888e9ba6530968dac0
88
py
Python
Idat_Python2022/Semana_9/Ejercicio10.py
Kennethguerra3/Python_Ejercicio_2022
cf1297cf1e1585eba699e32c02993818c3d9ecbf
[ "MIT" ]
null
null
null
Idat_Python2022/Semana_9/Ejercicio10.py
Kennethguerra3/Python_Ejercicio_2022
cf1297cf1e1585eba699e32c02993818c3d9ecbf
[ "MIT" ]
null
null
null
Idat_Python2022/Semana_9/Ejercicio10.py
Kennethguerra3/Python_Ejercicio_2022
cf1297cf1e1585eba699e32c02993818c3d9ecbf
[ "MIT" ]
null
null
null
num = int(input("Numero: ")) for i in range(1,13): m = num * i print(num,"X",i,"=",m)
17.6
28
0.534091
18
88
2.611111
0.722222
0
0
0
0
0
0
0
0
0
0
0.041667
0.181818
88
5
29
17.6
0.611111
0
0
0
0
0
0.11236
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4e0b495f3fe8123e996df8578796aff25304839d
3,369
py
Python
MagicTelecomAPILib/Models/Account.py
MagicTelecom/mt_python_api
b014760809cb1d0cab48a3376cbaface0c4bef66
[ "MIT" ]
null
null
null
MagicTelecomAPILib/Models/Account.py
MagicTelecom/mt_python_api
b014760809cb1d0cab48a3376cbaface0c4bef66
[ "MIT" ]
null
null
null
MagicTelecomAPILib/Models/Account.py
MagicTelecom/mt_python_api
b014760809cb1d0cab48a3376cbaface0c4bef66
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ MagicTelecomAPILib.Models.Account This file was automatically generated by APIMATIC v2.0 on 06/22/2016 """ from MagicTelecomAPILib.APIHelper import APIHelper class Account(object): """Implementation of the 'Account' model. TODO: type model description here. ...
36.225806
82
0.56634
355
3,369
5.321127
0.329577
0.055056
0.044468
0.079407
0.251985
0.160932
0.123875
0.123875
0.123875
0.123875
0
0.005114
0.361532
3,369
93
83
36.225806
0.873082
0.544078
0
0.424242
1
0
0.159864
0
0
0
0
0.075269
0
1
0.060606
false
0
0.030303
0
0.151515
0
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
1
0
0
0
0
0
0
0
0
0
0
2
4e0bf296e8c8ac48f1b53f27551dc0819b04ed86
1,424
py
Python
lib/segmentation/algorithm.py
rusty1s/embedded_gcnn
06db3799e794d6ebcd9db023ebd8b0937587df94
[ "MIT" ]
74
2017-03-07T07:06:15.000Z
2022-01-21T07:37:33.000Z
lib/segmentation/algorithm.py
DeepaliVerma/embedded_gcnn
06db3799e794d6ebcd9db023ebd8b0937587df94
[ "MIT" ]
9
2017-07-01T11:22:18.000Z
2020-03-31T04:48:52.000Z
lib/segmentation/algorithm.py
DeepaliVerma/embedded_gcnn
06db3799e794d6ebcd9db023ebd8b0937587df94
[ "MIT" ]
12
2018-01-09T08:06:27.000Z
2022-02-25T01:49:35.000Z
import numpy as np from skimage import color, segmentation def slic(image, num_segments, compactness=10, max_iterations=10, sigma=0): image = _preprocess(image) return segmentation.slic(image, num_segments, compactness, max_iterations, sigma) def slic_fixed(num_segments, compact...
29.061224
78
0.704354
191
1,424
5.078534
0.209424
0.037113
0.090722
0.061856
0.512371
0.503093
0.503093
0.429897
0.156701
0.063918
0
0.026132
0.19382
1,424
48
79
29.666667
0.818815
0
0
0.096774
0
0
0
0
0
0
0
0
0
1
0.322581
false
0
0.064516
0.096774
0.741935
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2