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
ba9fbc0a982ada0a8a226a3aa90ebc9edf5813d3
372
py
Python
module_tracker/tracker.py
jeongukjae/module-tracker.py
263ca7c5eb5bd017c2af28f7fdf078d484f4769d
[ "MIT" ]
null
null
null
module_tracker/tracker.py
jeongukjae/module-tracker.py
263ca7c5eb5bd017c2af28f7fdf078d484f4769d
[ "MIT" ]
null
null
null
module_tracker/tracker.py
jeongukjae/module-tracker.py
263ca7c5eb5bd017c2af28f7fdf078d484f4769d
[ "MIT" ]
null
null
null
from glob import glob from .analyzer import parse_file def track_glob(glob_pattern: str): modules = set() for file_name in _get_files_from(glob_pattern): modules.update(parse_file(file_name)) return sorted(list(modules)) def track_directory(directory): pass def _get_files_from(glob_patt...
17.714286
51
0.741935
53
372
4.90566
0.471698
0.169231
0.115385
0.123077
0.176923
0
0
0
0
0
0
0
0.177419
372
20
52
18.6
0.849673
0
0
0
0
0
0
0
0
0
0
0
0
1
0.272727
false
0.090909
0.181818
0.090909
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
1
0
0
1
0
0
3
bac4adcbc2560ba6859566b2a6083eb36bae41c4
185
py
Python
day08/00/solution.py
hunnybear/adventofcode2017
b2b520b7b012a4c5f060a0e70a8a614990b37254
[ "MIT" ]
1
2017-12-02T20:04:51.000Z
2017-12-02T20:04:51.000Z
day08/00/solution.py
hunnybear/adventofcode2017
b2b520b7b012a4c5f060a0e70a8a614990b37254
[ "MIT" ]
null
null
null
day08/00/solution.py
hunnybear/adventofcode2017
b2b520b7b012a4c5f060a0e70a8a614990b37254
[ "MIT" ]
null
null
null
import util def run(in_val): registers, _max_value = util.calc_registers(in_val) return max(registers.values()) def test(): res = run(util.TEST_VALS) assert res == 1
16.818182
55
0.675676
28
185
4.25
0.607143
0.084034
0
0
0
0
0
0
0
0
0
0.006803
0.205405
185
10
56
18.5
0.802721
0
0
0
0
0
0
0
0
0
0
0
0.142857
1
0.285714
false
0
0.142857
0
0.571429
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
1
0
0
0
0
1
0
0
3
24122a1b553151f281b60dd7359b404f4f908768
1,092
py
Python
tests.py
woctezuma/steam-trade-finder
63ad4a6e9020fbbec9452675083da800a313bc77
[ "MIT" ]
4
2019-11-02T22:27:48.000Z
2021-07-31T16:54:40.000Z
tests.py
woctezuma/steam-trade-finder
63ad4a6e9020fbbec9452675083da800a313bc77
[ "MIT" ]
1
2021-01-25T09:54:49.000Z
2021-01-25T09:54:49.000Z
tests.py
woctezuma/steam-trade-finder
63ad4a6e9020fbbec9452675083da800a313bc77
[ "MIT" ]
null
null
null
import unittest import data_utils import display_results import download_bot_listing import inventory_utils import personal_info import trade_finder import utils class TestPersonalInfoMethods(unittest.TestCase): def test_main(self): self.assertTrue(personal_info.main()) class TestUtilsMethods(unittest...
19.5
58
0.754579
122
1,092
6.508197
0.254098
0.080605
0.167506
0.202771
0.396725
0.396725
0.396725
0.396725
0
0
0
0
0.153846
1,092
55
59
19.854545
0.859307
0
0
0.225806
0
0
0.007326
0
0
0
0
0
0.225806
1
0.225806
false
0
0.258065
0
0.709677
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
244f92dae97709a55cb9e2186d6cf7f1e5c52230
38,998
py
Python
pysnmp-with-texts/ALCATEL-IND1-STACK-MANAGER-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/ALCATEL-IND1-STACK-MANAGER-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/ALCATEL-IND1-STACK-MANAGER-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 ALCATEL-IND1-STACK-MANAGER-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ALCATEL-IND1-STACK-MANAGER-MIB # Produced by pysmi-0.3.4 at Wed May 1 11:19:30 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python ...
157.25
3,758
0.786374
4,562
38,998
6.721833
0.138755
0.042263
0.073961
0.007827
0.4316
0.306017
0.246111
0.222566
0.212359
0.198141
0
0.062314
0.101698
38,998
247
3,759
157.88664
0.813028
0.009077
0
0.069869
0
0.157205
0.403546
0.075165
0
0
0
0
0
1
0
false
0.082969
0.034935
0
0.227074
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
1
0
0
0
0
0
3
79e9a75fbf5666ae036c416a5f118ae8162616f5
222
py
Python
Learn_Python/weather_api.py
Amaranese/python-exercises-notes-solutions-projects
58f7677ecb97971733d9f4ff87fda75e23d7c0cb
[ "Unlicense" ]
1
2021-12-03T12:38:33.000Z
2021-12-03T12:38:33.000Z
Learn_Python/weather_api.py
Amaranese/python-exercises-notes-solutions-projects
58f7677ecb97971733d9f4ff87fda75e23d7c0cb
[ "Unlicense" ]
null
null
null
Learn_Python/weather_api.py
Amaranese/python-exercises-notes-solutions-projects
58f7677ecb97971733d9f4ff87fda75e23d7c0cb
[ "Unlicense" ]
null
null
null
from pprint import pprint import requests r = requests.get('http://api.openweathermap.org/data/2.5/weather?q=Chicago&APPID=289d79262f138bd6ebb226285fd277e3') #print(r.json()) # pprint(r.json()) print(r.json()['base'])
20.181818
115
0.743243
31
222
5.322581
0.677419
0.090909
0.121212
0
0
0
0
0
0
0
0
0.117073
0.076577
222
11
116
20.181818
0.687805
0.144144
0
0
0
0.25
0.52381
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
1
0
0
1
0
3
79fb3ee76a46027851c41f4d6d7ec57cf313fdf6
179
py
Python
pyharmony/__init__.py
denhippie/pyharmony
4b66dab8326b7a460483bb60a8cb62936e8f5faf
[ "BSD-3-Clause" ]
78
2017-08-19T03:46:13.000Z
2020-02-19T04:29:45.000Z
pyharmony/__init__.py
denhippie/pyharmony
4b66dab8326b7a460483bb60a8cb62936e8f5faf
[ "BSD-3-Clause" ]
14
2017-02-13T21:22:47.000Z
2020-04-17T16:04:27.000Z
pyharmony/__init__.py
denhippie/pyharmony
4b66dab8326b7a460483bb60a8cb62936e8f5faf
[ "BSD-3-Clause" ]
26
2016-10-27T13:49:08.000Z
2020-02-13T22:58:40.000Z
# Copyright (c) 2013, Jeff Terrace # All rights reserved. """Module for connecting to and controlling the Logitech Harmony Link""" from .__main__ import * __all__ = ["__main__"]
25.571429
72
0.73743
23
179
5.217391
0.913043
0
0
0
0
0
0
0
0
0
0
0.02649
0.156425
179
7
73
25.571429
0.768212
0.675978
0
0
0
0
0.153846
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
030207fb994e657ab3a0fedb53adfba30ace8210
386
py
Python
stubs/loboris-esp32_lobo-3_2_9/gc.py
RonaldHiemstra/micropython-stubs
d97f879b01f6687baaebef1c7e26a80909c3cff3
[ "MIT" ]
38
2020-10-18T21:59:44.000Z
2022-03-17T03:03:28.000Z
stubs/loboris-esp32_lobo-3_2_9/gc.py
RonaldHiemstra/micropython-stubs
d97f879b01f6687baaebef1c7e26a80909c3cff3
[ "MIT" ]
176
2020-10-18T14:31:03.000Z
2022-03-30T23:22:39.000Z
stubs/loboris-esp32_lobo-3_2_9/gc.py
RonaldHiemstra/micropython-stubs
d97f879b01f6687baaebef1c7e26a80909c3cff3
[ "MIT" ]
6
2020-12-28T21:11:12.000Z
2022-02-06T04:07:50.000Z
""" Module: 'gc' on esp32_LoBo 3.2.9 """ # MCU: (sysname='esp32_LoBo', nodename='esp32_LoBo', release='3.2.9', version='ESP32_LoBo_v3.2.9 on 2018-04-12', machine='ESP32 board with ESP32') # Stubber: 1.1.2 def collect(): pass def disable(): pass def enable(): pass def isenabled(): pass def mem_alloc(...
14.296296
146
0.629534
61
386
3.868852
0.52459
0.177966
0.025424
0
0
0
0
0
0
0
0
0.103896
0.202073
386
26
147
14.846154
0.662338
0.5
0
0.5
0
0
0
0
0
0
0
0
0
1
0.5
true
0.5
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
1
0
0
0
0
0
3
0306e7161635483d9654204cc72dfbcb7aaf4b10
558
py
Python
data/evals/import_critiques.py
noryb009/rmc
2c9c6368b6cd5c4996645eb1c318aaddc7b401f3
[ "MIT" ]
164
2015-01-14T00:20:02.000Z
2022-03-10T19:55:02.000Z
data/evals/import_critiques.py
noryb009/rmc
2c9c6368b6cd5c4996645eb1c318aaddc7b401f3
[ "MIT" ]
142
2015-01-01T02:49:13.000Z
2022-03-11T23:18:17.000Z
data/evals/import_critiques.py
noryb009/rmc
2c9c6368b6cd5c4996645eb1c318aaddc7b401f3
[ "MIT" ]
79
2015-01-19T03:32:31.000Z
2021-08-09T22:53:10.000Z
import rmc.shared.constants as c import rmc.models as m import rmc.data.evals.conversion as conv import mongoengine as me import sys def import_all_critiques(eng_file): m.CritiqueCourse.objects._collection.drop() conv.import_engineering_critiques(eng_file) if __name__ == '__main__': if (len(sys.argv) < ...
26.571429
71
0.729391
88
558
4.363636
0.534091
0.072917
0.125
0.109375
0.130208
0
0
0
0
0
0
0.00432
0.170251
558
20
72
27.9
0.825054
0
0
0
0
0
0.114695
0
0
0
0
0
0
0
null
null
0.066667
0.533333
null
null
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
1
0
0
0
0
3
0321040f1281edd54a7f2ba742eeabaec0112a45
32,484
py
Python
fonts/FreeSerifBold18pt7b.py
cnobile2012/Python-TFT
812a87e6f694eae338c3d9579ea98eae636f8f99
[ "MIT" ]
null
null
null
fonts/FreeSerifBold18pt7b.py
cnobile2012/Python-TFT
812a87e6f694eae338c3d9579ea98eae636f8f99
[ "MIT" ]
null
null
null
fonts/FreeSerifBold18pt7b.py
cnobile2012/Python-TFT
812a87e6f694eae338c3d9579ea98eae636f8f99
[ "MIT" ]
null
null
null
FreeSerifBold18pt7bBitmaps = [ 0x7B, 0xEF, 0xFF, 0xFF, 0xF7, 0x9E, 0x71, 0xC7, 0x0C, 0x20, 0x82, 0x00, 0x00, 0x07, 0x3E, 0xFF, 0xFF, 0xDC, 0x60, 0x37, 0x83, 0xFC, 0x1F, 0xE0, 0xFF, 0x07, 0xB8, 0x3D, 0xC0, 0xCC, 0x06, 0x20, 0x31, 0x01, 0x80, 0x03, 0x8E, 0x00, 0xC3, 0x80, 0x30, 0xE0, 0x1C, 0x38, 0x07, 0x0...
70.159827
75
0.580255
5,011
32,484
3.761325
0.068449
0.035229
0.02292
0.022071
0.338975
0.264219
0.243421
0.230475
0.221138
0.213922
0
0.452417
0.251785
32,484
462
76
70.311688
0.323061
0.026782
0
0.021834
0
0
0
0
0
0
0.542599
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
3
03367d16dd276e96691db1f70b1198284623024b
603
py
Python
questions/utils.py
aviraldg/quizzardous
e34ade507c1af863f38f8470c978d2666cfa2022
[ "BSD-3-Clause" ]
2
2015-10-03T15:24:32.000Z
2015-12-26T10:09:13.000Z
questions/utils.py
aviraldg/quizzardous
e34ade507c1af863f38f8470c978d2666cfa2022
[ "BSD-3-Clause" ]
null
null
null
questions/utils.py
aviraldg/quizzardous
e34ade507c1af863f38f8470c978d2666cfa2022
[ "BSD-3-Clause" ]
null
null
null
from difflib import SequenceMatcher # TODO: Actually use these functions to implement automatic # clustering / correction mechanism. def get_normalized_keywords(answer): ''' Returns a sorted list of keywords from the answer argument in a normalized form. ''' return sorted(list(answer.lower().split...
30.15
78
0.718076
78
603
5.5
0.705128
0.027972
0
0
0
0
0
0
0
0
0
0.016632
0.202322
603
19
79
31.736842
0.87526
0.532338
0
0
0
0
0.004132
0
0
0
0
0.052632
0
1
0.4
false
0
0.2
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
1
0
0
1
0
0
0
0
1
0
0
3
0337cafcbd84ea4fa97aae84b2c258feafd0f46e
861
py
Python
src/python/pants/core_tasks/invalidate.py
oseemann/pants
628c83d5ab2706b0f64d69568c57a718ec7c5e2a
[ "Apache-2.0" ]
1
2021-11-11T14:04:24.000Z
2021-11-11T14:04:24.000Z
src/python/pants/core_tasks/invalidate.py
oseemann/pants
628c83d5ab2706b0f64d69568c57a718ec7c5e2a
[ "Apache-2.0" ]
null
null
null
src/python/pants/core_tasks/invalidate.py
oseemann/pants
628c83d5ab2706b0f64d69568c57a718ec7c5e2a
[ "Apache-2.0" ]
1
2021-11-11T14:04:12.000Z
2021-11-11T14:04:12.000Z
# coding=utf-8 # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import (absolute_import, division, generators, nested_scopes, print_function, unicode_literals, with_statement) from pants.base.depr...
39.136364
100
0.727062
110
861
5.536364
0.7
0.029557
0
0
0
0
0
0
0
0
0
0.02095
0.168409
861
21
101
41
0.829609
0.430894
0
0
0
0
0.106472
0
0
0
0
0.047619
0
1
0.111111
false
0
0.333333
0
0.555556
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
1
0
0
3
033db09351a04dd9a347dc492e33b2505e999968
1,434
py
Python
dbeekeeper/error.py
vmware-archive/dbeekeeper
ea34a9ae8ee8700a257caec13028988ca4b4bad3
[ "Apache-2.0" ]
null
null
null
dbeekeeper/error.py
vmware-archive/dbeekeeper
ea34a9ae8ee8700a257caec13028988ca4b4bad3
[ "Apache-2.0" ]
null
null
null
dbeekeeper/error.py
vmware-archive/dbeekeeper
ea34a9ae8ee8700a257caec13028988ca4b4bad3
[ "Apache-2.0" ]
1
2019-01-02T19:17:46.000Z
2019-01-02T19:17:46.000Z
# Copyright 2013 VMware, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
31.866667
78
0.727336
207
1,434
5.038647
0.545894
0.057526
0.049856
0.030681
0.049856
0
0
0
0
0
0
0.007061
0.209902
1,434
44
79
32.590909
0.913504
0.875872
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
034373d15bf040d1b8afad39b8991d3ec9e06e29
302
py
Python
Codewars_Python/stop_gninnips_my_srdow.py
nlantau/Codewars_2020_2021
055fbf8785ddd52b9f8e8c2b59294ead01852467
[ "MIT" ]
null
null
null
Codewars_Python/stop_gninnips_my_srdow.py
nlantau/Codewars_2020_2021
055fbf8785ddd52b9f8e8c2b59294ead01852467
[ "MIT" ]
null
null
null
Codewars_Python/stop_gninnips_my_srdow.py
nlantau/Codewars_2020_2021
055fbf8785ddd52b9f8e8c2b59294ead01852467
[ "MIT" ]
null
null
null
# nlantau, 2002-11-08 def spin_words(s): # s = s.split(" ") # for i, word in enumerate(s): # if len(word) >= 5: # s[i] = word[::-1] # return " ".join(s) return " ".join([i[::-1] if len(i) >= 5 else i for i in s.split(" ")]) print(spin_words("hey my name is Niklas Welcome"))
23.230769
74
0.52649
52
302
3.019231
0.538462
0.11465
0
0
0
0
0
0
0
0
0
0.053097
0.251656
302
13
75
23.230769
0.641593
0.400662
0
0
0
0
0.177143
0
0
0
0
0
0
1
0.333333
false
0
0
0.333333
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
1
0
0
0
1
1
0
0
3
0345b1682c44dfd8121197a5e03f43a63c308452
876
py
Python
CustomMayaRenderer/scripts/renderer.py
Uedaki/CustomMayaRenderer
2510c8e1721a7d13545ec65f671260f3de125ff0
[ "MIT" ]
5
2019-11-13T17:50:41.000Z
2021-07-12T16:05:13.000Z
CustomMayaRenderer/scripts/renderer.py
Uedaki/CustomMayaRenderer
2510c8e1721a7d13545ec65f671260f3de125ff0
[ "MIT" ]
null
null
null
CustomMayaRenderer/scripts/renderer.py
Uedaki/CustomMayaRenderer
2510c8e1721a7d13545ec65f671260f3de125ff0
[ "MIT" ]
2
2019-11-13T18:56:02.000Z
2020-03-18T02:50:40.000Z
import maya.mel as mel def createRenderMelProcedure(): mel.eval(''' global proc customMayaRendererRenderProcedureProxy(int $width, int $height, int $doShadows, int $doGlowPass, string $camera, string $option) { python("import CustomMayaRenderer.globalsNode"); python("CustomM...
48.666667
154
0.674658
71
876
8.323944
0.394366
0.196278
0.043993
0.05753
0.605753
0.605753
0.538071
0.538071
0.538071
0.538071
0
0
0.215753
876
18
155
48.666667
0.860262
0
0
0.5
0
0.125
0.887115
0.399088
0
0
0
0
0
1
0.0625
true
0.125
0.1875
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
03597b115eaabb121cf3938401fccd351d8d213f
1,072
py
Python
financial_statement/migrations/0002_auto_20210420_1259.py
jiun0507/minestock
b333298575cae1c426cc4450e85e9e576458b74a
[ "Unlicense" ]
null
null
null
financial_statement/migrations/0002_auto_20210420_1259.py
jiun0507/minestock
b333298575cae1c426cc4450e85e9e576458b74a
[ "Unlicense" ]
null
null
null
financial_statement/migrations/0002_auto_20210420_1259.py
jiun0507/minestock
b333298575cae1c426cc4450e85e9e576458b74a
[ "Unlicense" ]
1
2021-10-15T20:10:39.000Z
2021-10-15T20:10:39.000Z
# Generated by Django 3.2 on 2021-04-20 12:59 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('financial_statement', '0001_initial'), ] operations = [ migrations.AlterField( model_name='financialstatement', name='...
27.487179
50
0.576493
94
1,072
6.425532
0.414894
0.165563
0.206954
0.240066
0.698676
0.698676
0.562914
0.562914
0.562914
0.562914
0
0.038199
0.316231
1,072
38
51
28.210526
0.785812
0.040112
0
0.625
1
0
0.161636
0
0
0
0
0
0
1
0
false
0
0.03125
0
0.125
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0360246aacbb72945802d8a954ebfa1c778c8dbf
214
py
Python
standup/bundles.py
rlr/standup
998341af354ed0ddcd15b673ea7af090a7efbce6
[ "BSD-3-Clause" ]
2
2015-06-21T16:04:07.000Z
2015-11-09T00:30:19.000Z
standup/bundles.py
rlr/standup
998341af354ed0ddcd15b673ea7af090a7efbce6
[ "BSD-3-Clause" ]
null
null
null
standup/bundles.py
rlr/standup
998341af354ed0ddcd15b673ea7af090a7efbce6
[ "BSD-3-Clause" ]
null
null
null
CSS_BUNDLES = { 'common': ( 'css/normalize.css', 'less/style.less', ), 'profile': ( 'less/profile.less', ) } JS_BUNDLES = { 'common': ( 'js/standup.js', ) }
13.375
28
0.439252
19
214
4.842105
0.473684
0.282609
0.326087
0
0
0
0
0
0
0
0
0
0.364486
214
15
29
14.266667
0.676471
0
0
0.142857
0
0
0.378505
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
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
3
03628a59ce1b0c14455b493b664bfc71ff5eb98d
324
py
Python
string1.py
csitedexperts/Python2.xPractice
fd03ceebe920a76ca47aec3651a69ba5a1cc412b
[ "Apache-2.0" ]
3
2019-04-13T04:00:42.000Z
2020-10-02T01:14:42.000Z
string1.py
csitedexperts/Python2.xPractice
fd03ceebe920a76ca47aec3651a69ba5a1cc412b
[ "Apache-2.0" ]
null
null
null
string1.py
csitedexperts/Python2.xPractice
fd03ceebe920a76ca47aec3651a69ba5a1cc412b
[ "Apache-2.0" ]
2
2019-03-30T18:55:32.000Z
2020-05-10T16:30:34.000Z
# strings.py a = "proximity alert" b = 'evacuation' c = """ requiem for a tower """ print a print b print c print r"Another world\n", "kas fk ksf;asf" print " bbb\raaa" # prints aaabbb print "Python\b\b\booo" # prints Pytooo print "Muhaimin\b\b\b\b\b\bnim" # supposed to print Munim ?? print r"Another world...
12
60
0.660494
56
324
3.821429
0.571429
0.046729
0.042056
0.168224
0.17757
0
0
0
0
0
0
0
0.197531
324
26
61
12.461538
0.823077
0.200617
0
0
0
0
0.555118
0.090551
0
0
0
0
0
0
null
null
0
0
null
null
0.5
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
1
0
0
0
0
0
0
1
0
3
036a65f657db6826d47c70e16747d4cc4e72bf3d
391
py
Python
custom/icds/data_management/urls.py
satyaakam/commcare-hq
233f255ff20ab3a16013e9fdfdb9c1dcf632e415
[ "BSD-3-Clause" ]
1
2020-07-14T13:00:23.000Z
2020-07-14T13:00:23.000Z
custom/icds/data_management/urls.py
satyaakam/commcare-hq
233f255ff20ab3a16013e9fdfdb9c1dcf632e415
[ "BSD-3-Clause" ]
1
2021-06-02T04:45:16.000Z
2021-06-02T04:45:16.000Z
custom/icds/data_management/urls.py
satyaakam/commcare-hq
233f255ff20ab3a16013e9fdfdb9c1dcf632e415
[ "BSD-3-Clause" ]
null
null
null
from django.conf.urls import url from custom.icds.data_management.views import ( DataManagementView, paginate_data_management_requests, ) urlpatterns = [ url(r'^data_management', DataManagementView.as_view(), name=DataManagementView.urlname), url(r'paginate_data_management_requests', paginate_data_man...
30.076923
92
0.790281
44
391
6.681818
0.454545
0.285714
0.29932
0.408163
0
0
0
0
0
0
0
0
0.120205
391
12
93
32.583333
0.854651
0
0
0
0
0
0.209719
0.168798
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
1
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
3
037412afc7f27005f30d6c87ef1104f62abb3202
986
py
Python
Systemcode/imental-Flask/model/user_result.py
vemodalen-x/IRS_imental
050fd6a4694e4e7dfc396c1c7f13fd1ad97fbae6
[ "MIT" ]
3
2021-11-23T04:36:04.000Z
2022-01-18T08:05:10.000Z
Systemcode/imental-Flask/model/user_result.py
vemodalen-x/IRS_imental
050fd6a4694e4e7dfc396c1c7f13fd1ad97fbae6
[ "MIT" ]
null
null
null
Systemcode/imental-Flask/model/user_result.py
vemodalen-x/IRS_imental
050fd6a4694e4e7dfc396c1c7f13fd1ad97fbae6
[ "MIT" ]
2
2021-10-17T08:16:18.000Z
2021-11-23T04:36:10.000Z
from init import db class User_Result(db.Model): __tablename__ = 'user_result' id = db.Column(db.Integer,primary_key=True) username = db.Column(db.String(16),unique=True) anxi = db.Column(db.Float) depr = db.Column(db.Float) host= db.Column(db.Float) sens = db.Column(db.Float) obse = db...
30.8125
150
0.616633
143
986
4.13986
0.237762
0.148649
0.185811
0.228041
0
0
0
0
0
0
0
0.002706
0.250507
986
32
150
30.8125
0.798376
0
0
0
0
0
0.027356
0
0
0
0
0
0
1
0.074074
false
0
0.037037
0.037037
0.62963
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
1
0
0
3
cee195bb4bdab0c263df929bab9a8c5bea3dca3f
356
py
Python
src/api/libs/utils.py
jelly-ape/dts_server
e770e7fc5b960f551f6008f70388ab63e98f876b
[ "MIT" ]
null
null
null
src/api/libs/utils.py
jelly-ape/dts_server
e770e7fc5b960f551f6008f70388ab63e98f876b
[ "MIT" ]
null
null
null
src/api/libs/utils.py
jelly-ape/dts_server
e770e7fc5b960f551f6008f70388ab63e98f876b
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- encoding: utf-8 -*- def singleton(cls, *args, **kwargs): """单例模式装饰器 参数: cls: 类的对象 *args, **kwargs: 需要带入的其他参数 """ instances = {} def __func(*args, **kwargs): if cls not in instances: instances[cls] = cls(*args, **kwargs) retu...
18.736842
49
0.530899
39
356
4.74359
0.564103
0.216216
0.140541
0
0
0
0
0
0
0
0
0.004065
0.308989
356
18
50
19.777778
0.747967
0.286517
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0
0
0.571429
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
1
0
0
0
0
1
0
0
3
cee4d7c61416d6fc26473a67b9afc4da0bdb40aa
382
py
Python
examples/vars/b.tf.py
mdawar/pretf
f11f8d646965e27dd2ade182fda3e8ce55d13804
[ "MIT" ]
null
null
null
examples/vars/b.tf.py
mdawar/pretf
f11f8d646965e27dd2ade182fda3e8ce55d13804
[ "MIT" ]
null
null
null
examples/vars/b.tf.py
mdawar/pretf
f11f8d646965e27dd2ade182fda3e8ce55d13804
[ "MIT" ]
null
null
null
from pretf.api import block def pretf_blocks(var): yield block("output", "two_attr", {"value": var.two}) yield block("output", "two_dict", {"value": var["two"]}) yield block("variable", "three", {"default": 3}) yield block("output", "three", {"value": var.three}) yield block("variable", "four"...
23.875
60
0.602094
49
382
4.632653
0.387755
0.264317
0.281938
0.167401
0.185022
0
0
0
0
0
0
0.003165
0.172775
382
15
61
25.466667
0.71519
0
0
0
0
0
0.272251
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.25
0
0
0
0
null
1
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
3
ceeafd47da768a95ba83240fe1281800a574dd96
172
py
Python
dialow/__init__.py
SiLeader/pydialogflow
53ec43dbe8afea3c6068ea60573738c48436e502
[ "Apache-2.0" ]
null
null
null
dialow/__init__.py
SiLeader/pydialogflow
53ec43dbe8afea3c6068ea60573738c48436e502
[ "Apache-2.0" ]
null
null
null
dialow/__init__.py
SiLeader/pydialogflow
53ec43dbe8afea3c6068ea60573738c48436e502
[ "Apache-2.0" ]
null
null
null
from .request import Request from .session import Session from .response import Response __version__ = "1.0.0" __license__ = "Apache License 2.0" __author__ = "SiLeader"
19.111111
34
0.767442
23
172
5.217391
0.565217
0
0
0
0
0
0
0
0
0
0
0.034014
0.145349
172
8
35
21.5
0.782313
0
0
0
0
0
0.181287
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
ceed7d9c56517449e3a48907b0adbd035efe1327
19,674
py
Python
Functions.py
Maths-against-Malaria/COVID19_LTCFs
9719891fcb93ef44001611c2ebcc4ea380201276
[ "MIT" ]
null
null
null
Functions.py
Maths-against-Malaria/COVID19_LTCFs
9719891fcb93ef44001611c2ebcc4ea380201276
[ "MIT" ]
null
null
null
Functions.py
Maths-against-Malaria/COVID19_LTCFs
9719891fcb93ef44001611c2ebcc4ea380201276
[ "MIT" ]
null
null
null
# Uncomment the following line and comment the next one if you are simulating LTCF # from constant_LTCFs_Germany import * from constant_IFs_USA import * class FuncClass: """This class contains all the functions we need to define the model""" def pcont(self, t, inp_var): """Returns the parameter for ge...
46.510638
124
0.496086
3,179
19,674
3.032715
0.08336
0.069391
0.044394
0.040452
0.781869
0.756353
0.732185
0.684576
0.670055
0.637797
0
0.068405
0.364695
19,674
422
125
46.620853
0.702936
0.385433
0
0.519824
0
0
0
0
0
0
0
0
0
1
0.052863
false
0
0.004405
0
0.189427
0
0
0
0
null
0
0
0
0
1
1
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
3
301d84b33594406c8b3f7ef427a59b0a53d43054
832
py
Python
tests/expectations/cat-x-cat-hs-pw-pvals.py
Crunch-io/crunch-cube
80986d5b2106c774f05176fb6c6a5ea0d840f09d
[ "MIT" ]
3
2021-01-22T20:42:31.000Z
2021-06-02T17:53:19.000Z
tests/expectations/cat-x-cat-hs-pw-pvals.py
Crunch-io/crunch-cube
80986d5b2106c774f05176fb6c6a5ea0d840f09d
[ "MIT" ]
331
2017-11-13T22:41:56.000Z
2021-12-02T21:59:43.000Z
tests/expectations/cat-x-cat-hs-pw-pvals.py
Crunch-io/crunch-cube
80986d5b2106c774f05176fb6c6a5ea0d840f09d
[ "MIT" ]
1
2021-02-19T02:49:00.000Z
2021-02-19T02:49:00.000Z
[ [ 1.00000000e00, 9.50744855e-01, 7.61580875e-01, 1.45494511e-03, 1.35271514e-04, 2.75262668e-03, 9.40575477e-01, 4.90755141e-01, 3.16822332e-03, 6.38672254e-01, 3.44275537e-05, ], [ 1.00000000e00, 2.345...
19.809524
23
0.475962
96
832
4.125
0.46875
0.045455
0
0
0
0
0
0
0
0
0
0.72167
0.395433
832
41
24
20.292683
0.065606
0
0
0.146341
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
302866ce835450b5ef174acc809381ae5b06019b
15
py
Python
api/models.py
m4rtinpf/smpp-client
58f3b891121050861176e7c1ad9b4198d757d1f6
[ "MIT" ]
null
null
null
api/models.py
m4rtinpf/smpp-client
58f3b891121050861176e7c1ad9b4198d757d1f6
[ "MIT" ]
1
2022-02-23T20:04:03.000Z
2022-02-23T20:04:03.000Z
api/models.py
m4rtinpf/smpp-client
58f3b891121050861176e7c1ad9b4198d757d1f6
[ "MIT" ]
null
null
null
users = dict()
7.5
14
0.6
2
15
4.5
1
0
0
0
0
0
0
0
0
0
0
0
0.2
15
1
15
15
0.75
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
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
3
3045b781834c5776a3afb585ad4f134133f11a63
648
py
Python
src/entities/baseEntity.py
edunad/dynapi
2b4df7f629220474f94287f2ed968154baec5a9b
[ "Apache-2.0" ]
null
null
null
src/entities/baseEntity.py
edunad/dynapi
2b4df7f629220474f94287f2ed968154baec5a9b
[ "Apache-2.0" ]
null
null
null
src/entities/baseEntity.py
edunad/dynapi
2b4df7f629220474f94287f2ed968154baec5a9b
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 from managers.gameManager import * from abc import ABCMeta, abstractmethod """ ################# # The Functions # ###################################### ## Global file with all the functions. ###################################### """ class BaseEntity(object): __metaclass__ = ABCMeta ...
20.25
45
0.550926
63
648
5.539683
0.555556
0.146132
0.137536
0
0
0
0
0
0
0
0
0.009881
0.219136
648
31
46
20.903226
0.679842
0.032407
0
0.1875
0
0
0.120172
0
0
0
0
0
0
1
0.25
false
0
0.125
0.1875
0.6875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
3060533c430e798549eb9c9cbc3a61349e642c3d
13,428
py
Python
LPES-video/04.02-awk/04.02.01-awk.py
opcode-eu-org-website/LPES-wyklady-src
dd4d413f2bb5560790b6365fa7e68e8f1a8a65b0
[ "MIT" ]
null
null
null
LPES-video/04.02-awk/04.02.01-awk.py
opcode-eu-org-website/LPES-wyklady-src
dd4d413f2bb5560790b6365fa7e68e8f1a8a65b0
[ "MIT" ]
null
null
null
LPES-video/04.02-awk/04.02.01-awk.py
opcode-eu-org-website/LPES-wyklady-src
dd4d413f2bb5560790b6365fa7e68e8f1a8a65b0
[ "MIT" ]
1
2021-07-03T16:43:47.000Z
2021-07-03T16:43:47.000Z
# Copyright (c) 2020-2021 Matematyka dla Ciekawych Świata (http://ciekawi.icm.edu.pl/) # Copyright (c) 2020-2021 Robert Ryszard Paciorek <rrp@opcode.eu.org> # # MIT License # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Soft...
72.583784
235
0.707849
1,946
13,428
4.886434
0.377698
0.053002
0.055211
0.044169
0.085498
0.047324
0.040803
0.033442
0.017457
0.009254
0
0.009257
0.171358
13,428
184
236
72.978261
0.844972
0.088546
0
0.130435
0
0.442029
0.848396
0
0
0
0
0
0
1
0
false
0.115942
0
0
0
0.130435
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
3062e1859698ecadb4a31867e59726d934ae585d
147
py
Python
goods/urls.py
Melpomene927/jp-trade
cbfa33a090c5d3b01d37ccb1b835963bb0e180aa
[ "Apache-2.0" ]
null
null
null
goods/urls.py
Melpomene927/jp-trade
cbfa33a090c5d3b01d37ccb1b835963bb0e180aa
[ "Apache-2.0" ]
null
null
null
goods/urls.py
Melpomene927/jp-trade
cbfa33a090c5d3b01d37ccb1b835963bb0e180aa
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from django.urls import path from . import views urlpatterns = [ path('', views.goods_list, name='goods'), ]
18.375
45
0.721088
20
147
5.25
0.6
0.190476
0
0
0
0
0
0
0
0
0
0
0.163265
147
7
46
21
0.853659
0
0
0
0
0
0.034014
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
306dd1c68bcc5581ce3693d1ab47eef584415650
973
py
Python
app/forms.py
nibinn/Rnd
e306b3da3af5e9da66d11436bc7abf3a77f50573
[ "MIT" ]
null
null
null
app/forms.py
nibinn/Rnd
e306b3da3af5e9da66d11436bc7abf3a77f50573
[ "MIT" ]
null
null
null
app/forms.py
nibinn/Rnd
e306b3da3af5e9da66d11436bc7abf3a77f50573
[ "MIT" ]
null
null
null
from django import forms class CustomerForm(forms.Form): name = forms.CharField(widget=forms.TextInput(attrs={'class': 'form-control'})) address = forms.CharField(widget=forms.TextInput(attrs={'class': 'form-control'})) email = forms.EmailField(widget=forms.EmailInput(attrs={'class': 'form-control'})) phone = forms...
57.235294
106
0.75334
121
973
5.983471
0.305785
0.151934
0.19337
0.290055
0.689227
0.689227
0.689227
0.632597
0.632597
0
0
0
0.06372
973
17
107
57.235294
0.794731
0
0
0
0
0
0.174538
0
0
0
0
0
0
1
0
false
0
0.076923
0
1
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
1
0
0
3
306ddb2db54b5d6e1db3b511c0a77c728cf60d95
2,466
py
Python
falmer/content/migrations/0028_answerpage_contentrootpage_detailedguidepage_detailedguidesectionpage_referencepage.py
sussexstudent/services-api
ae735bd9d6177002c3d986e5c19a78102233308f
[ "MIT" ]
2
2017-04-27T19:35:59.000Z
2017-06-13T16:19:33.000Z
falmer/content/migrations/0028_answerpage_contentrootpage_detailedguidepage_detailedguidesectionpage_referencepage.py
sussexstudent/falmer
ae735bd9d6177002c3d986e5c19a78102233308f
[ "MIT" ]
975
2017-04-13T11:31:07.000Z
2022-02-10T07:46:18.000Z
falmer/content/migrations/0028_answerpage_contentrootpage_detailedguidepage_detailedguidesectionpage_referencepage.py
sussexstudent/services-api
ae735bd9d6177002c3d986e5c19a78102233308f
[ "MIT" ]
3
2018-05-09T06:42:25.000Z
2020-12-10T18:29:30.000Z
# Generated by Django 2.0.5 on 2018-07-02 13:42 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('wagtailcore', '0040_page_draft_title'), ('content', '0027_freshershomepage'), ] operations = [ migr...
37.363636
191
0.56326
226
2,466
5.995575
0.269912
0.041328
0.061993
0.097417
0.734317
0.734317
0.613284
0.613284
0.613284
0.613284
0
0.013442
0.306164
2,466
65
192
37.938462
0.778492
0.018248
0
0.59322
1
0
0.18272
0.027284
0
0
0
0
0
1
0
false
0
0.033898
0
0.084746
0
0
0
0
null
0
0
0
0
1
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
3
307ad56579002a9dcc22ea9433836d58ad044307
933
py
Python
setup.py
unt-libraries/django-major-event-log
2a978522764993ec741e6a0e3dc787850baa38e0
[ "BSD-3-Clause" ]
null
null
null
setup.py
unt-libraries/django-major-event-log
2a978522764993ec741e6a0e3dc787850baa38e0
[ "BSD-3-Clause" ]
51
2015-06-05T21:25:11.000Z
2020-07-22T14:41:58.000Z
setup.py
unt-libraries/django-major-event-log
2a978522764993ec741e6a0e3dc787850baa38e0
[ "BSD-3-Clause" ]
null
null
null
from setuptools import setup, find_packages setup( name='django-major-event-log', version='1.0.0', packages=find_packages(exclude=['tests*']), description='Django app for keeping track of major premis events.', long_description='See the home page for more information.', include_package_data=Tru...
35.884615
71
0.637728
106
933
5.556604
0.622642
0.16129
0.212224
0.17657
0
0
0
0
0
0
0
0.016349
0.21329
933
25
72
37.32
0.786104
0
0
0
0
0
0.554126
0.046088
0
0
0
0
0
1
0
true
0
0.041667
0
0.041667
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
1
0
0
0
0
0
0
3
061e2c1394b809fd2a84f938de7ae7832f2bc767
75,192
py
Python
okl4_kernel/okl4_2.1.1-patch.9/tools/pyelf/parsers/gnu/gnu_ld_p.py
CyberQueenMara/baseband-research
e1605537e10c37e161fff1a3416b908c9894f204
[ "MIT" ]
77
2018-12-31T22:12:09.000Z
2021-12-31T22:56:13.000Z
okl4_kernel/okl4_2.1.1-patch.9/tools/pyelf/parsers/gnu/gnu_ld_p.py
CyberQueenMara/baseband-research
e1605537e10c37e161fff1a3416b908c9894f204
[ "MIT" ]
null
null
null
okl4_kernel/okl4_2.1.1-patch.9/tools/pyelf/parsers/gnu/gnu_ld_p.py
CyberQueenMara/baseband-research
e1605537e10c37e161fff1a3416b908c9894f204
[ "MIT" ]
24
2019-01-20T15:51:52.000Z
2021-12-25T18:29:13.000Z
### $ANTLR 2.7.6 (20060903): "gnu_ld_p.g" -> "gnu_ld_p.py"$ ### import antlr and other modules .. import sys import antlr version = sys.version.split()[0] if version < '2.2.1': False = 0 if version < '2.3': True = not False ### header action >>> # Copyright (c) 2007 Open Kernel Labs, Inc. (Copyright Holder). ...
39.101404
600
0.560272
8,208
75,192
4.927753
0.070663
0.037036
0.109402
0.036715
0.72396
0.706579
0.661879
0.63938
0.600267
0.591762
0
0.043114
0.354692
75,192
1,922
601
39.121748
0.790466
0.058477
0
0.491033
0
0
0.006725
0
0
0
0
0
0.010513
0
null
null
0.102659
0.003092
null
null
0.003711
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
1
0
0
1
0
0
0
0
0
3
063646c9e289afae9ef39ca4e6d7ff193c1e4d8e
94
py
Python
upload_img/apps.py
NikamRohan/One-Shot-Classifier
6587e3a8a3ab9d8aa7cc44be118d18b13475b17e
[ "MIT" ]
1
2021-08-16T07:08:38.000Z
2021-08-16T07:08:38.000Z
upload_img/apps.py
NikamRohan/One-Shot-Classifier
6587e3a8a3ab9d8aa7cc44be118d18b13475b17e
[ "MIT" ]
null
null
null
upload_img/apps.py
NikamRohan/One-Shot-Classifier
6587e3a8a3ab9d8aa7cc44be118d18b13475b17e
[ "MIT" ]
1
2021-05-16T15:19:59.000Z
2021-05-16T15:19:59.000Z
from django.apps import AppConfig class UploadImgConfig(AppConfig): name = 'upload_img'
15.666667
33
0.765957
11
94
6.454545
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.159574
94
5
34
18.8
0.898734
0
0
0
0
0
0.106383
0
0
0
0
0
0
1
0
false
0
0.333333
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
1
0
0
0
0
3
063e0bd906b34666b6b3be42467c7a7b38ed5673
247
py
Python
task23/task23.py
SimeonHristov99/CodeEveryDay
ffeed48d7d55910be87b40b4113e8073f29a265d
[ "MIT" ]
null
null
null
task23/task23.py
SimeonHristov99/CodeEveryDay
ffeed48d7d55910be87b40b4113e8073f29a265d
[ "MIT" ]
null
null
null
task23/task23.py
SimeonHristov99/CodeEveryDay
ffeed48d7d55910be87b40b4113e8073f29a265d
[ "MIT" ]
null
null
null
def rev_order(s: str): return ' '.join(s.split(' ')[::-1]) def test1(): print(rev_order('Technical Interview Preparation') == 'Preparation Interview Technical') def main(): test1() if __name__ == '__main__': main()
15.4375
54
0.595142
28
247
4.892857
0.607143
0.116788
0
0
0
0
0
0
0
0
0
0.015707
0.226721
247
15
55
16.466667
0.701571
0
0
0
0
0
0.291498
0
0
0
0
0
0
1
0.333333
false
0
0
0.111111
0.444444
0.111111
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
064082ba1632b8af2ea45feaa37464348d355713
2,971
py
Python
src/sage/categories/commutative_additive_groups.py
bopopescu/sage-5
9d85b34956ca2edd55af307f99c5d3859acd30bf
[ "BSL-1.0" ]
5
2015-01-04T07:15:06.000Z
2022-03-04T15:15:18.000Z
src/sage/categories/commutative_additive_groups.py
bopopescu/sage-5
9d85b34956ca2edd55af307f99c5d3859acd30bf
[ "BSL-1.0" ]
null
null
null
src/sage/categories/commutative_additive_groups.py
bopopescu/sage-5
9d85b34956ca2edd55af307f99c5d3859acd30bf
[ "BSL-1.0" ]
10
2016-09-28T13:12:40.000Z
2022-02-12T09:28:34.000Z
r""" Commutative additive groups """ #***************************************************************************** # Copyright (C) 2008 Teresa Gomez-Diaz (CNRS) <Teresa.Gomez-Diaz@univ-mlv.fr> # # Distributed under the terms of the GNU General Public License (GPL) # http://www.gnu.org/licenses/ #***...
34.952941
240
0.563783
279
2,971
5.863799
0.415771
0.067237
0.077017
0.106357
0.24022
0.193154
0.166259
0.166259
0.166259
0.06846
0
0.001848
0.271626
2,971
84
241
35.369048
0.754159
0.552003
0
0
0
0
0.005537
0
0
0
0
0
0
1
0.157895
false
0.052632
0.315789
0
0.842105
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
1
0
1
0
0
3
064e053039351921ff3a7ce9190c47f78235935c
117
py
Python
recognize.py
carlosmata96/people-recognizer-python
ce9c5ef4de8406b92887233cd245a569c3e0f973
[ "MIT" ]
null
null
null
recognize.py
carlosmata96/people-recognizer-python
ce9c5ef4de8406b92887233cd245a569c3e0f973
[ "MIT" ]
null
null
null
recognize.py
carlosmata96/people-recognizer-python
ce9c5ef4de8406b92887233cd245a569c3e0f973
[ "MIT" ]
null
null
null
import sys from libs import load fileCompare = sys.argv[1] result = load.compare_pictures(fileCompare) print(result)
19.5
43
0.803419
17
117
5.470588
0.705882
0
0
0
0
0
0
0
0
0
0
0.009615
0.111111
117
6
44
19.5
0.884615
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
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
1
0
0
0
0
3
066e8c7485c395700a6c388c268d4ee2fec51430
746
py
Python
tests/test_product_patents.py
kzfm/pychembldb
0dde6a05b2dc138e0be7f8f27f57b5c2a42e23c7
[ "CC0-1.0" ]
8
2020-01-16T00:43:46.000Z
2021-11-27T18:26:12.000Z
tests/test_product_patents.py
iwatobipen/pychembldb
0dde6a05b2dc138e0be7f8f27f57b5c2a42e23c7
[ "CC0-1.0" ]
null
null
null
tests/test_product_patents.py
iwatobipen/pychembldb
0dde6a05b2dc138e0be7f8f27f57b5c2a42e23c7
[ "CC0-1.0" ]
3
2020-05-31T05:54:33.000Z
2021-11-15T04:31:07.000Z
import unittest from pychembldb import chembldb, ProductPatent from datetime import datetime class ProductPatentTest(unittest.TestCase): def setUp(self): self.target = chembldb.query(ProductPatent).filter_by(prod_pat_id=270).first() def test_patentno(self): self.assertEqual(self.target.patent_...
33.909091
86
0.742627
100
746
5.31
0.4
0.090395
0.178908
0.216573
0.333333
0.333333
0.13936
0
0
0
0
0.035088
0.159517
746
22
87
33.909091
0.811802
0
0
0
0
0
0.009371
0
0
0
0
0
0.3125
1
0.375
false
0
0.1875
0
0.625
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
0682d20cef12a99b798613dc9cfe022f9a911699
355
py
Python
tests/test_ide.py
dclong/config
1c1736ddeb7edeb1c289043ecca16e1daaf8fc94
[ "MIT" ]
null
null
null
tests/test_ide.py
dclong/config
1c1736ddeb7edeb1c289043ecca16e1daaf8fc94
[ "MIT" ]
null
null
null
tests/test_ide.py
dclong/config
1c1736ddeb7edeb1c289043ecca16e1daaf8fc94
[ "MIT" ]
null
null
null
"""Test the ide module. """ import subprocess as sp from xinstall.utils import run_cmd def test_intellij_idea(): """Test installing and configuring IntelliJ Idea. """ run_cmd("xinstall intellij") def test_bash_lsp(): """Test installing Bash Language Server. """ run_cmd("xinstall svim -ic") ...
19.722222
53
0.684507
48
355
4.875
0.541667
0.102564
0.179487
0
0
0
0
0
0
0
0
0
0.197183
355
17
54
20.882353
0.821053
0.323944
0
0
0
0
0.242152
0
0
0
0
0
0
1
0.285714
true
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
1
0
0
3
06a046644637ef4ccd5ac698eb2272d1e6614684
3,238
py
Python
prefapp_core/comando.py
prefapp/prefapp-core
4f58bf1a8ce56a6025340dabe629c5278d4cffa7
[ "Apache-2.0" ]
null
null
null
prefapp_core/comando.py
prefapp/prefapp-core
4f58bf1a8ce56a6025340dabe629c5278d4cffa7
[ "Apache-2.0" ]
1
2021-06-15T08:25:27.000Z
2021-06-15T08:25:27.000Z
prefapp_core/comando.py
prefapp/prefapp-core
4f58bf1a8ce56a6025340dabe629c5278d4cffa7
[ "Apache-2.0" ]
null
null
null
import logging from prefapp_core.tarea import Tarea from prefapp_core.log import Log, ComandoLog from prefapp_core.utiles.confirmacion import confirmacionUsuario from prefapp_core.alijo import Alijo class Comando: def __init__(self, tarea, refProcesador = None): if refProcesador is None: ...
21.163399
120
0.594812
363
3,238
5.129477
0.300275
0.033835
0.032223
0.017723
0.046187
0.046187
0.01826
0
0
0
0
0.001782
0.306671
3,238
152
121
21.302632
0.827617
0.021309
0
0.123457
0
0
0.068439
0
0
0
0
0.019737
0
1
0.246914
false
0.012346
0.061728
0.098765
0.530864
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
1
0
0
0
0
1
0
0
3
2331bfe96c8218803cce1f5901a9e6fb72a15c65
20
py
Python
blocklist.py
kien123456k/straightforward-store
1b747043d9b287647e9c265784842a43fd777555
[ "MIT" ]
null
null
null
blocklist.py
kien123456k/straightforward-store
1b747043d9b287647e9c265784842a43fd777555
[ "MIT" ]
null
null
null
blocklist.py
kien123456k/straightforward-store
1b747043d9b287647e9c265784842a43fd777555
[ "MIT" ]
null
null
null
BLOCKLIST = {2, 3}
10
19
0.55
3
20
3.666667
1
0
0
0
0
0
0
0
0
0
0
0.133333
0.25
20
1
20
20
0.6
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
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
3
2368fc96210aabb113d0af4294bc00dd6bd3e2c9
383
py
Python
other/dingding/dingtalk/api/rest/OapiEduClassListbyteacherRequest.py
hth945/pytest
83e2aada82a2c6a0fdd1721320e5bf8b8fd59abc
[ "Apache-2.0" ]
null
null
null
other/dingding/dingtalk/api/rest/OapiEduClassListbyteacherRequest.py
hth945/pytest
83e2aada82a2c6a0fdd1721320e5bf8b8fd59abc
[ "Apache-2.0" ]
null
null
null
other/dingding/dingtalk/api/rest/OapiEduClassListbyteacherRequest.py
hth945/pytest
83e2aada82a2c6a0fdd1721320e5bf8b8fd59abc
[ "Apache-2.0" ]
null
null
null
''' Created by auto_sdk on 2021.02.18 ''' from dingtalk.api.base import RestApi class OapiEduClassListbyteacherRequest(RestApi): def __init__(self,url=None): RestApi.__init__(self,url) self.filter_param = None self.queryFromAllOrgs = None self.userid = None def getHttpMethod(self): return 'POST' def geta...
22.529412
48
0.759791
50
383
5.62
0.64
0.05694
0.078292
0
0
0
0
0
0
0
0
0.024024
0.130548
383
16
49
23.9375
0.81982
0.086162
0
0
0
0
0.119883
0.108187
0
0
0
0
0
1
0.272727
false
0
0.090909
0.181818
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
1
0
0
3
88bdea6f351c26f906c11f481fe0d43524ae7cc3
175
py
Python
alphaflow/__init__.py
breakds/alphaflow
2b387767a77727aac50bf39f2bfd8359378caceb
[ "MIT" ]
null
null
null
alphaflow/__init__.py
breakds/alphaflow
2b387767a77727aac50bf39f2bfd8359378caceb
[ "MIT" ]
null
null
null
alphaflow/__init__.py
breakds/alphaflow
2b387767a77727aac50bf39f2bfd8359378caceb
[ "MIT" ]
null
null
null
from .scheduler import Scheduler from .node import Node, make_node from .basic_nodes import Constant __all__ = [ 'Scheduler', 'Node', 'make_node', 'Constant', ]
15.909091
33
0.691429
21
175
5.428571
0.428571
0.140351
0.210526
0
0
0
0
0
0
0
0
0
0.2
175
10
34
17.5
0.814286
0
0
0
0
0
0.171429
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
88e15bfed9ded4c5199d318a411412be660b1cb3
466
py
Python
src/ade/__init__.py
cisagov/assessment-data-export
fed41d2cdd969f43c0dc25b88db08dcab8d83cf9
[ "CC0-1.0" ]
2
2019-05-27T03:00:57.000Z
2021-03-18T23:21:07.000Z
src/ade/__init__.py
cisagov/assessment-data-export
fed41d2cdd969f43c0dc25b88db08dcab8d83cf9
[ "CC0-1.0" ]
12
2019-05-07T22:11:54.000Z
2022-03-07T21:37:28.000Z
src/ade/__init__.py
dhs-ncats/re-jira-import
559289b11c1ac515d6b8ad9e4e88f7ac06183e34
[ "CC0-1.0" ]
null
null
null
"""A tool for exporting assessment data from Jira to an AWS S3 bucket.""" # We disable a Flake8 check for "Module imported but unused (F401)" here because # although this import is not directly used, it populates the value # package_name.__version__, which is used to get version information about this # Python package....
46.6
80
0.791845
69
466
5.057971
0.666667
0.160458
0.114613
0
0
0
0
0
0
0
0
0.020151
0.148069
466
9
81
51.777778
0.858942
0.682403
0
0
0
0
0.15942
0.15942
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
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
1
0
0
3
88e363a8496e52e3e8a4cea9b8cb37fb71829f49
23
py
Python
gym/agent/probers/__init__.py
intrig-unicamp/gym
044be41236502ebde64427c3e1fff53bfff34aa2
[ "Apache-2.0" ]
8
2019-02-13T17:17:50.000Z
2021-08-17T12:32:42.000Z
gym/agent/probers/__init__.py
raphaelvrosa/gym
f1d20b444050ab0f445681ae39e93ffd44610f21
[ "Apache-2.0" ]
2
2017-09-18T03:06:29.000Z
2019-07-30T23:59:34.000Z
gym/tests/cnet/topos/__init__.py
intrig-unicamp/gym
044be41236502ebde64427c3e1fff53bfff34aa2
[ "Apache-2.0" ]
2
2018-07-03T11:03:28.000Z
2020-03-12T17:20:11.000Z
__author__ = 'erapvic'
11.5
22
0.73913
2
23
6.5
1
0
0
0
0
0
0
0
0
0
0
0
0.130435
23
1
23
23
0.65
0
0
0
0
0
0.304348
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
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
3
88ebdbdec641188a3eabaa813d7058ce01cdcdff
395
py
Python
conbench/entities/case.py
jonkeane/conbench
f096cc2f8b7a85d8e9aea32d8310127cf1923212
[ "MIT" ]
48
2020-03-02T16:55:46.000Z
2022-02-26T00:35:57.000Z
conbench/entities/case.py
jonkeane/conbench
f096cc2f8b7a85d8e9aea32d8310127cf1923212
[ "MIT" ]
103
2020-03-23T00:22:46.000Z
2022-03-31T22:34:40.000Z
conbench/entities/case.py
jonkeane/conbench
f096cc2f8b7a85d8e9aea32d8310127cf1923212
[ "MIT" ]
6
2020-03-04T17:52:35.000Z
2022-03-30T11:53:40.000Z
import sqlalchemy as s from sqlalchemy.dialects import postgresql from ..entities._entity import Base, EntityMixin, NotNull, generate_uuid class Case(Base, EntityMixin): __tablename__ = "case" id = NotNull(s.String(50), primary_key=True, default=generate_uuid) name = NotNull(s.Text) tags = NotNull(po...
26.333333
72
0.746835
53
395
5.396226
0.566038
0.104895
0
0
0
0
0
0
0
0
0
0.005917
0.144304
395
14
73
28.214286
0.840237
0
0
0
1
0
0.035443
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
88ec8c8c07e5222b1c5d48a08213282fc3212978
288
py
Python
config.py
Jzou44/CASIA_Handwriting_Recognition
876d7ebec1abd1041f5770bc375d8621a62300cc
[ "MIT" ]
8
2019-10-21T12:45:24.000Z
2021-11-04T22:17:11.000Z
config.py
Jzou44/CASIA_Handwriting_Recognition
876d7ebec1abd1041f5770bc375d8621a62300cc
[ "MIT" ]
1
2021-04-11T07:49:35.000Z
2021-04-11T07:49:35.000Z
config.py
Jzou44/CASIA_Handwriting_Recognition
876d7ebec1abd1041f5770bc375d8621a62300cc
[ "MIT" ]
2
2018-09-26T22:55:22.000Z
2021-04-28T06:08:22.000Z
import tensorflow as tf CASIA_train_sqlite_file_path = 'Dataset/TrainDataset.sqlite' CASIA_test_sqlite_file_path = 'Dataset/TestDataset.sqlite' CASIA_label_file_path = 'Dataset/label.pickle' image_hight = 128 image_width = 128 label_array_length = 300 MODE = tf.estimator.ModeKeys.TRAIN
28.8
60
0.833333
42
288
5.357143
0.595238
0.106667
0.2
0.186667
0
0
0
0
0
0
0
0.034351
0.090278
288
9
61
32
0.824427
0
0
0
0
0
0.253472
0.184028
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
0
0
0
null
0
1
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
3
0006fb6068203ec9c24f270ce3635b8fc12ee7b6
977
py
Python
dike/webdike/admin.py
zxzl/dike
4d2ecfeb5263fb9bb19c525acdb4a5aeb95e9928
[ "MIT" ]
1
2017-11-03T15:06:18.000Z
2017-11-03T15:06:18.000Z
dike/webdike/admin.py
zxzl/dike
4d2ecfeb5263fb9bb19c525acdb4a5aeb95e9928
[ "MIT" ]
3
2017-11-23T10:32:14.000Z
2018-04-28T14:30:16.000Z
dike/webdike/admin.py
zxzl/dike
4d2ecfeb5263fb9bb19c525acdb4a5aeb95e9928
[ "MIT" ]
1
2018-04-28T13:45:13.000Z
2018-04-28T13:45:13.000Z
from django.contrib import admin from webdike.models import * def list_display_all(cls, blacklist=[]): l = [x.name for x in cls._meta.fields if x.name != 'id'] for b in blacklist: l.remove(b) return l @admin.register(UserProfile) class UserProfileAdmin(admin.ModelAdmin): list_display = list...
22.204545
62
0.741044
122
977
5.754098
0.352459
0.203704
0.139601
0.222222
0.347578
0.347578
0.347578
0.119658
0
0
0
0
0.142272
977
43
63
22.72093
0.837709
0
0
0
0
0
0.025641
0
0
0
0
0
0
1
0.038462
false
0
0.076923
0
0.653846
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
1
0
0
3
00070dee0562049191107d382a26db76de45909e
1,971
py
Python
Provider.py
cybertraining-dsc/sp20-516-245
6d6735d14085fc447474b76ffe438566ee5b3f10
[ "Apache-2.0" ]
null
null
null
Provider.py
cybertraining-dsc/sp20-516-245
6d6735d14085fc447474b76ffe438566ee5b3f10
[ "Apache-2.0" ]
1
2020-01-22T20:09:36.000Z
2020-01-22T20:09:36.000Z
Provider.py
cybertraining-dsc/sp20-516-245
6d6735d14085fc447474b76ffe438566ee5b3f10
[ "Apache-2.0" ]
null
null
null
import os #from cloudmesh.common.util import banner class Provider: def __init__(self, name): self.name = name def delete(self, name): os.system(f"multipass delete -p {name}") #don't need to call purge after since we use the p flag def images(self): os.system("multipass f...
27
104
0.557585
238
1,971
4.567227
0.256303
0.147194
0.132475
0.264949
0.283349
0.283349
0
0
0
0
0
0
0.308473
1,971
73
105
27
0.797506
0.047692
0
0
0
0
0.261194
0
0
0
0
0
0
1
0.428571
false
0.408163
0.020408
0
0.469388
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
0022ca2439a0e78a44122ebb2a59b908f49f95e2
12,528
py
Python
Pse-in-One-2.0/data/index_list.py
pedroilidio/antibody-pairing
2d49a0b097232483aa9b9873248b05d0b97cafb0
[ "MIT" ]
2
2021-12-31T09:12:02.000Z
2022-03-21T13:45:57.000Z
Pse-in-One-2.0/data/index_list.py
pedroilidio/antibody-pairing
2d49a0b097232483aa9b9873248b05d0b97cafb0
[ "MIT" ]
null
null
null
Pse-in-One-2.0/data/index_list.py
pedroilidio/antibody-pairing
2d49a0b097232483aa9b9873248b05d0b97cafb0
[ "MIT" ]
2
2019-12-25T13:07:00.000Z
2020-11-23T02:48:29.000Z
__author__ = 'Fule Liu' PROTEIN = "ACDEFGHIKLMNPQRSTVWY" DNA = "ACGT" RNA = "ACGU" didna_list = ['Base stacking', 'Protein induced deformability', 'B-DNA twist', 'Dinucleotide GC Content', 'A-philicity', 'Propeller twist', 'Duplex stability:(freeenergy)', 'Duplex tability(disruptenergy)', ...
97.875
120
0.630188
964
12,528
8.131743
0.721992
0.015308
0.026024
0.013777
0.008419
0
0
0
0
0
0
0.324963
0.186223
12,528
127
121
98.645669
0.443943
0
0
0
0
0
0.643598
0.009179
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0034ee6ee10869c82ee1c969321a365102ae0b26
1,025
py
Python
Competitive Programming/Blind 75 Must Do Leetcode/Rotate Image.py
shreejitverma/GeeksforGeeks
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-18T05:14:28.000Z
2022-03-08T07:00:08.000Z
Competitive Programming/Blind 75 Must Do Leetcode/Rotate Image.py
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
6
2022-01-13T04:31:04.000Z
2022-03-12T01:06:16.000Z
Competitive Programming/Blind 75 Must Do Leetcode/Rotate Image.py
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-14T19:53:53.000Z
2022-02-18T05:14:30.000Z
'''https://leetcode.com/problems/rotate-image/ 48. Rotate Image Medium 6773 413 Add to List Share You are given an n x n 2D matrix representing an image, rotate the image by 90 degrees (clockwise). You have to rotate the image in-place, which means you have to modify the input 2D matrix directly. DO NOT allocate a...
18.636364
154
0.612683
186
1,025
3.376344
0.408602
0.070064
0.057325
0.041401
0.047771
0.047771
0
0
0
0
0
0.127098
0.186341
1,025
54
155
18.981481
0.625899
0.84878
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
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
1
0
0
0
0
1
0
0
3
cc468047cabd01977ca634478b9f564213075cfa
984
py
Python
trader/exchange/noop_book.py
rev3ks/Crypto-Liquid-Market-Maker
82b2c8cfd0488d12fde71691147b5f54bce93179
[ "MIT" ]
19
2018-05-04T02:36:29.000Z
2021-12-26T22:17:34.000Z
trader/exchange/noop_book.py
rev3ks/Crypto-Liquid-Market-Maker
82b2c8cfd0488d12fde71691147b5f54bce93179
[ "MIT" ]
18
2018-04-28T02:35:20.000Z
2019-11-22T04:26:47.000Z
trader/exchange/noop_book.py
rev3ks/Crypto-Liquid-Market-Maker
82b2c8cfd0488d12fde71691147b5f54bce93179
[ "MIT" ]
5
2018-04-27T03:04:34.000Z
2022-01-10T14:34:50.000Z
import uuid from decimal import Decimal from trader.exchange.abstract_book import AbstractBook class NoopBook(AbstractBook): def __init__(self, pair="BTC-USD", mid_market=Decimal("500") ): self.pair = pair self.orders = [] def add_order_to_book(self, order): self.orders.append(order) def get_open...
27.333333
109
0.715447
153
984
4.418301
0.254902
0.10355
0.142012
0.12574
0.310651
0.310651
0.310651
0.310651
0.310651
0.310651
0
0.003676
0.170732
984
35
110
28.114286
0.824755
0
0
0
0
0
0.047764
0
0
0
0
0
0
1
0.391304
false
0
0.130435
0.26087
0.826087
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
1
0
0
3
cc4c8b0ea0a0303e2435845f42b9272c73b039fb
2,032
py
Python
entrepot/serializers.py
HunterPen/PmpApi
c50ef9f8ecac7575fc6a45e96bacd18e56b9c0bd
[ "Apache-2.0" ]
null
null
null
entrepot/serializers.py
HunterPen/PmpApi
c50ef9f8ecac7575fc6a45e96bacd18e56b9c0bd
[ "Apache-2.0" ]
null
null
null
entrepot/serializers.py
HunterPen/PmpApi
c50ef9f8ecac7575fc6a45e96bacd18e56b9c0bd
[ "Apache-2.0" ]
null
null
null
from rest_framework import serializers from .models import (Commodity, InEntrepot, InEntrepotDetail, OutEntrepot, OutEntrepotDetail) class CommoditySerializer(serializers.HyperlinkedModelSerializer): class Meta: model = Commodity fields = ('commodity_id', 'commodity_name', '...
37.62963
98
0.717028
216
2,032
6.555556
0.152778
0.237288
0.29661
0.059322
0.524718
0.375706
0.320621
0.288136
0.135593
0.135593
0
0
0.158465
2,032
53
99
38.339623
0.82807
0
0
0.243243
0
0
0.177165
0.023622
0
0
0
0
0
1
0
false
0
0.054054
0
0.702703
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
1
0
0
3
cc4d46eaf2bb62d175d96fcf957f7140e259798f
724
py
Python
task2/lists.py
MrWe/aiprog17
287e56f43ff862b1686295805807c017cf7df695
[ "MIT" ]
null
null
null
task2/lists.py
MrWe/aiprog17
287e56f43ff862b1686295805807c017cf7df695
[ "MIT" ]
null
null
null
task2/lists.py
MrWe/aiprog17
287e56f43ff862b1686295805807c017cf7df695
[ "MIT" ]
null
null
null
import heapq class List: def __init__(self): self.nodes = [] self.set = set() def contains(self, other): return other.hash in self.set def is_empty(self): return len(self.nodes) == 0 class OpenList(List): #we use a min-heap def __init__(self): super().__init__...
20.685714
49
0.587017
99
724
4.070707
0.353535
0.133995
0.081886
0.074442
0.454094
0.454094
0.454094
0.337469
0.337469
0
0
0.005736
0.277624
724
34
50
21.294118
0.764818
0.023481
0
0.52
0
0
0
0
0
0
0
0
0
1
0.36
false
0
0.04
0.16
0.68
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
1
0
0
3
cc6f14b74fafc4fd0c4c20c5cccba310e350f321
292
py
Python
logscribe/merge_entry.py
glenmarton/logscribe
e32db2e7a889140af1c7a48ab3ef5247e7f93846
[ "MIT" ]
null
null
null
logscribe/merge_entry.py
glenmarton/logscribe
e32db2e7a889140af1c7a48ab3ef5247e7f93846
[ "MIT" ]
null
null
null
logscribe/merge_entry.py
glenmarton/logscribe
e32db2e7a889140af1c7a48ab3ef5247e7f93846
[ "MIT" ]
null
null
null
class MergeEntry: def __init__(self, log_entry): self.sha1 = '' self.action = '' self.description = '' self.issue = 0 def set_with(self, log_entry): self.sha1 = log_entry[0:8] def extract_substring_surrounded_by(self, char): pass
22.461538
52
0.585616
36
292
4.444444
0.583333
0.15
0.15
0.2
0.25
0
0
0
0
0
0
0.024631
0.304795
292
12
53
24.333333
0.763547
0
0
0
0
0
0
0
0
0
0
0
0
1
0.3
false
0.1
0
0
0.4
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
cc8bb1a950cb40623f9559d68aea0b51d9eaa9f2
923
py
Python
tests/test_geometry.py
BradyKieffer/SimplexNoise
164b999471aa00fee4db5a2bed2417a3a9ce891d
[ "MIT" ]
12
2018-04-10T02:14:52.000Z
2021-05-30T04:56:45.000Z
tests/test_geometry.py
BradyKieffer/SimplexNoise
164b999471aa00fee4db5a2bed2417a3a9ce891d
[ "MIT" ]
1
2018-07-16T06:04:33.000Z
2018-07-16T06:04:33.000Z
tests/test_geometry.py
BradyKieffer/SimplexNoise
164b999471aa00fee4db5a2bed2417a3a9ce891d
[ "MIT" ]
3
2018-06-22T10:33:25.000Z
2020-07-15T17:11:36.000Z
""" Unit tests for the geometry package """ import nose from simplexnoise.geometry import Point from nose.tools import assert_equal class TestPoint(object): def setUp(self): self.point = Point(1, 1, 1) def test_as_tuple(self): tup = (1, 1, 1) assert_equal(self.point.as_tuple(), tup) ...
24.289474
49
0.579632
147
923
3.482993
0.265306
0.236328
0.152344
0.15625
0.330078
0.330078
0.285156
0.285156
0.1875
0.1875
0
0.041854
0.27519
923
37
50
24.945946
0.723468
0.03792
0
0.222222
0
0
0.003409
0
0
0
0
0
0.407407
1
0.259259
false
0
0.111111
0
0.407407
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
1
0
0
0
0
0
0
0
3
aea4213be08564aefb7d1bc43688ba81332420d5
243
py
Python
UnityEngine/AnimationPlayMode/__init__.py
Grim-es/udon-pie-auto-completion
c2cd86554ed615cdbbb01e19fa40665eafdfaedc
[ "MIT" ]
null
null
null
UnityEngine/AnimationPlayMode/__init__.py
Grim-es/udon-pie-auto-completion
c2cd86554ed615cdbbb01e19fa40665eafdfaedc
[ "MIT" ]
null
null
null
UnityEngine/AnimationPlayMode/__init__.py
Grim-es/udon-pie-auto-completion
c2cd86554ed615cdbbb01e19fa40665eafdfaedc
[ "MIT" ]
null
null
null
from UdonPie import UnityEngine from UdonPie.Undefined import * class AnimationPlayMode: def __new__(cls, arg1=None): ''' :returns: AnimationPlayMode :rtype: UnityEngine.AnimationPlayMode ''' pass
20.25
45
0.650206
21
243
7.333333
0.714286
0.142857
0
0
0
0
0
0
0
0
0
0.00565
0.271605
243
11
46
22.090909
0.864407
0.26749
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0.2
0.4
0
0.8
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
1
0
0
0
0
3
aec83c1303a5c2fbf1c8a68f738a7ad80a84f35e
74
py
Python
stellarobservatory/utils/__init__.py
erasmus/stellar-observatory
95040b2b53a5caa7d8c4d50dc9f6e23b49e2b781
[ "MIT" ]
null
null
null
stellarobservatory/utils/__init__.py
erasmus/stellar-observatory
95040b2b53a5caa7d8c4d50dc9f6e23b49e2b781
[ "MIT" ]
null
null
null
stellarobservatory/utils/__init__.py
erasmus/stellar-observatory
95040b2b53a5caa7d8c4d50dc9f6e23b49e2b781
[ "MIT" ]
null
null
null
"""Stellar Observatory utilities""" from . import sets __all__ = ['sets']
18.5
35
0.702703
8
74
6
0.875
0
0
0
0
0
0
0
0
0
0
0
0.135135
74
3
36
24.666667
0.75
0.391892
0
0
0
0
0.102564
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
aed2551d2d01e325f9b446117720f6d1fb6fc9bb
1,412
py
Python
async_signalr_client/protocols/base.py
jvillacorta/async-signalr-client
5cdb9d8f89c37a0ad5ba6e85df541b1346cbf50d
[ "MIT" ]
2
2020-04-21T09:09:33.000Z
2021-02-06T21:26:27.000Z
async_signalr_client/protocols/base.py
jvillacorta/async-signalr-client
5cdb9d8f89c37a0ad5ba6e85df541b1346cbf50d
[ "MIT" ]
1
2020-07-09T09:22:52.000Z
2020-07-09T09:22:52.000Z
async_signalr_client/protocols/base.py
jvillacorta/async-signalr-client
5cdb9d8f89c37a0ad5ba6e85df541b1346cbf50d
[ "MIT" ]
null
null
null
from async_signalr_client.models import messages class BaseSignalRProtocol: """ Base SignalR Protocol class - Defines interface that all protocols should implement """ def __init__(self, protocol: str, version: int, separator: str): self.protocol = protocol self.version = version ...
32.090909
93
0.668555
139
1,412
6.733813
0.374101
0.053419
0.202991
0.245727
0.403846
0.222222
0.104701
0
0
0
0
0
0.259915
1,412
43
94
32.837209
0.895694
0.300992
0
0.3125
0
0
0.134977
0
0
0
0
0
0
1
0.375
false
0
0.0625
0
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
aefc1de0c801be6b0f3a78ae6e887cc1c170ba15
1,308
py
Python
djtools/decorators/auth.py
carthagecollege/django-djtools
3de4c037249c1604812e19d364919078e873d38a
[ "Unlicense" ]
2
2017-04-25T10:29:25.000Z
2019-12-13T16:49:33.000Z
djtools/decorators/auth.py
carthage-college/django-djtools
3de4c037249c1604812e19d364919078e873d38a
[ "Unlicense" ]
null
null
null
djtools/decorators/auth.py
carthage-college/django-djtools
3de4c037249c1604812e19d364919078e873d38a
[ "Unlicense" ]
null
null
null
from django.http import HttpResponseRedirect from django.urls import reverse_lazy from django.contrib.auth.decorators import user_passes_test def superuser_only(function): """ Limit view to superusers only. Usage: -------------------------------------------------------------------------- @superuse...
31.142857
78
0.500765
123
1,308
5.130081
0.495935
0.047544
0.044374
0
0
0
0
0
0
0
0
0
0.192661
1,308
41
79
31.902439
0.597538
0.458716
0
0
0
0
0.016129
0
0
0
0
0
0
1
0.266667
false
0.133333
0.2
0
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
1
0
1
0
0
1
0
0
3
4e0d90798e27d2ee134844e48cb1902cdbbe140b
121
py
Python
setup.py
leegohi/pyinpy
edbf4c35af1b07ad092c21e99cb78517a857fab9
[ "MIT" ]
1
2022-03-02T04:44:13.000Z
2022-03-02T04:44:13.000Z
setup.py
leegohi/pyinpy
edbf4c35af1b07ad092c21e99cb78517a857fab9
[ "MIT" ]
null
null
null
setup.py
leegohi/pyinpy
edbf4c35af1b07ad092c21e99cb78517a857fab9
[ "MIT" ]
null
null
null
from setuptools import setup, Extension setup( entry_points={"console_scripts": ["pyinpy=pyinpy.main:main"]} )
20.166667
66
0.710744
14
121
6
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.157025
121
5
67
24.2
0.823529
0
0
0
0
0
0.327586
0.198276
0
0
0
0
0
1
0
true
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
1
0
0
0
0
0
0
3
4e101e6591af4edf6523df152091dde242c6b792
83
py
Python
module_tests/ifaddr_test.py
LukasMazl/NicSpeedyModule
bec7bc585b8dfa64f449632e677d4fcface643fe
[ "MIT" ]
7
2021-08-06T14:26:27.000Z
2021-08-12T18:54:05.000Z
module_tests/ifaddr_test.py
LukasMazl/NicSpeedyModule
bec7bc585b8dfa64f449632e677d4fcface643fe
[ "MIT" ]
7
2020-10-16T08:49:01.000Z
2021-08-03T16:29:33.000Z
module_tests/ifaddr_test.py
LukasMazl/NicSpeedyModule
bec7bc585b8dfa64f449632e677d4fcface643fe
[ "MIT" ]
null
null
null
#https://pypi.org/project/ifaddr/ import ifaddr adapters = ifaddr.get_adapters()
13.833333
33
0.759036
11
83
5.636364
0.727273
0
0
0
0
0
0
0
0
0
0
0
0.096386
83
5
34
16.6
0.826667
0.385542
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
9da05e8e36b08f2532c609cfe2ce479123a8cb27
264
py
Python
app/main/forms.py
CheropS/Sharry-s-Blog
cc32664fcf564fb075c4381068d579e322840181
[ "MIT" ]
null
null
null
app/main/forms.py
CheropS/Sharry-s-Blog
cc32664fcf564fb075c4381068d579e322840181
[ "MIT" ]
null
null
null
app/main/forms.py
CheropS/Sharry-s-Blog
cc32664fcf564fb075c4381068d579e322840181
[ "MIT" ]
null
null
null
from flask_wtf import FlaskForm from wtforms import TextAreaField, SubmitField from wtforms.validators import Required class UpdateProfile(FlaskForm): bio=TextAreaField('Tell us something about you.', validators=[Required()]) submit=SubmitField('Submit')
33
78
0.799242
30
264
7
0.633333
0.104762
0
0
0
0
0
0
0
0
0
0
0.117424
264
8
79
33
0.901288
0
0
0
0
0
0.128302
0
0
0
0
0
0
1
0
false
0
0.5
0
1
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
1
0
0
3
9da5d5473abbfced01513c0da3cd14cfc727a3c8
2,197
py
Python
tests/utils.py
afruizc/tripplanner
9c7a081ddc0419145d194232776bb123cc709db2
[ "MIT" ]
null
null
null
tests/utils.py
afruizc/tripplanner
9c7a081ddc0419145d194232776bb123cc709db2
[ "MIT" ]
1
2020-07-07T21:06:15.000Z
2020-07-07T21:06:15.000Z
tests/utils.py
green-john/tripplanner
9c7a081ddc0419145d194232776bb123cc709db2
[ "MIT" ]
null
null
null
import base64 import datetime from tripplanner import db from tripplanner.users.models import User, Role from tripplanner.trips.models import Trip class MockDate(datetime.date): def __new__(cls, *args, **kwargs): return datetime.date.__new__(cls, *args, **kwargs) def create_user(user='user1', passwor...
26.792683
82
0.710059
297
2,197
5.047138
0.272727
0.048032
0.03469
0.056037
0.283522
0.200133
0.200133
0.109406
0.053369
0
0
0.006084
0.17706
2,197
81
83
27.123457
0.823009
0.179335
0
0.097561
0
0
0.052119
0
0
0
0
0
0
1
0.219512
false
0.292683
0.121951
0.073171
0.585366
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
1
0
0
3
9dd0a8f614f96f94d15b9d6a605573f603eab575
350
py
Python
api/migrations/versions/866611669529_.py
cclauss/Baobab
e7aad3a63237be5f16e6441b89b3cc708ec19acd
[ "Apache-2.0" ]
52
2019-01-10T16:04:26.000Z
2022-02-10T00:55:59.000Z
api/migrations/versions/866611669529_.py
cclauss/Baobab
e7aad3a63237be5f16e6441b89b3cc708ec19acd
[ "Apache-2.0" ]
535
2019-01-08T21:24:01.000Z
2022-02-27T15:24:06.000Z
api/migrations/versions/866611669529_.py
cclauss/Baobab
e7aad3a63237be5f16e6441b89b3cc708ec19acd
[ "Apache-2.0" ]
36
2019-01-10T16:09:15.000Z
2021-06-28T21:02:47.000Z
"""empty message Revision ID: 866611669529 Revises: ('65f15544a656', '88199ece9b26') Create Date: 2019-06-27 10:05:26.541107 """ # revision identifiers, used by Alembic. revision = '866611669529' down_revision = ('65f15544a656', '88199ece9b26') from alembic import op import sqlalchemy as sa def upgrade(): pas...
15.217391
48
0.722857
42
350
6
0.761905
0.190476
0
0
0
0
0
0
0
0
0
0.272109
0.16
350
22
49
15.909091
0.585034
0.462857
0
0.25
0
0
0.2
0
0
0
0
0
0
1
0.25
false
0.25
0.25
0
0.5
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
1
0
1
0
0
0
0
0
3
9dde30b3bc44977eaa4f66919ff576eef3d565a1
2,000
py
Python
meetup/views.py
hatsem78/django_docker_nginex_nginx_gunicorn
15cb7d2d9ecfd2a2f9bf054997a35903c2ee0ce3
[ "MIT" ]
null
null
null
meetup/views.py
hatsem78/django_docker_nginex_nginx_gunicorn
15cb7d2d9ecfd2a2f9bf054997a35903c2ee0ce3
[ "MIT" ]
null
null
null
meetup/views.py
hatsem78/django_docker_nginex_nginx_gunicorn
15cb7d2d9ecfd2a2f9bf054997a35903c2ee0ce3
[ "MIT" ]
null
null
null
from django.contrib.auth.decorators import login_required from django.contrib.auth.mixins import LoginRequiredMixin from django.shortcuts import render, redirect from django.views.generic import TemplateView from django.contrib.auth import logout as do_logout @login_required def index(request): return render(req...
23.809524
78
0.6715
217
2,000
6.082949
0.239631
0.045455
0.086364
0.159091
0.609091
0.609091
0.609091
0.609091
0.565152
0.565152
0
0
0.216
2,000
83
79
24.096386
0.841837
0.025
0
0.56
0
0
0.122239
0.074987
0
0
0
0
0
1
0.24
false
0.1
0.1
0.06
0.68
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
1
0
0
3
9de0e6a285188f3a920b127b564dd76957ae8742
423
py
Python
battleship/grid.py
colorfuldisaster/battleship
baa101864adc8ab7017e7f09899d72c6ae84b2a7
[ "MIT" ]
null
null
null
battleship/grid.py
colorfuldisaster/battleship
baa101864adc8ab7017e7f09899d72c6ae84b2a7
[ "MIT" ]
null
null
null
battleship/grid.py
colorfuldisaster/battleship
baa101864adc8ab7017e7f09899d72c6ae84b2a7
[ "MIT" ]
null
null
null
import collections Peg = collections.namedtuple("Peg", ["x", "y"]) class RedPeg(Peg): pass class WhitePeg(Peg): pass class Grid(object): def __init__(self, height, width): self._height = height self._width = width self._marks = [] def mark(self, peg): self._marks.append(peg...
16.92
47
0.600473
52
423
4.673077
0.442308
0.148148
0.098765
0
0
0
0
0
0
0
0
0
0.269504
423
24
48
17.625
0.786408
0
0
0.133333
0
0
0.011848
0
0
0
0
0
0
1
0.266667
false
0.133333
0.066667
0.066667
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
9de8d4b1e12ad095aa313be3c71bf0c63669bb41
3,507
py
Python
3rdParty/patool/tests/archives/test_tar.py
UnicornParson/ConsoleUtils
95f445fd4006791331541e1057035c86cd8eeddb
[ "Apache-2.0" ]
null
null
null
3rdParty/patool/tests/archives/test_tar.py
UnicornParson/ConsoleUtils
95f445fd4006791331541e1057035c86cd8eeddb
[ "Apache-2.0" ]
null
null
null
3rdParty/patool/tests/archives/test_tar.py
UnicornParson/ConsoleUtils
95f445fd4006791331541e1057035c86cd8eeddb
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (C) 2010-2016 Bastian Kleineidam # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. #...
34.722772
82
0.684631
503
3,507
4.592445
0.246521
0.104762
0.180952
0.190476
0.711688
0.638961
0.518615
0.344156
0.186147
0.186147
0
0.007407
0.191617
3,507
100
83
35.07
0.807407
0.328486
0
0.3
0
0
0.112876
0
0
0
0
0
0
1
0.216667
false
0
0.033333
0
0.283333
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
1
0
0
0
0
0
0
0
3
d1ba5185b3f93a718964c2de859fb7f2aa58d8a3
196
py
Python
statistics.py
Nriver/manga_crawler
07c40ede4e8d843f658a5a2e1655e7ce74a8d87d
[ "MIT" ]
3
2018-10-10T06:46:15.000Z
2020-04-17T15:04:27.000Z
statistics.py
Nriver/manga_crawler
07c40ede4e8d843f658a5a2e1655e7ce74a8d87d
[ "MIT" ]
1
2022-03-12T01:04:03.000Z
2022-03-12T01:04:03.000Z
statistics.py
Nriver/manga_crawler
07c40ede4e8d843f658a5a2e1655e7ce74a8d87d
[ "MIT" ]
1
2020-05-28T23:35:58.000Z
2020-05-28T23:35:58.000Z
# -*- coding: utf-8 -*- # @Author: Nate # @Date: 2020-02-20 08:25:21 # @Last Modified by: Nate # @Last Modified time: 2021-12-12 15:54:04 path = 'V:\crawler\manga_crawler\download\cartoonmad'
28
53
0.658163
32
196
4
0.84375
0.1875
0
0
0
0
0
0
0
0
0
0.174699
0.153061
196
6
54
32.666667
0.596386
0.668367
0
0
0
0
0.745763
0.745763
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d1df1802d76e551e212134b49ba0b17c51c9b828
522
py
Python
typy/old/util/__init__.py
cyrus-/tydy
0fea76d82663e18a809735c02d09529950dbb5ba
[ "MIT" ]
39
2016-09-12T14:44:56.000Z
2017-04-06T16:08:00.000Z
typy/old/util/__init__.py
cyrus-/tydy
0fea76d82663e18a809735c02d09529950dbb5ba
[ "MIT" ]
30
2016-10-05T04:14:27.000Z
2017-02-06T20:16:07.000Z
typy/old/util/__init__.py
cyrus-/typy
0fea76d82663e18a809735c02d09529950dbb5ba
[ "MIT" ]
1
2016-09-13T13:41:52.000Z
2016-09-13T13:41:52.000Z
"""Useful utilities used internally or useful to extensions.""" def tpl_cons(hd, tl): yield hd for x in tl: yield x def contains_ellipsis(idx): if idx is Ellipsis: return True elif isinstance(idx, tuple): for item in idx: if item is Ellipsis: retu...
21.75
63
0.639847
79
522
4.063291
0.518987
0.037383
0.099688
0.124611
0
0
0
0
0
0
0
0
0.287356
522
23
64
22.695652
0.862903
0.151341
0
0.117647
0
0
0
0
0
0
0
0
0
1
0.235294
false
0
0
0.117647
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
1
1
0
0
3
d1e782e41a98593c6b5d1288478ac3ac4d68aa57
291
py
Python
pip_audit/service/__init__.py
ccoulombe/pip-audit
32c54c8afb68042e12cfc198a9a6d041851a76f0
[ "Apache-2.0" ]
null
null
null
pip_audit/service/__init__.py
ccoulombe/pip-audit
32c54c8afb68042e12cfc198a9a6d041851a76f0
[ "Apache-2.0" ]
null
null
null
pip_audit/service/__init__.py
ccoulombe/pip-audit
32c54c8afb68042e12cfc198a9a6d041851a76f0
[ "Apache-2.0" ]
null
null
null
""" Vulnerability service interfaces and implementations for `pip-audit`. """ from .interface import ( # noqa: F401 Dependency, ServiceError, VulnerabilityResult, VulnerabilityService, ) from .osv import OsvService # noqa: F401 from .pypi import PyPIService # noqa: F401
22.384615
69
0.725086
29
291
7.275862
0.724138
0.113744
0
0
0
0
0
0
0
0
0
0.038136
0.189003
291
12
70
24.25
0.855932
0.353952
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.375
0
0.375
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
1
0
1
0
0
0
0
3
d1e945c185f91698234cb49e9638e8d752d3f3e2
19,508
py
Python
src/hks_pylib/cryptography/ciphers/symmetrics.py
huykingsofm/hks_pylib
d73a896a395df301ef8082a358ec8e23f7bc708a
[ "MIT" ]
2
2021-04-06T07:01:27.000Z
2021-07-30T11:08:59.000Z
src/hks_pylib/cryptography/ciphers/symmetrics.py
huykingsofm/hks_pylib
d73a896a395df301ef8082a358ec8e23f7bc708a
[ "MIT" ]
null
null
null
src/hks_pylib/cryptography/ciphers/symmetrics.py
huykingsofm/hks_pylib
d73a896a395df301ef8082a358ec8e23f7bc708a
[ "MIT" ]
null
null
null
import os from hkserror.hkserror import HTypeError from hks_pylib.errors.cryptography.ciphers import KeyError from hks_pylib.math import bxor from hks_pylib.cryptography.hashes import SHA256, HKSHash from hks_pylib.cryptography.ciphers.cipherid import CipherID from hks_pylib.cryptography.ciphers import HKSCipher, Ci...
34.898032
103
0.615235
2,142
19,508
5.412698
0.079832
0.052786
0.067276
0.032344
0.757375
0.733569
0.708642
0.664654
0.647663
0.636364
0
0.002538
0.293111
19,508
558
104
34.960573
0.838216
0.006972
0
0.647482
0
0
0.121382
0
0
0
0
0
0
1
0.081535
false
0.002398
0.035971
0.01199
0.179856
0
0
0
0
null
0
0
0
0
1
1
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
3
d1f313bdbb5cf0566d8816084f4e4de0a715b513
7,088
py
Python
LPES-video/04.01-operacje_na_plikach/04.01.04-sort_cut_uniq.py
opcode-eu-org-website/LPES-wyklady-src
dd4d413f2bb5560790b6365fa7e68e8f1a8a65b0
[ "MIT" ]
null
null
null
LPES-video/04.01-operacje_na_plikach/04.01.04-sort_cut_uniq.py
opcode-eu-org-website/LPES-wyklady-src
dd4d413f2bb5560790b6365fa7e68e8f1a8a65b0
[ "MIT" ]
null
null
null
LPES-video/04.01-operacje_na_plikach/04.01.04-sort_cut_uniq.py
opcode-eu-org-website/LPES-wyklady-src
dd4d413f2bb5560790b6365fa7e68e8f1a8a65b0
[ "MIT" ]
1
2021-07-03T16:43:47.000Z
2021-07-03T16:43:47.000Z
# Copyright (c) 2020-2021 Matematyka dla Ciekawych Świata (http://ciekawi.icm.edu.pl/) # Copyright (c) 2020-2021 Robert Ryszard Paciorek <rrp@opcode.eu.org> # # MIT License # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Soft...
61.103448
237
0.709932
1,039
7,088
4.845043
0.414822
0.100119
0.104291
0.025824
0.110648
0.081446
0.055224
0.034962
0.034962
0.020262
0
0.011919
0.171416
7,088
115
238
61.634783
0.844883
0.167748
0
0.151899
0
0.303797
0.767359
0
0
0
0
0
0
1
0
false
0.139241
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
d1f823e2d316e3e50c259c775cd9f4aace8b463b
454
py
Python
51_60/day-55/assignments/advanced_decorators_2.py
srakhe/100-days-py
4d99ab35eb1376d2f8722c42e0bf98acc18fba20
[ "MIT" ]
null
null
null
51_60/day-55/assignments/advanced_decorators_2.py
srakhe/100-days-py
4d99ab35eb1376d2f8722c42e0bf98acc18fba20
[ "MIT" ]
null
null
null
51_60/day-55/assignments/advanced_decorators_2.py
srakhe/100-days-py
4d99ab35eb1376d2f8722c42e0bf98acc18fba20
[ "MIT" ]
null
null
null
def logging_detector(funct): def wrapper(*args, **kwargs): print(f'The function called was {funct.__name__}') print('Arguments passed:') for arg in args: print(arg) print(funct(*args)) return wrapper @logging_detector def homer(name, day, rating): return 'HOMER...
18.916667
58
0.61674
58
454
4.706897
0.62069
0.164835
0.131868
0
0
0
0
0
0
0
0
0.008696
0.240088
454
23
59
19.73913
0.782609
0
0
0.125
0
0
0.200441
0
0
0
0
0
0
1
0.25
false
0.0625
0
0.125
0.4375
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
3
ae0e6ec1e883626b3a2cee8320c71e82f8d64dcb
220
py
Python
bootstrap/__init__.py
umrao-ak47/django-bootstrap-static
e76d4018f985b1a212961aedc973dbdc834fc37b
[ "MIT" ]
16
2018-03-01T00:43:40.000Z
2022-02-20T20:19:52.000Z
bootstrap/__init__.py
umrao-ak47/django-bootstrap-static
e76d4018f985b1a212961aedc973dbdc834fc37b
[ "MIT" ]
10
2015-02-20T21:53:16.000Z
2018-02-23T20:59:45.000Z
bootstrap/__init__.py
umrao-ak47/django-bootstrap-static
e76d4018f985b1a212961aedc973dbdc834fc37b
[ "MIT" ]
5
2018-06-22T11:49:42.000Z
2021-08-08T22:51:32.000Z
""" A collection of Bootstrap static files. """ __author__ = 'Peter Bittner' __email__ = 'django@bittner.it' __license__ = 'MIT' __url__ = 'https://github.com/bittner/django-bootstrap-static' __version__ = '5.0.0-beta1'
24.444444
62
0.731818
28
220
5.035714
0.785714
0.212766
0
0
0
0
0
0
0
0
0
0.020408
0.109091
220
8
63
27.5
0.69898
0.177273
0
0
0
0
0.543353
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ae3c671b9b9fb3a99cfaa398009a08713ba1d75d
451
py
Python
server/cgi/form.py
nhubui/cmput410-lab3
44000841493c0d95b961f1e687d3729385add6e7
[ "Apache-2.0" ]
null
null
null
server/cgi/form.py
nhubui/cmput410-lab3
44000841493c0d95b961f1e687d3729385add6e7
[ "Apache-2.0" ]
null
null
null
server/cgi/form.py
nhubui/cmput410-lab3
44000841493c0d95b961f1e687d3729385add6e7
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import cgi form= cgi.FieldStorage() val1=form.getvalue("birthdate") val2=form.getvalue("hobby") print "Content-type:text/html" print print "Your Birthday is :" print val1 print "<br/>" print "Your Hoppy is :" print val2 print """ <form method="post" action="test_form.py"> First name: <input t...
21.47619
48
0.689579
68
451
4.558824
0.514706
0.077419
0.083871
0.109677
0.135484
0
0
0
0
0
0
0.010025
0.115299
451
20
49
22.55
0.766917
0.044346
0
0
0
0
0.622951
0.103045
0
0
0
0
0
0
null
null
0
0.055556
null
null
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
1
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
3
ae3cc62cb7c114c8e0c45115a8e5b263c9241dd0
247
py
Python
tests/unit/databases/test_registry.py
datavaluepeople/tentaclio
eb6920a0e115c6c08043063a8c1013d812ec34c8
[ "MIT" ]
12
2019-04-30T16:07:42.000Z
2021-12-08T08:02:09.000Z
tests/unit/databases/test_registry.py
octoenergy/tentaclio
eb6920a0e115c6c08043063a8c1013d812ec34c8
[ "MIT" ]
74
2019-04-25T11:18:22.000Z
2022-01-18T11:31:14.000Z
tests/unit/databases/test_registry.py
datavaluepeople/tentaclio
eb6920a0e115c6c08043063a8c1013d812ec34c8
[ "MIT" ]
4
2019-05-05T13:13:21.000Z
2022-01-14T00:33:07.000Z
from tentaclio.clients import SQLAlchemyClient from tentaclio.databases import db_registry def test_default_database(mocker): reg = db_registry.DbRegistry() db = reg.get_handler("ijustmadeupthisscheme") assert db == SQLAlchemyClient
27.444444
49
0.793522
28
247
6.821429
0.678571
0.136126
0
0
0
0
0
0
0
0
0
0
0.137652
247
8
50
30.875
0.896714
0
0
0
0
0
0.08502
0.08502
0
0
0
0
0.166667
1
0.166667
false
0
0.333333
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
ae5074e4e4e1cd390c5db644c2b1dde147bc1e53
131
py
Python
pyfunc/pynance/pynance.py
minchwu/pygram
066a7371076f26b2166c5c3961d92d2dea40bebd
[ "MIT" ]
null
null
null
pyfunc/pynance/pynance.py
minchwu/pygram
066a7371076f26b2166c5c3961d92d2dea40bebd
[ "MIT" ]
1
2020-02-11T13:11:11.000Z
2020-02-11T13:11:11.000Z
pyfunc/pynance/pynance.py
minchwu/pygram
066a7371076f26b2166c5c3961d92d2dea40bebd
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # author: Wu Mingchun """pynance. 自动交易脚本 """ import numpy as np import pandas as pd import tushare as ts
11.909091
23
0.664122
20
131
4.35
0.8
0
0
0
0
0
0
0
0
0
0
0.009524
0.198473
131
10
24
13.1
0.819048
0.450382
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
0
0
0
3
ae59f56c4f4a0d13546579fabcdb6f20324023d8
113
py
Python
vision_tile_query/utils/logger.py
eos-vision/tile-query
f6256ebb13c5c6f9beec9bb9a9f0cf0a85b23d0e
[ "MIT" ]
1
2019-04-22T07:45:22.000Z
2019-04-22T07:45:22.000Z
vision_tile_query/utils/logger.py
eos-vision/tile-query
f6256ebb13c5c6f9beec9bb9a9f0cf0a85b23d0e
[ "MIT" ]
null
null
null
vision_tile_query/utils/logger.py
eos-vision/tile-query
f6256ebb13c5c6f9beec9bb9a9f0cf0a85b23d0e
[ "MIT" ]
2
2020-09-04T14:53:59.000Z
2020-10-28T02:30:29.000Z
import logging # setting up logger logging.basicConfig(level=logging.WARNING) log = logging.getLogger(__name__)
18.833333
42
0.814159
14
113
6.285714
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.097345
113
5
43
22.6
0.862745
0.150442
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
1
0
0
0
0
3
ae62ae933efc306b0e2beeb94596da211afcf44b
1,263
py
Python
osc_bge/school/migrations/0037_auto_20181210_1659.py
jisuhan3201/osc-bge
125c441d23d7f1fdb2d9b8f42f859082e757e25a
[ "MIT" ]
null
null
null
osc_bge/school/migrations/0037_auto_20181210_1659.py
jisuhan3201/osc-bge
125c441d23d7f1fdb2d9b8f42f859082e757e25a
[ "MIT" ]
5
2020-06-05T19:49:47.000Z
2021-09-08T00:50:55.000Z
osc_bge/school/migrations/0037_auto_20181210_1659.py
jisuhan3201/osc-bge
125c441d23d7f1fdb2d9b8f42f859082e757e25a
[ "MIT" ]
null
null
null
# Generated by Django 2.0.9 on 2018-12-10 16:59 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('school', '0036_auto_20181207_0708'), ] operations = [ migrations.AddField( model_name='secondary', name='college_acc...
28.704545
58
0.566112
120
1,263
5.825
0.383333
0.154506
0.197425
0.23176
0.672389
0.672389
0.615165
0.562232
0.562232
0.562232
0
0.036005
0.31829
1,263
43
59
29.372093
0.775842
0.035629
0
0.648649
1
0
0.146382
0.037829
0
0
0
0
0
1
0
false
0
0.027027
0
0.108108
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ae699eb099af049810c23a74d5e2b3c561a99836
273
py
Python
cflib/__init__.py
pomo-dev/cflib
4a09e4d4470e8280a0fb7fb2f8b3a5b93864d343
[ "MIT" ]
4
2018-01-14T15:53:19.000Z
2021-03-19T13:03:44.000Z
cflib/__init__.py
pomo-dev/cflib
4a09e4d4470e8280a0fb7fb2f8b3a5b93864d343
[ "MIT" ]
5
2018-02-27T06:35:06.000Z
2022-03-21T15:43:20.000Z
cflib/__init__.py
pomo-dev/cflib
4a09e4d4470e8280a0fb7fb2f8b3a5b93864d343
[ "MIT" ]
7
2018-11-15T12:49:22.000Z
2021-04-24T18:54:47.000Z
#!/usr/bin/env python """cflib ---------------------------------------------------------------------- Import all counts file library modules. """ name = "cflib" import cflib.main import cflib.seqbase import cflib.fasta import cflib.vcf import cflib.cf import cflib.gp
15.166667
70
0.553114
31
273
4.870968
0.580645
0.437086
0
0
0
0
0
0
0
0
0
0
0.113553
273
17
71
16.058824
0.623967
0.505495
0
0
0
0
0.03937
0
0
0
0
0
0
1
0
false
0
0.857143
0
0.857143
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
1
0
1
0
0
3
88180a967275fdb58407e87e642fc9e82829c081
2,087
py
Python
untitled/11.py
songhuijuantianxiezuo/all
586db40508eaf868874945a4a26b5f902b9d3eea
[ "MIT" ]
null
null
null
untitled/11.py
songhuijuantianxiezuo/all
586db40508eaf868874945a4a26b5f902b9d3eea
[ "MIT" ]
null
null
null
untitled/11.py
songhuijuantianxiezuo/all
586db40508eaf868874945a4a26b5f902b9d3eea
[ "MIT" ]
null
null
null
from selenium import webdriver import time from selenium.webdriver.common.action_chains import ActionChains # driver = webdriver.Chrome() # driver.get("https://www.baidu.com/") # driver.find_element_by_id("kw").send_keys("hellowrld") # driver.find_element_by_id("kw").clear() # # time.sleep(3) # driver.quit() # driver =...
32.609375
97
0.733589
312
2,087
4.596154
0.317308
0.132497
0.213389
0.238494
0.453975
0.447001
0.297768
0.249651
0.157601
0.157601
0
0.039195
0.070915
2,087
64
98
32.609375
0.700361
0.781984
0
0.153846
0
0
0.053269
0
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
881d0cfd13f3854a8e59b96bbc143e82ba61e448
997
py
Python
contrib/harbor-cli/harborclient/base.py
eirinikos/harbor
efb3759d147ad225e00f161a49ab1e9ed4542b1f
[ "Apache-2.0" ]
99
2016-12-20T15:02:04.000Z
2022-03-23T02:13:11.000Z
contrib/harbor-cli/harborclient/base.py
hjimmy/harbor
b308c6e4fc3540d03eae7d7c3146f63dab8e52c5
[ "Apache-2.0" ]
24
2016-12-26T06:53:49.000Z
2020-09-01T16:00:45.000Z
contrib/harbor-cli/harborclient/base.py
hjimmy/harbor
b308c6e4fc3540d03eae7d7c3146f63dab8e52c5
[ "Apache-2.0" ]
31
2017-05-27T06:34:50.000Z
2021-11-05T07:44:14.000Z
""" Base utilities to build API operation managers and objects on top of. """ class Manager(object): """Manager for API service. Managers interact with a particular type of API (projects, users, reposiries,etc.) and provide CRUD operations for them. """ def __init__(self, api): self.api ...
23.738095
69
0.618857
136
997
4.455882
0.375
0.115512
0.150165
0.156766
0.280528
0.178218
0.092409
0
0
0
0
0
0.267803
997
41
70
24.317073
0.830137
0.21665
0
0.086957
0
0
0
0
0
0
0
0
0
1
0.347826
false
0
0
0.26087
0.695652
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
1
0
0
3
882b35a14d7715a6910f0f97b5305decc18c715f
1,695
py
Python
qcloudsdkcvm/DescribeInstancesRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
qcloudsdkcvm/DescribeInstancesRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
qcloudsdkcvm/DescribeInstancesRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from qcloudsdkcore.request import Request class DescribeInstancesRequest(Request): def __init__(self): super(DescribeInstancesRequest, self).__init__( 'cvm', 'qcloudcliV1', 'DescribeInstances', 'cvm.api.qcloud.com') def get_instanceIds(self): return self.g...
26.484375
76
0.654277
205
1,695
5.195122
0.165854
0.050704
0.11831
0.143662
0.219718
0.219718
0
0
0
0
0
0.001499
0.212979
1,695
63
77
26.904762
0.796852
0.012389
0
0
0
0
0.10945
0
0
0
0
0
0
1
0.463415
false
0
0.02439
0.219512
0.731707
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
1
0
0
3
887c0b8c23b223a7310842bdef4a9041b85b8e0c
142
py
Python
169-majority-element/169-majority-element.py
Atri10/Leet-code---Atri_Patel
49fc59b9147a44ab04a66128fbb2ef259b5f7b7c
[ "MIT" ]
1
2021-10-10T20:21:18.000Z
2021-10-10T20:21:18.000Z
169-majority-element/169-majority-element.py
Atri10/Leet-code---Atri_Patel
49fc59b9147a44ab04a66128fbb2ef259b5f7b7c
[ "MIT" ]
null
null
null
169-majority-element/169-majority-element.py
Atri10/Leet-code---Atri_Patel
49fc59b9147a44ab04a66128fbb2ef259b5f7b7c
[ "MIT" ]
null
null
null
class Solution: def majorityElement(self, nums: List[int]) -> int: nums.sort() ans = nums[len(nums)//2] return ans
28.4
54
0.570423
18
142
4.5
0.722222
0
0
0
0
0
0
0
0
0
0
0.009901
0.288732
142
5
55
28.4
0.792079
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.6
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
1
0
0
3
88873e84cfa56581b17ee555cc771ed16ff0fc58
73
py
Python
dev/paths.py
JoshKarpel/simulacra
e5770ced1bef860caec25ce8c77a61ff0bb78907
[ "MIT" ]
1
2018-05-24T08:01:26.000Z
2018-05-24T08:01:26.000Z
dev/paths.py
JoshKarpel/simulacra
e5770ced1bef860caec25ce8c77a61ff0bb78907
[ "MIT" ]
1
2019-10-08T21:03:46.000Z
2019-10-08T21:03:46.000Z
dev/paths.py
JoshKarpel/simulacra
e5770ced1bef860caec25ce8c77a61ff0bb78907
[ "MIT" ]
2
2017-07-03T18:33:16.000Z
2018-10-16T01:52:57.000Z
from pathlib import Path p = Path.cwd() print(p) pp = Path(p) print(pp)
10.428571
24
0.671233
14
73
3.5
0.571429
0.204082
0
0
0
0
0
0
0
0
0
0
0.178082
73
6
25
12.166667
0.816667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.4
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
888b3dea2f532150a7fc400ef1c9f93941510dd5
168
py
Python
rabbitark/typing.py
dp0973/rabbit-ark
b280f2d2f25dea89147671117d333ba175ec5eb6
[ "MIT" ]
null
null
null
rabbitark/typing.py
dp0973/rabbit-ark
b280f2d2f25dea89147671117d333ba175ec5eb6
[ "MIT" ]
null
null
null
rabbitark/typing.py
dp0973/rabbit-ark
b280f2d2f25dea89147671117d333ba175ec5eb6
[ "MIT" ]
null
null
null
from typing import Any, Awaitable, Callable, Literal, TypeVar CA = TypeVar("CA", bound=Callable[..., Awaitable[Any]]) RETURN_METHOD = Literal["json", "text", "read"]
28
61
0.702381
21
168
5.571429
0.714286
0.153846
0
0
0
0
0
0
0
0
0
0
0.119048
168
5
62
33.6
0.790541
0
0
0
0
0
0.083333
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
1
0
0
0
0
3
889a7ba4ca0630fcdf8c6176535e4ad51f2e5304
1,642
py
Python
servirtium/interaction_recording.py
yogeshrnaik/servirtium-python
96a8f3c3a2888a9cd71e46bfe17d7b0d571744bb
[ "BSD-2-Clause" ]
3
2020-08-14T17:16:11.000Z
2021-01-27T08:21:41.000Z
servirtium/interaction_recording.py
yogeshrnaik/servirtium-python
96a8f3c3a2888a9cd71e46bfe17d7b0d571744bb
[ "BSD-2-Clause" ]
5
2019-12-16T11:19:18.000Z
2020-12-28T13:26:13.000Z
servirtium/interaction_recording.py
yogeshrnaik/servirtium-python
96a8f3c3a2888a9cd71e46bfe17d7b0d571744bb
[ "BSD-2-Clause" ]
3
2020-02-10T12:17:46.000Z
2020-12-26T07:08:29.000Z
from servirtium.interactions import Interaction from servirtium.markup import Markup REQ_HEADER_TITLE = 'Request headers recorded for playback:' REQ_BODY_TITLE = 'Request body recorded for playback ():' RESPONSE_HEADER_TITLE = 'Response headers recorded for playback:' class InteractionRecording: def __init__(sel...
36.488889
94
0.736906
197
1,642
5.837563
0.263959
0.065217
0.066087
0.045217
0.198261
0.130435
0.066087
0
0
0
0
0.005061
0.157734
1,642
44
95
37.318182
0.826464
0
0
0
0
0
0.168697
0.031669
0
0
0
0
0
1
0.241379
false
0
0.068966
0.137931
0.517241
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
1
0
0
3
889de5aacf5b3445dde6e3a55444113a38a07732
101
py
Python
PBO_18190/latihan 6.3.py
diyansenen/PBO
69312b22f7999ef2f4644ac3d58e6120671d927d
[ "MIT" ]
null
null
null
PBO_18190/latihan 6.3.py
diyansenen/PBO
69312b22f7999ef2f4644ac3d58e6120671d927d
[ "MIT" ]
null
null
null
PBO_18190/latihan 6.3.py
diyansenen/PBO
69312b22f7999ef2f4644ac3d58e6120671d927d
[ "MIT" ]
null
null
null
#deklarasi funcion paramenter def hello(nama): print(f"heloo {nama}") #panggil hello("gamar")
20.2
30
0.693069
13
101
5.384615
0.846154
0
0
0
0
0
0
0
0
0
0
0
0.158416
101
5
31
20.2
0.823529
0.346535
0
0
0
0
0.278689
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
88a888cd8cc0771dca416b64c5759a7b9aafdfe7
230
py
Python
audiotk/core.py
alexlewzey/audiotk
565c498e8c53cd21f90edf65d11d2550c9e18d08
[ "BSD-3-Clause" ]
null
null
null
audiotk/core.py
alexlewzey/audiotk
565c498e8c53cd21f90edf65d11d2550c9e18d08
[ "BSD-3-Clause" ]
null
null
null
audiotk/core.py
alexlewzey/audiotk
565c498e8c53cd21f90edf65d11d2550c9e18d08
[ "BSD-3-Clause" ]
null
null
null
"""""" from datetime import datetime from pathlib import Path from typing import * DateLike = Union[str, datetime, datetime.date] PathOrStr = Union[str, Path] OptPathOrStr = Optional[Union[str, Path]] OptSeq = Optional[Sequence]
23
46
0.756522
29
230
6
0.517241
0.137931
0.137931
0
0
0
0
0
0
0
0
0
0.130435
230
9
47
25.555556
0.87
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
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
1
0
0
0
0
3
88abd13839f121f342833946f078f6af414759e8
58
py
Python
ACM-Solution/Test.py
wasi0013/Python-CodeBase
4a7a36395162f68f84ded9085fa34cc7c9b19233
[ "MIT" ]
2
2016-04-26T15:40:40.000Z
2018-07-18T10:16:42.000Z
ACM-Solution/Test.py
wasi0013/Python-CodeBase
4a7a36395162f68f84ded9085fa34cc7c9b19233
[ "MIT" ]
1
2016-04-26T15:44:15.000Z
2016-04-29T14:44:40.000Z
ACM-Solution/Test.py
wasi0013/Python-CodeBase
4a7a36395162f68f84ded9085fa34cc7c9b19233
[ "MIT" ]
1
2018-10-02T16:12:19.000Z
2018-10-02T16:12:19.000Z
for line in iter(int(input()), '42\n'): print(line)
19.333333
40
0.568966
10
58
3.3
0.9
0
0
0
0
0
0
0
0
0
0
0.043478
0.206897
58
2
41
29
0.673913
0
0
0
0
0
0.071429
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
1
0
3
ee05b6918590c7ef8ab8df6c7de6cc5540535f61
811
py
Python
tests/transforms/base/test_motion.py
ad12/meddlr
dda5a4ad7855de3a34331c60599e3253f980e989
[ "Apache-2.0" ]
23
2021-11-05T02:00:01.000Z
2022-03-21T15:35:38.000Z
tests/transforms/base/test_motion.py
ad12/meddlr
dda5a4ad7855de3a34331c60599e3253f980e989
[ "Apache-2.0" ]
29
2021-11-04T22:18:26.000Z
2022-03-24T01:04:53.000Z
tests/transforms/base/test_motion.py
ad12/meddlr
dda5a4ad7855de3a34331c60599e3253f980e989
[ "Apache-2.0" ]
1
2022-01-25T22:34:51.000Z
2022-01-25T22:34:51.000Z
import itertools import unittest import torch from meddlr.data.transforms.motion import MotionModel from meddlr.transforms.base.motion import MRIMotionTransform from ..mock import generate_mock_mri_data class TestMRIMotionTransform(unittest.TestCase): def test_reproducibility(self): """Test reproducibi...
32.44
81
0.717633
102
811
5.470588
0.460784
0.053763
0.053763
0.0681
0
0
0
0
0
0
0
0.022971
0.194821
811
24
82
33.791667
0.831547
0.065351
0
0
1
0
0
0
0
0
0
0
0.066667
1
0.066667
false
0
0.4
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
ee09cc669e26da49faa0cb2a9cd099acc5b6b24b
2,311
py
Python
apps/authentication/auth_views.py
zavanton123/coderators
55f860689ad48409bb4a1460c10e33694fed1b8a
[ "MIT" ]
null
null
null
apps/authentication/auth_views.py
zavanton123/coderators
55f860689ad48409bb4a1460c10e33694fed1b8a
[ "MIT" ]
null
null
null
apps/authentication/auth_views.py
zavanton123/coderators
55f860689ad48409bb4a1460c10e33694fed1b8a
[ "MIT" ]
null
null
null
import logging from allauth.account.views import SignupView, LoginView, LogoutView from django.contrib.auth.forms import PasswordResetForm from django.contrib.auth.views import PasswordChangeView, PasswordChangeDoneView, \ PasswordResetView, PasswordResetConfirmView, PasswordResetDoneView, PasswordResetCompleteVie...
33.985294
101
0.814799
225
2,311
8.102222
0.324444
0.108612
0.142622
0.164564
0.281953
0.281953
0.281953
0.100384
0.100384
0.100384
0
0.00196
0.116833
2,311
67
102
34.492537
0.89123
0
0
0.069767
0
0
0.250108
0.244916
0
0
0
0
0
1
0.069767
false
0.55814
0.139535
0.069767
0.930233
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
1
0
0
1
0
0
3
ee14500a16172dbccf16fb03f4db578bf35f190c
1,117
py
Python
tests/test_cli/test_init.py
victorfsf/python-ishell
e9b50ad5962c7c3fc4d35377b0fe1407a6624ac3
[ "MIT" ]
7
2016-02-17T17:04:43.000Z
2016-07-13T02:03:58.000Z
tests/test_cli/test_init.py
victorfsf/python-ishell
e9b50ad5962c7c3fc4d35377b0fe1407a6624ac3
[ "MIT" ]
16
2016-02-09T15:57:59.000Z
2021-06-10T18:08:23.000Z
tests/test_cli/test_init.py
victorfsf/python-ishell
e9b50ad5962c7c3fc4d35377b0fe1407a6624ac3
[ "MIT" ]
1
2016-03-30T02:08:23.000Z
2016-03-30T02:08:23.000Z
# -*- coding: utf-8 -*- from iprofile.cli import Init from iprofile.cli import Create from tests.utils import set_up from tests.utils import settings from tests.utils import tear_down import os mock_options = { 'path': 'test', } mock_options_1 = { 'path': None, } mock_options_2 = { 'active': 'test', } ...
17.184615
46
0.689346
165
1,117
4.351515
0.236364
0.229805
0.214485
0.225627
0.483287
0.388579
0.388579
0.388579
0.388579
0.388579
0
0.014286
0.185318
1,117
64
47
17.453125
0.774725
0.0188
0
0.434783
0
0
0.066728
0
0
0
0
0
0.021739
1
0.130435
false
0
0.130435
0
0.26087
0
0
0
0
null
1
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
3
ee1fdab8f647cc769471d84bba7d6431ebb8f30b
276
py
Python
orb_simulator/lexer/regex_ast/regex_symbol_node.py
dmguezjaviersnet/IA-Sim-Comp-Project
8165b9546efc45f98091a3774e2dae4f45942048
[ "MIT" ]
1
2022-01-19T22:49:09.000Z
2022-01-19T22:49:09.000Z
orb_simulator/lexer/regex_ast/regex_symbol_node.py
dmguezjaviersnet/IA-Sim-Comp-Project
8165b9546efc45f98091a3774e2dae4f45942048
[ "MIT" ]
15
2021-11-10T14:25:02.000Z
2022-02-12T19:17:11.000Z
orb_simulator/lexer/regex_ast/regex_symbol_node.py
dmguezjaviersnet/IA-Sim-Comp-Project
8165b9546efc45f98091a3774e2dae4f45942048
[ "MIT" ]
null
null
null
from lexer.regex_ast.regex_atomic_node import AtomicNode from automaton import Automaton class SymbolNode(AtomicNode): def eval(self): symbol = self.value return Automaton(number_of_states=2, initial_state=0, finalStates=[1], transitions={(0,symbol):[1]})
39.428571
108
0.75
37
276
5.432432
0.72973
0
0
0
0
0
0
0
0
0
0
0.021186
0.144928
276
7
108
39.428571
0.830508
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.833333
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
1
0
0
3
ee23a8eb71048622c6c775a16d4574bbc3042234
86
py
Python
MaudeMiner/core/database/__init__.py
tklovett/MaudeMiner
ba73f5dd99331c233fede9ccab1a2b1d5b430324
[ "MIT" ]
3
2015-09-10T09:07:36.000Z
2020-12-01T22:17:06.000Z
MaudeMiner/core/database/__init__.py
tklovett/MaudeMiner
ba73f5dd99331c233fede9ccab1a2b1d5b430324
[ "MIT" ]
null
null
null
MaudeMiner/core/database/__init__.py
tklovett/MaudeMiner
ba73f5dd99331c233fede9ccab1a2b1d5b430324
[ "MIT" ]
null
null
null
from MaudeMiner.core.database.manager import DatabaseManager db = DatabaseManager()
17.2
60
0.825581
9
86
7.888889
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.104651
86
4
61
21.5
0.922078
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
ee24a6183eebe20ef4ea2effa70861a045e2c449
373
py
Python
predict_risk_1/admin.py
VenkateshBH99/django_local_library
db834cbe6ec475a2d3224b3ea9b56b1fa3519e9f
[ "Apache-2.0" ]
null
null
null
predict_risk_1/admin.py
VenkateshBH99/django_local_library
db834cbe6ec475a2d3224b3ea9b56b1fa3519e9f
[ "Apache-2.0" ]
null
null
null
predict_risk_1/admin.py
VenkateshBH99/django_local_library
db834cbe6ec475a2d3224b3ea9b56b1fa3519e9f
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from predict_risk_1.models import Predictions_1 from django import forms class Prediction_1(admin.ModelAdmin): list_display=('age','bp','sg','al','su','rbc','pc','pcc', 'ba','bgr','bu','sc','sod','pot','hemo','pcv','wc','rc','htn','dm','cad','appet','pe','ane','classificati...
41.444444
117
0.683646
56
373
4.428571
0.767857
0.080645
0
0
0
0
0
0
0
0
0
0.014577
0.080429
373
8
118
46.625
0.708455
0
0
0
0
0
0.206434
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.714286
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
1
0
0
3
ee4075c33fd77c8c28f8ff666551a31823214bc6
3,765
py
Python
app/user/forms.py
IoTServ/FlaskSimpleCMS
db0fc4464c6d514db14972156ca3e002a60a4876
[ "MIT" ]
null
null
null
app/user/forms.py
IoTServ/FlaskSimpleCMS
db0fc4464c6d514db14972156ca3e002a60a4876
[ "MIT" ]
4
2020-08-29T16:11:12.000Z
2022-03-12T00:47:03.000Z
app/user/forms.py
IoTServ/FlaskSimpleCMS
db0fc4464c6d514db14972156ca3e002a60a4876
[ "MIT" ]
null
null
null
# coding:utf-8 from flask_wtf import Form from wtforms import SelectField, StringField, TextAreaField, SubmitField, PasswordField,IntegerField,FileField from wtforms.validators import DataRequired, Length, Email, EqualTo class CommonForm(Form): types = SelectField(u'博文分类', coerce=int, validators=[DataRequired()])...
39.631579
110
0.726428
381
3,765
7.165354
0.333333
0.314286
0.118681
0.11685
0.21685
0.09304
0.0337
0.0337
0
0
0
0.012428
0.123772
3,765
95
111
39.631579
0.815095
0.02656
0
0.031746
0
0
0.042315
0
0
0
0
0
0
1
0
false
0.126984
0.047619
0
0.968254
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
1
0
0
1
0
0
3
ee41479debefbc0bfb764eda0e20e639dd963d3b
231
py
Python
Python Files/reverse.py
gerryjenkinslb/cs22-slides-and-py-files
9474f7a2e50d57afa13edc3b13c008f7295da747
[ "MIT" ]
28
2019-07-05T04:00:45.000Z
2022-02-16T09:43:50.000Z
Python Files/reverse.py
gerryjenkinslb/cs22-slides-and-py-files
9474f7a2e50d57afa13edc3b13c008f7295da747
[ "MIT" ]
null
null
null
Python Files/reverse.py
gerryjenkinslb/cs22-slides-and-py-files
9474f7a2e50d57afa13edc3b13c008f7295da747
[ "MIT" ]
22
2018-10-24T04:42:05.000Z
2022-02-04T08:17:27.000Z
def reverse(l): if len(l) == 0: return [] return reverse(l[1:]) + [ l[0]] assert reverse([1,2,3]) == [ 3,2,1] assert reverse(["a", "b"]) == [ "b", "a"] assert reverse(list(range(1,101))) == list(range(100,0,-1))
28.875
60
0.506494
39
231
3
0.435897
0.333333
0
0
0
0
0
0
0
0
0
0.098361
0.207792
231
8
60
28.875
0.540984
0
0
0
0
0
0.017241
0
0
0
0
0
0.428571
1
0.142857
false
0
0
0
0.428571
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
ee4959d998ea666a3f0e80d0dd9dd1b12c7940ed
129
py
Python
colin-api/app/models/user.py
sumesh-aot/namex
53e11aed5ea550b71b7b983f1b57b65db5a06766
[ "Apache-2.0" ]
4
2018-10-05T23:41:05.000Z
2019-06-19T16:17:50.000Z
colin-api/app/models/user.py
sumesh-aot/namex
53e11aed5ea550b71b7b983f1b57b65db5a06766
[ "Apache-2.0" ]
635
2018-05-31T04:12:46.000Z
2022-03-31T18:45:42.000Z
colin-api/app/models/user.py
rarmitag/namex
1b308bf96130619d4a61d44e075cc7ab177dc6cd
[ "Apache-2.0" ]
71
2018-05-14T20:47:55.000Z
2022-03-31T23:08:30.000Z
from app import db class User(db.Model): APPROVER='names_approver' EDITOR='names_editor' VIEWONLY='names_viewer'
12.9
29
0.705426
17
129
5.176471
0.705882
0
0
0
0
0
0
0
0
0
0
0
0.193798
129
9
30
14.333333
0.846154
0
0
0
0
0
0.296875
0
0
0
0
0
0
1
0
false
0
0.2
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
1
0
0
3
ee4ce652b1bc5496f315d542371118f784be0c58
1,642
py
Python
src/iadd/iadd.py
sethlu/rmbr
51807ff74f1a3f19cf019e4a676295150609fdd0
[ "Apache-2.0" ]
null
null
null
src/iadd/iadd.py
sethlu/rmbr
51807ff74f1a3f19cf019e4a676295150609fdd0
[ "Apache-2.0" ]
null
null
null
src/iadd/iadd.py
sethlu/rmbr
51807ff74f1a3f19cf019e4a676295150609fdd0
[ "Apache-2.0" ]
null
null
null
# Special methods in Python: Use __iadd__ to increment in-place; use __add__ to increment and create a new instance. # Author: Zhuo Lu # Test suite 1 print("\nTest suite 1\n") _i = i = 0 # Test int _t = t = (1, 2) # Test tuple _l = l = [1, 2] # Test list i += 1 t += (3,) l += [3] print(_i, i, _i is i) # Output...
24.878788
116
0.530451
361
1,642
2.365651
0.124654
0.06089
0.093677
0.084309
0.74356
0.709602
0.687354
0.680328
0.680328
0.654567
0
0.07225
0.258222
1,642
65
117
25.261538
0.6289
0.356273
0
0.608696
0
0
0.089061
0
0
0
0
0
0
1
0.043478
false
0
0
0
0.217391
0.434783
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
1
0
3